diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index 95c86899cc..70b7f00db7 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -201,47 +201,117 @@ macro_rules else `(%[ $elems,* | List.nil ]) --- TODO: should be `infix:50 " matches " => fun e p => match e with | p => true | _ => false` -macro:50 e:term:51 " matches " p:term:51 : term => - `(match $e:term with | $p:term => true | _ => false) +notation:50 e:51 " matches " p:51 => match e with | p => true | _ => false namespace Parser.Tactic +/-- +Introduce one or more hypotheses, optionally naming and/or pattern-matching them. +For each hypothesis to be introduced, the remaining main goal's target type must be a `let` or function type. +* `intro` by itself introduces one anonymous hypothesis, which can be accessed by e.g. `assumption`. +* `intro x y` introduces two hypotheses and names them. Individual hypotheses can be anonymized via `_`, + or matched against a pattern: + ```lean + -- ... ⊢ α × β → ... + intro (a, b) + -- ..., a : α, b : β ⊢ ... + ``` +* Alternatively, `intro` can be combined with pattern matching much like `fun`: + ```lean + intro + | n + 1, 0 => tac + | ... + ``` +-/ syntax (name := intro) "intro " notFollowedBy("|") (colGt term:max)* : tactic +/-- `intros x...` behaves like `intro x...`, but then keeps introducing (anonymous) hypotheses until goal is not of a function type. -/ syntax (name := intros) "intros " (colGt (ident <|> "_"))* : tactic +/-- +`rename t => x` renames the most recent hypothesis whose type matches `t` (which may contain placeholders) to `x`, +or fails if no such hypothesis could be found. -/ syntax (name := rename) "rename " term " => " ident : tactic +/-- `revert x...` is the inverse of `intro x...`: it moves the given hypotheses into the main goal's target type. -/ syntax (name := revert) "revert " (colGt ident)+ : tactic +/-- `clear x...` removes the given hypotheses, or fails if there are remaining references to a hypothesis. -/ syntax (name := clear) "clear " (colGt ident)+ : tactic +/-- +`subst x...` substitutes each `x` with `e` in the goal if there is a hypothesis of type `x = e` or `e = x`. +If `x` is itself a hypothesis of type `y = e` or `e = y`, `y` is substituted instead. -/ syntax (name := subst) "subst " (colGt ident)+ : tactic +/-- +`assumption` tries to solve the main goal using a hypothesis of compatible type, or else fails. +Note also the `‹t›` term notation, which is a shorthand for `show t by assumption`. -/ syntax (name := assumption) "assumption" : tactic +/-- +`contradiction` closes the main goal if its hypotheses are "trivially contradictory". +```lean +example (h : False) : p := by contradiction -- inductive type/family with no applicable constructors +example (h : none = some true) : p := by contradiction -- injectivity of constructors +example (h : 2 + 2 = 3) : p := by contradiction -- decidable false proposition +example (h : p) (h' : ¬ p) : q := by contradiction +example (x : Nat) (h : x ≠ x) : p := by contradiction +``` +-/ syntax (name := contradiction) "contradiction" : tactic +/-- +`apply e` tries to match the current goal against the conclusion of `e`'s type. +If it succeeds, then the tactic returns as many subgoals as the number of premises that +have not been fixed by type inference or type class resolution. +Non-dependent premises are added before dependent ones. + +The `apply` tactic uses higher-order pattern matching, type class resolution, and first-order unification with dependent types. +-/ syntax (name := apply) "apply " term : tactic +/-- +`exact e` closes the main goal if its target type matches that of `e`. +-/ syntax (name := exact) "exact " term : tactic +/-- +`refine e` behaves like `exact e`, except that named (`?x`) or unnamed (`?_`) holes in `e` that are not solved +by unification with the main goal's target type are converted into new goals, using the hole's name, if any, as the goal case name. +-/ syntax (name := refine) "refine " term : tactic +/-- `refine' e` behaves like `refine e`, except that unsolved placeholders (`_`) and implicit parameters are also converted into new goals. -/ syntax (name := refine') "refine' " term : tactic +/-- If the main goal's target type is an inductive type, `constructor` solves it with the first matching constructor, or else fails. -/ syntax (name := constructor) "constructor" : tactic +/-- +`case tag => tac` focuses on the goal with case name `tag` and solves it using `tac`, or else fails. +`case tag x₁ ... xₙ => tac` additionally renames the `n` most recent hypotheses with inaccessible names to the given names. -/ syntax (name := case) "case " ident (ident <|> "_")* " => " tacticSeq : tactic +/-- `allGoals tac` runs `tac` on each goal, concatenating the resulting goals, if any. -/ syntax (name := allGoals) "allGoals " tacticSeq : tactic +/-- +`focus tac` focuses on the main goal, suppressing all other goals, and runs `tac` on it. +Usually `· tac`, which enforces that the goal is closed by `tac`, should be preferred. -/ syntax (name := focus) "focus " tacticSeq : tactic +/-- `skip` does nothing. -/ syntax (name := skip) "skip" : tactic +/-- `done` succeeds iff there are no remaining goals. -/ syntax (name := done) "done" : tactic syntax (name := traceState) "traceState" : tactic syntax (name := failIfSuccess) "failIfSuccess " tacticSeq : tactic +/-- +`generalize [h :] e = x` replaces all occurrences of the term `e` in the main goal with a fresh hypothesis `x`. +If `h` is given, `h : e = x` is introduced as well. -/ syntax (name := generalize) "generalize " atomic(ident " : ")? term:51 " = " ident : tactic syntax (name := paren) "(" tacticSeq ")" : tactic syntax (name := withReducible) "withReducible " tacticSeq : tactic syntax (name := withReducibleAndInstances) "withReducibleAndInstances " tacticSeq : tactic +/-- `first | tac | ...` runs each `tac` until one succeeds, or else fails. -/ syntax (name := first) "first " withPosition((group(colGe "|" tacticSeq))+) : tactic syntax (name := rotateLeft) "rotateLeft" (num)? : tactic syntax (name := rotateRight) "rotateRight" (num)? : tactic +/-- `try tac` runs `tac` and succeeds even if `tac` failed. -/ macro "try " t:tacticSeq : tactic => `(first | $t | skip) +/-- `tac <;> tac'` runs `tac` on the main goal and `tac'` on each produced goal, concatenating all goals produced by `tac'`. -/ macro:1 x:tactic " <;> " y:tactic:0 : tactic => `(tactic| focus ($x:tactic; allGoals $y:tactic)) -syntax ("·" <|> ".") tacticSeq : tactic -macro_rules - | `(tactic| ·%$dot $ts:tacticSeq) => `(tactic| {%$dot ($ts:tacticSeq) }) - +/-- `· tac` focuses on the main goal and tries to solve it using `tac`, or else fails. -/ +macro dot:("·" <|> ".") ts:tacticSeq : tactic => `(tactic| {%$dot ($ts:tacticSeq) }) +/-- `rfl` is a shorthand for `exact rfl`. -/ macro "rfl" : tactic => `(exact rfl) +/-- `admit` is a shorthand for `exact sorry`. -/ macro "admit" : tactic => `(exact sorry) macro "inferInstance" : tactic => `(exact inferInstance) diff --git a/stage0/src/Lean/Compiler/NameMangling.lean b/stage0/src/Lean/Compiler/NameMangling.lean index f2d22b24b7..3a763657f2 100644 --- a/stage0/src/Lean/Compiler/NameMangling.lean +++ b/stage0/src/Lean/Compiler/NameMangling.lean @@ -4,9 +4,10 @@ Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Data.Name -namespace Lean -private def String.mangleAux : Nat → String.Iterator → String → String +namespace String + +private def mangleAux : Nat → String.Iterator → String → String | 0, it, r => r | i+1, it, r => let c := it.curr @@ -14,25 +15,36 @@ private def String.mangleAux : Nat → String.Iterator → String → String mangleAux i it.next (r.push c) else if c = '_' then mangleAux i it.next (r ++ "__") - else if c.toNat < 255 then + else if c.toNat < 0x100 then let n := c.toNat let r := r ++ "_x" - let r := r.push $ Nat.digitChar (n / 16) - let r := r.push $ Nat.digitChar (n % 16) + let r := r.push $ Nat.digitChar (n / 0x10) + let r := r.push $ Nat.digitChar (n % 0x10) + mangleAux i it.next r + else if c.toNat < 0x10000 then + let n := c.toNat + let r := r ++ "_u" + let r := r.push $ Nat.digitChar (n / 0x1000) + let n := n % 0x1000 + let r := r.push $ Nat.digitChar (n / 0x100) + let n := n % 0x100 + let r := r.push $ Nat.digitChar (n / 0x10) + let r := r.push $ Nat.digitChar (n % 0x10) mangleAux i it.next r else let n := c.toNat - let r := r ++ "_u" - let r := r.push $ Nat.digitChar (n / 4096) - let n := n % 4096 - let r := r.push $ Nat.digitChar (n / 256) - let n := n % 256 - let r := r.push $ Nat.digitChar (n / 16) - let r := r.push $ Nat.digitChar (n % 16) + let r := r ++ "_U" + let ds := Nat.toDigits 16 n + let r := Nat.repeat (·.push '0') (8 - ds.length) r + let r := ds.foldl (fun r c => r.push c) r mangleAux i it.next r -def String.mangle (s : String) : String := - String.mangleAux s.length s.mkIterator "" +def mangle (s : String) : String := + mangleAux s.length s.mkIterator "" + +end String + +namespace Lean private def Name.mangleAux : Name → String | Name.anonymous => "" diff --git a/stage0/src/Lean/Data/Position.lean b/stage0/src/Lean/Data/Position.lean index fa520111d4..74f7fc5356 100644 --- a/stage0/src/Lean/Data/Position.lean +++ b/stage0/src/Lean/Data/Position.lean @@ -29,6 +29,11 @@ structure FileMap where lines : Array Nat deriving Inhabited +class MonadFileMap (m : Type → Type) where + getFileMap : m FileMap + +export MonadFileMap (getFileMap) + namespace FileMap partial def ofString (s : String) : FileMap := diff --git a/stage0/src/Lean/Elab.lean b/stage0/src/Lean/Elab.lean index f37b1db1a9..db19a5dea2 100644 --- a/stage0/src/Lean/Elab.lean +++ b/stage0/src/Lean/Elab.lean @@ -29,3 +29,11 @@ import Lean.Elab.Deriving import Lean.Elab.DeclarationRange import Lean.Elab.Extra import Lean.Elab.GenInjective +import Lean.Elab.BuiltinTerm +import Lean.Elab.Arg +import Lean.Elab.PatternVar +import Lean.Elab.ElabRules +import Lean.Elab.Macro +import Lean.Elab.Notation +import Lean.Elab.Mixfix +import Lean.Elab.MacroRules diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index cfdd8f66c7..4c7342378a 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -8,6 +8,7 @@ import Lean.Parser.Term import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.SyntheticMVars +import Lean.Elab.Arg namespace Lean.Elab.Term open Meta @@ -18,25 +19,10 @@ builtin_initialize elabWithoutExpectedTypeAttr : TagAttribute ← def hasElabWithoutExpectedType (env : Environment) (declName : Name) : Bool := elabWithoutExpectedTypeAttr.hasTag env declName -/-- - Auxiliary inductive datatype for combining unelaborated syntax - and already elaborated expressions. It is used to elaborate applications. -/ -inductive Arg where - | stx (val : Syntax) - | expr (val : Expr) - deriving Inhabited - instance : ToString Arg := ⟨fun | Arg.stx val => toString val | Arg.expr val => toString val⟩ -/-- Named arguments created using the notation `(x := val)` -/ -structure NamedArg where - ref : Syntax := Syntax.missing - name : Name - val : Arg - deriving Inhabited - instance : ToString NamedArg where toString s := "(" ++ toString s.name ++ " := " ++ toString s.val ++ ")" @@ -45,14 +31,6 @@ def throwInvalidNamedArg {α} (namedArg : NamedArg) (fn? : Option Name) : TermEl | some fn => throwError "invalid argument name '{namedArg.name}' for function '{fn}'" | none => throwError "invalid argument name '{namedArg.name}' for function" -/-- - Add a new named argument to `namedArgs`, and throw an error if it already contains a named argument - with the same name. -/ -def addNamedArg (namedArgs : Array NamedArg) (namedArg : NamedArg) : TermElabM (Array NamedArg) := do - if namedArgs.any (namedArg.name == ·.name) then - throwError "argument '{namedArg.name}' was already set" - return namedArgs.push namedArg - private def ensureArgType (f : Expr) (arg : Expr) (expectedType : Expr) : TermElabM Expr := do let argType ← inferType arg ensureHasTypeAux expectedType argType arg f @@ -900,31 +878,6 @@ private def elabAppAux (f : Syntax) (namedArgs : Array NamedArg) (args : Array A else withRef f <| mergeFailures candidates -partial def expandArgs (args : Array Syntax) (pattern := false) : TermElabM (Array NamedArg × Array Arg × Bool) := do - let (args, ellipsis) := - if args.isEmpty then - (args, false) - else if args.back.isOfKind ``Lean.Parser.Term.ellipsis then - (args.pop, true) - else - (args, false) - let (namedArgs, args) ← args.foldlM (init := (#[], #[])) fun (namedArgs, args) stx => do - if stx.getKind == ``Lean.Parser.Term.namedArgument then - -- trailing_tparser try ("(" >> ident >> " := ") >> termParser >> ")" - let name := stx[1].getId.eraseMacroScopes - let val := stx[3] - let namedArgs ← addNamedArg namedArgs { ref := stx, name := name, val := Arg.stx val } - return (namedArgs, args) - else if stx.getKind == ``Lean.Parser.Term.ellipsis then - throwErrorAt stx "unexpected '..'" - else - return (namedArgs, args.push $ Arg.stx stx) - return (namedArgs, args, ellipsis) - -def expandApp (stx : Syntax) (pattern := false) : TermElabM (Syntax × Array NamedArg × Array Arg × Bool) := do - let (namedArgs, args, ellipsis) ← expandArgs stx[1].getArgs - return (stx[0], namedArgs, args, ellipsis) - @[builtinTermElab app] def elabApp : TermElab := fun stx expectedType? => withoutPostponingUniverseConstraints do let (f, namedArgs, args, ellipsis) ← expandApp stx diff --git a/stage0/src/Lean/Elab/Arg.lean b/stage0/src/Lean/Elab/Arg.lean new file mode 100644 index 0000000000..08d1d8273c --- /dev/null +++ b/stage0/src/Lean/Elab/Arg.lean @@ -0,0 +1,58 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Term + +namespace Lean.Elab.Term + +/-- + Auxiliary inductive datatype for combining unelaborated syntax + and already elaborated expressions. It is used to elaborate applications. -/ +inductive Arg where + | stx (val : Syntax) + | expr (val : Expr) + deriving Inhabited + +/-- Named arguments created using the notation `(x := val)` -/ +structure NamedArg where + ref : Syntax := Syntax.missing + name : Name + val : Arg + deriving Inhabited + +/-- + Add a new named argument to `namedArgs`, and throw an error if it already contains a named argument + with the same name. -/ +def addNamedArg (namedArgs : Array NamedArg) (namedArg : NamedArg) : TermElabM (Array NamedArg) := do + if namedArgs.any (namedArg.name == ·.name) then + throwError "argument '{namedArg.name}' was already set" + return namedArgs.push namedArg + +partial def expandArgs (args : Array Syntax) (pattern := false) : TermElabM (Array NamedArg × Array Arg × Bool) := do + let (args, ellipsis) := + if args.isEmpty then + (args, false) + else if args.back.isOfKind ``Lean.Parser.Term.ellipsis then + (args.pop, true) + else + (args, false) + let (namedArgs, args) ← args.foldlM (init := (#[], #[])) fun (namedArgs, args) stx => do + if stx.getKind == ``Lean.Parser.Term.namedArgument then + -- trailing_tparser try ("(" >> ident >> " := ") >> termParser >> ")" + let name := stx[1].getId.eraseMacroScopes + let val := stx[3] + let namedArgs ← addNamedArg namedArgs { ref := stx, name := name, val := Arg.stx val } + return (namedArgs, args) + else if stx.getKind == ``Lean.Parser.Term.ellipsis then + throwErrorAt stx "unexpected '..'" + else + return (namedArgs, args.push $ Arg.stx stx) + return (namedArgs, args, ellipsis) + +def expandApp (stx : Syntax) (pattern := false) : TermElabM (Syntax × Array NamedArg × Array Arg × Bool) := do + let (namedArgs, args, ellipsis) ← expandArgs stx[1].getArgs + return (stx[0], namedArgs, args, ellipsis) + +end Lean.Elab.Term diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 28dba32e2c..5c2e0738f6 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -5,6 +5,7 @@ Authors: Leonardo de Moura -/ import Lean.Elab.Quotation.Precheck import Lean.Elab.Term +import Lean.Elab.BindersUtil import Lean.Parser.Term namespace Lean.Elab.Term @@ -101,19 +102,6 @@ private def getBinderIds (ids : Syntax) : TermElabM (Array Syntax) := else throwErrorAt id "identifier or `_` expected" -/- - Recall that - ``` - def typeSpec := leading_parser " : " >> termParser - def optType : Parser := optional typeSpec - ``` --/ -def expandOptType (ref : Syntax) (optType : Syntax) : Syntax := - if optType.isNone then - mkHole ref - else - optType[0][1] - private def matchBinder (stx : Syntax) : TermElabM (Array BinderView) := do let k := stx.getKind if k == `Lean.Parser.Term.simpleBinder then @@ -195,7 +183,7 @@ def elabBinders {α} (binders : Array Syntax) (k : Array Expr → TermElabM α) else elabBindersAux binders k -@[inline] def elabBinder {α} (binder : Syntax) (x : Expr → TermElabM α) : TermElabM α := +def elabBinder {α} (binder : Syntax) (x : Expr → TermElabM α) : TermElabM α := elabBinders #[binder] fun fvars => x fvars[0] @[builtinTermElab «forall»] def elabForall : TermElab := fun stx _ => @@ -206,9 +194,13 @@ def elabBinders {α} (binders : Array Syntax) (k : Array Expr → TermElabM α) mkForallFVars xs e | _ => throwUnsupportedSyntax -@[builtinTermElab arrow] def elabArrow : TermElab := - adaptExpander fun stx => match stx with - | `($dom:term -> $rng) => `(forall (a : $dom), $rng) +@[builtinTermElab arrow] def elabArrow : TermElab := fun stx _ => + match stx with + | `($dom:term -> $rng) => do + -- elaborate independently from each other + let dom ← elabType dom + let rng ← elabType rng + mkForall (← MonadQuotation.addMacroScope `a) BinderInfo.default dom rng | _ => throwUnsupportedSyntax @[builtinTermElab depArrow] def elabDepArrow : TermElab := fun stx _ => diff --git a/stage0/src/Lean/Elab/BindersUtil.lean b/stage0/src/Lean/Elab/BindersUtil.lean new file mode 100644 index 0000000000..9247ba043f --- /dev/null +++ b/stage0/src/Lean/Elab/BindersUtil.lean @@ -0,0 +1,20 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +namespace Lean.Elab.Term +/- + Recall that + ``` + def typeSpec := leading_parser " : " >> termParser + def optType : Parser := optional typeSpec + ``` +-/ +def expandOptType (ref : Syntax) (optType : Syntax) : Syntax := + if optType.isNone then + mkHole ref + else + optType[0][1] + +end Lean.Elab.Term diff --git a/stage0/src/Lean/Elab/BuiltinTerm.lean b/stage0/src/Lean/Elab/BuiltinTerm.lean new file mode 100644 index 0000000000..2fe0bd2664 --- /dev/null +++ b/stage0/src/Lean/Elab/BuiltinTerm.lean @@ -0,0 +1,200 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Term + +namespace Lean.Elab.Term +open Meta + +@[builtinTermElab «prop»] def elabProp : TermElab := fun _ _ => + return mkSort levelZero + +private def elabOptLevel (stx : Syntax) : TermElabM Level := + if stx.isNone then + pure levelZero + else + elabLevel stx[0] + +@[builtinTermElab «sort»] def elabSort : TermElab := fun stx _ => + return mkSort (← elabOptLevel stx[1]) + +@[builtinTermElab «type»] def elabTypeStx : TermElab := fun stx _ => + return mkSort (mkLevelSucc (← elabOptLevel stx[1])) + +/- + the method `resolveName` adds a completion point for it using the given + expected type. Thus, we propagate the expected type if `stx[0]` is an identifier. + It doesn't "hurt" if the identifier can be resolved because the expected type is not used in this case. + Recall that if the name resolution fails a synthetic sorry is returned.-/ + +@[builtinTermElab «pipeCompletion»] def elabPipeCompletion : TermElab := fun stx expectedType? => do + let e ← elabTerm stx[0] none + unless e.isSorry do + addDotCompletionInfo stx e expectedType? + throwErrorAt stx[1] "invalid field notation, identifier or numeral expected" + +@[builtinTermElab «completion»] def elabCompletion : TermElab := fun stx expectedType? => do + /- `ident.` is ambiguous in Lean, we may try to be completing a declaration name or access a "field". -/ + if stx[0].isIdent then + /- If we can elaborate the identifier successfully, we assume it a dot-completion. Otherwise, we treat it as + identifier completion with a dangling `.`. + Recall that the server falls back to identifier completion when dot-completion fails. -/ + let s ← saveState + try + let e ← elabTerm stx[0] none + addDotCompletionInfo stx e expectedType? + catch _ => + s.restore + addCompletionInfo <| CompletionInfo.id stx stx[0].getId (danglingDot := true) (← getLCtx) expectedType? + throwErrorAt stx[1] "invalid field notation, identifier or numeral expected" + else + elabPipeCompletion stx expectedType? + +@[builtinTermElab «hole»] def elabHole : TermElab := fun stx expectedType? => do + let mvar ← mkFreshExprMVar expectedType? + registerMVarErrorHoleInfo mvar.mvarId! stx + pure mvar + +@[builtinTermElab «syntheticHole»] def elabSyntheticHole : TermElab := fun stx expectedType? => do + let arg := stx[1] + let userName := if arg.isIdent then arg.getId else Name.anonymous + let mkNewHole : Unit → TermElabM Expr := fun _ => do + let mvar ← mkFreshExprMVar expectedType? MetavarKind.syntheticOpaque userName + registerMVarErrorHoleInfo mvar.mvarId! stx + pure mvar + if userName.isAnonymous then + mkNewHole () + else + let mctx ← getMCtx + match mctx.findUserName? userName with + | none => mkNewHole () + | some mvarId => + let mvar := mkMVar mvarId + let mvarDecl ← getMVarDecl mvarId + let lctx ← getLCtx + if mvarDecl.lctx.isSubPrefixOf lctx then + pure mvar + else match mctx.getExprAssignment? mvarId with + | some val => + let val ← instantiateMVars val + if mctx.isWellFormed lctx val then + pure val + else + withLCtx mvarDecl.lctx mvarDecl.localInstances do + throwError "synthetic hole has already been defined and assigned to value incompatible with the current context{indentExpr val}" + | none => + if mctx.isDelayedAssigned mvarId then + -- We can try to improve this case if needed. + throwError "synthetic hole has already beend defined and delayed assigned with an incompatible local context" + else if lctx.isSubPrefixOf mvarDecl.lctx then + let mvarNew ← mkNewHole () + modifyMCtx fun mctx => mctx.assignExpr mvarId mvarNew + pure mvarNew + else + throwError "synthetic hole has already been defined with an incompatible local context" + +private def mkTacticMVar (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do + let mvar ← mkFreshExprMVar type MetavarKind.syntheticOpaque + let mvarId := mvar.mvarId! + let ref ← getRef + let declName? ← getDeclName? + registerSyntheticMVar ref mvarId <| SyntheticMVarKind.tactic tacticCode (← saveContext) + return mvar + +@[builtinTermElab byTactic] def elabByTactic : TermElab := fun stx expectedType? => + match expectedType? with + | some expectedType => mkTacticMVar expectedType stx + | none => throwError ("invalid 'by' tactic, expected type has not been provided") + +@[builtinTermElab noImplicitLambda] def elabNoImplicitLambda : TermElab := fun stx expectedType? => + elabTerm stx[1] (mkNoImplicitLambdaAnnotation <$> expectedType?) + +@[builtinTermElab cdot] def elabBadCDot : TermElab := fun stx _ => + throwError "invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)" + +@[builtinTermElab strLit] def elabStrLit : TermElab := fun stx _ => do + match stx.isStrLit? with + | some val => pure $ mkStrLit val + | none => throwIllFormedSyntax + +private def mkFreshTypeMVarFor (expectedType? : Option Expr) : TermElabM Expr := do + let typeMVar ← mkFreshTypeMVar MetavarKind.synthetic + match expectedType? with + | some expectedType => discard <| isDefEq expectedType typeMVar + | _ => pure () + return typeMVar + +@[builtinTermElab numLit] def elabNumLit : TermElab := fun stx expectedType? => do + let val ← match stx.isNatLit? with + | some val => pure val + | none => throwIllFormedSyntax + let typeMVar ← mkFreshTypeMVarFor expectedType? + let u ← getDecLevel typeMVar + let mvar ← mkInstMVar (mkApp2 (Lean.mkConst ``OfNat [u]) typeMVar (mkNatLit val)) + let r := mkApp3 (Lean.mkConst ``OfNat.ofNat [u]) typeMVar (mkNatLit val) mvar + registerMVarErrorImplicitArgInfo mvar.mvarId! stx r + return r + +@[builtinTermElab rawNatLit] def elabRawNatLit : TermElab := fun stx expectedType? => do + match stx[1].isNatLit? with + | some val => return mkNatLit val + | none => throwIllFormedSyntax + +@[builtinTermElab scientificLit] +def elabScientificLit : TermElab := fun stx expectedType? => do + match stx.isScientificLit? with + | none => throwIllFormedSyntax + | some (m, sign, e) => + let typeMVar ← mkFreshTypeMVarFor expectedType? + let u ← getDecLevel typeMVar + let mvar ← mkInstMVar (mkApp (Lean.mkConst ``OfScientific [u]) typeMVar) + return mkApp5 (Lean.mkConst ``OfScientific.ofScientific [u]) typeMVar mvar (mkNatLit m) (toExpr sign) (mkNatLit e) + +@[builtinTermElab charLit] def elabCharLit : TermElab := fun stx _ => do + match stx.isCharLit? with + | some val => return mkApp (Lean.mkConst ``Char.ofNat) (mkNatLit val.toNat) + | none => throwIllFormedSyntax + +@[builtinTermElab quotedName] def elabQuotedName : TermElab := fun stx _ => + match stx[0].isNameLit? with + | some val => pure $ toExpr val + | none => throwIllFormedSyntax + +@[builtinTermElab doubleQuotedName] def elabDoubleQuotedName : TermElab := fun stx _ => do + match stx[1].isNameLit? with + | some val => toExpr (← resolveGlobalConstNoOverloadWithInfo stx[1] val) + | none => throwIllFormedSyntax + +@[builtinTermElab typeOf] def elabTypeOf : TermElab := fun stx _ => do + inferType (← elabTerm stx[1] none) + +@[builtinTermElab ensureTypeOf] def elabEnsureTypeOf : TermElab := fun stx expectedType? => + match stx[2].isStrLit? with + | none => throwIllFormedSyntax + | some msg => do + let refTerm ← elabTerm stx[1] none + let refTermType ← inferType refTerm + elabTermEnsuringType stx[3] refTermType (errorMsgHeader? := msg) + +@[builtinTermElab ensureExpectedType] def elabEnsureExpectedType : TermElab := fun stx expectedType? => + match stx[1].isStrLit? with + | none => throwIllFormedSyntax + | some msg => elabTermEnsuringType stx[2] expectedType? (errorMsgHeader? := msg) + +@[builtinTermElab «open»] def elabOpen : TermElab := fun stx expectedType? => do + try + pushScope + let openDecls ← elabOpenDecl stx[1] + withTheReader Core.Context (fun ctx => { ctx with openDecls := openDecls }) do + elabTerm stx[3] expectedType? + finally + popScope + +@[builtinTermElab «set_option»] def elabSetOption : TermElab := fun stx expectedType? => do + let options ← Elab.elabSetOption stx[1] stx[2] + withTheReader Core.Context (fun ctx => { ctx with maxRecDepth := maxRecDepth.get options, options := options }) do + elabTerm stx[4] expectedType? + +end Lean.Elab.Term diff --git a/stage0/src/Lean/Elab/Command.lean b/stage0/src/Lean/Elab/Command.lean index 3a070a20be..3033d83f45 100644 --- a/stage0/src/Lean/Elab/Command.lean +++ b/stage0/src/Lean/Elab/Command.lean @@ -177,7 +177,7 @@ def runLinters (stx : Syntax) : CommandElabM Unit := do protected def getCurrMacroScope : CommandElabM Nat := do pure (← read).currMacroScope protected def getMainModule : CommandElabM Name := do pure (← getEnv).mainModule -@[inline] protected def withFreshMacroScope {α} (x : CommandElabM α) : CommandElabM α := do +protected def withFreshMacroScope {α} (x : CommandElabM α) : CommandElabM α := do let fresh ← modifyGet (fun st => (st.nextMacroScope, { st with nextMacroScope := st.nextMacroScope + 1 })) withReader (fun ctx => { ctx with currMacroScope := fresh }) x @@ -212,25 +212,19 @@ private def mkInfoTree (elaborator : Name) (stx : Syntax) (trees : Std.Persisten let s ← get let scope := s.scopes.head! let tree := InfoTree.node (Info.ofCommandInfo { elaborator, stx }) trees - let tree := InfoTree.context { + return InfoTree.context { env := s.env, fileMap := ctx.fileMap, mctx := {}, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts } tree - if checkTraceOption (← getOptions) `Elab.info then - let fmt ← tree.format - trace[Elab.info] fmt - return tree private def elabCommandUsing (s : State) (stx : Syntax) : List (KeyedDeclsAttribute.AttributeEntry CommandElab) → CommandElabM Unit | [] => throwError "unexpected syntax{indentD stx}" | (elabFn::elabFns) => catchInternalId unsupportedSyntaxExceptionId - (do - withInfoTreeContext (mkInfoTree := mkInfoTree elabFn.decl stx) <| elabFn.value stx - addTraceAsMessages) - (fun _ => do set s; addTraceAsMessages; elabCommandUsing s stx elabFns) + (withInfoTreeContext (mkInfoTree := mkInfoTree elabFn.decl stx) <| elabFn.value stx) + (fun _ => do set s; elabCommandUsing s stx elabFns) /- Elaborate `x` with `stx` on the macro stack -/ -@[inline] def withMacroExpansion {α} (beforeStx afterStx : Syntax) (x : CommandElabM α) : CommandElabM α := +def withMacroExpansion {α} (beforeStx afterStx : Syntax) (x : CommandElabM α) : CommandElabM α := withReader (fun ctx => { ctx with macroStack := { before := beforeStx, after := afterStx } :: ctx.macroStack }) x instance : MonadMacroAdapter CommandElabM where @@ -248,7 +242,7 @@ register_builtin_option showPartialSyntaxErrors : Bool := { descr := "show elaboration errors from partial syntax trees (i.e. after parser recovery)" } -@[inline] def withLogging (x : CommandElabM Unit) : CommandElabM Unit := do +def withLogging (x : CommandElabM Unit) : CommandElabM Unit := do try x catch ex => match ex with @@ -263,9 +257,7 @@ register_builtin_option showPartialSyntaxErrors : Bool := { builtin_initialize registerTraceClass `Elab.command partial def elabCommand (stx : Syntax) : CommandElabM Unit := do - let initMsgs ← modifyGet fun st => (st.messages, { st with messages := {} }) withLogging <| withRef stx <| withIncRecDepth <| withFreshMacroScope do - runLinters stx match stx with | Syntax.node k args => if k == nullKind then @@ -285,13 +277,36 @@ partial def elabCommand (stx : Syntax) : CommandElabM Unit := do | [] => throwError "elaboration function for '{k}' has not been implemented" | elabFns => elabCommandUsing s stx elabFns | _ => throwError "unexpected command" + +/-- +`elabCommand` wrapper that should be used for the initial invocation, not for recursive calls after +macro expansion etc. +-/ +def elabCommandTopLevel (stx : Syntax) : CommandElabM Unit := withRef stx do + let initMsgs ← modifyGet fun st => (st.messages, { st with messages := {} }) + let initInfoTrees ← getResetInfoTrees + withLogging do + runLinters stx + -- We should *not* factor out `elabCommand`'s `withLogging` to here since it would make its error + -- recovery more coarse. In particular, If `c` in `set_option ... in $c` fails, the remaining + -- `end` command of the `in` macro would be skipped and the option would be leaked to the outside! + elabCommand stx + + -- note the order: first process current messages & info trees, then add back old messages & trees, + -- then convert new traces to messages let mut msgs ← (← get).messages -- `stx.hasMissing` should imply `initMsgs.hasErrors`, but the latter should be cheaper to check in general if !showPartialSyntaxErrors.get (← getOptions) && initMsgs.hasErrors && stx.hasMissing then -- discard elaboration errors, except for a few important and unlikely misleading ones, on parse error msgs := ⟨msgs.msgs.filter fun msg => msg.data.hasTag `Elab.synthPlaceholder || msg.data.hasTag `Tactic.unsolvedGoals⟩ - modify ({ · with messages := initMsgs ++ msgs }) + for tree in (← getInfoTrees) do + trace[Elab.info] (← tree.format) + modify fun st => { st with + messages := initMsgs ++ msgs + infoState := { st.infoState with trees := initInfoTrees ++ st.infoState.trees } + } + addTraceAsMessages /-- Adapt a syntax transformation to a regular, command-producing elaborator. -/ def adaptExpander (exp : Syntax → CommandElabM Syntax) : CommandElab := fun stx => do @@ -341,21 +356,17 @@ def liftTermElabM {α} (declName? : Option Name) (x : TermElabM α) : CommandEla let scope := s.scopes.head! -- We execute `x` with an empty message log. Thus, `x` cannot modify/view messages produced by previous commands. -- This is useful for implementing `runTermElabM` where we use `Term.resetMessageLog` + let x : TermElabM _ := withSaveInfoContext x let x : MetaM _ := (observing x).run (mkTermContext ctx s declName?) (mkTermState scope s) let x : CoreM _ := x.run mkMetaContext {} let x : EIO _ _ := x.run (mkCoreContext ctx s heartbeats) { env := s.env, ngen := s.ngen, nextMacroScope := s.nextMacroScope } let (((ea, termS), metaS), coreS) ← liftEIO x - let infoTrees := termS.infoState.trees.map fun tree => - let tree := tree.substitute termS.infoState.assignment - InfoTree.context { - env := coreS.env, fileMap := ctx.fileMap, mctx := metaS.mctx, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts - } tree modify fun s => { s with env := coreS.env messages := addTraceAsMessagesCore ctx (s.messages ++ termS.messages) coreS.traceState nextMacroScope := coreS.nextMacroScope ngen := coreS.ngen - infoState.trees := s.infoState.trees.append infoTrees + infoState.trees := s.infoState.trees.append termS.infoState.trees } match ea with | Except.ok a => pure a @@ -455,13 +466,13 @@ private def popScopes (numScopes : Nat) : CommandElabM Unit := addCompletionInfo <| CompletionInfo.endSection stx (scopes.map fun scope => scope.header) throwError "invalid 'end', name mismatch" -@[inline] def withNamespace {α} (ns : Name) (elabFn : CommandElabM α) : CommandElabM α := do +def withNamespace {α} (ns : Name) (elabFn : CommandElabM α) : CommandElabM α := do addNamespace ns let a ← elabFn modify fun s => { s with scopes := s.scopes.drop ns.getNumParts } pure a -@[specialize] def modifyScope (f : Scope → Scope) : CommandElabM Unit := +def modifyScope (f : Scope → Scope) : CommandElabM Unit := modify fun s => { s with scopes := match s.scopes with | h::t => f h :: t diff --git a/stage0/src/Lean/Elab/DeclUtil.lean b/stage0/src/Lean/Elab/DeclUtil.lean index 848bffe5d2..2b599ec244 100644 --- a/stage0/src/Lean/Elab/DeclUtil.lean +++ b/stage0/src/Lean/Elab/DeclUtil.lean @@ -28,7 +28,7 @@ def forallTelescopeCompatibleAux {α} (k : Array Expr → Expr → Expr → Meta /-- Given two forall-expressions `type₁` and `type₂`, ensure the first `numParams` parameters are compatible, and then execute `k` with the parameters and remaining types. -/ -@[inline] def forallTelescopeCompatible {α m} [Monad m] [MonadControlT MetaM m] (type₁ type₂ : Expr) (numParams : Nat) (k : Array Expr → Expr → Expr → m α) : m α := +def forallTelescopeCompatible {α m} [Monad m] [MonadControlT MetaM m] (type₁ type₂ : Expr) (numParams : Nat) (k : Array Expr → Expr → Expr → m α) : m α := controlAt MetaM fun runInBase => forallTelescopeCompatibleAux (fun xs type₁ type₂ => runInBase $ k xs type₁ type₂) numParams type₁ type₂ #[] diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index e4c7a2a9f3..8fb99f4956 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -4,8 +4,8 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Term -import Lean.Elab.Binders -import Lean.Elab.Match +import Lean.Elab.BindersUtil +import Lean.Elab.PatternVar import Lean.Elab.Quotation.Util import Lean.Parser.Do @@ -231,8 +231,8 @@ partial def CodeBlocl.toMessageData (codeBlock : CodeBlock) : MessageData := loop codeBlock.code /- Return true if the give code contains an exit point that satisfies `p` -/ -@[inline] partial def hasExitPointPred (c : Code) (p : Code → Bool) : Bool := - let rec @[specialize] loop : Code → Bool +partial def hasExitPointPred (c : Code) (p : Code → Bool) : Bool := + let rec loop : Code → Bool | Code.decl _ _ k => loop k | Code.reassign _ _ k => loop k | Code.joinpoint _ _ b k => loop b || loop k @@ -1142,7 +1142,7 @@ structure Context where abbrev M := ReaderT Context TermElabM -@[inline] def withNewMutableVars {α} (newVars : Array Name) (mutable : Bool) (x : M α) : M α := +def withNewMutableVars {α} (newVars : Array Name) (mutable : Bool) (x : M α) : M α := withReader (fun ctx => if mutable then { ctx with mutableVars := insertVars ctx.mutableVars newVars } else ctx) x def checkReassignable (xs : Array Name) : M Unit := do @@ -1161,7 +1161,7 @@ def checkNotShadowingMutable (xs : Array Name) : M Unit := do if ctx.mutableVars.contains x then throwInvalidShadowing x -@[inline] def withFor {α} (x : M α) : M α := +def withFor {α} (x : M α) : M α := withReader (fun ctx => { ctx with insideFor := true }) x structure ToForInTermResult where diff --git a/stage0/src/Lean/Elab/ElabRules.lean b/stage0/src/Lean/Elab/ElabRules.lean new file mode 100644 index 0000000000..b696620a7d --- /dev/null +++ b/stage0/src/Lean/Elab/ElabRules.lean @@ -0,0 +1,97 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.MacroArgUtil + +namespace Lean.Elab.Command +open Lean.Syntax +open Lean.Parser.Term hiding macroArg + +def withExpectedType (expectedType? : Option Expr) (x : Expr → TermElabM Expr) : TermElabM Expr := do + Term.tryPostponeIfNoneOrMVar expectedType? + let some expectedType ← pure expectedType? + | throwError "expected type must be known" + x expectedType + +def elabElabRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (cat? expty? : Option Syntax) (alts : Array Syntax) : CommandElabM Syntax := do + let alts ← alts.mapM fun alt => match alt with + | `(matchAltExpr| | $pats,* => $rhs) => do + let pat := pats.elemsAndSeps[0] + if !pat.isQuot then + throwUnsupportedSyntax + let quoted := getQuotContent pat + let k' := quoted.getKind + if checkRuleKind k' k then + pure alt + else if k' == choiceKind then + match quoted.getArgs.find? fun quotAlt => checkRuleKind quotAlt.getKind k with + | none => throwErrorAt alt "invalid elab_rules alternative, expected syntax node kind '{k}'" + | some quoted => + let pat := pat.setArg 1 quoted + let pats := pats.elemsAndSeps.set! 0 pat + `(matchAltExpr| | $pats,* => $rhs) + else + throwErrorAt alt "invalid elab_rules alternative, unexpected syntax node kind '{k'}'" + | _ => throwUnsupportedSyntax + let catName ← match cat?, expty? with + | some cat, _ => cat.getId + | _, some _ => `term + -- TODO: infer category from quotation kind, possibly even kind of quoted syntax? + | _, _ => throwError "invalid elab_rules command, specify category using `elab_rules : ...`" + if let some expId := expty? then + if catName == `term then + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + fun stx expectedType? => Lean.Elab.Command.withExpectedType expectedType? fun $expId => match stx with + $alts:matchAlt* | _ => throwUnsupportedSyntax) + else + throwErrorAt expId "syntax category '{catName}' does not support expected type specification" + else if catName == `term then + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + fun stx _ => match stx with + $alts:matchAlt* | _ => throwUnsupportedSyntax) + else if catName == `command then + `($[$doc?:docComment]? @[commandElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Command.CommandElab := + fun $alts:matchAlt* | _ => throwUnsupportedSyntax) + else if catName == `tactic then + `($[$doc?:docComment]? @[tactic $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Tactic.Tactic := + fun $alts:matchAlt* | _ => throwUnsupportedSyntax) + else + -- We considered making the command extensible and support new user-defined categories. We think it is unnecessary. + -- If users want this feature, they add their own `elab_rules` macro that uses this one as a fallback. + throwError "unsupported syntax category '{catName}'" + +@[builtinCommandElab «elab_rules»] def elabElabRules : CommandElab := + adaptExpander fun stx => match stx with + | `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => + expandNoKindMacroRulesAux alts "elab_rules" fun kind? alts => + `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[(kind := $(mkIdent <$> kind?))]? $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) + | `($[$doc?:docComment]? $attrKind:attrKind elab_rules (kind := $kind) $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => + do elabElabRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) cat? expty? alts + | _ => throwUnsupportedSyntax + +@[builtinMacro Lean.Parser.Command.elab] +def expandElab : Macro + | `($[$doc?:docComment]? $attrKind:attrKind + elab$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : + $cat $[<= $expectedType?]? => $rhs) => do + let prio ← evalOptPrio prio? + let catName := cat.getId + -- build parser + let stxPart ← expandMacroArgIntoSyntaxItem head + let stxParts ← args.mapM expandMacroArgIntoSyntaxItem + let stxParts := #[stxPart] ++ stxParts + -- name + let name ← match name? with + | some name => pure name.getId + | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) + -- build pattern for syntax `match` + let patHead ← expandMacroArgIntoPattern head + let patArgs ← args.mapM expandMacroArgIntoPattern + let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) + `($[$doc?:docComment]? $attrKind:attrKind syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat + $[$doc?:docComment]? elab_rules : $cat $[<= $expectedType?]? | `($pat) => $rhs) + | _ => Macro.throwUnsupported + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/Frontend.lean b/stage0/src/Lean/Elab/Frontend.lean index 53ff7919be..c2b85a511e 100644 --- a/stage0/src/Lean/Elab/Frontend.lean +++ b/stage0/src/Lean/Elab/Frontend.lean @@ -36,7 +36,7 @@ def elabCommandAtFrontend (stx : Syntax) : FrontendM Unit := do let infoTreeEnabled := (← getInfoState).enabled if checkTraceOption (← getOptions) `Elab.info then enableInfoTree - Command.elabCommand stx + Command.elabCommandTopLevel stx enableInfoTree infoTreeEnabled def updateCmdPos : FrontendM Unit := do diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index a05af807a7..eea75395cb 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -257,7 +257,7 @@ variable [Monad m] [MonadInfoTree m] @[inline] private def modifyInfoTrees (f : PersistentArray InfoTree → PersistentArray InfoTree) : m Unit := modifyInfoState fun s => { s with trees := f s.trees } -private def getResetInfoTrees : m (PersistentArray InfoTree) := do +def getResetInfoTrees : m (PersistentArray InfoTree) := do let trees := (← getInfoState).trees modifyInfoTrees fun _ => {} return trees @@ -287,7 +287,7 @@ def resolveGlobalConstWithInfos [MonadResolveName m] [MonadEnv m] [MonadError m] pushInfoLeaf <| Info.ofTermInfo { elaborator := Name.anonymous, lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx, expectedType? } return ns -@[inline] def withInfoContext' [MonadFinally m] (x : m α) (mkInfo : α → m (Sum Info MVarId)) : m α := do +def withInfoContext' [MonadFinally m] (x : m α) (mkInfo : α → m (Sum Info MVarId)) : m α := do if (← getInfoState).enabled then let treesSaved ← getResetInfoTrees Prod.fst <$> MonadFinally.tryFinally' x fun a? => do @@ -302,7 +302,7 @@ def resolveGlobalConstWithInfos [MonadResolveName m] [MonadEnv m] [MonadError m] else x -@[inline] def withInfoTreeContext [MonadFinally m] (x : m α) (mkInfoTree : PersistentArray InfoTree → m InfoTree) : m α := do +def withInfoTreeContext [MonadFinally m] (x : m α) (mkInfoTree : PersistentArray InfoTree → m InfoTree) : m α := do if (← getInfoState).enabled then let treesSaved ← getResetInfoTrees Prod.fst <$> MonadFinally.tryFinally' x fun _ => do @@ -315,6 +315,20 @@ def resolveGlobalConstWithInfos [MonadResolveName m] [MonadEnv m] [MonadError m] @[inline] def withInfoContext [MonadFinally m] (x : m α) (mkInfo : m Info) : m α := do withInfoTreeContext x (fun trees => do return InfoTree.node (← mkInfo) trees) +def withSaveInfoContext [MonadFinally m] [MonadEnv m] [MonadOptions m] [MonadMCtx m] [MonadResolveName m] [MonadFileMap m] (x : m α) : m α := do + if (← getInfoState).enabled then + let treesSaved ← getResetInfoTrees + Prod.fst <$> MonadFinally.tryFinally' x fun _ => do + let st ← getInfoState + let trees ← st.trees.mapM fun tree => do + let tree := tree.substitute st.assignment + InfoTree.context { + env := (← getEnv), fileMap := (← getFileMap), mctx := (← getMCtx), currNamespace := (← getCurrNamespace), openDecls := (← getOpenDecls), options := (← getOptions) + } tree + modifyInfoTrees fun _ => treesSaved ++ trees + else + x + def getInfoHoleIdAssignment? (mvarId : MVarId) : m (Option InfoTree) := return (← getInfoState).assignment[mvarId] diff --git a/stage0/src/Lean/Elab/Log.lean b/stage0/src/Lean/Elab/Log.lean index a328ede568..14ff6f7176 100644 --- a/stage0/src/Lean/Elab/Log.lean +++ b/stage0/src/Lean/Elab/Log.lean @@ -9,11 +9,6 @@ import Lean.Elab.Exception namespace Lean.Elab -class MonadFileMap (m : Type → Type) where - getFileMap : m FileMap - -export MonadFileMap (getFileMap) - class MonadLog (m : Type → Type) extends MonadFileMap m where getRef : m Syntax getFileName : m String diff --git a/stage0/src/Lean/Elab/Macro.lean b/stage0/src/Lean/Elab/Macro.lean new file mode 100644 index 0000000000..722e78d3fe --- /dev/null +++ b/stage0/src/Lean/Elab/Macro.lean @@ -0,0 +1,46 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.MacroArgUtil + +namespace Lean.Elab.Command +open Lean.Syntax +open Lean.Parser.Term hiding macroArg +open Lean.Parser.Command + +@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro + | `($[$doc?:docComment]? $attrKind:attrKind + macro$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : + $cat => $rhs) => do + let prio ← evalOptPrio prio? + -- build parser + let stxPart ← expandMacroArgIntoSyntaxItem head + let stxParts ← args.mapM expandMacroArgIntoSyntaxItem + let stxParts := #[stxPart] ++ stxParts + -- name + let name ← match name? with + | some name => pure name.getId + | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) + -- build macro rules + let patHead ← expandMacroArgIntoPattern head + let patArgs ← args.mapM expandMacroArgIntoPattern + /- The command `syntax [] ...` adds the current namespace to the syntax node kind. + So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ + let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) + let stxCmd ← `($[$doc?:docComment]? $attrKind:attrKind + syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat) + let macroRulesCmd ← + if rhs.getArgs.size == 1 then + -- `rhs` is a `term` + let rhs := rhs[0] + `($[$doc?:docComment]? macro_rules | `($pat) => $rhs) + else + -- `rhs` is of the form `` `( $body ) `` + let rhsBody := rhs[1] + `($[$doc?:docComment]? macro_rules | `($pat) => `($rhsBody)) + return mkNullNode #[stxCmd, macroRulesCmd] + | _ => Macro.throwUnsupported + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/MacroArgUtil.lean b/stage0/src/Lean/Elab/MacroArgUtil.lean new file mode 100644 index 0000000000..ee411539de --- /dev/null +++ b/stage0/src/Lean/Elab/MacroArgUtil.lean @@ -0,0 +1,42 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Syntax + +namespace Lean.Elab.Command +open Lean.Syntax +open Lean.Parser.Term hiding macroArg +open Lean.Parser.Command + +/- Convert `macro` argument into a `syntax` command item -/ +def expandMacroArgIntoSyntaxItem : Macro + | `(macroArg|$id:ident:$stx) => stx + -- can't match against `$s:strLit%$id` because the latter part would be interpreted as an antiquotation on the token + -- `strLit`. + | `(macroArg|$s:macroArgSymbol) => `(stx|$(s[0]):strLit) + | _ => Macro.throwUnsupported + +/- Convert `macro` arg into a pattern element -/ +def expandMacroArgIntoPattern (stx : Syntax) : MacroM Syntax := do + match (← expandMacros stx) with + | `(macroArg|$id:ident:optional($stx)) => + mkSplicePat `optional id "?" + | `(macroArg|$id:ident:many($stx)) => + mkSplicePat `many id "*" + | `(macroArg|$id:ident:many1($stx)) => + mkSplicePat `many id "*" + | `(macroArg|$id:ident:sepBy($stx, $sep:strLit $[, $stxsep]? $[, allowTrailingSep]?)) => + mkSplicePat `sepBy id ((isStrLit? sep).get! ++ "*") + | `(macroArg|$id:ident:sepBy1($stx, $sep:strLit $[, $stxsep]? $[, allowTrailingSep]?)) => + mkSplicePat `sepBy id ((isStrLit? sep).get! ++ "*") + | `(macroArg|$id:ident:$stx) => mkAntiquotNode id + | `(macroArg|$s:strLit) => strLitToPattern s + -- `"tk"%id` ~> `"tk"%$id` + | `(macroArg|$s:macroArgSymbol) => mkNode `token_antiquot #[← strLitToPattern s[0], mkAtom "%", mkAtom "$", s[1][1]] + | _ => Macro.throwUnsupported + where mkSplicePat kind id suffix := + mkNullNode #[mkAntiquotSuffixSpliceNode kind (mkAntiquotNode id) suffix] + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/MacroRules.lean b/stage0/src/Lean/Elab/MacroRules.lean new file mode 100644 index 0000000000..734c3e508f --- /dev/null +++ b/stage0/src/Lean/Elab/MacroRules.lean @@ -0,0 +1,51 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Syntax + +namespace Lean.Elab.Command +open Lean.Syntax +open Lean.Parser.Term hiding macroArg +open Lean.Parser.Command + +/- + Remark: `k` is the user provided kind with the current namespace included. + Recall that syntax node kinds contain the current namespace. +-/ +def elabMacroRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (alts : Array Syntax) : CommandElabM Syntax := do + let alts ← alts.mapM fun alt => match alt with + | `(matchAltExpr| | $pats,* => $rhs) => do + let pat := pats.elemsAndSeps[0] + if !pat.isQuot then + throwUnsupportedSyntax + let quoted := getQuotContent pat + let k' := quoted.getKind + if checkRuleKind k' k then + pure alt + else if k' == choiceKind then + match quoted.getArgs.find? fun quotAlt => checkRuleKind quotAlt.getKind k with + | none => throwErrorAt alt "invalid macro_rules alternative, expected syntax node kind '{k}'" + | some quoted => + let pat := pat.setArg 1 quoted + let pats := pats.elemsAndSeps.set! 0 pat + `(matchAltExpr| | $pats,* => $rhs) + else + throwErrorAt alt "invalid macro_rules alternative, unexpected syntax node kind '{k'}'" + | _ => throwUnsupportedSyntax + `($[$doc?:docComment]? @[$attrKind:attrKind macro $(Lean.mkIdent k)] def myMacro : Macro := + fun $alts:matchAlt* | _ => throw Lean.Macro.Exception.unsupportedSyntax) + +@[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := + adaptExpander fun stx => match stx with + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules $alts:matchAlt*) => + expandNoKindMacroRulesAux alts "macro_rules" fun kind? alts => + `($[$doc?:docComment]? $attrKind:attrKind macro_rules $[(kind := $(mkIdent <$> kind?))]? $alts:matchAlt*) + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) => + `($[$doc?:docComment]? @[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs) + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) => + do elabMacroRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) alts + | _ => throwUnsupportedSyntax + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 3692806d3d..5a4eedbd4e 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -9,28 +9,14 @@ import Lean.Meta.Match.Match import Lean.Meta.SortLocalDecls import Lean.Meta.GeneralizeVars import Lean.Elab.SyntheticMVars -import Lean.Elab.App +import Lean.Elab.Arg import Lean.Parser.Term +import Lean.Elab.PatternVar namespace Lean.Elab.Term open Meta open Lean.Parser.Term -/- This modules assumes "match"-expressions use the following syntax. - -```lean -def matchDiscr := leading_parser optional (try (ident >> checkNoWsBefore "no space before ':'" >> ":")) >> termParser - -def «match» := leading_parser:leadPrec "match " >> sepBy1 matchDiscr ", " >> optType >> " with " >> matchAlts -``` --/ - -structure MatchAltView where - ref : Syntax - patterns : Array Syntax - rhs : Syntax - deriving Inhabited - private def expandSimpleMatch (stx discr lhsVar rhs : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do let newStx ← `(let $lhsVar := $discr; $rhs) withMacroExpansion stx newStx <| elabTerm newStx expectedType? @@ -180,29 +166,8 @@ private def getMatchAlts : Syntax → Array MatchAltView | _ => none | _ => #[] -inductive PatternVar where - | localVar (userName : Name) - -- anonymous variables (`_`) are encoded using metavariables - | anonymousVar (mvarId : MVarId) - -instance : ToString PatternVar := ⟨fun - | PatternVar.localVar x => toString x - | PatternVar.anonymousVar mvarId => s!"?m{mvarId}"⟩ - builtin_initialize Parser.registerBuiltinNodeKind `MVarWithIdKind -/-- - Create an auxiliary Syntax node wrapping a fresh metavariable id. - We use this kind of Syntax for representing `_` occurring in patterns. - The metavariables are created before we elaborate the patterns into `Expr`s. -/ -private def mkMVarSyntax : TermElabM Syntax := do - let mvarId ← mkFreshId - return Syntax.node `MVarWithIdKind #[Syntax.node mvarId #[]] - -/-- Given a syntax node constructed using `mkMVarSyntax`, return its MVarId -/ -private def getMVarSyntaxMVarId (stx : Syntax) : MVarId := - stx[0].getKind - open Meta.Match (mkInaccessible inaccessible?) /-- @@ -215,330 +180,6 @@ open Meta.Match (mkInaccessible inaccessible?) let e ← elabTerm stx[1] expectedType? return mkInaccessible e -/- - Patterns define new local variables. - This module collect them and preprocess `_` occurring in patterns. - Recall that an `_` may represent anonymous variables or inaccessible terms - that are implied by typing constraints. Thus, we represent them with fresh named holes `?x`. - After we elaborate the pattern, if the metavariable remains unassigned, we transform it into - a regular pattern variable. Otherwise, it becomes an inaccessible term. - - Macros occurring in patterns are expanded before the `collectPatternVars` method is executed. - The following kinds of Syntax are handled by this module - - Constructor applications - - Applications of functions tagged with the `[matchPattern]` attribute - - Identifiers - - Anonymous constructors - - Structure instances - - Inaccessible terms - - Named patterns - - Tuple literals - - Type ascriptions - - Literals: num, string and char --/ -namespace CollectPatternVars - -structure State where - found : NameSet := {} - vars : Array PatternVar := #[] - -abbrev M := StateRefT State TermElabM - -private def throwCtorExpected {α} : M α := - throwError "invalid pattern, constructor or constant marked with '[matchPattern]' expected" - -private def getNumExplicitCtorParams (ctorVal : ConstructorVal) : TermElabM Nat := - forallBoundedTelescope ctorVal.type ctorVal.numParams fun ps _ => do - let mut result := 0 - for p in ps do - let localDecl ← getLocalDecl p.fvarId! - if localDecl.binderInfo.isExplicit then - result := result+1 - pure result - -private def throwInvalidPattern {α} : M α := - throwError "invalid pattern" - -/- -An application in a pattern can be - -1- A constructor application - The elaborator assumes fields are accessible and inductive parameters are not accessible. - -2- A regular application `(f ...)` where `f` is tagged with `[matchPattern]`. - The elaborator assumes implicit arguments are not accessible and explicit ones are accessible. --/ - -structure Context where - funId : Syntax - ctorVal? : Option ConstructorVal -- It is `some`, if constructor application - explicit : Bool - ellipsis : Bool - paramDecls : Array (Name × BinderInfo) -- parameters names and binder information - paramDeclIdx : Nat := 0 - namedArgs : Array NamedArg - args : List Arg - newArgs : Array Syntax := #[] - deriving Inhabited - -private def isDone (ctx : Context) : Bool := - ctx.paramDeclIdx ≥ ctx.paramDecls.size - -private def finalize (ctx : Context) : M Syntax := do - if ctx.namedArgs.isEmpty && ctx.args.isEmpty then - let fStx ← `(@$(ctx.funId):ident) - return Syntax.mkApp fStx ctx.newArgs - else - throwError "too many arguments" - -private def isNextArgAccessible (ctx : Context) : Bool := - let i := ctx.paramDeclIdx - match ctx.ctorVal? with - | some ctorVal => i ≥ ctorVal.numParams -- For constructor applications only fields are accessible - | none => - if h : i < ctx.paramDecls.size then - -- For `[matchPattern]` applications, only explicit parameters are accessible. - let d := ctx.paramDecls.get ⟨i, h⟩ - d.2.isExplicit - else - false - -private def getNextParam (ctx : Context) : (Name × BinderInfo) × Context := - let i := ctx.paramDeclIdx - let d := ctx.paramDecls[i] - (d, { ctx with paramDeclIdx := ctx.paramDeclIdx + 1 }) - -private def processVar (idStx : Syntax) : M Syntax := do - unless idStx.isIdent do - throwErrorAt idStx "identifier expected" - let id := idStx.getId - unless id.eraseMacroScopes.isAtomic do - throwError "invalid pattern variable, must be atomic" - if (← get).found.contains id then - throwError "invalid pattern, variable '{id}' occurred more than once" - modify fun s => { s with vars := s.vars.push (PatternVar.localVar id), found := s.found.insert id } - return idStx - -private def nameToPattern : Name → TermElabM Syntax - | Name.anonymous => `(Name.anonymous) - | Name.str p s _ => do let p ← nameToPattern p; `(Name.str $p $(quote s) _) - | Name.num p n _ => do let p ← nameToPattern p; `(Name.num $p $(quote n) _) - -private def quotedNameToPattern (stx : Syntax) : TermElabM Syntax := - match stx[0].isNameLit? with - | some val => nameToPattern val - | none => throwIllFormedSyntax - -private def doubleQuotedNameToPattern (stx : Syntax) : TermElabM Syntax := do - match stx[1].isNameLit? with - | some val => nameToPattern (← resolveGlobalConstNoOverloadWithInfo stx[1] val) - | none => throwIllFormedSyntax - -partial def collect (stx : Syntax) : M Syntax := withRef stx <| withFreshMacroScope do - let k := stx.getKind - if k == identKind then - processId stx - else if k == ``Lean.Parser.Term.app then - processCtorApp stx - else if k == ``Lean.Parser.Term.anonymousCtor then - let elems ← stx[1].getArgs.mapSepElemsM collect - return stx.setArg 1 <| mkNullNode elems - else if k == ``Lean.Parser.Term.structInst then - /- - ``` - leading_parser "{" >> optional (atomic (termParser >> " with ")) - >> manyIndent (group (structInstField >> optional ", ")) - >> optional ".." - >> optional (" : " >> termParser) - >> " }" - ``` - -/ - let withMod := stx[1] - unless withMod.isNone do - throwErrorAt withMod "invalid struct instance pattern, 'with' is not allowed in patterns" - let fields ← stx[2].getArgs.mapM fun p => do - -- p is of the form (group (structInstField >> optional ", ")) - let field := p[0] - -- leading_parser structInstLVal >> " := " >> termParser - let newVal ← collect field[2] - let field := field.setArg 2 newVal - pure <| field.setArg 0 field - return stx.setArg 2 <| mkNullNode fields - else if k == ``Lean.Parser.Term.hole then - let r ← mkMVarSyntax - modify fun s => { s with vars := s.vars.push <| PatternVar.anonymousVar <| getMVarSyntaxMVarId r } - return r - else if k == ``Lean.Parser.Term.paren then - let arg := stx[1] - if arg.isNone then - return stx -- `()` - else - let t := arg[0] - let s := arg[1] - if s.isNone || s[0].getKind == ``Lean.Parser.Term.typeAscription then - -- Ignore `s`, since it empty or it is a type ascription - let t ← collect t - let arg := arg.setArg 0 t - return stx.setArg 1 arg - else - return stx - else if k == ``Lean.Parser.Term.explicitUniv then - processCtor stx[0] - else if k == ``Lean.Parser.Term.namedPattern then - /- Recall that - def namedPattern := check... >> trailing_parser "@" >> termParser -/ - let id := stx[0] - discard <| processVar id - let pat := stx[2] - let pat ← collect pat - `(_root_.namedPattern $id $pat) - else if k == ``Lean.Parser.Term.binop then - let lhs ← collect stx[2] - let rhs ← collect stx[3] - return stx.setArg 2 lhs |>.setArg 3 rhs - else if k == ``Lean.Parser.Term.inaccessible then - return stx - else if k == strLitKind then - return stx - else if k == numLitKind then - return stx - else if k == scientificLitKind then - return stx - else if k == charLitKind then - return stx - else if k == ``Lean.Parser.Term.quotedName then - /- Quoted names have an elaboration function associated with them, and they will not be macro expanded. - Note that macro expansion is not a good option since it produces a term using the smart constructors `Name.mkStr`, `Name.mkNum` - instead of the constructors `Name.str` and `Name.num` -/ - quotedNameToPattern stx - else if k == ``Lean.Parser.Term.doubleQuotedName then - /- Similar to previous case -/ - doubleQuotedNameToPattern stx - else if k == choiceKind then - throwError "invalid pattern, notation is ambiguous" - else - throwInvalidPattern - -where - - processCtorApp (stx : Syntax) : M Syntax := do - let (f, namedArgs, args, ellipsis) ← expandApp stx true - processCtorAppCore f namedArgs args ellipsis - - processCtor (stx : Syntax) : M Syntax := do - processCtorAppCore stx #[] #[] false - - /- Check whether `stx` is a pattern variable or constructor-like (i.e., constructor or constant tagged with `[matchPattern]` attribute) -/ - processId (stx : Syntax) : M Syntax := do - match (← resolveId? stx "pattern" (withInfo := true)) with - | none => processVar stx - | some f => match f with - | Expr.const fName _ _ => - match (← getEnv).find? fName with - | some (ConstantInfo.ctorInfo _) => processCtor stx - | some _ => - if hasMatchPatternAttribute (← getEnv) fName then - processCtor stx - else - processVar stx - | none => throwCtorExpected - | _ => processVar stx - - pushNewArg (accessible : Bool) (ctx : Context) (arg : Arg) : M Context := do - match arg with - | Arg.stx stx => - let stx ← if accessible then collect stx else pure stx - return { ctx with newArgs := ctx.newArgs.push stx } - | _ => unreachable! - - processExplicitArg (accessible : Bool) (ctx : Context) : M Context := do - match ctx.args with - | [] => - if ctx.ellipsis then - pushNewArg accessible ctx (Arg.stx (← `(_))) - else - throwError "explicit parameter is missing, unused named arguments {ctx.namedArgs.map fun narg => narg.name}" - | arg::args => - pushNewArg accessible { ctx with args := args } arg - - processImplicitArg (accessible : Bool) (ctx : Context) : M Context := do - if ctx.explicit then - processExplicitArg accessible ctx - else - pushNewArg accessible ctx (Arg.stx (← `(_))) - - processCtorAppContext (ctx : Context) : M Syntax := do - if isDone ctx then - finalize ctx - else - let accessible := isNextArgAccessible ctx - let (d, ctx) := getNextParam ctx - match ctx.namedArgs.findIdx? fun namedArg => namedArg.name == d.1 with - | some idx => - let arg := ctx.namedArgs[idx] - let ctx := { ctx with namedArgs := ctx.namedArgs.eraseIdx idx } - let ctx ← pushNewArg accessible ctx arg.val - processCtorAppContext ctx - | none => - let ctx ← match d.2 with - | BinderInfo.implicit => processImplicitArg accessible ctx - | BinderInfo.instImplicit => processImplicitArg accessible ctx - | _ => processExplicitArg accessible ctx - processCtorAppContext ctx - - processCtorAppCore (f : Syntax) (namedArgs : Array NamedArg) (args : Array Arg) (ellipsis : Bool) : M Syntax := do - let args := args.toList - let (fId, explicit) ← match f with - | `($fId:ident) => pure (fId, false) - | `(@$fId:ident) => pure (fId, true) - | _ => throwError "identifier expected" - let some (Expr.const fName _ _) ← resolveId? fId "pattern" (withInfo := true) | throwCtorExpected - let fInfo ← getConstInfo fName - let paramDecls ← forallTelescopeReducing fInfo.type fun xs _ => xs.mapM fun x => do - let d ← getFVarLocalDecl x - return (d.userName, d.binderInfo) - match fInfo with - | ConstantInfo.ctorInfo val => - processCtorAppContext - { funId := fId, explicit := explicit, ctorVal? := val, paramDecls := paramDecls, namedArgs := namedArgs, args := args, ellipsis := ellipsis } - | _ => - if hasMatchPatternAttribute (← getEnv) fName then - processCtorAppContext - { funId := fId, explicit := explicit, ctorVal? := none, paramDecls := paramDecls, namedArgs := namedArgs, args := args, ellipsis := ellipsis } - else - throwCtorExpected - -def main (alt : MatchAltView) : M MatchAltView := do - let patterns ← alt.patterns.mapM fun p => do - trace[Elab.match] "collecting variables at pattern: {p}" - collect p - return { alt with patterns := patterns } - -end CollectPatternVars - -private def collectPatternVars (alt : MatchAltView) : TermElabM (Array PatternVar × MatchAltView) := do - let (alt, s) ← (CollectPatternVars.main alt).run {} - return (s.vars, alt) - -/- Return the pattern variables in the given pattern. - Remark: this method is not used by the main `match` elaborator, but in the precheck hook and other macros (e.g., at `Do.lean`). -/ -def getPatternVars (patternStx : Syntax) : TermElabM (Array PatternVar) := do - let patternStx ← liftMacroM <| expandMacros patternStx - let (_, s) ← (CollectPatternVars.collect patternStx).run {} - return s.vars - -def getPatternsVars (patterns : Array Syntax) : TermElabM (Array PatternVar) := do - let collect : CollectPatternVars.M Unit := do - for pattern in patterns do - discard <| CollectPatternVars.collect (← liftMacroM <| expandMacros pattern) - let (_, s) ← collect.run {} - return s.vars - -def getPatternVarNames (pvars : Array PatternVar) : Array Name := - pvars.filterMap fun - | PatternVar.localVar x => some x - | _ => none - open Lean.Elab.Term.Quotation in @[builtinQuotPrecheck Lean.Parser.Term.match] def precheckMatch : Precheck | `(match $[$discrs:term],* with $[| $[$patss],* => $rhss]*) => do diff --git a/stage0/src/Lean/Elab/MatchAltView.lean b/stage0/src/Lean/Elab/MatchAltView.lean new file mode 100644 index 0000000000..40c47578c9 --- /dev/null +++ b/stage0/src/Lean/Elab/MatchAltView.lean @@ -0,0 +1,25 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Term + +namespace Lean.Elab.Term + +/- This modules assumes "match"-expressions use the following syntax. + +```lean +def matchDiscr := leading_parser optional (try (ident >> checkNoWsBefore "no space before ':'" >> ":")) >> termParser + +def «match» := leading_parser:leadPrec "match " >> sepBy1 matchDiscr ", " >> optType >> " with " >> matchAlts +``` +-/ + +structure MatchAltView where + ref : Syntax + patterns : Array Syntax + rhs : Syntax + deriving Inhabited + +end Lean.Elab.Term diff --git a/stage0/src/Lean/Elab/Mixfix.lean b/stage0/src/Lean/Elab/Mixfix.lean new file mode 100644 index 0000000000..d108cbb928 --- /dev/null +++ b/stage0/src/Lean/Elab/Mixfix.lean @@ -0,0 +1,35 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Attributes + +namespace Lean.Elab.Command + +@[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx => + withAttrKindGlobal stx fun stx => do + match stx with + | `(infixl $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalOptPrec prec) + 1 + `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs$[:$prec]? $op:strLit rhs:$prec1 => $f lhs rhs) + | `(infix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalOptPrec prec) + 1 + `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs:$prec1 => $f lhs rhs) + | `(infixr $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalOptPrec prec) + 1 + `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs $[: $prec]? => $f lhs rhs) + | `(prefix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op:strLit arg $[: $prec]? => $f arg) + | `(postfix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? arg$[:$prec]? $op:strLit => $f arg) + | _ => Macro.throwUnsupported +where + -- set "global" `attrKind`, apply `f`, and restore `attrKind` to result + withAttrKindGlobal stx f := do + let attrKind := stx[0] + let stx := stx.setArg 0 mkAttrKindGlobal + let stx ← f stx + return stx.setArg 0 attrKind + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/Notation.lean b/stage0/src/Lean/Elab/Notation.lean new file mode 100644 index 0000000000..9c56bb9904 --- /dev/null +++ b/stage0/src/Lean/Elab/Notation.lean @@ -0,0 +1,105 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Syntax + +namespace Lean.Elab.Command +open Lean.Syntax +open Lean.Parser.Term hiding macroArg +open Lean.Parser.Command + +/- Wrap all occurrences of the given `ident` nodes in antiquotations -/ +private partial def antiquote (vars : Array Syntax) : Syntax → Syntax + | stx => match stx with + | `($id:ident) => + if (vars.findIdx? (fun var => var.getId == id.getId)).isSome then + mkAntiquotNode id + else + stx + | _ => match stx with + | Syntax.node k args => Syntax.node k (args.map (antiquote vars)) + | stx => stx + +/- Convert `notation` command lhs item into a `syntax` command item -/ +def expandNotationItemIntoSyntaxItem (stx : Syntax) : MacroM Syntax := + let k := stx.getKind + if k == `Lean.Parser.Command.identPrec then + pure $ Syntax.node `Lean.Parser.Syntax.cat #[mkIdentFrom stx `term, stx[1]] + else if k == strLitKind then + pure $ Syntax.node `Lean.Parser.Syntax.atom #[stx] + else + Macro.throwUnsupported + +/- Convert `notation` command lhs item into a pattern element -/ +def expandNotationItemIntoPattern (stx : Syntax) : MacroM Syntax := + let k := stx.getKind + if k == `Lean.Parser.Command.identPrec then + mkAntiquotNode stx[0] + else if k == strLitKind then + strLitToPattern stx + else + Macro.throwUnsupported + +/-- Try to derive a `SimpleDelab` from a notation. + The notation must be of the form `notation ... => c var_1 ... var_n` + where `c` is a declaration in the current scope and the `var_i` are a permutation of the LHS vars. -/ +def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) : OptionT MacroM Syntax := do + match qrhs with + | `($c:ident $args*) => + let [(c, [])] ← Macro.resolveGlobalName c.getId | failure + guard <| args.all (Syntax.isIdent ∘ getAntiquotTerm) + guard <| args.allDiff + -- replace head constant with (unused) antiquotation so we're not dependent on the exact pretty printing of the head + let qrhs ← `($(mkAntiquotNode (← `(_))) $args*) + `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun + | `($qrhs) => `($pat) + | _ => throw ()) + | `($c:ident) => + let [(c, [])] ← Macro.resolveGlobalName c.getId | failure + `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun _ => `($pat)) + | _ => failure + +private def isLocalAttrKind (attrKind : Syntax) : Bool := + match attrKind with + | `(Parser.Term.attrKind| local) => true + | _ => false + +private def expandNotationAux (ref : Syntax) + (currNamespace : Name) (attrKind : Syntax) (prec? : Option Syntax) (name? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do + let prio ← evalOptPrio prio? + -- build parser + let syntaxParts ← items.mapM expandNotationItemIntoSyntaxItem + let cat := mkIdentFrom ref `term + let name ← + match name? with + | some name => pure name.getId + | none => mkNameFromParserSyntax `term (mkNullNode syntaxParts) + -- build macro rules + let vars := items.filter fun item => item.getKind == `Lean.Parser.Command.identPrec + let vars := vars.map fun var => var[0] + let qrhs := antiquote vars rhs + let patArgs ← items.mapM expandNotationItemIntoPattern + /- The command `syntax [] ...` adds the current namespace to the syntax node kind. + So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ + let fullName := currNamespace ++ name + let pat := Syntax.node fullName patArgs + let stxDecl ← `($attrKind:attrKind syntax $[: $prec?]? (name := $(mkIdent name)) (priority := $(quote prio):numLit) $[$syntaxParts]* : $cat) + let mut macroDecl ← `(macro_rules | `($pat) => ``($qrhs)) + if isLocalAttrKind attrKind then + -- Make sure the quotation pre-checker takes section variables into account for local notation. + macroDecl ← `(section set_option quotPrecheck.allowSectionVars true $macroDecl end) + match (← mkSimpleDelab attrKind vars pat qrhs |>.run) with + | some delabDecl => mkNullNode #[stxDecl, macroDecl, delabDecl] + | none => mkNullNode #[stxDecl, macroDecl] + +@[builtinMacro Lean.Parser.Command.notation] def expandNotation : Macro + | stx@`($attrKind:attrKind notation $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $items* => $rhs) => do + -- trigger scoped checks early and only once + let _ ← toAttributeKind attrKind + expandNotationAux stx (← Macro.getCurrNamespace) attrKind prec? name? prio? items rhs + | _ => Macro.throwUnsupported + + +end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/PatternVar.lean b/stage0/src/Lean/Elab/PatternVar.lean new file mode 100644 index 0000000000..555c1b8f13 --- /dev/null +++ b/stage0/src/Lean/Elab/PatternVar.lean @@ -0,0 +1,359 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Meta.Match.MatchPatternAttr +import Lean.Elab.Arg +import Lean.Elab.MatchAltView + +namespace Lean.Elab.Term + +open Meta + +inductive PatternVar where + | localVar (userName : Name) + -- anonymous variables (`_`) are encoded using metavariables + | anonymousVar (mvarId : MVarId) + +instance : ToString PatternVar := ⟨fun + | PatternVar.localVar x => toString x + | PatternVar.anonymousVar mvarId => s!"?m{mvarId}"⟩ + +/-- + Create an auxiliary Syntax node wrapping a fresh metavariable id. + We use this kind of Syntax for representing `_` occurring in patterns. + The metavariables are created before we elaborate the patterns into `Expr`s. -/ +private def mkMVarSyntax : TermElabM Syntax := do + let mvarId ← mkFreshId + return Syntax.node `MVarWithIdKind #[Syntax.node mvarId #[]] + +/-- Given a syntax node constructed using `mkMVarSyntax`, return its MVarId -/ +def getMVarSyntaxMVarId (stx : Syntax) : MVarId := + stx[0].getKind + +/- + Patterns define new local variables. + This module collect them and preprocess `_` occurring in patterns. + Recall that an `_` may represent anonymous variables or inaccessible terms + that are implied by typing constraints. Thus, we represent them with fresh named holes `?x`. + After we elaborate the pattern, if the metavariable remains unassigned, we transform it into + a regular pattern variable. Otherwise, it becomes an inaccessible term. + + Macros occurring in patterns are expanded before the `collectPatternVars` method is executed. + The following kinds of Syntax are handled by this module + - Constructor applications + - Applications of functions tagged with the `[matchPattern]` attribute + - Identifiers + - Anonymous constructors + - Structure instances + - Inaccessible terms + - Named patterns + - Tuple literals + - Type ascriptions + - Literals: num, string and char +-/ +namespace CollectPatternVars + +structure State where + found : NameSet := {} + vars : Array PatternVar := #[] + +abbrev M := StateRefT State TermElabM + +private def throwCtorExpected {α} : M α := + throwError "invalid pattern, constructor or constant marked with '[matchPattern]' expected" + +private def getNumExplicitCtorParams (ctorVal : ConstructorVal) : TermElabM Nat := + forallBoundedTelescope ctorVal.type ctorVal.numParams fun ps _ => do + let mut result := 0 + for p in ps do + let localDecl ← getLocalDecl p.fvarId! + if localDecl.binderInfo.isExplicit then + result := result+1 + pure result + +private def throwInvalidPattern {α} : M α := + throwError "invalid pattern" + +/- +An application in a pattern can be + +1- A constructor application + The elaborator assumes fields are accessible and inductive parameters are not accessible. + +2- A regular application `(f ...)` where `f` is tagged with `[matchPattern]`. + The elaborator assumes implicit arguments are not accessible and explicit ones are accessible. +-/ + +structure Context where + funId : Syntax + ctorVal? : Option ConstructorVal -- It is `some`, if constructor application + explicit : Bool + ellipsis : Bool + paramDecls : Array (Name × BinderInfo) -- parameters names and binder information + paramDeclIdx : Nat := 0 + namedArgs : Array NamedArg + args : List Arg + newArgs : Array Syntax := #[] + deriving Inhabited + +private def isDone (ctx : Context) : Bool := + ctx.paramDeclIdx ≥ ctx.paramDecls.size + +private def finalize (ctx : Context) : M Syntax := do + if ctx.namedArgs.isEmpty && ctx.args.isEmpty then + let fStx ← `(@$(ctx.funId):ident) + return Syntax.mkApp fStx ctx.newArgs + else + throwError "too many arguments" + +private def isNextArgAccessible (ctx : Context) : Bool := + let i := ctx.paramDeclIdx + match ctx.ctorVal? with + | some ctorVal => i ≥ ctorVal.numParams -- For constructor applications only fields are accessible + | none => + if h : i < ctx.paramDecls.size then + -- For `[matchPattern]` applications, only explicit parameters are accessible. + let d := ctx.paramDecls.get ⟨i, h⟩ + d.2.isExplicit + else + false + +private def getNextParam (ctx : Context) : (Name × BinderInfo) × Context := + let i := ctx.paramDeclIdx + let d := ctx.paramDecls[i] + (d, { ctx with paramDeclIdx := ctx.paramDeclIdx + 1 }) + +private def processVar (idStx : Syntax) : M Syntax := do + unless idStx.isIdent do + throwErrorAt idStx "identifier expected" + let id := idStx.getId + unless id.eraseMacroScopes.isAtomic do + throwError "invalid pattern variable, must be atomic" + if (← get).found.contains id then + throwError "invalid pattern, variable '{id}' occurred more than once" + modify fun s => { s with vars := s.vars.push (PatternVar.localVar id), found := s.found.insert id } + return idStx + +private def nameToPattern : Name → TermElabM Syntax + | Name.anonymous => `(Name.anonymous) + | Name.str p s _ => do let p ← nameToPattern p; `(Name.str $p $(quote s) _) + | Name.num p n _ => do let p ← nameToPattern p; `(Name.num $p $(quote n) _) + +private def quotedNameToPattern (stx : Syntax) : TermElabM Syntax := + match stx[0].isNameLit? with + | some val => nameToPattern val + | none => throwIllFormedSyntax + +private def doubleQuotedNameToPattern (stx : Syntax) : TermElabM Syntax := do + match stx[1].isNameLit? with + | some val => nameToPattern (← resolveGlobalConstNoOverloadWithInfo stx[1] val) + | none => throwIllFormedSyntax + +partial def collect (stx : Syntax) : M Syntax := withRef stx <| withFreshMacroScope do + let k := stx.getKind + if k == identKind then + processId stx + else if k == ``Lean.Parser.Term.app then + processCtorApp stx + else if k == ``Lean.Parser.Term.anonymousCtor then + let elems ← stx[1].getArgs.mapSepElemsM collect + return stx.setArg 1 <| mkNullNode elems + else if k == ``Lean.Parser.Term.structInst then + /- + ``` + leading_parser "{" >> optional (atomic (termParser >> " with ")) + >> manyIndent (group (structInstField >> optional ", ")) + >> optional ".." + >> optional (" : " >> termParser) + >> " }" + ``` + -/ + let withMod := stx[1] + unless withMod.isNone do + throwErrorAt withMod "invalid struct instance pattern, 'with' is not allowed in patterns" + let fields ← stx[2].getArgs.mapM fun p => do + -- p is of the form (group (structInstField >> optional ", ")) + let field := p[0] + -- leading_parser structInstLVal >> " := " >> termParser + let newVal ← collect field[2] + let field := field.setArg 2 newVal + pure <| field.setArg 0 field + return stx.setArg 2 <| mkNullNode fields + else if k == ``Lean.Parser.Term.hole then + let r ← mkMVarSyntax + modify fun s => { s with vars := s.vars.push <| PatternVar.anonymousVar <| getMVarSyntaxMVarId r } + return r + else if k == ``Lean.Parser.Term.paren then + let arg := stx[1] + if arg.isNone then + return stx -- `()` + else + let t := arg[0] + let s := arg[1] + if s.isNone || s[0].getKind == ``Lean.Parser.Term.typeAscription then + -- Ignore `s`, since it empty or it is a type ascription + let t ← collect t + let arg := arg.setArg 0 t + return stx.setArg 1 arg + else + return stx + else if k == ``Lean.Parser.Term.explicitUniv then + processCtor stx[0] + else if k == ``Lean.Parser.Term.namedPattern then + /- Recall that + def namedPattern := check... >> trailing_parser "@" >> termParser -/ + let id := stx[0] + discard <| processVar id + let pat := stx[2] + let pat ← collect pat + `(_root_.namedPattern $id $pat) + else if k == ``Lean.Parser.Term.binop then + let lhs ← collect stx[2] + let rhs ← collect stx[3] + return stx.setArg 2 lhs |>.setArg 3 rhs + else if k == ``Lean.Parser.Term.inaccessible then + return stx + else if k == strLitKind then + return stx + else if k == numLitKind then + return stx + else if k == scientificLitKind then + return stx + else if k == charLitKind then + return stx + else if k == ``Lean.Parser.Term.quotedName then + /- Quoted names have an elaboration function associated with them, and they will not be macro expanded. + Note that macro expansion is not a good option since it produces a term using the smart constructors `Name.mkStr`, `Name.mkNum` + instead of the constructors `Name.str` and `Name.num` -/ + quotedNameToPattern stx + else if k == ``Lean.Parser.Term.doubleQuotedName then + /- Similar to previous case -/ + doubleQuotedNameToPattern stx + else if k == choiceKind then + throwError "invalid pattern, notation is ambiguous" + else + throwInvalidPattern + +where + + processCtorApp (stx : Syntax) : M Syntax := do + let (f, namedArgs, args, ellipsis) ← expandApp stx true + processCtorAppCore f namedArgs args ellipsis + + processCtor (stx : Syntax) : M Syntax := do + processCtorAppCore stx #[] #[] false + + /- Check whether `stx` is a pattern variable or constructor-like (i.e., constructor or constant tagged with `[matchPattern]` attribute) -/ + processId (stx : Syntax) : M Syntax := do + match (← resolveId? stx "pattern" (withInfo := true)) with + | none => processVar stx + | some f => match f with + | Expr.const fName _ _ => + match (← getEnv).find? fName with + | some (ConstantInfo.ctorInfo _) => processCtor stx + | some _ => + if hasMatchPatternAttribute (← getEnv) fName then + processCtor stx + else + processVar stx + | none => throwCtorExpected + | _ => processVar stx + + pushNewArg (accessible : Bool) (ctx : Context) (arg : Arg) : M Context := do + match arg with + | Arg.stx stx => + let stx ← if accessible then collect stx else pure stx + return { ctx with newArgs := ctx.newArgs.push stx } + | _ => unreachable! + + processExplicitArg (accessible : Bool) (ctx : Context) : M Context := do + match ctx.args with + | [] => + if ctx.ellipsis then + pushNewArg accessible ctx (Arg.stx (← `(_))) + else + throwError "explicit parameter is missing, unused named arguments {ctx.namedArgs.map fun narg => narg.name}" + | arg::args => + pushNewArg accessible { ctx with args := args } arg + + processImplicitArg (accessible : Bool) (ctx : Context) : M Context := do + if ctx.explicit then + processExplicitArg accessible ctx + else + pushNewArg accessible ctx (Arg.stx (← `(_))) + + processCtorAppContext (ctx : Context) : M Syntax := do + if isDone ctx then + finalize ctx + else + let accessible := isNextArgAccessible ctx + let (d, ctx) := getNextParam ctx + match ctx.namedArgs.findIdx? fun namedArg => namedArg.name == d.1 with + | some idx => + let arg := ctx.namedArgs[idx] + let ctx := { ctx with namedArgs := ctx.namedArgs.eraseIdx idx } + let ctx ← pushNewArg accessible ctx arg.val + processCtorAppContext ctx + | none => + let ctx ← match d.2 with + | BinderInfo.implicit => processImplicitArg accessible ctx + | BinderInfo.instImplicit => processImplicitArg accessible ctx + | _ => processExplicitArg accessible ctx + processCtorAppContext ctx + + processCtorAppCore (f : Syntax) (namedArgs : Array NamedArg) (args : Array Arg) (ellipsis : Bool) : M Syntax := do + let args := args.toList + let (fId, explicit) ← match f with + | `($fId:ident) => pure (fId, false) + | `(@$fId:ident) => pure (fId, true) + | _ => throwError "identifier expected" + let some (Expr.const fName _ _) ← resolveId? fId "pattern" (withInfo := true) | throwCtorExpected + let fInfo ← getConstInfo fName + let paramDecls ← forallTelescopeReducing fInfo.type fun xs _ => xs.mapM fun x => do + let d ← getFVarLocalDecl x + return (d.userName, d.binderInfo) + match fInfo with + | ConstantInfo.ctorInfo val => + processCtorAppContext + { funId := fId, explicit := explicit, ctorVal? := val, paramDecls := paramDecls, namedArgs := namedArgs, args := args, ellipsis := ellipsis } + | _ => + if hasMatchPatternAttribute (← getEnv) fName then + processCtorAppContext + { funId := fId, explicit := explicit, ctorVal? := none, paramDecls := paramDecls, namedArgs := namedArgs, args := args, ellipsis := ellipsis } + else + throwCtorExpected + +def main (alt : MatchAltView) : M MatchAltView := do + let patterns ← alt.patterns.mapM fun p => do + trace[Elab.match] "collecting variables at pattern: {p}" + collect p + return { alt with patterns := patterns } + +end CollectPatternVars + +def collectPatternVars (alt : MatchAltView) : TermElabM (Array PatternVar × MatchAltView) := do + let (alt, s) ← (CollectPatternVars.main alt).run {} + return (s.vars, alt) + +/- Return the pattern variables in the given pattern. + Remark: this method is not used by the main `match` elaborator, but in the precheck hook and other macros (e.g., at `Do.lean`). -/ +def getPatternVars (patternStx : Syntax) : TermElabM (Array PatternVar) := do + let patternStx ← liftMacroM <| expandMacros patternStx + let (_, s) ← (CollectPatternVars.collect patternStx).run {} + return s.vars + +def getPatternsVars (patterns : Array Syntax) : TermElabM (Array PatternVar) := do + let collect : CollectPatternVars.M Unit := do + for pattern in patterns do + discard <| CollectPatternVars.collect (← liftMacroM <| expandMacros pattern) + let (_, s) ← collect.run {} + return s.vars + +def getPatternVarNames (pvars : Array PatternVar) : Array Name := + pvars.filterMap fun + | PatternVar.localVar x => some x + | _ => none + +end Lean.Elab.Term diff --git a/stage0/src/Lean/Elab/StructInst.lean b/stage0/src/Lean/Elab/StructInst.lean index 4d4280021a..d18bdd3519 100644 --- a/stage0/src/Lean/Elab/StructInst.lean +++ b/stage0/src/Lean/Elab/StructInst.lean @@ -324,7 +324,7 @@ def Struct.modifyFieldsM {m : Type → Type} [Monad m] (s : Struct) (f : Fields match s with | ⟨ref, structName, fields, source⟩ => return ⟨ref, structName, (← f fields), source⟩ -@[inline] def Struct.modifyFields (s : Struct) (f : Fields → Fields) : Struct := +def Struct.modifyFields (s : Struct) (f : Fields → Fields) : Struct := Id.run <| s.modifyFieldsM f def Struct.setFields (s : Struct) (fields : Fields) : Struct := @@ -422,7 +422,7 @@ private def mkSubstructSource (structName : Name) (fieldNames : Array Name) (fie return Source.explicit stx (mkProj structName idx src) | s => return s -@[specialize] private def groupFields (expandStruct : Struct → TermElabM Struct) (s : Struct) : TermElabM Struct := do +private def groupFields (expandStruct : Struct → TermElabM Struct) (s : Struct) : TermElabM Struct := do let env ← getEnv let fieldNames := getStructureFields env s.structName withRef s.ref do @@ -455,7 +455,7 @@ def findField? (fields : Fields) (fieldName : Name) : Option (Field Struct) := | [FieldLHS.fieldName _ n] => n == fieldName | _ => false -@[specialize] private def addMissingFields (expandStruct : Struct → TermElabM Struct) (s : Struct) : TermElabM Struct := do +private def addMissingFields (expandStruct : Struct → TermElabM Struct) (s : Struct) : TermElabM Struct := do let env ← getEnv let fieldNames := getStructureFields env s.structName let ref := s.ref diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index e491a6ec43..eafc98916d 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -326,36 +326,9 @@ def syntaxAbbrev := leading_parser "syntax " >> ident >> " := " >> many1 syntax let stx' ← `(def $declName : Lean.ParserDescr := ParserDescr.nodeWithAntiquot $(quote (toString declName.getId)) $(quote stxNodeKind) $val) withMacroExpansion stx stx' $ elabCommand stx' -private def checkRuleKind (given expected : SyntaxNodeKind) : Bool := +def checkRuleKind (given expected : SyntaxNodeKind) : Bool := given == expected || given == expected ++ `antiquot -/- - Remark: `k` is the user provided kind with the current namespace included. - Recall that syntax node kinds contain the current namespace. --/ -def elabMacroRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (alts : Array Syntax) : CommandElabM Syntax := do - let alts ← alts.mapM fun alt => match alt with - | `(matchAltExpr| | $pats,* => $rhs) => do - let pat := pats.elemsAndSeps[0] - if !pat.isQuot then - throwUnsupportedSyntax - let quoted := getQuotContent pat - let k' := quoted.getKind - if checkRuleKind k' k then - pure alt - else if k' == choiceKind then - match quoted.getArgs.find? fun quotAlt => checkRuleKind quotAlt.getKind k with - | none => throwErrorAt alt "invalid macro_rules alternative, expected syntax node kind '{k}'" - | some quoted => - let pat := pat.setArg 1 quoted - let pats := pats.elemsAndSeps.set! 0 pat - `(matchAltExpr| | $pats,* => $rhs) - else - throwErrorAt alt "invalid macro_rules alternative, unexpected syntax node kind '{k'}'" - | _ => throwUnsupportedSyntax - `($[$doc?:docComment]? @[$attrKind:attrKind macro $(Lean.mkIdent k)] def myMacro : Macro := - fun $alts:matchAlt* | _ => throw Lean.Macro.Exception.unsupportedSyntax) - def inferMacroRulesAltKind : Syntax → CommandElabM SyntaxNodeKind | `(matchAltExpr| | $pats,* => $rhs) => do let pat := pats.elemsAndSeps[0] @@ -368,7 +341,7 @@ def inferMacroRulesAltKind : Syntax → CommandElabM SyntaxNodeKind /-- Infer syntax kind `k` from first pattern, put alternatives of same kind into new `macro/elab_rules (kind := k)` via `mkCmd (some k)`, leave remaining alternatives (via `mkCmd none`) to be recursively expanded. -/ -private def expandNoKindMacroRulesAux (alts : Array Syntax) (cmdName : String) (mkCmd : Option Name → Array Syntax → CommandElabM Syntax) : CommandElabM Syntax := do +def expandNoKindMacroRulesAux (alts : Array Syntax) (cmdName : String) (mkCmd : Option Name → Array Syntax → CommandElabM Syntax) : CommandElabM Syntax := do let mut k ← inferMacroRulesAltKind alts[0] if k.isStr && k.getString! == "antiquot" then k := k.getPrefix @@ -383,286 +356,12 @@ private def expandNoKindMacroRulesAux (alts : Array Syntax) (cmdName : String) ( else mkNullNode #[← mkCmd k altsK, ← mkCmd none altsNotK] -@[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := - adaptExpander fun stx => match stx with - | `($[$doc?:docComment]? $attrKind:attrKind macro_rules $alts:matchAlt*) => - expandNoKindMacroRulesAux alts "macro_rules" fun kind? alts => - `($[$doc?:docComment]? $attrKind:attrKind macro_rules $[(kind := $(mkIdent <$> kind?))]? $alts:matchAlt*) - | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) => - `($[$doc?:docComment]? @[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs) - | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) => - do elabMacroRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) alts - | _ => throwUnsupportedSyntax - -@[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx => - withAttrKindGlobal stx fun stx => do - match stx with - | `(infixl $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs$[:$prec]? $op:strLit rhs:$prec1 => $f lhs rhs) - | `(infix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs:$prec1 => $f lhs rhs) - | `(infixr $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs $[: $prec]? => $f lhs rhs) - | `(prefix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op:strLit arg $[: $prec]? => $f arg) - | `(postfix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? arg$[:$prec]? $op:strLit => $f arg) - | _ => Macro.throwUnsupported -where - -- set "global" `attrKind`, apply `f`, and restore `attrKind` to result - withAttrKindGlobal stx f := do - let attrKind := stx[0] - let stx := stx.setArg 0 mkAttrKindGlobal - let stx ← f stx - return stx.setArg 0 attrKind - -/- Wrap all occurrences of the given `ident` nodes in antiquotations -/ -private partial def antiquote (vars : Array Syntax) : Syntax → Syntax - | stx => match stx with - | `($id:ident) => - if (vars.findIdx? (fun var => var.getId == id.getId)).isSome then - mkAntiquotNode id - else - stx - | _ => match stx with - | Syntax.node k args => Syntax.node k (args.map (antiquote vars)) - | stx => stx - -/- Convert `notation` command lhs item into a `syntax` command item -/ -def expandNotationItemIntoSyntaxItem (stx : Syntax) : MacroM Syntax := - let k := stx.getKind - if k == `Lean.Parser.Command.identPrec then - pure $ Syntax.node `Lean.Parser.Syntax.cat #[mkIdentFrom stx `term, stx[1]] - else if k == strLitKind then - pure $ Syntax.node `Lean.Parser.Syntax.atom #[stx] - else - Macro.throwUnsupported - def strLitToPattern (stx: Syntax) : MacroM Syntax := match stx.isStrLit? with | some str => pure $ mkAtomFrom stx str | none => Macro.throwUnsupported -/- Convert `notation` command lhs item into a pattern element -/ -def expandNotationItemIntoPattern (stx : Syntax) : MacroM Syntax := - let k := stx.getKind - if k == `Lean.Parser.Command.identPrec then - mkAntiquotNode stx[0] - else if k == strLitKind then - strLitToPattern stx - else - Macro.throwUnsupported - -/-- Try to derive a `SimpleDelab` from a notation. - The notation must be of the form `notation ... => c var_1 ... var_n` - where `c` is a declaration in the current scope and the `var_i` are a permutation of the LHS vars. -/ -def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) : OptionT MacroM Syntax := do - match qrhs with - | `($c:ident $args*) => - let [(c, [])] ← Macro.resolveGlobalName c.getId | failure - guard <| args.all (Syntax.isIdent ∘ getAntiquotTerm) - guard <| args.allDiff - -- replace head constant with (unused) antiquotation so we're not dependent on the exact pretty printing of the head - let qrhs ← `($(mkAntiquotNode (← `(_))) $args*) - `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun - | `($qrhs) => `($pat) - | _ => throw ()) - | `($c:ident) => - let [(c, [])] ← Macro.resolveGlobalName c.getId | failure - `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun _ => `($pat)) - | _ => failure - -private def isLocalAttrKind (attrKind : Syntax) : Bool := - match attrKind with - | `(Parser.Term.attrKind| local) => true - | _ => false - -private def expandNotationAux (ref : Syntax) - (currNamespace : Name) (attrKind : Syntax) (prec? : Option Syntax) (name? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do - let prio ← evalOptPrio prio? - -- build parser - let syntaxParts ← items.mapM expandNotationItemIntoSyntaxItem - let cat := mkIdentFrom ref `term - let name ← - match name? with - | some name => pure name.getId - | none => mkNameFromParserSyntax `term (mkNullNode syntaxParts) - -- build macro rules - let vars := items.filter fun item => item.getKind == `Lean.Parser.Command.identPrec - let vars := vars.map fun var => var[0] - let qrhs := antiquote vars rhs - let patArgs ← items.mapM expandNotationItemIntoPattern - /- The command `syntax [] ...` adds the current namespace to the syntax node kind. - So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ - let fullName := currNamespace ++ name - let pat := Syntax.node fullName patArgs - let stxDecl ← `($attrKind:attrKind syntax $[: $prec?]? (name := $(mkIdent name)) (priority := $(quote prio):numLit) $[$syntaxParts]* : $cat) - let mut macroDecl ← `(macro_rules | `($pat) => ``($qrhs)) - if isLocalAttrKind attrKind then - -- Make sure the quotation pre-checker takes section variables into account for local notation. - macroDecl ← `(section set_option quotPrecheck.allowSectionVars true $macroDecl end) - match (← mkSimpleDelab attrKind vars pat qrhs |>.run) with - | some delabDecl => mkNullNode #[stxDecl, macroDecl, delabDecl] - | none => mkNullNode #[stxDecl, macroDecl] - -@[builtinMacro Lean.Parser.Command.notation] def expandNotation : Macro - | stx@`($attrKind:attrKind notation $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $items* => $rhs) => do - -- trigger scoped checks early and only once - let _ ← toAttributeKind attrKind - expandNotationAux stx (← Macro.getCurrNamespace) attrKind prec? name? prio? items rhs - | _ => Macro.throwUnsupported - -/- Convert `macro` argument into a `syntax` command item -/ -def expandMacroArgIntoSyntaxItem : Macro - | `(macroArg|$id:ident:$stx) => stx - -- can't match against `$s:strLit%$id` because the latter part would be interpreted as an antiquotation on the token - -- `strLit`. - | `(macroArg|$s:macroArgSymbol) => `(stx|$(s[0]):strLit) - | _ => Macro.throwUnsupported - -/- Convert `macro` arg into a pattern element -/ -def expandMacroArgIntoPattern (stx : Syntax) : MacroM Syntax := do - match (← expandMacros stx) with - | `(macroArg|$id:ident:optional($stx)) => - mkSplicePat `optional id "?" - | `(macroArg|$id:ident:many($stx)) => - mkSplicePat `many id "*" - | `(macroArg|$id:ident:many1($stx)) => - mkSplicePat `many id "*" - | `(macroArg|$id:ident:sepBy($stx, $sep:strLit $[, $stxsep]? $[, allowTrailingSep]?)) => - mkSplicePat `sepBy id ((isStrLit? sep).get! ++ "*") - | `(macroArg|$id:ident:sepBy1($stx, $sep:strLit $[, $stxsep]? $[, allowTrailingSep]?)) => - mkSplicePat `sepBy id ((isStrLit? sep).get! ++ "*") - | `(macroArg|$id:ident:$stx) => mkAntiquotNode id - | `(macroArg|$s:strLit) => strLitToPattern s - -- `"tk"%id` ~> `"tk"%$id` - | `(macroArg|$s:macroArgSymbol) => mkNode `token_antiquot #[← strLitToPattern s[0], mkAtom "%", mkAtom "$", s[1][1]] - | _ => Macro.throwUnsupported - where mkSplicePat kind id suffix := - mkNullNode #[mkAntiquotSuffixSpliceNode kind (mkAntiquotNode id) suffix] - -@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro - | `($[$doc?:docComment]? $attrKind:attrKind - macro$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : - $cat => $rhs) => do - let prio ← evalOptPrio prio? - -- build parser - let stxPart ← expandMacroArgIntoSyntaxItem head - let stxParts ← args.mapM expandMacroArgIntoSyntaxItem - let stxParts := #[stxPart] ++ stxParts - -- name - let name ← match name? with - | some name => pure name.getId - | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - -- build macro rules - let patHead ← expandMacroArgIntoPattern head - let patArgs ← args.mapM expandMacroArgIntoPattern - /- The command `syntax [] ...` adds the current namespace to the syntax node kind. - So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ - let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) - let stxCmd ← `($[$doc?:docComment]? $attrKind:attrKind - syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat) - let macroRulesCmd ← - if rhs.getArgs.size == 1 then - -- `rhs` is a `term` - let rhs := rhs[0] - `($[$doc?:docComment]? macro_rules | `($pat) => $rhs) - else - -- `rhs` is of the form `` `( $body ) `` - let rhsBody := rhs[1] - `($[$doc?:docComment]? macro_rules | `($pat) => `($rhsBody)) - return mkNullNode #[stxCmd, macroRulesCmd] - | _ => Macro.throwUnsupported - builtin_initialize registerTraceClass `Elab.syntax -@[inline] def withExpectedType (expectedType? : Option Expr) (x : Expr → TermElabM Expr) : TermElabM Expr := do - Term.tryPostponeIfNoneOrMVar expectedType? - let some expectedType ← pure expectedType? - | throwError "expected type must be known" - x expectedType - -def elabElabRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (cat? expty? : Option Syntax) (alts : Array Syntax) : CommandElabM Syntax := do - let alts ← alts.mapM fun alt => match alt with - | `(matchAltExpr| | $pats,* => $rhs) => do - let pat := pats.elemsAndSeps[0] - if !pat.isQuot then - throwUnsupportedSyntax - let quoted := getQuotContent pat - let k' := quoted.getKind - if checkRuleKind k' k then - pure alt - else if k' == choiceKind then - match quoted.getArgs.find? fun quotAlt => checkRuleKind quotAlt.getKind k with - | none => throwErrorAt alt "invalid elab_rules alternative, expected syntax node kind '{k}'" - | some quoted => - let pat := pat.setArg 1 quoted - let pats := pats.elemsAndSeps.set! 0 pat - `(matchAltExpr| | $pats,* => $rhs) - else - throwErrorAt alt "invalid elab_rules alternative, unexpected syntax node kind '{k'}'" - | _ => throwUnsupportedSyntax - let catName ← match cat?, expty? with - | some cat, _ => cat.getId - | _, some _ => `term - -- TODO: infer category from quotation kind, possibly even kind of quoted syntax? - | _, _ => throwError "invalid elab_rules command, specify category using `elab_rules : ...`" - if let some expId := expty? then - if catName == `term then - `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := - fun stx expectedType? => Lean.Elab.Command.withExpectedType expectedType? fun $expId => match stx with - $alts:matchAlt* | _ => throwUnsupportedSyntax) - else - throwErrorAt expId "syntax category '{catName}' does not support expected type specification" - else if catName == `term then - `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := - fun stx _ => match stx with - $alts:matchAlt* | _ => throwUnsupportedSyntax) - else if catName == `command then - `($[$doc?:docComment]? @[commandElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Command.CommandElab := - fun $alts:matchAlt* | _ => throwUnsupportedSyntax) - else if catName == `tactic then - `($[$doc?:docComment]? @[tactic $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Tactic.Tactic := - fun $alts:matchAlt* | _ => throwUnsupportedSyntax) - else - -- We considered making the command extensible and support new user-defined categories. We think it is unnecessary. - -- If users want this feature, they add their own `elab_rules` macro that uses this one as a fallback. - throwError "unsupported syntax category '{catName}'" - -@[builtinCommandElab «elab_rules»] def elabElabRules : CommandElab := - adaptExpander fun stx => match stx with - | `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => - expandNoKindMacroRulesAux alts "elab_rules" fun kind? alts => - `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[(kind := $(mkIdent <$> kind?))]? $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) - | `($[$doc?:docComment]? $attrKind:attrKind elab_rules (kind := $kind) $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => - do elabElabRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) cat? expty? alts - | _ => throwUnsupportedSyntax - -@[builtinMacro Lean.Parser.Command.elab] -def expandElab : Macro - | `($[$doc?:docComment]? $attrKind:attrKind - elab$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : - $cat $[<= $expectedType?]? => $rhs) => do - let prio ← evalOptPrio prio? - let catName := cat.getId - -- build parser - let stxPart ← expandMacroArgIntoSyntaxItem head - let stxParts ← args.mapM expandMacroArgIntoSyntaxItem - let stxParts := #[stxPart] ++ stxParts - -- name - let name ← match name? with - | some name => pure name.getId - | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - -- build pattern for syntax `match` - let patHead ← expandMacroArgIntoPattern head - let patArgs ← args.mapM expandMacroArgIntoPattern - let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) - `($[$doc?:docComment]? $attrKind:attrKind syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat - $[$doc?:docComment]? elab_rules : $cat $[<= $expectedType?]? | `($pat) => $rhs) - | _ => Macro.throwUnsupported - end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/Tactic.lean b/stage0/src/Lean/Elab/Tactic.lean index ee1081c5a8..fb800b76a5 100644 --- a/stage0/src/Lean/Elab/Tactic.lean +++ b/stage0/src/Lean/Elab/Tactic.lean @@ -13,3 +13,4 @@ import Lean.Elab.Tactic.Match import Lean.Elab.Tactic.Rewrite import Lean.Elab.Tactic.Location import Lean.Elab.Tactic.Simp +import Lean.Elab.Tactic.BuiltinTactic diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index 967a0b0427..2fdd00d44b 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -341,9 +341,6 @@ def closeMainGoal (val : Expr) (checkUnassigned := true): TacticM Unit := do let gs ← tactic mvarId pure ((), gs) -@[builtinTactic Lean.Parser.Tactic.«done»] def evalDone : Tactic := fun _ => - done - def tryTactic? (tactic : TacticM α) : TacticM (Option α) := do try pure (some (← tactic)) @@ -378,156 +375,10 @@ def tagUntaggedGoals (parentTag : Name) (newSuffix : Name) (newGoals : List MVar idx := idx + 1 pure mctx -@[builtinTactic seq1] def evalSeq1 : Tactic := fun stx => do - let args := stx[0].getArgs - for i in [:args.size] do - if i % 2 == 0 then - evalTactic args[i] - else - saveTacticInfoForToken args[i] -- add `TacticInfo` node for `;` - -@[builtinTactic paren] def evalParen : Tactic := fun stx => - evalTactic stx[1] - -/- Evaluate `many (group (tactic >> optional ";")) -/ -private def evalManyTacticOptSemi (stx : Syntax) : TacticM Unit := do - stx.forArgsM fun seqElem => do - evalTactic seqElem[0] - saveTacticInfoForToken seqElem[1] -- add TacticInfo node for `;` - -@[builtinTactic tacticSeq1Indented] def evalTacticSeq1Indented : Tactic := fun stx => - evalManyTacticOptSemi stx[0] - -@[builtinTactic tacticSeqBracketed] def evalTacticSeqBracketed : Tactic := fun stx => do - let initInfo ← mkInitialTacticInfo stx[0] - withRef stx[2] <| closeUsingOrAdmit do - -- save state before/after entering focus on `{` - withInfoContext (pure ()) initInfo - evalManyTacticOptSemi stx[1] - -@[builtinTactic Parser.Tactic.focus] def evalFocus : Tactic := fun stx => do - let mkInfo ← mkInitialTacticInfo stx[0] - focus do - -- show focused state on `focus` - withInfoContext (pure ()) mkInfo - evalTactic stx[1] - -private def getOptRotation (stx : Syntax) : Nat := - if stx.isNone then 1 else stx[0].toNat - -@[builtinTactic Parser.Tactic.rotateLeft] def evalRotateLeft : Tactic := fun stx => do - let n := getOptRotation stx[1] - setGoals <| (← getGoals).rotateLeft n - -@[builtinTactic Parser.Tactic.rotateRight] def evalRotateRight : Tactic := fun stx => do - let n := getOptRotation stx[1] - setGoals <| (← getGoals).rotateRight n - -@[builtinTactic Parser.Tactic.open] def evalOpen : Tactic := fun stx => do - try - pushScope - let openDecls ← elabOpenDecl stx[1] - withTheReader Core.Context (fun ctx => { ctx with openDecls := openDecls }) do - evalTactic stx[3] - finally - popScope - -@[builtinTactic Parser.Tactic.set_option] def elabSetOption : Tactic := fun stx => do - let options ← Elab.elabSetOption stx[1] stx[2] - withTheReader Core.Context (fun ctx => { ctx with maxRecDepth := maxRecDepth.get options, options := options }) do - evalTactic stx[4] - -@[builtinTactic Parser.Tactic.allGoals] def evalAllGoals : Tactic := fun stx => do - let mvarIds ← getGoals - let mut mvarIdsNew := #[] - for mvarId in mvarIds do - unless (← isExprMVarAssigned mvarId) do - setGoals [mvarId] - try - evalTactic stx[1] - mvarIdsNew := mvarIdsNew ++ (← getUnsolvedGoals) - catch ex => - logException ex - mvarIdsNew := mvarIdsNew.push mvarId - setGoals mvarIdsNew.toList - -@[builtinTactic tacticSeq] def evalTacticSeq : Tactic := fun stx => - evalTactic stx[0] - -partial def evalChoiceAux (tactics : Array Syntax) (i : Nat) : TacticM Unit := - if h : i < tactics.size then - let tactic := tactics.get ⟨i, h⟩ - catchInternalId unsupportedSyntaxExceptionId - (evalTactic tactic) - (fun _ => evalChoiceAux tactics (i+1)) - else - throwUnsupportedSyntax - -@[builtinTactic choice] def evalChoice : Tactic := fun stx => - evalChoiceAux stx.getArgs 0 - -@[builtinTactic skip] def evalSkip : Tactic := fun stx => pure () - -@[builtinTactic unknown] def evalUnknown : Tactic := fun stx => do - addCompletionInfo <| CompletionInfo.tactic stx (← getGoals) - -@[builtinTactic failIfSuccess] def evalFailIfSuccess : Tactic := fun stx => do - let tactic := stx[1] - if (← try evalTactic tactic; pure true catch _ => pure false) then - throwError "tactic succeeded" - -@[builtinTactic traceState] def evalTraceState : Tactic := fun stx => do - let gs ← getUnsolvedGoals - logInfo (goalsToMessageData gs) - -@[builtinTactic Lean.Parser.Tactic.assumption] def evalAssumption : Tactic := fun stx => - liftMetaTactic fun mvarId => do Meta.assumption mvarId; pure [] - -@[builtinTactic Lean.Parser.Tactic.contradiction] def evalContradiction : Tactic := fun stx => - liftMetaTactic fun mvarId => do Meta.contradiction mvarId; pure [] - -@[builtinTactic Lean.Parser.Tactic.intro] def evalIntro : Tactic := fun stx => do - match stx with - | `(tactic| intro) => introStep `_ - | `(tactic| intro $h:ident) => introStep h.getId - | `(tactic| intro _) => introStep `_ - | `(tactic| intro $pat:term) => evalTactic (← `(tactic| intro h; match h with | $pat:term => ?_; try clear h)) - | `(tactic| intro $h:term $hs:term*) => evalTactic (← `(tactic| intro $h:term; intro $hs:term*)) - | _ => throwUnsupportedSyntax -where - introStep (n : Name) : TacticM Unit := - liftMetaTactic fun mvarId => do - let (_, mvarId) ← Meta.intro mvarId n - pure [mvarId] - -@[builtinTactic Lean.Parser.Tactic.introMatch] def evalIntroMatch : Tactic := fun stx => do - let matchAlts := stx[1] - let stxNew ← liftMacroM <| Term.expandMatchAltsIntoMatchTactic stx matchAlts - withMacroExpansion stx stxNew <| evalTactic stxNew - -private def getIntrosSize : Expr → Nat - | Expr.forallE _ _ b _ => getIntrosSize b + 1 - | Expr.letE _ _ _ b _ => getIntrosSize b + 1 - | Expr.mdata _ b _ => getIntrosSize b - | _ => 0 - /- Recall that `ident' := ident <|> Term.hole` -/ def getNameOfIdent' (id : Syntax) : Name := if id.isIdent then id.getId else `_ -@[builtinTactic «intros»] def evalIntros : Tactic := fun stx => - match stx with - | `(tactic| intros) => liftMetaTactic fun mvarId => do - let type ← Meta.getMVarType mvarId - let type ← instantiateMVars type - let n := getIntrosSize type - let (_, mvarId) ← Meta.introN mvarId n - pure [mvarId] - | `(tactic| intros $ids*) => liftMetaTactic fun mvarId => do - let (_, mvarId) ← Meta.introN mvarId ids.size (ids.map getNameOfIdent').toList - pure [mvarId] - | _ => throwUnsupportedSyntax - def getFVarId (id : Syntax) : TacticM FVarId := withRef id do let fvar? ← Term.isLocalIdent? id; match fvar? with @@ -537,56 +388,6 @@ def getFVarId (id : Syntax) : TacticM FVarId := withRef id do def getFVarIds (ids : Array Syntax) : TacticM (Array FVarId) := do withMainContext do ids.mapM getFVarId -@[builtinTactic Lean.Parser.Tactic.revert] def evalRevert : Tactic := fun stx => - match stx with - | `(tactic| revert $hs*) => do - let (_, mvarId) ← Meta.revert (← getMainGoal) (← getFVarIds hs) - replaceMainGoal [mvarId] - | _ => throwUnsupportedSyntax - -/- Sort free variables using an order `x < y` iff `x` was defined after `y` -/ -private def sortFVarIds (fvarIds : Array FVarId) : TacticM (Array FVarId) := - withMainContext do - let lctx ← getLCtx - return fvarIds.qsort fun fvarId₁ fvarId₂ => - match lctx.find? fvarId₁, lctx.find? fvarId₂ with - | some d₁, some d₂ => d₁.index > d₂.index - | some _, none => false - | none, some _ => true - | none, none => Name.quickLt fvarId₁ fvarId₂ - -@[builtinTactic Lean.Parser.Tactic.clear] def evalClear : Tactic := fun stx => - match stx with - | `(tactic| clear $hs*) => do - let fvarIds ← getFVarIds hs - let fvarIds ← sortFVarIds fvarIds - for fvarId in fvarIds do - withMainContext do - let mvarId ← clear (← getMainGoal) fvarId - replaceMainGoal [mvarId] - | _ => throwUnsupportedSyntax - -def forEachVar (hs : Array Syntax) (tac : MVarId → FVarId → MetaM MVarId) : TacticM Unit := do - for h in hs do - withMainContext do - let fvarId ← getFVarId h - let mvarId ← tac (← getMainGoal) (← getFVarId h) - replaceMainGoal [mvarId] - -@[builtinTactic Lean.Parser.Tactic.subst] def evalSubst : Tactic := fun stx => - match stx with - | `(tactic| subst $hs*) => forEachVar hs Meta.subst - | _ => throwUnsupportedSyntax - -/-- - First method searches for a metavariable `g` s.t. `tag` is a suffix of its name. - If none is found, then it searches for a metavariable `g` s.t. `tag` is a prefix of its name. -/ -private def findTag? (mvarIds : List MVarId) (tag : Name) : TacticM (Option MVarId) := do - let mvarId? ← mvarIds.findM? fun mvarId => return tag.isSuffixOf (← getMVarDecl mvarId).userName - match mvarId? with - | some mvarId => return mvarId - | none => mvarIds.findM? fun mvarId => return tag.isPrefixOf (← getMVarDecl mvarId).userName - /-- Use position of `=> $body` for error messages. If there is a line break before `body`, the message will be displayed on `=>` only, @@ -594,59 +395,6 @@ private def findTag? (mvarIds : List MVarId) (tag : Name) : TacticM (Option MVar def withCaseRef [Monad m] [MonadRef m] (arrow body : Syntax) (x : m α) : m α := withRef (mkNullNode #[arrow, body]) x -@[builtinTactic «case»] def evalCase : Tactic - | stx@`(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => do - let tag := tag.getId - let gs ← getUnsolvedGoals - let some g ← findTag? gs tag | throwError "tag not found" - let gs := gs.erase g - let mut g := g - unless hs.isEmpty do - let mvarDecl ← getMVarDecl g - let mut lctx := mvarDecl.lctx - let mut hs := hs - let n := lctx.numIndices - for i in [:n] do - let j := n - i - 1 - match lctx.getAt? j with - | none => pure () - | some localDecl => - if localDecl.userName.hasMacroScopes then - let h := hs.back - if h.isIdent then - let newName := h.getId - lctx := lctx.setUserName localDecl.fvarId newName - hs := hs.pop - if hs.isEmpty then - break - unless hs.isEmpty do - logError m!"too many variable names provided at 'case'" - let mvarNew ← mkFreshExprMVarAt lctx mvarDecl.localInstances mvarDecl.type MetavarKind.syntheticOpaque mvarDecl.userName - assignExprMVar g mvarNew - g := mvarNew.mvarId! - setGoals [g] - let savedTag ← getMVarTag g - setMVarTag g Name.anonymous - try - withCaseRef arr tac do - closeUsingOrAdmit (withTacticInfoContext stx (evalTactic tac)) - finally - setMVarTag g savedTag - done - setGoals gs - | _ => throwUnsupportedSyntax - -@[builtinTactic «first»] partial def evalFirst : Tactic := fun stx => do - let tacs := stx[1].getArgs - if tacs.isEmpty then throwUnsupportedSyntax - loop tacs 0 -where - loop (tacs : Array Syntax) (i : Nat) := - if i == tacs.size - 1 then - evalTactic tacs[i][1] - else - evalTactic tacs[i][1] <|> loop tacs (i+1) - builtin_initialize registerTraceClass `Elab.tactic end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean new file mode 100644 index 0000000000..ef2111354b --- /dev/null +++ b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean @@ -0,0 +1,263 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Elab.Tactic.Basic + +namespace Lean.Elab.Tactic +open Meta + +@[builtinTactic Lean.Parser.Tactic.«done»] def evalDone : Tactic := fun _ => + done + +@[builtinTactic seq1] def evalSeq1 : Tactic := fun stx => do + let args := stx[0].getArgs + for i in [:args.size] do + if i % 2 == 0 then + evalTactic args[i] + else + saveTacticInfoForToken args[i] -- add `TacticInfo` node for `;` + +@[builtinTactic paren] def evalParen : Tactic := fun stx => + evalTactic stx[1] + +/- Evaluate `many (group (tactic >> optional ";")) -/ +private def evalManyTacticOptSemi (stx : Syntax) : TacticM Unit := do + stx.forArgsM fun seqElem => do + evalTactic seqElem[0] + saveTacticInfoForToken seqElem[1] -- add TacticInfo node for `;` + +@[builtinTactic tacticSeq1Indented] def evalTacticSeq1Indented : Tactic := fun stx => + evalManyTacticOptSemi stx[0] + +@[builtinTactic tacticSeqBracketed] def evalTacticSeqBracketed : Tactic := fun stx => do + let initInfo ← mkInitialTacticInfo stx[0] + withRef stx[2] <| closeUsingOrAdmit do + -- save state before/after entering focus on `{` + withInfoContext (pure ()) initInfo + evalManyTacticOptSemi stx[1] + +@[builtinTactic Parser.Tactic.focus] def evalFocus : Tactic := fun stx => do + let mkInfo ← mkInitialTacticInfo stx[0] + focus do + -- show focused state on `focus` + withInfoContext (pure ()) mkInfo + evalTactic stx[1] + +private def getOptRotation (stx : Syntax) : Nat := + if stx.isNone then 1 else stx[0].toNat + +@[builtinTactic Parser.Tactic.rotateLeft] def evalRotateLeft : Tactic := fun stx => do + let n := getOptRotation stx[1] + setGoals <| (← getGoals).rotateLeft n + +@[builtinTactic Parser.Tactic.rotateRight] def evalRotateRight : Tactic := fun stx => do + let n := getOptRotation stx[1] + setGoals <| (← getGoals).rotateRight n + +@[builtinTactic Parser.Tactic.open] def evalOpen : Tactic := fun stx => do + try + pushScope + let openDecls ← elabOpenDecl stx[1] + withTheReader Core.Context (fun ctx => { ctx with openDecls := openDecls }) do + evalTactic stx[3] + finally + popScope + +@[builtinTactic Parser.Tactic.set_option] def elabSetOption : Tactic := fun stx => do + let options ← Elab.elabSetOption stx[1] stx[2] + withTheReader Core.Context (fun ctx => { ctx with maxRecDepth := maxRecDepth.get options, options := options }) do + evalTactic stx[4] + +@[builtinTactic Parser.Tactic.allGoals] def evalAllGoals : Tactic := fun stx => do + let mvarIds ← getGoals + let mut mvarIdsNew := #[] + for mvarId in mvarIds do + unless (← isExprMVarAssigned mvarId) do + setGoals [mvarId] + try + evalTactic stx[1] + mvarIdsNew := mvarIdsNew ++ (← getUnsolvedGoals) + catch ex => + logException ex + mvarIdsNew := mvarIdsNew.push mvarId + setGoals mvarIdsNew.toList + +@[builtinTactic tacticSeq] def evalTacticSeq : Tactic := fun stx => + evalTactic stx[0] + +partial def evalChoiceAux (tactics : Array Syntax) (i : Nat) : TacticM Unit := + if h : i < tactics.size then + let tactic := tactics.get ⟨i, h⟩ + catchInternalId unsupportedSyntaxExceptionId + (evalTactic tactic) + (fun _ => evalChoiceAux tactics (i+1)) + else + throwUnsupportedSyntax + +@[builtinTactic choice] def evalChoice : Tactic := fun stx => + evalChoiceAux stx.getArgs 0 + +@[builtinTactic skip] def evalSkip : Tactic := fun stx => pure () + +@[builtinTactic unknown] def evalUnknown : Tactic := fun stx => do + addCompletionInfo <| CompletionInfo.tactic stx (← getGoals) + +@[builtinTactic failIfSuccess] def evalFailIfSuccess : Tactic := fun stx => do + let tactic := stx[1] + if (← try evalTactic tactic; pure true catch _ => pure false) then + throwError "tactic succeeded" + +@[builtinTactic traceState] def evalTraceState : Tactic := fun stx => do + let gs ← getUnsolvedGoals + logInfo (goalsToMessageData gs) + +@[builtinTactic Lean.Parser.Tactic.assumption] def evalAssumption : Tactic := fun stx => + liftMetaTactic fun mvarId => do Meta.assumption mvarId; pure [] + +@[builtinTactic Lean.Parser.Tactic.contradiction] def evalContradiction : Tactic := fun stx => + liftMetaTactic fun mvarId => do Meta.contradiction mvarId; pure [] + +@[builtinTactic Lean.Parser.Tactic.intro] def evalIntro : Tactic := fun stx => do + match stx with + | `(tactic| intro) => introStep `_ + | `(tactic| intro $h:ident) => introStep h.getId + | `(tactic| intro _) => introStep `_ + | `(tactic| intro $pat:term) => evalTactic (← `(tactic| intro h; match h with | $pat:term => ?_; try clear h)) + | `(tactic| intro $h:term $hs:term*) => evalTactic (← `(tactic| intro $h:term; intro $hs:term*)) + | _ => throwUnsupportedSyntax +where + introStep (n : Name) : TacticM Unit := + liftMetaTactic fun mvarId => do + let (_, mvarId) ← Meta.intro mvarId n + pure [mvarId] + +@[builtinTactic Lean.Parser.Tactic.introMatch] def evalIntroMatch : Tactic := fun stx => do + let matchAlts := stx[1] + let stxNew ← liftMacroM <| Term.expandMatchAltsIntoMatchTactic stx matchAlts + withMacroExpansion stx stxNew <| evalTactic stxNew + +private def getIntrosSize : Expr → Nat + | Expr.forallE _ _ b _ => getIntrosSize b + 1 + | Expr.letE _ _ _ b _ => getIntrosSize b + 1 + | Expr.mdata _ b _ => getIntrosSize b + | _ => 0 + +@[builtinTactic «intros»] def evalIntros : Tactic := fun stx => + match stx with + | `(tactic| intros) => liftMetaTactic fun mvarId => do + let type ← Meta.getMVarType mvarId + let type ← instantiateMVars type + let n := getIntrosSize type + let (_, mvarId) ← Meta.introN mvarId n + pure [mvarId] + | `(tactic| intros $ids*) => liftMetaTactic fun mvarId => do + let (_, mvarId) ← Meta.introN mvarId ids.size (ids.map getNameOfIdent').toList + pure [mvarId] + | _ => throwUnsupportedSyntax + +@[builtinTactic Lean.Parser.Tactic.revert] def evalRevert : Tactic := fun stx => + match stx with + | `(tactic| revert $hs*) => do + let (_, mvarId) ← Meta.revert (← getMainGoal) (← getFVarIds hs) + replaceMainGoal [mvarId] + | _ => throwUnsupportedSyntax + +/- Sort free variables using an order `x < y` iff `x` was defined after `y` -/ +private def sortFVarIds (fvarIds : Array FVarId) : TacticM (Array FVarId) := + withMainContext do + let lctx ← getLCtx + return fvarIds.qsort fun fvarId₁ fvarId₂ => + match lctx.find? fvarId₁, lctx.find? fvarId₂ with + | some d₁, some d₂ => d₁.index > d₂.index + | some _, none => false + | none, some _ => true + | none, none => Name.quickLt fvarId₁ fvarId₂ + +@[builtinTactic Lean.Parser.Tactic.clear] def evalClear : Tactic := fun stx => + match stx with + | `(tactic| clear $hs*) => do + let fvarIds ← getFVarIds hs + let fvarIds ← sortFVarIds fvarIds + for fvarId in fvarIds do + withMainContext do + let mvarId ← clear (← getMainGoal) fvarId + replaceMainGoal [mvarId] + | _ => throwUnsupportedSyntax + +def forEachVar (hs : Array Syntax) (tac : MVarId → FVarId → MetaM MVarId) : TacticM Unit := do + for h in hs do + withMainContext do + let fvarId ← getFVarId h + let mvarId ← tac (← getMainGoal) (← getFVarId h) + replaceMainGoal [mvarId] + +@[builtinTactic Lean.Parser.Tactic.subst] def evalSubst : Tactic := fun stx => + match stx with + | `(tactic| subst $hs*) => forEachVar hs Meta.subst + | _ => throwUnsupportedSyntax + +/-- + First method searches for a metavariable `g` s.t. `tag` is a suffix of its name. + If none is found, then it searches for a metavariable `g` s.t. `tag` is a prefix of its name. -/ +private def findTag? (mvarIds : List MVarId) (tag : Name) : TacticM (Option MVarId) := do + let mvarId? ← mvarIds.findM? fun mvarId => return tag.isSuffixOf (← getMVarDecl mvarId).userName + match mvarId? with + | some mvarId => return mvarId + | none => mvarIds.findM? fun mvarId => return tag.isPrefixOf (← getMVarDecl mvarId).userName + +@[builtinTactic «case»] def evalCase : Tactic + | stx@`(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => do + let tag := tag.getId + let gs ← getUnsolvedGoals + let some g ← findTag? gs tag | throwError "tag not found" + let gs := gs.erase g + let mut g := g + unless hs.isEmpty do + let mvarDecl ← getMVarDecl g + let mut lctx := mvarDecl.lctx + let mut hs := hs + let n := lctx.numIndices + for i in [:n] do + let j := n - i - 1 + match lctx.getAt? j with + | none => pure () + | some localDecl => + if localDecl.userName.hasMacroScopes then + let h := hs.back + if h.isIdent then + let newName := h.getId + lctx := lctx.setUserName localDecl.fvarId newName + hs := hs.pop + if hs.isEmpty then + break + unless hs.isEmpty do + logError m!"too many variable names provided at 'case'" + let mvarNew ← mkFreshExprMVarAt lctx mvarDecl.localInstances mvarDecl.type MetavarKind.syntheticOpaque mvarDecl.userName + assignExprMVar g mvarNew + g := mvarNew.mvarId! + setGoals [g] + let savedTag ← getMVarTag g + setMVarTag g Name.anonymous + try + withCaseRef arr tac do + closeUsingOrAdmit (withTacticInfoContext stx (evalTactic tac)) + finally + setMVarTag g savedTag + done + setGoals gs + | _ => throwUnsupportedSyntax + +@[builtinTactic «first»] partial def evalFirst : Tactic := fun stx => do + let tacs := stx[1].getArgs + if tacs.isEmpty then throwUnsupportedSyntax + loop tacs 0 +where + loop (tacs : Array Syntax) (i : Nat) := + if i == tacs.size - 1 then + evalTactic tacs[i][1] + else + evalTactic tacs[i][1] <|> loop tacs (i+1) + +end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Elab/Tactic/Simp.lean b/stage0/src/Lean/Elab/Tactic/Simp.lean index e416fc920b..879c1877f8 100644 --- a/stage0/src/Lean/Elab/Tactic/Simp.lean +++ b/stage0/src/Lean/Elab/Tactic/Simp.lean @@ -50,7 +50,7 @@ private def addDeclToUnfoldOrLemma (lemmas : Meta.SimpLemmas) (e : Expr) (post : lemmas.add #[] e post private def addSimpLemma (lemmas : Meta.SimpLemmas) (stx : Syntax) (post : Bool) : TermElabM Meta.SimpLemmas := do - let (levelParams, proof) ← Term.withoutModifyingElabMetaState <| withRef stx <| Term.withoutErrToSorry do + let (levelParams, proof) ← Term.withoutModifyingElabMetaStateWithInfo <| withRef stx <| Term.withoutErrToSorry do let e ← Term.elabTerm stx none Term.synthesizeSyntheticMVars (mayPostpone := false) (ignoreStuckTC := true) let e ← instantiateMVars e diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 0d41b3974a..744f7e42b6 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -230,7 +230,7 @@ def getMessageLog : TermElabM MessageLog := We use `observing` to implement overloaded notation and decls. We want to save `Info` nodes for the chosen alternative. -/ -@[inline] def observing (x : TermElabM α) : TermElabM (TermElabResult α) := do +def observing (x : TermElabM α) : TermElabM (TermElabResult α) := do let s ← saveState try let e ← x @@ -250,7 +250,7 @@ def getMessageLog : TermElabM MessageLog := /-- Apply the result/exception and state captured with `observing`. We use this method to implement overloaded notation and symbols. -/ -@[inline] def applyResult (result : TermElabResult α) : TermElabM α := +def applyResult (result : TermElabResult α) : TermElabM α := match result with | EStateM.Result.ok a r => do r.restore (restoreInfo := true); pure a | EStateM.Result.error ex r => do r.restore (restoreInfo := true); throw ex @@ -264,20 +264,6 @@ def commitIfDidNotPostpone (x : TermElabM α) : TermElabM α := do let r ← observing x applyResult r -/-- - Execute `x` but discard changes performed at `Term.State` and `Meta.State`. - Recall that the environment is at `Core.State`. Thus, any updates to it will - be preserved. This method is useful for performing computations where all - metavariable must be resolved or discarded. -/ -def withoutModifyingElabMetaState (x : TermElabM α) : TermElabM α := do - let s ← get - let sMeta ← getThe Meta.State - try - x - finally - set s - set sMeta - def getLevelNames : TermElabM (List Name) := return (← get).levelNames @@ -306,7 +292,7 @@ instance : MonadLog TermElabM where protected def getCurrMacroScope : TermElabM MacroScope := do pure (← read).currMacroScope protected def getMainModule : TermElabM Name := do pure (← getEnv).mainModule -@[inline] protected def withFreshMacroScope (x : TermElabM α) : TermElabM α := do +protected def withFreshMacroScope (x : TermElabM α) : TermElabM α := do let fresh ← modifyGetThe Core.State (fun st => (st.nextMacroScope, { st with nextMacroScope := st.nextMacroScope + 1 })) withReader (fun ctx => { ctx with currMacroScope := fresh }) x @@ -319,6 +305,22 @@ instance : MonadInfoTree TermElabM where getInfoState := return (← get).infoState modifyInfoState f := modify fun s => { s with infoState := f s.infoState } +/-- + Execute `x` but discard changes performed at `Term.State` and `Meta.State`. + Recall that the environment is at `Core.State`. Thus, any updates to it will + be preserved. This method is useful for performing computations where all + metavariable must be resolved or discarded. + The info trees are not discarded, however, and wrapped in `InfoTree.Context` + to store their metavariable context. -/ +def withoutModifyingElabMetaStateWithInfo (x : TermElabM α) : TermElabM α := do + let s ← get + let sMeta ← getThe Meta.State + try + withSaveInfoContext x + finally + modify ({ s with infoState := ·.infoState }) + set sMeta + unsafe def mkTermElabAttributeUnsafe : IO (KeyedDeclsAttribute TermElab) := mkElabAttribute TermElab `Lean.Elab.Term.termElabAttribute `builtinTermElab `termElab `Lean.Parser.Term `Lean.Elab.Term.TermElab "term" @@ -380,8 +382,8 @@ def throwErrorIfErrors : TermElabM Unit := do if (← get).messages.hasErrors then throwError "Error(s)" -@[inline] def traceAtCmdPos (cls : Name) (msg : Unit → MessageData) : TermElabM Unit := -withRef Syntax.missing $ trace cls msg +def traceAtCmdPos (cls : Name) (msg : Unit → MessageData) : TermElabM Unit := + withRef Syntax.missing $ trace cls msg def ppGoal (mvarId : MVarId) : TermElabM Format := Meta.ppGoal mvarId @@ -401,7 +403,7 @@ def elabLevel (stx : Syntax) : TermElabM Level := liftLevelM $ Level.elabLevel stx /- Elaborate `x` with `stx` on the macro stack -/ -@[inline] def withMacroExpansion (beforeStx afterStx : Syntax) (x : TermElabM α) : TermElabM α := +def withMacroExpansion (beforeStx afterStx : Syntax) (x : TermElabM α) : TermElabM α := withMacroExpansionInfo beforeStx afterStx do withReader (fun ctx => { ctx with macroStack := { before := beforeStx, after := afterStx } :: ctx.macroStack }) x @@ -497,7 +499,7 @@ def ensureNoUnassignedMVars (decl : Declaration) : TermElabM Unit := do /- Execute `x` without allowing it to postpone elaboration tasks. That is, `tryPostpone` is a noop. -/ -@[inline] def withoutPostponing (x : TermElabM α) : TermElabM α := +def withoutPostponing (x : TermElabM α) : TermElabM α := withReader (fun ctx => { ctx with mayPostpone := false }) x /-- Creates syntax for `(` `:` `)` -/ @@ -585,7 +587,7 @@ def throwTypeMismatchError (header? : Option String) (expectedType : Expr) (eTyp | none => throwError "{← mkTypeMismatchError header? e eType expectedType}{extraMsg}" | some f => Meta.throwAppTypeMismatch f e extraMsg -@[inline] def withoutMacroStackAtErr (x : TermElabM α) : TermElabM α := +def withoutMacroStackAtErr (x : TermElabM α) : TermElabM α := withTheReader Core.Context (fun (ctx : Core.Context) => { ctx with options := pp.macroStack.set ctx.options false }) x /- Try to synthesize metavariable using type class resolution. @@ -911,7 +913,7 @@ def tryPostponeIfHasMVars (expectedType? : Option Expr) (msg : String) : TermEla throwError "{msg}, expected type contains metavariables{indentExpr expectedType}" pure expectedType -private def saveContext : TermElabM SavedContext := +def saveContext : TermElabM SavedContext := return { macroStack := (← read).macroStack declName? := (← read).declName? @@ -1300,113 +1302,6 @@ def isLetRecAuxMVar (mvarId : MVarId) : TermElabM Bool := do trace[Elab.letrec] "mvarId root: {mkMVar mvarId}" return (← get).letRecsToLift.any (·.mvarId == mvarId) -/- ======================================= - Builtin elaboration functions - ======================================= -/ - -@[builtinTermElab «prop»] def elabProp : TermElab := fun _ _ => - return mkSort levelZero - -private def elabOptLevel (stx : Syntax) : TermElabM Level := - if stx.isNone then - pure levelZero - else - elabLevel stx[0] - -@[builtinTermElab «sort»] def elabSort : TermElab := fun stx _ => - return mkSort (← elabOptLevel stx[1]) - -@[builtinTermElab «type»] def elabTypeStx : TermElab := fun stx _ => - return mkSort (mkLevelSucc (← elabOptLevel stx[1])) - -/- - the method `resolveName` adds a completion point for it using the given - expected type. Thus, we propagate the expected type if `stx[0]` is an identifier. - It doesn't "hurt" if the identifier can be resolved because the expected type is not used in this case. - Recall that if the name resolution fails a synthetic sorry is returned.-/ - -@[builtinTermElab «pipeCompletion»] def elabPipeCompletion : TermElab := fun stx expectedType? => do - let e ← elabTerm stx[0] none - unless e.isSorry do - addDotCompletionInfo stx e expectedType? - throwErrorAt stx[1] "invalid field notation, identifier or numeral expected" - -@[builtinTermElab «completion»] def elabCompletion : TermElab := fun stx expectedType? => do - /- `ident.` is ambiguous in Lean, we may try to be completing a declaration name or access a "field". -/ - if stx[0].isIdent then - /- If we can elaborate the identifier successfully, we assume it a dot-completion. Otherwise, we treat it as - identifier completion with a dangling `.`. - Recall that the server falls back to identifier completion when dot-completion fails. -/ - let s ← saveState - try - let e ← elabTerm stx[0] none - addDotCompletionInfo stx e expectedType? - catch _ => - s.restore - addCompletionInfo <| CompletionInfo.id stx stx[0].getId (danglingDot := true) (← getLCtx) expectedType? - throwErrorAt stx[1] "invalid field notation, identifier or numeral expected" - else - elabPipeCompletion stx expectedType? - -@[builtinTermElab «hole»] def elabHole : TermElab := fun stx expectedType? => do - let mvar ← mkFreshExprMVar expectedType? - registerMVarErrorHoleInfo mvar.mvarId! stx - pure mvar - -@[builtinTermElab «syntheticHole»] def elabSyntheticHole : TermElab := fun stx expectedType? => do - let arg := stx[1] - let userName := if arg.isIdent then arg.getId else Name.anonymous - let mkNewHole : Unit → TermElabM Expr := fun _ => do - let mvar ← mkFreshExprMVar expectedType? MetavarKind.syntheticOpaque userName - registerMVarErrorHoleInfo mvar.mvarId! stx - pure mvar - if userName.isAnonymous then - mkNewHole () - else - let mctx ← getMCtx - match mctx.findUserName? userName with - | none => mkNewHole () - | some mvarId => - let mvar := mkMVar mvarId - let mvarDecl ← getMVarDecl mvarId - let lctx ← getLCtx - if mvarDecl.lctx.isSubPrefixOf lctx then - pure mvar - else match mctx.getExprAssignment? mvarId with - | some val => - let val ← instantiateMVars val - if mctx.isWellFormed lctx val then - pure val - else - withLCtx mvarDecl.lctx mvarDecl.localInstances do - throwError "synthetic hole has already been defined and assigned to value incompatible with the current context{indentExpr val}" - | none => - if mctx.isDelayedAssigned mvarId then - -- We can try to improve this case if needed. - throwError "synthetic hole has already beend defined and delayed assigned with an incompatible local context" - else if lctx.isSubPrefixOf mvarDecl.lctx then - let mvarNew ← mkNewHole () - modifyMCtx fun mctx => mctx.assignExpr mvarId mvarNew - pure mvarNew - else - throwError "synthetic hole has already been defined with an incompatible local context" - -private def mkTacticMVar (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do - let mvar ← mkFreshExprMVar type MetavarKind.syntheticOpaque - let mvarId := mvar.mvarId! - let ref ← getRef - let declName? ← getDeclName? - registerSyntheticMVar ref mvarId <| SyntheticMVarKind.tactic tacticCode (← saveContext) - return mvar - -@[builtinTermElab byTactic] def elabByTactic : TermElab := fun stx expectedType? => - match expectedType? with - | some expectedType => mkTacticMVar expectedType stx - | none => throwError ("invalid 'by' tactic, expected type has not been provided") - -@[builtinTermElab noImplicitLambda] def elabNoImplicitLambda : TermElab := fun stx expectedType? => - elabTerm stx[1] (mkNoImplicitLambdaAnnotation <$> expectedType?) - def resolveLocalName (n : Name) : TermElabM (Option (Expr × List String)) := do let lctx ← getLCtx let view := extractMacroScopes n @@ -1524,104 +1419,18 @@ def resolveId? (stx : Syntax) (kind := "term") (withInfo := false) : TermElabM ( | _ => throwError "ambiguous {kind}, use fully qualified name, possible interpretations {fs}" | _ => throwError "identifier expected" -@[builtinTermElab cdot] def elabBadCDot : TermElab := fun stx _ => - throwError "invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)" - -@[builtinTermElab strLit] def elabStrLit : TermElab := fun stx _ => do - match stx.isStrLit? with - | some val => pure $ mkStrLit val - | none => throwIllFormedSyntax - -private def mkFreshTypeMVarFor (expectedType? : Option Expr) : TermElabM Expr := do - let typeMVar ← mkFreshTypeMVar MetavarKind.synthetic - match expectedType? with - | some expectedType => discard <| isDefEq expectedType typeMVar - | _ => pure () - return typeMVar - -@[builtinTermElab numLit] def elabNumLit : TermElab := fun stx expectedType? => do - let val ← match stx.isNatLit? with - | some val => pure val - | none => throwIllFormedSyntax - let typeMVar ← mkFreshTypeMVarFor expectedType? - let u ← getDecLevel typeMVar - let mvar ← mkInstMVar (mkApp2 (Lean.mkConst ``OfNat [u]) typeMVar (mkNatLit val)) - let r := mkApp3 (Lean.mkConst ``OfNat.ofNat [u]) typeMVar (mkNatLit val) mvar - registerMVarErrorImplicitArgInfo mvar.mvarId! stx r - return r - -@[builtinTermElab rawNatLit] def elabRawNatLit : TermElab := fun stx expectedType? => do - match stx[1].isNatLit? with - | some val => return mkNatLit val - | none => throwIllFormedSyntax - -@[builtinTermElab scientificLit] -def elabScientificLit : TermElab := fun stx expectedType? => do - match stx.isScientificLit? with - | none => throwIllFormedSyntax - | some (m, sign, e) => - let typeMVar ← mkFreshTypeMVarFor expectedType? - let u ← getDecLevel typeMVar - let mvar ← mkInstMVar (mkApp (Lean.mkConst ``OfScientific [u]) typeMVar) - return mkApp5 (Lean.mkConst ``OfScientific.ofScientific [u]) typeMVar mvar (mkNatLit m) (toExpr sign) (mkNatLit e) - -@[builtinTermElab charLit] def elabCharLit : TermElab := fun stx _ => do - match stx.isCharLit? with - | some val => return mkApp (Lean.mkConst ``Char.ofNat) (mkNatLit val.toNat) - | none => throwIllFormedSyntax - -@[builtinTermElab quotedName] def elabQuotedName : TermElab := fun stx _ => - match stx[0].isNameLit? with - | some val => pure $ toExpr val - | none => throwIllFormedSyntax - -@[builtinTermElab doubleQuotedName] def elabDoubleQuotedName : TermElab := fun stx _ => do - match stx[1].isNameLit? with - | some val => toExpr (← resolveGlobalConstNoOverloadWithInfo stx[1] val) - | none => throwIllFormedSyntax - -@[builtinTermElab typeOf] def elabTypeOf : TermElab := fun stx _ => do - inferType (← elabTerm stx[1] none) - -@[builtinTermElab ensureTypeOf] def elabEnsureTypeOf : TermElab := fun stx expectedType? => - match stx[2].isStrLit? with - | none => throwIllFormedSyntax - | some msg => do - let refTerm ← elabTerm stx[1] none - let refTermType ← inferType refTerm - elabTermEnsuringType stx[3] refTermType (errorMsgHeader? := msg) - -@[builtinTermElab ensureExpectedType] def elabEnsureExpectedType : TermElab := fun stx expectedType? => - match stx[1].isStrLit? with - | none => throwIllFormedSyntax - | some msg => elabTermEnsuringType stx[2] expectedType? (errorMsgHeader? := msg) - -@[builtinTermElab «open»] def elabOpen : TermElab := fun stx expectedType? => do - try - pushScope - let openDecls ← elabOpenDecl stx[1] - withTheReader Core.Context (fun ctx => { ctx with openDecls := openDecls }) do - elabTerm stx[3] expectedType? - finally - popScope - -@[builtinTermElab «set_option»] def elabSetOption : TermElab := fun stx expectedType? => do - let options ← Elab.elabSetOption stx[1] stx[2] - withTheReader Core.Context (fun ctx => { ctx with maxRecDepth := maxRecDepth.get options, options := options }) do - elabTerm stx[4] expectedType? - private def mkSomeContext : Context := { fileName := "" fileMap := arbitrary } -@[inline] def TermElabM.run (x : TermElabM α) (ctx : Context := mkSomeContext) (s : State := {}) : MetaM (α × State) := +def TermElabM.run (x : TermElabM α) (ctx : Context := mkSomeContext) (s : State := {}) : MetaM (α × State) := withConfig setElabConfig (x ctx |>.run s) @[inline] def TermElabM.run' (x : TermElabM α) (ctx : Context := mkSomeContext) (s : State := {}) : MetaM α := (·.1) <$> x.run ctx s -@[inline] def TermElabM.toIO (x : TermElabM α) +def TermElabM.toIO (x : TermElabM α) (ctxCore : Core.Context) (sCore : Core.State) (ctxMeta : Meta.Context) (sMeta : Meta.State) (ctx : Context) (s : State) : IO (α × Core.State × Meta.State × State) := do @@ -1669,7 +1478,7 @@ private def throwStuckAtUniverseCnstr : TermElabM Unit := do logErrorAt uniqueEntries[i].ref (← mkLevelStuckErrorMessage uniqueEntries[i]) throwErrorAt uniqueEntries[0].ref (← mkLevelStuckErrorMessage uniqueEntries[0]) -@[specialize] def withoutPostponingUniverseConstraints (x : TermElabM α) : TermElabM α := do +def withoutPostponingUniverseConstraints (x : TermElabM α) : TermElabM α := do let postponed ← getResetPostponed try let a ← x diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index b0a5aa23a0..9768897ecb 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -542,7 +542,7 @@ private def expandNatValuePattern (p : Problem) : Problem := do | _ => alt { p with alts := alts } -private def traceStep (msg : String) : StateRefT State MetaM Unit := +private def traceStep (msg : String) : StateRefT State MetaM Unit := do trace[Meta.Match.match] "{msg} step" private def traceState (p : Problem) : MetaM Unit := diff --git a/stage0/src/Lean/Meta/Tactic/Clear.lean b/stage0/src/Lean/Meta/Tactic/Clear.lean index 64fc706db3..079bae90ac 100644 --- a/stage0/src/Lean/Meta/Tactic/Clear.lean +++ b/stage0/src/Lean/Meta/Tactic/Clear.lean @@ -21,7 +21,7 @@ def clear (mvarId : MVarId) (fvarId : FVarId) : MetaM MVarId := throwTacticEx `clear mvarId m!"variable '{localDecl.toExpr}' depends on '{mkFVar fvarId}'" let mvarDecl ← getMVarDecl mvarId if mctx.exprDependsOn mvarDecl.type fvarId then - throwTacticEx `clear mvarId m!"taget depends on '{mkFVar fvarId}'" + throwTacticEx `clear mvarId m!"target depends on '{mkFVar fvarId}'" let lctx := lctx.erase fvarId let localInsts ← getLocalInstances let localInsts := match localInsts.findIdx? $ fun localInst => localInst.fvar.fvarId! == fvarId with diff --git a/stage0/src/Lean/Server/FileWorker.lean b/stage0/src/Lean/Server/FileWorker.lean index d44845d5fa..6010e8f49f 100644 --- a/stage0/src/Lean/Server/FileWorker.lean +++ b/stage0/src/Lean/Server/FileWorker.lean @@ -355,7 +355,12 @@ def workerMain : IO UInt32 := do let o ← IO.getStdout let e ← IO.getStderr try - initAndRunWorker i o e + let exitCode ← initAndRunWorker i o e + -- HACK: all `Task`s are currently "foreground", i.e. we join on them on main thread exit, but we definitely don't + -- want to do that in the case of the worker processes, which can produce non-terminating tasks evaluating user code + o.flush + e.flush + IO.Process.exit exitCode.toUInt8 catch err => e.putStrLn s!"worker initialization error: {err}" return (1 : UInt32) diff --git a/stage0/src/Lean/Server/InfoUtils.lean b/stage0/src/Lean/Server/InfoUtils.lean index 136e9f6167..26d9770a60 100644 --- a/stage0/src/Lean/Server/InfoUtils.lean +++ b/stage0/src/Lean/Server/InfoUtils.lean @@ -131,8 +131,10 @@ partial def InfoTree.hoverableInfoAt? (t : InfoTree) (hoverPos : String.Pos) : O def Info.fmtHover? (ci : ContextInfo) (i : Info) : IO (Option Format) := do ci.runMetaM i.lctx do let mut fmts := #[] - if let some f ← fmtTerm? then - fmts := fmts.push f + try + if let some f ← fmtTerm? then + fmts := fmts.push f + catch _ => pure () if let some f ← fmtDoc? then fmts := fmts.push f if fmts.isEmpty then diff --git a/stage0/src/Lean/Server/Snapshots.lean b/stage0/src/Lean/Server/Snapshots.lean index 72aeb48605..208f650721 100644 --- a/stage0/src/Lean/Server/Snapshots.lean +++ b/stage0/src/Lean/Server/Snapshots.lean @@ -104,7 +104,7 @@ def compileNextCmd (contents : String) (snap : Snapshot) : IO (Sum Snapshot Mess let (output, _) ← IO.FS.withIsolatedStreams do EIO.toIO ioErrorFromEmpty do Elab.Command.catchExceptions - (Elab.Command.elabCommand cmdStx) + (Elab.Command.elabCommandTopLevel cmdStx) cmdCtx cmdStateRef let mut postCmdState ← cmdStateRef.get if !output.isEmpty then diff --git a/stage0/src/Lean/Syntax.lean b/stage0/src/Lean/Syntax.lean index 0963bb4c44..e98e1088bc 100644 --- a/stage0/src/Lean/Syntax.lean +++ b/stage0/src/Lean/Syntax.lean @@ -215,7 +215,7 @@ partial def reprint (stx : Syntax) : Option String := -- given that choice nodes are quite rare and small let s0 ← reprint args[0] for arg in args[1:] do - let s' ← reprint stx + let s' ← reprint arg guard (s0 == s') | _ => pure () return s diff --git a/stage0/src/Lean/Util/Trace.lean b/stage0/src/Lean/Util/Trace.lean index d70fabcdf6..96e97f9d62 100644 --- a/stage0/src/Lean/Util/Trace.lean +++ b/stage0/src/Lean/Util/Trace.lean @@ -135,15 +135,12 @@ end def registerTraceClass (traceClassName : Name) : IO Unit := registerOption (`trace ++ traceClassName) { group := "trace", defValue := false, descr := "enable/disable tracing for the given module and submodules" } -syntax "trace[" ident "]" (interpolatedStr(term) <|> term) : term - -macro_rules - | `(trace[$id] $s) => - if s.getKind == interpolatedStrKind then - `(Lean.trace $(quote id.getId) fun _ => m! $s) - else - `(Lean.trace $(quote id.getId) fun _ => ($s : MessageData)) - +macro "trace[" id:ident "]" s:(interpolatedStr(term) <|> term) : doElem => do + let msg ← if s.getKind == interpolatedStrKind then `(m! $s) else `(($s : MessageData)) + `(doElem| do + let cls := $(quote id.getId) + if (← Lean.isTracingEnabledFor cls) then + Lean.addTrace cls $msg) private def withNestedTracesFinalizer [Monad m] [MonadTrace m] (ref : Syntax) (currTraces : PersistentArray TraceElem) : m Unit := do modifyTraces fun traces => diff --git a/stage0/src/include/lean/lean.h b/stage0/src/include/lean/lean.h index 172a7b0fa9..4dba84f89b 100644 --- a/stage0/src/include/lean/lean.h +++ b/stage0/src/include/lean/lean.h @@ -293,6 +293,9 @@ static inline lean_object * lean_box(size_t n) { return (lean_object*)(((size_t) static inline size_t lean_unbox(lean_object * o) { return (size_t)(o) >> 1; } void lean_set_exit_on_panic(bool flag); +/* Enable/disable panic messages */ +void lean_set_panic_messages(bool flag); + lean_object * lean_panic_fn(lean_object * default_val, lean_object * msg); __attribute__((noreturn)) void lean_internal_panic(char const * msg); diff --git a/stage0/src/runtime/io.cpp b/stage0/src/runtime/io.cpp index 8f8cecbe5e..f52884218d 100644 --- a/stage0/src/runtime/io.cpp +++ b/stage0/src/runtime/io.cpp @@ -837,8 +837,8 @@ extern "C" obj_res lean_io_wait_any(b_obj_arg task_list, obj_arg) { return io_result_mk_ok(v); } -extern "C" obj_res lean_io_exit(obj_arg obj, obj_arg /* w */) { - exit((size_t) obj); +extern "C" obj_res lean_io_exit(uint8_t code, obj_arg /* w */) { + exit(code); } void initialize_io() { diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index 598ddd0009..25c90c976e 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -42,14 +42,21 @@ extern "C" void lean_internal_panic_rc_overflow() { } bool g_exit_on_panic = false; +bool g_panic_messages = true; extern "C" void lean_set_exit_on_panic(bool flag) { g_exit_on_panic = flag; } +extern "C" void lean_set_panic_messages(bool flag) { + g_panic_messages = flag; +} + extern "C" object * lean_panic_fn(object * default_val, object * msg) { // TODO(Leo, Kha): add thread local buffer for interpreter. - std::cerr << lean_string_cstr(msg) << "\n"; + if (g_panic_messages) { + std::cerr << lean_string_cstr(msg) << "\n"; + } if (g_exit_on_panic) { std::exit(1); } diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 8ef9300367..8f5a58894c 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -4,5 +4,5 @@ add_library (Init STATIC Init.c Init/Classical.c Init/Coe.c Init/Control.c Init/ set_target_properties(Init PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") add_library (Std STATIC Std.c Std/Control.c Std/Control/Nondet.c Std/Data.c Std/Data/AssocList.c Std/Data/BinomialHeap.c Std/Data/DList.c Std/Data/HashMap.c Std/Data/HashSet.c Std/Data/PersistentArray.c Std/Data/PersistentHashMap.c Std/Data/PersistentHashSet.c Std/Data/Queue.c Std/Data/RBMap.c Std/Data/RBTree.c Std/Data/Stack.c Std/ShareCommon.c ) set_target_properties(Std PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") -add_library (Lean STATIC Lean.c Lean/Attributes.c Lean/AuxRecursor.c Lean/Class.c Lean/Compiler.c Lean/Compiler/BorrowedAnnotation.c Lean/Compiler/ClosedTermCache.c Lean/Compiler/ConstFolding.c Lean/Compiler/ExportAttr.c Lean/Compiler/ExternAttr.c Lean/Compiler/IR.c Lean/Compiler/IR/Basic.c Lean/Compiler/IR/Borrow.c Lean/Compiler/IR/Boxing.c Lean/Compiler/IR/Checker.c Lean/Compiler/IR/CompilerM.c Lean/Compiler/IR/CtorLayout.c Lean/Compiler/IR/ElimDeadBranches.c Lean/Compiler/IR/ElimDeadVars.c Lean/Compiler/IR/EmitC.c Lean/Compiler/IR/EmitUtil.c Lean/Compiler/IR/ExpandResetReuse.c Lean/Compiler/IR/Format.c Lean/Compiler/IR/FreeVars.c Lean/Compiler/IR/LiveVars.c Lean/Compiler/IR/NormIds.c Lean/Compiler/IR/PushProj.c Lean/Compiler/IR/RC.c Lean/Compiler/IR/ResetReuse.c Lean/Compiler/IR/SimpCase.c Lean/Compiler/IR/Sorry.c Lean/Compiler/IR/UnboxResult.c Lean/Compiler/ImplementedByAttr.c Lean/Compiler/InitAttr.c Lean/Compiler/InlineAttrs.c Lean/Compiler/NameMangling.c Lean/Compiler/NeverExtractAttr.c Lean/Compiler/Specialize.c Lean/Compiler/Util.c Lean/CoreM.c Lean/Data.c Lean/Data/Format.c Lean/Data/Json.c Lean/Data/Json/Basic.c Lean/Data/Json/FromToJson.c Lean/Data/Json/Parser.c Lean/Data/Json/Printer.c Lean/Data/Json/Stream.c Lean/Data/JsonRpc.c Lean/Data/KVMap.c Lean/Data/LBool.c Lean/Data/LOption.c Lean/Data/Lsp.c Lean/Data/Lsp/Basic.c Lean/Data/Lsp/Capabilities.c Lean/Data/Lsp/Communication.c Lean/Data/Lsp/Diagnostics.c Lean/Data/Lsp/Extra.c Lean/Data/Lsp/InitShutdown.c Lean/Data/Lsp/Ipc.c Lean/Data/Lsp/LanguageFeatures.c Lean/Data/Lsp/TextSync.c Lean/Data/Lsp/Utf16.c Lean/Data/Lsp/Workspace.c Lean/Data/Name.c Lean/Data/NameTrie.c Lean/Data/Occurrences.c Lean/Data/OpenDecl.c Lean/Data/Options.c Lean/Data/Position.c Lean/Data/PrefixTree.c Lean/Data/SMap.c Lean/Data/Trie.c Lean/Declaration.c Lean/DeclarationRange.c Lean/DocString.c Lean/Elab.c Lean/Elab/App.c Lean/Elab/Attributes.c Lean/Elab/AutoBound.c Lean/Elab/Binders.c Lean/Elab/BuiltinNotation.c Lean/Elab/Command.c Lean/Elab/DeclModifiers.c Lean/Elab/DeclUtil.c Lean/Elab/Declaration.c Lean/Elab/DeclarationRange.c Lean/Elab/DefView.c Lean/Elab/Deriving.c Lean/Elab/Deriving/BEq.c Lean/Elab/Deriving/Basic.c Lean/Elab/Deriving/DecEq.c Lean/Elab/Deriving/FromToJson.c Lean/Elab/Deriving/Hashable.c Lean/Elab/Deriving/Inhabited.c Lean/Elab/Deriving/Ord.c Lean/Elab/Deriving/Repr.c Lean/Elab/Deriving/SizeOf.c Lean/Elab/Deriving/Util.c Lean/Elab/Do.c Lean/Elab/Exception.c Lean/Elab/Extra.c Lean/Elab/Frontend.c Lean/Elab/GenInjective.c Lean/Elab/Import.c Lean/Elab/Inductive.c Lean/Elab/InfoTree.c Lean/Elab/LetRec.c Lean/Elab/Level.c Lean/Elab/Log.c Lean/Elab/Match.c Lean/Elab/MutualDef.c Lean/Elab/Open.c Lean/Elab/PreDefinition.c Lean/Elab/PreDefinition/Basic.c Lean/Elab/PreDefinition/Main.c Lean/Elab/PreDefinition/MkInhabitant.c Lean/Elab/PreDefinition/Structural.c Lean/Elab/PreDefinition/WF.c Lean/Elab/Print.c Lean/Elab/Quotation.c Lean/Elab/Quotation/Precheck.c Lean/Elab/Quotation/Util.c Lean/Elab/SetOption.c Lean/Elab/StructInst.c Lean/Elab/Structure.c Lean/Elab/Syntax.c Lean/Elab/SyntheticMVars.c Lean/Elab/Tactic.c Lean/Elab/Tactic/Basic.c Lean/Elab/Tactic/ElabTerm.c Lean/Elab/Tactic/Generalize.c Lean/Elab/Tactic/Induction.c Lean/Elab/Tactic/Injection.c Lean/Elab/Tactic/Location.c Lean/Elab/Tactic/Match.c Lean/Elab/Tactic/Rewrite.c Lean/Elab/Tactic/Simp.c Lean/Elab/Term.c Lean/Elab/Util.c Lean/Environment.c Lean/Eval.c Lean/Exception.c Lean/Expr.c Lean/HeadIndex.c Lean/Hygiene.c Lean/InternalExceptionId.c Lean/KeyedDeclsAttribute.c Lean/Level.c Lean/LocalContext.c Lean/Message.c Lean/Meta.c Lean/Meta/AbstractMVars.c Lean/Meta/AbstractNestedProofs.c Lean/Meta/AppBuilder.c Lean/Meta/Basic.c Lean/Meta/Check.c Lean/Meta/Closure.c Lean/Meta/Coe.c Lean/Meta/CollectFVars.c Lean/Meta/CollectMVars.c Lean/Meta/DiscrTree.c Lean/Meta/DiscrTreeTypes.c Lean/Meta/ExprDefEq.c Lean/Meta/ForEachExpr.c Lean/Meta/FunInfo.c Lean/Meta/GeneralizeTelescope.c Lean/Meta/GeneralizeVars.c Lean/Meta/GetConst.c Lean/Meta/IndPredBelow.c Lean/Meta/Inductive.c Lean/Meta/InferType.c Lean/Meta/Injective.c Lean/Meta/Instances.c Lean/Meta/KAbstract.c Lean/Meta/LevelDefEq.c Lean/Meta/Match.c Lean/Meta/Match/Basic.c Lean/Meta/Match/CaseArraySizes.c Lean/Meta/Match/CaseValues.c Lean/Meta/Match/MVarRenaming.c Lean/Meta/Match/Match.c Lean/Meta/Match/MatchPatternAttr.c Lean/Meta/Match/MatcherInfo.c Lean/Meta/MatchUtil.c Lean/Meta/Offset.c Lean/Meta/PPGoal.c Lean/Meta/RecursorInfo.c Lean/Meta/Reduce.c Lean/Meta/ReduceEval.c Lean/Meta/SizeOf.c Lean/Meta/SortLocalDecls.c Lean/Meta/SynthInstance.c Lean/Meta/Tactic.c Lean/Meta/Tactic/Apply.c Lean/Meta/Tactic/Assert.c Lean/Meta/Tactic/Assumption.c Lean/Meta/Tactic/AuxLemma.c Lean/Meta/Tactic/Cases.c Lean/Meta/Tactic/Clear.c Lean/Meta/Tactic/Constructor.c Lean/Meta/Tactic/Contradiction.c Lean/Meta/Tactic/Delta.c Lean/Meta/Tactic/ElimInfo.c Lean/Meta/Tactic/FVarSubst.c Lean/Meta/Tactic/Generalize.c Lean/Meta/Tactic/Induction.c Lean/Meta/Tactic/Injection.c Lean/Meta/Tactic/Intro.c Lean/Meta/Tactic/Replace.c Lean/Meta/Tactic/Revert.c Lean/Meta/Tactic/Rewrite.c Lean/Meta/Tactic/Simp.c Lean/Meta/Tactic/Simp/CongrLemmas.c Lean/Meta/Tactic/Simp/Main.c Lean/Meta/Tactic/Simp/Rewrite.c Lean/Meta/Tactic/Simp/SimpAll.c Lean/Meta/Tactic/Simp/SimpLemmas.c Lean/Meta/Tactic/Simp/Types.c Lean/Meta/Tactic/Subst.c Lean/Meta/Tactic/Util.c Lean/Meta/Transform.c Lean/Meta/TransparencyMode.c Lean/Meta/UnificationHint.c Lean/Meta/WHNF.c Lean/MetavarContext.c Lean/Modifiers.c Lean/MonadEnv.c Lean/Parser.c Lean/Parser/Attr.c Lean/Parser/Basic.c Lean/Parser/Command.c Lean/Parser/Do.c Lean/Parser/Extension.c Lean/Parser/Extra.c Lean/Parser/Level.c Lean/Parser/Module.c Lean/Parser/StrInterpolation.c Lean/Parser/Syntax.c Lean/Parser/Tactic.c Lean/Parser/Term.c Lean/ParserCompiler.c Lean/ParserCompiler/Attribute.c Lean/PrettyPrinter.c Lean/PrettyPrinter/Basic.c Lean/PrettyPrinter/Delaborator.c Lean/PrettyPrinter/Delaborator/Basic.c Lean/PrettyPrinter/Delaborator/Builtins.c Lean/PrettyPrinter/Formatter.c Lean/PrettyPrinter/Parenthesizer.c Lean/ProjFns.c Lean/ReducibilityAttrs.c Lean/ResolveName.c Lean/Runtime.c Lean/ScopedEnvExtension.c Lean/Server.c Lean/Server/AsyncList.c Lean/Server/Completion.c Lean/Server/FileSource.c Lean/Server/FileWorker.c Lean/Server/FileWorker/RequestHandling.c Lean/Server/FileWorker/Utils.c Lean/Server/InfoUtils.c Lean/Server/Requests.c Lean/Server/Snapshots.c Lean/Server/Utils.c Lean/Server/Watchdog.c Lean/Structure.c Lean/Syntax.c Lean/ToExpr.c Lean/Util.c Lean/Util/CollectFVars.c Lean/Util/CollectLevelParams.c Lean/Util/CollectMVars.c Lean/Util/Constructions.c Lean/Util/FindExpr.c Lean/Util/FindMVar.c Lean/Util/FoldConsts.c Lean/Util/ForEachExpr.c Lean/Util/MonadBacktrack.c Lean/Util/MonadCache.c Lean/Util/OccursCheck.c Lean/Util/PPExt.c Lean/Util/Path.c Lean/Util/Profile.c Lean/Util/RecDepth.c Lean/Util/Recognizers.c Lean/Util/ReplaceExpr.c Lean/Util/ReplaceLevel.c Lean/Util/SCC.c Lean/Util/Sorry.c Lean/Util/Trace.c ) +add_library (Lean STATIC Lean.c Lean/Attributes.c Lean/AuxRecursor.c Lean/Class.c Lean/Compiler.c Lean/Compiler/BorrowedAnnotation.c Lean/Compiler/ClosedTermCache.c Lean/Compiler/ConstFolding.c Lean/Compiler/ExportAttr.c Lean/Compiler/ExternAttr.c Lean/Compiler/IR.c Lean/Compiler/IR/Basic.c Lean/Compiler/IR/Borrow.c Lean/Compiler/IR/Boxing.c Lean/Compiler/IR/Checker.c Lean/Compiler/IR/CompilerM.c Lean/Compiler/IR/CtorLayout.c Lean/Compiler/IR/ElimDeadBranches.c Lean/Compiler/IR/ElimDeadVars.c Lean/Compiler/IR/EmitC.c Lean/Compiler/IR/EmitUtil.c Lean/Compiler/IR/ExpandResetReuse.c Lean/Compiler/IR/Format.c Lean/Compiler/IR/FreeVars.c Lean/Compiler/IR/LiveVars.c Lean/Compiler/IR/NormIds.c Lean/Compiler/IR/PushProj.c Lean/Compiler/IR/RC.c Lean/Compiler/IR/ResetReuse.c Lean/Compiler/IR/SimpCase.c Lean/Compiler/IR/Sorry.c Lean/Compiler/IR/UnboxResult.c Lean/Compiler/ImplementedByAttr.c Lean/Compiler/InitAttr.c Lean/Compiler/InlineAttrs.c Lean/Compiler/NameMangling.c Lean/Compiler/NeverExtractAttr.c Lean/Compiler/Specialize.c Lean/Compiler/Util.c Lean/CoreM.c Lean/Data.c Lean/Data/Format.c Lean/Data/Json.c Lean/Data/Json/Basic.c Lean/Data/Json/FromToJson.c Lean/Data/Json/Parser.c Lean/Data/Json/Printer.c Lean/Data/Json/Stream.c Lean/Data/JsonRpc.c Lean/Data/KVMap.c Lean/Data/LBool.c Lean/Data/LOption.c Lean/Data/Lsp.c Lean/Data/Lsp/Basic.c Lean/Data/Lsp/Capabilities.c Lean/Data/Lsp/Communication.c Lean/Data/Lsp/Diagnostics.c Lean/Data/Lsp/Extra.c Lean/Data/Lsp/InitShutdown.c Lean/Data/Lsp/Ipc.c Lean/Data/Lsp/LanguageFeatures.c Lean/Data/Lsp/TextSync.c Lean/Data/Lsp/Utf16.c Lean/Data/Lsp/Workspace.c Lean/Data/Name.c Lean/Data/NameTrie.c Lean/Data/Occurrences.c Lean/Data/OpenDecl.c Lean/Data/Options.c Lean/Data/Position.c Lean/Data/PrefixTree.c Lean/Data/SMap.c Lean/Data/Trie.c Lean/Declaration.c Lean/DeclarationRange.c Lean/DocString.c Lean/Elab.c Lean/Elab/App.c Lean/Elab/Arg.c Lean/Elab/Attributes.c Lean/Elab/AutoBound.c Lean/Elab/Binders.c Lean/Elab/BindersUtil.c Lean/Elab/BuiltinNotation.c Lean/Elab/BuiltinTerm.c Lean/Elab/Command.c Lean/Elab/DeclModifiers.c Lean/Elab/DeclUtil.c Lean/Elab/Declaration.c Lean/Elab/DeclarationRange.c Lean/Elab/DefView.c Lean/Elab/Deriving.c Lean/Elab/Deriving/BEq.c Lean/Elab/Deriving/Basic.c Lean/Elab/Deriving/DecEq.c Lean/Elab/Deriving/FromToJson.c Lean/Elab/Deriving/Hashable.c Lean/Elab/Deriving/Inhabited.c Lean/Elab/Deriving/Ord.c Lean/Elab/Deriving/Repr.c Lean/Elab/Deriving/SizeOf.c Lean/Elab/Deriving/Util.c Lean/Elab/Do.c Lean/Elab/ElabRules.c Lean/Elab/Exception.c Lean/Elab/Extra.c Lean/Elab/Frontend.c Lean/Elab/GenInjective.c Lean/Elab/Import.c Lean/Elab/Inductive.c Lean/Elab/InfoTree.c Lean/Elab/LetRec.c Lean/Elab/Level.c Lean/Elab/Log.c Lean/Elab/Macro.c Lean/Elab/MacroArgUtil.c Lean/Elab/MacroRules.c Lean/Elab/Match.c Lean/Elab/MatchAltView.c Lean/Elab/Mixfix.c Lean/Elab/MutualDef.c Lean/Elab/Notation.c Lean/Elab/Open.c Lean/Elab/PatternVar.c Lean/Elab/PreDefinition.c Lean/Elab/PreDefinition/Basic.c Lean/Elab/PreDefinition/Main.c Lean/Elab/PreDefinition/MkInhabitant.c Lean/Elab/PreDefinition/Structural.c Lean/Elab/PreDefinition/WF.c Lean/Elab/Print.c Lean/Elab/Quotation.c Lean/Elab/Quotation/Precheck.c Lean/Elab/Quotation/Util.c Lean/Elab/SetOption.c Lean/Elab/StructInst.c Lean/Elab/Structure.c Lean/Elab/Syntax.c Lean/Elab/SyntheticMVars.c Lean/Elab/Tactic.c Lean/Elab/Tactic/Basic.c Lean/Elab/Tactic/BuiltinTactic.c Lean/Elab/Tactic/ElabTerm.c Lean/Elab/Tactic/Generalize.c Lean/Elab/Tactic/Induction.c Lean/Elab/Tactic/Injection.c Lean/Elab/Tactic/Location.c Lean/Elab/Tactic/Match.c Lean/Elab/Tactic/Rewrite.c Lean/Elab/Tactic/Simp.c Lean/Elab/Term.c Lean/Elab/Util.c Lean/Environment.c Lean/Eval.c Lean/Exception.c Lean/Expr.c Lean/HeadIndex.c Lean/Hygiene.c Lean/InternalExceptionId.c Lean/KeyedDeclsAttribute.c Lean/Level.c Lean/LocalContext.c Lean/Message.c Lean/Meta.c Lean/Meta/AbstractMVars.c Lean/Meta/AbstractNestedProofs.c Lean/Meta/AppBuilder.c Lean/Meta/Basic.c Lean/Meta/Check.c Lean/Meta/Closure.c Lean/Meta/Coe.c Lean/Meta/CollectFVars.c Lean/Meta/CollectMVars.c Lean/Meta/DiscrTree.c Lean/Meta/DiscrTreeTypes.c Lean/Meta/ExprDefEq.c Lean/Meta/ForEachExpr.c Lean/Meta/FunInfo.c Lean/Meta/GeneralizeTelescope.c Lean/Meta/GeneralizeVars.c Lean/Meta/GetConst.c Lean/Meta/IndPredBelow.c Lean/Meta/Inductive.c Lean/Meta/InferType.c Lean/Meta/Injective.c Lean/Meta/Instances.c Lean/Meta/KAbstract.c Lean/Meta/LevelDefEq.c Lean/Meta/Match.c Lean/Meta/Match/Basic.c Lean/Meta/Match/CaseArraySizes.c Lean/Meta/Match/CaseValues.c Lean/Meta/Match/MVarRenaming.c Lean/Meta/Match/Match.c Lean/Meta/Match/MatchPatternAttr.c Lean/Meta/Match/MatcherInfo.c Lean/Meta/MatchUtil.c Lean/Meta/Offset.c Lean/Meta/PPGoal.c Lean/Meta/RecursorInfo.c Lean/Meta/Reduce.c Lean/Meta/ReduceEval.c Lean/Meta/SizeOf.c Lean/Meta/SortLocalDecls.c Lean/Meta/SynthInstance.c Lean/Meta/Tactic.c Lean/Meta/Tactic/Apply.c Lean/Meta/Tactic/Assert.c Lean/Meta/Tactic/Assumption.c Lean/Meta/Tactic/AuxLemma.c Lean/Meta/Tactic/Cases.c Lean/Meta/Tactic/Clear.c Lean/Meta/Tactic/Constructor.c Lean/Meta/Tactic/Contradiction.c Lean/Meta/Tactic/Delta.c Lean/Meta/Tactic/ElimInfo.c Lean/Meta/Tactic/FVarSubst.c Lean/Meta/Tactic/Generalize.c Lean/Meta/Tactic/Induction.c Lean/Meta/Tactic/Injection.c Lean/Meta/Tactic/Intro.c Lean/Meta/Tactic/Replace.c Lean/Meta/Tactic/Revert.c Lean/Meta/Tactic/Rewrite.c Lean/Meta/Tactic/Simp.c Lean/Meta/Tactic/Simp/CongrLemmas.c Lean/Meta/Tactic/Simp/Main.c Lean/Meta/Tactic/Simp/Rewrite.c Lean/Meta/Tactic/Simp/SimpAll.c Lean/Meta/Tactic/Simp/SimpLemmas.c Lean/Meta/Tactic/Simp/Types.c Lean/Meta/Tactic/Subst.c Lean/Meta/Tactic/Util.c Lean/Meta/Transform.c Lean/Meta/TransparencyMode.c Lean/Meta/UnificationHint.c Lean/Meta/WHNF.c Lean/MetavarContext.c Lean/Modifiers.c Lean/MonadEnv.c Lean/Parser.c Lean/Parser/Attr.c Lean/Parser/Basic.c Lean/Parser/Command.c Lean/Parser/Do.c Lean/Parser/Extension.c Lean/Parser/Extra.c Lean/Parser/Level.c Lean/Parser/Module.c Lean/Parser/StrInterpolation.c Lean/Parser/Syntax.c Lean/Parser/Tactic.c Lean/Parser/Term.c Lean/ParserCompiler.c Lean/ParserCompiler/Attribute.c Lean/PrettyPrinter.c Lean/PrettyPrinter/Basic.c Lean/PrettyPrinter/Delaborator.c Lean/PrettyPrinter/Delaborator/Basic.c Lean/PrettyPrinter/Delaborator/Builtins.c Lean/PrettyPrinter/Formatter.c Lean/PrettyPrinter/Parenthesizer.c Lean/ProjFns.c Lean/ReducibilityAttrs.c Lean/ResolveName.c Lean/Runtime.c Lean/ScopedEnvExtension.c Lean/Server.c Lean/Server/AsyncList.c Lean/Server/Completion.c Lean/Server/FileSource.c Lean/Server/FileWorker.c Lean/Server/FileWorker/RequestHandling.c Lean/Server/FileWorker/Utils.c Lean/Server/InfoUtils.c Lean/Server/Requests.c Lean/Server/Snapshots.c Lean/Server/Utils.c Lean/Server/Watchdog.c Lean/Structure.c Lean/Syntax.c Lean/ToExpr.c Lean/Util.c Lean/Util/CollectFVars.c Lean/Util/CollectLevelParams.c Lean/Util/CollectMVars.c Lean/Util/Constructions.c Lean/Util/FindExpr.c Lean/Util/FindMVar.c Lean/Util/FoldConsts.c Lean/Util/ForEachExpr.c Lean/Util/MonadBacktrack.c Lean/Util/MonadCache.c Lean/Util/OccursCheck.c Lean/Util/PPExt.c Lean/Util/Path.c Lean/Util/Profile.c Lean/Util/RecDepth.c Lean/Util/Recognizers.c Lean/Util/ReplaceExpr.c Lean/Util/ReplaceLevel.c Lean/Util/SCC.c Lean/Util/Sorry.c Lean/Util/Trace.c ) set_target_properties(Lean PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") diff --git a/stage0/stdlib/Init/Classical.c b/stage0/stdlib/Init/Classical.c index ca17f7552e..d2428975c4 100644 --- a/stage0/stdlib/Init/Classical.c +++ b/stage0/stdlib/Init/Classical.c @@ -13,92 +13,92 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52; static lean_object* l_Classical_tacticByCases_____x3a_____closed__13; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30; static lean_object* l_Classical_tacticByCases_____x3a_____closed__11; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5; static lean_object* l_Classical_tacticByCases_____x3a_____closed__2; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30; -lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14; +lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950_(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Classical_tacticByCases_____x3a_____closed__7; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; static lean_object* l_Classical_tacticByCases_____x3a_____closed__16; lean_object* l_Classical_typeDecidable_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37; static lean_object* l_Classical_tacticByCases_____x3a_____closed__20; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53; static lean_object* l_Classical_tacticByCases_____x3a_____closed__10; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42; static lean_object* l_Classical_tacticByCases_____x3a_____closed__12; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9; lean_object* l_Classical_tacticByCases_____x3a__; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45; lean_object* l_Classical_typeDecidable_match__1(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31; static lean_object* l_Classical_tacticByCases_____x3a_____closed__3; static lean_object* l_Classical_tacticByCases_____x3a_____closed__15; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31; static lean_object* l_Classical_tacticByCases_____x3a_____closed__14; static lean_object* l_Classical_tacticByCases_____x3a_____closed__18; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Classical_tacticByCases_____x3a_____closed__5; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50; static lean_object* l_Classical_tacticByCases_____x3a_____closed__4; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12; static lean_object* l_Classical_tacticByCases_____x3a_____closed__9; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49; static lean_object* l_Classical_tacticByCases_____x3a_____closed__19; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Classical_typeDecidable_match__1___rarg(uint8_t, lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35; static lean_object* l_Classical_tacticByCases_____x3a_____closed__1; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19; static lean_object* l_Classical_tacticByCases_____x3a_____closed__8; static lean_object* l_Classical_tacticByCases_____x3a_____closed__17; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39; static lean_object* l_Classical_tacticByCases_____x3a_____closed__6; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7; lean_object* l_Classical_typeDecidable_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -350,7 +350,7 @@ x_1 = l_Classical_tacticByCases_____x3a_____closed__20; return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1() { _start: { lean_object* x_1; @@ -358,17 +358,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3() { _start: { lean_object* x_1; @@ -376,17 +376,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5() { _start: { lean_object* x_1; @@ -394,17 +394,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7() { _start: { lean_object* x_1; @@ -412,17 +412,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9() { _start: { lean_object* x_1; @@ -430,17 +430,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11() { _start: { lean_object* x_1; @@ -448,17 +448,17 @@ x_1 = lean_mk_string("cases"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13() { _start: { lean_object* x_1; @@ -466,17 +466,17 @@ x_1 = lean_mk_string("casesTarget"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -485,19 +485,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15; 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_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17() { _start: { lean_object* x_1; @@ -505,17 +505,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19() { _start: { lean_object* x_1; @@ -523,17 +523,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21() { _start: { lean_object* x_1; @@ -541,22 +541,22 @@ x_1 = lean_mk_string("em"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -564,51 +564,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Classical_tacticByCases_____x3a_____closed__2; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25; 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_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26; 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_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -617,7 +617,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -626,17 +626,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31() { _start: { lean_object* x_1; @@ -644,17 +644,17 @@ x_1 = lean_mk_string("inductionAlts"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33() { _start: { lean_object* x_1; @@ -662,7 +662,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34() { _start: { lean_object* x_1; @@ -670,17 +670,17 @@ x_1 = lean_mk_string("inductionAlt"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36() { _start: { lean_object* x_1; @@ -688,7 +688,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37() { _start: { lean_object* x_1; @@ -696,17 +696,17 @@ x_1 = lean_mk_string("group"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39() { _start: { lean_object* x_1; @@ -714,22 +714,22 @@ x_1 = lean_mk_string("inl"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -737,17 +737,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43() { _start: { lean_object* x_1; @@ -755,7 +755,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44() { _start: { lean_object* x_1; @@ -763,17 +763,17 @@ x_1 = lean_mk_string("hole"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46() { _start: { lean_object* x_1; @@ -781,7 +781,7 @@ x_1 = lean_mk_string("_"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47() { _start: { lean_object* x_1; lean_object* x_2; @@ -790,7 +790,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48() { _start: { lean_object* x_1; @@ -798,22 +798,22 @@ x_1 = lean_mk_string("inr"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -821,17 +821,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52() { _start: { lean_object* x_1; lean_object* x_2; @@ -840,7 +840,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53() { _start: { lean_object* x_1; lean_object* x_2; @@ -849,7 +849,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_949_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_950_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -875,7 +875,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -886,40 +886,40 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11; +x_17 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24; +x_19 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); x_21 = lean_box(0); -x_22 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23; -x_23 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27; +x_22 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23; +x_23 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27; lean_inc(x_14); x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_20); lean_ctor_set(x_24, 3, x_23); -x_25 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28; +x_25 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28; x_26 = lean_array_push(x_25, x_11); -x_27 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10; +x_27 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10; 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 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29; +x_29 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29; x_30 = lean_array_push(x_29, x_24); x_31 = lean_array_push(x_30, x_28); -x_32 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20; +x_32 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20; 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 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30; +x_34 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30; x_35 = lean_array_push(x_34, x_33); -x_36 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14; +x_36 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -927,21 +927,21 @@ x_38 = lean_array_push(x_25, x_37); x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_27); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33; +x_40 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33; lean_inc(x_14); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_14); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36; +x_42 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36; lean_inc(x_14); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_14); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42; +x_44 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42; lean_inc(x_15); lean_inc(x_16); x_45 = l_Lean_addMacroScope(x_16, x_44, x_15); -x_46 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41; +x_46 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41; lean_inc(x_14); x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_14); @@ -949,7 +949,7 @@ lean_ctor_set(x_47, 1, x_46); lean_ctor_set(x_47, 2, x_45); lean_ctor_set(x_47, 3, x_21); x_48 = lean_array_push(x_34, x_47); -x_49 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38; +x_49 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -957,22 +957,22 @@ x_51 = lean_array_push(x_25, x_9); x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_27); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43; +x_53 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43; lean_inc(x_14); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_14); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46; +x_55 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46; lean_inc(x_14); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_14); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_push(x_25, x_56); -x_58 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45; +x_58 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45; 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 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47; +x_60 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47; x_61 = lean_array_push(x_60, x_43); lean_inc(x_61); x_62 = lean_array_push(x_61, x_50); @@ -982,13 +982,13 @@ lean_inc(x_54); x_64 = lean_array_push(x_63, x_54); lean_inc(x_59); x_65 = lean_array_push(x_64, x_59); -x_66 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35; +x_66 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51; +x_68 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50; +x_70 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50; x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_14); lean_ctor_set(x_71, 1, x_70); @@ -1010,12 +1010,12 @@ x_80 = lean_array_push(x_79, x_78); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_27); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52; +x_82 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52; x_83 = lean_array_push(x_82, x_41); -x_84 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16; +x_84 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16; x_85 = lean_array_push(x_83, x_84); x_86 = lean_array_push(x_85, x_81); -x_87 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32; +x_87 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); @@ -1023,12 +1023,12 @@ x_89 = lean_array_push(x_25, x_88); x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_27); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53; +x_91 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53; x_92 = lean_array_push(x_91, x_18); x_93 = lean_array_push(x_92, x_39); x_94 = lean_array_push(x_93, x_84); x_95 = lean_array_push(x_94, x_90); -x_96 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12; +x_96 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -1037,7 +1037,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_27); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_25, x_99); -x_101 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8; +x_101 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -1057,40 +1057,40 @@ lean_inc(x_105); x_106 = lean_ctor_get(x_2, 1); lean_inc(x_106); lean_dec(x_2); -x_107 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11; +x_107 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11; lean_inc(x_103); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_103); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24; +x_109 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24; lean_inc(x_105); lean_inc(x_106); x_110 = l_Lean_addMacroScope(x_106, x_109, x_105); x_111 = lean_box(0); -x_112 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23; -x_113 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27; +x_112 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23; +x_113 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27; lean_inc(x_103); x_114 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_114, 0, x_103); lean_ctor_set(x_114, 1, x_112); lean_ctor_set(x_114, 2, x_110); lean_ctor_set(x_114, 3, x_113); -x_115 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28; +x_115 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28; x_116 = lean_array_push(x_115, x_11); -x_117 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10; +x_117 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10; 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_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29; +x_119 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29; x_120 = lean_array_push(x_119, x_114); x_121 = lean_array_push(x_120, x_118); -x_122 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20; +x_122 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20; x_123 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_121); -x_124 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30; +x_124 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30; x_125 = lean_array_push(x_124, x_123); -x_126 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14; +x_126 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14; x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); @@ -1098,21 +1098,21 @@ x_128 = lean_array_push(x_115, x_127); x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_117); lean_ctor_set(x_129, 1, x_128); -x_130 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33; +x_130 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33; lean_inc(x_103); x_131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_131, 0, x_103); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36; +x_132 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36; lean_inc(x_103); x_133 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_133, 0, x_103); lean_ctor_set(x_133, 1, x_132); -x_134 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42; +x_134 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42; lean_inc(x_105); lean_inc(x_106); x_135 = l_Lean_addMacroScope(x_106, x_134, x_105); -x_136 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41; +x_136 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41; lean_inc(x_103); x_137 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_137, 0, x_103); @@ -1120,7 +1120,7 @@ lean_ctor_set(x_137, 1, x_136); lean_ctor_set(x_137, 2, x_135); lean_ctor_set(x_137, 3, x_111); x_138 = lean_array_push(x_124, x_137); -x_139 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38; +x_139 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); @@ -1128,22 +1128,22 @@ x_141 = lean_array_push(x_115, x_9); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_117); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43; +x_143 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43; lean_inc(x_103); x_144 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_144, 0, x_103); lean_ctor_set(x_144, 1, x_143); -x_145 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46; +x_145 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46; lean_inc(x_103); x_146 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_146, 0, x_103); lean_ctor_set(x_146, 1, x_145); x_147 = lean_array_push(x_115, x_146); -x_148 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45; +x_148 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45; x_149 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_149, 0, x_148); lean_ctor_set(x_149, 1, x_147); -x_150 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47; +x_150 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47; x_151 = lean_array_push(x_150, x_133); lean_inc(x_151); x_152 = lean_array_push(x_151, x_140); @@ -1153,13 +1153,13 @@ lean_inc(x_144); x_154 = lean_array_push(x_153, x_144); lean_inc(x_149); x_155 = lean_array_push(x_154, x_149); -x_156 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35; +x_156 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); -x_158 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51; +x_158 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51; x_159 = l_Lean_addMacroScope(x_106, x_158, x_105); -x_160 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50; +x_160 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50; x_161 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_161, 0, x_103); lean_ctor_set(x_161, 1, x_160); @@ -1181,12 +1181,12 @@ x_170 = lean_array_push(x_169, x_168); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_117); lean_ctor_set(x_171, 1, x_170); -x_172 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52; +x_172 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52; x_173 = lean_array_push(x_172, x_131); -x_174 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16; +x_174 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16; x_175 = lean_array_push(x_173, x_174); x_176 = lean_array_push(x_175, x_171); -x_177 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32; +x_177 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); @@ -1194,12 +1194,12 @@ x_179 = lean_array_push(x_115, x_178); x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_117); lean_ctor_set(x_180, 1, x_179); -x_181 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53; +x_181 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53; x_182 = lean_array_push(x_181, x_108); x_183 = lean_array_push(x_182, x_129); x_184 = lean_array_push(x_183, x_174); x_185 = lean_array_push(x_184, x_180); -x_186 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12; +x_186 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12; x_187 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_187, 0, x_186); lean_ctor_set(x_187, 1, x_185); @@ -1208,7 +1208,7 @@ x_189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_189, 0, x_117); lean_ctor_set(x_189, 1, x_188); x_190 = lean_array_push(x_115, x_189); -x_191 = l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8; +x_191 = l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -1275,112 +1275,112 @@ l_Classical_tacticByCases_____x3a_____closed__20 = _init_l_Classical_tacticByCas lean_mark_persistent(l_Classical_tacticByCases_____x3a_____closed__20); l_Classical_tacticByCases_____x3a__ = _init_l_Classical_tacticByCases_____x3a__(); lean_mark_persistent(l_Classical_tacticByCases_____x3a__); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__1); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__2); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__3); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__4); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__5); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__6); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__7); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__8); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__9); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__10); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__11); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__12); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__13); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__14); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__15); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__16); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__17); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__18); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__19); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__20); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__21); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__22); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__23); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__24); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__25); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__26); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__27); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__28); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__29); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__30); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__31); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__32); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__33); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__34); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__35); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__36); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__37); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__38); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__39); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__40); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__41); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__42); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__43); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__44); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__45); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__46); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__47); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__48); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__49); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__50); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__51); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__52); -l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_949____closed__53); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__1); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__2); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__3); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__4); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__5); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__6); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__7); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__8); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__9); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__10); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__11); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__12); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__13); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__14); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__15); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__16); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__17); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__18); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__19); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__20); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__21); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__22); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__23); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__24); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__25); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__26); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__27); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__28); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__29); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__30); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__31); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__32); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__33); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__34); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__35); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__36); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__37); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__38); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__39); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__40); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__41); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__42); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__43); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__44); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__45); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__46); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__47); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__48); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__49); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__50); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__51); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__52); +l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_950____closed__53); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Coe.c b/stage0/stdlib/Init/Coe.c index e23ae0841b..a9be5f1717 100644 --- a/stage0/stdlib/Init/Coe.c +++ b/stage0/stdlib/Init/Coe.c @@ -13,20 +13,19 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__12; lean_object* l_coeTC(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_coeBase___rarg(lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); lean_object* l_instCoeDep___rarg(lean_object*, lean_object*); lean_object* l_coeOfHead___rarg(lean_object*); lean_object* l_coeTail___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__11; lean_object* l_instCoeTail__1___rarg(lean_object*, lean_object*); lean_object* l_coeOfDep___rarg___boxed(lean_object*); lean_object* l_coeOfDep(lean_object*, lean_object*, lean_object*); lean_object* l_instCoeTail___rarg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_Lean_nullKind; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__1; lean_object* l_instHDiv__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeD___rarg(lean_object*); lean_object* l_coeOfTCOfTail(lean_object*, lean_object*, lean_object*); @@ -38,18 +37,22 @@ lean_object* l_coeOfHTCT___rarg(lean_object*, lean_object*); lean_object* l_instHDiv__1(lean_object*, lean_object*); lean_object* l_coeTC___rarg(lean_object*, lean_object*); lean_object* l_coeTail(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__9; lean_object* l_coeOfTC___rarg(lean_object*); static lean_object* l_term_u2191_____closed__7; lean_object* l_coeFun(lean_object*, lean_object*); uint8_t l_decPropToBool___rarg(uint8_t); lean_object* l_coeBase(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__17; lean_object* l_coeTrans(lean_object*, lean_object*, lean_object*); lean_object* l_coeB___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__8; lean_object* l_coeOfTail(lean_object*, lean_object*); lean_object* l_instHDiv__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_instHSub__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2191_____closed__3; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__2; lean_object* l_instHMul__2(lean_object*, lean_object*); lean_object* l_coeOfHeadOfTC___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_instHAndThen__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -59,21 +62,17 @@ lean_object* l_coeSort___rarg(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_instCoeDep(lean_object*, lean_object*); lean_object* l_hasOfNatOfCoe___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__4; lean_object* l_instHAdd__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2191_____closed__11; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__4; lean_object* l_instHAdd__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHSub__2(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__2; lean_object* l_liftCoeM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_coeOfHTCT(lean_object*, lean_object*); lean_object* l_boolToSort; lean_object* l_coeOfHeadOfTC(lean_object*, lean_object*, lean_object*); lean_object* l_coeOfTCOfTail___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__8; lean_object* l_instHOrElse__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__17; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__9; lean_object* l_instHSub__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coe___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instHMod__1(lean_object*, lean_object*); @@ -81,70 +80,71 @@ lean_object* l_subtypeCoe___rarg___boxed(lean_object*); lean_object* l_coeOfHead(lean_object*, lean_object*); static lean_object* l_term_u2191_____closed__2; lean_object* l_instHOrElse__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__1; lean_object* l_optionCoe___rarg(lean_object*); lean_object* l_instHAppend__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_hasOfNatOfCoe(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__11; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__12; lean_object* l_instHMod__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeOfDep___rarg(lean_object*); lean_object* l_instHAdd__1(lean_object*, lean_object*); lean_object* l_coeOfTC(lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); static lean_object* l_term_u2191_____closed__1; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__5; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__14; lean_object* l_coeD___rarg___boxed(lean_object*); static lean_object* l_term_u2191_____closed__9; lean_object* l_liftCoeM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2191_____closed__8; lean_object* l_coeOfTail___rarg(lean_object*); lean_object* l_coe___rarg(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object*); lean_object* l_hasOfNatOfCoe___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__7; static lean_object* l_term_u2191_____closed__4; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__18; lean_object* l_coe(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__15; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__3; lean_object* l_coeDecidableEq___boxed(lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__16; lean_object* l_instCoeTail__1(lean_object*, lean_object*); lean_object* l_coeOfDep___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__6; static lean_object* l_term_u2191_____closed__5; lean_object* l_instHMod__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeTrans___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_optionCoe(lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__10; lean_object* l_instHMod__2(lean_object*, lean_object*); lean_object* l_instHAppend__2(lean_object*, lean_object*); lean_object* l_coeM(lean_object*, lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Coe___hyg_147_(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__13; lean_object* l_coeId(lean_object*); lean_object* l_subtypeCoe___rarg(lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__13; lean_object* l_coeFun___rarg(lean_object*, lean_object*); lean_object* l_instHAndThen__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeB(lean_object*, lean_object*); lean_object* l_subtypeCoe(lean_object*, lean_object*); lean_object* l_term_u2191__; lean_object* l_coeSort(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Coe___hyg_162_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Coe___hyg_163_(lean_object*, lean_object*, lean_object*); lean_object* l_instHAppend__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeM___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__10; lean_object* l_liftCoeM(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHMul__1(lean_object*, lean_object*); lean_object* l_coeOfHeafOfTCOfTail___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__6; lean_object* l_coe___rarg___boxed(lean_object*); lean_object* l_boolToProp; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_term_u2191_____closed__6; lean_object* l_coeHead___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__16; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__15; -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__18; lean_object* l_coeId___rarg(lean_object*); lean_object* l_coeId___rarg___boxed(lean_object*); lean_object* l_instHAndThen__1(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__7; lean_object* l_instCoeTail(lean_object*, lean_object*); lean_object* l_coeD___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instHAdd__2(lean_object*, lean_object*); @@ -154,9 +154,9 @@ lean_object* l_instHOrElse__1(lean_object*, lean_object*); lean_object* l_instHAppend__1(lean_object*, lean_object*); lean_object* l_decPropToBool(lean_object*); lean_object* l_coeOfHeafOfTCOfTail(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object*); +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__5; lean_object* l_coeHead(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Coe___hyg_162____closed__3; +static lean_object* l_myMacro____x40_Init_Coe___hyg_163____closed__14; lean_object* l_instHMul__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_coeD(lean_object*, lean_object*, lean_object*); lean_object* l_coeB___rarg(lean_object* x_1, lean_object* x_2) { @@ -409,7 +409,7 @@ x_1 = l_term_u2191_____closed__11; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__1() { _start: { lean_object* x_1; @@ -417,17 +417,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__1; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__3() { _start: { lean_object* x_1; @@ -435,17 +435,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Coe___hyg_162____closed__2; -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__3; +x_1 = l_myMacro____x40_Init_Coe___hyg_163____closed__2; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__5() { _start: { lean_object* x_1; @@ -453,17 +453,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Coe___hyg_162____closed__4; -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__5; +x_1 = l_myMacro____x40_Init_Coe___hyg_163____closed__4; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__7() { _start: { lean_object* x_1; @@ -471,17 +471,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Coe___hyg_162____closed__6; -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__7; +x_1 = l_myMacro____x40_Init_Coe___hyg_163____closed__6; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__9() { _start: { lean_object* x_1; @@ -489,22 +489,22 @@ x_1 = lean_mk_string("coe"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Coe___hyg_162____closed__9; +x_1 = l_myMacro____x40_Init_Coe___hyg_163____closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____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_Coe___hyg_162____closed__9; +x_1 = l_myMacro____x40_Init_Coe___hyg_163____closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Coe___hyg_162____closed__10; +x_3 = l_myMacro____x40_Init_Coe___hyg_163____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); @@ -512,41 +512,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____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_Coe___hyg_162____closed__9; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__12; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__12; 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_myMacro____x40_Init_Coe___hyg_162____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__13; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__13; 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_myMacro____x40_Init_Coe___hyg_162____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__15() { _start: { lean_object* x_1; @@ -554,17 +554,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Coe___hyg_162____closed__15; +x_2 = l_myMacro____x40_Init_Coe___hyg_163____closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -573,7 +573,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_162____closed__18() { +static lean_object* _init_l_myMacro____x40_Init_Coe___hyg_163____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -582,7 +582,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Coe___hyg_162_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Coe___hyg_163_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -606,7 +606,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -617,25 +617,25 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Coe___hyg_162____closed__12; +x_15 = l_myMacro____x40_Init_Coe___hyg_163____closed__12; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Coe___hyg_162____closed__11; -x_18 = l_myMacro____x40_Init_Coe___hyg_162____closed__14; +x_17 = l_myMacro____x40_Init_Coe___hyg_163____closed__11; +x_18 = l_myMacro____x40_Init_Coe___hyg_163____closed__14; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Coe___hyg_162____closed__17; +x_20 = l_myMacro____x40_Init_Coe___hyg_163____closed__17; x_21 = lean_array_push(x_20, x_9); -x_22 = l_myMacro____x40_Init_Coe___hyg_162____closed__16; +x_22 = l_myMacro____x40_Init_Coe___hyg_163____closed__16; 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_myMacro____x40_Init_Coe___hyg_162____closed__18; +x_24 = l_myMacro____x40_Init_Coe___hyg_163____closed__18; x_25 = lean_array_push(x_24, x_19); x_26 = lean_array_push(x_25, x_23); -x_27 = l_myMacro____x40_Init_Coe___hyg_162____closed__8; +x_27 = l_myMacro____x40_Init_Coe___hyg_163____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); @@ -655,25 +655,25 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_2, 1); lean_inc(x_32); lean_dec(x_2); -x_33 = l_myMacro____x40_Init_Coe___hyg_162____closed__12; +x_33 = l_myMacro____x40_Init_Coe___hyg_163____closed__12; x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); -x_35 = l_myMacro____x40_Init_Coe___hyg_162____closed__11; -x_36 = l_myMacro____x40_Init_Coe___hyg_162____closed__14; +x_35 = l_myMacro____x40_Init_Coe___hyg_163____closed__11; +x_36 = l_myMacro____x40_Init_Coe___hyg_163____closed__14; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_29); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_myMacro____x40_Init_Coe___hyg_162____closed__17; +x_38 = l_myMacro____x40_Init_Coe___hyg_163____closed__17; x_39 = lean_array_push(x_38, x_9); -x_40 = l_myMacro____x40_Init_Coe___hyg_162____closed__16; +x_40 = l_myMacro____x40_Init_Coe___hyg_163____closed__16; 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 = l_myMacro____x40_Init_Coe___hyg_162____closed__18; +x_42 = l_myMacro____x40_Init_Coe___hyg_163____closed__18; x_43 = lean_array_push(x_42, x_37); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Coe___hyg_162____closed__8; +x_45 = l_myMacro____x40_Init_Coe___hyg_163____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); @@ -689,7 +689,7 @@ lean_object* l_unexpand____x40_Init_Coe___hyg_147_(lean_object* x_1, lean_object _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Coe___hyg_162____closed__8; +x_3 = l_myMacro____x40_Init_Coe___hyg_163____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -727,7 +727,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_8, x_13); lean_dec(x_8); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -737,7 +737,7 @@ x_18 = l_term_u2191_____closed__5; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Coe___hyg_162____closed__18; +x_20 = l_myMacro____x40_Init_Coe___hyg_163____closed__18; x_21 = lean_array_push(x_20, x_19); x_22 = lean_array_push(x_21, x_14); x_23 = l_term_u2191_____closed__2; @@ -759,7 +759,7 @@ x_27 = l_term_u2191_____closed__5; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Coe___hyg_162____closed__18; +x_29 = l_myMacro____x40_Init_Coe___hyg_163____closed__18; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_14); x_32 = l_term_u2191_____closed__2; @@ -1548,42 +1548,42 @@ l_term_u2191_____closed__11 = _init_l_term_u2191_____closed__11(); lean_mark_persistent(l_term_u2191_____closed__11); l_term_u2191__ = _init_l_term_u2191__(); lean_mark_persistent(l_term_u2191__); -l_myMacro____x40_Init_Coe___hyg_162____closed__1 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__1); -l_myMacro____x40_Init_Coe___hyg_162____closed__2 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__2); -l_myMacro____x40_Init_Coe___hyg_162____closed__3 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__3); -l_myMacro____x40_Init_Coe___hyg_162____closed__4 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__4); -l_myMacro____x40_Init_Coe___hyg_162____closed__5 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__5); -l_myMacro____x40_Init_Coe___hyg_162____closed__6 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__6); -l_myMacro____x40_Init_Coe___hyg_162____closed__7 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__7); -l_myMacro____x40_Init_Coe___hyg_162____closed__8 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__8); -l_myMacro____x40_Init_Coe___hyg_162____closed__9 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__9); -l_myMacro____x40_Init_Coe___hyg_162____closed__10 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__10); -l_myMacro____x40_Init_Coe___hyg_162____closed__11 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__11); -l_myMacro____x40_Init_Coe___hyg_162____closed__12 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__12); -l_myMacro____x40_Init_Coe___hyg_162____closed__13 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__13); -l_myMacro____x40_Init_Coe___hyg_162____closed__14 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__14); -l_myMacro____x40_Init_Coe___hyg_162____closed__15 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__15); -l_myMacro____x40_Init_Coe___hyg_162____closed__16 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__16); -l_myMacro____x40_Init_Coe___hyg_162____closed__17 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__17); -l_myMacro____x40_Init_Coe___hyg_162____closed__18 = _init_l_myMacro____x40_Init_Coe___hyg_162____closed__18(); -lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_162____closed__18); +l_myMacro____x40_Init_Coe___hyg_163____closed__1 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__1); +l_myMacro____x40_Init_Coe___hyg_163____closed__2 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__2); +l_myMacro____x40_Init_Coe___hyg_163____closed__3 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__3); +l_myMacro____x40_Init_Coe___hyg_163____closed__4 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__4); +l_myMacro____x40_Init_Coe___hyg_163____closed__5 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__5); +l_myMacro____x40_Init_Coe___hyg_163____closed__6 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__6); +l_myMacro____x40_Init_Coe___hyg_163____closed__7 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__7); +l_myMacro____x40_Init_Coe___hyg_163____closed__8 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__8); +l_myMacro____x40_Init_Coe___hyg_163____closed__9 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__9); +l_myMacro____x40_Init_Coe___hyg_163____closed__10 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__10); +l_myMacro____x40_Init_Coe___hyg_163____closed__11 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__11); +l_myMacro____x40_Init_Coe___hyg_163____closed__12 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__12); +l_myMacro____x40_Init_Coe___hyg_163____closed__13 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__13); +l_myMacro____x40_Init_Coe___hyg_163____closed__14 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__14); +l_myMacro____x40_Init_Coe___hyg_163____closed__15 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__15); +l_myMacro____x40_Init_Coe___hyg_163____closed__16 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__16); +l_myMacro____x40_Init_Coe___hyg_163____closed__17 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__17); +l_myMacro____x40_Init_Coe___hyg_163____closed__18 = _init_l_myMacro____x40_Init_Coe___hyg_163____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_Coe___hyg_163____closed__18); l_boolToProp = _init_l_boolToProp(); l_boolToSort = _init_l_boolToSort(); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Init/Control/Basic.c b/stage0/stdlib/Init/Control/Basic.c index fccf2cb042..d344753917 100644 --- a/stage0/stdlib/Init/Control/Basic.c +++ b/stage0/stdlib/Init/Control/Basic.c @@ -13,136 +13,136 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__3; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__7; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5; extern lean_object* l_Lean_nullKind; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_term___x3c_x26_x3e__; lean_object* l_term___x3c_x7c_x7c_x3e__; static lean_object* l_unexpand____x40_Init_Control_Basic___hyg_38____closed__1; static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__7; lean_object* l_instMonadControlT___rarg___lambda__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; lean_object* l_control___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Control_Basic___hyg_502_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Control_Basic___hyg_808_(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11; +lean_object* l_unexpand____x40_Init_Control_Basic___hyg_503_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Control_Basic___hyg_810_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Control_Basic___hyg_38_(lean_object*, lean_object*); static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__5; lean_object* l_guard___rarg(lean_object*, lean_object*, uint8_t); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11; lean_object* l_controlAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instOrElse(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4; lean_object* l_bool_match__1(lean_object*); lean_object* l_term___x3c_x26_x26_x3e__; static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__2; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12; lean_object* l_controlAt(lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Functor_discard(lean_object*, lean_object*); lean_object* l_instMonadControlT(lean_object*, lean_object*, lean_object*); lean_object* l_Functor_mapRev(lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12; lean_object* l_instMonadControlT__1___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3; static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__1; lean_object* l_Functor_discard___rarg(lean_object*, lean_object*); static lean_object* l_optional___rarg___closed__1; static lean_object* l_term___x3c_x26_x3e_____closed__5; lean_object* l_instMonadControlT___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT__1(lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4; lean_object* l_not___boxed(lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6; lean_object* l_andM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x3e_____closed__1; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; lean_object* l_instOrElse___rarg(lean_object*); lean_object* l_instMonadControlT___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; lean_object* l_optional___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__5; static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__6; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__10; static lean_object* l_term___x3c_x26_x3e_____closed__8; lean_object* l_bool_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instToBoolBool___boxed(lean_object*); lean_object* l_bool_match__1___rarg(uint8_t, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6; static lean_object* l_term___x3c_x26_x3e_____closed__4; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5; static lean_object* l_term___x3c_x26_x3e_____closed__9; static lean_object* l_notM___rarg___closed__1; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16; lean_object* l_guard___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7; static lean_object* l_term___x3c_x26_x3e_____closed__2; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7; lean_object* l_orM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840_(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__2; +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843_(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT__1___rarg___lambda__2(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object*); lean_object* l_bool___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__18; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3; lean_object* l_notM(lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_bool(lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__2; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9; static lean_object* l_instMonadControlT__1___rarg___lambda__2___closed__1; lean_object* l_Functor_mapRev___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_instToBoolBool(uint8_t); static lean_object* l_term___x3c_x26_x3e_____closed__3; static lean_object* l_instMonadControlT__1___rarg___closed__1; lean_object* l_instMonadControlT___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1; lean_object* l_orM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__2; static lean_object* l_term___x3c_x26_x3e_____closed__6; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6; lean_object* l_instMonadControlT__1___rarg___lambda__1(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5; lean_object* l_optional___rarg___lambda__1(lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2; lean_object* l_orM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6; static lean_object* l_term___x3c_x7c_x7c_x3e_____closed__4; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5; lean_object* l_andM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__6; lean_object* l_bool___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2; static lean_object* l_term___x3c_x26_x26_x3e_____closed__4; static lean_object* l_term___x3c_x26_x3e_____closed__11; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3; lean_object* l_andM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_andM(lean_object*, lean_object*); lean_object* l_guard(lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1; -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; lean_object* l_optional(lean_object*); lean_object* l_orM(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4; lean_object* l_control(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17; static lean_object* l_term___x3c_x26_x3e_____closed__7; lean_object* l_instMonadControlT__1___rarg(lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object*); -static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9; static lean_object* l_term___x3c_x26_x3e_____closed__10; lean_object* l_notM___rarg(lean_object*, lean_object*); static lean_object* l_term___x3c_x26_x26_x3e_____closed__1; +static lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5; lean_object* l_Functor_mapRev___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -284,7 +284,7 @@ x_1 = l_term___x3c_x26_x3e_____closed__11; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1() { _start: { lean_object* x_1; @@ -292,17 +292,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3() { _start: { lean_object* x_1; @@ -310,17 +310,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5() { _start: { lean_object* x_1; @@ -328,17 +328,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7() { _start: { lean_object* x_1; @@ -346,17 +346,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9() { _start: { lean_object* x_1; @@ -364,22 +364,22 @@ x_1 = lean_mk_string("Functor.mapRev"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____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_Control_Basic___hyg_54____closed__9; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_55____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); @@ -387,7 +387,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12() { _start: { lean_object* x_1; @@ -395,17 +395,17 @@ x_1 = lean_mk_string("Functor"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14() { _start: { lean_object* x_1; @@ -413,41 +413,41 @@ x_1 = lean_mk_string("mapRev"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15; 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_myMacro____x40_Init_Control_Basic___hyg_54____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16; 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_myMacro____x40_Init_Control_Basic___hyg_54____closed__18() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18() { _start: { lean_object* x_1; @@ -455,17 +455,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__18; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -474,7 +474,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Control_Basic___hyg_54_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_55_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -500,7 +500,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -511,25 +511,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15; +x_17 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11; -x_20 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17; +x_19 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11; +x_20 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_22 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_25 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_29 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -549,25 +549,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15; +x_35 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11; -x_38 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17; +x_37 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11; +x_38 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_40 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_43 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_47 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -592,7 +592,7 @@ lean_object* l_unexpand____x40_Init_Control_Basic___hyg_38_(lean_object* x_1, le _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -632,7 +632,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -1055,7 +1055,7 @@ x_1 = l_term___x3c_x7c_x7c_x3e_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1() { _start: { lean_object* x_1; @@ -1063,22 +1063,22 @@ x_1 = lean_mk_string("orM"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_536____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); @@ -1086,41 +1086,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4; 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_myMacro____x40_Init_Control_Basic___hyg_534____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5; 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_myMacro____x40_Init_Control_Basic___hyg_534_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_536_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1146,7 +1146,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1157,25 +1157,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4; +x_17 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3; -x_20 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6; +x_19 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3; +x_20 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_22 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_25 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_29 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -1195,25 +1195,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4; +x_35 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3; -x_38 = l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6; +x_37 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3; +x_38 = l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_40 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_43 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_47 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -1225,11 +1225,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Control_Basic___hyg_502_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Control_Basic___hyg_503_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -1269,7 +1269,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -1465,7 +1465,7 @@ x_1 = l_term___x3c_x26_x26_x3e_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1() { _start: { lean_object* x_1; @@ -1473,22 +1473,22 @@ x_1 = lean_mk_string("andM"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1; +x_1 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_843____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); @@ -1496,41 +1496,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4; 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_myMacro____x40_Init_Control_Basic___hyg_840____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5; 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_myMacro____x40_Init_Control_Basic___hyg_840_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Control_Basic___hyg_843_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1556,7 +1556,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1567,25 +1567,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4; +x_17 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3; -x_20 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6; +x_19 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3; +x_20 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_22 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_25 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_29 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -1605,25 +1605,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4; +x_35 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3; -x_38 = l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6; +x_37 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3; +x_38 = l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20; +x_40 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19; +x_43 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_47 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -1635,11 +1635,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Control_Basic___hyg_808_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Control_Basic___hyg_810_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8; +x_3 = l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -1679,7 +1679,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -1998,46 +1998,46 @@ l_term___x3c_x26_x3e_____closed__11 = _init_l_term___x3c_x26_x3e_____closed__11( lean_mark_persistent(l_term___x3c_x26_x3e_____closed__11); l_term___x3c_x26_x3e__ = _init_l_term___x3c_x26_x3e__(); lean_mark_persistent(l_term___x3c_x26_x3e__); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__1); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__2); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__3); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__4); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__5); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__6); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__7); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__8); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__9); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__10); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__11); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__12); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__13); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__14); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__15); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__16); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__17); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__18 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__18(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__18); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__19); -l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20 = _init_l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_54____closed__20); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__1); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__2); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__3); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__4); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__5); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__6); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__7); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__8); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__9); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__10 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__10); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__11); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__12); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__13); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__14); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__15); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__16); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__17); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__18); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__19); +l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20 = _init_l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_55____closed__20); l_unexpand____x40_Init_Control_Basic___hyg_38____closed__1 = _init_l_unexpand____x40_Init_Control_Basic___hyg_38____closed__1(); lean_mark_persistent(l_unexpand____x40_Init_Control_Basic___hyg_38____closed__1); l_optional___rarg___closed__1 = _init_l_optional___rarg___closed__1(); @@ -2058,18 +2058,18 @@ l_term___x3c_x7c_x7c_x3e_____closed__7 = _init_l_term___x3c_x7c_x7c_x3e_____clos lean_mark_persistent(l_term___x3c_x7c_x7c_x3e_____closed__7); l_term___x3c_x7c_x7c_x3e__ = _init_l_term___x3c_x7c_x7c_x3e__(); lean_mark_persistent(l_term___x3c_x7c_x7c_x3e__); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__1); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__2); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__3); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__4); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__5); -l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_534____closed__6); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__1); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__2); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__3); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__4); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__5); +l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_536____closed__6); l_term___x3c_x26_x26_x3e_____closed__1 = _init_l_term___x3c_x26_x26_x3e_____closed__1(); lean_mark_persistent(l_term___x3c_x26_x26_x3e_____closed__1); l_term___x3c_x26_x26_x3e_____closed__2 = _init_l_term___x3c_x26_x26_x3e_____closed__2(); @@ -2086,18 +2086,18 @@ l_term___x3c_x26_x26_x3e_____closed__7 = _init_l_term___x3c_x26_x26_x3e_____clos lean_mark_persistent(l_term___x3c_x26_x26_x3e_____closed__7); l_term___x3c_x26_x26_x3e__ = _init_l_term___x3c_x26_x26_x3e__(); lean_mark_persistent(l_term___x3c_x26_x26_x3e__); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__1); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__2); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__3); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__4); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__5); -l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_840____closed__6); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__1); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__2 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__2); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__3); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__4); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__5); +l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6 = _init_l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Control_Basic___hyg_843____closed__6); l_notM___rarg___closed__1 = _init_l_notM___rarg___closed__1(); lean_mark_persistent(l_notM___rarg___closed__1); l_instMonadControlT__1___rarg___lambda__2___closed__1 = _init_l_instMonadControlT__1___rarg___lambda__2___closed__1(); diff --git a/stage0/stdlib/Init/Core.c b/stage0/stdlib/Init/Core.c index cd6fa0387f..857999d349 100644 --- a/stage0/stdlib/Init/Core.c +++ b/stage0/stdlib/Init/Core.c @@ -14,17 +14,16 @@ extern "C" { #endif lean_object* l_instDecidableIte___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__8; -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__4; lean_object* l_strictAnd___boxed(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__4; lean_object* l_Thunk_map(lean_object*, lean_object*); lean_object* l_instDecidableArrow___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__6; lean_object* l_instInhabitedTask___rarg(lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__10; lean_object* l_Quotient_hrecOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__2; -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__16; uint8_t l_Lean_reduceBool(uint8_t); lean_object* l_inline(lean_object*); lean_object* l_instLTProd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,12 +31,17 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_instDecidableDite(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift_u2082(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2260_____closed__2; +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__1; +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__5; extern lean_object* l_Lean_nullKind; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__15; +static lean_object* l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1; lean_object* l_Quotient_rec___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_bne(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__3; lean_object* l_Quotient_liftOn(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__5; +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__8; lean_object* l_Quotient_recOn(lean_object*, lean_object*, lean_object*); lean_object* l_term___x3c_x2d_x3e__; lean_object* l_instDecidableEqProd_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -45,13 +49,17 @@ lean_object* l_Quotient_recOn___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x21_x3d_____closed__6; lean_object* l_bne___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__2; lean_object* l_Squash_mk___rarg___boxed(lean_object*); lean_object* l_instDecidableEqSum___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceBool___boxed(lean_object*); static lean_object* l_term___u2260_____closed__4; lean_object* l_Subtype_instDecidableEqSubtype(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__3; lean_object* l_instDecidableIff___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__1; static lean_object* l_term___u2248_____closed__7; +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__4; uint8_t l_decidableOfDecidableOfEq___rarg(uint8_t, lean_object*); static lean_object* l_term___x21_x3d_____closed__5; lean_object* l_Quot_indep(lean_object*, lean_object*, lean_object*); @@ -65,7 +73,6 @@ lean_object* l_Eq_mpr___rarg___boxed(lean_object*); lean_object* l_Thunk_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd(lean_object*, lean_object*); uint8_t l_instDecidableTrue; -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__6; lean_object* l_instDecidableEqQuotient_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__10; static lean_object* l_term_x7b_x7d___closed__1; @@ -75,7 +82,6 @@ lean_object* l_instDecidableEqQuotient_match__1___rarg(uint8_t, lean_object*, le static lean_object* l_term_x7b_x7d___closed__2; static lean_object* l_term___x21_x3d_____closed__1; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__3; lean_object* lean_task_spawn(lean_object*, lean_object*); lean_object* l_instDecidableEqPUnit___boxed(lean_object*, lean_object*); uint8_t l_instDecidableEqPUnit(lean_object*, lean_object*); @@ -83,23 +89,17 @@ static lean_object* l_term___u2260_____closed__5; static lean_object* l_term___x21_x3d_____closed__3; static lean_object* l_term___u2260_____closed__3; lean_object* l_prodHasDecidableLt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__5; -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__15; -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__1; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__16; +static lean_object* l_unexpand____x40_Init_Core___hyg_171____closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__6; lean_object* l_Quotient_recOnSubsingleton___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__10; lean_object* l_Task_get___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__3; lean_object* l_Task_map___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_unexpand____x40_Init_Core___hyg_168____closed__1; lean_object* l_Decidable_byCases___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_term___u2248__; static lean_object* l_term_x7b_x7d___closed__8; uint8_t l_toBoolUsing___rarg(uint8_t); lean_object* l_Eq_ndrecOn___rarg___boxed(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__7; lean_object* l_Quotient_mk(lean_object*, lean_object*); lean_object* l_Quotient_liftOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableEqProd_match__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,9 +109,9 @@ lean_object* l_instHasEquiv(lean_object*, lean_object*); lean_object* l_Quotient_lift_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2194_____closed__2; lean_object* l_Task_bind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__2; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__11; +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__7; lean_object* lean_thunk_pure(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__5; lean_object* l_term___u2260__; lean_object* l_decidableOfDecidableOfEq___rarg___boxed(lean_object*, lean_object*); lean_object* l_toBoolUsing___rarg___boxed(lean_object*); @@ -123,16 +123,14 @@ lean_object* l_Quotient_mk___boxed(lean_object*, lean_object*); lean_object* l_instDecidableEqQuotient___boxed(lean_object*, lean_object*); lean_object* l_instInhabitedTask(lean_object*); lean_object* l_Thunk_bind___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__3; lean_object* l_instDecidableDite___rarg(uint8_t, lean_object*, lean_object*); static lean_object* l_term___u2260_____closed__6; lean_object* l_Eq_mpr(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__1; lean_object* l_Quot_recOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Thunk_get___boxed(lean_object*, lean_object*); static lean_object* l_term___u2194_____closed__4; -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__12; lean_object* l_Quot_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__4; lean_object* l_Lean_reduceNat(lean_object*); lean_object* l_Squash_lift___rarg(lean_object*, lean_object*); lean_object* l_Sum_inhabitedLeft___rarg(lean_object*); @@ -140,80 +138,80 @@ lean_object* l_Quotient_lift_u2082___boxed(lean_object*, lean_object*, lean_obje uint8_t l_instDecidableIte___rarg(uint8_t, uint8_t, uint8_t); lean_object* l_instDecidableEqQuotient_match__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_hrecOn(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__1; -lean_object* l_myMacro____x40_Init_Core___hyg_898_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1116_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_401_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1890_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1508_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1231_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_184_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1123_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_904_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_406_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1902_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1519_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1240_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_188_(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x7b_x7d___closed__6; lean_object* l_Task_Priority_dedicated; -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__2; lean_object* l_Sum_inhabitedRight___rarg(lean_object*); lean_object* l_Quotient_lift___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__3; lean_object* l_Quotient_recOnSubsingleton_u2082___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedProd(lean_object*, lean_object*); lean_object* l_instDecidableEqProd_match__1___rarg(uint8_t, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__4; lean_object* l_instInhabitedForInStep___rarg(lean_object*); lean_object* l_term_x7b_x7d; -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__7; lean_object* l_instInhabitedPNonScalar; +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__5; static lean_object* l_term___x3c_x2d_x3e_____closed__11; lean_object* l_instDecidableEqQuotient(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__8; lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__11; +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__2; lean_object* l_instDecidableEqProd_match__2___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__12; lean_object* l_instInhabitedProp; lean_object* l_flip___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_hrecOn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_rec(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_liftOn_u2082___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__6; +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__6; lean_object* l_instInhabitedNonScalar; -lean_object* l_unexpand____x40_Init_Core___hyg_1221_(lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_882_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1102_(lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_385_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_168_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1874_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1492_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1229_(lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1108_(lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_887_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_389_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_171_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1885_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1502_(lean_object*, lean_object*); lean_object* l_instDecidableIff(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1108____boxed(lean_object*); uint8_t l_instDecidableIff___rarg(uint8_t, uint8_t); +lean_object* l_unexpand____x40_Init_Core___hyg_1229____boxed(lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__1; static lean_object* l_term___x3c_x2d_x3e_____closed__5; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__2; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__1; static lean_object* l_term_x7b_x7d___closed__3; lean_object* l_term___u2194__; uint8_t l_strictOr(uint8_t, uint8_t); lean_object* l_term___x21_x3d__; -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__8; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__2; lean_object* l_Eq_mpr___rarg(lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__2; static lean_object* l_term___x3c_x2d_x3e_____closed__4; lean_object* l_term_u2205; lean_object* l_decidableOfDecidableOfEq(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1221____boxed(lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__9; lean_object* l_instDecidableEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Squash_mk(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__17; lean_object* lean_mk_thunk(lean_object*); static lean_object* l_term_u2205___closed__4; lean_object* l_instLTProd(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__7; lean_object* l_Task_Priority_default; lean_object* l_Thunk_mk___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__4; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object*); static lean_object* l_term_u2205___closed__1; lean_object* l_instDecidableEqQuotient___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__3; static lean_object* l_term___u2248_____closed__4; lean_object* l_Thunk_map___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_x7b_x7d___closed__5; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__4; -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__6; lean_object* l_Squash_lift(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x7b_x7d___closed__7; static lean_object* l_term_u2205___closed__2; @@ -222,11 +220,11 @@ static lean_object* l_term___x3c_x2d_x3e_____closed__3; static lean_object* l_term___u2194_____closed__5; lean_object* l_Eq_mp(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__6; +static lean_object* l_myMacro____x40_Init_Core___hyg_1519____closed__5; +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__1; lean_object* l_toBoolUsing(lean_object*); lean_object* l_Subtype_instDecidableEqSubtype_match__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__9; -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__1; static lean_object* l_term_u2205___closed__3; lean_object* l_Subtype_instInhabitedSubtype___rarg___boxed(lean_object*, lean_object*); lean_object* l_Decidable_byCases_match__1___rarg(uint8_t, lean_object*, lean_object*); @@ -234,50 +232,53 @@ lean_object* l_instInhabitedProd___rarg(lean_object*, lean_object*); static lean_object* l_term_u2205___closed__5; uint8_t l_instDecidableFalse; lean_object* l_instDecidableArrow(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__6; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__6; static lean_object* l_term___x3c_x2d_x3e_____closed__2; lean_object* l_prodHasDecidableLt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_mk___rarg(lean_object*); lean_object* l_Prod_map___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_task_bind(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__4; lean_object* l_Thunk_bind___rarg(lean_object*, lean_object*); uint8_t l_bne___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1116____closed__9; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__4; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__4; lean_object* l_instDecidableEqSum(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__9; lean_object* l_Subtype_instInhabitedSubtype(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__9; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__17; lean_object* l_Quot_recOnSubsingleton___rarg(lean_object*, lean_object*); lean_object* l_Sum_inhabitedLeft(lean_object*, lean_object*); lean_object* l_Quotient_mk___rarg___boxed(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__2; +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_object* l_Eq_mp___rarg(lean_object*); lean_object* l_instHasEquiv___boxed(lean_object*, lean_object*); lean_object* l_Quotient_liftOn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_inline___rarg___boxed(lean_object*); lean_object* l_Quotient_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__2; lean_object* l_instDecidableEqProd(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__1; lean_object* l_Quot_liftOn(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__8; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__8; static lean_object* l_term___u2194_____closed__6; lean_object* l_instDecidableDite___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1102____boxed(lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1108____rarg(lean_object*); lean_object* l_prodHasDecidableLt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_rec(lean_object*, lean_object*, lean_object*); lean_object* l_Decidable_byCases_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__14; lean_object* l_Subtype_instDecidableEqSubtype_match__1___rarg(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Core___hyg_1229____rarg(lean_object*); lean_object* l_Task_Priority_max; -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__3; -static lean_object* l_myMacro____x40_Init_Core___hyg_1890____closed__3; lean_object* l_instDecidableEqSum_match__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1123____closed__9; lean_object* l_Decidable_byCases_match__1(lean_object*, lean_object*); lean_object* l_Lean_reduceNat___boxed(lean_object*); lean_object* l_Thunk_bind___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1102____rarg(lean_object*); lean_object* l_Eq_ndrecOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Core___hyg_1221____rarg(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_1508____closed__5; lean_object* l_Quotient_rec___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__13; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__1; lean_object* l_Task_pure___boxed(lean_object*, lean_object*); @@ -287,11 +288,9 @@ lean_object* l_Prod_map(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x21_x3d_____closed__4; lean_object* l_instDecidableEqProd_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Quot_indep___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__5; lean_object* l_Eq_mp___rarg___boxed(lean_object*); static lean_object* l_term___u2248_____closed__3; lean_object* l_Decidable_byCases___rarg(uint8_t, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__7; lean_object* l_prodHasDecidableLt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_decidableOfDecidableOfIff___rarg___boxed(lean_object*, lean_object*); lean_object* l_Subtype_instInhabitedSubtype___rarg(lean_object*, lean_object*); @@ -304,32 +303,33 @@ lean_object* l_inline___rarg(lean_object*); lean_object* l_instDecidableEqSum_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Core_0__funSetoid(lean_object*, lean_object*); lean_object* l_Sum_inhabitedRight(lean_object*, lean_object*); -static lean_object* l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1; -static lean_object* l_myMacro____x40_Init_Core___hyg_898____closed__9; uint8_t l_strictAnd(uint8_t, uint8_t); lean_object* l_Quotient_liftOn_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__7; static lean_object* l_term___u2248_____closed__2; uint8_t l_instDecidableArrow___rarg(uint8_t, uint8_t); +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__7; lean_object* l_Squash_mk___rarg(lean_object*); lean_object* l_instDecidableIte(lean_object*, lean_object*, lean_object*); lean_object* l_Thunk_pure___boxed(lean_object*, lean_object*); lean_object* l_decidableOfDecidableOfIff(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__6; lean_object* l___private_Init_Core_0__extfunApp(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Core___hyg_188____closed__5; lean_object* l_Task_spawn___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__13; static lean_object* l_term___u2248_____closed__1; +static lean_object* l_myMacro____x40_Init_Core___hyg_904____closed__5; lean_object* lean_thunk_get_own(lean_object*); lean_object* l_Quotient_hrecOn(lean_object*, lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); -static lean_object* l_myMacro____x40_Init_Core___hyg_184____closed__14; static lean_object* l_term___u2248_____closed__5; +static lean_object* l_myMacro____x40_Init_Core___hyg_1902____closed__3; lean_object* l___private_Init_Core_0__extfunApp___rarg(lean_object*, lean_object*); lean_object* l_Eq_ndrecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_task_get_own(lean_object*); lean_object* l_instInhabitedPUnit; uint8_t l_decidableOfDecidableOfIff___rarg(uint8_t, lean_object*); static lean_object* l_term___u2194_____closed__3; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object*); lean_object* l_Thunk_bind(lean_object*, lean_object*); lean_object* l_instInhabitedTrue; lean_object* l_Quotient_recOn___boxed(lean_object*, lean_object*, lean_object*); @@ -634,7 +634,7 @@ x_1 = l_term___x3c_x2d_x3e_____closed__11; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__1() { _start: { lean_object* x_1; @@ -642,17 +642,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__3() { _start: { lean_object* x_1; @@ -660,17 +660,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_184____closed__2; -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__3; +x_1 = l_myMacro____x40_Init_Core___hyg_188____closed__2; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__5() { _start: { lean_object* x_1; @@ -678,17 +678,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_184____closed__4; -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__5; +x_1 = l_myMacro____x40_Init_Core___hyg_188____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__7() { _start: { lean_object* x_1; @@ -696,17 +696,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_184____closed__6; -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__7; +x_1 = l_myMacro____x40_Init_Core___hyg_188____closed__6; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__9() { _start: { lean_object* x_1; @@ -714,22 +714,22 @@ x_1 = lean_mk_string("Iff"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_184____closed__9; +x_1 = l_myMacro____x40_Init_Core___hyg_188____closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____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_Core___hyg_184____closed__9; +x_1 = l_myMacro____x40_Init_Core___hyg_188____closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__10; +x_3 = l_myMacro____x40_Init_Core___hyg_188____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); @@ -737,41 +737,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____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_Core___hyg_184____closed__9; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__12; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__12; 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_myMacro____x40_Init_Core___hyg_184____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__13; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__13; 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_myMacro____x40_Init_Core___hyg_184____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__15() { _start: { lean_object* x_1; @@ -779,17 +779,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_184____closed__15; +x_2 = l_myMacro____x40_Init_Core___hyg_188____closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_184____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_188____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -798,7 +798,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Core___hyg_184_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_188_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -824,7 +824,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -835,25 +835,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Core___hyg_184____closed__12; +x_17 = l_myMacro____x40_Init_Core___hyg_188____closed__12; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Core___hyg_184____closed__11; -x_20 = l_myMacro____x40_Init_Core___hyg_184____closed__14; +x_19 = l_myMacro____x40_Init_Core___hyg_188____closed__11; +x_20 = l_myMacro____x40_Init_Core___hyg_188____closed__14; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_22 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_25 = l_myMacro____x40_Init_Core___hyg_188____closed__16; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_29 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -873,25 +873,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Core___hyg_184____closed__12; +x_35 = l_myMacro____x40_Init_Core___hyg_188____closed__12; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Core___hyg_184____closed__11; -x_38 = l_myMacro____x40_Init_Core___hyg_184____closed__14; +x_37 = l_myMacro____x40_Init_Core___hyg_188____closed__11; +x_38 = l_myMacro____x40_Init_Core___hyg_188____closed__14; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_40 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_43 = l_myMacro____x40_Init_Core___hyg_188____closed__16; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_47 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -903,7 +903,7 @@ return x_49; } } } -static lean_object* _init_l_unexpand____x40_Init_Core___hyg_168____closed__1() { +static lean_object* _init_l_unexpand____x40_Init_Core___hyg_171____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -912,11 +912,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_unexpand____x40_Init_Core___hyg_168_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Core___hyg_171_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_3 = l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -956,7 +956,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -966,7 +966,7 @@ x_20 = l_term___x3c_x2d_x3e_____closed__5; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_22 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -989,7 +989,7 @@ x_30 = l_term___x3c_x2d_x3e_____closed__5; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_32 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -1080,7 +1080,7 @@ x_1 = l_term___u2194_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Core___hyg_401_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_406_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1106,7 +1106,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1117,25 +1117,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Core___hyg_184____closed__12; +x_17 = l_myMacro____x40_Init_Core___hyg_188____closed__12; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Core___hyg_184____closed__11; -x_20 = l_myMacro____x40_Init_Core___hyg_184____closed__14; +x_19 = l_myMacro____x40_Init_Core___hyg_188____closed__11; +x_20 = l_myMacro____x40_Init_Core___hyg_188____closed__14; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_22 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_25 = l_myMacro____x40_Init_Core___hyg_188____closed__16; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_29 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -1155,25 +1155,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Core___hyg_184____closed__12; +x_35 = l_myMacro____x40_Init_Core___hyg_188____closed__12; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Core___hyg_184____closed__11; -x_38 = l_myMacro____x40_Init_Core___hyg_184____closed__14; +x_37 = l_myMacro____x40_Init_Core___hyg_188____closed__11; +x_38 = l_myMacro____x40_Init_Core___hyg_188____closed__14; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_40 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_43 = l_myMacro____x40_Init_Core___hyg_188____closed__16; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_47 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -1185,11 +1185,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_385_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Core___hyg_389_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_3 = l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -1229,7 +1229,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -1239,7 +1239,7 @@ x_20 = l_term___u2194_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_22 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -1262,7 +1262,7 @@ x_30 = l_term___u2194_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_32 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -1365,7 +1365,7 @@ x_1 = l_term___u2248_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__1() { _start: { lean_object* x_1; @@ -1373,22 +1373,22 @@ x_1 = lean_mk_string("HasEquiv.Equiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_898____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_904____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_898____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_904____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_898____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_904____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); @@ -1396,7 +1396,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__4() { _start: { lean_object* x_1; @@ -1404,17 +1404,17 @@ x_1 = lean_mk_string("HasEquiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_898____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_904____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__6() { _start: { lean_object* x_1; @@ -1422,41 +1422,41 @@ x_1 = lean_mk_string("Equiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_898____closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_898____closed__6; +x_1 = l_myMacro____x40_Init_Core___hyg_904____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_904____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_898____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_898____closed__7; +x_2 = l_myMacro____x40_Init_Core___hyg_904____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_myMacro____x40_Init_Core___hyg_898____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_904____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_898____closed__8; +x_2 = l_myMacro____x40_Init_Core___hyg_904____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_myMacro____x40_Init_Core___hyg_898_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_904_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1482,7 +1482,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1493,25 +1493,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Core___hyg_898____closed__7; +x_17 = l_myMacro____x40_Init_Core___hyg_904____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Core___hyg_898____closed__3; -x_20 = l_myMacro____x40_Init_Core___hyg_898____closed__9; +x_19 = l_myMacro____x40_Init_Core___hyg_904____closed__3; +x_20 = l_myMacro____x40_Init_Core___hyg_904____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_22 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_25 = l_myMacro____x40_Init_Core___hyg_188____closed__16; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_29 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -1531,25 +1531,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Core___hyg_898____closed__7; +x_35 = l_myMacro____x40_Init_Core___hyg_904____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Core___hyg_898____closed__3; -x_38 = l_myMacro____x40_Init_Core___hyg_898____closed__9; +x_37 = l_myMacro____x40_Init_Core___hyg_904____closed__3; +x_38 = l_myMacro____x40_Init_Core___hyg_904____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_40 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_43 = l_myMacro____x40_Init_Core___hyg_188____closed__16; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_47 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -1561,11 +1561,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_882_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Core___hyg_887_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_3 = l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -1605,7 +1605,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -1615,7 +1615,7 @@ x_20 = l_term___u2248_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_22 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -1638,7 +1638,7 @@ x_30 = l_term___u2248_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_32 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -1745,7 +1745,7 @@ x_1 = l_term_x7b_x7d___closed__8; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__1() { _start: { lean_object* x_1; @@ -1753,22 +1753,22 @@ x_1 = lean_mk_string("EmptyCollection.emptyCollection"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_1116____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1123____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_1116____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1123____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_1116____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_1123____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); @@ -1776,7 +1776,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__4() { _start: { lean_object* x_1; @@ -1784,17 +1784,17 @@ x_1 = lean_mk_string("EmptyCollection"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1116____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_1123____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__6() { _start: { lean_object* x_1; @@ -1802,41 +1802,41 @@ x_1 = lean_mk_string("emptyCollection"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_1116____closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_1116____closed__6; +x_1 = l_myMacro____x40_Init_Core___hyg_1123____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1123____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1116____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1116____closed__7; +x_2 = l_myMacro____x40_Init_Core___hyg_1123____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_myMacro____x40_Init_Core___hyg_1116____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1123____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1116____closed__8; +x_2 = l_myMacro____x40_Init_Core___hyg_1123____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_myMacro____x40_Init_Core___hyg_1116_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1123_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1855,7 +1855,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -1866,10 +1866,10 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_2, 1); lean_inc(x_12); lean_dec(x_2); -x_13 = l_myMacro____x40_Init_Core___hyg_1116____closed__7; +x_13 = l_myMacro____x40_Init_Core___hyg_1123____closed__7; x_14 = l_Lean_addMacroScope(x_12, x_13, x_11); -x_15 = l_myMacro____x40_Init_Core___hyg_1116____closed__3; -x_16 = l_myMacro____x40_Init_Core___hyg_1116____closed__9; +x_15 = l_myMacro____x40_Init_Core___hyg_1123____closed__3; +x_16 = l_myMacro____x40_Init_Core___hyg_1123____closed__9; x_17 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_17, 0, x_10); lean_ctor_set(x_17, 1, x_15); @@ -1891,10 +1891,10 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_2, 1); lean_inc(x_21); lean_dec(x_2); -x_22 = l_myMacro____x40_Init_Core___hyg_1116____closed__7; +x_22 = l_myMacro____x40_Init_Core___hyg_1123____closed__7; x_23 = l_Lean_addMacroScope(x_21, x_22, x_20); -x_24 = l_myMacro____x40_Init_Core___hyg_1116____closed__3; -x_25 = l_myMacro____x40_Init_Core___hyg_1116____closed__9; +x_24 = l_myMacro____x40_Init_Core___hyg_1123____closed__3; +x_25 = l_myMacro____x40_Init_Core___hyg_1123____closed__9; x_26 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_26, 0, x_18); lean_ctor_set(x_26, 1, x_24); @@ -1908,11 +1908,11 @@ return x_27; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_1102____rarg(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1108____rarg(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_1); +x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_1); x_3 = !lean_is_exclusive(x_2); if (x_3 == 0) { @@ -1927,7 +1927,7 @@ x_7 = l_term_x7b_x7d___closed__5; x_8 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_8, 0, x_4); lean_ctor_set(x_8, 1, x_7); -x_9 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_9 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_10 = lean_array_push(x_9, x_6); x_11 = lean_array_push(x_10, x_8); x_12 = l_term_x7b_x7d___closed__2; @@ -1954,7 +1954,7 @@ x_18 = l_term_x7b_x7d___closed__5; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_14); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_20 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_21 = lean_array_push(x_20, x_17); x_22 = lean_array_push(x_21, x_19); x_23 = l_term_x7b_x7d___closed__2; @@ -1968,19 +1968,19 @@ return x_25; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_1102_(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1108_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_unexpand____x40_Init_Core___hyg_1102____rarg), 1, 0); +x_2 = lean_alloc_closure((void*)(l_unexpand____x40_Init_Core___hyg_1108____rarg), 1, 0); return x_2; } } -lean_object* l_unexpand____x40_Init_Core___hyg_1102____boxed(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1108____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_unexpand____x40_Init_Core___hyg_1102_(x_1); +x_2 = l_unexpand____x40_Init_Core___hyg_1108_(x_1); lean_dec(x_1); return x_2; } @@ -2043,7 +2043,7 @@ x_1 = l_term_u2205___closed__5; return x_1; } } -lean_object* l_myMacro____x40_Init_Core___hyg_1231_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1240_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2062,7 +2062,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -2073,10 +2073,10 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_2, 1); lean_inc(x_12); lean_dec(x_2); -x_13 = l_myMacro____x40_Init_Core___hyg_1116____closed__7; +x_13 = l_myMacro____x40_Init_Core___hyg_1123____closed__7; x_14 = l_Lean_addMacroScope(x_12, x_13, x_11); -x_15 = l_myMacro____x40_Init_Core___hyg_1116____closed__3; -x_16 = l_myMacro____x40_Init_Core___hyg_1116____closed__9; +x_15 = l_myMacro____x40_Init_Core___hyg_1123____closed__3; +x_16 = l_myMacro____x40_Init_Core___hyg_1123____closed__9; x_17 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_17, 0, x_10); lean_ctor_set(x_17, 1, x_15); @@ -2098,10 +2098,10 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_2, 1); lean_inc(x_21); lean_dec(x_2); -x_22 = l_myMacro____x40_Init_Core___hyg_1116____closed__7; +x_22 = l_myMacro____x40_Init_Core___hyg_1123____closed__7; x_23 = l_Lean_addMacroScope(x_21, x_22, x_20); -x_24 = l_myMacro____x40_Init_Core___hyg_1116____closed__3; -x_25 = l_myMacro____x40_Init_Core___hyg_1116____closed__9; +x_24 = l_myMacro____x40_Init_Core___hyg_1123____closed__3; +x_25 = l_myMacro____x40_Init_Core___hyg_1123____closed__9; x_26 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_26, 0, x_18); lean_ctor_set(x_26, 1, x_24); @@ -2115,7 +2115,7 @@ return x_27; } } } -static lean_object* _init_l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1() { +static lean_object* _init_l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2124,11 +2124,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_unexpand____x40_Init_Core___hyg_1221____rarg(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1229____rarg(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_1); +x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_1); x_3 = !lean_is_exclusive(x_2); if (x_3 == 0) { @@ -2138,7 +2138,7 @@ x_5 = l_term_u2205___closed__3; x_6 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_6, 0, x_4); lean_ctor_set(x_6, 1, x_5); -x_7 = l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1; +x_7 = l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1; x_8 = lean_array_push(x_7, x_6); x_9 = l_term_u2205___closed__2; x_10 = lean_alloc_ctor(1, 2, 0); @@ -2159,7 +2159,7 @@ x_13 = l_term_u2205___closed__3; x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_11); lean_ctor_set(x_14, 1, x_13); -x_15 = l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1; +x_15 = l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1; x_16 = lean_array_push(x_15, x_14); x_17 = l_term_u2205___closed__2; x_18 = lean_alloc_ctor(1, 2, 0); @@ -2172,19 +2172,19 @@ return x_19; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_1221_(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1229_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_unexpand____x40_Init_Core___hyg_1221____rarg), 1, 0); +x_2 = lean_alloc_closure((void*)(l_unexpand____x40_Init_Core___hyg_1229____rarg), 1, 0); return x_2; } } -lean_object* l_unexpand____x40_Init_Core___hyg_1221____boxed(lean_object* x_1) { +lean_object* l_unexpand____x40_Init_Core___hyg_1229____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_unexpand____x40_Init_Core___hyg_1221_(x_1); +x_2 = l_unexpand____x40_Init_Core___hyg_1229_(x_1); lean_dec(x_1); return x_2; } @@ -2408,7 +2408,7 @@ x_1 = l_term___x21_x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1508____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__1() { _start: { lean_object* x_1; @@ -2416,22 +2416,22 @@ x_1 = lean_mk_string("bne"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1508____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_1508____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1519____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1508____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_1508____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1519____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_1508____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_1519____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); @@ -2439,41 +2439,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1508____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1508____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1519____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1508____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1508____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_1519____closed__4; 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_myMacro____x40_Init_Core___hyg_1508____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1519____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1508____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1519____closed__5; 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_myMacro____x40_Init_Core___hyg_1508_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1519_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2499,7 +2499,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -2510,25 +2510,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Core___hyg_1508____closed__4; +x_17 = l_myMacro____x40_Init_Core___hyg_1519____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Core___hyg_1508____closed__3; -x_20 = l_myMacro____x40_Init_Core___hyg_1508____closed__6; +x_19 = l_myMacro____x40_Init_Core___hyg_1519____closed__3; +x_20 = l_myMacro____x40_Init_Core___hyg_1519____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_22 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_25 = l_myMacro____x40_Init_Core___hyg_188____closed__16; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_29 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -2548,25 +2548,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Core___hyg_1508____closed__4; +x_35 = l_myMacro____x40_Init_Core___hyg_1519____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Core___hyg_1508____closed__3; -x_38 = l_myMacro____x40_Init_Core___hyg_1508____closed__6; +x_37 = l_myMacro____x40_Init_Core___hyg_1519____closed__3; +x_38 = l_myMacro____x40_Init_Core___hyg_1519____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_40 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_43 = l_myMacro____x40_Init_Core___hyg_188____closed__16; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_47 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -2578,11 +2578,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_1492_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Core___hyg_1502_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_3 = l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -2622,7 +2622,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -2632,7 +2632,7 @@ x_20 = l_term___x21_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_22 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -2655,7 +2655,7 @@ x_30 = l_term___x21_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_32 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -2794,7 +2794,7 @@ x_1 = l_term___u2260_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1890____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__1() { _start: { lean_object* x_1; @@ -2802,22 +2802,22 @@ x_1 = lean_mk_string("Ne"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1890____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_1890____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1902____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1890____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_1890____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1902____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_1890____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_1902____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); @@ -2825,41 +2825,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1890____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1890____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1902____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1890____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1890____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_1902____closed__4; 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_myMacro____x40_Init_Core___hyg_1890____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1902____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1890____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1902____closed__5; 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_myMacro____x40_Init_Core___hyg_1890_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1902_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2885,7 +2885,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -2896,25 +2896,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Core___hyg_1890____closed__4; +x_17 = l_myMacro____x40_Init_Core___hyg_1902____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Core___hyg_1890____closed__3; -x_20 = l_myMacro____x40_Init_Core___hyg_1890____closed__6; +x_19 = l_myMacro____x40_Init_Core___hyg_1902____closed__3; +x_20 = l_myMacro____x40_Init_Core___hyg_1902____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_22 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_25 = l_myMacro____x40_Init_Core___hyg_188____closed__16; 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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_29 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -2934,25 +2934,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Core___hyg_1890____closed__4; +x_35 = l_myMacro____x40_Init_Core___hyg_1902____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Core___hyg_1890____closed__3; -x_38 = l_myMacro____x40_Init_Core___hyg_1890____closed__6; +x_37 = l_myMacro____x40_Init_Core___hyg_1902____closed__3; +x_38 = l_myMacro____x40_Init_Core___hyg_1902____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Core___hyg_184____closed__17; +x_40 = l_myMacro____x40_Init_Core___hyg_188____closed__17; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Core___hyg_184____closed__16; +x_43 = l_myMacro____x40_Init_Core___hyg_188____closed__16; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_47 = l_myMacro____x40_Init_Core___hyg_188____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -2964,11 +2964,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Core___hyg_1874_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Core___hyg_1885_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Core___hyg_184____closed__8; +x_3 = l_myMacro____x40_Init_Core___hyg_188____closed__8; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -3008,7 +3008,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -3018,7 +3018,7 @@ x_20 = l_term___u2260_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_22 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -3041,7 +3041,7 @@ x_30 = l_term___u2260_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Core___hyg_168____closed__1; +x_32 = l_unexpand____x40_Init_Core___hyg_171____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -4579,42 +4579,42 @@ l_term___x3c_x2d_x3e_____closed__11 = _init_l_term___x3c_x2d_x3e_____closed__11( lean_mark_persistent(l_term___x3c_x2d_x3e_____closed__11); l_term___x3c_x2d_x3e__ = _init_l_term___x3c_x2d_x3e__(); lean_mark_persistent(l_term___x3c_x2d_x3e__); -l_myMacro____x40_Init_Core___hyg_184____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__1); -l_myMacro____x40_Init_Core___hyg_184____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__2); -l_myMacro____x40_Init_Core___hyg_184____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__3); -l_myMacro____x40_Init_Core___hyg_184____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__4); -l_myMacro____x40_Init_Core___hyg_184____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__5); -l_myMacro____x40_Init_Core___hyg_184____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__6); -l_myMacro____x40_Init_Core___hyg_184____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__7); -l_myMacro____x40_Init_Core___hyg_184____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__8); -l_myMacro____x40_Init_Core___hyg_184____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__9); -l_myMacro____x40_Init_Core___hyg_184____closed__10 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__10); -l_myMacro____x40_Init_Core___hyg_184____closed__11 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__11); -l_myMacro____x40_Init_Core___hyg_184____closed__12 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__12); -l_myMacro____x40_Init_Core___hyg_184____closed__13 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__13); -l_myMacro____x40_Init_Core___hyg_184____closed__14 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__14); -l_myMacro____x40_Init_Core___hyg_184____closed__15 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__15); -l_myMacro____x40_Init_Core___hyg_184____closed__16 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__16); -l_myMacro____x40_Init_Core___hyg_184____closed__17 = _init_l_myMacro____x40_Init_Core___hyg_184____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_184____closed__17); -l_unexpand____x40_Init_Core___hyg_168____closed__1 = _init_l_unexpand____x40_Init_Core___hyg_168____closed__1(); -lean_mark_persistent(l_unexpand____x40_Init_Core___hyg_168____closed__1); +l_myMacro____x40_Init_Core___hyg_188____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__1); +l_myMacro____x40_Init_Core___hyg_188____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__2); +l_myMacro____x40_Init_Core___hyg_188____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__3); +l_myMacro____x40_Init_Core___hyg_188____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__4); +l_myMacro____x40_Init_Core___hyg_188____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__5); +l_myMacro____x40_Init_Core___hyg_188____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__6); +l_myMacro____x40_Init_Core___hyg_188____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__7); +l_myMacro____x40_Init_Core___hyg_188____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__8); +l_myMacro____x40_Init_Core___hyg_188____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__9); +l_myMacro____x40_Init_Core___hyg_188____closed__10 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__10); +l_myMacro____x40_Init_Core___hyg_188____closed__11 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__11); +l_myMacro____x40_Init_Core___hyg_188____closed__12 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__12); +l_myMacro____x40_Init_Core___hyg_188____closed__13 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__13); +l_myMacro____x40_Init_Core___hyg_188____closed__14 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__14); +l_myMacro____x40_Init_Core___hyg_188____closed__15 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__15); +l_myMacro____x40_Init_Core___hyg_188____closed__16 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__16); +l_myMacro____x40_Init_Core___hyg_188____closed__17 = _init_l_myMacro____x40_Init_Core___hyg_188____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_188____closed__17); +l_unexpand____x40_Init_Core___hyg_171____closed__1 = _init_l_unexpand____x40_Init_Core___hyg_171____closed__1(); +lean_mark_persistent(l_unexpand____x40_Init_Core___hyg_171____closed__1); l_term___u2194_____closed__1 = _init_l_term___u2194_____closed__1(); lean_mark_persistent(l_term___u2194_____closed__1); l_term___u2194_____closed__2 = _init_l_term___u2194_____closed__2(); @@ -4645,24 +4645,24 @@ l_term___u2248_____closed__7 = _init_l_term___u2248_____closed__7(); lean_mark_persistent(l_term___u2248_____closed__7); l_term___u2248__ = _init_l_term___u2248__(); lean_mark_persistent(l_term___u2248__); -l_myMacro____x40_Init_Core___hyg_898____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__1); -l_myMacro____x40_Init_Core___hyg_898____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__2); -l_myMacro____x40_Init_Core___hyg_898____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__3); -l_myMacro____x40_Init_Core___hyg_898____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__4); -l_myMacro____x40_Init_Core___hyg_898____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__5); -l_myMacro____x40_Init_Core___hyg_898____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__6); -l_myMacro____x40_Init_Core___hyg_898____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__7); -l_myMacro____x40_Init_Core___hyg_898____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__8); -l_myMacro____x40_Init_Core___hyg_898____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_898____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_898____closed__9); +l_myMacro____x40_Init_Core___hyg_904____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__1); +l_myMacro____x40_Init_Core___hyg_904____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__2); +l_myMacro____x40_Init_Core___hyg_904____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__3); +l_myMacro____x40_Init_Core___hyg_904____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__4); +l_myMacro____x40_Init_Core___hyg_904____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__5); +l_myMacro____x40_Init_Core___hyg_904____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__6); +l_myMacro____x40_Init_Core___hyg_904____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__7); +l_myMacro____x40_Init_Core___hyg_904____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__8); +l_myMacro____x40_Init_Core___hyg_904____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_904____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_904____closed__9); l_term_x7b_x7d___closed__1 = _init_l_term_x7b_x7d___closed__1(); lean_mark_persistent(l_term_x7b_x7d___closed__1); l_term_x7b_x7d___closed__2 = _init_l_term_x7b_x7d___closed__2(); @@ -4681,24 +4681,24 @@ l_term_x7b_x7d___closed__8 = _init_l_term_x7b_x7d___closed__8(); lean_mark_persistent(l_term_x7b_x7d___closed__8); l_term_x7b_x7d = _init_l_term_x7b_x7d(); lean_mark_persistent(l_term_x7b_x7d); -l_myMacro____x40_Init_Core___hyg_1116____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__1); -l_myMacro____x40_Init_Core___hyg_1116____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__2); -l_myMacro____x40_Init_Core___hyg_1116____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__3); -l_myMacro____x40_Init_Core___hyg_1116____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__4); -l_myMacro____x40_Init_Core___hyg_1116____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__5); -l_myMacro____x40_Init_Core___hyg_1116____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__6); -l_myMacro____x40_Init_Core___hyg_1116____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__7); -l_myMacro____x40_Init_Core___hyg_1116____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__8); -l_myMacro____x40_Init_Core___hyg_1116____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_1116____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1116____closed__9); +l_myMacro____x40_Init_Core___hyg_1123____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__1); +l_myMacro____x40_Init_Core___hyg_1123____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__2); +l_myMacro____x40_Init_Core___hyg_1123____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__3); +l_myMacro____x40_Init_Core___hyg_1123____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__4); +l_myMacro____x40_Init_Core___hyg_1123____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__5); +l_myMacro____x40_Init_Core___hyg_1123____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__6); +l_myMacro____x40_Init_Core___hyg_1123____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__7); +l_myMacro____x40_Init_Core___hyg_1123____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__8); +l_myMacro____x40_Init_Core___hyg_1123____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_1123____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1123____closed__9); l_term_u2205___closed__1 = _init_l_term_u2205___closed__1(); lean_mark_persistent(l_term_u2205___closed__1); l_term_u2205___closed__2 = _init_l_term_u2205___closed__2(); @@ -4711,8 +4711,8 @@ l_term_u2205___closed__5 = _init_l_term_u2205___closed__5(); lean_mark_persistent(l_term_u2205___closed__5); l_term_u2205 = _init_l_term_u2205(); lean_mark_persistent(l_term_u2205); -l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1 = _init_l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1(); -lean_mark_persistent(l_unexpand____x40_Init_Core___hyg_1221____rarg___closed__1); +l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1 = _init_l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1(); +lean_mark_persistent(l_unexpand____x40_Init_Core___hyg_1229____rarg___closed__1); l_Task_Priority_default = _init_l_Task_Priority_default(); lean_mark_persistent(l_Task_Priority_default); l_Task_Priority_max = _init_l_Task_Priority_max(); @@ -4733,18 +4733,18 @@ l_term___x21_x3d_____closed__6 = _init_l_term___x21_x3d_____closed__6(); lean_mark_persistent(l_term___x21_x3d_____closed__6); l_term___x21_x3d__ = _init_l_term___x21_x3d__(); lean_mark_persistent(l_term___x21_x3d__); -l_myMacro____x40_Init_Core___hyg_1508____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__1); -l_myMacro____x40_Init_Core___hyg_1508____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__2); -l_myMacro____x40_Init_Core___hyg_1508____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__3); -l_myMacro____x40_Init_Core___hyg_1508____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__4); -l_myMacro____x40_Init_Core___hyg_1508____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__5); -l_myMacro____x40_Init_Core___hyg_1508____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1508____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1508____closed__6); +l_myMacro____x40_Init_Core___hyg_1519____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__1); +l_myMacro____x40_Init_Core___hyg_1519____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__2); +l_myMacro____x40_Init_Core___hyg_1519____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__3); +l_myMacro____x40_Init_Core___hyg_1519____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__4); +l_myMacro____x40_Init_Core___hyg_1519____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__5); +l_myMacro____x40_Init_Core___hyg_1519____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1519____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1519____closed__6); l_term___u2260_____closed__1 = _init_l_term___u2260_____closed__1(); lean_mark_persistent(l_term___u2260_____closed__1); l_term___u2260_____closed__2 = _init_l_term___u2260_____closed__2(); @@ -4759,18 +4759,18 @@ l_term___u2260_____closed__6 = _init_l_term___u2260_____closed__6(); lean_mark_persistent(l_term___u2260_____closed__6); l_term___u2260__ = _init_l_term___u2260__(); lean_mark_persistent(l_term___u2260__); -l_myMacro____x40_Init_Core___hyg_1890____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__1); -l_myMacro____x40_Init_Core___hyg_1890____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__2); -l_myMacro____x40_Init_Core___hyg_1890____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__3); -l_myMacro____x40_Init_Core___hyg_1890____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__4); -l_myMacro____x40_Init_Core___hyg_1890____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__5); -l_myMacro____x40_Init_Core___hyg_1890____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1890____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1890____closed__6); +l_myMacro____x40_Init_Core___hyg_1902____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__1); +l_myMacro____x40_Init_Core___hyg_1902____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__2); +l_myMacro____x40_Init_Core___hyg_1902____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__3); +l_myMacro____x40_Init_Core___hyg_1902____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__4); +l_myMacro____x40_Init_Core___hyg_1902____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__5); +l_myMacro____x40_Init_Core___hyg_1902____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1902____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1902____closed__6); l_instDecidableTrue = _init_l_instDecidableTrue(); l_instDecidableFalse = _init_l_instDecidableFalse(); l_instInhabitedProp = _init_l_instInhabitedProp(); diff --git a/stage0/stdlib/Init/Data/Array/Basic.c b/stage0/stdlib/Init/Data/Array/Basic.c index f09a0bd9da..e2b2661ea1 100644 --- a/stage0/stdlib/Init/Data/Array/Basic.c +++ b/stage0/stdlib/Init/Data/Array/Basic.c @@ -15,13 +15,13 @@ extern "C" { #endif lean_object* l_Array_foldrMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_List_foldl___at_Array_appendList___spec__1(lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25; lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMap___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forM(lean_object*, lean_object*); lean_object* l_Array_findM_x3f(lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11; lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getMax_x3f___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,6 +32,7 @@ lean_object* l_Array_partition_match__1(lean_object*, lean_object*); lean_object* l_Array_instBEqArray(lean_object*); lean_object* l_Array_toListLitAux_match__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_instReprArray___rarg___closed__5; +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19; lean_object* l_Array_elem___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x23_x5b___x2c_x5d___closed__8; lean_object* l_Array_filterM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -39,8 +40,8 @@ lean_object* l_Array_indexOfAux___rarg(lean_object*, lean_object*, lean_object*, static lean_object* l_term_x23_x5b___x2c_x5d___closed__3; lean_object* l_Array_filterMapM___at_Array_filterMap___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14; lean_object* l_Array_back_x3f(lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Array_findSomeM_x3f___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,7 +84,6 @@ lean_object* l_Array_filterMapM___rarg___lambda__1(lean_object*, lean_object*, l lean_object* l_Array_mapMUnsafe_map___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_swapAt(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); @@ -99,12 +99,14 @@ lean_object* l_Std_Format_joinSep___at_Array_instReprArray___spec__1(lean_object size_t l_USize_sub(size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x21___spec__1(lean_object*, lean_object*); lean_object* l_Array_modifyOp(lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24; static lean_object* l_term_x23_x5b___x2c_x5d___closed__9; lean_object* l_Array_modifyM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdxSzAuxInstance___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any(lean_object*, lean_object*); lean_object* l_Array_instForInArray___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_uget___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7; static lean_object* l_Array_instReprArray___rarg___closed__6; lean_object* l_Array_foldl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,8 +145,8 @@ lean_object* l_Array_eraseIdxSzAux_match__1___rarg(lean_object*, lean_object*, l lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRev_x3f___rarg(lean_object*, lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15; lean_object* l_Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22; lean_object* l_Array_findIdxM_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f___rarg(lean_object*, lean_object*); @@ -155,6 +157,7 @@ lean_object* l_Array_findM_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16; lean_object* l_Array_foldrMUnsafe_fold___at_Array_foldr___spec__2___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_singleton(lean_object*); lean_object* l_Array_find_x3f(lean_object*); @@ -183,9 +186,11 @@ lean_object* l_Array_isEqvAux(lean_object*); lean_object* l_Array_forIn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21; lean_object* l_Array_partition(lean_object*); lean_object* l_Array_mapMUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Array_zipWithAux___at_Array_zip___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20; lean_object* l_Array_mapIdx___rarg(lean_object*, lean_object*); lean_object* l_Array_getMax_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_swap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,6 +201,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Array_find_x3f___spec__1(lean_object* lean_object* l_Array_swap_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forIn_loop(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlM(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__10; lean_object* l_Array_foldrM(lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse_rev(lean_object*); lean_object* l_Array_findSomeRev_x3f(lean_object*, lean_object*); @@ -221,17 +227,18 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMapM___spec__1___rarg___ lean_object* l_Array_findIdx_x3f_loop(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_unzip___spec__1(lean_object*, lean_object*); lean_object* l_Array_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux(lean_object*); lean_object* l_Array_eraseIdxAux_match__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23; lean_object* l_Array_foldlM_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_instAppendArray___closed__1; lean_object* l_Array_toArrayLit___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_shrink_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_all___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -240,6 +247,7 @@ lean_object* l_Array_filter___rarg___boxed(lean_object*, lean_object*, lean_obje lean_object* l_Array_eraseIdx_x27___rarg___boxed(lean_object*, lean_object*); lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13; lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__1(lean_object*); lean_object* l_Array_get_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f___rarg___boxed(lean_object*, lean_object*); @@ -256,12 +264,12 @@ uint8_t l_Array_instBEqArray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOf_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, uint8_t); static lean_object* l_Array_instReprArray___rarg___closed__9; -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19; lean_object* l_Array_anyMUnsafe_any___at_Array_contains___spec__1(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_any___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_allM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_partition_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_allDiff(lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12; lean_object* l_Array_findIdxM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_pop___boxed(lean_object*, lean_object*); @@ -306,8 +314,6 @@ lean_object* l_Array_toListLitAux_match__1___rarg(lean_object*, lean_object*, le lean_object* l_Array_forInUnsafe_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_swapAt_x21___rarg___closed__4; -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20; -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16; lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getLit___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*); @@ -333,19 +339,21 @@ lean_object* l_Array_modify___rarg___boxed(lean_object*, lean_object*, lean_obje lean_object* l_List_toString___rarg(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5; lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRev_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_x23_x5b___x2c_x5d___closed__15; lean_object* l_Array_indexOfAux(lean_object*); static lean_object* l_Array_instReprArray___rarg___closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMap___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12; lean_object* l_Array_append(lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14; lean_object* l_Array_instToStringArray(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findM_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Array_any___spec__1___rarg(lean_object*, lean_object*, size_t, size_t); static lean_object* l_term_x23_x5b___x2c_x5d___closed__14; lean_object* l_Array_findRevM_x3f(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18; lean_object* l_Array_forInUnsafe_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMapM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_unzip___rarg(lean_object*); @@ -364,7 +372,6 @@ lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___boxed(lea lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11; lean_object* l_Array_forIn_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_forM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_isPrefixOfAux(lean_object*); @@ -406,6 +413,7 @@ lean_object* l_Array_findSomeRevM_x3f_find_match__1___rarg(lean_object*, lean_ob lean_object* l_Array_anyMUnsafe_any___at_Array_any___spec__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1(lean_object*, lean_object*); lean_object* l_Array_find_x3f___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3; lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMapM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_mapM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); @@ -424,7 +432,7 @@ static lean_object* l_Array_insertAt___rarg___closed__1; lean_object* l_Array_findSome_x3f(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1(lean_object*, lean_object*); static lean_object* l_Array_swapAt_x21___rarg___closed__3; -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21; +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9; lean_object* l_Array_instReprArray(lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux(lean_object*); lean_object* l_Array_zip(lean_object*, lean_object*); @@ -436,15 +444,14 @@ lean_object* l_Array_findSomeRevM_x3f_find_match__1(lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Array_indexOf_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyM_loop(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23; static lean_object* l_term_x23_x5b___x2c_x5d___closed__7; lean_object* l_Array_foldlMUnsafe_fold___at_Array_forM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forRevM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_foldl___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13; lean_object* l_Array_indexOf_x3f(lean_object*); lean_object* l_Array_partition___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17; lean_object* l_Array_mapIdxM_map_match__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEqv___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_partition___rarg___closed__1; @@ -483,6 +490,7 @@ lean_object* l_Array_reverse_rev___rarg___boxed(lean_object*, lean_object*, lean static lean_object* l_term_x23_x5b___x2c_x5d___closed__10; lean_object* l_Array_zipWithAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_filter___spec__1(lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8; lean_object* l_Array_foldlMUnsafe_fold___at_Array_mapM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_foldr___spec__2(lean_object*, lean_object*); @@ -491,7 +499,6 @@ lean_object* l_Array_back___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_instAppendArray(lean_object*); lean_object* l_Array_modifyOp___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_unzip___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4; lean_object* l_Array_forInUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getEvenElems___rarg(lean_object*); @@ -502,7 +509,6 @@ lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findSomeRev_x3f___spec__1_ lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_concatMapM___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17; lean_object* l_Array_forIn_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdx___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_findSomeRev_x3f___rarg___boxed(lean_object*, lean_object*); @@ -515,7 +521,6 @@ lean_object* l_Array_findSome_x21(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_get_x3f(lean_object*); lean_object* l_Array_get_x3f___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8; lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_find_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -549,7 +554,6 @@ lean_object* lean_string_length(lean_object*); lean_object* l_Array_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_erase_match__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMap___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6; static lean_object* l_Array_instReprArray___rarg___closed__8; lean_object* l_Array_forRevM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_instForInArray(lean_object*, lean_object*, lean_object*); @@ -563,14 +567,11 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg(lean_ lean_object* l_Array_instInhabitedArray(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_partition___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9; lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_forIn_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlM_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrM_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18; -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15; lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterMap___spec__2(lean_object*, lean_object*); lean_object* l_Array_unzip_match__2___rarg(lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -579,10 +580,8 @@ lean_object* l_Array_findSomeRevM_x3f_find___rarg___lambda__1___boxed(lean_objec lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_isEqvAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains(lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10; lean_object* l_Array_insertAtAux___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3; lean_object* l_Array_forInUnsafe_loop___at_Array_find_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSome_x21___rarg(lean_object*, lean_object*, lean_object*); @@ -615,16 +614,14 @@ lean_object* l_Array_filter___rarg(lean_object*, lean_object*, lean_object*, lea uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrM_fold(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1; lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Array_map___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620_(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Array_eraseIdxSzAux_match__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_instHAppendArrayListArray(lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2; lean_object* l_Array_eraseIdxAux___rarg(lean_object*, lean_object*); static lean_object* l_Array_instReprArray___rarg___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Array_forRevM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -633,6 +630,8 @@ lean_object* l_Array_zipWithAux___at_Array_zip___spec__1(lean_object*, lean_obje lean_object* l_Array_foldlMUnsafe_fold___at_Array_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_split___spec__1(lean_object*); lean_object* l_Array_mapIdxM_map___at_Array_mapIdx___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1; +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2; lean_object* l_Array_findSomeM_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_findIdxM_x3f___rarg___closed__1; lean_object* l_Array_isEqvAux_match__1___rarg(uint8_t, lean_object*, lean_object*); @@ -641,6 +640,8 @@ lean_object* l_Array_anyMUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object* l_Array_getEvenElems_match__1___rarg(lean_object*, lean_object*); static lean_object* l_term_x23_x5b___x2c_x5d___closed__6; lean_object* l_Array_concatMap___rarg(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25; +static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6; lean_object* l_Array_foldrMUnsafe_fold___at_Array_forRevM___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_any___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -652,7 +653,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterMap___spec__2___rarg___b lean_object* l_Array_indexOfAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f_match__1(lean_object*, lean_object*); lean_object* l_Array_foldrM_fold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5; lean_object* l_Array_foldl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkArray___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -7838,7 +7838,7 @@ x_1 = l_term_x23_x5b___x2c_x5d___closed__15; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1() { _start: { lean_object* x_1; @@ -7846,17 +7846,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3() { _start: { lean_object* x_1; @@ -7864,17 +7864,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5() { _start: { lean_object* x_1; @@ -7882,17 +7882,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7() { _start: { lean_object* x_1; @@ -7900,17 +7900,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9() { _start: { lean_object* x_1; @@ -7918,22 +7918,22 @@ x_1 = lean_mk_string("List.toArray"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____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_Data_Array_Basic___hyg_3614____closed__9; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10; +x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____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); @@ -7941,7 +7941,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12() { _start: { lean_object* x_1; @@ -7949,17 +7949,17 @@ x_1 = lean_mk_string("List"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14() { _start: { lean_object* x_1; @@ -7967,41 +7967,41 @@ x_1 = lean_mk_string("toArray"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15; 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_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16; 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_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18() { _start: { lean_object* x_1; @@ -8009,17 +8009,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20() { _start: { lean_object* x_1; @@ -8027,17 +8027,17 @@ x_1 = lean_mk_string("term[_]"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22() { _start: { lean_object* x_1; @@ -8045,7 +8045,7 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -8054,7 +8054,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -8063,7 +8063,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -8072,7 +8072,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3614_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3620_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -8098,7 +8098,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_10 = l_Lean_Syntax_getArgs(x_9); lean_dec(x_9); -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -8109,17 +8109,17 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_2, 1); lean_inc(x_15); lean_dec(x_2); -x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15; +x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15; x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); -x_18 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11; -x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17; +x_18 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11; +x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17; lean_inc(x_13); x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_13); lean_ctor_set(x_20, 1, x_18); lean_ctor_set(x_20, 2, x_17); lean_ctor_set(x_20, 3, x_19); -x_21 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22; +x_21 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22; lean_inc(x_13); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_13); @@ -8127,7 +8127,7 @@ lean_ctor_set(x_22, 1, x_21); x_23 = l_Array_instEmptyCollectionArray___closed__1; x_24 = l_Array_append___rarg(x_23, x_10); lean_dec(x_10); -x_25 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19; +x_25 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -8135,23 +8135,23 @@ x_27 = l_Array_instReprArray___rarg___closed__8; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_13); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23; +x_29 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23; x_30 = lean_array_push(x_29, x_22); x_31 = lean_array_push(x_30, x_26); x_32 = lean_array_push(x_31, x_28); -x_33 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21; +x_33 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21; 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_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24; +x_35 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24; x_36 = lean_array_push(x_35, x_34); x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_25); lean_ctor_set(x_37, 1, x_36); -x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25; +x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25; x_39 = lean_array_push(x_38, x_20); x_40 = lean_array_push(x_39, x_37); -x_41 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8; +x_41 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8; x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -8171,17 +8171,17 @@ lean_inc(x_45); x_46 = lean_ctor_get(x_2, 1); lean_inc(x_46); lean_dec(x_2); -x_47 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15; +x_47 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15; x_48 = l_Lean_addMacroScope(x_46, x_47, x_45); -x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11; -x_50 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17; +x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11; +x_50 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17; lean_inc(x_43); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_43); lean_ctor_set(x_51, 1, x_49); lean_ctor_set(x_51, 2, x_48); lean_ctor_set(x_51, 3, x_50); -x_52 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22; +x_52 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22; lean_inc(x_43); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_43); @@ -8189,7 +8189,7 @@ lean_ctor_set(x_53, 1, x_52); x_54 = l_Array_instEmptyCollectionArray___closed__1; x_55 = l_Array_append___rarg(x_54, x_10); lean_dec(x_10); -x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19; +x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -8197,23 +8197,23 @@ x_58 = l_Array_instReprArray___rarg___closed__8; x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_43); lean_ctor_set(x_59, 1, x_58); -x_60 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23; +x_60 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23; x_61 = lean_array_push(x_60, x_53); x_62 = lean_array_push(x_61, x_57); x_63 = lean_array_push(x_62, x_59); -x_64 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21; +x_64 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24; +x_66 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24; x_67 = lean_array_push(x_66, x_65); x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_56); lean_ctor_set(x_68, 1, x_67); -x_69 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25; +x_69 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25; x_70 = lean_array_push(x_69, x_51); x_71 = lean_array_push(x_70, x_68); -x_72 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8; +x_72 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -10886,56 +10886,56 @@ l_term_x23_x5b___x2c_x5d___closed__15 = _init_l_term_x23_x5b___x2c_x5d___closed_ lean_mark_persistent(l_term_x23_x5b___x2c_x5d___closed__15); l_term_x23_x5b___x2c_x5d = _init_l_term_x23_x5b___x2c_x5d(); lean_mark_persistent(l_term_x23_x5b___x2c_x5d); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__1); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__2); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__3); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__4); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__5); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__6); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__7); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__8); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__9); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__10); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__11); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__12); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__13); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__14); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__15); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__16); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__17); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__18); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__19); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__20); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__21); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__22); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__23); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__24); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3614____closed__25); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__1); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__2); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__3); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__4); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__5); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__6); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__7); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__8); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__9); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__10 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__10); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__11); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__12); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__13); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__14); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__15); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__16); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__17); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__18); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__19); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__20); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__21); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__22); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__23); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__24); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3620____closed__25); l_Array_partition___rarg___closed__1 = _init_l_Array_partition___rarg___closed__1(); lean_mark_persistent(l_Array_partition___rarg___closed__1); l_Array_insertAt___rarg___closed__1 = _init_l_Array_insertAt___rarg___closed__1(); diff --git a/stage0/stdlib/Init/Data/Array/Subarray.c b/stage0/stdlib/Init/Data/Array/Subarray.c index 89e8240d59..e26510fa34 100644 --- a/stage0/stdlib/Init/Data/Array/Subarray.c +++ b/stage0/stdlib/Init/Data/Array/Subarray.c @@ -15,126 +15,125 @@ extern "C" { #endif static lean_object* l_Array_term_____x5b___x3a___x5d___closed__4; lean_object* l_Array_foldrMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__2; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_instCoeSubarrayArray___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__9; lean_object* l_Subarray_forInUnsafe_loop___at_Array_ofSubarray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; uint8_t l_Array_anyMUnsafe_any___at_Subarray_any___spec__1___rarg(lean_object*, lean_object*, size_t, size_t); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__8; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__19; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4; 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_784_(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663_(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903_(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907_(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788_(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666_(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_any___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_foldr(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__1; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22; size_t l_USize_sub(size_t, size_t); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2; lean_object* l_Subarray_anyM___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__2; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13; lean_object* l_instHAppendSubarraySubarrayArray(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5; 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*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__21; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__23; lean_object* l_Subarray_forM(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3; lean_object* l_Subarray_forInUnsafe_loop___at_Array_ofSubarray___spec__1(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3; lean_object* l_Array_anyMUnsafe_any___at_Subarray_all___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__17; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Subarray_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_term_____x5b___x3a_x5d___closed__1; lean_object* l_Array_anyMUnsafe_any___at_Subarray_any___spec__1(lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Array_instCoeSubarrayArray(lean_object*); 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*); static lean_object* l_Array_term_____x5b___x3a_x5d___closed__3; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8; lean_object* l_Subarray_any___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__12; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__4; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3; lean_object* l_Subarray_anyM(lean_object*, lean_object*); lean_object* l_Subarray_all___rarg___boxed(lean_object*, lean_object*); lean_object* l_Subarray_toArray___rarg(lean_object*); uint8_t l_Subarray_any___rarg(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__1; 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*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7; static lean_object* l_Array_term_____x5b_x3a___x5d___closed__3; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19; lean_object* l_Subarray_toArray___rarg___boxed(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; lean_object* l_Subarray_forInUnsafe_loop(lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop_match__1(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; lean_object* l_Subarray_forInUnsafe_loop___at_Array_ofSubarray___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16; lean_object* l_Subarray_toArray(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; lean_object* l_Subarray_forInUnsafe_loop___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_foldl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; lean_object* l_Array_term_____x5b___x3a_x5d; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1; lean_object* l_Subarray_forInUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_term_____x5b___x3a___x5d; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2; lean_object* l_Subarray_forInUnsafe_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_foldl___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__11; lean_object* l_Subarray_foldl(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__16; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__16; lean_object* l_Subarray_all(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__1(lean_object*, uint8_t); lean_object* l_Subarray_foldr___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray(lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__24; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12; lean_object* l_Subarray_instForInSubarray___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_term_____x5b_x3a___x5d___closed__4; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12; lean_object* l_Subarray_forInUnsafe_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_term_____x5b_x3a___x5d___closed__2; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3; lean_object* l_Array_extract(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__1(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__10; size_t lean_usize_of_nat(lean_object*); lean_object* l_Array_toSubarray(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__16; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_allM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_all___spec__1(lean_object*); @@ -142,19 +141,19 @@ lean_object* l_Subarray_foldrM___rarg(lean_object*, lean_object*, lean_object*, static lean_object* l_Array_term_____x5b___x3a___x5d___closed__7; static lean_object* l_Array_term_____x5b_x3a___x5d___closed__1; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__20; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__6; lean_object* l_Array_ofSubarray___rarg___boxed(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10; lean_object* l_Subarray_foldlM(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_term_____x5b_x3a___x5d___closed__5; lean_object* l_Subarray_foldrM(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12; lean_object* l_Subarray_forInUnsafe_loop___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__2(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12; lean_object* l_Subarray_any(lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_instForInSubarray(lean_object*, lean_object*, lean_object*); @@ -165,19 +164,19 @@ lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__2(lean_object lean_object* l_Array_term_____x5b_x3a___x5d; lean_object* l_Subarray_forRevM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11; lean_object* l_Subarray_forM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__10; lean_object* l_instHAppendSubarraySubarrayArray___rarg(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1; uint8_t l_Subarray_all___rarg(lean_object*, lean_object*); lean_object* l_instHAppendSubarraySubarrayArray___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_term_____x5b___x3a_x5d___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10; 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_Subarray_forRevM(lean_object*, lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__13; @@ -189,26 +188,27 @@ lean_object* l_Subarray_foldl___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Array_term_____x5b___x3a___x5d___closed__22; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__15; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__18; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__14; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13; lean_object* l_Subarray_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14; static lean_object* l_Array_term_____x5b___x3a_x5d___closed__4; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__18; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__5; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__4; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21; lean_object* l_Subarray_allM(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15; -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__3; lean_object* l_Subarray_foldr___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1(lean_object*, lean_object*); -static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__1; lean_object* l_Subarray_forIn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15; lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20; static lean_object* l_Array_term_____x5b___x3a___x5d___closed__14; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_foldl___spec__1(lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -2349,7 +2349,7 @@ x_1 = l_Array_term_____x5b_x3a___x5d___closed__6; return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__1() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1() { _start: { lean_object* x_1; @@ -2357,17 +2357,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__2() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2() { _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_663____closed__1; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3() { _start: { lean_object* x_1; @@ -2375,17 +2375,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__4() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____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_663____closed__2; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5() { _start: { lean_object* x_1; @@ -2393,17 +2393,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____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_663____closed__4; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__4; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7() { _start: { lean_object* x_1; @@ -2411,17 +2411,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9() { _start: { lean_object* x_1; @@ -2429,22 +2429,22 @@ x_1 = lean_mk_string("Array.toSubarray"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9; 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_663____closed__11() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11() { _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_663____closed__9; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10; +x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____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); @@ -2452,7 +2452,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12() { _start: { lean_object* x_1; @@ -2460,41 +2460,41 @@ x_1 = lean_mk_string("toSubarray"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_term_____x5b___x3a___x5d___closed__2; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__14() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14() { _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_663____closed__13; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; 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_663____closed__15() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15() { _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_663____closed__14; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14; 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_663____closed__16() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16() { _start: { lean_object* x_1; @@ -2502,17 +2502,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17() { _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_663____closed__16; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -2521,7 +2521,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -2530,7 +2530,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2558,7 +2558,7 @@ x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = lean_unsigned_to_nat(4u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -2569,27 +2569,27 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; x_20 = l_Lean_addMacroScope(x_18, x_19, x_17); -x_21 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15; +x_21 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_16); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_25 = lean_array_push(x_24, x_9); x_26 = lean_array_push(x_25, x_11); x_27 = lean_array_push(x_26, x_13); -x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; 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_663____closed__19; +x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_31 = lean_array_push(x_30, x_23); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____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); @@ -2609,27 +2609,27 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_39 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); -x_41 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_42 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15; +x_41 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_42 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15; x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); lean_ctor_set(x_43, 1, x_41); lean_ctor_set(x_43, 2, x_40); lean_ctor_set(x_43, 3, x_42); -x_44 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_44 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); x_47 = lean_array_push(x_46, x_13); -x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; 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_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +x_50 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_51 = lean_array_push(x_50, x_43); x_52 = lean_array_push(x_51, x_49); -x_53 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_53 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -2641,7 +2641,7 @@ return x_55; } } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__1() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1() { _start: { lean_object* x_1; @@ -2649,17 +2649,17 @@ x_1 = lean_mk_string("numLit"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2() { _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_784____closed__1; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3() { _start: { lean_object* x_1; @@ -2667,7 +2667,7 @@ x_1 = lean_mk_string("0"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -2676,7 +2676,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2702,7 +2702,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -2713,38 +2713,38 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_17 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_20 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15; +x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_20 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15; lean_inc(x_14); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3; +x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3; x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4; +x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2; +x_26 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_29 = lean_array_push(x_28, x_9); x_30 = lean_array_push(x_29, x_27); x_31 = lean_array_push(x_30, x_11); -x_32 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_32 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; 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 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +x_34 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_35 = lean_array_push(x_34, x_21); x_36 = lean_array_push(x_35, x_33); -x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -2764,38 +2764,38 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_2, 1); lean_inc(x_42); lean_dec(x_2); -x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; x_44 = l_Lean_addMacroScope(x_42, x_43, x_41); -x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15; +x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15; lean_inc(x_39); x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_39); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_44); lean_ctor_set(x_47, 3, x_46); -x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3; +x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3; x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_39); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4; +x_50 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2; +x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); -x_54 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_54 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_55 = lean_array_push(x_54, x_9); x_56 = lean_array_push(x_55, x_53); x_57 = lean_array_push(x_56, x_11); -x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; 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 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +x_60 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_61 = lean_array_push(x_60, x_47); x_62 = lean_array_push(x_61, x_59); -x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); @@ -2807,7 +2807,7 @@ return x_65; } } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1() { _start: { lean_object* x_1; @@ -2815,17 +2815,17 @@ x_1 = lean_mk_string("let"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3() { _start: { lean_object* x_1; @@ -2833,17 +2833,17 @@ x_1 = lean_mk_string("letDecl"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_663____closed__6; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5() { _start: { lean_object* x_1; @@ -2851,17 +2851,17 @@ x_1 = lean_mk_string("letIdDecl"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_663____closed__6; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7() { _start: { lean_object* x_1; @@ -2869,22 +2869,22 @@ x_1 = lean_mk_string("a"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7; 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_903____closed__9() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9() { _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_903____closed__7; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8; +x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2892,17 +2892,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_903____closed__7; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -2911,19 +2911,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_663____closed__17; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11; 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_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13() { _start: { lean_object* x_1; @@ -2931,7 +2931,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -2940,7 +2940,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15() { _start: { lean_object* x_1; @@ -2948,31 +2948,31 @@ x_1 = lean_mk_string(";"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__16() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16() { _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_663____closed__13; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; 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_903____closed__17() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17() { _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_903____closed__16; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16; 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_903____closed__18() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18() { _start: { lean_object* x_1; @@ -2980,22 +2980,22 @@ x_1 = lean_mk_string("a.size"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__18; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18; 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_903____closed__20() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20() { _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_903____closed__18; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19; +x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3003,7 +3003,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21() { _start: { lean_object* x_1; @@ -3011,17 +3011,17 @@ x_1 = lean_mk_string("size"); return x_1; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23() { +static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -3030,7 +3030,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3056,7 +3056,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -3067,96 +3067,96 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1; +x_17 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10; +x_19 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); x_21 = lean_box(0); -x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9; +x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_22); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_21); -x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13; +x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13; lean_inc(x_14); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_14); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14; +x_26 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14; lean_inc(x_23); x_27 = lean_array_push(x_26, x_23); -x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12; +x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12; x_29 = lean_array_push(x_27, x_28); x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_25); x_32 = lean_array_push(x_31, x_9); -x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6; +x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_784____closed__4; +x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4; x_36 = lean_array_push(x_35, x_34); -x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4; +x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4; 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_903____closed__15; +x_39 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15; lean_inc(x_14); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_14); lean_ctor_set(x_40, 1, x_39); x_41 = lean_array_push(x_35, x_40); -x_42 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_42 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; 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 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_44 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; lean_inc(x_15); lean_inc(x_16); x_45 = l_Lean_addMacroScope(x_16, x_44, x_15); -x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_47 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17; +x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_47 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17; lean_inc(x_14); x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_14); lean_ctor_set(x_48, 1, x_46); lean_ctor_set(x_48, 2, x_45); lean_ctor_set(x_48, 3, x_47); -x_49 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22; +x_49 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22; x_50 = l_Lean_addMacroScope(x_16, x_49, x_15); -x_51 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20; +x_51 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20; x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_14); lean_ctor_set(x_52, 1, x_51); lean_ctor_set(x_52, 2, x_50); lean_ctor_set(x_52, 3, x_21); -x_53 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_53 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_54 = lean_array_push(x_53, x_23); x_55 = lean_array_push(x_54, x_11); x_56 = lean_array_push(x_55, x_52); x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_42); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_59 = lean_array_push(x_58, x_48); x_60 = lean_array_push(x_59, x_57); -x_61 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_61 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; 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_903____closed__23; +x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23; x_64 = lean_array_push(x_63, x_18); x_65 = lean_array_push(x_64, x_38); x_66 = lean_array_push(x_65, x_43); x_67 = lean_array_push(x_66, x_62); -x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2; +x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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); @@ -3176,96 +3176,96 @@ lean_inc(x_72); x_73 = lean_ctor_get(x_2, 1); lean_inc(x_73); lean_dec(x_2); -x_74 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1; +x_74 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1; lean_inc(x_70); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_70); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10; +x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10; lean_inc(x_72); lean_inc(x_73); x_77 = l_Lean_addMacroScope(x_73, x_76, x_72); x_78 = lean_box(0); -x_79 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9; +x_79 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9; lean_inc(x_70); x_80 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_80, 0, x_70); lean_ctor_set(x_80, 1, x_79); lean_ctor_set(x_80, 2, x_77); lean_ctor_set(x_80, 3, x_78); -x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13; +x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13; lean_inc(x_70); x_82 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_82, 0, x_70); lean_ctor_set(x_82, 1, x_81); -x_83 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14; +x_83 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14; lean_inc(x_80); x_84 = lean_array_push(x_83, x_80); -x_85 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12; +x_85 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12; x_86 = lean_array_push(x_84, x_85); x_87 = lean_array_push(x_86, x_85); x_88 = lean_array_push(x_87, x_82); x_89 = lean_array_push(x_88, x_9); -x_90 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6; +x_90 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____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_784____closed__4; +x_92 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4; x_93 = lean_array_push(x_92, x_91); -x_94 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4; +x_94 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4; x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_93); -x_96 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15; +x_96 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15; lean_inc(x_70); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_70); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_92, x_97); -x_99 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17; +x_99 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); -x_101 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13; +x_101 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13; lean_inc(x_72); lean_inc(x_73); x_102 = l_Lean_addMacroScope(x_73, x_101, x_72); -x_103 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11; -x_104 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17; +x_103 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11; +x_104 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17; lean_inc(x_70); x_105 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_105, 0, x_70); lean_ctor_set(x_105, 1, x_103); lean_ctor_set(x_105, 2, x_102); lean_ctor_set(x_105, 3, x_104); -x_106 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22; +x_106 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22; x_107 = l_Lean_addMacroScope(x_73, x_106, x_72); -x_108 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20; +x_108 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20; x_109 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_109, 0, x_70); lean_ctor_set(x_109, 1, x_108); lean_ctor_set(x_109, 2, x_107); lean_ctor_set(x_109, 3, x_78); -x_110 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18; +x_110 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18; x_111 = lean_array_push(x_110, x_80); x_112 = lean_array_push(x_111, x_11); x_113 = lean_array_push(x_112, x_109); x_114 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_114, 0, x_99); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19; +x_115 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19; x_116 = lean_array_push(x_115, x_105); x_117 = lean_array_push(x_116, x_114); -x_118 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8; +x_118 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8; x_119 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); -x_120 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23; +x_120 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23; x_121 = lean_array_push(x_120, x_75); x_122 = lean_array_push(x_121, x_95); x_123 = lean_array_push(x_122, x_100); x_124 = lean_array_push(x_123, x_119); -x_125 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2; +x_125 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -3416,98 +3416,98 @@ l_Array_term_____x5b_x3a___x5d___closed__6 = _init_l_Array_term_____x5b_x3a___x5 lean_mark_persistent(l_Array_term_____x5b_x3a___x5d___closed__6); l_Array_term_____x5b_x3a___x5d = _init_l_Array_term_____x5b_x3a___x5d(); lean_mark_persistent(l_Array_term_____x5b_x3a___x5d); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__1(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__1); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__2(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__2); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__3); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__4(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__4); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__5); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__6); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__7); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__8); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__9); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__10); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__11); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__12); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__13); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__14 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__14(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__14); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__15); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__16 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__16(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__16); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__17); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__18); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_663____closed__19); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__1(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__1); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__2); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__3); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_784____closed__4); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__1); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__2); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__3); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__5); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__6); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__7); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__8); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__9); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__10); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__11); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__12); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__13); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__14); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__15); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__16 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__16(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__16); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__17); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__18 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__18(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__18); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__19); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__20); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__21); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__22); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__23); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__1); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__2); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__3); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__4(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__4); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__5); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__6); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__7); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__8); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__9); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__10 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__10(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__10); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__11); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__12); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__13); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__14); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__15); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__16); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__17); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__18); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_666____closed__19); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__1); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__2); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__3); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_788____closed__4); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__1); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__2); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__3); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__4); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__5); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__6 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__6(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__6); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__7); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__8); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__9); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__10); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__11); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__12); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__13); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__14); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__15); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__16); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__17); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__18); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__19); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__20); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__21); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__22); +l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23(); +lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_907____closed__23); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Format/Macro.c b/stage0/stdlib/Init/Data/Format/Macro.c index ea56221cf8..f0c6642e03 100644 --- a/stage0/stdlib/Init/Data/Format/Macro.c +++ b/stage0/stdlib/Init/Data/Format/Macro.c @@ -13,36 +13,36 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14; static lean_object* l_Std_termF_x21_____closed__11; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3; static lean_object* l_Std_termF_x21_____closed__7; static lean_object* l_Std_termF_x21_____closed__16; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Std_termF_x21__; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13; lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_termF_x21_____closed__10; -lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2; +lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6; static lean_object* l_Std_termF_x21_____closed__14; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__2; static lean_object* l_Std_termF_x21_____closed__5; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11; static lean_object* l_Std_termF_x21_____closed__3; static lean_object* l_Std_termF_x21_____closed__15; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8; static lean_object* l_Std_termF_x21_____closed__4; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9; static lean_object* l_Std_termF_x21_____closed__9; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1; static lean_object* l_Std_termF_x21_____closed__13; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Std_termF_x21_____closed__8; @@ -50,7 +50,7 @@ static lean_object* l_Std_termF_x21_____closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Std_termF_x21_____closed__1; static lean_object* l_Std_termF_x21_____closed__6; -static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12; +static lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12; static lean_object* l_Std_termF_x21_____closed__12; static lean_object* _init_l_Std_termF_x21_____closed__1() { _start: @@ -220,7 +220,7 @@ x_1 = l_Std_termF_x21_____closed__16; return x_1; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1() { _start: { lean_object* x_1; @@ -228,22 +228,22 @@ x_1 = lean_mk_string("Format"); return x_1; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1; +x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1; +x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2; +x_3 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____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); @@ -251,51 +251,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_termF_x21_____closed__2; -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____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_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6; 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_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8() { _start: { lean_object* x_1; @@ -303,22 +303,22 @@ x_1 = lean_mk_string("fmt"); return x_1; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8; +x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8; +x_1 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9; +x_3 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -326,51 +326,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_termF_x21_____closed__2; -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12; 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_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14() { +static lean_object* _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13; +x_2 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13; 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_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -394,7 +394,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -404,27 +404,27 @@ x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); -x_15 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4; +x_15 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4; lean_inc(x_13); lean_inc(x_14); x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3; -x_18 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7; +x_17 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3; +x_18 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_11); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_12); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_12); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11; +x_23 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11; x_24 = l_Lean_addMacroScope(x_14, x_23, x_13); -x_25 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10; -x_26 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14; +x_25 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10; +x_26 = l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14; x_27 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_27, 0, x_21); lean_ctor_set(x_27, 1, x_25); @@ -483,34 +483,34 @@ l_Std_termF_x21_____closed__16 = _init_l_Std_termF_x21_____closed__16(); lean_mark_persistent(l_Std_termF_x21_____closed__16); l_Std_termF_x21__ = _init_l_Std_termF_x21__(); lean_mark_persistent(l_Std_termF_x21__); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__1); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__2); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__3); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__4); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__5); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__6); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__7); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__8); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__9); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__10); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__11); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__12); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__13); -l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14(); -lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_18____closed__14); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__1); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__2 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__2(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__2); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__3); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__4); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__5 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__5(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__5); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__6); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__7); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__8); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__9); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__10); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__11); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__12); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__13); +l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14 = _init_l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14(); +lean_mark_persistent(l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_19____closed__14); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Random.c b/stage0/stdlib/Init/Data/Random.c index e5f8f1b5eb..8b6369b009 100644 --- a/stage0/stdlib/Init/Data/Random.c +++ b/stage0/stdlib/Init/Data/Random.c @@ -83,10 +83,10 @@ lean_object* lean_string_length(lean_object*); lean_object* l_stdSplit(lean_object*); static lean_object* l_stdNext___closed__7; lean_object* lean_int_add(lean_object*, lean_object*); +static lean_object* l_initFn____x40_Init_Data_Random___hyg_631____closed__1; lean_object* lean_nat_mod(lean_object*, lean_object*); -static lean_object* l_initFn____x40_Init_Data_Random___hyg_630____closed__1; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); -lean_object* l_initFn____x40_Init_Data_Random___hyg_630_(lean_object*); +lean_object* l_initFn____x40_Init_Data_Random___hyg_631_(lean_object*); lean_object* l_instReprStdGen(lean_object*, lean_object*); lean_object* l_instInhabitedStdGen; lean_object* l_IO_rand_match__1(lean_object*); @@ -1449,7 +1449,7 @@ x_2 = lean_alloc_closure((void*)(l_randBool___rarg), 2, 0); return x_2; } } -static lean_object* _init_l_initFn____x40_Init_Data_Random___hyg_630____closed__1() { +static lean_object* _init_l_initFn____x40_Init_Data_Random___hyg_631____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1458,11 +1458,11 @@ x_2 = l_mkStdGen(x_1); return x_2; } } -lean_object* l_initFn____x40_Init_Data_Random___hyg_630_(lean_object* x_1) { +lean_object* l_initFn____x40_Init_Data_Random___hyg_631_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_initFn____x40_Init_Data_Random___hyg_630____closed__1; +x_2 = l_initFn____x40_Init_Data_Random___hyg_631____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } @@ -1979,9 +1979,9 @@ l_instRandomGenStdGen___closed__4 = _init_l_instRandomGenStdGen___closed__4(); lean_mark_persistent(l_instRandomGenStdGen___closed__4); l_instRandomGenStdGen = _init_l_instRandomGenStdGen(); lean_mark_persistent(l_instRandomGenStdGen); -l_initFn____x40_Init_Data_Random___hyg_630____closed__1 = _init_l_initFn____x40_Init_Data_Random___hyg_630____closed__1(); -lean_mark_persistent(l_initFn____x40_Init_Data_Random___hyg_630____closed__1); -res = l_initFn____x40_Init_Data_Random___hyg_630_(lean_io_mk_world()); +l_initFn____x40_Init_Data_Random___hyg_631____closed__1 = _init_l_initFn____x40_Init_Data_Random___hyg_631____closed__1(); +lean_mark_persistent(l_initFn____x40_Init_Data_Random___hyg_631____closed__1); +res = l_initFn____x40_Init_Data_Random___hyg_631_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_IO_stdGenRef = lean_io_result_get_value(res); lean_mark_persistent(l_IO_stdGenRef); diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index fa009d6ad7..ae6a7bf376 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -13,148 +13,148 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Std_Range_forM(lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__19; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__3; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__4; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__11; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__9; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__2; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__7; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33; lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; lean_object* l_Std_Range_step___default; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Std_Range_instForInRangeNat___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4; lean_object* l_Std_Range_forIn_loop(lean_object*, lean_object*); lean_object* l_Std_Range_forM_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__13; lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__5; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7; lean_object* l_Std_Range_forIn_loop_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__21; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; lean_object* l_Std_Range_forM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__1; lean_object* l_Std_Range_forM___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__17; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__3; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32; lean_object* l_Std_Range_forIn_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__1; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__4; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; lean_object* l_Std_Range_forM_loop(lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__8; -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1062_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6; +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1067_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535_(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_object* l_Std_Range_forIn_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__5; lean_object* l_Std_Range_forIn_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_instForMRangeNat___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__5; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__15; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__4; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__18; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__5; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6; lean_object* l_Std_Range_start___default; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__14; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__5; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__4; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; lean_object* l_Std_Range_forM_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_object* l_Std_Range_instForMRangeNat(lean_object*); lean_object* l_Std_Range_forIn_loop_match__2(lean_object*); lean_object* l_Std_Range_forM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_term_x5b___x3a___x5d; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Std_Range_term_x5b_x3a___x5d; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_object* l_Std_Range_instForInRangeNat(lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25; lean_object* l_Std_Range_forIn(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop_match__1(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14; lean_object* l_Std_Range_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__12; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1; lean_object* l_Std_Range_forIn_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__16; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__3; lean_object* l_Std_Range_forIn_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__20; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__10; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__2; lean_object* l_Std_Range_forIn_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Std_Range_start___default() { _start: @@ -1040,7 +1040,7 @@ x_1 = l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6; return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1() { _start: { lean_object* x_1; @@ -1048,17 +1048,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3() { _start: { lean_object* x_1; @@ -1066,17 +1066,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5() { _start: { lean_object* x_1; @@ -1084,17 +1084,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7() { _start: { lean_object* x_1; @@ -1102,17 +1102,17 @@ x_1 = lean_mk_string("structInst"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9() { _start: { lean_object* x_1; @@ -1120,7 +1120,7 @@ x_1 = lean_mk_string("{"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10() { _start: { lean_object* x_1; @@ -1128,17 +1128,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -1147,19 +1147,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14() { _start: { lean_object* x_1; @@ -1167,17 +1167,17 @@ x_1 = lean_mk_string("group"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16() { _start: { lean_object* x_1; @@ -1185,17 +1185,17 @@ x_1 = lean_mk_string("structInstField"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18() { _start: { lean_object* x_1; @@ -1203,17 +1203,17 @@ x_1 = lean_mk_string("structInstLVal"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20() { _start: { lean_object* x_1; @@ -1221,22 +1221,22 @@ x_1 = lean_mk_string("stop"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1244,51 +1244,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -1297,7 +1297,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28() { _start: { lean_object* x_1; @@ -1305,7 +1305,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -1314,7 +1314,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -1323,7 +1323,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31() { _start: { lean_object* x_1; @@ -1331,39 +1331,39 @@ x_1 = lean_mk_string("optEllipsis"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -1372,13 +1372,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1386,7 +1386,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1396,7 +1396,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1408,19 +1408,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40() { _start: { lean_object* x_1; @@ -1428,7 +1428,7 @@ x_1 = lean_mk_string("}"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41() { _start: { lean_object* x_1; lean_object* x_2; @@ -1437,7 +1437,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1461,7 +1461,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -1472,53 +1472,53 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_15 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_13); lean_inc(x_14); x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_23 = lean_array_push(x_22, x_21); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_25 = lean_array_push(x_23, x_24); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_31 = lean_array_push(x_30, x_27); x_32 = lean_array_push(x_31, x_29); x_33 = lean_array_push(x_32, x_9); -x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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_22, x_35); x_37 = lean_array_push(x_36, x_24); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -1527,10 +1527,10 @@ lean_inc(x_12); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_12); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_47 = l_Lean_addMacroScope(x_14, x_46, x_13); -x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_12); x_50 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_50, 0, x_12); @@ -1542,19 +1542,19 @@ x_52 = lean_array_push(x_51, x_50); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_42); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_12); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_57 = lean_array_push(x_56, x_16); x_58 = lean_array_push(x_57, x_24); x_59 = lean_array_push(x_58, x_43); -x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_61 = lean_array_push(x_59, x_60); x_62 = lean_array_push(x_61, x_53); x_63 = lean_array_push(x_62, x_55); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); @@ -1574,53 +1574,53 @@ lean_inc(x_68); x_69 = lean_ctor_get(x_2, 1); lean_inc(x_69); lean_dec(x_2); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_66); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_66); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_68); lean_inc(x_69); x_73 = l_Lean_addMacroScope(x_69, x_72, x_68); -x_74 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; +x_74 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26; lean_inc(x_66); x_76 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_76, 0, x_66); lean_ctor_set(x_76, 1, x_74); lean_ctor_set(x_76, 2, x_73); lean_ctor_set(x_76, 3, x_75); -x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_78 = lean_array_push(x_77, x_76); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_80 = lean_array_push(x_78, x_79); -x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_83 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_66); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_66); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_86 = lean_array_push(x_85, x_82); x_87 = lean_array_push(x_86, x_84); x_88 = lean_array_push(x_87, x_9); -x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_77, x_90); x_92 = lean_array_push(x_91, x_79); -x_93 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_93 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); -x_95 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_95 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_96 = lean_array_push(x_95, x_94); -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -1629,10 +1629,10 @@ lean_inc(x_66); x_100 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_100, 0, x_66); lean_ctor_set(x_100, 1, x_99); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_102 = l_Lean_addMacroScope(x_69, x_101, x_68); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_66); x_105 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_105, 0, x_66); @@ -1644,19 +1644,19 @@ x_107 = lean_array_push(x_106, x_105); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_109 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_66); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_112 = lean_array_push(x_111, x_71); x_113 = lean_array_push(x_112, x_79); x_114 = lean_array_push(x_113, x_98); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_116 = lean_array_push(x_114, x_115); x_117 = lean_array_push(x_116, x_108); x_118 = lean_array_push(x_117, x_110); -x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); @@ -1668,7 +1668,7 @@ return x_121; } } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1() { _start: { lean_object* x_1; @@ -1676,22 +1676,22 @@ x_1 = lean_mk_string("start"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____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); @@ -1699,51 +1699,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8() { _start: { lean_object* x_1; @@ -1751,31 +1751,31 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1801,7 +1801,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1812,68 +1812,68 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_14); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_14); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_33 = lean_array_push(x_32, x_29); lean_inc(x_31); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_9); -x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_14); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; 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_array_push(x_24, x_37); x_45 = lean_array_push(x_44, x_43); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_15); lean_inc(x_16); x_49 = l_Lean_addMacroScope(x_16, x_48, x_15); -x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10; lean_inc(x_14); x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_14); @@ -1906,10 +1906,10 @@ lean_inc(x_14); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_14); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_14); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_14); @@ -1921,19 +1921,19 @@ x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_42); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_14); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_79 = lean_array_push(x_78, x_18); x_80 = lean_array_push(x_79, x_26); x_81 = lean_array_push(x_80, x_65); -x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_75); x_85 = lean_array_push(x_84, x_77); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -1953,68 +1953,68 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_2, 1); lean_inc(x_91); lean_dec(x_2); -x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_88); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_88); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4; lean_inc(x_90); lean_inc(x_91); x_95 = l_Lean_addMacroScope(x_91, x_94, x_90); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7; lean_inc(x_88); x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_88); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); -x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_100 = lean_array_push(x_99, x_98); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_102 = lean_array_push(x_100, x_101); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_88); x_106 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_106, 0, x_88); lean_ctor_set(x_106, 1, x_105); -x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_108 = lean_array_push(x_107, x_104); lean_inc(x_106); x_109 = lean_array_push(x_108, x_106); x_110 = lean_array_push(x_109, x_9); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_88); x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_88); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_116 = lean_array_push(x_115, x_114); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; 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 = lean_array_push(x_99, x_112); x_120 = lean_array_push(x_119, x_118); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_90); lean_inc(x_91); x_124 = l_Lean_addMacroScope(x_91, x_123, x_90); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10; lean_inc(x_88); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_88); @@ -2047,10 +2047,10 @@ lean_inc(x_88); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_88); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_144 = l_Lean_addMacroScope(x_91, x_143, x_90); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_88); x_147 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_147, 0, x_88); @@ -2062,19 +2062,19 @@ x_149 = lean_array_push(x_148, x_147); x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_117); lean_ctor_set(x_150, 1, x_149); -x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_88); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_154 = lean_array_push(x_153, x_93); x_155 = lean_array_push(x_154, x_101); x_156 = lean_array_push(x_155, x_140); -x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_158 = lean_array_push(x_156, x_157); x_159 = lean_array_push(x_158, x_150); x_160 = lean_array_push(x_159, x_152); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2086,7 +2086,7 @@ return x_163; } } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1() { _start: { lean_object* x_1; @@ -2094,22 +2094,22 @@ x_1 = lean_mk_string("step"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____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); @@ -2117,51 +2117,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____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_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_764_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2189,7 +2189,7 @@ x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = lean_unsigned_to_nat(5u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -2200,69 +2200,69 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4; lean_inc(x_17); lean_inc(x_18); x_22 = l_Lean_addMacroScope(x_18, x_21, x_17); -x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; +x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7; lean_inc(x_16); x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_16); lean_ctor_set(x_25, 1, x_23); lean_ctor_set(x_25, 2, x_22); lean_ctor_set(x_25, 3, x_24); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_27 = lean_array_push(x_26, x_25); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_16); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_16); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_35 = lean_array_push(x_34, x_31); lean_inc(x_33); x_36 = lean_array_push(x_35, x_33); x_37 = lean_array_push(x_36, x_9); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_16); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_16); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_43 = lean_array_push(x_42, x_41); -x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_26, x_39); lean_inc(x_45); x_47 = lean_array_push(x_46, x_45); -x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_17); lean_inc(x_18); x_51 = l_Lean_addMacroScope(x_18, x_50, x_17); -x_52 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; +x_52 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10; lean_inc(x_16); x_54 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_54, 0, x_16); @@ -2286,12 +2286,12 @@ x_63 = lean_array_push(x_62, x_45); x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_48); lean_ctor_set(x_64, 1, x_63); -x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; +x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4; lean_inc(x_17); lean_inc(x_18); x_66 = l_Lean_addMacroScope(x_18, x_65, x_17); -x_67 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; +x_67 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7; lean_inc(x_16); x_69 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_69, 0, x_16); @@ -2325,10 +2325,10 @@ lean_inc(x_16); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_16); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_87 = l_Lean_addMacroScope(x_18, x_86, x_17); -x_88 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_88 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_16); x_90 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_90, 0, x_16); @@ -2340,19 +2340,19 @@ x_92 = lean_array_push(x_91, x_90); x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_44); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_16); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_97 = lean_array_push(x_96, x_20); x_98 = lean_array_push(x_97, x_28); x_99 = lean_array_push(x_98, x_83); -x_100 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_100 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_101 = lean_array_push(x_99, x_100); x_102 = lean_array_push(x_101, x_93); x_103 = lean_array_push(x_102, x_95); -x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -2372,69 +2372,69 @@ lean_inc(x_108); x_109 = lean_ctor_get(x_2, 1); lean_inc(x_109); lean_dec(x_2); -x_110 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_110 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_106); x_111 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_111, 0, x_106); lean_ctor_set(x_111, 1, x_110); -x_112 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; +x_112 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4; lean_inc(x_108); lean_inc(x_109); x_113 = l_Lean_addMacroScope(x_109, x_112, x_108); -x_114 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; +x_114 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7; lean_inc(x_106); x_116 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_116, 0, x_106); lean_ctor_set(x_116, 1, x_114); lean_ctor_set(x_116, 2, x_113); lean_ctor_set(x_116, 3, x_115); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_118 = lean_array_push(x_117, x_116); -x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_120 = lean_array_push(x_118, x_119); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_106); x_124 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_124, 0, x_106); lean_ctor_set(x_124, 1, x_123); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_126 = lean_array_push(x_125, x_122); lean_inc(x_124); x_127 = lean_array_push(x_126, x_124); x_128 = lean_array_push(x_127, x_9); -x_129 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_129 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_131 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_106); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_106); lean_ctor_set(x_132, 1, x_131); -x_133 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_133 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_134 = lean_array_push(x_133, x_132); -x_135 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_135 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); x_137 = lean_array_push(x_117, x_130); lean_inc(x_136); x_138 = lean_array_push(x_137, x_136); -x_139 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_139 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); -x_141 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_141 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_108); lean_inc(x_109); x_142 = l_Lean_addMacroScope(x_109, x_141, x_108); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_144 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_144 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10; lean_inc(x_106); x_145 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_145, 0, x_106); @@ -2458,12 +2458,12 @@ x_154 = lean_array_push(x_153, x_136); x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_139); lean_ctor_set(x_155, 1, x_154); -x_156 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; +x_156 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4; lean_inc(x_108); lean_inc(x_109); x_157 = l_Lean_addMacroScope(x_109, x_156, x_108); -x_158 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; -x_159 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; +x_158 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3; +x_159 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7; lean_inc(x_106); x_160 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_160, 0, x_106); @@ -2497,10 +2497,10 @@ lean_inc(x_106); x_176 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_176, 0, x_106); lean_ctor_set(x_176, 1, x_175); -x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_178 = l_Lean_addMacroScope(x_109, x_177, x_108); -x_179 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_179 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_106); x_181 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_181, 0, x_106); @@ -2512,19 +2512,19 @@ x_183 = lean_array_push(x_182, x_181); x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_135); lean_ctor_set(x_184, 1, x_183); -x_185 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_185 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_106); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_187 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_188 = lean_array_push(x_187, x_111); x_189 = lean_array_push(x_188, x_119); x_190 = lean_array_push(x_189, x_174); -x_191 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_191 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_192 = lean_array_push(x_190, x_191); x_193 = lean_array_push(x_192, x_184); x_194 = lean_array_push(x_193, x_186); -x_195 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_195 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____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); @@ -2536,7 +2536,7 @@ return x_197; } } } -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1062_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1067_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2562,7 +2562,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(4u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -2573,68 +2573,68 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_14); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_14); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_33 = lean_array_push(x_32, x_29); lean_inc(x_31); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_9); -x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_14); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; 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_array_push(x_24, x_37); x_45 = lean_array_push(x_44, x_43); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4; lean_inc(x_15); lean_inc(x_16); x_49 = l_Lean_addMacroScope(x_16, x_48, x_15); -x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7; lean_inc(x_14); x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_14); @@ -2667,10 +2667,10 @@ lean_inc(x_14); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_14); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_14); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_14); @@ -2682,19 +2682,19 @@ x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_42); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_14); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_79 = lean_array_push(x_78, x_18); x_80 = lean_array_push(x_79, x_26); x_81 = lean_array_push(x_80, x_65); -x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_75); x_85 = lean_array_push(x_84, x_77); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -2714,68 +2714,68 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_2, 1); lean_inc(x_91); lean_dec(x_2); -x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9; lean_inc(x_88); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_88); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23; lean_inc(x_90); lean_inc(x_91); x_95 = l_Lean_addMacroScope(x_91, x_94, x_90); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26; lean_inc(x_88); x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_88); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); -x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27; x_100 = lean_array_push(x_99, x_98); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13; x_102 = lean_array_push(x_100, x_101); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28; lean_inc(x_88); x_106 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_106, 0, x_88); lean_ctor_set(x_106, 1, x_105); -x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29; x_108 = lean_array_push(x_107, x_104); lean_inc(x_106); x_109 = lean_array_push(x_108, x_106); x_110 = lean_array_push(x_109, x_9); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; +x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8; lean_inc(x_88); x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_88); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30; x_116 = lean_array_push(x_115, x_114); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11; 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 = lean_array_push(x_99, x_112); x_120 = lean_array_push(x_119, x_118); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4; lean_inc(x_90); lean_inc(x_91); x_124 = l_Lean_addMacroScope(x_91, x_123, x_90); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; -x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3; +x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7; lean_inc(x_88); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_88); @@ -2808,10 +2808,10 @@ lean_inc(x_88); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_88); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37; x_144 = l_Lean_addMacroScope(x_91, x_143, x_90); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; -x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; +x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36; +x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39; lean_inc(x_88); x_147 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_147, 0, x_88); @@ -2823,19 +2823,19 @@ x_149 = lean_array_push(x_148, x_147); x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_117); lean_ctor_set(x_150, 1, x_149); -x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; +x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40; x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_88); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41; x_154 = lean_array_push(x_153, x_93); x_155 = lean_array_push(x_154, x_101); x_156 = lean_array_push(x_155, x_140); -x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; +x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34; x_158 = lean_array_push(x_156, x_157); x_159 = lean_array_push(x_158, x_150); x_160 = lean_array_push(x_159, x_152); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2950,122 +2950,122 @@ l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6 = _init_l_Std_Range_term_x5b_ lean_mark_persistent(l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6); l_Std_Range_term_x5b___x3a___x3a___x5d = _init_l_Std_Range_term_x5b___x3a___x3a___x5d(); lean_mark_persistent(l_Std_Range_term_x5b___x3a___x3a___x5d); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__8); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__9); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__10); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__11); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__12); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__13); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__14); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__15); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__16); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__17); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__18); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__19); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__20); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__21); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__22); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__23); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__24); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__25); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__26); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__27); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__28); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__29); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__30); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__31); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__32); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__33); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__34); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__35); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__36); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__37); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__38); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__39); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__40); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_360____closed__41); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__8); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__9); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_535____closed__10); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_769____closed__7); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/ToString/Macro.c b/stage0/stdlib/Init/Data/ToString/Macro.c index 4e449edec6..924c2e4777 100644 --- a/stage0/stdlib/Init/Data/ToString/Macro.c +++ b/stage0/stdlib/Init/Data/ToString/Macro.c @@ -13,43 +13,43 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18_(lean_object*, lean_object*, lean_object*); static lean_object* l_termS_x21_____closed__7; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5; static lean_object* l_termS_x21_____closed__3; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_termS_x21_____closed__2; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14; static lean_object* l_termS_x21_____closed__13; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15; lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3; static lean_object* l_termS_x21_____closed__6; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6; static lean_object* l_termS_x21_____closed__14; static lean_object* l_termS_x21_____closed__5; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__2; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_termS_x21_____closed__9; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13; static lean_object* l_termS_x21_____closed__1; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8; static lean_object* l_termS_x21_____closed__4; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4; static lean_object* l_termS_x21_____closed__8; static lean_object* l_termS_x21_____closed__10; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__11; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_termS_x21_____closed__12; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_termS_x21__; -static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12; +static lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__12; static lean_object* l_termS_x21_____closed__11; static lean_object* _init_l_termS_x21_____closed__1() { _start: @@ -201,7 +201,7 @@ x_1 = l_termS_x21_____closed__14; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1() { _start: { lean_object* x_1; @@ -209,22 +209,22 @@ x_1 = lean_mk_string("String"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2; +x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____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); @@ -232,41 +232,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4; 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_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5; 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_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7() { _start: { lean_object* x_1; @@ -274,22 +274,22 @@ x_1 = lean_mk_string("toString"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8; +x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -297,17 +297,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11() { _start: { lean_object* x_1; @@ -315,51 +315,51 @@ x_1 = lean_mk_string("ToString"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____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_Data_ToString_Macro___hyg_17____closed__11; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__12; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13; 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_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14; 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_myMacro____x40_Init_Data_ToString_Macro___hyg_17_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_18_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -383,7 +383,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -393,27 +393,27 @@ x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); -x_15 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4; +x_15 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4; lean_inc(x_13); lean_inc(x_14); x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3; -x_18 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6; +x_17 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3; +x_18 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_11); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_12); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_12); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10; +x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10; x_24 = l_Lean_addMacroScope(x_14, x_23, x_13); -x_25 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9; -x_26 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15; +x_25 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9; +x_26 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15; x_27 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_27, 0, x_21); lean_ctor_set(x_27, 1, x_25); @@ -468,36 +468,36 @@ l_termS_x21_____closed__14 = _init_l_termS_x21_____closed__14(); lean_mark_persistent(l_termS_x21_____closed__14); l_termS_x21__ = _init_l_termS_x21__(); lean_mark_persistent(l_termS_x21__); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__1); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__2); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__3); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__4); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__5); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__6); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__7); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__8); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__9); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__10); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__11 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__11); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__12); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__14); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__15); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__1); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__2); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__3); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__4); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__5); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__6); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__7); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__8); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__9); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__10); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__11); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__12 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__12); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__13); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__14); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_18____closed__15); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 19f849b300..b9f87eccc3 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -18,18 +18,15 @@ static lean_object* l_Lean_mkHole___closed__3; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getMajor___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17; lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeOctalLitAux___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Syntax_isIdOrAtom_x3f___boxed(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_mkIdentFromRef(lean_object*); lean_object* l_Lean_Syntax_setInfo_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1; size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Lean_Syntax_isNatLit_x3f___boxed(lean_object*); @@ -40,24 +37,25 @@ lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux___boxed(le lean_object* l_Lean_instQuoteBool(uint8_t); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____boxed(lean_object*, lean_object*); uint8_t lean_is_inaccessible_user_name(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__2; lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Syntax_getSepArgs___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36; static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__7; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6; static lean_object* l_Lean_Name_escapePart___closed__1; 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); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2; static lean_object* l_Lean_termEval__prio_____closed__9; uint32_t l_Lean_idBeginEscape; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*); @@ -79,6 +77,7 @@ lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); static lean_object* l_Lean_termEval__prec_____closed__6; static lean_object* l_Lean_version_specialDesc___closed__1; lean_object* l_Lean_Name_toString_maybePseudoSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst(lean_object*); lean_object* l_Lean_monadNameGeneratorLift(lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___rarg(lean_object*, lean_object*, lean_object*); @@ -86,20 +85,23 @@ lean_object* l_Lean_instQuoteBool_match__1___rarg(uint8_t, lean_object*, lean_ob extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); uint8_t l_Lean_Meta_Simp_Config_ctorEq___default; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27; uint8_t l_Lean_Meta_Simp_Config_memoize___default; lean_object* l_Lean_instQuoteName_match__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13; lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_termEval__prec__; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; @@ -119,7 +121,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_isGreek___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1; uint32_t l_Lean_idEndEscape; lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax(lean_object*); lean_object* l_Lean_Name_escapePart___lambda__1___boxed(lean_object*); @@ -130,9 +131,7 @@ lean_object* l_Lean_instQuoteProd(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); uint8_t l_Lean_isIdBeginEscape(uint32_t); lean_object* l_Lean_Syntax_isLit_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_escapePart___lambda__1(uint32_t); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35; static lean_object* l_Lean_instQuoteProd___rarg___closed__3; lean_object* l_Lean_Syntax_mkScientificLit(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__3; @@ -142,7 +141,6 @@ lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filter lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Name_toString___boxed(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__2; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setInfo_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,20 +151,22 @@ lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_instQuoteArray(lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteProd_match__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25; uint8_t l_Lean_Meta_Simp_Config_decide___default; static lean_object* l_Lean_instQuoteBool___closed__8; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__3; lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_contextual___default; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30; lean_object* l_Lean_instQuoteList___rarg(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_NameGenerator_namePrefix___default; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9; lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5; static lean_object* l_Lean_instQuoteBool___closed__1; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_version_patch; @@ -184,23 +184,24 @@ lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__6; lean_object* l_Lean_isSubScriptAlnum___boxed(lean_object*); lean_object* l_Array_mapSepElems(lean_object*, lean_object*); lean_object* l_Lean_Name_instReprName(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__2; lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19; static lean_object* l_Lean_termEval__prio_____closed__4; static lean_object* l_Lean_version_major___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1; lean_object* l_Lean_Syntax_isLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instQuoteSubstring___closed__1; lean_object* lean_string_utf8_next(lean_object*, lean_object*); static lean_object* l_Lean_Name_isInaccessibleUserName___closed__1; static lean_object* l_Lean_termEval__prio_____closed__2; lean_object* l_Lean_Syntax_getTrailingSize_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31; lean_object* l_Lean_Name_toStringWithSep_maybeEscape(uint8_t, lean_object*); static lean_object* l_Lean_instQuoteSubstring___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11; lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35; lean_object* l_Lean_Syntax_hasArgs___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); @@ -216,11 +217,8 @@ static lean_object* l_Lean_evalPrio___closed__1; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static uint8_t l_Lean_version_isRelease___closed__1; static lean_object* l_Lean_instQuoteBool___closed__5; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28; static lean_object* l_Lean_termEval__prec_____closed__10; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14; lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); lean_object* l_Lean_instQuoteList(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__6; @@ -235,7 +233,7 @@ static lean_object* l_Lean_instQuoteProd___rarg___closed__4; lean_object* l_Lean_Syntax_instBEqSyntax; uint8_t l_Lean_Meta_Simp_Config_zeta___default; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9; static lean_object* l_Lean_instQuoteSyntax___closed__1; lean_object* l_Array_isEqvAux___at_Lean_Syntax_structEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setHeadInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -243,18 +241,17 @@ lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1(lean_obje static lean_object* l_Lean_Name_appendIndexAfter___closed__1; uint8_t l_instDecidableNot___rarg(uint8_t); uint8_t l_String_contains(lean_object*, uint32_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__7; extern lean_object* l_Lean_numLitKind; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_instQuoteString(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLitAux_match__1___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5; lean_object* l_Array_mapSepElemsM(lean_object*); lean_object* l_Lean_mkGroupNode(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -274,25 +271,27 @@ lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23; lean_object* l_Lean_Syntax_structEq___boxed(lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706_(lean_object*, lean_object*); +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717_(lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_ConfigCtx_contextual___default; lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isFieldIdx_x3f(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2; lean_object* l_Lean_Syntax_setTailInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast_match__1(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteProd___rarg___closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17; uint8_t l_Lean_isNumericSubscript(uint32_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1(lean_object*); lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34; lean_object* l_Lean_expandMacros_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -304,6 +303,8 @@ lean_object* l_String_capitalize(lean_object*); lean_object* l_Lean_NameGenerator_next(lean_object*); lean_object* l_Lean_Syntax_decodeCharLit___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36; lean_object* l_Lean_Syntax_getTailInfo_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -321,10 +322,11 @@ static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__1; lean_object* l_Lean_mkNullNode(lean_object*); lean_object* l_Lean_Name_instToStringName(lean_object*); lean_object* l_Lean_Syntax_structEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2; lean_object* l_Lean_Name_toStringWithSep_maybeEscape___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_modifyBase(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteBool___closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4; lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring___boxed(lean_object*); @@ -337,7 +339,6 @@ lean_object* l_Lean_Name_isInaccessibleUserName_match__1___rarg(lean_object*, le lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHead_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; @@ -351,48 +352,48 @@ lean_object* l_Lean_mkFreshId(lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__5; lean_object* l_Lean_mkCIdent(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8; lean_object* l_Lean_version_getIsRelease___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isLit_x3f_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32; static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__7; lean_object* l_Lean_Syntax_setTailInfoAux_match__1(lean_object*); lean_object* l_Lean_mkOptionalNode(lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getPatch___boxed(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1; lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_object*); lean_object* l_Nat_pred(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__4; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__4; static lean_object* l_Lean_version_patch___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2; uint8_t l_Substring_beq(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNone_match__1(lean_object*); lean_object* l_Array_filterSepElemsM(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_version_getSpecialDesc(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4; static lean_object* l_Lean_version_minor___closed__1; lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_Config_maxDischargeDepth___default; lean_object* l_Lean_Name_appendBefore_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__2; static lean_object* l_Lean_Syntax_mkApp___closed__2; @@ -404,7 +405,6 @@ static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__7; static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__4; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20; lean_object* l_Lean_version_minor; lean_object* l_Lean_Syntax_decodeStrLit___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,14 +418,14 @@ lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object* lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeCharLit(lean_object*); uint8_t l_Lean_version_isRelease; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3; static lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___closed__1; static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12; uint8_t l_Char_isAlpha(uint32_t); lean_object* l_Lean_Option_hasQuote(lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16; uint8_t l_Lean_isLetterLike(uint32_t); static lean_object* l_Lean_instQuoteName___closed__2; lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); @@ -433,7 +433,6 @@ lean_object* l_Lean_Syntax_isStrLit_x3f___boxed(lean_object*); lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__8; lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); @@ -458,7 +457,6 @@ static lean_object* l_Lean_Name_instReprName___closed__1; lean_object* l_Lean_Syntax_getTrailingSize_match__1(lean_object*); lean_object* l_Lean_Name_instReprName___boxed(lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3; lean_object* l_Lean_instQuoteName_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__8; uint8_t l_Lean_version_getIsRelease(lean_object*); @@ -474,7 +472,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg__ uint8_t l_Array_isEqvAux___at_Lean_Syntax_structEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteString___boxed(lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStrChunks___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; static lean_object* l_Lean_instQuoteBool___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_eta___default; @@ -487,7 +484,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux_match__1(lean_object*); lean_object* l_Lean_withHeadRefOnly(lean_object*); lean_object* l_String_quote(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33; uint8_t l_Char_isAlphanum(uint32_t); lean_object* l_Lean_Syntax_copyHeadTailInfoFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_instReprConfig; @@ -509,14 +505,12 @@ lean_object* l_Array_filterSepElems(lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1(lean_object*); lean_object* l_Lean_Name_appendBefore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907_(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918_(lean_object*, lean_object*); lean_object* l_Lean_mkSepArray_match__1___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7; static lean_object* l_Lean_instQuoteSubstring___closed__4; lean_object* l_Lean_Name_isInaccessibleUserName___boxed(lean_object*); lean_object* l_Lean_Name_replacePrefix___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray_match__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24; static lean_object* l_Lean_termEval__prec_____closed__11; lean_object* l_Lean_expandMacros___boxed__const__1; lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); @@ -524,30 +518,31 @@ static lean_object* l_Lean_evalPrec___closed__1; static lean_object* l_Lean_Name_toStringWithSep___closed__1; lean_object* l_Lean_NameGenerator_curr(lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___rarg___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26; lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__1; static lean_object* l_Lean_Syntax_mkApp___closed__3; lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15; lean_object* l_Lean_mkFreshId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withHeadRefOnly_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18; static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22; lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26; lean_object* l_Lean_Syntax_getTailInfo_x3f(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_instBEqConfig; static lean_object* l_Lean_termEval__prec_____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; uint8_t l_Lean_Meta_Simp_Config_iota___default; lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption(lean_object*); @@ -557,28 +552,31 @@ lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString_maybePseudoSyntax___boxed(lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1; lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); static lean_object* l_Lean_instQuoteArray___rarg___closed__1; static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__1; lean_object* l_Lean_Name_toStringWithSep_match__1(lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__2; static lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2; lean_object* l_Lean_Syntax_getHead_x3f___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed(lean_object*, lean_object*); lean_object* l_Lean_isIdEndEscape___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14; lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28; lean_object* l_Lean_Syntax_getTailInfo_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__3; static lean_object* l_Lean_termEval__prec_____closed__5; static lean_object* l_Lean_instQuoteBool___closed__4; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__7; lean_object* l_Lean_mkCIdentFromRef(lean_object*); lean_object* l_Lean_Syntax_unsetTrailing_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -586,14 +584,11 @@ lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__8; uint8_t l_Lean_isIdFirst(uint32_t); lean_object* l_Lean_instQuoteName(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706____boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11; lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); lean_object* l_Lean_instQuoteBool_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31; lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__2; static lean_object* l_Lean_mkCIdentFrom___closed__1; @@ -609,21 +604,24 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1(lean_ob static lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax___closed__1; static lean_object* l_Lean_mkHole___closed__6; static lean_object* l_Lean_Name_instReprName___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15; uint8_t l_Lean_isSubScriptAlnum(uint32_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18; lean_object* l_Lean_Syntax_toNat_match__1(lean_object*); uint8_t l_Lean_Meta_Simp_Config_beta___default; static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__4; lean_object* l_Lean_Syntax_getHead_x3f___lambda__1(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1(lean_object*); uint8_t l_List_beq___at_Lean_Syntax_structEq___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setTailInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withHeadRefOnly___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3; lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_Syntax_getHead_x3f___closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__1; lean_object* l_Lean_Syntax_toNat(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12; lean_object* lean_name_append_before(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getPatch(lean_object*); static lean_object* l_Lean_mkOptionalNode___closed__2; @@ -652,19 +650,17 @@ lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_obje lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix_match__1(lean_object*); static lean_object* l_Lean_Name_escapePart___closed__5; -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5350_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5453_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5571_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5096_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5214_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5358_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5462_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5581_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5102_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5221_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__4; lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkSepArray___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7; lean_object* l_Lean_Name_getRoot___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getRoot(lean_object*); @@ -672,6 +668,7 @@ uint8_t l_UInt32_decLe(uint32_t, uint32_t); static lean_object* l_Lean_evalPrec___closed__3; lean_object* l_Lean_mkSepArray___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNone_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__2; uint8_t l_Lean_Name_toString_maybePseudoSyntax(lean_object*); static lean_object* l_Lean_instQuoteName___closed__1; @@ -681,6 +678,7 @@ static lean_object* l_Array_getSepElems___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__3; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717____boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLitAux(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_instQuoteSyntax; @@ -689,11 +687,13 @@ static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; lean_object* l_Lean_instQuoteBool_match__1(lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_Lean_Syntax_structEq_match__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16; static lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1; lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__5; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20; uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit___boxed(lean_object*); @@ -11313,7 +11313,7 @@ return x_75; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1() { _start: { lean_object* x_1; @@ -11321,17 +11321,17 @@ x_1 = lean_mk_string("Syntax"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkHole___closed__4; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3() { _start: { lean_object* x_1; @@ -11339,21 +11339,21 @@ x_1 = lean_mk_string("addPrec"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4993_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4998_(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_myMacro____x40_Init_Meta___hyg_4993____closed__4; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -11395,7 +11395,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_17); lean_dec(x_2); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -11484,7 +11484,7 @@ return x_40; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1() { _start: { lean_object* x_1; @@ -11492,21 +11492,21 @@ x_1 = lean_mk_string("subPrec"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5096_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5102_(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_myMacro____x40_Init_Meta___hyg_5096____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -11548,7 +11548,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_17); lean_dec(x_2); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -11757,7 +11757,7 @@ x_1 = l_Lean_termEval__prec_____closed__11; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5214_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5221_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12178,7 +12178,7 @@ return x_75; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1() { _start: { lean_object* x_1; @@ -12186,21 +12186,21 @@ x_1 = lean_mk_string("addPrio"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5350_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5358_(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_myMacro____x40_Init_Meta___hyg_5350____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -12242,7 +12242,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_17); lean_dec(x_2); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -12331,7 +12331,7 @@ return x_40; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1() { _start: { lean_object* x_1; @@ -12339,21 +12339,21 @@ x_1 = lean_mk_string("subPrio"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5453_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5462_(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_myMacro____x40_Init_Meta___hyg_5453____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -12395,7 +12395,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_17); lean_dec(x_2); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -12586,7 +12586,7 @@ x_1 = l_Lean_termEval__prio_____closed__9; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5571_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5581_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14365,7 +14365,7 @@ lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object* x_1, l _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { @@ -14435,7 +14435,7 @@ lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object* x_1, l _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { @@ -14571,7 +14571,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_11); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_11); lean_dec(x_4); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) @@ -14916,7 +14916,7 @@ x_1 = l_Lean_Meta_Simp_instInhabitedConfig___closed__1; return x_1; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t 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; 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; @@ -14975,24 +14975,24 @@ x_49 = lean_apply_m(x_3, 24, _aargs); } return x_49; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_31; lean_object* x_37; lean_object* x_43; lean_object* x_49; lean_object* x_55; lean_object* x_61; lean_object* x_67; lean_object* x_73; uint8_t x_79; @@ -15386,11 +15386,11 @@ goto block_72; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -15401,7 +15401,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6706____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6717____boxed), 2, 0); return x_1; } } @@ -15413,7 +15413,7 @@ x_1 = l_Lean_Meta_Simp_instBEqConfig___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__1() { _start: { lean_object* x_1; @@ -15421,29 +15421,29 @@ x_1 = lean_mk_string("maxSteps"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2; x_3 = lean_alloc_ctor(4, 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4() { _start: { lean_object* x_1; @@ -15451,29 +15451,29 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5; x_3 = lean_alloc_ctor(4, 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7() { _start: { lean_object* x_1; @@ -15481,17 +15481,17 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9() { _start: { lean_object* x_1; @@ -15499,17 +15499,17 @@ x_1 = lean_mk_string("maxDischargeDepth"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11() { _start: { lean_object* x_1; @@ -15517,17 +15517,17 @@ x_1 = lean_mk_string("contextual"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13() { _start: { lean_object* x_1; @@ -15535,17 +15535,17 @@ x_1 = lean_mk_string("memoize"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15() { _start: { lean_object* x_1; @@ -15553,17 +15553,17 @@ x_1 = lean_mk_string("singlePass"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17() { _start: { lean_object* x_1; @@ -15571,17 +15571,17 @@ x_1 = lean_mk_string("zeta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19() { _start: { lean_object* x_1; @@ -15589,17 +15589,17 @@ x_1 = lean_mk_string("beta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21() { _start: { lean_object* x_1; @@ -15607,17 +15607,17 @@ x_1 = lean_mk_string("eta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23() { _start: { lean_object* x_1; @@ -15625,17 +15625,17 @@ x_1 = lean_mk_string("iota"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25() { _start: { lean_object* x_1; @@ -15643,17 +15643,17 @@ x_1 = lean_mk_string("proj"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27() { _start: { lean_object* x_1; @@ -15661,17 +15661,17 @@ x_1 = lean_mk_string("ctorEq"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29() { _start: { lean_object* x_1; @@ -15679,17 +15679,17 @@ x_1 = lean_mk_string("decide"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31() { _start: { lean_object* x_1; @@ -15697,35 +15697,35 @@ x_1 = lean_mk_string("{ "); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35() { _start: { lean_object* x_1; @@ -15733,17 +15733,17 @@ x_1 = lean_mk_string(" }"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35; 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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -15753,7 +15753,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -15763,7 +15763,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; @@ -15772,11 +15772,11 @@ lean_inc(x_3); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8; +x_8 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -15784,11 +15784,11 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10; +x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -15806,7 +15806,7 @@ lean_ctor_set(x_20, 1, x_8); x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_10); -x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12; +x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -15827,14 +15827,14 @@ lean_dec(x_1); if (x_25 == 0) { lean_object* x_165; -x_165 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_165 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_35 = x_165; goto block_164; } else { lean_object* x_166; -x_166 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_166 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_35 = x_166; goto block_164; } @@ -15850,7 +15850,7 @@ lean_ctor_set(x_37, 1, x_8); x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_10); -x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14; +x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14; x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); @@ -15860,14 +15860,14 @@ lean_ctor_set(x_41, 1, x_14); if (x_26 == 0) { lean_object* x_162; -x_162 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_162 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_42 = x_162; goto block_161; } else { lean_object* x_163; -x_163 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_163 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_42 = x_163; goto block_161; } @@ -15883,7 +15883,7 @@ lean_ctor_set(x_44, 1, x_8); x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_10); -x_46 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16; +x_46 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16; x_47 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -15893,14 +15893,14 @@ lean_ctor_set(x_48, 1, x_14); if (x_27 == 0) { lean_object* x_159; -x_159 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_159 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_49 = x_159; goto block_158; } else { lean_object* x_160; -x_160 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_160 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_49 = x_160; goto block_158; } @@ -15916,7 +15916,7 @@ lean_ctor_set(x_51, 1, x_8); x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_10); -x_53 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18; +x_53 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18; x_54 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -15926,14 +15926,14 @@ lean_ctor_set(x_55, 1, x_14); if (x_28 == 0) { lean_object* x_156; -x_156 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_156 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_56 = x_156; goto block_155; } else { lean_object* x_157; -x_157 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_157 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_56 = x_157; goto block_155; } @@ -15949,7 +15949,7 @@ lean_ctor_set(x_58, 1, x_8); x_59 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_10); -x_60 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20; +x_60 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20; x_61 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); @@ -15959,14 +15959,14 @@ lean_ctor_set(x_62, 1, x_14); if (x_29 == 0) { lean_object* x_153; -x_153 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_153 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_63 = x_153; goto block_152; } else { lean_object* x_154; -x_154 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_154 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_63 = x_154; goto block_152; } @@ -15982,7 +15982,7 @@ lean_ctor_set(x_65, 1, x_8); x_66 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_10); -x_67 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22; +x_67 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22; x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); @@ -15992,14 +15992,14 @@ lean_ctor_set(x_69, 1, x_14); if (x_30 == 0) { lean_object* x_150; -x_150 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_150 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_70 = x_150; goto block_149; } else { lean_object* x_151; -x_151 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_151 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_70 = x_151; goto block_149; } @@ -16015,7 +16015,7 @@ lean_ctor_set(x_72, 1, x_8); x_73 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_10); -x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24; +x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24; x_75 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -16025,14 +16025,14 @@ lean_ctor_set(x_76, 1, x_14); if (x_31 == 0) { lean_object* x_147; -x_147 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_147 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_77 = x_147; goto block_146; } else { lean_object* x_148; -x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_77 = x_148; goto block_146; } @@ -16048,7 +16048,7 @@ lean_ctor_set(x_79, 1, x_8); x_80 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_10); -x_81 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26; +x_81 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26; x_82 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_82, 0, x_80); lean_ctor_set(x_82, 1, x_81); @@ -16058,14 +16058,14 @@ lean_ctor_set(x_83, 1, x_14); if (x_32 == 0) { lean_object* x_144; -x_144 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_144 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_84 = x_144; goto block_143; } else { lean_object* x_145; -x_145 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_145 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_84 = x_145; goto block_143; } @@ -16081,7 +16081,7 @@ lean_ctor_set(x_86, 1, x_8); x_87 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_10); -x_88 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28; +x_88 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28; x_89 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_89, 0, x_87); lean_ctor_set(x_89, 1, x_88); @@ -16091,7 +16091,7 @@ lean_ctor_set(x_90, 1, x_14); if (x_33 == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_91 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_91 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_92 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); @@ -16101,7 +16101,7 @@ lean_ctor_set(x_93, 1, x_8); x_94 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_10); -x_95 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30; +x_95 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30; x_96 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); @@ -16114,15 +16114,15 @@ lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; le x_98 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_91); -x_99 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34; +x_99 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34; x_100 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); -x_101 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36; +x_101 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36; x_102 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_102, 0, x_100); lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33; +x_103 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33; x_104 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); @@ -16135,19 +16135,19 @@ return x_106; 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; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_107 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_107 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_108 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34; +x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34; x_110 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); -x_111 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36; +x_111 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36; x_112 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_112, 0, x_110); lean_ctor_set(x_112, 1, x_111); -x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33; +x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33; x_114 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); @@ -16161,7 +16161,7 @@ return x_116; else { lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_117 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38; +x_117 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38; x_118 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_118, 0, x_90); lean_ctor_set(x_118, 1, x_117); @@ -16171,7 +16171,7 @@ lean_ctor_set(x_119, 1, x_8); x_120 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_10); -x_121 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30; +x_121 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30; x_122 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_122, 0, x_120); lean_ctor_set(x_122, 1, x_121); @@ -16181,19 +16181,19 @@ lean_ctor_set(x_123, 1, x_14); if (x_34 == 0) { lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; -x_124 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37; +x_124 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37; x_125 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_125, 0, x_123); lean_ctor_set(x_125, 1, x_124); -x_126 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34; +x_126 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34; x_127 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); -x_128 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36; +x_128 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36; x_129 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_129, 0, x_127); lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33; +x_130 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33; x_131 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); @@ -16209,15 +16209,15 @@ lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; x_134 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_134, 0, x_123); lean_ctor_set(x_134, 1, x_117); -x_135 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34; +x_135 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34; x_136 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36; +x_137 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36; x_138 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_138, 0, x_136); lean_ctor_set(x_138, 1, x_137); -x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33; +x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33; x_140 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); @@ -16238,11 +16238,11 @@ return x_142; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -16251,7 +16251,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instReprConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____boxed), 2, 0); return x_1; } } @@ -16498,18 +16498,18 @@ l_Lean_evalPrec___closed__2 = _init_l_Lean_evalPrec___closed__2(); lean_mark_persistent(l_Lean_evalPrec___closed__2); l_Lean_evalPrec___closed__3 = _init_l_Lean_evalPrec___closed__3(); lean_mark_persistent(l_Lean_evalPrec___closed__3); -l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__2); -l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__3); -l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__4 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4993____closed__4); -l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5096____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__3); +l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4998____closed__4); +l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5102____closed__2); l_Lean_termEval__prec_____closed__1 = _init_l_Lean_termEval__prec_____closed__1(); lean_mark_persistent(l_Lean_termEval__prec_____closed__1); l_Lean_termEval__prec_____closed__2 = _init_l_Lean_termEval__prec_____closed__2(); @@ -16536,14 +16536,14 @@ l_Lean_termEval__prec__ = _init_l_Lean_termEval__prec__(); lean_mark_persistent(l_Lean_termEval__prec__); l_Lean_evalPrio___closed__1 = _init_l_Lean_evalPrio___closed__1(); lean_mark_persistent(l_Lean_evalPrio___closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5350____closed__2); -l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5453____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5358____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5462____closed__2); l_Lean_termEval__prio_____closed__1 = _init_l_Lean_termEval__prio_____closed__1(); lean_mark_persistent(l_Lean_termEval__prio_____closed__1); l_Lean_termEval__prio_____closed__2 = _init_l_Lean_termEval__prio_____closed__2(); @@ -16626,82 +16626,82 @@ l_Lean_Meta_Simp_instBEqConfig___closed__1 = _init_l_Lean_Meta_Simp_instBEqConfi lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig___closed__1); l_Lean_Meta_Simp_instBEqConfig = _init_l_Lean_Meta_Simp_instBEqConfig(); lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__16); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__17); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__18); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__19); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__20); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__21); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__22); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__23); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__24); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__25); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__26); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__27); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__28); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__29); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__30); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__31); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__32); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__33); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__34); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__35); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__36); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__37); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6907____closed__38); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__17); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__18); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__19); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__20); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__21); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__22); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__23); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__24); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__25); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__26); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__27); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__28); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__29); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__30); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__31); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__32); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__33); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__34); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__35); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__36); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__37); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6918____closed__38); l_Lean_Meta_Simp_instReprConfig___closed__1 = _init_l_Lean_Meta_Simp_instReprConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_instReprConfig___closed__1); l_Lean_Meta_Simp_instReprConfig = _init_l_Lean_Meta_Simp_instReprConfig(); diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index fec095bf17..59cda52607 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -14,552 +14,550 @@ extern "C" { #endif static lean_object* l_term___u2228_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__8; static lean_object* l_precMax___closed__5; static lean_object* l_stx___x3c_x7c_x3e_____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5; lean_object* l_Lean_Parser_Tactic_expandERwSeq(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__1; static lean_object* l_precMin1___closed__1; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__3; static lean_object* l_term___x3c_x3c_x3c_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__3; static lean_object* l_term___x3c_x3d_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__7; +lean_object* l_myMacro____x40_Init_Notation___hyg_491____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_addPrec___closed__17; static lean_object* l_term_x25_x5b___x7c___x5d___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__8; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_exact___closed__6; lean_object* l_Lean_Parser_Tactic_tacticTrivial; +static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__3; static lean_object* l_Lean_Parser_Tactic_intros___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__8; static lean_object* l_termDepIfThenElse___closed__26; static lean_object* l_term___x2f_x5c_____closed__1; lean_object* l_term___x3c_x3d__; static lean_object* l_Lean_Parser_Tactic_induction___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__9; static lean_object* l_Lean_Parser_Tactic_generalize___closed__8; static lean_object* l_term___x3c_x7c_x3e_____closed__5; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_cases___closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__17; static lean_object* l_rawNatLit___closed__9; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__3; static lean_object* l_term_u2039___u203a___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__3; static lean_object* l_term___x25_____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__3; lean_object* l_term___x3d__; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__8; static lean_object* l_stx___x3c_x7c_x3e_____closed__9; static lean_object* l_term___u2265_____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x24_x3e_____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__4; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__3; static lean_object* l_term___u2227_____closed__5; static lean_object* l_term___x2b_x2b_____closed__4; lean_object* l_term___x5e_x5e_x5e__; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__1; lean_object* l_Lean_Parser_Tactic_first; static lean_object* l_Lean_Parser_Tactic_letrec___closed__12; static lean_object* l_Lean_term__Matches_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__9; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__6; static lean_object* l_Lean_Parser_Tactic_revert___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__2; static lean_object* l_term___x25_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__13; static lean_object* l_precMin1___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__4; static lean_object* l_term_x2d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__8; static lean_object* l_term___x5c_x2f_____closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__12; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__6; static lean_object* l_Lean_Parser_Tactic_generalize___closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11; static lean_object* l_termDepIfThenElse___closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__6; lean_object* l_term_u2039___u203a; static lean_object* l_term___x3e_x3e_x3e_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__5; static lean_object* l_prec_x28___x29___closed__5; static lean_object* l_Lean_Parser_Tactic_case___closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__2; static lean_object* l_term___x5e_x5e_x5e_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__5; lean_object* l_term___x26_x26_x26__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1124____closed__3; static lean_object* l_termMax__prec___closed__2; static lean_object* l_Lean_Parser_Tactic_apply___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__10; static lean_object* l_term___u2265_____closed__4; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__9; static lean_object* l_term___x2d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__6; static lean_object* l_termMax__prec___closed__1; static lean_object* l_precLead___closed__4; lean_object* l_term_x2d__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5226____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_term___x3e_x3d_____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__4; static lean_object* l_precMax___closed__3; lean_object* l_Lean_Parser_Tactic_refine_x27; static lean_object* l_Lean_Parser_Tactic_first___closed__9; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__3; lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__5; static lean_object* l_stx___x3c_x7c_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__12; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_object* l_Lean_Parser_Tactic_tacticRfl; static lean_object* l_Lean_Parser_Tactic_generalize___closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__4; lean_object* l_Lean_Parser_Tactic_rwSeq; static lean_object* l_term___u2264_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__7; static lean_object* l_Lean_Parser_Tactic_intro___closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__1; extern lean_object* l_Lean_nullKind; lean_object* l_term___x3c_x3c_x3c__; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__4; static lean_object* l_term___x3d_x3d_____closed__6; static lean_object* l_term___u2227_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__19; static lean_object* l_term_x5b___x5d___closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__7; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__2; static lean_object* l_term___x2b_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__4; static lean_object* l_term___x3c_____closed__1; static lean_object* l_Lean_Parser_Tactic_location___closed__7; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__2; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__5; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__7; static lean_object* l_prioLow___closed__5; static lean_object* l_Lean_Parser_Tactic_generalize___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_termDepIfThenElse___closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__6; lean_object* l_Lean_Parser_Attr_simp; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_13447____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x7e_x3d_____closed__2; static lean_object* l_term___x26_x26_x26_____closed__3; static lean_object* l_term___xd7_____closed__6; static lean_object* l_term___u2245_____closed__2; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__6; -lean_object* l_myMacro____x40_Init_Notation___hyg_3733_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5664_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_3950_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_4167_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_4601_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_4384_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6902_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_7119_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_7336_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_7553_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8879_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6685_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_9181_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_9069_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8974_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_9398_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_9615_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5854_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5759_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_7770_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6139_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6044_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5949_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6251_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_6468_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_10869_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8784_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_11086_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_11303_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_11737_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_11520_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8204_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_7987_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8404_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8689_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8594_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_8499_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_13196_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_13362_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_13763_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_13586_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_9832_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_10047_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_10459_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_10242_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_10674_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_12862_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_11954_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_12171_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_12388_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_12605_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_760_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_691_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_622_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1018_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_928_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_838_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1198_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1108_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1453_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1318_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_553_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_3082_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_2865_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_3299_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_3516_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1588_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_209_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_140_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_71_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_484_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_416_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_347_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_287_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_4817_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_2648_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5011_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5284_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5189_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5569_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5474_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_5379_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1731_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1997_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_1879_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_2214_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_2431_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_13934_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_14133_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_14569_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_19735_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_4635_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_3763_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5706_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_3981_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_4199_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_4417_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6953_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_7389_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_7171_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_7607_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8942_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8846_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6735_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9134_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9038_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9465_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9247_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9683_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5898_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5802_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6090_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5994_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6299_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6186_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_6517_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_10943_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8750_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_11161_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_11379_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_11597_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_7825_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8043_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8261_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8654_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8558_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8462_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_12945_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_13280_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_13447_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_13672_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_9901_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_11815_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_10117_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_10313_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_10747_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_10531_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_13850_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_12251_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_12033_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_12469_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_12687_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_701_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_631_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1033_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_942_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_850_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_771_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1214_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1124_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1471_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1335_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_2673_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_561_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_2891_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_3109_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_3545_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_3327_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1607_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_212_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_142_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_72_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_491_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_422_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_352_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_291_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_4852_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5047_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5322_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5226_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5610_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5514_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_5418_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1751_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_2019_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1900_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_2237_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_2455_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_14022_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_14222_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_14659_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_19842_(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__7; static lean_object* l_Lean_Parser_Tactic_injection___closed__2; static lean_object* l_term___x7c_x7c_____closed__3; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__4; static lean_object* l_term___x2d_____closed__2; static lean_object* l_term___x5e_x5e_x5e_____closed__5; static lean_object* l_term___x26_x26_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__2; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__1; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__4; static lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__1; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__9; static lean_object* l_term___x3e_x3e_x3e_____closed__2; static lean_object* l_term___x3e_x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__5; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6; lean_object* l_term___x3e_x3e_x3d__; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11; lean_object* l_Lean_Parser_Tactic_changeWith; lean_object* l_term___u2218__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__7; static lean_object* l_term___x7c_x7c_x7c_____closed__1; static lean_object* l_term___x7e_x3d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4; static lean_object* l_term___u2245_____closed__1; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; static lean_object* l_prio_x28___x29___closed__6; static lean_object* l_termIfThenElse___closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__8; static lean_object* l_Lean_Parser_Attr_simp___closed__2; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4; static lean_object* l_Lean_Parser_Tactic_skip___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__2; static lean_object* l_term___x3c_x3c_x3c_____closed__5; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__8; static lean_object* l_termDepIfThenElse___closed__31; static lean_object* l_stx___x3c_x7c_x3e_____closed__1; static lean_object* l_Lean_Parser_Tactic_rwWithRfl___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1453____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__5; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__2; static lean_object* l_term___x3c_____closed__2; lean_object* l_Lean_Parser_Tactic_simpAll; static lean_object* l_Lean_Parser_Tactic_generalize___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__9; static lean_object* l_Lean_Parser_Tactic_first___closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__10; static lean_object* l_Lean_Parser_Tactic_revert___closed__8; static lean_object* l_term___x24_______closed__6; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__2; static lean_object* l_term_xac_____closed__6; static lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__2; static lean_object* l_term___x2f_x5c_____closed__6; -lean_object* l_myMacro____x40_Init_Notation___hyg_1453____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_intro___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__1; static lean_object* l_term___x3e_x3e_x3d_____closed__3; static lean_object* l_term___x3c_x3c_x3c_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__7; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__9; static lean_object* l_term___x7c_x3e_____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__8; static lean_object* l_prec_x28___x29___closed__6; static lean_object* l_term___u2228_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; static lean_object* l_term___x2f_____closed__6; +lean_object* l_myMacro____x40_Init_Notation___hyg_13672____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x5e_x5e_x5e_____closed__2; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__4; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__4; static lean_object* l_stx___x2c_x2b___closed__3; static lean_object* l_term___x2a_x3e_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__8; static lean_object* l_term___u2218_____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__9; static lean_object* l_term___x7c_x3e_____closed__2; static lean_object* l_precMax___closed__2; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__4; static lean_object* l_term___x7c_x7c_____closed__5; static lean_object* l_Lean_Parser_Tactic_location___closed__3; static lean_object* l_term___u2265_____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__5; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__4; static lean_object* l_prioLow___closed__3; static lean_object* l_Lean_Parser_Tactic_clear___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__7; static lean_object* l_term_x2d_____closed__6; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__16; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__5; static lean_object* l_rawNatLit___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__6; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__4; static lean_object* l_term___x3c_x24_x3e_____closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlts; static lean_object* l_stx_x21_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__3; static lean_object* l_term___x3c_x2a_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__7; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__13; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__5; static lean_object* l_term___u2264_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15951____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAll___closed__4; lean_object* l_rawNatLit; static lean_object* l_Lean_Parser_Tactic_simp___closed__11; static lean_object* l_Lean_Parser_Tactic_change___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__7; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__2; static lean_object* l_term___x5e_____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__6; static lean_object* l_Lean_Parser_Tactic_simp___closed__19; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__3; static lean_object* l_Lean_Parser_Tactic_skip___closed__2; static lean_object* l_term___x7c_x7c_x7c_____closed__2; static lean_object* l_Lean_Parser_Tactic_injection___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__3; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__5; lean_object* l_prioMid; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__4; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5; static lean_object* l_termMax__prec___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__3; static lean_object* l_Lean_Parser_Tactic_apply___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__3; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__3; static lean_object* l_Lean_Parser_Tactic_change___closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__3; static lean_object* l_term_u2039___u203a___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__6; static lean_object* l_termDepIfThenElse___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__4; static lean_object* l_term___x3e_x3e_x3e_____closed__1; static lean_object* l_termDepIfThenElse___closed__18; static lean_object* l_term___x2d_____closed__4; static lean_object* l_term___x3c_x2a_____closed__1; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046_(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__7; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138_(lean_object*, lean_object*, lean_object*); static lean_object* l_prioMid___closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__7; lean_object* l_Lean_Parser_Tactic_tacticUnhygienic__; static lean_object* l_precLead___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlt; -lean_object* l_myMacro____x40_Init_Notation___hyg_1731____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_771____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__8; static lean_object* l_term___x3e_x3d_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__4; static lean_object* l_Lean_Parser_Tactic_case___closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__2; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__12; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__4; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__8; static lean_object* l_rawNatLit___closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__16; lean_object* l_Lean_Parser_Tactic_tacticRepeat__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__9; static lean_object* l_Lean_Parser_Tactic_injection___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__1; static lean_object* l_term___x3e_x3e_____closed__3; static lean_object* l_rawNatLit___closed__2; static lean_object* l_Lean_Parser_Tactic_locationTargets___closed__3; static lean_object* l_Lean_Parser_Tactic_cases___closed__5; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__11; static lean_object* l_Lean_Parser_Tactic_refine___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__1; static lean_object* l_term_x25_x5b___x7c___x5d___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__6; static lean_object* l_term___x3e_x3e_____closed__5; static lean_object* l_termDepIfThenElse___closed__15; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; static lean_object* l_Lean_Parser_Tactic_exact___closed__1; static lean_object* l_term_x5b___x5d___closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__5; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__3; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_injection___closed__9; lean_object* lean_array_get_size(lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__1; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__4; lean_object* l_termDepIfThenElse; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__7; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__5; static lean_object* l_precLead___closed__3; static lean_object* l_termDepIfThenElse___closed__24; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3; static lean_object* l_term_u2039___u203a___closed__2; static lean_object* l_rawNatLit___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__20; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__2; static lean_object* l_term___x24_______closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1; static lean_object* l_term___x5e_x5e_x5e_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1; static lean_object* l_term___x3c_x24_x3e_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__3; static lean_object* l_term___u2218_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__5; static lean_object* l_term___x5c_x2f_____closed__7; static lean_object* l_Lean_Parser_Tactic_subst___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__6; static lean_object* l_term___x5e_____closed__3; lean_object* l_term_x7e_x7e_x7e__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__7; lean_object* l_term___x3c__; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__5; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__1; lean_object* l_term___x3c_x7c__; static lean_object* l_Lean_Parser_Tactic_intros___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__13; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__3; lean_object* l_term___x2b_x2b__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__1; static lean_object* l_termDepIfThenElse___closed__7; static lean_object* l_Lean_Parser_Tactic_cases___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__6; static lean_object* l_term___u2218_____closed__1; static lean_object* l_Lean_Parser_Tactic_clear___closed__4; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__5; static lean_object* l_term___x3c_x2a_____closed__4; lean_object* l_stx___x3c_x7c_x3e__; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__4; static lean_object* l_Lean_Parser_Tactic_revert___closed__1; static lean_object* l_term___x26_x26_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_skip___closed__1; static lean_object* l_term_x2d_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18788____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__9; static lean_object* l_term___u2264_____closed__3; static lean_object* l_term_u2039___u203a___closed__3; static lean_object* l_term___x5e_____closed__5; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7; static lean_object* l_precArg___closed__1; static lean_object* l_term___u2218_____closed__9; static lean_object* l_term___x3c_x3d_____closed__4; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14; static lean_object* l_Lean_Parser_Tactic_generalize___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__6; static lean_object* l_Lean_Parser_Tactic_revert___closed__4; static lean_object* l_termMax__prec___closed__3; -lean_object* l_myMacro____x40_Init_Notation___hyg_13934____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_1751____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__6; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__6; static lean_object* l_term_x2d_____closed__2; static lean_object* l_term_x21_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_771____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_location___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__7; lean_object* l_term___x26_x26__; static lean_object* l_term___x24_______closed__5; static lean_object* l_Lean_Parser_Tactic_injection___closed__1; static lean_object* l_Lean_Parser_Tactic_case___closed__10; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__7; static lean_object* l_Lean_Parser_Tactic_done___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__1; lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d__; lean_object* l_Lean_Parser_Tactic_rename; static lean_object* l_Lean_Parser_Tactic_cases___closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__8; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__1; static lean_object* l_stx_x21_____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19396____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__2; static lean_object* l_Lean_Parser_Tactic_intros___closed__3; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__2; static lean_object* l_termIfThenElse___closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__6; static lean_object* l_Lean_Parser_Tactic_apply___closed__5; lean_object* l_Lean_term__Matches__; static lean_object* l_Lean_Parser_Tactic_focus___closed__2; @@ -567,27 +565,34 @@ static lean_object* l_Lean_Parser_Tactic_assumption___closed__4; lean_object* l_Lean_Parser_Tactic_existsIntro; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__14; static lean_object* l_Lean_Parser_Tactic_intros___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_prec_x28___x29___closed__2; static lean_object* l_Lean_Parser_Tactic_first___closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__6; lean_object* l_Lean_Parser_Tactic_contradiction; static lean_object* l_Lean_Parser_Tactic_clear___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1; static lean_object* l_termWithout__expected__type_____closed__2; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1; static lean_object* l_Lean_Parser_Tactic_clear___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__5; lean_object* l_Lean_Parser_Tactic_clear; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__4; static lean_object* l_Lean_Parser_Tactic_letrec___closed__9; static lean_object* l_precMin___closed__1; -lean_object* l_myMacro____x40_Init_Notation___hyg_13763____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__6; static lean_object* l_Lean_Parser_Tactic_case___closed__4; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__8; static lean_object* l_Lean_Parser_Tactic_simp___closed__17; lean_object* l_Lean_Parser_Tactic_rwWithRfl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4; static lean_object* l_term___x3c_x7c_x3e_____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__2; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__3; static lean_object* l_term___x2f_____closed__1; static lean_object* l_stx___x2c_x2a___closed__1; static lean_object* l_term___x24_______closed__2; @@ -595,159 +600,164 @@ static lean_object* l_term___x2f_x5c_____closed__5; static lean_object* l_Lean_Parser_Tactic_subst___closed__1; static lean_object* l_term___x7c_x7c_____closed__2; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__4; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__4; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__3; static lean_object* l_term_x21_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__4; lean_object* l_Lean_Parser_Tactic_induction; static lean_object* l_Lean_Parser_Tactic_induction___closed__19; static lean_object* l_Lean_Parser_Tactic_letrec___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__9; static lean_object* l_term___u2218_____closed__4; lean_object* l_Lean_Parser_Tactic_simp; static lean_object* l_Lean_Parser_Tactic_simp___closed__9; static lean_object* l_term___u2264_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__6; static lean_object* l_term___x3c_x7c_____closed__3; static lean_object* l_term_u2039___u203a___closed__9; static lean_object* l_prioDefault___closed__4; static lean_object* l_termDepIfThenElse___closed__16; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__6; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__18; static lean_object* l_term_x21_____closed__5; -lean_object* l_myMacro____x40_Init_Notation___hyg_140____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_142____closed__1; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__9; static lean_object* l_precMin___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__1; static lean_object* l_term___x3c_x3d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_140____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2; static lean_object* l_stx___x3f___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__4; -lean_object* l_myMacro____x40_Init_Notation___hyg_553____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__5; static lean_object* l_term___x24_______closed__8; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__3; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__7; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__15; static lean_object* l_term___x3a_x3a_____closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_142____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_cases___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__9; lean_object* l_Lean_Parser_Tactic_assumption; lean_object* l_term___x3e__; lean_object* l_termMax__prec; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__4; static lean_object* l_Lean_Parser_Tactic_subst___closed__2; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__14; static lean_object* l_Lean_Parser_Tactic_focus___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3; static lean_object* l_term___x7c_x7c_____closed__1; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_1471____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_change___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__5; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; static lean_object* l_term___u2218_____closed__8; static lean_object* l_Lean_Parser_Tactic_cases___closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__11; static lean_object* l_Lean_Parser_Tactic_intro___closed__12; static lean_object* l_term___x24_______closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__5; static lean_object* l_Lean_Parser_Tactic_simp___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__6; static lean_object* l_term___x3c_x24_x3e_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__8; static lean_object* l_term_x21_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__4; static lean_object* l_term___x7c_x7c_x7c_____closed__6; static lean_object* l_term___x5c_x2f_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__12; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; static lean_object* l_stx___x2a___closed__1; static lean_object* l_Lean_Parser_Tactic_location___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__6; static lean_object* l_Lean_Parser_Tactic_clear___closed__3; static lean_object* l_term___x24_______closed__4; static lean_object* l_Lean_Parser_Tactic_intros___closed__8; static lean_object* l_term___x3d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__2; lean_object* l_stx___x2c_x2a_x2c_x3f; static lean_object* l_Lean_Parser_Attr_simp___closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__4; static lean_object* l_term___x3e_x3e_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__1; static lean_object* l_term___xd7_____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3d_____closed__4; static lean_object* l_termDepIfThenElse___closed__20; lean_object* l_term___u2228__; lean_object* l_term_xac__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__6; lean_object* l_Lean_Parser_Tactic_tacticHave__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__12; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__10; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__2; lean_object* l_Lean_Parser_Tactic_case; static lean_object* l_term___x2f_____closed__4; static lean_object* l_term_x5b___x5d___closed__10; static lean_object* l_Lean_Parser_Tactic_traceState___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__6; static lean_object* l_term___x3c_x2a_____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__7; static lean_object* l_term___x3e_x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_generalize___closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1033____closed__3; static lean_object* l_Lean_Parser_Tactic_location___closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__6; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__4; static lean_object* l_Lean_Parser_Tactic_traceState___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__3; lean_object* l_Lean_Parser_Tactic_allGoals; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__5; lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27__; static lean_object* l_term___x3c_x7c_____closed__2; static lean_object* l_Lean_Parser_Tactic_refine___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__4; static lean_object* l_Lean_Parser_Tactic_induction___closed__16; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__1; static lean_object* l_termWithout__expected__type_____closed__4; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__2; lean_object* l_Lean_Parser_Tactic_cases; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__6; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2039___u203a___closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__9; static lean_object* l_term___x3c_x7c_x3e_____closed__4; static lean_object* l_term_x21_____closed__1; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5226____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__1; static lean_object* l_termDepIfThenElse___closed__32; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2; static lean_object* l_termDepIfThenElse___closed__10; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_subst___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__11; static lean_object* l_term___x3e_x3e_____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__4; lean_object* l_term___x3c_x2a__; static lean_object* l_Lean_Parser_Attr_simp___closed__5; static lean_object* l_term_xac_____closed__7; static lean_object* l_Lean_Parser_Tactic_assumption___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__1; static lean_object* l_Lean_Parser_Tactic_letrec___closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__3; static lean_object* l_stx___x2a___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__4; static lean_object* l_Lean_Parser_Tactic_generalize___closed__12; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__5; @@ -758,14 +768,10 @@ static lean_object* l_term___u2218_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__2; static lean_object* l_term___x3c_x3c_x3c_____closed__6; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__2; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__4; static lean_object* l_termIfThenElse___closed__12; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__3; static lean_object* l_term_u2039___u203a___closed__4; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9; lean_object* l_Lean_Parser_Tactic_revert; @@ -778,79 +784,78 @@ static lean_object* l_stx___x2c_x2a___closed__2; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__3; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__2; static lean_object* l_term___x25_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__5; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__2; static lean_object* l_stx___x3c_x7c_x3e_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__6; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__1; static lean_object* l_term___u2218_____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; static lean_object* l_term___x3c_x24_x3e_____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__1; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__5; static lean_object* l_term___x3e_x3d_____closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__2; static lean_object* l_term___x2a_____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__7; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__20; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__9; static lean_object* l_term___x24_______closed__9; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__6; static lean_object* l_Lean_Parser_Tactic_focus___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__2; static lean_object* l_precArg___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__4; static lean_object* l_term___x3c_x7c_____closed__5; lean_object* l_Lean_Parser_Tactic_locationTargets; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__4; static lean_object* l_Lean_Parser_Tactic_change___closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__8; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; static lean_object* l_stx___x2c_x2a___closed__4; static lean_object* l_Lean_Parser_Tactic_traceState___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__9; static lean_object* l_term___x2f_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__2; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__5; lean_object* l_term___x3a_x3a__; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18629____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticAdmit; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_location___closed__1; static lean_object* l_termDepIfThenElse___closed__34; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__2; static lean_object* l_prec_x28___x29___closed__1; static lean_object* l_Lean_Parser_Tactic_simp___closed__23; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5; lean_object* l_prioLow; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__1; lean_object* l_Lean_Parser_Tactic_rewriteSeq; static lean_object* l_term___x3a_x3a_____closed__5; lean_object* l_Lean_Parser_Tactic_simpPre; static lean_object* l_term___x3e_x3e_x3d_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__5; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__1; static lean_object* l_stx___x3f___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__2; static lean_object* l_Lean_Parser_Tactic_intro___closed__11; lean_object* l_Lean_Parser_Tactic_focus; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__2; static lean_object* l_termDepIfThenElse___closed__23; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1; static lean_object* l_term___u2218_____closed__3; lean_object* l_precMin; static lean_object* l_term___x2a_x3e_____closed__5; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__5; -lean_object* l_myMacro____x40_Init_Notation___hyg_622____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__13; static lean_object* l_prioLow___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__3; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__15; static lean_object* l_prec_x28___x29___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__3; static lean_object* l_Lean_Parser_Tactic_intros___closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__12; static lean_object* l_term___x5e_____closed__6; @@ -858,17 +863,13 @@ static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__4; static lean_object* l_termDepIfThenElse___closed__13; lean_object* l_stx___x2b; static lean_object* l_term___x2a_x3e_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__4; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13; lean_object* l_Lean_Parser_Tactic_tacticRefineLift__; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__3; lean_object* l_Lean_Parser_Tactic_rotateLeft; static lean_object* l_Lean_Parser_Tactic_focus___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__1; static lean_object* l_term___x7c_x7c_x7c_____closed__5; @@ -877,13 +878,16 @@ static lean_object* l_termIfThenElse___closed__1; static lean_object* l_prec_x28___x29___closed__8; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_addPrec___closed__14; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__6; static lean_object* l_stx_x21_____closed__5; static lean_object* l_prioHigh___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__15; static lean_object* l_Lean_Parser_Tactic_cases___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__7; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__8; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__6; @@ -892,24 +896,24 @@ static lean_object* l_term___x3c_____closed__5; static lean_object* l_prioHigh___closed__1; static lean_object* l_Lean_Parser_Tactic_constructor___closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__16; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__1; static lean_object* l_term___x3c_____closed__3; static lean_object* l_prioLow___closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__7; static lean_object* l_term___x3a_x3a_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__9; static lean_object* l_Lean_Parser_Tactic_revert___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__6; static lean_object* l_term___u2227_____closed__1; static lean_object* l_term___u2264_____closed__6; lean_object* l_prio_x28___x29; lean_object* l_term___x2d__; static lean_object* l_term___x5c_x2f_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__3; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__5; static lean_object* l_stx___x2c_x2b___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__4; lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_traceState___closed__4; @@ -917,141 +921,128 @@ static lean_object* l_termDepIfThenElse___closed__21; static lean_object* l_Lean_Parser_Tactic_intro___closed__10; lean_object* l_precLead; static lean_object* l_precMin1___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__3; static lean_object* l_prioHigh___closed__5; static lean_object* l_term___u2227_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__5; static lean_object* l_term_x25_x5b___x7c___x5d___closed__7; static lean_object* l_Lean_Parser_Tactic_simp___closed__21; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__7; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__7; static lean_object* l_Lean_Parser_Tactic_apply___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__7; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__7; static lean_object* l_precMin1___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__11; static lean_object* l_Lean_Parser_Tactic_revert___closed__3; static lean_object* l_Lean_Parser_Tactic_intros___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__3; static lean_object* l_term___x5e_x5e_x5e_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__6; static lean_object* l_Lean_Parser_Tactic_simp___closed__13; static lean_object* l_Lean_Parser_Tactic_injection___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__12; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__1; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__2; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__9; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1018____closed__3; static lean_object* l_term___x3e_x3d_____closed__4; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__8; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_212____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__9; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__3; static lean_object* l_term___x7c_x7c_____closed__4; static lean_object* l_prio_x28___x29___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__2; static lean_object* l_Lean_Parser_Tactic_revert___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_212____closed__1; static lean_object* l_term___x2a_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__6; static lean_object* l_prioDefault___closed__2; static lean_object* l_Lean_Parser_Tactic_generalize___closed__11; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__5; lean_object* l_term___x7c_x7c_x7c__; static lean_object* l_term___u2227_____closed__6; static lean_object* l_prioMid___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__4; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__4; static lean_object* l_term___x3a_x3a_____closed__1; -lean_object* l_myMacro____x40_Init_Notation___hyg_209____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_precLead___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__4; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__1; lean_object* l_term___x3e_x3d__; lean_object* l_prioDefault; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__8; static lean_object* l_term___x3c_x7c_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__8; static lean_object* l_Lean_Parser_Tactic_letrec___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__6; static lean_object* l_termDepIfThenElse___closed__6; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__14; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__3; static lean_object* l_term___x24_______closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__6; static lean_object* l_termIfThenElse___closed__10; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__5; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__5; lean_object* l_Lean_Parser_Tactic_rwRuleSeq; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_cases___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__1; static lean_object* l_prioDefault___closed__1; static lean_object* l_term_x25_x5b___x7c___x5d___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__2; static lean_object* l_term___u2228_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2; static lean_object* l_Lean_Parser_Tactic_location___closed__4; static lean_object* l_term___x3e_____closed__6; static lean_object* l_term___x2a_____closed__3; lean_object* l_Lean_Parser_Tactic_locationWildcard; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_209____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__2; lean_object* l_term___x3c_x2a_x3e__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__2; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__1; static lean_object* l_term___x2d_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__5; lean_object* l_term___x7e_x3d__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__2; static lean_object* l_term___x3c_x24_x3e_____closed__4; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__3; lean_object* l_Lean_Parser_Syntax_subPrec; lean_object* l_term___u2227__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__6; static lean_object* l_stx___x3f___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__6; lean_object* l_term___x2b__; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__6; static lean_object* l_Lean_Parser_Tactic_location___closed__8; static lean_object* l_Lean_Parser_Tactic_exact___closed__3; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__9; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5; static lean_object* l_prio_x28___x29___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19455____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8; static lean_object* l_prioLow___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__4; static lean_object* l_Lean_Parser_Tactic_assumption___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__1; lean_object* l_Lean_Parser_Tactic_location; static lean_object* l_term_x7e_x7e_x7e_____closed__5; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__3; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__5; static lean_object* l_term___x5c_x2f_____closed__6; static lean_object* l_term___x3c_x2a_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__3; static lean_object* l_precLead___closed__2; static lean_object* l_term___x2b_x2b_____closed__6; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__16; @@ -1060,15 +1051,17 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__4; static lean_object* l_term_x25_x5b___x7c___x5d___closed__3; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__3; lean_object* l_term___x24____; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4; static lean_object* l_term___x3a_x3a_____closed__2; static lean_object* l_Lean_Parser_Tactic_exact___closed__5; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__9; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1; static lean_object* l_term___x3e_____closed__4; +static lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1; @@ -1078,90 +1071,91 @@ static lean_object* l_term___x26_x26_x26_____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__18; static lean_object* l_term_x25_x5b___x7c___x5d___closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__7; static lean_object* l_term___x7c_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__2; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__15; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__3; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__17; static lean_object* l_Lean_Parser_Tactic_simp___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3a_x3a_____closed__6; static lean_object* l_term_x5b___x5d___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__5; static lean_object* l_Lean_Parser_Tactic_rename___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__2; lean_object* l_termIfThenElse; static lean_object* l_Lean_Parser_Tactic_injection___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__4; static lean_object* l_term___x3e_____closed__2; lean_object* l_Lean_Parser_Tactic_tacticHave_x27__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__4; static lean_object* l_term_x25_x5b___x7c___x5d___closed__4; +static lean_object* l_unexpand____x40_Init_Notation___hyg_2002____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__9; static lean_object* l_Lean_Parser_Tactic_change___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1900____closed__3; static lean_object* l_stx___x2c_x2a___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__1; static lean_object* l_termIfThenElse___closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__4; static lean_object* l_stx___x2a___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__1; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__4; static lean_object* l_term___x26_x26_x26_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__6; extern lean_object* l_Lean_instInhabitedSyntax; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__12; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__1; static lean_object* l_term___x3c_x2a_x3e_____closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_72____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__14; static lean_object* l_term___xd7_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1588____closed__1; static lean_object* l_term___x3d_x3d_____closed__5; static lean_object* l_term_x2d_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__7; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__7; static lean_object* l_Lean_Parser_Tactic_refine___closed__6; static lean_object* l_termDepIfThenElse___closed__25; static lean_object* l_term___x25_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; -lean_object* l_myMacro____x40_Init_Notation___hyg_71____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__3; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__2; +lean_object* l_myMacro____x40_Init_Notation___hyg_561____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_injection___closed__5; static lean_object* l_term___x3e_x3e_x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12; static lean_object* l_termWithout__expected__type_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__4; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__12; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__6; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__2; lean_object* l_Lean_Parser_Tactic_tacticLet_x27__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__3; static lean_object* l_term___x26_x26_x26_____closed__2; lean_object* l_term___u2245__; -lean_object* l_myMacro____x40_Init_Notation___hyg_1588____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__6; static lean_object* l_term___x3c_____closed__4; static lean_object* l_termDepIfThenElse___closed__30; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__3; static lean_object* l_term_xac_____closed__2; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__8; static lean_object* l_Lean_Parser_Tactic_first___closed__16; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4635____closed__5; lean_object* l_Lean_Parser_Tactic_apply; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; static lean_object* l_term___x7e_x3d_____closed__4; @@ -1173,156 +1167,154 @@ lean_object* l_Lean_Parser_Tactic_failIfSuccess; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__2; static lean_object* l_Lean_Parser_Tactic_paren___closed__1; static lean_object* l_stx___x2c_x2a___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_term___x2a__; static lean_object* l_Lean_Parser_Tactic_letrec___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_561____closed__1; static lean_object* l_Lean_Parser_Tactic_done___closed__2; static lean_object* l_term___xd7_____closed__5; static lean_object* l_Lean_Parser_Tactic_change___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__7; static lean_object* l_Lean_Parser_Tactic_generalize___closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__7; lean_object* l_term___x3c_x7c_x3e__; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__4; static lean_object* l_termDepIfThenElse___closed__28; static lean_object* l_term___x3e_x3e_x3e_____closed__6; static lean_object* l_termDepIfThenElse___closed__14; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__7; static lean_object* l_term___x7c_x7c_x7c_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__4; static lean_object* l_Lean_Parser_Tactic_paren___closed__2; static lean_object* l_Lean_Parser_Tactic_subst___closed__3; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__9; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__5; static lean_object* l_termDepIfThenElse___closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__2; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4; static lean_object* l_Lean_Parser_Tactic_injection___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__2; lean_object* l_term___x2f_x5c__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__5; static lean_object* l_term___x2b_x2b_____closed__2; static lean_object* l_term___x3e_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__6; static lean_object* l_term___x25_____closed__4; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1471____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__7; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5047____closed__7; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7; static lean_object* l_Lean_Parser_Tactic_case___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__6; -lean_object* l_unexpand____x40_Init_Notation___hyg_10032_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_10659_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_10853_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_9382_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_9165_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_9599_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_9816_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_12155_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_12372_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_7971_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_7320_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_7103_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_7537_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_7754_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_10443_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_10226_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_8188_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_12589_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_11287_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_11938_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_11070_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_11721_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_11504_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_2415_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_2632_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_4151_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_2198_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_1981_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_6886_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_6669_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_6452_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_4996_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_4802_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_3934_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_4585_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_3283_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_4368_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_3066_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_3717_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_2849_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_3500_(lean_object*, lean_object*); -lean_object* l_unexpand____x40_Init_Notation___hyg_6235_(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__2; +lean_object* l_unexpand____x40_Init_Notation___hyg_10926_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_10731_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_10514_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_9230_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_9884_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_9666_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_12452_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_9448_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_12234_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_8026_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_7372_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_7154_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_7808_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_6936_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_7590_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_10101_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_10296_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_8244_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_12016_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_12670_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_11144_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_11362_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_11798_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_11580_(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__13; +lean_object* l_unexpand____x40_Init_Notation___hyg_2438_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_2656_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_3964_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_4182_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_2002_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_2220_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_6718_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_6500_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_5031_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_4836_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_4618_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_4400_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_3092_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_3746_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_2874_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_3528_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_6282_(lean_object*, lean_object*); +lean_object* l_unexpand____x40_Init_Notation___hyg_3310_(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__5; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__5; static lean_object* l_term___x5e_____closed__1; static lean_object* l_Lean_Parser_Tactic_subst___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__20; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__2; lean_object* l_Lean_Parser_Tactic_subst; static lean_object* l_termDepIfThenElse___closed__22; static lean_object* l_Lean_Parser_Tactic_case___closed__14; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__10; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__3; static lean_object* l_rawNatLit___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_347____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8462____closed__2; static lean_object* l_precArg___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__4; static lean_object* l_term___x5c_x2f_____closed__1; -static lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__3; lean_object* l_Lean_Parser_Tactic_tacticLet__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__8; static lean_object* l_term_x25_x5b___x7c___x5d___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__7; static lean_object* l_Lean_Parser_Tactic_intros___closed__4; -lean_object* l_myMacro____x40_Init_Notation___hyg_19735____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__8; static lean_object* l_termIfThenElse___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__2; static lean_object* l_term___x3e_x3e_____closed__6; static lean_object* l_term___x5c_x2f_____closed__4; lean_object* l_stx___x3f; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__9; static lean_object* l_term___x3d_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__9; static lean_object* l_Lean_Parser_Tactic_change___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__2; static lean_object* l_stx___x3f___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__2; lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__7; static lean_object* l_Lean_Parser_Tactic_intro___closed__16; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__6; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__4; static lean_object* l_term___x5e_____closed__4; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__14; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__7; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__10; static lean_object* l_term___x3e_x3e_x3d_____closed__4; @@ -1330,123 +1322,129 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__8; static lean_object* l_stx___x2a___closed__5; static lean_object* l_term___x3c_x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_intros___closed__9; -lean_object* l_myMacro____x40_Init_Notation___hyg_13586____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_622____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__22; static lean_object* l_termDepIfThenElse___closed__33; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__1; static lean_object* l_term___x2a_____closed__6; static lean_object* l_term___x3c_x2a_x3e_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__3; static lean_object* l_term_x2d_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__8; static lean_object* l_precMin___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__3; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6; -lean_object* l_myMacro____x40_Init_Notation___hyg_1318____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698_(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19455_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19396_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19337_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18788_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18629_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18285_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17835_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15951_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__6; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__9; static lean_object* l_term___u2227_____closed__2; static lean_object* l_term___x3e_____closed__1; static lean_object* l_term_x25_x5b___x7c___x5d___closed__8; -lean_object* l_myMacro____x40_Init_Notation___hyg_287____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__8; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__1; static lean_object* l_term___u2228_____closed__3; static lean_object* l_term___x5e_____closed__2; static lean_object* l_Lean_Parser_Tactic_simp___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__4; lean_object* l_prioHigh; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__9; static lean_object* l_term_xac_____closed__4; lean_object* l_precArg; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__3; static lean_object* l_term___x2b_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10313____closed__3; static lean_object* l_precMax___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__14; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__5; static lean_object* l_term___u2265_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__8; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__4; static lean_object* l_term_x5b___x5d___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__13; lean_object* l_Lean_Parser_Tactic_rwRule; static lean_object* l_term_xac_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__2; static lean_object* l_Lean_Parser_Tactic_refine___closed__1; static lean_object* l_Lean_Parser_Tactic_paren___closed__4; lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e__; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__1; static lean_object* l_term___x2b_x2b_____closed__3; lean_object* l_term_x5b___x5d; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; static lean_object* l_Lean_Parser_Tactic_refine___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__1; static lean_object* l_Lean_Parser_Tactic_expandERwSeq___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_942____closed__7; static lean_object* l_Lean_Parser_Tactic_case___closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__3; static lean_object* l_stx___x2c_x2b___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8462____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__15; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; static lean_object* l_term___x2b_x2b_____closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__7; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__6; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_13850____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x7c_____closed__7; static lean_object* l_termDepIfThenElse___closed__19; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1018____closed__2; static lean_object* l_Lean_Parser_Tactic_focus___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__1; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__18; static lean_object* l_term___x3c_x7c_____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3763____closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__2; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__7; static lean_object* l_stx_x21_____closed__6; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__9; static lean_object* l_stx___x2b___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__2; static lean_object* l_Lean_Parser_Tactic_simp___closed__25; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__2; @@ -1454,37 +1452,39 @@ lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__; static lean_object* l_prioDefault___closed__5; static lean_object* l_prec_x28___x29___closed__9; static lean_object* l_stx___x3c_x7c_x3e_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_291____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_first___closed__14; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__3; static lean_object* l_term___x3e_x3e_x3e_____closed__5; lean_object* l_term_x21__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__7; static lean_object* l_Lean_Parser_Tactic_simp___closed__18; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__9; static lean_object* l_Lean_Parser_Tactic_simp___closed__15; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__3; static lean_object* l_Lean_term__Matches_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__8; static lean_object* l_term___x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_refine___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__1; static lean_object* l_precMax___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__2; static lean_object* l_termWithout__expected__type_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__11; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__1; lean_object* l_Lean_Parser_Tactic_exact; static lean_object* l_term___u2228_____closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__17; static lean_object* l_Lean_Parser_Tactic_first___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13280____closed__4; static lean_object* l_stx___x2c_x2b___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__2; static lean_object* l_term___x7c_x3e_____closed__7; static lean_object* l_precMin___closed__5; static lean_object* l_Lean_Parser_Tactic_case___closed__1; @@ -1493,23 +1493,24 @@ static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__6; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__8; static lean_object* l_term___x2f_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_553____closed__1; static lean_object* l_term___x26_x26_x26_____closed__4; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_352____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1033____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_5226____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__4; static lean_object* l_Lean_Parser_Tactic_revert___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__3; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__15; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__3; static lean_object* l_term___x24_______closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_631____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_1900____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__3; static lean_object* l_term___x7c_x3e_____closed__5; static lean_object* l_term___x3c_x2a_x3e_____closed__5; @@ -1517,206 +1518,206 @@ static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__5; static lean_object* l_Lean_Parser_Tactic_locationTargets___closed__1; static lean_object* l_termIfThenElse___closed__5; static lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__9; static lean_object* l_rawNatLit___closed__3; static lean_object* l_term_x5b___x5d___closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; -lean_object* l_myMacro____x40_Init_Notation___hyg_13362____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_1471____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__8; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__1; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__7; static lean_object* l_term_x25_x5b___x7c___x5d___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_631____closed__1; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__9; static lean_object* l_Lean_Parser_Tactic_rename___closed__8; static lean_object* l_term___u2245_____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__7; static lean_object* l_term___x3c_x3d_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__2; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_case___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__6; static lean_object* l_term___u2228_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1; static lean_object* l_term___x26_x26_____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__4; lean_object* l_Lean_Parser_Tactic_letrec; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__9; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__6; lean_object* l_term_x7b_____x3a___x2f_x2f___x7d; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11; +lean_object* l_myMacro____x40_Init_Notation___hyg_1335____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_case___closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__5; static lean_object* l_term___x7c_x7c_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__1; static lean_object* l_termWithout__expected__type_____closed__1; lean_object* l_Lean_Parser_Tactic_change; static lean_object* l_Lean_Parser_Tactic_simp___closed__5; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__9; static lean_object* l_Lean_Parser_Tactic_injection___closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3327____closed__7; static lean_object* l_term___x3c_x7c_x3e_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__13; static lean_object* l_term___x3c_x2a_____closed__5; static lean_object* l_Lean_Parser_Tactic_assumption___closed__3; -lean_object* l_myMacro____x40_Init_Notation___hyg_347____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__4; static lean_object* l_Lean_Parser_Tactic_done___closed__1; static lean_object* l_term___x2b_x2b_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_locationTargets___closed__2; static lean_object* l_term___x24_______closed__11; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__1; static lean_object* l_Lean_Parser_Tactic_rename___closed__9; static lean_object* l_precMin___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__11; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1900____closed__1; lean_object* l_termIfLet___x3a_x3d__Then__Else__; static lean_object* l_stx___x2b___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__9; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1471____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__18; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__6; static lean_object* l_Lean_Parser_Tactic_letrec___closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__4; lean_object* l_term___x3c_x24_x3e__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__3; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11815____closed__6; lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__9; static lean_object* l_termDepIfThenElse___closed__29; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_352____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_stx___x2b___closed__2; static lean_object* l_Lean_Parser_Tactic_case___closed__2; static lean_object* l_Lean_Parser_Tactic_simp___closed__2; static lean_object* l_term___x2f_x5c_____closed__3; static lean_object* l_Lean_Parser_Tactic_rename___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__1; lean_object* l_term___x3e_x3e__; static lean_object* l_termMax__prec___closed__5; static lean_object* l_term_x5b___x5d___closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17835____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_rwRule___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1033____closed__2; static lean_object* l_term___x3c_x3d_____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__1; static lean_object* l_termDepIfThenElse___closed__35; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__4; static lean_object* l_Lean_Parser_Tactic_intro___closed__6; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__12; lean_object* l_stx___x2c_x2b; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__12; static lean_object* l_Lean_Parser_Tactic_simp___closed__24; static lean_object* l_term_x7e_x7e_x7e_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__11; static lean_object* l_Lean_Parser_Tactic_simp___closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3; static lean_object* l_term___x3a_x3a_____closed__7; static lean_object* l_term___x3d_x3d_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__4; static lean_object* l_termDepIfThenElse___closed__8; static lean_object* l_Lean_Parser_Tactic_cases___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10747____closed__5; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__5; static lean_object* l_term_u2039___u203a___closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7; static lean_object* l_term___x2a_x3e_____closed__4; lean_object* l_Lean_Parser_Tactic_simpPost; lean_object* l_Lean_Parser_Tactic_done; static lean_object* l_term_x5b___x5d___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19842____closed__2; lean_object* l_Lean_Parser_Tactic_intros; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__21; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__3; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; static lean_object* l_term___x3c_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__5; lean_object* l_Lean_Parser_Tactic_tacticTry__; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__7; static lean_object* l_term___x3c_x3c_x3c_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5189____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_416____closed__1; static lean_object* l_term___x7e_x3d_____closed__6; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3981____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__12; static lean_object* l_stx___x2b___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__2; static lean_object* l_term___x2b_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__7; static lean_object* l_Lean_Parser_Tactic_induction___closed__14; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9; static lean_object* l_Lean_Parser_Tactic_case___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__11; static lean_object* l_term_x5b___x5d___closed__12; static lean_object* l_Lean_Parser_Tactic_constructor___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__3; static lean_object* l_term___x2a_x3e_____closed__1; static lean_object* l_prio_x28___x29___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1; static lean_object* l_prec_x28___x29___closed__10; static lean_object* l_termDepIfThenElse___closed__17; static lean_object* l_term___x26_x26_x26_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1453____closed__3; static lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l_Lean_Parser_Syntax_addPrio; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__8; static lean_object* l_term___x2a_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__3; static lean_object* l_Lean_Parser_Tactic_done___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3; lean_object* l_Lean_Parser_Tactic_tacticInferInstance; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__5; static lean_object* l_termDepIfThenElse___closed__27; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_object* l_term___x3e_x3e_x3e__; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4; static lean_object* l_prioMid___closed__5; static lean_object* l_Lean_Parser_Tactic_apply___closed__1; lean_object* l_stx___x2a; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_422____closed__1; lean_object* l_term___x2f__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1033____closed__1; static lean_object* l_termDepIfThenElse___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5; static lean_object* l_termIfThenElse___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__6; static lean_object* l_Lean_term__Matches_____closed__4; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7; static lean_object* l_stx_x21_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_422____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_letrec___closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; static lean_object* l_term___x3c_x2a_x3e_____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__9; lean_object* l_term___x7c_x3e__; static lean_object* l_Lean_Parser_Tactic_first___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__6; static lean_object* l_precArg___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__2; static lean_object* l_Lean_Parser_Tactic_generalize___closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_term_x7e_x7e_x7e_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2673____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10943____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19842____closed__3; static lean_object* l_stx_x21_____closed__4; static lean_object* l_term___x3d_x3d_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__7; lean_object* l_term___xd7__; @@ -1726,13 +1727,14 @@ static lean_object* l_term___u2264_____closed__1; lean_object* l_Lean_Parser_Tactic_withReducible; static lean_object* l_prioMid___closed__3; static lean_object* l_term___u2265_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__2; lean_object* l_Lean_Parser_Tactic_simpErase; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__2; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__1; static lean_object* l_Lean_term__Matches_____closed__3; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__2; @@ -1740,71 +1742,66 @@ static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__2; static lean_object* l_term___x2a_____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__7; lean_object* l_Lean_Parser_Tactic_injection; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__2; static lean_object* l_prec_x28___x29___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_exact___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1124____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__4; static lean_object* l_term___x2b_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__1; static lean_object* l_term___x3d_x3d_____closed__1; static lean_object* l_term___x3c_x2a_x3e_____closed__4; static lean_object* l_term___xd7_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__4; static lean_object* l_prioHigh___closed__2; static lean_object* l_Lean_Parser_Tactic_intro___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__3; static lean_object* l_term___x3e_x3e_x3d_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1018____closed__4; static lean_object* l_Lean_Parser_Tactic_focus___closed__3; static lean_object* l_term___x26_x26_x26_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__1; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__2; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5; lean_object* l_prec_x28___x29; static lean_object* l_rawNatLit___closed__6; static lean_object* l_term___x5e_x5e_x5e_____closed__1; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__1; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__2; lean_object* l_Lean_Parser_Tactic_constructor; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; static lean_object* l_term___u2245_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7607____closed__4; lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4; static lean_object* l_termDepIfThenElse___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__13; static lean_object* l_Lean_term__Matches_____closed__2; static lean_object* l_termIfThenElse___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__5; static lean_object* l_term___x3e_x3e_____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__10; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__1; static lean_object* l_Lean_Parser_Tactic_change___closed__7; static lean_object* l_term___x3c_x2a_x3e_____closed__2; static lean_object* l_prec_x28___x29___closed__3; static lean_object* l_term_x5b___x5d___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__2; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__7; static lean_object* l_term___x24_______closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__2; static lean_object* l_term_x7e_x7e_x7e_____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9683____closed__6; static lean_object* l_term___x26_x26_____closed__1; static lean_object* l_term___x26_x26_____closed__2; lean_object* l_precMax; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__8; static lean_object* l_Lean_Parser_Tactic_induction___closed__9; static lean_object* l_prioHigh___closed__4; lean_object* l_precMin1; @@ -1812,259 +1809,262 @@ lean_object* l_term___u2265__; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__1; static lean_object* l_Lean_term__Matches_____closed__1; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__6; static lean_object* l_prioMid___closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__7; static lean_object* l_term___xd7_____closed__1; static lean_object* l_Lean_Parser_Tactic_rename___closed__5; -static lean_object* l_unexpand____x40_Init_Notation___hyg_1981____closed__1; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__8; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__7; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__11; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1018____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__9; static lean_object* l_term_x2d_____closed__7; static lean_object* l_Lean_Parser_Tactic_first___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__3; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_1607____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termIfThenElse___closed__4; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__9; static lean_object* l_rawNatLit___closed__5; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__19; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4199____closed__5; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__4; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__4; lean_object* l_term___x5e__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__8; static lean_object* l_Lean_Parser_Tactic_intro___closed__14; +lean_object* l_myMacro____x40_Init_Notation___hyg_850____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termIfThenElse___closed__8; lean_object* l_stx___x2c_x2a; lean_object* l_Lean_Parser_Syntax_subPrio; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1607____closed__1; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1900____closed__4; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__4; lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e__; static lean_object* l_term___x7e_x3d_____closed__5; lean_object* l_Lean_Parser_Syntax_addPrec; static lean_object* l_Lean_Parser_Tactic_constructor___closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_14022____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_prioDefault___closed__3; static lean_object* l_term___x3c_x3d_____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__5; static lean_object* l_term___x3d_x3d_____closed__4; static lean_object* l_stx___x2a___closed__3; lean_object* l_stx_x21__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__4; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__8; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; static lean_object* l_Lean_Parser_Tactic_induction___closed__17; static lean_object* l_term___x2a_____closed__4; static lean_object* l_term___u2265_____closed__5; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__11; static lean_object* l_term_x7e_x7e_x7e_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4417____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__2; lean_object* l_Lean_Parser_Tactic_casesTarget; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__6; static lean_object* l_Lean_Parser_Tactic_letrec___closed__3; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__4; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__5; static lean_object* l_term___x7c_x3e_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__7; static lean_object* l_term___x5e_x5e_x5e_____closed__4; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__5; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__2; static lean_object* l_term_x5b___x5d___closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__4; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__3; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3; lean_object* l_Lean_Parser_Tactic_skip; static lean_object* l_term___x3e_x3e_x3e_____closed__3; static lean_object* l_Lean_Parser_Attr_simp___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1124____closed__4; static lean_object* l_term___x3c_x7c_____closed__6; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8462____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__16; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1453____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18285____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticShow__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__5; static lean_object* l_stx_x21_____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11161____closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__3; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__4; lean_object* l_stx___x2c_x2b_x2c_x3f; static lean_object* l_Lean_Parser_Tactic_expandRwSeq___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2455____closed__5; static lean_object* l_term___xd7_____closed__4; lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object*, lean_object*, lean_object*); static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__1; static lean_object* l_term___x3e_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__9; +lean_object* l_myMacro____x40_Init_Notation___hyg_19842____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__8; +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1(lean_object*); static lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1124____closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3545____closed__6; lean_object* l_Lean_Parser_Tactic_traceState; static lean_object* l_term___x2f_x5c_____closed__2; lean_object* l_Lean_Parser_Tactic_rotateRight; static lean_object* l_Lean_Parser_Tactic_intro___closed__15; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__9; static lean_object* l_term___x26_x26_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7; static lean_object* l_prio_x28___x29___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__11; lean_object* l_Lean_Parser_Tactic_tacticSuffices__; lean_object* l_Lean_Parser_Tactic_expandRwSeq___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__9; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__3; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__3; static lean_object* l_Lean_Parser_Tactic_case___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__8; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__13; lean_object* l_Lean_Parser_Tactic_erewriteSeq; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__2; static lean_object* l_term___x3d_____closed__3; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__4; -lean_object* l_myMacro____x40_Init_Notation___hyg_760____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x7c_x3e_____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12251____closed__3; lean_object* l_Lean_Parser_Tactic_paren; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__22; lean_object* l_Lean_Parser_Tactic_intro; static lean_object* l_term___x3c_x7c_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_760____closed__1; static lean_object* l_termDepIfThenElse___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__1; static lean_object* l_term___x2f_x5c_____closed__4; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__3; static lean_object* l_Lean_Parser_Tactic_constructor___closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14222____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__4; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1(lean_object*); lean_object* l_Lean_Parser_Tactic_locationHyp; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2; static lean_object* l_term___x3e_x3e_x3d_____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19842____closed__1; lean_object* l_Lean_Parser_Tactic_refine; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__6; static lean_object* l_term___x3c_x3c_x3c_____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__2; static lean_object* l_term_x7e_x7e_x7e_____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11379____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3; static lean_object* l_Lean_Parser_Tactic_generalize___closed__5; static lean_object* l_precArg___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__3; static lean_object* l_termWithout__expected__type_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12469____closed__6; static lean_object* l_stx___x2c_x2b___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_13447____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__5; static lean_object* l_term___x7e_x3d_____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term_xac_____closed__5; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__11; static lean_object* l_term___x3e_x3e_____closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__2; -static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; -static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19337____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__5; -lean_object* l_myMacro____x40_Init_Notation___hyg_691____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6953____closed__6; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__3; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2891____closed__3; static lean_object* l_Lean_Parser_Tactic_skip___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__3; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__7; static lean_object* l_term___x26_x26_____closed__6; static lean_object* l_term___x7c_x7c_x7c_____closed__4; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_6735____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2; static lean_object* l_Lean_Parser_Tactic_rwWithRfl___closed__1; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__2; lean_object* l_term___x3d_x3d__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7825____closed__1; lean_object* l_Lean_Parser_Tactic_erwSeq; static lean_object* l_term___x2a_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6; -static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6; lean_object* l_term___x5c_x2f__; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_8043____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_14659____closed__3; lean_object* l_Lean_Parser_Tactic_rwWithRfl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__8; static lean_object* l_Lean_Parser_Tactic_intros___closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10531____closed__2; static lean_object* l_term___x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__2; static lean_object* l_term___x7c_x7c_____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__3; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__3; static lean_object* l_term_x5b___x5d___closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__2; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__9; static lean_object* l_term___u2245_____closed__5; static lean_object* l_term___x25_____closed__6; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_3109____closed__8; lean_object* l_term___x25__; static lean_object* l_stx___x2b___closed__5; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__1; -lean_object* l_myMacro____x40_Init_Notation___hyg_484____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1214____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_4852____closed__4; static lean_object* l_termDepIfThenElse___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__10; +static lean_object* l_myMacro____x40_Init_Notation___hyg_1335____closed__12; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12033____closed__7; static lean_object* l_term___x2b_____closed__4; lean_object* l_term___x2a_x3e__; +static lean_object* l_myMacro____x40_Init_Notation___hyg_6299____closed__5; static lean_object* l_term___x24_______closed__10; static lean_object* l_prio_x28___x29___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__6; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2237____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_701____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__4; -lean_object* l_myMacro____x40_Init_Notation___hyg_838____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_Notation___hyg_12687____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; +static lean_object* l_myMacro____x40_Init_Notation___hyg_7389____closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_12945____closed__13; +static lean_object* l_myMacro____x40_Init_Notation___hyg_2019____closed__5; +static lean_object* l_myMacro____x40_Init_Notation___hyg_10117____closed__4; static lean_object* l_term___u2245_____closed__4; -static lean_object* l_myMacro____x40_Init_Notation___hyg_5189____closed__1; -lean_object* l_myMacro____x40_Init_Notation___hyg_416____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__9; +static lean_object* l_myMacro____x40_Init_Notation___hyg_9247____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__8; +static lean_object* l_myMacro____x40_Init_Notation___hyg_11597____closed__6; lean_object* l_termWithout__expected__type__; static lean_object* _init_l_Lean_Parser_Syntax_addPrec___closed__1() { _start: @@ -2518,7 +2518,7 @@ x_1 = l_precMax___closed__5; return x_1; } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -2530,7 +2530,7 @@ lean_ctor_set(x_5, 1, x_2); return x_5; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_71____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_72____closed__1() { _start: { lean_object* x_1; @@ -2538,17 +2538,17 @@ x_1 = lean_mk_string("numLit"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_71____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_72____closed__2() { _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_71____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_72____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_71____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_72____closed__3() { _start: { lean_object* x_1; @@ -2556,7 +2556,7 @@ x_1 = lean_mk_string("1024"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_71____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_72____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -2565,7 +2565,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_71_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_72_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2583,19 +2583,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_71____closed__3; +x_11 = l_myMacro____x40_Init_Notation___hyg_72____closed__3; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -2610,13 +2610,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__3; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__3; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -2628,20 +2628,20 @@ return x_25; } } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_71____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_72____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_71_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_72_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -2706,7 +2706,7 @@ x_1 = l_precArg___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_140____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_142____closed__1() { _start: { lean_object* x_1; @@ -2714,7 +2714,7 @@ x_1 = lean_mk_string("1023"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_140_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_142_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2732,19 +2732,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_140____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_142____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -2759,13 +2759,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_140____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_142____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -2777,11 +2777,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_140____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_142____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_140_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_142_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -2846,7 +2846,7 @@ x_1 = l_precLead___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_209____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_212____closed__1() { _start: { lean_object* x_1; @@ -2854,7 +2854,7 @@ x_1 = lean_mk_string("1022"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_209_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_212_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2872,19 +2872,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_209____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_212____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -2899,13 +2899,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_209____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_212____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -2917,11 +2917,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_209____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_212____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_209_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_212_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3044,7 +3044,7 @@ x_1 = l_prec_x28___x29___closed__10; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_287_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_291_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3074,11 +3074,11 @@ return x_10; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_287____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_291____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_287_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_291_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3143,7 +3143,7 @@ x_1 = l_precMin___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_347____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_352____closed__1() { _start: { lean_object* x_1; @@ -3151,7 +3151,7 @@ x_1 = lean_mk_string("10"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_347_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_352_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3169,19 +3169,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_347____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_352____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3196,13 +3196,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_347____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_352____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3214,11 +3214,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_347____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_352____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_347_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_352_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3283,7 +3283,7 @@ x_1 = l_precMin1___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_416____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_422____closed__1() { _start: { lean_object* x_1; @@ -3291,7 +3291,7 @@ x_1 = lean_mk_string("11"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_416_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_422_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3309,19 +3309,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_416____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_422____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3336,13 +3336,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_416____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_422____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3354,11 +3354,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_416____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_422____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_416_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_422_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3421,7 +3421,7 @@ x_1 = l_termMax__prec___closed__5; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_484_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_491_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3439,19 +3439,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_71____closed__3; +x_11 = l_myMacro____x40_Init_Notation___hyg_72____closed__3; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3466,13 +3466,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__3; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__3; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3484,11 +3484,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_484____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_491____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_484_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_491_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3553,7 +3553,7 @@ x_1 = l_prioDefault___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_553____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_561____closed__1() { _start: { lean_object* x_1; @@ -3561,7 +3561,7 @@ x_1 = lean_mk_string("1000"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_553_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_561_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3579,19 +3579,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_553____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_561____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3606,13 +3606,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_553____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_561____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3624,11 +3624,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_553____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_561____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_553_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_561_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3693,7 +3693,7 @@ x_1 = l_prioLow___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_622____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_631____closed__1() { _start: { lean_object* x_1; @@ -3701,7 +3701,7 @@ x_1 = lean_mk_string("100"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_622_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_631_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3719,19 +3719,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_622____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_631____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3746,13 +3746,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_622____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_631____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3764,11 +3764,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_622____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_631____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_622_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_631_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3833,7 +3833,7 @@ x_1 = l_prioMid___closed__5; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_691_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_701_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3851,19 +3851,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_553____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_561____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -3878,13 +3878,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_553____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_561____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -3896,11 +3896,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_691____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_701____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_691_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_701_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -3965,7 +3965,7 @@ x_1 = l_prioHigh___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_760____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_771____closed__1() { _start: { lean_object* x_1; @@ -3973,7 +3973,7 @@ x_1 = lean_mk_string("10000"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_760_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_771_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3991,19 +3991,19 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { 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_10 = lean_ctor_get(x_8, 0); -x_11 = l_myMacro____x40_Init_Notation___hyg_760____closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_771____closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -4018,13 +4018,13 @@ x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_8); -x_19 = l_myMacro____x40_Init_Notation___hyg_760____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_771____closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -4036,11 +4036,11 @@ return x_25; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_760____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_771____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_760_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_771_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -4125,7 +4125,7 @@ x_1 = l_prio_x28___x29___closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_838_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_850_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4155,11 +4155,11 @@ return x_10; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_838____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_850____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_838_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_850_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -4448,7 +4448,7 @@ x_1 = l_stx___x3c_x7c_x3e_____closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__1() { _start: { lean_object* x_1; @@ -4456,17 +4456,17 @@ x_1 = lean_mk_string("unary"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_928____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_942____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_928____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__3() { _start: { lean_object* x_1; @@ -4474,22 +4474,22 @@ x_1 = lean_mk_string("many1"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__5() { _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_928____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_928____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_942____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4497,17 +4497,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__6() { _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_928____closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_942____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__7() { _start: { lean_object* x_1; @@ -4515,17 +4515,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_928____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__8() { _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_928____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_942____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_928____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_942____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -4534,7 +4534,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_928_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_942_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4558,7 +4558,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -4569,10 +4569,10 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_15 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = lean_box(0); -x_18 = l_myMacro____x40_Init_Notation___hyg_928____closed__5; +x_18 = l_myMacro____x40_Init_Notation___hyg_942____closed__5; lean_inc(x_12); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); @@ -4584,9 +4584,9 @@ lean_inc(x_12); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_22 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_23 = lean_array_push(x_22, x_9); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -4594,12 +4594,12 @@ x_26 = l_prec_x28___x29___closed__7; x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_29 = lean_array_push(x_28, x_19); x_30 = lean_array_push(x_29, x_21); x_31 = lean_array_push(x_30, x_25); x_32 = lean_array_push(x_31, x_27); -x_33 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_33 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -4619,10 +4619,10 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_39 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); x_41 = lean_box(0); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__5; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__5; lean_inc(x_35); x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); @@ -4634,9 +4634,9 @@ lean_inc(x_35); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_35); lean_ctor_set(x_45, 1, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_46 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_47 = lean_array_push(x_46, x_9); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -4644,12 +4644,12 @@ x_50 = l_prec_x28___x29___closed__7; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_35); lean_ctor_set(x_51, 1, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_52 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_53 = lean_array_push(x_52, x_43); x_54 = lean_array_push(x_53, x_45); x_55 = lean_array_push(x_54, x_49); x_56 = lean_array_push(x_55, x_51); -x_57 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_57 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -4661,7 +4661,7 @@ return x_59; } } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__1() { _start: { lean_object* x_1; @@ -4669,22 +4669,22 @@ x_1 = lean_mk_string("many"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_1018____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__3() { _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_1018____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_1018____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_1033____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); @@ -4692,17 +4692,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__4() { _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_1018____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1033____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1018_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1033_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4726,7 +4726,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -4737,10 +4737,10 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = lean_box(0); -x_18 = l_myMacro____x40_Init_Notation___hyg_1018____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_1033____closed__3; lean_inc(x_12); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); @@ -4752,9 +4752,9 @@ lean_inc(x_12); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_22 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_23 = lean_array_push(x_22, x_9); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -4762,12 +4762,12 @@ x_26 = l_prec_x28___x29___closed__7; x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_29 = lean_array_push(x_28, x_19); x_30 = lean_array_push(x_29, x_21); x_31 = lean_array_push(x_30, x_25); x_32 = lean_array_push(x_31, x_27); -x_33 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_33 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -4787,10 +4787,10 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_39 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); x_41 = lean_box(0); -x_42 = l_myMacro____x40_Init_Notation___hyg_1018____closed__3; +x_42 = l_myMacro____x40_Init_Notation___hyg_1033____closed__3; lean_inc(x_35); x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); @@ -4802,9 +4802,9 @@ lean_inc(x_35); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_35); lean_ctor_set(x_45, 1, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_46 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_47 = lean_array_push(x_46, x_9); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -4812,12 +4812,12 @@ x_50 = l_prec_x28___x29___closed__7; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_35); lean_ctor_set(x_51, 1, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_52 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_53 = lean_array_push(x_52, x_43); x_54 = lean_array_push(x_53, x_45); x_55 = lean_array_push(x_54, x_49); x_56 = lean_array_push(x_55, x_51); -x_57 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_57 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -4829,7 +4829,7 @@ return x_59; } } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__1() { _start: { lean_object* x_1; @@ -4837,22 +4837,22 @@ x_1 = lean_mk_string("optional"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__3() { _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_1108____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_1108____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_1124____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); @@ -4860,17 +4860,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__4() { _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_1108____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1124____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1108_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1124_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4894,7 +4894,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -4905,10 +4905,10 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = lean_box(0); -x_18 = l_myMacro____x40_Init_Notation___hyg_1108____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_1124____closed__3; lean_inc(x_12); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); @@ -4920,9 +4920,9 @@ lean_inc(x_12); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_22 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_23 = lean_array_push(x_22, x_9); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -4930,12 +4930,12 @@ x_26 = l_prec_x28___x29___closed__7; x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_29 = lean_array_push(x_28, x_19); x_30 = lean_array_push(x_29, x_21); x_31 = lean_array_push(x_30, x_25); x_32 = lean_array_push(x_31, x_27); -x_33 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_33 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -4955,10 +4955,10 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_39 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); x_41 = lean_box(0); -x_42 = l_myMacro____x40_Init_Notation___hyg_1108____closed__3; +x_42 = l_myMacro____x40_Init_Notation___hyg_1124____closed__3; lean_inc(x_35); x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); @@ -4970,9 +4970,9 @@ lean_inc(x_35); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_35); lean_ctor_set(x_45, 1, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_46 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_47 = lean_array_push(x_46, x_9); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -4980,12 +4980,12 @@ x_50 = l_prec_x28___x29___closed__7; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_35); lean_ctor_set(x_51, 1, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_52 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_53 = lean_array_push(x_52, x_43); x_54 = lean_array_push(x_53, x_45); x_55 = lean_array_push(x_54, x_49); x_56 = lean_array_push(x_55, x_51); -x_57 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_57 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -4997,7 +4997,7 @@ return x_59; } } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__1() { _start: { lean_object* x_1; @@ -5005,17 +5005,17 @@ x_1 = lean_mk_string("binary"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____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_1198____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__3() { _start: { lean_object* x_1; @@ -5023,22 +5023,22 @@ x_1 = lean_mk_string("orelse"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_1198____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__5() { _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_1198____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_1198____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_1214____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5046,17 +5046,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__6() { _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_1198____closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__7() { _start: { lean_object* x_1; @@ -5064,7 +5064,7 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -5073,7 +5073,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1198_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1214_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5099,7 +5099,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -5110,10 +5110,10 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_1198____closed__6; +x_17 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); x_19 = lean_box(0); -x_20 = l_myMacro____x40_Init_Notation___hyg_1198____closed__5; +x_20 = l_myMacro____x40_Init_Notation___hyg_1214____closed__5; lean_inc(x_14); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); @@ -5125,13 +5125,13 @@ lean_inc(x_14); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_24 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_25 = lean_array_push(x_24, x_9); -x_26 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_26 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_28 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_14); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_14); @@ -5144,14 +5144,14 @@ x_32 = l_prec_x28___x29___closed__7; x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_14); lean_ctor_set(x_33, 1, x_32); -x_34 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_34 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_35 = lean_array_push(x_34, x_21); x_36 = lean_array_push(x_35, x_23); x_37 = lean_array_push(x_36, x_27); x_38 = lean_array_push(x_37, x_29); x_39 = lean_array_push(x_38, x_31); x_40 = lean_array_push(x_39, x_33); -x_41 = l_myMacro____x40_Init_Notation___hyg_1198____closed__2; +x_41 = l_myMacro____x40_Init_Notation___hyg_1214____closed__2; x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -5171,10 +5171,10 @@ lean_inc(x_45); x_46 = lean_ctor_get(x_2, 1); lean_inc(x_46); lean_dec(x_2); -x_47 = l_myMacro____x40_Init_Notation___hyg_1198____closed__6; +x_47 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_48 = l_Lean_addMacroScope(x_46, x_47, x_45); x_49 = lean_box(0); -x_50 = l_myMacro____x40_Init_Notation___hyg_1198____closed__5; +x_50 = l_myMacro____x40_Init_Notation___hyg_1214____closed__5; lean_inc(x_43); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_43); @@ -5186,13 +5186,13 @@ lean_inc(x_43); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_43); lean_ctor_set(x_53, 1, x_52); -x_54 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_54 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_55 = lean_array_push(x_54, x_9); -x_56 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_56 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); -x_58 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_58 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_43); x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_43); @@ -5205,14 +5205,14 @@ x_62 = l_prec_x28___x29___closed__7; x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_43); lean_ctor_set(x_63, 1, x_62); -x_64 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_64 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_65 = lean_array_push(x_64, x_51); x_66 = lean_array_push(x_65, x_53); x_67 = lean_array_push(x_66, x_57); x_68 = lean_array_push(x_67, x_59); x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_63); -x_71 = l_myMacro____x40_Init_Notation___hyg_1198____closed__2; +x_71 = l_myMacro____x40_Init_Notation___hyg_1214____closed__2; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); @@ -5284,7 +5284,7 @@ x_1 = l_stx___x2c_x2a___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__1() { _start: { lean_object* x_1; @@ -5292,17 +5292,17 @@ x_1 = lean_mk_string("sepBy"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_1318____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1335____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_1318____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__3() { _start: { lean_object* x_1; @@ -5310,7 +5310,7 @@ x_1 = lean_mk_string("sepBy("); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__4() { _start: { lean_object* x_1; @@ -5318,17 +5318,17 @@ x_1 = lean_mk_string("strLit"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__5() { _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_1318____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_1335____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__6() { _start: { lean_object* x_1; @@ -5336,7 +5336,7 @@ x_1 = lean_mk_string("\",\""); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__7() { _start: { lean_object* x_1; @@ -5344,17 +5344,17 @@ x_1 = lean_mk_string("atom"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_1318____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1335____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_1318____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__9() { _start: { lean_object* x_1; @@ -5362,7 +5362,7 @@ x_1 = lean_mk_string("\", \""); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -5371,7 +5371,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -5380,19 +5380,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; -x_2 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; 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_myMacro____x40_Init_Notation___hyg_1318____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -5401,7 +5401,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1318_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1335_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5424,39 +5424,39 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_myMacro____x40_Init_Notation___hyg_1318____closed__3; +x_13 = l_myMacro____x40_Init_Notation___hyg_1335____closed__3; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_16 = lean_array_push(x_15, x_9); -x_17 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_17 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); x_23 = lean_array_push(x_15, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); @@ -5466,7 +5466,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_24); lean_ctor_set(x_29, 1, x_28); x_30 = lean_array_push(x_15, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_31 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -5474,7 +5474,7 @@ x_33 = lean_array_push(x_15, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_17); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_35 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_20); x_36 = lean_array_push(x_35, x_20); x_37 = lean_array_push(x_36, x_34); @@ -5485,16 +5485,16 @@ x_39 = l_prec_x28___x29___closed__7; x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_12); lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_41 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_42 = lean_array_push(x_41, x_14); x_43 = lean_array_push(x_42, x_18); x_44 = lean_array_push(x_43, x_20); x_45 = lean_array_push(x_44, x_25); x_46 = lean_array_push(x_45, x_38); -x_47 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_47 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_48 = lean_array_push(x_46, x_47); x_49 = lean_array_push(x_48, x_40); -x_50 = l_myMacro____x40_Init_Notation___hyg_1318____closed__2; +x_50 = l_myMacro____x40_Init_Notation___hyg_1335____closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -5509,33 +5509,33 @@ x_53 = lean_ctor_get(x_10, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_10); -x_54 = l_myMacro____x40_Init_Notation___hyg_1318____closed__3; +x_54 = l_myMacro____x40_Init_Notation___hyg_1335____closed__3; lean_inc(x_52); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -x_56 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_56 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_57 = lean_array_push(x_56, x_9); -x_58 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_58 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_60 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_52); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_52); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_62 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_52); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_52); lean_ctor_set(x_63, 1, x_62); x_64 = lean_array_push(x_56, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_65 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); -x_67 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_67 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_52); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_52); @@ -5545,7 +5545,7 @@ x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_65); lean_ctor_set(x_70, 1, x_69); x_71 = lean_array_push(x_56, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_72 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -5553,7 +5553,7 @@ x_74 = lean_array_push(x_56, x_73); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_58); lean_ctor_set(x_75, 1, x_74); -x_76 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_76 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_61); x_77 = lean_array_push(x_76, x_61); x_78 = lean_array_push(x_77, x_75); @@ -5564,16 +5564,16 @@ x_80 = l_prec_x28___x29___closed__7; x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_52); lean_ctor_set(x_81, 1, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_82 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_83 = lean_array_push(x_82, x_55); x_84 = lean_array_push(x_83, x_59); x_85 = lean_array_push(x_84, x_61); x_86 = lean_array_push(x_85, x_66); x_87 = lean_array_push(x_86, x_79); -x_88 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_88 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_89 = lean_array_push(x_87, x_88); x_90 = lean_array_push(x_89, x_81); -x_91 = l_myMacro____x40_Init_Notation___hyg_1318____closed__2; +x_91 = l_myMacro____x40_Init_Notation___hyg_1335____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -5585,11 +5585,11 @@ return x_93; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1318____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1335____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_1318_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_1335_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5654,7 +5654,7 @@ x_1 = l_stx___x2c_x2b___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1453____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__1() { _start: { lean_object* x_1; @@ -5662,17 +5662,17 @@ x_1 = lean_mk_string("sepBy1"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1453____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_1453____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1471____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_1453____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__3() { _start: { lean_object* x_1; @@ -5680,7 +5680,7 @@ x_1 = lean_mk_string("sepBy1("); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1453_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1471_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5703,39 +5703,39 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_myMacro____x40_Init_Notation___hyg_1453____closed__3; +x_13 = l_myMacro____x40_Init_Notation___hyg_1471____closed__3; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_16 = lean_array_push(x_15, x_9); -x_17 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_17 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); x_23 = lean_array_push(x_15, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); @@ -5745,7 +5745,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_24); lean_ctor_set(x_29, 1, x_28); x_30 = lean_array_push(x_15, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_31 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -5753,7 +5753,7 @@ x_33 = lean_array_push(x_15, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_17); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_35 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_20); x_36 = lean_array_push(x_35, x_20); x_37 = lean_array_push(x_36, x_34); @@ -5764,16 +5764,16 @@ x_39 = l_prec_x28___x29___closed__7; x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_12); lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_41 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_42 = lean_array_push(x_41, x_14); x_43 = lean_array_push(x_42, x_18); x_44 = lean_array_push(x_43, x_20); x_45 = lean_array_push(x_44, x_25); x_46 = lean_array_push(x_45, x_38); -x_47 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_47 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_48 = lean_array_push(x_46, x_47); x_49 = lean_array_push(x_48, x_40); -x_50 = l_myMacro____x40_Init_Notation___hyg_1453____closed__2; +x_50 = l_myMacro____x40_Init_Notation___hyg_1471____closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -5788,33 +5788,33 @@ x_53 = lean_ctor_get(x_10, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_10); -x_54 = l_myMacro____x40_Init_Notation___hyg_1453____closed__3; +x_54 = l_myMacro____x40_Init_Notation___hyg_1471____closed__3; lean_inc(x_52); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -x_56 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_56 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_57 = lean_array_push(x_56, x_9); -x_58 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_58 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_60 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_52); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_52); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_62 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_52); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_52); lean_ctor_set(x_63, 1, x_62); x_64 = lean_array_push(x_56, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_65 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); -x_67 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_67 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_52); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_52); @@ -5824,7 +5824,7 @@ x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_65); lean_ctor_set(x_70, 1, x_69); x_71 = lean_array_push(x_56, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_72 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -5832,7 +5832,7 @@ x_74 = lean_array_push(x_56, x_73); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_58); lean_ctor_set(x_75, 1, x_74); -x_76 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_76 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_61); x_77 = lean_array_push(x_76, x_61); x_78 = lean_array_push(x_77, x_75); @@ -5843,16 +5843,16 @@ x_80 = l_prec_x28___x29___closed__7; x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_52); lean_ctor_set(x_81, 1, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_82 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_83 = lean_array_push(x_82, x_55); x_84 = lean_array_push(x_83, x_59); x_85 = lean_array_push(x_84, x_61); x_86 = lean_array_push(x_85, x_66); x_87 = lean_array_push(x_86, x_79); -x_88 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_88 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_89 = lean_array_push(x_87, x_88); x_90 = lean_array_push(x_89, x_81); -x_91 = l_myMacro____x40_Init_Notation___hyg_1453____closed__2; +x_91 = l_myMacro____x40_Init_Notation___hyg_1471____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -5864,11 +5864,11 @@ return x_93; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1453____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1471____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_1453_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_1471_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5933,7 +5933,7 @@ x_1 = l_stx___x2c_x2a_x2c_x3f___closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1588____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1607____closed__1() { _start: { lean_object* x_1; @@ -5941,7 +5941,7 @@ x_1 = lean_mk_string("allowTrailingSep"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1588_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1607_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5964,39 +5964,39 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_myMacro____x40_Init_Notation___hyg_1318____closed__3; +x_13 = l_myMacro____x40_Init_Notation___hyg_1335____closed__3; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_16 = lean_array_push(x_15, x_9); -x_17 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_17 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); x_23 = lean_array_push(x_15, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); @@ -6006,7 +6006,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_24); lean_ctor_set(x_29, 1, x_28); x_30 = lean_array_push(x_15, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_31 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -6014,7 +6014,7 @@ x_33 = lean_array_push(x_15, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_17); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_35 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_20); x_36 = lean_array_push(x_35, x_20); lean_inc(x_36); @@ -6022,7 +6022,7 @@ x_37 = lean_array_push(x_36, x_34); x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_17); lean_ctor_set(x_38, 1, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_1588____closed__1; +x_39 = l_myMacro____x40_Init_Notation___hyg_1607____closed__1; lean_inc(x_12); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_12); @@ -6035,7 +6035,7 @@ x_43 = l_prec_x28___x29___closed__7; x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_12); lean_ctor_set(x_44, 1, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_45 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_46 = lean_array_push(x_45, x_14); x_47 = lean_array_push(x_46, x_18); x_48 = lean_array_push(x_47, x_20); @@ -6043,7 +6043,7 @@ x_49 = lean_array_push(x_48, x_25); x_50 = lean_array_push(x_49, x_38); x_51 = lean_array_push(x_50, x_42); x_52 = lean_array_push(x_51, x_44); -x_53 = l_myMacro____x40_Init_Notation___hyg_1318____closed__2; +x_53 = l_myMacro____x40_Init_Notation___hyg_1335____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -6058,33 +6058,33 @@ x_56 = lean_ctor_get(x_10, 1); lean_inc(x_56); lean_inc(x_55); lean_dec(x_10); -x_57 = l_myMacro____x40_Init_Notation___hyg_1318____closed__3; +x_57 = l_myMacro____x40_Init_Notation___hyg_1335____closed__3; lean_inc(x_55); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_55); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_9); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); -x_63 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_63 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_55); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_55); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_65 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_55); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_55); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_68 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_55); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_55); @@ -6094,7 +6094,7 @@ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_68); lean_ctor_set(x_73, 1, x_72); x_74 = lean_array_push(x_59, x_73); -x_75 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_75 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -6102,7 +6102,7 @@ x_77 = lean_array_push(x_59, x_76); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_61); lean_ctor_set(x_78, 1, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_79 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_64); x_80 = lean_array_push(x_79, x_64); lean_inc(x_80); @@ -6110,7 +6110,7 @@ x_81 = lean_array_push(x_80, x_78); x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_61); lean_ctor_set(x_82, 1, x_81); -x_83 = l_myMacro____x40_Init_Notation___hyg_1588____closed__1; +x_83 = l_myMacro____x40_Init_Notation___hyg_1607____closed__1; lean_inc(x_55); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_55); @@ -6123,7 +6123,7 @@ x_87 = l_prec_x28___x29___closed__7; x_88 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_88, 0, x_55); lean_ctor_set(x_88, 1, x_87); -x_89 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_89 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_90 = lean_array_push(x_89, x_58); x_91 = lean_array_push(x_90, x_62); x_92 = lean_array_push(x_91, x_64); @@ -6131,7 +6131,7 @@ x_93 = lean_array_push(x_92, x_69); x_94 = lean_array_push(x_93, x_82); x_95 = lean_array_push(x_94, x_86); x_96 = lean_array_push(x_95, x_88); -x_97 = l_myMacro____x40_Init_Notation___hyg_1318____closed__2; +x_97 = l_myMacro____x40_Init_Notation___hyg_1335____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); @@ -6143,11 +6143,11 @@ return x_99; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1588____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1607____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_1588_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_1607_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -6212,7 +6212,7 @@ x_1 = l_stx___x2c_x2b_x2c_x3f___closed__5; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1731_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1751_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -6235,39 +6235,39 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_myMacro____x40_Init_Notation___hyg_1453____closed__3; +x_13 = l_myMacro____x40_Init_Notation___hyg_1471____closed__3; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_16 = lean_array_push(x_15, x_9); -x_17 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_17 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); x_23 = lean_array_push(x_15, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); @@ -6277,7 +6277,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_24); lean_ctor_set(x_29, 1, x_28); x_30 = lean_array_push(x_15, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_31 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -6285,7 +6285,7 @@ x_33 = lean_array_push(x_15, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_17); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_35 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_20); x_36 = lean_array_push(x_35, x_20); lean_inc(x_36); @@ -6293,7 +6293,7 @@ x_37 = lean_array_push(x_36, x_34); x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_17); lean_ctor_set(x_38, 1, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_1588____closed__1; +x_39 = l_myMacro____x40_Init_Notation___hyg_1607____closed__1; lean_inc(x_12); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_12); @@ -6306,7 +6306,7 @@ x_43 = l_prec_x28___x29___closed__7; x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_12); lean_ctor_set(x_44, 1, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_45 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_46 = lean_array_push(x_45, x_14); x_47 = lean_array_push(x_46, x_18); x_48 = lean_array_push(x_47, x_20); @@ -6314,7 +6314,7 @@ x_49 = lean_array_push(x_48, x_25); x_50 = lean_array_push(x_49, x_38); x_51 = lean_array_push(x_50, x_42); x_52 = lean_array_push(x_51, x_44); -x_53 = l_myMacro____x40_Init_Notation___hyg_1453____closed__2; +x_53 = l_myMacro____x40_Init_Notation___hyg_1471____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -6329,33 +6329,33 @@ x_56 = lean_ctor_get(x_10, 1); lean_inc(x_56); lean_inc(x_55); lean_dec(x_10); -x_57 = l_myMacro____x40_Init_Notation___hyg_1453____closed__3; +x_57 = l_myMacro____x40_Init_Notation___hyg_1471____closed__3; lean_inc(x_55); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_55); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_9); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); -x_63 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_63 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; lean_inc(x_55); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_55); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_1318____closed__6; +x_65 = l_myMacro____x40_Init_Notation___hyg_1335____closed__6; lean_inc(x_55); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_55); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_1318____closed__5; +x_68 = l_myMacro____x40_Init_Notation___hyg_1335____closed__5; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__9; lean_inc(x_55); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_55); @@ -6365,7 +6365,7 @@ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_68); lean_ctor_set(x_73, 1, x_72); x_74 = lean_array_push(x_59, x_73); -x_75 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_75 = l_myMacro____x40_Init_Notation___hyg_1335____closed__8; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -6373,7 +6373,7 @@ x_77 = lean_array_push(x_59, x_76); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_61); lean_ctor_set(x_78, 1, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_79 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; lean_inc(x_64); x_80 = lean_array_push(x_79, x_64); lean_inc(x_80); @@ -6381,7 +6381,7 @@ x_81 = lean_array_push(x_80, x_78); x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_61); lean_ctor_set(x_82, 1, x_81); -x_83 = l_myMacro____x40_Init_Notation___hyg_1588____closed__1; +x_83 = l_myMacro____x40_Init_Notation___hyg_1607____closed__1; lean_inc(x_55); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_55); @@ -6394,7 +6394,7 @@ x_87 = l_prec_x28___x29___closed__7; x_88 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_88, 0, x_55); lean_ctor_set(x_88, 1, x_87); -x_89 = l_myMacro____x40_Init_Notation___hyg_1318____closed__13; +x_89 = l_myMacro____x40_Init_Notation___hyg_1335____closed__13; x_90 = lean_array_push(x_89, x_58); x_91 = lean_array_push(x_90, x_62); x_92 = lean_array_push(x_91, x_64); @@ -6402,7 +6402,7 @@ x_93 = lean_array_push(x_92, x_69); x_94 = lean_array_push(x_93, x_82); x_95 = lean_array_push(x_94, x_86); x_96 = lean_array_push(x_95, x_88); -x_97 = l_myMacro____x40_Init_Notation___hyg_1453____closed__2; +x_97 = l_myMacro____x40_Init_Notation___hyg_1471____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); @@ -6414,11 +6414,11 @@ return x_99; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1731____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1751____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_1731_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_1751_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -6509,7 +6509,7 @@ x_1 = l_stx_x21_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__1() { _start: { lean_object* x_1; @@ -6517,22 +6517,22 @@ x_1 = lean_mk_string("notFollowedBy"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_1879____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1900____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__3() { _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_1879____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_1900____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_1879____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_1900____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); @@ -6540,17 +6540,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__4() { _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_1879____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1900____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_1879_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_1900_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -6574,7 +6574,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -6585,10 +6585,10 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_1879____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_1900____closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = lean_box(0); -x_18 = l_myMacro____x40_Init_Notation___hyg_1879____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_1900____closed__3; lean_inc(x_12); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); @@ -6600,9 +6600,9 @@ lean_inc(x_12); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_22 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_23 = lean_array_push(x_22, x_9); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -6610,12 +6610,12 @@ x_26 = l_prec_x28___x29___closed__7; x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_29 = lean_array_push(x_28, x_19); x_30 = lean_array_push(x_29, x_21); x_31 = lean_array_push(x_30, x_25); x_32 = lean_array_push(x_31, x_27); -x_33 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_33 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -6635,10 +6635,10 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_myMacro____x40_Init_Notation___hyg_1879____closed__4; +x_39 = l_myMacro____x40_Init_Notation___hyg_1900____closed__4; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); x_41 = lean_box(0); -x_42 = l_myMacro____x40_Init_Notation___hyg_1879____closed__3; +x_42 = l_myMacro____x40_Init_Notation___hyg_1900____closed__3; lean_inc(x_35); x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); @@ -6650,9 +6650,9 @@ lean_inc(x_35); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_35); lean_ctor_set(x_45, 1, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_46 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_47 = lean_array_push(x_46, x_9); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -6660,12 +6660,12 @@ x_50 = l_prec_x28___x29___closed__7; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_35); lean_ctor_set(x_51, 1, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_52 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_53 = lean_array_push(x_52, x_43); x_54 = lean_array_push(x_53, x_45); x_55 = lean_array_push(x_54, x_49); x_56 = lean_array_push(x_55, x_51); -x_57 = l_myMacro____x40_Init_Notation___hyg_928____closed__2; +x_57 = l_myMacro____x40_Init_Notation___hyg_942____closed__2; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -6881,7 +6881,7 @@ x_1 = l_term___u2218_____closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__1() { _start: { lean_object* x_1; @@ -6889,17 +6889,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__4; -x_2 = l_myMacro____x40_Init_Notation___hyg_1997____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____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_1997____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__3() { _start: { lean_object* x_1; @@ -6907,17 +6907,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_1997____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__5() { _start: { lean_object* x_1; @@ -6925,22 +6925,22 @@ x_1 = lean_mk_string("Function.comp"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__5; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__7() { _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_1997____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__6; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -6948,7 +6948,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__8() { _start: { lean_object* x_1; @@ -6956,17 +6956,17 @@ x_1 = lean_mk_string("Function"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__9() { _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_1997____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__10() { _start: { lean_object* x_1; @@ -6974,41 +6974,41 @@ x_1 = lean_mk_string("comp"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__9; -x_2 = l_myMacro____x40_Init_Notation___hyg_1997____closed__10; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__9; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____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_1997____closed__11; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____closed__11; 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_myMacro____x40_Init_Notation___hyg_1997____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__13() { _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_1997____closed__12; +x_2 = l_myMacro____x40_Init_Notation___hyg_2019____closed__12; 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_myMacro____x40_Init_Notation___hyg_1997_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_2019_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7034,7 +7034,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -7045,25 +7045,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_1997____closed__11; +x_17 = l_myMacro____x40_Init_Notation___hyg_2019____closed__11; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_1997____closed__7; -x_20 = l_myMacro____x40_Init_Notation___hyg_1997____closed__13; +x_19 = l_myMacro____x40_Init_Notation___hyg_2019____closed__7; +x_20 = l_myMacro____x40_Init_Notation___hyg_2019____closed__13; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -7083,25 +7083,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_1997____closed__11; +x_35 = l_myMacro____x40_Init_Notation___hyg_2019____closed__11; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_1997____closed__7; -x_38 = l_myMacro____x40_Init_Notation___hyg_1997____closed__13; +x_37 = l_myMacro____x40_Init_Notation___hyg_2019____closed__7; +x_38 = l_myMacro____x40_Init_Notation___hyg_2019____closed__13; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -7113,7 +7113,7 @@ return x_49; } } } -static lean_object* _init_l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1() { +static lean_object* _init_l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -7122,18 +7122,18 @@ x_2 = l_Lean_SourceInfo_fromRef(x_1); return x_2; } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object* x_1) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1; +x_2 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1; 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_unexpand____x40_Init_Notation___hyg_1981____closed__1() { +static lean_object* _init_l_unexpand____x40_Init_Notation___hyg_2002____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -7142,11 +7142,11 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_unexpand____x40_Init_Notation___hyg_1981_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_2002_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -7186,7 +7186,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -7196,7 +7196,7 @@ x_20 = l_term___u2218_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -7219,7 +7219,7 @@ x_30 = l_term___u2218_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -7322,7 +7322,7 @@ x_1 = l_term___xd7_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__1() { _start: { lean_object* x_1; @@ -7330,22 +7330,22 @@ x_1 = lean_mk_string("Prod"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_2214____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2237____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__3() { _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_2214____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2237____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_2214____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_2237____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); @@ -7353,41 +7353,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__4() { _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_2214____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_2237____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_2214____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__5() { _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_2214____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_2237____closed__4; 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_myMacro____x40_Init_Notation___hyg_2214____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__6() { _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_2214____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2237____closed__5; 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_myMacro____x40_Init_Notation___hyg_2214_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_2237_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7413,7 +7413,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -7424,25 +7424,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_2214____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_2237____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_2214____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_2214____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_2237____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_2237____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -7462,25 +7462,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_2214____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_2237____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_2214____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_2214____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_2237____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_2237____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -7492,11 +7492,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_2198_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_2220_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -7536,7 +7536,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -7546,7 +7546,7 @@ x_20 = l_term___xd7_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -7569,7 +7569,7 @@ x_30 = l_term___xd7_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -7671,7 +7671,7 @@ x_1 = l_term___x7c_x7c_x7c_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__1() { _start: { lean_object* x_1; @@ -7679,22 +7679,22 @@ x_1 = lean_mk_string("HOr.hOr"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_2431____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2455____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__3() { _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_2431____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2455____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_2431____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_2455____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); @@ -7702,7 +7702,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__4() { _start: { lean_object* x_1; @@ -7710,17 +7710,17 @@ x_1 = lean_mk_string("HOr"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__5() { _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_2431____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_2455____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__6() { _start: { lean_object* x_1; @@ -7728,41 +7728,41 @@ x_1 = lean_mk_string("hOr"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_2431____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2431____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_2455____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2455____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__8() { _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_2431____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_2455____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_myMacro____x40_Init_Notation___hyg_2431____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__9() { _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_2431____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_2455____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_myMacro____x40_Init_Notation___hyg_2431_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_2455_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7788,7 +7788,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -7799,25 +7799,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_2431____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_2455____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_2431____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_2431____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_2455____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_2455____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -7837,25 +7837,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_2431____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_2455____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_2431____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_2431____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_2455____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_2455____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -7867,11 +7867,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_2415_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_2438_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -7911,7 +7911,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -7921,7 +7921,7 @@ x_20 = l_term___x7c_x7c_x7c_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -7944,7 +7944,7 @@ x_30 = l_term___x7c_x7c_x7c_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -8046,7 +8046,7 @@ x_1 = l_term___x5e_x5e_x5e_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__1() { _start: { lean_object* x_1; @@ -8054,22 +8054,22 @@ x_1 = lean_mk_string("HXor.hXor"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_2648____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2673____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__3() { _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_2648____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2673____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_2648____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_2673____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); @@ -8077,7 +8077,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__4() { _start: { lean_object* x_1; @@ -8085,17 +8085,17 @@ x_1 = lean_mk_string("HXor"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__5() { _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_2648____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_2673____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__6() { _start: { lean_object* x_1; @@ -8103,41 +8103,41 @@ x_1 = lean_mk_string("hXor"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_2648____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2648____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_2673____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2673____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__8() { _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_2648____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_2673____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_myMacro____x40_Init_Notation___hyg_2648____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__9() { _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_2648____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_2673____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_myMacro____x40_Init_Notation___hyg_2648_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_2673_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -8163,7 +8163,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -8174,25 +8174,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_2648____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_2673____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_2648____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_2648____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_2673____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_2673____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -8212,25 +8212,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_2648____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_2673____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_2648____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_2648____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_2673____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_2673____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -8242,11 +8242,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_2632_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_2656_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -8286,7 +8286,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -8296,7 +8296,7 @@ x_20 = l_term___x5e_x5e_x5e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -8319,7 +8319,7 @@ x_30 = l_term___x5e_x5e_x5e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -8421,7 +8421,7 @@ x_1 = l_term___x26_x26_x26_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__1() { _start: { lean_object* x_1; @@ -8429,22 +8429,22 @@ x_1 = lean_mk_string("HAnd.hAnd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_2865____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2891____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__3() { _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_2865____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2891____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_2865____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_2891____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); @@ -8452,7 +8452,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__4() { _start: { lean_object* x_1; @@ -8460,17 +8460,17 @@ x_1 = lean_mk_string("HAnd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__5() { _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_2865____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_2891____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__6() { _start: { lean_object* x_1; @@ -8478,41 +8478,41 @@ x_1 = lean_mk_string("hAnd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_2865____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2865____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_2891____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2891____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__8() { _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_2865____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_2891____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_myMacro____x40_Init_Notation___hyg_2865____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__9() { _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_2865____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_2891____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_myMacro____x40_Init_Notation___hyg_2865_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_2891_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -8538,7 +8538,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -8549,25 +8549,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_2865____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_2891____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_2865____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_2865____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_2891____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_2891____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -8587,25 +8587,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_2865____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_2891____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_2865____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_2865____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_2891____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_2891____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -8617,11 +8617,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_2849_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_2874_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -8661,7 +8661,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -8671,7 +8671,7 @@ x_20 = l_term___x26_x26_x26_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -8694,7 +8694,7 @@ x_30 = l_term___x26_x26_x26_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -8778,7 +8778,7 @@ x_1 = l_term___x2b_____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__1() { _start: { lean_object* x_1; @@ -8786,22 +8786,22 @@ x_1 = lean_mk_string("HAdd.hAdd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_3082____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3109____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__3() { _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_3082____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3109____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_3082____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_3109____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); @@ -8809,7 +8809,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__4() { _start: { lean_object* x_1; @@ -8817,17 +8817,17 @@ x_1 = lean_mk_string("HAdd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__5() { _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_3082____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_3109____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__6() { _start: { lean_object* x_1; @@ -8835,41 +8835,41 @@ x_1 = lean_mk_string("hAdd"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_3082____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3082____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_3109____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3109____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__8() { _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_3082____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_3109____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_myMacro____x40_Init_Notation___hyg_3082____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__9() { _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_3082____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_3109____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_myMacro____x40_Init_Notation___hyg_3082_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_3109_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -8895,7 +8895,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -8906,25 +8906,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_3082____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_3109____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_3082____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_3082____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_3109____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_3109____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -8944,25 +8944,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_3082____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_3109____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_3082____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_3082____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_3109____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_3109____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -8974,11 +8974,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_3066_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_3092_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -9018,7 +9018,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -9028,7 +9028,7 @@ x_20 = l_Lean_Parser_Syntax_addPrec___closed__11; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -9051,7 +9051,7 @@ x_30 = l_Lean_Parser_Syntax_addPrec___closed__11; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -9123,7 +9123,7 @@ x_1 = l_term___x2d_____closed__4; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__1() { _start: { lean_object* x_1; @@ -9131,22 +9131,22 @@ x_1 = lean_mk_string("HSub.hSub"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_3299____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3327____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__3() { _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_3299____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3327____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_3299____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_3327____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); @@ -9154,7 +9154,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__4() { _start: { lean_object* x_1; @@ -9162,17 +9162,17 @@ x_1 = lean_mk_string("HSub"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__5() { _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_3299____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_3327____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__6() { _start: { lean_object* x_1; @@ -9180,41 +9180,41 @@ x_1 = lean_mk_string("hSub"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_3299____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3299____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_3327____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3327____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__8() { _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_3299____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_3327____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_myMacro____x40_Init_Notation___hyg_3299____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__9() { _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_3299____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_3327____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_myMacro____x40_Init_Notation___hyg_3299_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_3327_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9240,7 +9240,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -9251,25 +9251,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_3299____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_3327____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_3299____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_3299____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_3327____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_3327____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -9289,25 +9289,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_3299____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_3327____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_3299____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_3299____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_3327____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_3327____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -9319,11 +9319,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_3283_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_3310_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -9363,7 +9363,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -9373,7 +9373,7 @@ x_20 = l_Lean_Parser_Syntax_subPrec___closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -9396,7 +9396,7 @@ x_30 = l_Lean_Parser_Syntax_subPrec___closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -9498,7 +9498,7 @@ x_1 = l_term___x2a_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__1() { _start: { lean_object* x_1; @@ -9506,22 +9506,22 @@ x_1 = lean_mk_string("HMul.hMul"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_3516____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3545____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__3() { _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_3516____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3545____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_3516____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_3545____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); @@ -9529,7 +9529,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__4() { _start: { lean_object* x_1; @@ -9537,17 +9537,17 @@ x_1 = lean_mk_string("HMul"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__5() { _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_3516____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_3545____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__6() { _start: { lean_object* x_1; @@ -9555,41 +9555,41 @@ x_1 = lean_mk_string("hMul"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_3516____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3516____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_3545____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3545____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__8() { _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_3516____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_3545____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_myMacro____x40_Init_Notation___hyg_3516____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__9() { _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_3516____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_3545____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_myMacro____x40_Init_Notation___hyg_3516_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_3545_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9615,7 +9615,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -9626,25 +9626,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_3516____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_3545____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_3516____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_3516____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_3545____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_3545____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -9664,25 +9664,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_3516____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_3545____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_3516____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_3516____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_3545____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_3545____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -9694,11 +9694,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_3500_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_3528_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -9738,7 +9738,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -9748,7 +9748,7 @@ x_20 = l_term___x2a_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -9771,7 +9771,7 @@ x_30 = l_term___x2a_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -9861,7 +9861,7 @@ x_1 = l_term___x2f_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__1() { _start: { lean_object* x_1; @@ -9869,22 +9869,22 @@ x_1 = lean_mk_string("HDiv.hDiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_3733____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3763____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__3() { _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_3733____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3763____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_3733____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_3763____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); @@ -9892,7 +9892,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__4() { _start: { lean_object* x_1; @@ -9900,17 +9900,17 @@ x_1 = lean_mk_string("HDiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__5() { _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_3733____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_3763____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__6() { _start: { lean_object* x_1; @@ -9918,41 +9918,41 @@ x_1 = lean_mk_string("hDiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_3733____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3733____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_3763____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3763____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__8() { _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_3733____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_3763____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_myMacro____x40_Init_Notation___hyg_3733____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__9() { _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_3733____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_3763____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_myMacro____x40_Init_Notation___hyg_3733_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_3763_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9978,7 +9978,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -9989,25 +9989,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_3733____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_3763____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_3733____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_3733____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_3763____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_3763____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -10027,25 +10027,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_3733____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_3763____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_3733____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_3733____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_3763____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_3763____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -10057,11 +10057,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_3717_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_3746_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -10101,7 +10101,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -10111,7 +10111,7 @@ x_20 = l_term___x2f_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -10134,7 +10134,7 @@ x_30 = l_term___x2f_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -10224,7 +10224,7 @@ x_1 = l_term___x25_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__1() { _start: { lean_object* x_1; @@ -10232,22 +10232,22 @@ x_1 = lean_mk_string("HMod.hMod"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_3950____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3981____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__3() { _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_3950____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_3981____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_3950____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_3981____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); @@ -10255,7 +10255,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__4() { _start: { lean_object* x_1; @@ -10263,17 +10263,17 @@ x_1 = lean_mk_string("HMod"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__5() { _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_3950____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_3981____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__6() { _start: { lean_object* x_1; @@ -10281,41 +10281,41 @@ x_1 = lean_mk_string("hMod"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_3950____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3950____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_3981____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3981____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__8() { _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_3950____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_3981____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_myMacro____x40_Init_Notation___hyg_3950____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__9() { _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_3950____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_3981____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_myMacro____x40_Init_Notation___hyg_3950_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_3981_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10341,7 +10341,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -10352,25 +10352,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_3950____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_3981____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_3950____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_3950____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_3981____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_3981____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -10390,25 +10390,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_3950____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_3981____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_3950____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_3950____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_3981____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_3981____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -10420,11 +10420,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_3934_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_3964_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -10464,7 +10464,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -10474,7 +10474,7 @@ x_20 = l_term___x25_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -10497,7 +10497,7 @@ x_30 = l_term___x25_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -10599,7 +10599,7 @@ x_1 = l_term___x3c_x3c_x3c_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__1() { _start: { lean_object* x_1; @@ -10607,22 +10607,22 @@ x_1 = lean_mk_string("HShiftLeft.hShiftLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_4167____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4199____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__3() { _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_4167____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4199____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_4167____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_4199____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); @@ -10630,7 +10630,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__4() { _start: { lean_object* x_1; @@ -10638,17 +10638,17 @@ x_1 = lean_mk_string("HShiftLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__5() { _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_4167____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_4199____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__6() { _start: { lean_object* x_1; @@ -10656,41 +10656,41 @@ x_1 = lean_mk_string("hShiftLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_4167____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4167____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_4199____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4199____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__8() { _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_4167____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_4199____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_myMacro____x40_Init_Notation___hyg_4167____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__9() { _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_4167____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_4199____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_myMacro____x40_Init_Notation___hyg_4167_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_4199_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10716,7 +10716,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -10727,25 +10727,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_4167____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_4199____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_4167____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_4167____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_4199____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_4199____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -10765,25 +10765,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_4167____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_4199____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_4167____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_4167____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_4199____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_4199____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -10795,11 +10795,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_4151_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_4182_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -10839,7 +10839,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -10849,7 +10849,7 @@ x_20 = l_term___x3c_x3c_x3c_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -10872,7 +10872,7 @@ x_30 = l_term___x3c_x3c_x3c_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -10962,7 +10962,7 @@ x_1 = l_term___x3e_x3e_x3e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__1() { _start: { lean_object* x_1; @@ -10970,22 +10970,22 @@ x_1 = lean_mk_string("HShiftRight.hShiftRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_4384____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4417____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__3() { _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_4384____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4417____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_4384____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_4417____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); @@ -10993,7 +10993,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__4() { _start: { lean_object* x_1; @@ -11001,17 +11001,17 @@ x_1 = lean_mk_string("HShiftRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__5() { _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_4384____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_4417____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__6() { _start: { lean_object* x_1; @@ -11019,41 +11019,41 @@ x_1 = lean_mk_string("hShiftRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_4384____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4384____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_4417____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4417____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__8() { _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_4384____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_4417____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_myMacro____x40_Init_Notation___hyg_4384____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__9() { _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_4384____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_4417____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_myMacro____x40_Init_Notation___hyg_4384_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_4417_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11079,7 +11079,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -11090,25 +11090,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_4384____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_4417____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_4384____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_4384____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_4417____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_4417____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -11128,25 +11128,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_4384____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_4417____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_4384____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_4384____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_4417____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_4417____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -11158,11 +11158,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_4368_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_4400_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -11202,7 +11202,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -11212,7 +11212,7 @@ x_20 = l_term___x3e_x3e_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -11235,7 +11235,7 @@ x_30 = l_term___x3e_x3e_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -11338,7 +11338,7 @@ x_1 = l_term___x5e_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__1() { _start: { lean_object* x_1; @@ -11346,22 +11346,22 @@ x_1 = lean_mk_string("HPow.hPow"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_4601____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4635____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__3() { _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_4601____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4635____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_4601____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_4635____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); @@ -11369,7 +11369,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__4() { _start: { lean_object* x_1; @@ -11377,17 +11377,17 @@ x_1 = lean_mk_string("HPow"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__5() { _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_4601____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_4635____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__6() { _start: { lean_object* x_1; @@ -11395,41 +11395,41 @@ x_1 = lean_mk_string("hPow"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_4601____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4601____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_4635____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4635____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__8() { _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_4601____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_4635____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_myMacro____x40_Init_Notation___hyg_4601____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__9() { _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_4601____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_4635____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_myMacro____x40_Init_Notation___hyg_4601_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_4635_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11455,7 +11455,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -11466,25 +11466,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_4601____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_4635____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_4601____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_4601____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_4635____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_4635____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -11504,25 +11504,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_4601____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_4635____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_4601____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_4601____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_4635____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_4635____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -11534,11 +11534,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_4585_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_4618_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -11578,7 +11578,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -11588,7 +11588,7 @@ x_20 = l_term___x5e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -11611,7 +11611,7 @@ x_30 = l_term___x5e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -11712,7 +11712,7 @@ x_1 = l_term_x2d_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__1() { _start: { lean_object* x_1; @@ -11720,22 +11720,22 @@ x_1 = lean_mk_string("Neg.neg"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_4817____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4852____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__3() { _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_4817____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_4852____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_4817____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_4852____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); @@ -11743,7 +11743,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__4() { _start: { lean_object* x_1; @@ -11751,17 +11751,17 @@ x_1 = lean_mk_string("Neg"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__5() { _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_4817____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_4852____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__6() { _start: { lean_object* x_1; @@ -11769,41 +11769,41 @@ x_1 = lean_mk_string("neg"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_4817____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4817____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_4852____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4852____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__8() { _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_4817____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_4852____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_myMacro____x40_Init_Notation___hyg_4817____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__9() { _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_4817____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_4852____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_myMacro____x40_Init_Notation___hyg_4817_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_4852_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11827,7 +11827,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -11838,25 +11838,25 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_4817____closed__7; +x_15 = l_myMacro____x40_Init_Notation___hyg_4852____closed__7; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Notation___hyg_4817____closed__3; -x_18 = l_myMacro____x40_Init_Notation___hyg_4817____closed__9; +x_17 = l_myMacro____x40_Init_Notation___hyg_4852____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_4852____closed__9; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_20 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_21 = lean_array_push(x_20, x_9); -x_22 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_22 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_25 = lean_array_push(x_24, x_19); x_26 = lean_array_push(x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -11876,25 +11876,25 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_2, 1); lean_inc(x_32); lean_dec(x_2); -x_33 = l_myMacro____x40_Init_Notation___hyg_4817____closed__7; +x_33 = l_myMacro____x40_Init_Notation___hyg_4852____closed__7; x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); -x_35 = l_myMacro____x40_Init_Notation___hyg_4817____closed__3; -x_36 = l_myMacro____x40_Init_Notation___hyg_4817____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_4852____closed__3; +x_36 = l_myMacro____x40_Init_Notation___hyg_4852____closed__9; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_29); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_38 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_39 = lean_array_push(x_38, x_9); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_43 = lean_array_push(x_42, x_37); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_45 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -11906,11 +11906,11 @@ return x_47; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_4802_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_4836_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -11948,7 +11948,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_8, x_13); lean_dec(x_8); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -11958,7 +11958,7 @@ x_18 = l_term_x2d_____closed__3; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_19); x_22 = lean_array_push(x_21, x_14); x_23 = l_term_x2d_____closed__2; @@ -11980,7 +11980,7 @@ x_27 = l_term_x2d_____closed__3; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_29 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_14); x_32 = l_term_x2d_____closed__2; @@ -12068,7 +12068,7 @@ x_1 = l_term_x7e_x7e_x7e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__1() { _start: { lean_object* x_1; @@ -12076,22 +12076,22 @@ x_1 = lean_mk_string("Complement.complement"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_5011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_5047____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__3() { _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_5011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_5047____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_5011____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_5047____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); @@ -12099,7 +12099,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__4() { _start: { lean_object* x_1; @@ -12107,17 +12107,17 @@ x_1 = lean_mk_string("Complement"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__5() { _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_5011____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_5047____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__6() { _start: { lean_object* x_1; @@ -12125,41 +12125,41 @@ x_1 = lean_mk_string("complement"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_5011____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_5011____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_5047____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_5047____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__8() { _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_5011____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_5047____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_myMacro____x40_Init_Notation___hyg_5011____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__9() { _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_5011____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_5047____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_myMacro____x40_Init_Notation___hyg_5011_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5047_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12183,7 +12183,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -12194,25 +12194,25 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_5011____closed__7; +x_15 = l_myMacro____x40_Init_Notation___hyg_5047____closed__7; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Notation___hyg_5011____closed__3; -x_18 = l_myMacro____x40_Init_Notation___hyg_5011____closed__9; +x_17 = l_myMacro____x40_Init_Notation___hyg_5047____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_5047____closed__9; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_20 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_21 = lean_array_push(x_20, x_9); -x_22 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_22 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_25 = lean_array_push(x_24, x_19); x_26 = lean_array_push(x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -12232,25 +12232,25 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_2, 1); lean_inc(x_32); lean_dec(x_2); -x_33 = l_myMacro____x40_Init_Notation___hyg_5011____closed__7; +x_33 = l_myMacro____x40_Init_Notation___hyg_5047____closed__7; x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); -x_35 = l_myMacro____x40_Init_Notation___hyg_5011____closed__3; -x_36 = l_myMacro____x40_Init_Notation___hyg_5011____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_5047____closed__3; +x_36 = l_myMacro____x40_Init_Notation___hyg_5047____closed__9; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_29); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_38 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_39 = lean_array_push(x_38, x_9); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_43 = lean_array_push(x_42, x_37); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_45 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -12262,11 +12262,11 @@ return x_47; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_4996_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_5031_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -12304,7 +12304,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_8, x_13); lean_dec(x_8); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -12314,7 +12314,7 @@ x_18 = l_term_x7e_x7e_x7e_____closed__3; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_19); x_22 = lean_array_push(x_21, x_14); x_23 = l_term_x7e_x7e_x7e_____closed__2; @@ -12336,7 +12336,7 @@ x_27 = l_term_x7e_x7e_x7e_____closed__3; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_29 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_14); x_32 = l_term_x7e_x7e_x7e_____closed__2; @@ -12352,7 +12352,7 @@ return x_34; } } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5189____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__1() { _start: { lean_object* x_1; @@ -12360,17 +12360,17 @@ x_1 = lean_mk_string("binop"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5189____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_5189____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_5226____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_5189____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__3() { _start: { lean_object* x_1; @@ -12378,7 +12378,7 @@ x_1 = lean_mk_string("binop%"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5189_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5226_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12404,7 +12404,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12415,26 +12415,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_2431____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_2455____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_2431____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_2431____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_2455____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_2455____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12454,26 +12454,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_2431____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_2455____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_2431____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_2431____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_2455____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_2455____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -12485,7 +12485,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5284_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5322_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12511,7 +12511,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12522,26 +12522,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_2648____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_2673____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_2648____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_2648____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_2673____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_2673____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12561,26 +12561,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_2648____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_2673____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_2648____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_2648____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_2673____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_2673____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -12592,7 +12592,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5379_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5418_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12618,7 +12618,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12629,26 +12629,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_2865____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_2891____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_2865____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_2865____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_2891____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_2891____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12668,26 +12668,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_2865____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_2891____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_2865____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_2865____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_2891____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_2891____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -12699,7 +12699,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5474_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5514_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12725,7 +12725,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12736,26 +12736,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_3082____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_3109____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_3082____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_3082____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_3109____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_3109____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12775,26 +12775,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_3082____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_3109____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_3082____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_3082____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_3109____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_3109____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -12806,7 +12806,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5569_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5610_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12832,7 +12832,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12843,26 +12843,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_3299____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_3327____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_3299____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_3299____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_3327____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_3327____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12882,26 +12882,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_3299____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_3327____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_3299____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_3299____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_3327____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_3327____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -12913,7 +12913,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5664_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5706_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12939,7 +12939,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -12950,26 +12950,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_3516____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_3545____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_3516____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_3516____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_3545____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_3545____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -12989,26 +12989,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_3516____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_3545____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_3516____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_3516____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_3545____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_3545____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13020,7 +13020,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5759_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5802_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13046,7 +13046,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13057,26 +13057,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_3733____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_3763____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_3733____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_3733____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_3763____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_3763____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13096,26 +13096,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_3733____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_3763____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_3733____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_3733____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_3763____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_3763____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13127,7 +13127,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5854_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5898_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13153,7 +13153,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13164,26 +13164,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_3950____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_3981____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_3950____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_3950____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_3981____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_3981____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13203,26 +13203,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_3950____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_3981____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_3950____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_3950____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_3981____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_3981____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13234,7 +13234,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_5949_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_5994_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13260,7 +13260,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13271,26 +13271,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_4167____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_4199____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_4167____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_4167____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_4199____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_4199____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13310,26 +13310,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_4167____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_4199____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_4167____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_4167____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_4199____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_4199____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13341,7 +13341,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_6044_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6090_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13367,7 +13367,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13378,26 +13378,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_4384____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_4417____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_4384____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_4384____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_4417____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_4417____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13417,26 +13417,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_4384____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_4417____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_4384____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_4384____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_4417____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_4417____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13448,7 +13448,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_6139_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6186_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13474,7 +13474,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13485,26 +13485,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_4601____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_4635____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_4601____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_4601____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_4635____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_4635____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13524,26 +13524,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_5189____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_5226____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_4601____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_4635____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_4601____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_4601____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_4635____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_4635____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_5189____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_5226____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13641,7 +13641,7 @@ x_1 = l_term___x3c_x3d_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__1() { _start: { lean_object* x_1; @@ -13649,22 +13649,22 @@ x_1 = lean_mk_string("LE.le"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_6251____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6299____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__3() { _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_6251____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6299____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_6251____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_6299____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); @@ -13672,7 +13672,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__4() { _start: { lean_object* x_1; @@ -13680,17 +13680,17 @@ x_1 = lean_mk_string("LE"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__5() { _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_6251____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_6299____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__6() { _start: { lean_object* x_1; @@ -13698,41 +13698,41 @@ x_1 = lean_mk_string("le"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_6251____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_6251____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_6299____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_6299____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__8() { _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_6251____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_6299____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_myMacro____x40_Init_Notation___hyg_6251____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__9() { _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_6251____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_6299____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_myMacro____x40_Init_Notation___hyg_6251_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6299_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13758,7 +13758,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -13769,25 +13769,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -13807,25 +13807,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -13837,11 +13837,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_6235_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_6282_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -13881,7 +13881,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -13891,7 +13891,7 @@ x_20 = l_term___x3c_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -13914,7 +13914,7 @@ x_30 = l_term___x3c_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -14005,7 +14005,7 @@ x_1 = l_term___u2264_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_6468_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6517_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14031,7 +14031,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -14042,25 +14042,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -14080,25 +14080,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -14110,11 +14110,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_6452_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_6500_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -14154,7 +14154,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -14164,7 +14164,7 @@ x_20 = l_term___u2264_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -14187,7 +14187,7 @@ x_30 = l_term___u2264_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -14278,7 +14278,7 @@ x_1 = l_term___x3c_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__1() { _start: { lean_object* x_1; @@ -14286,22 +14286,22 @@ x_1 = lean_mk_string("LT.lt"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_6685____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6735____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__3() { _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_6685____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6735____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_6685____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_6735____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); @@ -14309,7 +14309,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__4() { _start: { lean_object* x_1; @@ -14317,17 +14317,17 @@ x_1 = lean_mk_string("LT"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__5() { _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_6685____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_6735____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__6() { _start: { lean_object* x_1; @@ -14335,41 +14335,41 @@ x_1 = lean_mk_string("lt"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_6685____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_6685____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_6735____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_6735____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__8() { _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_6685____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_6735____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_myMacro____x40_Init_Notation___hyg_6685____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__9() { _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_6685____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_6735____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_myMacro____x40_Init_Notation___hyg_6685_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6735_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14395,7 +14395,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -14406,25 +14406,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_6685____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_6735____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_6685____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_6685____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_6735____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_6735____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -14444,25 +14444,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_6685____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_6735____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_6685____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_6685____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_6735____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_6735____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -14474,11 +14474,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_6669_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_6718_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -14518,7 +14518,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -14528,7 +14528,7 @@ x_20 = l_term___x3c_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -14551,7 +14551,7 @@ x_30 = l_term___x3c_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -14642,7 +14642,7 @@ x_1 = l_term___x3e_x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__1() { _start: { lean_object* x_1; @@ -14650,22 +14650,22 @@ x_1 = lean_mk_string("GE.ge"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_6902____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6953____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__3() { _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_6902____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_6953____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_6902____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_6953____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); @@ -14673,7 +14673,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__4() { _start: { lean_object* x_1; @@ -14681,17 +14681,17 @@ x_1 = lean_mk_string("GE"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__5() { _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_6902____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_6953____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__6() { _start: { lean_object* x_1; @@ -14699,41 +14699,41 @@ x_1 = lean_mk_string("ge"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_6902____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_6902____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_6953____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_6953____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__8() { _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_6902____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_6953____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_myMacro____x40_Init_Notation___hyg_6902____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__9() { _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_6902____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_6953____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_myMacro____x40_Init_Notation___hyg_6902_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_6953_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14759,7 +14759,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -14770,25 +14770,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -14808,25 +14808,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -14838,11 +14838,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_6886_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_6936_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -14882,7 +14882,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -14892,7 +14892,7 @@ x_20 = l_term___x3e_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -14915,7 +14915,7 @@ x_30 = l_term___x3e_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -15006,7 +15006,7 @@ x_1 = l_term___u2265_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_7119_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_7171_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -15032,7 +15032,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -15043,25 +15043,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -15081,25 +15081,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -15111,11 +15111,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_7103_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_7154_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -15155,7 +15155,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -15165,7 +15165,7 @@ x_20 = l_term___u2265_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -15188,7 +15188,7 @@ x_30 = l_term___u2265_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -15279,7 +15279,7 @@ x_1 = l_term___x3e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__1() { _start: { lean_object* x_1; @@ -15287,22 +15287,22 @@ x_1 = lean_mk_string("GT.gt"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_7336____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7389____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__3() { _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_7336____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7389____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_7336____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7389____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); @@ -15310,7 +15310,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__4() { _start: { lean_object* x_1; @@ -15318,17 +15318,17 @@ x_1 = lean_mk_string("GT"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__5() { _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_7336____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_7389____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__6() { _start: { lean_object* x_1; @@ -15336,41 +15336,41 @@ x_1 = lean_mk_string("gt"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_7336____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_7336____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_7389____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_7389____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__8() { _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_7336____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_7389____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_myMacro____x40_Init_Notation___hyg_7336____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__9() { _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_7336____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_7389____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_myMacro____x40_Init_Notation___hyg_7336_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_7389_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -15396,7 +15396,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -15407,25 +15407,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_7336____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_7389____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_7336____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_7336____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_7389____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_7389____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -15445,25 +15445,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_7336____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_7389____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_7336____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_7336____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_7389____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_7389____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -15475,11 +15475,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_7320_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_7372_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -15519,7 +15519,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -15529,7 +15529,7 @@ x_20 = l_term___x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -15552,7 +15552,7 @@ x_30 = l_term___x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -15643,7 +15643,7 @@ x_1 = l_term___x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__1() { _start: { lean_object* x_1; @@ -15651,22 +15651,22 @@ x_1 = lean_mk_string("Eq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_7553____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7607____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__3() { _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_7553____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7607____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_7553____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7607____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); @@ -15674,41 +15674,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__4() { _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_7553____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7607____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_7553____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__5() { _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_7553____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_7607____closed__4; 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_myMacro____x40_Init_Notation___hyg_7553____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__6() { _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_7553____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_7607____closed__5; 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_myMacro____x40_Init_Notation___hyg_7553_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_7607_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -15734,7 +15734,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -15745,25 +15745,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_7553____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_7607____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_7553____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_7553____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_7607____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_7607____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -15783,25 +15783,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_7553____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_7607____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_7553____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_7553____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_7607____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_7607____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -15813,11 +15813,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_7537_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_7590_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -15857,7 +15857,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -15867,7 +15867,7 @@ x_20 = l_term___x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -15890,7 +15890,7 @@ x_30 = l_term___x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -15981,7 +15981,7 @@ x_1 = l_term___x3d_x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__1() { _start: { lean_object* x_1; @@ -15989,22 +15989,22 @@ x_1 = lean_mk_string("BEq.beq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_7770____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7825____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__3() { _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_7770____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7825____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_7770____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7825____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); @@ -16012,7 +16012,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__4() { _start: { lean_object* x_1; @@ -16020,17 +16020,17 @@ x_1 = lean_mk_string("BEq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__5() { _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_7770____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_7825____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__6() { _start: { lean_object* x_1; @@ -16038,41 +16038,41 @@ x_1 = lean_mk_string("beq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_7770____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_7770____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_7825____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_7825____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__8() { _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_7770____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_7825____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_myMacro____x40_Init_Notation___hyg_7770____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__9() { _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_7770____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_7825____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_myMacro____x40_Init_Notation___hyg_7770_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_7825_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -16098,7 +16098,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -16109,25 +16109,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_7770____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_7825____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_7770____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_7770____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_7825____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_7825____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -16147,25 +16147,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_7770____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_7825____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_7770____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_7770____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_7825____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_7825____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -16177,11 +16177,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_7754_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_7808_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -16221,7 +16221,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -16231,7 +16231,7 @@ x_20 = l_term___x3d_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -16254,7 +16254,7 @@ x_30 = l_term___x3d_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -16345,7 +16345,7 @@ x_1 = l_term___x7e_x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__1() { _start: { lean_object* x_1; @@ -16353,22 +16353,22 @@ x_1 = lean_mk_string("HEq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_7987____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8043____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__3() { _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_7987____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8043____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_7987____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_8043____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); @@ -16376,41 +16376,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__4() { _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_7987____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8043____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_7987____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__5() { _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_7987____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_8043____closed__4; 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_myMacro____x40_Init_Notation___hyg_7987____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__6() { _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_7987____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_8043____closed__5; 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_myMacro____x40_Init_Notation___hyg_7987_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8043_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -16436,7 +16436,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -16447,25 +16447,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_7987____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_8043____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_7987____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_8043____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_8043____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -16485,25 +16485,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_7987____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_8043____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_7987____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_8043____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_8043____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -16515,11 +16515,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_7971_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_8026_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -16559,7 +16559,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -16569,7 +16569,7 @@ x_20 = l_term___x7e_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -16592,7 +16592,7 @@ x_30 = l_term___x7e_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -16683,7 +16683,7 @@ x_1 = l_term___u2245_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8204_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8261_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -16709,7 +16709,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -16720,25 +16720,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_7987____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_8043____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_7987____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_8043____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_8043____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -16758,25 +16758,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_7987____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_8043____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_7987____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_8043____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_8043____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -16788,11 +16788,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_8188_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_8244_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -16832,7 +16832,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -16842,7 +16842,7 @@ x_20 = l_term___u2245_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -16865,7 +16865,7 @@ x_30 = l_term___u2245_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -16882,7 +16882,7 @@ return x_38; } } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8404____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__1() { _start: { lean_object* x_1; @@ -16890,17 +16890,17 @@ x_1 = lean_mk_string("binrel"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8404____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_8404____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_8462____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_8404____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__3() { _start: { lean_object* x_1; @@ -16908,7 +16908,7 @@ x_1 = lean_mk_string("binrel%"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8404_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8462_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -16934,7 +16934,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -16945,26 +16945,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -16984,26 +16984,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17015,7 +17015,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8499_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8558_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17041,7 +17041,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17052,26 +17052,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17091,26 +17091,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_6251____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_6299____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_6251____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_6299____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_6299____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17122,7 +17122,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8594_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8654_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17148,7 +17148,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17159,26 +17159,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_6685____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_6735____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_6685____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_6685____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_6735____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_6735____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17198,26 +17198,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_6685____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_6735____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_6685____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_6685____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_6735____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_6735____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17229,7 +17229,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8689_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8750_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17255,7 +17255,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17266,26 +17266,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_7336____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_7389____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_7336____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_7336____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_7389____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_7389____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17305,26 +17305,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_7336____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_7389____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_7336____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_7336____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_7389____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_7389____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17336,7 +17336,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8784_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8846_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17362,7 +17362,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17373,26 +17373,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17412,26 +17412,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17443,7 +17443,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8879_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_8942_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17469,7 +17469,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17480,26 +17480,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17519,26 +17519,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_6902____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_6953____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_6902____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_6902____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_6953____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_6953____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17550,7 +17550,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_8974_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9038_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17576,7 +17576,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17587,26 +17587,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_7553____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_7607____closed__4; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_7553____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_7553____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_7607____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_7607____closed__6; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17626,26 +17626,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_7553____closed__4; +x_37 = l_myMacro____x40_Init_Notation___hyg_7607____closed__4; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_7553____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_7553____closed__6; +x_39 = l_myMacro____x40_Init_Notation___hyg_7607____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_7607____closed__6; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17657,7 +17657,7 @@ return x_49; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_9069_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9134_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17683,7 +17683,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17694,26 +17694,26 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_17 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_7770____closed__7; +x_19 = l_myMacro____x40_Init_Notation___hyg_7825____closed__7; x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_myMacro____x40_Init_Notation___hyg_7770____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_7770____closed__9; +x_21 = l_myMacro____x40_Init_Notation___hyg_7825____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_7825____closed__9; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_24 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_25 = lean_array_push(x_24, x_18); x_26 = lean_array_push(x_25, x_23); x_27 = lean_array_push(x_26, x_9); x_28 = lean_array_push(x_27, x_11); -x_29 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_29 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17733,26 +17733,26 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_8404____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8462____closed__3; lean_inc(x_31); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_7770____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_7825____closed__7; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); -x_39 = l_myMacro____x40_Init_Notation___hyg_7770____closed__3; -x_40 = l_myMacro____x40_Init_Notation___hyg_7770____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_7825____closed__3; +x_40 = l_myMacro____x40_Init_Notation___hyg_7825____closed__9; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_31); lean_ctor_set(x_41, 1, x_39); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_36); x_44 = lean_array_push(x_43, x_41); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); -x_47 = l_myMacro____x40_Init_Notation___hyg_8404____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_8462____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -17838,7 +17838,7 @@ x_1 = l_term___x2f_x5c_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__1() { _start: { lean_object* x_1; @@ -17846,22 +17846,22 @@ x_1 = lean_mk_string("And"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_9181____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_9247____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__3() { _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_9181____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_9247____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_9181____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_9247____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); @@ -17869,41 +17869,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__4() { _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_9181____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_9247____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_9181____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__5() { _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_9181____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; 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_myMacro____x40_Init_Notation___hyg_9181____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__6() { _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_9181____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_9247____closed__5; 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_myMacro____x40_Init_Notation___hyg_9181_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9247_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17929,7 +17929,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -17940,25 +17940,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_9181____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_9181____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_9181____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_9247____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_9247____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -17978,25 +17978,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_9181____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_9181____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_9181____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_9247____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_9247____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -18008,11 +18008,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_9165_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_9230_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -18052,7 +18052,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -18062,7 +18062,7 @@ x_20 = l_term___x2f_x5c_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -18085,7 +18085,7 @@ x_30 = l_term___x2f_x5c_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -18176,7 +18176,7 @@ x_1 = l_term___u2227_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_9398_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9465_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18202,7 +18202,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -18213,25 +18213,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_9181____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_9181____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_9181____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_9247____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_9247____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -18251,25 +18251,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_9181____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_9181____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_9181____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_9247____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_9247____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -18281,11 +18281,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_9382_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_9448_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -18325,7 +18325,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -18335,7 +18335,7 @@ x_20 = l_term___u2227_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -18358,7 +18358,7 @@ x_30 = l_term___u2227_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -18461,7 +18461,7 @@ x_1 = l_term___x5c_x2f_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__1() { _start: { lean_object* x_1; @@ -18469,22 +18469,22 @@ x_1 = lean_mk_string("Or"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_9615____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_9683____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__3() { _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_9615____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_9683____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_9615____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_9683____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); @@ -18492,41 +18492,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__4() { _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_9615____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_9683____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_9615____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__5() { _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_9615____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_9683____closed__4; 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_myMacro____x40_Init_Notation___hyg_9615____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__6() { _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_9615____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_9683____closed__5; 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_myMacro____x40_Init_Notation___hyg_9615_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9683_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18552,7 +18552,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -18563,25 +18563,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_9615____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_9683____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_9615____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_9615____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_9683____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_9683____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -18601,25 +18601,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_9615____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_9683____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_9615____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_9615____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_9683____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_9683____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -18631,11 +18631,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_9599_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_9666_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -18675,7 +18675,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -18685,7 +18685,7 @@ x_20 = l_term___x5c_x2f_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -18708,7 +18708,7 @@ x_30 = l_term___x5c_x2f_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -18799,7 +18799,7 @@ x_1 = l_term___u2228_____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_9832_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_9901_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18825,7 +18825,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -18836,25 +18836,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_9615____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_9683____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_9615____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_9615____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_9683____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_9683____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -18874,25 +18874,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_9615____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_9683____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_9615____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_9615____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_9683____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_9683____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -18904,11 +18904,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_9816_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_9884_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -18948,7 +18948,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -18958,7 +18958,7 @@ x_20 = l_term___u2228_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -18981,7 +18981,7 @@ x_30 = l_term___u2228_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -19082,7 +19082,7 @@ x_1 = l_term_xac_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__1() { _start: { lean_object* x_1; @@ -19090,22 +19090,22 @@ x_1 = lean_mk_string("Not"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_10047____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10117____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__3() { _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_10047____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10117____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_10047____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_10117____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); @@ -19113,41 +19113,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__4() { _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_10047____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_10117____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_10047____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__5() { _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_10047____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_10117____closed__4; 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_myMacro____x40_Init_Notation___hyg_10047____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__6() { _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_10047____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_10117____closed__5; 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_myMacro____x40_Init_Notation___hyg_10047_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_10117_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19171,7 +19171,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -19182,25 +19182,25 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_10047____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_10117____closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Notation___hyg_10047____closed__3; -x_18 = l_myMacro____x40_Init_Notation___hyg_10047____closed__6; +x_17 = l_myMacro____x40_Init_Notation___hyg_10117____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_10117____closed__6; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_20 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_21 = lean_array_push(x_20, x_9); -x_22 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_22 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_25 = lean_array_push(x_24, x_19); x_26 = lean_array_push(x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -19220,25 +19220,25 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_2, 1); lean_inc(x_32); lean_dec(x_2); -x_33 = l_myMacro____x40_Init_Notation___hyg_10047____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_10117____closed__4; x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); -x_35 = l_myMacro____x40_Init_Notation___hyg_10047____closed__3; -x_36 = l_myMacro____x40_Init_Notation___hyg_10047____closed__6; +x_35 = l_myMacro____x40_Init_Notation___hyg_10117____closed__3; +x_36 = l_myMacro____x40_Init_Notation___hyg_10117____closed__6; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_29); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_38 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_39 = lean_array_push(x_38, x_9); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_43 = lean_array_push(x_42, x_37); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_45 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -19250,11 +19250,11 @@ return x_47; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_10032_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_10101_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -19292,7 +19292,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_8, x_13); lean_dec(x_8); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -19302,7 +19302,7 @@ x_18 = l_term_xac_____closed__3; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_19); x_22 = lean_array_push(x_21, x_14); x_23 = l_term_xac_____closed__2; @@ -19324,7 +19324,7 @@ x_27 = l_term_xac_____closed__3; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_29 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_14); x_32 = l_term_xac_____closed__2; @@ -19425,7 +19425,7 @@ x_1 = l_term___x26_x26_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__1() { _start: { lean_object* x_1; @@ -19433,22 +19433,22 @@ x_1 = lean_mk_string("and"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_10242____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10313____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__3() { _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_10242____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10313____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_10242____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_10313____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); @@ -19456,41 +19456,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__4() { _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_10242____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_10313____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_10242____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__5() { _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_10242____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_10313____closed__4; 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_myMacro____x40_Init_Notation___hyg_10242____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__6() { _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_10242____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_10313____closed__5; 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_myMacro____x40_Init_Notation___hyg_10242_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_10313_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19516,7 +19516,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -19527,25 +19527,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_10242____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_10313____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_10242____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_10242____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_10313____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_10313____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -19565,25 +19565,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_10242____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_10313____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_10242____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_10242____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_10313____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_10313____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -19595,11 +19595,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_10226_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_10296_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -19639,7 +19639,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -19649,7 +19649,7 @@ x_20 = l_term___x26_x26_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -19672,7 +19672,7 @@ x_30 = l_term___x26_x26_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -19774,7 +19774,7 @@ x_1 = l_term___x7c_x7c_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__1() { _start: { lean_object* x_1; @@ -19782,22 +19782,22 @@ x_1 = lean_mk_string("or"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_10459____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10531____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__3() { _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_10459____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10531____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_10459____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_10531____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); @@ -19805,41 +19805,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__4() { _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_10459____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_10531____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_10459____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__5() { _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_10459____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_10531____closed__4; 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_myMacro____x40_Init_Notation___hyg_10459____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__6() { _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_10459____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_10531____closed__5; 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_myMacro____x40_Init_Notation___hyg_10459_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_10531_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19865,7 +19865,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -19876,25 +19876,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_10459____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_10531____closed__4; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_10459____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_10459____closed__6; +x_19 = l_myMacro____x40_Init_Notation___hyg_10531____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_10531____closed__6; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -19914,25 +19914,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_10459____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_10531____closed__4; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_10459____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_10459____closed__6; +x_37 = l_myMacro____x40_Init_Notation___hyg_10531____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_10531____closed__6; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -19944,11 +19944,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_10443_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_10514_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -19988,7 +19988,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -19998,7 +19998,7 @@ x_20 = l_term___x7c_x7c_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -20021,7 +20021,7 @@ x_30 = l_term___x7c_x7c_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -20102,7 +20102,7 @@ x_1 = l_term_x21_____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__1() { _start: { lean_object* x_1; @@ -20110,22 +20110,22 @@ x_1 = lean_mk_string("not"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_10674____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10747____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__3() { _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_10674____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10747____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_10674____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_10747____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); @@ -20133,41 +20133,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__4() { _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_10674____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_10747____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_10674____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__5() { _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_10674____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_10747____closed__4; 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_myMacro____x40_Init_Notation___hyg_10674____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__6() { _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_10674____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_10747____closed__5; 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_myMacro____x40_Init_Notation___hyg_10674_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_10747_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -20191,7 +20191,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -20202,25 +20202,25 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_10674____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_10747____closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_myMacro____x40_Init_Notation___hyg_10674____closed__3; -x_18 = l_myMacro____x40_Init_Notation___hyg_10674____closed__6; +x_17 = l_myMacro____x40_Init_Notation___hyg_10747____closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_10747____closed__6; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_20 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_21 = lean_array_push(x_20, x_9); -x_22 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_22 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_24 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_25 = lean_array_push(x_24, x_19); x_26 = lean_array_push(x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -20240,25 +20240,25 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_2, 1); lean_inc(x_32); lean_dec(x_2); -x_33 = l_myMacro____x40_Init_Notation___hyg_10674____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_10747____closed__4; x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); -x_35 = l_myMacro____x40_Init_Notation___hyg_10674____closed__3; -x_36 = l_myMacro____x40_Init_Notation___hyg_10674____closed__6; +x_35 = l_myMacro____x40_Init_Notation___hyg_10747____closed__3; +x_36 = l_myMacro____x40_Init_Notation___hyg_10747____closed__6; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_29); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_38 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_39 = lean_array_push(x_38, x_9); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_43 = lean_array_push(x_42, x_37); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_45 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -20270,11 +20270,11 @@ return x_47; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_10659_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_10731_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -20312,7 +20312,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_8, x_13); lean_dec(x_8); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -20322,7 +20322,7 @@ x_18 = l_stx_x21_____closed__3; x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_19); x_22 = lean_array_push(x_21, x_14); x_23 = l_term_x21_____closed__2; @@ -20344,7 +20344,7 @@ x_27 = l_stx_x21_____closed__3; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_29 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_14); x_32 = l_term_x21_____closed__2; @@ -20433,7 +20433,7 @@ x_1 = l_term___x2b_x2b_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__1() { _start: { lean_object* x_1; @@ -20441,22 +20441,22 @@ x_1 = lean_mk_string("HAppend.hAppend"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_10869____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10943____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__3() { _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_10869____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_10943____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_10869____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_10943____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); @@ -20464,7 +20464,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__4() { _start: { lean_object* x_1; @@ -20472,17 +20472,17 @@ x_1 = lean_mk_string("HAppend"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__5() { _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_10869____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_10943____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__6() { _start: { lean_object* x_1; @@ -20490,41 +20490,41 @@ x_1 = lean_mk_string("hAppend"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_10869____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_10869____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_10943____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_10943____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__8() { _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_10869____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_10943____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_myMacro____x40_Init_Notation___hyg_10869____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__9() { _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_10869____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_10943____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_myMacro____x40_Init_Notation___hyg_10869_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_10943_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -20550,7 +20550,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -20561,25 +20561,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_10869____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_10943____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_10869____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_10869____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_10943____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_10943____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -20599,25 +20599,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_10869____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_10943____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_10869____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_10869____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_10943____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_10943____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -20629,11 +20629,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_10853_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_10926_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -20673,7 +20673,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -20683,7 +20683,7 @@ x_20 = l_term___x2b_x2b_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -20706,7 +20706,7 @@ x_30 = l_term___x2b_x2b_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -20809,7 +20809,7 @@ x_1 = l_term___x3a_x3a_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__1() { _start: { lean_object* x_1; @@ -20817,22 +20817,22 @@ x_1 = lean_mk_string("List.cons"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_11086____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11161____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__3() { _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_11086____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11161____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_11086____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_11161____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); @@ -20840,7 +20840,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__4() { _start: { lean_object* x_1; @@ -20848,17 +20848,17 @@ x_1 = lean_mk_string("List"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__5() { _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_11086____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_11161____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__6() { _start: { lean_object* x_1; @@ -20866,41 +20866,41 @@ x_1 = lean_mk_string("cons"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11086____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_11086____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_11161____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_11161____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__8() { _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_11086____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_11161____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_myMacro____x40_Init_Notation___hyg_11086____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__9() { _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_11086____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_11161____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_myMacro____x40_Init_Notation___hyg_11086_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_11161_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -20926,7 +20926,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -20937,25 +20937,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_11086____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_11161____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_11086____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_11086____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_11161____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_11161____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -20975,25 +20975,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_11086____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_11161____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_11086____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_11086____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_11161____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_11161____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -21005,11 +21005,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_11070_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_11144_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -21049,7 +21049,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -21059,7 +21059,7 @@ x_20 = l_term___x3a_x3a_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -21082,7 +21082,7 @@ x_30 = l_term___x3a_x3a_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -21167,7 +21167,7 @@ x_1 = l_term___x3c_x7c_x3e_____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__1() { _start: { lean_object* x_1; @@ -21175,22 +21175,22 @@ x_1 = lean_mk_string("HOrElse.hOrElse"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_11303____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11379____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__3() { _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_11303____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11379____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_11303____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_11379____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); @@ -21198,7 +21198,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__4() { _start: { lean_object* x_1; @@ -21206,17 +21206,17 @@ x_1 = lean_mk_string("HOrElse"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__5() { _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_11303____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_11379____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__6() { _start: { lean_object* x_1; @@ -21224,41 +21224,41 @@ x_1 = lean_mk_string("hOrElse"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11303____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_11303____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_11379____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_11379____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__8() { _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_11303____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_11379____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_myMacro____x40_Init_Notation___hyg_11303____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__9() { _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_11303____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_11379____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_myMacro____x40_Init_Notation___hyg_11303_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_11379_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21284,7 +21284,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -21295,25 +21295,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_11303____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_11379____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_11303____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_11303____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_11379____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_11379____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -21333,25 +21333,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_11303____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_11379____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_11303____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_11303____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_11379____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_11379____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -21363,11 +21363,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_11287_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_11362_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -21407,7 +21407,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -21417,7 +21417,7 @@ x_20 = l_stx___x3c_x7c_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -21440,7 +21440,7 @@ x_30 = l_stx___x3c_x7c_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -21543,7 +21543,7 @@ x_1 = l_term___x3e_x3e_____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__1() { _start: { lean_object* x_1; @@ -21551,22 +21551,22 @@ x_1 = lean_mk_string("HAndThen.hAndThen"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_11520____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11597____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__3() { _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_11520____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11597____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_11520____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_11597____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); @@ -21574,7 +21574,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__4() { _start: { lean_object* x_1; @@ -21582,17 +21582,17 @@ x_1 = lean_mk_string("HAndThen"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__5() { _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_11520____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_11597____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__6() { _start: { lean_object* x_1; @@ -21600,41 +21600,41 @@ x_1 = lean_mk_string("hAndThen"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11520____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_11520____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_11597____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_11597____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__8() { _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_11520____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_11597____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_myMacro____x40_Init_Notation___hyg_11520____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__9() { _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_11520____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_11597____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_myMacro____x40_Init_Notation___hyg_11520_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_11597_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21660,7 +21660,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -21671,25 +21671,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_11520____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_11597____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_11520____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_11520____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_11597____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_11597____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -21709,25 +21709,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_11520____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_11597____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_11520____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_11520____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_11597____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_11597____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -21739,11 +21739,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_11504_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_11580_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -21783,7 +21783,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -21793,7 +21793,7 @@ x_20 = l_term___x3e_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -21816,7 +21816,7 @@ x_30 = l_term___x3e_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -21906,7 +21906,7 @@ x_1 = l_term___x3e_x3e_x3d_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__1() { _start: { lean_object* x_1; @@ -21914,22 +21914,22 @@ x_1 = lean_mk_string("Bind.bind"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_11737____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11815____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__3() { _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_11737____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_11815____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_11737____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_11815____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); @@ -21937,7 +21937,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__4() { _start: { lean_object* x_1; @@ -21945,17 +21945,17 @@ x_1 = lean_mk_string("Bind"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__5() { _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_11737____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_11815____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__6() { _start: { lean_object* x_1; @@ -21963,41 +21963,41 @@ x_1 = lean_mk_string("bind"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11737____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_11737____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_11815____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_11815____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__8() { _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_11737____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_11815____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_myMacro____x40_Init_Notation___hyg_11737____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__9() { _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_11737____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_11815____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_myMacro____x40_Init_Notation___hyg_11737_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_11815_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22023,7 +22023,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -22034,25 +22034,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_11737____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_11815____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_11737____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_11737____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_11815____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_11815____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -22072,25 +22072,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_11737____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_11815____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_11737____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_11737____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_11815____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_11815____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -22102,11 +22102,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_11721_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_11798_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -22146,7 +22146,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -22156,7 +22156,7 @@ x_20 = l_term___x3e_x3e_x3d_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -22179,7 +22179,7 @@ x_30 = l_term___x3e_x3e_x3d_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -22269,7 +22269,7 @@ x_1 = l_term___x3c_x2a_x3e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__1() { _start: { lean_object* x_1; @@ -22277,22 +22277,22 @@ x_1 = lean_mk_string("Seq.seq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_11954____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12033____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__3() { _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_11954____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12033____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_11954____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_12033____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); @@ -22300,7 +22300,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__4() { _start: { lean_object* x_1; @@ -22308,17 +22308,17 @@ x_1 = lean_mk_string("Seq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__5() { _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_11954____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_12033____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__6() { _start: { lean_object* x_1; @@ -22326,41 +22326,41 @@ x_1 = lean_mk_string("seq"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11954____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_11954____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_12033____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_12033____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__8() { _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_11954____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_12033____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_myMacro____x40_Init_Notation___hyg_11954____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__9() { _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_11954____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_12033____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_myMacro____x40_Init_Notation___hyg_11954_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_12033_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22386,7 +22386,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -22397,25 +22397,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_11954____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_12033____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_11954____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_11954____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_12033____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_12033____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -22435,25 +22435,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_11954____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_12033____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_11954____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_11954____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_12033____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_12033____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -22465,11 +22465,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_11938_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_12016_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -22509,7 +22509,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -22519,7 +22519,7 @@ x_20 = l_term___x3c_x2a_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -22542,7 +22542,7 @@ x_30 = l_term___x3c_x2a_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -22632,7 +22632,7 @@ x_1 = l_term___x3c_x2a_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__1() { _start: { lean_object* x_1; @@ -22640,22 +22640,22 @@ x_1 = lean_mk_string("SeqLeft.seqLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_12171____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12251____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__3() { _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_12171____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12251____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_12171____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_12251____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); @@ -22663,7 +22663,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__4() { _start: { lean_object* x_1; @@ -22671,17 +22671,17 @@ x_1 = lean_mk_string("SeqLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__5() { _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_12171____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_12251____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__6() { _start: { lean_object* x_1; @@ -22689,41 +22689,41 @@ x_1 = lean_mk_string("seqLeft"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_12171____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_12171____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_12251____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_12251____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__8() { _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_12171____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_12251____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_myMacro____x40_Init_Notation___hyg_12171____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__9() { _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_12171____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_12251____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_myMacro____x40_Init_Notation___hyg_12171_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_12251_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22749,7 +22749,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -22760,25 +22760,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_12171____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_12251____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_12171____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_12171____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_12251____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_12251____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -22798,25 +22798,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_12171____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_12251____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_12171____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_12171____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_12251____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_12251____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -22828,11 +22828,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_12155_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_12234_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -22872,7 +22872,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -22882,7 +22882,7 @@ x_20 = l_term___x3c_x2a_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -22905,7 +22905,7 @@ x_30 = l_term___x3c_x2a_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -22996,7 +22996,7 @@ x_1 = l_term___x2a_x3e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__1() { _start: { lean_object* x_1; @@ -23004,22 +23004,22 @@ x_1 = lean_mk_string("SeqRight.seqRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_12388____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12469____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__3() { _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_12388____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12469____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_12388____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_12469____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); @@ -23027,7 +23027,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__4() { _start: { lean_object* x_1; @@ -23035,17 +23035,17 @@ x_1 = lean_mk_string("SeqRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__5() { _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_12388____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_12469____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__6() { _start: { lean_object* x_1; @@ -23053,41 +23053,41 @@ x_1 = lean_mk_string("seqRight"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_12388____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_12388____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_12469____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_12469____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__8() { _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_12388____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_12469____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_myMacro____x40_Init_Notation___hyg_12388____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__9() { _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_12388____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_12469____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_myMacro____x40_Init_Notation___hyg_12388_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_12469_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -23113,7 +23113,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -23124,25 +23124,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_12388____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_12469____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_12388____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_12388____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_12469____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_12469____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -23162,25 +23162,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_12388____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_12469____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_12388____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_12388____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_12469____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_12469____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -23192,11 +23192,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_12372_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_12452_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -23236,7 +23236,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -23246,7 +23246,7 @@ x_20 = l_term___x2a_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -23269,7 +23269,7 @@ x_30 = l_term___x2a_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -23360,7 +23360,7 @@ x_1 = l_term___x3c_x24_x3e_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__1() { _start: { lean_object* x_1; @@ -23368,22 +23368,22 @@ x_1 = lean_mk_string("Functor.map"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_12605____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12687____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__3() { _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_12605____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12687____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_12605____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_12687____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); @@ -23391,7 +23391,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__4() { _start: { lean_object* x_1; @@ -23399,17 +23399,17 @@ x_1 = lean_mk_string("Functor"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__5() { _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_12605____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_12687____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__6() { _start: { lean_object* x_1; @@ -23417,41 +23417,41 @@ x_1 = lean_mk_string("map"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_12605____closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_12605____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_12687____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_12687____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__8() { _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_12605____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_12687____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_myMacro____x40_Init_Notation___hyg_12605____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__9() { _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_12605____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_12687____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_myMacro____x40_Init_Notation___hyg_12605_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_12687_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -23477,7 +23477,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -23488,25 +23488,25 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_12605____closed__7; +x_17 = l_myMacro____x40_Init_Notation___hyg_12687____closed__7; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_myMacro____x40_Init_Notation___hyg_12605____closed__3; -x_20 = l_myMacro____x40_Init_Notation___hyg_12605____closed__9; +x_19 = l_myMacro____x40_Init_Notation___hyg_12687____closed__3; +x_20 = l_myMacro____x40_Init_Notation___hyg_12687____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_22 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_23 = lean_array_push(x_22, x_9); x_24 = lean_array_push(x_23, x_11); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_22, x_21); x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -23526,25 +23526,25 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_Notation___hyg_12605____closed__7; +x_35 = l_myMacro____x40_Init_Notation___hyg_12687____closed__7; x_36 = l_Lean_addMacroScope(x_34, x_35, x_33); -x_37 = l_myMacro____x40_Init_Notation___hyg_12605____closed__3; -x_38 = l_myMacro____x40_Init_Notation___hyg_12605____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_12687____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_12687____closed__9; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_31); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_9); x_42 = lean_array_push(x_41, x_11); -x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_43 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_40, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_47 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -23556,11 +23556,11 @@ return x_49; } } } -lean_object* l_unexpand____x40_Init_Notation___hyg_12589_(lean_object* x_1, lean_object* x_2) { +lean_object* l_unexpand____x40_Init_Notation___hyg_12670_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_3 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -23600,7 +23600,7 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_8, x_14); x_16 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -23610,7 +23610,7 @@ x_20 = l_term___x3c_x24_x3e_____closed__3; x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_22 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_23 = lean_array_push(x_22, x_15); x_24 = lean_array_push(x_23, x_21); x_25 = lean_array_push(x_24, x_16); @@ -23633,7 +23633,7 @@ x_30 = l_term___x3c_x24_x3e_____closed__3; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_15); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_16); @@ -24042,7 +24042,7 @@ x_1 = l_termDepIfThenElse___closed__35; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__1() { _start: { lean_object* x_1; @@ -24050,22 +24050,22 @@ x_1 = lean_mk_string("dite"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_12862____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12945____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__3() { _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_12862____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_12945____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_12862____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_12945____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); @@ -24073,41 +24073,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__4() { _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_12862____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____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_12862____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__5() { _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_12862____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____closed__4; 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_myMacro____x40_Init_Notation___hyg_12862____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__6() { _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_12862____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____closed__5; 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_myMacro____x40_Init_Notation___hyg_12862____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__7() { _start: { lean_object* x_1; @@ -24115,17 +24115,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_12862____closed__7; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____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_12862____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__9() { _start: { lean_object* x_1; @@ -24133,17 +24133,17 @@ x_1 = lean_mk_string("fun"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____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_12862____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__11() { _start: { lean_object* x_1; @@ -24151,17 +24151,17 @@ x_1 = lean_mk_string("basicFun"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_12862____closed__11; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__13() { _start: { lean_object* x_1; @@ -24169,7 +24169,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_12862_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_12945_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -24217,7 +24217,7 @@ x_17 = l_Lean_Syntax_getArg(x_1, x_16); x_18 = lean_unsigned_to_nat(7u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); lean_dec(x_1); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -24228,10 +24228,10 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_2, 1); lean_inc(x_24); lean_dec(x_2); -x_25 = l_myMacro____x40_Init_Notation___hyg_12862____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_12945____closed__4; x_26 = l_Lean_addMacroScope(x_24, x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_12862____closed__3; -x_28 = l_myMacro____x40_Init_Notation___hyg_12862____closed__6; +x_27 = l_myMacro____x40_Init_Notation___hyg_12945____closed__3; +x_28 = l_myMacro____x40_Init_Notation___hyg_12945____closed__6; lean_inc(x_22); x_29 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_29, 0, x_22); @@ -24243,41 +24243,41 @@ lean_inc(x_22); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_22); lean_ctor_set(x_31, 1, x_30); -x_32 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_32 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_22); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_22); lean_ctor_set(x_33, 1, x_32); -x_34 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_34 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_35 = lean_array_push(x_34, x_9); -x_36 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_36 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_38 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_22); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_22); lean_ctor_set(x_39, 1, x_38); -x_40 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_40 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_41 = lean_array_push(x_40, x_37); x_42 = lean_array_push(x_41, x_39); lean_inc(x_42); x_43 = lean_array_push(x_42, x_17); -x_44 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_44 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_46 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_47 = lean_array_push(x_46, x_33); lean_inc(x_47); x_48 = lean_array_push(x_47, x_45); -x_49 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_49 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = lean_array_push(x_46, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_52 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_53 = lean_array_push(x_51, x_52); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_36); @@ -24291,7 +24291,7 @@ lean_inc(x_57); x_58 = lean_array_push(x_57, x_54); lean_inc(x_56); x_59 = lean_array_push(x_58, x_56); -x_60 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_60 = l_myMacro____x40_Init_Notation___hyg_12945____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); @@ -24321,7 +24321,7 @@ lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); x_76 = lean_array_push(x_46, x_29); x_77 = lean_array_push(x_76, x_75); -x_78 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_78 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -24341,10 +24341,10 @@ lean_inc(x_82); x_83 = lean_ctor_get(x_2, 1); lean_inc(x_83); lean_dec(x_2); -x_84 = l_myMacro____x40_Init_Notation___hyg_12862____closed__4; +x_84 = l_myMacro____x40_Init_Notation___hyg_12945____closed__4; x_85 = l_Lean_addMacroScope(x_83, x_84, x_82); -x_86 = l_myMacro____x40_Init_Notation___hyg_12862____closed__3; -x_87 = l_myMacro____x40_Init_Notation___hyg_12862____closed__6; +x_86 = l_myMacro____x40_Init_Notation___hyg_12945____closed__3; +x_87 = l_myMacro____x40_Init_Notation___hyg_12945____closed__6; lean_inc(x_80); x_88 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_88, 0, x_80); @@ -24356,41 +24356,41 @@ lean_inc(x_80); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_80); lean_ctor_set(x_90, 1, x_89); -x_91 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_91 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_80); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_80); lean_ctor_set(x_92, 1, x_91); -x_93 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_93 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_94 = lean_array_push(x_93, x_9); -x_95 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_95 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); -x_97 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_97 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_80); x_98 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_98, 0, x_80); lean_ctor_set(x_98, 1, x_97); -x_99 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_99 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_100 = lean_array_push(x_99, x_96); x_101 = lean_array_push(x_100, x_98); lean_inc(x_101); x_102 = lean_array_push(x_101, x_17); -x_103 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_103 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_105 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_106 = lean_array_push(x_105, x_92); lean_inc(x_106); x_107 = lean_array_push(x_106, x_104); -x_108 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_108 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); x_110 = lean_array_push(x_105, x_109); -x_111 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_111 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_112 = lean_array_push(x_110, x_111); x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_95); @@ -24404,7 +24404,7 @@ lean_inc(x_116); x_117 = lean_array_push(x_116, x_113); lean_inc(x_115); x_118 = lean_array_push(x_117, x_115); -x_119 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_119 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); @@ -24434,7 +24434,7 @@ lean_ctor_set(x_134, 0, x_95); lean_ctor_set(x_134, 1, x_133); x_135 = lean_array_push(x_105, x_88); x_136 = lean_array_push(x_135, x_134); -x_137 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_137 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_138 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_138, 0, x_137); lean_ctor_set(x_138, 1, x_136); @@ -24609,7 +24609,7 @@ x_1 = l_termIfThenElse___closed__12; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__1() { _start: { lean_object* x_1; @@ -24617,22 +24617,22 @@ x_1 = lean_mk_string("ite"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_13196____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_13280____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__3() { _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_13196____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_13280____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_13196____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_13280____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); @@ -24640,41 +24640,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__4() { _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_13196____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_13280____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_13196____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__5() { _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_13196____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_13280____closed__4; 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_myMacro____x40_Init_Notation___hyg_13196____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__6() { _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_13196____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_13280____closed__5; 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_myMacro____x40_Init_Notation___hyg_13196_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13280_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -24702,7 +24702,7 @@ x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = lean_unsigned_to_nat(5u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -24713,27 +24713,27 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_myMacro____x40_Init_Notation___hyg_13196____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_13280____closed__4; x_20 = l_Lean_addMacroScope(x_18, x_19, x_17); -x_21 = l_myMacro____x40_Init_Notation___hyg_13196____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_13196____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_13280____closed__3; +x_22 = l_myMacro____x40_Init_Notation___hyg_13280____closed__6; x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_16); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_24 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_25 = lean_array_push(x_24, x_9); x_26 = lean_array_push(x_25, x_11); x_27 = lean_array_push(x_26, x_13); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_23); x_32 = lean_array_push(x_31, x_29); -x_33 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -24753,27 +24753,27 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_2, 1); lean_inc(x_38); lean_dec(x_2); -x_39 = l_myMacro____x40_Init_Notation___hyg_13196____closed__4; +x_39 = l_myMacro____x40_Init_Notation___hyg_13280____closed__4; x_40 = l_Lean_addMacroScope(x_38, x_39, x_37); -x_41 = l_myMacro____x40_Init_Notation___hyg_13196____closed__3; -x_42 = l_myMacro____x40_Init_Notation___hyg_13196____closed__6; +x_41 = l_myMacro____x40_Init_Notation___hyg_13280____closed__3; +x_42 = l_myMacro____x40_Init_Notation___hyg_13280____closed__6; x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_35); lean_ctor_set(x_43, 1, x_41); lean_ctor_set(x_43, 2, x_40); lean_ctor_set(x_43, 3, x_42); -x_44 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_44 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_11); x_47 = lean_array_push(x_46, x_13); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_50 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_51 = lean_array_push(x_50, x_43); x_52 = lean_array_push(x_51, x_49); -x_53 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_53 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -25009,7 +25009,7 @@ x_1 = l_termIfLet___x3a_x3d__Then__Else_____closed__19; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__1() { _start: { lean_object* x_1; @@ -25017,17 +25017,17 @@ x_1 = lean_mk_string("match"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____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_13362____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__3() { _start: { lean_object* x_1; @@ -25035,27 +25035,27 @@ x_1 = lean_mk_string("matchDiscr"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_13362____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; -x_2 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_1 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; +x_2 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__6() { _start: { lean_object* x_1; @@ -25063,7 +25063,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__7() { _start: { lean_object* x_1; @@ -25071,17 +25071,17 @@ x_1 = lean_mk_string("matchAlts"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_13362____closed__7; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____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_13362____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__9() { _start: { lean_object* x_1; @@ -25089,17 +25089,17 @@ x_1 = lean_mk_string("matchAlt"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_13362____closed__9; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____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_13362____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__11() { _start: { lean_object* x_1; @@ -25107,7 +25107,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__12() { _start: { lean_object* x_1; @@ -25115,17 +25115,17 @@ x_1 = lean_mk_string("hole"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_13362____closed__12; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__14() { _start: { lean_object* x_1; @@ -25133,7 +25133,7 @@ x_1 = lean_mk_string("_"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13362_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13447_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -25162,35 +25162,35 @@ x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(8u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_18 = lean_ctor_get(x_16, 0); -x_19 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +x_19 = l_myMacro____x40_Init_Notation___hyg_13447____closed__1; lean_inc(x_18); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_21 = l_myMacro____x40_Init_Notation___hyg_13447____closed__5; x_22 = lean_array_push(x_21, x_11); -x_23 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +x_23 = l_myMacro____x40_Init_Notation___hyg_13447____closed__4; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_26 = lean_array_push(x_25, x_24); -x_27 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_27 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_13362____closed__6; +x_29 = l_myMacro____x40_Init_Notation___hyg_13447____closed__6; lean_inc(x_18); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_18); lean_ctor_set(x_30, 1, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_31 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_18); x_32 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_32, 0, x_18); @@ -25199,28 +25199,28 @@ x_33 = lean_array_push(x_25, x_9); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_27); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_35 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_18); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_18); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_37 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_38 = lean_array_push(x_37, x_32); lean_inc(x_38); x_39 = lean_array_push(x_38, x_34); lean_inc(x_36); x_40 = lean_array_push(x_39, x_36); x_41 = lean_array_push(x_40, x_13); -x_42 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_13447____closed__10; 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 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_44 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_18); lean_ctor_set(x_45, 1, x_44); x_46 = lean_array_push(x_25, x_45); -x_47 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_47 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -25234,26 +25234,26 @@ x_53 = lean_array_push(x_52, x_15); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_42); lean_ctor_set(x_54, 1, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_55 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_56 = lean_array_push(x_55, x_43); x_57 = lean_array_push(x_56, x_54); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_27); lean_ctor_set(x_58, 1, x_57); x_59 = lean_array_push(x_25, x_58); -x_60 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_60 = l_myMacro____x40_Init_Notation___hyg_13447____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 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_62 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_63 = lean_array_push(x_62, x_20); -x_64 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_64 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_28); x_67 = lean_array_push(x_66, x_64); x_68 = lean_array_push(x_67, x_30); x_69 = lean_array_push(x_68, x_61); -x_70 = l_myMacro____x40_Init_Notation___hyg_13362____closed__2; +x_70 = l_myMacro____x40_Init_Notation___hyg_13447____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); @@ -25268,29 +25268,29 @@ x_73 = lean_ctor_get(x_16, 1); lean_inc(x_73); lean_inc(x_72); lean_dec(x_16); -x_74 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +x_74 = l_myMacro____x40_Init_Notation___hyg_13447____closed__1; lean_inc(x_72); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_72); lean_ctor_set(x_75, 1, x_74); -x_76 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_76 = l_myMacro____x40_Init_Notation___hyg_13447____closed__5; x_77 = lean_array_push(x_76, x_11); -x_78 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +x_78 = l_myMacro____x40_Init_Notation___hyg_13447____closed__4; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -x_80 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_80 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_81 = lean_array_push(x_80, x_79); -x_82 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_82 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_13362____closed__6; +x_84 = l_myMacro____x40_Init_Notation___hyg_13447____closed__6; lean_inc(x_72); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_72); lean_ctor_set(x_85, 1, x_84); -x_86 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_86 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_72); x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_72); @@ -25299,28 +25299,28 @@ x_88 = lean_array_push(x_80, x_9); x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_82); lean_ctor_set(x_89, 1, x_88); -x_90 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_90 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_72); x_91 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_91, 0, x_72); lean_ctor_set(x_91, 1, x_90); -x_92 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_92 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_93 = lean_array_push(x_92, x_87); lean_inc(x_93); x_94 = lean_array_push(x_93, x_89); lean_inc(x_91); x_95 = lean_array_push(x_94, x_91); x_96 = lean_array_push(x_95, x_13); -x_97 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_97 = l_myMacro____x40_Init_Notation___hyg_13447____closed__10; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); -x_99 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_99 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_100 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_100, 0, x_72); lean_ctor_set(x_100, 1, x_99); x_101 = lean_array_push(x_80, x_100); -x_102 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_102 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_101); @@ -25334,26 +25334,26 @@ x_108 = lean_array_push(x_107, x_15); x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_97); lean_ctor_set(x_109, 1, x_108); -x_110 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_110 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_111 = lean_array_push(x_110, x_98); x_112 = lean_array_push(x_111, x_109); x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_82); lean_ctor_set(x_113, 1, x_112); x_114 = lean_array_push(x_80, x_113); -x_115 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_115 = l_myMacro____x40_Init_Notation___hyg_13447____closed__8; x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_115); lean_ctor_set(x_116, 1, x_114); -x_117 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_117 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_118 = lean_array_push(x_117, x_75); -x_119 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_119 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_120 = lean_array_push(x_118, x_119); x_121 = lean_array_push(x_120, x_83); x_122 = lean_array_push(x_121, x_119); x_123 = lean_array_push(x_122, x_85); x_124 = lean_array_push(x_123, x_116); -x_125 = l_myMacro____x40_Init_Notation___hyg_13362____closed__2; +x_125 = l_myMacro____x40_Init_Notation___hyg_13447____closed__2; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -25365,11 +25365,11 @@ return x_127; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13362____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13447____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_13362_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_13447_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -25460,7 +25460,7 @@ x_1 = l_term___x3c_x7c_____closed__7; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13586_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13672_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -25482,7 +25482,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_10 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -25491,20 +25491,20 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_unsigned_to_nat(2u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); 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; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_16 = lean_ctor_get(x_14, 0); lean_dec(x_16); -x_17 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_18 = lean_array_push(x_17, x_13); -x_19 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_19 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_9); x_23 = lean_array_push(x_22, x_20); x_24 = lean_alloc_ctor(1, 2, 0); @@ -25519,13 +25519,13 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_14, 1); lean_inc(x_25); lean_dec(x_14); -x_26 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_26 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_27 = lean_array_push(x_26, x_13); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_9); x_32 = lean_array_push(x_31, x_29); x_33 = lean_alloc_ctor(1, 2, 0); @@ -25550,21 +25550,21 @@ lean_dec(x_1); x_40 = l_Lean_Syntax_getArgs(x_37); lean_dec(x_37); x_41 = lean_array_push(x_40, x_39); -x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_43 = !lean_is_exclusive(x_42); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_44 = lean_ctor_get(x_42, 0); lean_dec(x_44); -x_45 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_45 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_46 = l_Array_appendCore___rarg(x_45, x_41); lean_dec(x_41); -x_47 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_47 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_49 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_50 = lean_array_push(x_49, x_35); x_51 = lean_array_push(x_50, x_48); x_52 = lean_alloc_ctor(1, 2, 0); @@ -25579,14 +25579,14 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean x_53 = lean_ctor_get(x_42, 1); lean_inc(x_53); lean_dec(x_42); -x_54 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_54 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_55 = l_Array_appendCore___rarg(x_54, x_41); lean_dec(x_41); -x_56 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_56 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); -x_58 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_58 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_59 = lean_array_push(x_58, x_35); x_60 = lean_array_push(x_59, x_57); x_61 = lean_alloc_ctor(1, 2, 0); @@ -25601,11 +25601,11 @@ return x_62; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13586____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13672____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_13586_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_13672_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -25696,7 +25696,7 @@ x_1 = l_term___x7c_x3e_____closed__7; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13763_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13850_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -25721,26 +25721,26 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_12 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) { lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); 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; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_16 = lean_ctor_get(x_14, 0); lean_dec(x_16); -x_17 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_18 = lean_array_push(x_17, x_9); -x_19 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_19 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_11); x_23 = lean_array_push(x_22, x_20); x_24 = lean_alloc_ctor(1, 2, 0); @@ -25755,13 +25755,13 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_14, 1); lean_inc(x_25); lean_dec(x_14); -x_26 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_26 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_27 = lean_array_push(x_26, x_9); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_11); x_32 = lean_array_push(x_31, x_29); x_33 = lean_alloc_ctor(1, 2, 0); @@ -25783,21 +25783,21 @@ lean_dec(x_11); x_38 = l_Lean_Syntax_getArgs(x_37); lean_dec(x_37); x_39 = lean_array_push(x_38, x_9); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_42 = lean_ctor_get(x_40, 0); lean_dec(x_42); -x_43 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_43 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_44 = l_Array_appendCore___rarg(x_43, x_39); lean_dec(x_39); -x_45 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_45 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_47 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_48 = lean_array_push(x_47, x_35); x_49 = lean_array_push(x_48, x_46); x_50 = lean_alloc_ctor(1, 2, 0); @@ -25812,14 +25812,14 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean x_51 = lean_ctor_get(x_40, 1); lean_inc(x_51); lean_dec(x_40); -x_52 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_52 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_53 = l_Array_appendCore___rarg(x_52, x_39); lean_dec(x_39); -x_54 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_54 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_56 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_57 = lean_array_push(x_56, x_35); x_58 = lean_array_push(x_57, x_55); x_59 = lean_alloc_ctor(1, 2, 0); @@ -25834,11 +25834,11 @@ return x_60; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13763____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_13850____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_13763_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_13850_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -25989,7 +25989,7 @@ x_1 = l_term___x24_______closed__13; return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13934_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_14022_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -26011,7 +26011,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_10 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -26020,20 +26020,20 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_unsigned_to_nat(2u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); 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; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_16 = lean_ctor_get(x_14, 0); lean_dec(x_16); -x_17 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_18 = lean_array_push(x_17, x_13); -x_19 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_19 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_9); x_23 = lean_array_push(x_22, x_20); x_24 = lean_alloc_ctor(1, 2, 0); @@ -26048,13 +26048,13 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_14, 1); lean_inc(x_25); lean_dec(x_14); -x_26 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_26 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_27 = lean_array_push(x_26, x_13); -x_28 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_28 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_9); x_32 = lean_array_push(x_31, x_29); x_33 = lean_alloc_ctor(1, 2, 0); @@ -26079,21 +26079,21 @@ lean_dec(x_1); x_40 = l_Lean_Syntax_getArgs(x_37); lean_dec(x_37); x_41 = lean_array_push(x_40, x_39); -x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_43 = !lean_is_exclusive(x_42); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_44 = lean_ctor_get(x_42, 0); lean_dec(x_44); -x_45 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_45 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_46 = l_Array_appendCore___rarg(x_45, x_41); lean_dec(x_41); -x_47 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_47 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_49 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_50 = lean_array_push(x_49, x_35); x_51 = lean_array_push(x_50, x_48); x_52 = lean_alloc_ctor(1, 2, 0); @@ -26108,14 +26108,14 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean x_53 = lean_ctor_get(x_42, 1); lean_inc(x_53); lean_dec(x_42); -x_54 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_54 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_55 = l_Array_appendCore___rarg(x_54, x_41); lean_dec(x_41); -x_56 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_56 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); -x_58 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_58 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_59 = lean_array_push(x_58, x_35); x_60 = lean_array_push(x_59, x_57); x_61 = lean_alloc_ctor(1, 2, 0); @@ -26130,11 +26130,11 @@ return x_62; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_13934____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_14022____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_13934_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_14022_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -26207,7 +26207,7 @@ static lean_object* _init_l_term_x7b_____x3a___x2f_x2f___x7d___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_term_x7b_____x3a___x2f_x2f___x7d___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26329,7 +26329,7 @@ x_1 = l_term_x7b_____x3a___x2f_x2f___x7d___closed__16; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__1() { _start: { lean_object* x_1; @@ -26337,22 +26337,22 @@ x_1 = lean_mk_string("Subtype"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_14133____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_14222____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__3() { _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_14133____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_14222____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_14133____closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_14222____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); @@ -26360,41 +26360,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__4() { _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_14133____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_14222____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_14133____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__5() { _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_14133____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_14222____closed__4; 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_myMacro____x40_Init_Notation___hyg_14133____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__6() { _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_14133____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_14222____closed__5; 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_myMacro____x40_Init_Notation___hyg_14133____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__7() { _start: { lean_object* x_1; @@ -26402,17 +26402,17 @@ x_1 = lean_mk_string("typeAscription"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_14133____closed__7; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_14222____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_14133____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__9() { _start: { lean_object* x_1; @@ -26420,7 +26420,7 @@ x_1 = lean_mk_string(":"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_14133_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_14222_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -26471,7 +26471,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_18 = lean_unsigned_to_nat(4u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); lean_dec(x_1); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -26482,10 +26482,10 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_2, 1); lean_inc(x_24); lean_dec(x_2); -x_25 = l_myMacro____x40_Init_Notation___hyg_14133____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_14222____closed__4; x_26 = l_Lean_addMacroScope(x_24, x_25, x_23); -x_27 = l_myMacro____x40_Init_Notation___hyg_14133____closed__3; -x_28 = l_myMacro____x40_Init_Notation___hyg_14133____closed__6; +x_27 = l_myMacro____x40_Init_Notation___hyg_14222____closed__3; +x_28 = l_myMacro____x40_Init_Notation___hyg_14222____closed__6; lean_inc(x_22); x_29 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_29, 0, x_22); @@ -26497,36 +26497,36 @@ lean_inc(x_22); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_22); lean_ctor_set(x_31, 1, x_30); -x_32 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_32 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_22); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_22); lean_ctor_set(x_33, 1, x_32); -x_34 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_34 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_22); x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_22); lean_ctor_set(x_35, 1, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_36 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_22); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_22); lean_ctor_set(x_37, 1, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_38 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_40 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_42 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_43 = lean_array_push(x_42, x_35); x_44 = lean_array_push(x_43, x_41); -x_45 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_45 = l_myMacro____x40_Init_Notation___hyg_14222____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_38, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_48 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -26540,13 +26540,13 @@ lean_inc(x_22); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_22); lean_ctor_set(x_54, 1, x_53); -x_55 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_55 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_56 = lean_array_push(x_55, x_31); lean_inc(x_56); x_57 = lean_array_push(x_56, x_52); lean_inc(x_54); x_58 = lean_array_push(x_57, x_54); -x_59 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_59 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -26554,25 +26554,25 @@ x_61 = lean_array_push(x_38, x_60); x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_48); lean_ctor_set(x_62, 1, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_63 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_22); lean_ctor_set(x_64, 1, x_63); x_65 = lean_array_push(x_55, x_62); x_66 = lean_array_push(x_65, x_64); x_67 = lean_array_push(x_66, x_19); -x_68 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_68 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); x_70 = lean_array_push(x_42, x_33); x_71 = lean_array_push(x_70, x_69); -x_72 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_72 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; 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_42, x_73); -x_75 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_75 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_76 = lean_array_push(x_74, x_75); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_48); @@ -26588,7 +26588,7 @@ lean_ctor_set(x_82, 0, x_48); lean_ctor_set(x_82, 1, x_81); x_83 = lean_array_push(x_42, x_29); x_84 = lean_array_push(x_83, x_82); -x_85 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_85 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -26608,10 +26608,10 @@ lean_inc(x_89); x_90 = lean_ctor_get(x_2, 1); lean_inc(x_90); lean_dec(x_2); -x_91 = l_myMacro____x40_Init_Notation___hyg_14133____closed__4; +x_91 = l_myMacro____x40_Init_Notation___hyg_14222____closed__4; x_92 = l_Lean_addMacroScope(x_90, x_91, x_89); -x_93 = l_myMacro____x40_Init_Notation___hyg_14133____closed__3; -x_94 = l_myMacro____x40_Init_Notation___hyg_14133____closed__6; +x_93 = l_myMacro____x40_Init_Notation___hyg_14222____closed__3; +x_94 = l_myMacro____x40_Init_Notation___hyg_14222____closed__6; lean_inc(x_87); x_95 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_95, 0, x_87); @@ -26623,36 +26623,36 @@ lean_inc(x_87); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_87); lean_ctor_set(x_97, 1, x_96); -x_98 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_98 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_87); x_99 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_99, 0, x_87); lean_ctor_set(x_99, 1, x_98); -x_100 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_100 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_87); x_101 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_101, 0, x_87); lean_ctor_set(x_101, 1, x_100); -x_102 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_102 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_87); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_87); lean_ctor_set(x_103, 1, x_102); -x_104 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_104 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_105 = lean_array_push(x_104, x_103); -x_106 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_106 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); -x_108 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_108 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_109 = lean_array_push(x_108, x_101); x_110 = lean_array_push(x_109, x_107); -x_111 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_111 = l_myMacro____x40_Init_Notation___hyg_14222____closed__8; 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_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_114 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -26666,13 +26666,13 @@ lean_inc(x_87); x_120 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_120, 0, x_87); lean_ctor_set(x_120, 1, x_119); -x_121 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_121 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_122 = lean_array_push(x_121, x_97); lean_inc(x_122); x_123 = lean_array_push(x_122, x_118); lean_inc(x_120); x_124 = lean_array_push(x_123, x_120); -x_125 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_125 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -26680,25 +26680,25 @@ x_127 = lean_array_push(x_104, x_126); x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_114); lean_ctor_set(x_128, 1, x_127); -x_129 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_129 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_87); lean_ctor_set(x_130, 1, x_129); x_131 = lean_array_push(x_121, x_128); x_132 = lean_array_push(x_131, x_130); x_133 = lean_array_push(x_132, x_19); -x_134 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_134 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); x_136 = lean_array_push(x_108, x_99); x_137 = lean_array_push(x_136, x_135); -x_138 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_138 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; x_139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_139, 0, x_138); lean_ctor_set(x_139, 1, x_137); x_140 = lean_array_push(x_108, x_139); -x_141 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_141 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_142 = lean_array_push(x_140, x_141); x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_114); @@ -26714,7 +26714,7 @@ lean_ctor_set(x_148, 0, x_114); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_push(x_108, x_95); x_150 = lean_array_push(x_149, x_148); -x_151 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_151 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_151); lean_ctor_set(x_152, 1, x_150); @@ -26733,7 +26733,7 @@ lean_dec(x_11); x_155 = lean_unsigned_to_nat(4u); x_156 = l_Lean_Syntax_getArg(x_1, x_155); lean_dec(x_1); -x_157 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_157 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_158 = !lean_is_exclusive(x_157); if (x_158 == 0) { @@ -26744,10 +26744,10 @@ lean_inc(x_160); x_161 = lean_ctor_get(x_2, 1); lean_inc(x_161); lean_dec(x_2); -x_162 = l_myMacro____x40_Init_Notation___hyg_14133____closed__4; +x_162 = l_myMacro____x40_Init_Notation___hyg_14222____closed__4; x_163 = l_Lean_addMacroScope(x_161, x_162, x_160); -x_164 = l_myMacro____x40_Init_Notation___hyg_14133____closed__3; -x_165 = l_myMacro____x40_Init_Notation___hyg_14133____closed__6; +x_164 = l_myMacro____x40_Init_Notation___hyg_14222____closed__3; +x_165 = l_myMacro____x40_Init_Notation___hyg_14222____closed__6; lean_inc(x_159); x_166 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_166, 0, x_159); @@ -26759,26 +26759,26 @@ lean_inc(x_159); x_168 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_168, 0, x_159); lean_ctor_set(x_168, 1, x_167); -x_169 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_169 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_159); x_170 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_170, 0, x_159); lean_ctor_set(x_170, 1, x_169); -x_171 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_171 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_159); x_172 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_172, 0, x_159); lean_ctor_set(x_172, 1, x_171); -x_173 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_173 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_174 = lean_array_push(x_173, x_172); x_175 = lean_array_push(x_174, x_154); -x_176 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_176 = l_myMacro____x40_Init_Notation___hyg_14222____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 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_178 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_179 = lean_array_push(x_178, x_177); -x_180 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_180 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_181 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_181, 0, x_180); lean_ctor_set(x_181, 1, x_179); @@ -26792,13 +26792,13 @@ lean_inc(x_159); x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_159); lean_ctor_set(x_186, 1, x_185); -x_187 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_187 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_188 = lean_array_push(x_187, x_168); lean_inc(x_188); x_189 = lean_array_push(x_188, x_184); lean_inc(x_186); x_190 = lean_array_push(x_189, x_186); -x_191 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_191 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -26806,25 +26806,25 @@ x_193 = lean_array_push(x_178, x_192); x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_180); lean_ctor_set(x_194, 1, x_193); -x_195 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_195 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; x_196 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_196, 0, x_159); lean_ctor_set(x_196, 1, x_195); x_197 = lean_array_push(x_187, x_194); x_198 = lean_array_push(x_197, x_196); x_199 = lean_array_push(x_198, x_156); -x_200 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_200 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_201 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_201, 0, x_200); lean_ctor_set(x_201, 1, x_199); x_202 = lean_array_push(x_173, x_170); x_203 = lean_array_push(x_202, x_201); -x_204 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_204 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_204); lean_ctor_set(x_205, 1, x_203); x_206 = lean_array_push(x_173, x_205); -x_207 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_207 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_208 = lean_array_push(x_206, x_207); x_209 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_209, 0, x_180); @@ -26840,7 +26840,7 @@ lean_ctor_set(x_214, 0, x_180); lean_ctor_set(x_214, 1, x_213); x_215 = lean_array_push(x_173, x_166); x_216 = lean_array_push(x_215, x_214); -x_217 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_217 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_218 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_218, 0, x_217); lean_ctor_set(x_218, 1, x_216); @@ -26860,10 +26860,10 @@ lean_inc(x_221); x_222 = lean_ctor_get(x_2, 1); lean_inc(x_222); lean_dec(x_2); -x_223 = l_myMacro____x40_Init_Notation___hyg_14133____closed__4; +x_223 = l_myMacro____x40_Init_Notation___hyg_14222____closed__4; x_224 = l_Lean_addMacroScope(x_222, x_223, x_221); -x_225 = l_myMacro____x40_Init_Notation___hyg_14133____closed__3; -x_226 = l_myMacro____x40_Init_Notation___hyg_14133____closed__6; +x_225 = l_myMacro____x40_Init_Notation___hyg_14222____closed__3; +x_226 = l_myMacro____x40_Init_Notation___hyg_14222____closed__6; lean_inc(x_219); x_227 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_227, 0, x_219); @@ -26875,26 +26875,26 @@ lean_inc(x_219); x_229 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_229, 0, x_219); lean_ctor_set(x_229, 1, x_228); -x_230 = l_myMacro____x40_Init_Notation___hyg_12862____closed__9; +x_230 = l_myMacro____x40_Init_Notation___hyg_12945____closed__9; lean_inc(x_219); x_231 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_231, 0, x_219); lean_ctor_set(x_231, 1, x_230); -x_232 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_232 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_219); x_233 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_233, 0, x_219); lean_ctor_set(x_233, 1, x_232); -x_234 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_234 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_235 = lean_array_push(x_234, x_233); x_236 = lean_array_push(x_235, x_154); -x_237 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_237 = l_myMacro____x40_Init_Notation___hyg_14222____closed__8; x_238 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_238, 0, x_237); lean_ctor_set(x_238, 1, x_236); -x_239 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_239 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_240 = lean_array_push(x_239, x_238); -x_241 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_241 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_242 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_242, 0, x_241); lean_ctor_set(x_242, 1, x_240); @@ -26908,13 +26908,13 @@ lean_inc(x_219); x_247 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_247, 0, x_219); lean_ctor_set(x_247, 1, x_246); -x_248 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_248 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_249 = lean_array_push(x_248, x_229); lean_inc(x_249); x_250 = lean_array_push(x_249, x_245); lean_inc(x_247); x_251 = lean_array_push(x_250, x_247); -x_252 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_252 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_253 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_253, 0, x_252); lean_ctor_set(x_253, 1, x_251); @@ -26922,25 +26922,25 @@ x_254 = lean_array_push(x_239, x_253); x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_241); lean_ctor_set(x_255, 1, x_254); -x_256 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_256 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; x_257 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_257, 0, x_219); lean_ctor_set(x_257, 1, x_256); x_258 = lean_array_push(x_248, x_255); x_259 = lean_array_push(x_258, x_257); x_260 = lean_array_push(x_259, x_156); -x_261 = l_myMacro____x40_Init_Notation___hyg_12862____closed__12; +x_261 = l_myMacro____x40_Init_Notation___hyg_12945____closed__12; x_262 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_262, 0, x_261); lean_ctor_set(x_262, 1, x_260); x_263 = lean_array_push(x_234, x_231); x_264 = lean_array_push(x_263, x_262); -x_265 = l_myMacro____x40_Init_Notation___hyg_12862____closed__10; +x_265 = l_myMacro____x40_Init_Notation___hyg_12945____closed__10; x_266 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_266, 0, x_265); lean_ctor_set(x_266, 1, x_264); x_267 = lean_array_push(x_234, x_266); -x_268 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_268 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_269 = lean_array_push(x_267, x_268); x_270 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_270, 0, x_241); @@ -26956,7 +26956,7 @@ lean_ctor_set(x_275, 0, x_241); lean_ctor_set(x_275, 1, x_274); x_276 = lean_array_push(x_234, x_227); x_277 = lean_array_push(x_276, x_275); -x_278 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_278 = l_myMacro____x40_Init_Notation___hyg_2019____closed__4; x_279 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_279, 0, x_278); lean_ctor_set(x_279, 1, x_277); @@ -27041,7 +27041,7 @@ x_1 = l_termWithout__expected__type_____closed__6; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__1() { _start: { lean_object* x_1; @@ -27049,17 +27049,17 @@ x_1 = lean_mk_string("let"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_14659____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_14569____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__3() { _start: { lean_object* x_1; @@ -27067,17 +27067,17 @@ x_1 = lean_mk_string("letDecl"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_14569____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_14659____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__5() { _start: { lean_object* x_1; @@ -27085,17 +27085,17 @@ x_1 = lean_mk_string("letIdDecl"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_14569____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_14659____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_14569____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__7() { _start: { lean_object* x_1; @@ -27103,22 +27103,22 @@ x_1 = lean_mk_string("aux"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_14569____closed__7; +x_1 = l_myMacro____x40_Init_Notation___hyg_14659____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__9() { _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_14569____closed__7; +x_1 = l_myMacro____x40_Init_Notation___hyg_14659____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Notation___hyg_14569____closed__8; +x_3 = l_myMacro____x40_Init_Notation___hyg_14659____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -27126,17 +27126,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__10() { _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_14569____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_14659____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_14569____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__11() { _start: { lean_object* x_1; @@ -27144,7 +27144,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -27153,7 +27153,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__13() { _start: { lean_object* x_1; @@ -27161,7 +27161,7 @@ x_1 = lean_mk_string(";"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_14569_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_14659_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -27185,7 +27185,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -27196,59 +27196,59 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_15 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__10; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__10; x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); x_19 = lean_box(0); -x_20 = l_myMacro____x40_Init_Notation___hyg_14569____closed__9; +x_20 = l_myMacro____x40_Init_Notation___hyg_14659____closed__9; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); -x_22 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_22 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; lean_inc(x_12); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_24 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; lean_inc(x_21); x_25 = lean_array_push(x_24, x_21); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); x_29 = lean_array_push(x_28, x_23); x_30 = lean_array_push(x_29, x_9); -x_31 = l_myMacro____x40_Init_Notation___hyg_14569____closed__6; +x_31 = l_myMacro____x40_Init_Notation___hyg_14659____closed__6; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_34 = lean_array_push(x_33, x_32); -x_35 = l_myMacro____x40_Init_Notation___hyg_14569____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_14659____closed__4; 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_14569____closed__13; +x_37 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_12); lean_ctor_set(x_38, 1, x_37); x_39 = lean_array_push(x_33, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_43 = lean_array_push(x_42, x_16); x_44 = lean_array_push(x_43, x_36); x_45 = lean_array_push(x_44, x_41); x_46 = lean_array_push(x_45, x_21); -x_47 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_47 = l_myMacro____x40_Init_Notation___hyg_14659____closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -27268,59 +27268,59 @@ lean_inc(x_51); x_52 = lean_ctor_get(x_2, 1); lean_inc(x_52); lean_dec(x_2); -x_53 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_53 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_49); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_49); lean_ctor_set(x_54, 1, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_14569____closed__10; +x_55 = l_myMacro____x40_Init_Notation___hyg_14659____closed__10; x_56 = l_Lean_addMacroScope(x_52, x_55, x_51); x_57 = lean_box(0); -x_58 = l_myMacro____x40_Init_Notation___hyg_14569____closed__9; +x_58 = l_myMacro____x40_Init_Notation___hyg_14659____closed__9; lean_inc(x_49); x_59 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_59, 0, x_49); lean_ctor_set(x_59, 1, x_58); lean_ctor_set(x_59, 2, x_56); lean_ctor_set(x_59, 3, x_57); -x_60 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_60 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; lean_inc(x_49); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_49); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_62 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; lean_inc(x_59); x_63 = lean_array_push(x_62, x_59); -x_64 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_64 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_64); x_67 = lean_array_push(x_66, x_61); x_68 = lean_array_push(x_67, x_9); -x_69 = l_myMacro____x40_Init_Notation___hyg_14569____closed__6; +x_69 = l_myMacro____x40_Init_Notation___hyg_14659____closed__6; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); -x_71 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_71 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_72 = lean_array_push(x_71, x_70); -x_73 = l_myMacro____x40_Init_Notation___hyg_14569____closed__4; +x_73 = l_myMacro____x40_Init_Notation___hyg_14659____closed__4; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_75 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_49); lean_ctor_set(x_76, 1, x_75); x_77 = lean_array_push(x_71, x_76); -x_78 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_78 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -x_80 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_80 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_81 = lean_array_push(x_80, x_54); x_82 = lean_array_push(x_81, x_74); x_83 = lean_array_push(x_82, x_79); x_84 = lean_array_push(x_83, x_59); -x_85 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_85 = l_myMacro____x40_Init_Notation___hyg_14659____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); @@ -27391,7 +27391,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_termDepIfThenElse___closed__16; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; x_3 = l_term_x5b___x5d___closed__6; x_4 = 0; x_5 = lean_alloc_ctor(10, 3, 1); @@ -27524,7 +27524,7 @@ static lean_object* _init_l_term_x25_x5b___x7c___x5d___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_1 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -27594,7 +27594,7 @@ x_1 = l_term_x25_x5b___x7c___x5d___closed__10; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -27632,26 +27632,26 @@ return x_13; } } } -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1(lean_object* x_1) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit_match__1___rarg(x_1, x_6, x_3, x_4, x_5); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -27666,7 +27666,7 @@ lean_dec(x_2); if (x_3 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -27676,10 +27676,10 @@ x_14 = lean_ctor_get(x_5, 2); lean_inc(x_14); x_15 = lean_ctor_get(x_5, 1); lean_inc(x_15); -x_16 = l_myMacro____x40_Init_Notation___hyg_11086____closed__7; +x_16 = l_myMacro____x40_Init_Notation___hyg_11161____closed__7; x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); -x_18 = l_myMacro____x40_Init_Notation___hyg_11086____closed__3; -x_19 = l_myMacro____x40_Init_Notation___hyg_11086____closed__9; +x_18 = l_myMacro____x40_Init_Notation___hyg_11161____closed__3; +x_19 = l_myMacro____x40_Init_Notation___hyg_11161____closed__9; x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_18); @@ -27687,16 +27687,16 @@ lean_ctor_set(x_20, 2, x_17); lean_ctor_set(x_20, 3, x_19); x_21 = l_Lean_instInhabitedSyntax; x_22 = lean_array_get(x_21, x_1, x_10); -x_23 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_23 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_24 = lean_array_push(x_23, x_22); x_25 = lean_array_push(x_24, x_4); -x_26 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_26 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = lean_array_push(x_23, x_20); x_29 = lean_array_push(x_28, x_27); -x_30 = l_myMacro____x40_Init_Notation___hyg_1997____closed__4; +x_30 = l_myMacro____x40_Init_Notation___hyg_2019____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); @@ -27728,18 +27728,18 @@ return x_36; } } } -lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit___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: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_1); return x_8; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1() { _start: { lean_object* x_1; @@ -27747,22 +27747,22 @@ x_1 = lean_mk_string("List.nil"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2; +x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____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); @@ -27770,7 +27770,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4() { _start: { lean_object* x_1; @@ -27778,41 +27778,41 @@ x_1 = lean_mk_string("nil"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_11086____closed__5; -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_11161____closed__5; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____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_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6; 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_myMacro____x40_Init_Notation___hyg_14747_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14838_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -27845,7 +27845,7 @@ if (x_13 == 0) { lean_object* x_14; uint8_t x_15; lean_dec(x_11); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -27861,22 +27861,22 @@ lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_22 = l_Array_appendCore___rarg(x_21, x_10); lean_dec(x_10); -x_23 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_23 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_16); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_16); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; +x_27 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5; x_28 = l_Lean_addMacroScope(x_18, x_27, x_17); -x_29 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3; -x_30 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7; +x_29 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3; +x_30 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7; lean_inc(x_16); x_31 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_31, 0, x_16); @@ -27887,7 +27887,7 @@ x_32 = l_term_x5b___x5d___closed__9; x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_16); lean_ctor_set(x_33, 1, x_32); -x_34 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_34 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; x_35 = lean_array_push(x_34, x_20); x_36 = lean_array_push(x_35, x_24); x_37 = lean_array_push(x_36, x_26); @@ -27918,22 +27918,22 @@ lean_inc(x_42); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_42); lean_ctor_set(x_47, 1, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_1318____closed__11; +x_48 = l_myMacro____x40_Init_Notation___hyg_1335____closed__11; x_49 = l_Array_appendCore___rarg(x_48, x_10); lean_dec(x_10); -x_50 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_50 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_52 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_42); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_42); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; +x_54 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5; x_55 = l_Lean_addMacroScope(x_45, x_54, x_44); -x_56 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3; -x_57 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7; +x_56 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3; +x_57 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7; lean_inc(x_42); x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_42); @@ -27944,7 +27944,7 @@ x_59 = l_term_x5b___x5d___closed__9; x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_42); lean_ctor_set(x_60, 1, x_59); -x_61 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_61 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; x_62 = lean_array_push(x_61, x_47); x_63 = lean_array_push(x_62, x_51); x_64 = lean_array_push(x_63, x_53); @@ -27963,7 +27963,7 @@ return x_69; else { lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; -x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); x_72 = lean_ctor_get(x_70, 1); @@ -27973,17 +27973,17 @@ x_73 = lean_ctor_get(x_2, 2); lean_inc(x_73); x_74 = lean_ctor_get(x_2, 1); lean_inc(x_74); -x_75 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; +x_75 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5; x_76 = l_Lean_addMacroScope(x_74, x_75, x_73); -x_77 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3; -x_78 = l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7; +x_77 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3; +x_78 = l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7; x_79 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_79, 0, x_71); lean_ctor_set(x_79, 1, x_77); lean_ctor_set(x_79, 2, x_76); lean_ctor_set(x_79, 3, x_78); x_80 = 0; -x_81 = l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit(x_10, x_11, x_80, x_79, x_2, x_72); +x_81 = l_Lean_myMacro____x40_Init_Notation___hyg_14838__expandListLit(x_10, x_11, x_80, x_79, x_2, x_72); lean_dec(x_10); return x_81; } @@ -28064,7 +28064,7 @@ x_1 = l_Lean_term__Matches_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1() { _start: { lean_object* x_1; @@ -28072,22 +28072,22 @@ x_1 = lean_mk_string("true"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2; +x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____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); @@ -28095,17 +28095,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5() { _start: { lean_object* x_1; @@ -28113,51 +28113,51 @@ x_1 = lean_mk_string("Bool"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____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_myMacro____x40_Init_Notation___hyg_15046____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____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; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10() { _start: { lean_object* x_1; @@ -28165,22 +28165,22 @@ x_1 = lean_mk_string("false"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11; +x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -28188,51 +28188,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14; 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_myMacro____x40_Init_Notation___hyg_15046____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15; 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_myMacro____x40_Init_Notation___hyg_15046_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15138_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -28258,7 +28258,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -28269,29 +28269,29 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +x_17 = l_myMacro____x40_Init_Notation___hyg_13447____closed__1; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_19 = l_myMacro____x40_Init_Notation___hyg_13447____closed__5; x_20 = lean_array_push(x_19, x_9); -x_21 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_13447____closed__4; 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 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_24 = lean_array_push(x_23, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_13362____closed__6; +x_27 = l_myMacro____x40_Init_Notation___hyg_13447____closed__6; lean_inc(x_14); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_14); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_29 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_14); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_14); @@ -28300,41 +28300,41 @@ x_31 = lean_array_push(x_23, x_11); x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_25); lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_33 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_14); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_14); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; +x_35 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4; lean_inc(x_15); lean_inc(x_16); x_36 = l_Lean_addMacroScope(x_16, x_35, x_15); -x_37 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; -x_38 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; +x_37 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3; +x_38 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9; lean_inc(x_14); x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_40 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_41 = lean_array_push(x_40, x_30); lean_inc(x_41); x_42 = lean_array_push(x_41, x_32); lean_inc(x_34); x_43 = lean_array_push(x_42, x_34); x_44 = lean_array_push(x_43, x_39); -x_45 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_45 = l_myMacro____x40_Init_Notation___hyg_13447____closed__10; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_47 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_14); x_48 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_48, 0, x_14); lean_ctor_set(x_48, 1, x_47); x_49 = lean_array_push(x_23, x_48); -x_50 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_50 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -28342,10 +28342,10 @@ x_52 = lean_array_push(x_23, x_51); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_25); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; +x_54 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13; x_55 = l_Lean_addMacroScope(x_16, x_54, x_15); -x_56 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; -x_57 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; +x_56 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12; +x_57 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16; x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_14); lean_ctor_set(x_58, 1, x_56); @@ -28357,26 +28357,26 @@ x_61 = lean_array_push(x_60, x_58); x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_45); lean_ctor_set(x_62, 1, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_63 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_64 = lean_array_push(x_63, x_46); x_65 = lean_array_push(x_64, x_62); x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_25); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_23, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__8; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_70 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_71 = lean_array_push(x_70, x_18); -x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_72 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_73 = lean_array_push(x_71, x_72); x_74 = lean_array_push(x_73, x_26); x_75 = lean_array_push(x_74, x_72); x_76 = lean_array_push(x_75, x_28); x_77 = lean_array_push(x_76, x_69); -x_78 = l_myMacro____x40_Init_Notation___hyg_13362____closed__2; +x_78 = l_myMacro____x40_Init_Notation___hyg_13447____closed__2; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -28396,29 +28396,29 @@ lean_inc(x_82); x_83 = lean_ctor_get(x_2, 1); lean_inc(x_83); lean_dec(x_2); -x_84 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +x_84 = l_myMacro____x40_Init_Notation___hyg_13447____closed__1; lean_inc(x_80); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_80); lean_ctor_set(x_85, 1, x_84); -x_86 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_86 = l_myMacro____x40_Init_Notation___hyg_13447____closed__5; x_87 = lean_array_push(x_86, x_9); -x_88 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +x_88 = l_myMacro____x40_Init_Notation___hyg_13447____closed__4; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); -x_90 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_90 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_91 = lean_array_push(x_90, x_89); -x_92 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_92 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); -x_94 = l_myMacro____x40_Init_Notation___hyg_13362____closed__6; +x_94 = l_myMacro____x40_Init_Notation___hyg_13447____closed__6; lean_inc(x_80); x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_80); lean_ctor_set(x_95, 1, x_94); -x_96 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_96 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_80); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_80); @@ -28427,41 +28427,41 @@ x_98 = lean_array_push(x_90, x_11); x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_92); lean_ctor_set(x_99, 1, x_98); -x_100 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +x_100 = l_myMacro____x40_Init_Notation___hyg_12945____closed__13; lean_inc(x_80); x_101 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_101, 0, x_80); lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; +x_102 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4; lean_inc(x_82); lean_inc(x_83); x_103 = l_Lean_addMacroScope(x_83, x_102, x_82); -x_104 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; -x_105 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; +x_104 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3; +x_105 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9; lean_inc(x_80); x_106 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_106, 0, x_80); lean_ctor_set(x_106, 1, x_104); lean_ctor_set(x_106, 2, x_103); lean_ctor_set(x_106, 3, x_105); -x_107 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_107 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_108 = lean_array_push(x_107, x_97); lean_inc(x_108); x_109 = lean_array_push(x_108, x_99); lean_inc(x_101); x_110 = lean_array_push(x_109, x_101); x_111 = lean_array_push(x_110, x_106); -x_112 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_112 = l_myMacro____x40_Init_Notation___hyg_13447____closed__10; x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_112); lean_ctor_set(x_113, 1, x_111); -x_114 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_114 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_80); x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_80); lean_ctor_set(x_115, 1, x_114); x_116 = lean_array_push(x_90, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_117 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); @@ -28469,10 +28469,10 @@ x_119 = lean_array_push(x_90, x_118); x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_92); lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; +x_121 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13; x_122 = l_Lean_addMacroScope(x_83, x_121, x_82); -x_123 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; -x_124 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; +x_123 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12; +x_124 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16; x_125 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_125, 0, x_80); lean_ctor_set(x_125, 1, x_123); @@ -28484,26 +28484,26 @@ x_128 = lean_array_push(x_127, x_125); x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_112); lean_ctor_set(x_129, 1, x_128); -x_130 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_130 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_131 = lean_array_push(x_130, x_113); x_132 = lean_array_push(x_131, x_129); x_133 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_133, 0, x_92); lean_ctor_set(x_133, 1, x_132); x_134 = lean_array_push(x_90, x_133); -x_135 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_135 = l_myMacro____x40_Init_Notation___hyg_13447____closed__8; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_137 = l_myMacro____x40_Init_Notation___hyg_1214____closed__8; x_138 = lean_array_push(x_137, x_85); -x_139 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_139 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_140 = lean_array_push(x_138, x_139); x_141 = lean_array_push(x_140, x_93); x_142 = lean_array_push(x_141, x_139); x_143 = lean_array_push(x_142, x_95); x_144 = lean_array_push(x_143, x_136); -x_145 = l_myMacro____x40_Init_Notation___hyg_13362____closed__2; +x_145 = l_myMacro____x40_Init_Notation___hyg_13447____closed__2; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); @@ -28575,7 +28575,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_intro___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1879____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1900____closed__4; x_2 = l_term_x25_x5b___x7c___x5d___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28655,7 +28655,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_intro___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_2 = l_Lean_Parser_Tactic_intro___closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28741,7 +28741,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_intros___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_1 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -28751,7 +28751,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_intros___closed__6() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_termDepIfThenElse___closed__11; x_3 = l_Lean_Parser_Tactic_intros___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); @@ -28779,7 +28779,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_intros___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_2 = l_Lean_Parser_Tactic_intros___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28999,7 +28999,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_revert___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_2 = l_Lean_Parser_Tactic_revert___closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29699,7 +29699,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_case___closed__6() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_termDepIfThenElse___closed__11; x_3 = l_Lean_Parser_Tactic_intros___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); @@ -29713,7 +29713,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_case___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_2 = l_Lean_Parser_Tactic_case___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -30259,7 +30259,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_generalize___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_generalize___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -30350,7 +30350,7 @@ _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_myMacro____x40_Init_Notation___hyg_12862____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_12945____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -30699,7 +30699,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_first___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_2 = l_Lean_Parser_Tactic_first___closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -30789,7 +30789,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rotateLeft___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_rawNatLit___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -30973,7 +30973,7 @@ x_1 = l_Lean_Parser_Tactic_tacticTry_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__1() { _start: { lean_object* x_1; @@ -30981,17 +30981,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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_15698____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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_15698____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31001,7 +31001,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_15698____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4() { _start: { lean_object* x_1; @@ -31009,17 +31009,17 @@ x_1 = lean_mk_string("tacticSeq1Indented"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5() { _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_15698____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31042,7 +31042,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -31053,18 +31053,18 @@ lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_15 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_17 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_18 = lean_array_push(x_17, x_9); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_16); lean_inc(x_22); x_23 = lean_array_push(x_22, x_20); @@ -31082,18 +31082,18 @@ 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 = lean_array_push(x_21, x_30); -x_32 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_32 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_33 = lean_array_push(x_31, x_32); x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_24); lean_ctor_set(x_34, 1, x_33); x_35 = lean_array_push(x_17, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_36 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_17, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); @@ -31121,7 +31121,7 @@ x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_36); lean_ctor_set(x_53, 1, x_52); x_54 = lean_array_push(x_17, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -31141,18 +31141,18 @@ lean_inc(x_57); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_57); lean_ctor_set(x_60, 1, x_59); -x_61 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_61 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_57); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_57); lean_ctor_set(x_62, 1, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_63 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_64 = lean_array_push(x_63, x_9); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); -x_67 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_67 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_68 = lean_array_push(x_67, x_62); lean_inc(x_68); x_69 = lean_array_push(x_68, x_66); @@ -31170,18 +31170,18 @@ x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); x_77 = lean_array_push(x_67, x_76); -x_78 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_78 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_79 = lean_array_push(x_77, x_78); x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_70); lean_ctor_set(x_80, 1, x_79); x_81 = lean_array_push(x_63, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_82 = l_myMacro____x40_Init_Notation___hyg_942____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_63, x_83); -x_85 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_85 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -31209,7 +31209,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_82); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_63, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -31221,11 +31221,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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_15698_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -31334,7 +31334,7 @@ x_1 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__9; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15951_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31359,7 +31359,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -31375,18 +31375,18 @@ lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_19 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_14); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_23 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_25 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_26 = lean_array_push(x_25, x_9); x_27 = lean_array_push(x_26, x_24); x_28 = l_Lean_Parser_Tactic_first___closed__8; @@ -31399,7 +31399,7 @@ x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_14); lean_ctor_set(x_31, 1, x_30); x_32 = lean_array_push(x_25, x_11); -x_33 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_33 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_34 = lean_array_push(x_32, x_33); x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_28); @@ -31409,12 +31409,12 @@ x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_23); lean_ctor_set(x_37, 1, x_36); x_38 = lean_array_push(x_21, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; 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_21, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -31446,7 +31446,7 @@ x_58 = l_prec_x28___x29___closed__7; x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_14); lean_ctor_set(x_59, 1, x_58); -x_60 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_60 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_61 = lean_array_push(x_60, x_18); x_62 = lean_array_push(x_61, x_57); x_63 = lean_array_push(x_62, x_59); @@ -31498,18 +31498,18 @@ lean_inc(x_79); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_79); lean_ctor_set(x_84, 1, x_83); -x_85 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_85 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_79); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_79); lean_ctor_set(x_86, 1, x_85); -x_87 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_87 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_88 = lean_array_push(x_87, x_86); -x_89 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_89 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_91 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_92 = lean_array_push(x_91, x_9); x_93 = lean_array_push(x_92, x_90); x_94 = l_Lean_Parser_Tactic_first___closed__8; @@ -31522,7 +31522,7 @@ x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_79); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_91, x_11); -x_99 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_99 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_100 = lean_array_push(x_98, x_99); x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_94); @@ -31532,12 +31532,12 @@ x_103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_103, 0, x_89); lean_ctor_set(x_103, 1, x_102); x_104 = lean_array_push(x_87, x_103); -x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); x_107 = lean_array_push(x_87, x_106); -x_108 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_108 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); @@ -31569,7 +31569,7 @@ x_124 = l_prec_x28___x29___closed__7; x_125 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_125, 0, x_79); lean_ctor_set(x_125, 1, x_124); -x_126 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_126 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_127 = lean_array_push(x_126, x_84); x_128 = lean_array_push(x_127, x_123); x_129 = lean_array_push(x_128, x_125); @@ -31608,11 +31608,11 @@ return x_145; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15951____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_15855_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15951_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -31675,7 +31675,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__7() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__4; x_3 = l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__6; x_4 = lean_alloc_ctor(2, 3, 0); @@ -31721,7 +31721,7 @@ x_1 = l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__1() { _start: { lean_object* x_1; @@ -31729,17 +31729,17 @@ x_1 = lean_mk_string("tacticSeqBracketed"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____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_16062____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____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_16062____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3() { _start: { lean_object* x_1; @@ -31747,7 +31747,7 @@ x_1 = lean_mk_string("}"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4() { _start: { lean_object* x_1; @@ -31755,7 +31755,7 @@ x_1 = lean_mk_string("{"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31780,206 +31780,188 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; -lean_inc(x_11); -x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; -lean_dec(x_11); +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; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Syntax_getHeadInfo_x3f(x_9); lean_dec(x_9); -x_14 = lean_box(1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -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; -x_18 = lean_ctor_get(x_16, 0); -x_19 = l_Lean_Syntax_getHeadInfo_x3f(x_9); -lean_dec(x_9); -x_20 = l_prec_x28___x29___closed__3; -lean_inc(x_18); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_prec_x28___x29___closed__7; -lean_inc(x_18); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_25 = lean_array_push(x_24, x_21); -x_26 = lean_array_push(x_25, x_11); -x_27 = lean_array_push(x_26, x_23); -x_28 = l_Lean_Parser_Tactic_paren___closed__1; -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_myMacro____x40_Init_Notation___hyg_1318____closed__10; -x_31 = lean_array_push(x_30, x_29); -x_32 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; -x_33 = lean_array_push(x_31, x_32); -x_34 = l_Lean_Parser_Tactic_first___closed__8; +x_16 = l_prec_x28___x29___closed__3; +lean_inc(x_14); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_prec_x28___x29___closed__7; +lean_inc(x_14); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; +x_21 = lean_array_push(x_20, x_17); +x_22 = lean_array_push(x_21, x_11); +x_23 = lean_array_push(x_22, x_19); +x_24 = l_Lean_Parser_Tactic_paren___closed__1; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; +x_27 = lean_array_push(x_26, x_25); +x_28 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; +x_29 = lean_array_push(x_27, x_28); +x_30 = l_Lean_Parser_Tactic_first___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 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_myMacro____x40_Init_Notation___hyg_942____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 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; -x_37 = lean_array_push(x_36, x_35); -x_38 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; -lean_inc(x_18); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_18); -lean_ctor_set(x_41, 1, x_40); -if (lean_obj_tag(x_19) == 0) +x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3; +lean_inc(x_14); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +if (lean_obj_tag(x_15) == 0) { -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_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_18); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_array_push(x_24, x_43); -x_45 = lean_array_push(x_44, x_39); -x_46 = lean_array_push(x_45, x_41); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_16, 0, x_48); -return x_16; +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_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4; +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_array_push(x_20, x_39); +x_41 = lean_array_push(x_40, x_35); +x_42 = lean_array_push(x_41, x_37); +x_43 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_12, 0, x_44); +return x_12; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_18); -x_49 = lean_ctor_get(x_19, 0); -lean_inc(x_49); -lean_dec(x_19); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_24, x_51); -x_53 = lean_array_push(x_52, x_39); -x_54 = lean_array_push(x_53, x_41); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_16, 0, x_56); -return x_16; +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_dec(x_14); +x_45 = lean_ctor_get(x_15, 0); +lean_inc(x_45); +lean_dec(x_15); +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4; +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_array_push(x_20, x_47); +x_49 = lean_array_push(x_48, x_35); +x_50 = lean_array_push(x_49, x_37); +x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +lean_ctor_set(x_12, 0, x_52); +return x_12; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_57 = lean_ctor_get(x_16, 0); -x_58 = lean_ctor_get(x_16, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_16); -x_59 = l_Lean_Syntax_getHeadInfo_x3f(x_9); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_53 = lean_ctor_get(x_12, 0); +x_54 = lean_ctor_get(x_12, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_12); +x_55 = l_Lean_Syntax_getHeadInfo_x3f(x_9); lean_dec(x_9); -x_60 = l_prec_x28___x29___closed__3; -lean_inc(x_57); -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_prec_x28___x29___closed__7; -lean_inc(x_57); -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_57); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_65 = lean_array_push(x_64, x_61); -x_66 = lean_array_push(x_65, x_11); -x_67 = lean_array_push(x_66, x_63); -x_68 = l_Lean_Parser_Tactic_paren___closed__1; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; -x_71 = lean_array_push(x_70, x_69); -x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; -x_73 = lean_array_push(x_71, x_72); -x_74 = l_Lean_Parser_Tactic_first___closed__8; +x_56 = l_prec_x28___x29___closed__3; +lean_inc(x_53); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_prec_x28___x29___closed__7; +lean_inc(x_53); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; +x_61 = lean_array_push(x_60, x_57); +x_62 = lean_array_push(x_61, x_11); +x_63 = lean_array_push(x_62, x_59); +x_64 = l_Lean_Parser_Tactic_paren___closed__1; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; +x_67 = lean_array_push(x_66, x_65); +x_68 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; +x_69 = lean_array_push(x_67, x_68); +x_70 = l_Lean_Parser_Tactic_first___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_myMacro____x40_Init_Notation___hyg_72____closed__4; +x_73 = lean_array_push(x_72, x_71); +x_74 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_myMacro____x40_Init_Notation___hyg_71____closed__4; -x_77 = lean_array_push(x_76, x_75); -x_78 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; -lean_inc(x_57); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_57); -lean_ctor_set(x_81, 1, x_80); -if (lean_obj_tag(x_59) == 0) +x_76 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3; +lean_inc(x_53); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_53); +lean_ctor_set(x_77, 1, x_76); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_57); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_64, x_83); -x_85 = lean_array_push(x_84, x_79); -x_86 = lean_array_push(x_85, x_81); -x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_58); -return x_89; +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_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4; +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_53); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_60, x_79); +x_81 = lean_array_push(x_80, x_75); +x_82 = lean_array_push(x_81, x_77); +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_54); +return x_85; } 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; lean_object* x_97; lean_object* x_98; -lean_dec(x_57); -x_90 = lean_ctor_get(x_59, 0); -lean_inc(x_90); -lean_dec(x_59); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -x_93 = lean_array_push(x_64, x_92); -x_94 = lean_array_push(x_93, x_79); -x_95 = lean_array_push(x_94, x_81); -x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_58); -return x_98; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_53); +x_86 = lean_ctor_get(x_55, 0); +lean_inc(x_86); +lean_dec(x_55); +x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4; +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_60, x_88); +x_90 = lean_array_push(x_89, x_75); +x_91 = lean_array_push(x_90, x_77); +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_54); +return x_94; } } } } } -} -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____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_16062_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -32044,7 +32026,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRfl___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -32053,13 +32035,13 @@ 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_16196____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____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_tacticRfl___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -32067,7 +32049,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -32077,31 +32059,31 @@ 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_16196____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____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_myMacro____x40_Init_Notation___hyg_16196____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3; 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_16196____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5() { _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_16196____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__4; 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_16196_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -32120,7 +32102,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -32136,30 +32118,30 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_exact___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_26 = lean_array_push(x_25, x_24); -x_27 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_27 = l_myMacro____x40_Init_Notation___hyg_942____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_25, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -32184,30 +32166,30 @@ lean_inc(x_32); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_32); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3; x_39 = l_Lean_addMacroScope(x_35, x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5; x_42 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_40); lean_ctor_set(x_42, 2, x_39); lean_ctor_set(x_42, 3, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_43 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_44 = lean_array_push(x_43, x_37); x_45 = lean_array_push(x_44, x_42); x_46 = l_Lean_Parser_Tactic_exact___closed__2; x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_48 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_49 = lean_array_push(x_48, x_47); -x_50 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_50 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -32279,7 +32261,7 @@ x_1 = l_Lean_Parser_Tactic_tacticAdmit___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1() { _start: { lean_object* x_1; @@ -32287,17 +32269,17 @@ x_1 = lean_mk_string("sorry"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -32315,7 +32297,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -32326,17 +32308,17 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1; x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_16 = lean_array_push(x_15, x_14); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_19 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_20 = lean_array_push(x_19, x_12); x_21 = lean_array_push(x_20, x_18); x_22 = l_Lean_Parser_Tactic_exact___closed__2; @@ -32344,12 +32326,12 @@ 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 = lean_array_push(x_15, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_25 = l_myMacro____x40_Init_Notation___hyg_942____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_15, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -32369,17 +32351,17 @@ lean_inc(x_30); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_30); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1; x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_30); lean_ctor_set(x_35, 1, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_36 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_37 = lean_array_push(x_36, x_35); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_40 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_41 = lean_array_push(x_40, x_33); x_42 = lean_array_push(x_41, x_39); x_43 = l_Lean_Parser_Tactic_exact___closed__2; @@ -32387,12 +32369,12 @@ x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); x_45 = lean_array_push(x_36, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_46 = l_myMacro____x40_Init_Notation___hyg_942____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_36, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -32404,11 +32386,11 @@ return x_51; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____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_16290_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -32473,7 +32455,7 @@ x_1 = l_Lean_Parser_Tactic_tacticInferInstance___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -32482,13 +32464,13 @@ 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_16378____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____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_tacticInferInstance___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -32496,7 +32478,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -32506,31 +32488,31 @@ 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_16378____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____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_myMacro____x40_Init_Notation___hyg_16378____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3; 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_16378____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5() { _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_16378____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__4; 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_16378_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -32549,7 +32531,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -32565,30 +32547,30 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_exact___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_26 = lean_array_push(x_25, x_24); -x_27 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_27 = l_myMacro____x40_Init_Notation___hyg_942____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_25, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -32613,30 +32595,30 @@ lean_inc(x_32); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_32); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3; x_39 = l_Lean_addMacroScope(x_35, x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5; x_42 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_40); lean_ctor_set(x_42, 2, x_39); lean_ctor_set(x_42, 3, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_43 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_44 = lean_array_push(x_43, x_37); x_45 = lean_array_push(x_44, x_42); x_46 = l_Lean_Parser_Tactic_exact___closed__2; x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_48 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_49 = lean_array_push(x_48, x_47); -x_50 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_50 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -32746,7 +32728,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__7() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_locationHyp___closed__4; x_3 = l_Lean_Parser_Tactic_locationHyp___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); @@ -32760,7 +32742,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_locationHyp___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -32884,7 +32866,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_location___closed__5() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_locationWildcard; x_3 = l_Lean_Parser_Tactic_locationHyp; x_4 = lean_alloc_ctor(2, 3, 0); @@ -32998,7 +32980,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_change___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_location; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33200,7 +33182,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rwRule___closed__7() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_rwRule___closed__4; x_3 = l_Lean_Parser_Tactic_rwRule___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); @@ -33214,7 +33196,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rwRule___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_rwRule___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33281,7 +33263,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_rwRule; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; x_3 = l_term_x5b___x5d___closed__6; x_4 = 1; x_5 = lean_alloc_ctor(11, 3, 1); @@ -33731,7 +33713,7 @@ lean_dec(x_3); x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_setArg(x_12, x_14, x_13); x_16 = l_Lean_Syntax_setArg(x_15, x_6, x_11); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_5); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_5); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -33744,7 +33726,7 @@ if (lean_is_exclusive(x_17)) { lean_dec_ref(x_17); x_20 = lean_box(0); } -x_21 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_21 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_18); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_18); @@ -33766,14 +33748,14 @@ lean_ctor_set(x_28, 0, x_18); lean_ctor_set(x_28, 1, x_27); x_29 = l_Lean_Syntax_getHeadInfo_x3f(x_9); lean_dec(x_9); -x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_28); x_32 = l_prec_x28___x29___closed__7; lean_inc(x_18); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_18); lean_ctor_set(x_33, 1, x_32); -x_34 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_34 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_35 = lean_array_push(x_34, x_26); x_36 = lean_array_push(x_30, x_24); x_37 = lean_array_push(x_34, x_16); @@ -33800,31 +33782,31 @@ x_40 = l_Lean_Parser_Tactic_tacticRfl___closed__3; x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_42 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_43 = lean_array_push(x_42, x_41); x_44 = l_Lean_Parser_Tactic_tacticRfl___closed__2; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_30, x_45); -x_47 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_47 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_48 = lean_array_push(x_46, x_47); x_49 = l_Lean_Parser_Tactic_first___closed__8; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = lean_array_push(x_42, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_52 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); x_54 = lean_array_push(x_42, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); x_57 = lean_array_push(x_42, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -33883,7 +33865,7 @@ x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_52); lean_ctor_set(x_89, 1, x_88); x_90 = lean_array_push(x_42, x_89); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -34017,7 +33999,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_injection___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_2 = l_Lean_Parser_Tactic_intros___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34043,7 +34025,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_injection___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_injection___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34225,7 +34207,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simpLemma___closed__3() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_simpPre; x_3 = l_Lean_Parser_Tactic_simpPost; x_4 = lean_alloc_ctor(2, 3, 0); @@ -34239,7 +34221,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simpLemma___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_simpLemma___closed__3; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34465,7 +34447,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simp___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_simp___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34511,7 +34493,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simp___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_simp___closed__15; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34537,7 +34519,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simp___closed__18() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_simpErase; x_3 = l_Lean_Parser_Tactic_simpLemma; x_4 = lean_alloc_ctor(2, 3, 0); @@ -34552,7 +34534,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_simp___closed__18; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; x_3 = l_term_x5b___x5d___closed__6; x_4 = 0; x_5 = lean_alloc_ctor(10, 3, 1); @@ -34595,7 +34577,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simp___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_simp___closed__21; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34829,7 +34811,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__1() { _start: { lean_object* x_1; @@ -34837,17 +34819,17 @@ x_1 = lean_mk_string("noImplicitLambda"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____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_17112____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3() { _start: { lean_object* x_1; @@ -34855,7 +34837,7 @@ x_1 = lean_mk_string("noImplicitLambda%"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -34878,7 +34860,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -34899,15 +34881,15 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -34917,14 +34899,14 @@ x_28 = l_Lean_Parser_Tactic_refine___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_30 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); -x_32 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_32 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_34 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -34940,7 +34922,7 @@ x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_12); lean_ctor_set(x_41, 1, x_40); x_42 = lean_array_push(x_21, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_43 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_44 = lean_array_push(x_42, x_43); x_45 = l_Lean_Parser_Tactic_rotateRight___closed__2; x_46 = lean_alloc_ctor(1, 2, 0); @@ -34957,12 +34939,12 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_34); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_32, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_32, x_55); -x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -34970,7 +34952,7 @@ x_59 = l_prec_x28___x29___closed__7; x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_12); lean_ctor_set(x_60, 1, x_59); -x_61 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_61 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_62 = lean_array_push(x_61, x_16); x_63 = lean_array_push(x_62, x_58); x_64 = lean_array_push(x_63, x_60); @@ -35006,7 +34988,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_34); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_32, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -35036,15 +35018,15 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); lean_ctor_set(x_94, 1, x_93); -x_95 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_95 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -35054,14 +35036,14 @@ x_102 = l_Lean_Parser_Tactic_refine___closed__2; 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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_104 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_85); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_85); lean_ctor_set(x_105, 1, x_104); -x_106 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_106 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_107 = lean_array_push(x_106, x_105); -x_108 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_108 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); @@ -35077,7 +35059,7 @@ x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_85); lean_ctor_set(x_115, 1, x_114); x_116 = lean_array_push(x_95, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_117 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_118 = lean_array_push(x_116, x_117); x_119 = l_Lean_Parser_Tactic_rotateRight___closed__2; x_120 = lean_alloc_ctor(1, 2, 0); @@ -35094,12 +35076,12 @@ x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_108); lean_ctor_set(x_126, 1, x_125); x_127 = lean_array_push(x_106, x_126); -x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); x_130 = lean_array_push(x_106, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -35107,7 +35089,7 @@ x_133 = l_prec_x28___x29___closed__7; x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_85); lean_ctor_set(x_134, 1, x_133); -x_135 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_135 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_136 = lean_array_push(x_135, x_90); x_137 = lean_array_push(x_136, x_132); x_138 = lean_array_push(x_137, x_134); @@ -35143,7 +35125,7 @@ x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_108); lean_ctor_set(x_155, 1, x_154); x_156 = lean_array_push(x_106, x_155); -x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -35155,11 +35137,11 @@ return x_159; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____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_17112_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35266,7 +35248,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1() { _start: { lean_object* x_1; @@ -35274,7 +35256,7 @@ x_1 = lean_mk_string("refineLift"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2() { _start: { lean_object* x_1; @@ -35282,17 +35264,17 @@ x_1 = lean_mk_string("have"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____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_17315____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4() { _start: { lean_object* x_1; @@ -35300,17 +35282,17 @@ x_1 = lean_mk_string("syntheticHole"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35333,30 +35315,30 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -35365,28 +35347,28 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); x_27 = lean_array_push(x_19, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_28 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -35401,7 +35383,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -35416,24 +35398,24 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_57 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_51); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_51); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -35442,28 +35424,28 @@ lean_inc(x_51); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_51); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_65 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_51); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_75 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -35478,7 +35460,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -35490,11 +35472,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____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_17315_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35521,7 +35503,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -35593,17 +35575,17 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; x_2 = l_Lean_Parser_Tactic_tacticHave_____closed__5; 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_17454____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__2() { _start: { lean_object* x_1; @@ -35611,17 +35593,17 @@ x_1 = lean_mk_string("haveIdDecl"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____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_17454____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4() { _start: { lean_object* x_1; @@ -35629,17 +35611,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35664,44 +35646,44 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_14); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_17 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_18 = lean_array_push(x_17, x_9); -x_19 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_19 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_20 = lean_array_push(x_18, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_23 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_14); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_14); lean_ctor_set(x_26, 1, x_25); -x_27 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_29 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -35709,21 +35691,21 @@ x_35 = lean_array_push(x_27, x_34); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_21); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_37 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_14); lean_ctor_set(x_38, 1, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -35738,7 +35720,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_21); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_27, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -35753,38 +35735,38 @@ x_59 = lean_ctor_get(x_12, 1); lean_inc(x_59); lean_inc(x_58); lean_dec(x_12); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_58); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_58); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_62 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_63 = lean_array_push(x_62, x_9); -x_64 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_64 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_65 = lean_array_push(x_63, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_66 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_68 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_58); x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_58); lean_ctor_set(x_69, 1, x_68); -x_70 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_70 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_58); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_58); lean_ctor_set(x_71, 1, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_72 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_73 = lean_array_push(x_72, x_71); -x_74 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_74 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -35792,21 +35774,21 @@ x_80 = lean_array_push(x_72, x_79); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_66); lean_ctor_set(x_81, 1, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_82 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_58); lean_ctor_set(x_83, 1, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_84 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -35821,7 +35803,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_66); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_72, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -35833,11 +35815,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____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_17454_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35944,7 +35926,7 @@ x_1 = l_Lean_Parser_Tactic_tacticSuffices_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1() { _start: { lean_object* x_1; @@ -35952,17 +35934,17 @@ x_1 = lean_mk_string("suffices"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35985,30 +35967,30 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -36017,28 +35999,28 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); x_27 = lean_array_push(x_19, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_28 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____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); @@ -36053,7 +36035,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -36068,24 +36050,24 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_57 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_51); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_51); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -36094,28 +36076,28 @@ lean_inc(x_51); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_51); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_65 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_51); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_75 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -36130,7 +36112,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -36142,11 +36124,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____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_17612_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -36186,7 +36168,7 @@ _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_14569____closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_14659____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -36237,7 +36219,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_____closed__7; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17835_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36260,30 +36242,30 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_15 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -36292,28 +36274,28 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); x_27 = lean_array_push(x_19, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_28 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_40 = l_myMacro____x40_Init_Notation___hyg_14659____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); @@ -36328,7 +36310,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -36343,24 +36325,24 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_55 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_57 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_51); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_51); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -36369,28 +36351,28 @@ lean_inc(x_51); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_51); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_65 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_51); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_75 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_80 = l_myMacro____x40_Init_Notation___hyg_14659____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -36405,7 +36387,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -36417,11 +36399,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17835____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_17742_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17835_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -36500,7 +36482,7 @@ x_1 = l_Lean_Parser_Tactic_tacticShow_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1() { _start: { lean_object* x_1; @@ -36508,17 +36490,17 @@ x_1 = lean_mk_string("show"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____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_17873____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__3() { _start: { lean_object* x_1; @@ -36526,17 +36508,17 @@ x_1 = lean_mk_string("fromTerm"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____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_17873____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5() { _start: { lean_object* x_1; @@ -36544,7 +36526,7 @@ x_1 = lean_mk_string("from"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36567,23 +36549,23 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); @@ -36593,34 +36575,34 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_21 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_23 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_24 = lean_array_push(x_23, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_27 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_27, x_18); x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -x_36 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_36 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_37 = lean_array_push(x_36, x_16); x_38 = lean_array_push(x_37, x_9); x_39 = lean_array_push(x_38, x_35); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____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); @@ -36631,12 +36613,12 @@ x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_23, x_45); -x_47 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_47 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); x_49 = lean_array_push(x_23, x_48); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -36651,17 +36633,17 @@ x_53 = lean_ctor_get(x_10, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_10); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_52); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1; lean_inc(x_52); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_52); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5; lean_inc(x_52); x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_52); @@ -36671,34 +36653,34 @@ lean_inc(x_52); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_52); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_62 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_52); lean_ctor_set(x_63, 1, x_62); -x_64 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_64 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_65 = lean_array_push(x_64, x_63); -x_66 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_66 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_68 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_67); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_68, x_59); x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; +x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); -x_77 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_77 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_78 = lean_array_push(x_77, x_57); x_79 = lean_array_push(x_78, x_9); x_80 = lean_array_push(x_79, x_76); -x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2; +x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____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); @@ -36709,12 +36691,12 @@ 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 = lean_array_push(x_64, x_86); -x_88 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_88 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); x_90 = lean_array_push(x_64, x_89); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -36726,11 +36708,11 @@ return x_93; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____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_17873_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -36887,27 +36869,27 @@ x_1 = l_Lean_Parser_Tactic_letrec___closed__13; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; x_2 = l_Lean_Parser_Tactic_letrec___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_18011____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; x_2 = l_Lean_Parser_Tactic_letrec___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_18011____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3() { _start: { lean_object* x_1; @@ -36915,7 +36897,7 @@ x_1 = lean_mk_string("rec"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36955,7 +36937,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_18011____closed__1; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -36971,41 +36953,41 @@ return x_19; else { lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { 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; x_22 = lean_ctor_get(x_20, 0); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_22); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_25 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_22); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_22); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3; lean_inc(x_22); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_22); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_29 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_30 = lean_array_push(x_29, x_26); x_31 = lean_array_push(x_30, x_28); x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_10); lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_33 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_22); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_22); lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_36 = lean_array_push(x_35, x_34); -x_37 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_37 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -37014,27 +36996,27 @@ lean_inc(x_22); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_22); lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_41 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_22); lean_ctor_set(x_42, 1, x_41); x_43 = lean_array_push(x_35, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_44 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_29, x_40); x_47 = lean_array_push(x_46, x_45); -x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_50 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_51 = lean_array_push(x_50, x_32); x_52 = lean_array_push(x_51, x_15); x_53 = lean_array_push(x_52, x_38); x_54 = lean_array_push(x_53, x_49); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -37055,35 +37037,35 @@ x_62 = lean_ctor_get(x_20, 1); lean_inc(x_62); lean_inc(x_61); lean_dec(x_20); -x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; +x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1; lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_65 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; +x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3; lean_inc(x_61); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_61); lean_ctor_set(x_68, 1, x_67); -x_69 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_69 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_70 = lean_array_push(x_69, x_66); x_71 = lean_array_push(x_70, x_68); x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_10); lean_ctor_set(x_72, 1, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_73 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_61); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_61); lean_ctor_set(x_74, 1, x_73); -x_75 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_75 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_76 = lean_array_push(x_75, x_74); -x_77 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_77 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); @@ -37092,27 +37074,27 @@ lean_inc(x_61); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_61); lean_ctor_set(x_80, 1, x_79); -x_81 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_81 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_82 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_82, 0, x_61); lean_ctor_set(x_82, 1, x_81); x_83 = lean_array_push(x_75, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_84 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); x_86 = lean_array_push(x_69, x_80); x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); -x_90 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_90 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_91 = lean_array_push(x_90, x_72); x_92 = lean_array_push(x_91, x_15); x_93 = lean_array_push(x_92, x_78); x_94 = lean_array_push(x_93, x_89); -x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2; +x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -37132,11 +37114,11 @@ return x_101; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____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_18011_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37215,7 +37197,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18285_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37238,7 +37220,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -37259,15 +37241,15 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_21 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -37277,14 +37259,14 @@ x_28 = l_Lean_Parser_Tactic_refine_x27___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_30 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); -x_32 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_32 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_34 = l_myMacro____x40_Init_Notation___hyg_942____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); @@ -37300,7 +37282,7 @@ x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_12); lean_ctor_set(x_41, 1, x_40); x_42 = lean_array_push(x_21, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_43 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_44 = lean_array_push(x_42, x_43); x_45 = l_Lean_Parser_Tactic_rotateRight___closed__2; x_46 = lean_alloc_ctor(1, 2, 0); @@ -37317,12 +37299,12 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_34); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_32, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_32, x_55); -x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -37330,7 +37312,7 @@ x_59 = l_prec_x28___x29___closed__7; x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_12); lean_ctor_set(x_60, 1, x_59); -x_61 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_61 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_62 = lean_array_push(x_61, x_16); x_63 = lean_array_push(x_62, x_58); x_64 = lean_array_push(x_63, x_60); @@ -37366,7 +37348,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_34); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_32, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -37396,15 +37378,15 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); lean_ctor_set(x_94, 1, x_93); -x_95 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_95 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -37414,14 +37396,14 @@ x_102 = l_Lean_Parser_Tactic_refine_x27___closed__2; 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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_104 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_85); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_85); lean_ctor_set(x_105, 1, x_104); -x_106 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_106 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_107 = lean_array_push(x_106, x_105); -x_108 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_108 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); @@ -37437,7 +37419,7 @@ x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_85); lean_ctor_set(x_115, 1, x_114); x_116 = lean_array_push(x_95, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_117 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_118 = lean_array_push(x_116, x_117); x_119 = l_Lean_Parser_Tactic_rotateRight___closed__2; x_120 = lean_alloc_ctor(1, 2, 0); @@ -37454,12 +37436,12 @@ x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_108); lean_ctor_set(x_126, 1, x_125); x_127 = lean_array_push(x_106, x_126); -x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); x_130 = lean_array_push(x_106, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -37467,7 +37449,7 @@ x_133 = l_prec_x28___x29___closed__7; x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_85); lean_ctor_set(x_134, 1, x_133); -x_135 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_135 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_136 = lean_array_push(x_135, x_90); x_137 = lean_array_push(x_136, x_132); x_138 = lean_array_push(x_137, x_134); @@ -37503,7 +37485,7 @@ x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_108); lean_ctor_set(x_155, 1, x_154); x_156 = lean_array_push(x_106, x_155); -x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -37515,11 +37497,11 @@ return x_159; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18285____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_18189_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18285_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37598,7 +37580,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1() { _start: { lean_object* x_1; @@ -37606,7 +37588,7 @@ x_1 = lean_mk_string("refineLift'"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37629,30 +37611,30 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -37661,28 +37643,28 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); x_27 = lean_array_push(x_19, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_28 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -37697,7 +37679,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -37712,24 +37694,24 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_57 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_51); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_51); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -37738,28 +37720,28 @@ lean_inc(x_51); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_51); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_65 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_51); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_75 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -37774,7 +37756,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -37786,11 +37768,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____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_18392_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37897,7 +37879,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__8; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18629_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37922,7 +37904,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -37933,33 +37915,33 @@ lean_inc(x_14); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_17 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_18 = lean_array_push(x_17, x_9); -x_19 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_19 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_20 = lean_array_push(x_18, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_23 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_14); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_14); lean_ctor_set(x_26, 1, x_25); -x_27 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_28 = lean_array_push(x_27, x_26); -x_29 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_29 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -37967,21 +37949,21 @@ x_35 = lean_array_push(x_27, x_34); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_21); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_37 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_14); lean_ctor_set(x_38, 1, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_39 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -37996,7 +37978,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_21); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_27, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -38016,33 +37998,33 @@ lean_inc(x_58); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_58); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_62 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_63 = lean_array_push(x_62, x_9); -x_64 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_64 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_65 = lean_array_push(x_63, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_66 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_68 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_58); x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_58); lean_ctor_set(x_69, 1, x_68); -x_70 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_70 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; lean_inc(x_58); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_58); lean_ctor_set(x_71, 1, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_72 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_73 = lean_array_push(x_72, x_71); -x_74 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_74 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -38050,21 +38032,21 @@ x_80 = lean_array_push(x_72, x_79); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_66); lean_ctor_set(x_81, 1, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_82 = l_myMacro____x40_Init_Notation___hyg_14659____closed__11; x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_58); lean_ctor_set(x_83, 1, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_84 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -38079,7 +38061,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_66); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_72, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -38091,11 +38073,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18629____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_18531_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18629_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -38174,7 +38156,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18788_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -38197,30 +38179,30 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_15 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_17 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_21 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -38229,28 +38211,28 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_25 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); x_27 = lean_array_push(x_19, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_28 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; 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_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_30 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; 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_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_35 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_40 = l_myMacro____x40_Init_Notation___hyg_14659____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); @@ -38265,7 +38247,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -38280,24 +38262,24 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_14569____closed__1; +x_55 = l_myMacro____x40_Init_Notation___hyg_14659____closed__1; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_57 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_51); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_51); lean_ctor_set(x_58, 1, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_59 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_61 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -38306,28 +38288,28 @@ lean_inc(x_51); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_51); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +x_65 = l_myMacro____x40_Init_Notation___hyg_13447____closed__14; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_51); lean_ctor_set(x_66, 1, x_65); x_67 = lean_array_push(x_59, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_68 = l_myMacro____x40_Init_Notation___hyg_13447____closed__13; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_70 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_75 = l_myMacro____x40_Init_Notation___hyg_942____closed__9; x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_myMacro____x40_Init_Notation___hyg_14569____closed__2; +x_80 = l_myMacro____x40_Init_Notation___hyg_14659____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -38342,7 +38324,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -38354,11 +38336,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18788____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_18689_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18788_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -38421,7 +38403,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38459,7 +38441,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__10() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__9; x_3 = l_Lean_Parser_Tactic_intros___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); @@ -38487,7 +38469,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1018____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1033____closed__4; x_2 = l_Lean_Parser_Tactic_intros___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38528,7 +38510,7 @@ _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_13362____closed__12; +x_2 = l_myMacro____x40_Init_Notation___hyg_13447____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -38548,7 +38530,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_myMacro____x40_Init_Notation___hyg_17315____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -38567,7 +38549,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__19() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__18; x_3 = l_Lean_Parser_Tactic_case___closed__12; x_4 = lean_alloc_ctor(2, 3, 0); @@ -38581,7 +38563,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlt___closed__20() { _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_1198____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_1214____closed__6; x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__16; x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__19; x_4 = lean_alloc_ctor(2, 3, 0); @@ -38667,7 +38649,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlts___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38707,7 +38689,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_inductionAlts___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_2 = l_Lean_Parser_Tactic_inductionAlts___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38806,7 +38788,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_termDepIfThenElse___closed__16; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; x_3 = l_term_x5b___x5d___closed__6; x_4 = 0; x_5 = lean_alloc_ctor(11, 3, 1); @@ -38867,7 +38849,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_induction___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_induction___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38911,7 +38893,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_induction___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_942____closed__6; x_2 = l_termDepIfThenElse___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38937,7 +38919,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_induction___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_induction___closed__15; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38963,7 +38945,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_induction___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_Lean_Parser_Tactic_inductionAlts; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -39104,7 +39086,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_casesTarget; -x_2 = l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +x_2 = l_myMacro____x40_Init_Notation___hyg_1214____closed__7; x_3 = l_term_x5b___x5d___closed__6; x_4 = 0; x_5 = lean_alloc_ctor(11, 3, 1); @@ -39327,7 +39309,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRepeat_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1() { _start: { lean_object* x_1; @@ -39335,7 +39317,7 @@ x_1 = lean_mk_string("repeat"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39358,7 +39340,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_10 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -39377,7 +39359,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_9, x_14); lean_dec(x_9); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -39388,7 +39370,7 @@ lean_inc(x_18); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_21 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_18); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_18); @@ -39398,7 +39380,7 @@ lean_inc(x_18); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_18); lean_ctor_set(x_24, 1, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_25 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_26 = lean_array_push(x_25, x_15); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_10); @@ -39408,7 +39390,7 @@ lean_inc(x_18); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_18); lean_ctor_set(x_29, 1, x_28); -x_30 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_30 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_31 = lean_array_push(x_30, x_24); lean_inc(x_27); x_32 = lean_array_push(x_31, x_27); @@ -39417,24 +39399,24 @@ x_34 = l_Lean_Parser_Tactic_paren___closed__1; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -x_36 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_36 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_18); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_18); lean_ctor_set(x_37, 1, x_36); x_38 = lean_array_push(x_25, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_39 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_41 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_42 = lean_array_push(x_41, x_35); x_43 = lean_array_push(x_42, x_40); x_44 = l_Lean_Parser_Tactic_first___closed__8; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1; lean_inc(x_18); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_18); @@ -39445,7 +39427,7 @@ x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_4); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_41, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_52 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_53 = lean_array_push(x_51, x_52); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_44); @@ -39456,7 +39438,7 @@ x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_39); lean_ctor_set(x_57, 1, x_56); x_58 = lean_array_push(x_25, x_57); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -39527,7 +39509,7 @@ lean_inc(x_89); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_89); lean_ctor_set(x_92, 1, x_91); -x_93 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +x_93 = l_myMacro____x40_Init_Notation___hyg_13447____closed__11; lean_inc(x_89); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_89); @@ -39537,7 +39519,7 @@ lean_inc(x_89); x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_89); lean_ctor_set(x_96, 1, x_95); -x_97 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_97 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_98 = lean_array_push(x_97, x_15); x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_10); @@ -39547,7 +39529,7 @@ lean_inc(x_89); x_101 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_101, 0, x_89); lean_ctor_set(x_101, 1, x_100); -x_102 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_102 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_103 = lean_array_push(x_102, x_96); lean_inc(x_99); x_104 = lean_array_push(x_103, x_99); @@ -39556,24 +39538,24 @@ x_106 = l_Lean_Parser_Tactic_paren___closed__1; x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); -x_108 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_108 = l_myMacro____x40_Init_Notation___hyg_14659____closed__13; lean_inc(x_89); x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_89); lean_ctor_set(x_109, 1, x_108); x_110 = lean_array_push(x_97, x_109); -x_111 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_111 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_113 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_114 = lean_array_push(x_113, x_107); x_115 = lean_array_push(x_114, x_112); x_116 = l_Lean_Parser_Tactic_first___closed__8; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; +x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1; lean_inc(x_89); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_89); @@ -39584,7 +39566,7 @@ x_122 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_122, 0, x_4); lean_ctor_set(x_122, 1, x_121); x_123 = lean_array_push(x_113, x_122); -x_124 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_124 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_125 = lean_array_push(x_123, x_124); x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_116); @@ -39595,7 +39577,7 @@ x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_111); lean_ctor_set(x_129, 1, x_128); x_130 = lean_array_push(x_97, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -39659,11 +39641,11 @@ return x_161; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____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_19006_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -39728,7 +39710,7 @@ x_1 = l_Lean_Parser_Tactic_tacticTrivial___closed__5; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19337_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39746,7 +39728,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -39756,7 +39738,7 @@ x_11 = l_Lean_Parser_Tactic_assumption___closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_assumption___closed__2; x_16 = lean_alloc_ctor(1, 2, 0); @@ -39777,7 +39759,7 @@ x_19 = l_Lean_Parser_Tactic_assumption___closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_assumption___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); @@ -39791,16 +39773,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19337____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_19236_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19337_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19396_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39818,7 +39800,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -39828,7 +39810,7 @@ x_11 = l_Lean_Parser_Tactic_tacticRfl___closed__3; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_tacticRfl___closed__2; x_16 = lean_alloc_ctor(1, 2, 0); @@ -39849,7 +39831,7 @@ x_19 = l_Lean_Parser_Tactic_tacticRfl___closed__3; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_tacticRfl___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); @@ -39863,16 +39845,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19396____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_19294_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19396_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19455_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39890,7 +39872,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -39900,7 +39882,7 @@ x_11 = l_Lean_Parser_Tactic_contradiction___closed__1; x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_contradiction___closed__2; x_16 = lean_alloc_ctor(1, 2, 0); @@ -39921,7 +39903,7 @@ x_19 = l_Lean_Parser_Tactic_contradiction___closed__1; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_21 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_contradiction___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); @@ -39935,16 +39917,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19455____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_19352_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19455_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1() { _start: { lean_object* x_1; @@ -39952,22 +39934,22 @@ x_1 = lean_mk_string("True.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1; 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_19410____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____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_19410____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____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); @@ -39975,7 +39957,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4() { _start: { lean_object* x_1; @@ -39983,51 +39965,51 @@ x_1 = lean_mk_string("True"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5() { _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_19410____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4; 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_19410____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____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_19410____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5; x_2 = l_Lean_Parser_Tactic_intro___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_19410____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____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_myMacro____x40_Init_Notation___hyg_19410____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6; 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_19410____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____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_19410____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__7; 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_19410_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40046,7 +40028,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -40062,16 +40044,16 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_apply___closed__2; @@ -40099,16 +40081,16 @@ lean_inc(x_25); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_25); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6; x_32 = l_Lean_addMacroScope(x_28, x_31, x_27); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8; x_35 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_35, 0, x_25); lean_ctor_set(x_35, 1, x_33); lean_ctor_set(x_35, 2, x_32); lean_ctor_set(x_35, 3, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_36 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_37 = lean_array_push(x_36, x_30); x_38 = lean_array_push(x_37, x_35); x_39 = l_Lean_Parser_Tactic_apply___closed__2; @@ -40123,7 +40105,7 @@ return x_41; } } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1() { _start: { lean_object* x_1; @@ -40131,22 +40113,22 @@ x_1 = lean_mk_string("And.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1; 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_19483____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____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_19483____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____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); @@ -40154,41 +40136,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_9181____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_9247____closed__4; x_2 = l_Lean_Parser_Tactic_intro___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_19483____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5() { _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_19483____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4; 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_19483____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6() { _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_19483____closed__5; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5; 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_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7() { _start: { lean_object* x_1; @@ -40196,7 +40178,7 @@ x_1 = lean_mk_string("<;>"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40215,7 +40197,7 @@ return x_7; else { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -40231,24 +40213,24 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6; lean_inc(x_10); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_20 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_apply___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; +x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7; lean_inc(x_10); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_10); @@ -40257,12 +40239,12 @@ x_27 = l_Lean_Parser_Tactic_tacticTrivial___closed__3; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_10); lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_30 = lean_array_push(x_29, x_28); x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_4); lean_ctor_set(x_31, 1, x_30); -x_32 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_32 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_33 = lean_array_push(x_32, x_24); x_34 = lean_array_push(x_33, x_26); x_35 = lean_array_push(x_34, x_31); @@ -40291,24 +40273,24 @@ lean_inc(x_38); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_38); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4; x_45 = l_Lean_addMacroScope(x_41, x_44, x_40); -x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6; lean_inc(x_38); x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_38); lean_ctor_set(x_48, 1, x_46); lean_ctor_set(x_48, 2, x_45); lean_ctor_set(x_48, 3, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_49 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_50 = lean_array_push(x_49, x_43); x_51 = lean_array_push(x_50, x_48); x_52 = l_Lean_Parser_Tactic_apply___closed__2; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7; lean_inc(x_38); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_38); @@ -40317,12 +40299,12 @@ x_56 = l_Lean_Parser_Tactic_tacticTrivial___closed__3; x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_38); lean_ctor_set(x_57, 1, x_56); -x_58 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_58 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_59 = lean_array_push(x_58, x_57); x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_4); lean_ctor_set(x_60, 1, x_59); -x_61 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_61 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_62 = lean_array_push(x_61, x_53); x_63 = lean_array_push(x_62, x_55); x_64 = lean_array_push(x_63, x_60); @@ -40412,7 +40394,7 @@ x_1 = l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1() { _start: { lean_object* x_1; @@ -40420,17 +40402,17 @@ x_1 = lean_mk_string("set_option"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____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_19589____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____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_19589____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3() { _start: { lean_object* x_1; @@ -40438,22 +40420,22 @@ x_1 = lean_mk_string("tactic.hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3; 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_19589____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____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_myMacro____x40_Init_Notation___hyg_19589____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -40461,7 +40443,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6() { _start: { lean_object* x_1; @@ -40469,17 +40451,17 @@ x_1 = lean_mk_string("hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6; 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_19589____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8() { _start: { lean_object* x_1; @@ -40487,7 +40469,7 @@ x_1 = lean_mk_string("in"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40511,7 +40493,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -40522,48 +40504,48 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7; x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); x_19 = lean_box(0); -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; +x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); -x_22 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_22 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; lean_inc(x_12); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8; x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_12); lean_ctor_set(x_25, 1, x_24); -x_26 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_26 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; x_27 = lean_array_push(x_26, x_16); x_28 = lean_array_push(x_27, x_21); x_29 = lean_array_push(x_28, x_23); x_30 = lean_array_push(x_29, x_25); x_31 = lean_array_push(x_30, x_9); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2; +x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2; 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 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_34 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_35 = lean_array_push(x_34, x_33); -x_36 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_36 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_34, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____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); @@ -40583,48 +40565,48 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_2, 1); lean_inc(x_44); lean_dec(x_2); -x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; +x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1; lean_inc(x_41); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7; x_48 = l_Lean_addMacroScope(x_44, x_47, x_43); x_49 = lean_box(0); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5; lean_inc(x_41); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_41); lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_51, 2, x_48); lean_ctor_set(x_51, 3, x_49); -x_52 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_52 = l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10; lean_inc(x_41); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_41); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8; x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_41); lean_ctor_set(x_55, 1, x_54); -x_56 = l_myMacro____x40_Init_Notation___hyg_14569____closed__12; +x_56 = l_myMacro____x40_Init_Notation___hyg_14659____closed__12; x_57 = lean_array_push(x_56, x_46); x_58 = lean_array_push(x_57, x_51); x_59 = lean_array_push(x_58, x_53); x_60 = lean_array_push(x_59, x_55); x_61 = lean_array_push(x_60, x_9); -x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2; +x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_64 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_65 = lean_array_push(x_64, x_63); -x_66 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_66 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_64, x_67); -x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; +x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); @@ -40694,7 +40676,7 @@ static lean_object* _init_l_Lean_Parser_Attr_simp___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1108____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_1124____closed__4; x_2 = l_prio_x28___x29___closed__3; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -40842,7 +40824,7 @@ x_1 = l_term_u2039___u203a___closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__1() { _start: { lean_object* x_1; @@ -40850,17 +40832,17 @@ x_1 = lean_mk_string("byTactic"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_19735____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_2019____closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_19842____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_19735____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__3() { _start: { lean_object* x_1; @@ -40868,7 +40850,7 @@ x_1 = lean_mk_string("by"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_19735_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_19842_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40891,7 +40873,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -40902,7 +40884,7 @@ lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_19735____closed__3; +x_15 = l_myMacro____x40_Init_Notation___hyg_19842____closed__3; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -40912,49 +40894,49 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_20 = lean_array_push(x_19, x_18); x_21 = l_Lean_Parser_Tactic_assumption___closed__2; 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 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_23 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_24 = lean_array_push(x_23, x_22); -x_25 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_25 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_26 = lean_array_push(x_24, x_25); x_27 = l_Lean_Parser_Tactic_first___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_19, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_30 = l_myMacro____x40_Init_Notation___hyg_942____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_19, x_31); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; 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_19, x_34); -x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_23, x_16); x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_19735____closed__2; +x_40 = l_myMacro____x40_Init_Notation___hyg_19842____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); -x_42 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_42 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_12); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_12); lean_ctor_set(x_43, 1, x_42); x_44 = lean_array_push(x_23, x_43); x_45 = lean_array_push(x_44, x_9); -x_46 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_46 = l_myMacro____x40_Init_Notation___hyg_14222____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); @@ -40971,11 +40953,11 @@ x_53 = l_prec_x28___x29___closed__7; x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_12); lean_ctor_set(x_54, 1, x_53); -x_55 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_55 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_56 = lean_array_push(x_55, x_14); x_57 = lean_array_push(x_56, x_52); x_58 = lean_array_push(x_57, x_54); -x_59 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_59 = l_myMacro____x40_Init_Notation___hyg_12945____closed__8; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -40995,7 +40977,7 @@ lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_19735____closed__3; +x_65 = l_myMacro____x40_Init_Notation___hyg_19842____closed__3; lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); @@ -41005,49 +40987,49 @@ lean_inc(x_61); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_61); lean_ctor_set(x_68, 1, x_67); -x_69 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_69 = l_myMacro____x40_Init_Notation___hyg_72____closed__4; x_70 = lean_array_push(x_69, x_68); x_71 = l_Lean_Parser_Tactic_assumption___closed__2; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); -x_73 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_73 = l_myMacro____x40_Init_Notation___hyg_1335____closed__10; x_74 = lean_array_push(x_73, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_75 = l_myMacro____x40_Init_Notation___hyg_1335____closed__12; x_76 = lean_array_push(x_74, x_75); x_77 = l_Lean_Parser_Tactic_first___closed__8; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); x_79 = lean_array_push(x_69, x_78); -x_80 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +x_80 = l_myMacro____x40_Init_Notation___hyg_942____closed__8; 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_69, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5; 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_69, x_84); -x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; +x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3; 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_73, x_66); x_89 = lean_array_push(x_88, x_87); -x_90 = l_myMacro____x40_Init_Notation___hyg_19735____closed__2; +x_90 = l_myMacro____x40_Init_Notation___hyg_19842____closed__2; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -x_92 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_92 = l_myMacro____x40_Init_Notation___hyg_14222____closed__9; lean_inc(x_61); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_61); lean_ctor_set(x_93, 1, x_92); x_94 = lean_array_push(x_73, x_93); x_95 = lean_array_push(x_94, x_9); -x_96 = l_myMacro____x40_Init_Notation___hyg_14133____closed__8; +x_96 = l_myMacro____x40_Init_Notation___hyg_14222____closed__8; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -41064,11 +41046,11 @@ x_103 = l_prec_x28___x29___closed__7; x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_61); lean_ctor_set(x_104, 1, x_103); -x_105 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_105 = l_unexpand____x40_Init_Notation___hyg_2002____closed__1; x_106 = lean_array_push(x_105, x_64); x_107 = lean_array_push(x_106, x_102); x_108 = lean_array_push(x_107, x_104); -x_109 = l_myMacro____x40_Init_Notation___hyg_12862____closed__8; +x_109 = l_myMacro____x40_Init_Notation___hyg_12945____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); @@ -41080,11 +41062,11 @@ return x_111; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_19735____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_19842____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_19735_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_19842_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -41186,14 +41168,14 @@ l_precMax___closed__5 = _init_l_precMax___closed__5(); lean_mark_persistent(l_precMax___closed__5); l_precMax = _init_l_precMax(); lean_mark_persistent(l_precMax); -l_myMacro____x40_Init_Notation___hyg_71____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_71____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_71____closed__1); -l_myMacro____x40_Init_Notation___hyg_71____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_71____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_71____closed__2); -l_myMacro____x40_Init_Notation___hyg_71____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_71____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_71____closed__3); -l_myMacro____x40_Init_Notation___hyg_71____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_71____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_71____closed__4); +l_myMacro____x40_Init_Notation___hyg_72____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_72____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_72____closed__1); +l_myMacro____x40_Init_Notation___hyg_72____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_72____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_72____closed__2); +l_myMacro____x40_Init_Notation___hyg_72____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_72____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_72____closed__3); +l_myMacro____x40_Init_Notation___hyg_72____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_72____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_72____closed__4); l_precArg___closed__1 = _init_l_precArg___closed__1(); lean_mark_persistent(l_precArg___closed__1); l_precArg___closed__2 = _init_l_precArg___closed__2(); @@ -41206,8 +41188,8 @@ l_precArg___closed__5 = _init_l_precArg___closed__5(); lean_mark_persistent(l_precArg___closed__5); l_precArg = _init_l_precArg(); lean_mark_persistent(l_precArg); -l_myMacro____x40_Init_Notation___hyg_140____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_140____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_140____closed__1); +l_myMacro____x40_Init_Notation___hyg_142____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_142____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_142____closed__1); l_precLead___closed__1 = _init_l_precLead___closed__1(); lean_mark_persistent(l_precLead___closed__1); l_precLead___closed__2 = _init_l_precLead___closed__2(); @@ -41220,8 +41202,8 @@ l_precLead___closed__5 = _init_l_precLead___closed__5(); lean_mark_persistent(l_precLead___closed__5); l_precLead = _init_l_precLead(); lean_mark_persistent(l_precLead); -l_myMacro____x40_Init_Notation___hyg_209____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_209____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_209____closed__1); +l_myMacro____x40_Init_Notation___hyg_212____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_212____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_212____closed__1); l_prec_x28___x29___closed__1 = _init_l_prec_x28___x29___closed__1(); lean_mark_persistent(l_prec_x28___x29___closed__1); l_prec_x28___x29___closed__2 = _init_l_prec_x28___x29___closed__2(); @@ -41256,8 +41238,8 @@ l_precMin___closed__5 = _init_l_precMin___closed__5(); lean_mark_persistent(l_precMin___closed__5); l_precMin = _init_l_precMin(); lean_mark_persistent(l_precMin); -l_myMacro____x40_Init_Notation___hyg_347____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_347____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_347____closed__1); +l_myMacro____x40_Init_Notation___hyg_352____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_352____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_352____closed__1); l_precMin1___closed__1 = _init_l_precMin1___closed__1(); lean_mark_persistent(l_precMin1___closed__1); l_precMin1___closed__2 = _init_l_precMin1___closed__2(); @@ -41270,8 +41252,8 @@ l_precMin1___closed__5 = _init_l_precMin1___closed__5(); lean_mark_persistent(l_precMin1___closed__5); l_precMin1 = _init_l_precMin1(); lean_mark_persistent(l_precMin1); -l_myMacro____x40_Init_Notation___hyg_416____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_416____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_416____closed__1); +l_myMacro____x40_Init_Notation___hyg_422____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_422____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_422____closed__1); l_termMax__prec___closed__1 = _init_l_termMax__prec___closed__1(); lean_mark_persistent(l_termMax__prec___closed__1); l_termMax__prec___closed__2 = _init_l_termMax__prec___closed__2(); @@ -41296,8 +41278,8 @@ l_prioDefault___closed__5 = _init_l_prioDefault___closed__5(); lean_mark_persistent(l_prioDefault___closed__5); l_prioDefault = _init_l_prioDefault(); lean_mark_persistent(l_prioDefault); -l_myMacro____x40_Init_Notation___hyg_553____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_553____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_553____closed__1); +l_myMacro____x40_Init_Notation___hyg_561____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_561____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_561____closed__1); l_prioLow___closed__1 = _init_l_prioLow___closed__1(); lean_mark_persistent(l_prioLow___closed__1); l_prioLow___closed__2 = _init_l_prioLow___closed__2(); @@ -41310,8 +41292,8 @@ l_prioLow___closed__5 = _init_l_prioLow___closed__5(); lean_mark_persistent(l_prioLow___closed__5); l_prioLow = _init_l_prioLow(); lean_mark_persistent(l_prioLow); -l_myMacro____x40_Init_Notation___hyg_622____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_622____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_622____closed__1); +l_myMacro____x40_Init_Notation___hyg_631____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_631____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_631____closed__1); l_prioMid___closed__1 = _init_l_prioMid___closed__1(); lean_mark_persistent(l_prioMid___closed__1); l_prioMid___closed__2 = _init_l_prioMid___closed__2(); @@ -41336,8 +41318,8 @@ l_prioHigh___closed__5 = _init_l_prioHigh___closed__5(); lean_mark_persistent(l_prioHigh___closed__5); l_prioHigh = _init_l_prioHigh(); lean_mark_persistent(l_prioHigh); -l_myMacro____x40_Init_Notation___hyg_760____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_760____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_760____closed__1); +l_myMacro____x40_Init_Notation___hyg_771____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_771____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_771____closed__1); l_prio_x28___x29___closed__1 = _init_l_prio_x28___x29___closed__1(); lean_mark_persistent(l_prio_x28___x29___closed__1); l_prio_x28___x29___closed__2 = _init_l_prio_x28___x29___closed__2(); @@ -41408,56 +41390,56 @@ l_stx___x3c_x7c_x3e_____closed__9 = _init_l_stx___x3c_x7c_x3e_____closed__9(); lean_mark_persistent(l_stx___x3c_x7c_x3e_____closed__9); l_stx___x3c_x7c_x3e__ = _init_l_stx___x3c_x7c_x3e__(); lean_mark_persistent(l_stx___x3c_x7c_x3e__); -l_myMacro____x40_Init_Notation___hyg_928____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__1); -l_myMacro____x40_Init_Notation___hyg_928____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__2); -l_myMacro____x40_Init_Notation___hyg_928____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__3); -l_myMacro____x40_Init_Notation___hyg_928____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__4); -l_myMacro____x40_Init_Notation___hyg_928____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__5); -l_myMacro____x40_Init_Notation___hyg_928____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__6); -l_myMacro____x40_Init_Notation___hyg_928____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__7); -l_myMacro____x40_Init_Notation___hyg_928____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__8); -l_myMacro____x40_Init_Notation___hyg_928____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_928____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_928____closed__9); -l_myMacro____x40_Init_Notation___hyg_1018____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1018____closed__1); -l_myMacro____x40_Init_Notation___hyg_1018____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1018____closed__2); -l_myMacro____x40_Init_Notation___hyg_1018____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1018____closed__3); -l_myMacro____x40_Init_Notation___hyg_1018____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1018____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1018____closed__4); -l_myMacro____x40_Init_Notation___hyg_1108____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1108____closed__1); -l_myMacro____x40_Init_Notation___hyg_1108____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1108____closed__2); -l_myMacro____x40_Init_Notation___hyg_1108____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1108____closed__3); -l_myMacro____x40_Init_Notation___hyg_1108____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1108____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1108____closed__4); -l_myMacro____x40_Init_Notation___hyg_1198____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__1); -l_myMacro____x40_Init_Notation___hyg_1198____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__2); -l_myMacro____x40_Init_Notation___hyg_1198____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__3); -l_myMacro____x40_Init_Notation___hyg_1198____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__4); -l_myMacro____x40_Init_Notation___hyg_1198____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__5); -l_myMacro____x40_Init_Notation___hyg_1198____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__6); -l_myMacro____x40_Init_Notation___hyg_1198____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__7); -l_myMacro____x40_Init_Notation___hyg_1198____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_1198____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1198____closed__8); +l_myMacro____x40_Init_Notation___hyg_942____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__1); +l_myMacro____x40_Init_Notation___hyg_942____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__2); +l_myMacro____x40_Init_Notation___hyg_942____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__3); +l_myMacro____x40_Init_Notation___hyg_942____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__4); +l_myMacro____x40_Init_Notation___hyg_942____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__5); +l_myMacro____x40_Init_Notation___hyg_942____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__6); +l_myMacro____x40_Init_Notation___hyg_942____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__7); +l_myMacro____x40_Init_Notation___hyg_942____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__8); +l_myMacro____x40_Init_Notation___hyg_942____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_942____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_942____closed__9); +l_myMacro____x40_Init_Notation___hyg_1033____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1033____closed__1); +l_myMacro____x40_Init_Notation___hyg_1033____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1033____closed__2); +l_myMacro____x40_Init_Notation___hyg_1033____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1033____closed__3); +l_myMacro____x40_Init_Notation___hyg_1033____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1033____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1033____closed__4); +l_myMacro____x40_Init_Notation___hyg_1124____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1124____closed__1); +l_myMacro____x40_Init_Notation___hyg_1124____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1124____closed__2); +l_myMacro____x40_Init_Notation___hyg_1124____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1124____closed__3); +l_myMacro____x40_Init_Notation___hyg_1124____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1124____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1124____closed__4); +l_myMacro____x40_Init_Notation___hyg_1214____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__1); +l_myMacro____x40_Init_Notation___hyg_1214____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__2); +l_myMacro____x40_Init_Notation___hyg_1214____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__3); +l_myMacro____x40_Init_Notation___hyg_1214____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__4); +l_myMacro____x40_Init_Notation___hyg_1214____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__5); +l_myMacro____x40_Init_Notation___hyg_1214____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__6); +l_myMacro____x40_Init_Notation___hyg_1214____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__7); +l_myMacro____x40_Init_Notation___hyg_1214____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_1214____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1214____closed__8); l_stx___x2c_x2a___closed__1 = _init_l_stx___x2c_x2a___closed__1(); lean_mark_persistent(l_stx___x2c_x2a___closed__1); l_stx___x2c_x2a___closed__2 = _init_l_stx___x2c_x2a___closed__2(); @@ -41470,32 +41452,32 @@ l_stx___x2c_x2a___closed__5 = _init_l_stx___x2c_x2a___closed__5(); lean_mark_persistent(l_stx___x2c_x2a___closed__5); l_stx___x2c_x2a = _init_l_stx___x2c_x2a(); lean_mark_persistent(l_stx___x2c_x2a); -l_myMacro____x40_Init_Notation___hyg_1318____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__1); -l_myMacro____x40_Init_Notation___hyg_1318____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__2); -l_myMacro____x40_Init_Notation___hyg_1318____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__3); -l_myMacro____x40_Init_Notation___hyg_1318____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__4); -l_myMacro____x40_Init_Notation___hyg_1318____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__5); -l_myMacro____x40_Init_Notation___hyg_1318____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__6); -l_myMacro____x40_Init_Notation___hyg_1318____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__7); -l_myMacro____x40_Init_Notation___hyg_1318____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__8); -l_myMacro____x40_Init_Notation___hyg_1318____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__9); -l_myMacro____x40_Init_Notation___hyg_1318____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__10); -l_myMacro____x40_Init_Notation___hyg_1318____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__11); -l_myMacro____x40_Init_Notation___hyg_1318____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__12); -l_myMacro____x40_Init_Notation___hyg_1318____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_1318____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1318____closed__13); +l_myMacro____x40_Init_Notation___hyg_1335____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__1); +l_myMacro____x40_Init_Notation___hyg_1335____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__2); +l_myMacro____x40_Init_Notation___hyg_1335____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__3); +l_myMacro____x40_Init_Notation___hyg_1335____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__4); +l_myMacro____x40_Init_Notation___hyg_1335____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__5); +l_myMacro____x40_Init_Notation___hyg_1335____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__6); +l_myMacro____x40_Init_Notation___hyg_1335____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__7); +l_myMacro____x40_Init_Notation___hyg_1335____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__8); +l_myMacro____x40_Init_Notation___hyg_1335____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__9); +l_myMacro____x40_Init_Notation___hyg_1335____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__10); +l_myMacro____x40_Init_Notation___hyg_1335____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__11); +l_myMacro____x40_Init_Notation___hyg_1335____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__12); +l_myMacro____x40_Init_Notation___hyg_1335____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_1335____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1335____closed__13); l_stx___x2c_x2b___closed__1 = _init_l_stx___x2c_x2b___closed__1(); lean_mark_persistent(l_stx___x2c_x2b___closed__1); l_stx___x2c_x2b___closed__2 = _init_l_stx___x2c_x2b___closed__2(); @@ -41508,12 +41490,12 @@ l_stx___x2c_x2b___closed__5 = _init_l_stx___x2c_x2b___closed__5(); lean_mark_persistent(l_stx___x2c_x2b___closed__5); l_stx___x2c_x2b = _init_l_stx___x2c_x2b(); lean_mark_persistent(l_stx___x2c_x2b); -l_myMacro____x40_Init_Notation___hyg_1453____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1453____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1453____closed__1); -l_myMacro____x40_Init_Notation___hyg_1453____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1453____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1453____closed__2); -l_myMacro____x40_Init_Notation___hyg_1453____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1453____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1453____closed__3); +l_myMacro____x40_Init_Notation___hyg_1471____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1471____closed__1); +l_myMacro____x40_Init_Notation___hyg_1471____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1471____closed__2); +l_myMacro____x40_Init_Notation___hyg_1471____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1471____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1471____closed__3); l_stx___x2c_x2a_x2c_x3f___closed__1 = _init_l_stx___x2c_x2a_x2c_x3f___closed__1(); lean_mark_persistent(l_stx___x2c_x2a_x2c_x3f___closed__1); l_stx___x2c_x2a_x2c_x3f___closed__2 = _init_l_stx___x2c_x2a_x2c_x3f___closed__2(); @@ -41526,8 +41508,8 @@ l_stx___x2c_x2a_x2c_x3f___closed__5 = _init_l_stx___x2c_x2a_x2c_x3f___closed__5( lean_mark_persistent(l_stx___x2c_x2a_x2c_x3f___closed__5); l_stx___x2c_x2a_x2c_x3f = _init_l_stx___x2c_x2a_x2c_x3f(); lean_mark_persistent(l_stx___x2c_x2a_x2c_x3f); -l_myMacro____x40_Init_Notation___hyg_1588____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1588____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1588____closed__1); +l_myMacro____x40_Init_Notation___hyg_1607____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1607____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1607____closed__1); l_stx___x2c_x2b_x2c_x3f___closed__1 = _init_l_stx___x2c_x2b_x2c_x3f___closed__1(); lean_mark_persistent(l_stx___x2c_x2b_x2c_x3f___closed__1); l_stx___x2c_x2b_x2c_x3f___closed__2 = _init_l_stx___x2c_x2b_x2c_x3f___closed__2(); @@ -41556,14 +41538,14 @@ l_stx_x21_____closed__7 = _init_l_stx_x21_____closed__7(); lean_mark_persistent(l_stx_x21_____closed__7); l_stx_x21__ = _init_l_stx_x21__(); lean_mark_persistent(l_stx_x21__); -l_myMacro____x40_Init_Notation___hyg_1879____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1879____closed__1); -l_myMacro____x40_Init_Notation___hyg_1879____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1879____closed__2); -l_myMacro____x40_Init_Notation___hyg_1879____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1879____closed__3); -l_myMacro____x40_Init_Notation___hyg_1879____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1879____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1879____closed__4); +l_myMacro____x40_Init_Notation___hyg_1900____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1900____closed__1); +l_myMacro____x40_Init_Notation___hyg_1900____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1900____closed__2); +l_myMacro____x40_Init_Notation___hyg_1900____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1900____closed__3); +l_myMacro____x40_Init_Notation___hyg_1900____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1900____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1900____closed__4); l_rawNatLit___closed__1 = _init_l_rawNatLit___closed__1(); lean_mark_persistent(l_rawNatLit___closed__1); l_rawNatLit___closed__2 = _init_l_rawNatLit___closed__2(); @@ -41604,36 +41586,36 @@ l_term___u2218_____closed__9 = _init_l_term___u2218_____closed__9(); lean_mark_persistent(l_term___u2218_____closed__9); l_term___u2218__ = _init_l_term___u2218__(); lean_mark_persistent(l_term___u2218__); -l_myMacro____x40_Init_Notation___hyg_1997____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__1); -l_myMacro____x40_Init_Notation___hyg_1997____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__2); -l_myMacro____x40_Init_Notation___hyg_1997____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__3); -l_myMacro____x40_Init_Notation___hyg_1997____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__4); -l_myMacro____x40_Init_Notation___hyg_1997____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__5); -l_myMacro____x40_Init_Notation___hyg_1997____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__6); -l_myMacro____x40_Init_Notation___hyg_1997____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__7); -l_myMacro____x40_Init_Notation___hyg_1997____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__8); -l_myMacro____x40_Init_Notation___hyg_1997____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__9); -l_myMacro____x40_Init_Notation___hyg_1997____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__10); -l_myMacro____x40_Init_Notation___hyg_1997____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__11); -l_myMacro____x40_Init_Notation___hyg_1997____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__12); -l_myMacro____x40_Init_Notation___hyg_1997____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_1997____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_1997____closed__13); -l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1 = _init_l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1(); -lean_mark_persistent(l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1___closed__1); -l_unexpand____x40_Init_Notation___hyg_1981____closed__1 = _init_l_unexpand____x40_Init_Notation___hyg_1981____closed__1(); -lean_mark_persistent(l_unexpand____x40_Init_Notation___hyg_1981____closed__1); +l_myMacro____x40_Init_Notation___hyg_2019____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__1); +l_myMacro____x40_Init_Notation___hyg_2019____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__2); +l_myMacro____x40_Init_Notation___hyg_2019____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__3); +l_myMacro____x40_Init_Notation___hyg_2019____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__4); +l_myMacro____x40_Init_Notation___hyg_2019____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__5); +l_myMacro____x40_Init_Notation___hyg_2019____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__6); +l_myMacro____x40_Init_Notation___hyg_2019____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__7); +l_myMacro____x40_Init_Notation___hyg_2019____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__8); +l_myMacro____x40_Init_Notation___hyg_2019____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__9); +l_myMacro____x40_Init_Notation___hyg_2019____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__10); +l_myMacro____x40_Init_Notation___hyg_2019____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__11); +l_myMacro____x40_Init_Notation___hyg_2019____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__12); +l_myMacro____x40_Init_Notation___hyg_2019____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_2019____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2019____closed__13); +l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1 = _init_l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1(); +lean_mark_persistent(l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1___closed__1); +l_unexpand____x40_Init_Notation___hyg_2002____closed__1 = _init_l_unexpand____x40_Init_Notation___hyg_2002____closed__1(); +lean_mark_persistent(l_unexpand____x40_Init_Notation___hyg_2002____closed__1); l_term___xd7_____closed__1 = _init_l_term___xd7_____closed__1(); lean_mark_persistent(l_term___xd7_____closed__1); l_term___xd7_____closed__2 = _init_l_term___xd7_____closed__2(); @@ -41650,18 +41632,18 @@ l_term___xd7_____closed__7 = _init_l_term___xd7_____closed__7(); lean_mark_persistent(l_term___xd7_____closed__7); l_term___xd7__ = _init_l_term___xd7__(); lean_mark_persistent(l_term___xd7__); -l_myMacro____x40_Init_Notation___hyg_2214____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__1); -l_myMacro____x40_Init_Notation___hyg_2214____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__2); -l_myMacro____x40_Init_Notation___hyg_2214____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__3); -l_myMacro____x40_Init_Notation___hyg_2214____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__4); -l_myMacro____x40_Init_Notation___hyg_2214____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__5); -l_myMacro____x40_Init_Notation___hyg_2214____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2214____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2214____closed__6); +l_myMacro____x40_Init_Notation___hyg_2237____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__1); +l_myMacro____x40_Init_Notation___hyg_2237____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__2); +l_myMacro____x40_Init_Notation___hyg_2237____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__3); +l_myMacro____x40_Init_Notation___hyg_2237____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__4); +l_myMacro____x40_Init_Notation___hyg_2237____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__5); +l_myMacro____x40_Init_Notation___hyg_2237____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2237____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2237____closed__6); l_term___x7c_x7c_x7c_____closed__1 = _init_l_term___x7c_x7c_x7c_____closed__1(); lean_mark_persistent(l_term___x7c_x7c_x7c_____closed__1); l_term___x7c_x7c_x7c_____closed__2 = _init_l_term___x7c_x7c_x7c_____closed__2(); @@ -41678,24 +41660,24 @@ l_term___x7c_x7c_x7c_____closed__7 = _init_l_term___x7c_x7c_x7c_____closed__7(); lean_mark_persistent(l_term___x7c_x7c_x7c_____closed__7); l_term___x7c_x7c_x7c__ = _init_l_term___x7c_x7c_x7c__(); lean_mark_persistent(l_term___x7c_x7c_x7c__); -l_myMacro____x40_Init_Notation___hyg_2431____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__1); -l_myMacro____x40_Init_Notation___hyg_2431____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__2); -l_myMacro____x40_Init_Notation___hyg_2431____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__3); -l_myMacro____x40_Init_Notation___hyg_2431____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__4); -l_myMacro____x40_Init_Notation___hyg_2431____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__5); -l_myMacro____x40_Init_Notation___hyg_2431____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__6); -l_myMacro____x40_Init_Notation___hyg_2431____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__7); -l_myMacro____x40_Init_Notation___hyg_2431____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__8); -l_myMacro____x40_Init_Notation___hyg_2431____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2431____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2431____closed__9); +l_myMacro____x40_Init_Notation___hyg_2455____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__1); +l_myMacro____x40_Init_Notation___hyg_2455____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__2); +l_myMacro____x40_Init_Notation___hyg_2455____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__3); +l_myMacro____x40_Init_Notation___hyg_2455____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__4); +l_myMacro____x40_Init_Notation___hyg_2455____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__5); +l_myMacro____x40_Init_Notation___hyg_2455____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__6); +l_myMacro____x40_Init_Notation___hyg_2455____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__7); +l_myMacro____x40_Init_Notation___hyg_2455____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__8); +l_myMacro____x40_Init_Notation___hyg_2455____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2455____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2455____closed__9); l_term___x5e_x5e_x5e_____closed__1 = _init_l_term___x5e_x5e_x5e_____closed__1(); lean_mark_persistent(l_term___x5e_x5e_x5e_____closed__1); l_term___x5e_x5e_x5e_____closed__2 = _init_l_term___x5e_x5e_x5e_____closed__2(); @@ -41712,24 +41694,24 @@ l_term___x5e_x5e_x5e_____closed__7 = _init_l_term___x5e_x5e_x5e_____closed__7(); lean_mark_persistent(l_term___x5e_x5e_x5e_____closed__7); l_term___x5e_x5e_x5e__ = _init_l_term___x5e_x5e_x5e__(); lean_mark_persistent(l_term___x5e_x5e_x5e__); -l_myMacro____x40_Init_Notation___hyg_2648____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__1); -l_myMacro____x40_Init_Notation___hyg_2648____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__2); -l_myMacro____x40_Init_Notation___hyg_2648____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__3); -l_myMacro____x40_Init_Notation___hyg_2648____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__4); -l_myMacro____x40_Init_Notation___hyg_2648____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__5); -l_myMacro____x40_Init_Notation___hyg_2648____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__6); -l_myMacro____x40_Init_Notation___hyg_2648____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__7); -l_myMacro____x40_Init_Notation___hyg_2648____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__8); -l_myMacro____x40_Init_Notation___hyg_2648____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2648____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2648____closed__9); +l_myMacro____x40_Init_Notation___hyg_2673____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__1); +l_myMacro____x40_Init_Notation___hyg_2673____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__2); +l_myMacro____x40_Init_Notation___hyg_2673____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__3); +l_myMacro____x40_Init_Notation___hyg_2673____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__4); +l_myMacro____x40_Init_Notation___hyg_2673____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__5); +l_myMacro____x40_Init_Notation___hyg_2673____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__6); +l_myMacro____x40_Init_Notation___hyg_2673____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__7); +l_myMacro____x40_Init_Notation___hyg_2673____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__8); +l_myMacro____x40_Init_Notation___hyg_2673____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2673____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2673____closed__9); l_term___x26_x26_x26_____closed__1 = _init_l_term___x26_x26_x26_____closed__1(); lean_mark_persistent(l_term___x26_x26_x26_____closed__1); l_term___x26_x26_x26_____closed__2 = _init_l_term___x26_x26_x26_____closed__2(); @@ -41746,24 +41728,24 @@ l_term___x26_x26_x26_____closed__7 = _init_l_term___x26_x26_x26_____closed__7(); lean_mark_persistent(l_term___x26_x26_x26_____closed__7); l_term___x26_x26_x26__ = _init_l_term___x26_x26_x26__(); lean_mark_persistent(l_term___x26_x26_x26__); -l_myMacro____x40_Init_Notation___hyg_2865____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__1); -l_myMacro____x40_Init_Notation___hyg_2865____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__2); -l_myMacro____x40_Init_Notation___hyg_2865____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__3); -l_myMacro____x40_Init_Notation___hyg_2865____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__4); -l_myMacro____x40_Init_Notation___hyg_2865____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__5); -l_myMacro____x40_Init_Notation___hyg_2865____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__6); -l_myMacro____x40_Init_Notation___hyg_2865____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__7); -l_myMacro____x40_Init_Notation___hyg_2865____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__8); -l_myMacro____x40_Init_Notation___hyg_2865____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2865____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2865____closed__9); +l_myMacro____x40_Init_Notation___hyg_2891____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__1); +l_myMacro____x40_Init_Notation___hyg_2891____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__2); +l_myMacro____x40_Init_Notation___hyg_2891____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__3); +l_myMacro____x40_Init_Notation___hyg_2891____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__4); +l_myMacro____x40_Init_Notation___hyg_2891____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__5); +l_myMacro____x40_Init_Notation___hyg_2891____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__6); +l_myMacro____x40_Init_Notation___hyg_2891____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__7); +l_myMacro____x40_Init_Notation___hyg_2891____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__8); +l_myMacro____x40_Init_Notation___hyg_2891____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_2891____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_2891____closed__9); l_term___x2b_____closed__1 = _init_l_term___x2b_____closed__1(); lean_mark_persistent(l_term___x2b_____closed__1); l_term___x2b_____closed__2 = _init_l_term___x2b_____closed__2(); @@ -41776,24 +41758,24 @@ l_term___x2b_____closed__5 = _init_l_term___x2b_____closed__5(); lean_mark_persistent(l_term___x2b_____closed__5); l_term___x2b__ = _init_l_term___x2b__(); lean_mark_persistent(l_term___x2b__); -l_myMacro____x40_Init_Notation___hyg_3082____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__1); -l_myMacro____x40_Init_Notation___hyg_3082____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__2); -l_myMacro____x40_Init_Notation___hyg_3082____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__3); -l_myMacro____x40_Init_Notation___hyg_3082____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__4); -l_myMacro____x40_Init_Notation___hyg_3082____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__5); -l_myMacro____x40_Init_Notation___hyg_3082____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__6); -l_myMacro____x40_Init_Notation___hyg_3082____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__7); -l_myMacro____x40_Init_Notation___hyg_3082____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__8); -l_myMacro____x40_Init_Notation___hyg_3082____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3082____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3082____closed__9); +l_myMacro____x40_Init_Notation___hyg_3109____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__1); +l_myMacro____x40_Init_Notation___hyg_3109____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__2); +l_myMacro____x40_Init_Notation___hyg_3109____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__3); +l_myMacro____x40_Init_Notation___hyg_3109____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__4); +l_myMacro____x40_Init_Notation___hyg_3109____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__5); +l_myMacro____x40_Init_Notation___hyg_3109____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__6); +l_myMacro____x40_Init_Notation___hyg_3109____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__7); +l_myMacro____x40_Init_Notation___hyg_3109____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__8); +l_myMacro____x40_Init_Notation___hyg_3109____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3109____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3109____closed__9); l_term___x2d_____closed__1 = _init_l_term___x2d_____closed__1(); lean_mark_persistent(l_term___x2d_____closed__1); l_term___x2d_____closed__2 = _init_l_term___x2d_____closed__2(); @@ -41804,24 +41786,24 @@ l_term___x2d_____closed__4 = _init_l_term___x2d_____closed__4(); lean_mark_persistent(l_term___x2d_____closed__4); l_term___x2d__ = _init_l_term___x2d__(); lean_mark_persistent(l_term___x2d__); -l_myMacro____x40_Init_Notation___hyg_3299____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__1); -l_myMacro____x40_Init_Notation___hyg_3299____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__2); -l_myMacro____x40_Init_Notation___hyg_3299____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__3); -l_myMacro____x40_Init_Notation___hyg_3299____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__4); -l_myMacro____x40_Init_Notation___hyg_3299____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__5); -l_myMacro____x40_Init_Notation___hyg_3299____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__6); -l_myMacro____x40_Init_Notation___hyg_3299____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__7); -l_myMacro____x40_Init_Notation___hyg_3299____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__8); -l_myMacro____x40_Init_Notation___hyg_3299____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3299____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3299____closed__9); +l_myMacro____x40_Init_Notation___hyg_3327____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__1); +l_myMacro____x40_Init_Notation___hyg_3327____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__2); +l_myMacro____x40_Init_Notation___hyg_3327____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__3); +l_myMacro____x40_Init_Notation___hyg_3327____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__4); +l_myMacro____x40_Init_Notation___hyg_3327____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__5); +l_myMacro____x40_Init_Notation___hyg_3327____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__6); +l_myMacro____x40_Init_Notation___hyg_3327____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__7); +l_myMacro____x40_Init_Notation___hyg_3327____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__8); +l_myMacro____x40_Init_Notation___hyg_3327____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3327____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3327____closed__9); l_term___x2a_____closed__1 = _init_l_term___x2a_____closed__1(); lean_mark_persistent(l_term___x2a_____closed__1); l_term___x2a_____closed__2 = _init_l_term___x2a_____closed__2(); @@ -41838,24 +41820,24 @@ l_term___x2a_____closed__7 = _init_l_term___x2a_____closed__7(); lean_mark_persistent(l_term___x2a_____closed__7); l_term___x2a__ = _init_l_term___x2a__(); lean_mark_persistent(l_term___x2a__); -l_myMacro____x40_Init_Notation___hyg_3516____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__1); -l_myMacro____x40_Init_Notation___hyg_3516____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__2); -l_myMacro____x40_Init_Notation___hyg_3516____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__3); -l_myMacro____x40_Init_Notation___hyg_3516____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__4); -l_myMacro____x40_Init_Notation___hyg_3516____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__5); -l_myMacro____x40_Init_Notation___hyg_3516____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__6); -l_myMacro____x40_Init_Notation___hyg_3516____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__7); -l_myMacro____x40_Init_Notation___hyg_3516____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__8); -l_myMacro____x40_Init_Notation___hyg_3516____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3516____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3516____closed__9); +l_myMacro____x40_Init_Notation___hyg_3545____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__1); +l_myMacro____x40_Init_Notation___hyg_3545____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__2); +l_myMacro____x40_Init_Notation___hyg_3545____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__3); +l_myMacro____x40_Init_Notation___hyg_3545____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__4); +l_myMacro____x40_Init_Notation___hyg_3545____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__5); +l_myMacro____x40_Init_Notation___hyg_3545____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__6); +l_myMacro____x40_Init_Notation___hyg_3545____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__7); +l_myMacro____x40_Init_Notation___hyg_3545____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__8); +l_myMacro____x40_Init_Notation___hyg_3545____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3545____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3545____closed__9); l_term___x2f_____closed__1 = _init_l_term___x2f_____closed__1(); lean_mark_persistent(l_term___x2f_____closed__1); l_term___x2f_____closed__2 = _init_l_term___x2f_____closed__2(); @@ -41870,24 +41852,24 @@ l_term___x2f_____closed__6 = _init_l_term___x2f_____closed__6(); lean_mark_persistent(l_term___x2f_____closed__6); l_term___x2f__ = _init_l_term___x2f__(); lean_mark_persistent(l_term___x2f__); -l_myMacro____x40_Init_Notation___hyg_3733____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__1); -l_myMacro____x40_Init_Notation___hyg_3733____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__2); -l_myMacro____x40_Init_Notation___hyg_3733____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__3); -l_myMacro____x40_Init_Notation___hyg_3733____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__4); -l_myMacro____x40_Init_Notation___hyg_3733____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__5); -l_myMacro____x40_Init_Notation___hyg_3733____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__6); -l_myMacro____x40_Init_Notation___hyg_3733____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__7); -l_myMacro____x40_Init_Notation___hyg_3733____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__8); -l_myMacro____x40_Init_Notation___hyg_3733____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3733____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3733____closed__9); +l_myMacro____x40_Init_Notation___hyg_3763____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__1); +l_myMacro____x40_Init_Notation___hyg_3763____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__2); +l_myMacro____x40_Init_Notation___hyg_3763____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__3); +l_myMacro____x40_Init_Notation___hyg_3763____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__4); +l_myMacro____x40_Init_Notation___hyg_3763____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__5); +l_myMacro____x40_Init_Notation___hyg_3763____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__6); +l_myMacro____x40_Init_Notation___hyg_3763____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__7); +l_myMacro____x40_Init_Notation___hyg_3763____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__8); +l_myMacro____x40_Init_Notation___hyg_3763____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3763____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3763____closed__9); l_term___x25_____closed__1 = _init_l_term___x25_____closed__1(); lean_mark_persistent(l_term___x25_____closed__1); l_term___x25_____closed__2 = _init_l_term___x25_____closed__2(); @@ -41902,24 +41884,24 @@ l_term___x25_____closed__6 = _init_l_term___x25_____closed__6(); lean_mark_persistent(l_term___x25_____closed__6); l_term___x25__ = _init_l_term___x25__(); lean_mark_persistent(l_term___x25__); -l_myMacro____x40_Init_Notation___hyg_3950____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__1); -l_myMacro____x40_Init_Notation___hyg_3950____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__2); -l_myMacro____x40_Init_Notation___hyg_3950____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__3); -l_myMacro____x40_Init_Notation___hyg_3950____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__4); -l_myMacro____x40_Init_Notation___hyg_3950____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__5); -l_myMacro____x40_Init_Notation___hyg_3950____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__6); -l_myMacro____x40_Init_Notation___hyg_3950____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__7); -l_myMacro____x40_Init_Notation___hyg_3950____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__8); -l_myMacro____x40_Init_Notation___hyg_3950____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3950____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3950____closed__9); +l_myMacro____x40_Init_Notation___hyg_3981____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__1); +l_myMacro____x40_Init_Notation___hyg_3981____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__2); +l_myMacro____x40_Init_Notation___hyg_3981____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__3); +l_myMacro____x40_Init_Notation___hyg_3981____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__4); +l_myMacro____x40_Init_Notation___hyg_3981____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__5); +l_myMacro____x40_Init_Notation___hyg_3981____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__6); +l_myMacro____x40_Init_Notation___hyg_3981____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__7); +l_myMacro____x40_Init_Notation___hyg_3981____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__8); +l_myMacro____x40_Init_Notation___hyg_3981____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_3981____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_3981____closed__9); l_term___x3c_x3c_x3c_____closed__1 = _init_l_term___x3c_x3c_x3c_____closed__1(); lean_mark_persistent(l_term___x3c_x3c_x3c_____closed__1); l_term___x3c_x3c_x3c_____closed__2 = _init_l_term___x3c_x3c_x3c_____closed__2(); @@ -41936,24 +41918,24 @@ l_term___x3c_x3c_x3c_____closed__7 = _init_l_term___x3c_x3c_x3c_____closed__7(); lean_mark_persistent(l_term___x3c_x3c_x3c_____closed__7); l_term___x3c_x3c_x3c__ = _init_l_term___x3c_x3c_x3c__(); lean_mark_persistent(l_term___x3c_x3c_x3c__); -l_myMacro____x40_Init_Notation___hyg_4167____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__1); -l_myMacro____x40_Init_Notation___hyg_4167____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__2); -l_myMacro____x40_Init_Notation___hyg_4167____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__3); -l_myMacro____x40_Init_Notation___hyg_4167____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__4); -l_myMacro____x40_Init_Notation___hyg_4167____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__5); -l_myMacro____x40_Init_Notation___hyg_4167____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__6); -l_myMacro____x40_Init_Notation___hyg_4167____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__7); -l_myMacro____x40_Init_Notation___hyg_4167____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__8); -l_myMacro____x40_Init_Notation___hyg_4167____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4167____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4167____closed__9); +l_myMacro____x40_Init_Notation___hyg_4199____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__1); +l_myMacro____x40_Init_Notation___hyg_4199____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__2); +l_myMacro____x40_Init_Notation___hyg_4199____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__3); +l_myMacro____x40_Init_Notation___hyg_4199____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__4); +l_myMacro____x40_Init_Notation___hyg_4199____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__5); +l_myMacro____x40_Init_Notation___hyg_4199____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__6); +l_myMacro____x40_Init_Notation___hyg_4199____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__7); +l_myMacro____x40_Init_Notation___hyg_4199____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__8); +l_myMacro____x40_Init_Notation___hyg_4199____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4199____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4199____closed__9); l_term___x3e_x3e_x3e_____closed__1 = _init_l_term___x3e_x3e_x3e_____closed__1(); lean_mark_persistent(l_term___x3e_x3e_x3e_____closed__1); l_term___x3e_x3e_x3e_____closed__2 = _init_l_term___x3e_x3e_x3e_____closed__2(); @@ -41968,24 +41950,24 @@ l_term___x3e_x3e_x3e_____closed__6 = _init_l_term___x3e_x3e_x3e_____closed__6(); lean_mark_persistent(l_term___x3e_x3e_x3e_____closed__6); l_term___x3e_x3e_x3e__ = _init_l_term___x3e_x3e_x3e__(); lean_mark_persistent(l_term___x3e_x3e_x3e__); -l_myMacro____x40_Init_Notation___hyg_4384____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__1); -l_myMacro____x40_Init_Notation___hyg_4384____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__2); -l_myMacro____x40_Init_Notation___hyg_4384____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__3); -l_myMacro____x40_Init_Notation___hyg_4384____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__4); -l_myMacro____x40_Init_Notation___hyg_4384____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__5); -l_myMacro____x40_Init_Notation___hyg_4384____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__6); -l_myMacro____x40_Init_Notation___hyg_4384____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__7); -l_myMacro____x40_Init_Notation___hyg_4384____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__8); -l_myMacro____x40_Init_Notation___hyg_4384____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4384____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4384____closed__9); +l_myMacro____x40_Init_Notation___hyg_4417____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__1); +l_myMacro____x40_Init_Notation___hyg_4417____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__2); +l_myMacro____x40_Init_Notation___hyg_4417____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__3); +l_myMacro____x40_Init_Notation___hyg_4417____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__4); +l_myMacro____x40_Init_Notation___hyg_4417____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__5); +l_myMacro____x40_Init_Notation___hyg_4417____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__6); +l_myMacro____x40_Init_Notation___hyg_4417____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__7); +l_myMacro____x40_Init_Notation___hyg_4417____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__8); +l_myMacro____x40_Init_Notation___hyg_4417____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4417____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4417____closed__9); l_term___x5e_____closed__1 = _init_l_term___x5e_____closed__1(); lean_mark_persistent(l_term___x5e_____closed__1); l_term___x5e_____closed__2 = _init_l_term___x5e_____closed__2(); @@ -42002,24 +41984,24 @@ l_term___x5e_____closed__7 = _init_l_term___x5e_____closed__7(); lean_mark_persistent(l_term___x5e_____closed__7); l_term___x5e__ = _init_l_term___x5e__(); lean_mark_persistent(l_term___x5e__); -l_myMacro____x40_Init_Notation___hyg_4601____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__1); -l_myMacro____x40_Init_Notation___hyg_4601____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__2); -l_myMacro____x40_Init_Notation___hyg_4601____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__3); -l_myMacro____x40_Init_Notation___hyg_4601____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__4); -l_myMacro____x40_Init_Notation___hyg_4601____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__5); -l_myMacro____x40_Init_Notation___hyg_4601____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__6); -l_myMacro____x40_Init_Notation___hyg_4601____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__7); -l_myMacro____x40_Init_Notation___hyg_4601____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__8); -l_myMacro____x40_Init_Notation___hyg_4601____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4601____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4601____closed__9); +l_myMacro____x40_Init_Notation___hyg_4635____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__1); +l_myMacro____x40_Init_Notation___hyg_4635____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__2); +l_myMacro____x40_Init_Notation___hyg_4635____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__3); +l_myMacro____x40_Init_Notation___hyg_4635____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__4); +l_myMacro____x40_Init_Notation___hyg_4635____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__5); +l_myMacro____x40_Init_Notation___hyg_4635____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__6); +l_myMacro____x40_Init_Notation___hyg_4635____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__7); +l_myMacro____x40_Init_Notation___hyg_4635____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__8); +l_myMacro____x40_Init_Notation___hyg_4635____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4635____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4635____closed__9); l_term_x2d_____closed__1 = _init_l_term_x2d_____closed__1(); lean_mark_persistent(l_term_x2d_____closed__1); l_term_x2d_____closed__2 = _init_l_term_x2d_____closed__2(); @@ -42036,24 +42018,24 @@ l_term_x2d_____closed__7 = _init_l_term_x2d_____closed__7(); lean_mark_persistent(l_term_x2d_____closed__7); l_term_x2d__ = _init_l_term_x2d__(); lean_mark_persistent(l_term_x2d__); -l_myMacro____x40_Init_Notation___hyg_4817____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__1); -l_myMacro____x40_Init_Notation___hyg_4817____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__2); -l_myMacro____x40_Init_Notation___hyg_4817____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__3); -l_myMacro____x40_Init_Notation___hyg_4817____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__4); -l_myMacro____x40_Init_Notation___hyg_4817____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__5); -l_myMacro____x40_Init_Notation___hyg_4817____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__6); -l_myMacro____x40_Init_Notation___hyg_4817____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__7); -l_myMacro____x40_Init_Notation___hyg_4817____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__8); -l_myMacro____x40_Init_Notation___hyg_4817____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4817____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4817____closed__9); +l_myMacro____x40_Init_Notation___hyg_4852____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__1); +l_myMacro____x40_Init_Notation___hyg_4852____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__2); +l_myMacro____x40_Init_Notation___hyg_4852____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__3); +l_myMacro____x40_Init_Notation___hyg_4852____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__4); +l_myMacro____x40_Init_Notation___hyg_4852____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__5); +l_myMacro____x40_Init_Notation___hyg_4852____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__6); +l_myMacro____x40_Init_Notation___hyg_4852____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__7); +l_myMacro____x40_Init_Notation___hyg_4852____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__8); +l_myMacro____x40_Init_Notation___hyg_4852____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_4852____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_4852____closed__9); l_term_x7e_x7e_x7e_____closed__1 = _init_l_term_x7e_x7e_x7e_____closed__1(); lean_mark_persistent(l_term_x7e_x7e_x7e_____closed__1); l_term_x7e_x7e_x7e_____closed__2 = _init_l_term_x7e_x7e_x7e_____closed__2(); @@ -42068,30 +42050,30 @@ l_term_x7e_x7e_x7e_____closed__6 = _init_l_term_x7e_x7e_x7e_____closed__6(); lean_mark_persistent(l_term_x7e_x7e_x7e_____closed__6); l_term_x7e_x7e_x7e__ = _init_l_term_x7e_x7e_x7e__(); lean_mark_persistent(l_term_x7e_x7e_x7e__); -l_myMacro____x40_Init_Notation___hyg_5011____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__1); -l_myMacro____x40_Init_Notation___hyg_5011____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__2); -l_myMacro____x40_Init_Notation___hyg_5011____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__3); -l_myMacro____x40_Init_Notation___hyg_5011____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__4); -l_myMacro____x40_Init_Notation___hyg_5011____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__5); -l_myMacro____x40_Init_Notation___hyg_5011____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__6); -l_myMacro____x40_Init_Notation___hyg_5011____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__7); -l_myMacro____x40_Init_Notation___hyg_5011____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__8); -l_myMacro____x40_Init_Notation___hyg_5011____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_5011____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5011____closed__9); -l_myMacro____x40_Init_Notation___hyg_5189____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_5189____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5189____closed__1); -l_myMacro____x40_Init_Notation___hyg_5189____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_5189____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5189____closed__2); -l_myMacro____x40_Init_Notation___hyg_5189____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_5189____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5189____closed__3); +l_myMacro____x40_Init_Notation___hyg_5047____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__1); +l_myMacro____x40_Init_Notation___hyg_5047____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__2); +l_myMacro____x40_Init_Notation___hyg_5047____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__3); +l_myMacro____x40_Init_Notation___hyg_5047____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__4); +l_myMacro____x40_Init_Notation___hyg_5047____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__5); +l_myMacro____x40_Init_Notation___hyg_5047____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__6); +l_myMacro____x40_Init_Notation___hyg_5047____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__7); +l_myMacro____x40_Init_Notation___hyg_5047____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__8); +l_myMacro____x40_Init_Notation___hyg_5047____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_5047____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5047____closed__9); +l_myMacro____x40_Init_Notation___hyg_5226____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5226____closed__1); +l_myMacro____x40_Init_Notation___hyg_5226____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5226____closed__2); +l_myMacro____x40_Init_Notation___hyg_5226____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_5226____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_5226____closed__3); l_term___x3c_x3d_____closed__1 = _init_l_term___x3c_x3d_____closed__1(); lean_mark_persistent(l_term___x3c_x3d_____closed__1); l_term___x3c_x3d_____closed__2 = _init_l_term___x3c_x3d_____closed__2(); @@ -42108,24 +42090,24 @@ l_term___x3c_x3d_____closed__7 = _init_l_term___x3c_x3d_____closed__7(); lean_mark_persistent(l_term___x3c_x3d_____closed__7); l_term___x3c_x3d__ = _init_l_term___x3c_x3d__(); lean_mark_persistent(l_term___x3c_x3d__); -l_myMacro____x40_Init_Notation___hyg_6251____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__1); -l_myMacro____x40_Init_Notation___hyg_6251____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__2); -l_myMacro____x40_Init_Notation___hyg_6251____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__3); -l_myMacro____x40_Init_Notation___hyg_6251____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__4); -l_myMacro____x40_Init_Notation___hyg_6251____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__5); -l_myMacro____x40_Init_Notation___hyg_6251____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__6); -l_myMacro____x40_Init_Notation___hyg_6251____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__7); -l_myMacro____x40_Init_Notation___hyg_6251____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__8); -l_myMacro____x40_Init_Notation___hyg_6251____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6251____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6251____closed__9); +l_myMacro____x40_Init_Notation___hyg_6299____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__1); +l_myMacro____x40_Init_Notation___hyg_6299____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__2); +l_myMacro____x40_Init_Notation___hyg_6299____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__3); +l_myMacro____x40_Init_Notation___hyg_6299____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__4); +l_myMacro____x40_Init_Notation___hyg_6299____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__5); +l_myMacro____x40_Init_Notation___hyg_6299____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__6); +l_myMacro____x40_Init_Notation___hyg_6299____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__7); +l_myMacro____x40_Init_Notation___hyg_6299____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__8); +l_myMacro____x40_Init_Notation___hyg_6299____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6299____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6299____closed__9); l_term___u2264_____closed__1 = _init_l_term___u2264_____closed__1(); lean_mark_persistent(l_term___u2264_____closed__1); l_term___u2264_____closed__2 = _init_l_term___u2264_____closed__2(); @@ -42154,24 +42136,24 @@ l_term___x3c_____closed__6 = _init_l_term___x3c_____closed__6(); lean_mark_persistent(l_term___x3c_____closed__6); l_term___x3c__ = _init_l_term___x3c__(); lean_mark_persistent(l_term___x3c__); -l_myMacro____x40_Init_Notation___hyg_6685____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__1); -l_myMacro____x40_Init_Notation___hyg_6685____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__2); -l_myMacro____x40_Init_Notation___hyg_6685____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__3); -l_myMacro____x40_Init_Notation___hyg_6685____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__4); -l_myMacro____x40_Init_Notation___hyg_6685____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__5); -l_myMacro____x40_Init_Notation___hyg_6685____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__6); -l_myMacro____x40_Init_Notation___hyg_6685____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__7); -l_myMacro____x40_Init_Notation___hyg_6685____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__8); -l_myMacro____x40_Init_Notation___hyg_6685____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6685____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6685____closed__9); +l_myMacro____x40_Init_Notation___hyg_6735____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__1); +l_myMacro____x40_Init_Notation___hyg_6735____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__2); +l_myMacro____x40_Init_Notation___hyg_6735____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__3); +l_myMacro____x40_Init_Notation___hyg_6735____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__4); +l_myMacro____x40_Init_Notation___hyg_6735____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__5); +l_myMacro____x40_Init_Notation___hyg_6735____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__6); +l_myMacro____x40_Init_Notation___hyg_6735____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__7); +l_myMacro____x40_Init_Notation___hyg_6735____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__8); +l_myMacro____x40_Init_Notation___hyg_6735____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6735____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6735____closed__9); l_term___x3e_x3d_____closed__1 = _init_l_term___x3e_x3d_____closed__1(); lean_mark_persistent(l_term___x3e_x3d_____closed__1); l_term___x3e_x3d_____closed__2 = _init_l_term___x3e_x3d_____closed__2(); @@ -42186,24 +42168,24 @@ l_term___x3e_x3d_____closed__6 = _init_l_term___x3e_x3d_____closed__6(); lean_mark_persistent(l_term___x3e_x3d_____closed__6); l_term___x3e_x3d__ = _init_l_term___x3e_x3d__(); lean_mark_persistent(l_term___x3e_x3d__); -l_myMacro____x40_Init_Notation___hyg_6902____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__1); -l_myMacro____x40_Init_Notation___hyg_6902____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__2); -l_myMacro____x40_Init_Notation___hyg_6902____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__3); -l_myMacro____x40_Init_Notation___hyg_6902____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__4); -l_myMacro____x40_Init_Notation___hyg_6902____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__5); -l_myMacro____x40_Init_Notation___hyg_6902____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__6); -l_myMacro____x40_Init_Notation___hyg_6902____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__7); -l_myMacro____x40_Init_Notation___hyg_6902____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__8); -l_myMacro____x40_Init_Notation___hyg_6902____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6902____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6902____closed__9); +l_myMacro____x40_Init_Notation___hyg_6953____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__1); +l_myMacro____x40_Init_Notation___hyg_6953____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__2); +l_myMacro____x40_Init_Notation___hyg_6953____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__3); +l_myMacro____x40_Init_Notation___hyg_6953____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__4); +l_myMacro____x40_Init_Notation___hyg_6953____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__5); +l_myMacro____x40_Init_Notation___hyg_6953____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__6); +l_myMacro____x40_Init_Notation___hyg_6953____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__7); +l_myMacro____x40_Init_Notation___hyg_6953____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__8); +l_myMacro____x40_Init_Notation___hyg_6953____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_6953____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6953____closed__9); l_term___u2265_____closed__1 = _init_l_term___u2265_____closed__1(); lean_mark_persistent(l_term___u2265_____closed__1); l_term___u2265_____closed__2 = _init_l_term___u2265_____closed__2(); @@ -42232,24 +42214,24 @@ l_term___x3e_____closed__6 = _init_l_term___x3e_____closed__6(); lean_mark_persistent(l_term___x3e_____closed__6); l_term___x3e__ = _init_l_term___x3e__(); lean_mark_persistent(l_term___x3e__); -l_myMacro____x40_Init_Notation___hyg_7336____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__1); -l_myMacro____x40_Init_Notation___hyg_7336____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__2); -l_myMacro____x40_Init_Notation___hyg_7336____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__3); -l_myMacro____x40_Init_Notation___hyg_7336____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__4); -l_myMacro____x40_Init_Notation___hyg_7336____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__5); -l_myMacro____x40_Init_Notation___hyg_7336____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__6); -l_myMacro____x40_Init_Notation___hyg_7336____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__7); -l_myMacro____x40_Init_Notation___hyg_7336____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__8); -l_myMacro____x40_Init_Notation___hyg_7336____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7336____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7336____closed__9); +l_myMacro____x40_Init_Notation___hyg_7389____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__1); +l_myMacro____x40_Init_Notation___hyg_7389____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__2); +l_myMacro____x40_Init_Notation___hyg_7389____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__3); +l_myMacro____x40_Init_Notation___hyg_7389____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__4); +l_myMacro____x40_Init_Notation___hyg_7389____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__5); +l_myMacro____x40_Init_Notation___hyg_7389____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__6); +l_myMacro____x40_Init_Notation___hyg_7389____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__7); +l_myMacro____x40_Init_Notation___hyg_7389____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__8); +l_myMacro____x40_Init_Notation___hyg_7389____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7389____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7389____closed__9); l_term___x3d_____closed__1 = _init_l_term___x3d_____closed__1(); lean_mark_persistent(l_term___x3d_____closed__1); l_term___x3d_____closed__2 = _init_l_term___x3d_____closed__2(); @@ -42264,18 +42246,18 @@ l_term___x3d_____closed__6 = _init_l_term___x3d_____closed__6(); lean_mark_persistent(l_term___x3d_____closed__6); l_term___x3d__ = _init_l_term___x3d__(); lean_mark_persistent(l_term___x3d__); -l_myMacro____x40_Init_Notation___hyg_7553____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__1); -l_myMacro____x40_Init_Notation___hyg_7553____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__2); -l_myMacro____x40_Init_Notation___hyg_7553____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__3); -l_myMacro____x40_Init_Notation___hyg_7553____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__4); -l_myMacro____x40_Init_Notation___hyg_7553____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__5); -l_myMacro____x40_Init_Notation___hyg_7553____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7553____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7553____closed__6); +l_myMacro____x40_Init_Notation___hyg_7607____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__1); +l_myMacro____x40_Init_Notation___hyg_7607____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__2); +l_myMacro____x40_Init_Notation___hyg_7607____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__3); +l_myMacro____x40_Init_Notation___hyg_7607____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__4); +l_myMacro____x40_Init_Notation___hyg_7607____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__5); +l_myMacro____x40_Init_Notation___hyg_7607____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7607____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7607____closed__6); l_term___x3d_x3d_____closed__1 = _init_l_term___x3d_x3d_____closed__1(); lean_mark_persistent(l_term___x3d_x3d_____closed__1); l_term___x3d_x3d_____closed__2 = _init_l_term___x3d_x3d_____closed__2(); @@ -42290,24 +42272,24 @@ l_term___x3d_x3d_____closed__6 = _init_l_term___x3d_x3d_____closed__6(); lean_mark_persistent(l_term___x3d_x3d_____closed__6); l_term___x3d_x3d__ = _init_l_term___x3d_x3d__(); lean_mark_persistent(l_term___x3d_x3d__); -l_myMacro____x40_Init_Notation___hyg_7770____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__1); -l_myMacro____x40_Init_Notation___hyg_7770____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__2); -l_myMacro____x40_Init_Notation___hyg_7770____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__3); -l_myMacro____x40_Init_Notation___hyg_7770____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__4); -l_myMacro____x40_Init_Notation___hyg_7770____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__5); -l_myMacro____x40_Init_Notation___hyg_7770____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__6); -l_myMacro____x40_Init_Notation___hyg_7770____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__7); -l_myMacro____x40_Init_Notation___hyg_7770____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__8); -l_myMacro____x40_Init_Notation___hyg_7770____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7770____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7770____closed__9); +l_myMacro____x40_Init_Notation___hyg_7825____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__1); +l_myMacro____x40_Init_Notation___hyg_7825____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__2); +l_myMacro____x40_Init_Notation___hyg_7825____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__3); +l_myMacro____x40_Init_Notation___hyg_7825____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__4); +l_myMacro____x40_Init_Notation___hyg_7825____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__5); +l_myMacro____x40_Init_Notation___hyg_7825____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__6); +l_myMacro____x40_Init_Notation___hyg_7825____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__7); +l_myMacro____x40_Init_Notation___hyg_7825____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__8); +l_myMacro____x40_Init_Notation___hyg_7825____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7825____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7825____closed__9); l_term___x7e_x3d_____closed__1 = _init_l_term___x7e_x3d_____closed__1(); lean_mark_persistent(l_term___x7e_x3d_____closed__1); l_term___x7e_x3d_____closed__2 = _init_l_term___x7e_x3d_____closed__2(); @@ -42322,18 +42304,18 @@ l_term___x7e_x3d_____closed__6 = _init_l_term___x7e_x3d_____closed__6(); lean_mark_persistent(l_term___x7e_x3d_____closed__6); l_term___x7e_x3d__ = _init_l_term___x7e_x3d__(); lean_mark_persistent(l_term___x7e_x3d__); -l_myMacro____x40_Init_Notation___hyg_7987____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__1); -l_myMacro____x40_Init_Notation___hyg_7987____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__2); -l_myMacro____x40_Init_Notation___hyg_7987____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__3); -l_myMacro____x40_Init_Notation___hyg_7987____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__4); -l_myMacro____x40_Init_Notation___hyg_7987____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__5); -l_myMacro____x40_Init_Notation___hyg_7987____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7987____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7987____closed__6); +l_myMacro____x40_Init_Notation___hyg_8043____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__1); +l_myMacro____x40_Init_Notation___hyg_8043____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__2); +l_myMacro____x40_Init_Notation___hyg_8043____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__3); +l_myMacro____x40_Init_Notation___hyg_8043____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__4); +l_myMacro____x40_Init_Notation___hyg_8043____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__5); +l_myMacro____x40_Init_Notation___hyg_8043____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_8043____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8043____closed__6); l_term___u2245_____closed__1 = _init_l_term___u2245_____closed__1(); lean_mark_persistent(l_term___u2245_____closed__1); l_term___u2245_____closed__2 = _init_l_term___u2245_____closed__2(); @@ -42348,12 +42330,12 @@ l_term___u2245_____closed__6 = _init_l_term___u2245_____closed__6(); lean_mark_persistent(l_term___u2245_____closed__6); l_term___u2245__ = _init_l_term___u2245__(); lean_mark_persistent(l_term___u2245__); -l_myMacro____x40_Init_Notation___hyg_8404____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_8404____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8404____closed__1); -l_myMacro____x40_Init_Notation___hyg_8404____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_8404____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8404____closed__2); -l_myMacro____x40_Init_Notation___hyg_8404____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_8404____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8404____closed__3); +l_myMacro____x40_Init_Notation___hyg_8462____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8462____closed__1); +l_myMacro____x40_Init_Notation___hyg_8462____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8462____closed__2); +l_myMacro____x40_Init_Notation___hyg_8462____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_8462____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8462____closed__3); l_term___x2f_x5c_____closed__1 = _init_l_term___x2f_x5c_____closed__1(); lean_mark_persistent(l_term___x2f_x5c_____closed__1); l_term___x2f_x5c_____closed__2 = _init_l_term___x2f_x5c_____closed__2(); @@ -42368,18 +42350,18 @@ l_term___x2f_x5c_____closed__6 = _init_l_term___x2f_x5c_____closed__6(); lean_mark_persistent(l_term___x2f_x5c_____closed__6); l_term___x2f_x5c__ = _init_l_term___x2f_x5c__(); lean_mark_persistent(l_term___x2f_x5c__); -l_myMacro____x40_Init_Notation___hyg_9181____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__1); -l_myMacro____x40_Init_Notation___hyg_9181____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__2); -l_myMacro____x40_Init_Notation___hyg_9181____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__3); -l_myMacro____x40_Init_Notation___hyg_9181____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__4); -l_myMacro____x40_Init_Notation___hyg_9181____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__5); -l_myMacro____x40_Init_Notation___hyg_9181____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_9181____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9181____closed__6); +l_myMacro____x40_Init_Notation___hyg_9247____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__1); +l_myMacro____x40_Init_Notation___hyg_9247____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__2); +l_myMacro____x40_Init_Notation___hyg_9247____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__3); +l_myMacro____x40_Init_Notation___hyg_9247____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__4); +l_myMacro____x40_Init_Notation___hyg_9247____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__5); +l_myMacro____x40_Init_Notation___hyg_9247____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_9247____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9247____closed__6); l_term___u2227_____closed__1 = _init_l_term___u2227_____closed__1(); lean_mark_persistent(l_term___u2227_____closed__1); l_term___u2227_____closed__2 = _init_l_term___u2227_____closed__2(); @@ -42410,18 +42392,18 @@ l_term___x5c_x2f_____closed__7 = _init_l_term___x5c_x2f_____closed__7(); lean_mark_persistent(l_term___x5c_x2f_____closed__7); l_term___x5c_x2f__ = _init_l_term___x5c_x2f__(); lean_mark_persistent(l_term___x5c_x2f__); -l_myMacro____x40_Init_Notation___hyg_9615____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__1); -l_myMacro____x40_Init_Notation___hyg_9615____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__2); -l_myMacro____x40_Init_Notation___hyg_9615____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__3); -l_myMacro____x40_Init_Notation___hyg_9615____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__4); -l_myMacro____x40_Init_Notation___hyg_9615____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__5); -l_myMacro____x40_Init_Notation___hyg_9615____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_9615____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9615____closed__6); +l_myMacro____x40_Init_Notation___hyg_9683____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__1); +l_myMacro____x40_Init_Notation___hyg_9683____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__2); +l_myMacro____x40_Init_Notation___hyg_9683____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__3); +l_myMacro____x40_Init_Notation___hyg_9683____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__4); +l_myMacro____x40_Init_Notation___hyg_9683____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__5); +l_myMacro____x40_Init_Notation___hyg_9683____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_9683____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_9683____closed__6); l_term___u2228_____closed__1 = _init_l_term___u2228_____closed__1(); lean_mark_persistent(l_term___u2228_____closed__1); l_term___u2228_____closed__2 = _init_l_term___u2228_____closed__2(); @@ -42452,18 +42434,18 @@ l_term_xac_____closed__7 = _init_l_term_xac_____closed__7(); lean_mark_persistent(l_term_xac_____closed__7); l_term_xac__ = _init_l_term_xac__(); lean_mark_persistent(l_term_xac__); -l_myMacro____x40_Init_Notation___hyg_10047____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__1); -l_myMacro____x40_Init_Notation___hyg_10047____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__2); -l_myMacro____x40_Init_Notation___hyg_10047____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__3); -l_myMacro____x40_Init_Notation___hyg_10047____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__4); -l_myMacro____x40_Init_Notation___hyg_10047____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__5); -l_myMacro____x40_Init_Notation___hyg_10047____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10047____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10047____closed__6); +l_myMacro____x40_Init_Notation___hyg_10117____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__1); +l_myMacro____x40_Init_Notation___hyg_10117____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__2); +l_myMacro____x40_Init_Notation___hyg_10117____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__3); +l_myMacro____x40_Init_Notation___hyg_10117____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__4); +l_myMacro____x40_Init_Notation___hyg_10117____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__5); +l_myMacro____x40_Init_Notation___hyg_10117____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10117____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10117____closed__6); l_term___x26_x26_____closed__1 = _init_l_term___x26_x26_____closed__1(); lean_mark_persistent(l_term___x26_x26_____closed__1); l_term___x26_x26_____closed__2 = _init_l_term___x26_x26_____closed__2(); @@ -42480,18 +42462,18 @@ l_term___x26_x26_____closed__7 = _init_l_term___x26_x26_____closed__7(); lean_mark_persistent(l_term___x26_x26_____closed__7); l_term___x26_x26__ = _init_l_term___x26_x26__(); lean_mark_persistent(l_term___x26_x26__); -l_myMacro____x40_Init_Notation___hyg_10242____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__1); -l_myMacro____x40_Init_Notation___hyg_10242____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__2); -l_myMacro____x40_Init_Notation___hyg_10242____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__3); -l_myMacro____x40_Init_Notation___hyg_10242____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__4); -l_myMacro____x40_Init_Notation___hyg_10242____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__5); -l_myMacro____x40_Init_Notation___hyg_10242____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10242____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10242____closed__6); +l_myMacro____x40_Init_Notation___hyg_10313____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__1); +l_myMacro____x40_Init_Notation___hyg_10313____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__2); +l_myMacro____x40_Init_Notation___hyg_10313____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__3); +l_myMacro____x40_Init_Notation___hyg_10313____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__4); +l_myMacro____x40_Init_Notation___hyg_10313____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__5); +l_myMacro____x40_Init_Notation___hyg_10313____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10313____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10313____closed__6); l_term___x7c_x7c_____closed__1 = _init_l_term___x7c_x7c_____closed__1(); lean_mark_persistent(l_term___x7c_x7c_____closed__1); l_term___x7c_x7c_____closed__2 = _init_l_term___x7c_x7c_____closed__2(); @@ -42508,18 +42490,18 @@ l_term___x7c_x7c_____closed__7 = _init_l_term___x7c_x7c_____closed__7(); lean_mark_persistent(l_term___x7c_x7c_____closed__7); l_term___x7c_x7c__ = _init_l_term___x7c_x7c__(); lean_mark_persistent(l_term___x7c_x7c__); -l_myMacro____x40_Init_Notation___hyg_10459____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__1); -l_myMacro____x40_Init_Notation___hyg_10459____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__2); -l_myMacro____x40_Init_Notation___hyg_10459____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__3); -l_myMacro____x40_Init_Notation___hyg_10459____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__4); -l_myMacro____x40_Init_Notation___hyg_10459____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__5); -l_myMacro____x40_Init_Notation___hyg_10459____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10459____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10459____closed__6); +l_myMacro____x40_Init_Notation___hyg_10531____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__1); +l_myMacro____x40_Init_Notation___hyg_10531____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__2); +l_myMacro____x40_Init_Notation___hyg_10531____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__3); +l_myMacro____x40_Init_Notation___hyg_10531____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__4); +l_myMacro____x40_Init_Notation___hyg_10531____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__5); +l_myMacro____x40_Init_Notation___hyg_10531____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10531____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10531____closed__6); l_term_x21_____closed__1 = _init_l_term_x21_____closed__1(); lean_mark_persistent(l_term_x21_____closed__1); l_term_x21_____closed__2 = _init_l_term_x21_____closed__2(); @@ -42532,18 +42514,18 @@ l_term_x21_____closed__5 = _init_l_term_x21_____closed__5(); lean_mark_persistent(l_term_x21_____closed__5); l_term_x21__ = _init_l_term_x21__(); lean_mark_persistent(l_term_x21__); -l_myMacro____x40_Init_Notation___hyg_10674____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__1); -l_myMacro____x40_Init_Notation___hyg_10674____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__2); -l_myMacro____x40_Init_Notation___hyg_10674____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__3); -l_myMacro____x40_Init_Notation___hyg_10674____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__4); -l_myMacro____x40_Init_Notation___hyg_10674____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__5); -l_myMacro____x40_Init_Notation___hyg_10674____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10674____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10674____closed__6); +l_myMacro____x40_Init_Notation___hyg_10747____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__1); +l_myMacro____x40_Init_Notation___hyg_10747____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__2); +l_myMacro____x40_Init_Notation___hyg_10747____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__3); +l_myMacro____x40_Init_Notation___hyg_10747____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__4); +l_myMacro____x40_Init_Notation___hyg_10747____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__5); +l_myMacro____x40_Init_Notation___hyg_10747____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10747____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10747____closed__6); l_term___x2b_x2b_____closed__1 = _init_l_term___x2b_x2b_____closed__1(); lean_mark_persistent(l_term___x2b_x2b_____closed__1); l_term___x2b_x2b_____closed__2 = _init_l_term___x2b_x2b_____closed__2(); @@ -42558,24 +42540,24 @@ l_term___x2b_x2b_____closed__6 = _init_l_term___x2b_x2b_____closed__6(); lean_mark_persistent(l_term___x2b_x2b_____closed__6); l_term___x2b_x2b__ = _init_l_term___x2b_x2b__(); lean_mark_persistent(l_term___x2b_x2b__); -l_myMacro____x40_Init_Notation___hyg_10869____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__1); -l_myMacro____x40_Init_Notation___hyg_10869____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__2); -l_myMacro____x40_Init_Notation___hyg_10869____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__3); -l_myMacro____x40_Init_Notation___hyg_10869____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__4); -l_myMacro____x40_Init_Notation___hyg_10869____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__5); -l_myMacro____x40_Init_Notation___hyg_10869____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__6); -l_myMacro____x40_Init_Notation___hyg_10869____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__7); -l_myMacro____x40_Init_Notation___hyg_10869____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__8); -l_myMacro____x40_Init_Notation___hyg_10869____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_10869____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10869____closed__9); +l_myMacro____x40_Init_Notation___hyg_10943____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__1); +l_myMacro____x40_Init_Notation___hyg_10943____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__2); +l_myMacro____x40_Init_Notation___hyg_10943____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__3); +l_myMacro____x40_Init_Notation___hyg_10943____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__4); +l_myMacro____x40_Init_Notation___hyg_10943____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__5); +l_myMacro____x40_Init_Notation___hyg_10943____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__6); +l_myMacro____x40_Init_Notation___hyg_10943____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__7); +l_myMacro____x40_Init_Notation___hyg_10943____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__8); +l_myMacro____x40_Init_Notation___hyg_10943____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_10943____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_10943____closed__9); l_term___x3a_x3a_____closed__1 = _init_l_term___x3a_x3a_____closed__1(); lean_mark_persistent(l_term___x3a_x3a_____closed__1); l_term___x3a_x3a_____closed__2 = _init_l_term___x3a_x3a_____closed__2(); @@ -42592,24 +42574,24 @@ l_term___x3a_x3a_____closed__7 = _init_l_term___x3a_x3a_____closed__7(); lean_mark_persistent(l_term___x3a_x3a_____closed__7); l_term___x3a_x3a__ = _init_l_term___x3a_x3a__(); lean_mark_persistent(l_term___x3a_x3a__); -l_myMacro____x40_Init_Notation___hyg_11086____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__1); -l_myMacro____x40_Init_Notation___hyg_11086____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__2); -l_myMacro____x40_Init_Notation___hyg_11086____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__3); -l_myMacro____x40_Init_Notation___hyg_11086____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__4); -l_myMacro____x40_Init_Notation___hyg_11086____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__5); -l_myMacro____x40_Init_Notation___hyg_11086____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__6); -l_myMacro____x40_Init_Notation___hyg_11086____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__7); -l_myMacro____x40_Init_Notation___hyg_11086____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__8); -l_myMacro____x40_Init_Notation___hyg_11086____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11086____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11086____closed__9); +l_myMacro____x40_Init_Notation___hyg_11161____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__1); +l_myMacro____x40_Init_Notation___hyg_11161____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__2); +l_myMacro____x40_Init_Notation___hyg_11161____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__3); +l_myMacro____x40_Init_Notation___hyg_11161____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__4); +l_myMacro____x40_Init_Notation___hyg_11161____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__5); +l_myMacro____x40_Init_Notation___hyg_11161____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__6); +l_myMacro____x40_Init_Notation___hyg_11161____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__7); +l_myMacro____x40_Init_Notation___hyg_11161____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__8); +l_myMacro____x40_Init_Notation___hyg_11161____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11161____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11161____closed__9); l_term___x3c_x7c_x3e_____closed__1 = _init_l_term___x3c_x7c_x3e_____closed__1(); lean_mark_persistent(l_term___x3c_x7c_x3e_____closed__1); l_term___x3c_x7c_x3e_____closed__2 = _init_l_term___x3c_x7c_x3e_____closed__2(); @@ -42622,24 +42604,24 @@ l_term___x3c_x7c_x3e_____closed__5 = _init_l_term___x3c_x7c_x3e_____closed__5(); lean_mark_persistent(l_term___x3c_x7c_x3e_____closed__5); l_term___x3c_x7c_x3e__ = _init_l_term___x3c_x7c_x3e__(); lean_mark_persistent(l_term___x3c_x7c_x3e__); -l_myMacro____x40_Init_Notation___hyg_11303____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__1); -l_myMacro____x40_Init_Notation___hyg_11303____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__2); -l_myMacro____x40_Init_Notation___hyg_11303____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__3); -l_myMacro____x40_Init_Notation___hyg_11303____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__4); -l_myMacro____x40_Init_Notation___hyg_11303____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__5); -l_myMacro____x40_Init_Notation___hyg_11303____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__6); -l_myMacro____x40_Init_Notation___hyg_11303____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__7); -l_myMacro____x40_Init_Notation___hyg_11303____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__8); -l_myMacro____x40_Init_Notation___hyg_11303____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11303____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11303____closed__9); +l_myMacro____x40_Init_Notation___hyg_11379____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__1); +l_myMacro____x40_Init_Notation___hyg_11379____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__2); +l_myMacro____x40_Init_Notation___hyg_11379____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__3); +l_myMacro____x40_Init_Notation___hyg_11379____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__4); +l_myMacro____x40_Init_Notation___hyg_11379____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__5); +l_myMacro____x40_Init_Notation___hyg_11379____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__6); +l_myMacro____x40_Init_Notation___hyg_11379____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__7); +l_myMacro____x40_Init_Notation___hyg_11379____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__8); +l_myMacro____x40_Init_Notation___hyg_11379____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11379____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11379____closed__9); l_term___x3e_x3e_____closed__1 = _init_l_term___x3e_x3e_____closed__1(); lean_mark_persistent(l_term___x3e_x3e_____closed__1); l_term___x3e_x3e_____closed__2 = _init_l_term___x3e_x3e_____closed__2(); @@ -42656,24 +42638,24 @@ l_term___x3e_x3e_____closed__7 = _init_l_term___x3e_x3e_____closed__7(); lean_mark_persistent(l_term___x3e_x3e_____closed__7); l_term___x3e_x3e__ = _init_l_term___x3e_x3e__(); lean_mark_persistent(l_term___x3e_x3e__); -l_myMacro____x40_Init_Notation___hyg_11520____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__1); -l_myMacro____x40_Init_Notation___hyg_11520____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__2); -l_myMacro____x40_Init_Notation___hyg_11520____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__3); -l_myMacro____x40_Init_Notation___hyg_11520____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__4); -l_myMacro____x40_Init_Notation___hyg_11520____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__5); -l_myMacro____x40_Init_Notation___hyg_11520____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__6); -l_myMacro____x40_Init_Notation___hyg_11520____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__7); -l_myMacro____x40_Init_Notation___hyg_11520____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__8); -l_myMacro____x40_Init_Notation___hyg_11520____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11520____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11520____closed__9); +l_myMacro____x40_Init_Notation___hyg_11597____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__1); +l_myMacro____x40_Init_Notation___hyg_11597____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__2); +l_myMacro____x40_Init_Notation___hyg_11597____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__3); +l_myMacro____x40_Init_Notation___hyg_11597____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__4); +l_myMacro____x40_Init_Notation___hyg_11597____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__5); +l_myMacro____x40_Init_Notation___hyg_11597____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__6); +l_myMacro____x40_Init_Notation___hyg_11597____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__7); +l_myMacro____x40_Init_Notation___hyg_11597____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__8); +l_myMacro____x40_Init_Notation___hyg_11597____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11597____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11597____closed__9); l_term___x3e_x3e_x3d_____closed__1 = _init_l_term___x3e_x3e_x3d_____closed__1(); lean_mark_persistent(l_term___x3e_x3e_x3d_____closed__1); l_term___x3e_x3e_x3d_____closed__2 = _init_l_term___x3e_x3e_x3d_____closed__2(); @@ -42688,24 +42670,24 @@ l_term___x3e_x3e_x3d_____closed__6 = _init_l_term___x3e_x3e_x3d_____closed__6(); lean_mark_persistent(l_term___x3e_x3e_x3d_____closed__6); l_term___x3e_x3e_x3d__ = _init_l_term___x3e_x3e_x3d__(); lean_mark_persistent(l_term___x3e_x3e_x3d__); -l_myMacro____x40_Init_Notation___hyg_11737____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__1); -l_myMacro____x40_Init_Notation___hyg_11737____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__2); -l_myMacro____x40_Init_Notation___hyg_11737____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__3); -l_myMacro____x40_Init_Notation___hyg_11737____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__4); -l_myMacro____x40_Init_Notation___hyg_11737____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__5); -l_myMacro____x40_Init_Notation___hyg_11737____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__6); -l_myMacro____x40_Init_Notation___hyg_11737____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__7); -l_myMacro____x40_Init_Notation___hyg_11737____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__8); -l_myMacro____x40_Init_Notation___hyg_11737____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11737____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11737____closed__9); +l_myMacro____x40_Init_Notation___hyg_11815____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__1); +l_myMacro____x40_Init_Notation___hyg_11815____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__2); +l_myMacro____x40_Init_Notation___hyg_11815____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__3); +l_myMacro____x40_Init_Notation___hyg_11815____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__4); +l_myMacro____x40_Init_Notation___hyg_11815____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__5); +l_myMacro____x40_Init_Notation___hyg_11815____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__6); +l_myMacro____x40_Init_Notation___hyg_11815____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__7); +l_myMacro____x40_Init_Notation___hyg_11815____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__8); +l_myMacro____x40_Init_Notation___hyg_11815____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11815____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11815____closed__9); l_term___x3c_x2a_x3e_____closed__1 = _init_l_term___x3c_x2a_x3e_____closed__1(); lean_mark_persistent(l_term___x3c_x2a_x3e_____closed__1); l_term___x3c_x2a_x3e_____closed__2 = _init_l_term___x3c_x2a_x3e_____closed__2(); @@ -42720,24 +42702,24 @@ l_term___x3c_x2a_x3e_____closed__6 = _init_l_term___x3c_x2a_x3e_____closed__6(); lean_mark_persistent(l_term___x3c_x2a_x3e_____closed__6); l_term___x3c_x2a_x3e__ = _init_l_term___x3c_x2a_x3e__(); lean_mark_persistent(l_term___x3c_x2a_x3e__); -l_myMacro____x40_Init_Notation___hyg_11954____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__1); -l_myMacro____x40_Init_Notation___hyg_11954____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__2); -l_myMacro____x40_Init_Notation___hyg_11954____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__3); -l_myMacro____x40_Init_Notation___hyg_11954____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__4); -l_myMacro____x40_Init_Notation___hyg_11954____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__5); -l_myMacro____x40_Init_Notation___hyg_11954____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__6); -l_myMacro____x40_Init_Notation___hyg_11954____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__7); -l_myMacro____x40_Init_Notation___hyg_11954____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__8); -l_myMacro____x40_Init_Notation___hyg_11954____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_11954____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_11954____closed__9); +l_myMacro____x40_Init_Notation___hyg_12033____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__1); +l_myMacro____x40_Init_Notation___hyg_12033____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__2); +l_myMacro____x40_Init_Notation___hyg_12033____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__3); +l_myMacro____x40_Init_Notation___hyg_12033____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__4); +l_myMacro____x40_Init_Notation___hyg_12033____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__5); +l_myMacro____x40_Init_Notation___hyg_12033____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__6); +l_myMacro____x40_Init_Notation___hyg_12033____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__7); +l_myMacro____x40_Init_Notation___hyg_12033____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__8); +l_myMacro____x40_Init_Notation___hyg_12033____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12033____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12033____closed__9); l_term___x3c_x2a_____closed__1 = _init_l_term___x3c_x2a_____closed__1(); lean_mark_persistent(l_term___x3c_x2a_____closed__1); l_term___x3c_x2a_____closed__2 = _init_l_term___x3c_x2a_____closed__2(); @@ -42752,24 +42734,24 @@ l_term___x3c_x2a_____closed__6 = _init_l_term___x3c_x2a_____closed__6(); lean_mark_persistent(l_term___x3c_x2a_____closed__6); l_term___x3c_x2a__ = _init_l_term___x3c_x2a__(); lean_mark_persistent(l_term___x3c_x2a__); -l_myMacro____x40_Init_Notation___hyg_12171____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__1); -l_myMacro____x40_Init_Notation___hyg_12171____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__2); -l_myMacro____x40_Init_Notation___hyg_12171____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__3); -l_myMacro____x40_Init_Notation___hyg_12171____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__4); -l_myMacro____x40_Init_Notation___hyg_12171____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__5); -l_myMacro____x40_Init_Notation___hyg_12171____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__6); -l_myMacro____x40_Init_Notation___hyg_12171____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__7); -l_myMacro____x40_Init_Notation___hyg_12171____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__8); -l_myMacro____x40_Init_Notation___hyg_12171____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12171____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12171____closed__9); +l_myMacro____x40_Init_Notation___hyg_12251____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__1); +l_myMacro____x40_Init_Notation___hyg_12251____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__2); +l_myMacro____x40_Init_Notation___hyg_12251____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__3); +l_myMacro____x40_Init_Notation___hyg_12251____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__4); +l_myMacro____x40_Init_Notation___hyg_12251____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__5); +l_myMacro____x40_Init_Notation___hyg_12251____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__6); +l_myMacro____x40_Init_Notation___hyg_12251____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__7); +l_myMacro____x40_Init_Notation___hyg_12251____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__8); +l_myMacro____x40_Init_Notation___hyg_12251____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12251____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12251____closed__9); l_term___x2a_x3e_____closed__1 = _init_l_term___x2a_x3e_____closed__1(); lean_mark_persistent(l_term___x2a_x3e_____closed__1); l_term___x2a_x3e_____closed__2 = _init_l_term___x2a_x3e_____closed__2(); @@ -42784,24 +42766,24 @@ l_term___x2a_x3e_____closed__6 = _init_l_term___x2a_x3e_____closed__6(); lean_mark_persistent(l_term___x2a_x3e_____closed__6); l_term___x2a_x3e__ = _init_l_term___x2a_x3e__(); lean_mark_persistent(l_term___x2a_x3e__); -l_myMacro____x40_Init_Notation___hyg_12388____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__1); -l_myMacro____x40_Init_Notation___hyg_12388____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__2); -l_myMacro____x40_Init_Notation___hyg_12388____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__3); -l_myMacro____x40_Init_Notation___hyg_12388____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__4); -l_myMacro____x40_Init_Notation___hyg_12388____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__5); -l_myMacro____x40_Init_Notation___hyg_12388____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__6); -l_myMacro____x40_Init_Notation___hyg_12388____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__7); -l_myMacro____x40_Init_Notation___hyg_12388____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__8); -l_myMacro____x40_Init_Notation___hyg_12388____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12388____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12388____closed__9); +l_myMacro____x40_Init_Notation___hyg_12469____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__1); +l_myMacro____x40_Init_Notation___hyg_12469____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__2); +l_myMacro____x40_Init_Notation___hyg_12469____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__3); +l_myMacro____x40_Init_Notation___hyg_12469____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__4); +l_myMacro____x40_Init_Notation___hyg_12469____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__5); +l_myMacro____x40_Init_Notation___hyg_12469____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__6); +l_myMacro____x40_Init_Notation___hyg_12469____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__7); +l_myMacro____x40_Init_Notation___hyg_12469____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__8); +l_myMacro____x40_Init_Notation___hyg_12469____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12469____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12469____closed__9); l_term___x3c_x24_x3e_____closed__1 = _init_l_term___x3c_x24_x3e_____closed__1(); lean_mark_persistent(l_term___x3c_x24_x3e_____closed__1); l_term___x3c_x24_x3e_____closed__2 = _init_l_term___x3c_x24_x3e_____closed__2(); @@ -42816,24 +42798,24 @@ l_term___x3c_x24_x3e_____closed__6 = _init_l_term___x3c_x24_x3e_____closed__6(); lean_mark_persistent(l_term___x3c_x24_x3e_____closed__6); l_term___x3c_x24_x3e__ = _init_l_term___x3c_x24_x3e__(); lean_mark_persistent(l_term___x3c_x24_x3e__); -l_myMacro____x40_Init_Notation___hyg_12605____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__1); -l_myMacro____x40_Init_Notation___hyg_12605____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__2); -l_myMacro____x40_Init_Notation___hyg_12605____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__3); -l_myMacro____x40_Init_Notation___hyg_12605____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__4); -l_myMacro____x40_Init_Notation___hyg_12605____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__5); -l_myMacro____x40_Init_Notation___hyg_12605____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__6); -l_myMacro____x40_Init_Notation___hyg_12605____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__7); -l_myMacro____x40_Init_Notation___hyg_12605____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__8); -l_myMacro____x40_Init_Notation___hyg_12605____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12605____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12605____closed__9); +l_myMacro____x40_Init_Notation___hyg_12687____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__1); +l_myMacro____x40_Init_Notation___hyg_12687____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__2); +l_myMacro____x40_Init_Notation___hyg_12687____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__3); +l_myMacro____x40_Init_Notation___hyg_12687____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__4); +l_myMacro____x40_Init_Notation___hyg_12687____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__5); +l_myMacro____x40_Init_Notation___hyg_12687____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__6); +l_myMacro____x40_Init_Notation___hyg_12687____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__7); +l_myMacro____x40_Init_Notation___hyg_12687____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__8); +l_myMacro____x40_Init_Notation___hyg_12687____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12687____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12687____closed__9); l_termDepIfThenElse___closed__1 = _init_l_termDepIfThenElse___closed__1(); lean_mark_persistent(l_termDepIfThenElse___closed__1); l_termDepIfThenElse___closed__2 = _init_l_termDepIfThenElse___closed__2(); @@ -42906,32 +42888,32 @@ l_termDepIfThenElse___closed__35 = _init_l_termDepIfThenElse___closed__35(); lean_mark_persistent(l_termDepIfThenElse___closed__35); l_termDepIfThenElse = _init_l_termDepIfThenElse(); lean_mark_persistent(l_termDepIfThenElse); -l_myMacro____x40_Init_Notation___hyg_12862____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__1); -l_myMacro____x40_Init_Notation___hyg_12862____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__2); -l_myMacro____x40_Init_Notation___hyg_12862____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__3); -l_myMacro____x40_Init_Notation___hyg_12862____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__4); -l_myMacro____x40_Init_Notation___hyg_12862____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__5); -l_myMacro____x40_Init_Notation___hyg_12862____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__6); -l_myMacro____x40_Init_Notation___hyg_12862____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__7); -l_myMacro____x40_Init_Notation___hyg_12862____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__8); -l_myMacro____x40_Init_Notation___hyg_12862____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__9); -l_myMacro____x40_Init_Notation___hyg_12862____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__10); -l_myMacro____x40_Init_Notation___hyg_12862____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__11); -l_myMacro____x40_Init_Notation___hyg_12862____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__12); -l_myMacro____x40_Init_Notation___hyg_12862____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_12862____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12862____closed__13); +l_myMacro____x40_Init_Notation___hyg_12945____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__1); +l_myMacro____x40_Init_Notation___hyg_12945____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__2); +l_myMacro____x40_Init_Notation___hyg_12945____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__3); +l_myMacro____x40_Init_Notation___hyg_12945____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__4); +l_myMacro____x40_Init_Notation___hyg_12945____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__5); +l_myMacro____x40_Init_Notation___hyg_12945____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__6); +l_myMacro____x40_Init_Notation___hyg_12945____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__7); +l_myMacro____x40_Init_Notation___hyg_12945____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__8); +l_myMacro____x40_Init_Notation___hyg_12945____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__9); +l_myMacro____x40_Init_Notation___hyg_12945____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__10); +l_myMacro____x40_Init_Notation___hyg_12945____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__11); +l_myMacro____x40_Init_Notation___hyg_12945____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__12); +l_myMacro____x40_Init_Notation___hyg_12945____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_12945____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_12945____closed__13); l_termIfThenElse___closed__1 = _init_l_termIfThenElse___closed__1(); lean_mark_persistent(l_termIfThenElse___closed__1); l_termIfThenElse___closed__2 = _init_l_termIfThenElse___closed__2(); @@ -42958,18 +42940,18 @@ l_termIfThenElse___closed__12 = _init_l_termIfThenElse___closed__12(); lean_mark_persistent(l_termIfThenElse___closed__12); l_termIfThenElse = _init_l_termIfThenElse(); lean_mark_persistent(l_termIfThenElse); -l_myMacro____x40_Init_Notation___hyg_13196____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__1); -l_myMacro____x40_Init_Notation___hyg_13196____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__2); -l_myMacro____x40_Init_Notation___hyg_13196____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__3); -l_myMacro____x40_Init_Notation___hyg_13196____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__4); -l_myMacro____x40_Init_Notation___hyg_13196____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__5); -l_myMacro____x40_Init_Notation___hyg_13196____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_13196____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13196____closed__6); +l_myMacro____x40_Init_Notation___hyg_13280____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__1); +l_myMacro____x40_Init_Notation___hyg_13280____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__2); +l_myMacro____x40_Init_Notation___hyg_13280____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__3); +l_myMacro____x40_Init_Notation___hyg_13280____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__4); +l_myMacro____x40_Init_Notation___hyg_13280____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__5); +l_myMacro____x40_Init_Notation___hyg_13280____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_13280____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13280____closed__6); l_termIfLet___x3a_x3d__Then__Else_____closed__1 = _init_l_termIfLet___x3a_x3d__Then__Else_____closed__1(); lean_mark_persistent(l_termIfLet___x3a_x3d__Then__Else_____closed__1); l_termIfLet___x3a_x3d__Then__Else_____closed__2 = _init_l_termIfLet___x3a_x3d__Then__Else_____closed__2(); @@ -43010,34 +42992,34 @@ l_termIfLet___x3a_x3d__Then__Else_____closed__19 = _init_l_termIfLet___x3a_x3d__ lean_mark_persistent(l_termIfLet___x3a_x3d__Then__Else_____closed__19); l_termIfLet___x3a_x3d__Then__Else__ = _init_l_termIfLet___x3a_x3d__Then__Else__(); lean_mark_persistent(l_termIfLet___x3a_x3d__Then__Else__); -l_myMacro____x40_Init_Notation___hyg_13362____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__1); -l_myMacro____x40_Init_Notation___hyg_13362____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__2); -l_myMacro____x40_Init_Notation___hyg_13362____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__3); -l_myMacro____x40_Init_Notation___hyg_13362____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__4); -l_myMacro____x40_Init_Notation___hyg_13362____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__5); -l_myMacro____x40_Init_Notation___hyg_13362____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__6); -l_myMacro____x40_Init_Notation___hyg_13362____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__7); -l_myMacro____x40_Init_Notation___hyg_13362____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__8); -l_myMacro____x40_Init_Notation___hyg_13362____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__9); -l_myMacro____x40_Init_Notation___hyg_13362____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__10); -l_myMacro____x40_Init_Notation___hyg_13362____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__11); -l_myMacro____x40_Init_Notation___hyg_13362____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__12); -l_myMacro____x40_Init_Notation___hyg_13362____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__13); -l_myMacro____x40_Init_Notation___hyg_13362____closed__14 = _init_l_myMacro____x40_Init_Notation___hyg_13362____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13362____closed__14); +l_myMacro____x40_Init_Notation___hyg_13447____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__1); +l_myMacro____x40_Init_Notation___hyg_13447____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__2); +l_myMacro____x40_Init_Notation___hyg_13447____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__3); +l_myMacro____x40_Init_Notation___hyg_13447____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__4); +l_myMacro____x40_Init_Notation___hyg_13447____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__5); +l_myMacro____x40_Init_Notation___hyg_13447____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__6); +l_myMacro____x40_Init_Notation___hyg_13447____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__7); +l_myMacro____x40_Init_Notation___hyg_13447____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__8); +l_myMacro____x40_Init_Notation___hyg_13447____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__9); +l_myMacro____x40_Init_Notation___hyg_13447____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__10); +l_myMacro____x40_Init_Notation___hyg_13447____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__11); +l_myMacro____x40_Init_Notation___hyg_13447____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__12); +l_myMacro____x40_Init_Notation___hyg_13447____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__13); +l_myMacro____x40_Init_Notation___hyg_13447____closed__14 = _init_l_myMacro____x40_Init_Notation___hyg_13447____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_13447____closed__14); l_term___x3c_x7c_____closed__1 = _init_l_term___x3c_x7c_____closed__1(); lean_mark_persistent(l_term___x3c_x7c_____closed__1); l_term___x3c_x7c_____closed__2 = _init_l_term___x3c_x7c_____closed__2(); @@ -43132,24 +43114,24 @@ l_term_x7b_____x3a___x2f_x2f___x7d___closed__16 = _init_l_term_x7b_____x3a___x2f lean_mark_persistent(l_term_x7b_____x3a___x2f_x2f___x7d___closed__16); l_term_x7b_____x3a___x2f_x2f___x7d = _init_l_term_x7b_____x3a___x2f_x2f___x7d(); lean_mark_persistent(l_term_x7b_____x3a___x2f_x2f___x7d); -l_myMacro____x40_Init_Notation___hyg_14133____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__1); -l_myMacro____x40_Init_Notation___hyg_14133____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__2); -l_myMacro____x40_Init_Notation___hyg_14133____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__3); -l_myMacro____x40_Init_Notation___hyg_14133____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__4); -l_myMacro____x40_Init_Notation___hyg_14133____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__5); -l_myMacro____x40_Init_Notation___hyg_14133____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__6); -l_myMacro____x40_Init_Notation___hyg_14133____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__7); -l_myMacro____x40_Init_Notation___hyg_14133____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__8); -l_myMacro____x40_Init_Notation___hyg_14133____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_14133____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14133____closed__9); +l_myMacro____x40_Init_Notation___hyg_14222____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__1); +l_myMacro____x40_Init_Notation___hyg_14222____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__2); +l_myMacro____x40_Init_Notation___hyg_14222____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__3); +l_myMacro____x40_Init_Notation___hyg_14222____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__4); +l_myMacro____x40_Init_Notation___hyg_14222____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__5); +l_myMacro____x40_Init_Notation___hyg_14222____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__6); +l_myMacro____x40_Init_Notation___hyg_14222____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__7); +l_myMacro____x40_Init_Notation___hyg_14222____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__8); +l_myMacro____x40_Init_Notation___hyg_14222____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_14222____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14222____closed__9); l_termWithout__expected__type_____closed__1 = _init_l_termWithout__expected__type_____closed__1(); lean_mark_persistent(l_termWithout__expected__type_____closed__1); l_termWithout__expected__type_____closed__2 = _init_l_termWithout__expected__type_____closed__2(); @@ -43164,32 +43146,32 @@ l_termWithout__expected__type_____closed__6 = _init_l_termWithout__expected__typ lean_mark_persistent(l_termWithout__expected__type_____closed__6); l_termWithout__expected__type__ = _init_l_termWithout__expected__type__(); lean_mark_persistent(l_termWithout__expected__type__); -l_myMacro____x40_Init_Notation___hyg_14569____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__1); -l_myMacro____x40_Init_Notation___hyg_14569____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__2); -l_myMacro____x40_Init_Notation___hyg_14569____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__3); -l_myMacro____x40_Init_Notation___hyg_14569____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__4); -l_myMacro____x40_Init_Notation___hyg_14569____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__5); -l_myMacro____x40_Init_Notation___hyg_14569____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__6); -l_myMacro____x40_Init_Notation___hyg_14569____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__7); -l_myMacro____x40_Init_Notation___hyg_14569____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__8); -l_myMacro____x40_Init_Notation___hyg_14569____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__9); -l_myMacro____x40_Init_Notation___hyg_14569____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__10); -l_myMacro____x40_Init_Notation___hyg_14569____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__11); -l_myMacro____x40_Init_Notation___hyg_14569____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__12); -l_myMacro____x40_Init_Notation___hyg_14569____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_14569____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14569____closed__13); +l_myMacro____x40_Init_Notation___hyg_14659____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__1); +l_myMacro____x40_Init_Notation___hyg_14659____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__2); +l_myMacro____x40_Init_Notation___hyg_14659____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__3); +l_myMacro____x40_Init_Notation___hyg_14659____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__4); +l_myMacro____x40_Init_Notation___hyg_14659____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__5); +l_myMacro____x40_Init_Notation___hyg_14659____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__6); +l_myMacro____x40_Init_Notation___hyg_14659____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__7); +l_myMacro____x40_Init_Notation___hyg_14659____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__8); +l_myMacro____x40_Init_Notation___hyg_14659____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__9); +l_myMacro____x40_Init_Notation___hyg_14659____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__10); +l_myMacro____x40_Init_Notation___hyg_14659____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__11); +l_myMacro____x40_Init_Notation___hyg_14659____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__12); +l_myMacro____x40_Init_Notation___hyg_14659____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_14659____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_14659____closed__13); l_term_x5b___x5d___closed__1 = _init_l_term_x5b___x5d___closed__1(); lean_mark_persistent(l_term_x5b___x5d___closed__1); l_term_x5b___x5d___closed__2 = _init_l_term_x5b___x5d___closed__2(); @@ -43238,20 +43220,20 @@ l_term_x25_x5b___x7c___x5d___closed__10 = _init_l_term_x25_x5b___x7c___x5d___clo lean_mark_persistent(l_term_x25_x5b___x7c___x5d___closed__10); l_term_x25_x5b___x7c___x5d = _init_l_term_x25_x5b___x7c___x5d(); lean_mark_persistent(l_term_x25_x5b___x7c___x5d); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__1); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6); -l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__1); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__2 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__2); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__3); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__4); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__5); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__6); +l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14838____closed__7); l_Lean_term__Matches_____closed__1 = _init_l_Lean_term__Matches_____closed__1(); lean_mark_persistent(l_Lean_term__Matches_____closed__1); l_Lean_term__Matches_____closed__2 = _init_l_Lean_term__Matches_____closed__2(); @@ -43266,38 +43248,38 @@ l_Lean_term__Matches_____closed__6 = _init_l_Lean_term__Matches_____closed__6(); lean_mark_persistent(l_Lean_term__Matches_____closed__6); l_Lean_term__Matches__ = _init_l_Lean_term__Matches__(); lean_mark_persistent(l_Lean_term__Matches__); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15); -l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__1); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__2 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__2); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__3); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__4); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__5); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__6); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__7); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__8 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__8); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__9); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__10); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__11); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__12); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__13); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__14); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__15); +l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15138____closed__16); 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(); @@ -43752,16 +43734,16 @@ l_Lean_Parser_Tactic_tacticTry_____closed__6 = _init_l_Lean_Parser_Tactic_tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticTry_____closed__6); l_Lean_Parser_Tactic_tacticTry__ = _init_l_Lean_Parser_Tactic_tacticTry__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTry__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15793____closed__5); l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1 = _init_l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1); l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2 = _init_l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2(); @@ -43802,14 +43784,14 @@ l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9); l_Lean_Parser_Tactic_tactic_xb7_x2e__ = _init_l_Lean_Parser_Tactic_tactic_xb7_x2e__(); lean_mark_persistent(l_Lean_Parser_Tactic_tactic_xb7_x2e__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16161____closed__4); l_Lean_Parser_Tactic_tacticRfl___closed__1 = _init_l_Lean_Parser_Tactic_tacticRfl___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl___closed__1); l_Lean_Parser_Tactic_tacticRfl___closed__2 = _init_l_Lean_Parser_Tactic_tacticRfl___closed__2(); @@ -43822,16 +43804,16 @@ l_Lean_Parser_Tactic_tacticRfl___closed__5 = _init_l_Lean_Parser_Tactic_tacticRf lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl___closed__5); l_Lean_Parser_Tactic_tacticRfl = _init_l_Lean_Parser_Tactic_tacticRfl(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16282____closed__5); l_Lean_Parser_Tactic_tacticAdmit___closed__1 = _init_l_Lean_Parser_Tactic_tacticAdmit___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit___closed__1); l_Lean_Parser_Tactic_tacticAdmit___closed__2 = _init_l_Lean_Parser_Tactic_tacticAdmit___closed__2(); @@ -43844,10 +43826,10 @@ l_Lean_Parser_Tactic_tacticAdmit___closed__5 = _init_l_Lean_Parser_Tactic_tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit___closed__5); l_Lean_Parser_Tactic_tacticAdmit = _init_l_Lean_Parser_Tactic_tacticAdmit(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16377____closed__2); l_Lean_Parser_Tactic_tacticInferInstance___closed__1 = _init_l_Lean_Parser_Tactic_tacticInferInstance___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance___closed__1); l_Lean_Parser_Tactic_tacticInferInstance___closed__2 = _init_l_Lean_Parser_Tactic_tacticInferInstance___closed__2(); @@ -43860,16 +43842,16 @@ l_Lean_Parser_Tactic_tacticInferInstance___closed__5 = _init_l_Lean_Parser_Tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance___closed__5); l_Lean_Parser_Tactic_tacticInferInstance = _init_l_Lean_Parser_Tactic_tacticInferInstance(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16466____closed__5); l_Lean_Parser_Tactic_locationWildcard___closed__1 = _init_l_Lean_Parser_Tactic_locationWildcard___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_locationWildcard___closed__1); l_Lean_Parser_Tactic_locationWildcard___closed__2 = _init_l_Lean_Parser_Tactic_locationWildcard___closed__2(); @@ -44224,12 +44206,12 @@ l_Lean_Parser_Tactic_tacticRefineLift_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_____closed__6); l_Lean_Parser_Tactic_tacticRefineLift__ = _init_l_Lean_Parser_Tactic_tacticRefineLift__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17201____closed__3); l_Lean_Parser_Tactic_tacticHave_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__1); l_Lean_Parser_Tactic_tacticHave_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__2(); @@ -44250,16 +44232,16 @@ l_Lean_Parser_Tactic_tacticHave_____closed__9 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__9); l_Lean_Parser_Tactic_tacticHave__ = _init_l_Lean_Parser_Tactic_tacticHave__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17405____closed__5); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2(); @@ -44276,16 +44258,16 @@ l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__ = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17545____closed__5); l_Lean_Parser_Tactic_tacticSuffices_____closed__1 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__1); l_Lean_Parser_Tactic_tacticSuffices_____closed__2 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__2(); @@ -44306,10 +44288,10 @@ l_Lean_Parser_Tactic_tacticSuffices_____closed__9 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__9); l_Lean_Parser_Tactic_tacticSuffices__ = _init_l_Lean_Parser_Tactic_tacticSuffices__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17704____closed__2); l_Lean_Parser_Tactic_tacticLet_____closed__1 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticLet_____closed__1); l_Lean_Parser_Tactic_tacticLet_____closed__2 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__2(); @@ -44340,16 +44322,16 @@ l_Lean_Parser_Tactic_tacticShow_____closed__6 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow_____closed__6); l_Lean_Parser_Tactic_tacticShow__ = _init_l_Lean_Parser_Tactic_tacticShow__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17967____closed__5); l_Lean_Parser_Tactic_letrec___closed__1 = _init_l_Lean_Parser_Tactic_letrec___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__1); l_Lean_Parser_Tactic_letrec___closed__2 = _init_l_Lean_Parser_Tactic_letrec___closed__2(); @@ -44378,12 +44360,12 @@ l_Lean_Parser_Tactic_letrec___closed__13 = _init_l_Lean_Parser_Tactic_letrec___c lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__13); l_Lean_Parser_Tactic_letrec = _init_l_Lean_Parser_Tactic_letrec(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18106____closed__3); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2(); @@ -44412,8 +44394,8 @@ l_Lean_Parser_Tactic_tacticHave_x27_____closed__6 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____closed__6); l_Lean_Parser_Tactic_tacticHave_x27__ = _init_l_Lean_Parser_Tactic_tacticHave_x27__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18489____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2(); @@ -44616,8 +44598,8 @@ l_Lean_Parser_Tactic_tacticRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_tac lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__6); l_Lean_Parser_Tactic_tacticRepeat__ = _init_l_Lean_Parser_Tactic_tacticRepeat__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19106____closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__1 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial___closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__2 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__2(); @@ -44630,36 +44612,36 @@ l_Lean_Parser_Tactic_tacticTrivial___closed__5 = _init_l_Lean_Parser_Tactic_tact lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial___closed__5); l_Lean_Parser_Tactic_tacticTrivial = _init_l_Lean_Parser_Tactic_tacticTrivial(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19514____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19588____closed__7); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2(); @@ -44674,22 +44656,22 @@ l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6); l_Lean_Parser_Tactic_tacticUnhygienic__ = _init_l_Lean_Parser_Tactic_tacticUnhygienic__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19695____closed__8); l_Lean_Parser_Attr_simp___closed__1 = _init_l_Lean_Parser_Attr_simp___closed__1(); lean_mark_persistent(l_Lean_Parser_Attr_simp___closed__1); l_Lean_Parser_Attr_simp___closed__2 = _init_l_Lean_Parser_Attr_simp___closed__2(); @@ -44728,12 +44710,12 @@ l_term_u2039___u203a___closed__9 = _init_l_term_u2039___u203a___closed__9(); lean_mark_persistent(l_term_u2039___u203a___closed__9); l_term_u2039___u203a = _init_l_term_u2039___u203a(); lean_mark_persistent(l_term_u2039___u203a); -l_myMacro____x40_Init_Notation___hyg_19735____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__1); -l_myMacro____x40_Init_Notation___hyg_19735____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__2); -l_myMacro____x40_Init_Notation___hyg_19735____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__3); +l_myMacro____x40_Init_Notation___hyg_19842____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19842____closed__1); +l_myMacro____x40_Init_Notation___hyg_19842____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19842____closed__2); +l_myMacro____x40_Init_Notation___hyg_19842____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_19842____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19842____closed__3); 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 e9d2d5d454..ebeb46bf8b 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -13,184 +13,185 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__5; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__12; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__14; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); static lean_object* l_termExists___x2c_____closed__2; lean_object* l_unexpandSigma(lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__17; size_t l_USize_add(size_t, size_t); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__8; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5; static lean_object* l_Lean_unifConstraint___closed__1; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__31; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848__match__1(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18; -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26; +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__19; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__28; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7; static lean_object* l_termExists___x2c_____closed__5; lean_object* l_Lean_unbracktedExplicitBinders; static lean_object* l_Lean_explicitBinders___closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__18; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__9; extern lean_object* l_Lean_nullKind; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1; static lean_object* l_Lean_unifConstraint___closed__8; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__11; static lean_object* l_Lean_unifConstraint___closed__2; static lean_object* l_Lean_binderIdent___closed__6; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_explicitBinders___closed__3; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440__match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unbracktedExplicitBinders___closed__5; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; static lean_object* l_termExists___x2c_____closed__1; static lean_object* l_Lean_expandExplicitBinders___closed__1; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_unifConstraint___closed__3; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__2; static lean_object* l_tacticFunext_______closed__7; lean_object* l_Lean_expandExplicitBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__30; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__15; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____lambda__1(lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__20; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_term_u03a3___x2c_____closed__5; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__1(lean_object*, lean_object*); lean_object* l_term___xd7____1; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__12; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; size_t l_USize_sub(size_t, size_t); -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12; -lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_tacticFunext_______closed__2; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13; static lean_object* l_Lean_explicitBinders___closed__2; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; static lean_object* l_unexpandExists___closed__3; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; static lean_object* l_Lean_bracketedExplicitBinders___closed__7; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unbracktedExplicitBinders___closed__4; static lean_object* l_term_u03a3_x27___x2c_____closed__3; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__31; static lean_object* l_Lean_binderIdent___closed__3; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; -static lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__8; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; static lean_object* l_tacticFunext_______closed__1; static lean_object* l_Lean_binderIdent___closed__5; lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d__; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_term_u03a3_x27___x2c__; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unifConstraintElem; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; static lean_object* l_term_u2203___x2c_____closed__7; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__26; lean_object* l_term_u2203___x2c__; static lean_object* l_tacticFunext_______closed__3; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7; static lean_object* l_Lean_unbracktedExplicitBinders___closed__9; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32; static lean_object* l_Lean_bracketedExplicitBinders___closed__3; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10; static lean_object* l_Lean_explicitBinders___closed__1; static lean_object* l_Lean_binderIdent___closed__7; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__26; lean_object* l_Lean_expandExplicitBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4; static lean_object* l_term_u03a3_x27___x2c_____closed__7; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33; static lean_object* l_Lean_unbracktedExplicitBinders___closed__8; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41; static lean_object* l_Lean_bracketedExplicitBinders___closed__5; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13; static lean_object* l_unexpandExists___closed__5; static lean_object* l_tacticFunext_______closed__5; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unifConstraint___closed__6; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_term_u03a3___x2c_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33; extern lean_object* l_Lean_nameLitKind; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1; static lean_object* l_termExists___x2c_____closed__7; static lean_object* l_term_u03a3___x2c_____closed__2; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16; +lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27_(lean_object*, lean_object*, lean_object*); static lean_object* l_solve___closed__11; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__21; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____lambda__1(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16; static lean_object* l_term_u03a3___x2c_____closed__1; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__10; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__32; lean_object* l_Lean_expandBrackedBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__14; lean_object* l_Lean_expandBrackedBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__22; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__10; static lean_object* l_solve___closed__2; -lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; lean_object* l_Lean_binderIdent; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25; static lean_object* l_term_u03a3___x2c_____closed__8; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; static lean_object* l_solve___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; static lean_object* l_term_u03a3_x27___x2c_____closed__5; static lean_object* l_term_u2203___x2c_____closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7; static lean_object* l_tacticFunext_______closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; lean_object* l_term_u03a3___x2c__; @@ -199,351 +200,350 @@ static lean_object* l_Lean_unifConstraintElem___closed__9; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__23; static lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__1; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2; static lean_object* l_solve___closed__8; +lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unifConstraint___closed__9; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__29; static lean_object* l_Lean_unifConstraintElem___closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_term_u2203___x2c_____closed__1; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__13; lean_object* l_solve; static lean_object* l_termExists___x2c_____closed__4; lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2__; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; static lean_object* l_Lean_unifConstraintElem___closed__8; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__19; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; static lean_object* l_Lean_bracketedExplicitBinders___closed__6; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_solve___closed__6; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__10; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; static lean_object* l_Lean_explicitBinders___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11; lean_object* l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term_u03a3_x27___x2c_____closed__8; static lean_object* l_termExists___x2c_____closed__8; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; static lean_object* l_Lean_unifConstraintElem___closed__1; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__7; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__24; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11; lean_object* l_Lean_expandExplicitBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unifConstraintElem___closed__2; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__24; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__7; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__10; static lean_object* l_unexpandExists___closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22; static lean_object* l_Lean_unifConstraint___closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__16; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__16; static lean_object* l_Lean_unifConstraintElem___closed__11; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_term_u03a3_x27___x2c_____closed__6; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8; static lean_object* l_Lean_unbracktedExplicitBinders___closed__10; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1; static lean_object* l_termExists___x2c_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; static lean_object* l_solve___closed__13; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__20; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19; lean_object* l_Lean_bracketedExplicitBinders; static lean_object* l_Lean_unbracktedExplicitBinders___closed__6; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unifConstraint___closed__10; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__16; static lean_object* l_term_u03a3_x27___x2c_____closed__4; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__22; static lean_object* l_Lean_bracketedExplicitBinders___closed__2; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2236____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__11; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; static lean_object* l_termExists___x2c_____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__33; static lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; lean_object* l_Array_reverse___rarg(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2245____boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6; extern lean_object* l_Lean_instInhabitedSyntax; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9; static lean_object* l_Lean_unifConstraintElem___closed__5; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__19; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__20; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14; -lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6; static lean_object* l_term_u2203___x2c_____closed__5; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__14; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__28; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(lean_object*); static lean_object* l_tacticFunext_______closed__8; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_unifConstraintElem___closed__6; +lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__15; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2; static lean_object* l_term_u03a3___x2c_____closed__3; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__18; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3; lean_object* l_tacticFunext____; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2; static lean_object* l_Lean_bracketedExplicitBinders___closed__1; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__3; static lean_object* l_Lean_bracketedExplicitBinders___closed__8; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34; static lean_object* l_Lean_bracketedExplicitBinders___closed__9; static lean_object* l_tacticFunext_______closed__9; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10; static lean_object* l_unexpandPSigma___closed__1; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29; lean_object* l_unexpandPSigma(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7; static lean_object* l_solve___closed__12; static lean_object* l_unexpandSigma___closed__1; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34; static lean_object* l_Lean_bracketedExplicitBinders___closed__4; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8; static lean_object* l_term___xd7_x27_____closed__4; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unbracktedExplicitBinders___closed__11; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__2(lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__6; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14; lean_object* l_String_intercalate(lean_object*, lean_object*); static lean_object* l_term___xd7____1___closed__5; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__2(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__23; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__13; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__21; static lean_object* l_solve___closed__7; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17; lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__25; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18; static lean_object* l_term___xd7____1___closed__3; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14; +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__6; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5; static lean_object* l_term___xd7_x27_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1(lean_object*); static lean_object* l_tacticFunext_______closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5; static lean_object* l_term_u03a3_x27___x2c_____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_term_u03a3_x27___x2c_____closed__2; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; static lean_object* l_term___xd7____1___closed__7; static lean_object* l_tacticFunext_______closed__11; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__25; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__29; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1; static lean_object* l_term_u03a3___x2c_____closed__4; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10; static lean_object* l_term___xd7_x27_____closed__1; static lean_object* l_term_u03a3___x2c_____closed__7; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__4; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11; static lean_object* l_solve___closed__3; static lean_object* l_tacticFunext_______closed__10; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1(lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unbracktedExplicitBinders___closed__7; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_solve___closed__15; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1918_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2163_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2236_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1923_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2171_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2245_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416_(lean_object*, lean_object*, lean_object*); lean_object* l_term___xd7_x27__; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__9; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1923____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9; static lean_object* l_solve___closed__14; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; static lean_object* l_solve___closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848__match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860__match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2203___x2c_____closed__3; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1918____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_term___xd7____1___closed__2; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860__match__1(lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__11; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2; +static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6; static lean_object* l_term___xd7____1___closed__8; lean_object* l_Lean_expandBrackedBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__13; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_binderIdent___closed__8; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; static lean_object* l_term___xd7_x27_____closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2; lean_object* l_unexpandExists(lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_binderIdent___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4; static lean_object* l_solve___closed__10; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__12; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12; static lean_object* l_unexpandExists___closed__1; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2171____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_termExists___x2c__; static lean_object* l_Lean_unifConstraintElem___closed__7; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36; lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__21; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440__match__1(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__23; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8; static lean_object* l_tacticFunext_______closed__12; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17; static lean_object* l_Lean_unbracktedExplicitBinders___closed__13; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; static lean_object* l_Lean_binderIdent___closed__2; static lean_object* l_term___xd7____1___closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_binderIdent___closed__1; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12; static lean_object* l_term___xd7____1___closed__1; lean_object* l_Lean_unifConstraint; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39; static lean_object* l_solve___closed__4; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__27; static lean_object* l_Lean_unbracktedExplicitBinders___closed__1; static lean_object* l_term___xd7_x27_____closed__2; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__18; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__5; static lean_object* l_term_u2203___x2c_____closed__8; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__9; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12; static lean_object* l_solve___closed__9; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__30; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unbracktedExplicitBinders___closed__3; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__15; static lean_object* l_term_u2203___x2c_____closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__8; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__8; -static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__17; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__7; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__17; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__11; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28; uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; static lean_object* l_Lean_unifConstraintElem___closed__10; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2; static lean_object* l_Lean_unbracktedExplicitBinders___closed__12; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__1; static lean_object* l_term_u2203___x2c_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__27; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31; static lean_object* l_term___xd7____1___closed__6; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__1; static lean_object* l_term___xd7_x27_____closed__3; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__4; -static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__2; static lean_object* l_Lean_unbracktedExplicitBinders___closed__2; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4; static lean_object* l_term___xd7_x27_____closed__7; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__4; +static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(lean_object*); -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4; static lean_object* l_Lean_unifConstraint___closed__5; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__3; static lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__1; +static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__1; static lean_object* l_Lean_unifConstraintElem___closed__3; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2163____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; static lean_object* l_Lean_unifConstraint___closed__7; lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_explicitBinders; -static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8; static lean_object* _init_l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__1() { _start: { @@ -786,7 +786,7 @@ x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__23; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1() { _start: { lean_object* x_1; @@ -794,17 +794,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3() { _start: { lean_object* x_1; @@ -812,17 +812,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5() { _start: { lean_object* x_1; @@ -830,17 +830,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7() { _start: { lean_object* x_1; @@ -848,22 +848,22 @@ x_1 = lean_mk_string("Macro.trace"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -871,7 +871,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10() { _start: { lean_object* x_1; @@ -879,17 +879,17 @@ x_1 = lean_mk_string("Macro"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12() { _start: { lean_object* x_1; @@ -897,61 +897,61 @@ x_1 = lean_mk_string("trace"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15; 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_myMacro____x40_Init_NotationExtra___hyg_26____closed__17() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16; 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_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18() { _start: { lean_object* x_1; @@ -959,17 +959,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20() { _start: { lean_object* x_1; @@ -977,17 +977,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22() { _start: { lean_object* x_1; @@ -995,7 +995,7 @@ x_1 = lean_mk_string("("); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23() { _start: { lean_object* x_1; @@ -1003,17 +1003,17 @@ x_1 = lean_mk_string("termS!_"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25() { _start: { lean_object* x_1; @@ -1021,7 +1021,7 @@ x_1 = lean_mk_string("s!"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -1030,7 +1030,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -1039,19 +1039,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; 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_myMacro____x40_Init_NotationExtra___hyg_26____closed__29() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29() { _start: { lean_object* x_1; @@ -1059,7 +1059,7 @@ x_1 = lean_mk_string(")"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -1068,7 +1068,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31() { _start: { lean_object* x_1; @@ -1076,17 +1076,17 @@ x_1 = lean_mk_string("quotedName"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33() { _start: { lean_object* x_1; @@ -1094,7 +1094,7 @@ x_1 = lean_mk_string("."); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34() { _start: { lean_object* x_1; @@ -1102,7 +1102,7 @@ x_1 = lean_mk_string("`"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -1111,7 +1111,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_26_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1137,7 +1137,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -1148,11 +1148,11 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13; +x_17 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); x_19 = lean_box(0); -x_20 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9; -x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17; +x_20 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9; +x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17; lean_inc(x_14); x_22 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_22, 0, x_14); @@ -1163,39 +1163,39 @@ x_23 = l_Lean_Syntax_getId(x_9); lean_dec(x_9); lean_inc(x_23); x_24 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_19, x_23); -x_25 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_25 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_14); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_14); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25; +x_27 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25; lean_inc(x_14); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_14); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_30 = lean_array_push(x_29, x_28); x_31 = lean_array_push(x_30, x_11); -x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24; +x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24; 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_29, x_33); -x_35 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_35 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_36 = lean_array_push(x_34, x_35); -x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_39 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_14); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_41 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_42 = lean_array_push(x_41, x_26); x_43 = lean_array_push(x_42, x_38); x_44 = lean_array_push(x_43, x_40); -x_45 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; +x_45 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -1210,7 +1210,7 @@ x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_37); lean_ctor_set(x_51, 1, x_50); x_52 = lean_array_push(x_47, x_51); -x_53 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_53 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -1224,17 +1224,17 @@ lean_dec(x_23); x_55 = lean_ctor_get(x_24, 0); lean_inc(x_55); lean_dec(x_24); -x_56 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33; +x_56 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33; x_57 = l_String_intercalate(x_56, x_55); -x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34; +x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34; x_59 = lean_string_append(x_58, x_57); lean_dec(x_57); x_60 = l_Lean_nameLitKind; x_61 = lean_box(2); x_62 = l_Lean_Syntax_mkLit(x_60, x_59, x_61); -x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_64 = lean_array_push(x_63, x_62); -x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32; +x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); @@ -1244,7 +1244,7 @@ x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_37); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_push(x_47, x_69); -x_71 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_71 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); @@ -1265,11 +1265,11 @@ lean_inc(x_75); x_76 = lean_ctor_get(x_2, 1); lean_inc(x_76); lean_dec(x_2); -x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13; +x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13; x_78 = l_Lean_addMacroScope(x_76, x_77, x_75); x_79 = lean_box(0); -x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9; -x_81 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17; +x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9; +x_81 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17; lean_inc(x_73); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_73); @@ -1280,39 +1280,39 @@ x_83 = l_Lean_Syntax_getId(x_9); lean_dec(x_9); lean_inc(x_83); x_84 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_79, x_83); -x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_73); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_73); lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25; +x_87 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25; lean_inc(x_73); x_88 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_88, 0, x_73); lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_89 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_90 = lean_array_push(x_89, x_88); x_91 = lean_array_push(x_90, x_11); -x_92 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24; +x_92 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); x_94 = lean_array_push(x_89, x_93); -x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_96 = lean_array_push(x_94, x_95); -x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; x_100 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_100, 0, x_73); lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_101 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_102 = lean_array_push(x_101, x_86); x_103 = lean_array_push(x_102, x_98); x_104 = lean_array_push(x_103, x_100); -x_105 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; +x_105 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; x_106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); @@ -1327,7 +1327,7 @@ x_111 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_111, 0, x_97); lean_ctor_set(x_111, 1, x_110); x_112 = lean_array_push(x_107, x_111); -x_113 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_113 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_114 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); @@ -1343,17 +1343,17 @@ lean_dec(x_83); x_116 = lean_ctor_get(x_84, 0); lean_inc(x_116); lean_dec(x_84); -x_117 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33; +x_117 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33; x_118 = l_String_intercalate(x_117, x_116); -x_119 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34; +x_119 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34; x_120 = lean_string_append(x_119, x_118); lean_dec(x_118); x_121 = l_Lean_nameLitKind; x_122 = lean_box(2); x_123 = l_Lean_Syntax_mkLit(x_121, x_120, x_122); -x_124 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_124 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_125 = lean_array_push(x_124, x_123); -x_126 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32; +x_126 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32; x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); @@ -1363,7 +1363,7 @@ x_130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_130, 0, x_97); lean_ctor_set(x_130, 1, x_129); x_131 = lean_array_push(x_107, x_130); -x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_133 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_133, 0, x_132); lean_ctor_set(x_133, 1, x_131); @@ -1634,7 +1634,7 @@ static lean_object* _init_l_Lean_bracketedExplicitBinders___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -1686,7 +1686,7 @@ static lean_object* _init_l_Lean_bracketedExplicitBinders___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -1917,7 +1917,7 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1935,7 +1935,7 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1953,7 +1953,7 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1979,7 +1979,7 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1997,7 +1997,7 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2034,7 +2034,7 @@ lean_dec(x_14); if (lean_obj_tag(x_3) == 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; 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; -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_7); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_7); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -2050,14 +2050,14 @@ lean_inc(x_17); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_17); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_23 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_24 = lean_array_push(x_23, x_22); x_25 = l_Lean_expandExplicitBindersAux_loop___closed__6; 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_23, x_26); -x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -2065,7 +2065,7 @@ x_30 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_17); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_33 = lean_array_push(x_32, x_29); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_5); @@ -2073,7 +2073,7 @@ x_36 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_38 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_39 = lean_array_push(x_38, x_20); x_40 = lean_array_push(x_39, x_37); x_41 = l_Lean_expandExplicitBindersAux_loop___closed__2; @@ -2087,7 +2087,7 @@ lean_ctor_set(x_44, 1, x_43); lean_inc(x_1); x_45 = lean_array_push(x_38, x_1); x_46 = lean_array_push(x_45, x_44); -x_47 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_47 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -2101,7 +2101,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; x_50 = lean_ctor_get(x_3, 0); lean_inc(x_50); -x_51 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_7); +x_51 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_7); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); @@ -2117,14 +2117,14 @@ lean_inc(x_52); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_52); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_59 = lean_array_push(x_58, x_57); x_60 = l_Lean_expandExplicitBindersAux_loop___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 = lean_array_push(x_58, x_61); -x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); @@ -2133,7 +2133,7 @@ lean_inc(x_52); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_52); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_68 = lean_array_push(x_67, x_66); x_69 = lean_array_push(x_68, x_50); x_70 = l_Lean_expandExplicitBindersAux_loop___closed__11; @@ -2158,7 +2158,7 @@ x_80 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_52); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_82 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_83 = lean_array_push(x_82, x_79); x_84 = lean_array_push(x_83, x_81); x_85 = lean_array_push(x_84, x_5); @@ -2179,7 +2179,7 @@ lean_ctor_set(x_93, 1, x_92); lean_inc(x_1); x_94 = lean_array_push(x_67, x_1); x_95 = lean_array_push(x_94, x_93); -x_96 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_96 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -2194,7 +2194,7 @@ else if (lean_obj_tag(x_3) == 0) { lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_99 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_7); +x_99 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_7); x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); x_101 = lean_ctor_get(x_99, 1); @@ -2205,9 +2205,9 @@ lean_inc(x_100); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_100); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_105 = lean_array_push(x_104, x_14); -x_106 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_106 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); @@ -2215,7 +2215,7 @@ x_108 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_100); lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_110 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_111 = lean_array_push(x_110, x_107); x_112 = lean_array_push(x_111, x_109); x_113 = lean_array_push(x_112, x_5); @@ -2223,7 +2223,7 @@ x_114 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); -x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_117 = lean_array_push(x_116, x_103); x_118 = lean_array_push(x_117, x_115); x_119 = l_Lean_expandExplicitBindersAux_loop___closed__2; @@ -2237,7 +2237,7 @@ lean_ctor_set(x_122, 1, x_121); lean_inc(x_1); x_123 = lean_array_push(x_116, x_1); x_124 = lean_array_push(x_123, x_122); -x_125 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_125 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -2251,7 +2251,7 @@ else lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; x_128 = lean_ctor_get(x_3, 0); lean_inc(x_128); -x_129 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_7); +x_129 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_7); x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); x_131 = lean_ctor_get(x_129, 1); @@ -2262,9 +2262,9 @@ lean_inc(x_130); x_133 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_133, 0, x_130); lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_134 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_135 = lean_array_push(x_134, x_14); -x_136 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_136 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_137 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_137, 0, x_136); lean_ctor_set(x_137, 1, x_135); @@ -2273,7 +2273,7 @@ lean_inc(x_130); x_139 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_139, 0, x_130); lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_141 = lean_array_push(x_140, x_139); x_142 = lean_array_push(x_141, x_128); x_143 = l_Lean_expandExplicitBindersAux_loop___closed__11; @@ -2298,7 +2298,7 @@ x_153 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_154 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_154, 0, x_130); lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_156 = lean_array_push(x_155, x_152); x_157 = lean_array_push(x_156, x_154); x_158 = lean_array_push(x_157, x_5); @@ -2319,7 +2319,7 @@ lean_ctor_set(x_166, 1, x_165); lean_inc(x_1); x_167 = lean_array_push(x_140, x_1); x_168 = lean_array_push(x_167, x_166); -x_169 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_169 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); @@ -2628,7 +2628,7 @@ _start: lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = lean_ctor_get(x_4, 5); x_7 = l_Lean_mkIdentFrom(x_6, x_1); -x_8 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_8 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_9 = lean_array_push(x_8, x_2); x_10 = l_Lean_expandBrackedBindersAux(x_7, x_9, x_3, x_4, x_5); lean_dec(x_9); @@ -3264,7 +3264,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Init_NotationE _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3305,7 +3305,7 @@ else { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; x_11 = lean_array_uget(x_3, x_5); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_7, x_8); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_7, x_8); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -3374,7 +3374,7 @@ lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody(lean_object* x_1, _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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; uint8_t x_25; -x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); @@ -3388,7 +3388,7 @@ lean_ctor_set(x_11, 0, x_6); lean_ctor_set(x_11, 1, x_10); x_12 = lean_unsigned_to_nat(2u); x_13 = l_Lean_Syntax_getArg(x_2, x_12); -x_14 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_14 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_15 = lean_array_push(x_14, x_9); x_16 = lean_array_push(x_15, x_11); x_17 = lean_array_push(x_16, x_13); @@ -3447,17 +3447,17 @@ lean_dec(x_2); return x_5; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2() { _start: { lean_object* x_1; @@ -3465,17 +3465,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4() { _start: { lean_object* x_1; @@ -3483,17 +3483,17 @@ x_1 = lean_mk_string("declaration"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6() { _start: { lean_object* x_1; @@ -3501,17 +3501,17 @@ x_1 = lean_mk_string("declModifiers"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8() { _start: { lean_object* x_1; @@ -3519,17 +3519,17 @@ x_1 = lean_mk_string("attributes"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10() { _start: { lean_object* x_1; @@ -3537,7 +3537,7 @@ x_1 = lean_mk_string("@["); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11() { _start: { lean_object* x_1; @@ -3545,17 +3545,17 @@ x_1 = lean_mk_string("attrInstance"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13() { _start: { lean_object* x_1; @@ -3563,17 +3563,17 @@ x_1 = lean_mk_string("Attr"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15() { _start: { lean_object* x_1; @@ -3581,17 +3581,17 @@ x_1 = lean_mk_string("simple"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17() { _start: { lean_object* x_1; @@ -3599,22 +3599,22 @@ x_1 = lean_mk_string("unificationHint"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3622,17 +3622,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -3641,17 +3641,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23() { _start: { lean_object* x_1; @@ -3659,17 +3659,17 @@ x_1 = lean_mk_string("def"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25() { _start: { lean_object* x_1; @@ -3677,17 +3677,17 @@ x_1 = lean_mk_string("declId"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27() { _start: { lean_object* x_1; @@ -3695,17 +3695,17 @@ x_1 = lean_mk_string("optDeclSig"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29() { _start: { lean_object* x_1; @@ -3713,17 +3713,17 @@ x_1 = lean_mk_string("sort"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31() { _start: { lean_object* x_1; @@ -3731,7 +3731,7 @@ x_1 = lean_mk_string("Sort"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32() { _start: { lean_object* x_1; @@ -3739,27 +3739,27 @@ x_1 = lean_mk_string("Level"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35() { _start: { lean_object* x_1; @@ -3767,17 +3767,17 @@ x_1 = lean_mk_string("declValSimple"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37() { _start: { lean_object* x_1; @@ -3785,7 +3785,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -3794,7 +3794,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39() { _start: { lean_object* x_1; @@ -3802,22 +3802,22 @@ x_1 = lean_mk_string("hint"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3825,17 +3825,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3858,7 +3858,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1; +x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -3942,7 +3942,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_37); +x_38 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_37); x_39 = !lean_is_exclusive(x_38); if (x_39 == 0) { @@ -3953,38 +3953,38 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_2, 1); lean_inc(x_42); lean_dec(x_2); -x_43 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10; +x_43 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10; lean_inc(x_40); x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_40); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20; +x_45 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; x_46 = l_Lean_addMacroScope(x_42, x_45, x_41); x_47 = lean_box(0); -x_48 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19; +x_48 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; lean_inc(x_40); x_49 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_49, 0, x_40); lean_ctor_set(x_49, 1, x_48); lean_ctor_set(x_49, 2, x_46); lean_ctor_set(x_49, 3, x_47); -x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_53 = lean_array_push(x_51, x_52); -x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16; +x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_50, x_9); x_57 = lean_array_push(x_56, x_55); -x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12; +x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; 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 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_60 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_61 = lean_array_push(x_60, x_59); -x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); @@ -3993,11 +3993,11 @@ lean_inc(x_40); x_65 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_65, 0, x_40); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_66 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_67 = lean_array_push(x_66, x_44); x_68 = lean_array_push(x_67, x_63); x_69 = lean_array_push(x_68, x_65); -x_70 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9; +x_70 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9; x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); @@ -4005,28 +4005,28 @@ x_72 = lean_array_push(x_60, x_71); x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_62); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22; +x_74 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; x_75 = lean_array_push(x_74, x_73); x_76 = lean_array_push(x_75, x_52); x_77 = lean_array_push(x_76, x_52); x_78 = lean_array_push(x_77, x_52); x_79 = lean_array_push(x_78, x_52); -x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; +x_82 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; lean_inc(x_40); x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_40); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_50, x_22); x_85 = lean_array_push(x_84, x_52); -x_86 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26; +x_86 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26; 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_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_88 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_89 = l_Array_append___rarg(x_88, x_34); lean_dec(x_34); x_90 = lean_alloc_ctor(1, 2, 0); @@ -4037,7 +4037,7 @@ lean_inc(x_40); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_40); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31; +x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31; lean_inc(x_40); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_40); @@ -4048,7 +4048,7 @@ x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_40); lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_push(x_60, x_96); -x_98 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34; +x_98 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -4058,7 +4058,7 @@ lean_ctor_set(x_101, 0, x_62); lean_ctor_set(x_101, 1, x_100); x_102 = lean_array_push(x_50, x_94); x_103 = lean_array_push(x_102, x_101); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30; +x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -4074,33 +4074,33 @@ lean_ctor_set(x_111, 0, x_62); lean_ctor_set(x_111, 1, x_110); x_112 = lean_array_push(x_50, x_90); x_113 = lean_array_push(x_112, x_111); -x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28; +x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); -x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; x_117 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_117, 0, x_40); lean_ctor_set(x_117, 1, x_116); x_118 = lean_array_push(x_66, x_117); x_119 = lean_array_push(x_118, x_36); x_120 = lean_array_push(x_119, x_52); -x_121 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36; +x_121 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36; 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_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_123 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_124 = lean_array_push(x_123, x_83); x_125 = lean_array_push(x_124, x_87); x_126 = lean_array_push(x_125, x_115); x_127 = lean_array_push(x_126, x_122); -x_128 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24; +x_128 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); x_130 = lean_array_push(x_50, x_81); x_131 = lean_array_push(x_130, x_129); -x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5; +x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; x_133 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_133, 0, x_132); lean_ctor_set(x_133, 1, x_131); @@ -4120,38 +4120,38 @@ lean_inc(x_136); x_137 = lean_ctor_get(x_2, 1); lean_inc(x_137); lean_dec(x_2); -x_138 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10; +x_138 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10; lean_inc(x_134); x_139 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_139, 0, x_134); lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20; +x_140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; x_141 = l_Lean_addMacroScope(x_137, x_140, x_136); x_142 = lean_box(0); -x_143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19; +x_143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; lean_inc(x_134); x_144 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_144, 0, x_134); lean_ctor_set(x_144, 1, x_143); lean_ctor_set(x_144, 2, x_141); lean_ctor_set(x_144, 3, x_142); -x_145 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_145 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_146 = lean_array_push(x_145, x_144); -x_147 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_147 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_148 = lean_array_push(x_146, x_147); -x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16; +x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16; x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_148); x_151 = lean_array_push(x_145, x_9); x_152 = lean_array_push(x_151, x_150); -x_153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12; +x_153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); -x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_156 = lean_array_push(x_155, x_154); -x_157 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_157 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); @@ -4160,11 +4160,11 @@ lean_inc(x_134); x_160 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_160, 0, x_134); lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_161 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_162 = lean_array_push(x_161, x_139); x_163 = lean_array_push(x_162, x_158); x_164 = lean_array_push(x_163, x_160); -x_165 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9; +x_165 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9; x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); @@ -4172,28 +4172,28 @@ x_167 = lean_array_push(x_155, x_166); x_168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_168, 0, x_157); lean_ctor_set(x_168, 1, x_167); -x_169 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22; +x_169 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; x_170 = lean_array_push(x_169, x_168); x_171 = lean_array_push(x_170, x_147); x_172 = lean_array_push(x_171, x_147); x_173 = lean_array_push(x_172, x_147); x_174 = lean_array_push(x_173, x_147); -x_175 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +x_175 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; x_176 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_176, 0, x_175); lean_ctor_set(x_176, 1, x_174); -x_177 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; +x_177 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; lean_inc(x_134); x_178 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_178, 0, x_134); lean_ctor_set(x_178, 1, x_177); x_179 = lean_array_push(x_145, x_22); x_180 = lean_array_push(x_179, x_147); -x_181 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26; +x_181 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26; x_182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_182, 0, x_181); lean_ctor_set(x_182, 1, x_180); -x_183 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_183 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_184 = l_Array_append___rarg(x_183, x_34); lean_dec(x_34); x_185 = lean_alloc_ctor(1, 2, 0); @@ -4204,7 +4204,7 @@ lean_inc(x_134); x_187 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_187, 0, x_134); lean_ctor_set(x_187, 1, x_186); -x_188 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31; +x_188 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31; lean_inc(x_134); x_189 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_189, 0, x_134); @@ -4215,7 +4215,7 @@ x_191 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_191, 0, x_134); lean_ctor_set(x_191, 1, x_190); x_192 = lean_array_push(x_155, x_191); -x_193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34; +x_193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34; x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_192); @@ -4225,7 +4225,7 @@ lean_ctor_set(x_196, 0, x_157); lean_ctor_set(x_196, 1, x_195); x_197 = lean_array_push(x_145, x_189); x_198 = lean_array_push(x_197, x_196); -x_199 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30; +x_199 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30; x_200 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_200, 0, x_199); lean_ctor_set(x_200, 1, x_198); @@ -4241,33 +4241,33 @@ lean_ctor_set(x_206, 0, x_157); lean_ctor_set(x_206, 1, x_205); x_207 = lean_array_push(x_145, x_185); x_208 = lean_array_push(x_207, x_206); -x_209 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28; +x_209 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28; 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_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_211 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; x_212 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_212, 0, x_134); lean_ctor_set(x_212, 1, x_211); x_213 = lean_array_push(x_161, x_212); x_214 = lean_array_push(x_213, x_36); x_215 = lean_array_push(x_214, x_147); -x_216 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36; +x_216 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36; x_217 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_217, 0, x_216); lean_ctor_set(x_217, 1, x_215); -x_218 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_218 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_219 = lean_array_push(x_218, x_178); x_220 = lean_array_push(x_219, x_182); x_221 = lean_array_push(x_220, x_210); x_222 = lean_array_push(x_221, x_217); -x_223 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24; +x_223 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24; x_224 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_224, 0, x_223); lean_ctor_set(x_224, 1, x_222); x_225 = lean_array_push(x_145, x_176); x_226 = lean_array_push(x_225, x_224); -x_227 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5; +x_227 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_227); lean_ctor_set(x_228, 1, x_226); @@ -4301,7 +4301,7 @@ lean_inc(x_239); x_240 = lean_ctor_get(x_238, 1); lean_inc(x_240); lean_dec(x_238); -x_241 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_240); +x_241 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_240); x_242 = !lean_is_exclusive(x_241); if (x_242 == 0) { @@ -4312,40 +4312,40 @@ lean_inc(x_244); x_245 = lean_ctor_get(x_2, 1); lean_inc(x_245); lean_dec(x_2); -x_246 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10; +x_246 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10; lean_inc(x_243); x_247 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_247, 0, x_243); lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20; +x_248 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; lean_inc(x_244); lean_inc(x_245); x_249 = l_Lean_addMacroScope(x_245, x_248, x_244); x_250 = lean_box(0); -x_251 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19; +x_251 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; lean_inc(x_243); x_252 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_252, 0, x_243); lean_ctor_set(x_252, 1, x_251); lean_ctor_set(x_252, 2, x_249); lean_ctor_set(x_252, 3, x_250); -x_253 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_253 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_254 = lean_array_push(x_253, x_252); -x_255 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_255 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_256 = lean_array_push(x_254, x_255); -x_257 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16; +x_257 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16; 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_253, x_9); x_260 = lean_array_push(x_259, x_258); -x_261 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12; +x_261 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; x_262 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_262, 0, x_261); lean_ctor_set(x_262, 1, x_260); -x_263 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_263 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_264 = lean_array_push(x_263, x_262); -x_265 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_265 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_266 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_266, 0, x_265); lean_ctor_set(x_266, 1, x_264); @@ -4354,11 +4354,11 @@ lean_inc(x_243); x_268 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_268, 0, x_243); lean_ctor_set(x_268, 1, x_267); -x_269 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_269 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_270 = lean_array_push(x_269, x_247); x_271 = lean_array_push(x_270, x_266); x_272 = lean_array_push(x_271, x_268); -x_273 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9; +x_273 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9; x_274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_274, 0, x_273); lean_ctor_set(x_274, 1, x_272); @@ -4366,24 +4366,24 @@ x_275 = lean_array_push(x_263, x_274); x_276 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_276, 0, x_265); lean_ctor_set(x_276, 1, x_275); -x_277 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22; +x_277 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; x_278 = lean_array_push(x_277, x_276); x_279 = lean_array_push(x_278, x_255); x_280 = lean_array_push(x_279, x_255); x_281 = lean_array_push(x_280, x_255); x_282 = lean_array_push(x_281, x_255); -x_283 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +x_283 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; x_284 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_284, 0, x_283); lean_ctor_set(x_284, 1, x_282); -x_285 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; +x_285 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; lean_inc(x_243); x_286 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_286, 0, x_243); lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42; +x_287 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42; x_288 = l_Lean_addMacroScope(x_245, x_287, x_244); -x_289 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41; +x_289 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41; lean_inc(x_243); x_290 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_290, 0, x_243); @@ -4392,11 +4392,11 @@ lean_ctor_set(x_290, 2, x_288); lean_ctor_set(x_290, 3, x_250); x_291 = lean_array_push(x_253, x_290); x_292 = lean_array_push(x_291, x_255); -x_293 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26; +x_293 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26; x_294 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_294, 0, x_293); lean_ctor_set(x_294, 1, x_292); -x_295 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_295 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_296 = l_Array_append___rarg(x_295, x_237); lean_dec(x_237); x_297 = lean_alloc_ctor(1, 2, 0); @@ -4407,7 +4407,7 @@ lean_inc(x_243); x_299 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_299, 0, x_243); lean_ctor_set(x_299, 1, x_298); -x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31; +x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31; lean_inc(x_243); x_301 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_301, 0, x_243); @@ -4418,7 +4418,7 @@ x_303 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_303, 0, x_243); lean_ctor_set(x_303, 1, x_302); x_304 = lean_array_push(x_263, x_303); -x_305 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34; +x_305 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34; x_306 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_306, 0, x_305); lean_ctor_set(x_306, 1, x_304); @@ -4428,7 +4428,7 @@ lean_ctor_set(x_308, 0, x_265); lean_ctor_set(x_308, 1, x_307); x_309 = lean_array_push(x_253, x_301); x_310 = lean_array_push(x_309, x_308); -x_311 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30; +x_311 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30; x_312 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_312, 0, x_311); lean_ctor_set(x_312, 1, x_310); @@ -4444,33 +4444,33 @@ lean_ctor_set(x_318, 0, x_265); lean_ctor_set(x_318, 1, x_317); x_319 = lean_array_push(x_253, x_297); x_320 = lean_array_push(x_319, x_318); -x_321 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28; +x_321 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28; x_322 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_322, 0, x_321); lean_ctor_set(x_322, 1, x_320); -x_323 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_323 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; x_324 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_324, 0, x_243); lean_ctor_set(x_324, 1, x_323); x_325 = lean_array_push(x_269, x_324); x_326 = lean_array_push(x_325, x_239); x_327 = lean_array_push(x_326, x_255); -x_328 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36; +x_328 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36; x_329 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_329, 0, x_328); lean_ctor_set(x_329, 1, x_327); -x_330 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_330 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_331 = lean_array_push(x_330, x_286); x_332 = lean_array_push(x_331, x_294); x_333 = lean_array_push(x_332, x_322); x_334 = lean_array_push(x_333, x_329); -x_335 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24; +x_335 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24; x_336 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_336, 0, x_335); lean_ctor_set(x_336, 1, x_334); x_337 = lean_array_push(x_253, x_284); x_338 = lean_array_push(x_337, x_336); -x_339 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5; +x_339 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; x_340 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_340, 0, x_339); lean_ctor_set(x_340, 1, x_338); @@ -4490,40 +4490,40 @@ lean_inc(x_343); x_344 = lean_ctor_get(x_2, 1); lean_inc(x_344); lean_dec(x_2); -x_345 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10; +x_345 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10; lean_inc(x_341); x_346 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_346, 0, x_341); lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20; +x_347 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; lean_inc(x_343); lean_inc(x_344); x_348 = l_Lean_addMacroScope(x_344, x_347, x_343); x_349 = lean_box(0); -x_350 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19; +x_350 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; lean_inc(x_341); x_351 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_351, 0, x_341); lean_ctor_set(x_351, 1, x_350); lean_ctor_set(x_351, 2, x_348); lean_ctor_set(x_351, 3, x_349); -x_352 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_352 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_353 = lean_array_push(x_352, x_351); -x_354 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_354 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_355 = lean_array_push(x_353, x_354); -x_356 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16; +x_356 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16; x_357 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_357, 0, x_356); lean_ctor_set(x_357, 1, x_355); x_358 = lean_array_push(x_352, x_9); x_359 = lean_array_push(x_358, x_357); -x_360 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12; +x_360 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; x_361 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_361, 0, x_360); lean_ctor_set(x_361, 1, x_359); -x_362 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_362 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_363 = lean_array_push(x_362, x_361); -x_364 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_364 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_365 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_365, 0, x_364); lean_ctor_set(x_365, 1, x_363); @@ -4532,11 +4532,11 @@ lean_inc(x_341); x_367 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_367, 0, x_341); lean_ctor_set(x_367, 1, x_366); -x_368 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_368 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_369 = lean_array_push(x_368, x_346); x_370 = lean_array_push(x_369, x_365); x_371 = lean_array_push(x_370, x_367); -x_372 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9; +x_372 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9; x_373 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_373, 0, x_372); lean_ctor_set(x_373, 1, x_371); @@ -4544,24 +4544,24 @@ x_374 = lean_array_push(x_362, x_373); x_375 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_375, 0, x_364); lean_ctor_set(x_375, 1, x_374); -x_376 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22; +x_376 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; x_377 = lean_array_push(x_376, x_375); x_378 = lean_array_push(x_377, x_354); x_379 = lean_array_push(x_378, x_354); x_380 = lean_array_push(x_379, x_354); x_381 = lean_array_push(x_380, x_354); -x_382 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +x_382 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; x_383 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_383, 0, x_382); lean_ctor_set(x_383, 1, x_381); -x_384 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23; +x_384 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23; lean_inc(x_341); x_385 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_385, 0, x_341); lean_ctor_set(x_385, 1, x_384); -x_386 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42; +x_386 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42; x_387 = l_Lean_addMacroScope(x_344, x_386, x_343); -x_388 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41; +x_388 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41; lean_inc(x_341); x_389 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_389, 0, x_341); @@ -4570,11 +4570,11 @@ lean_ctor_set(x_389, 2, x_387); lean_ctor_set(x_389, 3, x_349); x_390 = lean_array_push(x_352, x_389); x_391 = lean_array_push(x_390, x_354); -x_392 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26; +x_392 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26; 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 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_394 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_395 = l_Array_append___rarg(x_394, x_237); lean_dec(x_237); x_396 = lean_alloc_ctor(1, 2, 0); @@ -4585,7 +4585,7 @@ lean_inc(x_341); x_398 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_398, 0, x_341); lean_ctor_set(x_398, 1, x_397); -x_399 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31; +x_399 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31; lean_inc(x_341); x_400 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_400, 0, x_341); @@ -4596,7 +4596,7 @@ x_402 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_402, 0, x_341); lean_ctor_set(x_402, 1, x_401); x_403 = lean_array_push(x_362, x_402); -x_404 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34; +x_404 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34; x_405 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_405, 0, x_404); lean_ctor_set(x_405, 1, x_403); @@ -4606,7 +4606,7 @@ lean_ctor_set(x_407, 0, x_364); lean_ctor_set(x_407, 1, x_406); x_408 = lean_array_push(x_352, x_400); x_409 = lean_array_push(x_408, x_407); -x_410 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30; +x_410 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30; x_411 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_411, 0, x_410); lean_ctor_set(x_411, 1, x_409); @@ -4622,33 +4622,33 @@ lean_ctor_set(x_417, 0, x_364); lean_ctor_set(x_417, 1, x_416); x_418 = lean_array_push(x_352, x_396); x_419 = lean_array_push(x_418, x_417); -x_420 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28; +x_420 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28; 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_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_422 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; x_423 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_423, 0, x_341); lean_ctor_set(x_423, 1, x_422); x_424 = lean_array_push(x_368, x_423); x_425 = lean_array_push(x_424, x_239); x_426 = lean_array_push(x_425, x_354); -x_427 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36; +x_427 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36; x_428 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); -x_429 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_429 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_430 = lean_array_push(x_429, x_385); x_431 = lean_array_push(x_430, x_393); x_432 = lean_array_push(x_431, x_421); x_433 = lean_array_push(x_432, x_428); -x_434 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24; +x_434 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24; x_435 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_435, 0, x_434); lean_ctor_set(x_435, 1, x_433); x_436 = lean_array_push(x_352, x_383); x_437 = lean_array_push(x_436, x_435); -x_438 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5; +x_438 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; x_439 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_439, 0, x_438); lean_ctor_set(x_439, 1, x_437); @@ -4762,7 +4762,7 @@ x_1 = l_term_u2203___x2c_____closed__8; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1() { _start: { lean_object* x_1; @@ -4770,17 +4770,17 @@ x_1 = lean_mk_string("Exists"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4805,18 +4805,18 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2; x_13 = l_Lean_expandExplicitBinders(x_12, x_9, x_11, x_2, x_3); lean_dec(x_9); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1835____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_1835_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_1839_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -4921,7 +4921,7 @@ x_1 = l_termExists___x2c_____closed__8; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1918_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1923_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -4946,18 +4946,18 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2; x_13 = l_Lean_expandExplicitBinders(x_12, x_9, x_11, x_2, x_3); lean_dec(x_9); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1918____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1923____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_1918_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_1923_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5062,7 +5062,7 @@ x_1 = l_term_u03a3___x2c_____closed__8; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1() { _start: { lean_object* x_1; @@ -5070,17 +5070,17 @@ x_1 = lean_mk_string("Sigma"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5105,18 +5105,18 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2; x_13 = l_Lean_expandExplicitBinders(x_12, x_9, x_11, x_2, x_3); lean_dec(x_9); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2001____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2001_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2007_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5221,7 +5221,7 @@ x_1 = l_term_u03a3_x27___x2c_____closed__8; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1() { _start: { lean_object* x_1; @@ -5229,17 +5229,17 @@ x_1 = lean_mk_string("PSigma"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5264,18 +5264,18 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2; x_13 = l_Lean_expandExplicitBinders(x_12, x_9, x_11, x_2, x_3); lean_dec(x_9); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2084____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2084_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2091_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5378,7 +5378,7 @@ x_1 = l_term___xd7____1___closed__8; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2163_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2171_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5403,17 +5403,17 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2; x_13 = l_Lean_expandBrackedBinders(x_12, x_9, x_11, x_2, x_3); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2163____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2171____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2163_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2171_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5504,7 +5504,7 @@ x_1 = l_term___xd7_x27_____closed__7; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2236_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2245_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5529,17 +5529,17 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2; +x_12 = l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2; x_13 = l_Lean_expandBrackedBinders(x_12, x_9, x_11, x_2, x_3); return x_13; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2236____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2245____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2236_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2245_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -5556,7 +5556,7 @@ static lean_object* _init_l_unexpandExists___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; x_2 = l_unexpandExists___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5591,7 +5591,7 @@ lean_object* l_unexpandExists(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -5609,7 +5609,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2; +x_9 = l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2; x_10 = l_Lean_Syntax_matchesIdent(x_8, x_9); lean_dec(x_8); if (x_10 == 0) @@ -5705,7 +5705,7 @@ x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); if (x_35 == 0) { lean_object* x_36; uint8_t x_37; -x_36 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; +x_36 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; lean_inc(x_33); x_37 = l_Lean_Syntax_isOfKind(x_33, x_36); if (x_37 == 0) @@ -5802,7 +5802,7 @@ x_58 = l_Lean_Syntax_getArg(x_53, x_13); lean_dec(x_53); x_59 = l_Lean_Syntax_getArg(x_24, x_41); lean_dec(x_24); -x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_61 = !lean_is_exclusive(x_60); if (x_61 == 0) { @@ -5813,19 +5813,19 @@ lean_inc(x_62); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_62); lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_62); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_62); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_68 = lean_array_push(x_67, x_45); x_69 = l_Lean_binderIdent___closed__2; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); x_71 = lean_array_push(x_67, x_70); -x_72 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_72 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -5834,7 +5834,7 @@ lean_inc(x_62); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_62); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_62); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_62); @@ -5862,7 +5862,7 @@ x_91 = l_unexpandExists___closed__5; x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_62); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_94 = lean_array_push(x_93, x_64); x_95 = lean_array_push(x_94, x_90); x_96 = lean_array_push(x_95, x_92); @@ -5887,19 +5887,19 @@ lean_inc(x_100); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_100); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_100); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_100); lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_106 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_107 = lean_array_push(x_106, x_45); x_108 = l_Lean_binderIdent___closed__2; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); x_110 = lean_array_push(x_106, x_109); -x_111 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_111 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); @@ -5908,7 +5908,7 @@ lean_inc(x_100); x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_100); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_115 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_100); x_116 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_116, 0, x_100); @@ -5936,7 +5936,7 @@ x_130 = l_unexpandExists___closed__5; x_131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_131, 0, x_100); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_133 = lean_array_push(x_132, x_103); x_134 = lean_array_push(x_133, x_129); x_135 = lean_array_push(x_134, x_131); @@ -5968,7 +5968,7 @@ x_143 = l_Lean_Syntax_isOfKind(x_141, x_142); if (x_143 == 0) { lean_object* x_144; uint8_t x_145; -x_144 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_144 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_145 = !lean_is_exclusive(x_144); if (x_145 == 0) { @@ -5979,20 +5979,20 @@ lean_inc(x_146); x_148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_148, 0, x_146); lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_150 = lean_array_push(x_149, x_33); x_151 = l_Lean_binderIdent___closed__2; x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_151); lean_ctor_set(x_152, 1, x_150); x_153 = lean_array_push(x_149, x_152); -x_154 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_154 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_154); lean_ctor_set(x_155, 1, x_153); -x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_157 = lean_array_push(x_156, x_155); -x_158 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_158 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_159 = lean_array_push(x_157, x_158); x_160 = l_Lean_unbracktedExplicitBinders___closed__2; x_161 = lean_alloc_ctor(1, 2, 0); @@ -6007,7 +6007,7 @@ x_165 = l_unexpandExists___closed__5; x_166 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_166, 0, x_146); lean_ctor_set(x_166, 1, x_165); -x_167 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_167 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_168 = lean_array_push(x_167, x_148); x_169 = lean_array_push(x_168, x_164); x_170 = lean_array_push(x_169, x_166); @@ -6031,20 +6031,20 @@ lean_inc(x_173); x_176 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_176, 0, x_173); lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_177 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_178 = lean_array_push(x_177, x_33); x_179 = l_Lean_binderIdent___closed__2; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); x_181 = lean_array_push(x_177, x_180); -x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_183 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_183, 0, x_182); lean_ctor_set(x_183, 1, x_181); -x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_185 = lean_array_push(x_184, x_183); -x_186 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_186 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_187 = lean_array_push(x_185, x_186); x_188 = l_Lean_unbracktedExplicitBinders___closed__2; x_189 = lean_alloc_ctor(1, 2, 0); @@ -6059,7 +6059,7 @@ x_193 = l_unexpandExists___closed__5; x_194 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_194, 0, x_173); lean_ctor_set(x_194, 1, x_193); -x_195 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_195 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_196 = lean_array_push(x_195, x_176); x_197 = lean_array_push(x_196, x_192); x_198 = lean_array_push(x_197, x_194); @@ -6084,7 +6084,7 @@ if (x_204 == 0) { lean_object* x_205; uint8_t x_206; lean_dec(x_202); -x_205 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_205 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_206 = !lean_is_exclusive(x_205); if (x_206 == 0) { @@ -6095,20 +6095,20 @@ lean_inc(x_207); x_209 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_209, 0, x_207); lean_ctor_set(x_209, 1, x_208); -x_210 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_210 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_211 = lean_array_push(x_210, x_33); x_212 = l_Lean_binderIdent___closed__2; x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); lean_ctor_set(x_213, 1, x_211); x_214 = lean_array_push(x_210, x_213); -x_215 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_215 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_216 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_216, 0, x_215); lean_ctor_set(x_216, 1, x_214); -x_217 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_217 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_218 = lean_array_push(x_217, x_216); -x_219 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_219 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_220 = lean_array_push(x_218, x_219); x_221 = l_Lean_unbracktedExplicitBinders___closed__2; x_222 = lean_alloc_ctor(1, 2, 0); @@ -6122,7 +6122,7 @@ x_225 = l_unexpandExists___closed__5; x_226 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_226, 0, x_207); lean_ctor_set(x_226, 1, x_225); -x_227 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_227 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_228 = lean_array_push(x_227, x_209); x_229 = lean_array_push(x_228, x_224); x_230 = lean_array_push(x_229, x_226); @@ -6146,20 +6146,20 @@ lean_inc(x_233); x_236 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_236, 0, x_233); lean_ctor_set(x_236, 1, x_235); -x_237 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_237 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_238 = lean_array_push(x_237, x_33); x_239 = l_Lean_binderIdent___closed__2; x_240 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_240, 0, x_239); lean_ctor_set(x_240, 1, x_238); x_241 = lean_array_push(x_237, x_240); -x_242 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_242 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_243 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_243, 0, x_242); lean_ctor_set(x_243, 1, x_241); -x_244 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_244 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_245 = lean_array_push(x_244, x_243); -x_246 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_246 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_247 = lean_array_push(x_245, x_246); x_248 = l_Lean_unbracktedExplicitBinders___closed__2; x_249 = lean_alloc_ctor(1, 2, 0); @@ -6173,7 +6173,7 @@ x_252 = l_unexpandExists___closed__5; x_253 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_253, 0, x_233); lean_ctor_set(x_253, 1, x_252); -x_254 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_254 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_255 = lean_array_push(x_254, x_236); x_256 = lean_array_push(x_255, x_251); x_257 = lean_array_push(x_256, x_253); @@ -6199,7 +6199,7 @@ if (x_263 == 0) { lean_object* x_264; uint8_t x_265; lean_dec(x_261); -x_264 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_264 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_265 = !lean_is_exclusive(x_264); if (x_265 == 0) { @@ -6210,20 +6210,20 @@ lean_inc(x_266); x_268 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_268, 0, x_266); lean_ctor_set(x_268, 1, x_267); -x_269 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_269 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_270 = lean_array_push(x_269, x_33); x_271 = l_Lean_binderIdent___closed__2; x_272 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); x_273 = lean_array_push(x_269, x_272); -x_274 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_274 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_275 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_275, 0, x_274); lean_ctor_set(x_275, 1, x_273); -x_276 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_276 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_277 = lean_array_push(x_276, x_275); -x_278 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_278 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_279 = lean_array_push(x_277, x_278); x_280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_280, 0, x_262); @@ -6236,7 +6236,7 @@ x_283 = l_unexpandExists___closed__5; x_284 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_284, 0, x_266); lean_ctor_set(x_284, 1, x_283); -x_285 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_285 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_286 = lean_array_push(x_285, x_268); x_287 = lean_array_push(x_286, x_282); x_288 = lean_array_push(x_287, x_284); @@ -6260,20 +6260,20 @@ lean_inc(x_291); x_294 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_294, 0, x_291); lean_ctor_set(x_294, 1, x_293); -x_295 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_295 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_296 = lean_array_push(x_295, x_33); x_297 = l_Lean_binderIdent___closed__2; x_298 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_298, 0, x_297); lean_ctor_set(x_298, 1, x_296); x_299 = lean_array_push(x_295, x_298); -x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_301 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_301, 0, x_300); lean_ctor_set(x_301, 1, x_299); -x_302 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_302 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_303 = lean_array_push(x_302, x_301); -x_304 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_304 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_305 = lean_array_push(x_303, x_304); x_306 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_306, 0, x_262); @@ -6286,7 +6286,7 @@ x_309 = l_unexpandExists___closed__5; x_310 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_310, 0, x_291); lean_ctor_set(x_310, 1, x_309); -x_311 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_311 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_312 = lean_array_push(x_311, x_294); x_313 = lean_array_push(x_312, x_308); x_314 = lean_array_push(x_313, x_310); @@ -6311,7 +6311,7 @@ if (x_320 == 0) { lean_object* x_321; uint8_t x_322; lean_dec(x_318); -x_321 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_321 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_322 = !lean_is_exclusive(x_321); if (x_322 == 0) { @@ -6322,20 +6322,20 @@ lean_inc(x_323); x_325 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_325, 0, x_323); lean_ctor_set(x_325, 1, x_324); -x_326 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_326 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_327 = lean_array_push(x_326, x_33); x_328 = l_Lean_binderIdent___closed__2; x_329 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_329, 0, x_328); lean_ctor_set(x_329, 1, x_327); x_330 = lean_array_push(x_326, x_329); -x_331 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_331 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_332 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_332, 0, x_331); lean_ctor_set(x_332, 1, x_330); -x_333 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_333 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_334 = lean_array_push(x_333, x_332); -x_335 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_335 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_336 = lean_array_push(x_334, x_335); x_337 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_337, 0, x_262); @@ -6348,7 +6348,7 @@ x_340 = l_unexpandExists___closed__5; x_341 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_341, 0, x_323); lean_ctor_set(x_341, 1, x_340); -x_342 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_342 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_343 = lean_array_push(x_342, x_325); x_344 = lean_array_push(x_343, x_339); x_345 = lean_array_push(x_344, x_341); @@ -6372,20 +6372,20 @@ lean_inc(x_348); x_351 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_351, 0, x_348); lean_ctor_set(x_351, 1, x_350); -x_352 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_352 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_353 = lean_array_push(x_352, x_33); x_354 = l_Lean_binderIdent___closed__2; x_355 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_355, 0, x_354); lean_ctor_set(x_355, 1, x_353); x_356 = lean_array_push(x_352, x_355); -x_357 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_357 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_358 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_358, 0, x_357); lean_ctor_set(x_358, 1, x_356); -x_359 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_359 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_360 = lean_array_push(x_359, x_358); -x_361 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_361 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_362 = lean_array_push(x_360, x_361); x_363 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_363, 0, x_262); @@ -6398,7 +6398,7 @@ x_366 = l_unexpandExists___closed__5; x_367 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_367, 0, x_348); lean_ctor_set(x_367, 1, x_366); -x_368 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_368 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_369 = lean_array_push(x_368, x_351); x_370 = lean_array_push(x_369, x_365); x_371 = lean_array_push(x_370, x_367); @@ -6420,7 +6420,7 @@ x_376 = l_Lean_Syntax_getArg(x_141, x_375); lean_dec(x_141); x_377 = l_Lean_Syntax_getArgs(x_318); lean_dec(x_318); -x_378 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_378 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_379 = !lean_is_exclusive(x_378); if (x_379 == 0) { @@ -6431,7 +6431,7 @@ lean_inc(x_380); x_382 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_382, 0, x_380); lean_ctor_set(x_382, 1, x_381); -x_383 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_383 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_384 = lean_array_push(x_383, x_33); x_385 = l_Lean_binderIdent___closed__2; x_386 = lean_alloc_ctor(1, 2, 0); @@ -6440,13 +6440,13 @@ lean_ctor_set(x_386, 1, x_384); x_387 = lean_array_push(x_383, x_386); x_388 = l_Array_append___rarg(x_387, x_377); lean_dec(x_377); -x_389 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_389 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_391 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_392 = lean_array_push(x_391, x_390); -x_393 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_393 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_394 = lean_array_push(x_392, x_393); x_395 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_395, 0, x_262); @@ -6459,7 +6459,7 @@ x_398 = l_unexpandExists___closed__5; x_399 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_399, 0, x_380); lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_400 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_401 = lean_array_push(x_400, x_382); x_402 = lean_array_push(x_401, x_397); x_403 = lean_array_push(x_402, x_399); @@ -6483,7 +6483,7 @@ lean_inc(x_406); x_409 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_409, 0, x_406); lean_ctor_set(x_409, 1, x_408); -x_410 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_410 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_411 = lean_array_push(x_410, x_33); x_412 = l_Lean_binderIdent___closed__2; x_413 = lean_alloc_ctor(1, 2, 0); @@ -6492,13 +6492,13 @@ lean_ctor_set(x_413, 1, x_411); x_414 = lean_array_push(x_410, x_413); x_415 = l_Array_append___rarg(x_414, x_377); lean_dec(x_377); -x_416 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_416 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_417 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_417, 0, x_416); lean_ctor_set(x_417, 1, x_415); -x_418 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_418 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_419 = lean_array_push(x_418, x_417); -x_420 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_420 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_421 = lean_array_push(x_419, x_420); x_422 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_422, 0, x_262); @@ -6511,7 +6511,7 @@ x_425 = l_unexpandExists___closed__5; x_426 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_426, 0, x_406); lean_ctor_set(x_426, 1, x_425); -x_427 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_427 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_428 = lean_array_push(x_427, x_409); x_429 = lean_array_push(x_428, x_424); x_430 = lean_array_push(x_429, x_426); @@ -6549,7 +6549,7 @@ lean_object* l_unexpandSigma(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -6567,7 +6567,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2; +x_9 = l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2; x_10 = l_Lean_Syntax_matchesIdent(x_8, x_9); lean_dec(x_8); if (x_10 == 0) @@ -6657,7 +6657,7 @@ else lean_object* x_33; lean_object* x_34; uint8_t x_35; x_33 = l_Lean_Syntax_getArg(x_29, x_7); lean_dec(x_29); -x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; +x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; lean_inc(x_33); x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); if (x_35 == 0) @@ -6755,25 +6755,25 @@ x_57 = l_Lean_Syntax_getArg(x_52, x_13); lean_dec(x_52); x_58 = l_Lean_Syntax_getArg(x_24, x_39); lean_dec(x_24); -x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; x_61 = lean_ctor_get(x_59, 0); -x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_61); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_64 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_65 = lean_array_push(x_64, x_43); x_66 = l_Lean_binderIdent___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_64, x_67); -x_69 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_69 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); @@ -6782,7 +6782,7 @@ lean_inc(x_61); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_61); lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_61); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_61); @@ -6801,7 +6801,7 @@ x_83 = l_unexpandSigma___closed__1; x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_61); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_86 = lean_array_push(x_85, x_82); x_87 = lean_array_push(x_86, x_84); x_88 = lean_array_push(x_87, x_58); @@ -6820,19 +6820,19 @@ x_92 = lean_ctor_get(x_59, 1); lean_inc(x_92); lean_inc(x_91); lean_dec(x_59); -x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_91); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_91); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_96 = lean_array_push(x_95, x_43); x_97 = l_Lean_binderIdent___closed__2; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); x_99 = lean_array_push(x_95, x_98); -x_100 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_100 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); @@ -6841,7 +6841,7 @@ lean_inc(x_91); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_91); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_91); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_91); @@ -6860,7 +6860,7 @@ x_114 = l_unexpandSigma___closed__1; x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_91); lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_117 = lean_array_push(x_116, x_113); x_118 = lean_array_push(x_117, x_115); x_119 = lean_array_push(x_118, x_58); @@ -6898,7 +6898,7 @@ lean_object* l_unexpandPSigma(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6; lean_inc(x_1); x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) @@ -6916,7 +6916,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2; +x_9 = l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2; x_10 = l_Lean_Syntax_matchesIdent(x_8, x_9); lean_dec(x_8); if (x_10 == 0) @@ -7006,7 +7006,7 @@ else lean_object* x_33; lean_object* x_34; uint8_t x_35; x_33 = l_Lean_Syntax_getArg(x_29, x_7); lean_dec(x_29); -x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21; +x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21; lean_inc(x_33); x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); if (x_35 == 0) @@ -7104,25 +7104,25 @@ x_57 = l_Lean_Syntax_getArg(x_52, x_13); lean_dec(x_52); x_58 = l_Lean_Syntax_getArg(x_24, x_39); lean_dec(x_24); -x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1981____spec__1(x_2); +x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_2002____spec__1(x_2); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; x_61 = lean_ctor_get(x_59, 0); -x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_61); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_64 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_65 = lean_array_push(x_64, x_43); x_66 = l_Lean_binderIdent___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_64, x_67); -x_69 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_69 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); @@ -7131,7 +7131,7 @@ lean_inc(x_61); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_61); lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_61); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_61); @@ -7150,7 +7150,7 @@ x_83 = l_unexpandPSigma___closed__1; x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_61); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_86 = lean_array_push(x_85, x_82); x_87 = lean_array_push(x_86, x_84); x_88 = lean_array_push(x_87, x_58); @@ -7169,19 +7169,19 @@ x_92 = lean_ctor_get(x_59, 1); lean_inc(x_92); lean_inc(x_91); lean_dec(x_59); -x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_91); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_91); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_96 = lean_array_push(x_95, x_43); x_97 = l_Lean_binderIdent___closed__2; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); x_99 = lean_array_push(x_95, x_98); -x_100 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_100 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); @@ -7190,7 +7190,7 @@ lean_inc(x_91); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_91); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_91); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_91); @@ -7209,7 +7209,7 @@ x_114 = l_unexpandPSigma___closed__1; x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_91); lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_116 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_117 = lean_array_push(x_116, x_113); x_118 = lean_array_push(x_117, x_115); x_119 = lean_array_push(x_118, x_58); @@ -7375,7 +7375,7 @@ x_1 = l_tacticFunext_______closed__12; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1() { _start: { lean_object* x_1; @@ -7383,17 +7383,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3() { _start: { lean_object* x_1; @@ -7401,17 +7401,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5() { _start: { lean_object* x_1; @@ -7419,17 +7419,17 @@ x_1 = lean_mk_string("apply"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7() { _start: { lean_object* x_1; @@ -7437,22 +7437,22 @@ x_1 = lean_mk_string("funext"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8; +x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7460,41 +7460,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; 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_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____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_NotationExtra___hyg_4222____closed__11; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____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_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13() { _start: { lean_object* x_1; @@ -7502,7 +7502,7 @@ x_1 = lean_mk_string(";"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14() { _start: { lean_object* x_1; @@ -7510,17 +7510,17 @@ x_1 = lean_mk_string("intro"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4222_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7552,7 +7552,7 @@ lean_dec(x_11); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -7563,34 +7563,34 @@ 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_NotationExtra___hyg_4222____closed__5; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; lean_inc(x_15); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; +x_20 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; x_21 = l_Lean_addMacroScope(x_17, x_20, x_16); -x_22 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9; -x_23 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12; +x_22 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9; +x_23 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; lean_inc(x_15); x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_15); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); -x_25 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_25 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_26 = lean_array_push(x_25, x_19); x_27 = lean_array_push(x_26, x_24); -x_28 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6; +x_28 = l_myMacro____x40_Init_NotationExtra___hyg_4232____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_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; +x_30 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; lean_inc(x_15); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_15); lean_ctor_set(x_31, 1, x_30); -x_32 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; +x_32 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; lean_inc(x_15); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_15); @@ -7598,19 +7598,19 @@ lean_ctor_set(x_33, 1, x_32); x_34 = l_Lean_instInhabitedSyntax; x_35 = lean_unsigned_to_nat(0u); x_36 = lean_array_get(x_34, x_10, x_35); -x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_39 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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_25, x_33); x_42 = lean_array_push(x_41, x_40); -x_43 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15; +x_43 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; +x_45 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_15); lean_ctor_set(x_46, 1, x_45); @@ -7618,7 +7618,7 @@ x_47 = lean_array_get_size(x_10); x_48 = l_Array_toSubarray___rarg(x_10, x_8, x_47); x_49 = l_Array_ofSubarray___rarg(x_48); lean_dec(x_48); -x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_51 = l_Array_append___rarg(x_50, x_49); lean_dec(x_49); x_52 = lean_alloc_ctor(1, 2, 0); @@ -7640,7 +7640,7 @@ x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_39); lean_ctor_set(x_62, 1, x_61); x_63 = lean_array_push(x_37, x_62); -x_64 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4; +x_64 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); @@ -7660,34 +7660,34 @@ lean_inc(x_68); x_69 = lean_ctor_get(x_2, 1); lean_inc(x_69); lean_dec(x_2); -x_70 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5; +x_70 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; lean_inc(x_66); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_66); lean_ctor_set(x_71, 1, x_70); -x_72 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; +x_72 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; x_73 = l_Lean_addMacroScope(x_69, x_72, x_68); -x_74 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9; -x_75 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12; +x_74 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9; +x_75 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; lean_inc(x_66); x_76 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_76, 0, x_66); lean_ctor_set(x_76, 1, x_74); lean_ctor_set(x_76, 2, x_73); lean_ctor_set(x_76, 3, x_75); -x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_78 = lean_array_push(x_77, x_71); x_79 = lean_array_push(x_78, x_76); -x_80 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6; +x_80 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); -x_82 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; +x_82 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; lean_inc(x_66); x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_66); lean_ctor_set(x_83, 1, x_82); -x_84 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; +x_84 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; lean_inc(x_66); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_66); @@ -7695,19 +7695,19 @@ lean_ctor_set(x_85, 1, x_84); x_86 = l_Lean_instInhabitedSyntax; x_87 = lean_unsigned_to_nat(0u); x_88 = lean_array_get(x_86, x_10, x_87); -x_89 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_89 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_90 = lean_array_push(x_89, x_88); -x_91 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_91 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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_77, x_85); x_94 = lean_array_push(x_93, x_92); -x_95 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15; +x_95 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); -x_97 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7; +x_97 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; x_98 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_98, 0, x_66); lean_ctor_set(x_98, 1, x_97); @@ -7715,7 +7715,7 @@ x_99 = lean_array_get_size(x_10); x_100 = l_Array_toSubarray___rarg(x_10, x_8, x_99); x_101 = l_Array_ofSubarray___rarg(x_100); lean_dec(x_100); -x_102 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_102 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_103 = l_Array_append___rarg(x_102, x_101); lean_dec(x_101); x_104 = lean_alloc_ctor(1, 2, 0); @@ -7737,7 +7737,7 @@ x_114 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_114, 0, x_91); lean_ctor_set(x_114, 1, x_113); x_115 = lean_array_push(x_89, x_114); -x_116 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4; +x_116 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); @@ -7750,7 +7750,7 @@ return x_118; else { lean_object* x_119; uint8_t x_120; -x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_120 = !lean_is_exclusive(x_119); if (x_120 == 0) { @@ -7761,34 +7761,34 @@ lean_inc(x_122); x_123 = lean_ctor_get(x_2, 1); lean_inc(x_123); lean_dec(x_2); -x_124 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5; +x_124 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; lean_inc(x_121); x_125 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_125, 0, x_121); lean_ctor_set(x_125, 1, x_124); -x_126 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; +x_126 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; x_127 = l_Lean_addMacroScope(x_123, x_126, x_122); -x_128 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9; -x_129 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12; +x_128 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9; +x_129 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; lean_inc(x_121); x_130 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_130, 0, x_121); lean_ctor_set(x_130, 1, x_128); lean_ctor_set(x_130, 2, x_127); lean_ctor_set(x_130, 3, x_129); -x_131 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_131 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_132 = lean_array_push(x_131, x_125); x_133 = lean_array_push(x_132, x_130); -x_134 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6; +x_134 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6; x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); -x_136 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; +x_136 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; lean_inc(x_121); x_137 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_137, 0, x_121); lean_ctor_set(x_137, 1, x_136); -x_138 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; +x_138 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; x_139 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_139, 0, x_121); lean_ctor_set(x_139, 1, x_138); @@ -7796,19 +7796,19 @@ x_140 = l_Lean_instInhabitedSyntax; x_141 = lean_unsigned_to_nat(0u); x_142 = lean_array_get(x_140, x_10, x_141); lean_dec(x_10); -x_143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_144 = lean_array_push(x_143, x_142); -x_145 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_145 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); x_147 = lean_array_push(x_131, x_139); x_148 = lean_array_push(x_147, x_146); -x_149 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15; +x_149 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15; x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_151 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_152 = lean_array_push(x_151, x_135); x_153 = lean_array_push(x_152, x_137); x_154 = lean_array_push(x_153, x_150); @@ -7816,7 +7816,7 @@ x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_145); lean_ctor_set(x_155, 1, x_154); x_156 = lean_array_push(x_143, x_155); -x_157 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4; +x_157 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4; x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); @@ -7836,34 +7836,34 @@ lean_inc(x_161); x_162 = lean_ctor_get(x_2, 1); lean_inc(x_162); lean_dec(x_2); -x_163 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5; +x_163 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5; lean_inc(x_159); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_159); lean_ctor_set(x_164, 1, x_163); -x_165 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10; +x_165 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10; x_166 = l_Lean_addMacroScope(x_162, x_165, x_161); -x_167 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9; -x_168 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12; +x_167 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9; +x_168 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; lean_inc(x_159); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_159); lean_ctor_set(x_169, 1, x_167); lean_ctor_set(x_169, 2, x_166); lean_ctor_set(x_169, 3, x_168); -x_170 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_170 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_171 = lean_array_push(x_170, x_164); x_172 = lean_array_push(x_171, x_169); -x_173 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6; +x_173 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6; 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 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; +x_175 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; lean_inc(x_159); x_176 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_176, 0, x_159); lean_ctor_set(x_176, 1, x_175); -x_177 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14; +x_177 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14; x_178 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_178, 0, x_159); lean_ctor_set(x_178, 1, x_177); @@ -7871,19 +7871,19 @@ x_179 = l_Lean_instInhabitedSyntax; x_180 = lean_unsigned_to_nat(0u); x_181 = lean_array_get(x_179, x_10, x_180); lean_dec(x_10); -x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_183 = lean_array_push(x_182, x_181); -x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_185 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_185, 0, x_184); lean_ctor_set(x_185, 1, x_183); x_186 = lean_array_push(x_170, x_178); x_187 = lean_array_push(x_186, x_185); -x_188 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15; +x_188 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15; x_189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_189, 0, x_188); lean_ctor_set(x_189, 1, x_187); -x_190 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_190 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_191 = lean_array_push(x_190, x_174); x_192 = lean_array_push(x_191, x_176); x_193 = lean_array_push(x_192, x_189); @@ -7891,7 +7891,7 @@ x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_184); lean_ctor_set(x_194, 1, x_193); x_195 = lean_array_push(x_182, x_194); -x_196 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4; +x_196 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4; x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_196); lean_ctor_set(x_197, 1, x_195); @@ -7904,7 +7904,7 @@ return x_198; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -7927,15 +7927,15 @@ return x_7; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440__match__1(lean_object* x_1) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4440__match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -8004,18 +8004,18 @@ return x_20; } } } -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_array_get_size(x_1); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; -x_6 = l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__2(x_1, x_2, x_3, x_4, x_5); +x_5 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; +x_6 = l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -8043,7 +8043,7 @@ goto _start; } } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1() { _start: { lean_object* x_1; @@ -8051,22 +8051,22 @@ x_1 = lean_mk_string("List.cons"); return x_1; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1; +x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1; +x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2; +x_3 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___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); @@ -8074,7 +8074,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4() { _start: { lean_object* x_1; @@ -8082,17 +8082,17 @@ x_1 = lean_mk_string("List"); return x_1; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4; +x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6() { _start: { lean_object* x_1; @@ -8100,41 +8100,41 @@ x_1 = lean_mk_string("cons"); return x_1; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5; -x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6; +x_1 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5; +x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7; +x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___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_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8; +x_2 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___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_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4(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* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -8145,7 +8145,7 @@ size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_8 = 1; x_9 = x_2 - x_8; x_10 = lean_array_uget(x_1, x_9); -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -8155,25 +8155,25 @@ x_14 = lean_ctor_get(x_5, 2); lean_inc(x_14); x_15 = lean_ctor_get(x_5, 1); lean_inc(x_15); -x_16 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7; +x_16 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7; x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); -x_18 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3; -x_19 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9; +x_18 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3; +x_19 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9; x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_18); lean_ctor_set(x_20, 2, x_17); lean_ctor_set(x_20, 3, x_19); -x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_22 = lean_array_push(x_21, x_10); x_23 = lean_array_push(x_22, x_4); -x_24 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_24 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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_21, x_20); x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6; +x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____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); @@ -8193,7 +8193,7 @@ return x_31; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440____lambda__1(lean_object* x_1) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; @@ -8202,7 +8202,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1() { _start: { lean_object* x_1; @@ -8210,22 +8210,22 @@ x_1 = lean_mk_string("term%[_|_]"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_3 = lean_box(x_1); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -8233,15 +8233,15 @@ lean_ctor_set(x_4, 1, x_2); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4440____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4451____lambda__1), 1, 0); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5() { _start: { lean_object* x_1; @@ -8249,17 +8249,17 @@ x_1 = lean_mk_string("let"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7() { _start: { lean_object* x_1; @@ -8267,17 +8267,17 @@ x_1 = lean_mk_string("letDecl"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9() { _start: { lean_object* x_1; @@ -8285,17 +8285,17 @@ x_1 = lean_mk_string("letIdDecl"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11() { _start: { lean_object* x_1; @@ -8303,22 +8303,22 @@ x_1 = lean_mk_string("y"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12; +x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -8326,29 +8326,29 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; 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_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16() { _start: { lean_object* x_1; @@ -8356,7 +8356,7 @@ x_1 = lean_mk_string("%["); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -8368,7 +8368,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18() { _start: { lean_object* x_1; @@ -8376,11 +8376,11 @@ x_1 = lean_mk_string("|"); return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4440_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2; +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -8409,7 +8409,7 @@ if (x_13 == 0) lean_object* x_182; lean_dec(x_11); lean_dec(x_10); -x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_182 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_14 = x_182; goto block_181; } @@ -8422,7 +8422,7 @@ if (x_183 == 0) lean_object* x_184; lean_dec(x_11); lean_dec(x_10); -x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_14 = x_184; goto block_181; } @@ -8432,7 +8432,7 @@ size_t x_185; size_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_185 = 0; x_186 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_187 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3; +x_187 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3; x_188 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_10, x_185, x_186, x_187); lean_dec(x_10); x_189 = lean_ctor_get(x_188, 1); @@ -8445,8 +8445,8 @@ goto block_181; block_181: { lean_object* x_15; lean_object* x_16; -x_15 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4; -x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_14, x_15); +x_15 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4; +x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_14, x_15); lean_dec(x_14); if (lean_obj_tag(x_16) == 0) { @@ -8482,7 +8482,7 @@ lean_inc(x_26); lean_inc(x_19); x_28 = l_Array_toSubarray___rarg(x_19, x_26, x_27); x_29 = l_Array_toSubarray___rarg(x_19, x_12, x_26); -x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { @@ -8493,27 +8493,27 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); lean_dec(x_2); -x_35 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5; +x_35 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5; lean_inc(x_32); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_32); lean_ctor_set(x_36, 1, x_35); -x_37 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14; +x_37 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14; x_38 = l_Lean_addMacroScope(x_34, x_37, x_33); x_39 = lean_box(0); -x_40 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13; +x_40 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13; lean_inc(x_32); x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_32); lean_ctor_set(x_41, 1, x_40); lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_39); -x_42 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_42 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; lean_inc(x_32); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_32); lean_ctor_set(x_43, 1, x_42); -x_44 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16; +x_44 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16; lean_inc(x_32); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_32); @@ -8525,19 +8525,19 @@ x_48 = lean_usize_of_nat(x_47); lean_dec(x_47); x_49 = 0; x_50 = x_46; -x_51 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_48, x_49, x_50); +x_51 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_48, x_49, x_50); x_52 = x_51; -x_53 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17; +x_53 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; x_54 = l_Lean_mkSepArray(x_52, x_53); lean_dec(x_52); -x_55 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_55 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_56 = l_Array_append___rarg(x_55, x_54); lean_dec(x_54); -x_57 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_57 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18; +x_59 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18; lean_inc(x_32); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_32); @@ -8560,18 +8560,18 @@ lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); lean_inc(x_41); x_70 = lean_array_push(x_63, x_41); -x_71 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15; +x_71 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15; x_72 = lean_array_push(x_70, x_71); x_73 = lean_array_push(x_72, x_71); x_74 = lean_array_push(x_73, x_43); x_75 = lean_array_push(x_74, x_69); -x_76 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10; +x_76 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10; x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); -x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_79 = lean_array_push(x_78, x_77); -x_80 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8; +x_80 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -8581,7 +8581,7 @@ x_83 = lean_array_get_size(x_82); x_84 = lean_usize_of_nat(x_83); lean_dec(x_83); x_85 = x_82; -x_86 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_84, x_49, x_85); +x_86 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_84, x_49, x_85); x_87 = x_86; x_88 = l_Lean_mkSepArray(x_87, x_53); lean_dec(x_87); @@ -8597,12 +8597,12 @@ x_94 = lean_array_push(x_93, x_62); x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_4); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_96 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_97 = lean_array_push(x_96, x_36); x_98 = lean_array_push(x_97, x_81); x_99 = lean_array_push(x_98, x_71); x_100 = lean_array_push(x_99, x_95); -x_101 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6; +x_101 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -8622,27 +8622,27 @@ lean_inc(x_105); x_106 = lean_ctor_get(x_2, 1); lean_inc(x_106); lean_dec(x_2); -x_107 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5; +x_107 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5; lean_inc(x_103); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_103); lean_ctor_set(x_108, 1, x_107); -x_109 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14; +x_109 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14; x_110 = l_Lean_addMacroScope(x_106, x_109, x_105); x_111 = lean_box(0); -x_112 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13; +x_112 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13; lean_inc(x_103); x_113 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_113, 0, x_103); lean_ctor_set(x_113, 1, x_112); lean_ctor_set(x_113, 2, x_110); lean_ctor_set(x_113, 3, x_111); -x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; lean_inc(x_103); x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_103); lean_ctor_set(x_115, 1, x_114); -x_116 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16; +x_116 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16; lean_inc(x_103); x_117 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_117, 0, x_103); @@ -8654,19 +8654,19 @@ x_120 = lean_usize_of_nat(x_119); lean_dec(x_119); x_121 = 0; x_122 = x_118; -x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_120, x_121, x_122); +x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_120, x_121, x_122); x_124 = x_123; -x_125 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17; +x_125 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; x_126 = l_Lean_mkSepArray(x_124, x_125); lean_dec(x_124); -x_127 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_127 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_128 = l_Array_append___rarg(x_127, x_126); lean_dec(x_126); -x_129 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_129 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18; +x_131 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18; lean_inc(x_103); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_103); @@ -8689,18 +8689,18 @@ lean_ctor_set(x_141, 0, x_4); lean_ctor_set(x_141, 1, x_140); lean_inc(x_113); x_142 = lean_array_push(x_135, x_113); -x_143 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15; +x_143 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15; x_144 = lean_array_push(x_142, x_143); x_145 = lean_array_push(x_144, x_143); x_146 = lean_array_push(x_145, x_115); x_147 = lean_array_push(x_146, x_141); -x_148 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10; +x_148 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10; x_149 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_149, 0, x_148); lean_ctor_set(x_149, 1, x_147); -x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_151 = lean_array_push(x_150, x_149); -x_152 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8; +x_152 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8; x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_152); lean_ctor_set(x_153, 1, x_151); @@ -8710,7 +8710,7 @@ x_155 = lean_array_get_size(x_154); x_156 = lean_usize_of_nat(x_155); lean_dec(x_155); x_157 = x_154; -x_158 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_156, x_121, x_157); +x_158 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_156, x_121, x_157); x_159 = x_158; x_160 = l_Lean_mkSepArray(x_159, x_125); lean_dec(x_159); @@ -8726,12 +8726,12 @@ x_166 = lean_array_push(x_165, x_134); x_167 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_167, 0, x_4); lean_ctor_set(x_167, 1, x_166); -x_168 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38; +x_168 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; x_169 = lean_array_push(x_168, x_108); x_170 = lean_array_push(x_169, x_153); x_171 = lean_array_push(x_170, x_143); x_172 = lean_array_push(x_171, x_167); -x_173 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6; +x_173 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6; x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_173); lean_ctor_set(x_174, 1, x_172); @@ -8762,7 +8762,7 @@ size_t x_178; size_t x_179; lean_object* x_180; x_178 = lean_usize_of_nat(x_22); lean_dec(x_22); x_179 = 0; -x_180 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4(x_19, x_178, x_179, x_21, x_2, x_3); +x_180 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4(x_19, x_178, x_179, x_21, x_2, x_3); lean_dec(x_19); return x_180; } @@ -8772,25 +8772,25 @@ return x_180; } } } -lean_object* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____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* l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_sequenceMap_loop___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_1, x_2); +x_3 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -8798,11 +8798,11 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_4, x_5, x_3); return x_6; } } -lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____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* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____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) { _start: { size_t x_7; size_t x_8; lean_object* x_9; @@ -8810,7 +8810,7 @@ x_7 = lean_unbox_usize(x_2); lean_dec(x_2); x_8 = lean_unbox_usize(x_3); lean_dec(x_3); -x_9 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4(x_1, x_7, x_8, x_4, x_5, x_6); +x_9 = l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4(x_1, x_7, x_8, x_4, x_5, x_6); lean_dec(x_1); return x_9; } @@ -8838,7 +8838,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -8922,7 +8922,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -9019,7 +9019,7 @@ static lean_object* _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -9179,7 +9179,7 @@ x_1 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__31; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -9202,15 +9202,15 @@ return x_7; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848__match__1(lean_object* x_1) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4848__match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4860__match__1___rarg), 3, 0); return x_2; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -9219,7 +9219,7 @@ lean_ctor_set(x_3, 0, x_1); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__2(lean_object* x_1) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__2(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; @@ -9273,15 +9273,15 @@ return x_14; } } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2() { _start: { lean_object* x_1; @@ -9289,7 +9289,7 @@ x_1 = lean_mk_string("structure"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3() { _start: { lean_object* x_1; @@ -9297,7 +9297,7 @@ x_1 = lean_mk_string("classTk"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4() { _start: { lean_object* x_1; @@ -9305,7 +9305,7 @@ x_1 = lean_mk_string("class"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5() { _start: { lean_object* x_1; @@ -9313,7 +9313,7 @@ x_1 = lean_mk_string("extends"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6() { _start: { lean_object* x_1; @@ -9321,17 +9321,17 @@ x_1 = lean_mk_string("optDeriving"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -9340,7 +9340,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9() { _start: { lean_object* x_1; @@ -9348,7 +9348,7 @@ x_1 = lean_mk_string("attribute"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10() { _start: { lean_object* x_1; @@ -9356,7 +9356,7 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11() { _start: { lean_object* x_1; @@ -9364,28 +9364,28 @@ x_1 = lean_mk_string("instance"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12; 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_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14() { _start: { lean_object* x_1; @@ -9393,17 +9393,17 @@ x_1 = lean_mk_string("mk"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -9411,8 +9411,8 @@ x_11 = lean_unsigned_to_nat(7u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); x_13 = l_Lean_Syntax_getArgs(x_12); lean_dec(x_12); -x_14 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1; -x_15 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_13, x_14); +x_14 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1; +x_15 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_13, x_14); lean_dec(x_13); if (lean_obj_tag(x_15) == 0) { @@ -9442,7 +9442,7 @@ x_23 = l_Lean_Name_hasMacroScopes(x_22); if (x_23 == 0) { lean_object* x_256; lean_object* x_257; -x_256 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15; +x_256 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15; x_257 = l_Lean_Name_append(x_22, x_256); lean_dec(x_22); x_24 = x_257; @@ -9457,7 +9457,7 @@ if (x_259 == 0) { lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; x_260 = lean_ctor_get(x_258, 0); -x_261 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15; +x_261 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15; x_262 = l_Lean_Name_append(x_260, x_261); lean_dec(x_260); lean_ctor_set(x_258, 0, x_262); @@ -9477,7 +9477,7 @@ lean_inc(x_266); lean_inc(x_265); lean_inc(x_264); lean_dec(x_258); -x_268 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15; +x_268 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15; x_269 = l_Lean_Name_append(x_264, x_268); lean_dec(x_264); x_270 = lean_alloc_ctor(0, 4, 0); @@ -9495,39 +9495,39 @@ block_255: lean_object* x_25; lean_object* x_26; uint8_t x_27; x_25 = l_Lean_mkIdentFrom(x_21, x_24); lean_dec(x_21); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_9, x_10); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_9, x_10); x_27 = !lean_is_exclusive(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; 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; size_t x_48; size_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; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; x_28 = lean_ctor_get(x_26, 0); -x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4; +x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4; lean_inc(x_4); x_30 = lean_name_mk_string(x_4, x_29); -x_31 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2; +x_31 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2; lean_inc(x_4); x_32 = lean_name_mk_string(x_4, x_31); -x_33 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3; +x_33 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3; lean_inc(x_4); x_34 = lean_name_mk_string(x_4, x_33); -x_35 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4; +x_35 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4; lean_inc(x_28); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_28); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_38 = lean_array_push(x_37, x_36); x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_34); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_40 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_41 = l_Array_append___rarg(x_40, x_19); lean_dec(x_19); -x_42 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_42 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; 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 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5; +x_44 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5; lean_inc(x_4); x_45 = lean_name_mk_string(x_4, x_44); lean_inc(x_28); @@ -9539,9 +9539,9 @@ x_48 = lean_usize_of_nat(x_47); lean_dec(x_47); x_49 = 0; x_50 = x_18; -x_51 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_48, x_49, x_50); +x_51 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_48, x_49, x_50); x_52 = x_51; -x_53 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17; +x_53 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; x_54 = l_Lean_mkSepArray(x_52, x_53); lean_dec(x_52); x_55 = l_Array_append___rarg(x_40, x_54); @@ -9549,7 +9549,7 @@ lean_dec(x_54); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_42); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_57 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_58 = lean_array_push(x_57, x_46); x_59 = lean_array_push(x_58, x_56); x_60 = lean_alloc_ctor(1, 2, 0); @@ -9559,34 +9559,34 @@ x_61 = lean_array_push(x_37, x_60); x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_42); lean_ctor_set(x_62, 1, x_61); -x_63 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6; +x_63 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6; lean_inc(x_4); x_64 = lean_name_mk_string(x_4, x_63); -x_65 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7; +x_65 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); -x_67 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8; +x_67 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8; x_68 = lean_array_push(x_67, x_39); x_69 = lean_array_push(x_68, x_3); x_70 = lean_array_push(x_69, x_43); x_71 = lean_array_push(x_70, x_62); x_72 = lean_array_push(x_57, x_5); -x_73 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9; +x_73 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9; x_74 = lean_name_mk_string(x_4, x_73); lean_inc(x_28); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_28); lean_ctor_set(x_75, 1, x_73); -x_76 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10; +x_76 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10; lean_inc(x_28); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_28); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3; +x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3; lean_inc(x_6); x_79 = lean_name_mk_string(x_6, x_78); -x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11; +x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11; lean_inc(x_79); x_81 = lean_name_mk_string(x_79, x_80); x_82 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3; @@ -9595,16 +9595,16 @@ x_83 = lean_name_mk_string(x_79, x_82); x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_65); -x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13; +x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13; x_86 = lean_name_mk_string(x_6, x_85); -x_87 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_87 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11; x_88 = lean_name_mk_string(x_86, x_87); lean_inc(x_28); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_28); lean_ctor_set(x_89, 1, x_87); x_90 = lean_array_push(x_57, x_89); -x_91 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_91 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_92 = lean_array_push(x_90, x_91); x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_88); @@ -9641,7 +9641,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_dec(x_79); lean_dec(x_28); -x_110 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13; +x_110 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13; x_111 = lean_array_push(x_71, x_110); x_112 = lean_array_push(x_111, x_91); x_113 = lean_array_push(x_112, x_66); @@ -9710,33 +9710,33 @@ x_141 = lean_ctor_get(x_26, 1); lean_inc(x_141); lean_inc(x_140); lean_dec(x_26); -x_142 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4; +x_142 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4; lean_inc(x_4); x_143 = lean_name_mk_string(x_4, x_142); -x_144 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2; +x_144 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2; lean_inc(x_4); x_145 = lean_name_mk_string(x_4, x_144); -x_146 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3; +x_146 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3; lean_inc(x_4); x_147 = lean_name_mk_string(x_4, x_146); -x_148 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4; +x_148 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4; lean_inc(x_140); x_149 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_149, 0, x_140); lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_151 = lean_array_push(x_150, x_149); x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_147); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; +x_153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; x_154 = l_Array_append___rarg(x_153, x_19); lean_dec(x_19); -x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); -x_157 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5; +x_157 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5; lean_inc(x_4); x_158 = lean_name_mk_string(x_4, x_157); lean_inc(x_140); @@ -9748,9 +9748,9 @@ x_161 = lean_usize_of_nat(x_160); lean_dec(x_160); x_162 = 0; x_163 = x_18; -x_164 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_161, x_162, x_163); +x_164 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_161, x_162, x_163); x_165 = x_164; -x_166 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17; +x_166 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; x_167 = l_Lean_mkSepArray(x_165, x_166); lean_dec(x_165); x_168 = l_Array_append___rarg(x_153, x_167); @@ -9758,7 +9758,7 @@ lean_dec(x_167); x_169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_169, 0, x_155); lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_170 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_171 = lean_array_push(x_170, x_159); x_172 = lean_array_push(x_171, x_169); x_173 = lean_alloc_ctor(1, 2, 0); @@ -9768,34 +9768,34 @@ x_174 = lean_array_push(x_150, x_173); x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_155); lean_ctor_set(x_175, 1, x_174); -x_176 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6; +x_176 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6; lean_inc(x_4); x_177 = lean_name_mk_string(x_4, x_176); -x_178 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7; +x_178 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7; x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_177); lean_ctor_set(x_179, 1, x_178); -x_180 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8; +x_180 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8; x_181 = lean_array_push(x_180, x_152); x_182 = lean_array_push(x_181, x_3); x_183 = lean_array_push(x_182, x_156); x_184 = lean_array_push(x_183, x_175); x_185 = lean_array_push(x_170, x_5); -x_186 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9; +x_186 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9; x_187 = lean_name_mk_string(x_4, x_186); lean_inc(x_140); x_188 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_188, 0, x_140); lean_ctor_set(x_188, 1, x_186); -x_189 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10; +x_189 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10; lean_inc(x_140); x_190 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_190, 0, x_140); lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3; +x_191 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3; lean_inc(x_6); x_192 = lean_name_mk_string(x_6, x_191); -x_193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11; +x_193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11; lean_inc(x_192); x_194 = lean_name_mk_string(x_192, x_193); x_195 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3; @@ -9804,16 +9804,16 @@ x_196 = lean_name_mk_string(x_192, x_195); x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_196); lean_ctor_set(x_197, 1, x_178); -x_198 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13; +x_198 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13; x_199 = lean_name_mk_string(x_6, x_198); -x_200 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_200 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11; x_201 = lean_name_mk_string(x_199, x_200); lean_inc(x_140); x_202 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_202, 0, x_140); lean_ctor_set(x_202, 1, x_200); x_203 = lean_array_push(x_170, x_202); -x_204 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_204 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_205 = lean_array_push(x_203, x_204); x_206 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_206, 0, x_201); @@ -9850,7 +9850,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_dec(x_192); lean_dec(x_140); -x_223 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13; +x_223 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13; x_224 = lean_array_push(x_184, x_223); x_225 = lean_array_push(x_224, x_204); x_226 = lean_array_push(x_225, x_179); @@ -9919,7 +9919,7 @@ return x_254; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9941,7 +9941,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7; +x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -9994,10 +9994,10 @@ x_27 = l_Lean_Syntax_getArg(x_19, x_26); lean_dec(x_19); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_30 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; +x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_30 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; x_31 = lean_box(0); -x_32 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3(x_1, x_17, x_15, x_29, x_9, x_30, x_31, x_28, x_2, x_3); +x_32 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3(x_1, x_17, x_15, x_29, x_9, x_30, x_31, x_28, x_2, x_3); lean_dec(x_17); lean_dec(x_1); return x_32; @@ -10008,10 +10008,10 @@ else lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_dec(x_19); x_33 = lean_box(0); -x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3; -x_35 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2; +x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3; +x_35 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2; x_36 = lean_box(0); -x_37 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3(x_1, x_17, x_15, x_34, x_9, x_35, x_36, x_33, x_2, x_3); +x_37 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3(x_1, x_17, x_15, x_34, x_9, x_35, x_36, x_33, x_2, x_3); lean_dec(x_17); lean_dec(x_1); return x_37; @@ -10020,20 +10020,20 @@ return x_37; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__1(x_1, x_2); +x_3 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__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_7); lean_dec(x_2); @@ -10041,11 +10041,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_4848_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_4860_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -10092,7 +10092,7 @@ static lean_object* _init_l_solve___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -10226,7 +10226,7 @@ x_1 = l_solve___closed__15; return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1() { _start: { lean_object* x_1; @@ -10234,7 +10234,7 @@ x_1 = lean_mk_string("done"); return x_1; } } -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____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, size_t x_8, size_t x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____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, size_t x_8, size_t x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -10259,38 +10259,38 @@ x_13 = lean_array_uget(x_10, x_9); x_14 = lean_unsigned_to_nat(0u); x_15 = lean_array_uset(x_10, x_9, x_14); x_16 = x_13; -x_17 = l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18; +x_17 = l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18; lean_inc(x_1); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_1); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20; +x_19 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20; lean_inc(x_2); x_20 = lean_name_mk_string(x_2, x_19); -x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22; +x_21 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22; lean_inc(x_1); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_1); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_23 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_24 = lean_array_push(x_23, x_16); lean_inc(x_3); x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_3); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29; +x_26 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29; lean_inc(x_1); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_1); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30; +x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30; x_29 = lean_array_push(x_28, x_22); x_30 = lean_array_push(x_29, x_25); x_31 = lean_array_push(x_30, x_27); x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_20); lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13; +x_33 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13; lean_inc(x_1); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_1); @@ -10300,14 +10300,14 @@ lean_inc(x_5); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_5); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_38 = lean_array_push(x_37, x_32); x_39 = lean_array_push(x_38, x_36); lean_inc(x_6); x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_6); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1; +x_41 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1; lean_inc(x_2); x_42 = lean_name_mk_string(x_2, x_41); lean_inc(x_1); @@ -10361,17 +10361,17 @@ goto _start; } } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; x_2 = l_solve___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1(lean_object* x_1) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; @@ -10391,7 +10391,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_unsigned_to_nat(1u); x_6 = l_Lean_Syntax_getArg(x_1, x_5); lean_dec(x_1); -x_7 = l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1; +x_7 = l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1; lean_inc(x_6); x_8 = l_Lean_Syntax_isOfKind(x_6, x_7); if (x_8 == 0) @@ -10414,15 +10414,15 @@ return x_12; } } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1), 1, 0); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2() { _start: { lean_object* x_1; @@ -10430,17 +10430,17 @@ x_1 = lean_mk_string("focus"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4() { _start: { lean_object* x_1; @@ -10448,17 +10448,17 @@ x_1 = lean_mk_string("tacticSeq1Indented"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6() { _start: { lean_object* x_1; @@ -10466,17 +10466,17 @@ x_1 = lean_mk_string("first"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10501,8 +10501,8 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_10 = l_Lean_Syntax_getArgs(x_9); lean_dec(x_9); -x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1; -x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_10, x_11); +x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1; +x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_10, x_11); lean_dec(x_10); if (lean_obj_tag(x_12) == 0) { @@ -10519,18 +10519,18 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_12, 0); lean_inc(x_15); lean_dec(x_12); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t 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; x_18 = lean_ctor_get(x_16, 0); -x_19 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2; +x_19 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2; lean_inc(x_18); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6; +x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6; lean_inc(x_18); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_18); @@ -10540,33 +10540,33 @@ x_24 = lean_usize_of_nat(x_23); lean_dec(x_23); x_25 = 0; x_26 = x_15; -x_27 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1; -x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5; -x_30 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_27 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1; +x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5; +x_30 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_31 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22; -x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; -x_33 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1(x_18, x_27, x_28, x_29, x_30, x_31, x_32, x_24, x_25, x_26); +x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; +x_33 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1(x_18, x_27, x_28, x_29, x_30, x_31, x_32, x_24, x_25, x_26); x_34 = x_33; x_35 = l_Array_append___rarg(x_32, x_34); lean_dec(x_34); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_30); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_37 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_36); -x_40 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7; +x_40 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7; 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_37, x_41); -x_43 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_43 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_44 = lean_array_push(x_42, x_43); x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_31); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_46 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_47 = lean_array_push(x_46, x_45); x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_30); @@ -10581,7 +10581,7 @@ lean_ctor_set(x_52, 0, x_28); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_37, x_20); x_54 = lean_array_push(x_53, x_52); -x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3; +x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -10596,12 +10596,12 @@ x_58 = lean_ctor_get(x_16, 1); lean_inc(x_58); lean_inc(x_57); lean_dec(x_16); -x_59 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2; +x_59 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2; lean_inc(x_57); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_57); lean_ctor_set(x_60, 1, x_59); -x_61 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6; +x_61 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6; lean_inc(x_57); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_57); @@ -10611,33 +10611,33 @@ x_64 = lean_usize_of_nat(x_63); lean_dec(x_63); x_65 = 0; x_66 = x_15; -x_67 = l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2; -x_68 = l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1; -x_69 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5; -x_70 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19; +x_67 = l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2; +x_68 = l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1; +x_69 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5; +x_70 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19; x_71 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22; -x_72 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27; -x_73 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1(x_57, x_67, x_68, x_69, x_70, x_71, x_72, x_64, x_65, x_66); +x_72 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27; +x_73 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1(x_57, x_67, x_68, x_69, x_70, x_71, x_72, x_64, x_65, x_66); x_74 = x_73; x_75 = l_Array_append___rarg(x_72, x_74); lean_dec(x_74); x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_70); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26; +x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_76); -x_80 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7; +x_80 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7; 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_77, x_81); -x_83 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28; +x_83 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_84 = lean_array_push(x_82, x_83); x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_71); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35; +x_86 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35; x_87 = lean_array_push(x_86, x_85); x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_70); @@ -10652,7 +10652,7 @@ lean_ctor_set(x_92, 0, x_68); lean_ctor_set(x_92, 1, x_91); x_93 = lean_array_push(x_77, x_60); x_94 = lean_array_push(x_93, x_92); -x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3; +x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -10665,7 +10665,7 @@ return x_97; } } } -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____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* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____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: { size_t x_11; size_t x_12; lean_object* x_13; @@ -10673,15 +10673,15 @@ x_11 = lean_unbox_usize(x_8); lean_dec(x_8); x_12 = lean_unbox_usize(x_9); lean_dec(x_9); -x_13 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_10); +x_13 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_10); return x_13; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5403____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_5403_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_5416_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -10751,76 +10751,76 @@ l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__23 = _init_l_Lean_termMacro_x2 lean_mark_persistent(l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__23); l_Lean_termMacro_x2etrace_x5b_____x5d__ = _init_l_Lean_termMacro_x2etrace_x5b_____x5d__(); lean_mark_persistent(l_Lean_termMacro_x2etrace_x5b_____x5d__); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__1); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__2); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__3); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__4); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__5); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__6); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__7); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__8); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__9); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__10); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__11); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__12); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__13); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__14); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__15); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__16); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__17); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__18); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__19); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__20); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__21); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__22); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__23); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__24); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__25); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__26); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__27); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__28); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__29); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__30); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__31); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__32); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__33); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__34); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_26____closed__35); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__2); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__3); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__4); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__5); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__6); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__7); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__9); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__10); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__11); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__12); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__14); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__15); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__17); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__18); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__19); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__20); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__21); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__22); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__23); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__24); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__25); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__27); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__29); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__30); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__32); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__34); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__35); l_Lean_binderIdent___closed__1 = _init_l_Lean_binderIdent___closed__1(); lean_mark_persistent(l_Lean_binderIdent___closed__1); l_Lean_binderIdent___closed__2 = _init_l_Lean_binderIdent___closed__2(); @@ -11051,90 +11051,90 @@ l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__1 = _init_l___privat lean_mark_persistent(l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__1); l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2 = _init_l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2(); lean_mark_persistent(l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__1); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__2); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__3); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__4); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__5); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__6); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__7); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__8); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__9); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__10); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__11); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__12); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__13); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__14); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__15); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__16); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__17); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__18); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__19); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__20); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__21); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__22); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__23); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__24); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__26); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__27); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__28); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__29); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__30); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__31); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__32); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__33); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__34); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__35); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__36); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__37); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__38); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__39); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__40); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__41); -l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__42); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__4); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__9); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__10); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__18); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__21); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__24); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__26); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__28); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__30); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__31); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__33); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__36); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__37); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__39); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__40); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41); +l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__42); l_term_u2203___x2c_____closed__1 = _init_l_term_u2203___x2c_____closed__1(); lean_mark_persistent(l_term_u2203___x2c_____closed__1); l_term_u2203___x2c_____closed__2 = _init_l_term_u2203___x2c_____closed__2(); @@ -11153,10 +11153,10 @@ l_term_u2203___x2c_____closed__8 = _init_l_term_u2203___x2c_____closed__8(); lean_mark_persistent(l_term_u2203___x2c_____closed__8); l_term_u2203___x2c__ = _init_l_term_u2203___x2c__(); lean_mark_persistent(l_term_u2203___x2c__); -l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_1835____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2); l_termExists___x2c_____closed__1 = _init_l_termExists___x2c_____closed__1(); lean_mark_persistent(l_termExists___x2c_____closed__1); l_termExists___x2c_____closed__2 = _init_l_termExists___x2c_____closed__2(); @@ -11193,10 +11193,10 @@ l_term_u03a3___x2c_____closed__8 = _init_l_term_u03a3___x2c_____closed__8(); lean_mark_persistent(l_term_u03a3___x2c_____closed__8); l_term_u03a3___x2c__ = _init_l_term_u03a3___x2c__(); lean_mark_persistent(l_term_u03a3___x2c__); -l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2001____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__2); l_term_u03a3_x27___x2c_____closed__1 = _init_l_term_u03a3_x27___x2c_____closed__1(); lean_mark_persistent(l_term_u03a3_x27___x2c_____closed__1); l_term_u03a3_x27___x2c_____closed__2 = _init_l_term_u03a3_x27___x2c_____closed__2(); @@ -11215,10 +11215,10 @@ l_term_u03a3_x27___x2c_____closed__8 = _init_l_term_u03a3_x27___x2c_____closed__ lean_mark_persistent(l_term_u03a3_x27___x2c_____closed__8); l_term_u03a3_x27___x2c__ = _init_l_term_u03a3_x27___x2c__(); lean_mark_persistent(l_term_u03a3_x27___x2c__); -l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2084____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__2); l_term___xd7____1___closed__1 = _init_l_term___xd7____1___closed__1(); lean_mark_persistent(l_term___xd7____1___closed__1); l_term___xd7____1___closed__2 = _init_l_term___xd7____1___closed__2(); @@ -11293,90 +11293,90 @@ l_tacticFunext_______closed__12 = _init_l_tacticFunext_______closed__12(); lean_mark_persistent(l_tacticFunext_______closed__12); l_tacticFunext____ = _init_l_tacticFunext____(); lean_mark_persistent(l_tacticFunext____); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__2); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__3); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__4); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__5); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__6); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__7); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__8); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__9); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__10); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__11); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__12); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__13); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__14); -l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4222____closed__15); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__1); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__2); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__3); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__4); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__5); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__6); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__7); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__8); -l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__4___closed__9); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__2); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__3); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__4); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__5); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__6); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__7); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__8); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__9); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__10); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__11); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__12); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__13); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__14); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__15); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__16); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__17); -l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4440____closed__18); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__4); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__5); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__6); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__8); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__9); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__10); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__13); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__14); +l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__15); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__1); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__2 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__2(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__2); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__3); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__6); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__7); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__8 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__8(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__8); +l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9 = _init_l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__9); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__5); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__7); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__9); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__10); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__11); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__12); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__13); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__14); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__15); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__16); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17); +l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__18); l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__1 = _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__1(); lean_mark_persistent(l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__1); l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__2 = _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__2(); @@ -11441,36 +11441,36 @@ l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__31 = _init_l_command_ lean_mark_persistent(l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__31); l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c = _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c(); lean_mark_persistent(l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__2); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__3); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__4); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__5); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__6); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__7); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__8); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__9); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__10); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__12); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__13); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__14); -l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__15); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__3); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__4); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__5); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__6); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__9); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__10); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__11); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__12); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__13); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__14); +l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15 = _init_l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15); l_solve___closed__1 = _init_l_solve___closed__1(); lean_mark_persistent(l_solve___closed__1); l_solve___closed__2 = _init_l_solve___closed__2(); @@ -11503,24 +11503,24 @@ l_solve___closed__15 = _init_l_solve___closed__15(); lean_mark_persistent(l_solve___closed__15); l_solve = _init_l_solve(); lean_mark_persistent(l_solve); -l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5403____spec__1___closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____lambda__1___closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__2); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__3); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__4); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__5); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__6); -l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5403____closed__7); +l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5416____spec__1___closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____lambda__1___closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__4); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6); +l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/System/IO.c b/stage0/stdlib/Init/System/IO.c index 8799e527f7..a1d5292757 100644 --- a/stage0/stdlib/Init/System/IO.c +++ b/stage0/stdlib/Init/System/IO.c @@ -15,23 +15,24 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_IO_FS_Handle_readBinToEnd_loop___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__31; lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l_IO_cancel___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_Buffer_pos___default; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_IO_FS_instReprMetadata___closed__1; lean_object* l_MonadExcept_orelse___at_instOrElseEIO___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; lean_object* lean_get_stdout(lean_object*); lean_object* l_IO_FS_removeFile___boxed(lean_object*, lean_object*); lean_object* l_EStateM_tryCatch___at_Lean_runEval___spec__2(lean_object*); lean_object* lean_io_get_num_heartbeats(lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542_(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__34; +lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544_(lean_object*, lean_object*); lean_object* l_IO_FS_withIsolatedStreams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__19; lean_object* l_allocprof___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instEvalUnit___rarg(uint8_t, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__31; lean_object* l_System_FilePath_isDir___boxed(lean_object*, lean_object*); extern uint8_t l_System_Platform_isWindows; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -41,7 +42,8 @@ lean_object* lean_io_mono_ms_now(lean_object*); lean_object* lean_io_timeit(lean_object*, lean_object*, lean_object*); lean_object* l_System_FilePath_join(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__7; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__34; lean_object* lean_chmod(lean_object*, uint32_t, lean_object*); lean_object* l_IO_Process_exit___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadEIO(lean_object*); @@ -52,94 +54,93 @@ lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__4(lean_object*, lean_o lean_object* lean_io_wait_any(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_IO_bindTask___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24; lean_object* lean_io_error_to_string(lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_println(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2; lean_object* l_MonadExcept_orelse___at_instOrElseEIO___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12; lean_object* l_IO_hasFinished___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofHandle___elambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; lean_object* l_IO_FS_Handle_read___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5; +lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____boxed(lean_object*, lean_object*); lean_object* l_IO_FS_withFile___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2; lean_object* l_IO_iterate_match__1___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647_(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__26; +uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649_(lean_object*, lean_object*); lean_object* l_instMonadFinallyEIO(lean_object*); lean_object* l_IO_instMonadLiftSTRealWorldEIO_match__2(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___elambda__2(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10; lean_object* lean_io_cancel(lean_object*, lean_object*); lean_object* l_Lean_instEval___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586_(lean_object*, lean_object*); +uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588_(lean_object*, lean_object*); lean_object* l_IO_FS_realPath___boxed(lean_object*, lean_object*); lean_object* l_IO_waitAny___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1; static lean_object* l_IO_FileRight_user___default___closed__1; -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8; lean_object* l_Lean_instEval___rarg(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_IO_toEIO(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__1; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24; +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_setStdin___boxed(lean_object*, lean_object*); lean_object* l_IO_FS_Handle_mk___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Handle_putStrLn___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__8; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2; lean_object* l_Lean_instEvalIO___rarg(lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475____boxed(lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__40; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__9; static lean_object* l_Lean_instEvalUnit___rarg___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__1; lean_object* l_unsafeIO___rarg(lean_object*); lean_object* l_EIO_toIO_x27(lean_object*, lean_object*); uint32_t l_UInt32_shiftLeft(uint32_t, uint32_t); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_io_prim_handle_write(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__3; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__4; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__17; lean_object* l_IO_print(lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___elambda__5(lean_object*); lean_object* l_Lean_instEvalUnit(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16; lean_object* l_IO_FS_instInhabitedSystemTime; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__27; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__27; lean_object* l_Lean_instEvalUnit___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__9; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__14; lean_object* l_IO_withStdin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477____boxed(lean_object*, lean_object*); lean_object* l_IO_FS_Handle_readToEnd(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__26; lean_object* l_IO_FileRight_user___default; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__40; lean_object* l_IO_FS_lines_read___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__6; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__5; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__4; static lean_object* l_IO_FS_instReprSystemTime___closed__1; extern lean_object* l_Lean_interpolatedStrKind; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; lean_object* l_IO_Process_SpawnArgs_args___default; static uint32_t l_IO_AccessRight_flags___closed__6; lean_object* l_IO_FS_withIsolatedStreams___at_Lean_runEval___spec__1___lambda__2(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13; lean_object* l_IO_setStderr___boxed(lean_object*, lean_object*); lean_object* l_IO_ofExcept_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_instMonadLiftSTRealWorldEIO_match__1___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__36; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; lean_object* l_IO_sleep(uint32_t, lean_object*); lean_object* l_IO_monoMsNow___boxed(lean_object*); lean_object* l_IO_FS_readBinFile(lean_object*, lean_object*); lean_object* l_IO_FS_instBEqFileType; lean_object* l_EIO_catchExceptions_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14; lean_object* l_IO_FS_Handle_putStr___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__19; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_instEval(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5; lean_object* lean_io_process_spawn(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__13; lean_object* l_IO_Process_SpawnArgs_cwd___default; @@ -147,124 +148,125 @@ lean_object* l_Lean_instEvalUnit___boxed(lean_object*); lean_object* l_IO_instMonadLiftSTRealWorldEIO_match__1(lean_object*, uint8_t); lean_object* l_Lean_instEval__1(lean_object*); lean_object* l_IO_setAccessRights(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22; static lean_object* l_Lean_instEvalUnit___rarg___closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__36; lean_object* lean_get_set_stdout(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14; lean_object* l_IO_withStdin(lean_object*, lean_object*); lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_tryCatch___at_Lean_runEval___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_createDirAll___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_eprintln(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___lambda__1(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17; lean_object* l_IO_FS_Stream_ofHandle___elambda__5(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__13; lean_object* l_IO_instMonadLiftSTRealWorldEIO(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__41; lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); lean_object* l_IO_FS_Handle_readToEnd_loop___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__38; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__21; lean_object* l_IO_FS_Stream_ofHandle___elambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_get_set_stderr(lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__14; lean_object* l_IO_FS_Handle_getLine___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4; static lean_object* l_IO_FS_instInhabitedSystemTime___closed__1; lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__42; lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); lean_object* l_IO_FS_instReprMetadata; static lean_object* l_termPrintln_x21_______closed__5; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4; lean_object* l_IO_eprint___rarg(lean_object*, lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__8; static lean_object* l_IO_FS_instInhabitedSystemTime___closed__3; lean_object* l_Int_repr(lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__12; lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags_match__1(lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__13; lean_object* l_IO_FS_createDirAll(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5; static lean_object* l_termPrintln_x21_______closed__3; lean_object* l_IO_lazyPure___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9; static lean_object* l_termPrintln_x21_______closed__15; static lean_object* l_IO_FS_withIsolatedStreams___rarg___closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__38; lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__1(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__21; lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*); lean_object* l_IO_AccessRight_flags___boxed(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7; lean_object* l_IO_mapTasks_go_match__1(lean_object*, lean_object*); lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags(uint8_t, uint8_t); lean_object* l_IO_FS_Stream_ofBuffer___elambda__2___boxed(lean_object*, lean_object*); extern lean_object* l_ByteArray_empty; -lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770_(lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772_(lean_object*, lean_object*); static lean_object* l_IO_appDir___closed__1; lean_object* l_IO_appDir(lean_object*); lean_object* lean_io_eprintln(lean_object*, lean_object*); lean_object* l_EIO_toIO___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6; static uint32_t l_IO_AccessRight_flags___closed__1; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__2; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18; static uint32_t l_IO_AccessRight_flags___closed__9; static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_runEval___spec__1___closed__1; lean_object* l_IO_FS_Handle_readBinToEnd(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_IO_sleep___lambda__1(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__8; lean_object* l_IO_FS_readBinFile___boxed(lean_object*, lean_object*); lean_object* l_IO_Process_SpawnArgs_env___default; lean_object* l_IO_FS_instLTSystemTime; -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377_(uint8_t, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__17; +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379_(uint8_t, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__1; static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_runEval___spec__1___closed__2; lean_object* l_IO_mapTasks___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__1; extern lean_object* l_Task_Priority_dedicated; lean_object* l_IO_eprintln___at___private_Init_System_IO_0__IO_eprintlnAux___spec__1(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__2; lean_object* l_IO_FS_createDirAll___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_io_read_dir(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____boxed(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__4; static uint32_t l_IO_FS_instInhabitedSystemTime___closed__2; lean_object* l_IO_FS_Stream_ofBuffer___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_io_realpath(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3; lean_object* l_ByteArray_extract(lean_object*, lean_object*, lean_object*); lean_object* lean_string_from_utf8_unchecked(lean_object*); lean_object* l_IO_FS_withIsolatedStreams___at_Lean_runEval___spec__1(lean_object*, lean_object*); lean_object* l_instMonadExceptOfEIO(lean_object*); lean_object* l_IO_FS_Stream_ofBuffer_match__1(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__1; lean_object* l_IO_Process_run___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__7; lean_object* l_IO_FS_Stream_putStrLn(lean_object*, lean_object*, lean_object*); lean_object* lean_io_wait(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__25; lean_object* l_IO_print___at_IO_println___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_UInt32_decLt(uint32_t, uint32_t); static lean_object* l_termPrintln_x21_______closed__9; lean_object* l_System_FilePath_readDir___boxed(lean_object*, lean_object*); lean_object* l_IO_withStdin___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11; static lean_object* l_termPrintln_x21_______closed__16; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15; lean_object* lean_dbg_sleep(uint32_t, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__25; lean_object* l_IO_mapTasks(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__23; lean_object* l_IO_eprintln___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__41; lean_object* lean_io_remove_file(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2; lean_object* l_Nat_repr(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1; static lean_object* l_IO_Process_run___closed__1; lean_object* l_IO_FS_writeFile(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2; lean_object* l_IO_withStdin___rarg___lambda__2___boxed(lean_object*); static lean_object* l_IO_FS_instBEqSystemTime___closed__1; uint32_t l_String_back(lean_object*); @@ -272,79 +274,77 @@ lean_object* lean_io_allocprof(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* lean_io_prim_handle_get_line(lean_object*, lean_object*); lean_object* l_IO_getNumHeartbeats___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8; lean_object* l_IO_eprint(lean_object*); lean_object* l_IO_appPath___boxed(lean_object*); lean_object* l_EIO_toIO_x27___rarg(lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* lean_io_prim_handle_mk(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__6; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__10; lean_object* l_EStateM_instMonadFinallyEStateM(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__23; -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg(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*); lean_object* lean_stream_of_handle(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8; +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1(lean_object*); lean_object* l_IO_FS_instReprSystemTime; lean_object* lean_byte_array_size(lean_object*); static lean_object* l_termPrintln_x21_______closed__10; lean_object* l_IO_FS_Handle_mk(lean_object*, uint8_t, uint8_t, lean_object*); lean_object* l_EIO_toIO(lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___elambda__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__6; lean_object* l_IO_FS_lines_read(lean_object*, lean_object*, lean_object*); static lean_object* l_instMonadExceptOfEIO___closed__2; static lean_object* l_termPrintln_x21_______closed__2; static lean_object* l_IO_FS_instReprFileType___closed__1; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__5; lean_object* l_IO_sleep___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__22; lean_object* l_IO_FS_writeBinFile___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4; lean_object* l_IO_println___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__4; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__5; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__8; lean_object* l_IO_Process_spawn___boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__15; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__1; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__14; lean_object* l_IO_FS_Stream_ofHandle___elambda__5___boxed(lean_object*, lean_object*); uint8_t l_ByteArray_isEmpty(lean_object*); static lean_object* l_instMonadExceptOfEIO___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13; -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__15; static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__9; -uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475_(uint8_t, uint8_t); +uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477_(uint8_t, uint8_t); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__30; lean_object* lean_io_prim_handle_is_eof(lean_object*, lean_object*); static lean_object* l_IO_Process_run___closed__2; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__22; lean_object* l_IO_FS_Stream_Buffer_data___default; lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1(lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__30; +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_instReprDirEntry___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18; lean_object* lean_io_exit(uint8_t, lean_object*); lean_object* l_IO_FileRight_flags___boxed(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3; lean_object* l_instInhabitedEIO(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____boxed(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__11; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26; +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1(lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__28; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15; +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4; lean_object* lean_io_prim_handle_read(lean_object*, size_t, lean_object*); lean_object* lean_io_has_finished(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6; lean_object* l_String_dropRight(lean_object*, lean_object*); lean_object* l_EIO_catchExceptions(lean_object*, lean_object*); lean_object* l_IO_setAccessRights___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_instBEqSystemTime; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14; lean_object* l_IO_appDir_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321_(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1; -lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____boxed(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__33; +lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323_(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__29; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_termPrintln_x21____; lean_object* l_IO_FS_Stream_ofHandle___elambda__2(lean_object*, lean_object*); @@ -352,72 +352,71 @@ lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); lean_object* l_IO_Process_run(lean_object*, lean_object*); uint8_t l_IO_AccessRight_write___default; lean_object* l_IO_FS_DirEntry_path(lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__14; lean_object* l_IO_FS_Stream_ofBuffer___elambda__6(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9; static lean_object* l_termPrintln_x21_______closed__13; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__33; +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_IO_ofExcept___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_System_IO___hyg_3460_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_System_IO___hyg_3468_(lean_object*, lean_object*, lean_object*); uint8_t l_IO_Process_StdioConfig_stdout___default; lean_object* l_IO_mapTasks_go(lean_object*, lean_object*); lean_object* l_IO_Process_Stdio_toHandleType_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_readFile___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__29; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2; static lean_object* l_IO_FS_withIsolatedStreams___rarg___closed__1; lean_object* l_IO_FS_Stream_ofBuffer___elambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_ofExcept(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__28; lean_object* l_IO_appDir_match__1(lean_object*); lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10; lean_object* l_EStateM_nonBacktrackable(lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23; lean_object* lean_io_check_canceled(lean_object*); lean_object* l_IO_FS_Stream_ofHandle___elambda__4(lean_object*, size_t, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer___elambda__4(lean_object*, size_t, lean_object*); lean_object* lean_io_current_dir(lean_object*); lean_object* l_IO_FS_writeBinFile(lean_object*, lean_object*, lean_object*); lean_object* lean_io_prim_handle_put_str(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__16; lean_object* l_IO_Prim_setAccessRights___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586____boxed(lean_object*, lean_object*); uint8_t l_String_isEmpty(lean_object*); lean_object* l_IO_getStdin___boxed(lean_object*); lean_object* lean_io_getenv(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__16; lean_object* l_Lean_instEvalIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_sleep___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17; lean_object* l_IO_FS_Stream_ofHandle___elambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23; lean_object* l_unsafeEIO___rarg(lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__24; static lean_object* l_termPrintln_x21_______closed__12; lean_object* lean_string_to_utf8(lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588____boxed(lean_object*, lean_object*); lean_object* l_IO_FS_Handle_readBinToEnd___boxed(lean_object*, lean_object*); lean_object* l_IO_FS_instOrdSystemTime; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13; lean_object* l_ByteArray_findIdx_x3f_loop___at_IO_FS_Stream_ofBuffer___elambda__2___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_io_process_child_take_stdin(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4; lean_object* l_IO_ofExcept_match__1(lean_object*, lean_object*, lean_object*); lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__11; +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21; lean_object* l_String_quote(lean_object*); static lean_object* l_IO_withStdin___rarg___lambda__3___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13; lean_object* l_IO_lazyPure(lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__37; lean_object* l_IO_wait___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9; static lean_object* l_IO_FS_instBEqFileType___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11; -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647____boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__3; lean_object* l_IO_FS_Stream_ofBuffer___elambda__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__37; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__42; lean_object* l_IO_FS_Handle_write___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__24; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9; +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649____boxed(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofHandle___elambda__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__7; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9; lean_object* l_EStateM_instMonadExceptOfEStateM___rarg(lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); lean_object* l_System_FilePath_pathExists___boxed(lean_object*, lean_object*); @@ -427,76 +426,74 @@ lean_object* l_IO_mapTasks_go___rarg(lean_object*, lean_object*, lean_object*, l lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_createDirAll___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_instReprFileType; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__3; lean_object* l_IO_Process_Child_takeStdin___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_Process_Stdio_toHandleType_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_instMonadFinallyEIO___closed__1; lean_object* l_IO_FileRight_other___default; lean_object* l_IO_FS_createDir___boxed(lean_object*, lean_object*); uint32_t l_IO_AccessRight_flags(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8; lean_object* l_unsafeIO(lean_object*); lean_object* l_System_FilePath_metadata___boxed(lean_object*, lean_object*); lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__2(lean_object*, lean_object*); lean_object* l_IO_iterate___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_getEnv___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__7; static lean_object* l_IO_FS_instOrdSystemTime___closed__1; lean_object* l_System_FilePath_isDir(lean_object*, lean_object*); lean_object* l_IO_withStdin___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_IO_checkCanceled___boxed(lean_object*); lean_object* l_IO_FS_instLESystemTime; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; lean_object* l_IO_FileRight_group___default; lean_object* l_IO_withStdin___at_Lean_runEval___spec__5(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_IO_toEIO___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Handle_putStrLn(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_createDirAll___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__11; lean_object* lean_byte_array_copy_slice(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__43; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3; lean_object* l_IO_FS_withIsolatedStreams___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_Process_Stdio_toHandleType_match__1(lean_object*); lean_object* l_IO_FS_withIsolatedStreams(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__39; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7; lean_object* l_IO_println___at_Lean_instEval__1___spec__1(lean_object*, lean_object*); lean_object* l_instInhabitedEIO___rarg(lean_object*); lean_object* l_EStateM_instInhabitedEStateM___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__6; lean_object* l_instOrElseEIO(lean_object*, lean_object*); lean_object* l_IO_eprint___at_IO_eprintln___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__43; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5; lean_object* l_unsafeEIO(lean_object*, lean_object*); lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16; lean_object* lean_uint64_to_nat(uint64_t); static uint32_t l_IO_AccessRight_flags___closed__10; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5; static lean_object* l_IO_appDir___closed__2; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__39; lean_object* l_ByteArray_append(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_asTask___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_IO_withStderr___at_Lean_runEval___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_instMonadEIO___closed__1; uint32_t l_UInt32_lor(uint32_t, uint32_t); lean_object* lean_io_app_path(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17; lean_object* lean_io_initializing(lean_object*); lean_object* l_IO_FS_Stream_ofHandle___elambda__6___boxed(lean_object*, lean_object*); lean_object* lean_io_metadata(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__10; -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__32; lean_object* l_IO_FS_Handle_readToEnd___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4; lean_object* l_IO_withStderr(lean_object*, lean_object*); lean_object* l_IO_FS_readFile(lean_object*, lean_object*); static lean_object* l_IO_FS_Handle_readToEnd___closed__1; lean_object* lean_string_length(lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1(lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__10; lean_object* l_IO_mapTasks_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__32; lean_object* l_IO_mkRef(lean_object*); uint8_t l_IO_Process_StdioConfig_stderr___default; uint8_t lean_byte_array_get(lean_object*, lean_object*); @@ -505,28 +502,28 @@ lean_object* lean_get_stderr(lean_object*); lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); lean_object* l_IO_FS_Handle_isEof___boxed(lean_object*, lean_object*); uint8_t l_IO_Process_StdioConfig_stdin___default; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10; lean_object* l_System_FilePath_parent(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1(lean_object*); lean_object* l_IO_withStdout(lean_object*, lean_object*); lean_object* l_timeit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11; +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__2(lean_object*); lean_object* lean_io_prim_handle_flush(lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__12; lean_object* l_IO_currentDir___boxed(lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__13; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7; lean_object* lean_get_stdin(lean_object*); lean_object* l_IO_mapTask___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_lines___closed__1; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19; lean_object* l_IO_FS_Stream_ofHandle___elambda__6(lean_object*, lean_object*); lean_object* l_IO_instMonadLiftSTRealWorldEIO_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Handle_readToEnd_loop(lean_object*, lean_object*, lean_object*); lean_object* l_IO_Process_run___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_iterate(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__2(lean_object*); lean_object* l_IO_getStderr___boxed(lean_object*); lean_object* l_IO_FS_withFile___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instEval__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*); @@ -536,11 +533,11 @@ lean_object* l_IO_FS_lines___boxed(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_instEval__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); -static lean_object* l_myMacro____x40_Init_System_IO___hyg_3460____closed__12; lean_object* l_IO_FS_lines(lean_object*, lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_IO_getStdout___boxed(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14; static lean_object* l_termPrintln_x21_______closed__17; lean_object* l_IO_FS_Handle_flush___boxed(lean_object*, lean_object*); lean_object* l_Lean_runEval___rarg(lean_object*, lean_object*, lean_object*); @@ -549,20 +546,27 @@ lean_object* l_IO_print___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_writeFile___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termPrintln_x21_______closed__4; lean_object* l_IO_FS_createDirAll___boxed(lean_object*, lean_object*); +static lean_object* l_myMacro____x40_Init_System_IO___hyg_3468____closed__12; lean_object* l_EIO_catchExceptions_match__1(lean_object*, lean_object*, lean_object*); uint8_t l_IO_AccessRight_execution___default; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3; 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*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3; lean_object* lean_uint32_to_nat(uint32_t); static uint32_t l_IO_AccessRight_flags___closed__5; lean_object* l_IO_withStdout___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20; static lean_object* l_IO_FS_Stream_ofBuffer___closed__1; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12; lean_object* l_IO_withStdin___rarg___lambda__2(lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_IO_FS_instReprDirEntry; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6; +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18; static lean_object* l_termPrintln_x21_______closed__8; lean_object* lean_task_get_own(lean_object*); +static lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15; static uint32_t l_IO_AccessRight_flags___closed__7; uint32_t l_IO_FileRight_flags(lean_object*); lean_object* l_IO_Process_Child_wait___boxed(lean_object*, lean_object*, lean_object*); @@ -577,13 +581,9 @@ lean_object* l_ByteArray_findIdx_x3f_loop___at_IO_FS_Stream_ofBuffer___elambda__ static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__1; lean_object* l_IO_mapTasks_go_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_IO_AccessRight_flags___closed__3; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20; lean_object* l_IO_FS_withFile(lean_object*); lean_object* l_IO_Process_output(lean_object*, lean_object*); lean_object* lean_io_create_dir(lean_object*, lean_object*); -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1(lean_object*); -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12; -static lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_IO_setStdout___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_System_IO_0__IO_FS_Handle_fopenFlags___closed__2; @@ -2789,7 +2789,7 @@ x_7 = lean_apply_2(x_4, x_6, x_3); return x_7; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__1() { _start: { lean_object* x_1; @@ -2797,29 +2797,29 @@ x_1 = lean_mk_string("root"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4() { _start: { lean_object* x_1; @@ -2827,29 +2827,29 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4; 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7() { _start: { lean_object* x_1; @@ -2857,17 +2857,17 @@ x_1 = lean_mk_string("FilePath.mk "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7; 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9() { _start: { lean_object* x_1; @@ -2875,17 +2875,17 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9; 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11() { _start: { lean_object* x_1; @@ -2893,17 +2893,17 @@ x_1 = lean_mk_string("fileName"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11; 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13() { _start: { lean_object* x_1; @@ -2911,35 +2911,35 @@ x_1 = lean_mk_string("{ "); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13; 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_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17() { _start: { lean_object* x_1; @@ -2947,17 +2947,17 @@ x_1 = lean_mk_string(" }"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17; +x_1 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; @@ -2965,17 +2965,17 @@ x_3 = lean_ctor_get(x_1, 0); x_4 = l_String_quote(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8; +x_6 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); x_8 = lean_unsigned_to_nat(0u); x_9 = l_Repr_addAppParen(x_7, x_8); -x_10 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6; +x_10 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6; x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10; +x_12 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -2983,11 +2983,11 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12; +x_16 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12; x_17 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_18 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -2998,15 +2998,15 @@ lean_ctor_set(x_22, 0, x_21); x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_19); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16; +x_24 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16; x_25 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18; +x_26 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18; x_27 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); -x_28 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15; +x_28 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15; x_29 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -3017,11 +3017,11 @@ lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_30); return x_31; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -3031,7 +3031,7 @@ static lean_object* _init_l_IO_FS_instReprDirEntry___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____boxed), 2, 0); return x_1; } } @@ -3057,7 +3057,7 @@ lean_dec(x_3); return x_4; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { switch (x_1) { @@ -3104,25 +3104,25 @@ return x_13; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1(lean_object* x_1) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_1); lean_dec(x_1); -x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377__match__1___rarg(x_6, x_2, x_3, x_4, x_5); +x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379__match__1___rarg(x_6, x_2, x_3, x_4, x_5); return x_7; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__1() { _start: { lean_object* x_1; @@ -3130,17 +3130,17 @@ x_1 = lean_mk_string("IO.FS.FileType.dir"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -3149,23 +3149,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3173,7 +3173,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -3182,23 +3182,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3206,7 +3206,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9() { _start: { lean_object* x_1; @@ -3214,33 +3214,33 @@ x_1 = lean_mk_string("IO.FS.FileType.file"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9; 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3248,23 +3248,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3272,7 +3272,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15() { _start: { lean_object* x_1; @@ -3280,33 +3280,33 @@ x_1 = lean_mk_string("IO.FS.FileType.symlink"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15; 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3314,23 +3314,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3338,7 +3338,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21() { _start: { lean_object* x_1; @@ -3346,33 +3346,33 @@ x_1 = lean_mk_string("IO.FS.FileType.other"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21; 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3380,23 +3380,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6; -x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6; +x_2 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22; x_3 = lean_alloc_ctor(3, 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_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25; +x_1 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3404,7 +3404,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377_(uint8_t x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -3416,14 +3416,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5; +x_5 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8; +x_7 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -3436,14 +3436,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12; +x_11 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14; +x_13 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -3456,14 +3456,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18; +x_17 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20; +x_19 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -3476,14 +3476,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24; +x_23 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26; +x_25 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -3491,13 +3491,13 @@ return x_26; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377_(x_3, x_2); +x_4 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -3506,7 +3506,7 @@ static lean_object* _init_l_IO_FS_instReprFileType___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____boxed), 2, 0); return x_1; } } @@ -3518,7 +3518,7 @@ x_1 = l_IO_FS_instReprFileType___closed__1; return x_1; } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg(uint8_t 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* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg(uint8_t 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: { switch (x_1) { @@ -3629,15 +3629,15 @@ return x_31; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1(lean_object* x_1) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg___boxed), 7, 0); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; uint8_t x_9; lean_object* x_10; @@ -3645,11 +3645,11 @@ x_8 = lean_unbox(x_1); lean_dec(x_1); x_9 = lean_unbox(x_2); lean_dec(x_2); -x_10 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475__match__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); +x_10 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477__match__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); return x_10; } } -uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475_(uint8_t x_1, uint8_t x_2) { +uint8_t l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477_(uint8_t x_1, uint8_t x_2) { _start: { switch (x_1) { @@ -3728,7 +3728,7 @@ return x_14; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -3736,7 +3736,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475_(x_3, x_4); +x_5 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -3745,7 +3745,7 @@ static lean_object* _init_l_IO_FS_instBEqFileType___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477____boxed), 2, 0); return x_1; } } @@ -3757,7 +3757,7 @@ x_1 = l_IO_FS_instBEqFileType___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__1() { _start: { lean_object* x_1; @@ -3765,41 +3765,41 @@ x_1 = lean_mk_string("sec"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____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_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5() { _start: { lean_object* x_1; @@ -3807,17 +3807,17 @@ x_1 = lean_mk_string("nsec"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint32_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; @@ -3825,11 +3825,11 @@ x_3 = lean_ctor_get(x_1, 0); x_4 = l_Int_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4; +x_6 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10; +x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -3837,11 +3837,11 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6; +x_12 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -3853,15 +3853,15 @@ lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_15); lean_ctor_set(x_20, 1, x_19); -x_21 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16; +x_21 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18; +x_23 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15; +x_25 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15; x_26 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -3872,11 +3872,11 @@ lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); return x_28; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -3886,7 +3886,7 @@ static lean_object* _init_l_IO_FS_instReprSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____boxed), 2, 0); return x_1; } } @@ -3898,7 +3898,7 @@ x_1 = l_IO_FS_instReprSystemTime___closed__1; return x_1; } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint32_t x_6; lean_object* x_7; uint32_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -3916,24 +3916,24 @@ x_11 = lean_apply_4(x_3, x_5, x_9, x_7, x_10); return x_11; } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1(lean_object* x_1) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint32_t x_4; lean_object* x_5; uint32_t x_6; uint8_t x_7; @@ -3956,11 +3956,11 @@ return x_9; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3971,7 +3971,7 @@ static lean_object* _init_l_IO_FS_instBEqSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1586____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_beqSystemTime____x40_Init_System_IO___hyg_1588____boxed), 2, 0); return x_1; } } @@ -3983,7 +3983,7 @@ x_1 = l_IO_FS_instBEqSystemTime___closed__1; return x_1; } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (x_1) { @@ -4017,25 +4017,25 @@ return x_10; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1(lean_object* x_1) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__1___rarg(x_5, x_2, x_3, x_4); +x_6 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__1___rarg(x_5, x_2, x_3, x_4); return x_6; } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint32_t x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -4053,15 +4053,15 @@ x_10 = lean_apply_4(x_3, x_4, x_8, x_6, x_9); return x_10; } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__2(lean_object* x_1) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647__match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649__match__2___rarg), 3, 0); return x_2; } } -uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint32_t x_4; lean_object* x_5; uint32_t x_6; uint8_t x_7; @@ -4117,11 +4117,11 @@ return x_15; } } } -lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4132,7 +4132,7 @@ static lean_object* _init_l_IO_FS_instOrdSystemTime___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1647____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_ordSystemTime____x40_Init_System_IO___hyg_1649____boxed), 2, 0); return x_1; } } @@ -4198,7 +4198,7 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__1() { _start: { lean_object* x_1; @@ -4206,41 +4206,41 @@ x_1 = lean_mk_string("accessed"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____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_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2; +x_2 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3; -x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3; +x_2 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_3 = lean_alloc_ctor(4, 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_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5() { _start: { lean_object* x_1; @@ -4248,17 +4248,17 @@ x_1 = lean_mk_string("modified"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5; 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_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7() { _start: { lean_object* x_1; @@ -4266,17 +4266,17 @@ x_1 = lean_mk_string("byteSize"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7; 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_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9() { _start: { lean_object* x_1; @@ -4284,28 +4284,28 @@ x_1 = lean_mk_string("type"); return x_1; } } -static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10() { +static lean_object* _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9; +x_1 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 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; uint64_t 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; 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; lean_object* x_42; uint8_t x_43; lean_object* x_44; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542_(x_3, x_4); -x_6 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4; +x_5 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544_(x_3, x_4); +x_6 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10; +x_8 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -4313,16 +4313,16 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6; +x_12 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5; +x_14 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); x_16 = lean_ctor_get(x_1, 1); -x_17 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542_(x_16, x_4); +x_17 = l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544_(x_16, x_4); x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -4332,7 +4332,7 @@ lean_ctor_set(x_19, 1, x_8); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_10); -x_21 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8; +x_21 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -4353,7 +4353,7 @@ lean_ctor_set(x_29, 1, x_8); x_30 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_10); -x_31 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10; +x_31 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10; x_32 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -4361,19 +4361,19 @@ x_33 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_14); x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 8); -x_35 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377_(x_34, x_4); +x_35 = l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379_(x_34, x_4); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_33); lean_ctor_set(x_36, 1, x_35); -x_37 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16; +x_37 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16; x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18; +x_39 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18; x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); -x_41 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15; +x_41 = l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15; x_42 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -4384,11 +4384,11 @@ lean_ctor_set_uint8(x_44, sizeof(void*)*1, x_43); return x_44; } } -lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770_(x_1, x_2); +x_3 = l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -4398,7 +4398,7 @@ static lean_object* _init_l_IO_FS_instReprMetadata___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____boxed), 2, 0); return x_1; } } @@ -4444,7 +4444,7 @@ x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*2 + 8); lean_dec(x_5); x_7 = 0; -x_8 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475_(x_6, x_7); +x_8 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477_(x_6, x_7); x_9 = lean_box(x_8); lean_ctor_set(x_3, 0, x_9); return x_3; @@ -4460,7 +4460,7 @@ lean_dec(x_3); x_12 = lean_ctor_get_uint8(x_10, sizeof(void*)*2 + 8); lean_dec(x_10); x_13 = 0; -x_14 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1475_(x_12, x_13); +x_14 = l___private_Init_System_IO_0__IO_FS_beqFileType____x40_Init_System_IO___hyg_1477_(x_12, x_13); x_15 = lean_box(x_14); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); @@ -9005,7 +9005,7 @@ x_1 = l_termPrintln_x21_______closed__17; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__1() { _start: { lean_object* x_1; @@ -9013,17 +9013,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__1; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__3() { _start: { lean_object* x_1; @@ -9031,17 +9031,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__2; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__3; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__2; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__5() { _start: { lean_object* x_1; @@ -9049,17 +9049,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__4; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__5; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__4; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__7() { _start: { lean_object* x_1; @@ -9067,17 +9067,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__6; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__7; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__6; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__9() { _start: { lean_object* x_1; @@ -9085,7 +9085,7 @@ x_1 = lean_mk_string("("); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__10() { _start: { lean_object* x_1; @@ -9093,17 +9093,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__10; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__12() { _start: { lean_object* x_1; @@ -9111,17 +9111,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__13() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__6; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__12; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__6; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__14() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__14() { _start: { lean_object* x_1; @@ -9129,22 +9129,22 @@ x_1 = lean_mk_string("IO.println"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__15() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__14; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__14; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__16() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__14; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__14; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__15; +x_3 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__15; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9152,7 +9152,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__17() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__17() { _start: { lean_object* x_1; @@ -9160,17 +9160,17 @@ x_1 = lean_mk_string("IO"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__18() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__17; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__19() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__19() { _start: { lean_object* x_1; @@ -9178,41 +9178,41 @@ x_1 = lean_mk_string("println"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__20() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__19; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__21() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__22() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__21; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__21; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__23() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -9221,7 +9221,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__24() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -9230,7 +9230,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__25() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__25() { _start: { lean_object* x_1; @@ -9238,17 +9238,17 @@ x_1 = lean_mk_string("typeAscription"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__26() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__6; -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__25; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__6; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__27() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__27() { _start: { lean_object* x_1; @@ -9256,22 +9256,22 @@ x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__28() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__17; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__17; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__29() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__17; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__17; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__28; +x_3 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__28; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9279,31 +9279,31 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__30() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__31() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__30; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__30; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__32() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__32() { _start: { lean_object* x_1; @@ -9311,22 +9311,22 @@ x_1 = lean_mk_string("Unit"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__33() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__32; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__32; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__34() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__32; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__32; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__33; +x_3 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__33; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9334,41 +9334,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__35() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__32; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__36() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__37() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__36; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__36; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__38() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__38() { _start: { lean_object* x_1; @@ -9376,7 +9376,7 @@ x_1 = lean_mk_string(")"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__39() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -9385,7 +9385,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__40() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__40() { _start: { lean_object* x_1; @@ -9393,17 +9393,17 @@ x_1 = lean_mk_string("termS!_"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__41() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__40; +x_2 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__40; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__42() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__42() { _start: { lean_object* x_1; @@ -9411,11 +9411,11 @@ x_1 = lean_mk_string("s!"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__43() { +static lean_object* _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; +x_1 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; x_2 = l_IO_FS_lines___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9423,7 +9423,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_System_IO___hyg_3460_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_System_IO___hyg_3468_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9455,7 +9455,7 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -9466,57 +9466,57 @@ 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_System_IO___hyg_3460____closed__9; +x_18 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__9; lean_inc(x_15); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +x_20 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; lean_inc(x_16); lean_inc(x_17); x_21 = l_Lean_addMacroScope(x_17, x_20, x_16); -x_22 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__16; -x_23 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__22; +x_22 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__16; +x_23 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__22; lean_inc(x_15); x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_15); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); -x_25 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__23; +x_25 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__23; x_26 = lean_array_push(x_25, x_9); -x_27 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; +x_27 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; 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 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__24; +x_29 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__24; x_30 = lean_array_push(x_29, x_24); x_31 = lean_array_push(x_30, x_28); -x_32 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__13; +x_32 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__13; 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 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__27; +x_34 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__27; lean_inc(x_15); x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_15); lean_ctor_set(x_35, 1, x_34); -x_36 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +x_36 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; lean_inc(x_16); lean_inc(x_17); x_37 = l_Lean_addMacroScope(x_17, x_36, x_16); -x_38 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__29; -x_39 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__31; +x_38 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__29; +x_39 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__31; lean_inc(x_15); x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_15); lean_ctor_set(x_40, 1, x_38); lean_ctor_set(x_40, 2, x_37); lean_ctor_set(x_40, 3, x_39); -x_41 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; +x_41 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; x_42 = l_Lean_addMacroScope(x_17, x_41, x_16); -x_43 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__34; -x_44 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__37; +x_43 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__34; +x_44 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__37; lean_inc(x_15); x_45 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_45, 0, x_15); @@ -9534,7 +9534,7 @@ lean_ctor_set(x_50, 0, x_32); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_29, x_35); x_52 = lean_array_push(x_51, x_50); -x_53 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__26; +x_53 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__26; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -9547,15 +9547,15 @@ x_58 = lean_array_push(x_57, x_56); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_27); lean_ctor_set(x_59, 1, x_58); -x_60 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__38; +x_60 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__38; x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_15); lean_ctor_set(x_61, 1, x_60); -x_62 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__39; +x_62 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__39; x_63 = lean_array_push(x_62, x_19); x_64 = lean_array_push(x_63, x_59); x_65 = lean_array_push(x_64, x_61); -x_66 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__8; +x_66 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__8; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); @@ -9575,57 +9575,57 @@ lean_inc(x_70); x_71 = lean_ctor_get(x_2, 1); lean_inc(x_71); lean_dec(x_2); -x_72 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__9; +x_72 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__9; lean_inc(x_68); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_68); lean_ctor_set(x_73, 1, x_72); -x_74 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +x_74 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; lean_inc(x_70); lean_inc(x_71); x_75 = l_Lean_addMacroScope(x_71, x_74, x_70); -x_76 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__16; -x_77 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__22; +x_76 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__16; +x_77 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__22; lean_inc(x_68); x_78 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_78, 0, x_68); lean_ctor_set(x_78, 1, x_76); lean_ctor_set(x_78, 2, x_75); lean_ctor_set(x_78, 3, x_77); -x_79 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__23; +x_79 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__23; x_80 = lean_array_push(x_79, x_9); -x_81 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; +x_81 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; 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 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__24; +x_83 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__24; x_84 = lean_array_push(x_83, x_78); x_85 = lean_array_push(x_84, x_82); -x_86 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__13; +x_86 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__13; 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_myMacro____x40_Init_System_IO___hyg_3460____closed__27; +x_88 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__27; lean_inc(x_68); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_68); lean_ctor_set(x_89, 1, x_88); -x_90 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +x_90 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; lean_inc(x_70); lean_inc(x_71); x_91 = l_Lean_addMacroScope(x_71, x_90, x_70); -x_92 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__29; -x_93 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__31; +x_92 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__29; +x_93 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__31; lean_inc(x_68); x_94 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_94, 0, x_68); lean_ctor_set(x_94, 1, x_92); lean_ctor_set(x_94, 2, x_91); lean_ctor_set(x_94, 3, x_93); -x_95 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; +x_95 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; x_96 = l_Lean_addMacroScope(x_71, x_95, x_70); -x_97 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__34; -x_98 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__37; +x_97 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__34; +x_98 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__37; lean_inc(x_68); x_99 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_99, 0, x_68); @@ -9643,7 +9643,7 @@ lean_ctor_set(x_104, 0, x_86); lean_ctor_set(x_104, 1, x_103); x_105 = lean_array_push(x_83, x_89); x_106 = lean_array_push(x_105, x_104); -x_107 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__26; +x_107 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__26; x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); lean_ctor_set(x_108, 1, x_106); @@ -9656,15 +9656,15 @@ x_112 = lean_array_push(x_111, x_110); x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_81); lean_ctor_set(x_113, 1, x_112); -x_114 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__38; +x_114 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__38; x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_68); lean_ctor_set(x_115, 1, x_114); -x_116 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__39; +x_116 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__39; x_117 = lean_array_push(x_116, x_73); x_118 = lean_array_push(x_117, x_113); x_119 = lean_array_push(x_118, x_115); -x_120 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__8; +x_120 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__8; x_121 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_121, 0, x_120); lean_ctor_set(x_121, 1, x_119); @@ -9677,7 +9677,7 @@ return x_122; else { lean_object* x_123; uint8_t x_124; -x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_124 = !lean_is_exclusive(x_123); if (x_124 == 0) { @@ -9688,89 +9688,89 @@ lean_inc(x_126); x_127 = lean_ctor_get(x_2, 1); lean_inc(x_127); lean_dec(x_2); -x_128 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__9; +x_128 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__9; lean_inc(x_125); x_129 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_129, 0, x_125); lean_ctor_set(x_129, 1, x_128); -x_130 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +x_130 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; lean_inc(x_126); lean_inc(x_127); x_131 = l_Lean_addMacroScope(x_127, x_130, x_126); -x_132 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__16; -x_133 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__22; +x_132 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__16; +x_133 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__22; lean_inc(x_125); x_134 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_134, 0, x_125); lean_ctor_set(x_134, 1, x_132); lean_ctor_set(x_134, 2, x_131); lean_ctor_set(x_134, 3, x_133); -x_135 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__42; +x_135 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__42; lean_inc(x_125); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_125); lean_ctor_set(x_136, 1, x_135); -x_137 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__24; +x_137 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__24; x_138 = lean_array_push(x_137, x_136); x_139 = lean_array_push(x_138, x_9); -x_140 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__41; +x_140 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__41; x_141 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_141, 0, x_140); lean_ctor_set(x_141, 1, x_139); x_142 = lean_array_push(x_137, x_141); -x_143 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__43; +x_143 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__43; x_144 = lean_array_push(x_142, x_143); -x_145 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; +x_145 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); -x_147 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__38; +x_147 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__38; lean_inc(x_125); x_148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_148, 0, x_125); lean_ctor_set(x_148, 1, x_147); -x_149 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__39; +x_149 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__39; x_150 = lean_array_push(x_149, x_129); lean_inc(x_150); x_151 = lean_array_push(x_150, x_146); lean_inc(x_148); x_152 = lean_array_push(x_151, x_148); -x_153 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__8; +x_153 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__8; x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); -x_155 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__23; +x_155 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__23; x_156 = lean_array_push(x_155, x_154); x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_145); lean_ctor_set(x_157, 1, x_156); x_158 = lean_array_push(x_137, x_134); x_159 = lean_array_push(x_158, x_157); -x_160 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__13; +x_160 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__13; x_161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_161, 0, x_160); lean_ctor_set(x_161, 1, x_159); -x_162 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__27; +x_162 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__27; lean_inc(x_125); x_163 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_163, 0, x_125); lean_ctor_set(x_163, 1, x_162); -x_164 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +x_164 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; lean_inc(x_126); lean_inc(x_127); x_165 = l_Lean_addMacroScope(x_127, x_164, x_126); -x_166 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__29; -x_167 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__31; +x_166 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__29; +x_167 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__31; lean_inc(x_125); x_168 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_168, 0, x_125); lean_ctor_set(x_168, 1, x_166); lean_ctor_set(x_168, 2, x_165); lean_ctor_set(x_168, 3, x_167); -x_169 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; +x_169 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; x_170 = l_Lean_addMacroScope(x_127, x_169, x_126); -x_171 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__34; -x_172 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__37; +x_171 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__34; +x_172 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__37; x_173 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_173, 0, x_125); lean_ctor_set(x_173, 1, x_171); @@ -9787,7 +9787,7 @@ lean_ctor_set(x_178, 0, x_160); lean_ctor_set(x_178, 1, x_177); x_179 = lean_array_push(x_137, x_163); x_180 = lean_array_push(x_179, x_178); -x_181 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__26; +x_181 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__26; x_182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_182, 0, x_181); lean_ctor_set(x_182, 1, x_180); @@ -9821,89 +9821,89 @@ lean_inc(x_193); x_194 = lean_ctor_get(x_2, 1); lean_inc(x_194); lean_dec(x_2); -x_195 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__9; +x_195 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__9; lean_inc(x_191); x_196 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_196, 0, x_191); lean_ctor_set(x_196, 1, x_195); -x_197 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__20; +x_197 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__20; lean_inc(x_193); lean_inc(x_194); x_198 = l_Lean_addMacroScope(x_194, x_197, x_193); -x_199 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__16; -x_200 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__22; +x_199 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__16; +x_200 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__22; lean_inc(x_191); x_201 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_201, 0, x_191); lean_ctor_set(x_201, 1, x_199); lean_ctor_set(x_201, 2, x_198); lean_ctor_set(x_201, 3, x_200); -x_202 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__42; +x_202 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__42; lean_inc(x_191); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_191); lean_ctor_set(x_203, 1, x_202); -x_204 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__24; +x_204 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__24; x_205 = lean_array_push(x_204, x_203); x_206 = lean_array_push(x_205, x_9); -x_207 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__41; +x_207 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__41; x_208 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_208, 0, x_207); lean_ctor_set(x_208, 1, x_206); x_209 = lean_array_push(x_204, x_208); -x_210 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__43; +x_210 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__43; x_211 = lean_array_push(x_209, x_210); -x_212 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__11; +x_212 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__11; 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 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__38; +x_214 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__38; lean_inc(x_191); x_215 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_215, 0, x_191); lean_ctor_set(x_215, 1, x_214); -x_216 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__39; +x_216 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__39; x_217 = lean_array_push(x_216, x_196); lean_inc(x_217); x_218 = lean_array_push(x_217, x_213); lean_inc(x_215); x_219 = lean_array_push(x_218, x_215); -x_220 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__8; +x_220 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__8; x_221 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_221, 0, x_220); lean_ctor_set(x_221, 1, x_219); -x_222 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__23; +x_222 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__23; x_223 = lean_array_push(x_222, x_221); x_224 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_224, 0, x_212); lean_ctor_set(x_224, 1, x_223); x_225 = lean_array_push(x_204, x_201); x_226 = lean_array_push(x_225, x_224); -x_227 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__13; +x_227 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__13; x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_227); lean_ctor_set(x_228, 1, x_226); -x_229 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__27; +x_229 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__27; lean_inc(x_191); x_230 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_230, 0, x_191); lean_ctor_set(x_230, 1, x_229); -x_231 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__18; +x_231 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__18; lean_inc(x_193); lean_inc(x_194); x_232 = l_Lean_addMacroScope(x_194, x_231, x_193); -x_233 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__29; -x_234 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__31; +x_233 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__29; +x_234 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__31; lean_inc(x_191); x_235 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_235, 0, x_191); lean_ctor_set(x_235, 1, x_233); lean_ctor_set(x_235, 2, x_232); lean_ctor_set(x_235, 3, x_234); -x_236 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__35; +x_236 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__35; x_237 = l_Lean_addMacroScope(x_194, x_236, x_193); -x_238 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__34; -x_239 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__37; +x_238 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__34; +x_239 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__37; x_240 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_240, 0, x_191); lean_ctor_set(x_240, 1, x_238); @@ -9920,7 +9920,7 @@ lean_ctor_set(x_245, 0, x_227); lean_ctor_set(x_245, 1, x_244); x_246 = lean_array_push(x_204, x_230); x_247 = lean_array_push(x_246, x_245); -x_248 = l_myMacro____x40_Init_System_IO___hyg_3460____closed__26; +x_248 = l_myMacro____x40_Init_System_IO___hyg_3468____closed__26; x_249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); @@ -10030,98 +10030,98 @@ l_IO_FS_Handle_readToEnd___closed__1 = _init_l_IO_FS_Handle_readToEnd___closed__ lean_mark_persistent(l_IO_FS_Handle_readToEnd___closed__1); l_IO_FS_lines___closed__1 = _init_l_IO_FS_lines___closed__1(); lean_mark_persistent(l_IO_FS_lines___closed__1); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__1); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__2); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__3); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__4); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__5); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__6); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__7); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__8); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__9); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__10); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__11); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__12); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__13); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__14); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__15); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__16); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__17); -l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1321____closed__18); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__1); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__2); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__3); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__4); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__5); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__6); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__7); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__8); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__9); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__10); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__11); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__12); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__13); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__14); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__15); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__16); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__17); +l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprDirEntry____x40_Init_System_IO___hyg_1323____closed__18); l_IO_FS_instReprDirEntry___closed__1 = _init_l_IO_FS_instReprDirEntry___closed__1(); lean_mark_persistent(l_IO_FS_instReprDirEntry___closed__1); l_IO_FS_instReprDirEntry = _init_l_IO_FS_instReprDirEntry(); lean_mark_persistent(l_IO_FS_instReprDirEntry); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__1); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__2); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__3); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__4); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__5); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__6); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__7); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__8); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__9); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__10); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__11); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__12); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__13); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__14); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__15); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__16); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__17); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__18); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__19); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__20); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__21); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__22); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__23); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__24); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__25); -l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1377____closed__26); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__1); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__2); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__3); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__4); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__5); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__6); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__7); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__8); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__9); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__10); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__11); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__12); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__13); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__14); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__15); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__16); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__17); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__18); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__19); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__20); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__21); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__22); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__23); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__24); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__25); +l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26 = _init_l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprFileType____x40_Init_System_IO___hyg_1379____closed__26); l_IO_FS_instReprFileType___closed__1 = _init_l_IO_FS_instReprFileType___closed__1(); lean_mark_persistent(l_IO_FS_instReprFileType___closed__1); l_IO_FS_instReprFileType = _init_l_IO_FS_instReprFileType(); @@ -10130,18 +10130,18 @@ l_IO_FS_instBEqFileType___closed__1 = _init_l_IO_FS_instBEqFileType___closed__1( lean_mark_persistent(l_IO_FS_instBEqFileType___closed__1); l_IO_FS_instBEqFileType = _init_l_IO_FS_instBEqFileType(); lean_mark_persistent(l_IO_FS_instBEqFileType); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__1); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__2); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__3); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__4); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__5); -l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1542____closed__6); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__1); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__2); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__3); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__4); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__5); +l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprSystemTime____x40_Init_System_IO___hyg_1544____closed__6); l_IO_FS_instReprSystemTime___closed__1 = _init_l_IO_FS_instReprSystemTime___closed__1(); lean_mark_persistent(l_IO_FS_instReprSystemTime___closed__1); l_IO_FS_instReprSystemTime = _init_l_IO_FS_instReprSystemTime(); @@ -10165,26 +10165,26 @@ l_IO_FS_instLTSystemTime = _init_l_IO_FS_instLTSystemTime(); lean_mark_persistent(l_IO_FS_instLTSystemTime); l_IO_FS_instLESystemTime = _init_l_IO_FS_instLESystemTime(); lean_mark_persistent(l_IO_FS_instLESystemTime); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__1); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__2); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__3); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__4); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__5); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__6); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__7); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__8); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__9); -l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10(); -lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1770____closed__10); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__1 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__1(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__1); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__2); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__3); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__4); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__5); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__6); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__7); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__8); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__9); +l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10 = _init_l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10(); +lean_mark_persistent(l___private_Init_System_IO_0__IO_FS_reprMetadata____x40_Init_System_IO___hyg_1772____closed__10); l_IO_FS_instReprMetadata___closed__1 = _init_l_IO_FS_instReprMetadata___closed__1(); lean_mark_persistent(l_IO_FS_instReprMetadata___closed__1); l_IO_FS_instReprMetadata = _init_l_IO_FS_instReprMetadata(); @@ -10286,92 +10286,92 @@ l_termPrintln_x21_______closed__17 = _init_l_termPrintln_x21_______closed__17(); lean_mark_persistent(l_termPrintln_x21_______closed__17); l_termPrintln_x21____ = _init_l_termPrintln_x21____(); lean_mark_persistent(l_termPrintln_x21____); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__1 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__1); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__2 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__2); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__3 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__3); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__4 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__4); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__5 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__5); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__6 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__6); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__7 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__7); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__8 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__8); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__9 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__9); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__10 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__10); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__11 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__11); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__12 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__12); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__13 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__13(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__13); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__14 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__14(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__14); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__15 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__15(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__15); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__16 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__16(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__16); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__17 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__17(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__17); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__18 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__18(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__18); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__19 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__19(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__19); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__20 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__20(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__20); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__21 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__21(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__21); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__22 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__22(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__22); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__23 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__23(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__23); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__24 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__24(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__24); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__25 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__25(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__25); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__26 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__26(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__26); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__27 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__27(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__27); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__28 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__28(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__28); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__29 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__29(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__29); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__30 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__30(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__30); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__31 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__31(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__31); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__32 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__32(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__32); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__33 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__33(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__33); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__34 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__34(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__34); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__35 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__35(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__35); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__36 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__36(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__36); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__37 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__37(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__37); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__38 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__38(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__38); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__39 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__39(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__39); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__40 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__40(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__40); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__41 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__41(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__41); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__42 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__42(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__42); -l_myMacro____x40_Init_System_IO___hyg_3460____closed__43 = _init_l_myMacro____x40_Init_System_IO___hyg_3460____closed__43(); -lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3460____closed__43); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__1 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__1); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__2 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__2); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__3 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__3); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__4 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__4); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__5 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__5); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__6 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__6); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__7 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__7); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__8 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__8); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__9 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__9); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__10 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__10); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__11 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__11); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__12 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__12); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__13 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__13); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__14 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__14); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__15 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__15); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__16 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__16); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__17 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__17); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__18 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__18); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__19 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__19(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__19); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__20 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__20(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__20); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__21 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__21(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__21); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__22 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__22(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__22); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__23 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__23(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__23); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__24 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__24(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__24); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__25 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__25(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__25); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__26 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__26(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__26); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__27 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__27(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__27); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__28 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__28(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__28); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__29 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__29(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__29); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__30 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__30(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__30); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__31 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__31(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__31); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__32 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__32(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__32); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__33 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__33(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__33); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__34 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__34(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__34); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__35 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__35(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__35); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__36 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__36(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__36); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__37 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__37(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__37); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__38 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__38(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__38); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__39 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__39(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__39); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__40 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__40(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__40); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__41 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__41(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__41); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__42 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__42(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__42); +l_myMacro____x40_Init_System_IO___hyg_3468____closed__43 = _init_l_myMacro____x40_Init_System_IO___hyg_3468____closed__43(); +lean_mark_persistent(l_myMacro____x40_Init_System_IO___hyg_3468____closed__43); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Compiler/ExternAttr.c b/stage0/stdlib/Lean/Compiler/ExternAttr.c index a454c38531..abc7a8d195 100644 --- a/stage0/stdlib/Lean/Compiler/ExternAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExternAttr.c @@ -13,72 +13,77 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3; +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1; lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkSimpleFnCall___closed__2; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4; size_t l_USize_add(size_t, size_t); lean_object* lean_io_get_num_heartbeats(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6; lean_object* l_Std_RBNode_find___at_Lean_getExternAttrData___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__12; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_getExternEntryForAux(lean_object*, lean_object*); lean_object* l_Lean_getExternConstArity___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__5; lean_object* l_List_getD___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternConstArity_match__1(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8; lean_object* lean_get_extern_const_arity(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData_match__1(lean_object*); lean_object* l_Lean_getExternNameFor___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_String_join___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__4; uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1; +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__3; static lean_object* l_Lean_getExternConstArityExport___closed__1; +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4(lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedExternAttrData; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedExternAttrData___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_expandExternPattern(lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_getExternAttrData___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__1(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__9; lean_object* l_Lean_getExternConstArityExport_match__1(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__11; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3; lean_object* l_Lean_throwError___at_Lean_getExternConstArity___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_getExternConstArity_match__1___rarg(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2; lean_object* l_Lean_ExternEntry_backend___boxed(lean_object*); lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1(lean_object*, lean_object*); +uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternNameFor(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3___boxed(lean_object*); static lean_object* l_Lean_getExternConstArity___closed__2; lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1; static lean_object* l_Lean_externAttr___closed__4; static lean_object* l_Lean_externAttr___closed__10; lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -95,20 +100,17 @@ lean_object* l_Lean_expandExternPatternAux_match__2___rarg(lean_object*, lean_ob lean_object* l_Lean_throwError___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_externAttr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_externAttr___lambda__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4; lean_object* l_Lean_externAttr___lambda__6___boxed(lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1; lean_object* l_Lean_externAttr___lambda__5___boxed(lean_object*); uint8_t l_Lean_Environment_isConstructor(lean_object*, lean_object*); lean_object* l_Lean_expandExternPattern___boxed(lean_object*, lean_object*); lean_object* l_Lean_ExternEntry_backend_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ExternEntry_backend(lean_object*); static lean_object* l_Lean_getExternConstArity___closed__9; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3; +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_getExternAttrData___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6(lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_isExternC(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_139_(uint8_t, uint8_t); @@ -116,117 +118,112 @@ uint8_t l_instDecidableNot___rarg(uint8_t); uint8_t l_Lean_isExtern(lean_object*, lean_object*); lean_object* lean_add_extern(lean_object*, lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArityExport___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_ExternAttrData_arity_x3f___default; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExternPatternAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArityExport___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Lean_ofExcept___at_Lean_initFn____x40_Lean_Class___hyg_692____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ExternEntry_backend_match__1(lean_object*); lean_object* l_Lean_expandExternPatternAux_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__13; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5; -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_externAttr___lambda__6(lean_object*); static lean_object* l_Lean_getExternConstArityExport___closed__4; static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__1; lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_externAttr___lambda__1___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static uint8_t l_Lean_expandExternPatternAux___closed__2; static lean_object* l_Lean_getExternConstArityExport___closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4; static lean_object* l_Lean_externAttr___lambda__1___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__2(lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3; lean_object* l_Lean_externAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternConstArity___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3(lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__6; lean_object* l_Lean_expandExternPatternAux_match__1(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1; lean_object* l_Array_binSearchAux___at_Lean_getExternAttrData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___closed__4; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5(lean_object*, lean_object*); lean_object* l_Lean_getExternConstArity_match__3(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__1; extern lean_object* l_Lean_persistentEnvExtensionsRef; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___boxed(lean_object*); lean_object* l_Lean_isExtern___boxed(lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__2; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4; static lean_object* l_Lean_externAttr___lambda__3___closed__3; +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4; lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___closed__1; extern lean_object* l_Lean_firstFrontendMacroScope; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Iterator_next(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2; lean_object* l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__3; lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1; lean_object* l_Lean_externAttr___lambda__5(lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2; lean_object* l_Lean_throwErrorAt___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_Iterator_hasNext(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_projectionFnInfoExt; static lean_object* l_Lean_mkSimpleFnCall___closed__3; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2; lean_object* l_Lean_isExternC_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2; lean_object* l_Lean_isExternC___boxed(lean_object*, lean_object*); lean_object* l_Lean_externAttr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__3; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2; lean_object* lean_get_extern_attr_data(lean_object*, lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344_(lean_object*); +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1; lean_object* l_Lean_getExternNameFor_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternEntryForAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___closed__2; static lean_object* l_Lean_getExternConstArity___closed__5; static lean_object* l_Lean_getExternConstArity___closed__14; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__15; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___boxed(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4; +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lean_externAttr___closed__7; static lean_object* l_Lean_getExternConstArity___closed__10; @@ -234,13 +231,15 @@ lean_object* l_Lean_externAttr___lambda__3___boxed(lean_object*, lean_object*, l uint32_t l_String_Iterator_curr(lean_object*); lean_object* l_Lean_getExternConstArity_match__2___rarg(lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_externAttr___lambda__3___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2(lean_object*, lean_object*); +lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_intersperse___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_getExternConstArity___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExternPatternAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_addExtern___boxed(lean_object*, lean_object*); static lean_object* l_Lean_externAttr___closed__8; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4(lean_object*); lean_object* l_Lean_getExternEntryFor(lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArityExport___closed__6; static lean_object* l_Lean_externAttr___closed__1; @@ -248,74 +247,75 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0_ static lean_object* l_Lean_externAttr___lambda__3___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__16; -lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternConstArityExport_match__1___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1; +static lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1; lean_object* l_Lean_expandExternPatternAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternEntryForAux___boxed(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__7; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6; static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__4; -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5; +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isExternC_match__1(lean_object*); static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__2; lean_object* l_Lean_getExternConstArity_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_getExternAttrData___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___lambda__1___closed__1; -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2; lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1; static lean_object* l_Lean_getExternConstArity___closed__6; +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__1(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5; uint8_t l_Lean_MapDeclarationExtension_contains___at_Lean_Environment_isProjectionFn___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_externAttr___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__3; lean_object* l_String_Iterator_remainingBytes(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3; static lean_object* l_Lean_mkSimpleFnCall___closed__1; lean_object* l_Lean_expandExternPatternAux_match__2(lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5(lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3; -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1; uint8_t l_UInt32_decLe(uint32_t, uint32_t); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Lean_getExternConstArity_match__2(lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_mkSimpleFnCall(lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternEntryFor___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum_match__1(lean_object*); lean_object* l_Lean_externAttr; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7; +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); -lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getExternEntryForAux_match__1(lean_object*); static lean_object* l_Lean_externAttr___closed__12; +lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___closed__3; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_245____spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__2; lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_getExternAttrData___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3___boxed(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_getExternConstArity(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5; lean_object* l_Lean_externAttr___lambda__4___boxed(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3(lean_object*); static lean_object* _init_l_Lean_ExternAttrData_arity_x3f___default() { _start: { @@ -934,7 +934,7 @@ x_3 = lean_add_extern(x_1, x_2); return x_3; } } -lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -948,7 +948,7 @@ x_3 = lean_ctor_get(x_2, 0); x_4 = lean_ctor_get(x_2, 1); x_5 = lean_ctor_get(x_2, 2); x_6 = lean_ctor_get(x_2, 3); -x_7 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2(x_1, x_3); +x_7 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2(x_1, x_3); lean_inc(x_5); lean_inc(x_4); x_8 = lean_alloc_ctor(0, 2, 0); @@ -961,7 +961,7 @@ goto _start; } } } -static lean_object* _init_l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1() { +static lean_object* _init_l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -973,7 +973,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____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* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____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) { _start: { uint8_t x_7; @@ -993,7 +993,7 @@ return x_9; else { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1; +x_10 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1; x_11 = lean_array_get(x_10, x_4, x_6); lean_inc(x_1); lean_inc(x_3); @@ -1026,7 +1026,7 @@ goto _start; } } } -uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -1036,15 +1036,15 @@ x_5 = l_Lean_Name_quickLt(x_3, x_4); return x_5; } } -static lean_object* _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1() { +static lean_object* _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___lambda__1___boxed), 2, 0); return x_1; } } -lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_13; @@ -1061,7 +1061,7 @@ x_14 = lean_nat_add(x_2, x_3); x_15 = lean_unsigned_to_nat(2u); x_16 = lean_nat_div(x_14, x_15); lean_dec(x_14); -x_46 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1; +x_46 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1; x_47 = lean_array_get(x_46, x_1, x_16); x_48 = lean_array_get(x_46, x_1, x_2); x_49 = lean_ctor_get(x_47, 0); @@ -1088,7 +1088,7 @@ goto block_45; block_45: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1; +x_18 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1; x_19 = lean_array_get(x_18, x_17, x_3); x_20 = lean_array_get(x_18, x_17, x_2); x_21 = lean_ctor_get(x_19, 0); @@ -1112,9 +1112,9 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_dec(x_16); -x_27 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1; +x_27 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1; lean_inc_n(x_2, 2); -x_28 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(x_27, x_3, x_19, x_17, x_2, x_2); +x_28 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(x_27, x_3, x_19, x_17, x_2, x_2); x_4 = x_28; goto block_12; } @@ -1125,9 +1125,9 @@ lean_dec(x_19); x_29 = lean_array_swap(x_17, x_16, x_3); lean_dec(x_16); x_30 = lean_array_get(x_18, x_29, x_3); -x_31 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1; +x_31 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1; lean_inc_n(x_2, 2); -x_32 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(x_31, x_3, x_30, x_29, x_2, x_2); +x_32 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(x_31, x_3, x_30, x_29, x_2, x_2); x_4 = x_32; goto block_12; } @@ -1152,9 +1152,9 @@ if (x_38 == 0) { lean_object* x_39; lean_object* x_40; lean_dec(x_16); -x_39 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1; +x_39 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1; lean_inc_n(x_2, 2); -x_40 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(x_39, x_3, x_35, x_33, x_2, x_2); +x_40 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(x_39, x_3, x_35, x_33, x_2, x_2); x_4 = x_40; goto block_12; } @@ -1165,9 +1165,9 @@ lean_dec(x_35); x_41 = lean_array_swap(x_33, x_16, x_3); lean_dec(x_16); x_42 = lean_array_get(x_18, x_41, x_3); -x_43 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1; +x_43 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1; lean_inc_n(x_2, 2); -x_44 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(x_43, x_3, x_42, x_41, x_2, x_2); +x_44 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(x_43, x_3, x_42, x_41, x_2, x_2); x_4 = x_44; goto block_12; } @@ -1186,7 +1186,7 @@ x_7 = lean_nat_dec_le(x_3, x_5); if (x_7 == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3(x_6, x_2, x_5); +x_8 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3(x_6, x_2, x_5); x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_add(x_5, x_9); lean_dec(x_5); @@ -1203,7 +1203,7 @@ return x_6; } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -1241,7 +1241,7 @@ return x_14; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -1255,15 +1255,15 @@ lean_ctor_set(x_5, 1, x_2); return x_5; } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__1), 2, 0); return x_1; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -1280,7 +1280,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_1, 5); lean_inc(x_9); lean_dec(x_1); -x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1; +x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1; x_11 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_11, 0, x_5); lean_closure_set(x_11, 1, x_10); @@ -1361,7 +1361,7 @@ return x_30; } } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1() { _start: { lean_object* x_1; @@ -1369,7 +1369,7 @@ x_1 = lean_mk_string("invalid environment extension, '"); return x_1; } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2() { _start: { lean_object* x_1; @@ -1377,7 +1377,7 @@ x_1 = lean_mk_string("' has already been used"); return x_1; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -1399,7 +1399,7 @@ lean_dec(x_8); lean_free_object(x_4); lean_dec(x_6); x_11 = lean_box(0); -x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_11, x_7); +x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_11, x_7); return x_12; } else @@ -1413,7 +1413,7 @@ lean_dec(x_8); lean_free_object(x_4); lean_dec(x_6); x_14 = lean_box(0); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_14, x_7); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_14, x_7); return x_15; } else @@ -1422,14 +1422,14 @@ size_t x_16; size_t x_17; uint8_t x_18; x_16 = 0; x_17 = lean_usize_of_nat(x_8); lean_dec(x_8); -x_18 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6(x_1, x_6, x_16, x_17); +x_18 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6(x_1, x_6, x_16, x_17); lean_dec(x_6); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_free_object(x_4); x_19 = lean_box(0); -x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_19, x_7); +x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_19, x_7); return x_20; } else @@ -1440,10 +1440,10 @@ lean_inc(x_21); lean_dec(x_1); x_22 = 1; x_23 = l_Lean_Name_toString(x_21, x_22); -x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1; +x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1; x_25 = lean_string_append(x_24, x_23); lean_dec(x_23); -x_26 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2; +x_26 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -1471,7 +1471,7 @@ lean_object* x_34; lean_object* x_35; lean_dec(x_31); lean_dec(x_29); x_34 = lean_box(0); -x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_34, x_30); +x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_34, x_30); return x_35; } else @@ -1484,7 +1484,7 @@ lean_object* x_37; lean_object* x_38; lean_dec(x_31); lean_dec(x_29); x_37 = lean_box(0); -x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_37, x_30); +x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_37, x_30); return x_38; } else @@ -1493,13 +1493,13 @@ size_t x_39; size_t x_40; uint8_t x_41; x_39 = 0; x_40 = lean_usize_of_nat(x_31); lean_dec(x_31); -x_41 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6(x_1, x_29, x_39, x_40); +x_41 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6(x_1, x_29, x_39, x_40); lean_dec(x_29); if (x_41 == 0) { lean_object* x_42; lean_object* x_43; x_42 = lean_box(0); -x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_42, x_30); +x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_42, x_30); return x_43; } else @@ -1510,10 +1510,10 @@ lean_inc(x_44); lean_dec(x_1); x_45 = 1; x_46 = l_Lean_Name_toString(x_44, x_45); -x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1; +x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1; x_48 = lean_string_append(x_47, x_46); lean_dec(x_46); -x_49 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2; +x_49 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2; x_50 = lean_string_append(x_48, x_49); x_51 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_51, 0, x_50); @@ -1527,7 +1527,7 @@ return x_52; } } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; @@ -1584,7 +1584,7 @@ return x_15; } } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -1597,23 +1597,23 @@ x_5 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_3, x_ return x_5; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3(lean_object* x_1) { _start: { 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; x_2 = l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___lambda__1___closed__1; -x_3 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2(x_2, x_1); +x_3 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2(x_2, x_1); x_4 = lean_array_get_size(x_3); x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3(x_3, x_7, x_6); +x_8 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3(x_3, x_7, x_6); lean_dec(x_6); return x_8; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -1621,21 +1621,21 @@ x_1 = lean_mk_string("parametric attribute"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___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_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1643,7 +1643,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4() { _start: { lean_object* x_1; @@ -1651,29 +1651,29 @@ x_1 = lean_mk_string("number of local entries: "); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3; -x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3; +x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5; x_3 = lean_alloc_ctor(4, 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_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -1682,14 +1682,14 @@ x_3 = l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(x_2, x_1); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6; +x_6 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); return x_7; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -1773,7 +1773,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -1781,16 +1781,16 @@ x_1 = lean_mk_string("invalid attribute '"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3() { _start: { lean_object* x_1; @@ -1798,16 +1798,16 @@ x_1 = lean_mk_string("', declaration is in an imported module"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -1826,7 +1826,7 @@ if (lean_obj_tag(x_14) == 0) lean_object* x_15; lean_object* x_16; lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_13, x_15, x_7, x_8, x_12); +x_16 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_13, x_15, x_7, x_8, x_12); return x_16; } else @@ -1840,11 +1840,11 @@ lean_dec(x_2); lean_dec(x_1); x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_5); -x_18 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2; +x_18 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4; +x_20 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -1872,7 +1872,7 @@ return x_26; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -1880,16 +1880,16 @@ x_1 = lean_mk_string("', must be global"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; uint8_t x_11; @@ -1904,11 +1904,11 @@ lean_dec(x_2); lean_dec(x_1); x_12 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_12, 0, x_3); -x_13 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2; +x_13 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2; +x_15 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -1938,12 +1938,12 @@ else { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6(x_1, x_4, x_5, x_2, x_3, x_22, x_7, x_8, x_9); +x_23 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6(x_1, x_4, x_5, x_2, x_3, x_22, x_7, x_8, x_9); return x_23; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -1951,25 +1951,25 @@ x_1 = lean_mk_string("attribute cannot be erased"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2; +x_5 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1979,39 +1979,39 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__2), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__2), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___boxed), 4, 0); return x_1; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -2025,13 +2025,13 @@ x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get(x_3, 1); x_7 = lean_box(0); lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__1), 5, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__1), 5, 2); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_7); -x_9 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1; -x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2; -x_11 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3; -x_12 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4; +x_9 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1; +x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2; +x_11 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3; +x_12 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4; lean_inc(x_5); x_13 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_13, 0, x_5); @@ -2040,7 +2040,7 @@ lean_ctor_set(x_13, 2, x_8); lean_ctor_set(x_13, 3, x_10); lean_ctor_set(x_13, 4, x_11); lean_ctor_set(x_13, 5, x_12); -x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5(x_13, x_2); +x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5(x_13, x_2); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -2053,11 +2053,11 @@ x_17 = 0; lean_inc(x_5); lean_ctor_set_uint8(x_3, sizeof(void*)*2, x_17); lean_inc(x_15); -x_18 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___boxed), 9, 3); +x_18 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___boxed), 9, 3); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_15); lean_closure_set(x_18, 2, x_5); -x_19 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5; +x_19 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5; x_20 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_20, 0, x_3); lean_ctor_set(x_20, 1, x_18); @@ -2156,13 +2156,13 @@ lean_inc(x_36); lean_dec(x_3); x_38 = lean_box(0); lean_inc(x_1); -x_39 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__1), 5, 2); +x_39 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__1), 5, 2); lean_closure_set(x_39, 0, x_1); lean_closure_set(x_39, 1, x_38); -x_40 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1; -x_41 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2; -x_42 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3; -x_43 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4; +x_40 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1; +x_41 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2; +x_42 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3; +x_43 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4; lean_inc(x_36); x_44 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_44, 0, x_36); @@ -2171,7 +2171,7 @@ lean_ctor_set(x_44, 2, x_39); lean_ctor_set(x_44, 3, x_41); lean_ctor_set(x_44, 4, x_42); lean_ctor_set(x_44, 5, x_43); -x_45 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5(x_44, x_2); +x_45 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5(x_44, x_2); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; @@ -2187,11 +2187,11 @@ lean_ctor_set(x_49, 0, x_36); lean_ctor_set(x_49, 1, x_37); lean_ctor_set_uint8(x_49, sizeof(void*)*2, x_48); lean_inc(x_46); -x_50 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___boxed), 9, 3); +x_50 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___boxed), 9, 3); lean_closure_set(x_50, 0, x_1); lean_closure_set(x_50, 1, x_46); lean_closure_set(x_50, 2, x_36); -x_51 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5; +x_51 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5; x_52 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_50); @@ -2280,7 +2280,7 @@ return x_65; } } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -2288,7 +2288,7 @@ x_6 = l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData(x_2, x return x_6; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -2523,7 +2523,7 @@ return x_58; } } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -2534,7 +2534,7 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1() { _start: { lean_object* x_1; @@ -2542,17 +2542,17 @@ x_1 = lean_mk_string("extern"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3() { _start: { lean_object* x_1; @@ -2560,12 +2560,12 @@ x_1 = lean_mk_string("builtin and foreign functions"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2; -x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -2574,38 +2574,38 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__1___boxed), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__2___boxed), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4; -x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5; -x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6; -x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7; +x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4; +x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5; +x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6; +x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -2614,54 +2614,54 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8; -x_3 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1(x_2, x_1); +x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8; +x_3 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__2(x_1, x_2); +x_3 = l_Std_RBNode_fold___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____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* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____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) { _start: { lean_object* x_7; -x_7 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); return x_7; } } -lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___lambda__1(x_1, x_2); +x_3 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___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_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3(x_1, x_2, x_3); +x_4 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -2669,106 +2669,106 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__6(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__6(x_1, x_2, x_5, x_6); lean_dec(x_2); lean_dec(x_1); x_8 = lean_box(x_7); return x_8; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2(x_1, x_2, x_3); +x_4 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3___boxed(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__3(x_1); +x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__3(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___boxed(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4(x_1); +x_2 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); return x_10; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); return x_10; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_6); lean_dec(x_6); -x_11 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +x_11 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); return x_11; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___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_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8(x_1, x_2, x_3, x_4); +x_5 = l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____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* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____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* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_6; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____lambda__3(x_1, x_2, x_3); +x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -3132,7 +3132,7 @@ x_7 = lean_nat_add(x_3, x_4); x_8 = lean_unsigned_to_nat(2u); x_9 = lean_nat_div(x_7, x_8); lean_dec(x_7); -x_10 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1; +x_10 = l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1; x_11 = lean_array_get(x_10, x_1, x_9); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -6183,70 +6183,70 @@ l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__3 lean_mark_persistent(l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__3); l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__4 = _init_l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__4(); lean_mark_persistent(l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__4); -l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1 = _init_l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1(); -lean_mark_persistent(l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__4___closed__1); -l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1 = _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1(); -lean_mark_persistent(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__3___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___lambda__2___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__5___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__1); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__3); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__4); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__5); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__4___closed__6); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__1); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__3); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__6___closed__4); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__1); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__7___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__1); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___lambda__8___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__1); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__2); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__3); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__4); -l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____spec__1___closed__5); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__1); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__2); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__3); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__4); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__5); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__6); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__7); -l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342____closed__8); +l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1 = _init_l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1(); +lean_mark_persistent(l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__4___closed__1); +l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1 = _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1(); +lean_mark_persistent(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__3___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___lambda__2___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__5___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__1); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__3); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__5); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__6); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__1); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__3); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__6___closed__4); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__1); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__7___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__1); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__8___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__1); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__2); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__3); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__4); +l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___closed__5); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__1); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__2); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__3); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__4); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__5); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__6); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__7); +l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____closed__8); l_Lean_externAttr___lambda__1___closed__1 = _init_l_Lean_externAttr___lambda__1___closed__1(); lean_mark_persistent(l_Lean_externAttr___lambda__1___closed__1); l_Lean_externAttr___lambda__1___closed__2 = _init_l_Lean_externAttr___lambda__1___closed__2(); @@ -6280,7 +6280,7 @@ l_Lean_externAttr___closed__11 = _init_l_Lean_externAttr___closed__11(); lean_mark_persistent(l_Lean_externAttr___closed__11); l_Lean_externAttr___closed__12 = _init_l_Lean_externAttr___closed__12(); lean_mark_persistent(l_Lean_externAttr___closed__12); -res = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_342_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_externAttr = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_externAttr); diff --git a/stage0/stdlib/Lean/Compiler/InitAttr.c b/stage0/stdlib/Lean/Compiler/InitAttr.c index bc2a98fb09..97194354f5 100644 --- a/stage0/stdlib/Lean/Compiler/InitAttr.c +++ b/stage0/stdlib/Lean/Compiler/InitAttr.c @@ -86,9 +86,9 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_registerInitAttrUnsafe___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_registerInitAttrUnsafe___spec__3___closed__2; static lean_object* l_Lean_registerParametricAttribute___at_Lean_registerInitAttrUnsafe___spec__10___lambda__6___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerInitAttrUnsafe___spec__14___lambda__2___closed__1; lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_getIOTypeArg___boxed(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_registerInitAttrUnsafe___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_isUnitType_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -98,10 +98,10 @@ static lean_object* l_Lean_regularInitAttr___closed__4; lean_object* l_Lean_registerInitAttrUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_isIOUnit_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_regularInitAttr___closed__9; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2; lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2; -lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_registerInitAttrUnsafe___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerParametricAttribute___at_Lean_registerInitAttrUnsafe___spec__10___closed__2; lean_object* lean_get_init_fn_name_for(lean_object*, lean_object*); @@ -138,21 +138,21 @@ lean_object* l_Lean_regularInitAttr___lambda__5(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_registerParametricAttribute___at_Lean_registerInitAttrUnsafe___spec__10___lambda__4___closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1; static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__7; lean_object* l_Lean_getInitFnNameForCore_x3f___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerParametricAttribute___at_Lean_registerInitAttrUnsafe___spec__10(lean_object*, lean_object*); lean_object* l_Lean_registerInitAttrUnsafe___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2; static lean_object* l_Array_qpartition_loop___at_Lean_registerInitAttrUnsafe___spec__13___closed__1; lean_object* l_Array_qpartition_loop___at_Lean_registerInitAttrUnsafe___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isIOUnitBuiltinInitFn___boxed(lean_object*, lean_object*); static lean_object* l_Lean_registerParametricAttribute___at_Lean_registerInitAttrUnsafe___spec__10___lambda__4___closed__5; -static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2; static lean_object* l_Lean_registerInitAttrUnsafe___closed__1; lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_hasInitAttr___boxed(lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); lean_object* lean_get_regular_init_fn_name_for(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1; lean_object* l_Lean_registerInitAttr___rarg(lean_object*); extern lean_object* l_Lean_persistentEnvExtensionsRef; lean_object* lean_expr_dbg_to_string(lean_object*); @@ -3643,7 +3643,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1() { _start: { lean_object* x_1; @@ -3651,21 +3651,21 @@ x_1 = lean_mk_string("init"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2; x_3 = 1; x_4 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_1); return x_4; @@ -3940,7 +3940,7 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1() { _start: { lean_object* x_1; @@ -3948,21 +3948,21 @@ x_1 = lean_mk_string("builtinInit"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2; x_3 = 0; x_4 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_1); return x_4; @@ -4628,10 +4628,10 @@ lean_mark_persistent(l_Lean_registerInitAttrUnsafe___closed__3); l_Lean_registerInitAttr___rarg___closed__1 = _init_l_Lean_registerInitAttr___rarg___closed__1(); l_Lean_registerInitAttr___rarg___closed__2 = _init_l_Lean_registerInitAttr___rarg___closed__2(); lean_mark_persistent(l_Lean_registerInitAttr___rarg___closed__2); -l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__1); -l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597____closed__2); +l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__1); +l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600____closed__2); l_Lean_regularInitAttr___lambda__1___closed__1 = _init_l_Lean_regularInitAttr___lambda__1___closed__1(); lean_mark_persistent(l_Lean_regularInitAttr___lambda__1___closed__1); l_Lean_regularInitAttr___lambda__1___closed__2 = _init_l_Lean_regularInitAttr___lambda__1___closed__2(); @@ -4660,16 +4660,16 @@ l_Lean_regularInitAttr___closed__11 = _init_l_Lean_regularInitAttr___closed__11( lean_mark_persistent(l_Lean_regularInitAttr___closed__11); l_Lean_regularInitAttr___closed__12 = _init_l_Lean_regularInitAttr___closed__12(); lean_mark_persistent(l_Lean_regularInitAttr___closed__12); -res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_597_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_600_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_regularInitAttr = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_regularInitAttr); lean_dec_ref(res); -l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__1); -l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613____closed__2); -res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_613_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__1); +l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616____closed__2); +res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_616_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_builtinInitAttr = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_builtinInitAttr); diff --git a/stage0/stdlib/Lean/Compiler/NameMangling.c b/stage0/stdlib/Lean/Compiler/NameMangling.c index d03ca0114d..00cddb1989 100644 --- a/stage0/stdlib/Lean/Compiler/NameMangling.c +++ b/stage0/stdlib/Lean/Compiler/NameMangling.c @@ -15,39 +15,44 @@ extern "C" { #endif lean_object* lean_string_push(lean_object*, uint32_t); lean_object* lean_nat_div(lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3; uint8_t l_Char_isDigit(uint32_t); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__1; -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1(lean_object*); +lean_object* l_String_mangle(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Nat_repeat_loop___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__1(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_mkModuleInitializationFunctionName___closed__1; uint32_t l_Nat_digitChar(lean_object*); +lean_object* l_List_foldl___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Iterator_next(lean_object*); uint8_t l_Char_isAlpha(uint32_t); uint8_t l_UInt32_decEq(uint32_t, uint32_t); -lean_object* l_Lean_String_mangle(lean_object*); lean_object* lean_mk_module_initialization_function_name(lean_object*); +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1(lean_object*); uint32_t l_String_Iterator_curr(lean_object*); -static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2; +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_toDigits(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__2(lean_object*); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(lean_object*); -static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1; lean_object* lean_name_mangle(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); -static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3; +static lean_object* l_String_mangle___closed__1; lean_object* lean_nat_mod(lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2; lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__1(lean_object*); +lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_String_mangle___closed__1; +static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1; lean_object* lean_uint32_to_nat(uint32_t); +static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_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* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -71,24 +76,81 @@ return x_11; } } } -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1(lean_object* x_1) { +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux_match__1___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1() { +lean_object* l_Nat_repeat_loop___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_eq(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_sub(x_1, x_5); +lean_dec(x_1); +x_7 = 48; +x_8 = lean_string_push(x_2, x_7); +x_1 = x_6; +x_2 = x_8; +goto _start; +} +else +{ +lean_dec(x_1); +return x_2; +} +} +} +lean_object* l_List_foldl___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; uint32_t x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_unbox_uint32(x_3); +lean_dec(x_3); +x_6 = lean_string_push(x_1, x_5); +x_1 = x_6; +x_2 = x_4; +goto _start; +} +} +} +static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_U"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2() { _start: { lean_object* x_1; @@ -96,7 +158,7 @@ x_1 = lean_mk_string("_u"); return x_1; } } -static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2() { +static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3() { _start: { lean_object* x_1; @@ -104,7 +166,7 @@ x_1 = lean_mk_string("_x"); return x_1; } } -static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3() { +static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4() { _start: { lean_object* x_1; @@ -112,7 +174,7 @@ x_1 = lean_mk_string("__"); return x_1; } } -lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -139,96 +201,120 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = lean_uint32_to_nat(x_8); -x_14 = lean_unsigned_to_nat(255u); +x_14 = lean_unsigned_to_nat(256u); x_15 = lean_nat_dec_lt(x_13, x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint32_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint32_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint32_t x_30; lean_object* x_31; lean_object* x_32; uint32_t x_33; lean_object* x_34; lean_object* x_35; -x_16 = l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1; -x_17 = lean_string_append(x_3, x_16); -x_18 = lean_unsigned_to_nat(4096u); -x_19 = lean_nat_div(x_13, x_18); -x_20 = l_Nat_digitChar(x_19); -lean_dec(x_19); -x_21 = lean_string_push(x_17, x_20); -x_22 = lean_nat_mod(x_13, x_18); -lean_dec(x_13); -x_23 = lean_unsigned_to_nat(256u); -x_24 = lean_nat_div(x_22, x_23); -x_25 = l_Nat_digitChar(x_24); -lean_dec(x_24); -x_26 = lean_string_push(x_21, x_25); -x_27 = lean_nat_mod(x_22, x_23); +lean_object* x_16; uint8_t x_17; +x_16 = lean_unsigned_to_nat(65536u); +x_17 = lean_nat_dec_lt(x_13, x_16); +if (x_17 == 0) +{ +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; +x_18 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1; +x_19 = lean_string_append(x_3, x_18); +x_20 = lean_unsigned_to_nat(16u); +x_21 = l_Nat_toDigits(x_20, x_13); +x_22 = l_List_lengthAux___rarg(x_21, x_4); +x_23 = lean_unsigned_to_nat(8u); +x_24 = lean_nat_sub(x_23, x_22); lean_dec(x_22); -x_28 = lean_unsigned_to_nat(16u); -x_29 = lean_nat_div(x_27, x_28); -x_30 = l_Nat_digitChar(x_29); -lean_dec(x_29); -x_31 = lean_string_push(x_26, x_30); -x_32 = lean_nat_mod(x_27, x_28); -lean_dec(x_27); +x_25 = l_Nat_repeat_loop___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__1(x_24, x_19); +x_26 = l_List_foldl___at___private_Lean_Compiler_NameMangling_0__String_mangleAux___spec__2(x_25, x_21); +x_27 = l_String_Iterator_next(x_2); +x_1 = x_7; +x_2 = x_27; +x_3 = x_26; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint32_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint32_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint32_t x_42; lean_object* x_43; lean_object* x_44; uint32_t x_45; lean_object* x_46; lean_object* x_47; +x_29 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2; +x_30 = lean_string_append(x_3, x_29); +x_31 = lean_unsigned_to_nat(4096u); +x_32 = lean_nat_div(x_13, x_31); x_33 = l_Nat_digitChar(x_32); lean_dec(x_32); -x_34 = lean_string_push(x_31, x_33); -x_35 = l_String_Iterator_next(x_2); -x_1 = x_7; -x_2 = x_35; -x_3 = x_34; -goto _start; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint32_t x_41; lean_object* x_42; lean_object* x_43; uint32_t x_44; lean_object* x_45; lean_object* x_46; -x_37 = l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2; -x_38 = lean_string_append(x_3, x_37); -x_39 = lean_unsigned_to_nat(16u); -x_40 = lean_nat_div(x_13, x_39); -x_41 = l_Nat_digitChar(x_40); -lean_dec(x_40); -x_42 = lean_string_push(x_38, x_41); -x_43 = lean_nat_mod(x_13, x_39); +x_34 = lean_string_push(x_30, x_33); +x_35 = lean_nat_mod(x_13, x_31); lean_dec(x_13); -x_44 = l_Nat_digitChar(x_43); -lean_dec(x_43); -x_45 = lean_string_push(x_42, x_44); -x_46 = l_String_Iterator_next(x_2); +x_36 = lean_nat_div(x_35, x_14); +x_37 = l_Nat_digitChar(x_36); +lean_dec(x_36); +x_38 = lean_string_push(x_34, x_37); +x_39 = lean_nat_mod(x_35, x_14); +lean_dec(x_35); +x_40 = lean_unsigned_to_nat(16u); +x_41 = lean_nat_div(x_39, x_40); +x_42 = l_Nat_digitChar(x_41); +lean_dec(x_41); +x_43 = lean_string_push(x_38, x_42); +x_44 = lean_nat_mod(x_39, x_40); +lean_dec(x_39); +x_45 = l_Nat_digitChar(x_44); +lean_dec(x_44); +x_46 = lean_string_push(x_43, x_45); +x_47 = l_String_Iterator_next(x_2); x_1 = x_7; -x_2 = x_46; -x_3 = x_45; +x_2 = x_47; +x_3 = x_46; goto _start; } } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = l_String_Iterator_next(x_2); -x_49 = l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint32_t x_53; lean_object* x_54; lean_object* x_55; uint32_t x_56; lean_object* x_57; lean_object* x_58; +x_49 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3; x_50 = lean_string_append(x_3, x_49); +x_51 = lean_unsigned_to_nat(16u); +x_52 = lean_nat_div(x_13, x_51); +x_53 = l_Nat_digitChar(x_52); +lean_dec(x_52); +x_54 = lean_string_push(x_50, x_53); +x_55 = lean_nat_mod(x_13, x_51); +lean_dec(x_13); +x_56 = l_Nat_digitChar(x_55); +lean_dec(x_55); +x_57 = lean_string_push(x_54, x_56); +x_58 = l_String_Iterator_next(x_2); x_1 = x_7; -x_2 = x_48; -x_3 = x_50; +x_2 = x_58; +x_3 = x_57; goto _start; } } else { -lean_object* x_52; lean_object* x_53; -x_52 = l_String_Iterator_next(x_2); -x_53 = lean_string_push(x_3, x_8); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = l_String_Iterator_next(x_2); +x_61 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4; +x_62 = lean_string_append(x_3, x_61); x_1 = x_7; -x_2 = x_52; -x_3 = x_53; +x_2 = x_60; +x_3 = x_62; goto _start; } } else { -lean_object* x_55; lean_object* x_56; -x_55 = l_String_Iterator_next(x_2); -x_56 = lean_string_push(x_3, x_8); +lean_object* x_64; lean_object* x_65; +x_64 = l_String_Iterator_next(x_2); +x_65 = lean_string_push(x_3, x_8); x_1 = x_7; -x_2 = x_55; -x_3 = x_56; +x_2 = x_64; +x_3 = x_65; +goto _start; +} +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = l_String_Iterator_next(x_2); +x_68 = lean_string_push(x_3, x_8); +x_1 = x_7; +x_2 = x_67; +x_3 = x_68; goto _start; } } @@ -240,7 +326,7 @@ return x_3; } } } -static lean_object* _init_l_Lean_String_mangle___closed__1() { +static lean_object* _init_l_String_mangle___closed__1() { _start: { lean_object* x_1; @@ -248,7 +334,7 @@ x_1 = lean_mk_string(""); return x_1; } } -lean_object* l_Lean_String_mangle(lean_object* x_1) { +lean_object* l_String_mangle(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -257,8 +343,8 @@ x_3 = lean_unsigned_to_nat(0u); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); -x_5 = l_Lean_String_mangle___closed__1; -x_6 = l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux(x_2, x_4, x_5); +x_5 = l_String_mangle___closed__1; +x_6 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux(x_2, x_4, x_5); return x_6; } } @@ -359,7 +445,7 @@ switch (lean_obj_tag(x_1)) { case 0: { lean_object* x_2; -x_2 = l_Lean_String_mangle___closed__1; +x_2 = l_String_mangle___closed__1; return x_2; } case 1: @@ -370,7 +456,7 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_String_mangle(x_4); +x_5 = l_String_mangle(x_4); if (lean_obj_tag(x_3) == 0) { return x_5; @@ -428,7 +514,7 @@ lean_object* lean_mk_module_initialization_function_name(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_String_mangle___closed__1; +x_2 = l_String_mangle___closed__1; x_3 = lean_name_mangle(x_1, x_2); x_4 = l_Lean_mkModuleInitializationFunctionName___closed__1; x_5 = lean_string_append(x_4, x_3); @@ -449,14 +535,16 @@ lean_dec_ref(res); res = initialize_Lean_Data_Name(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1 = _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1(); -lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__1); -l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2 = _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2(); -lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__2); -l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3 = _init_l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3(); -lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux___closed__3); -l_Lean_String_mangle___closed__1 = _init_l_Lean_String_mangle___closed__1(); -lean_mark_persistent(l_Lean_String_mangle___closed__1); +l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1 = _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1(); +lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1); +l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2 = _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2(); +lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__2); +l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3 = _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3(); +lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__3); +l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4 = _init_l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4(); +lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__4); +l_String_mangle___closed__1 = _init_l_String_mangle___closed__1(); +lean_mark_persistent(l_String_mangle___closed__1); l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__1 = _init_l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__1(); lean_mark_persistent(l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__1); l_Lean_mkModuleInitializationFunctionName___closed__1 = _init_l_Lean_mkModuleInitializationFunctionName___closed__1(); diff --git a/stage0/stdlib/Lean/Compiler/Specialize.c b/stage0/stdlib/Lean/Compiler/Specialize.c index 25e2baf7ea..e605b2909d 100644 --- a/stage0/stdlib/Lean/Compiler/Specialize.c +++ b/stage0/stdlib/Lean/Compiler/Specialize.c @@ -34,7 +34,6 @@ lean_object* l_Lean_Compiler_specExtension___elambda__4(lean_object*, lean_objec lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getCachedSpecialization___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_11__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_Compiler_SpecState_addEntry___spec__6(lean_object*, lean_object*, lean_object*); @@ -62,7 +61,7 @@ lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux(lean_object*, uint8_t, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_SpecState_addEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Compiler_specializeAttrs; lean_object* l_Lean_EnumAttributes_getValue___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -71,31 +70,31 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__7___boxed(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Compiler_SpecState_addEntry___spec__10(lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4___boxed(lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__1; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__5___lambda__1___closed__1; lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_11__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specExtension___closed__1; +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__5(lean_object*, lean_object*); lean_object* l_Std_AssocList_replace___at_Lean_Compiler_SpecState_addEntry___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__4___closed__6; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__5(lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specializeAttrs___closed__5; static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___closed__5; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__1(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_specializeAttrs___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_expand___at_Lean_Compiler_SpecState_addEntry___spec__8(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specializeAttrs___closed__3; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__13(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__2; lean_object* l_Lean_Compiler_specializeAttrs___lambda__4___boxed(lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specExtension___closed__4; lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__2(lean_object*); @@ -110,6 +109,8 @@ static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg size_t l_UInt64_toUSize(uint64_t); lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__6(lean_object*, lean_object*); lean_object* l_Lean_Compiler_SpecState_switch_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__3(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3; lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__5___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specExtension___closed__2; lean_object* l_Lean_Compiler_specializeAttrs___lambda__3(lean_object*); @@ -117,7 +118,6 @@ lean_object* l_Lean_Compiler_specializeAttrs___lambda__1___boxed(lean_object*, l static uint32_t l_Lean_Compiler_specializeAttrs___lambda__1___closed__1; static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__4___closed__3; lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4___boxed(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Compiler_SpecState_addEntry___spec__20(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_specExtension; @@ -125,15 +125,14 @@ lean_object* l_Std_HashMapImp_expand___at_Lean_Compiler_SpecState_addEntry___spe uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_139_(uint8_t, uint8_t); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3; lean_object* l_Lean_Compiler_specializeAttrs___lambda__3___boxed(lean_object*); lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__3(lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4(lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__2___closed__2; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_instInhabitedSpecializeAttributeKind; @@ -156,6 +155,7 @@ lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_ uint64_t l_Lean_Name_hash(lean_object*); static lean_object* l_Array_qpartition_loop___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__4___closed__1; lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__4___closed__1; uint64_t l_Lean_Expr_hash(lean_object*); lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -170,14 +170,14 @@ size_t l_USize_shiftLeft(size_t, size_t); lean_object* l_Array_qpartition_loop___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_has_specialize_attribute(lean_object*, lean_object*); extern lean_object* l_Lean_persistentEnvExtensionsRef; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specializeAttrs___closed__7; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1(lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__7(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1; lean_object* l_Lean_Compiler_specializeAttrs___lambda__4(lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__4(lean_object*); lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2; lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__12(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__4; @@ -201,13 +201,12 @@ static lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Sp lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); static lean_object* l_Lean_Compiler_instInhabitedSpecInfo___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__6; static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__4___closed__5; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2; lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4(lean_object*); -static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1; lean_object* lean_cache_specialization(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); uint8_t l_Lean_Compiler_instInhabitedSpecArgKind; @@ -217,17 +216,16 @@ lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____ lean_object* l_Lean_Compiler_specializeAttrs___lambda__2(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__6(lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4(lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_11_(uint8_t, uint8_t); static lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__2___closed__4; static lean_object* l_Lean_Compiler_specializeAttrs___closed__4; static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__13; lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__3___boxed(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1(lean_object*); -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323_(lean_object*); +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324_(lean_object*); lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49_(lean_object*); lean_object* lean_list_to_array(lean_object*, lean_object*); +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1___boxed(lean_object*); static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__3; lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t lean_has_nospecialize_attribute(lean_object*, lean_object*); @@ -235,17 +233,17 @@ static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compil uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getCachedSpecialization___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getSpecializationInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__18(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4; lean_object* l_Lean_Compiler_instInhabitedSpecInfo; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__5___closed__2; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1___boxed(lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1(lean_object*); lean_object* l_Lean_Compiler_specExtension___elambda__2(lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4(lean_object*, lean_object*); static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___closed__3; lean_object* l_Lean_Compiler_specExtension___elambda__1___boxed(lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__10; @@ -290,8 +288,8 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_SpecS lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_SpecState_addEntry___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__7; lean_object* l_Lean_Compiler_SpecState_switch(lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Compiler_SpecState_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Compiler_specExtension___elambda__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__15; @@ -300,7 +298,6 @@ static lean_object* l_Lean_Compiler_specExtension___closed__3; static lean_object* l_Lean_Compiler_specExtension___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__14; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Std_mkHashMap___at_Lean_Compiler_SpecState_cache___default___spec__1(lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__5; @@ -313,19 +310,22 @@ lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_Compiler_SpecState_addEntry_match__1(lean_object*); static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__3; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_Compiler_SpecState_addEntry___spec__17(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1___boxed(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getSpecializationInfo___spec__3(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1; lean_object* l_Lean_Compiler_specExtension___elambda__3(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_specializeAttrs___lambda__1___closed__3; static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___lambda__4___closed__1; static lean_object* l_Lean_Compiler_instBEqSpecializeAttributeKind___closed__1; static lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__1___closed__1; +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_specExtension___elambda__4___rarg(lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__18___boxed(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__7___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_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Compiler_instInhabitedSpecState; @@ -5020,7 +5020,7 @@ return x_11; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -5042,7 +5042,7 @@ return x_4; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -5080,7 +5080,7 @@ size_t x_15; size_t x_16; lean_object* x_17; x_15 = 0; x_16 = lean_usize_of_nat(x_7); lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2(x_6, x_15, x_16, x_4); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2(x_6, x_15, x_16, x_4); lean_dec(x_6); x_2 = x_11; x_4 = x_17; @@ -5094,7 +5094,7 @@ return x_4; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -5121,13 +5121,13 @@ size_t x_7; size_t x_8; lean_object* x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3(x_2, x_7, x_8, x_1); return x_9; } } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -5165,7 +5165,7 @@ return x_14; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -5210,7 +5210,7 @@ size_t x_16; size_t x_17; uint8_t x_18; x_16 = 0; x_17 = lean_usize_of_nat(x_8); lean_dec(x_8); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6(x_1, x_6, x_16, x_17); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6(x_1, x_6, x_16, x_17); lean_dec(x_6); if (x_18 == 0) { @@ -5281,7 +5281,7 @@ size_t x_39; size_t x_40; uint8_t x_41; x_39 = 0; x_40 = lean_usize_of_nat(x_31); lean_dec(x_31); -x_41 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6(x_1, x_29, x_39, x_40); +x_41 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6(x_1, x_29, x_39, x_40); lean_dec(x_29); if (x_41 == 0) { @@ -5315,7 +5315,7 @@ return x_52; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -5329,7 +5329,7 @@ lean_ctor_set(x_8, 1, x_5); return x_8; } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -5374,7 +5374,7 @@ return x_15; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -5389,7 +5389,7 @@ x_6 = lean_apply_1(x_3, x_5); return x_6; } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4(lean_object* x_1) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4(lean_object* x_1) { _start: { 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; @@ -5406,15 +5406,15 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1() { +static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4___boxed), 1, 0); return x_1; } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -5431,15 +5431,15 @@ lean_ctor_set(x_8, 0, x_5); lean_ctor_set(x_8, 1, x_7); x_9 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_9, 0, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__1___boxed), 5, 2); +x_10 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1___boxed), 5, 2); lean_closure_set(x_10, 0, x_4); lean_closure_set(x_10, 1, x_5); lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__2), 3, 1); +x_11 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__2), 3, 1); lean_closure_set(x_11, 0, x_1); -x_12 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__3), 2, 1); +x_12 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__3), 2, 1); lean_closure_set(x_12, 0, x_1); -x_13 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1; +x_13 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1; x_14 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_14, 0, x_3); lean_ctor_set(x_14, 1, x_9); @@ -5447,21 +5447,21 @@ lean_ctor_set(x_14, 2, x_10); lean_ctor_set(x_14, 3, x_11); lean_ctor_set(x_14, 4, x_12); lean_ctor_set(x_14, 5, x_13); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__5(x_14, x_2); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__5(x_14, x_2); return x_15; } } -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Compiler_instInhabitedSpecState___closed__4; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1(x_2, x_1); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1(x_2, x_1); x_4 = l_Lean_Compiler_SpecState_switch(x_3); return x_4; } } -static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1() { +static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1() { _start: { lean_object* x_1; @@ -5470,7 +5470,7 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2() { +static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2() { _start: { lean_object* x_1; @@ -5478,22 +5478,22 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_SpecState_addEntry), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3() { +static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4() { +static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__4; -x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2; -x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3; -x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1; +x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2; +x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3; +x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -5502,16 +5502,16 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323_(lean_object* x_1) { +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4(x_2, x_1); +x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4; +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4(x_2, x_1); return x_3; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -5519,12 +5519,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -5532,21 +5532,21 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__1(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -5554,36 +5554,36 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__6(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__6(x_1, x_2, x_5, x_6); lean_dec(x_2); lean_dec(x_1); x_8 = lean_box(x_7); return x_8; } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___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* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); return x_6; } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4___boxed(lean_object* x_1) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___lambda__4(x_1); +x_2 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___lambda__4(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1___boxed(lean_object* x_1) { +lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____lambda__1(x_1); +x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____lambda__1(x_1); lean_dec(x_1); return x_2; } @@ -6537,16 +6537,16 @@ l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__ l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__2 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__2(); l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3(); lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3); -l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1 = _init_l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1(); -lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____spec__4___closed__1); -l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1(); -lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__1); -l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2(); -lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__2); -l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3(); -lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__3); -l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4(); -lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323____closed__4); +l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1 = _init_l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1(); +lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____spec__4___closed__1); +l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1(); +lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__1); +l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2(); +lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__2); +l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3(); +lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__3); +l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4(); +lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324____closed__4); l_Lean_Compiler_specExtension___closed__1 = _init_l_Lean_Compiler_specExtension___closed__1(); lean_mark_persistent(l_Lean_Compiler_specExtension___closed__1); l_Lean_Compiler_specExtension___closed__2 = _init_l_Lean_Compiler_specExtension___closed__2(); @@ -6557,7 +6557,7 @@ l_Lean_Compiler_specExtension___closed__4 = _init_l_Lean_Compiler_specExtension_ lean_mark_persistent(l_Lean_Compiler_specExtension___closed__4); l_Lean_Compiler_specExtension___closed__5 = _init_l_Lean_Compiler_specExtension___closed__5(); lean_mark_persistent(l_Lean_Compiler_specExtension___closed__5); -res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_323_(lean_io_mk_world()); +res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_324_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Compiler_specExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Compiler_specExtension); diff --git a/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c b/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c index 1bae9684ca..f9cc1ebac6 100644 --- a/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c +++ b/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c @@ -15,8 +15,7 @@ extern "C" { #endif static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__1; static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__3; -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__5; static lean_object* l_Lean_Lsp_instToJsonInitializeResult___closed__1; size_t l_USize_add(size_t, size_t); @@ -27,23 +26,24 @@ static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonIni lean_object* l_Lean_Lsp_instFromJsonInitializeParams(lean_object*); static lean_object* l_Lean_Lsp_instToJsonInitializationOptions___closed__1; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_InitializeResult_serverInfo_x3f___default; -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500_(lean_object*); static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__2; lean_object* l_Lean_Lsp_InitializeParams_processId_x3f___default; lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7(size_t, size_t, lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471____boxed(lean_object*); lean_object* l_Lean_Lsp_instToJsonServerInfo; lean_object* l_Lean_Json_getStr_x3f(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace_match__1___rarg___closed__2; lean_object* l_Lean_Lsp_instToJsonInitializedParams___boxed(lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Lsp_Trace_hasToJson___boxed(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_Trace_hasToJson(uint8_t); lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1; lean_object* l_List_join___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__4; @@ -72,8 +72,7 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializePar static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__4; static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4___closed__1; -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469____boxed(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__9; static lean_object* l_Lean_Lsp_instFromJsonTrace_match__1___rarg___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__7; @@ -95,18 +94,17 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializePar lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__15; lean_object* l_Lean_Lsp_instToJsonInitializedParams(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonInitializationOptions; lean_object* l_Lean_Lsp_instFromJsonInitializeResult; lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_197_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__11; lean_object* l_Lean_Lsp_Trace_hasToJson_match__1(lean_object*); lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_200_(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonClientInfo___closed__1; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__12; lean_object* l_Lean_Lsp_instFromJsonTrace_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -125,7 +123,7 @@ lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_26____closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__10; lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____spec__3(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed(lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonInitializeResult___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__16; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4(lean_object*, lean_object*); @@ -137,15 +135,16 @@ lean_object* l_Lean_Lsp_InitializeParams_rootUri_x3f___default; lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_InitializeParams_initializationOptions_x3f___default; lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace_match__1___rarg___closed__3; lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_58_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498____boxed(lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500____boxed(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____spec__4(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_180_(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1177____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1; +static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1; static lean_object* l_Lean_Lsp_instFromJsonInitializationOptions___closed__1; lean_object* l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___default; lean_object* l_Lean_Lsp_ClientInfo_version_x3f___default; @@ -153,7 +152,8 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializePar static lean_object* l_Lean_Lsp_instToJsonClientInfo___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_180____closed__1; static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__3; -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564_(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566_(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(lean_object*, lean_object*); static lean_object* _init_l_Lean_Lsp_ClientInfo_version_x3f___default() { @@ -2532,7 +2532,7 @@ x_1 = lean_box(0); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471_(lean_object* x_1) { _start: { 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; @@ -2562,11 +2562,11 @@ x_14 = l_Lean_Json_mkObj(x_13); return x_14; } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469____boxed(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469_(x_1); +x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471_(x_1); lean_dec(x_1); return x_2; } @@ -2575,7 +2575,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonServerInfo___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471____boxed), 1, 0); return x_1; } } @@ -2587,7 +2587,7 @@ x_1 = l_Lean_Lsp_instToJsonServerInfo___closed__1; return x_1; } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -2671,11 +2671,11 @@ return x_18; } } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498____boxed(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498_(x_1); +x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500_(x_1); lean_dec(x_1); return x_2; } @@ -2684,7 +2684,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonServerInfo___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500____boxed), 1, 0); return x_1; } } @@ -2704,7 +2704,7 @@ x_1 = lean_box(0); return x_1; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2718,7 +2718,7 @@ else { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_2, 0); -x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_469_(x_4); +x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_471_(x_4); x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -2730,7 +2730,7 @@ return x_8; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1() { _start: { lean_object* x_1; @@ -2738,7 +2738,7 @@ x_1 = lean_mk_string("serverInfo"); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566_(lean_object* x_1) { _start: { 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; @@ -2756,8 +2756,8 @@ lean_ctor_set(x_7, 1, x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); lean_dec(x_1); -x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1(x_9, x_8); +x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1(x_9, x_8); lean_dec(x_8); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); @@ -2770,11 +2770,11 @@ x_14 = l_Lean_Json_mkObj(x_13); return x_14; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2783,7 +2783,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonInitializeResult___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566_), 1, 0); return x_1; } } @@ -2795,7 +2795,7 @@ x_1 = l_Lean_Lsp_instToJsonInitializeResult___closed__1; return x_1; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -2805,7 +2805,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2815,7 +2815,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2823,13 +2823,13 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1; return x_4; } else { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_498_(x_3); +x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_500_(x_3); lean_dec(x_3); if (lean_obj_tag(x_5) == 0) { @@ -2879,12 +2879,12 @@ return x_14; } } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_303____closed__6; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -2910,8 +2910,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -2963,31 +2963,31 @@ return x_18; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(x_1); +x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595_(x_1); lean_dec(x_1); return x_2; } @@ -2996,7 +2996,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonInitializeResult___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____boxed), 1, 0); return x_1; } } @@ -3142,14 +3142,14 @@ l_Lean_Lsp_instFromJsonServerInfo = _init_l_Lean_Lsp_instFromJsonServerInfo(); lean_mark_persistent(l_Lean_Lsp_instFromJsonServerInfo); l_Lean_Lsp_InitializeResult_serverInfo_x3f___default = _init_l_Lean_Lsp_InitializeResult_serverInfo_x3f___default(); lean_mark_persistent(l_Lean_Lsp_InitializeResult_serverInfo_x3f___default); -l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564____closed__1); +l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566____closed__1); l_Lean_Lsp_instToJsonInitializeResult___closed__1 = _init_l_Lean_Lsp_instToJsonInitializeResult___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonInitializeResult___closed__1); l_Lean_Lsp_instToJsonInitializeResult = _init_l_Lean_Lsp_instToJsonInitializeResult(); lean_mark_persistent(l_Lean_Lsp_instToJsonInitializeResult); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_593____spec__2___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_595____spec__2___closed__1); l_Lean_Lsp_instFromJsonInitializeResult___closed__1 = _init_l_Lean_Lsp_instFromJsonInitializeResult___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonInitializeResult___closed__1); l_Lean_Lsp_instFromJsonInitializeResult = _init_l_Lean_Lsp_instFromJsonInitializeResult(); diff --git a/stage0/stdlib/Lean/Data/Options.c b/stage0/stdlib/Lean/Data/Options.c index e8f115b472..bbeea3a7f5 100644 --- a/stage0/stdlib/Lean/Data/Options.c +++ b/stage0/stdlib/Lean/Data/Options.c @@ -15,36 +15,34 @@ extern "C" { #endif lean_object* l_Lean_getBoolOption___rarg(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__12; lean_object* l_Lean_setOptionFromString_match__1(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33; lean_object* l_Lean_Option_register(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_OptionDecl_group___default; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__11; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24; lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24; lean_object* l_Lean_KVMap_setNat(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__3; lean_object* l_Lean_Option_Decl_group___default; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_KVMap_setString(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__18; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37; lean_object* l_Lean_setOptionFromString_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34; static lean_object* l_Lean_getOptionDeclsArray___closed__1; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__15; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37; lean_object* l_Lean_Option_get___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getOptionDefaulValue(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34; lean_object* l_Lean_getOptionDecls(lean_object*); lean_object* l_Lean_Option_get_x3f(lean_object*); static lean_object* l_Lean_instInhabitedOptionDecl___closed__1; @@ -52,33 +50,32 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_String_toInt_x3f(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__14; lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21; static lean_object* l_Lean_instForInOptionsProdNameDataValue___closed__1; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__7; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23; static lean_object* l_Lean_instInhabitedOptionDecl___closed__2; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13; lean_object* l_Lean_KVMap_instToStringKVMap(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21; lean_object* l_String_splitOn(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22; static lean_object* l_Lean_getOptionDecl___closed__1; uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; lean_object* l_Lean_setOptionFromString_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1; static lean_object* l_Lean_setOptionFromString___closed__9; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2; lean_object* l_Lean_instInhabitedOptions; static lean_object* l_Lean_setOptionFromString___closed__10; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2; lean_object* l_Lean_setOptionFromString_match__4___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__16; lean_object* l_Lean_getNatOption(lean_object*); lean_object* l_Lean_getBoolOption___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__24; lean_object* l_Lean_Option_setIfNotSet___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerOption___closed__1; @@ -86,15 +83,17 @@ static lean_object* l_Lean_registerOption___closed__2; lean_object* l_Lean_Option_setIfNotSet(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__5; lean_object* l_Lean_KVMap_instForInKVMapProdNameDataValue(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29; lean_object* l___private_Lean_Data_Options_0__Lean_optionDeclsRef; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__10; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25; lean_object* l_String_toName(lean_object*); static lean_object* l_Lean_setOptionFromString___closed__4; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__20; lean_object* l_Lean_instMonadOptions(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7; lean_object* l_Lean_OptionDecl_descr___default; lean_object* l_Lean_instToStringOptions; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); @@ -104,11 +103,11 @@ static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a lean_object* l_Lean_instMonadOptions___rarg(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__13; -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19; static lean_object* l_Lean_setOptionFromString___closed__8; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39; lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__6; lean_object* l_Lean_Syntax_getId(lean_object*); @@ -120,31 +119,31 @@ lean_object* l_Lean_instForInOptionsProdNameDataValue(lean_object*); uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); lean_object* l_Lean_Options_empty; static lean_object* l_Lean_OptionDecl_group___default___closed__1; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__25; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8; static lean_object* l_Lean_setOptionFromString___closed__5; lean_object* l_Lean_Option_set___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__22; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27; lean_object* l_Lean_instInhabitedOptionDecl; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40; lean_object* l_Lean_getBoolOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40; lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4; lean_object* l_Lean_getOptionDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9; lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(lean_object*, lean_object*); lean_object* l_Lean_KVMap_setName(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6; lean_object* l_Lean_Option_register___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9; lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Option_get_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__19; lean_object* l_Lean_setOptionFromString(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35; static lean_object* l_Lean_setOptionFromString___closed__6; lean_object* l_Lean_registerOption___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setOptionFromString___closed__1; @@ -152,17 +151,17 @@ lean_object* l_Lean_setOptionFromString_match__3(lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getBoolOption___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_getNatOption___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31; lean_object* l_Lean_Option_get_x3f___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__8; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11; lean_object* l_Lean_instInhabitedOption(lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32; lean_object* l_Lean_Option_Decl_descr___default; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__17; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32; lean_object* l_Lean_getBoolOption(lean_object*); lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); lean_object* l_Lean_Option_set(lean_object*); @@ -172,37 +171,38 @@ lean_object* l_Lean_getOptionDecl_match__1(lean_object*); lean_object* l_Lean_setOptionFromString_match__2(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__9; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26; static lean_object* l_Lean_instToStringOptions___closed__1; static lean_object* l_Lean_getOptionDecl___closed__2; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__2; lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12; lean_object* l_List_map___at_Lean_setOptionFromString___spec__1(lean_object*); lean_object* l___private_Lean_Data_Options_0__Lean_initOptionDeclsRef(lean_object*); lean_object* l_Lean_Option_get(lean_object*); static lean_object* l_Lean_setOptionFromString___closed__2; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_String_toNat_x3f(lean_object*); lean_object* l_Lean_registerOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15; static lean_object* l_Lean_setOptionFromString___closed__7; lean_object* l_Lean_instInhabitedOptionDecls; lean_object* l_Lean_setOptionFromString_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5; lean_object* l_Lean_getOptionDescr(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18; static lean_object* l_Lean_setOptionFromString___closed__3; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20; lean_object* l_Lean_getNatOption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30; lean_object* l_Lean_instInhabitedOption___rarg(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30; lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Options_empty() { _start: @@ -2292,7 +2292,7 @@ x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____close return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1() { _start: { lean_object* x_1; @@ -2300,17 +2300,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3() { _start: { lean_object* x_1; @@ -2318,17 +2318,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5() { _start: { lean_object* x_1; @@ -2336,17 +2336,17 @@ x_1 = lean_mk_string("builtin_initialize"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7() { _start: { lean_object* x_1; @@ -2354,17 +2354,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9() { _start: { lean_object* x_1; @@ -2372,17 +2372,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11() { _start: { lean_object* x_1; @@ -2390,17 +2390,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13() { _start: { lean_object* x_1; @@ -2408,7 +2408,7 @@ x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14() { _start: { lean_object* x_1; @@ -2416,17 +2416,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16() { _start: { lean_object* x_1; @@ -2434,22 +2434,22 @@ x_1 = lean_mk_string("Lean.Option"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17; +x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2457,7 +2457,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2469,19 +2469,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19; 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_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -2490,7 +2490,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -2499,7 +2499,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23() { _start: { lean_object* x_1; @@ -2507,7 +2507,7 @@ x_1 = lean_mk_string("←"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -2516,7 +2516,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25() { _start: { lean_object* x_1; @@ -2524,17 +2524,17 @@ x_1 = lean_mk_string("doSeqIndent"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27() { _start: { lean_object* x_1; @@ -2542,17 +2542,17 @@ x_1 = lean_mk_string("doSeqItem"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29() { _start: { lean_object* x_1; @@ -2560,17 +2560,17 @@ x_1 = lean_mk_string("doExpr"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31() { _start: { lean_object* x_1; @@ -2578,22 +2578,22 @@ x_1 = lean_mk_string("Lean.Option.register"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32; +x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2601,7 +2601,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34() { _start: { lean_object* x_1; @@ -2609,45 +2609,45 @@ x_1 = lean_mk_string("register"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__4; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35; 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_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36; 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_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8; x_2 = l_Lean_getOptionDeclsArray___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2655,7 +2655,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39() { _start: { lean_object* x_1; @@ -2663,17 +2663,17 @@ x_1 = lean_mk_string("quotedName"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41() { _start: { lean_object* x_1; @@ -2681,7 +2681,7 @@ x_1 = lean_mk_string("."); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42() { _start: { lean_object* x_1; @@ -2689,7 +2689,7 @@ x_1 = lean_mk_string("`"); return x_1; } } -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2717,7 +2717,7 @@ x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = lean_unsigned_to_nat(5u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -2728,12 +2728,12 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5; +x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5; lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13; +x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13; lean_inc(x_16); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_16); @@ -2743,39 +2743,39 @@ lean_inc(x_17); lean_inc(x_18); x_24 = l_Lean_addMacroScope(x_18, x_23, x_17); x_25 = lean_box(0); -x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18; -x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20; +x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18; +x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20; lean_inc(x_16); x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_27); -x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21; +x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21; x_30 = lean_array_push(x_29, x_11); -x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8; +x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22; +x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22; x_34 = lean_array_push(x_33, x_28); x_35 = lean_array_push(x_34, x_32); -x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15; +x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_33, x_22); x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12; +x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12; 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 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23; +x_42 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23; lean_inc(x_16); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_16); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24; +x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24; lean_inc(x_9); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_41); @@ -2783,10 +2783,10 @@ x_47 = lean_array_push(x_46, x_43); x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_31); lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35; +x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35; x_50 = l_Lean_addMacroScope(x_18, x_49, x_17); -x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33; -x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37; +x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33; +x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_16); lean_ctor_set(x_53, 1, x_51); @@ -2813,14 +2813,14 @@ x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_36); lean_ctor_set(x_64, 1, x_63); x_65 = lean_array_push(x_29, x_64); -x_66 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30; +x_66 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30; 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_33, x_67); -x_69 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38; +x_69 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38; x_70 = lean_array_push(x_68, x_69); -x_71 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28; +x_71 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); @@ -2829,12 +2829,12 @@ x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_31); lean_ctor_set(x_74, 1, x_73); x_75 = lean_array_push(x_29, x_74); -x_76 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26; +x_76 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26; 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_58, x_77); -x_79 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6; +x_79 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____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); @@ -2848,16 +2848,16 @@ lean_dec(x_54); x_81 = lean_ctor_get(x_55, 0); lean_inc(x_81); lean_dec(x_55); -x_82 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41; +x_82 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41; x_83 = l_String_intercalate(x_82, x_81); -x_84 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42; +x_84 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42; x_85 = lean_string_append(x_84, x_83); lean_dec(x_83); x_86 = l_Lean_nameLitKind; x_87 = lean_box(2); x_88 = l_Lean_Syntax_mkLit(x_86, x_85, x_87); x_89 = lean_array_push(x_29, x_88); -x_90 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40; +x_90 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); @@ -2871,14 +2871,14 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_36); lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_push(x_29, x_96); -x_98 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30; +x_98 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); x_100 = lean_array_push(x_33, x_99); -x_101 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38; +x_101 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38; x_102 = lean_array_push(x_100, x_101); -x_103 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28; +x_103 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); @@ -2887,12 +2887,12 @@ x_106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_106, 0, x_31); lean_ctor_set(x_106, 1, x_105); x_107 = lean_array_push(x_29, x_106); -x_108 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26; +x_108 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); x_110 = lean_array_push(x_58, x_109); -x_111 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6; +x_111 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); @@ -2913,12 +2913,12 @@ lean_inc(x_115); x_116 = lean_ctor_get(x_2, 1); lean_inc(x_116); lean_dec(x_2); -x_117 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5; +x_117 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5; lean_inc(x_113); x_118 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_118, 0, x_113); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13; +x_119 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13; lean_inc(x_113); x_120 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_120, 0, x_113); @@ -2928,39 +2928,39 @@ lean_inc(x_115); lean_inc(x_116); x_122 = l_Lean_addMacroScope(x_116, x_121, x_115); x_123 = lean_box(0); -x_124 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18; -x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20; +x_124 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18; +x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20; lean_inc(x_113); x_126 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_126, 0, x_113); lean_ctor_set(x_126, 1, x_124); lean_ctor_set(x_126, 2, x_122); lean_ctor_set(x_126, 3, x_125); -x_127 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21; +x_127 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21; x_128 = lean_array_push(x_127, x_11); -x_129 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8; +x_129 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8; 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 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22; +x_131 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22; x_132 = lean_array_push(x_131, x_126); x_133 = lean_array_push(x_132, x_130); -x_134 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15; +x_134 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15; x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); x_136 = lean_array_push(x_131, x_120); x_137 = lean_array_push(x_136, x_135); -x_138 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12; +x_138 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12; x_139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_139, 0, x_138); lean_ctor_set(x_139, 1, x_137); -x_140 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23; +x_140 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23; lean_inc(x_113); x_141 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_141, 0, x_113); lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24; +x_142 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24; lean_inc(x_9); x_143 = lean_array_push(x_142, x_9); x_144 = lean_array_push(x_143, x_139); @@ -2968,10 +2968,10 @@ x_145 = lean_array_push(x_144, x_141); x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_129); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35; +x_147 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35; x_148 = l_Lean_addMacroScope(x_116, x_147, x_115); -x_149 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33; -x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37; +x_149 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33; +x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37; x_151 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_151, 0, x_113); lean_ctor_set(x_151, 1, x_149); @@ -2998,14 +2998,14 @@ x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_134); lean_ctor_set(x_162, 1, x_161); x_163 = lean_array_push(x_127, x_162); -x_164 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30; +x_164 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30; x_165 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_163); x_166 = lean_array_push(x_131, x_165); -x_167 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38; +x_167 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38; x_168 = lean_array_push(x_166, x_167); -x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28; +x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); @@ -3014,12 +3014,12 @@ x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_129); lean_ctor_set(x_172, 1, x_171); x_173 = lean_array_push(x_127, x_172); -x_174 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26; +x_174 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26; x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_173); x_176 = lean_array_push(x_156, x_175); -x_177 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6; +x_177 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); @@ -3035,16 +3035,16 @@ lean_dec(x_152); x_180 = lean_ctor_get(x_153, 0); lean_inc(x_180); lean_dec(x_153); -x_181 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41; +x_181 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41; x_182 = l_String_intercalate(x_181, x_180); -x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42; +x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42; x_184 = lean_string_append(x_183, x_182); lean_dec(x_182); x_185 = l_Lean_nameLitKind; x_186 = lean_box(2); x_187 = l_Lean_Syntax_mkLit(x_185, x_184, x_186); x_188 = lean_array_push(x_127, x_187); -x_189 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40; +x_189 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40; x_190 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_190, 0, x_189); lean_ctor_set(x_190, 1, x_188); @@ -3058,14 +3058,14 @@ x_195 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_195, 0, x_134); lean_ctor_set(x_195, 1, x_194); x_196 = lean_array_push(x_127, x_195); -x_197 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30; +x_197 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30; x_198 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_198, 0, x_197); lean_ctor_set(x_198, 1, x_196); x_199 = lean_array_push(x_131, x_198); -x_200 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38; +x_200 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38; x_201 = lean_array_push(x_199, x_200); -x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28; +x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28; x_203 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_203, 0, x_202); lean_ctor_set(x_203, 1, x_201); @@ -3074,12 +3074,12 @@ x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_129); lean_ctor_set(x_205, 1, x_204); x_206 = lean_array_push(x_127, x_205); -x_207 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26; +x_207 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26; x_208 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_208, 0, x_207); lean_ctor_set(x_208, 1, x_206); x_209 = lean_array_push(x_156, x_208); -x_210 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6; +x_210 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6; x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_210); lean_ctor_set(x_211, 1, x_209); @@ -3222,90 +3222,90 @@ l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26 lean_mark_persistent(l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26); l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__ = _init_l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__(); lean_mark_persistent(l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__1); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__2); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__3); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__4); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__5); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__6); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__7); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__8); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__9); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__10); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__11); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__12); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__13); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__14); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__15); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__16); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__17); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__18); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__19); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__20); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__21); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__22); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__23); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__24); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__25); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__26); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__27); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__28); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__29); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__30); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__31); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__32); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__33); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__34); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__35); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__36); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__37); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__38); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__39); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__40); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__41); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_979____closed__42); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__1); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__2); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__3); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__4); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__5); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__6); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__7); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__8); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__9); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__10); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__11); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__12); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__13); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__14); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__15); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__16); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__17); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__18); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__19); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__20); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__21); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__22); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__23); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__24); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__25); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__26); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__27); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__28); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__29); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__30); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__31); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__32); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__33); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__34); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__35); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__36); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__37); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__38); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__39); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__40); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__41); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_981____closed__42); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab.c b/stage0/stdlib/Lean/Elab.c index 666426e235..3e9b933e2c 100644 --- a/stage0/stdlib/Lean/Elab.c +++ b/stage0/stdlib/Lean/Elab.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab -// Imports: Init Lean.Elab.Import Lean.Elab.Exception Lean.Elab.Command Lean.Elab.Term Lean.Elab.App Lean.Elab.Binders Lean.Elab.LetRec Lean.Elab.Frontend Lean.Elab.BuiltinNotation Lean.Elab.Declaration Lean.Elab.Tactic Lean.Elab.Match Lean.Elab.Quotation Lean.Elab.Syntax Lean.Elab.Do Lean.Elab.StructInst Lean.Elab.Inductive Lean.Elab.Structure Lean.Elab.Print Lean.Elab.MutualDef Lean.Elab.PreDefinition Lean.Elab.Deriving Lean.Elab.DeclarationRange Lean.Elab.Extra Lean.Elab.GenInjective +// Imports: Init Lean.Elab.Import Lean.Elab.Exception Lean.Elab.Command Lean.Elab.Term Lean.Elab.App Lean.Elab.Binders Lean.Elab.LetRec Lean.Elab.Frontend Lean.Elab.BuiltinNotation Lean.Elab.Declaration Lean.Elab.Tactic Lean.Elab.Match Lean.Elab.Quotation Lean.Elab.Syntax Lean.Elab.Do Lean.Elab.StructInst Lean.Elab.Inductive Lean.Elab.Structure Lean.Elab.Print Lean.Elab.MutualDef Lean.Elab.PreDefinition Lean.Elab.Deriving Lean.Elab.DeclarationRange Lean.Elab.Extra Lean.Elab.GenInjective Lean.Elab.BuiltinTerm Lean.Elab.Arg Lean.Elab.PatternVar Lean.Elab.ElabRules Lean.Elab.Macro Lean.Elab.Notation Lean.Elab.Mixfix Lean.Elab.MacroRules #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -39,6 +39,14 @@ lean_object* initialize_Lean_Elab_Deriving(lean_object*); lean_object* initialize_Lean_Elab_DeclarationRange(lean_object*); lean_object* initialize_Lean_Elab_Extra(lean_object*); lean_object* initialize_Lean_Elab_GenInjective(lean_object*); +lean_object* initialize_Lean_Elab_BuiltinTerm(lean_object*); +lean_object* initialize_Lean_Elab_Arg(lean_object*); +lean_object* initialize_Lean_Elab_PatternVar(lean_object*); +lean_object* initialize_Lean_Elab_ElabRules(lean_object*); +lean_object* initialize_Lean_Elab_Macro(lean_object*); +lean_object* initialize_Lean_Elab_Notation(lean_object*); +lean_object* initialize_Lean_Elab_Mixfix(lean_object*); +lean_object* initialize_Lean_Elab_MacroRules(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab(lean_object* w) { lean_object * res; @@ -122,6 +130,30 @@ lean_dec_ref(res); res = initialize_Lean_Elab_GenInjective(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_BuiltinTerm(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Arg(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_PatternVar(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_ElabRules(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Macro(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Notation(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Mixfix(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_MacroRules(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)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 287487db75..70cc194d91 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.App -// Imports: Init Lean.Util.FindMVar Lean.Parser.Term Lean.Elab.Term Lean.Elab.Binders Lean.Elab.SyntheticMVars +// Imports: Init Lean.Util.FindMVar Lean.Parser.Term Lean.Elab.Term Lean.Elab.Binders Lean.Elab.SyntheticMVars Lean.Elab.Arg #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -19,28 +19,26 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__1; -lean_object* l_Lean_Elab_Term_expandArgs_match__1(lean_object*); uint8_t l_Lean_Expr_bindingInfo_x21(lean_object*); -lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f_match__1(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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__4; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__4; 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*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -static lean_object* l_Lean_Elab_Term_instInhabitedNamedArg___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,12 +72,12 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Te static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__3; uint8_t l_Lean_Expr_isProp(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__15; +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName_match__1(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__4; static lean_object* l_Lean_Elab_Term_ElabAppArgs_main___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; @@ -99,7 +97,7 @@ lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__6(lean_objec lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(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_elabAndAddNewArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; -lean_object* l_Lean_Elab_Term_NamedArg_ref___default; +lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(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__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult___rarg(lean_object*); lean_object* l_Lean_Expr_getAutoParamTactic_x3f(lean_object*); @@ -122,8 +120,11 @@ lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo(lean_object*, lean_objec 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*); 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_Lean_Elab_Term_elabAppArgs___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__1; +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__2; static 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*); @@ -148,12 +149,12 @@ lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Ter static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_isSuccess___boxed(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__2(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___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*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__2(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__2; @@ -168,13 +169,14 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFo uint8_t l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; +lean_object* l_Lean_Elab_Term_elabApp___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_App_0__Lean_Elab_Term_consumeImplicits_match__2___rarg(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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_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_isNextArgHole_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___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* l_Lean_Elab_Term_elabPipeProj_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__1; lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2___boxed(lean_object**); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__2; @@ -197,10 +199,8 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__6; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures(lean_object*); lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__2(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__14; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__5; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__7; @@ -210,10 +210,10 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__1; -lean_object* l_Lean_Elab_Term_expandApp_match__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__3; lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_observing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg___closed__2; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__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_Term_instToStringArg_match__1(lean_object*); @@ -223,12 +223,13 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_ma lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg___closed__1; +static lean_object* l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1; +lean_object* l_Lean_Elab_Term_elabPipeProj___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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___boxed(lean_object**); uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_isSuccess(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__2; -lean_object* l_Lean_Elab_Term_expandArgs_match__1___rarg(lean_object*, lean_object*); 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_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -236,6 +237,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux__ static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__4(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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_elabAppArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__10; @@ -244,19 +246,18 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpec static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_elabPipeProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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_addNamedArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageList___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_isSuccess_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4___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_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addInstMVar(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___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__5; -lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_array_fget(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__2(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object*, lean_object*, lean_object*); @@ -289,11 +290,11 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_ lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__6; -static lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4; static 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_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___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_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__7; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor(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_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -314,7 +315,6 @@ lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop_match__1(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Term_addNamedArg___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageList___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg___boxed__const__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__3(lean_object*); @@ -328,7 +328,7 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Te lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__5; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__1(lean_object*); @@ -338,6 +338,7 @@ lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5(lean_objec lean_object* l_Lean_Elab_Term_elabAppArgs(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*); static 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_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*); +lean_object* l_Lean_Elab_Term_elabPipeProj_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__8; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__2; lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,6 +395,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__3; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__3___boxed(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*); +static lean_object* l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22; 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*); @@ -402,7 +404,6 @@ lean_object* l_Lean_Elab_Term_ElabAppArgs_State_toSetErrorCtx___default; static lean_object* l_Lean_Elab_Term_instToStringNamedArg___closed__2; static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__3; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2; lean_object* l_Lean_Elab_Term_elabIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__4___boxed(lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); @@ -416,6 +417,7 @@ lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object* lean_object* l_Lean_Elab_Term_expandApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__2___rarg(lean_object*, 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*, 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*); @@ -429,7 +431,6 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Te uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_instInhabitedArg___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_match__1(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__10; @@ -439,7 +440,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop_match__2(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__6; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__18; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__15; lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__3(lean_object*, lean_object*, lean_object*); @@ -456,6 +456,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shou lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1(lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); +lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__6; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1; @@ -468,7 +469,6 @@ static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__5; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections_match__1(lean_object*); lean_object* l_Lean_Elab_Term_instToStringNamedArg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__1; -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__12; lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); uint8_t l_Lean_Expr_isAutoParam(lean_object*); @@ -477,7 +477,6 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(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___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageList(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams(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___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -494,11 +493,13 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___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_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*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; @@ -517,7 +518,6 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg(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_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(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__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__2; @@ -528,29 +528,28 @@ lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___boxed(le lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_isSuccess_match__1(lean_object*); lean_object* l_Lean_Expr_bindingName_x21(lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_postponeExceptionId; lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_expandArgs_match__2(lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___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_Elab_Term_expandApp_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addDotCompletionInfo(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_addLValArg_match__3(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(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___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__3; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__12; +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabProj(lean_object*); static 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*); @@ -562,6 +561,7 @@ lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_objec lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef___closed__3; static lean_object* l_Lean_Elab_Term_elabExplicit___closed__1; lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default; @@ -574,7 +574,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_match__1(lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__5; static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__6; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___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*); @@ -583,29 +582,28 @@ lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName___boxed(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__6; lean_object* l_Lean_Elab_Term_instToStringArg_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(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___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_resolveLValAux_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__17; 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_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__2___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_elabExplicitUnivs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__11; lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___boxed(lean_object**); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_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*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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_resolveName_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1; lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__1; static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__9; 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_9631_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_9533_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4_(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -623,13 +621,10 @@ static lean_object* l_Lean_Elab_Term_elabExplicit___closed__2; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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*); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__1; -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__3; lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -637,23 +632,17 @@ uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__4; lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__9; -static lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess___spec__1(lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Term_addNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_pop(lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1; -lean_object* l_Lean_Elab_Term_expandArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_237_(uint8_t, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef___closed__1; lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(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_finalize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isOptParam(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___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_App_0__Lean_Elab_Term_mergeFailures_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_expandArgs___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__1___closed__1; lean_object* l_instMonadControlReaderT___lambda__2(lean_object*, lean_object*, lean_object*); @@ -677,10 +666,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__ lean_object* l_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* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(uint8_t); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; -static lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2; lean_object* l_Lean_Elab_Term_ElabAppArgs_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; @@ -689,14 +675,12 @@ lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(lean_object*, lea static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__8; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__1; -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___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_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__1___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Term_addNamedArg___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__1; @@ -708,14 +692,12 @@ lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(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__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__19; -lean_object* l_Lean_Elab_Term_addNamedArg___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_addLValArg_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__4; lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -725,7 +707,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicit static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__5; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5___boxed(lean_object**); lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); @@ -749,19 +730,16 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___closed__2; static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__1___closed__2; -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__14; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__1; lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__1; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2; -lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__4(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -772,18 +750,16 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Te lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4(lean_object*); static 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_elabAppFn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__5(lean_object*); static lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___closed__3; -lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError(lean_object*); -lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals_match__1(lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextArgHole___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_resolveLValLoop_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__4; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__4; @@ -799,20 +775,17 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBo lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT__1___rarg(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_addNamedArg___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__13; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5; static 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*); +static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___boxed(lean_object*, lean_object*, 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_addNamedArg___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__8; +lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t); lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandArgs_match__2___rarg(lean_object*, lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_addTrace___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*); -static lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4; static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__7; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux(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(lean_object*); @@ -831,9 +804,9 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjection lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__3(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_elabExplicitUnivs___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_instInhabitedArg; lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg(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___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1228,24 +1201,6 @@ x_4 = lean_box(x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_instInhabitedArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -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_Elab_Term_instInhabitedArg() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedArg___closed__1; -return x_1; -} -} lean_object* l_Lean_Elab_Term_instToStringArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1308,36 +1263,6 @@ return x_10; } } } -static lean_object* _init_l_Lean_Elab_Term_NamedArg_ref___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_instInhabitedNamedArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l_Lean_Elab_Term_instInhabitedArg___closed__1; -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_Lean_Elab_Term_instInhabitedNamedArg() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedNamedArg___closed__1; -return x_1; -} -} static lean_object* _init_l_Lean_Elab_Term_instToStringNamedArg___closed__1() { _start: { @@ -1818,217 +1743,6 @@ lean_dec(x_1); return x_10; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_ctor_get(x_1, 1); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_name_eq(x_7, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -size_t x_10; size_t x_11; -x_10 = 1; -x_11 = x_3 + x_10; -x_3 = x_11; -goto _start; -} -else -{ -uint8_t x_13; -x_13 = 1; -return x_13; -} -} -else -{ -uint8_t x_14; -x_14 = 0; -return x_14; -} -} -} -lean_object* l_Lean_Elab_Term_addNamedArg___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; -x_11 = lean_array_push(x_1, x_2); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("argument '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_addNamedArg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' was already set"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_addNamedArg___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_addNamedArg(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; uint8_t x_12; -x_10 = lean_array_get_size(x_1); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_nat_dec_lt(x_11, x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_10); -x_13 = lean_box(0); -x_14 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -return x_14; -} -else -{ -uint8_t x_15; -x_15 = lean_nat_dec_le(x_10, x_10); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_10); -x_16 = lean_box(0); -x_17 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -return x_17; -} -else -{ -size_t x_18; size_t x_19; uint8_t x_20; -x_18 = 0; -x_19 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_20 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(x_2, x_1, x_18, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_1); -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -lean_dec(x_2); -x_24 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_Term_addNamedArg___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_Term_addNamedArg___closed__4; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -return x_29; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_29); -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; -} -} -} -} -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_addNamedArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_addNamedArg___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_addNamedArg(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); -return x_10; -} -} lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgType(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: { @@ -5889,6 +5603,436 @@ lean_ctor_set(x_13, 1, x_9); return x_13; } } +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_inc(x_10); +x_12 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_10); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_12, 0, x_17); +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +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_18); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_st_ref_get(x_10, x_21); +lean_dec(x_10); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_take(x_4, x_23); +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_is_exclusive(x_25); +if (x_27 == 0) +{ +uint8_t x_28; lean_object* x_29; uint8_t x_30; +x_28 = 0; +lean_ctor_set_uint8(x_25, sizeof(void*)*8 + 2, x_28); +x_29 = lean_st_ref_set(x_4, x_25, x_26); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +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_33); +return x_35; +} +} +else +{ +uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_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; lean_object* x_52; +x_36 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); +x_37 = lean_ctor_get(x_25, 0); +x_38 = lean_ctor_get(x_25, 1); +x_39 = lean_ctor_get(x_25, 2); +x_40 = lean_ctor_get(x_25, 3); +x_41 = lean_ctor_get_uint8(x_25, sizeof(void*)*8 + 1); +x_42 = lean_ctor_get(x_25, 4); +x_43 = lean_ctor_get(x_25, 5); +x_44 = lean_ctor_get(x_25, 6); +x_45 = lean_ctor_get(x_25, 7); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_25); +x_46 = 0; +x_47 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_47, 0, x_37); +lean_ctor_set(x_47, 1, x_38); +lean_ctor_set(x_47, 2, x_39); +lean_ctor_set(x_47, 3, x_40); +lean_ctor_set(x_47, 4, x_42); +lean_ctor_set(x_47, 5, x_43); +lean_ctor_set(x_47, 6, x_44); +lean_ctor_set(x_47, 7, x_45); +lean_ctor_set_uint8(x_47, sizeof(void*)*8, x_36); +lean_ctor_set_uint8(x_47, sizeof(void*)*8 + 1, x_41); +lean_ctor_set_uint8(x_47, sizeof(void*)*8 + 2, x_46); +x_48 = lean_st_ref_set(x_4, x_47, x_26); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_50 = x_48; +} else { + lean_dec_ref(x_48); + x_50 = lean_box(0); +} +x_51 = lean_box(0); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_50; +} +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_49); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_10); +x_53 = !lean_is_exclusive(x_12); +if (x_53 == 0) +{ +return x_12; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_12, 0); +x_55 = lean_ctor_get(x_12, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_12); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" =?= "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_propagateExpectedType___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_propagateExpectedType___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: +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_15 = lean_ctor_get(x_1, 3); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +x_17 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(x_14, x_2, x_15, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +x_21 = l_Lean_Expr_hasLooseBVars(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_20); +x_23 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_20, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_44 = lean_st_ref_get(x_12, x_26); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_45, 3); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*1); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +x_49 = 0; +x_27 = x_49; +x_28 = x_48; +goto block_43; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_dec(x_44); +lean_inc(x_4); +x_51 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_unbox(x_52); +lean_dec(x_52); +x_27 = x_54; +x_28 = x_53; +goto block_43; +} +block_43: +{ +if (x_27 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_4); +x_29 = lean_box(0); +x_30 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__1(x_3, x_20, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_inc(x_3); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_3); +x_32 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_20); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_20); +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_32); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_4, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__1(x_3, x_20, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_40); +return x_42; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_20); +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_55 = !lean_is_exclusive(x_23); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_23, 0); +lean_dec(x_56); +x_57 = lean_box(0); +lean_ctor_set(x_23, 0, x_57); +return x_23; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_23, 1); +lean_inc(x_58); +lean_dec(x_23); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_20); +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_61 = !lean_is_exclusive(x_23); +if (x_61 == 0) +{ +return x_23; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_23, 0); +x_63 = lean_ctor_get(x_23, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_23); +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; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_20); +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_13); +return x_66; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1() { _start: { @@ -5947,7 +6091,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArg _start: { lean_object* x_1; -x_1 = lean_mk_string(" =?= "); +x_1 = lean_mk_string("etaArgs.size: "); return x_1; } } @@ -5964,7 +6108,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArg _start: { lean_object* x_1; -x_1 = lean_mk_string("etaArgs.size: "); +x_1 = lean_mk_string(", numRemainingArgs: "); return x_1; } } @@ -5981,7 +6125,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArg _start: { lean_object* x_1; -x_1 = lean_mk_string(", numRemainingArgs: "); +x_1 = lean_mk_string(", fType: "); return x_1; } } @@ -5994,23 +6138,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__13() { -_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__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__13; -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: { @@ -6034,32 +6161,26 @@ 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; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 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); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +x_19 = lean_ctor_get(x_17, 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_object* x_21; lean_dec(x_19); -lean_dec(x_16); +lean_dec(x_17); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6068,24 +6189,18 @@ 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; +lean_ctor_set(x_15, 0, x_21); +return x_15; } else { -uint8_t x_23; -x_23 = lean_ctor_get_uint8(x_16, sizeof(void*)*8 + 2); -if (x_23 == 0) +uint8_t x_22; +x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*8 + 2); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; +lean_object* x_23; lean_dec(x_19); -lean_dec(x_16); +lean_dec(x_17); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6093,420 +6208,276 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_24 = lean_box(0); -if (lean_is_scalar(x_18)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_18; -} -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); -return x_25; +x_23 = lean_box(0); +lean_ctor_set(x_15, 0, x_23); +return x_15; } else { -lean_object* x_26; -x_26 = lean_ctor_get(x_16, 4); +lean_object* x_24; +x_24 = lean_ctor_get(x_17, 4); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +lean_dec(x_19); +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); +x_25 = lean_box(0); +lean_ctor_set(x_15, 0, x_25); +return x_15; +} +else +{ +lean_object* x_26; uint8_t x_27; +lean_free_object(x_15); +x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) +lean_dec(x_24); +x_27 = l_Lean_Expr_isProp(x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; -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_27 = lean_box(0); -if (lean_is_scalar(x_18)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_18; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_17); -return x_28; -} -else -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_26, 0); -lean_inc(x_29); -lean_dec(x_26); -x_30 = l_Lean_Expr_isProp(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_134; lean_object* x_135; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_31 = lean_ctor_get(x_16, 2); -lean_inc(x_31); -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_List_lengthAux___rarg(x_31, x_32); -lean_dec(x_31); -x_157 = lean_st_ref_get(x_8, x_17); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_158, 3); -lean_inc(x_159); -lean_dec(x_158); -x_160 = lean_ctor_get_uint8(x_159, sizeof(void*)*1); -lean_dec(x_159); -if (x_160 == 0) -{ -lean_object* x_161; uint8_t x_162; -x_161 = lean_ctor_get(x_157, 1); -lean_inc(x_161); -lean_dec(x_157); -x_162 = 0; -x_134 = x_162; -x_135 = x_161; -goto block_156; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_163 = lean_ctor_get(x_157, 1); -lean_inc(x_163); -lean_dec(x_157); -x_164 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; -x_165 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_164, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_163); -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_168 = lean_unbox(x_166); -lean_dec(x_166); -x_134 = x_168; -x_135 = x_167; -goto block_156; -} -block_133: -{ -uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); -x_36 = lean_ctor_get(x_16, 3); -lean_inc(x_36); -x_37 = lean_ctor_get(x_16, 1); -lean_inc(x_37); -lean_dec(x_16); -x_38 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(x_35, x_33, x_36, x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(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); -lean_dec(x_2); -x_39 = lean_box(0); -if (lean_is_scalar(x_18)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_18; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_34); -return x_40; -} -else -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_38, 0); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Expr_hasLooseBVars(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_18); -x_43 = 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_41); -x_44 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_41, x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; uint8_t x_95; lean_object* x_96; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_109 = lean_st_ref_get(x_8, x_47); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_110, 3); -lean_inc(x_111); -lean_dec(x_110); -x_112 = lean_ctor_get_uint8(x_111, sizeof(void*)*1); -lean_dec(x_111); -if (x_112 == 0) -{ -lean_object* x_113; uint8_t x_114; -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -lean_dec(x_109); -x_114 = 0; -x_95 = x_114; -x_96 = x_113; -goto block_108; -} -else -{ -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_115 = lean_ctor_get(x_109, 1); -lean_inc(x_115); -lean_dec(x_109); -x_116 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; -x_117 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_116, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_115); -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_unbox(x_118); -lean_dec(x_118); -x_95 = x_120; -x_96 = x_119; -goto block_108; -} -block_94: -{ -lean_object* x_49; -lean_inc(x_8); -x_49 = l_Lean_Meta_isExprDefEq(x_29, x_41, x_5, x_6, x_7, x_8, x_48); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -if (x_51 == 0) -{ -uint8_t x_52; -lean_dec(x_8); -lean_dec(x_2); -x_52 = !lean_is_exclusive(x_49); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_49, 0); -lean_dec(x_53); -x_54 = lean_box(0); -lean_ctor_set(x_49, 0, x_54); -return x_49; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_49, 1); -lean_inc(x_55); -lean_dec(x_49); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_58 = lean_ctor_get(x_49, 1); -lean_inc(x_58); -lean_dec(x_49); -x_59 = lean_st_ref_get(x_8, x_58); -lean_dec(x_8); -x_60 = lean_ctor_get(x_59, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_28 = lean_ctor_get(x_17, 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_31 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; +x_58 = lean_st_ref_get(x_8, x_18); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_59, 3); lean_inc(x_60); lean_dec(x_59); -x_61 = lean_st_ref_take(x_2, x_60); -x_62 = lean_ctor_get(x_61, 0); +x_61 = lean_ctor_get_uint8(x_60, sizeof(void*)*1); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_58, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = !lean_is_exclusive(x_62); -if (x_64 == 0) -{ -uint8_t x_65; lean_object* x_66; uint8_t x_67; -x_65 = 0; -lean_ctor_set_uint8(x_62, sizeof(void*)*8 + 2, x_65); -x_66 = lean_st_ref_set(x_2, x_62, x_63); -lean_dec(x_2); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -x_69 = lean_box(0); -lean_ctor_set(x_66, 0, x_69); -return x_66; +lean_dec(x_58); +x_63 = 0; +x_32 = x_63; +x_33 = x_62; +goto block_57; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_66, 1); -lean_inc(x_70); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_dec(x_58); +x_65 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_64); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_66); lean_dec(x_66); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -return x_72; +x_32 = x_68; +x_33 = x_67; +goto block_57; } +block_57: +{ +if (x_32 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_19); +x_34 = lean_box(0); +x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2(x_17, x_30, x_26, x_31, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +return x_35; } else { -uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_73 = lean_ctor_get_uint8(x_62, sizeof(void*)*8); -x_74 = lean_ctor_get(x_62, 0); -x_75 = lean_ctor_get(x_62, 1); -x_76 = lean_ctor_get(x_62, 2); -x_77 = lean_ctor_get(x_62, 3); -x_78 = lean_ctor_get_uint8(x_62, sizeof(void*)*8 + 1); -x_79 = lean_ctor_get(x_62, 4); -x_80 = lean_ctor_get(x_62, 5); -x_81 = lean_ctor_get(x_62, 6); -x_82 = lean_ctor_get(x_62, 7); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_62); -x_83 = 0; -x_84 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_84, 0, x_74); -lean_ctor_set(x_84, 1, x_75); -lean_ctor_set(x_84, 2, x_76); -lean_ctor_set(x_84, 3, x_77); -lean_ctor_set(x_84, 4, x_79); -lean_ctor_set(x_84, 5, x_80); -lean_ctor_set(x_84, 6, x_81); -lean_ctor_set(x_84, 7, x_82); -lean_ctor_set_uint8(x_84, sizeof(void*)*8, x_73); -lean_ctor_set_uint8(x_84, sizeof(void*)*8 + 1, x_78); -lean_ctor_set_uint8(x_84, sizeof(void*)*8 + 2, x_83); -x_85 = lean_st_ref_set(x_2, x_84, x_63); -lean_dec(x_2); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; -} else { - lean_dec_ref(x_85); - x_87 = lean_box(0); -} -x_88 = lean_box(0); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_87; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; +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; +x_36 = lean_array_get_size(x_19); +lean_dec(x_19); +x_37 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_36); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__10; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +lean_inc(x_30); +x_43 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_44); +x_46 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +x_49 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_49); +x_51 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_31, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2(x_17, x_30, x_26, x_31, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_55); +lean_dec(x_54); +return x_56; } } } else { -uint8_t x_90; +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_dec(x_26); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_69 = lean_st_ref_get(x_8, x_18); lean_dec(x_8); -lean_dec(x_2); -x_90 = !lean_is_exclusive(x_49); -if (x_90 == 0) +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_st_ref_take(x_2, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) { -return x_49; +uint8_t x_75; lean_object* x_76; uint8_t x_77; +x_75 = 0; +lean_ctor_set_uint8(x_72, sizeof(void*)*8 + 2, x_75); +x_76 = lean_st_ref_set(x_2, x_72, x_73); +lean_dec(x_2); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +x_79 = lean_box(0); +lean_ctor_set(x_76, 0, x_79); +return x_76; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_49, 0); -x_92 = lean_ctor_get(x_49, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +lean_dec(x_76); +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_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_83 = lean_ctor_get_uint8(x_72, sizeof(void*)*8); +x_84 = lean_ctor_get(x_72, 0); +x_85 = lean_ctor_get(x_72, 1); +x_86 = lean_ctor_get(x_72, 2); +x_87 = lean_ctor_get(x_72, 3); +x_88 = lean_ctor_get_uint8(x_72, sizeof(void*)*8 + 1); +x_89 = lean_ctor_get(x_72, 4); +x_90 = lean_ctor_get(x_72, 5); +x_91 = lean_ctor_get(x_72, 6); +x_92 = lean_ctor_get(x_72, 7); lean_inc(x_92); lean_inc(x_91); -lean_dec(x_49); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_72); +x_93 = 0; +x_94 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_94, 0, x_84); +lean_ctor_set(x_94, 1, x_85); +lean_ctor_set(x_94, 2, x_86); +lean_ctor_set(x_94, 3, x_87); +lean_ctor_set(x_94, 4, x_89); +lean_ctor_set(x_94, 5, x_90); +lean_ctor_set(x_94, 6, x_91); +lean_ctor_set(x_94, 7, x_92); +lean_ctor_set_uint8(x_94, sizeof(void*)*8, x_83); +lean_ctor_set_uint8(x_94, sizeof(void*)*8 + 1, x_88); +lean_ctor_set_uint8(x_94, sizeof(void*)*8 + 2, x_93); +x_95 = lean_st_ref_set(x_2, x_94, x_73); +lean_dec(x_2); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); } +x_98 = lean_box(0); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; } -} -block_108: -{ -if (x_95 == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -x_48 = x_96; -goto block_94; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_inc(x_29); -x_97 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_97, 0, x_29); -x_98 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; -x_99 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; -x_101 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -lean_inc(x_41); -x_102 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_102, 0, x_41); -x_103 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_98); -x_105 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; -x_106 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_105, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96); -lean_dec(x_4); -lean_dec(x_3); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_48 = x_107; -goto block_94; +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +} +} } } } else { -uint8_t x_121; -lean_dec(x_41); -lean_dec(x_29); +lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_100 = lean_ctor_get(x_15, 0); +x_101 = lean_ctor_get(x_15, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_15); +x_102 = lean_ctor_get(x_100, 5); +lean_inc(x_102); +x_103 = l_Array_isEmpty___rarg(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; +lean_dec(x_102); +lean_dec(x_100); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6514,252 +6485,262 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_121 = !lean_is_exclusive(x_44); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_44, 0); -lean_dec(x_122); -x_123 = lean_box(0); -lean_ctor_set(x_44, 0, x_123); -return x_44; +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +return x_105; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_44, 1); -lean_inc(x_124); -lean_dec(x_44); -x_125 = lean_box(0); -x_126 = lean_alloc_ctor(0, 2, 0); +uint8_t x_106; +x_106 = lean_ctor_get_uint8(x_100, sizeof(void*)*8 + 2); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_102); +lean_dec(x_100); +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_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +lean_object* x_109; +x_109 = lean_ctor_get(x_100, 4); +lean_inc(x_109); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_102); +lean_dec(x_100); +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_110 = lean_box(0); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_101); +return x_111; +} +else +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_109, 0); +lean_inc(x_112); +lean_dec(x_109); +x_113 = l_Lean_Expr_isProp(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_114 = lean_ctor_get(x_100, 2); +lean_inc(x_114); +x_115 = lean_unsigned_to_nat(0u); +x_116 = l_List_lengthAux___rarg(x_114, x_115); +lean_dec(x_114); +x_117 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; +x_144 = lean_st_ref_get(x_8, x_101); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_145, 3); +lean_inc(x_146); +lean_dec(x_145); +x_147 = lean_ctor_get_uint8(x_146, sizeof(void*)*1); +lean_dec(x_146); +if (x_147 == 0) +{ +lean_object* x_148; uint8_t x_149; +x_148 = lean_ctor_get(x_144, 1); +lean_inc(x_148); +lean_dec(x_144); +x_149 = 0; +x_118 = x_149; +x_119 = x_148; +goto block_143; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_144, 1); +lean_inc(x_150); +lean_dec(x_144); +x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_117, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_unbox(x_152); +lean_dec(x_152); +x_118 = x_154; +x_119 = x_153; +goto block_143; +} +block_143: +{ +if (x_118 == 0) +{ +lean_object* x_120; lean_object* x_121; +lean_dec(x_102); +x_120 = lean_box(0); +x_121 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2(x_100, x_116, x_112, x_117, x_120, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_119); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_122 = lean_array_get_size(x_102); +lean_dec(x_102); +x_123 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_122); +x_124 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_124, 0, x_123); +x_125 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; +x_126 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -return x_126; +x_127 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__10; +x_128 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +lean_inc(x_116); +x_129 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_116); +x_130 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_130); +x_132 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12; +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_ctor_get(x_100, 1); +lean_inc(x_134); +x_135 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_136 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_136, 0, x_133); +lean_ctor_set(x_136, 1, x_135); +x_137 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_138 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_117, x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_119); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2(x_100, x_116, x_112, x_117, x_140, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_141); +lean_dec(x_140); +return x_142; } } } else { -uint8_t x_127; -lean_dec(x_41); -lean_dec(x_29); -lean_dec(x_8); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t 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_dec(x_112); +lean_dec(x_102); +lean_dec(x_100); 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_127 = !lean_is_exclusive(x_44); -if (x_127 == 0) -{ -return x_44; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_44, 0); -x_129 = lean_ctor_get(x_44, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_44); -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 -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_41); -lean_dec(x_29); +x_155 = lean_st_ref_get(x_8, x_101); 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_131 = lean_box(0); -if (lean_is_scalar(x_18)) { - x_132 = lean_alloc_ctor(0, 2, 0); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_st_ref_take(x_2, x_156); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = lean_ctor_get_uint8(x_158, sizeof(void*)*8); +x_161 = lean_ctor_get(x_158, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_158, 1); +lean_inc(x_162); +x_163 = lean_ctor_get(x_158, 2); +lean_inc(x_163); +x_164 = lean_ctor_get(x_158, 3); +lean_inc(x_164); +x_165 = lean_ctor_get_uint8(x_158, sizeof(void*)*8 + 1); +x_166 = lean_ctor_get(x_158, 4); +lean_inc(x_166); +x_167 = lean_ctor_get(x_158, 5); +lean_inc(x_167); +x_168 = lean_ctor_get(x_158, 6); +lean_inc(x_168); +x_169 = lean_ctor_get(x_158, 7); +lean_inc(x_169); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + lean_ctor_release(x_158, 2); + lean_ctor_release(x_158, 3); + lean_ctor_release(x_158, 4); + lean_ctor_release(x_158, 5); + lean_ctor_release(x_158, 6); + lean_ctor_release(x_158, 7); + x_170 = x_158; } else { - x_132 = x_18; + lean_dec_ref(x_158); + x_170 = lean_box(0); } -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_34); -return x_132; -} -} -} -block_156: -{ -if (x_134 == 0) -{ -lean_dec(x_19); -x_34 = x_135; -goto block_133; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_136 = lean_array_get_size(x_19); -lean_dec(x_19); -x_137 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_136); -x_138 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_139 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__10; -x_140 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12; -x_142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -lean_inc(x_33); -x_143 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_33); -x_144 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_144, 0, x_143); -x_145 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_144); -x_146 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__14; -x_147 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -x_148 = lean_ctor_get(x_16, 1); -lean_inc(x_148); -x_149 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_149, 0, x_148); -x_150 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_149); -x_151 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; -x_152 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_153 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; -x_154 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_153, x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_135); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_34 = x_155; -goto block_133; -} -} -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; -lean_dec(x_29); -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_169 = lean_st_ref_get(x_8, x_17); -lean_dec(x_8); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = lean_st_ref_take(x_2, x_170); -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_is_exclusive(x_172); -if (x_174 == 0) -{ -uint8_t x_175; lean_object* x_176; uint8_t x_177; -x_175 = 0; -lean_ctor_set_uint8(x_172, sizeof(void*)*8 + 2, x_175); -x_176 = lean_st_ref_set(x_2, x_172, x_173); -lean_dec(x_2); -x_177 = !lean_is_exclusive(x_176); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; -x_178 = lean_ctor_get(x_176, 0); -lean_dec(x_178); -x_179 = lean_box(0); -lean_ctor_set(x_176, 0, x_179); -return x_176; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_176, 1); -lean_inc(x_180); -lean_dec(x_176); -x_181 = lean_box(0); -x_182 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -return x_182; -} -} -else -{ -uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_183 = lean_ctor_get_uint8(x_172, sizeof(void*)*8); -x_184 = lean_ctor_get(x_172, 0); -x_185 = lean_ctor_get(x_172, 1); -x_186 = lean_ctor_get(x_172, 2); -x_187 = lean_ctor_get(x_172, 3); -x_188 = lean_ctor_get_uint8(x_172, sizeof(void*)*8 + 1); -x_189 = lean_ctor_get(x_172, 4); -x_190 = lean_ctor_get(x_172, 5); -x_191 = lean_ctor_get(x_172, 6); -x_192 = lean_ctor_get(x_172, 7); -lean_inc(x_192); -lean_inc(x_191); -lean_inc(x_190); -lean_inc(x_189); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_172); -x_193 = 0; -x_194 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_194, 0, x_184); -lean_ctor_set(x_194, 1, x_185); -lean_ctor_set(x_194, 2, x_186); -lean_ctor_set(x_194, 3, x_187); -lean_ctor_set(x_194, 4, x_189); -lean_ctor_set(x_194, 5, x_190); -lean_ctor_set(x_194, 6, x_191); -lean_ctor_set(x_194, 7, x_192); -lean_ctor_set_uint8(x_194, sizeof(void*)*8, x_183); -lean_ctor_set_uint8(x_194, sizeof(void*)*8 + 1, x_188); -lean_ctor_set_uint8(x_194, sizeof(void*)*8 + 2, x_193); -x_195 = lean_st_ref_set(x_2, x_194, x_173); -lean_dec(x_2); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_197 = x_195; +x_171 = 0; +if (lean_is_scalar(x_170)) { + x_172 = lean_alloc_ctor(0, 8, 3); } else { - lean_dec_ref(x_195); - x_197 = lean_box(0); + x_172 = x_170; } -x_198 = lean_box(0); -if (lean_is_scalar(x_197)) { - x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_161); +lean_ctor_set(x_172, 1, x_162); +lean_ctor_set(x_172, 2, x_163); +lean_ctor_set(x_172, 3, x_164); +lean_ctor_set(x_172, 4, x_166); +lean_ctor_set(x_172, 5, x_167); +lean_ctor_set(x_172, 6, x_168); +lean_ctor_set(x_172, 7, x_169); +lean_ctor_set_uint8(x_172, sizeof(void*)*8, x_160); +lean_ctor_set_uint8(x_172, sizeof(void*)*8 + 1, x_165); +lean_ctor_set_uint8(x_172, sizeof(void*)*8 + 2, x_171); +x_173 = lean_st_ref_set(x_2, x_172, x_159); +lean_dec(x_2); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_175 = x_173; } else { - x_199 = x_197; + lean_dec_ref(x_173); + x_175 = lean_box(0); } -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_196); -return x_199; +x_176 = lean_box(0); +if (lean_is_scalar(x_175)) { + x_177 = lean_alloc_ctor(0, 2, 0); +} else { + x_177 = x_175; +} +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_174); +return x_177; } } } @@ -6798,6 +6779,27 @@ lean_dec(x_2); return x_10; } } +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_propagateExpectedType___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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_propagateExpectedType___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_5); +return x_14; +} +} 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: { @@ -7076,7 +7078,58 @@ return x_19; } } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1() { +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) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_13 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_box(0); +x_16 = lean_apply_9(x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -7084,16 +7137,118 @@ x_1 = lean_mk_string("expected type: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___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_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__3() { +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_2, 4); +lean_inc(x_14); +lean_dec(x_2); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +lean_dec(x_3); +x_15 = lean_box(0); +x_16 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_1, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_6); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1___boxed), 10, 1); +lean_closure_set(x_18, 0, x_1); +x_33 = lean_st_ref_get(x_12, x_13); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = 0; +x_19 = x_38; +x_20 = x_37; +goto block_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_dec(x_33); +lean_inc(x_4); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_unbox(x_41); +lean_dec(x_41); +x_19 = x_43; +x_20 = x_42; +goto block_32; +} +block_32: +{ +if (x_19 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_4); +x_21 = lean_box(0); +x_22 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_17, x_3, x_18, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +return x_22; +} +else +{ +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_inc(x_17); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_17); +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_4, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +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 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_17, x_3, x_18, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_30); +lean_dec(x_29); +return x_31; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -7101,16 +7256,16 @@ 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__4() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___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__3; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__5() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -7118,16 +7273,16 @@ x_1 = lean_mk_string(" : "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6() { +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4() { _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__5; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3; 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* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -7139,334 +7294,211 @@ lean_inc(x_3); x_13 = l_Lean_Meta_inferType(x_3, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_64; lean_object* x_65; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 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_78 = lean_st_ref_get(x_11, x_15); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_79, 3); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); -lean_dec(x_80); -if (x_81 == 0) +x_34 = lean_st_ref_get(x_11, x_15); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1); +lean_dec(x_36); +if (x_37 == 0) { -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_78, 1); -lean_inc(x_82); -lean_dec(x_78); -x_83 = 0; -x_64 = x_83; -x_65 = x_82; -goto block_77; +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = 0; +x_16 = x_39; +x_17 = x_38; +goto block_33; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_dec(x_78); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_dec(x_34); lean_inc(x_2); -x_85 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_84); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_unbox(x_86); -lean_dec(x_86); -x_64 = x_88; -x_65 = x_87; -goto block_77; +x_41 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); +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 = lean_unbox(x_42); +lean_dec(x_42); +x_16 = x_44; +x_17 = x_43; +goto block_33; } -block_63: +block_33: { -lean_object* x_17; -x_17 = lean_ctor_get(x_1, 4); -lean_inc(x_17); -lean_dec(x_1); -if (lean_obj_tag(x_17) == 0) +if (x_16 == 0) { lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -lean_dec(x_2); x_18 = lean_box(0); -x_19 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_19 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3(x_3, x_1, x_14, x_2, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_st_ref_get(x_11, x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_2); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_26 = l_Lean_Meta_isExprDefEq(x_20, x_14, x_8, x_9, x_10, x_11, x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_3, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_26); -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; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = lean_ctor_get(x_21, 1); -lean_inc(x_34); -lean_dec(x_21); -lean_inc(x_2); -x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_2); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_39 = l_Lean_Meta_isExprDefEq(x_20, x_14, x_8, x_9, x_10, x_11, x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_box(0); -x_42 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_3, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_40); -return x_42; -} -else -{ -uint8_t x_43; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_3); -x_43 = !lean_is_exclusive(x_39); -if (x_43 == 0) -{ -return x_39; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_39, 0); -x_45 = lean_ctor_get(x_39, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_39); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -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; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_47 = lean_ctor_get(x_35, 1); -lean_inc(x_47); -lean_dec(x_35); -lean_inc(x_20); -x_48 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_48, 0, x_20); -x_49 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_2, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_47); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_55 = l_Lean_Meta_isExprDefEq(x_20, x_14, x_8, x_9, x_10, x_11, x_54); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_box(0); -x_58 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_3, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_3); -x_59 = !lean_is_exclusive(x_55); -if (x_59 == 0) -{ -return x_55; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_55, 0); -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_55); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -} -} -} -block_77: -{ -if (x_64 == 0) -{ -x_16 = x_65; -goto block_63; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_object* x_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_inc(x_3); -x_66 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_66, 0, x_3); -x_67 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__4; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_3); +x_21 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); lean_inc(x_14); -x_71 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_71, 0, x_14); -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); +x_25 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_25, 0, x_14); +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); lean_inc(x_2); -x_75 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_2, x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_16 = x_76; -goto block_63; +x_29 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_2, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3(x_3, x_1, x_14, x_2, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +lean_dec(x_30); +return x_32; } } } else { -uint8_t x_89; +uint8_t x_45; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_13); -if (x_89 == 0) +x_45 = !lean_is_exclusive(x_13); +if (x_45 == 0) { return x_13; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_13, 0); -x_91 = lean_ctor_get(x_13, 1); -lean_inc(x_91); -lean_inc(x_90); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_13, 0); +x_47 = lean_ctor_get(x_13, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_13); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +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_finalize___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_13 = lean_ctor_get(x_10, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 6); +lean_inc(x_14); +x_15 = lean_array_get_size(x_14); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = lean_box(0); +lean_inc(x_3); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_3, x_13, x_14, x_16, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_14); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_ctor_get(x_1, 5); +lean_inc(x_21); +x_22 = l_Array_isEmpty___rarg(x_21); +if (x_22 == 0) +{ +uint8_t x_23; uint8_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = 1; +lean_inc(x_8); +x_25 = l_Lean_Meta_mkLambdaFVars(x_21, x_3, x_23, x_24, x_8, x_9, x_10, x_11, x_20); +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_finalize___lambda__4(x_1, x_2, x_26, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +return x_28; +} +else +{ +uint8_t x_29; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +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 +{ +lean_object* x_33; +lean_dec(x_21); +x_33 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +return x_33; +} +} +} static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1() { _start: { @@ -7488,7 +7520,7 @@ 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_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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; uint8_t x_16; lean_object* x_17; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); @@ -7501,137 +7533,68 @@ lean_inc(x_13); lean_dec(x_11); x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); -x_40 = lean_st_ref_get(x_7, x_13); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) +x_15 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; +x_26 = lean_st_ref_get(x_7, x_13); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_15 = x_44; -goto block_39; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_dec(x_40); -x_46 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_46, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_45); -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) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_15 = x_50; -goto block_39; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -lean_inc(x_14); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_14); -x_53 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_46, x_52, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_15 = x_54; -goto block_39; -} -} -block_39: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_16 = lean_ctor_get(x_6, 3); -lean_inc(x_16); -x_17 = lean_ctor_get(x_12, 6); -lean_inc(x_17); -x_18 = lean_array_get_size(x_17); -x_19 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_20 = 0; -x_21 = lean_box(0); -lean_inc(x_14); -x_22 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_14, x_16, x_17, x_19, x_20, x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_17); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_12, 5); -lean_inc(x_24); -x_25 = l_Array_isEmpty___rarg(x_24); -if (x_25 == 0) -{ -uint8_t x_26; uint8_t x_27; lean_object* x_28; -x_26 = 0; -x_27 = 1; -lean_inc(x_4); -x_28 = l_Lean_Meta_mkLambdaFVars(x_24, x_14, x_26, x_27, x_4, x_5, x_6, x_7, x_23); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_26, 1); lean_inc(x_30); -lean_dec(x_28); -x_31 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_32 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_31, x_29, x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_30); -return x_32; +lean_dec(x_26); +x_31 = 0; +x_16 = x_31; +x_17 = x_30; +goto block_25; } else { -uint8_t x_33; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_33 = !lean_is_exclusive(x_28); -if (x_33 == 0) -{ -return x_28; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_28, 0); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_dec(x_26); +x_33 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_32); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_28); -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; -} +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_unbox(x_34); +lean_dec(x_34); +x_16 = x_36; +x_17 = x_35; +goto block_25; } +block_25: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5(x_12, x_15, x_14, x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +return x_19; } else { -lean_object* x_37; lean_object* x_38; -lean_dec(x_24); -x_37 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_38 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_37, x_14, x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_23); -return x_38; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_inc(x_14); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_14); +x_21 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_15, x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +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 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5(x_12, x_15, x_14, x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_23); +lean_dec(x_22); +return x_24; } } } @@ -7672,20 +7635,35 @@ _start: { lean_object* x_13; x_13 = 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); -lean_dec(x_7); -lean_dec(x_5); lean_dec(x_4); return x_13; } } -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) { +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _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_3); -lean_dec(x_1); -return x_9; +lean_object* x_14; +x_14 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3(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_5); +return x_14; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +return x_13; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +return x_13; } } 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) { @@ -8779,8 +8757,6 @@ x_44 = lean_ctor_get(x_41, 1); lean_inc(x_44); lean_dec(x_41); x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_44); -lean_dec(x_4); -lean_dec(x_2); return x_45; } else @@ -9134,8 +9110,6 @@ else lean_object* x_119; lean_dec(x_1); x_119 = 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_4); -lean_dec(x_2); return x_119; } } @@ -12107,8 +12081,6 @@ x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); lean_dec(x_17); x_21 = 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_20); -lean_dec(x_3); -lean_dec(x_1); return x_21; } else @@ -12596,6 +12568,135 @@ return x_42; } } } +lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, uint8_t 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) { +_start: +{ +uint8_t x_16; +x_16 = l_Array_isEmpty___rarg(x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +x_17 = l_Lean_Elab_Term_tryPostponeIfMVar(x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_19); +lean_dec(x_18); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(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_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +x_25 = l_Array_isEmpty___rarg(x_2); +if (x_25 == 0) +{ +lean_object* x_26; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +x_26 = l_Lean_Elab_Term_tryPostponeIfMVar(x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +lean_dec(x_27); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(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_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_26); +if (x_30 == 0) +{ +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_26, 0); +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_26); +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; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_35; +} +} +} +} static lean_object* _init_l_Lean_Elab_Term_elabAppArgs___closed__1() { _start: { @@ -12673,231 +12774,108 @@ lean_inc(x_9); x_17 = l_Lean_Meta_instantiateMVars(x_15, x_9, x_10, x_11, x_12, x_16); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_42; lean_object* x_43; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_62 = lean_st_ref_get(x_12, x_19); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_63, 3); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*1); -lean_dec(x_64); -if (x_65 == 0) +x_20 = l_Lean_Elab_Term_elabAppArgs___closed__2; +x_44 = lean_st_ref_get(x_12, x_19); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_45, 3); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*1); +lean_dec(x_46); +if (x_47 == 0) { -lean_object* x_66; uint8_t x_67; -x_66 = lean_ctor_get(x_62, 1); -lean_inc(x_66); -lean_dec(x_62); -x_67 = 0; -x_42 = x_67; -x_43 = x_66; -goto block_61; +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +x_49 = 0; +x_21 = x_49; +x_22 = x_48; +goto block_43; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_68 = lean_ctor_get(x_62, 1); -lean_inc(x_68); -lean_dec(x_62); -x_69 = l_Lean_Elab_Term_elabAppArgs___closed__2; -x_70 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_69, x_7, x_8, x_9, x_10, x_11, x_12, x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_unbox(x_71); -lean_dec(x_71); -x_42 = x_73; -x_43 = x_72; -goto block_61; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_dec(x_44); +x_51 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_unbox(x_52); +lean_dec(x_52); +x_21 = x_54; +x_22 = x_53; +goto block_43; } -block_41: +block_43: { -uint8_t x_21; -x_21 = l_Array_isEmpty___rarg(x_2); if (x_21 == 0) { -lean_object* x_22; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Term_elabAppArgs___lambda__2(x_1, x_3, x_2, x_5, x_18, x_6, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_12, 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; 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; +x_25 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_5); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_Elab_Term_elabAppArgs___closed__4; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_Term_elabAppArgs___closed__6; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +lean_inc(x_1); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_1); +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); lean_inc(x_18); -x_22 = l_Lean_Elab_Term_tryPostponeIfMVar(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_3, x_2, x_5, x_18, x_6, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_24); -lean_dec(x_23); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_18); -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); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_22); -if (x_26 == 0) -{ -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -x_30 = l_Array_isEmpty___rarg(x_3); -if (x_30 == 0) -{ -lean_object* x_31; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_18); -x_31 = l_Lean_Elab_Term_tryPostponeIfMVar(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -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_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_3, x_2, x_5, x_18, x_6, x_4, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_33); -lean_dec(x_32); -return x_34; -} -else -{ -uint8_t x_35; -lean_dec(x_18); -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); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_31); -if (x_35 == 0) -{ -return x_31; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_31, 0); -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_31); -x_38 = lean_alloc_ctor(1, 2, 0); +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_18); +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; +x_38 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_38, 0, x_36); lean_ctor_set(x_38, 1, x_37); -return x_38; +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_20, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_elabAppArgs___lambda__2(x_1, x_3, x_2, x_5, x_18, x_6, x_4, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +lean_dec(x_40); +return x_42; } } } else { -lean_object* x_39; lean_object* x_40; -x_39 = lean_box(0); -x_40 = l_Lean_Elab_Term_elabAppArgs___lambda__1(x_1, x_3, x_2, x_5, x_18, x_6, x_4, x_39, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -return x_40; -} -} -} -block_61: -{ -if (x_42 == 0) -{ -x_20 = x_43; -goto block_41; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_44 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_5); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_Term_elabAppArgs___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Elab_Term_elabAppArgs___closed__6; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -lean_inc(x_1); -x_50 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_50, 0, x_1); -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6; -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -lean_inc(x_18); -x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_18); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_elabAppArgs___closed__2; -x_59 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_58, x_57, x_7, x_8, x_9, x_10, x_11, x_12, x_43); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_20 = x_60; -goto block_41; -} -} -} -else -{ -uint8_t x_74; +uint8_t x_55; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -12908,29 +12886,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_74 = !lean_is_exclusive(x_17); -if (x_74 == 0) +x_55 = !lean_is_exclusive(x_17); +if (x_55 == 0) { return x_17; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_17, 0); -x_76 = lean_ctor_get(x_17, 1); -lean_inc(x_76); -lean_inc(x_75); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_17, 0); +x_57 = lean_ctor_get(x_17, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_17); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; +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; } } } else { -uint8_t x_78; +uint8_t x_59; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -12941,23 +12919,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_14); -if (x_78 == 0) +x_59 = !lean_is_exclusive(x_14); +if (x_59 == 0) { return x_14; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_14, 0); -x_80 = lean_ctor_get(x_14, 1); -lean_inc(x_80); -lean_inc(x_79); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_14, 0); +x_61 = lean_ctor_get(x_14, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_14); -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_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } @@ -12975,6 +12953,19 @@ lean_dec(x_8); return x_18; } } +lean_object* l_Lean_Elab_Term_elabAppArgs___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, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = lean_unbox(x_6); +lean_dec(x_6); +x_18 = l_Lean_Elab_Term_elabAppArgs___lambda__2(x_1, x_2, x_3, x_16, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +return x_18; +} +} lean_object* l_Lean_Elab_Term_elabAppArgs___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: { @@ -19014,7 +19005,7 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_mkConst(x_1, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -19023,8 +19014,17 @@ lean_dec(x_19); x_22 = l_Lean_Elab_Term_LVal_getRef(x_2); x_23 = lean_box(0); x_24 = lean_box(0); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_20); x_25 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_23, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_21); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; uint8_t x_27; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); @@ -19203,6 +19203,7 @@ return x_57; else { uint8_t x_58; +lean_dec(x_20); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -19216,23 +19217,59 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_19); +x_58 = !lean_is_exclusive(x_25); if (x_58 == 0) { +return x_25; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_25, 0); +x_60 = lean_ctor_get(x_25, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_25); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_19); +if (x_62 == 0) +{ return x_19; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_19, 0); -x_60 = lean_ctor_get(x_19, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_19, 0); +x_64 = lean_ctor_get(x_19, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_19); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } @@ -19312,7 +19349,7 @@ lean_inc(x_10); x_30 = l_Lean_Elab_Term_mkConst(x_28, x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_27); if (lean_obj_tag(x_30) == 0) { -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; uint8_t x_38; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -19322,8 +19359,17 @@ x_33 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); x_34 = lean_box(0); x_35 = lean_box(0); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_31); x_36 = l_Lean_Elab_Term_addTermInfo(x_33, x_31, x_34, x_34, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_32); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; uint8_t x_38; x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); @@ -19455,6 +19501,41 @@ return x_66; else { uint8_t x_67; +lean_dec(x_31); +lean_dec(x_26); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_67 = !lean_is_exclusive(x_36); +if (x_67 == 0) +{ +return x_36; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_36, 0); +x_69 = lean_ctor_get(x_36, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_36); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; lean_dec(x_26); lean_dec(x_15); lean_dec(x_14); @@ -19467,29 +19548,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_67 = !lean_is_exclusive(x_30); -if (x_67 == 0) +x_71 = !lean_is_exclusive(x_30); +if (x_71 == 0) { return x_30; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_30, 0); -x_69 = lean_ctor_get(x_30, 1); -lean_inc(x_69); -lean_inc(x_68); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_30, 0); +x_73 = lean_ctor_get(x_30, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_30); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_71; +uint8_t x_75; lean_dec(x_24); lean_dec(x_22); lean_dec(x_15); @@ -19503,97 +19584,140 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_71 = !lean_is_exclusive(x_25); -if (x_71 == 0) +x_75 = !lean_is_exclusive(x_25); +if (x_75 == 0) { return x_25; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_25, 0); -x_73 = lean_ctor_get(x_25, 1); -lean_inc(x_73); -lean_inc(x_72); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_25, 0); +x_77 = lean_ctor_get(x_25, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_25); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +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; } } } case 1: { -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_75 = lean_ctor_get(x_17, 1); -lean_inc(x_75); -lean_dec(x_17); -x_76 = lean_ctor_get(x_18, 0); -lean_inc(x_76); -lean_dec(x_18); -x_77 = lean_ctor_get(x_19, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_19, 1); -lean_inc(x_78); -lean_dec(x_19); -x_79 = l_Lean_mkProj(x_77, x_78, x_76); -x_80 = l_Lean_Elab_Term_LVal_getRef(x_2); -lean_dec(x_2); -x_81 = lean_box(0); -x_82 = lean_box(0); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_79 = lean_ctor_get(x_17, 1); lean_inc(x_79); -x_83 = l_Lean_Elab_Term_addTermInfo(x_80, x_79, x_81, x_81, x_82, x_10, x_11, x_12, x_13, x_14, x_15, x_75); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_79, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_84); -return x_85; -} -case 2: -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_86 = lean_ctor_get(x_17, 1); -lean_inc(x_86); lean_dec(x_17); -x_87 = lean_ctor_get(x_18, 0); -lean_inc(x_87); +x_80 = lean_ctor_get(x_18, 0); +lean_inc(x_80); lean_dec(x_18); -x_88 = lean_ctor_get(x_19, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_19, 1); -lean_inc(x_89); -x_90 = lean_ctor_get(x_19, 2); -lean_inc(x_90); +x_81 = lean_ctor_get(x_19, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_19, 1); +lean_inc(x_82); lean_dec(x_19); -x_91 = lean_name_eq(x_88, x_89); -if (x_91 == 0) -{ -lean_object* x_92; +x_83 = l_Lean_mkProj(x_81, x_82, x_80); +x_84 = l_Lean_Elab_Term_LVal_getRef(x_2); +lean_dec(x_2); +x_85 = lean_box(0); +x_86 = lean_box(0); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_92 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_88, x_89, x_87, x_10, x_11, x_12, x_13, x_14, x_15, x_86); -if (lean_obj_tag(x_92) == 0) +lean_inc(x_83); +x_87 = l_Lean_Elab_Term_addTermInfo(x_84, x_83, x_85, x_85, x_86, x_10, x_11, x_12, x_13, x_14, x_15, x_79); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_88, x_93, x_10, x_11, x_12, x_13, x_14, x_15, x_94); -lean_dec(x_2); -return x_95; +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_83, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_88); +return x_89; } else { -uint8_t x_96; -lean_dec(x_90); -lean_dec(x_88); +uint8_t x_90; +lean_dec(x_83); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_90 = !lean_is_exclusive(x_87); +if (x_90 == 0) +{ +return x_87; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_87, 0); +x_92 = lean_ctor_get(x_87, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_87); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +case 2: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_94 = lean_ctor_get(x_17, 1); +lean_inc(x_94); +lean_dec(x_17); +x_95 = lean_ctor_get(x_18, 0); +lean_inc(x_95); +lean_dec(x_18); +x_96 = lean_ctor_get(x_19, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_19, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_19, 2); +lean_inc(x_98); +lean_dec(x_19); +x_99 = lean_name_eq(x_96, x_97); +if (x_99 == 0) +{ +lean_object* x_100; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_96, x_97, x_95, x_10, x_11, x_12, x_13, x_14, x_15, x_94); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96, x_101, x_10, x_11, x_12, x_13, x_14, x_15, x_102); +lean_dec(x_2); +return x_103; +} +else +{ +uint8_t x_104; +lean_dec(x_98); +lean_dec(x_96); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19605,133 +19729,88 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_96 = !lean_is_exclusive(x_92); -if (x_96 == 0) +x_104 = !lean_is_exclusive(x_100); +if (x_104 == 0) { -return x_92; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_92, 0); -x_98 = lean_ctor_get(x_92, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_92); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -lean_object* x_100; -lean_dec(x_89); -x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_88, x_87, x_10, x_11, x_12, x_13, x_14, x_15, x_86); -lean_dec(x_2); return x_100; } +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_100, 0); +x_106 = lean_ctor_get(x_100, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_100); +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_dec(x_97); +x_108 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96, x_95, x_10, x_11, x_12, x_13, x_14, x_15, x_94); +lean_dec(x_2); +return x_108; +} } case 3: { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_101 = lean_ctor_get(x_17, 1); -lean_inc(x_101); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_109 = lean_ctor_get(x_17, 1); +lean_inc(x_109); lean_dec(x_17); -x_102 = lean_ctor_get(x_18, 0); -lean_inc(x_102); -lean_dec(x_18); -x_103 = lean_ctor_get(x_19, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_19, 1); -lean_inc(x_104); -x_105 = lean_ctor_get(x_19, 2); -lean_inc(x_105); -lean_dec(x_19); -x_106 = l_Lean_Elab_Term_LVal_getRef(x_2); -lean_dec(x_2); -x_107 = lean_box(0); -x_108 = lean_box(0); -lean_inc(x_105); -x_109 = l_Lean_Elab_Term_addTermInfo(x_106, x_105, x_107, x_107, x_108, x_10, x_11, x_12, x_13, x_14, x_15, x_101); -x_110 = lean_ctor_get(x_109, 1); +x_110 = lean_ctor_get(x_18, 0); lean_inc(x_110); -lean_dec(x_109); -x_111 = l_List_isEmpty___rarg(x_3); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; -lean_dec(x_104); -lean_dec(x_103); -x_112 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_112, 0, x_102); -x_113 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_116 = 0; +lean_dec(x_18); +x_111 = lean_ctor_get(x_19, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_19, 1); +lean_inc(x_112); +x_113 = lean_ctor_get(x_19, 2); +lean_inc(x_113); +lean_dec(x_19); +x_114 = l_Lean_Elab_Term_LVal_getRef(x_2); +lean_dec(x_2); +x_115 = lean_box(0); +x_116 = lean_box(0); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_117 = l_Lean_Elab_Term_elabAppArgs(x_105, x_115, x_114, x_107, x_116, x_116, x_10, x_11, x_12, x_13, x_14, x_15, x_110); +lean_inc(x_113); +x_117 = l_Lean_Elab_Term_addTermInfo(x_114, x_113, x_115, x_115, x_116, x_10, x_11, x_12, x_13, x_14, x_15, x_109); if (lean_obj_tag(x_117) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_117, 0); +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_117, 1); lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); lean_dec(x_117); -x_120 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_118, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_119); -return x_120; -} -else +x_119 = l_List_isEmpty___rarg(x_3); +if (x_119 == 0) { -uint8_t x_121; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_121 = !lean_is_exclusive(x_117); -if (x_121 == 0) -{ -return x_117; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_117, 0); -x_123 = lean_ctor_get(x_117, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_117); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -} -else -{ -lean_object* x_125; -lean_dec(x_3); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +lean_dec(x_112); +lean_dec(x_111); +x_120 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_120, 0, x_110); +x_121 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_122 = lean_array_push(x_121, x_120); +x_123 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_124 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_105); -x_125 = l_Lean_Meta_inferType(x_105, x_12, x_13, x_14, x_15, x_110); +lean_inc(x_11); +lean_inc(x_10); +x_125 = l_Lean_Elab_Term_elabAppArgs(x_113, x_123, x_122, x_115, x_124, x_124, x_10, x_11, x_12, x_13, x_14, x_15, x_118); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; lean_object* x_127; lean_object* x_128; @@ -19740,67 +19819,12 @@ lean_inc(x_126); x_127 = lean_ctor_get(x_125, 1); lean_inc(x_127); lean_dec(x_125); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_128 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_103, x_104, x_102, x_5, x_4, x_126, x_10, x_11, x_12, x_13, x_14, x_15, x_127); -if (lean_obj_tag(x_128) == 0) -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_129, 1); -lean_inc(x_132); -lean_dec(x_129); -x_133 = l_Lean_Elab_Term_elabAppArgs(x_105, x_132, x_131, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_130); -return x_133; -} -else -{ -uint8_t x_134; -lean_dec(x_105); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -x_134 = !lean_is_exclusive(x_128); -if (x_134 == 0) -{ +x_128 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_126, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_127); return x_128; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_128, 0); -x_136 = lean_ctor_get(x_128, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_128); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -else -{ -uint8_t x_138; -lean_dec(x_105); -lean_dec(x_104); -lean_dec(x_103); -lean_dec(x_102); +uint8_t x_129; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19810,106 +19834,143 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_138 = !lean_is_exclusive(x_125); -if (x_138 == 0) +lean_dec(x_3); +x_129 = !lean_is_exclusive(x_125); +if (x_129 == 0) { return x_125; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_125, 0); -x_140 = lean_ctor_get(x_125, 1); -lean_inc(x_140); -lean_inc(x_139); +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_125, 0); +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +lean_inc(x_130); lean_dec(x_125); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; } } } -} -default: +else { -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_17, 1); -lean_inc(x_142); -lean_dec(x_17); -x_143 = lean_ctor_get(x_18, 0); -lean_inc(x_143); -lean_dec(x_18); -x_144 = lean_ctor_get(x_19, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_19, 1); -lean_inc(x_145); -lean_dec(x_19); -x_146 = lean_box(0); -lean_inc(x_10); -x_147 = l_Lean_Elab_Term_mkConst(x_144, x_146, x_10, x_11, x_12, x_13, x_14, x_15, x_142); -if (lean_obj_tag(x_147) == 0) +lean_object* x_133; +lean_dec(x_3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_113); +x_133 = l_Lean_Meta_inferType(x_113, x_12, x_13, x_14, x_15, x_118); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = l_Lean_Elab_Term_LVal_getRef(x_2); -lean_dec(x_2); -x_151 = lean_box(0); -x_152 = lean_box(0); -lean_inc(x_148); -x_153 = l_Lean_Elab_Term_addTermInfo(x_150, x_148, x_151, x_151, x_152, x_10, x_11, x_12, x_13, x_14, x_15, x_149); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = l_List_isEmpty___rarg(x_3); -if (x_155 == 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; uint8_t x_167; lean_object* x_168; -x_156 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_156, 0, x_143); -x_157 = lean_box(0); -x_158 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_159 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set(x_159, 2, x_156); -x_160 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_160, 0, x_145); -x_161 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_162 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_162, 0, x_157); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_160); -x_163 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; -x_164 = lean_array_push(x_163, x_159); -x_165 = lean_array_push(x_164, x_162); -x_166 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_167 = 0; +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_168 = l_Lean_Elab_Term_elabAppArgs(x_148, x_165, x_166, x_151, x_167, x_167, x_10, x_11, x_12, x_13, x_14, x_15, x_154); -if (lean_obj_tag(x_168) == 0) +x_136 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_111, x_112, x_110, x_5, x_4, x_134, x_10, x_11, x_12, x_13, x_14, x_15, x_135); +if (lean_obj_tag(x_136) == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_169, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_170); -return x_171; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = lean_ctor_get(x_137, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_137, 1); +lean_inc(x_140); +lean_dec(x_137); +x_141 = l_Lean_Elab_Term_elabAppArgs(x_113, x_140, x_139, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_138); +return x_141; } else { -uint8_t x_172; +uint8_t x_142; +lean_dec(x_113); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +x_142 = !lean_is_exclusive(x_136); +if (x_142 == 0) +{ +return x_136; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_136, 0); +x_144 = lean_ctor_get(x_136, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_136); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +} +else +{ +uint8_t x_146; +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_146 = !lean_is_exclusive(x_133); +if (x_146 == 0) +{ +return x_133; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_133, 0); +x_148 = lean_ctor_get(x_133, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_133); +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 +{ +uint8_t x_150; +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19920,72 +19981,114 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_172 = !lean_is_exclusive(x_168); -if (x_172 == 0) +x_150 = !lean_is_exclusive(x_117); +if (x_150 == 0) { -return x_168; +return x_117; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_168, 0); -x_174 = lean_ctor_get(x_168, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_168); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_117, 0); +x_152 = lean_ctor_get(x_117, 1); +lean_inc(x_152); +lean_inc(x_151); +lean_dec(x_117); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +return x_153; } } } -else +default: { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_3); -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_143); -x_177 = lean_box(0); -x_178 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_179 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -lean_ctor_set(x_179, 2, x_176); +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_154 = lean_ctor_get(x_17, 1); +lean_inc(x_154); +lean_dec(x_17); +x_155 = lean_ctor_get(x_18, 0); +lean_inc(x_155); +lean_dec(x_18); +x_156 = lean_ctor_get(x_19, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_19, 1); +lean_inc(x_157); +lean_dec(x_19); +x_158 = lean_box(0); lean_inc(x_10); -x_180 = l_Lean_Elab_Term_addNamedArg(x_4, x_179, x_10, x_11, x_12, x_13, x_14, x_15, x_154); +x_159 = l_Lean_Elab_Term_mkConst(x_156, x_158, x_10, x_11, x_12, x_13, x_14, x_15, x_154); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l_Lean_Elab_Term_LVal_getRef(x_2); +lean_dec(x_2); +x_163 = lean_box(0); +x_164 = lean_box(0); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_160); +x_165 = l_Lean_Elab_Term_addTermInfo(x_162, x_160, x_163, x_163, x_164, x_10, x_11, x_12, x_13, x_14, x_15, x_161); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; uint8_t x_167; +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_List_isEmpty___rarg(x_3); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_180; +x_168 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_168, 0, x_155); +x_169 = lean_box(0); +x_170 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_171 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +lean_ctor_set(x_171, 2, x_168); +x_172 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_172, 0, x_157); +x_173 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_169); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_174, 2, x_172); +x_175 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; +x_176 = lean_array_push(x_175, x_171); +x_177 = lean_array_push(x_176, x_174); +x_178 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_179 = 0; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_180 = l_Lean_Elab_Term_elabAppArgs(x_160, x_177, x_178, x_163, x_179, x_179, x_10, x_11, x_12, x_13, x_14, x_15, x_166); if (lean_obj_tag(x_180) == 0) { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_object* x_181; lean_object* x_182; lean_object* x_183; x_181 = lean_ctor_get(x_180, 0); lean_inc(x_181); x_182 = lean_ctor_get(x_180, 1); lean_inc(x_182); lean_dec(x_180); -x_183 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_183, 0, x_145); -x_184 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_185 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_185, 0, x_177); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set(x_185, 2, x_183); -lean_inc(x_10); -x_186 = l_Lean_Elab_Term_addNamedArg(x_181, x_185, x_10, x_11, x_12, x_13, x_14, x_15, x_182); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_Lean_Elab_Term_elabAppArgs(x_148, x_187, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_188); -return x_189; +x_183 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_181, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_182); +return x_183; } else { -uint8_t x_190; -lean_dec(x_148); +uint8_t x_184; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19994,101 +20097,177 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -x_190 = !lean_is_exclusive(x_186); -if (x_190 == 0) -{ -return x_186; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_186, 0); -x_192 = lean_ctor_get(x_186, 1); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_186); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; -} -} -} -else -{ -uint8_t x_194; -lean_dec(x_148); -lean_dec(x_145); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -x_194 = !lean_is_exclusive(x_180); -if (x_194 == 0) +lean_dec(x_4); +lean_dec(x_3); +x_184 = !lean_is_exclusive(x_180); +if (x_184 == 0) { return x_180; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_180, 0); -x_196 = lean_ctor_get(x_180, 1); -lean_inc(x_196); -lean_inc(x_195); +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_180, 0); +x_186 = lean_ctor_get(x_180, 1); +lean_inc(x_186); +lean_inc(x_185); lean_dec(x_180); -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; -} +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; } } } else { -uint8_t x_198; -lean_dec(x_145); -lean_dec(x_143); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_dec(x_3); -lean_dec(x_2); -x_198 = !lean_is_exclusive(x_147); -if (x_198 == 0) +x_188 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_188, 0, x_155); +x_189 = lean_box(0); +x_190 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_191 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_188); +lean_inc(x_10); +x_192 = l_Lean_Elab_Term_addNamedArg(x_4, x_191, x_10, x_11, x_12, x_13, x_14, x_15, x_166); +if (lean_obj_tag(x_192) == 0) { -return x_147; -} -else +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_195, 0, x_157); +x_196 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_197 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_197, 0, x_189); +lean_ctor_set(x_197, 1, x_196); +lean_ctor_set(x_197, 2, x_195); +lean_inc(x_10); +x_198 = l_Lean_Elab_Term_addNamedArg(x_193, x_197, x_10, x_11, x_12, x_13, x_14, x_15, x_194); +if (lean_obj_tag(x_198) == 0) { lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_147, 0); -x_200 = lean_ctor_get(x_147, 1); -lean_inc(x_200); +x_199 = lean_ctor_get(x_198, 0); lean_inc(x_199); -lean_dec(x_147); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +lean_dec(x_198); +x_201 = l_Lean_Elab_Term_elabAppArgs(x_160, x_199, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_200); return x_201; } -} -} -} -} else { uint8_t x_202; +lean_dec(x_160); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +x_202 = !lean_is_exclusive(x_198); +if (x_202 == 0) +{ +return x_198; +} +else +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_ctor_get(x_198, 0); +x_204 = lean_ctor_get(x_198, 1); +lean_inc(x_204); +lean_inc(x_203); +lean_dec(x_198); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +return x_205; +} +} +} +else +{ +uint8_t x_206; +lean_dec(x_160); +lean_dec(x_157); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +x_206 = !lean_is_exclusive(x_192); +if (x_206 == 0) +{ +return x_192; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_192, 0); +x_208 = lean_ctor_get(x_192, 1); +lean_inc(x_208); +lean_inc(x_207); +lean_dec(x_192); +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_160); +lean_dec(x_157); +lean_dec(x_155); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_210 = !lean_is_exclusive(x_165); +if (x_210 == 0) +{ +return x_165; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_165, 0); +x_212 = lean_ctor_get(x_165, 1); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_165); +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; +} +} +} +else +{ +uint8_t x_214; +lean_dec(x_157); +lean_dec(x_155); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20100,23 +20279,59 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_202 = !lean_is_exclusive(x_17); -if (x_202 == 0) +x_214 = !lean_is_exclusive(x_159); +if (x_214 == 0) +{ +return x_159; +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_215 = lean_ctor_get(x_159, 0); +x_216 = lean_ctor_get(x_159, 1); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_159); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_215); +lean_ctor_set(x_217, 1, x_216); +return x_217; +} +} +} +} +} +else +{ +uint8_t x_218; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_218 = !lean_is_exclusive(x_17); +if (x_218 == 0) { return x_17; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_17, 0); -x_204 = lean_ctor_get(x_17, 1); -lean_inc(x_204); -lean_inc(x_203); +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_17, 0); +x_220 = lean_ctor_get(x_17, 1); +lean_inc(x_220); +lean_inc(x_219); lean_dec(x_17); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -return x_205; +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +return x_221; } } } @@ -20769,14 +20984,146 @@ x_5 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(x_1, x_2, return x_5; } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___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, uint8_t x_9, uint8_t x_10, uint8_t 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) { _start: { -lean_object* x_10; -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_20 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) +{ +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_List_append___rarg(x_5, x_6); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_3); +x_23 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_2, x_22, x_7, x_8, x_3, x_9, x_10, x_12, x_13, x_14, x_15, x_16, x_17, x_21); +if (lean_obj_tag(x_23) == 0) +{ +if (x_11 == 0) +{ +uint8_t x_24; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_4); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +return x_23; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +x_30 = l_Lean_Elab_Term_ensureHasType(x_3, x_28, x_4, x_12, x_13, x_14, x_15, x_16, x_17, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_4); +lean_dec(x_3); +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) +{ +return x_23; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_35 = !lean_is_exclusive(x_20); +if (x_35 == 0) +{ +return x_20; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_20, 0); +x_37 = lean_ctor_get(x_20, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_20); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} } } lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, uint8_t 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) { @@ -20803,7 +21150,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_57; lean_object* x_58; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 1); @@ -20823,262 +21170,79 @@ x_25 = 1; lean_inc(x_1); x_26 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(x_1, x_24, x_25); x_27 = lean_box(0); -x_28 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -x_73 = lean_box(0); -lean_inc(x_5); -lean_inc(x_22); -x_74 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_27, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_30); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -lean_inc(x_2); -x_76 = l_List_append___rarg(x_26, x_2); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_5); +x_28 = lean_box(x_6); +x_29 = lean_box(x_7); +x_30 = lean_box(x_8); lean_inc(x_4); lean_inc(x_3); -x_77 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_76, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_75); -if (lean_obj_tag(x_77) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_78; lean_object* x_79; -lean_dec(x_31); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_57 = x_78; -x_58 = x_79; -goto block_72; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_77, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); +lean_inc(x_2); +lean_inc(x_5); +x_31 = lean_alloc_closure((void*)(l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1___boxed), 18, 11); +lean_closure_set(x_31, 0, x_23); +lean_closure_set(x_31, 1, x_22); +lean_closure_set(x_31, 2, x_5); +lean_closure_set(x_31, 3, x_27); +lean_closure_set(x_31, 4, x_26); +lean_closure_set(x_31, 5, x_2); +lean_closure_set(x_31, 6, x_3); +lean_closure_set(x_31, 7, x_4); +lean_closure_set(x_31, 8, x_28); +lean_closure_set(x_31, 9, x_29); +lean_closure_set(x_31, 10, x_30); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_5); -x_82 = l_Lean_Elab_Term_ensureHasType(x_5, x_80, x_27, x_11, x_12, x_13, x_14, x_15, x_16, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -lean_dec(x_31); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_57 = x_83; -x_58 = x_84; -goto block_72; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_82, 1); -lean_inc(x_86); -lean_dec(x_82); -x_32 = x_85; -x_33 = x_86; -goto block_56; -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_77, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_77, 1); -lean_inc(x_88); -lean_dec(x_77); -x_32 = x_87; -x_33 = x_88; -goto block_56; -} -block_56: -{ +x_32 = l_Lean_Elab_Term_observing___rarg(x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_36); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 1); -x_40 = lean_ctor_get(x_37, 0); -lean_dec(x_40); -lean_ctor_set_tag(x_37, 1); -lean_ctor_set(x_37, 1, x_35); -lean_ctor_set(x_37, 0, x_32); -x_41 = lean_array_push(x_9, x_37); -x_9 = x_41; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_array_push(x_9, x_33); +x_9 = x_35; x_10 = x_21; -x_17 = x_39; +x_17 = x_34; goto _start; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_35); -x_45 = lean_array_push(x_9, x_44); -x_9 = x_45; -x_10 = x_21; -x_17 = x_43; -goto _start; -} -} -else -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; +uint8_t x_37; lean_dec(x_21); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_47 = lean_ctor_get(x_32, 0); -lean_inc(x_47); -x_48 = l_Lean_Elab_postponeExceptionId; -x_49 = lean_nat_dec_eq(x_47, x_48); -lean_dec(x_47); -if (x_49 == 0) +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) { -lean_object* x_50; -lean_dec(x_29); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -if (lean_is_scalar(x_31)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_31; - lean_ctor_set_tag(x_50, 1); -} -lean_ctor_set(x_50, 0, x_32); -lean_ctor_set(x_50, 1, x_33); -return x_50; +return x_32; } else { -lean_object* x_51; uint8_t x_52; -lean_dec(x_31); -x_51 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_33); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -lean_ctor_set_tag(x_51, 1); -lean_ctor_set(x_51, 0, x_32); -return x_51; -} -else -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_32); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -} -block_72: -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_59 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, 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 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_61); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 1); -x_65 = lean_ctor_get(x_62, 0); -lean_dec(x_65); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 0, x_57); -x_66 = lean_array_push(x_9, x_62); -x_9 = x_66; -x_10 = x_21; -x_17 = x_64; -goto _start; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_62, 1); -lean_inc(x_68); -lean_dec(x_62); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_57); -lean_ctor_set(x_69, 1, x_60); -x_70 = lean_array_push(x_9, x_69); -x_9 = x_70; -x_10 = x_21; -x_17 = x_68; -goto _start; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_32); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -21108,7 +21272,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_57; lean_object* x_58; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 1); @@ -21128,262 +21292,79 @@ x_25 = 1; lean_inc(x_1); x_26 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(x_1, x_24, x_25); x_27 = lean_box(0); -x_28 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -x_73 = lean_box(0); -lean_inc(x_5); -lean_inc(x_22); -x_74 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_27, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_30); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -lean_inc(x_2); -x_76 = l_List_append___rarg(x_26, x_2); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_5); +x_28 = lean_box(x_6); +x_29 = lean_box(x_7); +x_30 = lean_box(x_8); lean_inc(x_4); lean_inc(x_3); -x_77 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_76, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_75); -if (lean_obj_tag(x_77) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_78; lean_object* x_79; -lean_dec(x_31); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_57 = x_78; -x_58 = x_79; -goto block_72; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_77, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); +lean_inc(x_2); +lean_inc(x_5); +x_31 = lean_alloc_closure((void*)(l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1___boxed), 18, 11); +lean_closure_set(x_31, 0, x_23); +lean_closure_set(x_31, 1, x_22); +lean_closure_set(x_31, 2, x_5); +lean_closure_set(x_31, 3, x_27); +lean_closure_set(x_31, 4, x_26); +lean_closure_set(x_31, 5, x_2); +lean_closure_set(x_31, 6, x_3); +lean_closure_set(x_31, 7, x_4); +lean_closure_set(x_31, 8, x_28); +lean_closure_set(x_31, 9, x_29); +lean_closure_set(x_31, 10, x_30); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_5); -x_82 = l_Lean_Elab_Term_ensureHasType(x_5, x_80, x_27, x_11, x_12, x_13, x_14, x_15, x_16, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -lean_dec(x_31); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_57 = x_83; -x_58 = x_84; -goto block_72; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_82, 1); -lean_inc(x_86); -lean_dec(x_82); -x_32 = x_85; -x_33 = x_86; -goto block_56; -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_77, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_77, 1); -lean_inc(x_88); -lean_dec(x_77); -x_32 = x_87; -x_33 = x_88; -goto block_56; -} -block_56: -{ +x_32 = l_Lean_Elab_Term_observing___rarg(x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_36); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 1); -x_40 = lean_ctor_get(x_37, 0); -lean_dec(x_40); -lean_ctor_set_tag(x_37, 1); -lean_ctor_set(x_37, 1, x_35); -lean_ctor_set(x_37, 0, x_32); -x_41 = lean_array_push(x_9, x_37); -x_9 = x_41; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_array_push(x_9, x_33); +x_9 = x_35; x_10 = x_21; -x_17 = x_39; +x_17 = x_34; goto _start; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_35); -x_45 = lean_array_push(x_9, x_44); -x_9 = x_45; -x_10 = x_21; -x_17 = x_43; -goto _start; -} -} -else -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; +uint8_t x_37; lean_dec(x_21); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_47 = lean_ctor_get(x_32, 0); -lean_inc(x_47); -x_48 = l_Lean_Elab_postponeExceptionId; -x_49 = lean_nat_dec_eq(x_47, x_48); -lean_dec(x_47); -if (x_49 == 0) +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) { -lean_object* x_50; -lean_dec(x_29); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -if (lean_is_scalar(x_31)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_31; - lean_ctor_set_tag(x_50, 1); -} -lean_ctor_set(x_50, 0, x_32); -lean_ctor_set(x_50, 1, x_33); -return x_50; +return x_32; } else { -lean_object* x_51; uint8_t x_52; -lean_dec(x_31); -x_51 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_33); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -lean_ctor_set_tag(x_51, 1); -lean_ctor_set(x_51, 0, x_32); -return x_51; -} -else -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_32); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -} -block_72: -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_59 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, 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 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_61); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 1); -x_65 = lean_ctor_get(x_62, 0); -lean_dec(x_65); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 0, x_57); -x_66 = lean_array_push(x_9, x_62); -x_9 = x_66; -x_10 = x_21; -x_17 = x_64; -goto _start; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_62, 1); -lean_inc(x_68); -lean_dec(x_62); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_57); -lean_ctor_set(x_69, 1, x_60); -x_70 = lean_array_push(x_9, x_69); -x_9 = x_70; -x_10 = x_21; -x_17 = x_68; -goto _start; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_32); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -21610,19 +21591,36 @@ return x_80; } } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___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* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -lean_object* x_10; -x_10 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; +uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_19 = lean_unbox(x_9); +lean_dec(x_9); +x_20 = lean_unbox(x_10); +lean_dec(x_10); +x_21 = lean_unbox(x_11); +lean_dec(x_11); +x_22 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_22; } } lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___boxed(lean_object** _args) { @@ -22010,7 +22008,146 @@ return x_31; } } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, uint8_t 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) { +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = 1; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_2); +x_19 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_3, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_7); +x_22 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_11, x_12, x_13, x_14, x_15, x_16, x_21); +if (lean_obj_tag(x_22) == 0) +{ +if (x_10 == 0) +{ +uint8_t x_23; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = l_Lean_Elab_Term_ensureHasType(x_7, x_27, x_2, x_11, x_12, x_13, x_14, x_15, x_16, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) +{ +return x_22; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +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; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_19); +if (x_34 == 0) +{ +return x_19; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_19, 0); +x_36 = lean_ctor_get(x_19, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_19); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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) { _start: { lean_object* x_10; lean_object* x_11; @@ -22299,845 +22436,378 @@ uint8_t x_36; uint8_t x_37; x_36 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_222; -x_222 = 1; -x_37 = x_222; -goto block_221; +uint8_t x_120; +x_120 = 1; +x_37 = x_120; +goto block_119; } else { -uint8_t x_223; -x_223 = 0; -x_37 = x_223; -goto block_221; +uint8_t x_121; +x_121 = 0; +x_37 = x_121; +goto block_119; } -block_221: +block_119: { -lean_object* x_38; if (x_36 == 0) { -lean_object* x_123; -x_123 = lean_box(0); -x_38 = x_123; -goto block_122; -} -else -{ -uint8_t x_124; -x_124 = l_Array_isEmpty___rarg(x_3); -if (x_124 == 0) -{ -lean_object* x_125; -x_125 = lean_box(0); -x_38 = x_125; -goto block_122; -} -else -{ -uint8_t x_126; -x_126 = l_Array_isEmpty___rarg(x_4); -if (x_126 == 0) -{ -lean_object* x_127; -x_127 = lean_box(0); -x_38 = x_127; -goto block_122; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_157; lean_object* x_158; -x_128 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -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); -} -x_157 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_158 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_157, x_157, x_10, x_11, x_12, x_13, x_14, x_15, x_130); -if (lean_obj_tag(x_158) == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -lean_dec(x_131); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_160); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = l_Lean_Elab_Term_SavedState_restore(x_129, x_157, x_10, x_11, x_12, x_13, x_14, x_15, x_163); -x_165 = !lean_is_exclusive(x_164); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_164, 1); -x_167 = lean_ctor_get(x_164, 0); -lean_dec(x_167); -lean_ctor_set(x_164, 1, x_162); -lean_ctor_set(x_164, 0, x_159); -x_168 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_164, x_10, x_11, x_12, x_13, x_14, x_15, x_166); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_168; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_164, 1); -lean_inc(x_169); -lean_dec(x_164); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_159); -lean_ctor_set(x_170, 1, x_162); -x_171 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_170, x_10, x_11, x_12, x_13, x_14, x_15, x_169); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_171; -} -} -else -{ -lean_object* x_172; lean_object* x_173; -x_172 = lean_ctor_get(x_158, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_158, 1); -lean_inc(x_173); -lean_dec(x_158); -x_132 = x_172; -x_133 = x_173; -goto block_156; -} -block_156: -{ -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; uint8_t x_139; -lean_dec(x_131); -x_134 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, 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 = 1; -x_138 = l_Lean_Elab_Term_SavedState_restore(x_129, x_137, x_10, x_11, x_12, x_13, x_14, x_15, x_136); -x_139 = !lean_is_exclusive(x_138); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_138, 1); -x_141 = lean_ctor_get(x_138, 0); -lean_dec(x_141); -lean_ctor_set_tag(x_138, 1); -lean_ctor_set(x_138, 1, x_135); -lean_ctor_set(x_138, 0, x_132); -x_142 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_138, x_10, x_11, x_12, x_13, x_14, x_15, x_140); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_142; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_138, 1); -lean_inc(x_143); -lean_dec(x_138); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_132); -lean_ctor_set(x_144, 1, x_135); -x_145 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_144, x_10, x_11, x_12, x_13, x_14, x_15, x_143); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_145; -} -} -else -{ -lean_object* x_146; lean_object* x_147; uint8_t x_148; -lean_dec(x_9); -x_146 = lean_ctor_get(x_132, 0); -lean_inc(x_146); -x_147 = l_Lean_Elab_postponeExceptionId; -x_148 = lean_nat_dec_eq(x_146, x_147); -lean_dec(x_146); -if (x_148 == 0) -{ -lean_object* x_149; -lean_dec(x_129); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_131)) { - x_149 = lean_alloc_ctor(1, 2, 0); -} else { - x_149 = x_131; - lean_ctor_set_tag(x_149, 1); -} -lean_ctor_set(x_149, 0, x_132); -lean_ctor_set(x_149, 1, x_133); -return x_149; -} -else -{ -uint8_t x_150; lean_object* x_151; uint8_t x_152; -lean_dec(x_131); -x_150 = 1; -x_151 = l_Lean_Elab_Term_SavedState_restore(x_129, x_150, x_10, x_11, x_12, x_13, x_14, x_15, x_133); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_152 = !lean_is_exclusive(x_151); -if (x_152 == 0) -{ -lean_object* x_153; -x_153 = lean_ctor_get(x_151, 0); -lean_dec(x_153); -lean_ctor_set_tag(x_151, 1); -lean_ctor_set(x_151, 0, x_132); -return x_151; -} -else -{ -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_151, 1); -lean_inc(x_154); -lean_dec(x_151); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_132); -lean_ctor_set(x_155, 1, x_154); -return x_155; -} -} -} -} -} -else -{ -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_204; lean_object* x_205; -x_174 = lean_box(0); -x_175 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_178 = x_175; -} else { - lean_dec_ref(x_175); - x_178 = lean_box(0); -} -x_204 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_205 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_37, x_204, x_174, x_10, x_11, x_12, x_13, x_14, x_15, x_177); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -lean_dec(x_178); -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_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_207); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = l_Lean_Elab_Term_SavedState_restore(x_176, x_204, x_10, x_11, x_12, x_13, x_14, x_15, x_210); -x_212 = !lean_is_exclusive(x_211); -if (x_212 == 0) -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_213 = lean_ctor_get(x_211, 1); -x_214 = lean_ctor_get(x_211, 0); -lean_dec(x_214); -lean_ctor_set(x_211, 1, x_209); -lean_ctor_set(x_211, 0, x_206); -x_215 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_211, x_10, x_11, x_12, x_13, x_14, x_15, x_213); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_215; -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_211, 1); -lean_inc(x_216); -lean_dec(x_211); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_206); -lean_ctor_set(x_217, 1, x_209); -x_218 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_217, x_10, x_11, x_12, x_13, x_14, x_15, x_216); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_218; -} -} -else -{ -lean_object* x_219; lean_object* x_220; -x_219 = lean_ctor_get(x_205, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_205, 1); -lean_inc(x_220); -lean_dec(x_205); -x_179 = x_219; -x_180 = x_220; -goto block_203; -} -block_203: -{ -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_object* x_185; uint8_t x_186; -lean_dec(x_178); -x_181 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_180); -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 = 1; -x_185 = l_Lean_Elab_Term_SavedState_restore(x_176, x_184, x_10, x_11, x_12, x_13, x_14, x_15, x_183); -x_186 = !lean_is_exclusive(x_185); -if (x_186 == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_185, 1); -x_188 = lean_ctor_get(x_185, 0); -lean_dec(x_188); -lean_ctor_set_tag(x_185, 1); -lean_ctor_set(x_185, 1, x_182); -lean_ctor_set(x_185, 0, x_179); -x_189 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_185, x_10, x_11, x_12, x_13, x_14, x_15, x_187); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_189; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_ctor_get(x_185, 1); -lean_inc(x_190); -lean_dec(x_185); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_179); -lean_ctor_set(x_191, 1, x_182); -x_192 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_191, x_10, x_11, x_12, x_13, x_14, x_15, x_190); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_192; -} -} -else -{ -lean_object* x_193; lean_object* x_194; uint8_t x_195; -lean_dec(x_9); -x_193 = lean_ctor_get(x_179, 0); -lean_inc(x_193); -x_194 = l_Lean_Elab_postponeExceptionId; -x_195 = lean_nat_dec_eq(x_193, x_194); -lean_dec(x_193); -if (x_195 == 0) -{ -lean_object* x_196; -lean_dec(x_176); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_178)) { - x_196 = lean_alloc_ctor(1, 2, 0); -} else { - x_196 = x_178; - lean_ctor_set_tag(x_196, 1); -} -lean_ctor_set(x_196, 0, x_179); -lean_ctor_set(x_196, 1, x_180); -return x_196; -} -else -{ -uint8_t x_197; lean_object* x_198; uint8_t x_199; -lean_dec(x_178); -x_197 = 1; -x_198 = l_Lean_Elab_Term_SavedState_restore(x_176, x_197, x_10, x_11, x_12, x_13, x_14, x_15, x_180); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_199 = !lean_is_exclusive(x_198); -if (x_199 == 0) -{ -lean_object* x_200; -x_200 = lean_ctor_get(x_198, 0); -lean_dec(x_200); -lean_ctor_set_tag(x_198, 1); -lean_ctor_set(x_198, 0, x_179); -return x_198; -} -else -{ -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_198, 1); -lean_inc(x_201); -lean_dec(x_198); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_179); -lean_ctor_set(x_202, 1, x_201); -return x_202; -} -} -} -} -} -} -} -} -block_122: -{ -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_79; lean_object* x_80; uint8_t x_104; lean_object* x_105; -lean_dec(x_38); -x_39 = lean_box(0); -x_40 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; -} else { - lean_dec_ref(x_40); - x_43 = lean_box(0); -} -x_104 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_105 = l_Lean_Elab_Term_elabTerm(x_1, x_39, x_37, x_104, x_10, x_11, x_12, x_13, x_14, x_15, x_42); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_108 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -if (lean_obj_tag(x_108) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_43); -lean_dec(x_5); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_79 = x_109; -x_80 = x_110; -goto block_103; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_108, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_108, 1); -lean_inc(x_112); -lean_dec(x_108); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_113 = l_Lean_Elab_Term_ensureHasType(x_5, x_111, x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_112); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_43); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_79 = x_114; -x_80 = x_115; -goto block_103; -} -else -{ -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_113, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_113, 1); -lean_inc(x_117); -lean_dec(x_113); -x_44 = x_116; -x_45 = x_117; -goto block_78; -} -} -} -else -{ -lean_object* x_118; lean_object* x_119; -lean_dec(x_5); -x_118 = lean_ctor_get(x_108, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_108, 1); -lean_inc(x_119); -lean_dec(x_108); -x_44 = x_118; -x_45 = x_119; -goto block_78; -} -} -else -{ -lean_object* x_120; lean_object* x_121; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_120 = lean_ctor_get(x_105, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_105, 1); -lean_inc(x_121); -lean_dec(x_105); -x_44 = x_120; -x_45 = x_121; -goto block_78; -} -block_78: -{ +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_38 = lean_box(0); +x_39 = lean_box(x_37); +x_40 = lean_box(x_6); +x_41 = lean_box(x_7); +x_42 = lean_box(x_8); +x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_43, 0, x_1); +lean_closure_set(x_43, 1, x_38); +lean_closure_set(x_43, 2, x_39); +lean_closure_set(x_43, 3, x_2); +lean_closure_set(x_43, 4, x_3); +lean_closure_set(x_43, 5, x_4); +lean_closure_set(x_43, 6, x_5); +lean_closure_set(x_43, 7, x_40); +lean_closure_set(x_43, 8, x_41); +lean_closure_set(x_43, 9, x_42); +x_44 = l_Lean_Elab_Term_observing___rarg(x_43, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_44) == 0) { -lean_object* x_46; uint8_t x_47; -lean_dec(x_43); -x_46 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_45); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; uint8_t x_52; -x_48 = lean_ctor_get(x_46, 0); -x_49 = lean_ctor_get(x_46, 1); -x_50 = 1; -x_51 = l_Lean_Elab_Term_SavedState_restore(x_41, x_50, x_10, x_11, x_12, x_13, x_14, x_15, x_49); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_52 = !lean_is_exclusive(x_51); +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_array_push(x_9, x_46); +lean_ctor_set(x_44, 0, x_47); +return x_44; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_44, 0); +x_49 = lean_ctor_get(x_44, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_44); +x_50 = lean_array_push(x_9, x_48); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +else +{ +uint8_t x_52; +lean_dec(x_9); +x_52 = !lean_is_exclusive(x_44); if (x_52 == 0) { +return x_44; +} +else +{ lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_51, 1); -x_54 = lean_ctor_get(x_51, 0); -lean_dec(x_54); -lean_ctor_set_tag(x_51, 1); -lean_ctor_set(x_51, 1, x_48); -lean_ctor_set(x_51, 0, x_44); -x_55 = lean_array_push(x_9, x_51); -lean_ctor_set(x_46, 1, x_53); -lean_ctor_set(x_46, 0, x_55); -return x_46; +x_53 = lean_ctor_get(x_44, 0); +x_54 = lean_ctor_get(x_44, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_44); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_51, 1); -lean_inc(x_56); -lean_dec(x_51); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_44); -lean_ctor_set(x_57, 1, x_48); -x_58 = lean_array_push(x_9, x_57); -lean_ctor_set(x_46, 1, x_56); -lean_ctor_set(x_46, 0, x_58); -return x_46; } } else { -lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_59 = lean_ctor_get(x_46, 0); -x_60 = lean_ctor_get(x_46, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_46); -x_61 = 1; -x_62 = l_Lean_Elab_Term_SavedState_restore(x_41, x_61, x_10, x_11, x_12, x_13, x_14, x_15, x_60); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_64 = x_62; -} else { - lean_dec_ref(x_62); - x_64 = lean_box(0); -} -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); -} else { - x_65 = x_64; - lean_ctor_set_tag(x_65, 1); -} -lean_ctor_set(x_65, 0, x_44); -lean_ctor_set(x_65, 1, x_59); +uint8_t x_56; +x_56 = l_Array_isEmpty___rarg(x_3); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_57 = lean_box(0); +x_58 = lean_box(x_37); +x_59 = lean_box(x_6); +x_60 = lean_box(x_7); +x_61 = lean_box(x_8); +x_62 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_62, 0, x_1); +lean_closure_set(x_62, 1, x_57); +lean_closure_set(x_62, 2, x_58); +lean_closure_set(x_62, 3, x_2); +lean_closure_set(x_62, 4, x_3); +lean_closure_set(x_62, 5, x_4); +lean_closure_set(x_62, 6, x_5); +lean_closure_set(x_62, 7, x_59); +lean_closure_set(x_62, 8, x_60); +lean_closure_set(x_62, 9, x_61); +x_63 = l_Lean_Elab_Term_observing___rarg(x_62, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_63) == 0) +{ +uint8_t x_64; +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_63, 0); x_66 = lean_array_push(x_9, x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_63); -return x_67; -} +lean_ctor_set(x_63, 0, x_66); +return x_63; } else { -lean_object* x_68; lean_object* x_69; uint8_t x_70; -lean_dec(x_9); -x_68 = lean_ctor_get(x_44, 0); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_63, 0); +x_68 = lean_ctor_get(x_63, 1); lean_inc(x_68); -x_69 = l_Lean_Elab_postponeExceptionId; -x_70 = lean_nat_dec_eq(x_68, x_69); -lean_dec(x_68); -if (x_70 == 0) -{ -lean_object* x_71; -lean_dec(x_41); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_43)) { - x_71 = lean_alloc_ctor(1, 2, 0); -} else { - x_71 = x_43; - lean_ctor_set_tag(x_71, 1); +lean_inc(x_67); +lean_dec(x_63); +x_69 = lean_array_push(x_9, x_67); +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; } -lean_ctor_set(x_71, 0, x_44); -lean_ctor_set(x_71, 1, x_45); -return x_71; } else { -uint8_t x_72; lean_object* x_73; uint8_t x_74; -lean_dec(x_43); -x_72 = 1; -x_73 = l_Lean_Elab_Term_SavedState_restore(x_41, x_72, x_10, x_11, x_12, x_13, x_14, x_15, x_45); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) +uint8_t x_71; +lean_dec(x_9); +x_71 = !lean_is_exclusive(x_63); +if (x_71 == 0) { -lean_object* x_75; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -lean_ctor_set_tag(x_73, 1); -lean_ctor_set(x_73, 0, x_44); -return x_73; +return x_63; } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_dec(x_73); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_44); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_63, 0); +x_73 = lean_ctor_get(x_63, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_63); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } -} -block_103: +else { -lean_object* x_81; uint8_t x_82; -x_81 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_80); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +uint8_t x_75; +x_75 = l_Array_isEmpty___rarg(x_4); +if (x_75 == 0) { -lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; uint8_t x_87; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -x_85 = 1; -x_86 = l_Lean_Elab_Term_SavedState_restore(x_41, x_85, x_10, x_11, x_12, x_13, x_14, x_15, x_84); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) +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; +x_76 = lean_box(0); +x_77 = lean_box(x_37); +x_78 = lean_box(x_6); +x_79 = lean_box(x_7); +x_80 = lean_box(x_8); +x_81 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_81, 0, x_1); +lean_closure_set(x_81, 1, x_76); +lean_closure_set(x_81, 2, x_77); +lean_closure_set(x_81, 3, x_2); +lean_closure_set(x_81, 4, x_3); +lean_closure_set(x_81, 5, x_4); +lean_closure_set(x_81, 6, x_5); +lean_closure_set(x_81, 7, x_78); +lean_closure_set(x_81, 8, x_79); +lean_closure_set(x_81, 9, x_80); +x_82 = l_Lean_Elab_Term_observing___rarg(x_81, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 1); -x_89 = lean_ctor_get(x_86, 0); -lean_dec(x_89); -lean_ctor_set(x_86, 1, x_83); -lean_ctor_set(x_86, 0, x_79); -x_90 = lean_array_push(x_9, x_86); -lean_ctor_set(x_81, 1, x_88); -lean_ctor_set(x_81, 0, x_90); -return x_81; +uint8_t x_83; +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_82, 0); +x_85 = lean_array_push(x_9, x_84); +lean_ctor_set(x_82, 0, x_85); +return x_82; +} +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_array_push(x_9, x_86); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +else +{ +uint8_t x_90; +lean_dec(x_9); +x_90 = !lean_is_exclusive(x_82); +if (x_90 == 0) +{ +return x_82; } else { lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_86, 1); +x_91 = lean_ctor_get(x_82, 0); +x_92 = lean_ctor_get(x_82, 1); +lean_inc(x_92); lean_inc(x_91); -lean_dec(x_86); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_79); -lean_ctor_set(x_92, 1, x_83); -x_93 = lean_array_push(x_9, x_92); -lean_ctor_set(x_81, 1, x_91); -lean_ctor_set(x_81, 0, x_93); -return x_81; +lean_dec(x_82); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} } } else { -lean_object* x_94; lean_object* x_95; uint8_t 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_94 = lean_ctor_get(x_81, 0); -x_95 = lean_ctor_get(x_81, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_81); -x_96 = 1; -x_97 = l_Lean_Elab_Term_SavedState_restore(x_41, x_96, x_10, x_11, x_12, x_13, x_14, x_15, x_95); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = 1; +x_95 = lean_box(x_94); +x_96 = lean_box(x_94); +x_97 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_97, 0, x_1); +lean_closure_set(x_97, 1, x_5); +lean_closure_set(x_97, 2, x_95); +lean_closure_set(x_97, 3, x_96); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_98 = l_Lean_Elab_Term_observing___rarg(x_97, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_98) == 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); +x_101 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_99, x_10, x_11, x_12, x_13, x_14, x_15, x_100); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - x_99 = x_97; -} else { - lean_dec_ref(x_97); - x_99 = lean_box(0); +return x_101; +} +else +{ +uint8_t x_102; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_102 = !lean_is_exclusive(x_98); +if (x_102 == 0) +{ +return x_98; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_98, 0); +x_104 = lean_ctor_get(x_98, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_98); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +} +else +{ +lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_106 = lean_box(0); +x_107 = 1; +x_108 = lean_box(x_37); +x_109 = lean_box(x_107); +x_110 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_110, 0, x_1); +lean_closure_set(x_110, 1, x_5); +lean_closure_set(x_110, 2, x_108); +lean_closure_set(x_110, 3, x_109); +lean_closure_set(x_110, 4, x_106); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_111 = l_Lean_Elab_Term_observing___rarg(x_110, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_112, x_10, x_11, x_12, x_13, x_14, x_15, x_113); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_114; +} +else +{ +uint8_t x_115; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_115 = !lean_is_exclusive(x_111); +if (x_115 == 0) +{ +return x_111; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_111, 0); +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_111); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} } -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_99; } -lean_ctor_set(x_100, 0, x_79); -lean_ctor_set(x_100, 1, x_94); -x_101 = lean_array_push(x_9, x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_98); -return x_102; } } } @@ -23145,39 +22815,39 @@ return x_102; } else { -lean_object* x_224; lean_object* x_225; +lean_object* x_122; lean_object* x_123; lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_224 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; -x_225 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_224, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_122 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; +x_123 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_122, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -return x_225; +return x_123; } } else { -lean_object* x_226; lean_object* x_227; uint8_t x_228; -x_226 = lean_unsigned_to_nat(1u); -x_227 = l_Lean_Syntax_getArg(x_1, x_226); -lean_inc(x_227); -x_228 = l_Lean_Syntax_isOfKind(x_227, x_28); -if (x_228 == 0) +lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_124 = lean_unsigned_to_nat(1u); +x_125 = l_Lean_Syntax_getArg(x_1, x_124); +lean_inc(x_125); +x_126 = l_Lean_Syntax_isOfKind(x_125, x_28); +if (x_126 == 0) { -uint8_t x_229; -lean_inc(x_227); -x_229 = l_Lean_Syntax_isOfKind(x_227, x_30); -if (x_229 == 0) +uint8_t x_127; +lean_inc(x_125); +x_127 = l_Lean_Syntax_isOfKind(x_125, x_30); +if (x_127 == 0) { -lean_object* x_230; -lean_dec(x_227); +lean_object* x_128; +lean_dec(x_125); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -23190,19 +22860,19 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_230 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); -return x_230; +x_128 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); +return x_128; } else { -lean_object* x_231; lean_object* x_232; uint8_t x_233; -x_231 = lean_unsigned_to_nat(0u); -x_232 = l_Lean_Syntax_getArg(x_227, x_231); -lean_dec(x_227); -x_233 = l_Lean_Syntax_isOfKind(x_232, x_28); -if (x_233 == 0) +lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_129 = lean_unsigned_to_nat(0u); +x_130 = l_Lean_Syntax_getArg(x_125, x_129); +lean_dec(x_125); +x_131 = l_Lean_Syntax_isOfKind(x_130, x_28); +if (x_131 == 0) { -lean_object* x_234; +lean_object* x_132; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -23215,89 +22885,738 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_234 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); +x_132 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg(x_16); +return x_132; +} +else +{ +lean_object* x_133; uint8_t x_134; +x_133 = l_Lean_Syntax_getArg(x_1, x_124); +lean_dec(x_1); +x_134 = 1; +x_1 = x_133; +x_6 = x_134; +goto _start; +} +} +} +else +{ +uint8_t x_136; +lean_dec(x_1); +x_136 = 1; +x_1 = x_125; +x_6 = x_136; +goto _start; +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_138 = lean_unsigned_to_nat(0u); +x_139 = l_Lean_Syntax_getArg(x_1, x_138); +lean_inc(x_139); +x_140 = l_Lean_Syntax_isOfKind(x_139, x_28); +if (x_140 == 0) +{ +uint8_t x_141; uint8_t x_142; +lean_dec(x_139); +x_141 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_225; +x_225 = 1; +x_142 = x_225; +goto block_224; +} +else +{ +uint8_t x_226; +x_226 = 0; +x_142 = x_226; +goto block_224; +} +block_224: +{ +if (x_141 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_143 = lean_box(0); +x_144 = lean_box(x_142); +x_145 = lean_box(x_6); +x_146 = lean_box(x_7); +x_147 = lean_box(x_8); +x_148 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_148, 0, x_1); +lean_closure_set(x_148, 1, x_143); +lean_closure_set(x_148, 2, x_144); +lean_closure_set(x_148, 3, x_2); +lean_closure_set(x_148, 4, x_3); +lean_closure_set(x_148, 5, x_4); +lean_closure_set(x_148, 6, x_5); +lean_closure_set(x_148, 7, x_145); +lean_closure_set(x_148, 8, x_146); +lean_closure_set(x_148, 9, x_147); +x_149 = l_Lean_Elab_Term_observing___rarg(x_148, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_149) == 0) +{ +uint8_t x_150; +x_150 = !lean_is_exclusive(x_149); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_149, 0); +x_152 = lean_array_push(x_9, x_151); +lean_ctor_set(x_149, 0, x_152); +return x_149; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = lean_ctor_get(x_149, 0); +x_154 = lean_ctor_get(x_149, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_149); +x_155 = lean_array_push(x_9, x_153); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +return x_156; +} +} +else +{ +uint8_t x_157; +lean_dec(x_9); +x_157 = !lean_is_exclusive(x_149); +if (x_157 == 0) +{ +return x_149; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_149, 0); +x_159 = lean_ctor_get(x_149, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_149); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +} +else +{ +uint8_t x_161; +x_161 = l_Array_isEmpty___rarg(x_3); +if (x_161 == 0) +{ +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; +x_162 = lean_box(0); +x_163 = lean_box(x_142); +x_164 = lean_box(x_6); +x_165 = lean_box(x_7); +x_166 = lean_box(x_8); +x_167 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_167, 0, x_1); +lean_closure_set(x_167, 1, x_162); +lean_closure_set(x_167, 2, x_163); +lean_closure_set(x_167, 3, x_2); +lean_closure_set(x_167, 4, x_3); +lean_closure_set(x_167, 5, x_4); +lean_closure_set(x_167, 6, x_5); +lean_closure_set(x_167, 7, x_164); +lean_closure_set(x_167, 8, x_165); +lean_closure_set(x_167, 9, x_166); +x_168 = l_Lean_Elab_Term_observing___rarg(x_167, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_168) == 0) +{ +uint8_t x_169; +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; +x_170 = lean_ctor_get(x_168, 0); +x_171 = lean_array_push(x_9, x_170); +lean_ctor_set(x_168, 0, x_171); +return x_168; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_ctor_get(x_168, 0); +x_173 = lean_ctor_get(x_168, 1); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_168); +x_174 = lean_array_push(x_9, x_172); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +return x_175; +} +} +else +{ +uint8_t x_176; +lean_dec(x_9); +x_176 = !lean_is_exclusive(x_168); +if (x_176 == 0) +{ +return x_168; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_168, 0); +x_178 = lean_ctor_get(x_168, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_168); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; +} +} +} +else +{ +uint8_t x_180; +x_180 = l_Array_isEmpty___rarg(x_4); +if (x_180 == 0) +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_181 = lean_box(0); +x_182 = lean_box(x_142); +x_183 = lean_box(x_6); +x_184 = lean_box(x_7); +x_185 = lean_box(x_8); +x_186 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_186, 0, x_1); +lean_closure_set(x_186, 1, x_181); +lean_closure_set(x_186, 2, x_182); +lean_closure_set(x_186, 3, x_2); +lean_closure_set(x_186, 4, x_3); +lean_closure_set(x_186, 5, x_4); +lean_closure_set(x_186, 6, x_5); +lean_closure_set(x_186, 7, x_183); +lean_closure_set(x_186, 8, x_184); +lean_closure_set(x_186, 9, x_185); +x_187 = l_Lean_Elab_Term_observing___rarg(x_186, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_187) == 0) +{ +uint8_t x_188; +x_188 = !lean_is_exclusive(x_187); +if (x_188 == 0) +{ +lean_object* x_189; lean_object* x_190; +x_189 = lean_ctor_get(x_187, 0); +x_190 = lean_array_push(x_9, x_189); +lean_ctor_set(x_187, 0, x_190); +return x_187; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_187, 0); +x_192 = lean_ctor_get(x_187, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_187); +x_193 = lean_array_push(x_9, x_191); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +return x_194; +} +} +else +{ +uint8_t x_195; +lean_dec(x_9); +x_195 = !lean_is_exclusive(x_187); +if (x_195 == 0) +{ +return x_187; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_187, 0); +x_197 = lean_ctor_get(x_187, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_187); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_199 = 1; +x_200 = lean_box(x_199); +x_201 = lean_box(x_199); +x_202 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_202, 0, x_1); +lean_closure_set(x_202, 1, x_5); +lean_closure_set(x_202, 2, x_200); +lean_closure_set(x_202, 3, x_201); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_203 = l_Lean_Elab_Term_observing___rarg(x_202, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +lean_dec(x_203); +x_206 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_204, x_10, x_11, x_12, x_13, x_14, x_15, x_205); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_206; +} +else +{ +uint8_t x_207; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_207 = !lean_is_exclusive(x_203); +if (x_207 == 0) +{ +return x_203; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_203, 0); +x_209 = lean_ctor_get(x_203, 1); +lean_inc(x_209); +lean_inc(x_208); +lean_dec(x_203); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +return x_210; +} +} +} +else +{ +lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_211 = lean_box(0); +x_212 = 1; +x_213 = lean_box(x_142); +x_214 = lean_box(x_212); +x_215 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_215, 0, x_1); +lean_closure_set(x_215, 1, x_5); +lean_closure_set(x_215, 2, x_213); +lean_closure_set(x_215, 3, x_214); +lean_closure_set(x_215, 4, x_211); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_216 = l_Lean_Elab_Term_observing___rarg(x_215, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); +x_219 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_217, x_10, x_11, x_12, x_13, x_14, x_15, x_218); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_219; +} +else +{ +uint8_t x_220; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_220 = !lean_is_exclusive(x_216); +if (x_220 == 0) +{ +return x_216; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_221 = lean_ctor_get(x_216, 0); +x_222 = lean_ctor_get(x_216, 1); +lean_inc(x_222); +lean_inc(x_221); +lean_dec(x_216); +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 +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_227 = lean_unsigned_to_nat(2u); +x_228 = l_Lean_Syntax_getArg(x_1, x_227); +lean_dec(x_1); +x_229 = l_Lean_Syntax_getArgs(x_228); +lean_dec(x_228); +x_230 = l_Lean_Syntax_SepArray_getElems___rarg(x_229); +lean_dec(x_229); +x_231 = l_Lean_Elab_Term_elabExplicitUnivs(x_230, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_230); +if (lean_obj_tag(x_231) == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_232 = lean_ctor_get(x_231, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_231, 1); +lean_inc(x_233); +lean_dec(x_231); +x_234 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_139, x_232, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_233); return x_234; } else { -lean_object* x_235; uint8_t x_236; -x_235 = l_Lean_Syntax_getArg(x_1, x_226); -lean_dec(x_1); -x_236 = 1; -x_1 = x_235; -x_6 = x_236; -goto _start; +uint8_t x_235; +lean_dec(x_139); +lean_dec(x_15); +lean_dec(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_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_235 = !lean_is_exclusive(x_231); +if (x_235 == 0) +{ +return x_231; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_231, 0); +x_237 = lean_ctor_get(x_231, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_231); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; +} +} } } } else { -uint8_t x_238; -lean_dec(x_1); -x_238 = 1; -x_1 = x_227; -x_6 = x_238; -goto _start; -} +lean_object* x_239; lean_object* x_240; +x_239 = lean_box(0); +x_240 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_1, x_239, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_240; } } else { -lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_240 = lean_unsigned_to_nat(0u); -x_241 = l_Lean_Syntax_getArg(x_1, x_240); -lean_inc(x_241); -x_242 = l_Lean_Syntax_isOfKind(x_241, x_28); -if (x_242 == 0) +lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; +x_241 = lean_unsigned_to_nat(0u); +x_242 = l_Lean_Syntax_getArg(x_1, x_241); +x_243 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +x_244 = l_Lean_Syntax_isOfKind(x_242, x_243); +if (x_244 == 0) { -uint8_t x_243; uint8_t x_244; -lean_dec(x_241); -x_243 = l_List_isEmpty___rarg(x_2); +uint8_t x_245; uint8_t x_246; +x_245 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_429; -x_429 = 1; -x_244 = x_429; -goto block_428; +uint8_t x_329; +x_329 = 1; +x_246 = x_329; +goto block_328; } else { -uint8_t x_430; -x_430 = 0; -x_244 = x_430; -goto block_428; +uint8_t x_330; +x_330 = 0; +x_246 = x_330; +goto block_328; } -block_428: +block_328: { -lean_object* x_245; -if (x_243 == 0) +if (x_245 == 0) { -lean_object* x_330; -x_330 = lean_box(0); -x_245 = x_330; -goto block_329; +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_247 = lean_box(0); +x_248 = lean_box(x_246); +x_249 = lean_box(x_6); +x_250 = lean_box(x_7); +x_251 = lean_box(x_8); +x_252 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_252, 0, x_1); +lean_closure_set(x_252, 1, x_247); +lean_closure_set(x_252, 2, x_248); +lean_closure_set(x_252, 3, x_2); +lean_closure_set(x_252, 4, x_3); +lean_closure_set(x_252, 5, x_4); +lean_closure_set(x_252, 6, x_5); +lean_closure_set(x_252, 7, x_249); +lean_closure_set(x_252, 8, x_250); +lean_closure_set(x_252, 9, x_251); +x_253 = l_Lean_Elab_Term_observing___rarg(x_252, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_253) == 0) +{ +uint8_t x_254; +x_254 = !lean_is_exclusive(x_253); +if (x_254 == 0) +{ +lean_object* x_255; lean_object* x_256; +x_255 = lean_ctor_get(x_253, 0); +x_256 = lean_array_push(x_9, x_255); +lean_ctor_set(x_253, 0, x_256); +return x_253; } else { -uint8_t x_331; -x_331 = l_Array_isEmpty___rarg(x_3); -if (x_331 == 0) -{ -lean_object* x_332; -x_332 = lean_box(0); -x_245 = x_332; -goto block_329; +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_257 = lean_ctor_get(x_253, 0); +x_258 = lean_ctor_get(x_253, 1); +lean_inc(x_258); +lean_inc(x_257); +lean_dec(x_253); +x_259 = lean_array_push(x_9, x_257); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +return x_260; +} } else { -uint8_t x_333; -x_333 = l_Array_isEmpty___rarg(x_4); -if (x_333 == 0) +uint8_t x_261; +lean_dec(x_9); +x_261 = !lean_is_exclusive(x_253); +if (x_261 == 0) { -lean_object* x_334; -x_334 = lean_box(0); -x_245 = x_334; -goto block_329; +return x_253; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_253, 0); +x_263 = lean_ctor_get(x_253, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_253); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +return x_264; +} +} +} +else +{ +uint8_t x_265; +x_265 = l_Array_isEmpty___rarg(x_3); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_266 = lean_box(0); +x_267 = lean_box(x_246); +x_268 = lean_box(x_6); +x_269 = lean_box(x_7); +x_270 = lean_box(x_8); +x_271 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_271, 0, x_1); +lean_closure_set(x_271, 1, x_266); +lean_closure_set(x_271, 2, x_267); +lean_closure_set(x_271, 3, x_2); +lean_closure_set(x_271, 4, x_3); +lean_closure_set(x_271, 5, x_4); +lean_closure_set(x_271, 6, x_5); +lean_closure_set(x_271, 7, x_268); +lean_closure_set(x_271, 8, x_269); +lean_closure_set(x_271, 9, x_270); +x_272 = l_Lean_Elab_Term_observing___rarg(x_271, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_272) == 0) +{ +uint8_t x_273; +x_273 = !lean_is_exclusive(x_272); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_ctor_get(x_272, 0); +x_275 = lean_array_push(x_9, x_274); +lean_ctor_set(x_272, 0, x_275); +return x_272; +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_276 = lean_ctor_get(x_272, 0); +x_277 = lean_ctor_get(x_272, 1); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_272); +x_278 = lean_array_push(x_9, x_276); +x_279 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_277); +return x_279; +} +} +else +{ +uint8_t x_280; +lean_dec(x_9); +x_280 = !lean_is_exclusive(x_272); +if (x_280 == 0) +{ +return x_272; +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_281 = lean_ctor_get(x_272, 0); +x_282 = lean_ctor_get(x_272, 1); +lean_inc(x_282); +lean_inc(x_281); +lean_dec(x_272); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +return x_283; +} +} +} +else +{ +uint8_t x_284; +x_284 = l_Array_isEmpty___rarg(x_4); +if (x_284 == 0) +{ +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; +x_285 = lean_box(0); +x_286 = lean_box(x_246); +x_287 = lean_box(x_6); +x_288 = lean_box(x_7); +x_289 = lean_box(x_8); +x_290 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_290, 0, x_1); +lean_closure_set(x_290, 1, x_285); +lean_closure_set(x_290, 2, x_286); +lean_closure_set(x_290, 3, x_2); +lean_closure_set(x_290, 4, x_3); +lean_closure_set(x_290, 5, x_4); +lean_closure_set(x_290, 6, x_5); +lean_closure_set(x_290, 7, x_287); +lean_closure_set(x_290, 8, x_288); +lean_closure_set(x_290, 9, x_289); +x_291 = l_Lean_Elab_Term_observing___rarg(x_290, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_291) == 0) +{ +uint8_t x_292; +x_292 = !lean_is_exclusive(x_291); +if (x_292 == 0) +{ +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_291, 0); +x_294 = lean_array_push(x_9, x_293); +lean_ctor_set(x_291, 0, x_294); +return x_291; +} +else +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_295 = lean_ctor_get(x_291, 0); +x_296 = lean_ctor_get(x_291, 1); +lean_inc(x_296); +lean_inc(x_295); +lean_dec(x_291); +x_297 = lean_array_push(x_9, x_295); +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; +lean_dec(x_9); +x_299 = !lean_is_exclusive(x_291); +if (x_299 == 0) +{ +return x_291; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_300 = lean_ctor_get(x_291, 0); +x_301 = lean_ctor_get(x_291, 1); +lean_inc(x_301); +lean_inc(x_300); +lean_dec(x_291); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +return x_302; +} +} } else { @@ -23306,826 +23625,484 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_364; lean_object* x_365; -x_335 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_336 = lean_ctor_get(x_335, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_335, 1); -lean_inc(x_337); -if (lean_is_exclusive(x_335)) { - lean_ctor_release(x_335, 0); - lean_ctor_release(x_335, 1); - x_338 = x_335; -} else { - lean_dec_ref(x_335); - x_338 = lean_box(0); -} -x_364 = 1; +uint8_t x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_303 = 1; +x_304 = lean_box(x_303); +x_305 = lean_box(x_303); +x_306 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_306, 0, x_1); +lean_closure_set(x_306, 1, x_5); +lean_closure_set(x_306, 2, x_304); +lean_closure_set(x_306, 3, x_305); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_365 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_364, x_364, x_10, x_11, x_12, x_13, x_14, x_15, x_337); -if (lean_obj_tag(x_365) == 0) +x_307 = l_Lean_Elab_Term_observing___rarg(x_306, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_307) == 0) { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; uint8_t x_372; -lean_dec(x_338); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 1); -lean_inc(x_367); -lean_dec(x_365); -x_368 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_367); -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_368, 1); -lean_inc(x_370); -lean_dec(x_368); -x_371 = l_Lean_Elab_Term_SavedState_restore(x_336, x_364, x_10, x_11, x_12, x_13, x_14, x_15, x_370); -x_372 = !lean_is_exclusive(x_371); -if (x_372 == 0) -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_373 = lean_ctor_get(x_371, 1); -x_374 = lean_ctor_get(x_371, 0); -lean_dec(x_374); -lean_ctor_set(x_371, 1, x_369); -lean_ctor_set(x_371, 0, x_366); -x_375 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_371, x_10, x_11, x_12, x_13, x_14, x_15, x_373); +lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_308 = lean_ctor_get(x_307, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_307, 1); +lean_inc(x_309); +lean_dec(x_307); +x_310 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_308, x_10, x_11, x_12, x_13, x_14, x_15, x_309); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_375; +return x_310; } else { -lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_376 = lean_ctor_get(x_371, 1); -lean_inc(x_376); -lean_dec(x_371); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_366); -lean_ctor_set(x_377, 1, x_369); -x_378 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_377, x_10, x_11, x_12, x_13, x_14, x_15, x_376); +uint8_t x_311; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_378; -} -} -else -{ -lean_object* x_379; lean_object* x_380; -x_379 = lean_ctor_get(x_365, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_365, 1); -lean_inc(x_380); -lean_dec(x_365); -x_339 = x_379; -x_340 = x_380; -goto block_363; -} -block_363: -{ -if (lean_obj_tag(x_339) == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; lean_object* x_345; uint8_t x_346; -lean_dec(x_338); -x_341 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_340); -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_341, 1); -lean_inc(x_343); -lean_dec(x_341); -x_344 = 1; -x_345 = l_Lean_Elab_Term_SavedState_restore(x_336, x_344, x_10, x_11, x_12, x_13, x_14, x_15, x_343); -x_346 = !lean_is_exclusive(x_345); -if (x_346 == 0) -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_347 = lean_ctor_get(x_345, 1); -x_348 = lean_ctor_get(x_345, 0); -lean_dec(x_348); -lean_ctor_set_tag(x_345, 1); -lean_ctor_set(x_345, 1, x_342); -lean_ctor_set(x_345, 0, x_339); -x_349 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_345, x_10, x_11, x_12, x_13, x_14, x_15, x_347); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_349; -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_345, 1); -lean_inc(x_350); -lean_dec(x_345); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_339); -lean_ctor_set(x_351, 1, x_342); -x_352 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_351, x_10, x_11, x_12, x_13, x_14, x_15, x_350); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_352; -} -} -else -{ -lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_dec(x_9); -x_353 = lean_ctor_get(x_339, 0); -lean_inc(x_353); -x_354 = l_Lean_Elab_postponeExceptionId; -x_355 = lean_nat_dec_eq(x_353, x_354); -lean_dec(x_353); -if (x_355 == 0) +x_311 = !lean_is_exclusive(x_307); +if (x_311 == 0) { -lean_object* x_356; -lean_dec(x_336); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_338)) { - x_356 = lean_alloc_ctor(1, 2, 0); -} else { - x_356 = x_338; - lean_ctor_set_tag(x_356, 1); -} -lean_ctor_set(x_356, 0, x_339); -lean_ctor_set(x_356, 1, x_340); -return x_356; +return x_307; } else { -uint8_t x_357; lean_object* x_358; uint8_t x_359; -lean_dec(x_338); -x_357 = 1; -x_358 = l_Lean_Elab_Term_SavedState_restore(x_336, x_357, x_10, x_11, x_12, x_13, x_14, x_15, x_340); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_359 = !lean_is_exclusive(x_358); -if (x_359 == 0) -{ -lean_object* x_360; -x_360 = lean_ctor_get(x_358, 0); -lean_dec(x_360); -lean_ctor_set_tag(x_358, 1); -lean_ctor_set(x_358, 0, x_339); -return x_358; -} -else -{ -lean_object* x_361; lean_object* x_362; -x_361 = lean_ctor_get(x_358, 1); -lean_inc(x_361); -lean_dec(x_358); -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_339); -lean_ctor_set(x_362, 1, x_361); -return x_362; -} -} -} -} -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_411; lean_object* x_412; -x_381 = lean_box(0); -x_382 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_383 = lean_ctor_get(x_382, 0); -lean_inc(x_383); -x_384 = lean_ctor_get(x_382, 1); -lean_inc(x_384); -if (lean_is_exclusive(x_382)) { - lean_ctor_release(x_382, 0); - lean_ctor_release(x_382, 1); - x_385 = x_382; -} else { - lean_dec_ref(x_382); - x_385 = lean_box(0); -} -x_411 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_412 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_244, x_411, x_381, x_10, x_11, x_12, x_13, x_14, x_15, x_384); -if (lean_obj_tag(x_412) == 0) -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; -lean_dec(x_385); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -lean_dec(x_412); -x_415 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_414); -x_416 = lean_ctor_get(x_415, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_415, 1); -lean_inc(x_417); -lean_dec(x_415); -x_418 = l_Lean_Elab_Term_SavedState_restore(x_383, x_411, x_10, x_11, x_12, x_13, x_14, x_15, x_417); -x_419 = !lean_is_exclusive(x_418); -if (x_419 == 0) -{ -lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_420 = lean_ctor_get(x_418, 1); -x_421 = lean_ctor_get(x_418, 0); -lean_dec(x_421); -lean_ctor_set(x_418, 1, x_416); -lean_ctor_set(x_418, 0, x_413); -x_422 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_418, x_10, x_11, x_12, x_13, x_14, x_15, x_420); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_422; -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_423 = lean_ctor_get(x_418, 1); -lean_inc(x_423); -lean_dec(x_418); -x_424 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_424, 0, x_413); -lean_ctor_set(x_424, 1, x_416); -x_425 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_424, x_10, x_11, x_12, x_13, x_14, x_15, x_423); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_425; -} -} -else -{ -lean_object* x_426; lean_object* x_427; -x_426 = lean_ctor_get(x_412, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_412, 1); -lean_inc(x_427); -lean_dec(x_412); -x_386 = x_426; -x_387 = x_427; -goto block_410; -} -block_410: -{ -if (lean_obj_tag(x_386) == 0) -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; uint8_t x_393; -lean_dec(x_385); -x_388 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_387); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -lean_dec(x_388); -x_391 = 1; -x_392 = l_Lean_Elab_Term_SavedState_restore(x_383, x_391, x_10, x_11, x_12, x_13, x_14, x_15, x_390); -x_393 = !lean_is_exclusive(x_392); -if (x_393 == 0) -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_394 = lean_ctor_get(x_392, 1); -x_395 = lean_ctor_get(x_392, 0); -lean_dec(x_395); -lean_ctor_set_tag(x_392, 1); -lean_ctor_set(x_392, 1, x_389); -lean_ctor_set(x_392, 0, x_386); -x_396 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_392, x_10, x_11, x_12, x_13, x_14, x_15, x_394); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_396; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_397 = lean_ctor_get(x_392, 1); -lean_inc(x_397); -lean_dec(x_392); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_386); -lean_ctor_set(x_398, 1, x_389); -x_399 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_398, x_10, x_11, x_12, x_13, x_14, x_15, x_397); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_399; -} -} -else -{ -lean_object* x_400; lean_object* x_401; uint8_t x_402; -lean_dec(x_9); -x_400 = lean_ctor_get(x_386, 0); -lean_inc(x_400); -x_401 = l_Lean_Elab_postponeExceptionId; -x_402 = lean_nat_dec_eq(x_400, x_401); -lean_dec(x_400); -if (x_402 == 0) -{ -lean_object* x_403; -lean_dec(x_383); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_385)) { - x_403 = lean_alloc_ctor(1, 2, 0); -} else { - x_403 = x_385; - lean_ctor_set_tag(x_403, 1); -} -lean_ctor_set(x_403, 0, x_386); -lean_ctor_set(x_403, 1, x_387); -return x_403; -} -else -{ -uint8_t x_404; lean_object* x_405; uint8_t x_406; -lean_dec(x_385); -x_404 = 1; -x_405 = l_Lean_Elab_Term_SavedState_restore(x_383, x_404, x_10, x_11, x_12, x_13, x_14, x_15, x_387); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_406 = !lean_is_exclusive(x_405); -if (x_406 == 0) -{ -lean_object* x_407; -x_407 = lean_ctor_get(x_405, 0); -lean_dec(x_407); -lean_ctor_set_tag(x_405, 1); -lean_ctor_set(x_405, 0, x_386); -return x_405; -} -else -{ -lean_object* x_408; lean_object* x_409; -x_408 = lean_ctor_get(x_405, 1); -lean_inc(x_408); -lean_dec(x_405); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_386); -lean_ctor_set(x_409, 1, x_408); -return x_409; -} -} -} -} -} -} -} -} -block_329: -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_286; lean_object* x_287; uint8_t x_311; lean_object* x_312; -lean_dec(x_245); -x_246 = lean_box(0); -x_247 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_247, 1); -lean_inc(x_249); -if (lean_is_exclusive(x_247)) { - lean_ctor_release(x_247, 0); - lean_ctor_release(x_247, 1); - x_250 = x_247; -} else { - lean_dec_ref(x_247); - x_250 = lean_box(0); -} -x_311 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_312 = l_Lean_Elab_Term_elabTerm(x_1, x_246, x_244, x_311, x_10, x_11, x_12, x_13, x_14, x_15, x_249); -if (lean_obj_tag(x_312) == 0) -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; -x_313 = lean_ctor_get(x_312, 0); +lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_312 = lean_ctor_get(x_307, 0); +x_313 = lean_ctor_get(x_307, 1); lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_315 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_313, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_314); -if (lean_obj_tag(x_315) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_316; lean_object* x_317; -lean_dec(x_250); -lean_dec(x_5); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_286 = x_316; -x_287 = x_317; -goto block_310; +lean_inc(x_312); +lean_dec(x_307); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_312); +lean_ctor_set(x_314, 1, x_313); +return x_314; +} +} } else { -lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_315, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_315, 1); -lean_inc(x_319); -lean_dec(x_315); +lean_object* x_315; uint8_t x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_315 = lean_box(0); +x_316 = 1; +x_317 = lean_box(x_246); +x_318 = lean_box(x_316); +x_319 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_319, 0, x_1); +lean_closure_set(x_319, 1, x_5); +lean_closure_set(x_319, 2, x_317); +lean_closure_set(x_319, 3, x_318); +lean_closure_set(x_319, 4, x_315); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_320 = l_Lean_Elab_Term_ensureHasType(x_5, x_318, x_246, x_10, x_11, x_12, x_13, x_14, x_15, x_319); +x_320 = l_Lean_Elab_Term_observing___rarg(x_319, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_320) == 0) { -lean_object* x_321; lean_object* x_322; -lean_dec(x_250); +lean_object* x_321; lean_object* x_322; lean_object* x_323; x_321 = lean_ctor_get(x_320, 0); lean_inc(x_321); x_322 = lean_ctor_get(x_320, 1); lean_inc(x_322); lean_dec(x_320); -x_286 = x_321; -x_287 = x_322; -goto block_310; +x_323 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_321, x_10, x_11, x_12, x_13, x_14, x_15, x_322); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_323; } else { -lean_object* x_323; lean_object* x_324; -x_323 = lean_ctor_get(x_320, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_320, 1); -lean_inc(x_324); -lean_dec(x_320); -x_251 = x_323; -x_252 = x_324; -goto block_285; -} -} +uint8_t x_324; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_324 = !lean_is_exclusive(x_320); +if (x_324 == 0) +{ +return x_320; } else { -lean_object* x_325; lean_object* x_326; -lean_dec(x_5); -x_325 = lean_ctor_get(x_315, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_315, 1); +lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_325 = lean_ctor_get(x_320, 0); +x_326 = lean_ctor_get(x_320, 1); lean_inc(x_326); -lean_dec(x_315); -x_251 = x_325; -x_252 = x_326; -goto block_285; +lean_inc(x_325); +lean_dec(x_320); +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_325); +lean_ctor_set(x_327, 1, x_326); +return x_327; +} +} +} +} +} +} } } else { -lean_object* x_327; lean_object* x_328; +lean_object* x_331; lean_object* x_332; +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_327 = lean_ctor_get(x_312, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_312, 1); -lean_inc(x_328); -lean_dec(x_312); -x_251 = x_327; -x_252 = x_328; -goto block_285; -} -block_285: -{ -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_253; uint8_t x_254; -lean_dec(x_250); -x_253 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_252); -x_254 = !lean_is_exclusive(x_253); -if (x_254 == 0) -{ -lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; -x_255 = lean_ctor_get(x_253, 0); -x_256 = lean_ctor_get(x_253, 1); -x_257 = 1; -x_258 = l_Lean_Elab_Term_SavedState_restore(x_248, x_257, x_10, x_11, x_12, x_13, x_14, x_15, x_256); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_259 = !lean_is_exclusive(x_258); -if (x_259 == 0) -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_258, 1); -x_261 = lean_ctor_get(x_258, 0); -lean_dec(x_261); -lean_ctor_set_tag(x_258, 1); -lean_ctor_set(x_258, 1, x_255); -lean_ctor_set(x_258, 0, x_251); -x_262 = lean_array_push(x_9, x_258); -lean_ctor_set(x_253, 1, x_260); -lean_ctor_set(x_253, 0, x_262); -return x_253; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_258, 1); -lean_inc(x_263); -lean_dec(x_258); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_251); -lean_ctor_set(x_264, 1, x_255); -x_265 = lean_array_push(x_9, x_264); -lean_ctor_set(x_253, 1, x_263); -lean_ctor_set(x_253, 0, x_265); -return x_253; -} -} -else -{ -lean_object* x_266; lean_object* x_267; uint8_t x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_266 = lean_ctor_get(x_253, 0); -x_267 = lean_ctor_get(x_253, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_253); -x_268 = 1; -x_269 = l_Lean_Elab_Term_SavedState_restore(x_248, x_268, x_10, x_11, x_12, x_13, x_14, x_15, x_267); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_271 = x_269; -} else { - lean_dec_ref(x_269); - x_271 = lean_box(0); -} -if (lean_is_scalar(x_271)) { - x_272 = lean_alloc_ctor(1, 2, 0); -} else { - x_272 = x_271; - lean_ctor_set_tag(x_272, 1); -} -lean_ctor_set(x_272, 0, x_251); -lean_ctor_set(x_272, 1, x_266); -x_273 = lean_array_push(x_9, x_272); -x_274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_270); -return x_274; -} -} -else -{ -lean_object* x_275; lean_object* x_276; uint8_t x_277; -lean_dec(x_9); -x_275 = lean_ctor_get(x_251, 0); -lean_inc(x_275); -x_276 = l_Lean_Elab_postponeExceptionId; -x_277 = lean_nat_dec_eq(x_275, x_276); -lean_dec(x_275); -if (x_277 == 0) -{ -lean_object* x_278; -lean_dec(x_248); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_250)) { - x_278 = lean_alloc_ctor(1, 2, 0); -} else { - x_278 = x_250; - lean_ctor_set_tag(x_278, 1); -} -lean_ctor_set(x_278, 0, x_251); -lean_ctor_set(x_278, 1, x_252); -return x_278; -} -else -{ -uint8_t x_279; lean_object* x_280; uint8_t x_281; -lean_dec(x_250); -x_279 = 1; -x_280 = l_Lean_Elab_Term_SavedState_restore(x_248, x_279, x_10, x_11, x_12, x_13, x_14, x_15, x_252); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_281 = !lean_is_exclusive(x_280); -if (x_281 == 0) -{ -lean_object* x_282; -x_282 = lean_ctor_get(x_280, 0); -lean_dec(x_282); -lean_ctor_set_tag(x_280, 1); -lean_ctor_set(x_280, 0, x_251); -return x_280; -} -else -{ -lean_object* x_283; lean_object* x_284; -x_283 = lean_ctor_get(x_280, 1); -lean_inc(x_283); -lean_dec(x_280); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_251); -lean_ctor_set(x_284, 1, x_283); -return x_284; -} -} -} -} -block_310: -{ -lean_object* x_288; uint8_t x_289; -x_288 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_287); -x_289 = !lean_is_exclusive(x_288); -if (x_289 == 0) -{ -lean_object* x_290; lean_object* x_291; uint8_t x_292; lean_object* x_293; uint8_t x_294; -x_290 = lean_ctor_get(x_288, 0); -x_291 = lean_ctor_get(x_288, 1); -x_292 = 1; -x_293 = l_Lean_Elab_Term_SavedState_restore(x_248, x_292, x_10, x_11, x_12, x_13, x_14, x_15, x_291); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_294 = !lean_is_exclusive(x_293); -if (x_294 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_295 = lean_ctor_get(x_293, 1); -x_296 = lean_ctor_get(x_293, 0); -lean_dec(x_296); -lean_ctor_set(x_293, 1, x_290); -lean_ctor_set(x_293, 0, x_286); -x_297 = lean_array_push(x_9, x_293); -lean_ctor_set(x_288, 1, x_295); -lean_ctor_set(x_288, 0, x_297); -return x_288; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_298 = lean_ctor_get(x_293, 1); -lean_inc(x_298); -lean_dec(x_293); -x_299 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_299, 0, x_286); -lean_ctor_set(x_299, 1, x_290); -x_300 = lean_array_push(x_9, x_299); -lean_ctor_set(x_288, 1, x_298); -lean_ctor_set(x_288, 0, x_300); -return x_288; -} -} -else -{ -lean_object* x_301; lean_object* x_302; uint8_t x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_301 = lean_ctor_get(x_288, 0); -x_302 = lean_ctor_get(x_288, 1); -lean_inc(x_302); -lean_inc(x_301); -lean_dec(x_288); -x_303 = 1; -x_304 = l_Lean_Elab_Term_SavedState_restore(x_248, x_303, x_10, x_11, x_12, x_13, x_14, x_15, x_302); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_305 = lean_ctor_get(x_304, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_304)) { - lean_ctor_release(x_304, 0); - lean_ctor_release(x_304, 1); - x_306 = x_304; -} else { - lean_dec_ref(x_304); - x_306 = lean_box(0); -} -if (lean_is_scalar(x_306)) { - x_307 = lean_alloc_ctor(0, 2, 0); -} else { - x_307 = x_306; -} -lean_ctor_set(x_307, 0, x_286); -lean_ctor_set(x_307, 1, x_301); -x_308 = lean_array_push(x_9, x_307); -x_309 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_305); -return x_309; -} -} -} -} -} -else -{ -lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_431 = lean_unsigned_to_nat(2u); -x_432 = l_Lean_Syntax_getArg(x_1, x_431); lean_dec(x_1); -x_433 = l_Lean_Syntax_getArgs(x_432); -lean_dec(x_432); -x_434 = l_Lean_Syntax_SepArray_getElems___rarg(x_433); -lean_dec(x_433); -x_435 = l_Lean_Elab_Term_elabExplicitUnivs(x_434, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_434); -if (lean_obj_tag(x_435) == 0) -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; -x_436 = lean_ctor_get(x_435, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_435, 1); -lean_inc(x_437); -lean_dec(x_435); -x_438 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_241, x_436, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_437); -return x_438; +x_331 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__18; +x_332 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_331, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +return x_332; +} +} } else { -uint8_t x_439; -lean_dec(x_241); +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +x_333 = lean_unsigned_to_nat(0u); +x_334 = l_Lean_Syntax_getArg(x_1, x_333); +x_335 = lean_unsigned_to_nat(1u); +x_336 = l_Lean_Syntax_getArg(x_1, x_335); +x_337 = lean_unsigned_to_nat(2u); +x_338 = l_Lean_Syntax_getArg(x_1, x_337); +lean_dec(x_1); +x_339 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_339, 0, x_336); +lean_ctor_set(x_339, 1, x_338); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_2); +x_1 = x_334; +x_2 = x_340; +goto _start; +} +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; +x_342 = lean_unsigned_to_nat(0u); +x_343 = l_Lean_Syntax_getArg(x_1, x_342); +x_344 = lean_unsigned_to_nat(2u); +x_345 = l_Lean_Syntax_getArg(x_1, x_344); +x_346 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; +lean_inc(x_345); +x_347 = l_Lean_Syntax_isOfKind(x_345, x_346); +if (x_347 == 0) +{ +lean_object* x_348; uint8_t x_349; +x_348 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +lean_inc(x_345); +x_349 = l_Lean_Syntax_isOfKind(x_345, x_348); +if (x_349 == 0) +{ +uint8_t x_350; uint8_t x_351; +lean_dec(x_345); +lean_dec(x_343); +x_350 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_434; +x_434 = 1; +x_351 = x_434; +goto block_433; +} +else +{ +uint8_t x_435; +x_435 = 0; +x_351 = x_435; +goto block_433; +} +block_433: +{ +if (x_350 == 0) +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_352 = lean_box(0); +x_353 = lean_box(x_351); +x_354 = lean_box(x_6); +x_355 = lean_box(x_7); +x_356 = lean_box(x_8); +x_357 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_357, 0, x_1); +lean_closure_set(x_357, 1, x_352); +lean_closure_set(x_357, 2, x_353); +lean_closure_set(x_357, 3, x_2); +lean_closure_set(x_357, 4, x_3); +lean_closure_set(x_357, 5, x_4); +lean_closure_set(x_357, 6, x_5); +lean_closure_set(x_357, 7, x_354); +lean_closure_set(x_357, 8, x_355); +lean_closure_set(x_357, 9, x_356); +x_358 = l_Lean_Elab_Term_observing___rarg(x_357, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_358) == 0) +{ +uint8_t x_359; +x_359 = !lean_is_exclusive(x_358); +if (x_359 == 0) +{ +lean_object* x_360; lean_object* x_361; +x_360 = lean_ctor_get(x_358, 0); +x_361 = lean_array_push(x_9, x_360); +lean_ctor_set(x_358, 0, x_361); +return x_358; +} +else +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_362 = lean_ctor_get(x_358, 0); +x_363 = lean_ctor_get(x_358, 1); +lean_inc(x_363); +lean_inc(x_362); +lean_dec(x_358); +x_364 = lean_array_push(x_9, x_362); +x_365 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +return x_365; +} +} +else +{ +uint8_t x_366; +lean_dec(x_9); +x_366 = !lean_is_exclusive(x_358); +if (x_366 == 0) +{ +return x_358; +} +else +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_367 = lean_ctor_get(x_358, 0); +x_368 = lean_ctor_get(x_358, 1); +lean_inc(x_368); +lean_inc(x_367); +lean_dec(x_358); +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_367); +lean_ctor_set(x_369, 1, x_368); +return x_369; +} +} +} +else +{ +uint8_t x_370; +x_370 = l_Array_isEmpty___rarg(x_3); +if (x_370 == 0) +{ +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_371 = lean_box(0); +x_372 = lean_box(x_351); +x_373 = lean_box(x_6); +x_374 = lean_box(x_7); +x_375 = lean_box(x_8); +x_376 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_376, 0, x_1); +lean_closure_set(x_376, 1, x_371); +lean_closure_set(x_376, 2, x_372); +lean_closure_set(x_376, 3, x_2); +lean_closure_set(x_376, 4, x_3); +lean_closure_set(x_376, 5, x_4); +lean_closure_set(x_376, 6, x_5); +lean_closure_set(x_376, 7, x_373); +lean_closure_set(x_376, 8, x_374); +lean_closure_set(x_376, 9, x_375); +x_377 = l_Lean_Elab_Term_observing___rarg(x_376, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_377) == 0) +{ +uint8_t x_378; +x_378 = !lean_is_exclusive(x_377); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; +x_379 = lean_ctor_get(x_377, 0); +x_380 = lean_array_push(x_9, x_379); +lean_ctor_set(x_377, 0, x_380); +return x_377; +} +else +{ +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_381 = lean_ctor_get(x_377, 0); +x_382 = lean_ctor_get(x_377, 1); +lean_inc(x_382); +lean_inc(x_381); +lean_dec(x_377); +x_383 = lean_array_push(x_9, x_381); +x_384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_382); +return x_384; +} +} +else +{ +uint8_t x_385; +lean_dec(x_9); +x_385 = !lean_is_exclusive(x_377); +if (x_385 == 0) +{ +return x_377; +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; +x_386 = lean_ctor_get(x_377, 0); +x_387 = lean_ctor_get(x_377, 1); +lean_inc(x_387); +lean_inc(x_386); +lean_dec(x_377); +x_388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_388, 0, x_386); +lean_ctor_set(x_388, 1, x_387); +return x_388; +} +} +} +else +{ +uint8_t x_389; +x_389 = l_Array_isEmpty___rarg(x_4); +if (x_389 == 0) +{ +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_390 = lean_box(0); +x_391 = lean_box(x_351); +x_392 = lean_box(x_6); +x_393 = lean_box(x_7); +x_394 = lean_box(x_8); +x_395 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_395, 0, x_1); +lean_closure_set(x_395, 1, x_390); +lean_closure_set(x_395, 2, x_391); +lean_closure_set(x_395, 3, x_2); +lean_closure_set(x_395, 4, x_3); +lean_closure_set(x_395, 5, x_4); +lean_closure_set(x_395, 6, x_5); +lean_closure_set(x_395, 7, x_392); +lean_closure_set(x_395, 8, x_393); +lean_closure_set(x_395, 9, x_394); +x_396 = l_Lean_Elab_Term_observing___rarg(x_395, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_396) == 0) +{ +uint8_t x_397; +x_397 = !lean_is_exclusive(x_396); +if (x_397 == 0) +{ +lean_object* x_398; lean_object* x_399; +x_398 = lean_ctor_get(x_396, 0); +x_399 = lean_array_push(x_9, x_398); +lean_ctor_set(x_396, 0, x_399); +return x_396; +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; +x_400 = lean_ctor_get(x_396, 0); +x_401 = lean_ctor_get(x_396, 1); +lean_inc(x_401); +lean_inc(x_400); +lean_dec(x_396); +x_402 = lean_array_push(x_9, x_400); +x_403 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_403, 0, x_402); +lean_ctor_set(x_403, 1, x_401); +return x_403; +} +} +else +{ +uint8_t x_404; +lean_dec(x_9); +x_404 = !lean_is_exclusive(x_396); +if (x_404 == 0) +{ +return x_396; +} +else +{ +lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_405 = lean_ctor_get(x_396, 0); +x_406 = lean_ctor_get(x_396, 1); +lean_inc(x_406); +lean_inc(x_405); +lean_dec(x_396); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_405); +lean_ctor_set(x_407, 1, x_406); +return x_407; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_408 = 1; +x_409 = lean_box(x_408); +x_410 = lean_box(x_408); +x_411 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_411, 0, x_1); +lean_closure_set(x_411, 1, x_5); +lean_closure_set(x_411, 2, x_409); +lean_closure_set(x_411, 3, x_410); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_412 = l_Lean_Elab_Term_observing___rarg(x_411, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_412) == 0) +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_412, 1); +lean_inc(x_414); +lean_dec(x_412); +x_415 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_413, x_10, x_11, x_12, x_13, x_14, x_15, x_414); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_415; +} +else +{ +uint8_t x_416; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -24133,4519 +24110,1410 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_439 = !lean_is_exclusive(x_435); +x_416 = !lean_is_exclusive(x_412); +if (x_416 == 0) +{ +return x_412; +} +else +{ +lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_417 = lean_ctor_get(x_412, 0); +x_418 = lean_ctor_get(x_412, 1); +lean_inc(x_418); +lean_inc(x_417); +lean_dec(x_412); +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_417); +lean_ctor_set(x_419, 1, x_418); +return x_419; +} +} +} +else +{ +lean_object* x_420; uint8_t x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; +x_420 = lean_box(0); +x_421 = 1; +x_422 = lean_box(x_351); +x_423 = lean_box(x_421); +x_424 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_424, 0, x_1); +lean_closure_set(x_424, 1, x_5); +lean_closure_set(x_424, 2, x_422); +lean_closure_set(x_424, 3, x_423); +lean_closure_set(x_424, 4, x_420); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_425 = l_Lean_Elab_Term_observing___rarg(x_424, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_425) == 0) +{ +lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); +lean_dec(x_425); +x_428 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_426, x_10, x_11, x_12, x_13, x_14, x_15, x_427); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_428; +} +else +{ +uint8_t x_429; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_429 = !lean_is_exclusive(x_425); +if (x_429 == 0) +{ +return x_425; +} +else +{ +lean_object* x_430; lean_object* x_431; lean_object* x_432; +x_430 = lean_ctor_get(x_425, 0); +x_431 = lean_ctor_get(x_425, 1); +lean_inc(x_431); +lean_inc(x_430); +lean_dec(x_425); +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_430); +lean_ctor_set(x_432, 1, x_431); +return x_432; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; uint8_t x_439; +x_436 = lean_unsigned_to_nat(3u); +x_437 = l_Lean_Syntax_getArg(x_1, x_436); +x_438 = l_Lean_nullKind; +x_439 = l_Lean_Syntax_isNodeOf(x_437, x_438, x_342); if (x_439 == 0) { -return x_435; -} -else -{ -lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_440 = lean_ctor_get(x_435, 0); -x_441 = lean_ctor_get(x_435, 1); -lean_inc(x_441); -lean_inc(x_440); -lean_dec(x_435); -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_440); -lean_ctor_set(x_442, 1, x_441); -return x_442; -} -} -} -} -} -else -{ -lean_object* x_443; lean_object* x_444; -x_443 = lean_box(0); -x_444 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(x_1, x_443, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_444; -} -} -else -{ -lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t x_448; -x_445 = lean_unsigned_to_nat(0u); -x_446 = l_Lean_Syntax_getArg(x_1, x_445); -x_447 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -x_448 = l_Lean_Syntax_isOfKind(x_446, x_447); -if (x_448 == 0) -{ -uint8_t x_449; uint8_t x_450; -x_449 = l_List_isEmpty___rarg(x_2); +uint8_t x_440; uint8_t x_441; +lean_dec(x_345); +lean_dec(x_343); +x_440 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_635; -x_635 = 1; -x_450 = x_635; -goto block_634; +uint8_t x_524; +x_524 = 1; +x_441 = x_524; +goto block_523; } else { -uint8_t x_636; -x_636 = 0; -x_450 = x_636; -goto block_634; +uint8_t x_525; +x_525 = 0; +x_441 = x_525; +goto block_523; } -block_634: +block_523: { -lean_object* x_451; +if (x_440 == 0) +{ +lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_442 = lean_box(0); +x_443 = lean_box(x_441); +x_444 = lean_box(x_6); +x_445 = lean_box(x_7); +x_446 = lean_box(x_8); +x_447 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_447, 0, x_1); +lean_closure_set(x_447, 1, x_442); +lean_closure_set(x_447, 2, x_443); +lean_closure_set(x_447, 3, x_2); +lean_closure_set(x_447, 4, x_3); +lean_closure_set(x_447, 5, x_4); +lean_closure_set(x_447, 6, x_5); +lean_closure_set(x_447, 7, x_444); +lean_closure_set(x_447, 8, x_445); +lean_closure_set(x_447, 9, x_446); +x_448 = l_Lean_Elab_Term_observing___rarg(x_447, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_448) == 0) +{ +uint8_t x_449; +x_449 = !lean_is_exclusive(x_448); if (x_449 == 0) { -lean_object* x_536; -x_536 = lean_box(0); -x_451 = x_536; -goto block_535; +lean_object* x_450; lean_object* x_451; +x_450 = lean_ctor_get(x_448, 0); +x_451 = lean_array_push(x_9, x_450); +lean_ctor_set(x_448, 0, x_451); +return x_448; } else { -uint8_t x_537; -x_537 = l_Array_isEmpty___rarg(x_3); -if (x_537 == 0) -{ -lean_object* x_538; -x_538 = lean_box(0); -x_451 = x_538; -goto block_535; -} -else -{ -uint8_t x_539; -x_539 = l_Array_isEmpty___rarg(x_4); -if (x_539 == 0) -{ -lean_object* x_540; -x_540 = lean_box(0); -x_451 = x_540; -goto block_535; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; uint8_t x_570; lean_object* x_571; -x_541 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_542 = lean_ctor_get(x_541, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_541, 1); -lean_inc(x_543); -if (lean_is_exclusive(x_541)) { - lean_ctor_release(x_541, 0); - lean_ctor_release(x_541, 1); - x_544 = x_541; -} else { - lean_dec_ref(x_541); - x_544 = lean_box(0); -} -x_570 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_571 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_570, x_570, x_10, x_11, x_12, x_13, x_14, x_15, x_543); -if (lean_obj_tag(x_571) == 0) -{ -lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; uint8_t x_578; -lean_dec(x_544); -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 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_573); -x_575 = lean_ctor_get(x_574, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_574, 1); -lean_inc(x_576); -lean_dec(x_574); -x_577 = l_Lean_Elab_Term_SavedState_restore(x_542, x_570, x_10, x_11, x_12, x_13, x_14, x_15, x_576); -x_578 = !lean_is_exclusive(x_577); -if (x_578 == 0) -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; -x_579 = lean_ctor_get(x_577, 1); -x_580 = lean_ctor_get(x_577, 0); -lean_dec(x_580); -lean_ctor_set(x_577, 1, x_575); -lean_ctor_set(x_577, 0, x_572); -x_581 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_577, x_10, x_11, x_12, x_13, x_14, x_15, x_579); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_581; -} -else -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_582 = lean_ctor_get(x_577, 1); -lean_inc(x_582); -lean_dec(x_577); -x_583 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_583, 0, x_572); -lean_ctor_set(x_583, 1, x_575); -x_584 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_583, x_10, x_11, x_12, x_13, x_14, x_15, x_582); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_584; +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; +x_452 = lean_ctor_get(x_448, 0); +x_453 = lean_ctor_get(x_448, 1); +lean_inc(x_453); +lean_inc(x_452); +lean_dec(x_448); +x_454 = lean_array_push(x_9, x_452); +x_455 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_455, 0, x_454); +lean_ctor_set(x_455, 1, x_453); +return x_455; } } else { -lean_object* x_585; lean_object* x_586; -x_585 = lean_ctor_get(x_571, 0); -lean_inc(x_585); -x_586 = lean_ctor_get(x_571, 1); -lean_inc(x_586); -lean_dec(x_571); -x_545 = x_585; -x_546 = x_586; -goto block_569; -} -block_569: -{ -if (lean_obj_tag(x_545) == 0) -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; uint8_t x_550; lean_object* x_551; uint8_t x_552; -lean_dec(x_544); -x_547 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_546); -x_548 = lean_ctor_get(x_547, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_547, 1); -lean_inc(x_549); -lean_dec(x_547); -x_550 = 1; -x_551 = l_Lean_Elab_Term_SavedState_restore(x_542, x_550, x_10, x_11, x_12, x_13, x_14, x_15, x_549); -x_552 = !lean_is_exclusive(x_551); -if (x_552 == 0) -{ -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_551, 1); -x_554 = lean_ctor_get(x_551, 0); -lean_dec(x_554); -lean_ctor_set_tag(x_551, 1); -lean_ctor_set(x_551, 1, x_548); -lean_ctor_set(x_551, 0, x_545); -x_555 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_551, x_10, x_11, x_12, x_13, x_14, x_15, x_553); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_555; -} -else -{ -lean_object* x_556; lean_object* x_557; lean_object* x_558; -x_556 = lean_ctor_get(x_551, 1); -lean_inc(x_556); -lean_dec(x_551); -x_557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_557, 0, x_545); -lean_ctor_set(x_557, 1, x_548); -x_558 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_557, x_10, x_11, x_12, x_13, x_14, x_15, x_556); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_558; -} -} -else -{ -lean_object* x_559; lean_object* x_560; uint8_t x_561; +uint8_t x_456; lean_dec(x_9); -x_559 = lean_ctor_get(x_545, 0); -lean_inc(x_559); -x_560 = l_Lean_Elab_postponeExceptionId; -x_561 = lean_nat_dec_eq(x_559, x_560); -lean_dec(x_559); -if (x_561 == 0) +x_456 = !lean_is_exclusive(x_448); +if (x_456 == 0) { -lean_object* x_562; -lean_dec(x_542); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_544)) { - x_562 = lean_alloc_ctor(1, 2, 0); -} else { - x_562 = x_544; - lean_ctor_set_tag(x_562, 1); -} -lean_ctor_set(x_562, 0, x_545); -lean_ctor_set(x_562, 1, x_546); -return x_562; +return x_448; } else { -uint8_t x_563; lean_object* x_564; uint8_t x_565; -lean_dec(x_544); -x_563 = 1; -x_564 = l_Lean_Elab_Term_SavedState_restore(x_542, x_563, x_10, x_11, x_12, x_13, x_14, x_15, x_546); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_565 = !lean_is_exclusive(x_564); -if (x_565 == 0) -{ -lean_object* x_566; -x_566 = lean_ctor_get(x_564, 0); -lean_dec(x_566); -lean_ctor_set_tag(x_564, 1); -lean_ctor_set(x_564, 0, x_545); -return x_564; -} -else -{ -lean_object* x_567; lean_object* x_568; -x_567 = lean_ctor_get(x_564, 1); -lean_inc(x_567); -lean_dec(x_564); -x_568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_568, 0, x_545); -lean_ctor_set(x_568, 1, x_567); -return x_568; -} -} +lean_object* x_457; lean_object* x_458; lean_object* x_459; +x_457 = lean_ctor_get(x_448, 0); +x_458 = lean_ctor_get(x_448, 1); +lean_inc(x_458); +lean_inc(x_457); +lean_dec(x_448); +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; } } } else { -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; uint8_t x_617; lean_object* x_618; -x_587 = lean_box(0); -x_588 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_589 = lean_ctor_get(x_588, 0); -lean_inc(x_589); -x_590 = lean_ctor_get(x_588, 1); -lean_inc(x_590); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_591 = x_588; -} else { - lean_dec_ref(x_588); - x_591 = lean_box(0); -} -x_617 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_618 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_450, x_617, x_587, x_10, x_11, x_12, x_13, x_14, x_15, x_590); -if (lean_obj_tag(x_618) == 0) -{ -lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; -lean_dec(x_591); -x_619 = lean_ctor_get(x_618, 0); -lean_inc(x_619); -x_620 = lean_ctor_get(x_618, 1); -lean_inc(x_620); -lean_dec(x_618); -x_621 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_620); -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -lean_dec(x_621); -x_624 = l_Lean_Elab_Term_SavedState_restore(x_589, x_617, x_10, x_11, x_12, x_13, x_14, x_15, x_623); -x_625 = !lean_is_exclusive(x_624); -if (x_625 == 0) -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; -x_626 = lean_ctor_get(x_624, 1); -x_627 = lean_ctor_get(x_624, 0); -lean_dec(x_627); -lean_ctor_set(x_624, 1, x_622); -lean_ctor_set(x_624, 0, x_619); -x_628 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_624, x_10, x_11, x_12, x_13, x_14, x_15, x_626); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_628; -} -else -{ -lean_object* x_629; lean_object* x_630; lean_object* x_631; -x_629 = lean_ctor_get(x_624, 1); -lean_inc(x_629); -lean_dec(x_624); -x_630 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_630, 0, x_619); -lean_ctor_set(x_630, 1, x_622); -x_631 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_630, x_10, x_11, x_12, x_13, x_14, x_15, x_629); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_631; -} -} -else -{ -lean_object* x_632; lean_object* x_633; -x_632 = lean_ctor_get(x_618, 0); -lean_inc(x_632); -x_633 = lean_ctor_get(x_618, 1); -lean_inc(x_633); -lean_dec(x_618); -x_592 = x_632; -x_593 = x_633; -goto block_616; -} -block_616: -{ -if (lean_obj_tag(x_592) == 0) -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; uint8_t x_597; lean_object* x_598; uint8_t x_599; -lean_dec(x_591); -x_594 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_593); -x_595 = lean_ctor_get(x_594, 0); -lean_inc(x_595); -x_596 = lean_ctor_get(x_594, 1); -lean_inc(x_596); -lean_dec(x_594); -x_597 = 1; -x_598 = l_Lean_Elab_Term_SavedState_restore(x_589, x_597, x_10, x_11, x_12, x_13, x_14, x_15, x_596); -x_599 = !lean_is_exclusive(x_598); -if (x_599 == 0) -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; -x_600 = lean_ctor_get(x_598, 1); -x_601 = lean_ctor_get(x_598, 0); -lean_dec(x_601); -lean_ctor_set_tag(x_598, 1); -lean_ctor_set(x_598, 1, x_595); -lean_ctor_set(x_598, 0, x_592); -x_602 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_598, x_10, x_11, x_12, x_13, x_14, x_15, x_600); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_602; -} -else -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_603 = lean_ctor_get(x_598, 1); -lean_inc(x_603); -lean_dec(x_598); -x_604 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_604, 0, x_592); -lean_ctor_set(x_604, 1, x_595); -x_605 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_604, x_10, x_11, x_12, x_13, x_14, x_15, x_603); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_605; -} -} -else -{ -lean_object* x_606; lean_object* x_607; uint8_t x_608; -lean_dec(x_9); -x_606 = lean_ctor_get(x_592, 0); -lean_inc(x_606); -x_607 = l_Lean_Elab_postponeExceptionId; -x_608 = lean_nat_dec_eq(x_606, x_607); -lean_dec(x_606); -if (x_608 == 0) -{ -lean_object* x_609; -lean_dec(x_589); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_591)) { - x_609 = lean_alloc_ctor(1, 2, 0); -} else { - x_609 = x_591; - lean_ctor_set_tag(x_609, 1); -} -lean_ctor_set(x_609, 0, x_592); -lean_ctor_set(x_609, 1, x_593); -return x_609; -} -else -{ -uint8_t x_610; lean_object* x_611; uint8_t x_612; -lean_dec(x_591); -x_610 = 1; -x_611 = l_Lean_Elab_Term_SavedState_restore(x_589, x_610, x_10, x_11, x_12, x_13, x_14, x_15, x_593); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_612 = !lean_is_exclusive(x_611); -if (x_612 == 0) -{ -lean_object* x_613; -x_613 = lean_ctor_get(x_611, 0); -lean_dec(x_613); -lean_ctor_set_tag(x_611, 1); -lean_ctor_set(x_611, 0, x_592); -return x_611; -} -else -{ -lean_object* x_614; lean_object* x_615; -x_614 = lean_ctor_get(x_611, 1); -lean_inc(x_614); -lean_dec(x_611); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_592); -lean_ctor_set(x_615, 1, x_614); -return x_615; -} -} -} -} -} -} -} -} -block_535: -{ -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_492; lean_object* x_493; uint8_t x_517; lean_object* x_518; -lean_dec(x_451); -x_452 = lean_box(0); -x_453 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_454 = lean_ctor_get(x_453, 0); -lean_inc(x_454); -x_455 = lean_ctor_get(x_453, 1); -lean_inc(x_455); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_456 = x_453; -} else { - lean_dec_ref(x_453); - x_456 = lean_box(0); -} -x_517 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_518 = l_Lean_Elab_Term_elabTerm(x_1, x_452, x_450, x_517, x_10, x_11, x_12, x_13, x_14, x_15, x_455); -if (lean_obj_tag(x_518) == 0) -{ -lean_object* x_519; lean_object* x_520; lean_object* x_521; -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_521 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_519, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_520); -if (lean_obj_tag(x_521) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_522; lean_object* x_523; -lean_dec(x_456); -lean_dec(x_5); -x_522 = lean_ctor_get(x_521, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_521, 1); -lean_inc(x_523); -lean_dec(x_521); -x_492 = x_522; -x_493 = x_523; -goto block_516; -} -else -{ -lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_524 = lean_ctor_get(x_521, 0); -lean_inc(x_524); -x_525 = lean_ctor_get(x_521, 1); -lean_inc(x_525); -lean_dec(x_521); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_526 = l_Lean_Elab_Term_ensureHasType(x_5, x_524, x_452, x_10, x_11, x_12, x_13, x_14, x_15, x_525); -if (lean_obj_tag(x_526) == 0) -{ -lean_object* x_527; lean_object* x_528; -lean_dec(x_456); -x_527 = lean_ctor_get(x_526, 0); -lean_inc(x_527); -x_528 = lean_ctor_get(x_526, 1); -lean_inc(x_528); -lean_dec(x_526); -x_492 = x_527; -x_493 = x_528; -goto block_516; -} -else -{ -lean_object* x_529; lean_object* x_530; -x_529 = lean_ctor_get(x_526, 0); -lean_inc(x_529); -x_530 = lean_ctor_get(x_526, 1); -lean_inc(x_530); -lean_dec(x_526); -x_457 = x_529; -x_458 = x_530; -goto block_491; -} -} -} -else -{ -lean_object* x_531; lean_object* x_532; -lean_dec(x_5); -x_531 = lean_ctor_get(x_521, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_521, 1); -lean_inc(x_532); -lean_dec(x_521); -x_457 = x_531; -x_458 = x_532; -goto block_491; -} -} -else -{ -lean_object* x_533; lean_object* x_534; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_533 = lean_ctor_get(x_518, 0); -lean_inc(x_533); -x_534 = lean_ctor_get(x_518, 1); -lean_inc(x_534); -lean_dec(x_518); -x_457 = x_533; -x_458 = x_534; -goto block_491; -} -block_491: -{ -if (lean_obj_tag(x_457) == 0) -{ -lean_object* x_459; uint8_t x_460; -lean_dec(x_456); -x_459 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_458); -x_460 = !lean_is_exclusive(x_459); +uint8_t x_460; +x_460 = l_Array_isEmpty___rarg(x_3); if (x_460 == 0) { -lean_object* x_461; lean_object* x_462; uint8_t x_463; lean_object* x_464; uint8_t x_465; -x_461 = lean_ctor_get(x_459, 0); -x_462 = lean_ctor_get(x_459, 1); -x_463 = 1; -x_464 = l_Lean_Elab_Term_SavedState_restore(x_454, x_463, x_10, x_11, x_12, x_13, x_14, x_15, x_462); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_465 = !lean_is_exclusive(x_464); -if (x_465 == 0) +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_461 = lean_box(0); +x_462 = lean_box(x_441); +x_463 = lean_box(x_6); +x_464 = lean_box(x_7); +x_465 = lean_box(x_8); +x_466 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_466, 0, x_1); +lean_closure_set(x_466, 1, x_461); +lean_closure_set(x_466, 2, x_462); +lean_closure_set(x_466, 3, x_2); +lean_closure_set(x_466, 4, x_3); +lean_closure_set(x_466, 5, x_4); +lean_closure_set(x_466, 6, x_5); +lean_closure_set(x_466, 7, x_463); +lean_closure_set(x_466, 8, x_464); +lean_closure_set(x_466, 9, x_465); +x_467 = l_Lean_Elab_Term_observing___rarg(x_466, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_467) == 0) { -lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_466 = lean_ctor_get(x_464, 1); -x_467 = lean_ctor_get(x_464, 0); -lean_dec(x_467); -lean_ctor_set_tag(x_464, 1); -lean_ctor_set(x_464, 1, x_461); -lean_ctor_set(x_464, 0, x_457); -x_468 = lean_array_push(x_9, x_464); -lean_ctor_set(x_459, 1, x_466); -lean_ctor_set(x_459, 0, x_468); -return x_459; +uint8_t x_468; +x_468 = !lean_is_exclusive(x_467); +if (x_468 == 0) +{ +lean_object* x_469; lean_object* x_470; +x_469 = lean_ctor_get(x_467, 0); +x_470 = lean_array_push(x_9, x_469); +lean_ctor_set(x_467, 0, x_470); +return x_467; } else { -lean_object* x_469; lean_object* x_470; lean_object* x_471; -x_469 = lean_ctor_get(x_464, 1); -lean_inc(x_469); -lean_dec(x_464); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_457); -lean_ctor_set(x_470, 1, x_461); -x_471 = lean_array_push(x_9, x_470); -lean_ctor_set(x_459, 1, x_469); -lean_ctor_set(x_459, 0, x_471); -return x_459; -} -} -else -{ -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; lean_object* x_479; lean_object* x_480; -x_472 = lean_ctor_get(x_459, 0); -x_473 = lean_ctor_get(x_459, 1); -lean_inc(x_473); +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; +x_471 = lean_ctor_get(x_467, 0); +x_472 = lean_ctor_get(x_467, 1); lean_inc(x_472); -lean_dec(x_459); -x_474 = 1; -x_475 = l_Lean_Elab_Term_SavedState_restore(x_454, x_474, x_10, x_11, x_12, x_13, x_14, x_15, x_473); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_476 = lean_ctor_get(x_475, 1); -lean_inc(x_476); -if (lean_is_exclusive(x_475)) { - lean_ctor_release(x_475, 0); - lean_ctor_release(x_475, 1); - x_477 = x_475; -} else { - lean_dec_ref(x_475); - x_477 = lean_box(0); -} -if (lean_is_scalar(x_477)) { - x_478 = lean_alloc_ctor(1, 2, 0); -} else { - x_478 = x_477; - lean_ctor_set_tag(x_478, 1); -} -lean_ctor_set(x_478, 0, x_457); -lean_ctor_set(x_478, 1, x_472); -x_479 = lean_array_push(x_9, x_478); -x_480 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_480, 0, x_479); -lean_ctor_set(x_480, 1, x_476); -return x_480; +lean_inc(x_471); +lean_dec(x_467); +x_473 = lean_array_push(x_9, x_471); +x_474 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_474, 0, x_473); +lean_ctor_set(x_474, 1, x_472); +return x_474; } } else { -lean_object* x_481; lean_object* x_482; uint8_t x_483; +uint8_t x_475; lean_dec(x_9); -x_481 = lean_ctor_get(x_457, 0); -lean_inc(x_481); -x_482 = l_Lean_Elab_postponeExceptionId; -x_483 = lean_nat_dec_eq(x_481, x_482); -lean_dec(x_481); -if (x_483 == 0) +x_475 = !lean_is_exclusive(x_467); +if (x_475 == 0) { -lean_object* x_484; -lean_dec(x_454); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_456)) { - x_484 = lean_alloc_ctor(1, 2, 0); -} else { - x_484 = x_456; - lean_ctor_set_tag(x_484, 1); -} -lean_ctor_set(x_484, 0, x_457); -lean_ctor_set(x_484, 1, x_458); -return x_484; +return x_467; } else { -uint8_t x_485; lean_object* x_486; uint8_t x_487; -lean_dec(x_456); -x_485 = 1; -x_486 = l_Lean_Elab_Term_SavedState_restore(x_454, x_485, x_10, x_11, x_12, x_13, x_14, x_15, x_458); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_476; lean_object* x_477; lean_object* x_478; +x_476 = lean_ctor_get(x_467, 0); +x_477 = lean_ctor_get(x_467, 1); +lean_inc(x_477); +lean_inc(x_476); +lean_dec(x_467); +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_476); +lean_ctor_set(x_478, 1, x_477); +return x_478; +} +} +} +else +{ +uint8_t x_479; +x_479 = l_Array_isEmpty___rarg(x_4); +if (x_479 == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_480 = lean_box(0); +x_481 = lean_box(x_441); +x_482 = lean_box(x_6); +x_483 = lean_box(x_7); +x_484 = lean_box(x_8); +x_485 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_485, 0, x_1); +lean_closure_set(x_485, 1, x_480); +lean_closure_set(x_485, 2, x_481); +lean_closure_set(x_485, 3, x_2); +lean_closure_set(x_485, 4, x_3); +lean_closure_set(x_485, 5, x_4); +lean_closure_set(x_485, 6, x_5); +lean_closure_set(x_485, 7, x_482); +lean_closure_set(x_485, 8, x_483); +lean_closure_set(x_485, 9, x_484); +x_486 = l_Lean_Elab_Term_observing___rarg(x_485, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_486) == 0) +{ +uint8_t x_487; x_487 = !lean_is_exclusive(x_486); if (x_487 == 0) { -lean_object* x_488; +lean_object* x_488; lean_object* x_489; x_488 = lean_ctor_get(x_486, 0); -lean_dec(x_488); -lean_ctor_set_tag(x_486, 1); -lean_ctor_set(x_486, 0, x_457); +x_489 = lean_array_push(x_9, x_488); +lean_ctor_set(x_486, 0, x_489); return x_486; } else { -lean_object* x_489; lean_object* x_490; -x_489 = lean_ctor_get(x_486, 1); -lean_inc(x_489); +lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_490 = lean_ctor_get(x_486, 0); +x_491 = lean_ctor_get(x_486, 1); +lean_inc(x_491); +lean_inc(x_490); lean_dec(x_486); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_457); -lean_ctor_set(x_490, 1, x_489); -return x_490; +x_492 = lean_array_push(x_9, x_490); +x_493 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_493, 0, x_492); +lean_ctor_set(x_493, 1, x_491); +return x_493; } } -} -} -block_516: +else { -lean_object* x_494; uint8_t x_495; -x_494 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_493); -x_495 = !lean_is_exclusive(x_494); -if (x_495 == 0) +uint8_t x_494; +lean_dec(x_9); +x_494 = !lean_is_exclusive(x_486); +if (x_494 == 0) { -lean_object* x_496; lean_object* x_497; uint8_t x_498; lean_object* x_499; uint8_t x_500; -x_496 = lean_ctor_get(x_494, 0); -x_497 = lean_ctor_get(x_494, 1); +return x_486; +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; +x_495 = lean_ctor_get(x_486, 0); +x_496 = lean_ctor_get(x_486, 1); +lean_inc(x_496); +lean_inc(x_495); +lean_dec(x_486); +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_495); +lean_ctor_set(x_497, 1, x_496); +return x_497; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; x_498 = 1; -x_499 = l_Lean_Elab_Term_SavedState_restore(x_454, x_498, x_10, x_11, x_12, x_13, x_14, x_15, x_497); +x_499 = lean_box(x_498); +x_500 = lean_box(x_498); +x_501 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_501, 0, x_1); +lean_closure_set(x_501, 1, x_5); +lean_closure_set(x_501, 2, x_499); +lean_closure_set(x_501, 3, x_500); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_502 = l_Lean_Elab_Term_observing___rarg(x_501, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_502) == 0) +{ +lean_object* x_503; lean_object* x_504; lean_object* x_505; +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_502, 1); +lean_inc(x_504); +lean_dec(x_502); +x_505 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_503, x_10, x_11, x_12, x_13, x_14, x_15, x_504); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_500 = !lean_is_exclusive(x_499); -if (x_500 == 0) -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_499, 1); -x_502 = lean_ctor_get(x_499, 0); -lean_dec(x_502); -lean_ctor_set(x_499, 1, x_496); -lean_ctor_set(x_499, 0, x_492); -x_503 = lean_array_push(x_9, x_499); -lean_ctor_set(x_494, 1, x_501); -lean_ctor_set(x_494, 0, x_503); -return x_494; +return x_505; } else { -lean_object* x_504; lean_object* x_505; lean_object* x_506; -x_504 = lean_ctor_get(x_499, 1); -lean_inc(x_504); -lean_dec(x_499); -x_505 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_505, 0, x_492); -lean_ctor_set(x_505, 1, x_496); -x_506 = lean_array_push(x_9, x_505); -lean_ctor_set(x_494, 1, x_504); -lean_ctor_set(x_494, 0, x_506); -return x_494; -} +uint8_t x_506; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_506 = !lean_is_exclusive(x_502); +if (x_506 == 0) +{ +return x_502; } else { -lean_object* x_507; lean_object* x_508; uint8_t x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -x_507 = lean_ctor_get(x_494, 0); -x_508 = lean_ctor_get(x_494, 1); +lean_object* x_507; lean_object* x_508; lean_object* x_509; +x_507 = lean_ctor_get(x_502, 0); +x_508 = lean_ctor_get(x_502, 1); lean_inc(x_508); lean_inc(x_507); -lean_dec(x_494); -x_509 = 1; -x_510 = l_Lean_Elab_Term_SavedState_restore(x_454, x_509, x_10, x_11, x_12, x_13, x_14, x_15, x_508); +lean_dec(x_502); +x_509 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_509, 0, x_507); +lean_ctor_set(x_509, 1, x_508); +return x_509; +} +} +} +else +{ +lean_object* x_510; uint8_t x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +x_510 = lean_box(0); +x_511 = 1; +x_512 = lean_box(x_441); +x_513 = lean_box(x_511); +x_514 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_514, 0, x_1); +lean_closure_set(x_514, 1, x_5); +lean_closure_set(x_514, 2, x_512); +lean_closure_set(x_514, 3, x_513); +lean_closure_set(x_514, 4, x_510); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_515 = l_Lean_Elab_Term_observing___rarg(x_514, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_515) == 0) +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_515, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_515, 1); +lean_inc(x_517); +lean_dec(x_515); +x_518 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_516, x_10, x_11, x_12, x_13, x_14, x_15, x_517); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_511 = lean_ctor_get(x_510, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - x_512 = x_510; -} else { - lean_dec_ref(x_510); - x_512 = lean_box(0); +return x_518; } -if (lean_is_scalar(x_512)) { - x_513 = lean_alloc_ctor(0, 2, 0); -} else { - x_513 = x_512; -} -lean_ctor_set(x_513, 0, x_492); -lean_ctor_set(x_513, 1, x_507); -x_514 = lean_array_push(x_9, x_513); -x_515 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_511); +else +{ +uint8_t x_519; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_519 = !lean_is_exclusive(x_515); +if (x_519 == 0) +{ return x_515; } +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; +x_520 = lean_ctor_get(x_515, 0); +x_521 = lean_ctor_get(x_515, 1); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_515); +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_520); +lean_ctor_set(x_522, 1, x_521); +return x_522; +} +} +} +} } } } } else { -lean_object* x_637; lean_object* x_638; +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; +lean_dec(x_1); +x_526 = l_Lean_Syntax_getId(x_345); +x_527 = lean_erase_macro_scopes(x_526); +x_528 = l_Lean_Name_components(x_527); +lean_inc(x_343); +x_529 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_343, x_345, x_528); +x_530 = l_List_append___rarg(x_529, x_2); +x_1 = x_343; +x_2 = x_530; +goto _start; +} +} +} +else +{ +lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; +x_532 = lean_unsigned_to_nat(3u); +x_533 = l_Lean_Syntax_getArg(x_1, x_532); +x_534 = l_Lean_nullKind; +x_535 = l_Lean_Syntax_isNodeOf(x_533, x_534, x_342); +if (x_535 == 0) +{ +uint8_t x_536; uint8_t x_537; +lean_dec(x_345); +lean_dec(x_343); +x_536 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_620; +x_620 = 1; +x_537 = x_620; +goto block_619; +} +else +{ +uint8_t x_621; +x_621 = 0; +x_537 = x_621; +goto block_619; +} +block_619: +{ +if (x_536 == 0) +{ +lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +x_538 = lean_box(0); +x_539 = lean_box(x_537); +x_540 = lean_box(x_6); +x_541 = lean_box(x_7); +x_542 = lean_box(x_8); +x_543 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_543, 0, x_1); +lean_closure_set(x_543, 1, x_538); +lean_closure_set(x_543, 2, x_539); +lean_closure_set(x_543, 3, x_2); +lean_closure_set(x_543, 4, x_3); +lean_closure_set(x_543, 5, x_4); +lean_closure_set(x_543, 6, x_5); +lean_closure_set(x_543, 7, x_540); +lean_closure_set(x_543, 8, x_541); +lean_closure_set(x_543, 9, x_542); +x_544 = l_Lean_Elab_Term_observing___rarg(x_543, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_544) == 0) +{ +uint8_t x_545; +x_545 = !lean_is_exclusive(x_544); +if (x_545 == 0) +{ +lean_object* x_546; lean_object* x_547; +x_546 = lean_ctor_get(x_544, 0); +x_547 = lean_array_push(x_9, x_546); +lean_ctor_set(x_544, 0, x_547); +return x_544; +} +else +{ +lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; +x_548 = lean_ctor_get(x_544, 0); +x_549 = lean_ctor_get(x_544, 1); +lean_inc(x_549); +lean_inc(x_548); +lean_dec(x_544); +x_550 = lean_array_push(x_9, x_548); +x_551 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_549); +return x_551; +} +} +else +{ +uint8_t x_552; lean_dec(x_9); -lean_dec(x_5); +x_552 = !lean_is_exclusive(x_544); +if (x_552 == 0) +{ +return x_544; +} +else +{ +lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_553 = lean_ctor_get(x_544, 0); +x_554 = lean_ctor_get(x_544, 1); +lean_inc(x_554); +lean_inc(x_553); +lean_dec(x_544); +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; +} +} +} +else +{ +uint8_t x_556; +x_556 = l_Array_isEmpty___rarg(x_3); +if (x_556 == 0) +{ +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; +x_557 = lean_box(0); +x_558 = lean_box(x_537); +x_559 = lean_box(x_6); +x_560 = lean_box(x_7); +x_561 = lean_box(x_8); +x_562 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_562, 0, x_1); +lean_closure_set(x_562, 1, x_557); +lean_closure_set(x_562, 2, x_558); +lean_closure_set(x_562, 3, x_2); +lean_closure_set(x_562, 4, x_3); +lean_closure_set(x_562, 5, x_4); +lean_closure_set(x_562, 6, x_5); +lean_closure_set(x_562, 7, x_559); +lean_closure_set(x_562, 8, x_560); +lean_closure_set(x_562, 9, x_561); +x_563 = l_Lean_Elab_Term_observing___rarg(x_562, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_563) == 0) +{ +uint8_t x_564; +x_564 = !lean_is_exclusive(x_563); +if (x_564 == 0) +{ +lean_object* x_565; lean_object* x_566; +x_565 = lean_ctor_get(x_563, 0); +x_566 = lean_array_push(x_9, x_565); +lean_ctor_set(x_563, 0, x_566); +return x_563; +} +else +{ +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; +x_567 = lean_ctor_get(x_563, 0); +x_568 = lean_ctor_get(x_563, 1); +lean_inc(x_568); +lean_inc(x_567); +lean_dec(x_563); +x_569 = lean_array_push(x_9, x_567); +x_570 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_568); +return x_570; +} +} +else +{ +uint8_t x_571; +lean_dec(x_9); +x_571 = !lean_is_exclusive(x_563); +if (x_571 == 0) +{ +return x_563; +} +else +{ +lean_object* x_572; lean_object* x_573; lean_object* x_574; +x_572 = lean_ctor_get(x_563, 0); +x_573 = lean_ctor_get(x_563, 1); +lean_inc(x_573); +lean_inc(x_572); +lean_dec(x_563); +x_574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_574, 0, x_572); +lean_ctor_set(x_574, 1, x_573); +return x_574; +} +} +} +else +{ +uint8_t x_575; +x_575 = l_Array_isEmpty___rarg(x_4); +if (x_575 == 0) +{ +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; +x_576 = lean_box(0); +x_577 = lean_box(x_537); +x_578 = lean_box(x_6); +x_579 = lean_box(x_7); +x_580 = lean_box(x_8); +x_581 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_581, 0, x_1); +lean_closure_set(x_581, 1, x_576); +lean_closure_set(x_581, 2, x_577); +lean_closure_set(x_581, 3, x_2); +lean_closure_set(x_581, 4, x_3); +lean_closure_set(x_581, 5, x_4); +lean_closure_set(x_581, 6, x_5); +lean_closure_set(x_581, 7, x_578); +lean_closure_set(x_581, 8, x_579); +lean_closure_set(x_581, 9, x_580); +x_582 = l_Lean_Elab_Term_observing___rarg(x_581, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_582) == 0) +{ +uint8_t x_583; +x_583 = !lean_is_exclusive(x_582); +if (x_583 == 0) +{ +lean_object* x_584; lean_object* x_585; +x_584 = lean_ctor_get(x_582, 0); +x_585 = lean_array_push(x_9, x_584); +lean_ctor_set(x_582, 0, x_585); +return x_582; +} +else +{ +lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; +x_586 = lean_ctor_get(x_582, 0); +x_587 = lean_ctor_get(x_582, 1); +lean_inc(x_587); +lean_inc(x_586); +lean_dec(x_582); +x_588 = lean_array_push(x_9, x_586); +x_589 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_589, 0, x_588); +lean_ctor_set(x_589, 1, x_587); +return x_589; +} +} +else +{ +uint8_t x_590; +lean_dec(x_9); +x_590 = !lean_is_exclusive(x_582); +if (x_590 == 0) +{ +return x_582; +} +else +{ +lean_object* x_591; lean_object* x_592; lean_object* x_593; +x_591 = lean_ctor_get(x_582, 0); +x_592 = lean_ctor_get(x_582, 1); +lean_inc(x_592); +lean_inc(x_591); +lean_dec(x_582); +x_593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_593, 0, x_591); +lean_ctor_set(x_593, 1, x_592); +return x_593; +} +} +} +else +{ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_637 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__18; -x_638 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(x_637, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (x_8 == 0) +{ +uint8_t x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; +x_594 = 1; +x_595 = lean_box(x_594); +x_596 = lean_box(x_594); +x_597 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_597, 0, x_1); +lean_closure_set(x_597, 1, x_5); +lean_closure_set(x_597, 2, x_595); +lean_closure_set(x_597, 3, x_596); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_598 = l_Lean_Elab_Term_observing___rarg(x_597, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_598) == 0) +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_599 = lean_ctor_get(x_598, 0); +lean_inc(x_599); +x_600 = lean_ctor_get(x_598, 1); +lean_inc(x_600); +lean_dec(x_598); +x_601 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_599, x_10, x_11, x_12, x_13, x_14, x_15, x_600); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -return x_638; +lean_dec(x_10); +return x_601; +} +else +{ +uint8_t x_602; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_602 = !lean_is_exclusive(x_598); +if (x_602 == 0) +{ +return x_598; +} +else +{ +lean_object* x_603; lean_object* x_604; lean_object* x_605; +x_603 = lean_ctor_get(x_598, 0); +x_604 = lean_ctor_get(x_598, 1); +lean_inc(x_604); +lean_inc(x_603); +lean_dec(x_598); +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_603); +lean_ctor_set(x_605, 1, x_604); +return x_605; } } } else { -lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; -x_639 = lean_unsigned_to_nat(0u); -x_640 = l_Lean_Syntax_getArg(x_1, x_639); -x_641 = lean_unsigned_to_nat(1u); -x_642 = l_Lean_Syntax_getArg(x_1, x_641); -x_643 = lean_unsigned_to_nat(2u); -x_644 = l_Lean_Syntax_getArg(x_1, x_643); +lean_object* x_606; uint8_t x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; +x_606 = lean_box(0); +x_607 = 1; +x_608 = lean_box(x_537); +x_609 = lean_box(x_607); +x_610 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_610, 0, x_1); +lean_closure_set(x_610, 1, x_5); +lean_closure_set(x_610, 2, x_608); +lean_closure_set(x_610, 3, x_609); +lean_closure_set(x_610, 4, x_606); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_611 = l_Lean_Elab_Term_observing___rarg(x_610, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_611) == 0) +{ +lean_object* x_612; lean_object* x_613; lean_object* x_614; +x_612 = lean_ctor_get(x_611, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_611, 1); +lean_inc(x_613); +lean_dec(x_611); +x_614 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_612, x_10, x_11, x_12, x_13, x_14, x_15, x_613); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_614; +} +else +{ +uint8_t x_615; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_615 = !lean_is_exclusive(x_611); +if (x_615 == 0) +{ +return x_611; +} +else +{ +lean_object* x_616; lean_object* x_617; lean_object* x_618; +x_616 = lean_ctor_get(x_611, 0); +x_617 = lean_ctor_get(x_611, 1); +lean_inc(x_617); +lean_inc(x_616); +lean_dec(x_611); +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; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_622; lean_object* x_623; lean_dec(x_1); -x_645 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_645, 0, x_642); -lean_ctor_set(x_645, 1, x_644); -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_645); -lean_ctor_set(x_646, 1, x_2); -x_1 = x_640; -x_2 = x_646; +x_622 = l_Lean_fieldIdxKind; +x_623 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_622, x_345); +if (lean_obj_tag(x_623) == 0) +{ +lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; +x_624 = l_instInhabitedNat; +x_625 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; +x_626 = lean_panic_fn(x_624, x_625); +x_627 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_627, 0, x_345); +lean_ctor_set(x_627, 1, x_626); +x_628 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_628, 0, x_627); +lean_ctor_set(x_628, 1, x_2); +x_1 = x_343; +x_2 = x_628; +goto _start; +} +else +{ +lean_object* x_630; lean_object* x_631; lean_object* x_632; +x_630 = lean_ctor_get(x_623, 0); +lean_inc(x_630); +lean_dec(x_623); +x_631 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_631, 0, x_345); +lean_ctor_set(x_631, 1, x_630); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_631); +lean_ctor_set(x_632, 1, x_2); +x_1 = x_343; +x_2 = x_632; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; uint8_t x_639; +x_634 = lean_unsigned_to_nat(0u); +x_635 = l_Lean_Syntax_getArg(x_1, x_634); +x_636 = lean_unsigned_to_nat(2u); +x_637 = l_Lean_Syntax_getArg(x_1, x_636); +x_638 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; +lean_inc(x_637); +x_639 = l_Lean_Syntax_isOfKind(x_637, x_638); +if (x_639 == 0) +{ +lean_object* x_640; uint8_t x_641; +x_640 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +lean_inc(x_637); +x_641 = l_Lean_Syntax_isOfKind(x_637, x_640); +if (x_641 == 0) +{ +uint8_t x_642; uint8_t x_643; +lean_dec(x_637); +lean_dec(x_635); +x_642 = l_List_isEmpty___rarg(x_2); +if (x_8 == 0) +{ +uint8_t x_726; +x_726 = 1; +x_643 = x_726; +goto block_725; +} +else +{ +uint8_t x_727; +x_727 = 0; +x_643 = x_727; +goto block_725; +} +block_725: +{ +if (x_642 == 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; +x_644 = lean_box(0); +x_645 = lean_box(x_643); +x_646 = lean_box(x_6); +x_647 = lean_box(x_7); +x_648 = lean_box(x_8); +x_649 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_649, 0, x_1); +lean_closure_set(x_649, 1, x_644); +lean_closure_set(x_649, 2, x_645); +lean_closure_set(x_649, 3, x_2); +lean_closure_set(x_649, 4, x_3); +lean_closure_set(x_649, 5, x_4); +lean_closure_set(x_649, 6, x_5); +lean_closure_set(x_649, 7, x_646); +lean_closure_set(x_649, 8, x_647); +lean_closure_set(x_649, 9, x_648); +x_650 = l_Lean_Elab_Term_observing___rarg(x_649, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_650) == 0) +{ +uint8_t x_651; +x_651 = !lean_is_exclusive(x_650); +if (x_651 == 0) +{ +lean_object* x_652; lean_object* x_653; +x_652 = lean_ctor_get(x_650, 0); +x_653 = lean_array_push(x_9, x_652); +lean_ctor_set(x_650, 0, x_653); +return x_650; +} +else +{ +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_654 = lean_ctor_get(x_650, 0); +x_655 = lean_ctor_get(x_650, 1); +lean_inc(x_655); +lean_inc(x_654); +lean_dec(x_650); +x_656 = lean_array_push(x_9, x_654); +x_657 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_655); +return x_657; +} +} +else +{ +uint8_t x_658; +lean_dec(x_9); +x_658 = !lean_is_exclusive(x_650); +if (x_658 == 0) +{ +return x_650; +} +else +{ +lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_659 = lean_ctor_get(x_650, 0); +x_660 = lean_ctor_get(x_650, 1); +lean_inc(x_660); +lean_inc(x_659); +lean_dec(x_650); +x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_661, 0, x_659); +lean_ctor_set(x_661, 1, x_660); +return x_661; +} +} +} +else +{ +uint8_t x_662; +x_662 = l_Array_isEmpty___rarg(x_3); +if (x_662 == 0) +{ +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; +x_663 = lean_box(0); +x_664 = lean_box(x_643); +x_665 = lean_box(x_6); +x_666 = lean_box(x_7); +x_667 = lean_box(x_8); +x_668 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_668, 0, x_1); +lean_closure_set(x_668, 1, x_663); +lean_closure_set(x_668, 2, x_664); +lean_closure_set(x_668, 3, x_2); +lean_closure_set(x_668, 4, x_3); +lean_closure_set(x_668, 5, x_4); +lean_closure_set(x_668, 6, x_5); +lean_closure_set(x_668, 7, x_665); +lean_closure_set(x_668, 8, x_666); +lean_closure_set(x_668, 9, x_667); +x_669 = l_Lean_Elab_Term_observing___rarg(x_668, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_669) == 0) +{ +uint8_t x_670; +x_670 = !lean_is_exclusive(x_669); +if (x_670 == 0) +{ +lean_object* x_671; lean_object* x_672; +x_671 = lean_ctor_get(x_669, 0); +x_672 = lean_array_push(x_9, x_671); +lean_ctor_set(x_669, 0, x_672); +return x_669; +} +else +{ +lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; +x_673 = lean_ctor_get(x_669, 0); +x_674 = lean_ctor_get(x_669, 1); +lean_inc(x_674); +lean_inc(x_673); +lean_dec(x_669); +x_675 = lean_array_push(x_9, x_673); +x_676 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_676, 0, x_675); +lean_ctor_set(x_676, 1, x_674); +return x_676; +} +} +else +{ +uint8_t x_677; +lean_dec(x_9); +x_677 = !lean_is_exclusive(x_669); +if (x_677 == 0) +{ +return x_669; +} +else +{ +lean_object* x_678; lean_object* x_679; lean_object* x_680; +x_678 = lean_ctor_get(x_669, 0); +x_679 = lean_ctor_get(x_669, 1); +lean_inc(x_679); +lean_inc(x_678); +lean_dec(x_669); +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_678); +lean_ctor_set(x_680, 1, x_679); +return x_680; +} +} +} +else +{ +uint8_t x_681; +x_681 = l_Array_isEmpty___rarg(x_4); +if (x_681 == 0) +{ +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_682 = lean_box(0); +x_683 = lean_box(x_643); +x_684 = lean_box(x_6); +x_685 = lean_box(x_7); +x_686 = lean_box(x_8); +x_687 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_687, 0, x_1); +lean_closure_set(x_687, 1, x_682); +lean_closure_set(x_687, 2, x_683); +lean_closure_set(x_687, 3, x_2); +lean_closure_set(x_687, 4, x_3); +lean_closure_set(x_687, 5, x_4); +lean_closure_set(x_687, 6, x_5); +lean_closure_set(x_687, 7, x_684); +lean_closure_set(x_687, 8, x_685); +lean_closure_set(x_687, 9, x_686); +x_688 = l_Lean_Elab_Term_observing___rarg(x_687, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_688) == 0) +{ +uint8_t x_689; +x_689 = !lean_is_exclusive(x_688); +if (x_689 == 0) +{ +lean_object* x_690; lean_object* x_691; +x_690 = lean_ctor_get(x_688, 0); +x_691 = lean_array_push(x_9, x_690); +lean_ctor_set(x_688, 0, x_691); +return x_688; +} +else +{ +lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; +x_692 = lean_ctor_get(x_688, 0); +x_693 = lean_ctor_get(x_688, 1); +lean_inc(x_693); +lean_inc(x_692); +lean_dec(x_688); +x_694 = lean_array_push(x_9, x_692); +x_695 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_695, 0, x_694); +lean_ctor_set(x_695, 1, x_693); +return x_695; +} +} +else +{ +uint8_t x_696; +lean_dec(x_9); +x_696 = !lean_is_exclusive(x_688); +if (x_696 == 0) +{ +return x_688; +} +else +{ +lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_697 = lean_ctor_get(x_688, 0); +x_698 = lean_ctor_get(x_688, 1); +lean_inc(x_698); +lean_inc(x_697); +lean_dec(x_688); +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_697); +lean_ctor_set(x_699, 1, x_698); +return x_699; +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; +x_700 = 1; +x_701 = lean_box(x_700); +x_702 = lean_box(x_700); +x_703 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_703, 0, x_1); +lean_closure_set(x_703, 1, x_5); +lean_closure_set(x_703, 2, x_701); +lean_closure_set(x_703, 3, x_702); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_704 = l_Lean_Elab_Term_observing___rarg(x_703, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_704) == 0) +{ +lean_object* x_705; lean_object* x_706; lean_object* x_707; +x_705 = lean_ctor_get(x_704, 0); +lean_inc(x_705); +x_706 = lean_ctor_get(x_704, 1); +lean_inc(x_706); +lean_dec(x_704); +x_707 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_705, x_10, x_11, x_12, x_13, x_14, x_15, x_706); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_707; +} +else +{ +uint8_t x_708; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_708 = !lean_is_exclusive(x_704); +if (x_708 == 0) +{ +return x_704; +} +else +{ +lean_object* x_709; lean_object* x_710; lean_object* x_711; +x_709 = lean_ctor_get(x_704, 0); +x_710 = lean_ctor_get(x_704, 1); +lean_inc(x_710); +lean_inc(x_709); +lean_dec(x_704); +x_711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_711, 0, x_709); +lean_ctor_set(x_711, 1, x_710); +return x_711; +} +} +} +else +{ +lean_object* x_712; uint8_t x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_712 = lean_box(0); +x_713 = 1; +x_714 = lean_box(x_643); +x_715 = lean_box(x_713); +x_716 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_716, 0, x_1); +lean_closure_set(x_716, 1, x_5); +lean_closure_set(x_716, 2, x_714); +lean_closure_set(x_716, 3, x_715); +lean_closure_set(x_716, 4, x_712); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_717 = l_Lean_Elab_Term_observing___rarg(x_716, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_717) == 0) +{ +lean_object* x_718; lean_object* x_719; lean_object* x_720; +x_718 = lean_ctor_get(x_717, 0); +lean_inc(x_718); +x_719 = lean_ctor_get(x_717, 1); +lean_inc(x_719); +lean_dec(x_717); +x_720 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_718, x_10, x_11, x_12, x_13, x_14, x_15, x_719); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_720; +} +else +{ +uint8_t x_721; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_721 = !lean_is_exclusive(x_717); +if (x_721 == 0) +{ +return x_717; +} +else +{ +lean_object* x_722; lean_object* x_723; lean_object* x_724; +x_722 = lean_ctor_get(x_717, 0); +x_723 = lean_ctor_get(x_717, 1); +lean_inc(x_723); +lean_inc(x_722); +lean_dec(x_717); +x_724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_724, 0, x_722); +lean_ctor_set(x_724, 1, x_723); +return x_724; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; +lean_dec(x_1); +x_728 = l_Lean_Syntax_getId(x_637); +x_729 = lean_erase_macro_scopes(x_728); +x_730 = l_Lean_Name_components(x_729); +lean_inc(x_635); +x_731 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_635, x_637, x_730); +x_732 = l_List_append___rarg(x_731, x_2); +x_1 = x_635; +x_2 = x_732; goto _start; } } else { -lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; uint8_t x_653; -x_648 = lean_unsigned_to_nat(0u); -x_649 = l_Lean_Syntax_getArg(x_1, x_648); -x_650 = lean_unsigned_to_nat(2u); -x_651 = l_Lean_Syntax_getArg(x_1, x_650); -x_652 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; -lean_inc(x_651); -x_653 = l_Lean_Syntax_isOfKind(x_651, x_652); -if (x_653 == 0) -{ -lean_object* x_654; uint8_t x_655; -x_654 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -lean_inc(x_651); -x_655 = l_Lean_Syntax_isOfKind(x_651, x_654); -if (x_655 == 0) -{ -uint8_t x_656; uint8_t x_657; -lean_dec(x_651); -lean_dec(x_649); -x_656 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_842; -x_842 = 1; -x_657 = x_842; -goto block_841; -} -else -{ -uint8_t x_843; -x_843 = 0; -x_657 = x_843; -goto block_841; -} -block_841: -{ -lean_object* x_658; -if (x_656 == 0) -{ -lean_object* x_743; -x_743 = lean_box(0); -x_658 = x_743; -goto block_742; -} -else -{ -uint8_t x_744; -x_744 = l_Array_isEmpty___rarg(x_3); -if (x_744 == 0) -{ -lean_object* x_745; -x_745 = lean_box(0); -x_658 = x_745; -goto block_742; -} -else -{ -uint8_t x_746; -x_746 = l_Array_isEmpty___rarg(x_4); -if (x_746 == 0) -{ -lean_object* x_747; -x_747 = lean_box(0); -x_658 = x_747; -goto block_742; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; uint8_t x_777; lean_object* x_778; -x_748 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_749 = lean_ctor_get(x_748, 0); -lean_inc(x_749); -x_750 = lean_ctor_get(x_748, 1); -lean_inc(x_750); -if (lean_is_exclusive(x_748)) { - lean_ctor_release(x_748, 0); - lean_ctor_release(x_748, 1); - x_751 = x_748; -} else { - lean_dec_ref(x_748); - x_751 = lean_box(0); -} -x_777 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_778 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_777, x_777, x_10, x_11, x_12, x_13, x_14, x_15, x_750); -if (lean_obj_tag(x_778) == 0) -{ -lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; uint8_t x_785; -lean_dec(x_751); -x_779 = lean_ctor_get(x_778, 0); -lean_inc(x_779); -x_780 = lean_ctor_get(x_778, 1); -lean_inc(x_780); -lean_dec(x_778); -x_781 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_780); -x_782 = lean_ctor_get(x_781, 0); -lean_inc(x_782); -x_783 = lean_ctor_get(x_781, 1); -lean_inc(x_783); -lean_dec(x_781); -x_784 = l_Lean_Elab_Term_SavedState_restore(x_749, x_777, x_10, x_11, x_12, x_13, x_14, x_15, x_783); -x_785 = !lean_is_exclusive(x_784); -if (x_785 == 0) -{ -lean_object* x_786; lean_object* x_787; lean_object* x_788; -x_786 = lean_ctor_get(x_784, 1); -x_787 = lean_ctor_get(x_784, 0); -lean_dec(x_787); -lean_ctor_set(x_784, 1, x_782); -lean_ctor_set(x_784, 0, x_779); -x_788 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_784, x_10, x_11, x_12, x_13, x_14, x_15, x_786); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_788; -} -else -{ -lean_object* x_789; lean_object* x_790; lean_object* x_791; -x_789 = lean_ctor_get(x_784, 1); -lean_inc(x_789); -lean_dec(x_784); -x_790 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_790, 0, x_779); -lean_ctor_set(x_790, 1, x_782); -x_791 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_790, x_10, x_11, x_12, x_13, x_14, x_15, x_789); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_791; -} -} -else -{ -lean_object* x_792; lean_object* x_793; -x_792 = lean_ctor_get(x_778, 0); -lean_inc(x_792); -x_793 = lean_ctor_get(x_778, 1); -lean_inc(x_793); -lean_dec(x_778); -x_752 = x_792; -x_753 = x_793; -goto block_776; -} -block_776: -{ -if (lean_obj_tag(x_752) == 0) -{ -lean_object* x_754; lean_object* x_755; lean_object* x_756; uint8_t x_757; lean_object* x_758; uint8_t x_759; -lean_dec(x_751); -x_754 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_753); -x_755 = lean_ctor_get(x_754, 0); -lean_inc(x_755); -x_756 = lean_ctor_get(x_754, 1); -lean_inc(x_756); -lean_dec(x_754); -x_757 = 1; -x_758 = l_Lean_Elab_Term_SavedState_restore(x_749, x_757, x_10, x_11, x_12, x_13, x_14, x_15, x_756); -x_759 = !lean_is_exclusive(x_758); -if (x_759 == 0) -{ -lean_object* x_760; lean_object* x_761; lean_object* x_762; -x_760 = lean_ctor_get(x_758, 1); -x_761 = lean_ctor_get(x_758, 0); -lean_dec(x_761); -lean_ctor_set_tag(x_758, 1); -lean_ctor_set(x_758, 1, x_755); -lean_ctor_set(x_758, 0, x_752); -x_762 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_758, x_10, x_11, x_12, x_13, x_14, x_15, x_760); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_762; -} -else -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; -x_763 = lean_ctor_get(x_758, 1); -lean_inc(x_763); -lean_dec(x_758); -x_764 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_764, 0, x_752); -lean_ctor_set(x_764, 1, x_755); -x_765 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_764, x_10, x_11, x_12, x_13, x_14, x_15, x_763); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_765; -} -} -else -{ -lean_object* x_766; lean_object* x_767; uint8_t x_768; -lean_dec(x_9); -x_766 = lean_ctor_get(x_752, 0); -lean_inc(x_766); -x_767 = l_Lean_Elab_postponeExceptionId; -x_768 = lean_nat_dec_eq(x_766, x_767); -lean_dec(x_766); -if (x_768 == 0) -{ -lean_object* x_769; -lean_dec(x_749); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_751)) { - x_769 = lean_alloc_ctor(1, 2, 0); -} else { - x_769 = x_751; - lean_ctor_set_tag(x_769, 1); -} -lean_ctor_set(x_769, 0, x_752); -lean_ctor_set(x_769, 1, x_753); -return x_769; -} -else -{ -uint8_t x_770; lean_object* x_771; uint8_t x_772; -lean_dec(x_751); -x_770 = 1; -x_771 = l_Lean_Elab_Term_SavedState_restore(x_749, x_770, x_10, x_11, x_12, x_13, x_14, x_15, x_753); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_772 = !lean_is_exclusive(x_771); -if (x_772 == 0) -{ -lean_object* x_773; -x_773 = lean_ctor_get(x_771, 0); -lean_dec(x_773); -lean_ctor_set_tag(x_771, 1); -lean_ctor_set(x_771, 0, x_752); -return x_771; -} -else -{ -lean_object* x_774; lean_object* x_775; -x_774 = lean_ctor_get(x_771, 1); -lean_inc(x_774); -lean_dec(x_771); -x_775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_775, 0, x_752); -lean_ctor_set(x_775, 1, x_774); -return x_775; -} -} -} -} -} -else -{ -lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; uint8_t x_824; lean_object* x_825; -x_794 = lean_box(0); -x_795 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_795, 1); -lean_inc(x_797); -if (lean_is_exclusive(x_795)) { - lean_ctor_release(x_795, 0); - lean_ctor_release(x_795, 1); - x_798 = x_795; -} else { - lean_dec_ref(x_795); - x_798 = lean_box(0); -} -x_824 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_825 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_657, x_824, x_794, x_10, x_11, x_12, x_13, x_14, x_15, x_797); -if (lean_obj_tag(x_825) == 0) -{ -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; -lean_dec(x_798); -x_826 = lean_ctor_get(x_825, 0); -lean_inc(x_826); -x_827 = lean_ctor_get(x_825, 1); -lean_inc(x_827); -lean_dec(x_825); -x_828 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_827); -x_829 = lean_ctor_get(x_828, 0); -lean_inc(x_829); -x_830 = lean_ctor_get(x_828, 1); -lean_inc(x_830); -lean_dec(x_828); -x_831 = l_Lean_Elab_Term_SavedState_restore(x_796, x_824, x_10, x_11, x_12, x_13, x_14, x_15, x_830); -x_832 = !lean_is_exclusive(x_831); -if (x_832 == 0) -{ -lean_object* x_833; lean_object* x_834; lean_object* x_835; -x_833 = lean_ctor_get(x_831, 1); -x_834 = lean_ctor_get(x_831, 0); -lean_dec(x_834); -lean_ctor_set(x_831, 1, x_829); -lean_ctor_set(x_831, 0, x_826); -x_835 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_831, x_10, x_11, x_12, x_13, x_14, x_15, x_833); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_835; -} -else -{ -lean_object* x_836; lean_object* x_837; lean_object* x_838; -x_836 = lean_ctor_get(x_831, 1); -lean_inc(x_836); -lean_dec(x_831); -x_837 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_837, 0, x_826); -lean_ctor_set(x_837, 1, x_829); -x_838 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_837, x_10, x_11, x_12, x_13, x_14, x_15, x_836); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_838; -} -} -else -{ -lean_object* x_839; lean_object* x_840; -x_839 = lean_ctor_get(x_825, 0); -lean_inc(x_839); -x_840 = lean_ctor_get(x_825, 1); -lean_inc(x_840); -lean_dec(x_825); -x_799 = x_839; -x_800 = x_840; -goto block_823; -} -block_823: -{ -if (lean_obj_tag(x_799) == 0) -{ -lean_object* x_801; lean_object* x_802; lean_object* x_803; uint8_t x_804; lean_object* x_805; uint8_t x_806; -lean_dec(x_798); -x_801 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_800); -x_802 = lean_ctor_get(x_801, 0); -lean_inc(x_802); -x_803 = lean_ctor_get(x_801, 1); -lean_inc(x_803); -lean_dec(x_801); -x_804 = 1; -x_805 = l_Lean_Elab_Term_SavedState_restore(x_796, x_804, x_10, x_11, x_12, x_13, x_14, x_15, x_803); -x_806 = !lean_is_exclusive(x_805); -if (x_806 == 0) -{ -lean_object* x_807; lean_object* x_808; lean_object* x_809; -x_807 = lean_ctor_get(x_805, 1); -x_808 = lean_ctor_get(x_805, 0); -lean_dec(x_808); -lean_ctor_set_tag(x_805, 1); -lean_ctor_set(x_805, 1, x_802); -lean_ctor_set(x_805, 0, x_799); -x_809 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_805, x_10, x_11, x_12, x_13, x_14, x_15, x_807); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_809; -} -else -{ -lean_object* x_810; lean_object* x_811; lean_object* x_812; -x_810 = lean_ctor_get(x_805, 1); -lean_inc(x_810); -lean_dec(x_805); -x_811 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_811, 0, x_799); -lean_ctor_set(x_811, 1, x_802); -x_812 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_811, x_10, x_11, x_12, x_13, x_14, x_15, x_810); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_812; -} -} -else -{ -lean_object* x_813; lean_object* x_814; uint8_t x_815; -lean_dec(x_9); -x_813 = lean_ctor_get(x_799, 0); -lean_inc(x_813); -x_814 = l_Lean_Elab_postponeExceptionId; -x_815 = lean_nat_dec_eq(x_813, x_814); -lean_dec(x_813); -if (x_815 == 0) -{ -lean_object* x_816; -lean_dec(x_796); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_798)) { - x_816 = lean_alloc_ctor(1, 2, 0); -} else { - x_816 = x_798; - lean_ctor_set_tag(x_816, 1); -} -lean_ctor_set(x_816, 0, x_799); -lean_ctor_set(x_816, 1, x_800); -return x_816; -} -else -{ -uint8_t x_817; lean_object* x_818; uint8_t x_819; -lean_dec(x_798); -x_817 = 1; -x_818 = l_Lean_Elab_Term_SavedState_restore(x_796, x_817, x_10, x_11, x_12, x_13, x_14, x_15, x_800); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_819 = !lean_is_exclusive(x_818); -if (x_819 == 0) -{ -lean_object* x_820; -x_820 = lean_ctor_get(x_818, 0); -lean_dec(x_820); -lean_ctor_set_tag(x_818, 1); -lean_ctor_set(x_818, 0, x_799); -return x_818; -} -else -{ -lean_object* x_821; lean_object* x_822; -x_821 = lean_ctor_get(x_818, 1); -lean_inc(x_821); -lean_dec(x_818); -x_822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_822, 0, x_799); -lean_ctor_set(x_822, 1, x_821); -return x_822; -} -} -} -} -} -} -} -} -block_742: -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_699; lean_object* x_700; uint8_t x_724; lean_object* x_725; -lean_dec(x_658); -x_659 = lean_box(0); -x_660 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_661 = lean_ctor_get(x_660, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_660, 1); -lean_inc(x_662); -if (lean_is_exclusive(x_660)) { - lean_ctor_release(x_660, 0); - lean_ctor_release(x_660, 1); - x_663 = x_660; -} else { - lean_dec_ref(x_660); - x_663 = lean_box(0); -} -x_724 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_725 = l_Lean_Elab_Term_elabTerm(x_1, x_659, x_657, x_724, x_10, x_11, x_12, x_13, x_14, x_15, x_662); -if (lean_obj_tag(x_725) == 0) -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; -x_726 = lean_ctor_get(x_725, 0); -lean_inc(x_726); -x_727 = lean_ctor_get(x_725, 1); -lean_inc(x_727); -lean_dec(x_725); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_728 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_726, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_727); -if (lean_obj_tag(x_728) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_729; lean_object* x_730; -lean_dec(x_663); -lean_dec(x_5); -x_729 = lean_ctor_get(x_728, 0); -lean_inc(x_729); -x_730 = lean_ctor_get(x_728, 1); -lean_inc(x_730); -lean_dec(x_728); -x_699 = x_729; -x_700 = x_730; -goto block_723; -} -else -{ -lean_object* x_731; lean_object* x_732; lean_object* x_733; -x_731 = lean_ctor_get(x_728, 0); -lean_inc(x_731); -x_732 = lean_ctor_get(x_728, 1); -lean_inc(x_732); -lean_dec(x_728); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_733 = l_Lean_Elab_Term_ensureHasType(x_5, x_731, x_659, x_10, x_11, x_12, x_13, x_14, x_15, x_732); -if (lean_obj_tag(x_733) == 0) -{ lean_object* x_734; lean_object* x_735; -lean_dec(x_663); -x_734 = lean_ctor_get(x_733, 0); -lean_inc(x_734); -x_735 = lean_ctor_get(x_733, 1); -lean_inc(x_735); -lean_dec(x_733); -x_699 = x_734; -x_700 = x_735; -goto block_723; -} -else -{ -lean_object* x_736; lean_object* x_737; -x_736 = lean_ctor_get(x_733, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_733, 1); -lean_inc(x_737); -lean_dec(x_733); -x_664 = x_736; -x_665 = x_737; -goto block_698; -} -} -} -else -{ -lean_object* x_738; lean_object* x_739; -lean_dec(x_5); -x_738 = lean_ctor_get(x_728, 0); -lean_inc(x_738); -x_739 = lean_ctor_get(x_728, 1); -lean_inc(x_739); -lean_dec(x_728); -x_664 = x_738; -x_665 = x_739; -goto block_698; -} -} -else -{ -lean_object* x_740; lean_object* x_741; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_740 = lean_ctor_get(x_725, 0); -lean_inc(x_740); -x_741 = lean_ctor_get(x_725, 1); -lean_inc(x_741); -lean_dec(x_725); -x_664 = x_740; -x_665 = x_741; -goto block_698; -} -block_698: -{ -if (lean_obj_tag(x_664) == 0) -{ -lean_object* x_666; uint8_t x_667; -lean_dec(x_663); -x_666 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_665); -x_667 = !lean_is_exclusive(x_666); -if (x_667 == 0) -{ -lean_object* x_668; lean_object* x_669; uint8_t x_670; lean_object* x_671; uint8_t x_672; -x_668 = lean_ctor_get(x_666, 0); -x_669 = lean_ctor_get(x_666, 1); -x_670 = 1; -x_671 = l_Lean_Elab_Term_SavedState_restore(x_661, x_670, x_10, x_11, x_12, x_13, x_14, x_15, x_669); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_672 = !lean_is_exclusive(x_671); -if (x_672 == 0) -{ -lean_object* x_673; lean_object* x_674; lean_object* x_675; -x_673 = lean_ctor_get(x_671, 1); -x_674 = lean_ctor_get(x_671, 0); -lean_dec(x_674); -lean_ctor_set_tag(x_671, 1); -lean_ctor_set(x_671, 1, x_668); -lean_ctor_set(x_671, 0, x_664); -x_675 = lean_array_push(x_9, x_671); -lean_ctor_set(x_666, 1, x_673); -lean_ctor_set(x_666, 0, x_675); -return x_666; -} -else -{ -lean_object* x_676; lean_object* x_677; lean_object* x_678; -x_676 = lean_ctor_get(x_671, 1); -lean_inc(x_676); -lean_dec(x_671); -x_677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_677, 0, x_664); -lean_ctor_set(x_677, 1, x_668); -x_678 = lean_array_push(x_9, x_677); -lean_ctor_set(x_666, 1, x_676); -lean_ctor_set(x_666, 0, x_678); -return x_666; -} -} -else -{ -lean_object* x_679; lean_object* x_680; uint8_t 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; -x_679 = lean_ctor_get(x_666, 0); -x_680 = lean_ctor_get(x_666, 1); -lean_inc(x_680); -lean_inc(x_679); -lean_dec(x_666); -x_681 = 1; -x_682 = l_Lean_Elab_Term_SavedState_restore(x_661, x_681, x_10, x_11, x_12, x_13, x_14, x_15, x_680); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_683 = lean_ctor_get(x_682, 1); -lean_inc(x_683); -if (lean_is_exclusive(x_682)) { - lean_ctor_release(x_682, 0); - lean_ctor_release(x_682, 1); - x_684 = x_682; -} else { - lean_dec_ref(x_682); - x_684 = lean_box(0); -} -if (lean_is_scalar(x_684)) { - x_685 = lean_alloc_ctor(1, 2, 0); -} else { - x_685 = x_684; - lean_ctor_set_tag(x_685, 1); -} -lean_ctor_set(x_685, 0, x_664); -lean_ctor_set(x_685, 1, x_679); -x_686 = lean_array_push(x_9, x_685); -x_687 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_687, 0, x_686); -lean_ctor_set(x_687, 1, x_683); -return x_687; -} -} -else -{ -lean_object* x_688; lean_object* x_689; uint8_t x_690; -lean_dec(x_9); -x_688 = lean_ctor_get(x_664, 0); -lean_inc(x_688); -x_689 = l_Lean_Elab_postponeExceptionId; -x_690 = lean_nat_dec_eq(x_688, x_689); -lean_dec(x_688); -if (x_690 == 0) -{ -lean_object* x_691; -lean_dec(x_661); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_663)) { - x_691 = lean_alloc_ctor(1, 2, 0); -} else { - x_691 = x_663; - lean_ctor_set_tag(x_691, 1); -} -lean_ctor_set(x_691, 0, x_664); -lean_ctor_set(x_691, 1, x_665); -return x_691; -} -else -{ -uint8_t x_692; lean_object* x_693; uint8_t x_694; -lean_dec(x_663); -x_692 = 1; -x_693 = l_Lean_Elab_Term_SavedState_restore(x_661, x_692, x_10, x_11, x_12, x_13, x_14, x_15, x_665); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_694 = !lean_is_exclusive(x_693); -if (x_694 == 0) -{ -lean_object* x_695; -x_695 = lean_ctor_get(x_693, 0); -lean_dec(x_695); -lean_ctor_set_tag(x_693, 1); -lean_ctor_set(x_693, 0, x_664); -return x_693; -} -else -{ -lean_object* x_696; lean_object* x_697; -x_696 = lean_ctor_get(x_693, 1); -lean_inc(x_696); -lean_dec(x_693); -x_697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_697, 0, x_664); -lean_ctor_set(x_697, 1, x_696); -return x_697; -} -} -} -} -block_723: -{ -lean_object* x_701; uint8_t x_702; -x_701 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_700); -x_702 = !lean_is_exclusive(x_701); -if (x_702 == 0) -{ -lean_object* x_703; lean_object* x_704; uint8_t x_705; lean_object* x_706; uint8_t x_707; -x_703 = lean_ctor_get(x_701, 0); -x_704 = lean_ctor_get(x_701, 1); -x_705 = 1; -x_706 = l_Lean_Elab_Term_SavedState_restore(x_661, x_705, x_10, x_11, x_12, x_13, x_14, x_15, x_704); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_707 = !lean_is_exclusive(x_706); -if (x_707 == 0) -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; -x_708 = lean_ctor_get(x_706, 1); -x_709 = lean_ctor_get(x_706, 0); -lean_dec(x_709); -lean_ctor_set(x_706, 1, x_703); -lean_ctor_set(x_706, 0, x_699); -x_710 = lean_array_push(x_9, x_706); -lean_ctor_set(x_701, 1, x_708); -lean_ctor_set(x_701, 0, x_710); -return x_701; -} -else -{ -lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_711 = lean_ctor_get(x_706, 1); -lean_inc(x_711); -lean_dec(x_706); -x_712 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_712, 0, x_699); -lean_ctor_set(x_712, 1, x_703); -x_713 = lean_array_push(x_9, x_712); -lean_ctor_set(x_701, 1, x_711); -lean_ctor_set(x_701, 0, x_713); -return x_701; -} -} -else -{ -lean_object* x_714; lean_object* x_715; uint8_t x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; -x_714 = lean_ctor_get(x_701, 0); -x_715 = lean_ctor_get(x_701, 1); -lean_inc(x_715); -lean_inc(x_714); -lean_dec(x_701); -x_716 = 1; -x_717 = l_Lean_Elab_Term_SavedState_restore(x_661, x_716, x_10, x_11, x_12, x_13, x_14, x_15, x_715); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_718 = lean_ctor_get(x_717, 1); -lean_inc(x_718); -if (lean_is_exclusive(x_717)) { - lean_ctor_release(x_717, 0); - lean_ctor_release(x_717, 1); - x_719 = x_717; -} else { - lean_dec_ref(x_717); - x_719 = lean_box(0); -} -if (lean_is_scalar(x_719)) { - x_720 = lean_alloc_ctor(0, 2, 0); -} else { - x_720 = x_719; -} -lean_ctor_set(x_720, 0, x_699); -lean_ctor_set(x_720, 1, x_714); -x_721 = lean_array_push(x_9, x_720); -x_722 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_722, 0, x_721); -lean_ctor_set(x_722, 1, x_718); -return x_722; -} -} -} -} -} -else -{ -lean_object* x_844; lean_object* x_845; lean_object* x_846; uint8_t x_847; -x_844 = lean_unsigned_to_nat(3u); -x_845 = l_Lean_Syntax_getArg(x_1, x_844); -x_846 = l_Lean_nullKind; -x_847 = l_Lean_Syntax_isNodeOf(x_845, x_846, x_648); -if (x_847 == 0) -{ -uint8_t x_848; uint8_t x_849; -lean_dec(x_651); -lean_dec(x_649); -x_848 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_1034; -x_1034 = 1; -x_849 = x_1034; -goto block_1033; -} -else -{ -uint8_t x_1035; -x_1035 = 0; -x_849 = x_1035; -goto block_1033; -} -block_1033: -{ -lean_object* x_850; -if (x_848 == 0) -{ -lean_object* x_935; -x_935 = lean_box(0); -x_850 = x_935; -goto block_934; -} -else -{ -uint8_t x_936; -x_936 = l_Array_isEmpty___rarg(x_3); -if (x_936 == 0) -{ -lean_object* x_937; -x_937 = lean_box(0); -x_850 = x_937; -goto block_934; -} -else -{ -uint8_t x_938; -x_938 = l_Array_isEmpty___rarg(x_4); -if (x_938 == 0) -{ -lean_object* x_939; -x_939 = lean_box(0); -x_850 = x_939; -goto block_934; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; uint8_t x_969; lean_object* x_970; -x_940 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_941 = lean_ctor_get(x_940, 0); -lean_inc(x_941); -x_942 = lean_ctor_get(x_940, 1); -lean_inc(x_942); -if (lean_is_exclusive(x_940)) { - lean_ctor_release(x_940, 0); - lean_ctor_release(x_940, 1); - x_943 = x_940; -} else { - lean_dec_ref(x_940); - x_943 = lean_box(0); -} -x_969 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_970 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_969, x_969, x_10, x_11, x_12, x_13, x_14, x_15, x_942); -if (lean_obj_tag(x_970) == 0) -{ -lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; uint8_t x_977; -lean_dec(x_943); -x_971 = lean_ctor_get(x_970, 0); -lean_inc(x_971); -x_972 = lean_ctor_get(x_970, 1); -lean_inc(x_972); -lean_dec(x_970); -x_973 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_972); -x_974 = lean_ctor_get(x_973, 0); -lean_inc(x_974); -x_975 = lean_ctor_get(x_973, 1); -lean_inc(x_975); -lean_dec(x_973); -x_976 = l_Lean_Elab_Term_SavedState_restore(x_941, x_969, x_10, x_11, x_12, x_13, x_14, x_15, x_975); -x_977 = !lean_is_exclusive(x_976); -if (x_977 == 0) -{ -lean_object* x_978; lean_object* x_979; lean_object* x_980; -x_978 = lean_ctor_get(x_976, 1); -x_979 = lean_ctor_get(x_976, 0); -lean_dec(x_979); -lean_ctor_set(x_976, 1, x_974); -lean_ctor_set(x_976, 0, x_971); -x_980 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_976, x_10, x_11, x_12, x_13, x_14, x_15, x_978); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_980; -} -else -{ -lean_object* x_981; lean_object* x_982; lean_object* x_983; -x_981 = lean_ctor_get(x_976, 1); -lean_inc(x_981); -lean_dec(x_976); -x_982 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_982, 0, x_971); -lean_ctor_set(x_982, 1, x_974); -x_983 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_982, x_10, x_11, x_12, x_13, x_14, x_15, x_981); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_983; -} -} -else -{ -lean_object* x_984; lean_object* x_985; -x_984 = lean_ctor_get(x_970, 0); -lean_inc(x_984); -x_985 = lean_ctor_get(x_970, 1); -lean_inc(x_985); -lean_dec(x_970); -x_944 = x_984; -x_945 = x_985; -goto block_968; -} -block_968: -{ -if (lean_obj_tag(x_944) == 0) -{ -lean_object* x_946; lean_object* x_947; lean_object* x_948; uint8_t x_949; lean_object* x_950; uint8_t x_951; -lean_dec(x_943); -x_946 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_945); -x_947 = lean_ctor_get(x_946, 0); -lean_inc(x_947); -x_948 = lean_ctor_get(x_946, 1); -lean_inc(x_948); -lean_dec(x_946); -x_949 = 1; -x_950 = l_Lean_Elab_Term_SavedState_restore(x_941, x_949, x_10, x_11, x_12, x_13, x_14, x_15, x_948); -x_951 = !lean_is_exclusive(x_950); -if (x_951 == 0) -{ -lean_object* x_952; lean_object* x_953; lean_object* x_954; -x_952 = lean_ctor_get(x_950, 1); -x_953 = lean_ctor_get(x_950, 0); -lean_dec(x_953); -lean_ctor_set_tag(x_950, 1); -lean_ctor_set(x_950, 1, x_947); -lean_ctor_set(x_950, 0, x_944); -x_954 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_950, x_10, x_11, x_12, x_13, x_14, x_15, x_952); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_954; -} -else -{ -lean_object* x_955; lean_object* x_956; lean_object* x_957; -x_955 = lean_ctor_get(x_950, 1); -lean_inc(x_955); -lean_dec(x_950); -x_956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_956, 0, x_944); -lean_ctor_set(x_956, 1, x_947); -x_957 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_956, x_10, x_11, x_12, x_13, x_14, x_15, x_955); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_957; -} -} -else -{ -lean_object* x_958; lean_object* x_959; uint8_t x_960; -lean_dec(x_9); -x_958 = lean_ctor_get(x_944, 0); -lean_inc(x_958); -x_959 = l_Lean_Elab_postponeExceptionId; -x_960 = lean_nat_dec_eq(x_958, x_959); -lean_dec(x_958); -if (x_960 == 0) -{ -lean_object* x_961; -lean_dec(x_941); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_943)) { - x_961 = lean_alloc_ctor(1, 2, 0); -} else { - x_961 = x_943; - lean_ctor_set_tag(x_961, 1); -} -lean_ctor_set(x_961, 0, x_944); -lean_ctor_set(x_961, 1, x_945); -return x_961; -} -else -{ -uint8_t x_962; lean_object* x_963; uint8_t x_964; -lean_dec(x_943); -x_962 = 1; -x_963 = l_Lean_Elab_Term_SavedState_restore(x_941, x_962, x_10, x_11, x_12, x_13, x_14, x_15, x_945); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_964 = !lean_is_exclusive(x_963); -if (x_964 == 0) -{ -lean_object* x_965; -x_965 = lean_ctor_get(x_963, 0); -lean_dec(x_965); -lean_ctor_set_tag(x_963, 1); -lean_ctor_set(x_963, 0, x_944); -return x_963; -} -else -{ -lean_object* x_966; lean_object* x_967; -x_966 = lean_ctor_get(x_963, 1); -lean_inc(x_966); -lean_dec(x_963); -x_967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_967, 0, x_944); -lean_ctor_set(x_967, 1, x_966); -return x_967; -} -} -} -} -} -else -{ -lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; uint8_t x_1016; lean_object* x_1017; -x_986 = lean_box(0); -x_987 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_988 = lean_ctor_get(x_987, 0); -lean_inc(x_988); -x_989 = lean_ctor_get(x_987, 1); -lean_inc(x_989); -if (lean_is_exclusive(x_987)) { - lean_ctor_release(x_987, 0); - lean_ctor_release(x_987, 1); - x_990 = x_987; -} else { - lean_dec_ref(x_987); - x_990 = lean_box(0); -} -x_1016 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1017 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_849, x_1016, x_986, x_10, x_11, x_12, x_13, x_14, x_15, x_989); -if (lean_obj_tag(x_1017) == 0) -{ -lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; uint8_t x_1024; -lean_dec(x_990); -x_1018 = lean_ctor_get(x_1017, 0); -lean_inc(x_1018); -x_1019 = lean_ctor_get(x_1017, 1); -lean_inc(x_1019); -lean_dec(x_1017); -x_1020 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1019); -x_1021 = lean_ctor_get(x_1020, 0); -lean_inc(x_1021); -x_1022 = lean_ctor_get(x_1020, 1); -lean_inc(x_1022); -lean_dec(x_1020); -x_1023 = l_Lean_Elab_Term_SavedState_restore(x_988, x_1016, x_10, x_11, x_12, x_13, x_14, x_15, x_1022); -x_1024 = !lean_is_exclusive(x_1023); -if (x_1024 == 0) -{ -lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; -x_1025 = lean_ctor_get(x_1023, 1); -x_1026 = lean_ctor_get(x_1023, 0); -lean_dec(x_1026); -lean_ctor_set(x_1023, 1, x_1021); -lean_ctor_set(x_1023, 0, x_1018); -x_1027 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1023, x_10, x_11, x_12, x_13, x_14, x_15, x_1025); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1027; -} -else -{ -lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; -x_1028 = lean_ctor_get(x_1023, 1); -lean_inc(x_1028); -lean_dec(x_1023); -x_1029 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1029, 0, x_1018); -lean_ctor_set(x_1029, 1, x_1021); -x_1030 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1029, x_10, x_11, x_12, x_13, x_14, x_15, x_1028); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1030; -} -} -else -{ -lean_object* x_1031; lean_object* x_1032; -x_1031 = lean_ctor_get(x_1017, 0); -lean_inc(x_1031); -x_1032 = lean_ctor_get(x_1017, 1); -lean_inc(x_1032); -lean_dec(x_1017); -x_991 = x_1031; -x_992 = x_1032; -goto block_1015; -} -block_1015: -{ -if (lean_obj_tag(x_991) == 0) -{ -lean_object* x_993; lean_object* x_994; lean_object* x_995; uint8_t x_996; lean_object* x_997; uint8_t x_998; -lean_dec(x_990); -x_993 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_992); -x_994 = lean_ctor_get(x_993, 0); -lean_inc(x_994); -x_995 = lean_ctor_get(x_993, 1); -lean_inc(x_995); -lean_dec(x_993); -x_996 = 1; -x_997 = l_Lean_Elab_Term_SavedState_restore(x_988, x_996, x_10, x_11, x_12, x_13, x_14, x_15, x_995); -x_998 = !lean_is_exclusive(x_997); -if (x_998 == 0) -{ -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; -x_999 = lean_ctor_get(x_997, 1); -x_1000 = lean_ctor_get(x_997, 0); -lean_dec(x_1000); -lean_ctor_set_tag(x_997, 1); -lean_ctor_set(x_997, 1, x_994); -lean_ctor_set(x_997, 0, x_991); -x_1001 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_997, x_10, x_11, x_12, x_13, x_14, x_15, x_999); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1001; -} -else -{ -lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; -x_1002 = lean_ctor_get(x_997, 1); -lean_inc(x_1002); -lean_dec(x_997); -x_1003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1003, 0, x_991); -lean_ctor_set(x_1003, 1, x_994); -x_1004 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1003, x_10, x_11, x_12, x_13, x_14, x_15, x_1002); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1004; -} -} -else -{ -lean_object* x_1005; lean_object* x_1006; uint8_t x_1007; -lean_dec(x_9); -x_1005 = lean_ctor_get(x_991, 0); -lean_inc(x_1005); -x_1006 = l_Lean_Elab_postponeExceptionId; -x_1007 = lean_nat_dec_eq(x_1005, x_1006); -lean_dec(x_1005); -if (x_1007 == 0) -{ -lean_object* x_1008; -lean_dec(x_988); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_990)) { - x_1008 = lean_alloc_ctor(1, 2, 0); -} else { - x_1008 = x_990; - lean_ctor_set_tag(x_1008, 1); -} -lean_ctor_set(x_1008, 0, x_991); -lean_ctor_set(x_1008, 1, x_992); -return x_1008; -} -else -{ -uint8_t x_1009; lean_object* x_1010; uint8_t x_1011; -lean_dec(x_990); -x_1009 = 1; -x_1010 = l_Lean_Elab_Term_SavedState_restore(x_988, x_1009, x_10, x_11, x_12, x_13, x_14, x_15, x_992); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1011 = !lean_is_exclusive(x_1010); -if (x_1011 == 0) -{ -lean_object* x_1012; -x_1012 = lean_ctor_get(x_1010, 0); -lean_dec(x_1012); -lean_ctor_set_tag(x_1010, 1); -lean_ctor_set(x_1010, 0, x_991); -return x_1010; -} -else -{ -lean_object* x_1013; lean_object* x_1014; -x_1013 = lean_ctor_get(x_1010, 1); -lean_inc(x_1013); -lean_dec(x_1010); -x_1014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1014, 0, x_991); -lean_ctor_set(x_1014, 1, x_1013); -return x_1014; -} -} -} -} -} -} -} -} -block_934: -{ -lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_891; lean_object* x_892; uint8_t x_916; lean_object* x_917; -lean_dec(x_850); -x_851 = lean_box(0); -x_852 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_853 = lean_ctor_get(x_852, 0); -lean_inc(x_853); -x_854 = lean_ctor_get(x_852, 1); -lean_inc(x_854); -if (lean_is_exclusive(x_852)) { - lean_ctor_release(x_852, 0); - lean_ctor_release(x_852, 1); - x_855 = x_852; -} else { - lean_dec_ref(x_852); - x_855 = lean_box(0); -} -x_916 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_917 = l_Lean_Elab_Term_elabTerm(x_1, x_851, x_849, x_916, x_10, x_11, x_12, x_13, x_14, x_15, x_854); -if (lean_obj_tag(x_917) == 0) -{ -lean_object* x_918; lean_object* x_919; lean_object* x_920; -x_918 = lean_ctor_get(x_917, 0); -lean_inc(x_918); -x_919 = lean_ctor_get(x_917, 1); -lean_inc(x_919); -lean_dec(x_917); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_920 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_918, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_919); -if (lean_obj_tag(x_920) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_921; lean_object* x_922; -lean_dec(x_855); -lean_dec(x_5); -x_921 = lean_ctor_get(x_920, 0); -lean_inc(x_921); -x_922 = lean_ctor_get(x_920, 1); -lean_inc(x_922); -lean_dec(x_920); -x_891 = x_921; -x_892 = x_922; -goto block_915; -} -else -{ -lean_object* x_923; lean_object* x_924; lean_object* x_925; -x_923 = lean_ctor_get(x_920, 0); -lean_inc(x_923); -x_924 = lean_ctor_get(x_920, 1); -lean_inc(x_924); -lean_dec(x_920); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_925 = l_Lean_Elab_Term_ensureHasType(x_5, x_923, x_851, x_10, x_11, x_12, x_13, x_14, x_15, x_924); -if (lean_obj_tag(x_925) == 0) -{ -lean_object* x_926; lean_object* x_927; -lean_dec(x_855); -x_926 = lean_ctor_get(x_925, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_925, 1); -lean_inc(x_927); -lean_dec(x_925); -x_891 = x_926; -x_892 = x_927; -goto block_915; -} -else -{ -lean_object* x_928; lean_object* x_929; -x_928 = lean_ctor_get(x_925, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_925, 1); -lean_inc(x_929); -lean_dec(x_925); -x_856 = x_928; -x_857 = x_929; -goto block_890; -} -} -} -else -{ -lean_object* x_930; lean_object* x_931; -lean_dec(x_5); -x_930 = lean_ctor_get(x_920, 0); -lean_inc(x_930); -x_931 = lean_ctor_get(x_920, 1); -lean_inc(x_931); -lean_dec(x_920); -x_856 = x_930; -x_857 = x_931; -goto block_890; -} -} -else -{ -lean_object* x_932; lean_object* x_933; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_932 = lean_ctor_get(x_917, 0); -lean_inc(x_932); -x_933 = lean_ctor_get(x_917, 1); -lean_inc(x_933); -lean_dec(x_917); -x_856 = x_932; -x_857 = x_933; -goto block_890; -} -block_890: -{ -if (lean_obj_tag(x_856) == 0) -{ -lean_object* x_858; uint8_t x_859; -lean_dec(x_855); -x_858 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_857); -x_859 = !lean_is_exclusive(x_858); -if (x_859 == 0) -{ -lean_object* x_860; lean_object* x_861; uint8_t x_862; lean_object* x_863; uint8_t x_864; -x_860 = lean_ctor_get(x_858, 0); -x_861 = lean_ctor_get(x_858, 1); -x_862 = 1; -x_863 = l_Lean_Elab_Term_SavedState_restore(x_853, x_862, x_10, x_11, x_12, x_13, x_14, x_15, x_861); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_864 = !lean_is_exclusive(x_863); -if (x_864 == 0) -{ -lean_object* x_865; lean_object* x_866; lean_object* x_867; -x_865 = lean_ctor_get(x_863, 1); -x_866 = lean_ctor_get(x_863, 0); -lean_dec(x_866); -lean_ctor_set_tag(x_863, 1); -lean_ctor_set(x_863, 1, x_860); -lean_ctor_set(x_863, 0, x_856); -x_867 = lean_array_push(x_9, x_863); -lean_ctor_set(x_858, 1, x_865); -lean_ctor_set(x_858, 0, x_867); -return x_858; -} -else -{ -lean_object* x_868; lean_object* x_869; lean_object* x_870; -x_868 = lean_ctor_get(x_863, 1); -lean_inc(x_868); -lean_dec(x_863); -x_869 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_869, 0, x_856); -lean_ctor_set(x_869, 1, x_860); -x_870 = lean_array_push(x_9, x_869); -lean_ctor_set(x_858, 1, x_868); -lean_ctor_set(x_858, 0, x_870); -return x_858; -} -} -else -{ -lean_object* x_871; lean_object* x_872; uint8_t x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; -x_871 = lean_ctor_get(x_858, 0); -x_872 = lean_ctor_get(x_858, 1); -lean_inc(x_872); -lean_inc(x_871); -lean_dec(x_858); -x_873 = 1; -x_874 = l_Lean_Elab_Term_SavedState_restore(x_853, x_873, x_10, x_11, x_12, x_13, x_14, x_15, x_872); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_875 = lean_ctor_get(x_874, 1); -lean_inc(x_875); -if (lean_is_exclusive(x_874)) { - lean_ctor_release(x_874, 0); - lean_ctor_release(x_874, 1); - x_876 = x_874; -} else { - lean_dec_ref(x_874); - x_876 = lean_box(0); -} -if (lean_is_scalar(x_876)) { - x_877 = lean_alloc_ctor(1, 2, 0); -} else { - x_877 = x_876; - lean_ctor_set_tag(x_877, 1); -} -lean_ctor_set(x_877, 0, x_856); -lean_ctor_set(x_877, 1, x_871); -x_878 = lean_array_push(x_9, x_877); -x_879 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_879, 0, x_878); -lean_ctor_set(x_879, 1, x_875); -return x_879; -} -} -else -{ -lean_object* x_880; lean_object* x_881; uint8_t x_882; -lean_dec(x_9); -x_880 = lean_ctor_get(x_856, 0); -lean_inc(x_880); -x_881 = l_Lean_Elab_postponeExceptionId; -x_882 = lean_nat_dec_eq(x_880, x_881); -lean_dec(x_880); -if (x_882 == 0) -{ -lean_object* x_883; -lean_dec(x_853); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_855)) { - x_883 = lean_alloc_ctor(1, 2, 0); -} else { - x_883 = x_855; - lean_ctor_set_tag(x_883, 1); -} -lean_ctor_set(x_883, 0, x_856); -lean_ctor_set(x_883, 1, x_857); -return x_883; -} -else -{ -uint8_t x_884; lean_object* x_885; uint8_t x_886; -lean_dec(x_855); -x_884 = 1; -x_885 = l_Lean_Elab_Term_SavedState_restore(x_853, x_884, x_10, x_11, x_12, x_13, x_14, x_15, x_857); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_886 = !lean_is_exclusive(x_885); -if (x_886 == 0) -{ -lean_object* x_887; -x_887 = lean_ctor_get(x_885, 0); -lean_dec(x_887); -lean_ctor_set_tag(x_885, 1); -lean_ctor_set(x_885, 0, x_856); -return x_885; -} -else -{ -lean_object* x_888; lean_object* x_889; -x_888 = lean_ctor_get(x_885, 1); -lean_inc(x_888); -lean_dec(x_885); -x_889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_889, 0, x_856); -lean_ctor_set(x_889, 1, x_888); -return x_889; -} -} -} -} -block_915: -{ -lean_object* x_893; uint8_t x_894; -x_893 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_892); -x_894 = !lean_is_exclusive(x_893); -if (x_894 == 0) -{ -lean_object* x_895; lean_object* x_896; uint8_t x_897; lean_object* x_898; uint8_t x_899; -x_895 = lean_ctor_get(x_893, 0); -x_896 = lean_ctor_get(x_893, 1); -x_897 = 1; -x_898 = l_Lean_Elab_Term_SavedState_restore(x_853, x_897, x_10, x_11, x_12, x_13, x_14, x_15, x_896); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_899 = !lean_is_exclusive(x_898); -if (x_899 == 0) -{ -lean_object* x_900; lean_object* x_901; lean_object* x_902; -x_900 = lean_ctor_get(x_898, 1); -x_901 = lean_ctor_get(x_898, 0); -lean_dec(x_901); -lean_ctor_set(x_898, 1, x_895); -lean_ctor_set(x_898, 0, x_891); -x_902 = lean_array_push(x_9, x_898); -lean_ctor_set(x_893, 1, x_900); -lean_ctor_set(x_893, 0, x_902); -return x_893; -} -else -{ -lean_object* x_903; lean_object* x_904; lean_object* x_905; -x_903 = lean_ctor_get(x_898, 1); -lean_inc(x_903); -lean_dec(x_898); -x_904 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_904, 0, x_891); -lean_ctor_set(x_904, 1, x_895); -x_905 = lean_array_push(x_9, x_904); -lean_ctor_set(x_893, 1, x_903); -lean_ctor_set(x_893, 0, x_905); -return x_893; -} -} -else -{ -lean_object* x_906; lean_object* x_907; uint8_t x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_906 = lean_ctor_get(x_893, 0); -x_907 = lean_ctor_get(x_893, 1); -lean_inc(x_907); -lean_inc(x_906); -lean_dec(x_893); -x_908 = 1; -x_909 = l_Lean_Elab_Term_SavedState_restore(x_853, x_908, x_10, x_11, x_12, x_13, x_14, x_15, x_907); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_910 = lean_ctor_get(x_909, 1); -lean_inc(x_910); -if (lean_is_exclusive(x_909)) { - lean_ctor_release(x_909, 0); - lean_ctor_release(x_909, 1); - x_911 = x_909; -} else { - lean_dec_ref(x_909); - x_911 = lean_box(0); -} -if (lean_is_scalar(x_911)) { - x_912 = lean_alloc_ctor(0, 2, 0); -} else { - x_912 = x_911; -} -lean_ctor_set(x_912, 0, x_891); -lean_ctor_set(x_912, 1, x_906); -x_913 = lean_array_push(x_9, x_912); -x_914 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_914, 0, x_913); -lean_ctor_set(x_914, 1, x_910); -return x_914; -} -} -} -} -} -else -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_dec(x_1); -x_1036 = l_Lean_Syntax_getId(x_651); -x_1037 = lean_erase_macro_scopes(x_1036); -x_1038 = l_Lean_Name_components(x_1037); -lean_inc(x_649); -x_1039 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_649, x_651, x_1038); -x_1040 = l_List_append___rarg(x_1039, x_2); -x_1 = x_649; -x_2 = x_1040; +x_734 = l_Lean_fieldIdxKind; +x_735 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_734, x_637); +if (lean_obj_tag(x_735) == 0) +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; +x_736 = l_instInhabitedNat; +x_737 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; +x_738 = lean_panic_fn(x_736, x_737); +x_739 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_739, 0, x_637); +lean_ctor_set(x_739, 1, x_738); +x_740 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_2); +x_1 = x_635; +x_2 = x_740; +goto _start; +} +else +{ +lean_object* x_742; lean_object* x_743; lean_object* x_744; +x_742 = lean_ctor_get(x_735, 0); +lean_inc(x_742); +lean_dec(x_735); +x_743 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_743, 0, x_637); +lean_ctor_set(x_743, 1, x_742); +x_744 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_744, 0, x_743); +lean_ctor_set(x_744, 1, x_2); +x_1 = x_635; +x_2 = x_744; goto _start; } } } -else -{ -lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; uint8_t x_1045; -x_1042 = lean_unsigned_to_nat(3u); -x_1043 = l_Lean_Syntax_getArg(x_1, x_1042); -x_1044 = l_Lean_nullKind; -x_1045 = l_Lean_Syntax_isNodeOf(x_1043, x_1044, x_648); -if (x_1045 == 0) -{ -uint8_t x_1046; uint8_t x_1047; -lean_dec(x_651); -lean_dec(x_649); -x_1046 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_1232; -x_1232 = 1; -x_1047 = x_1232; -goto block_1231; } else { -uint8_t x_1233; -x_1233 = 0; -x_1047 = x_1233; -goto block_1231; -} -block_1231: -{ -lean_object* x_1048; -if (x_1046 == 0) -{ -lean_object* x_1133; -x_1133 = lean_box(0); -x_1048 = x_1133; -goto block_1132; -} -else -{ -uint8_t x_1134; -x_1134 = l_Array_isEmpty___rarg(x_3); -if (x_1134 == 0) -{ -lean_object* x_1135; -x_1135 = lean_box(0); -x_1048 = x_1135; -goto block_1132; -} -else -{ -uint8_t x_1136; -x_1136 = l_Array_isEmpty___rarg(x_4); -if (x_1136 == 0) -{ -lean_object* x_1137; -x_1137 = lean_box(0); -x_1048 = x_1137; -goto block_1132; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; uint8_t x_1167; lean_object* x_1168; -x_1138 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1139 = lean_ctor_get(x_1138, 0); -lean_inc(x_1139); -x_1140 = lean_ctor_get(x_1138, 1); -lean_inc(x_1140); -if (lean_is_exclusive(x_1138)) { - lean_ctor_release(x_1138, 0); - lean_ctor_release(x_1138, 1); - x_1141 = x_1138; -} else { - lean_dec_ref(x_1138); - x_1141 = lean_box(0); -} -x_1167 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1168 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1167, x_1167, x_10, x_11, x_12, x_13, x_14, x_15, x_1140); -if (lean_obj_tag(x_1168) == 0) -{ -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; uint8_t x_1175; -lean_dec(x_1141); -x_1169 = lean_ctor_get(x_1168, 0); -lean_inc(x_1169); -x_1170 = lean_ctor_get(x_1168, 1); -lean_inc(x_1170); -lean_dec(x_1168); -x_1171 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1170); -x_1172 = lean_ctor_get(x_1171, 0); -lean_inc(x_1172); -x_1173 = lean_ctor_get(x_1171, 1); -lean_inc(x_1173); -lean_dec(x_1171); -x_1174 = l_Lean_Elab_Term_SavedState_restore(x_1139, x_1167, x_10, x_11, x_12, x_13, x_14, x_15, x_1173); -x_1175 = !lean_is_exclusive(x_1174); -if (x_1175 == 0) -{ -lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; -x_1176 = lean_ctor_get(x_1174, 1); -x_1177 = lean_ctor_get(x_1174, 0); -lean_dec(x_1177); -lean_ctor_set(x_1174, 1, x_1172); -lean_ctor_set(x_1174, 0, x_1169); -x_1178 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1174, x_10, x_11, x_12, x_13, x_14, x_15, x_1176); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1178; -} -else -{ -lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; -x_1179 = lean_ctor_get(x_1174, 1); -lean_inc(x_1179); -lean_dec(x_1174); -x_1180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1180, 0, x_1169); -lean_ctor_set(x_1180, 1, x_1172); -x_1181 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1180, x_10, x_11, x_12, x_13, x_14, x_15, x_1179); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1181; -} -} -else -{ -lean_object* x_1182; lean_object* x_1183; -x_1182 = lean_ctor_get(x_1168, 0); -lean_inc(x_1182); -x_1183 = lean_ctor_get(x_1168, 1); -lean_inc(x_1183); -lean_dec(x_1168); -x_1142 = x_1182; -x_1143 = x_1183; -goto block_1166; -} -block_1166: -{ -if (lean_obj_tag(x_1142) == 0) -{ -lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; uint8_t x_1147; lean_object* x_1148; uint8_t x_1149; -lean_dec(x_1141); -x_1144 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1143); -x_1145 = lean_ctor_get(x_1144, 0); -lean_inc(x_1145); -x_1146 = lean_ctor_get(x_1144, 1); -lean_inc(x_1146); -lean_dec(x_1144); -x_1147 = 1; -x_1148 = l_Lean_Elab_Term_SavedState_restore(x_1139, x_1147, x_10, x_11, x_12, x_13, x_14, x_15, x_1146); -x_1149 = !lean_is_exclusive(x_1148); -if (x_1149 == 0) -{ -lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; -x_1150 = lean_ctor_get(x_1148, 1); -x_1151 = lean_ctor_get(x_1148, 0); -lean_dec(x_1151); -lean_ctor_set_tag(x_1148, 1); -lean_ctor_set(x_1148, 1, x_1145); -lean_ctor_set(x_1148, 0, x_1142); -x_1152 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1148, x_10, x_11, x_12, x_13, x_14, x_15, x_1150); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1152; -} -else -{ -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; -x_1153 = lean_ctor_get(x_1148, 1); -lean_inc(x_1153); -lean_dec(x_1148); -x_1154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1154, 0, x_1142); -lean_ctor_set(x_1154, 1, x_1145); -x_1155 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1154, x_10, x_11, x_12, x_13, x_14, x_15, x_1153); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1155; -} -} -else -{ -lean_object* x_1156; lean_object* x_1157; uint8_t x_1158; -lean_dec(x_9); -x_1156 = lean_ctor_get(x_1142, 0); -lean_inc(x_1156); -x_1157 = l_Lean_Elab_postponeExceptionId; -x_1158 = lean_nat_dec_eq(x_1156, x_1157); -lean_dec(x_1156); -if (x_1158 == 0) -{ -lean_object* x_1159; -lean_dec(x_1139); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1141)) { - x_1159 = lean_alloc_ctor(1, 2, 0); -} else { - x_1159 = x_1141; - lean_ctor_set_tag(x_1159, 1); -} -lean_ctor_set(x_1159, 0, x_1142); -lean_ctor_set(x_1159, 1, x_1143); -return x_1159; -} -else -{ -uint8_t x_1160; lean_object* x_1161; uint8_t x_1162; -lean_dec(x_1141); -x_1160 = 1; -x_1161 = l_Lean_Elab_Term_SavedState_restore(x_1139, x_1160, x_10, x_11, x_12, x_13, x_14, x_15, x_1143); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1162 = !lean_is_exclusive(x_1161); -if (x_1162 == 0) -{ -lean_object* x_1163; -x_1163 = lean_ctor_get(x_1161, 0); -lean_dec(x_1163); -lean_ctor_set_tag(x_1161, 1); -lean_ctor_set(x_1161, 0, x_1142); -return x_1161; -} -else -{ -lean_object* x_1164; lean_object* x_1165; -x_1164 = lean_ctor_get(x_1161, 1); -lean_inc(x_1164); -lean_dec(x_1161); -x_1165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1165, 0, x_1142); -lean_ctor_set(x_1165, 1, x_1164); -return x_1165; -} -} -} -} -} -else -{ -lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; uint8_t x_1214; lean_object* x_1215; -x_1184 = lean_box(0); -x_1185 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1186 = lean_ctor_get(x_1185, 0); -lean_inc(x_1186); -x_1187 = lean_ctor_get(x_1185, 1); -lean_inc(x_1187); -if (lean_is_exclusive(x_1185)) { - lean_ctor_release(x_1185, 0); - lean_ctor_release(x_1185, 1); - x_1188 = x_1185; -} else { - lean_dec_ref(x_1185); - x_1188 = lean_box(0); -} -x_1214 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1215 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1047, x_1214, x_1184, x_10, x_11, x_12, x_13, x_14, x_15, x_1187); -if (lean_obj_tag(x_1215) == 0) -{ -lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; uint8_t x_1222; -lean_dec(x_1188); -x_1216 = lean_ctor_get(x_1215, 0); -lean_inc(x_1216); -x_1217 = lean_ctor_get(x_1215, 1); -lean_inc(x_1217); -lean_dec(x_1215); -x_1218 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1217); -x_1219 = lean_ctor_get(x_1218, 0); -lean_inc(x_1219); -x_1220 = lean_ctor_get(x_1218, 1); -lean_inc(x_1220); -lean_dec(x_1218); -x_1221 = l_Lean_Elab_Term_SavedState_restore(x_1186, x_1214, x_10, x_11, x_12, x_13, x_14, x_15, x_1220); -x_1222 = !lean_is_exclusive(x_1221); -if (x_1222 == 0) -{ -lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; -x_1223 = lean_ctor_get(x_1221, 1); -x_1224 = lean_ctor_get(x_1221, 0); -lean_dec(x_1224); -lean_ctor_set(x_1221, 1, x_1219); -lean_ctor_set(x_1221, 0, x_1216); -x_1225 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1221, x_10, x_11, x_12, x_13, x_14, x_15, x_1223); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1225; -} -else -{ -lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; -x_1226 = lean_ctor_get(x_1221, 1); -lean_inc(x_1226); -lean_dec(x_1221); -x_1227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1227, 0, x_1216); -lean_ctor_set(x_1227, 1, x_1219); -x_1228 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1227, x_10, x_11, x_12, x_13, x_14, x_15, x_1226); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1228; -} -} -else -{ -lean_object* x_1229; lean_object* x_1230; -x_1229 = lean_ctor_get(x_1215, 0); -lean_inc(x_1229); -x_1230 = lean_ctor_get(x_1215, 1); -lean_inc(x_1230); -lean_dec(x_1215); -x_1189 = x_1229; -x_1190 = x_1230; -goto block_1213; -} -block_1213: -{ -if (lean_obj_tag(x_1189) == 0) -{ -lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; uint8_t x_1194; lean_object* x_1195; uint8_t x_1196; -lean_dec(x_1188); -x_1191 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1190); -x_1192 = lean_ctor_get(x_1191, 0); -lean_inc(x_1192); -x_1193 = lean_ctor_get(x_1191, 1); -lean_inc(x_1193); -lean_dec(x_1191); -x_1194 = 1; -x_1195 = l_Lean_Elab_Term_SavedState_restore(x_1186, x_1194, x_10, x_11, x_12, x_13, x_14, x_15, x_1193); -x_1196 = !lean_is_exclusive(x_1195); -if (x_1196 == 0) -{ -lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1197 = lean_ctor_get(x_1195, 1); -x_1198 = lean_ctor_get(x_1195, 0); -lean_dec(x_1198); -lean_ctor_set_tag(x_1195, 1); -lean_ctor_set(x_1195, 1, x_1192); -lean_ctor_set(x_1195, 0, x_1189); -x_1199 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1195, x_10, x_11, x_12, x_13, x_14, x_15, x_1197); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1199; -} -else -{ -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; -x_1200 = lean_ctor_get(x_1195, 1); -lean_inc(x_1200); -lean_dec(x_1195); -x_1201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1201, 0, x_1189); -lean_ctor_set(x_1201, 1, x_1192); -x_1202 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1201, x_10, x_11, x_12, x_13, x_14, x_15, x_1200); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1202; -} -} -else -{ -lean_object* x_1203; lean_object* x_1204; uint8_t x_1205; -lean_dec(x_9); -x_1203 = lean_ctor_get(x_1189, 0); -lean_inc(x_1203); -x_1204 = l_Lean_Elab_postponeExceptionId; -x_1205 = lean_nat_dec_eq(x_1203, x_1204); -lean_dec(x_1203); -if (x_1205 == 0) -{ -lean_object* x_1206; -lean_dec(x_1186); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1188)) { - x_1206 = lean_alloc_ctor(1, 2, 0); -} else { - x_1206 = x_1188; - lean_ctor_set_tag(x_1206, 1); -} -lean_ctor_set(x_1206, 0, x_1189); -lean_ctor_set(x_1206, 1, x_1190); -return x_1206; -} -else -{ -uint8_t x_1207; lean_object* x_1208; uint8_t x_1209; -lean_dec(x_1188); -x_1207 = 1; -x_1208 = l_Lean_Elab_Term_SavedState_restore(x_1186, x_1207, x_10, x_11, x_12, x_13, x_14, x_15, x_1190); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1209 = !lean_is_exclusive(x_1208); -if (x_1209 == 0) -{ -lean_object* x_1210; -x_1210 = lean_ctor_get(x_1208, 0); -lean_dec(x_1210); -lean_ctor_set_tag(x_1208, 1); -lean_ctor_set(x_1208, 0, x_1189); -return x_1208; -} -else -{ -lean_object* x_1211; lean_object* x_1212; -x_1211 = lean_ctor_get(x_1208, 1); -lean_inc(x_1211); -lean_dec(x_1208); -x_1212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1212, 0, x_1189); -lean_ctor_set(x_1212, 1, x_1211); -return x_1212; -} -} -} -} -} -} -} -} -block_1132: -{ -lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1089; lean_object* x_1090; uint8_t x_1114; lean_object* x_1115; -lean_dec(x_1048); -x_1049 = lean_box(0); -x_1050 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1051 = lean_ctor_get(x_1050, 0); -lean_inc(x_1051); -x_1052 = lean_ctor_get(x_1050, 1); -lean_inc(x_1052); -if (lean_is_exclusive(x_1050)) { - lean_ctor_release(x_1050, 0); - lean_ctor_release(x_1050, 1); - x_1053 = x_1050; -} else { - lean_dec_ref(x_1050); - x_1053 = lean_box(0); -} -x_1114 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1115 = l_Lean_Elab_Term_elabTerm(x_1, x_1049, x_1047, x_1114, x_10, x_11, x_12, x_13, x_14, x_15, x_1052); -if (lean_obj_tag(x_1115) == 0) -{ -lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; -x_1116 = lean_ctor_get(x_1115, 0); -lean_inc(x_1116); -x_1117 = lean_ctor_get(x_1115, 1); -lean_inc(x_1117); -lean_dec(x_1115); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_1118 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1116, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1117); -if (lean_obj_tag(x_1118) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_1119; lean_object* x_1120; -lean_dec(x_1053); -lean_dec(x_5); -x_1119 = lean_ctor_get(x_1118, 0); -lean_inc(x_1119); -x_1120 = lean_ctor_get(x_1118, 1); -lean_inc(x_1120); -lean_dec(x_1118); -x_1089 = x_1119; -x_1090 = x_1120; -goto block_1113; -} -else -{ -lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; -x_1121 = lean_ctor_get(x_1118, 0); -lean_inc(x_1121); -x_1122 = lean_ctor_get(x_1118, 1); -lean_inc(x_1122); -lean_dec(x_1118); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1123 = l_Lean_Elab_Term_ensureHasType(x_5, x_1121, x_1049, x_10, x_11, x_12, x_13, x_14, x_15, x_1122); -if (lean_obj_tag(x_1123) == 0) -{ -lean_object* x_1124; lean_object* x_1125; -lean_dec(x_1053); -x_1124 = lean_ctor_get(x_1123, 0); -lean_inc(x_1124); -x_1125 = lean_ctor_get(x_1123, 1); -lean_inc(x_1125); -lean_dec(x_1123); -x_1089 = x_1124; -x_1090 = x_1125; -goto block_1113; -} -else -{ -lean_object* x_1126; lean_object* x_1127; -x_1126 = lean_ctor_get(x_1123, 0); -lean_inc(x_1126); -x_1127 = lean_ctor_get(x_1123, 1); -lean_inc(x_1127); -lean_dec(x_1123); -x_1054 = x_1126; -x_1055 = x_1127; -goto block_1088; -} -} -} -else -{ -lean_object* x_1128; lean_object* x_1129; -lean_dec(x_5); -x_1128 = lean_ctor_get(x_1118, 0); -lean_inc(x_1128); -x_1129 = lean_ctor_get(x_1118, 1); -lean_inc(x_1129); -lean_dec(x_1118); -x_1054 = x_1128; -x_1055 = x_1129; -goto block_1088; -} -} -else -{ -lean_object* x_1130; lean_object* x_1131; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1130 = lean_ctor_get(x_1115, 0); -lean_inc(x_1130); -x_1131 = lean_ctor_get(x_1115, 1); -lean_inc(x_1131); -lean_dec(x_1115); -x_1054 = x_1130; -x_1055 = x_1131; -goto block_1088; -} -block_1088: -{ -if (lean_obj_tag(x_1054) == 0) -{ -lean_object* x_1056; uint8_t x_1057; -lean_dec(x_1053); -x_1056 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1055); -x_1057 = !lean_is_exclusive(x_1056); -if (x_1057 == 0) -{ -lean_object* x_1058; lean_object* x_1059; uint8_t x_1060; lean_object* x_1061; uint8_t x_1062; -x_1058 = lean_ctor_get(x_1056, 0); -x_1059 = lean_ctor_get(x_1056, 1); -x_1060 = 1; -x_1061 = l_Lean_Elab_Term_SavedState_restore(x_1051, x_1060, x_10, x_11, x_12, x_13, x_14, x_15, x_1059); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1062 = !lean_is_exclusive(x_1061); -if (x_1062 == 0) -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -x_1063 = lean_ctor_get(x_1061, 1); -x_1064 = lean_ctor_get(x_1061, 0); -lean_dec(x_1064); -lean_ctor_set_tag(x_1061, 1); -lean_ctor_set(x_1061, 1, x_1058); -lean_ctor_set(x_1061, 0, x_1054); -x_1065 = lean_array_push(x_9, x_1061); -lean_ctor_set(x_1056, 1, x_1063); -lean_ctor_set(x_1056, 0, x_1065); -return x_1056; -} -else -{ -lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; -x_1066 = lean_ctor_get(x_1061, 1); -lean_inc(x_1066); -lean_dec(x_1061); -x_1067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1067, 0, x_1054); -lean_ctor_set(x_1067, 1, x_1058); -x_1068 = lean_array_push(x_9, x_1067); -lean_ctor_set(x_1056, 1, x_1066); -lean_ctor_set(x_1056, 0, x_1068); -return x_1056; -} -} -else -{ -lean_object* x_1069; lean_object* x_1070; uint8_t x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; -x_1069 = lean_ctor_get(x_1056, 0); -x_1070 = lean_ctor_get(x_1056, 1); -lean_inc(x_1070); -lean_inc(x_1069); -lean_dec(x_1056); -x_1071 = 1; -x_1072 = l_Lean_Elab_Term_SavedState_restore(x_1051, x_1071, x_10, x_11, x_12, x_13, x_14, x_15, x_1070); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1073 = lean_ctor_get(x_1072, 1); -lean_inc(x_1073); -if (lean_is_exclusive(x_1072)) { - lean_ctor_release(x_1072, 0); - lean_ctor_release(x_1072, 1); - x_1074 = x_1072; -} else { - lean_dec_ref(x_1072); - x_1074 = lean_box(0); -} -if (lean_is_scalar(x_1074)) { - x_1075 = lean_alloc_ctor(1, 2, 0); -} else { - x_1075 = x_1074; - lean_ctor_set_tag(x_1075, 1); -} -lean_ctor_set(x_1075, 0, x_1054); -lean_ctor_set(x_1075, 1, x_1069); -x_1076 = lean_array_push(x_9, x_1075); -x_1077 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1077, 0, x_1076); -lean_ctor_set(x_1077, 1, x_1073); -return x_1077; -} -} -else -{ -lean_object* x_1078; lean_object* x_1079; uint8_t x_1080; -lean_dec(x_9); -x_1078 = lean_ctor_get(x_1054, 0); -lean_inc(x_1078); -x_1079 = l_Lean_Elab_postponeExceptionId; -x_1080 = lean_nat_dec_eq(x_1078, x_1079); -lean_dec(x_1078); -if (x_1080 == 0) -{ -lean_object* x_1081; -lean_dec(x_1051); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1053)) { - x_1081 = lean_alloc_ctor(1, 2, 0); -} else { - x_1081 = x_1053; - lean_ctor_set_tag(x_1081, 1); -} -lean_ctor_set(x_1081, 0, x_1054); -lean_ctor_set(x_1081, 1, x_1055); -return x_1081; -} -else -{ -uint8_t x_1082; lean_object* x_1083; uint8_t x_1084; -lean_dec(x_1053); -x_1082 = 1; -x_1083 = l_Lean_Elab_Term_SavedState_restore(x_1051, x_1082, x_10, x_11, x_12, x_13, x_14, x_15, x_1055); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1084 = !lean_is_exclusive(x_1083); -if (x_1084 == 0) -{ -lean_object* x_1085; -x_1085 = lean_ctor_get(x_1083, 0); -lean_dec(x_1085); -lean_ctor_set_tag(x_1083, 1); -lean_ctor_set(x_1083, 0, x_1054); -return x_1083; -} -else -{ -lean_object* x_1086; lean_object* x_1087; -x_1086 = lean_ctor_get(x_1083, 1); -lean_inc(x_1086); -lean_dec(x_1083); -x_1087 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1087, 0, x_1054); -lean_ctor_set(x_1087, 1, x_1086); -return x_1087; -} -} -} -} -block_1113: -{ -lean_object* x_1091; uint8_t x_1092; -x_1091 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1090); -x_1092 = !lean_is_exclusive(x_1091); -if (x_1092 == 0) -{ -lean_object* x_1093; lean_object* x_1094; uint8_t x_1095; lean_object* x_1096; uint8_t x_1097; -x_1093 = lean_ctor_get(x_1091, 0); -x_1094 = lean_ctor_get(x_1091, 1); -x_1095 = 1; -x_1096 = l_Lean_Elab_Term_SavedState_restore(x_1051, x_1095, x_10, x_11, x_12, x_13, x_14, x_15, x_1094); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1097 = !lean_is_exclusive(x_1096); -if (x_1097 == 0) -{ -lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; -x_1098 = lean_ctor_get(x_1096, 1); -x_1099 = lean_ctor_get(x_1096, 0); -lean_dec(x_1099); -lean_ctor_set(x_1096, 1, x_1093); -lean_ctor_set(x_1096, 0, x_1089); -x_1100 = lean_array_push(x_9, x_1096); -lean_ctor_set(x_1091, 1, x_1098); -lean_ctor_set(x_1091, 0, x_1100); -return x_1091; -} -else -{ -lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; -x_1101 = lean_ctor_get(x_1096, 1); -lean_inc(x_1101); -lean_dec(x_1096); -x_1102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1102, 0, x_1089); -lean_ctor_set(x_1102, 1, x_1093); -x_1103 = lean_array_push(x_9, x_1102); -lean_ctor_set(x_1091, 1, x_1101); -lean_ctor_set(x_1091, 0, x_1103); -return x_1091; -} -} -else -{ -lean_object* x_1104; lean_object* x_1105; uint8_t x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; -x_1104 = lean_ctor_get(x_1091, 0); -x_1105 = lean_ctor_get(x_1091, 1); -lean_inc(x_1105); -lean_inc(x_1104); -lean_dec(x_1091); -x_1106 = 1; -x_1107 = l_Lean_Elab_Term_SavedState_restore(x_1051, x_1106, x_10, x_11, x_12, x_13, x_14, x_15, x_1105); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1108 = lean_ctor_get(x_1107, 1); -lean_inc(x_1108); -if (lean_is_exclusive(x_1107)) { - lean_ctor_release(x_1107, 0); - lean_ctor_release(x_1107, 1); - x_1109 = x_1107; -} else { - lean_dec_ref(x_1107); - x_1109 = lean_box(0); -} -if (lean_is_scalar(x_1109)) { - x_1110 = lean_alloc_ctor(0, 2, 0); -} else { - x_1110 = x_1109; -} -lean_ctor_set(x_1110, 0, x_1089); -lean_ctor_set(x_1110, 1, x_1104); -x_1111 = lean_array_push(x_9, x_1110); -x_1112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1112, 0, x_1111); -lean_ctor_set(x_1112, 1, x_1108); -return x_1112; -} -} -} -} -} -else -{ -lean_object* x_1234; lean_object* x_1235; +lean_object* x_746; lean_object* x_747; lean_object* x_748; uint8_t x_749; +x_746 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_1234 = l_Lean_fieldIdxKind; -x_1235 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1234, x_651); -if (lean_obj_tag(x_1235) == 0) -{ -lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; -x_1236 = l_instInhabitedNat; -x_1237 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -x_1238 = lean_panic_fn(x_1236, x_1237); -x_1239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1239, 0, x_651); -lean_ctor_set(x_1239, 1, x_1238); -x_1240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1240, 0, x_1239); -lean_ctor_set(x_1240, 1, x_2); -x_1 = x_649; -x_2 = x_1240; -goto _start; -} -else -{ -lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; -x_1242 = lean_ctor_get(x_1235, 0); -lean_inc(x_1242); -lean_dec(x_1235); -x_1243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1243, 0, x_651); -lean_ctor_set(x_1243, 1, x_1242); -x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1243); -lean_ctor_set(x_1244, 1, x_2); -x_1 = x_649; -x_2 = x_1244; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; uint8_t x_1251; -x_1246 = lean_unsigned_to_nat(0u); -x_1247 = l_Lean_Syntax_getArg(x_1, x_1246); -x_1248 = lean_unsigned_to_nat(2u); -x_1249 = l_Lean_Syntax_getArg(x_1, x_1248); -x_1250 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; -lean_inc(x_1249); -x_1251 = l_Lean_Syntax_isOfKind(x_1249, x_1250); -if (x_1251 == 0) -{ -lean_object* x_1252; uint8_t x_1253; -x_1252 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -lean_inc(x_1249); -x_1253 = l_Lean_Syntax_isOfKind(x_1249, x_1252); -if (x_1253 == 0) -{ -uint8_t x_1254; uint8_t x_1255; -lean_dec(x_1249); -lean_dec(x_1247); -x_1254 = l_List_isEmpty___rarg(x_2); -if (x_8 == 0) -{ -uint8_t x_1440; -x_1440 = 1; -x_1255 = x_1440; -goto block_1439; -} -else -{ -uint8_t x_1441; -x_1441 = 0; -x_1255 = x_1441; -goto block_1439; -} -block_1439: -{ -lean_object* x_1256; -if (x_1254 == 0) -{ -lean_object* x_1341; -x_1341 = lean_box(0); -x_1256 = x_1341; -goto block_1340; -} -else -{ -uint8_t x_1342; -x_1342 = l_Array_isEmpty___rarg(x_3); -if (x_1342 == 0) -{ -lean_object* x_1343; -x_1343 = lean_box(0); -x_1256 = x_1343; -goto block_1340; -} -else -{ -uint8_t x_1344; -x_1344 = l_Array_isEmpty___rarg(x_4); -if (x_1344 == 0) -{ -lean_object* x_1345; -x_1345 = lean_box(0); -x_1256 = x_1345; -goto block_1340; -} -else -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (x_8 == 0) -{ -lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; uint8_t x_1375; lean_object* x_1376; -x_1346 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1347 = lean_ctor_get(x_1346, 0); -lean_inc(x_1347); -x_1348 = lean_ctor_get(x_1346, 1); -lean_inc(x_1348); -if (lean_is_exclusive(x_1346)) { - lean_ctor_release(x_1346, 0); - lean_ctor_release(x_1346, 1); - x_1349 = x_1346; -} else { - lean_dec_ref(x_1346); - x_1349 = lean_box(0); -} -x_1375 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1376 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1375, x_1375, x_10, x_11, x_12, x_13, x_14, x_15, x_1348); -if (lean_obj_tag(x_1376) == 0) -{ -lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; uint8_t x_1383; -lean_dec(x_1349); -x_1377 = lean_ctor_get(x_1376, 0); -lean_inc(x_1377); -x_1378 = lean_ctor_get(x_1376, 1); -lean_inc(x_1378); -lean_dec(x_1376); -x_1379 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1378); -x_1380 = lean_ctor_get(x_1379, 0); -lean_inc(x_1380); -x_1381 = lean_ctor_get(x_1379, 1); -lean_inc(x_1381); -lean_dec(x_1379); -x_1382 = l_Lean_Elab_Term_SavedState_restore(x_1347, x_1375, x_10, x_11, x_12, x_13, x_14, x_15, x_1381); -x_1383 = !lean_is_exclusive(x_1382); -if (x_1383 == 0) -{ -lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; -x_1384 = lean_ctor_get(x_1382, 1); -x_1385 = lean_ctor_get(x_1382, 0); -lean_dec(x_1385); -lean_ctor_set(x_1382, 1, x_1380); -lean_ctor_set(x_1382, 0, x_1377); -x_1386 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1382, x_10, x_11, x_12, x_13, x_14, x_15, x_1384); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1386; -} -else -{ -lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; -x_1387 = lean_ctor_get(x_1382, 1); -lean_inc(x_1387); -lean_dec(x_1382); -x_1388 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1388, 0, x_1377); -lean_ctor_set(x_1388, 1, x_1380); -x_1389 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1388, x_10, x_11, x_12, x_13, x_14, x_15, x_1387); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1389; -} -} -else -{ -lean_object* x_1390; lean_object* x_1391; -x_1390 = lean_ctor_get(x_1376, 0); -lean_inc(x_1390); -x_1391 = lean_ctor_get(x_1376, 1); -lean_inc(x_1391); -lean_dec(x_1376); -x_1350 = x_1390; -x_1351 = x_1391; -goto block_1374; -} -block_1374: -{ -if (lean_obj_tag(x_1350) == 0) -{ -lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; uint8_t x_1355; lean_object* x_1356; uint8_t x_1357; -lean_dec(x_1349); -x_1352 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1351); -x_1353 = lean_ctor_get(x_1352, 0); -lean_inc(x_1353); -x_1354 = lean_ctor_get(x_1352, 1); -lean_inc(x_1354); -lean_dec(x_1352); -x_1355 = 1; -x_1356 = l_Lean_Elab_Term_SavedState_restore(x_1347, x_1355, x_10, x_11, x_12, x_13, x_14, x_15, x_1354); -x_1357 = !lean_is_exclusive(x_1356); -if (x_1357 == 0) -{ -lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; -x_1358 = lean_ctor_get(x_1356, 1); -x_1359 = lean_ctor_get(x_1356, 0); -lean_dec(x_1359); -lean_ctor_set_tag(x_1356, 1); -lean_ctor_set(x_1356, 1, x_1353); -lean_ctor_set(x_1356, 0, x_1350); -x_1360 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1356, x_10, x_11, x_12, x_13, x_14, x_15, x_1358); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1360; -} -else -{ -lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; -x_1361 = lean_ctor_get(x_1356, 1); -lean_inc(x_1361); -lean_dec(x_1356); -x_1362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1362, 0, x_1350); -lean_ctor_set(x_1362, 1, x_1353); -x_1363 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1362, x_10, x_11, x_12, x_13, x_14, x_15, x_1361); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1363; -} -} -else -{ -lean_object* x_1364; lean_object* x_1365; uint8_t x_1366; -lean_dec(x_9); -x_1364 = lean_ctor_get(x_1350, 0); -lean_inc(x_1364); -x_1365 = l_Lean_Elab_postponeExceptionId; -x_1366 = lean_nat_dec_eq(x_1364, x_1365); -lean_dec(x_1364); -if (x_1366 == 0) -{ -lean_object* x_1367; -lean_dec(x_1347); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1349)) { - x_1367 = lean_alloc_ctor(1, 2, 0); -} else { - x_1367 = x_1349; - lean_ctor_set_tag(x_1367, 1); -} -lean_ctor_set(x_1367, 0, x_1350); -lean_ctor_set(x_1367, 1, x_1351); -return x_1367; -} -else -{ -uint8_t x_1368; lean_object* x_1369; uint8_t x_1370; -lean_dec(x_1349); -x_1368 = 1; -x_1369 = l_Lean_Elab_Term_SavedState_restore(x_1347, x_1368, x_10, x_11, x_12, x_13, x_14, x_15, x_1351); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1370 = !lean_is_exclusive(x_1369); -if (x_1370 == 0) -{ -lean_object* x_1371; -x_1371 = lean_ctor_get(x_1369, 0); -lean_dec(x_1371); -lean_ctor_set_tag(x_1369, 1); -lean_ctor_set(x_1369, 0, x_1350); -return x_1369; -} -else -{ -lean_object* x_1372; lean_object* x_1373; -x_1372 = lean_ctor_get(x_1369, 1); -lean_inc(x_1372); -lean_dec(x_1369); -x_1373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1373, 0, x_1350); -lean_ctor_set(x_1373, 1, x_1372); -return x_1373; -} -} -} -} -} -else -{ -lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; uint8_t x_1422; lean_object* x_1423; -x_1392 = lean_box(0); -x_1393 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1394 = lean_ctor_get(x_1393, 0); -lean_inc(x_1394); -x_1395 = lean_ctor_get(x_1393, 1); -lean_inc(x_1395); -if (lean_is_exclusive(x_1393)) { - lean_ctor_release(x_1393, 0); - lean_ctor_release(x_1393, 1); - x_1396 = x_1393; -} else { - lean_dec_ref(x_1393); - x_1396 = lean_box(0); -} -x_1422 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1423 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1255, x_1422, x_1392, x_10, x_11, x_12, x_13, x_14, x_15, x_1395); -if (lean_obj_tag(x_1423) == 0) -{ -lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; uint8_t x_1430; -lean_dec(x_1396); -x_1424 = lean_ctor_get(x_1423, 0); -lean_inc(x_1424); -x_1425 = lean_ctor_get(x_1423, 1); -lean_inc(x_1425); -lean_dec(x_1423); -x_1426 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1425); -x_1427 = lean_ctor_get(x_1426, 0); -lean_inc(x_1427); -x_1428 = lean_ctor_get(x_1426, 1); -lean_inc(x_1428); -lean_dec(x_1426); -x_1429 = l_Lean_Elab_Term_SavedState_restore(x_1394, x_1422, x_10, x_11, x_12, x_13, x_14, x_15, x_1428); -x_1430 = !lean_is_exclusive(x_1429); -if (x_1430 == 0) -{ -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; -x_1431 = lean_ctor_get(x_1429, 1); -x_1432 = lean_ctor_get(x_1429, 0); -lean_dec(x_1432); -lean_ctor_set(x_1429, 1, x_1427); -lean_ctor_set(x_1429, 0, x_1424); -x_1433 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1429, x_10, x_11, x_12, x_13, x_14, x_15, x_1431); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1433; -} -else -{ -lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; -x_1434 = lean_ctor_get(x_1429, 1); -lean_inc(x_1434); -lean_dec(x_1429); -x_1435 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1435, 0, x_1424); -lean_ctor_set(x_1435, 1, x_1427); -x_1436 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1435, x_10, x_11, x_12, x_13, x_14, x_15, x_1434); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1436; -} -} -else -{ -lean_object* x_1437; lean_object* x_1438; -x_1437 = lean_ctor_get(x_1423, 0); -lean_inc(x_1437); -x_1438 = lean_ctor_get(x_1423, 1); -lean_inc(x_1438); -lean_dec(x_1423); -x_1397 = x_1437; -x_1398 = x_1438; -goto block_1421; -} -block_1421: -{ -if (lean_obj_tag(x_1397) == 0) -{ -lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; uint8_t x_1402; lean_object* x_1403; uint8_t x_1404; -lean_dec(x_1396); -x_1399 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1398); -x_1400 = lean_ctor_get(x_1399, 0); -lean_inc(x_1400); -x_1401 = lean_ctor_get(x_1399, 1); -lean_inc(x_1401); -lean_dec(x_1399); -x_1402 = 1; -x_1403 = l_Lean_Elab_Term_SavedState_restore(x_1394, x_1402, x_10, x_11, x_12, x_13, x_14, x_15, x_1401); -x_1404 = !lean_is_exclusive(x_1403); -if (x_1404 == 0) -{ -lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; -x_1405 = lean_ctor_get(x_1403, 1); -x_1406 = lean_ctor_get(x_1403, 0); -lean_dec(x_1406); -lean_ctor_set_tag(x_1403, 1); -lean_ctor_set(x_1403, 1, x_1400); -lean_ctor_set(x_1403, 0, x_1397); -x_1407 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1403, x_10, x_11, x_12, x_13, x_14, x_15, x_1405); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1407; -} -else -{ -lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; -x_1408 = lean_ctor_get(x_1403, 1); -lean_inc(x_1408); -lean_dec(x_1403); -x_1409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1409, 0, x_1397); -lean_ctor_set(x_1409, 1, x_1400); -x_1410 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1409, x_10, x_11, x_12, x_13, x_14, x_15, x_1408); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_1410; -} -} -else -{ -lean_object* x_1411; lean_object* x_1412; uint8_t x_1413; -lean_dec(x_9); -x_1411 = lean_ctor_get(x_1397, 0); -lean_inc(x_1411); -x_1412 = l_Lean_Elab_postponeExceptionId; -x_1413 = lean_nat_dec_eq(x_1411, x_1412); -lean_dec(x_1411); -if (x_1413 == 0) -{ -lean_object* x_1414; -lean_dec(x_1394); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1396)) { - x_1414 = lean_alloc_ctor(1, 2, 0); -} else { - x_1414 = x_1396; - lean_ctor_set_tag(x_1414, 1); -} -lean_ctor_set(x_1414, 0, x_1397); -lean_ctor_set(x_1414, 1, x_1398); -return x_1414; -} -else -{ -uint8_t x_1415; lean_object* x_1416; uint8_t x_1417; -lean_dec(x_1396); -x_1415 = 1; -x_1416 = l_Lean_Elab_Term_SavedState_restore(x_1394, x_1415, x_10, x_11, x_12, x_13, x_14, x_15, x_1398); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1417 = !lean_is_exclusive(x_1416); -if (x_1417 == 0) -{ -lean_object* x_1418; -x_1418 = lean_ctor_get(x_1416, 0); -lean_dec(x_1418); -lean_ctor_set_tag(x_1416, 1); -lean_ctor_set(x_1416, 0, x_1397); -return x_1416; -} -else -{ -lean_object* x_1419; lean_object* x_1420; -x_1419 = lean_ctor_get(x_1416, 1); -lean_inc(x_1419); -lean_dec(x_1416); -x_1420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1420, 0, x_1397); -lean_ctor_set(x_1420, 1, x_1419); -return x_1420; -} -} -} -} -} -} -} -} -block_1340: -{ -lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1297; lean_object* x_1298; uint8_t x_1322; lean_object* x_1323; -lean_dec(x_1256); -x_1257 = lean_box(0); -x_1258 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1259 = lean_ctor_get(x_1258, 0); -lean_inc(x_1259); -x_1260 = lean_ctor_get(x_1258, 1); -lean_inc(x_1260); -if (lean_is_exclusive(x_1258)) { - lean_ctor_release(x_1258, 0); - lean_ctor_release(x_1258, 1); - x_1261 = x_1258; -} else { - lean_dec_ref(x_1258); - x_1261 = lean_box(0); -} -x_1322 = 1; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1323 = l_Lean_Elab_Term_elabTerm(x_1, x_1257, x_1255, x_1322, x_10, x_11, x_12, x_13, x_14, x_15, x_1260); -if (lean_obj_tag(x_1323) == 0) -{ -lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; -x_1324 = lean_ctor_get(x_1323, 0); -lean_inc(x_1324); -x_1325 = lean_ctor_get(x_1323, 1); -lean_inc(x_1325); -lean_dec(x_1323); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_5); -x_1326 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1324, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1325); -if (lean_obj_tag(x_1326) == 0) -{ -if (x_8 == 0) -{ -lean_object* x_1327; lean_object* x_1328; -lean_dec(x_1261); -lean_dec(x_5); -x_1327 = lean_ctor_get(x_1326, 0); -lean_inc(x_1327); -x_1328 = lean_ctor_get(x_1326, 1); -lean_inc(x_1328); -lean_dec(x_1326); -x_1297 = x_1327; -x_1298 = x_1328; -goto block_1321; -} -else -{ -lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; -x_1329 = lean_ctor_get(x_1326, 0); -lean_inc(x_1329); -x_1330 = lean_ctor_get(x_1326, 1); -lean_inc(x_1330); -lean_dec(x_1326); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_1331 = l_Lean_Elab_Term_ensureHasType(x_5, x_1329, x_1257, x_10, x_11, x_12, x_13, x_14, x_15, x_1330); -if (lean_obj_tag(x_1331) == 0) -{ -lean_object* x_1332; lean_object* x_1333; -lean_dec(x_1261); -x_1332 = lean_ctor_get(x_1331, 0); -lean_inc(x_1332); -x_1333 = lean_ctor_get(x_1331, 1); -lean_inc(x_1333); -lean_dec(x_1331); -x_1297 = x_1332; -x_1298 = x_1333; -goto block_1321; -} -else -{ -lean_object* x_1334; lean_object* x_1335; -x_1334 = lean_ctor_get(x_1331, 0); -lean_inc(x_1334); -x_1335 = lean_ctor_get(x_1331, 1); -lean_inc(x_1335); -lean_dec(x_1331); -x_1262 = x_1334; -x_1263 = x_1335; -goto block_1296; -} -} -} -else -{ -lean_object* x_1336; lean_object* x_1337; -lean_dec(x_5); -x_1336 = lean_ctor_get(x_1326, 0); -lean_inc(x_1336); -x_1337 = lean_ctor_get(x_1326, 1); -lean_inc(x_1337); -lean_dec(x_1326); -x_1262 = x_1336; -x_1263 = x_1337; -goto block_1296; -} -} -else -{ -lean_object* x_1338; lean_object* x_1339; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1338 = lean_ctor_get(x_1323, 0); -lean_inc(x_1338); -x_1339 = lean_ctor_get(x_1323, 1); -lean_inc(x_1339); -lean_dec(x_1323); -x_1262 = x_1338; -x_1263 = x_1339; -goto block_1296; -} -block_1296: -{ -if (lean_obj_tag(x_1262) == 0) -{ -lean_object* x_1264; uint8_t x_1265; -lean_dec(x_1261); -x_1264 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1263); -x_1265 = !lean_is_exclusive(x_1264); -if (x_1265 == 0) -{ -lean_object* x_1266; lean_object* x_1267; uint8_t x_1268; lean_object* x_1269; uint8_t x_1270; -x_1266 = lean_ctor_get(x_1264, 0); -x_1267 = lean_ctor_get(x_1264, 1); -x_1268 = 1; -x_1269 = l_Lean_Elab_Term_SavedState_restore(x_1259, x_1268, x_10, x_11, x_12, x_13, x_14, x_15, x_1267); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1270 = !lean_is_exclusive(x_1269); -if (x_1270 == 0) -{ -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; -x_1271 = lean_ctor_get(x_1269, 1); -x_1272 = lean_ctor_get(x_1269, 0); -lean_dec(x_1272); -lean_ctor_set_tag(x_1269, 1); -lean_ctor_set(x_1269, 1, x_1266); -lean_ctor_set(x_1269, 0, x_1262); -x_1273 = lean_array_push(x_9, x_1269); -lean_ctor_set(x_1264, 1, x_1271); -lean_ctor_set(x_1264, 0, x_1273); -return x_1264; -} -else -{ -lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; -x_1274 = lean_ctor_get(x_1269, 1); -lean_inc(x_1274); -lean_dec(x_1269); -x_1275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1275, 0, x_1262); -lean_ctor_set(x_1275, 1, x_1266); -x_1276 = lean_array_push(x_9, x_1275); -lean_ctor_set(x_1264, 1, x_1274); -lean_ctor_set(x_1264, 0, x_1276); -return x_1264; -} -} -else -{ -lean_object* x_1277; lean_object* x_1278; uint8_t x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; -x_1277 = lean_ctor_get(x_1264, 0); -x_1278 = lean_ctor_get(x_1264, 1); -lean_inc(x_1278); -lean_inc(x_1277); -lean_dec(x_1264); -x_1279 = 1; -x_1280 = l_Lean_Elab_Term_SavedState_restore(x_1259, x_1279, x_10, x_11, x_12, x_13, x_14, x_15, x_1278); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1281 = lean_ctor_get(x_1280, 1); -lean_inc(x_1281); -if (lean_is_exclusive(x_1280)) { - lean_ctor_release(x_1280, 0); - lean_ctor_release(x_1280, 1); - x_1282 = x_1280; -} else { - lean_dec_ref(x_1280); - x_1282 = lean_box(0); -} -if (lean_is_scalar(x_1282)) { - x_1283 = lean_alloc_ctor(1, 2, 0); -} else { - x_1283 = x_1282; - lean_ctor_set_tag(x_1283, 1); -} -lean_ctor_set(x_1283, 0, x_1262); -lean_ctor_set(x_1283, 1, x_1277); -x_1284 = lean_array_push(x_9, x_1283); -x_1285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1285, 0, x_1284); -lean_ctor_set(x_1285, 1, x_1281); -return x_1285; -} -} -else -{ -lean_object* x_1286; lean_object* x_1287; uint8_t x_1288; -lean_dec(x_9); -x_1286 = lean_ctor_get(x_1262, 0); -lean_inc(x_1286); -x_1287 = l_Lean_Elab_postponeExceptionId; -x_1288 = lean_nat_dec_eq(x_1286, x_1287); -lean_dec(x_1286); -if (x_1288 == 0) -{ -lean_object* x_1289; -lean_dec(x_1259); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1261)) { - x_1289 = lean_alloc_ctor(1, 2, 0); -} else { - x_1289 = x_1261; - lean_ctor_set_tag(x_1289, 1); -} -lean_ctor_set(x_1289, 0, x_1262); -lean_ctor_set(x_1289, 1, x_1263); -return x_1289; -} -else -{ -uint8_t x_1290; lean_object* x_1291; uint8_t x_1292; -lean_dec(x_1261); -x_1290 = 1; -x_1291 = l_Lean_Elab_Term_SavedState_restore(x_1259, x_1290, x_10, x_11, x_12, x_13, x_14, x_15, x_1263); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1292 = !lean_is_exclusive(x_1291); -if (x_1292 == 0) -{ -lean_object* x_1293; -x_1293 = lean_ctor_get(x_1291, 0); -lean_dec(x_1293); -lean_ctor_set_tag(x_1291, 1); -lean_ctor_set(x_1291, 0, x_1262); -return x_1291; -} -else -{ -lean_object* x_1294; lean_object* x_1295; -x_1294 = lean_ctor_get(x_1291, 1); -lean_inc(x_1294); -lean_dec(x_1291); -x_1295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1295, 0, x_1262); -lean_ctor_set(x_1295, 1, x_1294); -return x_1295; -} -} -} -} -block_1321: -{ -lean_object* x_1299; uint8_t x_1300; -x_1299 = l_Lean_Elab_Term_saveState___rarg(x_11, x_12, x_13, x_14, x_15, x_1298); -x_1300 = !lean_is_exclusive(x_1299); -if (x_1300 == 0) -{ -lean_object* x_1301; lean_object* x_1302; uint8_t x_1303; lean_object* x_1304; uint8_t x_1305; -x_1301 = lean_ctor_get(x_1299, 0); -x_1302 = lean_ctor_get(x_1299, 1); -x_1303 = 1; -x_1304 = l_Lean_Elab_Term_SavedState_restore(x_1259, x_1303, x_10, x_11, x_12, x_13, x_14, x_15, x_1302); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1305 = !lean_is_exclusive(x_1304); -if (x_1305 == 0) -{ -lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; -x_1306 = lean_ctor_get(x_1304, 1); -x_1307 = lean_ctor_get(x_1304, 0); -lean_dec(x_1307); -lean_ctor_set(x_1304, 1, x_1301); -lean_ctor_set(x_1304, 0, x_1297); -x_1308 = lean_array_push(x_9, x_1304); -lean_ctor_set(x_1299, 1, x_1306); -lean_ctor_set(x_1299, 0, x_1308); -return x_1299; -} -else -{ -lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; -x_1309 = lean_ctor_get(x_1304, 1); -lean_inc(x_1309); -lean_dec(x_1304); -x_1310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1310, 0, x_1297); -lean_ctor_set(x_1310, 1, x_1301); -x_1311 = lean_array_push(x_9, x_1310); -lean_ctor_set(x_1299, 1, x_1309); -lean_ctor_set(x_1299, 0, x_1311); -return x_1299; -} -} -else -{ -lean_object* x_1312; lean_object* x_1313; uint8_t x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; -x_1312 = lean_ctor_get(x_1299, 0); -x_1313 = lean_ctor_get(x_1299, 1); -lean_inc(x_1313); -lean_inc(x_1312); -lean_dec(x_1299); -x_1314 = 1; -x_1315 = l_Lean_Elab_Term_SavedState_restore(x_1259, x_1314, x_10, x_11, x_12, x_13, x_14, x_15, x_1313); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1316 = lean_ctor_get(x_1315, 1); -lean_inc(x_1316); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - x_1317 = x_1315; -} else { - lean_dec_ref(x_1315); - x_1317 = lean_box(0); -} -if (lean_is_scalar(x_1317)) { - x_1318 = lean_alloc_ctor(0, 2, 0); -} else { - x_1318 = x_1317; -} -lean_ctor_set(x_1318, 0, x_1297); -lean_ctor_set(x_1318, 1, x_1312); -x_1319 = lean_array_push(x_9, x_1318); -x_1320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1320, 0, x_1319); -lean_ctor_set(x_1320, 1, x_1316); -return x_1320; -} -} -} -} -} -else -{ -lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; -lean_dec(x_1); -x_1442 = l_Lean_Syntax_getId(x_1249); -x_1443 = lean_erase_macro_scopes(x_1442); -x_1444 = l_Lean_Name_components(x_1443); -lean_inc(x_1247); -x_1445 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_1247, x_1249, x_1444); -x_1446 = l_List_append___rarg(x_1445, x_2); -x_1 = x_1247; -x_2 = x_1446; -goto _start; -} -} -else -{ -lean_object* x_1448; lean_object* x_1449; -lean_dec(x_1); -x_1448 = l_Lean_fieldIdxKind; -x_1449 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1448, x_1249); -if (lean_obj_tag(x_1449) == 0) -{ -lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; -x_1450 = l_instInhabitedNat; -x_1451 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -x_1452 = lean_panic_fn(x_1450, x_1451); -x_1453 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1453, 0, x_1249); -lean_ctor_set(x_1453, 1, x_1452); -x_1454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1454, 0, x_1453); -lean_ctor_set(x_1454, 1, x_2); -x_1 = x_1247; -x_2 = x_1454; -goto _start; -} -else -{ -lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; -x_1456 = lean_ctor_get(x_1449, 0); -lean_inc(x_1456); -lean_dec(x_1449); -x_1457 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1457, 0, x_1249); -lean_ctor_set(x_1457, 1, x_1456); -x_1458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1458, 0, x_1457); -lean_ctor_set(x_1458, 1, x_2); -x_1 = x_1247; -x_2 = x_1458; -goto _start; -} -} -} -} -else -{ -lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; uint8_t x_1463; -x_1460 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_1461 = lean_array_get_size(x_1460); -x_1462 = lean_unsigned_to_nat(0u); -x_1463 = lean_nat_dec_lt(x_1462, x_1461); -if (x_1463 == 0) -{ -lean_object* x_1464; -lean_dec(x_1461); -lean_dec(x_1460); +x_747 = lean_array_get_size(x_746); +x_748 = lean_unsigned_to_nat(0u); +x_749 = lean_nat_dec_lt(x_748, x_747); +if (x_749 == 0) +{ +lean_object* x_750; +lean_dec(x_747); +lean_dec(x_746); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -28656,27 +25524,27 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1464, 0, x_9); -lean_ctor_set(x_1464, 1, x_16); -return x_1464; +x_750 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_750, 0, x_9); +lean_ctor_set(x_750, 1, x_16); +return x_750; } else { -uint8_t x_1465; -x_1465 = !lean_is_exclusive(x_10); -if (x_1465 == 0) +uint8_t x_751; +x_751 = !lean_is_exclusive(x_10); +if (x_751 == 0) { -uint8_t x_1466; uint8_t x_1467; -x_1466 = 0; -lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_1466); -x_1467 = lean_nat_dec_le(x_1461, x_1461); -if (x_1467 == 0) +uint8_t x_752; uint8_t x_753; +x_752 = 0; +lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_752); +x_753 = lean_nat_dec_le(x_747, x_747); +if (x_753 == 0) { -lean_object* x_1468; +lean_object* x_754; lean_dec(x_10); -lean_dec(x_1461); -lean_dec(x_1460); +lean_dec(x_747); +lean_dec(x_746); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -28686,66 +25554,66 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1468 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1468, 0, x_9); -lean_ctor_set(x_1468, 1, x_16); -return x_1468; +x_754 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_754, 0, x_9); +lean_ctor_set(x_754, 1, x_16); +return x_754; } else { -size_t x_1469; size_t x_1470; lean_object* x_1471; -x_1469 = 0; -x_1470 = lean_usize_of_nat(x_1461); -lean_dec(x_1461); -x_1471 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1460, x_1469, x_1470, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1460); -return x_1471; +size_t x_755; size_t x_756; lean_object* x_757; +x_755 = 0; +x_756 = lean_usize_of_nat(x_747); +lean_dec(x_747); +x_757 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_746, x_755, x_756, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_746); +return x_757; } } else { -lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; uint8_t x_1477; uint8_t x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; uint8_t x_1482; uint8_t x_1483; lean_object* x_1484; uint8_t x_1485; -x_1472 = lean_ctor_get(x_10, 0); -x_1473 = lean_ctor_get(x_10, 1); -x_1474 = lean_ctor_get(x_10, 2); -x_1475 = lean_ctor_get(x_10, 3); -x_1476 = lean_ctor_get(x_10, 4); -x_1477 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); -x_1478 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); -x_1479 = lean_ctor_get(x_10, 5); -x_1480 = lean_ctor_get(x_10, 6); -x_1481 = lean_ctor_get(x_10, 7); -x_1482 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); -lean_inc(x_1481); -lean_inc(x_1480); -lean_inc(x_1479); -lean_inc(x_1476); -lean_inc(x_1475); -lean_inc(x_1474); -lean_inc(x_1473); -lean_inc(x_1472); +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; uint8_t x_763; uint8_t x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; uint8_t x_768; uint8_t x_769; lean_object* x_770; uint8_t x_771; +x_758 = lean_ctor_get(x_10, 0); +x_759 = lean_ctor_get(x_10, 1); +x_760 = lean_ctor_get(x_10, 2); +x_761 = lean_ctor_get(x_10, 3); +x_762 = lean_ctor_get(x_10, 4); +x_763 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); +x_764 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); +x_765 = lean_ctor_get(x_10, 5); +x_766 = lean_ctor_get(x_10, 6); +x_767 = lean_ctor_get(x_10, 7); +x_768 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); +lean_inc(x_767); +lean_inc(x_766); +lean_inc(x_765); +lean_inc(x_762); +lean_inc(x_761); +lean_inc(x_760); +lean_inc(x_759); +lean_inc(x_758); lean_dec(x_10); -x_1483 = 0; -x_1484 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_1484, 0, x_1472); -lean_ctor_set(x_1484, 1, x_1473); -lean_ctor_set(x_1484, 2, x_1474); -lean_ctor_set(x_1484, 3, x_1475); -lean_ctor_set(x_1484, 4, x_1476); -lean_ctor_set(x_1484, 5, x_1479); -lean_ctor_set(x_1484, 6, x_1480); -lean_ctor_set(x_1484, 7, x_1481); -lean_ctor_set_uint8(x_1484, sizeof(void*)*8, x_1477); -lean_ctor_set_uint8(x_1484, sizeof(void*)*8 + 1, x_1483); -lean_ctor_set_uint8(x_1484, sizeof(void*)*8 + 2, x_1478); -lean_ctor_set_uint8(x_1484, sizeof(void*)*8 + 3, x_1482); -x_1485 = lean_nat_dec_le(x_1461, x_1461); -if (x_1485 == 0) +x_769 = 0; +x_770 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_770, 0, x_758); +lean_ctor_set(x_770, 1, x_759); +lean_ctor_set(x_770, 2, x_760); +lean_ctor_set(x_770, 3, x_761); +lean_ctor_set(x_770, 4, x_762); +lean_ctor_set(x_770, 5, x_765); +lean_ctor_set(x_770, 6, x_766); +lean_ctor_set(x_770, 7, x_767); +lean_ctor_set_uint8(x_770, sizeof(void*)*8, x_763); +lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 1, x_769); +lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 2, x_764); +lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 3, x_768); +x_771 = lean_nat_dec_le(x_747, x_747); +if (x_771 == 0) { -lean_object* x_1486; -lean_dec(x_1484); -lean_dec(x_1461); -lean_dec(x_1460); +lean_object* x_772; +lean_dec(x_770); +lean_dec(x_747); +lean_dec(x_746); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -28755,20 +25623,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1486 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1486, 0, x_9); -lean_ctor_set(x_1486, 1, x_16); -return x_1486; +x_772 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_772, 0, x_9); +lean_ctor_set(x_772, 1, x_16); +return x_772; } else { -size_t x_1487; size_t x_1488; lean_object* x_1489; -x_1487 = 0; -x_1488 = lean_usize_of_nat(x_1461); -lean_dec(x_1461); -x_1489 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_1460, x_1487, x_1488, x_9, x_1484, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1460); -return x_1489; +size_t x_773; size_t x_774; lean_object* x_775; +x_773 = 0; +x_774 = lean_usize_of_nat(x_747); +lean_dec(x_747); +x_775 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_746, x_773, x_774, x_9, x_770, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_746); +return x_775; } } } @@ -28836,11 +25704,44 @@ lean_dec(x_7); return x_22; } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_8); +lean_dec(x_8); +x_20 = lean_unbox(x_9); +lean_dec(x_9); +x_21 = lean_unbox(x_10); +lean_dec(x_10); +x_22 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_1, x_2, x_18, x_4, x_5, x_6, x_7, x_19, x_20, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(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); @@ -29428,7 +26329,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__2; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(881u); +x_3 = lean_unsigned_to_nat(859u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29753,7 +26654,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__2; 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(898u); +x_3 = lean_unsigned_to_nat(876u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29838,6 +26739,59 @@ goto _start; } } } +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +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; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__1() { _start: { @@ -29977,7 +26931,7 @@ x_51 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePending x_52 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_53 = l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__2(x_1, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_18); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -29988,7 +26942,7 @@ return x_53; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_dec(x_23); lean_dec(x_17); lean_dec(x_1); @@ -29996,171 +26950,37 @@ x_54 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3; x_55 = lean_unsigned_to_nat(0u); x_56 = lean_array_get(x_54, x_22, x_55); lean_dec(x_22); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; uint8_t x_61; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = 1; -x_60 = l_Lean_Elab_Term_SavedState_restore(x_58, x_59, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_57 = l_Lean_Elab_Term_applyResult___rarg(x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_18); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -lean_ctor_set(x_60, 0, x_57); -return x_60; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_57); -lean_ctor_set(x_64, 1, x_63); -return x_64; +return x_57; } } else { -lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; -x_65 = lean_ctor_get(x_56, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_56, 1); -lean_inc(x_66); -lean_dec(x_56); -x_67 = 1; -x_68 = l_Lean_Elab_Term_SavedState_restore(x_66, x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -lean_ctor_set_tag(x_68, 1); -lean_ctor_set(x_68, 0, x_65); -return x_68; -} -else -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec(x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_65); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} -} -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_dec(x_1); -x_73 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3; -x_74 = lean_unsigned_to_nat(0u); -x_75 = lean_array_get(x_73, x_17, x_74); +x_58 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3; +x_59 = lean_unsigned_to_nat(0u); +x_60 = lean_array_get(x_58, x_17, x_59); lean_dec(x_17); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = 1; -x_79 = l_Lean_Elab_Term_SavedState_restore(x_77, x_78, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_61 = l_Lean_Elab_Term_applyResult___rarg(x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_18); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) -{ -lean_object* x_81; -x_81 = lean_ctor_get(x_79, 0); -lean_dec(x_81); -lean_ctor_set(x_79, 0, x_76); -return x_79; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -lean_dec(x_79); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_76); -lean_ctor_set(x_83, 1, x_82); -return x_83; +return x_61; } } else { -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; uint8_t x_88; -x_84 = lean_ctor_get(x_75, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_75, 1); -lean_inc(x_85); -lean_dec(x_75); -x_86 = 1; -x_87 = l_Lean_Elab_Term_SavedState_restore(x_85, x_86, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; -x_89 = lean_ctor_get(x_87, 0); -lean_dec(x_89); -lean_ctor_set_tag(x_87, 1); -lean_ctor_set(x_87, 0, x_84); -return x_87; -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_87, 1); -lean_inc(x_90); -lean_dec(x_87); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_84); -lean_ctor_set(x_91, 1, x_90); -return x_91; -} -} -} -} -else -{ -uint8_t x_92; +uint8_t x_62; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -30168,23 +26988,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_92 = !lean_is_exclusive(x_16); -if (x_92 == 0) +x_62 = !lean_is_exclusive(x_16); +if (x_62 == 0) { return x_16; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_16, 0); -x_94 = lean_ctor_get(x_16, 1); -lean_inc(x_94); -lean_inc(x_93); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_16, 0); +x_64 = lean_ctor_get(x_16, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_16); -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; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } @@ -30201,855 +27021,11 @@ x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elab return x_8; } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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_4); -lean_dec(x_4); -x_14 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -lean_object* l_Lean_Elab_Term_expandArgs_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_expandArgs_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandArgs_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_expandArgs_match__2___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_expandArgs_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandArgs_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___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) { -_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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -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; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("namedArgument"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___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_shouldPropagateExpectedTypeFor___closed__6; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ellipsis"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4() { -_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_shouldPropagateExpectedTypeFor___closed__6; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected '..'"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(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; uint8_t x_14; -x_13 = lean_array_uget(x_1, x_2); -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_4, 0); -x_16 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -x_17 = l_Lean_Syntax_getKind(x_13); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2; -x_19 = lean_name_eq(x_17, x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; -x_21 = lean_name_eq(x_17, x_20); -lean_dec(x_17); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_13); -x_23 = lean_array_push(x_16, x_22); -lean_ctor_set(x_4, 1, x_23); -x_24 = 1; -x_25 = x_2 + x_24; -x_2 = x_25; -goto _start; -} -else -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_free_object(x_4); -lean_dec(x_16); -lean_dec(x_15); -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; -x_28 = l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_13, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_13); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -return x_28; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -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_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_dec(x_17); -x_33 = lean_unsigned_to_nat(1u); -x_34 = l_Lean_Syntax_getArg(x_13, x_33); -x_35 = l_Lean_Syntax_getId(x_34); -lean_dec(x_34); -x_36 = lean_erase_macro_scopes(x_35); -x_37 = lean_unsigned_to_nat(3u); -x_38 = l_Lean_Syntax_getArg(x_13, x_37); -x_39 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_39, 0, x_38); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_13); -lean_ctor_set(x_40, 1, x_36); -lean_ctor_set(x_40, 2, x_39); -lean_inc(x_5); -x_41 = l_Lean_Elab_Term_addNamedArg(x_15, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; -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); -lean_ctor_set(x_4, 0, x_42); -x_44 = 1; -x_45 = x_2 + x_44; -x_2 = x_45; -x_11 = x_43; -goto _start; -} -else -{ -uint8_t x_47; -lean_free_object(x_4); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_5); -x_47 = !lean_is_exclusive(x_41); -if (x_47 == 0) -{ -return x_41; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_41, 0); -x_49 = lean_ctor_get(x_41, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_41); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -} -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_4, 0); -x_52 = lean_ctor_get(x_4, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_4); -lean_inc(x_13); -x_53 = l_Lean_Syntax_getKind(x_13); -x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2; -x_55 = lean_name_eq(x_53, x_54); -if (x_55 == 0) -{ -lean_object* x_56; uint8_t x_57; -x_56 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; -x_57 = lean_name_eq(x_53, x_56); -lean_dec(x_53); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; -x_58 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_58, 0, x_13); -x_59 = lean_array_push(x_52, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_51); -lean_ctor_set(x_60, 1, x_59); -x_61 = 1; -x_62 = x_2 + x_61; -x_2 = x_62; -x_4 = x_60; -goto _start; -} -else -{ -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_dec(x_52); -lean_dec(x_51); -x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; -x_65 = l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_13, x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_13); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_68 = x_65; -} else { - lean_dec_ref(x_65); - x_68 = lean_box(0); -} -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(1, 2, 0); -} else { - x_69 = x_68; -} -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_53); -x_70 = lean_unsigned_to_nat(1u); -x_71 = l_Lean_Syntax_getArg(x_13, x_70); -x_72 = l_Lean_Syntax_getId(x_71); -lean_dec(x_71); -x_73 = lean_erase_macro_scopes(x_72); -x_74 = lean_unsigned_to_nat(3u); -x_75 = l_Lean_Syntax_getArg(x_13, x_74); -x_76 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_77 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_77, 0, x_13); -lean_ctor_set(x_77, 1, x_73); -lean_ctor_set(x_77, 2, x_76); -lean_inc(x_5); -x_78 = l_Lean_Elab_Term_addNamedArg(x_51, x_77, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_52); -x_82 = 1; -x_83 = x_2 + x_82; -x_2 = x_83; -x_4 = x_81; -x_11 = x_80; -goto _start; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_52); -lean_dec(x_9); -lean_dec(x_5); -x_85 = lean_ctor_get(x_78, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_78, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_87 = x_78; -} else { - lean_dec_ref(x_78); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_9); -lean_dec(x_5); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_4); -lean_ctor_set(x_89, 1, x_11); -return x_89; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_expandArgs___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_expandArgs(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) { -_start: -{ -lean_object* x_10; uint8_t x_79; -x_79 = l_Array_isEmpty___rarg(x_1); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_80 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; -x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); -if (x_82 == 0) -{ -uint8_t x_83; lean_object* x_84; lean_object* x_85; -x_83 = 0; -x_84 = lean_box(x_83); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_1); -lean_ctor_set(x_85, 1, x_84); -x_10 = x_85; -goto block_78; -} -else -{ -lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_array_pop(x_1); -x_87 = 1; -x_88 = lean_box(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); -x_10 = x_89; -goto block_78; -} -} -else -{ -uint8_t x_90; lean_object* x_91; lean_object* x_92; -x_90 = 0; -x_91 = lean_box(x_90); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_1); -lean_ctor_set(x_92, 1, x_91); -x_10 = x_92; -goto block_78; -} -block_78: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = lean_array_get_size(x_12); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_3); -x_17 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -lean_ctor_set(x_10, 0, x_17); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_9); -return x_19; -} -else -{ -uint8_t x_20; -x_20 = lean_nat_dec_le(x_14, x_14); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_3); -x_21 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -lean_ctor_set(x_10, 0, x_21); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_10); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_9); -return x_23; -} -else -{ -size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_24 = 0; -x_25 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_26 = l_Lean_Elab_Term_expandArgs___closed__1; -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(x_12, x_24, x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_12); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_27, 0); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_ctor_set(x_29, 1, x_13); -lean_ctor_set(x_29, 0, x_32); -lean_ctor_set(x_10, 1, x_29); -lean_ctor_set(x_10, 0, x_31); -lean_ctor_set(x_27, 0, x_10); -return x_27; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_29, 0); -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_29); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_13); -lean_ctor_set(x_10, 1, x_35); -lean_ctor_set(x_10, 0, x_33); -lean_ctor_set(x_27, 0, x_10); -return x_27; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_36 = lean_ctor_get(x_27, 0); -x_37 = lean_ctor_get(x_27, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_27); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_40 = x_36; -} else { - lean_dec_ref(x_36); - x_40 = lean_box(0); -} -if (lean_is_scalar(x_40)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_40; -} -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_13); -lean_ctor_set(x_10, 1, x_41); -lean_ctor_set(x_10, 0, x_38); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_10); -lean_ctor_set(x_42, 1, x_37); -return x_42; -} -} -else -{ -uint8_t x_43; -lean_free_object(x_10); -lean_dec(x_13); -x_43 = !lean_is_exclusive(x_27); -if (x_43 == 0) -{ -return x_27; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_27, 0); -x_45 = lean_ctor_get(x_27, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_27); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_47 = lean_ctor_get(x_10, 0); -x_48 = lean_ctor_get(x_10, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_10); -x_49 = lean_array_get_size(x_47); -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_lt(x_50, x_49); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_7); -lean_dec(x_3); -x_52 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_48); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_9); -return x_55; -} -else -{ -uint8_t x_56; -x_56 = lean_nat_dec_le(x_49, x_49); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_7); -lean_dec(x_3); -x_57 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_48); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_9); -return x_60; -} -else -{ -size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = 0; -x_62 = lean_usize_of_nat(x_49); -lean_dec(x_49); -x_63 = l_Lean_Elab_Term_expandArgs___closed__1; -x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(x_47, x_61, x_62, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_47); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); -} -x_68 = lean_ctor_get(x_65, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_70 = x_65; -} else { - lean_dec_ref(x_65); - x_70 = lean_box(0); -} -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_70; -} -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_48); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_68); -lean_ctor_set(x_72, 1, x_71); -if (lean_is_scalar(x_67)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_67; -} -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_66); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_48); -x_74 = lean_ctor_get(x_64, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_64, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_76 = x_64; -} else { - lean_dec_ref(x_64); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -} -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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* l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -31058,253 +27034,15 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___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, lean_object* x_11) { +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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: { -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_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(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_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_Elab_Term_expandArgs___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: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -lean_dec(x_2); -x_11 = l_Lean_Elab_Term_expandArgs(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_4); lean_dec(x_4); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_expandApp_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_expandApp_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandApp_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_expandApp(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) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getArgs(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = l_Lean_Elab_Term_expandArgs(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -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_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_14, 0); -lean_dec(x_18); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_15, 1); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_Syntax_getArg(x_1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_15); -lean_ctor_set(x_14, 0, x_24); +x_14 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } -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; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -x_27 = lean_unsigned_to_nat(0u); -x_28 = l_Lean_Syntax_getArg(x_1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_25); -lean_ctor_set(x_29, 1, x_26); -lean_ctor_set(x_15, 1, x_29); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_15); -lean_ctor_set(x_14, 0, x_30); -return x_14; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_31 = lean_ctor_get(x_15, 0); -lean_inc(x_31); -lean_dec(x_15); -x_32 = lean_ctor_get(x_16, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_16, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_34 = x_16; -} else { - lean_dec_ref(x_16); - x_34 = lean_box(0); -} -x_35 = lean_unsigned_to_nat(0u); -x_36 = l_Lean_Syntax_getArg(x_1, x_35); -if (lean_is_scalar(x_34)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_34; -} -lean_ctor_set(x_37, 0, x_32); -lean_ctor_set(x_37, 1, x_33); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_31); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_14, 0, x_39); -return x_14; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_40 = lean_ctor_get(x_14, 1); -lean_inc(x_40); -lean_dec(x_14); -x_41 = lean_ctor_get(x_15, 0); -lean_inc(x_41); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_42 = x_15; -} else { - lean_dec_ref(x_15); - x_42 = lean_box(0); -} -x_43 = lean_ctor_get(x_16, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_16, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_45 = x_16; -} else { - lean_dec_ref(x_16); - x_45 = lean_box(0); -} -x_46 = lean_unsigned_to_nat(0u); -x_47 = l_Lean_Syntax_getArg(x_1, x_46); -if (lean_is_scalar(x_45)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_45; -} -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_44); -if (lean_is_scalar(x_42)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_42; -} -lean_ctor_set(x_49, 0, x_41); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_40); -return x_51; -} -} -else -{ -uint8_t x_52; -x_52 = !lean_is_exclusive(x_14); -if (x_52 == 0) -{ -return x_14; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_14, 0); -x_54 = lean_ctor_get(x_14, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_14); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -} -} -lean_object* l_Lean_Elab_Term_expandApp___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: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -lean_dec(x_2); -x_11 = l_Lean_Elab_Term_expandApp(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_11; -} } lean_object* l_Lean_Elab_Term_elabApp_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -31337,342 +27075,89 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabApp_match__1___rarg), 2, 0 return x_2; } } -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___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* l_Lean_Elab_Term_elabApp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Meta_setPostponed(x_1, x_6, x_7, x_8, x_9, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_10; lean_object* x_11; +x_10 = 0; +lean_inc(x_7); +lean_inc(x_3); +x_11 = l_Lean_Elab_Term_expandApp(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); lean_dec(x_13); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set(x_11, 0, x_15); +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +x_21 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_16, x_17, x_18, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_21; +} +else +{ +uint8_t x_22; +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_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) +{ return x_11; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_dec(x_11); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); -return x_19; -} -} -} -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_9); -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 = 0; -lean_inc(x_7); -lean_inc(x_3); -x_19 = l_Lean_Elab_Term_expandApp(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_ctor_get(x_20, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_ctor_get(x_21, 0); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_ctor_get(x_22, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -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_29 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_24, x_25, x_26, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = 1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_33 = l_Lean_Meta_processPostponed(x_18, x_32, x_5, x_6, x_7, x_8, x_31); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_unbox(x_34); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -lean_dec(x_30); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_37 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(x_3, x_4, x_5, x_6, x_7, x_8, x_36); -lean_dec(x_4); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_39); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_40, 0); -lean_dec(x_42); -lean_ctor_set_tag(x_40, 1); -lean_ctor_set(x_40, 0, x_38); -return x_40; +lean_inc(x_23); +lean_dec(x_11); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_33, 1); -lean_inc(x_45); -lean_dec(x_33); -x_46 = lean_box(0); -x_47 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___lambda__1(x_16, x_30, x_46, x_3, x_4, x_5, x_6, x_7, x_8, 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_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_10 = x_48; -x_11 = x_49; -goto block_14; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_30); -lean_dec(x_4); -lean_dec(x_3); -x_50 = lean_ctor_get(x_33, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_33, 1); -lean_inc(x_51); -lean_dec(x_33); -x_52 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_51); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; -x_54 = lean_ctor_get(x_52, 0); -lean_dec(x_54); -lean_ctor_set_tag(x_52, 1); -lean_ctor_set(x_52, 0, x_50); -return x_52; -} -else -{ -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_dec(x_52); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -lean_dec(x_4); -lean_dec(x_3); -x_57 = lean_ctor_get(x_29, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_29, 1); -lean_inc(x_58); -lean_dec(x_29); -x_59 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_58); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_59, 0); -lean_dec(x_61); -lean_ctor_set_tag(x_59, 1); -lean_ctor_set(x_59, 0, x_57); -return x_59; -} -else -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_59, 1); -lean_inc(x_62); -lean_dec(x_59); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_57); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_64 = lean_ctor_get(x_19, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_19, 1); -lean_inc(x_65); -lean_dec(x_19); -x_66 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_65); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set_tag(x_66, 1); -lean_ctor_set(x_66, 0, x_64); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -block_14: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; } } } lean_object* l_Lean_Elab_Term_elabApp(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_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabApp___lambda__1___boxed), 9, 2); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_2); +x_11 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___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* l_Lean_Elab_Term_elabApp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Term_elabApp___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_elabApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Term_elabApp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); return x_10; } @@ -31729,7 +27214,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabApp___closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabApp___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabApp), 9, 0); return x_1; } } @@ -31893,7 +27378,33 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1() { +lean_object* l_Lean_Elab_Term_elabPipeProj_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_apply_3(x_2, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_Elab_Term_elabPipeProj_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPipeProj_match__1___rarg), 2, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -31901,7 +27412,7 @@ x_1 = lean_mk_string("|>."); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -31909,21 +27420,21 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2; +x_2 = l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3; +x_1 = l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3; x_2 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -31931,293 +27442,96 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___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, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_elabPipeProj___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, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_18 = l_Lean_Meta_getResetPostponed(x_8, x_9, x_10, x_11, x_12); -x_19 = lean_ctor_get(x_18, 0); +uint8_t x_13; lean_object* x_14; +x_13 = 0; +lean_inc(x_10); +lean_inc(x_6); +x_14 = l_Lean_Elab_Term_expandArgs(x_1, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_ctor_get(x_16, 0); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +x_20 = lean_ctor_get(x_16, 1); lean_inc(x_20); -lean_dec(x_18); -x_21 = 0; -lean_inc(x_10); -lean_inc(x_6); -x_22 = l_Lean_Elab_Term_expandArgs(x_5, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -if (lean_obj_tag(x_22) == 0) -{ -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; uint8_t x_45; lean_object* x_46; -x_23 = lean_ctor_get(x_22, 0); +lean_dec(x_16); +x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_17); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); +lean_dec(x_21); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); lean_dec(x_24); -x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_25); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1; -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_30); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__6; -x_39 = lean_array_push(x_38, x_2); -x_40 = lean_array_push(x_39, x_37); -x_41 = lean_array_push(x_40, x_3); -x_42 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4; -x_43 = lean_array_push(x_41, x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_1); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_unbox(x_28); -lean_dec(x_28); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_46 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_44, x_26, x_27, x_45, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; -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 = 1; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_50 = l_Lean_Meta_processPostponed(x_21, x_49, x_8, x_9, x_10, x_11, x_48); -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) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_47); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_54 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(x_6, x_7, x_8, x_9, x_10, x_11, x_53); -lean_dec(x_7); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_Meta_setPostponed(x_19, x_8, x_9, x_10, x_11, x_56); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 1); -lean_ctor_set(x_57, 0, x_55); -return x_57; +x_26 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1; +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__6; +x_31 = lean_array_push(x_30, x_2); +x_32 = lean_array_push(x_31, x_29); +x_33 = lean_array_push(x_32, x_3); +x_34 = l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4; +x_35 = lean_array_push(x_33, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_unbox(x_20); +lean_dec(x_20); +x_38 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(x_36, x_18, x_19, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +return x_38; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_55); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_62 = lean_ctor_get(x_50, 1); -lean_inc(x_62); -lean_dec(x_50); -x_63 = lean_box(0); -x_64 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabApp___spec__1___lambda__1(x_19, x_47, x_63, x_6, x_7, x_8, x_9, x_10, x_11, x_62); +uint8_t x_39; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_13 = x_65; -x_14 = x_66; -goto block_17; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -lean_dec(x_47); -lean_dec(x_7); -lean_dec(x_6); -x_67 = lean_ctor_get(x_50, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_50, 1); -lean_inc(x_68); -lean_dec(x_50); -x_69 = l_Lean_Meta_setPostponed(x_19, x_8, x_9, x_10, x_11, x_68); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -lean_ctor_set_tag(x_69, 1); -lean_ctor_set(x_69, 0, x_67); -return x_69; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_67); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -lean_dec(x_7); -lean_dec(x_6); -x_74 = lean_ctor_get(x_46, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_46, 1); -lean_inc(x_75); -lean_dec(x_46); -x_76 = l_Lean_Meta_setPostponed(x_19, x_8, x_9, x_10, x_11, x_75); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -lean_ctor_set_tag(x_76, 1); -lean_ctor_set(x_76, 0, x_74); -return x_76; -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_74); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -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_81 = lean_ctor_get(x_22, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_22, 1); -lean_inc(x_82); -lean_dec(x_22); -x_83 = l_Lean_Meta_setPostponed(x_19, x_8, x_9, x_10, x_11, x_82); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) +x_39 = !lean_is_exclusive(x_14); +if (x_39 == 0) { -lean_object* x_85; -x_85 = lean_ctor_get(x_83, 0); -lean_dec(x_85); -lean_ctor_set_tag(x_83, 1); -lean_ctor_set(x_83, 0, x_81); -return x_83; +return x_14; } else { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); -lean_dec(x_83); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_86); -return x_87; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_14, 0); +x_41 = lean_ctor_get(x_14, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_14); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } -block_17: -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -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; -} } } lean_object* l_Lean_Elab_Term_elabPipeProj(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) { @@ -32243,7 +27557,7 @@ 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; +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; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); x_15 = lean_unsigned_to_nat(2u); @@ -32253,8 +27567,14 @@ x_18 = l_Lean_Syntax_getArg(x_1, x_17); lean_dec(x_1); x_19 = l_Lean_Syntax_getArgs(x_18); lean_dec(x_18); -x_20 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1(x_10, x_14, x_16, x_2, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_20; +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPipeProj___lambda__1), 12, 5); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_16); +lean_closure_set(x_20, 3, x_10); +lean_closure_set(x_20, 4, x_2); +x_21 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_21; } } } @@ -32638,7 +27958,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_9631_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_9533_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -32653,6 +27973,7 @@ lean_object* initialize_Lean_Parser_Term(lean_object*); lean_object* initialize_Lean_Elab_Term(lean_object*); lean_object* initialize_Lean_Elab_Binders(lean_object*); lean_object* initialize_Lean_Elab_SyntheticMVars(lean_object*); +lean_object* initialize_Lean_Elab_Arg(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_App(lean_object* w) { lean_object * res; @@ -32676,6 +27997,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_SyntheticMVars(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Arg(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__1(); lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__1); l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__2(); @@ -32724,16 +28048,6 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_elabWithoutExpectedTypeAttr = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_elabWithoutExpectedTypeAttr); lean_dec_ref(res); -l_Lean_Elab_Term_instInhabitedArg___closed__1 = _init_l_Lean_Elab_Term_instInhabitedArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedArg___closed__1); -l_Lean_Elab_Term_instInhabitedArg = _init_l_Lean_Elab_Term_instInhabitedArg(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedArg); -l_Lean_Elab_Term_NamedArg_ref___default = _init_l_Lean_Elab_Term_NamedArg_ref___default(); -lean_mark_persistent(l_Lean_Elab_Term_NamedArg_ref___default); -l_Lean_Elab_Term_instInhabitedNamedArg___closed__1 = _init_l_Lean_Elab_Term_instInhabitedNamedArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedNamedArg___closed__1); -l_Lean_Elab_Term_instInhabitedNamedArg = _init_l_Lean_Elab_Term_instInhabitedNamedArg(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedNamedArg); l_Lean_Elab_Term_instToStringNamedArg___closed__1 = _init_l_Lean_Elab_Term_instToStringNamedArg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_instToStringNamedArg___closed__1); l_Lean_Elab_Term_instToStringNamedArg___closed__2 = _init_l_Lean_Elab_Term_instToStringNamedArg___closed__2(); @@ -32756,14 +28070,6 @@ l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__7 = _init_l_Lean_Elab_Ter lean_mark_persistent(l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__7); l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__8 = _init_l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__8(); lean_mark_persistent(l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__8); -l_Lean_Elab_Term_addNamedArg___closed__1 = _init_l_Lean_Elab_Term_addNamedArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__1); -l_Lean_Elab_Term_addNamedArg___closed__2 = _init_l_Lean_Elab_Term_addNamedArg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__2); -l_Lean_Elab_Term_addNamedArg___closed__3 = _init_l_Lean_Elab_Term_addNamedArg___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__3); -l_Lean_Elab_Term_addNamedArg___closed__4 = _init_l_Lean_Elab_Term_addNamedArg___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__4); l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__2(); @@ -32827,6 +28133,10 @@ l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propa lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__3); l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__4(); lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__4); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__2); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2(); @@ -32851,22 +28161,18 @@ l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___ lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__11); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__12); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__13 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__13); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__14 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__14); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__3 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__3); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__4 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__4); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__5 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__5); -l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__6); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__1); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3___closed__2); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__1); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__2); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__3); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__4___closed__4); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2(); @@ -33099,20 +28405,6 @@ l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__2 = _init_l___p lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__2); l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__3); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6); -l_Lean_Elab_Term_expandArgs___closed__1 = _init_l_Lean_Elab_Term_expandArgs___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_expandArgs___closed__1); l___regBuiltin_Lean_Elab_Term_elabApp___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabApp___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabApp___closed__1); l___regBuiltin_Lean_Elab_Term_elabApp___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabApp___closed__2(); @@ -33155,14 +28447,14 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabExplicitUniv___closed__3) res = l___regBuiltin_Lean_Elab_Term_elabExplicitUniv(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1 = _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__1); -l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2 = _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__2); -l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3 = _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__3); -l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4 = _init_l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabPipeProj___spec__1___closed__4); +l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1); +l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__2); +l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3 = _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__3); +l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4 = _init_l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__4); l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__1); l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeProj___closed__2(); @@ -33216,7 +28508,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabArrayRef___closed__3); 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_9631_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_9533_(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/Arg.c b/stage0/stdlib/Lean/Elab/Arg.c new file mode 100644 index 0000000000..8cd44647b5 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Arg.c @@ -0,0 +1,1567 @@ +// Lean compiler output +// Module: Lean.Elab.Arg +// Imports: Init Lean.Elab.Term +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_Elab_Term_expandArgs_match__1(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; +size_t l_USize_add(size_t, size_t); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1; +lean_object* lean_erase_macro_scopes(lean_object*); +static lean_object* l_Lean_Elab_Term_instInhabitedNamedArg___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(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_stringToMessageData(lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_NamedArg_ref___default; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8; +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; +lean_object* l_Lean_Elab_Term_expandApp___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_expandApp_match__1(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12; +lean_object* l_Lean_Elab_Term_expandArgs_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11; +static lean_object* l_Lean_Elab_Term_addNamedArg___closed__3; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9; +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addNamedArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2; +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*); +uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_instInhabitedArg___closed__1; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7; +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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_expandArgs_match__2(lean_object*); +lean_object* l_Lean_Elab_Term_expandApp_match__1___rarg(lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_Elab_Term_expandArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; +static lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; +lean_object* l_Lean_Elab_Term_addNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_pop(lean_object*); +lean_object* l_Lean_Elab_Term_expandArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_expandArgs___closed__1; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5; +static lean_object* l_Lean_Elab_Term_expandArgs___closed__2; +static lean_object* l_Lean_Elab_Term_addNamedArg___closed__2; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addNamedArg___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_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_addNamedArg___closed__4; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_Term_expandArgs_match__2___rarg(lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10; +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instInhabitedArg; +static lean_object* _init_l_Lean_Elab_Term_instInhabitedArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +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_Elab_Term_instInhabitedArg() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_instInhabitedArg___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_NamedArg_ref___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_instInhabitedNamedArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = l_Lean_Elab_Term_instInhabitedArg___closed__1; +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_Lean_Elab_Term_instInhabitedNamedArg() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_instInhabitedNamedArg___closed__1; +return x_1; +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_name_eq(x_7, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_3 + x_10; +x_3 = x_11; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = 1; +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = 0; +return x_14; +} +} +} +lean_object* l_Lean_Elab_Term_addNamedArg___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; +x_11 = lean_array_push(x_1, x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("argument '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_addNamedArg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' was already set"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addNamedArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_addNamedArg___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_addNamedArg(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; uint8_t x_12; +x_10 = lean_array_get_size(x_1); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +x_13 = lean_box(0); +x_14 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_10, x_10); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_10); +x_16 = lean_box(0); +x_17 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_17; +} +else +{ +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = 0; +x_19 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_20 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(x_2, x_1, x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_dec(x_1); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +lean_dec(x_2); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_Elab_Term_addNamedArg___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Elab_Term_addNamedArg___closed__4; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +return x_29; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_29); +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; +} +} +} +} +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addNamedArg___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_addNamedArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_addNamedArg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_addNamedArg___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_addNamedArg(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); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_expandArgs_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_expandArgs_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandArgs_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandArgs_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_expandArgs_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandArgs_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +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; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedArgument"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ellipsis"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected '..'"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(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; uint8_t x_14; +x_13 = lean_array_uget(x_1, x_2); +x_14 = !lean_is_exclusive(x_4); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_4, 0); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_13); +x_17 = l_Lean_Syntax_getKind(x_13); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8; +x_19 = lean_name_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10; +x_21 = lean_name_eq(x_17, x_20); +lean_dec(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_13); +x_23 = lean_array_push(x_16, x_22); +lean_ctor_set(x_4, 1, x_23); +x_24 = 1; +x_25 = x_2 + x_24; +x_2 = x_25; +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_free_object(x_4); +lean_dec(x_16); +lean_dec(x_15); +x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12; +x_28 = l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_13, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_13); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +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_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_dec(x_17); +x_33 = lean_unsigned_to_nat(1u); +x_34 = l_Lean_Syntax_getArg(x_13, x_33); +x_35 = l_Lean_Syntax_getId(x_34); +lean_dec(x_34); +x_36 = lean_erase_macro_scopes(x_35); +x_37 = lean_unsigned_to_nat(3u); +x_38 = l_Lean_Syntax_getArg(x_13, x_37); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_13); +lean_ctor_set(x_40, 1, x_36); +lean_ctor_set(x_40, 2, x_39); +lean_inc(x_5); +x_41 = l_Lean_Elab_Term_addNamedArg(x_15, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; +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); +lean_ctor_set(x_4, 0, x_42); +x_44 = 1; +x_45 = x_2 + x_44; +x_2 = x_45; +x_11 = x_43; +goto _start; +} +else +{ +uint8_t x_47; +lean_free_object(x_4); +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_5); +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) +{ +return x_41; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_41, 0); +x_49 = lean_ctor_get(x_41, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_41); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +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_4, 0); +x_52 = lean_ctor_get(x_4, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_4); +lean_inc(x_13); +x_53 = l_Lean_Syntax_getKind(x_13); +x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8; +x_55 = lean_name_eq(x_53, x_54); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10; +x_57 = lean_name_eq(x_53, x_56); +lean_dec(x_53); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; +x_58 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_58, 0, x_13); +x_59 = lean_array_push(x_52, x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_51); +lean_ctor_set(x_60, 1, x_59); +x_61 = 1; +x_62 = x_2 + x_61; +x_2 = x_62; +x_4 = x_60; +goto _start; +} +else +{ +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_dec(x_52); +lean_dec(x_51); +x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12; +x_65 = l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_13, x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_13); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(1, 2, 0); +} else { + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +return x_69; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_53); +x_70 = lean_unsigned_to_nat(1u); +x_71 = l_Lean_Syntax_getArg(x_13, x_70); +x_72 = l_Lean_Syntax_getId(x_71); +lean_dec(x_71); +x_73 = lean_erase_macro_scopes(x_72); +x_74 = lean_unsigned_to_nat(3u); +x_75 = l_Lean_Syntax_getArg(x_13, x_74); +x_76 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_77, 0, x_13); +lean_ctor_set(x_77, 1, x_73); +lean_ctor_set(x_77, 2, x_76); +lean_inc(x_5); +x_78 = l_Lean_Elab_Term_addNamedArg(x_51, x_77, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_52); +x_82 = 1; +x_83 = x_2 + x_82; +x_2 = x_83; +x_4 = x_81; +x_11 = x_80; +goto _start; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_52); +lean_dec(x_9); +lean_dec(x_5); +x_85 = lean_ctor_get(x_78, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_78, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_87 = x_78; +} else { + lean_dec_ref(x_78); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +} +else +{ +lean_object* x_89; +lean_dec(x_9); +lean_dec(x_5); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_4); +lean_ctor_set(x_89, 1, x_11); +return x_89; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_expandArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_expandArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_expandArgs___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandArgs(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) { +_start: +{ +lean_object* x_10; uint8_t x_79; +x_79 = l_Array_isEmpty___rarg(x_1); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10; +x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); +if (x_82 == 0) +{ +uint8_t x_83; lean_object* x_84; lean_object* x_85; +x_83 = 0; +x_84 = lean_box(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_1); +lean_ctor_set(x_85, 1, x_84); +x_10 = x_85; +goto block_78; +} +else +{ +lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; +x_86 = lean_array_pop(x_1); +x_87 = 1; +x_88 = lean_box(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); +x_10 = x_89; +goto block_78; +} +} +else +{ +uint8_t x_90; lean_object* x_91; lean_object* x_92; +x_90 = 0; +x_91 = lean_box(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_1); +lean_ctor_set(x_92, 1, x_91); +x_10 = x_92; +goto block_78; +} +block_78: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_array_get_size(x_12); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_lt(x_15, x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_3); +x_17 = l_Lean_Elab_Term_expandArgs___closed__1; +lean_ctor_set(x_10, 0, x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_9); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = lean_nat_dec_le(x_14, x_14); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_3); +x_21 = l_Lean_Elab_Term_expandArgs___closed__1; +lean_ctor_set(x_10, 0, x_21); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_10); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +return x_23; +} +else +{ +size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = 0; +x_25 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_26 = l_Lean_Elab_Term_expandArgs___closed__2; +x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(x_12, x_24, x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_12); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_27, 0); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_ctor_set(x_29, 1, x_13); +lean_ctor_set(x_29, 0, x_32); +lean_ctor_set(x_10, 1, x_29); +lean_ctor_set(x_10, 0, x_31); +lean_ctor_set(x_27, 0, x_10); +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_29); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_13); +lean_ctor_set(x_10, 1, x_35); +lean_ctor_set(x_10, 0, x_33); +lean_ctor_set(x_27, 0, x_10); +return x_27; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_36 = lean_ctor_get(x_27, 0); +x_37 = lean_ctor_get(x_27, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_27); +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_40 = x_36; +} else { + lean_dec_ref(x_36); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_13); +lean_ctor_set(x_10, 1, x_41); +lean_ctor_set(x_10, 0, x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_10); +lean_ctor_set(x_42, 1, x_37); +return x_42; +} +} +else +{ +uint8_t x_43; +lean_free_object(x_10); +lean_dec(x_13); +x_43 = !lean_is_exclusive(x_27); +if (x_43 == 0) +{ +return x_27; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_27, 0); +x_45 = lean_ctor_get(x_27, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_27); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_47 = lean_ctor_get(x_10, 0); +x_48 = lean_ctor_get(x_10, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_10); +x_49 = lean_array_get_size(x_47); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_nat_dec_lt(x_50, x_49); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_49); +lean_dec(x_47); +lean_dec(x_7); +lean_dec(x_3); +x_52 = l_Lean_Elab_Term_expandArgs___closed__1; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_48); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_9); +return x_55; +} +else +{ +uint8_t x_56; +x_56 = lean_nat_dec_le(x_49, x_49); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_49); +lean_dec(x_47); +lean_dec(x_7); +lean_dec(x_3); +x_57 = l_Lean_Elab_Term_expandArgs___closed__1; +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_48); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_9); +return x_60; +} +else +{ +size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; +x_61 = 0; +x_62 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_63 = l_Lean_Elab_Term_expandArgs___closed__2; +x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(x_47, x_61, x_62, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_47); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_67 = x_64; +} else { + lean_dec_ref(x_64); + x_67 = lean_box(0); +} +x_68 = lean_ctor_get(x_65, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_70 = x_65; +} else { + lean_dec_ref(x_65); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_48); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_71); +if (lean_is_scalar(x_67)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_67; +} +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_66); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_48); +x_74 = lean_ctor_get(x_64, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_64, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_76 = x_64; +} else { + lean_dec_ref(x_64); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandArgs___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_expandArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_expandArgs___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___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, 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_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3(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_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_Term_expandArgs___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: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l_Lean_Elab_Term_expandArgs(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_expandApp_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_apply_3(x_2, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_Elab_Term_expandApp_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandApp_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandApp(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getArgs(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Lean_Elab_Term_expandArgs(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_15, 1); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_15); +lean_ctor_set(x_14, 0, x_24); +return x_14; +} +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; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_16); +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Lean_Syntax_getArg(x_1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_15, 1, x_29); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_15); +lean_ctor_set(x_14, 0, x_30); +return x_14; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_31 = lean_ctor_get(x_15, 0); +lean_inc(x_31); +lean_dec(x_15); +x_32 = lean_ctor_get(x_16, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_34 = x_16; +} else { + lean_dec_ref(x_16); + x_34 = lean_box(0); +} +x_35 = lean_unsigned_to_nat(0u); +x_36 = l_Lean_Syntax_getArg(x_1, x_35); +if (lean_is_scalar(x_34)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_34; +} +lean_ctor_set(x_37, 0, x_32); +lean_ctor_set(x_37, 1, x_33); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_31); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_14, 0, x_39); +return x_14; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_40 = lean_ctor_get(x_14, 1); +lean_inc(x_40); +lean_dec(x_14); +x_41 = lean_ctor_get(x_15, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_42 = x_15; +} else { + lean_dec_ref(x_15); + x_42 = lean_box(0); +} +x_43 = lean_ctor_get(x_16, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_16, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_45 = x_16; +} else { + lean_dec_ref(x_16); + x_45 = lean_box(0); +} +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Lean_Syntax_getArg(x_1, x_46); +if (lean_is_scalar(x_45)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_45; +} +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_44); +if (lean_is_scalar(x_42)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_42; +} +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_40); +return x_51; +} +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_14); +if (x_52 == 0) +{ +return x_14; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_14, 0); +x_54 = lean_ctor_get(x_14, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_14); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +lean_object* l_Lean_Elab_Term_expandApp___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: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l_Lean_Elab_Term_expandApp(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_11; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Term(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Arg(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_instInhabitedArg___closed__1 = _init_l_Lean_Elab_Term_instInhabitedArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedArg___closed__1); +l_Lean_Elab_Term_instInhabitedArg = _init_l_Lean_Elab_Term_instInhabitedArg(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedArg); +l_Lean_Elab_Term_NamedArg_ref___default = _init_l_Lean_Elab_Term_NamedArg_ref___default(); +lean_mark_persistent(l_Lean_Elab_Term_NamedArg_ref___default); +l_Lean_Elab_Term_instInhabitedNamedArg___closed__1 = _init_l_Lean_Elab_Term_instInhabitedNamedArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedNamedArg___closed__1); +l_Lean_Elab_Term_instInhabitedNamedArg = _init_l_Lean_Elab_Term_instInhabitedNamedArg(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedNamedArg); +l_Lean_Elab_Term_addNamedArg___closed__1 = _init_l_Lean_Elab_Term_addNamedArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__1); +l_Lean_Elab_Term_addNamedArg___closed__2 = _init_l_Lean_Elab_Term_addNamedArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__2); +l_Lean_Elab_Term_addNamedArg___closed__3 = _init_l_Lean_Elab_Term_addNamedArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__3); +l_Lean_Elab_Term_addNamedArg___closed__4 = _init_l_Lean_Elab_Term_addNamedArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_addNamedArg___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__3); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__5); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__6); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__7); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__8); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__9); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__10); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__11); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandArgs___spec__3___closed__12); +l_Lean_Elab_Term_expandArgs___closed__1 = _init_l_Lean_Elab_Term_expandArgs___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_expandArgs___closed__1); +l_Lean_Elab_Term_expandArgs___closed__2 = _init_l_Lean_Elab_Term_expandArgs___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_expandArgs___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index fbc651bcf9..b8c6c9ccf2 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Binders -// Imports: Init Lean.Elab.Quotation.Precheck Lean.Elab.Term Lean.Parser.Term +// Imports: Init Lean.Elab.Quotation.Precheck Lean.Elab.Term Lean.Elab.BindersUtil Lean.Parser.Term #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -22,10 +22,10 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_ 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*); -lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabArrow___closed__4; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getMatchAltsNumPatterns(lean_object*); @@ -40,8 +40,6 @@ lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTer lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__4; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__3; -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); @@ -60,20 +58,21 @@ lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandFunBin static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__25; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__11; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__2; +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDepArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabArrow___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5; lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__5; lean_object* l_Lean_Elab_Term_elabLetDeclAux_match__1(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__1; +lean_object* l_Lean_Elab_Term_elabArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandFun(lean_object*); @@ -83,12 +82,14 @@ lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +static lean_object* l_Lean_Elab_Term_elabArrow___closed__2; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; +lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6___boxed(lean_object**); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___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*); 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*); @@ -104,22 +105,24 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIde lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__37; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); static 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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__3; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__8; +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(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*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean_object*); +static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__11; +static lean_object* l_Lean_Elab_Term_expandLetEqnsDecl___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__2; -lean_object* l_Lean_Elab_Term_elabLetDeclCore___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_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabArrow___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; @@ -134,6 +137,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__22; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__18; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14; +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -148,23 +152,21 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loo lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabFun(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__2; -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__4; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___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*); -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__8; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___rarg(lean_object*); @@ -178,15 +180,12 @@ static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__13; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__7; 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*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___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*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__3; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(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_elabArrow(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__5; @@ -195,7 +194,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinder lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__6; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___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*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__2; lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls___boxed(lean_object*, lean_object*, lean_object*); @@ -233,7 +231,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun___closed__3; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__2___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_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__4; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,6 +242,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__30; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__33; +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__14; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -253,9 +251,12 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__L lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__1; +static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3; +lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___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*); static lean_object* l_Lean_Elab_Term_expandLetEqnsDecl___closed__2; +lean_object* l_Lean_Elab_Term_declareTacticSyntax___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_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__2; static lean_object* l_Lean_Elab_Term_elabForall___closed__1; @@ -269,12 +270,12 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderVi lean_object* l_Lean_Elab_Term_mkLetIdDeclView___boxed(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___boxed(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_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5615_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__4; +lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__8; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,8 +302,8 @@ lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__L static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__5; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__7; lean_object* l_Lean_Elab_Term_expandFun(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__4; +static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__16; lean_object* l_Lean_Elab_Term_elabForall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__1(lean_object*, lean_object*); @@ -316,8 +317,6 @@ static 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*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__1; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__1; -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo___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_elabBinder___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; 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*); @@ -325,7 +324,6 @@ lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__2; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); @@ -337,33 +335,35 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__24; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__8; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___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_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__7; +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabForall(lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; 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*); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__3; +lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_checkBinderAnnotations___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*); -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__7; uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__14; lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -386,11 +386,9 @@ 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*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__26; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; @@ -399,13 +397,11 @@ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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_elabFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__3; extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4; extern lean_object* l_Lean_identKind; lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -417,7 +413,6 @@ lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__5; lean_object* l_Lean_Elab_Term_checkBinderAnnotations; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default; lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -427,13 +422,14 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__16; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop(lean_object*); +static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6; lean_object* l_Lean_mkHole(lean_object*); -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__10; lean_object* l_Lean_Elab_Term_elabFunBinders___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_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__3; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11; @@ -442,7 +438,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__3; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1(lean_object*); @@ -464,7 +459,9 @@ lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__31; +lean_object* l_Lean_Elab_Term_elabTerm___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_elabLetDeclAux___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__6; lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -479,7 +476,6 @@ static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___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_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -488,15 +484,16 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___ static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__10; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__3; +lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__23; +lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -521,6 +518,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__17; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -545,14 +543,13 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0_ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__4; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__8; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__11; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl(lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__3; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(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*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__14; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); @@ -569,7 +566,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__8; -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__3; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__38; @@ -582,21 +578,21 @@ lean_object* l_Lean_Elab_Term_FunBinders_State_fvars___default; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__7; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__9; lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__3; -lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__3; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__17; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2___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_declareTacticSyntax___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*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__34; lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getMatchAltsNumPatterns___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__6; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1; @@ -621,9 +617,7 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1(lean_o static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__10; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__5; lean_object* l_Lean_Elab_Term_elabBinder(lean_object*); @@ -662,6 +656,42 @@ lean_dec(x_1); return x_3; } } +lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_addMacroScope(x_10, x_1, x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = l_Lean_addMacroScope(x_10, x_1, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__1() { _start: { @@ -680,246 +710,33 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___lambda__1___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_take(x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_12, x_13); -lean_ctor_set(x_9, 1, x_14); -x_15 = lean_st_ref_set(x_6, x_9, x_10); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = !lean_is_exclusive(x_1); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_1, 4); -lean_dec(x_18); -lean_ctor_set(x_1, 4, x_12); -x_19 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_16); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_1, x_2, x_3, x_4, x_5, x_6, x_21); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_26 = l_Lean_addMacroScope(x_20, x_25, x_24); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_30 = l_Lean_addMacroScope(x_20, x_29, x_27); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_32 = lean_ctor_get(x_1, 0); -x_33 = lean_ctor_get(x_1, 1); -x_34 = lean_ctor_get(x_1, 2); -x_35 = lean_ctor_get(x_1, 3); -x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); -x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); -x_39 = lean_ctor_get(x_1, 5); -x_40 = lean_ctor_get(x_1, 6); -x_41 = lean_ctor_get(x_1, 7); -x_42 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 3); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_1); -x_43 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_43, 0, x_32); -lean_ctor_set(x_43, 1, x_33); -lean_ctor_set(x_43, 2, x_34); -lean_ctor_set(x_43, 3, x_35); -lean_ctor_set(x_43, 4, x_12); -lean_ctor_set(x_43, 5, x_39); -lean_ctor_set(x_43, 6, x_40); -lean_ctor_set(x_43, 7, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*8, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 1, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 2, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 3, x_42); -x_44 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_16); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_43, x_2, x_3, x_4, x_5, x_6, x_46); -lean_dec(x_43); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_50 = x_47; -} else { - lean_dec_ref(x_47); - x_50 = lean_box(0); -} -x_51 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_52 = l_Lean_addMacroScope(x_45, x_51, x_48); -if (lean_is_scalar(x_50)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_50; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_49); -return x_53; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; uint8_t 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; lean_object* x_84; lean_object* x_85; -x_54 = lean_ctor_get(x_9, 0); -x_55 = lean_ctor_get(x_9, 1); -x_56 = lean_ctor_get(x_9, 2); -x_57 = lean_ctor_get(x_9, 3); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_9); -x_58 = lean_unsigned_to_nat(1u); -x_59 = lean_nat_add(x_55, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_56); -lean_ctor_set(x_60, 3, x_57); -x_61 = lean_st_ref_set(x_6, x_60, x_10); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_ctor_get(x_1, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_1, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_1, 2); -lean_inc(x_65); -x_66 = lean_ctor_get(x_1, 3); -lean_inc(x_66); -x_67 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -x_68 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); -x_69 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); -x_70 = lean_ctor_get(x_1, 5); -lean_inc(x_70); -x_71 = lean_ctor_get(x_1, 6); -lean_inc(x_71); -x_72 = lean_ctor_get(x_1, 7); -lean_inc(x_72); -x_73 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - lean_ctor_release(x_1, 2); - lean_ctor_release(x_1, 3); - lean_ctor_release(x_1, 4); - lean_ctor_release(x_1, 5); - lean_ctor_release(x_1, 6); - lean_ctor_release(x_1, 7); - x_74 = x_1; -} else { - lean_dec_ref(x_1); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 8, 4); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_63); -lean_ctor_set(x_75, 1, x_64); -lean_ctor_set(x_75, 2, x_65); -lean_ctor_set(x_75, 3, x_66); -lean_ctor_set(x_75, 4, x_55); -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_67); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 1, x_68); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 2, x_69); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 3, x_73); -x_76 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_62); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = l_Lean_Elab_Term_getCurrMacroScope(x_75, x_2, x_3, x_4, x_5, x_6, x_78); -lean_dec(x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -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; -} else { - lean_dec_ref(x_79); - x_82 = lean_box(0); -} -x_83 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_84 = l_Lean_addMacroScope(x_77, x_83, x_80); -if (lean_is_scalar(x_82)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_82; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_81); -return x_85; -} +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3; +x_9 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; } } lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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) { _start: { -lean_object* x_9; uint8_t x_10; +lean_object* x_9; x_9 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -944,6 +761,29 @@ 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) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +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; +} +} +} } static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1() { _start: @@ -1027,6 +867,11 @@ x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); if (x_10 == 0) { lean_object* x_11; +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_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); @@ -1042,17 +887,18 @@ return x_12; } } } -lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___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) { _start: { -lean_object* x_8; -x_8 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_9; +x_9 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_8; +return x_9; } } lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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) { @@ -1060,28 +906,10 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___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_Binders_0__Lean_Elab_Term_expandBinderIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1() { _start: { @@ -1100,6 +928,16 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___lambda__1___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent(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: { @@ -1108,6 +946,11 @@ x_9 = l_Lean_Syntax_isNone(x_1); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* 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_10 = lean_unsigned_to_nat(0u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); @@ -1118,239 +961,57 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_st_ref_take(x_7, x_8); -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_13; lean_object* x_14; +x_13 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3; +x_14 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) { -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_17 = lean_ctor_get(x_14, 1); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_add(x_17, x_18); -lean_ctor_set(x_14, 1, x_19); -x_20 = lean_st_ref_set(x_7, x_14, x_15); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = !lean_is_exclusive(x_2); +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Lean_mkIdentFrom(x_1, x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = l_Lean_mkIdentFrom(x_1, x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_14); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_23 = lean_ctor_get(x_2, 4); -lean_dec(x_23); -lean_ctor_set(x_2, 4, x_17); -x_24 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_21); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_2); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_27, 0); -x_30 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; -x_31 = l_Lean_addMacroScope(x_25, x_30, x_29); -x_32 = l_Lean_mkIdentFrom(x_1, x_31); -lean_ctor_set(x_27, 0, x_32); -return x_27; +return x_14; } 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; -x_33 = lean_ctor_get(x_27, 0); -x_34 = lean_ctor_get(x_27, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_27); -x_35 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; -x_36 = l_Lean_addMacroScope(x_25, x_35, x_33); -x_37 = l_Lean_mkIdentFrom(x_1, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_34); -return x_38; -} -} -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; uint8_t 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; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_39 = lean_ctor_get(x_2, 0); -x_40 = lean_ctor_get(x_2, 1); -x_41 = lean_ctor_get(x_2, 2); -x_42 = lean_ctor_get(x_2, 3); -x_43 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_44 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_45 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_46 = lean_ctor_get(x_2, 5); -x_47 = lean_ctor_get(x_2, 6); -x_48 = lean_ctor_get(x_2, 7); -x_49 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_2); -x_50 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_50, 0, x_39); -lean_ctor_set(x_50, 1, x_40); -lean_ctor_set(x_50, 2, x_41); -lean_ctor_set(x_50, 3, x_42); -lean_ctor_set(x_50, 4, x_17); -lean_ctor_set(x_50, 5, x_46); -lean_ctor_set(x_50, 6, x_47); -lean_ctor_set(x_50, 7, x_48); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_43); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 1, x_44); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 2, x_45); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 3, x_49); -x_51 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_21); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_50, x_3, x_4, x_5, x_6, x_7, x_53); -lean_dec(x_50); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_57 = x_54; -} else { - lean_dec_ref(x_54); - x_57 = lean_box(0); -} -x_58 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; -x_59 = l_Lean_addMacroScope(x_52, x_58, x_55); -x_60 = l_Lean_mkIdentFrom(x_1, x_59); -if (lean_is_scalar(x_57)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_57; -} -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_56); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; uint8_t x_76; uint8_t 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; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_62 = lean_ctor_get(x_14, 0); -x_63 = lean_ctor_get(x_14, 1); -x_64 = lean_ctor_get(x_14, 2); -x_65 = lean_ctor_get(x_14, 3); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_14); -x_66 = lean_unsigned_to_nat(1u); -x_67 = lean_nat_add(x_63, x_66); -x_68 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_68, 0, x_62); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_64); -lean_ctor_set(x_68, 3, x_65); -x_69 = lean_st_ref_set(x_7, x_68, x_15); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_ctor_get(x_2, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_2, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_2, 2); -lean_inc(x_73); -x_74 = lean_ctor_get(x_2, 3); -lean_inc(x_74); -x_75 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_76 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_77 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_78 = lean_ctor_get(x_2, 5); -lean_inc(x_78); -x_79 = lean_ctor_get(x_2, 6); -lean_inc(x_79); -x_80 = lean_ctor_get(x_2, 7); -lean_inc(x_80); -x_81 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - x_82 = x_2; -} else { - lean_dec_ref(x_2); - x_82 = lean_box(0); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 8, 4); -} else { - x_83 = x_82; -} -lean_ctor_set(x_83, 0, x_71); -lean_ctor_set(x_83, 1, x_72); -lean_ctor_set(x_83, 2, x_73); -lean_ctor_set(x_83, 3, x_74); -lean_ctor_set(x_83, 4, x_63); -lean_ctor_set(x_83, 5, x_78); -lean_ctor_set(x_83, 6, x_79); -lean_ctor_set(x_83, 7, x_80); -lean_ctor_set_uint8(x_83, sizeof(void*)*8, x_75); -lean_ctor_set_uint8(x_83, sizeof(void*)*8 + 1, x_76); -lean_ctor_set_uint8(x_83, sizeof(void*)*8 + 2, x_77); -lean_ctor_set_uint8(x_83, sizeof(void*)*8 + 3, x_81); -x_84 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_70); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l_Lean_Elab_Term_getCurrMacroScope(x_83, x_3, x_4, x_5, x_6, x_7, x_86); -lean_dec(x_83); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_90 = x_87; -} else { - lean_dec_ref(x_87); - x_90 = lean_box(0); -} -x_91 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; -x_92 = l_Lean_addMacroScope(x_85, x_91, x_88); -x_93 = l_Lean_mkIdentFrom(x_1, x_92); -if (lean_is_scalar(x_90)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_90; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_89); -return x_94; } } } @@ -1360,11 +1021,6 @@ _start: { lean_object* x_9; x_9 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); return x_9; } @@ -1926,7 +1582,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_Lean_Elab_Term_quoteAutoTactic___closed__2; x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__3; -x_3 = lean_unsigned_to_nat(59u); +x_3 = lean_unsigned_to_nat(60u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -3019,6 +2675,395 @@ lean_dec(x_1); return x_10; } } +lean_object* l_Lean_Elab_Term_declareTacticSyntax___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_inc(x_1); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_2); +lean_ctor_set(x_13, 2, x_3); +x_14 = lean_box(0); +x_15 = 1; +x_16 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_4); +lean_ctor_set(x_16, 2, x_14); +lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +lean_inc(x_10); +lean_inc(x_6); +x_18 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_1); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +return x_20; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +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 +{ +uint8_t x_29; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_18); +if (x_29 == 0) +{ +return x_18; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_18, 0); +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_18); +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_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("autoParam"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4; +x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_declareTacticSyntax___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) { +_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; lean_object* x_18; +x_10 = l_Lean_Elab_Term_getMainModule___rarg(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_Lean_Elab_Term_getCurrMacroScope(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 = l_Lean_addMacroScope(x_11, x_1, x_14); +x_17 = lean_box(0); +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_18 = l_Lean_Elab_Term_quoteAutoTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2; +x_22 = 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_23 = l_Lean_Elab_Term_elabTerm(x_19, x_21, x_22, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +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); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_26 = l_Lean_Meta_instantiateMVars(x_24, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6; +x_42 = lean_st_ref_get(x_8, x_28); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = 0; +x_30 = x_47; +x_31 = x_46; +goto block_41; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +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); +x_52 = lean_unbox(x_50); +lean_dec(x_50); +x_30 = x_52; +x_31 = x_51; +goto block_41; +} +block_41: +{ +if (x_30 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1; +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Term_declareTacticSyntax___lambda__1(x_16, x_17, x_32, x_27, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_34; +} +else +{ +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_inc(x_27); +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_27); +x_36 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_29, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1; +x_40 = l_Lean_Elab_Term_declareTacticSyntax___lambda__1(x_16, x_17, x_39, x_27, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_37); +return x_40; +} +} +} +else +{ +uint8_t x_53; +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); +x_53 = !lean_is_exclusive(x_26); +if (x_53 == 0) +{ +return x_26; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_26, 0); +x_55 = lean_ctor_get(x_26, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_26); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +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); +x_57 = !lean_is_exclusive(x_23); +if (x_57 == 0) +{ +return x_23; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_23, 0); +x_59 = lean_ctor_get(x_23, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_23); +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; +} +} +} +else +{ +uint8_t x_61; +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); +x_61 = !lean_is_exclusive(x_18); +if (x_61 == 0) +{ +return x_18; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_18, 0); +x_63 = lean_ctor_get(x_18, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_18); +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; +} +} +} +} static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__1() { _start: { @@ -3037,1166 +3082,29 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Elab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_declareTacticSyntax___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("autoParam"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_declareTacticSyntax___closed__6; -x_2 = l_Lean_Elab_Term_declareTacticSyntax___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_st_ref_take(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Term_declareTacticSyntax___lambda__2), 9, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_1); +x_11 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_declareTacticSyntax___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Term_declareTacticSyntax___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); lean_dec(x_9); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_ctor_get(x_10, 1); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_13, x_14); -lean_ctor_set(x_10, 1, x_15); -x_16 = lean_st_ref_set(x_7, x_10, x_11); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = !lean_is_exclusive(x_2); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_2, 4); -lean_dec(x_19); -lean_ctor_set(x_2, 4, x_13); -x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_17); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_22); -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 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; -x_27 = l_Lean_addMacroScope(x_21, x_26, x_24); -x_28 = lean_box(0); -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_29 = l_Lean_Elab_Term_quoteAutoTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_declareTacticSyntax___closed__4; -x_33 = 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); -x_34 = l_Lean_Elab_Term_elabTerm(x_30, x_32, x_33, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_37 = l_Lean_Meta_instantiateMVars(x_35, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_63 = lean_st_ref_get(x_7, x_39); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_40 = x_67; -goto block_62; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_dec(x_63); -x_69 = l_Lean_Elab_Term_declareTacticSyntax___closed__8; -x_70 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -lean_dec(x_71); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_40 = x_73; -goto block_62; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -lean_inc(x_38); -x_75 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_75, 0, x_38); -x_76 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_69, x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_74); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_40 = x_77; -goto block_62; -} -} -block_62: -{ -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; -x_41 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -lean_inc(x_27); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_27); -lean_ctor_set(x_42, 1, x_28); -lean_ctor_set(x_42, 2, x_41); -x_43 = lean_box(0); -x_44 = 1; -x_45 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_38); -lean_ctor_set(x_45, 2, x_43); -lean_ctor_set_uint8(x_45, sizeof(void*)*3, x_44); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -lean_inc(x_6); -lean_inc(x_2); -x_47 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_40); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_49) == 0) -{ -uint8_t x_50; -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -lean_ctor_set(x_49, 0, x_27); -return x_49; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_27); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -else -{ -uint8_t x_54; -lean_dec(x_27); -x_54 = !lean_is_exclusive(x_49); -if (x_54 == 0) -{ -return x_49; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_49, 0); -x_56 = lean_ctor_get(x_49, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_49); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_46); -lean_dec(x_27); -lean_dec(x_2); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_58 = !lean_is_exclusive(x_47); -if (x_58 == 0) -{ -return x_47; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_47, 0); -x_60 = lean_ctor_get(x_47, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_47); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -} -else -{ -uint8_t x_78; -lean_dec(x_27); -lean_dec(x_2); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_78 = !lean_is_exclusive(x_37); -if (x_78 == 0) -{ -return x_37; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_37, 0); -x_80 = lean_ctor_get(x_37, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_37); -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; -} -} -} -else -{ -uint8_t x_82; -lean_dec(x_27); -lean_dec(x_2); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_82 = !lean_is_exclusive(x_34); -if (x_82 == 0) -{ -return x_34; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_34, 0); -x_84 = lean_ctor_get(x_34, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_34); -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; -} -} -} -else -{ -uint8_t x_86; -lean_dec(x_27); -lean_dec(x_2); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_86 = !lean_is_exclusive(x_29); -if (x_86 == 0) -{ -return x_29; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_29, 0); -x_88 = lean_ctor_get(x_29, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_29); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_90 = lean_ctor_get(x_2, 0); -x_91 = lean_ctor_get(x_2, 1); -x_92 = lean_ctor_get(x_2, 2); -x_93 = lean_ctor_get(x_2, 3); -x_94 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_95 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_96 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_97 = lean_ctor_get(x_2, 5); -x_98 = lean_ctor_get(x_2, 6); -x_99 = lean_ctor_get(x_2, 7); -x_100 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_2); -x_101 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_101, 0, x_90); -lean_ctor_set(x_101, 1, x_91); -lean_ctor_set(x_101, 2, x_92); -lean_ctor_set(x_101, 3, x_93); -lean_ctor_set(x_101, 4, x_13); -lean_ctor_set(x_101, 5, x_97); -lean_ctor_set(x_101, 6, x_98); -lean_ctor_set(x_101, 7, x_99); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_94); -lean_ctor_set_uint8(x_101, sizeof(void*)*8 + 1, x_95); -lean_ctor_set_uint8(x_101, sizeof(void*)*8 + 2, x_96); -lean_ctor_set_uint8(x_101, sizeof(void*)*8 + 3, x_100); -x_102 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_17); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = l_Lean_Elab_Term_getCurrMacroScope(x_101, x_3, x_4, x_5, x_6, x_7, x_104); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; -x_109 = l_Lean_addMacroScope(x_103, x_108, x_106); -x_110 = lean_box(0); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_101); -x_111 = l_Lean_Elab_Term_quoteAutoTactic(x_1, x_101, x_3, x_4, x_5, x_6, x_7, x_107); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); -x_114 = l_Lean_Elab_Term_declareTacticSyntax___closed__4; -x_115 = 1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_101); -x_116 = l_Lean_Elab_Term_elabTerm(x_112, x_114, x_115, x_115, x_101, x_3, x_4, x_5, x_6, x_7, x_113); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -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); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_119 = l_Lean_Meta_instantiateMVars(x_117, x_4, x_5, x_6, x_7, x_118); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_144 = lean_st_ref_get(x_7, x_121); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_145, 3); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_ctor_get_uint8(x_146, sizeof(void*)*1); -lean_dec(x_146); -if (x_147 == 0) -{ -lean_object* x_148; -x_148 = lean_ctor_get(x_144, 1); -lean_inc(x_148); -lean_dec(x_144); -x_122 = x_148; -goto block_143; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_149 = lean_ctor_get(x_144, 1); -lean_inc(x_149); -lean_dec(x_144); -x_150 = l_Lean_Elab_Term_declareTacticSyntax___closed__8; -x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_150, x_101, x_3, x_4, x_5, x_6, x_7, x_149); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_unbox(x_152); -lean_dec(x_152); -if (x_153 == 0) -{ -lean_object* x_154; -x_154 = lean_ctor_get(x_151, 1); -lean_inc(x_154); -lean_dec(x_151); -x_122 = x_154; -goto block_143; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_151, 1); -lean_inc(x_155); -lean_dec(x_151); -lean_inc(x_120); -x_156 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_156, 0, x_120); -x_157 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_150, x_156, x_101, x_3, x_4, x_5, x_6, x_7, x_155); -x_158 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -lean_dec(x_157); -x_122 = x_158; -goto block_143; -} -} -block_143: -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -lean_inc(x_109); -x_124 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_124, 0, x_109); -lean_ctor_set(x_124, 1, x_110); -lean_ctor_set(x_124, 2, x_123); -x_125 = lean_box(0); -x_126 = 1; -x_127 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_120); -lean_ctor_set(x_127, 2, x_125); -lean_ctor_set_uint8(x_127, sizeof(void*)*3, x_126); -x_128 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_128, 0, x_127); -lean_inc(x_6); -lean_inc(x_101); -x_129 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_128, x_101, x_3, x_4, x_5, x_6, x_7, x_122); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(x_128, x_101, x_3, x_4, x_5, x_6, x_7, x_130); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_131) == 0) -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_133 = x_131; -} else { - lean_dec_ref(x_131); - x_133 = lean_box(0); -} -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_133; -} -lean_ctor_set(x_134, 0, x_109); -lean_ctor_set(x_134, 1, x_132); -return x_134; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_109); -x_135 = lean_ctor_get(x_131, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_131, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_137 = x_131; -} else { - lean_dec_ref(x_131); - 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; lean_object* x_142; -lean_dec(x_128); -lean_dec(x_109); -lean_dec(x_101); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_139 = lean_ctor_get(x_129, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_129, 1); -lean_inc(x_140); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_141 = x_129; -} else { - lean_dec_ref(x_129); - x_141 = lean_box(0); -} -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(1, 2, 0); -} else { - x_142 = x_141; -} -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -return x_142; -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_109); -lean_dec(x_101); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_159 = lean_ctor_get(x_119, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_119, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_161 = x_119; -} else { - lean_dec_ref(x_119); - x_161 = lean_box(0); -} -if (lean_is_scalar(x_161)) { - x_162 = lean_alloc_ctor(1, 2, 0); -} else { - x_162 = x_161; -} -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_160); -return x_162; -} -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_109); -lean_dec(x_101); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_163 = lean_ctor_get(x_116, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_116, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_165 = x_116; -} else { - lean_dec_ref(x_116); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_109); -lean_dec(x_101); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_167 = lean_ctor_get(x_111, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_111, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_169 = x_111; -} else { - lean_dec_ref(x_111); - x_169 = lean_box(0); -} -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 2, 0); -} else { - x_170 = x_169; -} -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -return x_170; -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; uint8_t x_185; uint8_t x_186; lean_object* 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; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_171 = lean_ctor_get(x_10, 0); -x_172 = lean_ctor_get(x_10, 1); -x_173 = lean_ctor_get(x_10, 2); -x_174 = lean_ctor_get(x_10, 3); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_dec(x_10); -x_175 = lean_unsigned_to_nat(1u); -x_176 = lean_nat_add(x_172, x_175); -x_177 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_177, 0, x_171); -lean_ctor_set(x_177, 1, x_176); -lean_ctor_set(x_177, 2, x_173); -lean_ctor_set(x_177, 3, x_174); -x_178 = lean_st_ref_set(x_7, x_177, x_11); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -lean_dec(x_178); -x_180 = lean_ctor_get(x_2, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_2, 1); -lean_inc(x_181); -x_182 = lean_ctor_get(x_2, 2); -lean_inc(x_182); -x_183 = lean_ctor_get(x_2, 3); -lean_inc(x_183); -x_184 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_185 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_186 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_187 = lean_ctor_get(x_2, 5); -lean_inc(x_187); -x_188 = lean_ctor_get(x_2, 6); -lean_inc(x_188); -x_189 = lean_ctor_get(x_2, 7); -lean_inc(x_189); -x_190 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - x_191 = x_2; -} else { - lean_dec_ref(x_2); - x_191 = lean_box(0); -} -if (lean_is_scalar(x_191)) { - x_192 = lean_alloc_ctor(0, 8, 4); -} else { - x_192 = x_191; -} -lean_ctor_set(x_192, 0, x_180); -lean_ctor_set(x_192, 1, x_181); -lean_ctor_set(x_192, 2, x_182); -lean_ctor_set(x_192, 3, x_183); -lean_ctor_set(x_192, 4, x_172); -lean_ctor_set(x_192, 5, x_187); -lean_ctor_set(x_192, 6, x_188); -lean_ctor_set(x_192, 7, x_189); -lean_ctor_set_uint8(x_192, sizeof(void*)*8, x_184); -lean_ctor_set_uint8(x_192, sizeof(void*)*8 + 1, x_185); -lean_ctor_set_uint8(x_192, sizeof(void*)*8 + 2, x_186); -lean_ctor_set_uint8(x_192, sizeof(void*)*8 + 3, x_190); -x_193 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_179); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = l_Lean_Elab_Term_getCurrMacroScope(x_192, x_3, x_4, x_5, x_6, x_7, x_195); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; -x_200 = l_Lean_addMacroScope(x_194, x_199, x_197); -x_201 = lean_box(0); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_192); -x_202 = l_Lean_Elab_Term_quoteAutoTactic(x_1, x_192, x_3, x_4, x_5, x_6, x_7, x_198); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; lean_object* x_207; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = l_Lean_Elab_Term_declareTacticSyntax___closed__4; -x_206 = 1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_192); -x_207 = l_Lean_Elab_Term_elabTerm(x_203, x_205, x_206, x_206, x_192, x_3, x_4, x_5, x_6, x_7, x_204); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_210 = l_Lean_Meta_instantiateMVars(x_208, x_4, x_5, x_6, x_7, x_209); -if (lean_obj_tag(x_210) == 0) -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -lean_dec(x_210); -x_235 = lean_st_ref_get(x_7, x_212); -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_236, 3); -lean_inc(x_237); -lean_dec(x_236); -x_238 = lean_ctor_get_uint8(x_237, sizeof(void*)*1); -lean_dec(x_237); -if (x_238 == 0) -{ -lean_object* x_239; -x_239 = lean_ctor_get(x_235, 1); -lean_inc(x_239); -lean_dec(x_235); -x_213 = x_239; -goto block_234; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_240 = lean_ctor_get(x_235, 1); -lean_inc(x_240); -lean_dec(x_235); -x_241 = l_Lean_Elab_Term_declareTacticSyntax___closed__8; -x_242 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_241, x_192, x_3, x_4, x_5, x_6, x_7, x_240); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_unbox(x_243); -lean_dec(x_243); -if (x_244 == 0) -{ -lean_object* x_245; -x_245 = lean_ctor_get(x_242, 1); -lean_inc(x_245); -lean_dec(x_242); -x_213 = x_245; -goto block_234; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -lean_dec(x_242); -lean_inc(x_211); -x_247 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_247, 0, x_211); -x_248 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_241, x_247, x_192, x_3, x_4, x_5, x_6, x_7, x_246); -x_249 = lean_ctor_get(x_248, 1); -lean_inc(x_249); -lean_dec(x_248); -x_213 = x_249; -goto block_234; -} -} -block_234: -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_214 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -lean_inc(x_200); -x_215 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_215, 0, x_200); -lean_ctor_set(x_215, 1, x_201); -lean_ctor_set(x_215, 2, x_214); -x_216 = lean_box(0); -x_217 = 1; -x_218 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_211); -lean_ctor_set(x_218, 2, x_216); -lean_ctor_set_uint8(x_218, sizeof(void*)*3, x_217); -x_219 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_219, 0, x_218); -lean_inc(x_6); -lean_inc(x_192); -x_220 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_219, x_192, x_3, x_4, x_5, x_6, x_7, x_213); -if (lean_obj_tag(x_220) == 0) -{ -lean_object* x_221; lean_object* x_222; -x_221 = lean_ctor_get(x_220, 1); -lean_inc(x_221); -lean_dec(x_220); -x_222 = l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(x_219, x_192, x_3, x_4, x_5, x_6, x_7, x_221); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_222) == 0) -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_224 = x_222; -} else { - lean_dec_ref(x_222); - x_224 = lean_box(0); -} -if (lean_is_scalar(x_224)) { - x_225 = lean_alloc_ctor(0, 2, 0); -} else { - x_225 = x_224; -} -lean_ctor_set(x_225, 0, x_200); -lean_ctor_set(x_225, 1, x_223); -return x_225; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -lean_dec(x_200); -x_226 = lean_ctor_get(x_222, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_222, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_228 = x_222; -} else { - lean_dec_ref(x_222); - x_228 = lean_box(0); -} -if (lean_is_scalar(x_228)) { - x_229 = lean_alloc_ctor(1, 2, 0); -} else { - x_229 = x_228; -} -lean_ctor_set(x_229, 0, x_226); -lean_ctor_set(x_229, 1, x_227); -return x_229; -} -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -lean_dec(x_219); -lean_dec(x_200); -lean_dec(x_192); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_230 = lean_ctor_get(x_220, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_220, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_232 = x_220; -} else { - lean_dec_ref(x_220); - x_232 = lean_box(0); -} -if (lean_is_scalar(x_232)) { - x_233 = lean_alloc_ctor(1, 2, 0); -} else { - x_233 = x_232; -} -lean_ctor_set(x_233, 0, x_230); -lean_ctor_set(x_233, 1, x_231); -return x_233; -} -} -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -lean_dec(x_200); -lean_dec(x_192); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_250 = lean_ctor_get(x_210, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_210, 1); -lean_inc(x_251); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_252 = x_210; -} else { - lean_dec_ref(x_210); - x_252 = lean_box(0); -} -if (lean_is_scalar(x_252)) { - x_253 = lean_alloc_ctor(1, 2, 0); -} else { - x_253 = x_252; -} -lean_ctor_set(x_253, 0, x_250); -lean_ctor_set(x_253, 1, x_251); -return x_253; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_200); -lean_dec(x_192); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_254 = lean_ctor_get(x_207, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_207, 1); -lean_inc(x_255); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_256 = x_207; -} else { - lean_dec_ref(x_207); - x_256 = lean_box(0); -} -if (lean_is_scalar(x_256)) { - x_257 = lean_alloc_ctor(1, 2, 0); -} else { - x_257 = x_256; -} -lean_ctor_set(x_257, 0, x_254); -lean_ctor_set(x_257, 1, x_255); -return x_257; -} -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_200); -lean_dec(x_192); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_258 = lean_ctor_get(x_202, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_202, 1); -lean_inc(x_259); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_260 = x_202; -} else { - lean_dec_ref(x_202); - x_260 = lean_box(0); -} -if (lean_is_scalar(x_260)) { - x_261 = lean_alloc_ctor(1, 2, 0); -} else { - x_261 = x_260; -} -lean_ctor_set(x_261, 0, x_258); -lean_ctor_set(x_261, 1, x_259); -return x_261; -} -} +return x_13; } } static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1() { @@ -4270,7 +3178,7 @@ static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expand _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_declareTacticSyntax___closed__7; +x_1 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -4279,7 +3187,7 @@ static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_declareTacticSyntax___closed__7; +x_1 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5; x_2 = lean_unsigned_to_nat(0u); x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__5; x_4 = lean_alloc_ctor(0, 3, 0); @@ -4294,7 +3202,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_declareTacticSyntax___closed__7; +x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -4854,39 +3762,6 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Term_expandOptType(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Lean_Syntax_isNone(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Syntax_getArg(x_2, x_4); -x_6 = lean_unsigned_to_nat(1u); -x_7 = l_Lean_Syntax_getArg(x_5, x_6); -lean_dec(x_5); -return x_7; -} -else -{ -lean_object* x_8; -x_8 = l_Lean_mkHole(x_1); -return x_8; -} -} -} -lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Term_expandOptType(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg(lean_object* x_1) { _start: { @@ -4914,6 +3789,11 @@ x_12 = x_3 < x_2; if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_13 = x_4; @@ -4924,13 +3804,21 @@ return x_14; } else { -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; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_19 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -4951,6 +3839,37 @@ x_4 = x_27; x_11 = x_21; goto _start; } +else +{ +uint8_t x_29; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +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; +} +} +} } } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3(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) { @@ -4961,6 +3880,11 @@ x_12 = x_3 < x_2; if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_13 = x_4; @@ -4971,13 +3895,21 @@ return x_14; } else { -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; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_19 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -4998,6 +3930,37 @@ x_4 = x_27; x_11 = x_21; goto _start; } +else +{ +uint8_t x_29; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +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; +} +} +} } } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4(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) { @@ -5008,6 +3971,11 @@ x_12 = x_3 < x_2; if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_13 = x_4; @@ -5018,13 +3986,21 @@ return x_14; } else { -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; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_19 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -5045,6 +4021,37 @@ x_4 = x_27; x_11 = x_21; goto _start; } +else +{ +uint8_t x_29; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +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_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1() { @@ -5167,16 +4174,14 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_getArg(x_1, x_19); x_21 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -5219,108 +4224,132 @@ lean_ctor_set(x_38, 1, x_31); return x_38; } } +else +{ +uint8_t x_39; +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_21); +if (x_39 == 0) +{ +return x_21; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_21, 0); +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_21); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_dec(x_9); -x_39 = lean_unsigned_to_nat(1u); -x_40 = l_Lean_Syntax_getArg(x_1, x_39); +x_43 = lean_unsigned_to_nat(1u); +x_44 = l_Lean_Syntax_getArg(x_1, x_43); 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_41 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_40); -if (lean_obj_tag(x_41) == 0) +x_45 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_44); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t 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; -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 = lean_unsigned_to_nat(2u); -x_45 = l_Lean_Syntax_getArg(x_1, x_44); -x_46 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, 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; size_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; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); lean_dec(x_45); +x_48 = lean_unsigned_to_nat(2u); +x_49 = l_Lean_Syntax_getArg(x_1, x_48); +x_50 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_49); +lean_dec(x_49); lean_dec(x_1); -x_47 = lean_array_get_size(x_42); -x_48 = lean_usize_of_nat(x_47); -lean_dec(x_47); -x_49 = x_42; -x_50 = lean_box_usize(x_48); -x_51 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed), 11, 4); -lean_closure_set(x_52, 0, x_46); -lean_closure_set(x_52, 1, x_50); -lean_closure_set(x_52, 2, x_51); -lean_closure_set(x_52, 3, x_49); -x_53 = x_52; -x_54 = lean_apply_7(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_43); -return x_54; -} -else -{ -uint8_t x_55; -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_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_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); +x_51 = lean_array_get_size(x_46); +x_52 = lean_usize_of_nat(x_51); +lean_dec(x_51); +x_53 = x_46; +x_54 = lean_box_usize(x_52); +x_55 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_56 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed), 11, 4); +lean_closure_set(x_56, 0, x_50); +lean_closure_set(x_56, 1, x_54); +lean_closure_set(x_56, 2, x_55); +lean_closure_set(x_56, 3, x_53); +x_57 = x_56; +x_58 = lean_apply_7(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_47); return x_58; } +else +{ +uint8_t x_59; +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_59 = !lean_is_exclusive(x_45); +if (x_59 == 0) +{ +return x_45; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_45, 0); +x_61 = lean_ctor_get(x_45, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_45); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} } } } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_dec(x_9); -x_59 = lean_unsigned_to_nat(1u); -x_60 = l_Lean_Syntax_getArg(x_1, x_59); +x_63 = lean_unsigned_to_nat(1u); +x_64 = l_Lean_Syntax_getArg(x_1, x_63); 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_61 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_60); -if (lean_obj_tag(x_61) == 0) +x_65 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_64); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_unsigned_to_nat(2u); -x_65 = l_Lean_Syntax_getArg(x_1, x_64); -x_66 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, 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; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); lean_dec(x_65); -x_67 = lean_unsigned_to_nat(3u); -x_68 = l_Lean_Syntax_getArg(x_1, x_67); +x_68 = lean_unsigned_to_nat(2u); +x_69 = l_Lean_Syntax_getArg(x_1, x_68); +x_70 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_69); +lean_dec(x_69); +x_71 = lean_unsigned_to_nat(3u); +x_72 = l_Lean_Syntax_getArg(x_1, x_71); lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); @@ -5328,84 +4357,54 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_69 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(x_66, x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_63); -lean_dec(x_68); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; size_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; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_array_get_size(x_62); -x_73 = lean_usize_of_nat(x_72); +x_73 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(x_70, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_67); lean_dec(x_72); -x_74 = x_62; -x_75 = lean_box_usize(x_73); -x_76 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_77 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3___boxed), 11, 4); -lean_closure_set(x_77, 0, x_70); -lean_closure_set(x_77, 1, x_75); -lean_closure_set(x_77, 2, x_76); -lean_closure_set(x_77, 3, x_74); -x_78 = x_77; -x_79 = lean_apply_7(x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_71); -return x_79; -} -else +if (lean_obj_tag(x_73) == 0) { -uint8_t x_80; -lean_dec(x_62); -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_80 = !lean_is_exclusive(x_69); -if (x_80 == 0) -{ -return x_69; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_69, 0); -x_82 = lean_ctor_get(x_69, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_69); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); +lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t 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_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_array_get_size(x_66); +x_77 = lean_usize_of_nat(x_76); +lean_dec(x_76); +x_78 = x_66; +x_79 = lean_box_usize(x_77); +x_80 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_81 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3___boxed), 11, 4); +lean_closure_set(x_81, 0, x_74); +lean_closure_set(x_81, 1, x_79); +lean_closure_set(x_81, 2, x_80); +lean_closure_set(x_81, 3, x_78); +x_82 = x_81; +x_83 = lean_apply_7(x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_75); return x_83; } -} -} else { uint8_t x_84; +lean_dec(x_66); 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_84 = !lean_is_exclusive(x_61); +x_84 = !lean_is_exclusive(x_73); if (x_84 == 0) { -return x_61; +return x_73; } else { lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_61, 0); -x_86 = lean_ctor_get(x_61, 1); +x_85 = lean_ctor_get(x_73, 0); +x_86 = lean_ctor_get(x_73, 1); lean_inc(x_86); lean_inc(x_85); -lean_dec(x_61); +lean_dec(x_73); x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_85); lean_ctor_set(x_87, 1, x_86); @@ -5413,52 +4412,9 @@ return x_87; } } } -} else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_9); -x_88 = lean_unsigned_to_nat(0u); -x_89 = l_Lean_Syntax_getArg(x_1, x_88); -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_90 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_89, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_89); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; size_t 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_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_unsigned_to_nat(1u); -x_94 = l_Lean_Syntax_getArg(x_1, x_93); -x_95 = l_Lean_Elab_Term_expandOptType(x_1, x_94); -lean_dec(x_94); -lean_dec(x_1); -x_96 = lean_array_get_size(x_91); -x_97 = lean_usize_of_nat(x_96); -lean_dec(x_96); -x_98 = x_91; -x_99 = lean_box_usize(x_97); -x_100 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_101 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4___boxed), 11, 4); -lean_closure_set(x_101, 0, x_95); -lean_closure_set(x_101, 1, x_99); -lean_closure_set(x_101, 2, x_100); -lean_closure_set(x_101, 3, x_98); -x_102 = x_101; -x_103 = lean_apply_7(x_102, x_2, x_3, x_4, x_5, x_6, x_7, x_92); -return x_103; -} -else -{ -uint8_t x_104; +uint8_t x_88; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5466,24 +4422,97 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_90); -if (x_104 == 0) +x_88 = !lean_is_exclusive(x_65); +if (x_88 == 0) { -return x_90; +return x_65; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_90, 0); -x_106 = lean_ctor_get(x_90, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_90); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_65, 0); +x_90 = lean_ctor_get(x_65, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_65); +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; +} +} +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_9); +x_92 = lean_unsigned_to_nat(0u); +x_93 = l_Lean_Syntax_getArg(x_1, x_92); +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_94 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_93); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unsigned_to_nat(1u); +x_98 = l_Lean_Syntax_getArg(x_1, x_97); +x_99 = l_Lean_Elab_Term_expandOptType(x_1, x_98); +lean_dec(x_98); +lean_dec(x_1); +x_100 = lean_array_get_size(x_95); +x_101 = lean_usize_of_nat(x_100); +lean_dec(x_100); +x_102 = x_95; +x_103 = lean_box_usize(x_101); +x_104 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_105 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4___boxed), 11, 4); +lean_closure_set(x_105, 0, x_99); +lean_closure_set(x_105, 1, x_103); +lean_closure_set(x_105, 2, x_104); +lean_closure_set(x_105, 3, x_102); +x_106 = x_105; +x_107 = lean_apply_7(x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_96); return x_107; } +else +{ +uint8_t x_108; +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_108 = !lean_is_exclusive(x_94); +if (x_108 == 0) +{ +return x_94; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_94, 0); +x_110 = lean_ctor_get(x_94, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_94); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} } } } @@ -5511,11 +4540,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); return x_14; } } @@ -5528,11 +4552,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); return x_14; } } @@ -5545,11 +4564,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); return x_14; } } @@ -5610,30 +4624,15 @@ _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_10 = lean_ctor_get(x_5, 1); -x_11 = lean_box(0); lean_inc(x_10); +x_11 = lean_box(0); x_12 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_12, 0, x_10); x_13 = lean_box(0); x_14 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_12); return x_14; } } -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo___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_Binders_0__Lean_Elab_Term_addLocalVarInfo(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); -return x_10; -} -} static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1() { _start: { @@ -5719,7 +4718,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1() { _start: { lean_object* x_1; @@ -5727,17 +4726,17 @@ x_1 = lean_mk_string("checkBinderAnnotations"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3() { _start: { lean_object* x_1; @@ -5745,7 +4744,7 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4() { _start: { lean_object* x_1; @@ -5753,13 +4752,13 @@ x_1 = lean_mk_string("check whether type is a class instance whenever the binder return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -5768,12 +4767,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -5794,9 +4793,18 @@ return x_4; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___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, lean_object* x_12, lean_object* x_13) { _start: { -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_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_14 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); @@ -5806,6 +4814,39 @@ x_18 = lean_array_push(x_3, x_6); x_19 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg(x_4, x_5, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_15); return x_19; } +else +{ +uint8_t x_20; +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +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; +} +} +} } lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___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, lean_object* x_14) { _start: @@ -6283,246 +5324,6 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term return x_2; } } -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___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; uint8_t x_12; -x_11 = l_Lean_Meta_setPostponed(x_1, x_6, x_7, x_8, x_9, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set(x_11, 0, x_15); -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_dec(x_11); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); -return x_19; -} -} -} -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__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, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_9); -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); -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_18 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = 0; -x_22 = 1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_23 = l_Lean_Meta_processPostponed(x_21, x_22, x_5, x_6, x_7, x_8, x_20); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_19); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_27 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_4); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_29); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set_tag(x_30, 1); -lean_ctor_set(x_30, 0, x_28); -return x_30; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_28); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_23, 1); -lean_inc(x_35); -lean_dec(x_23); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1(x_16, x_19, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -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_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_10 = x_38; -x_11 = x_39; -goto block_14; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_19); -lean_dec(x_4); -lean_dec(x_3); -x_40 = lean_ctor_get(x_23, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_23, 1); -lean_inc(x_41); -lean_dec(x_23); -x_42 = l_Lean_Meta_setPostponed(x_16, x_5, x_6, x_7, x_8, x_41); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_4); -lean_dec(x_3); -x_47 = lean_ctor_get(x_18, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_18, 1); -lean_inc(x_48); -lean_dec(x_18); -x_49 = l_Lean_Meta_setPostponed(x_16, 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); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_47); -return x_49; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_47); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -block_14: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -} -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg), 9, 0); -return x_2; -} -} lean_object* l_Lean_Elab_Term_elabBinders___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) { _start: { @@ -6530,18 +5331,21 @@ uint8_t x_10; x_10 = l_Array_isEmpty___rarg(x_1); if (x_10 == 0) { -lean_object* x_11; -x_11 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg), 9, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +x_12 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_dec(x_1); -x_12 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -x_13 = lean_apply_1(x_2, x_12); -x_14 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_14; +x_13 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +x_14 = lean_apply_1(x_2, x_13); +x_15 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } } } @@ -6553,21 +5357,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg), 9, 0); return x_2; } } -lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -6764,7 +5553,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__2; -x_2 = l_Lean_Elab_Term_declareTacticSyntax___closed__5; +x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -6817,7 +5606,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_elabArrow___closed__1() { _start: { lean_object* x_1; @@ -6825,25 +5614,17 @@ x_1 = lean_mk_string("arrow"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_elabArrow___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__1; +x_2 = l_Lean_Elab_Term_elabArrow___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("("); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_elabArrow___closed__3() { _start: { lean_object* x_1; @@ -6851,321 +5632,186 @@ x_1 = lean_mk_string("a"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_elabArrow___lambda__1___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); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_elabArrow___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; +x_2 = l_Lean_Elab_Term_elabArrow___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; -x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(")"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(","); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabArrow___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) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; -lean_inc(x_1); -x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_12 = lean_unsigned_to_nat(0u); -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); -lean_dec(x_1); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_8); -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); -x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_21); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Lean_Elab_Term_elabForall___closed__1; -lean_inc(x_17); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_17); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; -lean_inc(x_17); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; -x_30 = l_Lean_addMacroScope(x_24, x_29, x_20); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -lean_inc(x_17); -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set(x_33, 3, x_31); -x_34 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; -x_35 = lean_array_push(x_34, x_33); -x_36 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; -lean_inc(x_17); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_17); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; -x_41 = lean_array_push(x_40, x_39); -x_42 = lean_array_push(x_41, x_13); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__10; -lean_inc(x_17); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_17); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; -x_47 = lean_array_push(x_46, x_28); -x_48 = lean_array_push(x_47, x_37); -x_49 = lean_array_push(x_48, x_43); -x_50 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; -x_51 = lean_array_push(x_49, x_50); -x_52 = lean_array_push(x_51, x_45); -x_53 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__4; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_34, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_36); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_17); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; -x_60 = lean_array_push(x_59, x_26); -x_61 = lean_array_push(x_60, x_56); -x_62 = lean_array_push(x_61, x_58); -x_63 = lean_array_push(x_62, x_15); -x_64 = l_Lean_Elab_Term_elabForall___closed__2; -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_22, 0, x_65); -return x_22; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_66 = lean_ctor_get(x_22, 0); -x_67 = lean_ctor_get(x_22, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_22); -x_68 = l_Lean_Elab_Term_elabForall___closed__1; -lean_inc(x_17); -x_69 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_69, 0, x_17); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; -lean_inc(x_17); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_17); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; -x_73 = l_Lean_addMacroScope(x_66, x_72, x_20); -x_74 = lean_box(0); -x_75 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -lean_inc(x_17); -x_76 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_76, 0, x_17); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_73); -lean_ctor_set(x_76, 3, x_74); -x_77 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; -x_78 = lean_array_push(x_77, x_76); -x_79 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; -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_elabArrow___lambda__1___closed__8; -lean_inc(x_17); -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_17); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; -x_84 = lean_array_push(x_83, x_82); -x_85 = lean_array_push(x_84, x_13); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_79); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__10; -lean_inc(x_17); -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_17); -lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; -x_90 = lean_array_push(x_89, x_71); -x_91 = lean_array_push(x_90, x_80); -x_92 = lean_array_push(x_91, x_86); -x_93 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; -x_94 = lean_array_push(x_92, x_93); -x_95 = lean_array_push(x_94, x_88); -x_96 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__4; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = lean_array_push(x_77, x_97); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_79); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_17); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; -x_103 = lean_array_push(x_102, x_69); -x_104 = lean_array_push(x_103, x_99); -x_105 = lean_array_push(x_104, x_101); -x_106 = lean_array_push(x_105, x_15); -x_107 = l_Lean_Elab_Term_elabForall___closed__2; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_67); -return x_109; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Term_elabArrow___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabArrow___lambda__1___boxed), 8, 0); -return x_1; -} -} lean_object* l_Lean_Elab_Term_elabArrow(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_Lean_Elab_Term_elabArrow___closed__1; -x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_elabArrow___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) { -_start: +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_Elab_Term_elabArrow___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_elabArrow___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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_1); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(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; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +lean_dec(x_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_17 = l_Lean_Elab_Term_elabType(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +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_20 = l_Lean_Elab_Term_elabType(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_22); +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 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_25); +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_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_26, 0); +x_29 = l_Lean_Elab_Term_elabArrow___closed__4; +x_30 = l_Lean_addMacroScope(x_24, x_29, x_28); +x_31 = 0; +x_32 = l_Lean_mkForall(x_30, x_31, x_18, x_21); +lean_ctor_set(x_26, 0, x_32); +return x_26; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_ctor_get(x_26, 0); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_26); +x_35 = l_Lean_Elab_Term_elabArrow___closed__4; +x_36 = l_Lean_addMacroScope(x_24, x_35, x_33); +x_37 = 0; +x_38 = l_Lean_mkForall(x_36, x_37, x_18, x_21); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_34); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_18); +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_40 = !lean_is_exclusive(x_20); +if (x_40 == 0) +{ +return x_20; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_20, 0); +x_42 = lean_ctor_get(x_20, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_20); +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_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); +x_44 = !lean_is_exclusive(x_17); +if (x_44 == 0) +{ +return x_17; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_17, 0); +x_46 = lean_ctor_get(x_17, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_17); +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_object* l_Lean_Elab_Term_elabArrow___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_elabArrow(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -return x_9; +return x_10; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1() { @@ -7190,7 +5836,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabArrow___closed__3() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabArrow), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabArrow___boxed), 9, 0); return x_1; } } @@ -7199,7 +5845,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; +x_3 = l_Lean_Elab_Term_elabArrow___closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabArrow___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_elabArrow___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -9995,40 +8641,52 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("matchDiscr"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; +x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("matchDiscr"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; -x_2 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; -x_3 = lean_array_push(x_1, x_2); +x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; +x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; +x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__7() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__8() { _start: { lean_object* x_1; @@ -10036,17 +8694,17 @@ x_1 = lean_mk_string("matchAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__10() { _start: { lean_object* x_1; @@ -10054,17 +8712,17 @@ x_1 = lean_mk_string("matchAlt"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__11() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__12() { _start: { lean_object* x_1; @@ -10072,7 +8730,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__12() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__13() { _start: { lean_object* x_1; @@ -10080,7 +8738,16 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -10089,7 +8756,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__14() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__16() { _start: { lean_object* x_1; @@ -10097,12 +8764,12 @@ x_1 = lean_mk_string("typeAscription"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -10176,7 +8843,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; x_30 = lean_ctor_get(x_25, 0); x_31 = lean_ctor_get(x_25, 1); lean_dec(x_31); -x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_26); +x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_26); lean_dec(x_5); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) @@ -10188,9 +8855,9 @@ lean_inc(x_34); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_37 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_38 = lean_array_push(x_37, x_16); -x_39 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_39 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); @@ -10200,12 +8867,12 @@ x_43 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_45 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_34); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_34); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_47 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_34); x_48 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_48, 0, x_34); @@ -10214,16 +8881,16 @@ x_49 = lean_array_push(x_41, x_14); x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_43); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_51 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_34); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_53 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_54 = lean_array_push(x_53, x_48); x_55 = lean_array_push(x_54, x_50); x_56 = lean_array_push(x_55, x_52); x_57 = lean_array_push(x_56, x_30); -x_58 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_58 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -10232,13 +8899,13 @@ x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_43); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_41, x_61); -x_63 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_63 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; 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_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_65 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_66 = lean_array_push(x_65, x_36); -x_67 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_67 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_68 = lean_array_push(x_66, x_67); x_69 = lean_array_push(x_68, x_44); x_70 = lean_array_push(x_69, x_67); @@ -10268,9 +8935,9 @@ lean_inc(x_77); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_77); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_81 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_82 = lean_array_push(x_81, x_16); -x_83 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_83 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -10280,12 +8947,12 @@ x_87 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); -x_89 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_89 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_77); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_77); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_91 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_77); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_77); @@ -10294,16 +8961,16 @@ x_93 = lean_array_push(x_85, x_14); x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_87); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_95 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_77); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_97 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_98 = lean_array_push(x_97, x_92); x_99 = lean_array_push(x_98, x_94); x_100 = lean_array_push(x_99, x_96); x_101 = lean_array_push(x_100, x_30); -x_102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_101); @@ -10312,13 +8979,13 @@ x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_87); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_push(x_85, x_105); -x_107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); lean_ctor_set(x_108, 1, x_106); -x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_110 = lean_array_push(x_109, x_80); -x_111 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_112 = lean_array_push(x_110, x_111); x_113 = lean_array_push(x_112, x_88); x_114 = lean_array_push(x_113, x_111); @@ -10344,7 +9011,7 @@ lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; x_122 = lean_ctor_get(x_25, 0); lean_inc(x_122); lean_dec(x_25); -x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_26); +x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_26); lean_dec(x_5); x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); @@ -10363,9 +9030,9 @@ lean_inc(x_124); x_128 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_128, 0, x_124); lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_130 = lean_array_push(x_129, x_16); -x_131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -10375,12 +9042,12 @@ x_135 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_124); x_138 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_138, 0, x_124); lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_124); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_124); @@ -10389,16 +9056,16 @@ x_141 = lean_array_push(x_133, x_14); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_135); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_144 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_144, 0, x_124); lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_145 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_146 = lean_array_push(x_145, x_140); x_147 = lean_array_push(x_146, x_142); x_148 = lean_array_push(x_147, x_144); x_149 = lean_array_push(x_148, x_122); -x_150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_151 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); @@ -10407,13 +9074,13 @@ x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_135); lean_ctor_set(x_153, 1, x_152); x_154 = lean_array_push(x_133, x_153); -x_155 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_155 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); -x_157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_158 = lean_array_push(x_157, x_128); -x_159 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_160 = lean_array_push(x_158, x_159); x_161 = lean_array_push(x_160, x_136); x_162 = lean_array_push(x_161, x_159); @@ -10455,7 +9122,7 @@ if (lean_is_exclusive(x_25)) { lean_dec_ref(x_25); x_173 = lean_box(0); } -x_174 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_26); +x_174 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_26); lean_dec(x_5); x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); @@ -10474,9 +9141,9 @@ lean_inc(x_175); x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_175); lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_180 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_181 = lean_array_push(x_180, x_16); -x_182 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_182 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_183 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_183, 0, x_182); lean_ctor_set(x_183, 1, x_181); @@ -10486,12 +9153,12 @@ x_186 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__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); -x_188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_175); x_189 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_189, 0, x_175); lean_ctor_set(x_189, 1, x_188); -x_190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_175); x_191 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_191, 0, x_175); @@ -10500,16 +9167,16 @@ x_192 = lean_array_push(x_184, x_14); x_193 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_193, 0, x_186); lean_ctor_set(x_193, 1, x_192); -x_194 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_194 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_195 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_195, 0, x_175); lean_ctor_set(x_195, 1, x_194); -x_196 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_197 = lean_array_push(x_196, x_191); x_198 = lean_array_push(x_197, x_193); x_199 = lean_array_push(x_198, x_195); x_200 = lean_array_push(x_199, x_172); -x_201 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_201 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_202 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_202, 0, x_201); lean_ctor_set(x_202, 1, x_200); @@ -10518,13 +9185,13 @@ x_204 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_204, 0, x_186); lean_ctor_set(x_204, 1, x_203); x_205 = lean_array_push(x_184, x_204); -x_206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; 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 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_208 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_209 = lean_array_push(x_208, x_179); -x_210 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_210 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_211 = lean_array_push(x_209, x_210); x_212 = lean_array_push(x_211, x_187); x_213 = lean_array_push(x_212, x_210); @@ -10641,7 +9308,7 @@ lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; x_249 = lean_ctor_get(x_244, 0); x_250 = lean_ctor_get(x_244, 1); lean_dec(x_250); -x_251 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_245); +x_251 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_245); lean_dec(x_5); x_252 = !lean_is_exclusive(x_251); if (x_252 == 0) @@ -10653,9 +9320,9 @@ lean_inc(x_253); x_255 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_255, 0, x_253); lean_ctor_set(x_255, 1, x_254); -x_256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_257 = lean_array_push(x_256, x_235); -x_258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_259 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_259, 0, x_258); lean_ctor_set(x_259, 1, x_257); @@ -10665,12 +9332,12 @@ x_262 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_263 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_263, 0, x_262); lean_ctor_set(x_263, 1, x_261); -x_264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_253); x_265 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_265, 0, x_253); lean_ctor_set(x_265, 1, x_264); -x_266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_253); x_267 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_267, 0, x_253); @@ -10687,16 +9354,16 @@ x_271 = lean_ctor_get(x_14, 0); lean_dec(x_271); lean_ctor_set(x_14, 1, x_268); lean_ctor_set(x_14, 0, x_262); -x_272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_273 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_273, 0, x_253); lean_ctor_set(x_273, 1, x_272); -x_274 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_274 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_275 = lean_array_push(x_274, x_267); x_276 = lean_array_push(x_275, x_14); x_277 = lean_array_push(x_276, x_273); x_278 = lean_array_push(x_277, x_249); -x_279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_280, 0, x_279); lean_ctor_set(x_280, 1, x_278); @@ -10705,13 +9372,13 @@ x_282 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_282, 0, x_262); lean_ctor_set(x_282, 1, x_281); x_283 = lean_array_push(x_260, x_282); -x_284 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_284 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; 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_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_287 = lean_array_push(x_286, x_255); -x_288 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_289 = lean_array_push(x_287, x_288); x_290 = lean_array_push(x_289, x_263); x_291 = lean_array_push(x_290, x_288); @@ -10735,16 +9402,16 @@ lean_dec(x_14); x_298 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_298, 0, x_262); lean_ctor_set(x_298, 1, x_268); -x_299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_300 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_300, 0, x_253); lean_ctor_set(x_300, 1, x_299); -x_301 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_301 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_302 = lean_array_push(x_301, x_267); x_303 = lean_array_push(x_302, x_298); x_304 = lean_array_push(x_303, x_300); x_305 = lean_array_push(x_304, x_249); -x_306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_307 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_307, 0, x_306); lean_ctor_set(x_307, 1, x_305); @@ -10753,13 +9420,13 @@ x_309 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_309, 0, x_262); lean_ctor_set(x_309, 1, x_308); x_310 = lean_array_push(x_260, x_309); -x_311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_312 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_312, 0, x_311); lean_ctor_set(x_312, 1, x_310); -x_313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_314 = lean_array_push(x_313, x_255); -x_315 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_315 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_316 = lean_array_push(x_314, x_315); x_317 = lean_array_push(x_316, x_263); x_318 = lean_array_push(x_317, x_315); @@ -10790,9 +9457,9 @@ lean_inc(x_325); x_328 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_328, 0, x_325); lean_ctor_set(x_328, 1, x_327); -x_329 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_329 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_330 = lean_array_push(x_329, x_235); -x_331 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_331 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_332 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_332, 0, x_331); lean_ctor_set(x_332, 1, x_330); @@ -10802,12 +9469,12 @@ x_335 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_336 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_336, 0, x_335); lean_ctor_set(x_336, 1, x_334); -x_337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_325); x_338 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_338, 0, x_325); lean_ctor_set(x_338, 1, x_337); -x_339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_325); x_340 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_340, 0, x_325); @@ -10829,16 +9496,16 @@ if (lean_is_scalar(x_342)) { } lean_ctor_set(x_343, 0, x_335); lean_ctor_set(x_343, 1, x_341); -x_344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_345 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_345, 0, x_325); lean_ctor_set(x_345, 1, x_344); -x_346 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_347 = lean_array_push(x_346, x_340); x_348 = lean_array_push(x_347, x_343); x_349 = lean_array_push(x_348, x_345); x_350 = lean_array_push(x_349, x_249); -x_351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_352 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_352, 0, x_351); lean_ctor_set(x_352, 1, x_350); @@ -10847,13 +9514,13 @@ x_354 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_354, 0, x_335); lean_ctor_set(x_354, 1, x_353); x_355 = lean_array_push(x_333, x_354); -x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_357 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_357, 0, x_356); lean_ctor_set(x_357, 1, x_355); -x_358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_359 = lean_array_push(x_358, x_328); -x_360 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_361 = lean_array_push(x_359, x_360); x_362 = lean_array_push(x_361, x_336); x_363 = lean_array_push(x_362, x_360); @@ -10879,7 +9546,7 @@ lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; x_371 = lean_ctor_get(x_244, 0); lean_inc(x_371); lean_dec(x_244); -x_372 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_245); +x_372 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_245); lean_dec(x_5); x_373 = lean_ctor_get(x_372, 0); lean_inc(x_373); @@ -10898,9 +9565,9 @@ lean_inc(x_373); x_377 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_377, 0, x_373); lean_ctor_set(x_377, 1, x_376); -x_378 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_378 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_379 = lean_array_push(x_378, x_235); -x_380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_381 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_381, 0, x_380); lean_ctor_set(x_381, 1, x_379); @@ -10910,12 +9577,12 @@ x_384 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_385 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_385, 0, x_384); lean_ctor_set(x_385, 1, x_383); -x_386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_373); x_387 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_387, 0, x_373); lean_ctor_set(x_387, 1, x_386); -x_388 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_388 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_373); x_389 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_389, 0, x_373); @@ -10937,16 +9604,16 @@ if (lean_is_scalar(x_391)) { } lean_ctor_set(x_392, 0, x_384); lean_ctor_set(x_392, 1, x_390); -x_393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_394 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_394, 0, x_373); lean_ctor_set(x_394, 1, x_393); -x_395 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_395 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_396 = lean_array_push(x_395, x_389); x_397 = lean_array_push(x_396, x_392); x_398 = lean_array_push(x_397, x_394); x_399 = lean_array_push(x_398, x_371); -x_400 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_400 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_401 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_401, 0, x_400); lean_ctor_set(x_401, 1, x_399); @@ -10955,13 +9622,13 @@ x_403 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_403, 0, x_384); lean_ctor_set(x_403, 1, x_402); x_404 = lean_array_push(x_382, x_403); -x_405 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_405 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_406 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_406, 0, x_405); lean_ctor_set(x_406, 1, x_404); -x_407 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_407 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_408 = lean_array_push(x_407, x_377); -x_409 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_409 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_410 = lean_array_push(x_408, x_409); x_411 = lean_array_push(x_410, x_385); x_412 = lean_array_push(x_411, x_409); @@ -11003,7 +9670,7 @@ if (lean_is_exclusive(x_244)) { lean_dec_ref(x_244); x_423 = lean_box(0); } -x_424 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_245); +x_424 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_245); lean_dec(x_5); x_425 = lean_ctor_get(x_424, 0); lean_inc(x_425); @@ -11022,9 +9689,9 @@ lean_inc(x_425); x_429 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_429, 0, x_425); lean_ctor_set(x_429, 1, x_428); -x_430 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_430 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_431 = lean_array_push(x_430, x_235); -x_432 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_432 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_433 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_433, 0, x_432); lean_ctor_set(x_433, 1, x_431); @@ -11034,12 +9701,12 @@ x_436 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_437 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_437, 0, x_436); lean_ctor_set(x_437, 1, x_435); -x_438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_425); x_439 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_439, 0, x_425); lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_425); x_441 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_441, 0, x_425); @@ -11061,16 +9728,16 @@ if (lean_is_scalar(x_443)) { } lean_ctor_set(x_444, 0, x_436); lean_ctor_set(x_444, 1, x_442); -x_445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_446 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_446, 0, x_425); lean_ctor_set(x_446, 1, x_445); -x_447 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_447 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_448 = lean_array_push(x_447, x_441); x_449 = lean_array_push(x_448, x_444); x_450 = lean_array_push(x_449, x_446); x_451 = lean_array_push(x_450, x_422); -x_452 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_452 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_453 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_453, 0, x_452); lean_ctor_set(x_453, 1, x_451); @@ -11079,13 +9746,13 @@ x_455 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_455, 0, x_436); lean_ctor_set(x_455, 1, x_454); x_456 = lean_array_push(x_434, x_455); -x_457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_458 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_458, 0, x_457); lean_ctor_set(x_458, 1, x_456); -x_459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_460 = lean_array_push(x_459, x_429); -x_461 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_461 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_462 = lean_array_push(x_460, x_461); x_463 = lean_array_push(x_462, x_437); x_464 = lean_array_push(x_463, x_461); @@ -11164,7 +9831,7 @@ lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; x_491 = lean_ctor_get(x_486, 0); x_492 = lean_ctor_get(x_486, 1); lean_dec(x_492); -x_493 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_487); +x_493 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_487); lean_dec(x_5); x_494 = !lean_is_exclusive(x_493); if (x_494 == 0) @@ -11176,9 +9843,9 @@ lean_inc(x_495); x_497 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_497, 0, x_495); lean_ctor_set(x_497, 1, x_496); -x_498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_499 = lean_array_push(x_498, x_477); -x_500 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_500 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_501 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_501, 0, x_500); lean_ctor_set(x_501, 1, x_499); @@ -11188,12 +9855,12 @@ x_504 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ 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 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_495); x_507 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_507, 0, x_495); lean_ctor_set(x_507, 1, x_506); -x_508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_495); x_509 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_509, 0, x_495); @@ -11210,16 +9877,16 @@ x_513 = lean_ctor_get(x_14, 0); lean_dec(x_513); lean_ctor_set(x_14, 1, x_510); lean_ctor_set(x_14, 0, x_504); -x_514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_515 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_515, 0, x_495); lean_ctor_set(x_515, 1, x_514); -x_516 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_516 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_517 = lean_array_push(x_516, x_509); x_518 = lean_array_push(x_517, x_14); x_519 = lean_array_push(x_518, x_515); x_520 = lean_array_push(x_519, x_491); -x_521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_522 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_522, 0, x_521); lean_ctor_set(x_522, 1, x_520); @@ -11228,13 +9895,13 @@ x_524 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_524, 0, x_504); lean_ctor_set(x_524, 1, x_523); x_525 = lean_array_push(x_502, x_524); -x_526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_527 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_527, 0, x_526); lean_ctor_set(x_527, 1, x_525); -x_528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_529 = lean_array_push(x_528, x_497); -x_530 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_530 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_531 = lean_array_push(x_529, x_530); x_532 = lean_array_push(x_531, x_505); x_533 = lean_array_push(x_532, x_530); @@ -11258,16 +9925,16 @@ lean_dec(x_14); x_540 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_540, 0, x_504); lean_ctor_set(x_540, 1, x_510); -x_541 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_541 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_542 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_542, 0, x_495); lean_ctor_set(x_542, 1, x_541); -x_543 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_543 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_544 = lean_array_push(x_543, x_509); x_545 = lean_array_push(x_544, x_540); x_546 = lean_array_push(x_545, x_542); x_547 = lean_array_push(x_546, x_491); -x_548 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_548 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_549 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_549, 0, x_548); lean_ctor_set(x_549, 1, x_547); @@ -11276,13 +9943,13 @@ x_551 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_551, 0, x_504); lean_ctor_set(x_551, 1, x_550); x_552 = lean_array_push(x_502, x_551); -x_553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_554 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_554, 0, x_553); lean_ctor_set(x_554, 1, x_552); -x_555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_556 = lean_array_push(x_555, x_497); -x_557 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_557 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_558 = lean_array_push(x_556, x_557); x_559 = lean_array_push(x_558, x_505); x_560 = lean_array_push(x_559, x_557); @@ -11313,9 +9980,9 @@ lean_inc(x_567); x_570 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_570, 0, x_567); lean_ctor_set(x_570, 1, x_569); -x_571 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_571 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_572 = lean_array_push(x_571, x_477); -x_573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_574 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_574, 0, x_573); lean_ctor_set(x_574, 1, x_572); @@ -11325,12 +9992,12 @@ x_577 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_578 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_578, 0, x_577); lean_ctor_set(x_578, 1, x_576); -x_579 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_579 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_567); x_580 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_580, 0, x_567); lean_ctor_set(x_580, 1, x_579); -x_581 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_581 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_567); x_582 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_582, 0, x_567); @@ -11352,16 +10019,16 @@ if (lean_is_scalar(x_584)) { } lean_ctor_set(x_585, 0, x_577); lean_ctor_set(x_585, 1, x_583); -x_586 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_586 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_587 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_587, 0, x_567); lean_ctor_set(x_587, 1, x_586); -x_588 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_588 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_589 = lean_array_push(x_588, x_582); x_590 = lean_array_push(x_589, x_585); x_591 = lean_array_push(x_590, x_587); x_592 = lean_array_push(x_591, x_491); -x_593 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_593 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_594 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_594, 0, x_593); lean_ctor_set(x_594, 1, x_592); @@ -11370,13 +10037,13 @@ x_596 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_596, 0, x_577); lean_ctor_set(x_596, 1, x_595); x_597 = lean_array_push(x_575, x_596); -x_598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_599 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_599, 0, x_598); lean_ctor_set(x_599, 1, x_597); -x_600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_601 = lean_array_push(x_600, x_570); -x_602 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_602 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_603 = lean_array_push(x_601, x_602); x_604 = lean_array_push(x_603, x_578); x_605 = lean_array_push(x_604, x_602); @@ -11402,7 +10069,7 @@ lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; x_613 = lean_ctor_get(x_486, 0); lean_inc(x_613); lean_dec(x_486); -x_614 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_487); +x_614 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_487); lean_dec(x_5); x_615 = lean_ctor_get(x_614, 0); lean_inc(x_615); @@ -11421,9 +10088,9 @@ lean_inc(x_615); x_619 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_619, 0, x_615); lean_ctor_set(x_619, 1, x_618); -x_620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_621 = lean_array_push(x_620, x_477); -x_622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_623 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_623, 0, x_622); lean_ctor_set(x_623, 1, x_621); @@ -11433,12 +10100,12 @@ x_626 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_627 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_627, 0, x_626); lean_ctor_set(x_627, 1, x_625); -x_628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_615); x_629 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_629, 0, x_615); lean_ctor_set(x_629, 1, x_628); -x_630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_615); x_631 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_631, 0, x_615); @@ -11460,16 +10127,16 @@ if (lean_is_scalar(x_633)) { } lean_ctor_set(x_634, 0, x_626); lean_ctor_set(x_634, 1, x_632); -x_635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_636 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_636, 0, x_615); lean_ctor_set(x_636, 1, x_635); -x_637 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_637 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_638 = lean_array_push(x_637, x_631); x_639 = lean_array_push(x_638, x_634); x_640 = lean_array_push(x_639, x_636); x_641 = lean_array_push(x_640, x_613); -x_642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_643 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_643, 0, x_642); lean_ctor_set(x_643, 1, x_641); @@ -11478,13 +10145,13 @@ x_645 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_645, 0, x_626); lean_ctor_set(x_645, 1, x_644); x_646 = lean_array_push(x_624, x_645); -x_647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_648 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_648, 0, x_647); lean_ctor_set(x_648, 1, x_646); -x_649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_650 = lean_array_push(x_649, x_619); -x_651 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_652 = lean_array_push(x_650, x_651); x_653 = lean_array_push(x_652, x_627); x_654 = lean_array_push(x_653, x_651); @@ -11526,7 +10193,7 @@ if (lean_is_exclusive(x_486)) { lean_dec_ref(x_486); x_665 = lean_box(0); } -x_666 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_487); +x_666 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_487); lean_dec(x_5); x_667 = lean_ctor_get(x_666, 0); lean_inc(x_667); @@ -11545,9 +10212,9 @@ lean_inc(x_667); x_671 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_671, 0, x_667); lean_ctor_set(x_671, 1, x_670); -x_672 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_672 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_673 = lean_array_push(x_672, x_477); -x_674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_675 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_675, 0, x_674); lean_ctor_set(x_675, 1, x_673); @@ -11557,12 +10224,12 @@ x_678 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_679 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_679, 0, x_678); lean_ctor_set(x_679, 1, x_677); -x_680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_667); x_681 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_681, 0, x_667); lean_ctor_set(x_681, 1, x_680); -x_682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_667); x_683 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_683, 0, x_667); @@ -11584,16 +10251,16 @@ if (lean_is_scalar(x_685)) { } lean_ctor_set(x_686, 0, x_678); lean_ctor_set(x_686, 1, x_684); -x_687 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_687 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_688 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_688, 0, x_667); lean_ctor_set(x_688, 1, x_687); -x_689 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_689 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_690 = lean_array_push(x_689, x_683); x_691 = lean_array_push(x_690, x_686); x_692 = lean_array_push(x_691, x_688); x_693 = lean_array_push(x_692, x_664); -x_694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_695 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_695, 0, x_694); lean_ctor_set(x_695, 1, x_693); @@ -11602,13 +10269,13 @@ x_697 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_697, 0, x_678); lean_ctor_set(x_697, 1, x_696); x_698 = lean_array_push(x_676, x_697); -x_699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_700 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_700, 0, x_699); lean_ctor_set(x_700, 1, x_698); -x_701 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_701 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_702 = lean_array_push(x_701, x_671); -x_703 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_703 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_704 = lean_array_push(x_702, x_703); x_705 = lean_array_push(x_704, x_679); x_706 = lean_array_push(x_705, x_703); @@ -11686,7 +10353,7 @@ lean_object* x_733; lean_object* x_734; lean_object* x_735; uint8_t x_736; x_733 = lean_ctor_get(x_728, 0); x_734 = lean_ctor_get(x_728, 1); lean_dec(x_734); -x_735 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_729); +x_735 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_729); lean_dec(x_5); x_736 = !lean_is_exclusive(x_735); if (x_736 == 0) @@ -11698,9 +10365,9 @@ lean_inc(x_737); x_739 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_739, 0, x_737); lean_ctor_set(x_739, 1, x_738); -x_740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_741 = lean_array_push(x_740, x_719); -x_742 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_742 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_743 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_743, 0, x_742); lean_ctor_set(x_743, 1, x_741); @@ -11710,12 +10377,12 @@ x_746 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_747 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_747, 0, x_746); lean_ctor_set(x_747, 1, x_745); -x_748 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_748 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_737); x_749 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_749, 0, x_737); lean_ctor_set(x_749, 1, x_748); -x_750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_737); x_751 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_751, 0, x_737); @@ -11732,16 +10399,16 @@ x_755 = lean_ctor_get(x_14, 0); lean_dec(x_755); lean_ctor_set(x_14, 1, x_752); lean_ctor_set(x_14, 0, x_746); -x_756 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_756 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_757 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_757, 0, x_737); lean_ctor_set(x_757, 1, x_756); -x_758 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_759 = lean_array_push(x_758, x_751); x_760 = lean_array_push(x_759, x_14); x_761 = lean_array_push(x_760, x_757); x_762 = lean_array_push(x_761, x_733); -x_763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_764 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_764, 0, x_763); lean_ctor_set(x_764, 1, x_762); @@ -11750,13 +10417,13 @@ x_766 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_766, 0, x_746); lean_ctor_set(x_766, 1, x_765); x_767 = lean_array_push(x_744, x_766); -x_768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_769 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_769, 0, x_768); lean_ctor_set(x_769, 1, x_767); -x_770 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_770 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_771 = lean_array_push(x_770, x_739); -x_772 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_772 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_773 = lean_array_push(x_771, x_772); x_774 = lean_array_push(x_773, x_747); x_775 = lean_array_push(x_774, x_772); @@ -11780,16 +10447,16 @@ lean_dec(x_14); x_782 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_782, 0, x_746); lean_ctor_set(x_782, 1, x_752); -x_783 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_783 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_784 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_784, 0, x_737); lean_ctor_set(x_784, 1, x_783); -x_785 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_786 = lean_array_push(x_785, x_751); x_787 = lean_array_push(x_786, x_782); x_788 = lean_array_push(x_787, x_784); x_789 = lean_array_push(x_788, x_733); -x_790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_791 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_791, 0, x_790); lean_ctor_set(x_791, 1, x_789); @@ -11798,13 +10465,13 @@ x_793 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_793, 0, x_746); lean_ctor_set(x_793, 1, x_792); x_794 = lean_array_push(x_744, x_793); -x_795 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_795 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_796 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_796, 0, x_795); lean_ctor_set(x_796, 1, x_794); -x_797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_798 = lean_array_push(x_797, x_739); -x_799 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_800 = lean_array_push(x_798, x_799); x_801 = lean_array_push(x_800, x_747); x_802 = lean_array_push(x_801, x_799); @@ -11835,9 +10502,9 @@ lean_inc(x_809); x_812 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_812, 0, x_809); lean_ctor_set(x_812, 1, x_811); -x_813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_814 = lean_array_push(x_813, x_719); -x_815 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_815 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_816 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_816, 0, x_815); lean_ctor_set(x_816, 1, x_814); @@ -11847,12 +10514,12 @@ x_819 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_820 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_820, 0, x_819); lean_ctor_set(x_820, 1, x_818); -x_821 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_821 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_809); x_822 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_822, 0, x_809); lean_ctor_set(x_822, 1, x_821); -x_823 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_823 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_809); x_824 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_824, 0, x_809); @@ -11874,16 +10541,16 @@ if (lean_is_scalar(x_826)) { } lean_ctor_set(x_827, 0, x_819); lean_ctor_set(x_827, 1, x_825); -x_828 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_828 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_829 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_829, 0, x_809); lean_ctor_set(x_829, 1, x_828); -x_830 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_831 = lean_array_push(x_830, x_824); x_832 = lean_array_push(x_831, x_827); x_833 = lean_array_push(x_832, x_829); x_834 = lean_array_push(x_833, x_733); -x_835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_836 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_836, 0, x_835); lean_ctor_set(x_836, 1, x_834); @@ -11892,13 +10559,13 @@ x_838 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_838, 0, x_819); lean_ctor_set(x_838, 1, x_837); x_839 = lean_array_push(x_817, x_838); -x_840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_841 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_841, 0, x_840); lean_ctor_set(x_841, 1, x_839); -x_842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_843 = lean_array_push(x_842, x_812); -x_844 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_844 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_845 = lean_array_push(x_843, x_844); x_846 = lean_array_push(x_845, x_820); x_847 = lean_array_push(x_846, x_844); @@ -11924,7 +10591,7 @@ lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; x_855 = lean_ctor_get(x_728, 0); lean_inc(x_855); lean_dec(x_728); -x_856 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_729); +x_856 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_729); lean_dec(x_5); x_857 = lean_ctor_get(x_856, 0); lean_inc(x_857); @@ -11943,9 +10610,9 @@ lean_inc(x_857); x_861 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_861, 0, x_857); lean_ctor_set(x_861, 1, x_860); -x_862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_863 = lean_array_push(x_862, x_719); -x_864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_865 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_865, 0, x_864); lean_ctor_set(x_865, 1, x_863); @@ -11955,12 +10622,12 @@ x_868 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_869 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_869, 0, x_868); lean_ctor_set(x_869, 1, x_867); -x_870 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_870 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_857); x_871 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_871, 0, x_857); lean_ctor_set(x_871, 1, x_870); -x_872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_857); x_873 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_873, 0, x_857); @@ -11982,16 +10649,16 @@ if (lean_is_scalar(x_875)) { } lean_ctor_set(x_876, 0, x_868); lean_ctor_set(x_876, 1, x_874); -x_877 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_877 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_878 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_878, 0, x_857); lean_ctor_set(x_878, 1, x_877); -x_879 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_880 = lean_array_push(x_879, x_873); x_881 = lean_array_push(x_880, x_876); x_882 = lean_array_push(x_881, x_878); x_883 = lean_array_push(x_882, x_855); -x_884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_885 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_885, 0, x_884); lean_ctor_set(x_885, 1, x_883); @@ -12000,13 +10667,13 @@ x_887 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_887, 0, x_868); lean_ctor_set(x_887, 1, x_886); x_888 = lean_array_push(x_866, x_887); -x_889 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_889 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_890 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_890, 0, x_889); lean_ctor_set(x_890, 1, x_888); -x_891 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_891 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_892 = lean_array_push(x_891, x_861); -x_893 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_893 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_894 = lean_array_push(x_892, x_893); x_895 = lean_array_push(x_894, x_869); x_896 = lean_array_push(x_895, x_893); @@ -12048,7 +10715,7 @@ if (lean_is_exclusive(x_728)) { lean_dec_ref(x_728); x_907 = lean_box(0); } -x_908 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_729); +x_908 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_729); lean_dec(x_5); x_909 = lean_ctor_get(x_908, 0); lean_inc(x_909); @@ -12067,9 +10734,9 @@ lean_inc(x_909); x_913 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_913, 0, x_909); lean_ctor_set(x_913, 1, x_912); -x_914 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_914 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_915 = lean_array_push(x_914, x_719); -x_916 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_916 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_917 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_917, 0, x_916); lean_ctor_set(x_917, 1, x_915); @@ -12079,12 +10746,12 @@ x_920 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_921 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_921, 0, x_920); lean_ctor_set(x_921, 1, x_919); -x_922 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_922 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_909); x_923 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_923, 0, x_909); lean_ctor_set(x_923, 1, x_922); -x_924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_909); x_925 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_925, 0, x_909); @@ -12106,16 +10773,16 @@ if (lean_is_scalar(x_927)) { } lean_ctor_set(x_928, 0, x_920); lean_ctor_set(x_928, 1, x_926); -x_929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_930 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_930, 0, x_909); lean_ctor_set(x_930, 1, x_929); -x_931 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_932 = lean_array_push(x_931, x_925); x_933 = lean_array_push(x_932, x_928); x_934 = lean_array_push(x_933, x_930); x_935 = lean_array_push(x_934, x_906); -x_936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_937 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_937, 0, x_936); lean_ctor_set(x_937, 1, x_935); @@ -12124,13 +10791,13 @@ x_939 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_939, 0, x_920); lean_ctor_set(x_939, 1, x_938); x_940 = lean_array_push(x_918, x_939); -x_941 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_941 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_942 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_942, 0, x_941); lean_ctor_set(x_942, 1, x_940); -x_943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_944 = lean_array_push(x_943, x_913); -x_945 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_945 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_946 = lean_array_push(x_944, x_945); x_947 = lean_array_push(x_946, x_921); x_948 = lean_array_push(x_947, x_945); @@ -12232,7 +10899,7 @@ lean_object* x_985; lean_object* x_986; lean_object* x_987; uint8_t x_988; x_985 = lean_ctor_get(x_980, 0); x_986 = lean_ctor_get(x_980, 1); lean_dec(x_986); -x_987 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_981); +x_987 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_981); lean_dec(x_5); x_988 = !lean_is_exclusive(x_987); if (x_988 == 0) @@ -12244,9 +10911,9 @@ lean_inc(x_989); x_991 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_991, 0, x_989); lean_ctor_set(x_991, 1, x_990); -x_992 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_992 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_993 = lean_array_push(x_992, x_971); -x_994 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_994 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_995 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_995, 0, x_994); lean_ctor_set(x_995, 1, x_993); @@ -12256,12 +10923,12 @@ x_998 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_999 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_999, 0, x_998); lean_ctor_set(x_999, 1, x_997); -x_1000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_989); x_1001 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1001, 0, x_989); lean_ctor_set(x_1001, 1, x_1000); -x_1002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_989); x_1003 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1003, 0, x_989); @@ -12278,16 +10945,16 @@ x_1007 = lean_ctor_get(x_14, 0); lean_dec(x_1007); lean_ctor_set(x_14, 1, x_1004); lean_ctor_set(x_14, 0, x_998); -x_1008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1009 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1009, 0, x_989); lean_ctor_set(x_1009, 1, x_1008); -x_1010 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1011 = lean_array_push(x_1010, x_1003); x_1012 = lean_array_push(x_1011, x_14); x_1013 = lean_array_push(x_1012, x_1009); x_1014 = lean_array_push(x_1013, x_985); -x_1015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1016 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1016, 0, x_1015); lean_ctor_set(x_1016, 1, x_1014); @@ -12296,13 +10963,13 @@ x_1018 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1018, 0, x_998); lean_ctor_set(x_1018, 1, x_1017); x_1019 = lean_array_push(x_996, x_1018); -x_1020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; 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 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1022 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1023 = lean_array_push(x_1022, x_991); -x_1024 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1024 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1025 = lean_array_push(x_1023, x_1024); x_1026 = lean_array_push(x_1025, x_999); x_1027 = lean_array_push(x_1026, x_1024); @@ -12326,16 +10993,16 @@ lean_dec(x_14); x_1034 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1034, 0, x_998); lean_ctor_set(x_1034, 1, x_1004); -x_1035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1036 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1036, 0, x_989); lean_ctor_set(x_1036, 1, x_1035); -x_1037 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1037 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1038 = lean_array_push(x_1037, x_1003); x_1039 = lean_array_push(x_1038, x_1034); x_1040 = lean_array_push(x_1039, x_1036); x_1041 = lean_array_push(x_1040, x_985); -x_1042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1043 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1043, 0, x_1042); lean_ctor_set(x_1043, 1, x_1041); @@ -12344,13 +11011,13 @@ x_1045 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1045, 0, x_998); lean_ctor_set(x_1045, 1, x_1044); x_1046 = lean_array_push(x_996, x_1045); -x_1047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1048 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1048, 0, x_1047); lean_ctor_set(x_1048, 1, x_1046); -x_1049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1050 = lean_array_push(x_1049, x_991); -x_1051 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1051 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1052 = lean_array_push(x_1050, x_1051); x_1053 = lean_array_push(x_1052, x_999); x_1054 = lean_array_push(x_1053, x_1051); @@ -12381,9 +11048,9 @@ lean_inc(x_1061); x_1064 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1064, 0, x_1061); lean_ctor_set(x_1064, 1, x_1063); -x_1065 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1065 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1066 = lean_array_push(x_1065, x_971); -x_1067 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1067 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1068 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1068, 0, x_1067); lean_ctor_set(x_1068, 1, x_1066); @@ -12393,12 +11060,12 @@ x_1071 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1072 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1072, 0, x_1071); lean_ctor_set(x_1072, 1, x_1070); -x_1073 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1073 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1061); x_1074 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1074, 0, x_1061); lean_ctor_set(x_1074, 1, x_1073); -x_1075 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1075 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1061); x_1076 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1076, 0, x_1061); @@ -12420,16 +11087,16 @@ if (lean_is_scalar(x_1078)) { } lean_ctor_set(x_1079, 0, x_1071); lean_ctor_set(x_1079, 1, x_1077); -x_1080 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1080 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1081 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1081, 0, x_1061); lean_ctor_set(x_1081, 1, x_1080); -x_1082 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1082 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1083 = lean_array_push(x_1082, x_1076); x_1084 = lean_array_push(x_1083, x_1079); x_1085 = lean_array_push(x_1084, x_1081); x_1086 = lean_array_push(x_1085, x_985); -x_1087 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1087 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1088 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1088, 0, x_1087); lean_ctor_set(x_1088, 1, x_1086); @@ -12438,13 +11105,13 @@ x_1090 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1090, 0, x_1071); lean_ctor_set(x_1090, 1, x_1089); x_1091 = lean_array_push(x_1069, x_1090); -x_1092 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1092 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1093 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1093, 0, x_1092); lean_ctor_set(x_1093, 1, x_1091); -x_1094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1095 = lean_array_push(x_1094, x_1064); -x_1096 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1096 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1097 = lean_array_push(x_1095, x_1096); x_1098 = lean_array_push(x_1097, x_1072); x_1099 = lean_array_push(x_1098, x_1096); @@ -12470,7 +11137,7 @@ lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_11 x_1107 = lean_ctor_get(x_980, 0); lean_inc(x_1107); lean_dec(x_980); -x_1108 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_981); +x_1108 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_981); lean_dec(x_5); x_1109 = lean_ctor_get(x_1108, 0); lean_inc(x_1109); @@ -12489,9 +11156,9 @@ lean_inc(x_1109); x_1113 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1113, 0, x_1109); lean_ctor_set(x_1113, 1, x_1112); -x_1114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1115 = lean_array_push(x_1114, x_971); -x_1116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1117, 0, x_1116); lean_ctor_set(x_1117, 1, x_1115); @@ -12501,12 +11168,12 @@ x_1120 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1121 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1121, 0, x_1120); lean_ctor_set(x_1121, 1, x_1119); -x_1122 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1122 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1109); x_1123 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1123, 0, x_1109); lean_ctor_set(x_1123, 1, x_1122); -x_1124 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1124 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1109); x_1125 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1125, 0, x_1109); @@ -12528,16 +11195,16 @@ if (lean_is_scalar(x_1127)) { } lean_ctor_set(x_1128, 0, x_1120); lean_ctor_set(x_1128, 1, x_1126); -x_1129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1130, 0, x_1109); lean_ctor_set(x_1130, 1, x_1129); -x_1131 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1132 = lean_array_push(x_1131, x_1125); x_1133 = lean_array_push(x_1132, x_1128); x_1134 = lean_array_push(x_1133, x_1130); x_1135 = lean_array_push(x_1134, x_1107); -x_1136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1137 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1137, 0, x_1136); lean_ctor_set(x_1137, 1, x_1135); @@ -12546,13 +11213,13 @@ x_1139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1139, 0, x_1120); lean_ctor_set(x_1139, 1, x_1138); x_1140 = lean_array_push(x_1118, x_1139); -x_1141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1142, 0, x_1141); lean_ctor_set(x_1142, 1, x_1140); -x_1143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1144 = lean_array_push(x_1143, x_1113); -x_1145 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1145 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1146 = lean_array_push(x_1144, x_1145); x_1147 = lean_array_push(x_1146, x_1121); x_1148 = lean_array_push(x_1147, x_1145); @@ -12594,7 +11261,7 @@ if (lean_is_exclusive(x_980)) { lean_dec_ref(x_980); x_1159 = lean_box(0); } -x_1160 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_981); +x_1160 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_981); lean_dec(x_5); x_1161 = lean_ctor_get(x_1160, 0); lean_inc(x_1161); @@ -12613,9 +11280,9 @@ lean_inc(x_1161); x_1165 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1165, 0, x_1161); lean_ctor_set(x_1165, 1, x_1164); -x_1166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1167 = lean_array_push(x_1166, x_971); -x_1168 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1168 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1169, 0, x_1168); lean_ctor_set(x_1169, 1, x_1167); @@ -12625,12 +11292,12 @@ x_1172 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1173 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1173, 0, x_1172); lean_ctor_set(x_1173, 1, x_1171); -x_1174 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1174 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1161); x_1175 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1175, 0, x_1161); lean_ctor_set(x_1175, 1, x_1174); -x_1176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1161); x_1177 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1177, 0, x_1161); @@ -12652,16 +11319,16 @@ if (lean_is_scalar(x_1179)) { } lean_ctor_set(x_1180, 0, x_1172); lean_ctor_set(x_1180, 1, x_1178); -x_1181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1182 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1182, 0, x_1161); lean_ctor_set(x_1182, 1, x_1181); -x_1183 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1183 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1184 = lean_array_push(x_1183, x_1177); x_1185 = lean_array_push(x_1184, x_1180); x_1186 = lean_array_push(x_1185, x_1182); x_1187 = lean_array_push(x_1186, x_1158); -x_1188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1189, 0, x_1188); lean_ctor_set(x_1189, 1, x_1187); @@ -12670,13 +11337,13 @@ x_1191 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1191, 0, x_1172); lean_ctor_set(x_1191, 1, x_1190); x_1192 = lean_array_push(x_1170, x_1191); -x_1193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1194, 0, x_1193); lean_ctor_set(x_1194, 1, x_1192); -x_1195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1196 = lean_array_push(x_1195, x_1165); -x_1197 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1197 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1198 = lean_array_push(x_1196, x_1197); x_1199 = lean_array_push(x_1198, x_1173); x_1200 = lean_array_push(x_1199, x_1197); @@ -12729,7 +11396,7 @@ x_1217 = l_Lean_Syntax_getArg(x_1215, x_1213); lean_dec(x_1215); lean_inc(x_1217); x_1218 = l_Lean_Syntax_getKind(x_1217); -x_1219 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1219 = l_Lean_Elab_Term_expandFunBinders_loop___closed__17; x_1220 = lean_name_eq(x_1218, x_1219); lean_dec(x_1218); if (x_1220 == 0) @@ -12772,7 +11439,7 @@ lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; uint8_t x_1238; x_1235 = lean_ctor_get(x_1230, 0); x_1236 = lean_ctor_get(x_1230, 1); lean_dec(x_1236); -x_1237 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1231); +x_1237 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1231); lean_dec(x_5); x_1238 = !lean_is_exclusive(x_1237); if (x_1238 == 0) @@ -12784,9 +11451,9 @@ lean_inc(x_1239); x_1241 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1241, 0, x_1239); lean_ctor_set(x_1241, 1, x_1240); -x_1242 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1242 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1243 = lean_array_push(x_1242, x_1222); -x_1244 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1244 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1245 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1245, 0, x_1244); lean_ctor_set(x_1245, 1, x_1243); @@ -12796,12 +11463,12 @@ x_1248 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1249, 0, x_1248); lean_ctor_set(x_1249, 1, x_1247); -x_1250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1239); x_1251 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1251, 0, x_1239); lean_ctor_set(x_1251, 1, x_1250); -x_1252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1239); x_1253 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1253, 0, x_1239); @@ -12818,16 +11485,16 @@ x_1257 = lean_ctor_get(x_14, 0); lean_dec(x_1257); lean_ctor_set(x_14, 1, x_1254); lean_ctor_set(x_14, 0, x_1248); -x_1258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1259 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1259, 0, x_1239); lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1260 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1261 = lean_array_push(x_1260, x_1253); x_1262 = lean_array_push(x_1261, x_14); x_1263 = lean_array_push(x_1262, x_1259); x_1264 = lean_array_push(x_1263, x_1235); -x_1265 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1265 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1266 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1266, 0, x_1265); lean_ctor_set(x_1266, 1, x_1264); @@ -12836,13 +11503,13 @@ x_1268 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1268, 0, x_1248); lean_ctor_set(x_1268, 1, x_1267); x_1269 = lean_array_push(x_1246, x_1268); -x_1270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1271 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1271, 0, x_1270); lean_ctor_set(x_1271, 1, x_1269); -x_1272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1273 = lean_array_push(x_1272, x_1241); -x_1274 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1274 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1275 = lean_array_push(x_1273, x_1274); x_1276 = lean_array_push(x_1275, x_1249); x_1277 = lean_array_push(x_1276, x_1274); @@ -12866,16 +11533,16 @@ lean_dec(x_14); x_1284 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1284, 0, x_1248); lean_ctor_set(x_1284, 1, x_1254); -x_1285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1286 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1286, 0, x_1239); lean_ctor_set(x_1286, 1, x_1285); -x_1287 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1287 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1288 = lean_array_push(x_1287, x_1253); x_1289 = lean_array_push(x_1288, x_1284); x_1290 = lean_array_push(x_1289, x_1286); x_1291 = lean_array_push(x_1290, x_1235); -x_1292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1293 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1293, 0, x_1292); lean_ctor_set(x_1293, 1, x_1291); @@ -12884,13 +11551,13 @@ x_1295 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1295, 0, x_1248); lean_ctor_set(x_1295, 1, x_1294); x_1296 = lean_array_push(x_1246, x_1295); -x_1297 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1297 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1298 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1298, 0, x_1297); lean_ctor_set(x_1298, 1, x_1296); -x_1299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1300 = lean_array_push(x_1299, x_1241); -x_1301 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1301 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1302 = lean_array_push(x_1300, x_1301); x_1303 = lean_array_push(x_1302, x_1249); x_1304 = lean_array_push(x_1303, x_1301); @@ -12921,9 +11588,9 @@ lean_inc(x_1311); x_1314 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1314, 0, x_1311); lean_ctor_set(x_1314, 1, x_1313); -x_1315 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1315 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1316 = lean_array_push(x_1315, x_1222); -x_1317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1318 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1318, 0, x_1317); lean_ctor_set(x_1318, 1, x_1316); @@ -12933,12 +11600,12 @@ x_1321 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1322 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1322, 0, x_1321); lean_ctor_set(x_1322, 1, x_1320); -x_1323 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1323 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1311); x_1324 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1324, 0, x_1311); lean_ctor_set(x_1324, 1, x_1323); -x_1325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1311); x_1326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1326, 0, x_1311); @@ -12960,16 +11627,16 @@ if (lean_is_scalar(x_1328)) { } lean_ctor_set(x_1329, 0, x_1321); lean_ctor_set(x_1329, 1, x_1327); -x_1330 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1330 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1331 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1331, 0, x_1311); lean_ctor_set(x_1331, 1, x_1330); -x_1332 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1332 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1333 = lean_array_push(x_1332, x_1326); x_1334 = lean_array_push(x_1333, x_1329); x_1335 = lean_array_push(x_1334, x_1331); x_1336 = lean_array_push(x_1335, x_1235); -x_1337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1338 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1338, 0, x_1337); lean_ctor_set(x_1338, 1, x_1336); @@ -12978,13 +11645,13 @@ x_1340 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1340, 0, x_1321); lean_ctor_set(x_1340, 1, x_1339); x_1341 = lean_array_push(x_1319, x_1340); -x_1342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1343 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1343, 0, x_1342); lean_ctor_set(x_1343, 1, x_1341); -x_1344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1345 = lean_array_push(x_1344, x_1314); -x_1346 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1347 = lean_array_push(x_1345, x_1346); x_1348 = lean_array_push(x_1347, x_1322); x_1349 = lean_array_push(x_1348, x_1346); @@ -13010,7 +11677,7 @@ lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_13 x_1357 = lean_ctor_get(x_1230, 0); lean_inc(x_1357); lean_dec(x_1230); -x_1358 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1231); +x_1358 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1231); lean_dec(x_5); x_1359 = lean_ctor_get(x_1358, 0); lean_inc(x_1359); @@ -13029,9 +11696,9 @@ lean_inc(x_1359); x_1363 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1363, 0, x_1359); lean_ctor_set(x_1363, 1, x_1362); -x_1364 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1364 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1365 = lean_array_push(x_1364, x_1222); -x_1366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1367 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1367, 0, x_1366); lean_ctor_set(x_1367, 1, x_1365); @@ -13041,12 +11708,12 @@ x_1370 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1371 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1371, 0, x_1370); lean_ctor_set(x_1371, 1, x_1369); -x_1372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1359); x_1373 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1373, 0, x_1359); lean_ctor_set(x_1373, 1, x_1372); -x_1374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1359); x_1375 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1375, 0, x_1359); @@ -13068,16 +11735,16 @@ if (lean_is_scalar(x_1377)) { } lean_ctor_set(x_1378, 0, x_1370); lean_ctor_set(x_1378, 1, x_1376); -x_1379 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1379 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1380 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1380, 0, x_1359); lean_ctor_set(x_1380, 1, x_1379); -x_1381 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1382 = lean_array_push(x_1381, x_1375); x_1383 = lean_array_push(x_1382, x_1378); x_1384 = lean_array_push(x_1383, x_1380); x_1385 = lean_array_push(x_1384, x_1357); -x_1386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1387 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1387, 0, x_1386); lean_ctor_set(x_1387, 1, x_1385); @@ -13086,13 +11753,13 @@ x_1389 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1389, 0, x_1370); lean_ctor_set(x_1389, 1, x_1388); x_1390 = lean_array_push(x_1368, x_1389); -x_1391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1392 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1392, 0, x_1391); lean_ctor_set(x_1392, 1, x_1390); -x_1393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1394 = lean_array_push(x_1393, x_1363); -x_1395 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1395 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1396 = lean_array_push(x_1394, x_1395); x_1397 = lean_array_push(x_1396, x_1371); x_1398 = lean_array_push(x_1397, x_1395); @@ -13134,7 +11801,7 @@ if (lean_is_exclusive(x_1230)) { lean_dec_ref(x_1230); x_1409 = lean_box(0); } -x_1410 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1231); +x_1410 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1231); lean_dec(x_5); x_1411 = lean_ctor_get(x_1410, 0); lean_inc(x_1411); @@ -13153,9 +11820,9 @@ lean_inc(x_1411); x_1415 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1415, 0, x_1411); lean_ctor_set(x_1415, 1, x_1414); -x_1416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1417 = lean_array_push(x_1416, x_1222); -x_1418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1419 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1419, 0, x_1418); lean_ctor_set(x_1419, 1, x_1417); @@ -13165,12 +11832,12 @@ x_1422 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1423 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1423, 0, x_1422); lean_ctor_set(x_1423, 1, x_1421); -x_1424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1411); x_1425 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1425, 0, x_1411); lean_ctor_set(x_1425, 1, x_1424); -x_1426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1411); x_1427 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1427, 0, x_1411); @@ -13192,16 +11859,16 @@ if (lean_is_scalar(x_1429)) { } lean_ctor_set(x_1430, 0, x_1422); lean_ctor_set(x_1430, 1, x_1428); -x_1431 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1431 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1432 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1432, 0, x_1411); lean_ctor_set(x_1432, 1, x_1431); -x_1433 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1434 = lean_array_push(x_1433, x_1427); x_1435 = lean_array_push(x_1434, x_1430); x_1436 = lean_array_push(x_1435, x_1432); x_1437 = lean_array_push(x_1436, x_1408); -x_1438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1439 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1439, 0, x_1438); lean_ctor_set(x_1439, 1, x_1437); @@ -13210,13 +11877,13 @@ x_1441 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1441, 0, x_1422); lean_ctor_set(x_1441, 1, x_1440); x_1442 = lean_array_push(x_1420, x_1441); -x_1443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1444 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1444, 0, x_1443); lean_ctor_set(x_1444, 1, x_1442); -x_1445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1446 = lean_array_push(x_1445, x_1415); -x_1447 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1447 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1448 = lean_array_push(x_1446, x_1447); x_1449 = lean_array_push(x_1448, x_1423); x_1450 = lean_array_push(x_1449, x_1447); @@ -13299,7 +11966,7 @@ lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; uint8_t x_1481; x_1478 = lean_ctor_get(x_1473, 0); x_1479 = lean_ctor_get(x_1473, 1); lean_dec(x_1479); -x_1480 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1474); +x_1480 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1474); lean_dec(x_5); x_1481 = !lean_is_exclusive(x_1480); if (x_1481 == 0) @@ -13311,9 +11978,9 @@ lean_inc(x_1482); x_1484 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1484, 0, x_1482); lean_ctor_set(x_1484, 1, x_1483); -x_1485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1486 = lean_array_push(x_1485, x_1465); -x_1487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1488 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1488, 0, x_1487); lean_ctor_set(x_1488, 1, x_1486); @@ -13323,12 +11990,12 @@ x_1491 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1492 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1492, 0, x_1491); lean_ctor_set(x_1492, 1, x_1490); -x_1493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1482); x_1494 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1494, 0, x_1482); lean_ctor_set(x_1494, 1, x_1493); -x_1495 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1495 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1482); x_1496 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1496, 0, x_1482); @@ -13345,16 +12012,16 @@ x_1500 = lean_ctor_get(x_14, 0); lean_dec(x_1500); lean_ctor_set(x_14, 1, x_1497); lean_ctor_set(x_14, 0, x_1491); -x_1501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1502 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1502, 0, x_1482); lean_ctor_set(x_1502, 1, x_1501); -x_1503 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1504 = lean_array_push(x_1503, x_1496); x_1505 = lean_array_push(x_1504, x_14); x_1506 = lean_array_push(x_1505, x_1502); x_1507 = lean_array_push(x_1506, x_1478); -x_1508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1509 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1509, 0, x_1508); lean_ctor_set(x_1509, 1, x_1507); @@ -13363,13 +12030,13 @@ x_1511 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1511, 0, x_1491); lean_ctor_set(x_1511, 1, x_1510); x_1512 = lean_array_push(x_1489, x_1511); -x_1513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1514 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1514, 0, x_1513); lean_ctor_set(x_1514, 1, x_1512); -x_1515 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1515 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1516 = lean_array_push(x_1515, x_1484); -x_1517 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1517 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1518 = lean_array_push(x_1516, x_1517); x_1519 = lean_array_push(x_1518, x_1492); x_1520 = lean_array_push(x_1519, x_1517); @@ -13393,16 +12060,16 @@ lean_dec(x_14); x_1527 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1527, 0, x_1491); lean_ctor_set(x_1527, 1, x_1497); -x_1528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1529 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1529, 0, x_1482); lean_ctor_set(x_1529, 1, x_1528); -x_1530 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1530 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1531 = lean_array_push(x_1530, x_1496); x_1532 = lean_array_push(x_1531, x_1527); x_1533 = lean_array_push(x_1532, x_1529); x_1534 = lean_array_push(x_1533, x_1478); -x_1535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1536 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1536, 0, x_1535); lean_ctor_set(x_1536, 1, x_1534); @@ -13411,13 +12078,13 @@ x_1538 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1538, 0, x_1491); lean_ctor_set(x_1538, 1, x_1537); x_1539 = lean_array_push(x_1489, x_1538); -x_1540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1541 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1541, 0, x_1540); lean_ctor_set(x_1541, 1, x_1539); -x_1542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1543 = lean_array_push(x_1542, x_1484); -x_1544 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1545 = lean_array_push(x_1543, x_1544); x_1546 = lean_array_push(x_1545, x_1492); x_1547 = lean_array_push(x_1546, x_1544); @@ -13448,9 +12115,9 @@ lean_inc(x_1554); x_1557 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1557, 0, x_1554); lean_ctor_set(x_1557, 1, x_1556); -x_1558 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1558 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1559 = lean_array_push(x_1558, x_1465); -x_1560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1561 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1561, 0, x_1560); lean_ctor_set(x_1561, 1, x_1559); @@ -13460,12 +12127,12 @@ x_1564 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1565 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1565, 0, x_1564); lean_ctor_set(x_1565, 1, x_1563); -x_1566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1554); x_1567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1567, 0, x_1554); lean_ctor_set(x_1567, 1, x_1566); -x_1568 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1568 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1554); x_1569 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1569, 0, x_1554); @@ -13487,16 +12154,16 @@ if (lean_is_scalar(x_1571)) { } lean_ctor_set(x_1572, 0, x_1564); lean_ctor_set(x_1572, 1, x_1570); -x_1573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1574 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1574, 0, x_1554); lean_ctor_set(x_1574, 1, x_1573); -x_1575 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1576 = lean_array_push(x_1575, x_1569); x_1577 = lean_array_push(x_1576, x_1572); x_1578 = lean_array_push(x_1577, x_1574); x_1579 = lean_array_push(x_1578, x_1478); -x_1580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1581 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1581, 0, x_1580); lean_ctor_set(x_1581, 1, x_1579); @@ -13505,13 +12172,13 @@ x_1583 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1583, 0, x_1564); lean_ctor_set(x_1583, 1, x_1582); x_1584 = lean_array_push(x_1562, x_1583); -x_1585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1586 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1586, 0, x_1585); lean_ctor_set(x_1586, 1, x_1584); -x_1587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1588 = lean_array_push(x_1587, x_1557); -x_1589 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1590 = lean_array_push(x_1588, x_1589); x_1591 = lean_array_push(x_1590, x_1565); x_1592 = lean_array_push(x_1591, x_1589); @@ -13537,7 +12204,7 @@ lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_16 x_1600 = lean_ctor_get(x_1473, 0); lean_inc(x_1600); lean_dec(x_1473); -x_1601 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1474); +x_1601 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1474); lean_dec(x_5); x_1602 = lean_ctor_get(x_1601, 0); lean_inc(x_1602); @@ -13556,9 +12223,9 @@ lean_inc(x_1602); x_1606 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1606, 0, x_1602); lean_ctor_set(x_1606, 1, x_1605); -x_1607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1608 = lean_array_push(x_1607, x_1465); -x_1609 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1609 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1610 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1610, 0, x_1609); lean_ctor_set(x_1610, 1, x_1608); @@ -13568,12 +12235,12 @@ x_1613 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1614 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1614, 0, x_1613); lean_ctor_set(x_1614, 1, x_1612); -x_1615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1602); x_1616 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1616, 0, x_1602); lean_ctor_set(x_1616, 1, x_1615); -x_1617 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1617 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1602); x_1618 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1618, 0, x_1602); @@ -13595,16 +12262,16 @@ if (lean_is_scalar(x_1620)) { } lean_ctor_set(x_1621, 0, x_1613); lean_ctor_set(x_1621, 1, x_1619); -x_1622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1623 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1623, 0, x_1602); lean_ctor_set(x_1623, 1, x_1622); -x_1624 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1624 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1625 = lean_array_push(x_1624, x_1618); x_1626 = lean_array_push(x_1625, x_1621); x_1627 = lean_array_push(x_1626, x_1623); x_1628 = lean_array_push(x_1627, x_1600); -x_1629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1630 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1630, 0, x_1629); lean_ctor_set(x_1630, 1, x_1628); @@ -13613,13 +12280,13 @@ x_1632 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1632, 0, x_1613); lean_ctor_set(x_1632, 1, x_1631); x_1633 = lean_array_push(x_1611, x_1632); -x_1634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1635 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1635, 0, x_1634); lean_ctor_set(x_1635, 1, x_1633); -x_1636 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1636 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1637 = lean_array_push(x_1636, x_1606); -x_1638 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1638 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1639 = lean_array_push(x_1637, x_1638); x_1640 = lean_array_push(x_1639, x_1614); x_1641 = lean_array_push(x_1640, x_1638); @@ -13661,7 +12328,7 @@ if (lean_is_exclusive(x_1473)) { lean_dec_ref(x_1473); x_1652 = lean_box(0); } -x_1653 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1474); +x_1653 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1474); lean_dec(x_5); x_1654 = lean_ctor_get(x_1653, 0); lean_inc(x_1654); @@ -13680,9 +12347,9 @@ lean_inc(x_1654); x_1658 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1658, 0, x_1654); lean_ctor_set(x_1658, 1, x_1657); -x_1659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1660 = lean_array_push(x_1659, x_1465); -x_1661 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1661 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1662 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1662, 0, x_1661); lean_ctor_set(x_1662, 1, x_1660); @@ -13692,12 +12359,12 @@ x_1665 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1666 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1666, 0, x_1665); lean_ctor_set(x_1666, 1, x_1664); -x_1667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1654); x_1668 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1668, 0, x_1654); lean_ctor_set(x_1668, 1, x_1667); -x_1669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1654); x_1670 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1670, 0, x_1654); @@ -13719,16 +12386,16 @@ if (lean_is_scalar(x_1672)) { } lean_ctor_set(x_1673, 0, x_1665); lean_ctor_set(x_1673, 1, x_1671); -x_1674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1675 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1675, 0, x_1654); lean_ctor_set(x_1675, 1, x_1674); -x_1676 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1676 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1677 = lean_array_push(x_1676, x_1670); x_1678 = lean_array_push(x_1677, x_1673); x_1679 = lean_array_push(x_1678, x_1675); x_1680 = lean_array_push(x_1679, x_1651); -x_1681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1682 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1682, 0, x_1681); lean_ctor_set(x_1682, 1, x_1680); @@ -13737,13 +12404,13 @@ x_1684 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1684, 0, x_1665); lean_ctor_set(x_1684, 1, x_1683); x_1685 = lean_array_push(x_1663, x_1684); -x_1686 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1686 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1687 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1687, 0, x_1686); lean_ctor_set(x_1687, 1, x_1685); -x_1688 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1688 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1689 = lean_array_push(x_1688, x_1658); -x_1690 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1691 = lean_array_push(x_1689, x_1690); x_1692 = lean_array_push(x_1691, x_1666); x_1693 = lean_array_push(x_1692, x_1690); @@ -13843,7 +12510,7 @@ lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; uint8_t x_1731; x_1728 = lean_ctor_get(x_1723, 0); x_1729 = lean_ctor_get(x_1723, 1); lean_dec(x_1729); -x_1730 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1724); +x_1730 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1724); lean_dec(x_5); x_1731 = !lean_is_exclusive(x_1730); if (x_1731 == 0) @@ -13855,9 +12522,9 @@ lean_inc(x_1732); x_1734 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1734, 0, x_1732); lean_ctor_set(x_1734, 1, x_1733); -x_1735 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1735 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1736 = lean_array_push(x_1735, x_1715); -x_1737 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1737 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1738 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1738, 0, x_1737); lean_ctor_set(x_1738, 1, x_1736); @@ -13867,12 +12534,12 @@ x_1741 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1742 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1742, 0, x_1741); lean_ctor_set(x_1742, 1, x_1740); -x_1743 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1743 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1732); x_1744 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1744, 0, x_1732); lean_ctor_set(x_1744, 1, x_1743); -x_1745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1732); x_1746 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1746, 0, x_1732); @@ -13889,16 +12556,16 @@ x_1750 = lean_ctor_get(x_14, 0); lean_dec(x_1750); lean_ctor_set(x_14, 1, x_1747); lean_ctor_set(x_14, 0, x_1741); -x_1751 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1751 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1752 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1752, 0, x_1732); lean_ctor_set(x_1752, 1, x_1751); -x_1753 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1753 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1754 = lean_array_push(x_1753, x_1746); x_1755 = lean_array_push(x_1754, x_14); x_1756 = lean_array_push(x_1755, x_1752); x_1757 = lean_array_push(x_1756, x_1728); -x_1758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1759 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1759, 0, x_1758); lean_ctor_set(x_1759, 1, x_1757); @@ -13907,13 +12574,13 @@ x_1761 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1761, 0, x_1741); lean_ctor_set(x_1761, 1, x_1760); x_1762 = lean_array_push(x_1739, x_1761); -x_1763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1764 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1764, 0, x_1763); lean_ctor_set(x_1764, 1, x_1762); -x_1765 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1765 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1766 = lean_array_push(x_1765, x_1734); -x_1767 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1767 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1768 = lean_array_push(x_1766, x_1767); x_1769 = lean_array_push(x_1768, x_1742); x_1770 = lean_array_push(x_1769, x_1767); @@ -13937,16 +12604,16 @@ lean_dec(x_14); x_1777 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1777, 0, x_1741); lean_ctor_set(x_1777, 1, x_1747); -x_1778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1779 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1779, 0, x_1732); lean_ctor_set(x_1779, 1, x_1778); -x_1780 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1781 = lean_array_push(x_1780, x_1746); x_1782 = lean_array_push(x_1781, x_1777); x_1783 = lean_array_push(x_1782, x_1779); x_1784 = lean_array_push(x_1783, x_1728); -x_1785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1786 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1786, 0, x_1785); lean_ctor_set(x_1786, 1, x_1784); @@ -13955,13 +12622,13 @@ x_1788 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1788, 0, x_1741); lean_ctor_set(x_1788, 1, x_1787); x_1789 = lean_array_push(x_1739, x_1788); -x_1790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1791 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1791, 0, x_1790); lean_ctor_set(x_1791, 1, x_1789); -x_1792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1793 = lean_array_push(x_1792, x_1734); -x_1794 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1795 = lean_array_push(x_1793, x_1794); x_1796 = lean_array_push(x_1795, x_1742); x_1797 = lean_array_push(x_1796, x_1794); @@ -13992,9 +12659,9 @@ lean_inc(x_1804); x_1807 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1807, 0, x_1804); lean_ctor_set(x_1807, 1, x_1806); -x_1808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1809 = lean_array_push(x_1808, x_1715); -x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1811 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1811, 0, x_1810); lean_ctor_set(x_1811, 1, x_1809); @@ -14004,12 +12671,12 @@ x_1814 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1815 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1815, 0, x_1814); lean_ctor_set(x_1815, 1, x_1813); -x_1816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1804); x_1817 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1817, 0, x_1804); lean_ctor_set(x_1817, 1, x_1816); -x_1818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1804); x_1819 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1819, 0, x_1804); @@ -14031,16 +12698,16 @@ if (lean_is_scalar(x_1821)) { } lean_ctor_set(x_1822, 0, x_1814); lean_ctor_set(x_1822, 1, x_1820); -x_1823 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1823 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1824 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1824, 0, x_1804); lean_ctor_set(x_1824, 1, x_1823); -x_1825 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1825 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1826 = lean_array_push(x_1825, x_1819); x_1827 = lean_array_push(x_1826, x_1822); x_1828 = lean_array_push(x_1827, x_1824); x_1829 = lean_array_push(x_1828, x_1728); -x_1830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1831 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1831, 0, x_1830); lean_ctor_set(x_1831, 1, x_1829); @@ -14049,13 +12716,13 @@ x_1833 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1833, 0, x_1814); lean_ctor_set(x_1833, 1, x_1832); x_1834 = lean_array_push(x_1812, x_1833); -x_1835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1836 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1836, 0, x_1835); lean_ctor_set(x_1836, 1, x_1834); -x_1837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1838 = lean_array_push(x_1837, x_1807); -x_1839 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1839 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1840 = lean_array_push(x_1838, x_1839); x_1841 = lean_array_push(x_1840, x_1815); x_1842 = lean_array_push(x_1841, x_1839); @@ -14081,7 +12748,7 @@ lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_18 x_1850 = lean_ctor_get(x_1723, 0); lean_inc(x_1850); lean_dec(x_1723); -x_1851 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1724); +x_1851 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1724); lean_dec(x_5); x_1852 = lean_ctor_get(x_1851, 0); lean_inc(x_1852); @@ -14100,9 +12767,9 @@ lean_inc(x_1852); x_1856 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1856, 0, x_1852); lean_ctor_set(x_1856, 1, x_1855); -x_1857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1858 = lean_array_push(x_1857, x_1715); -x_1859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1860 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1860, 0, x_1859); lean_ctor_set(x_1860, 1, x_1858); @@ -14112,12 +12779,12 @@ x_1863 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1864 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1864, 0, x_1863); lean_ctor_set(x_1864, 1, x_1862); -x_1865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1852); x_1866 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1866, 0, x_1852); lean_ctor_set(x_1866, 1, x_1865); -x_1867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1852); x_1868 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1868, 0, x_1852); @@ -14139,16 +12806,16 @@ if (lean_is_scalar(x_1870)) { } lean_ctor_set(x_1871, 0, x_1863); lean_ctor_set(x_1871, 1, x_1869); -x_1872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1873 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1873, 0, x_1852); lean_ctor_set(x_1873, 1, x_1872); -x_1874 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1874 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1875 = lean_array_push(x_1874, x_1868); x_1876 = lean_array_push(x_1875, x_1871); x_1877 = lean_array_push(x_1876, x_1873); x_1878 = lean_array_push(x_1877, x_1850); -x_1879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1880 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1880, 0, x_1879); lean_ctor_set(x_1880, 1, x_1878); @@ -14157,13 +12824,13 @@ x_1882 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1882, 0, x_1863); lean_ctor_set(x_1882, 1, x_1881); x_1883 = lean_array_push(x_1861, x_1882); -x_1884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1885 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1885, 0, x_1884); lean_ctor_set(x_1885, 1, x_1883); -x_1886 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1886 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1887 = lean_array_push(x_1886, x_1856); -x_1888 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1888 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1889 = lean_array_push(x_1887, x_1888); x_1890 = lean_array_push(x_1889, x_1864); x_1891 = lean_array_push(x_1890, x_1888); @@ -14205,7 +12872,7 @@ if (lean_is_exclusive(x_1723)) { lean_dec_ref(x_1723); x_1902 = lean_box(0); } -x_1903 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1724); +x_1903 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1724); lean_dec(x_5); x_1904 = lean_ctor_get(x_1903, 0); lean_inc(x_1904); @@ -14224,9 +12891,9 @@ lean_inc(x_1904); x_1908 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1908, 0, x_1904); lean_ctor_set(x_1908, 1, x_1907); -x_1909 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1909 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1910 = lean_array_push(x_1909, x_1715); -x_1911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1912 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1912, 0, x_1911); lean_ctor_set(x_1912, 1, x_1910); @@ -14236,12 +12903,12 @@ x_1915 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1916 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1916, 0, x_1915); lean_ctor_set(x_1916, 1, x_1914); -x_1917 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1917 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1904); x_1918 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1918, 0, x_1904); lean_ctor_set(x_1918, 1, x_1917); -x_1919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1904); x_1920 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1920, 0, x_1904); @@ -14263,16 +12930,16 @@ if (lean_is_scalar(x_1922)) { } lean_ctor_set(x_1923, 0, x_1915); lean_ctor_set(x_1923, 1, x_1921); -x_1924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1925 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1925, 0, x_1904); lean_ctor_set(x_1925, 1, x_1924); -x_1926 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1926 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1927 = lean_array_push(x_1926, x_1920); x_1928 = lean_array_push(x_1927, x_1923); x_1929 = lean_array_push(x_1928, x_1925); x_1930 = lean_array_push(x_1929, x_1901); -x_1931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1932 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1932, 0, x_1931); lean_ctor_set(x_1932, 1, x_1930); @@ -14281,13 +12948,13 @@ x_1934 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1934, 0, x_1915); lean_ctor_set(x_1934, 1, x_1933); x_1935 = lean_array_push(x_1913, x_1934); -x_1936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_1936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1937 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1937, 0, x_1936); lean_ctor_set(x_1937, 1, x_1935); -x_1938 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1938 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_1939 = lean_array_push(x_1938, x_1908); -x_1940 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_1940 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_1941 = lean_array_push(x_1939, x_1940); x_1942 = lean_array_push(x_1941, x_1916); x_1943 = lean_array_push(x_1942, x_1940); @@ -14359,7 +13026,7 @@ lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; uint8_t x_1970; x_1967 = lean_ctor_get(x_1962, 0); x_1968 = lean_ctor_get(x_1962, 1); lean_dec(x_1968); -x_1969 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1963); +x_1969 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1963); lean_dec(x_5); x_1970 = !lean_is_exclusive(x_1969); if (x_1970 == 0) @@ -14371,9 +13038,9 @@ lean_inc(x_1971); x_1973 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1973, 0, x_1971); lean_ctor_set(x_1973, 1, x_1972); -x_1974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_1975 = lean_array_push(x_1974, x_1954); -x_1976 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_1976 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_1977 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1977, 0, x_1976); lean_ctor_set(x_1977, 1, x_1975); @@ -14383,12 +13050,12 @@ x_1980 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_1981 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1981, 0, x_1980); lean_ctor_set(x_1981, 1, x_1979); -x_1982 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1982 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_1971); x_1983 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1983, 0, x_1971); lean_ctor_set(x_1983, 1, x_1982); -x_1984 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1984 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_1971); x_1985 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1985, 0, x_1971); @@ -14405,16 +13072,16 @@ x_1989 = lean_ctor_get(x_14, 0); lean_dec(x_1989); lean_ctor_set(x_14, 1, x_1986); lean_ctor_set(x_14, 0, x_1980); -x_1990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_1991 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1991, 0, x_1971); lean_ctor_set(x_1991, 1, x_1990); -x_1992 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_1992 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_1993 = lean_array_push(x_1992, x_1985); x_1994 = lean_array_push(x_1993, x_14); x_1995 = lean_array_push(x_1994, x_1991); x_1996 = lean_array_push(x_1995, x_1967); -x_1997 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_1997 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1998 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1998, 0, x_1997); lean_ctor_set(x_1998, 1, x_1996); @@ -14423,13 +13090,13 @@ x_2000 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2000, 0, x_1980); lean_ctor_set(x_2000, 1, x_1999); x_2001 = lean_array_push(x_1978, x_2000); -x_2002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2003 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2003, 0, x_2002); lean_ctor_set(x_2003, 1, x_2001); -x_2004 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2004 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2005 = lean_array_push(x_2004, x_1973); -x_2006 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2006 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2007 = lean_array_push(x_2005, x_2006); x_2008 = lean_array_push(x_2007, x_1981); x_2009 = lean_array_push(x_2008, x_2006); @@ -14453,16 +13120,16 @@ lean_dec(x_14); x_2016 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2016, 0, x_1980); lean_ctor_set(x_2016, 1, x_1986); -x_2017 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2017 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2018 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2018, 0, x_1971); lean_ctor_set(x_2018, 1, x_2017); -x_2019 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2019 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2020 = lean_array_push(x_2019, x_1985); x_2021 = lean_array_push(x_2020, x_2016); x_2022 = lean_array_push(x_2021, x_2018); x_2023 = lean_array_push(x_2022, x_1967); -x_2024 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2024 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2025 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2025, 0, x_2024); lean_ctor_set(x_2025, 1, x_2023); @@ -14471,13 +13138,13 @@ x_2027 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2027, 0, x_1980); lean_ctor_set(x_2027, 1, x_2026); x_2028 = lean_array_push(x_1978, x_2027); -x_2029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2030 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2030, 0, x_2029); lean_ctor_set(x_2030, 1, x_2028); -x_2031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2032 = lean_array_push(x_2031, x_1973); -x_2033 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2034 = lean_array_push(x_2032, x_2033); x_2035 = lean_array_push(x_2034, x_1981); x_2036 = lean_array_push(x_2035, x_2033); @@ -14508,9 +13175,9 @@ lean_inc(x_2043); x_2046 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2046, 0, x_2043); lean_ctor_set(x_2046, 1, x_2045); -x_2047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2048 = lean_array_push(x_2047, x_1954); -x_2049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2050 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2050, 0, x_2049); lean_ctor_set(x_2050, 1, x_2048); @@ -14520,12 +13187,12 @@ x_2053 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2054 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2054, 0, x_2053); lean_ctor_set(x_2054, 1, x_2052); -x_2055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2043); x_2056 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2056, 0, x_2043); lean_ctor_set(x_2056, 1, x_2055); -x_2057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2043); x_2058 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2058, 0, x_2043); @@ -14547,16 +13214,16 @@ if (lean_is_scalar(x_2060)) { } lean_ctor_set(x_2061, 0, x_2053); lean_ctor_set(x_2061, 1, x_2059); -x_2062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2063 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2063, 0, x_2043); lean_ctor_set(x_2063, 1, x_2062); -x_2064 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2064 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2065 = lean_array_push(x_2064, x_2058); x_2066 = lean_array_push(x_2065, x_2061); x_2067 = lean_array_push(x_2066, x_2063); x_2068 = lean_array_push(x_2067, x_1967); -x_2069 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2069 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2070 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2070, 0, x_2069); lean_ctor_set(x_2070, 1, x_2068); @@ -14565,13 +13232,13 @@ x_2072 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2072, 0, x_2053); lean_ctor_set(x_2072, 1, x_2071); x_2073 = lean_array_push(x_2051, x_2072); -x_2074 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2074 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2075 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2075, 0, x_2074); lean_ctor_set(x_2075, 1, x_2073); -x_2076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2077 = lean_array_push(x_2076, x_2046); -x_2078 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2078 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2079 = lean_array_push(x_2077, x_2078); x_2080 = lean_array_push(x_2079, x_2054); x_2081 = lean_array_push(x_2080, x_2078); @@ -14597,7 +13264,7 @@ lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_20 x_2089 = lean_ctor_get(x_1962, 0); lean_inc(x_2089); lean_dec(x_1962); -x_2090 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1963); +x_2090 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1963); lean_dec(x_5); x_2091 = lean_ctor_get(x_2090, 0); lean_inc(x_2091); @@ -14616,9 +13283,9 @@ lean_inc(x_2091); x_2095 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2095, 0, x_2091); lean_ctor_set(x_2095, 1, x_2094); -x_2096 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2096 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2097 = lean_array_push(x_2096, x_1954); -x_2098 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2098 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2099 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2099, 0, x_2098); lean_ctor_set(x_2099, 1, x_2097); @@ -14628,12 +13295,12 @@ x_2102 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2103, 0, x_2102); lean_ctor_set(x_2103, 1, x_2101); -x_2104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2091); x_2105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2105, 0, x_2091); lean_ctor_set(x_2105, 1, x_2104); -x_2106 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2106 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2091); x_2107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2107, 0, x_2091); @@ -14655,16 +13322,16 @@ if (lean_is_scalar(x_2109)) { } lean_ctor_set(x_2110, 0, x_2102); lean_ctor_set(x_2110, 1, x_2108); -x_2111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2112 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2112, 0, x_2091); lean_ctor_set(x_2112, 1, x_2111); -x_2113 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2113 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2114 = lean_array_push(x_2113, x_2107); x_2115 = lean_array_push(x_2114, x_2110); x_2116 = lean_array_push(x_2115, x_2112); x_2117 = lean_array_push(x_2116, x_2089); -x_2118 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2118 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2119 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2119, 0, x_2118); lean_ctor_set(x_2119, 1, x_2117); @@ -14673,13 +13340,13 @@ x_2121 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2121, 0, x_2102); lean_ctor_set(x_2121, 1, x_2120); x_2122 = lean_array_push(x_2100, x_2121); -x_2123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2124 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2124, 0, x_2123); lean_ctor_set(x_2124, 1, x_2122); -x_2125 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2125 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2126 = lean_array_push(x_2125, x_2095); -x_2127 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2127 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2128 = lean_array_push(x_2126, x_2127); x_2129 = lean_array_push(x_2128, x_2103); x_2130 = lean_array_push(x_2129, x_2127); @@ -14721,7 +13388,7 @@ if (lean_is_exclusive(x_1962)) { lean_dec_ref(x_1962); x_2141 = lean_box(0); } -x_2142 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_1963); +x_2142 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_1963); lean_dec(x_5); x_2143 = lean_ctor_get(x_2142, 0); lean_inc(x_2143); @@ -14740,9 +13407,9 @@ lean_inc(x_2143); x_2147 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2147, 0, x_2143); lean_ctor_set(x_2147, 1, x_2146); -x_2148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2149 = lean_array_push(x_2148, x_1954); -x_2150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2151 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2151, 0, x_2150); lean_ctor_set(x_2151, 1, x_2149); @@ -14752,12 +13419,12 @@ x_2154 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2155, 0, x_2154); lean_ctor_set(x_2155, 1, x_2153); -x_2156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2143); x_2157 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2157, 0, x_2143); lean_ctor_set(x_2157, 1, x_2156); -x_2158 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2158 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2143); x_2159 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2159, 0, x_2143); @@ -14779,16 +13446,16 @@ if (lean_is_scalar(x_2161)) { } lean_ctor_set(x_2162, 0, x_2154); lean_ctor_set(x_2162, 1, x_2160); -x_2163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2164, 0, x_2143); lean_ctor_set(x_2164, 1, x_2163); -x_2165 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2165 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2166 = lean_array_push(x_2165, x_2159); x_2167 = lean_array_push(x_2166, x_2162); x_2168 = lean_array_push(x_2167, x_2164); x_2169 = lean_array_push(x_2168, x_2140); -x_2170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2171, 0, x_2170); lean_ctor_set(x_2171, 1, x_2169); @@ -14797,13 +13464,13 @@ x_2173 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2173, 0, x_2154); lean_ctor_set(x_2173, 1, x_2172); x_2174 = lean_array_push(x_2152, x_2173); -x_2175 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2175 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2176 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2176, 0, x_2175); lean_ctor_set(x_2176, 1, x_2174); -x_2177 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2177 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2178 = lean_array_push(x_2177, x_2147); -x_2179 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2179 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2180 = lean_array_push(x_2178, x_2179); x_2181 = lean_array_push(x_2180, x_2155); x_2182 = lean_array_push(x_2181, x_2179); @@ -14958,7 +13625,7 @@ lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; uint8_t x_2234; x_2231 = lean_ctor_get(x_2226, 0); x_2232 = lean_ctor_get(x_2226, 1); lean_dec(x_2232); -x_2233 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2227); +x_2233 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2227); lean_dec(x_5); x_2234 = !lean_is_exclusive(x_2233); if (x_2234 == 0) @@ -14970,9 +13637,9 @@ lean_inc(x_2235); x_2237 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2237, 0, x_2235); lean_ctor_set(x_2237, 1, x_2236); -x_2238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2239 = lean_array_push(x_2238, x_2217); -x_2240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2241 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2241, 0, x_2240); lean_ctor_set(x_2241, 1, x_2239); @@ -14982,12 +13649,12 @@ x_2244 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2245 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2245, 0, x_2244); lean_ctor_set(x_2245, 1, x_2243); -x_2246 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2246 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2235); x_2247 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2247, 0, x_2235); lean_ctor_set(x_2247, 1, x_2246); -x_2248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2235); x_2249 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2249, 0, x_2235); @@ -15004,16 +13671,16 @@ x_2253 = lean_ctor_get(x_14, 0); lean_dec(x_2253); lean_ctor_set(x_14, 1, x_2250); lean_ctor_set(x_14, 0, x_2244); -x_2254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2255 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2255, 0, x_2235); lean_ctor_set(x_2255, 1, x_2254); -x_2256 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2257 = lean_array_push(x_2256, x_2249); x_2258 = lean_array_push(x_2257, x_14); x_2259 = lean_array_push(x_2258, x_2255); x_2260 = lean_array_push(x_2259, x_2231); -x_2261 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2261 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2262 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2262, 0, x_2261); lean_ctor_set(x_2262, 1, x_2260); @@ -15022,13 +13689,13 @@ x_2264 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2264, 0, x_2244); lean_ctor_set(x_2264, 1, x_2263); x_2265 = lean_array_push(x_2242, x_2264); -x_2266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2267 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2267, 0, x_2266); lean_ctor_set(x_2267, 1, x_2265); -x_2268 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2268 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2269 = lean_array_push(x_2268, x_2237); -x_2270 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2271 = lean_array_push(x_2269, x_2270); x_2272 = lean_array_push(x_2271, x_2245); x_2273 = lean_array_push(x_2272, x_2270); @@ -15052,16 +13719,16 @@ lean_dec(x_14); x_2280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2280, 0, x_2244); lean_ctor_set(x_2280, 1, x_2250); -x_2281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2282 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2282, 0, x_2235); lean_ctor_set(x_2282, 1, x_2281); -x_2283 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2284 = lean_array_push(x_2283, x_2249); x_2285 = lean_array_push(x_2284, x_2280); x_2286 = lean_array_push(x_2285, x_2282); x_2287 = lean_array_push(x_2286, x_2231); -x_2288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2289 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2289, 0, x_2288); lean_ctor_set(x_2289, 1, x_2287); @@ -15070,13 +13737,13 @@ x_2291 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2291, 0, x_2244); lean_ctor_set(x_2291, 1, x_2290); x_2292 = lean_array_push(x_2242, x_2291); -x_2293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2294 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2294, 0, x_2293); lean_ctor_set(x_2294, 1, x_2292); -x_2295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2296 = lean_array_push(x_2295, x_2237); -x_2297 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2297 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2298 = lean_array_push(x_2296, x_2297); x_2299 = lean_array_push(x_2298, x_2245); x_2300 = lean_array_push(x_2299, x_2297); @@ -15107,9 +13774,9 @@ lean_inc(x_2307); x_2310 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2310, 0, x_2307); lean_ctor_set(x_2310, 1, x_2309); -x_2311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2312 = lean_array_push(x_2311, x_2217); -x_2313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2314 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2314, 0, x_2313); lean_ctor_set(x_2314, 1, x_2312); @@ -15119,12 +13786,12 @@ x_2317 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2318 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2318, 0, x_2317); lean_ctor_set(x_2318, 1, x_2316); -x_2319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2307); x_2320 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2320, 0, x_2307); lean_ctor_set(x_2320, 1, x_2319); -x_2321 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2321 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2307); x_2322 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2322, 0, x_2307); @@ -15146,16 +13813,16 @@ if (lean_is_scalar(x_2324)) { } lean_ctor_set(x_2325, 0, x_2317); lean_ctor_set(x_2325, 1, x_2323); -x_2326 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2326 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2327 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2327, 0, x_2307); lean_ctor_set(x_2327, 1, x_2326); -x_2328 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2329 = lean_array_push(x_2328, x_2322); x_2330 = lean_array_push(x_2329, x_2325); x_2331 = lean_array_push(x_2330, x_2327); x_2332 = lean_array_push(x_2331, x_2231); -x_2333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2334 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2334, 0, x_2333); lean_ctor_set(x_2334, 1, x_2332); @@ -15164,13 +13831,13 @@ x_2336 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2336, 0, x_2317); lean_ctor_set(x_2336, 1, x_2335); x_2337 = lean_array_push(x_2315, x_2336); -x_2338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2339 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2339, 0, x_2338); lean_ctor_set(x_2339, 1, x_2337); -x_2340 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2340 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2341 = lean_array_push(x_2340, x_2310); -x_2342 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2343 = lean_array_push(x_2341, x_2342); x_2344 = lean_array_push(x_2343, x_2318); x_2345 = lean_array_push(x_2344, x_2342); @@ -15196,7 +13863,7 @@ lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_23 x_2353 = lean_ctor_get(x_2226, 0); lean_inc(x_2353); lean_dec(x_2226); -x_2354 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2227); +x_2354 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2227); lean_dec(x_5); x_2355 = lean_ctor_get(x_2354, 0); lean_inc(x_2355); @@ -15215,9 +13882,9 @@ lean_inc(x_2355); x_2359 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2359, 0, x_2355); lean_ctor_set(x_2359, 1, x_2358); -x_2360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2361 = lean_array_push(x_2360, x_2217); -x_2362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2363 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2363, 0, x_2362); lean_ctor_set(x_2363, 1, x_2361); @@ -15227,12 +13894,12 @@ x_2366 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2367 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2367, 0, x_2366); lean_ctor_set(x_2367, 1, x_2365); -x_2368 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2368 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2355); x_2369 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2369, 0, x_2355); lean_ctor_set(x_2369, 1, x_2368); -x_2370 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2370 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2355); x_2371 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2371, 0, x_2355); @@ -15254,16 +13921,16 @@ if (lean_is_scalar(x_2373)) { } lean_ctor_set(x_2374, 0, x_2366); lean_ctor_set(x_2374, 1, x_2372); -x_2375 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2375 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2376 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2376, 0, x_2355); lean_ctor_set(x_2376, 1, x_2375); -x_2377 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2377 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2378 = lean_array_push(x_2377, x_2371); x_2379 = lean_array_push(x_2378, x_2374); x_2380 = lean_array_push(x_2379, x_2376); x_2381 = lean_array_push(x_2380, x_2353); -x_2382 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2382 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2383 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2383, 0, x_2382); lean_ctor_set(x_2383, 1, x_2381); @@ -15272,13 +13939,13 @@ x_2385 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2385, 0, x_2366); lean_ctor_set(x_2385, 1, x_2384); x_2386 = lean_array_push(x_2364, x_2385); -x_2387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2388 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2388, 0, x_2387); lean_ctor_set(x_2388, 1, x_2386); -x_2389 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2389 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2390 = lean_array_push(x_2389, x_2359); -x_2391 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2392 = lean_array_push(x_2390, x_2391); x_2393 = lean_array_push(x_2392, x_2367); x_2394 = lean_array_push(x_2393, x_2391); @@ -15320,7 +13987,7 @@ if (lean_is_exclusive(x_2226)) { lean_dec_ref(x_2226); x_2405 = lean_box(0); } -x_2406 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2227); +x_2406 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2227); lean_dec(x_5); x_2407 = lean_ctor_get(x_2406, 0); lean_inc(x_2407); @@ -15339,9 +14006,9 @@ lean_inc(x_2407); x_2411 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2411, 0, x_2407); lean_ctor_set(x_2411, 1, x_2410); -x_2412 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2412 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2413 = lean_array_push(x_2412, x_2217); -x_2414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2415 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2415, 0, x_2414); lean_ctor_set(x_2415, 1, x_2413); @@ -15351,12 +14018,12 @@ x_2418 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2419 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2419, 0, x_2418); lean_ctor_set(x_2419, 1, x_2417); -x_2420 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2420 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2407); x_2421 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2421, 0, x_2407); lean_ctor_set(x_2421, 1, x_2420); -x_2422 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2422 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2407); x_2423 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2423, 0, x_2407); @@ -15378,16 +14045,16 @@ if (lean_is_scalar(x_2425)) { } lean_ctor_set(x_2426, 0, x_2418); lean_ctor_set(x_2426, 1, x_2424); -x_2427 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2427 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2428 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2428, 0, x_2407); lean_ctor_set(x_2428, 1, x_2427); -x_2429 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2429 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2430 = lean_array_push(x_2429, x_2423); x_2431 = lean_array_push(x_2430, x_2426); x_2432 = lean_array_push(x_2431, x_2428); x_2433 = lean_array_push(x_2432, x_2404); -x_2434 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2434 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2435 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2435, 0, x_2434); lean_ctor_set(x_2435, 1, x_2433); @@ -15396,13 +14063,13 @@ x_2437 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2437, 0, x_2418); lean_ctor_set(x_2437, 1, x_2436); x_2438 = lean_array_push(x_2416, x_2437); -x_2439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2440 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2440, 0, x_2439); lean_ctor_set(x_2440, 1, x_2438); -x_2441 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2441 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2442 = lean_array_push(x_2441, x_2411); -x_2443 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2444 = lean_array_push(x_2442, x_2443); x_2445 = lean_array_push(x_2444, x_2419); x_2446 = lean_array_push(x_2445, x_2443); @@ -15478,7 +14145,7 @@ lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; uint8_t x_2474; x_2471 = lean_ctor_get(x_2466, 0); x_2472 = lean_ctor_get(x_2466, 1); lean_dec(x_2472); -x_2473 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2467); +x_2473 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2467); lean_dec(x_5); x_2474 = !lean_is_exclusive(x_2473); if (x_2474 == 0) @@ -15490,9 +14157,9 @@ lean_inc(x_2475); x_2477 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2477, 0, x_2475); lean_ctor_set(x_2477, 1, x_2476); -x_2478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2479 = lean_array_push(x_2478, x_2457); -x_2480 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2480 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2481 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2481, 0, x_2480); lean_ctor_set(x_2481, 1, x_2479); @@ -15502,12 +14169,12 @@ x_2484 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2485 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2485, 0, x_2484); lean_ctor_set(x_2485, 1, x_2483); -x_2486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2475); x_2487 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2487, 0, x_2475); lean_ctor_set(x_2487, 1, x_2486); -x_2488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2475); x_2489 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2489, 0, x_2475); @@ -15524,16 +14191,16 @@ x_2493 = lean_ctor_get(x_14, 0); lean_dec(x_2493); lean_ctor_set(x_14, 1, x_2490); lean_ctor_set(x_14, 0, x_2484); -x_2494 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2494 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2495 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2495, 0, x_2475); lean_ctor_set(x_2495, 1, x_2494); -x_2496 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2496 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2497 = lean_array_push(x_2496, x_2489); x_2498 = lean_array_push(x_2497, x_14); x_2499 = lean_array_push(x_2498, x_2495); x_2500 = lean_array_push(x_2499, x_2471); -x_2501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2502 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2502, 0, x_2501); lean_ctor_set(x_2502, 1, x_2500); @@ -15542,13 +14209,13 @@ x_2504 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2504, 0, x_2484); lean_ctor_set(x_2504, 1, x_2503); x_2505 = lean_array_push(x_2482, x_2504); -x_2506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2507 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2507, 0, x_2506); lean_ctor_set(x_2507, 1, x_2505); -x_2508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2509 = lean_array_push(x_2508, x_2477); -x_2510 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2510 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2511 = lean_array_push(x_2509, x_2510); x_2512 = lean_array_push(x_2511, x_2485); x_2513 = lean_array_push(x_2512, x_2510); @@ -15572,16 +14239,16 @@ lean_dec(x_14); x_2520 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2520, 0, x_2484); lean_ctor_set(x_2520, 1, x_2490); -x_2521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2522 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2522, 0, x_2475); lean_ctor_set(x_2522, 1, x_2521); -x_2523 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2524 = lean_array_push(x_2523, x_2489); x_2525 = lean_array_push(x_2524, x_2520); x_2526 = lean_array_push(x_2525, x_2522); x_2527 = lean_array_push(x_2526, x_2471); -x_2528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2529 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2529, 0, x_2528); lean_ctor_set(x_2529, 1, x_2527); @@ -15590,13 +14257,13 @@ x_2531 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2531, 0, x_2484); lean_ctor_set(x_2531, 1, x_2530); x_2532 = lean_array_push(x_2482, x_2531); -x_2533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2534 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2534, 0, x_2533); lean_ctor_set(x_2534, 1, x_2532); -x_2535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2536 = lean_array_push(x_2535, x_2477); -x_2537 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2538 = lean_array_push(x_2536, x_2537); x_2539 = lean_array_push(x_2538, x_2485); x_2540 = lean_array_push(x_2539, x_2537); @@ -15627,9 +14294,9 @@ lean_inc(x_2547); x_2550 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2550, 0, x_2547); lean_ctor_set(x_2550, 1, x_2549); -x_2551 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2551 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2552 = lean_array_push(x_2551, x_2457); -x_2553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2554 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2554, 0, x_2553); lean_ctor_set(x_2554, 1, x_2552); @@ -15639,12 +14306,12 @@ x_2557 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2558 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2558, 0, x_2557); lean_ctor_set(x_2558, 1, x_2556); -x_2559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2547); x_2560 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2560, 0, x_2547); lean_ctor_set(x_2560, 1, x_2559); -x_2561 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2561 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2547); x_2562 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2562, 0, x_2547); @@ -15666,16 +14333,16 @@ if (lean_is_scalar(x_2564)) { } lean_ctor_set(x_2565, 0, x_2557); lean_ctor_set(x_2565, 1, x_2563); -x_2566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2567, 0, x_2547); lean_ctor_set(x_2567, 1, x_2566); -x_2568 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2568 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2569 = lean_array_push(x_2568, x_2562); x_2570 = lean_array_push(x_2569, x_2565); x_2571 = lean_array_push(x_2570, x_2567); x_2572 = lean_array_push(x_2571, x_2471); -x_2573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2574 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2574, 0, x_2573); lean_ctor_set(x_2574, 1, x_2572); @@ -15684,13 +14351,13 @@ x_2576 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2576, 0, x_2557); lean_ctor_set(x_2576, 1, x_2575); x_2577 = lean_array_push(x_2555, x_2576); -x_2578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2579 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2579, 0, x_2578); lean_ctor_set(x_2579, 1, x_2577); -x_2580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2581 = lean_array_push(x_2580, x_2550); -x_2582 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2583 = lean_array_push(x_2581, x_2582); x_2584 = lean_array_push(x_2583, x_2558); x_2585 = lean_array_push(x_2584, x_2582); @@ -15716,7 +14383,7 @@ lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_25 x_2593 = lean_ctor_get(x_2466, 0); lean_inc(x_2593); lean_dec(x_2466); -x_2594 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2467); +x_2594 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2467); lean_dec(x_5); x_2595 = lean_ctor_get(x_2594, 0); lean_inc(x_2595); @@ -15735,9 +14402,9 @@ lean_inc(x_2595); x_2599 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2599, 0, x_2595); lean_ctor_set(x_2599, 1, x_2598); -x_2600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2601 = lean_array_push(x_2600, x_2457); -x_2602 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2602 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2603 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2603, 0, x_2602); lean_ctor_set(x_2603, 1, x_2601); @@ -15747,12 +14414,12 @@ x_2606 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2607 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2607, 0, x_2606); lean_ctor_set(x_2607, 1, x_2605); -x_2608 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2608 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2595); x_2609 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2609, 0, x_2595); lean_ctor_set(x_2609, 1, x_2608); -x_2610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2595); x_2611 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2611, 0, x_2595); @@ -15774,16 +14441,16 @@ if (lean_is_scalar(x_2613)) { } lean_ctor_set(x_2614, 0, x_2606); lean_ctor_set(x_2614, 1, x_2612); -x_2615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2616 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2616, 0, x_2595); lean_ctor_set(x_2616, 1, x_2615); -x_2617 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2617 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2618 = lean_array_push(x_2617, x_2611); x_2619 = lean_array_push(x_2618, x_2614); x_2620 = lean_array_push(x_2619, x_2616); x_2621 = lean_array_push(x_2620, x_2593); -x_2622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2623 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2623, 0, x_2622); lean_ctor_set(x_2623, 1, x_2621); @@ -15792,13 +14459,13 @@ x_2625 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2625, 0, x_2606); lean_ctor_set(x_2625, 1, x_2624); x_2626 = lean_array_push(x_2604, x_2625); -x_2627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2628 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2628, 0, x_2627); lean_ctor_set(x_2628, 1, x_2626); -x_2629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2630 = lean_array_push(x_2629, x_2599); -x_2631 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2631 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2632 = lean_array_push(x_2630, x_2631); x_2633 = lean_array_push(x_2632, x_2607); x_2634 = lean_array_push(x_2633, x_2631); @@ -15840,7 +14507,7 @@ if (lean_is_exclusive(x_2466)) { lean_dec_ref(x_2466); x_2645 = lean_box(0); } -x_2646 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2467); +x_2646 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2467); lean_dec(x_5); x_2647 = lean_ctor_get(x_2646, 0); lean_inc(x_2647); @@ -15859,9 +14526,9 @@ lean_inc(x_2647); x_2651 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2651, 0, x_2647); lean_ctor_set(x_2651, 1, x_2650); -x_2652 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2652 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2653 = lean_array_push(x_2652, x_2457); -x_2654 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2654 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2655 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2655, 0, x_2654); lean_ctor_set(x_2655, 1, x_2653); @@ -15871,12 +14538,12 @@ x_2658 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2659 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2659, 0, x_2658); lean_ctor_set(x_2659, 1, x_2657); -x_2660 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2660 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2647); x_2661 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2661, 0, x_2647); lean_ctor_set(x_2661, 1, x_2660); -x_2662 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2662 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2647); x_2663 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2663, 0, x_2647); @@ -15898,16 +14565,16 @@ if (lean_is_scalar(x_2665)) { } lean_ctor_set(x_2666, 0, x_2658); lean_ctor_set(x_2666, 1, x_2664); -x_2667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2668 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2668, 0, x_2647); lean_ctor_set(x_2668, 1, x_2667); -x_2669 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2670 = lean_array_push(x_2669, x_2663); x_2671 = lean_array_push(x_2670, x_2666); x_2672 = lean_array_push(x_2671, x_2668); x_2673 = lean_array_push(x_2672, x_2644); -x_2674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2675 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2675, 0, x_2674); lean_ctor_set(x_2675, 1, x_2673); @@ -15916,13 +14583,13 @@ x_2677 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2677, 0, x_2658); lean_ctor_set(x_2677, 1, x_2676); x_2678 = lean_array_push(x_2656, x_2677); -x_2679 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2679 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2680 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2680, 0, x_2679); lean_ctor_set(x_2680, 1, x_2678); -x_2681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2682 = lean_array_push(x_2681, x_2651); -x_2683 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2683 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2684 = lean_array_push(x_2682, x_2683); x_2685 = lean_array_push(x_2684, x_2659); x_2686 = lean_array_push(x_2685, x_2683); @@ -15997,7 +14664,7 @@ lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; uint8_t x_2714; x_2711 = lean_ctor_get(x_2706, 0); x_2712 = lean_ctor_get(x_2706, 1); lean_dec(x_2712); -x_2713 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2707); +x_2713 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2707); lean_dec(x_5); x_2714 = !lean_is_exclusive(x_2713); if (x_2714 == 0) @@ -16009,9 +14676,9 @@ lean_inc(x_2715); x_2717 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2717, 0, x_2715); lean_ctor_set(x_2717, 1, x_2716); -x_2718 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2718 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2719 = lean_array_push(x_2718, x_2697); -x_2720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2721 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2721, 0, x_2720); lean_ctor_set(x_2721, 1, x_2719); @@ -16021,12 +14688,12 @@ x_2724 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2725 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2725, 0, x_2724); lean_ctor_set(x_2725, 1, x_2723); -x_2726 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2726 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2715); x_2727 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2727, 0, x_2715); lean_ctor_set(x_2727, 1, x_2726); -x_2728 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2728 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2715); x_2729 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2729, 0, x_2715); @@ -16043,16 +14710,16 @@ x_2733 = lean_ctor_get(x_14, 0); lean_dec(x_2733); lean_ctor_set(x_14, 1, x_2730); lean_ctor_set(x_14, 0, x_2724); -x_2734 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2734 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2735 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2735, 0, x_2715); lean_ctor_set(x_2735, 1, x_2734); -x_2736 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2736 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2737 = lean_array_push(x_2736, x_2729); x_2738 = lean_array_push(x_2737, x_14); x_2739 = lean_array_push(x_2738, x_2735); x_2740 = lean_array_push(x_2739, x_2711); -x_2741 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2741 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2742 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2742, 0, x_2741); lean_ctor_set(x_2742, 1, x_2740); @@ -16061,13 +14728,13 @@ x_2744 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2744, 0, x_2724); lean_ctor_set(x_2744, 1, x_2743); x_2745 = lean_array_push(x_2722, x_2744); -x_2746 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2746 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2747 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2747, 0, x_2746); lean_ctor_set(x_2747, 1, x_2745); -x_2748 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2748 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2749 = lean_array_push(x_2748, x_2717); -x_2750 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2751 = lean_array_push(x_2749, x_2750); x_2752 = lean_array_push(x_2751, x_2725); x_2753 = lean_array_push(x_2752, x_2750); @@ -16091,16 +14758,16 @@ lean_dec(x_14); x_2760 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2760, 0, x_2724); lean_ctor_set(x_2760, 1, x_2730); -x_2761 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2761 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2762 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2762, 0, x_2715); lean_ctor_set(x_2762, 1, x_2761); -x_2763 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2764 = lean_array_push(x_2763, x_2729); x_2765 = lean_array_push(x_2764, x_2760); x_2766 = lean_array_push(x_2765, x_2762); x_2767 = lean_array_push(x_2766, x_2711); -x_2768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2769 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2769, 0, x_2768); lean_ctor_set(x_2769, 1, x_2767); @@ -16109,13 +14776,13 @@ x_2771 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2771, 0, x_2724); lean_ctor_set(x_2771, 1, x_2770); x_2772 = lean_array_push(x_2722, x_2771); -x_2773 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2773 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2774 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2774, 0, x_2773); lean_ctor_set(x_2774, 1, x_2772); -x_2775 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2775 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2776 = lean_array_push(x_2775, x_2717); -x_2777 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2777 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2778 = lean_array_push(x_2776, x_2777); x_2779 = lean_array_push(x_2778, x_2725); x_2780 = lean_array_push(x_2779, x_2777); @@ -16146,9 +14813,9 @@ lean_inc(x_2787); x_2790 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2790, 0, x_2787); lean_ctor_set(x_2790, 1, x_2789); -x_2791 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2791 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2792 = lean_array_push(x_2791, x_2697); -x_2793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2794 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2794, 0, x_2793); lean_ctor_set(x_2794, 1, x_2792); @@ -16158,12 +14825,12 @@ x_2797 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2798 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2798, 0, x_2797); lean_ctor_set(x_2798, 1, x_2796); -x_2799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2787); x_2800 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2800, 0, x_2787); lean_ctor_set(x_2800, 1, x_2799); -x_2801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2787); x_2802 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2802, 0, x_2787); @@ -16185,16 +14852,16 @@ if (lean_is_scalar(x_2804)) { } lean_ctor_set(x_2805, 0, x_2797); lean_ctor_set(x_2805, 1, x_2803); -x_2806 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2806 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2807 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2807, 0, x_2787); lean_ctor_set(x_2807, 1, x_2806); -x_2808 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2809 = lean_array_push(x_2808, x_2802); x_2810 = lean_array_push(x_2809, x_2805); x_2811 = lean_array_push(x_2810, x_2807); x_2812 = lean_array_push(x_2811, x_2711); -x_2813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2814 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2814, 0, x_2813); lean_ctor_set(x_2814, 1, x_2812); @@ -16203,13 +14870,13 @@ x_2816 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2816, 0, x_2797); lean_ctor_set(x_2816, 1, x_2815); x_2817 = lean_array_push(x_2795, x_2816); -x_2818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2819 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2819, 0, x_2818); lean_ctor_set(x_2819, 1, x_2817); -x_2820 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2820 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2821 = lean_array_push(x_2820, x_2790); -x_2822 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2822 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2823 = lean_array_push(x_2821, x_2822); x_2824 = lean_array_push(x_2823, x_2798); x_2825 = lean_array_push(x_2824, x_2822); @@ -16235,7 +14902,7 @@ lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_28 x_2833 = lean_ctor_get(x_2706, 0); lean_inc(x_2833); lean_dec(x_2706); -x_2834 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2707); +x_2834 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2707); lean_dec(x_5); x_2835 = lean_ctor_get(x_2834, 0); lean_inc(x_2835); @@ -16254,9 +14921,9 @@ lean_inc(x_2835); x_2839 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2839, 0, x_2835); lean_ctor_set(x_2839, 1, x_2838); -x_2840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2841 = lean_array_push(x_2840, x_2697); -x_2842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2843 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2843, 0, x_2842); lean_ctor_set(x_2843, 1, x_2841); @@ -16266,12 +14933,12 @@ x_2846 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2847 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2847, 0, x_2846); lean_ctor_set(x_2847, 1, x_2845); -x_2848 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2848 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2835); x_2849 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2849, 0, x_2835); lean_ctor_set(x_2849, 1, x_2848); -x_2850 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2850 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2835); x_2851 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2851, 0, x_2835); @@ -16293,16 +14960,16 @@ if (lean_is_scalar(x_2853)) { } lean_ctor_set(x_2854, 0, x_2846); lean_ctor_set(x_2854, 1, x_2852); -x_2855 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2855 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2856 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2856, 0, x_2835); lean_ctor_set(x_2856, 1, x_2855); -x_2857 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2858 = lean_array_push(x_2857, x_2851); x_2859 = lean_array_push(x_2858, x_2854); x_2860 = lean_array_push(x_2859, x_2856); x_2861 = lean_array_push(x_2860, x_2833); -x_2862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2863 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2863, 0, x_2862); lean_ctor_set(x_2863, 1, x_2861); @@ -16311,13 +14978,13 @@ x_2865 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2865, 0, x_2846); lean_ctor_set(x_2865, 1, x_2864); x_2866 = lean_array_push(x_2844, x_2865); -x_2867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2868 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2868, 0, x_2867); lean_ctor_set(x_2868, 1, x_2866); -x_2869 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2869 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2870 = lean_array_push(x_2869, x_2839); -x_2871 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2871 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2872 = lean_array_push(x_2870, x_2871); x_2873 = lean_array_push(x_2872, x_2847); x_2874 = lean_array_push(x_2873, x_2871); @@ -16359,7 +15026,7 @@ if (lean_is_exclusive(x_2706)) { lean_dec_ref(x_2706); x_2885 = lean_box(0); } -x_2886 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2707); +x_2886 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2707); lean_dec(x_5); x_2887 = lean_ctor_get(x_2886, 0); lean_inc(x_2887); @@ -16378,9 +15045,9 @@ lean_inc(x_2887); x_2891 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2891, 0, x_2887); lean_ctor_set(x_2891, 1, x_2890); -x_2892 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2892 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2893 = lean_array_push(x_2892, x_2697); -x_2894 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2894 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2895 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2895, 0, x_2894); lean_ctor_set(x_2895, 1, x_2893); @@ -16390,12 +15057,12 @@ x_2898 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2899 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2899, 0, x_2898); lean_ctor_set(x_2899, 1, x_2897); -x_2900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2887); x_2901 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2901, 0, x_2887); lean_ctor_set(x_2901, 1, x_2900); -x_2902 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2902 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2887); x_2903 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2903, 0, x_2887); @@ -16417,16 +15084,16 @@ if (lean_is_scalar(x_2905)) { } lean_ctor_set(x_2906, 0, x_2898); lean_ctor_set(x_2906, 1, x_2904); -x_2907 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2907 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2908 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2908, 0, x_2887); lean_ctor_set(x_2908, 1, x_2907); -x_2909 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2909 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2910 = lean_array_push(x_2909, x_2903); x_2911 = lean_array_push(x_2910, x_2906); x_2912 = lean_array_push(x_2911, x_2908); x_2913 = lean_array_push(x_2912, x_2884); -x_2914 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2914 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2915 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2915, 0, x_2914); lean_ctor_set(x_2915, 1, x_2913); @@ -16435,13 +15102,13 @@ x_2917 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2917, 0, x_2898); lean_ctor_set(x_2917, 1, x_2916); x_2918 = lean_array_push(x_2896, x_2917); -x_2919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2920 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2920, 0, x_2919); lean_ctor_set(x_2920, 1, x_2918); -x_2921 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2921 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2922 = lean_array_push(x_2921, x_2891); -x_2923 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2923 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2924 = lean_array_push(x_2922, x_2923); x_2925 = lean_array_push(x_2924, x_2899); x_2926 = lean_array_push(x_2925, x_2923); @@ -16515,7 +15182,7 @@ lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; uint8_t x_2954; x_2951 = lean_ctor_get(x_2946, 0); x_2952 = lean_ctor_get(x_2946, 1); lean_dec(x_2952); -x_2953 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2947); +x_2953 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2947); lean_dec(x_5); x_2954 = !lean_is_exclusive(x_2953); if (x_2954 == 0) @@ -16527,9 +15194,9 @@ lean_inc(x_2955); x_2957 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2957, 0, x_2955); lean_ctor_set(x_2957, 1, x_2956); -x_2958 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2958 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_2959 = lean_array_push(x_2958, x_2937); -x_2960 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_2960 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2961 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2961, 0, x_2960); lean_ctor_set(x_2961, 1, x_2959); @@ -16539,12 +15206,12 @@ x_2964 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_2965 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2965, 0, x_2964); lean_ctor_set(x_2965, 1, x_2963); -x_2966 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2966 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_2955); x_2967 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2967, 0, x_2955); lean_ctor_set(x_2967, 1, x_2966); -x_2968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_2955); x_2969 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2969, 0, x_2955); @@ -16561,16 +15228,16 @@ x_2973 = lean_ctor_get(x_14, 0); lean_dec(x_2973); lean_ctor_set(x_14, 1, x_2970); lean_ctor_set(x_14, 0, x_2964); -x_2974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_2975 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2975, 0, x_2955); lean_ctor_set(x_2975, 1, x_2974); -x_2976 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_2976 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_2977 = lean_array_push(x_2976, x_2969); x_2978 = lean_array_push(x_2977, x_14); x_2979 = lean_array_push(x_2978, x_2975); x_2980 = lean_array_push(x_2979, x_2951); -x_2981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_2981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2982 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2982, 0, x_2981); lean_ctor_set(x_2982, 1, x_2980); @@ -16579,13 +15246,13 @@ x_2984 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2984, 0, x_2964); lean_ctor_set(x_2984, 1, x_2983); x_2985 = lean_array_push(x_2962, x_2984); -x_2986 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_2986 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2987 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2987, 0, x_2986); lean_ctor_set(x_2987, 1, x_2985); -x_2988 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2988 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_2989 = lean_array_push(x_2988, x_2957); -x_2990 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_2990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_2991 = lean_array_push(x_2989, x_2990); x_2992 = lean_array_push(x_2991, x_2965); x_2993 = lean_array_push(x_2992, x_2990); @@ -16609,16 +15276,16 @@ lean_dec(x_14); x_3000 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3000, 0, x_2964); lean_ctor_set(x_3000, 1, x_2970); -x_3001 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3001 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3002 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3002, 0, x_2955); lean_ctor_set(x_3002, 1, x_3001); -x_3003 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3003 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3004 = lean_array_push(x_3003, x_2969); x_3005 = lean_array_push(x_3004, x_3000); x_3006 = lean_array_push(x_3005, x_3002); x_3007 = lean_array_push(x_3006, x_2951); -x_3008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3009 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3009, 0, x_3008); lean_ctor_set(x_3009, 1, x_3007); @@ -16627,13 +15294,13 @@ x_3011 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3011, 0, x_2964); lean_ctor_set(x_3011, 1, x_3010); x_3012 = lean_array_push(x_2962, x_3011); -x_3013 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3013 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3014 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3014, 0, x_3013); lean_ctor_set(x_3014, 1, x_3012); -x_3015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3016 = lean_array_push(x_3015, x_2957); -x_3017 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3017 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3018 = lean_array_push(x_3016, x_3017); x_3019 = lean_array_push(x_3018, x_2965); x_3020 = lean_array_push(x_3019, x_3017); @@ -16664,9 +15331,9 @@ lean_inc(x_3027); x_3030 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3030, 0, x_3027); lean_ctor_set(x_3030, 1, x_3029); -x_3031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3032 = lean_array_push(x_3031, x_2937); -x_3033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3034 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3034, 0, x_3033); lean_ctor_set(x_3034, 1, x_3032); @@ -16676,12 +15343,12 @@ x_3037 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3038 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3038, 0, x_3037); lean_ctor_set(x_3038, 1, x_3036); -x_3039 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3039 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3027); x_3040 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3040, 0, x_3027); lean_ctor_set(x_3040, 1, x_3039); -x_3041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3027); x_3042 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3042, 0, x_3027); @@ -16703,16 +15370,16 @@ if (lean_is_scalar(x_3044)) { } lean_ctor_set(x_3045, 0, x_3037); lean_ctor_set(x_3045, 1, x_3043); -x_3046 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3046 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3047 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3047, 0, x_3027); lean_ctor_set(x_3047, 1, x_3046); -x_3048 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3048 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3049 = lean_array_push(x_3048, x_3042); x_3050 = lean_array_push(x_3049, x_3045); x_3051 = lean_array_push(x_3050, x_3047); x_3052 = lean_array_push(x_3051, x_2951); -x_3053 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3053 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3054 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3054, 0, x_3053); lean_ctor_set(x_3054, 1, x_3052); @@ -16721,13 +15388,13 @@ x_3056 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3056, 0, x_3037); lean_ctor_set(x_3056, 1, x_3055); x_3057 = lean_array_push(x_3035, x_3056); -x_3058 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3058 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3059 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3059, 0, x_3058); lean_ctor_set(x_3059, 1, x_3057); -x_3060 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3060 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3061 = lean_array_push(x_3060, x_3030); -x_3062 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3063 = lean_array_push(x_3061, x_3062); x_3064 = lean_array_push(x_3063, x_3038); x_3065 = lean_array_push(x_3064, x_3062); @@ -16753,7 +15420,7 @@ lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_30 x_3073 = lean_ctor_get(x_2946, 0); lean_inc(x_3073); lean_dec(x_2946); -x_3074 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2947); +x_3074 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2947); lean_dec(x_5); x_3075 = lean_ctor_get(x_3074, 0); lean_inc(x_3075); @@ -16772,9 +15439,9 @@ lean_inc(x_3075); x_3079 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3079, 0, x_3075); lean_ctor_set(x_3079, 1, x_3078); -x_3080 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3080 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3081 = lean_array_push(x_3080, x_2937); -x_3082 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3082 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3083 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3083, 0, x_3082); lean_ctor_set(x_3083, 1, x_3081); @@ -16784,12 +15451,12 @@ x_3086 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3087 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3087, 0, x_3086); lean_ctor_set(x_3087, 1, x_3085); -x_3088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3075); x_3089 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3089, 0, x_3075); lean_ctor_set(x_3089, 1, x_3088); -x_3090 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3090 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3075); x_3091 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3091, 0, x_3075); @@ -16811,16 +15478,16 @@ if (lean_is_scalar(x_3093)) { } lean_ctor_set(x_3094, 0, x_3086); lean_ctor_set(x_3094, 1, x_3092); -x_3095 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3095 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3096 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3096, 0, x_3075); lean_ctor_set(x_3096, 1, x_3095); -x_3097 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3097 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3098 = lean_array_push(x_3097, x_3091); x_3099 = lean_array_push(x_3098, x_3094); x_3100 = lean_array_push(x_3099, x_3096); x_3101 = lean_array_push(x_3100, x_3073); -x_3102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3103, 0, x_3102); lean_ctor_set(x_3103, 1, x_3101); @@ -16829,13 +15496,13 @@ x_3105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3105, 0, x_3086); lean_ctor_set(x_3105, 1, x_3104); x_3106 = lean_array_push(x_3084, x_3105); -x_3107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3108, 0, x_3107); lean_ctor_set(x_3108, 1, x_3106); -x_3109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3110 = lean_array_push(x_3109, x_3079); -x_3111 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3112 = lean_array_push(x_3110, x_3111); x_3113 = lean_array_push(x_3112, x_3087); x_3114 = lean_array_push(x_3113, x_3111); @@ -16877,7 +15544,7 @@ if (lean_is_exclusive(x_2946)) { lean_dec_ref(x_2946); x_3125 = lean_box(0); } -x_3126 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_2947); +x_3126 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_2947); lean_dec(x_5); x_3127 = lean_ctor_get(x_3126, 0); lean_inc(x_3127); @@ -16896,9 +15563,9 @@ lean_inc(x_3127); x_3131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3131, 0, x_3127); lean_ctor_set(x_3131, 1, x_3130); -x_3132 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3132 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3133 = lean_array_push(x_3132, x_2937); -x_3134 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3134 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3135, 0, x_3134); lean_ctor_set(x_3135, 1, x_3133); @@ -16908,12 +15575,12 @@ x_3138 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3139, 0, x_3138); lean_ctor_set(x_3139, 1, x_3137); -x_3140 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3140 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3127); x_3141 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3141, 0, x_3127); lean_ctor_set(x_3141, 1, x_3140); -x_3142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3127); x_3143 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3143, 0, x_3127); @@ -16935,16 +15602,16 @@ if (lean_is_scalar(x_3145)) { } lean_ctor_set(x_3146, 0, x_3138); lean_ctor_set(x_3146, 1, x_3144); -x_3147 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3147 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3148, 0, x_3127); lean_ctor_set(x_3148, 1, x_3147); -x_3149 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3150 = lean_array_push(x_3149, x_3143); x_3151 = lean_array_push(x_3150, x_3146); x_3152 = lean_array_push(x_3151, x_3148); x_3153 = lean_array_push(x_3152, x_3124); -x_3154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3155, 0, x_3154); lean_ctor_set(x_3155, 1, x_3153); @@ -16953,13 +15620,13 @@ x_3157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3157, 0, x_3138); lean_ctor_set(x_3157, 1, x_3156); x_3158 = lean_array_push(x_3136, x_3157); -x_3159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3160 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3160, 0, x_3159); lean_ctor_set(x_3160, 1, x_3158); -x_3161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3162 = lean_array_push(x_3161, x_3131); -x_3163 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3164 = lean_array_push(x_3162, x_3163); x_3165 = lean_array_push(x_3164, x_3139); x_3166 = lean_array_push(x_3165, x_3163); @@ -17032,7 +15699,7 @@ lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; uint8_t x_3194; x_3191 = lean_ctor_get(x_3186, 0); x_3192 = lean_ctor_get(x_3186, 1); lean_dec(x_3192); -x_3193 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3187); +x_3193 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3187); lean_dec(x_5); x_3194 = !lean_is_exclusive(x_3193); if (x_3194 == 0) @@ -17044,9 +15711,9 @@ lean_inc(x_3195); x_3197 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3197, 0, x_3195); lean_ctor_set(x_3197, 1, x_3196); -x_3198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3199 = lean_array_push(x_3198, x_3177); -x_3200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3201 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3201, 0, x_3200); lean_ctor_set(x_3201, 1, x_3199); @@ -17056,12 +15723,12 @@ x_3204 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3205, 0, x_3204); lean_ctor_set(x_3205, 1, x_3203); -x_3206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3195); x_3207 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3207, 0, x_3195); lean_ctor_set(x_3207, 1, x_3206); -x_3208 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3208 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3195); x_3209 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3209, 0, x_3195); @@ -17078,16 +15745,16 @@ x_3213 = lean_ctor_get(x_14, 0); lean_dec(x_3213); lean_ctor_set(x_14, 1, x_3210); lean_ctor_set(x_14, 0, x_3204); -x_3214 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3214 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3215 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3215, 0, x_3195); lean_ctor_set(x_3215, 1, x_3214); -x_3216 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3217 = lean_array_push(x_3216, x_3209); x_3218 = lean_array_push(x_3217, x_14); x_3219 = lean_array_push(x_3218, x_3215); x_3220 = lean_array_push(x_3219, x_3191); -x_3221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3222 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3222, 0, x_3221); lean_ctor_set(x_3222, 1, x_3220); @@ -17096,13 +15763,13 @@ x_3224 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3224, 0, x_3204); lean_ctor_set(x_3224, 1, x_3223); x_3225 = lean_array_push(x_3202, x_3224); -x_3226 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3226 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3227 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3227, 0, x_3226); lean_ctor_set(x_3227, 1, x_3225); -x_3228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3229 = lean_array_push(x_3228, x_3197); -x_3230 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3230 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3231 = lean_array_push(x_3229, x_3230); x_3232 = lean_array_push(x_3231, x_3205); x_3233 = lean_array_push(x_3232, x_3230); @@ -17126,16 +15793,16 @@ lean_dec(x_14); x_3240 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3240, 0, x_3204); lean_ctor_set(x_3240, 1, x_3210); -x_3241 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3241 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3242 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3242, 0, x_3195); lean_ctor_set(x_3242, 1, x_3241); -x_3243 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3243 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3244 = lean_array_push(x_3243, x_3209); x_3245 = lean_array_push(x_3244, x_3240); x_3246 = lean_array_push(x_3245, x_3242); x_3247 = lean_array_push(x_3246, x_3191); -x_3248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3249, 0, x_3248); lean_ctor_set(x_3249, 1, x_3247); @@ -17144,13 +15811,13 @@ x_3251 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3251, 0, x_3204); lean_ctor_set(x_3251, 1, x_3250); x_3252 = lean_array_push(x_3202, x_3251); -x_3253 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3253 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3254 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3254, 0, x_3253); lean_ctor_set(x_3254, 1, x_3252); -x_3255 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3255 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3256 = lean_array_push(x_3255, x_3197); -x_3257 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3257 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3258 = lean_array_push(x_3256, x_3257); x_3259 = lean_array_push(x_3258, x_3205); x_3260 = lean_array_push(x_3259, x_3257); @@ -17181,9 +15848,9 @@ lean_inc(x_3267); x_3270 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3270, 0, x_3267); lean_ctor_set(x_3270, 1, x_3269); -x_3271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3272 = lean_array_push(x_3271, x_3177); -x_3273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3274, 0, x_3273); lean_ctor_set(x_3274, 1, x_3272); @@ -17193,12 +15860,12 @@ x_3277 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3278 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3278, 0, x_3277); lean_ctor_set(x_3278, 1, x_3276); -x_3279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3267); x_3280 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3280, 0, x_3267); lean_ctor_set(x_3280, 1, x_3279); -x_3281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3267); x_3282 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3282, 0, x_3267); @@ -17220,16 +15887,16 @@ if (lean_is_scalar(x_3284)) { } lean_ctor_set(x_3285, 0, x_3277); lean_ctor_set(x_3285, 1, x_3283); -x_3286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3287 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3287, 0, x_3267); lean_ctor_set(x_3287, 1, x_3286); -x_3288 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3289 = lean_array_push(x_3288, x_3282); x_3290 = lean_array_push(x_3289, x_3285); x_3291 = lean_array_push(x_3290, x_3287); x_3292 = lean_array_push(x_3291, x_3191); -x_3293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3294 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3294, 0, x_3293); lean_ctor_set(x_3294, 1, x_3292); @@ -17238,13 +15905,13 @@ x_3296 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3296, 0, x_3277); lean_ctor_set(x_3296, 1, x_3295); x_3297 = lean_array_push(x_3275, x_3296); -x_3298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3299 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3299, 0, x_3298); lean_ctor_set(x_3299, 1, x_3297); -x_3300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3301 = lean_array_push(x_3300, x_3270); -x_3302 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3303 = lean_array_push(x_3301, x_3302); x_3304 = lean_array_push(x_3303, x_3278); x_3305 = lean_array_push(x_3304, x_3302); @@ -17270,7 +15937,7 @@ lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; lean_object* x_33 x_3313 = lean_ctor_get(x_3186, 0); lean_inc(x_3313); lean_dec(x_3186); -x_3314 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3187); +x_3314 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3187); lean_dec(x_5); x_3315 = lean_ctor_get(x_3314, 0); lean_inc(x_3315); @@ -17289,9 +15956,9 @@ lean_inc(x_3315); x_3319 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3319, 0, x_3315); lean_ctor_set(x_3319, 1, x_3318); -x_3320 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3320 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3321 = lean_array_push(x_3320, x_3177); -x_3322 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3322 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3323 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3323, 0, x_3322); lean_ctor_set(x_3323, 1, x_3321); @@ -17301,12 +15968,12 @@ x_3326 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3327 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3327, 0, x_3326); lean_ctor_set(x_3327, 1, x_3325); -x_3328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3315); x_3329 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3329, 0, x_3315); lean_ctor_set(x_3329, 1, x_3328); -x_3330 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3330 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3315); x_3331 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3331, 0, x_3315); @@ -17328,16 +15995,16 @@ if (lean_is_scalar(x_3333)) { } lean_ctor_set(x_3334, 0, x_3326); lean_ctor_set(x_3334, 1, x_3332); -x_3335 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3335 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3336 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3336, 0, x_3315); lean_ctor_set(x_3336, 1, x_3335); -x_3337 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3338 = lean_array_push(x_3337, x_3331); x_3339 = lean_array_push(x_3338, x_3334); x_3340 = lean_array_push(x_3339, x_3336); x_3341 = lean_array_push(x_3340, x_3313); -x_3342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3343 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3343, 0, x_3342); lean_ctor_set(x_3343, 1, x_3341); @@ -17346,13 +16013,13 @@ x_3345 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3345, 0, x_3326); lean_ctor_set(x_3345, 1, x_3344); x_3346 = lean_array_push(x_3324, x_3345); -x_3347 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3347 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3348 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3348, 0, x_3347); lean_ctor_set(x_3348, 1, x_3346); -x_3349 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3349 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3350 = lean_array_push(x_3349, x_3319); -x_3351 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3352 = lean_array_push(x_3350, x_3351); x_3353 = lean_array_push(x_3352, x_3327); x_3354 = lean_array_push(x_3353, x_3351); @@ -17394,7 +16061,7 @@ if (lean_is_exclusive(x_3186)) { lean_dec_ref(x_3186); x_3365 = lean_box(0); } -x_3366 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3187); +x_3366 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3187); lean_dec(x_5); x_3367 = lean_ctor_get(x_3366, 0); lean_inc(x_3367); @@ -17413,9 +16080,9 @@ lean_inc(x_3367); x_3371 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3371, 0, x_3367); lean_ctor_set(x_3371, 1, x_3370); -x_3372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3373 = lean_array_push(x_3372, x_3177); -x_3374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3375 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3375, 0, x_3374); lean_ctor_set(x_3375, 1, x_3373); @@ -17425,12 +16092,12 @@ x_3378 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3379 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3379, 0, x_3378); lean_ctor_set(x_3379, 1, x_3377); -x_3380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3367); x_3381 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3381, 0, x_3367); lean_ctor_set(x_3381, 1, x_3380); -x_3382 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3382 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3367); x_3383 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3383, 0, x_3367); @@ -17452,16 +16119,16 @@ if (lean_is_scalar(x_3385)) { } lean_ctor_set(x_3386, 0, x_3378); lean_ctor_set(x_3386, 1, x_3384); -x_3387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3388 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3388, 0, x_3367); lean_ctor_set(x_3388, 1, x_3387); -x_3389 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3389 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3390 = lean_array_push(x_3389, x_3383); x_3391 = lean_array_push(x_3390, x_3386); x_3392 = lean_array_push(x_3391, x_3388); x_3393 = lean_array_push(x_3392, x_3364); -x_3394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3395 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3395, 0, x_3394); lean_ctor_set(x_3395, 1, x_3393); @@ -17470,13 +16137,13 @@ x_3397 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3397, 0, x_3378); lean_ctor_set(x_3397, 1, x_3396); x_3398 = lean_array_push(x_3376, x_3397); -x_3399 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3399 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3400 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3400, 0, x_3399); lean_ctor_set(x_3400, 1, x_3398); -x_3401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3402 = lean_array_push(x_3401, x_3371); -x_3403 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3403 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3404 = lean_array_push(x_3402, x_3403); x_3405 = lean_array_push(x_3404, x_3379); x_3406 = lean_array_push(x_3405, x_3403); @@ -17548,7 +16215,7 @@ lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; uint8_t x_3434; x_3431 = lean_ctor_get(x_3426, 0); x_3432 = lean_ctor_get(x_3426, 1); lean_dec(x_3432); -x_3433 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3427); +x_3433 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3427); lean_dec(x_5); x_3434 = !lean_is_exclusive(x_3433); if (x_3434 == 0) @@ -17560,9 +16227,9 @@ lean_inc(x_3435); x_3437 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3437, 0, x_3435); lean_ctor_set(x_3437, 1, x_3436); -x_3438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3439 = lean_array_push(x_3438, x_3417); -x_3440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3441 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3441, 0, x_3440); lean_ctor_set(x_3441, 1, x_3439); @@ -17572,12 +16239,12 @@ x_3444 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3445 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3445, 0, x_3444); lean_ctor_set(x_3445, 1, x_3443); -x_3446 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3446 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3435); x_3447 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3447, 0, x_3435); lean_ctor_set(x_3447, 1, x_3446); -x_3448 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3448 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3435); x_3449 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3449, 0, x_3435); @@ -17595,16 +16262,16 @@ lean_dec(x_3453); lean_ctor_set_tag(x_14, 1); lean_ctor_set(x_14, 1, x_3450); lean_ctor_set(x_14, 0, x_3444); -x_3454 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3454 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3455 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3455, 0, x_3435); lean_ctor_set(x_3455, 1, x_3454); -x_3456 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3457 = lean_array_push(x_3456, x_3449); x_3458 = lean_array_push(x_3457, x_14); x_3459 = lean_array_push(x_3458, x_3455); x_3460 = lean_array_push(x_3459, x_3431); -x_3461 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3461 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3462 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3462, 0, x_3461); lean_ctor_set(x_3462, 1, x_3460); @@ -17613,13 +16280,13 @@ x_3464 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3464, 0, x_3444); lean_ctor_set(x_3464, 1, x_3463); x_3465 = lean_array_push(x_3442, x_3464); -x_3466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3467 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3467, 0, x_3466); lean_ctor_set(x_3467, 1, x_3465); -x_3468 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3468 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3469 = lean_array_push(x_3468, x_3437); -x_3470 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3470 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3471 = lean_array_push(x_3469, x_3470); x_3472 = lean_array_push(x_3471, x_3445); x_3473 = lean_array_push(x_3472, x_3470); @@ -17643,16 +16310,16 @@ lean_dec(x_14); x_3480 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3480, 0, x_3444); lean_ctor_set(x_3480, 1, x_3450); -x_3481 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3481 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3482 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3482, 0, x_3435); lean_ctor_set(x_3482, 1, x_3481); -x_3483 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3483 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3484 = lean_array_push(x_3483, x_3449); x_3485 = lean_array_push(x_3484, x_3480); x_3486 = lean_array_push(x_3485, x_3482); x_3487 = lean_array_push(x_3486, x_3431); -x_3488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3489 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3489, 0, x_3488); lean_ctor_set(x_3489, 1, x_3487); @@ -17661,13 +16328,13 @@ x_3491 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3491, 0, x_3444); lean_ctor_set(x_3491, 1, x_3490); x_3492 = lean_array_push(x_3442, x_3491); -x_3493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3494 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3494, 0, x_3493); lean_ctor_set(x_3494, 1, x_3492); -x_3495 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3495 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3496 = lean_array_push(x_3495, x_3437); -x_3497 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3497 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3498 = lean_array_push(x_3496, x_3497); x_3499 = lean_array_push(x_3498, x_3445); x_3500 = lean_array_push(x_3499, x_3497); @@ -17698,9 +16365,9 @@ lean_inc(x_3507); x_3510 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3510, 0, x_3507); lean_ctor_set(x_3510, 1, x_3509); -x_3511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3512 = lean_array_push(x_3511, x_3417); -x_3513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3514 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3514, 0, x_3513); lean_ctor_set(x_3514, 1, x_3512); @@ -17710,12 +16377,12 @@ x_3517 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3518 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3518, 0, x_3517); lean_ctor_set(x_3518, 1, x_3516); -x_3519 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3519 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3507); x_3520 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3520, 0, x_3507); lean_ctor_set(x_3520, 1, x_3519); -x_3521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3507); x_3522 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3522, 0, x_3507); @@ -17738,16 +16405,16 @@ if (lean_is_scalar(x_3524)) { } lean_ctor_set(x_3525, 0, x_3517); lean_ctor_set(x_3525, 1, x_3523); -x_3526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3527 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3527, 0, x_3507); lean_ctor_set(x_3527, 1, x_3526); -x_3528 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3529 = lean_array_push(x_3528, x_3522); x_3530 = lean_array_push(x_3529, x_3525); x_3531 = lean_array_push(x_3530, x_3527); x_3532 = lean_array_push(x_3531, x_3431); -x_3533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3534 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3534, 0, x_3533); lean_ctor_set(x_3534, 1, x_3532); @@ -17756,13 +16423,13 @@ x_3536 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3536, 0, x_3517); lean_ctor_set(x_3536, 1, x_3535); x_3537 = lean_array_push(x_3515, x_3536); -x_3538 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3538 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3539 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3539, 0, x_3538); lean_ctor_set(x_3539, 1, x_3537); -x_3540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3541 = lean_array_push(x_3540, x_3510); -x_3542 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3543 = lean_array_push(x_3541, x_3542); x_3544 = lean_array_push(x_3543, x_3518); x_3545 = lean_array_push(x_3544, x_3542); @@ -17788,7 +16455,7 @@ lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_35 x_3553 = lean_ctor_get(x_3426, 0); lean_inc(x_3553); lean_dec(x_3426); -x_3554 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3427); +x_3554 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3427); lean_dec(x_5); x_3555 = lean_ctor_get(x_3554, 0); lean_inc(x_3555); @@ -17807,9 +16474,9 @@ lean_inc(x_3555); x_3559 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3559, 0, x_3555); lean_ctor_set(x_3559, 1, x_3558); -x_3560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3561 = lean_array_push(x_3560, x_3417); -x_3562 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3562 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3563 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3563, 0, x_3562); lean_ctor_set(x_3563, 1, x_3561); @@ -17819,12 +16486,12 @@ x_3566 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3567 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3567, 0, x_3566); lean_ctor_set(x_3567, 1, x_3565); -x_3568 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3568 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3555); x_3569 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3569, 0, x_3555); lean_ctor_set(x_3569, 1, x_3568); -x_3570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3555); x_3571 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3571, 0, x_3555); @@ -17847,16 +16514,16 @@ if (lean_is_scalar(x_3573)) { } lean_ctor_set(x_3574, 0, x_3566); lean_ctor_set(x_3574, 1, x_3572); -x_3575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3576 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3576, 0, x_3555); lean_ctor_set(x_3576, 1, x_3575); -x_3577 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3577 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3578 = lean_array_push(x_3577, x_3571); x_3579 = lean_array_push(x_3578, x_3574); x_3580 = lean_array_push(x_3579, x_3576); x_3581 = lean_array_push(x_3580, x_3553); -x_3582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3583 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3583, 0, x_3582); lean_ctor_set(x_3583, 1, x_3581); @@ -17865,13 +16532,13 @@ x_3585 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3585, 0, x_3566); lean_ctor_set(x_3585, 1, x_3584); x_3586 = lean_array_push(x_3564, x_3585); -x_3587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3588 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3588, 0, x_3587); lean_ctor_set(x_3588, 1, x_3586); -x_3589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3590 = lean_array_push(x_3589, x_3559); -x_3591 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3591 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3592 = lean_array_push(x_3590, x_3591); x_3593 = lean_array_push(x_3592, x_3567); x_3594 = lean_array_push(x_3593, x_3591); @@ -17913,7 +16580,7 @@ if (lean_is_exclusive(x_3426)) { lean_dec_ref(x_3426); x_3605 = lean_box(0); } -x_3606 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_3427); +x_3606 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_3427); lean_dec(x_5); x_3607 = lean_ctor_get(x_3606, 0); lean_inc(x_3607); @@ -17932,9 +16599,9 @@ lean_inc(x_3607); x_3611 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3611, 0, x_3607); lean_ctor_set(x_3611, 1, x_3610); -x_3612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; x_3613 = lean_array_push(x_3612, x_3417); -x_3614 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_3614 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_3615 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3615, 0, x_3614); lean_ctor_set(x_3615, 1, x_3613); @@ -17944,12 +16611,12 @@ x_3618 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2_ x_3619 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3619, 0, x_3618); lean_ctor_set(x_3619, 1, x_3617); -x_3620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_inc(x_3607); x_3621 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3621, 0, x_3607); lean_ctor_set(x_3621, 1, x_3620); -x_3622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; lean_inc(x_3607); x_3623 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3623, 0, x_3607); @@ -17972,16 +16639,16 @@ if (lean_is_scalar(x_3625)) { } lean_ctor_set(x_3626, 0, x_3618); lean_ctor_set(x_3626, 1, x_3624); -x_3627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_3628 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3628, 0, x_3607); lean_ctor_set(x_3628, 1, x_3627); -x_3629 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_3629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_3630 = lean_array_push(x_3629, x_3623); x_3631 = lean_array_push(x_3630, x_3626); x_3632 = lean_array_push(x_3631, x_3628); x_3633 = lean_array_push(x_3632, x_3604); -x_3634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +x_3634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3635 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3635, 0, x_3634); lean_ctor_set(x_3635, 1, x_3633); @@ -17990,13 +16657,13 @@ x_3637 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3637, 0, x_3618); lean_ctor_set(x_3637, 1, x_3636); x_3638 = lean_array_push(x_3616, x_3637); -x_3639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_3639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3640 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3640, 0, x_3639); lean_ctor_set(x_3640, 1, x_3638); -x_3641 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3641 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_3642 = lean_array_push(x_3641, x_3611); -x_3643 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_3643 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_3644 = lean_array_push(x_3642, x_3643); x_3645 = lean_array_push(x_3644, x_3619); x_3646 = lean_array_push(x_3645, x_3643); @@ -18910,6 +17577,66 @@ x_6 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Elab_Binde return x_6; } } +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___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_apply_2(x_3, x_4, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(x_1, x_2, 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_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg), 10, 0); +return x_2; +} +} lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { @@ -18924,7 +17651,7 @@ lean_inc(x_1); x_15 = l_Lean_Elab_Term_elabType(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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_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; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -18967,10 +17694,18 @@ lean_inc(x_31); x_33 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_33, 0, x_31); x_34 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_23); lean_inc(x_28); x_35 = l_Lean_Elab_Term_addTermInfo(x_28, x_23, x_32, x_33, x_34, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -lean_dec(x_33); +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; 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_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); @@ -19413,6 +18148,41 @@ return x_130; else { uint8_t x_131; +lean_dec(x_31); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_16); +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); +x_131 = !lean_is_exclusive(x_35); +if (x_131 == 0) +{ +return x_35; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_35, 0); +x_133 = lean_ctor_get(x_35, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_35); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +else +{ +uint8_t x_135; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19425,23 +18195,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_131 = !lean_is_exclusive(x_15); -if (x_131 == 0) +x_135 = !lean_is_exclusive(x_15); +if (x_135 == 0) { return x_15; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_15, 0); -x_133 = lean_ctor_get(x_15, 1); -lean_inc(x_133); -lean_inc(x_132); +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_15, 0); +x_137 = lean_ctor_get(x_15, 1); +lean_inc(x_137); +lean_inc(x_136); lean_dec(x_15); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } @@ -19508,7 +18278,7 @@ x_23 = l_Lean_replaceRef(x_17, x_22); lean_dec(x_22); lean_dec(x_17); lean_ctor_set(x_8, 3, x_23); -x_24 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_24 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_24; } else @@ -19543,7 +18313,7 @@ lean_ctor_set(x_34, 4, x_29); lean_ctor_set(x_34, 5, x_30); lean_ctor_set(x_34, 6, x_31); lean_ctor_set(x_34, 7, x_32); -x_35 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_34, x_9, x_16); +x_35 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_34, x_9, x_16); return x_35; } } @@ -19808,7 +18578,7 @@ x_29 = lean_apply_2(x_3, x_27, x_28); if (x_25 == 0) { lean_object* x_30; -x_30 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_26, x_23, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +x_30 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_26, x_23, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_21); return x_30; } else @@ -19824,7 +18594,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_34 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_26, x_23, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_33); +x_34 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_26, x_23, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_33); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; @@ -20171,6 +18941,14 @@ static lean_object* _init_l_Lean_Elab_Term_expandWhereDecls___closed__10() { _start: { lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_expandWhereDecls___closed__11() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string(";"); return x_1; } @@ -20202,7 +18980,7 @@ lean_dec(x_1); x_11 = l_Lean_Syntax_getArgs(x_10); lean_dec(x_10); x_12 = l_Lean_Elab_Term_expandWhereDecls___closed__3; -x_13 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_11, x_12); +x_13 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_11, x_12); lean_dec(x_11); if (lean_obj_tag(x_13) == 0) { @@ -20220,7 +18998,7 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_ctor_get(x_13, 0); lean_inc(x_16); lean_dec(x_13); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -20243,7 +19021,7 @@ x_27 = l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__2; 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 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; +x_29 = l_Lean_Elab_Term_expandWhereDecls___closed__10; x_30 = l_Lean_Syntax_SepArray_ofElems(x_29, x_16); lean_dec(x_16); x_31 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; @@ -20259,7 +19037,7 @@ x_37 = l_Lean_Elab_Term_expandWhereDecls___closed__9; 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_Lean_Elab_Term_expandWhereDecls___closed__10; +x_39 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_19); lean_ctor_set(x_40, 1, x_39); @@ -20267,7 +19045,7 @@ x_41 = lean_array_push(x_35, x_40); x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_33); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_43 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_44 = lean_array_push(x_43, x_28); x_45 = lean_array_push(x_44, x_38); x_46 = lean_array_push(x_45, x_42); @@ -20304,7 +19082,7 @@ x_59 = l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__2; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; +x_61 = l_Lean_Elab_Term_expandWhereDecls___closed__10; x_62 = l_Lean_Syntax_SepArray_ofElems(x_61, x_16); lean_dec(x_16); x_63 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; @@ -20320,7 +19098,7 @@ x_69 = l_Lean_Elab_Term_expandWhereDecls___closed__9; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Elab_Term_expandWhereDecls___closed__10; +x_71 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_50); lean_ctor_set(x_72, 1, x_71); @@ -20328,7 +19106,7 @@ x_73 = lean_array_push(x_67, x_72); x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_65); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_75 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; x_76 = lean_array_push(x_75, x_60); x_77 = lean_array_push(x_76, x_70); x_78 = lean_array_push(x_77, x_74); @@ -20458,7 +19236,7 @@ x_8 = lean_array_uget(x_5, x_4); x_9 = lean_unsigned_to_nat(0u); x_10 = lean_array_uset(x_5, x_4, x_9); x_11 = x_8; -x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; lean_inc(x_1); x_13 = lean_name_mk_string(x_1, x_12); x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; @@ -20501,7 +19279,7 @@ x_11 = x_8; x_12 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; lean_inc(x_1); x_13 = lean_name_mk_string(x_1, x_12); -x_14 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_14 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; x_15 = lean_name_mk_string(x_13, x_14); x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; lean_inc(x_2); @@ -20673,7 +19451,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__12; +x_2 = l_Lean_Elab_Term_expandWhereDecls___closed__10; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -20718,7 +19496,7 @@ lean_dec(x_16); lean_inc(x_12); lean_inc(x_15); lean_ctor_set(x_5, 2, x_12); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -20733,7 +19511,7 @@ lean_ctor_set(x_24, 0, x_18); lean_ctor_set(x_24, 1, x_23); lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_22); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_19); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_19); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); @@ -20763,7 +19541,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_38); +x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_38); lean_dec(x_5); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) @@ -20785,7 +19563,7 @@ x_47 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_49 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_41); lean_ctor_set(x_50, 1, x_49); @@ -20834,7 +19612,7 @@ x_71 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); -x_73 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_73 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_64); lean_ctor_set(x_74, 1, x_73); @@ -20871,7 +19649,7 @@ lean_inc(x_89); x_90 = lean_ctor_get(x_36, 1); lean_inc(x_90); lean_dec(x_36); -x_91 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_90); +x_91 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_90); lean_dec(x_5); x_92 = !lean_is_exclusive(x_91); if (x_92 == 0) @@ -20895,7 +19673,7 @@ x_102 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatch 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 = l_Lean_Elab_Term_expandWhereDecls___closed__10; +x_104 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_93); lean_ctor_set(x_105, 1, x_104); @@ -20939,7 +19717,7 @@ x_124 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatch x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); -x_126 = l_Lean_Elab_Term_expandWhereDecls___closed__10; +x_126 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_127 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_127, 0, x_114); lean_ctor_set(x_127, 1, x_126); @@ -20985,7 +19763,7 @@ lean_ctor_set(x_142, 2, x_12); lean_ctor_set(x_142, 3, x_139); lean_ctor_set(x_142, 4, x_140); lean_ctor_set(x_142, 5, x_141); -x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_142, x_6); +x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_142, x_6); x_144 = lean_ctor_get(x_143, 0); lean_inc(x_144); x_145 = lean_ctor_get(x_143, 1); @@ -21000,7 +19778,7 @@ lean_ctor_set(x_150, 0, x_144); lean_ctor_set(x_150, 1, x_149); lean_ctor_set(x_150, 2, x_147); lean_ctor_set(x_150, 3, x_148); -x_151 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_142, x_145); +x_151 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_142, x_145); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_ctor_get(x_151, 1); @@ -21030,7 +19808,7 @@ lean_inc(x_163); x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); lean_dec(x_162); -x_165 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_142, x_164); +x_165 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_142, x_164); lean_dec(x_142); x_166 = lean_ctor_get(x_165, 0); lean_inc(x_166); @@ -21059,7 +19837,7 @@ x_174 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_173); -x_176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_177 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_177, 0, x_166); lean_ctor_set(x_177, 1, x_176); @@ -21099,7 +19877,7 @@ lean_inc(x_192); x_193 = lean_ctor_get(x_162, 1); lean_inc(x_193); lean_dec(x_162); -x_194 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_142, x_193); +x_194 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_142, x_193); lean_dec(x_142); x_195 = lean_ctor_get(x_194, 0); lean_inc(x_195); @@ -21130,7 +19908,7 @@ x_206 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatch 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 = l_Lean_Elab_Term_expandWhereDecls___closed__10; +x_208 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_209 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_209, 0, x_195); lean_ctor_set(x_209, 1, x_208); @@ -21204,7 +19982,7 @@ lean_ctor_set(x_229, 2, x_219); lean_ctor_set(x_229, 3, x_225); lean_ctor_set(x_229, 4, x_226); lean_ctor_set(x_229, 5, x_227); -x_230 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_229, x_222); +x_230 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_229, x_222); x_231 = lean_ctor_get(x_230, 0); lean_inc(x_231); x_232 = lean_ctor_get(x_230, 1); @@ -21219,7 +19997,7 @@ lean_ctor_set(x_237, 0, x_231); lean_ctor_set(x_237, 1, x_236); lean_ctor_set(x_237, 2, x_234); lean_ctor_set(x_237, 3, x_235); -x_238 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_229, x_232); +x_238 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_229, x_232); x_239 = lean_ctor_get(x_238, 0); lean_inc(x_239); x_240 = lean_ctor_get(x_238, 1); @@ -21249,7 +20027,7 @@ lean_inc(x_250); x_251 = lean_ctor_get(x_249, 1); lean_inc(x_251); lean_dec(x_249); -x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_229, x_251); +x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_229, x_251); lean_dec(x_229); x_253 = lean_ctor_get(x_252, 0); lean_inc(x_253); @@ -21278,7 +20056,7 @@ x_261 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_262 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_262, 0, x_261); lean_ctor_set(x_262, 1, x_260); -x_263 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_263 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_264 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_264, 0, x_253); lean_ctor_set(x_264, 1, x_263); @@ -21318,7 +20096,7 @@ lean_inc(x_279); x_280 = lean_ctor_get(x_249, 1); lean_inc(x_280); lean_dec(x_249); -x_281 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_229, x_280); +x_281 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_229, x_280); lean_dec(x_229); x_282 = lean_ctor_get(x_281, 0); lean_inc(x_282); @@ -21349,7 +20127,7 @@ x_293 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatch x_294 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_294, 0, x_293); lean_ctor_set(x_294, 1, x_292); -x_295 = l_Lean_Elab_Term_expandWhereDecls___closed__10; +x_295 = l_Lean_Elab_Term_expandWhereDecls___closed__11; x_296 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_296, 0, x_282); lean_ctor_set(x_296, 1, x_295); @@ -21381,7 +20159,7 @@ else if (x_2 == 0) { lean_object* x_306; uint8_t x_307; -x_306 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_306 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); lean_dec(x_5); x_307 = !lean_is_exclusive(x_306); if (x_307 == 0) @@ -21399,7 +20177,7 @@ lean_dec(x_311); x_313 = 0; x_314 = x_4; x_315 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_316 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_317 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_315, x_316, x_312, x_313, x_314); x_318 = x_317; x_319 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -21412,11 +20190,11 @@ x_323 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_323); lean_ctor_set(x_324, 1, x_322); -x_325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_326, 0, x_308); lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_327 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_328 = lean_array_push(x_327, x_310); x_329 = lean_array_push(x_328, x_316); x_330 = lean_array_push(x_329, x_324); @@ -21449,7 +20227,7 @@ lean_dec(x_340); x_342 = 0; x_343 = x_4; x_344 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_345 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_345 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_346 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_344, x_345, x_341, x_342, x_343); x_347 = x_346; x_348 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -21462,11 +20240,11 @@ x_352 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_353 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_353, 0, x_352); lean_ctor_set(x_353, 1, x_351); -x_354 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_354 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_355 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_355, 0, x_336); lean_ctor_set(x_355, 1, x_354); -x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_357 = lean_array_push(x_356, x_339); x_358 = lean_array_push(x_357, x_345); x_359 = lean_array_push(x_358, x_353); @@ -21486,7 +20264,7 @@ return x_365; else { lean_object* x_366; uint8_t x_367; -x_366 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_366 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); lean_dec(x_5); x_367 = !lean_is_exclusive(x_366); if (x_367 == 0) @@ -21504,7 +20282,7 @@ lean_dec(x_371); x_373 = 0; x_374 = x_4; x_375 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__4; -x_376 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_376 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_377 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_375, x_376, x_372, x_373, x_374); x_378 = x_377; x_379 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -21517,11 +20295,11 @@ x_383 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_384 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_384, 0, x_383); lean_ctor_set(x_384, 1, x_382); -x_385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_386 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_386, 0, x_368); lean_ctor_set(x_386, 1, x_385); -x_387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_388 = lean_array_push(x_387, x_370); x_389 = lean_array_push(x_388, x_376); x_390 = lean_array_push(x_389, x_384); @@ -21554,7 +20332,7 @@ lean_dec(x_400); x_402 = 0; x_403 = x_4; x_404 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__4; -x_405 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_405 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_406 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_404, x_405, x_401, x_402, x_403); x_407 = x_406; x_408 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -21567,11 +20345,11 @@ x_412 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_413 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_413, 0, x_412); lean_ctor_set(x_413, 1, x_411); -x_414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_415 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_415, 0, x_396); lean_ctor_set(x_415, 1, x_414); -x_416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_417 = lean_array_push(x_416, x_399); x_418 = lean_array_push(x_417, x_405); x_419 = lean_array_push(x_418, x_413); @@ -21810,7 +20588,7 @@ x_8 = lean_array_uget(x_5, x_4); x_9 = lean_unsigned_to_nat(0u); x_10 = lean_array_uset(x_5, x_4, x_9); x_11 = x_8; -x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; lean_inc(x_1); x_13 = lean_name_mk_string(x_1, x_12); x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; @@ -21858,7 +20636,7 @@ lean_dec(x_16); lean_inc(x_12); lean_inc(x_15); lean_ctor_set(x_5, 2, x_12); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -21898,7 +20676,7 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_35); +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_35); lean_dec(x_5); x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) @@ -21926,7 +20704,7 @@ x_45 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_47 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_48 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_48, 0, x_38); lean_ctor_set(x_48, 1, x_47); @@ -21981,7 +20759,7 @@ x_70 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); -x_72 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_72 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_62); lean_ctor_set(x_73, 1, x_72); @@ -22058,7 +20836,7 @@ lean_ctor_set(x_97, 2, x_12); lean_ctor_set(x_97, 3, x_94); lean_ctor_set(x_97, 4, x_95); lean_ctor_set(x_97, 5, x_96); -x_98 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_97, x_6); +x_98 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_97, x_6); x_99 = lean_ctor_get(x_98, 0); lean_inc(x_99); x_100 = lean_ctor_get(x_98, 1); @@ -22098,7 +20876,7 @@ lean_inc(x_115); x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); lean_dec(x_114); -x_117 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_97, x_116); +x_117 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_97, x_116); lean_dec(x_97); x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); @@ -22133,7 +20911,7 @@ x_127 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_126); -x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_118); lean_ctor_set(x_130, 1, x_129); @@ -22240,7 +21018,7 @@ lean_ctor_set(x_159, 2, x_149); lean_ctor_set(x_159, 3, x_155); lean_ctor_set(x_159, 4, x_156); lean_ctor_set(x_159, 5, x_157); -x_160 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_159, x_152); +x_160 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_159, x_152); x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); x_162 = lean_ctor_get(x_160, 1); @@ -22280,7 +21058,7 @@ lean_inc(x_177); x_178 = lean_ctor_get(x_176, 1); lean_inc(x_178); lean_dec(x_176); -x_179 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_159, x_178); +x_179 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_159, x_178); lean_dec(x_159); x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); @@ -22315,7 +21093,7 @@ x_189 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_190 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_190, 0, x_189); lean_ctor_set(x_190, 1, x_188); -x_191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_180); lean_ctor_set(x_192, 1, x_191); @@ -22378,7 +21156,7 @@ return x_210; else { lean_object* x_211; uint8_t x_212; -x_211 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_211 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_212 = !lean_is_exclusive(x_211); if (x_212 == 0) { @@ -22396,7 +21174,7 @@ lean_dec(x_217); x_219 = 0; x_220 = x_4; x_221 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_222 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_222 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_223 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_221, x_222, x_218, x_219, x_220); x_224 = x_223; x_225 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -22409,11 +21187,11 @@ x_229 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ x_230 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_230, 0, x_229); lean_ctor_set(x_230, 1, x_228); -x_231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_232 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_232, 0, x_213); lean_ctor_set(x_232, 1, x_231); -x_233 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_233 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_234 = lean_array_push(x_233, x_216); x_235 = lean_array_push(x_234, x_222); x_236 = lean_array_push(x_235, x_230); @@ -22459,7 +21237,7 @@ lean_dec(x_248); x_250 = 0; x_251 = x_4; x_252 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_253 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_253 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; x_254 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_252, x_253, x_249, x_250, x_251); x_255 = x_254; x_256 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__17; @@ -22472,11 +21250,11 @@ x_260 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2__ 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_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; x_263 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_263, 0, x_244); lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; x_265 = lean_array_push(x_264, x_247); x_266 = lean_array_push(x_265, x_253); x_267 = lean_array_push(x_266, x_261); @@ -22584,7 +21362,7 @@ x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) { lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_12 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; lean_inc(x_9); x_13 = l_Lean_Syntax_isOfKind(x_9, x_12); if (x_13 == 0) @@ -22672,7 +21450,7 @@ lean_dec(x_24); x_36 = lean_ctor_get(x_25, 0); lean_inc(x_36); lean_dec(x_25); -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_34); +x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_34); lean_dec(x_2); x_38 = !lean_is_exclusive(x_37); if (x_38 == 0) @@ -22691,7 +21469,7 @@ x_44 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_46 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_39); lean_ctor_set(x_47, 1, x_46); @@ -22731,7 +21509,7 @@ x_63 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___ x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); -x_65 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_65 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_57); lean_ctor_set(x_66, 1, x_65); @@ -25231,9 +24009,18 @@ return x_25; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_12 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); @@ -25330,12 +24117,173 @@ return x_33; } } } +else +{ +uint8_t x_34; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_12); +if (x_34 == 0) +{ +return x_12; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_12, 0); +x_36 = lean_ctor_get(x_12, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_12); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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) { +_start: +{ +if (x_6 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_18 = l_Lean_Syntax_getId(x_7); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 11, 3); +lean_closure_set(x_19, 0, x_7); +lean_closure_set(x_19, 1, x_8); +lean_closure_set(x_19, 2, x_9); +x_20 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +x_21 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_18, x_20, x_5, x_19, x_11, x_12, x_13, x_14, x_15, x_16, 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); +lean_inc(x_4); +x_24 = l_Lean_mkApp(x_22, x_4); +x_25 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_23); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = l_Lean_Syntax_getId(x_7); +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 11, 3); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_8); +lean_closure_set(x_31, 2, x_9); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +lean_inc(x_5); +x_32 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(x_30, x_5, x_4, x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_33, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_32); +if (x_36 == 0) +{ +return x_32; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +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; +} +} +} +} } static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_declareTacticSyntax___closed__6; +x_1 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4; x_2 = l_Lean_Elab_Term_expandWhereDecls___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -25363,7 +24311,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -25421,7 +24369,7 @@ lean_inc(x_9); x_18 = l_Lean_Elab_Term_elabBinders___rarg(x_2, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_49; lean_object* x_50; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +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; uint8_t x_26; lean_object* x_27; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 1); @@ -25437,224 +24385,101 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_20, 1); lean_inc(x_24); lean_dec(x_20); -x_68 = lean_st_ref_get(x_14, x_21); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_ctor_get_uint8(x_70, sizeof(void*)*1); -lean_dec(x_70); -if (x_71 == 0) +x_25 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; +x_48 = lean_st_ref_get(x_14, x_21); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*1); +lean_dec(x_50); +if (x_51 == 0) { -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec(x_68); -x_73 = 0; -x_49 = x_73; -x_50 = x_72; -goto block_67; +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 1); +lean_inc(x_52); +lean_dec(x_48); +x_53 = 0; +x_26 = x_53; +x_27 = x_52; +goto block_47; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_68, 1); -lean_inc(x_74); -lean_dec(x_68); -x_75 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; -x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_75, x_9, x_10, x_11, x_12, x_13, x_14, x_74); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_unbox(x_77); -lean_dec(x_77); -x_49 = x_79; -x_50 = x_78; -goto block_67; +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_48, 1); +lean_inc(x_54); +lean_dec(x_48); +x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_unbox(x_56); +lean_dec(x_56); +x_26 = x_58; +x_27 = x_57; +goto block_47; } -block_48: +block_47: { -if (x_7 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_26 = l_Lean_Syntax_getId(x_1); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 11, 3); -lean_closure_set(x_27, 0, x_1); -lean_closure_set(x_27, 1, x_5); -lean_closure_set(x_27, 2, x_6); -x_28 = 0; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_22); -x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_26, x_28, x_22, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_25); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -lean_inc(x_23); -x_32 = l_Lean_mkApp(x_30, x_23); -x_33 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_8, x_24, x_4, x_23, x_22, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_31); -return x_33; -} -else -{ -uint8_t x_34; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(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_4); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +if (x_26 == 0) { +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Term_elabLetDeclAux___lambda__6(x_8, x_24, x_4, x_23, x_22, x_7, x_1, x_5, x_6, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_27); return x_29; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 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; +x_30 = l_Lean_Syntax_getId(x_1); +x_31 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = l_Lean_Elab_Term_elabLetDeclAux___closed__4; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Elab_Term_elabLetDeclAux___closed__6; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_22); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_22); +x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = l_Lean_Syntax_getId(x_1); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 11, 3); -lean_closure_set(x_39, 0, x_1); -lean_closure_set(x_39, 1, x_5); -lean_closure_set(x_39, 2, x_6); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); +x_38 = l_Lean_Elab_Term_elabLetDeclAux___closed__8; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); lean_inc(x_23); -lean_inc(x_22); -x_40 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(x_38, x_22, x_23, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_25); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_8, x_24, x_4, x_23, x_22, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_42); -return x_43; -} -else -{ -uint8_t x_44; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(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_4); -x_44 = !lean_is_exclusive(x_40); -if (x_44 == 0) -{ -return x_40; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_40, 0); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); +x_40 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_40, 0, x_23); +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_32); +x_43 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_25, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_27); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -lean_dec(x_40); -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; -} -} -} -} -block_67: -{ -if (x_49 == 0) -{ -x_25 = x_50; -goto block_48; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_51 = l_Lean_Syntax_getId(x_1); -x_52 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = l_Lean_Elab_Term_elabLetDeclAux___closed__4; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_Term_elabLetDeclAux___closed__6; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_inc(x_22); -x_57 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_57, 0, x_22); -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_elabLetDeclAux___closed__8; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -lean_inc(x_23); -x_61 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_61, 0, x_23); -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_53); -x_64 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; -x_65 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_64, x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_25 = x_66; -goto block_48; +lean_dec(x_43); +x_46 = l_Lean_Elab_Term_elabLetDeclAux___lambda__6(x_8, x_24, x_4, x_23, x_22, x_7, x_1, x_5, x_6, x_44, x_9, x_10, x_11, x_12, x_13, x_14, x_45); +lean_dec(x_44); +return x_46; } } } else { -uint8_t x_80; +uint8_t x_59; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -25665,23 +24490,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_18); -if (x_80 == 0) +x_59 = !lean_is_exclusive(x_18); +if (x_59 == 0) { return x_18; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_18, 0); -x_82 = lean_ctor_get(x_18, 1); -lean_inc(x_82); -lean_inc(x_81); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_18, 0); +x_61 = lean_ctor_get(x_18, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_18); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } @@ -25721,6 +24546,36 @@ x_15 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_14, x_2, x_3, x_4, x_5, x_6 return x_15; } } +lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_1); +lean_dec(x_1); +x_19 = lean_unbox(x_6); +lean_dec(x_6); +x_20 = l_Lean_Elab_Term_elabLetDeclAux___lambda__6(x_18, x_2, x_3, x_4, x_5, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +return x_20; +} +} lean_object* l_Lean_Elab_Term_elabLetDeclAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { @@ -25784,6 +24639,15 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_expandLetEqnsDecl___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_expandLetEqnsDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -25805,7 +24669,7 @@ x_14 = lean_unsigned_to_nat(2u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = l_Lean_Elab_Term_elabLetDeclAux___closed__7; x_17 = l_Lean_mkAtomFrom(x_1, x_16); -x_18 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; +x_18 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__3; x_19 = lean_array_push(x_18, x_11); x_20 = lean_array_push(x_19, x_13); x_21 = lean_array_push(x_20, x_15); @@ -25834,7 +24698,7 @@ x_32 = lean_unsigned_to_nat(2u); x_33 = l_Lean_Syntax_getArg(x_1, x_32); x_34 = l_Lean_Elab_Term_elabLetDeclAux___closed__7; x_35 = l_Lean_mkAtomFrom(x_1, x_34); -x_36 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; +x_36 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__3; x_37 = lean_array_push(x_36, x_29); x_38 = lean_array_push(x_37, x_31); x_39 = lean_array_push(x_38, x_33); @@ -26165,77 +25029,6 @@ return x_72; } } } -lean_object* l_Lean_Elab_Term_elabLetDeclCore___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; -} -} -} static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__1() { _start: { @@ -26322,7 +25115,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__10() { _start: { lean_object* x_1; -x_1 = lean_mk_string(":="); +x_1 = lean_mk_string(":"); return x_1; } } @@ -26330,21 +25123,29 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__11() { _start: { lean_object* x_1; -x_1 = lean_mk_string("let_fun"); +x_1 = lean_mk_string(":="); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__12() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("let_fun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__11; +x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__14() { _start: { lean_object* x_1; @@ -26352,20 +25153,20 @@ x_1 = lean_mk_string("Lean.Elab.Term.elabLetDeclCore"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__14() { +static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__2; -x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__13; -x_3 = lean_unsigned_to_nat(619u); +x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__14; +x_3 = lean_unsigned_to_nat(611u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__16() { _start: { lean_object* x_1; @@ -26373,12 +25174,12 @@ x_1 = lean_mk_string("let_delayed"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__16() { +static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__15; +x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -26435,7 +25236,7 @@ lean_inc(x_5); x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_27) == 0) { -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_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -26444,18 +25245,21 @@ lean_dec(x_27); x_30 = l_Lean_Syntax_setArg(x_13, x_14, x_28); lean_inc(x_1); x_31 = l_Lean_Syntax_setArg(x_1, x_12, x_30); +x_32 = 1; +x_33 = lean_box(x_32); +x_34 = lean_box(x_32); lean_inc(x_31); -lean_inc(x_1); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_32, 0, x_1); -lean_closure_set(x_32, 1, x_31); -lean_closure_set(x_32, 2, x_2); -x_33 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_31, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_29); -return x_33; +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_35, 0, x_31); +lean_closure_set(x_35, 1, x_2); +lean_closure_set(x_35, 2, x_33); +lean_closure_set(x_35, 3, x_34); +x_36 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_31, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +return x_36; } else { -uint8_t x_34; +uint8_t x_37; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -26465,274 +25269,286 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_27); -if (x_34 == 0) +x_37 = !lean_is_exclusive(x_27); +if (x_37 == 0) { return x_27; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_27, 0); -x_36 = lean_ctor_get(x_27, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_27, 0); +x_39 = lean_ctor_get(x_27, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_27); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_dec(x_18); lean_dec(x_13); -x_38 = l_Lean_Syntax_getArg(x_15, x_14); -x_39 = lean_unsigned_to_nat(2u); -x_40 = l_Lean_Syntax_getArg(x_15, x_39); -x_41 = l_Lean_Elab_Term_expandOptType(x_1, x_40); -lean_dec(x_40); -x_42 = lean_unsigned_to_nat(4u); +x_41 = l_Lean_Syntax_getArg(x_15, x_14); +x_42 = lean_unsigned_to_nat(2u); x_43 = l_Lean_Syntax_getArg(x_15, x_42); +x_44 = l_Lean_Elab_Term_expandOptType(x_1, x_43); +lean_dec(x_43); +x_45 = lean_unsigned_to_nat(4u); +x_46 = l_Lean_Syntax_getArg(x_15, x_45); lean_dec(x_15); -x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_46); +x_47 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_49); +x_50 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_49); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); lean_dec(x_50); -x_53 = l_Lean_Elab_Term_expandWhereDecls___closed__6; -lean_inc(x_45); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_56 = l_Lean_addMacroScope(x_51, x_55, x_48); -x_57 = lean_box(0); -x_58 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -lean_inc(x_45); -x_59 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_59, 0, x_45); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_57); -x_60 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; -lean_inc(x_45); -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_45); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; -x_63 = lean_array_push(x_62, x_61); -x_64 = lean_array_push(x_63, x_41); -x_65 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Elab_Term_elabLetDeclCore___closed__10; -lean_inc(x_45); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_45); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; -lean_inc(x_59); -x_74 = lean_array_push(x_73, x_59); -x_75 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; -x_76 = lean_array_push(x_74, x_75); -x_77 = lean_array_push(x_76, x_70); -x_78 = lean_array_push(x_77, x_72); -x_79 = lean_array_push(x_78, x_43); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_19); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_67, x_80); -x_82 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_53 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_Elab_Term_expandWhereDecls___closed__6; +lean_inc(x_48); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_48); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; +x_59 = l_Lean_addMacroScope(x_54, x_58, x_51); +x_60 = lean_box(0); +x_61 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +lean_inc(x_48); +x_62 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_62, 0, x_48); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set(x_62, 3, x_60); +x_63 = l_Lean_Elab_Term_elabLetDeclCore___closed__10; +lean_inc(x_48); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_48); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; +x_66 = lean_array_push(x_65, x_64); +x_67 = lean_array_push(x_66, x_44); +x_68 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; +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 = l_Lean_Elab_Term_elabLetDeclCore___closed__11; +lean_inc(x_48); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_48); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__3; +lean_inc(x_62); +x_77 = lean_array_push(x_76, x_62); +x_78 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_79 = lean_array_push(x_77, x_78); +x_80 = lean_array_push(x_79, x_73); +x_81 = lean_array_push(x_80, x_75); +x_82 = lean_array_push(x_81, x_46); x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l_Lean_Elab_Term_expandWhereDecls___closed__10; -lean_inc(x_45); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_45); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_67, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_69); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_45); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_45); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_91 = lean_array_push(x_90, x_59); -x_92 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = lean_array_push(x_67, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_69); -lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -lean_inc(x_45); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_45); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_45); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_45); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_67, x_38); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_69); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_45); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; -x_105 = lean_array_push(x_104, x_99); -x_106 = lean_array_push(x_105, x_101); -x_107 = lean_array_push(x_106, x_103); -x_108 = lean_array_push(x_107, x_17); -x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -x_111 = lean_array_push(x_67, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_69); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_67, x_112); -x_114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +lean_ctor_set(x_83, 0, x_19); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_70, x_83); +x_85 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +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_expandWhereDecls___closed__11; +lean_inc(x_48); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_48); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_70, x_88); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_72); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_48); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_48); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_94 = lean_array_push(x_93, x_62); +x_95 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_70, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_72); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_48); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_48); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_48); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_48); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_push(x_70, x_41); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_72); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_48); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_108 = lean_array_push(x_107, x_102); +x_109 = lean_array_push(x_108, x_104); +x_110 = lean_array_push(x_109, x_106); +x_111 = lean_array_push(x_110, x_17); +x_112 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_70, x_113); x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_117 = lean_array_push(x_116, x_89); -x_118 = lean_array_push(x_117, x_75); -x_119 = lean_array_push(x_118, x_95); -x_120 = lean_array_push(x_119, x_75); -x_121 = lean_array_push(x_120, x_97); -x_122 = lean_array_push(x_121, x_115); -x_123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_array_push(x_104, x_54); -x_126 = lean_array_push(x_125, x_83); -x_127 = lean_array_push(x_126, x_87); -x_128 = lean_array_push(x_127, x_124); -x_129 = l_Lean_Elab_Term_elabLetDeclCore___closed__5; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_115, 0, x_72); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_70, x_115); +x_117 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +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_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_120 = lean_array_push(x_119, x_92); +x_121 = lean_array_push(x_120, x_78); +x_122 = lean_array_push(x_121, x_98); +x_123 = lean_array_push(x_122, x_78); +x_124 = lean_array_push(x_123, x_100); +x_125 = lean_array_push(x_124, x_118); +x_126 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_array_push(x_107, x_57); +x_129 = lean_array_push(x_128, x_86); +x_130 = lean_array_push(x_129, x_90); +x_131 = lean_array_push(x_130, x_127); +x_132 = l_Lean_Elab_Term_elabLetDeclCore___closed__5; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); if (x_3 == 0) { if (x_4 == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_131 = l_Lean_Elab_Term_elabLetDeclCore___closed__12; -x_132 = l_Lean_Syntax_setKind(x_130, x_131); -lean_inc(x_132); -lean_inc(x_1); -x_133 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_133, 0, x_1); -lean_closure_set(x_133, 1, x_132); -lean_closure_set(x_133, 2, x_2); -x_134 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_132, x_133, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -return x_134; +lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_134 = l_Lean_Elab_Term_elabLetDeclCore___closed__13; +x_135 = l_Lean_Syntax_setKind(x_133, x_134); +x_136 = 1; +x_137 = lean_box(x_136); +x_138 = lean_box(x_136); +lean_inc(x_135); +x_139 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_139, 0, x_135); +lean_closure_set(x_139, 1, x_2); +lean_closure_set(x_139, 2, x_137); +lean_closure_set(x_139, 3, x_138); +x_140 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_135, x_139, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +return x_140; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_130); -x_135 = l_Lean_instInhabitedSyntax; -x_136 = l_Lean_Elab_Term_elabLetDeclCore___closed__14; -x_137 = lean_panic_fn(x_135, x_136); -lean_inc(x_137); -lean_inc(x_1); -x_138 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_138, 0, x_1); -lean_closure_set(x_138, 1, x_137); -lean_closure_set(x_138, 2, x_2); -x_139 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_138, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -return x_139; +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_133); +x_141 = l_Lean_instInhabitedSyntax; +x_142 = l_Lean_Elab_Term_elabLetDeclCore___closed__15; +x_143 = lean_panic_fn(x_141, x_142); +x_144 = 1; +x_145 = lean_box(x_144); +x_146 = lean_box(x_144); +lean_inc(x_143); +x_147 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_147, 0, x_143); +lean_closure_set(x_147, 1, x_2); +lean_closure_set(x_147, 2, x_145); +lean_closure_set(x_147, 3, x_146); +x_148 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_143, x_147, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +return x_148; } } else { if (x_4 == 0) { -lean_object* x_140; lean_object* x_141; -lean_inc(x_130); -lean_inc(x_1); -x_140 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_140, 0, x_1); -lean_closure_set(x_140, 1, x_130); -lean_closure_set(x_140, 2, x_2); -x_141 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_130, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -return x_141; +uint8_t x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_149 = 1; +x_150 = lean_box(x_149); +x_151 = lean_box(x_149); +lean_inc(x_133); +x_152 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_152, 0, x_133); +lean_closure_set(x_152, 1, x_2); +lean_closure_set(x_152, 2, x_150); +lean_closure_set(x_152, 3, x_151); +x_153 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_133, x_152, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +return x_153; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = l_Lean_Elab_Term_elabLetDeclCore___closed__16; -x_143 = l_Lean_Syntax_setKind(x_130, x_142); -lean_inc(x_143); -lean_inc(x_1); -x_144 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_144, 0, x_1); -lean_closure_set(x_144, 1, x_143); -lean_closure_set(x_144, 2, x_2); -x_145 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_143, x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -return x_145; +lean_object* x_154; lean_object* x_155; uint8_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_154 = l_Lean_Elab_Term_elabLetDeclCore___closed__17; +x_155 = l_Lean_Syntax_setKind(x_133, x_154); +x_156 = 1; +x_157 = lean_box(x_156); +x_158 = lean_box(x_156); +lean_inc(x_155); +x_159 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_159, 0, x_155); +lean_closure_set(x_159, 1, x_2); +lean_closure_set(x_159, 2, x_157); +lean_closure_set(x_159, 3, x_158); +x_160 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_155, x_159, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +return x_160; } } } } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_dec(x_18); lean_dec(x_13); lean_dec(x_1); -x_146 = l_Lean_Elab_Term_mkLetIdDeclView(x_15); +x_161 = l_Lean_Elab_Term_mkLetIdDeclView(x_15); lean_dec(x_15); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_146, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_146, 3); -lean_inc(x_150); -lean_dec(x_146); -x_151 = l_Lean_Elab_Term_elabLetDeclAux(x_147, x_148, x_149, x_150, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_151; +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +x_164 = lean_ctor_get(x_161, 2); +lean_inc(x_164); +x_165 = lean_ctor_get(x_161, 3); +lean_inc(x_165); +lean_dec(x_161); +x_166 = l_Lean_Elab_Term_elabLetDeclAux(x_162, x_163, x_164, x_165, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_166; } } } @@ -26848,7 +25664,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Elab_Term_elabLetDeclCore___closed__12; +x_3 = l_Lean_Elab_Term_elabLetDeclCore___closed__13; x_4 = l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -26895,14 +25711,14 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Elab_Term_elabLetDeclCore___closed__16; +x_3 = l_Lean_Elab_Term_elabLetDeclCore___closed__17; x_4 = l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5615_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26914,6 +25730,7 @@ return x_3; lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Quotation_Precheck(lean_object*); lean_object* initialize_Lean_Elab_Term(lean_object*); +lean_object* initialize_Lean_Elab_BindersUtil(lean_object*); lean_object* initialize_Lean_Parser_Term(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Binders(lean_object* w) { @@ -26929,6 +25746,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_BindersUtil(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Parser_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -26936,6 +25756,8 @@ l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__1); l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2); +l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__2(); @@ -26956,6 +25778,8 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1 = _in lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2); +l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__2(); @@ -27056,22 +25880,22 @@ l_Lean_Elab_Term_quoteAutoTactic___closed__38 = _init_l_Lean_Elab_Term_quoteAuto lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__38); l_Lean_Elab_Term_quoteAutoTactic___closed__39 = _init_l_Lean_Elab_Term_quoteAutoTactic___closed__39(); lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__39); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__1); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__5); +l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6 = _init_l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6); l_Lean_Elab_Term_declareTacticSyntax___closed__1 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__1); l_Lean_Elab_Term_declareTacticSyntax___closed__2 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__2); -l_Lean_Elab_Term_declareTacticSyntax___closed__3 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__3); -l_Lean_Elab_Term_declareTacticSyntax___closed__4 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__4); -l_Lean_Elab_Term_declareTacticSyntax___closed__5 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__5); -l_Lean_Elab_Term_declareTacticSyntax___closed__6 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__6); -l_Lean_Elab_Term_declareTacticSyntax___closed__7 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__7); -l_Lean_Elab_Term_declareTacticSyntax___closed__8 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__8); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1(); @@ -27142,19 +25966,19 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed_ lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094____closed__5); l_Lean_Elab_Term_checkBinderAnnotations___closed__1 = _init_l_Lean_Elab_Term_checkBinderAnnotations___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1094_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_checkBinderAnnotations = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations); @@ -27186,34 +26010,14 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabForall___closed__5); res = l___regBuiltin_Lean_Elab_Term_elabForall(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__1); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__2); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__3 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__3); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__4 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__4); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__5 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__5); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__6 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__6); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__7 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__7); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__8 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__8); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__9 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__9); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__10 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__10); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__11 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__11); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__12 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__12); -l_Lean_Elab_Term_elabArrow___lambda__1___closed__13 = _init_l_Lean_Elab_Term_elabArrow___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_elabArrow___lambda__1___closed__13); l_Lean_Elab_Term_elabArrow___closed__1 = _init_l_Lean_Elab_Term_elabArrow___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabArrow___closed__1); +l_Lean_Elab_Term_elabArrow___closed__2 = _init_l_Lean_Elab_Term_elabArrow___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabArrow___closed__2); +l_Lean_Elab_Term_elabArrow___closed__3 = _init_l_Lean_Elab_Term_elabArrow___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabArrow___closed__3); +l_Lean_Elab_Term_elabArrow___closed__4 = _init_l_Lean_Elab_Term_elabArrow___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabArrow___closed__4); l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1); l___regBuiltin_Lean_Elab_Term_elabArrow___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabArrow___closed__2(); @@ -27272,6 +26076,10 @@ l_Lean_Elab_Term_expandFunBinders_loop___closed__14 = _init_l_Lean_Elab_Term_exp lean_mark_persistent(l_Lean_Elab_Term_expandFunBinders_loop___closed__14); l_Lean_Elab_Term_expandFunBinders_loop___closed__15 = _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__15(); lean_mark_persistent(l_Lean_Elab_Term_expandFunBinders_loop___closed__15); +l_Lean_Elab_Term_expandFunBinders_loop___closed__16 = _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBinders_loop___closed__16); +l_Lean_Elab_Term_expandFunBinders_loop___closed__17 = _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBinders_loop___closed__17); l_Lean_Elab_Term_FunBinders_State_fvars___default = _init_l_Lean_Elab_Term_FunBinders_State_fvars___default(); lean_mark_persistent(l_Lean_Elab_Term_FunBinders_State_fvars___default); l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default = _init_l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default(); @@ -27302,6 +26110,8 @@ l_Lean_Elab_Term_expandWhereDecls___closed__9 = _init_l_Lean_Elab_Term_expandWhe lean_mark_persistent(l_Lean_Elab_Term_expandWhereDecls___closed__9); l_Lean_Elab_Term_expandWhereDecls___closed__10 = _init_l_Lean_Elab_Term_expandWhereDecls___closed__10(); lean_mark_persistent(l_Lean_Elab_Term_expandWhereDecls___closed__10); +l_Lean_Elab_Term_expandWhereDecls___closed__11 = _init_l_Lean_Elab_Term_expandWhereDecls___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_expandWhereDecls___closed__11); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2(); @@ -27395,6 +26205,8 @@ l_Lean_Elab_Term_expandLetEqnsDecl___closed__1 = _init_l_Lean_Elab_Term_expandLe lean_mark_persistent(l_Lean_Elab_Term_expandLetEqnsDecl___closed__1); l_Lean_Elab_Term_expandLetEqnsDecl___closed__2 = _init_l_Lean_Elab_Term_expandLetEqnsDecl___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_expandLetEqnsDecl___closed__2); +l_Lean_Elab_Term_expandLetEqnsDecl___closed__3 = _init_l_Lean_Elab_Term_expandLetEqnsDecl___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_expandLetEqnsDecl___closed__3); l_Lean_Elab_Term_elabLetDeclCore___closed__1 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___closed__1); l_Lean_Elab_Term_elabLetDeclCore___closed__2 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__2(); @@ -27427,6 +26239,8 @@ l_Lean_Elab_Term_elabLetDeclCore___closed__15 = _init_l_Lean_Elab_Term_elabLetDe lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___closed__15); l_Lean_Elab_Term_elabLetDeclCore___closed__16 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__16(); lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___closed__16); +l_Lean_Elab_Term_elabLetDeclCore___closed__17 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___closed__17); l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1); l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__2(); @@ -27454,7 +26268,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__ res = l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5615_(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/BindersUtil.c b/stage0/stdlib/Lean/Elab/BindersUtil.c new file mode 100644 index 0000000000..b62fa5fddb --- /dev/null +++ b/stage0/stdlib/Lean/Elab/BindersUtil.c @@ -0,0 +1,67 @@ +// Lean compiler output +// Module: Lean.Elab.BindersUtil +// Imports: Init +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); +lean_object* l_Lean_mkHole(lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandOptType(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_Lean_Syntax_isNone(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_2, x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = l_Lean_Syntax_getArg(x_5, x_6); +lean_dec(x_5); +return x_7; +} +else +{ +lean_object* x_8; +x_8 = l_Lean_mkHole(x_1); +return x_8; +} +} +} +lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Term_expandOptType(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Init(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_BindersUtil(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 2f9391cb67..756744088f 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -20,8 +20,7 @@ lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_obje lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__9; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); size_t l_USize_add(size_t, size_t); @@ -32,13 +31,11 @@ static lean_object* l_Lean_Elab_Term_expandCDot_x3f_go___closed__2; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__8; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1; static lean_object* l_Lean_Elab_Term_expandShow___closed__18; lean_object* l_Lean_mkSort(lean_object*); static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1; @@ -57,20 +54,22 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); 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_elabCDotFunctionAlias_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__1; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2___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_elabSubst_match__1___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__6; +lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__11; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__3; @@ -78,7 +77,6 @@ static lean_object* l_Lean_Elab_Term_expandHave___closed__8; lean_object* l_Lean_Elab_Term_elabSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandSuffices___closed__3; static lean_object* l_Lean_Elab_Term_expandHave___lambda__5___closed__1; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__7; static lean_object* l_Lean_Elab_Term_expandParen___closed__14; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; lean_object* l_Lean_Elab_Term_expandHave___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,7 +91,6 @@ static lean_object* l_Lean_Elab_Term_expandHave___closed__4; lean_object* l_Lean_Elab_Term_elabLeadingParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst___closed__2; lean_object* l_Lean_Elab_Term_expandAssert_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,7 +107,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex(lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__7; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__2; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15; lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__13; @@ -119,6 +115,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__6; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___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_expr_instantiate1(lean_object*, lean_object*); @@ -155,7 +152,6 @@ static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__1; lean_object* l_Lean_Elab_Term_expandCDot_x3f_go_match__1(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__3; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,7 +164,6 @@ extern lean_object* l_Lean_nameLitKind; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2; static lean_object* l_Lean_Elab_Term_expandShow___closed__1; static lean_object* l_Lean_Elab_Term_expandParen___closed__7; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14; lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__18; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__3; @@ -187,7 +182,6 @@ static lean_object* l_Lean_Elab_Term_expandCDot_x3f_go___closed__3; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__8; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; lean_object* l_Lean_Meta_DiscrTree_mkNoindexAnnotation(lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__1; static lean_object* l_Lean_Elab_Term_expandShow___closed__16; lean_object* l_Lean_Elab_Term_expandHave___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -214,7 +208,7 @@ lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__16; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__4; @@ -229,6 +223,7 @@ static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__10; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14; static lean_object* l_Lean_Elab_Term_expandShow___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow___closed__2; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); @@ -245,18 +240,20 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__2; lean_object* l_Lean_Elab_Term_expandShow___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__3; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6; lean_object* l_Lean_Elab_Term_expandDbgTrace(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__2; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__5; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__17; lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; @@ -294,8 +291,6 @@ uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6 lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_expandCDot_x3f_go___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__3; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__8; -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___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*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor(lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__13; lean_object* l_Nat_repr(lean_object*); @@ -328,6 +323,7 @@ lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__9; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandShow(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__21; @@ -337,13 +333,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___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_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__2; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__1; extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__16; static lean_object* l_Lean_Elab_Term_expandShow___closed__29; static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__15; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__18; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__24; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__7; @@ -369,6 +365,7 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le lean_object* l_Lean_Elab_Term_expandSuffices___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__11; lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed(lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___boxed(lean_object*, lean_object*, lean_object*); @@ -394,7 +391,6 @@ lean_object* l_Lean_Elab_Term_elabStateRefT___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__12; static lean_object* l_Lean_Elab_Term_elabSorry___closed__14; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9; static lean_object* l_Lean_Elab_Term_expandHave___lambda__3___closed__1; lean_object* l_Lean_Elab_Term_expandHave___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_beq___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___spec__1(lean_object*, lean_object*); @@ -405,7 +401,6 @@ lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, l extern lean_object* l_Lean_Elab_Term_termElabAttribute; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); 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*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__4; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__2; @@ -417,7 +412,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___b lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__3; lean_object* l_Lean_Elab_Term_elabPanic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__2; @@ -445,6 +439,7 @@ static lean_object* l_Lean_Elab_Term_elabSorry___closed__17; lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__8; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__16; @@ -460,6 +455,7 @@ static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__18; static lean_object* l_Lean_Elab_Term_expandShow___closed__20; +lean_object* l_Lean_Elab_Term_elabTerm___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_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -476,7 +472,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__4; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__10; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11; static lean_object* l_Lean_Elab_Term_elabSorry___closed__5; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__15; static lean_object* l_Lean_Elab_Term_elabSorry___closed__3; @@ -501,6 +496,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_expandHave___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__5; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__2; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -526,11 +522,13 @@ static lean_object* l_Lean_Elab_Term_elabSubst___closed__4; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__3; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__9; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___closed__2; static lean_object* l_Lean_Elab_Term_elabPanic___closed__9; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__26; static lean_object* l_Lean_Elab_Term_elabPanic___closed__1; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -546,7 +544,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__3; lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; static lean_object* l_Lean_Elab_Term_elabSorry___closed__9; -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___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*); static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__14; lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); @@ -566,6 +563,7 @@ static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__14; lean_object* l_Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__3; lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*); @@ -586,9 +584,9 @@ static lean_object* l_Lean_Elab_Term_elabSubst___closed__8; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__7; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__16; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7; static lean_object* l_Lean_Elab_Term_expandAssert___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__2; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__23; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__11; @@ -601,6 +599,7 @@ lean_object* l_Lean_Elab_Term_expandHave_match__1___rarg(lean_object*, lean_obje lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__6; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13; lean_object* l_Lean_Elab_Term_elabBorrowed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__1; @@ -647,7 +646,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunc lean_object* l_Lean_Elab_Term_expandHave___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__4; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_expandShow___closed__22; @@ -655,6 +653,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__2; lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__4; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1180,89 +1179,21 @@ return x_24; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = 1; +x_12 = lean_box(x_11); +x_13 = lean_box(x_11); lean_inc(x_3); -lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lambda__2), 10, 3); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_2); -x_12 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_14, 0, x_3); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_12); +lean_closure_set(x_14, 3, x_13); +x_15 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_2, x_3, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_15; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -1270,7 +1201,7 @@ x_1 = lean_mk_string("⟨"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -1278,17 +1209,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -1297,7 +1228,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -1305,19 +1236,19 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___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_Elab_Term_elabAnonymousCtor___lambda__4___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7() { _start: { lean_object* x_1; @@ -1325,7 +1256,7 @@ x_1 = lean_mk_string("⟩"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -1334,7 +1265,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9() { _start: { lean_object* x_1; @@ -1342,7 +1273,7 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -1351,7 +1282,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11() { _start: { lean_object* x_1; @@ -1359,16 +1290,16 @@ x_1 = lean_mk_string("invalid constructor ⟨...⟩, insufficient number of argu return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13() { _start: { lean_object* x_1; @@ -1376,16 +1307,16 @@ x_1 = lean_mk_string("' does not have explicit fields, but #"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15() { _start: { lean_object* x_1; @@ -1393,16 +1324,16 @@ x_1 = lean_mk_string(" provided"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; uint8_t x_17; @@ -1435,7 +1366,7 @@ x_28 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_27); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1; +x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1; lean_inc(x_24); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_24); @@ -1447,23 +1378,23 @@ x_34 = lean_usize_of_nat(x_33); lean_dec(x_33); x_35 = 0; x_36 = x_32; -x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_34, x_35, x_36); +x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_34, x_35, x_36); x_38 = x_37; -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6; +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6; x_40 = l_Lean_mkSepArray(x_38, x_39); lean_dec(x_38); -x_41 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_41 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_42 = l_Array_append___rarg(x_41, x_40); lean_dec(x_40); -x_43 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_43 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__7; +x_45 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7; x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_24); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_47 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_48 = lean_array_push(x_47, x_31); x_49 = lean_array_push(x_48, x_44); x_50 = lean_array_push(x_49, x_46); @@ -1486,21 +1417,21 @@ x_59 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_58); x_60 = lean_ctor_get(x_59, 1); lean_inc(x_60); lean_dec(x_59); -x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9; +x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; x_62 = lean_name_mk_string(x_6, x_61); -x_63 = l_Lean_mkCIdentFrom(x_1, x_7); +x_63 = l_Lean_mkCIdentFrom(x_2, x_7); x_64 = l_Array_append___rarg(x_41, x_54); lean_dec(x_54); x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_43); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_67 = lean_array_push(x_66, x_63); x_68 = lean_array_push(x_67, x_65); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_62); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_1, x_2, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_60); +x_70 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_60); return x_70; } else @@ -1513,11 +1444,11 @@ lean_dec(x_2); lean_dec(x_1); x_71 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_71, 0, x_7); -x_72 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12; +x_72 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14; +x_74 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14; x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -1527,7 +1458,7 @@ lean_ctor_set(x_77, 0, x_76); x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_75); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16; +x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -1574,23 +1505,23 @@ x_90 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_89); x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9; +x_92 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; x_93 = lean_name_mk_string(x_6, x_92); -x_94 = l_Lean_mkCIdentFrom(x_1, x_7); -x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_94 = l_Lean_mkCIdentFrom(x_2, x_7); +x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_96 = l_Array_append___rarg(x_95, x_3); lean_dec(x_3); -x_97 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_97 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_100 = lean_array_push(x_99, x_94); x_101 = lean_array_push(x_100, x_98); x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_93); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_1, x_2, x_102, x_9, x_10, x_11, x_12, x_13, x_14, x_91); +x_103 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_102, x_9, x_10, x_11, x_12, x_13, x_14, x_91); return x_103; } } @@ -1976,7 +1907,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_dec(x_59); x_61 = l_Lean_Elab_Term_elabAnonymousCtor___closed__6; x_62 = lean_box(0); -x_63 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4(x_1, x_2, x_58, x_56, x_10, x_61, x_48, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_57); +x_63 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_2, x_1, x_58, x_56, x_10, x_61, x_48, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_57); lean_dec(x_56); return x_63; } @@ -1988,7 +1919,7 @@ lean_dec(x_2); lean_dec(x_1); x_64 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_64, 0, x_48); -x_65 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12; +x_65 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; x_66 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); @@ -2012,7 +1943,7 @@ lean_ctor_set(x_75, 0, x_74); x_76 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_76, 0, x_73); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16; +x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); @@ -2309,11 +2240,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_8); lean_dec(x_4); return x_16; @@ -2704,8 +2635,8 @@ static lean_object* _init_l_Lean_Elab_Term_expandShow___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___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); @@ -2851,7 +2782,7 @@ return x_24; else { lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) { @@ -2869,9 +2800,9 @@ lean_ctor_set(x_31, 0, x_27); lean_ctor_set(x_31, 1, x_30); x_32 = l_Lean_Syntax_getHeadInfo_x3f(x_19); lean_dec(x_19); -x_33 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_33 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_34 = lean_array_push(x_33, x_31); -x_35 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_35 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_36 = lean_array_push(x_35, x_29); x_37 = lean_array_push(x_36, x_9); if (lean_obj_tag(x_32) == 0) @@ -2945,9 +2876,9 @@ lean_ctor_set(x_62, 0, x_57); lean_ctor_set(x_62, 1, x_61); x_63 = l_Lean_Syntax_getHeadInfo_x3f(x_19); lean_dec(x_19); -x_64 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_64 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_65 = lean_array_push(x_64, x_62); -x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_67 = lean_array_push(x_66, x_60); x_68 = lean_array_push(x_67, x_9); if (lean_obj_tag(x_63) == 0) @@ -3016,7 +2947,7 @@ lean_dec(x_11); x_91 = l_Lean_Elab_Term_expandShow___closed__14; x_92 = l_Lean_mkIdentFrom(x_1, x_91); lean_dec(x_1); -x_93 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_93 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_94 = !lean_is_exclusive(x_93); if (x_94 == 0) { @@ -3032,7 +2963,7 @@ lean_inc(x_95); x_99 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_99, 0, x_95); lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_100 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_101 = lean_array_push(x_100, x_99); x_102 = lean_array_push(x_101, x_9); x_103 = l_Lean_Elab_Term_expandShow___closed__23; @@ -3041,7 +2972,7 @@ lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); x_105 = l_Lean_Elab_Term_expandShow___closed__25; x_106 = lean_array_push(x_105, x_104); -x_107 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_107 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); lean_ctor_set(x_108, 1, x_106); @@ -3105,7 +3036,7 @@ lean_inc(x_134); x_139 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_139, 0, x_134); lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_140 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_141 = lean_array_push(x_140, x_139); x_142 = lean_array_push(x_141, x_9); x_143 = l_Lean_Elab_Term_expandShow___closed__23; @@ -3114,7 +3045,7 @@ lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_142); x_145 = l_Lean_Elab_Term_expandShow___closed__25; x_146 = lean_array_push(x_145, x_144); -x_147 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_147 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_146); @@ -3248,7 +3179,7 @@ static lean_object* _init_l_Lean_Elab_Term_expandHave___lambda__1___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } @@ -3257,7 +3188,7 @@ static lean_object* _init_l_Lean_Elab_Term_expandHave___lambda__1___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_2 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3271,7 +3202,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_8, x_9); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_8, x_9); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -3303,7 +3234,7 @@ lean_ctor_set(x_27, 0, x_14); lean_ctor_set(x_27, 1, x_26); x_28 = l_Lean_Elab_Term_expandShow___closed__25; x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -3346,14 +3277,14 @@ x_48 = l_Lean_Elab_Term_expandShow___closed__24; x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_14); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_51 = lean_array_push(x_50, x_49); x_52 = lean_array_push(x_51, x_45); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_47); lean_ctor_set(x_53, 1, x_52); x_54 = lean_array_push(x_28, x_53); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_56 = l_Array_append___rarg(x_55, x_54); lean_dec(x_54); x_57 = lean_alloc_ctor(1, 2, 0); @@ -3413,7 +3344,7 @@ lean_ctor_set(x_82, 0, x_68); lean_ctor_set(x_82, 1, x_81); x_83 = l_Lean_Elab_Term_expandShow___closed__25; x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_85 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -3458,14 +3389,14 @@ x_104 = l_Lean_Elab_Term_expandShow___closed__24; x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_68); lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_106 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_107 = lean_array_push(x_106, x_105); x_108 = lean_array_push(x_107, x_101); x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_103); lean_ctor_set(x_109, 1, x_108); x_110 = lean_array_push(x_83, x_109); -x_111 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_111 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_112 = l_Array_append___rarg(x_111, x_110); lean_dec(x_110); x_113 = lean_alloc_ctor(1, 2, 0); @@ -3556,7 +3487,7 @@ _start: lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_unsigned_to_nat(3u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_11); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -3567,15 +3498,15 @@ lean_inc(x_16); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_20 = lean_array_push(x_19, x_2); x_21 = l_Lean_Elab_Term_expandShow___closed__21; x_22 = lean_array_push(x_20, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_26 = lean_array_push(x_25, x_24); x_27 = l_Lean_Elab_Term_expandShow___closed__28; lean_inc(x_16); @@ -3631,7 +3562,7 @@ x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_46); lean_ctor_set(x_51, 1, x_50); x_52 = lean_array_push(x_29, x_51); -x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_54 = l_Array_append___rarg(x_53, x_52); lean_dec(x_52); x_55 = lean_alloc_ctor(1, 2, 0); @@ -3669,15 +3600,15 @@ lean_inc(x_65); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_65); lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_69 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_70 = lean_array_push(x_69, x_2); x_71 = l_Lean_Elab_Term_expandShow___closed__21; x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_73 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_76 = lean_array_push(x_75, x_74); x_77 = l_Lean_Elab_Term_expandShow___closed__28; lean_inc(x_65); @@ -3735,7 +3666,7 @@ x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_97); lean_ctor_set(x_102, 1, x_101); x_103 = lean_array_push(x_79, x_102); -x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_105 = l_Array_append___rarg(x_104, x_103); lean_dec(x_103); x_106 = lean_alloc_ctor(1, 2, 0); @@ -3861,7 +3792,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = l_Lean_Syntax_getArgs(x_2); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_8, x_9); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_8, x_9); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -3880,10 +3811,10 @@ x_20 = lean_name_mk_string(x_3, x_19); x_21 = l_Lean_Elab_Term_expandHave___lambda__5___closed__1; lean_inc(x_3); x_22 = lean_name_mk_string(x_3, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_24 = l_Array_append___rarg(x_23, x_12); lean_dec(x_12); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -3937,7 +3868,7 @@ x_49 = l_Lean_Elab_Term_expandShow___closed__24; x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_15); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_51 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_52 = lean_array_push(x_51, x_50); x_53 = lean_array_push(x_52, x_46); x_54 = lean_alloc_ctor(1, 2, 0); @@ -3989,10 +3920,10 @@ x_73 = lean_name_mk_string(x_3, x_72); x_74 = l_Lean_Elab_Term_expandHave___lambda__5___closed__1; lean_inc(x_3); x_75 = lean_name_mk_string(x_3, x_74); -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_77 = l_Array_append___rarg(x_76, x_12); lean_dec(x_12); -x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -4048,7 +3979,7 @@ x_103 = l_Lean_Elab_Term_expandShow___closed__24; x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_67); lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_105 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_106 = lean_array_push(x_105, x_104); x_107 = lean_array_push(x_106, x_100); x_108 = lean_alloc_ctor(1, 2, 0); @@ -4157,7 +4088,7 @@ _start: lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_unsigned_to_nat(3u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_11); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -4168,11 +4099,11 @@ lean_inc(x_16); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_20 = lean_array_push(x_19, x_2); x_21 = l_Lean_Elab_Term_expandShow___closed__21; x_22 = lean_array_push(x_20, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -4237,7 +4168,7 @@ x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_48); lean_ctor_set(x_53, 1, x_52); x_54 = lean_array_push(x_31, x_53); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_56 = l_Array_append___rarg(x_55, x_54); lean_dec(x_54); x_57 = lean_alloc_ctor(1, 2, 0); @@ -4276,11 +4207,11 @@ lean_inc(x_68); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_68); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_72 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_73 = lean_array_push(x_72, x_2); x_74 = l_Lean_Elab_Term_expandShow___closed__21; x_75 = lean_array_push(x_73, x_74); -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); @@ -4347,7 +4278,7 @@ x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_102); lean_ctor_set(x_107, 1, x_106); x_108 = lean_array_push(x_84, x_107); -x_109 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_109 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_110 = l_Array_append___rarg(x_109, x_108); lean_dec(x_108); x_111 = lean_alloc_ctor(1, 2, 0); @@ -4433,7 +4364,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = l_Lean_Syntax_getArgs(x_2); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_8, x_9); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_8, x_9); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -4452,10 +4383,10 @@ x_20 = lean_name_mk_string(x_3, x_19); x_21 = l_Lean_Elab_Term_expandShow___closed__19; lean_inc(x_3); x_22 = lean_name_mk_string(x_3, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_24 = l_Array_append___rarg(x_23, x_12); lean_dec(x_12); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -4516,7 +4447,7 @@ x_53 = l_Lean_Elab_Term_expandShow___closed__24; x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_15); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_56 = lean_array_push(x_55, x_54); x_57 = lean_array_push(x_56, x_50); x_58 = lean_alloc_ctor(1, 2, 0); @@ -4569,10 +4500,10 @@ x_78 = lean_name_mk_string(x_3, x_77); x_79 = l_Lean_Elab_Term_expandShow___closed__19; lean_inc(x_3); x_80 = lean_name_mk_string(x_3, x_79); -x_81 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_81 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_82 = l_Array_append___rarg(x_81, x_12); lean_dec(x_12); -x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -4635,7 +4566,7 @@ x_112 = l_Lean_Elab_Term_expandShow___closed__24; x_113 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_113, 0, x_72); lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_114 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_115 = lean_array_push(x_114, x_113); x_116 = lean_array_push(x_115, x_109); x_117 = lean_alloc_ctor(1, 2, 0); @@ -5504,7 +5435,7 @@ _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; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_11 = lean_unsigned_to_nat(3u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_9, x_10); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_9, x_10); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -5537,7 +5468,7 @@ lean_inc(x_14); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_14); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_28 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_29 = lean_array_push(x_28, x_27); x_30 = lean_array_push(x_29, x_3); x_31 = lean_alloc_ctor(1, 2, 0); @@ -5545,7 +5476,7 @@ lean_ctor_set(x_31, 0, x_25); lean_ctor_set(x_31, 1, x_30); x_32 = l_Lean_Elab_Term_expandShow___closed__25; x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_34 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); @@ -5569,7 +5500,7 @@ x_44 = lean_array_push(x_43, x_19); if (lean_obj_tag(x_7) == 0) { lean_object* x_76; -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_45 = x_76; goto block_75; } @@ -5588,7 +5519,7 @@ goto block_75; block_75: { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_46 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_46 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_47 = l_Array_append___rarg(x_46, x_45); lean_dec(x_45); x_48 = lean_alloc_ctor(1, 2, 0); @@ -5680,7 +5611,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_unsigned_to_nat(3u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_7, x_8); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_7, x_8); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -5706,7 +5637,7 @@ lean_inc(x_13); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_13); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_26 = lean_array_push(x_25, x_24); x_27 = lean_array_push(x_26, x_3); x_28 = lean_alloc_ctor(1, 2, 0); @@ -5714,7 +5645,7 @@ lean_ctor_set(x_28, 0, x_22); lean_ctor_set(x_28, 1, x_27); x_29 = l_Lean_Elab_Term_expandShow___closed__25; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_31 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -5765,7 +5696,7 @@ lean_dec(x_4); x_53 = lean_array_push(x_25, x_52); x_54 = l_Lean_Elab_Term_expandShow___closed__21; x_55 = lean_array_push(x_53, x_54); -x_56 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_56 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_57 = l_Array_append___rarg(x_56, x_55); lean_dec(x_55); x_58 = lean_alloc_ctor(1, 2, 0); @@ -5820,7 +5751,7 @@ lean_inc(x_70); x_82 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_82, 0, x_70); lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_84 = lean_array_push(x_83, x_82); x_85 = lean_array_push(x_84, x_3); x_86 = lean_alloc_ctor(1, 2, 0); @@ -5828,7 +5759,7 @@ lean_ctor_set(x_86, 0, x_80); lean_ctor_set(x_86, 1, x_85); x_87 = l_Lean_Elab_Term_expandShow___closed__25; x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_89 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); @@ -5881,7 +5812,7 @@ lean_dec(x_4); x_112 = lean_array_push(x_83, x_111); x_113 = l_Lean_Elab_Term_expandShow___closed__21; x_114 = lean_array_push(x_112, x_113); -x_115 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_115 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; x_116 = l_Array_append___rarg(x_115, x_114); lean_dec(x_114); x_117 = lean_alloc_ctor(1, 2, 0); @@ -6411,7 +6342,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__6; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -6670,10 +6601,10 @@ lean_ctor_set(x_38, 0, x_15); lean_ctor_set(x_38, 1, x_37); lean_ctor_set(x_38, 2, x_33); lean_ctor_set(x_38, 3, x_36); -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_40 = lean_array_push(x_39, x_2); x_41 = lean_array_push(x_40, x_6); -x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -6694,7 +6625,7 @@ lean_inc(x_15); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_15); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_54 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_55 = lean_array_push(x_54, x_31); lean_inc(x_55); x_56 = lean_array_push(x_55, x_51); @@ -6807,10 +6738,10 @@ lean_ctor_set(x_103, 0, x_15); lean_ctor_set(x_103, 1, x_102); lean_ctor_set(x_103, 2, x_98); lean_ctor_set(x_103, 3, x_101); -x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_105 = lean_array_push(x_104, x_2); x_106 = lean_array_push(x_105, x_6); -x_107 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_107 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); lean_ctor_set(x_108, 1, x_106); @@ -6831,7 +6762,7 @@ lean_inc(x_15); x_118 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_118, 0, x_15); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_119 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_120 = lean_array_push(x_119, x_96); lean_inc(x_120); x_121 = lean_array_push(x_120, x_116); @@ -7279,11 +7210,11 @@ lean_ctor_set(x_55, 3, x_54); x_56 = l_Lean_Elab_Term_expandShow___closed__25; lean_inc(x_26); x_57 = lean_array_push(x_56, x_26); -x_58 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_58 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_60 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_61 = lean_array_push(x_60, x_55); x_62 = lean_array_push(x_61, x_59); x_63 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; @@ -7739,11 +7670,11 @@ x_36 = lean_array_push(x_35, x_20); x_37 = lean_array_push(x_36, x_1); x_38 = lean_array_push(x_37, x_2); x_39 = lean_array_push(x_38, x_3); -x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_43 = lean_array_push(x_42, x_34); x_44 = lean_array_push(x_43, x_41); x_45 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; @@ -7775,11 +7706,11 @@ x_55 = lean_array_push(x_54, x_20); x_56 = lean_array_push(x_55, x_1); x_57 = lean_array_push(x_56, x_2); x_58 = lean_array_push(x_57, x_3); -x_59 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_59 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_62 = lean_array_push(x_61, x_53); x_63 = lean_array_push(x_62, x_60); x_64 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; @@ -8385,18 +8316,18 @@ x_49 = lean_array_push(x_48, x_40); x_50 = lean_array_push(x_49, x_44); x_51 = lean_array_push(x_50, x_47); x_52 = lean_array_push(x_51, x_11); -x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_56 = lean_array_push(x_55, x_35); x_57 = lean_array_push(x_56, x_54); x_58 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_1, x_2, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_60 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_2, x_1, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_30); return x_60; } else @@ -8460,18 +8391,18 @@ x_93 = lean_array_push(x_92, x_83); x_94 = lean_array_push(x_93, x_87); x_95 = lean_array_push(x_94, x_90); x_96 = lean_array_push(x_95, x_11); -x_97 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_97 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_100 = lean_array_push(x_99, x_76); x_101 = lean_array_push(x_100, x_98); x_102 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; x_103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_101); -x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(x_1, x_2, x_103, x_3, x_4, x_5, x_6, x_7, x_8, x_71); +x_104 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_2, x_1, x_103, x_3, x_4, x_5, x_6, x_7, x_8, x_71); return x_104; } } @@ -8606,7 +8537,7 @@ lean_object* l_Lean_Elab_Term_expandUnreachable___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_1, x_2); x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) { @@ -8627,7 +8558,7 @@ x_12 = l_Lean_Elab_Term_expandUnreachable___rarg___closed__3; x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_14 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_15 = lean_array_push(x_14, x_7); x_16 = lean_array_push(x_15, x_13); x_17 = l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2; @@ -8660,7 +8591,7 @@ x_27 = l_Lean_Elab_Term_expandUnreachable___rarg___closed__3; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_30 = lean_array_push(x_29, x_22); x_31 = lean_array_push(x_30, x_28); x_32 = l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2; @@ -8893,7 +8824,7 @@ x_8 = l_Lean_Syntax_reprint(x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -8935,11 +8866,11 @@ x_26 = l_Lean_Elab_Term_expandUnreachable___rarg___closed__3; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_28 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_29 = lean_array_push(x_28, x_27); x_30 = l_Lean_Elab_Term_expandShow___closed__21; x_31 = lean_array_push(x_29, x_30); -x_32 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_32 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -8947,7 +8878,7 @@ x_34 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_11); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_36 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_37 = lean_array_push(x_36, x_21); x_38 = lean_array_push(x_37, x_33); x_39 = lean_array_push(x_38, x_35); @@ -9019,11 +8950,11 @@ x_71 = l_Lean_Elab_Term_expandUnreachable___rarg___closed__3; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); -x_73 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_73 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_74 = lean_array_push(x_73, x_72); x_75 = l_Lean_Elab_Term_expandShow___closed__21; x_76 = lean_array_push(x_74, x_75); -x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); @@ -9031,7 +8962,7 @@ x_79 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_55); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_81 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_82 = lean_array_push(x_81, x_66); x_83 = lean_array_push(x_82, x_78); x_84 = lean_array_push(x_83, x_80); @@ -9068,7 +8999,7 @@ lean_object* x_101; lean_object* x_102; uint8_t x_103; x_101 = lean_ctor_get(x_8, 0); lean_inc(x_101); lean_dec(x_8); -x_102 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_102 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_103 = !lean_is_exclusive(x_102); if (x_103 == 0) { @@ -9118,7 +9049,7 @@ lean_ctor_set(x_122, 1, x_121); x_123 = lean_box(2); x_124 = l_Lean_Syntax_mkStrLit(x_101, x_123); lean_dec(x_101); -x_125 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_125 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_126 = lean_array_push(x_125, x_120); x_127 = lean_array_push(x_126, x_122); x_128 = lean_array_push(x_127, x_124); @@ -9126,11 +9057,11 @@ x_129 = l_Lean_Elab_Term_expandAssert___closed__9; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_131 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_132 = lean_array_push(x_131, x_130); x_133 = l_Lean_Elab_Term_expandShow___closed__21; x_134 = lean_array_push(x_132, x_133); -x_135 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_135 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); @@ -9217,7 +9148,7 @@ lean_ctor_set(x_176, 1, x_175); x_177 = lean_box(2); x_178 = l_Lean_Syntax_mkStrLit(x_101, x_177); lean_dec(x_101); -x_179 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_179 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_180 = lean_array_push(x_179, x_174); x_181 = lean_array_push(x_180, x_176); x_182 = lean_array_push(x_181, x_178); @@ -9225,11 +9156,11 @@ x_183 = l_Lean_Elab_Term_expandAssert___closed__9; x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_183); lean_ctor_set(x_184, 1, x_182); -x_185 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_185 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_186 = lean_array_push(x_185, x_184); x_187 = l_Lean_Elab_Term_expandShow___closed__21; x_188 = lean_array_push(x_186, x_187); -x_189 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_189 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_190 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_190, 0, x_189); lean_ctor_set(x_190, 1, x_188); @@ -9605,7 +9536,7 @@ lean_dec(x_8); if (x_10 == 0) { lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -9645,11 +9576,11 @@ lean_ctor_set(x_27, 2, x_24); lean_ctor_set(x_27, 3, x_26); x_28 = l_Lean_Elab_Term_expandShow___closed__25; x_29 = lean_array_push(x_28, x_5); -x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_32 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_33 = lean_array_push(x_32, x_27); x_34 = lean_array_push(x_33, x_31); x_35 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; @@ -9667,7 +9598,7 @@ lean_inc(x_13); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_13); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_43 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_44 = lean_array_push(x_43, x_22); x_45 = lean_array_push(x_44, x_40); x_46 = lean_array_push(x_45, x_42); @@ -9766,11 +9697,11 @@ lean_ctor_set(x_90, 2, x_87); lean_ctor_set(x_90, 3, x_89); x_91 = l_Lean_Elab_Term_expandShow___closed__25; x_92 = lean_array_push(x_91, x_5); -x_93 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_93 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); -x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_96 = lean_array_push(x_95, x_90); x_97 = lean_array_push(x_96, x_94); x_98 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; @@ -9788,7 +9719,7 @@ lean_inc(x_75); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_75); lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_106 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_107 = lean_array_push(x_106, x_85); x_108 = lean_array_push(x_107, x_103); x_109 = lean_array_push(x_108, x_105); @@ -9851,7 +9782,7 @@ return x_138; else { lean_object* x_139; uint8_t x_140; -x_139 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_139 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_140 = !lean_is_exclusive(x_139); if (x_140 == 0) { @@ -9882,7 +9813,7 @@ lean_inc(x_141); x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_141); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_153 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_154 = lean_array_push(x_153, x_152); x_155 = lean_array_push(x_154, x_5); x_156 = l_Lean_Elab_Term_expandDbgTrace___closed__25; @@ -9892,7 +9823,7 @@ lean_ctor_set(x_157, 1, x_155); x_158 = lean_array_push(x_153, x_157); x_159 = l_Lean_Elab_Term_expandShow___closed__21; x_160 = lean_array_push(x_158, x_159); -x_161 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_161 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -9901,7 +9832,7 @@ lean_inc(x_141); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_141); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_165 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_166 = lean_array_push(x_165, x_150); x_167 = lean_array_push(x_166, x_162); x_168 = lean_array_push(x_167, x_164); @@ -9993,7 +9924,7 @@ lean_inc(x_199); x_211 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_211, 0, x_199); lean_ctor_set(x_211, 1, x_210); -x_212 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_212 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_213 = lean_array_push(x_212, x_211); x_214 = lean_array_push(x_213, x_5); x_215 = l_Lean_Elab_Term_expandDbgTrace___closed__25; @@ -10003,7 +9934,7 @@ lean_ctor_set(x_216, 1, x_214); x_217 = lean_array_push(x_212, x_216); x_218 = l_Lean_Elab_Term_expandShow___closed__21; x_219 = lean_array_push(x_217, x_218); -x_220 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_220 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_221 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_221, 0, x_220); lean_ctor_set(x_221, 1, x_219); @@ -10012,7 +9943,7 @@ lean_inc(x_199); x_223 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_223, 0, x_199); lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_224 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_225 = lean_array_push(x_224, x_209); x_226 = lean_array_push(x_225, x_221); x_227 = lean_array_push(x_226, x_223); @@ -10322,7 +10253,7 @@ return x_3; lean_object* l_Lean_Elab_Term_elabSorry(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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_10 = l_Lean_Elab_Term_elabSorry___closed__3; x_11 = 1; x_12 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -10379,10 +10310,10 @@ lean_ctor_set(x_38, 0, x_15); lean_ctor_set(x_38, 1, x_36); lean_ctor_set(x_38, 2, x_35); lean_ctor_set(x_38, 3, x_37); -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_40 = lean_array_push(x_39, x_33); x_41 = lean_array_push(x_40, x_38); -x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -10392,14 +10323,17 @@ x_46 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu 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 = 1; +x_49 = lean_box(x_48); +x_50 = lean_box(x_48); lean_inc(x_47); -lean_inc(x_1); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lambda__2), 10, 3); -lean_closure_set(x_48, 0, x_1); -lean_closure_set(x_48, 1, x_47); -lean_closure_set(x_48, 2, x_2); -x_49 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_47, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -return x_49; +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_51, 0, x_47); +lean_closure_set(x_51, 1, x_2); +lean_closure_set(x_51, 2, x_49); +lean_closure_set(x_51, 3, x_50); +x_52 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_47, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +return x_52; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry___closed__1() { @@ -10573,7 +10507,7 @@ x_10 = lean_nat_sub(x_2, x_9); lean_dec(x_2); x_11 = l_Lean_instInhabitedSyntax; x_12 = lean_array_get(x_11, x_1, x_10); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_5); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_5); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -10592,10 +10526,10 @@ lean_ctor_set(x_22, 0, x_14); lean_ctor_set(x_22, 1, x_20); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_24 = lean_array_push(x_23, x_12); x_25 = lean_array_push(x_24, x_3); -x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); @@ -11729,7 +11663,7 @@ return x_6; else { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; +x_7 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; lean_inc(x_2); x_8 = l_Lean_Elab_Term_expandCDot_x3f_go(x_1, x_7, x_2, x_3); if (lean_obj_tag(x_8) == 0) @@ -11745,7 +11679,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_9, 1); lean_inc(x_12); lean_dec(x_9); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_10); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_10); lean_dec(x_2); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) @@ -11759,7 +11693,7 @@ lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); x_18 = l_Array_append___rarg(x_7, x_12); lean_dec(x_12); -x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_19 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); @@ -11767,7 +11701,7 @@ x_21 = l_Lean_Elab_Term_expandDbgTrace___closed__23; x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_15); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_24 = lean_array_push(x_23, x_20); x_25 = lean_array_push(x_24, x_22); x_26 = lean_array_push(x_25, x_11); @@ -11775,7 +11709,7 @@ x_27 = l_Lean_Elab_Term_expandDbgTrace___closed__19; 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 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_30 = lean_array_push(x_29, x_17); x_31 = lean_array_push(x_30, x_28); x_32 = l_Lean_Elab_Term_expandDbgTrace___closed__17; @@ -11802,7 +11736,7 @@ lean_ctor_set(x_38, 0, x_35); lean_ctor_set(x_38, 1, x_37); x_39 = l_Array_append___rarg(x_7, x_12); lean_dec(x_12); -x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -11810,7 +11744,7 @@ x_42 = l_Lean_Elab_Term_expandDbgTrace___closed__23; x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_35); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_44 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_45 = lean_array_push(x_44, x_41); x_46 = lean_array_push(x_45, x_43); x_47 = lean_array_push(x_46, x_11); @@ -11818,7 +11752,7 @@ x_48 = l_Lean_Elab_Term_expandDbgTrace___closed__19; 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_elabAnonymousCtor___lambda__4___closed__10; +x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_51 = lean_array_push(x_50, x_38); x_52 = lean_array_push(x_51, x_49); x_53 = l_Lean_Elab_Term_expandDbgTrace___closed__17; @@ -12634,8 +12568,11 @@ lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { uint8_t 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_12 = !lean_is_exclusive(x_10); if (x_12 == 0) @@ -12690,8 +12627,11 @@ if (x_26 == 0) { lean_object* x_27; lean_dec(x_23); +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_27 = lean_box(0); lean_ctor_set(x_21, 0, x_27); @@ -12710,8 +12650,11 @@ if (x_31 == 0) lean_object* x_32; lean_dec(x_29); lean_dec(x_23); +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_32 = lean_box(0); lean_ctor_set(x_21, 0, x_32); @@ -12740,8 +12683,11 @@ lean_object* x_41; lean_dec(x_36); lean_dec(x_34); lean_dec(x_23); +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_41 = lean_box(0); lean_ctor_set(x_21, 0, x_41); @@ -12761,8 +12707,11 @@ lean_dec(x_42); lean_dec(x_36); lean_dec(x_34); lean_dec(x_23); +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_45 = lean_box(0); lean_ctor_set(x_21, 0, x_45); @@ -12777,7 +12726,7 @@ x_48 = l_Lean_Syntax_getArg(x_36, x_47); lean_dec(x_36); x_49 = l_Lean_Syntax_getArgs(x_34); lean_dec(x_34); -x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_51 = lean_array_push(x_50, x_46); x_52 = lean_array_push(x_51, x_48); x_53 = lean_array_get_size(x_49); @@ -12792,8 +12741,11 @@ lean_dec(x_52); lean_dec(x_49); lean_dec(x_42); lean_dec(x_23); +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_56 = lean_box(0); lean_ctor_set(x_21, 0, x_56); @@ -12810,8 +12762,11 @@ if (x_57 == 0) { lean_object* x_58; lean_dec(x_42); +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_58 = lean_box(0); lean_ctor_set(x_21, 0, x_58); @@ -12892,8 +12847,11 @@ lean_dec(x_72); lean_dec(x_36); lean_dec(x_34); lean_dec(x_23); +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_75 = lean_box(0); lean_ctor_set(x_21, 0, x_75); @@ -12920,8 +12878,11 @@ lean_dec(x_78); lean_dec(x_77); lean_dec(x_72); lean_dec(x_23); +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_82 = lean_box(0); lean_ctor_set(x_21, 0, x_82); @@ -12938,8 +12899,11 @@ if (x_83 == 0) { lean_object* x_84; lean_dec(x_72); +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_84 = lean_box(0); lean_ctor_set(x_21, 0, x_84); @@ -13023,8 +12987,11 @@ if (x_101 == 0) { lean_object* x_102; lean_object* x_103; lean_dec(x_98); +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_102 = lean_box(0); x_103 = lean_alloc_ctor(0, 2, 0); @@ -13045,8 +13012,11 @@ if (x_107 == 0) lean_object* x_108; lean_object* x_109; lean_dec(x_105); lean_dec(x_98); +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_108 = lean_box(0); x_109 = lean_alloc_ctor(0, 2, 0); @@ -13077,8 +13047,11 @@ lean_object* x_118; lean_object* x_119; lean_dec(x_113); lean_dec(x_111); lean_dec(x_98); +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_118 = lean_box(0); x_119 = lean_alloc_ctor(0, 2, 0); @@ -13100,8 +13073,11 @@ lean_dec(x_120); lean_dec(x_113); lean_dec(x_111); lean_dec(x_98); +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_123 = lean_box(0); x_124 = lean_alloc_ctor(0, 2, 0); @@ -13118,7 +13094,7 @@ x_127 = l_Lean_Syntax_getArg(x_113, x_126); lean_dec(x_113); x_128 = l_Lean_Syntax_getArgs(x_111); lean_dec(x_111); -x_129 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_129 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_130 = lean_array_push(x_129, x_125); x_131 = lean_array_push(x_130, x_127); x_132 = lean_array_get_size(x_128); @@ -13133,8 +13109,11 @@ lean_dec(x_131); lean_dec(x_128); lean_dec(x_120); lean_dec(x_98); +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_135 = lean_box(0); x_136 = lean_alloc_ctor(0, 2, 0); @@ -13153,8 +13132,11 @@ if (x_137 == 0) { lean_object* x_138; lean_object* x_139; lean_dec(x_120); +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_138 = lean_box(0); x_139 = lean_alloc_ctor(0, 2, 0); @@ -13235,8 +13217,11 @@ lean_dec(x_151); lean_dec(x_113); lean_dec(x_111); lean_dec(x_98); +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_154 = lean_box(0); x_155 = lean_alloc_ctor(0, 2, 0); @@ -13265,8 +13250,11 @@ lean_dec(x_158); lean_dec(x_157); lean_dec(x_151); lean_dec(x_98); +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_162 = lean_box(0); x_163 = lean_alloc_ctor(0, 2, 0); @@ -13285,8 +13273,11 @@ if (x_164 == 0) { lean_object* x_165; lean_object* x_166; lean_dec(x_151); +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_165 = lean_box(0); x_166 = lean_alloc_ctor(0, 2, 0); @@ -13359,8 +13350,11 @@ return x_177; else { uint8_t x_178; +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_178 = !lean_is_exclusive(x_21); if (x_178 == 0) @@ -13386,8 +13380,11 @@ return x_181; else { uint8_t x_182; +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_182 = !lean_is_exclusive(x_10); if (x_182 == 0) @@ -13527,17 +13524,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -return x_9; -} -} static lean_object* _init_l_Lean_Elab_Term_expandParen___closed__1() { _start: { @@ -13713,7 +13699,7 @@ else { lean_object* x_16; uint8_t x_17; lean_dec(x_1); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); lean_dec(x_2); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) @@ -13725,11 +13711,11 @@ lean_inc(x_18); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_21 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_22 = lean_array_push(x_21, x_9); x_23 = l_Lean_Elab_Term_expandShow___closed__21; x_24 = lean_array_push(x_22, x_23); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -13737,7 +13723,7 @@ x_27 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_18); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_30 = lean_array_push(x_29, x_20); x_31 = lean_array_push(x_30, x_26); x_32 = lean_array_push(x_31, x_28); @@ -13760,11 +13746,11 @@ lean_inc(x_34); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_34); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_38 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_39 = lean_array_push(x_38, x_9); x_40 = l_Lean_Elab_Term_expandShow___closed__21; x_41 = lean_array_push(x_39, x_40); -x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -13772,7 +13758,7 @@ x_44 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_34); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_46 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_47 = lean_array_push(x_46, x_37); x_48 = lean_array_push(x_47, x_43); x_49 = lean_array_push(x_48, x_45); @@ -13847,7 +13833,7 @@ else { lean_object* x_69; uint8_t x_70; lean_dec(x_1); -x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); lean_dec(x_2); x_70 = !lean_is_exclusive(x_69); if (x_70 == 0) @@ -13859,11 +13845,11 @@ lean_inc(x_71); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_74 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_75 = lean_array_push(x_74, x_62); x_76 = l_Lean_Elab_Term_expandShow___closed__21; x_77 = lean_array_push(x_75, x_76); -x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -13871,7 +13857,7 @@ x_80 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_71); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_82 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_83 = lean_array_push(x_82, x_73); x_84 = lean_array_push(x_83, x_79); x_85 = lean_array_push(x_84, x_81); @@ -13894,11 +13880,11 @@ lean_inc(x_87); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_87); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_91 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_92 = lean_array_push(x_91, x_62); x_93 = l_Lean_Elab_Term_expandShow___closed__21; x_94 = lean_array_push(x_92, x_93); -x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -13906,7 +13892,7 @@ x_97 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAu x_98 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_98, 0, x_87); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_100 = lean_array_push(x_99, x_90); x_101 = lean_array_push(x_100, x_96); x_102 = lean_array_push(x_101, x_98); @@ -13978,7 +13964,7 @@ else { lean_object* x_119; uint8_t x_120; lean_dec(x_1); -x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); lean_dec(x_2); x_120 = !lean_is_exclusive(x_119); if (x_120 == 0) @@ -13990,11 +13976,11 @@ lean_inc(x_121); x_123 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_123, 0, x_121); lean_ctor_set(x_123, 1, x_122); -x_124 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_124 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_125 = lean_array_push(x_124, x_112); x_126 = l_Lean_Elab_Term_expandShow___closed__21; x_127 = lean_array_push(x_125, x_126); -x_128 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_128 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); @@ -14002,7 +13988,7 @@ x_130 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_131, 0, x_121); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_132 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_133 = lean_array_push(x_132, x_123); x_134 = lean_array_push(x_133, x_129); x_135 = lean_array_push(x_134, x_131); @@ -14025,11 +14011,11 @@ lean_inc(x_137); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_137); lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_141 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_142 = lean_array_push(x_141, x_112); x_143 = l_Lean_Elab_Term_expandShow___closed__21; x_144 = lean_array_push(x_142, x_143); -x_145 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_145 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); @@ -14037,7 +14023,7 @@ x_147 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_148, 0, x_137); lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_149 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_150 = lean_array_push(x_149, x_140); x_151 = lean_array_push(x_150, x_146); x_152 = lean_array_push(x_151, x_148); @@ -14206,7 +14192,7 @@ else { lean_object* x_186; uint8_t x_187; lean_dec(x_1); -x_186 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_186 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); lean_dec(x_2); x_187 = !lean_is_exclusive(x_186); if (x_187 == 0) @@ -14218,11 +14204,11 @@ lean_inc(x_188); x_190 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_190, 0, x_188); lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_191 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_192 = lean_array_push(x_191, x_179); x_193 = l_Lean_Elab_Term_expandShow___closed__21; x_194 = lean_array_push(x_192, x_193); -x_195 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_195 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_195); lean_ctor_set(x_196, 1, x_194); @@ -14230,7 +14216,7 @@ x_197 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_198 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_198, 0, x_188); lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_199 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_200 = lean_array_push(x_199, x_190); x_201 = lean_array_push(x_200, x_196); x_202 = lean_array_push(x_201, x_198); @@ -14253,11 +14239,11 @@ lean_inc(x_204); x_207 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_207, 0, x_204); lean_ctor_set(x_207, 1, x_206); -x_208 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_208 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_209 = lean_array_push(x_208, x_179); x_210 = l_Lean_Elab_Term_expandShow___closed__21; x_211 = lean_array_push(x_209, x_210); -x_212 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_212 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); lean_ctor_set(x_213, 1, x_211); @@ -14265,7 +14251,7 @@ x_214 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_215 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_215, 0, x_204); lean_ctor_set(x_215, 1, x_214); -x_216 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_216 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_217 = lean_array_push(x_216, x_207); x_218 = lean_array_push(x_217, x_213); x_219 = lean_array_push(x_218, x_215); @@ -14458,7 +14444,7 @@ lean_dec(x_251); x_260 = lean_ctor_get(x_252, 0); lean_inc(x_260); lean_dec(x_252); -x_261 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_259); +x_261 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_259); lean_dec(x_2); x_262 = !lean_is_exclusive(x_261); if (x_262 == 0) @@ -14475,7 +14461,7 @@ lean_inc(x_263); x_267 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_267, 0, x_263); lean_ctor_set(x_267, 1, x_266); -x_268 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_268 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_269 = lean_array_push(x_268, x_267); x_270 = lean_array_push(x_269, x_250); x_271 = lean_alloc_ctor(1, 2, 0); @@ -14483,7 +14469,7 @@ lean_ctor_set(x_271, 0, x_175); lean_ctor_set(x_271, 1, x_270); x_272 = l_Lean_Elab_Term_expandShow___closed__25; x_273 = lean_array_push(x_272, x_271); -x_274 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_274 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_275 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_275, 0, x_274); lean_ctor_set(x_275, 1, x_273); @@ -14496,7 +14482,7 @@ x_279 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_280 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_280, 0, x_263); lean_ctor_set(x_280, 1, x_279); -x_281 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_281 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_282 = lean_array_push(x_281, x_265); x_283 = lean_array_push(x_282, x_278); x_284 = lean_array_push(x_283, x_280); @@ -14524,7 +14510,7 @@ lean_inc(x_286); x_291 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_291, 0, x_286); lean_ctor_set(x_291, 1, x_290); -x_292 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_292 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; x_293 = lean_array_push(x_292, x_291); x_294 = lean_array_push(x_293, x_250); x_295 = lean_alloc_ctor(1, 2, 0); @@ -14532,7 +14518,7 @@ lean_ctor_set(x_295, 0, x_175); lean_ctor_set(x_295, 1, x_294); x_296 = l_Lean_Elab_Term_expandShow___closed__25; x_297 = lean_array_push(x_296, x_295); -x_298 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3; +x_298 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; x_299 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_299, 0, x_298); lean_ctor_set(x_299, 1, x_297); @@ -14545,7 +14531,7 @@ x_303 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroA x_304 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_304, 0, x_286); lean_ctor_set(x_304, 1, x_303); -x_305 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_305 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_306 = lean_array_push(x_305, x_289); x_307 = lean_array_push(x_306, x_302); x_308 = lean_array_push(x_307, x_304); @@ -14592,7 +14578,7 @@ else lean_object* x_315; uint8_t x_316; lean_dec(x_56); lean_dec(x_1); -x_315 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_315 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_316 = !lean_is_exclusive(x_315); if (x_316 == 0) { @@ -16551,7 +16537,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; lean_inc(x_24); x_27 = lean_array_push(x_26, x_24); lean_inc(x_18); @@ -16582,7 +16568,7 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8; +x_35 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; x_36 = lean_array_push(x_35, x_24); x_37 = lean_array_push(x_36, x_1); x_38 = lean_array_push(x_37, x_18); @@ -17016,38 +17002,38 @@ l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3); l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4(); lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__1); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__3); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__7 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__7); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__8); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__9); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__11); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__12); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__13); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15); -l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15); +l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16); l_Lean_Elab_Term_elabAnonymousCtor___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__1); l_Lean_Elab_Term_elabAnonymousCtor___closed__2 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c new file mode 100644 index 0000000000..8db6189d96 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -0,0 +1,10339 @@ +// Lean compiler output +// Module: Lean.Elab.BuiltinTerm +// Imports: Init Lean.Elab.Term +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_Elab_Term_saveContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; +lean_object* l_Lean_Elab_Term_elabTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___boxed(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); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__2; +lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; +lean_object* lean_erase_macro_scopes(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__14; +lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; +lean_object* l_Lean_mkSort(lean_object*); +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21___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_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; +lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4; +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3; +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; +lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(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*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; +lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object*); +lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_getExprAssignment_x3f(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5; +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1; +lean_object* l_Lean_mkMVar(lean_object*); +uint8_t l_Lean_MetavarContext_isDelayedAssigned(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__7; +lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTypeStx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__5; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; +lean_object* lean_array_get_size(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4; +lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1; +lean_object* l_Lean_Elab_Term_elabSort___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_elabTypeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__2(lean_object*); +lean_object* l_Lean_Elab_Term_elabStrLit_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_object*); +static lean_object* l_Lean_Elab_Term_elabProp___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_object*); +uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(uint8_t, uint8_t); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4; +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__1; +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Term_elabScientificLit___boxed(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_Elab_Term_elabNumLit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabDoubleQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__10; +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; +lean_object* l_Lean_Elab_Term_elabNumLit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___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_Lean_levelZero; +lean_object* l_Lean_Elab_Term_elabStrLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5; +lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___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*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2; +lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___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* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabBadCDot___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__3; +extern lean_object* l_Lean_maxRecDepth; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(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*); +extern lean_object* l_Lean_LocalContext_empty; +lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(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_elabHole(lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5; +lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__4; +lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_object*); +lean_object* l_Lean_Elab_Term_elabLevel(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_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); +lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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* l_Lean_Elab_Term_elabEnsureExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2; +lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; +lean_object* l_Lean_Elab_Term_elabByTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4; +lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__1(lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3; +lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4; +lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; +lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); +lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; +static lean_object* l_Lean_Elab_Term_elabByTactic___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1; +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__6; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___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_elabTerm(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_elabQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2; +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5; +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabPipeCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabNoImplicitLambda___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_elabCharLit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__12; +lean_object* l_Lean_Elab_Term_elabNumLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); +uint8_t l_Lean_MetavarContext_isWellFormed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_toExprAux(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5; +lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5; +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2; +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2; +lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2; +static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5; +lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__11; +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2; +static lean_object* l_Lean_Elab_Term_elabCharLit___closed__2; +lean_object* lean_expr_dbg_to_string(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___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_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; +lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___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_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object*); +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__1; +uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Lean_Elab_Term_elabEnsureExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4___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_elabQuotedName_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4; +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabCharLit___closed__3; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19___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*); +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1; +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__10; +lean_object* l___regBuiltin_Lean_Elab_Term_elabSort(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2; +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__9; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen(lean_object*); +lean_object* l_Lean_Elab_Term_elabCharLit(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_termElabAttribute; +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3; +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___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_elabOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Elab_Term_elabHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(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*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__4; +lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1; +lean_object* l_Lean_Syntax_getSepArgs(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; +lean_object* l_Lean_mkLevelSucc(lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; +lean_object* l_Lean_Elab_Term_elabScientificLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5; +lean_object* l_Lean_Elab_Term_addDotCompletionInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__9; +static lean_object* l_Lean_Elab_Term_elabCharLit___closed__4; +lean_object* l_Lean_mkApp(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1; +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__9; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__1; +lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1; +lean_object* l_Lean_Elab_Term_elabNoImplicitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_registerSyntheticMVar(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_getKind(lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__8; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; +lean_object* l_Lean_Elab_Term_elabStrLit_match__1(lean_object*); +lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__8; +uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_Lean_Elab_Term_elabOpen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; +lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf(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_elabBadCDot(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4; +lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabCharLit___closed__1; +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__6; +static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1; +lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4; +lean_object* l_Lean_Elab_Term_elabCharLit___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_elabHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object*); +lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object*); +lean_object* l_Lean_Elab_Term_elabPipeCompletion___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_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object*); +static lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1; +lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4; +lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___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_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3; +lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__5; +static lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; +lean_object* l_Lean_Elab_Term_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabByTactic___closed__3; +static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2; +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7; +uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__13; +lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1; +static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1; +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabByTactic___closed__1; +lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(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_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; +lean_object* l_Lean_Elab_Term_elabRawNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkNatLit(lean_object*); +lean_object* l_Lean_mkStrLit(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4; +extern lean_object* l_Lean_scopedEnvExtensionsRef; +uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___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*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2; +lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabDoubleQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; +static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5; +lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabQuotedName_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_elabScientificLit_match__1(lean_object*); +lean_object* l_Lean_indentExpr(lean_object*); +lean_object* l_Lean_Elab_Term_elabStrLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4; +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4; +lean_object* lean_uint32_to_nat(uint32_t); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +lean_object* l_Lean_Elab_Term_elabScientificLit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_throwError___at_Lean_Elab_Term_elabOpen___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4; +lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3; +uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__3; +static lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabRawNatLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor_match__1(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1; +static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5; +static lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__2; +lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object*, lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +uint8_t l_Lean_Expr_isSorry(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5; +static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5; +lean_object* l_Lean_Elab_Term_elabNumLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3; +lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object*); +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5; +uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; +static lean_object* _init_l_Lean_Elab_Term_elabProp___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_mkSort(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_elabProp___rarg___closed__1; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabProp(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 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabProp___rarg), 1, 0); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_elabProp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("prop"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__10; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabProp"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabProp___boxed), 8, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__8; +x_4 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__13; +x_5 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__14; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = l_Lean_Syntax_isNone(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Elab_Term_elabLevel(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_levelZero; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_8); +return x_14; +} +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel___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_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabSort(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; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_mkSort(x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = l_Lean_mkSort(x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +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; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabSort___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_elabSort(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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sort"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabSort"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSort___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabSort(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabTypeStx(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; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_mkLevelSucc(x_14); +x_16 = l_Lean_mkSort(x_15); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_12); +x_19 = l_Lean_mkLevelSucc(x_17); +x_20 = l_Lean_mkSort(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_12); +if (x_22 == 0) +{ +return x_12; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_12); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabTypeStx___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_elabTypeStx(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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabTypeStx"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTypeStx___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +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; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid field notation, identifier or numeral expected"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; +x_13 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_11); +return x_13; +} +} +lean_object* l_Lean_Elab_Term_elabPipeCompletion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = lean_box(0); +x_13 = 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_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Expr_isSorry(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_inc(x_1); +x_18 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_15, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +lean_dec(x_1); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_15); +lean_dec(x_2); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_23; +} +} +else +{ +uint8_t x_24; +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_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +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; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("pipeCompletion"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabPipeCompletion"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPipeCompletion), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabCompletion(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; uint8_t x_12; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isIdent(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_11); +x_13 = l_Lean_Elab_Term_elabPipeCompletion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_14 = l_Lean_Elab_Term_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_box(0); +x_18 = 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_11); +x_19 = l_Lean_Elab_Term_elabTerm(x_11, x_17, x_18, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_15); +lean_dec(x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_1); +x_22 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_20, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +lean_dec(x_1); +x_26 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_25); +return x_27; +} +else +{ +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; 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_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_dec(x_19); +x_29 = 0; +x_30 = l_Lean_Elab_Term_SavedState_restore(x_15, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get(x_5, 1); +lean_inc(x_32); +x_33 = l_Lean_Syntax_getId(x_11); +lean_dec(x_11); +lean_inc(x_1); +x_34 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_34, 0, x_1); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +lean_ctor_set(x_34, 3, x_2); +lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_18); +x_35 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_unsigned_to_nat(1u); +x_38 = l_Lean_Syntax_getArg(x_1, x_37); +lean_dec(x_1); +x_39 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; +x_40 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_38); +return x_40; +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("completion"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabCompletion"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCompletion), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabHole(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_10 = 0; +x_11 = lean_box(0); +lean_inc(x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +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_Lean_Expr_mvarId_x21(x_13); +x_16 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_15, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +lean_dec(x_5); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_13); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +lean_object* l_Lean_Elab_Term_elabHole___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_elabHole(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_4); +lean_dec(x_3); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabHole"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHole___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabHole(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSyntheticHole_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabSyntheticHole_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_Lean_Elab_Term_elabSyntheticHole_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSyntheticHole_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_apply_2(x_3, x_4, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(x_1, x_2, 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_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg), 10, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("synthetic hole has already been defined with an incompatible local context"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("synthetic hole has already beend defined and delayed assigned with an incompatible local context"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("synthetic hole has already been defined and assigned to value incompatible with the current context"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabSyntheticHole(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_173; lean_object* x_174; uint8_t x_175; +x_173 = lean_unsigned_to_nat(1u); +x_174 = l_Lean_Syntax_getArg(x_1, x_173); +x_175 = l_Lean_Syntax_isIdent(x_174); +if (x_175 == 0) +{ +lean_object* x_176; +lean_dec(x_174); +x_176 = lean_box(0); +x_10 = x_176; +goto block_172; +} +else +{ +lean_object* x_177; +x_177 = l_Lean_Syntax_getId(x_174); +lean_dec(x_174); +x_10 = x_177; +goto block_172; +} +block_172: +{ +uint8_t x_11; +x_11 = l_Lean_Name_isAnonymous(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_st_ref_get(x_8, x_9); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_10); +x_18 = l_Lean_MetavarContext_findUserName_x3f(x_17, x_10); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_17); +x_19 = 2; +lean_inc(x_5); +x_20 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_19, x_10, x_5, x_6, x_7, x_8, x_16); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Expr_mvarId_x21(x_21); +x_24 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_23, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +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_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_21); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_18, 0); +lean_inc(x_29); +lean_dec(x_18); +lean_inc(x_29); +x_30 = l_Lean_mkMVar(x_29); +x_31 = l_Lean_Elab_Term_getMVarDecl(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +x_35 = lean_ctor_get(x_5, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +x_37 = l_Lean_Elab_Term_elabSyntheticHole___closed__1; +lean_inc(x_35); +lean_inc(x_36); +x_38 = l_Lean_LocalContext_isSubPrefixOf(x_36, x_35, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_free_object(x_31); +lean_dec(x_30); +lean_inc(x_17); +x_39 = l_Lean_MetavarContext_getExprAssignment_x3f(x_17, x_29); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_33); +x_40 = l_Lean_MetavarContext_isDelayedAssigned(x_17, x_29); +if (x_40 == 0) +{ +uint8_t x_41; +x_41 = l_Lean_LocalContext_isSubPrefixOf(x_35, x_36, x_37); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_42 = l_Lean_Elab_Term_elabSyntheticHole___closed__3; +x_43 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_43; +} +else +{ +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; uint8_t x_56; +x_44 = 2; +lean_inc(x_5); +x_45 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_44, x_10, x_5, x_6, x_7, x_8, x_34); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l_Lean_Expr_mvarId_x21(x_46); +x_49 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_48, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_st_ref_get(x_8, x_50); +lean_dec(x_8); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_6, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_54, 0); +lean_inc(x_46); +x_58 = l_Lean_MetavarContext_assignExpr(x_57, x_29, x_46); +lean_ctor_set(x_54, 0, x_58); +x_59 = lean_st_ref_set(x_6, x_54, x_55); +lean_dec(x_6); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +lean_ctor_set(x_59, 0, x_46); +return x_59; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +else +{ +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; +x_64 = lean_ctor_get(x_54, 0); +x_65 = lean_ctor_get(x_54, 1); +x_66 = lean_ctor_get(x_54, 2); +x_67 = lean_ctor_get(x_54, 3); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_54); +lean_inc(x_46); +x_68 = l_Lean_MetavarContext_assignExpr(x_64, x_29, x_46); +x_69 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_65); +lean_ctor_set(x_69, 2, x_66); +lean_ctor_set(x_69, 3, x_67); +x_70 = lean_st_ref_set(x_6, x_69, x_55); +lean_dec(x_6); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_46); +lean_ctor_set(x_73, 1, x_71); +return x_73; +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_74 = l_Lean_Elab_Term_elabSyntheticHole___closed__5; +x_75 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_75; +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_76 = lean_ctor_get(x_39, 0); +lean_inc(x_76); +lean_dec(x_39); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_77 = l_Lean_Meta_instantiateMVars(x_76, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_77) == 0) +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_79 = lean_ctor_get(x_77, 0); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +x_81 = l_Lean_MetavarContext_isWellFormed(x_17, x_35, x_79); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_free_object(x_77); +x_82 = lean_ctor_get(x_33, 4); +lean_inc(x_82); +lean_dec(x_33); +x_83 = l_Lean_indentExpr(x_79); +x_84 = l_Lean_Elab_Term_elabSyntheticHole___closed__7; +x_85 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_Elab_Term_elabSyntheticHole___closed__9; +x_87 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); +lean_closure_set(x_88, 0, x_87); +x_89 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_36, x_82, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +return x_89; +} +else +{ +lean_dec(x_36); +lean_dec(x_33); +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_77; +} +} +else +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_90 = lean_ctor_get(x_77, 0); +x_91 = lean_ctor_get(x_77, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_77); +lean_inc(x_90); +x_92 = l_Lean_MetavarContext_isWellFormed(x_17, x_35, x_90); +if (x_92 == 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; +x_93 = lean_ctor_get(x_33, 4); +lean_inc(x_93); +lean_dec(x_33); +x_94 = l_Lean_indentExpr(x_90); +x_95 = l_Lean_Elab_Term_elabSyntheticHole___closed__7; +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_Lean_Elab_Term_elabSyntheticHole___closed__9; +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 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); +lean_closure_set(x_99, 0, x_98); +x_100 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_36, x_93, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_91); +return x_100; +} +else +{ +lean_object* x_101; +lean_dec(x_36); +lean_dec(x_33); +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_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_90); +lean_ctor_set(x_101, 1, x_91); +return x_101; +} +} +} +else +{ +uint8_t x_102; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_33); +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); +x_102 = !lean_is_exclusive(x_77); +if (x_102 == 0) +{ +return x_77; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_77, 0); +x_104 = lean_ctor_get(x_77, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_77); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +} +} +else +{ +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_17); +lean_dec(x_10); +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); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_106 = lean_ctor_get(x_31, 0); +x_107 = lean_ctor_get(x_31, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_31); +x_108 = lean_ctor_get(x_5, 1); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +x_110 = l_Lean_Elab_Term_elabSyntheticHole___closed__1; +lean_inc(x_108); +lean_inc(x_109); +x_111 = l_Lean_LocalContext_isSubPrefixOf(x_109, x_108, x_110); +if (x_111 == 0) +{ +lean_object* x_112; +lean_dec(x_30); +lean_inc(x_17); +x_112 = l_Lean_MetavarContext_getExprAssignment_x3f(x_17, x_29); +if (lean_obj_tag(x_112) == 0) +{ +uint8_t x_113; +lean_dec(x_106); +x_113 = l_Lean_MetavarContext_isDelayedAssigned(x_17, x_29); +if (x_113 == 0) +{ +uint8_t x_114; +x_114 = l_Lean_LocalContext_isSubPrefixOf(x_108, x_109, x_110); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_115 = l_Lean_Elab_Term_elabSyntheticHole___closed__3; +x_116 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_107); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_116; +} +else +{ +uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_117 = 2; +lean_inc(x_5); +x_118 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_117, x_10, x_5, x_6, x_7, x_8, x_107); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_121 = l_Lean_Expr_mvarId_x21(x_119); +x_122 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_121, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_120); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_124 = lean_st_ref_get(x_8, x_123); +lean_dec(x_8); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_st_ref_take(x_6, x_125); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_ctor_get(x_127, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_127, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_127, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_127, 3); +lean_inc(x_132); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + lean_ctor_release(x_127, 2); + lean_ctor_release(x_127, 3); + x_133 = x_127; +} else { + lean_dec_ref(x_127); + x_133 = lean_box(0); +} +lean_inc(x_119); +x_134 = l_Lean_MetavarContext_assignExpr(x_129, x_29, x_119); +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 4, 0); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_130); +lean_ctor_set(x_135, 2, x_131); +lean_ctor_set(x_135, 3, x_132); +x_136 = lean_st_ref_set(x_6, x_135, x_128); +lean_dec(x_6); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_138 = x_136; +} else { + lean_dec_ref(x_136); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_119); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_140 = l_Lean_Elab_Term_elabSyntheticHole___closed__5; +x_141 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_107); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_141; +} +} +else +{ +lean_object* x_142; lean_object* x_143; +lean_dec(x_29); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_142 = lean_ctor_get(x_112, 0); +lean_inc(x_142); +lean_dec(x_112); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_143 = l_Lean_Meta_instantiateMVars(x_142, x_5, x_6, x_7, x_8, x_107); +if (lean_obj_tag(x_143) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +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_143); + x_146 = lean_box(0); +} +lean_inc(x_144); +x_147 = l_Lean_MetavarContext_isWellFormed(x_17, x_108, x_144); +if (x_147 == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_146); +x_148 = lean_ctor_get(x_106, 4); +lean_inc(x_148); +lean_dec(x_106); +x_149 = l_Lean_indentExpr(x_144); +x_150 = l_Lean_Elab_Term_elabSyntheticHole___closed__7; +x_151 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = l_Lean_Elab_Term_elabSyntheticHole___closed__9; +x_153 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); +lean_closure_set(x_154, 0, x_153); +x_155 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_109, x_148, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_145); +return x_155; +} +else +{ +lean_object* x_156; +lean_dec(x_109); +lean_dec(x_106); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +if (lean_is_scalar(x_146)) { + x_156 = lean_alloc_ctor(0, 2, 0); +} else { + x_156 = x_146; +} +lean_ctor_set(x_156, 0, x_144); +lean_ctor_set(x_156, 1, x_145); +return x_156; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_106); +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); +x_157 = lean_ctor_get(x_143, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_143, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_159 = x_143; +} else { + lean_dec_ref(x_143); + x_159 = lean_box(0); +} +if (lean_is_scalar(x_159)) { + x_160 = lean_alloc_ctor(1, 2, 0); +} else { + x_160 = x_159; +} +lean_ctor_set(x_160, 0, x_157); +lean_ctor_set(x_160, 1, x_158); +return x_160; +} +} +} +else +{ +lean_object* x_161; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_106); +lean_dec(x_29); +lean_dec(x_17); +lean_dec(x_10); +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_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_30); +lean_ctor_set(x_161, 1, x_107); +return x_161; +} +} +} +} +else +{ +uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_162 = 2; +lean_inc(x_5); +x_163 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_162, x_10, x_5, x_6, x_7, x_8, x_9); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = l_Lean_Expr_mvarId_x21(x_164); +x_167 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_166, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_165); +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_168 = !lean_is_exclusive(x_167); +if (x_168 == 0) +{ +lean_object* x_169; +x_169 = lean_ctor_get(x_167, 0); +lean_dec(x_169); +lean_ctor_set(x_167, 0, x_164); +return x_167; +} +else +{ +lean_object* x_170; lean_object* x_171; +x_170 = lean_ctor_get(x_167, 1); +lean_inc(x_170); +lean_dec(x_167); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_164); +lean_ctor_set(x_171, 1, x_170); +return x_171; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntheticHole"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabSyntheticHole"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSyntheticHole), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar(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; 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; uint8_t x_25; +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_1); +x_11 = 2; +x_12 = lean_box(0); +lean_inc(x_5); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_10, x_11, x_12, x_5, x_6, x_7, x_8, x_9); +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 = l_Lean_Expr_mvarId_x21(x_14); +x_17 = lean_ctor_get(x_7, 3); +lean_inc(x_17); +x_18 = l_Lean_Elab_Term_getDeclName_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_Elab_Term_saveContext(x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_2); +lean_ctor_set(x_23, 1, x_21); +x_24 = l_Lean_Elab_Term_registerSyntheticMVar(x_17, x_16, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_7); +lean_dec(x_5); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_14); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_14); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar___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_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabByTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid 'by' tactic, expected type has not been provided"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabByTactic___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabByTactic___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_Lean_Elab_Term_elabByTactic___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabByTactic___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabByTactic(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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_1); +x_10 = l_Lean_Elab_Term_elabByTactic___closed__3; +x_11 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkTacticMVar(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_13; +} +} +} +lean_object* l_Lean_Elab_Term_elabByTactic___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_elabByTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("byTactic"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabByTactic"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabByTactic___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabNoImplicitLambda(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 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_box(0); +x_13 = 1; +x_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_2); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_2, 0); +x_17 = l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(x_16); +lean_ctor_set(x_2, 0, x_17); +x_18 = 1; +x_19 = l_Lean_Elab_Term_elabTerm(x_11, x_2, x_18, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_2, 0); +lean_inc(x_20); +lean_dec(x_2); +x_21 = l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = 1; +x_24 = l_Lean_Elab_Term_elabTerm(x_11, x_22, x_23, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabNoImplicitLambda___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_elabNoImplicitLambda(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("noImplicitLambda"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabNoImplicitLambda"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNoImplicitLambda___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot___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: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_Term_elabBadCDot___rarg___closed__2; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBadCDot___rarg___boxed), 7, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot___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: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Term_elabBadCDot___rarg(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_8; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Term_elabBadCDot(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("cdot"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabBadCDot"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBadCDot___boxed), 2, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabStrLit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_elabStrLit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabStrLit_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ill-formed syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabStrLit(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_Syntax_isStrLit_x3f(x_1); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_mkStrLit(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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_8; +} +} +lean_object* l_Lean_Elab_Term_elabStrLit___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_elabStrLit(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_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("strLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabStrLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabStrLit___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor_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_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_9 = 1; +x_10 = lean_box(0); +lean_inc(x_4); +x_11 = l_Lean_Meta_mkFreshTypeMVar(x_9, x_10, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_12; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +lean_inc(x_16); +x_19 = l_Lean_Meta_isExprDefEq(x_18, x_16, x_4, x_5, x_6, x_7, x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_16); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_16); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_19); +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; +} +} +} +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___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_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabNumLit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNumLit_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("OfNat"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ofNat"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2; +x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabNumLit___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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_12); +x_14 = l_Lean_Meta_getDecLevel(x_12, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +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_Elab_Term_elabNumLit___lambda__1___closed__2; +lean_inc(x_18); +x_20 = l_Lean_mkConst(x_19, x_18); +x_21 = l_Lean_mkNatLit(x_3); +lean_inc(x_21); +lean_inc(x_12); +x_22 = l_Lean_mkAppB(x_20, x_12, x_21); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_23 = l_Lean_Elab_Term_mkInstMVar(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +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 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4; +x_27 = l_Lean_mkConst(x_26, x_18); +lean_inc(x_24); +x_28 = l_Lean_mkApp3(x_27, x_12, x_21, x_24); +x_29 = l_Lean_Expr_mvarId_x21(x_24); +lean_dec(x_24); +lean_inc(x_28); +x_30 = l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(x_29, x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_23); +if (x_35 == 0) +{ +return x_23; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_23, 0); +x_37 = lean_ctor_get(x_23, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_23); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_14); +if (x_39 == 0) +{ +return x_14; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_14, 0); +x_41 = lean_ctor_get(x_14, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_14); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) +{ +return x_11; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_11); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabNumLit(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_Lean_numLitKind; +x_11 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_10, x_1); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(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); +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_Term_elabNumLit___lambda__1(x_2, x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(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_8; +} +} +lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_elabNumLit___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); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_elabNumLit___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_elabNumLit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("numLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabNumLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNumLit___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabRawNatLit(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; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_numLitKind; +x_13 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_12, x_11); +lean_dec(x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_mkNatLit(x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +} +lean_object* l_Lean_Elab_Term_elabRawNatLit___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_elabRawNatLit(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_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rawNatLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabRawNatLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRawNatLit___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabScientificLit_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_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_apply_3(x_3, x_8, x_9, x_10); +return x_11; +} +} +} +lean_object* l_Lean_Elab_Term_elabScientificLit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabScientificLit_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("OfScientific"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ofScientific"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabScientificLit___closed__2; +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Bool"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("false"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabScientificLit___closed__6; +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__8; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabScientificLit___closed__6; +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabScientificLit___closed__11; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabScientificLit(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_Syntax_isScientificLit_x3f(x_1); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +lean_dec(x_2); +x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_17 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_18); +x_20 = l_Lean_Meta_getDecLevel(x_18, x_5, x_6, x_7, x_8, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_Term_elabScientificLit___closed__2; +lean_inc(x_24); +x_26 = l_Lean_mkConst(x_25, x_24); +lean_inc(x_18); +x_27 = l_Lean_mkApp(x_26, x_18); +x_28 = l_Lean_Elab_Term_mkInstMVar(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_30 = lean_ctor_get(x_28, 0); +x_31 = l_Lean_Elab_Term_elabScientificLit___closed__4; +x_32 = l_Lean_mkConst(x_31, x_24); +x_33 = l_Lean_mkNatLit(x_14); +x_34 = l_Lean_mkNatLit(x_16); +x_35 = lean_unbox(x_15); +lean_dec(x_15); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = l_Lean_Elab_Term_elabScientificLit___closed__9; +x_37 = l_Lean_mkApp5(x_32, x_18, x_30, x_33, x_36, x_34); +lean_ctor_set(x_28, 0, x_37); +return x_28; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = l_Lean_Elab_Term_elabScientificLit___closed__12; +x_39 = l_Lean_mkApp5(x_32, x_18, x_30, x_33, x_38, x_34); +lean_ctor_set(x_28, 0, x_39); +return x_28; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_40 = lean_ctor_get(x_28, 0); +x_41 = lean_ctor_get(x_28, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_28); +x_42 = l_Lean_Elab_Term_elabScientificLit___closed__4; +x_43 = l_Lean_mkConst(x_42, x_24); +x_44 = l_Lean_mkNatLit(x_14); +x_45 = l_Lean_mkNatLit(x_16); +x_46 = lean_unbox(x_15); +lean_dec(x_15); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = l_Lean_Elab_Term_elabScientificLit___closed__9; +x_48 = l_Lean_mkApp5(x_43, x_18, x_40, x_44, x_47, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_41); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = l_Lean_Elab_Term_elabScientificLit___closed__12; +x_51 = l_Lean_mkApp5(x_43, x_18, x_40, x_44, x_50, x_45); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_41); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_53 = !lean_is_exclusive(x_28); +if (x_53 == 0) +{ +return x_28; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_28, 0); +x_55 = lean_ctor_get(x_28, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_28); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_57 = !lean_is_exclusive(x_20); +if (x_57 == 0) +{ +return x_20; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_20, 0); +x_59 = lean_ctor_get(x_20, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_20); +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; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_61 = !lean_is_exclusive(x_17); +if (x_61 == 0) +{ +return x_17; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_17, 0); +x_63 = lean_ctor_get(x_17, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_17); +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_Elab_Term_elabScientificLit___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_elabScientificLit(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_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("scientificLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabScientificLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabScientificLit___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabCharLit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCharLit_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Char"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabCharLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabCharLit___closed__2; +x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabCharLit___closed__3; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabCharLit(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_Syntax_isCharLit_x3f(x_1); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +else +{ +lean_object* x_12; uint32_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_3); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_unbox_uint32(x_12); +lean_dec(x_12); +x_14 = lean_uint32_to_nat(x_13); +x_15 = l_Lean_mkNatLit(x_14); +x_16 = l_Lean_Elab_Term_elabCharLit___closed__4; +x_17 = l_Lean_mkApp(x_16, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_9); +return x_18; +} +} +} +lean_object* l_Lean_Elab_Term_elabCharLit___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_elabCharLit(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_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("charLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabCharLit"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCharLit___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabQuotedName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_elabQuotedName_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabQuotedName_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabQuotedName(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; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNameLit_x3f(x_11); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Name_toExprAux(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_9); +return x_16; +} +} +} +lean_object* l_Lean_Elab_Term_elabQuotedName___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_elabQuotedName(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_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quotedName"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabQuotedName"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabQuotedName___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown constant '"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_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_box(0); +x_10 = l_Lean_mkConst(x_1, x_9); +x_11 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_List_map___at_Lean_resolveGlobalConst___spec__2(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_inc(x_6); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(x_10, x_12); +x_14 = l_List_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +lean_dec(x_2); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_13); +x_17 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ambiguous identifier '"); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', possible interpretations: "); +return x_1; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(x_1, x_2, x_3, 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) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_Lean_mkConst(x_1, x_12); +x_14 = lean_expr_dbg_to_string(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_12, x_10); +x_20 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_19); +x_21 = lean_string_append(x_18, x_20); +lean_dec(x_20); +x_22 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_9, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_10, 0); +lean_inc(x_30); +lean_dec(x_10); +lean_ctor_set(x_9, 0, x_30); +return x_9; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_9, 1); +lean_inc(x_31); +lean_dec(x_9); +x_32 = lean_ctor_get(x_10, 0); +lean_inc(x_32); +lean_dec(x_10); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_27); +x_34 = lean_ctor_get(x_9, 1); +lean_inc(x_34); +lean_dec(x_9); +x_35 = lean_box(0); +x_36 = l_Lean_mkConst(x_1, x_35); +x_37 = lean_expr_dbg_to_string(x_36); +lean_dec(x_36); +x_38 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; +x_39 = lean_string_append(x_38, x_37); +lean_dec(x_37); +x_40 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; +x_41 = lean_string_append(x_39, x_40); +x_42 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_35, x_10); +x_43 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_42); +x_44 = lean_string_append(x_41, x_43); +lean_dec(x_43); +x_45 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_46 = lean_string_append(x_44, x_45); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_6); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_9); +if (x_50 == 0) +{ +return x_9; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_9, 0); +x_52 = lean_ctor_get(x_9, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_9); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_ConstantInfo_levelParams(x_11); +lean_dec(x_11); +x_13 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_12); +x_14 = l_Lean_mkConst(x_1, x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = l_Lean_ConstantInfo_levelParams(x_15); +lean_dec(x_15); +x_18 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_17); +x_19 = l_Lean_mkConst(x_1, 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_16); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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; +lean_inc(x_8); +lean_inc(x_4); +x_11 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_5, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 5); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_16, 0); +lean_dec(x_21); +lean_ctor_set(x_16, 0, x_12); +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +lean_inc(x_4); +lean_inc(x_12); +x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +if (lean_obj_tag(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; uint8_t x_34; +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 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_1); +x_30 = l_Lean_LocalContext_empty; +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_3); +lean_ctor_set(x_31, 3, x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_8); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_12); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_25); +if (x_38 == 0) +{ +return x_25; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_25, 0); +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_25); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_11); +if (x_42 == 0) +{ +return x_11; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_11, 0); +x_44 = lean_ctor_get(x_11, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_11); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabDoubleQuotedName(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; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNameLit_x3f(x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +lean_dec(x_11); +x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(x_11, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +x_19 = l_Lean_Name_toExprAux(x_18); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_16); +x_22 = l_Lean_Name_toExprAux(x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_16); +if (x_24 == 0) +{ +return x_16; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_16); +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; +} +} +} +} +} +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_elabDoubleQuotedName___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_elabDoubleQuotedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doubleQuotedName"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabDoubleQuotedName"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabDoubleQuotedName___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabTypeOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = lean_box(0); +x_13 = 1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_inferType(x_15, x_5, x_6, x_7, x_8, x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabTypeOf___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_elabTypeOf(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeOf"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabTypeOf"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTypeOf___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_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_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureTypeOf_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf(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; +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isStrLit_x3f(x_11); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); +return x_13; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_box(0); +x_19 = 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_20 = l_Lean_Elab_Term_elabTerm(x_17, x_18, x_19, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_23 = l_Lean_Meta_inferType(x_21, x_5, x_6, x_7, x_8, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_1, x_26); +lean_ctor_set(x_12, 0, x_24); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_15); +x_29 = l_Lean_Elab_Term_elabTermEnsuringType(x_27, x_12, x_19, x_19, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +return x_29; +} +else +{ +uint8_t x_30; +lean_free_object(x_12); +lean_dec(x_15); +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_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +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; +} +} +} +else +{ +uint8_t x_34; +lean_free_object(x_12); +lean_dec(x_15); +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_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_20); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_38 = lean_ctor_get(x_12, 0); +lean_inc(x_38); +lean_dec(x_12); +x_39 = lean_unsigned_to_nat(1u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +x_41 = lean_box(0); +x_42 = 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_43 = l_Lean_Elab_Term_elabTerm(x_40, x_41, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_46 = l_Lean_Meta_inferType(x_44, x_5, x_6, x_7, x_8, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +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_unsigned_to_nat(3u); +x_50 = l_Lean_Syntax_getArg(x_1, x_49); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_47); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_38); +x_53 = l_Lean_Elab_Term_elabTermEnsuringType(x_50, x_51, x_42, x_42, x_52, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_38); +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_54 = lean_ctor_get(x_46, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_46, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_56 = x_46; +} else { + lean_dec_ref(x_46); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_38); +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_58 = lean_ctor_get(x_43, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_43, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_60 = x_43; +} else { + lean_dec_ref(x_43); + x_60 = lean_box(0); +} +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_60; +} +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___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_elabEnsureTypeOf(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ensureTypeOf"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabEnsureTypeOf"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureTypeOf___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabEnsureExpectedType(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; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isStrLit_x3f(x_11); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +lean_dec(x_2); +x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); +return x_13; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = 1; +x_18 = l_Lean_Elab_Term_elabTermEnsuringType(x_16, x_2, x_17, x_17, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_unsigned_to_nat(2u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_19); +x_23 = 1; +x_24 = l_Lean_Elab_Term_elabTermEnsuringType(x_21, x_2, x_23, x_23, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabEnsureExpectedType___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_elabEnsureExpectedType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ensureExpectedType"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabEnsureExpectedType"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureExpectedType___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_4); +x_14 = lean_array_uget(x_1, x_3); +x_15 = lean_st_ref_take(x_10, x_11); +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_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_16, 0); +x_20 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_14, x_19); +lean_dec(x_14); +lean_ctor_set(x_16, 0, x_20); +x_21 = lean_st_ref_set(x_10, x_16, x_17); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = 1; +x_24 = x_3 + x_23; +x_25 = lean_box(0); +x_3 = x_24; +x_4 = x_25; +x_11 = x_22; +goto _start; +} +else +{ +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; size_t x_35; size_t x_36; lean_object* x_37; +x_27 = lean_ctor_get(x_16, 0); +x_28 = lean_ctor_get(x_16, 1); +x_29 = lean_ctor_get(x_16, 2); +x_30 = lean_ctor_get(x_16, 3); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_16); +x_31 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_14, x_27); +lean_dec(x_14); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +x_33 = lean_st_ref_set(x_10, x_32, x_17); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = 1; +x_36 = x_3 + x_35; +x_37 = lean_box(0); +x_3 = x_36; +x_4 = x_37; +x_11 = x_34; +goto _start; +} +} +} +} +lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___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) { +_start: +{ +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; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_scopedEnvExtensionsRef; +x_11 = lean_st_ref_get(x_10, x_9); +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_array_get_size(x_12); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = lean_box(0); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(x_12, x_15, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_13); +lean_dec(x_12); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown namespace '"); +return x_1; +} +} +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___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; 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; uint8_t x_23; +x_10 = lean_st_ref_get(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_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_st_ref_get(x_8, x_12); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_2, x_15); +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); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_st_ref_get(x_8, x_18); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_get(x_2, x_21); +x_23 = !lean_is_exclusive(x_22); +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 = lean_ctor_get(x_22, 1); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +lean_inc(x_1); +x_27 = l_Lean_ResolveName_resolveNamespace_x3f(x_13, x_19, x_26, x_1); +lean_dec(x_26); +lean_dec(x_19); +lean_dec(x_13); +if (lean_obj_tag(x_27) == 0) +{ +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_free_object(x_22); +x_28 = 1; +x_29 = l_Lean_Name_toString(x_1, x_28); +x_30 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; +x_31 = lean_string_append(x_30, x_29); +lean_dec(x_29); +x_32 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3; +x_33 = lean_string_append(x_31, x_32); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +return x_36; +} +else +{ +lean_object* x_37; +lean_dec(x_1); +x_37 = lean_ctor_get(x_27, 0); +lean_inc(x_37); +lean_dec(x_27); +lean_ctor_set(x_22, 0, x_37); +return x_22; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +lean_inc(x_1); +x_41 = l_Lean_ResolveName_resolveNamespace_x3f(x_13, x_19, x_40, x_1); +lean_dec(x_40); +lean_dec(x_19); +lean_dec(x_13); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_42 = 1; +x_43 = l_Lean_Name_toString(x_1, x_42); +x_44 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; +x_45 = lean_string_append(x_44, x_43); +lean_dec(x_43); +x_46 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3; +x_47 = lean_string_append(x_45, x_46); +x_48 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_39); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_1); +x_51 = lean_ctor_get(x_41, 0); +lean_inc(x_51); +lean_dec(x_41); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_39); +return x_52; +} +} +} +} +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_293; uint8_t x_294; +x_293 = 2; +x_294 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(x_3, x_293); +if (x_294 == 0) +{ +lean_object* x_295; +x_295 = lean_box(0); +x_12 = x_295; +goto block_292; +} +else +{ +uint8_t x_296; +lean_inc(x_2); +x_296 = l_Lean_MessageData_hasSyntheticSorry(x_2); +if (x_296 == 0) +{ +lean_object* x_297; +x_297 = lean_box(0); +x_12 = x_297; +goto block_292; +} +else +{ +lean_object* x_298; lean_object* x_299; +lean_dec(x_2); +x_298 = lean_box(0); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_11); +return x_299; +} +} +block_292: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_12); +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +x_15 = 0; +x_16 = l_Lean_Syntax_getPos_x3f(x_14, x_15); +x_17 = l_Lean_Syntax_getTailPos_x3f(x_14, x_15); +lean_dec(x_14); +if (lean_obj_tag(x_16) == 0) +{ +if (lean_obj_tag(x_17) == 0) +{ +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; uint8_t x_37; +x_18 = lean_ctor_get(x_5, 0); +x_19 = lean_ctor_get(x_5, 1); +x_20 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_FileMap_toPosition(x_19, x_23); +lean_inc(x_24); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = lean_ctor_get(x_9, 4); +x_27 = lean_ctor_get(x_9, 5); +lean_inc(x_27); +lean_inc(x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_21); +x_30 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_18); +x_31 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_24); +lean_ctor_set(x_31, 2, x_25); +lean_ctor_set(x_31, 3, x_30); +lean_ctor_set(x_31, 4, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*5, x_3); +x_32 = lean_st_ref_get(x_10, x_22); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_ref_take(x_6, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_38 = lean_ctor_get(x_35, 3); +x_39 = l_Std_PersistentArray_push___rarg(x_38, x_31); +lean_ctor_set(x_35, 3, x_39); +x_40 = lean_st_ref_set(x_6, x_35, x_36); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = lean_box(0); +lean_ctor_set(x_40, 0, x_43); +return x_40; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +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_44); +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; 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_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +x_49 = lean_ctor_get(x_35, 2); +x_50 = lean_ctor_get(x_35, 3); +x_51 = lean_ctor_get(x_35, 4); +x_52 = lean_ctor_get(x_35, 5); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_35); +x_53 = l_Std_PersistentArray_push___rarg(x_50, x_31); +x_54 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_54, 0, x_47); +lean_ctor_set(x_54, 1, x_48); +lean_ctor_set(x_54, 2, x_49); +lean_ctor_set(x_54, 3, x_53); +lean_ctor_set(x_54, 4, x_51); +lean_ctor_set(x_54, 5, x_52); +x_55 = lean_st_ref_set(x_6, x_54, x_36); +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; +} +} +else +{ +uint8_t x_60; +x_60 = !lean_is_exclusive(x_17); +if (x_60 == 0) +{ +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; uint8_t x_81; +x_61 = lean_ctor_get(x_17, 0); +x_62 = lean_ctor_get(x_5, 0); +x_63 = lean_ctor_get(x_5, 1); +x_64 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unsigned_to_nat(0u); +x_68 = l_Lean_FileMap_toPosition(x_63, x_67); +x_69 = l_Lean_FileMap_toPosition(x_63, x_61); +lean_dec(x_61); +lean_ctor_set(x_17, 0, x_69); +x_70 = lean_ctor_get(x_9, 4); +x_71 = lean_ctor_get(x_9, 5); +lean_inc(x_71); +lean_inc(x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_65); +x_74 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_62); +x_75 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_75, 0, x_62); +lean_ctor_set(x_75, 1, x_68); +lean_ctor_set(x_75, 2, x_17); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_73); +lean_ctor_set_uint8(x_75, sizeof(void*)*5, x_3); +x_76 = lean_st_ref_get(x_10, x_66); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_st_ref_take(x_6, 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_is_exclusive(x_79); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_82 = lean_ctor_get(x_79, 3); +x_83 = l_Std_PersistentArray_push___rarg(x_82, x_75); +lean_ctor_set(x_79, 3, x_83); +x_84 = lean_st_ref_set(x_6, x_79, x_80); +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_84, 0); +lean_dec(x_86); +x_87 = lean_box(0); +lean_ctor_set(x_84, 0, x_87); +return x_84; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_84, 1); +lean_inc(x_88); +lean_dec(x_84); +x_89 = lean_box(0); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +return x_90; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_91 = lean_ctor_get(x_79, 0); +x_92 = lean_ctor_get(x_79, 1); +x_93 = lean_ctor_get(x_79, 2); +x_94 = lean_ctor_get(x_79, 3); +x_95 = lean_ctor_get(x_79, 4); +x_96 = lean_ctor_get(x_79, 5); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_79); +x_97 = l_Std_PersistentArray_push___rarg(x_94, x_75); +x_98 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_98, 0, x_91); +lean_ctor_set(x_98, 1, x_92); +lean_ctor_set(x_98, 2, x_93); +lean_ctor_set(x_98, 3, x_97); +lean_ctor_set(x_98, 4, x_95); +lean_ctor_set(x_98, 5, x_96); +x_99 = lean_st_ref_set(x_6, x_98, x_80); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_101 = x_99; +} else { + lean_dec_ref(x_99); + x_101 = lean_box(0); +} +x_102 = lean_box(0); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_100); +return x_103; +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_104 = lean_ctor_get(x_17, 0); +lean_inc(x_104); +lean_dec(x_17); +x_105 = lean_ctor_get(x_5, 0); +x_106 = lean_ctor_get(x_5, 1); +x_107 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_unsigned_to_nat(0u); +x_111 = l_Lean_FileMap_toPosition(x_106, x_110); +x_112 = l_Lean_FileMap_toPosition(x_106, x_104); +lean_dec(x_104); +x_113 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_113, 0, x_112); +x_114 = lean_ctor_get(x_9, 4); +x_115 = lean_ctor_get(x_9, 5); +lean_inc(x_115); +lean_inc(x_114); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_108); +x_118 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_105); +x_119 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_119, 0, x_105); +lean_ctor_set(x_119, 1, x_111); +lean_ctor_set(x_119, 2, x_113); +lean_ctor_set(x_119, 3, x_118); +lean_ctor_set(x_119, 4, x_117); +lean_ctor_set_uint8(x_119, sizeof(void*)*5, x_3); +x_120 = lean_st_ref_get(x_10, x_109); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +lean_dec(x_120); +x_122 = lean_st_ref_take(x_6, x_121); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_125 = lean_ctor_get(x_123, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_123, 2); +lean_inc(x_127); +x_128 = lean_ctor_get(x_123, 3); +lean_inc(x_128); +x_129 = lean_ctor_get(x_123, 4); +lean_inc(x_129); +x_130 = lean_ctor_get(x_123, 5); +lean_inc(x_130); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + lean_ctor_release(x_123, 2); + lean_ctor_release(x_123, 3); + lean_ctor_release(x_123, 4); + lean_ctor_release(x_123, 5); + x_131 = x_123; +} else { + lean_dec_ref(x_123); + x_131 = lean_box(0); +} +x_132 = l_Std_PersistentArray_push___rarg(x_128, x_119); +if (lean_is_scalar(x_131)) { + x_133 = lean_alloc_ctor(0, 6, 0); +} else { + x_133 = x_131; +} +lean_ctor_set(x_133, 0, x_125); +lean_ctor_set(x_133, 1, x_126); +lean_ctor_set(x_133, 2, x_127); +lean_ctor_set(x_133, 3, x_132); +lean_ctor_set(x_133, 4, x_129); +lean_ctor_set(x_133, 5, x_130); +x_134 = lean_st_ref_set(x_6, x_133, x_124); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_136 = x_134; +} else { + lean_dec_ref(x_134); + x_136 = lean_box(0); +} +x_137 = lean_box(0); +if (lean_is_scalar(x_136)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_136; +} +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_135); +return x_138; +} +} +} +else +{ +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_139; +x_139 = !lean_is_exclusive(x_16); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_140 = lean_ctor_get(x_16, 0); +x_141 = lean_ctor_get(x_5, 0); +x_142 = lean_ctor_get(x_5, 1); +x_143 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = l_Lean_FileMap_toPosition(x_142, x_140); +lean_dec(x_140); +lean_inc(x_146); +lean_ctor_set(x_16, 0, x_146); +x_147 = lean_ctor_get(x_9, 4); +x_148 = lean_ctor_get(x_9, 5); +lean_inc(x_148); +lean_inc(x_147); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_144); +x_151 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_141); +x_152 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_152, 0, x_141); +lean_ctor_set(x_152, 1, x_146); +lean_ctor_set(x_152, 2, x_16); +lean_ctor_set(x_152, 3, x_151); +lean_ctor_set(x_152, 4, x_150); +lean_ctor_set_uint8(x_152, sizeof(void*)*5, x_3); +x_153 = lean_st_ref_get(x_10, x_145); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_155 = lean_st_ref_take(x_6, x_154); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = !lean_is_exclusive(x_156); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; +x_159 = lean_ctor_get(x_156, 3); +x_160 = l_Std_PersistentArray_push___rarg(x_159, x_152); +lean_ctor_set(x_156, 3, x_160); +x_161 = lean_st_ref_set(x_6, x_156, x_157); +x_162 = !lean_is_exclusive(x_161); +if (x_162 == 0) +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_ctor_get(x_161, 0); +lean_dec(x_163); +x_164 = lean_box(0); +lean_ctor_set(x_161, 0, x_164); +return x_161; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_161, 1); +lean_inc(x_165); +lean_dec(x_161); +x_166 = lean_box(0); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +return x_167; +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_168 = lean_ctor_get(x_156, 0); +x_169 = lean_ctor_get(x_156, 1); +x_170 = lean_ctor_get(x_156, 2); +x_171 = lean_ctor_get(x_156, 3); +x_172 = lean_ctor_get(x_156, 4); +x_173 = lean_ctor_get(x_156, 5); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_inc(x_169); +lean_inc(x_168); +lean_dec(x_156); +x_174 = l_Std_PersistentArray_push___rarg(x_171, x_152); +x_175 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_175, 0, x_168); +lean_ctor_set(x_175, 1, x_169); +lean_ctor_set(x_175, 2, x_170); +lean_ctor_set(x_175, 3, x_174); +lean_ctor_set(x_175, 4, x_172); +lean_ctor_set(x_175, 5, x_173); +x_176 = lean_st_ref_set(x_6, x_175, x_157); +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_178 = x_176; +} else { + lean_dec_ref(x_176); + x_178 = lean_box(0); +} +x_179 = lean_box(0); +if (lean_is_scalar(x_178)) { + x_180 = lean_alloc_ctor(0, 2, 0); +} else { + x_180 = x_178; +} +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_177); +return x_180; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_181 = lean_ctor_get(x_16, 0); +lean_inc(x_181); +lean_dec(x_16); +x_182 = lean_ctor_get(x_5, 0); +x_183 = lean_ctor_get(x_5, 1); +x_184 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +x_187 = l_Lean_FileMap_toPosition(x_183, x_181); +lean_dec(x_181); +lean_inc(x_187); +x_188 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_188, 0, x_187); +x_189 = lean_ctor_get(x_9, 4); +x_190 = lean_ctor_get(x_9, 5); +lean_inc(x_190); +lean_inc(x_189); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_185); +x_193 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_182); +x_194 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_194, 0, x_182); +lean_ctor_set(x_194, 1, x_187); +lean_ctor_set(x_194, 2, x_188); +lean_ctor_set(x_194, 3, x_193); +lean_ctor_set(x_194, 4, x_192); +lean_ctor_set_uint8(x_194, sizeof(void*)*5, x_3); +x_195 = lean_st_ref_get(x_10, x_186); +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +lean_dec(x_195); +x_197 = lean_st_ref_take(x_6, x_196); +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_ctor_get(x_198, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_198, 1); +lean_inc(x_201); +x_202 = lean_ctor_get(x_198, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_198, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_198, 4); +lean_inc(x_204); +x_205 = lean_ctor_get(x_198, 5); +lean_inc(x_205); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + lean_ctor_release(x_198, 2); + lean_ctor_release(x_198, 3); + lean_ctor_release(x_198, 4); + lean_ctor_release(x_198, 5); + x_206 = x_198; +} else { + lean_dec_ref(x_198); + x_206 = lean_box(0); +} +x_207 = l_Std_PersistentArray_push___rarg(x_203, x_194); +if (lean_is_scalar(x_206)) { + x_208 = lean_alloc_ctor(0, 6, 0); +} else { + x_208 = x_206; +} +lean_ctor_set(x_208, 0, x_200); +lean_ctor_set(x_208, 1, x_201); +lean_ctor_set(x_208, 2, x_202); +lean_ctor_set(x_208, 3, x_207); +lean_ctor_set(x_208, 4, x_204); +lean_ctor_set(x_208, 5, x_205); +x_209 = lean_st_ref_set(x_6, x_208, x_199); +x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_211 = x_209; +} else { + lean_dec_ref(x_209); + x_211 = lean_box(0); +} +x_212 = lean_box(0); +if (lean_is_scalar(x_211)) { + x_213 = lean_alloc_ctor(0, 2, 0); +} else { + x_213 = x_211; +} +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_210); +return x_213; +} +} +else +{ +lean_object* x_214; uint8_t x_215; +x_214 = lean_ctor_get(x_16, 0); +lean_inc(x_214); +lean_dec(x_16); +x_215 = !lean_is_exclusive(x_17); +if (x_215 == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_216 = lean_ctor_get(x_17, 0); +x_217 = lean_ctor_get(x_5, 0); +x_218 = lean_ctor_get(x_5, 1); +x_219 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = l_Lean_FileMap_toPosition(x_218, x_214); +lean_dec(x_214); +x_223 = l_Lean_FileMap_toPosition(x_218, x_216); +lean_dec(x_216); +lean_ctor_set(x_17, 0, x_223); +x_224 = lean_ctor_get(x_9, 4); +x_225 = lean_ctor_get(x_9, 5); +lean_inc(x_225); +lean_inc(x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_220); +x_228 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_217); +x_229 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_229, 0, x_217); +lean_ctor_set(x_229, 1, x_222); +lean_ctor_set(x_229, 2, x_17); +lean_ctor_set(x_229, 3, x_228); +lean_ctor_set(x_229, 4, x_227); +lean_ctor_set_uint8(x_229, sizeof(void*)*5, x_3); +x_230 = lean_st_ref_get(x_10, x_221); +x_231 = lean_ctor_get(x_230, 1); +lean_inc(x_231); +lean_dec(x_230); +x_232 = lean_st_ref_take(x_6, x_231); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = !lean_is_exclusive(x_233); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; +x_236 = lean_ctor_get(x_233, 3); +x_237 = l_Std_PersistentArray_push___rarg(x_236, x_229); +lean_ctor_set(x_233, 3, x_237); +x_238 = lean_st_ref_set(x_6, x_233, x_234); +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 +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_245 = lean_ctor_get(x_233, 0); +x_246 = lean_ctor_get(x_233, 1); +x_247 = lean_ctor_get(x_233, 2); +x_248 = lean_ctor_get(x_233, 3); +x_249 = lean_ctor_get(x_233, 4); +x_250 = lean_ctor_get(x_233, 5); +lean_inc(x_250); +lean_inc(x_249); +lean_inc(x_248); +lean_inc(x_247); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_233); +x_251 = l_Std_PersistentArray_push___rarg(x_248, x_229); +x_252 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_252, 0, x_245); +lean_ctor_set(x_252, 1, x_246); +lean_ctor_set(x_252, 2, x_247); +lean_ctor_set(x_252, 3, x_251); +lean_ctor_set(x_252, 4, x_249); +lean_ctor_set(x_252, 5, x_250); +x_253 = lean_st_ref_set(x_6, x_252, x_234); +x_254 = lean_ctor_get(x_253, 1); +lean_inc(x_254); +if (lean_is_exclusive(x_253)) { + lean_ctor_release(x_253, 0); + lean_ctor_release(x_253, 1); + x_255 = x_253; +} else { + lean_dec_ref(x_253); + x_255 = lean_box(0); +} +x_256 = lean_box(0); +if (lean_is_scalar(x_255)) { + x_257 = lean_alloc_ctor(0, 2, 0); +} else { + x_257 = x_255; +} +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_254); +return x_257; +} +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_258 = lean_ctor_get(x_17, 0); +lean_inc(x_258); +lean_dec(x_17); +x_259 = lean_ctor_get(x_5, 0); +x_260 = lean_ctor_get(x_5, 1); +x_261 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +x_264 = l_Lean_FileMap_toPosition(x_260, x_214); +lean_dec(x_214); +x_265 = l_Lean_FileMap_toPosition(x_260, x_258); +lean_dec(x_258); +x_266 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_266, 0, x_265); +x_267 = lean_ctor_get(x_9, 4); +x_268 = lean_ctor_get(x_9, 5); +lean_inc(x_268); +lean_inc(x_267); +x_269 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +x_270 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_262); +x_271 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +lean_inc(x_259); +x_272 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_272, 0, x_259); +lean_ctor_set(x_272, 1, x_264); +lean_ctor_set(x_272, 2, x_266); +lean_ctor_set(x_272, 3, x_271); +lean_ctor_set(x_272, 4, x_270); +lean_ctor_set_uint8(x_272, sizeof(void*)*5, x_3); +x_273 = lean_st_ref_get(x_10, x_263); +x_274 = lean_ctor_get(x_273, 1); +lean_inc(x_274); +lean_dec(x_273); +x_275 = lean_st_ref_take(x_6, x_274); +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_275, 1); +lean_inc(x_277); +lean_dec(x_275); +x_278 = lean_ctor_get(x_276, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_276, 1); +lean_inc(x_279); +x_280 = lean_ctor_get(x_276, 2); +lean_inc(x_280); +x_281 = lean_ctor_get(x_276, 3); +lean_inc(x_281); +x_282 = lean_ctor_get(x_276, 4); +lean_inc(x_282); +x_283 = lean_ctor_get(x_276, 5); +lean_inc(x_283); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + lean_ctor_release(x_276, 3); + lean_ctor_release(x_276, 4); + lean_ctor_release(x_276, 5); + x_284 = x_276; +} else { + lean_dec_ref(x_276); + x_284 = lean_box(0); +} +x_285 = l_Std_PersistentArray_push___rarg(x_281, x_272); +if (lean_is_scalar(x_284)) { + x_286 = lean_alloc_ctor(0, 6, 0); +} else { + x_286 = x_284; +} +lean_ctor_set(x_286, 0, x_278); +lean_ctor_set(x_286, 1, x_279); +lean_ctor_set(x_286, 2, x_280); +lean_ctor_set(x_286, 3, x_285); +lean_ctor_set(x_286, 4, x_282); +lean_ctor_set(x_286, 5, x_283); +x_287 = lean_st_ref_set(x_6, x_286, x_277); +x_288 = lean_ctor_get(x_287, 1); +lean_inc(x_288); +if (lean_is_exclusive(x_287)) { + lean_ctor_release(x_287, 0); + lean_ctor_release(x_287, 1); + x_289 = x_287; +} else { + lean_dec_ref(x_287); + x_289 = lean_box(0); +} +x_290 = lean_box(0); +if (lean_is_scalar(x_289)) { + x_291 = lean_alloc_ctor(0, 2, 0); +} else { + x_291 = x_289; +} +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_288); +return x_291; +} +} +} +} +} +} +lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(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) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown declaration '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_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; lean_object* x_16; +x_10 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_10, 0, x_1); +x_11 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2; +x_12 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4; +x_14 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = 2; +x_16 = l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(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; uint8_t x_19; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_13, 0, x_17); +x_18 = lean_st_ref_set(x_2, x_13, x_14); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +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_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; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_25 = lean_ctor_get(x_13, 0); +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_13); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_1); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_st_ref_set(x_2, x_28, x_14); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_31 = x_29; +} else { + lean_dec_ref(x_29); + x_31 = lean_box(0); +} +x_32 = lean_box(0); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_31; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: +{ +uint8_t x_14; +x_14 = x_4 < x_3; +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +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; uint8_t x_28; +lean_dec(x_5); +x_16 = lean_array_uget(x_2, x_4); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_getArg(x_16, x_17); +x_19 = l_Lean_Syntax_getId(x_18); +lean_dec(x_18); +x_20 = lean_unsigned_to_nat(2u); +x_21 = l_Lean_Syntax_getArg(x_16, x_20); +x_22 = l_Lean_Syntax_getId(x_21); +lean_dec(x_21); +x_23 = l_Lean_Name_append(x_1, x_19); +x_24 = lean_st_ref_get(x_12, x_13); +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_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Environment_contains(x_27, x_23); +if (x_28 == 0) +{ +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; size_t x_41; size_t x_42; lean_object* x_43; +lean_dec(x_22); +x_29 = lean_ctor_get(x_11, 0); +x_30 = lean_ctor_get(x_11, 1); +x_31 = lean_ctor_get(x_11, 2); +x_32 = lean_ctor_get(x_11, 3); +x_33 = lean_ctor_get(x_11, 4); +x_34 = lean_ctor_get(x_11, 5); +x_35 = lean_ctor_get(x_11, 6); +x_36 = lean_ctor_get(x_11, 7); +x_37 = l_Lean_replaceRef(x_16, x_32); +lean_dec(x_16); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +x_38 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_30); +lean_ctor_set(x_38, 2, x_31); +lean_ctor_set(x_38, 3, x_37); +lean_ctor_set(x_38, 4, x_33); +lean_ctor_set(x_38, 5, x_34); +lean_ctor_set(x_38, 6, x_35); +lean_ctor_set(x_38, 7, x_36); +x_39 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_23, x_6, x_7, x_8, x_9, x_10, x_38, x_12, x_26); +lean_dec(x_38); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = 1; +x_42 = x_4 + x_41; +x_43 = lean_box(0); +x_4 = x_42; +x_5 = x_43; +x_13 = x_40; +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; +lean_dec(x_16); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_22); +lean_ctor_set(x_45, 1, x_23); +x_46 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_45, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = 1; +x_49 = x_4 + x_48; +x_50 = lean_box(0); +x_4 = x_49; +x_5 = x_50; +x_13 = x_47; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getId(x_11); +lean_dec(x_11); +x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +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_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = l_Lean_Syntax_getSepArgs(x_17); +lean_dec(x_17); +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); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(x_14, x_18, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_18); +lean_dec(x_14); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +return x_13; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: +{ +uint8_t x_14; +x_14 = x_4 < x_3; +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_16 = lean_array_uget(x_2, x_4); +x_17 = l_Lean_Syntax_getId(x_16); +lean_inc(x_17); +x_18 = l_Lean_Name_append(x_1, x_17); +x_19 = lean_st_ref_get(x_12, x_13); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Environment_contains(x_22, x_18); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; +lean_dec(x_17); +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +x_26 = lean_ctor_get(x_11, 2); +x_27 = lean_ctor_get(x_11, 3); +x_28 = lean_ctor_get(x_11, 4); +x_29 = lean_ctor_get(x_11, 5); +x_30 = lean_ctor_get(x_11, 6); +x_31 = lean_ctor_get(x_11, 7); +x_32 = l_Lean_replaceRef(x_16, x_27); +lean_dec(x_16); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +x_33 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_32); +lean_ctor_set(x_33, 4, x_28); +lean_ctor_set(x_33, 5, x_29); +lean_ctor_set(x_33, 6, x_30); +lean_ctor_set(x_33, 7, x_31); +x_34 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_18, x_6, x_7, x_8, x_9, x_10, x_33, x_12, x_21); +lean_dec(x_33); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = 1; +x_37 = x_4 + x_36; +x_4 = x_37; +x_13 = x_35; +goto _start; +} +else +{ +lean_object* x_39; size_t x_40; size_t x_41; +lean_dec(x_18); +lean_dec(x_16); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_17); +lean_ctor_set(x_39, 1, x_5); +x_40 = 1; +x_41 = x_4 + x_40; +x_4 = x_41; +x_5 = x_39; +x_13 = x_21; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(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; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getId(x_11); +lean_dec(x_11); +x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +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_box(0); +x_17 = lean_unsigned_to_nat(2u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_getArgs(x_18); +lean_dec(x_18); +x_20 = lean_array_get_size(x_19); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(x_14, x_19, x_21, x_22, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_19); +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_14); +lean_ctor_set(x_26, 1, x_24); +x_27 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +return x_13; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: +{ +uint8_t x_14; +x_14 = x_4 < x_3; +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_5); +x_16 = lean_array_uget(x_2, x_4); +x_17 = l_Lean_Syntax_getId(x_16); +lean_inc(x_17); +x_18 = l_Lean_Name_append(x_1, x_17); +x_19 = lean_st_ref_get(x_12, x_13); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Environment_contains(x_22, x_18); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; +lean_dec(x_17); +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +x_26 = lean_ctor_get(x_11, 2); +x_27 = lean_ctor_get(x_11, 3); +x_28 = lean_ctor_get(x_11, 4); +x_29 = lean_ctor_get(x_11, 5); +x_30 = lean_ctor_get(x_11, 6); +x_31 = lean_ctor_get(x_11, 7); +x_32 = l_Lean_replaceRef(x_16, x_27); +lean_dec(x_16); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +x_33 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_32); +lean_ctor_set(x_33, 4, x_28); +lean_ctor_set(x_33, 5, x_29); +lean_ctor_set(x_33, 6, x_30); +lean_ctor_set(x_33, 7, x_31); +x_34 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_18, x_6, x_7, x_8, x_9, x_10, x_33, x_12, x_21); +lean_dec(x_33); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = 1; +x_37 = x_4 + x_36; +x_38 = lean_box(0); +x_4 = x_37; +x_5 = x_38; +x_13 = x_35; +goto _start; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_16); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_17); +lean_ctor_set(x_40, 1, x_18); +x_41 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = 1; +x_44 = x_4 + x_43; +x_45 = lean_box(0); +x_4 = x_44; +x_5 = x_45; +x_13 = x_42; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(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; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getId(x_11); +lean_dec(x_11); +x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +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_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +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); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(x_14, x_18, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_18); +lean_dec(x_14); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +return x_13; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: +{ +uint8_t x_14; +x_14 = x_4 < x_3; +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_5); +x_16 = lean_array_uget(x_2, x_4); +x_17 = lean_st_ref_take(x_12, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_1); +x_22 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_16, x_21, x_1); +lean_ctor_set(x_18, 0, x_22); +x_23 = lean_st_ref_set(x_12, x_18, x_19); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = 1; +x_26 = x_4 + x_25; +x_27 = lean_box(0); +x_4 = x_26; +x_5 = x_27; +x_13 = x_24; +goto _start; +} +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; size_t x_37; size_t x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +x_31 = lean_ctor_get(x_18, 2); +x_32 = lean_ctor_get(x_18, 3); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +lean_inc(x_1); +x_33 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_16, x_29, x_1); +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_32); +x_35 = lean_st_ref_set(x_12, x_34, x_19); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = 1; +x_38 = x_4 + x_37; +x_39 = lean_box(0); +x_4 = x_38; +x_5 = x_39; +x_13 = x_36; +goto _start; +} +} +} +} +lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +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 = l_Lean_scopedEnvExtensionsRef; +x_13 = lean_st_ref_get(x_12, x_11); +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_array_get_size(x_14); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(x_1, x_14, x_17, x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_14); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(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, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = x_3 < x_2; +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +x_15 = lean_array_uget(x_1, x_3); +x_16 = l_Lean_Syntax_getId(x_15); +lean_dec(x_15); +x_17 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) +{ +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; size_t x_26; size_t x_27; lean_object* x_28; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +lean_inc(x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +x_22 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = 1; +x_27 = x_3 + x_26; +x_28 = lean_box(0); +x_3 = x_27; +x_4 = x_28; +x_12 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +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; +} +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(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; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getArgs(x_11); +lean_dec(x_11); +x_13 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = lean_box(0); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(x_12, x_14, x_15, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_12); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_17, 0); +x_24 = lean_ctor_get(x_17, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_17); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +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_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed), 9, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__4; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openOnly"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openHiding"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___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) { +_start: +{ +lean_object* x_9; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; +x_22 = lean_ctor_get(x_6, 5); +lean_inc(x_22); +x_23 = lean_ctor_get(x_6, 4); +lean_inc(x_23); +x_24 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1; +lean_inc(x_1); +x_25 = l_Lean_Syntax_getKind(x_1); +x_26 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5; +x_27 = lean_name_eq(x_25, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +if (x_27 == 0) +{ +uint8_t x_138; +x_138 = 0; +x_29 = x_138; +goto block_137; +} +else +{ +uint8_t x_139; +x_139 = 1; +x_29 = x_139; +goto block_137; +} +block_21: +{ +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +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) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +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; +} +} +} +block_137: +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_st_ref_get(x_7, x_8); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_mk_ref(x_28, x_31); +if (x_29 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7; +x_36 = lean_name_eq(x_25, x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9; +x_38 = lean_name_eq(x_25, x_37); +lean_dec(x_25); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_1); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +lean_inc(x_7); +lean_inc(x_33); +x_42 = lean_apply_9(x_24, x_40, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_41); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_st_ref_get(x_7, x_44); +lean_dec(x_7); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_st_ref_get(x_33, x_46); +lean_dec(x_33); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_43); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_47, 0, x_50); +x_9 = x_47; +goto block_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_47, 0); +x_52 = lean_ctor_get(x_47, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_47); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_43); +lean_ctor_set(x_53, 1, x_51); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_9 = x_54; +goto block_21; +} +} +else +{ +uint8_t x_55; +lean_dec(x_33); +lean_dec(x_7); +x_55 = !lean_is_exclusive(x_42); +if (x_55 == 0) +{ +x_9 = x_42; +goto block_21; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_42, 0); +x_57 = lean_ctor_get(x_42, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_42); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_9 = x_58; +goto block_21; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_33); +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_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) +{ +x_9 = x_39; +goto block_21; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_9 = x_62; +goto block_21; +} +} +} +else +{ +lean_object* x_63; +x_63 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_1); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +lean_inc(x_7); +lean_inc(x_33); +x_66 = lean_apply_9(x_24, x_64, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_st_ref_get(x_7, x_68); +lean_dec(x_7); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_st_ref_get(x_33, x_70); +lean_dec(x_33); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_71, 0); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_67); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_71, 0, x_74); +x_9 = x_71; +goto block_21; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_71, 0); +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_67); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +x_9 = x_78; +goto block_21; +} +} +else +{ +uint8_t x_79; +lean_dec(x_33); +lean_dec(x_7); +x_79 = !lean_is_exclusive(x_66); +if (x_79 == 0) +{ +x_9 = x_66; +goto block_21; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_66, 0); +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_66); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_9 = x_82; +goto block_21; +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_33); +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_83 = !lean_is_exclusive(x_63); +if (x_83 == 0) +{ +x_9 = x_63; +goto block_21; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_63, 0); +x_85 = lean_ctor_get(x_63, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_63); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_9 = x_86; +goto block_21; +} +} +} +} +else +{ +lean_object* x_87; +lean_dec(x_25); +x_87 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_1); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +lean_inc(x_7); +lean_inc(x_33); +x_90 = lean_apply_9(x_24, x_88, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_89); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_st_ref_get(x_7, x_92); +lean_dec(x_7); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_st_ref_get(x_33, x_94); +lean_dec(x_33); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_95, 0); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_91); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_95, 0, x_98); +x_9 = x_95; +goto block_21; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_ctor_get(x_95, 0); +x_100 = lean_ctor_get(x_95, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_95); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_91); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_9 = x_102; +goto block_21; +} +} +else +{ +uint8_t x_103; +lean_dec(x_33); +lean_dec(x_7); +x_103 = !lean_is_exclusive(x_90); +if (x_103 == 0) +{ +x_9 = x_90; +goto block_21; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_90, 0); +x_105 = lean_ctor_get(x_90, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_90); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_9 = x_106; +goto block_21; +} +} +} +else +{ +uint8_t x_107; +lean_dec(x_33); +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_107 = !lean_is_exclusive(x_87); +if (x_107 == 0) +{ +x_9 = x_87; +goto block_21; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_87, 0); +x_109 = lean_ctor_get(x_87, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_87); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_9 = x_110; +goto block_21; +} +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_25); +x_111 = lean_ctor_get(x_32, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_32, 1); +lean_inc(x_112); +lean_dec(x_32); +x_113 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(x_1, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_112); +lean_dec(x_1); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +lean_inc(x_7); +lean_inc(x_111); +x_116 = lean_apply_9(x_24, x_114, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_115); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_117 = 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_st_ref_get(x_7, x_118); +lean_dec(x_7); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_get(x_111, x_120); +lean_dec(x_111); +x_122 = !lean_is_exclusive(x_121); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_121, 0); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_117); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_121, 0, x_124); +x_9 = x_121; +goto block_21; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_121, 0); +x_126 = lean_ctor_get(x_121, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_121); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_117); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +x_9 = x_128; +goto block_21; +} +} +else +{ +uint8_t x_129; +lean_dec(x_111); +lean_dec(x_7); +x_129 = !lean_is_exclusive(x_116); +if (x_129 == 0) +{ +x_9 = x_116; +goto block_21; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_116, 0); +x_131 = lean_ctor_get(x_116, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_116); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_9 = x_132; +goto block_21; +} +} +} +else +{ +uint8_t x_133; +lean_dec(x_111); +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_133 = !lean_is_exclusive(x_113); +if (x_133 == 0) +{ +x_9 = x_113; +goto block_21; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_113, 0); +x_135 = lean_ctor_get(x_113, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_113); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_9 = x_136; +goto block_21; +} +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_4); +x_14 = lean_array_uget(x_1, x_3); +x_15 = lean_st_ref_take(x_10, x_11); +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_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_16, 0); +x_20 = l_Lean_ScopedEnvExtension_popScope___rarg(x_14, x_19); +lean_dec(x_14); +lean_ctor_set(x_16, 0, x_20); +x_21 = lean_st_ref_set(x_10, x_16, x_17); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = 1; +x_24 = x_3 + x_23; +x_25 = lean_box(0); +x_3 = x_24; +x_4 = x_25; +x_11 = x_22; +goto _start; +} +else +{ +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; size_t x_35; size_t x_36; lean_object* x_37; +x_27 = lean_ctor_get(x_16, 0); +x_28 = lean_ctor_get(x_16, 1); +x_29 = lean_ctor_get(x_16, 2); +x_30 = lean_ctor_get(x_16, 3); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_16); +x_31 = l_Lean_ScopedEnvExtension_popScope___rarg(x_14, x_27); +lean_dec(x_14); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +x_33 = lean_st_ref_set(x_10, x_32, x_17); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = 1; +x_36 = x_3 + x_35; +x_37 = lean_box(0); +x_3 = x_36; +x_4 = x_37; +x_11 = x_34; +goto _start; +} +} +} +} +lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_scopedEnvExtensionsRef; +x_11 = lean_st_ref_get(x_10, x_9); +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_array_get_size(x_12); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = lean_box(0); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(x_12, x_15, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_13); +lean_dec(x_12); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +lean_object* l_Lean_Elab_Term_elabOpen(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 = l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +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_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = lean_ctor_get(x_7, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_7, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_7, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 3); +lean_inc(x_22); +x_23 = lean_ctor_get(x_7, 4); +lean_inc(x_23); +x_24 = lean_ctor_get(x_7, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_7, 7); +lean_inc(x_25); +x_26 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_22); +lean_ctor_set(x_26, 4, x_23); +lean_ctor_set(x_26, 5, x_15); +lean_ctor_set(x_26, 6, x_24); +lean_ctor_set(x_26, 7, x_25); +x_27 = 1; +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_28 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_27, x_27, x_3, x_4, x_5, x_6, x_26, x_8, x_16); +if (lean_obj_tag(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_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_30); +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_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_29); +return x_31; +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_28, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_dec(x_28); +x_38 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_37); +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_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +lean_ctor_set_tag(x_38, 1); +lean_ctor_set(x_38, 0, x_36); +return x_38; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_dec(x_2); +x_43 = lean_ctor_get(x_14, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_14, 1); +lean_inc(x_44); +lean_dec(x_14); +x_45 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_44); +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_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set_tag(x_45, 1); +lean_ctor_set(x_45, 0, x_43); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_43); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_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_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(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); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(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_resolveNamespace___at_Lean_Elab_Term_elabOpen___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_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___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_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +lean_dec(x_3); +x_13 = l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(x_1, x_2, x_12, 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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(x_1, x_11, 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_12; +} +} +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10___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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12___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_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14___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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_2); +return x_16; +} +} +lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17___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_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19___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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); +lean_dec(x_5); +lean_dec(x_1); +return x_15; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16___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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21___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_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(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); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_elabOpen___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_elabOpen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("open"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabOpen"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabOpen___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___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; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_KVMap_insertCore(x_11, x_1, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type mismatch at set_option"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 3); +lean_inc(x_10); +lean_inc(x_1); +x_11 = l_Lean_getOptionDecl(x_1, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(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); +lean_dec(x_12); +x_15 = l_Lean_DataValue_sameCtor(x_14, x_2); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_2); +lean_dec(x_1); +x_16 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2; +x_17 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1(x_1, x_2, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_3); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_io_error_to_string(x_25); +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_11, 0, x_29); +return x_11; +} +else +{ +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; +x_30 = lean_ctor_get(x_11, 0); +x_31 = lean_ctor_get(x_11, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_11); +x_32 = lean_io_error_to_string(x_30); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_10); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_31); +return x_36; +} +} +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected set_option value "); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_Lean_Syntax_getId(x_1); +x_11 = lean_erase_macro_scopes(x_10); +x_12 = l_Lean_Syntax_isStrLit_x3f(x_2); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_numLitKind; +x_14 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_13, x_2); +if (lean_obj_tag(x_14) == 0) +{ +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +x_16 = l_Lean_Elab_Term_elabScientificLit___closed__10; +x_17 = lean_string_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Elab_Term_elabScientificLit___closed__7; +x_19 = lean_string_dec_eq(x_15, x_18); +lean_dec(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_11); +x_20 = lean_ctor_get(x_7, 3); +lean_inc(x_20); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_2); +x_25 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Elab_Term_elabSyntheticHole___closed__9; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_7); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_2); +x_30 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3; +x_31 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_15); +lean_dec(x_2); +x_32 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4; +x_33 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_11); +x_34 = lean_ctor_get(x_7, 3); +lean_inc(x_34); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_2); +x_39 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l_Lean_Elab_Term_elabSyntheticHole___closed__9; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +lean_dec(x_7); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_2); +x_44 = lean_ctor_get(x_14, 0); +lean_inc(x_44); +lean_dec(x_14); +x_45 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_2); +x_47 = lean_ctor_get(x_12, 0); +lean_inc(x_47); +lean_dec(x_12); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_49; +} +} +} +lean_object* l_Lean_Elab_Term_elabSetOption(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_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +lean_inc(x_7); +lean_inc(x_3); +x_14 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(x_11, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = !lean_is_exclusive(x_7); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_7, 2); +lean_dec(x_20); +x_21 = lean_ctor_get(x_7, 0); +lean_dec(x_21); +x_22 = l_Lean_maxRecDepth; +x_23 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_15, x_22); +lean_ctor_set(x_7, 2, x_23); +lean_ctor_set(x_7, 0, x_15); +x_24 = 1; +x_25 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_24, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +return x_25; +} +else +{ +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; uint8_t x_35; lean_object* x_36; +x_26 = lean_ctor_get(x_7, 1); +x_27 = lean_ctor_get(x_7, 3); +x_28 = lean_ctor_get(x_7, 4); +x_29 = lean_ctor_get(x_7, 5); +x_30 = lean_ctor_get(x_7, 6); +x_31 = lean_ctor_get(x_7, 7); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +x_32 = l_Lean_maxRecDepth; +x_33 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_15, x_32); +x_34 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_34, 0, x_15); +lean_ctor_set(x_34, 1, x_26); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_29); +lean_ctor_set(x_34, 6, x_30); +lean_ctor_set(x_34, 7, x_31); +x_35 = 1; +x_36 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_35, x_35, x_3, x_4, x_5, x_6, x_34, x_8, x_16); +return x_36; +} +} +else +{ +uint8_t x_37; +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_is_exclusive(x_14); +if (x_37 == 0) +{ +return x_14; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_14, 0); +x_39 = lean_ctor_get(x_14, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_14); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_6); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_elabSetOption___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_elabSetOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("set_option"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabSetOption"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSetOption___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Term(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_BuiltinTerm(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabProp___rarg___closed__1 = _init_l_Lean_Elab_Term_elabProp___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabProp___rarg___closed__1); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__1); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__2); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__3); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__4); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__5); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__6 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__6); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__7 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__7); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__8 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__8(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__8); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__9 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__9(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__9); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__10 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__10(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__10); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__11 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__11(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__11); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__12 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__12(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__12); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__13 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__13(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__13); +l___regBuiltin_Lean_Elab_Term_elabProp___closed__14 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__14(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__14); +res = l___regBuiltin_Lean_Elab_Term_elabProp(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabSort___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__1); +l___regBuiltin_Lean_Elab_Term_elabSort___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__2); +l___regBuiltin_Lean_Elab_Term_elabSort___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__3); +l___regBuiltin_Lean_Elab_Term_elabSort___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__4); +l___regBuiltin_Lean_Elab_Term_elabSort___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabSort(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1); +l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2); +l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3); +l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4); +l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1); +l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2); +l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1); +l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2); +l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3); +l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4); +l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1); +l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2); +l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3); +l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4); +l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabHole___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__1); +l___regBuiltin_Lean_Elab_Term_elabHole___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__2); +l___regBuiltin_Lean_Elab_Term_elabHole___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__3); +l___regBuiltin_Lean_Elab_Term_elabHole___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__4); +l___regBuiltin_Lean_Elab_Term_elabHole___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabHole(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabSyntheticHole___closed__1 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__1); +l_Lean_Elab_Term_elabSyntheticHole___closed__2 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__2); +l_Lean_Elab_Term_elabSyntheticHole___closed__3 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__3); +l_Lean_Elab_Term_elabSyntheticHole___closed__4 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__4); +l_Lean_Elab_Term_elabSyntheticHole___closed__5 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__5); +l_Lean_Elab_Term_elabSyntheticHole___closed__6 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__6); +l_Lean_Elab_Term_elabSyntheticHole___closed__7 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__7); +l_Lean_Elab_Term_elabSyntheticHole___closed__8 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__8); +l_Lean_Elab_Term_elabSyntheticHole___closed__9 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__9); +l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1); +l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2); +l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3); +l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4); +l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabByTactic___closed__1 = _init_l_Lean_Elab_Term_elabByTactic___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__1); +l_Lean_Elab_Term_elabByTactic___closed__2 = _init_l_Lean_Elab_Term_elabByTactic___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__2); +l_Lean_Elab_Term_elabByTactic___closed__3 = _init_l_Lean_Elab_Term_elabByTactic___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__3); +l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1); +l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2); +l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3); +l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4); +l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1); +l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2); +l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3); +l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__4); +l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabBadCDot___rarg___closed__1 = _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___rarg___closed__1); +l_Lean_Elab_Term_elabBadCDot___rarg___closed__2 = _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___rarg___closed__2); +l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1); +l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2); +l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3); +l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4); +l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1 = _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1); +l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2 = _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2); +l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1); +l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2); +l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3); +l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1); +l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2); +l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3); +l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4); +l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1); +l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2); +l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3); +l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1); +l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2); +l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3); +l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabScientificLit___closed__1 = _init_l_Lean_Elab_Term_elabScientificLit___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__1); +l_Lean_Elab_Term_elabScientificLit___closed__2 = _init_l_Lean_Elab_Term_elabScientificLit___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__2); +l_Lean_Elab_Term_elabScientificLit___closed__3 = _init_l_Lean_Elab_Term_elabScientificLit___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__3); +l_Lean_Elab_Term_elabScientificLit___closed__4 = _init_l_Lean_Elab_Term_elabScientificLit___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__4); +l_Lean_Elab_Term_elabScientificLit___closed__5 = _init_l_Lean_Elab_Term_elabScientificLit___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__5); +l_Lean_Elab_Term_elabScientificLit___closed__6 = _init_l_Lean_Elab_Term_elabScientificLit___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__6); +l_Lean_Elab_Term_elabScientificLit___closed__7 = _init_l_Lean_Elab_Term_elabScientificLit___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__7); +l_Lean_Elab_Term_elabScientificLit___closed__8 = _init_l_Lean_Elab_Term_elabScientificLit___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__8); +l_Lean_Elab_Term_elabScientificLit___closed__9 = _init_l_Lean_Elab_Term_elabScientificLit___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__9); +l_Lean_Elab_Term_elabScientificLit___closed__10 = _init_l_Lean_Elab_Term_elabScientificLit___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__10); +l_Lean_Elab_Term_elabScientificLit___closed__11 = _init_l_Lean_Elab_Term_elabScientificLit___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__11); +l_Lean_Elab_Term_elabScientificLit___closed__12 = _init_l_Lean_Elab_Term_elabScientificLit___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__12); +l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1); +l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2); +l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3); +l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_elabCharLit___closed__1 = _init_l_Lean_Elab_Term_elabCharLit___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__1); +l_Lean_Elab_Term_elabCharLit___closed__2 = _init_l_Lean_Elab_Term_elabCharLit___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__2); +l_Lean_Elab_Term_elabCharLit___closed__3 = _init_l_Lean_Elab_Term_elabCharLit___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__3); +l_Lean_Elab_Term_elabCharLit___closed__4 = _init_l_Lean_Elab_Term_elabCharLit___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1); +l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2); +l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3); +l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4); +l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1); +l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2); +l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3); +l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4); +l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__1); +l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__2); +l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__3); +l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___closed__4); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2); +l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1); +l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2); +l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3); +l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4); +l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1); +l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2); +l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3); +l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4); +l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1); +l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2); +l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3); +l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4); +l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1); +l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2); +l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3); +l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4); +l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1(); +lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1); +l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1); +l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9); +l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1); +l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2); +l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3); +l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4); +l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabOpen(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1); +l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4); +l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1); +l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2); +l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3); +l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4); +l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5); +res = l___regBuiltin_Lean_Elab_Term_elabSetOption(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 6a2edb6f58..78a9d9f1af 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -27,10 +27,11 @@ lean_object* l_Lean_Elab_Command_elabEnd_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_withLogging___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls___boxed(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Command_elabSection(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInitQuot_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__3; @@ -42,47 +43,55 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1 static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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*); size_t l_USize_add(size_t, size_t); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1; static lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__4; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__3; lean_object* lean_io_get_num_heartbeats(lean_object*); +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_catchExceptions(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___boxed(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_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__6; lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__3; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__12; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___boxed(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3; +lean_object* l_Lean_Elab_Command_elabCommand___boxed__const__1; lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1; +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___boxed(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Command_withNamespace(lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(lean_object*, size_t, size_t, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope_match__1(lean_object*); static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___closed__2; @@ -91,17 +100,20 @@ lean_object* lean_io_error_to_string(lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__2; uint8_t l_Lean_Expr_isSyntheticSorry(lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabUniverses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabReduce___closed__1; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__2; lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___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_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11___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_throwError___at_Lean_Elab_Command_elabExport___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__1; lean_object* l_Lean_Elab_Command_elabEval___rarg(lean_object*); @@ -114,7 +126,7 @@ static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__ lean_object* l_Lean_Elab_Command_liftIO(lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__4; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabOpen___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,33 +138,32 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Command_getScope___boxed(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__2; lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__3; lean_object* l_Lean_Elab_Command_elabExport___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__2(lean_object*); -static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__8; lean_object* l_Lean_popScope___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___closed__2; lean_object* l_Lean_Elab_Command_elabCheck_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Context_macroStack___default; lean_object* l_Lean_Elab_Command_modifyScope_match__1(lean_object*); lean_object* l_Lean_Elab_Command_elabExport___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4; lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__4; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_runLinters___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3(lean_object*); lean_object* l_Std_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__1; lean_object* l_Lean_Elab_Command_runTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__16; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_withLogging___closed__2; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__7; lean_object* l_Lean_Elab_Command_hasNoErrorMessages___rarg___boxed(lean_object*, lean_object*); @@ -166,6 +177,7 @@ lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFr lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabEnd___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__2; +lean_object* l_Lean_Elab_Command_elabVariable___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); @@ -178,7 +190,6 @@ static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_ static lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__1; lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,7 +199,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17 lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5; lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__1; @@ -197,7 +207,6 @@ static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed_ lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__3; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInitQuot___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Context_cmdPos___default; @@ -207,6 +216,7 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabSection(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Scope_currNamespace___default; static lean_object* l_Lean_Elab_Command_State_messages___default___closed__2; +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -216,8 +226,9 @@ lean_object* l_Lean_Meta_reduce(lean_object*, uint8_t, uint8_t, uint8_t, lean_ob lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___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_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___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*); +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1; @@ -231,22 +242,21 @@ static lean_object* l_Lean_Elab_Command_State_messages___default___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_elabUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Command_instInhabitedState___closed__7; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__10; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__5; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM(lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__5; +lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1; lean_object* lean_add_alias(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); @@ -263,14 +273,15 @@ lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2(lean_ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__2(lean_object*); lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1; +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__5; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__2; lean_object* l_Lean_Elab_Command_withLogging_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__3; lean_object* l_Lean_Elab_Command_elabCommand_match__2(lean_object*); -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); @@ -278,7 +289,6 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_ela lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(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*); static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3; lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__3; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Command_elabOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,20 +308,20 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM; lean_object* l_Lean_Elab_Command_elabOpen(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__3; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2; static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___closed__1; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Command_elabOpen___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(lean_object*, lean_object*); lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM; -lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__15; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2; static lean_object* l_Lean_Elab_Command_elabSynth___closed__2; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__14; lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__2; @@ -319,6 +329,7 @@ lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_hasMissing(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__5; lean_object* l_Lean_Elab_Command_elabCheckFailure(lean_object*, lean_object*, lean_object*, lean_object*); @@ -327,26 +338,27 @@ lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Command_0__Le static lean_object* l_Lean_Elab_Command_elabCheck___closed__3; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__13; -lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(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_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__10; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__3; +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3; extern lean_object* l_Lean_maxRecDepth; +lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1___closed__2; -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__3; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__7; lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Command_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,13 +371,14 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* l_Lean_Elab_Command_elabSynth(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_Command_elabOpen___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope(lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___boxed(lean_object*, lean_object*, lean_object*); @@ -377,13 +390,12 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__4; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__5; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__2; -static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2; +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_nextMacroScope___default___closed__1; static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; @@ -397,7 +409,7 @@ lean_object* l_Lean_Elab_Command_liftEIO___rarg___boxed(lean_object*, lean_objec lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runLinters(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_activateScoped___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -425,11 +437,14 @@ static lean_object* l_Lean_Elab_Command_elabCheck___closed__2; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_Command_instMonadTraceCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__3; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1; lean_object* l_Lean_Elab_Command_withFreshMacroScope(lean_object*); @@ -445,7 +460,6 @@ static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__4; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermState(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__2; @@ -453,17 +467,15 @@ lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__ lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__16; lean_object* l_Lean_Elab_Term_elabTerm(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_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Scope_varDecls___default; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_elabCommand___closed__1; lean_object* l_Lean_Elab_Command_Scope_openDecls___default; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_elabSection___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; lean_object* l_Lean_Elab_Command_State_nextInstIdx___default; lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__4; @@ -472,6 +484,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__5; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2; lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__2; @@ -489,25 +502,23 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabUniverses___sp lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__1(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabEnd___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1; +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3; -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2; static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__3; lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1; lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__5; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__2; -static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__7; lean_object* l_Lean_Elab_Command_elabSynth___lambda__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_Elab_Command_liftCoreM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__3; lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__4; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_elabOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -519,7 +530,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__3; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); @@ -529,21 +539,20 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__2; static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__2; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1; +lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_failIfSucceeds_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__6; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1; lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_378_(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1358_(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1360_(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_State_ngen___default; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -559,22 +568,21 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1 static lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___closed__1; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__2; +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__3; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_messages___default___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Command_elabOpen___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__1; uint8_t l_Lean_Name_isAtomic(lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_activateScoped___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,40 +600,43 @@ lean_object* l_Lean_Elab_Command_Context_currRecDepth___default; lean_object* l_Lean_Elab_Command_elabExport(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3; +lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___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_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1; lean_object* l_Lean_Name_getNumParts(lean_object*); lean_object* l_Lean_Elab_Command_hasNoErrorMessages(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__1; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__1; lean_object* l_Lean_Elab_Command_liftCoreM_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__1; extern lean_object* l_Lean_docStringExt; lean_object* l_Lean_Elab_Command_State_scopes___default; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__6(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope___boxed(lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__4; -static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_liftTermElabM___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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Command_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot(lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__2; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Command_withLogging(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__1; static lean_object* l_Lean_Elab_Command_elabSynth___closed__1; @@ -640,18 +651,17 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(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_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__1(lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_elabOpen___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, 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*); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__5; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___boxed(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_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,37 +674,34 @@ lean_object* l_Lean_Elab_Command_elabCommand_match__3___rarg(lean_object*, lean_ lean_object* l_Lean_Elab_Command_elabCheck___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_Command_liftIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__1; lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4; -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVariable___closed__1; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__1; -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__2(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__2; lean_object* l_Lean_Elab_Command_Scope_levelNames___default; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__1; -lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Command_elabExport___spec__4(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__4; lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__6; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_Command_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Command_withLogging_match__1(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4; lean_object* l_Lean_Elab_Command_modifyScope_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*); @@ -705,9 +712,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__4; lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1(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*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__1; +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; -static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1; lean_object* l_Lean_Elab_Command_elabInitQuot___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_hasNoErrorMessages___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__2; @@ -716,6 +725,7 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__7___boxed(lean_o lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval___closed__2; +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd(lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__8___boxed(lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -725,13 +735,12 @@ static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__4; lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__3(lean_object*); static lean_object* l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__4; lean_object* l_Lean_Elab_Command_Context_ref___default; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__5; @@ -739,8 +748,10 @@ lean_object* l_Lean_Elab_Command_elabEnd_match__1___rarg(lean_object*, lean_obje lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__9; lean_object* l_Lean_Elab_Command_addUnivLevel(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_drop___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4; lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); @@ -749,7 +760,7 @@ lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__1; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabCheck___closed__4; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__4; @@ -758,17 +769,21 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__1; lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__4(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__3; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection___closed__2; static lean_object* l_Lean_Elab_Command_elabExport___closed__2; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1; +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__1; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__17; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2; static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__3; static lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__1; @@ -776,12 +791,15 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__9___b static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__3; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l_Lean_Elab_Command_elabCommand_match__3(lean_object*); +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__3; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabExport___closed__1; @@ -790,8 +808,10 @@ static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__6; lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1; lean_object* l_Lean_Elab_Command_getScope(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabExport___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3; @@ -803,7 +823,6 @@ lean_object* l_Lean_Elab_Command_expandInCmd(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8; lean_object* l_Lean_pushScope___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__11; lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -820,7 +839,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__4(lean_ob lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__6; static lean_object* l_Lean_Elab_Command_elabEnd___closed__1; -lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_registerNamespace(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__10; lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -835,6 +853,7 @@ static lean_object* l_Lean_Elab_Command_elabVariable___closed__2; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__2; lean_object* l_Lean_Elab_Command_instInhabitedScope; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__4; @@ -843,17 +862,13 @@ static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__4; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__4; lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); static lean_object* l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__3; lean_object* l_Lean_Elab_Command_runTermElabM_match__1(lean_object*); lean_object* l_Lean_Elab_Command_elbChoice___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_pp_macroStack; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_object*); @@ -866,6 +881,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__3; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__11; +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__3; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; @@ -883,6 +899,7 @@ static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__1; static lean_object* l_Lean_Elab_Command_elabNamespace___closed__2; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__12; @@ -895,12 +912,13 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessag lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace(lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Command_elabOpen___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___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_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__10; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_expandInCmd___closed__1; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*); @@ -908,23 +926,21 @@ static lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_Context_currMacroScope___default; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__9; static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__9; +lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__3; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__1; -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__3; lean_object* l_Lean_Elab_Command_getMainModule___boxed(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1; uint8_t l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure(lean_object*); @@ -937,6 +953,7 @@ uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand_match__1(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader___boxed(lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_getScopes___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__3; @@ -949,7 +966,9 @@ lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2___boxed(le lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__7(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__8; +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_traceState___default; +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabEval(lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute(lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -959,6 +978,7 @@ lean_object* l_Lean_Elab_Command_liftTermElabM_match__2___rarg(lean_object*, lea static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__5; lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -967,14 +987,15 @@ lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec lean_object* l_Lean_Elab_Command_elabChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__5; lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; +lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); @@ -983,14 +1004,16 @@ static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsComma static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__6; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabExport___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__3; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__2; +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_nextMacroScope___default; extern lean_object* l_Lean_scopedEnvExtensionsRef; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); @@ -1007,6 +1030,7 @@ lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM(lean_obj lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__12; lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); @@ -1015,7 +1039,6 @@ static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__1; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1; lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__2___rarg(lean_object*, lean_object*); -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; @@ -1023,6 +1046,7 @@ uint32_t lean_uint32_of_nat(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__1; lean_object* l_Lean_Elab_Command_elabVariable___lambda__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_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__3; @@ -1031,45 +1055,51 @@ lean_object* l_Lean_Elab_Command_getScopes___boxed(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_infoState___default; +lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInitQuot_match__1(lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___closed__3; static lean_object* l_Lean_Elab_Command_elabSynth___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__5; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__5; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInCmd___closed__2; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4___boxed(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_Command_liftTermElabM___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__5; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection___closed__3; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__8; static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabVariable___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18; -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Scope_varUIds___default; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__10___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -1077,30 +1107,34 @@ lean_object* l_Lean_Elab_Command_elabInitQuot___boxed(lean_object*); lean_object* l_List_map___at_Lean_Elab_Command_elabEnd___spec__1(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__7; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2; +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1; +lean_object* l_Lean_Elab_Command_elabSetOption___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__11; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__3; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2; lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__1; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__3; -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__15; lean_object* l_Lean_Elab_Command_liftEIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1; +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__3; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_lintersRef; lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__4; lean_object* l_Lean_Elab_Command_getRef___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Command_elabEnd___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -6744,141 +6778,9 @@ return x_2; lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -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_ctor_get(x_7, 3); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_10, x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = lean_st_ref_set(x_4, x_7, x_8); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = !lean_is_exclusive(x_3); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_3, 5); -lean_dec(x_16); -lean_ctor_set(x_3, 5, x_10); -x_17 = lean_apply_3(x_2, x_3, x_4, x_14); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = lean_ctor_get(x_3, 0); -x_19 = lean_ctor_get(x_3, 1); -x_20 = lean_ctor_get(x_3, 2); -x_21 = lean_ctor_get(x_3, 3); -x_22 = lean_ctor_get(x_3, 4); -x_23 = lean_ctor_get(x_3, 6); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_3); -x_24 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_24, 0, x_18); -lean_ctor_set(x_24, 1, x_19); -lean_ctor_set(x_24, 2, x_20); -lean_ctor_set(x_24, 3, x_21); -lean_ctor_set(x_24, 4, x_22); -lean_ctor_set(x_24, 5, x_10); -lean_ctor_set(x_24, 6, x_23); -x_25 = lean_apply_3(x_2, x_24, x_4, x_14); -return x_25; -} -} -else -{ -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; -x_26 = lean_ctor_get(x_7, 0); -x_27 = lean_ctor_get(x_7, 1); -x_28 = lean_ctor_get(x_7, 2); -x_29 = lean_ctor_get(x_7, 3); -x_30 = lean_ctor_get(x_7, 4); -x_31 = lean_ctor_get(x_7, 5); -x_32 = lean_ctor_get(x_7, 6); -x_33 = lean_ctor_get(x_7, 7); -x_34 = lean_ctor_get(x_7, 8); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_7); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_nat_add(x_29, x_35); -x_37 = lean_alloc_ctor(0, 9, 0); -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_30); -lean_ctor_set(x_37, 5, x_31); -lean_ctor_set(x_37, 6, x_32); -lean_ctor_set(x_37, 7, x_33); -lean_ctor_set(x_37, 8, x_34); -x_38 = lean_st_ref_set(x_4, x_37, x_8); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get(x_3, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_3, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_3, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_3, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_3, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_3, 6); -lean_inc(x_45); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - x_46 = x_3; -} else { - lean_dec_ref(x_3); - x_46 = lean_box(0); -} -if (lean_is_scalar(x_46)) { - x_47 = lean_alloc_ctor(0, 7, 0); -} else { - x_47 = x_46; -} -lean_ctor_set(x_47, 0, x_40); -lean_ctor_set(x_47, 1, x_41); -lean_ctor_set(x_47, 2, x_42); -lean_ctor_set(x_47, 3, x_43); -lean_ctor_set(x_47, 4, x_44); -lean_ctor_set(x_47, 5, x_29); -lean_ctor_set(x_47, 6, x_45); -x_48 = lean_apply_3(x_2, x_47, x_4, x_39); -return x_48; -} +lean_object* x_6; +x_6 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1() { @@ -7128,7 +7030,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1358_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1360_(lean_object* x_1) { _start: { lean_object* x_2; @@ -8656,381 +8558,21 @@ lean_dec(x_2); return x_4; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(lean_object* 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_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -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_5, 0); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_checkTraceOption(x_10, x_1); -lean_dec(x_10); -x_12 = lean_box(x_11); -lean_ctor_set(x_5, 0, x_12); -return x_5; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_5, 0); -x_14 = lean_ctor_get(x_5, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_5); -x_15 = lean_ctor_get(x_13, 2); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_checkTraceOption(x_17, x_1); -lean_dec(x_17); -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_14); -return x_20; -} -} -} -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("["); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("] "); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_st_ref_take(x_4, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 8); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_13, 8); -lean_dec(x_17); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_1); -x_20 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_20, 0, x_1); -x_21 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -x_26 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); -lean_ctor_set(x_14, 0, x_30); -x_31 = lean_st_ref_set(x_4, x_13, x_15); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = lean_box(0); -lean_ctor_set(x_31, 0, x_34); -return x_31; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -else -{ -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; 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; -x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_39 = lean_ctor_get(x_14, 0); -lean_inc(x_39); -lean_dec(x_14); -lean_inc(x_1); -x_40 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_40, 0, x_1); -x_41 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_10); -x_46 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_7); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); -x_51 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); -lean_ctor_set(x_13, 8, x_51); -x_52 = lean_st_ref_set(x_4, x_13, x_15); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t 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_57 = lean_ctor_get(x_13, 0); -x_58 = lean_ctor_get(x_13, 1); -x_59 = lean_ctor_get(x_13, 2); -x_60 = lean_ctor_get(x_13, 3); -x_61 = lean_ctor_get(x_13, 4); -x_62 = lean_ctor_get(x_13, 5); -x_63 = lean_ctor_get(x_13, 6); -x_64 = lean_ctor_get(x_13, 7); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_13); -x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_66 = lean_ctor_get(x_14, 0); -lean_inc(x_66); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_67 = x_14; -} else { - lean_dec_ref(x_14); - x_67 = lean_box(0); -} -lean_inc(x_1); -x_68 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_68, 0, x_1); -x_69 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_10); -x_74 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_76, 0, x_1); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_7); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); -if (lean_is_scalar(x_67)) { - x_79 = lean_alloc_ctor(0, 1, 1); -} else { - x_79 = x_67; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); -x_80 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_80, 0, x_57); -lean_ctor_set(x_80, 1, x_58); -lean_ctor_set(x_80, 2, x_59); -lean_ctor_set(x_80, 3, x_60); -lean_ctor_set(x_80, 4, x_61); -lean_ctor_set(x_80, 5, x_62); -lean_ctor_set(x_80, 6, x_63); -lean_ctor_set(x_80, 7, x_64); -lean_ctor_set(x_80, 8, x_79); -x_81 = lean_st_ref_set(x_4, x_80, x_15); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_83 = x_81; -} else { - lean_dec_ref(x_81); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -} -} -lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -return x_6; -} -} -static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("info"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; -x_2 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(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; 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; lean_object* x_24; uint8_t x_25; +lean_object* x_7; uint8_t x_8; x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); +x_8 = !lean_is_exclusive(x_7); +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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 2); +x_11 = lean_ctor_get(x_9, 2); lean_inc(x_11); -lean_dec(x_8); +lean_dec(x_9); x_12 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_11); lean_dec(x_11); x_13 = lean_alloc_ctor(0, 2, 0); @@ -9042,414 +8584,76 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_3); x_16 = lean_ctor_get(x_4, 1); -x_17 = lean_ctor_get(x_4, 6); -x_18 = lean_ctor_get(x_12, 1); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_12, 2); lean_inc(x_18); -x_19 = lean_ctor_get(x_12, 2); +x_19 = lean_ctor_get(x_12, 3); lean_inc(x_19); -x_20 = lean_ctor_get(x_12, 3); -lean_inc(x_20); lean_dec(x_12); -x_21 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; +x_20 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; lean_inc(x_16); -x_22 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_22, 0, x_10); -lean_ctor_set(x_22, 1, x_16); -lean_ctor_set(x_22, 2, x_21); -lean_ctor_set(x_22, 3, x_18); -lean_ctor_set(x_22, 4, x_19); -lean_ctor_set(x_22, 5, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_15); -x_24 = lean_st_ref_get(x_5, x_9); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +x_21 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_21, 0, x_10); +lean_ctor_set(x_21, 1, x_16); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_21, 3, x_17); +lean_ctor_set(x_21, 4, x_18); +lean_ctor_set(x_21, 5, 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_15); +lean_ctor_set(x_7, 0, x_22); +return x_7; +} +else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = lean_ctor_get(x_26, 2); -lean_inc(x_28); +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; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_7); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 2); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_26); lean_dec(x_26); -x_29 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_28); -lean_dec(x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; -x_32 = l_Lean_checkTraceOption(x_30, x_31); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_ctor_set(x_24, 0, x_23); -return x_24; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_2); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_3); +x_31 = lean_ctor_get(x_4, 1); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_27, 2); +lean_inc(x_33); +x_34 = lean_ctor_get(x_27, 3); +lean_inc(x_34); +lean_dec(x_27); +x_35 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; +lean_inc(x_31); +x_36 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_36, 0, x_25); +lean_ctor_set(x_36, 1, x_31); +lean_ctor_set(x_36, 2, x_35); +lean_ctor_set(x_36, 3, x_32); +lean_ctor_set(x_36, 4, x_33); +lean_ctor_set(x_36, 5, x_34); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_30); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_24); +return x_38; } -else -{ -lean_object* x_33; lean_object* x_34; -lean_free_object(x_24); -x_33 = lean_box(0); -lean_inc(x_23); -x_34 = l_Lean_Elab_InfoTree_format(x_23, x_33, x_27); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_st_ref_get(x_5, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 8); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); -lean_dec(x_39); -if (x_40 == 0) -{ -uint8_t x_41; -lean_dec(x_35); -x_41 = !lean_is_exclusive(x_37); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_37, 0); -lean_dec(x_42); -lean_ctor_set(x_37, 0, x_23); -return x_37; -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_23); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); -lean_dec(x_37); -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_31, x_4, x_5, x_45); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -if (x_48 == 0) -{ -uint8_t x_49; -lean_dec(x_35); -x_49 = !lean_is_exclusive(x_46); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_46, 0); -lean_dec(x_50); -lean_ctor_set(x_46, 0, x_23); -return x_46; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_46, 1); -lean_inc(x_51); -lean_dec(x_46); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_53 = lean_ctor_get(x_46, 1); -lean_inc(x_53); -lean_dec(x_46); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_35); -x_55 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_31, x_54, x_4, x_5, x_53); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -lean_ctor_set(x_55, 0, x_23); -return x_55; -} -else -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_23); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -} -else -{ -uint8_t x_60; -lean_dec(x_23); -x_60 = !lean_is_exclusive(x_34); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_34, 0); -x_62 = lean_io_error_to_string(x_61); -x_63 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -lean_inc(x_17); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_17); -lean_ctor_set(x_65, 1, x_64); -lean_ctor_set(x_34, 0, x_65); -return x_34; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_66 = lean_ctor_get(x_34, 0); -x_67 = lean_ctor_get(x_34, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_34); -x_68 = lean_io_error_to_string(x_66); -x_69 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -lean_inc(x_17); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_17); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_67); -return x_72; -} -} -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_73 = lean_ctor_get(x_24, 0); -x_74 = lean_ctor_get(x_24, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_24); -x_75 = lean_ctor_get(x_73, 2); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_75); -lean_dec(x_75); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; -x_79 = l_Lean_checkTraceOption(x_77, x_78); -lean_dec(x_77); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_23); -lean_ctor_set(x_80, 1, x_74); -return x_80; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_box(0); -lean_inc(x_23); -x_82 = l_Lean_Elab_InfoTree_format(x_23, x_81, x_74); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_st_ref_get(x_5, x_84); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_86, 8); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); -lean_dec(x_87); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_83); -x_89 = lean_ctor_get(x_85, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_90 = x_85; -} else { - lean_dec_ref(x_85); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_23); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_92 = lean_ctor_get(x_85, 1); -lean_inc(x_92); -lean_dec(x_85); -x_93 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_78, x_4, x_5, x_92); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_unbox(x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_83); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_97 = x_93; -} else { - lean_dec_ref(x_93); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_23); -lean_ctor_set(x_98, 1, x_96); -return x_98; -} -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; -x_99 = lean_ctor_get(x_93, 1); -lean_inc(x_99); -lean_dec(x_93); -x_100 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_100, 0, x_83); -x_101 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_78, x_100, x_4, x_5, x_99); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_103 = x_101; -} else { - lean_dec_ref(x_101); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_23); -lean_ctor_set(x_104, 1, x_102); -return x_104; -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_23); -x_105 = lean_ctor_get(x_82, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_82, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_107 = x_82; -} else { - lean_dec_ref(x_82); - x_107 = lean_box(0); -} -x_108 = lean_io_error_to_string(x_105); -x_109 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_109, 0, x_108); -x_110 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_110, 0, x_109); -lean_inc(x_17); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_17); -lean_ctor_set(x_111, 1, x_110); -if (lean_is_scalar(x_107)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_107; -} -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_106); -return x_112; -} -} -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; } } lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___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) { @@ -9549,7 +8753,7 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -9715,14 +8919,473 @@ return x_47; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object* x_1) { +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg___boxed), 2, 0); return x_2; } } +lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_7, 7); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*2); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_apply_3(x_1, x_3, x_4, x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_4, 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); +lean_inc(x_4); +lean_inc(x_3); +x_16 = lean_apply_3(x_1, x_3, x_4, x_15); +if (lean_obj_tag(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; +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); +x_19 = lean_st_ref_get(x_4, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 7); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_4); +x_24 = lean_apply_4(x_2, x_23, x_3, x_4, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +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_st_ref_take(x_4, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 7); +lean_inc(x_29); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = !lean_is_exclusive(x_28); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_28, 7); +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_29, 1); +lean_dec(x_34); +x_35 = l_Std_PersistentArray_push___rarg(x_14, x_25); +lean_ctor_set(x_29, 1, x_35); +x_36 = lean_st_ref_set(x_4, x_28, x_30); +lean_dec(x_4); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_17); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_17); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get_uint8(x_29, sizeof(void*)*2); +x_42 = lean_ctor_get(x_29, 0); +lean_inc(x_42); +lean_dec(x_29); +x_43 = l_Std_PersistentArray_push___rarg(x_14, x_25); +x_44 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set_uint8(x_44, sizeof(void*)*2, x_41); +lean_ctor_set(x_28, 7, x_44); +x_45 = lean_st_ref_set(x_4, x_28, x_30); +lean_dec(x_4); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_17); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_49 = lean_ctor_get(x_28, 0); +x_50 = lean_ctor_get(x_28, 1); +x_51 = lean_ctor_get(x_28, 2); +x_52 = lean_ctor_get(x_28, 3); +x_53 = lean_ctor_get(x_28, 4); +x_54 = lean_ctor_get(x_28, 5); +x_55 = lean_ctor_get(x_28, 6); +x_56 = lean_ctor_get(x_28, 8); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_28); +x_57 = lean_ctor_get_uint8(x_29, sizeof(void*)*2); +x_58 = lean_ctor_get(x_29, 0); +lean_inc(x_58); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_59 = x_29; +} else { + lean_dec_ref(x_29); + x_59 = lean_box(0); +} +x_60 = l_Std_PersistentArray_push___rarg(x_14, x_25); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 2, 1); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set_uint8(x_61, sizeof(void*)*2, x_57); +x_62 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_62, 0, x_49); +lean_ctor_set(x_62, 1, x_50); +lean_ctor_set(x_62, 2, x_51); +lean_ctor_set(x_62, 3, x_52); +lean_ctor_set(x_62, 4, x_53); +lean_ctor_set(x_62, 5, x_54); +lean_ctor_set(x_62, 6, x_55); +lean_ctor_set(x_62, 7, x_61); +lean_ctor_set(x_62, 8, x_56); +x_63 = lean_st_ref_set(x_4, x_62, x_30); +lean_dec(x_4); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_17); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +uint8_t x_67; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_4); +x_67 = !lean_is_exclusive(x_24); +if (x_67 == 0) +{ +return x_24; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_24, 0); +x_69 = lean_ctor_get(x_24, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_24); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_16, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_16, 1); +lean_inc(x_72); +lean_dec(x_16); +x_73 = lean_st_ref_get(x_4, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_ctor_get(x_74, 7); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +lean_inc(x_4); +x_78 = lean_apply_4(x_2, x_77, x_3, x_4, x_75); +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_84; uint8_t x_85; +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_st_ref_take(x_4, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_82, 7); +lean_inc(x_83); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +x_85 = !lean_is_exclusive(x_82); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_82, 7); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_83); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_88 = lean_ctor_get(x_83, 1); +lean_dec(x_88); +x_89 = l_Std_PersistentArray_push___rarg(x_14, x_79); +lean_ctor_set(x_83, 1, x_89); +x_90 = lean_st_ref_set(x_4, x_82, x_84); +lean_dec(x_4); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; +x_92 = lean_ctor_get(x_90, 0); +lean_dec(x_92); +lean_ctor_set_tag(x_90, 1); +lean_ctor_set(x_90, 0, x_71); +return x_90; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +lean_dec(x_90); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_71); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} +else +{ +uint8_t x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_95 = lean_ctor_get_uint8(x_83, sizeof(void*)*2); +x_96 = lean_ctor_get(x_83, 0); +lean_inc(x_96); +lean_dec(x_83); +x_97 = l_Std_PersistentArray_push___rarg(x_14, x_79); +x_98 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set_uint8(x_98, sizeof(void*)*2, x_95); +lean_ctor_set(x_82, 7, x_98); +x_99 = lean_st_ref_set(x_4, x_82, x_84); +lean_dec(x_4); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_101 = x_99; +} else { + lean_dec_ref(x_99); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 2, 0); +} else { + x_102 = x_101; + lean_ctor_set_tag(x_102, 1); +} +lean_ctor_set(x_102, 0, x_71); +lean_ctor_set(x_102, 1, x_100); +return x_102; +} +} +else +{ +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; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_103 = lean_ctor_get(x_82, 0); +x_104 = lean_ctor_get(x_82, 1); +x_105 = lean_ctor_get(x_82, 2); +x_106 = lean_ctor_get(x_82, 3); +x_107 = lean_ctor_get(x_82, 4); +x_108 = lean_ctor_get(x_82, 5); +x_109 = lean_ctor_get(x_82, 6); +x_110 = lean_ctor_get(x_82, 8); +lean_inc(x_110); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_82); +x_111 = lean_ctor_get_uint8(x_83, sizeof(void*)*2); +x_112 = lean_ctor_get(x_83, 0); +lean_inc(x_112); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_113 = x_83; +} else { + lean_dec_ref(x_83); + x_113 = lean_box(0); +} +x_114 = l_Std_PersistentArray_push___rarg(x_14, x_79); +if (lean_is_scalar(x_113)) { + x_115 = lean_alloc_ctor(0, 2, 1); +} else { + x_115 = x_113; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_111); +x_116 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_116, 0, x_103); +lean_ctor_set(x_116, 1, x_104); +lean_ctor_set(x_116, 2, x_105); +lean_ctor_set(x_116, 3, x_106); +lean_ctor_set(x_116, 4, x_107); +lean_ctor_set(x_116, 5, x_108); +lean_ctor_set(x_116, 6, x_109); +lean_ctor_set(x_116, 7, x_115); +lean_ctor_set(x_116, 8, x_110); +x_117 = lean_st_ref_set(x_4, x_116, x_84); +lean_dec(x_4); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + 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_tag(x_120, 1); +} +lean_ctor_set(x_120, 0, x_71); +lean_ctor_set(x_120, 1, x_118); +return x_120; +} +} +else +{ +uint8_t x_121; +lean_dec(x_71); +lean_dec(x_14); +lean_dec(x_4); +x_121 = !lean_is_exclusive(x_78); +if (x_121 == 0) +{ +return x_78; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_78, 0); +x_123 = lean_ctor_get(x_78, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_78); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1() { _start: { @@ -9764,7 +9427,7 @@ 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_22; lean_object* x_23; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +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; x_14 = lean_ctor_get(x_3, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_3, 1); @@ -9772,444 +9435,141 @@ lean_inc(x_15); lean_dec(x_3); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_2); +x_17 = lean_apply_1(x_16, x_2); +x_18 = lean_ctor_get(x_14, 0); lean_inc(x_18); -lean_dec(x_17); -x_35 = lean_st_ref_get(x_5, x_6); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_36, 7); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*2); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; +lean_dec(x_14); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); lean_dec(x_18); -x_39 = lean_ctor_get(x_35, 1); -lean_inc(x_39); -lean_dec(x_35); +lean_inc(x_2); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___boxed), 6, 2); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_2); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_2); -x_40 = lean_apply_4(x_16, x_2, x_4, x_5, x_39); -if (lean_obj_tag(x_40) == 0) +x_21 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(x_17, x_20, x_4, x_5, x_6); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_41; lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_19 = x_41; -goto block_21; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_22 = x_42; -x_23 = x_43; -goto block_34; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_35, 1); -lean_inc(x_44); -lean_dec(x_35); -x_45 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_48 = lean_apply_4(x_16, x_2, x_4, x_5, x_47); -if (lean_obj_tag(x_48) == 0) -{ -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; -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_get(x_5, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 7); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -lean_inc(x_2); -x_55 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_18, x_2, x_54, x_4, x_5, x_52); -if (lean_obj_tag(x_55) == 0) -{ -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; -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_st_ref_take(x_5, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_59, 7); -lean_inc(x_60); -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_61); -lean_dec(x_58); -x_62 = !lean_is_exclusive(x_59); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_59, 7); -lean_dec(x_63); -x_64 = !lean_is_exclusive(x_60); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_60, 1); -lean_dec(x_65); -x_66 = l_Std_PersistentArray_push___rarg(x_46, x_56); -lean_ctor_set(x_60, 1, x_66); -x_67 = lean_st_ref_set(x_5, x_59, x_61); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_19 = x_68; -goto block_21; -} -else -{ -uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_69 = lean_ctor_get_uint8(x_60, sizeof(void*)*2); -x_70 = lean_ctor_get(x_60, 0); -lean_inc(x_70); -lean_dec(x_60); -x_71 = l_Std_PersistentArray_push___rarg(x_46, x_56); -x_72 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_69); -lean_ctor_set(x_59, 7, x_72); -x_73 = lean_st_ref_set(x_5, x_59, x_61); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_19 = x_74; -goto block_21; -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_75 = lean_ctor_get(x_59, 0); -x_76 = lean_ctor_get(x_59, 1); -x_77 = lean_ctor_get(x_59, 2); -x_78 = lean_ctor_get(x_59, 3); -x_79 = lean_ctor_get(x_59, 4); -x_80 = lean_ctor_get(x_59, 5); -x_81 = lean_ctor_get(x_59, 6); -x_82 = lean_ctor_get(x_59, 8); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_59); -x_83 = lean_ctor_get_uint8(x_60, sizeof(void*)*2); -x_84 = lean_ctor_get(x_60, 0); -lean_inc(x_84); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_85 = x_60; -} else { - lean_dec_ref(x_60); - x_85 = lean_box(0); -} -x_86 = l_Std_PersistentArray_push___rarg(x_46, x_56); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(0, 2, 1); -} else { - x_87 = x_85; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set_uint8(x_87, sizeof(void*)*2, x_83); -x_88 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_88, 0, x_75); -lean_ctor_set(x_88, 1, x_76); -lean_ctor_set(x_88, 2, x_77); -lean_ctor_set(x_88, 3, x_78); -lean_ctor_set(x_88, 4, x_79); -lean_ctor_set(x_88, 5, x_80); -lean_ctor_set(x_88, 6, x_81); -lean_ctor_set(x_88, 7, x_87); -lean_ctor_set(x_88, 8, x_82); -x_89 = lean_st_ref_set(x_5, x_88, x_61); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_19 = x_90; -goto block_21; -} -} -else -{ -lean_object* x_91; lean_object* x_92; -lean_dec(x_46); -x_91 = lean_ctor_get(x_55, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_55, 1); -lean_inc(x_92); -lean_dec(x_55); -x_22 = x_91; -x_23 = x_92; -goto block_34; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_93 = lean_ctor_get(x_48, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_48, 1); -lean_inc(x_94); -lean_dec(x_48); -x_95 = lean_st_ref_get(x_5, x_94); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_ctor_get(x_96, 7); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -lean_inc(x_2); -x_100 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_18, x_2, x_99, x_4, x_5, x_97); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_st_ref_take(x_5, x_102); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_104, 7); -lean_inc(x_105); -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_106); -lean_dec(x_103); -x_107 = !lean_is_exclusive(x_104); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_104, 7); -lean_dec(x_108); -x_109 = !lean_is_exclusive(x_105); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_105, 1); -lean_dec(x_110); -x_111 = l_Std_PersistentArray_push___rarg(x_46, x_101); -lean_ctor_set(x_105, 1, x_111); -x_112 = lean_st_ref_set(x_5, x_104, x_106); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_22 = x_93; -x_23 = x_113; -goto block_34; -} -else -{ -uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get_uint8(x_105, sizeof(void*)*2); -x_115 = lean_ctor_get(x_105, 0); -lean_inc(x_115); -lean_dec(x_105); -x_116 = l_Std_PersistentArray_push___rarg(x_46, x_101); -x_117 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set_uint8(x_117, sizeof(void*)*2, x_114); -lean_ctor_set(x_104, 7, x_117); -x_118 = lean_st_ref_set(x_5, x_104, x_106); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_22 = x_93; -x_23 = x_119; -goto block_34; -} -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_120 = lean_ctor_get(x_104, 0); -x_121 = lean_ctor_get(x_104, 1); -x_122 = lean_ctor_get(x_104, 2); -x_123 = lean_ctor_get(x_104, 3); -x_124 = lean_ctor_get(x_104, 4); -x_125 = lean_ctor_get(x_104, 5); -x_126 = lean_ctor_get(x_104, 6); -x_127 = lean_ctor_get(x_104, 8); -lean_inc(x_127); -lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_104); -x_128 = lean_ctor_get_uint8(x_105, sizeof(void*)*2); -x_129 = lean_ctor_get(x_105, 0); -lean_inc(x_129); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_130 = x_105; -} else { - lean_dec_ref(x_105); - x_130 = lean_box(0); -} -x_131 = l_Std_PersistentArray_push___rarg(x_46, x_101); -if (lean_is_scalar(x_130)) { - x_132 = lean_alloc_ctor(0, 2, 1); -} else { - x_132 = x_130; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set_uint8(x_132, sizeof(void*)*2, x_128); -x_133 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_133, 0, x_120); -lean_ctor_set(x_133, 1, x_121); -lean_ctor_set(x_133, 2, x_122); -lean_ctor_set(x_133, 3, x_123); -lean_ctor_set(x_133, 4, x_124); -lean_ctor_set(x_133, 5, x_125); -lean_ctor_set(x_133, 6, x_126); -lean_ctor_set(x_133, 7, x_132); -lean_ctor_set(x_133, 8, x_127); -x_134 = lean_st_ref_set(x_5, x_133, x_106); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -lean_dec(x_134); -x_22 = x_93; -x_23 = x_135; -goto block_34; -} -} -else -{ -lean_object* x_136; lean_object* x_137; -lean_dec(x_93); -lean_dec(x_46); -x_136 = lean_ctor_get(x_100, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_100, 1); -lean_inc(x_137); -lean_dec(x_100); -x_22 = x_136; -x_23 = x_137; -goto block_34; -} -} -} -block_21: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_19); lean_dec(x_5); -return x_20; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_21; } -block_34: +else { +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_24; +uint8_t x_23; lean_dec(x_15); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +return x_21; } else { -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_22, 0); +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 1); lean_inc(x_25); -x_26 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_27 = lean_nat_dec_eq(x_26, x_25); -lean_dec(x_25); +lean_dec(x_21); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_22); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_21); if (x_27 == 0) { -lean_object* x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_21, 1); +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_22, 0); +lean_inc(x_30); +x_31 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_32 = lean_nat_dec_eq(x_31, x_30); +lean_dec(x_30); +if (x_32 == 0) +{ lean_dec(x_15); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_23); -return x_28; +return x_21; } 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_free_object(x_21); lean_dec(x_22); lean_inc(x_1); -x_29 = lean_st_ref_set(x_5, x_1, x_23); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -lean_inc(x_4); -x_31 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); +x_33 = lean_st_ref_set(x_5, x_1, x_28); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); x_3 = x_15; -x_6 = x_32; +x_6 = x_34; goto _start; } } +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_dec(x_21); +x_37 = lean_ctor_get(x_22, 0); +lean_inc(x_37); +x_38 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_39 = lean_nat_dec_eq(x_38, x_37); +lean_dec(x_37); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_22); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_22); +lean_inc(x_1); +x_41 = lean_st_ref_set(x_5, x_1, x_36); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_3 = x_15; +x_6 = x_42; +goto _start; +} +} +} } } } @@ -10223,20 +9583,20 @@ lean_dec(x_3); return x_5; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_1, x_2); +x_3 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(x_1); +x_2 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3(x_1); lean_dec(x_1); return x_2; } @@ -10646,7 +10006,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1() { _start: { lean_object* x_1; @@ -10654,17 +10014,17 @@ x_1 = lean_mk_string("showPartialSyntaxErrors"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3() { _start: { lean_object* x_1; @@ -10672,13 +10032,13 @@ x_1 = lean_mk_string("show elaboration errors from partial syntax trees (i.e. af return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -10687,12 +10047,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -11098,21 +10458,31 @@ return x_86; } } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1; x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -11212,502 +10582,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand_match__3___rarg return x_2; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(x_6, x_4); -lean_dec(x_6); -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -x_4 = x_7; -goto _start; -} -else -{ -return x_4; -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("synthPlaceholder"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unsolvedGoals"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_ctor_get(x_6, 4); -lean_inc(x_7); -x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2; -x_9 = l_Lean_MessageData_hasTag(x_8, x_7); -x_10 = 1; -x_11 = x_2 + x_10; -if (x_9 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6; -x_13 = l_Lean_MessageData_hasTag(x_12, x_7); -lean_dec(x_7); -if (x_13 == 0) -{ -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -lean_object* x_15; -x_15 = l_Std_PersistentArray_push___rarg(x_4, x_6); -x_2 = x_11; -x_4 = x_15; -goto _start; -} -} -else -{ -lean_object* x_17; -lean_dec(x_7); -x_17 = l_Std_PersistentArray_push___rarg(x_4, x_6); -x_2 = x_11; -x_4 = x_17; -goto _start; -} -} -else -{ -return x_4; -} -} -} -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -lean_dec(x_4); -return x_2; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_4, x_4); -if (x_7 == 0) -{ -lean_dec(x_4); -return x_2; -} -else -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = 0; -x_9 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(x_3, x_8, x_9, x_2); -return x_10; -} -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_1, 0); -x_12 = lean_array_get_size(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -lean_dec(x_12); -return x_2; -} -else -{ -uint8_t x_15; -x_15 = lean_nat_dec_le(x_12, x_12); -if (x_15 == 0) -{ -lean_dec(x_12); -return x_2; -} -else -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_11, x_16, x_17, x_2); -return x_18; -} -} -} -} -} -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_5 = lean_ctor_get(x_1, 0); -x_6 = x_2 >> x_3 % (sizeof(size_t) * 8); -x_7 = lean_usize_to_nat(x_6); -x_8 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1; -x_9 = lean_array_get(x_8, x_5, x_7); -x_10 = 1; -x_11 = x_10 << x_3 % (sizeof(size_t) * 8); -x_12 = x_11 - x_10; -x_13 = x_2 & x_12; -x_14 = 5; -x_15 = x_3 - x_14; -x_16 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(x_9, x_13, x_15, x_4); -lean_dec(x_9); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_7, x_17); -lean_dec(x_7); -x_19 = lean_array_get_size(x_5); -x_20 = lean_nat_dec_lt(x_18, x_19); -if (x_20 == 0) -{ -lean_dec(x_19); -lean_dec(x_18); -return x_16; -} -else -{ -uint8_t x_21; -x_21 = lean_nat_dec_le(x_19, x_19); -if (x_21 == 0) -{ -lean_dec(x_19); -lean_dec(x_18); -return x_16; -} -else -{ -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_23 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(x_5, x_22, x_23, x_16); -return x_24; -} -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_usize_to_nat(x_2); -x_27 = lean_array_get_size(x_25); -x_28 = lean_nat_dec_lt(x_26, x_27); -if (x_28 == 0) -{ -lean_dec(x_27); -lean_dec(x_26); -return x_4; -} -else -{ -uint8_t x_29; -x_29 = lean_nat_dec_le(x_27, x_27); -if (x_29 == 0) -{ -lean_dec(x_27); -lean_dec(x_26); -return x_4; -} -else -{ -size_t x_30; size_t x_31; lean_object* x_32; -x_30 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_31 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_25, x_30, x_31, x_4); -return x_32; -} -} -} -} -} -lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(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_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_1, 3); -x_7 = lean_nat_dec_le(x_6, x_3); -if (x_7 == 0) -{ -lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_usize_of_nat(x_3); -x_10 = lean_ctor_get_usize(x_1, 4); -x_11 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(x_8, x_9, x_10, x_2); -x_12 = lean_ctor_get(x_1, 1); -x_13 = lean_array_get_size(x_12); -x_14 = lean_nat_dec_lt(x_4, x_13); -if (x_14 == 0) -{ -lean_dec(x_13); -return x_11; -} -else -{ -uint8_t x_15; -x_15 = lean_nat_dec_le(x_13, x_13); -if (x_15 == 0) -{ -lean_dec(x_13); -return x_11; -} -else -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_12, x_16, x_17, x_11); -return x_18; -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_1, 1); -x_20 = lean_nat_sub(x_3, x_6); -x_21 = lean_array_get_size(x_19); -x_22 = lean_nat_dec_lt(x_20, x_21); -if (x_22 == 0) -{ -lean_dec(x_21); -lean_dec(x_20); -return x_2; -} -else -{ -uint8_t x_23; -x_23 = lean_nat_dec_le(x_21, x_21); -if (x_23 == 0) -{ -lean_dec(x_21); -lean_dec(x_20); -return x_2; -} -else -{ -size_t x_24; size_t x_25; lean_object* x_26; -x_24 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_25 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_19, x_24, x_25, x_2); -return x_26; -} -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_1, 0); -x_28 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(x_27, x_2); -x_29 = lean_ctor_get(x_1, 1); -x_30 = lean_array_get_size(x_29); -x_31 = lean_nat_dec_lt(x_4, x_30); -if (x_31 == 0) -{ -lean_dec(x_30); -return x_28; -} -else -{ -uint8_t x_32; -x_32 = lean_nat_dec_le(x_30, x_30); -if (x_32 == 0) -{ -lean_dec(x_30); -return x_28; -} -else -{ -size_t x_33; size_t x_34; lean_object* x_35; -x_33 = 0; -x_34 = lean_usize_of_nat(x_30); -lean_dec(x_30); -x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_29, x_33, x_34, x_28); -return x_35; -} -} -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -return x_6; -} -else -{ -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; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_st_ref_get(x_3, x_4); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 8); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_10); -lean_dec(x_9); -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_1 = x_8; -x_4 = x_15; -goto _start; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -lean_inc(x_9); -x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_9, x_2, x_3, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_10); -lean_dec(x_9); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_1 = x_8; -x_4 = x_21; -goto _start; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_24, 0, x_10); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_9, x_25, x_2, x_3, x_23); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_1 = x_8; -x_4 = x_27; -goto _start; -} -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; @@ -11761,7 +10636,474 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(lean_object* 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_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +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_5, 0); +x_8 = lean_ctor_get(x_7, 2); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); +lean_dec(x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Lean_checkTraceOption(x_10, x_1); +lean_dec(x_10); +x_12 = lean_box(x_11); +lean_ctor_set(x_5, 0, x_12); +return x_5; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_5, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_5); +x_15 = lean_ctor_get(x_13, 2); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_checkTraceOption(x_17, x_1); +lean_dec(x_17); +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_14); +return x_20; +} +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("["); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("] "); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_take(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 8); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_13, 8); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_1); +x_20 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_20, 0, x_1); +x_21 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +x_26 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); +lean_ctor_set(x_14, 0, x_30); +x_31 = lean_st_ref_set(x_4, x_13, x_15); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +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; 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; +x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_39 = lean_ctor_get(x_14, 0); +lean_inc(x_39); +lean_dec(x_14); +lean_inc(x_1); +x_40 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_40, 0, x_1); +x_41 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_10); +x_46 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_7); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); +x_51 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); +lean_ctor_set(x_13, 8, x_51); +x_52 = lean_st_ref_set(x_4, x_13, x_15); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t 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_57 = lean_ctor_get(x_13, 0); +x_58 = lean_ctor_get(x_13, 1); +x_59 = lean_ctor_get(x_13, 2); +x_60 = lean_ctor_get(x_13, 3); +x_61 = lean_ctor_get(x_13, 4); +x_62 = lean_ctor_get(x_13, 5); +x_63 = lean_ctor_get(x_13, 6); +x_64 = lean_ctor_get(x_13, 7); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_13); +x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_66 = lean_ctor_get(x_14, 0); +lean_inc(x_66); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_67 = x_14; +} else { + lean_dec_ref(x_14); + x_67 = lean_box(0); +} +lean_inc(x_1); +x_68 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_68, 0, x_1); +x_69 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4; +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_10); +x_74 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_76, 0, x_1); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_7); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); +if (lean_is_scalar(x_67)) { + x_79 = lean_alloc_ctor(0, 1, 1); +} else { + x_79 = x_67; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); +x_80 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_80, 0, x_57); +lean_ctor_set(x_80, 1, x_58); +lean_ctor_set(x_80, 2, x_59); +lean_ctor_set(x_80, 3, x_60); +lean_ctor_set(x_80, 4, x_61); +lean_ctor_set(x_80, 5, x_62); +lean_ctor_set(x_80, 6, x_63); +lean_ctor_set(x_80, 7, x_64); +lean_ctor_set(x_80, 8, x_79); +x_81 = lean_st_ref_set(x_4, x_80, x_15); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +x_84 = lean_box(0); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; +} +} +} +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +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; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_st_ref_get(x_3, x_4); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 8); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_1 = x_8; +x_4 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +lean_inc(x_9); +x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(x_9, x_2, x_3, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_10); +lean_dec(x_9); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_1 = x_8; +x_4 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_10); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(x_9, x_25, x_2, x_3, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_1 = x_8; +x_4 = x_27; +goto _start; +} +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -11780,7 +11122,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(x_2, x_3, x_4, x_8); return x_12; } else @@ -11807,12 +11149,12 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(x_2, x_19, x_4, x_8); return x_20; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11824,26 +11166,26 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1; 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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -11972,7 +11314,7 @@ return x_31; } } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2(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; lean_object* x_7; @@ -11984,7 +11326,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -11995,7 +11337,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -12006,7 +11348,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; 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; @@ -12038,23 +11380,23 @@ x_16 = lean_ctor_get(x_14, 3); lean_inc(x_16); lean_dec(x_14); lean_inc(x_8); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed), 4, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1___boxed), 4, 1); lean_closure_set(x_17, 0, x_8); lean_inc(x_12); x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_18, 0, x_12); lean_inc(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2___boxed), 4, 1); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2___boxed), 4, 1); lean_closure_set(x_19, 0, x_8); lean_inc(x_16); lean_inc(x_12); lean_inc(x_8); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3___boxed), 6, 3); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3___boxed), 6, 3); lean_closure_set(x_20, 0, x_8); lean_closure_set(x_20, 1, x_12); lean_closure_set(x_20, 2, x_16); lean_inc(x_8); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___boxed), 6, 3); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4___boxed), 6, 3); lean_closure_set(x_21, 0, x_8); lean_closure_set(x_21, 1, x_12); lean_closure_set(x_21, 2, x_16); @@ -12141,7 +11483,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -12202,7 +11544,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -12242,7 +11584,7 @@ x_81 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_81, 0, x_80); x_82 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_82, 0, x_81); -x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(x_79, x_82, x_2, x_3, x_37); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6(x_79, x_82, x_2, x_3, x_37); lean_dec(x_79); return x_83; } @@ -12250,24 +11592,24 @@ else { lean_object* x_84; lean_dec(x_2); -x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(x_37); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_37); return x_84; } } } } -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 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; lean_inc(x_1); x_6 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_6, 0, x_1); -x_7 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; +x_7 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2; x_8 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); -x_9 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; +x_9 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4; x_10 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_10, 0, x_8); lean_ctor_set(x_10, 1, x_9); @@ -12286,7 +11628,7 @@ x_16 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_14, x_15, x return x_16; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(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) { _start: { uint8_t x_8; @@ -12297,6 +11639,7 @@ lean_object* x_9; lean_object* x_10; lean_dec(x_4); x_9 = lean_array_uget(x_1, x_2); lean_inc(x_6); +lean_inc(x_5); x_10 = l_Lean_Elab_Command_elabCommand(x_9, x_5, x_6, x_7); if (lean_obj_tag(x_10) == 0) { @@ -12317,6 +11660,7 @@ else { uint8_t x_16; lean_dec(x_6); +lean_dec(x_5); x_16 = !lean_is_exclusive(x_10); if (x_16 == 0) { @@ -12341,6 +11685,7 @@ else { lean_object* x_20; lean_dec(x_6); +lean_dec(x_5); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_4); lean_ctor_set(x_20, 1, x_7); @@ -12348,3147 +11693,52 @@ return x_20; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -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_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} lean_object* l_Lean_Elab_Command_elabCommand___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) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_st_ref_take(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_8); -if (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_dec(x_11); -x_12 = l_Std_PersistentArray_append___rarg(x_1, x_2); -lean_ctor_set(x_8, 1, x_12); -x_13 = lean_st_ref_set(x_5, x_8, x_9); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_20 = lean_ctor_get(x_8, 0); -x_21 = lean_ctor_get(x_8, 2); -x_22 = lean_ctor_get(x_8, 3); -x_23 = lean_ctor_get(x_8, 4); -x_24 = lean_ctor_get(x_8, 5); -x_25 = lean_ctor_get(x_8, 6); -x_26 = lean_ctor_get(x_8, 7); -x_27 = lean_ctor_get(x_8, 8); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_8); -x_28 = l_Std_PersistentArray_append___rarg(x_1, x_2); -x_29 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_29, 0, x_20); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_21); -lean_ctor_set(x_29, 3, x_22); -lean_ctor_set(x_29, 4, x_23); -lean_ctor_set(x_29, 5, x_24); -lean_ctor_set(x_29, 6, x_25); -lean_ctor_set(x_29, 7, x_26); -lean_ctor_set(x_29, 8, x_27); -x_30 = lean_st_ref_set(x_5, x_29, x_9); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_32 = x_30; -} else { - lean_dec_ref(x_30); - x_32 = lean_box(0); -} -x_33 = lean_box(0); -if (lean_is_scalar(x_32)) { - x_34 = lean_alloc_ctor(0, 2, 0); -} else { - x_34 = x_32; -} -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); -return x_34; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected command"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elaboration function for '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' has not been implemented"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___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) { -_start: -{ lean_object* x_7; lean_object* x_8; uint8_t x_9; x_7 = lean_unsigned_to_nat(1u); x_8 = lean_nat_add(x_1, x_7); x_9 = !lean_is_exclusive(x_4); if (x_9 == 0) { -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; uint8_t x_20; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_4, 1); -x_12 = lean_ctor_get(x_4, 3); -x_13 = lean_ctor_get(x_4, 4); -x_14 = lean_ctor_get(x_4, 6); -x_15 = lean_ctor_get(x_4, 5); -lean_dec(x_15); -x_16 = lean_ctor_get(x_4, 2); -lean_dec(x_16); -x_17 = lean_st_ref_take(x_5, x_6); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_4, 2); +lean_dec(x_10); +lean_ctor_set(x_4, 2, x_8); +x_11 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_2, x_4, x_5, x_6); +return x_11; +} +else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_18, 3); -x_22 = lean_nat_add(x_21, x_7); -lean_ctor_set(x_18, 3, x_22); -x_23 = lean_st_ref_set(x_5, x_18, x_19); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_ctor_get(x_4, 1); +x_14 = lean_ctor_get(x_4, 3); +x_15 = lean_ctor_get(x_4, 4); +x_16 = lean_ctor_get(x_4, 5); +x_17 = lean_ctor_get(x_4, 6); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); -lean_inc(x_21); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_8); -lean_inc(x_11); -lean_inc(x_10); -lean_ctor_set(x_4, 5, x_21); -lean_ctor_set(x_4, 2, x_8); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_25 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_24); -if (lean_obj_tag(x_25) == 0) -{ -if (lean_obj_tag(x_2) == 1) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_25, 1); -x_28 = lean_ctor_get(x_25, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_2, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_2, 1); -lean_inc(x_30); -x_31 = l_Lean_nullKind; -x_32 = lean_name_eq(x_29, x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -lean_dec(x_30); -lean_free_object(x_25); -x_185 = lean_st_ref_get(x_5, x_27); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_ctor_get(x_186, 2); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_188); -lean_dec(x_188); -x_190 = lean_ctor_get(x_189, 1); -lean_inc(x_190); -lean_dec(x_189); -x_191 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; -x_192 = l_Lean_checkTraceOption(x_190, x_191); -lean_dec(x_190); -if (x_192 == 0) -{ -x_33 = x_187; -goto block_184; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_inc(x_2); -x_193 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_193, 0, x_2); -x_194 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_191, x_193, x_4, x_5, x_187); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_33 = x_195; -goto block_184; -} -block_184: -{ -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_34 = lean_st_ref_get(x_5, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -lean_inc(x_2); -lean_inc(x_37); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_38, 0, x_37); -lean_closure_set(x_38, 1, x_2); -lean_inc(x_4); -x_39 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_38, x_4, x_5, x_36); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Command_commandElabAttribute; -x_43 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_42, x_37, x_29); -lean_dec(x_37); -if (lean_obj_tag(x_43) == 0) -{ -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_dec(x_35); -lean_dec(x_2); -x_44 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_44, 0, x_29); -x_45 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_48, x_4, x_5, x_41); -lean_dec(x_5); -return x_49; -} -else -{ -lean_object* x_50; -lean_dec(x_29); -x_50 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_35, x_2, x_43, x_4, x_5, x_41); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -x_51 = lean_ctor_get(x_40, 0); -lean_inc(x_51); -lean_dec(x_40); -x_52 = lean_ctor_get(x_39, 1); -lean_inc(x_52); -lean_dec(x_39); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_st_ref_get(x_5, x_52); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_56, 7); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*2); -lean_dec(x_57); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_53); lean_dec(x_4); -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -lean_inc(x_54); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_2); -lean_ctor_set(x_60, 1, x_54); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_13); -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_10); -lean_ctor_set(x_62, 1, x_11); -lean_ctor_set(x_62, 2, x_8); -lean_ctor_set(x_62, 3, x_12); -lean_ctor_set(x_62, 4, x_61); -lean_ctor_set(x_62, 5, x_21); -lean_ctor_set(x_62, 6, x_14); -x_63 = l_Lean_Elab_Command_elabCommand(x_54, x_62, x_5, x_59); -lean_dec(x_62); -return x_63; +x_18 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_13); +lean_ctor_set(x_18, 2, x_8); +lean_ctor_set(x_18, 3, x_14); +lean_ctor_set(x_18, 4, x_15); +lean_ctor_set(x_18, 5, x_16); +lean_ctor_set(x_18, 6, x_17); +x_19 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_2, x_18, x_5, x_6); +return x_19; } -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_64 = lean_ctor_get(x_55, 1); -lean_inc(x_64); -lean_dec(x_55); -x_65 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_64); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -lean_inc(x_54); -lean_inc(x_2); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_2); -lean_ctor_set(x_68, 1, x_54); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_13); -x_70 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_70, 0, x_10); -lean_ctor_set(x_70, 1, x_11); -lean_ctor_set(x_70, 2, x_8); -lean_ctor_set(x_70, 3, x_12); -lean_ctor_set(x_70, 4, x_69); -lean_ctor_set(x_70, 5, x_21); -lean_ctor_set(x_70, 6, x_14); -lean_inc(x_5); -x_71 = l_Lean_Elab_Command_elabCommand(x_54, x_70, x_5, x_67); -lean_dec(x_70); -if (lean_obj_tag(x_71) == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_st_ref_get(x_5, x_73); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 7); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_53, x_2, x_78, x_4, x_5, x_76); -lean_dec(x_4); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_st_ref_take(x_5, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_83, 7); -lean_inc(x_84); -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -lean_dec(x_82); -x_86 = !lean_is_exclusive(x_83); -if (x_86 == 0) -{ -lean_object* x_87; uint8_t x_88; -x_87 = lean_ctor_get(x_83, 7); -lean_dec(x_87); -x_88 = !lean_is_exclusive(x_84); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_89 = lean_ctor_get(x_84, 1); -lean_dec(x_89); -x_90 = l_Std_PersistentArray_push___rarg(x_66, x_80); -lean_ctor_set(x_84, 1, x_90); -x_91 = lean_st_ref_set(x_5, x_83, x_85); -lean_dec(x_5); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -lean_object* x_93; -x_93 = lean_ctor_get(x_91, 0); -lean_dec(x_93); -lean_ctor_set(x_91, 0, x_72); -return x_91; } -else -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_72); -lean_ctor_set(x_95, 1, x_94); -return x_95; } -} -else -{ -uint8_t 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_96 = lean_ctor_get_uint8(x_84, sizeof(void*)*2); -x_97 = lean_ctor_get(x_84, 0); -lean_inc(x_97); -lean_dec(x_84); -x_98 = l_Std_PersistentArray_push___rarg(x_66, x_80); -x_99 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set_uint8(x_99, sizeof(void*)*2, x_96); -lean_ctor_set(x_83, 7, x_99); -x_100 = lean_st_ref_set(x_5, x_83, x_85); -lean_dec(x_5); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_72); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -} -else -{ -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; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_104 = lean_ctor_get(x_83, 0); -x_105 = lean_ctor_get(x_83, 1); -x_106 = lean_ctor_get(x_83, 2); -x_107 = lean_ctor_get(x_83, 3); -x_108 = lean_ctor_get(x_83, 4); -x_109 = lean_ctor_get(x_83, 5); -x_110 = lean_ctor_get(x_83, 6); -x_111 = lean_ctor_get(x_83, 8); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_83); -x_112 = lean_ctor_get_uint8(x_84, sizeof(void*)*2); -x_113 = lean_ctor_get(x_84, 0); -lean_inc(x_113); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_114 = x_84; -} else { - lean_dec_ref(x_84); - x_114 = lean_box(0); -} -x_115 = l_Std_PersistentArray_push___rarg(x_66, x_80); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 1); -} else { - x_116 = x_114; -} -lean_ctor_set(x_116, 0, x_113); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_112); -x_117 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_117, 0, x_104); -lean_ctor_set(x_117, 1, x_105); -lean_ctor_set(x_117, 2, x_106); -lean_ctor_set(x_117, 3, x_107); -lean_ctor_set(x_117, 4, x_108); -lean_ctor_set(x_117, 5, x_109); -lean_ctor_set(x_117, 6, x_110); -lean_ctor_set(x_117, 7, x_116); -lean_ctor_set(x_117, 8, x_111); -x_118 = lean_st_ref_set(x_5, x_117, x_85); -lean_dec(x_5); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_120 = x_118; -} else { - lean_dec_ref(x_118); - x_120 = lean_box(0); -} -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 2, 0); -} else { - x_121 = x_120; -} -lean_ctor_set(x_121, 0, x_72); -lean_ctor_set(x_121, 1, x_119); -return x_121; -} -} -else -{ -uint8_t x_122; -lean_dec(x_72); -lean_dec(x_66); -lean_dec(x_5); -x_122 = !lean_is_exclusive(x_79); -if (x_122 == 0) -{ -return x_79; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_79, 0); -x_124 = lean_ctor_get(x_79, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_79); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_126 = lean_ctor_get(x_71, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_71, 1); -lean_inc(x_127); -lean_dec(x_71); -x_128 = lean_st_ref_get(x_5, x_127); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_ctor_get(x_129, 7); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_53, x_2, x_132, x_4, x_5, x_130); -lean_dec(x_4); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_st_ref_take(x_5, x_135); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_137, 7); -lean_inc(x_138); -x_139 = lean_ctor_get(x_136, 1); -lean_inc(x_139); -lean_dec(x_136); -x_140 = !lean_is_exclusive(x_137); -if (x_140 == 0) -{ -lean_object* x_141; uint8_t x_142; -x_141 = lean_ctor_get(x_137, 7); -lean_dec(x_141); -x_142 = !lean_is_exclusive(x_138); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_143 = lean_ctor_get(x_138, 1); -lean_dec(x_143); -x_144 = l_Std_PersistentArray_push___rarg(x_66, x_134); -lean_ctor_set(x_138, 1, x_144); -x_145 = lean_st_ref_set(x_5, x_137, x_139); -lean_dec(x_5); -x_146 = !lean_is_exclusive(x_145); -if (x_146 == 0) -{ -lean_object* x_147; -x_147 = lean_ctor_get(x_145, 0); -lean_dec(x_147); -lean_ctor_set_tag(x_145, 1); -lean_ctor_set(x_145, 0, x_126); -return x_145; -} -else -{ -lean_object* x_148; lean_object* x_149; -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -lean_dec(x_145); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_126); -lean_ctor_set(x_149, 1, x_148); -return x_149; -} -} -else -{ -uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_150 = lean_ctor_get_uint8(x_138, sizeof(void*)*2); -x_151 = lean_ctor_get(x_138, 0); -lean_inc(x_151); -lean_dec(x_138); -x_152 = l_Std_PersistentArray_push___rarg(x_66, x_134); -x_153 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -lean_ctor_set_uint8(x_153, sizeof(void*)*2, x_150); -lean_ctor_set(x_137, 7, x_153); -x_154 = lean_st_ref_set(x_5, x_137, x_139); -lean_dec(x_5); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - lean_ctor_release(x_154, 1); - x_156 = x_154; -} else { - lean_dec_ref(x_154); - x_156 = lean_box(0); -} -if (lean_is_scalar(x_156)) { - x_157 = lean_alloc_ctor(1, 2, 0); -} else { - x_157 = x_156; - lean_ctor_set_tag(x_157, 1); -} -lean_ctor_set(x_157, 0, x_126); -lean_ctor_set(x_157, 1, x_155); -return x_157; -} -} -else -{ -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; uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_158 = lean_ctor_get(x_137, 0); -x_159 = lean_ctor_get(x_137, 1); -x_160 = lean_ctor_get(x_137, 2); -x_161 = lean_ctor_get(x_137, 3); -x_162 = lean_ctor_get(x_137, 4); -x_163 = lean_ctor_get(x_137, 5); -x_164 = lean_ctor_get(x_137, 6); -x_165 = lean_ctor_get(x_137, 8); -lean_inc(x_165); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_137); -x_166 = lean_ctor_get_uint8(x_138, sizeof(void*)*2); -x_167 = lean_ctor_get(x_138, 0); -lean_inc(x_167); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_168 = x_138; -} else { - lean_dec_ref(x_138); - x_168 = lean_box(0); -} -x_169 = l_Std_PersistentArray_push___rarg(x_66, x_134); -if (lean_is_scalar(x_168)) { - x_170 = lean_alloc_ctor(0, 2, 1); -} else { - x_170 = x_168; -} -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set_uint8(x_170, sizeof(void*)*2, x_166); -x_171 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_171, 0, x_158); -lean_ctor_set(x_171, 1, x_159); -lean_ctor_set(x_171, 2, x_160); -lean_ctor_set(x_171, 3, x_161); -lean_ctor_set(x_171, 4, x_162); -lean_ctor_set(x_171, 5, x_163); -lean_ctor_set(x_171, 6, x_164); -lean_ctor_set(x_171, 7, x_170); -lean_ctor_set(x_171, 8, x_165); -x_172 = lean_st_ref_set(x_5, x_171, x_139); -lean_dec(x_5); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_174 = x_172; -} else { - lean_dec_ref(x_172); - x_174 = lean_box(0); -} -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(1, 2, 0); -} else { - x_175 = x_174; - lean_ctor_set_tag(x_175, 1); -} -lean_ctor_set(x_175, 0, x_126); -lean_ctor_set(x_175, 1, x_173); -return x_175; -} -} -else -{ -uint8_t x_176; -lean_dec(x_126); -lean_dec(x_66); -lean_dec(x_5); -x_176 = !lean_is_exclusive(x_133); -if (x_176 == 0) -{ -return x_133; -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_133, 0); -x_178 = lean_ctor_get(x_133, 1); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_133); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; -} -} -} -} -} -} -else -{ -uint8_t x_180; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_180 = !lean_is_exclusive(x_39); -if (x_180 == 0) -{ -return x_39; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_39, 0); -x_182 = lean_ctor_get(x_39, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_39); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} -} -} -} -else -{ -lean_object* x_196; lean_object* x_197; uint8_t x_198; -lean_dec(x_29); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_196 = lean_array_get_size(x_30); -x_197 = lean_unsigned_to_nat(0u); -x_198 = lean_nat_dec_lt(x_197, x_196); -if (x_198 == 0) -{ -lean_object* x_199; -lean_dec(x_196); -lean_dec(x_30); -lean_dec(x_4); -lean_dec(x_5); -x_199 = lean_box(0); -lean_ctor_set(x_25, 0, x_199); -return x_25; -} -else -{ -uint8_t x_200; -x_200 = lean_nat_dec_le(x_196, x_196); -if (x_200 == 0) -{ -lean_object* x_201; -lean_dec(x_196); -lean_dec(x_30); -lean_dec(x_4); -lean_dec(x_5); -x_201 = lean_box(0); -lean_ctor_set(x_25, 0, x_201); -return x_25; -} -else -{ -size_t x_202; size_t x_203; lean_object* x_204; lean_object* x_205; -lean_free_object(x_25); -x_202 = 0; -x_203 = lean_usize_of_nat(x_196); -lean_dec(x_196); -x_204 = lean_box(0); -x_205 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_30, x_202, x_203, x_204, x_4, x_5, x_27); -lean_dec(x_4); -lean_dec(x_30); -return x_205; -} -} -} -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_206 = lean_ctor_get(x_25, 1); -lean_inc(x_206); -lean_dec(x_25); -x_207 = lean_ctor_get(x_2, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_2, 1); -lean_inc(x_208); -x_209 = l_Lean_nullKind; -x_210 = lean_name_eq(x_207, x_209); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; uint8_t x_336; -lean_dec(x_208); -x_329 = lean_st_ref_get(x_5, x_206); -x_330 = lean_ctor_get(x_329, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); -x_332 = lean_ctor_get(x_330, 2); -lean_inc(x_332); -lean_dec(x_330); -x_333 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_332); -lean_dec(x_332); -x_334 = lean_ctor_get(x_333, 1); -lean_inc(x_334); -lean_dec(x_333); -x_335 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; -x_336 = l_Lean_checkTraceOption(x_334, x_335); -lean_dec(x_334); -if (x_336 == 0) -{ -x_211 = x_331; -goto block_328; -} -else -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_inc(x_2); -x_337 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_337, 0, x_2); -x_338 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_335, x_337, x_4, x_5, x_331); -x_339 = lean_ctor_get(x_338, 1); -lean_inc(x_339); -lean_dec(x_338); -x_211 = x_339; -goto block_328; -} -block_328: -{ -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_212 = lean_st_ref_get(x_5, x_211); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = lean_ctor_get(x_213, 0); -lean_inc(x_215); -lean_inc(x_2); -lean_inc(x_215); -x_216 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_216, 0, x_215); -lean_closure_set(x_216, 1, x_2); -lean_inc(x_4); -x_217 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_216, x_4, x_5, x_214); -if (lean_obj_tag(x_217) == 0) -{ -lean_object* x_218; -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_220 = l_Lean_Elab_Command_commandElabAttribute; -x_221 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_220, x_215, x_207); -lean_dec(x_215); -if (lean_obj_tag(x_221) == 0) -{ -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_dec(x_213); -lean_dec(x_2); -x_222 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_222, 0, x_207); -x_223 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; -x_224 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; -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_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_226, x_4, x_5, x_219); -lean_dec(x_5); -return x_227; -} -else -{ -lean_object* x_228; -lean_dec(x_207); -x_228 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_213, x_2, x_221, x_4, x_5, x_219); -return x_228; -} -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; -lean_dec(x_215); -lean_dec(x_213); -lean_dec(x_207); -x_229 = lean_ctor_get(x_218, 0); -lean_inc(x_229); -lean_dec(x_218); -x_230 = lean_ctor_get(x_217, 1); -lean_inc(x_230); -lean_dec(x_217); -x_231 = lean_ctor_get(x_229, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_229, 1); -lean_inc(x_232); -lean_dec(x_229); -x_233 = lean_st_ref_get(x_5, x_230); -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_234, 7); -lean_inc(x_235); -lean_dec(x_234); -x_236 = lean_ctor_get_uint8(x_235, sizeof(void*)*2); -lean_dec(x_235); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -lean_dec(x_231); -lean_dec(x_4); -x_237 = lean_ctor_get(x_233, 1); -lean_inc(x_237); -lean_dec(x_233); -lean_inc(x_232); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_2); -lean_ctor_set(x_238, 1, x_232); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_13); -x_240 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_240, 0, x_10); -lean_ctor_set(x_240, 1, x_11); -lean_ctor_set(x_240, 2, x_8); -lean_ctor_set(x_240, 3, x_12); -lean_ctor_set(x_240, 4, x_239); -lean_ctor_set(x_240, 5, x_21); -lean_ctor_set(x_240, 6, x_14); -x_241 = l_Lean_Elab_Command_elabCommand(x_232, x_240, x_5, x_237); -lean_dec(x_240); -return x_241; -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_242 = lean_ctor_get(x_233, 1); -lean_inc(x_242); -lean_dec(x_233); -x_243 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_242); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -lean_inc(x_232); -lean_inc(x_2); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_2); -lean_ctor_set(x_246, 1, x_232); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_13); -x_248 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_248, 0, x_10); -lean_ctor_set(x_248, 1, x_11); -lean_ctor_set(x_248, 2, x_8); -lean_ctor_set(x_248, 3, x_12); -lean_ctor_set(x_248, 4, x_247); -lean_ctor_set(x_248, 5, x_21); -lean_ctor_set(x_248, 6, x_14); -lean_inc(x_5); -x_249 = l_Lean_Elab_Command_elabCommand(x_232, x_248, x_5, x_245); -lean_dec(x_248); -if (lean_obj_tag(x_249) == 0) -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_250 = lean_ctor_get(x_249, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); -lean_inc(x_251); -lean_dec(x_249); -x_252 = lean_st_ref_get(x_5, x_251); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -x_255 = lean_ctor_get(x_253, 7); -lean_inc(x_255); -lean_dec(x_253); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -lean_dec(x_255); -x_257 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_231, x_2, x_256, x_4, x_5, x_254); -lean_dec(x_4); -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -x_260 = lean_st_ref_take(x_5, x_259); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_261, 7); -lean_inc(x_262); -x_263 = lean_ctor_get(x_260, 1); -lean_inc(x_263); -lean_dec(x_260); -x_264 = lean_ctor_get(x_261, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_261, 1); -lean_inc(x_265); -x_266 = lean_ctor_get(x_261, 2); -lean_inc(x_266); -x_267 = lean_ctor_get(x_261, 3); -lean_inc(x_267); -x_268 = lean_ctor_get(x_261, 4); -lean_inc(x_268); -x_269 = lean_ctor_get(x_261, 5); -lean_inc(x_269); -x_270 = lean_ctor_get(x_261, 6); -lean_inc(x_270); -x_271 = lean_ctor_get(x_261, 8); -lean_inc(x_271); -if (lean_is_exclusive(x_261)) { - lean_ctor_release(x_261, 0); - lean_ctor_release(x_261, 1); - lean_ctor_release(x_261, 2); - lean_ctor_release(x_261, 3); - lean_ctor_release(x_261, 4); - lean_ctor_release(x_261, 5); - lean_ctor_release(x_261, 6); - lean_ctor_release(x_261, 7); - lean_ctor_release(x_261, 8); - x_272 = x_261; -} else { - lean_dec_ref(x_261); - x_272 = lean_box(0); -} -x_273 = lean_ctor_get_uint8(x_262, sizeof(void*)*2); -x_274 = lean_ctor_get(x_262, 0); -lean_inc(x_274); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_275 = x_262; -} else { - lean_dec_ref(x_262); - x_275 = lean_box(0); -} -x_276 = l_Std_PersistentArray_push___rarg(x_244, x_258); -if (lean_is_scalar(x_275)) { - x_277 = lean_alloc_ctor(0, 2, 1); -} else { - x_277 = x_275; -} -lean_ctor_set(x_277, 0, x_274); -lean_ctor_set(x_277, 1, x_276); -lean_ctor_set_uint8(x_277, sizeof(void*)*2, x_273); -if (lean_is_scalar(x_272)) { - x_278 = lean_alloc_ctor(0, 9, 0); -} else { - x_278 = x_272; -} -lean_ctor_set(x_278, 0, x_264); -lean_ctor_set(x_278, 1, x_265); -lean_ctor_set(x_278, 2, x_266); -lean_ctor_set(x_278, 3, x_267); -lean_ctor_set(x_278, 4, x_268); -lean_ctor_set(x_278, 5, x_269); -lean_ctor_set(x_278, 6, x_270); -lean_ctor_set(x_278, 7, x_277); -lean_ctor_set(x_278, 8, x_271); -x_279 = lean_st_ref_set(x_5, x_278, x_263); -lean_dec(x_5); -x_280 = lean_ctor_get(x_279, 1); -lean_inc(x_280); -if (lean_is_exclusive(x_279)) { - lean_ctor_release(x_279, 0); - lean_ctor_release(x_279, 1); - x_281 = x_279; -} else { - lean_dec_ref(x_279); - x_281 = lean_box(0); -} -if (lean_is_scalar(x_281)) { - x_282 = lean_alloc_ctor(0, 2, 0); -} else { - x_282 = x_281; -} -lean_ctor_set(x_282, 0, x_250); -lean_ctor_set(x_282, 1, x_280); -return x_282; -} -else -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_dec(x_250); -lean_dec(x_244); -lean_dec(x_5); -x_283 = lean_ctor_get(x_257, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_257, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_285 = x_257; -} else { - lean_dec_ref(x_257); - x_285 = lean_box(0); -} -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(1, 2, 0); -} else { - x_286 = x_285; -} -lean_ctor_set(x_286, 0, x_283); -lean_ctor_set(x_286, 1, x_284); -return x_286; -} -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_287 = lean_ctor_get(x_249, 0); -lean_inc(x_287); -x_288 = lean_ctor_get(x_249, 1); -lean_inc(x_288); -lean_dec(x_249); -x_289 = lean_st_ref_get(x_5, x_288); -x_290 = lean_ctor_get(x_289, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_289, 1); -lean_inc(x_291); -lean_dec(x_289); -x_292 = lean_ctor_get(x_290, 7); -lean_inc(x_292); -lean_dec(x_290); -x_293 = lean_ctor_get(x_292, 1); -lean_inc(x_293); -lean_dec(x_292); -x_294 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_231, x_2, x_293, x_4, x_5, x_291); -lean_dec(x_4); -if (lean_obj_tag(x_294) == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 1); -lean_inc(x_296); -lean_dec(x_294); -x_297 = lean_st_ref_take(x_5, x_296); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_298, 7); -lean_inc(x_299); -x_300 = lean_ctor_get(x_297, 1); -lean_inc(x_300); -lean_dec(x_297); -x_301 = lean_ctor_get(x_298, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_298, 1); -lean_inc(x_302); -x_303 = lean_ctor_get(x_298, 2); -lean_inc(x_303); -x_304 = lean_ctor_get(x_298, 3); -lean_inc(x_304); -x_305 = lean_ctor_get(x_298, 4); -lean_inc(x_305); -x_306 = lean_ctor_get(x_298, 5); -lean_inc(x_306); -x_307 = lean_ctor_get(x_298, 6); -lean_inc(x_307); -x_308 = lean_ctor_get(x_298, 8); -lean_inc(x_308); -if (lean_is_exclusive(x_298)) { - lean_ctor_release(x_298, 0); - lean_ctor_release(x_298, 1); - lean_ctor_release(x_298, 2); - lean_ctor_release(x_298, 3); - lean_ctor_release(x_298, 4); - lean_ctor_release(x_298, 5); - lean_ctor_release(x_298, 6); - lean_ctor_release(x_298, 7); - lean_ctor_release(x_298, 8); - x_309 = x_298; -} else { - lean_dec_ref(x_298); - x_309 = lean_box(0); -} -x_310 = lean_ctor_get_uint8(x_299, sizeof(void*)*2); -x_311 = lean_ctor_get(x_299, 0); -lean_inc(x_311); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_312 = x_299; -} else { - lean_dec_ref(x_299); - x_312 = lean_box(0); -} -x_313 = l_Std_PersistentArray_push___rarg(x_244, x_295); -if (lean_is_scalar(x_312)) { - x_314 = lean_alloc_ctor(0, 2, 1); -} else { - x_314 = x_312; -} -lean_ctor_set(x_314, 0, x_311); -lean_ctor_set(x_314, 1, x_313); -lean_ctor_set_uint8(x_314, sizeof(void*)*2, x_310); -if (lean_is_scalar(x_309)) { - x_315 = lean_alloc_ctor(0, 9, 0); -} else { - x_315 = x_309; -} -lean_ctor_set(x_315, 0, x_301); -lean_ctor_set(x_315, 1, x_302); -lean_ctor_set(x_315, 2, x_303); -lean_ctor_set(x_315, 3, x_304); -lean_ctor_set(x_315, 4, x_305); -lean_ctor_set(x_315, 5, x_306); -lean_ctor_set(x_315, 6, x_307); -lean_ctor_set(x_315, 7, x_314); -lean_ctor_set(x_315, 8, x_308); -x_316 = lean_st_ref_set(x_5, x_315, x_300); -lean_dec(x_5); -x_317 = lean_ctor_get(x_316, 1); -lean_inc(x_317); -if (lean_is_exclusive(x_316)) { - lean_ctor_release(x_316, 0); - lean_ctor_release(x_316, 1); - x_318 = x_316; -} else { - lean_dec_ref(x_316); - x_318 = lean_box(0); -} -if (lean_is_scalar(x_318)) { - x_319 = lean_alloc_ctor(1, 2, 0); -} else { - x_319 = x_318; - lean_ctor_set_tag(x_319, 1); -} -lean_ctor_set(x_319, 0, x_287); -lean_ctor_set(x_319, 1, x_317); -return x_319; -} -else -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -lean_dec(x_287); -lean_dec(x_244); -lean_dec(x_5); -x_320 = lean_ctor_get(x_294, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_294, 1); -lean_inc(x_321); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_322 = x_294; -} else { - lean_dec_ref(x_294); - x_322 = lean_box(0); -} -if (lean_is_scalar(x_322)) { - x_323 = lean_alloc_ctor(1, 2, 0); -} else { - x_323 = x_322; -} -lean_ctor_set(x_323, 0, x_320); -lean_ctor_set(x_323, 1, x_321); -return x_323; -} -} -} -} -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_215); -lean_dec(x_213); -lean_dec(x_207); -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_324 = lean_ctor_get(x_217, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_217, 1); -lean_inc(x_325); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_326 = x_217; -} else { - lean_dec_ref(x_217); - x_326 = lean_box(0); -} -if (lean_is_scalar(x_326)) { - x_327 = lean_alloc_ctor(1, 2, 0); -} else { - x_327 = x_326; -} -lean_ctor_set(x_327, 0, x_324); -lean_ctor_set(x_327, 1, x_325); -return x_327; -} -} -} -else -{ -lean_object* x_340; lean_object* x_341; uint8_t x_342; -lean_dec(x_207); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_340 = lean_array_get_size(x_208); -x_341 = lean_unsigned_to_nat(0u); -x_342 = lean_nat_dec_lt(x_341, x_340); -if (x_342 == 0) -{ -lean_object* x_343; lean_object* x_344; -lean_dec(x_340); -lean_dec(x_208); -lean_dec(x_4); -lean_dec(x_5); -x_343 = lean_box(0); -x_344 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_206); -return x_344; -} -else -{ -uint8_t x_345; -x_345 = lean_nat_dec_le(x_340, x_340); -if (x_345 == 0) -{ -lean_object* x_346; lean_object* x_347; -lean_dec(x_340); -lean_dec(x_208); -lean_dec(x_4); -lean_dec(x_5); -x_346 = lean_box(0); -x_347 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_206); -return x_347; -} -else -{ -size_t x_348; size_t x_349; lean_object* x_350; lean_object* x_351; -x_348 = 0; -x_349 = lean_usize_of_nat(x_340); -lean_dec(x_340); -x_350 = lean_box(0); -x_351 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_208, x_348, x_349, x_350, x_4, x_5, x_206); -lean_dec(x_4); -lean_dec(x_208); -return x_351; -} -} -} -} -} -else -{ -lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_352 = lean_ctor_get(x_25, 1); -lean_inc(x_352); -lean_dec(x_25); -x_353 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; -x_354 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_353, x_4, x_5, x_352); -lean_dec(x_5); -return x_354; -} -} -else -{ -uint8_t x_355; -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_355 = !lean_is_exclusive(x_25); -if (x_355 == 0) -{ -return x_25; -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_25, 0); -x_357 = lean_ctor_get(x_25, 1); -lean_inc(x_357); -lean_inc(x_356); -lean_dec(x_25); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_356); -lean_ctor_set(x_358, 1, x_357); -return x_358; -} -} -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_359 = lean_ctor_get(x_18, 0); -x_360 = lean_ctor_get(x_18, 1); -x_361 = lean_ctor_get(x_18, 2); -x_362 = lean_ctor_get(x_18, 3); -x_363 = lean_ctor_get(x_18, 4); -x_364 = lean_ctor_get(x_18, 5); -x_365 = lean_ctor_get(x_18, 6); -x_366 = lean_ctor_get(x_18, 7); -x_367 = lean_ctor_get(x_18, 8); -lean_inc(x_367); -lean_inc(x_366); -lean_inc(x_365); -lean_inc(x_364); -lean_inc(x_363); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_inc(x_359); -lean_dec(x_18); -x_368 = lean_nat_add(x_362, x_7); -x_369 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_369, 0, x_359); -lean_ctor_set(x_369, 1, x_360); -lean_ctor_set(x_369, 2, x_361); -lean_ctor_set(x_369, 3, x_368); -lean_ctor_set(x_369, 4, x_363); -lean_ctor_set(x_369, 5, x_364); -lean_ctor_set(x_369, 6, x_365); -lean_ctor_set(x_369, 7, x_366); -lean_ctor_set(x_369, 8, x_367); -x_370 = lean_st_ref_set(x_5, x_369, x_19); -x_371 = lean_ctor_get(x_370, 1); -lean_inc(x_371); -lean_dec(x_370); -lean_inc(x_14); -lean_inc(x_362); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_8); -lean_inc(x_11); -lean_inc(x_10); -lean_ctor_set(x_4, 5, x_362); -lean_ctor_set(x_4, 2, x_8); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_372 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_371); -if (lean_obj_tag(x_372) == 0) -{ -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_374 = x_372; -} else { - lean_dec_ref(x_372); - x_374 = lean_box(0); -} -x_375 = lean_ctor_get(x_2, 0); -lean_inc(x_375); -x_376 = lean_ctor_get(x_2, 1); -lean_inc(x_376); -x_377 = l_Lean_nullKind; -x_378 = lean_name_eq(x_375, x_377); -if (x_378 == 0) -{ -lean_object* x_379; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; -lean_dec(x_376); -lean_dec(x_374); -x_497 = lean_st_ref_get(x_5, x_373); -x_498 = lean_ctor_get(x_497, 0); -lean_inc(x_498); -x_499 = lean_ctor_get(x_497, 1); -lean_inc(x_499); -lean_dec(x_497); -x_500 = lean_ctor_get(x_498, 2); -lean_inc(x_500); -lean_dec(x_498); -x_501 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_500); -lean_dec(x_500); -x_502 = lean_ctor_get(x_501, 1); -lean_inc(x_502); -lean_dec(x_501); -x_503 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; -x_504 = l_Lean_checkTraceOption(x_502, x_503); -lean_dec(x_502); -if (x_504 == 0) -{ -x_379 = x_499; -goto block_496; -} -else -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; -lean_inc(x_2); -x_505 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_505, 0, x_2); -x_506 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_503, x_505, x_4, x_5, x_499); -x_507 = lean_ctor_get(x_506, 1); -lean_inc(x_507); -lean_dec(x_506); -x_379 = x_507; -goto block_496; -} -block_496: -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_380 = lean_st_ref_get(x_5, x_379); -x_381 = lean_ctor_get(x_380, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_380, 1); -lean_inc(x_382); -lean_dec(x_380); -x_383 = lean_ctor_get(x_381, 0); -lean_inc(x_383); -lean_inc(x_2); -lean_inc(x_383); -x_384 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_384, 0, x_383); -lean_closure_set(x_384, 1, x_2); -lean_inc(x_4); -x_385 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_384, x_4, x_5, x_382); -if (lean_obj_tag(x_385) == 0) -{ -lean_object* x_386; -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -if (lean_obj_tag(x_386) == 0) -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; -lean_dec(x_362); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -x_388 = l_Lean_Elab_Command_commandElabAttribute; -x_389 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_388, x_383, x_375); -lean_dec(x_383); -if (lean_obj_tag(x_389) == 0) -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -lean_dec(x_381); -lean_dec(x_2); -x_390 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_390, 0, x_375); -x_391 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; -x_392 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; -x_394 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_394, 0, x_392); -lean_ctor_set(x_394, 1, x_393); -x_395 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_394, x_4, x_5, x_387); -lean_dec(x_5); -return x_395; -} -else -{ -lean_object* x_396; -lean_dec(x_375); -x_396 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_381, x_2, x_389, x_4, x_5, x_387); -return x_396; -} -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; -lean_dec(x_383); -lean_dec(x_381); -lean_dec(x_375); -x_397 = lean_ctor_get(x_386, 0); -lean_inc(x_397); -lean_dec(x_386); -x_398 = lean_ctor_get(x_385, 1); -lean_inc(x_398); -lean_dec(x_385); -x_399 = lean_ctor_get(x_397, 0); -lean_inc(x_399); -x_400 = lean_ctor_get(x_397, 1); -lean_inc(x_400); -lean_dec(x_397); -x_401 = lean_st_ref_get(x_5, x_398); -x_402 = lean_ctor_get(x_401, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_402, 7); -lean_inc(x_403); -lean_dec(x_402); -x_404 = lean_ctor_get_uint8(x_403, sizeof(void*)*2); -lean_dec(x_403); -if (x_404 == 0) -{ -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -lean_dec(x_399); -lean_dec(x_4); -x_405 = lean_ctor_get(x_401, 1); -lean_inc(x_405); -lean_dec(x_401); -lean_inc(x_400); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_2); -lean_ctor_set(x_406, 1, x_400); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_13); -x_408 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_408, 0, x_10); -lean_ctor_set(x_408, 1, x_11); -lean_ctor_set(x_408, 2, x_8); -lean_ctor_set(x_408, 3, x_12); -lean_ctor_set(x_408, 4, x_407); -lean_ctor_set(x_408, 5, x_362); -lean_ctor_set(x_408, 6, x_14); -x_409 = l_Lean_Elab_Command_elabCommand(x_400, x_408, x_5, x_405); -lean_dec(x_408); -return x_409; -} -else -{ -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; -x_410 = lean_ctor_get(x_401, 1); -lean_inc(x_410); -lean_dec(x_401); -x_411 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_410); -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -lean_inc(x_400); -lean_inc(x_2); -x_414 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_414, 0, x_2); -lean_ctor_set(x_414, 1, x_400); -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_13); -x_416 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_416, 0, x_10); -lean_ctor_set(x_416, 1, x_11); -lean_ctor_set(x_416, 2, x_8); -lean_ctor_set(x_416, 3, x_12); -lean_ctor_set(x_416, 4, x_415); -lean_ctor_set(x_416, 5, x_362); -lean_ctor_set(x_416, 6, x_14); -lean_inc(x_5); -x_417 = l_Lean_Elab_Command_elabCommand(x_400, x_416, x_5, x_413); -lean_dec(x_416); -if (lean_obj_tag(x_417) == 0) -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_418 = lean_ctor_get(x_417, 0); -lean_inc(x_418); -x_419 = lean_ctor_get(x_417, 1); -lean_inc(x_419); -lean_dec(x_417); -x_420 = lean_st_ref_get(x_5, x_419); -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_423 = lean_ctor_get(x_421, 7); -lean_inc(x_423); -lean_dec(x_421); -x_424 = lean_ctor_get(x_423, 1); -lean_inc(x_424); -lean_dec(x_423); -x_425 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_399, x_2, x_424, x_4, x_5, x_422); -lean_dec(x_4); -if (lean_obj_tag(x_425) == 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; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; -x_426 = lean_ctor_get(x_425, 0); -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_take(x_5, x_427); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_429, 7); -lean_inc(x_430); -x_431 = lean_ctor_get(x_428, 1); -lean_inc(x_431); -lean_dec(x_428); -x_432 = lean_ctor_get(x_429, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_429, 1); -lean_inc(x_433); -x_434 = lean_ctor_get(x_429, 2); -lean_inc(x_434); -x_435 = lean_ctor_get(x_429, 3); -lean_inc(x_435); -x_436 = lean_ctor_get(x_429, 4); -lean_inc(x_436); -x_437 = lean_ctor_get(x_429, 5); -lean_inc(x_437); -x_438 = lean_ctor_get(x_429, 6); -lean_inc(x_438); -x_439 = lean_ctor_get(x_429, 8); -lean_inc(x_439); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - lean_ctor_release(x_429, 1); - lean_ctor_release(x_429, 2); - lean_ctor_release(x_429, 3); - lean_ctor_release(x_429, 4); - lean_ctor_release(x_429, 5); - lean_ctor_release(x_429, 6); - lean_ctor_release(x_429, 7); - lean_ctor_release(x_429, 8); - x_440 = x_429; -} else { - lean_dec_ref(x_429); - x_440 = lean_box(0); -} -x_441 = lean_ctor_get_uint8(x_430, sizeof(void*)*2); -x_442 = lean_ctor_get(x_430, 0); -lean_inc(x_442); -if (lean_is_exclusive(x_430)) { - lean_ctor_release(x_430, 0); - lean_ctor_release(x_430, 1); - x_443 = x_430; -} else { - lean_dec_ref(x_430); - x_443 = lean_box(0); -} -x_444 = l_Std_PersistentArray_push___rarg(x_412, x_426); -if (lean_is_scalar(x_443)) { - x_445 = lean_alloc_ctor(0, 2, 1); -} else { - x_445 = x_443; -} -lean_ctor_set(x_445, 0, x_442); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set_uint8(x_445, sizeof(void*)*2, x_441); -if (lean_is_scalar(x_440)) { - x_446 = lean_alloc_ctor(0, 9, 0); -} else { - x_446 = x_440; -} -lean_ctor_set(x_446, 0, x_432); -lean_ctor_set(x_446, 1, x_433); -lean_ctor_set(x_446, 2, x_434); -lean_ctor_set(x_446, 3, x_435); -lean_ctor_set(x_446, 4, x_436); -lean_ctor_set(x_446, 5, x_437); -lean_ctor_set(x_446, 6, x_438); -lean_ctor_set(x_446, 7, x_445); -lean_ctor_set(x_446, 8, x_439); -x_447 = lean_st_ref_set(x_5, x_446, x_431); -lean_dec(x_5); -x_448 = lean_ctor_get(x_447, 1); -lean_inc(x_448); -if (lean_is_exclusive(x_447)) { - lean_ctor_release(x_447, 0); - lean_ctor_release(x_447, 1); - x_449 = x_447; -} else { - lean_dec_ref(x_447); - x_449 = lean_box(0); -} -if (lean_is_scalar(x_449)) { - x_450 = lean_alloc_ctor(0, 2, 0); -} else { - x_450 = x_449; -} -lean_ctor_set(x_450, 0, x_418); -lean_ctor_set(x_450, 1, x_448); -return x_450; -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; -lean_dec(x_418); -lean_dec(x_412); -lean_dec(x_5); -x_451 = lean_ctor_get(x_425, 0); -lean_inc(x_451); -x_452 = lean_ctor_get(x_425, 1); -lean_inc(x_452); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - x_453 = x_425; -} else { - lean_dec_ref(x_425); - x_453 = lean_box(0); -} -if (lean_is_scalar(x_453)) { - x_454 = lean_alloc_ctor(1, 2, 0); -} else { - x_454 = x_453; -} -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_452); -return x_454; -} -} -else -{ -lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; -x_455 = lean_ctor_get(x_417, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_417, 1); -lean_inc(x_456); -lean_dec(x_417); -x_457 = lean_st_ref_get(x_5, x_456); -x_458 = lean_ctor_get(x_457, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_457, 1); -lean_inc(x_459); -lean_dec(x_457); -x_460 = lean_ctor_get(x_458, 7); -lean_inc(x_460); -lean_dec(x_458); -x_461 = lean_ctor_get(x_460, 1); -lean_inc(x_461); -lean_dec(x_460); -x_462 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_399, x_2, x_461, x_4, x_5, x_459); -lean_dec(x_4); -if (lean_obj_tag(x_462) == 0) -{ -lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); -x_465 = lean_st_ref_take(x_5, x_464); -x_466 = lean_ctor_get(x_465, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_466, 7); -lean_inc(x_467); -x_468 = lean_ctor_get(x_465, 1); -lean_inc(x_468); -lean_dec(x_465); -x_469 = lean_ctor_get(x_466, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_466, 1); -lean_inc(x_470); -x_471 = lean_ctor_get(x_466, 2); -lean_inc(x_471); -x_472 = lean_ctor_get(x_466, 3); -lean_inc(x_472); -x_473 = lean_ctor_get(x_466, 4); -lean_inc(x_473); -x_474 = lean_ctor_get(x_466, 5); -lean_inc(x_474); -x_475 = lean_ctor_get(x_466, 6); -lean_inc(x_475); -x_476 = lean_ctor_get(x_466, 8); -lean_inc(x_476); -if (lean_is_exclusive(x_466)) { - lean_ctor_release(x_466, 0); - lean_ctor_release(x_466, 1); - lean_ctor_release(x_466, 2); - lean_ctor_release(x_466, 3); - lean_ctor_release(x_466, 4); - lean_ctor_release(x_466, 5); - lean_ctor_release(x_466, 6); - lean_ctor_release(x_466, 7); - lean_ctor_release(x_466, 8); - x_477 = x_466; -} else { - lean_dec_ref(x_466); - x_477 = lean_box(0); -} -x_478 = lean_ctor_get_uint8(x_467, sizeof(void*)*2); -x_479 = lean_ctor_get(x_467, 0); -lean_inc(x_479); -if (lean_is_exclusive(x_467)) { - lean_ctor_release(x_467, 0); - lean_ctor_release(x_467, 1); - x_480 = x_467; -} else { - lean_dec_ref(x_467); - x_480 = lean_box(0); -} -x_481 = l_Std_PersistentArray_push___rarg(x_412, x_463); -if (lean_is_scalar(x_480)) { - x_482 = lean_alloc_ctor(0, 2, 1); -} else { - x_482 = x_480; -} -lean_ctor_set(x_482, 0, x_479); -lean_ctor_set(x_482, 1, x_481); -lean_ctor_set_uint8(x_482, sizeof(void*)*2, x_478); -if (lean_is_scalar(x_477)) { - x_483 = lean_alloc_ctor(0, 9, 0); -} else { - x_483 = x_477; -} -lean_ctor_set(x_483, 0, x_469); -lean_ctor_set(x_483, 1, x_470); -lean_ctor_set(x_483, 2, x_471); -lean_ctor_set(x_483, 3, x_472); -lean_ctor_set(x_483, 4, x_473); -lean_ctor_set(x_483, 5, x_474); -lean_ctor_set(x_483, 6, x_475); -lean_ctor_set(x_483, 7, x_482); -lean_ctor_set(x_483, 8, x_476); -x_484 = lean_st_ref_set(x_5, x_483, x_468); -lean_dec(x_5); -x_485 = lean_ctor_get(x_484, 1); -lean_inc(x_485); -if (lean_is_exclusive(x_484)) { - lean_ctor_release(x_484, 0); - lean_ctor_release(x_484, 1); - x_486 = x_484; -} else { - lean_dec_ref(x_484); - x_486 = lean_box(0); -} -if (lean_is_scalar(x_486)) { - x_487 = lean_alloc_ctor(1, 2, 0); -} else { - x_487 = x_486; - lean_ctor_set_tag(x_487, 1); -} -lean_ctor_set(x_487, 0, x_455); -lean_ctor_set(x_487, 1, x_485); -return x_487; -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; -lean_dec(x_455); -lean_dec(x_412); -lean_dec(x_5); -x_488 = lean_ctor_get(x_462, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_462, 1); -lean_inc(x_489); -if (lean_is_exclusive(x_462)) { - lean_ctor_release(x_462, 0); - lean_ctor_release(x_462, 1); - x_490 = x_462; -} else { - lean_dec_ref(x_462); - x_490 = lean_box(0); -} -if (lean_is_scalar(x_490)) { - x_491 = lean_alloc_ctor(1, 2, 0); -} else { - x_491 = x_490; -} -lean_ctor_set(x_491, 0, x_488); -lean_ctor_set(x_491, 1, x_489); -return x_491; -} -} -} -} -} -else -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; -lean_dec(x_383); -lean_dec(x_381); -lean_dec(x_375); -lean_dec(x_4); -lean_dec(x_362); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_492 = lean_ctor_get(x_385, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_385, 1); -lean_inc(x_493); -if (lean_is_exclusive(x_385)) { - lean_ctor_release(x_385, 0); - lean_ctor_release(x_385, 1); - x_494 = x_385; -} else { - lean_dec_ref(x_385); - x_494 = lean_box(0); -} -if (lean_is_scalar(x_494)) { - x_495 = lean_alloc_ctor(1, 2, 0); -} else { - x_495 = x_494; -} -lean_ctor_set(x_495, 0, x_492); -lean_ctor_set(x_495, 1, x_493); -return x_495; -} -} -} -else -{ -lean_object* x_508; lean_object* x_509; uint8_t x_510; -lean_dec(x_375); -lean_dec(x_362); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_508 = lean_array_get_size(x_376); -x_509 = lean_unsigned_to_nat(0u); -x_510 = lean_nat_dec_lt(x_509, x_508); -if (x_510 == 0) -{ -lean_object* x_511; lean_object* x_512; -lean_dec(x_508); -lean_dec(x_376); -lean_dec(x_4); -lean_dec(x_5); -x_511 = lean_box(0); -if (lean_is_scalar(x_374)) { - x_512 = lean_alloc_ctor(0, 2, 0); -} else { - x_512 = x_374; -} -lean_ctor_set(x_512, 0, x_511); -lean_ctor_set(x_512, 1, x_373); -return x_512; -} -else -{ -uint8_t x_513; -x_513 = lean_nat_dec_le(x_508, x_508); -if (x_513 == 0) -{ -lean_object* x_514; lean_object* x_515; -lean_dec(x_508); -lean_dec(x_376); -lean_dec(x_4); -lean_dec(x_5); -x_514 = lean_box(0); -if (lean_is_scalar(x_374)) { - x_515 = lean_alloc_ctor(0, 2, 0); -} else { - x_515 = x_374; -} -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_373); -return x_515; -} -else -{ -size_t x_516; size_t x_517; lean_object* x_518; lean_object* x_519; -lean_dec(x_374); -x_516 = 0; -x_517 = lean_usize_of_nat(x_508); -lean_dec(x_508); -x_518 = lean_box(0); -x_519 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_376, x_516, x_517, x_518, x_4, x_5, x_373); -lean_dec(x_4); -lean_dec(x_376); -return x_519; -} -} -} -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; -lean_dec(x_362); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_520 = lean_ctor_get(x_372, 1); -lean_inc(x_520); -lean_dec(x_372); -x_521 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; -x_522 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_521, x_4, x_5, x_520); -lean_dec(x_5); -return x_522; -} -} -else -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -lean_dec(x_4); -lean_dec(x_362); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_523 = lean_ctor_get(x_372, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_372, 1); -lean_inc(x_524); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_525 = x_372; -} else { - lean_dec_ref(x_372); - x_525 = lean_box(0); -} -if (lean_is_scalar(x_525)) { - x_526 = lean_alloc_ctor(1, 2, 0); -} else { - x_526 = x_525; -} -lean_ctor_set(x_526, 0, x_523); -lean_ctor_set(x_526, 1, x_524); -return x_526; -} -} -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_527 = lean_ctor_get(x_4, 0); -x_528 = lean_ctor_get(x_4, 1); -x_529 = lean_ctor_get(x_4, 3); -x_530 = lean_ctor_get(x_4, 4); -x_531 = lean_ctor_get(x_4, 6); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_4); -x_532 = lean_st_ref_take(x_5, x_6); -x_533 = lean_ctor_get(x_532, 0); -lean_inc(x_533); -x_534 = lean_ctor_get(x_532, 1); -lean_inc(x_534); -lean_dec(x_532); -x_535 = lean_ctor_get(x_533, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_533, 1); -lean_inc(x_536); -x_537 = lean_ctor_get(x_533, 2); -lean_inc(x_537); -x_538 = lean_ctor_get(x_533, 3); -lean_inc(x_538); -x_539 = lean_ctor_get(x_533, 4); -lean_inc(x_539); -x_540 = lean_ctor_get(x_533, 5); -lean_inc(x_540); -x_541 = lean_ctor_get(x_533, 6); -lean_inc(x_541); -x_542 = lean_ctor_get(x_533, 7); -lean_inc(x_542); -x_543 = lean_ctor_get(x_533, 8); -lean_inc(x_543); -if (lean_is_exclusive(x_533)) { - lean_ctor_release(x_533, 0); - lean_ctor_release(x_533, 1); - lean_ctor_release(x_533, 2); - lean_ctor_release(x_533, 3); - lean_ctor_release(x_533, 4); - lean_ctor_release(x_533, 5); - lean_ctor_release(x_533, 6); - lean_ctor_release(x_533, 7); - lean_ctor_release(x_533, 8); - x_544 = x_533; -} else { - lean_dec_ref(x_533); - x_544 = lean_box(0); -} -x_545 = lean_nat_add(x_538, x_7); -if (lean_is_scalar(x_544)) { - x_546 = lean_alloc_ctor(0, 9, 0); -} else { - x_546 = x_544; -} -lean_ctor_set(x_546, 0, x_535); -lean_ctor_set(x_546, 1, x_536); -lean_ctor_set(x_546, 2, x_537); -lean_ctor_set(x_546, 3, x_545); -lean_ctor_set(x_546, 4, x_539); -lean_ctor_set(x_546, 5, x_540); -lean_ctor_set(x_546, 6, x_541); -lean_ctor_set(x_546, 7, x_542); -lean_ctor_set(x_546, 8, x_543); -x_547 = lean_st_ref_set(x_5, x_546, x_534); -x_548 = lean_ctor_get(x_547, 1); -lean_inc(x_548); -lean_dec(x_547); -lean_inc(x_531); -lean_inc(x_538); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_8); -lean_inc(x_528); -lean_inc(x_527); -x_549 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_549, 0, x_527); -lean_ctor_set(x_549, 1, x_528); -lean_ctor_set(x_549, 2, x_8); -lean_ctor_set(x_549, 3, x_529); -lean_ctor_set(x_549, 4, x_530); -lean_ctor_set(x_549, 5, x_538); -lean_ctor_set(x_549, 6, x_531); -lean_inc(x_5); -lean_inc(x_549); -lean_inc(x_2); -x_550 = l_Lean_Elab_Command_runLinters(x_2, x_549, x_5, x_548); -if (lean_obj_tag(x_550) == 0) -{ -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; uint8_t x_556; -x_551 = lean_ctor_get(x_550, 1); -lean_inc(x_551); -if (lean_is_exclusive(x_550)) { - lean_ctor_release(x_550, 0); - lean_ctor_release(x_550, 1); - x_552 = x_550; -} else { - lean_dec_ref(x_550); - x_552 = lean_box(0); -} -x_553 = lean_ctor_get(x_2, 0); -lean_inc(x_553); -x_554 = lean_ctor_get(x_2, 1); -lean_inc(x_554); -x_555 = l_Lean_nullKind; -x_556 = lean_name_eq(x_553, x_555); -if (x_556 == 0) -{ -lean_object* x_557; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; uint8_t x_682; -lean_dec(x_554); -lean_dec(x_552); -x_675 = lean_st_ref_get(x_5, x_551); -x_676 = lean_ctor_get(x_675, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_675, 1); -lean_inc(x_677); -lean_dec(x_675); -x_678 = lean_ctor_get(x_676, 2); -lean_inc(x_678); -lean_dec(x_676); -x_679 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_678); -lean_dec(x_678); -x_680 = lean_ctor_get(x_679, 1); -lean_inc(x_680); -lean_dec(x_679); -x_681 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; -x_682 = l_Lean_checkTraceOption(x_680, x_681); -lean_dec(x_680); -if (x_682 == 0) -{ -x_557 = x_677; -goto block_674; -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; -lean_inc(x_2); -x_683 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_683, 0, x_2); -x_684 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_681, x_683, x_549, x_5, x_677); -x_685 = lean_ctor_get(x_684, 1); -lean_inc(x_685); -lean_dec(x_684); -x_557 = x_685; -goto block_674; -} -block_674: -{ -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_558 = lean_st_ref_get(x_5, x_557); -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_558, 1); -lean_inc(x_560); -lean_dec(x_558); -x_561 = lean_ctor_get(x_559, 0); -lean_inc(x_561); -lean_inc(x_2); -lean_inc(x_561); -x_562 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_562, 0, x_561); -lean_closure_set(x_562, 1, x_2); -lean_inc(x_549); -x_563 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_562, x_549, x_5, x_560); -if (lean_obj_tag(x_563) == 0) -{ -lean_object* x_564; -x_564 = lean_ctor_get(x_563, 0); -lean_inc(x_564); -if (lean_obj_tag(x_564) == 0) -{ -lean_object* x_565; lean_object* x_566; lean_object* x_567; -lean_dec(x_538); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_528); -lean_dec(x_527); -lean_dec(x_8); -x_565 = lean_ctor_get(x_563, 1); -lean_inc(x_565); -lean_dec(x_563); -x_566 = l_Lean_Elab_Command_commandElabAttribute; -x_567 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_566, x_561, x_553); -lean_dec(x_561); -if (lean_obj_tag(x_567) == 0) -{ -lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; -lean_dec(x_559); -lean_dec(x_2); -x_568 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_568, 0, x_553); -x_569 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; -x_570 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_570, 0, x_569); -lean_ctor_set(x_570, 1, x_568); -x_571 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; -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_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_572, x_549, x_5, x_565); -lean_dec(x_5); -return x_573; -} -else -{ -lean_object* x_574; -lean_dec(x_553); -x_574 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_559, x_2, x_567, x_549, x_5, x_565); -return x_574; -} -} -else -{ -lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t x_582; -lean_dec(x_561); -lean_dec(x_559); -lean_dec(x_553); -x_575 = lean_ctor_get(x_564, 0); -lean_inc(x_575); -lean_dec(x_564); -x_576 = lean_ctor_get(x_563, 1); -lean_inc(x_576); -lean_dec(x_563); -x_577 = lean_ctor_get(x_575, 0); -lean_inc(x_577); -x_578 = lean_ctor_get(x_575, 1); -lean_inc(x_578); -lean_dec(x_575); -x_579 = lean_st_ref_get(x_5, x_576); -x_580 = lean_ctor_get(x_579, 0); -lean_inc(x_580); -x_581 = lean_ctor_get(x_580, 7); -lean_inc(x_581); -lean_dec(x_580); -x_582 = lean_ctor_get_uint8(x_581, sizeof(void*)*2); -lean_dec(x_581); -if (x_582 == 0) -{ -lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; -lean_dec(x_577); -lean_dec(x_549); -x_583 = lean_ctor_get(x_579, 1); -lean_inc(x_583); -lean_dec(x_579); -lean_inc(x_578); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_2); -lean_ctor_set(x_584, 1, x_578); -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_530); -x_586 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_586, 0, x_527); -lean_ctor_set(x_586, 1, x_528); -lean_ctor_set(x_586, 2, x_8); -lean_ctor_set(x_586, 3, x_529); -lean_ctor_set(x_586, 4, x_585); -lean_ctor_set(x_586, 5, x_538); -lean_ctor_set(x_586, 6, x_531); -x_587 = l_Lean_Elab_Command_elabCommand(x_578, x_586, x_5, x_583); -lean_dec(x_586); -return x_587; -} -else -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -x_588 = lean_ctor_get(x_579, 1); -lean_inc(x_588); -lean_dec(x_579); -x_589 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_588); -x_590 = lean_ctor_get(x_589, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_589, 1); -lean_inc(x_591); -lean_dec(x_589); -lean_inc(x_578); -lean_inc(x_2); -x_592 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_592, 0, x_2); -lean_ctor_set(x_592, 1, x_578); -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_530); -x_594 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_594, 0, x_527); -lean_ctor_set(x_594, 1, x_528); -lean_ctor_set(x_594, 2, x_8); -lean_ctor_set(x_594, 3, x_529); -lean_ctor_set(x_594, 4, x_593); -lean_ctor_set(x_594, 5, x_538); -lean_ctor_set(x_594, 6, x_531); -lean_inc(x_5); -x_595 = l_Lean_Elab_Command_elabCommand(x_578, x_594, x_5, x_591); -lean_dec(x_594); -if (lean_obj_tag(x_595) == 0) -{ -lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; -x_596 = lean_ctor_get(x_595, 0); -lean_inc(x_596); -x_597 = lean_ctor_get(x_595, 1); -lean_inc(x_597); -lean_dec(x_595); -x_598 = lean_st_ref_get(x_5, x_597); -x_599 = lean_ctor_get(x_598, 0); -lean_inc(x_599); -x_600 = lean_ctor_get(x_598, 1); -lean_inc(x_600); -lean_dec(x_598); -x_601 = lean_ctor_get(x_599, 7); -lean_inc(x_601); -lean_dec(x_599); -x_602 = lean_ctor_get(x_601, 1); -lean_inc(x_602); -lean_dec(x_601); -x_603 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_577, x_2, x_602, x_549, x_5, x_600); -lean_dec(x_549); -if (lean_obj_tag(x_603) == 0) -{ -lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; uint8_t x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -x_604 = lean_ctor_get(x_603, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_603, 1); -lean_inc(x_605); -lean_dec(x_603); -x_606 = lean_st_ref_take(x_5, x_605); -x_607 = lean_ctor_get(x_606, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_607, 7); -lean_inc(x_608); -x_609 = lean_ctor_get(x_606, 1); -lean_inc(x_609); -lean_dec(x_606); -x_610 = lean_ctor_get(x_607, 0); -lean_inc(x_610); -x_611 = lean_ctor_get(x_607, 1); -lean_inc(x_611); -x_612 = lean_ctor_get(x_607, 2); -lean_inc(x_612); -x_613 = lean_ctor_get(x_607, 3); -lean_inc(x_613); -x_614 = lean_ctor_get(x_607, 4); -lean_inc(x_614); -x_615 = lean_ctor_get(x_607, 5); -lean_inc(x_615); -x_616 = lean_ctor_get(x_607, 6); -lean_inc(x_616); -x_617 = lean_ctor_get(x_607, 8); -lean_inc(x_617); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - lean_ctor_release(x_607, 2); - lean_ctor_release(x_607, 3); - lean_ctor_release(x_607, 4); - lean_ctor_release(x_607, 5); - lean_ctor_release(x_607, 6); - lean_ctor_release(x_607, 7); - lean_ctor_release(x_607, 8); - x_618 = x_607; -} else { - lean_dec_ref(x_607); - x_618 = lean_box(0); -} -x_619 = lean_ctor_get_uint8(x_608, sizeof(void*)*2); -x_620 = lean_ctor_get(x_608, 0); -lean_inc(x_620); -if (lean_is_exclusive(x_608)) { - lean_ctor_release(x_608, 0); - lean_ctor_release(x_608, 1); - x_621 = x_608; -} else { - lean_dec_ref(x_608); - x_621 = lean_box(0); -} -x_622 = l_Std_PersistentArray_push___rarg(x_590, x_604); -if (lean_is_scalar(x_621)) { - x_623 = lean_alloc_ctor(0, 2, 1); -} else { - x_623 = x_621; -} -lean_ctor_set(x_623, 0, x_620); -lean_ctor_set(x_623, 1, x_622); -lean_ctor_set_uint8(x_623, sizeof(void*)*2, x_619); -if (lean_is_scalar(x_618)) { - x_624 = lean_alloc_ctor(0, 9, 0); -} else { - x_624 = x_618; -} -lean_ctor_set(x_624, 0, x_610); -lean_ctor_set(x_624, 1, x_611); -lean_ctor_set(x_624, 2, x_612); -lean_ctor_set(x_624, 3, x_613); -lean_ctor_set(x_624, 4, x_614); -lean_ctor_set(x_624, 5, x_615); -lean_ctor_set(x_624, 6, x_616); -lean_ctor_set(x_624, 7, x_623); -lean_ctor_set(x_624, 8, x_617); -x_625 = lean_st_ref_set(x_5, x_624, x_609); -lean_dec(x_5); -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -if (lean_is_exclusive(x_625)) { - lean_ctor_release(x_625, 0); - lean_ctor_release(x_625, 1); - x_627 = x_625; -} else { - lean_dec_ref(x_625); - x_627 = lean_box(0); -} -if (lean_is_scalar(x_627)) { - x_628 = lean_alloc_ctor(0, 2, 0); -} else { - x_628 = x_627; -} -lean_ctor_set(x_628, 0, x_596); -lean_ctor_set(x_628, 1, x_626); -return x_628; -} -else -{ -lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; -lean_dec(x_596); -lean_dec(x_590); -lean_dec(x_5); -x_629 = lean_ctor_get(x_603, 0); -lean_inc(x_629); -x_630 = lean_ctor_get(x_603, 1); -lean_inc(x_630); -if (lean_is_exclusive(x_603)) { - lean_ctor_release(x_603, 0); - lean_ctor_release(x_603, 1); - x_631 = x_603; -} else { - lean_dec_ref(x_603); - x_631 = lean_box(0); -} -if (lean_is_scalar(x_631)) { - x_632 = lean_alloc_ctor(1, 2, 0); -} else { - x_632 = x_631; -} -lean_ctor_set(x_632, 0, x_629); -lean_ctor_set(x_632, 1, x_630); -return x_632; -} -} -else -{ -lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_633 = lean_ctor_get(x_595, 0); -lean_inc(x_633); -x_634 = lean_ctor_get(x_595, 1); -lean_inc(x_634); -lean_dec(x_595); -x_635 = lean_st_ref_get(x_5, x_634); -x_636 = lean_ctor_get(x_635, 0); -lean_inc(x_636); -x_637 = lean_ctor_get(x_635, 1); -lean_inc(x_637); -lean_dec(x_635); -x_638 = lean_ctor_get(x_636, 7); -lean_inc(x_638); -lean_dec(x_636); -x_639 = lean_ctor_get(x_638, 1); -lean_inc(x_639); -lean_dec(x_638); -x_640 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_577, x_2, x_639, x_549, x_5, x_637); -lean_dec(x_549); -if (lean_obj_tag(x_640) == 0) -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; uint8_t x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_640, 1); -lean_inc(x_642); -lean_dec(x_640); -x_643 = lean_st_ref_take(x_5, x_642); -x_644 = lean_ctor_get(x_643, 0); -lean_inc(x_644); -x_645 = lean_ctor_get(x_644, 7); -lean_inc(x_645); -x_646 = lean_ctor_get(x_643, 1); -lean_inc(x_646); -lean_dec(x_643); -x_647 = lean_ctor_get(x_644, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_644, 1); -lean_inc(x_648); -x_649 = lean_ctor_get(x_644, 2); -lean_inc(x_649); -x_650 = lean_ctor_get(x_644, 3); -lean_inc(x_650); -x_651 = lean_ctor_get(x_644, 4); -lean_inc(x_651); -x_652 = lean_ctor_get(x_644, 5); -lean_inc(x_652); -x_653 = lean_ctor_get(x_644, 6); -lean_inc(x_653); -x_654 = lean_ctor_get(x_644, 8); -lean_inc(x_654); -if (lean_is_exclusive(x_644)) { - lean_ctor_release(x_644, 0); - lean_ctor_release(x_644, 1); - lean_ctor_release(x_644, 2); - lean_ctor_release(x_644, 3); - lean_ctor_release(x_644, 4); - lean_ctor_release(x_644, 5); - lean_ctor_release(x_644, 6); - lean_ctor_release(x_644, 7); - lean_ctor_release(x_644, 8); - x_655 = x_644; -} else { - lean_dec_ref(x_644); - x_655 = lean_box(0); -} -x_656 = lean_ctor_get_uint8(x_645, sizeof(void*)*2); -x_657 = lean_ctor_get(x_645, 0); -lean_inc(x_657); -if (lean_is_exclusive(x_645)) { - lean_ctor_release(x_645, 0); - lean_ctor_release(x_645, 1); - x_658 = x_645; -} else { - lean_dec_ref(x_645); - x_658 = lean_box(0); -} -x_659 = l_Std_PersistentArray_push___rarg(x_590, x_641); -if (lean_is_scalar(x_658)) { - x_660 = lean_alloc_ctor(0, 2, 1); -} else { - x_660 = x_658; -} -lean_ctor_set(x_660, 0, x_657); -lean_ctor_set(x_660, 1, x_659); -lean_ctor_set_uint8(x_660, sizeof(void*)*2, x_656); -if (lean_is_scalar(x_655)) { - x_661 = lean_alloc_ctor(0, 9, 0); -} else { - x_661 = x_655; -} -lean_ctor_set(x_661, 0, x_647); -lean_ctor_set(x_661, 1, x_648); -lean_ctor_set(x_661, 2, x_649); -lean_ctor_set(x_661, 3, x_650); -lean_ctor_set(x_661, 4, x_651); -lean_ctor_set(x_661, 5, x_652); -lean_ctor_set(x_661, 6, x_653); -lean_ctor_set(x_661, 7, x_660); -lean_ctor_set(x_661, 8, x_654); -x_662 = lean_st_ref_set(x_5, x_661, x_646); -lean_dec(x_5); -x_663 = lean_ctor_get(x_662, 1); -lean_inc(x_663); -if (lean_is_exclusive(x_662)) { - lean_ctor_release(x_662, 0); - lean_ctor_release(x_662, 1); - x_664 = x_662; -} else { - lean_dec_ref(x_662); - x_664 = lean_box(0); -} -if (lean_is_scalar(x_664)) { - x_665 = lean_alloc_ctor(1, 2, 0); -} else { - x_665 = x_664; - lean_ctor_set_tag(x_665, 1); -} -lean_ctor_set(x_665, 0, x_633); -lean_ctor_set(x_665, 1, x_663); -return x_665; -} -else -{ -lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -lean_dec(x_633); -lean_dec(x_590); -lean_dec(x_5); -x_666 = lean_ctor_get(x_640, 0); -lean_inc(x_666); -x_667 = lean_ctor_get(x_640, 1); -lean_inc(x_667); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_668 = x_640; -} else { - lean_dec_ref(x_640); - x_668 = lean_box(0); -} -if (lean_is_scalar(x_668)) { - x_669 = lean_alloc_ctor(1, 2, 0); -} else { - x_669 = x_668; -} -lean_ctor_set(x_669, 0, x_666); -lean_ctor_set(x_669, 1, x_667); -return x_669; -} -} -} -} -} -else -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; -lean_dec(x_561); -lean_dec(x_559); -lean_dec(x_553); -lean_dec(x_549); -lean_dec(x_538); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_528); -lean_dec(x_527); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_670 = lean_ctor_get(x_563, 0); -lean_inc(x_670); -x_671 = lean_ctor_get(x_563, 1); -lean_inc(x_671); -if (lean_is_exclusive(x_563)) { - lean_ctor_release(x_563, 0); - lean_ctor_release(x_563, 1); - x_672 = x_563; -} else { - lean_dec_ref(x_563); - x_672 = lean_box(0); -} -if (lean_is_scalar(x_672)) { - x_673 = lean_alloc_ctor(1, 2, 0); -} else { - x_673 = x_672; -} -lean_ctor_set(x_673, 0, x_670); -lean_ctor_set(x_673, 1, x_671); -return x_673; -} -} -} -else -{ -lean_object* x_686; lean_object* x_687; uint8_t x_688; -lean_dec(x_553); -lean_dec(x_538); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_528); -lean_dec(x_527); -lean_dec(x_8); -lean_dec(x_2); -x_686 = lean_array_get_size(x_554); -x_687 = lean_unsigned_to_nat(0u); -x_688 = lean_nat_dec_lt(x_687, x_686); -if (x_688 == 0) -{ -lean_object* x_689; lean_object* x_690; -lean_dec(x_686); -lean_dec(x_554); -lean_dec(x_549); -lean_dec(x_5); -x_689 = lean_box(0); -if (lean_is_scalar(x_552)) { - x_690 = lean_alloc_ctor(0, 2, 0); -} else { - x_690 = x_552; -} -lean_ctor_set(x_690, 0, x_689); -lean_ctor_set(x_690, 1, x_551); -return x_690; -} -else -{ -uint8_t x_691; -x_691 = lean_nat_dec_le(x_686, x_686); -if (x_691 == 0) -{ -lean_object* x_692; lean_object* x_693; -lean_dec(x_686); -lean_dec(x_554); -lean_dec(x_549); -lean_dec(x_5); -x_692 = lean_box(0); -if (lean_is_scalar(x_552)) { - x_693 = lean_alloc_ctor(0, 2, 0); -} else { - x_693 = x_552; -} -lean_ctor_set(x_693, 0, x_692); -lean_ctor_set(x_693, 1, x_551); -return x_693; -} -else -{ -size_t x_694; size_t x_695; lean_object* x_696; lean_object* x_697; -lean_dec(x_552); -x_694 = 0; -x_695 = lean_usize_of_nat(x_686); -lean_dec(x_686); -x_696 = lean_box(0); -x_697 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_554, x_694, x_695, x_696, x_549, x_5, x_551); -lean_dec(x_549); -lean_dec(x_554); -return x_697; -} -} -} -} -else -{ -lean_object* x_698; lean_object* x_699; lean_object* x_700; -lean_dec(x_538); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_528); -lean_dec(x_527); -lean_dec(x_8); -lean_dec(x_2); -x_698 = lean_ctor_get(x_550, 1); -lean_inc(x_698); -lean_dec(x_550); -x_699 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; -x_700 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_699, x_549, x_5, x_698); -lean_dec(x_5); -return x_700; -} -} -else -{ -lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; -lean_dec(x_549); -lean_dec(x_538); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_528); -lean_dec(x_527); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_701 = lean_ctor_get(x_550, 0); -lean_inc(x_701); -x_702 = lean_ctor_get(x_550, 1); -lean_inc(x_702); -if (lean_is_exclusive(x_550)) { - lean_ctor_release(x_550, 0); - lean_ctor_release(x_550, 1); - x_703 = x_550; -} else { - lean_dec_ref(x_550); - x_703 = lean_box(0); -} -if (lean_is_scalar(x_703)) { - x_704 = lean_alloc_ctor(1, 2, 0); -} else { - x_704 = x_703; -} -lean_ctor_set(x_704, 0, x_701); -lean_ctor_set(x_704, 1, x_702); -return x_704; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -15498,896 +11748,600 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +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; +x_11 = lean_ctor_get(x_3, 2); +x_12 = lean_ctor_get(x_3, 6); +lean_dec(x_12); +lean_inc(x_11); +lean_ctor_set(x_3, 6, x_9); +x_13 = lean_st_ref_get(x_4, x_8); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 4); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_nat_dec_eq(x_11, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Elab_Command_elabCommand___lambda__1(x_11, x_2, x_18, x_3, x_4, x_15); +lean_dec(x_11); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_11); +lean_dec(x_2); +x_20 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; +x_21 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_20, x_3, x_4, x_15); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +else +{ +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; uint8_t x_37; +x_26 = lean_ctor_get(x_3, 0); +x_27 = lean_ctor_get(x_3, 1); +x_28 = lean_ctor_get(x_3, 2); +x_29 = lean_ctor_get(x_3, 3); +x_30 = lean_ctor_get(x_3, 4); +x_31 = lean_ctor_get(x_3, 5); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_3); +lean_inc(x_28); +x_32 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_27); +lean_ctor_set(x_32, 2, x_28); +lean_ctor_set(x_32, 3, x_29); +lean_ctor_set(x_32, 4, x_30); +lean_ctor_set(x_32, 5, x_31); +lean_ctor_set(x_32, 6, x_9); +x_33 = lean_st_ref_get(x_4, x_8); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ctor_get(x_34, 4); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_nat_dec_eq(x_28, x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +x_39 = l_Lean_Elab_Command_elabCommand___lambda__1(x_28, x_2, x_38, x_32, x_4, x_35); +lean_dec(x_28); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_28); +lean_dec(x_2); +x_40 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; +x_41 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_40, x_32, x_4, x_35); +lean_dec(x_4); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elaboration function for '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' has not been implemented"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabCommand___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_38 = lean_st_ref_get(x_5, x_6); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 2); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_41); +lean_dec(x_41); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +lean_inc(x_3); +x_44 = l_Lean_checkTraceOption(x_43, x_3); +lean_dec(x_43); +if (x_44 == 0) +{ +lean_dec(x_3); +x_7 = x_40; +goto block_37; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_inc(x_1); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_1); +x_46 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(x_3, x_45, x_4, x_5, x_40); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_7 = x_47; +goto block_37; +} +block_37: +{ +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 = lean_st_ref_get(x_5, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_inc(x_1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_12, 0, x_11); +lean_closure_set(x_12, 1, x_1); +lean_inc(x_4); +x_13 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2(x_12, x_4, x_5, x_10); +if (lean_obj_tag(x_13) == 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_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Elab_Command_commandElabAttribute; +x_17 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_16, x_11, x_2); +lean_dec(x_11); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_9); +lean_dec(x_1); +x_18 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_18, 0, x_2); +x_19 = l_Lean_Elab_Command_elabCommand___lambda__3___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_Lean_Elab_Command_elabCommand___lambda__3___closed__4; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_22, x_4, x_5, x_15); +lean_dec(x_5); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_2); +x_24 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_9, x_1, x_17, x_4, x_5, x_15); +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; lean_object* x_31; lean_object* x_32; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_25 = lean_ctor_get(x_14, 0); +lean_inc(x_25); +lean_dec(x_14); +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +lean_dec(x_13); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +lean_inc(x_28); +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_29, 0, x_28); +lean_inc(x_1); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withMacroExpansion___rarg), 6, 3); +lean_closure_set(x_30, 0, x_1); +lean_closure_set(x_30, 1, x_28); +lean_closure_set(x_30, 2, x_29); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___boxed), 6, 2); +lean_closure_set(x_31, 0, x_27); +lean_closure_set(x_31, 1, x_1); +x_32 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(x_30, x_31, x_4, x_5, x_26); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_13); +if (x_33 == 0) +{ +return x_13; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_13, 0); +x_35 = lean_ctor_get(x_13, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_13); +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; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected command"); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__2() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Command_elabCommand___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabCommand___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed), 4, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabCommand___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); return x_2; } } lean_object* l_Lean_Elab_Command_elabCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { +if (lean_obj_tag(x_1) == 1) +{ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_st_ref_take(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = !lean_is_exclusive(x_6); +x_7 = l_Lean_nullKind; +x_8 = lean_name_eq(x_5, x_7); 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_40; lean_object* x_41; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_9 = lean_ctor_get(x_6, 1); -x_10 = l_Lean_Elab_Command_State_messages___default___closed__3; -lean_ctor_set(x_6, 1, x_10); -x_11 = lean_st_ref_set(x_3, x_6, x_7); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_99 = l_Lean_Elab_Command_getRef(x_2, x_3, x_12); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_replaceRef(x_1, x_100); -lean_dec(x_100); -x_103 = lean_ctor_get(x_2, 0); -x_104 = lean_ctor_get(x_2, 1); -x_105 = lean_ctor_get(x_2, 2); -x_106 = lean_ctor_get(x_2, 3); -x_107 = lean_ctor_get(x_2, 4); -x_108 = lean_ctor_get(x_2, 5); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -x_109 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_109, 0, x_103); -lean_ctor_set(x_109, 1, x_104); -lean_ctor_set(x_109, 2, x_105); -lean_ctor_set(x_109, 3, x_106); -lean_ctor_set(x_109, 4, x_107); -lean_ctor_set(x_109, 5, x_108); -lean_ctor_set(x_109, 6, x_102); -x_110 = lean_st_ref_get(x_3, x_101); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_ctor_get(x_111, 4); -lean_inc(x_113); -lean_dec(x_111); -x_114 = lean_nat_dec_eq(x_105, x_113); -lean_dec(x_113); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_box(0); -lean_inc(x_3); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2; lean_inc(x_1); -x_116 = l_Lean_Elab_Command_elabCommand___lambda__2(x_105, x_1, x_115, x_109, x_3, x_112); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_13 = x_117; -goto block_39; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3), 6, 3); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_5); +lean_closure_set(x_10, 2, x_9); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 5, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_10); +x_12 = l_Lean_Elab_Command_withLogging(x_11, x_2, x_3, x_4); +return x_12; } else { -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_116, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_40 = x_118; -x_41 = x_119; -goto block_98; +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_5); +x_13 = lean_array_get_size(x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_lt(x_14, x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +lean_dec(x_6); +x_16 = l_Lean_Elab_Command_elabCommand___closed__4; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 5, 2); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_Command_withLogging(x_17, x_2, x_3, x_4); +return x_18; +} +else +{ +uint8_t x_19; +x_19 = lean_nat_dec_le(x_13, x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_13); +lean_dec(x_6); +x_20 = l_Lean_Elab_Command_elabCommand___closed__4; +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 5, 2); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_20); +x_22 = l_Lean_Elab_Command_withLogging(x_21, x_2, x_3, x_4); +return x_22; +} +else +{ +size_t 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; +x_23 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_elabCommand___boxed__const__1; +x_26 = lean_box_usize(x_23); +x_27 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10___boxed), 7, 4); +lean_closure_set(x_27, 0, x_6); +lean_closure_set(x_27, 1, x_25); +lean_closure_set(x_27, 2, x_26); +lean_closure_set(x_27, 3, x_24); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 5, 2); +lean_closure_set(x_28, 0, x_1); +lean_closure_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Command_withLogging(x_28, x_2, x_3, x_4); +return x_29; +} +} } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_120 = l_Lean_Elab_Command_elabCommand___closed__2; -x_121 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_120, x_109, x_3, x_112); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_40 = x_122; -x_41 = x_123; -goto block_98; -} -block_39: -{ -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; uint8_t x_25; -x_14 = lean_st_ref_get(x_3, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_st_ref_get(x_3, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_ctor_get(x_19, 2); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_21); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Lean_Elab_Command_showPartialSyntaxErrors; -x_25 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_23, x_24); -lean_dec(x_23); -if (x_25 == 0) -{ -uint8_t x_26; -x_26 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_9); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_1); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_elabCommand___lambda__1(x_9, x_17, x_27, x_2, x_3, x_20); -lean_dec(x_3); -lean_dec(x_17); -return x_28; -} -else -{ -lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Syntax_hasMissing(x_1); -x_30 = lean_unbox(x_29); -lean_dec(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_elabCommand___lambda__1(x_9, x_17, x_31, x_2, x_3, x_20); -lean_dec(x_3); -lean_dec(x_17); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = l_Lean_Elab_Command_elabCommand___closed__3; +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 5, 2); +lean_closure_set(x_31, 0, x_1); +lean_closure_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Command_withLogging(x_31, x_2, x_3, x_4); return x_32; } -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_unsigned_to_nat(0u); -x_34 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(x_17, x_10, x_33); -lean_dec(x_17); -x_35 = lean_box(0); -x_36 = l_Lean_Elab_Command_elabCommand___lambda__1(x_9, x_34, x_35, x_2, x_3, x_20); -lean_dec(x_3); -lean_dec(x_34); -return x_36; } } -} -else -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_1); -x_37 = lean_box(0); -x_38 = l_Lean_Elab_Command_elabCommand___lambda__1(x_9, x_17, x_37, x_2, x_3, x_20); -lean_dec(x_3); -lean_dec(x_17); -return x_38; -} -} -block_98: -{ -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_42; -x_42 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_40, x_2, x_3, x_41); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_13 = x_43; -goto block_39; -} -else -{ -uint8_t x_44; -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_42); -if (x_44 == 0) -{ -return x_42; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_42, 0); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_42); -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; -} -} -} -else -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_40); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_40, 0); -x_50 = lean_ctor_get(x_40, 1); -lean_dec(x_50); -x_51 = l_Lean_Elab_isAbortExceptionId(x_49); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = l_Lean_InternalExceptionId_getName(x_49, x_41); -lean_dec(x_49); -if (lean_obj_tag(x_52) == 0) -{ -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; uint8_t x_60; lean_object* x_61; lean_object* x_62; -lean_free_object(x_40); -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_alloc_ctor(4, 1, 0); -lean_ctor_set(x_55, 0, x_53); -x_56 = l_Lean_Elab_Command_withLogging___closed__2; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = 2; -x_61 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_59, x_60, x_2, x_3, x_54); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_13 = x_62; -goto block_39; -} -else -{ -uint8_t x_63; -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_1); -x_63 = !lean_is_exclusive(x_52); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_64 = lean_ctor_get(x_52, 0); -x_65 = lean_ctor_get(x_2, 6); -x_66 = lean_io_error_to_string(x_64); -x_67 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_68 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_68, 0, x_67); -lean_inc(x_65); -lean_ctor_set_tag(x_40, 0); -lean_ctor_set(x_40, 1, x_68); -lean_ctor_set(x_40, 0, x_65); -lean_ctor_set(x_52, 0, x_40); -return x_52; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_69 = lean_ctor_get(x_52, 0); -x_70 = lean_ctor_get(x_52, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_52); -x_71 = lean_ctor_get(x_2, 6); -x_72 = lean_io_error_to_string(x_69); -x_73 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_74, 0, x_73); -lean_inc(x_71); -lean_ctor_set_tag(x_40, 0); -lean_ctor_set(x_40, 1, x_74); -lean_ctor_set(x_40, 0, x_71); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_40); -lean_ctor_set(x_75, 1, x_70); -return x_75; -} -} -} -else -{ -lean_free_object(x_40); -lean_dec(x_49); -x_13 = x_41; -goto block_39; -} -} -else -{ -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_40, 0); -lean_inc(x_76); -lean_dec(x_40); -x_77 = l_Lean_Elab_isAbortExceptionId(x_76); -if (x_77 == 0) -{ -lean_object* x_78; -x_78 = l_Lean_InternalExceptionId_getName(x_76, x_41); -lean_dec(x_76); -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_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -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_alloc_ctor(4, 1, 0); -lean_ctor_set(x_81, 0, x_79); -x_82 = l_Lean_Elab_Command_withLogging___closed__2; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = 2; -x_87 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_85, x_86, x_2, x_3, x_80); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_13 = x_88; -goto block_39; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_1); -x_89 = lean_ctor_get(x_78, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_78, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_91 = x_78; -} else { - lean_dec_ref(x_78); - x_91 = lean_box(0); -} -x_92 = lean_ctor_get(x_2, 6); -x_93 = lean_io_error_to_string(x_89); -x_94 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_95, 0, x_94); -lean_inc(x_92); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_92); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_91)) { - x_97 = lean_alloc_ctor(1, 2, 0); -} else { - x_97 = x_91; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_90); -return x_97; -} -} -else -{ -lean_dec(x_76); -x_13 = x_41; -goto block_39; -} -} -} -} -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_164; lean_object* x_165; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -x_124 = lean_ctor_get(x_6, 0); -x_125 = lean_ctor_get(x_6, 1); -x_126 = lean_ctor_get(x_6, 2); -x_127 = lean_ctor_get(x_6, 3); -x_128 = lean_ctor_get(x_6, 4); -x_129 = lean_ctor_get(x_6, 5); -x_130 = lean_ctor_get(x_6, 6); -x_131 = lean_ctor_get(x_6, 7); -x_132 = lean_ctor_get(x_6, 8); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_6); -x_133 = l_Lean_Elab_Command_State_messages___default___closed__3; -x_134 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_134, 0, x_124); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_126); -lean_ctor_set(x_134, 3, x_127); -lean_ctor_set(x_134, 4, x_128); -lean_ctor_set(x_134, 5, x_129); -lean_ctor_set(x_134, 6, x_130); -lean_ctor_set(x_134, 7, x_131); -lean_ctor_set(x_134, 8, x_132); -x_135 = lean_st_ref_set(x_3, x_134, x_7); -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -lean_dec(x_135); -x_196 = l_Lean_Elab_Command_getRef(x_2, x_3, x_136); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = l_Lean_replaceRef(x_1, x_197); -lean_dec(x_197); -x_200 = lean_ctor_get(x_2, 0); -x_201 = lean_ctor_get(x_2, 1); -x_202 = lean_ctor_get(x_2, 2); -x_203 = lean_ctor_get(x_2, 3); -x_204 = lean_ctor_get(x_2, 4); -x_205 = lean_ctor_get(x_2, 5); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_inc(x_201); -lean_inc(x_200); -x_206 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_206, 0, x_200); -lean_ctor_set(x_206, 1, x_201); -lean_ctor_set(x_206, 2, x_202); -lean_ctor_set(x_206, 3, x_203); -lean_ctor_set(x_206, 4, x_204); -lean_ctor_set(x_206, 5, x_205); -lean_ctor_set(x_206, 6, x_199); -x_207 = lean_st_ref_get(x_3, x_198); -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -x_210 = lean_ctor_get(x_208, 4); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_nat_dec_eq(x_202, x_210); -lean_dec(x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; -x_212 = lean_box(0); -lean_inc(x_3); -lean_inc(x_1); -x_213 = l_Lean_Elab_Command_elabCommand___lambda__2(x_202, x_1, x_212, x_206, x_3, x_209); -if (lean_obj_tag(x_213) == 0) -{ -lean_object* x_214; -x_214 = lean_ctor_get(x_213, 1); -lean_inc(x_214); -lean_dec(x_213); -x_137 = x_214; -goto block_163; -} -else -{ -lean_object* x_215; lean_object* x_216; -x_215 = lean_ctor_get(x_213, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_213, 1); -lean_inc(x_216); -lean_dec(x_213); -x_164 = x_215; -x_165 = x_216; -goto block_195; -} -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_217 = l_Lean_Elab_Command_elabCommand___closed__2; -x_218 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_217, x_206, x_3, x_209); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_164 = x_219; -x_165 = x_220; -goto block_195; -} -block_163: -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; -x_138 = lean_st_ref_get(x_3, 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(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = lean_st_ref_get(x_3, x_140); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_ctor_get(x_143, 2); -lean_inc(x_145); -lean_dec(x_143); -x_146 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_145); -lean_dec(x_145); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -lean_dec(x_146); -x_148 = l_Lean_Elab_Command_showPartialSyntaxErrors; -x_149 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_147, x_148); -lean_dec(x_147); -if (x_149 == 0) -{ -uint8_t x_150; -x_150 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_125); -if (x_150 == 0) -{ -lean_object* x_151; lean_object* x_152; -lean_dec(x_1); -x_151 = lean_box(0); -x_152 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_151, x_2, x_3, x_144); -lean_dec(x_3); -lean_dec(x_141); -return x_152; -} -else -{ -lean_object* x_153; uint8_t x_154; -x_153 = l_Lean_Syntax_hasMissing(x_1); -x_154 = lean_unbox(x_153); -lean_dec(x_153); -if (x_154 == 0) -{ -lean_object* x_155; lean_object* x_156; -x_155 = lean_box(0); -x_156 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_155, x_2, x_3, x_144); -lean_dec(x_3); -lean_dec(x_141); -return x_156; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_157 = lean_unsigned_to_nat(0u); -x_158 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(x_141, x_133, x_157); -lean_dec(x_141); -x_159 = lean_box(0); -x_160 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_158, x_159, x_2, x_3, x_144); -lean_dec(x_3); -lean_dec(x_158); -return x_160; -} -} -} -else -{ -lean_object* x_161; lean_object* x_162; -lean_dec(x_1); -x_161 = lean_box(0); -x_162 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_161, x_2, x_3, x_144); -lean_dec(x_3); -lean_dec(x_141); -return x_162; -} -} -block_195: -{ -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_166; -x_166 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_164, x_2, x_3, x_165); -if (lean_obj_tag(x_166) == 0) -{ -lean_object* x_167; -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_137 = x_167; -goto block_163; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -lean_dec(x_125); -lean_dec(x_3); -lean_dec(x_1); -x_168 = lean_ctor_get(x_166, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_166, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_170 = x_166; -} else { - lean_dec_ref(x_166); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(1, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_168); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -} -else -{ -lean_object* x_172; lean_object* x_173; uint8_t x_174; -x_172 = lean_ctor_get(x_164, 0); -lean_inc(x_172); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_173 = x_164; -} else { - lean_dec_ref(x_164); - x_173 = lean_box(0); -} -x_174 = l_Lean_Elab_isAbortExceptionId(x_172); -if (x_174 == 0) -{ -lean_object* x_175; -x_175 = l_Lean_InternalExceptionId_getName(x_172, x_165); -lean_dec(x_172); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_173); -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_178, 0, x_176); -x_179 = l_Lean_Elab_Command_withLogging___closed__2; -x_180 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -x_181 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_182 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -x_183 = 2; -x_184 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_182, x_183, x_2, x_3, x_177); -x_185 = lean_ctor_get(x_184, 1); -lean_inc(x_185); -lean_dec(x_184); -x_137 = x_185; -goto block_163; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_125); -lean_dec(x_3); -lean_dec(x_1); -x_186 = lean_ctor_get(x_175, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_175, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_188 = x_175; -} else { - lean_dec_ref(x_175); - x_188 = lean_box(0); -} -x_189 = lean_ctor_get(x_2, 6); -x_190 = lean_io_error_to_string(x_186); -x_191 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_191, 0, x_190); -x_192 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_192, 0, x_191); -lean_inc(x_189); -if (lean_is_scalar(x_173)) { - x_193 = lean_alloc_ctor(0, 2, 0); -} else { - x_193 = x_173; - lean_ctor_set_tag(x_193, 0); -} -lean_ctor_set(x_193, 0, x_189); -lean_ctor_set(x_193, 1, x_192); -if (lean_is_scalar(x_188)) { - x_194 = lean_alloc_ctor(1, 2, 0); -} else { - x_194 = x_188; -} -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_187); -return x_194; -} -} -else -{ -lean_dec(x_173); -lean_dec(x_172); -x_137 = x_165; -goto block_163; -} -} -} -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__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_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9___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_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5___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_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7___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_throwError___at_Lean_Elab_Command_elabCommand___spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___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_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2___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_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -16395,36 +12349,36 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___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_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10___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: { size_t x_8; size_t x_9; lean_object* x_10; @@ -16432,50 +12386,2505 @@ x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); -x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_5); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_10; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13___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_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} lean_object* l_Lean_Elab_Command_elabCommand___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) { _start: { lean_object* x_7; x_7 = l_Lean_Elab_Command_elabCommand___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Command_elabCommand___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_Elab_Command_elabCommand___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabCommand___lambda__4(x_1, x_2, x_3); lean_dec(x_2); -return x_5; +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_st_ref_get(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_5, 7); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_3); +x_10 = lean_ctor_get(x_8, 7); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +} +} +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg___boxed), 2, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(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) { +_start: +{ +uint8_t x_10; +x_10 = x_5 < x_4; +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_2); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_array_uget(x_3, x_5); +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_6, 1); +x_15 = lean_ctor_get(x_6, 0); +lean_dec(x_15); +lean_inc(x_14); +x_16 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(x_1, x_12, x_14, x_7, x_8, x_9); +lean_dec(x_12); +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) +{ +uint8_t x_18; +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_6, 0, x_20); +lean_ctor_set(x_16, 0, x_6); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_6, 0, x_22); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_6); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +lean_dec(x_14); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +lean_inc(x_2); +lean_ctor_set(x_6, 1, x_25); +lean_ctor_set(x_6, 0, x_2); +x_26 = 1; +x_27 = x_5 + x_26; +x_5 = x_27; +x_9 = x_24; +goto _start; +} +} +else +{ +uint8_t x_29; +lean_free_object(x_6); +lean_dec(x_14); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +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_object* x_34; +x_33 = lean_ctor_get(x_6, 1); +lean_inc(x_33); +lean_dec(x_6); +lean_inc(x_33); +x_34 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(x_1, x_12, x_33, x_7, x_8, x_9); +lean_dec(x_12); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +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; +lean_dec(x_2); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_33); +if (lean_is_scalar(x_37)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { + x_40 = x_37; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; +lean_dec(x_33); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_42 = lean_ctor_get(x_35, 0); +lean_inc(x_42); +lean_dec(x_35); +lean_inc(x_2); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_2); +lean_ctor_set(x_43, 1, x_42); +x_44 = 1; +x_45 = x_5 + x_44; +x_5 = x_45; +x_6 = x_43; +x_9 = x_41; +goto _start; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_33); +lean_dec(x_2); +x_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_34, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_49 = x_34; +} else { + lean_dec_ref(x_34); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("info"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = x_4 < x_3; +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_11 = lean_array_uget(x_2, x_4); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_19 = x_5; +} else { + lean_dec_ref(x_5); + x_19 = lean_box(0); +} +x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2; +x_57 = lean_st_ref_get(x_7, x_8); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 8); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); +lean_dec(x_59); +if (x_60 == 0) +{ +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_30 = x_62; +x_31 = x_61; +goto block_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(x_29, x_6, x_7, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_30 = x_67; +x_31 = x_66; +goto block_56; +} +block_18: +{ +lean_object* x_14; size_t x_15; size_t x_16; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = 1; +x_16 = x_4 + x_15; +x_4 = x_16; +x_5 = x_14; +x_8 = x_13; +goto _start; +} +block_28: +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_1); +if (lean_is_scalar(x_19)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_19; +} +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_20, 0, x_24); +x_12 = x_20; +x_13 = x_21; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +lean_inc(x_1); +if (lean_is_scalar(x_19)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_19; +} +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_12 = x_27; +x_13 = x_21; +goto block_18; +} +} +block_56: +{ +if (x_30 == 0) +{ +lean_object* x_32; +lean_dec(x_11); +x_32 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; +x_20 = x_32; +x_21 = x_31; +goto block_28; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l_Lean_Elab_InfoTree_format(x_11, x_33, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_35); +x_38 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(x_29, x_37, x_6, x_7, x_36); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; +x_20 = x_40; +x_21 = x_39; +goto block_28; +} +else +{ +uint8_t x_41; +lean_dec(x_19); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_34); +if (x_41 == 0) +{ +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_42 = lean_ctor_get(x_34, 0); +x_43 = lean_ctor_get(x_6, 6); +x_44 = lean_io_error_to_string(x_42); +x_45 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_inc(x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_34, 0, x_47); +return x_34; +} +else +{ +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; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +x_50 = lean_ctor_get(x_6, 6); +x_51 = lean_io_error_to_string(x_48); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_inc(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_50); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_49); +return x_55; +} +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_1); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___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) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +x_10 = lean_array_get_size(x_7); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(x_1, x_8, x_7, x_11, x_12, x_9, x_4, x_5, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_box(0); +x_19 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(x_17, x_18, x_4, x_5, x_16); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_14); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_13, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_ctor_get(x_15, 0); +lean_inc(x_24); +lean_dec(x_15); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; +x_30 = lean_ctor_get(x_2, 0); +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_3); +x_33 = lean_array_get_size(x_30); +x_34 = lean_usize_of_nat(x_33); +lean_dec(x_33); +x_35 = 0; +x_36 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(x_31, x_30, x_34, x_35, x_32, x_4, x_5, x_6); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_box(0); +x_42 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(x_40, x_41, x_4, x_5, x_39); +return x_42; +} +else +{ +uint8_t x_43; +lean_dec(x_37); +x_43 = !lean_is_exclusive(x_36); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_36, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_38, 0); +lean_inc(x_45); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_45); +return x_36; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_dec(x_36); +x_47 = lean_ctor_get(x_38, 0); +lean_inc(x_47); +lean_dec(x_38); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_36); +if (x_49 == 0) +{ +return x_36; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_36, 0); +x_51 = lean_ctor_get(x_36, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_36); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = x_4 < x_3; +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_11 = lean_array_uget(x_2, x_4); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_19 = x_5; +} else { + lean_dec_ref(x_5); + x_19 = lean_box(0); +} +x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2; +x_57 = lean_st_ref_get(x_7, x_8); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 8); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); +lean_dec(x_59); +if (x_60 == 0) +{ +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_30 = x_62; +x_31 = x_61; +goto block_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(x_29, x_6, x_7, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_30 = x_67; +x_31 = x_66; +goto block_56; +} +block_18: +{ +lean_object* x_14; size_t x_15; size_t x_16; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = 1; +x_16 = x_4 + x_15; +x_4 = x_16; +x_5 = x_14; +x_8 = x_13; +goto _start; +} +block_28: +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_1); +if (lean_is_scalar(x_19)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_19; +} +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_20, 0, x_24); +x_12 = x_20; +x_13 = x_21; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +lean_inc(x_1); +if (lean_is_scalar(x_19)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_19; +} +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_12 = x_27; +x_13 = x_21; +goto block_18; +} +} +block_56: +{ +if (x_30 == 0) +{ +lean_object* x_32; +lean_dec(x_11); +x_32 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; +x_20 = x_32; +x_21 = x_31; +goto block_28; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l_Lean_Elab_InfoTree_format(x_11, x_33, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_35); +x_38 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4(x_29, x_37, x_6, x_7, x_36); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; +x_20 = x_40; +x_21 = x_39; +goto block_28; +} +else +{ +uint8_t x_41; +lean_dec(x_19); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_34); +if (x_41 == 0) +{ +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_42 = lean_ctor_get(x_34, 0); +x_43 = lean_ctor_get(x_6, 6); +x_44 = lean_io_error_to_string(x_42); +x_45 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_inc(x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_34, 0, x_47); +return x_34; +} +else +{ +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; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +x_50 = lean_ctor_get(x_6, 6); +x_51 = lean_io_error_to_string(x_48); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_inc(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_50); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_49); +return x_55; +} +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_7 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(x_2, x_6, x_2, x_3, x_4, x_5); +lean_dec(x_2); +if (lean_obj_tag(x_7) == 0) +{ +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; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +lean_ctor_set(x_7, 0, x_11); +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_ctor_get(x_8, 0); +lean_inc(x_13); +lean_dec(x_8); +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 +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_7, 1); +lean_inc(x_15); +lean_dec(x_7); +x_16 = lean_ctor_get(x_8, 0); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_1, 1); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_array_get_size(x_17); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6(x_18, x_17, x_21, x_22, x_19, x_3, x_4, x_15); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_23); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_23, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +lean_ctor_set(x_23, 0, x_28); +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_24); +x_32 = !lean_is_exclusive(x_23); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_23, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_34); +return x_23; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_23, 1); +lean_inc(x_35); +lean_dec(x_23); +x_36 = lean_ctor_get(x_25, 0); +lean_inc(x_36); +lean_dec(x_25); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_7); +if (x_42 == 0) +{ +return x_7; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_7, 0); +x_44 = lean_ctor_get(x_7, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_7); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(x_6, x_4); +lean_dec(x_6); +x_8 = 1; +x_9 = x_2 + x_8; +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("synthPlaceholder"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unsolvedGoals"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_ctor_get(x_6, 4); +lean_inc(x_7); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2; +x_9 = l_Lean_MessageData_hasTag(x_8, x_7); +x_10 = 1; +x_11 = x_2 + x_10; +if (x_9 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6; +x_13 = l_Lean_MessageData_hasTag(x_12, x_7); +lean_dec(x_7); +if (x_13 == 0) +{ +lean_dec(x_6); +x_2 = x_11; +goto _start; +} +else +{ +lean_object* x_15; +x_15 = l_Std_PersistentArray_push___rarg(x_4, x_6); +x_2 = x_11; +x_4 = x_15; +goto _start; +} +} +else +{ +lean_object* x_17; +lean_dec(x_7); +x_17 = l_Std_PersistentArray_push___rarg(x_4, x_6); +x_2 = x_11; +x_4 = x_17; +goto _start; +} +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_dec(x_4); +return x_2; +} +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_4, x_4); +if (x_7 == 0) +{ +lean_dec(x_4); +return x_2; +} +else +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(x_3, x_8, x_9, x_2); +return x_10; +} +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_dec(x_12); +return x_2; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_12, x_12); +if (x_15 == 0) +{ +lean_dec(x_12); +return x_2; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_11, x_16, x_17, x_2); +return x_18; +} +} +} +} +} +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_5 = lean_ctor_get(x_1, 0); +x_6 = x_2 >> x_3 % (sizeof(size_t) * 8); +x_7 = lean_usize_to_nat(x_6); +x_8 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1; +x_9 = lean_array_get(x_8, x_5, x_7); +x_10 = 1; +x_11 = x_10 << x_3 % (sizeof(size_t) * 8); +x_12 = x_11 - x_10; +x_13 = x_2 & x_12; +x_14 = 5; +x_15 = x_3 - x_14; +x_16 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(x_9, x_13, x_15, x_4); +lean_dec(x_9); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_7, x_17); +lean_dec(x_7); +x_19 = lean_array_get_size(x_5); +x_20 = lean_nat_dec_lt(x_18, x_19); +if (x_20 == 0) +{ +lean_dec(x_19); +lean_dec(x_18); +return x_16; +} +else +{ +uint8_t x_21; +x_21 = lean_nat_dec_le(x_19, x_19); +if (x_21 == 0) +{ +lean_dec(x_19); +lean_dec(x_18); +return x_16; +} +else +{ +size_t x_22; size_t x_23; lean_object* x_24; +x_22 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_23 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(x_5, x_22, x_23, x_16); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_1, 0); +x_26 = lean_usize_to_nat(x_2); +x_27 = lean_array_get_size(x_25); +x_28 = lean_nat_dec_lt(x_26, x_27); +if (x_28 == 0) +{ +lean_dec(x_27); +lean_dec(x_26); +return x_4; +} +else +{ +uint8_t x_29; +x_29 = lean_nat_dec_le(x_27, x_27); +if (x_29 == 0) +{ +lean_dec(x_27); +lean_dec(x_26); +return x_4; +} +else +{ +size_t x_30; size_t x_31; lean_object* x_32; +x_30 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_31 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_25, x_30, x_31, x_4); +return x_32; +} +} +} +} +} +lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(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_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_1, 3); +x_7 = lean_nat_dec_le(x_6, x_3); +if (x_7 == 0) +{ +lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_usize_of_nat(x_3); +x_10 = lean_ctor_get_usize(x_1, 4); +x_11 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(x_8, x_9, x_10, x_2); +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_array_get_size(x_12); +x_14 = lean_nat_dec_lt(x_4, x_13); +if (x_14 == 0) +{ +lean_dec(x_13); +return x_11; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_13, x_13); +if (x_15 == 0) +{ +lean_dec(x_13); +return x_11; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_12, x_16, x_17, x_11); +return x_18; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_1, 1); +x_20 = lean_nat_sub(x_3, x_6); +x_21 = lean_array_get_size(x_19); +x_22 = lean_nat_dec_lt(x_20, x_21); +if (x_22 == 0) +{ +lean_dec(x_21); +lean_dec(x_20); +return x_2; +} +else +{ +uint8_t x_23; +x_23 = lean_nat_dec_le(x_21, x_21); +if (x_23 == 0) +{ +lean_dec(x_21); +lean_dec(x_20); +return x_2; +} +else +{ +size_t x_24; size_t x_25; lean_object* x_26; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_19, x_24, x_25, x_2); +return x_26; +} +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_1, 0); +x_28 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(x_27, x_2); +x_29 = lean_ctor_get(x_1, 1); +x_30 = lean_array_get_size(x_29); +x_31 = lean_nat_dec_lt(x_4, x_30); +if (x_31 == 0) +{ +lean_dec(x_30); +return x_28; +} +else +{ +uint8_t x_32; +x_32 = lean_nat_dec_le(x_30, x_30); +if (x_32 == 0) +{ +lean_dec(x_30); +return x_28; +} +else +{ +size_t x_33; size_t x_34; lean_object* x_35; +x_33 = 0; +x_34 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_29, x_33, x_34, x_28); +return x_35; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabCommandTopLevel___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg(x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_box(0); +x_12 = l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2(x_9, x_11, x_5, x_6, x_10); +lean_dec(x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_15, 7); +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = l_Std_PersistentArray_append___rarg(x_1, x_3); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_18, 1); +x_23 = l_Std_PersistentArray_append___rarg(x_2, x_22); +lean_dec(x_22); +lean_ctor_set(x_18, 1, x_23); +lean_ctor_set(x_15, 1, x_20); +x_24 = lean_st_ref_set(x_6, x_15, x_16); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_5, x_6, x_25); +return x_26; +} +else +{ +uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = l_Std_PersistentArray_append___rarg(x_2, x_29); +lean_dec(x_29); +x_31 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set_uint8(x_31, sizeof(void*)*2, x_27); +lean_ctor_set(x_15, 7, x_31); +lean_ctor_set(x_15, 1, x_20); +x_32 = lean_st_ref_set(x_6, x_15, x_16); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_5, x_6, x_33); +return x_34; +} +} +else +{ +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; 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; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_ctor_get(x_15, 2); +x_37 = lean_ctor_get(x_15, 3); +x_38 = lean_ctor_get(x_15, 4); +x_39 = lean_ctor_get(x_15, 5); +x_40 = lean_ctor_get(x_15, 6); +x_41 = lean_ctor_get(x_15, 7); +x_42 = lean_ctor_get(x_15, 8); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_15); +x_43 = l_Std_PersistentArray_append___rarg(x_1, x_3); +x_44 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_47 = x_41; +} else { + lean_dec_ref(x_41); + x_47 = lean_box(0); +} +x_48 = l_Std_PersistentArray_append___rarg(x_2, x_46); +lean_dec(x_46); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 1); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set_uint8(x_49, sizeof(void*)*2, x_44); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_35); +lean_ctor_set(x_50, 1, x_43); +lean_ctor_set(x_50, 2, x_36); +lean_ctor_set(x_50, 3, x_37); +lean_ctor_set(x_50, 4, x_38); +lean_ctor_set(x_50, 5, x_39); +lean_ctor_set(x_50, 6, x_40); +lean_ctor_set(x_50, 7, x_49); +lean_ctor_set(x_50, 8, x_42); +x_51 = lean_st_ref_set(x_6, x_50, x_16); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_5, x_6, x_52); +return x_53; +} +} +else +{ +uint8_t x_54; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_12); +if (x_54 == 0) +{ +return x_12; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_12, 0); +x_56 = lean_ctor_get(x_12, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_12); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = l_Lean_replaceRef(x_1, x_6); +lean_dec(x_6); +x_9 = !lean_is_exclusive(x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_ctor_get(x_2, 6); +lean_dec(x_10); +lean_ctor_set(x_2, 6, x_8); +x_11 = lean_st_ref_take(x_3, x_7); +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_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_12, 1); +x_16 = l_Lean_Elab_Command_State_messages___default___closed__3; +lean_ctor_set(x_12, 1, x_16); +x_17 = lean_st_ref_set(x_3, x_12, x_13); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_3, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_1); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1); +lean_closure_set(x_22, 0, x_1); +lean_inc(x_3); +lean_inc(x_2); +x_23 = l_Lean_Elab_Command_withLogging(x_22, x_2, x_3, x_21); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_25 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_24); +if (lean_obj_tag(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; uint8_t x_38; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_get(x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_st_ref_get(x_3, x_29); +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 = lean_ctor_get(x_32, 2); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_34); +lean_dec(x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Lean_Elab_Command_showPartialSyntaxErrors; +x_38 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_36, x_37); +lean_dec(x_36); +if (x_38 == 0) +{ +uint8_t x_39; +x_39 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_15); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_1); +x_40 = lean_box(0); +x_41 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_15, x_20, x_30, x_40, x_2, x_3, x_33); +lean_dec(x_3); +lean_dec(x_30); +return x_41; +} +else +{ +lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Syntax_hasMissing(x_1); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_15, x_20, x_30, x_44, x_2, x_3, x_33); +lean_dec(x_3); +lean_dec(x_30); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(x_30, x_16, x_46); +lean_dec(x_30); +x_48 = lean_box(0); +x_49 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_15, x_20, x_47, x_48, x_2, x_3, x_33); +lean_dec(x_3); +lean_dec(x_47); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_15, x_20, x_30, x_50, x_2, x_3, x_33); +lean_dec(x_3); +lean_dec(x_30); +return x_51; +} +} +else +{ +uint8_t x_52; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_3); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_25); +if (x_52 == 0) +{ +return x_25; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_25, 0); +x_54 = lean_ctor_get(x_25, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_25); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_3); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_23); +if (x_56 == 0) +{ +return x_23; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_23, 0); +x_58 = lean_ctor_get(x_23, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_23); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +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; +x_60 = lean_ctor_get(x_12, 0); +x_61 = lean_ctor_get(x_12, 1); +x_62 = lean_ctor_get(x_12, 2); +x_63 = lean_ctor_get(x_12, 3); +x_64 = lean_ctor_get(x_12, 4); +x_65 = lean_ctor_get(x_12, 5); +x_66 = lean_ctor_get(x_12, 6); +x_67 = lean_ctor_get(x_12, 7); +x_68 = lean_ctor_get(x_12, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_12); +x_69 = l_Lean_Elab_Command_State_messages___default___closed__3; +x_70 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_70, 0, x_60); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_62); +lean_ctor_set(x_70, 3, x_63); +lean_ctor_set(x_70, 4, x_64); +lean_ctor_set(x_70, 5, x_65); +lean_ctor_set(x_70, 6, x_66); +lean_ctor_set(x_70, 7, x_67); +lean_ctor_set(x_70, 8, x_68); +x_71 = lean_st_ref_set(x_3, x_70, x_13); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_73 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_3, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +lean_inc(x_1); +x_76 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1); +lean_closure_set(x_76, 0, x_1); +lean_inc(x_3); +lean_inc(x_2); +x_77 = l_Lean_Elab_Command_withLogging(x_76, x_2, x_3, x_75); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_79 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = lean_st_ref_get(x_3, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_3, x_83); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 2); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_88); +lean_dec(x_88); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_Lean_Elab_Command_showPartialSyntaxErrors; +x_92 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_90, x_91); +lean_dec(x_90); +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_61); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_1); +x_94 = lean_box(0); +x_95 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_61, x_74, x_84, x_94, x_2, x_3, x_87); +lean_dec(x_3); +lean_dec(x_84); +return x_95; +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = l_Lean_Syntax_hasMissing(x_1); +x_97 = lean_unbox(x_96); +lean_dec(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_box(0); +x_99 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_61, x_74, x_84, x_98, x_2, x_3, x_87); +lean_dec(x_3); +lean_dec(x_84); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_unsigned_to_nat(0u); +x_101 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(x_84, x_69, x_100); +lean_dec(x_84); +x_102 = lean_box(0); +x_103 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_61, x_74, x_101, x_102, x_2, x_3, x_87); +lean_dec(x_3); +lean_dec(x_101); +return x_103; +} +} +} +else +{ +lean_object* x_104; lean_object* x_105; +lean_dec(x_1); +x_104 = lean_box(0); +x_105 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_61, x_74, x_84, x_104, x_2, x_3, x_87); +lean_dec(x_3); +lean_dec(x_84); +return x_105; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_74); +lean_dec(x_61); +lean_dec(x_2); +lean_dec(x_3); +lean_dec(x_1); +x_106 = lean_ctor_get(x_79, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_79, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_108 = x_79; +} else { + lean_dec_ref(x_79); + x_108 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(1, 2, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_107); +return x_109; +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_74); +lean_dec(x_61); +lean_dec(x_2); +lean_dec(x_3); +lean_dec(x_1); +x_110 = lean_ctor_get(x_77, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_77, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_112 = x_77; +} else { + lean_dec_ref(x_77); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_114 = lean_ctor_get(x_2, 0); +x_115 = lean_ctor_get(x_2, 1); +x_116 = lean_ctor_get(x_2, 2); +x_117 = lean_ctor_get(x_2, 3); +x_118 = lean_ctor_get(x_2, 4); +x_119 = lean_ctor_get(x_2, 5); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_2); +x_120 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_120, 0, x_114); +lean_ctor_set(x_120, 1, x_115); +lean_ctor_set(x_120, 2, x_116); +lean_ctor_set(x_120, 3, x_117); +lean_ctor_set(x_120, 4, x_118); +lean_ctor_set(x_120, 5, x_119); +lean_ctor_set(x_120, 6, x_8); +x_121 = lean_st_ref_take(x_3, x_7); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_122, 2); +lean_inc(x_126); +x_127 = lean_ctor_get(x_122, 3); +lean_inc(x_127); +x_128 = lean_ctor_get(x_122, 4); +lean_inc(x_128); +x_129 = lean_ctor_get(x_122, 5); +lean_inc(x_129); +x_130 = lean_ctor_get(x_122, 6); +lean_inc(x_130); +x_131 = lean_ctor_get(x_122, 7); +lean_inc(x_131); +x_132 = lean_ctor_get(x_122, 8); +lean_inc(x_132); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + lean_ctor_release(x_122, 2); + lean_ctor_release(x_122, 3); + lean_ctor_release(x_122, 4); + lean_ctor_release(x_122, 5); + lean_ctor_release(x_122, 6); + lean_ctor_release(x_122, 7); + lean_ctor_release(x_122, 8); + x_133 = x_122; +} else { + lean_dec_ref(x_122); + x_133 = lean_box(0); +} +x_134 = l_Lean_Elab_Command_State_messages___default___closed__3; +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 9, 0); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_124); +lean_ctor_set(x_135, 1, x_134); +lean_ctor_set(x_135, 2, x_126); +lean_ctor_set(x_135, 3, x_127); +lean_ctor_set(x_135, 4, x_128); +lean_ctor_set(x_135, 5, x_129); +lean_ctor_set(x_135, 6, x_130); +lean_ctor_set(x_135, 7, x_131); +lean_ctor_set(x_135, 8, x_132); +x_136 = lean_st_ref_set(x_3, x_135, x_123); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(x_3, 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); +lean_inc(x_1); +x_141 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1); +lean_closure_set(x_141, 0, x_1); +lean_inc(x_3); +lean_inc(x_120); +x_142 = l_Lean_Elab_Command_withLogging(x_141, x_120, x_3, x_140); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +lean_inc(x_3); +lean_inc(x_120); +lean_inc(x_1); +x_144 = l_Lean_Elab_Command_elabCommand(x_1, x_120, x_3, x_143); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_st_ref_get(x_3, x_145); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_st_ref_get(x_3, x_148); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +x_153 = lean_ctor_get(x_151, 2); +lean_inc(x_153); +lean_dec(x_151); +x_154 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_153); +lean_dec(x_153); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec(x_154); +x_156 = l_Lean_Elab_Command_showPartialSyntaxErrors; +x_157 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_155, x_156); +lean_dec(x_155); +if (x_157 == 0) +{ +uint8_t x_158; +x_158 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_125); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_1); +x_159 = lean_box(0); +x_160 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_125, x_139, x_149, x_159, x_120, x_3, x_152); +lean_dec(x_3); +lean_dec(x_149); +return x_160; +} +else +{ +lean_object* x_161; uint8_t x_162; +x_161 = l_Lean_Syntax_hasMissing(x_1); +x_162 = lean_unbox(x_161); +lean_dec(x_161); +if (x_162 == 0) +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_box(0); +x_164 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_125, x_139, x_149, x_163, x_120, x_3, x_152); +lean_dec(x_3); +lean_dec(x_149); +return x_164; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_165 = lean_unsigned_to_nat(0u); +x_166 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(x_149, x_134, x_165); +lean_dec(x_149); +x_167 = lean_box(0); +x_168 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_125, x_139, x_166, x_167, x_120, x_3, x_152); +lean_dec(x_3); +lean_dec(x_166); +return x_168; +} +} +} +else +{ +lean_object* x_169; lean_object* x_170; +lean_dec(x_1); +x_169 = lean_box(0); +x_170 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_125, x_139, x_149, x_169, x_120, x_3, x_152); +lean_dec(x_3); +lean_dec(x_149); +return x_170; +} +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_139); +lean_dec(x_125); +lean_dec(x_120); +lean_dec(x_3); +lean_dec(x_1); +x_171 = lean_ctor_get(x_144, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_144, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_173 = x_144; +} else { + lean_dec_ref(x_144); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(1, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_172); +return x_174; +} +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_139); +lean_dec(x_125); +lean_dec(x_120); +lean_dec(x_3); +lean_dec(x_1); +x_175 = lean_ctor_get(x_142, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_142, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_177 = x_142; +} else { + lean_dec_ref(x_142); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_177; +} +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +return x_178; +} +} +} +} +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_elabCommandTopLevel___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_8; } } lean_object* l_Lean_Elab_Command_adaptExpander(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -16488,90 +14897,41 @@ lean_inc(x_2); x_6 = lean_apply_4(x_1, x_2, x_3, x_4, x_5); if (lean_obj_tag(x_6) == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); -x_9 = !lean_is_exclusive(x_3); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_3, 4); lean_inc(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_2); -lean_ctor_set(x_11, 1, x_7); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Lean_Elab_Command_elabCommand(x_7, x_3, x_4, x_8); -lean_dec(x_3); -return x_13; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_9, 0, x_7); +x_10 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_2, x_7, x_9, x_3, x_4, x_8); +return x_10; } 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; -x_14 = lean_ctor_get(x_3, 0); -x_15 = lean_ctor_get(x_3, 1); -x_16 = lean_ctor_get(x_3, 2); -x_17 = lean_ctor_get(x_3, 3); -x_18 = lean_ctor_get(x_3, 4); -x_19 = lean_ctor_get(x_3, 5); -x_20 = lean_ctor_get(x_3, 6); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_3); -lean_inc(x_7); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_7); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_18); -x_23 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_17); -lean_ctor_set(x_23, 4, x_22); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -x_24 = l_Lean_Elab_Command_elabCommand(x_7, x_23, x_4, x_8); -lean_dec(x_23); -return x_24; -} -} -else -{ -uint8_t x_25; +uint8_t x_11; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_25 = !lean_is_exclusive(x_6); -if (x_25 == 0) +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) { return x_6; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_6, 0); -x_27 = lean_ctor_get(x_6, 1); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); lean_dec(x_6); -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; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } @@ -17472,280 +15832,2181 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_liftTermElabM_match__2___ra return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(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_9; -x_9 = x_7 < x_6; -if (x_9 == 0) +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) { -lean_object* x_10; +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -x_10 = x_8; -return x_10; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -x_11 = lean_array_uget(x_8, x_7); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_8, x_7, x_12); -x_14 = x_11; -lean_inc(x_5); -x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_14); -x_16 = 1; -x_17 = x_7 + x_16; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; -x_19 = lean_array_uset(x_13, x_7, x_18); -x_7 = x_17; -x_8 = x_19; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_19 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = x_20; +x_25 = lean_array_uset(x_17, x_3, x_24); +x_3 = x_23; +x_4 = x_25; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; goto _start; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1() { _start: { -uint8_t x_9; -x_9 = x_7 < x_6; -if (x_9 == 0) +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___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; -lean_dec(x_5); -x_10 = x_8; -return x_10; +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = x_11; +x_15 = lean_box_usize(x_13); +x_16 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1; +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed), 11, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_14); +x_18 = x_17; +x_19 = lean_apply_7(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set(x_19, 0, x_2); +return x_19; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; -x_11 = lean_array_uget(x_8, x_7); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_8, x_7, x_12); -x_14 = x_11; -x_15 = lean_ctor_get(x_5, 5); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_InfoTree_substitute(x_14, x_16); -x_18 = lean_ctor_get(x_4, 0); -x_19 = lean_ctor_get(x_1, 1); -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); -x_23 = lean_ctor_get(x_2, 3); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); lean_inc(x_23); lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); +lean_dec(x_19); +lean_ctor_set(x_2, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +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; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +lean_dec(x_2); +x_30 = lean_array_get_size(x_29); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = x_29; +x_33 = lean_box_usize(x_31); +x_34 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed), 11, 4); +lean_closure_set(x_35, 0, x_1); +lean_closure_set(x_35, 1, x_33); +lean_closure_set(x_35, 2, x_34); +lean_closure_set(x_35, 3, x_32); +x_36 = x_35; +x_37 = lean_apply_7(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_38); +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; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_2); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; size_t 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_48 = lean_ctor_get(x_2, 0); +x_49 = lean_array_get_size(x_48); +x_50 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_51 = x_48; +x_52 = lean_box_usize(x_50); +x_53 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1; +x_54 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed), 11, 4); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_52); +lean_closure_set(x_54, 2, x_53); +lean_closure_set(x_54, 3, x_51); +x_55 = x_54; +x_56 = lean_apply_7(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_ctor_set(x_2, 0, x_58); +lean_ctor_set(x_56, 0, x_2); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_56); +lean_ctor_set(x_2, 0, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_2); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +uint8_t x_62; +lean_free_object(x_2); +x_62 = !lean_is_exclusive(x_56); +if (x_62 == 0) +{ +return x_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_56, 0); +x_64 = lean_ctor_get(x_56, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_56); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; size_t 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_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_67 = lean_array_get_size(x_66); +x_68 = lean_usize_of_nat(x_67); +lean_dec(x_67); +x_69 = x_66; +x_70 = lean_box_usize(x_68); +x_71 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1; +x_72 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed), 11, 4); +lean_closure_set(x_72, 0, x_1); +lean_closure_set(x_72, 1, x_70); +lean_closure_set(x_72, 2, x_71); +lean_closure_set(x_72, 3, x_69); +x_73 = x_72; +x_74 = lean_apply_7(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_79; +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); +} +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_75); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_74, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_82 = x_74; +} else { + lean_dec_ref(x_74); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); lean_inc(x_19); -lean_inc(x_18); -x_24 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_24, 0, x_18); -lean_ctor_set(x_24, 1, x_19); -lean_ctor_set(x_24, 2, x_20); -lean_ctor_set(x_24, 3, x_21); -lean_ctor_set(x_24, 4, x_22); -lean_ctor_set(x_24, 5, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); -x_26 = 1; -x_27 = x_7 + x_26; -x_28 = x_25; -x_29 = lean_array_uset(x_13, x_7, x_28); -x_7 = x_27; -x_8 = x_29; +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; goto _start; } } } -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___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) { +static lean_object* _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1() { _start: { -if (lean_obj_tag(x_6) == 0) +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___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: { -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) { -lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_array_get_size(x_8); -x_10 = lean_usize_of_nat(x_9); -lean_dec(x_9); -x_11 = 0; -x_12 = x_8; -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); -x_14 = x_13; -lean_ctor_set(x_6, 0, x_14); -return x_6; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_ctor_get(x_2, 2); +x_14 = lean_ctor_get(x_2, 3); +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_1); +x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t 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; +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_array_get_size(x_12); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = x_12; +x_21 = lean_box_usize(x_19); +x_22 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1; +x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6___boxed), 11, 4); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_22); +lean_closure_set(x_23, 3, x_20); +x_24 = x_23; +x_25 = lean_apply_7(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_2, 1, x_27); +lean_ctor_set(x_2, 0, x_16); +lean_ctor_set(x_25, 0, x_2); +return x_25; } else { -lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_array_get_size(x_15); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -x_19 = x_15; -x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_19); -x_21 = x_20; -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_6); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_24 = lean_ctor_get(x_6, 0); -x_25 = lean_array_get_size(x_24); -x_26 = lean_usize_of_nat(x_25); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_25); -x_27 = 0; -x_28 = x_24; -x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_26, x_27, x_28); -x_30 = x_29; -lean_ctor_set(x_6, 0, x_30); -return x_6; +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_16); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} } else { -lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_31 = lean_ctor_get(x_6, 0); -lean_inc(x_31); +uint8_t x_31; +lean_dec(x_16); +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_32 = lean_array_get_size(x_31); -x_33 = lean_usize_of_nat(x_32); -lean_dec(x_32); -x_34 = 0; -x_35 = x_31; -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_33, x_34, x_35); -x_37 = x_36; -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) +{ +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_15); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); return x_38; } } } +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); +x_41 = lean_ctor_get(x_2, 2); +x_42 = lean_ctor_get_usize(x_2, 4); +x_43 = lean_ctor_get(x_2, 3); +lean_inc(x_43); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_2); +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_1); +x_44 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t 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; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_40); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = x_40; +x_50 = lean_box_usize(x_48); +x_51 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1; +x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6___boxed), 11, 4); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_50); +lean_closure_set(x_52, 2, x_51); +lean_closure_set(x_52, 3, x_49); +x_53 = x_52; +x_54 = lean_apply_7(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = x_7 < x_6; -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_5); -x_10 = x_8; -return x_10; +x_58 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_41); +lean_ctor_set(x_58, 3, x_43); +lean_ctor_set_usize(x_58, 4, x_42); +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; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; -x_11 = lean_array_uget(x_8, x_7); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_8, x_7, x_12); -x_14 = x_11; -x_15 = lean_ctor_get(x_5, 5); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_InfoTree_substitute(x_14, x_16); -x_18 = lean_ctor_get(x_4, 0); -x_19 = lean_ctor_get(x_1, 1); -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); -x_23 = lean_ctor_get(x_2, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_45); +lean_dec(x_43); +lean_dec(x_41); +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(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_1); +x_64 = lean_ctor_get(x_44, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_44, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_66 = x_44; +} else { + lean_dec_ref(x_44); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_19 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = x_20; +x_25 = lean_array_uset(x_17, x_3, x_24); +x_3 = x_23; +x_4 = x_25; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); lean_inc(x_19); -lean_inc(x_18); -x_24 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_24, 0, x_18); -lean_ctor_set(x_24, 1, x_19); -lean_ctor_set(x_24, 2, x_20); -lean_ctor_set(x_24, 3, x_21); -lean_ctor_set(x_24, 4, x_22); -lean_ctor_set(x_24, 5, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); -x_26 = 1; -x_27 = x_7 + x_26; -x_28 = x_25; -x_29 = lean_array_uset(x_13, x_7, x_28); -x_7 = x_27; -x_8 = x_29; +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; goto _start; } } } -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___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) { +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1() { _start: { -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_5); -x_10 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_8); -x_11 = lean_array_get_size(x_9); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = x_9; -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_14); -x_16 = x_15; -lean_ctor_set(x_6, 1, x_16); -lean_ctor_set(x_6, 0, x_10); -return x_6; +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = x_11; +x_15 = lean_box_usize(x_13); +x_16 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9___boxed), 11, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_14); +x_18 = x_17; +x_19 = lean_apply_7(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set(x_19, 0, x_2); +return x_19; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_17 = lean_ctor_get(x_6, 0); -x_18 = lean_ctor_get(x_6, 1); -x_19 = lean_ctor_get(x_6, 2); -x_20 = lean_ctor_get_usize(x_6, 4); -x_21 = lean_ctor_get(x_6, 3); -lean_inc(x_21); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_2, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +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; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +lean_dec(x_2); +x_30 = lean_array_get_size(x_29); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = x_29; +x_33 = lean_box_usize(x_31); +x_34 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9___boxed), 11, 4); +lean_closure_set(x_35, 0, x_1); +lean_closure_set(x_35, 1, x_33); +lean_closure_set(x_35, 2, x_34); +lean_closure_set(x_35, 3, x_32); +x_36 = x_35; +x_37 = lean_apply_7(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_38); +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; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_2); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; size_t 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_48 = lean_ctor_get(x_2, 0); +x_49 = lean_array_get_size(x_48); +x_50 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_51 = x_48; +x_52 = lean_box_usize(x_50); +x_53 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; +x_54 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed), 11, 4); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_52); +lean_closure_set(x_54, 2, x_53); +lean_closure_set(x_54, 3, x_51); +x_55 = x_54; +x_56 = lean_apply_7(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_ctor_set(x_2, 0, x_58); +lean_ctor_set(x_56, 0, x_2); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_56); +lean_ctor_set(x_2, 0, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_2); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +uint8_t x_62; +lean_free_object(x_2); +x_62 = !lean_is_exclusive(x_56); +if (x_62 == 0) +{ +return x_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_56, 0); +x_64 = lean_ctor_get(x_56, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_56); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; size_t 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_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_67 = lean_array_get_size(x_66); +x_68 = lean_usize_of_nat(x_67); +lean_dec(x_67); +x_69 = x_66; +x_70 = lean_box_usize(x_68); +x_71 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; +x_72 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed), 11, 4); +lean_closure_set(x_72, 0, x_1); +lean_closure_set(x_72, 1, x_70); +lean_closure_set(x_72, 2, x_71); +lean_closure_set(x_72, 3, x_69); +x_73 = x_72; +x_74 = lean_apply_7(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_79; +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); +} +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_75); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_74, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_82 = x_74; +} else { + lean_dec_ref(x_74); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_6); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; +goto _start; +} +} +} +static lean_object* _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_ctor_get(x_2, 2); +x_14 = lean_ctor_get(x_2, 3); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -x_22 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_17); -x_23 = lean_array_get_size(x_18); -x_24 = lean_usize_of_nat(x_23); -lean_dec(x_23); -x_25 = 0; -x_26 = x_18; -x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_24, x_25, x_26); -x_28 = x_27; -x_29 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_19); -lean_ctor_set(x_29, 3, x_21); -lean_ctor_set_usize(x_29, 4, x_20); -return x_29; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t 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; +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_array_get_size(x_12); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = x_12; +x_21 = lean_box_usize(x_19); +x_22 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1; +x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11___boxed), 11, 4); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_22); +lean_closure_set(x_23, 3, x_20); +x_24 = x_23; +x_25 = lean_apply_7(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_2, 1, x_27); +lean_ctor_set(x_2, 0, x_16); +lean_ctor_set(x_25, 0, x_2); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_16); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_1); +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) +{ +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_15); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); +x_41 = lean_ctor_get(x_2, 2); +x_42 = lean_ctor_get_usize(x_2, 4); +x_43 = lean_ctor_get(x_2, 3); +lean_inc(x_43); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_2); +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_1); +x_44 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t 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; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_40); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = x_40; +x_50 = lean_box_usize(x_48); +x_51 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1; +x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11___boxed), 11, 4); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_50); +lean_closure_set(x_52, 2, x_51); +lean_closure_set(x_52, 3, x_49); +x_53 = x_52; +x_54 = lean_apply_7(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_41); +lean_ctor_set(x_58, 3, x_43); +lean_ctor_set_usize(x_58, 4, x_42); +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; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_45); +lean_dec(x_43); +lean_dec(x_41); +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(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_1); +x_64 = lean_ctor_get(x_44, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_44, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_66 = x_44; +} else { + lean_dec_ref(x_44); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__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, 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; uint8_t x_14; +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_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +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_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +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; +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_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_inc(x_7); +lean_inc(x_3); +x_31 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +if (lean_obj_tag(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; uint8_t x_40; +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 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +uint8_t 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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; 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; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_3); +x_73 = !lean_is_exclusive(x_31); +if (x_73 == 0) +{ +return x_31; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_31, 0); +x_75 = lean_ctor_get(x_31, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_31); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +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_77 = lean_ctor_get(x_21, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_21, 1); +lean_inc(x_78); +lean_dec(x_21); +x_79 = lean_st_ref_get(x_7, x_78); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = lean_st_ref_get(x_3, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 5); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_inc(x_7); +lean_inc(x_3); +x_86 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7(x_84, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_83); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_st_ref_get(x_7, x_88); +lean_dec(x_7); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_st_ref_take(x_3, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 5); +lean_inc(x_93); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_92, 5); +lean_dec(x_96); +x_97 = !lean_is_exclusive(x_93); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_ctor_get(x_93, 1); +lean_dec(x_98); +x_99 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +lean_ctor_set(x_93, 1, x_99); +x_100 = lean_st_ref_set(x_3, x_92, x_94); +lean_dec(x_3); +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_100, 0); +lean_dec(x_102); +lean_ctor_set_tag(x_100, 1); +lean_ctor_set(x_100, 0, x_77); +return x_100; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_77); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +else +{ +uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_105 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); +x_106 = lean_ctor_get(x_93, 0); +lean_inc(x_106); +lean_dec(x_93); +x_107 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +x_108 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_105); +lean_ctor_set(x_92, 5, x_108); +x_109 = lean_st_ref_set(x_3, x_92, x_94); +lean_dec(x_3); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_111 = x_109; +} else { + lean_dec_ref(x_109); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; + lean_ctor_set_tag(x_112, 1); +} +lean_ctor_set(x_112, 0, x_77); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_113 = lean_ctor_get(x_92, 0); +x_114 = lean_ctor_get(x_92, 1); +x_115 = lean_ctor_get(x_92, 2); +x_116 = lean_ctor_get(x_92, 3); +x_117 = lean_ctor_get(x_92, 4); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_92); +x_118 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); +x_119 = lean_ctor_get(x_93, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_120 = x_93; +} else { + lean_dec_ref(x_93); + x_120 = lean_box(0); +} +x_121 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +if (lean_is_scalar(x_120)) { + x_122 = lean_alloc_ctor(0, 2, 1); +} else { + x_122 = x_120; +} +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set_uint8(x_122, sizeof(void*)*2, x_118); +x_123 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_123, 0, x_113); +lean_ctor_set(x_123, 1, x_114); +lean_ctor_set(x_123, 2, x_115); +lean_ctor_set(x_123, 3, x_116); +lean_ctor_set(x_123, 4, x_117); +lean_ctor_set(x_123, 5, x_122); +x_124 = lean_st_ref_set(x_3, x_123, x_94); +lean_dec(x_3); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 2, 0); +} else { + x_127 = x_126; + lean_ctor_set_tag(x_127, 1); +} +lean_ctor_set(x_127, 0, x_77); +lean_ctor_set(x_127, 1, x_125); +return x_127; +} +} +else +{ +uint8_t x_128; +lean_dec(x_77); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_3); +x_128 = !lean_is_exclusive(x_86); +if (x_128 == 0) +{ +return x_86; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_86, 0); +x_130 = lean_ctor_get(x_86, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_86); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_liftTermElabM___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +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; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 0, x_19); +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_9, 0); +x_21 = lean_ctor_get(x_9, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_9); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} } } } @@ -17825,33 +18086,6 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1; -x_2 = l_Lean_Elab_Term_setElabConfig(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__8() { -_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___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = lean_box(0); -x_4 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__7; -x_5 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_6 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_2); -lean_ctor_set(x_6, 2, x_5); -lean_ctor_set(x_6, 3, x_3); -return x_6; -} -} lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -17865,7 +18099,7 @@ lean_dec(x_6); x_9 = lean_io_get_num_heartbeats(x_8); if (lean_obj_tag(x_9) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -17881,458 +18115,429 @@ x_15 = lean_ctor_get(x_7, 6); lean_inc(x_15); x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_13); lean_dec(x_13); -x_17 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(x_3, x_7, x_1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Command_liftTermElabM___rarg___lambda__1), 8, 1); +lean_closure_set(x_17, 0, x_2); +x_18 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(x_3, x_7, x_1); lean_inc(x_7); -x_18 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermState(x_16, x_7); -x_19 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext(x_3, x_7, x_10); -lean_dec(x_7); -x_20 = l_Lean_Elab_Command_State_traceState___default___closed__1; -x_21 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_21, 0, x_12); -lean_ctor_set(x_21, 1, x_14); -lean_ctor_set(x_21, 2, x_15); -lean_ctor_set(x_21, 3, x_20); -x_22 = lean_st_mk_ref(x_21, x_11); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_23, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__6; -x_28 = lean_st_mk_ref(x_27, x_26); -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_118 = lean_st_ref_get(x_23, x_30); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_120 = lean_st_mk_ref(x_18, x_119); -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 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__8; -lean_inc(x_23); -lean_inc(x_29); -lean_inc(x_121); -x_124 = lean_apply_7(x_2, x_17, x_121, x_123, x_29, x_19, x_23, x_122); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_125); -x_128 = lean_st_ref_get(x_23, x_126); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_st_ref_get(x_121, x_129); -lean_dec(x_121); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_127); -lean_ctor_set(x_133, 1, x_131); -x_31 = x_133; -x_32 = x_132; -goto block_117; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_134 = lean_ctor_get(x_124, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_124, 1); -lean_inc(x_135); -lean_dec(x_124); -x_136 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_136, 0, x_134); -x_137 = lean_st_ref_get(x_23, x_135); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_st_ref_get(x_121, x_138); -lean_dec(x_121); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_136); -lean_ctor_set(x_142, 1, x_140); -x_31 = x_142; -x_32 = x_141; -goto block_117; -} -block_117: -{ -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; uint8_t x_53; -x_33 = lean_st_ref_get(x_23, x_32); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_st_ref_get(x_29, x_34); -lean_dec(x_29); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_get(x_23, x_37); -lean_dec(x_23); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_31, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_31, 1); -lean_inc(x_42); -lean_dec(x_31); -x_43 = lean_ctor_get(x_42, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -lean_inc(x_42); -x_45 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_3, x_16, x_36, x_39, x_42, x_44); -lean_dec(x_36); +x_19 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermState(x_16, x_7); lean_dec(x_16); -x_46 = lean_st_ref_take(x_4, x_40); -x_47 = lean_ctor_get(x_46, 0); +x_20 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext(x_3, x_7, x_10); +lean_dec(x_7); +x_21 = l_Lean_Elab_Command_State_traceState___default___closed__1; +x_22 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_22, 0, x_12); +lean_ctor_set(x_22, 1, x_14); +lean_ctor_set(x_22, 2, x_15); +lean_ctor_set(x_22, 3, x_21); +x_23 = lean_st_mk_ref(x_22, x_11); +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_st_ref_get(x_24, x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__6; +x_29 = lean_st_mk_ref(x_28, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; +lean_inc(x_24); +lean_inc(x_30); +x_33 = l_Lean_Elab_Term_TermElabM_run___rarg(x_17, x_18, x_19, x_32, x_30, x_20, x_24, x_31); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_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; uint8_t x_52; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_st_ref_get(x_24, x_35); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_st_ref_get(x_30, x_37); +lean_dec(x_30); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_st_ref_get(x_24, x_39); +lean_dec(x_24); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_34, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_34, 1); +lean_inc(x_44); +lean_dec(x_34); +x_45 = lean_st_ref_take(x_4, x_42); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_dec(x_45); +x_48 = lean_ctor_get(x_41, 0); lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_39, 0); +x_49 = lean_ctor_get(x_41, 1); lean_inc(x_49); -x_50 = lean_ctor_get(x_39, 1); +x_50 = lean_ctor_get(x_41, 2); lean_inc(x_50); -x_51 = lean_ctor_get(x_39, 2); +x_51 = lean_ctor_get(x_41, 3); lean_inc(x_51); -x_52 = lean_ctor_get(x_39, 3); -lean_inc(x_52); -lean_dec(x_39); -x_53 = !lean_is_exclusive(x_47); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_54 = lean_ctor_get(x_47, 1); -x_55 = lean_ctor_get(x_47, 7); -x_56 = lean_ctor_get(x_47, 6); -lean_dec(x_56); -x_57 = lean_ctor_get(x_47, 3); -lean_dec(x_57); -x_58 = lean_ctor_get(x_47, 0); -lean_dec(x_58); -x_59 = lean_ctor_get(x_42, 3); -lean_inc(x_59); -lean_dec(x_42); -x_60 = l_Std_PersistentArray_append___rarg(x_54, x_59); -lean_dec(x_59); -x_61 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(x_3, x_60, x_52); -lean_dec(x_52); -x_62 = !lean_is_exclusive(x_55); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_55, 1); -x_64 = l_Std_PersistentArray_append___rarg(x_63, x_45); -lean_dec(x_45); -lean_ctor_set(x_55, 1, x_64); -lean_ctor_set(x_47, 6, x_51); -lean_ctor_set(x_47, 3, x_50); -lean_ctor_set(x_47, 1, x_61); -lean_ctor_set(x_47, 0, x_49); -x_65 = lean_st_ref_set(x_4, x_47, x_48); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_66; -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); -x_68 = lean_ctor_get(x_41, 0); -lean_inc(x_68); lean_dec(x_41); -lean_ctor_set_tag(x_65, 1); -lean_ctor_set(x_65, 0, x_68); -return x_65; -} -else +x_52 = !lean_is_exclusive(x_46); +if (x_52 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_ctor_get(x_41, 0); -lean_inc(x_70); -lean_dec(x_41); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -return x_71; -} -} -else -{ -uint8_t x_72; -x_72 = !lean_is_exclusive(x_65); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_65, 0); -lean_dec(x_73); -x_74 = lean_ctor_get(x_41, 0); -lean_inc(x_74); -lean_dec(x_41); -lean_ctor_set(x_65, 0, x_74); -return x_65; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_65, 1); -lean_inc(x_75); -lean_dec(x_65); -x_76 = lean_ctor_get(x_41, 0); -lean_inc(x_76); -lean_dec(x_41); -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 -{ -uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_78 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); -x_79 = lean_ctor_get(x_55, 0); -x_80 = lean_ctor_get(x_55, 1); -lean_inc(x_80); -lean_inc(x_79); +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; uint8_t x_61; +x_53 = lean_ctor_get(x_46, 1); +x_54 = lean_ctor_get(x_46, 7); +x_55 = lean_ctor_get(x_46, 6); lean_dec(x_55); -x_81 = l_Std_PersistentArray_append___rarg(x_80, x_45); -lean_dec(x_45); -x_82 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set_uint8(x_82, sizeof(void*)*2, x_78); -lean_ctor_set(x_47, 7, x_82); -lean_ctor_set(x_47, 6, x_51); -lean_ctor_set(x_47, 3, x_50); -lean_ctor_set(x_47, 1, x_61); -lean_ctor_set(x_47, 0, x_49); -x_83 = lean_st_ref_set(x_4, x_47, x_48); -if (lean_obj_tag(x_41) == 0) +x_56 = lean_ctor_get(x_46, 3); +lean_dec(x_56); +x_57 = lean_ctor_get(x_46, 0); +lean_dec(x_57); +x_58 = lean_ctor_get(x_44, 3); +lean_inc(x_58); +x_59 = l_Std_PersistentArray_append___rarg(x_53, x_58); +lean_dec(x_58); +x_60 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(x_3, x_59, x_51); +lean_dec(x_51); +x_61 = !lean_is_exclusive(x_54); +if (x_61 == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -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_ctor_get(x_41, 0); -lean_inc(x_86); -lean_dec(x_41); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_85; - lean_ctor_set_tag(x_87, 1); -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -return x_87; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_54, 1); +x_63 = lean_ctor_get(x_44, 5); +lean_inc(x_63); +lean_dec(x_44); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +x_65 = l_Std_PersistentArray_append___rarg(x_62, x_64); +lean_dec(x_64); +lean_ctor_set(x_54, 1, x_65); +lean_ctor_set(x_46, 6, x_50); +lean_ctor_set(x_46, 3, x_49); +lean_ctor_set(x_46, 1, x_60); +lean_ctor_set(x_46, 0, x_48); +x_66 = lean_st_ref_set(x_4, x_46, x_47); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = lean_ctor_get(x_43, 0); +lean_inc(x_69); +lean_dec(x_43); +lean_ctor_set_tag(x_66, 1); +lean_ctor_set(x_66, 0, x_69); +return x_66; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_89 = x_83; -} else { - lean_dec_ref(x_83); - x_89 = lean_box(0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_ctor_get(x_43, 0); +lean_inc(x_71); +lean_dec(x_43); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +return x_72; } -x_90 = lean_ctor_get(x_41, 0); -lean_inc(x_90); -lean_dec(x_41); -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_73; +x_73 = !lean_is_exclusive(x_66); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_66, 0); +lean_dec(x_74); +x_75 = lean_ctor_get(x_43, 0); +lean_inc(x_75); +lean_dec(x_43); +lean_ctor_set(x_66, 0, x_75); +return x_66; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_66, 1); +lean_inc(x_76); +lean_dec(x_66); +x_77 = lean_ctor_get(x_43, 0); +lean_inc(x_77); +lean_dec(x_43); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +return x_78; } } } else { -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; uint8_t 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; -x_92 = lean_ctor_get(x_47, 1); -x_93 = lean_ctor_get(x_47, 2); -x_94 = lean_ctor_get(x_47, 4); -x_95 = lean_ctor_get(x_47, 5); -x_96 = lean_ctor_get(x_47, 7); -x_97 = lean_ctor_get(x_47, 8); +uint8_t 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_79 = lean_ctor_get_uint8(x_54, sizeof(void*)*2); +x_80 = lean_ctor_get(x_54, 0); +x_81 = lean_ctor_get(x_54, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_54); +x_82 = lean_ctor_get(x_44, 5); +lean_inc(x_82); +lean_dec(x_44); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = l_Std_PersistentArray_append___rarg(x_81, x_83); +lean_dec(x_83); +x_85 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_85, 0, x_80); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set_uint8(x_85, sizeof(void*)*2, x_79); +lean_ctor_set(x_46, 7, x_85); +lean_ctor_set(x_46, 6, x_50); +lean_ctor_set(x_46, 3, x_49); +lean_ctor_set(x_46, 1, x_60); +lean_ctor_set(x_46, 0, x_48); +x_86 = lean_st_ref_set(x_4, x_46, x_47); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_88 = x_86; +} else { + lean_dec_ref(x_86); + x_88 = lean_box(0); +} +x_89 = lean_ctor_get(x_43, 0); +lean_inc(x_89); +lean_dec(x_43); +if (lean_is_scalar(x_88)) { + x_90 = lean_alloc_ctor(1, 2, 0); +} else { + x_90 = x_88; + lean_ctor_set_tag(x_90, 1); +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_91 = lean_ctor_get(x_86, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_92 = x_86; +} else { + lean_dec_ref(x_86); + x_92 = lean_box(0); +} +x_93 = lean_ctor_get(x_43, 0); +lean_inc(x_93); +lean_dec(x_43); +if (lean_is_scalar(x_92)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_92; +} +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_91); +return x_94; +} +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_95 = lean_ctor_get(x_46, 1); +x_96 = lean_ctor_get(x_46, 2); +x_97 = lean_ctor_get(x_46, 4); +x_98 = lean_ctor_get(x_46, 5); +x_99 = lean_ctor_get(x_46, 7); +x_100 = lean_ctor_get(x_46, 8); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_47); -x_98 = lean_ctor_get(x_42, 3); -lean_inc(x_98); -lean_dec(x_42); -x_99 = l_Std_PersistentArray_append___rarg(x_92, x_98); -lean_dec(x_98); -x_100 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(x_3, x_99, x_52); -lean_dec(x_52); -x_101 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); -x_102 = lean_ctor_get(x_96, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_96, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_104 = x_96; +lean_dec(x_46); +x_101 = lean_ctor_get(x_44, 3); +lean_inc(x_101); +x_102 = l_Std_PersistentArray_append___rarg(x_95, x_101); +lean_dec(x_101); +x_103 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(x_3, x_102, x_51); +lean_dec(x_51); +x_104 = lean_ctor_get_uint8(x_99, sizeof(void*)*2); +x_105 = lean_ctor_get(x_99, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_99, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_107 = x_99; } else { - lean_dec_ref(x_96); - x_104 = lean_box(0); + lean_dec_ref(x_99); + x_107 = lean_box(0); } -x_105 = l_Std_PersistentArray_append___rarg(x_103, x_45); -lean_dec(x_45); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 1); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_102); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set_uint8(x_106, sizeof(void*)*2, x_101); -x_107 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_107, 0, x_49); -lean_ctor_set(x_107, 1, x_100); -lean_ctor_set(x_107, 2, x_93); -lean_ctor_set(x_107, 3, x_50); -lean_ctor_set(x_107, 4, x_94); -lean_ctor_set(x_107, 5, x_95); -lean_ctor_set(x_107, 6, x_51); -lean_ctor_set(x_107, 7, x_106); -lean_ctor_set(x_107, 8, x_97); -x_108 = lean_st_ref_set(x_4, x_107, x_48); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_108 = lean_ctor_get(x_44, 5); +lean_inc(x_108); +lean_dec(x_44); x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; +lean_dec(x_108); +x_110 = l_Std_PersistentArray_append___rarg(x_106, x_109); +lean_dec(x_109); +if (lean_is_scalar(x_107)) { + x_111 = lean_alloc_ctor(0, 2, 1); } else { - lean_dec_ref(x_108); - x_110 = lean_box(0); + x_111 = x_107; } -x_111 = lean_ctor_get(x_41, 0); -lean_inc(x_111); -lean_dec(x_41); -if (lean_is_scalar(x_110)) { - x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_105); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_104); +x_112 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_112, 0, x_48); +lean_ctor_set(x_112, 1, x_103); +lean_ctor_set(x_112, 2, x_96); +lean_ctor_set(x_112, 3, x_49); +lean_ctor_set(x_112, 4, x_97); +lean_ctor_set(x_112, 5, x_98); +lean_ctor_set(x_112, 6, x_50); +lean_ctor_set(x_112, 7, x_111); +lean_ctor_set(x_112, 8, x_100); +x_113 = lean_st_ref_set(x_4, x_112, x_47); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; } else { - x_112 = x_110; - lean_ctor_set_tag(x_112, 1); + lean_dec_ref(x_113); + x_115 = lean_box(0); } -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -return x_112; +x_116 = lean_ctor_get(x_43, 0); +lean_inc(x_116); +lean_dec(x_43); +if (lean_is_scalar(x_115)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_115; + lean_ctor_set_tag(x_117, 1); +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +return x_117; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_114 = x_108; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_118 = lean_ctor_get(x_113, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_119 = x_113; } else { - lean_dec_ref(x_108); - x_114 = lean_box(0); + lean_dec_ref(x_113); + x_119 = lean_box(0); } -x_115 = lean_ctor_get(x_41, 0); -lean_inc(x_115); -lean_dec(x_41); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 0); +x_120 = lean_ctor_get(x_43, 0); +lean_inc(x_120); +lean_dec(x_43); +if (lean_is_scalar(x_119)) { + x_121 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_114; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -return x_116; + x_121 = x_119; } +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_118); +return x_121; } } } else { -uint8_t x_143; +uint8_t x_122; +lean_dec(x_30); +lean_dec(x_24); +lean_dec(x_3); +x_122 = !lean_is_exclusive(x_33); +if (x_122 == 0) +{ +return x_33; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_33, 0); +x_124 = lean_ctor_get(x_33, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_33); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +else +{ +uint8_t x_126; lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_143 = !lean_is_exclusive(x_9); -if (x_143 == 0) +x_126 = !lean_is_exclusive(x_9); +if (x_126 == 0) { return x_9; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_9, 0); -x_145 = lean_ctor_get(x_9, 1); -lean_inc(x_145); -lean_inc(x_144); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_9, 0); +x_128 = lean_ctor_get(x_9, 1); +lean_inc(x_128); +lean_inc(x_127); lean_dec(x_9); -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; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; } } } @@ -18345,76 +18550,100 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_liftTermElabM___rarg___boxe return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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, lean_object* x_11) { _start: { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_10 = lean_unbox_usize(x_7); +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_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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, 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_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(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_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = lean_unbox_usize(x_7); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +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_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6(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_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; +lean_dec(x_5); +return x_14; } } -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_7; -x_7 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_3); +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -lean_dec(x_1); -return x_7; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___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_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11___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_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__11(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; } } lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -18931,14 +19160,10 @@ lean_object* l_Lean_Elab_Command_catchExceptions(lean_object* x_1, lean_object* _start: { lean_object* x_5; -lean_inc(x_3); -lean_inc(x_2); -x_5 = lean_apply_3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Command_withLogging(x_1, x_2, x_3, x_4); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; -lean_dec(x_3); -lean_dec(x_2); x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { @@ -18960,269 +19185,29 @@ return x_9; } else { -lean_object* x_10; -x_10 = lean_ctor_get(x_5, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +uint8_t x_10; +x_10 = !lean_is_exclusive(x_5); +if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_5, 1); -lean_inc(x_11); -lean_dec(x_5); -x_12 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_10, x_2, x_3, x_11); -lean_dec(x_3); -lean_dec(x_2); -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) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_12, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set_tag(x_12, 0); -lean_ctor_set(x_12, 0, x_19); -return x_12; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_5); -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_5, 1); -x_25 = lean_ctor_get(x_5, 0); -lean_dec(x_25); -x_26 = lean_ctor_get(x_10, 0); -lean_inc(x_26); -lean_dec(x_10); -x_27 = l_Lean_Elab_isAbortExceptionId(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -lean_free_object(x_5); -x_28 = l_Lean_InternalExceptionId_getName(x_26, x_24); -lean_dec(x_26); -if (lean_obj_tag(x_28) == 0) -{ -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; uint8_t x_36; lean_object* x_37; uint8_t x_38; -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_alloc_ctor(4, 1, 0); -lean_ctor_set(x_31, 0, x_29); -x_32 = l_Lean_Elab_Command_withLogging___closed__2; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = 2; -x_37 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_35, x_36, x_2, x_3, x_30); -lean_dec(x_3); -lean_dec(x_2); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -return x_37; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_3); -lean_dec(x_2); -x_42 = !lean_is_exclusive(x_28); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_28, 0); -lean_dec(x_43); -x_44 = lean_box(0); -lean_ctor_set_tag(x_28, 0); -lean_ctor_set(x_28, 0, x_44); -return x_28; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_28, 1); -lean_inc(x_45); -lean_dec(x_28); -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_45); -return x_47; -} -} -} -else -{ -lean_object* x_48; -lean_dec(x_26); -lean_dec(x_3); -lean_dec(x_2); -x_48 = lean_box(0); +x_11 = lean_ctor_get(x_5, 0); +lean_dec(x_11); +x_12 = lean_box(0); lean_ctor_set_tag(x_5, 0); -lean_ctor_set(x_5, 0, x_48); +lean_ctor_set(x_5, 0, x_12); return x_5; } -} else { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_5, 1); -lean_inc(x_49); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); lean_dec(x_5); -x_50 = lean_ctor_get(x_10, 0); -lean_inc(x_50); -lean_dec(x_10); -x_51 = l_Lean_Elab_isAbortExceptionId(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = l_Lean_InternalExceptionId_getName(x_50, x_49); -lean_dec(x_50); -if (lean_obj_tag(x_52) == 0) -{ -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; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -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_alloc_ctor(4, 1, 0); -lean_ctor_set(x_55, 0, x_53); -x_56 = l_Lean_Elab_Command_withLogging___closed__2; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = 2; -x_61 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_59, x_60, x_2, x_3, x_54); -lean_dec(x_3); -lean_dec(x_2); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_64 = x_61; -} else { - lean_dec_ref(x_61); - x_64 = lean_box(0); -} -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 2, 0); -} else { - x_65 = x_64; -} -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_3); -lean_dec(x_2); -x_66 = lean_ctor_get(x_52, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_67 = x_52; -} else { - lean_dec_ref(x_52); - x_67 = lean_box(0); -} -x_68 = lean_box(0); -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_67; - lean_ctor_set_tag(x_69, 0); -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; -lean_dec(x_50); -lean_dec(x_3); -lean_dec(x_2); -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_49); -return x_71; -} -} +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; } } } @@ -20039,7 +20024,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNames _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -21963,7 +21948,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_Lean_Elab_Command_modifyScope___closed__1; x_2 = l_Lean_Elab_Command_modifyScope___closed__2; -x_3 = lean_unsigned_to_nat(468u); +x_3 = lean_unsigned_to_nat(479u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Elab_Command_modifyScope___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22297,410 +22282,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_st_ref_take(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; uint8_t x_9; -lean_dec(x_1); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_dec(x_5); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -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_ctor_get(x_6, 2); -lean_dec(x_10); -x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_modifyScope___closed__4; -x_13 = lean_panic_fn(x_11, x_12); -lean_ctor_set(x_6, 2, x_13); -x_14 = lean_st_ref_set(x_3, x_6, x_8); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -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_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; -x_21 = lean_ctor_get(x_6, 0); -x_22 = lean_ctor_get(x_6, 1); -x_23 = lean_ctor_get(x_6, 3); -x_24 = lean_ctor_get(x_6, 4); -x_25 = lean_ctor_get(x_6, 5); -x_26 = lean_ctor_get(x_6, 6); -x_27 = lean_ctor_get(x_6, 7); -x_28 = lean_ctor_get(x_6, 8); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_6); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_modifyScope___closed__4; -x_31 = lean_panic_fn(x_29, x_30); -x_32 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_22); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set(x_32, 3, x_23); -lean_ctor_set(x_32, 4, x_24); -lean_ctor_set(x_32, 5, x_25); -lean_ctor_set(x_32, 6, x_26); -lean_ctor_set(x_32, 7, x_27); -lean_ctor_set(x_32, 8, x_28); -x_33 = lean_st_ref_set(x_3, x_32, x_8); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; -} else { - lean_dec_ref(x_33); - x_35 = lean_box(0); -} -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_7, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_5, 1); -lean_inc(x_39); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_6); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_6, 2); -lean_dec(x_41); -x_42 = !lean_is_exclusive(x_7); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_7, 1); -x_44 = lean_ctor_get(x_7, 0); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_38); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_38, 4); -lean_ctor_set(x_7, 1, x_46); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_38, 4, x_7); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_38); -lean_ctor_set(x_47, 1, x_43); -lean_ctor_set(x_6, 2, x_47); -x_48 = lean_st_ref_set(x_3, x_6, x_39); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -x_51 = lean_box(0); -lean_ctor_set(x_48, 0, x_51); -return x_48; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -lean_dec(x_48); -x_53 = lean_box(0); -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; -} -} -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; 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; -x_55 = lean_ctor_get(x_38, 0); -x_56 = lean_ctor_get(x_38, 1); -x_57 = lean_ctor_get(x_38, 2); -x_58 = lean_ctor_get(x_38, 3); -x_59 = lean_ctor_get(x_38, 4); -x_60 = lean_ctor_get(x_38, 5); -x_61 = lean_ctor_get(x_38, 6); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_38); -lean_ctor_set(x_7, 1, x_59); -lean_ctor_set(x_7, 0, x_1); -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_56); -lean_ctor_set(x_62, 2, x_57); -lean_ctor_set(x_62, 3, x_58); -lean_ctor_set(x_62, 4, x_7); -lean_ctor_set(x_62, 5, x_60); -lean_ctor_set(x_62, 6, x_61); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_43); -lean_ctor_set(x_6, 2, x_63); -x_64 = lean_st_ref_set(x_3, x_6, x_39); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_66 = x_64; -} else { - lean_dec_ref(x_64); - x_66 = lean_box(0); -} -x_67 = lean_box(0); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_66; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_69 = lean_ctor_get(x_7, 1); -lean_inc(x_69); -lean_dec(x_7); -x_70 = lean_ctor_get(x_38, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_38, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_38, 2); -lean_inc(x_72); -x_73 = lean_ctor_get(x_38, 3); -lean_inc(x_73); -x_74 = lean_ctor_get(x_38, 4); -lean_inc(x_74); -x_75 = lean_ctor_get(x_38, 5); -lean_inc(x_75); -x_76 = lean_ctor_get(x_38, 6); -lean_inc(x_76); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_77 = x_38; -} else { - lean_dec_ref(x_38); - x_77 = lean_box(0); -} -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_1); -lean_ctor_set(x_78, 1, x_74); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 7, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_70); -lean_ctor_set(x_79, 1, x_71); -lean_ctor_set(x_79, 2, x_72); -lean_ctor_set(x_79, 3, x_73); -lean_ctor_set(x_79, 4, x_78); -lean_ctor_set(x_79, 5, x_75); -lean_ctor_set(x_79, 6, x_76); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_69); -lean_ctor_set(x_6, 2, x_80); -x_81 = lean_st_ref_set(x_3, x_6, x_39); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_83 = x_81; -} else { - lean_dec_ref(x_81); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -} -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; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_86 = lean_ctor_get(x_6, 0); -x_87 = lean_ctor_get(x_6, 1); -x_88 = lean_ctor_get(x_6, 3); -x_89 = lean_ctor_get(x_6, 4); -x_90 = lean_ctor_get(x_6, 5); -x_91 = lean_ctor_get(x_6, 6); -x_92 = lean_ctor_get(x_6, 7); -x_93 = lean_ctor_get(x_6, 8); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_6); -x_94 = lean_ctor_get(x_7, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_95 = x_7; -} else { - lean_dec_ref(x_7); - x_95 = lean_box(0); -} -x_96 = lean_ctor_get(x_38, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_38, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_38, 2); -lean_inc(x_98); -x_99 = lean_ctor_get(x_38, 3); -lean_inc(x_99); -x_100 = lean_ctor_get(x_38, 4); -lean_inc(x_100); -x_101 = lean_ctor_get(x_38, 5); -lean_inc(x_101); -x_102 = lean_ctor_get(x_38, 6); -lean_inc(x_102); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_103 = x_38; -} else { - lean_dec_ref(x_38); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_95)) { - x_104 = lean_alloc_ctor(1, 2, 0); -} else { - x_104 = x_95; -} -lean_ctor_set(x_104, 0, x_1); -lean_ctor_set(x_104, 1, x_100); -if (lean_is_scalar(x_103)) { - x_105 = lean_alloc_ctor(0, 7, 0); -} else { - x_105 = x_103; -} -lean_ctor_set(x_105, 0, x_96); -lean_ctor_set(x_105, 1, x_97); -lean_ctor_set(x_105, 2, x_98); -lean_ctor_set(x_105, 3, x_99); -lean_ctor_set(x_105, 4, x_104); -lean_ctor_set(x_105, 5, x_101); -lean_ctor_set(x_105, 6, x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_94); -x_107 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_107, 0, x_86); -lean_ctor_set(x_107, 1, x_87); -lean_ctor_set(x_107, 2, x_106); -lean_ctor_set(x_107, 3, x_88); -lean_ctor_set(x_107, 4, x_89); -lean_ctor_set(x_107, 5, x_90); -lean_ctor_set(x_107, 6, x_91); -lean_ctor_set(x_107, 7, x_92); -lean_ctor_set(x_107, 8, x_93); -x_108 = lean_st_ref_set(x_3, x_107, x_39); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; -} else { - lean_dec_ref(x_108); - x_110 = lean_box(0); -} -x_111 = lean_box(0); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1() { _start: { lean_object* x_1; @@ -22708,16 +22290,16 @@ x_1 = lean_mk_string("a universe level named '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1; +x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3() { _start: { lean_object* x_1; @@ -22725,26 +22307,26 @@ x_1 = lean_mk_string("' has already been declared"); return x_1; } } -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3; +x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_1); -x_6 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2; +x_6 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2; x_7 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_8 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_9 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -22752,6 +22334,54 @@ x_10 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_e return x_10; } } +lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_2, 4); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_4); +lean_ctor_set(x_2, 4, x_5); +return x_2; +} +else +{ +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; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_2, 2); +x_9 = lean_ctor_get(x_2, 3); +x_10 = lean_ctor_get(x_2, 4); +x_11 = lean_ctor_get(x_2, 5); +x_12 = lean_ctor_get(x_2, 6); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_dec(x_2); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_10); +x_14 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_14, 0, x_6); +lean_ctor_set(x_14, 1, x_7); +lean_ctor_set(x_14, 2, x_8); +lean_ctor_set(x_14, 3, x_9); +lean_ctor_set(x_14, 4, x_13); +lean_ctor_set(x_14, 5, x_11); +lean_ctor_set(x_14, 6, x_12); +return x_14; +} +} +} lean_object* l_Lean_Elab_Command_addUnivLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -22782,81 +22412,75 @@ x_15 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_5, x_13); lean_dec(x_13); if (x_15 == 0) { -lean_object* x_16; -x_16 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(x_5, x_2, x_3, x_14); +lean_object* x_16; lean_object* x_17; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Command_addUnivLevel___lambda__1), 2, 1); +lean_closure_set(x_16, 0, x_5); +x_17 = l_Lean_Elab_Command_modifyScope(x_16, x_2, x_3, x_14); lean_dec(x_2); -return x_16; -} -else -{ -lean_object* x_17; -x_17 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2(x_5, x_2, x_3, x_14); return x_17; } +else +{ +lean_object* x_18; +x_18 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(x_5, x_2, x_3, x_14); +return x_18; +} } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_2, 1); -x_20 = lean_ctor_get(x_2, 2); -x_21 = lean_ctor_get(x_2, 3); -x_22 = lean_ctor_get(x_2, 4); -x_23 = lean_ctor_get(x_2, 5); +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; uint8_t x_29; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +x_22 = lean_ctor_get(x_2, 3); +x_23 = lean_ctor_get(x_2, 4); +x_24 = lean_ctor_get(x_2, 5); +lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_2); -x_24 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_24, 0, x_18); -lean_ctor_set(x_24, 1, x_19); -lean_ctor_set(x_24, 2, x_20); -lean_ctor_set(x_24, 3, x_21); -lean_ctor_set(x_24, 4, x_22); -lean_ctor_set(x_24, 5, x_23); -lean_ctor_set(x_24, 6, x_9); -x_25 = l_Lean_Elab_Command_getLevelNames___rarg(x_3, x_8); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +x_25 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_25, 2, x_21); +lean_ctor_set(x_25, 3, x_22); +lean_ctor_set(x_25, 4, x_23); +lean_ctor_set(x_25, 5, x_24); +lean_ctor_set(x_25, 6, x_9); +x_26 = l_Lean_Elab_Command_getLevelNames___rarg(x_3, x_8); +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_5, x_26); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); lean_dec(x_26); -if (x_28 == 0) +x_29 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_5, x_27); +lean_dec(x_27); +if (x_29 == 0) { -lean_object* x_29; -x_29 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(x_5, x_24, x_3, x_27); -lean_dec(x_24); -return x_29; +lean_object* x_30; lean_object* x_31; +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Command_addUnivLevel___lambda__1), 2, 1); +lean_closure_set(x_30, 0, x_5); +x_31 = l_Lean_Elab_Command_modifyScope(x_30, x_25, x_3, x_28); +lean_dec(x_25); +return x_31; } else { -lean_object* x_30; -x_30 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2(x_5, x_24, x_3, x_27); -return x_30; +lean_object* x_32; +x_32 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(x_5, x_25, x_3, x_28); +return x_32; } } } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__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_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___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_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -22882,6 +22506,8 @@ if (x_7 == 0) { lean_object* x_8; lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_5); return x_8; } @@ -22889,31 +22515,116 @@ else { lean_object* x_9; lean_object* x_10; x_9 = lean_array_fget(x_1, x_2); +lean_inc(x_4); +lean_inc(x_3); x_10 = l_Lean_Elab_Command_elabCommand(x_9, x_3, x_4, x_5); if (lean_obj_tag(x_10) == 0) { +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); return x_10; } else { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) { +uint8_t x_12; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); return x_10; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_10); +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_10, 1); +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_21 = lean_nat_dec_eq(x_20, x_19); +lean_dec(x_19); +if (x_21 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_free_object(x_10); +lean_dec(x_11); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_2, x_22); +lean_dec(x_2); +x_2 = x_23; +x_5 = x_17; +goto _start; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_dec(x_10); +x_26 = lean_ctor_get(x_11, 0); +lean_inc(x_26); +x_27 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_28 = lean_nat_dec_eq(x_27, x_26); +lean_dec(x_26); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_11); +lean_ctor_set(x_29, 1, x_25); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +lean_dec(x_2); +x_2 = x_31; +x_5 = x_25; +goto _start; +} +} } } } @@ -22924,8 +22635,6 @@ _start: { lean_object* x_6; x_6 = l_Lean_Elab_Command_elabChoiceAux(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); return x_6; } @@ -22946,7 +22655,6 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_Command_elbChoice(x_1, x_2, x_3, x_4); -lean_dec(x_2); lean_dec(x_1); return x_5; } @@ -24114,7 +23822,7 @@ lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_dec(x_14); lean_dec(x_9); x_18 = l_Lean_Elab_Command_elabExport___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_18, x_2, x_3, x_13); +x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_18, x_2, x_3, x_13); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -26906,383 +26614,44 @@ return x_104; } } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabOpen___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_st_ref_take(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) { -lean_object* x_8; uint8_t x_9; -lean_dec(x_1); -x_8 = lean_ctor_get(x_5, 1); +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +lean_dec(x_4); +lean_ctor_set(x_2, 3, x_1); +return x_2; +} +else +{ +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; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +x_8 = lean_ctor_get(x_2, 4); +x_9 = lean_ctor_get(x_2, 5); +x_10 = lean_ctor_get(x_2, 6); +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); -lean_dec(x_5); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -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_ctor_get(x_6, 2); -lean_dec(x_10); -x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_modifyScope___closed__4; -x_13 = lean_panic_fn(x_11, x_12); -lean_ctor_set(x_6, 2, x_13); -x_14 = lean_st_ref_set(x_3, x_6, x_8); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -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_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; -x_21 = lean_ctor_get(x_6, 0); -x_22 = lean_ctor_get(x_6, 1); -x_23 = lean_ctor_get(x_6, 3); -x_24 = lean_ctor_get(x_6, 4); -x_25 = lean_ctor_get(x_6, 5); -x_26 = lean_ctor_get(x_6, 6); -x_27 = lean_ctor_get(x_6, 7); -x_28 = lean_ctor_get(x_6, 8); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_6); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_modifyScope___closed__4; -x_31 = lean_panic_fn(x_29, x_30); -x_32 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_22); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set(x_32, 3, x_23); -lean_ctor_set(x_32, 4, x_24); -lean_ctor_set(x_32, 5, x_25); -lean_ctor_set(x_32, 6, x_26); -lean_ctor_set(x_32, 7, x_27); -lean_ctor_set(x_32, 8, x_28); -x_33 = lean_st_ref_set(x_3, x_32, x_8); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; -} else { - lean_dec_ref(x_33); - x_35 = lean_box(0); -} -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_7, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_5, 1); -lean_inc(x_39); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_6); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_6, 2); -lean_dec(x_41); -x_42 = !lean_is_exclusive(x_7); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_7, 0); -lean_dec(x_43); -x_44 = !lean_is_exclusive(x_38); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = lean_ctor_get(x_38, 3); -lean_dec(x_45); -lean_ctor_set(x_38, 3, x_1); -x_46 = lean_st_ref_set(x_3, x_6, x_39); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(0); -lean_ctor_set(x_46, 0, x_49); -return x_46; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_53 = lean_ctor_get(x_38, 0); -x_54 = lean_ctor_get(x_38, 1); -x_55 = lean_ctor_get(x_38, 2); -x_56 = lean_ctor_get(x_38, 4); -x_57 = lean_ctor_get(x_38, 5); -x_58 = lean_ctor_get(x_38, 6); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_38); -x_59 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_54); -lean_ctor_set(x_59, 2, x_55); -lean_ctor_set(x_59, 3, x_1); -lean_ctor_set(x_59, 4, x_56); -lean_ctor_set(x_59, 5, x_57); -lean_ctor_set(x_59, 6, x_58); -lean_ctor_set(x_7, 0, x_59); -x_60 = lean_st_ref_set(x_3, x_6, x_39); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; -} else { - lean_dec_ref(x_60); - x_62 = lean_box(0); -} -x_63 = lean_box(0); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_62; -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; -} -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_65 = lean_ctor_get(x_7, 1); -lean_inc(x_65); -lean_dec(x_7); -x_66 = lean_ctor_get(x_38, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_38, 1); -lean_inc(x_67); -x_68 = lean_ctor_get(x_38, 2); -lean_inc(x_68); -x_69 = lean_ctor_get(x_38, 4); -lean_inc(x_69); -x_70 = lean_ctor_get(x_38, 5); -lean_inc(x_70); -x_71 = lean_ctor_get(x_38, 6); -lean_inc(x_71); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_72 = x_38; -} else { - lean_dec_ref(x_38); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(0, 7, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_66); -lean_ctor_set(x_73, 1, x_67); -lean_ctor_set(x_73, 2, x_68); -lean_ctor_set(x_73, 3, x_1); -lean_ctor_set(x_73, 4, x_69); -lean_ctor_set(x_73, 5, x_70); -lean_ctor_set(x_73, 6, x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_65); -lean_ctor_set(x_6, 2, x_74); -x_75 = lean_st_ref_set(x_3, x_6, x_39); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_80 = lean_ctor_get(x_6, 0); -x_81 = lean_ctor_get(x_6, 1); -x_82 = lean_ctor_get(x_6, 3); -x_83 = lean_ctor_get(x_6, 4); -x_84 = lean_ctor_get(x_6, 5); -x_85 = lean_ctor_get(x_6, 6); -x_86 = lean_ctor_get(x_6, 7); -x_87 = lean_ctor_get(x_6, 8); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_6); -x_88 = lean_ctor_get(x_7, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_89 = x_7; -} else { - lean_dec_ref(x_7); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get(x_38, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_38, 1); -lean_inc(x_91); -x_92 = lean_ctor_get(x_38, 2); -lean_inc(x_92); -x_93 = lean_ctor_get(x_38, 4); -lean_inc(x_93); -x_94 = lean_ctor_get(x_38, 5); -lean_inc(x_94); -x_95 = lean_ctor_get(x_38, 6); -lean_inc(x_95); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_96 = x_38; -} else { - lean_dec_ref(x_38); - x_96 = lean_box(0); -} -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 7, 0); -} else { - x_97 = x_96; -} -lean_ctor_set(x_97, 0, x_90); -lean_ctor_set(x_97, 1, x_91); -lean_ctor_set(x_97, 2, x_92); -lean_ctor_set(x_97, 3, x_1); -lean_ctor_set(x_97, 4, x_93); -lean_ctor_set(x_97, 5, x_94); -lean_ctor_set(x_97, 6, x_95); -if (lean_is_scalar(x_89)) { - x_98 = lean_alloc_ctor(1, 2, 0); -} else { - x_98 = x_89; -} -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_88); -x_99 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_99, 0, x_80); -lean_ctor_set(x_99, 1, x_81); -lean_ctor_set(x_99, 2, x_98); -lean_ctor_set(x_99, 3, x_82); -lean_ctor_set(x_99, 4, x_83); -lean_ctor_set(x_99, 5, x_84); -lean_ctor_set(x_99, 6, x_85); -lean_ctor_set(x_99, 7, x_86); -lean_ctor_set(x_99, 8, x_87); -x_100 = lean_st_ref_set(x_3, x_99, x_39); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -x_103 = lean_box(0); -if (lean_is_scalar(x_102)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_102; -} -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_101); -return x_104; -} +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_2); +x_11 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_6); +lean_ctor_set(x_11, 2, x_7); +lean_ctor_set(x_11, 3, x_1); +lean_ctor_set(x_11, 4, x_8); +lean_ctor_set(x_11, 5, x_9); +lean_ctor_set(x_11, 6, x_10); +return x_11; } } } @@ -27297,39 +26666,41 @@ lean_inc(x_2); x_7 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1(x_6, x_2, x_3, x_4); if (lean_obj_tag(x_7) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18(x_8, x_2, x_3, x_9); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabOpen___lambda__1), 2, 1); +lean_closure_set(x_10, 0, x_8); +x_11 = l_Lean_Elab_Command_modifyScope(x_10, x_2, x_3, x_9); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_11; } else { -uint8_t x_11; +uint8_t x_12; lean_dec(x_3); lean_dec(x_2); -x_11 = !lean_is_exclusive(x_7); -if (x_11 == 0) +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) { return x_7; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_7, 0); -x_13 = lean_ctor_get(x_7, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); lean_dec(x_7); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; } } } @@ -27559,16 +26930,6 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18___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_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___spec__18(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} lean_object* l_Lean_Elab_Command_elabOpen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -27678,6 +27039,8 @@ x_7 = x_2 < x_1; if (x_7 == 0) { lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); x_8 = x_3; x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); @@ -27686,532 +27049,57 @@ return x_9; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +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_array_uget(x_3, x_2); x_11 = lean_unsigned_to_nat(0u); x_12 = lean_array_uset(x_3, x_2, x_11); x_13 = x_10; -x_14 = lean_st_ref_take(x_5, x_6); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_14 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1___boxed), 4, 1); +lean_closure_set(x_14, 0, x_13); +lean_inc(x_5); +lean_inc(x_4); +x_15 = l_Lean_Elab_Command_withFreshMacroScope___rarg(x_14, x_4, x_5, x_6); +if (lean_obj_tag(x_15) == 0) { -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; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; -x_18 = lean_ctor_get(x_15, 3); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_15, 3, x_20); -x_21 = lean_st_ref_set(x_5, x_15, x_16); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 3); -x_27 = lean_ctor_get(x_4, 4); -x_28 = lean_ctor_get(x_4, 6); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -x_29 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_24); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_26); -lean_ctor_set(x_29, 4, x_27); -lean_ctor_set(x_29, 5, x_18); -lean_ctor_set(x_29, 6, x_28); -x_30 = l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1(x_13, x_29, x_5, x_22); -lean_dec(x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = 1; -x_34 = x_2 + x_33; -x_35 = x_31; -x_36 = lean_array_uset(x_12, x_2, x_35); -x_2 = x_34; -x_3 = x_36; -x_6 = x_32; +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* 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 = 1; +x_19 = x_2 + x_18; +x_20 = x_16; +x_21 = lean_array_uset(x_12, x_2, x_20); +x_2 = x_19; +x_3 = x_21; +x_6 = x_17; goto _start; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); -x_40 = lean_ctor_get(x_15, 2); -x_41 = lean_ctor_get(x_15, 3); -x_42 = lean_ctor_get(x_15, 4); -x_43 = lean_ctor_get(x_15, 5); -x_44 = lean_ctor_get(x_15, 6); -x_45 = lean_ctor_get(x_15, 7); -x_46 = lean_ctor_get(x_15, 8); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_15); -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_nat_add(x_41, x_47); -x_49 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_49, 0, x_38); -lean_ctor_set(x_49, 1, x_39); -lean_ctor_set(x_49, 2, x_40); -lean_ctor_set(x_49, 3, x_48); -lean_ctor_set(x_49, 4, x_42); -lean_ctor_set(x_49, 5, x_43); -lean_ctor_set(x_49, 6, x_44); -lean_ctor_set(x_49, 7, x_45); -lean_ctor_set(x_49, 8, x_46); -x_50 = lean_st_ref_set(x_5, x_49, x_16); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_4, 1); -x_54 = lean_ctor_get(x_4, 2); -x_55 = lean_ctor_get(x_4, 3); -x_56 = lean_ctor_get(x_4, 4); -x_57 = lean_ctor_get(x_4, 6); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -x_58 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_53); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -lean_ctor_set(x_58, 4, x_56); -lean_ctor_set(x_58, 5, x_41); -lean_ctor_set(x_58, 6, x_57); -x_59 = l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1(x_13, x_58, x_5, x_51); -lean_dec(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 = 1; -x_63 = x_2 + x_62; -x_64 = x_60; -x_65 = lean_array_uset(x_12, x_2, x_64); -x_2 = x_63; -x_3 = x_65; -x_6 = x_61; -goto _start; -} -} -} -} -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +uint8_t x_23; +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_st_ref_take(x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -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_ctor_get(x_7, 2); -lean_dec(x_11); -x_12 = lean_box(0); -x_13 = l_Lean_Elab_Command_modifyScope___closed__4; -x_14 = lean_panic_fn(x_12, x_13); -lean_ctor_set(x_7, 2, x_14); -x_15 = lean_st_ref_set(x_4, x_7, x_9); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); return x_15; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -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; 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_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -x_24 = lean_ctor_get(x_7, 3); -x_25 = lean_ctor_get(x_7, 4); -x_26 = lean_ctor_get(x_7, 5); -x_27 = lean_ctor_get(x_7, 6); -x_28 = lean_ctor_get(x_7, 7); -x_29 = lean_ctor_get(x_7, 8); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); lean_inc(x_25); lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_7); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_modifyScope___closed__4; -x_32 = lean_panic_fn(x_30, x_31); -x_33 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_33, 0, x_22); -lean_ctor_set(x_33, 1, x_23); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set(x_33, 3, x_24); -lean_ctor_set(x_33, 4, x_25); -lean_ctor_set(x_33, 5, x_26); -lean_ctor_set(x_33, 6, x_27); -lean_ctor_set(x_33, 7, x_28); -lean_ctor_set(x_33, 8, x_29); -x_34 = lean_st_ref_set(x_4, x_33, x_9); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_36 = x_34; -} else { - lean_dec_ref(x_34); - x_36 = lean_box(0); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } -x_37 = lean_box(0); -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_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; -} -} -else -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_8, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_6, 1); -lean_inc(x_40); -lean_dec(x_6); -x_41 = !lean_is_exclusive(x_7); -if (x_41 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_7, 2); -lean_dec(x_42); -x_43 = !lean_is_exclusive(x_8); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_8, 0); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_39); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_46 = lean_ctor_get(x_39, 5); -x_47 = lean_ctor_get(x_39, 6); -x_48 = l_Array_append___rarg(x_46, x_1); -x_49 = l_Array_append___rarg(x_47, x_2); -lean_ctor_set(x_39, 6, x_49); -lean_ctor_set(x_39, 5, x_48); -x_50 = lean_st_ref_set(x_4, x_7, x_40); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = lean_box(0); -lean_ctor_set(x_50, 0, x_53); -return x_50; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -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_54); -return x_56; -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_57 = lean_ctor_get(x_39, 0); -x_58 = lean_ctor_get(x_39, 1); -x_59 = lean_ctor_get(x_39, 2); -x_60 = lean_ctor_get(x_39, 3); -x_61 = lean_ctor_get(x_39, 4); -x_62 = lean_ctor_get(x_39, 5); -x_63 = lean_ctor_get(x_39, 6); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_39); -x_64 = l_Array_append___rarg(x_62, x_1); -x_65 = l_Array_append___rarg(x_63, x_2); -x_66 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_66, 0, x_57); -lean_ctor_set(x_66, 1, x_58); -lean_ctor_set(x_66, 2, x_59); -lean_ctor_set(x_66, 3, x_60); -lean_ctor_set(x_66, 4, x_61); -lean_ctor_set(x_66, 5, x_64); -lean_ctor_set(x_66, 6, x_65); -lean_ctor_set(x_8, 0, x_66); -x_67 = lean_st_ref_set(x_4, x_7, x_40); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; -} else { - lean_dec_ref(x_67); - x_69 = lean_box(0); -} -x_70 = lean_box(0); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_69; -} -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_72 = lean_ctor_get(x_8, 1); -lean_inc(x_72); -lean_dec(x_8); -x_73 = lean_ctor_get(x_39, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_39, 1); -lean_inc(x_74); -x_75 = lean_ctor_get(x_39, 2); -lean_inc(x_75); -x_76 = lean_ctor_get(x_39, 3); -lean_inc(x_76); -x_77 = lean_ctor_get(x_39, 4); -lean_inc(x_77); -x_78 = lean_ctor_get(x_39, 5); -lean_inc(x_78); -x_79 = lean_ctor_get(x_39, 6); -lean_inc(x_79); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - lean_ctor_release(x_39, 3); - lean_ctor_release(x_39, 4); - lean_ctor_release(x_39, 5); - lean_ctor_release(x_39, 6); - x_80 = x_39; -} else { - lean_dec_ref(x_39); - x_80 = lean_box(0); -} -x_81 = l_Array_append___rarg(x_78, x_1); -x_82 = l_Array_append___rarg(x_79, x_2); -if (lean_is_scalar(x_80)) { - x_83 = lean_alloc_ctor(0, 7, 0); -} else { - x_83 = x_80; -} -lean_ctor_set(x_83, 0, x_73); -lean_ctor_set(x_83, 1, x_74); -lean_ctor_set(x_83, 2, x_75); -lean_ctor_set(x_83, 3, x_76); -lean_ctor_set(x_83, 4, x_77); -lean_ctor_set(x_83, 5, x_81); -lean_ctor_set(x_83, 6, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_72); -lean_ctor_set(x_7, 2, x_84); -x_85 = lean_st_ref_set(x_4, x_7, x_40); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; -} else { - lean_dec_ref(x_85); - x_87 = lean_box(0); -} -x_88 = lean_box(0); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_87; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; -} -} -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; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_90 = lean_ctor_get(x_7, 0); -x_91 = lean_ctor_get(x_7, 1); -x_92 = lean_ctor_get(x_7, 3); -x_93 = lean_ctor_get(x_7, 4); -x_94 = lean_ctor_get(x_7, 5); -x_95 = lean_ctor_get(x_7, 6); -x_96 = lean_ctor_get(x_7, 7); -x_97 = lean_ctor_get(x_7, 8); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_7); -x_98 = lean_ctor_get(x_8, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_99 = x_8; -} else { - lean_dec_ref(x_8); - x_99 = lean_box(0); -} -x_100 = lean_ctor_get(x_39, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_39, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_39, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_39, 3); -lean_inc(x_103); -x_104 = lean_ctor_get(x_39, 4); -lean_inc(x_104); -x_105 = lean_ctor_get(x_39, 5); -lean_inc(x_105); -x_106 = lean_ctor_get(x_39, 6); -lean_inc(x_106); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - lean_ctor_release(x_39, 3); - lean_ctor_release(x_39, 4); - lean_ctor_release(x_39, 5); - lean_ctor_release(x_39, 6); - x_107 = x_39; -} else { - lean_dec_ref(x_39); - x_107 = lean_box(0); -} -x_108 = l_Array_append___rarg(x_105, x_1); -x_109 = l_Array_append___rarg(x_106, x_2); -if (lean_is_scalar(x_107)) { - x_110 = lean_alloc_ctor(0, 7, 0); -} else { - x_110 = x_107; -} -lean_ctor_set(x_110, 0, x_100); -lean_ctor_set(x_110, 1, x_101); -lean_ctor_set(x_110, 2, x_102); -lean_ctor_set(x_110, 3, x_103); -lean_ctor_set(x_110, 4, x_104); -lean_ctor_set(x_110, 5, x_108); -lean_ctor_set(x_110, 6, x_109); -if (lean_is_scalar(x_99)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_99; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_98); -x_112 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_112, 0, x_90); -lean_ctor_set(x_112, 1, x_91); -lean_ctor_set(x_112, 2, x_111); -lean_ctor_set(x_112, 3, x_92); -lean_ctor_set(x_112, 4, x_93); -lean_ctor_set(x_112, 5, x_94); -lean_ctor_set(x_112, 6, x_95); -lean_ctor_set(x_112, 7, x_96); -lean_ctor_set(x_112, 8, x_97); -x_113 = lean_st_ref_set(x_4, x_112, x_40); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_115 = x_113; -} else { - lean_dec_ref(x_113); - x_115 = lean_box(0); -} -x_116 = lean_box(0); -if (lean_is_scalar(x_115)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_115; -} -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_114); -return x_117; } } } @@ -28459,6 +27347,54 @@ return x_69; } } } +lean_object* l_Lean_Elab_Command_elabVariable___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 5); +x_6 = lean_ctor_get(x_3, 6); +x_7 = l_Array_append___rarg(x_5, x_1); +x_8 = l_Array_append___rarg(x_6, x_2); +lean_ctor_set(x_3, 6, x_8); +lean_ctor_set(x_3, 5, x_7); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_3, 2); +x_12 = lean_ctor_get(x_3, 3); +x_13 = lean_ctor_get(x_3, 4); +x_14 = lean_ctor_get(x_3, 5); +x_15 = lean_ctor_get(x_3, 6); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_3); +x_16 = l_Array_append___rarg(x_14, x_1); +x_17 = l_Array_append___rarg(x_15, x_2); +x_18 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_10); +lean_ctor_set(x_18, 2, x_11); +lean_ctor_set(x_18, 3, x_12); +lean_ctor_set(x_18, 4, x_13); +lean_ctor_set(x_18, 5, x_16); +lean_ctor_set(x_18, 6, x_17); +return x_18; +} +} +} static lean_object* _init_l_Lean_Elab_Command_elabVariable___closed__1() { _start: { @@ -28542,36 +27478,36 @@ x_23 = lean_nat_dec_lt(x_22, x_21); x_24 = 0; if (x_23 == 0) { -lean_object* x_42; +lean_object* x_43; lean_dec(x_21); -x_42 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_25 = x_42; -goto block_41; +x_43 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; +x_25 = x_43; +goto block_42; } else { -uint8_t x_43; -x_43 = lean_nat_dec_le(x_21, x_21); -if (x_43 == 0) +uint8_t x_44; +x_44 = lean_nat_dec_le(x_21, x_21); +if (x_44 == 0) { -lean_object* x_44; +lean_object* x_45; lean_dec(x_21); -x_44 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_25 = x_44; -goto block_41; +x_45 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; +x_25 = x_45; +goto block_42; } else { -size_t x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_usize_of_nat(x_21); +size_t x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_usize_of_nat(x_21); lean_dec(x_21); -x_46 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_47 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(x_10, x_24, x_45, x_46); -x_25 = x_47; -goto block_41; +x_47 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; +x_48 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(x_10, x_24, x_46, x_47); +x_25 = x_48; +goto block_42; } } -block_41: +block_42: { lean_object* x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_26 = lean_array_get_size(x_25); @@ -28590,69 +27526,70 @@ lean_inc(x_2); x_33 = lean_apply_3(x_32, x_2, x_3, x_20); if (lean_obj_tag(x_33) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3(x_10, x_34, x_2, x_3, x_35); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabVariable___lambda__3___boxed), 3, 2); +lean_closure_set(x_36, 0, x_10); +lean_closure_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Command_modifyScope(x_36, x_2, x_3, x_35); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_34); -lean_dec(x_10); -return x_36; +return x_37; } else { -uint8_t x_37; +uint8_t x_38; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); -x_37 = !lean_is_exclusive(x_33); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) { return x_33; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = lean_ctor_get(x_33, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +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_inc(x_38); lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } } else { -uint8_t x_48; +uint8_t x_49; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_19); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_19); +if (x_49 == 0) { return x_19; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_19, 0); -x_50 = lean_ctor_get(x_19, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_19, 0); +x_51 = lean_ctor_get(x_19, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); lean_dec(x_19); -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; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } @@ -28677,23 +27614,9 @@ lean_dec(x_1); x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2(x_7, x_8, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); return x_9; } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} lean_object* l_Lean_Elab_Command_elabVariable___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) { _start: { @@ -28718,6 +27641,16 @@ lean_dec(x_1); return x_11; } } +lean_object* l_Lean_Elab_Command_elabVariable___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabVariable___lambda__3(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1() { _start: { @@ -34349,7 +33282,7 @@ lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_dec(x_2); lean_dec(x_1); x_14 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___closed__2; -x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_14, x_3, x_4, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_14, x_3, x_4, x_11); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -34609,383 +33542,44 @@ return x_49; } } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabSetOption___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_st_ref_take(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) { -lean_object* x_8; uint8_t x_9; -lean_dec(x_1); -x_8 = lean_ctor_get(x_5, 1); +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 1); +lean_dec(x_4); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +else +{ +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; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_ctor_get(x_2, 3); +x_8 = lean_ctor_get(x_2, 4); +x_9 = lean_ctor_get(x_2, 5); +x_10 = lean_ctor_get(x_2, 6); +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); -lean_dec(x_5); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -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_ctor_get(x_6, 2); -lean_dec(x_10); -x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_modifyScope___closed__4; -x_13 = lean_panic_fn(x_11, x_12); -lean_ctor_set(x_6, 2, x_13); -x_14 = lean_st_ref_set(x_3, x_6, x_8); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -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_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; -x_21 = lean_ctor_get(x_6, 0); -x_22 = lean_ctor_get(x_6, 1); -x_23 = lean_ctor_get(x_6, 3); -x_24 = lean_ctor_get(x_6, 4); -x_25 = lean_ctor_get(x_6, 5); -x_26 = lean_ctor_get(x_6, 6); -x_27 = lean_ctor_get(x_6, 7); -x_28 = lean_ctor_get(x_6, 8); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_6); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_modifyScope___closed__4; -x_31 = lean_panic_fn(x_29, x_30); -x_32 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_22); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set(x_32, 3, x_23); -lean_ctor_set(x_32, 4, x_24); -lean_ctor_set(x_32, 5, x_25); -lean_ctor_set(x_32, 6, x_26); -lean_ctor_set(x_32, 7, x_27); -lean_ctor_set(x_32, 8, x_28); -x_33 = lean_st_ref_set(x_3, x_32, x_8); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; -} else { - lean_dec_ref(x_33); - x_35 = lean_box(0); -} -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_7, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_5, 1); -lean_inc(x_39); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_6); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_6, 2); -lean_dec(x_41); -x_42 = !lean_is_exclusive(x_7); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_7, 0); -lean_dec(x_43); -x_44 = !lean_is_exclusive(x_38); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = lean_ctor_get(x_38, 1); -lean_dec(x_45); -lean_ctor_set(x_38, 1, x_1); -x_46 = lean_st_ref_set(x_3, x_6, x_39); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(0); -lean_ctor_set(x_46, 0, x_49); -return x_46; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_53 = lean_ctor_get(x_38, 0); -x_54 = lean_ctor_get(x_38, 2); -x_55 = lean_ctor_get(x_38, 3); -x_56 = lean_ctor_get(x_38, 4); -x_57 = lean_ctor_get(x_38, 5); -x_58 = lean_ctor_get(x_38, 6); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_38); -x_59 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_1); -lean_ctor_set(x_59, 2, x_54); -lean_ctor_set(x_59, 3, x_55); -lean_ctor_set(x_59, 4, x_56); -lean_ctor_set(x_59, 5, x_57); -lean_ctor_set(x_59, 6, x_58); -lean_ctor_set(x_7, 0, x_59); -x_60 = lean_st_ref_set(x_3, x_6, x_39); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; -} else { - lean_dec_ref(x_60); - x_62 = lean_box(0); -} -x_63 = lean_box(0); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_62; -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; -} -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_65 = lean_ctor_get(x_7, 1); -lean_inc(x_65); -lean_dec(x_7); -x_66 = lean_ctor_get(x_38, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_38, 2); -lean_inc(x_67); -x_68 = lean_ctor_get(x_38, 3); -lean_inc(x_68); -x_69 = lean_ctor_get(x_38, 4); -lean_inc(x_69); -x_70 = lean_ctor_get(x_38, 5); -lean_inc(x_70); -x_71 = lean_ctor_get(x_38, 6); -lean_inc(x_71); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_72 = x_38; -} else { - lean_dec_ref(x_38); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(0, 7, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_66); -lean_ctor_set(x_73, 1, x_1); -lean_ctor_set(x_73, 2, x_67); -lean_ctor_set(x_73, 3, x_68); -lean_ctor_set(x_73, 4, x_69); -lean_ctor_set(x_73, 5, x_70); -lean_ctor_set(x_73, 6, x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_65); -lean_ctor_set(x_6, 2, x_74); -x_75 = lean_st_ref_set(x_3, x_6, x_39); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_80 = lean_ctor_get(x_6, 0); -x_81 = lean_ctor_get(x_6, 1); -x_82 = lean_ctor_get(x_6, 3); -x_83 = lean_ctor_get(x_6, 4); -x_84 = lean_ctor_get(x_6, 5); -x_85 = lean_ctor_get(x_6, 6); -x_86 = lean_ctor_get(x_6, 7); -x_87 = lean_ctor_get(x_6, 8); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_6); -x_88 = lean_ctor_get(x_7, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_89 = x_7; -} else { - lean_dec_ref(x_7); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get(x_38, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_38, 2); -lean_inc(x_91); -x_92 = lean_ctor_get(x_38, 3); -lean_inc(x_92); -x_93 = lean_ctor_get(x_38, 4); -lean_inc(x_93); -x_94 = lean_ctor_get(x_38, 5); -lean_inc(x_94); -x_95 = lean_ctor_get(x_38, 6); -lean_inc(x_95); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_96 = x_38; -} else { - lean_dec_ref(x_38); - x_96 = lean_box(0); -} -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 7, 0); -} else { - x_97 = x_96; -} -lean_ctor_set(x_97, 0, x_90); -lean_ctor_set(x_97, 1, x_1); -lean_ctor_set(x_97, 2, x_91); -lean_ctor_set(x_97, 3, x_92); -lean_ctor_set(x_97, 4, x_93); -lean_ctor_set(x_97, 5, x_94); -lean_ctor_set(x_97, 6, x_95); -if (lean_is_scalar(x_89)) { - x_98 = lean_alloc_ctor(1, 2, 0); -} else { - x_98 = x_89; -} -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_88); -x_99 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_99, 0, x_80); -lean_ctor_set(x_99, 1, x_81); -lean_ctor_set(x_99, 2, x_98); -lean_ctor_set(x_99, 3, x_82); -lean_ctor_set(x_99, 4, x_83); -lean_ctor_set(x_99, 5, x_84); -lean_ctor_set(x_99, 6, x_85); -lean_ctor_set(x_99, 7, x_86); -lean_ctor_set(x_99, 8, x_87); -x_100 = lean_st_ref_set(x_3, x_99, x_39); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -x_103 = lean_box(0); -if (lean_is_scalar(x_102)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_102; -} -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_101); -return x_104; -} +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_2); +x_11 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_1); +lean_ctor_set(x_11, 2, x_6); +lean_ctor_set(x_11, 3, x_7); +lean_ctor_set(x_11, 4, x_8); +lean_ctor_set(x_11, 5, x_9); +lean_ctor_set(x_11, 6, x_10); +return x_11; } } } @@ -35017,7 +33611,7 @@ 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; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_16 = lean_ctor_get(x_13, 4); lean_dec(x_16); x_17 = l_Lean_maxRecDepth; @@ -35027,21 +33621,24 @@ x_19 = lean_st_ref_set(x_3, x_13, x_14); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4(x_10, x_2, x_3, x_20); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSetOption___lambda__1), 2, 1); +lean_closure_set(x_21, 0, x_10); +x_22 = l_Lean_Elab_Command_modifyScope(x_21, x_2, x_3, x_20); lean_dec(x_2); -return x_21; +return x_22; } 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; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -x_24 = lean_ctor_get(x_13, 2); -x_25 = lean_ctor_get(x_13, 3); -x_26 = lean_ctor_get(x_13, 5); -x_27 = lean_ctor_get(x_13, 6); -x_28 = lean_ctor_get(x_13, 7); -x_29 = lean_ctor_get(x_13, 8); +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; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +x_25 = lean_ctor_get(x_13, 2); +x_26 = lean_ctor_get(x_13, 3); +x_27 = lean_ctor_get(x_13, 5); +x_28 = lean_ctor_get(x_13, 6); +x_29 = lean_ctor_get(x_13, 7); +x_30 = lean_ctor_get(x_13, 8); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); @@ -35049,50 +33646,51 @@ lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); lean_dec(x_13); -x_30 = l_Lean_maxRecDepth; -x_31 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_10, x_30); -x_32 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_32, 0, x_22); -lean_ctor_set(x_32, 1, x_23); -lean_ctor_set(x_32, 2, x_24); -lean_ctor_set(x_32, 3, x_25); -lean_ctor_set(x_32, 4, x_31); -lean_ctor_set(x_32, 5, x_26); -lean_ctor_set(x_32, 6, x_27); -lean_ctor_set(x_32, 7, x_28); -lean_ctor_set(x_32, 8, x_29); -x_33 = lean_st_ref_set(x_3, x_32, x_14); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4(x_10, x_2, x_3, x_34); +x_31 = l_Lean_maxRecDepth; +x_32 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_10, x_31); +x_33 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_32); +lean_ctor_set(x_33, 5, x_27); +lean_ctor_set(x_33, 6, x_28); +lean_ctor_set(x_33, 7, x_29); +lean_ctor_set(x_33, 8, x_30); +x_34 = lean_st_ref_set(x_3, x_33, x_14); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSetOption___lambda__1), 2, 1); +lean_closure_set(x_36, 0, x_10); +x_37 = l_Lean_Elab_Command_modifyScope(x_36, x_2, x_3, x_35); lean_dec(x_2); -return x_35; +return x_37; } } else { -uint8_t x_36; +uint8_t x_38; lean_dec(x_2); -x_36 = !lean_is_exclusive(x_9); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { return x_9; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_9, 0); -x_38 = lean_ctor_get(x_9, 1); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_9, 0); +x_40 = lean_ctor_get(x_9, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_9); -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; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -35136,16 +33734,6 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4___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_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -35259,7 +33847,7 @@ x_4 = lean_unsigned_to_nat(0u); x_5 = l_Lean_Syntax_getArg(x_1, x_4); x_6 = lean_unsigned_to_nat(2u); x_7 = l_Lean_Syntax_getArg(x_1, x_6); -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -35473,7 +34061,7 @@ x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId__ x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_17 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -35527,11 +34115,11 @@ x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId__ x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_14 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_4, x_5, x_6); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_15, x_4, x_5, x_6); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -35607,11 +34195,11 @@ x_14 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_16 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_17, x_2, x_3, x_7); +x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_17, x_2, x_3, x_7); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -35644,11 +34232,11 @@ x_25 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId__ x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_27 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_28, x_2, x_3, x_7); +x_29 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_28, x_2, x_3, x_7); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -36119,7 +34707,7 @@ x_14 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_4, x_5, x_6); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_15, x_4, x_5, x_6); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -36340,11 +34928,11 @@ _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; x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_1); -x_6 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2; +x_6 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2; x_7 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4; +x_8 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; x_9 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -37260,27 +35848,13 @@ l_Lean_Elab_Command_commandElabAttribute___closed__15 = _init_l_Lean_Elab_Comman lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute___closed__15); l_Lean_Elab_Command_commandElabAttribute___closed__16 = _init_l_Lean_Elab_Command_commandElabAttribute___closed__16(); lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute___closed__16); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1358_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1360_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute); lean_dec_ref(res); l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1 = _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1(); lean_mark_persistent(l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1); -l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1); -l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2); -l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3); -l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4); -l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1); -l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2); -l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3); l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1); l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2(); @@ -37303,17 +35877,17 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4); l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM(); lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724____closed__4); l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1 = _init_l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1724_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors); @@ -37322,41 +35896,61 @@ l_Lean_Elab_Command_withLogging___closed__1 = _init_l_Lean_Elab_Command_withLogg lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__1); l_Lean_Elab_Command_withLogging___closed__2 = _init_l_Lean_Elab_Command_withLogging___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822____closed__2); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1822_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__2); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__3); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1); +l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1); +l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__2); +l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3); +l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__4); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1); l_Lean_Elab_Command_elabCommand___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__1); l_Lean_Elab_Command_elabCommand___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__2); -l_Lean_Elab_Command_elabCommand___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__3); -l_Lean_Elab_Command_elabCommand___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__4); -l_Lean_Elab_Command_elabCommand___lambda__2___closed__5 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__5); -l_Lean_Elab_Command_elabCommand___lambda__2___closed__6 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__6); +l_Lean_Elab_Command_elabCommand___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__3___closed__1); +l_Lean_Elab_Command_elabCommand___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__3___closed__2); +l_Lean_Elab_Command_elabCommand___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__3___closed__3); +l_Lean_Elab_Command_elabCommand___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__3___closed__4); l_Lean_Elab_Command_elabCommand___closed__1 = _init_l_Lean_Elab_Command_elabCommand___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__1); l_Lean_Elab_Command_elabCommand___closed__2 = _init_l_Lean_Elab_Command_elabCommand___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__2); +l_Lean_Elab_Command_elabCommand___closed__3 = _init_l_Lean_Elab_Command_elabCommand___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__3); +l_Lean_Elab_Command_elabCommand___closed__4 = _init_l_Lean_Elab_Command_elabCommand___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__4); +l_Lean_Elab_Command_elabCommand___boxed__const__1 = _init_l_Lean_Elab_Command_elabCommand___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___boxed__const__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__6); l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1); l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1(); @@ -37385,6 +35979,14 @@ l_Lean_Elab_Command_getBracketedBinderIds___closed__9 = _init_l_Lean_Elab_Comman lean_mark_persistent(l_Lean_Elab_Command_getBracketedBinderIds___closed__9); l_Lean_Elab_Command_getBracketedBinderIds___closed__10 = _init_l_Lean_Elab_Command_getBracketedBinderIds___closed__10(); lean_mark_persistent(l_Lean_Elab_Command_getBracketedBinderIds___closed__10); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed__const__1); +l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1 = _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed__const__1); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1); +l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1 = _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1); l_Lean_Elab_Command_liftTermElabM___rarg___closed__1 = _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_liftTermElabM___rarg___closed__1); l_Lean_Elab_Command_liftTermElabM___rarg___closed__2 = _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__2(); @@ -37397,10 +35999,6 @@ l_Lean_Elab_Command_liftTermElabM___rarg___closed__5 = _init_l_Lean_Elab_Command lean_mark_persistent(l_Lean_Elab_Command_liftTermElabM___rarg___closed__5); l_Lean_Elab_Command_liftTermElabM___rarg___closed__6 = _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_liftTermElabM___rarg___closed__6); -l_Lean_Elab_Command_liftTermElabM___rarg___closed__7 = _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_liftTermElabM___rarg___closed__7); -l_Lean_Elab_Command_liftTermElabM___rarg___closed__8 = _init_l_Lean_Elab_Command_liftTermElabM___rarg___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_liftTermElabM___rarg___closed__8); l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1); l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__2 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__2(); @@ -37468,14 +36066,14 @@ l_Lean_Elab_Command_modifyScope___closed__3 = _init_l_Lean_Elab_Command_modifySc lean_mark_persistent(l_Lean_Elab_Command_modifyScope___closed__3); l_Lean_Elab_Command_modifyScope___closed__4 = _init_l_Lean_Elab_Command_modifyScope___closed__4(); lean_mark_persistent(l_Lean_Elab_Command_modifyScope___closed__4); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__1); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__2); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__3); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__2___closed__4); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__2); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4); l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1); l___regBuiltin_Lean_Elab_Command_elbChoice___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elbChoice___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 3ea56463f2..b34040c682 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -16,13 +16,13 @@ extern "C" { lean_object* l_Lean_Elab_Command_elabDeclaration(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitialize(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_expandMutualElement_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__4; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__20; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__9; @@ -30,14 +30,12 @@ size_t l_USize_add(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5; lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3; lean_object* l_Lean_Elab_Command_expandMutualElement_match__2(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__24; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__63; -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__37; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__1; @@ -51,6 +49,7 @@ static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__7; lean_object* l_Lean_Elab_Command_elabMutualDef(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f(lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__13; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -59,6 +58,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_ static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -95,6 +95,7 @@ lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___boxed(lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__20; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__1; lean_object* l_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,6 +121,8 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__3(lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__7; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__22; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7(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_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__4; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); @@ -144,15 +147,18 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__4___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(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_LocalContext_empty; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__1(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___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*); static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandBuiltinInitialize___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabAxiom___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -163,6 +169,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutual lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__51; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__10; lean_object* l_Lean_Elab_Command_expandMutualPreamble_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -179,12 +186,12 @@ static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__56; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__66; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__14; lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8(size_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMutualNamespace___closed__1; static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; lean_object* l_Lean_Elab_Command_elabAttr_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive___spec__1(lean_object*, size_t, size_t); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___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*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__12; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,32 +204,37 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___s static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__6; 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* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__5; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__43; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__10; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__32; +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__58; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__26; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_elabClassInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__26; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__65; lean_object* l_Lean_Elab_Command_expandInitialize___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___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_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4; +lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__5; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__39; +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3; lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__3; +lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__2; +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___closed__1; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__21; static lean_object* l_Lean_Elab_Command_expandMutualElement___closed__1; @@ -242,10 +254,13 @@ lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__3; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___boxed(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_isMutualInductive___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_elabMutual___closed__2; lean_object* l_Lean_Elab_Command_elabAxiom_match__2___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__4; +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2; +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1; static lean_object* l_Lean_Elab_Command_elabAttr___closed__1; size_t lean_usize_of_nat(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__2; @@ -269,6 +284,7 @@ lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object* l_Lean_Elab_Command_expandMutualElement(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabClassInductive___closed__1; lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -290,6 +306,7 @@ extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__2; static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__61; lean_object* l_Lean_Elab_Command_elabMutual(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive(lean_object*, lean_object*, lean_object*, lean_object*); @@ -304,6 +321,7 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabInductive___closed__1; lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__5; @@ -315,15 +333,19 @@ lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__2(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualElement___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__13; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__41; static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__9; +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3; lean_object* l_Array_ofSubarray___rarg(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___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* l_Lean_Elab_Command_expandMutualNamespace_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__3; +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__24; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble_loop(lean_object*, lean_object*); @@ -332,6 +354,8 @@ lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__2; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -342,8 +366,10 @@ uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__48; +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__6; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace(lean_object*, lean_object*, lean_object*); @@ -357,6 +383,7 @@ lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__18; lean_object* l_Lean_Elab_Term_elabBinders___rarg(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_elabMutualInductive___boxed__const__1; @@ -378,16 +405,19 @@ static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__2; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3(size_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___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_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__14; +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__25; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___closed__2; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__5; lean_object* l_Lean_Elab_Command_elabInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Command_elabAttr(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__1; @@ -395,6 +425,7 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2(lean_object*); lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__47; @@ -405,9 +436,12 @@ uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__60; lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__6; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__64; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__1(lean_object*); @@ -420,6 +454,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_ static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__25; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__5; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___closed__1; +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandBuiltinInitialize(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__2; @@ -430,6 +465,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___clos lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr(lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMutual___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement___closed__1; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -3337,7 +3373,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -3392,7 +3428,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -3447,7 +3483,7 @@ else { lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_8, x_2, x_3, x_4); +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_8, x_2, x_3, x_4); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -3767,7 +3803,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_2); lean_dec(x_1); x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___closed__2; -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_6, x_7, x_8); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_15, x_6, x_7, x_8); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -3963,7 +3999,7 @@ lean_dec(x_38); lean_dec(x_15); lean_dec(x_14); x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__2; -x_59 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_58, x_36, x_7, x_39); +x_59 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_58, x_36, x_7, x_39); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { @@ -4738,7 +4774,7 @@ return x_35; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_36 = lean_ctor_get(x_5, 0); lean_inc(x_36); lean_dec(x_5); @@ -4798,60 +4834,11 @@ x_67 = lean_array_push(x_66, x_63); x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_58); lean_ctor_set(x_68, 1, x_67); -x_69 = !lean_is_exclusive(x_2); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_2, 4); lean_inc(x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_1); -lean_ctor_set(x_71, 1, x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -lean_ctor_set(x_2, 4, x_72); -x_73 = l_Lean_Elab_Command_elabCommand(x_68, x_2, x_3, x_46); -lean_dec(x_2); -return x_73; -} -else -{ -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; -x_74 = lean_ctor_get(x_2, 0); -x_75 = lean_ctor_get(x_2, 1); -x_76 = lean_ctor_get(x_2, 2); -x_77 = lean_ctor_get(x_2, 3); -x_78 = lean_ctor_get(x_2, 4); -x_79 = lean_ctor_get(x_2, 5); -x_80 = lean_ctor_get(x_2, 6); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_2); -lean_inc(x_68); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_1); -lean_ctor_set(x_81, 1, x_68); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_78); -x_83 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_75); -lean_ctor_set(x_83, 2, x_76); -lean_ctor_set(x_83, 3, x_77); -lean_ctor_set(x_83, 4, x_82); -lean_ctor_set(x_83, 5, x_79); -lean_ctor_set(x_83, 6, x_80); -x_84 = l_Lean_Elab_Command_elabCommand(x_68, x_83, x_3, x_46); -lean_dec(x_83); -return x_84; -} +x_69 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_69, 0, x_68); +x_70 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_68, x_69, x_2, x_3, x_46); +return x_70; } } } @@ -6203,7 +6190,7 @@ x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_21); x_26 = l_Lean_Syntax_setArg(x_1, x_4, x_25); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_20); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_20); lean_dec(x_2); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -6914,7 +6901,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -6937,7 +6924,7 @@ x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_13); x_27 = l_Lean_Syntax_setArg(x_1, x_4, x_26); -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_16); +x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_16); x_29 = !lean_is_exclusive(x_28); if (x_29 == 0) { @@ -7323,7 +7310,7 @@ x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___clos x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_34, x_5, x_6, x_27); +x_35 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_34, x_5, x_6, x_27); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) { @@ -7426,7 +7413,7 @@ x_70 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___clos x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_71, x_5, x_6, x_64); +x_72 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_71, x_5, x_6, x_64); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); @@ -7473,7 +7460,526 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown constant '"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___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) { +_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_box(0); +x_10 = l_Lean_mkConst(x_1, x_9); +x_11 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_List_map___at_Lean_resolveGlobalConst___spec__2(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_inc(x_6); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(x_10, x_12); +x_14 = l_List_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +lean_dec(x_2); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_13); +x_17 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ambiguous identifier '"); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', possible interpretations: "); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4(x_1, x_2, x_3, 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) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_Lean_mkConst(x_1, x_12); +x_14 = lean_expr_dbg_to_string(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_12, x_10); +x_20 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_19); +x_21 = lean_string_append(x_18, x_20); +lean_dec(x_20); +x_22 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_9, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_10, 0); +lean_inc(x_30); +lean_dec(x_10); +lean_ctor_set(x_9, 0, x_30); +return x_9; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_9, 1); +lean_inc(x_31); +lean_dec(x_9); +x_32 = lean_ctor_get(x_10, 0); +lean_inc(x_32); +lean_dec(x_10); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_27); +x_34 = lean_ctor_get(x_9, 1); +lean_inc(x_34); +lean_dec(x_9); +x_35 = lean_box(0); +x_36 = l_Lean_mkConst(x_1, x_35); +x_37 = lean_expr_dbg_to_string(x_36); +lean_dec(x_36); +x_38 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1; +x_39 = lean_string_append(x_38, x_37); +lean_dec(x_37); +x_40 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2; +x_41 = lean_string_append(x_39, x_40); +x_42 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_35, x_10); +x_43 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_42); +x_44 = lean_string_append(x_41, x_43); +lean_dec(x_43); +x_45 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3; +x_46 = lean_string_append(x_44, x_45); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_6); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_9); +if (x_50 == 0) +{ +return x_9; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_9, 0); +x_52 = lean_ctor_get(x_9, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_9); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_ConstantInfo_levelParams(x_11); +lean_dec(x_11); +x_13 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_12); +x_14 = l_Lean_mkConst(x_1, x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = l_Lean_ConstantInfo_levelParams(x_15); +lean_dec(x_15); +x_18 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_17); +x_19 = l_Lean_mkConst(x_1, 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_16); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___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_inc(x_8); +lean_inc(x_4); +x_11 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_5, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 5); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_16, 0); +lean_dec(x_21); +lean_ctor_set(x_16, 0, x_12); +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +lean_inc(x_4); +lean_inc(x_12); +x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +if (lean_obj_tag(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; uint8_t x_34; +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 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_1); +x_30 = l_Lean_LocalContext_empty; +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_3); +lean_ctor_set(x_31, 3, x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_8); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_12); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_25); +if (x_38 == 0) +{ +return x_25; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_25, 0); +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_25); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_11); +if (x_42 == 0) +{ +return x_11; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_11, 0); +x_44 = lean_ctor_get(x_11, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_11); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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; @@ -7540,13 +8046,13 @@ return x_25; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t 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* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t 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; lean_inc(x_11); lean_inc(x_7); -x_14 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -7570,7 +8076,7 @@ x_19 = lean_array_get_size(x_5); x_20 = lean_usize_of_nat(x_19); lean_dec(x_19); x_21 = lean_box(0); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__2(x_15, x_5, x_20, x_6, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_18); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7(x_15, x_5, x_20, x_6, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_18); lean_dec(x_7); if (lean_obj_tag(x_22) == 0) { @@ -7673,7 +8179,7 @@ return x_38; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -7699,7 +8205,7 @@ x_16 = lean_box_usize(x_1); lean_inc(x_2); lean_inc(x_3); lean_inc(x_13); -x_17 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___lambda__1___boxed), 13, 6); +x_17 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___lambda__1___boxed), 13, 6); lean_closure_set(x_17, 0, x_13); lean_closure_set(x_17, 1, x_15); lean_closure_set(x_17, 2, x_14); @@ -7836,7 +8342,7 @@ x_23 = lean_array_get_size(x_22); x_24 = lean_usize_of_nat(x_23); lean_dec(x_23); x_25 = lean_box(0); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3(x_10, x_15, x_18, x_22, x_24, x_10, x_25, x_2, x_3, x_19); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8(x_10, x_15, x_18, x_22, x_24, x_10, x_25, x_2, x_3, x_19); lean_dec(x_2); lean_dec(x_22); if (lean_obj_tag(x_26) == 0) @@ -7961,7 +8467,99 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___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_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___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_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -7969,7 +8567,7 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__2(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__7(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7978,13 +8576,13 @@ lean_dec(x_2); return x_15; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___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, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___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, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; lean_object* x_15; x_14 = lean_unbox_usize(x_6); lean_dec(x_6); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -7993,7 +8591,7 @@ lean_dec(x_4); return x_15; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___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) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; size_t x_13; lean_object* x_14; @@ -8003,7 +8601,7 @@ x_12 = lean_unbox_usize(x_5); lean_dec(x_5); x_13 = lean_unbox_usize(x_6); lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3(x_11, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__8(x_11, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); @@ -8747,7 +9345,7 @@ x_14 = l_Lean_Syntax_getArg(x_6, x_5); lean_dec(x_6); x_15 = l_Lean_Syntax_getArg(x_14, x_5); lean_dec(x_14); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -9168,7 +9766,7 @@ else { lean_object* x_252; uint8_t x_253; lean_dec(x_6); -x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_3, x_4); x_253 = !lean_is_exclusive(x_252); if (x_253 == 0) { @@ -9963,6 +10561,20 @@ l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__5 = lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__5); l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__6(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__6); +l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__1); +l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__2); +l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__3); +l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___closed__4); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__1); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__2); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__3___closed__3); l_Lean_Elab_Command_elabAttr___closed__1 = _init_l_Lean_Elab_Command_elabAttr___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabAttr___closed__1); l___regBuiltin_Lean_Elab_Command_elabAttr___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabAttr___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 06040d1b40..35c552d578 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -162,6 +162,7 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main__ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__24; static lean_object* l_Lean_Elab_Command_MkInstanceName_main___closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedDefView; @@ -179,9 +180,9 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__6; lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2; uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__36; @@ -206,9 +207,8 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__12; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255_(lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__20; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__32; @@ -232,8 +232,6 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main__ lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__25; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9; -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__29; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -243,6 +241,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object* lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName(lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__3; +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Command_isDefLike___closed__5; lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); @@ -250,7 +249,6 @@ lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lea static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2; lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,6 +260,7 @@ uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__18; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__5; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__3; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__15; lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___boxed(lean_object*); @@ -281,6 +280,7 @@ lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object*, lean_object*, static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__22; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__33; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3; lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -4948,7 +4948,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -5009,7 +5009,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -5268,7 +5268,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -5329,7 +5329,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -6112,7 +6112,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -6173,7 +6173,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -6486,7 +6486,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -6547,7 +6547,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -7468,7 +7468,7 @@ lean_dec(x_4); return x_6; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1() { _start: { lean_object* x_1; @@ -7476,17 +7476,17 @@ x_1 = lean_mk_string("Elab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3() { _start: { lean_object* x_1; @@ -7494,21 +7494,21 @@ x_1 = lean_mk_string("definition"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -7737,15 +7737,15 @@ l_Lean_Elab_Command_mkDefView___closed__1 = _init_l_Lean_Elab_Command_mkDefView_ lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__1); l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255____closed__4); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1255_(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/Deriving/BEq.c b/stage0/stdlib/Lean/Elab/Deriving/BEq.c index 0d9cb53c67..df29dfde67 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/BEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/BEq.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__4; uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__10; @@ -27,6 +26,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__9; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); @@ -38,6 +38,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts lean_object* l_Lean_Elab_Deriving_BEq_mkBEqHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__9; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__2; +lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___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_Deriving_BEq_mkMatch_mkElseAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__1; @@ -104,6 +105,7 @@ lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__1___rarg(lean_object static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__5; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__3; static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__7; +lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__16; static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__12; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -146,8 +148,7 @@ static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__8; lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__5; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__8; -lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129_(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__3; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMutualBlock___spec__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*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__5; @@ -161,6 +162,7 @@ static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__16; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__3; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__5; @@ -188,7 +190,6 @@ lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_ lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__1___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__12; @@ -200,6 +201,7 @@ extern lean_object* l_Lean_instInhabitedInductiveVal; static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__28; static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__14; static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___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* l_Lean_throwError___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__2(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*); @@ -796,7 +798,7 @@ x_67 = lean_usize_of_nat(x_66); lean_dec(x_66); x_68 = 0; x_69 = x_41; -x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_67, x_68, x_69); +x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_67, x_68, x_69); x_71 = x_70; x_72 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_73 = l_Lean_mkSepArray(x_71, x_72); @@ -839,7 +841,7 @@ x_90 = lean_usize_of_nat(x_89); lean_dec(x_89); x_91 = 0; x_92 = x_41; -x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_90, x_91, x_92); +x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_90, x_91, x_92); x_94 = x_93; x_95 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_96 = l_Lean_mkSepArray(x_94, x_95); @@ -2247,7 +2249,7 @@ x_111 = lean_usize_of_nat(x_110); lean_dec(x_110); x_112 = 0; x_113 = x_99; -x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_111, x_112, x_113); +x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_111, x_112, x_113); x_115 = x_114; x_116 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_117 = l_Lean_mkSepArray(x_115, x_116); @@ -2289,7 +2291,7 @@ x_133 = lean_usize_of_nat(x_132); lean_dec(x_132); x_134 = 0; x_135 = x_99; -x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_133, x_134, x_135); +x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_133, x_134, x_135); x_137 = x_136; x_138 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_139 = l_Lean_mkSepArray(x_137, x_138); @@ -2507,7 +2509,7 @@ x_220 = lean_usize_of_nat(x_219); lean_dec(x_219); x_221 = 0; x_222 = x_208; -x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_220, x_221, x_222); +x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_220, x_221, x_222); x_224 = x_223; x_225 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_226 = l_Lean_mkSepArray(x_224, x_225); @@ -3035,7 +3037,7 @@ x_28 = lean_usize_of_nat(x_27); lean_dec(x_27); x_29 = 0; x_30 = x_12; -x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_28, x_29, x_30); +x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_28, x_29, x_30); x_32 = x_31; x_33 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_34 = l_Lean_mkSepArray(x_32, x_33); @@ -3093,7 +3095,7 @@ x_61 = lean_usize_of_nat(x_60); lean_dec(x_60); x_62 = 0; x_63 = x_12; -x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_61, x_62, x_63); +x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_61, x_62, x_63); x_65 = x_64; x_66 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_67 = l_Lean_mkSepArray(x_65, x_66); @@ -4742,6 +4744,16 @@ return x_12; } } } +lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} static lean_object* _init_l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__1() { _start: { @@ -4875,7 +4887,7 @@ x_21 = l_Lean_Elab_Deriving_mkInstanceCmds(x_14, x_19, x_1, x_20, x_2, x_3, x_4, lean_dec(x_14); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +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; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -4892,6 +4904,7 @@ x_25 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___sp x_26 = lean_array_push(x_25, x_17); x_27 = l_Array_append___rarg(x_26, x_22); lean_dec(x_22); +x_28 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__6; x_45 = lean_st_ref_get(x_7, x_23); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -4907,34 +4920,33 @@ x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); lean_dec(x_45); x_50 = 0; -x_28 = x_50; -x_29 = x_49; +x_29 = x_50; +x_30 = x_49; goto block_44; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_object* x_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); -x_52 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__6; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_54 = lean_ctor_get(x_53, 0); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, 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); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); +lean_dec(x_52); +x_55 = lean_unbox(x_53); lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_28 = x_56; x_29 = x_55; +x_30 = x_54; goto block_44; } block_44: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_30; +lean_object* x_31; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4942,33 +4954,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); if (lean_is_scalar(x_24)) { - x_30 = lean_alloc_ctor(0, 2, 0); + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_24; + x_31 = x_24; } -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +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_dec(x_24); lean_inc(x_27); -x_31 = lean_array_to_list(lean_box(0), x_27); -x_32 = l_List_map___at___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___spec__1(x_31); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__8; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__6; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_32 = lean_array_to_list(lean_box(0), x_27); +x_33 = l_List_map___at___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___spec__1(x_32); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__8; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_30); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5000,7 +5011,7 @@ return x_43; } else { -uint8_t x_57; +uint8_t x_56; lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); @@ -5008,29 +5019,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) +x_56 = !lean_is_exclusive(x_21); +if (x_56 == 0) { return x_21; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); lean_inc(x_58); +lean_inc(x_57); lean_dec(x_21); -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; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_61; +uint8_t x_60; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -5038,56 +5049,71 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_16); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_16); +if (x_60 == 0) { return x_16; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_16, 0); -x_63 = lean_ctor_get(x_16, 1); -lean_inc(x_63); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_16, 0); +x_62 = lean_ctor_get(x_16, 1); lean_inc(x_62); +lean_inc(x_61); lean_dec(x_16); -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; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_65; +uint8_t x_64; 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_65 = !lean_is_exclusive(x_13); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_13); +if (x_64 == 0) { return x_13; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_13, 0); -x_67 = lean_ctor_get(x_13, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_13, 0); +x_66 = lean_ctor_get(x_13, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_13); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } +lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___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: { @@ -5417,8 +5443,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); -lean_dec(x_2); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) { @@ -5522,8 +5547,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); -lean_dec(x_2); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) { @@ -5631,7 +5655,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1() { _start: { lean_object* x_1; @@ -5639,12 +5663,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler), return x_1; } } -lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_BEq_mkBEqHeader___rarg___closed__2; -x_3 = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1; +x_3 = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -5941,9 +5965,9 @@ l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds__ lean_mark_persistent(l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__9); l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10 = _init_l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10(); lean_mark_persistent(l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10); -l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1 = _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129____closed__1); -res = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2129_(lean_io_mk_world()); +l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1 = _init_l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179____closed__1); +res = l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2179_(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/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index 9d41fd0fce..84a3a574c1 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -57,7 +57,6 @@ static lean_object* l_Lean_Elab_elabDeriving___closed__7; static lean_object* l_Lean_Elab_defaultHandler___closed__6; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_elabDeriving___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_elabDeriving___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; static lean_object* l_Lean_Elab_elabDeriving___closed__3; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); @@ -67,7 +66,7 @@ lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_ob lean_object* l_Lean_Elab_applyDerivingHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabDeriving___closed__2; -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604_(lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_11_(lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_elabDeriving___spec__9(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,6 +77,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__2___closed__2; lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_defaultHandler___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabDeriving___closed__1; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -104,19 +104,19 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_elabDeriving___spec__2___closed__2; static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_elabDeriving___spec__2___closed__1; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_elabDeriving___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3; lean_object* l_Std_RBNode_find___at_Lean_Elab_applyDerivingHandlers___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeriving___lambda__1(lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_elabDeriving___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2; +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_elabDeriving___spec__5___closed__3; @@ -863,7 +863,7 @@ x_10 = l_Lean_throwUnknownConstant___at_Lean_Elab_elabDeriving___spec__5___close 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_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_11, x_2, x_3, x_4); return x_12; } } @@ -1804,7 +1804,7 @@ block_78: { lean_object* x_15; lean_object* x_16; x_15 = l_Lean_Elab_elabDeriving___closed__11; -x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_14, x_15); +x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_14, x_15); lean_dec(x_14); if (lean_obj_tag(x_16) == 0) { @@ -1869,7 +1869,7 @@ goto block_64; block_64: { lean_object* x_20; -x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_19, x_15); +x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_19, x_15); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { @@ -2459,7 +2459,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2469,7 +2469,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2() { _start: { lean_object* x_1; @@ -2477,21 +2477,21 @@ x_1 = lean_mk_string("Deriving"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -2581,13 +2581,13 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_elabDeriving___closed__5); res = l___regBuiltin_Lean_Elab_elabDeriving(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_603_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_604_(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/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index 4b1538a451..bc509d0a0f 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -14,62 +14,51 @@ extern "C" { #endif lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__2; uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__5; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__3; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__1; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__9; lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74; -lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__1; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___boxed(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__6; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25; lean_object* l_Lean_Meta_compatibleCtors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__23; lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__4; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__5; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26; lean_object* lean_array_get_size(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -77,210 +66,223 @@ lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__19; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__1(lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___boxed(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__21; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__6; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Elab_Deriving_DecEq_mkDecEqCmds___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; lean_object* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__2; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65; lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59; -lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__3; lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61; +static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__7; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__2; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__14; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36; lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__5; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__8; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__13; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__5; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__4; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, 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* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__18; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__15; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__7; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; +lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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_Lean_mkSepArray(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6; lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80; lean_object* l_Lean_Elab_Deriving_mkHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__10; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__10; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; lean_object* l_Lean_Elab_Deriving_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(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*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20; lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__4; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__2(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__16; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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*); -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs_match__1(lean_object*); lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; -lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438_(lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31; +lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488_(lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59; lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15; -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14; +lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__5; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; -static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1; lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__17; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__9; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__3; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__2___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__2; extern lean_object* l_Lean_instInhabitedInductiveVal; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__12; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__3; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__9; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__11; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__8; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__2; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77; static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47; lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__1; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__11; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__1; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__5; +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__8; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__1() { _start: @@ -417,7 +419,125 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("termDepIfThenElse"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("if"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("h"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term_=_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("then"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -425,9 +545,1693 @@ x_1 = lean_mk_string("Lean"); return x_1; } } +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("byTactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("by"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq1Indented"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("group"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("subst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("exact"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("else"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("isFalse"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46; +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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Decidable"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51; +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_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52; +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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("intro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("n"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60; +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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("injection"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("apply"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("assumption"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("let"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("letDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("letIdDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("inst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82; +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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_13 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_15); +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); +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_21); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3; +lean_inc(x_17); +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_17); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7; +lean_inc(x_20); +lean_inc(x_24); +x_29 = l_Lean_addMacroScope(x_24, x_28, x_20); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6; +lean_inc(x_17); +x_32 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_32, 0, x_17); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +x_33 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; +lean_inc(x_17); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11; +lean_inc(x_17); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_17); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; +lean_inc(x_3); +x_38 = lean_array_push(x_37, x_3); +x_39 = lean_array_push(x_38, x_36); +lean_inc(x_4); +x_40 = lean_array_push(x_39, x_4); +x_41 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13; +lean_inc(x_17); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_17); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22; +lean_inc(x_17); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_17); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33; +lean_inc(x_17); +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_17); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; +lean_inc(x_32); +x_50 = lean_array_push(x_49, x_32); +x_51 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; +x_54 = lean_array_push(x_53, x_48); +x_55 = lean_array_push(x_54, x_52); +x_56 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37; +lean_inc(x_17); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_17); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_49, x_59); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_51); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_array_push(x_53, x_57); +lean_inc(x_61); +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38; +lean_inc(x_17); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_17); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_array_push(x_53, x_67); +x_69 = lean_array_push(x_68, x_14); +x_70 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39; +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_53, x_71); +x_73 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_64); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_push(x_53, x_65); +x_77 = lean_array_push(x_76, x_75); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_51); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_49, x_78); +x_80 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28; +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_49, x_81); +x_83 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26; +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_53, x_46); +lean_inc(x_85); +x_86 = lean_array_push(x_85, x_84); +x_87 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42; +lean_inc(x_17); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_17); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48; +lean_inc(x_20); +lean_inc(x_24); +x_92 = l_Lean_addMacroScope(x_24, x_91, x_20); +x_93 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47; +x_94 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53; +lean_inc(x_17); +x_95 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_95, 0, x_17); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_95, 2, x_92); +lean_ctor_set(x_95, 3, x_94); +x_96 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56; +lean_inc(x_17); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_17); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57; +lean_inc(x_17); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_17); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62; +x_101 = l_Lean_addMacroScope(x_24, x_100, x_20); +x_102 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61; +lean_inc(x_17); +x_103 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_103, 0, x_17); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_101); +lean_ctor_set(x_103, 3, x_30); +lean_inc(x_103); +x_104 = lean_array_push(x_49, x_103); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_51); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_53, x_99); +x_107 = lean_array_push(x_106, x_105); +x_108 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = lean_array_push(x_53, x_109); +lean_inc(x_61); +x_111 = lean_array_push(x_110, x_61); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_64); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63; +lean_inc(x_17); +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_17); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_37, x_114); +x_116 = lean_array_push(x_115, x_103); +x_117 = lean_array_push(x_116, x_73); +x_118 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_53, x_119); +lean_inc(x_61); +x_121 = lean_array_push(x_120, x_61); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_64); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65; +lean_inc(x_17); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_17); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; +lean_inc(x_17); +x_126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_126, 0, x_17); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_49, x_126); +x_128 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_49, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_51); +lean_ctor_set(x_131, 1, x_130); +lean_inc(x_32); +x_132 = lean_array_push(x_53, x_32); +x_133 = lean_array_push(x_132, x_131); +x_134 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = lean_array_push(x_53, x_124); +x_137 = lean_array_push(x_136, x_135); +x_138 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = lean_array_push(x_53, x_139); +x_141 = lean_array_push(x_140, x_61); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_64); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70; +lean_inc(x_17); +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_17); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_array_push(x_49, x_144); +x_146 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_array_push(x_53, x_147); +x_149 = lean_array_push(x_148, x_73); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_64); +lean_ctor_set(x_150, 1, x_149); +x_151 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; +x_152 = lean_array_push(x_151, x_112); +x_153 = lean_array_push(x_152, x_122); +x_154 = lean_array_push(x_153, x_142); +x_155 = lean_array_push(x_154, x_150); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_51); +lean_ctor_set(x_156, 1, x_155); +x_157 = lean_array_push(x_49, x_156); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_80); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_49, x_158); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_83); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_85, x_160); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_87); +lean_ctor_set(x_162, 1, x_161); +x_163 = lean_array_push(x_53, x_162); +x_164 = lean_array_push(x_163, x_73); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_51); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73; +x_167 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_167, 0, x_17); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_array_push(x_37, x_97); +x_169 = lean_array_push(x_168, x_165); +x_170 = lean_array_push(x_169, x_167); +x_171 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_array_push(x_49, x_172); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_51); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_array_push(x_53, x_95); +x_176 = lean_array_push(x_175, x_174); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_134); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74; +x_179 = lean_array_push(x_178, x_27); +x_180 = lean_array_push(x_179, x_32); +x_181 = lean_array_push(x_180, x_34); +x_182 = lean_array_push(x_181, x_42); +x_183 = lean_array_push(x_182, x_44); +x_184 = lean_array_push(x_183, x_88); +x_185 = lean_array_push(x_184, x_90); +x_186 = lean_array_push(x_185, x_177); +x_187 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +if (x_5 == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +lean_ctor_set(x_22, 0, x_188); +return x_22; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +lean_free_object(x_22); +x_189 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_25); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_191); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_194); +lean_dec(x_11); +x_196 = !lean_is_exclusive(x_195); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_197 = lean_ctor_get(x_195, 0); +x_198 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75; +lean_inc(x_190); +x_199 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_199, 0, x_190); +lean_ctor_set(x_199, 1, x_198); +x_200 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84; +x_201 = l_Lean_addMacroScope(x_197, x_200, x_193); +x_202 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83; +lean_inc(x_190); +x_203 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_203, 0, x_190); +lean_ctor_set(x_203, 1, x_202); +lean_ctor_set(x_203, 2, x_201); +lean_ctor_set(x_203, 3, x_30); +x_204 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; +lean_inc(x_190); +x_205 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_205, 0, x_190); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_mk_syntax_ident(x_1); +x_207 = lean_array_push(x_53, x_3); +x_208 = lean_array_push(x_207, x_4); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_51); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_array_push(x_53, x_206); +x_211 = lean_array_push(x_210, x_209); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_134); +lean_ctor_set(x_212, 1, x_211); +x_213 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86; +x_214 = lean_array_push(x_213, x_203); +x_215 = lean_array_push(x_214, x_73); +x_216 = lean_array_push(x_215, x_73); +x_217 = lean_array_push(x_216, x_205); +x_218 = lean_array_push(x_217, x_212); +x_219 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80; +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_218); +x_221 = lean_array_push(x_49, x_220); +x_222 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78; +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_224, 0, x_190); +lean_ctor_set(x_224, 1, x_58); +x_225 = lean_array_push(x_49, x_224); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_51); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_array_push(x_151, x_199); +x_228 = lean_array_push(x_227, x_223); +x_229 = lean_array_push(x_228, x_226); +x_230 = lean_array_push(x_229, x_188); +x_231 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +lean_ctor_set(x_195, 0, x_232); +return x_195; +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_233 = lean_ctor_get(x_195, 0); +x_234 = lean_ctor_get(x_195, 1); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_195); +x_235 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75; +lean_inc(x_190); +x_236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_236, 0, x_190); +lean_ctor_set(x_236, 1, x_235); +x_237 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84; +x_238 = l_Lean_addMacroScope(x_233, x_237, x_193); +x_239 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83; +lean_inc(x_190); +x_240 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_240, 0, x_190); +lean_ctor_set(x_240, 1, x_239); +lean_ctor_set(x_240, 2, x_238); +lean_ctor_set(x_240, 3, x_30); +x_241 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; +lean_inc(x_190); +x_242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_242, 0, x_190); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_mk_syntax_ident(x_1); +x_244 = lean_array_push(x_53, x_3); +x_245 = lean_array_push(x_244, x_4); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_51); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_array_push(x_53, x_243); +x_248 = lean_array_push(x_247, x_246); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_134); +lean_ctor_set(x_249, 1, x_248); +x_250 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86; +x_251 = lean_array_push(x_250, x_240); +x_252 = lean_array_push(x_251, x_73); +x_253 = lean_array_push(x_252, x_73); +x_254 = lean_array_push(x_253, x_242); +x_255 = lean_array_push(x_254, x_249); +x_256 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80; +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_49, x_257); +x_259 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78; +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_190); +lean_ctor_set(x_261, 1, x_58); +x_262 = lean_array_push(x_49, x_261); +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_51); +lean_ctor_set(x_263, 1, x_262); +x_264 = lean_array_push(x_151, x_236); +x_265 = lean_array_push(x_264, x_260); +x_266 = lean_array_push(x_265, x_263); +x_267 = lean_array_push(x_266, x_188); +x_268 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76; +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_267); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_234); +return x_270; +} +} +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_271 = lean_ctor_get(x_22, 0); +x_272 = lean_ctor_get(x_22, 1); +lean_inc(x_272); +lean_inc(x_271); +lean_dec(x_22); +x_273 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3; +lean_inc(x_17); +x_274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_274, 0, x_17); +lean_ctor_set(x_274, 1, x_273); +x_275 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7; +lean_inc(x_20); +lean_inc(x_271); +x_276 = l_Lean_addMacroScope(x_271, x_275, x_20); +x_277 = lean_box(0); +x_278 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6; +lean_inc(x_17); +x_279 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_279, 0, x_17); +lean_ctor_set(x_279, 1, x_278); +lean_ctor_set(x_279, 2, x_276); +lean_ctor_set(x_279, 3, x_277); +x_280 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; +lean_inc(x_17); +x_281 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_281, 0, x_17); +lean_ctor_set(x_281, 1, x_280); +x_282 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11; +lean_inc(x_17); +x_283 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_283, 0, x_17); +lean_ctor_set(x_283, 1, x_282); +x_284 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; +lean_inc(x_3); +x_285 = lean_array_push(x_284, x_3); +x_286 = lean_array_push(x_285, x_283); +lean_inc(x_4); +x_287 = lean_array_push(x_286, x_4); +x_288 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10; +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_287); +x_290 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13; +lean_inc(x_17); +x_291 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_291, 0, x_17); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22; +lean_inc(x_17); +x_293 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_293, 0, x_17); +lean_ctor_set(x_293, 1, x_292); +x_294 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33; +lean_inc(x_17); +x_295 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_295, 0, x_17); +lean_ctor_set(x_295, 1, x_294); +x_296 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; +lean_inc(x_279); +x_297 = lean_array_push(x_296, x_279); +x_298 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; +x_301 = lean_array_push(x_300, x_295); +x_302 = lean_array_push(x_301, x_299); +x_303 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34; +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_302); +x_305 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37; +lean_inc(x_17); +x_306 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_306, 0, x_17); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_array_push(x_296, x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_298); +lean_ctor_set(x_308, 1, x_307); +x_309 = lean_array_push(x_300, x_304); +lean_inc(x_308); +x_310 = lean_array_push(x_309, x_308); +x_311 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32; +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_310); +x_313 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38; +lean_inc(x_17); +x_314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_314, 0, x_17); +lean_ctor_set(x_314, 1, x_313); +x_315 = lean_array_push(x_300, x_314); +x_316 = lean_array_push(x_315, x_14); +x_317 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39; +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_316); +x_319 = lean_array_push(x_300, x_318); +x_320 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; +x_321 = lean_array_push(x_319, x_320); +x_322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_322, 0, x_311); +lean_ctor_set(x_322, 1, x_321); +x_323 = lean_array_push(x_300, x_312); +x_324 = lean_array_push(x_323, x_322); +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_298); +lean_ctor_set(x_325, 1, x_324); +x_326 = lean_array_push(x_296, x_325); +x_327 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28; +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_326); +x_329 = lean_array_push(x_296, x_328); +x_330 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26; +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +x_332 = lean_array_push(x_300, x_293); +lean_inc(x_332); +x_333 = lean_array_push(x_332, x_331); +x_334 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21; +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 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42; +lean_inc(x_17); +x_337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_337, 0, x_17); +lean_ctor_set(x_337, 1, x_336); +x_338 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48; +lean_inc(x_20); +lean_inc(x_271); +x_339 = l_Lean_addMacroScope(x_271, x_338, x_20); +x_340 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47; +x_341 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53; +lean_inc(x_17); +x_342 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_342, 0, x_17); +lean_ctor_set(x_342, 1, x_340); +lean_ctor_set(x_342, 2, x_339); +lean_ctor_set(x_342, 3, x_341); +x_343 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56; +lean_inc(x_17); +x_344 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_344, 0, x_17); +lean_ctor_set(x_344, 1, x_343); +x_345 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57; +lean_inc(x_17); +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_17); +lean_ctor_set(x_346, 1, x_345); +x_347 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62; +x_348 = l_Lean_addMacroScope(x_271, x_347, x_20); +x_349 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61; +lean_inc(x_17); +x_350 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_350, 0, x_17); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set(x_350, 2, x_348); +lean_ctor_set(x_350, 3, x_277); +lean_inc(x_350); +x_351 = lean_array_push(x_296, x_350); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_298); +lean_ctor_set(x_352, 1, x_351); +x_353 = lean_array_push(x_300, x_346); +x_354 = lean_array_push(x_353, x_352); +x_355 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_354); +x_357 = lean_array_push(x_300, x_356); +lean_inc(x_308); +x_358 = lean_array_push(x_357, x_308); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_311); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63; +lean_inc(x_17); +x_361 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_361, 0, x_17); +lean_ctor_set(x_361, 1, x_360); +x_362 = lean_array_push(x_284, x_361); +x_363 = lean_array_push(x_362, x_350); +x_364 = lean_array_push(x_363, x_320); +x_365 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_array_push(x_300, x_366); +lean_inc(x_308); +x_368 = lean_array_push(x_367, x_308); +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_311); +lean_ctor_set(x_369, 1, x_368); +x_370 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65; +lean_inc(x_17); +x_371 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_371, 0, x_17); +lean_ctor_set(x_371, 1, x_370); +x_372 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; +lean_inc(x_17); +x_373 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_373, 0, x_17); +lean_ctor_set(x_373, 1, x_372); +x_374 = lean_array_push(x_296, x_373); +x_375 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_374); +x_377 = lean_array_push(x_296, x_376); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_298); +lean_ctor_set(x_378, 1, x_377); +lean_inc(x_279); +x_379 = lean_array_push(x_300, x_279); +x_380 = lean_array_push(x_379, x_378); +x_381 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +x_383 = lean_array_push(x_300, x_371); +x_384 = lean_array_push(x_383, x_382); +x_385 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66; +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_384); +x_387 = lean_array_push(x_300, x_386); +x_388 = lean_array_push(x_387, x_308); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_311); +lean_ctor_set(x_389, 1, x_388); +x_390 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70; +lean_inc(x_17); +x_391 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_391, 0, x_17); +lean_ctor_set(x_391, 1, x_390); +x_392 = lean_array_push(x_296, x_391); +x_393 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71; +x_394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_392); +x_395 = lean_array_push(x_300, x_394); +x_396 = lean_array_push(x_395, x_320); +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_311); +lean_ctor_set(x_397, 1, x_396); +x_398 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; +x_399 = lean_array_push(x_398, x_359); +x_400 = lean_array_push(x_399, x_369); +x_401 = lean_array_push(x_400, x_389); +x_402 = lean_array_push(x_401, x_397); +x_403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_403, 0, x_298); +lean_ctor_set(x_403, 1, x_402); +x_404 = lean_array_push(x_296, x_403); +x_405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_405, 0, x_327); +lean_ctor_set(x_405, 1, x_404); +x_406 = lean_array_push(x_296, x_405); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_330); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_332, x_407); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_334); +lean_ctor_set(x_409, 1, x_408); +x_410 = lean_array_push(x_300, x_409); +x_411 = lean_array_push(x_410, x_320); +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_298); +lean_ctor_set(x_412, 1, x_411); +x_413 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73; +x_414 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_414, 0, x_17); +lean_ctor_set(x_414, 1, x_413); +x_415 = lean_array_push(x_284, x_344); +x_416 = lean_array_push(x_415, x_412); +x_417 = lean_array_push(x_416, x_414); +x_418 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55; +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_417); +x_420 = lean_array_push(x_296, x_419); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_298); +lean_ctor_set(x_421, 1, x_420); +x_422 = lean_array_push(x_300, x_342); +x_423 = lean_array_push(x_422, x_421); +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_381); +lean_ctor_set(x_424, 1, x_423); +x_425 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74; +x_426 = lean_array_push(x_425, x_274); +x_427 = lean_array_push(x_426, x_279); +x_428 = lean_array_push(x_427, x_281); +x_429 = lean_array_push(x_428, x_289); +x_430 = lean_array_push(x_429, x_291); +x_431 = lean_array_push(x_430, x_335); +x_432 = lean_array_push(x_431, x_337); +x_433 = lean_array_push(x_432, x_424); +x_434 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2; +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +if (x_5 == 0) +{ +lean_object* x_436; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_436 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_436, 0, x_435); +lean_ctor_set(x_436, 1, x_272); +return x_436; +} +else +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; +x_437 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_10, x_11, x_272); +x_438 = lean_ctor_get(x_437, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_437, 1); +lean_inc(x_439); +lean_dec(x_437); +x_440 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_439); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_441 = lean_ctor_get(x_440, 0); +lean_inc(x_441); +x_442 = lean_ctor_get(x_440, 1); +lean_inc(x_442); +lean_dec(x_440); +x_443 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_442); +lean_dec(x_11); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + x_446 = x_443; +} else { + lean_dec_ref(x_443); + x_446 = lean_box(0); +} +x_447 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75; +lean_inc(x_438); +x_448 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_448, 0, x_438); +lean_ctor_set(x_448, 1, x_447); +x_449 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84; +x_450 = l_Lean_addMacroScope(x_444, x_449, x_441); +x_451 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83; +lean_inc(x_438); +x_452 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_452, 0, x_438); +lean_ctor_set(x_452, 1, x_451); +lean_ctor_set(x_452, 2, x_450); +lean_ctor_set(x_452, 3, x_277); +x_453 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; +lean_inc(x_438); +x_454 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_454, 0, x_438); +lean_ctor_set(x_454, 1, x_453); +x_455 = lean_mk_syntax_ident(x_1); +x_456 = lean_array_push(x_300, x_3); +x_457 = lean_array_push(x_456, x_4); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_298); +lean_ctor_set(x_458, 1, x_457); +x_459 = lean_array_push(x_300, x_455); +x_460 = lean_array_push(x_459, x_458); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_381); +lean_ctor_set(x_461, 1, x_460); +x_462 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86; +x_463 = lean_array_push(x_462, x_452); +x_464 = lean_array_push(x_463, x_320); +x_465 = lean_array_push(x_464, x_320); +x_466 = lean_array_push(x_465, x_454); +x_467 = lean_array_push(x_466, x_461); +x_468 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80; +x_469 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_467); +x_470 = lean_array_push(x_296, x_469); +x_471 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78; +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_470); +x_473 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_473, 0, x_438); +lean_ctor_set(x_473, 1, x_305); +x_474 = lean_array_push(x_296, x_473); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_298); +lean_ctor_set(x_475, 1, x_474); +x_476 = lean_array_push(x_398, x_448); +x_477 = lean_array_push(x_476, x_472); +x_478 = lean_array_push(x_477, x_475); +x_479 = lean_array_push(x_478, x_435); +x_480 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76; +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +if (lean_is_scalar(x_446)) { + x_482 = lean_alloc_ctor(0, 2, 0); +} else { + x_482 = x_446; +} +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_445); +return x_482; +} +} +} +else +{ +uint8_t x_483; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_483 = !lean_is_exclusive(x_13); +if (x_483 == 0) +{ +return x_13; +} +else +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_484 = lean_ctor_get(x_13, 0); +x_485 = lean_ctor_get(x_13, 1); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_13); +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_484); +lean_ctor_set(x_486, 1, x_485); +return x_486; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("isTrue"); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; @@ -435,172 +2239,41 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Parser"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Term"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("app"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("isTrue"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Decidable"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15; 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_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; 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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("null"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8() { _start: { lean_object* x_1; @@ -608,22 +2281,22 @@ x_1 = lean_mk_string("rfl"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21; +x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -631,725 +2304,40 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; 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_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12; 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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("termDepIfThenElse"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("if"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("h"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("term_=_"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("="); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(3u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("then"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("byTactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("by"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticSeq"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticSeq1Indented"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("group"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("subst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(";"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("exact"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("else"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("isFalse"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64; -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_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("paren"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("("); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("intro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("n"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("injection"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("apply"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("assumption"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(")"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(8u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("let"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("letDecl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("letIdDecl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("inst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":="); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(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: { @@ -1364,6 +2352,10 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -1371,42 +2363,43 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_15); +lean_dec(x_8); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { 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; x_18 = lean_ctor_get(x_16, 0); -x_19 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12; +x_19 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; lean_inc(x_14); lean_inc(x_18); x_20 = l_Lean_addMacroScope(x_18, x_19, x_14); -x_21 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; -x_22 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17; +x_21 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3; +x_22 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7; lean_inc(x_11); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_11); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23; +x_24 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; x_25 = l_Lean_addMacroScope(x_18, x_24, x_14); -x_26 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22; -x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25; +x_26 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10; +x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_11); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_25); lean_ctor_set(x_28, 3, x_27); -x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_31 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; +x_33 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; x_34 = lean_array_push(x_33, x_23); x_35 = lean_array_push(x_34, x_32); -x_36 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_36 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -1421,37 +2414,37 @@ x_39 = lean_ctor_get(x_16, 1); lean_inc(x_39); lean_inc(x_38); lean_dec(x_16); -x_40 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12; +x_40 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; lean_inc(x_14); lean_inc(x_38); x_41 = l_Lean_addMacroScope(x_38, x_40, x_14); -x_42 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; -x_43 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17; +x_42 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__3; +x_43 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7; lean_inc(x_11); x_44 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_44, 0, x_11); lean_ctor_set(x_44, 1, x_42); lean_ctor_set(x_44, 2, x_41); lean_ctor_set(x_44, 3, x_43); -x_45 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23; +x_45 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11; x_46 = l_Lean_addMacroScope(x_38, x_45, x_14); -x_47 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22; -x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25; +x_47 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10; +x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; x_49 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_49, 0, x_11); lean_ctor_set(x_49, 1, x_47); lean_ctor_set(x_49, 2, x_46); lean_ctor_set(x_49, 3, x_48); -x_50 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_50 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_52 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; 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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; +x_54 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; x_55 = lean_array_push(x_54, x_44); x_56 = lean_array_push(x_55, x_53); -x_57 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_57 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -1463,7 +2456,7 @@ return x_59; } else { -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; uint8_t x_69; +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_60 = lean_ctor_get(x_2, 0); lean_inc(x_60); x_61 = lean_ctor_get(x_60, 1); @@ -1479,1984 +2472,25 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_61, 1); lean_inc(x_65); lean_dec(x_61); -x_66 = lean_st_ref_take(x_8, x_9); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_70 = lean_ctor_get(x_67, 1); -x_71 = lean_unsigned_to_nat(1u); -x_72 = lean_nat_add(x_70, x_71); -lean_ctor_set(x_67, 1, x_72); -x_73 = lean_st_ref_set(x_8, x_67, x_68); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = !lean_is_exclusive(x_3); -if (x_75 == 0) -{ -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; uint8_t x_87; -x_76 = lean_ctor_get(x_3, 4); -lean_dec(x_76); -lean_ctor_set(x_3, 4, x_70); -lean_inc(x_3); -lean_inc(x_1); -x_77 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_1, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_74); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_82); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_85); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -x_90 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; -lean_inc(x_81); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_81); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; -lean_inc(x_84); -lean_inc(x_88); -x_93 = l_Lean_addMacroScope(x_88, x_92, x_84); -x_94 = lean_box(0); -x_95 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; -lean_inc(x_81); -x_96 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_96, 0, x_81); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_93); -lean_ctor_set(x_96, 3, x_94); -x_97 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; -lean_inc(x_81); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_81); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; -lean_inc(x_81); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_81); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; -lean_inc(x_63); -x_102 = lean_array_push(x_101, x_63); -x_103 = lean_array_push(x_102, x_100); -lean_inc(x_64); -x_104 = lean_array_push(x_103, x_64); -x_105 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; -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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40; -lean_inc(x_81); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_81); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; -lean_inc(x_81); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_81); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; -lean_inc(x_81); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_81); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; -lean_inc(x_96); -x_114 = lean_array_push(x_113, x_96); -x_115 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; -x_118 = lean_array_push(x_117, x_112); -x_119 = lean_array_push(x_118, x_116); -x_120 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; -lean_inc(x_81); -x_123 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_123, 0, x_81); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_array_push(x_113, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_117, x_121); -lean_inc(x_125); -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; -lean_inc(x_81); -x_131 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_131, 0, x_81); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_array_push(x_117, x_131); -x_133 = lean_array_push(x_132, x_78); -x_134 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = lean_array_push(x_117, x_135); -x_137 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; -x_138 = lean_array_push(x_136, x_137); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_128); -lean_ctor_set(x_139, 1, x_138); -x_140 = lean_array_push(x_117, x_129); -x_141 = lean_array_push(x_140, x_139); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_115); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_113, x_142); -x_144 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; -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_113, x_145); -x_147 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; -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_117, x_110); -lean_inc(x_149); -x_150 = lean_array_push(x_149, x_148); -x_151 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59; -lean_inc(x_81); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_81); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; -lean_inc(x_84); -lean_inc(x_88); -x_156 = l_Lean_addMacroScope(x_88, x_155, x_84); -x_157 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; -x_158 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66; -lean_inc(x_81); -x_159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_159, 0, x_81); -lean_ctor_set(x_159, 1, x_157); -lean_ctor_set(x_159, 2, x_156); -lean_ctor_set(x_159, 3, x_158); -x_160 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; -lean_inc(x_81); -x_161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_161, 0, x_81); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; -lean_inc(x_81); -x_163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_163, 0, x_81); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75; -x_165 = l_Lean_addMacroScope(x_88, x_164, x_84); -x_166 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74; -lean_inc(x_81); -x_167 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_167, 0, x_81); -lean_ctor_set(x_167, 1, x_166); -lean_ctor_set(x_167, 2, x_165); -lean_ctor_set(x_167, 3, x_94); -lean_inc(x_167); -x_168 = lean_array_push(x_113, x_167); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_115); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_array_push(x_117, x_163); -x_171 = lean_array_push(x_170, x_169); -x_172 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; -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 = lean_array_push(x_117, x_173); -lean_inc(x_125); -x_175 = lean_array_push(x_174, x_125); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_128); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -lean_inc(x_81); -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_81); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_101, x_178); -x_180 = lean_array_push(x_179, x_167); -x_181 = lean_array_push(x_180, x_137); -x_182 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_117, x_183); -lean_inc(x_125); -x_185 = lean_array_push(x_184, x_125); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_128); -lean_ctor_set(x_186, 1, x_185); -x_187 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -lean_inc(x_81); -x_188 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_188, 0, x_81); -lean_ctor_set(x_188, 1, x_187); -x_189 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; -lean_inc(x_81); -x_190 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_190, 0, x_81); -lean_ctor_set(x_190, 1, x_189); -x_191 = lean_array_push(x_113, x_190); -x_192 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = lean_array_push(x_113, x_193); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_115); -lean_ctor_set(x_195, 1, x_194); -lean_inc(x_96); -x_196 = lean_array_push(x_117, x_96); -x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; -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_117, x_188); -x_201 = lean_array_push(x_200, x_199); -x_202 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79; -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_201); -x_204 = lean_array_push(x_117, x_203); -x_205 = lean_array_push(x_204, x_125); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_128); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; -lean_inc(x_81); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_81); -lean_ctor_set(x_208, 1, x_207); -x_209 = lean_array_push(x_113, x_208); -x_210 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84; -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_209); -x_212 = lean_array_push(x_117, x_211); -x_213 = lean_array_push(x_212, x_137); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_128); -lean_ctor_set(x_214, 1, x_213); -x_215 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -x_216 = lean_array_push(x_215, x_176); -x_217 = lean_array_push(x_216, x_186); -x_218 = lean_array_push(x_217, x_206); -x_219 = lean_array_push(x_218, x_214); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_115); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_113, x_220); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_144); -lean_ctor_set(x_222, 1, x_221); -x_223 = lean_array_push(x_113, x_222); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_147); -lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_149, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_151); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_117, x_226); -x_228 = lean_array_push(x_227, x_137); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_115); -lean_ctor_set(x_229, 1, x_228); -x_230 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_81); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_101, x_161); -x_233 = lean_array_push(x_232, x_229); -x_234 = lean_array_push(x_233, x_231); -x_235 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = lean_array_push(x_113, x_236); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_115); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_array_push(x_117, x_159); -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_198); -lean_ctor_set(x_241, 1, x_240); -x_242 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87; -x_243 = lean_array_push(x_242, x_91); -x_244 = lean_array_push(x_243, x_96); -x_245 = lean_array_push(x_244, x_98); -x_246 = lean_array_push(x_245, x_106); -x_247 = lean_array_push(x_246, x_108); -x_248 = lean_array_push(x_247, x_152); -x_249 = lean_array_push(x_248, x_154); -x_250 = lean_array_push(x_249, x_241); -x_251 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29; -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = lean_unbox(x_65); -lean_dec(x_65); -if (x_253 == 0) -{ -lean_dec(x_3); -lean_dec(x_64); -lean_dec(x_63); -lean_dec(x_1); -lean_ctor_set(x_86, 0, x_252); -return x_86; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; -lean_free_object(x_86); -x_254 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_89); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_256); -lean_dec(x_3); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -x_260 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_259); -x_261 = !lean_is_exclusive(x_260); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_262 = lean_ctor_get(x_260, 0); -x_263 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -lean_inc(x_255); -x_264 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_264, 0, x_255); -lean_ctor_set(x_264, 1, x_263); -x_265 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; -x_266 = l_Lean_addMacroScope(x_262, x_265, x_258); -x_267 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; -lean_inc(x_255); -x_268 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_268, 0, x_255); -lean_ctor_set(x_268, 1, x_267); -lean_ctor_set(x_268, 2, x_266); -lean_ctor_set(x_268, 3, x_94); -x_269 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; -lean_inc(x_255); -x_270 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_270, 0, x_255); -lean_ctor_set(x_270, 1, x_269); -x_271 = lean_mk_syntax_ident(x_1); -x_272 = lean_array_push(x_117, x_63); -x_273 = lean_array_push(x_272, x_64); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_115); -lean_ctor_set(x_274, 1, x_273); -x_275 = lean_array_push(x_117, x_271); -x_276 = lean_array_push(x_275, x_274); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_198); -lean_ctor_set(x_277, 1, x_276); -x_278 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -x_279 = lean_array_push(x_278, x_268); -x_280 = lean_array_push(x_279, x_137); -x_281 = lean_array_push(x_280, x_137); -x_282 = lean_array_push(x_281, x_270); -x_283 = lean_array_push(x_282, x_277); -x_284 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -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 = lean_array_push(x_113, x_285); -x_287 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_289, 0, x_255); -lean_ctor_set(x_289, 1, x_122); -x_290 = lean_array_push(x_113, x_289); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_115); -lean_ctor_set(x_291, 1, x_290); -x_292 = lean_array_push(x_215, x_264); -x_293 = lean_array_push(x_292, x_288); -x_294 = lean_array_push(x_293, x_291); -x_295 = lean_array_push(x_294, x_252); -x_296 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -lean_ctor_set(x_260, 0, x_297); -return x_260; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_298 = lean_ctor_get(x_260, 0); -x_299 = lean_ctor_get(x_260, 1); -lean_inc(x_299); -lean_inc(x_298); -lean_dec(x_260); -x_300 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -lean_inc(x_255); -x_301 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_301, 0, x_255); -lean_ctor_set(x_301, 1, x_300); -x_302 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; -x_303 = l_Lean_addMacroScope(x_298, x_302, x_258); -x_304 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; -lean_inc(x_255); -x_305 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_305, 0, x_255); -lean_ctor_set(x_305, 1, x_304); -lean_ctor_set(x_305, 2, x_303); -lean_ctor_set(x_305, 3, x_94); -x_306 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; -lean_inc(x_255); -x_307 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_307, 0, x_255); -lean_ctor_set(x_307, 1, x_306); -x_308 = lean_mk_syntax_ident(x_1); -x_309 = lean_array_push(x_117, x_63); -x_310 = lean_array_push(x_309, x_64); -x_311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_311, 0, x_115); -lean_ctor_set(x_311, 1, x_310); -x_312 = lean_array_push(x_117, x_308); -x_313 = lean_array_push(x_312, x_311); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_198); -lean_ctor_set(x_314, 1, x_313); -x_315 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -x_316 = lean_array_push(x_315, x_305); -x_317 = lean_array_push(x_316, x_137); -x_318 = lean_array_push(x_317, x_137); -x_319 = lean_array_push(x_318, x_307); -x_320 = lean_array_push(x_319, x_314); -x_321 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_320); -x_323 = lean_array_push(x_113, x_322); -x_324 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -x_326 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_326, 0, x_255); -lean_ctor_set(x_326, 1, x_122); -x_327 = lean_array_push(x_113, x_326); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_115); -lean_ctor_set(x_328, 1, x_327); -x_329 = lean_array_push(x_215, x_301); -x_330 = lean_array_push(x_329, x_325); -x_331 = lean_array_push(x_330, x_328); -x_332 = lean_array_push(x_331, x_252); -x_333 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_332); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_299); -return x_335; +x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___boxed), 12, 5); +lean_closure_set(x_66, 0, x_1); +lean_closure_set(x_66, 1, x_62); +lean_closure_set(x_66, 2, x_63); +lean_closure_set(x_66, 3, x_64); +lean_closure_set(x_66, 4, x_65); +x_67 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_66, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_67; } } } -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; -x_336 = lean_ctor_get(x_86, 0); -x_337 = lean_ctor_get(x_86, 1); -lean_inc(x_337); -lean_inc(x_336); -lean_dec(x_86); -x_338 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; -lean_inc(x_81); -x_339 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_339, 0, x_81); -lean_ctor_set(x_339, 1, x_338); -x_340 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; -lean_inc(x_84); -lean_inc(x_336); -x_341 = l_Lean_addMacroScope(x_336, x_340, x_84); -x_342 = lean_box(0); -x_343 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; -lean_inc(x_81); -x_344 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_344, 0, x_81); -lean_ctor_set(x_344, 1, x_343); -lean_ctor_set(x_344, 2, x_341); -lean_ctor_set(x_344, 3, x_342); -x_345 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; -lean_inc(x_81); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_81); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; -lean_inc(x_81); -x_348 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_348, 0, x_81); -lean_ctor_set(x_348, 1, x_347); -x_349 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; -lean_inc(x_63); -x_350 = lean_array_push(x_349, x_63); -x_351 = lean_array_push(x_350, x_348); -lean_inc(x_64); -x_352 = lean_array_push(x_351, x_64); -x_353 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -x_355 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40; -lean_inc(x_81); -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_81); -lean_ctor_set(x_356, 1, x_355); -x_357 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; -lean_inc(x_81); -x_358 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_358, 0, x_81); -lean_ctor_set(x_358, 1, x_357); -x_359 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; -lean_inc(x_81); -x_360 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_360, 0, x_81); -lean_ctor_set(x_360, 1, x_359); -x_361 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; -lean_inc(x_344); -x_362 = lean_array_push(x_361, x_344); -x_363 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_363); -lean_ctor_set(x_364, 1, x_362); -x_365 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; -x_366 = lean_array_push(x_365, x_360); -x_367 = lean_array_push(x_366, x_364); -x_368 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53; -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_367); -x_370 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; -lean_inc(x_81); -x_371 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_371, 0, x_81); -lean_ctor_set(x_371, 1, x_370); -x_372 = lean_array_push(x_361, x_371); -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_363); -lean_ctor_set(x_373, 1, x_372); -x_374 = lean_array_push(x_365, x_369); -lean_inc(x_373); -x_375 = lean_array_push(x_374, x_373); -x_376 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_375); -x_378 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; -lean_inc(x_81); -x_379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_379, 0, x_81); -lean_ctor_set(x_379, 1, x_378); -x_380 = lean_array_push(x_365, x_379); -x_381 = lean_array_push(x_380, x_78); -x_382 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56; -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_381); -x_384 = lean_array_push(x_365, x_383); -x_385 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; -x_386 = lean_array_push(x_384, x_385); -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_376); -lean_ctor_set(x_387, 1, x_386); -x_388 = lean_array_push(x_365, x_377); -x_389 = lean_array_push(x_388, x_387); -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_363); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_array_push(x_361, x_390); -x_392 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; -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_361, x_393); -x_395 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_394); -x_397 = lean_array_push(x_365, x_358); -lean_inc(x_397); -x_398 = lean_array_push(x_397, x_396); -x_399 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -x_401 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59; -lean_inc(x_81); -x_402 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_402, 0, x_81); -lean_ctor_set(x_402, 1, x_401); -x_403 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; -lean_inc(x_84); -lean_inc(x_336); -x_404 = l_Lean_addMacroScope(x_336, x_403, x_84); -x_405 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; -x_406 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66; -lean_inc(x_81); -x_407 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_407, 0, x_81); -lean_ctor_set(x_407, 1, x_405); -lean_ctor_set(x_407, 2, x_404); -lean_ctor_set(x_407, 3, x_406); -x_408 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; -lean_inc(x_81); -x_409 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_409, 0, x_81); -lean_ctor_set(x_409, 1, x_408); -x_410 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; -lean_inc(x_81); -x_411 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_411, 0, x_81); -lean_ctor_set(x_411, 1, x_410); -x_412 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75; -x_413 = l_Lean_addMacroScope(x_336, x_412, x_84); -x_414 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74; -lean_inc(x_81); -x_415 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_415, 0, x_81); -lean_ctor_set(x_415, 1, x_414); -lean_ctor_set(x_415, 2, x_413); -lean_ctor_set(x_415, 3, x_342); -lean_inc(x_415); -x_416 = lean_array_push(x_361, x_415); -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_363); -lean_ctor_set(x_417, 1, x_416); -x_418 = lean_array_push(x_365, x_411); -x_419 = lean_array_push(x_418, x_417); -x_420 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; -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 = lean_array_push(x_365, x_421); -lean_inc(x_373); -x_423 = lean_array_push(x_422, x_373); -x_424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_424, 0, x_376); -lean_ctor_set(x_424, 1, x_423); -x_425 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -lean_inc(x_81); -x_426 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_426, 0, x_81); -lean_ctor_set(x_426, 1, x_425); -x_427 = lean_array_push(x_349, x_426); -x_428 = lean_array_push(x_427, x_415); -x_429 = lean_array_push(x_428, x_385); -x_430 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_429); -x_432 = lean_array_push(x_365, x_431); -lean_inc(x_373); -x_433 = lean_array_push(x_432, x_373); -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_376); -lean_ctor_set(x_434, 1, x_433); -x_435 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -lean_inc(x_81); -x_436 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_436, 0, x_81); -lean_ctor_set(x_436, 1, x_435); -x_437 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; -lean_inc(x_81); -x_438 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_438, 0, x_81); -lean_ctor_set(x_438, 1, x_437); -x_439 = lean_array_push(x_361, x_438); -x_440 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_439); -x_442 = lean_array_push(x_361, x_441); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_363); -lean_ctor_set(x_443, 1, x_442); -lean_inc(x_344); -x_444 = lean_array_push(x_365, x_344); -x_445 = lean_array_push(x_444, x_443); -x_446 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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_365, x_436); -x_449 = lean_array_push(x_448, x_447); -x_450 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_365, x_451); -x_453 = lean_array_push(x_452, x_373); -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_376); -lean_ctor_set(x_454, 1, x_453); -x_455 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; -lean_inc(x_81); -x_456 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_456, 0, x_81); -lean_ctor_set(x_456, 1, x_455); -x_457 = lean_array_push(x_361, x_456); -x_458 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84; -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_458); -lean_ctor_set(x_459, 1, x_457); -x_460 = lean_array_push(x_365, x_459); -x_461 = lean_array_push(x_460, x_385); -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_376); -lean_ctor_set(x_462, 1, x_461); -x_463 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -x_464 = lean_array_push(x_463, x_424); -x_465 = lean_array_push(x_464, x_434); -x_466 = lean_array_push(x_465, x_454); -x_467 = lean_array_push(x_466, x_462); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_363); -lean_ctor_set(x_468, 1, x_467); -x_469 = lean_array_push(x_361, x_468); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_392); -lean_ctor_set(x_470, 1, x_469); -x_471 = lean_array_push(x_361, x_470); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_395); -lean_ctor_set(x_472, 1, x_471); -x_473 = lean_array_push(x_397, x_472); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_399); -lean_ctor_set(x_474, 1, x_473); -x_475 = lean_array_push(x_365, x_474); -x_476 = lean_array_push(x_475, x_385); -x_477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_477, 0, x_363); -lean_ctor_set(x_477, 1, x_476); -x_478 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; -x_479 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_479, 0, x_81); -lean_ctor_set(x_479, 1, x_478); -x_480 = lean_array_push(x_349, x_409); -x_481 = lean_array_push(x_480, x_477); -x_482 = lean_array_push(x_481, x_479); -x_483 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_482); -x_485 = lean_array_push(x_361, x_484); -x_486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_486, 0, x_363); -lean_ctor_set(x_486, 1, x_485); -x_487 = lean_array_push(x_365, x_407); -x_488 = lean_array_push(x_487, x_486); -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_446); -lean_ctor_set(x_489, 1, x_488); -x_490 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87; -x_491 = lean_array_push(x_490, x_339); -x_492 = lean_array_push(x_491, x_344); -x_493 = lean_array_push(x_492, x_346); -x_494 = lean_array_push(x_493, x_354); -x_495 = lean_array_push(x_494, x_356); -x_496 = lean_array_push(x_495, x_400); -x_497 = lean_array_push(x_496, x_402); -x_498 = lean_array_push(x_497, x_489); -x_499 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29; -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_498); -x_501 = lean_unbox(x_65); -lean_dec(x_65); -if (x_501 == 0) -{ -lean_object* x_502; -lean_dec(x_3); -lean_dec(x_64); -lean_dec(x_63); -lean_dec(x_1); -x_502 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_502, 0, x_500); -lean_ctor_set(x_502, 1, x_337); -return x_502; -} -else -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_503 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_337); -x_504 = lean_ctor_get(x_503, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_503, 1); -lean_inc(x_505); -lean_dec(x_503); -x_506 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_505); -lean_dec(x_3); -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_506, 1); -lean_inc(x_508); -lean_dec(x_506); -x_509 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_508); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_509, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - x_512 = x_509; -} else { - lean_dec_ref(x_509); - x_512 = lean_box(0); -} -x_513 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -lean_inc(x_504); -x_514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_514, 0, x_504); -lean_ctor_set(x_514, 1, x_513); -x_515 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; -x_516 = l_Lean_addMacroScope(x_510, x_515, x_507); -x_517 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; -lean_inc(x_504); -x_518 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_518, 0, x_504); -lean_ctor_set(x_518, 1, x_517); -lean_ctor_set(x_518, 2, x_516); -lean_ctor_set(x_518, 3, x_342); -x_519 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; -lean_inc(x_504); -x_520 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_520, 0, x_504); -lean_ctor_set(x_520, 1, x_519); -x_521 = lean_mk_syntax_ident(x_1); -x_522 = lean_array_push(x_365, x_63); -x_523 = lean_array_push(x_522, x_64); -x_524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_524, 0, x_363); -lean_ctor_set(x_524, 1, x_523); -x_525 = lean_array_push(x_365, x_521); -x_526 = lean_array_push(x_525, x_524); -x_527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_527, 0, x_446); -lean_ctor_set(x_527, 1, x_526); -x_528 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -x_529 = lean_array_push(x_528, x_518); -x_530 = lean_array_push(x_529, x_385); -x_531 = lean_array_push(x_530, x_385); -x_532 = lean_array_push(x_531, x_520); -x_533 = lean_array_push(x_532, x_527); -x_534 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_534); -lean_ctor_set(x_535, 1, x_533); -x_536 = lean_array_push(x_361, x_535); -x_537 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -x_538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_538, 0, x_537); -lean_ctor_set(x_538, 1, x_536); -x_539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_539, 0, x_504); -lean_ctor_set(x_539, 1, x_370); -x_540 = lean_array_push(x_361, x_539); -x_541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_541, 0, x_363); -lean_ctor_set(x_541, 1, x_540); -x_542 = lean_array_push(x_463, x_514); -x_543 = lean_array_push(x_542, x_538); -x_544 = lean_array_push(x_543, x_541); -x_545 = lean_array_push(x_544, x_500); -x_546 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_545); -if (lean_is_scalar(x_512)) { - x_548 = lean_alloc_ctor(0, 2, 0); -} else { - x_548 = x_512; -} -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_511); -return x_548; -} -} -} -else -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; uint8_t x_553; uint8_t x_554; uint8_t x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; uint8_t x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; uint8_t x_737; -x_549 = lean_ctor_get(x_3, 0); -x_550 = lean_ctor_get(x_3, 1); -x_551 = lean_ctor_get(x_3, 2); -x_552 = lean_ctor_get(x_3, 3); -x_553 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_554 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_555 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_556 = lean_ctor_get(x_3, 5); -x_557 = lean_ctor_get(x_3, 6); -x_558 = lean_ctor_get(x_3, 7); -x_559 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -lean_inc(x_558); -lean_inc(x_557); -lean_inc(x_556); -lean_inc(x_552); -lean_inc(x_551); -lean_inc(x_550); -lean_inc(x_549); -lean_dec(x_3); -x_560 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_560, 0, x_549); -lean_ctor_set(x_560, 1, x_550); -lean_ctor_set(x_560, 2, x_551); -lean_ctor_set(x_560, 3, x_552); -lean_ctor_set(x_560, 4, x_70); -lean_ctor_set(x_560, 5, x_556); -lean_ctor_set(x_560, 6, x_557); -lean_ctor_set(x_560, 7, x_558); -lean_ctor_set_uint8(x_560, sizeof(void*)*8, x_553); -lean_ctor_set_uint8(x_560, sizeof(void*)*8 + 1, x_554); -lean_ctor_set_uint8(x_560, sizeof(void*)*8 + 2, x_555); -lean_ctor_set_uint8(x_560, sizeof(void*)*8 + 3, x_559); -lean_inc(x_560); -lean_inc(x_1); -x_561 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_1, x_62, x_560, x_4, x_5, x_6, x_7, x_8, x_74); -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -x_564 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_563); -x_565 = lean_ctor_get(x_564, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_564, 1); -lean_inc(x_566); -lean_dec(x_564); -x_567 = l_Lean_Elab_Term_getCurrMacroScope(x_560, x_4, x_5, x_6, x_7, x_8, x_566); -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_567, 1); -lean_inc(x_569); -lean_dec(x_567); -x_570 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_569); -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 1); -lean_inc(x_572); -if (lean_is_exclusive(x_570)) { - lean_ctor_release(x_570, 0); - lean_ctor_release(x_570, 1); - x_573 = x_570; -} else { - lean_dec_ref(x_570); - x_573 = lean_box(0); -} -x_574 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; -lean_inc(x_565); -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_565); -lean_ctor_set(x_575, 1, x_574); -x_576 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; -lean_inc(x_568); -lean_inc(x_571); -x_577 = l_Lean_addMacroScope(x_571, x_576, x_568); -x_578 = lean_box(0); -x_579 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; -lean_inc(x_565); -x_580 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_580, 0, x_565); -lean_ctor_set(x_580, 1, x_579); -lean_ctor_set(x_580, 2, x_577); -lean_ctor_set(x_580, 3, x_578); -x_581 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; -lean_inc(x_565); -x_582 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_582, 0, x_565); -lean_ctor_set(x_582, 1, x_581); -x_583 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; -lean_inc(x_565); -x_584 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_584, 0, x_565); -lean_ctor_set(x_584, 1, x_583); -x_585 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; -lean_inc(x_63); -x_586 = lean_array_push(x_585, x_63); -x_587 = lean_array_push(x_586, x_584); -lean_inc(x_64); -x_588 = lean_array_push(x_587, x_64); -x_589 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_588); -x_591 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40; -lean_inc(x_565); -x_592 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_592, 0, x_565); -lean_ctor_set(x_592, 1, x_591); -x_593 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; -lean_inc(x_565); -x_594 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_594, 0, x_565); -lean_ctor_set(x_594, 1, x_593); -x_595 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; -lean_inc(x_565); -x_596 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_596, 0, x_565); -lean_ctor_set(x_596, 1, x_595); -x_597 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; -lean_inc(x_580); -x_598 = lean_array_push(x_597, x_580); -x_599 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -x_600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_598); -x_601 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; -x_602 = lean_array_push(x_601, x_596); -x_603 = lean_array_push(x_602, x_600); -x_604 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53; -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_604); -lean_ctor_set(x_605, 1, x_603); -x_606 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; -lean_inc(x_565); -x_607 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_607, 0, x_565); -lean_ctor_set(x_607, 1, x_606); -x_608 = lean_array_push(x_597, x_607); -x_609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_609, 0, x_599); -lean_ctor_set(x_609, 1, x_608); -x_610 = lean_array_push(x_601, x_605); -lean_inc(x_609); -x_611 = lean_array_push(x_610, x_609); -x_612 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_611); -x_614 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; -lean_inc(x_565); -x_615 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_615, 0, x_565); -lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_601, x_615); -x_617 = lean_array_push(x_616, x_562); -x_618 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -x_620 = lean_array_push(x_601, x_619); -x_621 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; -x_622 = lean_array_push(x_620, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_612); -lean_ctor_set(x_623, 1, x_622); -x_624 = lean_array_push(x_601, x_613); -x_625 = lean_array_push(x_624, x_623); -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_599); -lean_ctor_set(x_626, 1, x_625); -x_627 = lean_array_push(x_597, x_626); -x_628 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_628); -lean_ctor_set(x_629, 1, x_627); -x_630 = lean_array_push(x_597, x_629); -x_631 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; -x_632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_632, 0, x_631); -lean_ctor_set(x_632, 1, x_630); -x_633 = lean_array_push(x_601, x_594); -lean_inc(x_633); -x_634 = lean_array_push(x_633, x_632); -x_635 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_634); -x_637 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59; -lean_inc(x_565); -x_638 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_638, 0, x_565); -lean_ctor_set(x_638, 1, x_637); -x_639 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; -lean_inc(x_568); -lean_inc(x_571); -x_640 = l_Lean_addMacroScope(x_571, x_639, x_568); -x_641 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; -x_642 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66; -lean_inc(x_565); -x_643 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_643, 0, x_565); -lean_ctor_set(x_643, 1, x_641); -lean_ctor_set(x_643, 2, x_640); -lean_ctor_set(x_643, 3, x_642); -x_644 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; -lean_inc(x_565); -x_645 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_645, 0, x_565); -lean_ctor_set(x_645, 1, x_644); -x_646 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; -lean_inc(x_565); -x_647 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_647, 0, x_565); -lean_ctor_set(x_647, 1, x_646); -x_648 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75; -x_649 = l_Lean_addMacroScope(x_571, x_648, x_568); -x_650 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74; -lean_inc(x_565); -x_651 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_651, 0, x_565); -lean_ctor_set(x_651, 1, x_650); -lean_ctor_set(x_651, 2, x_649); -lean_ctor_set(x_651, 3, x_578); -lean_inc(x_651); -x_652 = lean_array_push(x_597, x_651); -x_653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_653, 0, x_599); -lean_ctor_set(x_653, 1, x_652); -x_654 = lean_array_push(x_601, x_647); -x_655 = lean_array_push(x_654, x_653); -x_656 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_655); -x_658 = lean_array_push(x_601, x_657); -lean_inc(x_609); -x_659 = lean_array_push(x_658, x_609); -x_660 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_660, 0, x_612); -lean_ctor_set(x_660, 1, x_659); -x_661 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -lean_inc(x_565); -x_662 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_662, 0, x_565); -lean_ctor_set(x_662, 1, x_661); -x_663 = lean_array_push(x_585, x_662); -x_664 = lean_array_push(x_663, x_651); -x_665 = lean_array_push(x_664, x_621); -x_666 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; -x_667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_667, 0, x_666); -lean_ctor_set(x_667, 1, x_665); -x_668 = lean_array_push(x_601, x_667); -lean_inc(x_609); -x_669 = lean_array_push(x_668, x_609); -x_670 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_670, 0, x_612); -lean_ctor_set(x_670, 1, x_669); -x_671 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -lean_inc(x_565); -x_672 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_672, 0, x_565); -lean_ctor_set(x_672, 1, x_671); -x_673 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; -lean_inc(x_565); -x_674 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_674, 0, x_565); -lean_ctor_set(x_674, 1, x_673); -x_675 = lean_array_push(x_597, x_674); -x_676 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; -x_677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_677, 0, x_676); -lean_ctor_set(x_677, 1, x_675); -x_678 = lean_array_push(x_597, x_677); -x_679 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_679, 0, x_599); -lean_ctor_set(x_679, 1, x_678); -lean_inc(x_580); -x_680 = lean_array_push(x_601, x_580); -x_681 = lean_array_push(x_680, x_679); -x_682 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; -x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_682); -lean_ctor_set(x_683, 1, x_681); -x_684 = lean_array_push(x_601, x_672); -x_685 = lean_array_push(x_684, x_683); -x_686 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79; -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_601, x_687); -x_689 = lean_array_push(x_688, x_609); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_612); -lean_ctor_set(x_690, 1, x_689); -x_691 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; -lean_inc(x_565); -x_692 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_692, 0, x_565); -lean_ctor_set(x_692, 1, x_691); -x_693 = lean_array_push(x_597, x_692); -x_694 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84; -x_695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_695, 0, x_694); -lean_ctor_set(x_695, 1, x_693); -x_696 = lean_array_push(x_601, x_695); -x_697 = lean_array_push(x_696, x_621); -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_612); -lean_ctor_set(x_698, 1, x_697); -x_699 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -x_700 = lean_array_push(x_699, x_660); -x_701 = lean_array_push(x_700, x_670); -x_702 = lean_array_push(x_701, x_690); -x_703 = lean_array_push(x_702, x_698); -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_599); -lean_ctor_set(x_704, 1, x_703); -x_705 = lean_array_push(x_597, x_704); -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_628); -lean_ctor_set(x_706, 1, x_705); -x_707 = lean_array_push(x_597, x_706); -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_631); -lean_ctor_set(x_708, 1, x_707); -x_709 = lean_array_push(x_633, x_708); -x_710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_710, 0, x_635); -lean_ctor_set(x_710, 1, x_709); -x_711 = lean_array_push(x_601, x_710); -x_712 = lean_array_push(x_711, x_621); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_599); -lean_ctor_set(x_713, 1, x_712); -x_714 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; -x_715 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_715, 0, x_565); -lean_ctor_set(x_715, 1, x_714); -x_716 = lean_array_push(x_585, x_645); -x_717 = lean_array_push(x_716, x_713); -x_718 = lean_array_push(x_717, x_715); -x_719 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_718); -x_721 = lean_array_push(x_597, x_720); -x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_599); -lean_ctor_set(x_722, 1, x_721); -x_723 = lean_array_push(x_601, x_643); -x_724 = lean_array_push(x_723, x_722); -x_725 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_725, 0, x_682); -lean_ctor_set(x_725, 1, x_724); -x_726 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87; -x_727 = lean_array_push(x_726, x_575); -x_728 = lean_array_push(x_727, x_580); -x_729 = lean_array_push(x_728, x_582); -x_730 = lean_array_push(x_729, x_590); -x_731 = lean_array_push(x_730, x_592); -x_732 = lean_array_push(x_731, x_636); -x_733 = lean_array_push(x_732, x_638); -x_734 = lean_array_push(x_733, x_725); -x_735 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29; -x_736 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_736, 0, x_735); -lean_ctor_set(x_736, 1, x_734); -x_737 = lean_unbox(x_65); -lean_dec(x_65); -if (x_737 == 0) -{ -lean_object* x_738; -lean_dec(x_560); -lean_dec(x_64); -lean_dec(x_63); -lean_dec(x_1); -if (lean_is_scalar(x_573)) { - x_738 = lean_alloc_ctor(0, 2, 0); -} else { - x_738 = x_573; -} -lean_ctor_set(x_738, 0, x_736); -lean_ctor_set(x_738, 1, x_572); -return x_738; -} -else -{ -lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; -lean_dec(x_573); -x_739 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_572); -x_740 = lean_ctor_get(x_739, 0); -lean_inc(x_740); -x_741 = lean_ctor_get(x_739, 1); -lean_inc(x_741); -lean_dec(x_739); -x_742 = l_Lean_Elab_Term_getCurrMacroScope(x_560, x_4, x_5, x_6, x_7, x_8, x_741); -lean_dec(x_560); -x_743 = lean_ctor_get(x_742, 0); -lean_inc(x_743); -x_744 = lean_ctor_get(x_742, 1); -lean_inc(x_744); -lean_dec(x_742); -x_745 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_744); -x_746 = lean_ctor_get(x_745, 0); -lean_inc(x_746); -x_747 = lean_ctor_get(x_745, 1); -lean_inc(x_747); -if (lean_is_exclusive(x_745)) { - lean_ctor_release(x_745, 0); - lean_ctor_release(x_745, 1); - x_748 = x_745; -} else { - lean_dec_ref(x_745); - x_748 = lean_box(0); -} -x_749 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -lean_inc(x_740); -x_750 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_750, 0, x_740); -lean_ctor_set(x_750, 1, x_749); -x_751 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; -x_752 = l_Lean_addMacroScope(x_746, x_751, x_743); -x_753 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; -lean_inc(x_740); -x_754 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_754, 0, x_740); -lean_ctor_set(x_754, 1, x_753); -lean_ctor_set(x_754, 2, x_752); -lean_ctor_set(x_754, 3, x_578); -x_755 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; -lean_inc(x_740); -x_756 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_756, 0, x_740); -lean_ctor_set(x_756, 1, x_755); -x_757 = lean_mk_syntax_ident(x_1); -x_758 = lean_array_push(x_601, x_63); -x_759 = lean_array_push(x_758, x_64); -x_760 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_760, 0, x_599); -lean_ctor_set(x_760, 1, x_759); -x_761 = lean_array_push(x_601, x_757); -x_762 = lean_array_push(x_761, x_760); -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_682); -lean_ctor_set(x_763, 1, x_762); -x_764 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -x_765 = lean_array_push(x_764, x_754); -x_766 = lean_array_push(x_765, x_621); -x_767 = lean_array_push(x_766, x_621); -x_768 = lean_array_push(x_767, x_756); -x_769 = lean_array_push(x_768, x_763); -x_770 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -x_771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_771, 0, x_770); -lean_ctor_set(x_771, 1, x_769); -x_772 = lean_array_push(x_597, x_771); -x_773 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_772); -x_775 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_775, 0, x_740); -lean_ctor_set(x_775, 1, x_606); -x_776 = lean_array_push(x_597, x_775); -x_777 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_777, 0, x_599); -lean_ctor_set(x_777, 1, x_776); -x_778 = lean_array_push(x_699, x_750); -x_779 = lean_array_push(x_778, x_774); -x_780 = lean_array_push(x_779, x_777); -x_781 = lean_array_push(x_780, x_736); -x_782 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -x_783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_781); -if (lean_is_scalar(x_748)) { - x_784 = lean_alloc_ctor(0, 2, 0); -} else { - x_784 = x_748; -} -lean_ctor_set(x_784, 0, x_783); -lean_ctor_set(x_784, 1, x_747); -return x_784; -} -} -} -else -{ -lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; uint8_t x_798; uint8_t x_799; uint8_t x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; uint8_t x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; uint8_t x_983; -x_785 = lean_ctor_get(x_67, 0); -x_786 = lean_ctor_get(x_67, 1); -x_787 = lean_ctor_get(x_67, 2); -x_788 = lean_ctor_get(x_67, 3); -lean_inc(x_788); -lean_inc(x_787); -lean_inc(x_786); -lean_inc(x_785); -lean_dec(x_67); -x_789 = lean_unsigned_to_nat(1u); -x_790 = lean_nat_add(x_786, x_789); -x_791 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_791, 0, x_785); -lean_ctor_set(x_791, 1, x_790); -lean_ctor_set(x_791, 2, x_787); -lean_ctor_set(x_791, 3, x_788); -x_792 = lean_st_ref_set(x_8, x_791, x_68); -x_793 = lean_ctor_get(x_792, 1); -lean_inc(x_793); -lean_dec(x_792); -x_794 = lean_ctor_get(x_3, 0); -lean_inc(x_794); -x_795 = lean_ctor_get(x_3, 1); -lean_inc(x_795); -x_796 = lean_ctor_get(x_3, 2); -lean_inc(x_796); -x_797 = lean_ctor_get(x_3, 3); -lean_inc(x_797); -x_798 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_799 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_800 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_801 = lean_ctor_get(x_3, 5); -lean_inc(x_801); -x_802 = lean_ctor_get(x_3, 6); -lean_inc(x_802); -x_803 = lean_ctor_get(x_3, 7); -lean_inc(x_803); -x_804 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_805 = x_3; -} else { - lean_dec_ref(x_3); - x_805 = lean_box(0); -} -if (lean_is_scalar(x_805)) { - x_806 = lean_alloc_ctor(0, 8, 4); -} else { - x_806 = x_805; -} -lean_ctor_set(x_806, 0, x_794); -lean_ctor_set(x_806, 1, x_795); -lean_ctor_set(x_806, 2, x_796); -lean_ctor_set(x_806, 3, x_797); -lean_ctor_set(x_806, 4, x_786); -lean_ctor_set(x_806, 5, x_801); -lean_ctor_set(x_806, 6, x_802); -lean_ctor_set(x_806, 7, x_803); -lean_ctor_set_uint8(x_806, sizeof(void*)*8, x_798); -lean_ctor_set_uint8(x_806, sizeof(void*)*8 + 1, x_799); -lean_ctor_set_uint8(x_806, sizeof(void*)*8 + 2, x_800); -lean_ctor_set_uint8(x_806, sizeof(void*)*8 + 3, x_804); -lean_inc(x_806); -lean_inc(x_1); -x_807 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_1, x_62, x_806, x_4, x_5, x_6, x_7, x_8, x_793); -x_808 = lean_ctor_get(x_807, 0); -lean_inc(x_808); -x_809 = lean_ctor_get(x_807, 1); -lean_inc(x_809); -lean_dec(x_807); -x_810 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_809); -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_ctor_get(x_810, 1); -lean_inc(x_812); -lean_dec(x_810); -x_813 = l_Lean_Elab_Term_getCurrMacroScope(x_806, x_4, x_5, x_6, x_7, x_8, x_812); -x_814 = lean_ctor_get(x_813, 0); -lean_inc(x_814); -x_815 = lean_ctor_get(x_813, 1); -lean_inc(x_815); -lean_dec(x_813); -x_816 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_815); -x_817 = lean_ctor_get(x_816, 0); -lean_inc(x_817); -x_818 = lean_ctor_get(x_816, 1); -lean_inc(x_818); -if (lean_is_exclusive(x_816)) { - lean_ctor_release(x_816, 0); - lean_ctor_release(x_816, 1); - x_819 = x_816; -} else { - lean_dec_ref(x_816); - x_819 = lean_box(0); -} -x_820 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; -lean_inc(x_811); -x_821 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_821, 0, x_811); -lean_ctor_set(x_821, 1, x_820); -x_822 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; -lean_inc(x_814); -lean_inc(x_817); -x_823 = l_Lean_addMacroScope(x_817, x_822, x_814); -x_824 = lean_box(0); -x_825 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; -lean_inc(x_811); -x_826 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_826, 0, x_811); -lean_ctor_set(x_826, 1, x_825); -lean_ctor_set(x_826, 2, x_823); -lean_ctor_set(x_826, 3, x_824); -x_827 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; -lean_inc(x_811); -x_828 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_828, 0, x_811); -lean_ctor_set(x_828, 1, x_827); -x_829 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; -lean_inc(x_811); -x_830 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_830, 0, x_811); -lean_ctor_set(x_830, 1, x_829); -x_831 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; -lean_inc(x_63); -x_832 = lean_array_push(x_831, x_63); -x_833 = lean_array_push(x_832, x_830); -lean_inc(x_64); -x_834 = lean_array_push(x_833, x_64); -x_835 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; -x_836 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_836, 0, x_835); -lean_ctor_set(x_836, 1, x_834); -x_837 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40; -lean_inc(x_811); -x_838 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_838, 0, x_811); -lean_ctor_set(x_838, 1, x_837); -x_839 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; -lean_inc(x_811); -x_840 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_840, 0, x_811); -lean_ctor_set(x_840, 1, x_839); -x_841 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52; -lean_inc(x_811); -x_842 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_842, 0, x_811); -lean_ctor_set(x_842, 1, x_841); -x_843 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; -lean_inc(x_826); -x_844 = lean_array_push(x_843, x_826); -x_845 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -x_846 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_846, 0, x_845); -lean_ctor_set(x_846, 1, x_844); -x_847 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; -x_848 = lean_array_push(x_847, x_842); -x_849 = lean_array_push(x_848, x_846); -x_850 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53; -x_851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_851, 0, x_850); -lean_ctor_set(x_851, 1, x_849); -x_852 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; -lean_inc(x_811); -x_853 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_853, 0, x_811); -lean_ctor_set(x_853, 1, x_852); -x_854 = lean_array_push(x_843, x_853); -x_855 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_855, 0, x_845); -lean_ctor_set(x_855, 1, x_854); -x_856 = lean_array_push(x_847, x_851); -lean_inc(x_855); -x_857 = lean_array_push(x_856, x_855); -x_858 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; -x_859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_859, 0, x_858); -lean_ctor_set(x_859, 1, x_857); -x_860 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55; -lean_inc(x_811); -x_861 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_861, 0, x_811); -lean_ctor_set(x_861, 1, x_860); -x_862 = lean_array_push(x_847, x_861); -x_863 = lean_array_push(x_862, x_808); -x_864 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56; -x_865 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_865, 0, x_864); -lean_ctor_set(x_865, 1, x_863); -x_866 = lean_array_push(x_847, x_865); -x_867 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; -x_868 = lean_array_push(x_866, x_867); -x_869 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_869, 0, x_858); -lean_ctor_set(x_869, 1, x_868); -x_870 = lean_array_push(x_847, x_859); -x_871 = lean_array_push(x_870, x_869); -x_872 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_872, 0, x_845); -lean_ctor_set(x_872, 1, x_871); -x_873 = lean_array_push(x_843, x_872); -x_874 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; -x_875 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_875, 0, x_874); -lean_ctor_set(x_875, 1, x_873); -x_876 = lean_array_push(x_843, x_875); -x_877 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_877); -lean_ctor_set(x_878, 1, x_876); -x_879 = lean_array_push(x_847, x_840); -lean_inc(x_879); -x_880 = lean_array_push(x_879, x_878); -x_881 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; -x_882 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_882, 0, x_881); -lean_ctor_set(x_882, 1, x_880); -x_883 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59; -lean_inc(x_811); -x_884 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_884, 0, x_811); -lean_ctor_set(x_884, 1, x_883); -x_885 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; -lean_inc(x_814); -lean_inc(x_817); -x_886 = l_Lean_addMacroScope(x_817, x_885, x_814); -x_887 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; -x_888 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66; -lean_inc(x_811); -x_889 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_889, 0, x_811); -lean_ctor_set(x_889, 1, x_887); -lean_ctor_set(x_889, 2, x_886); -lean_ctor_set(x_889, 3, x_888); -x_890 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; -lean_inc(x_811); -x_891 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_891, 0, x_811); -lean_ctor_set(x_891, 1, x_890); -x_892 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; -lean_inc(x_811); -x_893 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_893, 0, x_811); -lean_ctor_set(x_893, 1, x_892); -x_894 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75; -x_895 = l_Lean_addMacroScope(x_817, x_894, x_814); -x_896 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74; -lean_inc(x_811); -x_897 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_897, 0, x_811); -lean_ctor_set(x_897, 1, x_896); -lean_ctor_set(x_897, 2, x_895); -lean_ctor_set(x_897, 3, x_824); -lean_inc(x_897); -x_898 = lean_array_push(x_843, x_897); -x_899 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_899, 0, x_845); -lean_ctor_set(x_899, 1, x_898); -x_900 = lean_array_push(x_847, x_893); -x_901 = lean_array_push(x_900, x_899); -x_902 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_902); -lean_ctor_set(x_903, 1, x_901); -x_904 = lean_array_push(x_847, x_903); -lean_inc(x_855); -x_905 = lean_array_push(x_904, x_855); -x_906 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_906, 0, x_858); -lean_ctor_set(x_906, 1, x_905); -x_907 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; -lean_inc(x_811); -x_908 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_908, 0, x_811); -lean_ctor_set(x_908, 1, x_907); -x_909 = lean_array_push(x_831, x_908); -x_910 = lean_array_push(x_909, x_897); -x_911 = lean_array_push(x_910, x_867); -x_912 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; -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_847, x_913); -lean_inc(x_855); -x_915 = lean_array_push(x_914, x_855); -x_916 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_916, 0, x_858); -lean_ctor_set(x_916, 1, x_915); -x_917 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78; -lean_inc(x_811); -x_918 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_918, 0, x_811); -lean_ctor_set(x_918, 1, x_917); -x_919 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; -lean_inc(x_811); -x_920 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_920, 0, x_811); -lean_ctor_set(x_920, 1, x_919); -x_921 = lean_array_push(x_843, x_920); -x_922 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; -x_923 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_923, 0, x_922); -lean_ctor_set(x_923, 1, x_921); -x_924 = lean_array_push(x_843, x_923); -x_925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_925, 0, x_845); -lean_ctor_set(x_925, 1, x_924); -lean_inc(x_826); -x_926 = lean_array_push(x_847, x_826); -x_927 = lean_array_push(x_926, x_925); -x_928 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; -x_929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_929, 0, x_928); -lean_ctor_set(x_929, 1, x_927); -x_930 = lean_array_push(x_847, x_918); -x_931 = lean_array_push(x_930, x_929); -x_932 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79; -x_933 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_933, 0, x_932); -lean_ctor_set(x_933, 1, x_931); -x_934 = lean_array_push(x_847, x_933); -x_935 = lean_array_push(x_934, x_855); -x_936 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_936, 0, x_858); -lean_ctor_set(x_936, 1, x_935); -x_937 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83; -lean_inc(x_811); -x_938 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_938, 0, x_811); -lean_ctor_set(x_938, 1, x_937); -x_939 = lean_array_push(x_843, x_938); -x_940 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84; -x_941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_941, 0, x_940); -lean_ctor_set(x_941, 1, x_939); -x_942 = lean_array_push(x_847, x_941); -x_943 = lean_array_push(x_942, x_867); -x_944 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_944, 0, x_858); -lean_ctor_set(x_944, 1, x_943); -x_945 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -x_946 = lean_array_push(x_945, x_906); -x_947 = lean_array_push(x_946, x_916); -x_948 = lean_array_push(x_947, x_936); -x_949 = lean_array_push(x_948, x_944); -x_950 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_950, 0, x_845); -lean_ctor_set(x_950, 1, x_949); -x_951 = lean_array_push(x_843, x_950); -x_952 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_952, 0, x_874); -lean_ctor_set(x_952, 1, x_951); -x_953 = lean_array_push(x_843, x_952); -x_954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_954, 0, x_877); -lean_ctor_set(x_954, 1, x_953); -x_955 = lean_array_push(x_879, x_954); -x_956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_956, 0, x_881); -lean_ctor_set(x_956, 1, x_955); -x_957 = lean_array_push(x_847, x_956); -x_958 = lean_array_push(x_957, x_867); -x_959 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_959, 0, x_845); -lean_ctor_set(x_959, 1, x_958); -x_960 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; -x_961 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_961, 0, x_811); -lean_ctor_set(x_961, 1, x_960); -x_962 = lean_array_push(x_831, x_891); -x_963 = lean_array_push(x_962, x_959); -x_964 = lean_array_push(x_963, x_961); -x_965 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; -x_966 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_966, 0, x_965); -lean_ctor_set(x_966, 1, x_964); -x_967 = lean_array_push(x_843, x_966); -x_968 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_968, 0, x_845); -lean_ctor_set(x_968, 1, x_967); -x_969 = lean_array_push(x_847, x_889); -x_970 = lean_array_push(x_969, x_968); -x_971 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_971, 0, x_928); -lean_ctor_set(x_971, 1, x_970); -x_972 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87; -x_973 = lean_array_push(x_972, x_821); -x_974 = lean_array_push(x_973, x_826); -x_975 = lean_array_push(x_974, x_828); -x_976 = lean_array_push(x_975, x_836); -x_977 = lean_array_push(x_976, x_838); -x_978 = lean_array_push(x_977, x_882); -x_979 = lean_array_push(x_978, x_884); -x_980 = lean_array_push(x_979, x_971); -x_981 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29; -x_982 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_980); -x_983 = lean_unbox(x_65); -lean_dec(x_65); -if (x_983 == 0) -{ -lean_object* x_984; -lean_dec(x_806); -lean_dec(x_64); -lean_dec(x_63); -lean_dec(x_1); -if (lean_is_scalar(x_819)) { - x_984 = lean_alloc_ctor(0, 2, 0); -} else { - x_984 = x_819; -} -lean_ctor_set(x_984, 0, x_982); -lean_ctor_set(x_984, 1, x_818); -return x_984; -} -else -{ -lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; -lean_dec(x_819); -x_985 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_7, x_8, x_818); -x_986 = lean_ctor_get(x_985, 0); -lean_inc(x_986); -x_987 = lean_ctor_get(x_985, 1); -lean_inc(x_987); -lean_dec(x_985); -x_988 = l_Lean_Elab_Term_getCurrMacroScope(x_806, x_4, x_5, x_6, x_7, x_8, x_987); -lean_dec(x_806); -x_989 = lean_ctor_get(x_988, 0); -lean_inc(x_989); -x_990 = lean_ctor_get(x_988, 1); -lean_inc(x_990); -lean_dec(x_988); -x_991 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_990); -x_992 = lean_ctor_get(x_991, 0); -lean_inc(x_992); -x_993 = lean_ctor_get(x_991, 1); -lean_inc(x_993); -if (lean_is_exclusive(x_991)) { - lean_ctor_release(x_991, 0); - lean_ctor_release(x_991, 1); - x_994 = x_991; -} else { - lean_dec_ref(x_991); - x_994 = lean_box(0); -} -x_995 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88; -lean_inc(x_986); -x_996 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_996, 0, x_986); -lean_ctor_set(x_996, 1, x_995); -x_997 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97; -x_998 = l_Lean_addMacroScope(x_992, x_997, x_989); -x_999 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96; -lean_inc(x_986); -x_1000 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1000, 0, x_986); -lean_ctor_set(x_1000, 1, x_999); -lean_ctor_set(x_1000, 2, x_998); -lean_ctor_set(x_1000, 3, x_824); -x_1001 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; -lean_inc(x_986); -x_1002 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1002, 0, x_986); -lean_ctor_set(x_1002, 1, x_1001); -x_1003 = lean_mk_syntax_ident(x_1); -x_1004 = lean_array_push(x_847, x_63); -x_1005 = lean_array_push(x_1004, x_64); -x_1006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1006, 0, x_845); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = lean_array_push(x_847, x_1003); -x_1008 = lean_array_push(x_1007, x_1006); -x_1009 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1009, 0, x_928); -lean_ctor_set(x_1009, 1, x_1008); -x_1010 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99; -x_1011 = lean_array_push(x_1010, x_1000); -x_1012 = lean_array_push(x_1011, x_867); -x_1013 = lean_array_push(x_1012, x_867); -x_1014 = lean_array_push(x_1013, x_1002); -x_1015 = lean_array_push(x_1014, x_1009); -x_1016 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; -x_1017 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1017, 0, x_1016); -lean_ctor_set(x_1017, 1, x_1015); -x_1018 = lean_array_push(x_843, x_1017); -x_1019 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91; -x_1020 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1020, 0, x_1019); -lean_ctor_set(x_1020, 1, x_1018); -x_1021 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1021, 0, x_986); -lean_ctor_set(x_1021, 1, x_852); -x_1022 = lean_array_push(x_843, x_1021); -x_1023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1023, 0, x_845); -lean_ctor_set(x_1023, 1, x_1022); -x_1024 = lean_array_push(x_945, x_996); -x_1025 = lean_array_push(x_1024, x_1020); -x_1026 = lean_array_push(x_1025, x_1023); -x_1027 = lean_array_push(x_1026, x_982); -x_1028 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89; -x_1029 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1029, 0, x_1028); -lean_ctor_set(x_1029, 1, x_1027); -if (lean_is_scalar(x_994)) { - x_1030 = lean_alloc_ctor(0, 2, 0); -} else { - x_1030 = x_994; -} -lean_ctor_set(x_1030, 0, x_1029); -lean_ctor_set(x_1030, 1, x_993); -return x_1030; -} -} -} -} -} -lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___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, lean_object* x_12) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(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); +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); lean_dec(x_5); -lean_dec(x_4); -return x_10; +x_14 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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) { @@ -3665,13 +2699,13 @@ x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_22); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; +x_25 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_19); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; +x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -3744,13 +2778,13 @@ x_25 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_24); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; +x_27 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_21); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_29 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; +x_31 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -3995,13 +3029,13 @@ x_72 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_71); x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); -x_74 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; +x_74 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_68); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_76 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; +x_78 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -4168,13 +3202,13 @@ x_135 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_134); x_136 = lean_ctor_get(x_135, 1); lean_inc(x_136); lean_dec(x_135); -x_137 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82; +x_137 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69; x_138 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_138, 0, x_131); lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_139 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_140 = lean_array_push(x_139, x_138); -x_141 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81; +x_141 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68; x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_141); lean_ctor_set(x_142, 1, x_140); @@ -4289,7 +3323,7 @@ static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatc _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -4315,7 +3349,7 @@ static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatc _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -4407,7 +3441,7 @@ x_33 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_33, 0, x_22); lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_33, 2, x_23); -x_34 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_34 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; lean_ctor_set(x_27, 1, x_34); lean_ctor_set(x_27, 0, x_31); x_35 = lean_alloc_ctor(0, 2, 0); @@ -4423,7 +3457,7 @@ lean_dec(x_1); lean_dec(x_20); if (lean_obj_tag(x_36) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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; x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_37, 1); @@ -4458,7 +3492,7 @@ x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_44); lean_ctor_set(x_51, 1, x_50); x_52 = lean_mk_syntax_ident(x_5); -x_53 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; +x_53 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; x_54 = lean_array_push(x_53, x_51); lean_inc(x_52); x_55 = lean_array_push(x_54, x_52); @@ -4469,13 +3503,13 @@ lean_ctor_set(x_57, 1, x_55); lean_inc(x_2); x_58 = l_Array_append___rarg(x_2, x_40); lean_dec(x_40); -x_59 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_59 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); x_61 = lean_array_push(x_53, x_57); x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_63 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); @@ -4515,8 +3549,16 @@ lean_ctor_set(x_81, 0, x_63); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_65, x_81); x_83 = lean_array_to_list(lean_box(0), x_42); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); x_84 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_7, x_83, x_10, x_11, x_12, x_13, x_14, x_15, x_72); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); x_86 = lean_ctor_get(x_84, 1); @@ -4532,6 +3574,7 @@ x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); @@ -4554,7 +3597,7 @@ x_98 = lean_usize_of_nat(x_97); lean_dec(x_97); x_99 = 0; x_100 = x_82; -x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_98, x_99, x_100); +x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_98, x_99, x_100); x_102 = x_101; x_103 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_104 = l_Lean_mkSepArray(x_102, x_103); @@ -4568,7 +3611,7 @@ x_107 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6 x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_88); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; +x_109 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; x_110 = lean_array_push(x_109, x_96); x_111 = lean_array_push(x_110, x_106); x_112 = lean_array_push(x_111, x_108); @@ -4596,7 +3639,7 @@ x_120 = lean_usize_of_nat(x_119); lean_dec(x_119); x_121 = 0; x_122 = x_82; -x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_120, x_121, x_122); +x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_120, x_121, x_122); x_124 = x_123; x_125 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_126 = l_Lean_mkSepArray(x_124, x_125); @@ -4610,7 +3653,7 @@ x_129 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6 x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_88); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; +x_131 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; x_132 = lean_array_push(x_131, x_118); x_133 = lean_array_push(x_132, x_128); x_134 = lean_array_push(x_133, x_130); @@ -4628,28 +3671,27 @@ return x_138; else { uint8_t x_139; +lean_dec(x_82); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_2); -x_139 = !lean_is_exclusive(x_36); +x_139 = !lean_is_exclusive(x_84); if (x_139 == 0) { -return x_36; +return x_84; } else { lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_36, 0); -x_141 = lean_ctor_get(x_36, 1); +x_140 = lean_ctor_get(x_84, 0); +x_141 = lean_ctor_get(x_84, 1); lean_inc(x_141); lean_inc(x_140); -lean_dec(x_36); +lean_dec(x_84); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_140); lean_ctor_set(x_142, 1, x_141); @@ -4659,246 +3701,323 @@ return x_142; } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_143 = lean_ctor_get(x_27, 0); -x_144 = lean_ctor_get(x_27, 1); +uint8_t x_143; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_36); +if (x_143 == 0) +{ +return x_36; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_36, 0); +x_145 = lean_ctor_get(x_36, 1); +lean_inc(x_145); lean_inc(x_144); -lean_inc(x_143); -lean_dec(x_27); -x_145 = lean_ctor_get(x_3, 4); -lean_inc(x_145); -lean_dec(x_3); -lean_inc(x_145); -x_146 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_146, 0, x_22); +lean_dec(x_36); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); -lean_ctor_set(x_146, 2, x_23); -x_147 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_144); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_143); -lean_ctor_set(x_149, 1, x_148); +return x_146; +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_147 = lean_ctor_get(x_27, 0); +x_148 = lean_ctor_get(x_27, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_27); +x_149 = lean_ctor_get(x_3, 4); +lean_inc(x_149); +lean_dec(x_3); +lean_inc(x_149); +x_150 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_150, 0, x_22); +lean_ctor_set(x_150, 1, x_149); +lean_ctor_set(x_150, 2, x_23); +x_151 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_148); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_147); +lean_ctor_set(x_153, 1, x_152); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_150 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(x_4, x_8, x_20, x_1, x_146, x_145, x_22, x_149, x_10, x_11, x_12, x_13, x_14, x_15, x_28); -lean_dec(x_146); +x_154 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(x_4, x_8, x_20, x_1, x_150, x_149, x_22, x_153, x_10, x_11, x_12, x_13, x_14, x_15, x_28); +lean_dec(x_150); lean_dec(x_1); lean_dec(x_20); -if (lean_obj_tag(x_150) == 0) +if (lean_obj_tag(x_154) == 0) { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; size_t x_212; size_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_151, 1); -lean_inc(x_152); -x_153 = lean_ctor_get(x_150, 1); -lean_inc(x_153); -lean_dec(x_150); -x_154 = lean_ctor_get(x_151, 0); -lean_inc(x_154); -lean_dec(x_151); -x_155 = lean_ctor_get(x_152, 0); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_155 = lean_ctor_get(x_154, 0); lean_inc(x_155); -x_156 = lean_ctor_get(x_152, 1); +x_156 = lean_ctor_get(x_155, 1); lean_inc(x_156); -lean_dec(x_152); -x_157 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_153); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_159); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_162 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_161); -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_164 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__5; -x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_158); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_mk_syntax_ident(x_5); -x_167 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; -x_168 = lean_array_push(x_167, x_165); -lean_inc(x_166); -x_169 = lean_array_push(x_168, x_166); -x_170 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -lean_inc(x_2); -x_172 = l_Array_append___rarg(x_2, x_154); +x_157 = lean_ctor_get(x_154, 1); +lean_inc(x_157); lean_dec(x_154); -x_173 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; -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_167, x_171); -x_176 = lean_array_push(x_175, x_174); -x_177 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_158 = lean_ctor_get(x_155, 0); +lean_inc(x_158); +lean_dec(x_155); +x_159 = lean_ctor_get(x_156, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_156, 1); +lean_inc(x_160); +lean_dec(x_156); +x_161 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_157); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_163); +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec(x_164); +x_166 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_165); +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); +lean_dec(x_166); +x_168 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__5; +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_162); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_mk_syntax_ident(x_5); +x_171 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; +x_172 = lean_array_push(x_171, x_169); +lean_inc(x_170); +x_173 = lean_array_push(x_172, x_170); +x_174 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +lean_inc(x_2); +x_176 = l_Array_append___rarg(x_2, x_158); +lean_dec(x_158); +x_177 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); -x_179 = lean_array_push(x_6, x_178); -x_180 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_163); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_182); -x_184 = lean_ctor_get(x_183, 1); -lean_inc(x_184); -lean_dec(x_183); -x_185 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_184); -x_186 = lean_ctor_get(x_185, 1); +x_179 = lean_array_push(x_171, x_175); +x_180 = lean_array_push(x_179, x_178); +x_181 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = lean_array_push(x_6, x_182); +x_184 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_167); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); lean_inc(x_186); -lean_dec(x_185); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_181); -lean_ctor_set(x_187, 1, x_164); -x_188 = lean_array_push(x_167, x_187); -x_189 = lean_array_push(x_188, x_166); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_170); -lean_ctor_set(x_190, 1, x_189); +lean_dec(x_184); +x_187 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_186); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +lean_dec(x_187); +x_189 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_188); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_191, 0, x_185); +lean_ctor_set(x_191, 1, x_168); +x_192 = lean_array_push(x_171, x_191); +x_193 = lean_array_push(x_192, x_170); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_174); +lean_ctor_set(x_194, 1, x_193); lean_inc(x_2); -x_191 = l_Array_append___rarg(x_2, x_155); -lean_dec(x_155); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_173); -lean_ctor_set(x_192, 1, x_191); -x_193 = lean_array_push(x_167, x_190); -x_194 = lean_array_push(x_193, x_192); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_177); -lean_ctor_set(x_195, 1, x_194); -x_196 = lean_array_push(x_179, x_195); -x_197 = lean_array_to_list(lean_box(0), x_156); +x_195 = l_Array_append___rarg(x_2, x_159); +lean_dec(x_159); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_177); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_171, x_194); +x_198 = lean_array_push(x_197, x_196); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_181); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_array_push(x_183, x_199); +x_201 = lean_array_to_list(lean_box(0), x_160); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); -x_198 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_7, x_197, x_10, x_11, x_12, x_13, x_14, x_15, x_186); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -lean_dec(x_198); -x_201 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_200); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); +x_202 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs(x_7, x_201, x_10, x_11, x_12, x_13, x_14, x_15, x_190); +if (lean_obj_tag(x_202) == 0) +{ +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; size_t x_216; size_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_203 = lean_ctor_get(x_202, 0); lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(x_14, x_15, x_204); +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_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_207); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_206 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_205); +x_209 = lean_ctor_get(x_208, 1); +lean_inc(x_209); +lean_dec(x_208); +x_210 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_209); lean_dec(x_15); -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_208 = x_206; +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_212 = x_210; } else { - lean_dec_ref(x_206); - x_208 = lean_box(0); + lean_dec_ref(x_210); + x_212 = lean_box(0); } -x_209 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__8; -lean_inc(x_202); -x_210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_210, 0, x_202); -lean_ctor_set(x_210, 1, x_209); -x_211 = lean_array_get_size(x_196); -x_212 = lean_usize_of_nat(x_211); -lean_dec(x_211); -x_213 = 0; -x_214 = x_196; -x_215 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_212, x_213, x_214); -x_216 = x_215; -x_217 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; -x_218 = l_Lean_mkSepArray(x_216, x_217); -lean_dec(x_216); -x_219 = l_Array_append___rarg(x_2, x_218); -lean_dec(x_218); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_173); -lean_ctor_set(x_220, 1, x_219); -x_221 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__11; -x_222 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_222, 0, x_202); -lean_ctor_set(x_222, 1, x_221); -x_223 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; -x_224 = lean_array_push(x_223, x_210); -x_225 = lean_array_push(x_224, x_220); -x_226 = lean_array_push(x_225, x_222); -x_227 = lean_array_push(x_226, x_199); -x_228 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__7; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -if (lean_is_scalar(x_208)) { - x_230 = lean_alloc_ctor(0, 2, 0); +x_213 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__8; +lean_inc(x_206); +x_214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_214, 0, x_206); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_get_size(x_200); +x_216 = lean_usize_of_nat(x_215); +lean_dec(x_215); +x_217 = 0; +x_218 = x_200; +x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_216, x_217, x_218); +x_220 = x_219; +x_221 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; +x_222 = l_Lean_mkSepArray(x_220, x_221); +lean_dec(x_220); +x_223 = l_Array_append___rarg(x_2, x_222); +lean_dec(x_222); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_177); +lean_ctor_set(x_224, 1, x_223); +x_225 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__11; +x_226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_226, 0, x_206); +lean_ctor_set(x_226, 1, x_225); +x_227 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; +x_228 = lean_array_push(x_227, x_214); +x_229 = lean_array_push(x_228, x_224); +x_230 = lean_array_push(x_229, x_226); +x_231 = lean_array_push(x_230, x_203); +x_232 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__7; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +if (lean_is_scalar(x_212)) { + x_234 = lean_alloc_ctor(0, 2, 0); } else { - x_230 = x_208; + x_234 = x_212; } -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_207); -return x_230; +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_211); +return x_234; } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_200); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_235 = lean_ctor_get(x_202, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_202, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + x_237 = x_202; +} else { + lean_dec_ref(x_202); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_231 = lean_ctor_get(x_150, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_150, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - x_233 = x_150; +x_239 = lean_ctor_get(x_154, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_154, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_241 = x_154; } else { - lean_dec_ref(x_150); - x_233 = lean_box(0); + lean_dec_ref(x_154); + x_241 = lean_box(0); } -if (lean_is_scalar(x_233)) { - x_234 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); } else { - x_234 = x_233; + x_242 = x_241; } -lean_ctor_set(x_234, 0, x_231); -lean_ctor_set(x_234, 1, x_232); -return x_234; +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; } } } else { -uint8_t x_235; +uint8_t x_243; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -4906,23 +4025,23 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_235 = !lean_is_exclusive(x_19); -if (x_235 == 0) +x_243 = !lean_is_exclusive(x_19); +if (x_243 == 0) { return x_19; } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_19, 0); -x_237 = lean_ctor_get(x_19, 1); -lean_inc(x_237); -lean_inc(x_236); +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_19, 0); +x_245 = lean_ctor_get(x_19, 1); +lean_inc(x_245); +lean_inc(x_244); lean_dec(x_19); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; } } } @@ -4939,7 +4058,7 @@ static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatc _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -4958,7 +4077,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -5085,21 +4204,21 @@ x_46 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6_ x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_39); lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_49 = lean_array_push(x_48, x_47); x_50 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_53 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; +x_55 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; x_56 = lean_array_push(x_55, x_45); x_57 = lean_array_push(x_56, x_54); -x_58 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_58 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -5156,12 +4275,12 @@ lean_inc(x_86); x_87 = lean_ctor_get(x_85, 1); lean_inc(x_87); lean_dec(x_85); -x_88 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63; +x_88 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48; lean_inc(x_83); lean_inc(x_86); x_89 = l_Lean_addMacroScope(x_86, x_88, x_83); x_90 = lean_box(0); -x_91 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62; +x_91 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47; x_92 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__5; lean_inc(x_80); x_93 = lean_alloc_ctor(3, 4, 0); @@ -5169,24 +4288,24 @@ lean_ctor_set(x_93, 0, x_80); lean_ctor_set(x_93, 1, x_91); lean_ctor_set(x_93, 2, x_89); lean_ctor_set(x_93, 3, x_92); -x_94 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; +x_94 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56; lean_inc(x_80); x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_80); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43; +x_96 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22; lean_inc(x_80); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_80); lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70; +x_98 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57; lean_inc(x_80); x_99 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_99, 0, x_80); lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34; +x_100 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7; x_101 = l_Lean_addMacroScope(x_86, x_100, x_83); -x_102 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; +x_102 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6; lean_inc(x_80); x_103 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_103, 0, x_80); @@ -5200,11 +4319,11 @@ lean_ctor_set(x_105, 0, x_53); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_push(x_55, x_99); x_107 = lean_array_push(x_106, x_105); -x_108 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71; +x_108 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54; +x_110 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37; lean_inc(x_80); x_111 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_111, 0, x_80); @@ -5215,11 +4334,11 @@ lean_ctor_set(x_113, 0, x_53); lean_ctor_set(x_113, 1, x_112); x_114 = lean_array_push(x_55, x_109); x_115 = lean_array_push(x_114, x_113); -x_116 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51; +x_116 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76; +x_118 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63; lean_inc(x_80); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_80); @@ -5228,12 +4347,12 @@ lean_inc(x_3); x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_53); lean_ctor_set(x_120, 1, x_3); -x_121 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; +x_121 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; x_122 = lean_array_push(x_121, x_119); x_123 = lean_array_push(x_122, x_103); lean_inc(x_120); x_124 = lean_array_push(x_123, x_120); -x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77; +x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -5249,18 +4368,18 @@ x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_53); lean_ctor_set(x_132, 1, x_131); x_133 = lean_array_push(x_48, x_132); -x_134 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49; +x_134 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28; x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); x_136 = lean_array_push(x_48, x_135); -x_137 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47; +x_137 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26; x_138 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_138, 0, x_137); lean_ctor_set(x_138, 1, x_136); x_139 = lean_array_push(x_55, x_97); x_140 = lean_array_push(x_139, x_138); -x_141 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42; +x_141 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21; x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_141); lean_ctor_set(x_142, 1, x_140); @@ -5269,14 +4388,14 @@ x_144 = lean_array_push(x_143, x_120); x_145 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_145, 0, x_53); lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; +x_146 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73; x_147 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_147, 0, x_80); lean_ctor_set(x_147, 1, x_146); x_148 = lean_array_push(x_121, x_95); x_149 = lean_array_push(x_148, x_145); x_150 = lean_array_push(x_149, x_147); -x_151 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; +x_151 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55; x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_151); lean_ctor_set(x_152, 1, x_150); @@ -5313,7 +4432,7 @@ x_168 = lean_usize_of_nat(x_167); lean_dec(x_167); x_169 = 0; x_170 = x_78; -x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_168, x_169, x_170); +x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_168, x_169, x_170); x_172 = x_171; x_173 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_174 = l_Lean_mkSepArray(x_172, x_173); @@ -5328,7 +4447,7 @@ x_177 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6 x_178 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_178, 0, x_159); lean_ctor_set(x_178, 1, x_177); -x_179 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; +x_179 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; x_180 = lean_array_push(x_179, x_166); x_181 = lean_array_push(x_180, x_176); x_182 = lean_array_push(x_181, x_178); @@ -5619,7 +4738,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_1, 4); lean_inc(x_10); -x_11 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_11 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; lean_inc(x_10); x_12 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__7(x_1, x_2, x_11, x_10, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_12) == 0) @@ -5744,7 +4863,6 @@ _start: { lean_object* x_17; x_17 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_11); lean_dec(x_8); lean_dec(x_4); return x_17; @@ -5762,7 +4880,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__2( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5788,7 +4906,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__5( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5871,15 +4989,15 @@ x_29 = lean_usize_of_nat(x_28); lean_dec(x_28); x_30 = 0; x_31 = x_13; -x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_29, x_30, x_31); +x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_29, x_30, x_31); x_33 = x_32; x_34 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_35 = l_Lean_mkSepArray(x_33, x_34); lean_dec(x_33); -x_36 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_36 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; x_37 = l_Array_append___rarg(x_36, x_35); lean_dec(x_35); -x_38 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_38 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -5892,7 +5010,7 @@ lean_dec(x_16); x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_38); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_44 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_45 = lean_array_push(x_44, x_43); x_46 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__5; x_47 = lean_alloc_ctor(1, 2, 0); @@ -5900,7 +5018,7 @@ lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__6; x_49 = lean_array_push(x_48, x_27); -x_50 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +x_50 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; x_51 = lean_array_push(x_49, x_50); x_52 = lean_array_push(x_51, x_39); x_53 = lean_array_push(x_52, x_50); @@ -5929,15 +5047,15 @@ x_62 = lean_usize_of_nat(x_61); lean_dec(x_61); x_63 = 0; x_64 = x_13; -x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_62, x_63, x_64); +x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_62, x_63, x_64); x_66 = x_65; x_67 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_68 = l_Lean_mkSepArray(x_66, x_67); lean_dec(x_66); -x_69 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_69 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; x_70 = l_Array_append___rarg(x_69, x_68); lean_dec(x_68); -x_71 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_71 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); @@ -5950,7 +5068,7 @@ lean_dec(x_16); x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_71); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_77 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_78 = lean_array_push(x_77, x_76); x_79 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__5; x_80 = lean_alloc_ctor(1, 2, 0); @@ -5958,7 +5076,7 @@ lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__6; x_82 = lean_array_push(x_81, x_60); -x_83 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +x_83 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_72); x_86 = lean_array_push(x_85, x_83); @@ -6066,7 +5184,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -6075,7 +5193,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); @@ -6090,7 +5208,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -6121,7 +5239,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__6() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__4; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17; x_2 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -6186,7 +5304,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch___rarg___closed__6; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6196,7 +5314,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__13; -x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6267,7 +5385,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__6; +x_1 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19; x_2 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -6358,7 +5476,7 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; +x_33 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50; x_34 = l_Lean_addMacroScope(x_31, x_33, x_28); x_35 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__2; x_36 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__4; @@ -6368,7 +5486,7 @@ lean_ctor_set(x_37, 0, x_25); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69; +x_38 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56; lean_inc(x_25); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_25); @@ -6378,7 +5496,7 @@ lean_inc(x_40); lean_dec(x_17); x_41 = lean_array_get(x_10, x_40, x_11); x_42 = lean_mk_syntax_ident(x_41); -x_43 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38; +x_43 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11; lean_inc(x_25); x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_25); @@ -6387,41 +5505,41 @@ x_45 = lean_unsigned_to_nat(1u); x_46 = lean_array_get(x_10, x_40, x_45); lean_dec(x_40); x_47 = lean_mk_syntax_ident(x_46); -x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39; +x_48 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12; x_49 = lean_array_push(x_48, x_42); x_50 = lean_array_push(x_49, x_44); x_51 = lean_array_push(x_50, x_47); -x_52 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37; +x_52 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10; 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_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27; +x_54 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36; x_55 = lean_array_push(x_54, x_53); -x_56 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58; +x_56 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41; x_57 = lean_array_push(x_55, x_56); -x_58 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19; +x_58 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30; 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 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86; +x_60 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73; x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_25); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_48, x_39); x_63 = lean_array_push(x_62, x_59); x_64 = lean_array_push(x_63, x_61); -x_65 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68; +x_65 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_67 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_68 = lean_array_push(x_67, x_66); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_58); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_push(x_54, x_37); x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8; +x_72 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -6483,13 +5601,13 @@ x_101 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__18; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_103 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; x_104 = l_Array_append___rarg(x_103, x_23); lean_dec(x_23); x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_58); lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; +x_106 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; lean_inc(x_75); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_75); @@ -6510,7 +5628,7 @@ x_116 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; +x_118 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_75); lean_ctor_set(x_119, 1, x_118); @@ -6521,7 +5639,7 @@ x_123 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24; x_124 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_124, 0, x_123); lean_ctor_set(x_124, 1, x_122); -x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; +x_125 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; x_126 = lean_array_push(x_125, x_97); x_127 = lean_array_push(x_126, x_102); x_128 = lean_array_push(x_127, x_117); @@ -6580,13 +5698,13 @@ x_156 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__18; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); -x_158 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57; +x_158 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40; x_159 = l_Array_append___rarg(x_158, x_23); lean_dec(x_23); x_160 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_160, 0, x_58); lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35; +x_161 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8; lean_inc(x_75); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_75); @@ -6607,7 +5725,7 @@ x_171 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20; x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_171); lean_ctor_set(x_172, 1, x_170); -x_173 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98; +x_173 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85; x_174 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_174, 0, x_75); lean_ctor_set(x_174, 1, x_173); @@ -6618,7 +5736,7 @@ x_178 = l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__24; 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 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85; +x_180 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72; x_181 = lean_array_push(x_180, x_152); x_182 = lean_array_push(x_181, x_157); x_183 = lean_array_push(x_182, x_172); @@ -6755,6 +5873,16 @@ return x_12; } } } +lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__1() { _start: { @@ -6880,7 +6008,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26; +x_18 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35; x_19 = lean_array_push(x_18, x_10); x_20 = l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2; x_21 = 0; @@ -6895,7 +6023,7 @@ lean_dec(x_19); lean_dec(x_13); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_23; lean_object* 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_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -6911,6 +6039,7 @@ if (lean_is_exclusive(x_22)) { x_26 = lean_array_push(x_18, x_16); x_27 = l_Array_append___rarg(x_26, x_23); lean_dec(x_23); +x_28 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__6; x_45 = lean_st_ref_get(x_7, x_24); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -6925,34 +6054,33 @@ lean_object* x_49; x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); lean_dec(x_45); -x_28 = x_21; -x_29 = x_49; +x_29 = x_21; +x_30 = x_49; goto block_44; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_50 = lean_ctor_get(x_45, 1); lean_inc(x_50); lean_dec(x_45); -x_51 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__6; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_50); -x_53 = lean_ctor_get(x_52, 0); +x_51 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); +lean_dec(x_51); +x_54 = lean_unbox(x_52); lean_dec(x_52); -x_55 = lean_unbox(x_53); -lean_dec(x_53); -x_28 = x_55; x_29 = x_54; +x_30 = x_53; goto block_44; } block_44: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_30; +lean_object* x_31; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6960,33 +6088,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); if (lean_is_scalar(x_25)) { - x_30 = lean_alloc_ctor(0, 2, 0); + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_25; + x_31 = x_25; } -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +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_dec(x_25); lean_inc(x_27); -x_31 = lean_array_to_list(lean_box(0), x_27); -x_32 = l_List_map___at_Lean_Elab_Deriving_DecEq_mkDecEqCmds___spec__1(x_31); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__8; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__10; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__6; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_32 = lean_array_to_list(lean_box(0), x_27); +x_33 = l_List_map___at_Lean_Elab_Deriving_DecEq_mkDecEqCmds___spec__1(x_32); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__8; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__10; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_30); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7018,7 +6145,7 @@ return x_43; } else { -uint8_t x_56; +uint8_t x_55; lean_dec(x_16); lean_dec(x_7); lean_dec(x_6); @@ -7026,29 +6153,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_56 = !lean_is_exclusive(x_22); -if (x_56 == 0) +x_55 = !lean_is_exclusive(x_22); +if (x_55 == 0) { return x_22; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_22, 0); -x_58 = lean_ctor_get(x_22, 1); -lean_inc(x_58); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_22, 0); +x_57 = lean_ctor_get(x_22, 1); lean_inc(x_57); +lean_inc(x_56); lean_dec(x_22); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +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; } } } else { -uint8_t x_60; +uint8_t x_59; lean_dec(x_13); lean_dec(x_10); lean_dec(x_7); @@ -7057,29 +6184,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_60 = !lean_is_exclusive(x_15); -if (x_60 == 0) +x_59 = !lean_is_exclusive(x_15); +if (x_59 == 0) { return x_15; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_15, 0); -x_62 = lean_ctor_get(x_15, 1); -lean_inc(x_62); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_15, 0); +x_61 = lean_ctor_get(x_15, 1); lean_inc(x_61); +lean_inc(x_60); lean_dec(x_15); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_64; +uint8_t x_63; lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -7087,27 +6214,42 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_64 = !lean_is_exclusive(x_12); -if (x_64 == 0) +x_63 = !lean_is_exclusive(x_12); +if (x_63 == 0) { return x_12; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_12, 0); -x_66 = lean_ctor_get(x_12, 1); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_12, 0); +x_65 = lean_ctor_get(x_12, 1); lean_inc(x_65); +lean_inc(x_64); lean_dec(x_12); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } } +lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -7364,8 +6506,7 @@ x_31 = 0; x_32 = lean_usize_of_nat(x_24); lean_dec(x_24); x_33 = lean_box(0); -x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_22, x_31, x_32, x_33, x_2, x_3, x_23); -lean_dec(x_2); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_22, x_31, x_32, x_33, x_2, x_3, x_23); lean_dec(x_22); if (lean_obj_tag(x_34) == 0) { @@ -7469,8 +6610,7 @@ x_58 = 0; x_59 = lean_usize_of_nat(x_49); lean_dec(x_49); x_60 = lean_box(0); -x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_47, x_58, x_59, x_60, x_2, x_3, x_48); -lean_dec(x_2); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_47, x_58, x_59, x_60, x_2, x_3, x_48); lean_dec(x_47); if (lean_obj_tag(x_61) == 0) { @@ -7635,7 +6775,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1() { _start: { lean_object* x_1; @@ -7643,12 +6783,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandl return x_1; } } -lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2; -x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1; +x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -7713,6 +6853,178 @@ l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__1 = _init_l_Lean_Elab_ lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__1); l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2 = _init_l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg___closed__2); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__2); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__3); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__4); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__5); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__9); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__10); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__11); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__13); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__14); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__19); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__20); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__21); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__22); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__23); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__24); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__25); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__26); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__27); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__28); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__29); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__31); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__32); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__33); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__34); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__35); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__37); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__38); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__39); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__40); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__41); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__42); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__43); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__44); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__45); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__46); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__47); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__48); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__49); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__50); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__51); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__52); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__53); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__55); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__56); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__58); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__59); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__60); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__61); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__62); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__63); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__64); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__65); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__66); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__67); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__68); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__69); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__70); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__71); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__72); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__73); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__74); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__75); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__77); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__78); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__79); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__80); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__81); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__83); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__84); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__85); +l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86); l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1); l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__2(); @@ -7739,178 +7051,6 @@ l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12); l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13(); lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__13); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__15); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__16); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__17); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__19); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__21); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__22); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__23); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__24); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__25); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__26); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__27); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__29); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__31); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__32); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__34); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__35); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__36); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__37); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__38); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__39); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__40); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__41); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__42); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__43); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__44); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__45); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__46); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__47); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__48); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__49); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__50); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__51); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__52); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__53); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__54); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__55); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__56); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__57); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__58); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__59); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__60); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__61); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__62); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__63); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__64); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__65); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__66); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__67); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__68); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__69); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__70); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__71); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__72); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__73); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__74); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__75); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__76); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__77); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__78); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__79); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__80); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__81); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__82); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__83); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__84); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__85); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__86); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__87); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__88); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__89); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__90); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__91); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__92); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__94); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__95); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__96); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__97); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__98); -l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99 = _init_l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__99); l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1(); lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1); l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__2 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__2(); @@ -8043,9 +7183,9 @@ l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler__ lean_mark_persistent(l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__1); l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2 = _init_l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2(); lean_mark_persistent(l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1___closed__2); -l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1); -res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438_(lean_io_mk_world()); +l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488____closed__1); +res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2488_(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/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index d1bfb2d75a..2ba0fc0e6e 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -37,6 +37,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstan static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__39; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__5(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_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__19; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13; @@ -148,6 +149,7 @@ lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJs static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__9; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_FromToJson_0__Lean_Elab_Deriving_FromToJson_parseTagged___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__3; lean_object* l_Lean_Elab_Deriving_FromToJson_mkJsonField___lambda__1___boxed(lean_object*); static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___closed__2; @@ -174,6 +176,7 @@ lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__23; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__5___closed__6; +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__8; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__29; @@ -194,13 +197,11 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___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*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__18; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__7; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_FromToJson_0__Lean_Elab_Deriving_FromToJson_parseTagged_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__11; lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__44; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__8; @@ -215,7 +216,7 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__17; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__4; -lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403_(lean_object*); +lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413_(lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -303,7 +304,6 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___boxed__const__1; uint8_t l_UInt32_decEq(uint32_t, uint32_t); static lean_object* l___private_Lean_Elab_Deriving_FromToJson_0__Lean_Elab_Deriving_FromToJson_parseTagged___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4; @@ -323,6 +323,7 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessag static lean_object* l___private_Lean_Elab_Deriving_FromToJson_0__Lean_Elab_Deriving_FromToJson_parseTagged___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__2___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,7 +388,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts_match__3(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__5; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__19; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__41; @@ -2341,7 +2341,7 @@ x_77 = lean_usize_of_nat(x_76); lean_dec(x_76); x_78 = 0; x_79 = x_61; -x_80 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_77, x_78, x_79); +x_80 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_77, x_78, x_79); x_81 = x_80; x_82 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_83 = l_Lean_mkSepArray(x_81, x_82); @@ -2383,7 +2383,7 @@ x_99 = lean_usize_of_nat(x_98); lean_dec(x_98); x_100 = 0; x_101 = x_61; -x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_99, x_100, x_101); +x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_99, x_100, x_101); x_103 = x_102; x_104 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_105 = l_Lean_mkSepArray(x_103, x_104); @@ -4008,7 +4008,7 @@ x_79 = lean_array_get_size(x_26); x_80 = lean_usize_of_nat(x_79); lean_dec(x_79); x_81 = x_26; -x_82 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_80, x_19, x_81); +x_82 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_80, x_19, x_81); x_83 = x_82; x_84 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_85 = l_Lean_mkSepArray(x_83, x_84); @@ -4187,7 +4187,7 @@ x_177 = lean_array_get_size(x_26); x_178 = lean_usize_of_nat(x_177); lean_dec(x_177); x_179 = x_26; -x_180 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_178, x_19, x_179); +x_180 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_178, x_19, x_179); x_181 = x_180; x_182 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_183 = l_Lean_mkSepArray(x_181, x_182); @@ -4406,7 +4406,7 @@ x_283 = lean_usize_of_nat(x_282); lean_dec(x_282); x_284 = 0; x_285 = x_239; -x_286 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_283, x_284, x_285); +x_286 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_283, x_284, x_285); x_287 = x_286; x_288 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_289 = l_Lean_mkSepArray(x_287, x_288); @@ -4561,7 +4561,7 @@ x_369 = lean_usize_of_nat(x_368); lean_dec(x_368); x_370 = 0; x_371 = x_239; -x_372 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_369, x_370, x_371); +x_372 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_369, x_370, x_371); x_373 = x_372; x_374 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_375 = l_Lean_mkSepArray(x_373, x_374); @@ -5473,7 +5473,7 @@ x_41 = lean_usize_of_nat(x_40); lean_dec(x_40); x_42 = 0; x_43 = x_25; -x_44 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_41, x_42, x_43); +x_44 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_41, x_42, x_43); x_45 = x_44; x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_47 = l_Lean_mkSepArray(x_45, x_46); @@ -6473,8 +6473,7 @@ x_35 = 0; x_36 = lean_usize_of_nat(x_28); lean_dec(x_28); x_37 = lean_box(0); -x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_26, x_35, x_36, x_37, x_2, x_3, x_27); -lean_dec(x_2); +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_26, x_35, x_36, x_37, x_2, x_3, x_27); lean_dec(x_26); if (lean_obj_tag(x_38) == 0) { @@ -6578,8 +6577,7 @@ x_62 = 0; x_63 = lean_usize_of_nat(x_53); lean_dec(x_53); x_64 = lean_box(0); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_51, x_62, x_63, x_64, x_2, x_3, x_52); -lean_dec(x_2); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_51, x_62, x_63, x_64, x_2, x_3, x_52); lean_dec(x_51); if (lean_obj_tag(x_65) == 0) { @@ -6741,8 +6739,7 @@ x_96 = 0; x_97 = lean_usize_of_nat(x_89); lean_dec(x_89); x_98 = lean_box(0); -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_87, x_96, x_97, x_98, x_2, x_3, x_88); -lean_dec(x_2); +x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_87, x_96, x_97, x_98, x_2, x_3, x_88); lean_dec(x_87); if (lean_obj_tag(x_99) == 0) { @@ -6846,8 +6843,7 @@ x_123 = 0; x_124 = lean_usize_of_nat(x_114); lean_dec(x_114); x_125 = lean_box(0); -x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_112, x_123, x_124, x_125, x_2, x_3, x_113); -lean_dec(x_2); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_112, x_123, x_124, x_125, x_2, x_3, x_113); lean_dec(x_112); if (lean_obj_tag(x_126) == 0) { @@ -9326,7 +9322,7 @@ x_69 = lean_array_get_size(x_68); x_70 = lean_usize_of_nat(x_69); lean_dec(x_69); x_71 = x_68; -x_72 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_70, x_64, x_71); +x_72 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_70, x_64, x_71); x_73 = x_72; x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_75 = l_Lean_mkSepArray(x_73, x_74); @@ -12233,8 +12229,7 @@ x_35 = 0; x_36 = lean_usize_of_nat(x_28); lean_dec(x_28); x_37 = lean_box(0); -x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_26, x_35, x_36, x_37, x_2, x_3, x_27); -lean_dec(x_2); +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_26, x_35, x_36, x_37, x_2, x_3, x_27); lean_dec(x_26); if (lean_obj_tag(x_38) == 0) { @@ -12338,8 +12333,7 @@ x_62 = 0; x_63 = lean_usize_of_nat(x_53); lean_dec(x_53); x_64 = lean_box(0); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_51, x_62, x_63, x_64, x_2, x_3, x_52); -lean_dec(x_2); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_51, x_62, x_63, x_64, x_2, x_3, x_52); lean_dec(x_51); if (lean_obj_tag(x_65) == 0) { @@ -12501,8 +12495,7 @@ x_96 = 0; x_97 = lean_usize_of_nat(x_89); lean_dec(x_89); x_98 = lean_box(0); -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_87, x_96, x_97, x_98, x_2, x_3, x_88); -lean_dec(x_2); +x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_87, x_96, x_97, x_98, x_2, x_3, x_88); lean_dec(x_87); if (lean_obj_tag(x_99) == 0) { @@ -12606,8 +12599,7 @@ x_123 = 0; x_124 = lean_usize_of_nat(x_114); lean_dec(x_114); x_125 = lean_box(0); -x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_112, x_123, x_124, x_125, x_2, x_3, x_113); -lean_dec(x_2); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_112, x_123, x_124, x_125, x_2, x_3, x_113); lean_dec(x_112); if (lean_obj_tag(x_126) == 0) { @@ -12762,7 +12754,7 @@ lean_dec(x_2); return x_10; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1() { _start: { lean_object* x_1; @@ -12770,7 +12762,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanc return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2() { _start: { lean_object* x_1; @@ -12778,12 +12770,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInsta return x_1; } } -lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__2; -x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1; +x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -12792,7 +12784,7 @@ x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; -x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2; +x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2; x_8 = l_Lean_Elab_registerBuiltinDerivingHandler(x_6, x_7, x_5); return x_8; } @@ -13373,11 +13365,11 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__ lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__1); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403____closed__2); -res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4403_(lean_io_mk_world()); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__1); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413____closed__2); +res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4413_(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/Deriving/Hashable.c b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c index 3be99150bd..69fbaea868 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c @@ -17,13 +17,13 @@ lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_obje lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___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*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_Deriving_Hashable_mkHashableHandler(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__10; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__9; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__24; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__24; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -73,6 +73,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_m static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__18; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__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___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__5; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__5; lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -98,6 +99,7 @@ static lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__13; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__29; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1; static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__7; lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts_match__2(lean_object*); lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,6 +136,7 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkA static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__9; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(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___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch___closed__4; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__5; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__17; @@ -146,7 +149,6 @@ lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hasha lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__4; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -160,12 +162,13 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_Hashable_mkHashableHeader(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__19; lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__6; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__11; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__1; static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__3; -lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587_(lean_object*); +lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635_(lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1___closed__2; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__2; @@ -181,7 +184,6 @@ lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__17; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__2; static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__2; @@ -1539,7 +1541,7 @@ x_85 = lean_usize_of_nat(x_84); lean_dec(x_84); x_86 = 0; x_87 = x_73; -x_88 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_85, x_86, x_87); +x_88 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_85, x_86, x_87); x_89 = x_88; x_90 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10; x_91 = l_Lean_mkSepArray(x_89, x_90); @@ -1581,7 +1583,7 @@ x_107 = lean_usize_of_nat(x_106); lean_dec(x_106); x_108 = 0; x_109 = x_73; -x_110 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_107, x_108, x_109); +x_110 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_107, x_108, x_109); x_111 = x_110; x_112 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10; x_113 = l_Lean_mkSepArray(x_111, x_112); @@ -2142,7 +2144,7 @@ x_29 = lean_usize_of_nat(x_28); lean_dec(x_28); x_30 = 0; x_31 = x_13; -x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_29, x_30, x_31); +x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_29, x_30, x_31); x_33 = x_32; x_34 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10; x_35 = l_Lean_mkSepArray(x_33, x_34); @@ -2200,7 +2202,7 @@ x_62 = lean_usize_of_nat(x_61); lean_dec(x_61); x_63 = 0; x_64 = x_13; -x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_62, x_63, x_64); +x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_62, x_63, x_64); x_66 = x_65; x_67 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10; x_68 = l_Lean_mkSepArray(x_66, x_67); @@ -3598,6 +3600,16 @@ return x_12; } } } +lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} static lean_object* _init_l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__1() { _start: { @@ -3732,7 +3744,7 @@ x_21 = l_Lean_Elab_Deriving_mkInstanceCmds(x_14, x_19, x_1, x_20, x_2, x_3, x_4, lean_dec(x_14); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +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; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -3749,6 +3761,7 @@ x_25 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___ x_26 = lean_array_push(x_25, x_17); x_27 = l_Array_append___rarg(x_26, x_22); lean_dec(x_22); +x_28 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__6; x_45 = lean_st_ref_get(x_7, x_23); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -3764,34 +3777,33 @@ x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); lean_dec(x_45); x_50 = 0; -x_28 = x_50; -x_29 = x_49; +x_29 = x_50; +x_30 = x_49; goto block_44; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_object* x_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); -x_52 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__6; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_54 = lean_ctor_get(x_53, 0); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, 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); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); +lean_dec(x_52); +x_55 = lean_unbox(x_53); lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_28 = x_56; x_29 = x_55; +x_30 = x_54; goto block_44; } block_44: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_30; +lean_object* x_31; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3799,33 +3811,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); if (lean_is_scalar(x_24)) { - x_30 = lean_alloc_ctor(0, 2, 0); + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_24; + x_31 = x_24; } -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +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_dec(x_24); lean_inc(x_27); -x_31 = lean_array_to_list(lean_box(0), x_27); -x_32 = l_List_map___at___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___spec__1(x_31); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__8; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__10; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__6; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_32 = lean_array_to_list(lean_box(0), x_27); +x_33 = l_List_map___at___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___spec__1(x_32); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__8; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__10; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_30); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3857,7 +3868,7 @@ return x_43; } else { -uint8_t x_57; +uint8_t x_56; lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); @@ -3865,29 +3876,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) +x_56 = !lean_is_exclusive(x_21); +if (x_56 == 0) { return x_21; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); lean_inc(x_58); +lean_inc(x_57); lean_dec(x_21); -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; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_61; +uint8_t x_60; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -3895,56 +3906,71 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_16); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_16); +if (x_60 == 0) { return x_16; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_16, 0); -x_63 = lean_ctor_get(x_16, 1); -lean_inc(x_63); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_16, 0); +x_62 = lean_ctor_get(x_16, 1); lean_inc(x_62); +lean_inc(x_61); lean_dec(x_16); -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; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_65; +uint8_t x_64; 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_65 = !lean_is_exclusive(x_13); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_13); +if (x_64 == 0) { return x_13; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_13, 0); -x_67 = lean_ctor_get(x_13, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_13, 0); +x_66 = lean_ctor_get(x_13, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_13); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } +lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___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: { @@ -4274,8 +4300,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); -lean_dec(x_2); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) { @@ -4379,8 +4404,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); -lean_dec(x_2); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) { @@ -4488,7 +4512,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1() { _start: { lean_object* x_1; @@ -4496,12 +4520,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_Hashable_mkHashableHandler return x_1; } } -lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_Hashable_mkHashableHeader___rarg___closed__2; -x_3 = l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1; +x_3 = l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -4768,9 +4792,9 @@ l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashabl lean_mark_persistent(l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__9); l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__10 = _init_l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__10(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__10); -l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1 = _init_l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587____closed__1); -res = l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1587_(lean_io_mk_world()); +l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1 = _init_l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635____closed__1); +res = l_Lean_Elab_Deriving_Hashable_initFn____x40_Lean_Elab_Deriving_Hashable___hyg_1635_(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/Deriving/Inhabited.c b/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c index b74e28af7d..b3bc0280c8 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c @@ -13,17 +13,19 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11; lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__21; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith(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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_mkInhabitedInstanceHandler___spec__1___boxed(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_List_map___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__4(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__32; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__10; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -31,6 +33,7 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_instBinder; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__43; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2; @@ -39,18 +42,23 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Deriving_Inhabited_0__Le uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__13; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__23; lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ForEachExpr_visit___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__42; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__9; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__17; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f_match__2(lean_object*); @@ -58,7 +66,6 @@ lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedIn static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__7; lean_object* l_Lean_throwError___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__37; -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -66,19 +73,20 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Deriving_Inhabited_0__Le lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__24; lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(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_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1; +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5; +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__8; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__16; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__3___closed__2; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__4; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__18; -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_instBinderF; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___closed__1; @@ -96,26 +104,26 @@ lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, le lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__39; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__3; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__15; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3; 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___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_implicitBinderF; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParams___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux_match__1(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__6; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___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*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__7___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___closed__2; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__12; @@ -125,6 +133,7 @@ lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedIn lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith_match__1(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_sanitizeName___spec__1(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__1; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,7 +142,8 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageCo static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__2; lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__3(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5; lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__26; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,6 +153,7 @@ lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__25; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8; lean_object* l_Lean_Parser_Term_implicitBinder(uint8_t); lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,10 +168,11 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Deriving_Inhabited_0__Le static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__38; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__21; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1; size_t lean_usize_of_nat(lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_mkInhabitedInstanceHandler___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__2; @@ -168,11 +180,10 @@ lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedIn lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__41; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__34; -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__23; lean_object* l_Std_RBNode_findCore___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__5(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__7___closed__2; @@ -180,28 +191,31 @@ static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabite static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__13; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___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*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___closed__3; +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkInhabitedInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__36; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8(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_isInductive___at_Lean_Elab_mkInhabitedInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__3; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__19; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__24; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__5___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___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__2(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__7; lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__10; lean_object* l_Lean_isInductive___at_Lean_Elab_mkInhabitedInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__35; -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__27; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__40; @@ -218,20 +232,19 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___closed__4; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__1(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__16; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__44; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_implicitBinderF___closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__1; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkInhabitedInstanceHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__5; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__19; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__33; @@ -242,20 +255,19 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__18; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__30; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance_match__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__28; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, 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_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__14; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___closed__3; lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__15; lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__5(lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4(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_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__3; lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__2___boxed(lean_object*); @@ -263,30 +275,28 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__3; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__12; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3; +static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8; lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___lambda__1___closed__1; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___closed__1; lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1(lean_object*, uint8_t, 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*); static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__4; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Std_RBNode_findCore___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_mkInhabitedInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__25; lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___closed__4; static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__29; -static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; lean_object* l_runST___rarg(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066_(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___closed__26; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -515,7 +525,19 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lea return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_1, x_14); +x_16 = l_Lean_Expr_fvarId_x21(x_2); +x_17 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_3, x_16, x_1); +x_18 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg(x_4, x_5, x_15, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_18; +} +} +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -523,17 +545,17 @@ x_1 = lean_mk_string("Elab"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1; +x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -541,17 +563,17 @@ x_1 = lean_mk_string("Deriving"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2; -x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2; +x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -559,17 +581,17 @@ x_1 = lean_mk_string("inhabited"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4; -x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4; +x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -577,16 +599,16 @@ x_1 = lean_mk_string("adding local instance "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9() { _start: { lean_object* x_1; @@ -594,93 +616,89 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___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, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_st_ref_get(x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*1); -lean_dec(x_16); -if (x_17 == 0) +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_14 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6; +x_29 = lean_st_ref_get(x_12, x_13); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_5); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_1, x_19); -x_21 = l_Lean_Expr_fvarId_x21(x_6); -x_22 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_2, x_21, x_1); -x_23 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg(x_3, x_4, x_20, x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -return x_23; +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_15 = x_34; +x_16 = x_33; +goto block_28; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_dec(x_14); -x_25 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_26 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -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_dec(x_5); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_1, x_30); -x_32 = l_Lean_Expr_fvarId_x21(x_6); -x_33 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_2, x_32, x_1); -x_34 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg(x_3, x_4, x_31, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -return x_34; -} -else -{ -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; -x_35 = lean_ctor_get(x_26, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_36, 0, x_5); -x_37 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8; -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_25, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_35); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_1, x_43); -x_45 = l_Lean_Expr_fvarId_x21(x_6); -x_46 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_2, x_45, x_1); -x_47 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg(x_3, x_4, x_44, x_46, x_7, x_8, x_9, x_10, x_11, x_12, x_42); -return x_47; +lean_dec(x_29); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_15 = x_39; +x_16 = x_38; +goto block_28; +} +block_28: +{ +if (x_15 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +x_17 = lean_box(0); +x_18 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(x_1, x_6, x_2, x_3, x_4, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_18; +} +else +{ +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; +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_5); +x_20 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_14, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +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 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(x_1, x_6, x_2, x_3, x_4, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +lean_dec(x_25); +return x_27; } } } @@ -839,7 +857,7 @@ lean_inc(x_14); lean_inc(x_1); lean_inc(x_4); lean_inc(x_3); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___boxed), 13, 5); +x_35 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___boxed), 13, 5); lean_closure_set(x_35, 0, x_3); lean_closure_set(x_35, 1, x_4); lean_closure_set(x_35, 2, x_1); @@ -914,6 +932,16 @@ _start: lean_object* x_14; x_14 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(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_2); +return x_14; +} +} +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___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); return x_14; } } @@ -6512,7 +6540,24 @@ lean_dec(x_3); return x_11; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__1() { +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__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) { +_start: +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = 0; +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_1); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_10); +return x_15; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -6520,6 +6565,544 @@ x_1 = lean_mk_string("failed to generate instance using '"); return x_1; } } +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' "); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" because of field with type"); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(assuming parameters are inhabited)"); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = l_Lean_Meta_trySynthInstance(x_1, x_17, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +switch (lean_obj_tag(x_19)) { +case 0: +{ +lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +lean_dec(x_6); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_60 = lean_st_ref_get(x_15, x_20); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 3); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +x_65 = 0; +x_21 = x_65; +x_22 = x_64; +goto block_59; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +lean_inc(x_5); +x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_unbox(x_68); +lean_dec(x_68); +x_21 = x_70; +x_22 = x_69; +goto block_59; +} +block_59: +{ +if (x_21 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(0); +x_24 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_23, x_10, x_11, x_12, x_13, x_14, x_15, x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +return x_24; +} +else +{ +lean_object* x_25; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_25 = l_Lean_Meta_inferType(x_2, x_12, x_13, x_14, x_15, x_22); +if (lean_obj_tag(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; +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 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_3); +x_29 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_indentExpr(x_26); +if (x_4 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_34 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_34); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_27); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_41, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_41); +return x_43; +} +else +{ +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; +x_44 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_32); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_33); +x_49 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_50, x_10, x_11, x_12, x_13, x_14, x_15, x_27); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_52, x_10, x_11, x_12, x_13, x_14, x_15, x_53); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_52); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +x_55 = !lean_is_exclusive(x_25); +if (x_55 == 0) +{ +return x_25; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_25, 0); +x_57 = lean_ctor_get(x_25, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_25); +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; +} +} +} +} +} +case 1: +{ +uint8_t x_71; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_71 = !lean_is_exclusive(x_18); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_72 = lean_ctor_get(x_18, 0); +lean_dec(x_72); +x_73 = lean_ctor_get(x_19, 0); +lean_inc(x_73); +lean_dec(x_19); +x_74 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(x_8, x_6, x_73); +x_75 = lean_box(x_7); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_18, 0, x_77); +return x_18; +} +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_18, 1); +lean_inc(x_78); +lean_dec(x_18); +x_79 = lean_ctor_get(x_19, 0); +lean_inc(x_79); +lean_dec(x_19); +x_80 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(x_8, x_6, x_79); +x_81 = lean_box(x_7); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_78); +return x_84; +} +} +default: +{ +lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +lean_dec(x_6); +x_85 = lean_ctor_get(x_18, 1); +lean_inc(x_85); +lean_dec(x_18); +x_125 = lean_st_ref_get(x_15, x_85); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_126, 3); +lean_inc(x_127); +lean_dec(x_126); +x_128 = lean_ctor_get_uint8(x_127, sizeof(void*)*1); +lean_dec(x_127); +if (x_128 == 0) +{ +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_125, 1); +lean_inc(x_129); +lean_dec(x_125); +x_130 = 0; +x_86 = x_130; +x_87 = x_129; +goto block_124; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +lean_dec(x_125); +lean_inc(x_5); +x_132 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_5, x_10, x_11, x_12, x_13, x_14, x_15, x_131); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_unbox(x_133); +lean_dec(x_133); +x_86 = x_135; +x_87 = x_134; +goto block_124; +} +block_124: +{ +if (x_86 == 0) +{ +lean_object* x_88; lean_object* x_89; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_88 = lean_box(0); +x_89 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_88, x_10, x_11, x_12, x_13, x_14, x_15, x_87); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +return x_89; +} +else +{ +lean_object* x_90; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_90 = l_Lean_Meta_inferType(x_2, x_12, x_13, x_14, x_15, x_87); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_93, 0, x_3); +x_94 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___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_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___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_91); +if (x_4 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_99 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_100 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6; +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_98); +x_104 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_99); +x_105 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_104, x_10, x_11, x_12, x_13, x_14, x_15, x_92); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_106, x_10, x_11, x_12, x_13, x_14, x_15, x_107); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_106); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_109 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8; +x_110 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_110, 0, x_97); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6; +x_112 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_98); +x_114 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_115 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_115, x_10, x_11, x_12, x_13, x_14, x_15, x_92); +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 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_8, x_7, x_117, x_10, x_11, x_12, x_13, x_14, x_15, x_118); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_117); +return x_119; +} +} +else +{ +uint8_t x_120; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +x_120 = !lean_is_exclusive(x_90); +if (x_120 == 0) +{ +return x_90; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_90, 0); +x_122 = lean_ctor_get(x_90, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_90); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +} +} +} +} +else +{ +uint8_t x_136; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_136 = !lean_is_exclusive(x_18); +if (x_136 == 0) +{ +return x_18; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_18, 0); +x_138 = lean_ctor_get(x_18, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_18); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; +} +} +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("checking "); +return x_1; +} +} static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2() { _start: { @@ -6533,7 +7116,7 @@ static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Derivi _start: { lean_object* x_1; -x_1 = lean_mk_string("' "); +x_1 = lean_mk_string(" for '"); return x_1; } } @@ -6546,74 +7129,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" because of field with type"); -return x_1; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("(assuming parameters are inhabited)"); -return x_1; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("checking "); -return x_1; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" for '"); -return x_1; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { @@ -6627,775 +7142,115 @@ x_18 = lean_unsigned_to_nat(0u); x_19 = lean_nat_dec_eq(x_6, x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; 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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_20 = lean_unsigned_to_nat(1u); x_21 = lean_nat_sub(x_6, x_20); lean_dec(x_6); -x_40 = lean_ctor_get(x_8, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_8, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_42 = x_8; -} else { - lean_dec_ref(x_8); - x_42 = lean_box(0); -} -x_43 = l_Lean_instInhabitedExpr; -x_44 = lean_array_get(x_43, x_3, x_7); +x_31 = lean_ctor_get(x_8, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +lean_dec(x_8); +x_33 = l_Lean_instInhabitedExpr; +x_34 = lean_array_get(x_33, x_3, x_7); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_44); -x_45 = l_Lean_Meta_inferType(x_44, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_45) == 0) +lean_inc(x_34); +x_35 = l_Lean_Meta_inferType(x_34, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_35) == 0) { -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_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__3; -x_49 = lean_array_push(x_48, x_46); -x_50 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2; +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_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__3; +x_39 = lean_array_push(x_38, x_36); +x_40 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_51 = l_Lean_Meta_mkAppM(x_50, x_49, x_11, x_12, x_13, x_14, x_47); -if (lean_obj_tag(x_51) == 0) +x_41 = l_Lean_Meta_mkAppM(x_40, x_39, x_11, x_12, x_13, x_14, x_37); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_227; lean_object* x_228; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_242 = lean_st_ref_get(x_14, x_53); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_243, 3); -lean_inc(x_244); -lean_dec(x_243); -x_245 = lean_ctor_get_uint8(x_244, sizeof(void*)*1); -lean_dec(x_244); -if (x_245 == 0) +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6; +x_77 = lean_st_ref_get(x_14, x_43); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_ctor_get_uint8(x_79, sizeof(void*)*1); +lean_dec(x_79); +if (x_80 == 0) { -lean_object* x_246; uint8_t x_247; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -lean_dec(x_242); -x_247 = 0; -x_227 = x_247; -x_228 = x_246; -goto block_241; +lean_object* x_81; uint8_t x_82; +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); +x_82 = 0; +x_45 = x_82; +x_46 = x_81; +goto block_76; } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -x_248 = lean_ctor_get(x_242, 1); -lean_inc(x_248); -lean_dec(x_242); -x_249 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_250 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_249, x_9, x_10, x_11, x_12, x_13, x_14, x_248); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_227 = x_253; -x_228 = x_252; -goto block_241; -} -block_226: -{ -lean_object* x_55; lean_object* x_56; -x_55 = lean_box(0); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_56 = l_Lean_Meta_trySynthInstance(x_52, x_55, x_11, x_12, x_13, x_14, x_54); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -switch (lean_obj_tag(x_57)) { -case 0: -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_59 = l_Lean_Meta_inferType(x_44, x_11, x_12, x_13, x_14, x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_62 = x_59; -} else { - lean_dec_ref(x_59); - x_62 = lean_box(0); -} -x_118 = lean_st_ref_get(x_14, x_61); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_119, 3); -lean_inc(x_120); -lean_dec(x_119); -x_121 = lean_ctor_get_uint8(x_120, sizeof(void*)*1); -lean_dec(x_120); -if (x_121 == 0) -{ -lean_object* x_122; uint8_t x_123; -x_122 = lean_ctor_get(x_118, 1); -lean_inc(x_122); -lean_dec(x_118); -x_123 = 0; -x_63 = x_123; -x_64 = x_122; -goto block_117; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_124 = lean_ctor_get(x_118, 1); -lean_inc(x_124); -lean_dec(x_118); -x_125 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_126 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_125, x_9, x_10, x_11, x_12, x_13, x_14, x_124); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_unbox(x_127); -lean_dec(x_127); -x_63 = x_129; -x_64 = x_128; -goto block_117; -} -block_117: -{ -if (x_63 == 0) -{ -uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_60); -x_65 = 0; -x_66 = lean_box(x_65); -if (lean_is_scalar(x_42)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_42; -} -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_41); -x_68 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_68, 0, x_67); -if (lean_is_scalar(x_62)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_62; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_64); -x_22 = x_69; -goto block_39; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_62); -lean_inc(x_1); -x_70 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_70, 0, x_1); -x_71 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_indentExpr(x_60); -if (x_2 == 0) -{ -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; uint8_t x_84; -x_76 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_75); -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_76); -x_82 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_83 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_82, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_64); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) -{ -lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_83, 0); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_dec(x_77); +x_84 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_44, x_9, x_10, x_11, x_12, x_13, x_14, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_unbox(x_85); lean_dec(x_85); -x_86 = 0; -x_87 = lean_box(x_86); -if (lean_is_scalar(x_42)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_42; +x_45 = x_87; +x_46 = x_86; +goto block_76; } -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_41); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_83, 0, x_89); -x_22 = x_83; -goto block_39; -} -else +block_76: { -lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_90 = lean_ctor_get(x_83, 1); -lean_inc(x_90); -lean_dec(x_83); -x_91 = 0; -x_92 = lean_box(x_91); -if (lean_is_scalar(x_42)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_42; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_41); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_90); -x_22 = x_95; -goto block_39; -} -} -else +if (x_45 == 0) { -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; uint8_t x_105; -x_96 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8; -x_97 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_97, 0, x_74); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___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); -x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_75); -x_101 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -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___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_104 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_103, x_102, x_9, x_10, x_11, x_12, x_13, x_14, x_64); -x_105 = !lean_is_exclusive(x_104); -if (x_105 == 0) -{ -lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_106 = lean_ctor_get(x_104, 0); -lean_dec(x_106); -x_107 = 0; -x_108 = lean_box(x_107); -if (lean_is_scalar(x_42)) { - x_109 = lean_alloc_ctor(0, 2, 0); -} else { - x_109 = x_42; -} -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_41); -x_110 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_104, 0, x_110); -x_22 = x_104; -goto block_39; -} -else -{ -lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_111 = lean_ctor_get(x_104, 1); -lean_inc(x_111); -lean_dec(x_104); -x_112 = 0; -x_113 = lean_box(x_112); -if (lean_is_scalar(x_42)) { - x_114 = lean_alloc_ctor(0, 2, 0); -} else { - x_114 = x_42; -} -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_41); -x_115 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_115, 0, 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_111); -x_22 = x_116; -goto block_39; -} -} -} -} -} -else -{ -uint8_t x_130; -lean_dec(x_42); -lean_dec(x_41); -x_130 = !lean_is_exclusive(x_59); -if (x_130 == 0) -{ -x_22 = x_59; -goto block_39; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_59, 0); -x_132 = lean_ctor_get(x_59, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_59); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -x_22 = x_133; -goto block_39; -} -} -} -case 1: -{ -uint8_t x_134; -lean_dec(x_44); -x_134 = !lean_is_exclusive(x_56); -if (x_134 == 0) -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_135 = lean_ctor_get(x_56, 0); -lean_dec(x_135); -x_136 = lean_ctor_get(x_57, 0); -lean_inc(x_136); -lean_dec(x_57); -lean_inc(x_4); -x_137 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(x_41, x_4, x_136); -if (lean_is_scalar(x_42)) { - x_138 = lean_alloc_ctor(0, 2, 0); -} else { - x_138 = x_42; -} -lean_ctor_set(x_138, 0, x_40); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_56, 0, x_139); -x_22 = x_56; -goto block_39; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_140 = lean_ctor_get(x_56, 1); -lean_inc(x_140); -lean_dec(x_56); -x_141 = lean_ctor_get(x_57, 0); -lean_inc(x_141); -lean_dec(x_57); -lean_inc(x_4); -x_142 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(x_41, x_4, x_141); -if (lean_is_scalar(x_42)) { - x_143 = lean_alloc_ctor(0, 2, 0); -} else { - x_143 = x_42; -} -lean_ctor_set(x_143, 0, x_40); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, 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_140); -x_22 = x_145; -goto block_39; -} -} -default: -{ -lean_object* x_146; lean_object* x_147; -lean_dec(x_40); -x_146 = lean_ctor_get(x_56, 1); -lean_inc(x_146); -lean_dec(x_56); +lean_object* x_47; uint8_t x_48; lean_object* x_49; +x_47 = lean_box(0); +x_48 = lean_unbox(x_31); +lean_dec(x_31); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_147 = l_Lean_Meta_inferType(x_44, x_11, x_12, x_13, x_14, x_146); -if (lean_obj_tag(x_147) == 0) -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_150 = x_147; -} else { - lean_dec_ref(x_147); - x_150 = lean_box(0); -} -x_206 = lean_st_ref_get(x_14, x_149); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_207, 3); -lean_inc(x_208); -lean_dec(x_207); -x_209 = lean_ctor_get_uint8(x_208, sizeof(void*)*1); -lean_dec(x_208); -if (x_209 == 0) -{ -lean_object* x_210; uint8_t x_211; -x_210 = lean_ctor_get(x_206, 1); -lean_inc(x_210); -lean_dec(x_206); -x_211 = 0; -x_151 = x_211; -x_152 = x_210; -goto block_205; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_212 = lean_ctor_get(x_206, 1); -lean_inc(x_212); -lean_dec(x_206); -x_213 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_214 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_213, x_9, x_10, x_11, x_12, x_13, x_14, x_212); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_unbox(x_215); -lean_dec(x_215); -x_151 = x_217; -x_152 = x_216; -goto block_205; -} -block_205: -{ -if (x_151 == 0) -{ -uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -lean_dec(x_148); -x_153 = 0; -x_154 = lean_box(x_153); -if (lean_is_scalar(x_42)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_42; -} -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_41); -x_156 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_156, 0, x_155); -if (lean_is_scalar(x_150)) { - x_157 = lean_alloc_ctor(0, 2, 0); -} else { - x_157 = x_150; -} -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_152); -x_22 = x_157; -goto block_39; -} -else -{ -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_dec(x_150); +lean_inc(x_4); lean_inc(x_1); -x_158 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_158, 0, x_1); -x_159 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2; -x_160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_indentExpr(x_148); -if (x_2 == 0) +x_49 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2(x_42, x_34, x_1, x_2, x_44, x_4, x_48, x_32, x_47, x_9, x_10, x_11, x_12, x_13, x_14, x_46); +if (lean_obj_tag(x_49) == 0) { -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; uint8_t x_172; -x_164 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_165 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_165, 0, x_162); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6; -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_163); -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_164); -x_170 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_171 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_170, x_169, x_9, x_10, x_11, x_12, x_13, x_14, x_152); -x_172 = !lean_is_exclusive(x_171); -if (x_172 == 0) -{ -lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_173 = lean_ctor_get(x_171, 0); -lean_dec(x_173); -x_174 = 0; -x_175 = lean_box(x_174); -if (lean_is_scalar(x_42)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_42; -} -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_41); -x_177 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_171, 0, x_177); -x_22 = x_171; -goto block_39; +lean_object* x_50; lean_object* x_51; +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); +x_22 = x_50; +x_23 = x_51; +goto block_30; } else { -lean_object* x_178; uint8_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_178 = lean_ctor_get(x_171, 1); -lean_inc(x_178); -lean_dec(x_171); -x_179 = 0; -x_180 = lean_box(x_179); -if (lean_is_scalar(x_42)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_42; -} -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_41); -x_182 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_182, 0, x_181); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_178); -x_22 = x_183; -goto block_39; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_184 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8; -x_185 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_185, 0, x_162); -lean_ctor_set(x_185, 1, x_184); -x_186 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6; -x_187 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_163); -x_189 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_190 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -x_191 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_192 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_191, x_190, x_9, x_10, x_11, x_12, x_13, x_14, x_152); -x_193 = !lean_is_exclusive(x_192); -if (x_193 == 0) -{ -lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_194 = lean_ctor_get(x_192, 0); -lean_dec(x_194); -x_195 = 0; -x_196 = lean_box(x_195); -if (lean_is_scalar(x_42)) { - x_197 = lean_alloc_ctor(0, 2, 0); -} else { - x_197 = x_42; -} -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_41); -x_198 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_192, 0, x_198); -x_22 = x_192; -goto block_39; -} -else -{ -lean_object* x_199; uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_199 = lean_ctor_get(x_192, 1); -lean_inc(x_199); -lean_dec(x_192); -x_200 = 0; -x_201 = lean_box(x_200); -if (lean_is_scalar(x_42)) { - x_202 = lean_alloc_ctor(0, 2, 0); -} else { - x_202 = x_42; -} -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_41); -x_203 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_203, 0, x_202); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_199); -x_22 = x_204; -goto block_39; -} -} -} -} -} -else -{ -uint8_t x_218; -lean_dec(x_42); -lean_dec(x_41); -x_218 = !lean_is_exclusive(x_147); -if (x_218 == 0) -{ -x_22 = x_147; -goto block_39; -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_147, 0); -x_220 = lean_ctor_get(x_147, 1); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_147); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -x_22 = x_221; -goto block_39; -} -} -} -} -} -else -{ -uint8_t x_222; -lean_dec(x_44); -lean_dec(x_42); -lean_dec(x_41); -lean_dec(x_40); -x_222 = !lean_is_exclusive(x_56); -if (x_222 == 0) -{ -x_22 = x_56; -goto block_39; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_56, 0); -x_224 = lean_ctor_get(x_56, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_56); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_223); -lean_ctor_set(x_225, 1, x_224); -x_22 = x_225; -goto block_39; -} -} -} -block_241: -{ -if (x_227 == 0) -{ -x_54 = x_228; -goto block_226; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -lean_inc(x_52); -x_229 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_229, 0, x_52); -x_230 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10; -x_231 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12; -x_233 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -lean_inc(x_1); -x_234 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_234, 0, x_1); -x_235 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_235, 0, x_233); -lean_ctor_set(x_235, 1, x_234); -x_236 = l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___closed__2; -x_237 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -x_238 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_239 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_238, x_237, x_9, x_10, x_11, x_12, x_13, x_14, x_228); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); -lean_dec(x_239); -x_54 = x_240; -goto block_226; -} -} -} -else -{ -uint8_t x_254; -lean_dec(x_44); -lean_dec(x_42); -lean_dec(x_41); -lean_dec(x_40); +uint8_t x_52; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -7404,33 +7259,81 @@ lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); lean_dec(x_1); -x_254 = !lean_is_exclusive(x_51); -if (x_254 == 0) +x_52 = !lean_is_exclusive(x_49); +if (x_52 == 0) { -return x_51; +return x_49; } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_255 = lean_ctor_get(x_51, 0); -x_256 = lean_ctor_get(x_51, 1); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_51); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -return x_257; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_49); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_258; -lean_dec(x_44); -lean_dec(x_42); -lean_dec(x_41); -lean_dec(x_40); +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; uint8_t x_68; lean_object* x_69; +lean_inc(x_42); +x_56 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_56, 0, x_42); +x_57 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +lean_inc(x_1); +x_61 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_61, 0, x_1); +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___closed__2; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_44, x_64, x_9, x_10, x_11, x_12, x_13, x_14, x_46); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_31); +lean_dec(x_31); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_4); +lean_inc(x_1); +x_69 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2(x_42, x_34, x_1, x_2, x_44, x_4, x_68, x_32, x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_67); +lean_dec(x_66); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_22 = x_70; +x_23 = x_71; +goto block_30; +} +else +{ +uint8_t x_72; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -7439,35 +7342,100 @@ lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); lean_dec(x_1); -x_258 = !lean_is_exclusive(x_45); -if (x_258 == 0) +x_72 = !lean_is_exclusive(x_69); +if (x_72 == 0) { -return x_45; +return x_69; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_45, 0); -x_260 = lean_ctor_get(x_45, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_45); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -return x_261; +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_69, 0); +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_69); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } -block_39: +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_1); +x_88 = !lean_is_exclusive(x_41); +if (x_88 == 0) +{ +return x_41; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_41, 0); +x_90 = lean_ctor_get(x_41, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_41); +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; +} +} +} +else +{ +uint8_t x_92; +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_1); +x_92 = !lean_is_exclusive(x_35); +if (x_92 == 0) +{ +return x_35; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_35, 0); +x_94 = lean_ctor_get(x_35, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_35); +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_30: { if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; +lean_object* x_24; lean_object* x_25; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -7476,87 +7444,34 @@ lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); -x_26 = lean_ctor_get(x_23, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_22, 0); lean_inc(x_26); -lean_dec(x_23); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 0); -lean_inc(x_28); -lean_dec(x_23); -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; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_dec(x_22); -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -lean_dec(x_23); -x_32 = lean_ctor_get(x_5, 2); -x_33 = lean_nat_add(x_7, x_32); +x_27 = lean_ctor_get(x_5, 2); +x_28 = lean_nat_add(x_7, x_27); lean_dec(x_7); x_6 = x_21; -x_7 = x_33; -x_8 = x_31; -x_15 = x_30; +x_7 = x_28; +x_8 = x_26; +x_15 = x_23; goto _start; } } -else -{ -uint8_t x_35; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_22); -if (x_35 == 0) -{ -return x_22; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_22, 0); -x_37 = lean_ctor_get(x_22, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_22); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -else -{ -lean_object* x_262; +lean_object* x_96; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -7565,15 +7480,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_262, 0, x_8); -lean_ctor_set(x_262, 1, x_15); -return x_262; +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_8); +lean_ctor_set(x_96, 1, x_15); +return x_96; } } else { -lean_object* x_263; +lean_object* x_97; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -7582,10 +7497,10 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_263 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_263, 0, x_8); -lean_ctor_set(x_263, 1, x_15); -return x_263; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_8); +lean_ctor_set(x_97, 1, x_15); +return x_97; } } } @@ -7739,7 +7654,152 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___priv return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\n"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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) { +_start: +{ +lean_object* x_13; +lean_inc(x_6); +x_13 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +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_30 = lean_st_ref_get(x_11, x_15); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 0; +x_16 = x_35; +x_17 = x_34; +goto block_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_dec(x_30); +lean_inc(x_4); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_16 = x_40; +x_17 = x_39; +goto block_29; +} +block_29: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(x_14, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +lean_dec(x_6); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_inc(x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_14); +x_21 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_4, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(x_14, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_6); +lean_dec(x_26); +return x_28; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_6); +lean_dec(x_4); +x_41 = !lean_is_exclusive(x_13); +if (x_41 == 0) +{ +return x_13; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_13, 0); +x_43 = lean_ctor_get(x_13, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_13); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; @@ -7752,24 +7812,7 @@ lean_ctor_set(x_4, 1, x_1); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("\n"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -7777,16 +7820,16 @@ x_1 = lean_mk_string("inhabited instance using '"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -7794,16 +7837,16 @@ x_1 = lean_mk_string(" "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6; +x_1 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -7815,7 +7858,7 @@ x_16 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_16, 0, x_2); lean_ctor_set(x_16, 1, x_14); lean_ctor_set(x_16, 2, x_15); -x_17 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1; +x_17 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -7868,304 +7911,147 @@ return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_73; lean_object* x_74; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; x_28 = lean_ctor_get(x_18, 1); lean_inc(x_28); lean_dec(x_18); x_29 = lean_ctor_get(x_19, 1); lean_inc(x_29); lean_dec(x_19); -x_103 = lean_st_ref_get(x_12, x_28); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_104, 3); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*1); -lean_dec(x_105); -if (x_106 == 0) +x_30 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6; +x_65 = lean_st_ref_get(x_12, x_28); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_66, 3); +lean_inc(x_67); +lean_dec(x_66); +x_68 = lean_ctor_get_uint8(x_67, sizeof(void*)*1); +lean_dec(x_67); +if (x_68 == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -lean_dec(x_103); -x_108 = 0; -x_73 = x_108; -x_74 = x_107; -goto block_102; +lean_object* x_69; uint8_t x_70; +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +lean_dec(x_65); +x_70 = 0; +x_31 = x_70; +x_32 = x_69; +goto block_64; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_109 = lean_ctor_get(x_103, 1); -lean_inc(x_109); -lean_dec(x_103); -x_110 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_111 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_110, x_7, x_8, x_9, x_10, x_11, x_12, x_109); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); -x_114 = lean_unbox(x_112); -lean_dec(x_112); -x_73 = x_114; -x_74 = x_113; -goto block_102; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_71 = lean_ctor_get(x_65, 1); +lean_inc(x_71); +lean_dec(x_65); +x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_71); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_unbox(x_73); +lean_dec(x_73); +x_31 = x_75; +x_32 = x_74; +goto block_64; } -block_72: +block_64: { -lean_object* x_31; -lean_inc(x_7); -x_31 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith(x_5, x_3, x_29, x_7, x_8, x_9, x_10, x_11, x_12, x_30); -lean_dec(x_29); -if (lean_obj_tag(x_31) == 0) +if (x_31 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -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 = lean_st_ref_get(x_12, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_35, 3); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1); -lean_dec(x_36); -if (x_37 == 0) -{ -uint8_t x_38; +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(x_5, x_3, x_29, x_30, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_32); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_7); -x_38 = !lean_is_exclusive(x_34); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_34, 0); -lean_dec(x_39); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_32); -lean_ctor_set(x_34, 0, x_40); +lean_dec(x_29); return x_34; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_34, 1); -lean_inc(x_41); -lean_dec(x_34); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_32); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_44 = lean_ctor_get(x_34, 1); -lean_inc(x_44); -lean_dec(x_34); -x_45 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -if (x_48 == 0) -{ -uint8_t x_49; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -x_49 = !lean_is_exclusive(x_46); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_46, 0); -lean_dec(x_50); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_32); -lean_ctor_set(x_46, 0, x_51); -return x_46; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_32); -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; -} -} -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; lean_object* x_61; uint8_t x_62; -x_55 = lean_ctor_get(x_46, 1); -lean_inc(x_55); -lean_dec(x_46); -lean_inc(x_32); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_32); -x_57 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_45, x_60, x_7, x_8, x_9, x_10, x_11, x_12, x_55); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_32); -lean_ctor_set(x_61, 0, x_64); -return x_61; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_32); -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 -{ -uint8_t x_68; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -x_68 = !lean_is_exclusive(x_31); -if (x_68 == 0) -{ -return x_31; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_31, 0); -x_70 = lean_ctor_get(x_31, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_31); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -block_102: -{ -if (x_73 == 0) -{ -x_30 = x_74; -goto block_72; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_object* x_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_inc(x_3); -x_75 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_75, 0, x_3); -x_76 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5; -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Std_RBTree_toList___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__2(x_29); -x_81 = l_List_map___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__4(x_80); -x_82 = l_Lean_MessageData_ofList(x_81); -lean_dec(x_81); +x_35 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_35, 0, x_3); +x_36 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Std_RBTree_toList___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__2(x_29); +x_41 = l_List_map___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__4(x_40); +x_42 = l_Lean_MessageData_ofList(x_41); +lean_dec(x_41); if (x_4 == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_83 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -x_84 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_84, 0, x_79); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7; -x_86 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_82); -x_88 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_83); -x_89 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_90 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_89, x_88, x_7, x_8, x_9, x_10, x_11, x_12, x_74); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_30 = x_91; -goto block_72; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_43 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_39); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +x_49 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_30, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +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); +x_52 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(x_5, x_3, x_29, x_30, x_50, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_50); +lean_dec(x_29); +return x_52; } else { -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; -x_92 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8; -x_93 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_93, 0, x_79); -lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7; -x_95 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_82); -x_97 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10; -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___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; -x_100 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_99, x_98, x_7, x_8, x_9, x_10, x_11, x_12, x_74); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_30 = x_101; -goto block_72; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_53 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_39); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_42); +x_58 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_30, x_59, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(x_5, x_3, x_29, x_30, x_61, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_61); +lean_dec(x_29); +return x_63; } } } @@ -8173,7 +8059,7 @@ goto block_72; } else { -uint8_t x_115; +uint8_t x_76; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -8181,28 +8067,28 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_115 = !lean_is_exclusive(x_18); -if (x_115 == 0) +x_76 = !lean_is_exclusive(x_18); +if (x_76 == 0) { return x_18; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_18, 0); -x_117 = lean_ctor_get(x_18, 1); -lean_inc(x_117); -lean_inc(x_116); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_18, 0); +x_78 = lean_ctor_get(x_18, 1); +lean_inc(x_78); +lean_inc(x_77); lean_dec(x_18); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +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_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { 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; @@ -8216,7 +8102,7 @@ x_16 = l_Array_toSubarray___rarg(x_5, x_15, x_14); x_17 = l_Array_ofSubarray___rarg(x_16); lean_dec(x_16); x_18 = lean_box(x_3); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___boxed), 13, 5); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___boxed), 13, 5); lean_closure_set(x_19, 0, x_5); lean_closure_set(x_19, 1, x_14); lean_closure_set(x_19, 2, x_2); @@ -8247,7 +8133,7 @@ x_15 = lean_ctor_get(x_14, 2); lean_inc(x_15); lean_dec(x_14); x_16 = lean_box(x_3); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___boxed), 13, 4); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4___boxed), 13, 4); lean_closure_set(x_17, 0, x_12); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_16); @@ -8287,6 +8173,38 @@ return x_22; } } } +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(x_1, x_11, 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_12; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox(x_7); +lean_dec(x_7); +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2(x_1, x_2, x_3, x_17, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_19; +} +} lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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, lean_object* x_15) { _start: { @@ -8319,25 +8237,55 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +return x_13; +} +} +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); lean_dec(x_1); return x_15; } } -lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___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) { +lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__4(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_6); return x_15; } @@ -8409,7 +8357,6 @@ x_21 = lean_ctor_get(x_11, 0); lean_inc(x_21); lean_dec(x_11); x_22 = l_Lean_Elab_Command_elabCommand(x_21, x_4, x_5, x_20); -lean_dec(x_4); if (lean_obj_tag(x_22) == 0) { uint8_t x_23; @@ -9784,7 +9731,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1() { _start: { lean_object* x_1; @@ -9792,12 +9739,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_mkInhabitedInstanceHandler___boxed) return x_1; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -9805,7 +9752,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6; +x_6 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6; x_7 = l_Lean_registerTraceClass(x_6, x_5); return x_7; } @@ -9852,26 +9799,26 @@ l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_implicitBinderF = _init_l_ lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_implicitBinderF); l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_instBinderF = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_instBinderF(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_instBinderF); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__3); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__4); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__5); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__6); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__7); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__8); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__9); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__10); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__1); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__3); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__4); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__5); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__6); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__7); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__8); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__9); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__10); l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__1); l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2(); @@ -10050,6 +9997,22 @@ l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_m lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__44); l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__45 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__45(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__45); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__1); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__2); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__4); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__5); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__6); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__7); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__8); l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__1); l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__2(); @@ -10058,36 +10021,20 @@ l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_ lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__3); l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__4); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__8); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__10); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__11); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__12); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__1); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__2); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__3); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__4); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__5); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__6); -l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__1___closed__7); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__1); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___closed__2); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__1); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__3); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4); +l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__5); l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__1(); lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__1); l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3___closed__2(); @@ -10100,9 +10047,9 @@ l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___clos lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__3); l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__4 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838____closed__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1838_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066____closed__1); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_2066_(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/Deriving/Ord.c b/stage0/stdlib/Lean/Elab/Deriving/Ord.c index 98c9e489e2..e80d0d7229 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Ord.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Ord.c @@ -32,6 +32,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__31; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -66,7 +67,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_m static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__20; static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__21; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__29; -static lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__5; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__17; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__8; @@ -76,6 +76,7 @@ lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_Ord_mkMutualBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(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_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__23; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -83,6 +84,7 @@ static lean_object* l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__3; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMutualBlock___spec__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_Lean_Elab_Deriving_Ord_mkAuxFunction___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__1___closed__4; +lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__7; static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__24; lean_object* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,14 +158,13 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_m static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__20; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__10; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__20; -lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185_(lean_object*); +lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233_(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__12; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__12; static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__4; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__1___closed__3; lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___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*); static lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMutualBlock___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*); static lean_object* l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1; @@ -171,7 +172,9 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_m static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__17; static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___rarg___closed__1; +static lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__9; static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__1; lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___boxed(lean_object*); @@ -191,7 +194,6 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts__ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__1; lean_object* lean_array_pop(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__14; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__28; @@ -2148,7 +2150,7 @@ x_142 = lean_usize_of_nat(x_141); lean_dec(x_141); x_143 = 0; x_144 = x_103; -x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_142, x_143, x_144); +x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_142, x_143, x_144); x_146 = x_145; x_147 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16; x_148 = l_Lean_mkSepArray(x_146, x_147); @@ -2198,7 +2200,7 @@ x_170 = lean_array_get_size(x_118); x_171 = lean_usize_of_nat(x_170); lean_dec(x_170); x_172 = x_118; -x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_171, x_143, x_172); +x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_171, x_143, x_172); x_174 = x_173; x_175 = l_Lean_mkSepArray(x_174, x_147); lean_dec(x_174); @@ -2258,7 +2260,7 @@ x_199 = lean_array_get_size(x_131); x_200 = lean_usize_of_nat(x_199); lean_dec(x_199); x_201 = x_131; -x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_200, x_143, x_201); +x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_200, x_143, x_201); x_203 = x_202; x_204 = l_Lean_mkSepArray(x_203, x_147); lean_dec(x_203); @@ -2310,7 +2312,7 @@ x_225 = lean_array_get_size(x_131); x_226 = lean_usize_of_nat(x_225); lean_dec(x_225); x_227 = x_131; -x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_226, x_143, x_227); +x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_226, x_143, x_227); x_229 = x_228; x_230 = l_Lean_mkSepArray(x_229, x_147); lean_dec(x_229); @@ -2588,7 +2590,7 @@ x_348 = lean_usize_of_nat(x_347); lean_dec(x_347); x_349 = 0; x_350 = x_309; -x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_348, x_349, x_350); +x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_348, x_349, x_350); x_352 = x_351; x_353 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16; x_354 = l_Lean_mkSepArray(x_352, x_353); @@ -2638,7 +2640,7 @@ x_376 = lean_array_get_size(x_324); x_377 = lean_usize_of_nat(x_376); lean_dec(x_376); x_378 = x_324; -x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_377, x_349, x_378); +x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_377, x_349, x_378); x_380 = x_379; x_381 = l_Lean_mkSepArray(x_380, x_353); lean_dec(x_380); @@ -2705,7 +2707,7 @@ x_406 = lean_array_get_size(x_337); x_407 = lean_usize_of_nat(x_406); lean_dec(x_406); x_408 = x_337; -x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_407, x_349, x_408); +x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_407, x_349, x_408); x_410 = x_409; x_411 = l_Lean_mkSepArray(x_410, x_353); lean_dec(x_410); @@ -3205,7 +3207,7 @@ x_28 = lean_usize_of_nat(x_27); lean_dec(x_27); x_29 = 0; x_30 = x_12; -x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_28, x_29, x_30); +x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_28, x_29, x_30); x_32 = x_31; x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16; x_34 = l_Lean_mkSepArray(x_32, x_33); @@ -3263,7 +3265,7 @@ x_61 = lean_usize_of_nat(x_60); lean_dec(x_60); x_62 = 0; x_63 = x_12; -x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_61, x_62, x_63); +x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_61, x_62, x_63); x_65 = x_64; x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16; x_67 = l_Lean_mkSepArray(x_65, x_66); @@ -4853,6 +4855,16 @@ return x_12; } } } +lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} static lean_object* _init_l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__1() { _start: { @@ -4986,7 +4998,7 @@ x_21 = l_Lean_Elab_Deriving_mkInstanceCmds(x_14, x_19, x_1, x_20, x_2, x_3, x_4, lean_dec(x_14); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +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; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -5003,6 +5015,7 @@ x_25 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec_ x_26 = lean_array_push(x_25, x_17); x_27 = l_Array_append___rarg(x_26, x_22); lean_dec(x_22); +x_28 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__6; x_45 = lean_st_ref_get(x_7, x_23); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -5018,34 +5031,33 @@ x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); lean_dec(x_45); x_50 = 0; -x_28 = x_50; -x_29 = x_49; +x_29 = x_50; +x_30 = x_49; goto block_44; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_object* x_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); -x_52 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__6; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_54 = lean_ctor_get(x_53, 0); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, 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); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); +lean_dec(x_52); +x_55 = lean_unbox(x_53); lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_28 = x_56; x_29 = x_55; +x_30 = x_54; goto block_44; } block_44: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_30; +lean_object* x_31; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5053,33 +5065,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); if (lean_is_scalar(x_24)) { - x_30 = lean_alloc_ctor(0, 2, 0); + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_24; + x_31 = x_24; } -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +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_dec(x_24); lean_inc(x_27); -x_31 = lean_array_to_list(lean_box(0), x_27); -x_32 = l_List_map___at___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___spec__1(x_31); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__8; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__6; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_32 = lean_array_to_list(lean_box(0), x_27); +x_33 = l_List_map___at___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___spec__1(x_32); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__8; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_30); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5111,7 +5122,7 @@ return x_43; } else { -uint8_t x_57; +uint8_t x_56; lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); @@ -5119,29 +5130,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) +x_56 = !lean_is_exclusive(x_21); +if (x_56 == 0) { return x_21; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); lean_inc(x_58); +lean_inc(x_57); lean_dec(x_21); -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; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_61; +uint8_t x_60; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -5149,56 +5160,71 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_16); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_16); +if (x_60 == 0) { return x_16; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_16, 0); -x_63 = lean_ctor_get(x_16, 1); -lean_inc(x_63); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_16, 0); +x_62 = lean_ctor_get(x_16, 1); lean_inc(x_62); +lean_inc(x_61); lean_dec(x_16); -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; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_65; +uint8_t x_64; 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_65 = !lean_is_exclusive(x_13); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_13); +if (x_64 == 0) { return x_13; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_13, 0); -x_67 = lean_ctor_get(x_13, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_13, 0); +x_66 = lean_ctor_get(x_13, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_13); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } +lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___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: { @@ -5528,8 +5554,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); -lean_dec(x_2); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) { @@ -5633,8 +5658,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); -lean_dec(x_2); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) { @@ -5742,7 +5766,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1() { _start: { lean_object* x_1; @@ -5750,12 +5774,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler), return x_1; } } -lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_Ord_mkOrdHeader___rarg___closed__2; -x_3 = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1; +x_3 = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -6046,9 +6070,9 @@ l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds__ lean_mark_persistent(l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__9); l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10 = _init_l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10); -l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1 = _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185____closed__1); -res = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2185_(lean_io_mk_world()); +l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1 = _init_l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233____closed__1); +res = l_Lean_Elab_Deriving_Ord_initFn____x40_Lean_Elab_Deriving_Ord___hyg_2233_(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/Deriving/Repr.c b/stage0/stdlib/Lean/Elab/Deriving/Repr.c index f30ca6360a..a05f239665 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Repr.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Repr.c @@ -27,6 +27,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__1___closed__2; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__7; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -37,6 +38,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForIndu static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__5; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__43; lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1___closed__3; static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__28; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__20; @@ -44,12 +46,14 @@ lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__19; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1; static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1___closed__5; static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__30; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__33; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__22; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___closed__4; +lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__46; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___closed__4; @@ -70,7 +74,6 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__25; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__14; lean_object* l_Lean_MessageData_ofList(lean_object*); -static lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1; static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__12; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___closed__9; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__37; @@ -205,7 +208,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyFo static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___closed__2; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___rarg___closed__3; lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction(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_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___rarg___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__23; @@ -214,6 +216,7 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___rarg___closed__1 static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__12; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__11; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35; lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts_match__1(lean_object*); @@ -260,7 +263,6 @@ lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___boxed(lean_object*, lean_ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__24; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___boxed(lean_object**); lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__1___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___closed__1; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -324,7 +326,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyFo lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712_(lean_object*); +lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(lean_object*); static lean_object* _init_l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__1() { _start: { @@ -4278,7 +4280,7 @@ x_99 = lean_usize_of_nat(x_98); lean_dec(x_98); x_100 = 0; x_101 = x_86; -x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_99, x_100, x_101); +x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_99, x_100, x_101); x_103 = x_102; x_104 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_105 = l_Lean_mkSepArray(x_103, x_104); @@ -4530,7 +4532,7 @@ x_226 = lean_usize_of_nat(x_225); lean_dec(x_225); x_227 = 0; x_228 = x_86; -x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_226, x_227, x_228); +x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_226, x_227, x_228); x_230 = x_229; x_231 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_232 = l_Lean_mkSepArray(x_230, x_231); @@ -5173,7 +5175,7 @@ x_28 = lean_usize_of_nat(x_27); lean_dec(x_27); x_29 = 0; x_30 = x_12; -x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_28, x_29, x_30); +x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_28, x_29, x_30); x_32 = x_31; x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_34 = l_Lean_mkSepArray(x_32, x_33); @@ -5231,7 +5233,7 @@ x_61 = lean_usize_of_nat(x_60); lean_dec(x_60); x_62 = 0; x_63 = x_12; -x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_61, x_62, x_63); +x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_61, x_62, x_63); x_65 = x_64; x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_67 = l_Lean_mkSepArray(x_65, x_66); @@ -6750,6 +6752,16 @@ return x_12; } } } +lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} static lean_object* _init_l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__1() { _start: { @@ -6875,7 +6887,7 @@ x_21 = l_Lean_Elab_Deriving_mkInstanceCmds(x_14, x_19, x_1, x_20, x_2, x_3, x_4, lean_dec(x_14); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +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; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -6892,6 +6904,7 @@ x_25 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__18; x_26 = lean_array_push(x_25, x_17); x_27 = l_Array_append___rarg(x_26, x_22); lean_dec(x_22); +x_28 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__5; x_45 = lean_st_ref_get(x_7, x_23); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -6907,34 +6920,33 @@ x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); lean_dec(x_45); x_50 = 0; -x_28 = x_50; -x_29 = x_49; +x_29 = x_50; +x_30 = x_49; goto block_44; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_object* x_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); -x_52 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__5; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_54 = lean_ctor_get(x_53, 0); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, 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); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); +lean_dec(x_52); +x_55 = lean_unbox(x_53); lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_28 = x_56; x_29 = x_55; +x_30 = x_54; goto block_44; } block_44: { -if (x_28 == 0) +if (x_29 == 0) { -lean_object* x_30; +lean_object* x_31; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6942,33 +6954,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); if (lean_is_scalar(x_24)) { - x_30 = lean_alloc_ctor(0, 2, 0); + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_30 = x_24; + x_31 = x_24; } -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +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_dec(x_24); lean_inc(x_27); -x_31 = lean_array_to_list(lean_box(0), x_27); -x_32 = l_List_map___at___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___spec__1(x_31); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__7; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__5; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_32 = lean_array_to_list(lean_box(0), x_27); +x_33 = l_List_map___at___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___spec__1(x_32); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__7; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_30); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7000,7 +7011,7 @@ return x_43; } else { -uint8_t x_57; +uint8_t x_56; lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); @@ -7008,29 +7019,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) +x_56 = !lean_is_exclusive(x_21); +if (x_56 == 0) { return x_21; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); -lean_inc(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_21, 0); +x_58 = lean_ctor_get(x_21, 1); lean_inc(x_58); +lean_inc(x_57); lean_dec(x_21); -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; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_61; +uint8_t x_60; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -7038,56 +7049,71 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_16); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_16); +if (x_60 == 0) { return x_16; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_16, 0); -x_63 = lean_ctor_get(x_16, 1); -lean_inc(x_63); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_16, 0); +x_62 = lean_ctor_get(x_16, 1); lean_inc(x_62); +lean_inc(x_61); lean_dec(x_16); -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; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_65; +uint8_t x_64; 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_65 = !lean_is_exclusive(x_13); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_13); +if (x_64 == 0) { return x_13; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_13, 0); -x_67 = lean_ctor_get(x_13, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_13, 0); +x_66 = lean_ctor_get(x_13, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_13); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } +lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___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: { @@ -7417,8 +7443,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); -lean_dec(x_2); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) { @@ -7522,8 +7547,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); -lean_dec(x_2); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) { @@ -7631,7 +7655,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1() { _start: { lean_object* x_1; @@ -7639,12 +7663,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_Repr_mkReprInstanceHandler return x_1; } } -lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__2; -x_3 = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1; +x_3 = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -8091,9 +8115,9 @@ l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmd lean_mark_persistent(l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__8); l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9 = _init_l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9(); lean_mark_persistent(l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__9); -l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1 = _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712____closed__1); -res = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2712_(lean_io_mk_world()); +l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1 = _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763____closed__1); +res = l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_2763_(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/Deriving/SizeOf.c b/stage0/stdlib/Lean/Elab/Deriving/SizeOf.c index a408cce14e..efd075a2f3 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/SizeOf.c +++ b/stage0/stdlib/Lean/Elab/Deriving/SizeOf.c @@ -21,7 +21,7 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52_(lean_object*); +lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53_(lean_object*); lean_object* l_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -31,14 +31,14 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2; extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1; +static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2; +static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1; lean_object* l_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3; +static lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -418,7 +418,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1() { _start: { lean_object* x_1; @@ -426,17 +426,17 @@ x_1 = lean_mk_string("SizeOf"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1; +x_2 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3() { +static lean_object* _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3() { _start: { lean_object* x_1; @@ -444,12 +444,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_SizeOf_mkSizeOfHandler___b return x_1; } } -lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2; -x_3 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3; +x_2 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2; +x_3 = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); return x_4; } @@ -471,13 +471,13 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Deriving_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__1); -l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__2); -l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3(); -lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52____closed__3); -res = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_52_(lean_io_mk_world()); +l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__1); +l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__2); +l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3 = _init_l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3(); +lean_mark_persistent(l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53____closed__3); +res = l_Lean_Elab_Deriving_SizeOf_initFn____x40_Lean_Elab_Deriving_SizeOf___hyg_53_(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/Deriving/Util.c b/stage0/stdlib/Lean/Elab/Deriving/Util.c index ffec5a7b4c..d287af3a71 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Util.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Util.c @@ -76,6 +76,7 @@ uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Elab_Deriving_mkDiscr___closed__2; lean_object* l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1___closed__14; +lean_object* l_Lean_Elab_Deriving_mkContext___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_mkDiscr___boxed(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_Elab_Deriving_instBinderF; @@ -181,6 +182,7 @@ static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_mkLet___sp lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_mkInductiveApp___closed__6; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkHeader___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* l_Lean_Elab_Deriving_mkContext___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_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___lambda__1___closed__8; @@ -1793,6 +1795,42 @@ return x_12; } } } +lean_object* l_Lean_Elab_Deriving_mkContext___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: +{ +uint8_t x_12; +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 3); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_array_get_size(x_2); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_dec_lt(x_14, x_13); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_3); +lean_ctor_set_uint8(x_16, sizeof(void*)*2, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_11); +return x_17; +} +else +{ +uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_18 = 1; +x_19 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_3); +lean_ctor_set_uint8(x_19, sizeof(void*)*2, 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_11); +return x_20; +} +} +} static lean_object* _init_l_Lean_Elab_Deriving_mkContext___closed__1() { _start: { @@ -1886,7 +1924,7 @@ lean_inc(x_13); x_15 = l_List_forIn_loop___at_Lean_Elab_Deriving_mkContext___spec__3(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(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; lean_object* x_22; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +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; lean_object* x_23; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -1897,174 +1935,134 @@ x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_21 = x_18; -} else { - lean_dec_ref(x_18); - x_21 = lean_box(0); -} -x_33 = lean_st_ref_get(x_8, x_20); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_34, 3); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); -lean_dec(x_35); -if (x_36 == 0) -{ -lean_object* x_37; -lean_dec(x_3); -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -lean_dec(x_33); -x_22 = x_37; -goto block_32; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_38 = lean_ctor_get(x_33, 1); +lean_dec(x_18); +x_21 = l_Lean_Elab_Deriving_mkContext___closed__6; +x_37 = lean_st_ref_get(x_8, x_20); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -lean_dec(x_33); -x_39 = l_Lean_Elab_Deriving_mkContext___closed__6; -x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -x_41 = lean_ctor_get(x_40, 0); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); lean_inc(x_41); -x_42 = lean_unbox(x_41); -lean_dec(x_41); -if (x_42 == 0) +lean_dec(x_37); +x_42 = 0; +x_22 = x_42; +x_23 = x_41; +goto block_36; +} +else { -lean_object* x_43; -lean_dec(x_3); -x_43 = lean_ctor_get(x_40, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); lean_inc(x_43); -lean_dec(x_40); -x_22 = x_43; -goto block_32; +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_22 = x_47; +x_23 = x_46; +goto block_36; } -else +block_36: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -lean_inc(x_19); -x_45 = lean_array_to_list(lean_box(0), x_19); -x_46 = l_List_map___at_Lean_Elab_Deriving_mkContext___spec__5(x_45); -x_47 = l_Lean_MessageData_ofList(x_46); -lean_dec(x_46); -x_48 = l_Lean_Elab_Deriving_mkContext___closed__8; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_39, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_44); +if (x_22 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Deriving_mkContext___lambda__1(x_11, x_16, x_19, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); lean_dec(x_3); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_22 = x_52; -goto block_32; -} -} -block_32: -{ -uint8_t x_23; -x_23 = lean_ctor_get_uint8(x_11, sizeof(void*)*5 + 3); lean_dec(x_11); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_array_get_size(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_lt(x_25, x_24); -lean_dec(x_24); -x_27 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set(x_27, 1, x_19); -lean_ctor_set_uint8(x_27, sizeof(void*)*2, x_26); -if (lean_is_scalar(x_21)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_21; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_22); -return x_28; +return x_25; } else { -uint8_t x_29; lean_object* x_30; lean_object* x_31; -x_29 = 1; -x_30 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_30, 0, x_16); -lean_ctor_set(x_30, 1, x_19); -lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_29); -if (lean_is_scalar(x_21)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_21; -} +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_inc(x_19); +x_26 = lean_array_to_list(lean_box(0), x_19); +x_27 = l_List_map___at_Lean_Elab_Deriving_mkContext___spec__5(x_26); +x_28 = l_Lean_MessageData_ofList(x_27); +lean_dec(x_27); +x_29 = l_Lean_Elab_Deriving_mkContext___closed__8; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_22); -return x_31; +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_21, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_Deriving_mkContext___lambda__1(x_11, x_16, x_19, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +lean_dec(x_3); +lean_dec(x_33); +lean_dec(x_11); +return x_35; } } } else { -uint8_t x_53; +uint8_t x_48; lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_15); -if (x_53 == 0) +x_48 = !lean_is_exclusive(x_15); +if (x_48 == 0) { return x_15; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_15, 0); -x_55 = lean_ctor_get(x_15, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_15, 0); +x_50 = lean_ctor_get(x_15, 1); +lean_inc(x_50); +lean_inc(x_49); lean_dec(x_15); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +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 { -uint8_t x_57; +uint8_t x_52; lean_dec(x_3); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_10); -if (x_57 == 0) +x_52 = !lean_is_exclusive(x_10); +if (x_52 == 0) { return x_10; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_10, 0); -x_59 = lean_ctor_get(x_10, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_10, 0); +x_54 = lean_ctor_get(x_10, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_10); -x_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; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } @@ -2122,6 +2120,22 @@ lean_dec(x_4); return x_11; } } +lean_object* l_Lean_Elab_Deriving_mkContext___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_Lean_Elab_Deriving_mkContext___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_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_1); +return x_12; +} +} lean_object* l_Lean_Elab_Deriving_mkContext___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: { diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 17e2b7f6e8..fbd1a21590 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Do -// Imports: Init Lean.Elab.Term Lean.Elab.Binders Lean.Elab.Match Lean.Elab.Quotation.Util Lean.Parser.Do +// Imports: Init Lean.Elab.Term Lean.Elab.BindersUtil Lean.Elab.PatternVar Lean.Elab.Quotation.Util Lean.Parser.Do #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -31,11 +31,11 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__23; @@ -55,8 +55,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(lean_object*); -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(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_Do_mkJmp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,18 +63,21 @@ lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn_match__1___rarg(lean_obj lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__5; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__18; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___boxed(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_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__12; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__13; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___closed__1; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkMatch___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -95,7 +96,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___cl lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetPatDeclVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__5; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,6 +117,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBind static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__1(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__43; @@ -131,7 +132,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___boxed(lean_object*, lean_ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoIdDeclVar___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___boxed(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,14 +140,15 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22 static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__5; +static lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; lean_object* l_Lean_Elab_Term_Do_concat___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__3; lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___boxed__const__1; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__15; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); @@ -164,7 +165,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___cl uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Elab_Term_Do_elabDo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__2; @@ -172,12 +172,12 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__5; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__6; 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*); lean_object* l_Lean_Elab_Term_Do_ToTerm_run(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___closed__2; -uint8_t l_Lean_Elab_Term_Do_hasTerminalAction(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasTerminalAction(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__11; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; @@ -192,7 +192,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(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_getDoSeq___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; static lean_object* l_Lean_Elab_Term_Do_concat___closed__2; size_t l_USize_sub(size_t, size_t); @@ -237,17 +236,16 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(lean_object*, lean static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__23; lean_object* l_Lean_Elab_Term_Do_getPatternsVarsEx(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_Do_getPatternVarsEx___spec__1___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___boxed(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_Elab_Term_Do_hasBreakContinue___lambda__1(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; lean_object* l_Lean_Elab_Term_Do_isMutableLet___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermReturn___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2(lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1; @@ -263,9 +261,8 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNo static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; +lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -297,10 +294,8 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__24; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__21; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind_match__1___rarg(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,6 +305,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1( static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__36; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__19; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__6; +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___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*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -321,9 +317,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__10; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__3; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -335,6 +329,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; lean_object* l_Lean_Elab_Term_Do_eraseVars(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__33; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__3; static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; @@ -352,8 +347,9 @@ lean_object* l_Lean_Elab_Term_Do_concat___lambda__1___boxed(lean_object*, lean_o lean_object* lean_nat_add(lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_isMutableLet(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__8; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___lambda__1___boxed(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___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_Do_elabDo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkFreshJP(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -364,11 +360,11 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__42; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__8; -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1___boxed(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm_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*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasBreakContinue_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__2; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -376,6 +372,7 @@ lean_object* l_Array_zip___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_Do_getPatternsVarsEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__6; static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; @@ -408,7 +405,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2(lean_object*, size_t, size_t); lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -420,13 +416,14 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; lean_object* l_Lean_Elab_Term_Do_getPatternVarsEx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_Do_hasBreakContinueReturn(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn(lean_object*); lean_object* l_Lean_Elab_Term_elabLiftMethod___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_ToTerm_mkJoinPoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__21; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__8; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -438,6 +435,7 @@ lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__1; lean_object* l_Lean_Elab_Term_Do_getLetDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandTermReturn(lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__5; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__7; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -445,7 +443,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_T lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__11; -lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__9; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -456,6 +453,7 @@ lean_object* l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_D lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__24; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__8; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; @@ -463,6 +461,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_union(lean_object*, l static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___closed__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9; lean_object* l_Lean_Elab_Term_expandTermUnless___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___boxed(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_Do_ToCodeBlock_doIfToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -476,7 +475,6 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_ static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__4; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; lean_object* l_Lean_Elab_Term_Do_getDoLetVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__28; @@ -501,6 +499,7 @@ static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1 static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__4; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1(lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__2; @@ -524,8 +523,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTer lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object*); -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; @@ -545,8 +542,10 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___c lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___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_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19; static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1; @@ -556,16 +555,17 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__3; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_Do_homogenize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -uint8_t l_Lean_Elab_Term_Do_hasExitPoint(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasExitPoint(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_Do_hasReturn(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasReturn(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Do_hasBreakContinue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -585,7 +585,6 @@ static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lea lean_object* l_Lean_Elab_Term_Do_getDoIdDeclVar(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux_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*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__20; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; @@ -607,7 +606,6 @@ static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__ lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__1; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2(lean_object*, size_t, size_t); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; @@ -615,6 +613,7 @@ lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop_match__1___ra lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4; +lean_object* l_Lean_Elab_Term_Do_hasExitPoint___lambda__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -626,7 +625,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___s lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__6; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_eraseVars___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__8; lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -645,6 +643,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___close static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__4; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; static lean_object* l_Lean_Elab_Term_Do_concat___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__4; @@ -653,6 +652,7 @@ lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__5; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__18; +lean_object* l_Lean_Elab_Term_Do_hasReturn___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__15; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__7; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -660,18 +660,15 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__3; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__3; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31; 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*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__1; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; @@ -684,7 +681,6 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___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_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1(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*); @@ -698,6 +694,7 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(l lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1___closed__3; +uint8_t l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__37; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_eraseVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop_match__1(lean_object*); @@ -708,10 +705,13 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__48; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__3___rarg(lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__2; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__3; +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_extendUpdatedVars(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_Do_mkDoSeq___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25; 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; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; @@ -731,7 +731,6 @@ lean_object* l_Array_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__12; static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__4; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__5; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -744,6 +743,7 @@ lean_object* l_Lean_Elab_Term_Do_mkSingletonDoSeq(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; extern lean_object* l_Lean_instInhabitedSyntax; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11; lean_object* l_Lean_Elab_Term_Do_mkReassignCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__23; static lean_object* l_Lean_Elab_Term_Do_getDoHaveVar___closed__1; @@ -760,6 +760,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_object*); lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__34; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3; +uint8_t l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___rarg(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; @@ -777,6 +778,7 @@ lean_object* l_Lean_Elab_Term_Do_mkUnless(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__18; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__1; +lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; @@ -800,7 +802,6 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___c lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__6; -lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t); size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Syntax_isAntiquot(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -819,17 +820,16 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__3; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1; lean_object* l_Lean_throwError___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*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux_match__1(lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__3; -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__11; @@ -863,15 +863,13 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___ uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___boxed(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__5; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__1; lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__18; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object*, lean_object*, lean_object*, lean_object*); @@ -880,10 +878,8 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lea static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__15; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__11; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24070_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24139_(lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3; @@ -896,10 +892,10 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJmp___boxed(lean_object*, lean_object* static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_concat(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_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; +static lean_object* l_Lean_Elab_Term_Do_hasReturn___closed__1; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -911,7 +907,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_updat lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkUnless___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_Do_hasReturn___boxed(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2(lean_object*); @@ -934,6 +929,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__10; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__2; @@ -954,7 +950,6 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__9(lean_object*, l lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__8; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___rarg(lean_object*); @@ -966,11 +961,9 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26 lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Id_instMonadId; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__40; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -979,14 +972,13 @@ static lean_object* l_Lean_Elab_Term_Do_mkUnless___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__2; lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -995,15 +987,18 @@ lean_object* l_Lean_Elab_Term_Do_getDoReassignVars(lean_object*, lean_object*, l static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__27; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___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_expandTermReturn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkFreshJP_x27___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_ToTerm_matchNestedTermResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1034,6 +1029,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_do lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__13; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1073,6 +1069,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinP static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__37; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2; @@ -1082,6 +1079,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lea lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___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*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__28; lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_getLetDeclVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___closed__4; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; @@ -1094,6 +1092,7 @@ lean_object* l_Lean_Elab_Term_Do_mkMatch(lean_object*, lean_object*, lean_object lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_Do_mkIte_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_attachJP___boxed(lean_object*, lean_object*); @@ -1102,8 +1101,8 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders___boxe lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(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_Kind_isRegular_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1(lean_object*); @@ -1117,6 +1116,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars___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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(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_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1___closed__1; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); @@ -1139,6 +1139,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; lean_object* l_Lean_Elab_Term_Do_getDoHaveVar(lean_object*); static lean_object* l_Lean_Elab_Term_Do_getLetDeclVars___closed__2; +uint8_t l_Lean_Elab_Term_Do_hasExitPoint___lambda__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkJmp___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_extendUpdatedVarsAux_update_match__1___rarg(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_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1147,7 +1148,6 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinde lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Do_mkContinue(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular___boxed(lean_object*); @@ -1172,6 +1172,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default; lean_object* l_Lean_Elab_Term_Do_mkReturn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__7; lean_object* l_Lean_Elab_Term_Do_mkReassignCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__2; @@ -1179,7 +1180,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_Do_attachJPs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg(lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2(lean_object*, size_t, size_t); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___boxed__const__1; @@ -1192,10 +1192,12 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimit lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__7___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___closed__1; @@ -1218,16 +1220,16 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___c lean_object* l_Lean_Elab_Term_Do_concat___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_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___boxed__const__1; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_Term_Do_hasReturn___lambda__1(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__9; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__8; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_insertVars___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__4(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_Do_ToCodeBlock_doIfToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1247,6 +1249,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__8; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_simp_macro_scopes(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__17; static lean_object* l_Lean_Elab_Term_Do_instInhabitedCode___closed__1; @@ -1264,7 +1267,6 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__23; uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___closed__2; @@ -1272,7 +1274,10 @@ lean_object* l_Lean_Elab_Term_Do_getDoReassignVars___boxed(lean_object*, lean_ob static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__4; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__7; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; @@ -1286,24 +1291,22 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__2; static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__2; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18; lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; lean_object* l_Lean_Elab_Term_Do_mkTerminalAction(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__27; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10; -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1___boxed(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoHaveVar___closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -1317,30 +1320,31 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___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_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37; lean_object* l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__2(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; lean_object* l_Lean_Elab_Term_Do_mkFreshJP_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___boxed(lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___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*); -uint8_t l_Lean_Elab_Term_Do_hasBreakContinue(lean_object*); +lean_object* l_Lean_Elab_Term_Do_hasBreakContinue(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__3; lean_object* l_Lean_Elab_Term_Do_isDoExpr_x3f(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__7; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_hasExitPoint___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__1; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPoints_match__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; lean_object* l_Lean_Elab_Term_Do_getDoLetVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1350,15 +1354,12 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__12; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___boxed(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__17; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__3; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; -lean_object* l_Lean_Elab_Term_Do_hasExitPoint___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__5; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1___boxed(lean_object*); @@ -1368,14 +1369,12 @@ lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(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_CodeBlocl_toMessageData_loop_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__4; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm_match__1(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); @@ -1385,7 +1384,6 @@ uint8_t l_Lean_Elab_Term_Do_ToTerm_instInhabitedKind; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkJmp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermReturn___closed__2; static lean_object* l_Lean_Elab_Term_Do_getDoReassignVars___closed__2; -static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(lean_object* x_1) { _start: { @@ -1578,6 +1576,40 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___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) { +_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; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = lean_ctor_get(x_7, 2); +x_13 = lean_ctor_get(x_7, 3); +x_14 = lean_ctor_get(x_7, 4); +x_15 = lean_ctor_get(x_7, 5); +x_16 = lean_ctor_get(x_7, 6); +x_17 = lean_ctor_get(x_7, 7); +x_18 = l_Lean_replaceRef(x_1, x_13); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_19 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_11); +lean_ctor_set(x_19, 2, x_12); +lean_ctor_set(x_19, 3, x_18); +lean_ctor_set(x_19, 4, x_14); +lean_ctor_set(x_19, 5, x_15); +lean_ctor_set(x_19, 6, x_16); +lean_ctor_set(x_19, 7, x_17); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9); +lean_dec(x_19); +return x_20; +} +} static lean_object* _init_l_Lean_Elab_Term_elabLiftMethod___closed__1() { _start: { @@ -1600,16 +1632,31 @@ _start: { lean_object* x_10; lean_object* x_11; x_10 = l_Lean_Elab_Term_elabLiftMethod___closed__2; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___spec__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabLiftMethod___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} lean_object* l_Lean_Elab_Term_elabLiftMethod___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_elabLiftMethod(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); @@ -4529,15 +4576,45 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasExitPointPred_loop_match return x_2; } } -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_2, 3); -lean_inc(x_3); -lean_dec(x_2); -x_4 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_1, x_3); -return x_4; +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_6, 3); +lean_inc(x_7); +lean_dec(x_6); +lean_inc(x_1); +x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_1, x_7); +x_9 = lean_unbox(x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_3 + x_10; +x_3 = x_11; +goto _start; +} +else +{ +uint8_t x_13; +lean_dec(x_1); +x_13 = 1; +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_1); +x_14 = 0; +return x_14; +} } } lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop(lean_object* x_1, lean_object* x_2) { @@ -4627,69 +4704,82 @@ return x_22; } case 9: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; x_23 = lean_ctor_get(x_2, 4); lean_inc(x_23); lean_dec(x_2); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1), 2, 1); -lean_closure_set(x_24, 0, x_1); -x_25 = lean_array_get_size(x_23); -x_26 = lean_unsigned_to_nat(0u); -x_27 = lean_nat_dec_lt(x_26, x_25); -if (x_27 == 0) +x_24 = lean_array_get_size(x_23); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_lt(x_25, x_24); +if (x_26 == 0) { -uint8_t x_28; lean_object* x_29; -lean_dec(x_25); +uint8_t x_27; lean_object* x_28; lean_dec(x_24); lean_dec(x_23); -x_28 = 0; -x_29 = lean_box(x_28); -return x_29; +lean_dec(x_1); +x_27 = 0; +x_28 = lean_box(x_27); +return x_28; } else { -uint8_t x_30; -x_30 = lean_nat_dec_le(x_25, x_25); -if (x_30 == 0) +uint8_t x_29; +x_29 = lean_nat_dec_le(x_24, x_24); +if (x_29 == 0) { -uint8_t x_31; lean_object* x_32; -lean_dec(x_25); +uint8_t x_30; lean_object* x_31; lean_dec(x_24); lean_dec(x_23); -x_31 = 0; -x_32 = lean_box(x_31); -return x_32; +lean_dec(x_1); +x_30 = 0; +x_31 = lean_box(x_30); +return x_31; } else { -size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; -x_33 = 0; -x_34 = lean_usize_of_nat(x_25); -lean_dec(x_25); -x_35 = l_Id_instMonadId; -x_36 = l_Array_anyMUnsafe_any___rarg(x_35, x_24, x_23, x_33, x_34); -return x_36; +size_t x_32; size_t x_33; uint8_t x_34; lean_object* x_35; +x_32 = 0; +x_33 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_34 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1(x_1, x_23, x_32, x_33); +lean_dec(x_23); +x_35 = lean_box(x_34); +return x_35; } } } case 10: { -uint8_t x_37; lean_object* x_38; +uint8_t x_36; lean_object* x_37; lean_dec(x_2); lean_dec(x_1); -x_37 = 0; -x_38 = lean_box(x_37); -return x_38; +x_36 = 0; +x_37 = lean_box(x_36); +return x_37; } default: { -lean_object* x_39; -x_39 = lean_apply_1(x_1, x_2); -return x_39; +lean_object* x_38; +x_38 = lean_apply_1(x_1, x_2); +return x_38; } } } } +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPointPred_loop___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +x_8 = lean_box(x_7); +return x_8; +} +} lean_object* l_Lean_Elab_Term_Do_hasExitPointPred(lean_object* x_1, lean_object* x_2) { _start: { @@ -4698,192 +4788,36 @@ x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); return x_3; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = lean_ctor_get(x_5, 3); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -x_1 = x_2; -goto _start; -} -case 1: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 2); -x_1 = x_4; -goto _start; -} -case 2: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_6); -if (x_8 == 0) -{ -x_1 = x_7; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -case 3: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_1, 1); -x_1 = x_11; -goto _start; -} -case 8: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_1, 4); -x_14 = lean_ctor_get(x_1, 5); -x_15 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_13); -if (x_15 == 0) -{ -x_1 = x_14; -goto _start; -} -else -{ -uint8_t x_17; -x_17 = 1; -return x_17; -} -} -case 9: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_1, 4); -x_19 = lean_array_get_size(x_18); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_nat_dec_lt(x_20, x_19); -if (x_21 == 0) -{ -uint8_t x_22; -lean_dec(x_19); -x_22 = 0; -return x_22; -} -else -{ -uint8_t x_23; -x_23 = lean_nat_dec_le(x_19, x_19); -if (x_23 == 0) -{ -uint8_t x_24; -lean_dec(x_19); -x_24 = 0; -return x_24; -} -else -{ -size_t x_25; size_t x_26; uint8_t x_27; -x_25 = 0; -x_26 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_27 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2(x_18, x_25, x_26); -return x_27; -} -} -} -case 10: -{ -uint8_t x_28; -x_28 = 0; -return x_28; -} -default: -{ -uint8_t x_29; -x_29 = 1; -return x_29; -} -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPoint(lean_object* x_1) { +uint8_t l_Lean_Elab_Term_Do_hasExitPoint___lambda__1(lean_object* x_1) { _start: { uint8_t x_2; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_1); +x_2 = 1; return x_2; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Elab_Term_Do_hasExitPoint___closed__1() { _start: { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasExitPoint___lambda__1___boxed), 1, 0); +return x_1; } } -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Do_hasExitPoint(lean_object* x_1) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_Do_hasExitPoint___closed__1; +x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Do_hasExitPoint___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Do_hasExitPoint___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPoint(x_1); +x_2 = l_Lean_Elab_Term_Do_hasExitPoint___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -4921,192 +4855,45 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasReturn_match__1___rarg), return x_2; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { +uint8_t l_Lean_Elab_Term_Do_hasReturn___lambda__1(lean_object* x_1) { _start: { -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = lean_ctor_get(x_5, 3); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -x_1 = x_2; -goto _start; -} -case 1: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 2); -x_1 = x_4; -goto _start; -} -case 2: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_6); -if (x_8 == 0) -{ -x_1 = x_7; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -case 3: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_1, 1); -x_1 = x_11; -goto _start; -} -case 7: -{ -uint8_t x_13; -x_13 = 1; -return x_13; -} -case 8: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 4); -x_15 = lean_ctor_get(x_1, 5); -x_16 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_14); -if (x_16 == 0) -{ -x_1 = x_15; -goto _start; -} -else -{ -uint8_t x_18; -x_18 = 1; -return x_18; -} -} -case 9: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_1, 4); -x_20 = lean_array_get_size(x_19); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_lt(x_21, x_20); -if (x_22 == 0) -{ -uint8_t x_23; -lean_dec(x_20); -x_23 = 0; -return x_23; -} -else -{ -uint8_t x_24; -x_24 = lean_nat_dec_le(x_20, x_20); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_20); -x_25 = 0; -return x_25; -} -else -{ -size_t x_26; size_t x_27; uint8_t x_28; -x_26 = 0; -x_27 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_28 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(x_19, x_26, x_27); -return x_28; -} -} -} -default: -{ -uint8_t x_29; -x_29 = 0; -return x_29; -} -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasReturn(lean_object* x_1) { -_start: +if (lean_obj_tag(x_1) == 7) { uint8_t x_2; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_1); +x_2 = 1; return x_2; } -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); +uint8_t x_3; +x_3 = 0; return x_3; } } -lean_object* l_Lean_Elab_Term_Do_hasReturn___boxed(lean_object* x_1) { +} +static lean_object* _init_l_Lean_Elab_Term_Do_hasReturn___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasReturn___lambda__1___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_Do_hasReturn(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_Do_hasReturn___closed__1; +x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_Do_hasReturn___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasReturn(x_1); +x_2 = l_Lean_Elab_Term_Do_hasReturn___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -5142,192 +4929,45 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasTerminalAction_match__1_ return x_2; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { +uint8_t l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1(lean_object* x_1) { _start: { -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = lean_ctor_get(x_5, 3); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -x_1 = x_2; -goto _start; -} -case 1: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 2); -x_1 = x_4; -goto _start; -} -case 2: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_6); -if (x_8 == 0) -{ -x_1 = x_7; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -case 3: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_1, 1); -x_1 = x_11; -goto _start; -} -case 4: -{ -uint8_t x_13; -x_13 = 1; -return x_13; -} -case 8: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 4); -x_15 = lean_ctor_get(x_1, 5); -x_16 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_14); -if (x_16 == 0) -{ -x_1 = x_15; -goto _start; -} -else -{ -uint8_t x_18; -x_18 = 1; -return x_18; -} -} -case 9: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_1, 4); -x_20 = lean_array_get_size(x_19); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_lt(x_21, x_20); -if (x_22 == 0) -{ -uint8_t x_23; -lean_dec(x_20); -x_23 = 0; -return x_23; -} -else -{ -uint8_t x_24; -x_24 = lean_nat_dec_le(x_20, x_20); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_20); -x_25 = 0; -return x_25; -} -else -{ -size_t x_26; size_t x_27; uint8_t x_28; -x_26 = 0; -x_27 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_28 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2(x_19, x_26, x_27); -return x_28; -} -} -} -default: -{ -uint8_t x_29; -x_29 = 0; -return x_29; -} -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasTerminalAction(lean_object* x_1) { -_start: +if (lean_obj_tag(x_1) == 4) { uint8_t x_2; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_1); +x_2 = 1; return x_2; } -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); +uint8_t x_3; +x_3 = 0; return x_3; } } -lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___boxed(lean_object* x_1) { +} +static lean_object* _init_l_Lean_Elab_Term_Do_hasTerminalAction___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_Do_hasTerminalAction(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_Do_hasTerminalAction___closed__1; +x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasTerminalAction(x_1); +x_2 = l_Lean_Elab_Term_Do_hasTerminalAction___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -5378,198 +5018,53 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinue_match__1__ return x_2; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = lean_ctor_get(x_5, 3); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(lean_object* x_1) { +uint8_t l_Lean_Elab_Term_Do_hasBreakContinue___lambda__1(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -x_1 = x_2; -goto _start; -} -case 1: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 2); -x_1 = x_4; -goto _start; -} -case 2: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(x_6); -if (x_8 == 0) -{ -x_1 = x_7; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -case 3: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_1, 1); -x_1 = x_11; -goto _start; -} case 5: { -uint8_t x_13; -x_13 = 1; -return x_13; +uint8_t x_2; +x_2 = 1; +return x_2; } case 6: { -uint8_t x_14; -x_14 = 1; -return x_14; -} -case 8: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_1, 4); -x_16 = lean_ctor_get(x_1, 5); -x_17 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(x_15); -if (x_17 == 0) -{ -x_1 = x_16; -goto _start; -} -else -{ -uint8_t x_19; -x_19 = 1; -return x_19; -} -} -case 9: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_1, 4); -x_21 = lean_array_get_size(x_20); -x_22 = lean_unsigned_to_nat(0u); -x_23 = lean_nat_dec_lt(x_22, x_21); -if (x_23 == 0) -{ -uint8_t x_24; -lean_dec(x_21); -x_24 = 0; -return x_24; -} -else -{ -uint8_t x_25; -x_25 = lean_nat_dec_le(x_21, x_21); -if (x_25 == 0) -{ -uint8_t x_26; -lean_dec(x_21); -x_26 = 0; -return x_26; -} -else -{ -size_t x_27; size_t x_28; uint8_t x_29; -x_27 = 0; -x_28 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_29 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2(x_20, x_27, x_28); -return x_29; -} -} +uint8_t x_3; +x_3 = 1; +return x_3; } default: { -uint8_t x_30; -x_30 = 0; -return x_30; +uint8_t x_4; +x_4 = 0; +return x_4; } } } } -uint8_t l_Lean_Elab_Term_Do_hasBreakContinue(lean_object* x_1) { +static lean_object* _init_l_Lean_Elab_Term_Do_hasBreakContinue___closed__1() { _start: { -uint8_t x_2; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinue___lambda__1___boxed), 1, 0); +return x_1; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_Do_hasBreakContinue(lean_object* x_1) { _start: { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_Do_hasBreakContinue___closed__1; +x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasBreakContinue(x_1); +x_2 = l_Lean_Elab_Term_Do_hasBreakContinue___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -5637,198 +5132,59 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinueReturn_matc return x_2; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = lean_ctor_get(x_5, 3); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(lean_object* x_1) { +uint8_t l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { -case 0: +case 5: { -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -x_1 = x_2; -goto _start; +uint8_t x_2; +x_2 = 1; +return x_2; } -case 1: +case 6: { -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 2); -x_1 = x_4; -goto _start; +uint8_t x_3; +x_3 = 1; +return x_3; } -case 2: +case 7: { -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_6); -if (x_8 == 0) -{ -x_1 = x_7; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -case 3: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_1, 1); -x_1 = x_11; -goto _start; -} -case 4: -{ -uint8_t x_13; -x_13 = 0; -return x_13; -} -case 8: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_1, 4); -x_15 = lean_ctor_get(x_1, 5); -x_16 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_14); -if (x_16 == 0) -{ -x_1 = x_15; -goto _start; -} -else -{ -uint8_t x_18; -x_18 = 1; -return x_18; -} -} -case 9: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_1, 4); -x_20 = lean_array_get_size(x_19); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_lt(x_21, x_20); -if (x_22 == 0) -{ -uint8_t x_23; -lean_dec(x_20); -x_23 = 0; -return x_23; -} -else -{ -uint8_t x_24; -x_24 = lean_nat_dec_le(x_20, x_20); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_20); -x_25 = 0; -return x_25; -} -else -{ -size_t x_26; size_t x_27; uint8_t x_28; -x_26 = 0; -x_27 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_28 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2(x_19, x_26, x_27); -return x_28; -} -} -} -case 10: -{ -uint8_t x_29; -x_29 = 0; -return x_29; +uint8_t x_4; +x_4 = 1; +return x_4; } default: { -uint8_t x_30; -x_30 = 1; -return x_30; +uint8_t x_5; +x_5 = 0; +return x_5; } } } } -uint8_t l_Lean_Elab_Term_Do_hasBreakContinueReturn(lean_object* x_1) { +static lean_object* _init_l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1() { _start: { -uint8_t x_2; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1___boxed), 1, 0); +return x_1; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn(lean_object* x_1) { _start: { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1; +x_3 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_2, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_Do_hasBreakContinueReturn(x_1); +x_2 = l_Lean_Elab_Term_Do_hasBreakContinueReturn___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; @@ -6650,7 +6006,7 @@ lean_ctor_set(x_16, 2, x_11); lean_ctor_set(x_16, 3, x_7); lean_ctor_set(x_16, 4, x_8); lean_ctor_set(x_16, 5, x_10); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_15); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_16, x_15); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -6667,7 +6023,7 @@ lean_ctor_set(x_24, 1, x_23); lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_22); x_25 = l_Lean_Syntax_getId(x_24); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_19); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_16, x_19); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); @@ -6712,7 +6068,7 @@ x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___cl x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_28); +x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_16, x_28); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); @@ -7672,7 +7028,7 @@ size_t x_7; size_t x_8; lean_object* x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(x_2, x_7, x_8, x_1); return x_9; } } @@ -9196,10 +8552,171 @@ x_6 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab return x_6; } } +lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1___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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 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; +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, 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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; +x_21 = l_Lean_addMacroScope(x_18, x_20, x_15); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +x_24 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_24, 0, x_12); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 3, x_22); +x_25 = l_Lean_Syntax_getId(x_24); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_19); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_27); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_27); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addMacroScope(x_33, x_20, x_30); +lean_inc(x_27); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_27); +lean_ctor_set(x_38, 1, x_23); +lean_ctor_set(x_38, 2, x_37); +lean_ctor_set(x_38, 3, x_22); +x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_27); +lean_ctor_set(x_40, 1, x_39); +x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_42 = lean_array_push(x_41, x_2); +x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_46 = lean_array_push(x_45, x_38); +x_47 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_48 = lean_array_push(x_46, x_47); +x_49 = lean_array_push(x_48, x_40); +x_50 = lean_array_push(x_49, x_44); +x_51 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_54 = lean_array_push(x_53, x_36); +x_55 = lean_array_push(x_54, x_47); +x_56 = lean_array_push(x_55, x_52); +x_57 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +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_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_34); +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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_61); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_63); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_60); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_60); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; +x_69 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_41, x_69); +x_71 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +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_53, x_67); +x_74 = lean_array_push(x_73, x_72); +x_75 = lean_array_push(x_74, x_24); +x_76 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_apply_9(x_3, x_77, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_65); +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; +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_array_push(x_41, x_25); +x_82 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_58); +lean_ctor_set(x_82, 2, x_79); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_80); +return x_83; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_58); +lean_dec(x_25); +x_84 = lean_ctor_get(x_78, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_78, 1); +lean_inc(x_85); +lean_dec(x_78); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_object* x_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; x_11 = lean_ctor_get(x_8, 0); x_12 = lean_ctor_get(x_8, 1); x_13 = lean_ctor_get(x_8, 2); @@ -9225,218 +8742,12 @@ lean_ctor_set(x_20, 4, x_15); lean_ctor_set(x_20, 5, x_16); lean_ctor_set(x_20, 6, x_17); lean_ctor_set(x_20, 7, x_18); -x_21 = lean_st_ref_take(x_9, x_10); -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_22, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_22, 3); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_25, x_28); -x_30 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set(x_30, 2, x_26); -lean_ctor_set(x_30, 3, x_27); -x_31 = lean_st_ref_set(x_9, x_30, x_23); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get(x_4, 0); -x_34 = lean_ctor_get(x_4, 1); -x_35 = lean_ctor_get(x_4, 2); -x_36 = lean_ctor_get(x_4, 3); -x_37 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_38 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_40 = lean_ctor_get(x_4, 5); -x_41 = lean_ctor_get(x_4, 6); -x_42 = lean_ctor_get(x_4, 7); -x_43 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -x_44 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_44, 0, x_33); -lean_ctor_set(x_44, 1, x_34); -lean_ctor_set(x_44, 2, x_35); -lean_ctor_set(x_44, 3, x_36); -lean_ctor_set(x_44, 4, x_25); -lean_ctor_set(x_44, 5, x_40); -lean_ctor_set(x_44, 6, x_41); -lean_ctor_set(x_44, 7, x_42); -lean_ctor_set_uint8(x_44, sizeof(void*)*8, x_37); -lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 1, x_38); -lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 2, x_39); -lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 3, x_43); -x_45 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_32); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_55 = l_Lean_addMacroScope(x_52, x_54, x_49); -x_56 = lean_box(0); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -x_58 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_55); -lean_ctor_set(x_58, 3, x_56); -x_59 = l_Lean_Syntax_getId(x_58); -x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_53); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_61); -x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_61); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_addMacroScope(x_67, x_54, x_64); -lean_inc(x_61); -x_72 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_72, 0, x_61); -lean_ctor_set(x_72, 1, x_57); -lean_ctor_set(x_72, 2, x_71); -lean_ctor_set(x_72, 3, x_56); -x_73 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_61); -lean_ctor_set(x_74, 1, x_73); -x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_76 = lean_array_push(x_75, x_1); -x_77 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_80 = lean_array_push(x_79, x_72); -x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_82 = lean_array_push(x_80, x_81); -x_83 = lean_array_push(x_82, x_74); -x_84 = lean_array_push(x_83, x_78); -x_85 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_88 = lean_array_push(x_87, x_70); -x_89 = lean_array_push(x_88, x_81); -x_90 = lean_array_push(x_89, x_86); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_68); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_95); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_97); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_100 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_94); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_94); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_94); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_array_push(x_75, x_103); -x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -x_107 = lean_array_push(x_87, x_101); -x_108 = lean_array_push(x_107, x_106); -x_109 = lean_array_push(x_108, x_58); -x_110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_apply_9(x_2, x_111, x_3, x_44, x_5, x_6, x_7, x_20, x_9, x_99); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_array_push(x_75, x_59); -x_116 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_92); -lean_ctor_set(x_116, 2, x_113); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_114); -return x_117; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_92); -lean_dec(x_59); -x_118 = lean_ctor_get(x_112, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_112, 1); -lean_inc(x_119); -lean_dec(x_112); -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; -} +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1___lambda__1), 10, 3); +lean_closure_set(x_21, 0, x_3); +lean_closure_set(x_21, 1, x_1); +lean_closure_set(x_21, 2, x_2); +x_22 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_21, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +return x_22; } } lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3(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, lean_object* x_12) { @@ -9659,7 +8970,7 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1(lean_object* x_1, _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; lean_object* x_24; -x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); @@ -9975,7 +9286,6 @@ lean_closure_set(x_64, 0, x_63); lean_closure_set(x_64, 1, x_1); x_65 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(x_63, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); -lean_dec(x_4); return x_65; } case 5: @@ -10250,7 +9560,6 @@ _start: lean_object* x_11; x_11 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___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_8); -lean_dec(x_4); return x_11; } } @@ -10313,81 +9622,85 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_pullExitPoints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; -x_9 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(x_1); -if (x_9 == 0) +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Elab_Term_Do_hasExitPoint___closed__1; +lean_inc(x_1); +x_10 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_9, x_1); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) { -lean_object* x_10; +lean_object* 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_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_8); -return x_10; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_8); +return x_12; } else { -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; -x_11 = lean_st_ref_get(x_7, x_8); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_14 = lean_st_mk_ref(x_13, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_NameSet_empty; +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; +x_13 = lean_st_ref_get(x_7, x_8); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_16 = lean_st_mk_ref(x_15, x_14); +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); +x_19 = l_Lean_NameSet_empty; lean_inc(x_7); -lean_inc(x_15); -x_18 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_17, x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_17); +x_20 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_19, x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_7, x_20); -lean_dec(x_7); -x_22 = lean_ctor_get(x_21, 1); +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; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_15, x_22); -lean_dec(x_15); -x_24 = lean_ctor_get(x_23, 0); +lean_dec(x_20); +x_23 = lean_st_ref_get(x_7, x_22); +lean_dec(x_7); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_Elab_Term_Do_attachJPs(x_24, x_19); -lean_dec(x_24); -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; +x_25 = lean_st_ref_get(x_17, x_24); +lean_dec(x_17); +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_Lean_Elab_Term_Do_attachJPs(x_26, x_21); +lean_dec(x_26); +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; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_15); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_17); lean_dec(x_7); -x_28 = lean_ctor_get(x_18, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_18, 1); -lean_inc(x_29); -lean_dec(x_18); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +x_30 = lean_ctor_get(x_20, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_20, 1); +lean_inc(x_31); +lean_dec(x_20); +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; } } } @@ -12421,7 +11734,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(lean_object* x _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_1, x_2); x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -12608,7 +11921,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_objec _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_1, x_2); x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); @@ -13443,39 +12756,41 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_concat(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; uint8_t x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); -x_13 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(x_12); -lean_dec(x_12); -if (x_13 == 0) +x_13 = l_Lean_Elab_Term_Do_hasTerminalAction___closed__1; +x_14 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_13, x_12); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_14 = l_Lean_Elab_Term_Do_concat___closed__2; -x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Term_Do_concat___closed__2; +x_17 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -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_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +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; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_box(0); -x_20 = l_Lean_Elab_Term_Do_concat___lambda__2(x_1, x_4, x_3, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_20; +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Term_Do_concat___lambda__2(x_1, x_4, x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; } } } @@ -14974,7 +14289,7 @@ if (x_35 == 0) { 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_dec(x_1); -x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_34, x_15); lean_dec(x_34); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); @@ -15056,7 +14371,7 @@ else { 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_dec(x_3); -x_72 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +x_72 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_34, x_15); lean_dec(x_34); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); @@ -15157,7 +14472,7 @@ lean_dec(x_107); lean_dec(x_105); lean_dec(x_10); lean_dec(x_2); -x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_34, x_15); lean_dec(x_34); x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); @@ -15242,7 +14557,7 @@ lean_dec(x_9); lean_dec(x_3); x_150 = l_Lean_Syntax_getArg(x_107, x_104); lean_dec(x_107); -x_151 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +x_151 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_34, x_15); lean_dec(x_34); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); @@ -15411,7 +14726,7 @@ lean_dec(x_9); lean_dec(x_3); x_227 = l_Lean_Syntax_getArg(x_107, x_104); lean_dec(x_107); -x_228 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +x_228 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_34, x_15); lean_dec(x_34); x_229 = lean_ctor_get(x_228, 0); lean_inc(x_229); @@ -15621,7 +14936,7 @@ lean_dec(x_19); x_25 = lean_ctor_get(x_13, 1); lean_inc(x_25); lean_dec(x_13); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_15); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); @@ -15763,7 +15078,7 @@ lean_dec(x_19); x_25 = lean_ctor_get(x_13, 1); lean_inc(x_25); lean_dec(x_13); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_15); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); @@ -15905,7 +15220,7 @@ lean_dec(x_19); x_25 = lean_ctor_get(x_13, 1); lean_inc(x_25); lean_dec(x_13); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_15); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); @@ -16047,7 +15362,7 @@ lean_dec(x_19); x_25 = lean_ctor_get(x_13, 1); lean_inc(x_25); lean_dec(x_13); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_15); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); @@ -16250,7 +15565,7 @@ lean_ctor_set(x_23, 2, x_18); lean_ctor_set(x_23, 3, x_19); lean_ctor_set(x_23, 4, x_20); lean_ctor_set(x_23, 5, x_22); -x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_23, x_15); +x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_23, x_15); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -16421,7 +15736,7 @@ lean_ctor_set(x_21, 2, x_16); lean_ctor_set(x_21, 3, x_17); lean_ctor_set(x_21, 4, x_18); lean_ctor_set(x_21, 5, x_20); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_21, x_13); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_21, x_13); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -17265,7 +16580,7 @@ size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_8 = 1; x_9 = x_2 - x_8; x_10 = lean_array_uget(x_1, x_9); -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -17765,7 +17080,7 @@ lean_ctor_set(x_22, 2, x_12); lean_ctor_set(x_22, 3, x_19); lean_ctor_set(x_22, 4, x_20); lean_ctor_set(x_22, 5, x_21); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_22, x_16); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_22, x_16); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -17797,7 +17112,7 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_22, x_36); +x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_22, x_36); lean_dec(x_22); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -17962,7 +17277,7 @@ lean_inc(x_112); x_113 = lean_ctor_get(x_111, 1); lean_inc(x_113); lean_dec(x_111); -x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_113); +x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_113); lean_dec(x_4); x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); @@ -18114,7 +17429,7 @@ lean_ctor_set(x_189, 2, x_179); lean_ctor_set(x_189, 3, x_186); lean_ctor_set(x_189, 4, x_187); lean_ctor_set(x_189, 5, x_188); -x_190 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_189, x_183); +x_190 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_189, x_183); x_191 = lean_ctor_get(x_190, 0); lean_inc(x_191); x_192 = lean_ctor_get(x_190, 1); @@ -18146,7 +17461,7 @@ lean_inc(x_202); x_203 = lean_ctor_get(x_201, 1); lean_inc(x_203); lean_dec(x_201); -x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_189, x_203); +x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_189, x_203); lean_dec(x_189); x_205 = lean_ctor_get(x_204, 0); lean_inc(x_205); @@ -18330,7 +17645,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_17); lean_dec(x_4); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); @@ -24312,7 +23627,7 @@ x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___cl 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_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_18); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_19, x_18); lean_dec(x_19); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); @@ -24353,7 +23668,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean x_49 = l_Lean_Syntax_getArg(x_23, x_22); x_50 = lean_unsigned_to_nat(4u); x_51 = l_Lean_Syntax_getArg(x_23, x_50); -x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_18); +x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_19, x_18); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); @@ -24380,7 +23695,7 @@ x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___cl x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_54); +x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_19, x_54); lean_dec(x_19); x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); @@ -24567,7 +23882,7 @@ if (x_7 == 0) 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; 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -24683,7 +23998,7 @@ return x_70; else { lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); x_73 = lean_ctor_get(x_71, 1); @@ -26959,7 +26274,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_18, 1); lean_inc(x_25); lean_dec(x_18); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_25); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_25); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); @@ -27283,7 +26598,7 @@ lean_dec(x_2); if (x_196 == 0) { lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_195); +x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_195); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -27472,7 +26787,7 @@ else { lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_dec(x_194); -x_301 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_195); +x_301 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_195); x_302 = lean_ctor_get(x_301, 0); lean_inc(x_302); x_303 = lean_ctor_get(x_301, 1); @@ -27604,7 +26919,7 @@ lean_inc(x_370); x_371 = lean_ctor_get(x_18, 1); lean_inc(x_371); lean_dec(x_18); -x_372 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_371); +x_372 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_371); x_373 = lean_ctor_get(x_372, 0); lean_inc(x_373); x_374 = lean_ctor_get(x_372, 1); @@ -28008,7 +27323,7 @@ lean_dec(x_2); if (x_579 == 0) { lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_580 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_578); +x_580 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_578); x_581 = lean_ctor_get(x_580, 0); lean_inc(x_581); x_582 = lean_ctor_get(x_580, 1); @@ -28208,7 +27523,7 @@ else { lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_dec(x_577); -x_689 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_578); +x_689 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_578); lean_dec(x_6); x_690 = lean_ctor_get(x_689, 0); lean_inc(x_690); @@ -28268,7 +27583,7 @@ lean_inc(x_718); x_719 = lean_ctor_get(x_18, 1); lean_inc(x_719); lean_dec(x_18); -x_720 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_719); +x_720 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_719); x_721 = lean_ctor_get(x_720, 0); lean_inc(x_721); x_722 = lean_ctor_get(x_720, 1); @@ -28675,7 +27990,7 @@ lean_inc(x_929); x_930 = lean_ctor_get(x_18, 1); lean_inc(x_930); lean_dec(x_18); -x_931 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_930); +x_931 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_930); x_932 = lean_ctor_get(x_931, 0); lean_inc(x_932); x_933 = lean_ctor_get(x_931, 1); @@ -29041,7 +28356,7 @@ lean_inc(x_1121); x_1122 = lean_ctor_get(x_18, 1); lean_inc(x_1122); lean_dec(x_18); -x_1123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1122); +x_1123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_6, x_1122); x_1124 = lean_ctor_get(x_1123, 0); lean_inc(x_1124); x_1125 = lean_ctor_get(x_1123, 1); @@ -30502,7 +29817,7 @@ return x_61; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___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) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_object* x_10; 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_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); x_11 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(x_10); @@ -30511,93 +29826,97 @@ lean_inc(x_12); lean_dec(x_1); x_13 = lean_ctor_get(x_2, 1); lean_inc(x_13); -x_14 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_12); -if (x_14 == 0) +x_14 = l_Lean_Elab_Term_Do_hasReturn___closed__1; +lean_inc(x_12); +x_15 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_14, x_12); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) { -uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = 1; -x_16 = lean_box(x_15); +uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = 1; +x_18 = lean_box(x_17); lean_inc(x_11); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); -lean_closure_set(x_17, 0, x_12); -lean_closure_set(x_17, 1, x_13); -lean_closure_set(x_17, 2, x_11); -lean_closure_set(x_17, 3, x_16); -x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_11); +lean_closure_set(x_19, 3, x_18); +x_20 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -if (lean_obj_tag(x_18) == 0) +if (lean_obj_tag(x_20) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 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_20); -return x_22; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_11); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_11); -x_23 = lean_ctor_get(x_18, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_18, 1); -lean_inc(x_24); -lean_dec(x_18); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +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; } } else { -uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = 2; -x_27 = lean_box(x_26); +uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = 2; +x_29 = lean_box(x_28); lean_inc(x_11); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); -lean_closure_set(x_28, 0, x_12); -lean_closure_set(x_28, 1, x_13); -lean_closure_set(x_28, 2, x_11); -lean_closure_set(x_28, 3, x_27); -x_29 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_30, 0, x_12); +lean_closure_set(x_30, 1, x_13); +lean_closure_set(x_30, 2, x_11); +lean_closure_set(x_30, 3, x_29); +x_31 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -if (lean_obj_tag(x_29) == 0) +if (lean_obj_tag(x_31) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_11); -lean_ctor_set(x_32, 1, x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_11); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_11); -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -lean_dec(x_29); -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; +x_36 = lean_ctor_get(x_31, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } @@ -34467,153 +33786,99 @@ return x_153; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; +lean_object* x_154; lean_object* x_155; lean_dec(x_47); -x_154 = lean_st_ref_take(x_11, x_38); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_ctor_get(x_155, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_155, 1); -lean_inc(x_158); -x_159 = lean_ctor_get(x_155, 2); -lean_inc(x_159); -x_160 = lean_ctor_get(x_155, 3); -lean_inc(x_160); -lean_dec(x_155); -x_161 = lean_nat_add(x_158, x_13); -x_162 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_162, 0, x_157); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_159); -lean_ctor_set(x_162, 3, x_160); -x_163 = lean_st_ref_set(x_11, x_162, x_156); +x_154 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed), 10, 3); +lean_closure_set(x_154, 0, x_40); +lean_closure_set(x_154, 1, x_3); +lean_closure_set(x_154, 2, x_5); +x_155 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_154, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_155; +} +} +else +{ +lean_object* x_156; +lean_dec(x_47); +x_156 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +lean_dec(x_23); +lean_dec(x_40); +return x_156; +} +} +else +{ +lean_object* x_157; +lean_dec(x_47); +x_157 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_157; +} +} +else +{ +lean_object* x_158; +lean_dec(x_47); +x_158 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +lean_dec(x_40); +return x_158; +} +} +else +{ +lean_object* x_159; +lean_dec(x_47); +x_159 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_47); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_160 = l_Lean_Elab_Term_Do_getDoReassignVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_161, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_162); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; x_164 = lean_ctor_get(x_163, 1); lean_inc(x_164); lean_dec(x_163); -x_165 = lean_ctor_get(x_6, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_165 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_164); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_165, 0); lean_inc(x_166); -x_167 = lean_ctor_get(x_6, 2); +x_167 = lean_ctor_get(x_165, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_6, 3); -lean_inc(x_168); -x_169 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_170 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_171 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_172 = lean_ctor_get(x_6, 5); -lean_inc(x_172); -x_173 = lean_ctor_get(x_6, 6); -lean_inc(x_173); -x_174 = lean_ctor_get(x_6, 7); -lean_inc(x_174); -x_175 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -lean_dec(x_6); -x_176 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_176, 0, x_165); -lean_ctor_set(x_176, 1, x_166); -lean_ctor_set(x_176, 2, x_167); -lean_ctor_set(x_176, 3, x_168); -lean_ctor_set(x_176, 4, x_158); -lean_ctor_set(x_176, 5, x_172); -lean_ctor_set(x_176, 6, x_173); -lean_ctor_set(x_176, 7, x_174); -lean_ctor_set_uint8(x_176, sizeof(void*)*8, x_169); -lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 1, x_170); -lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 2, x_171); -lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 3, x_175); -x_177 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_40, x_3, x_5, x_176, x_7, x_8, x_9, x_23, x_11, x_164); -lean_dec(x_40); -return x_177; -} +lean_dec(x_165); +x_168 = l_Lean_Elab_Term_Do_mkReassignCore(x_161, x_40, x_166, x_6, x_7, x_8, x_9, x_23, x_11, x_167); +return x_168; } else { -lean_object* x_178; -lean_dec(x_47); -x_178 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -lean_dec(x_23); -lean_dec(x_40); -return x_178; -} -} -else -{ -lean_object* x_179; -lean_dec(x_47); -x_179 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -return x_179; -} -} -else -{ -lean_object* x_180; -lean_dec(x_47); -x_180 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -lean_dec(x_40); -return x_180; -} -} -else -{ -lean_object* x_181; -lean_dec(x_47); -x_181 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -return x_181; -} -} -else -{ -lean_object* x_182; -lean_dec(x_47); -lean_inc(x_11); -lean_inc(x_23); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_182 = l_Lean_Elab_Term_Do_getDoReassignVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -if (lean_obj_tag(x_182) == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_183, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_184); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -lean_inc(x_11); -lean_inc(x_23); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_187 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_186); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = l_Lean_Elab_Term_Do_mkReassignCore(x_183, x_40, x_188, x_6, x_7, x_8, x_9, x_23, x_11, x_189); -return x_190; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; -lean_dec(x_183); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_161); lean_dec(x_40); lean_dec(x_23); lean_dec(x_11); @@ -34621,11 +33886,140 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_191 = lean_ctor_get(x_187, 0); +x_169 = lean_ctor_get(x_165, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_165, 1); +lean_inc(x_170); +lean_dec(x_165); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; +} +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_161); +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_172 = lean_ctor_get(x_163, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_163, 1); +lean_inc(x_173); +lean_dec(x_163); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; +} +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_175 = lean_ctor_get(x_160, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_160, 1); +lean_inc(x_176); +lean_dec(x_160); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; +} +} +} +else +{ +lean_object* x_178; +lean_dec(x_47); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_178 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +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 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_179, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_180); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; lean_object* x_183; +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +lean_dec(x_181); +x_183 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_182); +if (lean_obj_tag(x_183) == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +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 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_179, x_40, x_184); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +return x_187; +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_179); +lean_dec(x_40); +x_188 = lean_ctor_get(x_183, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_183, 1); +lean_inc(x_189); +lean_dec(x_183); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_179); +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_191 = lean_ctor_get(x_181, 0); lean_inc(x_191); -x_192 = lean_ctor_get(x_187, 1); +x_192 = lean_ctor_get(x_181, 1); lean_inc(x_192); -lean_dec(x_187); +lean_dec(x_181); x_193 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_193, 0, x_191); lean_ctor_set(x_193, 1, x_192); @@ -34635,7 +34029,6 @@ return x_193; else { lean_object* x_194; lean_object* x_195; lean_object* x_196; -lean_dec(x_183); lean_dec(x_40); lean_dec(x_23); lean_dec(x_11); @@ -34645,20 +34038,67 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_194 = lean_ctor_get(x_185, 0); +x_194 = lean_ctor_get(x_178, 0); lean_inc(x_194); -x_195 = lean_ctor_get(x_185, 1); +x_195 = lean_ctor_get(x_178, 1); lean_inc(x_195); -lean_dec(x_185); +lean_dec(x_178); x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_194); lean_ctor_set(x_196, 1, x_195); return x_196; } } +} else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_47); +x_197 = l_Lean_Elab_Term_Do_getDoHaveVar(x_40); +x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_199 = lean_array_push(x_198, x_197); +x_200 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_199, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; +x_201 = lean_ctor_get(x_200, 1); +lean_inc(x_201); +lean_dec(x_200); +x_202 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_201); +if (lean_obj_tag(x_202) == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_199, x_40, x_203); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_204); +return x_206; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_199); +lean_dec(x_40); +x_207 = lean_ctor_get(x_202, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_202, 1); +lean_inc(x_208); +lean_dec(x_202); +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 +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_199); lean_dec(x_40); lean_dec(x_23); lean_dec(x_11); @@ -34668,196 +34108,21 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_197 = lean_ctor_get(x_182, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_182, 1); -lean_inc(x_198); -lean_dec(x_182); -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 -{ -lean_object* x_200; -lean_dec(x_47); -lean_inc(x_11); -lean_inc(x_23); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_200 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -if (lean_obj_tag(x_200) == 0) -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_201, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_202); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; lean_object* x_205; -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_205 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_204); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -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_Elab_Term_Do_mkVarDeclCore(x_201, x_40, x_206); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_207); -return x_209; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_201); -lean_dec(x_40); -x_210 = lean_ctor_get(x_205, 0); +x_210 = lean_ctor_get(x_200, 0); lean_inc(x_210); -x_211 = lean_ctor_get(x_205, 1); +x_211 = lean_ctor_get(x_200, 1); lean_inc(x_211); -lean_dec(x_205); +lean_dec(x_200); x_212 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_212, 0, x_210); lean_ctor_set(x_212, 1, x_211); return x_212; } } -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_201); -lean_dec(x_40); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_213 = lean_ctor_get(x_203, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_203, 1); -lean_inc(x_214); -lean_dec(x_203); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_213); -lean_ctor_set(x_215, 1, x_214); -return x_215; -} } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_40); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_216 = lean_ctor_get(x_200, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_200, 1); -lean_inc(x_217); -lean_dec(x_200); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_216); -lean_ctor_set(x_218, 1, x_217); -return x_218; -} -} -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_dec(x_47); -x_219 = l_Lean_Elab_Term_Do_getDoHaveVar(x_40); -x_220 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_221 = lean_array_push(x_220, x_219); -x_222 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_221, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -if (lean_obj_tag(x_222) == 0) -{ -lean_object* x_223; lean_object* x_224; -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -lean_dec(x_222); -x_224 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_223); -if (lean_obj_tag(x_224) == 0) -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_40, x_225); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_226); -return x_228; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_dec(x_221); -lean_dec(x_40); -x_229 = lean_ctor_get(x_224, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_224, 1); -lean_inc(x_230); -lean_dec(x_224); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -return x_231; -} -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_221); -lean_dec(x_40); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_232 = lean_ctor_get(x_222, 0); -lean_inc(x_232); -x_233 = lean_ctor_get(x_222, 1); -lean_inc(x_233); -lean_dec(x_222); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set(x_234, 1, x_233); -return x_234; -} -} -} -else -{ -lean_object* x_235; +lean_object* x_213; lean_dec(x_47); lean_inc(x_11); lean_inc(x_23); @@ -34865,111 +34130,61 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_235 = l_Lean_Elab_Term_Do_getDoLetVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); -if (lean_obj_tag(x_235) == 0) +x_213 = l_Lean_Elab_Term_Do_getDoLetVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_213) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); -lean_inc(x_237); -lean_dec(x_235); -x_238 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_236, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_237); -if (lean_obj_tag(x_238) == 0) +lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_214, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_215); +if (lean_obj_tag(x_216) == 0) { -lean_object* x_239; uint8_t x_240; -x_239 = lean_ctor_get(x_238, 1); -lean_inc(x_239); -lean_dec(x_238); +lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; +x_217 = lean_ctor_get(x_216, 1); +lean_inc(x_217); +lean_dec(x_216); lean_inc(x_40); -x_240 = l_Lean_Elab_Term_Do_isMutableLet(x_40); -if (x_240 == 0) +x_218 = l_Lean_Elab_Term_Do_isMutableLet(x_40); +x_219 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode), 9, 1); +lean_closure_set(x_219, 0, x_3); +x_220 = l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars___rarg(x_214, x_218, x_219, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_217); +if (lean_obj_tag(x_220) == 0) { -lean_object* x_241; -x_241 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_239); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -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 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_236, x_40, x_242); -x_245 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -return x_245; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_214, x_40, x_221); +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +return x_224; } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_236); +lean_object* x_225; lean_object* x_226; lean_object* x_227; +lean_dec(x_214); lean_dec(x_40); -x_246 = lean_ctor_get(x_241, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_241, 1); -lean_inc(x_247); -lean_dec(x_241); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_246); -lean_ctor_set(x_248, 1, x_247); -return x_248; +x_225 = lean_ctor_get(x_220, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_220, 1); +lean_inc(x_226); +lean_dec(x_220); +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_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; -x_249 = lean_ctor_get(x_5, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_5, 1); -lean_inc(x_250); -x_251 = lean_ctor_get(x_5, 2); -lean_inc(x_251); -x_252 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); -lean_dec(x_5); -x_253 = l_Lean_Elab_Term_Do_insertVars(x_251, x_236); -x_254 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_254, 0, x_249); -lean_ctor_set(x_254, 1, x_250); -lean_ctor_set(x_254, 2, x_253); -lean_ctor_set_uint8(x_254, sizeof(void*)*3, x_252); -x_255 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_254, x_6, x_7, x_8, x_9, x_23, x_11, x_239); -if (lean_obj_tag(x_255) == 0) -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -lean_dec(x_255); -x_258 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_236, x_40, x_256); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -return x_259; -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -lean_dec(x_236); -lean_dec(x_40); -x_260 = lean_ctor_get(x_255, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_255, 1); -lean_inc(x_261); -lean_dec(x_255); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -return x_262; -} -} -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_236); +lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_214); lean_dec(x_40); lean_dec(x_23); lean_dec(x_11); @@ -34979,20 +34194,20 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_263 = lean_ctor_get(x_238, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_238, 1); -lean_inc(x_264); -lean_dec(x_238); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; +x_228 = lean_ctor_get(x_216, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_216, 1); +lean_inc(x_229); +lean_dec(x_216); +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_266; lean_object* x_267; lean_object* x_268; +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_dec(x_40); lean_dec(x_23); lean_dec(x_11); @@ -35002,22 +34217,22 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_266 = lean_ctor_get(x_235, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_235, 1); -lean_inc(x_267); -lean_dec(x_235); -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; +x_231 = lean_ctor_get(x_213, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_213, 1); +lean_inc(x_232); +lean_dec(x_213); +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_269; lean_object* x_270; lean_object* x_271; +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); @@ -35026,37 +34241,37 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_269 = lean_ctor_get(x_36, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_36, 1); -lean_inc(x_270); +x_234 = lean_ctor_get(x_36, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_36, 1); +lean_inc(x_235); lean_dec(x_36); -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -return x_271; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +return x_236; } } else { -lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_dec(x_2); -x_272 = lean_ctor_get(x_32, 1); -lean_inc(x_272); +x_237 = lean_ctor_get(x_32, 1); +lean_inc(x_237); lean_dec(x_32); -x_273 = lean_ctor_get(x_33, 0); -lean_inc(x_273); +x_238 = lean_ctor_get(x_33, 0); +lean_inc(x_238); lean_dec(x_33); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_3); -x_275 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_274, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_272); -return x_275; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_3); +x_240 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_239, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_237); +return x_240; } } else { -lean_object* x_276; lean_object* x_277; lean_object* x_278; +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); @@ -35066,37 +34281,37 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_276 = lean_ctor_get(x_32, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_32, 1); -lean_inc(x_277); +x_241 = lean_ctor_get(x_32, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_32, 1); +lean_inc(x_242); lean_dec(x_32); -x_278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_278, 0, x_276); -lean_ctor_set(x_278, 1, x_277); -return x_278; +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 { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_dec(x_2); -x_279 = lean_ctor_get(x_28, 1); -lean_inc(x_279); +x_244 = lean_ctor_get(x_28, 1); +lean_inc(x_244); lean_dec(x_28); -x_280 = lean_ctor_get(x_29, 0); -lean_inc(x_280); +x_245 = lean_ctor_get(x_29, 0); +lean_inc(x_245); lean_dec(x_29); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_3); -x_282 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_281, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_279); -return x_282; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_3); +x_247 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_246, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_244); +return x_247; } } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); @@ -35106,20 +34321,20 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_283 = lean_ctor_get(x_28, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_28, 1); -lean_inc(x_284); +x_248 = lean_ctor_get(x_28, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_28, 1); +lean_inc(x_249); lean_dec(x_28); -x_285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_285, 0, x_283); -lean_ctor_set(x_285, 1, x_284); -return x_285; +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_248); +lean_ctor_set(x_250, 1, x_249); +return x_250; } } else { -lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); @@ -35129,15 +34344,15 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_286 = lean_ctor_get(x_25, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_25, 1); -lean_inc(x_287); +x_251 = lean_ctor_get(x_25, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_25, 1); +lean_inc(x_252); lean_dec(x_25); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -return x_288; +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; } } } @@ -36784,36 +35999,38 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; uint8_t x_14; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_ctor_get(x_1, 0); lean_inc(x_13); -x_14 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(x_13); -lean_dec(x_13); -if (x_14 == 0) +x_14 = l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1; +x_15 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_14, x_13); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_16; +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_18; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_19 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__2; +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_10); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +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; } } } @@ -36821,7 +36038,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasTerminalAction___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasTerminalAction), 1, 0); return x_1; } } @@ -36829,7 +36046,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasReturn___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasReturn), 1, 0); return x_1; } } @@ -36837,7 +36054,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinue___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_hasBreakContinue), 1, 0); return x_1; } } @@ -37762,6 +36979,773 @@ return x_41; } } } +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("toStream"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ToStream"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___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_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___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; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mut"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("s"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12; +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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("for"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Stream.next?"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18; +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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Stream"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("next?"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23; +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_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24; +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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tupleTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("s'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29; +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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_11, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_11, 3); +lean_inc(x_17); +x_18 = lean_ctor_get(x_11, 4); +lean_inc(x_18); +x_19 = lean_ctor_get(x_11, 5); +lean_inc(x_19); +x_20 = lean_ctor_get(x_11, 6); +lean_inc(x_20); +x_21 = lean_ctor_get(x_11, 7); +lean_inc(x_21); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_23, x_12, x_13); +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 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_23, x_12, x_26); +lean_dec(x_23); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4; +x_34 = l_Lean_addMacroScope(x_31, x_33, x_28); +x_35 = lean_box(0); +x_36 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3; +x_37 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9; +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_25); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_34); +lean_ctor_set(x_38, 3, x_37); +x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_11, x_12, x_32); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_40); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_40); +lean_ctor_set(x_49, 1, x_48); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_40); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_40); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10; +lean_inc(x_40); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_40); +lean_ctor_set(x_53, 1, x_52); +x_54 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_55 = lean_array_push(x_54, x_53); +x_56 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14; +lean_inc(x_43); +lean_inc(x_46); +x_59 = l_Lean_addMacroScope(x_46, x_58, x_43); +x_60 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13; +lean_inc(x_40); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_40); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_35); +x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_40); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_40); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_array_push(x_54, x_1); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_56); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_67 = lean_array_push(x_66, x_38); +x_68 = lean_array_push(x_67, x_65); +x_69 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +lean_inc(x_61); +x_72 = lean_array_push(x_71, x_61); +x_73 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_array_push(x_74, x_73); +x_76 = lean_array_push(x_75, x_63); +lean_inc(x_76); +x_77 = lean_array_push(x_76, x_70); +x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_54, x_79); +x_81 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_84 = lean_array_push(x_83, x_51); +x_85 = lean_array_push(x_84, x_57); +x_86 = lean_array_push(x_85, x_82); +x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; +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_66, x_88); +x_90 = lean_array_push(x_89, x_73); +x_91 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +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 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15; +lean_inc(x_40); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_40); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16; +x_96 = l_Lean_Syntax_SepArray_ofElems(x_95, x_3); +x_97 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_98 = l_Array_append___rarg(x_97, x_96); +lean_dec(x_96); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_56); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_40); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_40); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23; +lean_inc(x_43); +lean_inc(x_46); +x_103 = l_Lean_addMacroScope(x_46, x_102, x_43); +x_104 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19; +x_105 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25; +lean_inc(x_40); +x_106 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_106, 0, x_40); +lean_ctor_set(x_106, 1, x_104); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set(x_106, 3, x_105); +x_107 = lean_array_push(x_54, x_61); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_56); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_array_push(x_66, x_106); +x_110 = lean_array_push(x_109, x_108); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_69); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_113 = lean_array_push(x_112, x_111); +x_114 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +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_54, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_56); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_40); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_40); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_40); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_40); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +lean_inc(x_43); +lean_inc(x_46); +x_123 = l_Lean_addMacroScope(x_46, x_122, x_43); +x_124 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_125 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_40); +x_126 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_126, 0, x_40); +lean_ctor_set(x_126, 1, x_124); +lean_ctor_set(x_126, 2, x_123); +lean_ctor_set(x_126, 3, x_125); +x_127 = lean_array_push(x_54, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_56); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_40); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_40); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; +lean_inc(x_40); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_40); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_array_push(x_54, x_132); +x_134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = lean_array_push(x_66, x_135); +x_137 = lean_array_push(x_136, x_73); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_91); +lean_ctor_set(x_138, 1, x_137); +x_139 = lean_array_push(x_54, x_138); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_56); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_array_push(x_54, x_140); +x_142 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_145 = lean_array_push(x_144, x_121); +lean_inc(x_145); +x_146 = lean_array_push(x_145, x_128); +lean_inc(x_130); +x_147 = lean_array_push(x_146, x_130); +x_148 = lean_array_push(x_147, x_143); +x_149 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_43); +lean_inc(x_46); +x_152 = l_Lean_addMacroScope(x_46, x_151, x_43); +x_153 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; +x_154 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; +lean_inc(x_40); +x_155 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_155, 0, x_40); +lean_ctor_set(x_155, 1, x_153); +lean_ctor_set(x_155, 2, x_152); +lean_ctor_set(x_155, 3, x_154); +x_156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_40); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_40); +lean_ctor_set(x_157, 1, x_156); +lean_inc(x_40); +x_158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_158, 0, x_40); +lean_ctor_set(x_158, 1, x_95); +x_159 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31; +x_160 = l_Lean_addMacroScope(x_46, x_159, x_43); +x_161 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30; +lean_inc(x_40); +x_162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_162, 0, x_40); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 2, x_160); +lean_ctor_set(x_162, 3, x_35); +lean_inc(x_162); +x_163 = lean_array_push(x_54, x_162); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_56); +lean_ctor_set(x_164, 1, x_163); +x_165 = lean_array_push(x_66, x_158); +x_166 = lean_array_push(x_165, x_164); +x_167 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27; +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = lean_array_push(x_54, x_168); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_56); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_66, x_4); +x_172 = lean_array_push(x_171, x_170); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_56); +lean_ctor_set(x_173, 1, x_172); +x_174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_175 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_175, 0, x_40); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_83, x_157); +x_177 = lean_array_push(x_176, x_173); +x_178 = lean_array_push(x_177, x_175); +x_179 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_54, x_180); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_56); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_66, x_155); +x_184 = lean_array_push(x_183, x_182); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_69); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_array_push(x_54, x_185); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_56); +lean_ctor_set(x_187, 1, x_186); +x_188 = lean_array_push(x_76, x_162); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_78); +lean_ctor_set(x_189, 1, x_188); +x_190 = lean_array_push(x_54, x_189); +x_191 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_193 = lean_array_push(x_66, x_192); +x_194 = lean_array_push(x_193, x_73); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_91); +lean_ctor_set(x_195, 1, x_194); +lean_inc(x_49); +x_196 = lean_array_push(x_66, x_49); +lean_inc(x_196); +x_197 = lean_array_push(x_196, x_5); +x_198 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; +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_66, x_199); +x_201 = lean_array_push(x_200, x_73); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_91); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_66, x_195); +x_204 = lean_array_push(x_203, x_202); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_56); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_array_push(x_54, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_142); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_array_push(x_145, x_187); +x_209 = lean_array_push(x_208, x_130); +x_210 = lean_array_push(x_209, x_207); +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_149); +lean_ctor_set(x_211, 1, x_210); +x_212 = lean_array_push(x_66, x_150); +x_213 = lean_array_push(x_212, x_211); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_56); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_push(x_54, x_214); +x_216 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_215); +x_218 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_219 = lean_array_push(x_218, x_101); +x_220 = lean_array_push(x_219, x_73); +x_221 = lean_array_push(x_220, x_117); +x_222 = lean_array_push(x_221, x_73); +x_223 = lean_array_push(x_222, x_119); +x_224 = lean_array_push(x_223, x_217); +x_225 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +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_66, x_226); +x_228 = lean_array_push(x_227, x_73); +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_91); +lean_ctor_set(x_229, 1, x_228); +x_230 = lean_array_push(x_54, x_229); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_56); +lean_ctor_set(x_231, 1, x_230); +x_232 = lean_array_push(x_54, x_231); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_142); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_array_push(x_144, x_94); +x_235 = lean_array_push(x_234, x_99); +x_236 = lean_array_push(x_235, x_49); +x_237 = lean_array_push(x_236, x_233); +x_238 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +x_240 = lean_array_push(x_66, x_239); +x_241 = lean_array_push(x_240, x_73); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_91); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_array_push(x_66, x_92); +x_244 = lean_array_push(x_243, x_242); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_56); +lean_ctor_set(x_245, 1, x_244); +x_246 = lean_array_push(x_54, x_245); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_142); +lean_ctor_set(x_247, 1, x_246); +x_248 = lean_array_push(x_196, x_247); +x_249 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +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 = lean_unsigned_to_nat(1u); +x_252 = l_Lean_Syntax_getArg(x_250, x_251); +lean_dec(x_250); +x_253 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_252); +x_254 = l_List_append___rarg(x_253, x_6); +x_255 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_254, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +return x_255; +} +} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1() { _start: { @@ -37814,314 +37798,6 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("toStream"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ToStream"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; -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_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("mut"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("s"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("for"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(","); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Stream.next?"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Stream"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("next?"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -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_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tupleTail"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("s'"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; -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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1() { _start: { @@ -38218,7 +37894,7 @@ lean_dec(x_34); lean_dec(x_31); 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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +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_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); @@ -38228,1309 +37904,1301 @@ lean_dec(x_18); x_39 = lean_unsigned_to_nat(3u); x_40 = l_Lean_Syntax_getArg(x_1, x_39); x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_40); -x_42 = lean_ctor_get(x_3, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_3, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_3, 2); -lean_inc(x_44); -x_45 = 1; -x_46 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_46, 0, x_42); -lean_ctor_set(x_46, 1, x_43); -lean_ctor_set(x_46, 2, x_44); -lean_ctor_set_uint8(x_46, sizeof(void*)*3, x_45); +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode), 9, 1); +lean_closure_set(x_42, 0, x_41); lean_inc(x_9); lean_inc(x_29); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_47 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_41, x_46, x_4, x_5, x_6, x_7, x_29, x_9, x_36); -if (lean_obj_tag(x_47) == 0) +x_43 = l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg(x_42, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_36); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); lean_inc(x_29); lean_inc(x_3); +lean_inc(x_44); +x_46 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_44, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; size_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_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_50 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_48, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; size_t 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_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_array_get_size(x_53); -x_56 = lean_usize_of_nat(x_55); -lean_dec(x_55); -lean_inc(x_53); -x_57 = x_53; -x_58 = lean_box_usize(x_56); -x_59 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; -x_60 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); -lean_closure_set(x_60, 0, x_58); -lean_closure_set(x_60, 1, x_59); -lean_closure_set(x_60, 2, x_57); -x_61 = x_60; -x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; -x_63 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); -lean_closure_set(x_63, 0, x_61); -lean_closure_set(x_63, 1, x_62); -lean_inc(x_29); -x_64 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_63, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_52); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_48, 0); -lean_inc(x_67); -lean_dec(x_48); -x_68 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_67); -lean_dec(x_67); -if (x_68 == 0) -{ -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; -x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_66); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_79 = l_Lean_addMacroScope(x_76, x_78, x_73); -x_80 = lean_box(0); -x_81 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_82 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_82, 0, x_70); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_80); -x_83 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); -lean_closure_set(x_83, 0, x_53); -lean_closure_set(x_83, 1, x_82); -lean_closure_set(x_83, 2, x_54); -lean_inc(x_29); -x_84 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_83, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_77); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_89); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_92); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_88); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_88); -lean_ctor_set(x_97, 1, x_96); -x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_88); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_88); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_addMacroScope(x_94, x_78, x_91); -lean_inc(x_88); -x_101 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_101, 0, x_88); -lean_ctor_set(x_101, 1, x_81); -lean_ctor_set(x_101, 2, x_100); -lean_ctor_set(x_101, 3, x_80); -x_102 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_103 = lean_array_push(x_102, x_19); -x_104 = lean_array_push(x_103, x_101); -x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -x_107 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_88); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_110 = lean_array_push(x_109, x_106); -x_111 = lean_array_push(x_110, x_108); -x_112 = lean_array_push(x_111, x_85); -x_113 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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_102, x_99); -x_116 = lean_array_push(x_115, x_114); -x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_120 = lean_array_push(x_119, x_97); -x_121 = lean_array_push(x_120, x_38); -lean_inc(x_65); -x_122 = lean_array_push(x_121, x_65); -x_123 = lean_array_push(x_122, x_118); -x_124 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = l_List_isEmpty___rarg(x_2); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_127 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_95); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_129); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_132); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_128); -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_128); -lean_ctor_set(x_137, 1, x_136); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_128); -x_139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_139, 0, x_128); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_addMacroScope(x_134, x_78, x_131); -lean_inc(x_128); -x_141 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_141, 0, x_128); -lean_ctor_set(x_141, 1, x_81); -lean_ctor_set(x_141, 2, x_140); -lean_ctor_set(x_141, 3, x_80); -x_142 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_128); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_145 = lean_array_push(x_144, x_125); -x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -lean_inc(x_141); -x_148 = lean_array_push(x_119, x_141); -x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_150 = lean_array_push(x_148, x_149); -x_151 = lean_array_push(x_150, x_143); -x_152 = lean_array_push(x_151, x_147); -x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_109, x_139); -x_156 = lean_array_push(x_155, x_149); -x_157 = lean_array_push(x_156, x_154); -x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_128); -x_161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_161, 0, x_128); -lean_ctor_set(x_161, 1, x_160); -x_162 = lean_array_push(x_144, x_161); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_105); -lean_ctor_set(x_163, 1, x_162); -x_164 = lean_array_push(x_102, x_159); -x_165 = lean_array_push(x_164, x_163); -x_166 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_169 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_169, 0, x_128); -lean_ctor_set(x_169, 1, x_168); -x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_171 = lean_array_push(x_170, x_65); -x_172 = lean_array_push(x_171, x_149); -x_173 = lean_array_push(x_172, x_149); -x_174 = lean_array_push(x_173, x_169); -x_175 = lean_array_push(x_174, x_141); -x_176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -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_144, x_177); -x_179 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -x_181 = lean_array_push(x_102, x_180); -x_182 = lean_array_push(x_181, x_149); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_166); -lean_ctor_set(x_183, 1, x_182); -x_184 = lean_array_push(x_102, x_167); -x_185 = lean_array_push(x_184, x_183); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_105); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_array_push(x_144, x_186); -x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = lean_array_push(x_102, x_137); -x_191 = lean_array_push(x_190, x_189); -x_192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_Syntax_getArg(x_193, x_11); -lean_dec(x_193); -x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_194); -x_196 = l_List_append___rarg(x_195, x_2); -x_197 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_196, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_135); -return x_197; -} -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; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -lean_dec(x_2); -x_198 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_95); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -lean_dec(x_198); -x_201 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_200); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_203); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_199); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_199); -lean_ctor_set(x_208, 1, x_207); -x_209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_199); -x_210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_210, 0, x_199); -lean_ctor_set(x_210, 1, x_209); -lean_inc(x_202); -lean_inc(x_205); -x_211 = l_Lean_addMacroScope(x_205, x_78, x_202); -lean_inc(x_199); -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_199); -lean_ctor_set(x_212, 1, x_81); -lean_ctor_set(x_212, 2, x_211); -lean_ctor_set(x_212, 3, x_80); -x_213 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_199); -x_214 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_214, 0, x_199); -lean_ctor_set(x_214, 1, x_213); -x_215 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_216 = lean_array_push(x_215, x_125); -x_217 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -lean_inc(x_212); -x_219 = lean_array_push(x_119, x_212); -x_220 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_221 = lean_array_push(x_219, x_220); -x_222 = lean_array_push(x_221, x_214); -x_223 = lean_array_push(x_222, x_218); -x_224 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_223); -x_226 = lean_array_push(x_109, x_210); -x_227 = lean_array_push(x_226, x_220); -x_228 = lean_array_push(x_227, x_225); -x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_228); -x_231 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_199); -x_232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_232, 0, x_199); -lean_ctor_set(x_232, 1, x_231); -x_233 = lean_array_push(x_215, x_232); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_105); -lean_ctor_set(x_234, 1, x_233); -x_235 = lean_array_push(x_102, x_230); -lean_inc(x_234); -x_236 = lean_array_push(x_235, x_234); -x_237 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_199); -x_240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_240, 0, x_199); -lean_ctor_set(x_240, 1, x_239); -x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_242 = lean_array_push(x_241, x_65); -x_243 = lean_array_push(x_242, x_220); -x_244 = lean_array_push(x_243, x_220); -x_245 = lean_array_push(x_244, x_240); -x_246 = lean_array_push(x_245, x_212); -x_247 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -x_249 = lean_array_push(x_215, x_248); -x_250 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -x_252 = lean_array_push(x_102, x_251); -x_253 = lean_array_push(x_252, x_234); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_237); -lean_ctor_set(x_254, 1, x_253); -x_255 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_202); -lean_inc(x_205); -x_256 = l_Lean_addMacroScope(x_205, x_255, x_202); -x_257 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_258 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_199); -x_259 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_259, 0, x_199); -lean_ctor_set(x_259, 1, x_257); -lean_ctor_set(x_259, 2, x_256); -lean_ctor_set(x_259, 3, x_258); -x_260 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_199); -x_261 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_261, 0, x_199); -lean_ctor_set(x_261, 1, x_260); -x_262 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_199); -x_263 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_263, 0, x_199); -lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -lean_inc(x_199); -x_265 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_265, 0, x_199); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_array_push(x_215, x_265); -x_267 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_270 = l_Lean_addMacroScope(x_205, x_269, x_202); -x_271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_272 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_199); -x_273 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_273, 0, x_199); -lean_ctor_set(x_273, 1, x_271); -lean_ctor_set(x_273, 2, x_270); -lean_ctor_set(x_273, 3, x_272); -x_274 = lean_array_push(x_109, x_263); -x_275 = lean_array_push(x_274, x_268); -x_276 = lean_array_push(x_275, x_273); -x_277 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -x_279 = lean_array_push(x_102, x_278); -x_280 = lean_array_push(x_279, x_220); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_105); -lean_ctor_set(x_281, 1, x_280); -x_282 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_283 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_283, 0, x_199); -lean_ctor_set(x_283, 1, x_282); -x_284 = lean_array_push(x_109, x_261); -x_285 = lean_array_push(x_284, x_281); -x_286 = lean_array_push(x_285, x_283); -x_287 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_289 = lean_array_push(x_215, x_288); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_105); -lean_ctor_set(x_290, 1, x_289); -x_291 = lean_array_push(x_102, x_259); -x_292 = lean_array_push(x_291, x_290); -x_293 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_292); -x_295 = lean_array_push(x_215, x_294); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_217); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_array_push(x_102, x_296); -x_298 = lean_array_push(x_297, x_220); -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_237); -lean_ctor_set(x_299, 1, x_298); -x_300 = lean_array_push(x_109, x_238); -x_301 = lean_array_push(x_300, x_254); -x_302 = lean_array_push(x_301, x_299); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_105); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_array_push(x_215, x_303); -x_305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_305); -lean_ctor_set(x_306, 1, x_304); -x_307 = lean_array_push(x_102, x_208); -x_308 = lean_array_push(x_307, x_306); -x_309 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_308); -x_311 = l_Lean_Syntax_getArg(x_310, x_11); -lean_dec(x_310); -x_312 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_311); -x_313 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_312, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_206); -return x_313; -} -} -else -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; -lean_dec(x_65); -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_19); -lean_dec(x_9); -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_314 = lean_ctor_get(x_84, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_84, 1); -lean_inc(x_315); -lean_dec(x_84); -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 -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_317 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_66); -x_318 = lean_ctor_get(x_317, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -lean_dec(x_317); -x_320 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_319); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_320, 1); -lean_inc(x_322); -lean_dec(x_320); -x_323 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_322); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_327 = l_Lean_addMacroScope(x_324, x_326, x_321); -x_328 = lean_box(0); -x_329 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_330 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_330, 0, x_318); -lean_ctor_set(x_330, 1, x_329); -lean_ctor_set(x_330, 2, x_327); -lean_ctor_set(x_330, 3, x_328); -x_331 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); -lean_closure_set(x_331, 0, x_53); -lean_closure_set(x_331, 1, x_330); -lean_closure_set(x_331, 2, x_54); -lean_inc(x_29); -x_332 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_331, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_325); -if (lean_obj_tag(x_332) == 0) -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_334); -x_336 = lean_ctor_get(x_335, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_335, 1); -lean_inc(x_337); -lean_dec(x_335); -x_338 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_337); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -lean_dec(x_338); -x_341 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_340); -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_341, 1); -lean_inc(x_343); -lean_dec(x_341); -x_344 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_336); -x_345 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_345, 0, x_336); -lean_ctor_set(x_345, 1, x_344); -x_346 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_336); -x_347 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_347, 0, x_336); -lean_ctor_set(x_347, 1, x_346); -x_348 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_339); -lean_inc(x_342); -x_349 = l_Lean_addMacroScope(x_342, x_348, x_339); -x_350 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_351 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_336); -x_352 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_352, 0, x_336); -lean_ctor_set(x_352, 1, x_350); -lean_ctor_set(x_352, 2, x_349); -lean_ctor_set(x_352, 3, x_351); -x_353 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_339); -lean_inc(x_342); -x_354 = l_Lean_addMacroScope(x_342, x_353, x_339); -x_355 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_356 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_336); -x_357 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_357, 0, x_336); -lean_ctor_set(x_357, 1, x_355); -lean_ctor_set(x_357, 2, x_354); -lean_ctor_set(x_357, 3, x_356); -x_358 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_359 = lean_array_push(x_358, x_357); -lean_inc(x_65); -x_360 = lean_array_push(x_359, x_65); -x_361 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_360); -x_363 = lean_array_push(x_358, x_352); -x_364 = lean_array_push(x_363, x_362); -x_365 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_364); -x_367 = lean_array_push(x_358, x_366); -x_368 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_369 = lean_array_push(x_367, x_368); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_361); -lean_ctor_set(x_370, 1, x_369); -x_371 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_336); -x_372 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_372, 0, x_336); -lean_ctor_set(x_372, 1, x_371); -x_373 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_374 = lean_array_push(x_373, x_347); -x_375 = lean_array_push(x_374, x_370); -x_376 = lean_array_push(x_375, x_372); -x_377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_376); -x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_336); -x_380 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_380, 0, x_336); -lean_ctor_set(x_380, 1, x_379); -x_381 = l_Lean_addMacroScope(x_342, x_326, x_339); -lean_inc(x_336); -x_382 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_382, 0, x_336); -lean_ctor_set(x_382, 1, x_329); -lean_ctor_set(x_382, 2, x_381); -lean_ctor_set(x_382, 3, x_328); -x_383 = lean_array_push(x_358, x_19); -lean_inc(x_382); -x_384 = lean_array_push(x_383, x_382); -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_361); -lean_ctor_set(x_385, 1, x_384); -x_386 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_336); -x_387 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_387, 0, x_336); -lean_ctor_set(x_387, 1, x_386); -x_388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_336); -x_389 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_389, 0, x_336); -lean_ctor_set(x_389, 1, x_388); -x_390 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_336); -x_391 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_391, 0, x_336); -lean_ctor_set(x_391, 1, x_390); -x_392 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_336); -x_393 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_393, 0, x_336); -lean_ctor_set(x_393, 1, x_392); -x_394 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_336); -x_395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_395, 0, x_336); -lean_ctor_set(x_395, 1, x_394); -x_396 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_397 = lean_array_push(x_396, x_395); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_397); -lean_inc(x_382); -x_400 = lean_array_push(x_373, x_382); -x_401 = lean_array_push(x_400, x_393); -x_402 = lean_array_push(x_401, x_399); -x_403 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_402); -x_405 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_406 = lean_array_push(x_405, x_382); -x_407 = lean_array_push(x_406, x_368); -x_408 = lean_array_push(x_407, x_368); -x_409 = lean_array_push(x_408, x_391); -x_410 = lean_array_push(x_409, x_404); -x_411 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_412, 0, x_411); -lean_ctor_set(x_412, 1, x_410); -x_413 = lean_array_push(x_396, x_412); -x_414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_413); -x_416 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_417 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_417, 0, x_336); -lean_ctor_set(x_417, 1, x_416); -x_418 = lean_array_push(x_396, x_417); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_361); -lean_ctor_set(x_419, 1, x_418); -x_420 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_421 = lean_array_push(x_420, x_389); -x_422 = lean_array_push(x_421, x_415); -x_423 = lean_array_push(x_422, x_419); -x_424 = lean_array_push(x_423, x_333); -x_425 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_425); -lean_ctor_set(x_426, 1, x_424); -x_427 = lean_array_push(x_373, x_385); -x_428 = lean_array_push(x_427, x_387); -x_429 = lean_array_push(x_428, x_426); -x_430 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_429); -x_432 = lean_array_push(x_358, x_380); -x_433 = lean_array_push(x_432, x_431); -x_434 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_434); -lean_ctor_set(x_435, 1, x_433); -x_436 = lean_array_push(x_420, x_345); -x_437 = lean_array_push(x_436, x_38); -x_438 = lean_array_push(x_437, x_378); -x_439 = lean_array_push(x_438, x_435); -x_440 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_439); -x_442 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_343); -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); -lean_inc(x_444); -lean_dec(x_442); -x_445 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_444); -x_446 = lean_ctor_get(x_445, 0); -lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); -lean_dec(x_445); -x_448 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_447); -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_448, 1); -lean_inc(x_450); -lean_dec(x_448); -x_451 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_443); -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_443); -lean_ctor_set(x_452, 1, x_451); -lean_inc(x_443); -x_453 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_453, 0, x_443); -lean_ctor_set(x_453, 1, x_388); -lean_inc(x_446); -lean_inc(x_449); -x_454 = l_Lean_addMacroScope(x_449, x_326, x_446); -lean_inc(x_443); -x_455 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_455, 0, x_443); -lean_ctor_set(x_455, 1, x_329); -lean_ctor_set(x_455, 2, x_454); -lean_ctor_set(x_455, 3, x_328); -x_456 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_443); -x_457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_457, 0, x_443); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_array_push(x_396, x_441); -x_459 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_458); -lean_inc(x_455); -x_461 = lean_array_push(x_420, x_455); -x_462 = lean_array_push(x_461, x_368); -x_463 = lean_array_push(x_462, x_457); -x_464 = lean_array_push(x_463, x_460); -x_465 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_464); -x_467 = lean_array_push(x_373, x_453); -x_468 = lean_array_push(x_467, x_368); -x_469 = lean_array_push(x_468, x_466); -x_470 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_470); -lean_ctor_set(x_471, 1, x_469); -lean_inc(x_443); -x_472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_472, 0, x_443); -lean_ctor_set(x_472, 1, x_416); -x_473 = lean_array_push(x_396, x_472); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_361); -lean_ctor_set(x_474, 1, x_473); -x_475 = lean_array_push(x_358, x_471); -lean_inc(x_474); -x_476 = lean_array_push(x_475, x_474); -x_477 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_478, 0, x_477); -lean_ctor_set(x_478, 1, x_476); -lean_inc(x_443); -x_479 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_479, 0, x_443); -lean_ctor_set(x_479, 1, x_390); -lean_inc(x_443); -x_480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_480, 0, x_443); -lean_ctor_set(x_480, 1, x_392); -lean_inc(x_443); -x_481 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_481, 0, x_443); -lean_ctor_set(x_481, 1, x_394); -x_482 = lean_array_push(x_396, x_481); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_398); -lean_ctor_set(x_483, 1, x_482); -x_484 = lean_array_push(x_373, x_455); -x_485 = lean_array_push(x_484, x_480); -lean_inc(x_485); -x_486 = lean_array_push(x_485, x_483); -x_487 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_487, 0, x_403); -lean_ctor_set(x_487, 1, x_486); -x_488 = lean_array_push(x_405, x_65); -x_489 = lean_array_push(x_488, x_368); -x_490 = lean_array_push(x_489, x_368); -x_491 = lean_array_push(x_490, x_479); -x_492 = lean_array_push(x_491, x_487); -x_493 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_492); -x_495 = lean_array_push(x_396, x_494); -x_496 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = lean_array_push(x_358, x_497); -x_499 = lean_array_push(x_498, x_474); -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_477); -lean_ctor_set(x_500, 1, x_499); -x_501 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_443); -x_502 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_502, 0, x_443); -lean_ctor_set(x_502, 1, x_501); -x_503 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_443); -x_504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_504, 0, x_443); -lean_ctor_set(x_504, 1, x_503); -x_505 = lean_array_push(x_396, x_504); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_398); -lean_ctor_set(x_506, 1, x_505); -x_507 = lean_array_push(x_485, x_506); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_403); -lean_ctor_set(x_508, 1, x_507); -x_509 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; -x_510 = lean_array_push(x_509, x_508); -x_511 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_511); -lean_ctor_set(x_512, 1, x_510); -x_513 = lean_array_push(x_396, x_512); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_361); -lean_ctor_set(x_514, 1, x_513); -x_515 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_443); -x_516 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_516, 0, x_443); -lean_ctor_set(x_516, 1, x_515); -x_517 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_443); -x_518 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_518, 0, x_443); -lean_ctor_set(x_518, 1, x_517); -lean_inc(x_446); -lean_inc(x_449); -x_519 = l_Lean_addMacroScope(x_449, x_353, x_446); -lean_inc(x_443); -x_520 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_520, 0, x_443); -lean_ctor_set(x_520, 1, x_355); -lean_ctor_set(x_520, 2, x_519); -lean_ctor_set(x_520, 3, x_356); -x_521 = lean_array_push(x_396, x_520); -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_361); -lean_ctor_set(x_522, 1, x_521); -lean_inc(x_443); -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_443); -lean_ctor_set(x_523, 1, x_386); -x_524 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_446); -lean_inc(x_449); -x_525 = l_Lean_addMacroScope(x_449, x_524, x_446); -x_526 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_527 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_443); -x_528 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_528, 0, x_443); -lean_ctor_set(x_528, 1, x_526); -lean_ctor_set(x_528, 2, x_525); -lean_ctor_set(x_528, 3, x_527); -lean_inc(x_443); -x_529 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_529, 0, x_443); -lean_ctor_set(x_529, 1, x_346); -x_530 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_443); -x_531 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_531, 0, x_443); -lean_ctor_set(x_531, 1, x_530); -x_532 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -lean_inc(x_443); -x_533 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_533, 0, x_443); -lean_ctor_set(x_533, 1, x_532); -x_534 = lean_array_push(x_396, x_533); -x_535 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_534); -x_537 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -lean_inc(x_446); -lean_inc(x_449); -x_538 = l_Lean_addMacroScope(x_449, x_537, x_446); -x_539 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_540 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_443); -x_541 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_541, 0, x_443); -lean_ctor_set(x_541, 1, x_539); -lean_ctor_set(x_541, 2, x_538); -lean_ctor_set(x_541, 3, x_540); -x_542 = lean_array_push(x_373, x_531); -x_543 = lean_array_push(x_542, x_536); -lean_inc(x_543); -x_544 = lean_array_push(x_543, x_541); -x_545 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_544); -x_547 = lean_array_push(x_358, x_546); -x_548 = lean_array_push(x_547, x_368); -x_549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_549, 0, x_361); -lean_ctor_set(x_549, 1, x_548); -lean_inc(x_443); -x_550 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_550, 0, x_443); -lean_ctor_set(x_550, 1, x_371); -x_551 = lean_array_push(x_373, x_529); -x_552 = lean_array_push(x_551, x_549); -x_553 = lean_array_push(x_552, x_550); -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_377); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_array_push(x_396, x_554); -x_556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_556, 0, x_361); -lean_ctor_set(x_556, 1, x_555); -x_557 = lean_array_push(x_358, x_528); -x_558 = lean_array_push(x_557, x_556); -x_559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_559, 0, x_365); -lean_ctor_set(x_559, 1, x_558); -x_560 = lean_array_push(x_396, x_559); -x_561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_561, 0, x_459); -lean_ctor_set(x_561, 1, x_560); -x_562 = lean_array_push(x_358, x_561); -x_563 = lean_array_push(x_562, x_368); -x_564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_564, 0, x_477); -lean_ctor_set(x_564, 1, x_563); -x_565 = lean_array_push(x_396, x_564); -x_566 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_566, 0, x_361); -lean_ctor_set(x_566, 1, x_565); -x_567 = lean_array_push(x_396, x_566); -x_568 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_567); -x_570 = lean_array_push(x_420, x_518); -lean_inc(x_570); -x_571 = lean_array_push(x_570, x_522); -lean_inc(x_523); -x_572 = lean_array_push(x_571, x_523); -x_573 = lean_array_push(x_572, x_569); -x_574 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -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 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_446); -lean_inc(x_449); -x_577 = l_Lean_addMacroScope(x_449, x_576, x_446); -x_578 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_579 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_443); -x_580 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_580, 0, x_443); -lean_ctor_set(x_580, 1, x_578); -lean_ctor_set(x_580, 2, x_577); -lean_ctor_set(x_580, 3, x_579); -x_581 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -x_582 = l_Lean_addMacroScope(x_449, x_581, x_446); -x_583 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_443); -x_584 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_584, 0, x_443); -lean_ctor_set(x_584, 1, x_583); -lean_ctor_set(x_584, 2, x_582); -lean_ctor_set(x_584, 3, x_328); -lean_inc(x_584); -x_585 = lean_array_push(x_396, x_584); -x_586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_586, 0, x_361); -lean_ctor_set(x_586, 1, x_585); -x_587 = lean_array_push(x_358, x_580); -x_588 = lean_array_push(x_587, x_586); -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_365); -lean_ctor_set(x_589, 1, x_588); -x_590 = lean_array_push(x_396, x_589); -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_361); -lean_ctor_set(x_591, 1, x_590); -x_592 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_593 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_593, 0, x_443); -lean_ctor_set(x_593, 1, x_592); -x_594 = lean_array_push(x_543, x_584); -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_545); -lean_ctor_set(x_595, 1, x_594); -x_596 = lean_array_push(x_396, x_595); -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_361); -lean_ctor_set(x_597, 1, x_596); -x_598 = lean_array_push(x_358, x_593); -x_599 = lean_array_push(x_598, x_597); -x_600 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -x_602 = lean_array_push(x_358, x_601); -x_603 = lean_array_push(x_602, x_368); -x_604 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_604, 0, x_477); -lean_ctor_set(x_604, 1, x_603); -x_605 = lean_array_push(x_396, x_604); -x_606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_606, 0, x_361); -lean_ctor_set(x_606, 1, x_605); -x_607 = lean_array_push(x_396, x_606); -x_608 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_608, 0, x_568); -lean_ctor_set(x_608, 1, x_607); -x_609 = lean_array_push(x_570, x_591); -x_610 = lean_array_push(x_609, x_523); -x_611 = lean_array_push(x_610, x_608); -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_574); -lean_ctor_set(x_612, 1, x_611); -x_613 = lean_array_push(x_358, x_575); -x_614 = lean_array_push(x_613, x_612); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_361); -lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_396, x_615); -x_617 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_617); -lean_ctor_set(x_618, 1, x_616); -x_619 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_620 = lean_array_push(x_619, x_502); -x_621 = lean_array_push(x_620, x_368); -x_622 = lean_array_push(x_621, x_514); -x_623 = lean_array_push(x_622, x_368); -x_624 = lean_array_push(x_623, x_516); -x_625 = lean_array_push(x_624, x_618); -x_626 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_627, 0, x_626); -lean_ctor_set(x_627, 1, x_625); -x_628 = lean_array_push(x_358, x_627); -x_629 = lean_array_push(x_628, x_368); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_477); -lean_ctor_set(x_630, 1, x_629); -x_631 = lean_array_push(x_373, x_478); -x_632 = lean_array_push(x_631, x_500); -x_633 = lean_array_push(x_632, x_630); -x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_361); -lean_ctor_set(x_634, 1, x_633); -x_635 = lean_array_push(x_396, x_634); -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_568); -lean_ctor_set(x_636, 1, x_635); -x_637 = lean_array_push(x_358, x_452); -x_638 = lean_array_push(x_637, x_636); -x_639 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_639); -lean_ctor_set(x_640, 1, x_638); -x_641 = l_Lean_Syntax_getArg(x_640, x_11); -lean_dec(x_640); -x_642 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_641); -x_643 = l_List_append___rarg(x_642, x_2); -x_644 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_643, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_450); -return x_644; -} -else -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; -lean_dec(x_65); -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_19); -lean_dec(x_9); -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_645 = lean_ctor_get(x_332, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_332, 1); -lean_inc(x_646); -lean_dec(x_332); -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_645); -lean_ctor_set(x_647, 1, x_646); -return x_647; -} -} -} -else -{ -lean_object* x_648; lean_object* x_649; lean_object* x_650; -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_48); -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_19); -lean_dec(x_9); -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_648 = lean_ctor_get(x_64, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_64, 1); -lean_inc(x_649); -lean_dec(x_64); -x_650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_650, 0, x_648); -lean_ctor_set(x_650, 1, x_649); -return x_650; -} -} -else -{ -lean_object* x_651; lean_object* x_652; lean_object* x_653; -lean_dec(x_48); -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_19); -lean_dec(x_9); -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_651 = lean_ctor_get(x_50, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_50, 1); -lean_inc(x_652); -lean_dec(x_50); -x_653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_653, 0, x_651); -lean_ctor_set(x_653, 1, x_652); -return x_653; -} -} -else -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_19); -lean_dec(x_9); -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_654 = lean_ctor_get(x_47, 0); -lean_inc(x_654); -x_655 = lean_ctor_get(x_47, 1); -lean_inc(x_655); +lean_dec(x_46); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); lean_dec(x_47); -x_656 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_656, 0, x_654); -lean_ctor_set(x_656, 1, x_655); -return x_656; +x_51 = lean_array_get_size(x_49); +x_52 = lean_usize_of_nat(x_51); +lean_dec(x_51); +lean_inc(x_49); +x_53 = x_49; +x_54 = lean_box_usize(x_52); +x_55 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; +x_56 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); +lean_closure_set(x_56, 0, x_54); +lean_closure_set(x_56, 1, x_55); +lean_closure_set(x_56, 2, x_53); +x_57 = x_56; +x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +x_59 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_59, 0, x_57); +lean_closure_set(x_59, 1, x_58); +lean_inc(x_29); +x_60 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_59, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_48); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_ctor_get(x_44, 0); +lean_inc(x_63); +lean_dec(x_44); +x_64 = l_Lean_Elab_Term_Do_hasReturn___closed__1; +x_65 = l_Lean_Elab_Term_Do_hasExitPointPred_loop(x_64, x_63); +x_66 = lean_unbox(x_65); +lean_dec(x_65); +if (x_66 == 0) +{ +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; +x_67 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_62); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_77 = l_Lean_addMacroScope(x_74, x_76, x_71); +x_78 = lean_box(0); +x_79 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_68); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_78); +x_81 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); +lean_closure_set(x_81, 0, x_49); +lean_closure_set(x_81, 1, x_80); +lean_closure_set(x_81, 2, x_50); +lean_inc(x_29); +x_82 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_81, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_75); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_86); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_86); +lean_ctor_set(x_95, 1, x_94); +x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_86); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_86); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_addMacroScope(x_92, x_76, x_89); +lean_inc(x_86); +x_99 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_99, 0, x_86); +lean_ctor_set(x_99, 1, x_79); +lean_ctor_set(x_99, 2, x_98); +lean_ctor_set(x_99, 3, x_78); +x_100 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_101 = lean_array_push(x_100, x_19); +x_102 = lean_array_push(x_101, x_99); +x_103 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_86); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_108 = lean_array_push(x_107, x_104); +x_109 = lean_array_push(x_108, x_106); +x_110 = lean_array_push(x_109, x_83); +x_111 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +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_100, x_97); +x_114 = lean_array_push(x_113, x_112); +x_115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_118 = lean_array_push(x_117, x_95); +x_119 = lean_array_push(x_118, x_38); +lean_inc(x_61); +x_120 = lean_array_push(x_119, x_61); +x_121 = lean_array_push(x_120, x_116); +x_122 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = l_List_isEmpty___rarg(x_2); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_125 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_93); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_127); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_130); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_126); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_126); +lean_ctor_set(x_135, 1, x_134); +x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_126); +x_137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_137, 0, x_126); +lean_ctor_set(x_137, 1, x_136); +x_138 = l_Lean_addMacroScope(x_132, x_76, x_129); +lean_inc(x_126); +x_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_126); +lean_ctor_set(x_139, 1, x_79); +lean_ctor_set(x_139, 2, x_138); +lean_ctor_set(x_139, 3, x_78); +x_140 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_126); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_126); +lean_ctor_set(x_141, 1, x_140); +x_142 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_143 = lean_array_push(x_142, x_123); +x_144 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +lean_inc(x_139); +x_146 = lean_array_push(x_117, x_139); +x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_148 = lean_array_push(x_146, x_147); +x_149 = lean_array_push(x_148, x_141); +x_150 = lean_array_push(x_149, x_145); +x_151 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_107, x_137); +x_154 = lean_array_push(x_153, x_147); +x_155 = lean_array_push(x_154, x_152); +x_156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_126); +x_159 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_159, 0, x_126); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_142, x_159); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_103); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_100, x_157); +x_163 = lean_array_push(x_162, x_161); +x_164 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_167 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_167, 0, x_126); +lean_ctor_set(x_167, 1, x_166); +x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_169 = lean_array_push(x_168, x_61); +x_170 = lean_array_push(x_169, x_147); +x_171 = lean_array_push(x_170, x_147); +x_172 = lean_array_push(x_171, x_167); +x_173 = lean_array_push(x_172, x_139); +x_174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +x_176 = lean_array_push(x_142, x_175); +x_177 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_179 = lean_array_push(x_100, x_178); +x_180 = lean_array_push(x_179, x_147); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_164); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_array_push(x_100, x_165); +x_183 = lean_array_push(x_182, x_181); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_103); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_142, x_184); +x_186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +x_188 = lean_array_push(x_100, x_135); +x_189 = lean_array_push(x_188, x_187); +x_190 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = l_Lean_Syntax_getArg(x_191, x_11); +lean_dec(x_191); +x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_192); +x_194 = l_List_append___rarg(x_193, x_2); +x_195 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_194, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_133); +return x_195; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_2); +x_196 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_93); +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_198); +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_201); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_197); +x_206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_206, 0, x_197); +lean_ctor_set(x_206, 1, x_205); +x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_197); +x_208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_208, 0, x_197); +lean_ctor_set(x_208, 1, x_207); +lean_inc(x_200); +lean_inc(x_203); +x_209 = l_Lean_addMacroScope(x_203, x_76, x_200); +lean_inc(x_197); +x_210 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_210, 0, x_197); +lean_ctor_set(x_210, 1, x_79); +lean_ctor_set(x_210, 2, x_209); +lean_ctor_set(x_210, 3, x_78); +x_211 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_197); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_197); +lean_ctor_set(x_212, 1, x_211); +x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_214 = lean_array_push(x_213, x_123); +x_215 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_214); +lean_inc(x_210); +x_217 = lean_array_push(x_117, x_210); +x_218 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_219 = lean_array_push(x_217, x_218); +x_220 = lean_array_push(x_219, x_212); +x_221 = lean_array_push(x_220, x_216); +x_222 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = lean_array_push(x_107, x_208); +x_225 = lean_array_push(x_224, x_218); +x_226 = lean_array_push(x_225, x_223); +x_227 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_197); +x_230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_230, 0, x_197); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_array_push(x_213, x_230); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_103); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_100, x_228); +lean_inc(x_232); +x_234 = lean_array_push(x_233, x_232); +x_235 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_197); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_197); +lean_ctor_set(x_238, 1, x_237); +x_239 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_240 = lean_array_push(x_239, x_61); +x_241 = lean_array_push(x_240, x_218); +x_242 = lean_array_push(x_241, x_218); +x_243 = lean_array_push(x_242, x_238); +x_244 = lean_array_push(x_243, x_210); +x_245 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +x_247 = lean_array_push(x_213, x_246); +x_248 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = lean_array_push(x_100, x_249); +x_251 = lean_array_push(x_250, x_232); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_235); +lean_ctor_set(x_252, 1, x_251); +x_253 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_200); +lean_inc(x_203); +x_254 = l_Lean_addMacroScope(x_203, x_253, x_200); +x_255 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_256 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_197); +x_257 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_257, 0, x_197); +lean_ctor_set(x_257, 1, x_255); +lean_ctor_set(x_257, 2, x_254); +lean_ctor_set(x_257, 3, x_256); +x_258 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_197); +x_259 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_259, 0, x_197); +lean_ctor_set(x_259, 1, x_258); +x_260 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_197); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_197); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +lean_inc(x_197); +x_263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_263, 0, x_197); +lean_ctor_set(x_263, 1, x_262); +x_264 = lean_array_push(x_213, x_263); +x_265 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_264); +x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +x_268 = l_Lean_addMacroScope(x_203, x_267, x_200); +x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_270 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +lean_inc(x_197); +x_271 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_271, 0, x_197); +lean_ctor_set(x_271, 1, x_269); +lean_ctor_set(x_271, 2, x_268); +lean_ctor_set(x_271, 3, x_270); +x_272 = lean_array_push(x_107, x_261); +x_273 = lean_array_push(x_272, x_266); +x_274 = lean_array_push(x_273, x_271); +x_275 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = lean_array_push(x_100, x_276); +x_278 = lean_array_push(x_277, x_218); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_103); +lean_ctor_set(x_279, 1, x_278); +x_280 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_281 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_281, 0, x_197); +lean_ctor_set(x_281, 1, x_280); +x_282 = lean_array_push(x_107, x_259); +x_283 = lean_array_push(x_282, x_279); +x_284 = lean_array_push(x_283, x_281); +x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +x_287 = lean_array_push(x_213, x_286); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_103); +lean_ctor_set(x_288, 1, x_287); +x_289 = lean_array_push(x_100, x_257); +x_290 = lean_array_push(x_289, x_288); +x_291 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_213, x_292); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_215); +lean_ctor_set(x_294, 1, x_293); +x_295 = lean_array_push(x_100, x_294); +x_296 = lean_array_push(x_295, x_218); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_235); +lean_ctor_set(x_297, 1, x_296); +x_298 = lean_array_push(x_107, x_236); +x_299 = lean_array_push(x_298, x_252); +x_300 = lean_array_push(x_299, x_297); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_103); +lean_ctor_set(x_301, 1, x_300); +x_302 = lean_array_push(x_213, x_301); +x_303 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_302); +x_305 = lean_array_push(x_100, x_206); +x_306 = lean_array_push(x_305, x_304); +x_307 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_307); +lean_ctor_set(x_308, 1, x_306); +x_309 = l_Lean_Syntax_getArg(x_308, x_11); +lean_dec(x_308); +x_310 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_309); +x_311 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_310, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_204); +return x_311; } } else { -lean_object* x_657; lean_object* x_658; lean_object* x_659; +lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_61); +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +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_312 = lean_ctor_get(x_82, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_82, 1); +lean_inc(x_313); +lean_dec(x_82); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_312); +lean_ctor_set(x_314, 1, x_313); +return x_314; +} +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_315 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_62); +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +lean_dec(x_315); +x_318 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_317); +x_319 = lean_ctor_get(x_318, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 1); +lean_inc(x_320); +lean_dec(x_318); +x_321 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_320); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_325 = l_Lean_addMacroScope(x_322, x_324, x_319); +x_326 = lean_box(0); +x_327 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_328 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_328, 0, x_316); +lean_ctor_set(x_328, 1, x_327); +lean_ctor_set(x_328, 2, x_325); +lean_ctor_set(x_328, 3, x_326); +x_329 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); +lean_closure_set(x_329, 0, x_49); +lean_closure_set(x_329, 1, x_328); +lean_closure_set(x_329, 2, x_50); +lean_inc(x_29); +x_330 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_329, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_323); +if (lean_obj_tag(x_330) == 0) +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_331 = lean_ctor_get(x_330, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_330, 1); +lean_inc(x_332); +lean_dec(x_330); +x_333 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_332); +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +x_335 = lean_ctor_get(x_333, 1); +lean_inc(x_335); +lean_dec(x_333); +x_336 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_335); +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +lean_dec(x_336); +x_339 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_338); +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); +lean_inc(x_341); +lean_dec(x_339); +x_342 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_334); +x_343 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_343, 0, x_334); +lean_ctor_set(x_343, 1, x_342); +x_344 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_334); +x_345 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_345, 0, x_334); +lean_ctor_set(x_345, 1, x_344); +x_346 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +lean_inc(x_337); +lean_inc(x_340); +x_347 = l_Lean_addMacroScope(x_340, x_346, x_337); +x_348 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_349 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_334); +x_350 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_350, 0, x_334); +lean_ctor_set(x_350, 1, x_348); +lean_ctor_set(x_350, 2, x_347); +lean_ctor_set(x_350, 3, x_349); +x_351 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +lean_inc(x_337); +lean_inc(x_340); +x_352 = l_Lean_addMacroScope(x_340, x_351, x_337); +x_353 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_354 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_334); +x_355 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_355, 0, x_334); +lean_ctor_set(x_355, 1, x_353); +lean_ctor_set(x_355, 2, x_352); +lean_ctor_set(x_355, 3, x_354); +x_356 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_357 = lean_array_push(x_356, x_355); +lean_inc(x_61); +x_358 = lean_array_push(x_357, x_61); +x_359 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_358); +x_361 = lean_array_push(x_356, x_350); +x_362 = lean_array_push(x_361, x_360); +x_363 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_363); +lean_ctor_set(x_364, 1, x_362); +x_365 = lean_array_push(x_356, x_364); +x_366 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_367 = lean_array_push(x_365, x_366); +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_359); +lean_ctor_set(x_368, 1, x_367); +x_369 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +lean_inc(x_334); +x_370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_370, 0, x_334); +lean_ctor_set(x_370, 1, x_369); +x_371 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_372 = lean_array_push(x_371, x_345); +x_373 = lean_array_push(x_372, x_368); +x_374 = lean_array_push(x_373, x_370); +x_375 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_374); +x_377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_334); +x_378 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_378, 0, x_334); +lean_ctor_set(x_378, 1, x_377); +x_379 = l_Lean_addMacroScope(x_340, x_324, x_337); +lean_inc(x_334); +x_380 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_380, 0, x_334); +lean_ctor_set(x_380, 1, x_327); +lean_ctor_set(x_380, 2, x_379); +lean_ctor_set(x_380, 3, x_326); +x_381 = lean_array_push(x_356, x_19); +lean_inc(x_380); +x_382 = lean_array_push(x_381, x_380); +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_359); +lean_ctor_set(x_383, 1, x_382); +x_384 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_334); +x_385 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_385, 0, x_334); +lean_ctor_set(x_385, 1, x_384); +x_386 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_334); +x_387 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_387, 0, x_334); +lean_ctor_set(x_387, 1, x_386); +x_388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_334); +x_389 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_389, 0, x_334); +lean_ctor_set(x_389, 1, x_388); +x_390 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_334); +x_391 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_391, 0, x_334); +lean_ctor_set(x_391, 1, x_390); +x_392 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +lean_inc(x_334); +x_393 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_393, 0, x_334); +lean_ctor_set(x_393, 1, x_392); +x_394 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_395 = lean_array_push(x_394, x_393); +x_396 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +lean_inc(x_380); +x_398 = lean_array_push(x_371, x_380); +x_399 = lean_array_push(x_398, x_391); +x_400 = lean_array_push(x_399, x_397); +x_401 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_401); +lean_ctor_set(x_402, 1, x_400); +x_403 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_404 = lean_array_push(x_403, x_380); +x_405 = lean_array_push(x_404, x_366); +x_406 = lean_array_push(x_405, x_366); +x_407 = lean_array_push(x_406, x_389); +x_408 = lean_array_push(x_407, x_402); +x_409 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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); +x_411 = lean_array_push(x_394, x_410); +x_412 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_415 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_415, 0, x_334); +lean_ctor_set(x_415, 1, x_414); +x_416 = lean_array_push(x_394, x_415); +x_417 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_417, 0, x_359); +lean_ctor_set(x_417, 1, x_416); +x_418 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_419 = lean_array_push(x_418, x_387); +x_420 = lean_array_push(x_419, x_413); +x_421 = lean_array_push(x_420, x_417); +x_422 = lean_array_push(x_421, x_331); +x_423 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_422); +x_425 = lean_array_push(x_371, x_383); +x_426 = lean_array_push(x_425, x_385); +x_427 = lean_array_push(x_426, x_424); +x_428 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +x_430 = lean_array_push(x_356, x_378); +x_431 = lean_array_push(x_430, x_429); +x_432 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_431); +x_434 = lean_array_push(x_418, x_343); +x_435 = lean_array_push(x_434, x_38); +x_436 = lean_array_push(x_435, x_376); +x_437 = lean_array_push(x_436, x_433); +x_438 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +x_440 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_341); +x_441 = lean_ctor_get(x_440, 0); +lean_inc(x_441); +x_442 = lean_ctor_get(x_440, 1); +lean_inc(x_442); +lean_dec(x_440); +x_443 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_442); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_445); +x_447 = lean_ctor_get(x_446, 0); +lean_inc(x_447); +x_448 = lean_ctor_get(x_446, 1); +lean_inc(x_448); +lean_dec(x_446); +x_449 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_441); +x_450 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_450, 0, x_441); +lean_ctor_set(x_450, 1, x_449); +lean_inc(x_441); +x_451 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_451, 0, x_441); +lean_ctor_set(x_451, 1, x_386); +lean_inc(x_444); +lean_inc(x_447); +x_452 = l_Lean_addMacroScope(x_447, x_324, x_444); +lean_inc(x_441); +x_453 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_453, 0, x_441); +lean_ctor_set(x_453, 1, x_327); +lean_ctor_set(x_453, 2, x_452); +lean_ctor_set(x_453, 3, x_326); +x_454 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_441); +x_455 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_455, 0, x_441); +lean_ctor_set(x_455, 1, x_454); +x_456 = lean_array_push(x_394, x_439); +x_457 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_457); +lean_ctor_set(x_458, 1, x_456); +lean_inc(x_453); +x_459 = lean_array_push(x_418, x_453); +x_460 = lean_array_push(x_459, x_366); +x_461 = lean_array_push(x_460, x_455); +x_462 = lean_array_push(x_461, x_458); +x_463 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_462); +x_465 = lean_array_push(x_371, x_451); +x_466 = lean_array_push(x_465, x_366); +x_467 = lean_array_push(x_466, x_464); +x_468 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_469 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_467); +lean_inc(x_441); +x_470 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_470, 0, x_441); +lean_ctor_set(x_470, 1, x_414); +x_471 = lean_array_push(x_394, x_470); +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_359); +lean_ctor_set(x_472, 1, x_471); +x_473 = lean_array_push(x_356, x_469); +lean_inc(x_472); +x_474 = lean_array_push(x_473, x_472); +x_475 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_476, 0, x_475); +lean_ctor_set(x_476, 1, x_474); +lean_inc(x_441); +x_477 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_477, 0, x_441); +lean_ctor_set(x_477, 1, x_388); +lean_inc(x_441); +x_478 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_478, 0, x_441); +lean_ctor_set(x_478, 1, x_390); +lean_inc(x_441); +x_479 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_479, 0, x_441); +lean_ctor_set(x_479, 1, x_392); +x_480 = lean_array_push(x_394, x_479); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_396); +lean_ctor_set(x_481, 1, x_480); +x_482 = lean_array_push(x_371, x_453); +x_483 = lean_array_push(x_482, x_478); +lean_inc(x_483); +x_484 = lean_array_push(x_483, x_481); +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_401); +lean_ctor_set(x_485, 1, x_484); +x_486 = lean_array_push(x_403, x_61); +x_487 = lean_array_push(x_486, x_366); +x_488 = lean_array_push(x_487, x_366); +x_489 = lean_array_push(x_488, x_477); +x_490 = lean_array_push(x_489, x_485); +x_491 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_490); +x_493 = lean_array_push(x_394, x_492); +x_494 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_493); +x_496 = lean_array_push(x_356, x_495); +x_497 = lean_array_push(x_496, x_472); +x_498 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_498, 0, x_475); +lean_ctor_set(x_498, 1, x_497); +x_499 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_441); +x_500 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_500, 0, x_441); +lean_ctor_set(x_500, 1, x_499); +x_501 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +lean_inc(x_441); +x_502 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_502, 0, x_441); +lean_ctor_set(x_502, 1, x_501); +x_503 = lean_array_push(x_394, x_502); +x_504 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_504, 0, x_396); +lean_ctor_set(x_504, 1, x_503); +x_505 = lean_array_push(x_483, x_504); +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_401); +lean_ctor_set(x_506, 1, x_505); +x_507 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_508 = lean_array_push(x_507, x_506); +x_509 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_508); +x_511 = lean_array_push(x_394, x_510); +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_359); +lean_ctor_set(x_512, 1, x_511); +x_513 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_441); +x_514 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_514, 0, x_441); +lean_ctor_set(x_514, 1, x_513); +x_515 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_441); +x_516 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_516, 0, x_441); +lean_ctor_set(x_516, 1, x_515); +lean_inc(x_444); +lean_inc(x_447); +x_517 = l_Lean_addMacroScope(x_447, x_351, x_444); +lean_inc(x_441); +x_518 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_518, 0, x_441); +lean_ctor_set(x_518, 1, x_353); +lean_ctor_set(x_518, 2, x_517); +lean_ctor_set(x_518, 3, x_354); +x_519 = lean_array_push(x_394, x_518); +x_520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_520, 0, x_359); +lean_ctor_set(x_520, 1, x_519); +lean_inc(x_441); +x_521 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_521, 0, x_441); +lean_ctor_set(x_521, 1, x_384); +x_522 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_444); +lean_inc(x_447); +x_523 = l_Lean_addMacroScope(x_447, x_522, x_444); +x_524 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_525 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_441); +x_526 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_526, 0, x_441); +lean_ctor_set(x_526, 1, x_524); +lean_ctor_set(x_526, 2, x_523); +lean_ctor_set(x_526, 3, x_525); +lean_inc(x_441); +x_527 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_527, 0, x_441); +lean_ctor_set(x_527, 1, x_344); +x_528 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_441); +x_529 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_529, 0, x_441); +lean_ctor_set(x_529, 1, x_528); +x_530 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +lean_inc(x_441); +x_531 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_531, 0, x_441); +lean_ctor_set(x_531, 1, x_530); +x_532 = lean_array_push(x_394, x_531); +x_533 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +x_534 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_532); +x_535 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +lean_inc(x_444); +lean_inc(x_447); +x_536 = l_Lean_addMacroScope(x_447, x_535, x_444); +x_537 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_538 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +lean_inc(x_441); +x_539 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_539, 0, x_441); +lean_ctor_set(x_539, 1, x_537); +lean_ctor_set(x_539, 2, x_536); +lean_ctor_set(x_539, 3, x_538); +x_540 = lean_array_push(x_371, x_529); +x_541 = lean_array_push(x_540, x_534); +lean_inc(x_541); +x_542 = lean_array_push(x_541, x_539); +x_543 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_542); +x_545 = lean_array_push(x_356, x_544); +x_546 = lean_array_push(x_545, x_366); +x_547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_547, 0, x_359); +lean_ctor_set(x_547, 1, x_546); +lean_inc(x_441); +x_548 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_548, 0, x_441); +lean_ctor_set(x_548, 1, x_369); +x_549 = lean_array_push(x_371, x_527); +x_550 = lean_array_push(x_549, x_547); +x_551 = lean_array_push(x_550, x_548); +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_375); +lean_ctor_set(x_552, 1, x_551); +x_553 = lean_array_push(x_394, x_552); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_359); +lean_ctor_set(x_554, 1, x_553); +x_555 = lean_array_push(x_356, x_526); +x_556 = lean_array_push(x_555, x_554); +x_557 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_557, 0, x_363); +lean_ctor_set(x_557, 1, x_556); +x_558 = lean_array_push(x_394, x_557); +x_559 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_559, 0, x_457); +lean_ctor_set(x_559, 1, x_558); +x_560 = lean_array_push(x_356, x_559); +x_561 = lean_array_push(x_560, x_366); +x_562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_562, 0, x_475); +lean_ctor_set(x_562, 1, x_561); +x_563 = lean_array_push(x_394, x_562); +x_564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_564, 0, x_359); +lean_ctor_set(x_564, 1, x_563); +x_565 = lean_array_push(x_394, x_564); +x_566 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_567 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_567, 0, x_566); +lean_ctor_set(x_567, 1, x_565); +x_568 = lean_array_push(x_418, x_516); +lean_inc(x_568); +x_569 = lean_array_push(x_568, x_520); +lean_inc(x_521); +x_570 = lean_array_push(x_569, x_521); +x_571 = lean_array_push(x_570, x_567); +x_572 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_571); +x_574 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_444); +lean_inc(x_447); +x_575 = l_Lean_addMacroScope(x_447, x_574, x_444); +x_576 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; +x_577 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; +lean_inc(x_441); +x_578 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_578, 0, x_441); +lean_ctor_set(x_578, 1, x_576); +lean_ctor_set(x_578, 2, x_575); +lean_ctor_set(x_578, 3, x_577); +x_579 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +x_580 = l_Lean_addMacroScope(x_447, x_579, x_444); +x_581 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_441); +x_582 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_582, 0, x_441); +lean_ctor_set(x_582, 1, x_581); +lean_ctor_set(x_582, 2, x_580); +lean_ctor_set(x_582, 3, x_326); +lean_inc(x_582); +x_583 = lean_array_push(x_394, x_582); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_359); +lean_ctor_set(x_584, 1, x_583); +x_585 = lean_array_push(x_356, x_578); +x_586 = lean_array_push(x_585, x_584); +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_363); +lean_ctor_set(x_587, 1, x_586); +x_588 = lean_array_push(x_394, x_587); +x_589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_589, 0, x_359); +lean_ctor_set(x_589, 1, x_588); +x_590 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +x_591 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_591, 0, x_441); +lean_ctor_set(x_591, 1, x_590); +x_592 = lean_array_push(x_541, x_582); +x_593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_593, 0, x_543); +lean_ctor_set(x_593, 1, x_592); +x_594 = lean_array_push(x_394, x_593); +x_595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_595, 0, x_359); +lean_ctor_set(x_595, 1, x_594); +x_596 = lean_array_push(x_356, x_591); +x_597 = lean_array_push(x_596, x_595); +x_598 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_597); +x_600 = lean_array_push(x_356, x_599); +x_601 = lean_array_push(x_600, x_366); +x_602 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_602, 0, x_475); +lean_ctor_set(x_602, 1, x_601); +x_603 = lean_array_push(x_394, x_602); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_359); +lean_ctor_set(x_604, 1, x_603); +x_605 = lean_array_push(x_394, x_604); +x_606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_606, 0, x_566); +lean_ctor_set(x_606, 1, x_605); +x_607 = lean_array_push(x_568, x_589); +x_608 = lean_array_push(x_607, x_521); +x_609 = lean_array_push(x_608, x_606); +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_572); +lean_ctor_set(x_610, 1, x_609); +x_611 = lean_array_push(x_356, x_573); +x_612 = lean_array_push(x_611, x_610); +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_359); +lean_ctor_set(x_613, 1, x_612); +x_614 = lean_array_push(x_394, x_613); +x_615 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_616 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_616, 0, x_615); +lean_ctor_set(x_616, 1, x_614); +x_617 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_618 = lean_array_push(x_617, x_500); +x_619 = lean_array_push(x_618, x_366); +x_620 = lean_array_push(x_619, x_512); +x_621 = lean_array_push(x_620, x_366); +x_622 = lean_array_push(x_621, x_514); +x_623 = lean_array_push(x_622, x_616); +x_624 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_623); +x_626 = lean_array_push(x_356, x_625); +x_627 = lean_array_push(x_626, x_366); +x_628 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_628, 0, x_475); +lean_ctor_set(x_628, 1, x_627); +x_629 = lean_array_push(x_371, x_476); +x_630 = lean_array_push(x_629, x_498); +x_631 = lean_array_push(x_630, x_628); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_359); +lean_ctor_set(x_632, 1, x_631); +x_633 = lean_array_push(x_394, x_632); +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_566); +lean_ctor_set(x_634, 1, x_633); +x_635 = lean_array_push(x_356, x_450); +x_636 = lean_array_push(x_635, x_634); +x_637 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_636); +x_639 = l_Lean_Syntax_getArg(x_638, x_11); +lean_dec(x_638); +x_640 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_639); +x_641 = l_List_append___rarg(x_640, x_2); +x_642 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_641, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_448); +return x_642; +} +else +{ +lean_object* x_643; lean_object* x_644; lean_object* x_645; +lean_dec(x_61); +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +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_643 = lean_ctor_get(x_330, 0); +lean_inc(x_643); +x_644 = lean_ctor_get(x_330, 1); +lean_inc(x_644); +lean_dec(x_330); +x_645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_645, 0, x_643); +lean_ctor_set(x_645, 1, x_644); +return x_645; +} +} +} +else +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; +lean_dec(x_50); +lean_dec(x_49); +lean_dec(x_44); +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +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_646 = lean_ctor_get(x_60, 0); +lean_inc(x_646); +x_647 = lean_ctor_get(x_60, 1); +lean_inc(x_647); +lean_dec(x_60); +x_648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_648, 0, x_646); +lean_ctor_set(x_648, 1, x_647); +return x_648; +} +} +else +{ +lean_object* x_649; lean_object* x_650; lean_object* x_651; +lean_dec(x_44); +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +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_649 = lean_ctor_get(x_46, 0); +lean_inc(x_649); +x_650 = lean_ctor_get(x_46, 1); +lean_inc(x_650); +lean_dec(x_46); +x_651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_651, 0, x_649); +lean_ctor_set(x_651, 1, x_650); +return x_651; +} +} +else +{ +lean_object* x_652; lean_object* x_653; lean_object* x_654; +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +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_652 = lean_ctor_get(x_43, 0); +lean_inc(x_652); +x_653 = lean_ctor_get(x_43, 1); +lean_inc(x_653); +lean_dec(x_43); +x_654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_654, 0, x_652); +lean_ctor_set(x_654, 1, x_653); +return x_654; +} +} +else +{ +lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_dec(x_29); lean_dec(x_19); lean_dec(x_18); @@ -39541,20 +39209,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_657 = lean_ctor_get(x_35, 0); -lean_inc(x_657); -x_658 = lean_ctor_get(x_35, 1); -lean_inc(x_658); +x_655 = lean_ctor_get(x_35, 0); +lean_inc(x_655); +x_656 = lean_ctor_get(x_35, 1); +lean_inc(x_656); lean_dec(x_35); -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_657); -lean_ctor_set(x_659, 1, x_658); -return x_659; +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_655); +lean_ctor_set(x_657, 1, x_656); +return x_657; } } else { -lean_object* x_660; lean_object* x_661; lean_object* x_662; +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_dec(x_29); lean_dec(x_28); lean_dec(x_27); @@ -39573,540 +39241,39 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_660 = lean_ctor_get(x_30, 0); -lean_inc(x_660); -x_661 = lean_ctor_get(x_30, 1); -lean_inc(x_661); +x_658 = lean_ctor_get(x_30, 0); +lean_inc(x_658); +x_659 = lean_ctor_get(x_30, 1); +lean_inc(x_659); lean_dec(x_30); -x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_660); -lean_ctor_set(x_662, 1, x_661); -return x_662; +x_660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_660, 0, x_658); +lean_ctor_set(x_660, 1, x_659); +return x_660; } } else { -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; 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; uint8_t x_687; uint8_t x_688; uint8_t x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; uint8_t x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; -x_663 = l_Lean_instInhabitedSyntax; -x_664 = lean_array_get(x_663, x_13, x_11); -x_665 = lean_unsigned_to_nat(0u); -x_666 = l_Lean_Syntax_getArg(x_664, x_665); -x_667 = lean_unsigned_to_nat(2u); -x_668 = l_Lean_Syntax_getArg(x_664, x_667); -lean_dec(x_664); -x_669 = l_Array_eraseIdx___rarg(x_13, x_11); -x_670 = lean_unsigned_to_nat(3u); -x_671 = l_Lean_Syntax_getArg(x_1, x_670); -x_672 = lean_st_ref_take(x_9, x_10); -x_673 = lean_ctor_get(x_672, 0); -lean_inc(x_673); -x_674 = lean_ctor_get(x_672, 1); -lean_inc(x_674); -lean_dec(x_672); -x_675 = lean_ctor_get(x_673, 0); -lean_inc(x_675); -x_676 = lean_ctor_get(x_673, 1); -lean_inc(x_676); -x_677 = lean_ctor_get(x_673, 2); -lean_inc(x_677); -x_678 = lean_ctor_get(x_673, 3); -lean_inc(x_678); -lean_dec(x_673); -x_679 = lean_nat_add(x_676, x_11); -x_680 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_680, 0, x_675); -lean_ctor_set(x_680, 1, x_679); -lean_ctor_set(x_680, 2, x_677); -lean_ctor_set(x_680, 3, x_678); -x_681 = lean_st_ref_set(x_9, x_680, x_674); -x_682 = lean_ctor_get(x_681, 1); -lean_inc(x_682); -lean_dec(x_681); -x_683 = lean_ctor_get(x_4, 0); -lean_inc(x_683); -x_684 = lean_ctor_get(x_4, 1); -lean_inc(x_684); -x_685 = lean_ctor_get(x_4, 2); -lean_inc(x_685); -x_686 = lean_ctor_get(x_4, 3); -lean_inc(x_686); -x_687 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_688 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_689 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_690 = lean_ctor_get(x_4, 5); -lean_inc(x_690); -x_691 = lean_ctor_get(x_4, 6); -lean_inc(x_691); -x_692 = lean_ctor_get(x_4, 7); -lean_inc(x_692); -x_693 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_dec(x_4); -x_694 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_694, 0, x_683); -lean_ctor_set(x_694, 1, x_684); -lean_ctor_set(x_694, 2, x_685); -lean_ctor_set(x_694, 3, x_686); -lean_ctor_set(x_694, 4, x_676); -lean_ctor_set(x_694, 5, x_690); -lean_ctor_set(x_694, 6, x_691); -lean_ctor_set(x_694, 7, x_692); -lean_ctor_set_uint8(x_694, sizeof(void*)*8, x_687); -lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 1, x_688); -lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 2, x_689); -lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 3, x_693); -x_695 = lean_ctor_get(x_8, 0); -lean_inc(x_695); -x_696 = lean_ctor_get(x_8, 1); -lean_inc(x_696); -x_697 = lean_ctor_get(x_8, 2); -lean_inc(x_697); -x_698 = lean_ctor_get(x_8, 3); -lean_inc(x_698); -x_699 = lean_ctor_get(x_8, 4); -lean_inc(x_699); -x_700 = lean_ctor_get(x_8, 5); -lean_inc(x_700); -x_701 = lean_ctor_get(x_8, 6); -lean_inc(x_701); -x_702 = lean_ctor_get(x_8, 7); -lean_inc(x_702); -x_703 = l_Lean_replaceRef(x_668, x_698); -lean_dec(x_698); -x_704 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_704, 0, x_695); -lean_ctor_set(x_704, 1, x_696); -lean_ctor_set(x_704, 2, x_697); -lean_ctor_set(x_704, 3, x_703); -lean_ctor_set(x_704, 4, x_699); -lean_ctor_set(x_704, 5, x_700); -lean_ctor_set(x_704, 6, x_701); -lean_ctor_set(x_704, 7, x_702); -x_705 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_704, x_9, x_682); -x_706 = lean_ctor_get(x_705, 0); -lean_inc(x_706); -x_707 = lean_ctor_get(x_705, 1); -lean_inc(x_707); -lean_dec(x_705); -x_708 = l_Lean_Elab_Term_getCurrMacroScope(x_694, x_5, x_6, x_7, x_704, x_9, x_707); -lean_dec(x_704); -x_709 = lean_ctor_get(x_708, 0); -lean_inc(x_709); -x_710 = lean_ctor_get(x_708, 1); -lean_inc(x_710); -lean_dec(x_708); -x_711 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_710); -x_712 = lean_ctor_get(x_711, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_711, 1); -lean_inc(x_713); -lean_dec(x_711); -x_714 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10; -x_715 = l_Lean_addMacroScope(x_712, x_714, x_709); -x_716 = lean_box(0); -x_717 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_718 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -x_719 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_719, 0, x_706); -lean_ctor_set(x_719, 1, x_717); -lean_ctor_set(x_719, 2, x_715); -lean_ctor_set(x_719, 3, x_718); -x_720 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_713); -x_721 = lean_ctor_get(x_720, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_720, 1); -lean_inc(x_722); -lean_dec(x_720); -x_723 = l_Lean_Elab_Term_getCurrMacroScope(x_694, x_5, x_6, x_7, x_8, x_9, x_722); -x_724 = lean_ctor_get(x_723, 0); -lean_inc(x_724); -x_725 = lean_ctor_get(x_723, 1); -lean_inc(x_725); -lean_dec(x_723); -x_726 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_725); -x_727 = lean_ctor_get(x_726, 0); -lean_inc(x_727); -x_728 = lean_ctor_get(x_726, 1); -lean_inc(x_728); -lean_dec(x_726); -x_729 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_721); -x_730 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_730, 0, x_721); -lean_ctor_set(x_730, 1, x_729); -x_731 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_721); -x_732 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_732, 0, x_721); -lean_ctor_set(x_732, 1, x_731); -x_733 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; -lean_inc(x_721); -x_734 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_734, 0, x_721); -lean_ctor_set(x_734, 1, x_733); -x_735 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_736 = lean_array_push(x_735, x_734); -x_737 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_738, 0, x_737); -lean_ctor_set(x_738, 1, x_736); -x_739 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; -lean_inc(x_724); -lean_inc(x_727); -x_740 = l_Lean_addMacroScope(x_727, x_739, x_724); -x_741 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -lean_inc(x_721); -x_742 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_742, 0, x_721); -lean_ctor_set(x_742, 1, x_741); -lean_ctor_set(x_742, 2, x_740); -lean_ctor_set(x_742, 3, x_716); -x_743 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_721); -x_744 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_744, 0, x_721); -lean_ctor_set(x_744, 1, x_743); -x_745 = lean_array_push(x_735, x_668); -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_737); -lean_ctor_set(x_746, 1, x_745); -x_747 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_748 = lean_array_push(x_747, x_719); -x_749 = lean_array_push(x_748, x_746); -x_750 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_751 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_751, 0, x_750); -lean_ctor_set(x_751, 1, x_749); -x_752 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -lean_inc(x_742); -x_753 = lean_array_push(x_752, x_742); -x_754 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_755 = lean_array_push(x_753, x_754); -x_756 = lean_array_push(x_755, x_754); -x_757 = lean_array_push(x_756, x_744); -lean_inc(x_757); -x_758 = lean_array_push(x_757, x_751); -x_759 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_760 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_760, 0, x_759); -lean_ctor_set(x_760, 1, x_758); -x_761 = lean_array_push(x_735, x_760); -x_762 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_762); -lean_ctor_set(x_763, 1, x_761); -x_764 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_765 = lean_array_push(x_764, x_732); -x_766 = lean_array_push(x_765, x_738); -x_767 = lean_array_push(x_766, x_763); -x_768 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_768); -lean_ctor_set(x_769, 1, x_767); -x_770 = lean_array_push(x_747, x_769); -x_771 = lean_array_push(x_770, x_754); -x_772 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; -lean_inc(x_721); -x_775 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_775, 0, x_721); -lean_ctor_set(x_775, 1, x_774); -x_776 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; -x_777 = l_Lean_Syntax_SepArray_ofElems(x_776, x_669); -lean_dec(x_669); -x_778 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_779 = l_Array_append___rarg(x_778, x_777); -lean_dec(x_777); -x_780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_780, 0, x_737); -lean_ctor_set(x_780, 1, x_779); -x_781 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_721); -x_782 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_782, 0, x_721); -lean_ctor_set(x_782, 1, x_781); -x_783 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -lean_inc(x_724); -lean_inc(x_727); -x_784 = l_Lean_addMacroScope(x_727, x_783, x_724); -x_785 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; -x_786 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31; -lean_inc(x_721); -x_787 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_787, 0, x_721); -lean_ctor_set(x_787, 1, x_785); -lean_ctor_set(x_787, 2, x_784); -lean_ctor_set(x_787, 3, x_786); -x_788 = lean_array_push(x_735, x_742); -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_737); -lean_ctor_set(x_789, 1, x_788); -x_790 = lean_array_push(x_747, x_787); -x_791 = lean_array_push(x_790, x_789); -x_792 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_792, 0, x_750); -lean_ctor_set(x_792, 1, x_791); -x_793 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_794 = lean_array_push(x_793, x_792); -x_795 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_796, 0, x_795); -lean_ctor_set(x_796, 1, x_794); -x_797 = lean_array_push(x_735, x_796); -x_798 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_798, 0, x_737); -lean_ctor_set(x_798, 1, x_797); -x_799 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_721); -x_800 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_800, 0, x_721); -lean_ctor_set(x_800, 1, x_799); -x_801 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_721); -x_802 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_802, 0, x_721); -lean_ctor_set(x_802, 1, x_801); -x_803 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_724); -lean_inc(x_727); -x_804 = l_Lean_addMacroScope(x_727, x_803, x_724); -x_805 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_806 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_721); -x_807 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_807, 0, x_721); -lean_ctor_set(x_807, 1, x_805); -lean_ctor_set(x_807, 2, x_804); -lean_ctor_set(x_807, 3, x_806); -x_808 = lean_array_push(x_735, x_807); -x_809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_809, 0, x_737); -lean_ctor_set(x_809, 1, x_808); -x_810 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_721); -x_811 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_811, 0, x_721); -lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_721); -x_813 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_813, 0, x_721); -lean_ctor_set(x_813, 1, x_812); -x_814 = lean_array_push(x_735, x_813); -x_815 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_815); -lean_ctor_set(x_816, 1, x_814); -x_817 = lean_array_push(x_747, x_816); -x_818 = lean_array_push(x_817, x_754); -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_772); -lean_ctor_set(x_819, 1, x_818); -x_820 = lean_array_push(x_735, x_819); -x_821 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_821, 0, x_737); -lean_ctor_set(x_821, 1, x_820); -x_822 = lean_array_push(x_735, x_821); -x_823 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_823); -lean_ctor_set(x_824, 1, x_822); -x_825 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_826 = lean_array_push(x_825, x_802); -lean_inc(x_826); -x_827 = lean_array_push(x_826, x_809); -lean_inc(x_811); -x_828 = lean_array_push(x_827, x_811); -x_829 = lean_array_push(x_828, x_824); -x_830 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_831, 0, x_830); -lean_ctor_set(x_831, 1, x_829); -x_832 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_724); -lean_inc(x_727); -x_833 = l_Lean_addMacroScope(x_727, x_832, x_724); -x_834 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_835 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_721); -x_836 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_836, 0, x_721); -lean_ctor_set(x_836, 1, x_834); -lean_ctor_set(x_836, 2, x_833); -lean_ctor_set(x_836, 3, x_835); -x_837 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_721); -x_838 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_838, 0, x_721); -lean_ctor_set(x_838, 1, x_837); -lean_inc(x_721); -x_839 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_839, 0, x_721); -lean_ctor_set(x_839, 1, x_776); -x_840 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37; -x_841 = l_Lean_addMacroScope(x_727, x_840, x_724); -x_842 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; -lean_inc(x_721); -x_843 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_843, 0, x_721); -lean_ctor_set(x_843, 1, x_842); -lean_ctor_set(x_843, 2, x_841); -lean_ctor_set(x_843, 3, x_716); -lean_inc(x_843); -x_844 = lean_array_push(x_735, x_843); -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_737); -lean_ctor_set(x_845, 1, x_844); -x_846 = lean_array_push(x_747, x_839); -x_847 = lean_array_push(x_846, x_845); -x_848 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; -x_849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_849, 0, x_848); -lean_ctor_set(x_849, 1, x_847); -x_850 = lean_array_push(x_735, x_849); -x_851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_851, 0, x_737); -lean_ctor_set(x_851, 1, x_850); -x_852 = lean_array_push(x_747, x_666); -x_853 = lean_array_push(x_852, x_851); -x_854 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_854, 0, x_737); -lean_ctor_set(x_854, 1, x_853); -x_855 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_856 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_856, 0, x_721); -lean_ctor_set(x_856, 1, x_855); -x_857 = lean_array_push(x_764, x_838); -x_858 = lean_array_push(x_857, x_854); -x_859 = lean_array_push(x_858, x_856); -x_860 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_861, 0, x_860); -lean_ctor_set(x_861, 1, x_859); -x_862 = lean_array_push(x_735, x_861); -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_737); -lean_ctor_set(x_863, 1, x_862); -x_864 = lean_array_push(x_747, x_836); -x_865 = lean_array_push(x_864, x_863); -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_750); -lean_ctor_set(x_866, 1, x_865); -x_867 = lean_array_push(x_735, x_866); -x_868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_868, 0, x_737); -lean_ctor_set(x_868, 1, x_867); -x_869 = lean_array_push(x_757, x_843); -x_870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_870, 0, x_759); -lean_ctor_set(x_870, 1, x_869); -x_871 = lean_array_push(x_735, x_870); -x_872 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_873, 0, x_872); -lean_ctor_set(x_873, 1, x_871); -x_874 = lean_array_push(x_747, x_873); -x_875 = lean_array_push(x_874, x_754); -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_772); -lean_ctor_set(x_876, 1, x_875); -lean_inc(x_730); -x_877 = lean_array_push(x_747, x_730); -lean_inc(x_877); -x_878 = lean_array_push(x_877, x_671); -x_879 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_880, 0, x_879); -lean_ctor_set(x_880, 1, x_878); -x_881 = lean_array_push(x_747, x_880); -x_882 = lean_array_push(x_881, x_754); -x_883 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_883, 0, x_772); -lean_ctor_set(x_883, 1, x_882); -x_884 = lean_array_push(x_747, x_876); -x_885 = lean_array_push(x_884, x_883); -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_737); -lean_ctor_set(x_886, 1, x_885); -x_887 = lean_array_push(x_735, x_886); -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_823); -lean_ctor_set(x_888, 1, x_887); -x_889 = lean_array_push(x_826, x_868); -x_890 = lean_array_push(x_889, x_811); -x_891 = lean_array_push(x_890, x_888); -x_892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_892, 0, x_830); -lean_ctor_set(x_892, 1, x_891); -x_893 = lean_array_push(x_747, x_831); -x_894 = lean_array_push(x_893, x_892); -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_737); -lean_ctor_set(x_895, 1, x_894); -x_896 = lean_array_push(x_735, x_895); -x_897 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_896); -x_899 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_900 = lean_array_push(x_899, x_782); -x_901 = lean_array_push(x_900, x_754); -x_902 = lean_array_push(x_901, x_798); -x_903 = lean_array_push(x_902, x_754); -x_904 = lean_array_push(x_903, x_800); -x_905 = lean_array_push(x_904, x_898); -x_906 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_907 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_907, 0, x_906); -lean_ctor_set(x_907, 1, x_905); -x_908 = lean_array_push(x_747, x_907); -x_909 = lean_array_push(x_908, x_754); -x_910 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_910, 0, x_772); -lean_ctor_set(x_910, 1, x_909); -x_911 = lean_array_push(x_735, x_910); -x_912 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_912, 0, x_737); -lean_ctor_set(x_912, 1, x_911); -x_913 = lean_array_push(x_735, x_912); -x_914 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_914, 0, x_823); -lean_ctor_set(x_914, 1, x_913); -x_915 = lean_array_push(x_825, x_775); -x_916 = lean_array_push(x_915, x_780); -x_917 = lean_array_push(x_916, x_730); -x_918 = lean_array_push(x_917, x_914); -x_919 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_920 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_920, 0, x_919); -lean_ctor_set(x_920, 1, x_918); -x_921 = lean_array_push(x_747, x_920); -x_922 = lean_array_push(x_921, x_754); -x_923 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_923, 0, x_772); -lean_ctor_set(x_923, 1, x_922); -x_924 = lean_array_push(x_747, x_773); -x_925 = lean_array_push(x_924, x_923); -x_926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_926, 0, x_737); -lean_ctor_set(x_926, 1, x_925); -x_927 = lean_array_push(x_735, x_926); -x_928 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_928, 0, x_823); -lean_ctor_set(x_928, 1, x_927); -x_929 = lean_array_push(x_877, x_928); -x_930 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_930); -lean_ctor_set(x_931, 1, x_929); -x_932 = l_Lean_Syntax_getArg(x_931, x_11); -lean_dec(x_931); -x_933 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_932); -x_934 = l_List_append___rarg(x_933, x_2); -x_935 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_934, x_3, x_694, x_5, x_6, x_7, x_8, x_9, x_728); -return x_935; +lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; +x_661 = l_Lean_instInhabitedSyntax; +x_662 = lean_array_get(x_661, x_13, x_11); +x_663 = lean_unsigned_to_nat(0u); +x_664 = l_Lean_Syntax_getArg(x_662, x_663); +x_665 = lean_unsigned_to_nat(2u); +x_666 = l_Lean_Syntax_getArg(x_662, x_665); +lean_dec(x_662); +x_667 = l_Array_eraseIdx___rarg(x_13, x_11); +x_668 = lean_unsigned_to_nat(3u); +x_669 = l_Lean_Syntax_getArg(x_1, x_668); +x_670 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___boxed), 13, 6); +lean_closure_set(x_670, 0, x_666); +lean_closure_set(x_670, 1, x_3); +lean_closure_set(x_670, 2, x_667); +lean_closure_set(x_670, 3, x_664); +lean_closure_set(x_670, 4, x_669); +lean_closure_set(x_670, 5, x_2); +x_671 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_670, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_671; } } } @@ -40625,6 +39792,190 @@ return x_43; } } } +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("discr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___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_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_15); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +x_28 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; +lean_inc(x_2); +x_29 = lean_name_mk_string(x_2, x_28); +x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; +lean_inc(x_2); +x_31 = lean_name_mk_string(x_2, x_30); +x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_15); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_35 = l_Lean_addMacroScope(x_21, x_34, x_18); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +lean_inc(x_15); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_15); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_15); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_38); +x_42 = lean_array_push(x_41, x_38); +x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_44 = lean_array_push(x_42, x_43); +x_45 = lean_array_push(x_44, x_40); +x_46 = lean_array_push(x_45, x_3); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_49 = lean_array_push(x_48, x_33); +x_50 = lean_array_push(x_49, x_43); +x_51 = lean_array_push(x_50, x_47); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_31); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_15); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_15); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_60 = lean_array_push(x_59, x_52); +x_61 = lean_array_push(x_60, x_58); +lean_inc(x_29); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_29); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__1; +lean_inc(x_2); +x_64 = lean_name_mk_string(x_2, x_63); +x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; +x_66 = lean_name_mk_string(x_2, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_15); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_70 = lean_array_push(x_69, x_5); +x_71 = lean_array_push(x_70, x_43); +x_72 = lean_array_push(x_71, x_43); +x_73 = lean_array_push(x_72, x_68); +x_74 = lean_array_push(x_73, x_38); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_66); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_push(x_55, x_75); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_59, x_77); +x_79 = lean_array_push(x_78, x_43); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_29); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_59, x_62); +x_82 = lean_array_push(x_81, x_80); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_57); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_55, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_27); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_59, x_25); +x_87 = lean_array_push(x_86, x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_24); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_unsigned_to_nat(1u); +x_90 = l_Lean_Syntax_getArg(x_88, x_89); +lean_dec(x_88); +x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_90); +x_92 = l_List_append___rarg(x_91, x_6); +x_93 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_92, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_93; +} +} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1() { _start: { @@ -40651,47 +40002,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("discr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___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); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(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: { @@ -40754,327 +40064,154 @@ return x_27; } else { -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; uint8_t x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_28 = lean_st_ref_take(x_9, x_10); -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_ctor_get(x_29, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_29, 2); -lean_inc(x_33); -x_34 = lean_ctor_get(x_29, 3); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_nat_add(x_32, x_35); -x_37 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_33); -lean_ctor_set(x_37, 3, x_34); -x_38 = lean_st_ref_set(x_9, x_37, x_30); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_4, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_4, 3); -lean_inc(x_43); -x_44 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_45 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_46 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_47 = lean_ctor_get(x_4, 5); -lean_inc(x_47); -x_48 = lean_ctor_get(x_4, 6); -lean_inc(x_48); -x_49 = lean_ctor_get(x_4, 7); -lean_inc(x_49); -x_50 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_dec(x_4); -x_51 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_51, 0, x_40); -lean_ctor_set(x_51, 1, x_41); -lean_ctor_set(x_51, 2, x_42); -lean_ctor_set(x_51, 3, x_43); -lean_ctor_set(x_51, 4, x_32); -lean_ctor_set(x_51, 5, x_47); -lean_ctor_set(x_51, 6, x_48); -lean_ctor_set(x_51, 7, x_49); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_44); -lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 1, x_45); -lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 2, x_46); -lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 3, x_50); -x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_39); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_51, x_5, x_6, x_7, x_8, x_9, x_54); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_53); -x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_53); -lean_ctor_set(x_62, 1, x_61); -x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_53); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_53); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_66 = l_Lean_addMacroScope(x_59, x_65, x_56); -x_67 = lean_box(0); -x_68 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_53); -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_53); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_66); -lean_ctor_set(x_69, 3, x_67); -x_70 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_53); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_53); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_69); -x_73 = lean_array_push(x_72, x_69); -x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_75 = lean_array_push(x_73, x_74); -x_76 = lean_array_push(x_75, x_71); -x_77 = lean_array_push(x_76, x_22); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_14); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_80 = lean_array_push(x_79, x_64); -x_81 = lean_array_push(x_80, x_74); -x_82 = lean_array_push(x_81, x_78); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_53); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_53); -lean_ctor_set(x_86, 1, x_85); -x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_92 = lean_array_push(x_91, x_84); -x_93 = lean_array_push(x_92, x_90); -x_94 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_53); -lean_ctor_set(x_97, 1, x_96); -x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_99 = lean_array_push(x_98, x_20); -x_100 = lean_array_push(x_99, x_74); -x_101 = lean_array_push(x_100, x_74); -x_102 = lean_array_push(x_101, x_97); -x_103 = lean_array_push(x_102, x_69); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_array_push(x_87, x_105); -x_107 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_array_push(x_91, x_108); -x_110 = lean_array_push(x_109, x_74); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_94); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_array_push(x_91, x_95); -x_113 = lean_array_push(x_112, x_111); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_89); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_87, x_114); -x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_91, x_62); -x_119 = lean_array_push(x_118, x_117); -x_120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l_Lean_Syntax_getArg(x_121, x_35); -lean_dec(x_121); -x_123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_122); -x_124 = l_List_append___rarg(x_123, x_2); -x_125 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_124, x_3, x_51, x_5, x_6, x_7, x_8, x_9, x_60); -return x_125; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1), 13, 6); +lean_closure_set(x_29, 0, x_3); +lean_closure_set(x_29, 1, x_28); +lean_closure_set(x_29, 2, x_22); +lean_closure_set(x_29, 3, x_14); +lean_closure_set(x_29, 4, x_20); +lean_closure_set(x_29, 5, x_2); +x_30 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_30; } } } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_dec(x_13); -x_126 = lean_unsigned_to_nat(3u); -x_127 = l_Lean_Syntax_getArg(x_12, x_126); -x_128 = l_Lean_Syntax_getArg(x_12, x_11); +x_31 = lean_unsigned_to_nat(3u); +x_32 = l_Lean_Syntax_getArg(x_12, x_31); +x_33 = l_Lean_Syntax_getArg(x_12, x_11); lean_dec(x_12); -x_129 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_10); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_131); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_134); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_130); -x_139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_139, 0, x_130); -lean_ctor_set(x_139, 1, x_138); -x_140 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_130); -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_130); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_143 = l_Lean_addMacroScope(x_136, x_142, x_133); -x_144 = lean_box(0); -x_145 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_130); -x_146 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_146, 0, x_130); -lean_ctor_set(x_146, 1, x_145); -lean_ctor_set(x_146, 2, x_143); -lean_ctor_set(x_146, 3, x_144); -x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_130); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_130); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_146); -x_150 = lean_array_push(x_149, x_146); -x_151 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_152 = lean_array_push(x_150, x_151); -x_153 = lean_array_push(x_152, x_148); -x_154 = lean_array_push(x_153, x_127); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_14); -lean_ctor_set(x_155, 1, x_154); -x_156 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_157 = lean_array_push(x_156, x_141); -x_158 = lean_array_push(x_157, x_151); -x_159 = lean_array_push(x_158, x_155); -x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_130); -x_163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_163, 0, x_130); -lean_ctor_set(x_163, 1, x_162); -x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_165 = lean_array_push(x_164, x_163); -x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -x_168 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_169 = lean_array_push(x_168, x_161); -x_170 = lean_array_push(x_169, x_167); -x_171 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_174 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_174, 0, x_130); -lean_ctor_set(x_174, 1, x_173); -x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_176 = lean_array_push(x_175, x_128); -x_177 = lean_array_push(x_176, x_151); -x_178 = lean_array_push(x_177, x_151); -x_179 = lean_array_push(x_178, x_174); -x_180 = lean_array_push(x_179, x_146); -x_181 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -x_183 = lean_array_push(x_164, x_182); -x_184 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = lean_array_push(x_168, x_185); -x_187 = lean_array_push(x_186, x_151); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_171); -lean_ctor_set(x_188, 1, x_187); -x_189 = lean_array_push(x_168, x_172); -x_190 = lean_array_push(x_189, x_188); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_166); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_164, x_191); -x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = lean_array_push(x_168, x_139); -x_196 = lean_array_push(x_195, x_194); -x_197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -x_199 = lean_unsigned_to_nat(1u); -x_200 = l_Lean_Syntax_getArg(x_198, x_199); -lean_dec(x_198); -x_201 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_200); -x_202 = l_List_append___rarg(x_201, x_2); -x_203 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_202, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_137); -return x_203; +x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_10); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_35); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_35); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_35); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_48 = l_Lean_addMacroScope(x_41, x_47, x_38); +x_49 = lean_box(0); +x_50 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_35); +x_51 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_51, 0, x_35); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_51, 2, x_48); +lean_ctor_set(x_51, 3, x_49); +x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_35); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_35); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_51); +x_55 = lean_array_push(x_54, x_51); +x_56 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_57 = lean_array_push(x_55, x_56); +x_58 = lean_array_push(x_57, x_53); +x_59 = lean_array_push(x_58, x_32); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_14); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_62 = lean_array_push(x_61, x_46); +x_63 = lean_array_push(x_62, x_56); +x_64 = lean_array_push(x_63, x_60); +x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_35); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_35); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_70 = lean_array_push(x_69, x_68); +x_71 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_74 = lean_array_push(x_73, x_66); +x_75 = lean_array_push(x_74, x_72); +x_76 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_35); +lean_ctor_set(x_79, 1, x_78); +x_80 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_81 = lean_array_push(x_80, x_33); +x_82 = lean_array_push(x_81, x_56); +x_83 = lean_array_push(x_82, x_56); +x_84 = lean_array_push(x_83, x_79); +x_85 = lean_array_push(x_84, x_51); +x_86 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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 = lean_array_push(x_69, x_87); +x_89 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_array_push(x_73, x_90); +x_92 = lean_array_push(x_91, x_56); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_76); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_73, x_77); +x_95 = lean_array_push(x_94, x_93); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_71); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_array_push(x_69, x_96); +x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_array_push(x_73, x_44); +x_101 = lean_array_push(x_100, x_99); +x_102 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +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_unsigned_to_nat(1u); +x_105 = l_Lean_Syntax_getArg(x_103, x_104); +lean_dec(x_103); +x_106 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_105); +x_107 = l_List_append___rarg(x_106, x_2); +x_108 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_107, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +return x_108; } } } @@ -41129,10 +40266,10 @@ lean_inc(x_24); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_24); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; +x_43 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; x_44 = l_Lean_addMacroScope(x_30, x_43, x_27); x_45 = lean_box(0); -x_46 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; +x_46 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; lean_inc(x_24); x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_24); @@ -41311,6 +40448,308 @@ x_15 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_14, x_3, x_4, x_5, x_6, x_7 return x_15; } } +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_15); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +x_28 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; +lean_inc(x_2); +x_29 = lean_name_mk_string(x_2, x_28); +x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; +lean_inc(x_2); +x_31 = lean_name_mk_string(x_2, x_30); +x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_15); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_35 = l_Lean_addMacroScope(x_21, x_34, x_18); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +lean_inc(x_15); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_15); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_15); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_38); +x_42 = lean_array_push(x_41, x_38); +x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_44 = lean_array_push(x_42, x_43); +x_45 = lean_array_push(x_44, x_40); +x_46 = lean_array_push(x_45, x_3); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_49 = lean_array_push(x_48, x_33); +x_50 = lean_array_push(x_49, x_43); +lean_inc(x_50); +x_51 = lean_array_push(x_50, x_47); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_31); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_15); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_15); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_60 = lean_array_push(x_59, x_52); +x_61 = lean_array_push(x_60, x_58); +lean_inc(x_29); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_29); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; +lean_inc(x_2); +x_64 = lean_name_mk_string(x_2, x_63); +x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__12; +lean_inc(x_2); +x_66 = lean_name_mk_string(x_2, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; +x_68 = lean_name_mk_string(x_2, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_15); +lean_ctor_set(x_70, 1, x_69); +x_71 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_72 = lean_array_push(x_71, x_5); +x_73 = lean_array_push(x_72, x_43); +x_74 = lean_array_push(x_73, x_43); +x_75 = lean_array_push(x_74, x_70); +x_76 = lean_array_push(x_75, x_38); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_55, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_66); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_50, x_79); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_64); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_59, x_81); +x_83 = lean_array_push(x_82, x_43); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_29); +lean_ctor_set(x_84, 1, x_83); +x_85 = lean_array_push(x_59, x_62); +x_86 = lean_array_push(x_85, x_84); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_57); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_55, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_27); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_59, x_25); +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_24); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_apply_9(x_6, x_92, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_93; +} +} +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_15); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +x_28 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; +lean_inc(x_2); +x_29 = lean_name_mk_string(x_2, x_28); +x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; +lean_inc(x_2); +x_31 = lean_name_mk_string(x_2, x_30); +x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_15); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_35 = l_Lean_addMacroScope(x_21, x_34, x_18); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +lean_inc(x_15); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_15); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_15); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_38); +x_42 = lean_array_push(x_41, x_38); +x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_44 = lean_array_push(x_42, x_43); +x_45 = lean_array_push(x_44, x_40); +x_46 = lean_array_push(x_45, x_3); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_49 = lean_array_push(x_48, x_33); +lean_inc(x_49); +x_50 = lean_array_push(x_49, x_43); +x_51 = lean_array_push(x_50, x_47); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_31); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_15); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_15); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_60 = lean_array_push(x_59, x_52); +x_61 = lean_array_push(x_60, x_58); +lean_inc(x_29); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_29); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; +lean_inc(x_2); +x_64 = lean_name_mk_string(x_2, x_63); +x_65 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10; +lean_inc(x_15); +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_15); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_55, x_66); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__12; +lean_inc(x_2); +x_70 = lean_name_mk_string(x_2, x_69); +x_71 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; +x_72 = lean_name_mk_string(x_2, x_71); +x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_15); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_76 = lean_array_push(x_75, x_5); +x_77 = lean_array_push(x_76, x_43); +x_78 = lean_array_push(x_77, x_43); +x_79 = lean_array_push(x_78, x_74); +x_80 = lean_array_push(x_79, x_38); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_72); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_55, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_49, x_68); +x_85 = lean_array_push(x_84, x_83); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_64); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_array_push(x_59, x_86); +x_88 = lean_array_push(x_87, x_43); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_29); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_59, x_62); +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_57); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_55, x_92); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_27); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_59, x_25); +x_96 = lean_array_push(x_95, x_94); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_24); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_apply_9(x_6, x_97, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_98; +} +} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1() { _start: { @@ -41413,357 +40852,54 @@ return x_34; } else { -uint8_t x_35; uint8_t x_36; +lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_dec(x_24); -x_35 = l_Lean_Elab_Term_Do_isMutableLet(x_1); -if (x_35 == 0) -{ -uint8_t x_215; -x_215 = 0; -x_36 = x_215; -goto block_214; -} -else -{ -uint8_t x_216; -x_216 = 1; -x_36 = x_216; -goto block_214; -} -block_214: -{ -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; uint8_t x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_37 = lean_st_ref_take(x_9, x_10); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_38, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_38, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_38, 3); -lean_inc(x_43); -lean_dec(x_38); -x_44 = lean_unsigned_to_nat(1u); -x_45 = lean_nat_add(x_41, x_44); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_42); -lean_ctor_set(x_46, 3, x_43); -x_47 = lean_st_ref_set(x_9, x_46, x_39); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get(x_4, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_4, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_4, 2); -lean_inc(x_51); -x_52 = lean_ctor_get(x_4, 3); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_54 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_55 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_56 = lean_ctor_get(x_4, 5); -lean_inc(x_56); -x_57 = lean_ctor_get(x_4, 6); -lean_inc(x_57); -x_58 = lean_ctor_get(x_4, 7); -lean_inc(x_58); -x_59 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_dec(x_4); -x_60 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_60, 0, x_49); -lean_ctor_set(x_60, 1, x_50); -lean_ctor_set(x_60, 2, x_51); -lean_ctor_set(x_60, 3, x_52); -lean_ctor_set(x_60, 4, x_41); -lean_ctor_set(x_60, 5, x_56); -lean_ctor_set(x_60, 6, x_57); -lean_ctor_set(x_60, 7, x_58); -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_53); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 1, x_54); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 2, x_55); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 3, x_59); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2___boxed), 10, 1); +lean_closure_set(x_35, 0, x_2); +x_36 = l_Lean_Elab_Term_Do_isMutableLet(x_1); if (x_36 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_61 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_48); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = l_Lean_Elab_Term_getCurrMacroScope(x_60, x_5, x_6, x_7, x_8, x_9, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_62); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_62); -lean_ctor_set(x_71, 1, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_62); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_62); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_75 = l_Lean_addMacroScope(x_68, x_74, x_65); -x_76 = lean_box(0); -x_77 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_62); -x_78 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_78, 0, x_62); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_75); -lean_ctor_set(x_78, 3, x_76); -x_79 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_62); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_62); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_78); -x_82 = lean_array_push(x_81, x_78); -x_83 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_84 = lean_array_push(x_82, x_83); -x_85 = lean_array_push(x_84, x_80); -x_86 = lean_array_push(x_85, x_22); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_14); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_89 = lean_array_push(x_88, x_73); -x_90 = lean_array_push(x_89, x_83); -lean_inc(x_90); -x_91 = lean_array_push(x_90, x_87); -x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_62); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_62); -lean_ctor_set(x_95, 1, x_94); -x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_97 = lean_array_push(x_96, x_95); -x_98 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_101 = lean_array_push(x_100, x_93); -x_102 = lean_array_push(x_101, x_99); -x_103 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_62); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_108 = lean_array_push(x_107, x_21); -x_109 = lean_array_push(x_108, x_83); -x_110 = lean_array_push(x_109, x_83); -x_111 = lean_array_push(x_110, x_106); -x_112 = lean_array_push(x_111, x_78); -x_113 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = lean_array_push(x_96, x_114); -x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_90, x_117); -x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_array_push(x_100, x_120); -x_122 = lean_array_push(x_121, x_83); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_103); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_array_push(x_100, x_104); -x_125 = lean_array_push(x_124, x_123); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_98); -lean_ctor_set(x_126, 1, x_125); -x_127 = lean_array_push(x_96, x_126); -x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_100, x_71); -x_131 = lean_array_push(x_130, x_129); -x_132 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_133, x_3, x_60, x_5, x_6, x_7, x_8, x_9, x_69); -lean_dec(x_133); -return x_134; +uint8_t x_45; +x_45 = 0; +x_37 = x_45; +goto block_44; } 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_135 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_48); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l_Lean_Elab_Term_getCurrMacroScope(x_60, x_5, x_6, x_7, x_8, x_9, 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 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_136); -x_145 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_145, 0, x_136); -lean_ctor_set(x_145, 1, x_144); -x_146 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_136); -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_136); -lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_149 = l_Lean_addMacroScope(x_142, x_148, x_139); -x_150 = lean_box(0); -x_151 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_136); -x_152 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_152, 0, x_136); -lean_ctor_set(x_152, 1, x_151); -lean_ctor_set(x_152, 2, x_149); -lean_ctor_set(x_152, 3, x_150); -x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_136); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_136); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_152); -x_156 = lean_array_push(x_155, x_152); -x_157 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_158 = lean_array_push(x_156, x_157); -x_159 = lean_array_push(x_158, x_154); -x_160 = lean_array_push(x_159, x_22); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_14); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_163 = lean_array_push(x_162, x_147); -lean_inc(x_163); -x_164 = lean_array_push(x_163, x_157); -x_165 = lean_array_push(x_164, x_161); -x_166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_136); -x_169 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_169, 0, x_136); -lean_ctor_set(x_169, 1, x_168); -x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_171 = lean_array_push(x_170, x_169); -x_172 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_171); -x_174 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_175 = lean_array_push(x_174, x_167); -x_176 = lean_array_push(x_175, x_173); -x_177 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; -lean_inc(x_136); -x_180 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_180, 0, x_136); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_array_push(x_170, x_180); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_172); -lean_ctor_set(x_182, 1, x_181); -x_183 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_136); -lean_ctor_set(x_184, 1, x_183); -x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_186 = lean_array_push(x_185, x_21); -x_187 = lean_array_push(x_186, x_157); -x_188 = lean_array_push(x_187, x_157); -x_189 = lean_array_push(x_188, x_184); -x_190 = lean_array_push(x_189, x_152); -x_191 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = lean_array_push(x_170, x_192); -x_194 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = lean_array_push(x_163, x_182); -x_197 = lean_array_push(x_196, x_195); -x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -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_174, x_199); -x_201 = lean_array_push(x_200, x_157); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_177); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_174, x_178); -x_204 = lean_array_push(x_203, x_202); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_172); -lean_ctor_set(x_205, 1, x_204); -x_206 = lean_array_push(x_170, x_205); -x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_209 = lean_array_push(x_174, x_145); -x_210 = lean_array_push(x_209, x_208); -x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_212, x_3, x_60, x_5, x_6, x_7, x_8, x_9, x_143); -lean_dec(x_212); -return x_213; +uint8_t x_46; +x_46 = 1; +x_37 = x_46; +goto block_44; +} +block_44: +{ +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__3), 13, 6); +lean_closure_set(x_39, 0, x_3); +lean_closure_set(x_39, 1, x_38); +lean_closure_set(x_39, 2, x_22); +lean_closure_set(x_39, 3, x_14); +lean_closure_set(x_39, 4, x_21); +lean_closure_set(x_39, 5, x_35); +x_40 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__4), 13, 6); +lean_closure_set(x_42, 0, x_3); +lean_closure_set(x_42, 1, x_41); +lean_closure_set(x_42, 2, x_22); +lean_closure_set(x_42, 3, x_14); +lean_closure_set(x_42, 4, x_21); +lean_closure_set(x_42, 5, x_35); +x_43 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_43; } } } @@ -41771,30 +40907,30 @@ return x_213; } else { -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_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_dec(x_13); -x_217 = lean_unsigned_to_nat(0u); -x_218 = l_Lean_Syntax_getArg(x_12, x_217); -x_219 = l_Lean_Syntax_getId(x_218); -lean_dec(x_218); -x_220 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_219); -x_221 = lean_array_push(x_220, x_219); -x_222 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_221, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_222) == 0) +x_47 = lean_unsigned_to_nat(0u); +x_48 = l_Lean_Syntax_getArg(x_12, x_47); +x_49 = l_Lean_Syntax_getId(x_48); +lean_dec(x_48); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_49); +x_51 = lean_array_push(x_50, x_49); +x_52 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -lean_dec(x_222); -x_224 = lean_unsigned_to_nat(3u); -x_225 = l_Lean_Syntax_getArg(x_12, x_224); +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_unsigned_to_nat(3u); +x_55 = l_Lean_Syntax_getArg(x_12, x_54); lean_dec(x_12); lean_inc(x_1); -x_226 = l_Lean_Elab_Term_Do_isMutableLet(x_1); -if (x_226 == 0) -{ -lean_object* x_227; +x_56 = l_Lean_Elab_Term_Do_isMutableLet(x_1); +lean_inc(x_2); +x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode), 9, 1); +lean_closure_set(x_57, 0, x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -41802,88 +40938,87 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_227 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_223); -if (lean_obj_tag(x_227) == 0) +x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars___rarg(x_51, x_56, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_228; lean_object* x_229; lean_object* x_230; -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); -lean_inc(x_225); -x_230 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_225); -if (lean_obj_tag(x_230) == 0) +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +lean_inc(x_55); +x_61 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_55); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_231; -lean_dec(x_221); +lean_object* x_62; +lean_dec(x_51); lean_dec(x_1); -lean_inc(x_225); -x_231 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_225, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_229); -if (lean_obj_tag(x_231) == 0) +lean_inc(x_55); +x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -lean_dec(x_231); -x_233 = lean_box(0); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_225); -lean_ctor_set(x_234, 1, x_233); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_box(0); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_55); +lean_ctor_set(x_65, 1, x_64); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_235 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_234, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_232); -if (lean_obj_tag(x_235) == 0) +x_66 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_63); +if (lean_obj_tag(x_66) == 0) { if (lean_obj_tag(x_2) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -lean_dec(x_228); -lean_dec(x_219); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_59); +lean_dec(x_49); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); -lean_inc(x_237); -lean_dec(x_235); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_239 = lean_ctor_get(x_235, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_235, 1); -lean_inc(x_240); -lean_dec(x_235); -x_241 = lean_ctor_get(x_2, 0); -lean_inc(x_241); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_70 = lean_ctor_get(x_66, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_dec(x_66); +x_72 = lean_ctor_get(x_2, 0); +lean_inc(x_72); lean_dec(x_2); -x_242 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_242, 0, x_219); -x_243 = l_Lean_Elab_Term_Do_concat(x_239, x_241, x_242, x_228, x_4, x_5, x_6, x_7, x_8, x_9, x_240); -lean_dec(x_241); -return x_243; +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_49); +x_74 = l_Lean_Elab_Term_Do_concat(x_70, x_72, x_73, x_59, x_4, x_5, x_6, x_7, x_8, x_9, x_71); +lean_dec(x_72); +return x_74; } } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_228); -lean_dec(x_219); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_59); +lean_dec(x_49); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -41891,23 +41026,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_244 = lean_ctor_get(x_235, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_235, 1); -lean_inc(x_245); -lean_dec(x_235); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; +x_75 = lean_ctor_get(x_66, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_66, 1); +lean_inc(x_76); +lean_dec(x_66); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_219); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_49); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -41916,23 +41051,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_247 = lean_ctor_get(x_231, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_231, 1); -lean_inc(x_248); -lean_dec(x_231); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; +x_78 = lean_ctor_get(x_62, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_62, 1); +lean_inc(x_79); +lean_dec(x_62); +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 { -lean_object* x_250; lean_object* x_251; -lean_dec(x_230); -lean_dec(x_225); -lean_dec(x_219); +lean_object* x_81; lean_object* x_82; +lean_dec(x_61); +lean_dec(x_55); +lean_dec(x_49); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -41941,19 +41076,19 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_250 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_1, x_228); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_229); -return x_251; +x_81 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_51, x_1, x_59); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_60); +return x_82; } } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; -lean_dec(x_225); -lean_dec(x_221); -lean_dec(x_219); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_55); +lean_dec(x_51); +lean_dec(x_49); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -41963,217 +41098,22 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_252 = lean_ctor_get(x_227, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_227, 1); -lean_inc(x_253); -lean_dec(x_227); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_252); -lean_ctor_set(x_254, 1, x_253); -return x_254; +x_83 = lean_ctor_get(x_58, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_58, 1); +lean_inc(x_84); +lean_dec(x_58); +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; } } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_255 = lean_ctor_get(x_3, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_3, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_3, 2); -lean_inc(x_257); -x_258 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_259 = l_Lean_Elab_Term_Do_insertVars(x_257, x_221); -x_260 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_260, 0, x_255); -lean_ctor_set(x_260, 1, x_256); -lean_ctor_set(x_260, 2, x_259); -lean_ctor_set_uint8(x_260, sizeof(void*)*3, x_258); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_261 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_260, x_4, x_5, x_6, x_7, x_8, x_9, x_223); -if (lean_obj_tag(x_261) == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -lean_inc(x_225); -x_264 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_225); -if (lean_obj_tag(x_264) == 0) -{ -lean_object* x_265; -lean_dec(x_221); -lean_dec(x_1); -lean_inc(x_225); -x_265 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_225, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_263); -if (lean_obj_tag(x_265) == 0) -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_266 = lean_ctor_get(x_265, 1); -lean_inc(x_266); -lean_dec(x_265); -x_267 = lean_box(0); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_225); -lean_ctor_set(x_268, 1, x_267); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_269 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_268, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_266); -if (lean_obj_tag(x_269) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; -lean_dec(x_262); -lean_dec(x_219); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_273 = lean_ctor_get(x_269, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_269, 1); -lean_inc(x_274); -lean_dec(x_269); -x_275 = lean_ctor_get(x_2, 0); -lean_inc(x_275); -lean_dec(x_2); -x_276 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_276, 0, x_219); -x_277 = l_Lean_Elab_Term_Do_concat(x_273, x_275, x_276, x_262, x_4, x_5, x_6, x_7, x_8, x_9, x_274); -lean_dec(x_275); -return x_277; -} -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_262); -lean_dec(x_219); -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_2); -x_278 = lean_ctor_get(x_269, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_269, 1); -lean_inc(x_279); -lean_dec(x_269); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_278); -lean_ctor_set(x_280, 1, x_279); -return x_280; -} -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -lean_dec(x_262); -lean_dec(x_225); -lean_dec(x_219); -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); -lean_dec(x_2); -x_281 = lean_ctor_get(x_265, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_265, 1); -lean_inc(x_282); -lean_dec(x_265); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -return x_283; -} -} -else -{ -lean_object* x_284; lean_object* x_285; -lean_dec(x_264); -lean_dec(x_225); -lean_dec(x_219); -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); -lean_dec(x_2); -x_284 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_1, x_262); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_263); -return x_285; -} -} -else -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; -lean_dec(x_225); -lean_dec(x_221); -lean_dec(x_219); -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); -lean_dec(x_2); -lean_dec(x_1); -x_286 = lean_ctor_get(x_261, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_261, 1); -lean_inc(x_287); -lean_dec(x_261); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -return x_288; -} -} -} -else -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_221); -lean_dec(x_219); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_51); +lean_dec(x_49); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -42184,15 +41124,15 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_289 = lean_ctor_get(x_222, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_222, 1); -lean_inc(x_290); -lean_dec(x_222); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_290); -return x_291; +x_86 = lean_ctor_get(x_52, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_52, 1); +lean_inc(x_87); +lean_dec(x_52); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } } @@ -42644,6 +41584,15 @@ x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode__ return x_14; } } +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1(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_3); +return x_14; +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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: { @@ -42840,7 +41789,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias(lean_obj _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_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; -x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_8); +x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -42971,50 +41920,24 @@ return x_47; lean_object* l_Lean_Elab_Term_Do_elabDo___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_12 = lean_ctor_get(x_5, 0); -x_13 = lean_ctor_get(x_5, 1); -x_14 = lean_ctor_get(x_5, 2); -x_15 = lean_ctor_get(x_5, 3); -x_16 = lean_ctor_get(x_5, 4); -x_17 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_18 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_19 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_20 = lean_ctor_get(x_5, 5); -x_21 = lean_ctor_get(x_5, 6); -x_22 = lean_ctor_get(x_5, 7); -x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_2); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_2); -lean_inc(x_15); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_15); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_1, 3); lean_inc(x_12); -x_26 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_26, 0, x_12); -lean_ctor_set(x_26, 1, x_13); -lean_ctor_set(x_26, 2, x_14); -lean_ctor_set(x_26, 3, x_25); -lean_ctor_set(x_26, 4, x_16); -lean_ctor_set(x_26, 5, x_20); -lean_ctor_set(x_26, 6, x_21); -lean_ctor_set(x_26, 7, x_22); -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_17); -lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 1, x_18); -lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 2, x_19); -lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 3, x_23); -x_27 = 1; -x_28 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_27, x_27, x_4, x_26, x_6, x_7, x_8, x_9, x_10, x_11); -return x_28; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_box(0); +x_15 = 1; +x_16 = lean_box(x_15); +x_17 = lean_box(x_15); +lean_inc(x_2); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_18, 0, x_2); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_16); +lean_closure_set(x_18, 3, x_17); +lean_closure_set(x_18, 4, x_14); +x_19 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_3, x_2, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_19; } } static lean_object* _init_l_Lean_Elab_Term_Do_elabDo___closed__1() { @@ -43114,88 +42037,80 @@ lean_closure_set(x_26, 2, x_23); lean_closure_set(x_26, 3, x_25); lean_inc(x_7); lean_inc(x_3); -x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_37 = lean_st_ref_get(x_8, x_29); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 3); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec(x_37); -x_30 = x_41; -goto block_36; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_42 = lean_ctor_get(x_37, 1); +x_30 = l_Lean_Elab_Term_Do_elabDo___closed__2; +x_41 = lean_st_ref_get(x_8, x_29); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_37); -x_43 = l_Lean_Elab_Term_Do_elabDo___closed__2; -x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_42); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); +lean_dec(x_43); +if (x_44 == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_30 = x_47; -goto block_36; +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = 0; +x_31 = x_46; +x_32 = x_45; +goto block_40; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -lean_inc(x_28); -x_49 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_49, 0, x_28); -x_50 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_43, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_30 = x_51; -goto block_36; +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_dec(x_41); +x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_unbox(x_49); +lean_dec(x_49); +x_31 = x_51; +x_32 = x_50; +goto block_40; } -} -block_36: +block_40: { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_13, 3); -lean_inc(x_31); -lean_dec(x_13); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); +x_34 = l_Lean_Elab_Term_Do_elabDo___lambda__1(x_13, x_28, x_1, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +lean_dec(x_13); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_inc(x_28); -lean_inc(x_1); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_elabDo___lambda__1___boxed), 11, 4); -lean_closure_set(x_34, 0, x_1); -lean_closure_set(x_34, 1, x_28); -lean_closure_set(x_34, 2, x_32); -lean_closure_set(x_34, 3, x_33); -x_35 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_28, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_30); -return x_35; +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_28); +x_36 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_30, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Term_Do_elabDo___lambda__1(x_13, x_28, x_1, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +lean_dec(x_37); +lean_dec(x_13); +return x_39; +} } } else @@ -43314,7 +42229,8 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Term_Do_elabDo___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_5); +lean_dec(x_4); +lean_dec(x_1); return x_12; } } @@ -43374,7 +42290,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24070_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24139_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -43407,7 +42323,7 @@ lean_ctor_set(x_13, 2, x_8); lean_ctor_set(x_13, 3, x_9); lean_ctor_set(x_13, 4, x_10); lean_ctor_set(x_13, 5, x_12); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_4); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_13, x_4); lean_dec(x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); @@ -43684,8 +42600,8 @@ return x_6; } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Term(lean_object*); -lean_object* initialize_Lean_Elab_Binders(lean_object*); -lean_object* initialize_Lean_Elab_Match(lean_object*); +lean_object* initialize_Lean_Elab_BindersUtil(lean_object*); +lean_object* initialize_Lean_Elab_PatternVar(lean_object*); lean_object* initialize_Lean_Elab_Quotation_Util(lean_object*); lean_object* initialize_Lean_Parser_Do(lean_object*); static bool _G_initialized = false; @@ -43699,10 +42615,10 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_Binders(lean_io_mk_world()); +res = initialize_Lean_Elab_BindersUtil(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_Match(lean_io_mk_world()); +res = initialize_Lean_Elab_PatternVar(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Elab_Quotation_Util(lean_io_mk_world()); @@ -43912,6 +42828,16 @@ l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__26 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__26); l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__27 = _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__27(); lean_mark_persistent(l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__27); +l_Lean_Elab_Term_Do_hasExitPoint___closed__1 = _init_l_Lean_Elab_Term_Do_hasExitPoint___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_hasExitPoint___closed__1); +l_Lean_Elab_Term_Do_hasReturn___closed__1 = _init_l_Lean_Elab_Term_Do_hasReturn___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_hasReturn___closed__1); +l_Lean_Elab_Term_Do_hasTerminalAction___closed__1 = _init_l_Lean_Elab_Term_Do_hasTerminalAction___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_hasTerminalAction___closed__1); +l_Lean_Elab_Term_Do_hasBreakContinue___closed__1 = _init_l_Lean_Elab_Term_Do_hasBreakContinue___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_hasBreakContinue___closed__1); +l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1 = _init_l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1); l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1); l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__2(); @@ -44810,6 +43736,68 @@ l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___boxed__const__1 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___boxed__const__1); l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__1); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__2); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__3); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__4); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__5); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__6); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__7 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__7); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__8 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__8); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__9); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__10); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__11); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__12); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__13); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__14); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__15); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__16); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__17); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__18); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__19); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__20); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__21); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__22); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__23); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__24); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__25); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__26); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__27); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__28); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__29); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__30); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__1___closed__31); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2(); @@ -44822,84 +43810,22 @@ l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36); -l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1); +l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__1); +l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__2); +l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3); +l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4); l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__2); l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3); -l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4); -l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5); -l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6); -l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7); l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__2(); @@ -44935,7 +43861,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__5); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(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_Do___hyg_24070_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24139_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/ElabRules.c b/stage0/stdlib/Lean/Elab/ElabRules.c new file mode 100644 index 0000000000..ef33689094 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/ElabRules.c @@ -0,0 +1,8295 @@ +// Lean compiler output +// Module: Lean.Elab.ElabRules +// Imports: Init Lean.Elab.MacroArgUtil +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +uint8_t l_Lean_Syntax_isQuot(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; +size_t l_USize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___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*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2; +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__1; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; +extern lean_object* l_Lean_Elab_Command_commandElabAttribute; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(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_elabElabRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__7; +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__4(lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +uint8_t l_Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; +lean_object* l_Lean_Elab_Command_expandElab___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___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*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__3___closed__1; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__3___closed__2; +lean_object* l_Lean_Elab_Command_elabElabRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; +lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed(lean_object**); +lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109; +lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object**); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; +lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +lean_object* l_Lean_Elab_Command_expandElab___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*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_object* l_Lean_Elab_Command_expandElab___lambda__4___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_Command_elabElabRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__3(lean_object*); +extern lean_object* l_Lean_numLitKind; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__6; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +static lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__2; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_choiceKind; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__4___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +static lean_object* l_Lean_Elab_Command_expandElab___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; +lean_object* l_Lean_Syntax_getQuotContent(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__13; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +extern lean_object* l_Lean_Elab_macroAttribute; +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +lean_object* l_Lean_Syntax_getKind(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +lean_object* l_Lean_Elab_Command_elabElabRules(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1; +lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__9; +lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117; +lean_object* lean_mk_syntax_ident(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +lean_object* l_Lean_Elab_Command_expandElab___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_object* l_Lean_Elab_Command_elabElabRules___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_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withExpectedType_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_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withExpectedType_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected type must be known"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_withExpectedType___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_withExpectedType(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); +lean_inc(x_1); +x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_withExpectedType___closed__2; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_apply_8(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +return x_16; +} +} +else +{ +uint8_t 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_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +return x_10; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +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_Elab_Command_elabElabRulesAux_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_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_6; +lean_dec(x_4); +x_6 = lean_apply_2(x_5, x_2, x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_apply_2(x_4, x_1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_2(x_3, x_9, x_2); +return x_10; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__4___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_array_uget(x_3, x_5); +lean_inc(x_8); +x_9 = l_Lean_Syntax_getKind(x_8); +x_10 = l_Lean_Elab_Command_checkRuleKind(x_9, x_1); +lean_dec(x_9); +if (x_10 == 0) +{ +size_t x_11; size_t x_12; +lean_dec(x_8); +x_11 = 1; +x_12 = x_5 + x_11; +{ +size_t _tmp_4 = x_12; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = lean_box(0); +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; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules alternative, unexpected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules alternative, expected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___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) { +_start: +{ +lean_object* x_11; lean_object* x_59; lean_object* x_60; uint8_t x_61; +lean_inc(x_1); +x_59 = l_Lean_Syntax_getQuotContent(x_1); +lean_inc(x_59); +x_60 = l_Lean_Syntax_getKind(x_59); +x_61 = l_Lean_Elab_Command_checkRuleKind(x_60, x_5); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = l_Lean_choiceKind; +x_63 = lean_name_eq(x_60, x_62); +if (x_63 == 0) +{ +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_dec(x_59); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_64, 0, x_60); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9; +x_66 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11; +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_6, x_68, x_8, x_9, x_10); +lean_dec(x_6); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_60); +x_70 = l_Lean_Syntax_getArgs(x_59); +lean_dec(x_59); +x_71 = lean_array_get_size(x_70); +x_72 = lean_usize_of_nat(x_71); +lean_dec(x_71); +x_73 = 0; +x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12; +x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__2(x_5, x_74, x_70, x_72, x_73, x_74); +lean_dec(x_70); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +lean_dec(x_75); +if (lean_obj_tag(x_76) == 0) +{ +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_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_77 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_77, 0, x_5); +x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_6, x_81, x_8, x_9, x_10); +lean_dec(x_6); +return x_82; +} +else +{ +lean_object* x_83; +lean_dec(x_6); +lean_dec(x_5); +x_83 = lean_ctor_get(x_76, 0); +lean_inc(x_83); +lean_dec(x_76); +x_11 = x_83; +goto block_58; +} +} +} +else +{ +lean_object* x_84; +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_6); +lean_ctor_set(x_84, 1, x_10); +return x_84; +} +block_58: +{ +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; uint8_t x_22; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_setArg(x_1, x_12, x_11); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_set(x_2, x_14, x_13); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); +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); +x_19 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_18); +lean_dec(x_8); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_20); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_17); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5; +x_27 = l_Lean_Syntax_SepArray_ofElems(x_26, x_15); +lean_dec(x_15); +x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_29 = l_Array_append___rarg(x_28, x_27); +lean_dec(x_27); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_35 = lean_array_push(x_34, x_25); +x_36 = lean_array_push(x_35, x_31); +x_37 = lean_array_push(x_36, x_33); +x_38 = lean_array_push(x_37, x_3); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_21, 0, x_39); +return x_21; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_40 = lean_ctor_get(x_21, 1); +lean_inc(x_40); +lean_dec(x_21); +x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_17); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_17); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5; +x_44 = l_Lean_Syntax_SepArray_ofElems(x_43, x_15); +lean_dec(x_15); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_46 = l_Array_append___rarg(x_45, x_44); +lean_dec(x_44); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_17); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_52 = lean_array_push(x_51, x_42); +x_53 = lean_array_push(x_52, x_48); +x_54 = lean_array_push(x_53, x_50); +x_55 = lean_array_push(x_54, x_3); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_40); +return x_57; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3(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) { +_start: +{ +uint8_t x_8; +x_8 = x_3 < x_2; +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_1); +x_9 = x_4; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +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_array_uget(x_4, x_3); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = x_11; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +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; uint8_t x_29; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_getArg(x_14, x_22); +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_14, x_24); +x_26 = l_Lean_Syntax_getArgs(x_23); +lean_dec(x_23); +x_27 = l_Lean_instInhabitedSyntax; +x_28 = lean_array_get(x_27, x_26, x_12); +x_29 = l_Lean_Syntax_isQuot(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(x_7); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +lean_inc(x_5); +lean_inc(x_1); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = 1; +x_40 = x_3 + x_39; +x_41 = x_37; +x_42 = lean_array_uset(x_13, x_3, x_41); +x_3 = x_40; +x_4 = x_42; +x_7 = x_38; +goto _start; +} +else +{ +uint8_t x_44; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_36); +if (x_44 == 0) +{ +return x_36; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_36); +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_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(lean_object* 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 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +x_8 = l_Lean_mkIdentFrom(x_7, x_1); +lean_dec(x_7); +lean_ctor_set(x_5, 0, x_8); +return x_5; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_5); +x_11 = l_Lean_mkIdentFrom(x_9, x_1); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unsupported syntax category '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declModifiers"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attributes"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("@["); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrInstance"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___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_Elab_Command_elabElabRulesAux___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Attr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("]"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declId"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabFn"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optDeclSig"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeSpec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Tactic.Tactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("throwUnsupportedSyntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__77() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("commandElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Command.CommandElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("CommandElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__92() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("termElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Term.TermElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("TermElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__104() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("basicFun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("stx"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchDiscr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("with"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntax category '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' does not support expected type specification"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expectedType?"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Command.withExpectedType"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("withExpectedType"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__132() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; +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_Elab_Command_elabElabRulesAux___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) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_10 = lean_name_eq(x_5, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; +x_12 = lean_name_eq(x_5, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; +x_14 = lean_name_eq(x_5, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_5); +x_16 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(x_19, x_6, x_7, x_8); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_5); +x_21 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_23); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_26); +lean_dec(x_6); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_29); +x_31 = !lean_is_exclusive(x_30); +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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_32 = lean_ctor_get(x_30, 0); +x_33 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_25); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_28); +lean_inc(x_32); +x_35 = l_Lean_addMacroScope(x_32, x_13, x_28); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +lean_inc(x_25); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_25); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +x_39 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_40 = lean_array_push(x_39, x_22); +x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_44 = lean_array_push(x_43, x_38); +x_45 = lean_array_push(x_44, x_42); +x_46 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_49 = lean_array_push(x_48, x_47); +x_50 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_array_push(x_39, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_41); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_25); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_25); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_57 = lean_array_push(x_56, x_34); +x_58 = lean_array_push(x_57, x_53); +x_59 = lean_array_push(x_58, x_55); +x_60 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +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_39, x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_41); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_25); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_25); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_28); +lean_inc(x_32); +x_67 = l_Lean_addMacroScope(x_32, x_66, x_28); +x_68 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_25); +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_25); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_36); +x_70 = lean_array_push(x_43, x_69); +x_71 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_72 = lean_array_push(x_70, x_71); +x_73 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_25); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_25); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_28); +lean_inc(x_32); +x_78 = l_Lean_addMacroScope(x_32, x_77, x_28); +x_79 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; +x_80 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_25); +x_81 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_81, 0, x_25); +lean_ctor_set(x_81, 1, x_79); +lean_ctor_set(x_81, 2, x_78); +lean_ctor_set(x_81, 3, x_80); +x_82 = lean_array_push(x_43, x_76); +x_83 = lean_array_push(x_82, x_81); +x_84 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_array_push(x_39, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_41); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_89 = lean_array_push(x_88, x_87); +x_90 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_25); +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_25); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_25); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_25); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_97 = l_Array_append___rarg(x_96, x_3); +x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_25); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_25); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_25); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_25); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_39, x_101); +x_103 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = lean_array_push(x_39, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_41); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_25); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_25); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_110 = l_Lean_addMacroScope(x_32, x_109, x_28); +x_111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_112 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_113 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_113, 0, x_25); +lean_ctor_set(x_113, 1, x_111); +lean_ctor_set(x_113, 2, x_110); +lean_ctor_set(x_113, 3, x_112); +x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_115 = lean_array_push(x_114, x_99); +x_116 = lean_array_push(x_115, x_106); +x_117 = lean_array_push(x_116, x_108); +x_118 = lean_array_push(x_117, x_113); +x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_97, x_120); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_41); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_39, x_122); +x_124 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_43, x_95); +x_127 = lean_array_push(x_126, x_125); +x_128 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_56, x_93); +x_131 = lean_array_push(x_130, x_129); +x_132 = lean_array_push(x_131, x_71); +x_133 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +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_114, x_65); +x_136 = lean_array_push(x_135, x_74); +x_137 = lean_array_push(x_136, x_91); +x_138 = lean_array_push(x_137, x_134); +x_139 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_141 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_142 = lean_array_push(x_141, x_63); +x_143 = lean_array_push(x_142, x_71); +x_144 = lean_array_push(x_143, x_71); +x_145 = lean_array_push(x_144, x_71); +x_146 = lean_array_push(x_145, x_71); +x_147 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__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_43, x_148); +x_150 = lean_array_push(x_149, x_140); +x_151 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +lean_ctor_set(x_30, 0, x_152); +return x_30; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_153 = lean_ctor_get(x_4, 0); +lean_inc(x_153); +lean_dec(x_4); +x_154 = lean_array_push(x_39, x_153); +x_155 = l_Array_append___rarg(x_96, x_154); +lean_dec(x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_41); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_158 = lean_array_push(x_157, x_156); +x_159 = lean_array_push(x_158, x_63); +x_160 = lean_array_push(x_159, x_71); +x_161 = lean_array_push(x_160, x_71); +x_162 = lean_array_push(x_161, x_71); +x_163 = lean_array_push(x_162, x_71); +x_164 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = lean_array_push(x_43, x_165); +x_167 = lean_array_push(x_166, x_140); +x_168 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +lean_ctor_set(x_30, 0, x_169); +return x_30; +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_170 = lean_ctor_get(x_30, 0); +x_171 = lean_ctor_get(x_30, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_30); +x_172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_25); +x_173 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_173, 0, x_25); +lean_ctor_set(x_173, 1, x_172); +lean_inc(x_28); +lean_inc(x_170); +x_174 = l_Lean_addMacroScope(x_170, x_13, x_28); +x_175 = lean_box(0); +x_176 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +lean_inc(x_25); +x_177 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_177, 0, x_25); +lean_ctor_set(x_177, 1, x_176); +lean_ctor_set(x_177, 2, x_174); +lean_ctor_set(x_177, 3, x_175); +x_178 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_179 = lean_array_push(x_178, x_22); +x_180 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_183 = lean_array_push(x_182, x_177); +x_184 = lean_array_push(x_183, x_181); +x_185 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +x_187 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_188 = lean_array_push(x_187, x_186); +x_189 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_188); +x_191 = lean_array_push(x_178, x_190); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_180); +lean_ctor_set(x_192, 1, x_191); +x_193 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_25); +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_25); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_196 = lean_array_push(x_195, x_173); +x_197 = lean_array_push(x_196, x_192); +x_198 = lean_array_push(x_197, x_194); +x_199 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_178, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_180); +lean_ctor_set(x_202, 1, x_201); +x_203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_25); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_25); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_28); +lean_inc(x_170); +x_206 = l_Lean_addMacroScope(x_170, x_205, x_28); +x_207 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_25); +x_208 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_208, 0, x_25); +lean_ctor_set(x_208, 1, x_207); +lean_ctor_set(x_208, 2, x_206); +lean_ctor_set(x_208, 3, x_175); +x_209 = lean_array_push(x_182, x_208); +x_210 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_211 = lean_array_push(x_209, x_210); +x_212 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_25); +x_215 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_215, 0, x_25); +lean_ctor_set(x_215, 1, x_214); +x_216 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_28); +lean_inc(x_170); +x_217 = l_Lean_addMacroScope(x_170, x_216, x_28); +x_218 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; +x_219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_25); +x_220 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_220, 0, x_25); +lean_ctor_set(x_220, 1, x_218); +lean_ctor_set(x_220, 2, x_217); +lean_ctor_set(x_220, 3, x_219); +x_221 = lean_array_push(x_182, x_215); +x_222 = lean_array_push(x_221, x_220); +x_223 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = lean_array_push(x_178, x_224); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_180); +lean_ctor_set(x_226, 1, x_225); +x_227 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_228 = lean_array_push(x_227, x_226); +x_229 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_25); +x_232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_25); +lean_ctor_set(x_232, 1, x_231); +x_233 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_25); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_25); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_236 = l_Array_append___rarg(x_235, x_3); +x_237 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_25); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_25); +lean_ctor_set(x_238, 1, x_237); +x_239 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_25); +x_240 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_240, 0, x_25); +lean_ctor_set(x_240, 1, x_239); +x_241 = lean_array_push(x_178, x_240); +x_242 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = lean_array_push(x_178, x_243); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_180); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_25); +x_247 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_247, 0, x_25); +lean_ctor_set(x_247, 1, x_246); +x_248 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_249 = l_Lean_addMacroScope(x_170, x_248, x_28); +x_250 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_252 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_252, 0, x_25); +lean_ctor_set(x_252, 1, x_250); +lean_ctor_set(x_252, 2, x_249); +lean_ctor_set(x_252, 3, x_251); +x_253 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_254 = lean_array_push(x_253, x_238); +x_255 = lean_array_push(x_254, x_245); +x_256 = lean_array_push(x_255, x_247); +x_257 = lean_array_push(x_256, x_252); +x_258 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_array_push(x_236, x_259); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_180); +lean_ctor_set(x_261, 1, x_260); +x_262 = lean_array_push(x_178, x_261); +x_263 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = lean_array_push(x_182, x_234); +x_266 = lean_array_push(x_265, x_264); +x_267 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +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_195, x_232); +x_270 = lean_array_push(x_269, x_268); +x_271 = lean_array_push(x_270, x_210); +x_272 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +x_274 = lean_array_push(x_253, x_204); +x_275 = lean_array_push(x_274, x_213); +x_276 = lean_array_push(x_275, x_230); +x_277 = lean_array_push(x_276, x_273); +x_278 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_277); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_280 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_281 = lean_array_push(x_280, x_202); +x_282 = lean_array_push(x_281, x_210); +x_283 = lean_array_push(x_282, x_210); +x_284 = lean_array_push(x_283, x_210); +x_285 = lean_array_push(x_284, x_210); +x_286 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = lean_array_push(x_182, x_287); +x_289 = lean_array_push(x_288, x_279); +x_290 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_289); +x_292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_171); +return x_292; +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_293 = lean_ctor_get(x_4, 0); +lean_inc(x_293); +lean_dec(x_4); +x_294 = lean_array_push(x_178, x_293); +x_295 = l_Array_append___rarg(x_235, x_294); +lean_dec(x_294); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_180); +lean_ctor_set(x_296, 1, x_295); +x_297 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_298 = lean_array_push(x_297, x_296); +x_299 = lean_array_push(x_298, x_202); +x_300 = lean_array_push(x_299, x_210); +x_301 = lean_array_push(x_300, x_210); +x_302 = lean_array_push(x_301, x_210); +x_303 = lean_array_push(x_302, x_210); +x_304 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_304); +lean_ctor_set(x_305, 1, x_303); +x_306 = lean_array_push(x_182, x_305); +x_307 = lean_array_push(x_306, x_279); +x_308 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_307); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_171); +return x_310; +} +} +} +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; +lean_dec(x_5); +x_311 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +lean_dec(x_311); +x_314 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_313); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_314, 1); +lean_inc(x_316); +lean_dec(x_314); +x_317 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_316); +lean_dec(x_6); +x_318 = lean_ctor_get(x_317, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_319); +x_321 = !lean_is_exclusive(x_320); +if (x_321 == 0) +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_322 = lean_ctor_get(x_320, 0); +x_323 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_315); +x_324 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_324, 0, x_315); +lean_ctor_set(x_324, 1, x_323); +x_325 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_318); +lean_inc(x_322); +x_326 = l_Lean_addMacroScope(x_322, x_325, x_318); +x_327 = lean_box(0); +x_328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; +lean_inc(x_315); +x_329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_329, 0, x_315); +lean_ctor_set(x_329, 1, x_328); +lean_ctor_set(x_329, 2, x_326); +lean_ctor_set(x_329, 3, x_327); +x_330 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_331 = lean_array_push(x_330, x_312); +x_332 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_331); +x_334 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_335 = lean_array_push(x_334, x_329); +x_336 = lean_array_push(x_335, x_333); +x_337 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_336); +x_339 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_340 = lean_array_push(x_339, x_338); +x_341 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_340); +x_343 = lean_array_push(x_330, x_342); +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_332); +lean_ctor_set(x_344, 1, x_343); +x_345 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_315); +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_315); +lean_ctor_set(x_346, 1, x_345); +x_347 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_348 = lean_array_push(x_347, x_324); +x_349 = lean_array_push(x_348, x_344); +x_350 = lean_array_push(x_349, x_346); +x_351 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_350); +x_353 = lean_array_push(x_330, x_352); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_332); +lean_ctor_set(x_354, 1, x_353); +x_355 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_315); +x_356 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_356, 0, x_315); +lean_ctor_set(x_356, 1, x_355); +x_357 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_318); +lean_inc(x_322); +x_358 = l_Lean_addMacroScope(x_322, x_357, x_318); +x_359 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_315); +x_360 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_360, 0, x_315); +lean_ctor_set(x_360, 1, x_359); +lean_ctor_set(x_360, 2, x_358); +lean_ctor_set(x_360, 3, x_327); +x_361 = lean_array_push(x_334, x_360); +x_362 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_363 = lean_array_push(x_361, x_362); +x_364 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_315); +x_367 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_367, 0, x_315); +lean_ctor_set(x_367, 1, x_366); +x_368 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_318); +lean_inc(x_322); +x_369 = l_Lean_addMacroScope(x_322, x_368, x_318); +x_370 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; +x_371 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_315); +x_372 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_372, 0, x_315); +lean_ctor_set(x_372, 1, x_370); +lean_ctor_set(x_372, 2, x_369); +lean_ctor_set(x_372, 3, x_371); +x_373 = lean_array_push(x_334, x_367); +x_374 = lean_array_push(x_373, x_372); +x_375 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_374); +x_377 = lean_array_push(x_330, x_376); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_332); +lean_ctor_set(x_378, 1, x_377); +x_379 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_380 = lean_array_push(x_379, x_378); +x_381 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +x_383 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_315); +x_384 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_384, 0, x_315); +lean_ctor_set(x_384, 1, x_383); +x_385 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_315); +x_386 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_386, 0, x_315); +lean_ctor_set(x_386, 1, x_385); +x_387 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_388 = l_Array_append___rarg(x_387, x_3); +x_389 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_315); +x_390 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_390, 0, x_315); +lean_ctor_set(x_390, 1, x_389); +x_391 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_315); +x_392 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_392, 0, x_315); +lean_ctor_set(x_392, 1, x_391); +x_393 = lean_array_push(x_330, x_392); +x_394 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_394); +lean_ctor_set(x_395, 1, x_393); +x_396 = lean_array_push(x_330, x_395); +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_332); +lean_ctor_set(x_397, 1, x_396); +x_398 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_315); +x_399 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_399, 0, x_315); +lean_ctor_set(x_399, 1, x_398); +x_400 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_401 = l_Lean_addMacroScope(x_322, x_400, x_318); +x_402 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_403 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_404 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_404, 0, x_315); +lean_ctor_set(x_404, 1, x_402); +lean_ctor_set(x_404, 2, x_401); +lean_ctor_set(x_404, 3, x_403); +x_405 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_406 = lean_array_push(x_405, x_390); +x_407 = lean_array_push(x_406, x_397); +x_408 = lean_array_push(x_407, x_399); +x_409 = lean_array_push(x_408, x_404); +x_410 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +x_412 = lean_array_push(x_388, x_411); +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_332); +lean_ctor_set(x_413, 1, x_412); +x_414 = lean_array_push(x_330, x_413); +x_415 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_415); +lean_ctor_set(x_416, 1, x_414); +x_417 = lean_array_push(x_334, x_386); +x_418 = lean_array_push(x_417, x_416); +x_419 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_418); +x_421 = lean_array_push(x_347, x_384); +x_422 = lean_array_push(x_421, x_420); +x_423 = lean_array_push(x_422, x_362); +x_424 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_424); +lean_ctor_set(x_425, 1, x_423); +x_426 = lean_array_push(x_405, x_356); +x_427 = lean_array_push(x_426, x_365); +x_428 = lean_array_push(x_427, x_382); +x_429 = lean_array_push(x_428, x_425); +x_430 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; +x_432 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_433 = lean_array_push(x_432, x_354); +x_434 = lean_array_push(x_433, x_362); +x_435 = lean_array_push(x_434, x_362); +x_436 = lean_array_push(x_435, x_362); +x_437 = lean_array_push(x_436, x_362); +x_438 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +x_440 = lean_array_push(x_334, x_439); +x_441 = lean_array_push(x_440, x_431); +x_442 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_441); +lean_ctor_set(x_320, 0, x_443); +return x_320; +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; +x_444 = lean_ctor_get(x_4, 0); +lean_inc(x_444); +lean_dec(x_4); +x_445 = lean_array_push(x_330, x_444); +x_446 = l_Array_append___rarg(x_387, x_445); +lean_dec(x_445); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_332); +lean_ctor_set(x_447, 1, x_446); +x_448 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_449 = lean_array_push(x_448, x_447); +x_450 = lean_array_push(x_449, x_354); +x_451 = lean_array_push(x_450, x_362); +x_452 = lean_array_push(x_451, x_362); +x_453 = lean_array_push(x_452, x_362); +x_454 = lean_array_push(x_453, x_362); +x_455 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_455); +lean_ctor_set(x_456, 1, x_454); +x_457 = lean_array_push(x_334, x_456); +x_458 = lean_array_push(x_457, x_431); +x_459 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_458); +lean_ctor_set(x_320, 0, x_460); +return x_320; +} +} +else +{ +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_461 = lean_ctor_get(x_320, 0); +x_462 = lean_ctor_get(x_320, 1); +lean_inc(x_462); +lean_inc(x_461); +lean_dec(x_320); +x_463 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_315); +x_464 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_464, 0, x_315); +lean_ctor_set(x_464, 1, x_463); +x_465 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_318); +lean_inc(x_461); +x_466 = l_Lean_addMacroScope(x_461, x_465, x_318); +x_467 = lean_box(0); +x_468 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; +lean_inc(x_315); +x_469 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_469, 0, x_315); +lean_ctor_set(x_469, 1, x_468); +lean_ctor_set(x_469, 2, x_466); +lean_ctor_set(x_469, 3, x_467); +x_470 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_471 = lean_array_push(x_470, x_312); +x_472 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_473 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_473, 1, x_471); +x_474 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_475 = lean_array_push(x_474, x_469); +x_476 = lean_array_push(x_475, x_473); +x_477 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_476); +x_479 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_480 = lean_array_push(x_479, x_478); +x_481 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_482 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_480); +x_483 = lean_array_push(x_470, x_482); +x_484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_484, 0, x_472); +lean_ctor_set(x_484, 1, x_483); +x_485 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_315); +x_486 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_486, 0, x_315); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_488 = lean_array_push(x_487, x_464); +x_489 = lean_array_push(x_488, x_484); +x_490 = lean_array_push(x_489, x_486); +x_491 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_490); +x_493 = lean_array_push(x_470, x_492); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_472); +lean_ctor_set(x_494, 1, x_493); +x_495 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_315); +x_496 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_496, 0, x_315); +lean_ctor_set(x_496, 1, x_495); +x_497 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_318); +lean_inc(x_461); +x_498 = l_Lean_addMacroScope(x_461, x_497, x_318); +x_499 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_315); +x_500 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_500, 0, x_315); +lean_ctor_set(x_500, 1, x_499); +lean_ctor_set(x_500, 2, x_498); +lean_ctor_set(x_500, 3, x_467); +x_501 = lean_array_push(x_474, x_500); +x_502 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_503 = lean_array_push(x_501, x_502); +x_504 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_315); +x_507 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_507, 0, x_315); +lean_ctor_set(x_507, 1, x_506); +x_508 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_318); +lean_inc(x_461); +x_509 = l_Lean_addMacroScope(x_461, x_508, x_318); +x_510 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; +x_511 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_315); +x_512 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_512, 0, x_315); +lean_ctor_set(x_512, 1, x_510); +lean_ctor_set(x_512, 2, x_509); +lean_ctor_set(x_512, 3, x_511); +x_513 = lean_array_push(x_474, x_507); +x_514 = lean_array_push(x_513, x_512); +x_515 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_515); +lean_ctor_set(x_516, 1, x_514); +x_517 = lean_array_push(x_470, x_516); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_472); +lean_ctor_set(x_518, 1, x_517); +x_519 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_520 = lean_array_push(x_519, x_518); +x_521 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_521); +lean_ctor_set(x_522, 1, x_520); +x_523 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_315); +x_524 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_524, 0, x_315); +lean_ctor_set(x_524, 1, x_523); +x_525 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_315); +x_526 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_526, 0, x_315); +lean_ctor_set(x_526, 1, x_525); +x_527 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_528 = l_Array_append___rarg(x_527, x_3); +x_529 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_315); +x_530 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_530, 0, x_315); +lean_ctor_set(x_530, 1, x_529); +x_531 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_315); +x_532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_532, 0, x_315); +lean_ctor_set(x_532, 1, x_531); +x_533 = lean_array_push(x_470, x_532); +x_534 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_535, 0, x_534); +lean_ctor_set(x_535, 1, x_533); +x_536 = lean_array_push(x_470, x_535); +x_537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_537, 0, x_472); +lean_ctor_set(x_537, 1, x_536); +x_538 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_315); +x_539 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_539, 0, x_315); +lean_ctor_set(x_539, 1, x_538); +x_540 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_541 = l_Lean_addMacroScope(x_461, x_540, x_318); +x_542 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_543 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_544 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_544, 0, x_315); +lean_ctor_set(x_544, 1, x_542); +lean_ctor_set(x_544, 2, x_541); +lean_ctor_set(x_544, 3, x_543); +x_545 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_546 = lean_array_push(x_545, x_530); +x_547 = lean_array_push(x_546, x_537); +x_548 = lean_array_push(x_547, x_539); +x_549 = lean_array_push(x_548, x_544); +x_550 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_549); +x_552 = lean_array_push(x_528, x_551); +x_553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_553, 0, x_472); +lean_ctor_set(x_553, 1, x_552); +x_554 = lean_array_push(x_470, x_553); +x_555 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_555); +lean_ctor_set(x_556, 1, x_554); +x_557 = lean_array_push(x_474, x_526); +x_558 = lean_array_push(x_557, x_556); +x_559 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_560 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_560, 0, x_559); +lean_ctor_set(x_560, 1, x_558); +x_561 = lean_array_push(x_487, x_524); +x_562 = lean_array_push(x_561, x_560); +x_563 = lean_array_push(x_562, x_502); +x_564 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_564); +lean_ctor_set(x_565, 1, x_563); +x_566 = lean_array_push(x_545, x_496); +x_567 = lean_array_push(x_566, x_505); +x_568 = lean_array_push(x_567, x_522); +x_569 = lean_array_push(x_568, x_565); +x_570 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_569); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; +x_572 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_573 = lean_array_push(x_572, x_494); +x_574 = lean_array_push(x_573, x_502); +x_575 = lean_array_push(x_574, x_502); +x_576 = lean_array_push(x_575, x_502); +x_577 = lean_array_push(x_576, x_502); +x_578 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_579, 0, x_578); +lean_ctor_set(x_579, 1, x_577); +x_580 = lean_array_push(x_474, x_579); +x_581 = lean_array_push(x_580, x_571); +x_582 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_583, 0, x_582); +lean_ctor_set(x_583, 1, x_581); +x_584 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_584, 0, x_583); +lean_ctor_set(x_584, 1, x_462); +return x_584; +} +else +{ +lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; +x_585 = lean_ctor_get(x_4, 0); +lean_inc(x_585); +lean_dec(x_4); +x_586 = lean_array_push(x_470, x_585); +x_587 = l_Array_append___rarg(x_527, x_586); +lean_dec(x_586); +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_472); +lean_ctor_set(x_588, 1, x_587); +x_589 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_590 = lean_array_push(x_589, x_588); +x_591 = lean_array_push(x_590, x_494); +x_592 = lean_array_push(x_591, x_502); +x_593 = lean_array_push(x_592, x_502); +x_594 = lean_array_push(x_593, x_502); +x_595 = lean_array_push(x_594, x_502); +x_596 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_474, x_597); +x_599 = lean_array_push(x_598, x_571); +x_600 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +x_602 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_602, 0, x_601); +lean_ctor_set(x_602, 1, x_462); +return x_602; +} +} +} +} +else +{ +lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; uint8_t x_613; +lean_dec(x_5); +x_603 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +x_606 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_605); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_606, 1); +lean_inc(x_608); +lean_dec(x_606); +x_609 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_608); +lean_dec(x_6); +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_609, 1); +lean_inc(x_611); +lean_dec(x_609); +x_612 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_611); +x_613 = !lean_is_exclusive(x_612); +if (x_613 == 0) +{ +lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_614 = lean_ctor_get(x_612, 0); +x_615 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_607); +x_616 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_616, 0, x_607); +lean_ctor_set(x_616, 1, x_615); +x_617 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_610); +lean_inc(x_614); +x_618 = l_Lean_addMacroScope(x_614, x_617, x_610); +x_619 = lean_box(0); +x_620 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_607); +x_621 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_621, 0, x_607); +lean_ctor_set(x_621, 1, x_620); +lean_ctor_set(x_621, 2, x_618); +lean_ctor_set(x_621, 3, x_619); +x_622 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_623 = lean_array_push(x_622, x_604); +x_624 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_623); +x_626 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_627 = lean_array_push(x_626, x_621); +x_628 = lean_array_push(x_627, x_625); +x_629 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_629); +lean_ctor_set(x_630, 1, x_628); +x_631 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_632 = lean_array_push(x_631, x_630); +x_633 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_632); +x_635 = lean_array_push(x_622, x_634); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_624); +lean_ctor_set(x_636, 1, x_635); +x_637 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_607); +x_638 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_638, 0, x_607); +lean_ctor_set(x_638, 1, x_637); +x_639 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_640 = lean_array_push(x_639, x_616); +x_641 = lean_array_push(x_640, x_636); +x_642 = lean_array_push(x_641, x_638); +x_643 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_644, 0, x_643); +lean_ctor_set(x_644, 1, x_642); +x_645 = lean_array_push(x_622, x_644); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_624); +lean_ctor_set(x_646, 1, x_645); +x_647 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_607); +x_648 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_648, 0, x_607); +lean_ctor_set(x_648, 1, x_647); +x_649 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_610); +lean_inc(x_614); +x_650 = l_Lean_addMacroScope(x_614, x_649, x_610); +x_651 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_607); +x_652 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_652, 0, x_607); +lean_ctor_set(x_652, 1, x_651); +lean_ctor_set(x_652, 2, x_650); +lean_ctor_set(x_652, 3, x_619); +x_653 = lean_array_push(x_626, x_652); +x_654 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_655 = lean_array_push(x_653, x_654); +x_656 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_655); +x_658 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_607); +x_659 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_659, 0, x_607); +lean_ctor_set(x_659, 1, x_658); +x_660 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_610); +lean_inc(x_614); +x_661 = l_Lean_addMacroScope(x_614, x_660, x_610); +x_662 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_663 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +lean_inc(x_607); +x_664 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_664, 0, x_607); +lean_ctor_set(x_664, 1, x_662); +lean_ctor_set(x_664, 2, x_661); +lean_ctor_set(x_664, 3, x_663); +x_665 = lean_array_push(x_626, x_659); +x_666 = lean_array_push(x_665, x_664); +x_667 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_668 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_666); +x_669 = lean_array_push(x_622, x_668); +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_624); +lean_ctor_set(x_670, 1, x_669); +x_671 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_672 = lean_array_push(x_671, x_670); +x_673 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_674 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_674, 0, x_673); +lean_ctor_set(x_674, 1, x_672); +x_675 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_607); +x_676 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_676, 0, x_607); +lean_ctor_set(x_676, 1, x_675); +x_677 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_607); +x_678 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_678, 0, x_607); +lean_ctor_set(x_678, 1, x_677); +x_679 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_610); +lean_inc(x_614); +x_680 = l_Lean_addMacroScope(x_614, x_679, x_610); +x_681 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109; +lean_inc(x_607); +x_682 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_682, 0, x_607); +lean_ctor_set(x_682, 1, x_681); +lean_ctor_set(x_682, 2, x_680); +lean_ctor_set(x_682, 3, x_619); +x_683 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_607); +x_684 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_684, 0, x_607); +lean_ctor_set(x_684, 1, x_683); +x_685 = lean_array_push(x_622, x_684); +x_686 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_687 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_687, 0, x_686); +lean_ctor_set(x_687, 1, x_685); +lean_inc(x_682); +x_688 = lean_array_push(x_626, x_682); +lean_inc(x_687); +x_689 = lean_array_push(x_688, x_687); +x_690 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_690, 0, x_624); +lean_ctor_set(x_690, 1, x_689); +x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_607); +x_692 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_692, 0, x_607); +lean_ctor_set(x_692, 1, x_691); +x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_607); +x_694 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_694, 0, x_607); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_array_push(x_671, x_682); +x_696 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_697, 0, x_696); +lean_ctor_set(x_697, 1, x_695); +x_698 = lean_array_push(x_622, x_697); +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_624); +lean_ctor_set(x_699, 1, x_698); +x_700 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_607); +x_701 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_701, 0, x_607); +lean_ctor_set(x_701, 1, x_700); +x_702 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_703 = l_Array_append___rarg(x_702, x_3); +x_704 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_607); +x_705 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_705, 0, x_607); +lean_ctor_set(x_705, 1, x_704); +x_706 = lean_array_push(x_622, x_687); +x_707 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_707, 0, x_624); +lean_ctor_set(x_707, 1, x_706); +x_708 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_709 = l_Lean_addMacroScope(x_614, x_708, x_610); +x_710 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_711 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_712 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_712, 0, x_607); +lean_ctor_set(x_712, 1, x_710); +lean_ctor_set(x_712, 2, x_709); +lean_ctor_set(x_712, 3, x_711); +x_713 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_714 = lean_array_push(x_713, x_705); +x_715 = lean_array_push(x_714, x_707); +lean_inc(x_692); +x_716 = lean_array_push(x_715, x_692); +x_717 = lean_array_push(x_716, x_712); +x_718 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_719, 0, x_718); +lean_ctor_set(x_719, 1, x_717); +x_720 = lean_array_push(x_703, x_719); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_624); +lean_ctor_set(x_721, 1, x_720); +x_722 = lean_array_push(x_622, x_721); +x_723 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_724, 0, x_723); +lean_ctor_set(x_724, 1, x_722); +x_725 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_726 = lean_array_push(x_725, x_694); +x_727 = lean_array_push(x_726, x_654); +x_728 = lean_array_push(x_727, x_699); +x_729 = lean_array_push(x_728, x_654); +x_730 = lean_array_push(x_729, x_701); +x_731 = lean_array_push(x_730, x_724); +x_732 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; +x_733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_731); +x_734 = lean_array_push(x_639, x_690); +x_735 = lean_array_push(x_734, x_692); +x_736 = lean_array_push(x_735, x_733); +x_737 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_736); +x_739 = lean_array_push(x_626, x_678); +x_740 = lean_array_push(x_739, x_738); +x_741 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_742 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_742, 0, x_741); +lean_ctor_set(x_742, 1, x_740); +x_743 = lean_array_push(x_639, x_676); +x_744 = lean_array_push(x_743, x_742); +x_745 = lean_array_push(x_744, x_654); +x_746 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_747, 0, x_746); +lean_ctor_set(x_747, 1, x_745); +x_748 = lean_array_push(x_713, x_648); +x_749 = lean_array_push(x_748, x_657); +x_750 = lean_array_push(x_749, x_674); +x_751 = lean_array_push(x_750, x_747); +x_752 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_751); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_754 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_755 = lean_array_push(x_754, x_646); +x_756 = lean_array_push(x_755, x_654); +x_757 = lean_array_push(x_756, x_654); +x_758 = lean_array_push(x_757, x_654); +x_759 = lean_array_push(x_758, x_654); +x_760 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_760); +lean_ctor_set(x_761, 1, x_759); +x_762 = lean_array_push(x_626, x_761); +x_763 = lean_array_push(x_762, x_753); +x_764 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +lean_ctor_set(x_612, 0, x_765); +return x_612; +} +else +{ +lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; +x_766 = lean_ctor_get(x_4, 0); +lean_inc(x_766); +lean_dec(x_4); +x_767 = lean_array_push(x_622, x_766); +x_768 = l_Array_append___rarg(x_702, x_767); +lean_dec(x_767); +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_624); +lean_ctor_set(x_769, 1, x_768); +x_770 = lean_array_push(x_725, x_769); +x_771 = lean_array_push(x_770, x_646); +x_772 = lean_array_push(x_771, x_654); +x_773 = lean_array_push(x_772, x_654); +x_774 = lean_array_push(x_773, x_654); +x_775 = lean_array_push(x_774, x_654); +x_776 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_777 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_775); +x_778 = lean_array_push(x_626, x_777); +x_779 = lean_array_push(x_778, x_753); +x_780 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +lean_ctor_set(x_612, 0, x_781); +return x_612; +} +} +else +{ +lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; +x_782 = lean_ctor_get(x_612, 0); +x_783 = lean_ctor_get(x_612, 1); +lean_inc(x_783); +lean_inc(x_782); +lean_dec(x_612); +x_784 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_607); +x_785 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_785, 0, x_607); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_610); +lean_inc(x_782); +x_787 = l_Lean_addMacroScope(x_782, x_786, x_610); +x_788 = lean_box(0); +x_789 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_607); +x_790 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_790, 0, x_607); +lean_ctor_set(x_790, 1, x_789); +lean_ctor_set(x_790, 2, x_787); +lean_ctor_set(x_790, 3, x_788); +x_791 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_792 = lean_array_push(x_791, x_604); +x_793 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_792); +x_795 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_796 = lean_array_push(x_795, x_790); +x_797 = lean_array_push(x_796, x_794); +x_798 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_799, 0, x_798); +lean_ctor_set(x_799, 1, x_797); +x_800 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_801 = lean_array_push(x_800, x_799); +x_802 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_803, 0, x_802); +lean_ctor_set(x_803, 1, x_801); +x_804 = lean_array_push(x_791, x_803); +x_805 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_805, 0, x_793); +lean_ctor_set(x_805, 1, x_804); +x_806 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_607); +x_807 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_807, 0, x_607); +lean_ctor_set(x_807, 1, x_806); +x_808 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_809 = lean_array_push(x_808, x_785); +x_810 = lean_array_push(x_809, x_805); +x_811 = lean_array_push(x_810, x_807); +x_812 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_813 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_813, 0, x_812); +lean_ctor_set(x_813, 1, x_811); +x_814 = lean_array_push(x_791, x_813); +x_815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_815, 0, x_793); +lean_ctor_set(x_815, 1, x_814); +x_816 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_607); +x_817 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_817, 0, x_607); +lean_ctor_set(x_817, 1, x_816); +x_818 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_610); +lean_inc(x_782); +x_819 = l_Lean_addMacroScope(x_782, x_818, x_610); +x_820 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_607); +x_821 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_821, 0, x_607); +lean_ctor_set(x_821, 1, x_820); +lean_ctor_set(x_821, 2, x_819); +lean_ctor_set(x_821, 3, x_788); +x_822 = lean_array_push(x_795, x_821); +x_823 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_824 = lean_array_push(x_822, x_823); +x_825 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_826 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_826, 0, x_825); +lean_ctor_set(x_826, 1, x_824); +x_827 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_607); +x_828 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_828, 0, x_607); +lean_ctor_set(x_828, 1, x_827); +x_829 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_610); +lean_inc(x_782); +x_830 = l_Lean_addMacroScope(x_782, x_829, x_610); +x_831 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_832 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +lean_inc(x_607); +x_833 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_833, 0, x_607); +lean_ctor_set(x_833, 1, x_831); +lean_ctor_set(x_833, 2, x_830); +lean_ctor_set(x_833, 3, x_832); +x_834 = lean_array_push(x_795, x_828); +x_835 = lean_array_push(x_834, x_833); +x_836 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_836); +lean_ctor_set(x_837, 1, x_835); +x_838 = lean_array_push(x_791, x_837); +x_839 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_839, 0, x_793); +lean_ctor_set(x_839, 1, x_838); +x_840 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_841 = lean_array_push(x_840, x_839); +x_842 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_843, 0, x_842); +lean_ctor_set(x_843, 1, x_841); +x_844 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_607); +x_845 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_845, 0, x_607); +lean_ctor_set(x_845, 1, x_844); +x_846 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_607); +x_847 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_847, 0, x_607); +lean_ctor_set(x_847, 1, x_846); +x_848 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_610); +lean_inc(x_782); +x_849 = l_Lean_addMacroScope(x_782, x_848, x_610); +x_850 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109; +lean_inc(x_607); +x_851 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_851, 0, x_607); +lean_ctor_set(x_851, 1, x_850); +lean_ctor_set(x_851, 2, x_849); +lean_ctor_set(x_851, 3, x_788); +x_852 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_607); +x_853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_853, 0, x_607); +lean_ctor_set(x_853, 1, x_852); +x_854 = lean_array_push(x_791, x_853); +x_855 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_856 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_856, 0, x_855); +lean_ctor_set(x_856, 1, x_854); +lean_inc(x_851); +x_857 = lean_array_push(x_795, x_851); +lean_inc(x_856); +x_858 = lean_array_push(x_857, x_856); +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_793); +lean_ctor_set(x_859, 1, x_858); +x_860 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_607); +x_861 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_861, 0, x_607); +lean_ctor_set(x_861, 1, x_860); +x_862 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_607); +x_863 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_863, 0, x_607); +lean_ctor_set(x_863, 1, x_862); +x_864 = lean_array_push(x_840, x_851); +x_865 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_866, 0, x_865); +lean_ctor_set(x_866, 1, x_864); +x_867 = lean_array_push(x_791, x_866); +x_868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_868, 0, x_793); +lean_ctor_set(x_868, 1, x_867); +x_869 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_607); +x_870 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_870, 0, x_607); +lean_ctor_set(x_870, 1, x_869); +x_871 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_872 = l_Array_append___rarg(x_871, x_3); +x_873 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_607); +x_874 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_874, 0, x_607); +lean_ctor_set(x_874, 1, x_873); +x_875 = lean_array_push(x_791, x_856); +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_793); +lean_ctor_set(x_876, 1, x_875); +x_877 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_878 = l_Lean_addMacroScope(x_782, x_877, x_610); +x_879 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_880 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_881 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_881, 0, x_607); +lean_ctor_set(x_881, 1, x_879); +lean_ctor_set(x_881, 2, x_878); +lean_ctor_set(x_881, 3, x_880); +x_882 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_883 = lean_array_push(x_882, x_874); +x_884 = lean_array_push(x_883, x_876); +lean_inc(x_861); +x_885 = lean_array_push(x_884, x_861); +x_886 = lean_array_push(x_885, x_881); +x_887 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_888, 0, x_887); +lean_ctor_set(x_888, 1, x_886); +x_889 = lean_array_push(x_872, x_888); +x_890 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_890, 0, x_793); +lean_ctor_set(x_890, 1, x_889); +x_891 = lean_array_push(x_791, x_890); +x_892 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_893 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_893, 0, x_892); +lean_ctor_set(x_893, 1, x_891); +x_894 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_895 = lean_array_push(x_894, x_863); +x_896 = lean_array_push(x_895, x_823); +x_897 = lean_array_push(x_896, x_868); +x_898 = lean_array_push(x_897, x_823); +x_899 = lean_array_push(x_898, x_870); +x_900 = lean_array_push(x_899, x_893); +x_901 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; +x_902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_902, 0, x_901); +lean_ctor_set(x_902, 1, x_900); +x_903 = lean_array_push(x_808, x_859); +x_904 = lean_array_push(x_903, x_861); +x_905 = lean_array_push(x_904, x_902); +x_906 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_907, 0, x_906); +lean_ctor_set(x_907, 1, x_905); +x_908 = lean_array_push(x_795, x_847); +x_909 = lean_array_push(x_908, x_907); +x_910 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_911 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_911, 0, x_910); +lean_ctor_set(x_911, 1, x_909); +x_912 = lean_array_push(x_808, x_845); +x_913 = lean_array_push(x_912, x_911); +x_914 = lean_array_push(x_913, x_823); +x_915 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_916 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_916, 0, x_915); +lean_ctor_set(x_916, 1, x_914); +x_917 = lean_array_push(x_882, x_817); +x_918 = lean_array_push(x_917, x_826); +x_919 = lean_array_push(x_918, x_843); +x_920 = lean_array_push(x_919, x_916); +x_921 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_922 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_922, 0, x_921); +lean_ctor_set(x_922, 1, x_920); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_923 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_924 = lean_array_push(x_923, x_815); +x_925 = lean_array_push(x_924, x_823); +x_926 = lean_array_push(x_925, x_823); +x_927 = lean_array_push(x_926, x_823); +x_928 = lean_array_push(x_927, x_823); +x_929 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_930, 0, x_929); +lean_ctor_set(x_930, 1, x_928); +x_931 = lean_array_push(x_795, x_930); +x_932 = lean_array_push(x_931, x_922); +x_933 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_933); +lean_ctor_set(x_934, 1, x_932); +x_935 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_935, 0, x_934); +lean_ctor_set(x_935, 1, x_783); +return x_935; +} +else +{ +lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; +x_936 = lean_ctor_get(x_4, 0); +lean_inc(x_936); +lean_dec(x_4); +x_937 = lean_array_push(x_791, x_936); +x_938 = l_Array_append___rarg(x_871, x_937); +lean_dec(x_937); +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_793); +lean_ctor_set(x_939, 1, x_938); +x_940 = lean_array_push(x_894, x_939); +x_941 = lean_array_push(x_940, x_815); +x_942 = lean_array_push(x_941, x_823); +x_943 = lean_array_push(x_942, x_823); +x_944 = lean_array_push(x_943, x_823); +x_945 = lean_array_push(x_944, x_823); +x_946 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_946); +lean_ctor_set(x_947, 1, x_945); +x_948 = lean_array_push(x_795, x_947); +x_949 = lean_array_push(x_948, x_922); +x_950 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_951 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_951, 0, x_950); +lean_ctor_set(x_951, 1, x_949); +x_952 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_783); +return x_952; +} +} +} +} +else +{ +lean_object* x_953; lean_object* x_954; uint8_t x_955; +x_953 = lean_ctor_get(x_1, 0); +lean_inc(x_953); +lean_dec(x_1); +x_954 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_955 = lean_name_eq(x_5, x_954); +if (x_955 == 0) +{ +lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; +lean_dec(x_4); +lean_dec(x_2); +x_956 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_956, 0, x_5); +x_957 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117; +x_958 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_956); +x_959 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; +x_960 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_960, 0, x_958); +lean_ctor_set(x_960, 1, x_959); +x_961 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_953, x_960, x_6, x_7, x_8); +lean_dec(x_953); +return x_961; +} +else +{ +lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; uint8_t x_972; +lean_dec(x_5); +x_962 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_963 = lean_ctor_get(x_962, 0); +lean_inc(x_963); +x_964 = lean_ctor_get(x_962, 1); +lean_inc(x_964); +lean_dec(x_962); +x_965 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_964); +x_966 = lean_ctor_get(x_965, 0); +lean_inc(x_966); +x_967 = lean_ctor_get(x_965, 1); +lean_inc(x_967); +lean_dec(x_965); +x_968 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_967); +lean_dec(x_6); +x_969 = lean_ctor_get(x_968, 0); +lean_inc(x_969); +x_970 = lean_ctor_get(x_968, 1); +lean_inc(x_970); +lean_dec(x_968); +x_971 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_970); +x_972 = !lean_is_exclusive(x_971); +if (x_972 == 0) +{ +lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +x_973 = lean_ctor_get(x_971, 0); +x_974 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_966); +x_975 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_975, 0, x_966); +lean_ctor_set(x_975, 1, x_974); +x_976 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_969); +lean_inc(x_973); +x_977 = l_Lean_addMacroScope(x_973, x_976, x_969); +x_978 = lean_box(0); +x_979 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_966); +x_980 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_980, 0, x_966); +lean_ctor_set(x_980, 1, x_979); +lean_ctor_set(x_980, 2, x_977); +lean_ctor_set(x_980, 3, x_978); +x_981 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_982 = lean_array_push(x_981, x_963); +x_983 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_986 = lean_array_push(x_985, x_980); +x_987 = lean_array_push(x_986, x_984); +x_988 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_989 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_989, 0, x_988); +lean_ctor_set(x_989, 1, x_987); +x_990 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_991 = lean_array_push(x_990, x_989); +x_992 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_992); +lean_ctor_set(x_993, 1, x_991); +x_994 = lean_array_push(x_981, x_993); +x_995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_995, 0, x_983); +lean_ctor_set(x_995, 1, x_994); +x_996 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_966); +x_997 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_997, 0, x_966); +lean_ctor_set(x_997, 1, x_996); +x_998 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_999 = lean_array_push(x_998, x_975); +x_1000 = lean_array_push(x_999, x_995); +x_1001 = lean_array_push(x_1000, x_997); +x_1002 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_1003 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_1001); +x_1004 = lean_array_push(x_981, x_1003); +x_1005 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1005, 0, x_983); +lean_ctor_set(x_1005, 1, x_1004); +x_1006 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_966); +x_1007 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1007, 0, x_966); +lean_ctor_set(x_1007, 1, x_1006); +x_1008 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_969); +lean_inc(x_973); +x_1009 = l_Lean_addMacroScope(x_973, x_1008, x_969); +x_1010 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_966); +x_1011 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1011, 0, x_966); +lean_ctor_set(x_1011, 1, x_1010); +lean_ctor_set(x_1011, 2, x_1009); +lean_ctor_set(x_1011, 3, x_978); +x_1012 = lean_array_push(x_985, x_1011); +x_1013 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_1014 = lean_array_push(x_1012, x_1013); +x_1015 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_1016 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1016, 0, x_1015); +lean_ctor_set(x_1016, 1, x_1014); +x_1017 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_966); +x_1018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1018, 0, x_966); +lean_ctor_set(x_1018, 1, x_1017); +x_1019 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_969); +lean_inc(x_973); +x_1020 = l_Lean_addMacroScope(x_973, x_1019, x_969); +x_1021 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +lean_inc(x_966); +x_1023 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1023, 0, x_966); +lean_ctor_set(x_1023, 1, x_1021); +lean_ctor_set(x_1023, 2, x_1020); +lean_ctor_set(x_1023, 3, x_1022); +x_1024 = lean_array_push(x_985, x_1018); +x_1025 = lean_array_push(x_1024, x_1023); +x_1026 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_1027 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1027, 0, x_1026); +lean_ctor_set(x_1027, 1, x_1025); +x_1028 = lean_array_push(x_981, x_1027); +x_1029 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1029, 0, x_983); +lean_ctor_set(x_1029, 1, x_1028); +x_1030 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_1031 = lean_array_push(x_1030, x_1029); +x_1032 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_966); +x_1035 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1035, 0, x_966); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_966); +x_1037 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1037, 0, x_966); +lean_ctor_set(x_1037, 1, x_1036); +x_1038 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_969); +lean_inc(x_973); +x_1039 = l_Lean_addMacroScope(x_973, x_1038, x_969); +x_1040 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109; +lean_inc(x_966); +x_1041 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1041, 0, x_966); +lean_ctor_set(x_1041, 1, x_1040); +lean_ctor_set(x_1041, 2, x_1039); +lean_ctor_set(x_1041, 3, x_978); +x_1042 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; +lean_inc(x_969); +lean_inc(x_973); +x_1043 = l_Lean_addMacroScope(x_973, x_1042, x_969); +x_1044 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122; +lean_inc(x_966); +x_1045 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1045, 0, x_966); +lean_ctor_set(x_1045, 1, x_1044); +lean_ctor_set(x_1045, 2, x_1043); +lean_ctor_set(x_1045, 3, x_978); +lean_inc(x_1041); +x_1046 = lean_array_push(x_985, x_1041); +lean_inc(x_1045); +x_1047 = lean_array_push(x_1046, x_1045); +x_1048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1048, 0, x_983); +lean_ctor_set(x_1048, 1, x_1047); +x_1049 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_966); +x_1050 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1050, 0, x_966); +lean_ctor_set(x_1050, 1, x_1049); +x_1051 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; +lean_inc(x_969); +lean_inc(x_973); +x_1052 = l_Lean_addMacroScope(x_973, x_1051, x_969); +x_1053 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128; +x_1054 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132; +lean_inc(x_966); +x_1055 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1055, 0, x_966); +lean_ctor_set(x_1055, 1, x_1053); +lean_ctor_set(x_1055, 2, x_1052); +lean_ctor_set(x_1055, 3, x_1054); +x_1056 = lean_array_push(x_981, x_953); +x_1057 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1057, 0, x_983); +lean_ctor_set(x_1057, 1, x_1056); +x_1058 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_966); +x_1059 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1059, 0, x_966); +lean_ctor_set(x_1059, 1, x_1058); +x_1060 = lean_array_push(x_1030, x_1041); +x_1061 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_1062 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1062, 0, x_1061); +lean_ctor_set(x_1062, 1, x_1060); +x_1063 = lean_array_push(x_981, x_1062); +x_1064 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1064, 0, x_983); +lean_ctor_set(x_1064, 1, x_1063); +x_1065 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_966); +x_1066 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1066, 0, x_966); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_1068 = l_Array_append___rarg(x_1067, x_3); +x_1069 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_966); +x_1070 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1070, 0, x_966); +lean_ctor_set(x_1070, 1, x_1069); +x_1071 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_966); +x_1072 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1072, 0, x_966); +lean_ctor_set(x_1072, 1, x_1071); +x_1073 = lean_array_push(x_981, x_1072); +x_1074 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_1075 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1075, 0, x_1074); +lean_ctor_set(x_1075, 1, x_1073); +x_1076 = lean_array_push(x_981, x_1075); +x_1077 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1077, 0, x_983); +lean_ctor_set(x_1077, 1, x_1076); +x_1078 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_1079 = l_Lean_addMacroScope(x_973, x_1078, x_969); +x_1080 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_1081 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_1082 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1082, 0, x_966); +lean_ctor_set(x_1082, 1, x_1080); +lean_ctor_set(x_1082, 2, x_1079); +lean_ctor_set(x_1082, 3, x_1081); +x_1083 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_1084 = lean_array_push(x_1083, x_1070); +x_1085 = lean_array_push(x_1084, x_1077); +lean_inc(x_1050); +x_1086 = lean_array_push(x_1085, x_1050); +x_1087 = lean_array_push(x_1086, x_1082); +x_1088 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_1089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1089, 0, x_1088); +lean_ctor_set(x_1089, 1, x_1087); +x_1090 = lean_array_push(x_1068, x_1089); +x_1091 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1091, 0, x_983); +lean_ctor_set(x_1091, 1, x_1090); +x_1092 = lean_array_push(x_981, x_1091); +x_1093 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_1094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1094, 0, x_1093); +lean_ctor_set(x_1094, 1, x_1092); +x_1095 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_1096 = lean_array_push(x_1095, x_1059); +x_1097 = lean_array_push(x_1096, x_1013); +x_1098 = lean_array_push(x_1097, x_1064); +x_1099 = lean_array_push(x_1098, x_1013); +x_1100 = lean_array_push(x_1099, x_1066); +x_1101 = lean_array_push(x_1100, x_1094); +x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; +x_1103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_1101); +x_1104 = lean_array_push(x_998, x_1057); +lean_inc(x_1050); +x_1105 = lean_array_push(x_1104, x_1050); +x_1106 = lean_array_push(x_1105, x_1103); +x_1107 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_1108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1106); +x_1109 = lean_array_push(x_985, x_1037); +lean_inc(x_1109); +x_1110 = lean_array_push(x_1109, x_1108); +x_1111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_1112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1112, 0, x_1111); +lean_ctor_set(x_1112, 1, x_1110); +x_1113 = lean_array_push(x_985, x_1045); +x_1114 = lean_array_push(x_1113, x_1112); +x_1115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1115, 0, x_983); +lean_ctor_set(x_1115, 1, x_1114); +x_1116 = lean_array_push(x_985, x_1055); +x_1117 = lean_array_push(x_1116, x_1115); +x_1118 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125; +x_1119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1119, 0, x_1118); +lean_ctor_set(x_1119, 1, x_1117); +x_1120 = lean_array_push(x_998, x_1048); +x_1121 = lean_array_push(x_1120, x_1050); +x_1122 = lean_array_push(x_1121, x_1119); +x_1123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1123, 0, x_1107); +lean_ctor_set(x_1123, 1, x_1122); +x_1124 = lean_array_push(x_1109, x_1123); +x_1125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1125, 0, x_1111); +lean_ctor_set(x_1125, 1, x_1124); +x_1126 = lean_array_push(x_998, x_1035); +x_1127 = lean_array_push(x_1126, x_1125); +x_1128 = lean_array_push(x_1127, x_1013); +x_1129 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +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_1083, x_1007); +x_1132 = lean_array_push(x_1131, x_1016); +x_1133 = lean_array_push(x_1132, x_1033); +x_1134 = lean_array_push(x_1133, x_1130); +x_1135 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_1134); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; +x_1137 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_1138 = lean_array_push(x_1137, x_1005); +x_1139 = lean_array_push(x_1138, x_1013); +x_1140 = lean_array_push(x_1139, x_1013); +x_1141 = lean_array_push(x_1140, x_1013); +x_1142 = lean_array_push(x_1141, x_1013); +x_1143 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1144, 0, x_1143); +lean_ctor_set(x_1144, 1, x_1142); +x_1145 = lean_array_push(x_985, x_1144); +x_1146 = lean_array_push(x_1145, x_1136); +x_1147 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +lean_ctor_set(x_971, 0, x_1148); +return x_971; +} +else +{ +lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; +x_1149 = lean_ctor_get(x_4, 0); +lean_inc(x_1149); +lean_dec(x_4); +x_1150 = lean_array_push(x_981, x_1149); +x_1151 = l_Array_append___rarg(x_1067, x_1150); +lean_dec(x_1150); +x_1152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1152, 0, x_983); +lean_ctor_set(x_1152, 1, x_1151); +x_1153 = lean_array_push(x_1095, x_1152); +x_1154 = lean_array_push(x_1153, x_1005); +x_1155 = lean_array_push(x_1154, x_1013); +x_1156 = lean_array_push(x_1155, x_1013); +x_1157 = lean_array_push(x_1156, x_1013); +x_1158 = lean_array_push(x_1157, x_1013); +x_1159 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1160, 0, x_1159); +lean_ctor_set(x_1160, 1, x_1158); +x_1161 = lean_array_push(x_985, x_1160); +x_1162 = lean_array_push(x_1161, x_1136); +x_1163 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_1164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1162); +lean_ctor_set(x_971, 0, x_1164); +return x_971; +} +} +else +{ +lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; +x_1165 = lean_ctor_get(x_971, 0); +x_1166 = lean_ctor_get(x_971, 1); +lean_inc(x_1166); +lean_inc(x_1165); +lean_dec(x_971); +x_1167 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_966); +x_1168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1168, 0, x_966); +lean_ctor_set(x_1168, 1, x_1167); +x_1169 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_969); +lean_inc(x_1165); +x_1170 = l_Lean_addMacroScope(x_1165, x_1169, x_969); +x_1171 = lean_box(0); +x_1172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_966); +x_1173 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1173, 0, x_966); +lean_ctor_set(x_1173, 1, x_1172); +lean_ctor_set(x_1173, 2, x_1170); +lean_ctor_set(x_1173, 3, x_1171); +x_1174 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_1175 = lean_array_push(x_1174, x_963); +x_1176 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_1177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1177, 0, x_1176); +lean_ctor_set(x_1177, 1, x_1175); +x_1178 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_1179 = lean_array_push(x_1178, x_1173); +x_1180 = lean_array_push(x_1179, x_1177); +x_1181 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_1182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1182, 0, x_1181); +lean_ctor_set(x_1182, 1, x_1180); +x_1183 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_1184 = lean_array_push(x_1183, x_1182); +x_1185 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_1186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1186, 0, x_1185); +lean_ctor_set(x_1186, 1, x_1184); +x_1187 = lean_array_push(x_1174, x_1186); +x_1188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1188, 0, x_1176); +lean_ctor_set(x_1188, 1, x_1187); +x_1189 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_966); +x_1190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1190, 0, x_966); +lean_ctor_set(x_1190, 1, x_1189); +x_1191 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_1192 = lean_array_push(x_1191, x_1168); +x_1193 = lean_array_push(x_1192, x_1188); +x_1194 = lean_array_push(x_1193, x_1190); +x_1195 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_1196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1194); +x_1197 = lean_array_push(x_1174, x_1196); +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1176); +lean_ctor_set(x_1198, 1, x_1197); +x_1199 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_966); +x_1200 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1200, 0, x_966); +lean_ctor_set(x_1200, 1, x_1199); +x_1201 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +lean_inc(x_969); +lean_inc(x_1165); +x_1202 = l_Lean_addMacroScope(x_1165, x_1201, x_969); +x_1203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_966); +x_1204 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1204, 0, x_966); +lean_ctor_set(x_1204, 1, x_1203); +lean_ctor_set(x_1204, 2, x_1202); +lean_ctor_set(x_1204, 3, x_1171); +x_1205 = lean_array_push(x_1178, x_1204); +x_1206 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_1207 = lean_array_push(x_1205, x_1206); +x_1208 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +x_1209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1209, 0, x_1208); +lean_ctor_set(x_1209, 1, x_1207); +x_1210 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_966); +x_1211 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1211, 0, x_966); +lean_ctor_set(x_1211, 1, x_1210); +x_1212 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_969); +lean_inc(x_1165); +x_1213 = l_Lean_addMacroScope(x_1165, x_1212, x_969); +x_1214 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_1215 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +lean_inc(x_966); +x_1216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1216, 0, x_966); +lean_ctor_set(x_1216, 1, x_1214); +lean_ctor_set(x_1216, 2, x_1213); +lean_ctor_set(x_1216, 3, x_1215); +x_1217 = lean_array_push(x_1178, x_1211); +x_1218 = lean_array_push(x_1217, x_1216); +x_1219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +x_1220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1220, 0, x_1219); +lean_ctor_set(x_1220, 1, x_1218); +x_1221 = lean_array_push(x_1174, x_1220); +x_1222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1222, 0, x_1176); +lean_ctor_set(x_1222, 1, x_1221); +x_1223 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_1224 = lean_array_push(x_1223, x_1222); +x_1225 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_1226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1226, 0, x_1225); +lean_ctor_set(x_1226, 1, x_1224); +x_1227 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_966); +x_1228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1228, 0, x_966); +lean_ctor_set(x_1228, 1, x_1227); +x_1229 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +lean_inc(x_966); +x_1230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1230, 0, x_966); +lean_ctor_set(x_1230, 1, x_1229); +x_1231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_969); +lean_inc(x_1165); +x_1232 = l_Lean_addMacroScope(x_1165, x_1231, x_969); +x_1233 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109; +lean_inc(x_966); +x_1234 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1234, 0, x_966); +lean_ctor_set(x_1234, 1, x_1233); +lean_ctor_set(x_1234, 2, x_1232); +lean_ctor_set(x_1234, 3, x_1171); +x_1235 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; +lean_inc(x_969); +lean_inc(x_1165); +x_1236 = l_Lean_addMacroScope(x_1165, x_1235, x_969); +x_1237 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122; +lean_inc(x_966); +x_1238 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1238, 0, x_966); +lean_ctor_set(x_1238, 1, x_1237); +lean_ctor_set(x_1238, 2, x_1236); +lean_ctor_set(x_1238, 3, x_1171); +lean_inc(x_1234); +x_1239 = lean_array_push(x_1178, x_1234); +lean_inc(x_1238); +x_1240 = lean_array_push(x_1239, x_1238); +x_1241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1241, 0, x_1176); +lean_ctor_set(x_1241, 1, x_1240); +x_1242 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_966); +x_1243 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1243, 0, x_966); +lean_ctor_set(x_1243, 1, x_1242); +x_1244 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; +lean_inc(x_969); +lean_inc(x_1165); +x_1245 = l_Lean_addMacroScope(x_1165, x_1244, x_969); +x_1246 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128; +x_1247 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132; +lean_inc(x_966); +x_1248 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1248, 0, x_966); +lean_ctor_set(x_1248, 1, x_1246); +lean_ctor_set(x_1248, 2, x_1245); +lean_ctor_set(x_1248, 3, x_1247); +x_1249 = lean_array_push(x_1174, x_953); +x_1250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1250, 0, x_1176); +lean_ctor_set(x_1250, 1, x_1249); +x_1251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_966); +x_1252 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1252, 0, x_966); +lean_ctor_set(x_1252, 1, x_1251); +x_1253 = lean_array_push(x_1223, x_1234); +x_1254 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_1255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1255, 0, x_1254); +lean_ctor_set(x_1255, 1, x_1253); +x_1256 = lean_array_push(x_1174, x_1255); +x_1257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1257, 0, x_1176); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_966); +x_1259 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1259, 0, x_966); +lean_ctor_set(x_1259, 1, x_1258); +x_1260 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_1261 = l_Array_append___rarg(x_1260, x_3); +x_1262 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_966); +x_1263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1263, 0, x_966); +lean_ctor_set(x_1263, 1, x_1262); +x_1264 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_966); +x_1265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1265, 0, x_966); +lean_ctor_set(x_1265, 1, x_1264); +x_1266 = lean_array_push(x_1174, x_1265); +x_1267 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_1268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1268, 0, x_1267); +lean_ctor_set(x_1268, 1, x_1266); +x_1269 = lean_array_push(x_1174, x_1268); +x_1270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1270, 0, x_1176); +lean_ctor_set(x_1270, 1, x_1269); +x_1271 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_1272 = l_Lean_addMacroScope(x_1165, x_1271, x_969); +x_1273 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +x_1274 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_1275 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1275, 0, x_966); +lean_ctor_set(x_1275, 1, x_1273); +lean_ctor_set(x_1275, 2, x_1272); +lean_ctor_set(x_1275, 3, x_1274); +x_1276 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_1277 = lean_array_push(x_1276, x_1263); +x_1278 = lean_array_push(x_1277, x_1270); +lean_inc(x_1243); +x_1279 = lean_array_push(x_1278, x_1243); +x_1280 = lean_array_push(x_1279, x_1275); +x_1281 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1281); +lean_ctor_set(x_1282, 1, x_1280); +x_1283 = lean_array_push(x_1261, x_1282); +x_1284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1284, 0, x_1176); +lean_ctor_set(x_1284, 1, x_1283); +x_1285 = lean_array_push(x_1174, x_1284); +x_1286 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_1287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1287, 0, x_1286); +lean_ctor_set(x_1287, 1, x_1285); +x_1288 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_1289 = lean_array_push(x_1288, x_1252); +x_1290 = lean_array_push(x_1289, x_1206); +x_1291 = lean_array_push(x_1290, x_1257); +x_1292 = lean_array_push(x_1291, x_1206); +x_1293 = lean_array_push(x_1292, x_1259); +x_1294 = lean_array_push(x_1293, x_1287); +x_1295 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; +x_1296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1296, 0, x_1295); +lean_ctor_set(x_1296, 1, x_1294); +x_1297 = lean_array_push(x_1191, x_1250); +lean_inc(x_1243); +x_1298 = lean_array_push(x_1297, x_1243); +x_1299 = lean_array_push(x_1298, x_1296); +x_1300 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_1301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1301, 0, x_1300); +lean_ctor_set(x_1301, 1, x_1299); +x_1302 = lean_array_push(x_1178, x_1230); +lean_inc(x_1302); +x_1303 = lean_array_push(x_1302, x_1301); +x_1304 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_1305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1305, 0, x_1304); +lean_ctor_set(x_1305, 1, x_1303); +x_1306 = lean_array_push(x_1178, x_1238); +x_1307 = lean_array_push(x_1306, x_1305); +x_1308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1308, 0, x_1176); +lean_ctor_set(x_1308, 1, x_1307); +x_1309 = lean_array_push(x_1178, x_1248); +x_1310 = lean_array_push(x_1309, x_1308); +x_1311 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125; +x_1312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1312, 0, x_1311); +lean_ctor_set(x_1312, 1, x_1310); +x_1313 = lean_array_push(x_1191, x_1241); +x_1314 = lean_array_push(x_1313, x_1243); +x_1315 = lean_array_push(x_1314, x_1312); +x_1316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1316, 0, x_1300); +lean_ctor_set(x_1316, 1, x_1315); +x_1317 = lean_array_push(x_1302, x_1316); +x_1318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1318, 0, x_1304); +lean_ctor_set(x_1318, 1, x_1317); +x_1319 = lean_array_push(x_1191, x_1228); +x_1320 = lean_array_push(x_1319, x_1318); +x_1321 = lean_array_push(x_1320, x_1206); +x_1322 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_1323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1321); +x_1324 = lean_array_push(x_1276, x_1200); +x_1325 = lean_array_push(x_1324, x_1209); +x_1326 = lean_array_push(x_1325, x_1226); +x_1327 = lean_array_push(x_1326, x_1323); +x_1328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +x_1329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1329, 0, x_1328); +lean_ctor_set(x_1329, 1, x_1327); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; +x_1330 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_1331 = lean_array_push(x_1330, x_1198); +x_1332 = lean_array_push(x_1331, x_1206); +x_1333 = lean_array_push(x_1332, x_1206); +x_1334 = lean_array_push(x_1333, x_1206); +x_1335 = lean_array_push(x_1334, x_1206); +x_1336 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1337, 0, x_1336); +lean_ctor_set(x_1337, 1, x_1335); +x_1338 = lean_array_push(x_1178, x_1337); +x_1339 = lean_array_push(x_1338, x_1329); +x_1340 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_1341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1341, 0, x_1340); +lean_ctor_set(x_1341, 1, x_1339); +x_1342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1166); +return x_1342; +} +else +{ +lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; +x_1343 = lean_ctor_get(x_4, 0); +lean_inc(x_1343); +lean_dec(x_4); +x_1344 = lean_array_push(x_1174, x_1343); +x_1345 = l_Array_append___rarg(x_1260, x_1344); +lean_dec(x_1344); +x_1346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1346, 0, x_1176); +lean_ctor_set(x_1346, 1, x_1345); +x_1347 = lean_array_push(x_1288, x_1346); +x_1348 = lean_array_push(x_1347, x_1198); +x_1349 = lean_array_push(x_1348, x_1206); +x_1350 = lean_array_push(x_1349, x_1206); +x_1351 = lean_array_push(x_1350, x_1206); +x_1352 = lean_array_push(x_1351, x_1206); +x_1353 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1354, 0, x_1353); +lean_ctor_set(x_1354, 1, x_1352); +x_1355 = lean_array_push(x_1178, x_1354); +x_1356 = lean_array_push(x_1355, x_1329); +x_1357 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_1358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1358, 0, x_1357); +lean_ctor_set(x_1358, 1, x_1356); +x_1359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1359, 0, x_1358); +lean_ctor_set(x_1359, 1, x_1166); +return x_1359; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules command, specify category using `elab_rules : ...`"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux(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; size_t 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 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = x_6; +x_13 = lean_box_usize(x_11); +x_14 = l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___boxed), 7, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_13); +lean_closure_set(x_15, 2, x_14); +lean_closure_set(x_15, 3, x_12); +x_16 = x_15; +lean_inc(x_8); +lean_inc(x_7); +x_17 = lean_apply_3(x_16, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_dec(x_3); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Elab_Command_elabElabRulesAux___closed__2; +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_19, x_7, x_8, x_18); +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_dec(x_17); +x_27 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_28 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_25, x_1, x_27, x_7, x_8, x_26); +lean_dec(x_8); +lean_dec(x_25); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_17, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_17, 1); +lean_inc(x_30); +lean_dec(x_17); +x_31 = lean_ctor_get(x_4, 0); +x_32 = l_Lean_Syntax_getId(x_31); +x_33 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_29, x_1, x_32, x_7, x_8, x_30); +lean_dec(x_8); +lean_dec(x_29); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_17); +if (x_34 == 0) +{ +return x_17; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_17, 0); +x_36 = lean_ctor_get(x_17, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_17); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__2(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__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_7); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4___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_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux___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_Command_elabElabRulesAux(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_2); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(6u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_15 = lean_name_mk_string(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_13, x_18); +lean_dec(x_13); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = l_Lean_Syntax_getId(x_3); +lean_inc(x_9); +x_22 = l_Lean_Elab_Command_resolveSyntaxKind(x_21, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Command_elabElabRulesAux(x_4, x_5, x_23, x_6, x_8, x_20, x_9, x_10, x_24); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +return x_22; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 0); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_22); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(5u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(2u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_12, x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_21, x_20, x_8, x_9, x_10); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_12); +x_23 = lean_box(0); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_24, x_23, x_8, x_9, x_10); +return x_25; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elab_rules"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(7u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("kind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_9, x_10, 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_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_Command_getMainModule___rarg(x_10, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_19 = x_17; +} else { + lean_dec_ref(x_17); + x_19 = lean_box(0); +} +x_20 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +lean_inc(x_13); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_23 = l_Array_append___rarg(x_22, x_8); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_27 = lean_array_push(x_26, x_25); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +if (lean_obj_tag(x_6) == 0) +{ +x_29 = x_22; +goto block_85; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_6, 0); +lean_inc(x_86); +lean_dec(x_6); +x_87 = lean_array_push(x_26, x_86); +x_29 = x_87; +goto block_85; +} +block_85: +{ +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; +x_30 = l_Array_append___rarg(x_22, x_29); +lean_dec(x_29); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_33 = lean_array_push(x_32, x_31); +x_34 = lean_array_push(x_33, x_2); +x_35 = lean_array_push(x_34, x_21); +if (lean_obj_tag(x_7) == 0) +{ +x_36 = x_22; +goto block_68; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_69 = lean_ctor_get(x_7, 0); +lean_inc(x_69); +lean_dec(x_7); +x_70 = lean_mk_syntax_ident(x_69); +x_71 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; +lean_inc(x_13); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_13); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; +lean_inc(x_13); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_13); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_13); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_13); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +lean_inc(x_13); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_13); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; +x_80 = lean_array_push(x_79, x_72); +x_81 = lean_array_push(x_80, x_74); +x_82 = lean_array_push(x_81, x_76); +x_83 = lean_array_push(x_82, x_70); +x_84 = lean_array_push(x_83, x_78); +x_36 = x_84; +goto block_68; +} +block_68: +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = l_Array_append___rarg(x_22, x_36); +lean_dec(x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_24); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_array_push(x_35, x_38); +if (lean_obj_tag(x_5) == 0) +{ +x_40 = x_22; +goto block_61; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_62 = lean_ctor_get(x_5, 0); +lean_inc(x_62); +lean_dec(x_5); +x_63 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_13); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_13); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_66 = lean_array_push(x_65, x_64); +x_67 = lean_array_push(x_66, x_62); +x_40 = x_67; +goto block_61; +} +block_61: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = l_Array_append___rarg(x_22, x_40); +lean_dec(x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_24); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_array_push(x_39, x_42); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_13); +x_44 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; +x_45 = lean_array_push(x_43, x_44); +x_46 = lean_array_push(x_45, x_28); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_46); +if (lean_is_scalar(x_19)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_19; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_18); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_49 = lean_ctor_get(x_3, 0); +lean_inc(x_49); +lean_dec(x_3); +x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_13); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_53 = lean_array_push(x_52, x_51); +x_54 = lean_array_push(x_53, x_49); +x_55 = l_Array_append___rarg(x_22, x_54); +lean_dec(x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_24); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_43, x_56); +x_58 = lean_array_push(x_57, x_28); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_4); +lean_ctor_set(x_59, 1, x_58); +if (lean_is_scalar(x_19)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_19; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_18); +return x_60; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(6u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_15 = lean_name_mk_string(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_13, x_18); +lean_dec(x_13); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__3___boxed), 11, 6); +lean_closure_set(x_21, 0, x_15); +lean_closure_set(x_21, 1, x_3); +lean_closure_set(x_21, 2, x_8); +lean_closure_set(x_21, 3, x_4); +lean_closure_set(x_21, 4, x_5); +lean_closure_set(x_21, 5, x_6); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_23 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_20, x_22, x_21, x_9, x_10, x_11); +lean_dec(x_20); +return x_23; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(5u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(2u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_12, x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_21, x_20, x_8, x_9, x_10); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_12); +x_23 = lean_box(0); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_24, x_23, x_8, x_9, x_10); +return x_25; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; +x_12 = lean_name_mk_string(x_2, x_11); +x_13 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_12); +x_14 = lean_name_mk_string(x_12, x_13); +lean_inc(x_10); +x_15 = l_Lean_Syntax_isOfKind(x_10, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_nullKind; +x_20 = lean_unsigned_to_nat(0u); +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +lean_dec(x_3); +x_22 = lean_unsigned_to_nat(5u); +lean_inc(x_18); +x_23 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_8); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = l_Lean_Syntax_getArg(x_18, x_17); +lean_dec(x_18); +x_26 = lean_unsigned_to_nat(4u); +x_27 = l_Lean_Syntax_getArg(x_1, x_26); +x_28 = l_Lean_Syntax_isNone(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_unsigned_to_nat(2u); +lean_inc(x_27); +x_30 = l_Lean_Syntax_isNodeOf(x_27, x_19, x_29); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_8); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = l_Lean_Syntax_getArg(x_27, x_9); +lean_dec(x_27); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_34, x_33, x_6, x_7, x_8); +lean_dec(x_33); +lean_dec(x_10); +lean_dec(x_25); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_27); +x_36 = lean_box(0); +x_37 = lean_box(0); +x_38 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_37, x_36, x_6, x_7, x_8); +lean_dec(x_10); +lean_dec(x_25); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_18); +x_39 = lean_unsigned_to_nat(4u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +x_41 = l_Lean_Syntax_isNone(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_unsigned_to_nat(2u); +lean_inc(x_40); +x_43 = l_Lean_Syntax_isNodeOf(x_40, x_19, x_42); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_40); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_8); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = l_Lean_Syntax_getArg(x_40, x_9); +lean_dec(x_40); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_box(0); +x_48 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_47, x_46, x_6, x_7, x_8); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_40); +x_49 = lean_box(0); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_50, x_49, x_6, x_7, x_8); +return x_51; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object* 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 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_16 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg(x_4); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_20, x_5, x_21, x_19, x_2, x_3, x_4); +lean_dec(x_1); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +x_23 = lean_box(0); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_24, x_5, x_25, x_23, x_2, x_3, x_4); +lean_dec(x_1); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__7), 4, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_Command_elabElabRules___closed__1; +x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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_Lean_Elab_Command_elabElabRules___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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabElabRules___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabElabRules___lambda__4(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_7); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabElabRules"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +x_2 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_3 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +lean_inc(x_4); +x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 5); +x_5 = l_Lean_mkIdentFrom(x_4, x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedName"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("name"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPrio"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("priority"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quot"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precedence"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__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, 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) { +_start: +{ +lean_object* x_21; +lean_inc(x_19); +x_21 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_19, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = 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_box_usize(x_2); +x_25 = lean_box_usize(x_3); +x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2___boxed), 5, 3); +lean_closure_set(x_26, 0, x_24); +lean_closure_set(x_26, 1, x_25); +lean_closure_set(x_26, 2, x_4); +x_27 = x_26; +lean_inc(x_19); +x_28 = lean_apply_2(x_27, x_19, x_23); +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_19); +x_31 = l_Lean_Macro_getCurrNamespace(x_19, 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; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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; size_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +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); +lean_inc(x_18); +x_34 = l_Lean_Name_append(x_32, x_18); +lean_dec(x_32); +lean_inc(x_5); +x_35 = lean_array_push(x_5, x_22); +x_36 = l_Array_append___rarg(x_35, x_29); +lean_dec(x_29); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3(x_18, x_19, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_19, x_40); +lean_dec(x_19); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +x_45 = l_Lean_Elab_Command_expandElab___lambda__1___closed__1; +lean_inc(x_6); +x_46 = lean_name_mk_string(x_6, x_45); +lean_inc(x_42); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_Command_expandElab___lambda__1___closed__2; +lean_inc(x_6); +x_49 = lean_name_mk_string(x_6, x_48); +x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; +lean_inc(x_42); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_42); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Command_expandElab___lambda__1___closed__3; +lean_inc(x_42); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_42); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_42); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +lean_inc(x_42); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_42); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; +x_59 = lean_array_push(x_58, x_51); +lean_inc(x_59); +x_60 = lean_array_push(x_59, x_53); +lean_inc(x_55); +x_61 = lean_array_push(x_60, x_55); +x_62 = lean_array_push(x_61, x_39); +lean_inc(x_57); +x_63 = lean_array_push(x_62, x_57); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_49); +lean_ctor_set(x_64, 1, x_63); +lean_inc(x_5); +x_65 = lean_array_push(x_5, x_64); +x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Lean_Elab_Command_expandElab___lambda__1___closed__4; +lean_inc(x_6); +x_69 = lean_name_mk_string(x_6, x_68); +x_70 = l_Lean_Elab_Command_expandElab___lambda__1___closed__5; +lean_inc(x_42); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_42); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Nat_repr(x_7); +x_73 = l_Lean_numLitKind; +x_74 = lean_box(2); +x_75 = l_Lean_Syntax_mkLit(x_73, x_72, x_74); +x_76 = lean_array_push(x_59, x_71); +x_77 = lean_array_push(x_76, x_55); +x_78 = lean_array_push(x_77, x_75); +lean_inc(x_57); +x_79 = lean_array_push(x_78, x_57); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_69); +lean_ctor_set(x_80, 1, x_79); +lean_inc(x_5); +x_81 = lean_array_push(x_5, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_66); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_get_size(x_8); +x_84 = lean_usize_of_nat(x_83); +lean_dec(x_83); +x_85 = x_8; +x_86 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_84, x_3, x_85); +x_87 = x_86; +x_88 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_89 = l_Array_append___rarg(x_88, x_87); +lean_dec(x_87); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_66); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_42); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_42); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_94 = lean_name_mk_string(x_6, x_93); +x_95 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +lean_inc(x_5); +x_96 = lean_array_push(x_5, x_95); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_9); +lean_ctor_set(x_97, 1, x_96); +lean_inc(x_42); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_42); +lean_ctor_set(x_98, 1, x_93); +x_99 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +lean_inc(x_92); +x_100 = lean_array_push(x_99, x_92); +lean_inc(x_10); +lean_inc(x_100); +x_101 = lean_array_push(x_100, x_10); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_66); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +lean_inc(x_11); +x_104 = lean_name_mk_string(x_11, x_103); +x_105 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7; +lean_inc(x_11); +x_106 = lean_name_mk_string(x_11, x_105); +x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_42); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_42); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandElab___lambda__1___closed__7; +x_110 = lean_name_mk_string(x_11, x_109); +x_111 = l_Lean_Elab_Command_expandElab___lambda__1___closed__8; +lean_inc(x_42); +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_42); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_114 = lean_array_push(x_113, x_112); +x_115 = lean_array_push(x_114, x_37); +x_116 = lean_array_push(x_115, x_57); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_110); +lean_ctor_set(x_117, 1, x_116); +lean_inc(x_5); +x_118 = lean_array_push(x_5, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_66); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_42); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_42); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_123 = lean_array_push(x_122, x_108); +x_124 = lean_array_push(x_123, x_119); +x_125 = lean_array_push(x_124, x_121); +x_126 = lean_array_push(x_125, x_12); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_106); +lean_ctor_set(x_127, 1, x_126); +lean_inc(x_5); +x_128 = lean_array_push(x_5, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_66); +lean_ctor_set(x_129, 1, x_128); +lean_inc(x_5); +x_130 = lean_array_push(x_5, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_104); +lean_ctor_set(x_131, 1, x_130); +if (lean_obj_tag(x_17) == 0) +{ +x_132 = x_88; +goto block_183; +} +else +{ +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_17, 0); +lean_inc(x_184); +lean_dec(x_17); +lean_inc(x_5); +x_185 = lean_array_push(x_5, x_184); +x_132 = x_185; +goto block_183; +} +block_183: +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_133 = l_Array_append___rarg(x_88, x_132); +lean_dec(x_132); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_66); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_expandElab___lambda__1___closed__6; +lean_inc(x_134); +x_136 = lean_array_push(x_135, x_134); +x_137 = lean_array_push(x_136, x_13); +x_138 = lean_array_push(x_137, x_47); +x_139 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_97); +x_142 = lean_array_push(x_141, x_98); +x_143 = lean_array_push(x_142, x_95); +x_144 = lean_array_push(x_143, x_102); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec(x_100); +lean_dec(x_16); +lean_dec(x_5); +x_145 = x_88; +goto block_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_177 = lean_ctor_get(x_15, 0); +lean_inc(x_177); +lean_dec(x_15); +x_178 = l_Lean_Elab_Command_expandElab___lambda__1___closed__9; +x_179 = lean_name_mk_string(x_16, x_178); +x_180 = lean_array_push(x_100, x_177); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_array_push(x_5, x_181); +x_145 = x_182; +goto block_176; +} +block_176: +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_146 = l_Array_append___rarg(x_88, x_145); +lean_dec(x_145); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_66); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_array_push(x_138, x_147); +x_149 = lean_array_push(x_148, x_67); +x_150 = lean_array_push(x_149, x_82); +x_151 = lean_array_push(x_150, x_90); +x_152 = lean_array_push(x_151, x_92); +x_153 = lean_array_push(x_152, x_10); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_46); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_99, x_154); +if (lean_obj_tag(x_14) == 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_dec(x_42); +x_156 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; +x_157 = lean_array_push(x_144, x_156); +x_158 = lean_array_push(x_157, x_131); +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 = lean_array_push(x_155, x_159); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_66); +lean_ctor_set(x_161, 1, x_160); +if (lean_is_scalar(x_44)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_44; +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_43); +return x_162; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_163 = lean_ctor_get(x_14, 0); +lean_inc(x_163); +lean_dec(x_14); +x_164 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_165, 0, x_42); +lean_ctor_set(x_165, 1, x_164); +x_166 = lean_array_push(x_99, x_165); +x_167 = lean_array_push(x_166, x_163); +x_168 = l_Array_append___rarg(x_88, x_167); +lean_dec(x_167); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_66); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_array_push(x_144, x_169); +x_171 = lean_array_push(x_170, x_131); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_94); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_push(x_155, x_172); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_66); +lean_ctor_set(x_174, 1, x_173); +if (lean_is_scalar(x_44)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_44; +} +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_43); +return x_175; +} +} +} +} +else +{ +uint8_t x_186; +lean_dec(x_29); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_6); +lean_dec(x_5); +x_186 = !lean_is_exclusive(x_31); +if (x_186 == 0) +{ +return x_31; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_31, 0); +x_188 = lean_ctor_get(x_31, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_31); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +return x_189; +} +} +} +else +{ +uint8_t x_190; +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_6); +lean_dec(x_5); +x_190 = !lean_is_exclusive(x_28); +if (x_190 == 0) +{ +return x_28; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_28, 0); +x_192 = lean_ctor_get(x_28, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_28); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} +} +} +else +{ +uint8_t x_194; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_6); +lean_dec(x_5); +lean_dec(x_4); +x_194 = !lean_is_exclusive(x_21); +if (x_194 == 0) +{ +return x_21; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_21, 0); +x_196 = lean_ctor_get(x_21, 1); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_21); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandElab___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_unsigned_to_nat(4u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_Syntax_getArgs(x_2); +lean_inc(x_16); +x_21 = l_Lean_evalOptPrio(x_3, x_16, x_17); +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, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_4); +x_24 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_4, x_16, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_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_array_get_size(x_20); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +x_30 = x_20; +x_31 = lean_box_usize(x_28); +x_32 = l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; +lean_inc(x_30); +x_33 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed), 5, 3); +lean_closure_set(x_33, 0, x_31); +lean_closure_set(x_33, 1, x_32); +lean_closure_set(x_33, 2, x_30); +x_34 = x_33; +lean_inc(x_16); +x_35 = lean_apply_2(x_34, x_16, x_26); +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, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_39 = lean_array_push(x_38, x_25); +x_40 = l_Array_append___rarg(x_39, x_36); +lean_dec(x_36); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = l_Lean_Syntax_getId(x_7); +x_42 = l_Lean_nullKind; +lean_inc(x_40); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +lean_inc(x_16); +x_44 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_41, x_43, x_16, x_37); +lean_dec(x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_45, x_16, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_40); +lean_dec(x_30); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +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_6); +lean_dec(x_5); +lean_dec(x_4); +x_48 = !lean_is_exclusive(x_44); +if (x_48 == 0) +{ +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_44); +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; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_13, 0); +x_53 = l_Lean_Syntax_getId(x_52); +x_54 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_53, x_16, x_37); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_dec(x_30); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +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_6); +lean_dec(x_5); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_35); +if (x_55 == 0) +{ +return x_35; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_35, 0); +x_57 = lean_ctor_get(x_35, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_35); +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; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +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_6); +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_24); +if (x_59 == 0) +{ +return x_24; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_24, 0); +x_61 = lean_ctor_get(x_24, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_24); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +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_6); +lean_dec(x_5); +lean_dec(x_4); +x_63 = !lean_is_exclusive(x_21); +if (x_63 == 0) +{ +return x_21; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_21, 0); +x_65 = lean_ctor_get(x_21, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_21); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabTail"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(6u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Elab_Command_expandElab___lambda__3___closed__1; +lean_inc(x_2); +x_17 = lean_name_mk_string(x_2, x_16); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +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_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_unsigned_to_nat(7u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +x_23 = lean_unsigned_to_nat(8u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Elab_Command_expandElab___lambda__3___closed__2; +lean_inc(x_2); +x_26 = lean_name_mk_string(x_2, x_25); +lean_inc(x_24); +x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +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_28 = lean_box(1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_unsigned_to_nat(1u); +x_31 = l_Lean_Syntax_getArg(x_24, x_30); +x_32 = lean_unsigned_to_nat(2u); +x_33 = l_Lean_Syntax_getArg(x_24, x_32); +x_34 = l_Lean_Syntax_isNone(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_nullKind; +lean_inc(x_33); +x_36 = l_Lean_Syntax_isNodeOf(x_33, x_35, x_32); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +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(1); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_13); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = l_Lean_Syntax_getArg(x_33, x_30); +lean_dec(x_33); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_box(0); +x_42 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_41, x_40, x_12, x_13); +lean_dec(x_22); +lean_dec(x_24); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_33); +x_43 = lean_box(0); +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_44, x_43, x_12, x_13); +lean_dec(x_22); +lean_dec(x_24); +return x_45; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_unsigned_to_nat(5u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Syntax_isNone(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_nullKind; +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_11); +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_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_14, x_21); +lean_dec(x_14); +x_23 = l_Lean_Elab_Command_expandElab___lambda__1___closed__4; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_22); +x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_11); +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_26 = lean_box(1); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_22, x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_14); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); +return x_35; +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_nullKind; +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_13); +x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +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_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_13, x_20); +lean_dec(x_13); +x_22 = l_Lean_Elab_Command_expandElab___lambda__1___closed__2; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +lean_inc(x_21); +x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_9); +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(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_unsigned_to_nat(3u); +x_28 = l_Lean_Syntax_getArg(x_21, x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_30, x_29, x_10, x_11); +lean_dec(x_29); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_13); +x_32 = lean_box(0); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_33, x_32, x_10, x_11); +return x_34; +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; +lean_inc(x_2); +x_11 = lean_name_mk_string(x_2, x_10); +x_12 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_11); +x_13 = lean_name_mk_string(x_11, x_12); +lean_inc(x_9); +x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_nullKind; +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 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; lean_object* x_27; uint8_t x_28; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); +lean_dec(x_18); +x_26 = l_Lean_Elab_Command_expandElab___lambda__1___closed__9; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +lean_inc(x_25); +x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_Syntax_getArg(x_25, x_8); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_33, x_32, x_6, x_7); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_18); +x_35 = lean_box(0); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_36, x_35, x_6, x_7); +return x_37; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_expandElab___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandElab(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_Elab_Command_expandElab___closed__2; +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; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_17 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_16); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_23 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); +lean_dec(x_1); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_9); +x_26 = lean_box(0); +x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_28 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); +lean_dec(x_1); +return x_30; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__2(x_6, x_7, x_3, x_4, x_5); +return x_8; +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab___spec__3(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +size_t x_21; size_t x_22; lean_object* x_23; +x_21 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_22 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_23 = l_Lean_Elab_Command_expandElab___lambda__1(x_1, x_21, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +return x_23; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Lean_Elab_Command_expandElab___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, x_14, x_15, x_16, x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Command_expandElab___lambda__3(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_10); +lean_dec(x_9); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandElab___lambda__5(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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expandElab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +x_2 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandElab), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Elab_Command_expandElab___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_MacroArgUtil(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_ElabRules(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_MacroArgUtil(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__1); +l_Lean_Elab_Command_withExpectedType___closed__2 = _init_l_Lean_Elab_Command_withExpectedType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__2); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__8); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__9); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__10); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__12); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__13 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__13(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__13); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__14); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__15); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__109); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132); +l_Lean_Elab_Command_elabElabRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__1); +l_Lean_Elab_Command_elabElabRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__2); +l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7); +l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1); +l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2); +l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3); +l_Lean_Elab_Command_elabElabRules___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3); +res = l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_expandElab___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__1); +l_Lean_Elab_Command_expandElab___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__2); +l_Lean_Elab_Command_expandElab___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__3); +l_Lean_Elab_Command_expandElab___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__4); +l_Lean_Elab_Command_expandElab___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__5); +l_Lean_Elab_Command_expandElab___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__6); +l_Lean_Elab_Command_expandElab___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__7); +l_Lean_Elab_Command_expandElab___lambda__1___closed__8 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__8); +l_Lean_Elab_Command_expandElab___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandElab___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__1___closed__9); +l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1); +l_Lean_Elab_Command_expandElab___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__3___closed__1); +l_Lean_Elab_Command_expandElab___lambda__3___closed__2 = _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__3___closed__2); +l_Lean_Elab_Command_expandElab___closed__1 = _init_l_Lean_Elab_Command_expandElab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__1); +l_Lean_Elab_Command_expandElab___closed__2 = _init_l_Lean_Elab_Command_expandElab___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__2); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__1); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__2); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__3); +res = l___regBuiltin_Lean_Elab_Command_expandElab(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index 9261334dd9..d824ed88c3 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -35,7 +35,6 @@ static lean_object* l_Lean_Elab_Term_elabBinOp___closed__2; static lean_object* l_Lean_Elab_Term_elabForIn___closed__20; static lean_object* l_Lean_Elab_Term_elabBinOp___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabBinOp___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_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__8; @@ -74,6 +73,7 @@ static lean_object* l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; lean_object* l_Lean_Elab_Term_elabBinOp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_getMonad___closed__6; +lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__17; static lean_object* l_Lean_Elab_Term_elabBinOp___closed__5; static lean_object* l_Lean_Elab_Term_elabBinOp___closed__3; @@ -107,7 +107,6 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__11; lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__4; -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___closed__1; lean_object* l_Lean_Elab_Term_elabBinOp_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__8; @@ -125,6 +124,7 @@ lean_object* l_Lean_Elab_Term_elabBinRel_match__1___rarg(lean_object*, lean_obje static lean_object* l_Lean_Elab_Term_elabForIn___closed__6; lean_object* l_Lean_Elab_Term_elabBinRel_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__9; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__21; @@ -704,8 +704,11 @@ x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = l_Lean_Elab_Term_elabBinRel___closed__1; x_13 = 0; +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_11); x_14 = l_Lean_Elab_Term_resolveId_x3f(x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -2749,77 +2752,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinOp_match__2___rarg), 3, return x_2; } } -lean_object* l_Lean_Elab_Term_elabBinOp___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; -} -} -} static lean_object* _init_l_Lean_Elab_Term_elabBinOp___closed__1() { _start: { @@ -2905,7 +2837,7 @@ x_17 = lean_unsigned_to_nat(3u); x_18 = l_Lean_Syntax_getArg(x_1, x_17); if (lean_obj_tag(x_2) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_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; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_9); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); @@ -2932,121 +2864,112 @@ 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_box(0); +x_35 = 1; +x_36 = lean_box(x_35); +x_37 = lean_box(x_35); lean_inc(x_33); -lean_inc(x_1); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinOp___lambda__1), 10, 3); -lean_closure_set(x_35, 0, x_1); -lean_closure_set(x_35, 1, x_33); -lean_closure_set(x_35, 2, x_34); -x_36 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_33, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -return x_36; +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_38, 0, x_33); +lean_closure_set(x_38, 1, x_34); +lean_closure_set(x_38, 2, x_36); +lean_closure_set(x_38, 3, x_37); +x_39 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_33, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +return x_39; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_2, 0); -x_38 = l_Lean_Elab_Term_elabBinRel___closed__1; -x_39 = 0; +lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_2, 0); +x_41 = l_Lean_Elab_Term_elabBinRel___closed__1; +x_42 = 0; +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_40 = l_Lean_Elab_Term_resolveId_x3f(x_14, x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_40) == 0) +x_43 = l_Lean_Elab_Term_resolveId_x3f(x_14, x_41, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) +lean_object* x_44; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_dec(x_18); lean_dec(x_16); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Syntax_getArg(x_1, x_13); -lean_dec(x_1); -x_44 = l_Lean_Syntax_getId(x_43); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); lean_dec(x_43); -x_45 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___spec__1(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_46 = l_Lean_Syntax_getArg(x_1, x_13); +lean_dec(x_1); +x_47 = l_Lean_Syntax_getId(x_46); +lean_dec(x_46); +x_48 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___spec__1(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_45); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_45; +return x_48; } else { -lean_object* x_46; uint8_t x_47; +lean_object* x_49; uint8_t x_50; lean_dec(x_1); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_dec(x_40); -x_47 = !lean_is_exclusive(x_41); -if (x_47 == 0) +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +x_50 = !lean_is_exclusive(x_44); +if (x_50 == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_48 = lean_ctor_get(x_41, 0); -x_49 = lean_st_ref_get(x_8, x_46); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_get(x_4, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); +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; uint8_t x_63; +x_51 = lean_ctor_get(x_44, 0); +x_52 = lean_st_ref_get(x_8, x_49); +x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); lean_dec(x_52); -x_55 = lean_st_ref_get(x_8, x_53); -x_56 = lean_ctor_get(x_55, 1); +x_54 = lean_st_ref_get(x_4, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); lean_dec(x_55); -x_57 = lean_st_ref_take(x_4, x_56); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); +x_58 = lean_st_ref_get(x_8, x_56); +x_59 = lean_ctor_get(x_58, 1); lean_inc(x_59); -lean_dec(x_57); -x_60 = !lean_is_exclusive(x_58); -if (x_60 == 0) +lean_dec(x_58); +x_60 = lean_st_ref_take(x_4, x_59); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -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_97; lean_object* x_98; uint8_t x_125; lean_object* x_126; -x_61 = lean_ctor_get(x_58, 1); -lean_dec(x_61); -x_62 = lean_box(0); -lean_ctor_set(x_58, 1, x_62); -x_63 = lean_st_ref_set(x_4, x_58, x_59); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(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_100; lean_object* x_101; uint8_t x_128; lean_object* x_129; +x_64 = lean_ctor_get(x_61, 1); +lean_dec(x_64); x_65 = lean_box(0); -x_125 = 1; +lean_ctor_set(x_61, 1, x_65); +x_66 = lean_st_ref_set(x_4, x_61, x_62); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = lean_box(0); +x_128 = 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_126 = l_Lean_Elab_Term_elabTerm(x_16, x_65, x_125, x_125, x_3, x_4, x_5, x_6, x_7, x_8, x_64); -if (lean_obj_tag(x_126) == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -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_129 = l_Lean_Elab_Term_elabTerm(x_18, x_65, x_125, x_125, x_3, x_4, x_5, x_6, x_7, x_8, x_128); +x_129 = l_Lean_Elab_Term_elabTerm(x_16, x_68, x_128, x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_67); if (lean_obj_tag(x_129) == 0) { lean_object* x_130; lean_object* x_131; lean_object* x_132; @@ -3059,8 +2982,9 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_127); -x_132 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_127, x_5, x_6, x_7, x_8, x_131); +lean_inc(x_4); +lean_inc(x_3); +x_132 = l_Lean_Elab_Term_elabTerm(x_18, x_68, x_128, x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_131); if (lean_obj_tag(x_132) == 0) { lean_object* x_133; lean_object* x_134; lean_object* x_135; @@ -3077,546 +3001,545 @@ lean_inc(x_130); x_135 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_130, x_5, x_6, x_7, x_8, x_134); if (lean_obj_tag(x_135) == 0) { -uint8_t x_136; -x_136 = lean_unbox(x_133); -lean_dec(x_133); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_free_object(x_41); +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); x_137 = lean_ctor_get(x_135, 1); lean_inc(x_137); lean_dec(x_135); -x_138 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_138, 0, x_127); -x_139 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_139, 0, x_130); -x_140 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_141 = lean_array_push(x_140, x_138); -x_142 = lean_array_push(x_141, x_139); -x_143 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_133); +x_138 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_133, x_5, x_6, x_7, x_8, x_137); +if (lean_obj_tag(x_138) == 0) +{ +uint8_t x_139; +x_139 = lean_unbox(x_136); +lean_dec(x_136); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_free_object(x_44); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_141, 0, x_130); +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_133); +x_143 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_144 = lean_array_push(x_143, x_141); +x_145 = lean_array_push(x_144, x_142); +x_146 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_144 = l_Lean_Elab_Term_elabAppArgs(x_48, x_143, x_142, x_65, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_137); -if (lean_obj_tag(x_144) == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -lean_inc(x_8); -lean_inc(x_4); -x_147 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_146); +x_147 = l_Lean_Elab_Term_elabAppArgs(x_51, x_146, x_145, x_68, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_140); if (lean_obj_tag(x_147) == 0) { lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_147, 1); +x_148 = lean_ctor_get(x_147, 0); lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); lean_dec(x_147); -x_149 = lean_box(0); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_145); -lean_ctor_set(x_150, 1, x_149); -x_66 = x_150; -x_67 = x_148; -goto block_96; -} -else +lean_inc(x_8); +lean_inc(x_4); +x_150 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_149); +if (lean_obj_tag(x_150) == 0) { -lean_object* x_151; lean_object* x_152; -lean_dec(x_145); -x_151 = lean_ctor_get(x_147, 0); +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_150, 1); lean_inc(x_151); -x_152 = lean_ctor_get(x_147, 1); -lean_inc(x_152); -lean_dec(x_147); -x_97 = x_151; -x_98 = x_152; -goto block_124; +lean_dec(x_150); +x_152 = lean_box(0); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_148); +lean_ctor_set(x_153, 1, x_152); +x_69 = x_153; +x_70 = x_151; +goto block_99; +} +else +{ +lean_object* x_154; lean_object* x_155; +lean_dec(x_148); +x_154 = lean_ctor_get(x_150, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_150, 1); +lean_inc(x_155); +lean_dec(x_150); +x_100 = x_154; +x_101 = x_155; +goto block_127; } } else { -lean_object* x_153; lean_object* x_154; +lean_object* x_156; lean_object* x_157; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_153 = lean_ctor_get(x_144, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_144, 1); -lean_inc(x_154); -lean_dec(x_144); -x_97 = x_153; -x_98 = x_154; -goto block_124; +x_156 = lean_ctor_get(x_147, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_147, 1); +lean_inc(x_157); +lean_dec(x_147); +x_100 = x_156; +x_101 = x_157; +goto block_127; } } else { -lean_object* x_155; uint8_t x_156; -x_155 = lean_ctor_get(x_135, 0); -lean_inc(x_155); -x_156 = lean_unbox(x_155); -lean_dec(x_155); -if (x_156 == 0) +lean_object* x_158; uint8_t x_159; +x_158 = lean_ctor_get(x_138, 0); +lean_inc(x_158); +x_159 = lean_unbox(x_158); +lean_dec(x_158); +if (x_159 == 0) { -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_free_object(x_41); -x_157 = lean_ctor_get(x_135, 1); -lean_inc(x_157); -lean_dec(x_135); -x_158 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_158, 0, x_127); -x_159 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_159, 0, x_130); -x_160 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_161 = lean_array_push(x_160, x_158); -x_162 = lean_array_push(x_161, x_159); -x_163 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_free_object(x_44); +x_160 = lean_ctor_get(x_138, 1); +lean_inc(x_160); +lean_dec(x_138); +x_161 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_161, 0, x_130); +x_162 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_162, 0, x_133); +x_163 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_164 = lean_array_push(x_163, x_161); +x_165 = lean_array_push(x_164, x_162); +x_166 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_164 = l_Lean_Elab_Term_elabAppArgs(x_48, x_163, x_162, x_65, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_157); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -lean_inc(x_8); -lean_inc(x_4); -x_167 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_166); +x_167 = l_Lean_Elab_Term_elabAppArgs(x_51, x_166, x_165, x_68, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_160); if (lean_obj_tag(x_167) == 0) { lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_167, 1); +x_168 = lean_ctor_get(x_167, 0); lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); lean_dec(x_167); -x_169 = lean_box(0); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_169); -x_66 = x_170; -x_67 = x_168; -goto block_96; -} -else -{ -lean_object* x_171; lean_object* x_172; -lean_dec(x_165); -x_171 = lean_ctor_get(x_167, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_167, 1); -lean_inc(x_172); -lean_dec(x_167); -x_97 = x_171; -x_98 = x_172; -goto block_124; -} -} -else -{ -lean_object* x_173; lean_object* x_174; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_173 = lean_ctor_get(x_164, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_164, 1); -lean_inc(x_174); -lean_dec(x_164); -x_97 = x_173; -x_98 = x_174; -goto block_124; -} -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_175 = lean_ctor_get(x_135, 1); -lean_inc(x_175); -lean_dec(x_135); -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_127); -x_177 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_177, 0, x_130); -x_178 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_179 = lean_array_push(x_178, x_176); -x_180 = lean_array_push(x_179, x_177); -lean_inc(x_37); -lean_ctor_set(x_41, 0, x_37); -x_181 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; lean_inc(x_8); lean_inc(x_4); -x_182 = l_Lean_Elab_Term_elabAppArgs(x_48, x_181, x_180, x_41, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_175); -if (lean_obj_tag(x_182) == 0) +x_170 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_169); +if (lean_obj_tag(x_170) == 0) { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = lean_box(0); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_185); -x_66 = x_186; -x_67 = x_184; -goto block_96; +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +lean_dec(x_170); +x_172 = lean_box(0); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_168); +lean_ctor_set(x_173, 1, x_172); +x_69 = x_173; +x_70 = x_171; +goto block_99; } else { -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_182, 0); +lean_object* x_174; lean_object* x_175; +lean_dec(x_168); +x_174 = lean_ctor_get(x_170, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +x_100 = x_174; +x_101 = x_175; +goto block_127; +} +} +else +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_176 = lean_ctor_get(x_167, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_167, 1); +lean_inc(x_177); +lean_dec(x_167); +x_100 = x_176; +x_101 = x_177; +goto block_127; +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_178 = lean_ctor_get(x_138, 1); +lean_inc(x_178); +lean_dec(x_138); +x_179 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_179, 0, x_130); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_133); +x_181 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_182 = lean_array_push(x_181, x_179); +x_183 = lean_array_push(x_182, x_180); +lean_inc(x_40); +lean_ctor_set(x_44, 0, x_40); +x_184 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_4); +x_185 = l_Lean_Elab_Term_elabAppArgs(x_51, x_184, x_183, x_44, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_178); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); -x_188 = lean_ctor_get(x_182, 1); -lean_inc(x_188); -lean_dec(x_182); -x_97 = x_187; -x_98 = x_188; -goto block_124; +lean_dec(x_185); +x_188 = lean_box(0); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_188); +x_69 = x_189; +x_70 = x_187; +goto block_99; +} +else +{ +lean_object* x_190; lean_object* x_191; +x_190 = lean_ctor_get(x_185, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_185, 1); +lean_inc(x_191); +lean_dec(x_185); +x_100 = x_190; +x_101 = x_191; +goto block_127; } } } } else { -lean_object* x_189; lean_object* x_190; +lean_object* x_192; lean_object* x_193; +lean_dec(x_136); lean_dec(x_133); lean_dec(x_130); -lean_dec(x_127); -lean_free_object(x_41); -lean_dec(x_48); +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_189 = lean_ctor_get(x_135, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_135, 1); -lean_inc(x_190); -lean_dec(x_135); -x_97 = x_189; -x_98 = x_190; -goto block_124; -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_130); -lean_dec(x_127); -lean_free_object(x_41); -lean_dec(x_48); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_191 = lean_ctor_get(x_132, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_132, 1); +x_192 = lean_ctor_get(x_138, 0); lean_inc(x_192); -lean_dec(x_132); -x_97 = x_191; -x_98 = x_192; -goto block_124; +x_193 = lean_ctor_get(x_138, 1); +lean_inc(x_193); +lean_dec(x_138); +x_100 = x_192; +x_101 = x_193; +goto block_127; } } else { -lean_object* x_193; lean_object* x_194; -lean_dec(x_127); -lean_free_object(x_41); -lean_dec(x_48); +lean_object* x_194; lean_object* x_195; +lean_dec(x_133); +lean_dec(x_130); +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_193 = lean_ctor_get(x_129, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_129, 1); +x_194 = lean_ctor_get(x_135, 0); lean_inc(x_194); -lean_dec(x_129); -x_97 = x_193; -x_98 = x_194; -goto block_124; +x_195 = lean_ctor_get(x_135, 1); +lean_inc(x_195); +lean_dec(x_135); +x_100 = x_194; +x_101 = x_195; +goto block_127; } } else { -lean_object* x_195; lean_object* x_196; -lean_free_object(x_41); -lean_dec(x_48); +lean_object* x_196; lean_object* x_197; +lean_dec(x_130); +lean_free_object(x_44); +lean_dec(x_51); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_196 = lean_ctor_get(x_132, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_132, 1); +lean_inc(x_197); +lean_dec(x_132); +x_100 = x_196; +x_101 = x_197; +goto block_127; +} +} +else +{ +lean_object* x_198; lean_object* x_199; +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_18); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_195 = lean_ctor_get(x_126, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_126, 1); -lean_inc(x_196); -lean_dec(x_126); -x_97 = x_195; -x_98 = x_196; -goto block_124; +x_198 = lean_ctor_get(x_129, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_129, 1); +lean_inc(x_199); +lean_dec(x_129); +x_100 = x_198; +x_101 = x_199; +goto block_127; } -block_96: +block_99: { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_68 = lean_st_ref_get(x_8, x_67); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_71 = lean_st_ref_get(x_8, x_70); lean_dec(x_8); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_ref_take(x_4, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -lean_dec(x_70); -x_73 = !lean_is_exclusive(x_71); -if (x_73 == 0) +lean_dec(x_71); +x_73 = lean_st_ref_take(x_4, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = !lean_is_exclusive(x_74); +if (x_76 == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_74 = lean_ctor_get(x_71, 1); -x_75 = l_List_append___rarg(x_74, x_54); -lean_ctor_set(x_71, 1, x_75); -x_76 = lean_st_ref_set(x_4, x_71, x_72); +lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_77 = lean_ctor_get(x_74, 1); +x_78 = l_List_append___rarg(x_77, x_57); +lean_ctor_set(x_74, 1, x_78); +x_79 = lean_st_ref_set(x_4, x_74, x_75); lean_dec(x_4); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_ctor_get(x_66, 0); -lean_inc(x_79); -lean_dec(x_66); -lean_ctor_set(x_76, 0, x_79); -return x_76; +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_79, 0); +lean_dec(x_81); +x_82 = lean_ctor_get(x_69, 0); +lean_inc(x_82); +lean_dec(x_69); +lean_ctor_set(x_79, 0, x_82); +return x_79; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_81 = lean_ctor_get(x_66, 0); -lean_inc(x_81); -lean_dec(x_66); -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; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_79, 1); +lean_inc(x_83); +lean_dec(x_79); +x_84 = lean_ctor_get(x_69, 0); +lean_inc(x_84); +lean_dec(x_69); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +return x_85; } } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_83 = lean_ctor_get(x_71, 0); -x_84 = lean_ctor_get(x_71, 1); -x_85 = lean_ctor_get(x_71, 2); -x_86 = lean_ctor_get(x_71, 3); -x_87 = lean_ctor_get(x_71, 4); -x_88 = lean_ctor_get(x_71, 5); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_86 = lean_ctor_get(x_74, 0); +x_87 = lean_ctor_get(x_74, 1); +x_88 = lean_ctor_get(x_74, 2); +x_89 = lean_ctor_get(x_74, 3); +x_90 = lean_ctor_get(x_74, 4); +x_91 = lean_ctor_get(x_74, 5); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); lean_inc(x_88); lean_inc(x_87); lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_71); -x_89 = l_List_append___rarg(x_84, x_54); -x_90 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_90, 0, x_83); -lean_ctor_set(x_90, 1, x_89); -lean_ctor_set(x_90, 2, x_85); -lean_ctor_set(x_90, 3, x_86); -lean_ctor_set(x_90, 4, x_87); -lean_ctor_set(x_90, 5, x_88); -x_91 = lean_st_ref_set(x_4, x_90, x_72); +lean_dec(x_74); +x_92 = l_List_append___rarg(x_87, x_57); +x_93 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_93, 0, x_86); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_88); +lean_ctor_set(x_93, 3, x_89); +lean_ctor_set(x_93, 4, x_90); +lean_ctor_set(x_93, 5, x_91); +x_94 = lean_st_ref_set(x_4, x_93, x_75); lean_dec(x_4); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_93 = x_91; +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; } else { - lean_dec_ref(x_91); - x_93 = lean_box(0); + lean_dec_ref(x_94); + x_96 = lean_box(0); } -x_94 = lean_ctor_get(x_66, 0); -lean_inc(x_94); -lean_dec(x_66); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); +x_97 = lean_ctor_get(x_69, 0); +lean_inc(x_97); +lean_dec(x_69); +if (lean_is_scalar(x_96)) { + x_98 = lean_alloc_ctor(0, 2, 0); } else { - x_95 = x_93; + x_98 = x_96; } -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -return x_95; +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_95); +return x_98; } } -block_124: +block_127: { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_99 = lean_st_ref_get(x_8, x_98); +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_102 = lean_st_ref_get(x_8, x_101); lean_dec(x_8); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -lean_dec(x_99); -x_101 = lean_st_ref_take(x_4, x_100); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); +x_103 = lean_ctor_get(x_102, 1); lean_inc(x_103); -lean_dec(x_101); -x_104 = !lean_is_exclusive(x_102); -if (x_104 == 0) +lean_dec(x_102); +x_104 = lean_st_ref_take(x_4, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_ctor_get(x_102, 1); -x_106 = l_List_append___rarg(x_105, x_54); -lean_ctor_set(x_102, 1, x_106); -x_107 = lean_st_ref_set(x_4, x_102, x_103); +lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_108 = lean_ctor_get(x_105, 1); +x_109 = l_List_append___rarg(x_108, x_57); +lean_ctor_set(x_105, 1, x_109); +x_110 = lean_st_ref_set(x_4, x_105, x_106); lean_dec(x_4); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) +x_111 = !lean_is_exclusive(x_110); +if (x_111 == 0) { -lean_object* x_109; -x_109 = lean_ctor_get(x_107, 0); -lean_dec(x_109); -lean_ctor_set_tag(x_107, 1); -lean_ctor_set(x_107, 0, x_97); -return x_107; +lean_object* x_112; +x_112 = lean_ctor_get(x_110, 0); +lean_dec(x_112); +lean_ctor_set_tag(x_110, 1); +lean_ctor_set(x_110, 0, x_100); +return x_110; } else { -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_97); -lean_ctor_set(x_111, 1, x_110); -return x_111; +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_110, 1); +lean_inc(x_113); +lean_dec(x_110); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_100); +lean_ctor_set(x_114, 1, x_113); +return x_114; } } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_112 = lean_ctor_get(x_102, 0); -x_113 = lean_ctor_get(x_102, 1); -x_114 = lean_ctor_get(x_102, 2); -x_115 = lean_ctor_get(x_102, 3); -x_116 = lean_ctor_get(x_102, 4); -x_117 = lean_ctor_get(x_102, 5); +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_115 = lean_ctor_get(x_105, 0); +x_116 = lean_ctor_get(x_105, 1); +x_117 = lean_ctor_get(x_105, 2); +x_118 = lean_ctor_get(x_105, 3); +x_119 = lean_ctor_get(x_105, 4); +x_120 = lean_ctor_get(x_105, 5); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); lean_inc(x_117); lean_inc(x_116); lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_102); -x_118 = l_List_append___rarg(x_113, x_54); -x_119 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_119, 0, x_112); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_114); -lean_ctor_set(x_119, 3, x_115); -lean_ctor_set(x_119, 4, x_116); -lean_ctor_set(x_119, 5, x_117); -x_120 = lean_st_ref_set(x_4, x_119, x_103); +lean_dec(x_105); +x_121 = l_List_append___rarg(x_116, x_57); +x_122 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_122, 0, x_115); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_122, 2, x_117); +lean_ctor_set(x_122, 3, x_118); +lean_ctor_set(x_122, 4, x_119); +lean_ctor_set(x_122, 5, x_120); +x_123 = lean_st_ref_set(x_4, x_122, x_106); lean_dec(x_4); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_122 = x_120; +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_125 = x_123; } else { - lean_dec_ref(x_120); - x_122 = lean_box(0); + lean_dec_ref(x_123); + x_125 = lean_box(0); } -if (lean_is_scalar(x_122)) { - x_123 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_123 = x_122; - lean_ctor_set_tag(x_123, 1); + x_126 = x_125; + lean_ctor_set_tag(x_126, 1); } -lean_ctor_set(x_123, 0, x_97); -lean_ctor_set(x_123, 1, x_121); -return x_123; +lean_ctor_set(x_126, 0, x_100); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_229; lean_object* x_230; uint8_t x_250; lean_object* x_251; -x_197 = lean_ctor_get(x_58, 0); -x_198 = lean_ctor_get(x_58, 2); -x_199 = lean_ctor_get(x_58, 3); -x_200 = lean_ctor_get(x_58, 4); -x_201 = lean_ctor_get(x_58, 5); +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_232; lean_object* x_233; uint8_t x_253; lean_object* x_254; +x_200 = lean_ctor_get(x_61, 0); +x_201 = lean_ctor_get(x_61, 2); +x_202 = lean_ctor_get(x_61, 3); +x_203 = lean_ctor_get(x_61, 4); +x_204 = lean_ctor_get(x_61, 5); +lean_inc(x_204); +lean_inc(x_203); +lean_inc(x_202); lean_inc(x_201); lean_inc(x_200); -lean_inc(x_199); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_58); -x_202 = lean_box(0); -x_203 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_203, 0, x_197); -lean_ctor_set(x_203, 1, x_202); -lean_ctor_set(x_203, 2, x_198); -lean_ctor_set(x_203, 3, x_199); -lean_ctor_set(x_203, 4, x_200); -lean_ctor_set(x_203, 5, x_201); -x_204 = lean_st_ref_set(x_4, x_203, x_59); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_206 = lean_box(0); -x_250 = 1; +lean_dec(x_61); +x_205 = lean_box(0); +x_206 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_206, 0, x_200); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_201); +lean_ctor_set(x_206, 3, x_202); +lean_ctor_set(x_206, 4, x_203); +lean_ctor_set(x_206, 5, x_204); +x_207 = lean_st_ref_set(x_4, x_206, x_62); +x_208 = lean_ctor_get(x_207, 1); +lean_inc(x_208); +lean_dec(x_207); +x_209 = lean_box(0); +x_253 = 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_251 = l_Lean_Elab_Term_elabTerm(x_16, x_206, x_250, x_250, x_3, x_4, x_5, x_6, x_7, x_8, x_205); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -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_254 = l_Lean_Elab_Term_elabTerm(x_18, x_206, x_250, x_250, x_3, x_4, x_5, x_6, x_7, x_8, x_253); +x_254 = l_Lean_Elab_Term_elabTerm(x_16, x_209, x_253, x_253, x_3, x_4, x_5, x_6, x_7, x_8, x_208); if (lean_obj_tag(x_254) == 0) { lean_object* x_255; lean_object* x_256; lean_object* x_257; @@ -3629,8 +3552,9 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_252); -x_257 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_252, x_5, x_6, x_7, x_8, x_256); +lean_inc(x_4); +lean_inc(x_3); +x_257 = l_Lean_Elab_Term_elabTerm(x_18, x_209, x_253, x_253, x_3, x_4, x_5, x_6, x_7, x_8, x_256); if (lean_obj_tag(x_257) == 0) { lean_object* x_258; lean_object* x_259; lean_object* x_260; @@ -3647,543 +3571,542 @@ lean_inc(x_255); x_260 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_255, x_5, x_6, x_7, x_8, x_259); if (lean_obj_tag(x_260) == 0) { -uint8_t x_261; -x_261 = lean_unbox(x_258); -lean_dec(x_258); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_free_object(x_41); +lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_261 = lean_ctor_get(x_260, 0); +lean_inc(x_261); x_262 = lean_ctor_get(x_260, 1); lean_inc(x_262); lean_dec(x_260); -x_263 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_263, 0, x_252); -x_264 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_264, 0, x_255); -x_265 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_266 = lean_array_push(x_265, x_263); -x_267 = lean_array_push(x_266, x_264); -x_268 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_258); +x_263 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_258, x_5, x_6, x_7, x_8, x_262); +if (lean_obj_tag(x_263) == 0) +{ +uint8_t x_264; +x_264 = lean_unbox(x_261); +lean_dec(x_261); +if (x_264 == 0) +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_free_object(x_44); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_266, 0, x_255); +x_267 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_267, 0, x_258); +x_268 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_269 = lean_array_push(x_268, x_266); +x_270 = lean_array_push(x_269, x_267); +x_271 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_269 = l_Lean_Elab_Term_elabAppArgs(x_48, x_268, x_267, x_206, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_262); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -lean_inc(x_8); -lean_inc(x_4); -x_272 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_271); +x_272 = l_Lean_Elab_Term_elabAppArgs(x_51, x_271, x_270, x_209, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_265); if (lean_obj_tag(x_272) == 0) { lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_272, 1); +x_273 = lean_ctor_get(x_272, 0); lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); +lean_inc(x_274); lean_dec(x_272); -x_274 = lean_box(0); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_270); -lean_ctor_set(x_275, 1, x_274); -x_207 = x_275; -x_208 = x_273; -goto block_228; -} -else +lean_inc(x_8); +lean_inc(x_4); +x_275 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_274); +if (lean_obj_tag(x_275) == 0) { -lean_object* x_276; lean_object* x_277; -lean_dec(x_270); -x_276 = lean_ctor_get(x_272, 0); +lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_276 = lean_ctor_get(x_275, 1); lean_inc(x_276); -x_277 = lean_ctor_get(x_272, 1); -lean_inc(x_277); -lean_dec(x_272); -x_229 = x_276; -x_230 = x_277; -goto block_249; +lean_dec(x_275); +x_277 = lean_box(0); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_273); +lean_ctor_set(x_278, 1, x_277); +x_210 = x_278; +x_211 = x_276; +goto block_231; +} +else +{ +lean_object* x_279; lean_object* x_280; +lean_dec(x_273); +x_279 = lean_ctor_get(x_275, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_275, 1); +lean_inc(x_280); +lean_dec(x_275); +x_232 = x_279; +x_233 = x_280; +goto block_252; } } else { -lean_object* x_278; lean_object* x_279; +lean_object* x_281; lean_object* x_282; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_278 = lean_ctor_get(x_269, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_269, 1); -lean_inc(x_279); -lean_dec(x_269); -x_229 = x_278; -x_230 = x_279; -goto block_249; +x_281 = lean_ctor_get(x_272, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_272, 1); +lean_inc(x_282); +lean_dec(x_272); +x_232 = x_281; +x_233 = x_282; +goto block_252; } } else { -lean_object* x_280; uint8_t x_281; -x_280 = lean_ctor_get(x_260, 0); -lean_inc(x_280); -x_281 = lean_unbox(x_280); -lean_dec(x_280); -if (x_281 == 0) +lean_object* x_283; uint8_t x_284; +x_283 = lean_ctor_get(x_263, 0); +lean_inc(x_283); +x_284 = lean_unbox(x_283); +lean_dec(x_283); +if (x_284 == 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_free_object(x_41); -x_282 = lean_ctor_get(x_260, 1); -lean_inc(x_282); -lean_dec(x_260); -x_283 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_283, 0, x_252); -x_284 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_284, 0, x_255); -x_285 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_286 = lean_array_push(x_285, x_283); -x_287 = lean_array_push(x_286, x_284); -x_288 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +lean_free_object(x_44); +x_285 = lean_ctor_get(x_263, 1); +lean_inc(x_285); +lean_dec(x_263); +x_286 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_286, 0, x_255); +x_287 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_287, 0, x_258); +x_288 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_289 = lean_array_push(x_288, x_286); +x_290 = lean_array_push(x_289, x_287); +x_291 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_289 = l_Lean_Elab_Term_elabAppArgs(x_48, x_288, x_287, x_206, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_282); -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_290 = lean_ctor_get(x_289, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_289, 1); -lean_inc(x_291); -lean_dec(x_289); -lean_inc(x_8); -lean_inc(x_4); -x_292 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_291); +x_292 = l_Lean_Elab_Term_elabAppArgs(x_51, x_291, x_290, x_209, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_285); if (lean_obj_tag(x_292) == 0) { lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_293 = lean_ctor_get(x_292, 1); +x_293 = lean_ctor_get(x_292, 0); lean_inc(x_293); +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); lean_dec(x_292); -x_294 = lean_box(0); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_290); -lean_ctor_set(x_295, 1, x_294); -x_207 = x_295; -x_208 = x_293; -goto block_228; -} -else -{ -lean_object* x_296; lean_object* x_297; -lean_dec(x_290); -x_296 = lean_ctor_get(x_292, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_292, 1); -lean_inc(x_297); -lean_dec(x_292); -x_229 = x_296; -x_230 = x_297; -goto block_249; -} -} -else -{ -lean_object* x_298; lean_object* x_299; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_298 = lean_ctor_get(x_289, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_289, 1); -lean_inc(x_299); -lean_dec(x_289); -x_229 = x_298; -x_230 = x_299; -goto block_249; -} -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_300 = lean_ctor_get(x_260, 1); -lean_inc(x_300); -lean_dec(x_260); -x_301 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_301, 0, x_252); -x_302 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_302, 0, x_255); -x_303 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_304 = lean_array_push(x_303, x_301); -x_305 = lean_array_push(x_304, x_302); -lean_inc(x_37); -lean_ctor_set(x_41, 0, x_37); -x_306 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; lean_inc(x_8); lean_inc(x_4); -x_307 = l_Lean_Elab_Term_elabAppArgs(x_48, x_306, x_305, x_41, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_300); -if (lean_obj_tag(x_307) == 0) +x_295 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_294); +if (lean_obj_tag(x_295) == 0) { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_307, 1); -lean_inc(x_309); -lean_dec(x_307); -x_310 = lean_box(0); -x_311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_311, 0, x_308); -lean_ctor_set(x_311, 1, x_310); -x_207 = x_311; -x_208 = x_309; -goto block_228; +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_295, 1); +lean_inc(x_296); +lean_dec(x_295); +x_297 = lean_box(0); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_293); +lean_ctor_set(x_298, 1, x_297); +x_210 = x_298; +x_211 = x_296; +goto block_231; } else { -lean_object* x_312; lean_object* x_313; -x_312 = lean_ctor_get(x_307, 0); +lean_object* x_299; lean_object* x_300; +lean_dec(x_293); +x_299 = lean_ctor_get(x_295, 0); +lean_inc(x_299); +x_300 = lean_ctor_get(x_295, 1); +lean_inc(x_300); +lean_dec(x_295); +x_232 = x_299; +x_233 = x_300; +goto block_252; +} +} +else +{ +lean_object* x_301; lean_object* x_302; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_301 = lean_ctor_get(x_292, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_292, 1); +lean_inc(x_302); +lean_dec(x_292); +x_232 = x_301; +x_233 = x_302; +goto block_252; +} +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_303 = lean_ctor_get(x_263, 1); +lean_inc(x_303); +lean_dec(x_263); +x_304 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_304, 0, x_255); +x_305 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_305, 0, x_258); +x_306 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_307 = lean_array_push(x_306, x_304); +x_308 = lean_array_push(x_307, x_305); +lean_inc(x_40); +lean_ctor_set(x_44, 0, x_40); +x_309 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_4); +x_310 = l_Lean_Elab_Term_elabAppArgs(x_51, x_309, x_308, x_44, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_303); +if (lean_obj_tag(x_310) == 0) +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); lean_inc(x_312); -x_313 = lean_ctor_get(x_307, 1); -lean_inc(x_313); -lean_dec(x_307); -x_229 = x_312; -x_230 = x_313; -goto block_249; +lean_dec(x_310); +x_313 = lean_box(0); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_311); +lean_ctor_set(x_314, 1, x_313); +x_210 = x_314; +x_211 = x_312; +goto block_231; +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_310, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_310, 1); +lean_inc(x_316); +lean_dec(x_310); +x_232 = x_315; +x_233 = x_316; +goto block_252; } } } } else { -lean_object* x_314; lean_object* x_315; +lean_object* x_317; lean_object* x_318; +lean_dec(x_261); lean_dec(x_258); lean_dec(x_255); -lean_dec(x_252); -lean_free_object(x_41); -lean_dec(x_48); +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_314 = lean_ctor_get(x_260, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_260, 1); -lean_inc(x_315); -lean_dec(x_260); -x_229 = x_314; -x_230 = x_315; -goto block_249; -} -} -else -{ -lean_object* x_316; lean_object* x_317; -lean_dec(x_255); -lean_dec(x_252); -lean_free_object(x_41); -lean_dec(x_48); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_316 = lean_ctor_get(x_257, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_257, 1); +x_317 = lean_ctor_get(x_263, 0); lean_inc(x_317); -lean_dec(x_257); -x_229 = x_316; -x_230 = x_317; -goto block_249; +x_318 = lean_ctor_get(x_263, 1); +lean_inc(x_318); +lean_dec(x_263); +x_232 = x_317; +x_233 = x_318; +goto block_252; } } else { -lean_object* x_318; lean_object* x_319; -lean_dec(x_252); -lean_free_object(x_41); -lean_dec(x_48); +lean_object* x_319; lean_object* x_320; +lean_dec(x_258); +lean_dec(x_255); +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_318 = lean_ctor_get(x_254, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_254, 1); +x_319 = lean_ctor_get(x_260, 0); lean_inc(x_319); -lean_dec(x_254); -x_229 = x_318; -x_230 = x_319; -goto block_249; +x_320 = lean_ctor_get(x_260, 1); +lean_inc(x_320); +lean_dec(x_260); +x_232 = x_319; +x_233 = x_320; +goto block_252; } } else { -lean_object* x_320; lean_object* x_321; -lean_free_object(x_41); -lean_dec(x_48); +lean_object* x_321; lean_object* x_322; +lean_dec(x_255); +lean_free_object(x_44); +lean_dec(x_51); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_321 = lean_ctor_get(x_257, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_257, 1); +lean_inc(x_322); +lean_dec(x_257); +x_232 = x_321; +x_233 = x_322; +goto block_252; +} +} +else +{ +lean_object* x_323; lean_object* x_324; +lean_free_object(x_44); +lean_dec(x_51); lean_dec(x_18); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_320 = lean_ctor_get(x_251, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_251, 1); -lean_inc(x_321); -lean_dec(x_251); -x_229 = x_320; -x_230 = x_321; -goto block_249; +x_323 = lean_ctor_get(x_254, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_254, 1); +lean_inc(x_324); +lean_dec(x_254); +x_232 = x_323; +x_233 = x_324; +goto block_252; } -block_228: +block_231: { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_209 = lean_st_ref_get(x_8, x_208); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_212 = lean_st_ref_get(x_8, x_211); lean_dec(x_8); -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -lean_dec(x_209); -x_211 = lean_st_ref_take(x_4, x_210); -x_212 = lean_ctor_get(x_211, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); +x_213 = lean_ctor_get(x_212, 1); lean_inc(x_213); -lean_dec(x_211); -x_214 = lean_ctor_get(x_212, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_212, 1); +lean_dec(x_212); +x_214 = lean_st_ref_take(x_4, x_213); +x_215 = lean_ctor_get(x_214, 0); lean_inc(x_215); -x_216 = lean_ctor_get(x_212, 2); +x_216 = lean_ctor_get(x_214, 1); lean_inc(x_216); -x_217 = lean_ctor_get(x_212, 3); +lean_dec(x_214); +x_217 = lean_ctor_get(x_215, 0); lean_inc(x_217); -x_218 = lean_ctor_get(x_212, 4); +x_218 = lean_ctor_get(x_215, 1); lean_inc(x_218); -x_219 = lean_ctor_get(x_212, 5); +x_219 = lean_ctor_get(x_215, 2); lean_inc(x_219); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - lean_ctor_release(x_212, 2); - lean_ctor_release(x_212, 3); - lean_ctor_release(x_212, 4); - lean_ctor_release(x_212, 5); - x_220 = x_212; +x_220 = lean_ctor_get(x_215, 3); +lean_inc(x_220); +x_221 = lean_ctor_get(x_215, 4); +lean_inc(x_221); +x_222 = lean_ctor_get(x_215, 5); +lean_inc(x_222); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + lean_ctor_release(x_215, 2); + lean_ctor_release(x_215, 3); + lean_ctor_release(x_215, 4); + lean_ctor_release(x_215, 5); + x_223 = x_215; } else { - lean_dec_ref(x_212); - x_220 = lean_box(0); + lean_dec_ref(x_215); + x_223 = lean_box(0); } -x_221 = l_List_append___rarg(x_215, x_54); -if (lean_is_scalar(x_220)) { - x_222 = lean_alloc_ctor(0, 6, 0); +x_224 = l_List_append___rarg(x_218, x_57); +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(0, 6, 0); } else { - x_222 = x_220; -} -lean_ctor_set(x_222, 0, x_214); -lean_ctor_set(x_222, 1, x_221); -lean_ctor_set(x_222, 2, x_216); -lean_ctor_set(x_222, 3, x_217); -lean_ctor_set(x_222, 4, x_218); -lean_ctor_set(x_222, 5, x_219); -x_223 = lean_st_ref_set(x_4, x_222, x_213); -lean_dec(x_4); -x_224 = lean_ctor_get(x_223, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); x_225 = x_223; -} else { - lean_dec_ref(x_223); - x_225 = lean_box(0); } -x_226 = lean_ctor_get(x_207, 0); -lean_inc(x_226); -lean_dec(x_207); -if (lean_is_scalar(x_225)) { - x_227 = lean_alloc_ctor(0, 2, 0); -} else { - x_227 = x_225; -} -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_224); -return x_227; -} -block_249: -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_231 = lean_st_ref_get(x_8, x_230); -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_4, 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_ctor_get(x_234, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_234, 1); -lean_inc(x_237); -x_238 = lean_ctor_get(x_234, 2); -lean_inc(x_238); -x_239 = lean_ctor_get(x_234, 3); -lean_inc(x_239); -x_240 = lean_ctor_get(x_234, 4); -lean_inc(x_240); -x_241 = lean_ctor_get(x_234, 5); -lean_inc(x_241); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - lean_ctor_release(x_234, 2); - lean_ctor_release(x_234, 3); - lean_ctor_release(x_234, 4); - lean_ctor_release(x_234, 5); - x_242 = x_234; -} else { - lean_dec_ref(x_234); - x_242 = lean_box(0); -} -x_243 = l_List_append___rarg(x_237, x_54); -if (lean_is_scalar(x_242)) { - x_244 = lean_alloc_ctor(0, 6, 0); -} else { - x_244 = x_242; -} -lean_ctor_set(x_244, 0, x_236); -lean_ctor_set(x_244, 1, x_243); -lean_ctor_set(x_244, 2, x_238); -lean_ctor_set(x_244, 3, x_239); -lean_ctor_set(x_244, 4, x_240); -lean_ctor_set(x_244, 5, x_241); -x_245 = lean_st_ref_set(x_4, x_244, x_235); +lean_ctor_set(x_225, 0, x_217); +lean_ctor_set(x_225, 1, x_224); +lean_ctor_set(x_225, 2, x_219); +lean_ctor_set(x_225, 3, x_220); +lean_ctor_set(x_225, 4, x_221); +lean_ctor_set(x_225, 5, x_222); +x_226 = lean_st_ref_set(x_4, x_225, x_216); lean_dec(x_4); -x_246 = lean_ctor_get(x_245, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_245)) { - lean_ctor_release(x_245, 0); - lean_ctor_release(x_245, 1); +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_228 = x_226; +} else { + lean_dec_ref(x_226); + x_228 = lean_box(0); +} +x_229 = lean_ctor_get(x_210, 0); +lean_inc(x_229); +lean_dec(x_210); +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_229); +lean_ctor_set(x_230, 1, x_227); +return x_230; +} +block_252: +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_234 = lean_st_ref_get(x_8, x_233); +lean_dec(x_8); +x_235 = lean_ctor_get(x_234, 1); +lean_inc(x_235); +lean_dec(x_234); +x_236 = lean_st_ref_take(x_4, x_235); +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_ctor_get(x_237, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_237, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_237, 2); +lean_inc(x_241); +x_242 = lean_ctor_get(x_237, 3); +lean_inc(x_242); +x_243 = lean_ctor_get(x_237, 4); +lean_inc(x_243); +x_244 = lean_ctor_get(x_237, 5); +lean_inc(x_244); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + lean_ctor_release(x_237, 3); + lean_ctor_release(x_237, 4); + lean_ctor_release(x_237, 5); + x_245 = x_237; +} else { + lean_dec_ref(x_237); + x_245 = lean_box(0); +} +x_246 = l_List_append___rarg(x_240, x_57); +if (lean_is_scalar(x_245)) { + x_247 = lean_alloc_ctor(0, 6, 0); +} else { x_247 = x_245; -} else { - lean_dec_ref(x_245); - x_247 = lean_box(0); } -if (lean_is_scalar(x_247)) { - x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_239); +lean_ctor_set(x_247, 1, x_246); +lean_ctor_set(x_247, 2, x_241); +lean_ctor_set(x_247, 3, x_242); +lean_ctor_set(x_247, 4, x_243); +lean_ctor_set(x_247, 5, x_244); +x_248 = lean_st_ref_set(x_4, x_247, x_238); +lean_dec(x_4); +x_249 = lean_ctor_get(x_248, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_248)) { + lean_ctor_release(x_248, 0); + lean_ctor_release(x_248, 1); + x_250 = x_248; } else { - x_248 = x_247; - lean_ctor_set_tag(x_248, 1); + lean_dec_ref(x_248); + x_250 = lean_box(0); } -lean_ctor_set(x_248, 0, x_229); -lean_ctor_set(x_248, 1, x_246); -return x_248; +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(1, 2, 0); +} else { + x_251 = x_250; + lean_ctor_set_tag(x_251, 1); +} +lean_ctor_set(x_251, 0, x_232); +lean_ctor_set(x_251, 1, x_249); +return x_251; } } } else { -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_367; lean_object* x_368; uint8_t x_388; lean_object* x_389; -x_322 = lean_ctor_get(x_41, 0); -lean_inc(x_322); -lean_dec(x_41); -x_323 = lean_st_ref_get(x_8, x_46); -x_324 = lean_ctor_get(x_323, 1); -lean_inc(x_324); -lean_dec(x_323); -x_325 = lean_st_ref_get(x_4, x_324); -x_326 = lean_ctor_get(x_325, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_370; lean_object* x_371; uint8_t x_391; lean_object* x_392; +x_325 = lean_ctor_get(x_44, 0); +lean_inc(x_325); +lean_dec(x_44); +x_326 = lean_st_ref_get(x_8, x_49); +x_327 = lean_ctor_get(x_326, 1); lean_inc(x_327); -lean_dec(x_325); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); lean_dec(x_326); -x_329 = lean_st_ref_get(x_8, x_327); -x_330 = lean_ctor_get(x_329, 1); +x_328 = lean_st_ref_get(x_4, x_327); +x_329 = lean_ctor_get(x_328, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_328, 1); lean_inc(x_330); +lean_dec(x_328); +x_331 = lean_ctor_get(x_329, 1); +lean_inc(x_331); lean_dec(x_329); -x_331 = lean_st_ref_take(x_4, x_330); -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); +x_332 = lean_st_ref_get(x_8, x_330); +x_333 = lean_ctor_get(x_332, 1); lean_inc(x_333); -lean_dec(x_331); -x_334 = lean_ctor_get(x_332, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_332, 2); +lean_dec(x_332); +x_334 = lean_st_ref_take(x_4, x_333); +x_335 = lean_ctor_get(x_334, 0); lean_inc(x_335); -x_336 = lean_ctor_get(x_332, 3); +x_336 = lean_ctor_get(x_334, 1); lean_inc(x_336); -x_337 = lean_ctor_get(x_332, 4); +lean_dec(x_334); +x_337 = lean_ctor_get(x_335, 0); lean_inc(x_337); -x_338 = lean_ctor_get(x_332, 5); +x_338 = lean_ctor_get(x_335, 2); lean_inc(x_338); -if (lean_is_exclusive(x_332)) { - lean_ctor_release(x_332, 0); - lean_ctor_release(x_332, 1); - lean_ctor_release(x_332, 2); - lean_ctor_release(x_332, 3); - lean_ctor_release(x_332, 4); - lean_ctor_release(x_332, 5); - x_339 = x_332; +x_339 = lean_ctor_get(x_335, 3); +lean_inc(x_339); +x_340 = lean_ctor_get(x_335, 4); +lean_inc(x_340); +x_341 = lean_ctor_get(x_335, 5); +lean_inc(x_341); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + lean_ctor_release(x_335, 2); + lean_ctor_release(x_335, 3); + lean_ctor_release(x_335, 4); + lean_ctor_release(x_335, 5); + x_342 = x_335; } else { - lean_dec_ref(x_332); - x_339 = lean_box(0); + lean_dec_ref(x_335); + x_342 = lean_box(0); } -x_340 = lean_box(0); -if (lean_is_scalar(x_339)) { - x_341 = lean_alloc_ctor(0, 6, 0); +x_343 = lean_box(0); +if (lean_is_scalar(x_342)) { + x_344 = lean_alloc_ctor(0, 6, 0); } else { - x_341 = x_339; + x_344 = x_342; } -lean_ctor_set(x_341, 0, x_334); -lean_ctor_set(x_341, 1, x_340); -lean_ctor_set(x_341, 2, x_335); -lean_ctor_set(x_341, 3, x_336); -lean_ctor_set(x_341, 4, x_337); -lean_ctor_set(x_341, 5, x_338); -x_342 = lean_st_ref_set(x_4, x_341, x_333); -x_343 = lean_ctor_get(x_342, 1); -lean_inc(x_343); -lean_dec(x_342); -x_344 = lean_box(0); -x_388 = 1; +lean_ctor_set(x_344, 0, x_337); +lean_ctor_set(x_344, 1, x_343); +lean_ctor_set(x_344, 2, x_338); +lean_ctor_set(x_344, 3, x_339); +lean_ctor_set(x_344, 4, x_340); +lean_ctor_set(x_344, 5, x_341); +x_345 = lean_st_ref_set(x_4, x_344, x_336); +x_346 = lean_ctor_get(x_345, 1); +lean_inc(x_346); +lean_dec(x_345); +x_347 = lean_box(0); +x_391 = 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_389 = l_Lean_Elab_Term_elabTerm(x_16, x_344, x_388, x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_343); -if (lean_obj_tag(x_389) == 0) -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -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_392 = l_Lean_Elab_Term_elabTerm(x_18, x_344, x_388, x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_391); +x_392 = l_Lean_Elab_Term_elabTerm(x_16, x_347, x_391, x_391, x_3, x_4, x_5, x_6, x_7, x_8, x_346); if (lean_obj_tag(x_392) == 0) { lean_object* x_393; lean_object* x_394; lean_object* x_395; @@ -4196,8 +4119,9 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_390); -x_395 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_390, x_5, x_6, x_7, x_8, x_394); +lean_inc(x_4); +lean_inc(x_3); +x_395 = l_Lean_Elab_Term_elabTerm(x_18, x_347, x_391, x_391, x_3, x_4, x_5, x_6, x_7, x_8, x_394); if (lean_obj_tag(x_395) == 0) { lean_object* x_396; lean_object* x_397; lean_object* x_398; @@ -4214,451 +4138,465 @@ lean_inc(x_393); x_398 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_393, x_5, x_6, x_7, x_8, x_397); if (lean_obj_tag(x_398) == 0) { -uint8_t x_399; -x_399 = lean_unbox(x_396); -lean_dec(x_396); -if (x_399 == 0) -{ -lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); x_400 = lean_ctor_get(x_398, 1); lean_inc(x_400); lean_dec(x_398); -x_401 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_401, 0, x_390); -x_402 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_402, 0, x_393); -x_403 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_404 = lean_array_push(x_403, x_401); -x_405 = lean_array_push(x_404, x_402); -x_406 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_396); +x_401 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_hasUnknownType(x_396, x_5, x_6, x_7, x_8, x_400); +if (lean_obj_tag(x_401) == 0) +{ +uint8_t x_402; +x_402 = lean_unbox(x_399); +lean_dec(x_399); +if (x_402 == 0) +{ +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; +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +lean_dec(x_401); +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_393); +x_405 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_405, 0, x_396); +x_406 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_407 = lean_array_push(x_406, x_404); +x_408 = lean_array_push(x_407, x_405); +x_409 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_407 = l_Lean_Elab_Term_elabAppArgs(x_322, x_406, x_405, x_344, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_400); -if (lean_obj_tag(x_407) == 0) -{ -lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); -lean_inc(x_8); -lean_inc(x_4); -x_410 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_409); +x_410 = l_Lean_Elab_Term_elabAppArgs(x_325, x_409, x_408, x_347, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_403); if (lean_obj_tag(x_410) == 0) { lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_411 = lean_ctor_get(x_410, 1); +x_411 = lean_ctor_get(x_410, 0); lean_inc(x_411); +x_412 = lean_ctor_get(x_410, 1); +lean_inc(x_412); lean_dec(x_410); -x_412 = lean_box(0); -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_408); -lean_ctor_set(x_413, 1, x_412); -x_345 = x_413; -x_346 = x_411; -goto block_366; -} -else +lean_inc(x_8); +lean_inc(x_4); +x_413 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_412); +if (lean_obj_tag(x_413) == 0) { -lean_object* x_414; lean_object* x_415; -lean_dec(x_408); -x_414 = lean_ctor_get(x_410, 0); +lean_object* x_414; lean_object* x_415; lean_object* x_416; +x_414 = lean_ctor_get(x_413, 1); lean_inc(x_414); -x_415 = lean_ctor_get(x_410, 1); -lean_inc(x_415); -lean_dec(x_410); -x_367 = x_414; -x_368 = x_415; -goto block_387; +lean_dec(x_413); +x_415 = lean_box(0); +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_411); +lean_ctor_set(x_416, 1, x_415); +x_348 = x_416; +x_349 = x_414; +goto block_369; +} +else +{ +lean_object* x_417; lean_object* x_418; +lean_dec(x_411); +x_417 = lean_ctor_get(x_413, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_413, 1); +lean_inc(x_418); +lean_dec(x_413); +x_370 = x_417; +x_371 = x_418; +goto block_390; } } else { -lean_object* x_416; lean_object* x_417; +lean_object* x_419; lean_object* x_420; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_416 = lean_ctor_get(x_407, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_407, 1); -lean_inc(x_417); -lean_dec(x_407); -x_367 = x_416; -x_368 = x_417; -goto block_387; +x_419 = lean_ctor_get(x_410, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_410, 1); +lean_inc(x_420); +lean_dec(x_410); +x_370 = x_419; +x_371 = x_420; +goto block_390; } } else { -lean_object* x_418; uint8_t x_419; -x_418 = lean_ctor_get(x_398, 0); -lean_inc(x_418); -x_419 = lean_unbox(x_418); -lean_dec(x_418); -if (x_419 == 0) +lean_object* x_421; uint8_t x_422; +x_421 = lean_ctor_get(x_401, 0); +lean_inc(x_421); +x_422 = lean_unbox(x_421); +lean_dec(x_421); +if (x_422 == 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; lean_object* x_427; -x_420 = lean_ctor_get(x_398, 1); -lean_inc(x_420); -lean_dec(x_398); -x_421 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_421, 0, x_390); -x_422 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_422, 0, x_393); -x_423 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_424 = lean_array_push(x_423, x_421); -x_425 = lean_array_push(x_424, x_422); -x_426 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_423 = lean_ctor_get(x_401, 1); +lean_inc(x_423); +lean_dec(x_401); +x_424 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_424, 0, x_393); +x_425 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_425, 0, x_396); +x_426 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_427 = lean_array_push(x_426, x_424); +x_428 = lean_array_push(x_427, x_425); +x_429 = l_Lean_Elab_Term_elabBinRel___lambda__3___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); -x_427 = l_Lean_Elab_Term_elabAppArgs(x_322, x_426, x_425, x_344, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_420); -if (lean_obj_tag(x_427) == 0) -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_428 = lean_ctor_get(x_427, 0); -lean_inc(x_428); -x_429 = lean_ctor_get(x_427, 1); -lean_inc(x_429); -lean_dec(x_427); -lean_inc(x_8); -lean_inc(x_4); -x_430 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_429); +x_430 = l_Lean_Elab_Term_elabAppArgs(x_325, x_429, x_428, x_347, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_423); if (lean_obj_tag(x_430) == 0) { lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_431 = lean_ctor_get(x_430, 1); +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_432 = lean_box(0); -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_428); -lean_ctor_set(x_433, 1, x_432); -x_345 = x_433; -x_346 = x_431; -goto block_366; -} -else -{ -lean_object* x_434; lean_object* x_435; -lean_dec(x_428); -x_434 = lean_ctor_get(x_430, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_430, 1); -lean_inc(x_435); -lean_dec(x_430); -x_367 = x_434; -x_368 = x_435; -goto block_387; -} -} -else -{ -lean_object* x_436; lean_object* x_437; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_436 = lean_ctor_get(x_427, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_427, 1); -lean_inc(x_437); -lean_dec(x_427); -x_367 = x_436; -x_368 = x_437; -goto block_387; -} -} -else -{ -lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; -x_438 = lean_ctor_get(x_398, 1); -lean_inc(x_438); -lean_dec(x_398); -x_439 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_439, 0, x_390); -x_440 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_440, 0, x_393); -x_441 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -x_442 = lean_array_push(x_441, x_439); -x_443 = lean_array_push(x_442, x_440); -lean_inc(x_37); -x_444 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_444, 0, x_37); -x_445 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; lean_inc(x_8); lean_inc(x_4); -x_446 = l_Lean_Elab_Term_elabAppArgs(x_322, x_445, x_443, x_444, x_39, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_438); -if (lean_obj_tag(x_446) == 0) +x_433 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_3, x_4, x_5, x_6, x_7, x_8, x_432); +if (lean_obj_tag(x_433) == 0) { -lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; -x_447 = lean_ctor_get(x_446, 0); -lean_inc(x_447); -x_448 = lean_ctor_get(x_446, 1); -lean_inc(x_448); -lean_dec(x_446); -x_449 = lean_box(0); -x_450 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_450, 0, x_447); -lean_ctor_set(x_450, 1, x_449); -x_345 = x_450; -x_346 = x_448; -goto block_366; +lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_434 = lean_ctor_get(x_433, 1); +lean_inc(x_434); +lean_dec(x_433); +x_435 = lean_box(0); +x_436 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_436, 0, x_431); +lean_ctor_set(x_436, 1, x_435); +x_348 = x_436; +x_349 = x_434; +goto block_369; } else { -lean_object* x_451; lean_object* x_452; -x_451 = lean_ctor_get(x_446, 0); +lean_object* x_437; lean_object* x_438; +lean_dec(x_431); +x_437 = lean_ctor_get(x_433, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_433, 1); +lean_inc(x_438); +lean_dec(x_433); +x_370 = x_437; +x_371 = x_438; +goto block_390; +} +} +else +{ +lean_object* x_439; lean_object* x_440; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_439 = lean_ctor_get(x_430, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_430, 1); +lean_inc(x_440); +lean_dec(x_430); +x_370 = x_439; +x_371 = x_440; +goto block_390; +} +} +else +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_441 = lean_ctor_get(x_401, 1); +lean_inc(x_441); +lean_dec(x_401); +x_442 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_442, 0, x_393); +x_443 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_443, 0, x_396); +x_444 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; +x_445 = lean_array_push(x_444, x_442); +x_446 = lean_array_push(x_445, x_443); +lean_inc(x_40); +x_447 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_447, 0, x_40); +x_448 = l_Lean_Elab_Term_elabBinRel___lambda__3___closed__1; +lean_inc(x_8); +lean_inc(x_4); +x_449 = l_Lean_Elab_Term_elabAppArgs(x_325, x_448, x_446, x_447, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_441); +if (lean_obj_tag(x_449) == 0) +{ +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_450 = lean_ctor_get(x_449, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_449, 1); lean_inc(x_451); -x_452 = lean_ctor_get(x_446, 1); -lean_inc(x_452); -lean_dec(x_446); -x_367 = x_451; -x_368 = x_452; -goto block_387; +lean_dec(x_449); +x_452 = lean_box(0); +x_453 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_453, 0, x_450); +lean_ctor_set(x_453, 1, x_452); +x_348 = x_453; +x_349 = x_451; +goto block_369; +} +else +{ +lean_object* x_454; lean_object* x_455; +x_454 = lean_ctor_get(x_449, 0); +lean_inc(x_454); +x_455 = lean_ctor_get(x_449, 1); +lean_inc(x_455); +lean_dec(x_449); +x_370 = x_454; +x_371 = x_455; +goto block_390; } } } } else { -lean_object* x_453; lean_object* x_454; +lean_object* x_456; lean_object* x_457; +lean_dec(x_399); lean_dec(x_396); lean_dec(x_393); -lean_dec(x_390); -lean_dec(x_322); +lean_dec(x_325); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_453 = lean_ctor_get(x_398, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_398, 1); -lean_inc(x_454); -lean_dec(x_398); -x_367 = x_453; -x_368 = x_454; -goto block_387; -} -} -else -{ -lean_object* x_455; lean_object* x_456; -lean_dec(x_393); -lean_dec(x_390); -lean_dec(x_322); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_455 = lean_ctor_get(x_395, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_395, 1); +x_456 = lean_ctor_get(x_401, 0); lean_inc(x_456); -lean_dec(x_395); -x_367 = x_455; -x_368 = x_456; -goto block_387; +x_457 = lean_ctor_get(x_401, 1); +lean_inc(x_457); +lean_dec(x_401); +x_370 = x_456; +x_371 = x_457; +goto block_390; } } else { -lean_object* x_457; lean_object* x_458; -lean_dec(x_390); -lean_dec(x_322); +lean_object* x_458; lean_object* x_459; +lean_dec(x_396); +lean_dec(x_393); +lean_dec(x_325); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_457 = lean_ctor_get(x_392, 0); -lean_inc(x_457); -x_458 = lean_ctor_get(x_392, 1); +x_458 = lean_ctor_get(x_398, 0); lean_inc(x_458); -lean_dec(x_392); -x_367 = x_457; -x_368 = x_458; -goto block_387; +x_459 = lean_ctor_get(x_398, 1); +lean_inc(x_459); +lean_dec(x_398); +x_370 = x_458; +x_371 = x_459; +goto block_390; } } else { -lean_object* x_459; lean_object* x_460; -lean_dec(x_322); +lean_object* x_460; lean_object* x_461; +lean_dec(x_393); +lean_dec(x_325); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_460 = lean_ctor_get(x_395, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_395, 1); +lean_inc(x_461); +lean_dec(x_395); +x_370 = x_460; +x_371 = x_461; +goto block_390; +} +} +else +{ +lean_object* x_462; lean_object* x_463; +lean_dec(x_325); lean_dec(x_18); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_459 = lean_ctor_get(x_389, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_389, 1); -lean_inc(x_460); -lean_dec(x_389); -x_367 = x_459; -x_368 = x_460; -goto block_387; +x_462 = lean_ctor_get(x_392, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_392, 1); +lean_inc(x_463); +lean_dec(x_392); +x_370 = x_462; +x_371 = x_463; +goto block_390; } -block_366: +block_369: { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -x_347 = lean_st_ref_get(x_8, x_346); +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_350 = lean_st_ref_get(x_8, x_349); lean_dec(x_8); -x_348 = lean_ctor_get(x_347, 1); -lean_inc(x_348); -lean_dec(x_347); -x_349 = lean_st_ref_take(x_4, x_348); -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); +x_351 = lean_ctor_get(x_350, 1); lean_inc(x_351); -lean_dec(x_349); -x_352 = lean_ctor_get(x_350, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_350, 1); +lean_dec(x_350); +x_352 = lean_st_ref_take(x_4, x_351); +x_353 = lean_ctor_get(x_352, 0); lean_inc(x_353); -x_354 = lean_ctor_get(x_350, 2); +x_354 = lean_ctor_get(x_352, 1); lean_inc(x_354); -x_355 = lean_ctor_get(x_350, 3); +lean_dec(x_352); +x_355 = lean_ctor_get(x_353, 0); lean_inc(x_355); -x_356 = lean_ctor_get(x_350, 4); +x_356 = lean_ctor_get(x_353, 1); lean_inc(x_356); -x_357 = lean_ctor_get(x_350, 5); +x_357 = lean_ctor_get(x_353, 2); lean_inc(x_357); -if (lean_is_exclusive(x_350)) { - lean_ctor_release(x_350, 0); - lean_ctor_release(x_350, 1); - lean_ctor_release(x_350, 2); - lean_ctor_release(x_350, 3); - lean_ctor_release(x_350, 4); - lean_ctor_release(x_350, 5); - x_358 = x_350; +x_358 = lean_ctor_get(x_353, 3); +lean_inc(x_358); +x_359 = lean_ctor_get(x_353, 4); +lean_inc(x_359); +x_360 = lean_ctor_get(x_353, 5); +lean_inc(x_360); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + lean_ctor_release(x_353, 4); + lean_ctor_release(x_353, 5); + x_361 = x_353; } else { - lean_dec_ref(x_350); - x_358 = lean_box(0); + lean_dec_ref(x_353); + x_361 = lean_box(0); } -x_359 = l_List_append___rarg(x_353, x_328); -if (lean_is_scalar(x_358)) { - x_360 = lean_alloc_ctor(0, 6, 0); +x_362 = l_List_append___rarg(x_356, x_331); +if (lean_is_scalar(x_361)) { + x_363 = lean_alloc_ctor(0, 6, 0); } else { - x_360 = x_358; -} -lean_ctor_set(x_360, 0, x_352); -lean_ctor_set(x_360, 1, x_359); -lean_ctor_set(x_360, 2, x_354); -lean_ctor_set(x_360, 3, x_355); -lean_ctor_set(x_360, 4, x_356); -lean_ctor_set(x_360, 5, x_357); -x_361 = lean_st_ref_set(x_4, x_360, x_351); -lean_dec(x_4); -x_362 = lean_ctor_get(x_361, 1); -lean_inc(x_362); -if (lean_is_exclusive(x_361)) { - lean_ctor_release(x_361, 0); - lean_ctor_release(x_361, 1); x_363 = x_361; -} else { - lean_dec_ref(x_361); - x_363 = lean_box(0); } -x_364 = lean_ctor_get(x_345, 0); -lean_inc(x_364); -lean_dec(x_345); -if (lean_is_scalar(x_363)) { - x_365 = lean_alloc_ctor(0, 2, 0); -} else { - x_365 = x_363; -} -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_362); -return x_365; -} -block_387: -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_369 = lean_st_ref_get(x_8, x_368); -lean_dec(x_8); -x_370 = lean_ctor_get(x_369, 1); -lean_inc(x_370); -lean_dec(x_369); -x_371 = lean_st_ref_take(x_4, x_370); -x_372 = lean_ctor_get(x_371, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_371, 1); -lean_inc(x_373); -lean_dec(x_371); -x_374 = lean_ctor_get(x_372, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_372, 1); -lean_inc(x_375); -x_376 = lean_ctor_get(x_372, 2); -lean_inc(x_376); -x_377 = lean_ctor_get(x_372, 3); -lean_inc(x_377); -x_378 = lean_ctor_get(x_372, 4); -lean_inc(x_378); -x_379 = lean_ctor_get(x_372, 5); -lean_inc(x_379); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - lean_ctor_release(x_372, 2); - lean_ctor_release(x_372, 3); - lean_ctor_release(x_372, 4); - lean_ctor_release(x_372, 5); - x_380 = x_372; -} else { - lean_dec_ref(x_372); - x_380 = lean_box(0); -} -x_381 = l_List_append___rarg(x_375, x_328); -if (lean_is_scalar(x_380)) { - x_382 = lean_alloc_ctor(0, 6, 0); -} else { - x_382 = x_380; -} -lean_ctor_set(x_382, 0, x_374); -lean_ctor_set(x_382, 1, x_381); -lean_ctor_set(x_382, 2, x_376); -lean_ctor_set(x_382, 3, x_377); -lean_ctor_set(x_382, 4, x_378); -lean_ctor_set(x_382, 5, x_379); -x_383 = lean_st_ref_set(x_4, x_382, x_373); +lean_ctor_set(x_363, 0, x_355); +lean_ctor_set(x_363, 1, x_362); +lean_ctor_set(x_363, 2, x_357); +lean_ctor_set(x_363, 3, x_358); +lean_ctor_set(x_363, 4, x_359); +lean_ctor_set(x_363, 5, x_360); +x_364 = lean_st_ref_set(x_4, x_363, x_354); lean_dec(x_4); -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_365 = lean_ctor_get(x_364, 1); +lean_inc(x_365); +if (lean_is_exclusive(x_364)) { + lean_ctor_release(x_364, 0); + lean_ctor_release(x_364, 1); + x_366 = x_364; +} else { + lean_dec_ref(x_364); + x_366 = lean_box(0); +} +x_367 = lean_ctor_get(x_348, 0); +lean_inc(x_367); +lean_dec(x_348); +if (lean_is_scalar(x_366)) { + x_368 = lean_alloc_ctor(0, 2, 0); +} else { + x_368 = x_366; +} +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_365); +return x_368; +} +block_390: +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_372 = lean_st_ref_get(x_8, x_371); +lean_dec(x_8); +x_373 = lean_ctor_get(x_372, 1); +lean_inc(x_373); +lean_dec(x_372); +x_374 = lean_st_ref_take(x_4, x_373); +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = lean_ctor_get(x_375, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_375, 1); +lean_inc(x_378); +x_379 = lean_ctor_get(x_375, 2); +lean_inc(x_379); +x_380 = lean_ctor_get(x_375, 3); +lean_inc(x_380); +x_381 = lean_ctor_get(x_375, 4); +lean_inc(x_381); +x_382 = lean_ctor_get(x_375, 5); +lean_inc(x_382); +if (lean_is_exclusive(x_375)) { + lean_ctor_release(x_375, 0); + lean_ctor_release(x_375, 1); + lean_ctor_release(x_375, 2); + lean_ctor_release(x_375, 3); + lean_ctor_release(x_375, 4); + lean_ctor_release(x_375, 5); + x_383 = x_375; +} else { + lean_dec_ref(x_375); + x_383 = lean_box(0); +} +x_384 = l_List_append___rarg(x_378, x_331); +if (lean_is_scalar(x_383)) { + x_385 = lean_alloc_ctor(0, 6, 0); +} else { x_385 = x_383; -} else { - lean_dec_ref(x_383); - x_385 = lean_box(0); } -if (lean_is_scalar(x_385)) { - x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_377); +lean_ctor_set(x_385, 1, x_384); +lean_ctor_set(x_385, 2, x_379); +lean_ctor_set(x_385, 3, x_380); +lean_ctor_set(x_385, 4, x_381); +lean_ctor_set(x_385, 5, x_382); +x_386 = lean_st_ref_set(x_4, x_385, x_376); +lean_dec(x_4); +x_387 = lean_ctor_get(x_386, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_386)) { + lean_ctor_release(x_386, 0); + lean_ctor_release(x_386, 1); + x_388 = x_386; } else { - x_386 = x_385; - lean_ctor_set_tag(x_386, 1); + lean_dec_ref(x_386); + x_388 = lean_box(0); } -lean_ctor_set(x_386, 0, x_367); -lean_ctor_set(x_386, 1, x_384); -return x_386; +if (lean_is_scalar(x_388)) { + x_389 = lean_alloc_ctor(1, 2, 0); +} else { + x_389 = x_388; + lean_ctor_set_tag(x_389, 1); +} +lean_ctor_set(x_389, 0, x_370); +lean_ctor_set(x_389, 1, x_387); +return x_389; } } } } else { -uint8_t x_461; +uint8_t x_464; lean_dec(x_18); lean_dec(x_16); lean_dec(x_8); @@ -4668,23 +4606,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_461 = !lean_is_exclusive(x_40); -if (x_461 == 0) +x_464 = !lean_is_exclusive(x_43); +if (x_464 == 0) { -return x_40; +return x_43; } else { -lean_object* x_462; lean_object* x_463; lean_object* x_464; -x_462 = lean_ctor_get(x_40, 0); -x_463 = lean_ctor_get(x_40, 1); -lean_inc(x_463); -lean_inc(x_462); -lean_dec(x_40); -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_462); -lean_ctor_set(x_464, 1, x_463); -return x_464; +lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_465 = lean_ctor_get(x_43, 0); +x_466 = lean_ctor_get(x_43, 1); +lean_inc(x_466); +lean_inc(x_465); +lean_dec(x_43); +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_465); +lean_ctor_set(x_467, 1, x_466); +return x_467; } } } diff --git a/stage0/stdlib/Lean/Elab/Frontend.c b/stage0/stdlib/Lean/Elab/Frontend.c index b89f4fcadc..fe677b54cc 100644 --- a/stage0/stdlib/Lean/Elab/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Frontend.c @@ -20,31 +20,31 @@ lean_object* l_Lean_Elab_Frontend_runCommandElabM_match__1___rarg(lean_object*, static lean_object* l_Lean_Elab_process___closed__2; lean_object* l_Lean_Elab_IO_processCommands_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_State_commands___default; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; lean_object* l_Lean_Elab_IO_processCommands(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_processCommand_match__1___rarg(lean_object*, lean_object*); lean_object* lean_run_frontend(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1; static lean_object* l_Lean_Elab_process___closed__1; lean_object* lean_environment_set_main_module(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_setCommandState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_getCommandState___rarg___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4; lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_runCommandElabM(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4; lean_object* l_Lean_Elab_Frontend_processCommand_match__1(lean_object*); lean_object* lean_profileit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_Frontend_elabCommandAtFrontend___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3; lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3; lean_object* l_Lean_Elab_runFrontend_match__1___rarg(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_runFrontend___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toList(lean_object*); @@ -57,7 +57,7 @@ lean_object* l_Lean_Elab_Frontend_getInputContext___boxed(lean_object*, lean_obj uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Frontend_setParserState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_print___at_IO_println___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5; lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_runFrontend___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -65,10 +65,9 @@ lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend(lean_object*, lean_objec lean_object* l_Lean_Elab_getPrintMessageEndPos___boxed(lean_object*); static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__1; static lean_object* l_Lean_Elab_Frontend_processCommand___closed__1; -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761_(lean_object*); lean_object* l_Lean_Elab_Frontend_updateCmdPos(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; -lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_setCommandState(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Frontend_processCommand___closed__2; @@ -94,6 +93,7 @@ lean_object* l_Lean_Elab_IO_processCommands_match__1(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_setParserState(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_Frontend_elabCommandAtFrontend___spec__1(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__3; lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_updateCmdPos___boxed(lean_object*); @@ -641,7 +641,8 @@ _start: { lean_object* x_7; lean_inc(x_5); -x_7 = l_Lean_Elab_Command_elabCommand(x_1, x_4, x_5, x_6); +lean_inc(x_4); +x_7 = l_Lean_Elab_Command_elabCommandTopLevel(x_1, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; lean_object* x_9; @@ -650,12 +651,14 @@ lean_inc(x_8); lean_dec(x_7); x_9 = l_Lean_Elab_enableInfoTree___at_Lean_Elab_Frontend_elabCommandAtFrontend___spec__1(x_2, x_4, x_5, x_8); lean_dec(x_5); +lean_dec(x_4); return x_9; } else { uint8_t x_10; lean_dec(x_5); +lean_dec(x_4); x_10 = !lean_is_exclusive(x_7); if (x_10 == 0) { @@ -784,7 +787,6 @@ lean_object* x_74; lean_object* x_75; x_74 = lean_box(0); lean_inc(x_51); x_75 = l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1(x_1, x_65, x_74, x_48, x_51, x_68); -lean_dec(x_48); if (lean_obj_tag(x_75) == 0) { lean_object* x_76; lean_object* x_77; @@ -825,7 +827,6 @@ lean_inc(x_84); lean_dec(x_82); lean_inc(x_51); x_85 = l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1(x_1, x_65, x_83, x_48, x_51, x_84); -lean_dec(x_48); lean_dec(x_83); if (lean_obj_tag(x_85) == 0) { @@ -1002,7 +1003,6 @@ uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_2); lean_dec(x_2); x_8 = l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1(x_1, x_7, x_3, x_4, x_5, x_6); -lean_dec(x_4); lean_dec(x_3); return x_8; } @@ -2450,7 +2450,7 @@ return x_47; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1() { _start: { lean_object* x_1; @@ -2458,17 +2458,17 @@ x_1 = lean_mk_string("printMessageEndPos"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3() { _start: { uint8_t x_1; lean_object* x_2; @@ -2478,7 +2478,7 @@ lean_ctor_set_uint8(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4() { _start: { lean_object* x_1; @@ -2486,13 +2486,13 @@ x_1 = lean_mk_string("print end position of each message in addition to start po return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3; x_2 = l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2500,12 +2500,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5; x_4 = lean_register_option(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -2545,7 +2545,7 @@ uint8_t l_Lean_Elab_getPrintMessageEndPos(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2; x_3 = 0; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -3109,17 +3109,17 @@ l_Lean_Elab_process___closed__4 = _init_l_Lean_Elab_process___closed__4(); lean_mark_persistent(l_Lean_Elab_process___closed__4); l_Lean_Elab_process___closed__5 = _init_l_Lean_Elab_process___closed__5(); lean_mark_persistent(l_Lean_Elab_process___closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761____closed__5); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_761_(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/GenInjective.c b/stage0/stdlib/Lean/Elab/GenInjective.c index 952e610b50..5cc53fa823 100644 --- a/stage0/stdlib/Lean/Elab/GenInjective.c +++ b/stage0/stdlib/Lean/Elab/GenInjective.c @@ -31,12 +31,12 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__8; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,7 +176,7 @@ x_10 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabGenInjectiveTheore 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_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_11, x_2, x_3, x_4); return x_12; } } diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index a66f90f90c..2f84a5ab57 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -55,6 +55,7 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_E lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); uint64_t lean_uint64_of_nat(lean_object*); @@ -64,7 +65,6 @@ lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_C lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedInductiveView; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux_match__1(lean_object*); @@ -85,7 +85,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResulting lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___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_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedAttribute; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -105,6 +104,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1(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_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -155,7 +155,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUnivers lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -183,7 +182,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMo lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(uint8_t, 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_Inductive_0__Lean_Elab_Command_updateParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -201,6 +199,7 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDec lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__2; lean_object* lean_mk_ibelow(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___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_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,7 +211,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_E uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__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*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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*); uint8_t l_Lean_Level_isParam(lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews___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*); @@ -231,7 +229,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__2; static lean_object* l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6; lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -325,7 +322,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAnd static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__4; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__2; -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,6 +333,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType_match__1(lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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*); static lean_object* l_Lean_Elab_Command_instInhabitedInductiveView___closed__1; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___boxed(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_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -349,14 +346,15 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1; lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -385,12 +383,11 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(l lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l_instInhabitedBool; -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews___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*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform___at_Lean_Meta_expandCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__3; @@ -399,21 +396,23 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFV static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__4; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__1; +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___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*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___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*); static uint64_t l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__8; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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_Inductive_0__Lean_Elab_Command_mkTypeFor___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_Inductive_0__Lean_Elab_Command_elabHeader___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__1; +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__9; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1(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_Inductive_0__Lean_Elab_Command_elabCtors___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*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464_(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4_(lean_object*); lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__3; @@ -422,6 +421,7 @@ lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__4; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6; lean_object* l_Lean_Level_mkNaryMax(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -430,6 +430,7 @@ static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lam lean_object* l_Lean_Elab_Command_elabInductiveViews___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5; static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__2; extern lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -445,6 +446,7 @@ lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -454,6 +456,7 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); @@ -474,14 +477,15 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux_ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType___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_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___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_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___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_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2; lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8; uint8_t l_Lean_Level_isZero(lean_object*); @@ -533,10 +537,11 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1; uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(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_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBelow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse_match__1(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_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*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -547,6 +552,7 @@ lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__3; lean_object* l_Lean_Elab_Command_tmpIndParam; +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; size_t lean_usize_of_nat(lean_object*); @@ -554,7 +560,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elab lean_object* lean_mk_binduction_on(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___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_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop(lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__2; @@ -562,11 +567,12 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elab lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType_match__2(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceImpl_initCache; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___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*); @@ -2571,7 +2577,7 @@ lean_dec(x_1); x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1___boxed), 9, 2); lean_closure_set(x_13, 0, x_11); lean_closure_set(x_13, 1, x_12); -x_14 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_9, x_10, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_9, x_10, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_14; } } @@ -2866,6 +2872,70 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___priv return x_2; } } +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___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_4, x_5, x_6, x_2, x_3, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___lambda__1), 11, 3); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_5); +lean_closure_set(x_12, 2, x_6); +x_13 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_14 = l_Lean_Meta_forallTelescopeCompatibleAux___rarg(x_12, x_3, x_1, x_2, x_13, 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) +{ +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; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__1() { _start: { @@ -3061,8 +3131,8 @@ _start: { lean_object* x_11; lean_object* x_12; x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__2___boxed), 10, 1); -lean_closure_set(x_11, 0, x_5); -x_12 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg(x_4, x_11, x_1, x_2, x_6, x_7, x_8, x_9, x_10); +lean_closure_set(x_11, 0, x_3); +x_12 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg(x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } @@ -3070,15 +3140,23 @@ static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_c _start: { lean_object* x_1; -x_1 = lean_mk_string("invalid mutually inductive types, "); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__3___boxed), 10, 0); return x_1; } } static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("invalid mutually inductive types, "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__1; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -3086,150 +3164,138 @@ return x_2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType(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; -x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__3___boxed), 10, 2); -lean_closure_set(x_11, 0, x_4); -lean_closure_set(x_11, 1, x_5); -x_12 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; -x_13 = l_Lean_Meta_forallTelescopeCompatibleAux___rarg(x_11, x_3, x_1, x_2, x_12, x_6, x_7, x_8, x_9, x_10); +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__1; +x_12 = l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2(x_1, x_2, x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); +x_14 = !lean_is_exclusive(x_12); if (x_14 == 0) { -return x_13; +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_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; +x_17 = lean_ctor_get(x_13, 1); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_13, 1, x_21); +return x_12; } else { -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_inc(x_16); -lean_inc(x_15); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_12, 0, x_28); +return x_12; } } else { -lean_object* x_18; -x_18 = lean_ctor_get(x_13, 0); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_13, 0); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_18, 1); -x_23 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_18, 1, x_26); -return x_13; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_18); -x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -x_31 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_27); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_13, 0, x_33); -return x_13; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_34 = lean_ctor_get(x_13, 1); -lean_inc(x_34); -lean_dec(x_13); -x_35 = lean_ctor_get(x_18, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_18, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_37 = x_18; +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_29 = lean_ctor_get(x_12, 1); +lean_inc(x_29); +lean_dec(x_12); +x_30 = lean_ctor_get(x_13, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_32 = x_13; } else { - lean_dec_ref(x_18); - x_37 = lean_box(0); + lean_dec_ref(x_13); + x_32 = lean_box(0); } -x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -if (lean_is_scalar(x_37)) { - x_42 = lean_alloc_ctor(0, 2, 0); +x_33 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +if (lean_is_scalar(x_32)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_42 = x_37; + x_37 = x_32; } -lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_37, 0, x_30); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_29); +return x_38; +} +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_12); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_12, 0); +lean_dec(x_40); +return x_12; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_12, 1); +lean_inc(x_41); +lean_dec(x_12); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_13); lean_ctor_set(x_42, 1, x_41); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_34); -return x_43; +return x_42; } } -else +} +} +} +lean_object* l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_13); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_ctor_get(x_13, 0); -lean_dec(x_45); -return x_13; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_13, 1); -lean_inc(x_46); -lean_dec(x_13); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_18); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} +lean_object* x_12; +x_12 = l_Lean_Meta_forallTelescopeCompatible___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; } } lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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) { @@ -3256,7 +3322,7 @@ _start: { lean_object* x_11; x_11 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__3(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_1); return x_11; } } @@ -4337,7 +4403,7 @@ lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_18); lean_closure_set(x_29, 3, x_23); lean_closure_set(x_29, 4, x_28); -x_30 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_24, x_25, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_30 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_24, x_25, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_30; } else @@ -8695,7 +8761,19 @@ return x_43; } } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Lean_Elab_Command_mkResultUniverse(x_1, x_2); +x_13 = l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(x_12, x_3); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -8703,16 +8781,16 @@ x_1 = lean_mk_string("updateResultingUniverse us: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -8720,16 +8798,16 @@ x_1 = lean_mk_string(", r: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -8737,16 +8815,16 @@ x_1 = lean_mk_string(", rOffset: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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) { _start: { lean_object* x_13; @@ -8762,141 +8840,125 @@ lean_inc(x_1); x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_22; lean_object* x_23; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_16 = x_13; -} else { - lean_dec_ref(x_13); - x_16 = lean_box(0); -} -x_44 = lean_st_ref_get(x_11, x_15); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_45, 3); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*1); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); +lean_dec(x_13); +x_16 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__4; +x_42 = lean_st_ref_get(x_11, x_15); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); lean_dec(x_44); -x_49 = 0; -x_22 = x_49; -x_23 = x_48; -goto block_43; +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = 0; +x_17 = x_47; +x_18 = x_46; +goto block_41; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_50 = lean_ctor_get(x_44, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_48); +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); -lean_dec(x_44); -x_51 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__4; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_50); -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_22 = x_55; -x_23 = x_54; -goto block_43; +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_unbox(x_50); +lean_dec(x_50); +x_17 = x_52; +x_18 = x_51; +goto block_41; } -block_21: +block_41: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = l_Lean_Elab_Command_mkResultUniverse(x_14, x_2); +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_1); +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(x_14, x_2, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_2); -x_19 = l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(x_18, x_4); -if (lean_is_scalar(x_16)) { - x_20 = lean_alloc_ctor(0, 2, 0); -} else { - x_20 = x_16; -} -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); return x_20; } -block_43: -{ -if (x_22 == 0) -{ -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_17 = x_23; -goto block_21; -} else { -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_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_inc(x_14); -x_24 = lean_array_to_list(lean_box(0), x_14); -x_25 = l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(x_24); -x_26 = l_Lean_MessageData_ofList(x_25); -lean_dec(x_25); -x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_31, 0, x_1); -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); +x_21 = lean_array_to_list(lean_box(0), x_14); +x_22 = l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(x_21); +x_23 = l_Lean_MessageData_ofList(x_22); +lean_dec(x_22); +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_28, 0, x_1); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); lean_inc(x_2); -x_35 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_2); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__4; -x_41 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_40, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_32 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_2); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_33); +x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_16, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(x_14, x_2, x_4, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_39); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_17 = x_42; -goto block_21; +lean_dec(x_38); +lean_dec(x_2); +return x_40; } } } else { -uint8_t x_56; +uint8_t x_53; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8906,23 +8968,23 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_13); -if (x_56 == 0) +x_53 = !lean_is_exclusive(x_13); +if (x_53 == 0) { return x_13; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_13, 0); -x_58 = lean_ctor_get(x_13, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_13, 0); +x_55 = lean_ctor_get(x_13, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_13); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -8988,7 +9050,7 @@ else { lean_object* x_23; lean_object* x_24; x_23 = lean_box(0); -x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(x_15, x_14, x_1, x_2, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2(x_15, x_14, x_1, x_2, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_24; } } @@ -9042,11 +9104,27 @@ lean_dec(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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_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_2); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___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) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1(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 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_3); return x_13; @@ -9061,7 +9139,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1() { _start: { lean_object* x_1; @@ -9069,17 +9147,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3() { _start: { lean_object* x_1; @@ -9087,17 +9165,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5() { _start: { lean_object* x_1; @@ -9105,13 +9183,13 @@ x_1 = lean_mk_string("by default the `inductive/structure commands report an err return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -9120,12 +9198,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -9755,7 +9833,7 @@ x_17 = lean_ctor_get(x_13, 1); lean_inc(x_17); lean_dec(x_13); x_18 = lean_apply_1(x_3, x_17); -x_19 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_15, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_19 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_15, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_14); return x_19; } else @@ -17666,6 +17744,8 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___ lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__3); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___boxed__const__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___boxed__const__1); l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1(); @@ -17726,33 +17806,33 @@ l_Lean_Elab_Command_accLevelAtCtor___closed__1 = _init_l_Lean_Elab_Command_accLe lean_mark_persistent(l_Lean_Elab_Command_accLevelAtCtor___closed__1); l_Lean_Elab_Command_accLevelAtCtor___closed__2 = _init_l_Lean_Elab_Command_accLevelAtCtor___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_accLevelAtCtor___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__5); -l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399____closed__6); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464____closed__6); l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1 = _init_l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3399_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3464_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse); diff --git a/stage0/stdlib/Lean/Elab/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index d942176312..1c8b01ed2d 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -17,8 +17,10 @@ lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__2(lean_object*, lean_obje static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__6; lean_object* l_Lean_Elab_Info_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext(lean_object*); size_t l_USize_add(size_t, size_t); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_io_get_num_heartbeats(lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute_match__1(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -29,6 +31,7 @@ static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); lean_object* l_Lean_resolveGlobalConst___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__2; lean_object* l_Lean_Elab_pushInfoTree___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_format___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,9 +54,12 @@ lean_object* l_Lean_mkConstWithLevelParams___rarg(lean_object*, lean_object*, le static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__1; lean_object* l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_instInhabitedTermInfo; +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___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* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_modifyInfoTrees___rarg(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos(lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Elab_InfoTree_format_match__1(lean_object*); @@ -62,6 +68,8 @@ lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_TermInfo_runMetaM(lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__4___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_Std_PersistentArray_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__5; lean_object* l_Lean_Elab_withInfoContext_x27_match__1(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -77,14 +85,15 @@ lean_object* l_Lean_Elab_ContextInfo_runMetaM_match__1(lean_object*, lean_object static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__3; lean_object* l_Lean_Elab_Info_format_match__1(lean_object*); lean_object* l_Lean_Elab_getInfoTrees___rarg___lambda__1(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_getAux___at_Lean_Elab_withInfoHole___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); @@ -95,29 +104,32 @@ lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__3(lean_object*, lean_obje static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__1; lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedFieldInfo___closed__1; +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__6; -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); -static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__4; lean_object* l_Lean_Elab_withInfoContext_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_options___default; lean_object* l_Lean_Elab_instMonadInfoTree___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_TacticInfo_format___closed__4; lean_object* l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_format_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__8; static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__6; lean_object* l_Lean_Elab_InfoTree_format_match__2(lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PersistentArray_getAux___at_Lean_Elab_withInfoHole___spec__2___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__10; static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; lean_object* l_Lean_Elab_withInfoHole(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_FieldInfo_format___lambda__1___closed__1; lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_assignInfoHoleId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,6 +141,7 @@ static lean_object* l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___c extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*); size_t l_UInt64_toUSize(uint64_t); +static lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1; static lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo___closed__1; static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__9; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,11 +149,15 @@ lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg(lean_object*, lean_o lean_object* l_Lean_Elab_pushInfoTree___rarg(lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_Elab_instInhabitedContextInfo___closed__4; lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute_match__2(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; lean_object* l_Lean_Elab_enableInfoTree___rarg(lean_object*, uint8_t); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__6; static lean_object* l_Lean_Elab_TacticInfo_format___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -153,22 +170,24 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spe lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__11; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5(lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__5; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2(lean_object*, lean_object*); -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Elab_InfoTree_format_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2___closed__1; +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_TacticInfo_format___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_mctx___default; lean_object* l_Lean_Elab_withInfoHole___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -190,10 +209,11 @@ lean_object* l_Lean_Elab_resolveGlobalConstWithInfos(lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_TacticInfo_format___closed__1; lean_object* l_Lean_Elab_CompletionInfo_format_match__1(lean_object*); -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash(lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_TacticInfo_format___closed__6; lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees(lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Elab_assignInfoHoleId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedTacticInfo___closed__1; @@ -214,6 +234,7 @@ lean_object* l_Lean_Elab_withInfoContext_x27_match__2___rarg(lean_object*, lean_ lean_object* l_Lean_Elab_instInhabitedCommandInfo; static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__8; size_t l_USize_shiftLeft(size_t, size_t); +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__2; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -234,6 +255,7 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___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*); static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,13 +263,17 @@ lean_object* l_Lean_Elab_CompletionInfo_stx___boxed(lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f_match__1(lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__2(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_ppGoals___closed__2; lean_object* l_Lean_Elab_getInfoTrees(lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(lean_object*, lean_object*); lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_ContextInfo_currNamespace___default; @@ -258,17 +284,22 @@ static lean_object* l_Lean_Elab_InfoState_trees___default___closed__2; lean_object* l_Lean_Elab_addCompletionInfo___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Elab_InfoTree_substitute___spec__7___closed__2; +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__3; +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__4; lean_object* l_Lean_Elab_addCompletionInfo(lean_object*); lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f(lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext(lean_object*); lean_object* l_Std_PersistentArray_toList___rarg(lean_object*); static lean_object* l_Lean_Elab_InfoState_trees___default___closed__1; lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_Lean_Elab_withInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4(lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__2; static size_t l_Std_PersistentHashMap_findAux___at_Lean_Elab_InfoTree_substitute___spec__7___closed__1; @@ -276,10 +307,9 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Elab_TacticInfo_format___closed__5; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedInfoTree; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_InfoTree_substitute___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_InfoTree_substitute___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_stx_match__1(lean_object*); static lean_object* l_Lean_Elab_InfoTree_format___closed__2; @@ -304,7 +334,10 @@ static lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__1; lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1___boxed(lean_object*, lean_object*); static size_t l_Lean_Elab_instInhabitedTermInfo___closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__3(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_withSaveInfoContext___spec__4___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_CommandInfo_format___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_InfoTree_substitute___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__12; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -313,22 +346,29 @@ lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo; lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__1; +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1(uint8_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_InfoTree_substitute___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadInfoTree(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1(lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__2; lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withSaveInfoContext___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_withInfoContext_x27_match__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedContextInfo; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__3; lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__9; +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1___boxed(lean_object*, lean_object*); @@ -337,7 +377,6 @@ static lean_object* l_Lean_Elab_CompletionInfo_format___closed__2; lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedInfoState; static lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__2; lean_object* l_Lean_Elab_FieldInfo_format___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -346,6 +385,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__3 static lean_object* l_Lean_Elab_CommandInfo_format___closed__1; lean_object* l_Lean_Elab_Info_updateContext_x3f___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_CommandInfo_format___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__1; lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -358,21 +398,22 @@ static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__2; lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__5; lean_object* l_Lean_Elab_pushInfoTree(lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2(lean_object*); static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__6; lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(lean_object*, lean_object*); +static lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2; static lean_object* l_Lean_Elab_CompletionInfo_format___closed__1; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext(lean_object*); lean_object* l_Lean_Elab_getInfoTrees___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__4; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___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*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__4; static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__1; @@ -393,6 +434,7 @@ static lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_f lean_object* l_Lean_Elab_CompletionInfo_format___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_InfoState_enabled___default; lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1; lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -410,15 +452,17 @@ lean_object* l_Lean_Elab_CompletionInfo_stx(lean_object*); lean_object* l_Lean_Elab_InfoTree_format_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedFieldInfo; lean_object* l_Std_Format_nestD(lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__1(lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___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*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__7; lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_ppGoals___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedInfoState___closed__1; +lean_object* l_Lean_Elab_getResetInfoTrees___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_FieldInfo_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2___boxed(lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default___closed__1() { _start: @@ -6119,7 +6163,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_mod return x_2; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object* x_1) { _start: { uint8_t x_2; @@ -6149,7 +6193,7 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -6163,15 +6207,15 @@ x_6 = lean_apply_2(x_5, lean_box(0), x_2); return x_6; } } -static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg___lambda__1), 1, 0); return x_1; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -6181,16 +6225,16 @@ lean_dec(x_4); x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_dec(x_1); -x_7 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1; +x_7 = l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1; x_8 = lean_apply_1(x_6, x_7); -x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_9, 0, x_2); lean_closure_set(x_9, 1, x_5); x_10 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_getResetInfoTrees___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -6199,7 +6243,7 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); lean_inc(x_3); -x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3), 4, 3); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg___lambda__3), 4, 3); lean_closure_set(x_5, 0, x_2); lean_closure_set(x_5, 1, x_1); lean_closure_set(x_5, 2, x_3); @@ -6207,19 +6251,19 @@ x_6 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_4, x_5); return x_6; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees(lean_object* x_1) { +lean_object* l_Lean_Elab_getResetInfoTrees(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg), 2, 0); return x_2; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2(x_1, x_2, x_3); +x_4 = l_Lean_Elab_getResetInfoTrees___rarg___lambda__2(x_1, x_2, x_3); lean_dec(x_3); return x_4; } @@ -6432,7 +6476,7 @@ _start: lean_object* x_10; uint8_t x_11; lean_inc(x_2); lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_2); x_11 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); @@ -6712,7 +6756,7 @@ _start: lean_object* x_10; uint8_t x_11; lean_inc(x_2); lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_2); x_11 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); @@ -7108,7 +7152,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_3); lean_inc(x_2); -x_9 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); +x_9 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); lean_inc(x_5); x_10 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__6), 7, 6); lean_closure_set(x_10, 0, x_2); @@ -7295,7 +7339,7 @@ else lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_inc(x_3); lean_inc(x_2); -x_10 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); +x_10 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); lean_inc(x_5); x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___rarg___lambda__5), 8, 7); lean_closure_set(x_11, 0, x_2); @@ -7358,115 +7402,7 @@ lean_dec(x_8); return x_9; } } -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_2); -x_6 = lean_apply_2(x_4, lean_box(0), x_5); -return x_6; -} -} -lean_object* l_Lean_Elab_withInfoContext___rarg___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__1), 3, 2); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_7); -lean_inc(x_2); -x_9 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_3, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___rarg___lambda__2), 3, 2); -lean_closure_set(x_10, 0, x_4); -lean_closure_set(x_10, 1, x_5); -x_11 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_9, x_10); -return x_11; -} -} -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__2), 6, 5); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_2); -lean_closure_set(x_8, 2, x_3); -lean_closure_set(x_8, 3, x_4); -lean_closure_set(x_8, 4, x_5); -x_9 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_6, x_8); -return x_9; -} -} -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_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; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__3___boxed), 7, 6); -lean_closure_set(x_12, 0, x_9); -lean_closure_set(x_12, 1, x_2); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_8); -lean_closure_set(x_12, 5, x_5); -x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_12); -x_14 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1; -x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_14, x_13); -return x_15; -} -} -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*2); -if (x_9 == 0) -{ -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_1; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_inc(x_3); -lean_inc(x_2); -x_10 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); -lean_inc(x_4); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__4), 8, 7); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_4); -lean_closure_set(x_11, 2, x_5); -lean_closure_set(x_11, 3, x_3); -lean_closure_set(x_11, 4, x_6); -lean_closure_set(x_11, 5, x_7); -lean_closure_set(x_11, 6, x_1); -x_12 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_10, x_11); -return x_12; -} -} -} -lean_object* l_Lean_Elab_withInfoContext___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_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -7476,18 +7412,68 @@ x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_inc(x_8); lean_inc(x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__5___boxed), 8, 7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___rarg___lambda__6___boxed), 8, 7); lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_1); lean_closure_set(x_9, 2, x_2); -lean_closure_set(x_9, 3, x_7); -lean_closure_set(x_9, 4, x_6); +lean_closure_set(x_9, 3, x_6); +lean_closure_set(x_9, 4, x_7); lean_closure_set(x_9, 5, x_8); lean_closure_set(x_9, 6, x_4); x_10 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1___rarg), 6, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_2); +x_7 = lean_apply_2(x_5, lean_box(0), x_6); +return x_7; +} +} +lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__1), 3, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_3); +x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_2, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_withInfoContext___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; lean_object* x_8; +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__2), 3, 2); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_6); +x_8 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1___rarg(x_1, x_2, lean_box(0), x_4, x_5, x_7); +return x_8; +} +} lean_object* l_Lean_Elab_withInfoContext(lean_object* x_1) { _start: { @@ -7496,22 +7482,876 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg), 6, 0); return x_2; } } -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___lambda__1(size_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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13) { _start: { -lean_object* x_8; -x_8 = l_Lean_Elab_withInfoContext___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -return x_8; +size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = 1; +x_15 = x_1 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_2, x_1, x_16); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15, x_17); +return x_18; } } -lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___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, size_t x_10, size_t x_11, lean_object* x_12) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_withInfoContext___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_13; +x_13 = x_11 < x_10; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_9); lean_dec(x_8); -return x_9; +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_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = x_12; +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = x_18; +lean_inc(x_9); +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_1); +x_23 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +x_24 = lean_box_usize(x_11); +x_25 = lean_box_usize(x_10); +x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___lambda__1___boxed), 13, 12); +lean_closure_set(x_26, 0, x_24); +lean_closure_set(x_26, 1, x_20); +lean_closure_set(x_26, 2, x_1); +lean_closure_set(x_26, 3, x_2); +lean_closure_set(x_26, 4, x_3); +lean_closure_set(x_26, 5, x_4); +lean_closure_set(x_26, 6, x_5); +lean_closure_set(x_26, 7, x_6); +lean_closure_set(x_26, 8, x_7); +lean_closure_set(x_26, 9, x_8); +lean_closure_set(x_26, 10, x_9); +lean_closure_set(x_26, 11, x_25); +x_27 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_23, x_26); +return x_27; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___boxed), 12, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_3); +lean_ctor_set(x_10, 2, x_4); +lean_ctor_set(x_10, 3, x_8); +lean_ctor_set(x_10, 4, x_5); +lean_ctor_set(x_10, 5, x_6); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +x_12 = lean_apply_2(x_9, lean_box(0), x_11); +return x_12; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__1), 8, 7); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_5); +lean_closure_set(x_10, 5, x_9); +lean_closure_set(x_10, 6, x_6); +x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_10); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +lean_inc(x_7); +x_11 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__2), 9, 8); +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); +lean_closure_set(x_11, 4, x_9); +lean_closure_set(x_11, 5, x_6); +lean_closure_set(x_11, 6, x_7); +lean_closure_set(x_11, 7, x_8); +x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); +return x_12; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_inc(x_6); +x_10 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__3), 9, 8); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_8); +lean_closure_set(x_10, 5, x_5); +lean_closure_set(x_10, 6, x_6); +lean_closure_set(x_10, 7, x_7); +x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +lean_inc(x_6); +x_10 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__4), 8, 7); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_4); +lean_closure_set(x_10, 3, x_8); +lean_closure_set(x_10, 4, x_5); +lean_closure_set(x_10, 5, x_6); +lean_closure_set(x_10, 6, x_7); +x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +lean_inc(x_5); +x_9 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__5), 8, 7); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_3); +lean_closure_set(x_9, 3, x_8); +lean_closure_set(x_9, 4, x_4); +lean_closure_set(x_9, 5, x_5); +lean_closure_set(x_9, 6, x_6); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_7, x_9); +return x_10; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7(size_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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = 1; +x_15 = x_1 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_2, x_1, x_16); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15, x_17); +return x_18; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___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, size_t x_10, size_t x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = x_11 < x_10; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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); +lean_dec(x_2); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = x_12; +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = x_18; +x_23 = lean_ctor_get(x_9, 0); +lean_inc(x_23); +x_24 = l_Lean_Elab_InfoTree_substitute(x_22, x_23); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_7); +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__6), 8, 7); +lean_closure_set(x_26, 0, x_4); +lean_closure_set(x_26, 1, x_5); +lean_closure_set(x_26, 2, x_8); +lean_closure_set(x_26, 3, x_24); +lean_closure_set(x_26, 4, x_7); +lean_closure_set(x_26, 5, x_3); +lean_closure_set(x_26, 6, x_6); +lean_inc(x_7); +x_27 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_25, x_26); +x_28 = lean_box_usize(x_11); +x_29 = lean_box_usize(x_10); +x_30 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7___boxed), 13, 12); +lean_closure_set(x_30, 0, x_28); +lean_closure_set(x_30, 1, x_20); +lean_closure_set(x_30, 2, x_1); +lean_closure_set(x_30, 3, x_2); +lean_closure_set(x_30, 4, x_3); +lean_closure_set(x_30, 5, x_4); +lean_closure_set(x_30, 6, x_5); +lean_closure_set(x_30, 7, x_6); +lean_closure_set(x_30, 8, x_7); +lean_closure_set(x_30, 9, x_8); +lean_closure_set(x_30, 10, x_9); +lean_closure_set(x_30, 11, x_29); +x_31 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_27, x_30); +return x_31; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___boxed), 12, 0); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__1), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___lambda__2), 1, 0); +return x_1; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___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: +{ +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_array_get_size(x_11); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = x_11; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_18); +x_20 = x_19; +x_21 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1; +x_22 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_21, x_20); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_23 = lean_ctor_get(x_10, 0); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_ctor_get(x_1, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_array_get_size(x_23); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +x_30 = x_23; +x_31 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28, x_29, x_30); +x_32 = x_31; +x_33 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2; +x_34 = lean_apply_4(x_26, lean_box(0), lean_box(0), x_33, x_32); +return x_34; +} +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___lambda__1(size_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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = 1; +x_15 = x_1 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_2, x_1, x_16); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15, x_17); +return x_18; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___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, size_t x_10, size_t x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = x_11 < x_10; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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); +lean_dec(x_2); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = x_12; +x_17 = lean_apply_2(x_15, lean_box(0), x_16); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = x_18; +x_23 = lean_ctor_get(x_9, 0); +lean_inc(x_23); +x_24 = l_Lean_Elab_InfoTree_substitute(x_22, x_23); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_7); +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__6), 8, 7); +lean_closure_set(x_26, 0, x_4); +lean_closure_set(x_26, 1, x_5); +lean_closure_set(x_26, 2, x_8); +lean_closure_set(x_26, 3, x_24); +lean_closure_set(x_26, 4, x_7); +lean_closure_set(x_26, 5, x_3); +lean_closure_set(x_26, 6, x_6); +lean_inc(x_7); +x_27 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_25, x_26); +x_28 = lean_box_usize(x_11); +x_29 = lean_box_usize(x_10); +x_30 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___lambda__1___boxed), 13, 12); +lean_closure_set(x_30, 0, x_28); +lean_closure_set(x_30, 1, x_20); +lean_closure_set(x_30, 2, x_1); +lean_closure_set(x_30, 3, x_2); +lean_closure_set(x_30, 4, x_3); +lean_closure_set(x_30, 5, x_4); +lean_closure_set(x_30, 6, x_5); +lean_closure_set(x_30, 7, x_6); +lean_closure_set(x_30, 8, x_7); +lean_closure_set(x_30, 9, x_8); +lean_closure_set(x_30, 10, x_9); +lean_closure_set(x_30, 11, x_29); +x_31 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_27, x_30); +return x_31; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___boxed), 12, 0); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_2, 2); +x_8 = lean_ctor_get_usize(x_2, 4); +x_9 = lean_ctor_get(x_2, 3); +lean_inc(x_9); +lean_inc(x_7); +x_10 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_4); +lean_ctor_set(x_10, 2, x_7); +lean_ctor_set(x_10, 3, x_9); +lean_ctor_set_usize(x_10, 4, x_8); +x_11 = lean_apply_2(x_6, lean_box(0), x_10); +return x_11; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___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) { +_start: +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = x_13; +lean_inc(x_2); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_17); +x_19 = x_18; +x_20 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_20, 0, x_2); +lean_closure_set(x_20, 1, x_1); +lean_closure_set(x_20, 2, x_12); +x_21 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_19, x_20); +return x_21; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__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, 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; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_inc(x_9); +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_1); +x_13 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__2), 12, 11); +lean_closure_set(x_14, 0, x_10); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_2); +lean_closure_set(x_14, 3, x_3); +lean_closure_set(x_14, 4, x_4); +lean_closure_set(x_14, 5, x_5); +lean_closure_set(x_14, 6, x_6); +lean_closure_set(x_14, 7, x_7); +lean_closure_set(x_14, 8, x_8); +lean_closure_set(x_14, 9, x_9); +lean_closure_set(x_14, 10, x_11); +x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 1); +lean_dec(x_5); +x_6 = l_Std_PersistentArray_append___rarg(x_1, x_2); +lean_ctor_set(x_3, 1, x_6); +return x_3; +} +else +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l_Std_PersistentArray_append___rarg(x_1, x_2); +x_10 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +lean_ctor_set_uint8(x_10, sizeof(void*)*2, x_7); +return x_10; +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__1___boxed), 3, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_3); +x_6 = lean_apply_1(x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_inc(x_7); +x_13 = l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__2), 3, 2); +lean_closure_set(x_14, 0, x_9); +lean_closure_set(x_14, 1, x_10); +x_15 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +lean_inc(x_7); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__3), 11, 10); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_8); +lean_closure_set(x_13, 8, x_9); +lean_closure_set(x_13, 9, x_10); +x_14 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__4___boxed), 12, 11); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_7); +lean_closure_set(x_16, 7, x_13); +lean_closure_set(x_16, 8, x_8); +lean_closure_set(x_16, 9, x_12); +lean_closure_set(x_16, 10, x_9); +x_17 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_16); +x_18 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1; +x_19 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_18, x_17); +return x_19; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*2); +if (x_13 == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_3); +lean_inc(x_2); +x_14 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); +lean_inc(x_9); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__5), 12, 11); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_4); +lean_closure_set(x_15, 2, x_5); +lean_closure_set(x_15, 3, x_6); +lean_closure_set(x_15, 4, x_7); +lean_closure_set(x_15, 5, x_8); +lean_closure_set(x_15, 6, x_9); +lean_closure_set(x_15, 7, x_3); +lean_closure_set(x_15, 8, x_10); +lean_closure_set(x_15, 9, x_11); +lean_closure_set(x_15, 10, x_1); +x_16 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_14, x_15); +return x_16; +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___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; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_inc(x_12); +lean_inc(x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg___lambda__6___boxed), 12, 11); +lean_closure_set(x_13, 0, x_10); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_5); +lean_closure_set(x_13, 4, x_6); +lean_closure_set(x_13, 5, x_7); +lean_closure_set(x_13, 6, x_8); +lean_closure_set(x_13, 7, x_9); +lean_closure_set(x_13, 8, x_11); +lean_closure_set(x_13, 9, x_12); +lean_closure_set(x_13, 10, x_4); +x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg___lambda__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15, x_13); +return x_16; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_14 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_14, x_12); +return x_15; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___lambda__7(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15, x_13); +return x_16; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_14 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_14, x_12); +return x_15; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg___lambda__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15, x_13); +return x_16; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_14 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__5___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_14, x_12); +return x_15; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___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_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_withSaveInfoContext___rarg___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_withSaveInfoContext___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +return x_13; +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_withSaveInfoContext___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +return x_13; } } lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -8186,7 +9026,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_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(322u); +x_3 = lean_unsigned_to_nat(336u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8283,6 +9123,36 @@ lean_dec(x_5); return x_6; } } +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___rarg___lambda__6___boxed), 8, 7); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_3); +lean_closure_set(x_8, 3, x_5); +lean_closure_set(x_8, 4, x_6); +lean_closure_set(x_8, 5, x_7); +lean_closure_set(x_8, 6, x_1); +x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1___rarg), 5, 0); +return x_3; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -8303,10 +9173,21 @@ x_9 = lean_apply_2(x_6, lean_box(0), x_8); return x_9; } } +lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__1), 3, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_4); +x_6 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_3, x_5); +return x_6; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___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: { -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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_8 = lean_ctor_get(x_2, 1); lean_inc(x_8); lean_inc(x_2); @@ -8316,20 +9197,13 @@ lean_closure_set(x_9, 1, x_5); lean_closure_set(x_9, 2, x_6); lean_inc(x_8); x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_4, x_9); -x_11 = lean_ctor_get(x_3, 0); -lean_inc(x_11); -lean_inc(x_11); -lean_inc(x_8); -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext___rarg___lambda__5___boxed), 8, 7); -lean_closure_set(x_12, 0, x_7); -lean_closure_set(x_12, 1, x_2); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_8); -lean_closure_set(x_12, 4, x_10); -lean_closure_set(x_12, 5, x_11); -lean_closure_set(x_12, 6, x_1); -x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +lean_inc(x_2); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__2), 4, 3); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_8); +lean_closure_set(x_11, 2, x_10); +x_12 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withMacroExpansionInfo___spec__1___rarg(x_1, x_2, x_3, x_7, x_11); +return x_12; } } lean_object* l_Lean_Elab_withMacroExpansionInfo(lean_object* x_1, lean_object* x_2) { @@ -8559,7 +9433,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_3); lean_inc(x_2); -x_9 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); +x_9 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3); x_10 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoHole___rarg___lambda__3), 6, 5); lean_closure_set(x_10, 0, x_2); lean_closure_set(x_10, 1, x_3); @@ -8987,12 +9861,16 @@ l_Lean_Elab_InfoTree_format___closed__1 = _init_l_Lean_Elab_InfoTree_format___cl lean_mark_persistent(l_Lean_Elab_InfoTree_format___closed__1); l_Lean_Elab_InfoTree_format___closed__2 = _init_l_Lean_Elab_InfoTree_format___closed__2(); lean_mark_persistent(l_Lean_Elab_InfoTree_format___closed__2); -l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1); +l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1 = _init_l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___rarg___lambda__3___closed__1); l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1); l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1 = _init_l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1(); lean_mark_persistent(l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__1); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg___closed__2); l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2___closed__1(); lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2___closed__1); l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index cd87cd8197..900d2de50c 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -62,13 +62,13 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_mkFreshLevelMVar(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Level_instMonadOptionsLevelElabM___closed__1; lean_object* l_Lean_Elab_Level_maxUniverseOffset; -static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2; -static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1; +static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2; +static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1; lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Level_elabLevel___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212_(lean_object*); +lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213_(lean_object*); static lean_object* l_Lean_Elab_Level_elabLevel___closed__12; lean_object* l_Lean_Elab_Level_elabLevel_match__1(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -80,9 +80,7 @@ lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3(lean static lean_object* l_Lean_Elab_Level_elabLevel___closed__2; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Level_elabLevel___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3; static lean_object* l_Lean_Elab_Level_instMonadOptionsLevelElabM___closed__3; -static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5; lean_object* l_Lean_Elab_Level_elabLevel_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_checkUniverseOffset___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_checkUniverseOffset___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,11 +107,13 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__4(lean_obj lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Level_elabLevel___closed__14; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Level_elabLevel___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5; static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Level_elabLevel___spec__2___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_checkUniverseOffset___rarg___lambda__1___closed__2; lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Level_elabLevel___closed__3; +static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3; static lean_object* l_Lean_Elab_Level_elabLevel___closed__15; static lean_object* l_Lean_Elab_Level_elabLevel___closed__18; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); @@ -128,8 +128,8 @@ lean_object* l_Lean_Elab_Level_instAddMessageContextLevelElabM___boxed(lean_obje lean_object* l_ReaderT_read___at_Lean_Elab_Level_instMonadOptionsLevelElabM___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__1; static lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__1; +static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4; lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_checkUniverseOffset___at_Lean_Elab_Level_elabLevel___spec__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4; lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -736,7 +736,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1() { +static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1() { _start: { lean_object* x_1; @@ -744,17 +744,17 @@ x_1 = lean_mk_string("maxUniverseOffset"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2() { +static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1; +x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3() { +static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3() { _start: { lean_object* x_1; @@ -762,7 +762,7 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4() { +static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4() { _start: { lean_object* x_1; @@ -770,13 +770,13 @@ x_1 = lean_mk_string("maximum universe level offset"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5() { +static lean_object* _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(32u); -x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3; -x_3 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4; +x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3; +x_3 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -784,12 +784,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212_(lean_object* x_1) { +lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2; -x_3 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5; +x_2 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2; +x_3 = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -3015,19 +3015,19 @@ l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5 = _init_l_Lean_El lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5); l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM = _init_l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM(); lean_mark_persistent(l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM); -l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1(); -lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__1); -l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2(); -lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__2); -l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3(); -lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__3); -l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4(); -lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__4); -l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5(); -lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212____closed__5); +l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1(); +lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__1); +l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2(); +lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__2); +l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3(); +lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__3); +l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4(); +lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__4); +l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5 = _init_l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5(); +lean_mark_persistent(l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213____closed__5); l_Lean_Elab_Level_maxUniverseOffset___closed__1 = _init_l_Lean_Elab_Level_maxUniverseOffset___closed__1(); lean_mark_persistent(l_Lean_Elab_Level_maxUniverseOffset___closed__1); -res = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_212_(lean_io_mk_world()); +res = l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_213_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Level_maxUniverseOffset = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Level_maxUniverseOffset); diff --git a/stage0/stdlib/Lean/Elab/Macro.c b/stage0/stdlib/Lean/Elab/Macro.c new file mode 100644 index 0000000000..8357664cb6 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Macro.c @@ -0,0 +1,2306 @@ +// Lean compiler output +// Module: Lean.Elab.Macro +// Imports: Init Lean.Elab.MacroArgUtil +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__27; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__9; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___boxed(lean_object**); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__2; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__8; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__17; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__8; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__4; +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___closed__9; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Lean_Elab_Command_expandMacro___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__19; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__25; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___closed__5; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__14; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__28; +lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___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*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__21; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__6; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__6; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__22; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__13; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__23; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__20; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__16; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; +lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__7; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6; +lean_object* l_Lean_Elab_Command_expandMacro___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*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__5; +extern lean_object* l_Lean_Elab_macroAttribute; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__24; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___closed__2; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__7; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__10; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___closed__2; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__10; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__15; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__18; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; +lean_object* l_Lean_Elab_Command_expandMacro___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* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__12; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__11; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(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_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__26; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro_match__1(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___closed__2; +lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4; +lean_object* l_Lean_Elab_Command_expandMacro_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +lean_inc(x_4); +x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 5); +x_5 = l_Lean_mkIdentFrom(x_4, x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = l_Lean_Elab_Command_expandMacro___lambda__1___closed__1; +x_6 = lean_array_push(x_5, x_1); +x_7 = lean_array_push(x_6, x_2); +x_8 = l_Lean_nullKind; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macro_rules"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_expandMacro___lambda__2___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_Elab_Command_expandMacro___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quot"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__16; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__15; +x_2 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__17; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedName"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("name"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPrio"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("priority"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precedence"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2(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, 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) { +_start: +{ +lean_object* x_20; +lean_inc(x_18); +x_20 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_18, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box_usize(x_2); +x_24 = lean_box_usize(x_3); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); +lean_closure_set(x_25, 0, x_23); +lean_closure_set(x_25, 1, x_24); +lean_closure_set(x_25, 2, x_4); +x_26 = x_25; +lean_inc(x_18); +x_27 = lean_apply_2(x_26, x_18, x_22); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_18); +x_30 = l_Lean_Macro_getCurrNamespace(x_18, x_29); +if (lean_obj_tag(x_30) == 0) +{ +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_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; size_t 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_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +lean_inc(x_17); +x_33 = l_Lean_Name_append(x_31, x_17); +lean_dec(x_31); +lean_inc(x_5); +x_34 = lean_array_push(x_5, x_21); +x_35 = l_Array_append___rarg(x_34, x_28); +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_35); +x_172 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_17, x_18, x_32); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_18, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__19; +lean_inc(x_7); +x_179 = lean_name_mk_string(x_7, x_178); +lean_inc(x_176); +x_180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_180, 0, x_176); +lean_ctor_set(x_180, 1, x_178); +x_181 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__20; +lean_inc(x_7); +x_182 = lean_name_mk_string(x_7, x_181); +x_183 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__21; +lean_inc(x_176); +x_184 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_184, 0, x_176); +lean_ctor_set(x_184, 1, x_183); +x_185 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__22; +lean_inc(x_176); +x_186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_186, 0, x_176); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__23; +lean_inc(x_176); +x_188 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_188, 0, x_176); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__11; +lean_inc(x_176); +x_190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_190, 0, x_176); +lean_ctor_set(x_190, 1, x_189); +x_191 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__15; +x_192 = lean_array_push(x_191, x_184); +lean_inc(x_192); +x_193 = lean_array_push(x_192, x_186); +lean_inc(x_188); +x_194 = lean_array_push(x_193, x_188); +x_195 = lean_array_push(x_194, x_173); +lean_inc(x_190); +x_196 = lean_array_push(x_195, x_190); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_182); +lean_ctor_set(x_197, 1, x_196); +lean_inc(x_5); +x_198 = lean_array_push(x_5, x_197); +x_199 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__24; +lean_inc(x_7); +x_202 = lean_name_mk_string(x_7, x_201); +x_203 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__25; +lean_inc(x_176); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_176); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Nat_repr(x_11); +x_206 = l_Lean_numLitKind; +x_207 = lean_box(2); +x_208 = l_Lean_Syntax_mkLit(x_206, x_205, x_207); +x_209 = lean_array_push(x_192, x_204); +x_210 = lean_array_push(x_209, x_188); +x_211 = lean_array_push(x_210, x_208); +x_212 = lean_array_push(x_211, x_190); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_202); +lean_ctor_set(x_213, 1, x_212); +lean_inc(x_5); +x_214 = lean_array_push(x_5, x_213); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_199); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_get_size(x_12); +x_217 = lean_usize_of_nat(x_216); +lean_dec(x_216); +x_218 = x_12; +x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_217, x_3, x_218); +x_220 = x_219; +x_221 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4; +x_222 = l_Array_append___rarg(x_221, x_220); +lean_dec(x_220); +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_199); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__26; +x_225 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_225, 0, x_176); +lean_ctor_set(x_225, 1, x_224); +if (lean_obj_tag(x_10) == 0) +{ +x_226 = x_221; +goto block_258; +} +else +{ +lean_object* x_259; lean_object* x_260; +x_259 = lean_ctor_get(x_10, 0); +lean_inc(x_259); +lean_inc(x_5); +x_260 = lean_array_push(x_5, x_259); +x_226 = x_260; +goto block_258; +} +block_171: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = l_Lean_Syntax_getArgs(x_6); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_dec_eq(x_40, x_41); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_43 = l_Lean_Syntax_getArg(x_6, x_41); +x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_18, x_38); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; +x_48 = lean_name_mk_string(x_7, x_47); +x_49 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__5; +lean_inc(x_5); +x_50 = lean_array_push(x_5, x_49); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_8); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_45); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_47); +x_53 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__6; +lean_inc(x_9); +x_54 = lean_name_mk_string(x_9, x_53); +x_55 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__7; +lean_inc(x_9); +x_56 = lean_name_mk_string(x_9, x_55); +x_57 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__8; +lean_inc(x_45); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__9; +x_60 = lean_name_mk_string(x_9, x_59); +x_61 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__10; +lean_inc(x_45); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_45); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__11; +lean_inc(x_45); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_45); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__12; +x_66 = lean_array_push(x_65, x_62); +lean_inc(x_66); +x_67 = lean_array_push(x_66, x_36); +lean_inc(x_64); +x_68 = lean_array_push(x_67, x_64); +lean_inc(x_60); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +lean_inc(x_5); +x_70 = lean_array_push(x_5, x_69); +x_71 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__13; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_45); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_66, x_43); +x_76 = lean_array_push(x_75, x_64); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_60); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__14; +x_79 = lean_array_push(x_78, x_58); +x_80 = lean_array_push(x_79, x_72); +x_81 = lean_array_push(x_80, x_74); +x_82 = lean_array_push(x_81, x_77); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_56); +lean_ctor_set(x_83, 1, x_82); +lean_inc(x_5); +x_84 = lean_array_push(x_5, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_71); +lean_ctor_set(x_85, 1, x_84); +lean_inc(x_5); +x_86 = lean_array_push(x_5, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_54); +lean_ctor_set(x_87, 1, x_86); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_5); +x_88 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__18; +x_89 = lean_array_push(x_88, x_51); +x_90 = lean_array_push(x_89, x_52); +x_91 = lean_array_push(x_90, x_49); +x_92 = lean_array_push(x_91, x_87); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_48); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_93, x_18, x_46); +lean_dec(x_18); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_95 = lean_ctor_get(x_10, 0); +lean_inc(x_95); +lean_dec(x_10); +x_96 = lean_array_push(x_5, x_95); +x_97 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4; +x_98 = l_Array_append___rarg(x_97, x_96); +lean_dec(x_96); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_71); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__15; +x_101 = lean_array_push(x_100, x_99); +x_102 = lean_array_push(x_101, x_51); +x_103 = lean_array_push(x_102, x_52); +x_104 = lean_array_push(x_103, x_49); +x_105 = lean_array_push(x_104, x_87); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_48); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_106, x_18, x_46); +lean_dec(x_18); +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_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_108 = lean_unsigned_to_nat(0u); +x_109 = l_Lean_Syntax_getArg(x_6, x_108); +x_110 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_18, x_38); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; +x_114 = lean_name_mk_string(x_7, x_113); +x_115 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__5; +lean_inc(x_5); +x_116 = lean_array_push(x_5, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_8); +lean_ctor_set(x_117, 1, x_116); +lean_inc(x_111); +x_118 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_118, 0, x_111); +lean_ctor_set(x_118, 1, x_113); +x_119 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__6; +lean_inc(x_9); +x_120 = lean_name_mk_string(x_9, x_119); +x_121 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__7; +lean_inc(x_9); +x_122 = lean_name_mk_string(x_9, x_121); +x_123 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__8; +lean_inc(x_111); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_111); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__9; +x_126 = lean_name_mk_string(x_9, x_125); +x_127 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__10; +lean_inc(x_111); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_111); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__11; +lean_inc(x_111); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_111); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__12; +x_132 = lean_array_push(x_131, x_128); +x_133 = lean_array_push(x_132, x_36); +x_134 = lean_array_push(x_133, x_130); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_126); +lean_ctor_set(x_135, 1, x_134); +lean_inc(x_5); +x_136 = lean_array_push(x_5, x_135); +x_137 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__3; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__13; +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_111); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__14; +x_142 = lean_array_push(x_141, x_124); +x_143 = lean_array_push(x_142, x_138); +x_144 = lean_array_push(x_143, x_140); +x_145 = lean_array_push(x_144, x_109); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_122); +lean_ctor_set(x_146, 1, x_145); +lean_inc(x_5); +x_147 = lean_array_push(x_5, x_146); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_137); +lean_ctor_set(x_148, 1, x_147); +lean_inc(x_5); +x_149 = lean_array_push(x_5, x_148); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_120); +lean_ctor_set(x_150, 1, x_149); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_5); +x_151 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__18; +x_152 = lean_array_push(x_151, x_117); +x_153 = lean_array_push(x_152, x_118); +x_154 = lean_array_push(x_153, x_115); +x_155 = lean_array_push(x_154, x_150); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_114); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_156, x_18, x_112); +lean_dec(x_18); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_158 = lean_ctor_get(x_10, 0); +lean_inc(x_158); +lean_dec(x_10); +x_159 = lean_array_push(x_5, x_158); +x_160 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4; +x_161 = l_Array_append___rarg(x_160, x_159); +lean_dec(x_159); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_137); +lean_ctor_set(x_162, 1, x_161); +x_163 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__15; +x_164 = lean_array_push(x_163, x_162); +x_165 = lean_array_push(x_164, x_117); +x_166 = lean_array_push(x_165, x_118); +x_167 = lean_array_push(x_166, x_115); +x_168 = lean_array_push(x_167, x_150); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_114); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_169, x_18, x_112); +lean_dec(x_18); +return x_170; +} +} +} +block_258: +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_227 = l_Array_append___rarg(x_221, x_226); +lean_dec(x_226); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_199); +lean_ctor_set(x_228, 1, x_227); +x_229 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__27; +x_230 = lean_array_push(x_229, x_228); +x_231 = lean_array_push(x_230, x_13); +x_232 = lean_array_push(x_231, x_180); +if (lean_obj_tag(x_14) == 0) +{ +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_dec(x_16); +x_233 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__17; +x_234 = lean_array_push(x_232, x_233); +x_235 = lean_array_push(x_234, x_200); +x_236 = lean_array_push(x_235, x_215); +x_237 = lean_array_push(x_236, x_223); +x_238 = lean_array_push(x_237, x_225); +x_239 = lean_array_push(x_238, x_15); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_179); +lean_ctor_set(x_240, 1, x_239); +x_37 = x_240; +x_38 = x_177; +goto block_171; +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_241 = lean_ctor_get(x_14, 0); +lean_inc(x_241); +lean_dec(x_14); +x_242 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__28; +x_243 = lean_name_mk_string(x_16, x_242); +x_244 = l_Lean_Elab_Command_expandMacro___lambda__1___closed__1; +lean_inc(x_225); +x_245 = lean_array_push(x_244, x_225); +x_246 = lean_array_push(x_245, x_241); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_243); +lean_ctor_set(x_247, 1, x_246); +lean_inc(x_5); +x_248 = lean_array_push(x_5, x_247); +x_249 = l_Array_append___rarg(x_221, x_248); +lean_dec(x_248); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_199); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_array_push(x_232, x_250); +x_252 = lean_array_push(x_251, x_200); +x_253 = lean_array_push(x_252, x_215); +x_254 = lean_array_push(x_253, x_223); +x_255 = lean_array_push(x_254, x_225); +x_256 = lean_array_push(x_255, x_15); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_179); +lean_ctor_set(x_257, 1, x_256); +x_37 = x_257; +x_38 = x_177; +goto block_171; +} +} +} +else +{ +uint8_t x_261; +lean_dec(x_28); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_5); +x_261 = !lean_is_exclusive(x_30); +if (x_261 == 0) +{ +return x_30; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_30, 0); +x_263 = lean_ctor_get(x_30, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_30); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +return x_264; +} +} +} +else +{ +uint8_t x_265; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_5); +x_265 = !lean_is_exclusive(x_27); +if (x_265 == 0) +{ +return x_27; +} +else +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_266 = lean_ctor_get(x_27, 0); +x_267 = lean_ctor_get(x_27, 1); +lean_inc(x_267); +lean_inc(x_266); +lean_dec(x_27); +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_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(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_5); +lean_dec(x_4); +x_269 = !lean_is_exclusive(x_20); +if (x_269 == 0) +{ +return x_20; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_20, 0); +x_271 = lean_ctor_get(x_20, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_20); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(6u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; +lean_inc(x_2); +x_17 = lean_name_mk_string(x_2, x_16); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +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_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_unsigned_to_nat(7u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +x_23 = lean_unsigned_to_nat(8u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Elab_Command_expandMacro___lambda__3___closed__2; +lean_inc(x_2); +x_26 = lean_name_mk_string(x_2, x_25); +lean_inc(x_24); +x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +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_28 = lean_box(1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_unsigned_to_nat(1u); +x_31 = l_Lean_Syntax_getArg(x_24, x_30); +x_32 = lean_unsigned_to_nat(3u); +x_33 = l_Lean_Syntax_getArg(x_24, x_32); +lean_dec(x_24); +x_34 = l_Lean_Syntax_getArgs(x_22); +lean_dec(x_22); +lean_inc(x_12); +x_35 = l_Lean_evalOptPrio(x_11, x_12, x_13); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_15); +x_38 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_15, x_12, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_array_get_size(x_34); +x_42 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_43 = 0; +x_44 = x_34; +x_45 = lean_box_usize(x_42); +x_46 = l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; +lean_inc(x_44); +x_47 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); +lean_closure_set(x_47, 0, x_45); +lean_closure_set(x_47, 1, x_46); +lean_closure_set(x_47, 2, x_44); +x_48 = x_47; +lean_inc(x_12); +x_49 = lean_apply_2(x_48, x_12, x_40); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +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); +x_52 = l_Lean_Elab_Command_expandMacro___lambda__3___closed__3; +x_53 = lean_array_push(x_52, x_39); +x_54 = l_Array_append___rarg(x_53, x_50); +lean_dec(x_50); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = l_Lean_Syntax_getId(x_31); +x_56 = l_Lean_nullKind; +lean_inc(x_54); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +lean_inc(x_12); +x_58 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_55, x_57, x_12, x_51); +lean_dec(x_57); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_59, x_12, x_60); +lean_dec(x_33); +return x_61; +} +else +{ +uint8_t x_62; +lean_dec(x_54); +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(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_62 = !lean_is_exclusive(x_58); +if (x_62 == 0) +{ +return x_58; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_58, 0); +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_58); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_9, 0); +x_67 = l_Lean_Syntax_getId(x_66); +x_68 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_67, x_12, x_51); +lean_dec(x_33); +return x_68; +} +} +else +{ +uint8_t x_69; +lean_dec(x_44); +lean_dec(x_39); +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(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_69 = !lean_is_exclusive(x_49); +if (x_69 == 0) +{ +return x_49; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_49, 0); +x_71 = lean_ctor_get(x_49, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_49); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(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_73 = !lean_is_exclusive(x_38); +if (x_73 == 0) +{ +return x_38; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_38, 0); +x_75 = lean_ctor_get(x_38, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_38); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(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_77 = !lean_is_exclusive(x_35); +if (x_77 == 0) +{ +return x_35; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_35, 0); +x_79 = lean_ctor_get(x_35, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_35); +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; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_unsigned_to_nat(5u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Syntax_isNone(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_nullKind; +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_11); +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_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_14, x_21); +lean_dec(x_14); +x_23 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__24; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_22); +x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_11); +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_26 = lean_box(1); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_22, x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_14); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); +return x_35; +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_nullKind; +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_13); +x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +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_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_13, x_20); +lean_dec(x_13); +x_22 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__20; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +lean_inc(x_21); +x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_9); +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(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_unsigned_to_nat(3u); +x_28 = l_Lean_Syntax_getArg(x_21, x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_30, x_29, x_10, x_11); +lean_dec(x_29); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_13); +x_32 = lean_box(0); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_33, x_32, x_10, x_11); +return x_34; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Elab_Command_expandMacro___lambda__6___closed__1; +lean_inc(x_2); +x_11 = lean_name_mk_string(x_2, x_10); +x_12 = l_Lean_Elab_Command_expandMacro___lambda__6___closed__2; +lean_inc(x_11); +x_13 = lean_name_mk_string(x_11, x_12); +lean_inc(x_9); +x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_nullKind; +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 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; lean_object* x_27; uint8_t x_28; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); +lean_dec(x_18); +x_26 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__28; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +lean_inc(x_25); +x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_Syntax_getArg(x_25, x_8); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_33, x_32, x_6, x_7); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_18); +x_35 = lean_box(0); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_36, x_35, x_6, x_7); +return x_37; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacro___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___closed__2; +x_2 = l_Lean_Elab_Command_expandMacro___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___closed__4; +x_2 = l_Lean_Elab_Command_expandMacro___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___closed__6; +x_2 = l_Lean_Elab_Command_expandMacro___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___closed__6; +x_2 = l_Lean_Elab_Command_expandMacro___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMacro(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_Elab_Command_expandMacro___closed__8; +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; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_17 = l_Lean_Elab_Command_expandMacro___closed__10; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_16); +x_22 = l_Lean_Elab_Command_expandMacro___closed__4; +x_23 = l_Lean_Elab_Command_expandMacro___closed__6; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); +lean_dec(x_1); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_9); +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Command_expandMacro___closed__4; +x_28 = l_Lean_Elab_Command_expandMacro___closed__6; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); +lean_dec(x_1); +return x_30; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(x_6, x_7, x_3, x_4, x_5); +return x_8; +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___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_Elab_Command_expandMacro___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_21 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_22 = l_Lean_Elab_Command_expandMacro___lambda__2(x_1, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_6); +return x_22; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Command_expandMacro___lambda__3(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_10); +lean_dec(x_9); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMacro___lambda__5(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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacro___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; +x_2 = l_Lean_Elab_Command_expandMacro___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expandMacro"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Elab_Command_expandMacro___closed__8; +x_4 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5; +x_5 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_MacroArgUtil(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Macro(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_MacroArgUtil(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_expandMacro___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__1___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__2 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__2); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__3 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__3); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__4 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__4); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__5 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__5); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__6 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__6); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__7 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__7); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__8 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__8); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__9 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__9); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__10 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__10); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__11 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__11); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__12 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__12); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__13 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__13); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__14 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__14); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__15 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__15); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__16 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__16); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__17 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__17); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__18 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__18); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__19 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__19); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__20 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__20); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__21 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__21); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__22 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__22); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__23 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__23); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__24 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__24); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__25 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__25); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__26 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__26); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__27 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__27); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__28 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__28); +l_Lean_Elab_Command_expandMacro___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__3___closed__2 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___closed__2); +l_Lean_Elab_Command_expandMacro___lambda__3___closed__3 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___closed__3); +l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1); +l_Lean_Elab_Command_expandMacro___lambda__6___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__6___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__6___closed__2 = _init_l_Lean_Elab_Command_expandMacro___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__6___closed__2); +l_Lean_Elab_Command_expandMacro___closed__1 = _init_l_Lean_Elab_Command_expandMacro___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__1); +l_Lean_Elab_Command_expandMacro___closed__2 = _init_l_Lean_Elab_Command_expandMacro___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__2); +l_Lean_Elab_Command_expandMacro___closed__3 = _init_l_Lean_Elab_Command_expandMacro___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__3); +l_Lean_Elab_Command_expandMacro___closed__4 = _init_l_Lean_Elab_Command_expandMacro___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__4); +l_Lean_Elab_Command_expandMacro___closed__5 = _init_l_Lean_Elab_Command_expandMacro___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__5); +l_Lean_Elab_Command_expandMacro___closed__6 = _init_l_Lean_Elab_Command_expandMacro___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__6); +l_Lean_Elab_Command_expandMacro___closed__7 = _init_l_Lean_Elab_Command_expandMacro___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__7); +l_Lean_Elab_Command_expandMacro___closed__8 = _init_l_Lean_Elab_Command_expandMacro___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__8); +l_Lean_Elab_Command_expandMacro___closed__9 = _init_l_Lean_Elab_Command_expandMacro___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__9); +l_Lean_Elab_Command_expandMacro___closed__10 = _init_l_Lean_Elab_Command_expandMacro___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__10); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__5); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__6); +res = l___regBuiltin_Lean_Elab_Command_expandMacro(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/MacroArgUtil.c b/stage0/stdlib/Lean/Elab/MacroArgUtil.c new file mode 100644 index 0000000000..cbe74ba924 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/MacroArgUtil.c @@ -0,0 +1,2204 @@ +// Lean compiler output +// Module: Lean.Elab.MacroArgUtil +// Imports: Init Lean.Elab.Syntax +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; +extern lean_object* l_String_instInhabitedString; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkAntiquotSuffixSpliceNode(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13; +lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; +lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; +lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20; +lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19; +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArgSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArgSymbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("atom"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(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_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8; +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_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 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12; +lean_inc(x_9); +x_13 = l_Lean_Syntax_isOfKind(x_9, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +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_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_20 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17; +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_16, 0, x_23); +return x_16; +} +else +{ +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; +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +x_25 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_26 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17; +x_27 = lean_array_push(x_26, x_25); +x_28 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16; +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_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 +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = l_Lean_Syntax_getArg(x_9, x_8); +x_32 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19; +x_33 = l_Lean_Syntax_isOfKind(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_9); +x_34 = lean_box(1); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_3); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_unsigned_to_nat(2u); +x_37 = l_Lean_Syntax_getArg(x_9, x_36); +lean_dec(x_9); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_3); +return x_38; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_box(0); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_box(0); +x_7 = l_Lean_Syntax_mkAntiquotNode(x_2, x_5, x_4, x_6); +x_8 = l_Lean_Syntax_mkAntiquotSuffixSpliceNode(x_1, x_7, x_3); +x_9 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17; +x_10 = lean_array_push(x_9, x_8); +x_11 = l_Lean_nullKind; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sepBy"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Init.Data.Option.BasicAux"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Option.get!"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("value is none"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4; +x_3 = lean_unsigned_to_nat(16u); +x_4 = lean_unsigned_to_nat(14u); +x_5 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("*"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Syntax_isStrLit_x3f(x_1); +if (lean_obj_tag(x_6) == 0) +{ +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; +x_7 = l_String_instInhabitedString; +x_8 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +x_9 = lean_panic_fn(x_7, x_8); +x_10 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_11 = lean_string_append(x_9, x_10); +x_12 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; +x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_12, x_2, 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_5); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_6, 0); +lean_inc(x_15); +lean_dec(x_6); +x_16 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; +x_19 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_18, x_2, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_5); +return x_20; +} +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(5u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_box(0); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_box(0); +x_17 = l_Lean_Syntax_mkAntiquotNode(x_3, x_15, x_14, 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; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_2, x_3, x_19, x_6, x_7); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_9); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_2, x_3, x_21, x_6, x_7); +return x_22; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("strLit"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("token_antiquot"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("%"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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_Elab_Command_expandMacroArgIntoPattern___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("$"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7; +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_Elab_Command_expandMacroArgIntoPattern___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unary"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("sepBy1"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optional"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("many"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("many1"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_2); +x_4 = l_Lean_expandMacros(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8; +lean_inc(x_6); +x_9 = l_Lean_Syntax_isOfKind(x_6, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_6); +lean_dec(x_2); +x_10 = lean_box(1); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_10); +return x_4; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_6, x_11); +lean_dec(x_6); +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10; +lean_inc(x_12); +x_14 = l_Lean_Syntax_isOfKind(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12; +lean_inc(x_12); +x_16 = l_Lean_Syntax_isOfKind(x_12, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_2); +x_17 = lean_box(1); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_17); +return x_4; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_free_object(x_4); +x_18 = l_Lean_Syntax_getArg(x_12, x_11); +x_19 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_18); +x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); +lean_dec(x_2); +lean_dec(x_18); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_12, x_24); +lean_dec(x_12); +x_26 = l_Lean_Syntax_getArg(x_25, x_24); +lean_dec(x_25); +x_27 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_28 = lean_array_push(x_27, x_23); +x_29 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_30 = lean_array_push(x_28, x_29); +x_31 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_32 = lean_array_push(x_30, x_31); +x_33 = lean_array_push(x_32, x_26); +x_34 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_21, 0, x_35); +return x_21; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_36 = lean_ctor_get(x_21, 0); +x_37 = lean_ctor_get(x_21, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_21); +x_38 = lean_unsigned_to_nat(1u); +x_39 = l_Lean_Syntax_getArg(x_12, x_38); +lean_dec(x_12); +x_40 = l_Lean_Syntax_getArg(x_39, x_38); +lean_dec(x_39); +x_41 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_42 = lean_array_push(x_41, x_36); +x_43 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_44 = lean_array_push(x_42, x_43); +x_45 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_46 = lean_array_push(x_44, x_45); +x_47 = lean_array_push(x_46, x_40); +x_48 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_37); +return x_50; +} +} +else +{ +uint8_t x_51; +lean_dec(x_12); +x_51 = !lean_is_exclusive(x_21); +if (x_51 == 0) +{ +return x_21; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_21, 0); +x_53 = lean_ctor_get(x_21, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_21); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = lean_unsigned_to_nat(1u); +x_56 = l_Lean_Syntax_getArg(x_12, x_55); +lean_dec(x_12); +x_57 = l_Lean_nullKind; +lean_inc(x_56); +x_58 = l_Lean_Syntax_isNodeOf(x_56, x_57, x_11); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); +lean_dec(x_2); +lean_dec(x_18); +if (lean_obj_tag(x_59) == 0) +{ +uint8_t x_60; +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_61 = lean_ctor_get(x_59, 0); +x_62 = l_Lean_Syntax_getArg(x_56, x_55); +lean_dec(x_56); +x_63 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_64 = lean_array_push(x_63, x_61); +x_65 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_66 = lean_array_push(x_64, x_65); +x_67 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_68 = lean_array_push(x_66, x_67); +x_69 = lean_array_push(x_68, x_62); +x_70 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_59, 0, x_71); +return x_59; +} +else +{ +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; +x_72 = lean_ctor_get(x_59, 0); +x_73 = lean_ctor_get(x_59, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_59); +x_74 = l_Lean_Syntax_getArg(x_56, x_55); +lean_dec(x_56); +x_75 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_76 = lean_array_push(x_75, x_72); +x_77 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_80 = lean_array_push(x_78, x_79); +x_81 = lean_array_push(x_80, x_74); +x_82 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_73); +return x_84; +} +} +else +{ +uint8_t x_85; +lean_dec(x_56); +x_85 = !lean_is_exclusive(x_59); +if (x_85 == 0) +{ +return x_59; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_59, 0); +x_87 = lean_ctor_get(x_59, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_59); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +lean_object* x_89; +lean_dec(x_56); +x_89 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); +lean_dec(x_2); +lean_dec(x_18); +return x_89; +} +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_90 = l_Lean_Syntax_getArg(x_12, x_11); +x_91 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19; +lean_inc(x_90); +x_92 = l_Lean_Syntax_isOfKind(x_90, x_91); +if (x_92 == 0) +{ +lean_object* x_93; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_2); +x_93 = lean_box(1); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_93); +return x_4; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_unsigned_to_nat(2u); +x_95 = l_Lean_Syntax_getArg(x_12, x_94); +lean_dec(x_12); +x_96 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; +lean_inc(x_95); +x_97 = l_Lean_Syntax_isOfKind(x_95, x_96); +if (x_97 == 0) +{ +lean_object* x_98; uint8_t x_99; +x_98 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; +lean_inc(x_95); +x_99 = l_Lean_Syntax_isOfKind(x_95, x_98); +if (x_99 == 0) +{ +lean_object* x_100; uint8_t x_101; +x_100 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14; +lean_inc(x_95); +x_101 = l_Lean_Syntax_isOfKind(x_95, x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_95); +lean_dec(x_2); +x_102 = lean_box(0); +x_103 = lean_box(0); +x_104 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_102, x_103); +lean_ctor_set(x_4, 0, x_104); +return x_4; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = lean_unsigned_to_nat(1u); +x_106 = l_Lean_Syntax_getArg(x_95, x_105); +x_107 = l_Lean_nullKind; +x_108 = l_Lean_Syntax_isNodeOf(x_106, x_107, x_105); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_95); +lean_dec(x_2); +x_109 = lean_box(0); +x_110 = lean_box(0); +x_111 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_109, x_110); +lean_ctor_set(x_4, 0, x_111); +return x_4; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_unsigned_to_nat(3u); +x_113 = l_Lean_Syntax_getArg(x_95, x_112); +x_114 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_113); +x_115 = l_Lean_Syntax_isOfKind(x_113, x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +lean_dec(x_95); +lean_dec(x_2); +x_116 = lean_box(0); +x_117 = lean_box(0); +x_118 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_116, x_117); +lean_ctor_set(x_4, 0, x_118); +return x_4; +} +else +{ +lean_object* x_119; lean_object* x_120; uint8_t x_121; +x_119 = lean_unsigned_to_nat(4u); +x_120 = l_Lean_Syntax_getArg(x_95, x_119); +x_121 = l_Lean_Syntax_isNone(x_120); +if (x_121 == 0) +{ +uint8_t x_122; +lean_inc(x_120); +x_122 = l_Lean_Syntax_isNodeOf(x_120, x_107, x_94); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_120); +lean_dec(x_113); +lean_dec(x_95); +lean_dec(x_2); +x_123 = lean_box(0); +x_124 = lean_box(0); +x_125 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_123, x_124); +lean_ctor_set(x_4, 0, x_125); +return x_4; +} +else +{ +lean_object* x_126; uint8_t x_127; +x_126 = l_Lean_Syntax_getArg(x_120, x_105); +lean_dec(x_120); +lean_inc(x_126); +x_127 = l_Lean_Syntax_isNodeOf(x_126, x_107, x_105); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_126); +lean_dec(x_113); +lean_dec(x_95); +lean_dec(x_2); +x_128 = lean_box(0); +x_129 = lean_box(0); +x_130 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_128, x_129); +lean_ctor_set(x_4, 0, x_130); +return x_4; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_free_object(x_4); +x_131 = l_Lean_Syntax_getArg(x_126, x_11); +lean_dec(x_126); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_box(0); +x_134 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_133, x_132, x_2, x_7); +lean_dec(x_2); +lean_dec(x_132); +lean_dec(x_113); +lean_dec(x_95); +return x_134; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_120); +lean_free_object(x_4); +x_135 = lean_box(0); +x_136 = lean_box(0); +x_137 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_136, x_135, x_2, x_7); +lean_dec(x_2); +lean_dec(x_113); +lean_dec(x_95); +return x_137; +} +} +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +x_138 = lean_unsigned_to_nat(1u); +x_139 = l_Lean_Syntax_getArg(x_95, x_138); +x_140 = l_Lean_nullKind; +x_141 = l_Lean_Syntax_isNodeOf(x_139, x_140, x_138); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_95); +lean_dec(x_2); +x_142 = lean_box(0); +x_143 = lean_box(0); +x_144 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_142, x_143); +lean_ctor_set(x_4, 0, x_144); +return x_4; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_145 = lean_unsigned_to_nat(3u); +x_146 = l_Lean_Syntax_getArg(x_95, x_145); +x_147 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_146); +x_148 = l_Lean_Syntax_isOfKind(x_146, x_147); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_149 = lean_box(0); +x_150 = lean_box(0); +x_151 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_149, x_150); +lean_ctor_set(x_4, 0, x_151); +return x_4; +} +else +{ +lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_152 = lean_unsigned_to_nat(4u); +x_153 = l_Lean_Syntax_getArg(x_95, x_152); +x_154 = l_Lean_Syntax_isNone(x_153); +if (x_154 == 0) +{ +uint8_t x_155; +lean_inc(x_153); +x_155 = l_Lean_Syntax_isNodeOf(x_153, x_140, x_94); +if (x_155 == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_153); +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_156 = lean_box(0); +x_157 = lean_box(0); +x_158 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_156, x_157); +lean_ctor_set(x_4, 0, x_158); +return x_4; +} +else +{ +lean_object* x_159; uint8_t x_160; +x_159 = l_Lean_Syntax_getArg(x_153, x_138); +lean_dec(x_153); +lean_inc(x_159); +x_160 = l_Lean_Syntax_isNodeOf(x_159, x_140, x_138); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_159); +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_161 = lean_box(0); +x_162 = lean_box(0); +x_163 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_161, x_162); +lean_ctor_set(x_4, 0, x_163); +return x_4; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_free_object(x_4); +x_164 = l_Lean_Syntax_getArg(x_159, x_11); +lean_dec(x_159); +x_165 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_165, 0, x_164); +x_166 = lean_box(0); +x_167 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_166, x_165, x_2, x_7); +lean_dec(x_2); +lean_dec(x_165); +lean_dec(x_146); +lean_dec(x_95); +return x_167; +} +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_153); +lean_free_object(x_4); +x_168 = lean_box(0); +x_169 = lean_box(0); +x_170 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_169, x_168, x_2, x_7); +lean_dec(x_2); +lean_dec(x_146); +lean_dec(x_95); +return x_170; +} +} +} +} +} +else +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; +lean_dec(x_2); +x_171 = l_Lean_Syntax_getArg(x_95, x_11); +x_172 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16; +x_173 = l_Lean_Syntax_matchesIdent(x_171, x_172); +if (x_173 == 0) +{ +lean_object* x_174; uint8_t x_175; +x_174 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18; +x_175 = l_Lean_Syntax_matchesIdent(x_171, x_174); +if (x_175 == 0) +{ +lean_object* x_176; uint8_t x_177; +x_176 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20; +x_177 = l_Lean_Syntax_matchesIdent(x_171, x_176); +lean_dec(x_171); +if (x_177 == 0) +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_95); +x_178 = lean_box(0); +x_179 = lean_box(0); +x_180 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_178, x_179); +lean_ctor_set(x_4, 0, x_180); +return x_4; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; +x_181 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_182 = l_Lean_nullKind; +x_183 = lean_unsigned_to_nat(1u); +x_184 = l_Lean_Syntax_isNodeOf(x_181, x_182, x_183); +if (x_184 == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_box(0); +x_186 = lean_box(0); +x_187 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_185, x_186); +lean_ctor_set(x_4, 0, x_187); +return x_4; +} +else +{ +lean_object* x_188; lean_object* x_189; +x_188 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_189 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_188); +lean_ctor_set(x_4, 0, x_189); +return x_4; +} +} +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +lean_dec(x_171); +x_190 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_191 = l_Lean_nullKind; +x_192 = lean_unsigned_to_nat(1u); +x_193 = l_Lean_Syntax_isNodeOf(x_190, x_191, x_192); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_box(0); +x_195 = lean_box(0); +x_196 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_194, x_195); +lean_ctor_set(x_4, 0, x_196); +return x_4; +} +else +{ +lean_object* x_197; lean_object* x_198; +x_197 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_198 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_197); +lean_ctor_set(x_4, 0, x_198); +return x_4; +} +} +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +lean_dec(x_171); +x_199 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_200 = l_Lean_nullKind; +x_201 = lean_unsigned_to_nat(1u); +x_202 = l_Lean_Syntax_isNodeOf(x_199, x_200, x_201); +if (x_202 == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_box(0); +x_204 = lean_box(0); +x_205 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_203, x_204); +lean_ctor_set(x_4, 0, x_205); +return x_4; +} +else +{ +lean_object* x_206; lean_object* x_207; +x_206 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21; +x_207 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_172, x_90, x_206); +lean_ctor_set(x_4, 0, x_207); +return x_4; +} +} +} +} +} +} +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_208 = lean_ctor_get(x_4, 0); +x_209 = lean_ctor_get(x_4, 1); +lean_inc(x_209); +lean_inc(x_208); +lean_dec(x_4); +x_210 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8; +lean_inc(x_208); +x_211 = l_Lean_Syntax_isOfKind(x_208, x_210); +if (x_211 == 0) +{ +lean_object* x_212; lean_object* x_213; +lean_dec(x_208); +lean_dec(x_2); +x_212 = lean_box(1); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_209); +return x_213; +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; +x_214 = lean_unsigned_to_nat(0u); +x_215 = l_Lean_Syntax_getArg(x_208, x_214); +lean_dec(x_208); +x_216 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10; +lean_inc(x_215); +x_217 = l_Lean_Syntax_isOfKind(x_215, x_216); +if (x_217 == 0) +{ +lean_object* x_218; uint8_t x_219; +x_218 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12; +lean_inc(x_215); +x_219 = l_Lean_Syntax_isOfKind(x_215, x_218); +if (x_219 == 0) +{ +lean_object* x_220; lean_object* x_221; +lean_dec(x_215); +lean_dec(x_2); +x_220 = lean_box(1); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_209); +return x_221; +} +else +{ +lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_222 = l_Lean_Syntax_getArg(x_215, x_214); +x_223 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_222); +x_224 = l_Lean_Syntax_isOfKind(x_222, x_223); +if (x_224 == 0) +{ +lean_object* x_225; +x_225 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); +lean_dec(x_2); +lean_dec(x_222); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_228 = x_225; +} else { + lean_dec_ref(x_225); + x_228 = lean_box(0); +} +x_229 = lean_unsigned_to_nat(1u); +x_230 = l_Lean_Syntax_getArg(x_215, x_229); +lean_dec(x_215); +x_231 = l_Lean_Syntax_getArg(x_230, x_229); +lean_dec(x_230); +x_232 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_233 = lean_array_push(x_232, x_226); +x_234 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_235 = lean_array_push(x_233, x_234); +x_236 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_237 = lean_array_push(x_235, x_236); +x_238 = lean_array_push(x_237, x_231); +x_239 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +if (lean_is_scalar(x_228)) { + x_241 = lean_alloc_ctor(0, 2, 0); +} else { + x_241 = x_228; +} +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_227); +return x_241; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_215); +x_242 = lean_ctor_get(x_225, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_225, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_244 = x_225; +} else { + lean_dec_ref(x_225); + x_244 = lean_box(0); +} +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); +} else { + x_245 = x_244; +} +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; +} +} +else +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_246 = lean_unsigned_to_nat(1u); +x_247 = l_Lean_Syntax_getArg(x_215, x_246); +lean_dec(x_215); +x_248 = l_Lean_nullKind; +lean_inc(x_247); +x_249 = l_Lean_Syntax_isNodeOf(x_247, x_248, x_214); +if (x_249 == 0) +{ +lean_object* x_250; +x_250 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); +lean_dec(x_2); +lean_dec(x_222); +if (lean_obj_tag(x_250) == 0) +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_251 = lean_ctor_get(x_250, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_253 = x_250; +} else { + lean_dec_ref(x_250); + x_253 = lean_box(0); +} +x_254 = l_Lean_Syntax_getArg(x_247, x_246); +lean_dec(x_247); +x_255 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_256 = lean_array_push(x_255, x_251); +x_257 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_258 = lean_array_push(x_256, x_257); +x_259 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_260 = lean_array_push(x_258, x_259); +x_261 = lean_array_push(x_260, x_254); +x_262 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +if (lean_is_scalar(x_253)) { + x_264 = lean_alloc_ctor(0, 2, 0); +} else { + x_264 = x_253; +} +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_252); +return x_264; +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_247); +x_265 = lean_ctor_get(x_250, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_250, 1); +lean_inc(x_266); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_267 = x_250; +} else { + lean_dec_ref(x_250); + x_267 = lean_box(0); +} +if (lean_is_scalar(x_267)) { + x_268 = lean_alloc_ctor(1, 2, 0); +} else { + x_268 = x_267; +} +lean_ctor_set(x_268, 0, x_265); +lean_ctor_set(x_268, 1, x_266); +return x_268; +} +} +else +{ +lean_object* x_269; +lean_dec(x_247); +x_269 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); +lean_dec(x_2); +lean_dec(x_222); +return x_269; +} +} +} +} +else +{ +lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_270 = l_Lean_Syntax_getArg(x_215, x_214); +x_271 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19; +lean_inc(x_270); +x_272 = l_Lean_Syntax_isOfKind(x_270, x_271); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_270); +lean_dec(x_215); +lean_dec(x_2); +x_273 = lean_box(1); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_209); +return x_274; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_275 = lean_unsigned_to_nat(2u); +x_276 = l_Lean_Syntax_getArg(x_215, x_275); +lean_dec(x_215); +x_277 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; +lean_inc(x_276); +x_278 = l_Lean_Syntax_isOfKind(x_276, x_277); +if (x_278 == 0) +{ +lean_object* x_279; uint8_t x_280; +x_279 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; +lean_inc(x_276); +x_280 = l_Lean_Syntax_isOfKind(x_276, x_279); +if (x_280 == 0) +{ +lean_object* x_281; uint8_t x_282; +x_281 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14; +lean_inc(x_276); +x_282 = l_Lean_Syntax_isOfKind(x_276, x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_276); +lean_dec(x_2); +x_283 = lean_box(0); +x_284 = lean_box(0); +x_285 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_283, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_209); +return x_286; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +x_287 = lean_unsigned_to_nat(1u); +x_288 = l_Lean_Syntax_getArg(x_276, x_287); +x_289 = l_Lean_nullKind; +x_290 = l_Lean_Syntax_isNodeOf(x_288, x_289, x_287); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_276); +lean_dec(x_2); +x_291 = lean_box(0); +x_292 = lean_box(0); +x_293 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_291, x_292); +x_294 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_209); +return x_294; +} +else +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_295 = lean_unsigned_to_nat(3u); +x_296 = l_Lean_Syntax_getArg(x_276, x_295); +x_297 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_296); +x_298 = l_Lean_Syntax_isOfKind(x_296, x_297); +if (x_298 == 0) +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +lean_dec(x_296); +lean_dec(x_276); +lean_dec(x_2); +x_299 = lean_box(0); +x_300 = lean_box(0); +x_301 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_299, x_300); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_209); +return x_302; +} +else +{ +lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_303 = lean_unsigned_to_nat(4u); +x_304 = l_Lean_Syntax_getArg(x_276, x_303); +x_305 = l_Lean_Syntax_isNone(x_304); +if (x_305 == 0) +{ +uint8_t x_306; +lean_inc(x_304); +x_306 = l_Lean_Syntax_isNodeOf(x_304, x_289, x_275); +if (x_306 == 0) +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +lean_dec(x_304); +lean_dec(x_296); +lean_dec(x_276); +lean_dec(x_2); +x_307 = lean_box(0); +x_308 = lean_box(0); +x_309 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_307, x_308); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_209); +return x_310; +} +else +{ +lean_object* x_311; uint8_t x_312; +x_311 = l_Lean_Syntax_getArg(x_304, x_287); +lean_dec(x_304); +lean_inc(x_311); +x_312 = l_Lean_Syntax_isNodeOf(x_311, x_289, x_287); +if (x_312 == 0) +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_dec(x_311); +lean_dec(x_296); +lean_dec(x_276); +lean_dec(x_2); +x_313 = lean_box(0); +x_314 = lean_box(0); +x_315 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_313, x_314); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_209); +return x_316; +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_317 = l_Lean_Syntax_getArg(x_311, x_214); +lean_dec(x_311); +x_318 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_318, 0, x_317); +x_319 = lean_box(0); +x_320 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_319, x_318, x_2, x_209); +lean_dec(x_2); +lean_dec(x_318); +lean_dec(x_296); +lean_dec(x_276); +return x_320; +} +} +} +else +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_dec(x_304); +x_321 = lean_box(0); +x_322 = lean_box(0); +x_323 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_322, x_321, x_2, x_209); +lean_dec(x_2); +lean_dec(x_296); +lean_dec(x_276); +return x_323; +} +} +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_324 = lean_unsigned_to_nat(1u); +x_325 = l_Lean_Syntax_getArg(x_276, x_324); +x_326 = l_Lean_nullKind; +x_327 = l_Lean_Syntax_isNodeOf(x_325, x_326, x_324); +if (x_327 == 0) +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +lean_dec(x_276); +lean_dec(x_2); +x_328 = lean_box(0); +x_329 = lean_box(0); +x_330 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_328, x_329); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_209); +return x_331; +} +else +{ +lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_332 = lean_unsigned_to_nat(3u); +x_333 = l_Lean_Syntax_getArg(x_276, x_332); +x_334 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_inc(x_333); +x_335 = l_Lean_Syntax_isOfKind(x_333, x_334); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +lean_dec(x_333); +lean_dec(x_276); +lean_dec(x_2); +x_336 = lean_box(0); +x_337 = lean_box(0); +x_338 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_336, x_337); +x_339 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_209); +return x_339; +} +else +{ +lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_340 = lean_unsigned_to_nat(4u); +x_341 = l_Lean_Syntax_getArg(x_276, x_340); +x_342 = l_Lean_Syntax_isNone(x_341); +if (x_342 == 0) +{ +uint8_t x_343; +lean_inc(x_341); +x_343 = l_Lean_Syntax_isNodeOf(x_341, x_326, x_275); +if (x_343 == 0) +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +lean_dec(x_341); +lean_dec(x_333); +lean_dec(x_276); +lean_dec(x_2); +x_344 = lean_box(0); +x_345 = lean_box(0); +x_346 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_344, x_345); +x_347 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_209); +return x_347; +} +else +{ +lean_object* x_348; uint8_t x_349; +x_348 = l_Lean_Syntax_getArg(x_341, x_324); +lean_dec(x_341); +lean_inc(x_348); +x_349 = l_Lean_Syntax_isNodeOf(x_348, x_326, x_324); +if (x_349 == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_348); +lean_dec(x_333); +lean_dec(x_276); +lean_dec(x_2); +x_350 = lean_box(0); +x_351 = lean_box(0); +x_352 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_350, x_351); +x_353 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_209); +return x_353; +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_354 = l_Lean_Syntax_getArg(x_348, x_214); +lean_dec(x_348); +x_355 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_355, 0, x_354); +x_356 = lean_box(0); +x_357 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_356, x_355, x_2, x_209); +lean_dec(x_2); +lean_dec(x_355); +lean_dec(x_333); +lean_dec(x_276); +return x_357; +} +} +} +else +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; +lean_dec(x_341); +x_358 = lean_box(0); +x_359 = lean_box(0); +x_360 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_359, x_358, x_2, x_209); +lean_dec(x_2); +lean_dec(x_333); +lean_dec(x_276); +return x_360; +} +} +} +} +} +else +{ +lean_object* x_361; lean_object* x_362; uint8_t x_363; +lean_dec(x_2); +x_361 = l_Lean_Syntax_getArg(x_276, x_214); +x_362 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16; +x_363 = l_Lean_Syntax_matchesIdent(x_361, x_362); +if (x_363 == 0) +{ +lean_object* x_364; uint8_t x_365; +x_364 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18; +x_365 = l_Lean_Syntax_matchesIdent(x_361, x_364); +if (x_365 == 0) +{ +lean_object* x_366; uint8_t x_367; +x_366 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20; +x_367 = l_Lean_Syntax_matchesIdent(x_361, x_366); +lean_dec(x_361); +if (x_367 == 0) +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +lean_dec(x_276); +x_368 = lean_box(0); +x_369 = lean_box(0); +x_370 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_368, x_369); +x_371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_209); +return x_371; +} +else +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; +x_372 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_373 = l_Lean_nullKind; +x_374 = lean_unsigned_to_nat(1u); +x_375 = l_Lean_Syntax_isNodeOf(x_372, x_373, x_374); +if (x_375 == 0) +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_376 = lean_box(0); +x_377 = lean_box(0); +x_378 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_376, x_377); +x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_209); +return x_379; +} +else +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_380 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_381 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_380); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_209); +return x_382; +} +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; +lean_dec(x_361); +x_383 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_384 = l_Lean_nullKind; +x_385 = lean_unsigned_to_nat(1u); +x_386 = l_Lean_Syntax_isNodeOf(x_383, x_384, x_385); +if (x_386 == 0) +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; +x_387 = lean_box(0); +x_388 = lean_box(0); +x_389 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_387, x_388); +x_390 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_390, 1, x_209); +return x_390; +} +else +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; +x_391 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7; +x_392 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_391); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_209); +return x_393; +} +} +} +else +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +lean_dec(x_361); +x_394 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_395 = l_Lean_nullKind; +x_396 = lean_unsigned_to_nat(1u); +x_397 = l_Lean_Syntax_isNodeOf(x_394, x_395, x_396); +if (x_397 == 0) +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_398 = lean_box(0); +x_399 = lean_box(0); +x_400 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_398, x_399); +x_401 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_209); +return x_401; +} +else +{ +lean_object* x_402; lean_object* x_403; lean_object* x_404; +x_402 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21; +x_403 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_362, x_270, x_402); +x_404 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_404, 0, x_403); +lean_ctor_set(x_404, 1, x_209); +return x_404; +} +} +} +} +} +} +} +} +else +{ +uint8_t x_405; +lean_dec(x_2); +x_405 = !lean_is_exclusive(x_4); +if (x_405 == 0) +{ +return x_4; +} +else +{ +lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_406 = lean_ctor_get(x_4, 0); +x_407 = lean_ctor_get(x_4, 1); +lean_inc(x_407); +lean_inc(x_406); +lean_dec(x_4); +x_408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +return x_408; +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Syntax(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_MacroArgUtil(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Syntax(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__7); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__8); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__9); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__10); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__11); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__12); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__13); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__14); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__15); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__16); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__17); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__18); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__19); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6); +l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__7); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__14); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__15); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__16); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__17); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__18); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__19); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__20); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__21); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/MacroRules.c b/stage0/stdlib/Lean/Elab/MacroRules.c new file mode 100644 index 0000000000..c87f126fef --- /dev/null +++ b/stage0/stdlib/Lean/Elab/MacroRules.c @@ -0,0 +1,3918 @@ +// Lean compiler output +// Module: Lean.Elab.MacroRules +// Imports: Init Lean.Elab.Syntax +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +uint8_t l_Lean_Syntax_isQuot(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(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); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__50; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__72; +extern lean_object* l_Lean_Elab_Command_commandElabAttribute; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__13; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__52; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__62; +uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__54; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__67; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +uint8_t l_Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__53; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__2(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__56; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__73; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +static lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_choiceKind; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; +extern lean_object* l_Lean_instInhabitedSyntax; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__68; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13; +lean_object* l_Lean_Syntax_getQuotContent(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__49; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__71; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRules___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_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__58; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__65; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__70; +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__51; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__44; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__47; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__74; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__57; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_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_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRulesAux_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRulesAux_match__2___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_array_uget(x_3, x_5); +lean_inc(x_8); +x_9 = l_Lean_Syntax_getKind(x_8); +x_10 = l_Lean_Elab_Command_checkRuleKind(x_9, x_1); +lean_dec(x_9); +if (x_10 == 0) +{ +size_t x_11; size_t x_12; +lean_dec(x_8); +x_11 = 1; +x_12 = x_5 + x_11; +{ +size_t _tmp_4 = x_12; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = lean_box(0); +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; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid macro_rules alternative, unexpected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid macro_rules alternative, expected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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) { +_start: +{ +lean_object* x_11; lean_object* x_59; lean_object* x_60; uint8_t x_61; +lean_inc(x_1); +x_59 = l_Lean_Syntax_getQuotContent(x_1); +lean_inc(x_59); +x_60 = l_Lean_Syntax_getKind(x_59); +x_61 = l_Lean_Elab_Command_checkRuleKind(x_60, x_5); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = l_Lean_choiceKind; +x_63 = lean_name_eq(x_60, x_62); +if (x_63 == 0) +{ +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_dec(x_59); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_64, 0, x_60); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9; +x_66 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11; +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_6, x_68, x_8, x_9, x_10); +lean_dec(x_6); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_60); +x_70 = l_Lean_Syntax_getArgs(x_59); +lean_dec(x_59); +x_71 = lean_array_get_size(x_70); +x_72 = lean_usize_of_nat(x_71); +lean_dec(x_71); +x_73 = 0; +x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12; +x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_5, x_74, x_70, x_72, x_73, x_74); +lean_dec(x_70); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +lean_dec(x_75); +if (lean_obj_tag(x_76) == 0) +{ +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_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_77 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_77, 0, x_5); +x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_6, x_81, x_8, x_9, x_10); +lean_dec(x_6); +return x_82; +} +else +{ +lean_object* x_83; +lean_dec(x_6); +lean_dec(x_5); +x_83 = lean_ctor_get(x_76, 0); +lean_inc(x_83); +lean_dec(x_76); +x_11 = x_83; +goto block_58; +} +} +} +else +{ +lean_object* x_84; +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_6); +lean_ctor_set(x_84, 1, x_10); +return x_84; +} +block_58: +{ +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; uint8_t x_22; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_setArg(x_1, x_12, x_11); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_set(x_2, x_14, x_13); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); +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); +x_19 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_18); +lean_dec(x_8); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_20); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_17); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; +x_27 = l_Lean_Syntax_SepArray_ofElems(x_26, x_15); +lean_dec(x_15); +x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_29 = l_Array_append___rarg(x_28, x_27); +lean_dec(x_27); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_35 = lean_array_push(x_34, x_25); +x_36 = lean_array_push(x_35, x_31); +x_37 = lean_array_push(x_36, x_33); +x_38 = lean_array_push(x_37, x_3); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_21, 0, x_39); +return x_21; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_40 = lean_ctor_get(x_21, 1); +lean_inc(x_40); +lean_dec(x_21); +x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_17); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_17); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; +x_44 = l_Lean_Syntax_SepArray_ofElems(x_43, x_15); +lean_dec(x_15); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_46 = l_Array_append___rarg(x_45, x_44); +lean_dec(x_44); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_17); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_52 = lean_array_push(x_51, x_42); +x_53 = lean_array_push(x_52, x_48); +x_54 = lean_array_push(x_53, x_50); +x_55 = lean_array_push(x_54, x_3); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_40); +return x_57; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(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) { +_start: +{ +uint8_t x_8; +x_8 = x_3 < x_2; +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_1); +x_9 = x_4; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +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_array_uget(x_4, x_3); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = x_11; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +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; uint8_t x_29; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_getArg(x_14, x_22); +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_14, x_24); +x_26 = l_Lean_Syntax_getArgs(x_23); +lean_dec(x_23); +x_27 = l_Lean_instInhabitedSyntax; +x_28 = lean_array_get(x_27, x_26, x_12); +x_29 = l_Lean_Syntax_isQuot(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(x_7); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +lean_inc(x_5); +lean_inc(x_1); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = 1; +x_40 = x_3 + x_39; +x_41 = x_37; +x_42 = lean_array_uset(x_13, x_3, x_41); +x_3 = x_40; +x_4 = x_42; +x_7 = x_38; +goto _start; +} +else +{ +uint8_t x_44; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_36); +if (x_44 == 0) +{ +return x_36; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_36); +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; +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declModifiers"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attributes"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("@["); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrInstance"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Attr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__13; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("]"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___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_Elab_Command_elabMacroRulesAux___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declId"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("myMacro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +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_Lean_Elab_Command_elabMacroRulesAux___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optDeclSig"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeSpec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Macro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +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_Lean_Elab_Command_elabMacroRulesAux___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +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_Elab_Command_elabMacroRulesAux___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +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_Lean_Elab_Command_elabMacroRulesAux___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__50; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__53() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__53; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("throw"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__56; +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_Lean_Elab_Command_elabMacroRulesAux___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__59() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MonadExcept"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +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_Elab_Command_elabMacroRulesAux___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; +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_Lean_Elab_Command_elabMacroRulesAux___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Macro.Exception.unsupportedSyntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__65; +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_Lean_Elab_Command_elabMacroRulesAux___closed__67() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Exception"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__67; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unsupportedSyntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__68; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__71() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; +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_Elab_Command_elabMacroRulesAux___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__71; +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_Lean_Elab_Command_elabMacroRulesAux___closed__73() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__74() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__73; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__75() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__74; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; size_t 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_8 = lean_array_get_size(x_4); +x_9 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_10 = x_4; +x_11 = lean_box_usize(x_9); +x_12 = l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed), 7, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_12); +lean_closure_set(x_13, 3, x_10); +x_14 = x_13; +lean_inc(x_6); +lean_inc(x_5); +x_15 = lean_apply_3(x_14, x_5, x_6, x_7); +if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_5, x_6, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_20); +lean_dec(x_5); +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 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_23); +lean_dec(x_6); +x_25 = !lean_is_exclusive(x_24); +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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_26 = lean_ctor_get(x_24, 0); +x_27 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_19); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +lean_inc(x_19); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_mk_syntax_ident(x_3); +x_32 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_33 = lean_array_push(x_32, x_30); +x_34 = lean_array_push(x_33, x_31); +x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = lean_array_push(x_32, x_2); +x_38 = lean_array_push(x_37, x_36); +x_39 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +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 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_42 = lean_array_push(x_41, x_40); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_19); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_48 = lean_array_push(x_47, x_28); +x_49 = lean_array_push(x_48, x_44); +x_50 = lean_array_push(x_49, x_46); +x_51 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_array_push(x_41, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_43); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_19); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_19); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +lean_inc(x_22); +lean_inc(x_26); +x_58 = l_Lean_addMacroScope(x_26, x_57, x_22); +x_59 = lean_box(0); +x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_19); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_19); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_59); +x_62 = lean_array_push(x_32, x_61); +x_63 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_64 = lean_array_push(x_62, x_63); +x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +lean_inc(x_19); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_19); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +lean_inc(x_22); +lean_inc(x_26); +x_70 = l_Lean_addMacroScope(x_26, x_69, x_22); +x_71 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +lean_inc(x_19); +x_73 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_73, 0, x_19); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_70); +lean_ctor_set(x_73, 3, x_72); +x_74 = lean_array_push(x_32, x_68); +x_75 = lean_array_push(x_74, x_73); +x_76 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +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_41, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_43); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_81 = lean_array_push(x_80, x_79); +x_82 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +lean_inc(x_19); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_19); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +lean_inc(x_19); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_19); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_89 = l_Array_append___rarg(x_88, x_16); +lean_dec(x_16); +x_90 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_19); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_19); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Elab_Command_elabMacroRulesAux___closed__52; +lean_inc(x_19); +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_19); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_41, x_93); +x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_41, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_43); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_19); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_19); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__58; +lean_inc(x_22); +lean_inc(x_26); +x_102 = l_Lean_addMacroScope(x_26, x_101, x_22); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; +x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +lean_inc(x_19); +x_105 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_105, 0, x_19); +lean_ctor_set(x_105, 1, x_103); +lean_ctor_set(x_105, 2, x_102); +lean_ctor_set(x_105, 3, x_104); +x_106 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; +x_107 = l_Lean_addMacroScope(x_26, x_106, x_22); +x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +x_109 = l_Lean_Elab_Command_elabMacroRulesAux___closed__72; +x_110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_110, 0, x_19); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set(x_110, 2, x_107); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_array_push(x_41, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_43); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_32, x_105); +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Lean_Elab_Command_elabMacroRulesAux___closed__54; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_118 = lean_array_push(x_117, x_91); +x_119 = lean_array_push(x_118, x_98); +x_120 = lean_array_push(x_119, x_100); +x_121 = lean_array_push(x_120, x_116); +x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = lean_array_push(x_89, x_123); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_43); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_41, x_125); +x_127 = l_Lean_Elab_Command_elabMacroRulesAux___closed__49; +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_32, x_87); +x_130 = lean_array_push(x_129, x_128); +x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__47; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_47, x_85); +x_134 = lean_array_push(x_133, x_132); +x_135 = lean_array_push(x_134, x_63); +x_136 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; +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 = lean_array_push(x_117, x_56); +x_139 = lean_array_push(x_138, x_66); +x_140 = lean_array_push(x_139, x_83); +x_141 = lean_array_push(x_140, x_137); +x_142 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_145 = lean_array_push(x_144, x_54); +x_146 = lean_array_push(x_145, x_63); +x_147 = lean_array_push(x_146, x_63); +x_148 = lean_array_push(x_147, x_63); +x_149 = lean_array_push(x_148, x_63); +x_150 = l_Lean_Elab_Command_elabMacroRulesAux___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 = lean_array_push(x_32, x_151); +x_153 = lean_array_push(x_152, x_143); +x_154 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +lean_ctor_set(x_24, 0, x_155); +return x_24; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_156 = lean_ctor_get(x_1, 0); +lean_inc(x_156); +lean_dec(x_1); +x_157 = lean_array_push(x_41, x_156); +x_158 = l_Array_append___rarg(x_88, x_157); +lean_dec(x_157); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_43); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_161 = lean_array_push(x_160, x_159); +x_162 = lean_array_push(x_161, x_54); +x_163 = lean_array_push(x_162, x_63); +x_164 = lean_array_push(x_163, x_63); +x_165 = lean_array_push(x_164, x_63); +x_166 = lean_array_push(x_165, x_63); +x_167 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = lean_array_push(x_32, x_168); +x_170 = lean_array_push(x_169, x_143); +x_171 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +lean_ctor_set(x_24, 0, x_172); +return x_24; +} +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_173 = lean_ctor_get(x_24, 0); +x_174 = lean_ctor_get(x_24, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_24); +x_175 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_19); +x_176 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_176, 0, x_19); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +lean_inc(x_19); +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_19); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_mk_syntax_ident(x_3); +x_180 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_181 = lean_array_push(x_180, x_178); +x_182 = lean_array_push(x_181, x_179); +x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = lean_array_push(x_180, x_2); +x_186 = lean_array_push(x_185, x_184); +x_187 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_190 = lean_array_push(x_189, x_188); +x_191 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_193 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_19); +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_19); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_196 = lean_array_push(x_195, x_176); +x_197 = lean_array_push(x_196, x_192); +x_198 = lean_array_push(x_197, x_194); +x_199 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_189, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_191); +lean_ctor_set(x_202, 1, x_201); +x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_19); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_19); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +lean_inc(x_22); +lean_inc(x_173); +x_206 = l_Lean_addMacroScope(x_173, x_205, x_22); +x_207 = lean_box(0); +x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_19); +x_209 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_209, 0, x_19); +lean_ctor_set(x_209, 1, x_208); +lean_ctor_set(x_209, 2, x_206); +lean_ctor_set(x_209, 3, x_207); +x_210 = lean_array_push(x_180, x_209); +x_211 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +lean_inc(x_19); +x_216 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_216, 0, x_19); +lean_ctor_set(x_216, 1, x_215); +x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +lean_inc(x_22); +lean_inc(x_173); +x_218 = l_Lean_addMacroScope(x_173, x_217, x_22); +x_219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_220 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +lean_inc(x_19); +x_221 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_221, 0, x_19); +lean_ctor_set(x_221, 1, x_219); +lean_ctor_set(x_221, 2, x_218); +lean_ctor_set(x_221, 3, x_220); +x_222 = lean_array_push(x_180, x_216); +x_223 = lean_array_push(x_222, x_221); +x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_189, x_225); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_191); +lean_ctor_set(x_227, 1, x_226); +x_228 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_229 = lean_array_push(x_228, x_227); +x_230 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +lean_inc(x_19); +x_233 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_233, 0, x_19); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +lean_inc(x_19); +x_235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_235, 0, x_19); +lean_ctor_set(x_235, 1, x_234); +x_236 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_237 = l_Array_append___rarg(x_236, x_16); +lean_dec(x_16); +x_238 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_19); +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_19); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Lean_Elab_Command_elabMacroRulesAux___closed__52; +lean_inc(x_19); +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_19); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_189, x_241); +x_243 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = lean_array_push(x_189, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_191); +lean_ctor_set(x_246, 1, x_245); +x_247 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_19); +x_248 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_248, 0, x_19); +lean_ctor_set(x_248, 1, x_247); +x_249 = l_Lean_Elab_Command_elabMacroRulesAux___closed__58; +lean_inc(x_22); +lean_inc(x_173); +x_250 = l_Lean_addMacroScope(x_173, x_249, x_22); +x_251 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; +x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +lean_inc(x_19); +x_253 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_253, 0, x_19); +lean_ctor_set(x_253, 1, x_251); +lean_ctor_set(x_253, 2, x_250); +lean_ctor_set(x_253, 3, x_252); +x_254 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; +x_255 = l_Lean_addMacroScope(x_173, x_254, x_22); +x_256 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__72; +x_258 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_258, 0, x_19); +lean_ctor_set(x_258, 1, x_256); +lean_ctor_set(x_258, 2, x_255); +lean_ctor_set(x_258, 3, x_257); +x_259 = lean_array_push(x_189, x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_191); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_array_push(x_180, x_253); +x_262 = lean_array_push(x_261, x_260); +x_263 = l_Lean_Elab_Command_elabMacroRulesAux___closed__54; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_266 = lean_array_push(x_265, x_239); +x_267 = lean_array_push(x_266, x_246); +x_268 = lean_array_push(x_267, x_248); +x_269 = lean_array_push(x_268, x_264); +x_270 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +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_237, x_271); +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_191); +lean_ctor_set(x_273, 1, x_272); +x_274 = lean_array_push(x_189, x_273); +x_275 = l_Lean_Elab_Command_elabMacroRulesAux___closed__49; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = lean_array_push(x_180, x_235); +x_278 = lean_array_push(x_277, x_276); +x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__47; +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_array_push(x_195, x_233); +x_282 = lean_array_push(x_281, x_280); +x_283 = lean_array_push(x_282, x_211); +x_284 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; +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 = lean_array_push(x_265, x_204); +x_287 = lean_array_push(x_286, x_214); +x_288 = lean_array_push(x_287, x_231); +x_289 = lean_array_push(x_288, x_285); +x_290 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_289); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_292 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_293 = lean_array_push(x_292, x_202); +x_294 = lean_array_push(x_293, x_211); +x_295 = lean_array_push(x_294, x_211); +x_296 = lean_array_push(x_295, x_211); +x_297 = lean_array_push(x_296, x_211); +x_298 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = lean_array_push(x_180, x_299); +x_301 = lean_array_push(x_300, x_291); +x_302 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_301); +x_304 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_174); +return x_304; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_305 = lean_ctor_get(x_1, 0); +lean_inc(x_305); +lean_dec(x_1); +x_306 = lean_array_push(x_189, x_305); +x_307 = l_Array_append___rarg(x_236, x_306); +lean_dec(x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_191); +lean_ctor_set(x_308, 1, x_307); +x_309 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_310 = lean_array_push(x_309, x_308); +x_311 = lean_array_push(x_310, x_202); +x_312 = lean_array_push(x_311, x_211); +x_313 = lean_array_push(x_312, x_211); +x_314 = lean_array_push(x_313, x_211); +x_315 = lean_array_push(x_314, x_211); +x_316 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_315); +x_318 = lean_array_push(x_180, x_317); +x_319 = lean_array_push(x_318, x_291); +x_320 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_319); +x_322 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_174); +return x_322; +} +} +} +else +{ +uint8_t x_323; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_323 = !lean_is_exclusive(x_15); +if (x_323 == 0) +{ +return x_15; +} +else +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; +x_324 = lean_ctor_get(x_15, 0); +x_325 = lean_ctor_get(x_15, 1); +lean_inc(x_325); +lean_inc(x_324); +lean_dec(x_15); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_324); +lean_ctor_set(x_326, 1, x_325); +return x_326; +} +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__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_7); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macro_rules"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("kind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(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_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_17 = x_15; +} else { + lean_dec_ref(x_15); + x_17 = lean_box(0); +} +x_18 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +lean_inc(x_11); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_11); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_21 = l_Array_append___rarg(x_20, x_6); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +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_Elab_Command_elabMacroRulesAux___closed__17; +x_25 = lean_array_push(x_24, x_23); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +if (lean_obj_tag(x_4) == 0) +{ +x_27 = x_20; +goto block_68; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_4, 0); +lean_inc(x_69); +lean_dec(x_4); +x_70 = lean_array_push(x_24, x_69); +x_27 = x_70; +goto block_68; +} +block_68: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_28 = l_Array_append___rarg(x_20, x_27); +lean_dec(x_27); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_31 = lean_array_push(x_30, x_29); +x_32 = lean_array_push(x_31, x_2); +x_33 = lean_array_push(x_32, x_19); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_61; +x_61 = lean_box(0); +x_34 = x_61; +goto block_60; +} +else +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_5); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_5, 0); +x_64 = lean_mk_syntax_ident(x_63); +lean_ctor_set(x_5, 0, x_64); +x_34 = x_5; +goto block_60; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_5, 0); +lean_inc(x_65); +lean_dec(x_5); +x_66 = lean_mk_syntax_ident(x_65); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_34 = x_67; +goto block_60; +} +} +block_60: +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_11); +x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__74; +x_36 = lean_array_push(x_33, x_35); +x_37 = lean_array_push(x_36, x_26); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_3); +lean_ctor_set(x_38, 1, x_37); +if (lean_is_scalar(x_17)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_17; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_16); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +lean_inc(x_11); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_11); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +lean_inc(x_11); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_11); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +lean_inc(x_11); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_11); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_11); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_push(x_30, x_42); +x_50 = lean_array_push(x_49, x_44); +x_51 = lean_array_push(x_50, x_46); +x_52 = lean_array_push(x_51, x_40); +x_53 = lean_array_push(x_52, x_48); +x_54 = l_Array_append___rarg(x_20, x_53); +lean_dec(x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_22); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_33, x_55); +x_57 = lean_array_push(x_56, x_26); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_3); +lean_ctor_set(x_58, 1, x_57); +if (lean_is_scalar(x_17)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_17; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_16); +return x_59; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("basicFun"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___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) { +_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; uint8_t x_17; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; +lean_inc(x_2); +x_14 = lean_name_mk_string(x_2, x_13); +x_15 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; +lean_inc(x_14); +x_16 = lean_name_mk_string(x_14, x_15); +lean_inc(x_12); +x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(3u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_nullKind; +x_22 = lean_unsigned_to_nat(0u); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +lean_dec(x_5); +x_24 = lean_unsigned_to_nat(5u); +lean_inc(x_20); +x_25 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = l_Lean_Syntax_getArg(x_20, x_19); +lean_dec(x_20); +x_28 = lean_unsigned_to_nat(4u); +x_29 = l_Lean_Syntax_getArg(x_1, x_28); +x_30 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +lean_inc(x_14); +x_31 = lean_name_mk_string(x_14, x_30); +lean_inc(x_29); +x_32 = l_Lean_Syntax_isOfKind(x_29, x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_33 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; +x_34 = l_Lean_Syntax_getArg(x_29, x_22); +lean_dec(x_29); +lean_inc(x_34); +x_35 = l_Lean_Syntax_isNodeOf(x_34, x_21, x_11); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_37 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_38 = l_Lean_Elab_Command_resolveSyntaxKind(x_37, x_8, x_9, x_10); +if (lean_obj_tag(x_38) == 0) +{ +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); +lean_dec(x_38); +x_41 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_39, x_36, x_8, x_9, x_40); +return x_41; +} +else +{ +uint8_t x_42; +lean_dec(x_36); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = l_Lean_Syntax_getArg(x_34, x_22); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7; +lean_inc(x_14); +x_48 = lean_name_mk_string(x_14, x_47); +lean_inc(x_46); +x_49 = l_Lean_Syntax_isOfKind(x_46, x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_50 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_51 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_52 = l_Lean_Elab_Command_resolveSyntaxKind(x_51, x_8, x_9, x_10); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +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 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_53, x_50, x_8, x_9, x_54); +return x_55; +} +else +{ +uint8_t x_56; +lean_dec(x_50); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_56 = !lean_is_exclusive(x_52); +if (x_56 == 0) +{ +return x_52; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_52, 0); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_52); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; uint8_t x_61; +x_60 = l_Lean_Syntax_getArg(x_46, x_11); +lean_inc(x_60); +x_61 = l_Lean_Syntax_isNodeOf(x_60, x_21, x_11); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_60); +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_63 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_64 = l_Lean_Elab_Command_resolveSyntaxKind(x_63, x_8, x_9, x_10); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_65, x_62, x_8, x_9, x_66); +return x_67; +} +else +{ +uint8_t x_68; +lean_dec(x_62); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_68 = !lean_is_exclusive(x_64); +if (x_68 == 0) +{ +return x_64; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArg(x_60, x_22); +lean_dec(x_60); +x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +lean_inc(x_72); +x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_72); +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_75 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_76 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_77 = l_Lean_Elab_Command_resolveSyntaxKind(x_76, x_8, x_9, x_10); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_78, x_75, x_8, x_9, x_79); +return x_80; +} +else +{ +uint8_t x_81; +lean_dec(x_75); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_81 = !lean_is_exclusive(x_77); +if (x_81 == 0) +{ +return x_77; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_77, 0); +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_77); +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; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_dec(x_34); +x_85 = l_Lean_Syntax_getArg(x_46, x_19); +lean_dec(x_46); +x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_88); +lean_dec(x_8); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_91); +lean_dec(x_9); +x_93 = !lean_is_exclusive(x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_94 = lean_ctor_get(x_92, 0); +x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +lean_inc(x_3); +x_96 = lean_name_mk_string(x_3, x_95); +x_97 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +lean_inc(x_3); +x_98 = lean_name_mk_string(x_3, x_97); +x_99 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_14); +x_100 = lean_name_mk_string(x_14, x_99); +x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_87); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_87); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +lean_inc(x_14); +x_104 = lean_name_mk_string(x_14, x_103); +x_105 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_106 = lean_name_mk_string(x_2, x_105); +x_107 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_108 = lean_name_mk_string(x_106, x_107); +lean_inc(x_87); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_87); +lean_ctor_set(x_109, 1, x_107); +x_110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_array_push(x_111, x_27); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_108); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_110, x_12); +x_115 = lean_array_push(x_114, x_113); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_104); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_87); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_87); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_124 = lean_array_push(x_123, x_102); +x_125 = lean_array_push(x_124, x_120); +x_126 = lean_array_push(x_125, x_122); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_100); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_117, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_119); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_3); +x_131 = lean_name_mk_string(x_3, x_130); +lean_inc(x_87); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_87); +lean_ctor_set(x_132, 1, x_130); +x_133 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_inc(x_3); +x_134 = lean_name_mk_string(x_3, x_133); +x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +lean_inc(x_90); +lean_inc(x_94); +x_136 = l_Lean_addMacroScope(x_94, x_135, x_90); +x_137 = lean_box(0); +x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_87); +x_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_87); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set(x_139, 2, x_136); +lean_ctor_set(x_139, 3, x_137); +x_140 = lean_array_push(x_110, x_139); +x_141 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_142 = lean_array_push(x_140, x_141); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_134); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +lean_inc(x_3); +x_145 = lean_name_mk_string(x_3, x_144); +x_146 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +lean_inc(x_14); +x_147 = lean_name_mk_string(x_14, x_146); +x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +lean_inc(x_87); +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_87); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +x_151 = l_Lean_addMacroScope(x_94, x_150, x_90); +x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_153 = lean_name_mk_string(x_4, x_152); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_137); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_137); +x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +lean_inc(x_87); +x_157 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_157, 0, x_87); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_151); +lean_ctor_set(x_157, 3, x_155); +x_158 = lean_array_push(x_110, x_149); +x_159 = lean_array_push(x_158, x_157); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_147); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_117, x_160); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_119); +lean_ctor_set(x_162, 1, x_161); +x_163 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_164 = lean_array_push(x_163, x_162); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_145); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +x_167 = lean_name_mk_string(x_3, x_166); +x_168 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +lean_inc(x_87); +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_87); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +lean_inc(x_14); +x_171 = lean_name_mk_string(x_14, x_170); +lean_inc(x_87); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_87); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_174 = lean_name_mk_string(x_14, x_173); +x_175 = lean_array_push(x_117, x_72); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_119); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_87); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_123, x_176); +x_180 = lean_array_push(x_179, x_178); +x_181 = lean_array_push(x_180, x_85); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_174); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_110, x_172); +x_184 = lean_array_push(x_183, x_182); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_171); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_array_push(x_123, x_169); +x_187 = lean_array_push(x_186, x_185); +x_188 = lean_array_push(x_187, x_141); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_167); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_191 = lean_array_push(x_190, x_132); +x_192 = lean_array_push(x_191, x_143); +x_193 = lean_array_push(x_192, x_165); +x_194 = lean_array_push(x_193, x_189); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_131); +lean_ctor_set(x_195, 1, x_194); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_197 = lean_array_push(x_196, x_129); +x_198 = lean_array_push(x_197, x_141); +x_199 = lean_array_push(x_198, x_141); +x_200 = lean_array_push(x_199, x_141); +x_201 = lean_array_push(x_200, x_141); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_98); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_110, x_202); +x_204 = lean_array_push(x_203, x_195); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_96); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_92, 0, x_205); +return x_92; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_206 = lean_ctor_get(x_7, 0); +lean_inc(x_206); +lean_dec(x_7); +x_207 = lean_array_push(x_117, x_206); +x_208 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_209 = l_Array_append___rarg(x_208, x_207); +lean_dec(x_207); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_119); +lean_ctor_set(x_210, 1, x_209); +x_211 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_212 = lean_array_push(x_211, x_210); +x_213 = lean_array_push(x_212, x_129); +x_214 = lean_array_push(x_213, x_141); +x_215 = lean_array_push(x_214, x_141); +x_216 = lean_array_push(x_215, x_141); +x_217 = lean_array_push(x_216, x_141); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_98); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_array_push(x_110, x_218); +x_220 = lean_array_push(x_219, x_195); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_96); +lean_ctor_set(x_221, 1, x_220); +lean_ctor_set(x_92, 0, x_221); +return x_92; +} +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_222 = lean_ctor_get(x_92, 0); +x_223 = lean_ctor_get(x_92, 1); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_92); +x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +lean_inc(x_3); +x_225 = lean_name_mk_string(x_3, x_224); +x_226 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +lean_inc(x_3); +x_227 = lean_name_mk_string(x_3, x_226); +x_228 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_14); +x_229 = lean_name_mk_string(x_14, x_228); +x_230 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_87); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_87); +lean_ctor_set(x_231, 1, x_230); +x_232 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +lean_inc(x_14); +x_233 = lean_name_mk_string(x_14, x_232); +x_234 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_235 = lean_name_mk_string(x_2, x_234); +x_236 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_237 = lean_name_mk_string(x_235, x_236); +lean_inc(x_87); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_87); +lean_ctor_set(x_238, 1, x_236); +x_239 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_240 = lean_array_push(x_239, x_238); +x_241 = lean_array_push(x_240, x_27); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_array_push(x_239, x_12); +x_244 = lean_array_push(x_243, x_242); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_233); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_247 = lean_array_push(x_246, x_245); +x_248 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_87); +x_251 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_251, 0, x_87); +lean_ctor_set(x_251, 1, x_250); +x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_253 = lean_array_push(x_252, x_231); +x_254 = lean_array_push(x_253, x_249); +x_255 = lean_array_push(x_254, x_251); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_229); +lean_ctor_set(x_256, 1, x_255); +x_257 = lean_array_push(x_246, x_256); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_248); +lean_ctor_set(x_258, 1, x_257); +x_259 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_3); +x_260 = lean_name_mk_string(x_3, x_259); +lean_inc(x_87); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_87); +lean_ctor_set(x_261, 1, x_259); +x_262 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_inc(x_3); +x_263 = lean_name_mk_string(x_3, x_262); +x_264 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +lean_inc(x_90); +lean_inc(x_222); +x_265 = l_Lean_addMacroScope(x_222, x_264, x_90); +x_266 = lean_box(0); +x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_87); +x_268 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_268, 0, x_87); +lean_ctor_set(x_268, 1, x_267); +lean_ctor_set(x_268, 2, x_265); +lean_ctor_set(x_268, 3, x_266); +x_269 = lean_array_push(x_239, x_268); +x_270 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_263); +lean_ctor_set(x_272, 1, x_271); +x_273 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +lean_inc(x_3); +x_274 = lean_name_mk_string(x_3, x_273); +x_275 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +lean_inc(x_14); +x_276 = lean_name_mk_string(x_14, x_275); +x_277 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +lean_inc(x_87); +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_87); +lean_ctor_set(x_278, 1, x_277); +x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +x_280 = l_Lean_addMacroScope(x_222, x_279, x_90); +x_281 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_282 = lean_name_mk_string(x_4, x_281); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_266); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_266); +x_285 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +lean_inc(x_87); +x_286 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_286, 0, x_87); +lean_ctor_set(x_286, 1, x_285); +lean_ctor_set(x_286, 2, x_280); +lean_ctor_set(x_286, 3, x_284); +x_287 = lean_array_push(x_239, x_278); +x_288 = lean_array_push(x_287, x_286); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_276); +lean_ctor_set(x_289, 1, x_288); +x_290 = lean_array_push(x_246, x_289); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_248); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_293 = lean_array_push(x_292, x_291); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_274); +lean_ctor_set(x_294, 1, x_293); +x_295 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +x_296 = lean_name_mk_string(x_3, x_295); +x_297 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +lean_inc(x_87); +x_298 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_298, 0, x_87); +lean_ctor_set(x_298, 1, x_297); +x_299 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +lean_inc(x_14); +x_300 = lean_name_mk_string(x_14, x_299); +lean_inc(x_87); +x_301 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_301, 0, x_87); +lean_ctor_set(x_301, 1, x_299); +x_302 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_303 = lean_name_mk_string(x_14, x_302); +x_304 = lean_array_push(x_246, x_72); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_248); +lean_ctor_set(x_305, 1, x_304); +x_306 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_307, 0, x_87); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_array_push(x_252, x_305); +x_309 = lean_array_push(x_308, x_307); +x_310 = lean_array_push(x_309, x_85); +x_311 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_311, 0, x_303); +lean_ctor_set(x_311, 1, x_310); +x_312 = lean_array_push(x_239, x_301); +x_313 = lean_array_push(x_312, x_311); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_300); +lean_ctor_set(x_314, 1, x_313); +x_315 = lean_array_push(x_252, x_298); +x_316 = lean_array_push(x_315, x_314); +x_317 = lean_array_push(x_316, x_270); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_296); +lean_ctor_set(x_318, 1, x_317); +x_319 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_320 = lean_array_push(x_319, x_261); +x_321 = lean_array_push(x_320, x_272); +x_322 = lean_array_push(x_321, x_294); +x_323 = lean_array_push(x_322, x_318); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_260); +lean_ctor_set(x_324, 1, x_323); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_325 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_326 = lean_array_push(x_325, x_258); +x_327 = lean_array_push(x_326, x_270); +x_328 = lean_array_push(x_327, x_270); +x_329 = lean_array_push(x_328, x_270); +x_330 = lean_array_push(x_329, x_270); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_227); +lean_ctor_set(x_331, 1, x_330); +x_332 = lean_array_push(x_239, x_331); +x_333 = lean_array_push(x_332, x_324); +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_225); +lean_ctor_set(x_334, 1, x_333); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_223); +return x_335; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_336 = lean_ctor_get(x_7, 0); +lean_inc(x_336); +lean_dec(x_7); +x_337 = lean_array_push(x_246, x_336); +x_338 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_339 = l_Array_append___rarg(x_338, x_337); +lean_dec(x_337); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_248); +lean_ctor_set(x_340, 1, x_339); +x_341 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_342 = lean_array_push(x_341, x_340); +x_343 = lean_array_push(x_342, x_258); +x_344 = lean_array_push(x_343, x_270); +x_345 = lean_array_push(x_344, x_270); +x_346 = lean_array_push(x_345, x_270); +x_347 = lean_array_push(x_346, x_270); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_227); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_array_push(x_239, x_348); +x_350 = lean_array_push(x_349, x_324); +x_351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_351, 0, x_225); +lean_ctor_set(x_351, 1, x_350); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_223); +return x_352; +} +} +} +} +} +} +} +} +} +else +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +lean_dec(x_20); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_353 = lean_unsigned_to_nat(4u); +x_354 = l_Lean_Syntax_getArg(x_1, x_353); +x_355 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +x_356 = lean_name_mk_string(x_14, x_355); +lean_inc(x_354); +x_357 = l_Lean_Syntax_isOfKind(x_354, x_356); +if (x_357 == 0) +{ +lean_object* x_358; +lean_dec(x_356); +lean_dec(x_354); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_358 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_358; +} +else +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_359 = l_Lean_Syntax_getArg(x_354, x_22); +lean_dec(x_354); +x_360 = l_Lean_Syntax_getArgs(x_359); +lean_dec(x_359); +x_361 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 9, 4); +lean_closure_set(x_361, 0, x_356); +lean_closure_set(x_361, 1, x_12); +lean_closure_set(x_361, 2, x_5); +lean_closure_set(x_361, 3, x_7); +x_362 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_363 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_360, x_362, x_361, x_8, x_9, x_10); +lean_dec(x_360); +return x_363; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object* 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 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_16 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_21 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_20, x_21, x_22, x_5, x_23, x_19, x_2, x_3, x_4); +lean_dec(x_1); +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; +lean_dec(x_9); +x_25 = lean_box(0); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_27 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_26, x_27, x_28, x_5, x_29, x_25, x_2, x_3, x_4); +lean_dec(x_1); +return x_30; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__3), 4, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_Command_elabMacroRules___closed__1; +x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_elabMacroRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabMacroRules"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5; +x_5 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Syntax(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_MacroRules(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Syntax(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__10); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__12); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__15); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8); +l_Lean_Elab_Command_elabMacroRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__1); +l_Lean_Elab_Command_elabMacroRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__2); +l_Lean_Elab_Command_elabMacroRulesAux___closed__3 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__3); +l_Lean_Elab_Command_elabMacroRulesAux___closed__4 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__4); +l_Lean_Elab_Command_elabMacroRulesAux___closed__5 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__5); +l_Lean_Elab_Command_elabMacroRulesAux___closed__6 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__6); +l_Lean_Elab_Command_elabMacroRulesAux___closed__7 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__7); +l_Lean_Elab_Command_elabMacroRulesAux___closed__8 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__8); +l_Lean_Elab_Command_elabMacroRulesAux___closed__9 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__9); +l_Lean_Elab_Command_elabMacroRulesAux___closed__10 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__10); +l_Lean_Elab_Command_elabMacroRulesAux___closed__11 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__11); +l_Lean_Elab_Command_elabMacroRulesAux___closed__12 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__12); +l_Lean_Elab_Command_elabMacroRulesAux___closed__13 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__13); +l_Lean_Elab_Command_elabMacroRulesAux___closed__14 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__14); +l_Lean_Elab_Command_elabMacroRulesAux___closed__15 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__15); +l_Lean_Elab_Command_elabMacroRulesAux___closed__16 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__16); +l_Lean_Elab_Command_elabMacroRulesAux___closed__17 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__17); +l_Lean_Elab_Command_elabMacroRulesAux___closed__18 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__18); +l_Lean_Elab_Command_elabMacroRulesAux___closed__19 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__19); +l_Lean_Elab_Command_elabMacroRulesAux___closed__20 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__20); +l_Lean_Elab_Command_elabMacroRulesAux___closed__21 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__21); +l_Lean_Elab_Command_elabMacroRulesAux___closed__22 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__22); +l_Lean_Elab_Command_elabMacroRulesAux___closed__23 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__23); +l_Lean_Elab_Command_elabMacroRulesAux___closed__24 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__24); +l_Lean_Elab_Command_elabMacroRulesAux___closed__25 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__25); +l_Lean_Elab_Command_elabMacroRulesAux___closed__26 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__26); +l_Lean_Elab_Command_elabMacroRulesAux___closed__27 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__27); +l_Lean_Elab_Command_elabMacroRulesAux___closed__28 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__28); +l_Lean_Elab_Command_elabMacroRulesAux___closed__29 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__29); +l_Lean_Elab_Command_elabMacroRulesAux___closed__30 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__30); +l_Lean_Elab_Command_elabMacroRulesAux___closed__31 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__31); +l_Lean_Elab_Command_elabMacroRulesAux___closed__32 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__32); +l_Lean_Elab_Command_elabMacroRulesAux___closed__33 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__33); +l_Lean_Elab_Command_elabMacroRulesAux___closed__34 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__34); +l_Lean_Elab_Command_elabMacroRulesAux___closed__35 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__35); +l_Lean_Elab_Command_elabMacroRulesAux___closed__36 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__36); +l_Lean_Elab_Command_elabMacroRulesAux___closed__37 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__37); +l_Lean_Elab_Command_elabMacroRulesAux___closed__38 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__38); +l_Lean_Elab_Command_elabMacroRulesAux___closed__39 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__39); +l_Lean_Elab_Command_elabMacroRulesAux___closed__40 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__40); +l_Lean_Elab_Command_elabMacroRulesAux___closed__41 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__41); +l_Lean_Elab_Command_elabMacroRulesAux___closed__42 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__42); +l_Lean_Elab_Command_elabMacroRulesAux___closed__43 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__43(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__43); +l_Lean_Elab_Command_elabMacroRulesAux___closed__44 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__44(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__44); +l_Lean_Elab_Command_elabMacroRulesAux___closed__45 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__45(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__45); +l_Lean_Elab_Command_elabMacroRulesAux___closed__46 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__46(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__46); +l_Lean_Elab_Command_elabMacroRulesAux___closed__47 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__47(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__47); +l_Lean_Elab_Command_elabMacroRulesAux___closed__48 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__48(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__48); +l_Lean_Elab_Command_elabMacroRulesAux___closed__49 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__49(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__49); +l_Lean_Elab_Command_elabMacroRulesAux___closed__50 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__50(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__50); +l_Lean_Elab_Command_elabMacroRulesAux___closed__51 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__51(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__51); +l_Lean_Elab_Command_elabMacroRulesAux___closed__52 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__52(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__52); +l_Lean_Elab_Command_elabMacroRulesAux___closed__53 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__53(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__53); +l_Lean_Elab_Command_elabMacroRulesAux___closed__54 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__54(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__54); +l_Lean_Elab_Command_elabMacroRulesAux___closed__55 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__55(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__55); +l_Lean_Elab_Command_elabMacroRulesAux___closed__56 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__56(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__56); +l_Lean_Elab_Command_elabMacroRulesAux___closed__57 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__57(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__57); +l_Lean_Elab_Command_elabMacroRulesAux___closed__58 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__58(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__58); +l_Lean_Elab_Command_elabMacroRulesAux___closed__59 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__59(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__59); +l_Lean_Elab_Command_elabMacroRulesAux___closed__60 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__60(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__60); +l_Lean_Elab_Command_elabMacroRulesAux___closed__61 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__61(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__61); +l_Lean_Elab_Command_elabMacroRulesAux___closed__62 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__62(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__62); +l_Lean_Elab_Command_elabMacroRulesAux___closed__63 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__63(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__63); +l_Lean_Elab_Command_elabMacroRulesAux___closed__64 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__64(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__64); +l_Lean_Elab_Command_elabMacroRulesAux___closed__65 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__65(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__65); +l_Lean_Elab_Command_elabMacroRulesAux___closed__66 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__66(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__66); +l_Lean_Elab_Command_elabMacroRulesAux___closed__67 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__67(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__67); +l_Lean_Elab_Command_elabMacroRulesAux___closed__68 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__68(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__68); +l_Lean_Elab_Command_elabMacroRulesAux___closed__69 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__69(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__69); +l_Lean_Elab_Command_elabMacroRulesAux___closed__70 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__70(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__70); +l_Lean_Elab_Command_elabMacroRulesAux___closed__71 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__71(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__71); +l_Lean_Elab_Command_elabMacroRulesAux___closed__72 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__72(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__72); +l_Lean_Elab_Command_elabMacroRulesAux___closed__73 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__73(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__73); +l_Lean_Elab_Command_elabMacroRulesAux___closed__74 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__74(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__74); +l_Lean_Elab_Command_elabMacroRulesAux___closed__75 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__75(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__75); +l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1); +l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1); +l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2); +l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3); +l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4); +l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4); +l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1); +l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2); +l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3); +l_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5); +l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6); +res = l___regBuiltin_Lean_Elab_Command_elabMacroRules(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 4ff6c81402..182468dda7 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Match -// Imports: Init Lean.Util.CollectFVars Lean.Meta.Match.MatchPatternAttr Lean.Meta.Match.Match Lean.Meta.SortLocalDecls Lean.Meta.GeneralizeVars Lean.Elab.SyntheticMVars Lean.Elab.App Lean.Parser.Term +// Imports: Init Lean.Util.CollectFVars Lean.Meta.Match.MatchPatternAttr Lean.Meta.Match.Match Lean.Meta.SortLocalDecls Lean.Meta.GeneralizeVars Lean.Elab.SyntheticMVars Lean.Elab.Arg Lean.Parser.Term Lean.Elab.PatternVar #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -20,14 +20,14 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__5; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2; +lean_object* l_Lean_Elab_Term_collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -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* l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2(lean_object*); static 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*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); size_t l_USize_add(size_t, size_t); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__3; @@ -37,77 +37,52 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3 static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___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* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___closed__3; uint8_t l_Lean_Expr_isCharLit(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isNatLit(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___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_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3; static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(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_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6; -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1(lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__2; lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; +static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__4; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4; lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; extern lean_object* l_Lean_nullKind; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__3; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop(lean_object*); -lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_inaccessible_x3f(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4___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_getFVarsToGeneralize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___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_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*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___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_Array_append___rarg(lean_object*, lean_object*); @@ -117,51 +92,37 @@ lean_object* l_Lean_Elab_Term_elabNoMatch(lean_object*, lean_object*, lean_objec lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2(lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1; lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__3; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1; +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2; -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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___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_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__1; lean_object* l_Lean_Elab_Term_expandMacrosInPatterns___boxed__const__1; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible___boxed(lean_object*); -lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__1; lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVarNames_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__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_Match_0__Lean_Elab_Term_generalize_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__2; @@ -172,30 +133,23 @@ lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg___boxed(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*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; static lean_object* l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_markIsDep(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___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___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_getPatternsVars_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabInaccessible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_markAsVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -205,43 +159,36 @@ lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___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_List_mapM___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___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_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___closed__2; lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5; lean_object* l_Array_split___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__3; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1(lean_object*, lean_object*, size_t, size_t); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___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*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1; lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__1; @@ -251,400 +198,308 @@ lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_precheckMatch___spec__1(lea lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___boxed(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_getNextParam(lean_object*); -lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1(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_CollectPatternVars_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__4(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*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3; +static lean_object* l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1; lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3(lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault_match__1___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7; lean_object* l_Lean_Elab_Term_throwMVarError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___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_CollectPatternVars_throwInvalidPattern(lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(size_t, size_t, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; lean_object* l_Lean_Elab_Term_precheckMatch_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__6___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___closed__1; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_precheckMatch___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(uint8_t, 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_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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_CollectPatternVars_collect_processId_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -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*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternsVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; -lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__2; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(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_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f(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_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___boxed(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_getPatternsVars___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___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__8; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1; static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_finalizePatternDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isAuxDiscrName___closed__2; -lean_object* l_Lean_Elab_Term_getPatternsVars_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___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_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___boxed(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_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___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_precheckMatch_match__3(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__1; -lean_object* l_Lean_Elab_Term_getPatternVars_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7; lean_object* l_Lean_Elab_Term_finalizePatternDecls___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_withPatternVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(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_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheck(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_ToDepElimPattern_markAsVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l_Lean_Elab_Term_withDepElimPatterns___rarg___boxed__const__1; -lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__26; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); +lean_object* l_Array_qpartition_loop___at_Lean_Meta_sortFVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1(lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___boxed(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_elabMatchTypeAndDiscrs_elabDiscrs___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_Match_0__Lean_Elab_Term_elabAtomicDiscr_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2(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_elabMatchAux___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f(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_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4___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_numLitKind; -lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; -static lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isAuxDiscrName___boxed(lean_object*); lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_isAuxDiscrName(lean_object*); lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object*); -extern lean_object* l_Lean_strLitKind; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___spec__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_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_elabMatchAltView___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_isAuxDiscrName___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__11; -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_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___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*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3; -lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5(lean_object*, lean_object*, size_t, 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_CollectPatternVars_State_found___default; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2(lean_object*); 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___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchOptType___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__13; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___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_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__2(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main(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_elabPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg___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_expandNonAtomicDiscrs_x3f_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___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_Expr_fvarId_x21(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__2(lean_object*, size_t, size_t, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent___boxed(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(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_elabMatchAltViews_loop___lambda__3___boxed(lean_object**); lean_object* l_Lean_Meta_instantiateLocalDeclMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___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_Match_0__Lean_Elab_Term_isPatternVar_match__2(lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__4(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__2(lean_object*); lean_object* l_Lean_Expr_isFVar___boxed(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs___boxed(lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__5___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; -lean_object* l_Nat_repr(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1; static lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1; -uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__2(lean_object*); lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2(lean_object*, 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_Match_0__Lean_Elab_Term_elabMatchAltViews_loop(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_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType(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_getId(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchOptType(lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__9; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1; -extern lean_object* l_Lean_choiceKind; lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__3___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6; uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__4; lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__2(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_abortTermExceptionId; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___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_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__20; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault(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_elabMatchTypeAndDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__7; lean_object* l_Lean_Meta_Match_mkInaccessible(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__6; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__1; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; lean_object* l_Lean_Elab_Term_precheckMatch_match__4___rarg(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___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_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_alreadyVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__2___rarg___closed__1; lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__3; -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*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1; +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__2; static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___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_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_unzip___rarg(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_found___default; uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -lean_object* l_Array_mapMUnsafe_map___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*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Meta_Match_instantiateAltLHSMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2___boxed__const__1; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_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*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(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_elabMatch_elabMatchDefault___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_precheckMatch_match__5(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_List_elem___at_Lean_Occurrences_contains___spec__1(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f(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_getMVarSyntaxMVarId___boxed(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___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_finalizePatternDecls_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__1; @@ -654,91 +509,70 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__L lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__7; static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_Term_precheckMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__3; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(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_CollectPatternVars_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs___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_Match_0__Lean_Elab_Term_elabMatchAux___lambda__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_Match_0__Lean_Elab_Term_elabMatchAux___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_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_alreadyVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___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_eraseIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__2___rarg___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__2; lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; extern lean_object* l_Lean_Elab_Term_termElabAttribute; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(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_elabMatchTypeAndDiscrs_elabDiscrs___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_instToStringPatternVar(lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(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_elabMatchAux___lambda__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_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(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_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__3; lean_object* l_Lean_LocalDecl_type(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__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_Elab_Term_getMVarSyntaxMVarId(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1; -extern uint8_t l_Lean_instInhabitedBinderInfo; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6(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_reportMatcherResultErrors___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_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_identKind; -lean_object* l_Lean_Elab_Term_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___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_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___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_List_redLength___rarg(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_newLocals___default; @@ -748,64 +582,53 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType_match__2(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; lean_object* l_Lean_LocalDecl_index(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_precheckMatch___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(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_processVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs___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_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__4; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern(lean_object*); -extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; lean_object* l_Lean_mkHole(lean_object*); -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__5(size_t, 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_Lean_scientificLitKind; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2; lean_object* l_Lean_Meta_getExprMVarAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___closed__2; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2; lean_object* lean_environment_main_module(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; uint8_t lean_expr_eqv(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__1; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType(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_elabMatchAltViews_loop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, 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_findDiscrRefinementPath_goIndex___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1___boxed(lean_object**); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3(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___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___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_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_match__1(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; lean_object* l_Lean_Elab_Term_elabInaccessible___boxed(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_main___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, 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_getIndexToInclude_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; @@ -813,62 +636,47 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__5; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); -lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize(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_waitExpectedTypeAndDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__4; -lean_object* l_Lean_Elab_Term_CollectPatternVars_State_vars___default; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm___boxed(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_LocalDecl_hasExprMVar(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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_LocalContext_addDecl(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__12; -static lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst_match__1(lean_object*); lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___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_CollectPatternVars_collect_processImplicitArg(uint8_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_withDepElimPatterns___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__2; lean_object* l_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1; uint8_t l_Lean_Meta_Match_Pattern_hasExprMVar(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__7; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_Match_0__Lean_Elab_Term_isPatternVar_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___spec__1(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__3(lean_object*); @@ -876,83 +684,60 @@ lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(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_elabMatchAltViews_throwEx(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___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_Lean_Elab_Term_tryPostponeIfMVar(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_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__13; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__22; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__13; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(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_elabMatchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___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_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6(size_t, 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_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(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_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2; -lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__2; lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2___boxed(lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__3; -extern lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___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* l_Lean_Elab_Term_getPatternVarNames_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(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_Match_0__Lean_Elab_Term_withPatternVars_loop___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* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__5; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__6(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2; uint8_t l_Lean_Expr_isStringLit(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Match_0__Lean_Elab_Term_elabMatchAux___lambda__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_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___boxed(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*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg___closed__1; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__3; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__25; lean_object* l_Lean_Elab_Term_precheckMatch_match__2(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); @@ -960,323 +745,160 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPa lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(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*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVarNames___boxed(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1(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); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__4; uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___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*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2; lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5(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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__11; -lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__11; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2; lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___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*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType_match__2___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__2(lean_object*); -lean_object* lean_nat_mod(lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; -lean_object* l_Lean_Elab_Term_CollectPatternVars_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkMatcher___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__3___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__8; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(size_t, size_t, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone___boxed(lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__4; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(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(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_CollectPatternVars_collect_processCtorAppCore_match__3___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1; lean_object* l_Lean_Elab_Term_match_ignoreUnusedAlts; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__3(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_findDiscrRefinementPath_goIndex___lambda__2(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_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___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*); uint8_t l_Lean_Expr_occurs(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_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*); -lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors(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_match__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__3; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(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_withPatternVars_loop_match__2(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__9; static lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__2; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___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_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4(size_t, 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_Meta_kabstract(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_elabMatchAux_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13318_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279_(lean_object*); -lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_11084_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240_(lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___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_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__3(lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___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_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__4; lean_object* l_Lean_Meta_Match_counterExamplesToMessageData(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__4; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__28; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; lean_object* l_Lean_Elab_Term_getPatternsVars(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_getNumExplicitCtorParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__30; -static lean_object* l_Lean_Elab_Term_instToStringPatternVar___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__15; 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_elabMatchAux_match__3(lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__4(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__4; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS(lean_object*); uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4(lean_object*); +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_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* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_withDepElimPatterns___rarg(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_getIndexToInclude_x3f_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(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_isPatternVar(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_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___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___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__9; lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1; -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1; -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars(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_elabMatchAltViews_loop___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_CollectPatternVars_collect_pushNewArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_sortLocalDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext; uint8_t l_Lean_LocalDecl_isLet(lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__1; -uint8_t l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_matchPatternAttr; -lean_object* l_Lean_Elab_Term_getPatternVars_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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* l___regBuiltin_Lean_Elab_Term_elabNoMatch(lean_object*); -static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; -static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2; -return x_1; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; -} -} -} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1() { _start: { @@ -1406,16 +1028,25 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; 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___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17() { _start: { lean_object* x_1; @@ -1423,7 +1054,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -1432,7 +1063,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -1441,7 +1072,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20() { _start: { lean_object* x_1; @@ -1449,7 +1080,7 @@ x_1 = lean_mk_string(";"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -1461,8 +1092,8 @@ return x_2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(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: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_12); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_10, x_11, x_12); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -1481,14 +1112,14 @@ lean_inc(x_14); x_21 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; +x_22 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; lean_inc(x_14); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; +x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; x_25 = lean_array_push(x_24, x_3); -x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; +x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); x_29 = lean_array_push(x_28, x_23); @@ -1497,13 +1128,13 @@ x_31 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; +x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; x_34 = lean_array_push(x_33, x_32); x_35 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; 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___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_14); lean_ctor_set(x_38, 1, x_37); @@ -1512,7 +1143,7 @@ x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ 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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; +x_42 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; x_43 = lean_array_push(x_42, x_21); x_44 = lean_array_push(x_43, x_36); x_45 = lean_array_push(x_44, x_41); @@ -1521,14 +1152,17 @@ x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); +x_49 = 1; +x_50 = lean_box(x_49); +x_51 = lean_box(x_49); lean_inc(x_48); -lean_inc(x_1); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___lambda__1), 10, 3); -lean_closure_set(x_49, 0, x_1); -lean_closure_set(x_49, 1, x_48); -lean_closure_set(x_49, 2, x_5); -x_50 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_48, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_50; +x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_52, 0, x_48); +lean_closure_set(x_52, 1, x_5); +lean_closure_set(x_52, 2, x_50); +lean_closure_set(x_52, 3, x_51); +x_53 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_48, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +return x_53; } } lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1569,11 +1203,13 @@ _start: if (lean_obj_tag(x_1) == 1) { lean_object* x_9; lean_object* x_10; +lean_dec(x_3); lean_dec(x_2); x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); lean_dec(x_1); x_10 = l_Lean_Meta_getLocalDecl(x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -1585,11 +1221,15 @@ lean_dec(x_10); x_13 = l_Lean_LocalDecl_userName(x_11); lean_dec(x_11); x_14 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_13, x_6, x_7, x_12); +lean_dec(x_7); +lean_dec(x_6); return x_14; } else { uint8_t x_15; +lean_dec(x_7); +lean_dec(x_6); x_15 = !lean_is_exclusive(x_10); if (x_15 == 0) { @@ -1615,23 +1255,10 @@ else lean_object* x_19; lean_dec(x_1); x_19 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); return x_19; } } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___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_Match_0__Lean_Elab_Term_mkUserNameFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_9; -} -} static lean_object* _init_l_Lean_Elab_Term_isAuxDiscrName___closed__1() { _start: { @@ -1904,6 +1531,59 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_e return x_2; } } +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +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; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__1() { _start: { @@ -1941,7 +1621,7 @@ x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; -x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_15 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___spec__1(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -2066,7 +1746,7 @@ x_38 = lean_ctor_get(x_11, 1); lean_inc(x_38); lean_dec(x_11); x_39 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; -x_40 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_38); +x_40 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___spec__1(x_1, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_38); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -2103,6 +1783,19 @@ return x_44; } } } +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___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: { @@ -2225,6 +1918,28 @@ lean_ctor_set(x_22, 1, x_14); return x_22; } } +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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 = l_Lean_Expr_hasLooseBVars(x_1); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +else +{ +uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_18 = 1; +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_20; +} +} +} static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__1() { _start: { @@ -2460,145 +2175,131 @@ lean_inc(x_6); x_46 = l_Lean_Elab_Term_elabTermEnsuringType(x_36, x_37, x_44, x_44, x_38, x_6, x_7, x_45, x_9, x_10, x_11, x_33); if (lean_obj_tag(x_46) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_61; lean_object* x_62; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; 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_81 = lean_st_ref_get(x_11, x_48); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_82, 3); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_ctor_get_uint8(x_83, sizeof(void*)*1); -lean_dec(x_83); -if (x_84 == 0) -{ -lean_object* x_85; uint8_t x_86; -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); +x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_79 = lean_st_ref_get(x_11, x_48); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_80, 3); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_ctor_get_uint8(x_81, sizeof(void*)*1); lean_dec(x_81); -x_86 = 0; -x_61 = x_86; -x_62 = x_85; -goto block_80; +if (x_82 == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_79, 1); +lean_inc(x_83); +lean_dec(x_79); +x_84 = 0; +x_50 = x_84; +x_51 = x_83; +goto block_78; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_81, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_79, 1); +lean_inc(x_85); +lean_dec(x_79); +x_86 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_85); +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec(x_81); -x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_89 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_87); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_unbox(x_90); -lean_dec(x_90); -x_61 = x_92; -x_62 = x_91; -goto block_80; +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_unbox(x_87); +lean_dec(x_87); +x_50 = x_89; +x_51 = x_88; +goto block_78; } -block_60: +block_78: { -uint8_t x_50; -x_50 = l_Lean_Expr_hasLooseBVars(x_35); if (x_50 == 0) { -lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_box(0); -x_52 = lean_unbox(x_28); -lean_dec(x_28); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_35, x_47, x_30, x_32, x_27, x_52, x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_49); -lean_dec(x_32); -lean_dec(x_35); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_16 = x_54; -x_17 = x_55; -goto block_22; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_28); -x_56 = lean_box(0); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_35, x_47, x_30, x_32, x_27, x_44, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_49); -lean_dec(x_32); -lean_dec(x_35); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_16 = x_58; -x_17 = x_59; -goto block_22; -} -} -block_80: -{ -if (x_61 == 0) -{ +lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_dec(x_34); -x_49 = x_62; -goto block_60; +x_52 = lean_box(0); +x_53 = lean_unbox(x_28); +lean_dec(x_28); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(x_35, x_47, x_30, x_32, x_27, x_53, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +lean_dec(x_32); +lean_dec(x_35); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_16 = x_55; +x_17 = x_56; +goto block_22; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_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; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_inc(x_30); -x_63 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); -x_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; +x_57 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); +x_58 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_47); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_47); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_67, 0, x_34); x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); -lean_inc(x_47); -x_69 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_69, 0, x_47); +x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_73, 0, x_34); -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_78 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_77, x_76, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_49 = x_79; -goto block_60; +x_71 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_49, x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_unbox(x_28); +lean_dec(x_28); +x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(x_35, x_47, x_30, x_32, x_27, x_74, x_72, x_6, x_7, x_8, x_9, x_10, x_11, x_73); +lean_dec(x_72); +lean_dec(x_32); +lean_dec(x_35); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_16 = x_76; +x_17 = x_77; +goto block_22; } } } else { -uint8_t x_93; +uint8_t x_90; lean_dec(x_35); lean_dec(x_34); lean_dec(x_32); @@ -2611,200 +2312,186 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_93 = !lean_is_exclusive(x_46); -if (x_93 == 0) +x_90 = !lean_is_exclusive(x_46); +if (x_90 == 0) { return x_46; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_46, 0); -x_95 = lean_ctor_get(x_46, 1); -lean_inc(x_95); -lean_inc(x_94); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_46, 0); +x_92 = lean_ctor_get(x_46, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_46); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } else { -uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_97 = lean_ctor_get_uint8(x_39, 4); -x_98 = lean_ctor_get_uint8(x_39, 5); -x_99 = lean_ctor_get_uint8(x_39, 6); -x_100 = lean_ctor_get_uint8(x_39, 7); -x_101 = lean_ctor_get_uint8(x_39, 8); -x_102 = lean_ctor_get_uint8(x_39, 9); +uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_94 = lean_ctor_get_uint8(x_39, 4); +x_95 = lean_ctor_get_uint8(x_39, 5); +x_96 = lean_ctor_get_uint8(x_39, 6); +x_97 = lean_ctor_get_uint8(x_39, 7); +x_98 = lean_ctor_get_uint8(x_39, 8); +x_99 = lean_ctor_get_uint8(x_39, 9); lean_dec(x_39); -x_103 = 1; -x_104 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_104, 0, x_103); -lean_ctor_set_uint8(x_104, 1, x_103); -lean_ctor_set_uint8(x_104, 2, x_103); -lean_ctor_set_uint8(x_104, 3, x_103); -lean_ctor_set_uint8(x_104, 4, x_97); -lean_ctor_set_uint8(x_104, 5, x_98); -lean_ctor_set_uint8(x_104, 6, x_99); -lean_ctor_set_uint8(x_104, 7, x_100); -lean_ctor_set_uint8(x_104, 8, x_101); -lean_ctor_set_uint8(x_104, 9, x_102); -x_105 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_40); -lean_ctor_set(x_105, 2, x_41); -lean_ctor_set(x_105, 3, x_42); +x_100 = 1; +x_101 = lean_alloc_ctor(0, 0, 10); +lean_ctor_set_uint8(x_101, 0, x_100); +lean_ctor_set_uint8(x_101, 1, x_100); +lean_ctor_set_uint8(x_101, 2, x_100); +lean_ctor_set_uint8(x_101, 3, x_100); +lean_ctor_set_uint8(x_101, 4, x_94); +lean_ctor_set_uint8(x_101, 5, x_95); +lean_ctor_set_uint8(x_101, 6, x_96); +lean_ctor_set_uint8(x_101, 7, x_97); +lean_ctor_set_uint8(x_101, 8, x_98); +lean_ctor_set_uint8(x_101, 9, x_99); +x_102 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_40); +lean_ctor_set(x_102, 2, x_41); +lean_ctor_set(x_102, 3, x_42); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_7); lean_inc(x_6); -x_106 = l_Lean_Elab_Term_elabTermEnsuringType(x_36, x_37, x_103, x_103, x_38, x_6, x_7, x_105, x_9, x_10, x_11, x_33); -if (lean_obj_tag(x_106) == 0) +x_103 = l_Lean_Elab_Term_elabTermEnsuringType(x_36, x_37, x_100, x_100, x_38, x_6, x_7, x_102, x_9, x_10, x_11, x_33); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_121; lean_object* x_122; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_141 = lean_st_ref_get(x_11, x_108); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_142, 3); -lean_inc(x_143); -lean_dec(x_142); -x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*1); -lean_dec(x_143); -if (x_144 == 0) -{ -lean_object* x_145; uint8_t x_146; -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_dec(x_141); -x_146 = 0; -x_121 = x_146; -x_122 = x_145; -goto block_140; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_147 = lean_ctor_get(x_141, 1); -lean_inc(x_147); -lean_dec(x_141); -x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_149 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_148, x_6, x_7, x_8, x_9, x_10, x_11, x_147); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = lean_unbox(x_150); -lean_dec(x_150); -x_121 = x_152; -x_122 = x_151; -goto block_140; -} -block_120: -{ -uint8_t x_110; -x_110 = l_Lean_Expr_hasLooseBVars(x_35); -if (x_110 == 0) -{ -lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_111 = lean_box(0); -x_112 = lean_unbox(x_28); -lean_dec(x_28); -x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_35, x_107, x_30, x_32, x_27, x_112, x_111, x_6, x_7, x_8, x_9, x_10, x_11, x_109); -lean_dec(x_32); -lean_dec(x_35); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_16 = x_114; -x_17 = x_115; -goto block_22; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -lean_dec(x_28); -x_116 = lean_box(0); -x_117 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1(x_35, x_107, x_30, x_32, x_27, x_103, x_116, x_6, x_7, x_8, x_9, x_10, x_11, x_109); -lean_dec(x_32); -lean_dec(x_35); -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_16 = x_118; -x_17 = x_119; -goto block_22; -} -} -block_140: -{ -if (x_121 == 0) -{ -lean_dec(x_34); -x_109 = x_122; -goto block_120; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_inc(x_30); -x_123 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); -x_124 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_124, 0, x_123); -x_125 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; -x_128 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -lean_inc(x_107); -x_129 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_129, 0, x_107); -x_130 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_133, 0, x_34); -x_134 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_136 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_138 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_137, x_136, x_6, x_7, x_8, x_9, x_10, x_11, x_122); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); +lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_136 = lean_st_ref_get(x_11, x_105); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_137, 3); +lean_inc(x_138); +lean_dec(x_137); +x_139 = lean_ctor_get_uint8(x_138, sizeof(void*)*1); lean_dec(x_138); -x_109 = x_139; -goto block_120; +if (x_139 == 0) +{ +lean_object* x_140; uint8_t x_141; +x_140 = lean_ctor_get(x_136, 1); +lean_inc(x_140); +lean_dec(x_136); +x_141 = 0; +x_107 = x_141; +x_108 = x_140; +goto block_135; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_142 = lean_ctor_get(x_136, 1); +lean_inc(x_142); +lean_dec(x_136); +x_143 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_106, x_6, x_7, x_8, x_9, x_10, x_11, x_142); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_unbox(x_144); +lean_dec(x_144); +x_107 = x_146; +x_108 = x_145; +goto block_135; +} +block_135: +{ +if (x_107 == 0) +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_34); +x_109 = lean_box(0); +x_110 = lean_unbox(x_28); +lean_dec(x_28); +x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(x_35, x_104, x_30, x_32, x_27, x_110, x_109, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +lean_dec(x_32); +lean_dec(x_35); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_16 = x_112; +x_17 = x_113; +goto block_22; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_inc(x_30); +x_114 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); +x_115 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_116 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; +x_117 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; +x_119 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +lean_inc(x_104); +x_120 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_120, 0, x_104); +x_121 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; +x_123 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_124, 0, x_34); +x_125 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_127 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_106, x_127, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_unbox(x_28); +lean_dec(x_28); +x_132 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(x_35, x_104, x_30, x_32, x_27, x_131, x_129, x_6, x_7, x_8, x_9, x_10, x_11, x_130); +lean_dec(x_129); +lean_dec(x_32); +lean_dec(x_35); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_16 = x_133; +x_17 = x_134; +goto block_22; } } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_dec(x_35); lean_dec(x_34); lean_dec(x_32); @@ -2817,81 +2504,81 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_153 = lean_ctor_get(x_106, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_106, 1); -lean_inc(x_154); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_155 = x_106; +x_147 = lean_ctor_get(x_103, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_103, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_149 = x_103; } else { - lean_dec_ref(x_106); - x_155 = lean_box(0); + lean_dec_ref(x_103); + x_149 = lean_box(0); } -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(1, 2, 0); } else { - x_156 = x_155; + x_150 = x_149; } -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -return x_156; +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_148); +return x_150; } } } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_dec(x_32); lean_dec(x_30); lean_dec(x_28); lean_dec(x_27); lean_dec(x_15); -x_157 = lean_ctor_get(x_31, 1); -lean_inc(x_157); +x_151 = lean_ctor_get(x_31, 1); +lean_inc(x_151); lean_dec(x_31); -x_158 = lean_array_get_size(x_1); -x_159 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_158); -x_160 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__2; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__4; -x_164 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_164, x_6, x_7, x_8, x_9, x_10, x_11, x_157); +x_152 = lean_array_get_size(x_1); +x_153 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_152); +x_154 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_154, 0, x_153); +x_155 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__2; +x_156 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +x_157 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__4; +x_158 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_158, x_6, x_7, x_8, x_9, x_10, x_11, x_151); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_166 = !lean_is_exclusive(x_165); -if (x_166 == 0) +x_160 = !lean_is_exclusive(x_159); +if (x_160 == 0) { -return x_165; +return x_159; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_165, 0); -x_168 = lean_ctor_get(x_165, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_165); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_159, 0); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_inc(x_161); +lean_dec(x_159); +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 { -uint8_t x_170; +uint8_t x_164; lean_dec(x_30); lean_dec(x_28); lean_dec(x_27); @@ -2902,23 +2589,23 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_170 = !lean_is_exclusive(x_31); -if (x_170 == 0) +x_164 = !lean_is_exclusive(x_31); +if (x_164 == 0) { return x_31; } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_31, 0); -x_172 = lean_ctor_get(x_31, 1); -lean_inc(x_172); -lean_inc(x_171); +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_31, 0); +x_166 = lean_ctor_get(x_31, 1); +lean_inc(x_166); +lean_inc(x_165); lean_dec(x_31); -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; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; } } block_22: @@ -2941,7 +2628,7 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatc _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_2 = 0; x_3 = lean_box(x_2); x_4 = lean_alloc_ctor(0, 2, 0); @@ -3066,6 +2753,25 @@ lean_dec(x_1); return x_16; } } +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___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, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_6); +lean_dec(x_6); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_15, 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_4); +lean_dec(x_1); +return x_16; +} +} lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___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) { _start: { @@ -3662,7 +3368,11 @@ lean_inc(x_30); lean_dec(x_28); lean_inc(x_23); x_31 = lean_array_push(x_5, x_23); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_23); x_32 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_30); @@ -4286,7 +3996,7 @@ else { lean_object* x_42; lean_object* x_43; lean_object* x_44; x_42 = lean_unsigned_to_nat(0u); -x_43 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_44 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs(x_1, x_3, x_4, x_42, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_44; } @@ -4944,7 +4654,7 @@ if (x_5 == 0) { lean_object* x_6; lean_dec(x_1); -x_6 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_6 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_6; } else @@ -4957,7 +4667,7 @@ if (x_8 == 0) { lean_object* x_9; lean_dec(x_1); -x_9 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_9; } else @@ -4965,7 +4675,7 @@ else size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_usize_of_nat(x_3); x_11 = lean_usize_of_nat(x_4); -x_12 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2(x_1, x_2, x_10, x_11, x_12); return x_13; } @@ -4983,7 +4693,7 @@ if (x_3 == 0) { lean_object* x_4; lean_dec(x_1); -x_4 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_4 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_4; } else @@ -5003,7 +4713,7 @@ if (x_42 == 0) lean_object* x_43; lean_dec(x_6); lean_dec(x_1); -x_43 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_43; } else @@ -5049,7 +4759,7 @@ if (x_27 == 0) lean_object* x_28; lean_dec(x_10); lean_dec(x_1); -x_28 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_28; } else @@ -5066,7 +4776,7 @@ if (x_32 == 0) lean_object* x_33; lean_dec(x_30); lean_dec(x_1); -x_33 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_33; } else @@ -5108,7 +4818,7 @@ if (x_16 == 0) { lean_object* x_17; lean_dec(x_14); -x_17 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_17 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; return x_17; } else @@ -5155,78 +4865,7 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Term_instToStringPatternVar_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_Lean_Elab_Term_instToStringPatternVar_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instToStringPatternVar_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instToStringPatternVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("?m"); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_instToStringPatternVar(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -lean_dec(x_1); -x_3 = 1; -x_4 = l_Lean_Name_toString(x_2, x_3); -return x_4; -} -else -{ -lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = 1; -x_7 = l_Lean_Name_toString(x_5, x_6); -x_8 = l_Lean_Elab_Term_instToStringPatternVar___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; -x_11 = lean_string_append(x_9, x_10); -return x_11; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1() { _start: { lean_object* x_1; @@ -5234,127 +4873,30 @@ x_1 = lean_mk_string("MVarWithIdKind"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2; x_3 = l_Lean_Parser_registerBuiltinNodeKind(x_2, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -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; -x_5 = lean_ctor_get(x_3, 0); -x_6 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_9 = lean_array_push(x_8, x_7); -x_10 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_3, 0, x_11); -return x_3; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_3); -x_14 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_17 = lean_array_push(x_16, x_15); -x_18 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg___boxed), 2, 0); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Syntax_getArg(x_1, x_2); -x_4 = l_Lean_Syntax_getKind(x_3); -return x_4; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(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; -x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_1); +x_10 = l_Lean_Elab_Term_getMVarSyntaxMVarId(x_1); x_11 = l_Lean_mkMVar(x_10); x_12 = l_Lean_Meta_Match_mkInaccessible(x_11); x_13 = lean_alloc_ctor(0, 2, 0); @@ -5430,7 +4972,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__4; x_5 = l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -5561,12948 +5103,6 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_State_found___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_NameSet_empty; -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_State_vars___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -return x_1; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__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, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg___boxed), 9, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern, constructor or constant marked with '[matchPattern]' expected"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(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_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_7); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_array_uget(x_1, x_3); -x_15 = l_Lean_Expr_fvarId_x21(x_14); -lean_dec(x_14); -lean_inc(x_7); -x_16 = l_Lean_Meta_getLocalDecl(x_15, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; -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); -x_19 = l_Lean_LocalDecl_binderInfo(x_17); -lean_dec(x_17); -x_20 = l_Lean_BinderInfo_isExplicit(x_19); -if (x_20 == 0) -{ -size_t x_21; size_t x_22; -x_21 = 1; -x_22 = x_3 + x_21; -x_3 = x_22; -x_11 = x_18; -goto _start; -} -else -{ -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_add(x_4, x_24); -lean_dec(x_4); -x_26 = 1; -x_27 = x_3 + x_26; -x_3 = x_27; -x_4 = x_25; -x_11 = x_18; -goto _start; -} -} -else -{ -uint8_t x_29; -lean_dec(x_7); -lean_dec(x_4); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) -{ -return x_16; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -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; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_array_get_size(x_1); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__1(x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -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; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(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; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 2); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_1, 3); -lean_inc(x_11); -lean_dec(x_1); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1; -x_14 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(x_10, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_14; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__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, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg___boxed), 9, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(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_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_unsigned_to_nat(0u); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1() { -_start: -{ -lean_object* x_1; 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_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = lean_box(0); -x_4 = 0; -x_5 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_7, 0, x_3); -lean_ctor_set(x_7, 1, x_1); -lean_ctor_set(x_7, 2, x_5); -lean_ctor_set(x_7, 3, x_6); -lean_ctor_set(x_7, 4, x_5); -lean_ctor_set(x_7, 5, x_2); -lean_ctor_set(x_7, 6, x_5); -lean_ctor_set_uint8(x_7, sizeof(void*)*7, x_4); -lean_ctor_set_uint8(x_7, sizeof(void*)*7 + 1, x_4); -return x_7; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1; -return x_1; -} -} -uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 2); -x_3 = lean_array_get_size(x_2); -x_4 = lean_ctor_get(x_1, 3); -x_5 = lean_nat_dec_le(x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 3); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed), 3, 0); -return x_6; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("too many arguments"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("@"); -return x_1; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_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, lean_object* x_9) { -_start: -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_1, 4); -lean_inc(x_10); -x_11 = l_Array_isEmpty___rarg(x_10); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_1); -x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; -x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -else -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_1, 5); -lean_inc(x_14); -x_15 = l_List_isEmpty___rarg(x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_1); -x_16 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; -x_17 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_9); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_20); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_22); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3; -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_19); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_ctor_get(x_1, 0); -lean_inc(x_28); -x_29 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_30 = lean_array_push(x_29, x_27); -x_31 = lean_array_push(x_30, x_28); -x_32 = l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__4; -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_ctor_get(x_1, 6); -lean_inc(x_34); -lean_dec(x_1); -x_35 = l_Lean_Syntax_mkApp(x_33, x_34); -lean_ctor_set(x_23, 0, x_35); -return x_23; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3; -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_19); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); -x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_41 = lean_array_push(x_40, x_38); -x_42 = lean_array_push(x_41, x_39); -x_43 = l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__4; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_ctor_get(x_1, 6); -lean_inc(x_45); -lean_dec(x_1); -x_46 = l_Lean_Syntax_mkApp(x_44, 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_36); -return x_47; -} -} -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_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, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize(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_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_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_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1___rarg), 3, 0); -return x_2; -} -} -uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_1, 3); -x_4 = lean_ctor_get(x_1, 2); -x_5 = lean_array_get_size(x_4); -x_6 = lean_nat_dec_lt(x_3, x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; -x_8 = lean_array_fget(x_4, x_3); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_unbox(x_9); -lean_dec(x_9); -x_11 = l_Lean_BinderInfo_isExplicit(x_10); -return x_11; -} -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_1, 3); -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_13, 3); -x_15 = lean_nat_dec_le(x_14, x_12); -return x_15; -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_instInhabitedName; -x_2 = l_Lean_instInhabitedBinderInfo; -x_3 = lean_box(x_2); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -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_3 = lean_ctor_get(x_1, 2); -x_4 = lean_ctor_get(x_1, 3); -x_5 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; -x_6 = lean_array_get(x_5, x_3, x_4); -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_add(x_4, x_7); -lean_dec(x_4); -lean_ctor_set(x_1, 3, x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_6); -lean_ctor_set(x_9, 1, x_1); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); -x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*7 + 1); -x_14 = lean_ctor_get(x_1, 2); -x_15 = lean_ctor_get(x_1, 3); -x_16 = lean_ctor_get(x_1, 4); -x_17 = lean_ctor_get(x_1, 5); -x_18 = lean_ctor_get(x_1, 6); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_1); -x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; -x_20 = lean_array_get(x_19, x_14, x_15); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_15, x_21); -lean_dec(x_15); -x_23 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_23, 0, x_10); -lean_ctor_set(x_23, 1, x_11); -lean_ctor_set(x_23, 2, x_14); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_16); -lean_ctor_set(x_23, 5, x_17); -lean_ctor_set(x_23, 6, x_18); -lean_ctor_set_uint8(x_23, sizeof(void*)*7, x_12); -lean_ctor_set_uint8(x_23, sizeof(void*)*7 + 1, x_13); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_14; -} -else -{ -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; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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; 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; uint8_t x_25; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_take(x_4, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_box(0); -lean_inc(x_1); -x_19 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_17, x_1, x_18); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_1); -x_22 = lean_array_push(x_20, x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_st_ref_set(x_4, x_23, x_16); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set(x_24, 0, x_2); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_2); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern, variable '"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' occurred more than once"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_4, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_NameSet_contains(x_17, x_1); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_box(0); -x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__1(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -lean_dec(x_2); -x_21 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_21, 0, x_1); -x_22 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -return x_26; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_26); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern variable, must be atomic"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_Syntax_getId(x_1); -lean_inc(x_11); -x_12 = lean_erase_macro_scopes(x_11); -x_13 = l_Lean_Name_isAtomic(x_12); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_dec(x_11); -lean_dec(x_1); -x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2; -x_15 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -return x_15; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_15); -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; -} -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(x_11, x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_21; -} -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("identifier expected"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(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_Lean_Syntax_isIdent(x_1); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; -x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_1, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -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(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_18; -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_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_12; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__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); -lean_dec(x_2); -return x_11; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_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 0: -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_4); -lean_dec(x_3); -x_5 = lean_box(0); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -case 1: -{ -lean_object* x_7; lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_10 = lean_box_uint64(x_9); -x_11 = lean_apply_3(x_3, x_7, x_8, x_10); -return x_11; -} -default: -{ -lean_object* x_12; lean_object* x_13; uint64_t x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_3); -lean_dec(x_2); -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -x_14 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_15 = lean_box_uint64(x_14); -x_16 = lean_apply_3(x_4, x_12, x_13, x_15); -return x_16; -} -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1___rarg), 4, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Name.anonymous"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Name"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("anonymous"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("app"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Name.str"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("str"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(3u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Name.num"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("num"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(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: -{ -switch (lean_obj_tag(x_1)) { -case 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; uint8_t x_16; -x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, 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_Lean_Elab_Term_getMainModule___rarg(x_7, x_14); -x_16 = !lean_is_exclusive(x_15); -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; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; -x_19 = l_Lean_addMacroScope(x_17, x_18, x_13); -x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; -x_21 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; -x_22 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_22, 0, x_10); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_19); -lean_ctor_set(x_22, 3, x_21); -lean_ctor_set(x_15, 0, x_22); -return x_15; -} -else -{ -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; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_15); -x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; -x_26 = l_Lean_addMacroScope(x_23, x_25, x_13); -x_27 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; -x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; -x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_29, 2, x_26); -lean_ctor_set(x_29, 3, 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_24); -return x_30; -} -} -case 1: -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_31 = lean_ctor_get(x_1, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_1, 1); -lean_inc(x_32); -lean_dec(x_1); -x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_41); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_44 = lean_ctor_get(x_42, 0); -x_45 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; -x_46 = l_Lean_addMacroScope(x_44, x_45, x_40); -x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; -x_48 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; -lean_inc(x_37); -x_49 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_49, 0, x_37); -lean_ctor_set(x_49, 1, x_47); -lean_ctor_set(x_49, 2, x_46); -lean_ctor_set(x_49, 3, x_48); -x_50 = lean_box(2); -x_51 = l_Lean_Syntax_mkStrLit(x_32, x_50); -lean_dec(x_32); -x_52 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_37); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_55 = lean_array_push(x_54, x_53); -x_56 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; -x_59 = lean_array_push(x_58, x_34); -x_60 = lean_array_push(x_59, x_51); -x_61 = lean_array_push(x_60, x_57); -x_62 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_65 = lean_array_push(x_64, x_49); -x_66 = lean_array_push(x_65, x_63); -x_67 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_42, 0, x_68); -return x_42; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_69 = lean_ctor_get(x_42, 0); -x_70 = lean_ctor_get(x_42, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_42); -x_71 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; -x_72 = l_Lean_addMacroScope(x_69, x_71, x_40); -x_73 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; -x_74 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; -lean_inc(x_37); -x_75 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_75, 0, x_37); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_75, 2, x_72); -lean_ctor_set(x_75, 3, x_74); -x_76 = lean_box(2); -x_77 = l_Lean_Syntax_mkStrLit(x_32, x_76); -lean_dec(x_32); -x_78 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_37); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_81 = lean_array_push(x_80, x_79); -x_82 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; -x_85 = lean_array_push(x_84, x_34); -x_86 = lean_array_push(x_85, x_77); -x_87 = lean_array_push(x_86, x_83); -x_88 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_91 = lean_array_push(x_90, x_75); -x_92 = lean_array_push(x_91, x_89); -x_93 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_70); -return x_95; -} -} -default: -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_96 = lean_ctor_get(x_1, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_1, 1); -lean_inc(x_97); -lean_dec(x_1); -x_98 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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); -x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_100); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_103); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_106); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_109 = lean_ctor_get(x_107, 0); -x_110 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; -x_111 = l_Lean_addMacroScope(x_109, x_110, x_105); -x_112 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; -x_113 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33; -lean_inc(x_102); -x_114 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_114, 0, x_102); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_113); -x_115 = l_Nat_repr(x_97); -x_116 = l_Lean_numLitKind; -x_117 = lean_box(2); -x_118 = l_Lean_Syntax_mkLit(x_116, x_115, x_117); -x_119 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_102); -lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_122 = lean_array_push(x_121, x_120); -x_123 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; -x_126 = lean_array_push(x_125, x_99); -x_127 = lean_array_push(x_126, x_118); -x_128 = lean_array_push(x_127, x_124); -x_129 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_132 = lean_array_push(x_131, x_114); -x_133 = lean_array_push(x_132, x_130); -x_134 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -lean_ctor_set(x_107, 0, x_135); -return x_107; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_136 = lean_ctor_get(x_107, 0); -x_137 = lean_ctor_get(x_107, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_107); -x_138 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; -x_139 = l_Lean_addMacroScope(x_136, x_138, x_105); -x_140 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; -x_141 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33; -lean_inc(x_102); -x_142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_142, 0, x_102); -lean_ctor_set(x_142, 1, x_140); -lean_ctor_set(x_142, 2, x_139); -lean_ctor_set(x_142, 3, x_141); -x_143 = l_Nat_repr(x_97); -x_144 = l_Lean_numLitKind; -x_145 = lean_box(2); -x_146 = l_Lean_Syntax_mkLit(x_144, x_143, x_145); -x_147 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_102); -lean_ctor_set(x_148, 1, x_147); -x_149 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_150 = lean_array_push(x_149, x_148); -x_151 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; -x_154 = lean_array_push(x_153, x_99); -x_155 = lean_array_push(x_154, x_146); -x_156 = lean_array_push(x_155, x_152); -x_157 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_160 = lean_array_push(x_159, x_142); -x_161 = lean_array_push(x_160, x_158); -x_162 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_137); -return x_164; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___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_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_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_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ill-formed syntax"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(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; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_isNameLit_x3f(x_10); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_2); -return x_14; -} -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(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_8; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(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; -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_isNameLit_x3f(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -lean_dec(x_10); -x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(0); -lean_inc(x_6); -lean_inc(x_2); -x_15 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(x_10, x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); -lean_dec(x_6); -lean_dec(x_2); -return x_18; -} -else -{ -uint8_t x_19; -lean_dec(x_6); -lean_dec(x_2); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 0); -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_15); -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___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_ctor_get(x_4, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_4, 1); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_apply_4(x_2, x_5, x_6, x_7, x_8); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -lean_dec(x_2); -x_5 = lean_box(0); -x_6 = lean_apply_1(x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_4); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -lean_dec(x_1); -if (lean_obj_tag(x_7) == 6) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_apply_1(x_2, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_7); -return x_10; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___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); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_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_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_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_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_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_object* x_8; -lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_apply_2(x_3, x_6, x_7); -return x_8; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_box(x_1); -switch (lean_obj_tag(x_5)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -case 3: -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_box(0); -x_9 = lean_apply_1(x_3, x_8); -return x_9; -} -default: -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_box(x_1); -x_11 = lean_apply_1(x_4, x_10); -return x_11; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -lean_dec(x_1); -x_6 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(x_5, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 6) -{ -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_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_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_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 4) -{ -lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -x_8 = lean_ctor_get_uint64(x_5, sizeof(void*)*2); -lean_dec(x_5); -x_9 = lean_box_uint64(x_8); -x_10 = lean_apply_3(x_2, x_6, x_7, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_5); -lean_dec(x_2); -x_11 = lean_apply_1(x_3, x_1); -return x_11; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = 1; -lean_inc(x_7); -lean_inc(x_3); -x_11 = l_Lean_Elab_Term_expandApp(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_ctor_get(x_12, 0); -lean_inc(x_16); -lean_dec(x_12); -x_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -x_21 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_16, x_17, x_18, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -return x_21; -} -else -{ -uint8_t x_22; -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_22 = !lean_is_exclusive(x_11); -if (x_22 == 0) -{ -return x_11; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_11, 0); -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_11); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -static lean_object* _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown constant '"); -return x_1; -} -} -static lean_object* _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("'"); -return x_1; -} -} -static lean_object* _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { -_start: -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -lean_inc(x_1); -x_15 = lean_environment_find(x_14, x_1); -if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; -lean_free_object(x_10); -x_16 = lean_box(0); -x_17 = l_Lean_mkConst(x_1, x_16); -x_18 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -return x_23; -} -else -{ -lean_object* x_24; -lean_dec(x_1); -x_24 = lean_ctor_get(x_15, 0); -lean_inc(x_24); -lean_dec(x_15); -lean_ctor_set(x_10, 0, x_24); -return x_10; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_10, 0); -x_26 = lean_ctor_get(x_10, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_10); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_1); -x_28 = lean_environment_find(x_27, x_1); -if (lean_obj_tag(x_28) == 0) -{ -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; -x_29 = lean_box(0); -x_30 = l_Lean_mkConst(x_1, x_29); -x_31 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_1); -x_37 = lean_ctor_get(x_28, 0); -lean_inc(x_37); -lean_dec(x_28); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_26); -return x_38; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3(size_t x_1, size_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: -{ -uint8_t x_12; -x_12 = x_2 < x_1; -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -x_13 = x_3; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_uset(x_3, x_2, x_16); -x_18 = x_15; -lean_inc(x_7); -x_19 = l_Lean_Meta_getFVarLocalDecl(x_18, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_LocalDecl_userName(x_20); -x_23 = l_Lean_LocalDecl_binderInfo(x_20); -lean_dec(x_20); -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_24); -x_26 = 1; -x_27 = x_2 + x_26; -x_28 = x_25; -x_29 = lean_array_uset(x_17, x_2, x_28); -x_2 = x_27; -x_3 = x_29; -x_11 = x_21; -goto _start; -} -else -{ -uint8_t x_31; -lean_dec(x_17); -lean_dec(x_7); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -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; -} -} -} -} -} -lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg), 10, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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; size_t 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; -x_11 = lean_array_get_size(x_1); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = x_1; -x_14 = lean_box_usize(x_12); -x_15 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1; -x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3___boxed), 11, 3); -lean_closure_set(x_16, 0, x_14); -lean_closure_set(x_16, 1, x_15); -lean_closure_set(x_16, 2, x_13); -x_17 = x_16; -x_18 = lean_apply_8(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_18; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("pattern"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed), 10, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(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, 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; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 1); -lean_inc(x_14); -lean_dec(x_4); -x_15 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; -x_16 = 1; -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_13); -x_17 = l_Lean_Elab_Term_resolveId_x3f(x_13, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_20; -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_18, 0); -if (lean_obj_tag(x_22) == 4) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_24); -x_25 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_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_Lean_ConstantInfo_type(x_26); -x_29 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_30 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(x_28, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -if (lean_obj_tag(x_30) == 0) -{ -if (lean_obj_tag(x_26) == 6) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; -lean_dec(x_24); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_26, 0); -lean_inc(x_33); -lean_dec(x_26); -lean_ctor_set(x_18, 0, x_33); -x_34 = lean_unsigned_to_nat(0u); -x_35 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_36 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_36, 0, x_13); -lean_ctor_set(x_36, 1, x_18); -lean_ctor_set(x_36, 2, x_31); -lean_ctor_set(x_36, 3, x_34); -lean_ctor_set(x_36, 4, x_2); -lean_ctor_set(x_36, 5, x_3); -lean_ctor_set(x_36, 6, x_35); -x_37 = lean_unbox(x_14); -lean_dec(x_14); -lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_37); -lean_ctor_set_uint8(x_36, sizeof(void*)*7 + 1, x_1); -x_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_26); -lean_free_object(x_18); -x_39 = lean_ctor_get(x_30, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_30, 1); -lean_inc(x_40); -lean_dec(x_30); -x_41 = lean_st_ref_get(x_11, x_40); -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 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_matchPatternAttr; -x_46 = l_Lean_TagAttribute_hasTag(x_45, x_44, x_24); -lean_dec(x_24); -lean_dec(x_44); -if (x_46 == 0) -{ -lean_object* x_47; -lean_dec(x_39); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; -x_48 = lean_box(0); -x_49 = lean_unsigned_to_nat(0u); -x_50 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_51 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_51, 0, x_13); -lean_ctor_set(x_51, 1, x_48); -lean_ctor_set(x_51, 2, x_39); -lean_ctor_set(x_51, 3, x_49); -lean_ctor_set(x_51, 4, x_2); -lean_ctor_set(x_51, 5, x_3); -lean_ctor_set(x_51, 6, x_50); -x_52 = lean_unbox(x_14); -lean_dec(x_14); -lean_ctor_set_uint8(x_51, sizeof(void*)*7, x_52); -lean_ctor_set_uint8(x_51, sizeof(void*)*7 + 1, x_1); -x_53 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -return x_53; -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_26); -lean_dec(x_24); -lean_free_object(x_18); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_54 = !lean_is_exclusive(x_30); -if (x_54 == 0) -{ -return x_30; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_30, 0); -x_56 = lean_ctor_get(x_30, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_30); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_24); -lean_free_object(x_18); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_58 = !lean_is_exclusive(x_25); -if (x_58 == 0) -{ -return x_25; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_25, 0); -x_60 = lean_ctor_get(x_25, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_25); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; -lean_free_object(x_18); -lean_dec(x_22); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_62 = lean_ctor_get(x_17, 1); -lean_inc(x_62); -lean_dec(x_17); -x_63 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_63; -} -} -else -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_18, 0); -lean_inc(x_64); -lean_dec(x_18); -if (lean_obj_tag(x_64) == 4) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_17, 1); -lean_inc(x_65); -lean_dec(x_17); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -lean_inc(x_66); -x_67 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_66, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_ConstantInfo_type(x_68); -x_71 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_72 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(x_70, x_71, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); -if (lean_obj_tag(x_72) == 0) -{ -if (lean_obj_tag(x_68) == 6) -{ -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; uint8_t x_80; lean_object* x_81; -lean_dec(x_66); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_68, 0); -lean_inc(x_75); -lean_dec(x_68); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_77 = lean_unsigned_to_nat(0u); -x_78 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_79 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_79, 0, x_13); -lean_ctor_set(x_79, 1, x_76); -lean_ctor_set(x_79, 2, x_73); -lean_ctor_set(x_79, 3, x_77); -lean_ctor_set(x_79, 4, x_2); -lean_ctor_set(x_79, 5, x_3); -lean_ctor_set(x_79, 6, x_78); -x_80 = lean_unbox(x_14); -lean_dec(x_14); -lean_ctor_set_uint8(x_79, sizeof(void*)*7, x_80); -lean_ctor_set_uint8(x_79, sizeof(void*)*7 + 1, x_1); -x_81 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_79, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -lean_dec(x_68); -x_82 = lean_ctor_get(x_72, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_72, 1); -lean_inc(x_83); -lean_dec(x_72); -x_84 = lean_st_ref_get(x_11, x_83); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_85, 0); -lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_matchPatternAttr; -x_89 = l_Lean_TagAttribute_hasTag(x_88, x_87, x_66); -lean_dec(x_66); -lean_dec(x_87); -if (x_89 == 0) -{ -lean_object* x_90; -lean_dec(x_82); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_90 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; -x_91 = lean_box(0); -x_92 = lean_unsigned_to_nat(0u); -x_93 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_94 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_94, 0, x_13); -lean_ctor_set(x_94, 1, x_91); -lean_ctor_set(x_94, 2, x_82); -lean_ctor_set(x_94, 3, x_92); -lean_ctor_set(x_94, 4, x_2); -lean_ctor_set(x_94, 5, x_3); -lean_ctor_set(x_94, 6, x_93); -x_95 = lean_unbox(x_14); -lean_dec(x_14); -lean_ctor_set_uint8(x_94, sizeof(void*)*7, x_95); -lean_ctor_set_uint8(x_94, sizeof(void*)*7 + 1, x_1); -x_96 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); -return x_96; -} -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_68); -lean_dec(x_66); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_97 = lean_ctor_get(x_72, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_72, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_99 = x_72; -} else { - lean_dec_ref(x_72); - 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_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_66); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_101 = lean_ctor_get(x_67, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_67, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_103 = x_67; -} else { - lean_dec_ref(x_67); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(1, 2, 0); -} else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_102); -return x_104; -} -} -else -{ -lean_object* x_105; lean_object* x_106; -lean_dec(x_64); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_105 = lean_ctor_get(x_17, 1); -lean_inc(x_105); -lean_dec(x_17); -x_106 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_105); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_106; -} -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_107 = !lean_is_exclusive(x_17); -if (x_107 == 0) -{ -return x_17; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_17, 0); -x_109 = lean_ctor_get(x_17, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_17); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; uint8_t x_15; -x_13 = lean_array_to_list(lean_box(0), x_3); -x_14 = l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__2; -lean_inc(x_1); -x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__4; -lean_inc(x_1); -x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); -lean_dec(x_5); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -return x_19; -} -else -{ -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_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_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_unsigned_to_nat(1u); -x_25 = l_Lean_Syntax_getArg(x_1, x_24); -lean_dec(x_1); -lean_inc(x_25); -x_26 = l_Lean_Syntax_isOfKind(x_25, x_14); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_dec(x_25); -lean_dec(x_13); -lean_dec(x_2); -x_27 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; -x_28 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); -lean_dec(x_5); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -return x_28; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -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_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = 1; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_25); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_4, x_2, x_13, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_36; -} -} -} -else -{ -uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = 0; -x_38 = lean_box(x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_4, x_2, x_13, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_40; -} -} -} -uint8_t l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 1); -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_name_eq(x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(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_Match_0__Lean_Elab_Term_CollectPatternVars_isDone(x_1); -if (x_10 == 0) -{ -uint8_t 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; uint8_t 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; -x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(x_1); -x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam(x_1); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -x_17 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); -x_18 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 1); -x_19 = lean_ctor_get(x_13, 2); -lean_inc(x_19); -x_20 = lean_ctor_get(x_13, 3); -lean_inc(x_20); -x_21 = lean_ctor_get(x_13, 4); -lean_inc(x_21); -x_22 = lean_ctor_get(x_13, 5); -lean_inc(x_22); -x_23 = lean_ctor_get(x_13, 6); -lean_inc(x_23); -lean_inc(x_14); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed), 2, 1); -lean_closure_set(x_24, 0, x_14); -x_25 = lean_array_get_size(x_21); -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Array_findIdx_x3f_loop___rarg(x_21, x_24, x_25, x_26, lean_box(0)); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); -x_28 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1; -x_29 = lean_ctor_get(x_14, 1); -lean_inc(x_29); -lean_dec(x_14); -switch (lean_obj_tag(x_29)) { -case 1: -{ -lean_object* x_30; -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_30 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_apply_9(x_28, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_32); -return x_33; -} -else -{ -uint8_t x_34; -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_34 = !lean_is_exclusive(x_30); -if (x_34 == 0) -{ -return x_30; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_30, 0); -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_30); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -case 3: -{ -lean_object* x_38; -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_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_38) == 0) -{ -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); -lean_dec(x_38); -x_41 = lean_apply_9(x_28, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -return x_41; -} -else -{ -uint8_t x_42; -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_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) -{ -return x_38; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -default: -{ -lean_object* x_46; -lean_dec(x_29); -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_46 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -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_apply_9(x_28, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -return x_49; -} -else -{ -uint8_t x_50; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) -{ -return x_46; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_14); -x_54 = !lean_is_exclusive(x_13); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_55 = lean_ctor_get(x_13, 6); -lean_dec(x_55); -x_56 = lean_ctor_get(x_13, 5); -lean_dec(x_56); -x_57 = lean_ctor_get(x_13, 4); -lean_dec(x_57); -x_58 = lean_ctor_get(x_13, 3); -lean_dec(x_58); -x_59 = lean_ctor_get(x_13, 2); -lean_dec(x_59); -x_60 = lean_ctor_get(x_13, 1); -lean_dec(x_60); -x_61 = lean_ctor_get(x_13, 0); -lean_dec(x_61); -x_62 = lean_ctor_get(x_27, 0); -lean_inc(x_62); -lean_dec(x_27); -x_63 = l_Lean_Elab_Term_instInhabitedNamedArg; -x_64 = lean_array_get(x_63, x_21, x_62); -x_65 = l_Array_eraseIdx___rarg(x_21, x_62); -lean_dec(x_62); -lean_ctor_set(x_13, 4, x_65); -x_66 = lean_ctor_get(x_64, 2); -lean_inc(x_66); -lean_dec(x_64); -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_67 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_11, x_13, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_1 = x_68; -x_9 = x_69; -goto _start; -} -else -{ -uint8_t x_71; -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_71 = !lean_is_exclusive(x_67); -if (x_71 == 0) -{ -return x_67; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_67, 0); -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_67); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_13); -x_75 = lean_ctor_get(x_27, 0); -lean_inc(x_75); -lean_dec(x_27); -x_76 = l_Lean_Elab_Term_instInhabitedNamedArg; -x_77 = lean_array_get(x_76, x_21, x_75); -x_78 = l_Array_eraseIdx___rarg(x_21, x_75); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_79, 0, x_15); -lean_ctor_set(x_79, 1, x_16); -lean_ctor_set(x_79, 2, x_19); -lean_ctor_set(x_79, 3, x_20); -lean_ctor_set(x_79, 4, x_78); -lean_ctor_set(x_79, 5, x_22); -lean_ctor_set(x_79, 6, x_23); -lean_ctor_set_uint8(x_79, sizeof(void*)*7, x_17); -lean_ctor_set_uint8(x_79, sizeof(void*)*7 + 1, x_18); -x_80 = lean_ctor_get(x_77, 2); -lean_inc(x_80); -lean_dec(x_77); -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_81 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_11, x_79, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_1 = x_82; -x_9 = x_83; -goto _start; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -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_85 = lean_ctor_get(x_81, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_81, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_87 = x_81; -} else { - lean_dec_ref(x_81); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -} -} -else -{ -lean_object* x_89; -x_89 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize(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_89; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 < x_1; -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = x_3; -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; -x_6 = lean_array_uget(x_3, x_2); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = x_6; -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = 1; -x_12 = x_2 + x_11; -x_13 = x_10; -x_14 = lean_array_uset(x_8, x_2, x_13); -x_2 = x_12; -x_3 = x_14; -goto _start; -} -} -} -lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_6, 0, x_4); -x_7 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); -return x_1; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_1); -x_10 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_10, 0, x_8); -x_11 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("explicit parameter is missing, unused named arguments "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_2, 5); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; size_t x_15; size_t 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; -x_13 = lean_ctor_get(x_2, 4); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_array_get_size(x_13); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = 0; -x_17 = x_13; -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(x_15, x_16, x_17); -x_19 = x_18; -x_20 = lean_array_to_list(lean_box(0), x_19); -x_21 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_20); -x_22 = l_Lean_MessageData_ofList(x_21); -lean_dec(x_21); -x_23 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__3(x_26, 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_27; -} -else -{ -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; -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_8, x_9, x_10); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_32); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_29); -lean_ctor_set(x_36, 1, x_35); -x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_38 = lean_array_push(x_37, x_36); -x_39 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -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_alloc_ctor(0, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34); -return x_42; -} -} -else -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_2); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_2, 5); -lean_dec(x_44); -x_45 = lean_ctor_get(x_11, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_11, 1); -lean_inc(x_46); -lean_dec(x_11); -lean_ctor_set(x_2, 5, x_46); -x_47 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t 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_48 = lean_ctor_get(x_2, 0); -x_49 = lean_ctor_get(x_2, 1); -x_50 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -x_51 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1); -x_52 = lean_ctor_get(x_2, 2); -x_53 = lean_ctor_get(x_2, 3); -x_54 = lean_ctor_get(x_2, 4); -x_55 = lean_ctor_get(x_2, 6); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_2); -x_56 = lean_ctor_get(x_11, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_11, 1); -lean_inc(x_57); -lean_dec(x_11); -x_58 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_58, 0, x_48); -lean_ctor_set(x_58, 1, x_49); -lean_ctor_set(x_58, 2, x_52); -lean_ctor_set(x_58, 3, x_53); -lean_ctor_set(x_58, 4, x_54); -lean_ctor_set(x_58, 5, x_57); -lean_ctor_set(x_58, 6, x_55); -lean_ctor_set_uint8(x_58, sizeof(void*)*7, x_50); -lean_ctor_set_uint8(x_58, sizeof(void*)*7 + 1, x_51); -x_59 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_58, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_59; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_1, 6); -x_13 = lean_array_push(x_12, x_2); -lean_ctor_set(x_1, 6, x_13); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_1); -lean_ctor_set(x_14, 1, x_10); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t 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; -x_15 = lean_ctor_get(x_1, 0); -x_16 = lean_ctor_get(x_1, 1); -x_17 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); -x_18 = lean_ctor_get_uint8(x_1, sizeof(void*)*7 + 1); -x_19 = lean_ctor_get(x_1, 2); -x_20 = lean_ctor_get(x_1, 3); -x_21 = lean_ctor_get(x_1, 4); -x_22 = lean_ctor_get(x_1, 5); -x_23 = lean_ctor_get(x_1, 6); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_1); -x_24 = lean_array_push(x_23, x_2); -x_25 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_25, 0, x_15); -lean_ctor_set(x_25, 1, x_16); -lean_ctor_set(x_25, 2, x_19); -lean_ctor_set(x_25, 3, x_20); -lean_ctor_set(x_25, 4, x_21); -lean_ctor_set(x_25, 5, x_22); -lean_ctor_set(x_25, 6, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*7, x_17); -lean_ctor_set_uint8(x_25, sizeof(void*)*7 + 1, x_18); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_10); -return x_26; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMonadTermElabM; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1; -x_2 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext; -x_3 = l_instInhabited___rarg(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Match"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Term.CollectPatternVars.collect.pushNewArg"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unreachable code has been reached"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4; -x_3 = lean_unsigned_to_nat(452u); -x_4 = lean_unsigned_to_nat(11u); -x_5 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -if (x_1 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_3, 0); -lean_inc(x_12); -lean_dec(x_3); -x_13 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_2, x_12, 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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -lean_dec(x_3); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_15 = l_Lean_Elab_Term_CollectPatternVars_collect(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -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 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_18; -} -else -{ -uint8_t x_19; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 0); -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_15); -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; -} -} -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_3); -lean_dec(x_2); -x_23 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2; -x_24 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6; -x_25 = lean_panic_fn(x_23, x_24); -x_26 = lean_apply_8(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_26; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_1; -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_13 = x_3; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_uset(x_3, x_2, x_16); -x_18 = x_15; -x_19 = l_Lean_Syntax_getArg(x_18, x_16); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(2u); -x_21 = l_Lean_Syntax_getArg(x_19, x_20); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_22 = l_Lean_Elab_Term_CollectPatternVars_collect(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Syntax_setArg(x_19, x_20, x_23); -lean_inc(x_25); -x_26 = l_Lean_Syntax_setArg(x_25, x_16, x_25); -x_27 = 1; -x_28 = x_2 + x_27; -x_29 = x_26; -x_30 = lean_array_uset(x_17, x_2, x_29); -x_2 = x_28; -x_3 = x_30; -x_11 = x_24; -goto _start; -} -else -{ -uint8_t x_32; -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -return x_22; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_22, 0); -x_34 = lean_ctor_get(x_22, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_22); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -} -lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_array_get_size(x_1); -x_14 = lean_nat_dec_lt(x_3, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_12); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_array_fget(x_1, x_3); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_nat_mod(x_3, x_17); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_nat_dec_eq(x_18, x_19); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_3, x_21); -lean_dec(x_3); -x_23 = lean_array_push(x_4, x_16); -x_3 = x_22; -x_4 = x_23; -goto _start; -} -else -{ -lean_object* x_25; -lean_inc(x_2); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_25 = lean_apply_9(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_3, x_28); -lean_dec(x_3); -x_30 = lean_array_push(x_4, x_26); -x_3 = x_29; -x_4 = x_30; -x_12 = x_27; -goto _start; -} -else -{ -uint8_t x_32; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) -{ -return x_25; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 0); -x_34 = lean_ctor_get(x_25, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_25); -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_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_13 = l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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; size_t 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; -x_11 = lean_unsigned_to_nat(2u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArgs(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_13); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = x_13; -x_17 = lean_box_usize(x_15); -x_18 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1; -x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1___boxed), 11, 3); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -lean_closure_set(x_19, 2, x_16); -x_20 = x_19; -x_21 = lean_apply_8(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_21, 0); -x_24 = l_Lean_nullKind; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_Syntax_setArg(x_1, x_11, x_25); -lean_ctor_set(x_21, 0, x_26); -return x_21; -} -else -{ -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_27 = lean_ctor_get(x_21, 0); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_21); -x_29 = l_Lean_nullKind; -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_27); -x_31 = l_Lean_Syntax_setArg(x_1, x_11, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_28); -return x_32; -} -} -else -{ -uint8_t x_33; -lean_dec(x_1); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("anonymousCtor"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structInst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("paren"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("explicitUniv"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("namedPattern"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("binop"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("quotedName"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doubleQuotedName"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__15; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern, notation is ambiguous"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_root_.namedPattern"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__20; -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_Lean_Elab_Term_CollectPatternVars_collect___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_root_"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__25; -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_Elab_Term_CollectPatternVars_collect___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__26; -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_Lean_Elab_Term_CollectPatternVars_collect___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeAscription"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid struct instance pattern, 'with' is not allowed in patterns"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__30; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(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; uint8_t x_12; uint8_t x_13; -lean_inc(x_1); -x_10 = l_Lean_Syntax_getKind(x_1); -x_11 = l_Lean_identKind; -x_12 = lean_name_eq(x_10, x_11); -x_13 = !lean_is_exclusive(x_7); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_7, 3); -x_15 = l_Lean_replaceRef(x_1, x_14); -lean_dec(x_14); -lean_ctor_set(x_7, 3, x_15); -x_16 = lean_st_ref_take(x_8, x_9); -if (x_12 == 0) -{ -lean_object* x_854; lean_object* x_855; uint8_t x_856; -x_854 = lean_ctor_get(x_16, 0); -lean_inc(x_854); -x_855 = lean_ctor_get(x_16, 1); -lean_inc(x_855); -lean_dec(x_16); -x_856 = 0; -x_17 = x_856; -x_18 = x_854; -x_19 = x_855; -goto block_853; -} -else -{ -lean_object* x_857; lean_object* x_858; uint8_t x_859; -x_857 = lean_ctor_get(x_16, 0); -lean_inc(x_857); -x_858 = lean_ctor_get(x_16, 1); -lean_inc(x_858); -lean_dec(x_16); -x_859 = 1; -x_17 = x_859; -x_18 = x_857; -x_19 = x_858; -goto block_853; -} -block_853: -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_18, 1); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_21, x_22); -lean_ctor_set(x_18, 1, x_23); -x_24 = lean_st_ref_set(x_8, x_18, x_19); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_24, 1); -x_27 = lean_ctor_get(x_24, 0); -lean_dec(x_27); -x_28 = !lean_is_exclusive(x_3); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_3, 4); -lean_dec(x_29); -lean_ctor_set(x_3, 4, x_21); -if (x_17 == 0) -{ -lean_object* x_30; uint8_t x_31; -x_30 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_31 = lean_name_eq(x_10, x_30); -if (x_31 == 0) -{ -lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; -x_33 = lean_name_eq(x_10, x_32); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -x_35 = lean_name_eq(x_10, x_34); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_37 = lean_name_eq(x_10, x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -x_39 = lean_name_eq(x_10, x_38); -if (x_39 == 0) -{ -lean_object* x_40; uint8_t x_41; -x_40 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; -x_41 = lean_name_eq(x_10, x_40); -if (x_41 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; -x_43 = lean_name_eq(x_10, x_42); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; -x_45 = lean_name_eq(x_10, x_44); -if (x_45 == 0) -{ -lean_object* x_46; uint8_t x_47; -x_46 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_47 = lean_name_eq(x_10, x_46); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_strLitKind; -x_49 = lean_name_eq(x_10, x_48); -if (x_49 == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = l_Lean_numLitKind; -x_51 = lean_name_eq(x_10, x_50); -if (x_51 == 0) -{ -lean_object* x_52; uint8_t x_53; -x_52 = l_Lean_scientificLitKind; -x_53 = lean_name_eq(x_10, x_52); -if (x_53 == 0) -{ -lean_object* x_54; uint8_t x_55; -x_54 = l_Lean_charLitKind; -x_55 = lean_name_eq(x_10, x_54); -if (x_55 == 0) -{ -lean_object* x_56; uint8_t x_57; -lean_free_object(x_24); -x_56 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; -x_57 = lean_name_eq(x_10, x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -x_59 = lean_name_eq(x_10, x_58); -if (x_59 == 0) -{ -lean_object* x_60; uint8_t x_61; -lean_dec(x_1); -x_60 = l_Lean_choiceKind; -x_61 = lean_name_eq(x_10, x_60); -lean_dec(x_10); -if (x_61 == 0) -{ -lean_object* x_62; -x_62 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -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_62; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; -x_64 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -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_64; -} -} -else -{ -lean_object* x_65; -lean_dec(x_10); -lean_dec(x_2); -x_65 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_65; -} -} -else -{ -lean_object* x_66; -lean_dec(x_10); -lean_dec(x_2); -x_66 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_66; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_free_object(x_24); -lean_dec(x_10); -x_67 = lean_unsigned_to_nat(2u); -x_68 = l_Lean_Syntax_getArg(x_1, x_67); -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_69 = l_Lean_Elab_Term_CollectPatternVars_collect(x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_unsigned_to_nat(3u); -x_73 = l_Lean_Syntax_getArg(x_1, x_72); -x_74 = l_Lean_Elab_Term_CollectPatternVars_collect(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -if (lean_obj_tag(x_74) == 0) -{ -uint8_t x_75; -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_74, 0); -x_77 = l_Lean_Syntax_setArg(x_1, x_67, x_70); -x_78 = l_Lean_Syntax_setArg(x_77, x_72, x_76); -lean_ctor_set(x_74, 0, x_78); -return x_74; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_79 = lean_ctor_get(x_74, 0); -x_80 = lean_ctor_get(x_74, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_74); -x_81 = l_Lean_Syntax_setArg(x_1, x_67, x_70); -x_82 = l_Lean_Syntax_setArg(x_81, x_72, x_79); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; -} -} -else -{ -uint8_t x_84; -lean_dec(x_70); -lean_dec(x_1); -x_84 = !lean_is_exclusive(x_74); -if (x_84 == 0) -{ -return x_74; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_74, 0); -x_86 = lean_ctor_get(x_74, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_74); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; -} -} -} -else -{ -uint8_t x_88; -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_88 = !lean_is_exclusive(x_69); -if (x_88 == 0) -{ -return x_69; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_69, 0); -x_90 = lean_ctor_get(x_69, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_69); -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; -} -} -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_free_object(x_24); -lean_dec(x_10); -x_92 = lean_unsigned_to_nat(0u); -x_93 = l_Lean_Syntax_getArg(x_1, x_92); -lean_inc(x_7); -lean_inc(x_93); -x_94 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_96 = lean_unsigned_to_nat(2u); -x_97 = l_Lean_Syntax_getArg(x_1, x_96); -lean_dec(x_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_98 = l_Lean_Elab_Term_CollectPatternVars_collect(x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_95); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -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); -x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_100); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_103); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_106); -lean_dec(x_8); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_109 = lean_ctor_get(x_107, 0); -x_110 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_111 = l_Lean_addMacroScope(x_109, x_110, x_105); -x_112 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_113 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_114 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_114, 0, x_102); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_113); -x_115 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_116 = lean_array_push(x_115, x_93); -x_117 = lean_array_push(x_116, x_99); -x_118 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = lean_array_push(x_115, x_114); -x_121 = lean_array_push(x_120, x_119); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_30); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_107, 0, x_122); -return x_107; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_123 = lean_ctor_get(x_107, 0); -x_124 = lean_ctor_get(x_107, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_107); -x_125 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_126 = l_Lean_addMacroScope(x_123, x_125, x_105); -x_127 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_128 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_129 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_129, 0, x_102); -lean_ctor_set(x_129, 1, x_127); -lean_ctor_set(x_129, 2, x_126); -lean_ctor_set(x_129, 3, x_128); -x_130 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_131 = lean_array_push(x_130, x_93); -x_132 = lean_array_push(x_131, x_99); -x_133 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -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_130, x_129); -x_136 = lean_array_push(x_135, x_134); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_30); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_124); -return x_138; -} -} -else -{ -uint8_t x_139; -lean_dec(x_93); -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_139 = !lean_is_exclusive(x_98); -if (x_139 == 0) -{ -return x_98; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_98, 0); -x_141 = lean_ctor_get(x_98, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_98); -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_143; -lean_dec(x_93); -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_143 = !lean_is_exclusive(x_94); -if (x_143 == 0) -{ -return x_94; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_94, 0); -x_145 = lean_ctor_get(x_94, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_94); -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; -} -} -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; -lean_free_object(x_24); -lean_dec(x_10); -x_147 = lean_unsigned_to_nat(0u); -x_148 = l_Lean_Syntax_getArg(x_1, x_147); -lean_dec(x_1); -x_149 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_148, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_149; -} -} -else -{ -lean_object* x_150; uint8_t x_151; -lean_dec(x_10); -x_150 = l_Lean_Syntax_getArg(x_1, x_22); -x_151 = l_Lean_Syntax_isNone(x_150); -if (x_151 == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_152 = lean_unsigned_to_nat(0u); -x_153 = l_Lean_Syntax_getArg(x_150, x_152); -x_154 = l_Lean_Syntax_getArg(x_150, x_22); -x_155 = l_Lean_Syntax_isNone(x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; -x_156 = l_Lean_Syntax_getArg(x_154, x_152); -lean_dec(x_154); -x_157 = l_Lean_Syntax_getKind(x_156); -x_158 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; -x_159 = lean_name_eq(x_157, x_158); -lean_dec(x_157); -if (x_159 == 0) -{ -lean_dec(x_153); -lean_dec(x_150); -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -else -{ -lean_object* x_160; -lean_free_object(x_24); -x_160 = l_Lean_Elab_Term_CollectPatternVars_collect(x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_160) == 0) -{ -uint8_t x_161; -x_161 = !lean_is_exclusive(x_160); -if (x_161 == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_160, 0); -x_163 = l_Lean_Syntax_setArg(x_150, x_152, x_162); -x_164 = l_Lean_Syntax_setArg(x_1, x_22, x_163); -lean_ctor_set(x_160, 0, x_164); -return x_160; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_165 = lean_ctor_get(x_160, 0); -x_166 = lean_ctor_get(x_160, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_160); -x_167 = l_Lean_Syntax_setArg(x_150, x_152, x_165); -x_168 = l_Lean_Syntax_setArg(x_1, x_22, x_167); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_166); -return x_169; -} -} -else -{ -uint8_t x_170; -lean_dec(x_150); -lean_dec(x_1); -x_170 = !lean_is_exclusive(x_160); -if (x_170 == 0) -{ -return x_160; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_160, 0); -x_172 = lean_ctor_get(x_160, 1); -lean_inc(x_172); -lean_inc(x_171); -lean_dec(x_160); -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_dec(x_154); -lean_free_object(x_24); -x_174 = l_Lean_Elab_Term_CollectPatternVars_collect(x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_174) == 0) -{ -uint8_t x_175; -x_175 = !lean_is_exclusive(x_174); -if (x_175 == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_174, 0); -x_177 = l_Lean_Syntax_setArg(x_150, x_152, x_176); -x_178 = l_Lean_Syntax_setArg(x_1, x_22, x_177); -lean_ctor_set(x_174, 0, x_178); -return x_174; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_174, 0); -x_180 = lean_ctor_get(x_174, 1); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_174); -x_181 = l_Lean_Syntax_setArg(x_150, x_152, x_179); -x_182 = l_Lean_Syntax_setArg(x_1, x_22, x_181); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_180); -return x_183; -} -} -else -{ -uint8_t x_184; -lean_dec(x_150); -lean_dec(x_1); -x_184 = !lean_is_exclusive(x_174); -if (x_184 == 0) -{ -return x_174; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_174, 0); -x_186 = lean_ctor_get(x_174, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_174); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; -} -} -} -} -else -{ -lean_dec(x_150); -lean_dec(x_3); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -lean_dec(x_3); -lean_free_object(x_24); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_188 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_8, x_26); -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_st_ref_get(x_8, x_190); -lean_dec(x_8); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_193 = lean_st_ref_take(x_2, x_192); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = !lean_is_exclusive(x_194); -if (x_196 == 0) -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_197 = lean_ctor_get(x_194, 1); -x_198 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_189); -x_199 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_199, 0, x_198); -x_200 = lean_array_push(x_197, x_199); -lean_ctor_set(x_194, 1, x_200); -x_201 = lean_st_ref_set(x_2, x_194, x_195); -lean_dec(x_2); -x_202 = !lean_is_exclusive(x_201); -if (x_202 == 0) -{ -lean_object* x_203; -x_203 = lean_ctor_get(x_201, 0); -lean_dec(x_203); -lean_ctor_set(x_201, 0, x_189); -return x_201; -} -else -{ -lean_object* x_204; lean_object* x_205; -x_204 = lean_ctor_get(x_201, 1); -lean_inc(x_204); -lean_dec(x_201); -x_205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_205, 0, x_189); -lean_ctor_set(x_205, 1, x_204); -return x_205; -} -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_206 = lean_ctor_get(x_194, 0); -x_207 = lean_ctor_get(x_194, 1); -lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_194); -x_208 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_189); -x_209 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_209, 0, x_208); -x_210 = lean_array_push(x_207, x_209); -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_206); -lean_ctor_set(x_211, 1, x_210); -x_212 = lean_st_ref_set(x_2, x_211, x_195); -lean_dec(x_2); -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - x_214 = x_212; -} else { - lean_dec_ref(x_212); - x_214 = lean_box(0); -} -if (lean_is_scalar(x_214)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_214; -} -lean_ctor_set(x_215, 0, x_189); -lean_ctor_set(x_215, 1, x_213); -return x_215; -} -} -} -else -{ -lean_object* x_216; uint8_t x_217; -lean_free_object(x_24); -lean_dec(x_10); -x_216 = l_Lean_Syntax_getArg(x_1, x_22); -x_217 = l_Lean_Syntax_isNone(x_216); -if (x_217 == 0) -{ -lean_object* x_218; lean_object* x_219; uint8_t x_220; -lean_dec(x_1); -x_218 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; -x_219 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_216, x_218, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_216); -x_220 = !lean_is_exclusive(x_219); -if (x_220 == 0) -{ -return x_219; -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_219, 0); -x_222 = lean_ctor_get(x_219, 1); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_219); -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 -{ -lean_object* x_224; lean_object* x_225; -lean_dec(x_216); -x_224 = lean_box(0); -x_225 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_225; -} -} -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -lean_free_object(x_24); -lean_dec(x_10); -x_226 = l_Lean_Syntax_getArg(x_1, x_22); -x_227 = l_Lean_Syntax_getArgs(x_226); -lean_dec(x_226); -x_228 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; -x_229 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_227, x_228, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_227); -if (lean_obj_tag(x_229) == 0) -{ -uint8_t x_230; -x_230 = !lean_is_exclusive(x_229); -if (x_230 == 0) -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_229, 0); -x_232 = l_Lean_nullKind; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = l_Lean_Syntax_setArg(x_1, x_22, x_233); -lean_ctor_set(x_229, 0, x_234); -return x_229; -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_235 = lean_ctor_get(x_229, 0); -x_236 = lean_ctor_get(x_229, 1); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_229); -x_237 = l_Lean_nullKind; -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_235); -x_239 = l_Lean_Syntax_setArg(x_1, x_22, x_238); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_236); -return x_240; -} -} -else -{ -uint8_t x_241; -lean_dec(x_1); -x_241 = !lean_is_exclusive(x_229); -if (x_241 == 0) -{ -return x_229; -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_229, 0); -x_243 = lean_ctor_get(x_229, 1); -lean_inc(x_243); -lean_inc(x_242); -lean_dec(x_229); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_242); -lean_ctor_set(x_244, 1, x_243); -return x_244; -} -} -} -} -else -{ -lean_object* x_245; -lean_free_object(x_24); -lean_dec(x_10); -x_245 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_1); -return x_245; -} -} -else -{ -lean_object* x_246; -lean_free_object(x_24); -lean_dec(x_10); -x_246 = l_Lean_Elab_Term_CollectPatternVars_collect_processId(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_246; -} -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; uint8_t x_252; uint8_t x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; -x_247 = lean_ctor_get(x_3, 0); -x_248 = lean_ctor_get(x_3, 1); -x_249 = lean_ctor_get(x_3, 2); -x_250 = lean_ctor_get(x_3, 3); -x_251 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_252 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_253 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_254 = lean_ctor_get(x_3, 5); -x_255 = lean_ctor_get(x_3, 6); -x_256 = lean_ctor_get(x_3, 7); -x_257 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_inc(x_250); -lean_inc(x_249); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_3); -x_258 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_258, 0, x_247); -lean_ctor_set(x_258, 1, x_248); -lean_ctor_set(x_258, 2, x_249); -lean_ctor_set(x_258, 3, x_250); -lean_ctor_set(x_258, 4, x_21); -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_251); -lean_ctor_set_uint8(x_258, sizeof(void*)*8 + 1, x_252); -lean_ctor_set_uint8(x_258, sizeof(void*)*8 + 2, x_253); -lean_ctor_set_uint8(x_258, sizeof(void*)*8 + 3, x_257); -if (x_17 == 0) -{ -lean_object* x_259; uint8_t x_260; -x_259 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_260 = lean_name_eq(x_10, x_259); -if (x_260 == 0) -{ -lean_object* x_261; uint8_t x_262; -x_261 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; -x_262 = lean_name_eq(x_10, x_261); -if (x_262 == 0) -{ -lean_object* x_263; uint8_t x_264; -x_263 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -x_264 = lean_name_eq(x_10, x_263); -if (x_264 == 0) -{ -lean_object* x_265; uint8_t x_266; -x_265 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_266 = lean_name_eq(x_10, x_265); -if (x_266 == 0) -{ -lean_object* x_267; uint8_t x_268; -x_267 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -x_268 = lean_name_eq(x_10, x_267); -if (x_268 == 0) -{ -lean_object* x_269; uint8_t x_270; -x_269 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; -x_270 = lean_name_eq(x_10, x_269); -if (x_270 == 0) -{ -lean_object* x_271; uint8_t x_272; -x_271 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; -x_272 = lean_name_eq(x_10, x_271); -if (x_272 == 0) -{ -lean_object* x_273; uint8_t x_274; -x_273 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; -x_274 = lean_name_eq(x_10, x_273); -if (x_274 == 0) -{ -lean_object* x_275; uint8_t x_276; -x_275 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_276 = lean_name_eq(x_10, x_275); -if (x_276 == 0) -{ -lean_object* x_277; uint8_t x_278; -x_277 = l_Lean_strLitKind; -x_278 = lean_name_eq(x_10, x_277); -if (x_278 == 0) -{ -lean_object* x_279; uint8_t x_280; -x_279 = l_Lean_numLitKind; -x_280 = lean_name_eq(x_10, x_279); -if (x_280 == 0) -{ -lean_object* x_281; uint8_t x_282; -x_281 = l_Lean_scientificLitKind; -x_282 = lean_name_eq(x_10, x_281); -if (x_282 == 0) -{ -lean_object* x_283; uint8_t x_284; -x_283 = l_Lean_charLitKind; -x_284 = lean_name_eq(x_10, x_283); -if (x_284 == 0) -{ -lean_object* x_285; uint8_t x_286; -lean_free_object(x_24); -x_285 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; -x_286 = lean_name_eq(x_10, x_285); -if (x_286 == 0) -{ -lean_object* x_287; uint8_t x_288; -x_287 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -x_288 = lean_name_eq(x_10, x_287); -if (x_288 == 0) -{ -lean_object* x_289; uint8_t x_290; -lean_dec(x_1); -x_289 = l_Lean_choiceKind; -x_290 = lean_name_eq(x_10, x_289); -lean_dec(x_10); -if (x_290 == 0) -{ -lean_object* x_291; -x_291 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_258); -lean_dec(x_2); -return x_291; -} -else -{ -lean_object* x_292; lean_object* x_293; -x_292 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; -x_293 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_292, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_258); -lean_dec(x_2); -return x_293; -} -} -else -{ -lean_object* x_294; -lean_dec(x_10); -lean_dec(x_2); -x_294 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_294; -} -} -else -{ -lean_object* x_295; -lean_dec(x_10); -lean_dec(x_2); -x_295 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_295; -} -} -else -{ -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; -lean_free_object(x_24); -lean_dec(x_10); -x_296 = lean_unsigned_to_nat(2u); -x_297 = l_Lean_Syntax_getArg(x_1, x_296); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_258); -lean_inc(x_2); -x_298 = l_Lean_Elab_Term_CollectPatternVars_collect(x_297, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_298) == 0) -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_299 = lean_ctor_get(x_298, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_298, 1); -lean_inc(x_300); -lean_dec(x_298); -x_301 = lean_unsigned_to_nat(3u); -x_302 = l_Lean_Syntax_getArg(x_1, x_301); -x_303 = l_Lean_Elab_Term_CollectPatternVars_collect(x_302, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_300); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_306 = x_303; -} else { - lean_dec_ref(x_303); - x_306 = lean_box(0); -} -x_307 = l_Lean_Syntax_setArg(x_1, x_296, x_299); -x_308 = l_Lean_Syntax_setArg(x_307, x_301, x_304); -if (lean_is_scalar(x_306)) { - x_309 = lean_alloc_ctor(0, 2, 0); -} else { - x_309 = x_306; -} -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_305); -return x_309; -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -lean_dec(x_299); -lean_dec(x_1); -x_310 = lean_ctor_get(x_303, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_303, 1); -lean_inc(x_311); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_312 = x_303; -} else { - lean_dec_ref(x_303); - x_312 = lean_box(0); -} -if (lean_is_scalar(x_312)) { - x_313 = lean_alloc_ctor(1, 2, 0); -} else { - x_313 = x_312; -} -lean_ctor_set(x_313, 0, x_310); -lean_ctor_set(x_313, 1, x_311); -return x_313; -} -} -else -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_314 = lean_ctor_get(x_298, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_298, 1); -lean_inc(x_315); -if (lean_is_exclusive(x_298)) { - lean_ctor_release(x_298, 0); - lean_ctor_release(x_298, 1); - x_316 = x_298; -} else { - lean_dec_ref(x_298); - x_316 = lean_box(0); -} -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(1, 2, 0); -} else { - x_317 = x_316; -} -lean_ctor_set(x_317, 0, x_314); -lean_ctor_set(x_317, 1, x_315); -return x_317; -} -} -} -else -{ -lean_object* x_318; lean_object* x_319; lean_object* x_320; -lean_free_object(x_24); -lean_dec(x_10); -x_318 = lean_unsigned_to_nat(0u); -x_319 = l_Lean_Syntax_getArg(x_1, x_318); -lean_inc(x_7); -lean_inc(x_319); -x_320 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_319, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_320) == 0) -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_321 = lean_ctor_get(x_320, 1); -lean_inc(x_321); -lean_dec(x_320); -x_322 = lean_unsigned_to_nat(2u); -x_323 = l_Lean_Syntax_getArg(x_1, x_322); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_258); -x_324 = l_Lean_Elab_Term_CollectPatternVars_collect(x_323, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_321); -if (lean_obj_tag(x_324) == 0) -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -x_327 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_326); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = l_Lean_Elab_Term_getCurrMacroScope(x_258, x_4, x_5, x_6, x_7, x_8, x_329); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_258); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_332); -lean_dec(x_8); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); -lean_inc(x_335); -if (lean_is_exclusive(x_333)) { - lean_ctor_release(x_333, 0); - lean_ctor_release(x_333, 1); - x_336 = x_333; -} else { - lean_dec_ref(x_333); - x_336 = lean_box(0); -} -x_337 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_338 = l_Lean_addMacroScope(x_334, x_337, x_331); -x_339 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_340 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_341, 0, x_328); -lean_ctor_set(x_341, 1, x_339); -lean_ctor_set(x_341, 2, x_338); -lean_ctor_set(x_341, 3, x_340); -x_342 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_343 = lean_array_push(x_342, x_319); -x_344 = lean_array_push(x_343, x_325); -x_345 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_344); -x_347 = lean_array_push(x_342, x_341); -x_348 = lean_array_push(x_347, x_346); -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_259); -lean_ctor_set(x_349, 1, x_348); -if (lean_is_scalar(x_336)) { - x_350 = lean_alloc_ctor(0, 2, 0); -} else { - x_350 = x_336; -} -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_335); -return x_350; -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_319); -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_351 = lean_ctor_get(x_324, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_324, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_324)) { - lean_ctor_release(x_324, 0); - lean_ctor_release(x_324, 1); - x_353 = x_324; -} else { - lean_dec_ref(x_324); - x_353 = lean_box(0); -} -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); -} else { - x_354 = x_353; -} -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -return x_354; -} -} -else -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec(x_319); -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_355 = lean_ctor_get(x_320, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_320, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_320)) { - lean_ctor_release(x_320, 0); - lean_ctor_release(x_320, 1); - x_357 = x_320; -} else { - lean_dec_ref(x_320); - x_357 = lean_box(0); -} -if (lean_is_scalar(x_357)) { - x_358 = lean_alloc_ctor(1, 2, 0); -} else { - x_358 = x_357; -} -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -return x_358; -} -} -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; -lean_free_object(x_24); -lean_dec(x_10); -x_359 = lean_unsigned_to_nat(0u); -x_360 = l_Lean_Syntax_getArg(x_1, x_359); -lean_dec(x_1); -x_361 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_360, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -return x_361; -} -} -else -{ -lean_object* x_362; uint8_t x_363; -lean_dec(x_10); -x_362 = l_Lean_Syntax_getArg(x_1, x_22); -x_363 = l_Lean_Syntax_isNone(x_362); -if (x_363 == 0) -{ -lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; -x_364 = lean_unsigned_to_nat(0u); -x_365 = l_Lean_Syntax_getArg(x_362, x_364); -x_366 = l_Lean_Syntax_getArg(x_362, x_22); -x_367 = l_Lean_Syntax_isNone(x_366); -if (x_367 == 0) -{ -lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; -x_368 = l_Lean_Syntax_getArg(x_366, x_364); -lean_dec(x_366); -x_369 = l_Lean_Syntax_getKind(x_368); -x_370 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; -x_371 = lean_name_eq(x_369, x_370); -lean_dec(x_369); -if (x_371 == 0) -{ -lean_dec(x_365); -lean_dec(x_362); -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -else -{ -lean_object* x_372; -lean_free_object(x_24); -x_372 = l_Lean_Elab_Term_CollectPatternVars_collect(x_365, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_372) == 0) -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_373 = lean_ctor_get(x_372, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_375 = x_372; -} else { - lean_dec_ref(x_372); - x_375 = lean_box(0); -} -x_376 = l_Lean_Syntax_setArg(x_362, x_364, x_373); -x_377 = l_Lean_Syntax_setArg(x_1, x_22, x_376); -if (lean_is_scalar(x_375)) { - x_378 = lean_alloc_ctor(0, 2, 0); -} else { - x_378 = x_375; -} -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_374); -return x_378; -} -else -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; -lean_dec(x_362); -lean_dec(x_1); -x_379 = lean_ctor_get(x_372, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_372, 1); -lean_inc(x_380); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_381 = x_372; -} else { - lean_dec_ref(x_372); - x_381 = lean_box(0); -} -if (lean_is_scalar(x_381)) { - x_382 = lean_alloc_ctor(1, 2, 0); -} else { - x_382 = x_381; -} -lean_ctor_set(x_382, 0, x_379); -lean_ctor_set(x_382, 1, x_380); -return x_382; -} -} -} -else -{ -lean_object* x_383; -lean_dec(x_366); -lean_free_object(x_24); -x_383 = l_Lean_Elab_Term_CollectPatternVars_collect(x_365, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_383) == 0) -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; -x_384 = lean_ctor_get(x_383, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_383, 1); -lean_inc(x_385); -if (lean_is_exclusive(x_383)) { - lean_ctor_release(x_383, 0); - lean_ctor_release(x_383, 1); - x_386 = x_383; -} else { - lean_dec_ref(x_383); - x_386 = lean_box(0); -} -x_387 = l_Lean_Syntax_setArg(x_362, x_364, x_384); -x_388 = l_Lean_Syntax_setArg(x_1, x_22, x_387); -if (lean_is_scalar(x_386)) { - x_389 = lean_alloc_ctor(0, 2, 0); -} else { - x_389 = x_386; -} -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_385); -return x_389; -} -else -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -lean_dec(x_362); -lean_dec(x_1); -x_390 = lean_ctor_get(x_383, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_383, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_383)) { - lean_ctor_release(x_383, 0); - lean_ctor_release(x_383, 1); - x_392 = x_383; -} else { - lean_dec_ref(x_383); - x_392 = lean_box(0); -} -if (lean_is_scalar(x_392)) { - x_393 = lean_alloc_ctor(1, 2, 0); -} else { - x_393 = x_392; -} -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_391); -return x_393; -} -} -} -else -{ -lean_dec(x_362); -lean_dec(x_258); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set(x_24, 0, x_1); -return x_24; -} -} -} -else -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -lean_dec(x_258); -lean_free_object(x_24); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_394 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_8, x_26); -x_395 = lean_ctor_get(x_394, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_394, 1); -lean_inc(x_396); -lean_dec(x_394); -x_397 = lean_st_ref_get(x_8, x_396); -lean_dec(x_8); -x_398 = lean_ctor_get(x_397, 1); -lean_inc(x_398); -lean_dec(x_397); -x_399 = lean_st_ref_take(x_2, x_398); -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); -lean_inc(x_401); -lean_dec(x_399); -x_402 = lean_ctor_get(x_400, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_400, 1); -lean_inc(x_403); -if (lean_is_exclusive(x_400)) { - lean_ctor_release(x_400, 0); - lean_ctor_release(x_400, 1); - x_404 = x_400; -} else { - lean_dec_ref(x_400); - x_404 = lean_box(0); -} -x_405 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_395); -x_406 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_406, 0, x_405); -x_407 = lean_array_push(x_403, x_406); -if (lean_is_scalar(x_404)) { - x_408 = lean_alloc_ctor(0, 2, 0); -} else { - x_408 = x_404; -} -lean_ctor_set(x_408, 0, x_402); -lean_ctor_set(x_408, 1, x_407); -x_409 = lean_st_ref_set(x_2, x_408, x_401); -lean_dec(x_2); -x_410 = lean_ctor_get(x_409, 1); -lean_inc(x_410); -if (lean_is_exclusive(x_409)) { - lean_ctor_release(x_409, 0); - lean_ctor_release(x_409, 1); - x_411 = x_409; -} else { - lean_dec_ref(x_409); - x_411 = lean_box(0); -} -if (lean_is_scalar(x_411)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_411; -} -lean_ctor_set(x_412, 0, x_395); -lean_ctor_set(x_412, 1, x_410); -return x_412; -} -} -else -{ -lean_object* x_413; uint8_t x_414; -lean_free_object(x_24); -lean_dec(x_10); -x_413 = l_Lean_Syntax_getArg(x_1, x_22); -x_414 = l_Lean_Syntax_isNone(x_413); -if (x_414 == 0) -{ -lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; -lean_dec(x_1); -x_415 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; -x_416 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_413, x_415, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_258); -lean_dec(x_2); -lean_dec(x_413); -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); -lean_inc(x_418); -if (lean_is_exclusive(x_416)) { - lean_ctor_release(x_416, 0); - lean_ctor_release(x_416, 1); - x_419 = x_416; -} else { - lean_dec_ref(x_416); - x_419 = lean_box(0); -} -if (lean_is_scalar(x_419)) { - x_420 = lean_alloc_ctor(1, 2, 0); -} else { - x_420 = x_419; -} -lean_ctor_set(x_420, 0, x_417); -lean_ctor_set(x_420, 1, x_418); -return x_420; -} -else -{ -lean_object* x_421; lean_object* x_422; -lean_dec(x_413); -x_421 = lean_box(0); -x_422 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_421, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -return x_422; -} -} -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -lean_free_object(x_24); -lean_dec(x_10); -x_423 = l_Lean_Syntax_getArg(x_1, x_22); -x_424 = l_Lean_Syntax_getArgs(x_423); -lean_dec(x_423); -x_425 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; -x_426 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_424, x_425, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_424); -if (lean_obj_tag(x_426) == 0) -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_427 = lean_ctor_get(x_426, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_426, 1); -lean_inc(x_428); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - x_429 = x_426; -} else { - lean_dec_ref(x_426); - x_429 = lean_box(0); -} -x_430 = l_Lean_nullKind; -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_427); -x_432 = l_Lean_Syntax_setArg(x_1, x_22, x_431); -if (lean_is_scalar(x_429)) { - x_433 = lean_alloc_ctor(0, 2, 0); -} else { - x_433 = x_429; -} -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_428); -return x_433; -} -else -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; -lean_dec(x_1); -x_434 = lean_ctor_get(x_426, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_426, 1); -lean_inc(x_435); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - x_436 = x_426; -} else { - lean_dec_ref(x_426); - x_436 = lean_box(0); -} -if (lean_is_scalar(x_436)) { - x_437 = lean_alloc_ctor(1, 2, 0); -} else { - x_437 = x_436; -} -lean_ctor_set(x_437, 0, x_434); -lean_ctor_set(x_437, 1, x_435); -return x_437; -} -} -} -else -{ -lean_object* x_438; -lean_free_object(x_24); -lean_dec(x_10); -x_438 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_1); -return x_438; -} -} -else -{ -lean_object* x_439; -lean_free_object(x_24); -lean_dec(x_10); -x_439 = l_Lean_Elab_Term_CollectPatternVars_collect_processId(x_1, x_2, x_258, x_4, x_5, x_6, x_7, x_8, x_26); -return x_439; -} -} -} -else -{ -lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; uint8_t x_446; uint8_t x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; lean_object* x_452; lean_object* x_453; -x_440 = lean_ctor_get(x_24, 1); -lean_inc(x_440); -lean_dec(x_24); -x_441 = lean_ctor_get(x_3, 0); -lean_inc(x_441); -x_442 = lean_ctor_get(x_3, 1); -lean_inc(x_442); -x_443 = lean_ctor_get(x_3, 2); -lean_inc(x_443); -x_444 = lean_ctor_get(x_3, 3); -lean_inc(x_444); -x_445 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_446 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_447 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_448 = lean_ctor_get(x_3, 5); -lean_inc(x_448); -x_449 = lean_ctor_get(x_3, 6); -lean_inc(x_449); -x_450 = lean_ctor_get(x_3, 7); -lean_inc(x_450); -x_451 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_452 = x_3; -} else { - lean_dec_ref(x_3); - x_452 = lean_box(0); -} -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(0, 8, 4); -} else { - x_453 = x_452; -} -lean_ctor_set(x_453, 0, x_441); -lean_ctor_set(x_453, 1, x_442); -lean_ctor_set(x_453, 2, x_443); -lean_ctor_set(x_453, 3, x_444); -lean_ctor_set(x_453, 4, x_21); -lean_ctor_set(x_453, 5, x_448); -lean_ctor_set(x_453, 6, x_449); -lean_ctor_set(x_453, 7, x_450); -lean_ctor_set_uint8(x_453, sizeof(void*)*8, x_445); -lean_ctor_set_uint8(x_453, sizeof(void*)*8 + 1, x_446); -lean_ctor_set_uint8(x_453, sizeof(void*)*8 + 2, x_447); -lean_ctor_set_uint8(x_453, sizeof(void*)*8 + 3, x_451); -if (x_17 == 0) -{ -lean_object* x_454; uint8_t x_455; -x_454 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_455 = lean_name_eq(x_10, x_454); -if (x_455 == 0) -{ -lean_object* x_456; uint8_t x_457; -x_456 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; -x_457 = lean_name_eq(x_10, x_456); -if (x_457 == 0) -{ -lean_object* x_458; uint8_t x_459; -x_458 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -x_459 = lean_name_eq(x_10, x_458); -if (x_459 == 0) -{ -lean_object* x_460; uint8_t x_461; -x_460 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_461 = lean_name_eq(x_10, x_460); -if (x_461 == 0) -{ -lean_object* x_462; uint8_t x_463; -x_462 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -x_463 = lean_name_eq(x_10, x_462); -if (x_463 == 0) -{ -lean_object* x_464; uint8_t x_465; -x_464 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; -x_465 = lean_name_eq(x_10, x_464); -if (x_465 == 0) -{ -lean_object* x_466; uint8_t x_467; -x_466 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; -x_467 = lean_name_eq(x_10, x_466); -if (x_467 == 0) -{ -lean_object* x_468; uint8_t x_469; -x_468 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; -x_469 = lean_name_eq(x_10, x_468); -if (x_469 == 0) -{ -lean_object* x_470; uint8_t x_471; -x_470 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_471 = lean_name_eq(x_10, x_470); -if (x_471 == 0) -{ -lean_object* x_472; uint8_t x_473; -x_472 = l_Lean_strLitKind; -x_473 = lean_name_eq(x_10, x_472); -if (x_473 == 0) -{ -lean_object* x_474; uint8_t x_475; -x_474 = l_Lean_numLitKind; -x_475 = lean_name_eq(x_10, x_474); -if (x_475 == 0) -{ -lean_object* x_476; uint8_t x_477; -x_476 = l_Lean_scientificLitKind; -x_477 = lean_name_eq(x_10, x_476); -if (x_477 == 0) -{ -lean_object* x_478; uint8_t x_479; -x_478 = l_Lean_charLitKind; -x_479 = lean_name_eq(x_10, x_478); -if (x_479 == 0) -{ -lean_object* x_480; uint8_t x_481; -x_480 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; -x_481 = lean_name_eq(x_10, x_480); -if (x_481 == 0) -{ -lean_object* x_482; uint8_t x_483; -x_482 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -x_483 = lean_name_eq(x_10, x_482); -if (x_483 == 0) -{ -lean_object* x_484; uint8_t x_485; -lean_dec(x_1); -x_484 = l_Lean_choiceKind; -x_485 = lean_name_eq(x_10, x_484); -lean_dec(x_10); -if (x_485 == 0) -{ -lean_object* x_486; -x_486 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_453); -lean_dec(x_2); -return x_486; -} -else -{ -lean_object* x_487; lean_object* x_488; -x_487 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; -x_488 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_487, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_453); -lean_dec(x_2); -return x_488; -} -} -else -{ -lean_object* x_489; -lean_dec(x_10); -lean_dec(x_2); -x_489 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_489; -} -} -else -{ -lean_object* x_490; -lean_dec(x_10); -lean_dec(x_2); -x_490 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_490; -} -} -else -{ -lean_object* x_491; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_491, 0, x_1); -lean_ctor_set(x_491, 1, x_440); -return x_491; -} -} -else -{ -lean_object* x_492; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_492 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_492, 0, x_1); -lean_ctor_set(x_492, 1, x_440); -return x_492; -} -} -else -{ -lean_object* x_493; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_493 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_493, 0, x_1); -lean_ctor_set(x_493, 1, x_440); -return x_493; -} -} -else -{ -lean_object* x_494; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_494 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_494, 0, x_1); -lean_ctor_set(x_494, 1, x_440); -return x_494; -} -} -else -{ -lean_object* x_495; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_495 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_495, 0, x_1); -lean_ctor_set(x_495, 1, x_440); -return x_495; -} -} -else -{ -lean_object* x_496; lean_object* x_497; lean_object* x_498; -lean_dec(x_10); -x_496 = lean_unsigned_to_nat(2u); -x_497 = l_Lean_Syntax_getArg(x_1, x_496); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_453); -lean_inc(x_2); -x_498 = l_Lean_Elab_Term_CollectPatternVars_collect(x_497, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -if (lean_obj_tag(x_498) == 0) -{ -lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_498, 1); -lean_inc(x_500); -lean_dec(x_498); -x_501 = lean_unsigned_to_nat(3u); -x_502 = l_Lean_Syntax_getArg(x_1, x_501); -x_503 = l_Lean_Elab_Term_CollectPatternVars_collect(x_502, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_500); -if (lean_obj_tag(x_503) == 0) -{ -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; -x_504 = lean_ctor_get(x_503, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_503, 1); -lean_inc(x_505); -if (lean_is_exclusive(x_503)) { - lean_ctor_release(x_503, 0); - lean_ctor_release(x_503, 1); - x_506 = x_503; -} else { - lean_dec_ref(x_503); - x_506 = lean_box(0); -} -x_507 = l_Lean_Syntax_setArg(x_1, x_496, x_499); -x_508 = l_Lean_Syntax_setArg(x_507, x_501, x_504); -if (lean_is_scalar(x_506)) { - x_509 = lean_alloc_ctor(0, 2, 0); -} else { - x_509 = x_506; -} -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_505); -return x_509; -} -else -{ -lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; -lean_dec(x_499); -lean_dec(x_1); -x_510 = lean_ctor_get(x_503, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_503, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_503)) { - lean_ctor_release(x_503, 0); - lean_ctor_release(x_503, 1); - x_512 = x_503; -} else { - lean_dec_ref(x_503); - x_512 = lean_box(0); -} -if (lean_is_scalar(x_512)) { - x_513 = lean_alloc_ctor(1, 2, 0); -} else { - x_513 = x_512; -} -lean_ctor_set(x_513, 0, x_510); -lean_ctor_set(x_513, 1, x_511); -return x_513; -} -} -else -{ -lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_514 = lean_ctor_get(x_498, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_498, 1); -lean_inc(x_515); -if (lean_is_exclusive(x_498)) { - lean_ctor_release(x_498, 0); - lean_ctor_release(x_498, 1); - x_516 = x_498; -} else { - lean_dec_ref(x_498); - x_516 = lean_box(0); -} -if (lean_is_scalar(x_516)) { - x_517 = lean_alloc_ctor(1, 2, 0); -} else { - x_517 = x_516; -} -lean_ctor_set(x_517, 0, x_514); -lean_ctor_set(x_517, 1, x_515); -return x_517; -} -} -} -else -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; -lean_dec(x_10); -x_518 = lean_unsigned_to_nat(0u); -x_519 = l_Lean_Syntax_getArg(x_1, x_518); -lean_inc(x_7); -lean_inc(x_519); -x_520 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_519, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -if (lean_obj_tag(x_520) == 0) -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -x_521 = lean_ctor_get(x_520, 1); -lean_inc(x_521); -lean_dec(x_520); -x_522 = lean_unsigned_to_nat(2u); -x_523 = l_Lean_Syntax_getArg(x_1, x_522); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_453); -x_524 = l_Lean_Elab_Term_CollectPatternVars_collect(x_523, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_521); -if (lean_obj_tag(x_524) == 0) -{ -lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_525 = lean_ctor_get(x_524, 0); -lean_inc(x_525); -x_526 = lean_ctor_get(x_524, 1); -lean_inc(x_526); -lean_dec(x_524); -x_527 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_526); -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_527, 1); -lean_inc(x_529); -lean_dec(x_527); -x_530 = l_Lean_Elab_Term_getCurrMacroScope(x_453, x_4, x_5, x_6, x_7, x_8, x_529); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_453); -x_531 = lean_ctor_get(x_530, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_530, 1); -lean_inc(x_532); -lean_dec(x_530); -x_533 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_532); -lean_dec(x_8); -x_534 = lean_ctor_get(x_533, 0); -lean_inc(x_534); -x_535 = lean_ctor_get(x_533, 1); -lean_inc(x_535); -if (lean_is_exclusive(x_533)) { - lean_ctor_release(x_533, 0); - lean_ctor_release(x_533, 1); - x_536 = x_533; -} else { - lean_dec_ref(x_533); - x_536 = lean_box(0); -} -x_537 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_538 = l_Lean_addMacroScope(x_534, x_537, x_531); -x_539 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_540 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_541 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_541, 0, x_528); -lean_ctor_set(x_541, 1, x_539); -lean_ctor_set(x_541, 2, x_538); -lean_ctor_set(x_541, 3, x_540); -x_542 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_543 = lean_array_push(x_542, x_519); -x_544 = lean_array_push(x_543, x_525); -x_545 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_544); -x_547 = lean_array_push(x_542, x_541); -x_548 = lean_array_push(x_547, x_546); -x_549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_549, 0, x_454); -lean_ctor_set(x_549, 1, x_548); -if (lean_is_scalar(x_536)) { - x_550 = lean_alloc_ctor(0, 2, 0); -} else { - x_550 = x_536; -} -lean_ctor_set(x_550, 0, x_549); -lean_ctor_set(x_550, 1, x_535); -return x_550; -} -else -{ -lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; -lean_dec(x_519); -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_551 = lean_ctor_get(x_524, 0); -lean_inc(x_551); -x_552 = lean_ctor_get(x_524, 1); -lean_inc(x_552); -if (lean_is_exclusive(x_524)) { - lean_ctor_release(x_524, 0); - lean_ctor_release(x_524, 1); - x_553 = x_524; -} else { - lean_dec_ref(x_524); - x_553 = lean_box(0); -} -if (lean_is_scalar(x_553)) { - x_554 = lean_alloc_ctor(1, 2, 0); -} else { - x_554 = x_553; -} -lean_ctor_set(x_554, 0, x_551); -lean_ctor_set(x_554, 1, x_552); -return x_554; -} -} -else -{ -lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_519); -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_555 = lean_ctor_get(x_520, 0); -lean_inc(x_555); -x_556 = lean_ctor_get(x_520, 1); -lean_inc(x_556); -if (lean_is_exclusive(x_520)) { - lean_ctor_release(x_520, 0); - lean_ctor_release(x_520, 1); - x_557 = x_520; -} else { - lean_dec_ref(x_520); - x_557 = lean_box(0); -} -if (lean_is_scalar(x_557)) { - x_558 = lean_alloc_ctor(1, 2, 0); -} else { - x_558 = x_557; -} -lean_ctor_set(x_558, 0, x_555); -lean_ctor_set(x_558, 1, x_556); -return x_558; -} -} -} -else -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_dec(x_10); -x_559 = lean_unsigned_to_nat(0u); -x_560 = l_Lean_Syntax_getArg(x_1, x_559); -lean_dec(x_1); -x_561 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_560, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -return x_561; -} -} -else -{ -lean_object* x_562; uint8_t x_563; -lean_dec(x_10); -x_562 = l_Lean_Syntax_getArg(x_1, x_22); -x_563 = l_Lean_Syntax_isNone(x_562); -if (x_563 == 0) -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; uint8_t x_567; -x_564 = lean_unsigned_to_nat(0u); -x_565 = l_Lean_Syntax_getArg(x_562, x_564); -x_566 = l_Lean_Syntax_getArg(x_562, x_22); -x_567 = l_Lean_Syntax_isNone(x_566); -if (x_567 == 0) -{ -lean_object* x_568; lean_object* x_569; lean_object* x_570; uint8_t x_571; -x_568 = l_Lean_Syntax_getArg(x_566, x_564); -lean_dec(x_566); -x_569 = l_Lean_Syntax_getKind(x_568); -x_570 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; -x_571 = lean_name_eq(x_569, x_570); -lean_dec(x_569); -if (x_571 == 0) -{ -lean_object* x_572; -lean_dec(x_565); -lean_dec(x_562); -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_572 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_572, 0, x_1); -lean_ctor_set(x_572, 1, x_440); -return x_572; -} -else -{ -lean_object* x_573; -x_573 = l_Lean_Elab_Term_CollectPatternVars_collect(x_565, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -if (lean_obj_tag(x_573) == 0) -{ -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; -x_574 = lean_ctor_get(x_573, 0); -lean_inc(x_574); -x_575 = lean_ctor_get(x_573, 1); -lean_inc(x_575); -if (lean_is_exclusive(x_573)) { - lean_ctor_release(x_573, 0); - lean_ctor_release(x_573, 1); - x_576 = x_573; -} else { - lean_dec_ref(x_573); - x_576 = lean_box(0); -} -x_577 = l_Lean_Syntax_setArg(x_562, x_564, x_574); -x_578 = l_Lean_Syntax_setArg(x_1, x_22, x_577); -if (lean_is_scalar(x_576)) { - x_579 = lean_alloc_ctor(0, 2, 0); -} else { - x_579 = x_576; -} -lean_ctor_set(x_579, 0, x_578); -lean_ctor_set(x_579, 1, x_575); -return x_579; -} -else -{ -lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; -lean_dec(x_562); -lean_dec(x_1); -x_580 = lean_ctor_get(x_573, 0); -lean_inc(x_580); -x_581 = lean_ctor_get(x_573, 1); -lean_inc(x_581); -if (lean_is_exclusive(x_573)) { - lean_ctor_release(x_573, 0); - lean_ctor_release(x_573, 1); - x_582 = x_573; -} else { - lean_dec_ref(x_573); - x_582 = lean_box(0); -} -if (lean_is_scalar(x_582)) { - x_583 = lean_alloc_ctor(1, 2, 0); -} else { - x_583 = x_582; -} -lean_ctor_set(x_583, 0, x_580); -lean_ctor_set(x_583, 1, x_581); -return x_583; -} -} -} -else -{ -lean_object* x_584; -lean_dec(x_566); -x_584 = l_Lean_Elab_Term_CollectPatternVars_collect(x_565, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -if (lean_obj_tag(x_584) == 0) -{ -lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; -x_585 = lean_ctor_get(x_584, 0); -lean_inc(x_585); -x_586 = lean_ctor_get(x_584, 1); -lean_inc(x_586); -if (lean_is_exclusive(x_584)) { - lean_ctor_release(x_584, 0); - lean_ctor_release(x_584, 1); - x_587 = x_584; -} else { - lean_dec_ref(x_584); - x_587 = lean_box(0); -} -x_588 = l_Lean_Syntax_setArg(x_562, x_564, x_585); -x_589 = l_Lean_Syntax_setArg(x_1, x_22, x_588); -if (lean_is_scalar(x_587)) { - x_590 = lean_alloc_ctor(0, 2, 0); -} else { - x_590 = x_587; -} -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_586); -return x_590; -} -else -{ -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -lean_dec(x_562); -lean_dec(x_1); -x_591 = lean_ctor_get(x_584, 0); -lean_inc(x_591); -x_592 = lean_ctor_get(x_584, 1); -lean_inc(x_592); -if (lean_is_exclusive(x_584)) { - lean_ctor_release(x_584, 0); - lean_ctor_release(x_584, 1); - x_593 = x_584; -} else { - lean_dec_ref(x_584); - x_593 = lean_box(0); -} -if (lean_is_scalar(x_593)) { - x_594 = lean_alloc_ctor(1, 2, 0); -} else { - x_594 = x_593; -} -lean_ctor_set(x_594, 0, x_591); -lean_ctor_set(x_594, 1, x_592); -return x_594; -} -} -} -else -{ -lean_object* x_595; -lean_dec(x_562); -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_1); -lean_ctor_set(x_595, 1, x_440); -return x_595; -} -} -} -else -{ -lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; -lean_dec(x_453); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_596 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_8, x_440); -x_597 = lean_ctor_get(x_596, 0); -lean_inc(x_597); -x_598 = lean_ctor_get(x_596, 1); -lean_inc(x_598); -lean_dec(x_596); -x_599 = lean_st_ref_get(x_8, x_598); -lean_dec(x_8); -x_600 = lean_ctor_get(x_599, 1); -lean_inc(x_600); -lean_dec(x_599); -x_601 = lean_st_ref_take(x_2, x_600); -x_602 = lean_ctor_get(x_601, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_601, 1); -lean_inc(x_603); -lean_dec(x_601); -x_604 = lean_ctor_get(x_602, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_602, 1); -lean_inc(x_605); -if (lean_is_exclusive(x_602)) { - lean_ctor_release(x_602, 0); - lean_ctor_release(x_602, 1); - x_606 = x_602; -} else { - lean_dec_ref(x_602); - x_606 = lean_box(0); -} -x_607 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_597); -x_608 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_608, 0, x_607); -x_609 = lean_array_push(x_605, x_608); -if (lean_is_scalar(x_606)) { - x_610 = lean_alloc_ctor(0, 2, 0); -} else { - x_610 = x_606; -} -lean_ctor_set(x_610, 0, x_604); -lean_ctor_set(x_610, 1, x_609); -x_611 = lean_st_ref_set(x_2, x_610, x_603); -lean_dec(x_2); -x_612 = lean_ctor_get(x_611, 1); -lean_inc(x_612); -if (lean_is_exclusive(x_611)) { - lean_ctor_release(x_611, 0); - lean_ctor_release(x_611, 1); - x_613 = x_611; -} else { - lean_dec_ref(x_611); - x_613 = lean_box(0); -} -if (lean_is_scalar(x_613)) { - x_614 = lean_alloc_ctor(0, 2, 0); -} else { - x_614 = x_613; -} -lean_ctor_set(x_614, 0, x_597); -lean_ctor_set(x_614, 1, x_612); -return x_614; -} -} -else -{ -lean_object* x_615; uint8_t x_616; -lean_dec(x_10); -x_615 = l_Lean_Syntax_getArg(x_1, x_22); -x_616 = l_Lean_Syntax_isNone(x_615); -if (x_616 == 0) -{ -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_dec(x_1); -x_617 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; -x_618 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_615, x_617, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_453); -lean_dec(x_2); -lean_dec(x_615); -x_619 = lean_ctor_get(x_618, 0); -lean_inc(x_619); -x_620 = lean_ctor_get(x_618, 1); -lean_inc(x_620); -if (lean_is_exclusive(x_618)) { - lean_ctor_release(x_618, 0); - lean_ctor_release(x_618, 1); - x_621 = x_618; -} else { - lean_dec_ref(x_618); - x_621 = lean_box(0); -} -if (lean_is_scalar(x_621)) { - x_622 = lean_alloc_ctor(1, 2, 0); -} else { - x_622 = x_621; -} -lean_ctor_set(x_622, 0, x_619); -lean_ctor_set(x_622, 1, x_620); -return x_622; -} -else -{ -lean_object* x_623; lean_object* x_624; -lean_dec(x_615); -x_623 = lean_box(0); -x_624 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_623, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -return x_624; -} -} -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -lean_dec(x_10); -x_625 = l_Lean_Syntax_getArg(x_1, x_22); -x_626 = l_Lean_Syntax_getArgs(x_625); -lean_dec(x_625); -x_627 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; -x_628 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_626, x_627, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_626); -if (lean_obj_tag(x_628) == 0) -{ -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; -x_629 = lean_ctor_get(x_628, 0); -lean_inc(x_629); -x_630 = lean_ctor_get(x_628, 1); -lean_inc(x_630); -if (lean_is_exclusive(x_628)) { - lean_ctor_release(x_628, 0); - lean_ctor_release(x_628, 1); - x_631 = x_628; -} else { - lean_dec_ref(x_628); - x_631 = lean_box(0); -} -x_632 = l_Lean_nullKind; -x_633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_633, 0, x_632); -lean_ctor_set(x_633, 1, x_629); -x_634 = l_Lean_Syntax_setArg(x_1, x_22, x_633); -if (lean_is_scalar(x_631)) { - x_635 = lean_alloc_ctor(0, 2, 0); -} else { - x_635 = x_631; -} -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_630); -return x_635; -} -else -{ -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -lean_dec(x_1); -x_636 = lean_ctor_get(x_628, 0); -lean_inc(x_636); -x_637 = lean_ctor_get(x_628, 1); -lean_inc(x_637); -if (lean_is_exclusive(x_628)) { - lean_ctor_release(x_628, 0); - lean_ctor_release(x_628, 1); - x_638 = x_628; -} else { - lean_dec_ref(x_628); - x_638 = lean_box(0); -} -if (lean_is_scalar(x_638)) { - x_639 = lean_alloc_ctor(1, 2, 0); -} else { - x_639 = x_638; -} -lean_ctor_set(x_639, 0, x_636); -lean_ctor_set(x_639, 1, x_637); -return x_639; -} -} -} -else -{ -lean_object* x_640; -lean_dec(x_10); -x_640 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -lean_dec(x_1); -return x_640; -} -} -else -{ -lean_object* x_641; -lean_dec(x_10); -x_641 = l_Lean_Elab_Term_CollectPatternVars_collect_processId(x_1, x_2, x_453, x_4, x_5, x_6, x_7, x_8, x_440); -return x_641; -} -} -} -else -{ -lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; uint8_t x_656; uint8_t x_657; uint8_t x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; uint8_t x_662; lean_object* x_663; lean_object* x_664; -x_642 = lean_ctor_get(x_18, 0); -x_643 = lean_ctor_get(x_18, 1); -x_644 = lean_ctor_get(x_18, 2); -x_645 = lean_ctor_get(x_18, 3); -lean_inc(x_645); -lean_inc(x_644); -lean_inc(x_643); -lean_inc(x_642); -lean_dec(x_18); -x_646 = lean_unsigned_to_nat(1u); -x_647 = lean_nat_add(x_643, x_646); -x_648 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_648, 0, x_642); -lean_ctor_set(x_648, 1, x_647); -lean_ctor_set(x_648, 2, x_644); -lean_ctor_set(x_648, 3, x_645); -x_649 = lean_st_ref_set(x_8, x_648, x_19); -x_650 = lean_ctor_get(x_649, 1); -lean_inc(x_650); -if (lean_is_exclusive(x_649)) { - lean_ctor_release(x_649, 0); - lean_ctor_release(x_649, 1); - x_651 = x_649; -} else { - lean_dec_ref(x_649); - x_651 = lean_box(0); -} -x_652 = lean_ctor_get(x_3, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_3, 1); -lean_inc(x_653); -x_654 = lean_ctor_get(x_3, 2); -lean_inc(x_654); -x_655 = lean_ctor_get(x_3, 3); -lean_inc(x_655); -x_656 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_657 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_658 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_659 = lean_ctor_get(x_3, 5); -lean_inc(x_659); -x_660 = lean_ctor_get(x_3, 6); -lean_inc(x_660); -x_661 = lean_ctor_get(x_3, 7); -lean_inc(x_661); -x_662 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_663 = x_3; -} else { - lean_dec_ref(x_3); - x_663 = lean_box(0); -} -if (lean_is_scalar(x_663)) { - x_664 = lean_alloc_ctor(0, 8, 4); -} else { - x_664 = x_663; -} -lean_ctor_set(x_664, 0, x_652); -lean_ctor_set(x_664, 1, x_653); -lean_ctor_set(x_664, 2, x_654); -lean_ctor_set(x_664, 3, x_655); -lean_ctor_set(x_664, 4, x_643); -lean_ctor_set(x_664, 5, x_659); -lean_ctor_set(x_664, 6, x_660); -lean_ctor_set(x_664, 7, x_661); -lean_ctor_set_uint8(x_664, sizeof(void*)*8, x_656); -lean_ctor_set_uint8(x_664, sizeof(void*)*8 + 1, x_657); -lean_ctor_set_uint8(x_664, sizeof(void*)*8 + 2, x_658); -lean_ctor_set_uint8(x_664, sizeof(void*)*8 + 3, x_662); -if (x_17 == 0) -{ -lean_object* x_665; uint8_t x_666; -x_665 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_666 = lean_name_eq(x_10, x_665); -if (x_666 == 0) -{ -lean_object* x_667; uint8_t x_668; -x_667 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; -x_668 = lean_name_eq(x_10, x_667); -if (x_668 == 0) -{ -lean_object* x_669; uint8_t x_670; -x_669 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -x_670 = lean_name_eq(x_10, x_669); -if (x_670 == 0) -{ -lean_object* x_671; uint8_t x_672; -x_671 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_672 = lean_name_eq(x_10, x_671); -if (x_672 == 0) -{ -lean_object* x_673; uint8_t x_674; -x_673 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -x_674 = lean_name_eq(x_10, x_673); -if (x_674 == 0) -{ -lean_object* x_675; uint8_t x_676; -x_675 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; -x_676 = lean_name_eq(x_10, x_675); -if (x_676 == 0) -{ -lean_object* x_677; uint8_t x_678; -x_677 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; -x_678 = lean_name_eq(x_10, x_677); -if (x_678 == 0) -{ -lean_object* x_679; uint8_t x_680; -x_679 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; -x_680 = lean_name_eq(x_10, x_679); -if (x_680 == 0) -{ -lean_object* x_681; uint8_t x_682; -x_681 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_682 = lean_name_eq(x_10, x_681); -if (x_682 == 0) -{ -lean_object* x_683; uint8_t x_684; -x_683 = l_Lean_strLitKind; -x_684 = lean_name_eq(x_10, x_683); -if (x_684 == 0) -{ -lean_object* x_685; uint8_t x_686; -x_685 = l_Lean_numLitKind; -x_686 = lean_name_eq(x_10, x_685); -if (x_686 == 0) -{ -lean_object* x_687; uint8_t x_688; -x_687 = l_Lean_scientificLitKind; -x_688 = lean_name_eq(x_10, x_687); -if (x_688 == 0) -{ -lean_object* x_689; uint8_t x_690; -x_689 = l_Lean_charLitKind; -x_690 = lean_name_eq(x_10, x_689); -if (x_690 == 0) -{ -lean_object* x_691; uint8_t x_692; -lean_dec(x_651); -x_691 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; -x_692 = lean_name_eq(x_10, x_691); -if (x_692 == 0) -{ -lean_object* x_693; uint8_t x_694; -x_693 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -x_694 = lean_name_eq(x_10, x_693); -if (x_694 == 0) -{ -lean_object* x_695; uint8_t x_696; -lean_dec(x_1); -x_695 = l_Lean_choiceKind; -x_696 = lean_name_eq(x_10, x_695); -lean_dec(x_10); -if (x_696 == 0) -{ -lean_object* x_697; -x_697 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_664); -lean_dec(x_2); -return x_697; -} -else -{ -lean_object* x_698; lean_object* x_699; -x_698 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; -x_699 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_698, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_664); -lean_dec(x_2); -return x_699; -} -} -else -{ -lean_object* x_700; -lean_dec(x_10); -lean_dec(x_2); -x_700 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_700; -} -} -else -{ -lean_object* x_701; -lean_dec(x_10); -lean_dec(x_2); -x_701 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_701; -} -} -else -{ -lean_object* x_702; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_702 = lean_alloc_ctor(0, 2, 0); -} else { - x_702 = x_651; -} -lean_ctor_set(x_702, 0, x_1); -lean_ctor_set(x_702, 1, x_650); -return x_702; -} -} -else -{ -lean_object* x_703; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_703 = lean_alloc_ctor(0, 2, 0); -} else { - x_703 = x_651; -} -lean_ctor_set(x_703, 0, x_1); -lean_ctor_set(x_703, 1, x_650); -return x_703; -} -} -else -{ -lean_object* x_704; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_704 = lean_alloc_ctor(0, 2, 0); -} else { - x_704 = x_651; -} -lean_ctor_set(x_704, 0, x_1); -lean_ctor_set(x_704, 1, x_650); -return x_704; -} -} -else -{ -lean_object* x_705; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_705 = lean_alloc_ctor(0, 2, 0); -} else { - x_705 = x_651; -} -lean_ctor_set(x_705, 0, x_1); -lean_ctor_set(x_705, 1, x_650); -return x_705; -} -} -else -{ -lean_object* x_706; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_706 = lean_alloc_ctor(0, 2, 0); -} else { - x_706 = x_651; -} -lean_ctor_set(x_706, 0, x_1); -lean_ctor_set(x_706, 1, x_650); -return x_706; -} -} -else -{ -lean_object* x_707; lean_object* x_708; lean_object* x_709; -lean_dec(x_651); -lean_dec(x_10); -x_707 = lean_unsigned_to_nat(2u); -x_708 = l_Lean_Syntax_getArg(x_1, x_707); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_664); -lean_inc(x_2); -x_709 = l_Lean_Elab_Term_CollectPatternVars_collect(x_708, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -if (lean_obj_tag(x_709) == 0) -{ -lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; -x_710 = lean_ctor_get(x_709, 0); -lean_inc(x_710); -x_711 = lean_ctor_get(x_709, 1); -lean_inc(x_711); -lean_dec(x_709); -x_712 = lean_unsigned_to_nat(3u); -x_713 = l_Lean_Syntax_getArg(x_1, x_712); -x_714 = l_Lean_Elab_Term_CollectPatternVars_collect(x_713, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_711); -if (lean_obj_tag(x_714) == 0) -{ -lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; -x_715 = lean_ctor_get(x_714, 0); -lean_inc(x_715); -x_716 = lean_ctor_get(x_714, 1); -lean_inc(x_716); -if (lean_is_exclusive(x_714)) { - lean_ctor_release(x_714, 0); - lean_ctor_release(x_714, 1); - x_717 = x_714; -} else { - lean_dec_ref(x_714); - x_717 = lean_box(0); -} -x_718 = l_Lean_Syntax_setArg(x_1, x_707, x_710); -x_719 = l_Lean_Syntax_setArg(x_718, x_712, x_715); -if (lean_is_scalar(x_717)) { - x_720 = lean_alloc_ctor(0, 2, 0); -} else { - x_720 = x_717; -} -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_716); -return x_720; -} -else -{ -lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; -lean_dec(x_710); -lean_dec(x_1); -x_721 = lean_ctor_get(x_714, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_714, 1); -lean_inc(x_722); -if (lean_is_exclusive(x_714)) { - lean_ctor_release(x_714, 0); - lean_ctor_release(x_714, 1); - x_723 = x_714; -} else { - lean_dec_ref(x_714); - x_723 = lean_box(0); -} -if (lean_is_scalar(x_723)) { - x_724 = lean_alloc_ctor(1, 2, 0); -} else { - x_724 = x_723; -} -lean_ctor_set(x_724, 0, x_721); -lean_ctor_set(x_724, 1, x_722); -return x_724; -} -} -else -{ -lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_725 = lean_ctor_get(x_709, 0); -lean_inc(x_725); -x_726 = lean_ctor_get(x_709, 1); -lean_inc(x_726); -if (lean_is_exclusive(x_709)) { - lean_ctor_release(x_709, 0); - lean_ctor_release(x_709, 1); - x_727 = x_709; -} else { - lean_dec_ref(x_709); - x_727 = lean_box(0); -} -if (lean_is_scalar(x_727)) { - x_728 = lean_alloc_ctor(1, 2, 0); -} else { - x_728 = x_727; -} -lean_ctor_set(x_728, 0, x_725); -lean_ctor_set(x_728, 1, x_726); -return x_728; -} -} -} -else -{ -lean_object* x_729; lean_object* x_730; lean_object* x_731; -lean_dec(x_651); -lean_dec(x_10); -x_729 = lean_unsigned_to_nat(0u); -x_730 = l_Lean_Syntax_getArg(x_1, x_729); -lean_inc(x_7); -lean_inc(x_730); -x_731 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_730, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -if (lean_obj_tag(x_731) == 0) -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; -x_732 = lean_ctor_get(x_731, 1); -lean_inc(x_732); -lean_dec(x_731); -x_733 = lean_unsigned_to_nat(2u); -x_734 = l_Lean_Syntax_getArg(x_1, x_733); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_664); -x_735 = l_Lean_Elab_Term_CollectPatternVars_collect(x_734, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_732); -if (lean_obj_tag(x_735) == 0) -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -x_736 = lean_ctor_get(x_735, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_735, 1); -lean_inc(x_737); -lean_dec(x_735); -x_738 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_737); -x_739 = lean_ctor_get(x_738, 0); -lean_inc(x_739); -x_740 = lean_ctor_get(x_738, 1); -lean_inc(x_740); -lean_dec(x_738); -x_741 = l_Lean_Elab_Term_getCurrMacroScope(x_664, x_4, x_5, x_6, x_7, x_8, x_740); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_664); -x_742 = lean_ctor_get(x_741, 0); -lean_inc(x_742); -x_743 = lean_ctor_get(x_741, 1); -lean_inc(x_743); -lean_dec(x_741); -x_744 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_743); -lean_dec(x_8); -x_745 = lean_ctor_get(x_744, 0); -lean_inc(x_745); -x_746 = lean_ctor_get(x_744, 1); -lean_inc(x_746); -if (lean_is_exclusive(x_744)) { - lean_ctor_release(x_744, 0); - lean_ctor_release(x_744, 1); - x_747 = x_744; -} else { - lean_dec_ref(x_744); - x_747 = lean_box(0); -} -x_748 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_749 = l_Lean_addMacroScope(x_745, x_748, x_742); -x_750 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_751 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_752 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_752, 0, x_739); -lean_ctor_set(x_752, 1, x_750); -lean_ctor_set(x_752, 2, x_749); -lean_ctor_set(x_752, 3, x_751); -x_753 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_754 = lean_array_push(x_753, x_730); -x_755 = lean_array_push(x_754, x_736); -x_756 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_757, 0, x_756); -lean_ctor_set(x_757, 1, x_755); -x_758 = lean_array_push(x_753, x_752); -x_759 = lean_array_push(x_758, x_757); -x_760 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_760, 0, x_665); -lean_ctor_set(x_760, 1, x_759); -if (lean_is_scalar(x_747)) { - x_761 = lean_alloc_ctor(0, 2, 0); -} else { - x_761 = x_747; -} -lean_ctor_set(x_761, 0, x_760); -lean_ctor_set(x_761, 1, x_746); -return x_761; -} -else -{ -lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; -lean_dec(x_730); -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_762 = lean_ctor_get(x_735, 0); -lean_inc(x_762); -x_763 = lean_ctor_get(x_735, 1); -lean_inc(x_763); -if (lean_is_exclusive(x_735)) { - lean_ctor_release(x_735, 0); - lean_ctor_release(x_735, 1); - x_764 = x_735; -} else { - lean_dec_ref(x_735); - x_764 = lean_box(0); -} -if (lean_is_scalar(x_764)) { - x_765 = lean_alloc_ctor(1, 2, 0); -} else { - x_765 = x_764; -} -lean_ctor_set(x_765, 0, x_762); -lean_ctor_set(x_765, 1, x_763); -return x_765; -} -} -else -{ -lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -lean_dec(x_730); -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_766 = lean_ctor_get(x_731, 0); -lean_inc(x_766); -x_767 = lean_ctor_get(x_731, 1); -lean_inc(x_767); -if (lean_is_exclusive(x_731)) { - lean_ctor_release(x_731, 0); - lean_ctor_release(x_731, 1); - x_768 = x_731; -} else { - lean_dec_ref(x_731); - x_768 = lean_box(0); -} -if (lean_is_scalar(x_768)) { - x_769 = lean_alloc_ctor(1, 2, 0); -} else { - x_769 = x_768; -} -lean_ctor_set(x_769, 0, x_766); -lean_ctor_set(x_769, 1, x_767); -return x_769; -} -} -} -else -{ -lean_object* x_770; lean_object* x_771; lean_object* x_772; -lean_dec(x_651); -lean_dec(x_10); -x_770 = lean_unsigned_to_nat(0u); -x_771 = l_Lean_Syntax_getArg(x_1, x_770); -lean_dec(x_1); -x_772 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_771, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -return x_772; -} -} -else -{ -lean_object* x_773; uint8_t x_774; -lean_dec(x_10); -x_773 = l_Lean_Syntax_getArg(x_1, x_646); -x_774 = l_Lean_Syntax_isNone(x_773); -if (x_774 == 0) -{ -lean_object* x_775; lean_object* x_776; lean_object* x_777; uint8_t x_778; -x_775 = lean_unsigned_to_nat(0u); -x_776 = l_Lean_Syntax_getArg(x_773, x_775); -x_777 = l_Lean_Syntax_getArg(x_773, x_646); -x_778 = l_Lean_Syntax_isNone(x_777); -if (x_778 == 0) -{ -lean_object* x_779; lean_object* x_780; lean_object* x_781; uint8_t x_782; -x_779 = l_Lean_Syntax_getArg(x_777, x_775); -lean_dec(x_777); -x_780 = l_Lean_Syntax_getKind(x_779); -x_781 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; -x_782 = lean_name_eq(x_780, x_781); -lean_dec(x_780); -if (x_782 == 0) -{ -lean_object* x_783; -lean_dec(x_776); -lean_dec(x_773); -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_783 = lean_alloc_ctor(0, 2, 0); -} else { - x_783 = x_651; -} -lean_ctor_set(x_783, 0, x_1); -lean_ctor_set(x_783, 1, x_650); -return x_783; -} -else -{ -lean_object* x_784; -lean_dec(x_651); -x_784 = l_Lean_Elab_Term_CollectPatternVars_collect(x_776, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -if (lean_obj_tag(x_784) == 0) -{ -lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; -x_785 = lean_ctor_get(x_784, 0); -lean_inc(x_785); -x_786 = lean_ctor_get(x_784, 1); -lean_inc(x_786); -if (lean_is_exclusive(x_784)) { - lean_ctor_release(x_784, 0); - lean_ctor_release(x_784, 1); - x_787 = x_784; -} else { - lean_dec_ref(x_784); - x_787 = lean_box(0); -} -x_788 = l_Lean_Syntax_setArg(x_773, x_775, x_785); -x_789 = l_Lean_Syntax_setArg(x_1, x_646, x_788); -if (lean_is_scalar(x_787)) { - x_790 = lean_alloc_ctor(0, 2, 0); -} else { - x_790 = x_787; -} -lean_ctor_set(x_790, 0, x_789); -lean_ctor_set(x_790, 1, x_786); -return x_790; -} -else -{ -lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; -lean_dec(x_773); -lean_dec(x_1); -x_791 = lean_ctor_get(x_784, 0); -lean_inc(x_791); -x_792 = lean_ctor_get(x_784, 1); -lean_inc(x_792); -if (lean_is_exclusive(x_784)) { - lean_ctor_release(x_784, 0); - lean_ctor_release(x_784, 1); - x_793 = x_784; -} else { - lean_dec_ref(x_784); - x_793 = lean_box(0); -} -if (lean_is_scalar(x_793)) { - x_794 = lean_alloc_ctor(1, 2, 0); -} else { - x_794 = x_793; -} -lean_ctor_set(x_794, 0, x_791); -lean_ctor_set(x_794, 1, x_792); -return x_794; -} -} -} -else -{ -lean_object* x_795; -lean_dec(x_777); -lean_dec(x_651); -x_795 = l_Lean_Elab_Term_CollectPatternVars_collect(x_776, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -if (lean_obj_tag(x_795) == 0) -{ -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_795, 1); -lean_inc(x_797); -if (lean_is_exclusive(x_795)) { - lean_ctor_release(x_795, 0); - lean_ctor_release(x_795, 1); - x_798 = x_795; -} else { - lean_dec_ref(x_795); - x_798 = lean_box(0); -} -x_799 = l_Lean_Syntax_setArg(x_773, x_775, x_796); -x_800 = l_Lean_Syntax_setArg(x_1, x_646, x_799); -if (lean_is_scalar(x_798)) { - x_801 = lean_alloc_ctor(0, 2, 0); -} else { - x_801 = x_798; -} -lean_ctor_set(x_801, 0, x_800); -lean_ctor_set(x_801, 1, x_797); -return x_801; -} -else -{ -lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; -lean_dec(x_773); -lean_dec(x_1); -x_802 = lean_ctor_get(x_795, 0); -lean_inc(x_802); -x_803 = lean_ctor_get(x_795, 1); -lean_inc(x_803); -if (lean_is_exclusive(x_795)) { - lean_ctor_release(x_795, 0); - lean_ctor_release(x_795, 1); - x_804 = x_795; -} else { - lean_dec_ref(x_795); - x_804 = lean_box(0); -} -if (lean_is_scalar(x_804)) { - x_805 = lean_alloc_ctor(1, 2, 0); -} else { - x_805 = x_804; -} -lean_ctor_set(x_805, 0, x_802); -lean_ctor_set(x_805, 1, x_803); -return x_805; -} -} -} -else -{ -lean_object* x_806; -lean_dec(x_773); -lean_dec(x_664); -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_651)) { - x_806 = lean_alloc_ctor(0, 2, 0); -} else { - x_806 = x_651; -} -lean_ctor_set(x_806, 0, x_1); -lean_ctor_set(x_806, 1, x_650); -return x_806; -} -} -} -else -{ -lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; -lean_dec(x_664); -lean_dec(x_651); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_807 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_8, x_650); -x_808 = lean_ctor_get(x_807, 0); -lean_inc(x_808); -x_809 = lean_ctor_get(x_807, 1); -lean_inc(x_809); -lean_dec(x_807); -x_810 = lean_st_ref_get(x_8, x_809); -lean_dec(x_8); -x_811 = lean_ctor_get(x_810, 1); -lean_inc(x_811); -lean_dec(x_810); -x_812 = lean_st_ref_take(x_2, x_811); -x_813 = lean_ctor_get(x_812, 0); -lean_inc(x_813); -x_814 = lean_ctor_get(x_812, 1); -lean_inc(x_814); -lean_dec(x_812); -x_815 = lean_ctor_get(x_813, 0); -lean_inc(x_815); -x_816 = lean_ctor_get(x_813, 1); -lean_inc(x_816); -if (lean_is_exclusive(x_813)) { - lean_ctor_release(x_813, 0); - lean_ctor_release(x_813, 1); - x_817 = x_813; -} else { - lean_dec_ref(x_813); - x_817 = lean_box(0); -} -x_818 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_808); -x_819 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_819, 0, x_818); -x_820 = lean_array_push(x_816, x_819); -if (lean_is_scalar(x_817)) { - x_821 = lean_alloc_ctor(0, 2, 0); -} else { - x_821 = x_817; -} -lean_ctor_set(x_821, 0, x_815); -lean_ctor_set(x_821, 1, x_820); -x_822 = lean_st_ref_set(x_2, x_821, x_814); -lean_dec(x_2); -x_823 = lean_ctor_get(x_822, 1); -lean_inc(x_823); -if (lean_is_exclusive(x_822)) { - lean_ctor_release(x_822, 0); - lean_ctor_release(x_822, 1); - x_824 = x_822; -} else { - lean_dec_ref(x_822); - x_824 = lean_box(0); -} -if (lean_is_scalar(x_824)) { - x_825 = lean_alloc_ctor(0, 2, 0); -} else { - x_825 = x_824; -} -lean_ctor_set(x_825, 0, x_808); -lean_ctor_set(x_825, 1, x_823); -return x_825; -} -} -else -{ -lean_object* x_826; uint8_t x_827; -lean_dec(x_651); -lean_dec(x_10); -x_826 = l_Lean_Syntax_getArg(x_1, x_646); -x_827 = l_Lean_Syntax_isNone(x_826); -if (x_827 == 0) -{ -lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; -lean_dec(x_1); -x_828 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; -x_829 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_826, x_828, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_664); -lean_dec(x_2); -lean_dec(x_826); -x_830 = lean_ctor_get(x_829, 0); -lean_inc(x_830); -x_831 = lean_ctor_get(x_829, 1); -lean_inc(x_831); -if (lean_is_exclusive(x_829)) { - lean_ctor_release(x_829, 0); - lean_ctor_release(x_829, 1); - x_832 = x_829; -} else { - lean_dec_ref(x_829); - x_832 = lean_box(0); -} -if (lean_is_scalar(x_832)) { - x_833 = lean_alloc_ctor(1, 2, 0); -} else { - x_833 = x_832; -} -lean_ctor_set(x_833, 0, x_830); -lean_ctor_set(x_833, 1, x_831); -return x_833; -} -else -{ -lean_object* x_834; lean_object* x_835; -lean_dec(x_826); -x_834 = lean_box(0); -x_835 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_834, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -return x_835; -} -} -} -else -{ -lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; -lean_dec(x_651); -lean_dec(x_10); -x_836 = l_Lean_Syntax_getArg(x_1, x_646); -x_837 = l_Lean_Syntax_getArgs(x_836); -lean_dec(x_836); -x_838 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; -x_839 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_837, x_838, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_837); -if (lean_obj_tag(x_839) == 0) -{ -lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; -x_840 = lean_ctor_get(x_839, 0); -lean_inc(x_840); -x_841 = lean_ctor_get(x_839, 1); -lean_inc(x_841); -if (lean_is_exclusive(x_839)) { - lean_ctor_release(x_839, 0); - lean_ctor_release(x_839, 1); - x_842 = x_839; -} else { - lean_dec_ref(x_839); - x_842 = lean_box(0); -} -x_843 = l_Lean_nullKind; -x_844 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_844, 0, x_843); -lean_ctor_set(x_844, 1, x_840); -x_845 = l_Lean_Syntax_setArg(x_1, x_646, x_844); -if (lean_is_scalar(x_842)) { - x_846 = lean_alloc_ctor(0, 2, 0); -} else { - x_846 = x_842; -} -lean_ctor_set(x_846, 0, x_845); -lean_ctor_set(x_846, 1, x_841); -return x_846; -} -else -{ -lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; -lean_dec(x_1); -x_847 = lean_ctor_get(x_839, 0); -lean_inc(x_847); -x_848 = lean_ctor_get(x_839, 1); -lean_inc(x_848); -if (lean_is_exclusive(x_839)) { - lean_ctor_release(x_839, 0); - lean_ctor_release(x_839, 1); - x_849 = x_839; -} else { - lean_dec_ref(x_839); - x_849 = lean_box(0); -} -if (lean_is_scalar(x_849)) { - x_850 = lean_alloc_ctor(1, 2, 0); -} else { - x_850 = x_849; -} -lean_ctor_set(x_850, 0, x_847); -lean_ctor_set(x_850, 1, x_848); -return x_850; -} -} -} -else -{ -lean_object* x_851; -lean_dec(x_651); -lean_dec(x_10); -x_851 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -lean_dec(x_1); -return x_851; -} -} -else -{ -lean_object* x_852; -lean_dec(x_651); -lean_dec(x_10); -x_852 = l_Lean_Elab_Term_CollectPatternVars_collect_processId(x_1, x_2, x_664, x_4, x_5, x_6, x_7, x_8, x_650); -return x_852; -} -} -} -} -else -{ -lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; uint8_t x_871; lean_object* x_872; lean_object* x_873; -x_860 = lean_ctor_get(x_7, 0); -x_861 = lean_ctor_get(x_7, 1); -x_862 = lean_ctor_get(x_7, 2); -x_863 = lean_ctor_get(x_7, 3); -x_864 = lean_ctor_get(x_7, 4); -x_865 = lean_ctor_get(x_7, 5); -x_866 = lean_ctor_get(x_7, 6); -x_867 = lean_ctor_get(x_7, 7); -lean_inc(x_867); -lean_inc(x_866); -lean_inc(x_865); -lean_inc(x_864); -lean_inc(x_863); -lean_inc(x_862); -lean_inc(x_861); -lean_inc(x_860); -lean_dec(x_7); -x_868 = l_Lean_replaceRef(x_1, x_863); -lean_dec(x_863); -x_869 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_869, 0, x_860); -lean_ctor_set(x_869, 1, x_861); -lean_ctor_set(x_869, 2, x_862); -lean_ctor_set(x_869, 3, x_868); -lean_ctor_set(x_869, 4, x_864); -lean_ctor_set(x_869, 5, x_865); -lean_ctor_set(x_869, 6, x_866); -lean_ctor_set(x_869, 7, x_867); -x_870 = lean_st_ref_take(x_8, x_9); -if (x_12 == 0) -{ -lean_object* x_1087; lean_object* x_1088; uint8_t x_1089; -x_1087 = lean_ctor_get(x_870, 0); -lean_inc(x_1087); -x_1088 = lean_ctor_get(x_870, 1); -lean_inc(x_1088); -lean_dec(x_870); -x_1089 = 0; -x_871 = x_1089; -x_872 = x_1087; -x_873 = x_1088; -goto block_1086; -} -else -{ -lean_object* x_1090; lean_object* x_1091; uint8_t x_1092; -x_1090 = lean_ctor_get(x_870, 0); -lean_inc(x_1090); -x_1091 = lean_ctor_get(x_870, 1); -lean_inc(x_1091); -lean_dec(x_870); -x_1092 = 1; -x_871 = x_1092; -x_872 = x_1090; -x_873 = x_1091; -goto block_1086; -} -block_1086: -{ -lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; uint8_t x_889; uint8_t x_890; uint8_t x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; uint8_t x_895; lean_object* x_896; lean_object* x_897; -x_874 = lean_ctor_get(x_872, 0); -lean_inc(x_874); -x_875 = lean_ctor_get(x_872, 1); -lean_inc(x_875); -x_876 = lean_ctor_get(x_872, 2); -lean_inc(x_876); -x_877 = lean_ctor_get(x_872, 3); -lean_inc(x_877); -if (lean_is_exclusive(x_872)) { - lean_ctor_release(x_872, 0); - lean_ctor_release(x_872, 1); - lean_ctor_release(x_872, 2); - lean_ctor_release(x_872, 3); - x_878 = x_872; -} else { - lean_dec_ref(x_872); - x_878 = lean_box(0); -} -x_879 = lean_unsigned_to_nat(1u); -x_880 = lean_nat_add(x_875, x_879); -if (lean_is_scalar(x_878)) { - x_881 = lean_alloc_ctor(0, 4, 0); -} else { - x_881 = x_878; -} -lean_ctor_set(x_881, 0, x_874); -lean_ctor_set(x_881, 1, x_880); -lean_ctor_set(x_881, 2, x_876); -lean_ctor_set(x_881, 3, x_877); -x_882 = lean_st_ref_set(x_8, x_881, x_873); -x_883 = lean_ctor_get(x_882, 1); -lean_inc(x_883); -if (lean_is_exclusive(x_882)) { - lean_ctor_release(x_882, 0); - lean_ctor_release(x_882, 1); - x_884 = x_882; -} else { - lean_dec_ref(x_882); - x_884 = lean_box(0); -} -x_885 = lean_ctor_get(x_3, 0); -lean_inc(x_885); -x_886 = lean_ctor_get(x_3, 1); -lean_inc(x_886); -x_887 = lean_ctor_get(x_3, 2); -lean_inc(x_887); -x_888 = lean_ctor_get(x_3, 3); -lean_inc(x_888); -x_889 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_890 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_891 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_892 = lean_ctor_get(x_3, 5); -lean_inc(x_892); -x_893 = lean_ctor_get(x_3, 6); -lean_inc(x_893); -x_894 = lean_ctor_get(x_3, 7); -lean_inc(x_894); -x_895 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_896 = x_3; -} else { - lean_dec_ref(x_3); - x_896 = lean_box(0); -} -if (lean_is_scalar(x_896)) { - x_897 = lean_alloc_ctor(0, 8, 4); -} else { - x_897 = x_896; -} -lean_ctor_set(x_897, 0, x_885); -lean_ctor_set(x_897, 1, x_886); -lean_ctor_set(x_897, 2, x_887); -lean_ctor_set(x_897, 3, x_888); -lean_ctor_set(x_897, 4, x_875); -lean_ctor_set(x_897, 5, x_892); -lean_ctor_set(x_897, 6, x_893); -lean_ctor_set(x_897, 7, x_894); -lean_ctor_set_uint8(x_897, sizeof(void*)*8, x_889); -lean_ctor_set_uint8(x_897, sizeof(void*)*8 + 1, x_890); -lean_ctor_set_uint8(x_897, sizeof(void*)*8 + 2, x_891); -lean_ctor_set_uint8(x_897, sizeof(void*)*8 + 3, x_895); -if (x_871 == 0) -{ -lean_object* x_898; uint8_t x_899; -x_898 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -x_899 = lean_name_eq(x_10, x_898); -if (x_899 == 0) -{ -lean_object* x_900; uint8_t x_901; -x_900 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; -x_901 = lean_name_eq(x_10, x_900); -if (x_901 == 0) -{ -lean_object* x_902; uint8_t x_903; -x_902 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; -x_903 = lean_name_eq(x_10, x_902); -if (x_903 == 0) -{ -lean_object* x_904; uint8_t x_905; -x_904 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_905 = lean_name_eq(x_10, x_904); -if (x_905 == 0) -{ -lean_object* x_906; uint8_t x_907; -x_906 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -x_907 = lean_name_eq(x_10, x_906); -if (x_907 == 0) -{ -lean_object* x_908; uint8_t x_909; -x_908 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; -x_909 = lean_name_eq(x_10, x_908); -if (x_909 == 0) -{ -lean_object* x_910; uint8_t x_911; -x_910 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; -x_911 = lean_name_eq(x_10, x_910); -if (x_911 == 0) -{ -lean_object* x_912; uint8_t x_913; -x_912 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; -x_913 = lean_name_eq(x_10, x_912); -if (x_913 == 0) -{ -lean_object* x_914; uint8_t x_915; -x_914 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_915 = lean_name_eq(x_10, x_914); -if (x_915 == 0) -{ -lean_object* x_916; uint8_t x_917; -x_916 = l_Lean_strLitKind; -x_917 = lean_name_eq(x_10, x_916); -if (x_917 == 0) -{ -lean_object* x_918; uint8_t x_919; -x_918 = l_Lean_numLitKind; -x_919 = lean_name_eq(x_10, x_918); -if (x_919 == 0) -{ -lean_object* x_920; uint8_t x_921; -x_920 = l_Lean_scientificLitKind; -x_921 = lean_name_eq(x_10, x_920); -if (x_921 == 0) -{ -lean_object* x_922; uint8_t x_923; -x_922 = l_Lean_charLitKind; -x_923 = lean_name_eq(x_10, x_922); -if (x_923 == 0) -{ -lean_object* x_924; uint8_t x_925; -lean_dec(x_884); -x_924 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; -x_925 = lean_name_eq(x_10, x_924); -if (x_925 == 0) -{ -lean_object* x_926; uint8_t x_927; -x_926 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; -x_927 = lean_name_eq(x_10, x_926); -if (x_927 == 0) -{ -lean_object* x_928; uint8_t x_929; -lean_dec(x_1); -x_928 = l_Lean_choiceKind; -x_929 = lean_name_eq(x_10, x_928); -lean_dec(x_10); -if (x_929 == 0) -{ -lean_object* x_930; -x_930 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_8); -lean_dec(x_869); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_897); -lean_dec(x_2); -return x_930; -} -else -{ -lean_object* x_931; lean_object* x_932; -x_931 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; -x_932 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_931, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_8); -lean_dec(x_869); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_897); -lean_dec(x_2); -return x_932; -} -} -else -{ -lean_object* x_933; -lean_dec(x_10); -lean_dec(x_2); -x_933 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_933; -} -} -else -{ -lean_object* x_934; -lean_dec(x_10); -lean_dec(x_2); -x_934 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_8); -lean_dec(x_869); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_934; -} -} -else -{ -lean_object* x_935; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_935 = lean_alloc_ctor(0, 2, 0); -} else { - x_935 = x_884; -} -lean_ctor_set(x_935, 0, x_1); -lean_ctor_set(x_935, 1, x_883); -return x_935; -} -} -else -{ -lean_object* x_936; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_936 = lean_alloc_ctor(0, 2, 0); -} else { - x_936 = x_884; -} -lean_ctor_set(x_936, 0, x_1); -lean_ctor_set(x_936, 1, x_883); -return x_936; -} -} -else -{ -lean_object* x_937; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_937 = lean_alloc_ctor(0, 2, 0); -} else { - x_937 = x_884; -} -lean_ctor_set(x_937, 0, x_1); -lean_ctor_set(x_937, 1, x_883); -return x_937; -} -} -else -{ -lean_object* x_938; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_938 = lean_alloc_ctor(0, 2, 0); -} else { - x_938 = x_884; -} -lean_ctor_set(x_938, 0, x_1); -lean_ctor_set(x_938, 1, x_883); -return x_938; -} -} -else -{ -lean_object* x_939; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_939 = lean_alloc_ctor(0, 2, 0); -} else { - x_939 = x_884; -} -lean_ctor_set(x_939, 0, x_1); -lean_ctor_set(x_939, 1, x_883); -return x_939; -} -} -else -{ -lean_object* x_940; lean_object* x_941; lean_object* x_942; -lean_dec(x_884); -lean_dec(x_10); -x_940 = lean_unsigned_to_nat(2u); -x_941 = l_Lean_Syntax_getArg(x_1, x_940); -lean_inc(x_8); -lean_inc(x_869); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_897); -lean_inc(x_2); -x_942 = l_Lean_Elab_Term_CollectPatternVars_collect(x_941, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -if (lean_obj_tag(x_942) == 0) -{ -lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; -x_943 = lean_ctor_get(x_942, 0); -lean_inc(x_943); -x_944 = lean_ctor_get(x_942, 1); -lean_inc(x_944); -lean_dec(x_942); -x_945 = lean_unsigned_to_nat(3u); -x_946 = l_Lean_Syntax_getArg(x_1, x_945); -x_947 = l_Lean_Elab_Term_CollectPatternVars_collect(x_946, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_944); -if (lean_obj_tag(x_947) == 0) -{ -lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; -x_948 = lean_ctor_get(x_947, 0); -lean_inc(x_948); -x_949 = lean_ctor_get(x_947, 1); -lean_inc(x_949); -if (lean_is_exclusive(x_947)) { - lean_ctor_release(x_947, 0); - lean_ctor_release(x_947, 1); - x_950 = x_947; -} else { - lean_dec_ref(x_947); - x_950 = lean_box(0); -} -x_951 = l_Lean_Syntax_setArg(x_1, x_940, x_943); -x_952 = l_Lean_Syntax_setArg(x_951, x_945, x_948); -if (lean_is_scalar(x_950)) { - x_953 = lean_alloc_ctor(0, 2, 0); -} else { - x_953 = x_950; -} -lean_ctor_set(x_953, 0, x_952); -lean_ctor_set(x_953, 1, x_949); -return x_953; -} -else -{ -lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; -lean_dec(x_943); -lean_dec(x_1); -x_954 = lean_ctor_get(x_947, 0); -lean_inc(x_954); -x_955 = lean_ctor_get(x_947, 1); -lean_inc(x_955); -if (lean_is_exclusive(x_947)) { - lean_ctor_release(x_947, 0); - lean_ctor_release(x_947, 1); - x_956 = x_947; -} else { - lean_dec_ref(x_947); - x_956 = lean_box(0); -} -if (lean_is_scalar(x_956)) { - x_957 = lean_alloc_ctor(1, 2, 0); -} else { - x_957 = x_956; -} -lean_ctor_set(x_957, 0, x_954); -lean_ctor_set(x_957, 1, x_955); -return x_957; -} -} -else -{ -lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_958 = lean_ctor_get(x_942, 0); -lean_inc(x_958); -x_959 = lean_ctor_get(x_942, 1); -lean_inc(x_959); -if (lean_is_exclusive(x_942)) { - lean_ctor_release(x_942, 0); - lean_ctor_release(x_942, 1); - x_960 = x_942; -} else { - lean_dec_ref(x_942); - x_960 = lean_box(0); -} -if (lean_is_scalar(x_960)) { - x_961 = lean_alloc_ctor(1, 2, 0); -} else { - x_961 = x_960; -} -lean_ctor_set(x_961, 0, x_958); -lean_ctor_set(x_961, 1, x_959); -return x_961; -} -} -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; -lean_dec(x_884); -lean_dec(x_10); -x_962 = lean_unsigned_to_nat(0u); -x_963 = l_Lean_Syntax_getArg(x_1, x_962); -lean_inc(x_869); -lean_inc(x_963); -x_964 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_963, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -if (lean_obj_tag(x_964) == 0) -{ -lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; -x_965 = lean_ctor_get(x_964, 1); -lean_inc(x_965); -lean_dec(x_964); -x_966 = lean_unsigned_to_nat(2u); -x_967 = l_Lean_Syntax_getArg(x_1, x_966); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_869); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_897); -x_968 = l_Lean_Elab_Term_CollectPatternVars_collect(x_967, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_965); -if (lean_obj_tag(x_968) == 0) -{ -lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; -x_969 = lean_ctor_get(x_968, 0); -lean_inc(x_969); -x_970 = lean_ctor_get(x_968, 1); -lean_inc(x_970); -lean_dec(x_968); -x_971 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_869, x_8, x_970); -x_972 = lean_ctor_get(x_971, 0); -lean_inc(x_972); -x_973 = lean_ctor_get(x_971, 1); -lean_inc(x_973); -lean_dec(x_971); -x_974 = l_Lean_Elab_Term_getCurrMacroScope(x_897, x_4, x_5, x_6, x_869, x_8, x_973); -lean_dec(x_869); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_897); -x_975 = lean_ctor_get(x_974, 0); -lean_inc(x_975); -x_976 = lean_ctor_get(x_974, 1); -lean_inc(x_976); -lean_dec(x_974); -x_977 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_976); -lean_dec(x_8); -x_978 = lean_ctor_get(x_977, 0); -lean_inc(x_978); -x_979 = lean_ctor_get(x_977, 1); -lean_inc(x_979); -if (lean_is_exclusive(x_977)) { - lean_ctor_release(x_977, 0); - lean_ctor_release(x_977, 1); - x_980 = x_977; -} else { - lean_dec_ref(x_977); - x_980 = lean_box(0); -} -x_981 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; -x_982 = l_Lean_addMacroScope(x_978, x_981, x_975); -x_983 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; -x_984 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -x_985 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_985, 0, x_972); -lean_ctor_set(x_985, 1, x_983); -lean_ctor_set(x_985, 2, x_982); -lean_ctor_set(x_985, 3, x_984); -x_986 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; -x_987 = lean_array_push(x_986, x_963); -x_988 = lean_array_push(x_987, x_969); -x_989 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; -x_990 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_990, 0, x_989); -lean_ctor_set(x_990, 1, x_988); -x_991 = lean_array_push(x_986, x_985); -x_992 = lean_array_push(x_991, x_990); -x_993 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_993, 0, x_898); -lean_ctor_set(x_993, 1, x_992); -if (lean_is_scalar(x_980)) { - x_994 = lean_alloc_ctor(0, 2, 0); -} else { - x_994 = x_980; -} -lean_ctor_set(x_994, 0, x_993); -lean_ctor_set(x_994, 1, x_979); -return x_994; -} -else -{ -lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; -lean_dec(x_963); -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_995 = lean_ctor_get(x_968, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_968, 1); -lean_inc(x_996); -if (lean_is_exclusive(x_968)) { - lean_ctor_release(x_968, 0); - lean_ctor_release(x_968, 1); - x_997 = x_968; -} else { - lean_dec_ref(x_968); - x_997 = lean_box(0); -} -if (lean_is_scalar(x_997)) { - x_998 = lean_alloc_ctor(1, 2, 0); -} else { - x_998 = x_997; -} -lean_ctor_set(x_998, 0, x_995); -lean_ctor_set(x_998, 1, x_996); -return x_998; -} -} -else -{ -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; -lean_dec(x_963); -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_999 = lean_ctor_get(x_964, 0); -lean_inc(x_999); -x_1000 = lean_ctor_get(x_964, 1); -lean_inc(x_1000); -if (lean_is_exclusive(x_964)) { - lean_ctor_release(x_964, 0); - lean_ctor_release(x_964, 1); - x_1001 = x_964; -} else { - lean_dec_ref(x_964); - x_1001 = lean_box(0); -} -if (lean_is_scalar(x_1001)) { - x_1002 = lean_alloc_ctor(1, 2, 0); -} else { - x_1002 = x_1001; -} -lean_ctor_set(x_1002, 0, x_999); -lean_ctor_set(x_1002, 1, x_1000); -return x_1002; -} -} -} -else -{ -lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; -lean_dec(x_884); -lean_dec(x_10); -x_1003 = lean_unsigned_to_nat(0u); -x_1004 = l_Lean_Syntax_getArg(x_1, x_1003); -lean_dec(x_1); -x_1005 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_1004, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -return x_1005; -} -} -else -{ -lean_object* x_1006; uint8_t x_1007; -lean_dec(x_10); -x_1006 = l_Lean_Syntax_getArg(x_1, x_879); -x_1007 = l_Lean_Syntax_isNone(x_1006); -if (x_1007 == 0) -{ -lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; uint8_t x_1011; -x_1008 = lean_unsigned_to_nat(0u); -x_1009 = l_Lean_Syntax_getArg(x_1006, x_1008); -x_1010 = l_Lean_Syntax_getArg(x_1006, x_879); -x_1011 = l_Lean_Syntax_isNone(x_1010); -if (x_1011 == 0) -{ -lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; uint8_t x_1015; -x_1012 = l_Lean_Syntax_getArg(x_1010, x_1008); -lean_dec(x_1010); -x_1013 = l_Lean_Syntax_getKind(x_1012); -x_1014 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; -x_1015 = lean_name_eq(x_1013, x_1014); -lean_dec(x_1013); -if (x_1015 == 0) -{ -lean_object* x_1016; -lean_dec(x_1009); -lean_dec(x_1006); -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_1016 = lean_alloc_ctor(0, 2, 0); -} else { - x_1016 = x_884; -} -lean_ctor_set(x_1016, 0, x_1); -lean_ctor_set(x_1016, 1, x_883); -return x_1016; -} -else -{ -lean_object* x_1017; -lean_dec(x_884); -x_1017 = l_Lean_Elab_Term_CollectPatternVars_collect(x_1009, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -if (lean_obj_tag(x_1017) == 0) -{ -lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; -x_1018 = lean_ctor_get(x_1017, 0); -lean_inc(x_1018); -x_1019 = lean_ctor_get(x_1017, 1); -lean_inc(x_1019); -if (lean_is_exclusive(x_1017)) { - lean_ctor_release(x_1017, 0); - lean_ctor_release(x_1017, 1); - x_1020 = x_1017; -} else { - lean_dec_ref(x_1017); - x_1020 = lean_box(0); -} -x_1021 = l_Lean_Syntax_setArg(x_1006, x_1008, x_1018); -x_1022 = l_Lean_Syntax_setArg(x_1, x_879, x_1021); -if (lean_is_scalar(x_1020)) { - x_1023 = lean_alloc_ctor(0, 2, 0); -} else { - x_1023 = x_1020; -} -lean_ctor_set(x_1023, 0, x_1022); -lean_ctor_set(x_1023, 1, x_1019); -return x_1023; -} -else -{ -lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; -lean_dec(x_1006); -lean_dec(x_1); -x_1024 = lean_ctor_get(x_1017, 0); -lean_inc(x_1024); -x_1025 = lean_ctor_get(x_1017, 1); -lean_inc(x_1025); -if (lean_is_exclusive(x_1017)) { - lean_ctor_release(x_1017, 0); - lean_ctor_release(x_1017, 1); - x_1026 = x_1017; -} else { - lean_dec_ref(x_1017); - x_1026 = lean_box(0); -} -if (lean_is_scalar(x_1026)) { - x_1027 = lean_alloc_ctor(1, 2, 0); -} else { - x_1027 = x_1026; -} -lean_ctor_set(x_1027, 0, x_1024); -lean_ctor_set(x_1027, 1, x_1025); -return x_1027; -} -} -} -else -{ -lean_object* x_1028; -lean_dec(x_1010); -lean_dec(x_884); -x_1028 = l_Lean_Elab_Term_CollectPatternVars_collect(x_1009, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -if (lean_obj_tag(x_1028) == 0) -{ -lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; -x_1029 = lean_ctor_get(x_1028, 0); -lean_inc(x_1029); -x_1030 = lean_ctor_get(x_1028, 1); -lean_inc(x_1030); -if (lean_is_exclusive(x_1028)) { - lean_ctor_release(x_1028, 0); - lean_ctor_release(x_1028, 1); - x_1031 = x_1028; -} else { - lean_dec_ref(x_1028); - x_1031 = lean_box(0); -} -x_1032 = l_Lean_Syntax_setArg(x_1006, x_1008, x_1029); -x_1033 = l_Lean_Syntax_setArg(x_1, x_879, x_1032); -if (lean_is_scalar(x_1031)) { - x_1034 = lean_alloc_ctor(0, 2, 0); -} else { - x_1034 = x_1031; -} -lean_ctor_set(x_1034, 0, x_1033); -lean_ctor_set(x_1034, 1, x_1030); -return x_1034; -} -else -{ -lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; -lean_dec(x_1006); -lean_dec(x_1); -x_1035 = lean_ctor_get(x_1028, 0); -lean_inc(x_1035); -x_1036 = lean_ctor_get(x_1028, 1); -lean_inc(x_1036); -if (lean_is_exclusive(x_1028)) { - lean_ctor_release(x_1028, 0); - lean_ctor_release(x_1028, 1); - x_1037 = x_1028; -} else { - lean_dec_ref(x_1028); - x_1037 = lean_box(0); -} -if (lean_is_scalar(x_1037)) { - x_1038 = lean_alloc_ctor(1, 2, 0); -} else { - x_1038 = x_1037; -} -lean_ctor_set(x_1038, 0, x_1035); -lean_ctor_set(x_1038, 1, x_1036); -return x_1038; -} -} -} -else -{ -lean_object* x_1039; -lean_dec(x_1006); -lean_dec(x_897); -lean_dec(x_869); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_884)) { - x_1039 = lean_alloc_ctor(0, 2, 0); -} else { - x_1039 = x_884; -} -lean_ctor_set(x_1039, 0, x_1); -lean_ctor_set(x_1039, 1, x_883); -return x_1039; -} -} -} -else -{ -lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_869); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_1040 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(x_8, x_883); -x_1041 = lean_ctor_get(x_1040, 0); -lean_inc(x_1041); -x_1042 = lean_ctor_get(x_1040, 1); -lean_inc(x_1042); -lean_dec(x_1040); -x_1043 = lean_st_ref_get(x_8, x_1042); -lean_dec(x_8); -x_1044 = lean_ctor_get(x_1043, 1); -lean_inc(x_1044); -lean_dec(x_1043); -x_1045 = lean_st_ref_take(x_2, x_1044); -x_1046 = lean_ctor_get(x_1045, 0); -lean_inc(x_1046); -x_1047 = lean_ctor_get(x_1045, 1); -lean_inc(x_1047); -lean_dec(x_1045); -x_1048 = lean_ctor_get(x_1046, 0); -lean_inc(x_1048); -x_1049 = lean_ctor_get(x_1046, 1); -lean_inc(x_1049); -if (lean_is_exclusive(x_1046)) { - lean_ctor_release(x_1046, 0); - lean_ctor_release(x_1046, 1); - x_1050 = x_1046; -} else { - lean_dec_ref(x_1046); - x_1050 = lean_box(0); -} -x_1051 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(x_1041); -x_1052 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1052, 0, x_1051); -x_1053 = lean_array_push(x_1049, x_1052); -if (lean_is_scalar(x_1050)) { - x_1054 = lean_alloc_ctor(0, 2, 0); -} else { - x_1054 = x_1050; -} -lean_ctor_set(x_1054, 0, x_1048); -lean_ctor_set(x_1054, 1, x_1053); -x_1055 = lean_st_ref_set(x_2, x_1054, x_1047); -lean_dec(x_2); -x_1056 = lean_ctor_get(x_1055, 1); -lean_inc(x_1056); -if (lean_is_exclusive(x_1055)) { - lean_ctor_release(x_1055, 0); - lean_ctor_release(x_1055, 1); - x_1057 = x_1055; -} else { - lean_dec_ref(x_1055); - x_1057 = lean_box(0); -} -if (lean_is_scalar(x_1057)) { - x_1058 = lean_alloc_ctor(0, 2, 0); -} else { - x_1058 = x_1057; -} -lean_ctor_set(x_1058, 0, x_1041); -lean_ctor_set(x_1058, 1, x_1056); -return x_1058; -} -} -else -{ -lean_object* x_1059; uint8_t x_1060; -lean_dec(x_884); -lean_dec(x_10); -x_1059 = l_Lean_Syntax_getArg(x_1, x_879); -x_1060 = l_Lean_Syntax_isNone(x_1059); -if (x_1060 == 0) -{ -lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; -lean_dec(x_1); -x_1061 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; -x_1062 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_1059, x_1061, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_897); -lean_dec(x_2); -lean_dec(x_1059); -x_1063 = lean_ctor_get(x_1062, 0); -lean_inc(x_1063); -x_1064 = lean_ctor_get(x_1062, 1); -lean_inc(x_1064); -if (lean_is_exclusive(x_1062)) { - lean_ctor_release(x_1062, 0); - lean_ctor_release(x_1062, 1); - x_1065 = x_1062; -} else { - lean_dec_ref(x_1062); - x_1065 = lean_box(0); -} -if (lean_is_scalar(x_1065)) { - x_1066 = lean_alloc_ctor(1, 2, 0); -} else { - x_1066 = x_1065; -} -lean_ctor_set(x_1066, 0, x_1063); -lean_ctor_set(x_1066, 1, x_1064); -return x_1066; -} -else -{ -lean_object* x_1067; lean_object* x_1068; -lean_dec(x_1059); -x_1067 = lean_box(0); -x_1068 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_1067, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -return x_1068; -} -} -} -else -{ -lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; -lean_dec(x_884); -lean_dec(x_10); -x_1069 = l_Lean_Syntax_getArg(x_1, x_879); -x_1070 = l_Lean_Syntax_getArgs(x_1069); -lean_dec(x_1069); -x_1071 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; -x_1072 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_1070, x_1071, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_1070); -if (lean_obj_tag(x_1072) == 0) -{ -lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; -x_1073 = lean_ctor_get(x_1072, 0); -lean_inc(x_1073); -x_1074 = lean_ctor_get(x_1072, 1); -lean_inc(x_1074); -if (lean_is_exclusive(x_1072)) { - lean_ctor_release(x_1072, 0); - lean_ctor_release(x_1072, 1); - x_1075 = x_1072; -} else { - lean_dec_ref(x_1072); - x_1075 = lean_box(0); -} -x_1076 = l_Lean_nullKind; -x_1077 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1077, 0, x_1076); -lean_ctor_set(x_1077, 1, x_1073); -x_1078 = l_Lean_Syntax_setArg(x_1, x_879, x_1077); -if (lean_is_scalar(x_1075)) { - x_1079 = lean_alloc_ctor(0, 2, 0); -} else { - x_1079 = x_1075; -} -lean_ctor_set(x_1079, 0, x_1078); -lean_ctor_set(x_1079, 1, x_1074); -return x_1079; -} -else -{ -lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; -lean_dec(x_1); -x_1080 = lean_ctor_get(x_1072, 0); -lean_inc(x_1080); -x_1081 = lean_ctor_get(x_1072, 1); -lean_inc(x_1081); -if (lean_is_exclusive(x_1072)) { - lean_ctor_release(x_1072, 0); - lean_ctor_release(x_1072, 1); - x_1082 = x_1072; -} else { - lean_dec_ref(x_1072); - x_1082 = lean_box(0); -} -if (lean_is_scalar(x_1082)) { - x_1083 = lean_alloc_ctor(1, 2, 0); -} else { - x_1083 = x_1082; -} -lean_ctor_set(x_1083, 0, x_1080); -lean_ctor_set(x_1083, 1, x_1081); -return x_1083; -} -} -} -else -{ -lean_object* x_1084; -lean_dec(x_884); -lean_dec(x_10); -x_1084 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -lean_dec(x_1); -return x_1084; -} -} -else -{ -lean_object* x_1085; -lean_dec(x_884); -lean_dec(x_10); -x_1085 = l_Lean_Elab_Term_CollectPatternVars_collect_processId(x_1, x_2, x_897, x_4, x_5, x_6, x_869, x_8, x_883); -return x_1085; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_16); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; -x_20 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_19); -x_21 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_22 = lean_array_push(x_21, x_20); -x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -return x_26; -} -else -{ -lean_object* x_27; -x_27 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_27; -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId(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; -x_10 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; -x_11 = 1; -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_12 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_13, 0); -lean_inc(x_16); -lean_dec(x_13); -if (lean_obj_tag(x_16) == 4) -{ -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_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_8, x_17); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_18); -x_23 = lean_environment_find(x_22, x_18); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -lean_dec(x_18); -lean_dec(x_1); -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -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_24; -} -else -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -if (lean_obj_tag(x_25) == 6) -{ -lean_object* x_26; -lean_dec(x_25); -lean_dec(x_18); -x_26 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -lean_dec(x_25); -x_27 = lean_st_ref_get(x_8, x_21); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_matchPatternAttr; -x_32 = l_Lean_TagAttribute_hasTag(x_31, x_30, x_18); -lean_dec(x_18); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_33; -} -else -{ -lean_object* x_34; -x_34 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); -return x_34; -} -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_16); -x_35 = lean_ctor_get(x_12, 1); -lean_inc(x_35); -lean_dec(x_12); -x_36 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_36; -} -} -} -else -{ -uint8_t x_37; -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_37 = !lean_is_exclusive(x_12); -if (x_37 == 0) -{ -return x_12; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_12, 0); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_12); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(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; -x_10 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_11 = 0; -x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_1, x_10, x_10, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_12; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___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_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(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_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3(x_12, x_13, 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_14; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_2); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_1); -lean_dec(x_1); -x_14 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_13, x_2, 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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_4); -lean_dec(x_4); -x_14 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_Elab_Term_CollectPatternVars_collect_processExplicitArg___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: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -lean_dec(x_1); -x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_1); -lean_dec(x_1); -x_13 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___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_1); -lean_dec(x_1); -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_13; -} -} -lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_CollectPatternVars_collect___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_2); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg___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: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -lean_dec(x_1); -x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___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) { -_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_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("["); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("] "); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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; 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; uint8_t x_35; -x_22 = lean_ctor_get(x_17, 0); -lean_inc(x_1); -x_23 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_13); -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -lean_inc(x_11); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_11); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); -lean_ctor_set(x_17, 0, x_33); -x_34 = lean_st_ref_set(x_9, x_16, x_18); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, 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; 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_42 = lean_ctor_get(x_17, 0); -lean_inc(x_42); -lean_dec(x_17); -lean_inc(x_1); -x_43 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_13); -x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_11); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); -x_54 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); -lean_ctor_set(x_16, 3, x_54); -x_55 = lean_st_ref_set(x_9, x_16, 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; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; -x_60 = lean_ctor_get(x_16, 0); -x_61 = lean_ctor_get(x_16, 1); -x_62 = lean_ctor_get(x_16, 2); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_16); -x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_64 = lean_ctor_get(x_17, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_65 = x_17; -} else { - lean_dec_ref(x_17); - x_65 = lean_box(0); -} -lean_inc(x_1); -x_66 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_13); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -lean_inc(x_11); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_11); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); -if (lean_is_scalar(x_65)) { - x_77 = lean_alloc_ctor(0, 1, 1); -} else { - x_77 = x_65; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_60); -lean_ctor_set(x_78, 1, x_61); -lean_ctor_set(x_78, 2, x_62); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_st_ref_set(x_9, x_78, x_18); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; -} else { - lean_dec_ref(x_79); - x_81 = lean_box(0); -} -x_82 = lean_box(0); -if (lean_is_scalar(x_81)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_81; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("collecting variables at pattern: "); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(size_t x_1, size_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: -{ -uint8_t x_12; -x_12 = x_2 < x_1; -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_13 = x_3; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; -} -else -{ -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_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_15 = lean_array_uget(x_3, x_2); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_uset(x_3, x_2, x_16); -x_18 = x_15; -x_27 = lean_st_ref_get(x_10, x_11); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); -lean_dec(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_dec(x_27); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_32 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_19 = x_33; -x_20 = x_34; -goto block_26; -} -else -{ -uint8_t x_35; -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) -{ -return x_32; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_32, 0); -x_37 = lean_ctor_get(x_32, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_32); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_39 = lean_ctor_get(x_27, 1); -lean_inc(x_39); -lean_dec(x_27); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_41 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_unbox(x_42); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_45 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_19 = x_46; -x_20 = x_47; -goto block_26; -} -else -{ -uint8_t x_48; -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) -{ -return x_45; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -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; 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_52 = lean_ctor_get(x_41, 1); -lean_inc(x_52); -lean_dec(x_41); -lean_inc(x_18); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_18); -x_54 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(x_40, x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_60 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_19 = x_61; -x_20 = x_62; -goto block_26; -} -else -{ -uint8_t x_63; -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_63 = !lean_is_exclusive(x_60); -if (x_63 == 0) -{ -return x_60; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_60, 0); -x_65 = lean_ctor_get(x_60, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_60); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; -} -} -} -} -block_26: -{ -size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; -x_21 = 1; -x_22 = x_2 + x_21; -x_23 = x_19; -x_24 = lean_array_uset(x_17, x_2, x_23); -x_2 = x_22; -x_3 = x_24; -x_11 = x_20; -goto _start; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_CollectPatternVars_main(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 = !lean_is_exclusive(x_1); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t 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; -x_11 = lean_ctor_get(x_1, 0); -x_12 = lean_ctor_get(x_1, 1); -x_13 = lean_ctor_get(x_1, 2); -x_14 = lean_array_get_size(x_12); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = x_12; -x_17 = lean_box_usize(x_15); -x_18 = l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; -x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___boxed), 11, 3); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -lean_closure_set(x_19, 2, x_16); -x_20 = x_19; -x_21 = lean_apply_8(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_ctor_set(x_1, 1, x_23); -lean_ctor_set(x_21, 0, x_1); -return x_21; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_21, 0); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_21); -lean_ctor_set(x_1, 1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_1); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_free_object(x_1); -lean_dec(x_13); -lean_dec(x_11); -x_27 = !lean_is_exclusive(x_21); -if (x_27 == 0) -{ -return x_21; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_21, 0); -x_29 = lean_ctor_get(x_21, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_21); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_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; -x_31 = lean_ctor_get(x_1, 0); -x_32 = lean_ctor_get(x_1, 1); -x_33 = lean_ctor_get(x_1, 2); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_1); -x_34 = lean_array_get_size(x_32); -x_35 = lean_usize_of_nat(x_34); -lean_dec(x_34); -x_36 = x_32; -x_37 = lean_box_usize(x_35); -x_38 = l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; -x_39 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___boxed), 11, 3); -lean_closure_set(x_39, 0, x_37); -lean_closure_set(x_39, 1, x_38); -lean_closure_set(x_39, 2, x_36); -x_40 = x_39; -x_41 = lean_apply_8(x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); -} -x_45 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_45, 0, x_31); -lean_ctor_set(x_45, 1, x_42); -lean_ctor_set(x_45, 2, x_33); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_33); -lean_dec(x_31); -x_47 = lean_ctor_get(x_41, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_41, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_49 = x_41; -} else { - lean_dec_ref(x_41); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___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) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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_Lean_Elab_Term_CollectPatternVars_main___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___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, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1___rarg), 2, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_NameSet_empty; -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars(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; -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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; -x_12 = lean_st_mk_ref(x_11, 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); -lean_inc(x_7); -lean_inc(x_13); -x_15 = l_Lean_Elab_Term_CollectPatternVars_main(x_1, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_15) == 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; -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_st_ref_get(x_7, x_17); -lean_dec(x_7); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_st_ref_get(x_13, x_19); -lean_dec(x_13); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_20, 0, x_24); -return x_20; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_20, 0); -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_20); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_16); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_13); -lean_dec(x_7); -x_30 = !lean_is_exclusive(x_15); -if (x_30 == 0) -{ -return x_15; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_15, 0); -x_32 = lean_ctor_get(x_15, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_15); -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; -} -} -} -} -lean_object* l_Lean_Elab_Term_getPatternVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars(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; -x_9 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); -lean_closure_set(x_9, 0, x_1); -lean_inc(x_6); -lean_inc(x_2); -x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) -{ -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; -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_st_ref_get(x_7, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; -x_16 = lean_st_mk_ref(x_15, x_14); -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_7); -lean_inc(x_17); -x_19 = l_Lean_Elab_Term_CollectPatternVars_collect(x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_7, x_20); -lean_dec(x_7); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_17, x_22); -lean_dec(x_17); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; -lean_dec(x_17); -lean_dec(x_7); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -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_35 = !lean_is_exclusive(x_10); -if (x_35 == 0) -{ -return x_10; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_10, 0); -x_37 = lean_ctor_get(x_10, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_10); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -lean_object* l_Lean_Elab_Term_getPatternsVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_getPatternsVars_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternsVars_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___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; 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; uint8_t x_35; -x_22 = lean_ctor_get(x_17, 0); -lean_inc(x_1); -x_23 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_13); -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -lean_inc(x_11); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_11); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); -lean_ctor_set(x_17, 0, x_33); -x_34 = lean_st_ref_set(x_9, x_16, x_18); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, 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; 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_42 = lean_ctor_get(x_17, 0); -lean_inc(x_42); -lean_dec(x_17); -lean_inc(x_1); -x_43 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_13); -x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_11); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); -x_54 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); -lean_ctor_set(x_16, 3, x_54); -x_55 = lean_st_ref_set(x_9, x_16, 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; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; -x_60 = lean_ctor_get(x_16, 0); -x_61 = lean_ctor_get(x_16, 1); -x_62 = lean_ctor_get(x_16, 2); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_16); -x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_64 = lean_ctor_get(x_17, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_65 = x_17; -} else { - lean_dec_ref(x_17); - x_65 = lean_box(0); -} -lean_inc(x_1); -x_66 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_13); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -lean_inc(x_11); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_11); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); -if (lean_is_scalar(x_65)) { - x_77 = lean_alloc_ctor(0, 1, 1); -} else { - x_77 = x_65; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_60); -lean_ctor_set(x_78, 1, x_61); -lean_ctor_set(x_78, 2, x_62); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_st_ref_set(x_9, x_78, x_18); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; -} else { - lean_dec_ref(x_79); - x_81 = lean_box(0); -} -x_82 = lean_box(0); -if (lean_is_scalar(x_81)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_81; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___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: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_st_ref_get(x_8, x_9); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -lean_dec(x_15); -lean_dec(x_14); -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_1 = x_13; -x_9 = x_20; -goto _start; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_dec(x_16); -lean_inc(x_14); -x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_15); -lean_dec(x_14); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_1 = x_13; -x_9 = x_26; -goto _start; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_dec(x_23); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_15); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_1 = x_13; -x_9 = x_32; -goto _start; -} -} -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -return x_14; -} -else -{ -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; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___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) { -_start: -{ -lean_object* x_8; -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg), 1, 0); -return x_8; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 0); -lean_dec(x_8); -x_9 = lean_box(0); -lean_ctor_set(x_5, 0, x_9); -return x_5; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_dec(x_5); -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_10); -return x_12; -} -} -else -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_6); -if (x_13 == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_5); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_5, 0); -lean_dec(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -lean_ctor_set(x_6, 0, x_17); -return x_5; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_6, 0); -x_19 = lean_ctor_get(x_5, 1); -lean_inc(x_19); -lean_dec(x_5); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -lean_ctor_set(x_6, 0, x_20); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_6); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -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; -x_22 = lean_ctor_get(x_6, 0); -lean_inc(x_22); -lean_dec(x_6); -x_23 = lean_ctor_get(x_5, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_24 = x_5; -} else { - lean_dec_ref(x_5); - x_24 = lean_box(0); -} -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -if (lean_is_scalar(x_24)) { - x_27 = lean_alloc_ctor(0, 2, 0); -} else { - x_27 = x_24; -} -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -return x_27; -} -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_5); -if (x_28 == 0) -{ -return x_5; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_5, 0); -x_30 = lean_ctor_get(x_5, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_5); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___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) { -_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; 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; -x_10 = lean_st_ref_get(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_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_7, 4); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 5); -lean_inc(x_15); -lean_inc(x_13); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed), 4, 1); -lean_closure_set(x_16, 0, x_13); -lean_inc(x_14); -x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_17, 0, x_14); -lean_inc(x_13); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed), 4, 1); -lean_closure_set(x_18, 0, x_13); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed), 6, 3); -lean_closure_set(x_19, 0, x_13); -lean_closure_set(x_19, 1, x_14); -lean_closure_set(x_19, 2, x_15); -lean_inc(x_13); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed), 6, 3); -lean_closure_set(x_20, 0, x_13); -lean_closure_set(x_20, 1, x_14); -lean_closure_set(x_20, 2, x_15); -x_21 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_17); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_19); -lean_ctor_set(x_21, 4, x_20); -x_22 = x_21; -x_23 = lean_ctor_get(x_7, 3); -lean_inc(x_23); -x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); -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_ctor_get(x_7, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_7, 2); -lean_inc(x_28); -x_29 = lean_st_ref_get(x_8, x_26); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_environment_main_module(x_13); -x_34 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_34, 0, x_22); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_23); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_apply_2(x_1, x_34, x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_st_ref_take(x_8, x_31); -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 = !lean_is_exclusive(x_42); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_45 = lean_ctor_get(x_42, 1); -lean_dec(x_45); -lean_ctor_set(x_42, 1, x_40); -x_46 = lean_st_ref_set(x_8, x_42, x_43); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get(x_39, 1); -lean_inc(x_48); -lean_dec(x_39); -x_49 = l_List_reverse___rarg(x_48); -x_50 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); -lean_dec(x_7); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_38); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_38); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -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; 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_55 = lean_ctor_get(x_42, 0); -x_56 = lean_ctor_get(x_42, 2); -x_57 = lean_ctor_get(x_42, 3); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_42); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_40); -lean_ctor_set(x_58, 2, x_56); -lean_ctor_set(x_58, 3, x_57); -x_59 = lean_st_ref_set(x_8, x_58, x_43); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_ctor_get(x_39, 1); -lean_inc(x_61); -lean_dec(x_39); -x_62 = l_List_reverse___rarg(x_61); -x_63 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -lean_dec(x_7); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; -} else { - lean_dec_ref(x_63); - x_65 = lean_box(0); -} -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_38); -lean_ctor_set(x_66, 1, x_64); -return x_66; -} -} -else -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_37, 0); -lean_inc(x_67); -lean_dec(x_37); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_70, 0, x_69); -x_71 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(x_68, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); -lean_dec(x_68); -return x_72; -} -else -{ -lean_object* x_73; -lean_dec(x_7); -x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(x_31); -return x_73; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(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, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = x_3 < x_2; -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_4); -x_15 = lean_array_uget(x_1, x_3); -x_16 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); -lean_closure_set(x_16, 0, x_15); -lean_inc(x_10); -x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_20 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = 1; -x_23 = x_3 + x_22; -x_24 = lean_box(0); -x_3 = x_23; -x_4 = x_24; -x_12 = x_21; -goto _start; -} -else -{ -uint8_t x_26; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) -{ -return x_17; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_17); -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; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_getPatternsVars(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; size_t x_10; size_t 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; -x_9 = lean_array_get_size(x_1); -x_10 = lean_usize_of_nat(x_9); -lean_dec(x_9); -x_11 = 0; -x_12 = lean_st_ref_get(x_7, x_8); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; -x_15 = lean_st_mk_ref(x_14, x_13); -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_box(0); -lean_inc(x_7); -lean_inc(x_16); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_10, x_11, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_7, x_20); -lean_dec(x_7); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_16, x_22); -lean_dec(x_16); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; -lean_dec(x_16); -lean_dec(x_7); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -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; -} -} -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___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_Lean_Elab_Term_getPatternsVars___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_List_forM___at_Lean_Elab_Term_getPatternsVars___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_List_forM___at_Lean_Elab_Term_getPatternsVars___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_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -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_8; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__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_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___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_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Lean_Elab_Term_getPatternsVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_getPatternsVars(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_Elab_Term_getPatternVarNames_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_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Term_getPatternVarNames_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVarNames_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; size_t x_7; size_t x_8; -x_6 = lean_array_uget(x_1, x_2); -x_7 = 1; -x_8 = x_2 + x_7; -if (lean_obj_tag(x_6) == 0) -{ -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_10 = lean_array_push(x_4, x_9); -x_2 = x_8; -x_4 = x_10; -goto _start; -} -else -{ -lean_dec(x_6); -x_2 = x_8; -goto _start; -} -} -else -{ -return x_4; -} -} -} -lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_nat_dec_lt(x_2, x_3); -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -return x_5; -} -else -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_get_size(x_1); -x_7 = lean_nat_dec_le(x_3, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -return x_8; -} -else -{ -size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_usize_of_nat(x_2); -x_10 = lean_usize_of_nat(x_3); -x_11 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(x_1, x_9, x_10, x_11); -return x_12; -} -} -} -} -lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_array_get_size(x_1); -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(x_1, x_3, x_2); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_Elab_Term_getPatternVarNames___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Term_getPatternVarNames(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Term_precheckMatch_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -18745,7 +5345,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_array_get_size(x_1); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_5 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_6 = l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -19185,7 +5785,7 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_3); x_15 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1; -x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_2, x_15); +x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_2, x_15); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; @@ -19239,7 +5839,7 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_3); x_29 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1; -x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_2, x_29); +x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_2, x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -19294,7 +5894,7 @@ x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); lean_dec(x_44); x_46 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1; -x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_45, x_46); +x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_45, x_46); lean_dec(x_45); if (lean_obj_tag(x_47) == 0) { @@ -19347,7 +5947,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_3 = lean_box(x_1); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -19370,7 +5970,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_3 = l_Lean_Elab_Term_precheckMatch___closed__1; x_4 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckMatch___lambda__3___boxed), 4, 3); lean_closure_set(x_4, 0, x_1); @@ -19448,7 +6048,7 @@ if (x_23 == 0) lean_object* x_131; lean_dec(x_22); lean_dec(x_21); -x_131 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_131 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_24 = x_131; goto block_130; } @@ -19461,7 +6061,7 @@ if (x_132 == 0) lean_object* x_133; lean_dec(x_22); lean_dec(x_21); -x_133 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_133 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_24 = x_133; goto block_130; } @@ -19485,7 +6085,7 @@ block_130: { lean_object* x_25; lean_object* x_26; x_25 = l_Lean_Elab_Term_precheckMatch___closed__2; -x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_24, x_25); +x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_24, x_25); lean_dec(x_24); if (lean_obj_tag(x_26) == 0) { @@ -20382,7 +6982,7 @@ return x_39; } else { -lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; +lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; x_40 = lean_ctor_get(x_30, 0); lean_inc(x_40); lean_dec(x_30); @@ -20395,8 +6995,16 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_46 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(x_5, x_6, x_7, x_8, x_9, x_10, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -20412,6 +7020,41 @@ x_50 = 0; x_51 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_47, x_50, x_44, x_49, x_5, x_6, x_7, x_8, x_9, x_10, x_48); return x_51; } +else +{ +uint8_t x_52; +lean_dec(x_44); +lean_dec(x_40); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_46); +if (x_52 == 0) +{ +return x_46; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_46, 0); +x_54 = lean_ctor_get(x_46, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_46); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} } } } @@ -20463,7 +7106,7 @@ _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg(x_1, x_2, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } @@ -21232,6 +7875,40 @@ return x_80; } } } +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("["); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("] "); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___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) { _start: { @@ -21265,11 +7942,11 @@ x_19 = lean_ctor_get(x_14, 0); lean_inc(x_1); x_20 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_20, 0, x_1); -x_21 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_21 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_23 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -21323,11 +8000,11 @@ lean_dec(x_14); lean_inc(x_1); x_40 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_40, 0, x_1); -x_41 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_41 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_43 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); @@ -21395,11 +8072,11 @@ if (lean_is_exclusive(x_14)) { lean_inc(x_1); x_63 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_63, 0, x_1); -x_64 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_64 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_65 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_66 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); @@ -21478,6 +8155,1082 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_mkSort(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(x_1, x_2, 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_2); +lean_dec(x_1); +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; +lean_dec(x_10); +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 1); +x_19 = lean_ctor_get(x_9, 0); +lean_dec(x_19); +x_20 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_20) == 4) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_free_object(x_9); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_get(x_7, x_18); +x_23 = !lean_is_exclusive(x_22); +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 = lean_ctor_get(x_22, 1); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_environment_find(x_26, x_21); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_box(0); +lean_ctor_set(x_22, 0, x_28); +return x_22; +} +else +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +if (lean_obj_tag(x_29) == 6) +{ +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_free_object(x_22); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_unsigned_to_nat(0u); +x_32 = l_Lean_Expr_getAppNumArgsAux(x_1, x_31); +x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_32); +x_34 = lean_mk_array(x_32, x_33); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_sub(x_32, x_35); +lean_dec(x_32); +x_37 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_34, x_36); +x_38 = l_Lean_Expr_getAppNumArgsAux(x_2, x_31); +lean_inc(x_38); +x_39 = lean_mk_array(x_38, x_33); +x_40 = lean_nat_sub(x_38, x_35); +lean_dec(x_38); +x_41 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_39, x_40); +x_42 = lean_ctor_get(x_30, 3); +lean_inc(x_42); +lean_dec(x_30); +lean_inc(x_42); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_31); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_35); +x_44 = lean_box(0); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_42); +x_45 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_37, x_41, x_43, x_42, x_31, x_44, x_4, x_5, x_6, x_7, x_25); +lean_dec(x_43); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +lean_dec(x_42); +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 0); +lean_dec(x_48); +x_49 = lean_box(0); +lean_ctor_set(x_45, 0, x_49); +return x_45; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_dec(x_45); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_46); +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +lean_dec(x_45); +x_54 = lean_array_get_size(x_37); +lean_inc(x_54); +lean_inc(x_42); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_42); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_35); +x_56 = lean_box(0); +x_57 = l_Lean_Elab_Term_precheckMatch___closed__4; +x_58 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_37, x_41, x_57, x_55, x_54, x_42, x_57, x_4, x_5, x_6, x_7, x_53); +lean_dec(x_55); +lean_dec(x_41); +lean_dec(x_37); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +if (lean_obj_tag(x_59) == 0) +{ +uint8_t x_60; +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_58, 0); +lean_dec(x_61); +lean_ctor_set(x_58, 0, x_56); +return x_58; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_58, 1); +lean_inc(x_62); +lean_dec(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_59, 0); +lean_inc(x_64); +lean_dec(x_59); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +lean_dec(x_64); +if (lean_obj_tag(x_65) == 0) +{ +uint8_t x_66; +x_66 = !lean_is_exclusive(x_58); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_58, 0); +lean_dec(x_67); +lean_ctor_set(x_58, 0, x_56); +return x_58; +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_58, 1); +lean_inc(x_68); +lean_dec(x_58); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_56); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +else +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_58); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; +x_71 = lean_ctor_get(x_58, 0); +lean_dec(x_71); +x_72 = !lean_is_exclusive(x_65); +if (x_72 == 0) +{ +lean_ctor_set(x_58, 0, x_65); +return x_58; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_65, 0); +lean_inc(x_73); +lean_dec(x_65); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_58, 0, x_74); +return x_58; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = lean_ctor_get(x_58, 1); +lean_inc(x_75); +lean_dec(x_58); +x_76 = lean_ctor_get(x_65, 0); +lean_inc(x_76); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + x_77 = x_65; +} else { + lean_dec_ref(x_65); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(1, 1, 0); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_76); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_75); +return x_79; +} +} +} +} +else +{ +uint8_t x_80; +x_80 = !lean_is_exclusive(x_58); +if (x_80 == 0) +{ +return x_58; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_58, 0); +x_82 = lean_ctor_get(x_58, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_58); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_42); +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_84 = !lean_is_exclusive(x_45); +if (x_84 == 0) +{ +return x_45; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_45, 0); +x_86 = lean_ctor_get(x_45, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_45); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +else +{ +lean_object* x_88; +lean_dec(x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_88 = lean_box(0); +lean_ctor_set(x_22, 0, x_88); +return x_22; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_22, 0); +x_90 = lean_ctor_get(x_22, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_22); +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_environment_find(x_91, x_21); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_93 = lean_box(0); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_90); +return x_94; +} +else +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_92, 0); +lean_inc(x_95); +lean_dec(x_92); +if (lean_obj_tag(x_95) == 6) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Lean_Expr_getAppNumArgsAux(x_1, x_97); +x_99 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_98); +x_100 = lean_mk_array(x_98, x_99); +x_101 = lean_unsigned_to_nat(1u); +x_102 = lean_nat_sub(x_98, x_101); +lean_dec(x_98); +x_103 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_100, x_102); +x_104 = l_Lean_Expr_getAppNumArgsAux(x_2, x_97); +lean_inc(x_104); +x_105 = lean_mk_array(x_104, x_99); +x_106 = lean_nat_sub(x_104, x_101); +lean_dec(x_104); +x_107 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_105, x_106); +x_108 = lean_ctor_get(x_96, 3); +lean_inc(x_108); +lean_dec(x_96); +lean_inc(x_108); +x_109 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_109, 0, x_97); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set(x_109, 2, x_101); +x_110 = lean_box(0); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_108); +x_111 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_103, x_107, x_109, x_108, x_97, x_110, x_4, x_5, x_6, x_7, x_90); +lean_dec(x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_103); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_114 = x_111; +} else { + lean_dec_ref(x_111); + x_114 = lean_box(0); +} +x_115 = lean_box(0); +if (lean_is_scalar(x_114)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_114; +} +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_113); +return x_116; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_112); +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_dec(x_111); +x_118 = lean_array_get_size(x_103); +lean_inc(x_118); +lean_inc(x_108); +x_119 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_119, 0, x_108); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_101); +x_120 = lean_box(0); +x_121 = l_Lean_Elab_Term_precheckMatch___closed__4; +x_122 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_103, x_107, x_121, x_119, x_118, x_108, x_121, x_4, x_5, x_6, x_7, x_117); +lean_dec(x_119); +lean_dec(x_107); +lean_dec(x_103); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_125 = x_122; +} else { + lean_dec_ref(x_122); + x_125 = lean_box(0); +} +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_120); +lean_ctor_set(x_126, 1, x_124); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_123, 0); +lean_inc(x_127); +lean_dec(x_123); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +lean_dec(x_127); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_122, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_130 = x_122; +} else { + lean_dec_ref(x_122); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_120); +lean_ctor_set(x_131, 1, x_129); +return x_131; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_132 = lean_ctor_get(x_122, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_133 = x_122; +} else { + lean_dec_ref(x_122); + x_133 = lean_box(0); +} +x_134 = lean_ctor_get(x_128, 0); +lean_inc(x_134); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + x_135 = x_128; +} else { + lean_dec_ref(x_128); + x_135 = lean_box(0); +} +if (lean_is_scalar(x_135)) { + x_136 = lean_alloc_ctor(1, 1, 0); +} else { + x_136 = x_135; +} +lean_ctor_set(x_136, 0, x_134); +if (lean_is_scalar(x_133)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_133; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_132); +return x_137; +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_138 = lean_ctor_get(x_122, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_122, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_140 = x_122; +} else { + lean_dec_ref(x_122); + x_140 = lean_box(0); +} +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); +} else { + x_141 = x_140; +} +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; +} +} +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_103); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_142 = lean_ctor_get(x_111, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_111, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_144 = x_111; +} else { + lean_dec_ref(x_111); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; +lean_dec(x_95); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +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_90); +return x_147; +} +} +} +} +else +{ +lean_object* x_148; +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_148 = lean_box(0); +lean_ctor_set(x_9, 0, x_148); +return x_9; +} +} +else +{ +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_9, 1); +lean_inc(x_149); +lean_dec(x_9); +x_150 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_150) == 4) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_st_ref_get(x_7, x_149); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_155 = x_152; +} else { + lean_dec_ref(x_152); + x_155 = lean_box(0); +} +x_156 = lean_ctor_get(x_153, 0); +lean_inc(x_156); +lean_dec(x_153); +x_157 = lean_environment_find(x_156, x_151); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_158 = lean_box(0); +if (lean_is_scalar(x_155)) { + x_159 = lean_alloc_ctor(0, 2, 0); +} else { + x_159 = x_155; +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_154); +return x_159; +} +else +{ +lean_object* x_160; +x_160 = lean_ctor_get(x_157, 0); +lean_inc(x_160); +lean_dec(x_157); +if (lean_obj_tag(x_160) == 6) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_155); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +lean_dec(x_160); +x_162 = lean_unsigned_to_nat(0u); +x_163 = l_Lean_Expr_getAppNumArgsAux(x_1, x_162); +x_164 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_163); +x_165 = lean_mk_array(x_163, x_164); +x_166 = lean_unsigned_to_nat(1u); +x_167 = lean_nat_sub(x_163, x_166); +lean_dec(x_163); +x_168 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_165, x_167); +x_169 = l_Lean_Expr_getAppNumArgsAux(x_2, x_162); +lean_inc(x_169); +x_170 = lean_mk_array(x_169, x_164); +x_171 = lean_nat_sub(x_169, x_166); +lean_dec(x_169); +x_172 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_170, x_171); +x_173 = lean_ctor_get(x_161, 3); +lean_inc(x_173); +lean_dec(x_161); +lean_inc(x_173); +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_162); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_174, 2, x_166); +x_175 = lean_box(0); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_173); +x_176 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_168, x_172, x_174, x_173, x_162, x_175, x_4, x_5, x_6, x_7, x_154); +lean_dec(x_174); +if (lean_obj_tag(x_176) == 0) +{ +lean_object* x_177; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +if (lean_obj_tag(x_177) == 0) +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +lean_dec(x_173); +lean_dec(x_172); +lean_dec(x_168); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_179 = x_176; +} else { + lean_dec_ref(x_176); + x_179 = lean_box(0); +} +x_180 = lean_box(0); +if (lean_is_scalar(x_179)) { + x_181 = lean_alloc_ctor(0, 2, 0); +} else { + x_181 = x_179; +} +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_178); +return x_181; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_dec(x_177); +x_182 = lean_ctor_get(x_176, 1); +lean_inc(x_182); +lean_dec(x_176); +x_183 = lean_array_get_size(x_168); +lean_inc(x_183); +lean_inc(x_173); +x_184 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_184, 0, x_173); +lean_ctor_set(x_184, 1, x_183); +lean_ctor_set(x_184, 2, x_166); +x_185 = lean_box(0); +x_186 = l_Lean_Elab_Term_precheckMatch___closed__4; +x_187 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_168, x_172, x_186, x_184, x_183, x_173, x_186, x_4, x_5, x_6, x_7, x_182); +lean_dec(x_184); +lean_dec(x_172); +lean_dec(x_168); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_190 = x_187; +} else { + lean_dec_ref(x_187); + x_190 = lean_box(0); +} +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_185); +lean_ctor_set(x_191, 1, x_189); +return x_191; +} +else +{ +lean_object* x_192; lean_object* x_193; +x_192 = lean_ctor_get(x_188, 0); +lean_inc(x_192); +lean_dec(x_188); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +lean_dec(x_192); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_187, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_195 = x_187; +} else { + lean_dec_ref(x_187); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(0, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_185); +lean_ctor_set(x_196, 1, x_194); +return x_196; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_197 = lean_ctor_get(x_187, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_198 = x_187; +} else { + lean_dec_ref(x_187); + x_198 = lean_box(0); +} +x_199 = lean_ctor_get(x_193, 0); +lean_inc(x_199); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + x_200 = x_193; +} else { + lean_dec_ref(x_193); + x_200 = lean_box(0); +} +if (lean_is_scalar(x_200)) { + x_201 = lean_alloc_ctor(1, 1, 0); +} else { + x_201 = x_200; +} +lean_ctor_set(x_201, 0, x_199); +if (lean_is_scalar(x_198)) { + x_202 = lean_alloc_ctor(0, 2, 0); +} else { + x_202 = x_198; +} +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_197); +return x_202; +} +} +} +else +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_203 = lean_ctor_get(x_187, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_187, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_205 = x_187; +} else { + lean_dec_ref(x_187); + x_205 = lean_box(0); +} +if (lean_is_scalar(x_205)) { + x_206 = lean_alloc_ctor(1, 2, 0); +} else { + x_206 = x_205; +} +lean_ctor_set(x_206, 0, x_203); +lean_ctor_set(x_206, 1, x_204); +return x_206; +} +} +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_173); +lean_dec(x_172); +lean_dec(x_168); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_207 = lean_ctor_get(x_176, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_176, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_209 = x_176; +} else { + lean_dec_ref(x_176); + x_209 = lean_box(0); +} +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(1, 2, 0); +} else { + x_210 = x_209; +} +lean_ctor_set(x_210, 0, x_207); +lean_ctor_set(x_210, 1, x_208); +return x_210; +} +} +else +{ +lean_object* x_211; lean_object* x_212; +lean_dec(x_160); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_211 = lean_box(0); +if (lean_is_scalar(x_155)) { + x_212 = lean_alloc_ctor(0, 2, 0); +} else { + x_212 = x_155; +} +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_154); +return x_212; +} +} +} +else +{ +lean_object* x_213; lean_object* x_214; +lean_dec(x_150); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_213 = lean_box(0); +x_214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_149); +return x_214; +} +} +} +} +else +{ +uint8_t x_215; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_215 = !lean_is_exclusive(x_9); +if (x_215 == 0) +{ +return x_9; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_9, 0); +x_217 = lean_ctor_get(x_9, 1); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_9); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +return x_218; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1() { _start: { @@ -21517,30 +9270,21 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_levelZero; -x_2 = l_Lean_mkSort(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("index "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7() { _start: { lean_object* x_1; @@ -21548,16 +9292,16 @@ x_1 = lean_mk_string(" =?= "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -21605,1812 +9349,318 @@ uint8_t x_16; x_16 = l_Lean_Expr_isFVar(x_13); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_230; lean_object* x_231; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_free_object(x_11); -x_249 = lean_st_ref_get(x_6, x_14); -x_250 = lean_ctor_get(x_249, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_250, 3); -lean_inc(x_251); -lean_dec(x_250); -x_252 = lean_ctor_get_uint8(x_251, sizeof(void*)*1); -lean_dec(x_251); -if (x_252 == 0) +x_17 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_39 = lean_st_ref_get(x_6, x_14); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_253; lean_object* x_254; -x_253 = lean_ctor_get(x_249, 1); -lean_inc(x_253); -lean_dec(x_249); -x_254 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; -x_230 = x_254; -x_231 = x_253; -goto block_248; +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_44 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; +x_18 = x_44; +x_19 = x_43; +goto block_38; } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_255 = lean_ctor_get(x_249, 1); -lean_inc(x_255); -lean_dec(x_249); -x_256 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_257 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_256, x_3, x_4, x_5, x_6, x_255); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -x_230 = x_258; -x_231 = x_259; -goto block_248; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_dec(x_39); +x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_17, x_3, x_4, x_5, x_6, x_45); +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_18 = x_47; +x_19 = x_48; +goto block_38; } -block_229: +block_38: { -lean_object* x_19; -lean_dec(x_17); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(x_9, x_13, x_3, x_4, x_5, x_6, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_21 = !lean_is_exclusive(x_19); +lean_dec(x_18); +x_21 = lean_unbox(x_20); +lean_dec(x_20); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_19, 0, x_23); -return x_19; +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(x_9, x_13, x_22, x_3, x_4, x_5, x_6, x_19); +return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(x_19); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_inc(x_9); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_9); +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6; +x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_dec(x_20); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 1); -x_29 = lean_ctor_get(x_19, 0); -lean_dec(x_29); -x_30 = l_Lean_Expr_getAppFn(x_9); -if (lean_obj_tag(x_30) == 4) -{ -lean_object* x_31; lean_object* x_32; uint8_t x_33; -lean_free_object(x_19); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_st_ref_get(x_6, x_28); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_ctor_get(x_32, 1); +x_27 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_inc(x_13); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_13); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_17, x_32, x_3, x_4, x_5, x_6, x_19); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); lean_dec(x_34); -x_37 = lean_environment_find(x_36, x_31); -if (lean_obj_tag(x_37) == 0) +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(x_9, x_13, x_36, x_3, x_4, x_5, x_6, x_35); +lean_dec(x_36); +return x_37; +} +} +} +else { -lean_object* x_38; +lean_object* x_49; lean_dec(x_13); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_38 = lean_box(0); -lean_ctor_set(x_32, 0, x_38); -return x_32; +x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; +lean_ctor_set(x_11, 0, x_49); +return x_11; +} } else { -lean_object* x_39; -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -lean_dec(x_37); -if (lean_obj_tag(x_39) == 6) -{ -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_free_object(x_32); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_unsigned_to_nat(0u); -x_42 = l_Lean_Expr_getAppNumArgsAux(x_9, x_41); -x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_42); -x_44 = lean_mk_array(x_42, x_43); -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_sub(x_42, x_45); -lean_dec(x_42); -x_47 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_44, x_46); -x_48 = l_Lean_Expr_getAppNumArgsAux(x_13, x_41); -lean_inc(x_48); -x_49 = lean_mk_array(x_48, x_43); -x_50 = lean_nat_sub(x_48, x_45); -lean_dec(x_48); -x_51 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_49, x_50); -x_52 = lean_ctor_get(x_40, 3); -lean_inc(x_52); -lean_dec(x_40); -lean_inc(x_52); -x_53 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_45); -x_54 = lean_box(0); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_52); -x_55 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_47, x_51, x_53, x_52, x_41, x_54, x_3, x_4, x_5, x_6, x_35); -lean_dec(x_53); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -if (lean_obj_tag(x_56) == 0) -{ -uint8_t x_57; -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_47); +lean_object* x_50; +lean_dec(x_13); +lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_57 = !lean_is_exclusive(x_55); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 0); -lean_dec(x_58); -x_59 = lean_box(0); -lean_ctor_set(x_55, 0, x_59); -return x_55; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -lean_dec(x_55); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -return x_62; +x_50 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; +lean_ctor_set(x_11, 0, x_50); +return x_11; } } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_56); -x_63 = lean_ctor_get(x_55, 1); -lean_inc(x_63); -lean_dec(x_55); -x_64 = lean_array_get_size(x_47); -lean_inc(x_64); +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_11, 0); +x_52 = lean_ctor_get(x_11, 1); lean_inc(x_52); -x_65 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_65, 0, x_52); -lean_ctor_set(x_65, 1, x_64); -lean_ctor_set(x_65, 2, x_45); -x_66 = lean_box(0); -x_67 = l_Lean_Elab_Term_precheckMatch___closed__4; -x_68 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_47, x_51, x_67, x_65, x_64, x_52, x_67, x_3, x_4, x_5, x_6, x_63); -lean_dec(x_65); -lean_dec(x_51); -lean_dec(x_47); -if (lean_obj_tag(x_68) == 0) +lean_inc(x_51); +lean_dec(x_11); +x_53 = l_Lean_Expr_isFVar(x_9); +if (x_53 == 0) { -lean_object* x_69; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) +uint8_t x_54; +x_54 = l_Lean_Expr_isFVar(x_51); +if (x_54 == 0) { -uint8_t x_70; -x_70 = !lean_is_exclusive(x_68); -if (x_70 == 0) -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_68, 0); -lean_dec(x_71); -lean_ctor_set(x_68, 0, x_66); -return x_68; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec(x_68); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_66); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_69, 0); -lean_inc(x_74); -lean_dec(x_69); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -lean_dec(x_74); -if (lean_obj_tag(x_75) == 0) -{ -uint8_t x_76; -x_76 = !lean_is_exclusive(x_68); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_68, 0); -lean_dec(x_77); -lean_ctor_set(x_68, 0, x_66); -return x_68; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_68, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_55 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_77 = lean_st_ref_get(x_6, x_52); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_68); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_66); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_68); +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_ctor_get_uint8(x_79, sizeof(void*)*1); +lean_dec(x_79); if (x_80 == 0) { -lean_object* x_81; uint8_t x_82; -x_81 = lean_ctor_get(x_68, 0); -lean_dec(x_81); -x_82 = !lean_is_exclusive(x_75); -if (x_82 == 0) -{ -lean_ctor_set(x_68, 0, x_75); -return x_68; +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); +x_82 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; +x_56 = x_82; +x_57 = x_81; +goto block_76; } else { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_75, 0); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_77, 1); lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_68, 0, x_84); -return x_68; -} -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_68, 1); +lean_dec(x_77); +x_84 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_55, x_3, x_4, x_5, x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_68); -x_86 = lean_ctor_get(x_75, 0); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - x_87 = x_75; -} else { - lean_dec_ref(x_75); - x_87 = lean_box(0); +lean_dec(x_84); +x_56 = x_85; +x_57 = x_86; +goto block_76; } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 1, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_86); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_85); -return x_89; +block_76: +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_unbox(x_58); +lean_dec(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_box(0); +x_61 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(x_9, x_51, x_60, x_3, x_4, x_5, x_6, x_57); +return x_61; } +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_inc(x_9); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_9); +x_63 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; +x_66 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +lean_inc(x_51); +x_67 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_67, 0, x_51); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_55, x_70, x_3, x_4, x_5, x_6, x_57); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(x_9, x_51, x_74, x_3, x_4, x_5, x_6, x_73); +lean_dec(x_74); +return x_75; } } } else { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_68); -if (x_90 == 0) -{ -return x_68; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_68, 0); -x_92 = lean_ctor_get(x_68, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_68); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; -} -} -} -} -else -{ -uint8_t x_94; -lean_dec(x_52); +lean_object* x_87; lean_object* x_88; lean_dec(x_51); -lean_dec(x_47); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_94 = !lean_is_exclusive(x_55); -if (x_94 == 0) -{ -return x_55; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_55, 0); -x_96 = lean_ctor_get(x_55, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_55); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -} -else -{ -lean_object* x_98; -lean_dec(x_39); -lean_dec(x_13); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_98 = lean_box(0); -lean_ctor_set(x_32, 0, x_98); -return x_32; -} +x_87 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_52); +return x_88; } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_32, 0); -x_100 = lean_ctor_get(x_32, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_32); -x_101 = lean_ctor_get(x_99, 0); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_environment_find(x_101, x_31); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; -lean_dec(x_13); +lean_object* x_89; lean_object* x_90; +lean_dec(x_51); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_103 = lean_box(0); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_100); -return x_104; -} -else -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_102, 0); -lean_inc(x_105); -lean_dec(x_102); -if (lean_obj_tag(x_105) == 6) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -lean_dec(x_105); -x_107 = lean_unsigned_to_nat(0u); -x_108 = l_Lean_Expr_getAppNumArgsAux(x_9, x_107); -x_109 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_108); -x_110 = lean_mk_array(x_108, x_109); -x_111 = lean_unsigned_to_nat(1u); -x_112 = lean_nat_sub(x_108, x_111); -lean_dec(x_108); -x_113 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_110, x_112); -x_114 = l_Lean_Expr_getAppNumArgsAux(x_13, x_107); -lean_inc(x_114); -x_115 = lean_mk_array(x_114, x_109); -x_116 = lean_nat_sub(x_114, x_111); -lean_dec(x_114); -x_117 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_115, x_116); -x_118 = lean_ctor_get(x_106, 3); -lean_inc(x_118); -lean_dec(x_106); -lean_inc(x_118); -x_119 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_119, 0, x_107); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_111); -x_120 = lean_box(0); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_118); -x_121 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_113, x_117, x_119, x_118, x_107, x_120, x_3, x_4, x_5, x_6, x_100); -lean_dec(x_119); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_113); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_124 = x_121; -} else { - lean_dec_ref(x_121); - x_124 = lean_box(0); -} -x_125 = lean_box(0); -if (lean_is_scalar(x_124)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_124; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_123); -return x_126; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_122); -x_127 = lean_ctor_get(x_121, 1); -lean_inc(x_127); -lean_dec(x_121); -x_128 = lean_array_get_size(x_113); -lean_inc(x_128); -lean_inc(x_118); -x_129 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_129, 0, x_118); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set(x_129, 2, x_111); -x_130 = lean_box(0); -x_131 = l_Lean_Elab_Term_precheckMatch___closed__4; -x_132 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_113, x_117, x_131, x_129, x_128, x_118, x_131, x_3, x_4, x_5, x_6, x_127); -lean_dec(x_129); -lean_dec(x_117); -lean_dec(x_113); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_135 = x_132; -} else { - lean_dec_ref(x_132); - x_135 = lean_box(0); -} -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_135; -} -lean_ctor_set(x_136, 0, x_130); -lean_ctor_set(x_136, 1, x_134); -return x_136; -} -else -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_133, 0); -lean_inc(x_137); -lean_dec(x_133); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -lean_dec(x_137); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_132, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_140 = x_132; -} else { - lean_dec_ref(x_132); - x_140 = lean_box(0); -} -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(0, 2, 0); -} else { - x_141 = x_140; -} -lean_ctor_set(x_141, 0, x_130); -lean_ctor_set(x_141, 1, x_139); -return x_141; -} -else -{ -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_132, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_143 = x_132; -} else { - lean_dec_ref(x_132); - x_143 = lean_box(0); -} -x_144 = lean_ctor_get(x_138, 0); -lean_inc(x_144); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - x_145 = x_138; -} else { - lean_dec_ref(x_138); - x_145 = lean_box(0); -} -if (lean_is_scalar(x_145)) { - x_146 = lean_alloc_ctor(1, 1, 0); -} else { - x_146 = x_145; -} -lean_ctor_set(x_146, 0, x_144); -if (lean_is_scalar(x_143)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_143; -} -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_142); -return x_147; +x_89 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_52); +return x_90; } } } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_148 = lean_ctor_get(x_132, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_132, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_150 = x_132; -} else { - lean_dec_ref(x_132); - 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 -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_113); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_152 = lean_ctor_get(x_121, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_121, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_154 = x_121; -} else { - lean_dec_ref(x_121); - x_154 = lean_box(0); -} -if (lean_is_scalar(x_154)) { - x_155 = lean_alloc_ctor(1, 2, 0); -} else { - x_155 = x_154; -} -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_dec(x_105); -lean_dec(x_13); +uint8_t x_91; lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_156 = lean_box(0); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_100); -return x_157; -} -} -} -} -else +x_91 = !lean_is_exclusive(x_11); +if (x_91 == 0) { -lean_object* x_158; -lean_dec(x_30); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_158 = lean_box(0); -lean_ctor_set(x_19, 0, x_158); -return x_19; -} -} -else -{ -lean_object* x_159; lean_object* x_160; -x_159 = lean_ctor_get(x_19, 1); -lean_inc(x_159); -lean_dec(x_19); -x_160 = l_Lean_Expr_getAppFn(x_9); -if (lean_obj_tag(x_160) == 4) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -lean_dec(x_160); -x_162 = lean_st_ref_get(x_6, x_159); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_165 = x_162; -} else { - lean_dec_ref(x_162); - x_165 = lean_box(0); -} -x_166 = lean_ctor_get(x_163, 0); -lean_inc(x_166); -lean_dec(x_163); -x_167 = lean_environment_find(x_166, x_161); -if (lean_obj_tag(x_167) == 0) -{ -lean_object* x_168; lean_object* x_169; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_168 = lean_box(0); -if (lean_is_scalar(x_165)) { - x_169 = lean_alloc_ctor(0, 2, 0); -} else { - x_169 = x_165; -} -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_164); -return x_169; -} -else -{ -lean_object* x_170; -x_170 = lean_ctor_get(x_167, 0); -lean_inc(x_170); -lean_dec(x_167); -if (lean_obj_tag(x_170) == 6) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_165); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_unsigned_to_nat(0u); -x_173 = l_Lean_Expr_getAppNumArgsAux(x_9, x_172); -x_174 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_173); -x_175 = lean_mk_array(x_173, x_174); -x_176 = lean_unsigned_to_nat(1u); -x_177 = lean_nat_sub(x_173, x_176); -lean_dec(x_173); -x_178 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_175, x_177); -x_179 = l_Lean_Expr_getAppNumArgsAux(x_13, x_172); -lean_inc(x_179); -x_180 = lean_mk_array(x_179, x_174); -x_181 = lean_nat_sub(x_179, x_176); -lean_dec(x_179); -x_182 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_180, x_181); -x_183 = lean_ctor_get(x_171, 3); -lean_inc(x_183); -lean_dec(x_171); -lean_inc(x_183); -x_184 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_184, 0, x_172); -lean_ctor_set(x_184, 1, x_183); -lean_ctor_set(x_184, 2, x_176); -x_185 = lean_box(0); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_183); -x_186 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_178, x_182, x_184, x_183, x_172, x_185, x_3, x_4, x_5, x_6, x_164); -lean_dec(x_184); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_183); -lean_dec(x_182); -lean_dec(x_178); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_189 = x_186; -} else { - lean_dec_ref(x_186); - x_189 = lean_box(0); -} -x_190 = lean_box(0); -if (lean_is_scalar(x_189)) { - x_191 = lean_alloc_ctor(0, 2, 0); -} else { - x_191 = x_189; -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_188); -return x_191; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_187); -x_192 = lean_ctor_get(x_186, 1); -lean_inc(x_192); -lean_dec(x_186); -x_193 = lean_array_get_size(x_178); -lean_inc(x_193); -lean_inc(x_183); -x_194 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_194, 0, x_183); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set(x_194, 2, x_176); -x_195 = lean_box(0); -x_196 = l_Lean_Elab_Term_precheckMatch___closed__4; -x_197 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_178, x_182, x_196, x_194, x_193, x_183, x_196, x_3, x_4, x_5, x_6, x_192); -lean_dec(x_194); -lean_dec(x_182); -lean_dec(x_178); -if (lean_obj_tag(x_197) == 0) -{ -lean_object* x_198; -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -if (lean_obj_tag(x_198) == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_200 = x_197; -} else { - lean_dec_ref(x_197); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -else -{ -lean_object* x_202; lean_object* x_203; -x_202 = lean_ctor_get(x_198, 0); -lean_inc(x_202); -lean_dec(x_198); -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -lean_dec(x_202); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_197, 1); -lean_inc(x_204); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_205 = x_197; -} else { - lean_dec_ref(x_197); - x_205 = lean_box(0); -} -if (lean_is_scalar(x_205)) { - x_206 = lean_alloc_ctor(0, 2, 0); -} else { - x_206 = x_205; -} -lean_ctor_set(x_206, 0, x_195); -lean_ctor_set(x_206, 1, x_204); -return x_206; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_207 = lean_ctor_get(x_197, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_208 = x_197; -} else { - lean_dec_ref(x_197); - x_208 = lean_box(0); -} -x_209 = lean_ctor_get(x_203, 0); -lean_inc(x_209); -if (lean_is_exclusive(x_203)) { - lean_ctor_release(x_203, 0); - x_210 = x_203; -} else { - lean_dec_ref(x_203); - x_210 = lean_box(0); -} -if (lean_is_scalar(x_210)) { - x_211 = lean_alloc_ctor(1, 1, 0); -} else { - x_211 = x_210; -} -lean_ctor_set(x_211, 0, x_209); -if (lean_is_scalar(x_208)) { - x_212 = lean_alloc_ctor(0, 2, 0); -} else { - x_212 = x_208; -} -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_207); -return x_212; -} -} -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_213 = lean_ctor_get(x_197, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_197, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_215 = x_197; -} else { - lean_dec_ref(x_197); - x_215 = lean_box(0); -} -if (lean_is_scalar(x_215)) { - x_216 = lean_alloc_ctor(1, 2, 0); -} else { - x_216 = x_215; -} -lean_ctor_set(x_216, 0, x_213); -lean_ctor_set(x_216, 1, x_214); -return x_216; -} -} -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_dec(x_183); -lean_dec(x_182); -lean_dec(x_178); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_217 = lean_ctor_get(x_186, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_186, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_219 = x_186; -} else { - lean_dec_ref(x_186); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 2, 0); -} else { - x_220 = x_219; -} -lean_ctor_set(x_220, 0, x_217); -lean_ctor_set(x_220, 1, x_218); -return x_220; -} -} -else -{ -lean_object* x_221; lean_object* x_222; -lean_dec(x_170); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_221 = lean_box(0); -if (lean_is_scalar(x_165)) { - x_222 = lean_alloc_ctor(0, 2, 0); -} else { - x_222 = x_165; -} -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_164); -return x_222; -} -} -} -else -{ -lean_object* x_223; lean_object* x_224; -lean_dec(x_160); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_223 = lean_box(0); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_159); -return x_224; -} -} -} -} -else -{ -uint8_t x_225; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_225 = !lean_is_exclusive(x_19); -if (x_225 == 0) -{ -return x_19; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_19, 0); -x_227 = lean_ctor_get(x_19, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_19); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -return x_228; -} -} -} -block_248: -{ -lean_object* x_232; uint8_t x_233; -x_232 = lean_ctor_get(x_230, 0); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_unbox(x_232); -lean_dec(x_232); -if (x_233 == 0) -{ -lean_object* x_234; -x_234 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1; -x_17 = x_234; -x_18 = x_231; -goto block_229; -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_inc(x_9); -x_235 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_235, 0, x_9); -x_236 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7; -x_237 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_235); -x_238 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; -x_239 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_239, 0, x_237); -lean_ctor_set(x_239, 1, x_238); -lean_inc(x_13); -x_240 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_240, 0, x_13); -x_241 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_241, 0, x_239); -lean_ctor_set(x_241, 1, x_240); -x_242 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_243 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_242); -x_244 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_245 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_244, x_243, x_3, x_4, x_5, x_6, x_231); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_17 = x_246; -x_18 = x_247; -goto block_229; -} -} -} -else -{ -lean_object* x_260; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_260 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10; -lean_ctor_set(x_11, 0, x_260); return x_11; } -} else { -lean_object* x_261; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_261 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10; -lean_ctor_set(x_11, 0, x_261); -return x_11; -} -} -else -{ -lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_262 = lean_ctor_get(x_11, 0); -x_263 = lean_ctor_get(x_11, 1); -lean_inc(x_263); -lean_inc(x_262); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_11, 0); +x_93 = lean_ctor_get(x_11, 1); +lean_inc(x_93); +lean_inc(x_92); lean_dec(x_11); -x_264 = l_Lean_Expr_isFVar(x_9); -if (x_264 == 0) -{ -uint8_t x_265; -x_265 = l_Lean_Expr_isFVar(x_262); -if (x_265 == 0) -{ -lean_object* x_266; lean_object* x_267; lean_object* x_346; lean_object* x_347; lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; -x_365 = lean_st_ref_get(x_6, x_263); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_366, 3); -lean_inc(x_367); -lean_dec(x_366); -x_368 = lean_ctor_get_uint8(x_367, sizeof(void*)*1); -lean_dec(x_367); -if (x_368 == 0) -{ -lean_object* x_369; lean_object* x_370; -x_369 = lean_ctor_get(x_365, 1); -lean_inc(x_369); -lean_dec(x_365); -x_370 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; -x_346 = x_370; -x_347 = x_369; -goto block_364; -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_371 = lean_ctor_get(x_365, 1); -lean_inc(x_371); -lean_dec(x_365); -x_372 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_373 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_372, x_3, x_4, x_5, x_6, x_371); -x_374 = lean_ctor_get(x_373, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_373, 1); -lean_inc(x_375); -lean_dec(x_373); -x_346 = x_374; -x_347 = x_375; -goto block_364; -} -block_345: -{ -lean_object* x_268; -lean_dec(x_266); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_268 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(x_9, x_262, x_3, x_4, x_5, x_6, x_267); -if (lean_obj_tag(x_268) == 0) -{ -lean_object* x_269; -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_268)) { - lean_ctor_release(x_268, 0); - lean_ctor_release(x_268, 1); - x_271 = x_268; -} else { - lean_dec_ref(x_268); - x_271 = lean_box(0); -} -x_272 = lean_box(0); -if (lean_is_scalar(x_271)) { - x_273 = lean_alloc_ctor(0, 2, 0); -} else { - x_273 = x_271; -} -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_270); -return x_273; -} -else -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; -lean_dec(x_269); -x_274 = lean_ctor_get(x_268, 1); -lean_inc(x_274); -if (lean_is_exclusive(x_268)) { - lean_ctor_release(x_268, 0); - lean_ctor_release(x_268, 1); - x_275 = x_268; -} else { - lean_dec_ref(x_268); - x_275 = lean_box(0); -} -x_276 = l_Lean_Expr_getAppFn(x_9); -if (lean_obj_tag(x_276) == 4) -{ -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -lean_dec(x_275); -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -lean_dec(x_276); -x_278 = lean_st_ref_get(x_6, x_274); -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_278, 1); -lean_inc(x_280); -if (lean_is_exclusive(x_278)) { - lean_ctor_release(x_278, 0); - lean_ctor_release(x_278, 1); - x_281 = x_278; -} else { - lean_dec_ref(x_278); - x_281 = lean_box(0); -} -x_282 = lean_ctor_get(x_279, 0); -lean_inc(x_282); -lean_dec(x_279); -x_283 = lean_environment_find(x_282, x_277); -if (lean_obj_tag(x_283) == 0) -{ -lean_object* x_284; lean_object* x_285; -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_284 = lean_box(0); -if (lean_is_scalar(x_281)) { - x_285 = lean_alloc_ctor(0, 2, 0); -} else { - x_285 = x_281; -} -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_280); -return x_285; -} -else -{ -lean_object* x_286; -x_286 = lean_ctor_get(x_283, 0); -lean_inc(x_286); -lean_dec(x_283); -if (lean_obj_tag(x_286) == 6) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -lean_dec(x_281); -x_287 = lean_ctor_get(x_286, 0); -lean_inc(x_287); -lean_dec(x_286); -x_288 = lean_unsigned_to_nat(0u); -x_289 = l_Lean_Expr_getAppNumArgsAux(x_9, x_288); -x_290 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_289); -x_291 = lean_mk_array(x_289, x_290); -x_292 = lean_unsigned_to_nat(1u); -x_293 = lean_nat_sub(x_289, x_292); -lean_dec(x_289); -x_294 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_291, x_293); -x_295 = l_Lean_Expr_getAppNumArgsAux(x_262, x_288); -lean_inc(x_295); -x_296 = lean_mk_array(x_295, x_290); -x_297 = lean_nat_sub(x_295, x_292); -lean_dec(x_295); -x_298 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_262, x_296, x_297); -x_299 = lean_ctor_get(x_287, 3); -lean_inc(x_299); -lean_dec(x_287); -lean_inc(x_299); -x_300 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_300, 0, x_288); -lean_ctor_set(x_300, 1, x_299); -lean_ctor_set(x_300, 2, x_292); -x_301 = lean_box(0); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_299); -x_302 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(x_294, x_298, x_300, x_299, x_288, x_301, x_3, x_4, x_5, x_6, x_280); -lean_dec(x_300); -if (lean_obj_tag(x_302) == 0) -{ -lean_object* x_303; -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -lean_dec(x_299); -lean_dec(x_298); -lean_dec(x_294); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_305 = x_302; -} else { - lean_dec_ref(x_302); - x_305 = lean_box(0); -} -x_306 = lean_box(0); -if (lean_is_scalar(x_305)) { - x_307 = lean_alloc_ctor(0, 2, 0); -} else { - x_307 = x_305; -} -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_304); -return x_307; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -lean_dec(x_303); -x_308 = lean_ctor_get(x_302, 1); -lean_inc(x_308); -lean_dec(x_302); -x_309 = lean_array_get_size(x_294); -lean_inc(x_309); -lean_inc(x_299); -x_310 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_310, 0, x_299); -lean_ctor_set(x_310, 1, x_309); -lean_ctor_set(x_310, 2, x_292); -x_311 = lean_box(0); -x_312 = l_Lean_Elab_Term_precheckMatch___closed__4; -x_313 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(x_294, x_298, x_312, x_310, x_309, x_299, x_312, x_3, x_4, x_5, x_6, x_308); -lean_dec(x_310); -lean_dec(x_298); -lean_dec(x_294); -if (lean_obj_tag(x_313) == 0) -{ -lean_object* x_314; -x_314 = lean_ctor_get(x_313, 0); -lean_inc(x_314); -if (lean_obj_tag(x_314) == 0) -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_315 = lean_ctor_get(x_313, 1); -lean_inc(x_315); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_316 = x_313; -} else { - lean_dec_ref(x_313); - x_316 = lean_box(0); -} -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(0, 2, 0); -} else { - x_317 = x_316; -} -lean_ctor_set(x_317, 0, x_311); -lean_ctor_set(x_317, 1, x_315); -return x_317; -} -else -{ -lean_object* x_318; lean_object* x_319; -x_318 = lean_ctor_get(x_314, 0); -lean_inc(x_318); -lean_dec(x_314); -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -lean_dec(x_318); -if (lean_obj_tag(x_319) == 0) -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_320 = lean_ctor_get(x_313, 1); -lean_inc(x_320); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_321 = x_313; -} else { - lean_dec_ref(x_313); - x_321 = lean_box(0); -} -if (lean_is_scalar(x_321)) { - x_322 = lean_alloc_ctor(0, 2, 0); -} else { - x_322 = x_321; -} -lean_ctor_set(x_322, 0, x_311); -lean_ctor_set(x_322, 1, x_320); -return x_322; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_323 = lean_ctor_get(x_313, 1); -lean_inc(x_323); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_324 = x_313; -} else { - lean_dec_ref(x_313); - x_324 = lean_box(0); -} -x_325 = lean_ctor_get(x_319, 0); -lean_inc(x_325); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - x_326 = x_319; -} else { - lean_dec_ref(x_319); - x_326 = lean_box(0); -} -if (lean_is_scalar(x_326)) { - x_327 = lean_alloc_ctor(1, 1, 0); -} else { - x_327 = x_326; -} -lean_ctor_set(x_327, 0, x_325); -if (lean_is_scalar(x_324)) { - x_328 = lean_alloc_ctor(0, 2, 0); -} else { - x_328 = x_324; -} -lean_ctor_set(x_328, 0, x_327); -lean_ctor_set(x_328, 1, x_323); -return x_328; +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 { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_329 = lean_ctor_get(x_313, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_313, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_331 = x_313; -} else { - lean_dec_ref(x_313); - x_331 = lean_box(0); -} -if (lean_is_scalar(x_331)) { - x_332 = lean_alloc_ctor(1, 2, 0); -} else { - x_332 = x_331; -} -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_330); -return x_332; -} -} -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -lean_dec(x_299); -lean_dec(x_298); -lean_dec(x_294); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_333 = lean_ctor_get(x_302, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_302, 1); -lean_inc(x_334); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_335 = x_302; -} else { - lean_dec_ref(x_302); - x_335 = lean_box(0); -} -if (lean_is_scalar(x_335)) { - x_336 = lean_alloc_ctor(1, 2, 0); -} else { - x_336 = x_335; -} -lean_ctor_set(x_336, 0, x_333); -lean_ctor_set(x_336, 1, x_334); -return x_336; -} -} -else -{ -lean_object* x_337; lean_object* x_338; -lean_dec(x_286); -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_337 = lean_box(0); -if (lean_is_scalar(x_281)) { - x_338 = lean_alloc_ctor(0, 2, 0); -} else { - x_338 = x_281; -} -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_280); -return x_338; -} -} -} -else -{ -lean_object* x_339; lean_object* x_340; -lean_dec(x_276); -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_339 = lean_box(0); -if (lean_is_scalar(x_275)) { - x_340 = lean_alloc_ctor(0, 2, 0); -} else { - x_340 = x_275; -} -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_274); -return x_340; -} -} -} -else -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_341 = lean_ctor_get(x_268, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_268, 1); -lean_inc(x_342); -if (lean_is_exclusive(x_268)) { - lean_ctor_release(x_268, 0); - lean_ctor_release(x_268, 1); - x_343 = x_268; -} else { - lean_dec_ref(x_268); - x_343 = lean_box(0); -} -if (lean_is_scalar(x_343)) { - x_344 = lean_alloc_ctor(1, 2, 0); -} else { - x_344 = x_343; -} -lean_ctor_set(x_344, 0, x_341); -lean_ctor_set(x_344, 1, x_342); -return x_344; -} -} -block_364: -{ -lean_object* x_348; uint8_t x_349; -x_348 = lean_ctor_get(x_346, 0); -lean_inc(x_348); -lean_dec(x_346); -x_349 = lean_unbox(x_348); -lean_dec(x_348); -if (x_349 == 0) -{ -lean_object* x_350; -x_350 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1; -x_266 = x_350; -x_267 = x_347; -goto block_345; -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -lean_inc(x_9); -x_351 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_351, 0, x_9); -x_352 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7; -x_353 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_351); -x_354 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; -x_355 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set(x_355, 1, x_354); -lean_inc(x_262); -x_356 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_356, 0, x_262); -x_357 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_357, 0, x_355); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_359 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_359, 0, x_357); -lean_ctor_set(x_359, 1, x_358); -x_360 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_361 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_360, x_359, x_3, x_4, x_5, x_6, x_347); -x_362 = lean_ctor_get(x_361, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_361, 1); -lean_inc(x_363); -lean_dec(x_361); -x_266 = x_362; -x_267 = x_363; -goto block_345; -} -} -} -else -{ -lean_object* x_376; lean_object* x_377; -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_376 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10; -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_263); -return x_377; -} -} -else -{ -lean_object* x_378; lean_object* x_379; -lean_dec(x_262); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_378 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10; -x_379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_263); -return x_379; -} -} -} -else -{ -uint8_t x_380; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_380 = !lean_is_exclusive(x_11); -if (x_380 == 0) -{ -return x_11; -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_381 = lean_ctor_get(x_11, 0); -x_382 = lean_ctor_get(x_11, 1); -lean_inc(x_382); -lean_inc(x_381); -lean_dec(x_11); -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_381); -lean_ctor_set(x_383, 1, x_382); -return x_383; -} -} -} -else -{ -uint8_t x_384; +uint8_t x_95; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_384 = !lean_is_exclusive(x_8); -if (x_384 == 0) +x_95 = !lean_is_exclusive(x_8); +if (x_95 == 0) { return x_8; } else { -lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_385 = lean_ctor_get(x_8, 0); -x_386 = lean_ctor_get(x_8, 1); -lean_inc(x_386); -lean_inc(x_385); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_8, 0); +x_97 = lean_ctor_get(x_8, 1); +lean_inc(x_97); +lean_inc(x_96); lean_dec(x_8); -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_385); -lean_ctor_set(x_387, 1, x_386); -return x_387; +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; } } } @@ -23474,6 +9724,15 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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, lean_object* x_11, lean_object* x_12) { _start: { @@ -24311,6 +10570,924 @@ return x_40; } } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Meta_whnf(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_12 = l_Lean_Meta_whnf(x_2, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +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); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(x_10, x_13, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_15, 0, x_19); +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_16); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 1); +x_25 = lean_ctor_get(x_15, 0); +lean_dec(x_25); +x_26 = l_Lean_Expr_getAppFn(x_10); +if (lean_obj_tag(x_26) == 4) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_free_object(x_15); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_7, x_24); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_find(x_32, x_27); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_34 = lean_box(0); +lean_ctor_set(x_28, 0, x_34); +return x_28; +} +else +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +if (lean_obj_tag(x_35) == 5) +{ +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_free_object(x_28); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_unsigned_to_nat(0u); +x_38 = l_Lean_Expr_getAppNumArgsAux(x_10, x_37); +x_39 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_38); +x_40 = lean_mk_array(x_38, x_39); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_sub(x_38, x_41); +lean_dec(x_38); +x_43 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_10, x_40, x_42); +x_44 = l_Lean_Expr_getAppNumArgsAux(x_13, x_37); +lean_inc(x_44); +x_45 = lean_mk_array(x_44, x_39); +x_46 = lean_nat_sub(x_44, x_41); +lean_dec(x_44); +x_47 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_45, x_46); +x_48 = lean_ctor_get(x_36, 1); +lean_inc(x_48); +lean_dec(x_36); +lean_inc(x_48); +x_49 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_49, 0, x_37); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_41); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Term_precheckMatch___closed__4; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_48); +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_43, x_47, x_51, x_49, x_48, x_37, x_51, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_49); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_43); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_52, 0); +lean_dec(x_55); +lean_ctor_set(x_52, 0, x_50); +return x_52; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_52, 1); +lean_inc(x_56); +lean_dec(x_52); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_50); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_53, 0); +lean_inc(x_58); +lean_dec(x_53); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +lean_dec(x_58); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_52, 1); +lean_inc(x_60); +lean_dec(x_52); +x_61 = lean_box(0); +x_62 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_43, x_48, x_47, x_51, x_50, x_61, x_4, x_5, x_6, x_7, x_60); +lean_dec(x_47); +lean_dec(x_43); +return x_62; +} +else +{ +uint8_t x_63; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_43); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_63 = !lean_is_exclusive(x_52); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_52, 0); +lean_dec(x_64); +x_65 = !lean_is_exclusive(x_59); +if (x_65 == 0) +{ +lean_ctor_set(x_52, 0, x_59); +return x_52; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_59, 0); +lean_inc(x_66); +lean_dec(x_59); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_52, 0, x_67); +return x_52; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_52, 1); +lean_inc(x_68); +lean_dec(x_52); +x_69 = lean_ctor_get(x_59, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + x_70 = x_59; +} else { + lean_dec_ref(x_59); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 1, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); +return x_72; +} +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_43); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_73 = !lean_is_exclusive(x_52); +if (x_73 == 0) +{ +return x_52; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_52, 0); +x_75 = lean_ctor_get(x_52, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_52); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +lean_object* x_77; +lean_dec(x_35); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_77 = lean_box(0); +lean_ctor_set(x_28, 0, x_77); +return x_28; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_28, 0); +x_79 = lean_ctor_get(x_28, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_28); +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_environment_find(x_80, x_27); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_82 = lean_box(0); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +return x_83; +} +else +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_81, 0); +lean_inc(x_84); +lean_dec(x_81); +if (lean_obj_tag(x_84) == 5) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_unsigned_to_nat(0u); +x_87 = l_Lean_Expr_getAppNumArgsAux(x_10, x_86); +x_88 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_87); +x_89 = lean_mk_array(x_87, x_88); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_nat_sub(x_87, x_90); +lean_dec(x_87); +x_92 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_10, x_89, x_91); +x_93 = l_Lean_Expr_getAppNumArgsAux(x_13, x_86); +lean_inc(x_93); +x_94 = lean_mk_array(x_93, x_88); +x_95 = lean_nat_sub(x_93, x_90); +lean_dec(x_93); +x_96 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_94, x_95); +x_97 = lean_ctor_get(x_85, 1); +lean_inc(x_97); +lean_dec(x_85); +lean_inc(x_97); +x_98 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_98, 0, x_86); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_90); +x_99 = lean_box(0); +x_100 = l_Lean_Elab_Term_precheckMatch___closed__4; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_97); +x_101 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_92, x_96, x_100, x_98, x_97, x_86, x_100, x_4, x_5, x_6, x_7, x_79); +lean_dec(x_98); +if (lean_obj_tag(x_101) == 0) +{ +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_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_97); +lean_dec(x_96); +lean_dec(x_92); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 2, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_99); +lean_ctor_set(x_105, 1, x_103); +return x_105; +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_102, 0); +lean_inc(x_106); +lean_dec(x_102); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +lean_dec(x_106); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_101, 1); +lean_inc(x_108); +lean_dec(x_101); +x_109 = lean_box(0); +x_110 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_92, x_97, x_96, x_100, x_99, x_109, x_4, x_5, x_6, x_7, x_108); +lean_dec(x_96); +lean_dec(x_92); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_97); +lean_dec(x_96); +lean_dec(x_92); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_111 = lean_ctor_get(x_101, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_112 = x_101; +} else { + lean_dec_ref(x_101); + x_112 = lean_box(0); +} +x_113 = lean_ctor_get(x_107, 0); +lean_inc(x_113); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + x_114 = x_107; +} else { + lean_dec_ref(x_107); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 1, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_113); +if (lean_is_scalar(x_112)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_112; +} +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_111); +return x_116; +} +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_97); +lean_dec(x_96); +lean_dec(x_92); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_117 = lean_ctor_get(x_101, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_101, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_119 = x_101; +} else { + lean_dec_ref(x_101); + 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_dec(x_84); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_121 = lean_box(0); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_79); +return x_122; +} +} +} +} +else +{ +lean_object* x_123; +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_123 = lean_box(0); +lean_ctor_set(x_15, 0, x_123); +return x_15; +} +} +else +{ +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_15, 1); +lean_inc(x_124); +lean_dec(x_15); +x_125 = l_Lean_Expr_getAppFn(x_10); +if (lean_obj_tag(x_125) == 4) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +lean_dec(x_125); +x_127 = lean_st_ref_get(x_7, x_124); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_130 = x_127; +} else { + lean_dec_ref(x_127); + x_130 = lean_box(0); +} +x_131 = lean_ctor_get(x_128, 0); +lean_inc(x_131); +lean_dec(x_128); +x_132 = lean_environment_find(x_131, x_126); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_133 = lean_box(0); +if (lean_is_scalar(x_130)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_130; +} +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_129); +return x_134; +} +else +{ +lean_object* x_135; +x_135 = lean_ctor_get(x_132, 0); +lean_inc(x_135); +lean_dec(x_132); +if (lean_obj_tag(x_135) == 5) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_130); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +lean_dec(x_135); +x_137 = lean_unsigned_to_nat(0u); +x_138 = l_Lean_Expr_getAppNumArgsAux(x_10, x_137); +x_139 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; +lean_inc(x_138); +x_140 = lean_mk_array(x_138, x_139); +x_141 = lean_unsigned_to_nat(1u); +x_142 = lean_nat_sub(x_138, x_141); +lean_dec(x_138); +x_143 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_10, x_140, x_142); +x_144 = l_Lean_Expr_getAppNumArgsAux(x_13, x_137); +lean_inc(x_144); +x_145 = lean_mk_array(x_144, x_139); +x_146 = lean_nat_sub(x_144, x_141); +lean_dec(x_144); +x_147 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_145, x_146); +x_148 = lean_ctor_get(x_136, 1); +lean_inc(x_148); +lean_dec(x_136); +lean_inc(x_148); +x_149 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_149, 0, x_137); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_141); +x_150 = lean_box(0); +x_151 = l_Lean_Elab_Term_precheckMatch___closed__4; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_148); +x_152 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_143, x_147, x_151, x_149, x_148, x_137, x_151, x_4, x_5, x_6, x_7, x_129); +lean_dec(x_149); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_143); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_155 = x_152; +} else { + lean_dec_ref(x_152); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(0, 2, 0); +} else { + x_156 = x_155; +} +lean_ctor_set(x_156, 0, x_150); +lean_ctor_set(x_156, 1, x_154); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_153, 0); +lean_inc(x_157); +lean_dec(x_153); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +lean_dec(x_157); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_152, 1); +lean_inc(x_159); +lean_dec(x_152); +x_160 = lean_box(0); +x_161 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_143, x_148, x_147, x_151, x_150, x_160, x_4, x_5, x_6, x_7, x_159); +lean_dec(x_147); +lean_dec(x_143); +return x_161; +} +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_dec(x_148); +lean_dec(x_147); +lean_dec(x_143); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_162 = lean_ctor_get(x_152, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_163 = x_152; +} else { + lean_dec_ref(x_152); + x_163 = lean_box(0); +} +x_164 = lean_ctor_get(x_158, 0); +lean_inc(x_164); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + x_165 = x_158; +} else { + lean_dec_ref(x_158); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 1, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_164); +if (lean_is_scalar(x_163)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_163; +} +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_162); +return x_167; +} +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_143); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_168 = lean_ctor_get(x_152, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_152, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_170 = x_152; +} else { + lean_dec_ref(x_152); + x_170 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); +} else { + x_171 = x_170; +} +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_169); +return x_171; +} +} +else +{ +lean_object* x_172; lean_object* x_173; +lean_dec(x_135); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_172 = lean_box(0); +if (lean_is_scalar(x_130)) { + x_173 = lean_alloc_ctor(0, 2, 0); +} else { + x_173 = x_130; +} +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_129); +return x_173; +} +} +} +else +{ +lean_object* x_174; lean_object* x_175; +lean_dec(x_125); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_174 = lean_box(0); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_124); +return x_175; +} +} +} +} +else +{ +uint8_t x_176; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_176 = !lean_is_exclusive(x_15); +if (x_176 == 0) +{ +return x_15; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_15, 0); +x_178 = lean_ctor_get(x_15, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_15); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; +} +} +} +else +{ +uint8_t x_180; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_180 = !lean_is_exclusive(x_12); +if (x_180 == 0) +{ +return x_12; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_12, 0); +x_182 = lean_ctor_get(x_12, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_12); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +else +{ +uint8_t x_184; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_9); +if (x_184 == 0) +{ +return x_9; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_9, 0); +x_186 = lean_ctor_get(x_9, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_9); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1() { _start: { @@ -24331,1010 +11508,94 @@ return x_2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_190; lean_object* x_191; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_209 = lean_st_ref_get(x_6, x_7); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_210, 3); -lean_inc(x_211); -lean_dec(x_210); -x_212 = lean_ctor_get_uint8(x_211, sizeof(void*)*1); -lean_dec(x_211); -if (x_212 == 0) -{ -lean_object* x_213; lean_object* x_214; -x_213 = lean_ctor_get(x_209, 1); -lean_inc(x_213); -lean_dec(x_209); -x_214 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; -x_190 = x_214; -x_191 = x_213; -goto block_208; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_215 = lean_ctor_get(x_209, 1); -lean_inc(x_215); -lean_dec(x_209); -x_216 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_217 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_216, x_3, x_4, x_5, x_6, x_215); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_190 = x_218; -x_191 = x_219; -goto block_208; -} -block_189: -{ -lean_object* x_10; -lean_dec(x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_10 = l_Lean_Meta_whnf(x_1, x_3, x_4, x_5, x_6, 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); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_13 = l_Lean_Meta_whnf(x_2, x_3, x_4, x_5, x_6, x_12); -if (lean_obj_tag(x_13) == 0) -{ -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); -lean_dec(x_13); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_16 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(x_11, x_14, x_3, x_4, x_5, x_6, 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) -{ -uint8_t x_18; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); -x_20 = lean_box(0); -lean_ctor_set(x_16, 0, x_20); -return x_16; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_dec(x_16); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_17); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 1); -x_26 = lean_ctor_get(x_16, 0); -lean_dec(x_26); -x_27 = l_Lean_Expr_getAppFn(x_11); -if (lean_obj_tag(x_27) == 4) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_free_object(x_16); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_st_ref_get(x_6, x_25); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -x_33 = lean_ctor_get(x_31, 0); -lean_inc(x_33); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_8 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_30 = lean_st_ref_get(x_6, x_7); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); lean_dec(x_31); -x_34 = lean_environment_find(x_33, x_28); -if (lean_obj_tag(x_34) == 0) +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); +lean_dec(x_32); +if (x_33 == 0) { -lean_object* x_35; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_35 = lean_box(0); -lean_ctor_set(x_29, 0, x_35); -return x_29; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__10; +x_9 = x_35; +x_10 = x_34; +goto block_29; } else { -lean_object* x_36; -x_36 = lean_ctor_get(x_34, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_30, 1); lean_inc(x_36); -lean_dec(x_34); -if (lean_obj_tag(x_36) == 5) -{ -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_free_object(x_29); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_Lean_Expr_getAppNumArgsAux(x_11, x_38); -x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +lean_dec(x_30); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(x_8, x_3, x_4, x_5, x_6, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_41 = lean_mk_array(x_39, x_40); -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_nat_sub(x_39, x_42); -lean_dec(x_39); -x_44 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_11, x_41, x_43); -x_45 = l_Lean_Expr_getAppNumArgsAux(x_14, x_38); -lean_inc(x_45); -x_46 = lean_mk_array(x_45, x_40); -x_47 = lean_nat_sub(x_45, x_42); -lean_dec(x_45); -x_48 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_14, x_46, x_47); -x_49 = lean_ctor_get(x_37, 1); -lean_inc(x_49); lean_dec(x_37); -lean_inc(x_49); -x_50 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_50, 0, x_38); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_42); -x_51 = lean_box(0); -x_52 = l_Lean_Elab_Term_precheckMatch___closed__4; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_49); -x_53 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_44, x_48, x_52, x_50, x_49, x_38, x_52, x_3, x_4, x_5, x_6, x_32); -lean_dec(x_50); -if (lean_obj_tag(x_53) == 0) +x_9 = x_38; +x_10 = x_39; +goto block_29; +} +block_29: { -lean_object* x_54; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -uint8_t x_55; -lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_44); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); -lean_ctor_set(x_53, 0, x_51); -return x_53; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_53, 1); -lean_inc(x_57); -lean_dec(x_53); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_54, 0); -lean_inc(x_59); -lean_dec(x_54); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -lean_dec(x_59); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_53, 1); -lean_inc(x_61); -lean_dec(x_53); -x_62 = lean_box(0); -x_63 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_44, x_49, x_48, x_52, x_51, x_62, x_3, x_4, x_5, x_6, x_61); -lean_dec(x_48); -lean_dec(x_44); -return x_63; -} -else -{ -uint8_t x_64; -lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_44); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_64 = !lean_is_exclusive(x_53); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_53, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_60); -if (x_66 == 0) -{ -lean_ctor_set(x_53, 0, x_60); -return x_53; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_60, 0); -lean_inc(x_67); -lean_dec(x_60); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_53, 0, x_68); -return x_53; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_69 = lean_ctor_get(x_53, 1); -lean_inc(x_69); -lean_dec(x_53); -x_70 = lean_ctor_get(x_60, 0); -lean_inc(x_70); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - x_71 = x_60; -} else { - lean_dec_ref(x_60); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 1, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_70); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_69); -return x_73; -} -} -} -} -else -{ -uint8_t x_74; -lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_44); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_74 = !lean_is_exclusive(x_53); -if (x_74 == 0) -{ -return x_53; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_53, 0); -x_76 = lean_ctor_get(x_53, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_53); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -lean_object* x_78; -lean_dec(x_36); -lean_dec(x_14); +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_unbox(x_11); lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_78 = lean_box(0); -lean_ctor_set(x_29, 0, x_78); -return x_29; -} -} +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_10); +return x_14; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_29, 0); -x_80 = lean_ctor_get(x_29, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_29); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_environment_find(x_81, x_28); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_83 = lean_box(0); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_80); -return x_84; -} -else -{ -lean_object* x_85; -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -lean_dec(x_82); -if (lean_obj_tag(x_85) == 5) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_unsigned_to_nat(0u); -x_88 = l_Lean_Expr_getAppNumArgsAux(x_11, x_87); -x_89 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_88); -x_90 = lean_mk_array(x_88, x_89); -x_91 = lean_unsigned_to_nat(1u); -x_92 = lean_nat_sub(x_88, x_91); -lean_dec(x_88); -x_93 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_11, x_90, x_92); -x_94 = l_Lean_Expr_getAppNumArgsAux(x_14, x_87); -lean_inc(x_94); -x_95 = lean_mk_array(x_94, x_89); -x_96 = lean_nat_sub(x_94, x_91); -lean_dec(x_94); -x_97 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_14, x_95, x_96); -x_98 = lean_ctor_get(x_86, 1); -lean_inc(x_98); -lean_dec(x_86); -lean_inc(x_98); -x_99 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_99, 0, x_87); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set(x_99, 2, x_91); -x_100 = lean_box(0); -x_101 = l_Lean_Elab_Term_precheckMatch___closed__4; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_98); -x_102 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_93, x_97, x_101, x_99, x_98, x_87, x_101, x_3, x_4, x_5, x_6, x_80); -lean_dec(x_99); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_93); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; -} else { - lean_dec_ref(x_102); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_100); -lean_ctor_set(x_106, 1, x_104); -return x_106; -} -else -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_103, 0); -lean_inc(x_107); -lean_dec(x_103); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -lean_dec(x_107); -if (lean_obj_tag(x_108) == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_102, 1); -lean_inc(x_109); -lean_dec(x_102); -x_110 = lean_box(0); -x_111 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_93, x_98, x_97, x_101, x_100, x_110, x_3, x_4, x_5, x_6, x_109); -lean_dec(x_97); -lean_dec(x_93); -return x_111; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_93); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_112 = lean_ctor_get(x_102, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_113 = x_102; -} else { - lean_dec_ref(x_102); - x_113 = lean_box(0); -} -x_114 = lean_ctor_get(x_108, 0); -lean_inc(x_114); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - x_115 = x_108; -} else { - lean_dec_ref(x_108); - x_115 = lean_box(0); -} -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(1, 1, 0); -} else { - x_116 = x_115; -} -lean_ctor_set(x_116, 0, x_114); -if (lean_is_scalar(x_113)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_113; -} -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_112); -return x_117; -} -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_93); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_118 = lean_ctor_get(x_102, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_102, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_120 = x_102; -} else { - lean_dec_ref(x_102); - x_120 = lean_box(0); -} -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); -} else { - x_121 = x_120; -} -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -return x_121; -} -} -else -{ -lean_object* x_122; lean_object* x_123; -lean_dec(x_85); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_122 = lean_box(0); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_80); -return x_123; -} -} -} -} -else -{ -lean_object* x_124; -lean_dec(x_27); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_124 = lean_box(0); -lean_ctor_set(x_16, 0, x_124); -return x_16; -} -} -else -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_ctor_get(x_16, 1); -lean_inc(x_125); -lean_dec(x_16); -x_126 = l_Lean_Expr_getAppFn(x_11); -if (lean_obj_tag(x_126) == 4) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_st_ref_get(x_6, x_125); -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); -} -x_132 = lean_ctor_get(x_129, 0); -lean_inc(x_132); -lean_dec(x_129); -x_133 = lean_environment_find(x_132, x_127); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_134 = lean_box(0); -if (lean_is_scalar(x_131)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_131; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_130); -return x_135; -} -else -{ -lean_object* x_136; -x_136 = lean_ctor_get(x_133, 0); -lean_inc(x_136); -lean_dec(x_133); -if (lean_obj_tag(x_136) == 5) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_131); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_unsigned_to_nat(0u); -x_139 = l_Lean_Expr_getAppNumArgsAux(x_11, x_138); -x_140 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; -lean_inc(x_139); -x_141 = lean_mk_array(x_139, x_140); -x_142 = lean_unsigned_to_nat(1u); -x_143 = lean_nat_sub(x_139, x_142); -lean_dec(x_139); -x_144 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_11, x_141, x_143); -x_145 = l_Lean_Expr_getAppNumArgsAux(x_14, x_138); -lean_inc(x_145); -x_146 = lean_mk_array(x_145, x_140); -x_147 = lean_nat_sub(x_145, x_142); -lean_dec(x_145); -x_148 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_14, x_146, x_147); -x_149 = lean_ctor_get(x_137, 1); -lean_inc(x_149); -lean_dec(x_137); -lean_inc(x_149); -x_150 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_150, 0, x_138); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_142); -x_151 = lean_box(0); -x_152 = l_Lean_Elab_Term_precheckMatch___closed__4; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_149); -x_153 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(x_144, x_148, x_152, x_150, x_149, x_138, x_152, x_3, x_4, x_5, x_6, x_130); -lean_dec(x_150); -if (lean_obj_tag(x_153) == 0) -{ -lean_object* x_154; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -lean_dec(x_149); -lean_dec(x_148); -lean_dec(x_144); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - x_156 = x_153; -} else { - lean_dec_ref(x_153); - x_156 = lean_box(0); -} -if (lean_is_scalar(x_156)) { - x_157 = lean_alloc_ctor(0, 2, 0); -} else { - x_157 = x_156; -} -lean_ctor_set(x_157, 0, x_151); -lean_ctor_set(x_157, 1, x_155); -return x_157; -} -else -{ -lean_object* x_158; lean_object* x_159; -x_158 = lean_ctor_get(x_154, 0); -lean_inc(x_158); -lean_dec(x_154); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -lean_dec(x_158); -if (lean_obj_tag(x_159) == 0) -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_153, 1); -lean_inc(x_160); -lean_dec(x_153); -x_161 = lean_box(0); -x_162 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(x_144, x_149, x_148, x_152, x_151, x_161, x_3, x_4, x_5, x_6, x_160); -lean_dec(x_148); -lean_dec(x_144); -return x_162; -} -else -{ -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_dec(x_149); -lean_dec(x_148); -lean_dec(x_144); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_163 = lean_ctor_get(x_153, 1); -lean_inc(x_163); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - x_164 = x_153; -} else { - lean_dec_ref(x_153); - x_164 = lean_box(0); -} -x_165 = lean_ctor_get(x_159, 0); -lean_inc(x_165); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - x_166 = x_159; -} else { - lean_dec_ref(x_159); - x_166 = lean_box(0); -} -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(1, 1, 0); -} else { - x_167 = x_166; -} -lean_ctor_set(x_167, 0, x_165); -if (lean_is_scalar(x_164)) { - x_168 = lean_alloc_ctor(0, 2, 0); -} else { - x_168 = x_164; -} -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_163); -return x_168; -} -} -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_149); -lean_dec(x_148); -lean_dec(x_144); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_169 = lean_ctor_get(x_153, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_153, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - x_171 = x_153; -} else { - lean_dec_ref(x_153); - 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_dec(x_136); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_173 = lean_box(0); -if (lean_is_scalar(x_131)) { - x_174 = lean_alloc_ctor(0, 2, 0); -} else { - x_174 = x_131; -} -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_130); -return x_174; -} -} -} -else -{ -lean_object* x_175; lean_object* x_176; -lean_dec(x_126); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_175 = lean_box(0); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_125); -return x_176; -} -} -} -} -else -{ -uint8_t x_177; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_177 = !lean_is_exclusive(x_16); -if (x_177 == 0) -{ -return x_16; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_16, 0); -x_179 = lean_ctor_get(x_16, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_16); -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_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_181 = !lean_is_exclusive(x_13); -if (x_181 == 0) -{ -return x_13; -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_182 = lean_ctor_get(x_13, 0); -x_183 = lean_ctor_get(x_13, 1); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_13); -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; -} -} -} -else -{ -uint8_t x_185; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_185 = !lean_is_exclusive(x_10); -if (x_185 == 0) -{ -return x_10; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_10, 0); -x_187 = lean_ctor_get(x_10, 1); -lean_inc(x_187); -lean_inc(x_186); -lean_dec(x_10); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -return x_188; -} -} -} -block_208: -{ -lean_object* x_192; uint8_t x_193; -x_192 = lean_ctor_get(x_190, 0); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_unbox(x_192); -lean_dec(x_192); -if (x_193 == 0) -{ -lean_object* x_194; -x_194 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1; -x_8 = x_194; -x_9 = x_191; -goto block_189; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_object* x_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_inc(x_1); -x_195 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_195, 0, x_1); -x_196 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2; -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_195); -x_198 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9; -x_199 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); lean_inc(x_2); -x_200 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_200, 0, x_2); -x_201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -x_202 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -x_204 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_205 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_204, x_203, x_3, x_4, x_5, x_6, x_191); -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_8 = x_206; -x_9 = x_207; -goto block_189; +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3(x_8, x_23, x_3, x_4, x_5, x_6, x_10); +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_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2(x_1, x_2, x_27, x_3, x_4, x_5, x_6, x_26); +lean_dec(x_27); +return x_28; } } } @@ -25372,6 +11633,15 @@ lean_dec(x_1); return x_12; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath(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: { @@ -25640,7 +11910,7 @@ lean_inc(x_21); lean_dec(x_20); x_22 = lean_unsigned_to_nat(0u); x_23 = l_Lean_Expr_getAppNumArgsAux(x_9, x_22); -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_inc(x_23); x_25 = lean_mk_array(x_23, x_24); x_26 = lean_unsigned_to_nat(1u); @@ -25856,7 +12126,7 @@ lean_inc(x_73); lean_dec(x_72); x_74 = lean_unsigned_to_nat(0u); x_75 = l_Lean_Expr_getAppNumArgsAux(x_9, x_74); -x_76 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +x_76 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_inc(x_75); x_77 = lean_mk_array(x_75, x_76); x_78 = lean_unsigned_to_nat(1u); @@ -26103,7 +12373,7 @@ lean_inc(x_129); lean_dec(x_127); x_130 = lean_unsigned_to_nat(0u); x_131 = l_Lean_Expr_getAppNumArgsAux(x_9, x_130); -x_132 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +x_132 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_inc(x_131); x_133 = lean_mk_array(x_131, x_132); x_134 = lean_unsigned_to_nat(1u); @@ -26396,7 +12666,7 @@ lean_inc(x_192); lean_dec(x_190); x_193 = lean_unsigned_to_nat(0u); x_194 = l_Lean_Expr_getAppNumArgsAux(x_179, x_193); -x_195 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +x_195 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_inc(x_194); x_196 = lean_mk_array(x_194, x_195); x_197 = lean_unsigned_to_nat(1u); @@ -26876,11 +13146,11 @@ x_21 = lean_ctor_get(x_16, 0); lean_inc(x_1); x_22 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_22, 0, x_1); -x_23 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_23 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_25 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); @@ -26934,11 +13204,11 @@ lean_dec(x_16); lean_inc(x_1); x_42 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_42, 0, x_1); -x_43 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_43 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_45 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); @@ -27006,11 +13276,11 @@ if (lean_is_exclusive(x_16)) { lean_inc(x_1); x_65 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_65, 0, x_1); -x_66 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; +x_66 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4; +x_68 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); @@ -27151,6 +13421,46 @@ return x_18; } } } +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; uint8_t x_15; +x_13 = 0; +x_14 = l_Lean_Elab_Term_SavedState_restore(x_1, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +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); +lean_dec(x_16); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_3); +lean_ctor_set(x_17, 2, x_4); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_3); +lean_ctor_set(x_20, 2, x_4); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; +} +} +} static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__1() { _start: { @@ -27417,141 +13727,114 @@ return x_85; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_100; lean_object* x_101; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; x_86 = lean_ctor_get(x_78, 1); lean_inc(x_86); lean_dec(x_78); x_87 = lean_ctor_get(x_79, 0); lean_inc(x_87); lean_dec(x_79); -x_116 = lean_st_ref_get(x_11, x_86); -x_117 = lean_ctor_get(x_116, 0); +x_88 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_111 = lean_st_ref_get(x_11, x_86); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_112, 3); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_ctor_get_uint8(x_113, sizeof(void*)*1); +lean_dec(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_111, 1); +lean_inc(x_115); +lean_dec(x_111); +x_116 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; +x_89 = x_116; +x_90 = x_115; +goto block_110; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_117 = lean_ctor_get(x_111, 1); lean_inc(x_117); -x_118 = lean_ctor_get(x_117, 3); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_ctor_get_uint8(x_118, sizeof(void*)*1); -lean_dec(x_118); -if (x_119 == 0) -{ -lean_object* x_120; lean_object* x_121; -x_120 = lean_ctor_get(x_116, 1); +lean_dec(x_111); +x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); -lean_dec(x_116); -x_121 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; -x_100 = x_121; -x_101 = x_120; -goto block_115; +lean_dec(x_118); +x_89 = x_119; +x_90 = x_120; +goto block_110; } -else +block_110: { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_122 = lean_ctor_get(x_116, 1); -lean_inc(x_122); -lean_dec(x_116); -x_123 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_124 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_123, x_6, x_7, x_8, x_9, x_10, x_11, x_122); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_100 = x_125; -x_101 = x_126; -goto block_115; -} -block_99: -{ -uint8_t x_90; -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_88, 0); +lean_object* x_91; uint8_t x_92; +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_unbox(x_91); lean_dec(x_91); -x_92 = l_Lean_Elab_Term_SavedState_restore(x_48, x_57, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -lean_inc(x_4); -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_64); -lean_ctor_set(x_94, 1, x_4); -lean_ctor_set(x_94, 2, x_87); -lean_ctor_set_tag(x_88, 0); -lean_ctor_set(x_88, 0, x_94); -x_41 = x_88; -x_42 = x_93; -goto block_46; -} -else +if (x_92 == 0) { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_88); -x_95 = l_Lean_Elab_Term_SavedState_restore(x_48, x_57, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_box(0); lean_inc(x_4); -x_97 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_97, 0, x_64); -lean_ctor_set(x_97, 1, x_4); -lean_ctor_set(x_97, 2, x_87); -x_98 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_41 = x_98; +x_94 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3(x_48, x_64, x_4, x_87, x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_41 = x_95; x_42 = x_96; goto block_46; } -} -block_115: -{ -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_102); -lean_dec(x_102); -if (x_103 == 0) -{ -lean_object* x_104; -x_104 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___closed__1; -x_88 = x_104; -x_89 = x_101; -goto block_99; -} else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_inc(x_87); -x_105 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2(x_87); -x_106 = l_Lean_MessageData_ofList(x_105); -lean_dec(x_105); -x_107 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__4; -x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_110 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_111 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_112 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_111, x_110, x_6, x_7, x_8, x_9, x_10, x_11, x_101); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_88 = x_113; -x_89 = x_114; -goto block_99; +x_97 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2(x_87); +x_98 = l_Lean_MessageData_ofList(x_97); +lean_dec(x_97); +x_99 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__4; +x_100 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +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_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_88, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +lean_dec(x_104); +lean_inc(x_4); +x_107 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3(x_48, x_64, x_4, x_87, x_106, x_6, x_7, x_8, x_9, x_10, x_11, x_105); +lean_dec(x_106); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_41 = x_108; +x_42 = x_109; +goto block_46; } } } } else { -uint8_t x_127; +uint8_t x_121; lean_dec(x_64); lean_dec(x_48); lean_dec(x_18); @@ -27562,23 +13845,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_127 = !lean_is_exclusive(x_78); -if (x_127 == 0) +x_121 = !lean_is_exclusive(x_78); +if (x_121 == 0) { return x_78; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_78, 0); -x_129 = lean_ctor_get(x_78, 1); -lean_inc(x_129); -lean_inc(x_128); +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_78, 0); +x_123 = lean_ctor_get(x_78, 1); +lean_inc(x_123); +lean_inc(x_122); lean_dec(x_78); -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; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; } } } @@ -27609,46 +13892,46 @@ goto block_31; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_dec(x_37); lean_dec(x_35); lean_dec(x_33); lean_dec(x_18); lean_dec(x_4); -x_131 = lean_ctor_get(x_36, 1); -lean_inc(x_131); +x_125 = lean_ctor_get(x_36, 1); +lean_inc(x_125); lean_dec(x_36); -x_132 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__2; -x_133 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1(x_132, x_6, x_7, x_8, x_9, x_10, x_11, x_131); +x_126 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__2; +x_127 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1(x_126, x_6, x_7, x_8, x_9, x_10, x_11, x_125); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_134 = !lean_is_exclusive(x_133); -if (x_134 == 0) +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) { -return x_133; +return x_127; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_133, 0); -x_136 = lean_ctor_get(x_133, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_133); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_127, 0); +x_130 = lean_ctor_get(x_127, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_127); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } } else { -uint8_t x_138; +uint8_t x_132; lean_dec(x_35); lean_dec(x_33); lean_dec(x_18); @@ -27659,23 +13942,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_138 = !lean_is_exclusive(x_36); -if (x_138 == 0) +x_132 = !lean_is_exclusive(x_36); +if (x_132 == 0) { return x_36; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_36, 0); -x_140 = lean_ctor_get(x_36, 1); -lean_inc(x_140); -lean_inc(x_139); +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_36, 0); +x_134 = lean_ctor_get(x_36, 1); +lean_inc(x_134); +lean_inc(x_133); lean_dec(x_36); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } block_31: @@ -27736,7 +14019,7 @@ goto _start; } else { -lean_object* x_142; lean_object* x_143; +lean_object* x_136; lean_object* x_137; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -27745,17 +14028,17 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_5); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_12); -return x_143; +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_5); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_12); +return x_137; } } else { -lean_object* x_144; lean_object* x_145; +lean_object* x_138; lean_object* x_139; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -27764,12 +14047,12 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_5); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_12); -return x_145; +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_5); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_12); +return x_139; } } } @@ -27785,7 +14068,7 @@ x_13 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_10); lean_ctor_set(x_13, 2, x_12); -x_14 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_2); lean_ctor_set(x_15, 1, x_14); @@ -28174,6 +14457,21 @@ lean_dec(x_1); return x_12; } } +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_13; +} +} lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___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, lean_object* x_11, lean_object* x_12) { _start: { @@ -28260,7 +14558,106 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_finalizePatternDecls_match__2_ return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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_inc(x_6); +x_11 = l_Lean_Meta_getLocalDecl(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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 = l_Lean_Meta_instantiateLocalDeclMVars(x_12, x_6, x_7, x_8, x_9, x_13); +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_array_push(x_2, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_array_push(x_2, x_19); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, 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_20); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +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; +} +} +} +else +{ +uint8_t x_28; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_11); +if (x_28 == 0) +{ +return x_11; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_11, 0); +x_30 = lean_ctor_get(x_11, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_11); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -28268,6 +14665,161 @@ x_1 = lean_mk_string("finalizePatternDecls: "); return x_1; } } +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" := "); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +lean_inc(x_2); +x_14 = l_Lean_mkFVar(x_2); +lean_inc(x_14); +lean_inc(x_13); +x_15 = l_Lean_Meta_assignExprMVar(x_13, x_14, x_8, x_9, x_10, x_11, x_12); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_36 = lean_st_ref_get(x_11, x_16); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_17 = x_41; +x_18 = x_40; +goto block_35; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +lean_inc(x_3); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_17 = x_46; +x_18 = x_45; +goto block_35; +} +block_35: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__1(x_2, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_21 = l_Lean_mkMVar(x_13); +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_14); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_3, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +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_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__1(x_2, x_4, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +lean_dec(x_32); +return x_34; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_4); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_12); +return x_48; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("finalizePatternDecls: mvarId: "); +return x_1; +} +} static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__2() { _start: { @@ -28281,7 +14833,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizeP _start: { lean_object* x_1; -x_1 = lean_mk_string(" := "); +x_1 = lean_mk_string(", fvar: "); return x_1; } } @@ -28294,40 +14846,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("finalizePatternDecls: mvarId: "); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", fvar: "); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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: { @@ -28351,314 +14869,88 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_array_uget(x_1, x_3); if (lean_obj_tag(x_14) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_42; lean_object* x_43; -x_22 = lean_ctor_get(x_14, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); lean_dec(x_14); -lean_inc(x_22); -x_42 = l_Lean_mkMVar(x_22); +lean_inc(x_24); +x_26 = l_Lean_mkMVar(x_24); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_43 = l_Lean_Meta_instantiateMVars(x_42, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_43) == 0) +x_27 = l_Lean_Meta_instantiateMVars(x_26, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_81; lean_object* x_82; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_101 = lean_st_ref_get(x_10, x_45); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_102, 3); -lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_ctor_get_uint8(x_103, sizeof(void*)*1); -lean_dec(x_103); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_101, 1); -lean_inc(x_105); -lean_dec(x_101); -x_106 = 0; -x_81 = x_106; -x_82 = x_105; -goto block_100; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_dec(x_101); -x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_109 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_108, x_5, x_6, x_7, x_8, x_9, x_10, x_107); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_unbox(x_110); -lean_dec(x_110); -x_81 = x_112; -x_82 = x_111; -goto block_100; -} -block_80: -{ -if (lean_obj_tag(x_44) == 2) -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_47 = lean_ctor_get(x_44, 0); -lean_inc(x_47); -lean_dec(x_44); -lean_inc(x_23); -x_48 = l_Lean_mkFVar(x_23); -lean_inc(x_48); -lean_inc(x_47); -x_65 = l_Lean_Meta_assignExprMVar(x_47, x_48, x_7, x_8, x_9, x_10, x_46); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_ref_get(x_10, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = 0; -x_49 = x_72; -x_50 = x_71; -goto block_64; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_dec(x_67); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_49 = x_78; -x_50 = x_77; -goto block_64; -} -block_64: -{ -if (x_49 == 0) -{ -lean_dec(x_48); -lean_dec(x_47); -x_24 = x_50; -goto block_41; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_51 = l_Lean_mkMVar(x_47); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__2; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_57, 0, x_48); -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_62 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_61, x_60, x_5, x_6, x_7, x_8, x_9, x_10, x_50); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_24 = x_63; -goto block_41; -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_44); -lean_dec(x_23); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_4); -x_15 = x_79; -x_16 = x_46; -goto block_21; -} -} -block_100: -{ -if (x_81 == 0) -{ -lean_dec(x_22); -x_46 = x_82; -goto block_80; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_83 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_83, 0, x_22); -x_84 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -lean_inc(x_44); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_44); -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8; -x_91 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -lean_inc(x_23); -x_92 = l_Lean_mkFVar(x_23); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_93); -x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_98 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_97, x_96, x_5, x_6, x_7, x_8, x_9, x_10, x_82); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_46 = x_99; -goto block_80; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_113 = !lean_is_exclusive(x_43); -if (x_113 == 0) -{ -return x_43; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_43, 0); -x_115 = lean_ctor_get(x_43, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_43); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -block_41: -{ -lean_object* x_25; -lean_inc(x_7); -x_25 = l_Lean_Meta_getLocalDecl(x_23, x_7, x_8, x_9, x_10, x_24); -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_28 = l_Lean_Meta_instantiateLocalDeclMVars(x_26, x_7, x_8, x_9, x_10, x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_array_push(x_4, x_29); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_15 = x_32; -x_16 = x_30; -goto block_21; +lean_dec(x_27); +x_30 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_66 = lean_st_ref_get(x_10, x_29); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_31 = x_71; +x_32 = x_70; +goto block_65; } else { -uint8_t x_33; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_33 = !lean_is_exclusive(x_28); -if (x_33 == 0) -{ -return x_28; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_31 = x_76; +x_32 = x_75; +goto block_65; } -else +block_65: { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_28, 0); -x_35 = lean_ctor_get(x_28, 1); +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_24); +x_33 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_34 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2(x_28, x_25, x_30, x_4, x_33, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_28); -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; -} -} +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_15 = x_35; +x_16 = x_36; +goto block_23; } else { @@ -28667,20 +14959,19 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); -x_37 = !lean_is_exclusive(x_25); +x_37 = !lean_is_exclusive(x_34); if (x_37 == 0) { -return x_25; +return x_34; } else { lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_25, 0); -x_39 = lean_ctor_get(x_25, 1); +x_38 = lean_ctor_get(x_34, 0); +x_39 = lean_ctor_get(x_34, 1); lean_inc(x_39); lean_inc(x_38); -lean_dec(x_25); +lean_dec(x_34); x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); @@ -28688,115 +14979,249 @@ return x_40; } } } -} else { -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_14, 0); -lean_inc(x_117); -lean_dec(x_14); -lean_inc(x_7); -x_118 = l_Lean_Meta_getLocalDecl(x_117, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_41 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_41, 0, x_24); +x_42 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__2; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +lean_inc(x_28); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_28); +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +lean_inc(x_25); +x_50 = l_Lean_mkFVar(x_25); +x_51 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_30, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_121 = l_Lean_Meta_instantiateLocalDeclMVars(x_119, x_7, x_8, x_9, x_10, x_120); -if (lean_obj_tag(x_121) == 0) +x_58 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2(x_28, x_25, x_30, x_4, x_56, x_5, x_6, x_7, x_8, x_9, x_10, x_57); +lean_dec(x_56); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_array_push(x_4, x_122); -x_125 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_125, 0, x_124); -x_15 = x_125; -x_16 = x_123; -goto block_21; +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_15 = x_59; +x_16 = x_60; +goto block_23; } else { -uint8_t x_126; +uint8_t x_61; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_61 = !lean_is_exclusive(x_58); +if (x_61 == 0) +{ +return x_58; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_58, 0); +x_63 = lean_ctor_get(x_58, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_58); +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; +} +} +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_25); +lean_dec(x_24); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); -x_126 = !lean_is_exclusive(x_121); -if (x_126 == 0) +x_77 = !lean_is_exclusive(x_27); +if (x_77 == 0) { -return x_121; +return x_27; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -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_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_27, 0); +x_79 = lean_ctor_get(x_27, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_27); +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_130; +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_14, 0); +lean_inc(x_81); +lean_dec(x_14); +lean_inc(x_7); +x_82 = l_Lean_Meta_getLocalDecl(x_81, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_85 = l_Lean_Meta_instantiateLocalDeclMVars(x_83, x_7, x_8, x_9, x_10, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_array_push(x_4, x_86); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_15 = x_89; +x_16 = x_87; +goto block_23; +} +else +{ +uint8_t x_90; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); -x_130 = !lean_is_exclusive(x_118); -if (x_130 == 0) +x_90 = !lean_is_exclusive(x_85); +if (x_90 == 0) { -return x_118; +return x_85; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_118, 0); -x_132 = lean_ctor_get(x_118, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_118); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_85, 0); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_85); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } -block_21: +else { -lean_object* x_17; size_t x_18; size_t x_19; +uint8_t x_94; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_94 = !lean_is_exclusive(x_82); +if (x_94 == 0) +{ +return x_82; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_82, 0); +x_96 = lean_ctor_get(x_82, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_82); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +block_23: +{ +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_18 = 1; -x_19 = x_3 + x_18; -x_3 = x_19; -x_4 = x_17; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = 1; +x_21 = x_3 + x_20; +x_3 = x_21; +x_4 = x_19; x_11 = x_16; goto _start; } } } } +} lean_object* l_Lean_Elab_Term_finalizePatternDecls(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: { @@ -28805,7 +15230,7 @@ x_9 = lean_array_get_size(x_1); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; -x_12 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -28851,6 +15276,28 @@ return x_20; } } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___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) { +_start: +{ +lean_object* x_13; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_13; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___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: { @@ -29374,6 +15821,42 @@ x_7 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Elab_Match return x_7; } } +lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_addMacroScope(x_10, x_1, x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = l_Lean_addMacroScope(x_10, x_1, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__1() { _start: { @@ -29392,246 +15875,30 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___lambda__1___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___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) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_take(x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_12, x_13); -lean_ctor_set(x_9, 1, x_14); -x_15 = lean_st_ref_set(x_6, x_9, x_10); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = !lean_is_exclusive(x_1); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_1, 4); -lean_dec(x_18); -lean_ctor_set(x_1, 4, x_12); -x_19 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_16); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_1, x_2, x_3, x_4, x_5, x_6, x_21); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; -x_26 = l_Lean_addMacroScope(x_20, x_25, x_24); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; -x_30 = l_Lean_addMacroScope(x_20, x_29, x_27); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_32 = lean_ctor_get(x_1, 0); -x_33 = lean_ctor_get(x_1, 1); -x_34 = lean_ctor_get(x_1, 2); -x_35 = lean_ctor_get(x_1, 3); -x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); -x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); -x_39 = lean_ctor_get(x_1, 5); -x_40 = lean_ctor_get(x_1, 6); -x_41 = lean_ctor_get(x_1, 7); -x_42 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 3); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_1); -x_43 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_43, 0, x_32); -lean_ctor_set(x_43, 1, x_33); -lean_ctor_set(x_43, 2, x_34); -lean_ctor_set(x_43, 3, x_35); -lean_ctor_set(x_43, 4, x_12); -lean_ctor_set(x_43, 5, x_39); -lean_ctor_set(x_43, 6, x_40); -lean_ctor_set(x_43, 7, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*8, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 1, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 2, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*8 + 3, x_42); -x_44 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_16); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_43, x_2, x_3, x_4, x_5, x_6, x_46); -lean_dec(x_43); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_50 = x_47; -} else { - lean_dec_ref(x_47); - x_50 = lean_box(0); -} -x_51 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; -x_52 = l_Lean_addMacroScope(x_45, x_51, x_48); -if (lean_is_scalar(x_50)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_50; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_49); -return x_53; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; uint8_t 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; lean_object* x_84; lean_object* x_85; -x_54 = lean_ctor_get(x_9, 0); -x_55 = lean_ctor_get(x_9, 1); -x_56 = lean_ctor_get(x_9, 2); -x_57 = lean_ctor_get(x_9, 3); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_9); -x_58 = lean_unsigned_to_nat(1u); -x_59 = lean_nat_add(x_55, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_56); -lean_ctor_set(x_60, 3, x_57); -x_61 = lean_st_ref_set(x_6, x_60, x_10); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_ctor_get(x_1, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_1, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_1, 2); -lean_inc(x_65); -x_66 = lean_ctor_get(x_1, 3); -lean_inc(x_66); -x_67 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -x_68 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); -x_69 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); -x_70 = lean_ctor_get(x_1, 5); -lean_inc(x_70); -x_71 = lean_ctor_get(x_1, 6); -lean_inc(x_71); -x_72 = lean_ctor_get(x_1, 7); -lean_inc(x_72); -x_73 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - lean_ctor_release(x_1, 2); - lean_ctor_release(x_1, 3); - lean_ctor_release(x_1, 4); - lean_ctor_release(x_1, 5); - lean_ctor_release(x_1, 6); - lean_ctor_release(x_1, 7); - x_74 = x_1; -} else { - lean_dec_ref(x_1); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 8, 4); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_63); -lean_ctor_set(x_75, 1, x_64); -lean_ctor_set(x_75, 2, x_65); -lean_ctor_set(x_75, 3, x_66); -lean_ctor_set(x_75, 4, x_55); -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_67); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 1, x_68); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 2, x_69); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 3, x_73); -x_76 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_62); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = l_Lean_Elab_Term_getCurrMacroScope(x_75, x_2, x_3, x_4, x_5, x_6, x_78); -lean_dec(x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -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; -} else { - lean_dec_ref(x_79); - x_82 = lean_box(0); -} -x_83 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; -x_84 = l_Lean_addMacroScope(x_77, x_83, x_80); -if (lean_is_scalar(x_82)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_82; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_81); -return x_85; -} +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3; +x_9 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; } } lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg), 7, 0); return x_2; } } @@ -29680,7 +15947,7 @@ lean_inc(x_1); x_21 = l_Lean_Meta_inferType(x_1, x_5, x_6, x_7, x_8, x_20); if (lean_obj_tag(x_21) == 0) { -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; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -29692,10 +15959,11 @@ x_25 = l_Lean_Meta_assignExprMVar(x_10, x_24, x_5, x_6, x_7, x_8, x_23); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); +lean_inc(x_8); x_27 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -29889,27 +16157,23 @@ return x_85; else { uint8_t x_86; +lean_dec(x_22); lean_dec(x_19); -lean_dec(x_10); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); lean_dec(x_1); -x_86 = !lean_is_exclusive(x_21); +x_86 = !lean_is_exclusive(x_27); if (x_86 == 0) { -return x_21; +return x_27; } else { lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_21, 0); -x_88 = lean_ctor_get(x_21, 1); +x_87 = lean_ctor_get(x_27, 0); +x_88 = lean_ctor_get(x_27, 1); lean_inc(x_88); lean_inc(x_87); -lean_dec(x_21); +lean_dec(x_27); x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_87); lean_ctor_set(x_89, 1, x_88); @@ -29920,42 +16184,75 @@ return x_89; else { uint8_t x_90; +lean_dec(x_19); lean_dec(x_10); 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_1); -x_90 = !lean_is_exclusive(x_15); +x_90 = !lean_is_exclusive(x_21); if (x_90 == 0) { +return x_21; +} +else +{ lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_15, 0); -lean_dec(x_91); -x_92 = lean_ctor_get(x_16, 0); +x_91 = lean_ctor_get(x_21, 0); +x_92 = lean_ctor_get(x_21, 1); lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_21); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_10); +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_1); +x_94 = !lean_is_exclusive(x_15); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_15, 0); +lean_dec(x_95); +x_96 = lean_ctor_get(x_16, 0); +lean_inc(x_96); lean_dec(x_16); -x_93 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_15, 0, x_93); +x_97 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_15, 0, x_97); return x_15; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_15, 1); -lean_inc(x_94); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_15, 1); +lean_inc(x_98); lean_dec(x_15); -x_95 = lean_ctor_get(x_16, 0); -lean_inc(x_95); +x_99 = lean_ctor_get(x_16, 0); +lean_inc(x_99); lean_dec(x_16); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_94); -return x_97; +x_100 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_98); +return x_101; } } } @@ -29983,17 +16280,18 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__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) { +lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___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) { _start: { -lean_object* x_8; -x_8 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_9; +x_9 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_8; +return x_9; } } lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___boxed(lean_object* x_1) { @@ -30020,7 +16318,6 @@ _start: { lean_object* x_10; x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor(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_2); return x_10; } @@ -30688,15 +16985,33 @@ static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("unexpected occurrence of auxiliary declaration 'namedPattern'"); +x_1 = lean_mk_string("namedPattern"); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected occurrence of auxiliary declaration 'namedPattern'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__1; +x_1 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -30713,7 +17028,7 @@ x_11 = l_Lean_Expr_arrayLit_x3f(x_1); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__25; +x_12 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__2; x_13 = lean_unsigned_to_nat(3u); x_14 = l_Lean_Expr_isAppOfArity(x_1, x_12, x_13); if (x_14 == 0) @@ -30812,7 +17127,7 @@ lean_inc(x_35); lean_dec(x_34); x_36 = lean_unsigned_to_nat(0u); x_37 = l_Lean_Expr_getAppNumArgsAux(x_1, x_36); -x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__5; +x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1; lean_inc(x_37); x_39 = lean_mk_array(x_37, x_38); x_40 = lean_unsigned_to_nat(1u); @@ -30941,7 +17256,6 @@ else { lean_object* x_61; x_61 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor(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_2); return x_61; } @@ -31166,7 +17480,7 @@ lean_object* x_110; lean_object* x_111; lean_dec(x_107); lean_free_object(x_101); lean_dec(x_103); -x_110 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__2; +x_110 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__4; x_111 = l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3(x_110, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_104); lean_dec(x_8); lean_dec(x_7); @@ -31218,7 +17532,7 @@ else lean_object* x_120; lean_object* x_121; lean_dec(x_116); lean_dec(x_112); -x_120 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__2; +x_120 = l_Lean_Elab_Term_ToDepElimPattern_main___closed__4; x_121 = l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3(x_120, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_113); lean_dec(x_8); lean_dec(x_7); @@ -32707,6 +19021,14 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_e return x_2; } } +static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?m"); +return x_1; +} +} lean_object* l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1(lean_object* x_1) { _start: { @@ -32730,7 +19052,7 @@ lean_inc(x_6); lean_dec(x_1); x_7 = 1; x_8 = l_Lean_Name_toString(x_6, x_7); -x_9 = l_Lean_Elab_Term_instToStringPatternVar___closed__1; +x_9 = l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1; x_10 = lean_string_append(x_9, x_8); lean_dec(x_8); x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; @@ -32787,7 +19109,20 @@ return x_14; } } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -32795,150 +19130,95 @@ x_1 = lean_mk_string("rhs: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 3); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); -lean_dec(x_13); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_2); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_11, 0); -lean_dec(x_16); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_3); -lean_ctor_set(x_11, 0, x_17); -return x_11; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_dec(x_11); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_3); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_dec(x_11); -lean_inc(x_2); -x_22 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_2); -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_22, 0); +uint8_t x_11; lean_object* x_12; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_st_ref_get(x_9, x_10); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); lean_dec(x_26); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_22, 0, x_27); -return x_22; +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_11 = x_30; +x_12 = x_29; +goto block_24; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec(x_22); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_3); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); lean_inc(x_31); -lean_dec(x_22); -lean_inc(x_3); -x_32 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_32, 0, x_3); -x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_2, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) +lean_dec(x_25); +lean_inc(x_2); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_11 = x_35; +x_12 = x_34; +goto block_24; +} +block_24: { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_1); -lean_ctor_set(x_40, 1, x_3); -lean_ctor_set(x_37, 0, x_40); -return x_37; +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_2); +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(x_1, x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_14; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec(x_37); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_1); -lean_ctor_set(x_42, 1, x_3); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_3); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_3); +x_16 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(x_1, x_3, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +lean_dec(x_21); +return x_23; } } } } -} -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; @@ -32992,7 +19272,7 @@ 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_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(x_3, x_2, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +x_34 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2(x_3, x_2, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_33); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -33037,7 +19317,7 @@ else lean_object* x_39; lean_object* x_40; lean_dec(x_28); x_39 = l_Lean_mkSimpleThunk(x_17); -x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(x_3, x_2, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2(x_3, x_2, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_18); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -33079,7 +19359,7 @@ return x_44; } } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -33087,13 +19367,25 @@ x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2), 11, 2); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3), 11, 2); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_2); x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg(x_12, x_4, x_13, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_15; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4___boxed), 11, 3); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars___rarg(x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__1() { _start: { @@ -33132,10 +19424,10 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_Elab_Term_collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_25; lean_object* x_26; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +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_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -33146,102 +19438,91 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); lean_dec(x_15); -x_42 = lean_st_ref_get(x_8, x_16); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 3); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); -lean_dec(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; -x_25 = x_47; -x_26 = x_46; -goto block_41; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_48 = lean_ctor_get(x_42, 1); -lean_inc(x_48); -lean_dec(x_42); -x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_25 = x_51; -x_26 = x_52; -goto block_41; -} -block_24: -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_19); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3___boxed), 11, 3); -lean_closure_set(x_22, 0, x_18); -lean_closure_set(x_22, 1, x_21); -lean_closure_set(x_22, 2, x_2); -x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars___rarg(x_17, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_20); -return x_23; -} -block_41: -{ -lean_object* x_27; uint8_t x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___closed__1; -x_19 = x_29; -x_20 = x_26; -goto block_24; -} -else -{ -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_inc(x_17); -x_30 = lean_array_to_list(lean_box(0), x_17); -x_31 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(x_30); -x_32 = l_Lean_MessageData_ofList(x_31); -lean_dec(x_31); -x_33 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_38 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_37, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_39 = lean_st_ref_get(x_8, x_16); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_19 = x_39; -x_20 = x_40; -goto block_24; +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_44 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; +x_20 = x_44; +x_21 = x_43; +goto block_38; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_dec(x_39); +x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_45); +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_20 = x_47; +x_21 = x_48; +goto block_38; +} +block_38: +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(x_18, x_19, x_2, x_17, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +return x_25; +} +else +{ +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_inc(x_17); +x_26 = lean_array_to_list(lean_box(0), x_17); +x_27 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(x_26); +x_28 = l_Lean_MessageData_ofList(x_27); +lean_dec(x_27); +x_29 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_19, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(x_18, x_19, x_2, x_17, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +lean_dec(x_36); +return x_37; } } } else { -uint8_t x_53; +uint8_t x_49; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); @@ -33249,201 +19530,190 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_53 = !lean_is_exclusive(x_14); -if (x_53 == 0) +x_49 = !lean_is_exclusive(x_14); +if (x_49 == 0) { return x_14; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_14, 0); -x_55 = lean_ctor_get(x_14, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_14, 0); +x_51 = lean_ctor_get(x_14, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_14); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_57 = lean_ctor_get(x_7, 0); -x_58 = lean_ctor_get(x_7, 1); -x_59 = lean_ctor_get(x_7, 2); -x_60 = lean_ctor_get(x_7, 3); -x_61 = lean_ctor_get(x_7, 4); -x_62 = lean_ctor_get(x_7, 5); -x_63 = lean_ctor_get(x_7, 6); -x_64 = lean_ctor_get(x_7, 7); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_53 = lean_ctor_get(x_7, 0); +x_54 = lean_ctor_get(x_7, 1); +x_55 = lean_ctor_get(x_7, 2); +x_56 = lean_ctor_get(x_7, 3); +x_57 = lean_ctor_get(x_7, 4); +x_58 = lean_ctor_get(x_7, 5); +x_59 = lean_ctor_get(x_7, 6); +x_60 = lean_ctor_get(x_7, 7); lean_inc(x_60); lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_7); -x_65 = l_Lean_replaceRef(x_10, x_60); -lean_dec(x_60); +x_61 = l_Lean_replaceRef(x_10, x_56); +lean_dec(x_56); lean_dec(x_10); -x_66 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_66, 0, x_57); -lean_ctor_set(x_66, 1, x_58); -lean_ctor_set(x_66, 2, x_59); -lean_ctor_set(x_66, 3, x_65); -lean_ctor_set(x_66, 4, x_61); -lean_ctor_set(x_66, 5, x_62); -lean_ctor_set(x_66, 6, x_63); -lean_ctor_set(x_66, 7, x_64); +x_62 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_54); +lean_ctor_set(x_62, 2, x_55); +lean_ctor_set(x_62, 3, x_61); +lean_ctor_set(x_62, 4, x_57); +lean_ctor_set(x_62, 5, x_58); +lean_ctor_set(x_62, 6, x_59); +lean_ctor_set(x_62, 7, x_60); lean_inc(x_8); -lean_inc(x_66); +lean_inc(x_62); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_67 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_66, x_8, x_9); -if (lean_obj_tag(x_67) == 0) +x_63 = l_Lean_Elab_Term_collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_62, x_8, x_9); +if (lean_obj_tag(x_63) == 0) { -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_78; lean_object* x_79; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_68, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec(x_68); -x_95 = lean_st_ref_get(x_8, x_69); +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_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_88 = lean_st_ref_get(x_8, x_65); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_89, 3); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_ctor_get_uint8(x_90, sizeof(void*)*1); +lean_dec(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_88, 1); +lean_inc(x_92); +lean_dec(x_88); +x_93 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; +x_69 = x_93; +x_70 = x_92; +goto block_87; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_88, 1); +lean_inc(x_94); +lean_dec(x_88); +x_95 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_68, x_3, x_4, x_5, x_6, x_62, x_8, x_94); x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -x_97 = lean_ctor_get(x_96, 3); +x_97 = lean_ctor_get(x_95, 1); lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_ctor_get_uint8(x_97, sizeof(void*)*1); -lean_dec(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_95, 1); -lean_inc(x_99); lean_dec(x_95); -x_100 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5; -x_78 = x_100; -x_79 = x_99; -goto block_94; +x_69 = x_96; +x_70 = x_97; +goto block_87; +} +block_87: +{ +lean_object* x_71; uint8_t x_72; +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_unbox(x_71); +lean_dec(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_box(0); +x_74 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(x_67, x_68, x_2, x_66, x_73, x_3, x_4, x_5, x_6, x_62, x_8, x_70); +return x_74; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_101 = lean_ctor_get(x_95, 1); -lean_inc(x_101); -lean_dec(x_95); -x_102 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_103 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(x_102, x_3, x_4, x_5, x_6, x_66, x_8, x_101); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_78 = x_104; -x_79 = x_105; -goto block_94; -} -block_77: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_72); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_75 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3___boxed), 11, 3); -lean_closure_set(x_75, 0, x_71); -lean_closure_set(x_75, 1, x_74); -lean_closure_set(x_75, 2, x_2); -x_76 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars___rarg(x_70, x_75, x_3, x_4, x_5, x_6, x_66, x_8, x_73); -return x_76; -} -block_94: -{ -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_unbox(x_80); -lean_dec(x_80); -if (x_81 == 0) -{ -lean_object* x_82; -x_82 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___closed__1; -x_72 = x_82; -x_73 = x_79; -goto block_77; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_inc(x_70); -x_83 = lean_array_to_list(lean_box(0), x_70); -x_84 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(x_83); -x_85 = l_Lean_MessageData_ofList(x_84); -lean_dec(x_84); -x_86 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_91 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_90, x_89, x_3, x_4, x_5, x_6, x_66, x_8, x_79); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_72 = x_92; -x_73 = x_93; -goto block_77; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_inc(x_66); +x_75 = lean_array_to_list(lean_box(0), x_66); +x_76 = l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(x_75); +x_77 = l_Lean_MessageData_ofList(x_76); +lean_dec(x_76); +x_78 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3(x_68, x_81, x_3, x_4, x_5, x_6, x_62, x_8, x_70); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_83, 0); +lean_inc(x_85); +lean_dec(x_83); +x_86 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(x_67, x_68, x_2, x_66, x_85, x_3, x_4, x_5, x_6, x_62, x_8, x_84); +lean_dec(x_85); +return x_86; } } } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_66); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_62); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_106 = lean_ctor_get(x_67, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_67, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_108 = x_67; +x_98 = lean_ctor_get(x_63, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_63, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_100 = x_63; } else { - lean_dec_ref(x_67); - x_108 = lean_box(0); + lean_dec_ref(x_63); + x_100 = lean_box(0); } -if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(1, 2, 0); } else { - x_109 = x_108; + x_101 = x_100; } -lean_ctor_set(x_109, 0, x_106); -lean_ctor_set(x_109, 1, x_107); -return x_109; +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +return x_101; } } } @@ -33459,18 +19729,42 @@ 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_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___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) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__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); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4(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_4); return x_12; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +return x_13; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -33821,6 +20115,36 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_g return x_2; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_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_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__4___rarg), 3, 0); +return x_2; +} +} lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -34348,7 +20672,7 @@ if (x_61 == 0) lean_object* x_62; lean_dec(x_59); lean_dec(x_57); -x_62 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_62 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_21 = x_62; x_22 = x_58; goto block_55; @@ -34358,7 +20682,7 @@ else size_t x_63; lean_object* x_64; lean_object* x_65; x_63 = lean_usize_of_nat(x_59); lean_dec(x_59); -x_64 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_64 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; lean_inc(x_8); x_65 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4(x_1, x_57, x_2, x_63, x_1, x_64, x_6, x_7, x_8, x_9, x_10, x_11, x_58); lean_dec(x_57); @@ -34416,7 +20740,7 @@ if (x_72 == 0) lean_object* x_73; lean_dec(x_59); lean_dec(x_57); -x_73 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_73 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_21 = x_73; x_22 = x_58; goto block_55; @@ -34426,7 +20750,7 @@ else size_t x_74; lean_object* x_75; lean_object* x_76; x_74 = lean_usize_of_nat(x_59); lean_dec(x_59); -x_75 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_75 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; lean_inc(x_8); x_76 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__5(x_1, x_57, x_2, x_74, x_1, x_75, x_6, x_7, x_8, x_9, x_10, x_11, x_58); lean_dec(x_57); @@ -34876,7 +21200,7 @@ if (x_25 == 0) lean_object* x_101; lean_dec(x_23); lean_dec(x_20); -x_101 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_101 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_26 = x_101; x_27 = x_21; goto block_100; @@ -34890,7 +21214,7 @@ if (x_102 == 0) lean_object* x_103; lean_dec(x_23); lean_dec(x_20); -x_103 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_103 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_26 = x_103; x_27 = x_21; goto block_100; @@ -34901,7 +21225,7 @@ size_t x_104; size_t x_105; lean_object* x_106; lean_object* x_107; x_104 = 0; x_105 = lean_usize_of_nat(x_23); lean_dec(x_23); -x_106 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_106 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; lean_inc(x_7); x_107 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7(x_20, x_104, x_105, x_106, x_5, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_20); @@ -34969,7 +21293,7 @@ x_34 = x_33; x_35 = lean_array_get_size(x_3); x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); -x_37 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2___boxed__const__1; lean_inc(x_3); lean_inc(x_34); @@ -34985,7 +21309,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); -x_40 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(x_2, x_36, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_40 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg(x_2, x_36, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_27); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; @@ -35716,7 +22040,11 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_22); if (lean_obj_tag(x_23) == 0) @@ -35743,6 +22071,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); x_29 = !lean_is_exclusive(x_23); if (x_29 == 0) @@ -35773,6 +22102,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); x_33 = !lean_is_exclusive(x_20); if (x_33 == 0) @@ -35802,6 +22132,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_37 = !lean_is_exclusive(x_16); @@ -35831,6 +22162,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); x_41 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_41, 0, x_4); @@ -35850,6 +22182,7 @@ if (x_12 == 0) { lean_object* x_13; lean_dec(x_10); +lean_dec(x_4); lean_dec(x_3); lean_inc(x_2); x_13 = l_Lean_Meta_check(x_2, x_5, x_6, x_7, x_8, x_9); @@ -36008,7 +22341,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___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_1); return x_14; } @@ -36018,7 +22350,6 @@ _start: { lean_object* x_10; x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType(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_1); return x_10; } @@ -36647,7 +22978,7 @@ if (x_31 == 0) lean_object* x_32; lean_dec(x_18); lean_inc_n(x_3, 2); -x_32 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_21, x_19, x_3, x_3); +x_32 = l_Array_qpartition_loop___at_Lean_Meta_sortFVars___spec__3(x_5, x_4, x_21, x_19, x_3, x_3); x_6 = x_32; goto block_14; } @@ -36659,7 +22990,7 @@ x_33 = lean_array_swap(x_19, x_18, x_4); lean_dec(x_18); x_34 = lean_array_get(x_20, x_33, x_4); lean_inc_n(x_3, 2); -x_35 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_34, x_33, x_3, x_3); +x_35 = l_Array_qpartition_loop___at_Lean_Meta_sortFVars___spec__3(x_5, x_4, x_34, x_33, x_3, x_3); x_6 = x_35; goto block_14; } @@ -36689,7 +23020,7 @@ if (x_43 == 0) lean_object* x_44; lean_dec(x_18); lean_inc_n(x_3, 2); -x_44 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_38, x_36, x_3, x_3); +x_44 = l_Array_qpartition_loop___at_Lean_Meta_sortFVars___spec__3(x_5, x_4, x_38, x_36, x_3, x_3); x_6 = x_44; goto block_14; } @@ -36701,7 +23032,7 @@ x_45 = lean_array_swap(x_36, x_18, x_4); lean_dec(x_18); x_46 = lean_array_get(x_20, x_45, x_4); lean_inc_n(x_3, 2); -x_47 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_46, x_45, x_3, x_3); +x_47 = l_Array_qpartition_loop___at_Lean_Meta_sortFVars___spec__3(x_5, x_4, x_46, x_45, x_3, x_3); x_6 = x_47; goto block_14; } @@ -36808,7 +23139,7 @@ lean_inc(x_26); lean_dec(x_15); x_27 = l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2(x_26); lean_dec(x_26); -x_28 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; lean_inc(x_5); x_29 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5(x_1, x_2, x_12, x_25, x_27, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_16); lean_dec(x_8); @@ -37399,7 +23730,7 @@ x_21 = l_Lean_Elab_Term_SavedState_restore(x_3, x_20, x_10, x_11, x_12, x_13, x_ x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; +x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; x_24 = lean_array_push(x_23, x_4); lean_inc(x_15); lean_inc(x_14); @@ -37419,6 +23750,7 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType(x_26, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_27); if (lean_obj_tag(x_28) == 0) @@ -37502,7 +23834,149 @@ return x_41; } } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1() { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t 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) { +_start: +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_array_get_size(x_1); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_nat_dec_lt(x_19, x_18); +if (x_20 == 0) +{ +uint8_t x_34; +lean_dec(x_18); +x_34 = 0; +x_21 = x_34; +x_22 = x_17; +goto block_33; +} +else +{ +uint8_t x_35; +x_35 = lean_nat_dec_le(x_18, x_18); +if (x_35 == 0) +{ +uint8_t x_36; +lean_dec(x_18); +x_36 = 0; +x_21 = x_36; +x_22 = x_17; +goto block_33; +} +else +{ +size_t x_37; lean_object* x_38; +x_37 = lean_usize_of_nat(x_18); +lean_dec(x_18); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_5); +x_38 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(x_5, x_1, x_9, x_37, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t 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); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_21 = x_41; +x_22 = x_40; +goto block_33; +} +else +{ +uint8_t x_42; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +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_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +block_33: +{ +if (x_21 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(0); +x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(x_2, x_3, x_4, x_5, x_1, x_6, x_7, x_8, x_23, x_11, x_12, x_13, x_14, x_15, x_16, x_22); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_2, x_3, x_11, x_12, x_13, x_14, x_15, x_16, x_22); +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_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_26, x_11, x_12, x_13, x_14, x_15, x_16, x_27); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +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_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -37510,6 +23984,189 @@ x_1 = lean_mk_string("index: "); return x_1; } } +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t 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) { +_start: +{ +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_inc(x_2); +x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_1, x_2, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_instInhabitedExpr; +x_24 = lean_array_get(x_23, x_3, x_4); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(x_24, x_5, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_21, x_13, x_14, x_15, x_16, x_17, x_18, x_27); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_21); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec(x_26); +x_45 = lean_st_ref_get(x_18, x_29); +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_31 = x_50; +x_32 = 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_11); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_11, x_13, x_14, x_15, x_16, x_17, x_18, 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_31 = x_55; +x_32 = x_54; +goto block_44; +} +block_44: +{ +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_11); +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3(x_3, x_1, x_2, x_6, x_30, x_7, x_8, x_9, x_10, x_33, x_13, x_14, x_15, x_16, x_17, x_18, x_32); +return x_34; +} +else +{ +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_inc(x_30); +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_30); +x_36 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_11, x_39, x_13, x_14, x_15, x_16, x_17, x_18, x_32); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3(x_3, x_1, x_2, x_6, x_30, x_7, x_8, x_9, x_10, x_41, x_13, x_14, x_15, x_16, x_17, x_18, x_42); +lean_dec(x_41); +return x_43; +} +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_56 = !lean_is_exclusive(x_25); +if (x_56 == 0) +{ +return x_25; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_25, 0); +x_58 = lean_ctor_get(x_25, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_25); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("pathToIndex: "); +return x_1; +} +} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2() { _start: { @@ -37519,23 +24176,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("pathToIndex: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1() { _start: { @@ -37626,7 +24266,7 @@ x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); if (lean_obj_tag(x_39) == 0) { -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_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +lean_object* x_40; lean_object* 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_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_free_object(x_19); lean_dec(x_29); lean_free_object(x_18); @@ -37646,367 +24286,83 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_40, 2); lean_inc(x_44); lean_dec(x_40); -x_111 = lean_st_ref_get(x_11, x_41); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_112, 3); -lean_inc(x_113); -lean_dec(x_112); -x_114 = lean_ctor_get_uint8(x_113, sizeof(void*)*1); -lean_dec(x_113); -if (x_114 == 0) +x_45 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_61 = lean_st_ref_get(x_11, x_41); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_62, 3); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_ctor_get_uint8(x_63, sizeof(void*)*1); +lean_dec(x_63); +if (x_64 == 0) { -lean_object* x_115; -x_115 = lean_ctor_get(x_111, 1); -lean_inc(x_115); -lean_dec(x_111); -x_45 = x_115; -goto block_110; +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_61, 1); +lean_inc(x_65); +lean_dec(x_61); +x_66 = 0; +x_46 = x_66; +x_47 = x_65; +goto block_60; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_116 = lean_ctor_get(x_111, 1); -lean_inc(x_116); -lean_dec(x_111); -x_117 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_117, x_6, x_7, x_8, x_9, x_10, x_11, x_116); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_unbox(x_119); -lean_dec(x_119); -if (x_120 == 0) -{ -lean_object* x_121; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_45 = x_121; -goto block_110; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_122 = lean_ctor_get(x_118, 1); -lean_inc(x_122); -lean_dec(x_118); -lean_inc(x_44); -x_123 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_44); -x_124 = l_Lean_stringToMessageData(x_123); -lean_dec(x_123); -x_125 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_128 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_117, x_128, x_6, x_7, x_8, x_9, x_10, x_11, x_122); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_45 = x_130; -goto block_110; -} -} -block_110: -{ -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_inc(x_42); -x_46 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_45); -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 = l_Lean_instInhabitedExpr; -x_50 = lean_array_get(x_49, x_2, x_43); -lean_dec(x_43); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_51 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(x_50, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -lean_dec(x_44); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_42); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_53); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_54; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -lean_dec(x_47); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_52, 0); -lean_inc(x_56); -lean_dec(x_52); -x_87 = lean_st_ref_get(x_11, x_55); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_88, 3); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); -lean_dec(x_89); -if (x_90 == 0) -{ -lean_object* x_91; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_57 = x_91; -goto block_86; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_92 = lean_ctor_get(x_87, 1); -lean_inc(x_92); -lean_dec(x_87); -x_93 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_94 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_92); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_unbox(x_95); -lean_dec(x_95); -if (x_96 == 0) -{ -lean_object* x_97; -x_97 = lean_ctor_get(x_94, 1); -lean_inc(x_97); -lean_dec(x_94); -x_57 = x_97; -goto block_86; -} -else -{ -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; -x_98 = lean_ctor_get(x_94, 1); -lean_inc(x_98); -lean_dec(x_94); -lean_inc(x_56); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_56); -x_100 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; -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_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_103 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_93, x_103, x_6, x_7, x_8, x_9, x_10, x_11, x_98); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_57 = x_105; -goto block_86; -} -} -block_86: -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; -x_58 = lean_array_get_size(x_2); -x_59 = lean_unsigned_to_nat(0u); -x_60 = lean_nat_dec_lt(x_59, x_58); -if (x_60 == 0) -{ -uint8_t x_74; -lean_dec(x_58); -x_74 = 0; -x_61 = x_74; -x_62 = x_57; -goto block_73; -} -else -{ -uint8_t x_75; -x_75 = lean_nat_dec_le(x_58, x_58); -if (x_75 == 0) -{ -uint8_t x_76; -lean_dec(x_58); -x_76 = 0; -x_61 = x_76; -x_62 = x_57; -goto block_73; -} -else -{ -size_t x_77; lean_object* x_78; -x_77 = lean_usize_of_nat(x_58); -lean_dec(x_58); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_56); -x_78 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(x_56, x_2, x_32, x_77, x_6, x_7, x_8, x_9, x_10, x_11, x_57); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; uint8_t x_81; -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_61 = x_81; -x_62 = x_80; -goto block_73; -} -else -{ -uint8_t x_82; -lean_dec(x_56); -lean_dec(x_42); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_78); -if (x_82 == 0) -{ -return x_78; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_78, 0); -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_78); -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; -} -} -} -} -block_73: -{ -if (x_61 == 0) -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_box(0); -x_64 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(x_5, x_42, x_14, x_56, x_2, x_4, x_1, x_3, x_63, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -lean_dec(x_2); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -lean_dec(x_56); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_65 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_67 = lean_ctor_get(x_61, 1); lean_inc(x_67); -lean_dec(x_65); -x_68 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_66, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -return x_68; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_68, 0); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); +lean_dec(x_61); +x_68 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_45, x_6, x_7, x_8, x_9, x_10, x_11, x_67); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); lean_dec(x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +x_71 = lean_unbox(x_69); +lean_dec(x_69); +x_46 = x_71; +x_47 = x_70; +goto block_60; } -} -} -} -} -} -else +block_60: { -uint8_t x_106; -lean_dec(x_47); -lean_dec(x_42); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +if (x_46 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_box(0); +x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_42, x_2, x_43, x_44, x_14, x_4, x_1, x_3, x_32, x_45, x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +lean_dec(x_44); +lean_dec(x_43); lean_dec(x_2); -lean_dec(x_1); -x_106 = !lean_is_exclusive(x_51); -if (x_106 == 0) -{ -return x_51; +return x_49; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_51, 0); -x_108 = lean_ctor_get(x_51, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_51); -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; -} +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_inc(x_44); +x_50 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_44); +x_51 = l_Lean_stringToMessageData(x_50); +lean_dec(x_50); +x_52 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_45, x_55, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_42, x_2, x_43, x_44, x_14, x_4, x_1, x_3, x_32, x_45, x_57, x_6, x_7, x_8, x_9, x_10, x_11, x_58); +lean_dec(x_57); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_2); +return x_59; } } } @@ -38025,80 +24381,80 @@ lean_dec(x_2); lean_dec(x_1); if (lean_obj_tag(x_5) == 0) { -uint8_t x_131; -x_131 = !lean_is_exclusive(x_38); -if (x_131 == 0) +uint8_t x_72; +x_72 = !lean_is_exclusive(x_38); +if (x_72 == 0) { -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_38, 0); -lean_dec(x_132); -x_133 = lean_ctor_get(x_39, 0); -lean_inc(x_133); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_38, 0); +lean_dec(x_73); +x_74 = lean_ctor_get(x_39, 0); +lean_inc(x_74); lean_dec(x_39); -lean_ctor_set(x_19, 0, x_133); +lean_ctor_set(x_19, 0, x_74); lean_ctor_set(x_38, 0, x_17); return x_38; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_38, 1); -lean_inc(x_134); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_38, 1); +lean_inc(x_75); lean_dec(x_38); -x_135 = lean_ctor_get(x_39, 0); -lean_inc(x_135); +x_76 = lean_ctor_get(x_39, 0); +lean_inc(x_76); lean_dec(x_39); -lean_ctor_set(x_19, 0, x_135); -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_17); -lean_ctor_set(x_136, 1, x_134); -return x_136; +lean_ctor_set(x_19, 0, x_76); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_17); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } else { -uint8_t x_137; +uint8_t x_78; lean_dec(x_29); -x_137 = !lean_is_exclusive(x_38); -if (x_137 == 0) +x_78 = !lean_is_exclusive(x_38); +if (x_78 == 0) { -lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; -x_138 = lean_ctor_get(x_38, 0); -lean_dec(x_138); -x_139 = lean_ctor_get(x_39, 0); -lean_inc(x_139); +lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; +x_79 = lean_ctor_get(x_38, 0); +lean_dec(x_79); +x_80 = lean_ctor_get(x_39, 0); +lean_inc(x_80); lean_dec(x_39); -x_140 = 1; -x_141 = lean_box(x_140); -lean_ctor_set(x_19, 1, x_141); -lean_ctor_set(x_19, 0, x_139); +x_81 = 1; +x_82 = lean_box(x_81); +lean_ctor_set(x_19, 1, x_82); +lean_ctor_set(x_19, 0, x_80); lean_ctor_set(x_38, 0, x_17); return x_38; } else { -lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; -x_142 = lean_ctor_get(x_38, 1); -lean_inc(x_142); +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_ctor_get(x_38, 1); +lean_inc(x_83); lean_dec(x_38); -x_143 = lean_ctor_get(x_39, 0); -lean_inc(x_143); +x_84 = lean_ctor_get(x_39, 0); +lean_inc(x_84); lean_dec(x_39); -x_144 = 1; -x_145 = lean_box(x_144); -lean_ctor_set(x_19, 1, x_145); -lean_ctor_set(x_19, 0, x_143); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_17); -lean_ctor_set(x_146, 1, x_142); -return x_146; +x_85 = 1; +x_86 = lean_box(x_85); +lean_ctor_set(x_19, 1, x_86); +lean_ctor_set(x_19, 0, x_84); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_17); +lean_ctor_set(x_87, 1, x_83); +return x_87; } } } } else { -uint8_t x_147; +uint8_t x_88; lean_free_object(x_19); lean_dec(x_29); lean_free_object(x_18); @@ -38116,448 +24472,158 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_147 = !lean_is_exclusive(x_38); -if (x_147 == 0) +x_88 = !lean_is_exclusive(x_38); +if (x_88 == 0) { return x_38; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_38, 0); -x_149 = lean_ctor_get(x_38, 1); -lean_inc(x_149); -lean_inc(x_148); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_38, 0); +x_90 = lean_ctor_get(x_38, 1); +lean_inc(x_90); +lean_inc(x_89); lean_dec(x_38); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; +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; } } } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_151 = lean_ctor_get(x_19, 0); -x_152 = lean_ctor_get(x_19, 1); -lean_inc(x_152); -lean_inc(x_151); +lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t x_95; size_t 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_19, 0); +x_93 = lean_ctor_get(x_19, 1); +lean_inc(x_93); +lean_inc(x_92); lean_dec(x_19); -x_153 = lean_array_get_size(x_151); -x_154 = lean_usize_of_nat(x_153); -lean_dec(x_153); -x_155 = 0; -x_156 = x_151; -x_157 = lean_box_usize(x_154); -x_158 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; +x_94 = lean_array_get_size(x_92); +x_95 = lean_usize_of_nat(x_94); +lean_dec(x_94); +x_96 = 0; +x_97 = x_92; +x_98 = lean_box_usize(x_95); +x_99 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; lean_inc(x_25); -x_159 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); -lean_closure_set(x_159, 0, x_25); -lean_closure_set(x_159, 1, x_157); -lean_closure_set(x_159, 2, x_158); -lean_closure_set(x_159, 3, x_156); -x_160 = x_159; +x_100 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); +lean_closure_set(x_100, 0, x_25); +lean_closure_set(x_100, 1, x_98); +lean_closure_set(x_100, 2, x_99); +lean_closure_set(x_100, 3, x_97); +x_101 = x_100; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_161 = lean_apply_7(x_160, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -if (lean_obj_tag(x_161) == 0) +x_102 = lean_apply_7(x_101, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_102) == 0) { -lean_object* x_162; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -if (lean_obj_tag(x_162) == 0) +lean_object* x_103; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +if (lean_obj_tag(x_103) == 0) { -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_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -lean_dec(x_152); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +lean_dec(x_93); lean_free_object(x_18); lean_dec(x_25); lean_free_object(x_17); lean_dec(x_22); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -lean_dec(x_162); -x_164 = lean_ctor_get(x_161, 1); -lean_inc(x_164); -lean_dec(x_161); -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_163, 1); -lean_inc(x_166); -x_167 = lean_ctor_get(x_163, 2); -lean_inc(x_167); -lean_dec(x_163); -x_234 = lean_st_ref_get(x_11, x_164); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_235, 3); -lean_inc(x_236); -lean_dec(x_235); -x_237 = lean_ctor_get_uint8(x_236, sizeof(void*)*1); -lean_dec(x_236); -if (x_237 == 0) +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +x_108 = lean_ctor_get(x_104, 2); +lean_inc(x_108); +lean_dec(x_104); +x_109 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_125 = lean_st_ref_get(x_11, x_105); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_126, 3); +lean_inc(x_127); +lean_dec(x_126); +x_128 = lean_ctor_get_uint8(x_127, sizeof(void*)*1); +lean_dec(x_127); +if (x_128 == 0) { -lean_object* x_238; -x_238 = lean_ctor_get(x_234, 1); -lean_inc(x_238); -lean_dec(x_234); -x_168 = x_238; -goto block_233; +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_125, 1); +lean_inc(x_129); +lean_dec(x_125); +x_130 = 0; +x_110 = x_130; +x_111 = x_129; +goto block_124; } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_239 = lean_ctor_get(x_234, 1); -lean_inc(x_239); -lean_dec(x_234); -x_240 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_241 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_240, x_6, x_7, x_8, x_9, x_10, x_11, x_239); -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_unbox(x_242); -lean_dec(x_242); -if (x_243 == 0) -{ -lean_object* x_244; -x_244 = lean_ctor_get(x_241, 1); -lean_inc(x_244); -lean_dec(x_241); -x_168 = x_244; -goto block_233; +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +lean_dec(x_125); +x_132 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_109, x_6, x_7, x_8, x_9, x_10, x_11, x_131); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_unbox(x_133); +lean_dec(x_133); +x_110 = x_135; +x_111 = x_134; +goto block_124; } -else +block_124: { -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_245 = lean_ctor_get(x_241, 1); -lean_inc(x_245); -lean_dec(x_241); -lean_inc(x_167); -x_246 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_167); -x_247 = l_Lean_stringToMessageData(x_246); -lean_dec(x_246); -x_248 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; -x_249 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_251 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_240, x_251, x_6, x_7, x_8, x_9, x_10, x_11, x_245); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -lean_dec(x_252); -x_168 = x_253; -goto block_233; -} -} -block_233: +if (x_110 == 0) { -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_inc(x_165); -x_169 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_165, x_6, x_7, x_8, x_9, x_10, x_11, x_168); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = l_Lean_instInhabitedExpr; -x_173 = lean_array_get(x_172, x_2, x_166); -lean_dec(x_166); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_174 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(x_173, x_167, x_6, x_7, x_8, x_9, x_10, x_11, x_171); -lean_dec(x_167); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; -lean_dec(x_165); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_112; lean_object* x_113; +x_112 = lean_box(0); +x_113 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_106, x_2, x_107, x_108, x_14, x_4, x_1, x_3, x_96, x_109, x_112, x_6, x_7, x_8, x_9, x_10, x_11, x_111); +lean_dec(x_108); +lean_dec(x_107); lean_dec(x_2); -lean_dec(x_1); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_170, x_6, x_7, x_8, x_9, x_10, x_11, x_176); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_177; +return x_113; } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; -lean_dec(x_170); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_175, 0); -lean_inc(x_179); -lean_dec(x_175); -x_210 = lean_st_ref_get(x_11, x_178); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_211, 3); -lean_inc(x_212); -lean_dec(x_211); -x_213 = lean_ctor_get_uint8(x_212, sizeof(void*)*1); -lean_dec(x_212); -if (x_213 == 0) -{ -lean_object* x_214; -x_214 = lean_ctor_get(x_210, 1); -lean_inc(x_214); -lean_dec(x_210); -x_180 = x_214; -goto block_209; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -lean_dec(x_210); -x_216 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_217 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_216, x_6, x_7, x_8, x_9, x_10, x_11, x_215); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_unbox(x_218); -lean_dec(x_218); -if (x_219 == 0) -{ -lean_object* x_220; -x_220 = lean_ctor_get(x_217, 1); -lean_inc(x_220); -lean_dec(x_217); -x_180 = x_220; -goto block_209; -} -else -{ -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; -x_221 = lean_ctor_get(x_217, 1); -lean_inc(x_221); -lean_dec(x_217); -lean_inc(x_179); -x_222 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_222, 0, x_179); -x_223 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; -x_224 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -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_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_216, x_226, x_6, x_7, x_8, x_9, x_10, x_11, x_221); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -lean_dec(x_227); -x_180 = x_228; -goto block_209; -} -} -block_209: -{ -lean_object* x_181; lean_object* x_182; uint8_t x_183; uint8_t x_184; lean_object* x_185; -x_181 = lean_array_get_size(x_2); -x_182 = lean_unsigned_to_nat(0u); -x_183 = lean_nat_dec_lt(x_182, x_181); -if (x_183 == 0) -{ -uint8_t x_197; -lean_dec(x_181); -x_197 = 0; -x_184 = x_197; -x_185 = x_180; -goto block_196; -} -else -{ -uint8_t x_198; -x_198 = lean_nat_dec_le(x_181, x_181); -if (x_198 == 0) -{ -uint8_t x_199; -lean_dec(x_181); -x_199 = 0; -x_184 = x_199; -x_185 = x_180; -goto block_196; -} -else -{ -size_t x_200; lean_object* x_201; -x_200 = lean_usize_of_nat(x_181); -lean_dec(x_181); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_179); -x_201 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(x_179, x_2, x_155, x_200, x_6, x_7, x_8, x_9, x_10, x_11, x_180); -if (lean_obj_tag(x_201) == 0) -{ -lean_object* x_202; lean_object* x_203; uint8_t x_204; -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = lean_unbox(x_202); -lean_dec(x_202); -x_184 = x_204; -x_185 = x_203; -goto block_196; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_179); -lean_dec(x_165); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_inc(x_108); +x_114 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_108); +x_115 = l_Lean_stringToMessageData(x_114); +lean_dec(x_114); +x_116 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; +x_117 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_119 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_109, x_119, x_6, x_7, x_8, x_9, x_10, x_11, x_111); +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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_106, x_2, x_107, x_108, x_14, x_4, x_1, x_3, x_96, x_109, x_121, x_6, x_7, x_8, x_9, x_10, x_11, x_122); +lean_dec(x_121); +lean_dec(x_108); +lean_dec(x_107); lean_dec(x_2); -lean_dec(x_1); -x_205 = lean_ctor_get(x_201, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_201, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_201)) { - lean_ctor_release(x_201, 0); - lean_ctor_release(x_201, 1); - x_207 = x_201; -} else { - lean_dec_ref(x_201); - x_207 = lean_box(0); -} -if (lean_is_scalar(x_207)) { - x_208 = lean_alloc_ctor(1, 2, 0); -} else { - x_208 = x_207; -} -lean_ctor_set(x_208, 0, x_205); -lean_ctor_set(x_208, 1, x_206); -return x_208; -} -} -} -block_196: -{ -if (x_184 == 0) -{ -lean_object* x_186; lean_object* x_187; -x_186 = lean_box(0); -x_187 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(x_5, x_165, x_14, x_179, x_2, x_4, x_1, x_3, x_186, x_6, x_7, x_8, x_9, x_10, x_11, x_185); -lean_dec(x_2); -return x_187; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_dec(x_179); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_188 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_165, x_6, x_7, x_8, x_9, x_10, x_11, x_185); -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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_189, x_6, x_7, x_8, x_9, x_10, x_11, x_190); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_194 = x_191; -} else { - lean_dec_ref(x_191); - x_194 = lean_box(0); -} -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(1, 2, 0); -} else { - x_195 = x_194; -} -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -return x_195; -} -} -} -} -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -lean_dec(x_170); -lean_dec(x_165); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_229 = lean_ctor_get(x_174, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_174, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_231 = x_174; -} else { - lean_dec_ref(x_174); - x_231 = lean_box(0); -} -if (lean_is_scalar(x_231)) { - x_232 = lean_alloc_ctor(1, 2, 0); -} else { - x_232 = x_231; -} -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_230); -return x_232; +return x_123; } } } @@ -38576,71 +24642,71 @@ lean_dec(x_2); lean_dec(x_1); if (lean_obj_tag(x_5) == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_254 = lean_ctor_get(x_161, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_255 = x_161; +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_136 = lean_ctor_get(x_102, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_137 = x_102; } else { - lean_dec_ref(x_161); - x_255 = lean_box(0); + lean_dec_ref(x_102); + x_137 = lean_box(0); } -x_256 = lean_ctor_get(x_162, 0); -lean_inc(x_256); -lean_dec(x_162); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_152); -lean_ctor_set(x_18, 1, x_257); -if (lean_is_scalar(x_255)) { - x_258 = lean_alloc_ctor(0, 2, 0); +x_138 = lean_ctor_get(x_103, 0); +lean_inc(x_138); +lean_dec(x_103); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_93); +lean_ctor_set(x_18, 1, x_139); +if (lean_is_scalar(x_137)) { + x_140 = lean_alloc_ctor(0, 2, 0); } else { - x_258 = x_255; + x_140 = x_137; } -lean_ctor_set(x_258, 0, x_17); -lean_ctor_set(x_258, 1, x_254); -return x_258; +lean_ctor_set(x_140, 0, x_17); +lean_ctor_set(x_140, 1, x_136); +return x_140; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_152); -x_259 = lean_ctor_get(x_161, 1); -lean_inc(x_259); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_260 = x_161; +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_93); +x_141 = lean_ctor_get(x_102, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_142 = x_102; } else { - lean_dec_ref(x_161); - x_260 = lean_box(0); + lean_dec_ref(x_102); + x_142 = lean_box(0); } -x_261 = lean_ctor_get(x_162, 0); -lean_inc(x_261); -lean_dec(x_162); -x_262 = 1; -x_263 = lean_box(x_262); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_261); -lean_ctor_set(x_264, 1, x_263); -lean_ctor_set(x_18, 1, x_264); -if (lean_is_scalar(x_260)) { - x_265 = lean_alloc_ctor(0, 2, 0); +x_143 = lean_ctor_get(x_103, 0); +lean_inc(x_143); +lean_dec(x_103); +x_144 = 1; +x_145 = lean_box(x_144); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_18, 1, x_146); +if (lean_is_scalar(x_142)) { + x_147 = lean_alloc_ctor(0, 2, 0); } else { - x_265 = x_260; + x_147 = x_142; } -lean_ctor_set(x_265, 0, x_17); -lean_ctor_set(x_265, 1, x_259); -return x_265; +lean_ctor_set(x_147, 0, x_17); +lean_ctor_set(x_147, 1, x_141); +return x_147; } } } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_dec(x_152); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_93); lean_free_object(x_18); lean_dec(x_25); lean_free_object(x_17); @@ -38656,461 +24722,171 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_266 = lean_ctor_get(x_161, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_161, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_268 = x_161; +x_148 = lean_ctor_get(x_102, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_102, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_150 = x_102; } else { - lean_dec_ref(x_161); - x_268 = lean_box(0); + lean_dec_ref(x_102); + x_150 = lean_box(0); } -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 2, 0); } else { - x_269 = x_268; + x_151 = x_150; } -lean_ctor_set(x_269, 0, x_266); -lean_ctor_set(x_269, 1, x_267); -return x_269; +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +return x_151; } } } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; size_t x_275; size_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_270 = lean_ctor_get(x_18, 0); -lean_inc(x_270); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t 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_152 = lean_ctor_get(x_18, 0); +lean_inc(x_152); lean_dec(x_18); -x_271 = lean_ctor_get(x_19, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_19, 1); -lean_inc(x_272); +x_153 = lean_ctor_get(x_19, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_19, 1); +lean_inc(x_154); if (lean_is_exclusive(x_19)) { lean_ctor_release(x_19, 0); lean_ctor_release(x_19, 1); - x_273 = x_19; + x_155 = x_19; } else { lean_dec_ref(x_19); - x_273 = lean_box(0); + x_155 = lean_box(0); } -x_274 = lean_array_get_size(x_271); -x_275 = lean_usize_of_nat(x_274); -lean_dec(x_274); -x_276 = 0; -x_277 = x_271; -x_278 = lean_box_usize(x_275); -x_279 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; -lean_inc(x_270); -x_280 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); -lean_closure_set(x_280, 0, x_270); -lean_closure_set(x_280, 1, x_278); -lean_closure_set(x_280, 2, x_279); -lean_closure_set(x_280, 3, x_277); -x_281 = x_280; +x_156 = lean_array_get_size(x_153); +x_157 = lean_usize_of_nat(x_156); +lean_dec(x_156); +x_158 = 0; +x_159 = x_153; +x_160 = lean_box_usize(x_157); +x_161 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; +lean_inc(x_152); +x_162 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); +lean_closure_set(x_162, 0, x_152); +lean_closure_set(x_162, 1, x_160); +lean_closure_set(x_162, 2, x_161); +lean_closure_set(x_162, 3, x_159); +x_163 = x_162; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_282 = lean_apply_7(x_281, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -if (lean_obj_tag(x_282) == 0) +x_164 = lean_apply_7(x_163, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_164) == 0) { -lean_object* x_283; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -if (lean_obj_tag(x_283) == 0) +lean_object* x_165; +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +if (lean_obj_tag(x_165) == 0) { -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_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; -lean_dec(x_273); -lean_dec(x_272); -lean_dec(x_270); +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_152); lean_free_object(x_17); lean_dec(x_22); -x_284 = lean_ctor_get(x_283, 0); -lean_inc(x_284); -lean_dec(x_283); -x_285 = lean_ctor_get(x_282, 1); -lean_inc(x_285); -lean_dec(x_282); -x_286 = lean_ctor_get(x_284, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_284, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_284, 2); -lean_inc(x_288); -lean_dec(x_284); -x_355 = lean_st_ref_get(x_11, x_285); -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_356, 3); -lean_inc(x_357); -lean_dec(x_356); -x_358 = lean_ctor_get_uint8(x_357, sizeof(void*)*1); -lean_dec(x_357); -if (x_358 == 0) +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +lean_dec(x_165); +x_167 = lean_ctor_get(x_164, 1); +lean_inc(x_167); +lean_dec(x_164); +x_168 = lean_ctor_get(x_166, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_166, 2); +lean_inc(x_170); +lean_dec(x_166); +x_171 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_187 = lean_st_ref_get(x_11, x_167); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_188, 3); +lean_inc(x_189); +lean_dec(x_188); +x_190 = lean_ctor_get_uint8(x_189, sizeof(void*)*1); +lean_dec(x_189); +if (x_190 == 0) { -lean_object* x_359; -x_359 = lean_ctor_get(x_355, 1); -lean_inc(x_359); -lean_dec(x_355); -x_289 = x_359; -goto block_354; +lean_object* x_191; uint8_t x_192; +x_191 = lean_ctor_get(x_187, 1); +lean_inc(x_191); +lean_dec(x_187); +x_192 = 0; +x_172 = x_192; +x_173 = x_191; +goto block_186; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; -x_360 = lean_ctor_get(x_355, 1); -lean_inc(x_360); -lean_dec(x_355); -x_361 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_362 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_361, x_6, x_7, x_8, x_9, x_10, x_11, x_360); -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -x_364 = lean_unbox(x_363); -lean_dec(x_363); -if (x_364 == 0) -{ -lean_object* x_365; -x_365 = lean_ctor_get(x_362, 1); -lean_inc(x_365); -lean_dec(x_362); -x_289 = x_365; -goto block_354; +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_193 = lean_ctor_get(x_187, 1); +lean_inc(x_193); +lean_dec(x_187); +x_194 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_171, x_6, x_7, x_8, x_9, x_10, x_11, x_193); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +lean_dec(x_194); +x_197 = lean_unbox(x_195); +lean_dec(x_195); +x_172 = x_197; +x_173 = x_196; +goto block_186; } -else +block_186: { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_366 = lean_ctor_get(x_362, 1); -lean_inc(x_366); -lean_dec(x_362); -lean_inc(x_288); -x_367 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_288); -x_368 = l_Lean_stringToMessageData(x_367); -lean_dec(x_367); -x_369 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; -x_370 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_372 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_372, 0, x_370); -lean_ctor_set(x_372, 1, x_371); -x_373 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_361, x_372, x_6, x_7, x_8, x_9, x_10, x_11, x_366); -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -lean_dec(x_373); -x_289 = x_374; -goto block_354; -} -} -block_354: +if (x_172 == 0) { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -lean_inc(x_286); -x_290 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_286, x_6, x_7, x_8, x_9, x_10, x_11, x_289); -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_290, 1); -lean_inc(x_292); -lean_dec(x_290); -x_293 = l_Lean_instInhabitedExpr; -x_294 = lean_array_get(x_293, x_2, x_287); -lean_dec(x_287); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_295 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(x_294, x_288, x_6, x_7, x_8, x_9, x_10, x_11, x_292); -lean_dec(x_288); -if (lean_obj_tag(x_295) == 0) -{ -lean_object* x_296; -x_296 = lean_ctor_get(x_295, 0); -lean_inc(x_296); -if (lean_obj_tag(x_296) == 0) -{ -lean_object* x_297; lean_object* x_298; -lean_dec(x_286); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_174; lean_object* x_175; +x_174 = lean_box(0); +x_175 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_168, x_2, x_169, x_170, x_14, x_4, x_1, x_3, x_158, x_171, x_174, x_6, x_7, x_8, x_9, x_10, x_11, x_173); +lean_dec(x_170); +lean_dec(x_169); lean_dec(x_2); -lean_dec(x_1); -x_297 = lean_ctor_get(x_295, 1); -lean_inc(x_297); -lean_dec(x_295); -x_298 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_291, x_6, x_7, x_8, x_9, x_10, x_11, x_297); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_298; +return x_175; } else { -lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_331; lean_object* x_332; lean_object* x_333; uint8_t x_334; -lean_dec(x_291); -x_299 = lean_ctor_get(x_295, 1); -lean_inc(x_299); -lean_dec(x_295); -x_300 = lean_ctor_get(x_296, 0); -lean_inc(x_300); -lean_dec(x_296); -x_331 = lean_st_ref_get(x_11, x_299); -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_332, 3); -lean_inc(x_333); -lean_dec(x_332); -x_334 = lean_ctor_get_uint8(x_333, sizeof(void*)*1); -lean_dec(x_333); -if (x_334 == 0) -{ -lean_object* x_335; -x_335 = lean_ctor_get(x_331, 1); -lean_inc(x_335); -lean_dec(x_331); -x_301 = x_335; -goto block_330; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; -x_336 = lean_ctor_get(x_331, 1); -lean_inc(x_336); -lean_dec(x_331); -x_337 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_338 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_337, x_6, x_7, x_8, x_9, x_10, x_11, x_336); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_unbox(x_339); -lean_dec(x_339); -if (x_340 == 0) -{ -lean_object* x_341; -x_341 = lean_ctor_get(x_338, 1); -lean_inc(x_341); -lean_dec(x_338); -x_301 = x_341; -goto block_330; -} -else -{ -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; -x_342 = lean_ctor_get(x_338, 1); -lean_inc(x_342); -lean_dec(x_338); -lean_inc(x_300); -x_343 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_343, 0, x_300); -x_344 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; -x_345 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -x_346 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -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_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_337, x_347, x_6, x_7, x_8, x_9, x_10, x_11, x_342); -x_349 = lean_ctor_get(x_348, 1); -lean_inc(x_349); -lean_dec(x_348); -x_301 = x_349; -goto block_330; -} -} -block_330: -{ -lean_object* x_302; lean_object* x_303; uint8_t x_304; uint8_t x_305; lean_object* x_306; -x_302 = lean_array_get_size(x_2); -x_303 = lean_unsigned_to_nat(0u); -x_304 = lean_nat_dec_lt(x_303, x_302); -if (x_304 == 0) -{ -uint8_t x_318; -lean_dec(x_302); -x_318 = 0; -x_305 = x_318; -x_306 = x_301; -goto block_317; -} -else -{ -uint8_t x_319; -x_319 = lean_nat_dec_le(x_302, x_302); -if (x_319 == 0) -{ -uint8_t x_320; -lean_dec(x_302); -x_320 = 0; -x_305 = x_320; -x_306 = x_301; -goto block_317; -} -else -{ -size_t x_321; lean_object* x_322; -x_321 = lean_usize_of_nat(x_302); -lean_dec(x_302); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_300); -x_322 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(x_300, x_2, x_276, x_321, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_322) == 0) -{ -lean_object* x_323; lean_object* x_324; uint8_t x_325; -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); -x_325 = lean_unbox(x_323); -lean_dec(x_323); -x_305 = x_325; -x_306 = x_324; -goto block_317; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -lean_dec(x_300); -lean_dec(x_286); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_inc(x_170); +x_176 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_170); +x_177 = l_Lean_stringToMessageData(x_176); +lean_dec(x_176); +x_178 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; +x_179 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_181 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +x_182 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_171, x_181, x_6, x_7, x_8, x_9, x_10, x_11, x_173); +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_168, x_2, x_169, x_170, x_14, x_4, x_1, x_3, x_158, x_171, x_183, x_6, x_7, x_8, x_9, x_10, x_11, x_184); +lean_dec(x_183); +lean_dec(x_170); +lean_dec(x_169); lean_dec(x_2); -lean_dec(x_1); -x_326 = lean_ctor_get(x_322, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_322, 1); -lean_inc(x_327); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - lean_ctor_release(x_322, 1); - x_328 = x_322; -} else { - lean_dec_ref(x_322); - x_328 = lean_box(0); -} -if (lean_is_scalar(x_328)) { - x_329 = lean_alloc_ctor(1, 2, 0); -} else { - x_329 = x_328; -} -lean_ctor_set(x_329, 0, x_326); -lean_ctor_set(x_329, 1, x_327); -return x_329; -} -} -} -block_317: -{ -if (x_305 == 0) -{ -lean_object* x_307; lean_object* x_308; -x_307 = lean_box(0); -x_308 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(x_5, x_286, x_14, x_300, x_2, x_4, x_1, x_3, x_307, x_6, x_7, x_8, x_9, x_10, x_11, x_306); -lean_dec(x_2); -return x_308; -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -lean_dec(x_300); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_309 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_286, x_6, x_7, x_8, x_9, x_10, x_11, x_306); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec(x_309); -x_312 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_310, x_6, x_7, x_8, x_9, x_10, x_11, x_311); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -if (lean_is_exclusive(x_312)) { - lean_ctor_release(x_312, 0); - lean_ctor_release(x_312, 1); - x_315 = x_312; -} else { - lean_dec_ref(x_312); - x_315 = lean_box(0); -} -if (lean_is_scalar(x_315)) { - x_316 = lean_alloc_ctor(1, 2, 0); -} else { - x_316 = x_315; -} -lean_ctor_set(x_316, 0, x_313); -lean_ctor_set(x_316, 1, x_314); -return x_316; -} -} -} -} -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -lean_dec(x_291); -lean_dec(x_286); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_350 = lean_ctor_get(x_295, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_295, 1); -lean_inc(x_351); -if (lean_is_exclusive(x_295)) { - lean_ctor_release(x_295, 0); - lean_ctor_release(x_295, 1); - x_352 = x_295; -} else { - lean_dec_ref(x_295); - x_352 = lean_box(0); -} -if (lean_is_scalar(x_352)) { - x_353 = lean_alloc_ctor(1, 2, 0); -} else { - x_353 = x_352; -} -lean_ctor_set(x_353, 0, x_350); -lean_ctor_set(x_353, 1, x_351); -return x_353; +return x_185; } } } @@ -39129,87 +24905,87 @@ lean_dec(x_2); lean_dec(x_1); if (lean_obj_tag(x_5) == 0) { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_375 = lean_ctor_get(x_282, 1); -lean_inc(x_375); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_376 = x_282; +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_198 = lean_ctor_get(x_164, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_199 = x_164; } else { - lean_dec_ref(x_282); - x_376 = lean_box(0); + lean_dec_ref(x_164); + x_199 = lean_box(0); } -x_377 = lean_ctor_get(x_283, 0); -lean_inc(x_377); -lean_dec(x_283); -if (lean_is_scalar(x_273)) { - x_378 = lean_alloc_ctor(0, 2, 0); +x_200 = lean_ctor_get(x_165, 0); +lean_inc(x_200); +lean_dec(x_165); +if (lean_is_scalar(x_155)) { + x_201 = lean_alloc_ctor(0, 2, 0); } else { - x_378 = x_273; + x_201 = x_155; } -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_272); -x_379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_379, 0, x_270); -lean_ctor_set(x_379, 1, x_378); -lean_ctor_set(x_17, 1, x_379); -if (lean_is_scalar(x_376)) { - x_380 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_154); +x_202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_202, 0, x_152); +lean_ctor_set(x_202, 1, x_201); +lean_ctor_set(x_17, 1, x_202); +if (lean_is_scalar(x_199)) { + x_203 = lean_alloc_ctor(0, 2, 0); } else { - x_380 = x_376; + x_203 = x_199; } -lean_ctor_set(x_380, 0, x_17); -lean_ctor_set(x_380, 1, x_375); -return x_380; +lean_ctor_set(x_203, 0, x_17); +lean_ctor_set(x_203, 1, x_198); +return x_203; } else { -lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -lean_dec(x_272); -x_381 = lean_ctor_get(x_282, 1); -lean_inc(x_381); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_382 = x_282; +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_154); +x_204 = lean_ctor_get(x_164, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_205 = x_164; } else { - lean_dec_ref(x_282); - x_382 = lean_box(0); + lean_dec_ref(x_164); + x_205 = lean_box(0); } -x_383 = lean_ctor_get(x_283, 0); -lean_inc(x_383); -lean_dec(x_283); -x_384 = 1; -x_385 = lean_box(x_384); -if (lean_is_scalar(x_273)) { - x_386 = lean_alloc_ctor(0, 2, 0); +x_206 = lean_ctor_get(x_165, 0); +lean_inc(x_206); +lean_dec(x_165); +x_207 = 1; +x_208 = lean_box(x_207); +if (lean_is_scalar(x_155)) { + x_209 = lean_alloc_ctor(0, 2, 0); } else { - x_386 = x_273; + x_209 = x_155; } -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_385); -x_387 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_387, 0, x_270); -lean_ctor_set(x_387, 1, x_386); -lean_ctor_set(x_17, 1, x_387); -if (lean_is_scalar(x_382)) { - x_388 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_152); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_17, 1, x_210); +if (lean_is_scalar(x_205)) { + x_211 = lean_alloc_ctor(0, 2, 0); } else { - x_388 = x_382; + x_211 = x_205; } -lean_ctor_set(x_388, 0, x_17); -lean_ctor_set(x_388, 1, x_381); -return x_388; +lean_ctor_set(x_211, 0, x_17); +lean_ctor_set(x_211, 1, x_204); +return x_211; } } } else { -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; -lean_dec(x_273); -lean_dec(x_272); -lean_dec(x_270); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_152); lean_free_object(x_17); lean_dec(x_22); lean_dec(x_14); @@ -39223,471 +24999,181 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_389 = lean_ctor_get(x_282, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_282, 1); -lean_inc(x_390); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_391 = x_282; +x_212 = lean_ctor_get(x_164, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_164, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_214 = x_164; } else { - lean_dec_ref(x_282); - x_391 = lean_box(0); + lean_dec_ref(x_164); + x_214 = lean_box(0); } -if (lean_is_scalar(x_391)) { - x_392 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); } else { - x_392 = x_391; + x_215 = x_214; } -lean_ctor_set(x_392, 0, x_389); -lean_ctor_set(x_392, 1, x_390); -return x_392; +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); +return x_215; } } } else { -lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; size_t x_400; size_t x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_393 = lean_ctor_get(x_17, 0); -lean_inc(x_393); +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; size_t x_223; size_t 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; +x_216 = lean_ctor_get(x_17, 0); +lean_inc(x_216); lean_dec(x_17); -x_394 = lean_ctor_get(x_18, 0); -lean_inc(x_394); +x_217 = lean_ctor_get(x_18, 0); +lean_inc(x_217); if (lean_is_exclusive(x_18)) { lean_ctor_release(x_18, 0); lean_ctor_release(x_18, 1); - x_395 = x_18; + x_218 = x_18; } else { lean_dec_ref(x_18); - x_395 = lean_box(0); + x_218 = lean_box(0); } -x_396 = lean_ctor_get(x_19, 0); -lean_inc(x_396); -x_397 = lean_ctor_get(x_19, 1); -lean_inc(x_397); +x_219 = lean_ctor_get(x_19, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_19, 1); +lean_inc(x_220); if (lean_is_exclusive(x_19)) { lean_ctor_release(x_19, 0); lean_ctor_release(x_19, 1); - x_398 = x_19; + x_221 = x_19; } else { lean_dec_ref(x_19); - x_398 = lean_box(0); + x_221 = lean_box(0); } -x_399 = lean_array_get_size(x_396); -x_400 = lean_usize_of_nat(x_399); -lean_dec(x_399); -x_401 = 0; -x_402 = x_396; -x_403 = lean_box_usize(x_400); -x_404 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; -lean_inc(x_394); -x_405 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); -lean_closure_set(x_405, 0, x_394); -lean_closure_set(x_405, 1, x_403); -lean_closure_set(x_405, 2, x_404); -lean_closure_set(x_405, 3, x_402); -x_406 = x_405; +x_222 = lean_array_get_size(x_219); +x_223 = lean_usize_of_nat(x_222); +lean_dec(x_222); +x_224 = 0; +x_225 = x_219; +x_226 = lean_box_usize(x_223); +x_227 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; +lean_inc(x_217); +x_228 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed), 11, 4); +lean_closure_set(x_228, 0, x_217); +lean_closure_set(x_228, 1, x_226); +lean_closure_set(x_228, 2, x_227); +lean_closure_set(x_228, 3, x_225); +x_229 = x_228; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_407 = lean_apply_7(x_406, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -if (lean_obj_tag(x_407) == 0) +x_230 = lean_apply_7(x_229, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_230) == 0) { -lean_object* x_408; -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -if (lean_obj_tag(x_408) == 0) +lean_object* x_231; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +if (lean_obj_tag(x_231) == 0) { -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_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_395); -lean_dec(x_394); -lean_dec(x_393); -x_409 = lean_ctor_get(x_408, 0); -lean_inc(x_409); -lean_dec(x_408); -x_410 = lean_ctor_get(x_407, 1); -lean_inc(x_410); -lean_dec(x_407); -x_411 = lean_ctor_get(x_409, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_409, 1); -lean_inc(x_412); -x_413 = lean_ctor_get(x_409, 2); -lean_inc(x_413); -lean_dec(x_409); -x_480 = lean_st_ref_get(x_11, x_410); -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_481, 3); -lean_inc(x_482); -lean_dec(x_481); -x_483 = lean_ctor_get_uint8(x_482, sizeof(void*)*1); -lean_dec(x_482); -if (x_483 == 0) +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; +lean_dec(x_221); +lean_dec(x_220); +lean_dec(x_218); +lean_dec(x_217); +lean_dec(x_216); +x_232 = lean_ctor_get(x_231, 0); +lean_inc(x_232); +lean_dec(x_231); +x_233 = lean_ctor_get(x_230, 1); +lean_inc(x_233); +lean_dec(x_230); +x_234 = lean_ctor_get(x_232, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_232, 1); +lean_inc(x_235); +x_236 = lean_ctor_get(x_232, 2); +lean_inc(x_236); +lean_dec(x_232); +x_237 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; +x_253 = lean_st_ref_get(x_11, x_233); +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_254, 3); +lean_inc(x_255); +lean_dec(x_254); +x_256 = lean_ctor_get_uint8(x_255, sizeof(void*)*1); +lean_dec(x_255); +if (x_256 == 0) { -lean_object* x_484; -x_484 = lean_ctor_get(x_480, 1); -lean_inc(x_484); -lean_dec(x_480); -x_414 = x_484; -goto block_479; +lean_object* x_257; uint8_t x_258; +x_257 = lean_ctor_get(x_253, 1); +lean_inc(x_257); +lean_dec(x_253); +x_258 = 0; +x_238 = x_258; +x_239 = x_257; +goto block_252; } else { -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; uint8_t x_489; -x_485 = lean_ctor_get(x_480, 1); -lean_inc(x_485); -lean_dec(x_480); -x_486 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_487 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_486, x_6, x_7, x_8, x_9, x_10, x_11, x_485); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_unbox(x_488); -lean_dec(x_488); -if (x_489 == 0) -{ -lean_object* x_490; -x_490 = lean_ctor_get(x_487, 1); -lean_inc(x_490); -lean_dec(x_487); -x_414 = x_490; -goto block_479; +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; +x_259 = lean_ctor_get(x_253, 1); +lean_inc(x_259); +lean_dec(x_253); +x_260 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_237, x_6, x_7, x_8, x_9, x_10, x_11, x_259); +x_261 = lean_ctor_get(x_260, 0); +lean_inc(x_261); +x_262 = lean_ctor_get(x_260, 1); +lean_inc(x_262); +lean_dec(x_260); +x_263 = lean_unbox(x_261); +lean_dec(x_261); +x_238 = x_263; +x_239 = x_262; +goto block_252; } -else +block_252: { -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_491 = lean_ctor_get(x_487, 1); -lean_inc(x_491); -lean_dec(x_487); -lean_inc(x_413); -x_492 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_413); -x_493 = l_Lean_stringToMessageData(x_492); -lean_dec(x_492); -x_494 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; -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_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -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_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_486, x_497, x_6, x_7, x_8, x_9, x_10, x_11, x_491); -x_499 = lean_ctor_get(x_498, 1); -lean_inc(x_499); -lean_dec(x_498); -x_414 = x_499; -goto block_479; -} -} -block_479: +if (x_238 == 0) { -lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; -lean_inc(x_411); -x_415 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_411, x_6, x_7, x_8, x_9, x_10, x_11, x_414); -x_416 = lean_ctor_get(x_415, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_415, 1); -lean_inc(x_417); -lean_dec(x_415); -x_418 = l_Lean_instInhabitedExpr; -x_419 = lean_array_get(x_418, x_2, x_412); -lean_dec(x_412); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_420 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(x_419, x_413, x_6, x_7, x_8, x_9, x_10, x_11, x_417); -lean_dec(x_413); -if (lean_obj_tag(x_420) == 0) -{ -lean_object* x_421; -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -if (lean_obj_tag(x_421) == 0) -{ -lean_object* x_422; lean_object* x_423; -lean_dec(x_411); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_240; lean_object* x_241; +x_240 = lean_box(0); +x_241 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_234, x_2, x_235, x_236, x_14, x_4, x_1, x_3, x_224, x_237, x_240, x_6, x_7, x_8, x_9, x_10, x_11, x_239); +lean_dec(x_236); +lean_dec(x_235); lean_dec(x_2); -lean_dec(x_1); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_423 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_416, x_6, x_7, x_8, x_9, x_10, x_11, x_422); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_423; +return x_241; } else { -lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_456; lean_object* x_457; lean_object* x_458; uint8_t x_459; -lean_dec(x_416); -x_424 = lean_ctor_get(x_420, 1); -lean_inc(x_424); -lean_dec(x_420); -x_425 = lean_ctor_get(x_421, 0); -lean_inc(x_425); -lean_dec(x_421); -x_456 = lean_st_ref_get(x_11, x_424); -x_457 = lean_ctor_get(x_456, 0); -lean_inc(x_457); -x_458 = lean_ctor_get(x_457, 3); -lean_inc(x_458); -lean_dec(x_457); -x_459 = lean_ctor_get_uint8(x_458, sizeof(void*)*1); -lean_dec(x_458); -if (x_459 == 0) -{ -lean_object* x_460; -x_460 = lean_ctor_get(x_456, 1); -lean_inc(x_460); -lean_dec(x_456); -x_426 = x_460; -goto block_455; -} -else -{ -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; uint8_t x_465; -x_461 = lean_ctor_get(x_456, 1); -lean_inc(x_461); -lean_dec(x_456); -x_462 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__4; -x_463 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_462, x_6, x_7, x_8, x_9, x_10, x_11, x_461); -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_unbox(x_464); -lean_dec(x_464); -if (x_465 == 0) -{ -lean_object* x_466; -x_466 = lean_ctor_get(x_463, 1); -lean_inc(x_466); -lean_dec(x_463); -x_426 = x_466; -goto block_455; -} -else -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_467 = lean_ctor_get(x_463, 1); -lean_inc(x_467); -lean_dec(x_463); -lean_inc(x_425); -x_468 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_468, 0, x_425); -x_469 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; -x_470 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_470, 0, x_469); -lean_ctor_set(x_470, 1, x_468); -x_471 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_472 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_472, 0, x_470); -lean_ctor_set(x_472, 1, x_471); -x_473 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_462, x_472, x_6, x_7, x_8, x_9, x_10, x_11, x_467); -x_474 = lean_ctor_get(x_473, 1); -lean_inc(x_474); -lean_dec(x_473); -x_426 = x_474; -goto block_455; -} -} -block_455: -{ -lean_object* x_427; lean_object* x_428; uint8_t x_429; uint8_t x_430; lean_object* x_431; -x_427 = lean_array_get_size(x_2); -x_428 = lean_unsigned_to_nat(0u); -x_429 = lean_nat_dec_lt(x_428, x_427); -if (x_429 == 0) -{ -uint8_t x_443; -lean_dec(x_427); -x_443 = 0; -x_430 = x_443; -x_431 = x_426; -goto block_442; -} -else -{ -uint8_t x_444; -x_444 = lean_nat_dec_le(x_427, x_427); -if (x_444 == 0) -{ -uint8_t x_445; -lean_dec(x_427); -x_445 = 0; -x_430 = x_445; -x_431 = x_426; -goto block_442; -} -else -{ -size_t x_446; lean_object* x_447; -x_446 = lean_usize_of_nat(x_427); -lean_dec(x_427); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_425); -x_447 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(x_425, x_2, x_401, x_446, x_6, x_7, x_8, x_9, x_10, x_11, x_426); -if (lean_obj_tag(x_447) == 0) -{ -lean_object* x_448; lean_object* x_449; uint8_t x_450; -x_448 = lean_ctor_get(x_447, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_447, 1); -lean_inc(x_449); -lean_dec(x_447); -x_450 = lean_unbox(x_448); -lean_dec(x_448); -x_430 = x_450; -x_431 = x_449; -goto block_442; -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; -lean_dec(x_425); -lean_dec(x_411); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_inc(x_236); +x_242 = l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(x_236); +x_243 = l_Lean_stringToMessageData(x_242); +lean_dec(x_242); +x_244 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; +x_245 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +x_246 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_247 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +x_248 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_237, x_247, x_6, x_7, x_8, x_9, x_10, x_11, x_239); +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_248, 1); +lean_inc(x_250); +lean_dec(x_248); +x_251 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_5, x_234, x_2, x_235, x_236, x_14, x_4, x_1, x_3, x_224, x_237, x_249, x_6, x_7, x_8, x_9, x_10, x_11, x_250); +lean_dec(x_249); +lean_dec(x_236); +lean_dec(x_235); lean_dec(x_2); -lean_dec(x_1); -x_451 = lean_ctor_get(x_447, 0); -lean_inc(x_451); -x_452 = lean_ctor_get(x_447, 1); -lean_inc(x_452); -if (lean_is_exclusive(x_447)) { - lean_ctor_release(x_447, 0); - lean_ctor_release(x_447, 1); - x_453 = x_447; -} else { - lean_dec_ref(x_447); - x_453 = lean_box(0); -} -if (lean_is_scalar(x_453)) { - x_454 = lean_alloc_ctor(1, 2, 0); -} else { - x_454 = x_453; -} -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_452); -return x_454; -} -} -} -block_442: -{ -if (x_430 == 0) -{ -lean_object* x_432; lean_object* x_433; -x_432 = lean_box(0); -x_433 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(x_5, x_411, x_14, x_425, x_2, x_4, x_1, x_3, x_432, x_6, x_7, x_8, x_9, x_10, x_11, x_431); -lean_dec(x_2); -return x_433; -} -else -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; -lean_dec(x_425); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_434 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(x_5, x_411, x_6, x_7, x_8, x_9, x_10, x_11, x_431); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -x_437 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(x_435, x_6, x_7, x_8, x_9, x_10, x_11, x_436); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_438 = lean_ctor_get(x_437, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - x_440 = x_437; -} else { - lean_dec_ref(x_437); - x_440 = lean_box(0); -} -if (lean_is_scalar(x_440)) { - x_441 = lean_alloc_ctor(1, 2, 0); -} else { - x_441 = x_440; -} -lean_ctor_set(x_441, 0, x_438); -lean_ctor_set(x_441, 1, x_439); -return x_441; -} -} -} -} -} -else -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; -lean_dec(x_416); -lean_dec(x_411); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_475 = lean_ctor_get(x_420, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_420, 1); -lean_inc(x_476); -if (lean_is_exclusive(x_420)) { - lean_ctor_release(x_420, 0); - lean_ctor_release(x_420, 1); - x_477 = x_420; -} else { - lean_dec_ref(x_420); - x_477 = lean_box(0); -} -if (lean_is_scalar(x_477)) { - x_478 = lean_alloc_ctor(1, 2, 0); -} else { - x_478 = x_477; -} -lean_ctor_set(x_478, 0, x_475); -lean_ctor_set(x_478, 1, x_476); -return x_478; +return x_251; } } } @@ -39706,101 +25192,101 @@ lean_dec(x_2); lean_dec(x_1); if (lean_obj_tag(x_5) == 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; -x_500 = lean_ctor_get(x_407, 1); -lean_inc(x_500); -if (lean_is_exclusive(x_407)) { - lean_ctor_release(x_407, 0); - lean_ctor_release(x_407, 1); - x_501 = x_407; +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_264 = lean_ctor_get(x_230, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_265 = x_230; } else { - lean_dec_ref(x_407); - x_501 = lean_box(0); + lean_dec_ref(x_230); + x_265 = lean_box(0); } -x_502 = lean_ctor_get(x_408, 0); -lean_inc(x_502); -lean_dec(x_408); -if (lean_is_scalar(x_398)) { - x_503 = lean_alloc_ctor(0, 2, 0); +x_266 = lean_ctor_get(x_231, 0); +lean_inc(x_266); +lean_dec(x_231); +if (lean_is_scalar(x_221)) { + x_267 = lean_alloc_ctor(0, 2, 0); } else { - x_503 = x_398; + x_267 = x_221; } -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_397); -if (lean_is_scalar(x_395)) { - x_504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_220); +if (lean_is_scalar(x_218)) { + x_268 = lean_alloc_ctor(0, 2, 0); } else { - x_504 = x_395; + x_268 = x_218; } -lean_ctor_set(x_504, 0, x_394); -lean_ctor_set(x_504, 1, x_503); -x_505 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_505, 0, x_393); -lean_ctor_set(x_505, 1, x_504); -if (lean_is_scalar(x_501)) { - x_506 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_217); +lean_ctor_set(x_268, 1, x_267); +x_269 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_269, 0, x_216); +lean_ctor_set(x_269, 1, x_268); +if (lean_is_scalar(x_265)) { + x_270 = lean_alloc_ctor(0, 2, 0); } else { - x_506 = x_501; + x_270 = x_265; } -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_500); -return x_506; +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_264); +return x_270; } else { -lean_object* x_507; lean_object* x_508; lean_object* x_509; uint8_t x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -lean_dec(x_397); -x_507 = lean_ctor_get(x_407, 1); -lean_inc(x_507); -if (lean_is_exclusive(x_407)) { - lean_ctor_release(x_407, 0); - lean_ctor_release(x_407, 1); - x_508 = x_407; +lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +lean_dec(x_220); +x_271 = lean_ctor_get(x_230, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_272 = x_230; } else { - lean_dec_ref(x_407); - x_508 = lean_box(0); + lean_dec_ref(x_230); + x_272 = lean_box(0); } -x_509 = lean_ctor_get(x_408, 0); -lean_inc(x_509); -lean_dec(x_408); -x_510 = 1; -x_511 = lean_box(x_510); -if (lean_is_scalar(x_398)) { - x_512 = lean_alloc_ctor(0, 2, 0); +x_273 = lean_ctor_get(x_231, 0); +lean_inc(x_273); +lean_dec(x_231); +x_274 = 1; +x_275 = lean_box(x_274); +if (lean_is_scalar(x_221)) { + x_276 = lean_alloc_ctor(0, 2, 0); } else { - x_512 = x_398; + x_276 = x_221; } -lean_ctor_set(x_512, 0, x_509); -lean_ctor_set(x_512, 1, x_511); -if (lean_is_scalar(x_395)) { - x_513 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_276, 0, x_273); +lean_ctor_set(x_276, 1, x_275); +if (lean_is_scalar(x_218)) { + x_277 = lean_alloc_ctor(0, 2, 0); } else { - x_513 = x_395; + x_277 = x_218; } -lean_ctor_set(x_513, 0, x_394); -lean_ctor_set(x_513, 1, x_512); -x_514 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_514, 0, x_393); -lean_ctor_set(x_514, 1, x_513); -if (lean_is_scalar(x_508)) { - x_515 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_217); +lean_ctor_set(x_277, 1, x_276); +x_278 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_278, 0, x_216); +lean_ctor_set(x_278, 1, x_277); +if (lean_is_scalar(x_272)) { + x_279 = lean_alloc_ctor(0, 2, 0); } else { - x_515 = x_508; + x_279 = x_272; } -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_507); -return x_515; +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_271); +return x_279; } } } else { -lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_395); -lean_dec(x_394); -lean_dec(x_393); +lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec(x_221); +lean_dec(x_220); +lean_dec(x_218); +lean_dec(x_217); +lean_dec(x_216); lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -39812,32 +25298,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_516 = lean_ctor_get(x_407, 0); -lean_inc(x_516); -x_517 = lean_ctor_get(x_407, 1); -lean_inc(x_517); -if (lean_is_exclusive(x_407)) { - lean_ctor_release(x_407, 0); - lean_ctor_release(x_407, 1); - x_518 = x_407; +x_280 = lean_ctor_get(x_230, 0); +lean_inc(x_280); +x_281 = lean_ctor_get(x_230, 1); +lean_inc(x_281); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_282 = x_230; } else { - lean_dec_ref(x_407); - x_518 = lean_box(0); + lean_dec_ref(x_230); + x_282 = lean_box(0); } -if (lean_is_scalar(x_518)) { - x_519 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_282)) { + x_283 = lean_alloc_ctor(1, 2, 0); } else { - x_519 = x_518; + x_283 = x_282; } -lean_ctor_set(x_519, 0, x_516); -lean_ctor_set(x_519, 1, x_517); -return x_519; +lean_ctor_set(x_283, 0, x_280); +lean_ctor_set(x_283, 1, x_281); +return x_283; } } } else { -uint8_t x_520; +uint8_t x_284; lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -39849,23 +25335,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_520 = !lean_is_exclusive(x_16); -if (x_520 == 0) +x_284 = !lean_is_exclusive(x_16); +if (x_284 == 0) { return x_16; } else { -lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_521 = lean_ctor_get(x_16, 0); -x_522 = lean_ctor_get(x_16, 1); -lean_inc(x_522); -lean_inc(x_521); +lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_285 = lean_ctor_get(x_16, 0); +x_286 = lean_ctor_get(x_16, 1); +lean_inc(x_286); +lean_inc(x_285); lean_dec(x_16); -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_521); -lean_ctor_set(x_523, 1, x_522); -return x_523; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +return x_287; } } } @@ -39917,6 +25403,70 @@ lean_dec(x_1); return x_17; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +size_t x_18; lean_object* x_19; +x_18 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +return x_19; +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +size_t x_20; lean_object* x_21; +x_20 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_21 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_21; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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: { @@ -39953,7 +25503,7 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -39963,7 +25513,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2() { _start: { lean_object* x_1; @@ -39971,17 +25521,17 @@ x_1 = lean_mk_string("ignoreUnusedAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4() { _start: { lean_object* x_1; @@ -39989,13 +25539,13 @@ x_1 = lean_mk_string("if true, do not generate error if an alternative is not us return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -40004,12 +25554,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -41978,17 +27528,25 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchU _start: { lean_object* x_1; -x_1 = lean_mk_string("_private.Lean.Elab.Match.0.Lean.Elab.Term.isMatchUnit?"); +x_1 = lean_mk_string("Lean.Elab.Match"); return x_1; } } static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("_private.Lean.Elab.Match.0.Lean.Elab.Term.isMatchUnit?"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__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_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; -x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5; -x_3 = lean_unsigned_to_nat(1098u); +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5; +x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6; +x_3 = lean_unsigned_to_nat(739u); x_4 = lean_unsigned_to_nat(2u); x_5 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -42009,7 +27567,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__1; -x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6; +x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7; x_14 = lean_panic_fn(x_12, x_13); x_15 = lean_apply_5(x_14, x_3, x_4, x_5, x_6, x_7); return x_15; @@ -42422,11 +27980,23 @@ return x_24; } } } +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -42441,6 +28011,169 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +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_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +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; +x_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2(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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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) { _start: { @@ -42459,23 +28192,23 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_6, 5); lean_inc(x_14); lean_inc(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed), 4, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1___boxed), 4, 1); lean_closure_set(x_15, 0, x_12); lean_inc(x_13); x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_16, 0, x_13); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed), 4, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2___boxed), 4, 1); lean_closure_set(x_17, 0, x_12); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed), 6, 3); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3___boxed), 6, 3); lean_closure_set(x_18, 0, x_12); lean_closure_set(x_18, 1, x_13); lean_closure_set(x_18, 2, x_14); lean_inc(x_12); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed), 6, 3); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4___boxed), 6, 3); lean_closure_set(x_19, 0, x_12); lean_closure_set(x_19, 1, x_13); lean_closure_set(x_19, 2, x_14); @@ -43704,7 +29437,322 @@ return x_13; } } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_20 = x_15; +} else { + lean_dec_ref(x_15); + x_20 = lean_box(0); +} +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_22 = x_16; +} else { + lean_dec_ref(x_16); + x_22 = lean_box(0); +} +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_17, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_25 = x_17; +} else { + lean_dec_ref(x_17); + x_25 = lean_box(0); +} +if (x_5 == 0) +{ +uint8_t x_68; +x_68 = lean_unbox(x_24); +lean_dec(x_24); +x_26 = x_68; +goto block_67; +} +else +{ +uint8_t x_69; +lean_dec(x_24); +x_69 = 1; +x_26 = x_69; +goto block_67; +} +block_67: +{ +lean_object* x_27; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_27 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_7, x_8, x_9, x_10, x_11, x_12, x_18); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_array_get_size(x_23); +x_30 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_31 = 0; +lean_inc(x_23); +x_32 = x_23; +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_30, x_31, x_32); +x_34 = x_33; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_35 = l_Lean_Meta_instantiateMVars(x_21, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_array_to_list(lean_box(0), x_23); +x_39 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_box(x_26); +if (lean_is_scalar(x_25)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_25; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_34); +if (lean_is_scalar(x_22)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_22; +} +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_43); +if (lean_is_scalar(x_20)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_20; +} +lean_ctor_set(x_45, 0, x_36); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_39, 0, x_46); +return x_39; +} +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; lean_object* x_53; lean_object* x_54; +x_47 = lean_ctor_get(x_39, 0); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_39); +x_49 = lean_box(x_26); +if (lean_is_scalar(x_25)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_25; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_34); +if (lean_is_scalar(x_22)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_22; +} +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +if (lean_is_scalar(x_20)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_20; +} +lean_ctor_set(x_52, 0, x_36); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_19); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_48); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +x_55 = !lean_is_exclusive(x_39); +if (x_55 == 0) +{ +return x_39; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_39, 0); +x_57 = lean_ctor_get(x_39, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_39); +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; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_34); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_59 = !lean_is_exclusive(x_35); +if (x_59 == 0) +{ +return x_35; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_35, 0); +x_61 = lean_ctor_get(x_35, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_35); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_63 = !lean_is_exclusive(x_27); +if (x_63 == 0) +{ +return x_27; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_27, 0); +x_65 = lean_ctor_get(x_27, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_27); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_70 = !lean_is_exclusive(x_14); +if (x_70 == 0) +{ +return x_14; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_14, 0); +x_72 = lean_ctor_get(x_14, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_14); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -43712,16 +29760,16 @@ x_1 = lean_mk_string("matchType: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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) { _start: { lean_object* x_13; @@ -43755,392 +29803,88 @@ lean_inc(x_6); x_21 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_15); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; 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_86 = lean_st_ref_get(x_11, x_23); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_87, 3); -lean_inc(x_88); -lean_dec(x_87); -x_89 = lean_ctor_get_uint8(x_88, sizeof(void*)*1); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; -x_90 = lean_ctor_get(x_86, 1); -lean_inc(x_90); -lean_dec(x_86); -x_24 = x_90; -goto block_85; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_91 = lean_ctor_get(x_86, 1); -lean_inc(x_91); -lean_dec(x_86); -x_92 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_93 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_91); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_unbox(x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_24 = x_96; -goto block_85; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_97 = lean_ctor_get(x_93, 1); -lean_inc(x_97); -lean_dec(x_93); -lean_inc(x_17); -x_98 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_98, 0, x_17); -x_99 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2; -x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -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_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_92, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_97); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_24 = x_104; -goto block_85; -} -} -block_85: -{ -lean_object* x_25; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(x_5, x_16, x_17, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_24); -if (lean_obj_tag(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; uint8_t x_37; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = lean_ctor_get(x_26, 0); -lean_inc(x_30); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_31 = x_26; -} else { - lean_dec_ref(x_26); - x_31 = lean_box(0); -} -x_32 = lean_ctor_get(x_27, 0); -lean_inc(x_32); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_33 = x_27; -} else { - lean_dec_ref(x_27); - x_33 = lean_box(0); -} -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_36 = x_28; -} else { - lean_dec_ref(x_28); - x_36 = lean_box(0); -} -if (x_18 == 0) -{ -uint8_t x_79; -x_79 = lean_unbox(x_35); -lean_dec(x_35); -x_37 = x_79; -goto block_78; -} -else -{ -uint8_t x_80; -lean_dec(x_35); -x_80 = 1; -x_37 = x_80; -goto block_78; -} -block_78: -{ -lean_object* x_38; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_38 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_6, x_7, x_8, x_9, x_10, x_11, x_29); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_array_get_size(x_34); -x_41 = lean_usize_of_nat(x_40); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_39 = lean_st_ref_get(x_11, x_23); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); lean_dec(x_40); -x_42 = 0; -lean_inc(x_34); -x_43 = x_34; -x_44 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_41, x_42, x_43); -x_45 = x_44; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_46 = l_Lean_Meta_instantiateMVars(x_32, x_8, x_9, x_10, x_11, x_39); -if (lean_obj_tag(x_46) == 0) +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_44 = 0; +x_25 = x_44; +x_26 = x_43; +goto block_38; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_dec(x_39); +x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_45); 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_array_to_list(lean_box(0), x_34); -x_50 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_box(x_37); -if (lean_is_scalar(x_36)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_36; -} -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_45); -if (lean_is_scalar(x_33)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_33; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_54); -if (lean_is_scalar(x_31)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_31; -} -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_30); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_50, 0, x_57); -return x_50; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_58 = lean_ctor_get(x_50, 0); -x_59 = lean_ctor_get(x_50, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_50); -x_60 = lean_box(x_37); -if (lean_is_scalar(x_36)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_36; -} -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_45); -if (lean_is_scalar(x_33)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_33; -} -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_61); -if (lean_is_scalar(x_31)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_31; -} -lean_ctor_set(x_63, 0, x_47); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_30); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -return x_65; -} -} -else -{ -uint8_t x_66; +x_49 = lean_unbox(x_47); lean_dec(x_47); -lean_dec(x_45); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_30); -x_66 = !lean_is_exclusive(x_50); -if (x_66 == 0) +x_25 = x_49; +x_26 = x_48; +goto block_38; +} +block_38: { -return x_50; +if (x_25 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(x_5, x_16, x_17, x_22, x_18, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +return x_28; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_50, 0); -x_68 = lean_ctor_get(x_50, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_50); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -else -{ -uint8_t x_70; -lean_dec(x_45); -lean_dec(x_36); +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_inc(x_17); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_17); +x_30 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2; +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_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +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_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_70 = !lean_is_exclusive(x_46); -if (x_70 == 0) -{ -return x_46; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_46, 0); -x_72 = lean_ctor_get(x_46, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_46); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(x_5, x_16, x_17, x_22, x_18, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +lean_dec(x_35); +return x_37; } } } else { -uint8_t x_74; -lean_dec(x_36); -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_74 = !lean_is_exclusive(x_38); -if (x_74 == 0) -{ -return x_38; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_38, 0); -x_76 = lean_ctor_get(x_38, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_38); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -} -else -{ -uint8_t x_81; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_81 = !lean_is_exclusive(x_25); -if (x_81 == 0) -{ -return x_25; -} -else -{ -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_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; -} -} -} -} -else -{ -uint8_t x_105; +uint8_t x_50; lean_dec(x_17); lean_dec(x_16); lean_dec(x_11); @@ -44150,29 +29894,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_105 = !lean_is_exclusive(x_21); -if (x_105 == 0) +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) { return x_21; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_21, 0); -x_107 = lean_ctor_get(x_21, 1); -lean_inc(x_107); -lean_inc(x_106); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); lean_dec(x_21); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } else { -uint8_t x_109; +uint8_t x_54; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -44180,28 +29924,28 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_109 = !lean_is_exclusive(x_13); -if (x_109 == 0) +x_54 = !lean_is_exclusive(x_13); +if (x_54 == 0) { return x_13; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_13, 0); -x_111 = lean_ctor_get(x_13, 1); -lean_inc(x_111); -lean_inc(x_110); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_13, 0); +x_56 = lean_ctor_get(x_13, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_13); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; uint8_t x_11; lean_object* x_12; @@ -44211,15 +29955,25 @@ x_12 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); return x_12; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1() { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed), 9, 0); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -44227,20 +29981,20 @@ x_1 = lean_mk_string("result: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___boxed), 12, 5); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___boxed), 12, 5); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_2); lean_closure_set(x_14, 2, x_3); @@ -44255,7 +30009,7 @@ lean_inc(x_7); x_15 = l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_113; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_112; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_16, 1); @@ -44288,48 +30042,48 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_19, 1); lean_inc(x_26); lean_dec(x_19); -x_113 = lean_unbox(x_25); +x_112 = lean_unbox(x_25); lean_dec(x_25); -if (x_113 == 0) +if (x_112 == 0) { -uint8_t x_114; -x_114 = 0; -x_27 = x_114; -goto block_112; +uint8_t x_113; +x_113 = 0; +x_27 = x_113; +goto block_111; } else { -uint8_t x_115; -x_115 = 1; -x_27 = x_115; -goto block_112; +uint8_t x_114; +x_114 = 1; +x_27 = x_114; +goto block_111; } -block_112: +block_111: { lean_object* x_28; lean_object* x_29; if (x_27 == 0) { -lean_object* x_104; +lean_object* x_103; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_104 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f(x_24, x_26, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_104) == 0) +x_103 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f(x_24, x_26, x_9, x_10, x_11, x_12, x_20); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_104, 0); +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_28 = x_105; -x_29 = x_106; -goto block_103; +lean_dec(x_103); +x_28 = x_104; +x_29 = x_105; +goto block_102; } else { -uint8_t x_107; +uint8_t x_106; lean_dec(x_26); lean_dec(x_24); lean_dec(x_23); @@ -44341,42 +30095,42 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_107 = !lean_is_exclusive(x_104); -if (x_107 == 0) +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) { -return x_104; +return x_103; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_104, 0); -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_103, 0); +x_108 = lean_ctor_get(x_103, 1); lean_inc(x_108); -lean_dec(x_104); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +lean_inc(x_107); +lean_dec(x_103); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } else { -lean_object* x_111; -x_111 = lean_box(0); -x_28 = x_111; +lean_object* x_110; +x_110 = lean_box(0); +x_28 = x_110; x_29 = x_20; -goto block_103; +goto block_102; } -block_103: +block_102: { if (lean_obj_tag(x_28) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_21); x_30 = lean_array_get_size(x_22); -x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; +x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1; lean_inc(x_7); x_32 = l_Lean_Elab_Term_mkAuxName(x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_29); if (lean_obj_tag(x_32) == 0) @@ -44423,14 +30177,14 @@ lean_inc(x_41); lean_dec(x_40); x_42 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_42, 0, x_30); -x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1; +x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_44 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(x_23, x_42, x_43, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +x_44 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg(x_23, x_42, x_43, x_7, x_8, x_9, x_10, x_11, x_12, x_41); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -44450,148 +30204,131 @@ x_47 = l_Lean_Elab_Term_reportMatcherResultErrors(x_24, x_37, x_7, x_8, x_9, x_1 lean_dec(x_24); if (lean_obj_tag(x_47) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +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; uint8_t x_55; lean_object* x_56; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get(x_37, 0); -lean_inc(x_49); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +x_50 = lean_ctor_get(x_37, 0); +lean_inc(x_50); lean_dec(x_37); -x_50 = l_Lean_mkApp(x_49, x_45); -x_51 = l_Lean_mkAppN(x_50, x_22); +x_51 = l_Lean_mkApp(x_50, x_45); +x_52 = l_Lean_mkAppN(x_51, x_22); lean_dec(x_22); -x_52 = l_Lean_mkAppN(x_51, x_26); +x_53 = l_Lean_mkAppN(x_52, x_26); lean_dec(x_26); -x_53 = lean_st_ref_get(x_12, x_48); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_ctor_get_uint8(x_55, sizeof(void*)*1); -lean_dec(x_55); -if (x_56 == 0) +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_69 = lean_st_ref_get(x_12, x_48); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); +lean_dec(x_71); +if (x_72 == 0) { -uint8_t x_57; +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_74 = 0; +x_55 = x_74; +x_56 = x_73; +goto block_68; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +lean_dec(x_69); +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox(x_77); +lean_dec(x_77); +x_55 = x_79; +x_56 = x_78; +goto block_68; +} +block_68: +{ +if (x_55 == 0) +{ +lean_object* x_57; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_57 = !lean_is_exclusive(x_53); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_ctor_get(x_53, 0); -lean_dec(x_58); -lean_ctor_set(x_53, 0, x_52); -return x_53; +if (lean_is_scalar(x_49)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_49; +} +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +return x_57; } else { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_53, 1); -lean_inc(x_59); -lean_dec(x_53); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_52); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_61 = lean_ctor_get(x_53, 1); -lean_inc(x_61); -lean_dec(x_53); -x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_63 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_62, x_7, x_8, x_9, x_10, x_11, x_12, x_61); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_unbox(x_64); -lean_dec(x_64); -if (x_65 == 0) -{ -uint8_t x_66; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +lean_dec(x_49); +lean_inc(x_53); +x_58 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_58, 0, x_53); +x_59 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_54, x_62, x_7, x_8, x_9, x_10, x_11, x_12, x_56); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_66 = !lean_is_exclusive(x_63); -if (x_66 == 0) +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { -lean_object* x_67; -x_67 = lean_ctor_get(x_63, 0); -lean_dec(x_67); -lean_ctor_set(x_63, 0, x_52); +lean_object* x_65; +x_65 = lean_ctor_get(x_63, 0); +lean_dec(x_65); +lean_ctor_set(x_63, 0, x_53); return x_63; } else { -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); lean_dec(x_63); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_52); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_70 = lean_ctor_get(x_63, 1); -lean_inc(x_70); -lean_dec(x_63); -lean_inc(x_52); -x_71 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_71, 0, x_52); -x_72 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_62, x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_70); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -lean_ctor_set(x_76, 0, x_52); -return x_76; -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_52); -lean_ctor_set(x_80, 1, x_79); -return x_80; +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_53); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } else { -uint8_t x_81; +uint8_t x_80; lean_dec(x_45); lean_dec(x_37); lean_dec(x_26); @@ -44602,29 +30339,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_81 = !lean_is_exclusive(x_47); -if (x_81 == 0) +x_80 = !lean_is_exclusive(x_47); +if (x_80 == 0) { return x_47; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_47, 0); -x_83 = lean_ctor_get(x_47, 1); -lean_inc(x_83); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_47, 0); +x_82 = lean_ctor_get(x_47, 1); lean_inc(x_82); +lean_inc(x_81); lean_dec(x_47); -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; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } else { -uint8_t x_85; +uint8_t x_84; lean_dec(x_37); lean_dec(x_26); lean_dec(x_24); @@ -44635,29 +30372,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_85 = !lean_is_exclusive(x_44); -if (x_85 == 0) +x_84 = !lean_is_exclusive(x_44); +if (x_84 == 0) { return x_44; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_44, 0); -x_87 = lean_ctor_get(x_44, 1); -lean_inc(x_87); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_44, 0); +x_86 = lean_ctor_get(x_44, 1); lean_inc(x_86); +lean_inc(x_85); lean_dec(x_44); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -uint8_t x_89; +uint8_t x_88; lean_dec(x_37); lean_dec(x_30); lean_dec(x_26); @@ -44670,29 +30407,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_89 = !lean_is_exclusive(x_40); -if (x_89 == 0) +x_88 = !lean_is_exclusive(x_40); +if (x_88 == 0) { return x_40; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_40, 0); -x_91 = lean_ctor_get(x_40, 1); -lean_inc(x_91); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_40, 0); +x_90 = lean_ctor_get(x_40, 1); lean_inc(x_90); +lean_inc(x_89); lean_dec(x_40); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +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; } } } else { -uint8_t x_93; +uint8_t x_92; lean_dec(x_30); lean_dec(x_26); lean_dec(x_24); @@ -44704,29 +30441,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_93 = !lean_is_exclusive(x_36); -if (x_93 == 0) +x_92 = !lean_is_exclusive(x_36); +if (x_92 == 0) { return x_36; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_36, 0); -x_95 = lean_ctor_get(x_36, 1); -lean_inc(x_95); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_36, 0); +x_94 = lean_ctor_get(x_36, 1); lean_inc(x_94); +lean_inc(x_93); lean_dec(x_36); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +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; } } } else { -uint8_t x_97; +uint8_t x_96; lean_dec(x_30); lean_dec(x_26); lean_dec(x_24); @@ -44738,29 +30475,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_97 = !lean_is_exclusive(x_32); -if (x_97 == 0) +x_96 = !lean_is_exclusive(x_32); +if (x_96 == 0) { return x_32; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_32, 0); -x_99 = lean_ctor_get(x_32, 1); -lean_inc(x_99); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_32, 0); +x_98 = lean_ctor_get(x_32, 1); lean_inc(x_98); +lean_inc(x_97); lean_dec(x_32); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } else { -lean_object* x_101; lean_object* x_102; +lean_object* x_100; lean_object* x_101; lean_dec(x_26); lean_dec(x_24); lean_dec(x_23); @@ -44771,52 +30508,52 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_101 = lean_ctor_get(x_28, 0); -lean_inc(x_101); +x_100 = lean_ctor_get(x_28, 0); +lean_inc(x_100); lean_dec(x_28); if (lean_is_scalar(x_21)) { - x_102 = lean_alloc_ctor(0, 2, 0); + x_101 = lean_alloc_ctor(0, 2, 0); } else { - x_102 = x_21; + x_101 = x_21; } -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_29); -return x_102; +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_29); +return x_101; } } } } else { -uint8_t x_116; +uint8_t x_115; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_116 = !lean_is_exclusive(x_15); -if (x_116 == 0) +x_115 = !lean_is_exclusive(x_15); +if (x_115 == 0) { return x_15; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_15, 0); -x_118 = lean_ctor_get(x_15, 1); -lean_inc(x_118); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_15, 0); +x_117 = lean_ctor_get(x_15, 1); lean_inc(x_117); +lean_inc(x_116); lean_dec(x_15); -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; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -44851,7 +30588,7 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_4); lean_inc(x_2); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed), 13, 4); +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___boxed), 13, 4); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_4); lean_closure_set(x_13, 2, x_3); @@ -44870,7 +30607,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_box(0); -x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(x_13, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_18 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6(x_13, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_18; } @@ -44911,7 +30648,7 @@ else lean_object* x_25; lean_object* x_26; lean_dec(x_13); x_25 = lean_box(0); -x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(x_2, x_4, x_3, x_5, x_1, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5(x_2, x_4, x_3, x_5, x_1, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_26; } } @@ -44956,6 +30693,47 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__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_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2___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_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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) { _start: { @@ -45014,21 +30792,32 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +return x_15; +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(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 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_2); lean_dec(x_1); return x_13; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__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); @@ -45037,20 +30826,35 @@ lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_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_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_6); return x_14; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6(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; @@ -45134,7 +30938,11 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_setArg(x_1, x_19, x_2); x_21 = lean_array_push(x_3, x_20); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); +lean_inc(x_13); lean_inc(x_12); x_22 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(x_4, x_5, x_21, x_6, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_22) == 0) @@ -45145,14 +30953,17 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_16, x_17, x_24); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_16, x_17, x_24); 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_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_27); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); @@ -45160,6 +30971,7 @@ x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); x_31 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_30); +lean_dec(x_17); x_32 = !lean_is_exclusive(x_31); if (x_32 == 0) { @@ -45177,14 +30989,14 @@ lean_ctor_set(x_37, 0, x_26); lean_ctor_set(x_37, 1, x_8); lean_ctor_set(x_37, 2, x_36); lean_ctor_set(x_37, 3, x_9); -x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; +x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; lean_inc(x_26); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_26); lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; +x_40 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; x_41 = lean_array_push(x_40, x_37); -x_42 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; +x_42 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_42); x_45 = lean_array_push(x_44, x_39); @@ -45193,13 +31005,13 @@ x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; +x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; x_50 = lean_array_push(x_49, x_48); x_51 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); -x_53 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_53 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_26); lean_ctor_set(x_54, 1, x_53); @@ -45208,7 +31020,7 @@ x_56 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); -x_58 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; +x_58 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; x_59 = lean_array_push(x_58, x_35); x_60 = lean_array_push(x_59, x_52); x_61 = lean_array_push(x_60, x_57); @@ -45240,14 +31052,14 @@ lean_ctor_set(x_70, 0, x_26); lean_ctor_set(x_70, 1, x_8); lean_ctor_set(x_70, 2, x_69); lean_ctor_set(x_70, 3, x_9); -x_71 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; +x_71 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; lean_inc(x_26); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_26); lean_ctor_set(x_72, 1, x_71); -x_73 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; +x_73 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; x_74 = lean_array_push(x_73, x_70); -x_75 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; +x_75 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; x_76 = lean_array_push(x_74, x_75); x_77 = lean_array_push(x_76, x_75); x_78 = lean_array_push(x_77, x_72); @@ -45256,13 +31068,13 @@ x_80 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); -x_82 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; +x_82 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; x_83 = lean_array_push(x_82, x_81); x_84 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_86 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_26); lean_ctor_set(x_87, 1, x_86); @@ -45271,7 +31083,7 @@ x_89 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; +x_91 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; x_92 = lean_array_push(x_91, x_68); x_93 = lean_array_push(x_92, x_85); x_94 = lean_array_push(x_93, x_90); @@ -45289,7 +31101,11 @@ return x_98; else { uint8_t x_99; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -45316,15 +31132,7 @@ return x_102; } } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -45333,13 +31141,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_isAuxDiscrName___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2; +x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -45347,7 +31155,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -45355,22 +31163,112 @@ x_1 = lean_mk_string("unexpected internal auxiliary discriminant name"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4; +x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___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; 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; uint8_t x_29; +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; +x_24 = l_Lean_addMacroScope(x_21, x_23, x_18); +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2; +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_25); +x_28 = l_Lean_Syntax_getId(x_27); +x_29 = l_Lean_Elab_Term_isAuxDiscrName(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_27); +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_30 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4; +x_31 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_31); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_box(0); +x_37 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_1, x_27, x_2, x_3, x_4, x_5, x_23, x_26, x_25, x_6, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_37; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", "); +return x_1; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(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: { if (lean_obj_tag(x_2) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; @@ -45386,7 +31284,7 @@ return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_18 = lean_ctor_get(x_2, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); @@ -45394,765 +31292,111 @@ lean_inc(x_19); lean_dec(x_2); x_20 = lean_unsigned_to_nat(1u); x_21 = l_Lean_Syntax_getArg(x_18, x_20); -lean_inc(x_7); lean_inc(x_21); -x_22 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); +lean_inc(x_4); +lean_inc(x_19); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_18); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2), 13, 6); +lean_closure_set(x_22, 0, x_18); +lean_closure_set(x_22, 1, x_3); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_19); +lean_closure_set(x_22, 4, x_4); +lean_closure_set(x_22, 5, x_21); +lean_inc(x_7); +x_23 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_take(x_10, x_24); -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 = !lean_is_exclusive(x_26); -if (x_28 == 0) +if (lean_obj_tag(x_24) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_29 = lean_ctor_get(x_26, 1); -x_30 = lean_nat_add(x_29, x_20); -lean_ctor_set(x_26, 1, x_30); -x_31 = lean_st_ref_set(x_10, x_26, x_27); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = !lean_is_exclusive(x_5); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_34 = lean_ctor_get(x_5, 4); -lean_dec(x_34); -lean_ctor_set(x_5, 4, x_29); -x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_32); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_40); -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_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_45 = l_Lean_addMacroScope(x_42, x_44, x_39); -x_46 = lean_box(0); -x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_46); -x_49 = l_Lean_Syntax_getId(x_48); -x_50 = l_Lean_Elab_Term_isAuxDiscrName(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_48); -lean_dec(x_21); +lean_object* x_25; lean_object* x_26; lean_dec(x_19); lean_dec(x_18); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_51 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_52 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -lean_dec(x_7); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -return x_52; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_52); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_box(0); -x_58 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_48, x_3, x_1, x_19, x_4, x_44, x_47, x_46, x_21, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t 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; uint8_t x_86; -x_59 = lean_ctor_get(x_5, 0); -x_60 = lean_ctor_get(x_5, 1); -x_61 = lean_ctor_get(x_5, 2); -x_62 = lean_ctor_get(x_5, 3); -x_63 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_64 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_65 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_66 = lean_ctor_get(x_5, 5); -x_67 = lean_ctor_get(x_5, 6); -x_68 = lean_ctor_get(x_5, 7); -x_69 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_5); -x_70 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_70, 0, x_59); -lean_ctor_set(x_70, 1, x_60); -lean_ctor_set(x_70, 2, x_61); -lean_ctor_set(x_70, 3, x_62); -lean_ctor_set(x_70, 4, x_29); -lean_ctor_set(x_70, 5, x_66); -lean_ctor_set(x_70, 6, x_67); -lean_ctor_set(x_70, 7, x_68); -lean_ctor_set_uint8(x_70, sizeof(void*)*8, x_63); -lean_ctor_set_uint8(x_70, sizeof(void*)*8 + 1, x_64); -lean_ctor_set_uint8(x_70, sizeof(void*)*8 + 2, x_65); -lean_ctor_set_uint8(x_70, sizeof(void*)*8 + 3, x_69); -x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_32); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Lean_Elab_Term_getCurrMacroScope(x_70, x_6, x_7, x_8, x_9, x_10, x_73); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_81 = l_Lean_addMacroScope(x_78, x_80, x_75); -x_82 = lean_box(0); -x_83 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_84 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_84, 0, x_72); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_81); -lean_ctor_set(x_84, 3, x_82); -x_85 = l_Lean_Syntax_getId(x_84); -x_86 = l_Lean_Elab_Term_isAuxDiscrName(x_85); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_84); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_87 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_88 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_87, x_70, x_6, x_7, x_8, x_9, x_10, x_79); -lean_dec(x_7); -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); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; -x_93 = lean_box(0); -x_94 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_84, x_3, x_1, x_19, x_4, x_80, x_83, x_82, x_21, x_93, x_70, x_6, x_7, x_8, x_9, x_10, x_79); -return x_94; -} -} -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; uint8_t x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_95 = lean_ctor_get(x_26, 0); -x_96 = lean_ctor_get(x_26, 1); -x_97 = lean_ctor_get(x_26, 2); -x_98 = lean_ctor_get(x_26, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_26); -x_99 = lean_nat_add(x_96, x_20); -x_100 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_100, 0, x_95); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_97); -lean_ctor_set(x_100, 3, x_98); -x_101 = lean_st_ref_set(x_10, x_100, x_27); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_ctor_get(x_5, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_5, 1); -lean_inc(x_104); -x_105 = lean_ctor_get(x_5, 2); -lean_inc(x_105); -x_106 = lean_ctor_get(x_5, 3); -lean_inc(x_106); -x_107 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_108 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_109 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_110 = lean_ctor_get(x_5, 5); -lean_inc(x_110); -x_111 = lean_ctor_get(x_5, 6); -lean_inc(x_111); -x_112 = lean_ctor_get(x_5, 7); -lean_inc(x_112); -x_113 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_114 = x_5; -} else { - lean_dec_ref(x_5); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(0, 8, 4); -} else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_103); -lean_ctor_set(x_115, 1, x_104); -lean_ctor_set(x_115, 2, x_105); -lean_ctor_set(x_115, 3, x_106); -lean_ctor_set(x_115, 4, x_96); -lean_ctor_set(x_115, 5, x_110); -lean_ctor_set(x_115, 6, x_111); -lean_ctor_set(x_115, 7, x_112); -lean_ctor_set_uint8(x_115, sizeof(void*)*8, x_107); -lean_ctor_set_uint8(x_115, sizeof(void*)*8 + 1, x_108); -lean_ctor_set_uint8(x_115, sizeof(void*)*8 + 2, x_109); -lean_ctor_set_uint8(x_115, sizeof(void*)*8 + 3, x_113); -x_116 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_102); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_115, x_6, x_7, x_8, x_9, x_10, x_118); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_121); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_126 = l_Lean_addMacroScope(x_123, x_125, x_120); -x_127 = lean_box(0); -x_128 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_129 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_129, 0, x_117); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set(x_129, 2, x_126); -lean_ctor_set(x_129, 3, x_127); -x_130 = l_Lean_Syntax_getId(x_129); -x_131 = l_Lean_Elab_Term_isAuxDiscrName(x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_129); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_132 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_133 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_132, x_115, x_6, x_7, x_8, x_9, x_10, x_124); -lean_dec(x_7); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_136 = x_133; -} else { - lean_dec_ref(x_133); - x_136 = lean_box(0); -} -if (lean_is_scalar(x_136)) { - x_137 = lean_alloc_ctor(1, 2, 0); -} else { - x_137 = x_136; -} -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_135); -return x_137; -} -else -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_box(0); -x_139 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_129, x_3, x_1, x_19, x_4, x_125, x_128, x_127, x_21, x_138, x_115, x_6, x_7, x_8, x_9, x_10, x_124); -return x_139; -} -} -} -else -{ -lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_140 = lean_ctor_get(x_22, 1); -lean_inc(x_140); -lean_dec(x_22); -x_141 = lean_ctor_get(x_23, 0); -lean_inc(x_141); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); lean_dec(x_23); -x_142 = l_Lean_Expr_isFVar(x_141); -if (x_142 == 0) +x_26 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +return x_26; +} +else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -lean_dec(x_141); -x_143 = lean_st_ref_take(x_10, x_140); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = !lean_is_exclusive(x_144); -if (x_146 == 0) +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_ctor_get(x_24, 0); +lean_inc(x_28); +lean_dec(x_24); +x_29 = l_Lean_Expr_isFVar(x_28); +if (x_29 == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_147 = lean_ctor_get(x_144, 1); -x_148 = lean_nat_add(x_147, x_20); -lean_ctor_set(x_144, 1, x_148); -x_149 = lean_st_ref_set(x_10, x_144, x_145); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = !lean_is_exclusive(x_5); -if (x_151 == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_152 = lean_ctor_get(x_5, 4); -lean_dec(x_152); -lean_ctor_set(x_5, 4, x_147); -x_153 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_150); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_155); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -x_159 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_158); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -lean_dec(x_159); -x_162 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_163 = l_Lean_addMacroScope(x_160, x_162, x_157); -x_164 = lean_box(0); -x_165 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_166, 0, x_154); -lean_ctor_set(x_166, 1, x_165); -lean_ctor_set(x_166, 2, x_163); -lean_ctor_set(x_166, 3, x_164); -x_167 = l_Lean_Syntax_getId(x_166); -x_168 = l_Lean_Elab_Term_isAuxDiscrName(x_167); -if (x_168 == 0) -{ -lean_object* x_169; lean_object* x_170; uint8_t x_171; -lean_dec(x_166); -lean_dec(x_21); +lean_object* x_30; +lean_dec(x_28); lean_dec(x_19); lean_dec(x_18); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_169 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_170 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_169, x_5, x_6, x_7, x_8, x_9, x_10, x_161); -lean_dec(x_7); -x_171 = !lean_is_exclusive(x_170); -if (x_171 == 0) -{ -return x_170; +x_30 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_30; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_170, 0); -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_170); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; -} -} -else -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -x_176 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_166, x_3, x_1, x_19, x_4, x_162, x_165, x_164, x_21, x_175, x_5, x_6, x_7, x_8, x_9, x_10, x_161); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; uint8_t x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; -x_177 = lean_ctor_get(x_5, 0); -x_178 = lean_ctor_get(x_5, 1); -x_179 = lean_ctor_get(x_5, 2); -x_180 = lean_ctor_get(x_5, 3); -x_181 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_182 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_183 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_184 = lean_ctor_get(x_5, 5); -x_185 = lean_ctor_get(x_5, 6); -x_186 = lean_ctor_get(x_5, 7); -x_187 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_5); -x_188 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_188, 0, x_177); -lean_ctor_set(x_188, 1, x_178); -lean_ctor_set(x_188, 2, x_179); -lean_ctor_set(x_188, 3, x_180); -lean_ctor_set(x_188, 4, x_147); -lean_ctor_set(x_188, 5, x_184); -lean_ctor_set(x_188, 6, x_185); -lean_ctor_set(x_188, 7, x_186); -lean_ctor_set_uint8(x_188, sizeof(void*)*8, x_181); -lean_ctor_set_uint8(x_188, sizeof(void*)*8 + 1, x_182); -lean_ctor_set_uint8(x_188, sizeof(void*)*8 + 2, x_183); -lean_ctor_set_uint8(x_188, sizeof(void*)*8 + 3, x_187); -x_189 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_150); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = l_Lean_Elab_Term_getCurrMacroScope(x_188, x_6, x_7, x_8, x_9, x_10, x_191); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_194); -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_199 = l_Lean_addMacroScope(x_196, x_198, x_193); -x_200 = lean_box(0); -x_201 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_202 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_202, 0, x_190); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_199); -lean_ctor_set(x_202, 3, x_200); -x_203 = l_Lean_Syntax_getId(x_202); -x_204 = l_Lean_Elab_Term_isAuxDiscrName(x_203); -if (x_204 == 0) -{ -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_dec(x_202); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_205 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_206 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_205, x_188, x_6, x_7, x_8, x_9, x_10, x_197); -lean_dec(x_7); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_209 = x_206; -} else { - lean_dec_ref(x_206); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; -} -else -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_box(0); -x_212 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_202, x_3, x_1, x_19, x_4, x_198, x_201, x_200, x_21, x_211, x_188, x_6, x_7, x_8, x_9, x_10, x_197); -return x_212; -} -} -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; uint8_t x_226; uint8_t x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_213 = lean_ctor_get(x_144, 0); -x_214 = lean_ctor_get(x_144, 1); -x_215 = lean_ctor_get(x_144, 2); -x_216 = lean_ctor_get(x_144, 3); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_144); -x_217 = lean_nat_add(x_214, x_20); -x_218 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_218, 0, x_213); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set(x_218, 2, x_215); -lean_ctor_set(x_218, 3, x_216); -x_219 = lean_st_ref_set(x_10, x_218, x_145); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -lean_dec(x_219); -x_221 = lean_ctor_get(x_5, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_5, 1); -lean_inc(x_222); -x_223 = lean_ctor_get(x_5, 2); -lean_inc(x_223); -x_224 = lean_ctor_get(x_5, 3); -lean_inc(x_224); -x_225 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_226 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_227 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_228 = lean_ctor_get(x_5, 5); -lean_inc(x_228); -x_229 = lean_ctor_get(x_5, 6); -lean_inc(x_229); -x_230 = lean_ctor_get(x_5, 7); -lean_inc(x_230); -x_231 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_232 = x_5; -} else { - lean_dec_ref(x_5); - x_232 = lean_box(0); -} -if (lean_is_scalar(x_232)) { - x_233 = lean_alloc_ctor(0, 8, 4); -} else { - x_233 = x_232; -} -lean_ctor_set(x_233, 0, x_221); -lean_ctor_set(x_233, 1, x_222); -lean_ctor_set(x_233, 2, x_223); -lean_ctor_set(x_233, 3, x_224); -lean_ctor_set(x_233, 4, x_214); -lean_ctor_set(x_233, 5, x_228); -lean_ctor_set(x_233, 6, x_229); -lean_ctor_set(x_233, 7, x_230); -lean_ctor_set_uint8(x_233, sizeof(void*)*8, x_225); -lean_ctor_set_uint8(x_233, sizeof(void*)*8 + 1, x_226); -lean_ctor_set_uint8(x_233, sizeof(void*)*8 + 2, x_227); -lean_ctor_set_uint8(x_233, sizeof(void*)*8 + 3, x_231); -x_234 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_220); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_233, x_6, x_7, x_8, x_9, x_10, x_236); -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -x_240 = l_Lean_Elab_Term_getMainModule___rarg(x_10, 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 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; -x_244 = l_Lean_addMacroScope(x_241, x_243, x_238); -x_245 = lean_box(0); -x_246 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; -x_247 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_247, 0, x_235); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set(x_247, 2, x_244); -lean_ctor_set(x_247, 3, x_245); -x_248 = l_Lean_Syntax_getId(x_247); -x_249 = l_Lean_Elab_Term_isAuxDiscrName(x_248); -if (x_249 == 0) -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -lean_dec(x_247); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_250 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; -x_251 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_250, x_233, x_6, x_7, x_8, x_9, x_10, x_242); -lean_dec(x_7); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_251)) { - lean_ctor_release(x_251, 0); - lean_ctor_release(x_251, 1); - x_254 = x_251; -} else { - lean_dec_ref(x_251); - x_254 = lean_box(0); -} -if (lean_is_scalar(x_254)) { - x_255 = lean_alloc_ctor(1, 2, 0); -} else { - x_255 = x_254; -} -lean_ctor_set(x_255, 0, x_252); -lean_ctor_set(x_255, 1, x_253); -return x_255; -} -else -{ -lean_object* x_256; lean_object* x_257; -x_256 = lean_box(0); -x_257 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_18, x_247, x_3, x_1, x_19, x_4, x_243, x_246, x_245, x_21, x_256, x_233, x_6, x_7, x_8, x_9, x_10, x_242); -return x_257; -} -} -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_21); -x_258 = lean_array_push(x_3, x_18); -x_259 = l_Lean_Expr_fvarId_x21(x_141); -lean_dec(x_141); -x_260 = lean_box(0); -x_261 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_4, x_259, x_260); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_22); +x_31 = lean_array_push(x_3, x_18); +x_32 = l_Lean_Expr_fvarId_x21(x_28); +lean_dec(x_28); +x_33 = lean_box(0); +x_34 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_4, x_32, x_33); x_2 = x_19; -x_3 = x_258; -x_4 = x_261; -x_11 = x_140; +x_3 = x_31; +x_4 = x_34; +x_11 = x_27; goto _start; } } } else { -uint8_t x_263; -lean_dec(x_21); +uint8_t x_36; +lean_dec(x_22); lean_dec(x_19); lean_dec(x_18); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_263 = !lean_is_exclusive(x_22); -if (x_263 == 0) +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) { -return x_22; +return x_23; } else { -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_22, 0); -x_265 = lean_ctor_get(x_22, 1); -lean_inc(x_265); -lean_inc(x_264); -lean_dec(x_22); -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; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_23); +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; } } } @@ -46181,26 +31425,10 @@ _start: { lean_object* x_19; x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); lean_dec(x_11); return x_19; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -return x_12; -} -} lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___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) { _start: { @@ -46311,7 +31539,11 @@ lean_dec(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_12 = lean_box(0); @@ -46391,7 +31623,11 @@ else { uint8_t x_50; lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_50 = !lean_is_exclusive(x_43); @@ -46421,7 +31657,7 @@ if (x_18 == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_array_to_list(lean_box(0), x_14); -x_21 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_21 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_22 = l_Lean_NameSet_empty; x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(x_1, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_19); if (lean_obj_tag(x_23) == 0) @@ -46480,7 +31716,11 @@ else { lean_object* x_35; lean_object* x_36; lean_dec(x_14); +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); @@ -46511,18 +31751,6 @@ lean_dec(x_1); return x_13; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___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_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_9; -} -} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(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: { @@ -46623,7 +31851,38 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1() { +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_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_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -46633,7 +31892,62 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2() { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_tryPostponeIfMVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_dec(x_12); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1; +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1; +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_10); +if (x_17 == 0) +{ +return x_10; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1() { _start: { lean_object* x_1; @@ -46641,11 +31955,11 @@ x_1 = lean_mk_string("discr "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -46670,309 +31984,333 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_4); x_14 = lean_array_uget(x_1, x_3); -x_22 = lean_unsigned_to_nat(1u); -x_23 = l_Lean_Syntax_getArg(x_14, x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_14, x_24); lean_inc(x_7); -x_24 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) +x_26 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; -x_28 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_14, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; +x_30 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_14, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_28); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_14); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -return x_28; +return x_30; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -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_object* x_34; lean_object* x_35; -lean_dec(x_14); -x_33 = lean_ctor_get(x_24, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_34); -x_35 = l_Lean_Meta_inferType(x_34, x_7, x_8, x_9, x_10, x_33); -if (lean_obj_tag(x_35) == 0) +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else { -lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_36 = lean_ctor_get(x_35, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_14); +x_35 = lean_ctor_get(x_26, 1); +lean_inc(x_35); +lean_dec(x_26); +x_36 = lean_ctor_get(x_27, 0); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_67 = lean_st_ref_get(x_10, x_37); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = 0; -x_38 = x_72; -x_39 = x_71; -goto block_66; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_dec(x_67); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_38 = x_78; -x_39 = x_77; -goto block_66; -} -block_66: -{ -if (x_38 == 0) -{ -lean_object* x_40; -lean_dec(x_34); +lean_dec(x_27); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_40 = l_Lean_Elab_Term_tryPostponeIfMVar(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_39); -if (lean_obj_tag(x_40) == 0) +lean_inc(x_36); +x_37 = l_Lean_Meta_inferType(x_36, x_7, x_8, x_9, x_10, x_35); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; -x_15 = x_42; -x_16 = x_41; -goto block_21; +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_71 = lean_st_ref_get(x_10, x_39); +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_41 = x_76; +x_42 = x_75; +goto block_70; } else { -uint8_t x_43; +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); +x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_40, x_5, x_6, x_7, x_8, x_9, x_10, 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_41 = x_81; +x_42 = x_80; +goto block_70; +} +block_70: +{ +if (x_41 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_36); +x_43 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(x_38, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_15 = x_45; +x_16 = x_46; +goto block_23; +} +else +{ +uint8_t x_47; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) +x_47 = !lean_is_exclusive(x_44); +if (x_47 == 0) { -return x_40; +return x_44; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_40, 0); -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_40); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_44, 0); +x_49 = lean_ctor_get(x_44, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_44); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } 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; 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_47 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_47, 0, x_34); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_36); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_36); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_51 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_51, 0, x_36); +x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2; x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_57 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_56, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_39); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); +lean_inc(x_38); +x_56 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_56, 0, x_38); +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_40, x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_59 = l_Lean_Elab_Term_tryPostponeIfMVar(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -if (lean_obj_tag(x_59) == 0) +x_63 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(x_38, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_62); +lean_dec(x_61); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; -x_15 = x_61; -x_16 = x_60; -goto block_21; -} -else -{ -uint8_t x_62; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_62 = !lean_is_exclusive(x_59); -if (x_62 == 0) -{ -return x_59; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_59, 0); -x_64 = lean_ctor_get(x_59, 1); +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_59); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -} -} +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_15 = x_64; +x_16 = x_65; +goto block_23; } else { -uint8_t x_79; -lean_dec(x_34); +uint8_t x_66; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_79 = !lean_is_exclusive(x_35); -if (x_79 == 0) +x_66 = !lean_is_exclusive(x_63); +if (x_66 == 0) { -return x_35; +return x_63; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_35, 0); -x_81 = lean_ctor_get(x_35, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_35); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 0); +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_63); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} } } } } else { -uint8_t x_83; +uint8_t x_82; +lean_dec(x_36); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_82 = !lean_is_exclusive(x_37); +if (x_82 == 0) +{ +return x_37; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_37, 0); +x_84 = lean_ctor_get(x_37, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_37); +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; +} +} +} +} +else +{ +uint8_t x_86; lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_83 = !lean_is_exclusive(x_24); -if (x_83 == 0) +x_86 = !lean_is_exclusive(x_26); +if (x_86 == 0) { -return x_24; +return x_26; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_24, 0); -x_85 = lean_ctor_get(x_24, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_24); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_26, 0); +x_88 = lean_ctor_get(x_26, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_26); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } -block_21: +block_23: { -lean_object* x_17; size_t x_18; size_t x_19; +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_18 = 1; -x_19 = x_3 + x_18; -x_3 = x_19; -x_4 = x_17; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = 1; +x_21 = x_3 + x_20; +x_3 = x_21; +x_4 = x_19; x_11 = x_16; goto _start; } } } } +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(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: { @@ -47055,6 +32393,17 @@ return x_27; } } } +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(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_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___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: { @@ -47243,7 +32592,7 @@ x_15 = lean_usize_of_nat(x_14); lean_dec(x_14); x_16 = 0; x_17 = x_13; -x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_15, x_16, x_17); +x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_15, x_16, x_17); x_19 = x_18; lean_inc(x_1); x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f(x_1); @@ -47332,6 +32681,40 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_i return x_2; } } +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__2___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); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__2___rarg), 3, 0); +return x_2; +} +} uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent(lean_object* x_1) { _start: { @@ -47364,12 +32747,21 @@ x_3 = lean_box(x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("pattern"); +return x_1; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(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; uint8_t x_10; lean_object* x_11; -x_9 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; +x_9 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1; x_10 = 0; +lean_inc(x_7); lean_inc(x_1); x_11 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_11) == 0) @@ -47380,6 +32772,7 @@ lean_inc(x_12); if (lean_obj_tag(x_12) == 0) { uint8_t x_13; +lean_dec(x_7); x_13 = !lean_is_exclusive(x_11); if (x_13 == 0) { @@ -47438,6 +32831,7 @@ if (lean_obj_tag(x_29) == 0) { uint8_t x_30; lean_object* x_31; lean_dec(x_23); +lean_dec(x_7); x_30 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent(x_1); lean_dec(x_1); x_31 = lean_box(x_30); @@ -47456,6 +32850,7 @@ if (lean_obj_tag(x_32) == 6) lean_object* x_33; lean_dec(x_32); lean_dec(x_23); +lean_dec(x_7); x_33 = lean_box(x_10); lean_ctor_set(x_24, 0, x_33); return x_24; @@ -47466,6 +32861,7 @@ lean_object* x_34; uint8_t x_35; lean_dec(x_32); lean_free_object(x_24); x_34 = lean_st_ref_get(x_7, x_27); +lean_dec(x_7); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { @@ -47549,6 +32945,7 @@ if (lean_obj_tag(x_56) == 0) { uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_dec(x_23); +lean_dec(x_7); x_57 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent(x_1); lean_dec(x_1); x_58 = lean_box(x_57); @@ -47569,6 +32966,7 @@ if (lean_obj_tag(x_60) == 6) lean_object* x_61; lean_object* x_62; lean_dec(x_60); lean_dec(x_23); +lean_dec(x_7); x_61 = lean_box(x_10); x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_61); @@ -47580,6 +32978,7 @@ else lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_dec(x_60); x_63 = lean_st_ref_get(x_7, x_54); +lean_dec(x_7); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); @@ -47634,6 +33033,7 @@ else { uint8_t x_75; lean_dec(x_21); +lean_dec(x_7); x_75 = !lean_is_exclusive(x_11); if (x_75 == 0) { @@ -47666,6 +33066,7 @@ return x_82; else { uint8_t x_83; +lean_dec(x_7); lean_dec(x_1); x_83 = !lean_is_exclusive(x_11); if (x_83 == 0) @@ -47688,17 +33089,6 @@ return x_86; } } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___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_Match_0__Lean_Elab_Term_isPatternVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -return x_9; -} -} lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -47796,7 +33186,11 @@ lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault(lean_object* x_1, lean_ _start: { lean_object* x_10; +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_1); x_10 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -47903,26 +33297,29 @@ return x_33; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +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; x_34 = lean_ctor_get(x_10, 1); lean_inc(x_34); lean_dec(x_10); x_35 = lean_ctor_get(x_11, 0); lean_inc(x_35); lean_dec(x_11); +x_36 = 1; +x_37 = lean_box(x_36); +x_38 = lean_box(x_36); lean_inc(x_35); -lean_inc(x_1); -x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___lambda__1), 10, 3); -lean_closure_set(x_36, 0, x_1); -lean_closure_set(x_36, 1, x_35); -lean_closure_set(x_36, 2, x_2); -x_37 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_35, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_34); -return x_37; +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_39, 0, x_35); +lean_closure_set(x_39, 1, x_2); +lean_closure_set(x_39, 2, x_37); +lean_closure_set(x_39, 3, x_38); +x_40 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_35, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +return x_40; } } else { -uint8_t x_38; +uint8_t x_41; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -47931,23 +33328,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_10); -if (x_38 == 0) +x_41 = !lean_is_exclusive(x_10); +if (x_41 == 0) { return x_10; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_10, 0); -x_40 = lean_ctor_get(x_10, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_10, 0); +x_43 = lean_ctor_get(x_10, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_10); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } @@ -48162,8 +33559,11 @@ else lean_object* x_54; lean_object* x_55; x_54 = l_Lean_Syntax_getArg(x_43, x_31); lean_dec(x_43); +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_50); x_55 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -48280,7 +33680,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13318_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_11084_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -48312,7 +33712,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind; -x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -48362,11 +33762,11 @@ x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); if (lean_obj_tag(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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +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; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_7, x_8, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -48392,22 +33792,22 @@ lean_ctor_set(x_28, 1, x_27); x_29 = l_Lean_Elab_Term_isAuxDiscrName___closed__2; x_30 = l_Lean_addMacroScope(x_25, x_29, x_22); x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3; +x_32 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2; lean_inc(x_19); x_33 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_33, 0, x_19); lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_33, 2, x_30); lean_ctor_set(x_33, 3, x_31); -x_34 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; +x_34 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; lean_inc(x_19); x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_19); lean_ctor_set(x_35, 1, x_34); -x_36 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; +x_36 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; lean_inc(x_33); x_37 = lean_array_push(x_36, x_33); -x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; +x_38 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__16; x_39 = lean_array_push(x_37, x_38); x_40 = lean_array_push(x_39, x_38); x_41 = lean_array_push(x_40, x_35); @@ -48416,13 +33816,13 @@ x_43 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; +x_45 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; x_46 = lean_array_push(x_45, x_44); x_47 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_49 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; lean_inc(x_19); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_19); @@ -48442,7 +33842,7 @@ x_58 = lean_array_push(x_57, x_33); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_10); lean_ctor_set(x_59, 1, x_58); -x_60 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; +x_60 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; x_61 = lean_array_push(x_60, x_28); x_62 = lean_array_push(x_61, x_48); x_63 = lean_array_push(x_62, x_53); @@ -48451,53 +33851,56 @@ x_65 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed_ 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 = 1; +x_68 = lean_box(x_67); +x_69 = lean_box(x_67); lean_inc(x_66); -lean_inc(x_1); -x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___lambda__1), 10, 3); -lean_closure_set(x_67, 0, x_1); -lean_closure_set(x_67, 1, x_66); -lean_closure_set(x_67, 2, x_2); -x_68 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_66, x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_68; +x_70 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_70, 0, x_66); +lean_closure_set(x_70, 1, x_2); +lean_closure_set(x_70, 2, x_68); +lean_closure_set(x_70, 3, x_69); +x_71 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_66, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_26); +return x_71; } else { -lean_object* x_69; lean_object* x_70; +lean_object* x_72; lean_object* x_73; lean_dec(x_16); lean_dec(x_1); -x_69 = lean_ctor_get(x_15, 1); -lean_inc(x_69); +x_72 = lean_ctor_get(x_15, 1); +lean_inc(x_72); lean_dec(x_15); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_70 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_69); -if (lean_obj_tag(x_70) == 0) +x_73 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_72); +if (lean_obj_tag(x_73) == 0) { -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; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Term_elabNoMatch___closed__4; -x_74 = lean_array_push(x_73, x_14); -x_75 = l_Lean_Elab_Term_elabMatch___closed__1; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_box(0); -x_78 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__18; -x_79 = lean_array_push(x_78, x_76); -x_80 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; -x_81 = l_Lean_Elab_Term_elabNoMatch___closed__3; -x_82 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(x_77, x_79, x_80, x_81, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_72); -return x_82; +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_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Elab_Term_elabNoMatch___closed__4; +x_77 = lean_array_push(x_76, x_14); +x_78 = l_Lean_Elab_Term_elabMatch___closed__1; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_box(0); +x_81 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; +x_82 = lean_array_push(x_81, x_79); +x_83 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__15; +x_84 = l_Lean_Elab_Term_elabNoMatch___closed__3; +x_85 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(x_80, x_82, x_83, x_84, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_75); +return x_85; } else { -uint8_t x_83; +uint8_t x_86; lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); @@ -48505,23 +33908,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_83 = !lean_is_exclusive(x_70); -if (x_83 == 0) +x_86 = !lean_is_exclusive(x_73); +if (x_86 == 0) { -return x_70; +return x_73; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_70, 0); -x_85 = lean_ctor_get(x_70, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_70); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_73, 0); +x_88 = lean_ctor_get(x_73, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_73); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } @@ -48573,8 +33976,9 @@ lean_object* initialize_Lean_Meta_Match_Match(lean_object*); lean_object* initialize_Lean_Meta_SortLocalDecls(lean_object*); lean_object* initialize_Lean_Meta_GeneralizeVars(lean_object*); lean_object* initialize_Lean_Elab_SyntheticMVars(lean_object*); -lean_object* initialize_Lean_Elab_App(lean_object*); +lean_object* initialize_Lean_Elab_Arg(lean_object*); lean_object* initialize_Lean_Parser_Term(lean_object*); +lean_object* initialize_Lean_Elab_PatternVar(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Match(lean_object* w) { lean_object * res; @@ -48601,18 +34005,15 @@ lean_dec_ref(res); res = initialize_Lean_Elab_SyntheticMVars(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_App(lean_io_mk_world()); +res = initialize_Lean_Elab_Arg(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Parser_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1 = _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1); -l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2 = _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2); -l_Lean_Elab_Term_instInhabitedMatchAltView = _init_l_Lean_Elab_Term_instInhabitedMatchAltView(); -lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView); +res = initialize_Lean_Elab_PatternVar(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2(); @@ -48653,6 +34054,8 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19 = _ lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19); l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21); l_Lean_Elab_Term_isAuxDiscrName___closed__1 = _init_l_Lean_Elab_Term_isAuxDiscrName___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_isAuxDiscrName___closed__1); l_Lean_Elab_Term_isAuxDiscrName___closed__2 = _init_l_Lean_Elab_Term_isAuxDiscrName___closed__2(); @@ -48741,13 +34144,11 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed_ lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__13); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___closed__1); -l_Lean_Elab_Term_instToStringPatternVar___closed__1 = _init_l_Lean_Elab_Term_instToStringPatternVar___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_instToStringPatternVar___closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2240_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1(); @@ -48776,238 +34177,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__5) res = l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_CollectPatternVars_State_found___default = _init_l_Lean_Elab_Term_CollectPatternVars_State_found___default(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_State_found___default); -l_Lean_Elab_Term_CollectPatternVars_State_vars___default = _init_l_Lean_Elab_Term_CollectPatternVars_State_vars___default(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_State_vars___default); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2); -l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default = _init_l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default); -l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default = _init_l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default); -l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1); -l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext = _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33); -l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1 = _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1); -l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2 = _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2); -l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1(); -lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__1); -l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2(); -lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__2); -l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3(); -lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__3); -l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4(); -lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___closed__4); -l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1); -l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1); -l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2); -l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1); -l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1); -l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5); -l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6); -l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed__const__1); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__1); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__2); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__3); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__4); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__5 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__5); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__6 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__6); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__7 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__7); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__8 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__8); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__9 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__9); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__10 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__10); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__11 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__11); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__12 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__12); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__13 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__13); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__14 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__14); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__15 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__15); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__16 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__16); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__17 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__17); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__18 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__18); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__19 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__19); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__20 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__20); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__21 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__21); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__22 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__22); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__23 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__23); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__24 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__24); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__25 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__25); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__26 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__26); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__27 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__27); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__28 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__28); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__29 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__29); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__30 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__30); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__31 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__31); -l_Lean_Elab_Term_CollectPatternVars_collect___closed__32 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__32); -l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__1); -l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2); -l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3); -l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2); -l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2(); @@ -49033,6 +34202,16 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__3); res = l___regBuiltin_Lean_Elab_Term_precheckMatch(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__1); +l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2 = _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__2); +l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3 = _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__3); +l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___closed__4); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__2___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__2(); @@ -49051,8 +34230,6 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___ lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8); l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__9); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__10); l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2(); @@ -49071,6 +34248,14 @@ l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatt lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__4); l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___lambda__2___closed__4); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__2(); @@ -49079,14 +34264,6 @@ l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___cl lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__3); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7); -l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__8); l_Lean_Elab_Term_ToDepElimPattern_State_found___default = _init_l_Lean_Elab_Term_ToDepElimPattern_State_found___default(); lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_State_found___default); l_Lean_Elab_Term_ToDepElimPattern_State_newLocals___default = _init_l_Lean_Elab_Term_ToDepElimPattern_State_newLocals___default(); @@ -49099,20 +34276,28 @@ l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_T lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__1); l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2); +l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__3); l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1); l_Lean_Elab_Term_ToDepElimPattern_main___closed__1 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___closed__1); l_Lean_Elab_Term_ToDepElimPattern_main___closed__2 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___closed__2); +l_Lean_Elab_Term_ToDepElimPattern_main___closed__3 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___closed__3); +l_Lean_Elab_Term_ToDepElimPattern_main___closed__4 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___closed__4); l_Lean_Elab_Term_withDepElimPatterns___rarg___boxed__const__1 = _init_l_Lean_Elab_Term_withDepElimPatterns___rarg___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_withDepElimPatterns___rarg___boxed__const__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___boxed__const__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___boxed__const__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2); +l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1 = _init_l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1(); +lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__2); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__2(); @@ -49125,29 +34310,29 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___cl lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__2); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___closed__2); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__3); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298____closed__5); l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1 = _init_l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8298_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_match_ignoreUnusedAlts = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts); @@ -49180,6 +34365,10 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5 = _ini lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5); l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__7); +l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg___closed__1); l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1(); lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1); l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2(); @@ -49192,36 +34381,38 @@ l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_ lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1); l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2(); lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__3); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__2); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__2); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__1); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__3); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__4); l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__2); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__3); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4); -l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__3); +l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___closed__1); l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1 = _init_l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1); l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__2 = _init_l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__2(); @@ -49239,7 +34430,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch___closed__3); res = l___regBuiltin_Lean_Elab_Term_elabMatch(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_Match___hyg_13318_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_11084_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/MatchAltView.c b/stage0/stdlib/Lean/Elab/MatchAltView.c new file mode 100644 index 0000000000..c614891136 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/MatchAltView.c @@ -0,0 +1,73 @@ +// Lean compiler output +// Module: Lean.Elab.MatchAltView +// Imports: Init Lean.Elab.Term +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +static lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2; +lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView; +static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_instInhabitedMatchAltView() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2; +return x_1; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Term(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_MatchAltView(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1 = _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView___closed__1); +l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2 = _init_l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView___closed__2); +l_Lean_Elab_Term_instInhabitedMatchAltView = _init_l_Lean_Elab_Term_instInhabitedMatchAltView(); +lean_mark_persistent(l_Lean_Elab_Term_instInhabitedMatchAltView); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Mixfix.c b/stage0/stdlib/Lean/Elab/Mixfix.c new file mode 100644 index 0000000000..3f35c36e6d --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Mixfix.c @@ -0,0 +1,4051 @@ +// Lean compiler output +// Module: Lean.Elab.Mixfix +// Imports: Init Lean.Elab.Attributes +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; +extern lean_object* l_Lean_nullKind; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix___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*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___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_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object*, lean_object*, lean_object*, 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_Elab_Command_expandMixfix___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21; +extern lean_object* l_Lean_numLitKind; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; +lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; +lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__1(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; +extern lean_object* l_Lean_Elab_macroAttribute; +lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(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_Syntax_isNone(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +extern lean_object* l_Lean_Elab_mkAttrKindGlobal; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8(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_mkLit(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Elab_mkAttrKindGlobal; +x_8 = l_Lean_Syntax_setArg(x_1, x_5, x_7); +x_9 = lean_apply_3(x_2, x_8, x_3, x_4); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_Syntax_setArg(x_11, x_5, x_6); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = l_Lean_Syntax_setArg(x_13, x_5, x_6); +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; +lean_dec(x_6); +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("notation"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___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_Elab_Command_expandMixfix___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("identPrec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___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_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___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; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPrio"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("priority"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedName"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("name"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precedence"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_11); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_19 = x_16; +} else { + lean_dec_ref(x_16); + x_19 = lean_box(0); +} +x_20 = lean_ctor_get(x_10, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_dec(x_10); +x_22 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +x_24 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_17); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_22); +x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_2); +x_28 = lean_name_mk_string(x_2, x_27); +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +lean_inc(x_17); +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_30); +lean_ctor_set(x_33, 3, x_31); +x_34 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +lean_inc(x_33); +x_35 = lean_array_push(x_34, x_33); +x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +lean_inc(x_17); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_17); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +x_39 = lean_name_mk_string(x_4, x_38); +x_40 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_41 = lean_array_push(x_40, x_33); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +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_array_push(x_34, x_15); +x_45 = lean_array_push(x_44, x_43); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_39); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_48 = lean_array_push(x_47, x_25); +x_49 = lean_array_push(x_48, x_26); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_119; +lean_dec(x_7); +x_119 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_50 = x_119; +goto block_118; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_120 = lean_ctor_get(x_6, 0); +lean_inc(x_120); +lean_dec(x_6); +x_121 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_122 = lean_name_mk_string(x_7, x_121); +x_123 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +lean_inc(x_17); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_17); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_34, x_124); +x_126 = lean_array_push(x_125, x_120); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_122); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_40, x_127); +x_50 = x_128; +goto block_118; +} +block_118: +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_52 = l_Array_append___rarg(x_51, x_50); +lean_dec(x_50); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set(x_53, 1, x_52); +lean_inc(x_53); +x_54 = lean_array_push(x_35, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_28); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_34, x_55); +x_57 = lean_array_push(x_56, x_13); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_42); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_49, x_53); +if (lean_obj_tag(x_5) == 0) +{ +x_60 = x_51; +goto block_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_99 = lean_ctor_get(x_5, 0); +lean_inc(x_99); +lean_dec(x_5); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_101 = lean_name_mk_string(x_2, x_100); +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_17); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_17); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_17); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_17); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_17); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_17); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_17); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_111 = lean_array_push(x_110, x_103); +x_112 = lean_array_push(x_111, x_105); +x_113 = lean_array_push(x_112, x_107); +x_114 = lean_array_push(x_113, x_99); +x_115 = lean_array_push(x_114, x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_101); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_40, x_116); +x_60 = x_117; +goto block_98; +} +block_98: +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = l_Array_append___rarg(x_51, x_60); +lean_dec(x_60); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_42); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_59, x_62); +if (lean_obj_tag(x_9) == 0) +{ +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_dec(x_17); +lean_dec(x_2); +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_65 = lean_array_push(x_63, x_64); +x_66 = lean_array_push(x_65, x_58); +x_67 = lean_array_push(x_66, x_37); +x_68 = lean_array_push(x_67, x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_23); +lean_ctor_set(x_69, 1, x_68); +if (lean_is_scalar(x_19)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_19; +} +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_18); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_71 = lean_ctor_get(x_9, 0); +lean_inc(x_71); +lean_dec(x_9); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_73 = lean_name_mk_string(x_2, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_17); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_17); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_17); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_17); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_17); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_17); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_83 = lean_array_push(x_82, x_75); +x_84 = lean_array_push(x_83, x_77); +x_85 = lean_array_push(x_84, x_79); +x_86 = lean_array_push(x_85, x_71); +x_87 = lean_array_push(x_86, x_81); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_73); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_40, x_88); +x_90 = l_Array_append___rarg(x_51, x_89); +lean_dec(x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_42); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_63, x_91); +x_93 = lean_array_push(x_92, x_58); +x_94 = lean_array_push(x_93, x_37); +x_95 = lean_array_push(x_94, x_46); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_23); +lean_ctor_set(x_96, 1, x_95); +if (lean_is_scalar(x_19)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_19; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_18); +return x_97; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +lean_inc(x_2); +x_22 = lean_name_mk_string(x_2, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNone(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_nullKind; +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_11, x_18); +lean_dec(x_11); +x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_21 = lean_name_mk_string(x_2, x_20); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = l_Lean_Syntax_getArg(x_19, x_10); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); +return x_31; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 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; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_11); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_19 = x_16; +} else { + lean_dec_ref(x_16); + x_19 = lean_box(0); +} +x_20 = lean_ctor_get(x_10, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_dec(x_10); +x_22 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +x_24 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_17); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_22); +x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_2); +x_28 = lean_name_mk_string(x_2, x_27); +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +lean_inc(x_17); +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_17); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_30); +lean_ctor_set(x_33, 3, x_31); +x_34 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +lean_inc(x_33); +x_35 = lean_array_push(x_34, x_33); +x_36 = lean_array_push(x_34, x_13); +x_37 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +lean_inc(x_17); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_17); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +x_40 = lean_name_mk_string(x_4, x_39); +x_41 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_42 = lean_array_push(x_41, x_33); +x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_array_push(x_34, x_15); +x_46 = lean_array_push(x_45, x_44); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_40); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_49 = lean_array_push(x_48, x_25); +x_50 = lean_array_push(x_49, x_26); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_119; +lean_dec(x_7); +x_119 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_51 = x_119; +goto block_118; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_120 = lean_ctor_get(x_6, 0); +lean_inc(x_120); +lean_dec(x_6); +x_121 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_122 = lean_name_mk_string(x_7, x_121); +x_123 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +lean_inc(x_17); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_17); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_34, x_124); +x_126 = lean_array_push(x_125, x_120); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_122); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_41, x_127); +x_51 = x_128; +goto block_118; +} +block_118: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_53 = l_Array_append___rarg(x_52, x_51); +lean_dec(x_51); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_43); +lean_ctor_set(x_54, 1, x_53); +lean_inc(x_54); +x_55 = lean_array_push(x_35, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_28); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_36, x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_43); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_50, x_54); +if (lean_obj_tag(x_5) == 0) +{ +x_60 = x_52; +goto block_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_99 = lean_ctor_get(x_5, 0); +lean_inc(x_99); +lean_dec(x_5); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_101 = lean_name_mk_string(x_2, x_100); +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_17); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_17); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_17); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_17); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_17); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_17); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_17); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_111 = lean_array_push(x_110, x_103); +x_112 = lean_array_push(x_111, x_105); +x_113 = lean_array_push(x_112, x_107); +x_114 = lean_array_push(x_113, x_99); +x_115 = lean_array_push(x_114, x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_101); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_41, x_116); +x_60 = x_117; +goto block_98; +} +block_98: +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = l_Array_append___rarg(x_52, x_60); +lean_dec(x_60); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_43); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_59, x_62); +if (lean_obj_tag(x_9) == 0) +{ +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_dec(x_17); +lean_dec(x_2); +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_65 = lean_array_push(x_63, x_64); +x_66 = lean_array_push(x_65, x_58); +x_67 = lean_array_push(x_66, x_38); +x_68 = lean_array_push(x_67, x_47); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_23); +lean_ctor_set(x_69, 1, x_68); +if (lean_is_scalar(x_19)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_19; +} +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_18); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_71 = lean_ctor_get(x_9, 0); +lean_inc(x_71); +lean_dec(x_9); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_73 = lean_name_mk_string(x_2, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_17); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_17); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_17); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_17); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_17); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_17); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_83 = lean_array_push(x_82, x_75); +x_84 = lean_array_push(x_83, x_77); +x_85 = lean_array_push(x_84, x_79); +x_86 = lean_array_push(x_85, x_71); +x_87 = lean_array_push(x_86, x_81); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_73); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_41, x_88); +x_90 = l_Array_append___rarg(x_52, x_89); +lean_dec(x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_43); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_63, x_91); +x_93 = lean_array_push(x_92, x_58); +x_94 = lean_array_push(x_93, x_38); +x_95 = lean_array_push(x_94, x_47); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_23); +lean_ctor_set(x_96, 1, x_95); +if (lean_is_scalar(x_19)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_19; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_18); +return x_97; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +lean_inc(x_2); +x_22 = lean_name_mk_string(x_2, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNone(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_nullKind; +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_11, x_18); +lean_dec(x_11); +x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_21 = lean_name_mk_string(x_2, x_20); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = l_Lean_Syntax_getArg(x_19, x_10); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); +return x_31; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lhs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___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_Lean_Elab_Command_expandMixfix___lambda__7___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rhs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; +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_Lean_Elab_Command_expandMixfix___lambda__7___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_inc(x_10); +lean_inc(x_2); +x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); +if (lean_obj_tag(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; 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; +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); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_17, x_19); +lean_dec(x_17); +x_21 = l_Nat_repr(x_20); +x_22 = l_Lean_numLitKind; +x_23 = lean_box(2); +x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_18); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_ctor_get(x_10, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_10, 1); +lean_inc(x_30); +lean_dec(x_10); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_3); +x_32 = lean_name_mk_string(x_3, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_26); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_31); +x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_3); +x_37 = lean_name_mk_string(x_3, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +lean_inc(x_29); +lean_inc(x_30); +x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); +x_40 = lean_box(0); +x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +lean_inc(x_26); +x_42 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_42, 0, x_26); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +lean_ctor_set(x_42, 3, x_40); +x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_44 = lean_name_mk_string(x_5, x_43); +x_45 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +lean_inc(x_26); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_26); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_48 = lean_array_push(x_47, x_46); +lean_inc(x_48); +x_49 = lean_array_push(x_48, x_24); +lean_inc(x_44); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_44); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_52 = lean_array_push(x_51, x_50); +x_53 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_47, x_42); +lean_inc(x_55); +x_56 = lean_array_push(x_55, x_54); +lean_inc(x_37); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_37); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; +x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); +x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; +lean_inc(x_26); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_26); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_40); +lean_inc(x_61); +x_62 = lean_array_push(x_47, x_61); +x_63 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; +x_64 = lean_array_push(x_63, x_57); +x_65 = lean_array_push(x_64, x_13); +x_66 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +lean_inc(x_26); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_26); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +x_69 = lean_name_mk_string(x_6, x_68); +x_70 = lean_array_push(x_55, x_61); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_53); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_47, x_15); +x_73 = lean_array_push(x_72, x_71); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_69); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_76 = lean_array_push(x_75, x_34); +x_77 = lean_array_push(x_76, x_35); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_146; +lean_dec(x_48); +lean_dec(x_44); +x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_78 = x_146; +goto block_145; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_2, 0); +lean_inc(x_147); +lean_dec(x_2); +x_148 = lean_array_push(x_48, x_147); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_44); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_array_push(x_51, x_149); +x_78 = x_150; +goto block_145; +} +block_145: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_79 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_80 = l_Array_append___rarg(x_79, x_78); +lean_dec(x_78); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_53); +lean_ctor_set(x_81, 1, x_80); +lean_inc(x_81); +x_82 = lean_array_push(x_62, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_37); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_65, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_53); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_77, x_81); +if (lean_obj_tag(x_7) == 0) +{ +x_87 = x_79; +goto block_125; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_126 = lean_ctor_get(x_7, 0); +lean_inc(x_126); +lean_dec(x_7); +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_3); +x_128 = lean_name_mk_string(x_3, x_127); +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_26); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_26); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_26); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_26); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_26); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_26); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_138 = lean_array_push(x_137, x_130); +x_139 = lean_array_push(x_138, x_132); +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_126); +x_142 = lean_array_push(x_141, x_136); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_51, x_143); +x_87 = x_144; +goto block_125; +} +block_125: +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = l_Array_append___rarg(x_79, x_87); +lean_dec(x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_53); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_86, x_89); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_26); +lean_dec(x_3); +x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_92 = lean_array_push(x_90, x_91); +x_93 = lean_array_push(x_92, x_85); +x_94 = lean_array_push(x_93, x_67); +x_95 = lean_array_push(x_94, x_74); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_32); +lean_ctor_set(x_96, 1, x_95); +if (lean_is_scalar(x_28)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_28; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_27); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_98 = lean_ctor_get(x_9, 0); +lean_inc(x_98); +lean_dec(x_9); +x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_100 = lean_name_mk_string(x_3, x_99); +x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_26); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_26); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_26); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_26); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_26); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_110 = lean_array_push(x_109, x_102); +x_111 = lean_array_push(x_110, x_104); +x_112 = lean_array_push(x_111, x_106); +x_113 = lean_array_push(x_112, x_98); +x_114 = lean_array_push(x_113, x_108); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_100); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_51, x_115); +x_117 = l_Array_append___rarg(x_79, x_116); +lean_dec(x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_53); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_90, x_118); +x_120 = lean_array_push(x_119, x_85); +x_121 = lean_array_push(x_120, x_67); +x_122 = lean_array_push(x_121, x_74); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_32); +lean_ctor_set(x_123, 1, x_122); +if (lean_is_scalar(x_28)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_28; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_27); +return x_124; +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +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_151 = !lean_is_exclusive(x_16); +if (x_151 == 0) +{ +return x_16; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_16, 0); +x_153 = lean_ctor_get(x_16, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_16); +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_Lean_Elab_Command_expandMixfix___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +lean_inc(x_3); +x_22 = lean_name_mk_string(x_3, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNone(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_nullKind; +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_11, x_18); +lean_dec(x_11); +x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_21 = lean_name_mk_string(x_2, x_20); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = l_Lean_Syntax_getArg(x_19, x_10); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); +return x_31; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_inc(x_10); +lean_inc(x_2); +x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); +if (lean_obj_tag(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; 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; +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); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_17, x_19); +lean_dec(x_17); +x_21 = l_Nat_repr(x_20); +x_22 = l_Lean_numLitKind; +x_23 = lean_box(2); +x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_18); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_ctor_get(x_10, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_10, 1); +lean_inc(x_30); +lean_dec(x_10); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_3); +x_32 = lean_name_mk_string(x_3, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_26); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_31); +x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_3); +x_37 = lean_name_mk_string(x_3, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +lean_inc(x_29); +lean_inc(x_30); +x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); +x_40 = lean_box(0); +x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +lean_inc(x_26); +x_42 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_42, 0, x_26); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +lean_ctor_set(x_42, 3, x_40); +x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_44 = lean_name_mk_string(x_5, x_43); +x_45 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +lean_inc(x_26); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_26); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_48 = lean_array_push(x_47, x_46); +lean_inc(x_48); +x_49 = lean_array_push(x_48, x_24); +lean_inc(x_44); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_44); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_52 = lean_array_push(x_51, x_50); +x_53 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_47, x_42); +lean_inc(x_54); +lean_inc(x_55); +x_56 = lean_array_push(x_55, x_54); +lean_inc(x_37); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_37); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; +x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); +x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; +lean_inc(x_26); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_26); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_40); +lean_inc(x_61); +x_62 = lean_array_push(x_47, x_61); +x_63 = lean_array_push(x_62, x_54); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_37); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; +x_66 = lean_array_push(x_65, x_57); +x_67 = lean_array_push(x_66, x_13); +x_68 = lean_array_push(x_67, x_64); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_53); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +lean_inc(x_26); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_26); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +x_73 = lean_name_mk_string(x_6, x_72); +x_74 = lean_array_push(x_55, x_61); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_53); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_push(x_47, x_15); +x_77 = lean_array_push(x_76, x_75); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_73); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_80 = lean_array_push(x_79, x_34); +x_81 = lean_array_push(x_80, x_35); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_146; +lean_dec(x_48); +lean_dec(x_44); +x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_82 = x_146; +goto block_145; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_2, 0); +lean_inc(x_147); +lean_dec(x_2); +x_148 = lean_array_push(x_48, x_147); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_44); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_array_push(x_51, x_149); +x_82 = x_150; +goto block_145; +} +block_145: +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_84 = l_Array_append___rarg(x_83, x_82); +lean_dec(x_82); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_53); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_81, x_85); +if (lean_obj_tag(x_7) == 0) +{ +x_87 = x_83; +goto block_125; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_126 = lean_ctor_get(x_7, 0); +lean_inc(x_126); +lean_dec(x_7); +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_3); +x_128 = lean_name_mk_string(x_3, x_127); +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_26); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_26); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_26); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_26); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_26); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_26); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_138 = lean_array_push(x_137, x_130); +x_139 = lean_array_push(x_138, x_132); +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_126); +x_142 = lean_array_push(x_141, x_136); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_51, x_143); +x_87 = x_144; +goto block_125; +} +block_125: +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = l_Array_append___rarg(x_83, x_87); +lean_dec(x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_53); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_86, x_89); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_26); +lean_dec(x_3); +x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_92 = lean_array_push(x_90, x_91); +x_93 = lean_array_push(x_92, x_69); +x_94 = lean_array_push(x_93, x_71); +x_95 = lean_array_push(x_94, x_78); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_32); +lean_ctor_set(x_96, 1, x_95); +if (lean_is_scalar(x_28)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_28; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_27); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_98 = lean_ctor_get(x_9, 0); +lean_inc(x_98); +lean_dec(x_9); +x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_100 = lean_name_mk_string(x_3, x_99); +x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_26); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_26); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_26); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_26); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_26); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_110 = lean_array_push(x_109, x_102); +x_111 = lean_array_push(x_110, x_104); +x_112 = lean_array_push(x_111, x_106); +x_113 = lean_array_push(x_112, x_98); +x_114 = lean_array_push(x_113, x_108); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_100); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_51, x_115); +x_117 = l_Array_append___rarg(x_83, x_116); +lean_dec(x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_53); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_90, x_118); +x_120 = lean_array_push(x_119, x_69); +x_121 = lean_array_push(x_120, x_71); +x_122 = lean_array_push(x_121, x_78); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_32); +lean_ctor_set(x_123, 1, x_122); +if (lean_is_scalar(x_28)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_28; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_27); +return x_124; +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +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_151 = !lean_is_exclusive(x_16); +if (x_151 == 0) +{ +return x_16; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_16, 0); +x_153 = lean_ctor_get(x_16, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_16); +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_Lean_Elab_Command_expandMixfix___lambda__11(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_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +lean_inc(x_3); +x_22 = lean_name_mk_string(x_3, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(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; uint8_t x_12; +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNone(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_nullKind; +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_11, x_18); +lean_dec(x_11); +x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_21 = lean_name_mk_string(x_2, x_20); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = l_Lean_Syntax_getArg(x_19, x_10); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); +return x_31; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_inc(x_10); +lean_inc(x_2); +x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); +if (lean_obj_tag(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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_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); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_17, x_19); +lean_dec(x_17); +x_21 = l_Nat_repr(x_20); +x_22 = l_Lean_numLitKind; +x_23 = lean_box(2); +x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_18); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_ctor_get(x_10, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_10, 1); +lean_inc(x_30); +lean_dec(x_10); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_3); +x_32 = lean_name_mk_string(x_3, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_26); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_31); +x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_3); +x_37 = lean_name_mk_string(x_3, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +lean_inc(x_29); +lean_inc(x_30); +x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); +x_40 = lean_box(0); +x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +lean_inc(x_26); +x_42 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_42, 0, x_26); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +lean_ctor_set(x_42, 3, x_40); +x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_44 = lean_array_push(x_43, x_42); +x_45 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; +x_46 = l_Lean_addMacroScope(x_30, x_45, x_29); +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; +lean_inc(x_26); +x_48 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_48, 0, x_26); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +lean_ctor_set(x_48, 3, x_40); +x_49 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_50 = lean_name_mk_string(x_5, x_49); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +lean_inc(x_26); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_26); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_push(x_43, x_52); +lean_inc(x_53); +x_54 = lean_array_push(x_53, x_24); +lean_inc(x_50); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_50); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_57 = lean_array_push(x_56, x_55); +x_58 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +lean_inc(x_48); +x_60 = lean_array_push(x_43, x_48); +x_61 = lean_array_push(x_60, x_59); +lean_inc(x_37); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_37); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +lean_inc(x_26); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_26); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +x_66 = lean_name_mk_string(x_6, x_65); +lean_inc(x_44); +x_67 = lean_array_push(x_44, x_48); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_array_push(x_43, x_15); +x_70 = lean_array_push(x_69, x_68); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_73 = lean_array_push(x_72, x_34); +x_74 = lean_array_push(x_73, x_35); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_146; +lean_dec(x_53); +lean_dec(x_50); +x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_75 = x_146; +goto block_145; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_2, 0); +lean_inc(x_147); +lean_dec(x_2); +x_148 = lean_array_push(x_53, x_147); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_50); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_array_push(x_56, x_149); +x_75 = x_150; +goto block_145; +} +block_145: +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_77 = l_Array_append___rarg(x_76, x_75); +lean_dec(x_75); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_58); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_78); +x_79 = lean_array_push(x_44, x_78); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_37); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; +x_82 = lean_array_push(x_81, x_80); +x_83 = lean_array_push(x_82, x_13); +x_84 = lean_array_push(x_83, x_62); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_58); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_74, x_78); +if (lean_obj_tag(x_7) == 0) +{ +x_87 = x_76; +goto block_125; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_126 = lean_ctor_get(x_7, 0); +lean_inc(x_126); +lean_dec(x_7); +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_3); +x_128 = lean_name_mk_string(x_3, x_127); +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_26); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_26); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_26); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_26); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_26); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_26); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_138 = lean_array_push(x_137, x_130); +x_139 = lean_array_push(x_138, x_132); +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_126); +x_142 = lean_array_push(x_141, x_136); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_56, x_143); +x_87 = x_144; +goto block_125; +} +block_125: +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = l_Array_append___rarg(x_76, x_87); +lean_dec(x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_58); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_86, x_89); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_26); +lean_dec(x_3); +x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_92 = lean_array_push(x_90, x_91); +x_93 = lean_array_push(x_92, x_85); +x_94 = lean_array_push(x_93, x_64); +x_95 = lean_array_push(x_94, x_71); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_32); +lean_ctor_set(x_96, 1, x_95); +if (lean_is_scalar(x_28)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_28; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_27); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_98 = lean_ctor_get(x_9, 0); +lean_inc(x_98); +lean_dec(x_9); +x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_100 = lean_name_mk_string(x_3, x_99); +x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_26); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_26); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_26); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_26); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_26); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_26); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_110 = lean_array_push(x_109, x_102); +x_111 = lean_array_push(x_110, x_104); +x_112 = lean_array_push(x_111, x_106); +x_113 = lean_array_push(x_112, x_98); +x_114 = lean_array_push(x_113, x_108); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_100); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_56, x_115); +x_117 = l_Array_append___rarg(x_76, x_116); +lean_dec(x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_58); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_90, x_118); +x_120 = lean_array_push(x_119, x_85); +x_121 = lean_array_push(x_120, x_64); +x_122 = lean_array_push(x_121, x_71); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_32); +lean_ctor_set(x_123, 1, x_122); +if (lean_is_scalar(x_28)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_28; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_27); +return x_124; +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +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_151 = !lean_is_exclusive(x_16); +if (x_151 == 0) +{ +return x_16; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_16, 0); +x_153 = lean_ctor_get(x_16, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_16); +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_Lean_Elab_Command_expandMixfix___lambda__14(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_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +lean_inc(x_3); +x_22 = lean_name_mk_string(x_3, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(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; uint8_t x_12; +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_isNone(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_nullKind; +x_14 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_11, x_18); +lean_dec(x_11); +x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_inc(x_2); +x_21 = lean_name_mk_string(x_2, x_20); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = l_Lean_Syntax_getArg(x_19, x_10); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); +return x_31; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mixfix"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("infixl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("infix"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("infixr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("prefix"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("postfix"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(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_Elab_Command_expandMixfix___lambda__16___closed__8; +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 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +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; uint8_t x_16; +x_14 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_15 = l_Lean_nullKind; +x_16 = l_Lean_Syntax_isNodeOf(x_14, x_15, x_8); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14; +lean_inc(x_20); +x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16; +lean_inc(x_20); +x_24 = l_Lean_Syntax_isOfKind(x_20, x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18; +lean_inc(x_20); +x_26 = l_Lean_Syntax_isOfKind(x_20, x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20; +lean_inc(x_20); +x_28 = l_Lean_Syntax_isOfKind(x_20, x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22; +x_30 = l_Lean_Syntax_isOfKind(x_20, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_2); +lean_dec(x_1); +x_31 = lean_box(1); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_33 = lean_unsigned_to_nat(2u); +x_34 = l_Lean_Syntax_getArg(x_1, x_33); +x_35 = l_Lean_Syntax_isNone(x_34); +if (x_35 == 0) +{ +uint8_t x_36; +lean_inc(x_34); +x_36 = l_Lean_Syntax_isNodeOf(x_34, x_15, x_19); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_34); +lean_dec(x_2); +lean_dec(x_1); +x_37 = lean_box(1); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_3); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = l_Lean_Syntax_getArg(x_34, x_8); +lean_dec(x_34); +x_40 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_inc(x_39); +x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_39); +lean_dec(x_2); +lean_dec(x_1); +x_42 = lean_box(1); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_3); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_44 = l_Lean_Syntax_getArg(x_39, x_19); +lean_dec(x_39); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_48 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_49 = lean_box(0); +x_50 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_46, x_10, x_47, x_48, x_49, x_45, x_2, x_3); +lean_dec(x_1); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_34); +x_51 = lean_box(0); +x_52 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_53 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_54 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_55 = lean_box(0); +x_56 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_52, x_10, x_53, x_54, x_55, x_51, x_2, x_3); +lean_dec(x_1); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_20); +x_57 = lean_unsigned_to_nat(2u); +x_58 = l_Lean_Syntax_getArg(x_1, x_57); +x_59 = l_Lean_Syntax_isNone(x_58); +if (x_59 == 0) +{ +uint8_t x_60; +lean_inc(x_58); +x_60 = l_Lean_Syntax_isNodeOf(x_58, x_15, x_19); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_58); +lean_dec(x_2); +lean_dec(x_1); +x_61 = lean_box(1); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_3); +return x_62; +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = l_Lean_Syntax_getArg(x_58, x_8); +lean_dec(x_58); +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_inc(x_63); +x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_63); +lean_dec(x_2); +lean_dec(x_1); +x_66 = lean_box(1); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_3); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_68 = l_Lean_Syntax_getArg(x_63, x_19); +lean_dec(x_63); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_71 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_73 = lean_box(0); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_70, x_10, x_71, x_72, x_73, x_69, x_2, x_3); +lean_dec(x_1); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_58); +x_75 = lean_box(0); +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_77 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_78 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_79 = lean_box(0); +x_80 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_76, x_10, x_77, x_78, x_79, x_75, x_2, x_3); +lean_dec(x_1); +return x_80; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; +lean_dec(x_20); +x_81 = lean_unsigned_to_nat(2u); +x_82 = l_Lean_Syntax_getArg(x_1, x_81); +x_83 = l_Lean_Syntax_isNone(x_82); +if (x_83 == 0) +{ +uint8_t x_84; +lean_inc(x_82); +x_84 = l_Lean_Syntax_isNodeOf(x_82, x_15, x_19); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_82); +lean_dec(x_2); +lean_dec(x_1); +x_85 = lean_box(1); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_3); +return x_86; +} +else +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = l_Lean_Syntax_getArg(x_82, x_8); +lean_dec(x_82); +x_88 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_inc(x_87); +x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_87); +lean_dec(x_2); +lean_dec(x_1); +x_90 = lean_box(1); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_3); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_92 = l_Lean_Syntax_getArg(x_87, x_19); +lean_dec(x_87); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_94 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_95 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_96 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_97 = lean_box(0); +x_98 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_94, x_10, x_95, x_96, x_97, x_93, x_2, x_3); +lean_dec(x_1); +return x_98; +} +} +} +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_dec(x_82); +x_99 = lean_box(0); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_101 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_103 = lean_box(0); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_100, x_10, x_101, x_102, x_103, x_99, x_2, x_3); +lean_dec(x_1); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_dec(x_20); +x_105 = lean_unsigned_to_nat(2u); +x_106 = l_Lean_Syntax_getArg(x_1, x_105); +x_107 = l_Lean_Syntax_isNone(x_106); +if (x_107 == 0) +{ +uint8_t x_108; +lean_inc(x_106); +x_108 = l_Lean_Syntax_isNodeOf(x_106, x_15, x_19); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_106); +lean_dec(x_2); +lean_dec(x_1); +x_109 = lean_box(1); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Lean_Syntax_getArg(x_106, x_8); +lean_dec(x_106); +x_112 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_inc(x_111); +x_113 = l_Lean_Syntax_isOfKind(x_111, x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_111); +lean_dec(x_2); +lean_dec(x_1); +x_114 = lean_box(1); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_3); +return x_115; +} +else +{ +lean_object* x_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 = l_Lean_Syntax_getArg(x_111, x_19); +lean_dec(x_111); +x_117 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_117, 0, x_116); +x_118 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_119 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_120 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_121 = lean_box(0); +x_122 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_118, x_10, x_119, x_120, x_121, x_117, x_2, x_3); +lean_dec(x_1); +return x_122; +} +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_106); +x_123 = lean_box(0); +x_124 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_125 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_126 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_127 = lean_box(0); +x_128 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_124, x_10, x_125, x_126, x_127, x_123, x_2, x_3); +lean_dec(x_1); +return x_128; +} +} +} +else +{ +lean_object* x_129; lean_object* x_130; uint8_t x_131; +lean_dec(x_20); +x_129 = lean_unsigned_to_nat(2u); +x_130 = l_Lean_Syntax_getArg(x_1, x_129); +x_131 = l_Lean_Syntax_isNone(x_130); +if (x_131 == 0) +{ +uint8_t x_132; +lean_inc(x_130); +x_132 = l_Lean_Syntax_isNodeOf(x_130, x_15, x_19); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_130); +lean_dec(x_2); +lean_dec(x_1); +x_133 = lean_box(1); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_3); +return x_134; +} +else +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_135 = l_Lean_Syntax_getArg(x_130, x_8); +lean_dec(x_130); +x_136 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_inc(x_135); +x_137 = l_Lean_Syntax_isOfKind(x_135, x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_135); +lean_dec(x_2); +lean_dec(x_1); +x_138 = lean_box(1); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_3); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_140 = l_Lean_Syntax_getArg(x_135, x_19); +lean_dec(x_135); +x_141 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_141, 0, x_140); +x_142 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_143 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_144 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_145 = lean_box(0); +x_146 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_142, x_10, x_143, x_144, x_145, x_141, x_2, x_3); +lean_dec(x_1); +return x_146; +} +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_130); +x_147 = lean_box(0); +x_148 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +x_149 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_150 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +x_151 = lean_box(0); +x_152 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_148, x_10, x_149, x_150, x_151, x_147, x_2, x_3); +lean_dec(x_1); +return x_152; +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix___lambda__16), 3, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Command_expandMixfix___closed__1; +x_5 = l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(x_1, x_4, x_2, x_3); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___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_Lean_Elab_Command_expandMixfix___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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__4(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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__10(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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___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_Command_expandMixfix___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__13(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_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___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_Command_expandMixfix___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expandMixfix"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; +x_4 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5; +x_5 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Attributes(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Mixfix(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Attributes(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8); +l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23); +l_Lean_Elab_Command_expandMixfix___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___closed__1); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5); +l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6); +res = l___regBuiltin_Lean_Elab_Command_expandMixfix(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 2feb6110d8..d3b33b6450 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -19,8 +19,8 @@ lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___sp static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__9; lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(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* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); @@ -52,6 +52,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,6 +173,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spe static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__5; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__6; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__13; @@ -207,7 +209,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___boxed lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap___rarg(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); 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*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__4; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls(lean_object*); @@ -325,6 +326,7 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclA lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*); @@ -424,7 +426,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor_match__1(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__1___boxed(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___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1; @@ -495,9 +496,9 @@ lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object* static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__3; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_match__2(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__5; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); size_t lean_ptr_addr(lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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_Elab_Term_MutualClosure_Replacement_apply_match__1(lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -519,10 +520,10 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pic static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__1; lean_object* l_Lean_mkHole(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_match__1(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -539,6 +540,7 @@ lean_object* l_List_foldl___at_Lean_Elab_Term_MutualClosure_insertReplacementFor static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample___boxed(lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___closed__7; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); @@ -5798,7 +5800,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E _start: { lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_7 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_5, x_6); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) { @@ -5912,7 +5914,7 @@ 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; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_7, x_8); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_7, x_8); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -5931,7 +5933,7 @@ x_20 = lean_name_mk_string(x_1, x_19); x_21 = lean_usize_of_nat(x_9); lean_dec(x_9); x_22 = x_3; -x_23 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_21, x_4, x_22); +x_23 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_21, x_4, x_22); x_24 = x_23; x_25 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; x_26 = l_Array_append___rarg(x_25, x_24); @@ -6041,7 +6043,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean x_17 = lean_ctor_get(x_7, 0); lean_inc(x_17); lean_dec(x_7); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_8, x_9); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_8, x_9); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -6136,7 +6138,7 @@ lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean x_59 = lean_ctor_get(x_7, 0); lean_inc(x_59); lean_dec(x_7); -x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_56, x_9); +x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_56, x_9); x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); x_62 = lean_ctor_get(x_60, 1); @@ -6299,7 +6301,7 @@ x_34 = l_Lean_Syntax_getArg(x_22, x_33); x_35 = l_Lean_Syntax_getArgs(x_34); lean_dec(x_34); x_36 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__3; -x_37 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_35, x_36); +x_37 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_35, x_36); lean_dec(x_35); if (lean_obj_tag(x_37) == 0) { @@ -6859,7 +6861,7 @@ lean_dec(x_1); x_10 = l_Lean_Syntax_getArgs(x_9); lean_dec(x_9); x_11 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__5; -x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_10, x_11); +x_12 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_10, x_11); lean_dec(x_10); if (lean_obj_tag(x_12) == 0) { @@ -6925,7 +6927,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_38); +x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_38); lean_dec(x_2); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) @@ -8263,7 +8265,7 @@ x_19 = lean_ctor_get(x_15, 1); lean_inc(x_19); lean_dec(x_15); x_20 = lean_apply_1(x_5, x_19); -x_21 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_17, x_18, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_21 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_17, x_18, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_16); return x_21; } else @@ -11877,6 +11879,623 @@ lean_ctor_set(x_13, 1, x_9); return x_13; } } +lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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; +x_12 = l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__1(x_1, x_2); +lean_inc(x_7); +lean_inc(x_2); +x_13 = l_Lean_Meta_getLocalDecl(x_2, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 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_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 3); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_14, sizeof(void*)*4); +lean_dec(x_14); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_12, x_2, x_16, x_17, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) +{ +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 0); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_13, 1); +lean_inc(x_27); +lean_dec(x_13); +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) +{ +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; uint8_t x_37; +x_29 = lean_ctor_get(x_14, 2); +x_30 = lean_ctor_get(x_14, 3); +x_31 = lean_ctor_get(x_14, 4); +x_32 = lean_ctor_get(x_14, 1); +lean_dec(x_32); +x_33 = lean_ctor_get(x_14, 0); +lean_dec(x_33); +x_34 = l_Lean_Meta_getZetaFVarIds___rarg(x_8, x_9, x_10, x_27); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_NameSet_contains(x_35, x_2); +lean_dec(x_35); +if (x_37 == 0) +{ +uint8_t x_38; lean_object* x_39; +lean_free_object(x_14); +lean_dec(x_31); +x_38 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_39 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_12, x_2, x_29, x_30, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +return x_42; +} +else +{ +uint8_t x_43; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +return x_39; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +lean_object* x_47; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_47 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_50 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_st_ref_get(x_10, x_52); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_st_ref_take(x_4, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = !lean_is_exclusive(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; size_t 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; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_ctor_get(x_56, 1); +x_61 = lean_ctor_get(x_56, 2); +x_62 = lean_array_get_size(x_59); +x_63 = lean_usize_of_nat(x_62); +lean_dec(x_62); +x_64 = 0; +x_65 = x_59; +lean_inc(x_2); +x_66 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_2, x_51, x_63, x_64, x_65); +x_67 = x_66; +x_68 = lean_array_get_size(x_60); +x_69 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_70 = x_60; +lean_inc(x_2); +x_71 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_2, x_51, x_69, x_64, x_70); +x_72 = x_71; +x_73 = lean_unsigned_to_nat(0u); +x_74 = 0; +lean_inc(x_51); +lean_inc(x_48); +lean_ctor_set(x_14, 4, x_51); +lean_ctor_set(x_14, 3, x_48); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 0, x_73); +lean_ctor_set_uint8(x_14, sizeof(void*)*5, x_74); +x_75 = lean_array_push(x_61, x_14); +lean_ctor_set(x_56, 2, x_75); +lean_ctor_set(x_56, 1, x_72); +lean_ctor_set(x_56, 0, x_67); +x_76 = lean_st_ref_set(x_4, x_56, x_57); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; +x_79 = l_Lean_CollectFVars_main(x_48, x_78); +x_80 = l_Lean_CollectFVars_main(x_51, x_79); +x_81 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_80); +x_82 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_81, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_77); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t 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; +x_83 = lean_ctor_get(x_56, 0); +x_84 = lean_ctor_get(x_56, 1); +x_85 = lean_ctor_get(x_56, 2); +x_86 = lean_ctor_get(x_56, 3); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_56); +x_87 = lean_array_get_size(x_83); +x_88 = lean_usize_of_nat(x_87); +lean_dec(x_87); +x_89 = 0; +x_90 = x_83; +lean_inc(x_2); +x_91 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_2, x_51, x_88, x_89, x_90); +x_92 = x_91; +x_93 = lean_array_get_size(x_84); +x_94 = lean_usize_of_nat(x_93); +lean_dec(x_93); +x_95 = x_84; +lean_inc(x_2); +x_96 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_2, x_51, x_94, x_89, x_95); +x_97 = x_96; +x_98 = lean_unsigned_to_nat(0u); +x_99 = 0; +lean_inc(x_51); +lean_inc(x_48); +lean_ctor_set(x_14, 4, x_51); +lean_ctor_set(x_14, 3, x_48); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 0, x_98); +lean_ctor_set_uint8(x_14, sizeof(void*)*5, x_99); +x_100 = lean_array_push(x_85, x_14); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_101, 1, x_97); +lean_ctor_set(x_101, 2, x_100); +lean_ctor_set(x_101, 3, x_86); +x_102 = lean_st_ref_set(x_4, x_101, x_57); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_104 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; +x_105 = l_Lean_CollectFVars_main(x_48, x_104); +x_106 = l_Lean_CollectFVars_main(x_51, x_105); +x_107 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_106); +x_108 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_107, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_103); +return x_108; +} +} +else +{ +uint8_t x_109; +lean_dec(x_48); +lean_free_object(x_14); +lean_dec(x_29); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_109 = !lean_is_exclusive(x_50); +if (x_109 == 0) +{ +return x_50; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_50, 0); +x_111 = lean_ctor_get(x_50, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_50); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +else +{ +uint8_t x_113; +lean_free_object(x_14); +lean_dec(x_31); +lean_dec(x_29); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_113 = !lean_is_exclusive(x_47); +if (x_113 == 0) +{ +return x_47; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_47, 0); +x_115 = lean_ctor_get(x_47, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_47); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +} +else +{ +lean_object* x_117; 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_117 = lean_ctor_get(x_14, 2); +x_118 = lean_ctor_get(x_14, 3); +x_119 = lean_ctor_get(x_14, 4); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_14); +x_120 = l_Lean_Meta_getZetaFVarIds___rarg(x_8, x_9, x_10, x_27); +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 = l_Lean_NameSet_contains(x_121, x_2); +lean_dec(x_121); +if (x_123 == 0) +{ +uint8_t x_124; lean_object* x_125; +lean_dec(x_119); +x_124 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_125 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_12, x_2, x_117, x_118, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_122); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_126, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_127); +return x_128; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_129 = lean_ctor_get(x_125, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_125, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_131 = x_125; +} else { + lean_dec_ref(x_125); + 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_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_133 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_118, x_5, x_6, x_7, x_8, x_9, x_10, x_122); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_136 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_135); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; size_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = lean_st_ref_get(x_10, x_138); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_141 = lean_st_ref_take(x_4, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = lean_ctor_get(x_142, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_142, 1); +lean_inc(x_145); +x_146 = lean_ctor_get(x_142, 2); +lean_inc(x_146); +x_147 = lean_ctor_get(x_142, 3); +lean_inc(x_147); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + lean_ctor_release(x_142, 2); + lean_ctor_release(x_142, 3); + x_148 = x_142; +} else { + lean_dec_ref(x_142); + x_148 = lean_box(0); +} +x_149 = lean_array_get_size(x_144); +x_150 = lean_usize_of_nat(x_149); +lean_dec(x_149); +x_151 = 0; +x_152 = x_144; +lean_inc(x_2); +x_153 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_2, x_137, x_150, x_151, x_152); +x_154 = x_153; +x_155 = lean_array_get_size(x_145); +x_156 = lean_usize_of_nat(x_155); +lean_dec(x_155); +x_157 = x_145; +lean_inc(x_2); +x_158 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_2, x_137, x_156, x_151, x_157); +x_159 = x_158; +x_160 = lean_unsigned_to_nat(0u); +x_161 = 0; +lean_inc(x_137); +lean_inc(x_134); +x_162 = lean_alloc_ctor(1, 5, 1); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_2); +lean_ctor_set(x_162, 2, x_117); +lean_ctor_set(x_162, 3, x_134); +lean_ctor_set(x_162, 4, x_137); +lean_ctor_set_uint8(x_162, sizeof(void*)*5, x_161); +x_163 = lean_array_push(x_146, x_162); +if (lean_is_scalar(x_148)) { + x_164 = lean_alloc_ctor(0, 4, 0); +} else { + x_164 = x_148; +} +lean_ctor_set(x_164, 0, x_154); +lean_ctor_set(x_164, 1, x_159); +lean_ctor_set(x_164, 2, x_163); +lean_ctor_set(x_164, 3, x_147); +x_165 = lean_st_ref_set(x_4, x_164, x_143); +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; +x_168 = l_Lean_CollectFVars_main(x_134, x_167); +x_169 = l_Lean_CollectFVars_main(x_137, x_168); +x_170 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_169); +x_171 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(x_170, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_166); +return x_171; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_134); +lean_dec(x_117); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_172 = lean_ctor_get(x_136, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_136, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_174 = x_136; +} else { + lean_dec_ref(x_136); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); +} else { + x_175 = x_174; +} +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +return x_175; +} +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_119); +lean_dec(x_117); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_176 = lean_ctor_get(x_133, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_133, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + x_178 = x_133; +} else { + lean_dec_ref(x_133); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +} +} +} +else +{ +uint8_t x_180; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_180 = !lean_is_exclusive(x_13); +if (x_180 == 0) +{ +return x_13; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_13, 0); +x_182 = lean_ctor_get(x_13, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_13); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1() { _start: { @@ -11988,717 +12607,100 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; uint8_t x_189; lean_object* x_190; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; x_14 = lean_ctor_get(x_11, 0); lean_inc(x_14); lean_dec(x_11); -x_213 = lean_st_ref_get(x_8, x_9); -x_214 = lean_ctor_get(x_213, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_214, 3); -lean_inc(x_215); -lean_dec(x_214); -x_216 = lean_ctor_get_uint8(x_215, sizeof(void*)*1); -lean_dec(x_215); -if (x_216 == 0) +x_15 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__6; +x_43 = lean_st_ref_get(x_8, x_9); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) { -lean_object* x_217; uint8_t x_218; -x_217 = lean_ctor_get(x_213, 1); -lean_inc(x_217); -lean_dec(x_213); -x_218 = 0; -x_189 = x_218; -x_190 = x_217; -goto block_212; +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_16 = x_48; +x_17 = x_47; +goto block_42; } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -x_219 = lean_ctor_get(x_213, 1); -lean_inc(x_219); -lean_dec(x_213); -x_220 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__6; -x_221 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5(x_220, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_219); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = lean_unbox(x_222); -lean_dec(x_222); -x_189 = x_224; -x_190 = x_223; -goto block_212; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_16 = x_53; +x_17 = x_52; +goto block_42; } -block_188: +block_42: { -lean_object* x_16; lean_object* x_17; -x_16 = l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__1(x_1, x_14); -lean_inc(x_5); +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___lambda__1(x_1, x_14, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +return x_19; +} +else +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_20 = lean_array_get_size(x_1); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +lean_inc(x_1); +x_23 = x_1; +x_24 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_21, x_22, x_23); +x_25 = x_24; +x_26 = lean_array_to_list(lean_box(0), x_25); +x_27 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26); +x_28 = l_Lean_MessageData_ofList(x_27); +lean_dec(x_27); +x_29 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__8; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__10; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); lean_inc(x_14); -x_17 = l_Lean_Meta_getLocalDecl(x_14, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 3); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_18, sizeof(void*)*4); -lean_dec(x_18); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_23 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_16, x_14, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -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_1 = x_24; -x_9 = x_25; -goto _start; -} -else -{ -uint8_t x_27; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_27 = !lean_is_exclusive(x_23); -if (x_27 == 0) -{ -return x_23; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_23, 0); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_17, 1); -lean_inc(x_31); -lean_dec(x_17); -x_32 = !lean_is_exclusive(x_18); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_33 = lean_ctor_get(x_18, 2); -x_34 = lean_ctor_get(x_18, 3); -x_35 = lean_ctor_get(x_18, 4); -x_36 = lean_ctor_get(x_18, 1); -lean_dec(x_36); -x_37 = lean_ctor_get(x_18, 0); -lean_dec(x_37); -x_38 = l_Lean_Meta_getZetaFVarIds___rarg(x_6, x_7, x_8, x_31); +x_33 = l_Lean_mkFVar(x_14); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4(x_15, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); -x_41 = l_Lean_NameSet_contains(x_39, x_14); +x_41 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___lambda__1(x_1, x_14, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); lean_dec(x_39); -if (x_41 == 0) -{ -uint8_t x_42; lean_object* x_43; -lean_free_object(x_18); -lean_dec(x_35); -x_42 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_43 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_16, x_14, x_33, x_34, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_1 = x_44; -x_9 = x_45; -goto _start; -} -else -{ -uint8_t x_47; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) -{ -return x_43; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_43, 0); -x_49 = lean_ctor_get(x_43, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_43); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -else -{ -lean_object* x_51; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_51 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_54 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_53); -if (lean_obj_tag(x_54) == 0) -{ -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; uint8_t x_62; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_st_ref_get(x_8, x_56); -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) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t 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_63 = lean_ctor_get(x_60, 0); -x_64 = lean_ctor_get(x_60, 1); -x_65 = lean_ctor_get(x_60, 2); -x_66 = lean_array_get_size(x_63); -x_67 = lean_usize_of_nat(x_66); -lean_dec(x_66); -x_68 = 0; -x_69 = x_63; -lean_inc(x_14); -x_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_14, x_55, x_67, x_68, x_69); -x_71 = x_70; -x_72 = lean_array_get_size(x_64); -x_73 = lean_usize_of_nat(x_72); -lean_dec(x_72); -x_74 = x_64; -lean_inc(x_14); -x_75 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_14, x_55, x_73, x_68, x_74); -x_76 = x_75; -x_77 = lean_unsigned_to_nat(0u); -x_78 = 0; -lean_inc(x_55); -lean_inc(x_52); -lean_ctor_set(x_18, 4, x_55); -lean_ctor_set(x_18, 3, x_52); -lean_ctor_set(x_18, 1, x_14); -lean_ctor_set(x_18, 0, x_77); -lean_ctor_set_uint8(x_18, sizeof(void*)*5, x_78); -x_79 = lean_array_push(x_65, x_18); -lean_ctor_set(x_60, 2, x_79); -lean_ctor_set(x_60, 1, x_76); -lean_ctor_set(x_60, 0, x_71); -x_80 = lean_st_ref_set(x_2, x_60, x_61); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; -x_83 = l_Lean_CollectFVars_main(x_52, x_82); -x_84 = l_Lean_CollectFVars_main(x_55, x_83); -x_85 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_16, x_84); -x_1 = x_85; -x_9 = x_81; -goto _start; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; size_t x_92; size_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; size_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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_87 = lean_ctor_get(x_60, 0); -x_88 = lean_ctor_get(x_60, 1); -x_89 = lean_ctor_get(x_60, 2); -x_90 = lean_ctor_get(x_60, 3); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_60); -x_91 = lean_array_get_size(x_87); -x_92 = lean_usize_of_nat(x_91); -lean_dec(x_91); -x_93 = 0; -x_94 = x_87; -lean_inc(x_14); -x_95 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_14, x_55, x_92, x_93, x_94); -x_96 = x_95; -x_97 = lean_array_get_size(x_88); -x_98 = lean_usize_of_nat(x_97); -lean_dec(x_97); -x_99 = x_88; -lean_inc(x_14); -x_100 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_14, x_55, x_98, x_93, x_99); -x_101 = x_100; -x_102 = lean_unsigned_to_nat(0u); -x_103 = 0; -lean_inc(x_55); -lean_inc(x_52); -lean_ctor_set(x_18, 4, x_55); -lean_ctor_set(x_18, 3, x_52); -lean_ctor_set(x_18, 1, x_14); -lean_ctor_set(x_18, 0, x_102); -lean_ctor_set_uint8(x_18, sizeof(void*)*5, x_103); -x_104 = lean_array_push(x_89, x_18); -x_105 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_105, 0, x_96); -lean_ctor_set(x_105, 1, x_101); -lean_ctor_set(x_105, 2, x_104); -lean_ctor_set(x_105, 3, x_90); -x_106 = lean_st_ref_set(x_2, x_105, x_61); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_108 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; -x_109 = l_Lean_CollectFVars_main(x_52, x_108); -x_110 = l_Lean_CollectFVars_main(x_55, x_109); -x_111 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_16, x_110); -x_1 = x_111; -x_9 = x_107; -goto _start; -} -} -else -{ -uint8_t x_113; -lean_dec(x_52); -lean_free_object(x_18); -lean_dec(x_33); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_113 = !lean_is_exclusive(x_54); -if (x_113 == 0) -{ -return x_54; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_54, 0); -x_115 = lean_ctor_get(x_54, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_54); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -else -{ -uint8_t x_117; -lean_free_object(x_18); -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_117 = !lean_is_exclusive(x_51); -if (x_117 == 0) -{ -return x_51; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_51, 0); -x_119 = lean_ctor_get(x_51, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_51); -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; -} -} -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_121 = lean_ctor_get(x_18, 2); -x_122 = lean_ctor_get(x_18, 3); -x_123 = lean_ctor_get(x_18, 4); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_18); -x_124 = l_Lean_Meta_getZetaFVarIds___rarg(x_6, x_7, x_8, x_31); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_NameSet_contains(x_125, x_14); -lean_dec(x_125); -if (x_127 == 0) -{ -uint8_t x_128; lean_object* x_129; -lean_dec(x_123); -x_128 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_129 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(x_16, x_14, x_121, x_122, x_128, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_126); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_1 = x_130; -x_9 = x_131; -goto _start; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_133 = lean_ctor_get(x_129, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_129, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_135 = x_129; -} else { - lean_dec_ref(x_129); - x_135 = lean_box(0); -} -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); -} else { - x_136 = x_135; -} -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; -} -} -else -{ -lean_object* x_137; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_137 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_122, x_3, x_4, x_5, x_6, x_7, x_8, x_126); -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_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_140 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_139); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_st_ref_get(x_8, x_142); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -x_145 = lean_st_ref_take(x_2, x_144); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_ctor_get(x_146, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_146, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_146, 2); -lean_inc(x_150); -x_151 = lean_ctor_get(x_146, 3); -lean_inc(x_151); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - lean_ctor_release(x_146, 3); - x_152 = x_146; -} else { - lean_dec_ref(x_146); - x_152 = lean_box(0); -} -x_153 = lean_array_get_size(x_148); -x_154 = lean_usize_of_nat(x_153); -lean_dec(x_153); -x_155 = 0; -x_156 = x_148; -lean_inc(x_14); -x_157 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(x_14, x_141, x_154, x_155, x_156); -x_158 = x_157; -x_159 = lean_array_get_size(x_149); -x_160 = lean_usize_of_nat(x_159); -lean_dec(x_159); -x_161 = x_149; -lean_inc(x_14); -x_162 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(x_14, x_141, x_160, x_155, x_161); -x_163 = x_162; -x_164 = lean_unsigned_to_nat(0u); -x_165 = 0; -lean_inc(x_141); -lean_inc(x_138); -x_166 = lean_alloc_ctor(1, 5, 1); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_14); -lean_ctor_set(x_166, 2, x_121); -lean_ctor_set(x_166, 3, x_138); -lean_ctor_set(x_166, 4, x_141); -lean_ctor_set_uint8(x_166, sizeof(void*)*5, x_165); -x_167 = lean_array_push(x_150, x_166); -if (lean_is_scalar(x_152)) { - x_168 = lean_alloc_ctor(0, 4, 0); -} else { - x_168 = x_152; -} -lean_ctor_set(x_168, 0, x_158); -lean_ctor_set(x_168, 1, x_163); -lean_ctor_set(x_168, 2, x_167); -lean_ctor_set(x_168, 3, x_151); -x_169 = lean_st_ref_set(x_2, x_168, x_147); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; -x_172 = l_Lean_CollectFVars_main(x_138, x_171); -x_173 = l_Lean_CollectFVars_main(x_141, x_172); -x_174 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_16, x_173); -x_1 = x_174; -x_9 = x_170; -goto _start; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_138); -lean_dec(x_121); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_176 = lean_ctor_get(x_140, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_140, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_178 = x_140; -} else { - lean_dec_ref(x_140); - x_178 = lean_box(0); -} -if (lean_is_scalar(x_178)) { - x_179 = lean_alloc_ctor(1, 2, 0); -} else { - x_179 = x_178; -} -lean_ctor_set(x_179, 0, x_176); -lean_ctor_set(x_179, 1, x_177); -return x_179; -} -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_180 = lean_ctor_get(x_137, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_137, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_182 = x_137; -} else { - lean_dec_ref(x_137); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(1, 2, 0); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_180); -lean_ctor_set(x_183, 1, x_181); -return x_183; -} -} -} -} -} -else -{ -uint8_t x_184; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_184 = !lean_is_exclusive(x_17); -if (x_184 == 0) -{ -return x_17; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_17, 0); -x_186 = lean_ctor_get(x_17, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_17); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; -} -} -} -block_212: -{ -if (x_189 == 0) -{ -x_15 = x_190; -goto block_188; -} -else -{ -lean_object* x_191; size_t x_192; size_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_191 = lean_array_get_size(x_1); -x_192 = lean_usize_of_nat(x_191); -lean_dec(x_191); -x_193 = 0; -lean_inc(x_1); -x_194 = x_1; -x_195 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_192, x_193, x_194); -x_196 = x_195; -x_197 = lean_array_to_list(lean_box(0), x_196); -x_198 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_197); -x_199 = l_Lean_MessageData_ofList(x_198); -lean_dec(x_198); -x_200 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__8; -x_201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__10; -x_203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -lean_inc(x_14); -x_204 = l_Lean_mkFVar(x_14); -x_205 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_206, 0, x_203); -lean_ctor_set(x_206, 1, x_205); -x_207 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6; -x_208 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_207); -x_209 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__6; -x_210 = l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4(x_209, x_208, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_190); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_15 = x_211; -goto block_188; +return x_41; } } } @@ -12769,6 +12771,18 @@ lean_dec(x_2); return x_10; } } +lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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: { @@ -13301,7 +13315,7 @@ lean_closure_set(x_13, 3, x_11); x_14 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__2___rarg), 9, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); -x_15 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_10, x_11, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_10, x_11, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_15; } } @@ -15560,7 +15574,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_17 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_13, x_14, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_17 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_13, x_14, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; @@ -19724,7 +19738,7 @@ x_15 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lam x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_16, x_4, x_5, x_9); +x_17 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_16, x_4, x_5, x_9); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { diff --git a/stage0/stdlib/Lean/Elab/Notation.c b/stage0/stdlib/Lean/Elab/Notation.c new file mode 100644 index 0000000000..dd58128c5e --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Notation.c @@ -0,0 +1,9603 @@ +// Lean compiler output +// Module: Lean.Elab.Notation +// Imports: Init Lean.Elab.Syntax +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__29; +size_t l_USize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__34; +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotation___closed__1; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__48; +static lean_object* l_Lean_Elab_Command_expandNotation___closed__2; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__46; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__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*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__25; +extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__78; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__80; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__6; +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__62; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__54; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__84; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__33; +uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__22; +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__79; +lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__77; +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__66; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__56; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__85; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; +lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__57; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__4; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__27; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__45; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__9; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__67; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__40; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__83; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__70; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11; +lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__65; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__39; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___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_Notation_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__17; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux_match__1(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__1; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__64; +lean_object* lean_array_fget(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__47; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__60; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__74; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_strLitKind; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__2; +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__52; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__5; +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__14; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__76; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__18; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__15; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__30; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__36; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__28; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__35; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__26; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__75; +lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object*); +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__12; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__58; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__31; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__59; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17; +size_t lean_usize_of_nat(lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__23; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__72; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__38; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__21; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_macroAttribute; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__44; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__41; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; +lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12; +uint8_t l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__68; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__16; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___boxed(lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__63; +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote_match__1(lean_object*); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__10; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__32; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__81; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__71; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_syntax_ident(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__20; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__51; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__69; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__11; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__61; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__19; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object*, size_t, size_t); +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33; +uint8_t l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind(lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__42; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__82; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1; +static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8; +static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; +lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +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); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 < x_2; +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = x_4; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_7 = lean_array_uget(x_4, x_3); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_4, x_3, x_8); +x_10 = x_7; +x_11 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote(x_1, x_10); +x_12 = 1; +x_13 = x_3 + x_12; +x_14 = x_11; +x_15 = lean_array_uset(x_9, x_3, x_14); +x_3 = x_13; +x_4 = x_15; +goto _start; +} +} +} +uint8_t l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Syntax_getId(x_2); +x_4 = l_Lean_Syntax_getId(x_1); +x_5 = lean_name_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +lean_inc(x_2); +x_4 = l_Lean_Syntax_isOfKind(x_2, x_3); +if (x_4 == 0) +{ +if (lean_obj_tag(x_2) == 1) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = x_6; +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_8, x_9, x_10); +x_12 = x_11; +lean_ctor_set(x_2, 1, x_12); +return x_2; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_2); +x_15 = lean_array_get_size(x_14); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = x_14; +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_16, x_17, x_18); +x_20 = x_19; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +return x_2; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_inc(x_2); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1___boxed), 2, 1); +lean_closure_set(x_22, 0, x_2); +x_23 = lean_array_get_size(x_1); +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Array_findIdx_x3f_loop___rarg(x_1, x_22, x_23, x_24, lean_box(0)); +if (lean_obj_tag(x_25) == 0) +{ +return x_2; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_25); +x_26 = lean_box(0); +x_27 = lean_box(0); +x_28 = l_Lean_Syntax_mkAntiquotNode(x_2, x_24, x_26, x_27); +return x_28; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___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_Notation_0__Lean_Elab_Command_antiquote___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_Notation_0__Lean_Elab_Command_antiquote___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("identPrec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("atom"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("cat"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_1); +x_4 = l_Lean_Syntax_getKind(x_1); +x_5 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8; +x_6 = lean_name_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_strLitKind; +x_8 = lean_name_eq(x_4, x_7); +lean_dec(x_4); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_1); +x_9 = lean_box(1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_12 = lean_array_push(x_11, x_1); +x_13 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +} +else +{ +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_dec(x_4); +x_16 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17; +x_17 = l_Lean_mkIdentFrom(x_1, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +lean_dec(x_1); +x_20 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_21 = lean_array_push(x_20, x_17); +x_22 = lean_array_push(x_21, x_19); +x_23 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_3); +return x_25; +} +} +} +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_1); +x_4 = l_Lean_Syntax_getKind(x_1); +x_5 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8; +x_6 = lean_name_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_strLitKind; +x_8 = lean_name_eq(x_4, x_7); +lean_dec(x_4); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_1); +x_9 = lean_box(1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_strLitToPattern(x_1, x_2, x_3); +lean_dec(x_1); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +lean_dec(x_1); +x_14 = lean_box(0); +x_15 = lean_box(0); +x_16 = l_Lean_Syntax_mkAntiquotNode(x_13, x_12, x_14, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_3); +return x_17; +} +} +} +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_mkSimpleDelab_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_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_apply_1(x_2, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +else +{ +lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +} +lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 5); +x_4 = l_Lean_SourceInfo_fromRef(x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; +} +} +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object* 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_3, x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_sub(x_3, x_7); +lean_dec(x_3); +x_9 = lean_array_fget(x_1, x_8); +x_10 = l_Lean_Syntax_structEq(x_2, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +x_3 = x_8; +x_4 = lean_box(0); +goto _start; +} +else +{ +uint8_t x_12; +lean_dec(x_8); +x_12 = 0; +return x_12; +} +} +else +{ +uint8_t x_13; +lean_dec(x_3); +x_13 = 1; +return x_13; +} +} +} +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_array_get_size(x_1); +x_4 = lean_nat_dec_lt(x_2, x_3); +lean_dec(x_3); +if (x_4 == 0) +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 1; +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_fget(x_1, x_2); +lean_inc(x_2); +x_7 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_1, x_6, x_2, lean_box(0)); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_2); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_2, x_9); +lean_dec(x_2); +x_2 = x_10; +goto _start; +} +} +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 == x_3; +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_uget(x_1, x_2); +x_6 = l_Lean_Syntax_getAntiquotTerm(x_5); +lean_dec(x_5); +x_7 = l_Lean_Syntax_isIdent(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +else +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = x_2 + x_9; +x_2 = x_10; +goto _start; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declModifiers"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attributes"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("@["); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrInstance"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Attr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__19; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("appUnexpander"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__23; +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_Lean_Elab_Command_mkSimpleDelab___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("]"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declId"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpand"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__34; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__34; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__35; +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_Lean_Elab_Command_mkSimpleDelab___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__34; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optDeclSig"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__38; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeSpec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Unexpander"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +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_Lean_Elab_Command_mkSimpleDelab___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("PrettyPrinter"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__46; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Unexpander"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__48; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +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_Elab_Command_mkSimpleDelab___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +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_Lean_Elab_Command_mkSimpleDelab___closed__52() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__53() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__56() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__58() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("basicFun"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__60() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__63() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quot"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__66() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`("); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__67() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__71() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__72() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__73() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__74() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("throw"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__75() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__76() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__75; +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_Lean_Elab_Command_mkSimpleDelab___closed__77() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__78() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MonadExcept"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__79() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__80() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__81() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +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_Elab_Command_mkSimpleDelab___closed__82() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; +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_Lean_Elab_Command_mkSimpleDelab___closed__83() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__84() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__83; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__85() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_mkSimpleDelab(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 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_4); +x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +lean_inc(x_4); +x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +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_6); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Syntax_getId(x_4); +lean_dec(x_4); +lean_inc(x_5); +x_14 = l_Lean_Macro_resolveGlobalName(x_13, x_5, x_6); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); +lean_dec(x_14); +x_26 = lean_ctor_get(x_22, 0); +lean_inc(x_26); +lean_dec(x_22); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_25); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_27, 0); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_5, 2); +lean_inc(x_32); +x_33 = lean_ctor_get(x_5, 1); +lean_inc(x_33); +lean_dec(x_5); +x_34 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_31); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_32); +lean_inc(x_33); +x_37 = l_Lean_addMacroScope(x_33, x_36, x_32); +x_38 = lean_box(0); +x_39 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_31); +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_37); +lean_ctor_set(x_40, 3, x_38); +x_41 = lean_mk_syntax_ident(x_26); +x_42 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_47 = lean_array_push(x_46, x_40); +x_48 = lean_array_push(x_47, x_45); +x_49 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_array_push(x_46, x_1); +x_52 = lean_array_push(x_51, x_50); +x_53 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_42, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_31); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_31); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_60 = lean_array_push(x_59, x_35); +x_61 = lean_array_push(x_60, x_56); +x_62 = lean_array_push(x_61, x_58); +x_63 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = lean_array_push(x_42, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_44); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_68 = lean_array_push(x_67, x_66); +x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_70 = lean_array_push(x_68, x_69); +x_71 = lean_array_push(x_70, x_69); +x_72 = lean_array_push(x_71, x_69); +x_73 = lean_array_push(x_72, x_69); +x_74 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +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_Command_mkSimpleDelab___closed__30; +lean_inc(x_31); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_31); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_32); +lean_inc(x_33); +x_79 = l_Lean_addMacroScope(x_33, x_78, x_32); +x_80 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_31); +x_81 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_81, 0, x_31); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +lean_ctor_set(x_81, 3, x_38); +x_82 = lean_array_push(x_46, x_81); +x_83 = lean_array_push(x_82, x_69); +x_84 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_31); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_31); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_89 = l_Lean_addMacroScope(x_33, x_88, x_32); +x_90 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_91 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_31); +x_92 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_92, 0, x_31); +lean_ctor_set(x_92, 1, x_90); +lean_ctor_set(x_92, 2, x_89); +lean_ctor_set(x_92, 3, x_91); +x_93 = lean_array_push(x_46, x_87); +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_42, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_44); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_100 = lean_array_push(x_99, x_98); +x_101 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_31); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_31); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_31); +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_31); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_31); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_31); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_array_push(x_42, x_108); +x_110 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_array_push(x_42, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_44); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_31); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_31); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_31); +x_117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_117, 0, x_31); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_31); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_59, x_117); +x_121 = lean_array_push(x_120, x_3); +x_122 = lean_array_push(x_121, x_119); +x_123 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = lean_array_push(x_59, x_113); +x_126 = lean_array_push(x_125, x_115); +x_127 = lean_array_push(x_126, x_124); +x_128 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_46, x_106); +x_131 = lean_array_push(x_130, x_129); +x_132 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = lean_array_push(x_59, x_104); +x_135 = lean_array_push(x_134, x_133); +x_136 = lean_array_push(x_135, x_69); +x_137 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_140 = lean_array_push(x_139, x_77); +x_141 = lean_array_push(x_140, x_85); +x_142 = lean_array_push(x_141, x_102); +x_143 = lean_array_push(x_142, x_138); +x_144 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +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_46, x_75); +x_147 = lean_array_push(x_146, x_145); +x_148 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +lean_ctor_set(x_29, 0, x_149); +return x_27; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 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_150 = lean_ctor_get(x_29, 0); +lean_inc(x_150); +lean_dec(x_29); +x_151 = lean_ctor_get(x_5, 2); +lean_inc(x_151); +x_152 = lean_ctor_get(x_5, 1); +lean_inc(x_152); +lean_dec(x_5); +x_153 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_150); +x_154 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_154, 0, x_150); +lean_ctor_set(x_154, 1, x_153); +x_155 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_151); +lean_inc(x_152); +x_156 = l_Lean_addMacroScope(x_152, x_155, x_151); +x_157 = lean_box(0); +x_158 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_150); +x_159 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_159, 0, x_150); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set(x_159, 2, x_156); +lean_ctor_set(x_159, 3, x_157); +x_160 = lean_mk_syntax_ident(x_26); +x_161 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_162 = lean_array_push(x_161, x_160); +x_163 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_166 = lean_array_push(x_165, x_159); +x_167 = lean_array_push(x_166, x_164); +x_168 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +x_170 = lean_array_push(x_165, x_1); +x_171 = lean_array_push(x_170, x_169); +x_172 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +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 = lean_array_push(x_161, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_163); +lean_ctor_set(x_175, 1, x_174); +x_176 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_150); +x_177 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_177, 0, x_150); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_179 = lean_array_push(x_178, x_154); +x_180 = lean_array_push(x_179, x_175); +x_181 = lean_array_push(x_180, x_177); +x_182 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = lean_array_push(x_161, x_183); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_163); +lean_ctor_set(x_185, 1, x_184); +x_186 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_187 = lean_array_push(x_186, x_185); +x_188 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_189 = lean_array_push(x_187, x_188); +x_190 = lean_array_push(x_189, x_188); +x_191 = lean_array_push(x_190, x_188); +x_192 = lean_array_push(x_191, x_188); +x_193 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +x_195 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_150); +x_196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_196, 0, x_150); +lean_ctor_set(x_196, 1, x_195); +x_197 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_151); +lean_inc(x_152); +x_198 = l_Lean_addMacroScope(x_152, x_197, x_151); +x_199 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_150); +x_200 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_200, 0, x_150); +lean_ctor_set(x_200, 1, x_199); +lean_ctor_set(x_200, 2, x_198); +lean_ctor_set(x_200, 3, x_157); +x_201 = lean_array_push(x_165, x_200); +x_202 = lean_array_push(x_201, x_188); +x_203 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +x_205 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_150); +x_206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_206, 0, x_150); +lean_ctor_set(x_206, 1, x_205); +x_207 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_208 = l_Lean_addMacroScope(x_152, x_207, x_151); +x_209 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_210 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_150); +x_211 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_211, 0, x_150); +lean_ctor_set(x_211, 1, x_209); +lean_ctor_set(x_211, 2, x_208); +lean_ctor_set(x_211, 3, x_210); +x_212 = lean_array_push(x_165, x_206); +x_213 = lean_array_push(x_212, x_211); +x_214 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_array_push(x_161, x_215); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_163); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_219 = lean_array_push(x_218, x_217); +x_220 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +x_222 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_150); +x_223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_223, 0, x_150); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_150); +x_225 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_225, 0, x_150); +lean_ctor_set(x_225, 1, x_224); +x_226 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_150); +x_227 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_227, 0, x_150); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_array_push(x_161, x_227); +x_229 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_array_push(x_161, x_230); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_163); +lean_ctor_set(x_232, 1, x_231); +x_233 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_150); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_150); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_150); +x_236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_236, 0, x_150); +lean_ctor_set(x_236, 1, x_235); +x_237 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_150); +lean_ctor_set(x_238, 1, x_237); +x_239 = lean_array_push(x_178, x_236); +x_240 = lean_array_push(x_239, x_3); +x_241 = lean_array_push(x_240, x_238); +x_242 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = lean_array_push(x_178, x_232); +x_245 = lean_array_push(x_244, x_234); +x_246 = lean_array_push(x_245, x_243); +x_247 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_246); +x_249 = lean_array_push(x_165, x_225); +x_250 = lean_array_push(x_249, x_248); +x_251 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +x_253 = lean_array_push(x_178, x_223); +x_254 = lean_array_push(x_253, x_252); +x_255 = lean_array_push(x_254, x_188); +x_256 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +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 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_259 = lean_array_push(x_258, x_196); +x_260 = lean_array_push(x_259, x_204); +x_261 = lean_array_push(x_260, x_221); +x_262 = lean_array_push(x_261, x_257); +x_263 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = lean_array_push(x_165, x_194); +x_266 = lean_array_push(x_265, x_264); +x_267 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +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_alloc_ctor(1, 1, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_27, 0, x_269); +return x_27; +} +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; +x_270 = lean_ctor_get(x_27, 0); +x_271 = lean_ctor_get(x_27, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_27); +x_272 = lean_ctor_get(x_270, 0); +lean_inc(x_272); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + x_273 = x_270; +} else { + lean_dec_ref(x_270); + x_273 = lean_box(0); +} +x_274 = lean_ctor_get(x_5, 2); +lean_inc(x_274); +x_275 = lean_ctor_get(x_5, 1); +lean_inc(x_275); +lean_dec(x_5); +x_276 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_272); +x_277 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_277, 0, x_272); +lean_ctor_set(x_277, 1, x_276); +x_278 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_274); +lean_inc(x_275); +x_279 = l_Lean_addMacroScope(x_275, x_278, x_274); +x_280 = lean_box(0); +x_281 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_272); +x_282 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_282, 0, x_272); +lean_ctor_set(x_282, 1, x_281); +lean_ctor_set(x_282, 2, x_279); +lean_ctor_set(x_282, 3, x_280); +x_283 = lean_mk_syntax_ident(x_26); +x_284 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_285 = lean_array_push(x_284, x_283); +x_286 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_289 = lean_array_push(x_288, x_282); +x_290 = lean_array_push(x_289, x_287); +x_291 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_288, x_1); +x_294 = lean_array_push(x_293, x_292); +x_295 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = lean_array_push(x_284, x_296); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_286); +lean_ctor_set(x_298, 1, x_297); +x_299 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_272); +x_300 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_300, 0, x_272); +lean_ctor_set(x_300, 1, x_299); +x_301 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_302 = lean_array_push(x_301, x_277); +x_303 = lean_array_push(x_302, x_298); +x_304 = lean_array_push(x_303, x_300); +x_305 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_305); +lean_ctor_set(x_306, 1, x_304); +x_307 = lean_array_push(x_284, x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_286); +lean_ctor_set(x_308, 1, x_307); +x_309 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_310 = lean_array_push(x_309, x_308); +x_311 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_312 = lean_array_push(x_310, x_311); +x_313 = lean_array_push(x_312, x_311); +x_314 = lean_array_push(x_313, x_311); +x_315 = lean_array_push(x_314, x_311); +x_316 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_315); +x_318 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_272); +x_319 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_319, 0, x_272); +lean_ctor_set(x_319, 1, x_318); +x_320 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_274); +lean_inc(x_275); +x_321 = l_Lean_addMacroScope(x_275, x_320, x_274); +x_322 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_272); +x_323 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_323, 0, x_272); +lean_ctor_set(x_323, 1, x_322); +lean_ctor_set(x_323, 2, x_321); +lean_ctor_set(x_323, 3, x_280); +x_324 = lean_array_push(x_288, x_323); +x_325 = lean_array_push(x_324, x_311); +x_326 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_325); +x_328 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_272); +x_329 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_329, 0, x_272); +lean_ctor_set(x_329, 1, x_328); +x_330 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_331 = l_Lean_addMacroScope(x_275, x_330, x_274); +x_332 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_333 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_272); +x_334 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_334, 0, x_272); +lean_ctor_set(x_334, 1, x_332); +lean_ctor_set(x_334, 2, x_331); +lean_ctor_set(x_334, 3, x_333); +x_335 = lean_array_push(x_288, x_329); +x_336 = lean_array_push(x_335, x_334); +x_337 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_336); +x_339 = lean_array_push(x_284, x_338); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_286); +lean_ctor_set(x_340, 1, x_339); +x_341 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_342 = lean_array_push(x_341, x_340); +x_343 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_272); +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_272); +lean_ctor_set(x_346, 1, x_345); +x_347 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_272); +x_348 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_348, 0, x_272); +lean_ctor_set(x_348, 1, x_347); +x_349 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_272); +x_350 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_350, 0, x_272); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_array_push(x_284, x_350); +x_352 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_351); +x_354 = lean_array_push(x_284, x_353); +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_286); +lean_ctor_set(x_355, 1, x_354); +x_356 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_272); +x_357 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_357, 0, x_272); +lean_ctor_set(x_357, 1, x_356); +x_358 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_272); +x_359 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_359, 0, x_272); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +x_361 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_361, 0, x_272); +lean_ctor_set(x_361, 1, x_360); +x_362 = lean_array_push(x_301, x_359); +x_363 = lean_array_push(x_362, x_3); +x_364 = lean_array_push(x_363, x_361); +x_365 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_array_push(x_301, x_355); +x_368 = lean_array_push(x_367, x_357); +x_369 = lean_array_push(x_368, x_366); +x_370 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +x_371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_369); +x_372 = lean_array_push(x_288, x_348); +x_373 = lean_array_push(x_372, x_371); +x_374 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +x_376 = lean_array_push(x_301, x_346); +x_377 = lean_array_push(x_376, x_375); +x_378 = lean_array_push(x_377, x_311); +x_379 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_378); +x_381 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_382 = lean_array_push(x_381, x_319); +x_383 = lean_array_push(x_382, x_327); +x_384 = lean_array_push(x_383, x_344); +x_385 = lean_array_push(x_384, x_380); +x_386 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_385); +x_388 = lean_array_push(x_288, x_317); +x_389 = lean_array_push(x_388, x_387); +x_390 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +if (lean_is_scalar(x_273)) { + x_392 = lean_alloc_ctor(1, 1, 0); +} else { + x_392 = x_273; +} +lean_ctor_set(x_392, 0, x_391); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_271); +return x_393; +} +} +else +{ +uint8_t x_394; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_394 = !lean_is_exclusive(x_14); +if (x_394 == 0) +{ +lean_object* x_395; lean_object* x_396; +x_395 = lean_ctor_get(x_14, 0); +lean_dec(x_395); +x_396 = lean_box(0); +lean_ctor_set(x_14, 0, x_396); +return x_14; +} +else +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_397 = lean_ctor_get(x_14, 1); +lean_inc(x_397); +lean_dec(x_14); +x_398 = lean_box(0); +x_399 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +return x_399; +} +} +} +else +{ +uint8_t x_400; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_400 = !lean_is_exclusive(x_14); +if (x_400 == 0) +{ +lean_object* x_401; lean_object* x_402; +x_401 = lean_ctor_get(x_14, 0); +lean_dec(x_401); +x_402 = lean_box(0); +lean_ctor_set(x_14, 0, x_402); +return x_14; +} +else +{ +lean_object* x_403; lean_object* x_404; lean_object* x_405; +x_403 = lean_ctor_get(x_14, 1); +lean_inc(x_403); +lean_dec(x_14); +x_404 = lean_box(0); +x_405 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_403); +return x_405; +} +} +} +} +else +{ +uint8_t x_406; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_406 = !lean_is_exclusive(x_14); +if (x_406 == 0) +{ +return x_14; +} +else +{ +lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_407 = lean_ctor_get(x_14, 0); +x_408 = lean_ctor_get(x_14, 1); +lean_inc(x_408); +lean_inc(x_407); +lean_dec(x_14); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_407); +lean_ctor_set(x_409, 1, x_408); +return x_409; +} +} +} +} +else +{ +lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; +x_410 = lean_unsigned_to_nat(0u); +x_411 = l_Lean_Syntax_getArg(x_4, x_410); +x_412 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +lean_inc(x_411); +x_413 = l_Lean_Syntax_isOfKind(x_411, x_412); +if (x_413 == 0) +{ +lean_object* x_414; lean_object* x_415; +lean_dec(x_411); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_414 = lean_box(0); +x_415 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_6); +return x_415; +} +else +{ +lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_416 = lean_unsigned_to_nat(1u); +x_417 = l_Lean_Syntax_getArg(x_4, x_416); +lean_dec(x_4); +x_418 = l_Lean_Syntax_getArgs(x_417); +lean_dec(x_417); +x_419 = l_Lean_Syntax_getId(x_411); +lean_dec(x_411); +lean_inc(x_5); +x_420 = l_Lean_Macro_resolveGlobalName(x_419, x_5, x_6); +if (lean_obj_tag(x_420) == 0) +{ +lean_object* x_421; +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +if (lean_obj_tag(x_421) == 0) +{ +uint8_t x_422; +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_422 = !lean_is_exclusive(x_420); +if (x_422 == 0) +{ +lean_object* x_423; lean_object* x_424; +x_423 = lean_ctor_get(x_420, 0); +lean_dec(x_423); +x_424 = lean_box(0); +lean_ctor_set(x_420, 0, x_424); +return x_420; +} +else +{ +lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_425 = lean_ctor_get(x_420, 1); +lean_inc(x_425); +lean_dec(x_420); +x_426 = lean_box(0); +x_427 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_427, 0, x_426); +lean_ctor_set(x_427, 1, x_425); +return x_427; +} +} +else +{ +lean_object* x_428; lean_object* x_429; +x_428 = lean_ctor_get(x_421, 0); +lean_inc(x_428); +x_429 = lean_ctor_get(x_428, 1); +lean_inc(x_429); +if (lean_obj_tag(x_429) == 0) +{ +lean_object* x_430; +x_430 = lean_ctor_get(x_421, 1); +lean_inc(x_430); +lean_dec(x_421); +if (lean_obj_tag(x_430) == 0) +{ +uint8_t x_431; +x_431 = !lean_is_exclusive(x_420); +if (x_431 == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +x_432 = lean_ctor_get(x_420, 1); +x_433 = lean_ctor_get(x_420, 0); +lean_dec(x_433); +x_434 = lean_ctor_get(x_428, 0); +lean_inc(x_434); +lean_dec(x_428); +x_435 = lean_array_get_size(x_418); +x_436 = lean_nat_dec_lt(x_410, x_435); +if (x_436 == 0) +{ +uint8_t x_437; +lean_dec(x_435); +x_437 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_437 == 0) +{ +lean_object* x_438; +lean_dec(x_434); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_438 = lean_box(0); +lean_ctor_set(x_420, 0, x_438); +return x_420; +} +else +{ +lean_object* x_439; lean_object* x_440; lean_object* x_948; lean_object* x_949; lean_object* x_950; uint8_t x_951; +lean_free_object(x_420); +x_948 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); +x_949 = lean_ctor_get(x_948, 0); +lean_inc(x_949); +x_950 = lean_ctor_get(x_948, 1); +lean_inc(x_950); +lean_dec(x_948); +x_951 = !lean_is_exclusive(x_949); +if (x_951 == 0) +{ +lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; +x_952 = lean_ctor_get(x_949, 0); +x_953 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_954 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_954, 0, x_952); +lean_ctor_set(x_954, 1, x_953); +x_955 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_956 = lean_array_push(x_955, x_954); +x_957 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_956); +lean_ctor_set(x_949, 0, x_958); +x_439 = x_949; +x_440 = x_950; +goto block_947; +} +else +{ +lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; +x_959 = lean_ctor_get(x_949, 0); +lean_inc(x_959); +lean_dec(x_949); +x_960 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_961 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_961, 0, x_959); +lean_ctor_set(x_961, 1, x_960); +x_962 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_963 = lean_array_push(x_962, x_961); +x_964 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_965 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_965, 0, x_964); +lean_ctor_set(x_965, 1, x_963); +x_966 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_966, 0, x_965); +x_439 = x_966; +x_440 = x_950; +goto block_947; +} +block_947: +{ +lean_object* x_441; lean_object* x_442; lean_object* x_917; lean_object* x_918; lean_object* x_919; uint8_t x_920; +x_917 = lean_ctor_get(x_439, 0); +lean_inc(x_917); +lean_dec(x_439); +x_918 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_440); +x_919 = lean_ctor_get(x_918, 0); +lean_inc(x_919); +x_920 = !lean_is_exclusive(x_919); +if (x_920 == 0) +{ +lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; +x_921 = lean_ctor_get(x_919, 0); +lean_dec(x_921); +x_922 = lean_ctor_get(x_918, 1); +lean_inc(x_922); +lean_dec(x_918); +x_923 = lean_box(0); +x_924 = lean_box(0); +x_925 = l_Lean_Syntax_mkAntiquotNode(x_917, x_410, x_923, x_924); +x_926 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_927 = l_Array_append___rarg(x_926, x_418); +lean_dec(x_418); +x_928 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_929, 0, x_928); +lean_ctor_set(x_929, 1, x_927); +x_930 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_931 = lean_array_push(x_930, x_925); +x_932 = lean_array_push(x_931, x_929); +x_933 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_933, 0, x_7); +lean_ctor_set(x_933, 1, x_932); +lean_ctor_set(x_919, 0, x_933); +x_441 = x_919; +x_442 = x_922; +goto block_916; +} +else +{ +lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; +lean_dec(x_919); +x_934 = lean_ctor_get(x_918, 1); +lean_inc(x_934); +lean_dec(x_918); +x_935 = lean_box(0); +x_936 = lean_box(0); +x_937 = l_Lean_Syntax_mkAntiquotNode(x_917, x_410, x_935, x_936); +x_938 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_939 = l_Array_append___rarg(x_938, x_418); +lean_dec(x_418); +x_940 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_941 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_941, 0, x_940); +lean_ctor_set(x_941, 1, x_939); +x_942 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_943 = lean_array_push(x_942, x_937); +x_944 = lean_array_push(x_943, x_941); +x_945 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_945, 0, x_7); +lean_ctor_set(x_945, 1, x_944); +x_946 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_946, 0, x_945); +x_441 = x_946; +x_442 = x_934; +goto block_916; +} +block_916: +{ +lean_object* x_443; lean_object* x_444; uint8_t x_445; +x_443 = lean_ctor_get(x_441, 0); +lean_inc(x_443); +lean_dec(x_441); +x_444 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_442); +x_445 = !lean_is_exclusive(x_444); +if (x_445 == 0) +{ +lean_object* x_446; uint8_t x_447; +x_446 = lean_ctor_get(x_444, 0); +x_447 = !lean_is_exclusive(x_446); +if (x_447 == 0) +{ +lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_448 = lean_ctor_get(x_446, 0); +x_449 = lean_ctor_get(x_5, 2); +lean_inc(x_449); +x_450 = lean_ctor_get(x_5, 1); +lean_inc(x_450); +lean_dec(x_5); +x_451 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_448); +x_452 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_452, 0, x_448); +lean_ctor_set(x_452, 1, x_451); +x_453 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_449); +lean_inc(x_450); +x_454 = l_Lean_addMacroScope(x_450, x_453, x_449); +x_455 = lean_box(0); +x_456 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_448); +x_457 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_457, 0, x_448); +lean_ctor_set(x_457, 1, x_456); +lean_ctor_set(x_457, 2, x_454); +lean_ctor_set(x_457, 3, x_455); +x_458 = lean_mk_syntax_ident(x_434); +x_459 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_460 = lean_array_push(x_459, x_458); +x_461 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_461); +lean_ctor_set(x_462, 1, x_460); +x_463 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_464 = lean_array_push(x_463, x_457); +x_465 = lean_array_push(x_464, x_462); +x_466 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_465); +x_468 = lean_array_push(x_463, x_1); +x_469 = lean_array_push(x_468, x_467); +x_470 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_469); +x_472 = lean_array_push(x_459, x_471); +x_473 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_473, 0, x_461); +lean_ctor_set(x_473, 1, x_472); +x_474 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_448); +x_475 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_475, 0, x_448); +lean_ctor_set(x_475, 1, x_474); +x_476 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_477 = lean_array_push(x_476, x_452); +x_478 = lean_array_push(x_477, x_473); +x_479 = lean_array_push(x_478, x_475); +x_480 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +x_482 = lean_array_push(x_459, x_481); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_461); +lean_ctor_set(x_483, 1, x_482); +x_484 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_485 = lean_array_push(x_484, x_483); +x_486 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_487 = lean_array_push(x_485, x_486); +x_488 = lean_array_push(x_487, x_486); +x_489 = lean_array_push(x_488, x_486); +x_490 = lean_array_push(x_489, x_486); +x_491 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_490); +x_493 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_448); +x_494 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_494, 0, x_448); +lean_ctor_set(x_494, 1, x_493); +x_495 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_449); +lean_inc(x_450); +x_496 = l_Lean_addMacroScope(x_450, x_495, x_449); +x_497 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_448); +x_498 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_498, 0, x_448); +lean_ctor_set(x_498, 1, x_497); +lean_ctor_set(x_498, 2, x_496); +lean_ctor_set(x_498, 3, x_455); +x_499 = lean_array_push(x_463, x_498); +x_500 = lean_array_push(x_499, x_486); +x_501 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_500); +x_503 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_448); +x_504 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_504, 0, x_448); +lean_ctor_set(x_504, 1, x_503); +x_505 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_449); +lean_inc(x_450); +x_506 = l_Lean_addMacroScope(x_450, x_505, x_449); +x_507 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_508 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_448); +x_509 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_509, 0, x_448); +lean_ctor_set(x_509, 1, x_507); +lean_ctor_set(x_509, 2, x_506); +lean_ctor_set(x_509, 3, x_508); +x_510 = lean_array_push(x_463, x_504); +x_511 = lean_array_push(x_510, x_509); +x_512 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_513 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_513, 0, x_512); +lean_ctor_set(x_513, 1, x_511); +x_514 = lean_array_push(x_459, x_513); +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_461); +lean_ctor_set(x_515, 1, x_514); +x_516 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_517 = lean_array_push(x_516, x_515); +x_518 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_517); +x_520 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_448); +x_521 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_521, 0, x_448); +lean_ctor_set(x_521, 1, x_520); +x_522 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_448); +x_523 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_523, 0, x_448); +lean_ctor_set(x_523, 1, x_522); +x_524 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_448); +x_525 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_525, 0, x_448); +lean_ctor_set(x_525, 1, x_524); +x_526 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_448); +x_527 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_527, 0, x_448); +lean_ctor_set(x_527, 1, x_526); +x_528 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_448); +x_529 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_529, 0, x_448); +lean_ctor_set(x_529, 1, x_528); +x_530 = lean_array_push(x_476, x_527); +lean_inc(x_530); +x_531 = lean_array_push(x_530, x_443); +lean_inc(x_529); +x_532 = lean_array_push(x_531, x_529); +x_533 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_534 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_532); +x_535 = lean_array_push(x_459, x_534); +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_461); +lean_ctor_set(x_536, 1, x_535); +x_537 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_448); +x_538 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_538, 0, x_448); +lean_ctor_set(x_538, 1, x_537); +x_539 = lean_array_push(x_530, x_3); +lean_inc(x_529); +x_540 = lean_array_push(x_539, x_529); +x_541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_541, 0, x_533); +lean_ctor_set(x_541, 1, x_540); +x_542 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_543 = lean_array_push(x_542, x_525); +lean_inc(x_543); +x_544 = lean_array_push(x_543, x_536); +lean_inc(x_538); +x_545 = lean_array_push(x_544, x_538); +x_546 = lean_array_push(x_545, x_541); +x_547 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_546); +x_549 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_448); +x_550 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_550, 0, x_448); +lean_ctor_set(x_550, 1, x_549); +x_551 = lean_array_push(x_459, x_550); +x_552 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_553, 0, x_552); +lean_ctor_set(x_553, 1, x_551); +x_554 = lean_array_push(x_459, x_553); +x_555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_555, 0, x_461); +lean_ctor_set(x_555, 1, x_554); +x_556 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_557 = l_Lean_addMacroScope(x_450, x_556, x_449); +x_558 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_559 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_448); +x_560 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_560, 0, x_448); +lean_ctor_set(x_560, 1, x_558); +lean_ctor_set(x_560, 2, x_557); +lean_ctor_set(x_560, 3, x_559); +x_561 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_562 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_562, 0, x_448); +lean_ctor_set(x_562, 1, x_561); +x_563 = lean_array_push(x_476, x_562); +x_564 = lean_array_push(x_563, x_486); +x_565 = lean_array_push(x_564, x_529); +x_566 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_567 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_567, 0, x_566); +lean_ctor_set(x_567, 1, x_565); +x_568 = lean_array_push(x_459, x_567); +x_569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_569, 0, x_461); +lean_ctor_set(x_569, 1, x_568); +x_570 = lean_array_push(x_463, x_560); +x_571 = lean_array_push(x_570, x_569); +x_572 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_572, 0, x_7); +lean_ctor_set(x_572, 1, x_571); +x_573 = lean_array_push(x_543, x_555); +x_574 = lean_array_push(x_573, x_538); +x_575 = lean_array_push(x_574, x_572); +x_576 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_576, 0, x_547); +lean_ctor_set(x_576, 1, x_575); +x_577 = lean_array_push(x_463, x_548); +x_578 = lean_array_push(x_577, x_576); +x_579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_579, 0, x_461); +lean_ctor_set(x_579, 1, x_578); +x_580 = lean_array_push(x_459, x_579); +x_581 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_580); +x_583 = lean_array_push(x_463, x_523); +x_584 = lean_array_push(x_583, x_582); +x_585 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_586 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_586, 0, x_585); +lean_ctor_set(x_586, 1, x_584); +x_587 = lean_array_push(x_476, x_521); +x_588 = lean_array_push(x_587, x_586); +x_589 = lean_array_push(x_588, x_486); +x_590 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_589); +x_592 = lean_array_push(x_542, x_494); +x_593 = lean_array_push(x_592, x_502); +x_594 = lean_array_push(x_593, x_519); +x_595 = lean_array_push(x_594, x_591); +x_596 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_463, x_492); +x_599 = lean_array_push(x_598, x_597); +x_600 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +lean_ctor_set(x_446, 0, x_601); +return x_444; +} +else +{ +lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; +x_602 = lean_ctor_get(x_446, 0); +lean_inc(x_602); +lean_dec(x_446); +x_603 = lean_ctor_get(x_5, 2); +lean_inc(x_603); +x_604 = lean_ctor_get(x_5, 1); +lean_inc(x_604); +lean_dec(x_5); +x_605 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_602); +x_606 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_606, 0, x_602); +lean_ctor_set(x_606, 1, x_605); +x_607 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_603); +lean_inc(x_604); +x_608 = l_Lean_addMacroScope(x_604, x_607, x_603); +x_609 = lean_box(0); +x_610 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_602); +x_611 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_611, 0, x_602); +lean_ctor_set(x_611, 1, x_610); +lean_ctor_set(x_611, 2, x_608); +lean_ctor_set(x_611, 3, x_609); +x_612 = lean_mk_syntax_ident(x_434); +x_613 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_614 = lean_array_push(x_613, x_612); +x_615 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_616 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_616, 0, x_615); +lean_ctor_set(x_616, 1, x_614); +x_617 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_618 = lean_array_push(x_617, x_611); +x_619 = lean_array_push(x_618, x_616); +x_620 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_621, 0, x_620); +lean_ctor_set(x_621, 1, x_619); +x_622 = lean_array_push(x_617, x_1); +x_623 = lean_array_push(x_622, x_621); +x_624 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_623); +x_626 = lean_array_push(x_613, x_625); +x_627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_627, 0, x_615); +lean_ctor_set(x_627, 1, x_626); +x_628 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_602); +x_629 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_629, 0, x_602); +lean_ctor_set(x_629, 1, x_628); +x_630 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_631 = lean_array_push(x_630, x_606); +x_632 = lean_array_push(x_631, x_627); +x_633 = lean_array_push(x_632, x_629); +x_634 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_635 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_635, 0, x_634); +lean_ctor_set(x_635, 1, x_633); +x_636 = lean_array_push(x_613, x_635); +x_637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_637, 0, x_615); +lean_ctor_set(x_637, 1, x_636); +x_638 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_639 = lean_array_push(x_638, x_637); +x_640 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_641 = lean_array_push(x_639, x_640); +x_642 = lean_array_push(x_641, x_640); +x_643 = lean_array_push(x_642, x_640); +x_644 = lean_array_push(x_643, x_640); +x_645 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_644); +x_647 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_602); +x_648 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_648, 0, x_602); +lean_ctor_set(x_648, 1, x_647); +x_649 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_603); +lean_inc(x_604); +x_650 = l_Lean_addMacroScope(x_604, x_649, x_603); +x_651 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_602); +x_652 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_652, 0, x_602); +lean_ctor_set(x_652, 1, x_651); +lean_ctor_set(x_652, 2, x_650); +lean_ctor_set(x_652, 3, x_609); +x_653 = lean_array_push(x_617, x_652); +x_654 = lean_array_push(x_653, x_640); +x_655 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_656 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_656, 0, x_655); +lean_ctor_set(x_656, 1, x_654); +x_657 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_602); +x_658 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_658, 0, x_602); +lean_ctor_set(x_658, 1, x_657); +x_659 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_603); +lean_inc(x_604); +x_660 = l_Lean_addMacroScope(x_604, x_659, x_603); +x_661 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_662 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_602); +x_663 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_663, 0, x_602); +lean_ctor_set(x_663, 1, x_661); +lean_ctor_set(x_663, 2, x_660); +lean_ctor_set(x_663, 3, x_662); +x_664 = lean_array_push(x_617, x_658); +x_665 = lean_array_push(x_664, x_663); +x_666 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_665); +x_668 = lean_array_push(x_613, x_667); +x_669 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_669, 0, x_615); +lean_ctor_set(x_669, 1, x_668); +x_670 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_671 = lean_array_push(x_670, x_669); +x_672 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_673 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_671); +x_674 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_602); +x_675 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_675, 0, x_602); +lean_ctor_set(x_675, 1, x_674); +x_676 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_602); +x_677 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_677, 0, x_602); +lean_ctor_set(x_677, 1, x_676); +x_678 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_602); +x_679 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_679, 0, x_602); +lean_ctor_set(x_679, 1, x_678); +x_680 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_602); +x_681 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_681, 0, x_602); +lean_ctor_set(x_681, 1, x_680); +x_682 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_602); +x_683 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_683, 0, x_602); +lean_ctor_set(x_683, 1, x_682); +x_684 = lean_array_push(x_630, x_681); +lean_inc(x_684); +x_685 = lean_array_push(x_684, x_443); +lean_inc(x_683); +x_686 = lean_array_push(x_685, x_683); +x_687 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_688 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_686); +x_689 = lean_array_push(x_613, x_688); +x_690 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_690, 0, x_615); +lean_ctor_set(x_690, 1, x_689); +x_691 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_602); +x_692 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_692, 0, x_602); +lean_ctor_set(x_692, 1, x_691); +x_693 = lean_array_push(x_684, x_3); +lean_inc(x_683); +x_694 = lean_array_push(x_693, x_683); +x_695 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_695, 0, x_687); +lean_ctor_set(x_695, 1, x_694); +x_696 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_697 = lean_array_push(x_696, x_679); +lean_inc(x_697); +x_698 = lean_array_push(x_697, x_690); +lean_inc(x_692); +x_699 = lean_array_push(x_698, x_692); +x_700 = lean_array_push(x_699, x_695); +x_701 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_702 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_702, 0, x_701); +lean_ctor_set(x_702, 1, x_700); +x_703 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_602); +x_704 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_704, 0, x_602); +lean_ctor_set(x_704, 1, x_703); +x_705 = lean_array_push(x_613, x_704); +x_706 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_707 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_707, 0, x_706); +lean_ctor_set(x_707, 1, x_705); +x_708 = lean_array_push(x_613, x_707); +x_709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_709, 0, x_615); +lean_ctor_set(x_709, 1, x_708); +x_710 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_711 = l_Lean_addMacroScope(x_604, x_710, x_603); +x_712 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_713 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_602); +x_714 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_714, 0, x_602); +lean_ctor_set(x_714, 1, x_712); +lean_ctor_set(x_714, 2, x_711); +lean_ctor_set(x_714, 3, x_713); +x_715 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_716 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_716, 0, x_602); +lean_ctor_set(x_716, 1, x_715); +x_717 = lean_array_push(x_630, x_716); +x_718 = lean_array_push(x_717, x_640); +x_719 = lean_array_push(x_718, x_683); +x_720 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_720); +lean_ctor_set(x_721, 1, x_719); +x_722 = lean_array_push(x_613, x_721); +x_723 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_723, 0, x_615); +lean_ctor_set(x_723, 1, x_722); +x_724 = lean_array_push(x_617, x_714); +x_725 = lean_array_push(x_724, x_723); +x_726 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_726, 0, x_7); +lean_ctor_set(x_726, 1, x_725); +x_727 = lean_array_push(x_697, x_709); +x_728 = lean_array_push(x_727, x_692); +x_729 = lean_array_push(x_728, x_726); +x_730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_730, 0, x_701); +lean_ctor_set(x_730, 1, x_729); +x_731 = lean_array_push(x_617, x_702); +x_732 = lean_array_push(x_731, x_730); +x_733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_733, 0, x_615); +lean_ctor_set(x_733, 1, x_732); +x_734 = lean_array_push(x_613, x_733); +x_735 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_736 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_736, 0, x_735); +lean_ctor_set(x_736, 1, x_734); +x_737 = lean_array_push(x_617, x_677); +x_738 = lean_array_push(x_737, x_736); +x_739 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_740 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_738); +x_741 = lean_array_push(x_630, x_675); +x_742 = lean_array_push(x_741, x_740); +x_743 = lean_array_push(x_742, x_640); +x_744 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_745 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_745, 0, x_744); +lean_ctor_set(x_745, 1, x_743); +x_746 = lean_array_push(x_696, x_648); +x_747 = lean_array_push(x_746, x_656); +x_748 = lean_array_push(x_747, x_673); +x_749 = lean_array_push(x_748, x_745); +x_750 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_751, 0, x_750); +lean_ctor_set(x_751, 1, x_749); +x_752 = lean_array_push(x_617, x_646); +x_753 = lean_array_push(x_752, x_751); +x_754 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_755, 0, x_754); +lean_ctor_set(x_755, 1, x_753); +x_756 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_756, 0, x_755); +lean_ctor_set(x_444, 0, x_756); +return x_444; +} +} +else +{ +lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; +x_757 = lean_ctor_get(x_444, 0); +x_758 = lean_ctor_get(x_444, 1); +lean_inc(x_758); +lean_inc(x_757); +lean_dec(x_444); +x_759 = lean_ctor_get(x_757, 0); +lean_inc(x_759); +if (lean_is_exclusive(x_757)) { + lean_ctor_release(x_757, 0); + x_760 = x_757; +} else { + lean_dec_ref(x_757); + x_760 = lean_box(0); +} +x_761 = lean_ctor_get(x_5, 2); +lean_inc(x_761); +x_762 = lean_ctor_get(x_5, 1); +lean_inc(x_762); +lean_dec(x_5); +x_763 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_759); +x_764 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_764, 0, x_759); +lean_ctor_set(x_764, 1, x_763); +x_765 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_761); +lean_inc(x_762); +x_766 = l_Lean_addMacroScope(x_762, x_765, x_761); +x_767 = lean_box(0); +x_768 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_759); +x_769 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_769, 0, x_759); +lean_ctor_set(x_769, 1, x_768); +lean_ctor_set(x_769, 2, x_766); +lean_ctor_set(x_769, 3, x_767); +x_770 = lean_mk_syntax_ident(x_434); +x_771 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_772 = lean_array_push(x_771, x_770); +x_773 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_774 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_774, 0, x_773); +lean_ctor_set(x_774, 1, x_772); +x_775 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_776 = lean_array_push(x_775, x_769); +x_777 = lean_array_push(x_776, x_774); +x_778 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_779 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_777); +x_780 = lean_array_push(x_775, x_1); +x_781 = lean_array_push(x_780, x_779); +x_782 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_782); +lean_ctor_set(x_783, 1, x_781); +x_784 = lean_array_push(x_771, x_783); +x_785 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_785, 0, x_773); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_759); +x_787 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_787, 0, x_759); +lean_ctor_set(x_787, 1, x_786); +x_788 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_789 = lean_array_push(x_788, x_764); +x_790 = lean_array_push(x_789, x_785); +x_791 = lean_array_push(x_790, x_787); +x_792 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_793 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_793, 0, x_792); +lean_ctor_set(x_793, 1, x_791); +x_794 = lean_array_push(x_771, x_793); +x_795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_795, 0, x_773); +lean_ctor_set(x_795, 1, x_794); +x_796 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_797 = lean_array_push(x_796, x_795); +x_798 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_799 = lean_array_push(x_797, x_798); +x_800 = lean_array_push(x_799, x_798); +x_801 = lean_array_push(x_800, x_798); +x_802 = lean_array_push(x_801, x_798); +x_803 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_802); +x_805 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_759); +x_806 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_806, 0, x_759); +lean_ctor_set(x_806, 1, x_805); +x_807 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_761); +lean_inc(x_762); +x_808 = l_Lean_addMacroScope(x_762, x_807, x_761); +x_809 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_759); +x_810 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_810, 0, x_759); +lean_ctor_set(x_810, 1, x_809); +lean_ctor_set(x_810, 2, x_808); +lean_ctor_set(x_810, 3, x_767); +x_811 = lean_array_push(x_775, x_810); +x_812 = lean_array_push(x_811, x_798); +x_813 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_814, 0, x_813); +lean_ctor_set(x_814, 1, x_812); +x_815 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_759); +x_816 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_816, 0, x_759); +lean_ctor_set(x_816, 1, x_815); +x_817 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_761); +lean_inc(x_762); +x_818 = l_Lean_addMacroScope(x_762, x_817, x_761); +x_819 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_820 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_759); +x_821 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_821, 0, x_759); +lean_ctor_set(x_821, 1, x_819); +lean_ctor_set(x_821, 2, x_818); +lean_ctor_set(x_821, 3, x_820); +x_822 = lean_array_push(x_775, x_816); +x_823 = lean_array_push(x_822, x_821); +x_824 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_825 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_825, 0, x_824); +lean_ctor_set(x_825, 1, x_823); +x_826 = lean_array_push(x_771, x_825); +x_827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_827, 0, x_773); +lean_ctor_set(x_827, 1, x_826); +x_828 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_829 = lean_array_push(x_828, x_827); +x_830 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_831 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_831, 0, x_830); +lean_ctor_set(x_831, 1, x_829); +x_832 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_759); +x_833 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_833, 0, x_759); +lean_ctor_set(x_833, 1, x_832); +x_834 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_759); +x_835 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_835, 0, x_759); +lean_ctor_set(x_835, 1, x_834); +x_836 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_759); +x_837 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_837, 0, x_759); +lean_ctor_set(x_837, 1, x_836); +x_838 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_759); +x_839 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_839, 0, x_759); +lean_ctor_set(x_839, 1, x_838); +x_840 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_759); +x_841 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_841, 0, x_759); +lean_ctor_set(x_841, 1, x_840); +x_842 = lean_array_push(x_788, x_839); +lean_inc(x_842); +x_843 = lean_array_push(x_842, x_443); +lean_inc(x_841); +x_844 = lean_array_push(x_843, x_841); +x_845 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_846 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_846, 0, x_845); +lean_ctor_set(x_846, 1, x_844); +x_847 = lean_array_push(x_771, x_846); +x_848 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_848, 0, x_773); +lean_ctor_set(x_848, 1, x_847); +x_849 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_759); +x_850 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_850, 0, x_759); +lean_ctor_set(x_850, 1, x_849); +x_851 = lean_array_push(x_842, x_3); +lean_inc(x_841); +x_852 = lean_array_push(x_851, x_841); +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_845); +lean_ctor_set(x_853, 1, x_852); +x_854 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_855 = lean_array_push(x_854, x_837); +lean_inc(x_855); +x_856 = lean_array_push(x_855, x_848); +lean_inc(x_850); +x_857 = lean_array_push(x_856, x_850); +x_858 = lean_array_push(x_857, x_853); +x_859 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_860 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_860, 0, x_859); +lean_ctor_set(x_860, 1, x_858); +x_861 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_759); +x_862 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_862, 0, x_759); +lean_ctor_set(x_862, 1, x_861); +x_863 = lean_array_push(x_771, x_862); +x_864 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_864); +lean_ctor_set(x_865, 1, x_863); +x_866 = lean_array_push(x_771, x_865); +x_867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_867, 0, x_773); +lean_ctor_set(x_867, 1, x_866); +x_868 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_869 = l_Lean_addMacroScope(x_762, x_868, x_761); +x_870 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_871 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_759); +x_872 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_872, 0, x_759); +lean_ctor_set(x_872, 1, x_870); +lean_ctor_set(x_872, 2, x_869); +lean_ctor_set(x_872, 3, x_871); +x_873 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_874 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_874, 0, x_759); +lean_ctor_set(x_874, 1, x_873); +x_875 = lean_array_push(x_788, x_874); +x_876 = lean_array_push(x_875, x_798); +x_877 = lean_array_push(x_876, x_841); +x_878 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +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 = lean_array_push(x_771, x_879); +x_881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_881, 0, x_773); +lean_ctor_set(x_881, 1, x_880); +x_882 = lean_array_push(x_775, x_872); +x_883 = lean_array_push(x_882, x_881); +x_884 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_884, 0, x_7); +lean_ctor_set(x_884, 1, x_883); +x_885 = lean_array_push(x_855, x_867); +x_886 = lean_array_push(x_885, x_850); +x_887 = lean_array_push(x_886, x_884); +x_888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_888, 0, x_859); +lean_ctor_set(x_888, 1, x_887); +x_889 = lean_array_push(x_775, x_860); +x_890 = lean_array_push(x_889, x_888); +x_891 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_891, 0, x_773); +lean_ctor_set(x_891, 1, x_890); +x_892 = lean_array_push(x_771, x_891); +x_893 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_894, 0, x_893); +lean_ctor_set(x_894, 1, x_892); +x_895 = lean_array_push(x_775, x_835); +x_896 = lean_array_push(x_895, x_894); +x_897 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_898 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_898, 0, x_897); +lean_ctor_set(x_898, 1, x_896); +x_899 = lean_array_push(x_788, x_833); +x_900 = lean_array_push(x_899, x_898); +x_901 = lean_array_push(x_900, x_798); +x_902 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_903, 0, x_902); +lean_ctor_set(x_903, 1, x_901); +x_904 = lean_array_push(x_854, x_806); +x_905 = lean_array_push(x_904, x_814); +x_906 = lean_array_push(x_905, x_831); +x_907 = lean_array_push(x_906, x_903); +x_908 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_909, 0, x_908); +lean_ctor_set(x_909, 1, x_907); +x_910 = lean_array_push(x_775, x_804); +x_911 = lean_array_push(x_910, x_909); +x_912 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_911); +if (lean_is_scalar(x_760)) { + x_914 = lean_alloc_ctor(1, 1, 0); +} else { + x_914 = x_760; +} +lean_ctor_set(x_914, 0, x_913); +x_915 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_915, 0, x_914); +lean_ctor_set(x_915, 1, x_758); +return x_915; +} +} +} +} +} +else +{ +uint8_t x_967; +x_967 = lean_nat_dec_le(x_435, x_435); +if (x_967 == 0) +{ +uint8_t x_968; +lean_dec(x_435); +x_968 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_968 == 0) +{ +lean_object* x_969; +lean_dec(x_434); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_969 = lean_box(0); +lean_ctor_set(x_420, 0, x_969); +return x_420; +} +else +{ +lean_object* x_970; lean_object* x_971; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; uint8_t x_1482; +lean_free_object(x_420); +x_1479 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); +x_1480 = lean_ctor_get(x_1479, 0); +lean_inc(x_1480); +x_1481 = lean_ctor_get(x_1479, 1); +lean_inc(x_1481); +lean_dec(x_1479); +x_1482 = !lean_is_exclusive(x_1480); +if (x_1482 == 0) +{ +lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; +x_1483 = lean_ctor_get(x_1480, 0); +x_1484 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_1485 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1485, 0, x_1483); +lean_ctor_set(x_1485, 1, x_1484); +x_1486 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1487 = lean_array_push(x_1486, x_1485); +x_1488 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1489, 0, x_1488); +lean_ctor_set(x_1489, 1, x_1487); +lean_ctor_set(x_1480, 0, x_1489); +x_970 = x_1480; +x_971 = x_1481; +goto block_1478; +} +else +{ +lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; +x_1490 = lean_ctor_get(x_1480, 0); +lean_inc(x_1490); +lean_dec(x_1480); +x_1491 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_1492 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1492, 0, x_1490); +lean_ctor_set(x_1492, 1, x_1491); +x_1493 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1494 = lean_array_push(x_1493, x_1492); +x_1495 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1496 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1496, 0, x_1495); +lean_ctor_set(x_1496, 1, x_1494); +x_1497 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1497, 0, x_1496); +x_970 = x_1497; +x_971 = x_1481; +goto block_1478; +} +block_1478: +{ +lean_object* x_972; lean_object* x_973; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; uint8_t x_1451; +x_1448 = lean_ctor_get(x_970, 0); +lean_inc(x_1448); +lean_dec(x_970); +x_1449 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_971); +x_1450 = lean_ctor_get(x_1449, 0); +lean_inc(x_1450); +x_1451 = !lean_is_exclusive(x_1450); +if (x_1451 == 0) +{ +lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; +x_1452 = lean_ctor_get(x_1450, 0); +lean_dec(x_1452); +x_1453 = lean_ctor_get(x_1449, 1); +lean_inc(x_1453); +lean_dec(x_1449); +x_1454 = lean_box(0); +x_1455 = lean_box(0); +x_1456 = l_Lean_Syntax_mkAntiquotNode(x_1448, x_410, x_1454, x_1455); +x_1457 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1458 = l_Array_append___rarg(x_1457, x_418); +lean_dec(x_418); +x_1459 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1460, 0, x_1459); +lean_ctor_set(x_1460, 1, x_1458); +x_1461 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1462 = lean_array_push(x_1461, x_1456); +x_1463 = lean_array_push(x_1462, x_1460); +x_1464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1464, 0, x_7); +lean_ctor_set(x_1464, 1, x_1463); +lean_ctor_set(x_1450, 0, x_1464); +x_972 = x_1450; +x_973 = x_1453; +goto block_1447; +} +else +{ +lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; +lean_dec(x_1450); +x_1465 = lean_ctor_get(x_1449, 1); +lean_inc(x_1465); +lean_dec(x_1449); +x_1466 = lean_box(0); +x_1467 = lean_box(0); +x_1468 = l_Lean_Syntax_mkAntiquotNode(x_1448, x_410, x_1466, x_1467); +x_1469 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1470 = l_Array_append___rarg(x_1469, x_418); +lean_dec(x_418); +x_1471 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1472, 0, x_1471); +lean_ctor_set(x_1472, 1, x_1470); +x_1473 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1474 = lean_array_push(x_1473, x_1468); +x_1475 = lean_array_push(x_1474, x_1472); +x_1476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1476, 0, x_7); +lean_ctor_set(x_1476, 1, x_1475); +x_1477 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1477, 0, x_1476); +x_972 = x_1477; +x_973 = x_1465; +goto block_1447; +} +block_1447: +{ +lean_object* x_974; lean_object* x_975; uint8_t x_976; +x_974 = lean_ctor_get(x_972, 0); +lean_inc(x_974); +lean_dec(x_972); +x_975 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_973); +x_976 = !lean_is_exclusive(x_975); +if (x_976 == 0) +{ +lean_object* x_977; uint8_t x_978; +x_977 = lean_ctor_get(x_975, 0); +x_978 = !lean_is_exclusive(x_977); +if (x_978 == 0) +{ +lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; +x_979 = lean_ctor_get(x_977, 0); +x_980 = lean_ctor_get(x_5, 2); +lean_inc(x_980); +x_981 = lean_ctor_get(x_5, 1); +lean_inc(x_981); +lean_dec(x_5); +x_982 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_979); +x_983 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_983, 0, x_979); +lean_ctor_set(x_983, 1, x_982); +x_984 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_980); +lean_inc(x_981); +x_985 = l_Lean_addMacroScope(x_981, x_984, x_980); +x_986 = lean_box(0); +x_987 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_979); +x_988 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_988, 0, x_979); +lean_ctor_set(x_988, 1, x_987); +lean_ctor_set(x_988, 2, x_985); +lean_ctor_set(x_988, 3, x_986); +x_989 = lean_mk_syntax_ident(x_434); +x_990 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_991 = lean_array_push(x_990, x_989); +x_992 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_992); +lean_ctor_set(x_993, 1, x_991); +x_994 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_995 = lean_array_push(x_994, x_988); +x_996 = lean_array_push(x_995, x_993); +x_997 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_998 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_998, 0, x_997); +lean_ctor_set(x_998, 1, x_996); +x_999 = lean_array_push(x_994, x_1); +x_1000 = lean_array_push(x_999, x_998); +x_1001 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1002 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1002, 0, x_1001); +lean_ctor_set(x_1002, 1, x_1000); +x_1003 = lean_array_push(x_990, x_1002); +x_1004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1004, 0, x_992); +lean_ctor_set(x_1004, 1, x_1003); +x_1005 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_979); +x_1006 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1006, 0, x_979); +lean_ctor_set(x_1006, 1, x_1005); +x_1007 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1008 = lean_array_push(x_1007, x_983); +x_1009 = lean_array_push(x_1008, x_1004); +x_1010 = lean_array_push(x_1009, x_1006); +x_1011 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1012 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1012, 0, x_1011); +lean_ctor_set(x_1012, 1, x_1010); +x_1013 = lean_array_push(x_990, x_1012); +x_1014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1014, 0, x_992); +lean_ctor_set(x_1014, 1, x_1013); +x_1015 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1016 = lean_array_push(x_1015, x_1014); +x_1017 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1018 = lean_array_push(x_1016, x_1017); +x_1019 = lean_array_push(x_1018, x_1017); +x_1020 = lean_array_push(x_1019, x_1017); +x_1021 = lean_array_push(x_1020, x_1017); +x_1022 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1023, 0, x_1022); +lean_ctor_set(x_1023, 1, x_1021); +x_1024 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_979); +x_1025 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1025, 0, x_979); +lean_ctor_set(x_1025, 1, x_1024); +x_1026 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_980); +lean_inc(x_981); +x_1027 = l_Lean_addMacroScope(x_981, x_1026, x_980); +x_1028 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_979); +x_1029 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1029, 0, x_979); +lean_ctor_set(x_1029, 1, x_1028); +lean_ctor_set(x_1029, 2, x_1027); +lean_ctor_set(x_1029, 3, x_986); +x_1030 = lean_array_push(x_994, x_1029); +x_1031 = lean_array_push(x_1030, x_1017); +x_1032 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +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_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_979); +x_1035 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1035, 0, x_979); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_980); +lean_inc(x_981); +x_1037 = l_Lean_addMacroScope(x_981, x_1036, x_980); +x_1038 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1039 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_979); +x_1040 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1040, 0, x_979); +lean_ctor_set(x_1040, 1, x_1038); +lean_ctor_set(x_1040, 2, x_1037); +lean_ctor_set(x_1040, 3, x_1039); +x_1041 = lean_array_push(x_994, x_1035); +x_1042 = lean_array_push(x_1041, x_1040); +x_1043 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1044, 0, x_1043); +lean_ctor_set(x_1044, 1, x_1042); +x_1045 = lean_array_push(x_990, x_1044); +x_1046 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1046, 0, x_992); +lean_ctor_set(x_1046, 1, x_1045); +x_1047 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1048 = lean_array_push(x_1047, x_1046); +x_1049 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1050 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1050, 0, x_1049); +lean_ctor_set(x_1050, 1, x_1048); +x_1051 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_979); +x_1052 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1052, 0, x_979); +lean_ctor_set(x_1052, 1, x_1051); +x_1053 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_979); +x_1054 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1054, 0, x_979); +lean_ctor_set(x_1054, 1, x_1053); +x_1055 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_979); +x_1056 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1056, 0, x_979); +lean_ctor_set(x_1056, 1, x_1055); +x_1057 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_979); +x_1058 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1058, 0, x_979); +lean_ctor_set(x_1058, 1, x_1057); +x_1059 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_979); +x_1060 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1060, 0, x_979); +lean_ctor_set(x_1060, 1, x_1059); +x_1061 = lean_array_push(x_1007, x_1058); +lean_inc(x_1061); +x_1062 = lean_array_push(x_1061, x_974); +lean_inc(x_1060); +x_1063 = lean_array_push(x_1062, x_1060); +x_1064 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1065, 0, x_1064); +lean_ctor_set(x_1065, 1, x_1063); +x_1066 = lean_array_push(x_990, x_1065); +x_1067 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1067, 0, x_992); +lean_ctor_set(x_1067, 1, x_1066); +x_1068 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_979); +x_1069 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1069, 0, x_979); +lean_ctor_set(x_1069, 1, x_1068); +x_1070 = lean_array_push(x_1061, x_3); +lean_inc(x_1060); +x_1071 = lean_array_push(x_1070, x_1060); +x_1072 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1072, 0, x_1064); +lean_ctor_set(x_1072, 1, x_1071); +x_1073 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1074 = lean_array_push(x_1073, x_1056); +lean_inc(x_1074); +x_1075 = lean_array_push(x_1074, x_1067); +lean_inc(x_1069); +x_1076 = lean_array_push(x_1075, x_1069); +x_1077 = lean_array_push(x_1076, x_1072); +x_1078 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1079 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1079, 0, x_1078); +lean_ctor_set(x_1079, 1, x_1077); +x_1080 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_979); +x_1081 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1081, 0, x_979); +lean_ctor_set(x_1081, 1, x_1080); +x_1082 = lean_array_push(x_990, x_1081); +x_1083 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1084, 0, x_1083); +lean_ctor_set(x_1084, 1, x_1082); +x_1085 = lean_array_push(x_990, x_1084); +x_1086 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1086, 0, x_992); +lean_ctor_set(x_1086, 1, x_1085); +x_1087 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1088 = l_Lean_addMacroScope(x_981, x_1087, x_980); +x_1089 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1090 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_979); +x_1091 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1091, 0, x_979); +lean_ctor_set(x_1091, 1, x_1089); +lean_ctor_set(x_1091, 2, x_1088); +lean_ctor_set(x_1091, 3, x_1090); +x_1092 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1093 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1093, 0, x_979); +lean_ctor_set(x_1093, 1, x_1092); +x_1094 = lean_array_push(x_1007, x_1093); +x_1095 = lean_array_push(x_1094, x_1017); +x_1096 = lean_array_push(x_1095, x_1060); +x_1097 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1098 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1098, 0, x_1097); +lean_ctor_set(x_1098, 1, x_1096); +x_1099 = lean_array_push(x_990, x_1098); +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_992); +lean_ctor_set(x_1100, 1, x_1099); +x_1101 = lean_array_push(x_994, x_1091); +x_1102 = lean_array_push(x_1101, x_1100); +x_1103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1103, 0, x_7); +lean_ctor_set(x_1103, 1, x_1102); +x_1104 = lean_array_push(x_1074, x_1086); +x_1105 = lean_array_push(x_1104, x_1069); +x_1106 = lean_array_push(x_1105, x_1103); +x_1107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1107, 0, x_1078); +lean_ctor_set(x_1107, 1, x_1106); +x_1108 = lean_array_push(x_994, x_1079); +x_1109 = lean_array_push(x_1108, x_1107); +x_1110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1110, 0, x_992); +lean_ctor_set(x_1110, 1, x_1109); +x_1111 = lean_array_push(x_990, x_1110); +x_1112 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1113, 0, x_1112); +lean_ctor_set(x_1113, 1, x_1111); +x_1114 = lean_array_push(x_994, x_1054); +x_1115 = lean_array_push(x_1114, x_1113); +x_1116 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1117, 0, x_1116); +lean_ctor_set(x_1117, 1, x_1115); +x_1118 = lean_array_push(x_1007, x_1052); +x_1119 = lean_array_push(x_1118, x_1117); +x_1120 = lean_array_push(x_1119, x_1017); +x_1121 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1122, 0, x_1121); +lean_ctor_set(x_1122, 1, x_1120); +x_1123 = lean_array_push(x_1073, x_1025); +x_1124 = lean_array_push(x_1123, x_1033); +x_1125 = lean_array_push(x_1124, x_1050); +x_1126 = lean_array_push(x_1125, x_1122); +x_1127 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1128, 0, x_1127); +lean_ctor_set(x_1128, 1, x_1126); +x_1129 = lean_array_push(x_994, x_1023); +x_1130 = lean_array_push(x_1129, x_1128); +x_1131 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1132, 0, x_1131); +lean_ctor_set(x_1132, 1, x_1130); +lean_ctor_set(x_977, 0, x_1132); +return x_975; +} +else +{ +lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; +x_1133 = lean_ctor_get(x_977, 0); +lean_inc(x_1133); +lean_dec(x_977); +x_1134 = lean_ctor_get(x_5, 2); +lean_inc(x_1134); +x_1135 = lean_ctor_get(x_5, 1); +lean_inc(x_1135); +lean_dec(x_5); +x_1136 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1133); +x_1137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1137, 0, x_1133); +lean_ctor_set(x_1137, 1, x_1136); +x_1138 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1134); +lean_inc(x_1135); +x_1139 = l_Lean_addMacroScope(x_1135, x_1138, x_1134); +x_1140 = lean_box(0); +x_1141 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_1133); +x_1142 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1142, 0, x_1133); +lean_ctor_set(x_1142, 1, x_1141); +lean_ctor_set(x_1142, 2, x_1139); +lean_ctor_set(x_1142, 3, x_1140); +x_1143 = lean_mk_syntax_ident(x_434); +x_1144 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1145 = lean_array_push(x_1144, x_1143); +x_1146 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1147, 0, x_1146); +lean_ctor_set(x_1147, 1, x_1145); +x_1148 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1149 = lean_array_push(x_1148, x_1142); +x_1150 = lean_array_push(x_1149, x_1147); +x_1151 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1152, 0, x_1151); +lean_ctor_set(x_1152, 1, x_1150); +x_1153 = lean_array_push(x_1148, x_1); +x_1154 = lean_array_push(x_1153, x_1152); +x_1155 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1156, 0, x_1155); +lean_ctor_set(x_1156, 1, x_1154); +x_1157 = lean_array_push(x_1144, x_1156); +x_1158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1158, 0, x_1146); +lean_ctor_set(x_1158, 1, x_1157); +x_1159 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1133); +x_1160 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1160, 0, x_1133); +lean_ctor_set(x_1160, 1, x_1159); +x_1161 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1162 = lean_array_push(x_1161, x_1137); +x_1163 = lean_array_push(x_1162, x_1158); +x_1164 = lean_array_push(x_1163, x_1160); +x_1165 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1166, 0, x_1165); +lean_ctor_set(x_1166, 1, x_1164); +x_1167 = lean_array_push(x_1144, x_1166); +x_1168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1168, 0, x_1146); +lean_ctor_set(x_1168, 1, x_1167); +x_1169 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1170 = lean_array_push(x_1169, x_1168); +x_1171 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1172 = lean_array_push(x_1170, x_1171); +x_1173 = lean_array_push(x_1172, x_1171); +x_1174 = lean_array_push(x_1173, x_1171); +x_1175 = lean_array_push(x_1174, x_1171); +x_1176 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1177, 0, x_1176); +lean_ctor_set(x_1177, 1, x_1175); +x_1178 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_1133); +x_1179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1179, 0, x_1133); +lean_ctor_set(x_1179, 1, x_1178); +x_1180 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_1134); +lean_inc(x_1135); +x_1181 = l_Lean_addMacroScope(x_1135, x_1180, x_1134); +x_1182 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_1133); +x_1183 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1183, 0, x_1133); +lean_ctor_set(x_1183, 1, x_1182); +lean_ctor_set(x_1183, 2, x_1181); +lean_ctor_set(x_1183, 3, x_1140); +x_1184 = lean_array_push(x_1148, x_1183); +x_1185 = lean_array_push(x_1184, x_1171); +x_1186 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1187, 0, x_1186); +lean_ctor_set(x_1187, 1, x_1185); +x_1188 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1133); +x_1189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1189, 0, x_1133); +lean_ctor_set(x_1189, 1, x_1188); +x_1190 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_1134); +lean_inc(x_1135); +x_1191 = l_Lean_addMacroScope(x_1135, x_1190, x_1134); +x_1192 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1193 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_1133); +x_1194 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1194, 0, x_1133); +lean_ctor_set(x_1194, 1, x_1192); +lean_ctor_set(x_1194, 2, x_1191); +lean_ctor_set(x_1194, 3, x_1193); +x_1195 = lean_array_push(x_1148, x_1189); +x_1196 = lean_array_push(x_1195, x_1194); +x_1197 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1197); +lean_ctor_set(x_1198, 1, x_1196); +x_1199 = lean_array_push(x_1144, x_1198); +x_1200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1200, 0, x_1146); +lean_ctor_set(x_1200, 1, x_1199); +x_1201 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1202 = lean_array_push(x_1201, x_1200); +x_1203 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1203); +lean_ctor_set(x_1204, 1, x_1202); +x_1205 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_1133); +x_1206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1206, 0, x_1133); +lean_ctor_set(x_1206, 1, x_1205); +x_1207 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1133); +x_1208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1208, 0, x_1133); +lean_ctor_set(x_1208, 1, x_1207); +x_1209 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_1133); +x_1210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1210, 0, x_1133); +lean_ctor_set(x_1210, 1, x_1209); +x_1211 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_1133); +x_1212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1212, 0, x_1133); +lean_ctor_set(x_1212, 1, x_1211); +x_1213 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1133); +x_1214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1214, 0, x_1133); +lean_ctor_set(x_1214, 1, x_1213); +x_1215 = lean_array_push(x_1161, x_1212); +lean_inc(x_1215); +x_1216 = lean_array_push(x_1215, x_974); +lean_inc(x_1214); +x_1217 = lean_array_push(x_1216, x_1214); +x_1218 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1219, 0, x_1218); +lean_ctor_set(x_1219, 1, x_1217); +x_1220 = lean_array_push(x_1144, x_1219); +x_1221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1221, 0, x_1146); +lean_ctor_set(x_1221, 1, x_1220); +x_1222 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1133); +x_1223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1223, 0, x_1133); +lean_ctor_set(x_1223, 1, x_1222); +x_1224 = lean_array_push(x_1215, x_3); +lean_inc(x_1214); +x_1225 = lean_array_push(x_1224, x_1214); +x_1226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1226, 0, x_1218); +lean_ctor_set(x_1226, 1, x_1225); +x_1227 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1228 = lean_array_push(x_1227, x_1210); +lean_inc(x_1228); +x_1229 = lean_array_push(x_1228, x_1221); +lean_inc(x_1223); +x_1230 = lean_array_push(x_1229, x_1223); +x_1231 = lean_array_push(x_1230, x_1226); +x_1232 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1233, 0, x_1232); +lean_ctor_set(x_1233, 1, x_1231); +x_1234 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1133); +x_1235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1235, 0, x_1133); +lean_ctor_set(x_1235, 1, x_1234); +x_1236 = lean_array_push(x_1144, x_1235); +x_1237 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1238, 0, x_1237); +lean_ctor_set(x_1238, 1, x_1236); +x_1239 = lean_array_push(x_1144, x_1238); +x_1240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1240, 0, x_1146); +lean_ctor_set(x_1240, 1, x_1239); +x_1241 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1242 = l_Lean_addMacroScope(x_1135, x_1241, x_1134); +x_1243 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1244 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_1133); +x_1245 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1245, 0, x_1133); +lean_ctor_set(x_1245, 1, x_1243); +lean_ctor_set(x_1245, 2, x_1242); +lean_ctor_set(x_1245, 3, x_1244); +x_1246 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1247 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1247, 0, x_1133); +lean_ctor_set(x_1247, 1, x_1246); +x_1248 = lean_array_push(x_1161, x_1247); +x_1249 = lean_array_push(x_1248, x_1171); +x_1250 = lean_array_push(x_1249, x_1214); +x_1251 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1252, 0, x_1251); +lean_ctor_set(x_1252, 1, x_1250); +x_1253 = lean_array_push(x_1144, x_1252); +x_1254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1254, 0, x_1146); +lean_ctor_set(x_1254, 1, x_1253); +x_1255 = lean_array_push(x_1148, x_1245); +x_1256 = lean_array_push(x_1255, x_1254); +x_1257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1257, 0, x_7); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = lean_array_push(x_1228, x_1240); +x_1259 = lean_array_push(x_1258, x_1223); +x_1260 = lean_array_push(x_1259, x_1257); +x_1261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1261, 0, x_1232); +lean_ctor_set(x_1261, 1, x_1260); +x_1262 = lean_array_push(x_1148, x_1233); +x_1263 = lean_array_push(x_1262, x_1261); +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1146); +lean_ctor_set(x_1264, 1, x_1263); +x_1265 = lean_array_push(x_1144, x_1264); +x_1266 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1267, 0, x_1266); +lean_ctor_set(x_1267, 1, x_1265); +x_1268 = lean_array_push(x_1148, x_1208); +x_1269 = lean_array_push(x_1268, x_1267); +x_1270 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1271, 0, x_1270); +lean_ctor_set(x_1271, 1, x_1269); +x_1272 = lean_array_push(x_1161, x_1206); +x_1273 = lean_array_push(x_1272, x_1271); +x_1274 = lean_array_push(x_1273, x_1171); +x_1275 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1276, 0, x_1275); +lean_ctor_set(x_1276, 1, x_1274); +x_1277 = lean_array_push(x_1227, x_1179); +x_1278 = lean_array_push(x_1277, x_1187); +x_1279 = lean_array_push(x_1278, x_1204); +x_1280 = lean_array_push(x_1279, x_1276); +x_1281 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1281); +lean_ctor_set(x_1282, 1, x_1280); +x_1283 = lean_array_push(x_1148, x_1177); +x_1284 = lean_array_push(x_1283, x_1282); +x_1285 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1286, 0, x_1285); +lean_ctor_set(x_1286, 1, x_1284); +x_1287 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1287, 0, x_1286); +lean_ctor_set(x_975, 0, x_1287); +return x_975; +} +} +else +{ +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; +x_1288 = lean_ctor_get(x_975, 0); +x_1289 = lean_ctor_get(x_975, 1); +lean_inc(x_1289); +lean_inc(x_1288); +lean_dec(x_975); +x_1290 = lean_ctor_get(x_1288, 0); +lean_inc(x_1290); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + x_1291 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1291 = lean_box(0); +} +x_1292 = lean_ctor_get(x_5, 2); +lean_inc(x_1292); +x_1293 = lean_ctor_get(x_5, 1); +lean_inc(x_1293); +lean_dec(x_5); +x_1294 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1290); +x_1295 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1295, 0, x_1290); +lean_ctor_set(x_1295, 1, x_1294); +x_1296 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1292); +lean_inc(x_1293); +x_1297 = l_Lean_addMacroScope(x_1293, x_1296, x_1292); +x_1298 = lean_box(0); +x_1299 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_1290); +x_1300 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1300, 0, x_1290); +lean_ctor_set(x_1300, 1, x_1299); +lean_ctor_set(x_1300, 2, x_1297); +lean_ctor_set(x_1300, 3, x_1298); +x_1301 = lean_mk_syntax_ident(x_434); +x_1302 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1303 = lean_array_push(x_1302, x_1301); +x_1304 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1305, 0, x_1304); +lean_ctor_set(x_1305, 1, x_1303); +x_1306 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1307 = lean_array_push(x_1306, x_1300); +x_1308 = lean_array_push(x_1307, x_1305); +x_1309 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1310, 0, x_1309); +lean_ctor_set(x_1310, 1, x_1308); +x_1311 = lean_array_push(x_1306, x_1); +x_1312 = lean_array_push(x_1311, x_1310); +x_1313 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1314, 0, x_1313); +lean_ctor_set(x_1314, 1, x_1312); +x_1315 = lean_array_push(x_1302, x_1314); +x_1316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1316, 0, x_1304); +lean_ctor_set(x_1316, 1, x_1315); +x_1317 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1290); +x_1318 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1318, 0, x_1290); +lean_ctor_set(x_1318, 1, x_1317); +x_1319 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1320 = lean_array_push(x_1319, x_1295); +x_1321 = lean_array_push(x_1320, x_1316); +x_1322 = lean_array_push(x_1321, x_1318); +x_1323 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1324, 0, x_1323); +lean_ctor_set(x_1324, 1, x_1322); +x_1325 = lean_array_push(x_1302, x_1324); +x_1326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1326, 0, x_1304); +lean_ctor_set(x_1326, 1, x_1325); +x_1327 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1328 = lean_array_push(x_1327, x_1326); +x_1329 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1330 = lean_array_push(x_1328, x_1329); +x_1331 = lean_array_push(x_1330, x_1329); +x_1332 = lean_array_push(x_1331, x_1329); +x_1333 = lean_array_push(x_1332, x_1329); +x_1334 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1335 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1335, 0, x_1334); +lean_ctor_set(x_1335, 1, x_1333); +x_1336 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_1290); +x_1337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1337, 0, x_1290); +lean_ctor_set(x_1337, 1, x_1336); +x_1338 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_1292); +lean_inc(x_1293); +x_1339 = l_Lean_addMacroScope(x_1293, x_1338, x_1292); +x_1340 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_1290); +x_1341 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1341, 0, x_1290); +lean_ctor_set(x_1341, 1, x_1340); +lean_ctor_set(x_1341, 2, x_1339); +lean_ctor_set(x_1341, 3, x_1298); +x_1342 = lean_array_push(x_1306, x_1341); +x_1343 = lean_array_push(x_1342, x_1329); +x_1344 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1345, 0, x_1344); +lean_ctor_set(x_1345, 1, x_1343); +x_1346 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1290); +x_1347 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1347, 0, x_1290); +lean_ctor_set(x_1347, 1, x_1346); +x_1348 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_1292); +lean_inc(x_1293); +x_1349 = l_Lean_addMacroScope(x_1293, x_1348, x_1292); +x_1350 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1351 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_1290); +x_1352 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1352, 0, x_1290); +lean_ctor_set(x_1352, 1, x_1350); +lean_ctor_set(x_1352, 2, x_1349); +lean_ctor_set(x_1352, 3, x_1351); +x_1353 = lean_array_push(x_1306, x_1347); +x_1354 = lean_array_push(x_1353, x_1352); +x_1355 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1356, 0, x_1355); +lean_ctor_set(x_1356, 1, x_1354); +x_1357 = lean_array_push(x_1302, x_1356); +x_1358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1358, 0, x_1304); +lean_ctor_set(x_1358, 1, x_1357); +x_1359 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1360 = lean_array_push(x_1359, x_1358); +x_1361 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1362, 0, x_1361); +lean_ctor_set(x_1362, 1, x_1360); +x_1363 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_1290); +x_1364 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1364, 0, x_1290); +lean_ctor_set(x_1364, 1, x_1363); +x_1365 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1290); +x_1366 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1366, 0, x_1290); +lean_ctor_set(x_1366, 1, x_1365); +x_1367 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_1290); +x_1368 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1368, 0, x_1290); +lean_ctor_set(x_1368, 1, x_1367); +x_1369 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_1290); +x_1370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1370, 0, x_1290); +lean_ctor_set(x_1370, 1, x_1369); +x_1371 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1290); +x_1372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1372, 0, x_1290); +lean_ctor_set(x_1372, 1, x_1371); +x_1373 = lean_array_push(x_1319, x_1370); +lean_inc(x_1373); +x_1374 = lean_array_push(x_1373, x_974); +lean_inc(x_1372); +x_1375 = lean_array_push(x_1374, x_1372); +x_1376 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1377, 0, x_1376); +lean_ctor_set(x_1377, 1, x_1375); +x_1378 = lean_array_push(x_1302, x_1377); +x_1379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1379, 0, x_1304); +lean_ctor_set(x_1379, 1, x_1378); +x_1380 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1290); +x_1381 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1381, 0, x_1290); +lean_ctor_set(x_1381, 1, x_1380); +x_1382 = lean_array_push(x_1373, x_3); +lean_inc(x_1372); +x_1383 = lean_array_push(x_1382, x_1372); +x_1384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1384, 0, x_1376); +lean_ctor_set(x_1384, 1, x_1383); +x_1385 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1386 = lean_array_push(x_1385, x_1368); +lean_inc(x_1386); +x_1387 = lean_array_push(x_1386, x_1379); +lean_inc(x_1381); +x_1388 = lean_array_push(x_1387, x_1381); +x_1389 = lean_array_push(x_1388, x_1384); +x_1390 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1391, 0, x_1390); +lean_ctor_set(x_1391, 1, x_1389); +x_1392 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1290); +x_1393 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1393, 0, x_1290); +lean_ctor_set(x_1393, 1, x_1392); +x_1394 = lean_array_push(x_1302, x_1393); +x_1395 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1396 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1396, 0, x_1395); +lean_ctor_set(x_1396, 1, x_1394); +x_1397 = lean_array_push(x_1302, x_1396); +x_1398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1398, 0, x_1304); +lean_ctor_set(x_1398, 1, x_1397); +x_1399 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1400 = l_Lean_addMacroScope(x_1293, x_1399, x_1292); +x_1401 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1402 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_1290); +x_1403 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1403, 0, x_1290); +lean_ctor_set(x_1403, 1, x_1401); +lean_ctor_set(x_1403, 2, x_1400); +lean_ctor_set(x_1403, 3, x_1402); +x_1404 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1405 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1405, 0, x_1290); +lean_ctor_set(x_1405, 1, x_1404); +x_1406 = lean_array_push(x_1319, x_1405); +x_1407 = lean_array_push(x_1406, x_1329); +x_1408 = lean_array_push(x_1407, x_1372); +x_1409 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1410, 0, x_1409); +lean_ctor_set(x_1410, 1, x_1408); +x_1411 = lean_array_push(x_1302, x_1410); +x_1412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1412, 0, x_1304); +lean_ctor_set(x_1412, 1, x_1411); +x_1413 = lean_array_push(x_1306, x_1403); +x_1414 = lean_array_push(x_1413, x_1412); +x_1415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1415, 0, x_7); +lean_ctor_set(x_1415, 1, x_1414); +x_1416 = lean_array_push(x_1386, x_1398); +x_1417 = lean_array_push(x_1416, x_1381); +x_1418 = lean_array_push(x_1417, x_1415); +x_1419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1419, 0, x_1390); +lean_ctor_set(x_1419, 1, x_1418); +x_1420 = lean_array_push(x_1306, x_1391); +x_1421 = lean_array_push(x_1420, x_1419); +x_1422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1422, 0, x_1304); +lean_ctor_set(x_1422, 1, x_1421); +x_1423 = lean_array_push(x_1302, x_1422); +x_1424 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1425, 0, x_1424); +lean_ctor_set(x_1425, 1, x_1423); +x_1426 = lean_array_push(x_1306, x_1366); +x_1427 = lean_array_push(x_1426, x_1425); +x_1428 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1429, 0, x_1428); +lean_ctor_set(x_1429, 1, x_1427); +x_1430 = lean_array_push(x_1319, x_1364); +x_1431 = lean_array_push(x_1430, x_1429); +x_1432 = lean_array_push(x_1431, x_1329); +x_1433 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1434, 0, x_1433); +lean_ctor_set(x_1434, 1, x_1432); +x_1435 = lean_array_push(x_1385, x_1337); +x_1436 = lean_array_push(x_1435, x_1345); +x_1437 = lean_array_push(x_1436, x_1362); +x_1438 = lean_array_push(x_1437, x_1434); +x_1439 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1440, 0, x_1439); +lean_ctor_set(x_1440, 1, x_1438); +x_1441 = lean_array_push(x_1306, x_1335); +x_1442 = lean_array_push(x_1441, x_1440); +x_1443 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1444, 0, x_1443); +lean_ctor_set(x_1444, 1, x_1442); +if (lean_is_scalar(x_1291)) { + x_1445 = lean_alloc_ctor(1, 1, 0); +} else { + x_1445 = x_1291; +} +lean_ctor_set(x_1445, 0, x_1444); +x_1446 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1446, 0, x_1445); +lean_ctor_set(x_1446, 1, x_1289); +return x_1446; +} +} +} +} +} +else +{ +size_t x_1498; size_t x_1499; uint8_t x_1500; +x_1498 = 0; +x_1499 = lean_usize_of_nat(x_435); +lean_dec(x_435); +x_1500 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_418, x_1498, x_1499); +if (x_1500 == 0) +{ +uint8_t x_1501; +x_1501 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_1501 == 0) +{ +lean_object* x_1502; +lean_dec(x_434); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1502 = lean_box(0); +lean_ctor_set(x_420, 0, x_1502); +return x_420; +} +else +{ +lean_object* x_1503; lean_object* x_1504; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; uint8_t x_2015; +lean_free_object(x_420); +x_2012 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); +x_2013 = lean_ctor_get(x_2012, 0); +lean_inc(x_2013); +x_2014 = lean_ctor_get(x_2012, 1); +lean_inc(x_2014); +lean_dec(x_2012); +x_2015 = !lean_is_exclusive(x_2013); +if (x_2015 == 0) +{ +lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; +x_2016 = lean_ctor_get(x_2013, 0); +x_2017 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_2018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2018, 0, x_2016); +lean_ctor_set(x_2018, 1, x_2017); +x_2019 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2020 = lean_array_push(x_2019, x_2018); +x_2021 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2022 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2022, 0, x_2021); +lean_ctor_set(x_2022, 1, x_2020); +lean_ctor_set(x_2013, 0, x_2022); +x_1503 = x_2013; +x_1504 = x_2014; +goto block_2011; +} +else +{ +lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; +x_2023 = lean_ctor_get(x_2013, 0); +lean_inc(x_2023); +lean_dec(x_2013); +x_2024 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_2025 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2025, 0, x_2023); +lean_ctor_set(x_2025, 1, x_2024); +x_2026 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2027 = lean_array_push(x_2026, x_2025); +x_2028 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2029 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2029, 0, x_2028); +lean_ctor_set(x_2029, 1, x_2027); +x_2030 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2030, 0, x_2029); +x_1503 = x_2030; +x_1504 = x_2014; +goto block_2011; +} +block_2011: +{ +lean_object* x_1505; lean_object* x_1506; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; uint8_t x_1984; +x_1981 = lean_ctor_get(x_1503, 0); +lean_inc(x_1981); +lean_dec(x_1503); +x_1982 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1504); +x_1983 = lean_ctor_get(x_1982, 0); +lean_inc(x_1983); +x_1984 = !lean_is_exclusive(x_1983); +if (x_1984 == 0) +{ +lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; +x_1985 = lean_ctor_get(x_1983, 0); +lean_dec(x_1985); +x_1986 = lean_ctor_get(x_1982, 1); +lean_inc(x_1986); +lean_dec(x_1982); +x_1987 = lean_box(0); +x_1988 = lean_box(0); +x_1989 = l_Lean_Syntax_mkAntiquotNode(x_1981, x_410, x_1987, x_1988); +x_1990 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1991 = l_Array_append___rarg(x_1990, x_418); +lean_dec(x_418); +x_1992 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1993, 0, x_1992); +lean_ctor_set(x_1993, 1, x_1991); +x_1994 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1995 = lean_array_push(x_1994, x_1989); +x_1996 = lean_array_push(x_1995, x_1993); +x_1997 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1997, 0, x_7); +lean_ctor_set(x_1997, 1, x_1996); +lean_ctor_set(x_1983, 0, x_1997); +x_1505 = x_1983; +x_1506 = x_1986; +goto block_1980; +} +else +{ +lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; +lean_dec(x_1983); +x_1998 = lean_ctor_get(x_1982, 1); +lean_inc(x_1998); +lean_dec(x_1982); +x_1999 = lean_box(0); +x_2000 = lean_box(0); +x_2001 = l_Lean_Syntax_mkAntiquotNode(x_1981, x_410, x_1999, x_2000); +x_2002 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2003 = l_Array_append___rarg(x_2002, x_418); +lean_dec(x_418); +x_2004 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2005 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2005, 0, x_2004); +lean_ctor_set(x_2005, 1, x_2003); +x_2006 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2007 = lean_array_push(x_2006, x_2001); +x_2008 = lean_array_push(x_2007, x_2005); +x_2009 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2009, 0, x_7); +lean_ctor_set(x_2009, 1, x_2008); +x_2010 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2010, 0, x_2009); +x_1505 = x_2010; +x_1506 = x_1998; +goto block_1980; +} +block_1980: +{ +lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; +x_1507 = lean_ctor_get(x_1505, 0); +lean_inc(x_1507); +lean_dec(x_1505); +x_1508 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1506); +x_1509 = !lean_is_exclusive(x_1508); +if (x_1509 == 0) +{ +lean_object* x_1510; uint8_t x_1511; +x_1510 = lean_ctor_get(x_1508, 0); +x_1511 = !lean_is_exclusive(x_1510); +if (x_1511 == 0) +{ +lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; +x_1512 = lean_ctor_get(x_1510, 0); +x_1513 = lean_ctor_get(x_5, 2); +lean_inc(x_1513); +x_1514 = lean_ctor_get(x_5, 1); +lean_inc(x_1514); +lean_dec(x_5); +x_1515 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1512); +x_1516 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1516, 0, x_1512); +lean_ctor_set(x_1516, 1, x_1515); +x_1517 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1513); +lean_inc(x_1514); +x_1518 = l_Lean_addMacroScope(x_1514, x_1517, x_1513); +x_1519 = lean_box(0); +x_1520 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_1512); +x_1521 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1521, 0, x_1512); +lean_ctor_set(x_1521, 1, x_1520); +lean_ctor_set(x_1521, 2, x_1518); +lean_ctor_set(x_1521, 3, x_1519); +x_1522 = lean_mk_syntax_ident(x_434); +x_1523 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1524 = lean_array_push(x_1523, x_1522); +x_1525 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1526, 0, x_1525); +lean_ctor_set(x_1526, 1, x_1524); +x_1527 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1528 = lean_array_push(x_1527, x_1521); +x_1529 = lean_array_push(x_1528, x_1526); +x_1530 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1531, 0, x_1530); +lean_ctor_set(x_1531, 1, x_1529); +x_1532 = lean_array_push(x_1527, x_1); +x_1533 = lean_array_push(x_1532, x_1531); +x_1534 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1535, 0, x_1534); +lean_ctor_set(x_1535, 1, x_1533); +x_1536 = lean_array_push(x_1523, x_1535); +x_1537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1537, 0, x_1525); +lean_ctor_set(x_1537, 1, x_1536); +x_1538 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1512); +x_1539 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1539, 0, x_1512); +lean_ctor_set(x_1539, 1, x_1538); +x_1540 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1541 = lean_array_push(x_1540, x_1516); +x_1542 = lean_array_push(x_1541, x_1537); +x_1543 = lean_array_push(x_1542, x_1539); +x_1544 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1545, 0, x_1544); +lean_ctor_set(x_1545, 1, x_1543); +x_1546 = lean_array_push(x_1523, x_1545); +x_1547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1547, 0, x_1525); +lean_ctor_set(x_1547, 1, x_1546); +x_1548 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1549 = lean_array_push(x_1548, x_1547); +x_1550 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1551 = lean_array_push(x_1549, x_1550); +x_1552 = lean_array_push(x_1551, x_1550); +x_1553 = lean_array_push(x_1552, x_1550); +x_1554 = lean_array_push(x_1553, x_1550); +x_1555 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1556, 0, x_1555); +lean_ctor_set(x_1556, 1, x_1554); +x_1557 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_1512); +x_1558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1558, 0, x_1512); +lean_ctor_set(x_1558, 1, x_1557); +x_1559 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_1513); +lean_inc(x_1514); +x_1560 = l_Lean_addMacroScope(x_1514, x_1559, x_1513); +x_1561 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_1512); +x_1562 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1562, 0, x_1512); +lean_ctor_set(x_1562, 1, x_1561); +lean_ctor_set(x_1562, 2, x_1560); +lean_ctor_set(x_1562, 3, x_1519); +x_1563 = lean_array_push(x_1527, x_1562); +x_1564 = lean_array_push(x_1563, x_1550); +x_1565 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1566, 0, x_1565); +lean_ctor_set(x_1566, 1, x_1564); +x_1567 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1512); +x_1568 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1568, 0, x_1512); +lean_ctor_set(x_1568, 1, x_1567); +x_1569 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_1513); +lean_inc(x_1514); +x_1570 = l_Lean_addMacroScope(x_1514, x_1569, x_1513); +x_1571 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1572 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_1512); +x_1573 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1573, 0, x_1512); +lean_ctor_set(x_1573, 1, x_1571); +lean_ctor_set(x_1573, 2, x_1570); +lean_ctor_set(x_1573, 3, x_1572); +x_1574 = lean_array_push(x_1527, x_1568); +x_1575 = lean_array_push(x_1574, x_1573); +x_1576 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1577, 0, x_1576); +lean_ctor_set(x_1577, 1, x_1575); +x_1578 = lean_array_push(x_1523, x_1577); +x_1579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1579, 0, x_1525); +lean_ctor_set(x_1579, 1, x_1578); +x_1580 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1581 = lean_array_push(x_1580, x_1579); +x_1582 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1583, 0, x_1582); +lean_ctor_set(x_1583, 1, x_1581); +x_1584 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_1512); +x_1585 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1585, 0, x_1512); +lean_ctor_set(x_1585, 1, x_1584); +x_1586 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1512); +x_1587 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1587, 0, x_1512); +lean_ctor_set(x_1587, 1, x_1586); +x_1588 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_1512); +x_1589 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1589, 0, x_1512); +lean_ctor_set(x_1589, 1, x_1588); +x_1590 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_1512); +x_1591 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1591, 0, x_1512); +lean_ctor_set(x_1591, 1, x_1590); +x_1592 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1512); +x_1593 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1593, 0, x_1512); +lean_ctor_set(x_1593, 1, x_1592); +x_1594 = lean_array_push(x_1540, x_1591); +lean_inc(x_1594); +x_1595 = lean_array_push(x_1594, x_1507); +lean_inc(x_1593); +x_1596 = lean_array_push(x_1595, x_1593); +x_1597 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1598, 0, x_1597); +lean_ctor_set(x_1598, 1, x_1596); +x_1599 = lean_array_push(x_1523, x_1598); +x_1600 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1600, 0, x_1525); +lean_ctor_set(x_1600, 1, x_1599); +x_1601 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1512); +x_1602 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1602, 0, x_1512); +lean_ctor_set(x_1602, 1, x_1601); +x_1603 = lean_array_push(x_1594, x_3); +lean_inc(x_1593); +x_1604 = lean_array_push(x_1603, x_1593); +x_1605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1605, 0, x_1597); +lean_ctor_set(x_1605, 1, x_1604); +x_1606 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1607 = lean_array_push(x_1606, x_1589); +lean_inc(x_1607); +x_1608 = lean_array_push(x_1607, x_1600); +lean_inc(x_1602); +x_1609 = lean_array_push(x_1608, x_1602); +x_1610 = lean_array_push(x_1609, x_1605); +x_1611 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1612 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1612, 0, x_1611); +lean_ctor_set(x_1612, 1, x_1610); +x_1613 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1512); +x_1614 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1614, 0, x_1512); +lean_ctor_set(x_1614, 1, x_1613); +x_1615 = lean_array_push(x_1523, x_1614); +x_1616 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1617, 0, x_1616); +lean_ctor_set(x_1617, 1, x_1615); +x_1618 = lean_array_push(x_1523, x_1617); +x_1619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1619, 0, x_1525); +lean_ctor_set(x_1619, 1, x_1618); +x_1620 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1621 = l_Lean_addMacroScope(x_1514, x_1620, x_1513); +x_1622 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1623 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_1512); +x_1624 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1624, 0, x_1512); +lean_ctor_set(x_1624, 1, x_1622); +lean_ctor_set(x_1624, 2, x_1621); +lean_ctor_set(x_1624, 3, x_1623); +x_1625 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1626 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1626, 0, x_1512); +lean_ctor_set(x_1626, 1, x_1625); +x_1627 = lean_array_push(x_1540, x_1626); +x_1628 = lean_array_push(x_1627, x_1550); +x_1629 = lean_array_push(x_1628, x_1593); +x_1630 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1631, 0, x_1630); +lean_ctor_set(x_1631, 1, x_1629); +x_1632 = lean_array_push(x_1523, x_1631); +x_1633 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1633, 0, x_1525); +lean_ctor_set(x_1633, 1, x_1632); +x_1634 = lean_array_push(x_1527, x_1624); +x_1635 = lean_array_push(x_1634, x_1633); +x_1636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1636, 0, x_7); +lean_ctor_set(x_1636, 1, x_1635); +x_1637 = lean_array_push(x_1607, x_1619); +x_1638 = lean_array_push(x_1637, x_1602); +x_1639 = lean_array_push(x_1638, x_1636); +x_1640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1640, 0, x_1611); +lean_ctor_set(x_1640, 1, x_1639); +x_1641 = lean_array_push(x_1527, x_1612); +x_1642 = lean_array_push(x_1641, x_1640); +x_1643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1643, 0, x_1525); +lean_ctor_set(x_1643, 1, x_1642); +x_1644 = lean_array_push(x_1523, x_1643); +x_1645 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1646, 0, x_1645); +lean_ctor_set(x_1646, 1, x_1644); +x_1647 = lean_array_push(x_1527, x_1587); +x_1648 = lean_array_push(x_1647, x_1646); +x_1649 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1650, 0, x_1649); +lean_ctor_set(x_1650, 1, x_1648); +x_1651 = lean_array_push(x_1540, x_1585); +x_1652 = lean_array_push(x_1651, x_1650); +x_1653 = lean_array_push(x_1652, x_1550); +x_1654 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1655, 0, x_1654); +lean_ctor_set(x_1655, 1, x_1653); +x_1656 = lean_array_push(x_1606, x_1558); +x_1657 = lean_array_push(x_1656, x_1566); +x_1658 = lean_array_push(x_1657, x_1583); +x_1659 = lean_array_push(x_1658, x_1655); +x_1660 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1661, 0, x_1660); +lean_ctor_set(x_1661, 1, x_1659); +x_1662 = lean_array_push(x_1527, x_1556); +x_1663 = lean_array_push(x_1662, x_1661); +x_1664 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1665 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1665, 0, x_1664); +lean_ctor_set(x_1665, 1, x_1663); +lean_ctor_set(x_1510, 0, x_1665); +return x_1508; +} +else +{ +lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; +x_1666 = lean_ctor_get(x_1510, 0); +lean_inc(x_1666); +lean_dec(x_1510); +x_1667 = lean_ctor_get(x_5, 2); +lean_inc(x_1667); +x_1668 = lean_ctor_get(x_5, 1); +lean_inc(x_1668); +lean_dec(x_5); +x_1669 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1666); +x_1670 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1670, 0, x_1666); +lean_ctor_set(x_1670, 1, x_1669); +x_1671 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1667); +lean_inc(x_1668); +x_1672 = l_Lean_addMacroScope(x_1668, x_1671, x_1667); +x_1673 = lean_box(0); +x_1674 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_1666); +x_1675 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1675, 0, x_1666); +lean_ctor_set(x_1675, 1, x_1674); +lean_ctor_set(x_1675, 2, x_1672); +lean_ctor_set(x_1675, 3, x_1673); +x_1676 = lean_mk_syntax_ident(x_434); +x_1677 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1678 = lean_array_push(x_1677, x_1676); +x_1679 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1680, 0, x_1679); +lean_ctor_set(x_1680, 1, x_1678); +x_1681 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1682 = lean_array_push(x_1681, x_1675); +x_1683 = lean_array_push(x_1682, x_1680); +x_1684 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1685 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1685, 0, x_1684); +lean_ctor_set(x_1685, 1, x_1683); +x_1686 = lean_array_push(x_1681, x_1); +x_1687 = lean_array_push(x_1686, x_1685); +x_1688 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1689, 0, x_1688); +lean_ctor_set(x_1689, 1, x_1687); +x_1690 = lean_array_push(x_1677, x_1689); +x_1691 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1691, 0, x_1679); +lean_ctor_set(x_1691, 1, x_1690); +x_1692 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1666); +x_1693 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1693, 0, x_1666); +lean_ctor_set(x_1693, 1, x_1692); +x_1694 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1695 = lean_array_push(x_1694, x_1670); +x_1696 = lean_array_push(x_1695, x_1691); +x_1697 = lean_array_push(x_1696, x_1693); +x_1698 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1699, 0, x_1698); +lean_ctor_set(x_1699, 1, x_1697); +x_1700 = lean_array_push(x_1677, x_1699); +x_1701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1701, 0, x_1679); +lean_ctor_set(x_1701, 1, x_1700); +x_1702 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1703 = lean_array_push(x_1702, x_1701); +x_1704 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1705 = lean_array_push(x_1703, x_1704); +x_1706 = lean_array_push(x_1705, x_1704); +x_1707 = lean_array_push(x_1706, x_1704); +x_1708 = lean_array_push(x_1707, x_1704); +x_1709 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1710, 0, x_1709); +lean_ctor_set(x_1710, 1, x_1708); +x_1711 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_1666); +x_1712 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1712, 0, x_1666); +lean_ctor_set(x_1712, 1, x_1711); +x_1713 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_1667); +lean_inc(x_1668); +x_1714 = l_Lean_addMacroScope(x_1668, x_1713, x_1667); +x_1715 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_1666); +x_1716 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1716, 0, x_1666); +lean_ctor_set(x_1716, 1, x_1715); +lean_ctor_set(x_1716, 2, x_1714); +lean_ctor_set(x_1716, 3, x_1673); +x_1717 = lean_array_push(x_1681, x_1716); +x_1718 = lean_array_push(x_1717, x_1704); +x_1719 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1720 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1720, 0, x_1719); +lean_ctor_set(x_1720, 1, x_1718); +x_1721 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1666); +x_1722 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1722, 0, x_1666); +lean_ctor_set(x_1722, 1, x_1721); +x_1723 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_1667); +lean_inc(x_1668); +x_1724 = l_Lean_addMacroScope(x_1668, x_1723, x_1667); +x_1725 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1726 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_1666); +x_1727 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1727, 0, x_1666); +lean_ctor_set(x_1727, 1, x_1725); +lean_ctor_set(x_1727, 2, x_1724); +lean_ctor_set(x_1727, 3, x_1726); +x_1728 = lean_array_push(x_1681, x_1722); +x_1729 = lean_array_push(x_1728, x_1727); +x_1730 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1731 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1731, 0, x_1730); +lean_ctor_set(x_1731, 1, x_1729); +x_1732 = lean_array_push(x_1677, x_1731); +x_1733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1733, 0, x_1679); +lean_ctor_set(x_1733, 1, x_1732); +x_1734 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1735 = lean_array_push(x_1734, x_1733); +x_1736 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1737, 0, x_1736); +lean_ctor_set(x_1737, 1, x_1735); +x_1738 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_1666); +x_1739 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1739, 0, x_1666); +lean_ctor_set(x_1739, 1, x_1738); +x_1740 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1666); +x_1741 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1741, 0, x_1666); +lean_ctor_set(x_1741, 1, x_1740); +x_1742 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_1666); +x_1743 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1743, 0, x_1666); +lean_ctor_set(x_1743, 1, x_1742); +x_1744 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_1666); +x_1745 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1745, 0, x_1666); +lean_ctor_set(x_1745, 1, x_1744); +x_1746 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1666); +x_1747 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1747, 0, x_1666); +lean_ctor_set(x_1747, 1, x_1746); +x_1748 = lean_array_push(x_1694, x_1745); +lean_inc(x_1748); +x_1749 = lean_array_push(x_1748, x_1507); +lean_inc(x_1747); +x_1750 = lean_array_push(x_1749, x_1747); +x_1751 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1752, 0, x_1751); +lean_ctor_set(x_1752, 1, x_1750); +x_1753 = lean_array_push(x_1677, x_1752); +x_1754 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1754, 0, x_1679); +lean_ctor_set(x_1754, 1, x_1753); +x_1755 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1666); +x_1756 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1756, 0, x_1666); +lean_ctor_set(x_1756, 1, x_1755); +x_1757 = lean_array_push(x_1748, x_3); +lean_inc(x_1747); +x_1758 = lean_array_push(x_1757, x_1747); +x_1759 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1759, 0, x_1751); +lean_ctor_set(x_1759, 1, x_1758); +x_1760 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1761 = lean_array_push(x_1760, x_1743); +lean_inc(x_1761); +x_1762 = lean_array_push(x_1761, x_1754); +lean_inc(x_1756); +x_1763 = lean_array_push(x_1762, x_1756); +x_1764 = lean_array_push(x_1763, x_1759); +x_1765 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1766, 0, x_1765); +lean_ctor_set(x_1766, 1, x_1764); +x_1767 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1666); +x_1768 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1768, 0, x_1666); +lean_ctor_set(x_1768, 1, x_1767); +x_1769 = lean_array_push(x_1677, x_1768); +x_1770 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1771, 0, x_1770); +lean_ctor_set(x_1771, 1, x_1769); +x_1772 = lean_array_push(x_1677, x_1771); +x_1773 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1773, 0, x_1679); +lean_ctor_set(x_1773, 1, x_1772); +x_1774 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1775 = l_Lean_addMacroScope(x_1668, x_1774, x_1667); +x_1776 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1777 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_1666); +x_1778 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1778, 0, x_1666); +lean_ctor_set(x_1778, 1, x_1776); +lean_ctor_set(x_1778, 2, x_1775); +lean_ctor_set(x_1778, 3, x_1777); +x_1779 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1780 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1780, 0, x_1666); +lean_ctor_set(x_1780, 1, x_1779); +x_1781 = lean_array_push(x_1694, x_1780); +x_1782 = lean_array_push(x_1781, x_1704); +x_1783 = lean_array_push(x_1782, x_1747); +x_1784 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1785 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1785, 0, x_1784); +lean_ctor_set(x_1785, 1, x_1783); +x_1786 = lean_array_push(x_1677, x_1785); +x_1787 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1787, 0, x_1679); +lean_ctor_set(x_1787, 1, x_1786); +x_1788 = lean_array_push(x_1681, x_1778); +x_1789 = lean_array_push(x_1788, x_1787); +x_1790 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1790, 0, x_7); +lean_ctor_set(x_1790, 1, x_1789); +x_1791 = lean_array_push(x_1761, x_1773); +x_1792 = lean_array_push(x_1791, x_1756); +x_1793 = lean_array_push(x_1792, x_1790); +x_1794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1794, 0, x_1765); +lean_ctor_set(x_1794, 1, x_1793); +x_1795 = lean_array_push(x_1681, x_1766); +x_1796 = lean_array_push(x_1795, x_1794); +x_1797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1797, 0, x_1679); +lean_ctor_set(x_1797, 1, x_1796); +x_1798 = lean_array_push(x_1677, x_1797); +x_1799 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1800, 0, x_1799); +lean_ctor_set(x_1800, 1, x_1798); +x_1801 = lean_array_push(x_1681, x_1741); +x_1802 = lean_array_push(x_1801, x_1800); +x_1803 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1804, 0, x_1803); +lean_ctor_set(x_1804, 1, x_1802); +x_1805 = lean_array_push(x_1694, x_1739); +x_1806 = lean_array_push(x_1805, x_1804); +x_1807 = lean_array_push(x_1806, x_1704); +x_1808 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1809, 0, x_1808); +lean_ctor_set(x_1809, 1, x_1807); +x_1810 = lean_array_push(x_1760, x_1712); +x_1811 = lean_array_push(x_1810, x_1720); +x_1812 = lean_array_push(x_1811, x_1737); +x_1813 = lean_array_push(x_1812, x_1809); +x_1814 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1815, 0, x_1814); +lean_ctor_set(x_1815, 1, x_1813); +x_1816 = lean_array_push(x_1681, x_1710); +x_1817 = lean_array_push(x_1816, x_1815); +x_1818 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1819, 0, x_1818); +lean_ctor_set(x_1819, 1, x_1817); +x_1820 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1820, 0, x_1819); +lean_ctor_set(x_1508, 0, x_1820); +return x_1508; +} +} +else +{ +lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; +x_1821 = lean_ctor_get(x_1508, 0); +x_1822 = lean_ctor_get(x_1508, 1); +lean_inc(x_1822); +lean_inc(x_1821); +lean_dec(x_1508); +x_1823 = lean_ctor_get(x_1821, 0); +lean_inc(x_1823); +if (lean_is_exclusive(x_1821)) { + lean_ctor_release(x_1821, 0); + x_1824 = x_1821; +} else { + lean_dec_ref(x_1821); + x_1824 = lean_box(0); +} +x_1825 = lean_ctor_get(x_5, 2); +lean_inc(x_1825); +x_1826 = lean_ctor_get(x_5, 1); +lean_inc(x_1826); +lean_dec(x_5); +x_1827 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1823); +x_1828 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1828, 0, x_1823); +lean_ctor_set(x_1828, 1, x_1827); +x_1829 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1825); +lean_inc(x_1826); +x_1830 = l_Lean_addMacroScope(x_1826, x_1829, x_1825); +x_1831 = lean_box(0); +x_1832 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_1823); +x_1833 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1833, 0, x_1823); +lean_ctor_set(x_1833, 1, x_1832); +lean_ctor_set(x_1833, 2, x_1830); +lean_ctor_set(x_1833, 3, x_1831); +x_1834 = lean_mk_syntax_ident(x_434); +x_1835 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_1836 = lean_array_push(x_1835, x_1834); +x_1837 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1838 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1838, 0, x_1837); +lean_ctor_set(x_1838, 1, x_1836); +x_1839 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1840 = lean_array_push(x_1839, x_1833); +x_1841 = lean_array_push(x_1840, x_1838); +x_1842 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1843, 0, x_1842); +lean_ctor_set(x_1843, 1, x_1841); +x_1844 = lean_array_push(x_1839, x_1); +x_1845 = lean_array_push(x_1844, x_1843); +x_1846 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_1847 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1847, 0, x_1846); +lean_ctor_set(x_1847, 1, x_1845); +x_1848 = lean_array_push(x_1835, x_1847); +x_1849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1849, 0, x_1837); +lean_ctor_set(x_1849, 1, x_1848); +x_1850 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1823); +x_1851 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1851, 0, x_1823); +lean_ctor_set(x_1851, 1, x_1850); +x_1852 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_1853 = lean_array_push(x_1852, x_1828); +x_1854 = lean_array_push(x_1853, x_1849); +x_1855 = lean_array_push(x_1854, x_1851); +x_1856 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1857 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1857, 0, x_1856); +lean_ctor_set(x_1857, 1, x_1855); +x_1858 = lean_array_push(x_1835, x_1857); +x_1859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1859, 0, x_1837); +lean_ctor_set(x_1859, 1, x_1858); +x_1860 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_1861 = lean_array_push(x_1860, x_1859); +x_1862 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1863 = lean_array_push(x_1861, x_1862); +x_1864 = lean_array_push(x_1863, x_1862); +x_1865 = lean_array_push(x_1864, x_1862); +x_1866 = lean_array_push(x_1865, x_1862); +x_1867 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1868, 0, x_1867); +lean_ctor_set(x_1868, 1, x_1866); +x_1869 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_1823); +x_1870 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1870, 0, x_1823); +lean_ctor_set(x_1870, 1, x_1869); +x_1871 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_1825); +lean_inc(x_1826); +x_1872 = l_Lean_addMacroScope(x_1826, x_1871, x_1825); +x_1873 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_1823); +x_1874 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1874, 0, x_1823); +lean_ctor_set(x_1874, 1, x_1873); +lean_ctor_set(x_1874, 2, x_1872); +lean_ctor_set(x_1874, 3, x_1831); +x_1875 = lean_array_push(x_1839, x_1874); +x_1876 = lean_array_push(x_1875, x_1862); +x_1877 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1878, 0, x_1877); +lean_ctor_set(x_1878, 1, x_1876); +x_1879 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1823); +x_1880 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1880, 0, x_1823); +lean_ctor_set(x_1880, 1, x_1879); +x_1881 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_1825); +lean_inc(x_1826); +x_1882 = l_Lean_addMacroScope(x_1826, x_1881, x_1825); +x_1883 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1884 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_1823); +x_1885 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1885, 0, x_1823); +lean_ctor_set(x_1885, 1, x_1883); +lean_ctor_set(x_1885, 2, x_1882); +lean_ctor_set(x_1885, 3, x_1884); +x_1886 = lean_array_push(x_1839, x_1880); +x_1887 = lean_array_push(x_1886, x_1885); +x_1888 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1889, 0, x_1888); +lean_ctor_set(x_1889, 1, x_1887); +x_1890 = lean_array_push(x_1835, x_1889); +x_1891 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1891, 0, x_1837); +lean_ctor_set(x_1891, 1, x_1890); +x_1892 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1893 = lean_array_push(x_1892, x_1891); +x_1894 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1895 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1895, 0, x_1894); +lean_ctor_set(x_1895, 1, x_1893); +x_1896 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_1823); +x_1897 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1897, 0, x_1823); +lean_ctor_set(x_1897, 1, x_1896); +x_1898 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1823); +x_1899 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1899, 0, x_1823); +lean_ctor_set(x_1899, 1, x_1898); +x_1900 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_1823); +x_1901 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1901, 0, x_1823); +lean_ctor_set(x_1901, 1, x_1900); +x_1902 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_1823); +x_1903 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1903, 0, x_1823); +lean_ctor_set(x_1903, 1, x_1902); +x_1904 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1823); +x_1905 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1905, 0, x_1823); +lean_ctor_set(x_1905, 1, x_1904); +x_1906 = lean_array_push(x_1852, x_1903); +lean_inc(x_1906); +x_1907 = lean_array_push(x_1906, x_1507); +lean_inc(x_1905); +x_1908 = lean_array_push(x_1907, x_1905); +x_1909 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1910 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1910, 0, x_1909); +lean_ctor_set(x_1910, 1, x_1908); +x_1911 = lean_array_push(x_1835, x_1910); +x_1912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1912, 0, x_1837); +lean_ctor_set(x_1912, 1, x_1911); +x_1913 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1823); +x_1914 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1914, 0, x_1823); +lean_ctor_set(x_1914, 1, x_1913); +x_1915 = lean_array_push(x_1906, x_3); +lean_inc(x_1905); +x_1916 = lean_array_push(x_1915, x_1905); +x_1917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1917, 0, x_1909); +lean_ctor_set(x_1917, 1, x_1916); +x_1918 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_1919 = lean_array_push(x_1918, x_1901); +lean_inc(x_1919); +x_1920 = lean_array_push(x_1919, x_1912); +lean_inc(x_1914); +x_1921 = lean_array_push(x_1920, x_1914); +x_1922 = lean_array_push(x_1921, x_1917); +x_1923 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_1924 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1924, 0, x_1923); +lean_ctor_set(x_1924, 1, x_1922); +x_1925 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1823); +x_1926 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1926, 0, x_1823); +lean_ctor_set(x_1926, 1, x_1925); +x_1927 = lean_array_push(x_1835, x_1926); +x_1928 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1929, 0, x_1928); +lean_ctor_set(x_1929, 1, x_1927); +x_1930 = lean_array_push(x_1835, x_1929); +x_1931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1931, 0, x_1837); +lean_ctor_set(x_1931, 1, x_1930); +x_1932 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_1933 = l_Lean_addMacroScope(x_1826, x_1932, x_1825); +x_1934 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1935 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_1823); +x_1936 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1936, 0, x_1823); +lean_ctor_set(x_1936, 1, x_1934); +lean_ctor_set(x_1936, 2, x_1933); +lean_ctor_set(x_1936, 3, x_1935); +x_1937 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_1938 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1938, 0, x_1823); +lean_ctor_set(x_1938, 1, x_1937); +x_1939 = lean_array_push(x_1852, x_1938); +x_1940 = lean_array_push(x_1939, x_1862); +x_1941 = lean_array_push(x_1940, x_1905); +x_1942 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_1943 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1943, 0, x_1942); +lean_ctor_set(x_1943, 1, x_1941); +x_1944 = lean_array_push(x_1835, x_1943); +x_1945 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1945, 0, x_1837); +lean_ctor_set(x_1945, 1, x_1944); +x_1946 = lean_array_push(x_1839, x_1936); +x_1947 = lean_array_push(x_1946, x_1945); +x_1948 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1948, 0, x_7); +lean_ctor_set(x_1948, 1, x_1947); +x_1949 = lean_array_push(x_1919, x_1931); +x_1950 = lean_array_push(x_1949, x_1914); +x_1951 = lean_array_push(x_1950, x_1948); +x_1952 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1952, 0, x_1923); +lean_ctor_set(x_1952, 1, x_1951); +x_1953 = lean_array_push(x_1839, x_1924); +x_1954 = lean_array_push(x_1953, x_1952); +x_1955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1955, 0, x_1837); +lean_ctor_set(x_1955, 1, x_1954); +x_1956 = lean_array_push(x_1835, x_1955); +x_1957 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1958, 0, x_1957); +lean_ctor_set(x_1958, 1, x_1956); +x_1959 = lean_array_push(x_1839, x_1899); +x_1960 = lean_array_push(x_1959, x_1958); +x_1961 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_1962 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1962, 0, x_1961); +lean_ctor_set(x_1962, 1, x_1960); +x_1963 = lean_array_push(x_1852, x_1897); +x_1964 = lean_array_push(x_1963, x_1962); +x_1965 = lean_array_push(x_1964, x_1862); +x_1966 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_1967 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1967, 0, x_1966); +lean_ctor_set(x_1967, 1, x_1965); +x_1968 = lean_array_push(x_1918, x_1870); +x_1969 = lean_array_push(x_1968, x_1878); +x_1970 = lean_array_push(x_1969, x_1895); +x_1971 = lean_array_push(x_1970, x_1967); +x_1972 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1973 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1973, 0, x_1972); +lean_ctor_set(x_1973, 1, x_1971); +x_1974 = lean_array_push(x_1839, x_1868); +x_1975 = lean_array_push(x_1974, x_1973); +x_1976 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_1977 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1977, 0, x_1976); +lean_ctor_set(x_1977, 1, x_1975); +if (lean_is_scalar(x_1824)) { + x_1978 = lean_alloc_ctor(1, 1, 0); +} else { + x_1978 = x_1824; +} +lean_ctor_set(x_1978, 0, x_1977); +x_1979 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1979, 0, x_1978); +lean_ctor_set(x_1979, 1, x_1822); +return x_1979; +} +} +} +} +} +else +{ +lean_object* x_2031; +lean_dec(x_434); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2031 = lean_box(0); +lean_ctor_set(x_420, 0, x_2031); +return x_420; +} +} +} +} +else +{ +lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; uint8_t x_2035; +x_2032 = lean_ctor_get(x_420, 1); +lean_inc(x_2032); +lean_dec(x_420); +x_2033 = lean_ctor_get(x_428, 0); +lean_inc(x_2033); +lean_dec(x_428); +x_2034 = lean_array_get_size(x_418); +x_2035 = lean_nat_dec_lt(x_410, x_2034); +if (x_2035 == 0) +{ +uint8_t x_2036; +lean_dec(x_2034); +x_2036 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_2036 == 0) +{ +lean_object* x_2037; lean_object* x_2038; +lean_dec(x_2033); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2037 = lean_box(0); +x_2038 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2038, 0, x_2037); +lean_ctor_set(x_2038, 1, x_2032); +return x_2038; +} +else +{ +lean_object* x_2039; lean_object* x_2040; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; +x_2224 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); +x_2225 = lean_ctor_get(x_2224, 0); +lean_inc(x_2225); +x_2226 = lean_ctor_get(x_2224, 1); +lean_inc(x_2226); +lean_dec(x_2224); +x_2227 = lean_ctor_get(x_2225, 0); +lean_inc(x_2227); +if (lean_is_exclusive(x_2225)) { + lean_ctor_release(x_2225, 0); + x_2228 = x_2225; +} else { + lean_dec_ref(x_2225); + x_2228 = lean_box(0); +} +x_2229 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_2230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2230, 0, x_2227); +lean_ctor_set(x_2230, 1, x_2229); +x_2231 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2232 = lean_array_push(x_2231, x_2230); +x_2233 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2234, 0, x_2233); +lean_ctor_set(x_2234, 1, x_2232); +if (lean_is_scalar(x_2228)) { + x_2235 = lean_alloc_ctor(1, 1, 0); +} else { + x_2235 = x_2228; +} +lean_ctor_set(x_2235, 0, x_2234); +x_2039 = x_2235; +x_2040 = x_2226; +goto block_2223; +block_2223: +{ +lean_object* x_2041; lean_object* x_2042; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; +x_2206 = lean_ctor_get(x_2039, 0); +lean_inc(x_2206); +lean_dec(x_2039); +x_2207 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2040); +x_2208 = lean_ctor_get(x_2207, 0); +lean_inc(x_2208); +if (lean_is_exclusive(x_2208)) { + lean_ctor_release(x_2208, 0); + x_2209 = x_2208; +} else { + lean_dec_ref(x_2208); + x_2209 = lean_box(0); +} +x_2210 = lean_ctor_get(x_2207, 1); +lean_inc(x_2210); +lean_dec(x_2207); +x_2211 = lean_box(0); +x_2212 = lean_box(0); +x_2213 = l_Lean_Syntax_mkAntiquotNode(x_2206, x_410, x_2211, x_2212); +x_2214 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2215 = l_Array_append___rarg(x_2214, x_418); +lean_dec(x_418); +x_2216 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2217, 0, x_2216); +lean_ctor_set(x_2217, 1, x_2215); +x_2218 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2219 = lean_array_push(x_2218, x_2213); +x_2220 = lean_array_push(x_2219, x_2217); +x_2221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2221, 0, x_7); +lean_ctor_set(x_2221, 1, x_2220); +if (lean_is_scalar(x_2209)) { + x_2222 = lean_alloc_ctor(1, 1, 0); +} else { + x_2222 = x_2209; +} +lean_ctor_set(x_2222, 0, x_2221); +x_2041 = x_2222; +x_2042 = x_2210; +goto block_2205; +block_2205: +{ +lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; +x_2043 = lean_ctor_get(x_2041, 0); +lean_inc(x_2043); +lean_dec(x_2041); +x_2044 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2042); +x_2045 = lean_ctor_get(x_2044, 0); +lean_inc(x_2045); +x_2046 = lean_ctor_get(x_2044, 1); +lean_inc(x_2046); +if (lean_is_exclusive(x_2044)) { + lean_ctor_release(x_2044, 0); + lean_ctor_release(x_2044, 1); + x_2047 = x_2044; +} else { + lean_dec_ref(x_2044); + x_2047 = lean_box(0); +} +x_2048 = lean_ctor_get(x_2045, 0); +lean_inc(x_2048); +if (lean_is_exclusive(x_2045)) { + lean_ctor_release(x_2045, 0); + x_2049 = x_2045; +} else { + lean_dec_ref(x_2045); + x_2049 = lean_box(0); +} +x_2050 = lean_ctor_get(x_5, 2); +lean_inc(x_2050); +x_2051 = lean_ctor_get(x_5, 1); +lean_inc(x_2051); +lean_dec(x_5); +x_2052 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_2048); +x_2053 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2053, 0, x_2048); +lean_ctor_set(x_2053, 1, x_2052); +x_2054 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_2050); +lean_inc(x_2051); +x_2055 = l_Lean_addMacroScope(x_2051, x_2054, x_2050); +x_2056 = lean_box(0); +x_2057 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_2048); +x_2058 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2058, 0, x_2048); +lean_ctor_set(x_2058, 1, x_2057); +lean_ctor_set(x_2058, 2, x_2055); +lean_ctor_set(x_2058, 3, x_2056); +x_2059 = lean_mk_syntax_ident(x_2033); +x_2060 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2061 = lean_array_push(x_2060, x_2059); +x_2062 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2063, 0, x_2062); +lean_ctor_set(x_2063, 1, x_2061); +x_2064 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2065 = lean_array_push(x_2064, x_2058); +x_2066 = lean_array_push(x_2065, x_2063); +x_2067 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_2068 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2068, 0, x_2067); +lean_ctor_set(x_2068, 1, x_2066); +x_2069 = lean_array_push(x_2064, x_1); +x_2070 = lean_array_push(x_2069, x_2068); +x_2071 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_2072 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2072, 0, x_2071); +lean_ctor_set(x_2072, 1, x_2070); +x_2073 = lean_array_push(x_2060, x_2072); +x_2074 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2074, 0, x_2062); +lean_ctor_set(x_2074, 1, x_2073); +x_2075 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_2048); +x_2076 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2076, 0, x_2048); +lean_ctor_set(x_2076, 1, x_2075); +x_2077 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_2078 = lean_array_push(x_2077, x_2053); +x_2079 = lean_array_push(x_2078, x_2074); +x_2080 = lean_array_push(x_2079, x_2076); +x_2081 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_2082 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2082, 0, x_2081); +lean_ctor_set(x_2082, 1, x_2080); +x_2083 = lean_array_push(x_2060, x_2082); +x_2084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2084, 0, x_2062); +lean_ctor_set(x_2084, 1, x_2083); +x_2085 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_2086 = lean_array_push(x_2085, x_2084); +x_2087 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2088 = lean_array_push(x_2086, x_2087); +x_2089 = lean_array_push(x_2088, x_2087); +x_2090 = lean_array_push(x_2089, x_2087); +x_2091 = lean_array_push(x_2090, x_2087); +x_2092 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_2093 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2093, 0, x_2092); +lean_ctor_set(x_2093, 1, x_2091); +x_2094 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_2048); +x_2095 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2095, 0, x_2048); +lean_ctor_set(x_2095, 1, x_2094); +x_2096 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_2050); +lean_inc(x_2051); +x_2097 = l_Lean_addMacroScope(x_2051, x_2096, x_2050); +x_2098 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_2048); +x_2099 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2099, 0, x_2048); +lean_ctor_set(x_2099, 1, x_2098); +lean_ctor_set(x_2099, 2, x_2097); +lean_ctor_set(x_2099, 3, x_2056); +x_2100 = lean_array_push(x_2064, x_2099); +x_2101 = lean_array_push(x_2100, x_2087); +x_2102 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_2103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2103, 0, x_2102); +lean_ctor_set(x_2103, 1, x_2101); +x_2104 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_2048); +x_2105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2105, 0, x_2048); +lean_ctor_set(x_2105, 1, x_2104); +x_2106 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_2050); +lean_inc(x_2051); +x_2107 = l_Lean_addMacroScope(x_2051, x_2106, x_2050); +x_2108 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_2109 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_2048); +x_2110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2110, 0, x_2048); +lean_ctor_set(x_2110, 1, x_2108); +lean_ctor_set(x_2110, 2, x_2107); +lean_ctor_set(x_2110, 3, x_2109); +x_2111 = lean_array_push(x_2064, x_2105); +x_2112 = lean_array_push(x_2111, x_2110); +x_2113 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_2114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2114, 0, x_2113); +lean_ctor_set(x_2114, 1, x_2112); +x_2115 = lean_array_push(x_2060, x_2114); +x_2116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2116, 0, x_2062); +lean_ctor_set(x_2116, 1, x_2115); +x_2117 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2118 = lean_array_push(x_2117, x_2116); +x_2119 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_2120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2120, 0, x_2119); +lean_ctor_set(x_2120, 1, x_2118); +x_2121 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_2048); +x_2122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2122, 0, x_2048); +lean_ctor_set(x_2122, 1, x_2121); +x_2123 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_2048); +x_2124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2124, 0, x_2048); +lean_ctor_set(x_2124, 1, x_2123); +x_2125 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_2048); +x_2126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2126, 0, x_2048); +lean_ctor_set(x_2126, 1, x_2125); +x_2127 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_2048); +x_2128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2128, 0, x_2048); +lean_ctor_set(x_2128, 1, x_2127); +x_2129 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_2048); +x_2130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2130, 0, x_2048); +lean_ctor_set(x_2130, 1, x_2129); +x_2131 = lean_array_push(x_2077, x_2128); +lean_inc(x_2131); +x_2132 = lean_array_push(x_2131, x_2043); +lean_inc(x_2130); +x_2133 = lean_array_push(x_2132, x_2130); +x_2134 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_2135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2135, 0, x_2134); +lean_ctor_set(x_2135, 1, x_2133); +x_2136 = lean_array_push(x_2060, x_2135); +x_2137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2137, 0, x_2062); +lean_ctor_set(x_2137, 1, x_2136); +x_2138 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_2048); +x_2139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2139, 0, x_2048); +lean_ctor_set(x_2139, 1, x_2138); +x_2140 = lean_array_push(x_2131, x_3); +lean_inc(x_2130); +x_2141 = lean_array_push(x_2140, x_2130); +x_2142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2142, 0, x_2134); +lean_ctor_set(x_2142, 1, x_2141); +x_2143 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_2144 = lean_array_push(x_2143, x_2126); +lean_inc(x_2144); +x_2145 = lean_array_push(x_2144, x_2137); +lean_inc(x_2139); +x_2146 = lean_array_push(x_2145, x_2139); +x_2147 = lean_array_push(x_2146, x_2142); +x_2148 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_2149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2149, 0, x_2148); +lean_ctor_set(x_2149, 1, x_2147); +x_2150 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_2048); +x_2151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2151, 0, x_2048); +lean_ctor_set(x_2151, 1, x_2150); +x_2152 = lean_array_push(x_2060, x_2151); +x_2153 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2154, 0, x_2153); +lean_ctor_set(x_2154, 1, x_2152); +x_2155 = lean_array_push(x_2060, x_2154); +x_2156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2156, 0, x_2062); +lean_ctor_set(x_2156, 1, x_2155); +x_2157 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_2158 = l_Lean_addMacroScope(x_2051, x_2157, x_2050); +x_2159 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2160 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_2048); +x_2161 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2161, 0, x_2048); +lean_ctor_set(x_2161, 1, x_2159); +lean_ctor_set(x_2161, 2, x_2158); +lean_ctor_set(x_2161, 3, x_2160); +x_2162 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_2163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2163, 0, x_2048); +lean_ctor_set(x_2163, 1, x_2162); +x_2164 = lean_array_push(x_2077, x_2163); +x_2165 = lean_array_push(x_2164, x_2087); +x_2166 = lean_array_push(x_2165, x_2130); +x_2167 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_2168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2168, 0, x_2167); +lean_ctor_set(x_2168, 1, x_2166); +x_2169 = lean_array_push(x_2060, x_2168); +x_2170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2170, 0, x_2062); +lean_ctor_set(x_2170, 1, x_2169); +x_2171 = lean_array_push(x_2064, x_2161); +x_2172 = lean_array_push(x_2171, x_2170); +x_2173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2173, 0, x_7); +lean_ctor_set(x_2173, 1, x_2172); +x_2174 = lean_array_push(x_2144, x_2156); +x_2175 = lean_array_push(x_2174, x_2139); +x_2176 = lean_array_push(x_2175, x_2173); +x_2177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2177, 0, x_2148); +lean_ctor_set(x_2177, 1, x_2176); +x_2178 = lean_array_push(x_2064, x_2149); +x_2179 = lean_array_push(x_2178, x_2177); +x_2180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2180, 0, x_2062); +lean_ctor_set(x_2180, 1, x_2179); +x_2181 = lean_array_push(x_2060, x_2180); +x_2182 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2183, 0, x_2182); +lean_ctor_set(x_2183, 1, x_2181); +x_2184 = lean_array_push(x_2064, x_2124); +x_2185 = lean_array_push(x_2184, x_2183); +x_2186 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_2187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2187, 0, x_2186); +lean_ctor_set(x_2187, 1, x_2185); +x_2188 = lean_array_push(x_2077, x_2122); +x_2189 = lean_array_push(x_2188, x_2187); +x_2190 = lean_array_push(x_2189, x_2087); +x_2191 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_2192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2192, 0, x_2191); +lean_ctor_set(x_2192, 1, x_2190); +x_2193 = lean_array_push(x_2143, x_2095); +x_2194 = lean_array_push(x_2193, x_2103); +x_2195 = lean_array_push(x_2194, x_2120); +x_2196 = lean_array_push(x_2195, x_2192); +x_2197 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_2198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2198, 0, x_2197); +lean_ctor_set(x_2198, 1, x_2196); +x_2199 = lean_array_push(x_2064, x_2093); +x_2200 = lean_array_push(x_2199, x_2198); +x_2201 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_2202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2202, 0, x_2201); +lean_ctor_set(x_2202, 1, x_2200); +if (lean_is_scalar(x_2049)) { + x_2203 = lean_alloc_ctor(1, 1, 0); +} else { + x_2203 = x_2049; +} +lean_ctor_set(x_2203, 0, x_2202); +if (lean_is_scalar(x_2047)) { + x_2204 = lean_alloc_ctor(0, 2, 0); +} else { + x_2204 = x_2047; +} +lean_ctor_set(x_2204, 0, x_2203); +lean_ctor_set(x_2204, 1, x_2046); +return x_2204; +} +} +} +} +else +{ +uint8_t x_2236; +x_2236 = lean_nat_dec_le(x_2034, x_2034); +if (x_2236 == 0) +{ +uint8_t x_2237; +lean_dec(x_2034); +x_2237 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_2237 == 0) +{ +lean_object* x_2238; lean_object* x_2239; +lean_dec(x_2033); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2238 = lean_box(0); +x_2239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2239, 0, x_2238); +lean_ctor_set(x_2239, 1, x_2032); +return x_2239; +} +else +{ +lean_object* x_2240; lean_object* x_2241; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; +x_2425 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); +x_2426 = lean_ctor_get(x_2425, 0); +lean_inc(x_2426); +x_2427 = lean_ctor_get(x_2425, 1); +lean_inc(x_2427); +lean_dec(x_2425); +x_2428 = lean_ctor_get(x_2426, 0); +lean_inc(x_2428); +if (lean_is_exclusive(x_2426)) { + lean_ctor_release(x_2426, 0); + x_2429 = x_2426; +} else { + lean_dec_ref(x_2426); + x_2429 = lean_box(0); +} +x_2430 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_2431 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2431, 0, x_2428); +lean_ctor_set(x_2431, 1, x_2430); +x_2432 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2433 = lean_array_push(x_2432, x_2431); +x_2434 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2435, 0, x_2434); +lean_ctor_set(x_2435, 1, x_2433); +if (lean_is_scalar(x_2429)) { + x_2436 = lean_alloc_ctor(1, 1, 0); +} else { + x_2436 = x_2429; +} +lean_ctor_set(x_2436, 0, x_2435); +x_2240 = x_2436; +x_2241 = x_2427; +goto block_2424; +block_2424: +{ +lean_object* x_2242; lean_object* x_2243; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; +x_2407 = lean_ctor_get(x_2240, 0); +lean_inc(x_2407); +lean_dec(x_2240); +x_2408 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2241); +x_2409 = lean_ctor_get(x_2408, 0); +lean_inc(x_2409); +if (lean_is_exclusive(x_2409)) { + lean_ctor_release(x_2409, 0); + x_2410 = x_2409; +} else { + lean_dec_ref(x_2409); + x_2410 = lean_box(0); +} +x_2411 = lean_ctor_get(x_2408, 1); +lean_inc(x_2411); +lean_dec(x_2408); +x_2412 = lean_box(0); +x_2413 = lean_box(0); +x_2414 = l_Lean_Syntax_mkAntiquotNode(x_2407, x_410, x_2412, x_2413); +x_2415 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2416 = l_Array_append___rarg(x_2415, x_418); +lean_dec(x_418); +x_2417 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2418, 0, x_2417); +lean_ctor_set(x_2418, 1, x_2416); +x_2419 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2420 = lean_array_push(x_2419, x_2414); +x_2421 = lean_array_push(x_2420, x_2418); +x_2422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2422, 0, x_7); +lean_ctor_set(x_2422, 1, x_2421); +if (lean_is_scalar(x_2410)) { + x_2423 = lean_alloc_ctor(1, 1, 0); +} else { + x_2423 = x_2410; +} +lean_ctor_set(x_2423, 0, x_2422); +x_2242 = x_2423; +x_2243 = x_2411; +goto block_2406; +block_2406: +{ +lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; +x_2244 = lean_ctor_get(x_2242, 0); +lean_inc(x_2244); +lean_dec(x_2242); +x_2245 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2243); +x_2246 = lean_ctor_get(x_2245, 0); +lean_inc(x_2246); +x_2247 = lean_ctor_get(x_2245, 1); +lean_inc(x_2247); +if (lean_is_exclusive(x_2245)) { + lean_ctor_release(x_2245, 0); + lean_ctor_release(x_2245, 1); + x_2248 = x_2245; +} else { + lean_dec_ref(x_2245); + x_2248 = lean_box(0); +} +x_2249 = lean_ctor_get(x_2246, 0); +lean_inc(x_2249); +if (lean_is_exclusive(x_2246)) { + lean_ctor_release(x_2246, 0); + x_2250 = x_2246; +} else { + lean_dec_ref(x_2246); + x_2250 = lean_box(0); +} +x_2251 = lean_ctor_get(x_5, 2); +lean_inc(x_2251); +x_2252 = lean_ctor_get(x_5, 1); +lean_inc(x_2252); +lean_dec(x_5); +x_2253 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_2249); +x_2254 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2254, 0, x_2249); +lean_ctor_set(x_2254, 1, x_2253); +x_2255 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_2251); +lean_inc(x_2252); +x_2256 = l_Lean_addMacroScope(x_2252, x_2255, x_2251); +x_2257 = lean_box(0); +x_2258 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_2249); +x_2259 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2259, 0, x_2249); +lean_ctor_set(x_2259, 1, x_2258); +lean_ctor_set(x_2259, 2, x_2256); +lean_ctor_set(x_2259, 3, x_2257); +x_2260 = lean_mk_syntax_ident(x_2033); +x_2261 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2262 = lean_array_push(x_2261, x_2260); +x_2263 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2264, 0, x_2263); +lean_ctor_set(x_2264, 1, x_2262); +x_2265 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2266 = lean_array_push(x_2265, x_2259); +x_2267 = lean_array_push(x_2266, x_2264); +x_2268 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_2269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2269, 0, x_2268); +lean_ctor_set(x_2269, 1, x_2267); +x_2270 = lean_array_push(x_2265, x_1); +x_2271 = lean_array_push(x_2270, x_2269); +x_2272 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_2273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2273, 0, x_2272); +lean_ctor_set(x_2273, 1, x_2271); +x_2274 = lean_array_push(x_2261, x_2273); +x_2275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2275, 0, x_2263); +lean_ctor_set(x_2275, 1, x_2274); +x_2276 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_2249); +x_2277 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2277, 0, x_2249); +lean_ctor_set(x_2277, 1, x_2276); +x_2278 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_2279 = lean_array_push(x_2278, x_2254); +x_2280 = lean_array_push(x_2279, x_2275); +x_2281 = lean_array_push(x_2280, x_2277); +x_2282 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_2283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2283, 0, x_2282); +lean_ctor_set(x_2283, 1, x_2281); +x_2284 = lean_array_push(x_2261, x_2283); +x_2285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2285, 0, x_2263); +lean_ctor_set(x_2285, 1, x_2284); +x_2286 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_2287 = lean_array_push(x_2286, x_2285); +x_2288 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2289 = lean_array_push(x_2287, x_2288); +x_2290 = lean_array_push(x_2289, x_2288); +x_2291 = lean_array_push(x_2290, x_2288); +x_2292 = lean_array_push(x_2291, x_2288); +x_2293 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_2294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2294, 0, x_2293); +lean_ctor_set(x_2294, 1, x_2292); +x_2295 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_2249); +x_2296 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2296, 0, x_2249); +lean_ctor_set(x_2296, 1, x_2295); +x_2297 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_2251); +lean_inc(x_2252); +x_2298 = l_Lean_addMacroScope(x_2252, x_2297, x_2251); +x_2299 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_2249); +x_2300 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2300, 0, x_2249); +lean_ctor_set(x_2300, 1, x_2299); +lean_ctor_set(x_2300, 2, x_2298); +lean_ctor_set(x_2300, 3, x_2257); +x_2301 = lean_array_push(x_2265, x_2300); +x_2302 = lean_array_push(x_2301, x_2288); +x_2303 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_2304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2304, 0, x_2303); +lean_ctor_set(x_2304, 1, x_2302); +x_2305 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_2249); +x_2306 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2306, 0, x_2249); +lean_ctor_set(x_2306, 1, x_2305); +x_2307 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_2251); +lean_inc(x_2252); +x_2308 = l_Lean_addMacroScope(x_2252, x_2307, x_2251); +x_2309 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_2310 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_2249); +x_2311 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2311, 0, x_2249); +lean_ctor_set(x_2311, 1, x_2309); +lean_ctor_set(x_2311, 2, x_2308); +lean_ctor_set(x_2311, 3, x_2310); +x_2312 = lean_array_push(x_2265, x_2306); +x_2313 = lean_array_push(x_2312, x_2311); +x_2314 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_2315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2315, 0, x_2314); +lean_ctor_set(x_2315, 1, x_2313); +x_2316 = lean_array_push(x_2261, x_2315); +x_2317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2317, 0, x_2263); +lean_ctor_set(x_2317, 1, x_2316); +x_2318 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2319 = lean_array_push(x_2318, x_2317); +x_2320 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_2321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2321, 0, x_2320); +lean_ctor_set(x_2321, 1, x_2319); +x_2322 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_2249); +x_2323 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2323, 0, x_2249); +lean_ctor_set(x_2323, 1, x_2322); +x_2324 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_2249); +x_2325 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2325, 0, x_2249); +lean_ctor_set(x_2325, 1, x_2324); +x_2326 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_2249); +x_2327 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2327, 0, x_2249); +lean_ctor_set(x_2327, 1, x_2326); +x_2328 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_2249); +x_2329 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2329, 0, x_2249); +lean_ctor_set(x_2329, 1, x_2328); +x_2330 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_2249); +x_2331 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2331, 0, x_2249); +lean_ctor_set(x_2331, 1, x_2330); +x_2332 = lean_array_push(x_2278, x_2329); +lean_inc(x_2332); +x_2333 = lean_array_push(x_2332, x_2244); +lean_inc(x_2331); +x_2334 = lean_array_push(x_2333, x_2331); +x_2335 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_2336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2336, 0, x_2335); +lean_ctor_set(x_2336, 1, x_2334); +x_2337 = lean_array_push(x_2261, x_2336); +x_2338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2338, 0, x_2263); +lean_ctor_set(x_2338, 1, x_2337); +x_2339 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_2249); +x_2340 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2340, 0, x_2249); +lean_ctor_set(x_2340, 1, x_2339); +x_2341 = lean_array_push(x_2332, x_3); +lean_inc(x_2331); +x_2342 = lean_array_push(x_2341, x_2331); +x_2343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2343, 0, x_2335); +lean_ctor_set(x_2343, 1, x_2342); +x_2344 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_2345 = lean_array_push(x_2344, x_2327); +lean_inc(x_2345); +x_2346 = lean_array_push(x_2345, x_2338); +lean_inc(x_2340); +x_2347 = lean_array_push(x_2346, x_2340); +x_2348 = lean_array_push(x_2347, x_2343); +x_2349 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_2350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2350, 0, x_2349); +lean_ctor_set(x_2350, 1, x_2348); +x_2351 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_2249); +x_2352 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2352, 0, x_2249); +lean_ctor_set(x_2352, 1, x_2351); +x_2353 = lean_array_push(x_2261, x_2352); +x_2354 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2355, 0, x_2354); +lean_ctor_set(x_2355, 1, x_2353); +x_2356 = lean_array_push(x_2261, x_2355); +x_2357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2357, 0, x_2263); +lean_ctor_set(x_2357, 1, x_2356); +x_2358 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_2359 = l_Lean_addMacroScope(x_2252, x_2358, x_2251); +x_2360 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2361 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_2249); +x_2362 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2362, 0, x_2249); +lean_ctor_set(x_2362, 1, x_2360); +lean_ctor_set(x_2362, 2, x_2359); +lean_ctor_set(x_2362, 3, x_2361); +x_2363 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_2364 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2364, 0, x_2249); +lean_ctor_set(x_2364, 1, x_2363); +x_2365 = lean_array_push(x_2278, x_2364); +x_2366 = lean_array_push(x_2365, x_2288); +x_2367 = lean_array_push(x_2366, x_2331); +x_2368 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_2369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2369, 0, x_2368); +lean_ctor_set(x_2369, 1, x_2367); +x_2370 = lean_array_push(x_2261, x_2369); +x_2371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2371, 0, x_2263); +lean_ctor_set(x_2371, 1, x_2370); +x_2372 = lean_array_push(x_2265, x_2362); +x_2373 = lean_array_push(x_2372, x_2371); +x_2374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2374, 0, x_7); +lean_ctor_set(x_2374, 1, x_2373); +x_2375 = lean_array_push(x_2345, x_2357); +x_2376 = lean_array_push(x_2375, x_2340); +x_2377 = lean_array_push(x_2376, x_2374); +x_2378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2378, 0, x_2349); +lean_ctor_set(x_2378, 1, x_2377); +x_2379 = lean_array_push(x_2265, x_2350); +x_2380 = lean_array_push(x_2379, x_2378); +x_2381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2381, 0, x_2263); +lean_ctor_set(x_2381, 1, x_2380); +x_2382 = lean_array_push(x_2261, x_2381); +x_2383 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2384, 0, x_2383); +lean_ctor_set(x_2384, 1, x_2382); +x_2385 = lean_array_push(x_2265, x_2325); +x_2386 = lean_array_push(x_2385, x_2384); +x_2387 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_2388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2388, 0, x_2387); +lean_ctor_set(x_2388, 1, x_2386); +x_2389 = lean_array_push(x_2278, x_2323); +x_2390 = lean_array_push(x_2389, x_2388); +x_2391 = lean_array_push(x_2390, x_2288); +x_2392 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_2393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2393, 0, x_2392); +lean_ctor_set(x_2393, 1, x_2391); +x_2394 = lean_array_push(x_2344, x_2296); +x_2395 = lean_array_push(x_2394, x_2304); +x_2396 = lean_array_push(x_2395, x_2321); +x_2397 = lean_array_push(x_2396, x_2393); +x_2398 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_2399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2399, 0, x_2398); +lean_ctor_set(x_2399, 1, x_2397); +x_2400 = lean_array_push(x_2265, x_2294); +x_2401 = lean_array_push(x_2400, x_2399); +x_2402 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_2403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2403, 0, x_2402); +lean_ctor_set(x_2403, 1, x_2401); +if (lean_is_scalar(x_2250)) { + x_2404 = lean_alloc_ctor(1, 1, 0); +} else { + x_2404 = x_2250; +} +lean_ctor_set(x_2404, 0, x_2403); +if (lean_is_scalar(x_2248)) { + x_2405 = lean_alloc_ctor(0, 2, 0); +} else { + x_2405 = x_2248; +} +lean_ctor_set(x_2405, 0, x_2404); +lean_ctor_set(x_2405, 1, x_2247); +return x_2405; +} +} +} +} +else +{ +size_t x_2437; size_t x_2438; uint8_t x_2439; +x_2437 = 0; +x_2438 = lean_usize_of_nat(x_2034); +lean_dec(x_2034); +x_2439 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_418, x_2437, x_2438); +if (x_2439 == 0) +{ +uint8_t x_2440; +x_2440 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); +if (x_2440 == 0) +{ +lean_object* x_2441; lean_object* x_2442; +lean_dec(x_2033); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2441 = lean_box(0); +x_2442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2442, 0, x_2441); +lean_ctor_set(x_2442, 1, x_2032); +return x_2442; +} +else +{ +lean_object* x_2443; lean_object* x_2444; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; +x_2628 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); +x_2629 = lean_ctor_get(x_2628, 0); +lean_inc(x_2629); +x_2630 = lean_ctor_get(x_2628, 1); +lean_inc(x_2630); +lean_dec(x_2628); +x_2631 = lean_ctor_get(x_2629, 0); +lean_inc(x_2631); +if (lean_is_exclusive(x_2629)) { + lean_ctor_release(x_2629, 0); + x_2632 = x_2629; +} else { + lean_dec_ref(x_2629); + x_2632 = lean_box(0); +} +x_2633 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +x_2634 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2634, 0, x_2631); +lean_ctor_set(x_2634, 1, x_2633); +x_2635 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2636 = lean_array_push(x_2635, x_2634); +x_2637 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2638, 0, x_2637); +lean_ctor_set(x_2638, 1, x_2636); +if (lean_is_scalar(x_2632)) { + x_2639 = lean_alloc_ctor(1, 1, 0); +} else { + x_2639 = x_2632; +} +lean_ctor_set(x_2639, 0, x_2638); +x_2443 = x_2639; +x_2444 = x_2630; +goto block_2627; +block_2627: +{ +lean_object* x_2445; lean_object* x_2446; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; +x_2610 = lean_ctor_get(x_2443, 0); +lean_inc(x_2610); +lean_dec(x_2443); +x_2611 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2444); +x_2612 = lean_ctor_get(x_2611, 0); +lean_inc(x_2612); +if (lean_is_exclusive(x_2612)) { + lean_ctor_release(x_2612, 0); + x_2613 = x_2612; +} else { + lean_dec_ref(x_2612); + x_2613 = lean_box(0); +} +x_2614 = lean_ctor_get(x_2611, 1); +lean_inc(x_2614); +lean_dec(x_2611); +x_2615 = lean_box(0); +x_2616 = lean_box(0); +x_2617 = l_Lean_Syntax_mkAntiquotNode(x_2610, x_410, x_2615, x_2616); +x_2618 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2619 = l_Array_append___rarg(x_2618, x_418); +lean_dec(x_418); +x_2620 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2621, 0, x_2620); +lean_ctor_set(x_2621, 1, x_2619); +x_2622 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2623 = lean_array_push(x_2622, x_2617); +x_2624 = lean_array_push(x_2623, x_2621); +x_2625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2625, 0, x_7); +lean_ctor_set(x_2625, 1, x_2624); +if (lean_is_scalar(x_2613)) { + x_2626 = lean_alloc_ctor(1, 1, 0); +} else { + x_2626 = x_2613; +} +lean_ctor_set(x_2626, 0, x_2625); +x_2445 = x_2626; +x_2446 = x_2614; +goto block_2609; +block_2609: +{ +lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; +x_2447 = lean_ctor_get(x_2445, 0); +lean_inc(x_2447); +lean_dec(x_2445); +x_2448 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2446); +x_2449 = lean_ctor_get(x_2448, 0); +lean_inc(x_2449); +x_2450 = lean_ctor_get(x_2448, 1); +lean_inc(x_2450); +if (lean_is_exclusive(x_2448)) { + lean_ctor_release(x_2448, 0); + lean_ctor_release(x_2448, 1); + x_2451 = x_2448; +} else { + lean_dec_ref(x_2448); + x_2451 = lean_box(0); +} +x_2452 = lean_ctor_get(x_2449, 0); +lean_inc(x_2452); +if (lean_is_exclusive(x_2449)) { + lean_ctor_release(x_2449, 0); + x_2453 = x_2449; +} else { + lean_dec_ref(x_2449); + x_2453 = lean_box(0); +} +x_2454 = lean_ctor_get(x_5, 2); +lean_inc(x_2454); +x_2455 = lean_ctor_get(x_5, 1); +lean_inc(x_2455); +lean_dec(x_5); +x_2456 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_2452); +x_2457 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2457, 0, x_2452); +lean_ctor_set(x_2457, 1, x_2456); +x_2458 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_2454); +lean_inc(x_2455); +x_2459 = l_Lean_addMacroScope(x_2455, x_2458, x_2454); +x_2460 = lean_box(0); +x_2461 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +lean_inc(x_2452); +x_2462 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2462, 0, x_2452); +lean_ctor_set(x_2462, 1, x_2461); +lean_ctor_set(x_2462, 2, x_2459); +lean_ctor_set(x_2462, 3, x_2460); +x_2463 = lean_mk_syntax_ident(x_2033); +x_2464 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2465 = lean_array_push(x_2464, x_2463); +x_2466 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2467, 0, x_2466); +lean_ctor_set(x_2467, 1, x_2465); +x_2468 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2469 = lean_array_push(x_2468, x_2462); +x_2470 = lean_array_push(x_2469, x_2467); +x_2471 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_2472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2472, 0, x_2471); +lean_ctor_set(x_2472, 1, x_2470); +x_2473 = lean_array_push(x_2468, x_1); +x_2474 = lean_array_push(x_2473, x_2472); +x_2475 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_2476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2476, 0, x_2475); +lean_ctor_set(x_2476, 1, x_2474); +x_2477 = lean_array_push(x_2464, x_2476); +x_2478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2478, 0, x_2466); +lean_ctor_set(x_2478, 1, x_2477); +x_2479 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_2452); +x_2480 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2480, 0, x_2452); +lean_ctor_set(x_2480, 1, x_2479); +x_2481 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_2482 = lean_array_push(x_2481, x_2457); +x_2483 = lean_array_push(x_2482, x_2478); +x_2484 = lean_array_push(x_2483, x_2480); +x_2485 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_2486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2486, 0, x_2485); +lean_ctor_set(x_2486, 1, x_2484); +x_2487 = lean_array_push(x_2464, x_2486); +x_2488 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2488, 0, x_2466); +lean_ctor_set(x_2488, 1, x_2487); +x_2489 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_2490 = lean_array_push(x_2489, x_2488); +x_2491 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2492 = lean_array_push(x_2490, x_2491); +x_2493 = lean_array_push(x_2492, x_2491); +x_2494 = lean_array_push(x_2493, x_2491); +x_2495 = lean_array_push(x_2494, x_2491); +x_2496 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_2497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2497, 0, x_2496); +lean_ctor_set(x_2497, 1, x_2495); +x_2498 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +lean_inc(x_2452); +x_2499 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2499, 0, x_2452); +lean_ctor_set(x_2499, 1, x_2498); +x_2500 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +lean_inc(x_2454); +lean_inc(x_2455); +x_2501 = l_Lean_addMacroScope(x_2455, x_2500, x_2454); +x_2502 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +lean_inc(x_2452); +x_2503 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2503, 0, x_2452); +lean_ctor_set(x_2503, 1, x_2502); +lean_ctor_set(x_2503, 2, x_2501); +lean_ctor_set(x_2503, 3, x_2460); +x_2504 = lean_array_push(x_2468, x_2503); +x_2505 = lean_array_push(x_2504, x_2491); +x_2506 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_2507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2507, 0, x_2506); +lean_ctor_set(x_2507, 1, x_2505); +x_2508 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_2452); +x_2509 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2509, 0, x_2452); +lean_ctor_set(x_2509, 1, x_2508); +x_2510 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +lean_inc(x_2454); +lean_inc(x_2455); +x_2511 = l_Lean_addMacroScope(x_2455, x_2510, x_2454); +x_2512 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_2513 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +lean_inc(x_2452); +x_2514 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2514, 0, x_2452); +lean_ctor_set(x_2514, 1, x_2512); +lean_ctor_set(x_2514, 2, x_2511); +lean_ctor_set(x_2514, 3, x_2513); +x_2515 = lean_array_push(x_2468, x_2509); +x_2516 = lean_array_push(x_2515, x_2514); +x_2517 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_2518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2518, 0, x_2517); +lean_ctor_set(x_2518, 1, x_2516); +x_2519 = lean_array_push(x_2464, x_2518); +x_2520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2520, 0, x_2466); +lean_ctor_set(x_2520, 1, x_2519); +x_2521 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2522 = lean_array_push(x_2521, x_2520); +x_2523 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_2524 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2524, 0, x_2523); +lean_ctor_set(x_2524, 1, x_2522); +x_2525 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_2452); +x_2526 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2526, 0, x_2452); +lean_ctor_set(x_2526, 1, x_2525); +x_2527 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_2452); +x_2528 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2528, 0, x_2452); +lean_ctor_set(x_2528, 1, x_2527); +x_2529 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_2452); +x_2530 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2530, 0, x_2452); +lean_ctor_set(x_2530, 1, x_2529); +x_2531 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_2452); +x_2532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2532, 0, x_2452); +lean_ctor_set(x_2532, 1, x_2531); +x_2533 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_2452); +x_2534 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2534, 0, x_2452); +lean_ctor_set(x_2534, 1, x_2533); +x_2535 = lean_array_push(x_2481, x_2532); +lean_inc(x_2535); +x_2536 = lean_array_push(x_2535, x_2447); +lean_inc(x_2534); +x_2537 = lean_array_push(x_2536, x_2534); +x_2538 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_2539 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2539, 0, x_2538); +lean_ctor_set(x_2539, 1, x_2537); +x_2540 = lean_array_push(x_2464, x_2539); +x_2541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2541, 0, x_2466); +lean_ctor_set(x_2541, 1, x_2540); +x_2542 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_2452); +x_2543 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2543, 0, x_2452); +lean_ctor_set(x_2543, 1, x_2542); +x_2544 = lean_array_push(x_2535, x_3); +lean_inc(x_2534); +x_2545 = lean_array_push(x_2544, x_2534); +x_2546 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2546, 0, x_2538); +lean_ctor_set(x_2546, 1, x_2545); +x_2547 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_2548 = lean_array_push(x_2547, x_2530); +lean_inc(x_2548); +x_2549 = lean_array_push(x_2548, x_2541); +lean_inc(x_2543); +x_2550 = lean_array_push(x_2549, x_2543); +x_2551 = lean_array_push(x_2550, x_2546); +x_2552 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_2553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2553, 0, x_2552); +lean_ctor_set(x_2553, 1, x_2551); +x_2554 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_2452); +x_2555 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2555, 0, x_2452); +lean_ctor_set(x_2555, 1, x_2554); +x_2556 = lean_array_push(x_2464, x_2555); +x_2557 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2558 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2558, 0, x_2557); +lean_ctor_set(x_2558, 1, x_2556); +x_2559 = lean_array_push(x_2464, x_2558); +x_2560 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2560, 0, x_2466); +lean_ctor_set(x_2560, 1, x_2559); +x_2561 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_2562 = l_Lean_addMacroScope(x_2455, x_2561, x_2454); +x_2563 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2564 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; +lean_inc(x_2452); +x_2565 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2565, 0, x_2452); +lean_ctor_set(x_2565, 1, x_2563); +lean_ctor_set(x_2565, 2, x_2562); +lean_ctor_set(x_2565, 3, x_2564); +x_2566 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +x_2567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2567, 0, x_2452); +lean_ctor_set(x_2567, 1, x_2566); +x_2568 = lean_array_push(x_2481, x_2567); +x_2569 = lean_array_push(x_2568, x_2491); +x_2570 = lean_array_push(x_2569, x_2534); +x_2571 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; +x_2572 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2572, 0, x_2571); +lean_ctor_set(x_2572, 1, x_2570); +x_2573 = lean_array_push(x_2464, x_2572); +x_2574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2574, 0, x_2466); +lean_ctor_set(x_2574, 1, x_2573); +x_2575 = lean_array_push(x_2468, x_2565); +x_2576 = lean_array_push(x_2575, x_2574); +x_2577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2577, 0, x_7); +lean_ctor_set(x_2577, 1, x_2576); +x_2578 = lean_array_push(x_2548, x_2560); +x_2579 = lean_array_push(x_2578, x_2543); +x_2580 = lean_array_push(x_2579, x_2577); +x_2581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2581, 0, x_2552); +lean_ctor_set(x_2581, 1, x_2580); +x_2582 = lean_array_push(x_2468, x_2553); +x_2583 = lean_array_push(x_2582, x_2581); +x_2584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2584, 0, x_2466); +lean_ctor_set(x_2584, 1, x_2583); +x_2585 = lean_array_push(x_2464, x_2584); +x_2586 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2587, 0, x_2586); +lean_ctor_set(x_2587, 1, x_2585); +x_2588 = lean_array_push(x_2468, x_2528); +x_2589 = lean_array_push(x_2588, x_2587); +x_2590 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; +x_2591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2591, 0, x_2590); +lean_ctor_set(x_2591, 1, x_2589); +x_2592 = lean_array_push(x_2481, x_2526); +x_2593 = lean_array_push(x_2592, x_2591); +x_2594 = lean_array_push(x_2593, x_2491); +x_2595 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_2596 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2596, 0, x_2595); +lean_ctor_set(x_2596, 1, x_2594); +x_2597 = lean_array_push(x_2547, x_2499); +x_2598 = lean_array_push(x_2597, x_2507); +x_2599 = lean_array_push(x_2598, x_2524); +x_2600 = lean_array_push(x_2599, x_2596); +x_2601 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_2602 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2602, 0, x_2601); +lean_ctor_set(x_2602, 1, x_2600); +x_2603 = lean_array_push(x_2468, x_2497); +x_2604 = lean_array_push(x_2603, x_2602); +x_2605 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_2606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2606, 0, x_2605); +lean_ctor_set(x_2606, 1, x_2604); +if (lean_is_scalar(x_2453)) { + x_2607 = lean_alloc_ctor(1, 1, 0); +} else { + x_2607 = x_2453; +} +lean_ctor_set(x_2607, 0, x_2606); +if (lean_is_scalar(x_2451)) { + x_2608 = lean_alloc_ctor(0, 2, 0); +} else { + x_2608 = x_2451; +} +lean_ctor_set(x_2608, 0, x_2607); +lean_ctor_set(x_2608, 1, x_2450); +return x_2608; +} +} +} +} +else +{ +lean_object* x_2640; lean_object* x_2641; +lean_dec(x_2033); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2640 = lean_box(0); +x_2641 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2641, 0, x_2640); +lean_ctor_set(x_2641, 1, x_2032); +return x_2641; +} +} +} +} +} +else +{ +uint8_t x_2642; +lean_dec(x_430); +lean_dec(x_428); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2642 = !lean_is_exclusive(x_420); +if (x_2642 == 0) +{ +lean_object* x_2643; lean_object* x_2644; +x_2643 = lean_ctor_get(x_420, 0); +lean_dec(x_2643); +x_2644 = lean_box(0); +lean_ctor_set(x_420, 0, x_2644); +return x_420; +} +else +{ +lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; +x_2645 = lean_ctor_get(x_420, 1); +lean_inc(x_2645); +lean_dec(x_420); +x_2646 = lean_box(0); +x_2647 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2647, 0, x_2646); +lean_ctor_set(x_2647, 1, x_2645); +return x_2647; +} +} +} +else +{ +uint8_t x_2648; +lean_dec(x_429); +lean_dec(x_428); +lean_dec(x_421); +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2648 = !lean_is_exclusive(x_420); +if (x_2648 == 0) +{ +lean_object* x_2649; lean_object* x_2650; +x_2649 = lean_ctor_get(x_420, 0); +lean_dec(x_2649); +x_2650 = lean_box(0); +lean_ctor_set(x_420, 0, x_2650); +return x_420; +} +else +{ +lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; +x_2651 = lean_ctor_get(x_420, 1); +lean_inc(x_2651); +lean_dec(x_420); +x_2652 = lean_box(0); +x_2653 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2653, 0, x_2652); +lean_ctor_set(x_2653, 1, x_2651); +return x_2653; +} +} +} +} +else +{ +uint8_t x_2654; +lean_dec(x_418); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2654 = !lean_is_exclusive(x_420); +if (x_2654 == 0) +{ +return x_420; +} +else +{ +lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; +x_2655 = lean_ctor_get(x_420, 0); +x_2656 = lean_ctor_get(x_420, 1); +lean_inc(x_2656); +lean_inc(x_2655); +lean_dec(x_420); +x_2657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2657, 0, x_2655); +lean_ctor_set(x_2657, 1, x_2656); +return x_2657; +} +} +} +} +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_1, x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_1, x_4, x_5); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Lean_Elab_Command_mkSimpleDelab___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_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +return x_7; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("local"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +lean_dec(x_1); +x_7 = l_Lean_nullKind; +x_8 = lean_unsigned_to_nat(1u); +lean_inc(x_6); +x_9 = l_Lean_Syntax_isNodeOf(x_6, x_7, x_8); +if (x_9 == 0) +{ +uint8_t x_10; +lean_dec(x_6); +x_10 = 0; +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_Syntax_getArg(x_6, x_5); +lean_dec(x_6); +x_12 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4; +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +return x_13; +} +} +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_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_Notation_0__Lean_Elab_Command_expandNotationAux_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l_Lean_Syntax_getArg(x_9, x_7); +lean_dec(x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; +x_6 = lean_array_uget(x_1, x_2); +lean_inc(x_6); +x_7 = l_Lean_Syntax_getKind(x_6); +x_8 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8; +x_9 = lean_name_eq(x_7, x_8); +lean_dec(x_7); +x_10 = 1; +x_11 = x_2 + x_10; +if (x_9 == 0) +{ +lean_dec(x_6); +x_2 = x_11; +goto _start; +} +else +{ +lean_object* x_13; +x_13 = lean_array_push(x_4, x_6); +x_2 = x_11; +x_4 = x_13; +goto _start; +} +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___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 = l_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +lean_dec(x_7); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = lean_array_push(x_5, x_6); +x_17 = lean_array_push(x_16, x_8); +x_18 = l_Lean_nullKind; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_12, 0, x_19); +return x_12; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_dec(x_12); +x_21 = lean_array_push(x_5, x_6); +x_22 = lean_array_push(x_21, x_8); +x_23 = l_Lean_nullKind; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_5); +x_26 = !lean_is_exclusive(x_12); +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; +x_27 = lean_ctor_get(x_12, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_13, 0); +lean_inc(x_28); +lean_dec(x_13); +x_29 = lean_array_push(x_7, x_6); +x_30 = lean_array_push(x_29, x_8); +x_31 = lean_array_push(x_30, x_28); +x_32 = l_Lean_nullKind; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_12, 0, x_33); +return x_12; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_34 = lean_ctor_get(x_12, 1); +lean_inc(x_34); +lean_dec(x_12); +x_35 = lean_ctor_get(x_13, 0); +lean_inc(x_35); +lean_dec(x_13); +x_36 = lean_array_push(x_7, x_6); +x_37 = lean_array_push(x_36, x_8); +x_38 = lean_array_push(x_37, x_35); +x_39 = l_Lean_nullKind; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_34); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_42 = !lean_is_exclusive(x_12); +if (x_42 == 0) +{ +return x_12; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_12); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macro_rules"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +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___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___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___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precheckedQuot"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("section"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("set_option"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quotPrecheck.allowSectionVars"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; +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___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quotPrecheck"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("allowSectionVars"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("end"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntax"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedName"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("name"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPrio"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("priority"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36; +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___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precedence"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; +x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; uint8_t 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_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_1); +x_18 = lean_box_usize(x_2); +x_19 = lean_box_usize(x_3); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 5, 3); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +lean_closure_set(x_20, 2, x_4); +x_21 = x_20; +lean_inc(x_14); +x_22 = lean_apply_2(x_21, x_14, x_15); +if (x_17 == 0) +{ +lean_object* x_214; +x_214 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_23 = x_214; +goto block_213; +} +else +{ +uint8_t x_215; +x_215 = lean_nat_dec_le(x_1, x_1); +if (x_215 == 0) +{ +lean_object* x_216; +x_216 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_23 = x_216; +goto block_213; +} +else +{ +lean_object* x_217; lean_object* x_218; +x_217 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_218 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(x_12, x_3, x_2, x_217); +x_23 = x_218; +goto block_213; +} +} +block_213: +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t 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_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; size_t x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_array_get_size(x_23); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = x_23; +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3(x_27, x_3, x_28); +x_30 = x_29; +x_31 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote(x_30, x_5); +lean_inc(x_13); +x_32 = l_Lean_Name_append(x_6, x_13); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +x_130 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_25); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26; +lean_inc(x_131); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; +lean_inc(x_131); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_131); +lean_ctor_set(x_136, 1, x_135); +x_137 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30; +lean_inc(x_131); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_131); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +lean_inc(x_131); +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_131); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_mk_syntax_ident(x_13); +x_142 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_131); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_131); +lean_ctor_set(x_143, 1, x_142); +x_144 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; +x_145 = lean_array_push(x_144, x_136); +lean_inc(x_145); +x_146 = lean_array_push(x_145, x_138); +lean_inc(x_140); +x_147 = lean_array_push(x_146, x_140); +x_148 = lean_array_push(x_147, x_141); +lean_inc(x_143); +x_149 = lean_array_push(x_148, x_143); +x_150 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29; +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_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_153 = lean_array_push(x_152, x_151); +x_154 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +x_156 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33; +lean_inc(x_131); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_131); +lean_ctor_set(x_157, 1, x_156); +x_158 = l_Nat_repr(x_8); +x_159 = l_Lean_numLitKind; +x_160 = lean_box(2); +x_161 = l_Lean_Syntax_mkLit(x_159, x_158, x_160); +x_162 = lean_array_push(x_145, x_157); +x_163 = lean_array_push(x_162, x_140); +x_164 = lean_array_push(x_163, x_161); +x_165 = lean_array_push(x_164, x_143); +x_166 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_152, x_167); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_154); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_array_get_size(x_9); +x_171 = lean_usize_of_nat(x_170); +lean_dec(x_170); +x_172 = x_9; +x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_171, x_3, x_172); +x_174 = x_173; +x_175 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_176 = l_Array_append___rarg(x_175, x_174); +lean_dec(x_174); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_154); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +x_179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_179, 0, x_131); +lean_ctor_set(x_179, 1, x_178); +x_180 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35; +lean_inc(x_7); +x_181 = lean_array_push(x_180, x_7); +x_182 = lean_array_push(x_181, x_134); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_183 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37; +x_184 = lean_array_push(x_182, x_183); +x_185 = lean_array_push(x_184, x_155); +x_186 = lean_array_push(x_185, x_169); +x_187 = lean_array_push(x_186, x_177); +x_188 = lean_array_push(x_187, x_179); +x_189 = lean_array_push(x_188, x_11); +x_190 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_34 = x_191; +x_35 = x_132; +goto block_129; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_192 = lean_ctor_get(x_10, 0); +lean_inc(x_192); +lean_dec(x_10); +x_193 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +lean_inc(x_179); +x_194 = lean_array_push(x_193, x_179); +x_195 = lean_array_push(x_194, x_192); +x_196 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39; +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = lean_array_push(x_152, x_197); +x_199 = l_Array_append___rarg(x_175, x_198); +lean_dec(x_198); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_154); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_array_push(x_182, x_200); +x_202 = lean_array_push(x_201, x_155); +x_203 = lean_array_push(x_202, x_169); +x_204 = lean_array_push(x_203, x_177); +x_205 = lean_array_push(x_204, x_179); +x_206 = lean_array_push(x_205, x_11); +x_207 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +x_34 = x_208; +x_35 = x_132; +goto block_129; +} +block_129: +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +lean_inc(x_37); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +lean_inc(x_37); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_37); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +lean_inc(x_37); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_37); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_37); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_37); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_48 = lean_array_push(x_47, x_44); +lean_inc(x_33); +lean_inc(x_48); +x_49 = lean_array_push(x_48, x_33); +lean_inc(x_46); +x_50 = lean_array_push(x_49, x_46); +x_51 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +x_54 = lean_array_push(x_53, x_52); +x_55 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_37); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_37); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_37); +lean_ctor_set(x_60, 1, x_59); +lean_inc(x_31); +x_61 = lean_array_push(x_48, x_31); +x_62 = lean_array_push(x_61, x_46); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_51); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_65 = lean_array_push(x_64, x_60); +x_66 = lean_array_push(x_65, x_63); +x_67 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_70 = lean_array_push(x_69, x_42); +x_71 = lean_array_push(x_70, x_56); +x_72 = lean_array_push(x_71, x_58); +x_73 = lean_array_push(x_72, x_68); +x_74 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +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_53, x_75); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_55); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_53, x_77); +x_79 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +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___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; +x_82 = lean_array_push(x_81, x_40); +x_83 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +x_84 = lean_array_push(x_82, x_83); +x_85 = lean_array_push(x_84, x_80); +x_86 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___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); +lean_inc(x_7); +x_88 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind(x_7); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_box(0); +x_90 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_7, x_30, x_33, x_31, x_64, x_34, x_47, x_87, x_89, x_14, x_38); +lean_dec(x_30); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_91 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_14, x_38); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_14, 2); +lean_inc(x_94); +x_95 = lean_ctor_get(x_14, 1); +lean_inc(x_95); +x_96 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +lean_inc(x_92); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_array_push(x_64, x_97); +x_99 = lean_array_push(x_98, x_83); +x_100 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; +lean_inc(x_92); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_92); +lean_ctor_set(x_103, 1, x_102); +x_104 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; +x_105 = l_Lean_addMacroScope(x_95, x_104, x_94); +x_106 = lean_box(0); +x_107 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; +lean_inc(x_92); +x_108 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_108, 0, x_92); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_108, 2, x_105); +lean_ctor_set(x_108, 3, x_106); +x_109 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; +lean_inc(x_92); +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_92); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_push(x_47, x_103); +x_112 = lean_array_push(x_111, x_108); +x_113 = lean_array_push(x_112, x_110); +x_114 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; +x_117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_117, 0, x_92); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_64, x_117); +x_119 = lean_array_push(x_118, x_83); +x_120 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = lean_array_push(x_69, x_101); +x_123 = lean_array_push(x_122, x_115); +x_124 = lean_array_push(x_123, x_87); +x_125 = lean_array_push(x_124, x_121); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_55); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_box(0); +x_128 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_7, x_30, x_33, x_31, x_64, x_34, x_47, x_126, x_127, x_14, x_93); +lean_dec(x_30); +return x_128; +} +} +} +else +{ +uint8_t x_209; +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_209 = !lean_is_exclusive(x_22); +if (x_209 == 0) +{ +return x_22; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_22, 0); +x_211 = lean_ctor_get(x_22, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_22); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux(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_inc(x_9); +x_11 = l_Lean_evalOptPrio(x_6, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_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_array_get_size(x_7); +x_15 = lean_usize_of_nat(x_14); +x_16 = 0; +lean_inc(x_7); +x_17 = x_7; +x_18 = lean_box_usize(x_15); +x_19 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +lean_inc(x_17); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 5, 3); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +lean_closure_set(x_20, 2, x_17); +x_21 = x_20; +lean_inc(x_9); +x_22 = lean_apply_2(x_21, x_9, x_13); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17; +x_26 = l_Lean_mkIdentFrom(x_1, x_25); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = l_Lean_nullKind; +lean_inc(x_23); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_23); +lean_inc(x_9); +x_29 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_25, x_28, x_9, x_24); +lean_dec(x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_30, x_9, x_31); +lean_dec(x_7); +lean_dec(x_14); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +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; +x_37 = lean_ctor_get(x_5, 0); +x_38 = l_Lean_Syntax_getId(x_37); +x_39 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_38, x_9, x_24); +lean_dec(x_7); +lean_dec(x_14); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_22); +if (x_40 == 0) +{ +return x_22; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 0); +x_42 = lean_ctor_get(x_22, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_22); +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_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_11); +if (x_44 == 0) +{ +return x_11; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_11, 0); +x_46 = lean_ctor_get(x_11, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_11); +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_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__2(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___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_Notation_0__Lean_Elab_Command_expandNotationAux___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_9); +lean_dec(x_2); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___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, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_1, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_1); +return x_18; +} +} +lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___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_Notation_0__Lean_Elab_Command_expandNotationAux(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_2); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(x_1); +x_4 = lean_apply_1(x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_Lean_Elab_Command_expandNotation_match__1___rarg(x_3, x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_expandNotation___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) { +_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; +x_9 = lean_unsigned_to_nat(5u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = lean_unsigned_to_nat(7u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getArgs(x_10); +lean_dec(x_10); +lean_inc(x_7); +x_14 = l_Lean_Elab_toAttributeKind(x_2, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +lean_inc(x_7); +x_16 = l_Lean_Macro_getCurrNamespace(x_7, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +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); +x_19 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux(x_1, x_17, x_2, x_3, x_4, x_6, x_13, x_12, x_7, x_18); +lean_dec(x_17); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +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_13); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +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; +} +} +} +} +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_unsigned_to_nat(4u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isNone(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_nullKind; +x_13 = lean_unsigned_to_nat(1u); +lean_inc(x_10); +x_14 = l_Lean_Syntax_isNodeOf(x_10, x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_getArg(x_10, x_17); +lean_dec(x_10); +x_19 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31; +x_20 = lean_name_mk_string(x_4, x_19); +lean_inc(x_18); +x_21 = l_Lean_Syntax_isOfKind(x_18, x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_8); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); +lean_dec(x_18); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_27, x_26, x_7, x_8); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_10); +lean_dec(x_4); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_30, x_29, x_7, x_8); +return x_31; +} +} +} +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(3u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_9, x_16); +lean_dec(x_9); +x_18 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28; +lean_inc(x_3); +x_19 = lean_name_mk_string(x_3, x_18); +lean_inc(x_17); +x_20 = l_Lean_Syntax_isOfKind(x_17, x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_17); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_21 = lean_box(1); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_7); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = l_Lean_Syntax_getArg(x_17, x_8); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_25, x_24, x_6, x_7); +lean_dec(x_24); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_9); +x_27 = lean_box(0); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_28, x_27, x_6, x_7); +return x_29; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("notation"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_2 = l_Lean_Elab_Command_expandNotation___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandNotation(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_Elab_Command_expandNotation___closed__2; +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 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +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; uint8_t x_16; +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_nullKind; +x_18 = lean_unsigned_to_nat(1u); +lean_inc(x_15); +x_19 = l_Lean_Syntax_isNodeOf(x_15, x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +lean_dec(x_15); +x_23 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39; +lean_inc(x_22); +x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = l_Lean_Syntax_getArg(x_22, x_18); +lean_dec(x_22); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_29, x_30, x_28, x_2, x_3); +lean_dec(x_1); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_15); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_33, x_34, x_32, x_2, x_3); +lean_dec(x_1); +return x_35; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandNotation___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expandNotation"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Elab_Command_expandNotation___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5; +x_5 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Syntax(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Notation(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Syntax(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__7); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__10); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__11); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__14); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__16); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__17); +l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18); +l_Lean_Elab_Command_mkSimpleDelab___closed__1 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__1); +l_Lean_Elab_Command_mkSimpleDelab___closed__2 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__2); +l_Lean_Elab_Command_mkSimpleDelab___closed__3 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__3); +l_Lean_Elab_Command_mkSimpleDelab___closed__4 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__4); +l_Lean_Elab_Command_mkSimpleDelab___closed__5 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__5); +l_Lean_Elab_Command_mkSimpleDelab___closed__6 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__6); +l_Lean_Elab_Command_mkSimpleDelab___closed__7 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__7); +l_Lean_Elab_Command_mkSimpleDelab___closed__8 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__8); +l_Lean_Elab_Command_mkSimpleDelab___closed__9 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__9); +l_Lean_Elab_Command_mkSimpleDelab___closed__10 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__10); +l_Lean_Elab_Command_mkSimpleDelab___closed__11 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__11); +l_Lean_Elab_Command_mkSimpleDelab___closed__12 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__12); +l_Lean_Elab_Command_mkSimpleDelab___closed__13 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__13); +l_Lean_Elab_Command_mkSimpleDelab___closed__14 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__14); +l_Lean_Elab_Command_mkSimpleDelab___closed__15 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__15); +l_Lean_Elab_Command_mkSimpleDelab___closed__16 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__16); +l_Lean_Elab_Command_mkSimpleDelab___closed__17 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__17); +l_Lean_Elab_Command_mkSimpleDelab___closed__18 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__18); +l_Lean_Elab_Command_mkSimpleDelab___closed__19 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__19); +l_Lean_Elab_Command_mkSimpleDelab___closed__20 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__20); +l_Lean_Elab_Command_mkSimpleDelab___closed__21 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__21); +l_Lean_Elab_Command_mkSimpleDelab___closed__22 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__22); +l_Lean_Elab_Command_mkSimpleDelab___closed__23 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__23); +l_Lean_Elab_Command_mkSimpleDelab___closed__24 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__24); +l_Lean_Elab_Command_mkSimpleDelab___closed__25 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__25); +l_Lean_Elab_Command_mkSimpleDelab___closed__26 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__26); +l_Lean_Elab_Command_mkSimpleDelab___closed__27 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__27); +l_Lean_Elab_Command_mkSimpleDelab___closed__28 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__28); +l_Lean_Elab_Command_mkSimpleDelab___closed__29 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__29); +l_Lean_Elab_Command_mkSimpleDelab___closed__30 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__30); +l_Lean_Elab_Command_mkSimpleDelab___closed__31 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__31); +l_Lean_Elab_Command_mkSimpleDelab___closed__32 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__32); +l_Lean_Elab_Command_mkSimpleDelab___closed__33 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__33); +l_Lean_Elab_Command_mkSimpleDelab___closed__34 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__34); +l_Lean_Elab_Command_mkSimpleDelab___closed__35 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__35); +l_Lean_Elab_Command_mkSimpleDelab___closed__36 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__36); +l_Lean_Elab_Command_mkSimpleDelab___closed__37 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__37); +l_Lean_Elab_Command_mkSimpleDelab___closed__38 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__38); +l_Lean_Elab_Command_mkSimpleDelab___closed__39 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__39); +l_Lean_Elab_Command_mkSimpleDelab___closed__40 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__40); +l_Lean_Elab_Command_mkSimpleDelab___closed__41 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__41); +l_Lean_Elab_Command_mkSimpleDelab___closed__42 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__42); +l_Lean_Elab_Command_mkSimpleDelab___closed__43 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__43(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__43); +l_Lean_Elab_Command_mkSimpleDelab___closed__44 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__44(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__44); +l_Lean_Elab_Command_mkSimpleDelab___closed__45 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__45(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__45); +l_Lean_Elab_Command_mkSimpleDelab___closed__46 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__46(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__46); +l_Lean_Elab_Command_mkSimpleDelab___closed__47 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__47(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__47); +l_Lean_Elab_Command_mkSimpleDelab___closed__48 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__48(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__48); +l_Lean_Elab_Command_mkSimpleDelab___closed__49 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__49(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__49); +l_Lean_Elab_Command_mkSimpleDelab___closed__50 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__50(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__50); +l_Lean_Elab_Command_mkSimpleDelab___closed__51 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__51(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__51); +l_Lean_Elab_Command_mkSimpleDelab___closed__52 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__52(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__52); +l_Lean_Elab_Command_mkSimpleDelab___closed__53 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__53(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__53); +l_Lean_Elab_Command_mkSimpleDelab___closed__54 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__54(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__54); +l_Lean_Elab_Command_mkSimpleDelab___closed__55 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__55(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__55); +l_Lean_Elab_Command_mkSimpleDelab___closed__56 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__56(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__56); +l_Lean_Elab_Command_mkSimpleDelab___closed__57 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__57(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__57); +l_Lean_Elab_Command_mkSimpleDelab___closed__58 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__58(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__58); +l_Lean_Elab_Command_mkSimpleDelab___closed__59 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__59(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__59); +l_Lean_Elab_Command_mkSimpleDelab___closed__60 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__60(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__60); +l_Lean_Elab_Command_mkSimpleDelab___closed__61 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__61(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__61); +l_Lean_Elab_Command_mkSimpleDelab___closed__62 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__62(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__62); +l_Lean_Elab_Command_mkSimpleDelab___closed__63 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__63(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__63); +l_Lean_Elab_Command_mkSimpleDelab___closed__64 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__64(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__64); +l_Lean_Elab_Command_mkSimpleDelab___closed__65 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__65(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__65); +l_Lean_Elab_Command_mkSimpleDelab___closed__66 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__66(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__66); +l_Lean_Elab_Command_mkSimpleDelab___closed__67 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__67(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__67); +l_Lean_Elab_Command_mkSimpleDelab___closed__68 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__68(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__68); +l_Lean_Elab_Command_mkSimpleDelab___closed__69 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__69(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__69); +l_Lean_Elab_Command_mkSimpleDelab___closed__70 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__70(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__70); +l_Lean_Elab_Command_mkSimpleDelab___closed__71 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__71(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__71); +l_Lean_Elab_Command_mkSimpleDelab___closed__72 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__72(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__72); +l_Lean_Elab_Command_mkSimpleDelab___closed__73 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__73(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__73); +l_Lean_Elab_Command_mkSimpleDelab___closed__74 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__74(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__74); +l_Lean_Elab_Command_mkSimpleDelab___closed__75 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__75(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__75); +l_Lean_Elab_Command_mkSimpleDelab___closed__76 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__76(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__76); +l_Lean_Elab_Command_mkSimpleDelab___closed__77 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__77(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__77); +l_Lean_Elab_Command_mkSimpleDelab___closed__78 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__78(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__78); +l_Lean_Elab_Command_mkSimpleDelab___closed__79 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__79(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__79); +l_Lean_Elab_Command_mkSimpleDelab___closed__80 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__80(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__80); +l_Lean_Elab_Command_mkSimpleDelab___closed__81 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__81(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__81); +l_Lean_Elab_Command_mkSimpleDelab___closed__82 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__82(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__82); +l_Lean_Elab_Command_mkSimpleDelab___closed__83 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__83(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__83); +l_Lean_Elab_Command_mkSimpleDelab___closed__84 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__84(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__84); +l_Lean_Elab_Command_mkSimpleDelab___closed__85 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__85(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__85); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__4); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__27); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__29); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__30); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__31); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__32); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__33); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__34); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39); +l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1); +l_Lean_Elab_Command_expandNotation___closed__1 = _init_l_Lean_Elab_Command_expandNotation___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__1); +l_Lean_Elab_Command_expandNotation___closed__2 = _init_l_Lean_Elab_Command_expandNotation___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__2); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5); +l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6); +res = l___regBuiltin_Lean_Elab_Command_expandNotation(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/PatternVar.c b/stage0/stdlib/Lean/Elab/PatternVar.c new file mode 100644 index 0000000000..8aef4b6ae9 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/PatternVar.c @@ -0,0 +1,11852 @@ +// Lean compiler output +// Module: Lean.Elab.PatternVar +// Imports: Init Lean.Meta.Match.MatchPatternAttr Lean.Elab.Arg Lean.Elab.MatchAltView +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_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*); +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; +size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29; +lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6; +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1(lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1; +lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1; +lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2; +lean_object* l_Lean_LocalDecl_userName(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; +extern lean_object* l_Lean_nullKind; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6; +lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1(lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static 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*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1; +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_CollectPatternVars_collect_pushNewArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getPatternVarNames_match__1(lean_object*); +static lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1; +lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1; +uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_st_ref_get(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_throwError___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* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object*); +lean_object* l_Lean_Elab_Term_collectPatternVars_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_getPatternsVars_match__1(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2; +lean_object* l_Lean_MessageData_ofList(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__2; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_CollectPatternVars_collect___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3(lean_object*); +static lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15; +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(uint8_t, 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_getMainModule___rarg(lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1; +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getPatternsVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; +lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getPatternsVars_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___boxed(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_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_empty; +lean_object* l_Lean_Elab_Term_getPatternVars_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2; +lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(lean_object*); +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getMVarSyntaxMVarId___boxed(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; +uint8_t l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4; +lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7; +lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam(lean_object*); +lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone___boxed(lean_object*); +lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1(lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object*); +extern lean_object* l_Lean_strLitKind; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___boxed(lean_object*, lean_object*, 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___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Elab_Term_CollectPatternVars_State_found___default; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3; +static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4; +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6(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_CollectPatternVars_collect_processCtorAppCore_match__3(lean_object*); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg___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_Expr_fvarId_x21(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg(lean_object*, lean_object*); +lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; +static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1; +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2(lean_object*); +lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___boxed(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*); +uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_collectPatternVars___closed__1; +static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2; +extern lean_object* l_Lean_choiceKind; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; +extern lean_object* l_Lean_charLitKind; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5; +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8(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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t, lean_object*, lean_object*, 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* lean_array_to_list(lean_object*, lean_object*); +uint8_t l_Lean_Name_isAtomic(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__20; +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___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_Syntax_mkStrLit(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, 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_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2; +lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Array_mapMUnsafe_map___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*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1(lean_object*); +lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; +size_t lean_usize_of_nat(lean_object*); +extern lean_object* l_Lean_NameSet_empty; +lean_object* l_Lean_ConstantInfo_type(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instToStringPatternVar(lean_object*); +lean_object* l_Lean_Elab_Term_getMVarSyntaxMVarId(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +extern uint8_t l_Lean_instInhabitedBinderInfo; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; +extern lean_object* l_Lean_identKind; +lean_object* l_Lean_Elab_Term_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2; +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg___boxed(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10; +extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_scientificLitKind; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2(lean_object*); +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_environment_main_module(lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_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* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(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_collect_processCtorAppCore___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__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_Lean_Elab_Term_CollectPatternVars_main___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object*, lean_object*); +uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); +lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35; +lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1; +lean_object* l_Lean_Elab_Term_CollectPatternVars_State_vars___default; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1; +uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_CollectPatternVars_collect___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__22; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +extern lean_object* l_Lean_instInhabitedName; +lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default; +lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* lean_name_mk_numeral(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_expandMacros(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; +lean_object* l_Lean_Elab_Term_getPatternVarNames_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1; +lean_object* l_Lean_Elab_Term_getPatternVarNames___boxed(lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7; +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; +lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___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_CollectPatternVars_collect_processId_match__1(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_Term_CollectPatternVars_main___boxed__const__1; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +lean_object* lean_nat_mod(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; +lean_object* l_Lean_Elab_Term_CollectPatternVars_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1; +lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(size_t, size_t, lean_object*); +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +uint8_t l_List_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_CollectPatternVars_collect_processCtorAppCore_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2(lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___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_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_instToStringPatternVar___closed__1; +static lean_object* l_Lean_Elab_Term_instToStringPatternVar___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__15; +static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10; +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__5; +static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1; +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4(lean_object*); +static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2; +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; +lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__1; +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext; +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3(lean_object*); +uint8_t l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_matchPatternAttr; +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___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_getPatternVars_match__1___rarg(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isIdent(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1; +lean_object* l_Lean_Elab_Term_instToStringPatternVar_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_Lean_Elab_Term_instToStringPatternVar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instToStringPatternVar_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instToStringPatternVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?m"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_instToStringPatternVar___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_instToStringPatternVar(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = 1; +x_4 = l_Lean_Name_toString(x_2, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = 1; +x_7 = l_Lean_Name_toString(x_5, x_6); +x_8 = l_Lean_Elab_Term_instToStringPatternVar___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Elab_Term_instToStringPatternVar___closed__2; +x_11 = lean_string_append(x_9, x_10); +return x_11; +} +} +} +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_st_ref_get(x_1, x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_4, 2); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +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; uint8_t x_16; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); +lean_inc(x_8); +x_10 = lean_name_mk_numeral(x_8, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_9, x_11); +lean_dec(x_9); +lean_ctor_set(x_5, 1, x_12); +x_13 = lean_st_ref_take(x_1, x_6); +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; uint8_t x_19; +x_17 = lean_ctor_get(x_14, 2); +lean_dec(x_17); +lean_ctor_set(x_14, 2, x_5); +x_18 = lean_st_ref_set(x_1, x_14, x_15); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_10); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +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; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +x_25 = lean_ctor_get(x_14, 3); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_14); +x_26 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_5); +lean_ctor_set(x_26, 3, x_25); +x_27 = lean_st_ref_set(x_1, x_26, x_15); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_29 = x_27; +} else { + lean_dec_ref(x_27); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_10); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_31 = lean_ctor_get(x_5, 0); +x_32 = lean_ctor_get(x_5, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_5); +lean_inc(x_32); +lean_inc(x_31); +x_33 = lean_name_mk_numeral(x_31, x_32); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_add(x_32, x_34); +lean_dec(x_32); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_st_ref_take(x_1, x_6); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_38, 3); +lean_inc(x_42); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + lean_ctor_release(x_38, 2); + lean_ctor_release(x_38, 3); + x_43 = x_38; +} else { + lean_dec_ref(x_38); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 4, 0); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +lean_ctor_set(x_44, 2, x_36); +lean_ctor_set(x_44, 3, x_42); +x_45 = lean_st_ref_set(x_1, x_44, x_39); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_33); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +} +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg___boxed), 2, 0); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MVarWithIdKind"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +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_10 = lean_ctor_get(x_8, 0); +x_11 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_14 = lean_array_push(x_13, x_12); +x_15 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_8, 0, x_16); +return x_8; +} +else +{ +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; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_22 = lean_array_push(x_21, x_20); +x_23 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_18); +return x_25; +} +} +} +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_mkFreshId___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax(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); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_getMVarSyntaxMVarId(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Syntax_getArg(x_1, x_2); +x_4 = l_Lean_Syntax_getKind(x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_getMVarSyntaxMVarId___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Term_getMVarSyntaxMVarId(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_State_found___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_NameSet_empty; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_State_vars___default() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +return x_1; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__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, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern, constructor or constant marked with '[matchPattern]' expected"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed), 8, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_array_uget(x_1, x_3); +x_15 = l_Lean_Expr_fvarId_x21(x_14); +lean_dec(x_14); +lean_inc(x_7); +x_16 = l_Lean_Meta_getLocalDecl(x_15, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; +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); +x_19 = l_Lean_LocalDecl_binderInfo(x_17); +lean_dec(x_17); +x_20 = l_Lean_BinderInfo_isExplicit(x_19); +if (x_20 == 0) +{ +size_t x_21; size_t x_22; +x_21 = 1; +x_22 = x_3 + x_21; +x_3 = x_22; +x_11 = x_18; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_4, x_24); +lean_dec(x_4); +x_26 = 1; +x_27 = x_3 + x_26; +x_3 = x_27; +x_4 = x_25; +x_11 = x_18; +goto _start; +} +} +else +{ +uint8_t x_29; +lean_dec(x_7); +lean_dec(x_4); +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +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; +} +} +} +} +} +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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) { +_start: +{ +lean_object* x_11; +x_11 = lean_apply_9(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg___lambda__1), 10, 3); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_4); +lean_closure_set(x_11, 2, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(x_1, x_2, 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_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg), 10, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_array_get_size(x_1); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__1(x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(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; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 2); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_1, 3); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1; +x_14 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__2___rarg(x_10, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_forInUnsafe_loop___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__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, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed), 8, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(0u); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1() { +_start: +{ +lean_object* x_1; 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_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_box(0); +x_4 = 0; +x_5 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 2, x_5); +lean_ctor_set(x_7, 3, x_6); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set(x_7, 5, x_2); +lean_ctor_set(x_7, 6, x_5); +lean_ctor_set_uint8(x_7, sizeof(void*)*7, x_4); +lean_ctor_set_uint8(x_7, sizeof(void*)*7 + 1, x_4); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1; +return x_1; +} +} +uint8_t l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 2); +x_3 = lean_array_get_size(x_2); +x_4 = lean_ctor_get(x_1, 3); +x_5 = lean_nat_dec_le(x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 3); +x_5 = l_Lean_SourceInfo_fromRef(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed), 3, 0); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("too many arguments"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("explicit"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("@"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_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, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +x_11 = l_Array_isEmpty___rarg(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; +x_13 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_1, 5); +lean_inc(x_14); +x_15 = l_List_isEmpty___rarg(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2; +x_17 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_7, x_8, x_9); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_22); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +x_26 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11; +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_ctor_get(x_1, 0); +lean_inc(x_28); +x_29 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_30 = lean_array_push(x_29, x_27); +x_31 = lean_array_push(x_30, x_28); +x_32 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10; +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_ctor_get(x_1, 6); +lean_inc(x_34); +lean_dec(x_1); +x_35 = l_Lean_Syntax_mkApp(x_33, x_34); +lean_ctor_set(x_23, 0, x_35); +return x_23; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_36 = lean_ctor_get(x_23, 1); +lean_inc(x_36); +lean_dec(x_23); +x_37 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11; +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_19); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_ctor_get(x_1, 0); +lean_inc(x_39); +x_40 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_41 = lean_array_push(x_40, x_38); +x_42 = lean_array_push(x_41, x_39); +x_43 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_ctor_get(x_1, 6); +lean_inc(x_45); +lean_dec(x_1); +x_46 = l_Lean_Syntax_mkApp(x_44, 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_36); +return x_47; +} +} +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_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, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize(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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1___rarg), 3, 0); +return x_2; +} +} +uint8_t l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 3); +x_4 = lean_ctor_get(x_1, 2); +x_5 = lean_array_get_size(x_4); +x_6 = lean_nat_dec_lt(x_3, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; +x_8 = lean_array_fget(x_4, x_3); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +x_11 = l_Lean_BinderInfo_isExplicit(x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_13, 3); +x_15 = lean_nat_dec_le(x_14, x_12); +return x_15; +} +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_instInhabitedName; +x_2 = l_Lean_instInhabitedBinderInfo; +x_3 = lean_box(x_2); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +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_3 = lean_ctor_get(x_1, 2); +x_4 = lean_ctor_get(x_1, 3); +x_5 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; +x_6 = lean_array_get(x_5, x_3, x_4); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_add(x_4, x_7); +lean_dec(x_4); +lean_ctor_set(x_1, 3, x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_1); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); +x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*7 + 1); +x_14 = lean_ctor_get(x_1, 2); +x_15 = lean_ctor_get(x_1, 3); +x_16 = lean_ctor_get(x_1, 4); +x_17 = lean_ctor_get(x_1, 5); +x_18 = lean_ctor_get(x_1, 6); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_19 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; +x_20 = lean_array_get(x_19, x_14, x_15); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_15, x_21); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_11); +lean_ctor_set(x_23, 2, x_14); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_16); +lean_ctor_set(x_23, 5, x_17); +lean_ctor_set(x_23, 6, x_18); +lean_ctor_set_uint8(x_23, sizeof(void*)*7, x_12); +lean_ctor_set_uint8(x_23, sizeof(void*)*7 + 1, x_13); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 3); +x_13 = l_Lean_replaceRef(x_1, x_12); +lean_dec(x_12); +lean_ctor_set(x_8, 3, x_13); +x_14 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +return x_14; +} +else +{ +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; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +x_18 = lean_ctor_get(x_8, 3); +x_19 = lean_ctor_get(x_8, 4); +x_20 = lean_ctor_get(x_8, 5); +x_21 = lean_ctor_get(x_8, 6); +x_22 = lean_ctor_get(x_8, 7); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_8); +x_23 = l_Lean_replaceRef(x_1, x_18); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_24, 2, x_17); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set(x_24, 4, x_19); +lean_ctor_set(x_24, 5, x_20); +lean_ctor_set(x_24, 6, x_21); +lean_ctor_set(x_24, 7, x_22); +x_25 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); +lean_dec(x_24); +return x_25; +} +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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; 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; uint8_t x_25; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_4, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_box(0); +lean_inc(x_1); +x_19 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_17, x_1, x_18); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_1); +x_22 = lean_array_push(x_20, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_st_ref_set(x_4, x_23, x_16); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_2); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_2); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern, variable '"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' occurred more than once"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_4, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_NameSet_contains(x_17, x_1); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__1(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_2); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_1); +x_22 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +return x_26; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern variable, must be atomic"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_Syntax_getId(x_1); +lean_inc(x_11); +x_12 = lean_erase_macro_scopes(x_11); +x_13 = l_Lean_Name_isAtomic(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_11); +lean_dec(x_1); +x_14 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2; +x_15 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_15); +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; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(x_11, x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_21; +} +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("identifier expected"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(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_Lean_Syntax_isIdent(x_1); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; +x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_1, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_18; +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_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_12; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_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 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_10 = lean_box_uint64(x_9); +x_11 = lean_apply_3(x_3, x_7, x_8, x_10); +return x_11; +} +default: +{ +lean_object* x_12; lean_object* x_13; uint64_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_15 = lean_box_uint64(x_14); +x_16 = lean_apply_3(x_4, x_12, x_13, x_15); +return x_16; +} +} +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 3); +x_5 = l_Lean_SourceInfo_fromRef(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg___boxed), 3, 0); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Name.anonymous"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Name"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("anonymous"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Name.str"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("str"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Name.num"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("num"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33; +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___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(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: +{ +switch (lean_obj_tag(x_1)) { +case 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; uint8_t x_16; +x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, 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_Lean_Elab_Term_getMainModule___rarg(x_7, x_14); +x_16 = !lean_is_exclusive(x_15); +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; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; +x_19 = l_Lean_addMacroScope(x_17, x_18, x_13); +x_20 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; +x_21 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; +x_22 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_21); +lean_ctor_set(x_15, 0, x_22); +return x_15; +} +else +{ +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; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; +x_26 = l_Lean_addMacroScope(x_23, x_25, x_13); +x_27 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; +x_28 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_26); +lean_ctor_set(x_29, 3, 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_24); +return x_30; +} +} +case 1: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_31 = lean_ctor_get(x_1, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_1, 1); +lean_inc(x_32); +lean_dec(x_1); +x_33 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_6, x_7, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_41); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_44 = lean_ctor_get(x_42, 0); +x_45 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; +x_46 = l_Lean_addMacroScope(x_44, x_45, x_40); +x_47 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; +x_48 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; +lean_inc(x_37); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_37); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = lean_box(2); +x_51 = l_Lean_Syntax_mkStrLit(x_32, x_50); +lean_dec(x_32); +x_52 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +x_54 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_55 = lean_array_push(x_54, x_53); +x_56 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; +x_59 = lean_array_push(x_58, x_34); +x_60 = lean_array_push(x_59, x_51); +x_61 = lean_array_push(x_60, x_57); +x_62 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_65 = lean_array_push(x_64, x_49); +x_66 = lean_array_push(x_65, x_63); +x_67 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_42, 0, x_68); +return x_42; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_69 = lean_ctor_get(x_42, 0); +x_70 = lean_ctor_get(x_42, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_42); +x_71 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18; +x_72 = l_Lean_addMacroScope(x_69, x_71, x_40); +x_73 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; +x_74 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; +lean_inc(x_37); +x_75 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_75, 0, x_37); +lean_ctor_set(x_75, 1, x_73); +lean_ctor_set(x_75, 2, x_72); +lean_ctor_set(x_75, 3, x_74); +x_76 = lean_box(2); +x_77 = l_Lean_Syntax_mkStrLit(x_32, x_76); +lean_dec(x_32); +x_78 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_37); +lean_ctor_set(x_79, 1, x_78); +x_80 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_81 = lean_array_push(x_80, x_79); +x_82 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; +x_85 = lean_array_push(x_84, x_34); +x_86 = lean_array_push(x_85, x_77); +x_87 = lean_array_push(x_86, x_83); +x_88 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_91 = lean_array_push(x_90, x_75); +x_92 = lean_array_push(x_91, x_89); +x_93 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_70); +return x_95; +} +} +default: +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_96 = lean_ctor_get(x_1, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_1, 1); +lean_inc(x_97); +lean_dec(x_1); +x_98 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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); +x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_6, x_7, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_106); +x_108 = !lean_is_exclusive(x_107); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_109 = lean_ctor_get(x_107, 0); +x_110 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; +x_111 = l_Lean_addMacroScope(x_109, x_110, x_105); +x_112 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; +x_113 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35; +lean_inc(x_102); +x_114 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_114, 0, x_102); +lean_ctor_set(x_114, 1, x_112); +lean_ctor_set(x_114, 2, x_111); +lean_ctor_set(x_114, 3, x_113); +x_115 = l_Nat_repr(x_97); +x_116 = l_Lean_numLitKind; +x_117 = lean_box(2); +x_118 = l_Lean_Syntax_mkLit(x_116, x_115, x_117); +x_119 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_102); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_122 = lean_array_push(x_121, x_120); +x_123 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; +x_126 = lean_array_push(x_125, x_99); +x_127 = lean_array_push(x_126, x_118); +x_128 = lean_array_push(x_127, x_124); +x_129 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +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 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_132 = lean_array_push(x_131, x_114); +x_133 = lean_array_push(x_132, x_130); +x_134 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +lean_ctor_set(x_107, 0, x_135); +return x_107; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_136 = lean_ctor_get(x_107, 0); +x_137 = lean_ctor_get(x_107, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_107); +x_138 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; +x_139 = l_Lean_addMacroScope(x_136, x_138, x_105); +x_140 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; +x_141 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35; +lean_inc(x_102); +x_142 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_142, 0, x_102); +lean_ctor_set(x_142, 1, x_140); +lean_ctor_set(x_142, 2, x_139); +lean_ctor_set(x_142, 3, x_141); +x_143 = l_Nat_repr(x_97); +x_144 = l_Lean_numLitKind; +x_145 = lean_box(2); +x_146 = l_Lean_Syntax_mkLit(x_144, x_143, x_145); +x_147 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_148, 0, x_102); +lean_ctor_set(x_148, 1, x_147); +x_149 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_150 = lean_array_push(x_149, x_148); +x_151 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; +x_154 = lean_array_push(x_153, x_99); +x_155 = lean_array_push(x_154, x_146); +x_156 = lean_array_push(x_155, x_152); +x_157 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_160 = lean_array_push(x_159, x_142); +x_161 = lean_array_push(x_160, x_158); +x_162 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_137); +return x_164; +} +} +} +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ill-formed syntax"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2; +x_9 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(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; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isNameLit_x3f(x_10); +lean_dec(x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_14; +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(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_8; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown constant '"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_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_box(0); +x_10 = l_Lean_mkConst(x_1, x_9); +x_11 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_List_map___at_Lean_resolveGlobalConst___spec__2(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_inc(x_6); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(x_10, x_12); +x_14 = l_List_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___lambda__1(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +lean_dec(x_2); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_13); +x_17 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ambiguous identifier '"); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', possible interpretations: "); +return x_1; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3(x_1, x_2, x_3, 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) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_Lean_mkConst(x_1, x_12); +x_14 = lean_expr_dbg_to_string(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_12, x_10); +x_20 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_19); +x_21 = lean_string_append(x_18, x_20); +lean_dec(x_20); +x_22 = l_Lean_Elab_Term_instToStringPatternVar___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_6); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_9, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_10, 0); +lean_inc(x_30); +lean_dec(x_10); +lean_ctor_set(x_9, 0, x_30); +return x_9; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_9, 1); +lean_inc(x_31); +lean_dec(x_9); +x_32 = lean_ctor_get(x_10, 0); +lean_inc(x_32); +lean_dec(x_10); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_27); +x_34 = lean_ctor_get(x_9, 1); +lean_inc(x_34); +lean_dec(x_9); +x_35 = lean_box(0); +x_36 = l_Lean_mkConst(x_1, x_35); +x_37 = lean_expr_dbg_to_string(x_36); +lean_dec(x_36); +x_38 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1; +x_39 = lean_string_append(x_38, x_37); +lean_dec(x_37); +x_40 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2; +x_41 = lean_string_append(x_39, x_40); +x_42 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_35, x_10); +x_43 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_42); +x_44 = lean_string_append(x_41, x_43); +lean_dec(x_43); +x_45 = l_Lean_Elab_Term_instToStringPatternVar___closed__2; +x_46 = lean_string_append(x_44, x_45); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_6); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_9); +if (x_50 == 0) +{ +return x_9; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_9, 0); +x_52 = lean_ctor_get(x_9, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_9); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_1); +x_9 = l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_ConstantInfo_levelParams(x_11); +lean_dec(x_11); +x_13 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_12); +x_14 = l_Lean_mkConst(x_1, x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = l_Lean_ConstantInfo_levelParams(x_15); +lean_dec(x_15); +x_18 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_17); +x_19 = l_Lean_mkConst(x_1, 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_16); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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; +lean_inc(x_8); +lean_inc(x_4); +x_11 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_5, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 5); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_16, 0); +lean_dec(x_21); +lean_ctor_set(x_16, 0, x_12); +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +lean_inc(x_4); +lean_inc(x_12); +x_25 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +if (lean_obj_tag(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; uint8_t x_34; +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 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_1); +x_30 = l_Lean_LocalContext_empty; +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_3); +lean_ctor_set(x_31, 3, x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_8); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_12); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_25); +if (x_38 == 0) +{ +return x_25; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_25, 0); +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_25); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_11); +if (x_42 == 0) +{ +return x_11; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_11, 0); +x_44 = lean_ctor_get(x_11, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_11); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(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; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isNameLit_x3f(x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_10); +x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_box(0); +lean_inc(x_6); +lean_inc(x_2); +x_15 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1(x_10, x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +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 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_6); +lean_dec(x_2); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_15); +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_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConst___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_apply_4(x_2, x_5, x_6, x_7, x_8); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +if (lean_obj_tag(x_7) == 6) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_1(x_2, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_7); +return x_10; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___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); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_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_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_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_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_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_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_2(x_3, x_6, x_7); +return x_8; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_box(x_1); +switch (lean_obj_tag(x_5)) { +case 1: +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +case 3: +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_box(0); +x_9 = lean_apply_1(x_3, x_8); +return x_9; +} +default: +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_box(x_1); +x_11 = lean_apply_1(x_4, x_10); +return x_11; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(x_5, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__3___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 6) +{ +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_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_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_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 4) +{ +lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_5, sizeof(void*)*2); +lean_dec(x_5); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_3(x_2, x_6, x_7, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_5); +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = 1; +lean_inc(x_7); +lean_inc(x_3); +x_11 = l_Lean_Elab_Term_expandApp(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +x_21 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_16, x_17, x_18, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_21; +} +else +{ +uint8_t x_22; +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_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) +{ +return x_11; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_1); +x_15 = lean_environment_find(x_14, x_1); +if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; +lean_free_object(x_10); +x_16 = lean_box(0); +x_17 = l_Lean_mkConst(x_1, x_16); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_1); +x_24 = lean_ctor_get(x_15, 0); +lean_inc(x_24); +lean_dec(x_15); +lean_ctor_set(x_10, 0, x_24); +return x_10; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_10, 0); +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_10); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_1); +x_28 = lean_environment_find(x_27, x_1); +if (lean_obj_tag(x_28) == 0) +{ +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; +x_29 = lean_box(0); +x_30 = l_Lean_mkConst(x_1, x_29); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_1); +x_37 = lean_ctor_get(x_28, 0); +lean_inc(x_37); +lean_dec(x_28); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_26); +return x_38; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3(size_t x_1, size_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: +{ +uint8_t x_12; +x_12 = x_2 < x_1; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_7); +x_13 = x_3; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_uget(x_3, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_3, x_2, x_16); +x_18 = x_15; +lean_inc(x_7); +x_19 = l_Lean_Meta_getFVarLocalDecl(x_18, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_LocalDecl_userName(x_20); +x_23 = l_Lean_LocalDecl_binderInfo(x_20); +lean_dec(x_20); +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +x_26 = 1; +x_27 = x_2 + x_26; +x_28 = x_25; +x_29 = lean_array_uset(x_17, x_2, x_28); +x_2 = x_27; +x_3 = x_29; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +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; +} +} +} +} +} +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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; size_t 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; +x_11 = lean_array_get_size(x_1); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = x_1; +x_14 = lean_box_usize(x_12); +x_15 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1; +x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3___boxed), 11, 3); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +lean_closure_set(x_16, 2, x_13); +x_17 = x_16; +x_18 = lean_apply_8(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_18; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("pattern"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed), 10, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(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, 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; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_4, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_dec(x_4); +x_15 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; +x_16 = 1; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_13); +x_17 = l_Lean_Elab_Term_resolveId_x3f(x_13, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +if (lean_obj_tag(x_22) == 4) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_24); +x_25 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_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_Lean_ConstantInfo_type(x_26); +x_29 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_30 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(x_28, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +if (lean_obj_tag(x_30) == 0) +{ +if (lean_obj_tag(x_26) == 6) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +lean_dec(x_24); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_26, 0); +lean_inc(x_33); +lean_dec(x_26); +lean_ctor_set(x_18, 0, x_33); +x_34 = lean_unsigned_to_nat(0u); +x_35 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_36 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_36, 0, x_13); +lean_ctor_set(x_36, 1, x_18); +lean_ctor_set(x_36, 2, x_31); +lean_ctor_set(x_36, 3, x_34); +lean_ctor_set(x_36, 4, x_2); +lean_ctor_set(x_36, 5, x_3); +lean_ctor_set(x_36, 6, x_35); +x_37 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_37); +lean_ctor_set_uint8(x_36, sizeof(void*)*7 + 1, x_1); +x_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_dec(x_26); +lean_free_object(x_18); +x_39 = lean_ctor_get(x_30, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_30, 1); +lean_inc(x_40); +lean_dec(x_30); +x_41 = lean_st_ref_get(x_11, x_40); +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 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_matchPatternAttr; +x_46 = l_Lean_TagAttribute_hasTag(x_45, x_44, x_24); +lean_dec(x_24); +lean_dec(x_44); +if (x_46 == 0) +{ +lean_object* x_47; +lean_dec(x_39); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +lean_dec(x_2); +x_47 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; +x_48 = lean_box(0); +x_49 = lean_unsigned_to_nat(0u); +x_50 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_51 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_51, 0, x_13); +lean_ctor_set(x_51, 1, x_48); +lean_ctor_set(x_51, 2, x_39); +lean_ctor_set(x_51, 3, x_49); +lean_ctor_set(x_51, 4, x_2); +lean_ctor_set(x_51, 5, x_3); +lean_ctor_set(x_51, 6, x_50); +x_52 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_51, sizeof(void*)*7, x_52); +lean_ctor_set_uint8(x_51, sizeof(void*)*7 + 1, x_1); +x_53 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_26); +lean_dec(x_24); +lean_free_object(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_30); +if (x_54 == 0) +{ +return x_30; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_30, 0); +x_56 = lean_ctor_get(x_30, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_30); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_24); +lean_free_object(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_58 = !lean_is_exclusive(x_25); +if (x_58 == 0) +{ +return x_25; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_25, 0); +x_60 = lean_ctor_get(x_25, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_25); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_free_object(x_18); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +lean_dec(x_2); +x_62 = lean_ctor_get(x_17, 1); +lean_inc(x_62); +lean_dec(x_17); +x_63 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_63; +} +} +else +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_18, 0); +lean_inc(x_64); +lean_dec(x_18); +if (lean_obj_tag(x_64) == 4) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_17, 1); +lean_inc(x_65); +lean_dec(x_17); +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec(x_64); +lean_inc(x_66); +x_67 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_66, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_ConstantInfo_type(x_68); +x_71 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_72 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(x_70, x_71, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); +if (lean_obj_tag(x_72) == 0) +{ +if (lean_obj_tag(x_68) == 6) +{ +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; uint8_t x_80; lean_object* x_81; +lean_dec(x_66); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_ctor_get(x_68, 0); +lean_inc(x_75); +lean_dec(x_68); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_unsigned_to_nat(0u); +x_78 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_79 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_79, 0, x_13); +lean_ctor_set(x_79, 1, x_76); +lean_ctor_set(x_79, 2, x_73); +lean_ctor_set(x_79, 3, x_77); +lean_ctor_set(x_79, 4, x_2); +lean_ctor_set(x_79, 5, x_3); +lean_ctor_set(x_79, 6, x_78); +x_80 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_79, sizeof(void*)*7, x_80); +lean_ctor_set_uint8(x_79, sizeof(void*)*7 + 1, x_1); +x_81 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_79, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_dec(x_68); +x_82 = lean_ctor_get(x_72, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_72, 1); +lean_inc(x_83); +lean_dec(x_72); +x_84 = lean_st_ref_get(x_11, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Lean_matchPatternAttr; +x_89 = l_Lean_TagAttribute_hasTag(x_88, x_87, x_66); +lean_dec(x_66); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; +lean_dec(x_82); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +lean_dec(x_2); +x_90 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; +x_91 = lean_box(0); +x_92 = lean_unsigned_to_nat(0u); +x_93 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_94 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_94, 0, x_13); +lean_ctor_set(x_94, 1, x_91); +lean_ctor_set(x_94, 2, x_82); +lean_ctor_set(x_94, 3, x_92); +lean_ctor_set(x_94, 4, x_2); +lean_ctor_set(x_94, 5, x_3); +lean_ctor_set(x_94, 6, x_93); +x_95 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_94, sizeof(void*)*7, x_95); +lean_ctor_set_uint8(x_94, sizeof(void*)*7 + 1, x_1); +x_96 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); +return x_96; +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_97 = lean_ctor_get(x_72, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_72, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_99 = x_72; +} else { + lean_dec_ref(x_72); + 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_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_66); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_101 = lean_ctor_get(x_67, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_67, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_103 = x_67; +} else { + lean_dec_ref(x_67); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +else +{ +lean_object* x_105; lean_object* x_106; +lean_dec(x_64); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_3); +lean_dec(x_2); +x_105 = lean_ctor_get(x_17, 1); +lean_inc(x_105); +lean_dec(x_17); +x_106 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_105); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_106; +} +} +} +} +else +{ +uint8_t x_107; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_17); +if (x_107 == 0) +{ +return x_17; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_17, 0); +x_109 = lean_ctor_get(x_17, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_17); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; uint8_t x_15; +x_13 = lean_array_to_list(lean_box(0), x_3); +x_14 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2; +lean_inc(x_1); +x_15 = l_Lean_Syntax_isOfKind(x_1, x_14); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10; +lean_inc(x_1); +x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; +x_19 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); +lean_dec(x_5); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +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_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_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +lean_dec(x_1); +lean_inc(x_25); +x_26 = l_Lean_Syntax_isOfKind(x_25, x_14); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_2); +x_27 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; +x_28 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); +lean_dec(x_5); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +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_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = 1; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_25); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_4, x_2, x_13, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_36; +} +} +} +else +{ +uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = 0; +x_38 = lean_box(x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_1); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_4, x_2, x_13, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_40; +} +} +} +uint8_t l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_2, 1); +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_name_eq(x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isDone(x_1); +if (x_10 == 0) +{ +uint8_t 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; uint8_t 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; +x_11 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(x_1); +x_12 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +x_17 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); +x_18 = lean_ctor_get_uint8(x_13, sizeof(void*)*7 + 1); +x_19 = lean_ctor_get(x_13, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_13, 3); +lean_inc(x_20); +x_21 = lean_ctor_get(x_13, 4); +lean_inc(x_21); +x_22 = lean_ctor_get(x_13, 5); +lean_inc(x_22); +x_23 = lean_ctor_get(x_13, 6); +lean_inc(x_23); +lean_inc(x_14); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed), 2, 1); +lean_closure_set(x_24, 0, x_14); +x_25 = lean_array_get_size(x_21); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Array_findIdx_x3f_loop___rarg(x_21, x_24, x_25, x_26, lean_box(0)); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +x_28 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +switch (lean_obj_tag(x_29)) { +case 1: +{ +lean_object* x_30; +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_30 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_apply_9(x_28, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +return x_33; +} +else +{ +uint8_t x_34; +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_34 = !lean_is_exclusive(x_30); +if (x_34 == 0) +{ +return x_30; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_30, 0); +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_30); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +case 3: +{ +lean_object* x_38; +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_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_38) == 0) +{ +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); +lean_dec(x_38); +x_41 = lean_apply_9(x_28, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +return x_41; +} +else +{ +uint8_t x_42; +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_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +default: +{ +lean_object* x_46; +lean_dec(x_29); +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_46 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +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_apply_9(x_28, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +return x_49; +} +else +{ +uint8_t x_50; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) +{ +return x_46; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 0); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_14); +x_54 = !lean_is_exclusive(x_13); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_55 = lean_ctor_get(x_13, 6); +lean_dec(x_55); +x_56 = lean_ctor_get(x_13, 5); +lean_dec(x_56); +x_57 = lean_ctor_get(x_13, 4); +lean_dec(x_57); +x_58 = lean_ctor_get(x_13, 3); +lean_dec(x_58); +x_59 = lean_ctor_get(x_13, 2); +lean_dec(x_59); +x_60 = lean_ctor_get(x_13, 1); +lean_dec(x_60); +x_61 = lean_ctor_get(x_13, 0); +lean_dec(x_61); +x_62 = lean_ctor_get(x_27, 0); +lean_inc(x_62); +lean_dec(x_27); +x_63 = l_Lean_Elab_Term_instInhabitedNamedArg; +x_64 = lean_array_get(x_63, x_21, x_62); +x_65 = l_Array_eraseIdx___rarg(x_21, x_62); +lean_dec(x_62); +lean_ctor_set(x_13, 4, x_65); +x_66 = lean_ctor_get(x_64, 2); +lean_inc(x_66); +lean_dec(x_64); +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_67 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_11, x_13, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_1 = x_68; +x_9 = x_69; +goto _start; +} +else +{ +uint8_t x_71; +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_71 = !lean_is_exclusive(x_67); +if (x_71 == 0) +{ +return x_67; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_67, 0); +x_73 = lean_ctor_get(x_67, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_67); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_13); +x_75 = lean_ctor_get(x_27, 0); +lean_inc(x_75); +lean_dec(x_27); +x_76 = l_Lean_Elab_Term_instInhabitedNamedArg; +x_77 = lean_array_get(x_76, x_21, x_75); +x_78 = l_Array_eraseIdx___rarg(x_21, x_75); +lean_dec(x_75); +x_79 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_79, 0, x_15); +lean_ctor_set(x_79, 1, x_16); +lean_ctor_set(x_79, 2, x_19); +lean_ctor_set(x_79, 3, x_20); +lean_ctor_set(x_79, 4, x_78); +lean_ctor_set(x_79, 5, x_22); +lean_ctor_set(x_79, 6, x_23); +lean_ctor_set_uint8(x_79, sizeof(void*)*7, x_17); +lean_ctor_set_uint8(x_79, sizeof(void*)*7 + 1, x_18); +x_80 = lean_ctor_get(x_77, 2); +lean_inc(x_80); +lean_dec(x_77); +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_81 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_11, x_79, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_1 = x_82; +x_9 = x_83; +goto _start; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +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_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_87 = x_81; +} else { + lean_dec_ref(x_81); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +} +else +{ +lean_object* x_89; +x_89 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize(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_89; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} +lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_6, 0, x_4); +x_7 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_5); +lean_ctor_set(x_1, 1, x_7); +lean_ctor_set(x_1, 0, x_6); +return x_1; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_1); +x_10 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_10, 0, x_8); +x_11 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("explicit parameter is missing, unused named arguments "); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_instToStringPatternVar___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_2, 5); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t 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; +x_13 = lean_ctor_get(x_2, 4); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = x_13; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(x_15, x_16, x_17); +x_19 = x_18; +x_20 = lean_array_to_list(lean_box(0), x_19); +x_21 = l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__2(x_20); +x_22 = l_Lean_MessageData_ofList(x_21); +lean_dec(x_21); +x_23 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__3(x_26, 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_27; +} +else +{ +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; +x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_8, x_9, x_10); +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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_32); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_29); +lean_ctor_set(x_36, 1, x_35); +x_37 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_38 = lean_array_push(x_37, x_36); +x_39 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34); +return x_42; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_2); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_2, 5); +lean_dec(x_44); +x_45 = lean_ctor_get(x_11, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_11, 1); +lean_inc(x_46); +lean_dec(x_11); +lean_ctor_set(x_2, 5, x_46); +x_47 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t 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_48 = lean_ctor_get(x_2, 0); +x_49 = lean_ctor_get(x_2, 1); +x_50 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_51 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1); +x_52 = lean_ctor_get(x_2, 2); +x_53 = lean_ctor_get(x_2, 3); +x_54 = lean_ctor_get(x_2, 4); +x_55 = lean_ctor_get(x_2, 6); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_2); +x_56 = lean_ctor_get(x_11, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_11, 1); +lean_inc(x_57); +lean_dec(x_11); +x_58 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_58, 0, x_48); +lean_ctor_set(x_58, 1, x_49); +lean_ctor_set(x_58, 2, x_52); +lean_ctor_set(x_58, 3, x_53); +lean_ctor_set(x_58, 4, x_54); +lean_ctor_set(x_58, 5, x_57); +lean_ctor_set(x_58, 6, x_55); +lean_ctor_set_uint8(x_58, sizeof(void*)*7, x_50); +lean_ctor_set_uint8(x_58, sizeof(void*)*7 + 1, x_51); +x_59 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_58, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_59; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_1); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_1, 6); +x_13 = lean_array_push(x_12, x_2); +lean_ctor_set(x_1, 6, x_13); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t 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; +x_15 = lean_ctor_get(x_1, 0); +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); +x_18 = lean_ctor_get_uint8(x_1, sizeof(void*)*7 + 1); +x_19 = lean_ctor_get(x_1, 2); +x_20 = lean_ctor_get(x_1, 3); +x_21 = lean_ctor_get(x_1, 4); +x_22 = lean_ctor_get(x_1, 5); +x_23 = lean_ctor_get(x_1, 6); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_1); +x_24 = lean_array_push(x_23, x_2); +x_25 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_16); +lean_ctor_set(x_25, 2, x_19); +lean_ctor_set(x_25, 3, x_20); +lean_ctor_set(x_25, 4, x_21); +lean_ctor_set(x_25, 5, x_22); +lean_ctor_set(x_25, 6, x_24); +lean_ctor_set_uint8(x_25, sizeof(void*)*7, x_17); +lean_ctor_set_uint8(x_25, sizeof(void*)*7 + 1, x_18); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_10); +return x_26; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_instMonadTermElabM; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1; +x_2 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext; +x_3 = l_instInhabited___rarg(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.PatternVar"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Term.CollectPatternVars.collect.pushNewArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unreachable code has been reached"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4; +x_3 = lean_unsigned_to_nat(269u); +x_4 = lean_unsigned_to_nat(11u); +x_5 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +if (x_1 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_2, x_12, 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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_3, 0); +lean_inc(x_14); +lean_dec(x_3); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_15 = l_Lean_Elab_Term_CollectPatternVars_collect(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +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 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_15); +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; +} +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_3); +lean_dec(x_2); +x_23 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2; +x_24 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6; +x_25 = lean_panic_fn(x_23, x_24); +x_26 = lean_apply_8(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_26; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_1; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_13 = x_3; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_15 = lean_array_uget(x_3, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_3, x_2, x_16); +x_18 = x_15; +x_19 = l_Lean_Syntax_getArg(x_18, x_16); +lean_dec(x_18); +x_20 = lean_unsigned_to_nat(2u); +x_21 = l_Lean_Syntax_getArg(x_19, x_20); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_22 = l_Lean_Elab_Term_CollectPatternVars_collect(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Syntax_setArg(x_19, x_20, x_23); +lean_inc(x_25); +x_26 = l_Lean_Syntax_setArg(x_25, x_16, x_25); +x_27 = 1; +x_28 = x_2 + x_27; +x_29 = x_26; +x_30 = lean_array_uset(x_17, x_2, x_29); +x_2 = x_28; +x_3 = x_30; +x_11 = x_24; +goto _start; +} +else +{ +uint8_t x_32; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_32 = !lean_is_exclusive(x_22); +if (x_32 == 0) +{ +return x_22; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_22, 0); +x_34 = lean_ctor_get(x_22, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_22); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_array_get_size(x_1); +x_14 = lean_nat_dec_lt(x_3, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_array_fget(x_1, x_3); +x_17 = lean_unsigned_to_nat(2u); +x_18 = lean_nat_mod(x_3, x_17); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +lean_dec(x_3); +x_23 = lean_array_push(x_4, x_16); +x_3 = x_22; +x_4 = x_23; +goto _start; +} +else +{ +lean_object* x_25; +lean_inc(x_2); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_25 = lean_apply_9(x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_3, x_28); +lean_dec(x_3); +x_30 = lean_array_push(x_4, x_26); +x_3 = x_29; +x_4 = x_30; +x_12 = x_27; +goto _start; +} +else +{ +uint8_t x_32; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_25); +if (x_32 == 0) +{ +return x_25; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_25, 0); +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_25); +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_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_13 = l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_2); +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_3, x_14); +x_16 = l_Lean_Elab_Term_CollectPatternVars_collect(x_15, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_unsigned_to_nat(2u); +x_20 = l_Lean_Syntax_setArg(x_3, x_19, x_12); +x_21 = l_Lean_Syntax_setArg(x_20, x_14, x_18); +lean_ctor_set(x_16, 0, x_21); +return x_16; +} +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; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_unsigned_to_nat(2u); +x_25 = l_Lean_Syntax_setArg(x_3, x_24, x_12); +x_26 = l_Lean_Syntax_setArg(x_25, x_14, x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_12); +lean_dec(x_3); +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +return x_16; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_16); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_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); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_11); +if (x_32 == 0) +{ +return x_11; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_11, 0); +x_34 = lean_ctor_get(x_11, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_11); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_root_.namedPattern"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___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_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_root_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPattern"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8; +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_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9; +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_Elab_Term_CollectPatternVars_collect___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_9); +lean_inc(x_1); +x_12 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_3, x_14); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = l_Lean_Elab_Term_CollectPatternVars_collect(x_15, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +if (lean_obj_tag(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; uint8_t x_26; +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); +x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(x_9, x_10, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_21); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_24); +lean_dec(x_10); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7; +x_29 = l_Lean_addMacroScope(x_27, x_28, x_23); +x_30 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3; +x_31 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10; +x_32 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_32, 0, x_20); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_31); +x_33 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_34 = lean_array_push(x_33, x_1); +x_35 = lean_array_push(x_34, x_17); +x_36 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_array_push(x_33, x_32); +x_39 = lean_array_push(x_38, x_37); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_4); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_25, 0, x_40); +return x_25; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +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 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7; +x_44 = l_Lean_addMacroScope(x_41, x_43, x_23); +x_45 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3; +x_46 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10; +x_47 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_46); +x_48 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_49 = lean_array_push(x_48, x_1); +x_50 = lean_array_push(x_49, x_17); +x_51 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_array_push(x_48, x_47); +x_54 = lean_array_push(x_53, x_52); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_4); +lean_ctor_set(x_55, 1, 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_42); +return x_56; +} +} +else +{ +uint8_t x_57; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_16); +if (x_57 == 0) +{ +return x_16; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_16, 0); +x_59 = lean_ctor_get(x_16, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_16); +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; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_12); +if (x_61 == 0) +{ +return x_12; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_12, 0); +x_63 = lean_ctor_get(x_12, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_12); +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_Elab_Term_CollectPatternVars_collect___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Lean_Syntax_setArg(x_3, x_15, x_14); +x_17 = lean_unsigned_to_nat(1u); +x_18 = l_Lean_Syntax_setArg(x_4, x_17, x_16); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +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; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_setArg(x_3, x_21, x_19); +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_setArg(x_4, x_23, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_4); +lean_dec(x_3); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_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; uint8_t x_17; +x_9 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_1, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_15, 1); +x_19 = l_Lean_Elab_Term_getMVarSyntaxMVarId(x_10); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_array_push(x_18, x_20); +lean_ctor_set(x_15, 1, x_21); +x_22 = lean_st_ref_set(x_1, x_15, x_16); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_10); +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +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; +x_27 = lean_ctor_get(x_15, 0); +x_28 = lean_ctor_get(x_15, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_15); +x_29 = l_Lean_Elab_Term_getMVarSyntaxMVarId(x_10); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_push(x_28, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_27); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_st_ref_set(x_1, x_32, x_16); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_10); +lean_ctor_set(x_36, 1, x_34); +return x_36; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t 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; +x_11 = lean_unsigned_to_nat(2u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getArgs(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = x_13; +x_17 = lean_box_usize(x_15); +x_18 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1; +x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1___boxed), 11, 3); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_18); +lean_closure_set(x_19, 2, x_16); +x_20 = x_19; +x_21 = lean_apply_8(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_21, 0); +x_24 = l_Lean_nullKind; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Syntax_setArg(x_1, x_11, x_25); +lean_ctor_set(x_21, 0, x_26); +return x_21; +} +else +{ +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_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = l_Lean_nullKind; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +x_31 = l_Lean_Syntax_setArg(x_1, x_11, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_dec(x_1); +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; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__2(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1; +x_12 = l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2(x_1, x_11, x_2, x_4, x_5, 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) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_nullKind; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_unsigned_to_nat(1u); +x_18 = l_Lean_Syntax_setArg(x_3, x_17, x_16); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +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; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = l_Lean_nullKind; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_setArg(x_3, x_23, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_3); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("anonymousCtor"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structInst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("explicitUniv"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("binop"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("inaccessible"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quotedName"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doubleQuotedName"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern, notation is ambiguous"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeAscription"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8; +x_2 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid struct instance pattern, 'with' is not allowed in patterns"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__22; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(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; uint8_t x_12; uint8_t x_13; +lean_inc(x_1); +x_10 = l_Lean_Syntax_getKind(x_1); +x_11 = l_Lean_identKind; +x_12 = lean_name_eq(x_10, x_11); +x_13 = !lean_is_exclusive(x_7); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_7, 3); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_7, 3, x_15); +if (x_12 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_17 = lean_name_eq(x_10, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; +x_19 = lean_name_eq(x_10, x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; +x_21 = lean_name_eq(x_10, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_23 = lean_name_eq(x_10, x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; +x_25 = lean_name_eq(x_10, x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; +x_27 = lean_name_eq(x_10, x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; +x_29 = lean_name_eq(x_10, x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; +x_31 = lean_name_eq(x_10, x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; +x_33 = lean_name_eq(x_10, x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = l_Lean_strLitKind; +x_35 = lean_name_eq(x_10, x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = l_Lean_numLitKind; +x_37 = lean_name_eq(x_10, x_36); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_scientificLitKind; +x_39 = lean_name_eq(x_10, x_38); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = l_Lean_charLitKind; +x_41 = lean_name_eq(x_10, x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__15; +x_43 = lean_name_eq(x_10, x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; +x_45 = lean_name_eq(x_10, x_44); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +lean_dec(x_1); +x_46 = l_Lean_choiceKind; +x_47 = lean_name_eq(x_10, x_46); +lean_dec(x_10); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed), 8, 1); +lean_closure_set(x_48, 0, x_2); +x_49 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; +x_51 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1___boxed), 9, 2); +lean_closure_set(x_51, 0, x_50); +lean_closure_set(x_51, 1, x_2); +x_52 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_10); +lean_dec(x_2); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___boxed), 8, 1); +lean_closure_set(x_53, 0, x_1); +x_54 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_10); +lean_dec(x_2); +x_55 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed), 8, 1); +lean_closure_set(x_55, 0, x_1); +x_56 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_10); +lean_dec(x_2); +x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_57, 0, x_1); +x_58 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_10); +lean_dec(x_2); +x_59 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_59, 0, x_1); +x_60 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_10); +lean_dec(x_2); +x_61 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_61, 0, x_1); +x_62 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_10); +lean_dec(x_2); +x_63 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_63, 0, x_1); +x_64 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_64; +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_10); +lean_dec(x_2); +x_65 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_65, 0, x_1); +x_66 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_66; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_10); +x_67 = lean_unsigned_to_nat(2u); +x_68 = l_Lean_Syntax_getArg(x_1, x_67); +x_69 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2), 10, 3); +lean_closure_set(x_69, 0, x_68); +lean_closure_set(x_69, 1, x_2); +lean_closure_set(x_69, 2, x_1); +x_70 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_70; +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_10); +x_71 = lean_unsigned_to_nat(0u); +x_72 = l_Lean_Syntax_getArg(x_1, x_71); +x_73 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed), 11, 4); +lean_closure_set(x_73, 0, x_72); +lean_closure_set(x_73, 1, x_2); +lean_closure_set(x_73, 2, x_1); +lean_closure_set(x_73, 3, x_16); +x_74 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_10); +x_75 = lean_unsigned_to_nat(0u); +x_76 = l_Lean_Syntax_getArg(x_1, x_75); +lean_dec(x_1); +x_77 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtor), 9, 2); +lean_closure_set(x_77, 0, x_76); +lean_closure_set(x_77, 1, x_2); +x_78 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_77, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_78; +} +} +else +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +lean_dec(x_10); +x_79 = lean_unsigned_to_nat(1u); +x_80 = l_Lean_Syntax_getArg(x_1, x_79); +x_81 = l_Lean_Syntax_isNone(x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_82 = lean_unsigned_to_nat(0u); +x_83 = l_Lean_Syntax_getArg(x_80, x_82); +x_84 = l_Lean_Syntax_getArg(x_80, x_79); +x_85 = l_Lean_Syntax_isNone(x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_86 = l_Lean_Syntax_getArg(x_84, x_82); +lean_dec(x_84); +x_87 = l_Lean_Syntax_getKind(x_86); +x_88 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; +x_89 = lean_name_eq(x_87, x_88); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_83); +lean_dec(x_80); +lean_dec(x_2); +x_90 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_90, 0, x_1); +x_91 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; +x_92 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4), 11, 4); +lean_closure_set(x_92, 0, x_83); +lean_closure_set(x_92, 1, x_2); +lean_closure_set(x_92, 2, x_80); +lean_closure_set(x_92, 3, x_1); +x_93 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_93; +} +} +else +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_84); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4), 11, 4); +lean_closure_set(x_94, 0, x_83); +lean_closure_set(x_94, 1, x_2); +lean_closure_set(x_94, 2, x_80); +lean_closure_set(x_94, 3, x_1); +x_95 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_95; +} +} +else +{ +lean_object* x_96; lean_object* x_97; +lean_dec(x_80); +lean_dec(x_2); +x_96 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_96, 0, x_1); +x_97 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_97; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_dec(x_10); +lean_dec(x_1); +x_98 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___boxed), 8, 1); +lean_closure_set(x_98, 0, x_2); +x_99 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_99; +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_dec(x_10); +x_100 = lean_unsigned_to_nat(1u); +x_101 = l_Lean_Syntax_getArg(x_1, x_100); +lean_inc(x_1); +x_102 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed), 10, 1); +lean_closure_set(x_102, 0, x_1); +x_103 = l_Lean_Syntax_isNone(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_1); +x_104 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; +x_105 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7___boxed), 11, 4); +lean_closure_set(x_105, 0, x_101); +lean_closure_set(x_105, 1, x_104); +lean_closure_set(x_105, 2, x_2); +lean_closure_set(x_105, 3, x_102); +x_106 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_106; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_102); +lean_dec(x_101); +x_107 = lean_box(0); +x_108 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed), 10, 3); +lean_closure_set(x_108, 0, x_1); +lean_closure_set(x_108, 1, x_107); +lean_closure_set(x_108, 2, x_2); +x_109 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_108, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_109; +} +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_10); +x_110 = lean_unsigned_to_nat(1u); +x_111 = l_Lean_Syntax_getArg(x_1, x_110); +x_112 = l_Lean_Syntax_getArgs(x_111); +lean_dec(x_111); +x_113 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___boxed), 10, 3); +lean_closure_set(x_113, 0, x_112); +lean_closure_set(x_113, 1, x_2); +lean_closure_set(x_113, 2, x_1); +x_114 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_114; +} +} +else +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_10); +x_115 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___boxed), 9, 2); +lean_closure_set(x_115, 0, x_1); +lean_closure_set(x_115, 1, x_2); +x_116 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_116; +} +} +else +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_10); +x_117 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId), 9, 2); +lean_closure_set(x_117, 0, x_1); +lean_closure_set(x_117, 1, x_2); +x_118 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_117, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_118; +} +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_119 = lean_ctor_get(x_7, 0); +x_120 = lean_ctor_get(x_7, 1); +x_121 = lean_ctor_get(x_7, 2); +x_122 = lean_ctor_get(x_7, 3); +x_123 = lean_ctor_get(x_7, 4); +x_124 = lean_ctor_get(x_7, 5); +x_125 = lean_ctor_get(x_7, 6); +x_126 = lean_ctor_get(x_7, 7); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_inc(x_121); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_7); +x_127 = l_Lean_replaceRef(x_1, x_122); +lean_dec(x_122); +x_128 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_128, 0, x_119); +lean_ctor_set(x_128, 1, x_120); +lean_ctor_set(x_128, 2, x_121); +lean_ctor_set(x_128, 3, x_127); +lean_ctor_set(x_128, 4, x_123); +lean_ctor_set(x_128, 5, x_124); +lean_ctor_set(x_128, 6, x_125); +lean_ctor_set(x_128, 7, x_126); +if (x_12 == 0) +{ +lean_object* x_129; uint8_t x_130; +x_129 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; +x_130 = lean_name_eq(x_10, x_129); +if (x_130 == 0) +{ +lean_object* x_131; uint8_t x_132; +x_131 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; +x_132 = lean_name_eq(x_10, x_131); +if (x_132 == 0) +{ +lean_object* x_133; uint8_t x_134; +x_133 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; +x_134 = lean_name_eq(x_10, x_133); +if (x_134 == 0) +{ +lean_object* x_135; uint8_t x_136; +x_135 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_136 = lean_name_eq(x_10, x_135); +if (x_136 == 0) +{ +lean_object* x_137; uint8_t x_138; +x_137 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; +x_138 = lean_name_eq(x_10, x_137); +if (x_138 == 0) +{ +lean_object* x_139; uint8_t x_140; +x_139 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; +x_140 = lean_name_eq(x_10, x_139); +if (x_140 == 0) +{ +lean_object* x_141; uint8_t x_142; +x_141 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; +x_142 = lean_name_eq(x_10, x_141); +if (x_142 == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; +x_144 = lean_name_eq(x_10, x_143); +if (x_144 == 0) +{ +lean_object* x_145; uint8_t x_146; +x_145 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; +x_146 = lean_name_eq(x_10, x_145); +if (x_146 == 0) +{ +lean_object* x_147; uint8_t x_148; +x_147 = l_Lean_strLitKind; +x_148 = lean_name_eq(x_10, x_147); +if (x_148 == 0) +{ +lean_object* x_149; uint8_t x_150; +x_149 = l_Lean_numLitKind; +x_150 = lean_name_eq(x_10, x_149); +if (x_150 == 0) +{ +lean_object* x_151; uint8_t x_152; +x_151 = l_Lean_scientificLitKind; +x_152 = lean_name_eq(x_10, x_151); +if (x_152 == 0) +{ +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_charLitKind; +x_154 = lean_name_eq(x_10, x_153); +if (x_154 == 0) +{ +lean_object* x_155; uint8_t x_156; +x_155 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__15; +x_156 = lean_name_eq(x_10, x_155); +if (x_156 == 0) +{ +lean_object* x_157; uint8_t x_158; +x_157 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; +x_158 = lean_name_eq(x_10, x_157); +if (x_158 == 0) +{ +lean_object* x_159; uint8_t x_160; +lean_dec(x_1); +x_159 = l_Lean_choiceKind; +x_160 = lean_name_eq(x_10, x_159); +lean_dec(x_10); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; +x_161 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___boxed), 8, 1); +lean_closure_set(x_161, 0, x_2); +x_162 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_161, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_162; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; +x_164 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1___boxed), 9, 2); +lean_closure_set(x_164, 0, x_163); +lean_closure_set(x_164, 1, x_2); +x_165 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_164, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_165; +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_10); +lean_dec(x_2); +x_166 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___boxed), 8, 1); +lean_closure_set(x_166, 0, x_1); +x_167 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_166, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_167; +} +} +else +{ +lean_object* x_168; lean_object* x_169; +lean_dec(x_10); +lean_dec(x_2); +x_168 = lean_alloc_closure((void*)(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed), 8, 1); +lean_closure_set(x_168, 0, x_1); +x_169 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_168, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_169; +} +} +else +{ +lean_object* x_170; lean_object* x_171; +lean_dec(x_10); +lean_dec(x_2); +x_170 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_170, 0, x_1); +x_171 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_170, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_171; +} +} +else +{ +lean_object* x_172; lean_object* x_173; +lean_dec(x_10); +lean_dec(x_2); +x_172 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_172, 0, x_1); +x_173 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_172, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_173; +} +} +else +{ +lean_object* x_174; lean_object* x_175; +lean_dec(x_10); +lean_dec(x_2); +x_174 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_174, 0, x_1); +x_175 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_174, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_175; +} +} +else +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_10); +lean_dec(x_2); +x_176 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_176, 0, x_1); +x_177 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_176, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_177; +} +} +else +{ +lean_object* x_178; lean_object* x_179; +lean_dec(x_10); +lean_dec(x_2); +x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_178, 0, x_1); +x_179 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_178, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_179; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_10); +x_180 = lean_unsigned_to_nat(2u); +x_181 = l_Lean_Syntax_getArg(x_1, x_180); +x_182 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2), 10, 3); +lean_closure_set(x_182, 0, x_181); +lean_closure_set(x_182, 1, x_2); +lean_closure_set(x_182, 2, x_1); +x_183 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_182, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_183; +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_dec(x_10); +x_184 = lean_unsigned_to_nat(0u); +x_185 = l_Lean_Syntax_getArg(x_1, x_184); +x_186 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed), 11, 4); +lean_closure_set(x_186, 0, x_185); +lean_closure_set(x_186, 1, x_2); +lean_closure_set(x_186, 2, x_1); +lean_closure_set(x_186, 3, x_129); +x_187 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_186, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_187; +} +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_10); +x_188 = lean_unsigned_to_nat(0u); +x_189 = l_Lean_Syntax_getArg(x_1, x_188); +lean_dec(x_1); +x_190 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtor), 9, 2); +lean_closure_set(x_190, 0, x_189); +lean_closure_set(x_190, 1, x_2); +x_191 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_190, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_191; +} +} +else +{ +lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_dec(x_10); +x_192 = lean_unsigned_to_nat(1u); +x_193 = l_Lean_Syntax_getArg(x_1, x_192); +x_194 = l_Lean_Syntax_isNone(x_193); +if (x_194 == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_195 = lean_unsigned_to_nat(0u); +x_196 = l_Lean_Syntax_getArg(x_193, x_195); +x_197 = l_Lean_Syntax_getArg(x_193, x_192); +x_198 = l_Lean_Syntax_isNone(x_197); +if (x_198 == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = l_Lean_Syntax_getArg(x_197, x_195); +lean_dec(x_197); +x_200 = l_Lean_Syntax_getKind(x_199); +x_201 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__21; +x_202 = lean_name_eq(x_200, x_201); +lean_dec(x_200); +if (x_202 == 0) +{ +lean_object* x_203; lean_object* x_204; +lean_dec(x_196); +lean_dec(x_193); +lean_dec(x_2); +x_203 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_203, 0, x_1); +x_204 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_203, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_204; +} +else +{ +lean_object* x_205; lean_object* x_206; +x_205 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4), 11, 4); +lean_closure_set(x_205, 0, x_196); +lean_closure_set(x_205, 1, x_2); +lean_closure_set(x_205, 2, x_193); +lean_closure_set(x_205, 3, x_1); +x_206 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_205, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_206; +} +} +else +{ +lean_object* x_207; lean_object* x_208; +lean_dec(x_197); +x_207 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4), 11, 4); +lean_closure_set(x_207, 0, x_196); +lean_closure_set(x_207, 1, x_2); +lean_closure_set(x_207, 2, x_193); +lean_closure_set(x_207, 3, x_1); +x_208 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_207, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_208; +} +} +else +{ +lean_object* x_209; lean_object* x_210; +lean_dec(x_193); +lean_dec(x_2); +x_209 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1___boxed), 8, 1); +lean_closure_set(x_209, 0, x_1); +x_210 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_209, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_210; +} +} +} +else +{ +lean_object* x_211; lean_object* x_212; +lean_dec(x_10); +lean_dec(x_1); +x_211 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___boxed), 8, 1); +lean_closure_set(x_211, 0, x_2); +x_212 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_211, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_212; +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +lean_dec(x_10); +x_213 = lean_unsigned_to_nat(1u); +x_214 = l_Lean_Syntax_getArg(x_1, x_213); +lean_inc(x_1); +x_215 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed), 10, 1); +lean_closure_set(x_215, 0, x_1); +x_216 = l_Lean_Syntax_isNone(x_214); +if (x_216 == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_1); +x_217 = l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; +x_218 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7___boxed), 11, 4); +lean_closure_set(x_218, 0, x_214); +lean_closure_set(x_218, 1, x_217); +lean_closure_set(x_218, 2, x_2); +lean_closure_set(x_218, 3, x_215); +x_219 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_218, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_219; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_215); +lean_dec(x_214); +x_220 = lean_box(0); +x_221 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed), 10, 3); +lean_closure_set(x_221, 0, x_1); +lean_closure_set(x_221, 1, x_220); +lean_closure_set(x_221, 2, x_2); +x_222 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_221, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_222; +} +} +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; +lean_dec(x_10); +x_223 = lean_unsigned_to_nat(1u); +x_224 = l_Lean_Syntax_getArg(x_1, x_223); +x_225 = l_Lean_Syntax_getArgs(x_224); +lean_dec(x_224); +x_226 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___boxed), 10, 3); +lean_closure_set(x_226, 0, x_225); +lean_closure_set(x_226, 1, x_2); +lean_closure_set(x_226, 2, x_1); +x_227 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_226, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_227; +} +} +else +{ +lean_object* x_228; lean_object* x_229; +lean_dec(x_10); +x_228 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___boxed), 9, 2); +lean_closure_set(x_228, 0, x_1); +lean_closure_set(x_228, 1, x_2); +x_229 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_228, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_229; +} +} +else +{ +lean_object* x_230; lean_object* x_231; +lean_dec(x_10); +x_230 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processId), 9, 2); +lean_closure_set(x_230, 0, x_1); +lean_closure_set(x_230, 1, x_2); +x_231 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_230, x_3, x_4, x_5, x_6, x_128, x_8, x_9); +return x_231; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26; +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +x_21 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4; +x_22 = lean_array_push(x_21, x_20); +x_23 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId(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; +x_10 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1; +x_11 = 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_1); +x_12 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_15; +} +else +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +if (lean_obj_tag(x_16) == 4) +{ +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_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_st_ref_get(x_8, x_17); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_18); +x_23 = lean_environment_find(x_22, x_18); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_1); +x_24 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +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_24; +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +if (lean_obj_tag(x_25) == 6) +{ +lean_object* x_26; +lean_dec(x_25); +lean_dec(x_18); +x_26 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_25); +x_27 = lean_st_ref_get(x_8, x_21); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_matchPatternAttr; +x_32 = l_Lean_TagAttribute_hasTag(x_31, x_30, x_18); +lean_dec(x_18); +lean_dec(x_30); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_33; +} +else +{ +lean_object* x_34; +x_34 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +return x_34; +} +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_16); +x_35 = lean_ctor_get(x_12, 1); +lean_inc(x_35); +lean_dec(x_12); +x_36 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_36; +} +} +} +else +{ +uint8_t x_37; +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_37 = !lean_is_exclusive(x_12); +if (x_37 == 0) +{ +return x_12; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_12, 0); +x_39 = lean_ctor_get(x_12, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_12); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(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; +x_10 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_11 = 0; +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_1, x_10, x_10, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___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_CollectPatternVars_collect_processCtorApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(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_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__3(x_12, x_13, 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_14; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +lean_dec(x_1); +x_14 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2(x_13, x_2, 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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___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_4); +lean_dec(x_4); +x_14 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___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_Elab_Term_CollectPatternVars_collect_processExplicitArg___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_1); +lean_dec(x_1); +x_13 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___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_1); +lean_dec(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___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, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("["); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("] "); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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; 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; 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; uint8_t x_35; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_1); +x_23 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_23, 0, x_1); +x_24 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_13); +x_29 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_30); +lean_inc(x_11); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_11); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); +lean_ctor_set(x_17, 0, x_33); +x_34 = lean_st_ref_set(x_9, x_16, x_18); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +x_37 = lean_box(0); +lean_ctor_set(x_34, 0, x_37); +return x_34; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, 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; 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_42 = lean_ctor_get(x_17, 0); +lean_inc(x_42); +lean_dec(x_17); +lean_inc(x_1); +x_43 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_43, 0, x_1); +x_44 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_49 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_11); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_11); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); +x_54 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); +lean_ctor_set(x_16, 3, x_54); +x_55 = lean_st_ref_set(x_9, x_16, 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; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; +x_60 = lean_ctor_get(x_16, 0); +x_61 = lean_ctor_get(x_16, 1); +x_62 = lean_ctor_get(x_16, 2); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_16); +x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_64 = lean_ctor_get(x_17, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_65 = x_17; +} else { + lean_dec_ref(x_17); + x_65 = lean_box(0); +} +lean_inc(x_1); +x_66 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_66, 0, x_1); +x_67 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_13); +x_72 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_74, 0, x_1); +lean_ctor_set(x_74, 1, x_73); +lean_inc(x_11); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_11); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); +if (lean_is_scalar(x_65)) { + x_77 = lean_alloc_ctor(0, 1, 1); +} else { + x_77 = x_65; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_60); +lean_ctor_set(x_78, 1, x_61); +lean_ctor_set(x_78, 2, x_62); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_st_ref_set(x_9, x_78, x_18); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_81 = x_79; +} else { + lean_dec_ref(x_79); + x_81 = lean_box(0); +} +x_82 = lean_box(0); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_81; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_80); +return x_83; +} +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___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; 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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___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_CollectPatternVars_collect(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("collecting variables at pattern: "); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(size_t x_1, size_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: +{ +uint8_t x_12; +x_12 = x_2 < x_1; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_13 = x_3; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_15 = lean_array_uget(x_3, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_3, x_2, x_16); +x_18 = x_15; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4; +x_54 = lean_st_ref_get(x_10, x_11); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = 0; +x_20 = x_59; +x_21 = x_58; +goto block_53; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_54, 1); +lean_inc(x_60); +lean_dec(x_54); +x_61 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_20 = x_64; +x_21 = x_63; +goto block_53; +} +block_53: +{ +if (x_20 == 0) +{ +lean_object* x_22; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_22 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = x_2 + x_25; +x_27 = x_23; +x_28 = lean_array_uset(x_17, x_2, x_27); +x_2 = x_26; +x_3 = x_28; +x_11 = x_24; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) +{ +return x_22; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +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; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_inc(x_18); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_18); +x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(x_19, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_41 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; lean_object* x_47; +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 = 1; +x_45 = x_2 + x_44; +x_46 = x_42; +x_47 = lean_array_uset(x_17, x_2, x_46); +x_2 = x_45; +x_3 = x_47; +x_11 = x_43; +goto _start; +} +else +{ +uint8_t x_49; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_49 = !lean_is_exclusive(x_41); +if (x_49 == 0) +{ +return x_41; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_41, 0); +x_51 = lean_ctor_get(x_41, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_41); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_CollectPatternVars_main(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 = !lean_is_exclusive(x_1); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t 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; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_ctor_get(x_1, 2); +x_14 = lean_array_get_size(x_12); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = x_12; +x_17 = lean_box_usize(x_15); +x_18 = l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; +x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___boxed), 11, 3); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_18); +lean_closure_set(x_19, 2, x_16); +x_20 = x_19; +x_21 = lean_apply_8(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_ctor_set(x_1, 1, x_23); +lean_ctor_set(x_21, 0, x_1); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_21); +lean_ctor_set(x_1, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_free_object(x_1); +lean_dec(x_13); +lean_dec(x_11); +x_27 = !lean_is_exclusive(x_21); +if (x_27 == 0) +{ +return x_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_21, 0); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_21); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_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; +x_31 = lean_ctor_get(x_1, 0); +x_32 = lean_ctor_get(x_1, 1); +x_33 = lean_ctor_get(x_1, 2); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_1); +x_34 = lean_array_get_size(x_32); +x_35 = lean_usize_of_nat(x_34); +lean_dec(x_34); +x_36 = x_32; +x_37 = lean_box_usize(x_35); +x_38 = l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; +x_39 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___boxed), 11, 3); +lean_closure_set(x_39, 0, x_37); +lean_closure_set(x_39, 1, x_38); +lean_closure_set(x_39, 2, x_36); +x_40 = x_39; +x_41 = lean_apply_8(x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +x_45 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_45, 0, x_31); +lean_ctor_set(x_45, 1, x_42); +lean_ctor_set(x_45, 2, x_33); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_33); +lean_dec(x_31); +x_47 = lean_ctor_get(x_41, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_49 = x_41; +} else { + lean_dec_ref(x_41); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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_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_Lean_Elab_Term_CollectPatternVars_main___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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___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_2); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___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, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l_Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_collectPatternVars_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_collectPatternVars_match__1___rarg), 2, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_collectPatternVars___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_NameSet_empty; +x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_collectPatternVars(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; +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 = l_Lean_Elab_Term_collectPatternVars___closed__1; +x_12 = lean_st_mk_ref(x_11, 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); +lean_inc(x_7); +lean_inc(x_13); +x_15 = l_Lean_Elab_Term_CollectPatternVars_main(x_1, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 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; +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_st_ref_get(x_7, x_17); +lean_dec(x_7); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_get(x_13, x_19); +lean_dec(x_13); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_20, 0, x_24); +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_20, 0); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_20); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_16); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_13); +lean_dec(x_7); +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +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; +} +} +} +} +lean_object* l_Lean_Elab_Term_getPatternVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_getPatternVars_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternVars___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: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +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; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___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) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +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_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +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; +x_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2(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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___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) { +_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_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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +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_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternVars___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Lean_Elab_Term_getPatternVars(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; +x_9 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_9, 0, x_1); +lean_inc(x_6); +lean_inc(x_2); +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) +{ +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; +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_st_ref_get(x_7, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Term_collectPatternVars___closed__1; +x_16 = lean_st_mk_ref(x_15, x_14); +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_7); +lean_inc(x_17); +x_19 = l_Lean_Elab_Term_CollectPatternVars_collect(x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_7, x_20); +lean_dec(x_7); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_get(x_17, x_22); +lean_dec(x_17); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_23); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +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_35 = !lean_is_exclusive(x_10); +if (x_35 == 0) +{ +return x_10; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_10, 0); +x_37 = lean_ctor_get(x_10, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_10); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternVars___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_throwErrorAt___at_Lean_Elab_Term_getPatternVars___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +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_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__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_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2___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_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_getPatternsVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_getPatternsVars_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternsVars_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___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; 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; uint8_t x_35; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_1); +x_23 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_23, 0, x_1); +x_24 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_13); +x_29 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_30); +lean_inc(x_11); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_11); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); +lean_ctor_set(x_17, 0, x_33); +x_34 = lean_st_ref_set(x_9, x_16, x_18); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +x_37 = lean_box(0); +lean_ctor_set(x_34, 0, x_37); +return x_34; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, 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; 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_42 = lean_ctor_get(x_17, 0); +lean_inc(x_42); +lean_dec(x_17); +lean_inc(x_1); +x_43 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_43, 0, x_1); +x_44 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_49 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_11); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_11); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); +x_54 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); +lean_ctor_set(x_16, 3, x_54); +x_55 = lean_st_ref_set(x_9, x_16, 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; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; +x_60 = lean_ctor_get(x_16, 0); +x_61 = lean_ctor_get(x_16, 1); +x_62 = lean_ctor_get(x_16, 2); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_16); +x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_64 = lean_ctor_get(x_17, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_65 = x_17; +} else { + lean_dec_ref(x_17); + x_65 = lean_box(0); +} +lean_inc(x_1); +x_66 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_66, 0, x_1); +x_67 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2; +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_13); +x_72 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_74, 0, x_1); +lean_ctor_set(x_74, 1, x_73); +lean_inc(x_11); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_11); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); +if (lean_is_scalar(x_65)) { + x_77 = lean_alloc_ctor(0, 1, 1); +} else { + x_77 = x_65; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_60); +lean_ctor_set(x_78, 1, x_61); +lean_ctor_set(x_78, 2, x_62); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_st_ref_set(x_9, x_78, x_18); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_81 = x_79; +} else { + lean_dec_ref(x_79); + x_81 = lean_box(0); +} +x_82 = lean_box(0); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_81; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_80); +return x_83; +} +} +} +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___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: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_st_ref_get(x_8, x_9); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_15); +lean_dec(x_14); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_1 = x_13; +x_9 = x_20; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +lean_inc(x_14); +x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_15); +lean_dec(x_14); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_1 = x_13; +x_9 = x_26; +goto _start; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_dec(x_23); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_15); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_1 = x_13; +x_9 = x_32; +goto _start; +} +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 3); +x_13 = l_Lean_replaceRef(x_1, x_12); +lean_dec(x_12); +lean_ctor_set(x_8, 3, x_13); +x_14 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +return x_14; +} +else +{ +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; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +x_18 = lean_ctor_get(x_8, 3); +x_19 = lean_ctor_get(x_8, 4); +x_20 = lean_ctor_get(x_8, 5); +x_21 = lean_ctor_get(x_8, 6); +x_22 = lean_ctor_get(x_8, 7); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_8); +x_23 = l_Lean_replaceRef(x_1, x_18); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_24, 2, x_17); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set(x_24, 4, x_19); +lean_ctor_set(x_24, 5, x_20); +lean_ctor_set(x_24, 6, x_21); +lean_ctor_set(x_24, 7, x_22); +x_25 = l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); +lean_dec(x_24); +return x_25; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___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) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg), 1, 0); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___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) { +_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; 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; +x_10 = lean_st_ref_get(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_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +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 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 1); +lean_dec(x_45); +lean_ctor_set(x_42, 1, x_40); +x_46 = lean_st_ref_set(x_8, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_dec(x_39); +x_49 = l_List_reverse___rarg(x_48); +x_50 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_38); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +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; 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_55 = lean_ctor_get(x_42, 0); +x_56 = lean_ctor_get(x_42, 2); +x_57 = lean_ctor_get(x_42, 3); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_42); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_40); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_st_ref_set(x_8, x_58, x_43); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_dec(x_39); +x_62 = l_List_reverse___rarg(x_61); +x_63 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); +lean_dec(x_7); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_38); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_37, 0); +lean_inc(x_67); +lean_dec(x_37); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(x_68, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_68); +return x_72; +} +else +{ +lean_object* x_73; +lean_dec(x_7); +x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(x_31); +return x_73; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(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, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = x_3 < x_2; +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +x_15 = lean_array_uget(x_1, x_3); +x_16 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_16, 0, x_15); +lean_inc(x_10); +x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = lean_box(0); +x_3 = x_23; +x_4 = x_24; +x_12 = x_21; +goto _start; +} +else +{ +uint8_t x_26; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +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; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_getPatternsVars(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; size_t x_10; size_t 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; +x_9 = lean_array_get_size(x_1); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = lean_st_ref_get(x_7, x_8); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Elab_Term_collectPatternVars___closed__1; +x_15 = lean_st_mk_ref(x_14, x_13); +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_box(0); +lean_inc(x_7); +lean_inc(x_16); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_10, x_11, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_7, x_20); +lean_dec(x_7); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_get(x_16, x_22); +lean_dec(x_16); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_23); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +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; +} +} +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___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_Lean_Elab_Term_getPatternsVars___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_List_forM___at_Lean_Elab_Term_getPatternsVars___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_List_forM___at_Lean_Elab_Term_getPatternsVars___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_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +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_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_Term_getPatternsVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_getPatternsVars(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_Elab_Term_getPatternVarNames_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_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Term_getPatternVarNames_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVarNames_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; size_t x_7; size_t x_8; +x_6 = lean_array_uget(x_1, x_2); +x_7 = 1; +x_8 = x_2 + x_7; +if (lean_obj_tag(x_6) == 0) +{ +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_10 = lean_array_push(x_4, x_9); +x_2 = x_8; +x_4 = x_10; +goto _start; +} +else +{ +lean_dec(x_6); +x_2 = x_8; +goto _start; +} +} +else +{ +return x_4; +} +} +} +lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_le(x_3, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +return x_8; +} +else +{ +size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_usize_of_nat(x_2); +x_10 = lean_usize_of_nat(x_3); +x_11 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3; +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(x_1, x_9, x_10, x_11); +return x_12; +} +} +} +} +lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(x_1, x_3, x_2); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_getPatternVarNames___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Term_getPatternVarNames(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Meta_Match_MatchPatternAttr(lean_object*); +lean_object* initialize_Lean_Elab_Arg(lean_object*); +lean_object* initialize_Lean_Elab_MatchAltView(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_PatternVar(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Match_MatchPatternAttr(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Arg(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_MatchAltView(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Term_instToStringPatternVar___closed__1 = _init_l_Lean_Elab_Term_instToStringPatternVar___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_instToStringPatternVar___closed__1); +l_Lean_Elab_Term_instToStringPatternVar___closed__2 = _init_l_Lean_Elab_Term_instToStringPatternVar___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_instToStringPatternVar___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__3); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_mkMVarSyntax___closed__4); +l_Lean_Elab_Term_CollectPatternVars_State_found___default = _init_l_Lean_Elab_Term_CollectPatternVars_State_found___default(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_State_found___default); +l_Lean_Elab_Term_CollectPatternVars_State_vars___default = _init_l_Lean_Elab_Term_CollectPatternVars_State_vars___default(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_State_vars___default); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2); +l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default = _init_l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default); +l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default = _init_l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default); +l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1); +l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext = _init_l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__7); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__8); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__9); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__10); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__11); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__1); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__10); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__12); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__17); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__18); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__20); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__22); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__24); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__25); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__26); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__28); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__29); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__33); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__34); +l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35 = _init_l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35(); +lean_mark_persistent(l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__35); +l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1 = _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1); +l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2 = _init_l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2); +l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1 = _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__1); +l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2 = _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__2); +l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3 = _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__3); +l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4 = _init_l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4___closed__4); +l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1 = _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__1); +l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__2___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__2___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__3); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5); +l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6 = _init_l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__3); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__7); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__9); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__10); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__6___boxed__const__1); +l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__8___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__1); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__2); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__3); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__4); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__5 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__5); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__6 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__6); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__7 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__7); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__8 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__8); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__9 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__9); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__10 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__10); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__11 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__11); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__12 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__12); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__13 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__13); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__14 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__14); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__15 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__15); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__16 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__16); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__17 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__17); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__18 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__18); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__19 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__19); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__20 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__20); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__21 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__21); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__22 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__22); +l_Lean_Elab_Term_CollectPatternVars_collect___closed__23 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___closed__23); +l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__2); +l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__3); +l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__6); +l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1 = _init_l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1); +l_Lean_Elab_Term_collectPatternVars___closed__1 = _init_l_Lean_Elab_Term_collectPatternVars___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_collectPatternVars___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3___rarg___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 83b5e4525c..229b63604b 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -59,7 +59,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Mai uint8_t l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive___lambda__1(lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__7(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1; lean_object* l_Std_mkHashMap___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__23(lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___lambda__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___closed__6; @@ -68,15 +67,13 @@ lean_object* l_List_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__20(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedMVarsAtPreDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_addAndCompileUnsafe(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___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); size_t l_UInt64_toUSize(uint64_t); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_800_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_961_(lean_object*); lean_object* l_Lean_Expr_FoldConstsImpl_fold_visit___rarg(lean_object*, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef_match__1(lean_object*); lean_object* l_Lean_Elab_mkInhabitantFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -89,6 +86,7 @@ lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_objec lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6(size_t, size_t, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_push___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__10(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__7___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__4(lean_object*, lean_object*, size_t, size_t); @@ -97,6 +95,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_ lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC_add___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(lean_object*, size_t, size_t); @@ -113,10 +112,12 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_SCC_scc___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5___closed__1; lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__24(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3___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_instInhabitedPreDefinition; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_SCC_scc___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(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___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_collectMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2; @@ -145,7 +146,7 @@ lean_object* l_List_redLength___rarg(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(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_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__26(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__15(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -156,6 +157,8 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___boxed__const__1; lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_collectMVarsAtPreDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__12___boxed(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); @@ -170,7 +173,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__4(lean_o extern lean_object* l_Lean_Expr_FoldConstsImpl_initCache; lean_object* l_Lean_Elab_WFRecursion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3; lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___lambda__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__20___boxed(lean_object*, lean_object*); @@ -179,6 +181,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Mai static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___closed__4; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive___boxed(lean_object*); @@ -188,17 +191,44 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1 static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__1; static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__6___closed__1; lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__17___lambda__1(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___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_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__9___lambda__2(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__4; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__8(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__17(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_245____spec__1(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1() { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 2); +x_16 = 3; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_17 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_17, 0, x_13); +lean_ctor_set(x_17, 1, x_14); +lean_ctor_set(x_17, 2, x_15); +lean_ctor_set(x_17, 3, x_2); +lean_ctor_set(x_17, 4, x_3); +lean_ctor_set(x_17, 5, x_4); +lean_ctor_set_uint8(x_17, sizeof(void*)*6, x_16); +x_18 = 0; +x_19 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -206,16 +236,16 @@ x_1 = lean_mk_string("inhabitant for "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -223,16 +253,16 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___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, lean_object* x_12) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___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) { _start: { lean_object* x_13; lean_object* x_14; @@ -246,132 +276,91 @@ lean_inc(x_13); x_14 = l_Lean_Elab_mkInhabitantFor(x_13, x_4, x_5, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_st_ref_get(x_11, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -lean_dec(x_3); -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_ctor_get(x_1, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_1, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_1, 2); -lean_inc(x_24); -lean_dec(x_1); -x_25 = 3; -x_26 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_23); -lean_ctor_set(x_26, 2, x_24); -lean_ctor_set(x_26, 3, x_13); -lean_ctor_set(x_26, 4, x_2); -lean_ctor_set(x_26, 5, x_15); -lean_ctor_set_uint8(x_26, sizeof(void*)*6, x_25); -x_27 = 0; -x_28 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_26, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); -lean_dec(x_17); -lean_inc(x_3); -x_30 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -lean_dec(x_3); -x_33 = lean_ctor_get(x_30, 1); +x_31 = lean_st_ref_get(x_11, x_16); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_ctor_get(x_1, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_1, 1); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_1, 2); -lean_inc(x_36); -lean_dec(x_1); -x_37 = 3; -x_38 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_36); -lean_ctor_set(x_38, 3, x_13); -lean_ctor_set(x_38, 4, x_2); -lean_ctor_set(x_38, 5, x_15); -lean_ctor_set_uint8(x_38, sizeof(void*)*6, x_37); -x_39 = 0; -x_40 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_38, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_33); -return x_40; +lean_dec(x_31); +x_36 = 0; +x_17 = x_36; +x_18 = x_35; +goto block_30; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; -x_41 = lean_ctor_get(x_30, 1); -lean_inc(x_41); -lean_dec(x_30); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +lean_inc(x_3); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_17 = x_41; +x_18 = x_40; +goto block_30; +} +block_30: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_3); +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1(x_1, x_13, x_2, x_15, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_1); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_inc(x_13); -x_42 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_42, 0, x_13); -x_43 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_3, x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get(x_1, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_1, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_1, 2); -lean_inc(x_51); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_13); +x_22 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_3, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1(x_1, x_13, x_2, x_15, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_27); lean_dec(x_1); -x_52 = 3; -x_53 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_53, 0, x_49); -lean_ctor_set(x_53, 1, x_50); -lean_ctor_set(x_53, 2, x_51); -lean_ctor_set(x_53, 3, x_13); -lean_ctor_set(x_53, 4, x_2); -lean_ctor_set(x_53, 5, x_15); -lean_ctor_set_uint8(x_53, sizeof(void*)*6, x_52); -x_54 = 0; -x_55 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_53, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -return x_55; +return x_29; } } } else { -uint8_t x_56; +uint8_t x_42; lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); @@ -381,23 +370,95 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_14); -if (x_56 == 0) +x_42 = !lean_is_exclusive(x_14); +if (x_42 == 0) { return x_14; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_14, 0); -x_58 = lean_ctor_get(x_14, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_14, 0); +x_44 = lean_ctor_get(x_14, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_14); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_1, 4); +lean_inc(x_11); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___boxed), 12, 3); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_11); +lean_closure_set(x_12, 2, x_2); +x_13 = l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1___rarg(x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +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; } } } @@ -476,131 +537,261 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_dec(x_4); x_14 = lean_array_uget(x_1, x_3); -x_30 = lean_st_ref_get(x_10, x_11); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); -lean_dec(x_32); -if (x_33 == 0) +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__4; +x_63 = lean_st_ref_get(x_10, x_11); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_64, 3); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); +lean_dec(x_65); +if (x_66 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_30, 1); -lean_inc(x_34); -lean_dec(x_30); -x_15 = x_34; -goto block_29; +lean_object* x_67; uint8_t x_68; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec(x_63); +x_68 = 0; +x_16 = x_68; +x_17 = x_67; +goto block_62; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__4; -x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_35); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_15 = x_40; -goto block_29; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_63, 1); +lean_inc(x_69); +lean_dec(x_63); +x_70 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_unbox(x_71); +lean_dec(x_71); +x_16 = x_73; +x_17 = x_72; +goto block_62; } -else +block_62: { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec(x_37); -x_42 = lean_ctor_get(x_14, 3); -lean_inc(x_42); -x_43 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__6; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_36, x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_41); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_15 = x_49; -goto block_29; -} -} -block_29: +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_14, 4); -lean_inc(x_16); -x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__4; -lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___boxed), 12, 3); -lean_closure_set(x_18, 0, x_14); -lean_closure_set(x_18, 1, x_16); -lean_closure_set(x_18, 2, x_17); +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_19 = l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1___rarg(x_16, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(x_14, x_15, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 1); +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_19); -x_21 = 1; -x_22 = x_3 + x_21; -x_23 = lean_box(0); -x_3 = x_22; -x_4 = x_23; -x_11 = x_20; -goto _start; -} -else +if (lean_obj_tag(x_20) == 0) { -uint8_t x_25; +uint8_t x_21; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec(x_20); +lean_ctor_set(x_19, 0, x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_dec(x_19); +x_28 = lean_ctor_get(x_20, 0); +lean_inc(x_28); +lean_dec(x_20); +x_29 = 1; +x_30 = x_3 + x_29; +x_3 = x_30; +x_4 = x_28; +x_11 = x_27; +goto _start; +} +} +else +{ +uint8_t x_32; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) { return x_19; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); lean_dec(x_19); -x_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; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_36 = lean_ctor_get(x_14, 3); +lean_inc(x_36); +x_37 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__6; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_15, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(x_14, x_15, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +lean_dec(x_43); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 0); +lean_dec(x_48); +x_49 = lean_ctor_get(x_46, 0); +lean_inc(x_49); +lean_dec(x_46); +lean_ctor_set(x_45, 0, x_49); +return x_45; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_dec(x_45); +x_51 = lean_ctor_get(x_46, 0); +lean_inc(x_51); +lean_dec(x_46); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +lean_dec(x_45); +x_54 = lean_ctor_get(x_46, 0); +lean_inc(x_54); +lean_dec(x_46); +x_55 = 1; +x_56 = x_3 + x_55; +x_3 = x_56; +x_4 = x_54; +x_11 = x_53; +goto _start; +} +} +else +{ +uint8_t x_58; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_58 = !lean_is_exclusive(x_45); +if (x_58 == 0) +{ +return x_45; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_45, 0); +x_60 = lean_ctor_get(x_45, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_45); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} } } } @@ -672,9 +863,29 @@ _start: lean_object* x_13; x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_1); return x_13; } } +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___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) { +_start: +{ +lean_object* x_13; +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +return x_13; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +return x_11; +} +} lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___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: { @@ -3487,9 +3698,10 @@ return x_13; } else { -lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_dec(x_4); x_14 = lean_array_uget(x_1, x_3); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__2; x_44 = lean_st_ref_get(x_10, x_11); x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); @@ -3505,82 +3717,80 @@ x_48 = lean_ctor_get(x_44, 1); lean_inc(x_48); lean_dec(x_44); x_49 = 0; -x_15 = x_49; -x_16 = x_48; +x_16 = x_49; +x_17 = x_48; goto block_43; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_50 = lean_ctor_get(x_44, 1); lean_inc(x_50); lean_dec(x_44); -x_51 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__2; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_50); -x_53 = lean_ctor_get(x_52, 0); +x_51 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); +lean_dec(x_51); +x_54 = lean_unbox(x_52); lean_dec(x_52); -x_55 = lean_unbox(x_53); -lean_dec(x_53); -x_15 = x_55; x_16 = x_54; +x_17 = x_53; goto block_43; } block_43: { -if (x_15 == 0) +if (x_16 == 0) { -size_t x_17; size_t x_18; lean_object* x_19; +size_t x_18; size_t x_19; lean_object* x_20; lean_dec(x_14); -x_17 = 1; -x_18 = x_3 + x_17; -x_19 = lean_box(0); -x_3 = x_18; -x_4 = x_19; -x_11 = x_16; +x_18 = 1; +x_19 = x_3 + x_18; +x_20 = lean_box(0); +x_3 = x_19; +x_4 = x_20; +x_11 = x_17; goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; size_t x_39; size_t x_40; lean_object* x_41; -x_21 = lean_ctor_get(x_14, 3); -lean_inc(x_21); -x_22 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__4; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_ctor_get(x_14, 4); -lean_inc(x_27); -x_28 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__6; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_ctor_get(x_14, 5); -lean_inc(x_32); +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; size_t x_39; size_t x_40; lean_object* x_41; +x_22 = lean_ctor_get(x_14, 3); +lean_inc(x_22); +x_23 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_ctor_get(x_14, 4); +lean_inc(x_28); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__6; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_ctor_get(x_14, 5); +lean_inc(x_33); lean_dec(x_14); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_33); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_23); -x_36 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__2; -x_37 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_36, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_24); +x_37 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_15, x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_17); x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); @@ -3903,7 +4113,7 @@ lean_ctor_set(x_11, 1, x_10); x_12 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_2); -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); @@ -4127,17 +4337,594 @@ return x_61; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3(lean_object* x_1, size_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) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_11; lean_object* x_53; lean_object* x_54; lean_object* x_75; uint8_t x_76; +x_53 = lean_array_get_size(x_1); +x_75 = lean_unsigned_to_nat(1u); +x_76 = lean_nat_dec_eq(x_53, x_75); +if (x_76 == 0) +{ +lean_object* x_77; uint8_t x_78; +x_77 = lean_unsigned_to_nat(0u); +x_78 = lean_nat_dec_lt(x_77, x_53); +if (x_78 == 0) +{ +lean_object* x_79; +x_79 = lean_box(0); +x_54 = x_79; +goto block_74; +} +else +{ +uint8_t x_80; +x_80 = lean_nat_dec_le(x_53, x_53); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_box(0); +x_54 = x_81; +goto block_74; +} +else +{ +size_t x_82; uint8_t x_83; +x_82 = lean_usize_of_nat(x_53); +x_83 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(x_1, x_2, x_82); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_box(0); +x_54 = x_84; +goto block_74; +} +else +{ +uint8_t x_85; lean_object* x_86; +lean_dec(x_53); +x_85 = 0; +x_86 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_86) == 0) +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_86, 0); +lean_dec(x_88); +x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_86, 0, x_89); +return x_86; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); +lean_dec(x_86); +x_91 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +return x_92; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2() { +else +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_86); +if (x_93 == 0) +{ +return x_86; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_86, 0); +x_95 = lean_ctor_get(x_86, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_86); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = l_Lean_Elab_instInhabitedPreDefinition; +x_98 = lean_unsigned_to_nat(0u); +x_99 = lean_array_get(x_97, x_1, x_98); +lean_inc(x_99); +x_100 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_99); +if (x_100 == 0) +{ +uint8_t x_101; +lean_dec(x_99); +x_101 = lean_nat_dec_lt(x_98, x_53); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_box(0); +x_54 = x_102; +goto block_74; +} +else +{ +uint8_t x_103; +x_103 = lean_nat_dec_le(x_53, x_53); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_box(0); +x_54 = x_104; +goto block_74; +} +else +{ +size_t x_105; uint8_t x_106; +x_105 = lean_usize_of_nat(x_53); +x_106 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(x_1, x_2, x_105); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_box(0); +x_54 = x_107; +goto block_74; +} +else +{ +uint8_t x_108; lean_object* x_109; +lean_dec(x_53); +x_108 = 0; +x_109 = l_Lean_Elab_addAndCompileUnsafe(x_1, x_108, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_109) == 0) +{ +uint8_t x_110; +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_109, 0); +lean_dec(x_111); +x_112 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_109, 0, x_112); +return x_109; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +lean_dec(x_109); +x_114 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +uint8_t x_116; +x_116 = !lean_is_exclusive(x_109); +if (x_116 == 0) +{ +return x_109; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_109, 0); +x_118 = lean_ctor_get(x_109, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_109); +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; +} +} +} +} +} +} +else +{ +lean_object* x_120; uint8_t x_121; +lean_dec(x_53); +lean_dec(x_1); +x_120 = lean_ctor_get(x_99, 2); +lean_inc(x_120); +x_121 = lean_ctor_get_uint8(x_120, sizeof(void*)*2 + 1); +lean_dec(x_120); +if (x_121 == 0) +{ +uint8_t x_122; lean_object* x_123; +x_122 = 1; +x_123 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_99, x_122, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +if (lean_obj_tag(x_123) == 0) +{ +uint8_t x_124; +x_124 = !lean_is_exclusive(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_123, 0); +lean_dec(x_125); +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_123, 0, x_126); +return x_123; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_123, 1); +lean_inc(x_127); +lean_dec(x_123); +x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +return x_129; +} +} +else +{ +uint8_t x_130; +x_130 = !lean_is_exclusive(x_123); +if (x_130 == 0) +{ +return x_123; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_123, 0); +x_132 = lean_ctor_get(x_123, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_123); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +} +} +else +{ +uint8_t x_134; lean_object* x_135; +x_134 = 0; +x_135 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_99, x_134, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +if (lean_obj_tag(x_135) == 0) +{ +uint8_t x_136; +x_136 = !lean_is_exclusive(x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +x_137 = lean_ctor_get(x_135, 0); +lean_dec(x_137); +x_138 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_135, 0, x_138); +return x_135; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +lean_dec(x_135); +x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +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_142; +x_142 = !lean_is_exclusive(x_135); +if (x_142 == 0) +{ +return x_135; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_135, 0); +x_144 = lean_ctor_get(x_135, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_135); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +} +} +} +block_52: +{ +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_dec(x_11); +x_12 = l_Lean_Elab_instInhabitedPreDefinition; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get(x_12, x_1, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +lean_inc(x_1); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__1), 2, 1); +lean_closure_set(x_16, 0, x_1); +x_17 = !lean_is_exclusive(x_8); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_8, 3); +x_19 = l_Lean_replaceRef(x_15, x_18); +lean_dec(x_18); +lean_dec(x_15); +lean_ctor_set(x_8, 3, x_19); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__2), 8, 3); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, x_4); +lean_closure_set(x_20, 2, x_5); +x_21 = l_Lean_Meta_mapErrorImp___rarg(x_20, x_16, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +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; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +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; +x_32 = lean_ctor_get(x_8, 0); +x_33 = lean_ctor_get(x_8, 1); +x_34 = lean_ctor_get(x_8, 2); +x_35 = lean_ctor_get(x_8, 3); +x_36 = lean_ctor_get(x_8, 4); +x_37 = lean_ctor_get(x_8, 5); +x_38 = lean_ctor_get(x_8, 6); +x_39 = lean_ctor_get(x_8, 7); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_8); +x_40 = l_Lean_replaceRef(x_15, x_35); +lean_dec(x_35); +lean_dec(x_15); +x_41 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_41, 0, x_32); +lean_ctor_set(x_41, 1, x_33); +lean_ctor_set(x_41, 2, x_34); +lean_ctor_set(x_41, 3, x_40); +lean_ctor_set(x_41, 4, x_36); +lean_ctor_set(x_41, 5, x_37); +lean_ctor_set(x_41, 6, x_38); +lean_ctor_set(x_41, 7, x_39); +x_42 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__2), 8, 3); +lean_closure_set(x_42, 0, x_1); +lean_closure_set(x_42, 1, x_4); +lean_closure_set(x_42, 2, x_5); +x_43 = l_Lean_Meta_mapErrorImp___rarg(x_42, x_16, x_6, x_7, x_41, x_9, x_10); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +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; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_43, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_50 = x_43; +} else { + lean_dec_ref(x_43); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(1, 2, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +} +block_74: +{ +lean_object* x_55; uint8_t x_56; +lean_dec(x_54); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_nat_dec_lt(x_55, x_53); +if (x_56 == 0) +{ +lean_object* x_57; +lean_dec(x_53); +x_57 = lean_box(0); +x_11 = x_57; +goto block_52; +} +else +{ +uint8_t x_58; +x_58 = lean_nat_dec_le(x_53, x_53); +if (x_58 == 0) +{ +lean_object* x_59; +lean_dec(x_53); +x_59 = lean_box(0); +x_11 = x_59; +goto block_52; +} +else +{ +size_t x_60; uint8_t x_61; +x_60 = lean_usize_of_nat(x_53); +lean_dec(x_53); +x_61 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__4(x_1, x_2, x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_box(0); +x_11 = x_62; +goto block_52; +} +else +{ +lean_object* x_63; +x_63 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_63) == 0) +{ +uint8_t x_64; +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_63, 0); +lean_dec(x_65); +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +lean_ctor_set(x_63, 0, x_66); +return x_63; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec(x_63); +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +return x_69; +} +} +else +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_63); +if (x_70 == 0) +{ +return x_63; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_63, 0); +x_72 = lean_ctor_get(x_63, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_63); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1() { _start: { lean_object* x_1; @@ -4145,12 +4932,12 @@ x_1 = lean_mk_string("scc"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__4; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -4176,690 +4963,266 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_34; uint8_t x_158; lean_object* x_159; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_dec(x_5); x_15 = lean_array_uget(x_2, x_4); -x_175 = lean_st_ref_get(x_11, x_12); -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) +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2; +x_69 = lean_st_ref_get(x_11, x_12); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); +lean_dec(x_71); +if (x_72 == 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_158 = x_180; -x_159 = x_179; -goto block_174; +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_74 = 0; +x_17 = x_74; +x_18 = x_73; +goto block_68; } 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_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3; -x_183 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_182, x_6, x_7, x_8, x_9, x_10, x_11, 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_158 = x_186; -x_159 = x_185; -goto block_174; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +lean_dec(x_69); +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox(x_77); +lean_dec(x_77); +x_17 = x_79; +x_18 = x_78; +goto block_68; } -block_33: +block_68: { -if (lean_obj_tag(x_16) == 0) +if (x_17 == 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_19; lean_object* x_20; +x_19 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3(x_15, x_1, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_20) == 0) { -uint8_t x_18; +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -lean_ctor_set(x_16, 0, x_20); -return x_16; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_dec(x_16); -x_22 = lean_ctor_get(x_17, 0); -lean_inc(x_22); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; -x_24 = lean_ctor_get(x_16, 1); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); +x_24 = lean_ctor_get(x_21, 0); lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_ctor_get(x_17, 0); +lean_dec(x_21); +lean_ctor_set(x_20, 0, x_24); +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 1); lean_inc(x_25); -lean_dec(x_17); -x_26 = 1; -x_27 = x_4 + x_26; -x_4 = x_27; -x_5 = x_25; -x_12 = x_24; +lean_dec(x_20); +x_26 = lean_ctor_get(x_21, 0); +lean_inc(x_26); +lean_dec(x_21); +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 +{ +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_dec(x_20); +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +x_30 = 1; +x_31 = x_4 + x_30; +x_4 = x_31; +x_5 = x_29; +x_12 = x_28; goto _start; } } else { -uint8_t x_29; +uint8_t x_33; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_33 = !lean_is_exclusive(x_20); +if (x_33 == 0) { -return x_16; +return x_20; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_16); -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; -} -} -} -block_157: -{ -lean_object* x_35; lean_object* x_64; lean_object* x_65; lean_object* x_86; uint8_t x_87; -x_64 = lean_array_get_size(x_15); -x_86 = lean_unsigned_to_nat(1u); -x_87 = lean_nat_dec_eq(x_64, x_86); -if (x_87 == 0) -{ -lean_object* x_88; uint8_t x_89; -x_88 = lean_unsigned_to_nat(0u); -x_89 = lean_nat_dec_lt(x_88, x_64); -if (x_89 == 0) -{ -lean_object* x_90; -x_90 = lean_box(0); -x_65 = x_90; -goto block_85; -} -else -{ -uint8_t x_91; -x_91 = lean_nat_dec_le(x_64, x_64); -if (x_91 == 0) -{ -lean_object* x_92; -x_92 = lean_box(0); -x_65 = x_92; -goto block_85; -} -else -{ -size_t x_93; uint8_t x_94; -x_93 = lean_usize_of_nat(x_64); -x_94 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(x_15, x_1, x_93); -if (x_94 == 0) -{ -lean_object* x_95; -x_95 = lean_box(0); -x_65 = x_95; -goto block_85; -} -else -{ -uint8_t x_96; lean_object* x_97; -lean_dec(x_64); -x_96 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_6); -x_97 = l_Lean_Elab_addAndCompileUnsafe(x_15, x_96, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -if (lean_obj_tag(x_97) == 0) -{ -uint8_t x_98; -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_97, 0); -lean_dec(x_99); -x_100 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_97, 0, x_100); -x_16 = x_97; -goto block_33; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_dec(x_97); -x_102 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_16 = x_103; -goto block_33; -} -} -else -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_97); -if (x_104 == 0) -{ -x_16 = x_97; -goto block_33; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_97, 0); -x_106 = lean_ctor_get(x_97, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_97); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_16 = x_107; -goto block_33; -} -} -} +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_20, 0); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_20); +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_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_108 = l_Lean_Elab_instInhabitedPreDefinition; -x_109 = lean_unsigned_to_nat(0u); -x_110 = lean_array_get(x_108, x_15, x_109); -lean_inc(x_110); -x_111 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(x_110); -if (x_111 == 0) -{ -uint8_t x_112; -lean_dec(x_110); -x_112 = lean_nat_dec_lt(x_109, x_64); -if (x_112 == 0) -{ -lean_object* x_113; -x_113 = lean_box(0); -x_65 = x_113; -goto block_85; -} -else -{ -uint8_t x_114; -x_114 = lean_nat_dec_le(x_64, x_64); -if (x_114 == 0) -{ -lean_object* x_115; -x_115 = lean_box(0); -x_65 = x_115; -goto block_85; -} -else -{ -size_t x_116; uint8_t x_117; -x_116 = lean_usize_of_nat(x_64); -x_117 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(x_15, x_1, x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_box(0); -x_65 = x_118; -goto block_85; -} -else -{ -uint8_t x_119; lean_object* x_120; -lean_dec(x_64); -x_119 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_6); -x_120 = l_Lean_Elab_addAndCompileUnsafe(x_15, x_119, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -if (lean_obj_tag(x_120) == 0) -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_120); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -lean_dec(x_122); -x_123 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_120, 0, x_123); -x_16 = x_120; -goto block_33; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_120, 1); -lean_inc(x_124); -lean_dec(x_120); -x_125 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_33; -} -} -else -{ -uint8_t x_127; -x_127 = !lean_is_exclusive(x_120); -if (x_127 == 0) -{ -x_16 = x_120; -goto block_33; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_120, 0); -x_129 = lean_ctor_get(x_120, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_120); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -x_16 = x_130; -goto block_33; -} -} -} -} -} -} -else -{ -lean_object* x_131; uint8_t x_132; -lean_dec(x_64); -lean_dec(x_15); -x_131 = lean_ctor_get(x_110, 2); -lean_inc(x_131); -x_132 = lean_ctor_get_uint8(x_131, sizeof(void*)*2 + 1); -lean_dec(x_131); -if (x_132 == 0) -{ -uint8_t x_133; lean_object* x_134; -x_133 = 1; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_134 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_110, x_133, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -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; lean_object* x_137; -x_136 = lean_ctor_get(x_134, 0); -lean_dec(x_136); -x_137 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_134, 0, x_137); -x_16 = x_134; -goto block_33; -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_134, 1); -lean_inc(x_138); -lean_dec(x_134); -x_139 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_16 = x_140; -goto block_33; -} -} -else -{ -uint8_t x_141; -x_141 = !lean_is_exclusive(x_134); -if (x_141 == 0) -{ -x_16 = x_134; -goto block_33; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_134, 0); -x_143 = lean_ctor_get(x_134, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_134); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -x_16 = x_144; -goto block_33; -} -} -} -else -{ -uint8_t x_145; lean_object* x_146; -x_145 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_146 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_110, x_145, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -if (lean_obj_tag(x_146) == 0) -{ -uint8_t x_147; -x_147 = !lean_is_exclusive(x_146); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; -x_148 = lean_ctor_get(x_146, 0); -lean_dec(x_148); -x_149 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_146, 0, x_149); -x_16 = x_146; -goto block_33; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_146, 1); -lean_inc(x_150); -lean_dec(x_146); -x_151 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_16 = x_152; -goto block_33; -} -} -else -{ -uint8_t x_153; -x_153 = !lean_is_exclusive(x_146); -if (x_153 == 0) -{ -x_16 = x_146; -goto block_33; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_146, 0); -x_155 = lean_ctor_get(x_146, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_146); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -x_16 = x_156; -goto block_33; -} -} -} -} -} -block_63: -{ -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_dec(x_35); -x_36 = l_Lean_Elab_instInhabitedPreDefinition; -x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_array_get(x_36, x_15, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -lean_dec(x_38); +lean_object* x_37; size_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; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_37 = lean_array_get_size(x_15); +x_38 = lean_usize_of_nat(x_37); +lean_dec(x_37); lean_inc(x_15); -x_40 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__1), 2, 1); -lean_closure_set(x_40, 0, x_15); -x_41 = lean_ctor_get(x_10, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_10, 1); -lean_inc(x_42); -x_43 = lean_ctor_get(x_10, 2); -lean_inc(x_43); -x_44 = lean_ctor_get(x_10, 3); -lean_inc(x_44); -x_45 = lean_ctor_get(x_10, 4); -lean_inc(x_45); -x_46 = lean_ctor_get(x_10, 5); -lean_inc(x_46); -x_47 = lean_ctor_get(x_10, 6); -lean_inc(x_47); -x_48 = lean_ctor_get(x_10, 7); -lean_inc(x_48); -x_49 = l_Lean_replaceRef(x_39, x_44); -lean_dec(x_44); -lean_dec(x_39); -x_50 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_50, 0, x_41); -lean_ctor_set(x_50, 1, x_42); -lean_ctor_set(x_50, 2, x_43); -lean_ctor_set(x_50, 3, x_49); -lean_ctor_set(x_50, 4, x_45); -lean_ctor_set(x_50, 5, x_46); -lean_ctor_set(x_50, 6, x_47); -lean_ctor_set(x_50, 7, x_48); +x_39 = x_15; +x_40 = l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6(x_38, x_1, x_39); +x_41 = x_40; +x_42 = lean_array_to_list(lean_box(0), x_41); +x_43 = l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(x_42); +x_44 = l_Lean_MessageData_ofList(x_43); +lean_dec(x_43); +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_16, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_51 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__2), 8, 3); -lean_closure_set(x_51, 0, x_15); -lean_closure_set(x_51, 1, x_6); -lean_closure_set(x_51, 2, x_7); -lean_inc(x_11); -lean_inc(x_9); -lean_inc(x_8); -x_52 = l_Lean_Meta_mapErrorImp___rarg(x_51, x_40, x_8, x_9, x_50, x_11, x_34); +x_51 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3(x_15, x_1, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_50); +lean_dec(x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); if (lean_obj_tag(x_52) == 0) { uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_53 = !lean_is_exclusive(x_51); if (x_53 == 0) { lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 0); +x_54 = lean_ctor_get(x_51, 0); lean_dec(x_54); -x_55 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_52, 0, x_55); -x_16 = x_52; -goto block_33; +x_55 = lean_ctor_get(x_52, 0); +lean_inc(x_55); +lean_dec(x_52); +lean_ctor_set(x_51, 0, x_55); +return x_51; } else { lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_52, 1); +x_56 = lean_ctor_get(x_51, 1); lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); lean_dec(x_52); -x_57 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; x_58 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); -x_16 = x_58; -goto block_33; +return x_58; } } else { -uint8_t x_59; -x_59 = !lean_is_exclusive(x_52); -if (x_59 == 0) -{ -x_16 = x_52; -goto block_33; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; +x_59 = lean_ctor_get(x_51, 1); +lean_inc(x_59); +lean_dec(x_51); x_60 = lean_ctor_get(x_52, 0); -x_61 = lean_ctor_get(x_52, 1); -lean_inc(x_61); lean_inc(x_60); lean_dec(x_52); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_16 = x_62; -goto block_33; -} -} -} -block_85: -{ -lean_object* x_66; uint8_t x_67; -lean_dec(x_65); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_nat_dec_lt(x_66, x_64); -if (x_67 == 0) -{ -lean_object* x_68; -lean_dec(x_64); -x_68 = lean_box(0); -x_35 = x_68; -goto block_63; -} -else -{ -uint8_t x_69; -x_69 = lean_nat_dec_le(x_64, x_64); -if (x_69 == 0) -{ -lean_object* x_70; -lean_dec(x_64); -x_70 = lean_box(0); -x_35 = x_70; -goto block_63; -} -else -{ -size_t x_71; uint8_t x_72; -x_71 = lean_usize_of_nat(x_64); -lean_dec(x_64); -x_72 = l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__4(x_15, x_1, x_71); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_box(0); -x_35 = x_73; -goto block_63; -} -else -{ -lean_object* x_74; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_74 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -if (lean_obj_tag(x_74) == 0) -{ -uint8_t x_75; -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -x_77 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -lean_ctor_set(x_74, 0, x_77); -x_16 = x_74; -goto block_33; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); -lean_dec(x_74); -x_79 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1; -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_16 = x_80; -goto block_33; +x_61 = 1; +x_62 = x_4 + x_61; +x_4 = x_62; +x_5 = x_60; +x_12 = x_59; +goto _start; } } else { -uint8_t x_81; -x_81 = !lean_is_exclusive(x_74); -if (x_81 == 0) +uint8_t x_64; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_64 = !lean_is_exclusive(x_51); +if (x_64 == 0) { -x_16 = x_74; -goto block_33; +return x_51; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_74, 0); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_74); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_16 = x_84; -goto block_33; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_51, 0); +x_66 = lean_ctor_get(x_51, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_51); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } @@ -4867,46 +5230,6 @@ goto block_33; } } } -block_174: -{ -if (x_158 == 0) -{ -x_34 = x_159; -goto block_157; -} -else -{ -lean_object* x_160; size_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_160 = lean_array_get_size(x_15); -x_161 = lean_usize_of_nat(x_160); -lean_dec(x_160); -lean_inc(x_15); -x_162 = x_15; -x_163 = l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6(x_161, x_1, x_162); -x_164 = x_163; -x_165 = lean_array_to_list(lean_box(0), x_164); -x_166 = l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(x_165); -x_167 = l_Lean_MessageData_ofList(x_166); -lean_dec(x_166); -x_168 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4; -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -x_171 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3; -x_172 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_171, x_170, x_6, x_7, x_8, x_9, x_10, x_11, x_159); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_34 = x_173; -goto block_157; -} -} -} -} -} static lean_object* _init_l_Lean_Elab_addPreDefinitions___boxed__const__1() { _start: { @@ -5106,6 +5429,17 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6(x_4, x_5 return x_6; } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; lean_object* x_12; +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +return x_12; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -5121,7 +5455,7 @@ lean_dec(x_2); return x_16; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_800_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_961_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -5133,7 +5467,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3; +x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -5182,14 +5516,16 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__2(); @@ -5258,11 +5594,9 @@ l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1 lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__3); l_Lean_Elab_addPreDefinitions___boxed__const__1 = _init_l_Lean_Elab_addPreDefinitions___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_addPreDefinitions___boxed__const__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_800_(lean_io_mk_world()); +res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_961_(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/PreDefinition/MkInhabitant.c b/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c index feed653964..1f152a0973 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c @@ -47,7 +47,7 @@ extern lean_object* l_Lean_instInhabitedExpr; size_t lean_usize_of_nat(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_findAssumption_x3f___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*); static lean_object* l_Lean_Elab_mkInhabitantFor___closed__3; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(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_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -912,7 +912,7 @@ x_21 = l_Lean_Elab_mkInhabitantFor___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_22, x_4, x_5, x_6, x_7, x_17); +x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_22, x_4, x_5, x_6, x_7, x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index 10ee23cd67..202c7705b7 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__10(lean_object*); @@ -23,7 +24,6 @@ lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Struc lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__6(lean_object*); size_t l_USize_add(size_t, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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*); @@ -33,8 +33,8 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__7___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__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_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_hasConst___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__5; @@ -52,9 +52,10 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Struc lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg(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_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__2___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop_match__1___rarg(lean_object*, lean_object*); @@ -62,12 +63,13 @@ lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___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_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow_match__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__2___closed__4; lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3; uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_containsRecFn___lambda__1(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,10 +81,13 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ lean_object* l_Lean_Meta_MatcherApp_addArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps(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_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_structuralRecursion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInductivePredicate___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,7 +98,7 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__16; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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_lambdaTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__11___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_recArgHasLooseBVarsAt___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -102,42 +107,41 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(le static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__2; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedM___closed__3; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed(lean_object**); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_dependsOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___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_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop_match__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__5(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___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*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_containsRecFn___boxed(lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__3(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__8(lean_object*, size_t, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4; lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__15; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__1; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2(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_Elab_Structural_addSmartUnfoldingDefAux___lambda__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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* l_Lean_throwError___at_Lean_Elab_Structural_instInhabitedM___spec__1(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_containsRecFn___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__14; @@ -151,6 +155,7 @@ lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef___boxed(lean_object*, l lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___boxed(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_Structural_addSmartUnfoldingDefAux_visit___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11; lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_structuralRecursion_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; @@ -160,7 +165,7 @@ lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit_match__1___rar lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_orelse_x27(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg___lambda__1(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_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___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*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,8 +174,10 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__3; extern lean_object* l_Lean_binductionOnSuffix; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getIndexMinPos___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -186,13 +193,13 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5; uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_recArgHasLooseBVarsAt(lean_object*, lean_object*, lean_object*); 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* l_Array_zip___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___closed__2; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix_match__2(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; lean_object* l_Lean_mkMData(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -204,8 +211,10 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg(lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__11(lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); @@ -214,18 +223,15 @@ lean_object* l_Lean_Meta_IndPredBelow_backwardsChaining(lean_object*, lean_objec lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelow___lambda__1(lean_object*, 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*); lean_object* l_Lean_throwError___at_Lean_Elab_Structural_instInhabitedM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn___lambda__1___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn___lambda__1___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13(lean_object*); lean_object* l_Lean_Meta_forEachExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__1; @@ -235,8 +241,8 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1; lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__4(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_structuralRecursion___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* l_Lean_Elab_Structural_structuralRecursion___lambda__1(lean_object*); @@ -245,22 +251,26 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___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_Expr_headBeta(lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__4___boxed__const__1; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__3; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___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*); uint8_t l_Lean_Expr_isHeadBetaTarget(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__2(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_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -269,6 +279,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___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_Structural_State_matcherBelowDep___default; lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1(lean_object*); @@ -279,27 +290,24 @@ static lean_object* l_Lean_Elab_Structural_structuralRecursion___closed__3; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__1; lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___spec__2___rarg(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_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getIndexMinPos___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___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*); extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__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*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed(lean_object**); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__7(lean_object*, lean_object*); lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Structural_instInhabitedM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,12 +318,15 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu static lean_object* l_Lean_Elab_Structural_structuralRecursion___lambda__1___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getIndexMinPos(lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_recArgHasLooseBVarsAt___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop_match__3(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1(lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1; lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -325,24 +336,22 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__6(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* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed(lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getIndexMinPos_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__9; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___boxed(lean_object**); lean_object* l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux___lambda__3___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,9 +361,11 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu static lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_recArgHasLooseBVarsAt___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1; lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___lambda__1(lean_object*, 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_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__8; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -365,14 +376,12 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__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_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17; lean_object* l_Lean_Elab_Structural_structuralRecursion_match__1(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__8; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5(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_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__5___lambda__1(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_Expr_FindImpl_initCache; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__2; @@ -383,17 +392,21 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Struc lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_matchMatcherApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___lambda__2___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__1(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_orelse_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1(lean_object*); @@ -401,33 +414,42 @@ lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec_ lean_object* l_Lean_Elab_Structural_State_addMatchers___default; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_IndPredBelow_maxBackwardChainingDepth; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed(lean_object*); lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getIndexMinPos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3___boxed(lean_object**); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3; lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1; lean_object* l_Lean_Meta_mkIdRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__11; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow_match__2(lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__5___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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2(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_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__1(lean_object*); -lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3; +lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_7238_(lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__4___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_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___lambda__2___closed__2; @@ -437,12 +459,15 @@ lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8(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_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__4___boxed__const__1; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___spec__1___closed__1; static lean_object* l_Lean_Elab_Structural_structuralRecursion___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -452,22 +477,21 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(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* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6___boxed__const__1; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__2___closed__3; uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_shouldBetaReduce(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__2___boxed__const__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Meta_forEachExpr_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9(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*); static lean_object* l_Lean_Elab_Structural_structuralRecursion___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -477,38 +501,48 @@ lean_object* l_Lean_isInductivePredicate___at___private_Lean_Elab_PreDefinition_ lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__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*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___rarg___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1; lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__6; -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___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_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___rarg___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__5(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* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___boxed(lean_object**); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(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_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8(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_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8___boxed__const__1; lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_containsRecFn(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(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_Structural_addSmartUnfoldingDefAux_visit___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__1; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; @@ -518,14 +552,16 @@ lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_objec lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9; lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___boxed__const__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__1(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*); uint8_t l_Array_contains___at_Lean_Meta_getElimInfo___spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2; uint8_t lean_level_eq(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -538,18 +574,23 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8___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* l_Lean_Elab_Structural_addSmartUnfoldingDefAux___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1; +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__2___closed__1; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___boxed__const__1; lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__4___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*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__2___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__2___boxed__const__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12(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*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__7; lean_object* l_Lean_Elab_Structural_instInhabitedM(lean_object*); @@ -566,7 +607,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Str static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6; uint8_t l_Lean_LocalDecl_isLet(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1(lean_object*, lean_object*); @@ -5891,6 +5931,607 @@ return x_27; } } } +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("left"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("right"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fst"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("snd"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7; +x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 5) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 4) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +if (lean_obj_tag(x_13) == 1) +{ +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_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1; +x_19 = lean_string_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2; +x_21 = lean_string_dec_eq(x_17, x_20); +lean_dec(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +lean_dec(x_15); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_22, 0, x_2); +lean_closure_set(x_22, 1, x_3); +lean_closure_set(x_22, 2, x_4); +x_23 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_22, x_6, x_7, x_8, x_9, x_10); +return x_23; +} +else +{ +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_dec(x_1); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; +x_25 = lean_array_push(x_24, x_3); +x_26 = lean_st_ref_get(x_9, x_10); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_st_ref_get(x_9, x_28); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_get(x_7, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_25); +x_37 = l_Lean_Meta_mkAppM(x_36, x_25, x_6, x_7, x_8, x_9, x_34); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_4); +x_40 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_16, x_2, x_38, x_6, x_7, x_8, x_9, x_39); +if (lean_obj_tag(x_40) == 0) +{ +lean_dec(x_35); +lean_dec(x_29); +lean_dec(x_25); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_29, x_6, x_7, x_8, x_9, x_41); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Meta_setMCtx(x_35, x_6, x_7, x_8, x_9, x_43); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_47 = l_Lean_Meta_mkAppM(x_46, x_25, x_6, x_7, x_8, x_9, x_45); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_15, x_2, x_48, x_6, x_7, x_8, x_9, x_49); +return x_50; +} +else +{ +uint8_t x_51; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_47); +if (x_51 == 0) +{ +return x_47; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_47, 0); +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_47); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +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; lean_object* x_61; +lean_dec(x_16); +x_55 = lean_ctor_get(x_37, 1); +lean_inc(x_55); +lean_dec(x_37); +x_56 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_29, x_6, x_7, x_8, x_9, x_55); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Lean_Meta_setMCtx(x_35, x_6, x_7, x_8, x_9, x_57); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_61 = l_Lean_Meta_mkAppM(x_60, x_25, x_6, x_7, x_8, x_9, x_59); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_15, x_2, x_62, x_6, x_7, x_8, x_9, x_63); +return x_64; +} +else +{ +uint8_t x_65; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_65 = !lean_is_exclusive(x_61); +if (x_65 == 0) +{ +return x_61; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_61, 0); +x_67 = lean_ctor_get(x_61, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_61); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_17); +lean_dec(x_1); +x_69 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; +x_70 = lean_array_push(x_69, x_3); +x_71 = lean_st_ref_get(x_9, x_10); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_st_ref_get(x_9, x_73); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_get(x_7, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +lean_dec(x_78); +x_81 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_70); +x_82 = l_Lean_Meta_mkAppM(x_81, x_70, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_4); +x_85 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_16, x_2, x_83, x_6, x_7, x_8, x_9, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_dec(x_80); +lean_dec(x_74); +lean_dec(x_70); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_85; +} +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; lean_object* x_92; +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_74, x_6, x_7, x_8, x_9, x_86); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_setMCtx(x_80, x_6, x_7, x_8, x_9, x_88); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_92 = l_Lean_Meta_mkAppM(x_91, x_70, x_6, x_7, x_8, x_9, x_90); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_15, x_2, x_93, x_6, x_7, x_8, x_9, x_94); +return x_95; +} +else +{ +uint8_t x_96; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_96 = !lean_is_exclusive(x_92); +if (x_96 == 0) +{ +return x_92; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_92, 0); +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_92); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_16); +x_100 = lean_ctor_get(x_82, 1); +lean_inc(x_100); +lean_dec(x_82); +x_101 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_74, x_6, x_7, x_8, x_9, x_100); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = l_Lean_Meta_setMCtx(x_80, x_6, x_7, x_8, x_9, x_102); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_106 = l_Lean_Meta_mkAppM(x_105, x_70, x_6, x_7, x_8, x_9, x_104); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_4, x_15, x_2, x_107, x_6, x_7, x_8, x_9, x_108); +return x_109; +} +else +{ +uint8_t x_110; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_110 = !lean_is_exclusive(x_106); +if (x_110 == 0) +{ +return x_106; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_106, 0); +x_112 = lean_ctor_get(x_106, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_106); +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 +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +x_114 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_114, 0, x_2); +lean_closure_set(x_114, 1, x_3); +lean_closure_set(x_114, 2, x_4); +x_115 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_114, x_6, x_7, x_8, x_9, x_10); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; +lean_dec(x_13); +lean_dec(x_11); +x_116 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_116, 0, x_2); +lean_closure_set(x_116, 1, x_3); +lean_closure_set(x_116, 2, x_4); +x_117 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_116, x_6, x_7, x_8, x_9, x_10); +return x_117; +} +} +else +{ +lean_object* x_118; lean_object* x_119; +lean_dec(x_12); +lean_dec(x_11); +x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_118, 0, x_2); +lean_closure_set(x_118, 1, x_3); +lean_closure_set(x_118, 2, x_4); +x_119 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_118, x_6, x_7, x_8, x_9, x_10); +return x_119; +} +} +else +{ +lean_object* x_120; lean_object* x_121; +lean_dec(x_11); +x_120 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_120, 0, x_2); +lean_closure_set(x_120, 1, x_3); +lean_closure_set(x_120, 2, x_4); +x_121 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_120, x_6, x_7, x_8, x_9, x_10); +return x_121; +} +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); +lean_closure_set(x_122, 0, x_2); +lean_closure_set(x_122, 1, x_3); +lean_closure_set(x_122, 2, x_4); +x_123 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_122, x_6, x_7, x_8, x_9, x_10); +return x_123; +} +} +} static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__1() { _start: { @@ -5948,122 +6589,21 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("left"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__7; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("right"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__7; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fst"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("snd"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13; -x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("belowDict: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9() { _start: { lean_object* x_1; @@ -6071,11 +6611,11 @@ x_1 = lean_mk_string(", arg: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -6091,600 +6631,98 @@ lean_inc(x_5); x_10 = l_Lean_Meta_whnf(x_2, 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; uint8_t x_128; lean_object* x_129; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 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_143 = lean_st_ref_get(x_8, x_12); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_144, 3); -lean_inc(x_145); -lean_dec(x_144); -x_146 = lean_ctor_get_uint8(x_145, sizeof(void*)*1); -lean_dec(x_145); -if (x_146 == 0) -{ -lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_143, 1); -lean_inc(x_147); -lean_dec(x_143); -x_148 = 0; -x_128 = x_148; -x_129 = x_147; -goto block_142; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_149 = lean_ctor_get(x_143, 1); -lean_inc(x_149); -lean_dec(x_143); -x_150 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_150, x_5, x_6, x_7, x_8, x_149); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_unbox(x_152); -lean_dec(x_152); -x_128 = x_154; -x_129 = x_153; -goto block_142; -} -block_127: -{ -if (lean_obj_tag(x_11) == 5) -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 5) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 4) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -if (lean_obj_tag(x_16) == 1) -{ -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; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1; -x_22 = lean_string_dec_eq(x_20, x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2; -x_24 = lean_string_dec_eq(x_20, x_23); -lean_dec(x_20); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_19); -lean_dec(x_18); -x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_25, 0, x_3); -lean_closure_set(x_25, 1, x_4); -lean_closure_set(x_25, 2, x_1); -x_26 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_25, x_5, x_6, x_7, x_8, x_13); -return x_26; -} -else -{ -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_dec(x_11); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; -x_28 = lean_array_push(x_27, x_4); -x_29 = lean_st_ref_get(x_8, x_13); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_st_ref_get(x_8, x_31); -x_34 = lean_ctor_get(x_33, 1); +x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_32 = lean_st_ref_get(x_8, x_12); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 3); lean_inc(x_34); lean_dec(x_33); -x_35 = lean_st_ref_get(x_6, x_34); -x_36 = lean_ctor_get(x_35, 0); +x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_32, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_28); -x_40 = l_Lean_Meta_mkAppM(x_39, x_28, x_5, x_6, x_7, x_8, x_37); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_43 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_1, x_19, x_3, x_41, x_5, x_6, x_7, x_8, x_42); -if (lean_obj_tag(x_43) == 0) -{ -lean_dec(x_38); lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_43; +x_37 = 0; +x_14 = x_37; +x_15 = x_36; +goto block_31; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_32, x_5, x_6, x_7, x_8, x_44); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Lean_Meta_setMCtx(x_38, x_5, x_6, x_7, x_8, x_46); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_50 = l_Lean_Meta_mkAppM(x_49, x_28, x_5, x_6, x_7, x_8, x_48); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_2 = x_18; -x_4 = x_51; -x_9 = x_52; -goto _start; -} -else -{ -uint8_t x_54; -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) -{ -return x_50; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_50, 0); -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_50); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -} -else -{ -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_dec(x_19); -x_58 = lean_ctor_get(x_40, 1); -lean_inc(x_58); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_13, x_5, x_6, x_7, x_8, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_unbox(x_40); lean_dec(x_40); -x_59 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_32, x_5, x_6, x_7, x_8, x_58); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = l_Lean_Meta_setMCtx(x_38, x_5, x_6, x_7, x_8, x_60); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_64 = l_Lean_Meta_mkAppM(x_63, x_28, x_5, x_6, x_7, x_8, x_62); -if (lean_obj_tag(x_64) == 0) +x_14 = x_42; +x_15 = x_41; +goto block_31; +} +block_31: { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_2 = x_18; -x_4 = x_65; -x_9 = x_66; -goto _start; +if (x_14 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5(x_11, x_3, x_4, x_1, x_16, x_5, x_6, x_7, x_8, x_15); +return x_17; } else { -uint8_t x_68; -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) -{ -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_64); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -} -else -{ -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_dec(x_20); -lean_dec(x_11); -x_72 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; -x_73 = lean_array_push(x_72, x_4); -x_74 = lean_st_ref_get(x_8, x_13); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 0); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_st_ref_get(x_8, x_76); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_st_ref_get(x_6, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_73); -x_85 = l_Lean_Meta_mkAppM(x_84, x_73, x_5, x_6, x_7, x_8, x_82); -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, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_88 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux(x_1, x_19, x_3, x_86, x_5, x_6, x_7, x_8, x_87); -if (lean_obj_tag(x_88) == 0) -{ -lean_dec(x_83); -lean_dec(x_77); -lean_dec(x_73); -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_88; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_77, x_5, x_6, x_7, x_8, x_89); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = l_Lean_Meta_setMCtx(x_83, x_5, x_6, x_7, x_8, x_91); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_95 = l_Lean_Meta_mkAppM(x_94, x_73, x_5, x_6, x_7, x_8, x_93); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_2 = x_18; -x_4 = x_96; -x_9 = x_97; -goto _start; -} -else -{ -uint8_t x_99; -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_99 = !lean_is_exclusive(x_95); -if (x_99 == 0) -{ -return x_95; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_95, 0); -x_101 = lean_ctor_get(x_95, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_95); -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; -} -} -} -} -else -{ -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_dec(x_19); -x_103 = lean_ctor_get(x_85, 1); -lean_inc(x_103); -lean_dec(x_85); -x_104 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_77, x_5, x_6, x_7, x_8, x_103); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_106 = l_Lean_Meta_setMCtx(x_83, x_5, x_6, x_7, x_8, x_105); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_108 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_109 = l_Lean_Meta_mkAppM(x_108, x_73, x_5, x_6, x_7, x_8, x_107); -if (lean_obj_tag(x_109) == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_2 = x_18; -x_4 = x_110; -x_9 = x_111; -goto _start; -} -else -{ -uint8_t x_113; -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_113 = !lean_is_exclusive(x_109); -if (x_113 == 0) -{ -return x_109; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_109, 0); -x_115 = lean_ctor_get(x_109, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_109); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -} -} -else -{ -lean_object* x_117; lean_object* x_118; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); -x_117 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_117, 0, x_3); -lean_closure_set(x_117, 1, x_4); -lean_closure_set(x_117, 2, x_1); -x_118 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_117, x_5, x_6, x_7, x_8, x_13); -return x_118; -} -} -else -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_16); -lean_dec(x_14); -x_119 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_119, 0, x_3); -lean_closure_set(x_119, 1, x_4); -lean_closure_set(x_119, 2, x_1); -x_120 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_119, x_5, x_6, x_7, x_8, x_13); -return x_120; -} -} -else -{ -lean_object* x_121; lean_object* x_122; -lean_dec(x_15); -lean_dec(x_14); -x_121 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_121, 0, x_3); -lean_closure_set(x_121, 1, x_4); -lean_closure_set(x_121, 2, x_1); -x_122 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_121, x_5, x_6, x_7, x_8, x_13); -return x_122; -} -} -else -{ -lean_object* x_123; lean_object* x_124; -lean_dec(x_14); -x_123 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_123, 0, x_3); -lean_closure_set(x_123, 1, x_4); -lean_closure_set(x_123, 2, x_1); -x_124 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_123, x_5, x_6, x_7, x_8, x_13); -return x_124; -} -} -else -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__4___boxed), 10, 3); -lean_closure_set(x_125, 0, x_3); -lean_closure_set(x_125, 1, x_4); -lean_closure_set(x_125, 2, x_1); -x_126 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_11, x_125, x_5, x_6, x_7, x_8, x_13); -return x_126; -} -} -block_142: -{ -if (x_128 == 0) -{ -x_13 = x_129; -goto block_127; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_object* x_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_inc(x_11); -x_130 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_130, 0, x_11); -x_131 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19; -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21; -x_134 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_11); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__8; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); lean_inc(x_3); -x_135 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_135, 0, x_3); -x_136 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_137 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_138 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -x_139 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_140 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_139, x_138, x_5, x_6, x_7, x_8, x_129); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_13 = x_141; -goto block_127; +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_3); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_13, x_26, x_5, x_6, x_7, x_8, x_15); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5(x_11, x_3, x_4, x_1, x_28, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_28); +return x_30; } } } else { -uint8_t x_155; +uint8_t x_43; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6692,23 +6730,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_155 = !lean_is_exclusive(x_10); -if (x_155 == 0) +x_43 = !lean_is_exclusive(x_10); +if (x_43 == 0) { return x_10; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_10, 0); -x_157 = lean_ctor_get(x_10, 1); -lean_inc(x_157); -lean_inc(x_156); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_10, 0); +x_45 = lean_ctor_get(x_10, 1); +lean_inc(x_45); +lean_inc(x_44); lean_dec(x_10); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -return x_158; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } @@ -6760,6 +6798,15 @@ lean_dec(x_3); return x_11; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +return x_11; +} +} lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___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: { @@ -7040,6 +7087,23 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at___private_Lean_Elab return x_2; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +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_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Expr_getAppNumArgsAux(x_1, x_10); +x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; +lean_inc(x_11); +x_13 = lean_mk_array(x_11, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_11, x_14); +lean_dec(x_11); +lean_inc(x_1); +x_16 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg(x_2, x_3, x_1, x_1, x_13, x_15, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +} static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___closed__1() { _start: { @@ -7068,117 +7132,111 @@ lean_inc(x_4); x_9 = l_Lean_Meta_inferType(x_1, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_21 = lean_st_ref_get(x_7, x_11); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_12 = x_25; -goto block_20; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_21, 1); -lean_inc(x_26); -lean_dec(x_21); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_27, x_4, x_5, x_6, x_7, x_26); -x_29 = lean_ctor_get(x_28, 0); +x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_27 = lean_st_ref_get(x_7, x_11); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 3); lean_inc(x_29); -x_30 = lean_unbox(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); lean_dec(x_29); if (x_30 == 0) { -lean_object* x_31; -x_31 = lean_ctor_get(x_28, 1); +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 1); lean_inc(x_31); -lean_dec(x_28); -x_12 = x_31; -goto block_20; +lean_dec(x_27); +x_32 = 0; +x_13 = x_32; +x_14 = x_31; +goto block_26; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); -lean_dec(x_28); -lean_inc(x_10); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_10); -x_34 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___closed__2; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_27, x_37, x_4, x_5, x_6, x_7, x_32); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_12 = x_39; -goto block_20; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_12, x_4, x_5, x_6, x_7, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_unbox(x_35); +lean_dec(x_35); +x_13 = x_37; +x_14 = x_36; +goto block_26; } -} -block_20: +block_26: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Expr_getAppNumArgsAux(x_10, x_13); -x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; -lean_inc(x_14); -x_16 = lean_mk_array(x_14, x_15); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_14, x_17); -lean_dec(x_14); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1(x_10, x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_14); +return x_16; +} +else +{ +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_inc(x_10); -x_19 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg(x_2, x_3, x_10, x_10, x_16, x_18, x_4, x_5, x_6, x_7, x_12); -return x_19; +x_17 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_17, 0, x_10); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___closed__2; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_12, x_21, x_4, x_5, x_6, x_7, x_14); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1(x_10, x_2, x_3, x_23, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_23); +return x_25; +} } } else { -uint8_t x_40; +uint8_t x_38; 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_9); -if (x_40 == 0) +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { return x_9; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_9, 0); -x_42 = lean_ctor_get(x_9, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_9, 0); +x_40 = lean_ctor_get(x_9, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_9); -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; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -7210,6 +7268,15 @@ lean_dec(x_6); return x_12; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelow___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -9400,7 +9467,74 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5() { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_array_get_size(x_2); +x_16 = lean_nat_dec_le(x_1, x_15); +lean_dec(x_15); +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; uint8_t x_27; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = l_Lean_indentExpr(x_6); +x_18 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__2; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_indentExpr(x_7); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__4(x_25, 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); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +return x_26; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_7); +lean_dec(x_6); +x_31 = lean_box(0); +x_32 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5, x_31, x_9, x_10, x_11, x_12, x_13, x_14); +return x_32; +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -9408,16 +9542,16 @@ x_1 = lean_mk_string("altNumParams: "); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -9425,165 +9559,105 @@ x_1 = lean_mk_string(", xs: "); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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, lean_object* x_14) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; uint8_t x_35; lean_object* x_36; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = lean_st_ref_get(x_13, x_14); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_53, 3); -lean_inc(x_54); -lean_dec(x_53); -x_55 = lean_ctor_get_uint8(x_54, sizeof(void*)*1); -lean_dec(x_54); -if (x_55 == 0) +uint8_t x_15; lean_object* x_16; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_st_ref_get(x_13, x_14); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_56; uint8_t x_57; -x_56 = lean_ctor_get(x_52, 1); -lean_inc(x_56); -lean_dec(x_52); -x_57 = 0; -x_35 = x_57; -x_36 = x_56; -goto block_51; +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_15 = x_41; +x_16 = x_40; +goto block_35; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); -lean_dec(x_52); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); lean_inc(x_6); -x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_6, x_9, x_10, x_11, x_12, x_13, 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_unbox(x_60); -lean_dec(x_60); -x_35 = x_62; -x_36 = x_61; -goto block_51; +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_6, x_9, x_10, x_11, x_12, x_13, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_15 = x_46; +x_16 = x_45; +goto block_35; } -block_34: +block_35: { -lean_object* x_16; uint8_t x_17; -x_16 = lean_array_get_size(x_7); -x_17 = lean_nat_dec_le(x_1, x_16); -lean_dec(x_16); -if (x_17 == 0) +if (x_15 == 0) { -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; uint8_t x_28; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_17; lean_object* x_18; +lean_dec(x_6); +x_17 = lean_box(0); +x_18 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2(x_1, x_7, x_2, x_3, x_8, x_4, x_5, x_17, x_9, x_10, x_11, x_12, x_13, x_16); lean_dec(x_1); -x_18 = l_Lean_indentExpr(x_4); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__2; -x_20 = lean_alloc_ctor(10, 2, 0); +return x_18; +} +else +{ +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_inc(x_1); +x_19 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_1); +x_20 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_indentExpr(x_5); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__4(x_26, x_9, x_10, x_11, x_12, x_13, x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -return x_27; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_27); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_5); -lean_dec(x_4); -x_32 = lean_box(0); -x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__1(x_1, x_7, x_2, x_3, x_8, x_32, x_9, x_10, x_11, x_12, x_13, x_15); -lean_dec(x_1); -return x_33; -} -} -block_51: -{ -if (x_35 == 0) -{ -lean_dec(x_6); -x_15 = x_36; -goto block_34; -} -else -{ -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_inc(x_1); -x_37 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_1); -x_38 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); lean_inc(x_7); -x_43 = lean_array_to_list(lean_box(0), x_7); -x_44 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_43); -x_45 = l_Lean_MessageData_ofList(x_44); -lean_dec(x_44); -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_42); -lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_6, x_48, x_9, x_10, x_11, x_12, x_13, x_36); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_15 = x_50; -goto block_34; +x_25 = lean_array_to_list(lean_box(0), x_7); +x_26 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_25); +x_27 = l_Lean_MessageData_ofList(x_26); +lean_dec(x_26); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_6, x_30, x_9, x_10, x_11, x_12, x_13, x_16); +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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2(x_1, x_7, x_2, x_3, x_8, x_4, x_5, x_32, x_9, x_10, x_11, x_12, x_13, x_33); +lean_dec(x_32); +lean_dec(x_1); +return x_34; } } } @@ -9628,7 +9702,7 @@ lean_inc(x_3); lean_inc(x_21); lean_inc(x_2); lean_inc(x_1); -x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2), 14, 6); +x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3), 14, 6); lean_closure_set(x_23, 0, x_22); lean_closure_set(x_23, 1, x_1); lean_closure_set(x_23, 2, x_2); @@ -9865,7 +9939,454 @@ lean_ctor_set(x_4, 1, x_2); return x_4; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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) { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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; lean_object* x_15; lean_object* x_16; +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_addArg), 7, 2); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_16 = l_Lean_Meta_mapErrorImp___rarg(x_14, x_15, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(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; uint8_t x_24; +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); +x_19 = lean_st_ref_get(x_12, x_18); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_take(x_8, x_20); +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_is_exclusive(x_22); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_17); +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; size_t 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_26 = lean_ctor_get(x_22, 0); +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +x_29 = lean_ctor_get(x_17, 2); +x_30 = lean_ctor_get(x_17, 3); +x_31 = lean_ctor_get(x_17, 4); +x_32 = lean_ctor_get(x_17, 5); +x_33 = lean_ctor_get(x_17, 6); +x_34 = lean_ctor_get(x_17, 7); +x_35 = lean_ctor_get(x_17, 8); +x_36 = lean_box(0); +lean_inc(x_27); +x_37 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_26, x_27, x_36); +lean_ctor_set(x_22, 0, x_37); +x_38 = lean_st_ref_set(x_8, x_22, x_23); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Array_zip___rarg(x_34, x_33); +lean_dec(x_34); +x_41 = lean_array_get_size(x_40); +x_42 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_43 = x_40; +x_44 = lean_box_usize(x_42); +x_45 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1; +x_46 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); +lean_closure_set(x_46, 0, x_3); +lean_closure_set(x_46, 1, x_4); +lean_closure_set(x_46, 2, x_5); +lean_closure_set(x_46, 3, x_6); +lean_closure_set(x_46, 4, x_44); +lean_closure_set(x_46, 5, x_45); +lean_closure_set(x_46, 6, x_43); +x_47 = x_46; +x_48 = lean_apply_6(x_47, x_8, x_9, x_10, x_11, x_12, x_39); +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_48, 0); +lean_ctor_set(x_17, 7, x_50); +x_51 = l_Lean_Meta_MatcherApp_toExpr(x_17); +lean_ctor_set(x_48, 0, x_51); +return x_48; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_48, 0); +x_53 = lean_ctor_get(x_48, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_48); +lean_ctor_set(x_17, 7, x_52); +x_54 = l_Lean_Meta_MatcherApp_toExpr(x_17); +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 +{ +uint8_t x_56; +lean_free_object(x_17); +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_27); +x_56 = !lean_is_exclusive(x_48); +if (x_56 == 0) +{ +return x_48; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_48, 0); +x_58 = lean_ctor_get(x_48, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_48); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +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; size_t 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; +x_60 = lean_ctor_get(x_22, 0); +x_61 = lean_ctor_get(x_17, 0); +x_62 = lean_ctor_get(x_17, 1); +x_63 = lean_ctor_get(x_17, 2); +x_64 = lean_ctor_get(x_17, 3); +x_65 = lean_ctor_get(x_17, 4); +x_66 = lean_ctor_get(x_17, 5); +x_67 = lean_ctor_get(x_17, 6); +x_68 = lean_ctor_get(x_17, 7); +x_69 = lean_ctor_get(x_17, 8); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_17); +x_70 = lean_box(0); +lean_inc(x_61); +x_71 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_60, x_61, x_70); +lean_ctor_set(x_22, 0, x_71); +x_72 = lean_st_ref_set(x_8, x_22, x_23); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Array_zip___rarg(x_68, x_67); +lean_dec(x_68); +x_75 = lean_array_get_size(x_74); +x_76 = lean_usize_of_nat(x_75); +lean_dec(x_75); +x_77 = x_74; +x_78 = lean_box_usize(x_76); +x_79 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1; +x_80 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); +lean_closure_set(x_80, 0, x_3); +lean_closure_set(x_80, 1, x_4); +lean_closure_set(x_80, 2, x_5); +lean_closure_set(x_80, 3, x_6); +lean_closure_set(x_80, 4, x_78); +lean_closure_set(x_80, 5, x_79); +lean_closure_set(x_80, 6, x_77); +x_81 = x_80; +x_82 = lean_apply_6(x_81, x_8, x_9, x_10, x_11, x_12, x_73); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_85 = x_82; +} else { + lean_dec_ref(x_82); + x_85 = lean_box(0); +} +x_86 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_86, 0, x_61); +lean_ctor_set(x_86, 1, x_62); +lean_ctor_set(x_86, 2, x_63); +lean_ctor_set(x_86, 3, x_64); +lean_ctor_set(x_86, 4, x_65); +lean_ctor_set(x_86, 5, x_66); +lean_ctor_set(x_86, 6, x_67); +lean_ctor_set(x_86, 7, x_83); +lean_ctor_set(x_86, 8, x_69); +x_87 = l_Lean_Meta_MatcherApp_toExpr(x_86); +if (lean_is_scalar(x_85)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_85; +} +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_84); +return x_88; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_69); +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_63); +lean_dec(x_62); +lean_dec(x_61); +x_89 = lean_ctor_get(x_82, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_82, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_91 = x_82; +} else { + lean_dec_ref(x_82); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 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; size_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_93 = lean_ctor_get(x_22, 0); +x_94 = lean_ctor_get(x_22, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_22); +x_95 = lean_ctor_get(x_17, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_17, 1); +lean_inc(x_96); +x_97 = lean_ctor_get(x_17, 2); +lean_inc(x_97); +x_98 = lean_ctor_get(x_17, 3); +lean_inc(x_98); +x_99 = lean_ctor_get(x_17, 4); +lean_inc(x_99); +x_100 = lean_ctor_get(x_17, 5); +lean_inc(x_100); +x_101 = lean_ctor_get(x_17, 6); +lean_inc(x_101); +x_102 = lean_ctor_get(x_17, 7); +lean_inc(x_102); +x_103 = lean_ctor_get(x_17, 8); +lean_inc(x_103); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + lean_ctor_release(x_17, 3); + lean_ctor_release(x_17, 4); + lean_ctor_release(x_17, 5); + lean_ctor_release(x_17, 6); + lean_ctor_release(x_17, 7); + lean_ctor_release(x_17, 8); + x_104 = x_17; +} else { + lean_dec_ref(x_17); + x_104 = lean_box(0); +} +x_105 = lean_box(0); +lean_inc(x_95); +x_106 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_93, x_95, x_105); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_94); +x_108 = lean_st_ref_set(x_8, x_107, x_23); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +lean_dec(x_108); +x_110 = l_Array_zip___rarg(x_102, x_101); +lean_dec(x_102); +x_111 = lean_array_get_size(x_110); +x_112 = lean_usize_of_nat(x_111); +lean_dec(x_111); +x_113 = x_110; +x_114 = lean_box_usize(x_112); +x_115 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1; +x_116 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); +lean_closure_set(x_116, 0, x_3); +lean_closure_set(x_116, 1, x_4); +lean_closure_set(x_116, 2, x_5); +lean_closure_set(x_116, 3, x_6); +lean_closure_set(x_116, 4, x_114); +lean_closure_set(x_116, 5, x_115); +lean_closure_set(x_116, 6, x_113); +x_117 = x_116; +x_118 = lean_apply_6(x_117, x_8, x_9, x_10, x_11, x_12, x_109); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_121 = x_118; +} else { + lean_dec_ref(x_118); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_122 = lean_alloc_ctor(0, 9, 0); +} else { + x_122 = x_104; +} +lean_ctor_set(x_122, 0, x_95); +lean_ctor_set(x_122, 1, x_96); +lean_ctor_set(x_122, 2, x_97); +lean_ctor_set(x_122, 3, x_98); +lean_ctor_set(x_122, 4, x_99); +lean_ctor_set(x_122, 5, x_100); +lean_ctor_set(x_122, 6, x_101); +lean_ctor_set(x_122, 7, x_119); +lean_ctor_set(x_122, 8, x_103); +x_123 = l_Lean_Meta_MatcherApp_toExpr(x_122); +if (lean_is_scalar(x_121)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_121; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_120); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +lean_dec(x_98); +lean_dec(x_97); +lean_dec(x_96); +lean_dec(x_95); +x_125 = lean_ctor_get(x_118, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_118, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_127 = x_118; +} else { + lean_dec_ref(x_118); + x_127 = lean_box(0); +} +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(1, 2, 0); +} else { + x_128 = x_127; +} +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_126); +return x_128; +} +} +} +else +{ +uint8_t x_129; +lean_dec(x_12); +lean_dec(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); +lean_dec(x_3); +x_129 = !lean_is_exclusive(x_16); +if (x_129 == 0) +{ +return x_16; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_16, 0); +x_131 = lean_ctor_get(x_16, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_16); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -9883,7 +10404,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; x_17 = lean_array_push(x_16, x_5); x_18 = 0; x_19 = 1; @@ -9922,7 +10443,7 @@ return x_24; } } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -9940,7 +10461,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; x_17 = lean_array_push(x_16, x_5); x_18 = 0; x_19 = 1; @@ -9983,28 +10504,20 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1), 1, 0); +x_1 = lean_mk_string("below before matcherApp.addArg: "); return x_1; } } static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("below before matcherApp.addArg: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3() { _start: { lean_object* x_1; @@ -10012,24 +10525,15 @@ x_1 = lean_mk_string(" : "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(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: { @@ -10089,533 +10593,104 @@ return x_30; } else { -lean_object* x_31; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -x_31 = l_Lean_Meta_inferType(x_3, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_158; lean_object* x_159; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -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_173 = lean_st_ref_get(x_9, x_33); -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_174, 3); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_ctor_get_uint8(x_175, sizeof(void*)*1); -lean_dec(x_175); -if (x_176 == 0) -{ -lean_object* x_177; uint8_t x_178; -x_177 = lean_ctor_get(x_173, 1); -lean_inc(x_177); -lean_dec(x_173); -x_178 = 0; -x_158 = x_178; -x_159 = x_177; -goto block_172; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_179 = lean_ctor_get(x_173, 1); -lean_inc(x_179); -lean_dec(x_173); -x_180 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_181 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_180, x_5, x_6, x_7, x_8, x_9, x_179); -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 = lean_unbox(x_182); -lean_dec(x_182); -x_158 = x_184; -x_159 = x_183; -goto block_172; -} -block_157: -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_addArg), 7, 2); -lean_closure_set(x_35, 0, x_22); -lean_closure_set(x_35, 1, x_3); -x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_37 = l_Lean_Meta_mapErrorImp___rarg(x_35, x_36, x_6, x_7, x_8, x_9, x_34); -if (lean_obj_tag(x_37) == 0) -{ -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; uint8_t x_45; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_9, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_take(x_5, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = !lean_is_exclusive(x_43); -if (x_45 == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_38); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t 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; -x_47 = lean_ctor_get(x_43, 0); -x_48 = lean_ctor_get(x_38, 0); -x_49 = lean_ctor_get(x_38, 1); -x_50 = lean_ctor_get(x_38, 2); -x_51 = lean_ctor_get(x_38, 3); -x_52 = lean_ctor_get(x_38, 4); -x_53 = lean_ctor_get(x_38, 5); -x_54 = lean_ctor_get(x_38, 6); -x_55 = lean_ctor_get(x_38, 7); -x_56 = lean_ctor_get(x_38, 8); -x_57 = lean_box(0); -lean_inc(x_48); -x_58 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_47, x_48, x_57); -lean_ctor_set(x_43, 0, x_58); -x_59 = lean_st_ref_set(x_5, x_43, x_44); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); +lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_31 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_57 = lean_st_ref_get(x_9, x_21); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 3); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); lean_dec(x_59); -x_61 = l_Array_zip___rarg(x_55, x_54); -lean_dec(x_55); -x_62 = lean_array_get_size(x_61); -x_63 = lean_usize_of_nat(x_62); -lean_dec(x_62); -x_64 = x_61; -x_65 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_66 = lean_box_usize(x_63); -x_67 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1; -x_68 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); -lean_closure_set(x_68, 0, x_1); -lean_closure_set(x_68, 1, x_2); -lean_closure_set(x_68, 2, x_4); -lean_closure_set(x_68, 3, x_65); -lean_closure_set(x_68, 4, x_66); -lean_closure_set(x_68, 5, x_67); -lean_closure_set(x_68, 6, x_64); -x_69 = x_68; -x_70 = lean_apply_6(x_69, x_5, x_6, x_7, x_8, x_9, x_60); -if (lean_obj_tag(x_70) == 0) +if (x_60 == 0) { -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_70, 0); -lean_ctor_set(x_38, 7, x_72); -x_73 = l_Lean_Meta_MatcherApp_toExpr(x_38); -lean_ctor_set(x_70, 0, x_73); -return x_70; +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_32 = x_62; +x_33 = x_61; +goto block_56; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_74 = lean_ctor_get(x_70, 0); -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_70); -lean_ctor_set(x_38, 7, x_74); -x_76 = l_Lean_Meta_MatcherApp_toExpr(x_38); -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; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_31, x_5, x_6, x_7, x_8, x_9, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_32 = x_67; +x_33 = x_66; +goto block_56; } +block_56: +{ +if (x_32 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2(x_22, x_3, x_1, x_2, x_4, x_31, x_34, x_5, x_6, x_7, x_8, x_9, x_33); +return x_35; } else { -uint8_t x_78; -lean_free_object(x_38); -lean_dec(x_56); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -lean_dec(x_49); -lean_dec(x_48); -x_78 = !lean_is_exclusive(x_70); -if (x_78 == 0) -{ -return x_70; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_70, 0); -x_80 = lean_ctor_get(x_70, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_70); -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; -} -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; size_t 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; -x_82 = lean_ctor_get(x_43, 0); -x_83 = lean_ctor_get(x_38, 0); -x_84 = lean_ctor_get(x_38, 1); -x_85 = lean_ctor_get(x_38, 2); -x_86 = lean_ctor_get(x_38, 3); -x_87 = lean_ctor_get(x_38, 4); -x_88 = lean_ctor_get(x_38, 5); -x_89 = lean_ctor_get(x_38, 6); -x_90 = lean_ctor_get(x_38, 7); -x_91 = lean_ctor_get(x_38, 8); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_38); -x_92 = lean_box(0); -lean_inc(x_83); -x_93 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_82, x_83, x_92); -lean_ctor_set(x_43, 0, x_93); -x_94 = lean_st_ref_set(x_5, x_43, x_44); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_96 = l_Array_zip___rarg(x_90, x_89); -lean_dec(x_90); -x_97 = lean_array_get_size(x_96); -x_98 = lean_usize_of_nat(x_97); -lean_dec(x_97); -x_99 = x_96; -x_100 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_101 = lean_box_usize(x_98); -x_102 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1; -x_103 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); -lean_closure_set(x_103, 0, x_1); -lean_closure_set(x_103, 1, x_2); -lean_closure_set(x_103, 2, x_4); -lean_closure_set(x_103, 3, x_100); -lean_closure_set(x_103, 4, x_101); -lean_closure_set(x_103, 5, x_102); -lean_closure_set(x_103, 6, x_99); -x_104 = x_103; -x_105 = lean_apply_6(x_104, x_5, x_6, x_7, x_8, x_9, x_95); -if (lean_obj_tag(x_105) == 0) -{ -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_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_108 = x_105; -} else { - lean_dec_ref(x_105); - x_108 = lean_box(0); -} -x_109 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_109, 0, x_83); -lean_ctor_set(x_109, 1, x_84); -lean_ctor_set(x_109, 2, x_85); -lean_ctor_set(x_109, 3, x_86); -lean_ctor_set(x_109, 4, x_87); -lean_ctor_set(x_109, 5, x_88); -lean_ctor_set(x_109, 6, x_89); -lean_ctor_set(x_109, 7, x_106); -lean_ctor_set(x_109, 8, x_91); -x_110 = l_Lean_Meta_MatcherApp_toExpr(x_109); -if (lean_is_scalar(x_108)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_108; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_107); -return x_111; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_91); -lean_dec(x_89); -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_86); -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_83); -x_112 = lean_ctor_get(x_105, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_105, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_114 = x_105; -} else { - lean_dec_ref(x_105); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 2, 0); -} else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_113); -return x_115; -} -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; size_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_116 = lean_ctor_get(x_43, 0); -x_117 = lean_ctor_get(x_43, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_43); -x_118 = lean_ctor_get(x_38, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_38, 1); -lean_inc(x_119); -x_120 = lean_ctor_get(x_38, 2); -lean_inc(x_120); -x_121 = lean_ctor_get(x_38, 3); -lean_inc(x_121); -x_122 = lean_ctor_get(x_38, 4); -lean_inc(x_122); -x_123 = lean_ctor_get(x_38, 5); -lean_inc(x_123); -x_124 = lean_ctor_get(x_38, 6); -lean_inc(x_124); -x_125 = lean_ctor_get(x_38, 7); -lean_inc(x_125); -x_126 = lean_ctor_get(x_38, 8); -lean_inc(x_126); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - lean_ctor_release(x_38, 2); - lean_ctor_release(x_38, 3); - lean_ctor_release(x_38, 4); - lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - lean_ctor_release(x_38, 7); - lean_ctor_release(x_38, 8); - x_127 = x_38; -} else { - lean_dec_ref(x_38); - x_127 = lean_box(0); -} -x_128 = lean_box(0); -lean_inc(x_118); -x_129 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_116, x_118, x_128); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_117); -x_131 = lean_st_ref_set(x_5, x_130, x_44); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = l_Array_zip___rarg(x_125, x_124); -lean_dec(x_125); -x_134 = lean_array_get_size(x_133); -x_135 = lean_usize_of_nat(x_134); -lean_dec(x_134); -x_136 = x_133; -x_137 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_138 = lean_box_usize(x_135); -x_139 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1; -x_140 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___boxed), 13, 7); -lean_closure_set(x_140, 0, x_1); -lean_closure_set(x_140, 1, x_2); -lean_closure_set(x_140, 2, x_4); -lean_closure_set(x_140, 3, x_137); -lean_closure_set(x_140, 4, x_138); -lean_closure_set(x_140, 5, x_139); -lean_closure_set(x_140, 6, x_136); -x_141 = x_140; -x_142 = lean_apply_6(x_141, x_5, x_6, x_7, x_8, x_9, x_132); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_145 = x_142; -} else { - lean_dec_ref(x_142); - x_145 = lean_box(0); -} -if (lean_is_scalar(x_127)) { - x_146 = lean_alloc_ctor(0, 9, 0); -} else { - x_146 = x_127; -} -lean_ctor_set(x_146, 0, x_118); -lean_ctor_set(x_146, 1, x_119); -lean_ctor_set(x_146, 2, x_120); -lean_ctor_set(x_146, 3, x_121); -lean_ctor_set(x_146, 4, x_122); -lean_ctor_set(x_146, 5, x_123); -lean_ctor_set(x_146, 6, x_124); -lean_ctor_set(x_146, 7, x_143); -lean_ctor_set(x_146, 8, x_126); -x_147 = l_Lean_Meta_MatcherApp_toExpr(x_146); -if (lean_is_scalar(x_145)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_145; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_144); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_127); -lean_dec(x_126); -lean_dec(x_124); -lean_dec(x_123); -lean_dec(x_122); -lean_dec(x_121); -lean_dec(x_120); -lean_dec(x_119); -lean_dec(x_118); -x_149 = lean_ctor_get(x_142, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_142, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_151 = x_142; -} else { - lean_dec_ref(x_142); - x_151 = lean_box(0); -} -if (lean_is_scalar(x_151)) { - x_152 = lean_alloc_ctor(1, 2, 0); -} else { - x_152 = x_151; -} -lean_ctor_set(x_152, 0, x_149); -lean_ctor_set(x_152, 1, x_150); -return x_152; -} -} -} -else -{ -uint8_t x_153; -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_2); -lean_dec(x_1); -x_153 = !lean_is_exclusive(x_37); -if (x_153 == 0) -{ -return x_37; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_37, 0); -x_155 = lean_ctor_get(x_37, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_37); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -return x_156; -} -} -} -block_172: -{ -if (x_158 == 0) -{ -lean_dec(x_32); -x_34 = x_159; -goto block_157; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_object* x_36; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_3); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_3); -x_161 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5; -x_164 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -x_165 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_165, 0, x_32); -x_166 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -x_167 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -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 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_170 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_169, x_168, x_5, x_6, x_7, x_8, x_9, x_159); -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_34 = x_171; -goto block_157; -} -} +x_36 = l_Lean_Meta_inferType(x_3, x_6, x_7, x_8, x_9, x_33); +if (lean_obj_tag(x_36) == 0) +{ +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; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +lean_inc(x_3); +x_39 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_39, 0, x_3); +x_40 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_44, 0, x_37); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_31, x_47, x_5, x_6, x_7, x_8, x_9, x_38); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2(x_22, x_3, x_1, x_2, x_4, x_31, x_49, x_5, x_6, x_7, x_8, x_9, x_50); +lean_dec(x_49); +return x_51; } else { -uint8_t x_185; +uint8_t x_52; lean_dec(x_22); lean_dec(x_9); lean_dec(x_8); @@ -10626,23 +10701,25 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_185 = !lean_is_exclusive(x_31); -if (x_185 == 0) +x_52 = !lean_is_exclusive(x_36); +if (x_52 == 0) { -return x_31; +return x_36; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_31, 0); -x_187 = lean_ctor_get(x_31, 1); -lean_inc(x_187); -lean_inc(x_186); -lean_dec(x_31); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -return x_188; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_36, 0); +x_54 = lean_ctor_get(x_36, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_36); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} } } } @@ -10650,14 +10727,14 @@ return x_188; } case 6: { -lean_object* x_189; lean_object* x_190; lean_object* x_191; uint64_t x_192; lean_object* x_193; -x_189 = lean_ctor_get(x_4, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_4, 1); -lean_inc(x_190); -x_191 = lean_ctor_get(x_4, 2); -lean_inc(x_191); -x_192 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint64_t x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_4, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_4, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_4, 2); +lean_inc(x_70); +x_71 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); lean_dec(x_4); lean_inc(x_9); lean_inc(x_8); @@ -10667,29 +10744,29 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_193 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_190, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_193) == 0) +x_72 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_69, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = (uint8_t)((x_192 << 24) >> 61); -x_197 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed), 11, 4); -lean_closure_set(x_197, 0, x_191); -lean_closure_set(x_197, 1, x_1); -lean_closure_set(x_197, 2, x_2); -lean_closure_set(x_197, 3, x_3); -x_198 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_189, x_196, x_194, x_197, x_5, x_6, x_7, x_8, x_9, x_195); -return x_198; +lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = (uint8_t)((x_71 << 24) >> 61); +x_76 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3___boxed), 11, 4); +lean_closure_set(x_76, 0, x_70); +lean_closure_set(x_76, 1, x_1); +lean_closure_set(x_76, 2, x_2); +lean_closure_set(x_76, 3, x_3); +x_77 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_68, x_75, x_73, x_76, x_5, x_6, x_7, x_8, x_9, x_74); +return x_77; } else { -uint8_t x_199; -lean_dec(x_191); -lean_dec(x_189); +uint8_t x_78; +lean_dec(x_70); +lean_dec(x_68); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10698,36 +10775,36 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_199 = !lean_is_exclusive(x_193); -if (x_199 == 0) +x_78 = !lean_is_exclusive(x_72); +if (x_78 == 0) { -return x_193; +return x_72; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_193, 0); -x_201 = lean_ctor_get(x_193, 1); -lean_inc(x_201); -lean_inc(x_200); -lean_dec(x_193); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -return x_202; +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_72, 0); +x_80 = lean_ctor_get(x_72, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_72); +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; } } } case 7: { -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint64_t x_206; lean_object* x_207; -x_203 = lean_ctor_get(x_4, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_4, 1); -lean_inc(x_204); -x_205 = lean_ctor_get(x_4, 2); -lean_inc(x_205); -x_206 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint64_t x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_4, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_4, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_4, 2); +lean_inc(x_84); +x_85 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); lean_dec(x_4); lean_inc(x_9); lean_inc(x_8); @@ -10737,29 +10814,29 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_207 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_204, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_207) == 0) +x_86 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_83, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_208; lean_object* x_209; uint8_t x_210; lean_object* x_211; lean_object* x_212; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -x_210 = (uint8_t)((x_206 << 24) >> 61); -x_211 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3___boxed), 11, 4); -lean_closure_set(x_211, 0, x_205); -lean_closure_set(x_211, 1, x_1); -lean_closure_set(x_211, 2, x_2); -lean_closure_set(x_211, 3, x_3); -x_212 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_203, x_210, x_208, x_211, x_5, x_6, x_7, x_8, x_9, x_209); -return x_212; +lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = (uint8_t)((x_85 << 24) >> 61); +x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__4___boxed), 11, 4); +lean_closure_set(x_90, 0, x_84); +lean_closure_set(x_90, 1, x_1); +lean_closure_set(x_90, 2, x_2); +lean_closure_set(x_90, 3, x_3); +x_91 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_82, x_89, x_87, x_90, x_5, x_6, x_7, x_8, x_9, x_88); +return x_91; } else { -uint8_t x_213; -lean_dec(x_205); -lean_dec(x_203); +uint8_t x_92; +lean_dec(x_84); +lean_dec(x_82); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10768,37 +10845,37 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_213 = !lean_is_exclusive(x_207); -if (x_213 == 0) +x_92 = !lean_is_exclusive(x_86); +if (x_92 == 0) { -return x_207; +return x_86; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_207, 0); -x_215 = lean_ctor_get(x_207, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_207); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_86, 0); +x_94 = lean_ctor_get(x_86, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_86); +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; } } } case 8: { -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_217 = lean_ctor_get(x_4, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_4, 1); -lean_inc(x_218); -x_219 = lean_ctor_get(x_4, 2); -lean_inc(x_219); -x_220 = lean_ctor_get(x_4, 3); -lean_inc(x_220); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_96 = lean_ctor_get(x_4, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_4, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_4, 2); +lean_inc(x_98); +x_99 = lean_ctor_get(x_4, 3); +lean_inc(x_99); lean_dec(x_4); lean_inc(x_9); lean_inc(x_8); @@ -10808,15 +10885,15 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_221 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_218, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_221) == 0) +x_100 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_97, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_100) == 0) { -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -10825,29 +10902,29 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_224 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_219, x_5, x_6, x_7, x_8, x_9, x_223); -if (lean_obj_tag(x_224) == 0) +x_103 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_98, x_5, x_6, x_7, x_8, x_9, x_102); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed), 11, 4); -lean_closure_set(x_227, 0, x_220); -lean_closure_set(x_227, 1, x_1); -lean_closure_set(x_227, 2, x_2); -lean_closure_set(x_227, 3, x_3); -x_228 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__14___rarg(x_217, x_222, x_225, x_227, x_5, x_6, x_7, x_8, x_9, x_226); -return x_228; +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3___boxed), 11, 4); +lean_closure_set(x_106, 0, x_99); +lean_closure_set(x_106, 1, x_1); +lean_closure_set(x_106, 2, x_2); +lean_closure_set(x_106, 3, x_3); +x_107 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__14___rarg(x_96, x_101, x_104, x_106, x_5, x_6, x_7, x_8, x_9, x_105); +return x_107; } else { -uint8_t x_229; -lean_dec(x_222); -lean_dec(x_220); -lean_dec(x_217); +uint8_t x_108; +lean_dec(x_101); +lean_dec(x_99); +lean_dec(x_96); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10856,32 +10933,32 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_229 = !lean_is_exclusive(x_224); -if (x_229 == 0) +x_108 = !lean_is_exclusive(x_103); +if (x_108 == 0) { -return x_224; +return x_103; } else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_224, 0); -x_231 = lean_ctor_get(x_224, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_224); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -return x_232; +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_103, 0); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_103); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -uint8_t x_233; -lean_dec(x_220); -lean_dec(x_219); -lean_dec(x_217); +uint8_t x_112; +lean_dec(x_99); +lean_dec(x_98); +lean_dec(x_96); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10890,157 +10967,157 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_233 = !lean_is_exclusive(x_221); -if (x_233 == 0) +x_112 = !lean_is_exclusive(x_100); +if (x_112 == 0) { -return x_221; +return x_100; } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_234 = lean_ctor_get(x_221, 0); -x_235 = lean_ctor_get(x_221, 1); -lean_inc(x_235); -lean_inc(x_234); -lean_dec(x_221); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); -return x_236; +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_100, 0); +x_114 = lean_ctor_get(x_100, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_100); +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; } } } case 10: { -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_4, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_4, 1); -lean_inc(x_238); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_4, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_4, 1); +lean_inc(x_117); lean_dec(x_4); -x_239 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_238, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_239) == 0) +x_118 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_117, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_118) == 0) { -uint8_t x_240; -x_240 = !lean_is_exclusive(x_239); -if (x_240 == 0) +uint8_t x_119; +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) { -lean_object* x_241; lean_object* x_242; -x_241 = lean_ctor_get(x_239, 0); -x_242 = l_Lean_mkMData(x_237, x_241); -lean_ctor_set(x_239, 0, x_242); -return x_239; +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_118, 0); +x_121 = l_Lean_mkMData(x_116, x_120); +lean_ctor_set(x_118, 0, x_121); +return x_118; } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_243 = lean_ctor_get(x_239, 0); -x_244 = lean_ctor_get(x_239, 1); -lean_inc(x_244); -lean_inc(x_243); -lean_dec(x_239); -x_245 = l_Lean_mkMData(x_237, x_243); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_244); -return x_246; +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_122 = lean_ctor_get(x_118, 0); +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_118); +x_124 = l_Lean_mkMData(x_116, x_122); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +return x_125; } } else { -uint8_t x_247; -lean_dec(x_237); -x_247 = !lean_is_exclusive(x_239); -if (x_247 == 0) +uint8_t x_126; +lean_dec(x_116); +x_126 = !lean_is_exclusive(x_118); +if (x_126 == 0) { -return x_239; +return x_118; } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_ctor_get(x_239, 0); -x_249 = lean_ctor_get(x_239, 1); -lean_inc(x_249); -lean_inc(x_248); -lean_dec(x_239); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_248); -lean_ctor_set(x_250, 1, x_249); -return x_250; +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_118, 0); +x_128 = lean_ctor_get(x_118, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_118); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; } } } case 11: { -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_251 = lean_ctor_get(x_4, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_4, 1); -lean_inc(x_252); -x_253 = lean_ctor_get(x_4, 2); -lean_inc(x_253); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_4, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_4, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_4, 2); +lean_inc(x_132); lean_dec(x_4); -x_254 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_253, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_254) == 0) +x_133 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop(x_1, x_2, x_3, x_132, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_133) == 0) { -uint8_t x_255; -x_255 = !lean_is_exclusive(x_254); -if (x_255 == 0) +uint8_t x_134; +x_134 = !lean_is_exclusive(x_133); +if (x_134 == 0) { -lean_object* x_256; lean_object* x_257; -x_256 = lean_ctor_get(x_254, 0); -x_257 = l_Lean_mkProj(x_251, x_252, x_256); -lean_ctor_set(x_254, 0, x_257); -return x_254; +lean_object* x_135; lean_object* x_136; +x_135 = lean_ctor_get(x_133, 0); +x_136 = l_Lean_mkProj(x_130, x_131, x_135); +lean_ctor_set(x_133, 0, x_136); +return x_133; } else { -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_258 = lean_ctor_get(x_254, 0); -x_259 = lean_ctor_get(x_254, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_254); -x_260 = l_Lean_mkProj(x_251, x_252, x_258); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -return x_261; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_137 = lean_ctor_get(x_133, 0); +x_138 = lean_ctor_get(x_133, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_133); +x_139 = l_Lean_mkProj(x_130, x_131, x_137); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +return x_140; } } else { -uint8_t x_262; -lean_dec(x_252); -lean_dec(x_251); -x_262 = !lean_is_exclusive(x_254); -if (x_262 == 0) +uint8_t x_141; +lean_dec(x_131); +lean_dec(x_130); +x_141 = !lean_is_exclusive(x_133); +if (x_141 == 0) { -return x_254; +return x_133; } else { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_254, 0); -x_264 = lean_ctor_get(x_254, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_254); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_133, 0); +x_143 = lean_ctor_get(x_133, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_133); +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; } } } default: { -lean_object* x_266; +lean_object* x_145; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_266 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_1, x_4, x_6, x_7, x_8, x_9, x_10); -return x_266; +x_145 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_1, x_4, x_6, x_7, x_8, x_9, x_10); +return x_145; } } } @@ -11201,6 +11278,16 @@ lean_dec(x_1); return x_13; } } +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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, x_14); +lean_dec(x_8); +lean_dec(x_1); +return x_15; +} +} lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___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: { @@ -11223,13 +11310,13 @@ x_12 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structur return x_12; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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_12; -x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_1); -return x_12; +lean_object* x_14; +x_14 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___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_7); +return x_14; } } lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -11241,6 +11328,15 @@ lean_dec(x_1); return x_12; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__4(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_1); +return x_12; +} +} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -12871,6 +12967,210 @@ return x_77; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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, lean_object* x_12) { _start: { +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Expr_getAppNumArgsAux(x_1, x_13); +x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; +lean_inc(x_14); +x_16 = lean_mk_array(x_14, x_15); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_14, x_17); +lean_dec(x_14); +lean_inc(x_1); +x_19 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6(x_2, x_3, x_4, x_5, x_1, x_1, x_16, x_18, x_7, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("modified matcher:\n"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("could not add below discriminant"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow(x_1, x_2, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_MatcherApp_toExpr(x_2); +x_18 = lean_expr_eqv(x_15, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +uint8_t x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_st_ref_get(x_12, x_16); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = 0; +x_19 = x_38; +x_20 = x_37; +goto block_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_dec(x_33); +lean_inc(x_6); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_6, x_8, x_9, x_10, x_11, x_12, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_unbox(x_41); +lean_dec(x_41); +x_19 = x_43; +x_20 = x_42; +goto block_32; +} +block_32: +{ +if (x_19 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +x_21 = lean_box(0); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__1(x_15, x_3, x_4, x_1, x_5, x_21, x_8, x_9, x_10, x_11, x_12, x_20); +return x_22; +} +else +{ +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_inc(x_15); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_15); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_6, x_27, x_8, x_9, x_10, x_11, x_12, x_20); +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 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__1(x_15, x_3, x_4, x_1, x_5, x_29, x_8, x_9, x_10, x_11, x_12, x_30); +lean_dec(x_29); +return x_31; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_44 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4; +x_45 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__3(x_44, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_12); +lean_dec(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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_14); +if (x_46 == 0) +{ +return x_14; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_14, 0); +x_48 = lean_ctor_get(x_14, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_14); +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; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ lean_object* x_13; lean_object* x_14; x_13 = lean_expr_instantiate1(x_1, x_6); lean_inc(x_11); @@ -12886,7 +13186,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; x_18 = lean_array_push(x_17, x_6); x_19 = 0; x_20 = 1; @@ -12925,7 +13225,7 @@ return x_25; } } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -12943,7 +13243,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; x_18 = lean_array_push(x_17, x_6); x_19 = 0; x_20 = 1; @@ -12986,7 +13286,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; -x_1 = lean_mk_string("modified matcher:\n"); +x_1 = lean_mk_string("matcherApp before adding below transformation:\n"); return x_1; } } @@ -12999,40 +13299,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("could not add below discriminant"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matcherApp before adding below transformation:\n"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(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: { @@ -13092,224 +13358,79 @@ return x_31; } else { -lean_object* x_32; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_dec(x_5); -x_73 = lean_st_ref_get(x_10, x_22); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_74, 3); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_ctor_get_uint8(x_75, sizeof(void*)*1); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -lean_dec(x_73); -x_32 = x_77; -goto block_72; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -x_79 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_80 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_79, x_6, x_7, x_8, x_9, x_10, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_unbox(x_81); -lean_dec(x_81); -if (x_82 == 0) -{ -lean_object* x_83; -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec(x_80); -x_32 = x_83; -goto block_72; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_84 = lean_ctor_get(x_80, 1); -lean_inc(x_84); -lean_dec(x_80); -lean_inc(x_23); -x_85 = l_Lean_Meta_MatcherApp_toExpr(x_23); -x_86 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_86, 0, x_85); -x_87 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6; -x_88 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_90 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_79, x_90, x_6, x_7, x_8, x_9, x_10, x_84); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_32 = x_92; -goto block_72; -} -} -block_72: -{ -lean_object* x_33; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_23); -lean_inc(x_3); -x_33 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow(x_3, x_23, x_6, x_7, x_8, x_9, x_10, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_Meta_MatcherApp_toExpr(x_23); -x_37 = lean_expr_eqv(x_34, x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_47 = lean_st_ref_get(x_10, x_35); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 3); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_48 = lean_st_ref_get(x_10, x_22); +x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); lean_dec(x_49); -if (x_50 == 0) +x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*1); +lean_dec(x_50); +if (x_51 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -x_38 = 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_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 1); lean_inc(x_52); -lean_dec(x_47); -x_53 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_53, x_6, x_7, x_8, x_9, x_10, 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_dec(x_48); +x_53 = 0; +x_33 = x_53; +x_34 = x_52; +goto block_47; +} +else { -lean_object* x_57; -x_57 = lean_ctor_get(x_54, 1); +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_48, 1); +lean_inc(x_54); +lean_dec(x_48); +x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_32, x_6, x_7, x_8, x_9, x_10, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); -lean_dec(x_54); -x_38 = x_57; -goto block_46; +lean_dec(x_55); +x_58 = lean_unbox(x_56); +lean_dec(x_56); +x_33 = x_58; +x_34 = x_57; +goto block_47; +} +block_47: +{ +if (x_33 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2(x_3, x_23, x_1, x_2, x_4, x_32, x_35, x_6, x_7, x_8, x_9, x_10, x_34); +return x_36; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -lean_inc(x_34); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_34); -x_60 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_53, x_63, x_6, x_7, x_8, x_9, x_10, x_58); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_38 = x_65; -goto block_46; -} -} -block_46: -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_39 = lean_unsigned_to_nat(0u); -x_40 = l_Lean_Expr_getAppNumArgsAux(x_34, x_39); -x_41 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2___closed__1; -lean_inc(x_40); -x_42 = lean_mk_array(x_40, x_41); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_sub(x_40, x_43); -lean_dec(x_40); -lean_inc(x_34); -x_45 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6(x_1, x_2, x_3, x_4, x_34, x_34, x_42, x_44, x_6, x_7, x_8, x_9, x_10, x_38); -return x_45; -} -} -else -{ -lean_object* x_66; lean_object* x_67; -lean_dec(x_34); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_66 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4; -x_67 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__3(x_66, x_6, x_7, x_8, x_9, x_10, x_35); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_67; -} -} -else -{ -uint8_t x_68; -lean_dec(x_23); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_68 = !lean_is_exclusive(x_33); -if (x_68 == 0) -{ -return x_33; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_33, 0); -x_70 = lean_ctor_get(x_33, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_33); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} +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_inc(x_23); +x_37 = l_Lean_Meta_MatcherApp_toExpr(x_23); +x_38 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__2; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_32, x_42, x_6, x_7, x_8, x_9, x_10, x_34); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2(x_3, x_23, x_1, x_2, x_4, x_32, x_44, x_6, x_7, x_8, x_9, x_10, x_45); +lean_dec(x_44); +return x_46; } } } @@ -13317,14 +13438,14 @@ return x_71; } case 6: { -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint64_t x_96; lean_object* x_97; -x_93 = lean_ctor_get(x_5, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_5, 1); -lean_inc(x_94); -x_95 = lean_ctor_get(x_5, 2); -lean_inc(x_95); -x_96 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint64_t x_62; lean_object* x_63; +x_59 = lean_ctor_get(x_5, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_5, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_5, 2); +lean_inc(x_61); +x_62 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); @@ -13335,30 +13456,30 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_97 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_94, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_97) == 0) +x_63 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_60, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = (uint8_t)((x_96 << 24) >> 61); -x_101 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__1___boxed), 12, 5); -lean_closure_set(x_101, 0, x_95); -lean_closure_set(x_101, 1, x_1); -lean_closure_set(x_101, 2, x_2); -lean_closure_set(x_101, 3, x_3); -lean_closure_set(x_101, 4, x_4); -x_102 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_93, x_100, x_98, x_101, x_6, x_7, x_8, x_9, x_10, x_99); -return x_102; +lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = (uint8_t)((x_62 << 24) >> 61); +x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3___boxed), 12, 5); +lean_closure_set(x_67, 0, x_61); +lean_closure_set(x_67, 1, x_1); +lean_closure_set(x_67, 2, x_2); +lean_closure_set(x_67, 3, x_3); +lean_closure_set(x_67, 4, x_4); +x_68 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_59, x_66, x_64, x_67, x_6, x_7, x_8, x_9, x_10, x_65); +return x_68; } else { -uint8_t x_103; -lean_dec(x_95); -lean_dec(x_93); +uint8_t x_69; +lean_dec(x_61); +lean_dec(x_59); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -13368,19 +13489,219 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_103 = !lean_is_exclusive(x_97); +x_69 = !lean_is_exclusive(x_63); +if (x_69 == 0) +{ +return x_63; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_63, 0); +x_71 = lean_ctor_get(x_63, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_63); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +case 7: +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_5, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_5, 1); +lean_inc(x_74); +x_75 = lean_ctor_get(x_5, 2); +lean_inc(x_75); +x_76 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); +lean_dec(x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_77 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_74, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = (uint8_t)((x_76 << 24) >> 61); +x_81 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__4___boxed), 12, 5); +lean_closure_set(x_81, 0, x_75); +lean_closure_set(x_81, 1, x_1); +lean_closure_set(x_81, 2, x_2); +lean_closure_set(x_81, 3, x_3); +lean_closure_set(x_81, 4, x_4); +x_82 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_73, x_80, x_78, x_81, x_6, x_7, x_8, x_9, x_10, x_79); +return x_82; +} +else +{ +uint8_t x_83; +lean_dec(x_75); +lean_dec(x_73); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_77); +if (x_83 == 0) +{ +return x_77; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_77, 0); +x_85 = lean_ctor_get(x_77, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_77); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +case 8: +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_5, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_5, 1); +lean_inc(x_88); +x_89 = lean_ctor_get(x_5, 2); +lean_inc(x_89); +x_90 = lean_ctor_get(x_5, 3); +lean_inc(x_90); +lean_dec(x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_91 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_88, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_94 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_89, x_6, x_7, x_8, x_9, x_10, x_93); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3___boxed), 12, 5); +lean_closure_set(x_97, 0, x_90); +lean_closure_set(x_97, 1, x_1); +lean_closure_set(x_97, 2, x_2); +lean_closure_set(x_97, 3, x_3); +lean_closure_set(x_97, 4, x_4); +x_98 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__14___rarg(x_87, x_92, x_95, x_97, x_6, x_7, x_8, x_9, x_10, x_96); +return x_98; +} +else +{ +uint8_t x_99; +lean_dec(x_92); +lean_dec(x_90); +lean_dec(x_87); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_99 = !lean_is_exclusive(x_94); +if (x_99 == 0) +{ +return x_94; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_94, 0); +x_101 = lean_ctor_get(x_94, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_94); +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; +} +} +} +else +{ +uint8_t x_103; +lean_dec(x_90); +lean_dec(x_89); +lean_dec(x_87); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_103 = !lean_is_exclusive(x_91); if (x_103 == 0) { -return x_97; +return x_91; } else { lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_97, 0); -x_105 = lean_ctor_get(x_97, 1); +x_104 = lean_ctor_get(x_91, 0); +x_105 = lean_ctor_get(x_91, 1); lean_inc(x_105); lean_inc(x_104); -lean_dec(x_97); +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); @@ -13388,72 +13709,59 @@ return x_106; } } } -case 7: +case 10: { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint64_t x_110; lean_object* x_111; +lean_object* x_107; lean_object* x_108; lean_object* x_109; x_107 = lean_ctor_get(x_5, 0); lean_inc(x_107); x_108 = lean_ctor_get(x_5, 1); lean_inc(x_108); -x_109 = lean_ctor_get(x_5, 2); -lean_inc(x_109); -x_110 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); lean_dec(x_5); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_111 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_108, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_111) == 0) +x_109 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_108, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +uint8_t x_110; +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_109, 0); +x_112 = l_Lean_mkMData(x_107, x_111); +lean_ctor_set(x_109, 0, x_112); +return x_109; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_113 = lean_ctor_get(x_109, 0); +x_114 = lean_ctor_get(x_109, 1); +lean_inc(x_114); lean_inc(x_113); -lean_dec(x_111); -x_114 = (uint8_t)((x_110 << 24) >> 61); -x_115 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___boxed), 12, 5); -lean_closure_set(x_115, 0, x_109); -lean_closure_set(x_115, 1, x_1); -lean_closure_set(x_115, 2, x_2); -lean_closure_set(x_115, 3, x_3); -lean_closure_set(x_115, 4, x_4); -x_116 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__13___rarg(x_107, x_114, x_112, x_115, x_6, x_7, x_8, x_9, x_10, x_113); +lean_dec(x_109); +x_115 = l_Lean_mkMData(x_107, x_113); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); return x_116; } +} else { uint8_t x_117; -lean_dec(x_109); lean_dec(x_107); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_117 = !lean_is_exclusive(x_111); +x_117 = !lean_is_exclusive(x_109); if (x_117 == 0) { -return x_111; +return x_109; } else { lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_111, 0); -x_119 = lean_ctor_get(x_111, 1); +x_118 = lean_ctor_get(x_109, 0); +x_119 = lean_ctor_get(x_109, 1); lean_inc(x_119); lean_inc(x_118); -lean_dec(x_111); +lean_dec(x_109); x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); @@ -13461,265 +13769,78 @@ return x_120; } } } -case 8: +case 11: { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; x_121 = lean_ctor_get(x_5, 0); lean_inc(x_121); x_122 = lean_ctor_get(x_5, 1); lean_inc(x_122); x_123 = lean_ctor_get(x_5, 2); lean_inc(x_123); -x_124 = lean_ctor_get(x_5, 3); -lean_inc(x_124); lean_dec(x_5); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_125 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_122, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_125) == 0) +x_124 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_123, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_128 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_123, x_6, x_7, x_8, x_9, x_10, x_127); -if (lean_obj_tag(x_128) == 0) +uint8_t x_125; +x_125 = !lean_is_exclusive(x_124); +if (x_125 == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_129 = lean_ctor_get(x_128, 0); +lean_object* x_126; lean_object* x_127; +x_126 = lean_ctor_get(x_124, 0); +x_127 = l_Lean_mkProj(x_121, x_122, x_126); +lean_ctor_set(x_124, 0, x_127); +return x_124; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_128 = lean_ctor_get(x_124, 0); +x_129 = lean_ctor_get(x_124, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__1___boxed), 12, 5); -lean_closure_set(x_131, 0, x_124); -lean_closure_set(x_131, 1, x_1); -lean_closure_set(x_131, 2, x_2); -lean_closure_set(x_131, 3, x_3); -lean_closure_set(x_131, 4, x_4); -x_132 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__14___rarg(x_121, x_126, x_129, x_131, x_6, x_7, x_8, x_9, x_10, x_130); -return x_132; -} -else -{ -uint8_t x_133; -lean_dec(x_126); +lean_inc(x_128); lean_dec(x_124); -lean_dec(x_121); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_133 = !lean_is_exclusive(x_128); -if (x_133 == 0) -{ -return x_128; +x_130 = l_Lean_mkProj(x_121, x_122, x_128); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +return x_131; +} } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_128, 0); -x_135 = lean_ctor_get(x_128, 1); -lean_inc(x_135); +uint8_t x_132; +lean_dec(x_122); +lean_dec(x_121); +x_132 = !lean_is_exclusive(x_124); +if (x_132 == 0) +{ +return x_124; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_124, 0); +x_134 = lean_ctor_get(x_124, 1); lean_inc(x_134); -lean_dec(x_128); -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; -} -} -} -else -{ -uint8_t x_137; +lean_inc(x_133); lean_dec(x_124); -lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_137 = !lean_is_exclusive(x_125); -if (x_137 == 0) -{ -return x_125; -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_125, 0); -x_139 = lean_ctor_get(x_125, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_125); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; -} -} -} -case 10: -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_5, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_5, 1); -lean_inc(x_142); -lean_dec(x_5); -x_143 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_142, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_143) == 0) -{ -uint8_t x_144; -x_144 = !lean_is_exclusive(x_143); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_143, 0); -x_146 = l_Lean_mkMData(x_141, x_145); -lean_ctor_set(x_143, 0, x_146); -return x_143; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_143, 0); -x_148 = lean_ctor_get(x_143, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_143); -x_149 = l_Lean_mkMData(x_141, x_147); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -return x_150; -} -} -else -{ -uint8_t x_151; -lean_dec(x_141); -x_151 = !lean_is_exclusive(x_143); -if (x_151 == 0) -{ -return x_143; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_143, 0); -x_153 = lean_ctor_get(x_143, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_143); -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; -} -} -} -case 11: -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_5, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_5, 1); -lean_inc(x_156); -x_157 = lean_ctor_get(x_5, 2); -lean_inc(x_157); -lean_dec(x_5); -x_158 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop(x_1, x_2, x_3, x_4, x_157, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_158) == 0) -{ -uint8_t x_159; -x_159 = !lean_is_exclusive(x_158); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; -x_160 = lean_ctor_get(x_158, 0); -x_161 = l_Lean_mkProj(x_155, x_156, x_160); -lean_ctor_set(x_158, 0, x_161); -return x_158; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_162 = lean_ctor_get(x_158, 0); -x_163 = lean_ctor_get(x_158, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_158); -x_164 = l_Lean_mkProj(x_155, x_156, x_162); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -return x_165; -} -} -else -{ -uint8_t x_166; -lean_dec(x_156); -lean_dec(x_155); -x_166 = !lean_is_exclusive(x_158); -if (x_166 == 0) -{ -return x_158; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_158, 0); -x_168 = lean_ctor_get(x_158, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_158); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } } default: { -lean_object* x_170; +lean_object* x_136; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_170 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_1, x_5, x_7, x_8, x_9, x_10, x_11); -return x_170; +x_136 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_1, x_5, x_7, x_8, x_9, x_10, x_11); +return x_136; } } } @@ -13765,15 +13886,33 @@ _start: { lean_object* x_13; x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +return x_13; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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_7); +return x_14; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_13; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___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 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_13; } @@ -14025,7 +14164,126 @@ return x_46; } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(0u); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_17, x_2, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; +lean_inc(x_3); +x_22 = lean_array_push(x_21, x_3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_23 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_22, x_17, x_19, x_12, x_13, x_14, x_15, x_20); +lean_dec(x_22); +if (lean_obj_tag(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_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_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___boxed), 15, 7); +lean_closure_set(x_26, 0, x_4); +lean_closure_set(x_26, 1, x_5); +lean_closure_set(x_26, 2, x_6); +lean_closure_set(x_26, 3, x_3); +lean_closure_set(x_26, 4, x_1); +lean_closure_set(x_26, 5, x_7); +lean_closure_set(x_26, 6, x_8); +x_27 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_24, x_9, x_26, x_11, x_12, x_13, x_14, x_15, x_25); +return x_27; +} +else +{ +uint8_t x_28; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_18); +if (x_32 == 0) +{ +return x_18; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_18, 0); +x_34 = lean_ctor_get(x_18, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_18); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -14033,16 +14291,16 @@ x_1 = lean_mk_string("FType: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -14056,197 +14314,89 @@ lean_inc(x_13); x_21 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; 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_44 = lean_st_ref_get(x_16, x_23); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_45, 3); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*1); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -lean_dec(x_9); -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_24 = x_48; -goto block_43; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_dec(x_44); -lean_inc(x_9); -x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_9, x_12, x_13, x_14, x_15, x_16, x_49); -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) -{ -lean_object* x_53; -lean_dec(x_9); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_24 = x_53; -goto block_43; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -lean_inc(x_22); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_22); -x_56 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_9, x_59, x_12, x_13, x_14, x_15, x_16, x_54); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_24 = x_61; -goto block_43; -} -} -block_43: -{ -lean_object* x_25; -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_25 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_19, x_22, x_13, x_14, x_15, x_16, x_24); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_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_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; -lean_inc(x_2); -x_29 = lean_array_push(x_28, x_2); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_30 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_29, x_19, x_26, x_13, x_14, x_15, x_16, x_27); -lean_dec(x_29); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___boxed), 15, 7); -lean_closure_set(x_33, 0, x_3); -lean_closure_set(x_33, 1, x_4); -lean_closure_set(x_33, 2, x_5); -lean_closure_set(x_33, 3, x_2); -lean_closure_set(x_33, 4, x_1); -lean_closure_set(x_33, 5, x_6); -lean_closure_set(x_33, 6, x_7); -x_34 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_31, x_8, x_33, x_12, x_13, x_14, x_15, x_16, x_32); -return x_34; -} -else -{ -uint8_t x_35; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(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); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_30); -if (x_35 == 0) -{ -return x_30; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(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); -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_25); -if (x_39 == 0) -{ -return x_25; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_25, 0); -x_41 = lean_ctor_get(x_25, 1); -lean_inc(x_41); +x_38 = lean_st_ref_get(x_16, x_23); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_39, 3); lean_inc(x_40); -lean_dec(x_25); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_dec(x_39); +x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_43 = 0; +x_24 = x_43; +x_25 = x_42; +goto block_37; } +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_dec(x_38); +lean_inc(x_9); +x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_9, x_12, x_13, x_14, x_15, x_16, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +x_24 = x_48; +x_25 = x_47; +goto block_37; +} +block_37: +{ +if (x_24 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_9); +x_26 = lean_box(0); +x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_12, x_13, x_14, x_15, x_16, x_25); +return x_27; +} +else +{ +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_inc(x_22); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_22); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_9, x_32, x_12, x_13, x_14, x_15, x_16, x_25); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34, x_12, x_13, x_14, x_15, x_16, x_35); +lean_dec(x_34); +return x_36; } } } else { -uint8_t x_62; +uint8_t x_49; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -14261,28 +14411,47 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_62 = !lean_is_exclusive(x_21); -if (x_62 == 0) +x_49 = !lean_is_exclusive(x_21); +if (x_49 == 0) { return x_21; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_21, 0); -x_64 = lean_ctor_get(x_21, 1); -lean_inc(x_64); -lean_inc(x_63); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_21, 0); +x_51 = lean_ctor_get(x_21, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_21); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___boxed), 17, 9); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_5); +lean_closure_set(x_18, 5, x_6); +lean_closure_set(x_18, 6, x_7); +lean_closure_set(x_18, 7, x_17); +lean_closure_set(x_18, 8, x_8); +x_19 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_9, x_17, x_18, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -14290,16 +14459,95 @@ x_1 = lean_mk_string("brecOnType "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_st_ref_get(x_15, x_16); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_17 = x_36; +x_18 = x_35; +goto block_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +lean_inc(x_8); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_8, x_11, x_12, x_13, x_14, x_15, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_17 = x_41; +x_18 = x_40; +goto block_30; +} +block_30: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19, x_11, x_12, x_13, x_14, x_15, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_9); +x_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_9); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_8); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_8, x_25, x_11, x_12, x_13, x_14, x_15, x_18); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_27, x_11, x_12, x_13, x_14, x_15, x_28); +lean_dec(x_27); +return x_29; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -14307,16 +14555,235 @@ x_1 = lean_mk_string("brecOn "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t 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) { +_start: +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_1, 6); +lean_inc(x_18); +if (x_9 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_63 = lean_ctor_get(x_1, 4); +lean_inc(x_63); +x_64 = l_Lean_brecOnSuffix; +x_65 = lean_name_mk_string(x_63, x_64); +x_66 = lean_ctor_get(x_1, 5); +lean_inc(x_66); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_10); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_mkConst(x_65, x_67); +x_19 = x_68; +goto block_62; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_10); +x_69 = lean_ctor_get(x_1, 4); +lean_inc(x_69); +x_70 = l_Lean_binductionOnSuffix; +x_71 = lean_name_mk_string(x_69, x_70); +x_72 = lean_ctor_get(x_1, 5); +lean_inc(x_72); +x_73 = l_Lean_mkConst(x_71, x_72); +x_19 = x_73; +goto block_62; +} +block_62: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = l_Lean_mkAppN(x_19, x_18); +lean_dec(x_18); +x_21 = l_Lean_mkApp(x_20, x_2); +x_22 = l_Lean_mkAppN(x_21, x_3); +lean_inc(x_4); +x_23 = l_Lean_mkApp(x_22, x_4); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_23); +x_24 = l_Lean_Meta_check(x_23, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_23); +x_26 = l_Lean_Meta_inferType(x_23, x_13, x_14, x_15, x_16, x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_43 = lean_st_ref_get(x_16, x_28); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_29 = x_48; +x_30 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +lean_inc(x_8); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_8, x_12, x_13, x_14, x_15, x_16, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_29 = x_53; +x_30 = x_52; +goto block_42; +} +block_42: +{ +if (x_29 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5(x_3, x_4, x_5, x_1, x_6, x_7, x_23, x_8, x_27, x_31, x_12, x_13, x_14, x_15, x_16, x_30); +return x_32; +} +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; lean_object* x_40; lean_object* x_41; +lean_inc(x_23); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_23); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_inc(x_8); +x_38 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_8, x_37, x_12, x_13, x_14, x_15, x_16, x_30); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5(x_3, x_4, x_5, x_1, x_6, x_7, x_23, x_8, x_27, x_39, x_12, x_13, x_14, x_15, x_16, x_40); +lean_dec(x_39); +return x_41; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_1); +x_54 = !lean_is_exclusive(x_26); +if (x_54 == 0) +{ +return x_26; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_26, 0); +x_56 = lean_ctor_get(x_26, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_26); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_1); +x_58 = !lean_is_exclusive(x_24); +if (x_58 == 0) +{ +return x_24; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_24, 0); +x_60 = lean_ctor_get(x_24, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_24); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -14324,16 +14791,16 @@ x_1 = lean_mk_string("brecOn motive: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t 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* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; @@ -14348,214 +14815,267 @@ lean_inc(x_12); x_21 = l_Lean_Meta_mkLambdaFVars(x_18, x_3, x_19, x_20, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; 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_104 = lean_st_ref_get(x_15, x_23); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_105, 3); -lean_inc(x_106); -lean_dec(x_105); -x_107 = lean_ctor_get_uint8(x_106, sizeof(void*)*1); -lean_dec(x_106); -if (x_107 == 0) +x_38 = lean_st_ref_get(x_15, x_23); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_39, 3); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); +lean_dec(x_40); +if (x_41 == 0) { -lean_object* x_108; -x_108 = lean_ctor_get(x_104, 1); -lean_inc(x_108); -lean_dec(x_104); -x_24 = x_108; -goto block_103; +lean_object* x_42; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_24 = x_19; +x_25 = x_42; +goto block_37; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); -lean_dec(x_104); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_38, 1); +lean_inc(x_43); +lean_dec(x_38); lean_inc(x_7); -x_110 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_7, x_11, x_12, x_13, x_14, x_15, x_109); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_unbox(x_111); -lean_dec(x_111); -if (x_112 == 0) +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_7, x_11, x_12, x_13, x_14, x_15, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_24 = x_47; +x_25 = x_46; +goto block_37; +} +block_37: { -lean_object* x_113; -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); -lean_dec(x_110); -x_24 = x_113; -goto block_103; +if (x_24 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6(x_1, x_22, x_17, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_11, x_12, x_13, x_14, x_15, x_25); +return x_27; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); +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_inc(x_22); -x_115 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_115, 0, x_22); -x_116 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6; -x_117 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_119 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_22); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); lean_inc(x_7); -x_120 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_7, x_119, x_11, x_12, x_13, x_14, x_15, x_114); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_24 = x_121; -goto block_103; -} -} -block_103: -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_1, 6); -lean_inc(x_25); -if (x_8 == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_92 = lean_ctor_get(x_1, 4); -lean_inc(x_92); -x_93 = l_Lean_brecOnSuffix; -x_94 = lean_name_mk_string(x_92, x_93); -x_95 = lean_ctor_get(x_1, 5); -lean_inc(x_95); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_9); -lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_mkConst(x_94, x_96); -x_26 = x_97; -goto block_91; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_9); -x_98 = lean_ctor_get(x_1, 4); -lean_inc(x_98); -x_99 = l_Lean_binductionOnSuffix; -x_100 = lean_name_mk_string(x_98, x_99); -x_101 = lean_ctor_get(x_1, 5); -lean_inc(x_101); -x_102 = l_Lean_mkConst(x_100, x_101); -x_26 = x_102; -goto block_91; -} -block_91: -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = l_Lean_mkAppN(x_26, x_25); -lean_dec(x_25); -x_28 = l_Lean_mkApp(x_27, x_22); -x_29 = l_Lean_mkAppN(x_28, x_17); -lean_inc(x_2); -x_30 = l_Lean_mkApp(x_29, x_2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_30); -x_31 = l_Lean_Meta_check(x_30, x_12, x_13, x_14, x_15, x_24); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_30); -x_33 = l_Lean_Meta_inferType(x_30, x_12, x_13, x_14, x_15, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_33 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_7, x_32, x_11, x_12, x_13, x_14, x_15, x_25); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_65 = lean_st_ref_get(x_15, x_35); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_66, 3); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_ctor_get_uint8(x_67, sizeof(void*)*1); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_dec(x_65); -x_36 = x_69; -goto block_64; +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6(x_1, x_22, x_17, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_34, x_11, x_12, x_13, x_14, x_15, x_35); +lean_dec(x_34); +return x_36; +} +} } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_dec(x_65); -lean_inc(x_7); -x_71 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_7, x_11, x_12, x_13, x_14, x_15, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_unbox(x_72); -lean_dec(x_72); -if (x_73 == 0) +uint8_t x_48; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_21); +if (x_48 == 0) { -lean_object* x_74; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_36 = x_74; -goto block_64; +return x_21; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_75 = lean_ctor_get(x_71, 1); -lean_inc(x_75); -lean_dec(x_71); -lean_inc(x_30); -x_76 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_76, 0, x_30); -x_77 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -lean_inc(x_7); -x_81 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_7, x_80, x_11, x_12, x_13, x_14, x_15, x_75); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_36 = x_82; -goto block_64; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_21, 0); +x_50 = lean_ctor_get(x_21, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_21); +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; } } -block_64: +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = lean_st_ref_get(x_15, x_36); +uint8_t x_16; uint8_t x_17; +x_16 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +if (x_16 == 0) +{ +uint8_t x_34; +x_34 = 0; +x_17 = x_34; +goto block_33; +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_levelZero; +x_36 = lean_level_eq(x_8, x_35); +x_17 = x_36; +goto block_33; +} +block_33: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_8, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_levelZero; +x_21 = lean_level_eq(x_8, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = l_Lean_Meta_decLevel(x_8, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_23, x_25, x_10, x_11, x_12, x_13, x_14, x_24); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +return x_22; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_8, x_31, x_10, x_11, x_12, x_13, x_14, x_15); +return x_32; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("brecOn univ: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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; uint8_t x_16; lean_object* x_17; +x_15 = 0; +x_16 = 1; +lean_inc(x_10); +lean_inc(x_1); +x_17 = l_Lean_Meta_mkForallFVars(x_1, x_2, x_15, x_16, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_18); +x_20 = l_Lean_Meta_getLevel(x_18, x_10, x_11, x_12, x_13, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_37 = lean_st_ref_get(x_13, x_22); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_38, 3); @@ -14565,202 +15085,135 @@ x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); lean_dec(x_39); if (x_40 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_object* x_41; x_41 = lean_ctor_get(x_37, 1); lean_inc(x_41); lean_dec(x_37); -x_42 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; -x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed), 17, 9); -lean_closure_set(x_43, 0, x_17); -lean_closure_set(x_43, 1, x_2); -lean_closure_set(x_43, 2, x_4); -lean_closure_set(x_43, 3, x_1); -lean_closure_set(x_43, 4, x_5); -lean_closure_set(x_43, 5, x_6); -lean_closure_set(x_43, 6, x_30); -lean_closure_set(x_43, 7, x_42); -lean_closure_set(x_43, 8, x_7); -x_44 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_34, x_42, x_43, x_11, x_12, x_13, x_14, x_15, x_41); -return x_44; +x_23 = x_15; +x_24 = x_41; +goto block_36; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); lean_dec(x_37); lean_inc(x_7); -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_7, x_11, x_12, x_13, x_14, x_15, x_45); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -if (x_48 == 0) +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_7, x_9, x_10, x_11, x_12, x_13, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_23 = x_46; +x_24 = x_45; +goto block_36; +} +block_36: { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_50 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; -x_51 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed), 17, 9); -lean_closure_set(x_51, 0, x_17); -lean_closure_set(x_51, 1, x_2); -lean_closure_set(x_51, 2, x_4); -lean_closure_set(x_51, 3, x_1); -lean_closure_set(x_51, 4, x_5); -lean_closure_set(x_51, 5, x_6); -lean_closure_set(x_51, 6, x_30); -lean_closure_set(x_51, 7, x_50); -lean_closure_set(x_51, 8, x_7); -x_52 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_34, x_50, x_51, x_11, x_12, x_13, x_14, x_15, x_49); -return x_52; +if (x_23 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8(x_3, x_4, x_18, x_5, x_6, x_1, x_7, x_21, x_25, x_9, x_10, x_11, x_12, x_13, x_24); +return x_26; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_53 = lean_ctor_get(x_46, 1); -lean_inc(x_53); -lean_dec(x_46); -lean_inc(x_34); -x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_34); -x_55 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); +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_inc(x_21); +x_27 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); lean_inc(x_7); -x_59 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_7, x_58, x_11, x_12, x_13, x_14, x_15, x_53); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; -x_62 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed), 17, 9); -lean_closure_set(x_62, 0, x_17); -lean_closure_set(x_62, 1, x_2); -lean_closure_set(x_62, 2, x_4); -lean_closure_set(x_62, 3, x_1); -lean_closure_set(x_62, 4, x_5); -lean_closure_set(x_62, 5, x_6); -lean_closure_set(x_62, 6, x_30); -lean_closure_set(x_62, 7, x_61); -lean_closure_set(x_62, 8, x_7); -x_63 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_34, x_61, x_62, x_11, x_12, x_13, x_14, x_15, x_60); -return x_63; -} -} -} -} -else -{ -uint8_t x_83; -lean_dec(x_30); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_83 = !lean_is_exclusive(x_33); -if (x_83 == 0) -{ -return x_33; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_33, 0); -x_85 = lean_ctor_get(x_33, 1); -lean_inc(x_85); -lean_inc(x_84); +x_32 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_7, x_31, x_9, x_10, x_11, x_12, x_13, x_24); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8(x_3, x_4, x_18, x_5, x_6, x_1, x_7, x_21, x_33, x_9, x_10, x_11, x_12, x_13, x_34); lean_dec(x_33); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +return x_35; } } } else { -uint8_t x_87; -lean_dec(x_30); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_87 = !lean_is_exclusive(x_31); -if (x_87 == 0) -{ -return x_31; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_31, 0); -x_89 = lean_ctor_get(x_31, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_31); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -} -} -else -{ -uint8_t x_122; -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); +uint8_t x_47; +lean_dec(x_18); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -x_122 = !lean_is_exclusive(x_21); -if (x_122 == 0) +x_47 = !lean_is_exclusive(x_20); +if (x_47 == 0) { -return x_21; +return x_20; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_21, 0); -x_124 = lean_ctor_get(x_21, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_21); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_20, 0); +x_49 = lean_ctor_get(x_20, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_20); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_51 = !lean_is_exclusive(x_17); +if (x_51 == 0) +{ +return x_17; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_17, 0); +x_53 = lean_ctor_get(x_17, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_17); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } @@ -14769,7 +15222,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; -x_1 = lean_mk_string("brecOn univ: "); +x_1 = lean_mk_string("fixedParams: "); return x_1; } } @@ -14786,7 +15239,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; -x_1 = lean_mk_string("fixedParams: "); +x_1 = lean_mk_string(", otherArgs: "); return x_1; } } @@ -14799,23 +15252,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", otherArgs: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn(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: { @@ -14828,7 +15264,7 @@ lean_inc(x_3); x_10 = l_Lean_Meta_inferType(x_3, 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; 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; lean_object* x_21; lean_object* x_22; +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; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -14845,230 +15281,136 @@ lean_dec(x_15); x_18 = lean_array_get_size(x_14); x_19 = lean_unsigned_to_nat(0u); x_20 = lean_nat_dec_lt(x_19, x_18); -x_21 = lean_st_ref_get(x_8, x_12); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_22 = lean_st_ref_get(x_8, x_12); if (x_20 == 0) { -lean_object* x_117; +lean_object* x_58; lean_dec(x_18); lean_dec(x_14); -x_117 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_22 = x_117; -goto block_116; +x_58 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_23 = x_58; +goto block_57; } else { -uint8_t x_118; -x_118 = lean_nat_dec_le(x_18, x_18); -if (x_118 == 0) +uint8_t x_59; +x_59 = lean_nat_dec_le(x_18, x_18); +if (x_59 == 0) { -lean_object* x_119; +lean_object* x_60; lean_dec(x_18); lean_dec(x_14); -x_119 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_22 = x_119; -goto block_116; +x_60 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_23 = x_60; +goto block_57; } else { -size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; -x_120 = 0; -x_121 = lean_usize_of_nat(x_18); +size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; +x_61 = 0; +x_62 = lean_usize_of_nat(x_18); lean_dec(x_18); -x_122 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_123 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__2(x_2, x_17, x_14, x_120, x_121, x_122); +x_63 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_64 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__2(x_2, x_17, x_14, x_61, x_62, x_63); lean_dec(x_14); -x_22 = x_123; -goto block_116; +x_23 = x_64; +goto block_57; } } -block_116: +block_57: { -lean_object* x_23; uint8_t x_85; lean_object* x_86; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_105 = lean_ctor_get(x_21, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_105, 3); -lean_inc(x_106); -lean_dec(x_105); -x_107 = lean_ctor_get_uint8(x_106, sizeof(void*)*1); -lean_dec(x_106); -if (x_107 == 0) +uint8_t x_24; lean_object* x_25; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_22, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_21, 1); -lean_inc(x_108); -lean_dec(x_21); -x_109 = 0; -x_85 = x_109; -x_86 = x_108; -goto block_104; +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_22, 1); +lean_inc(x_50); +lean_dec(x_22); +x_51 = 0; +x_24 = x_51; +x_25 = x_50; +goto block_46; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_110 = lean_ctor_get(x_21, 1); -lean_inc(x_110); -lean_dec(x_21); -x_111 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_112 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_111, x_4, x_5, x_6, x_7, x_8, x_110); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_unbox(x_113); -lean_dec(x_113); -x_85 = x_115; -x_86 = x_114; -goto block_104; +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_22, 1); +lean_inc(x_52); +lean_dec(x_22); +x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_21, x_4, x_5, x_6, x_7, x_8, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_unbox(x_54); +lean_dec(x_54); +x_24 = x_56; +x_25 = x_55; +goto block_46; } -block_84: +block_46: { -uint8_t x_24; uint8_t x_25; lean_object* x_26; -x_24 = 0; -x_25 = 1; -lean_inc(x_5); -lean_inc(x_22); -x_26 = l_Lean_Meta_mkForallFVars(x_22, x_13, x_24, x_25, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_26) == 0) +if (x_24 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9(x_23, x_13, x_2, x_17, x_1, x_3, x_21, x_26, x_4, x_5, x_6, x_7, x_8, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_28 = lean_ctor_get(x_2, 0); lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_27); -x_29 = l_Lean_Meta_getLevel(x_27, x_5, x_6, x_7, x_8, x_28); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_57 = lean_st_ref_get(x_8, x_31); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_58, 3); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); -lean_dec(x_59); -if (x_60 == 0) -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_57, 1); -lean_inc(x_61); -lean_dec(x_57); -x_32 = x_61; -goto block_56; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_63, x_4, x_5, x_6, x_7, x_8, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_unbox(x_65); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -lean_dec(x_64); -x_32 = x_67; -goto block_56; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -lean_inc(x_30); -x_69 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_69, 0, x_30); -x_70 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2; -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_63, x_73, x_4, x_5, x_6, x_7, x_8, x_68); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_32 = x_75; -goto block_56; -} -} -block_56: -{ -uint8_t x_33; uint8_t x_34; -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -if (x_33 == 0) -{ -x_34 = x_24; -goto block_53; -} -else -{ -lean_object* x_54; uint8_t x_55; -x_54 = l_Lean_levelZero; -x_55 = lean_level_eq(x_30, x_54); -x_34 = x_55; -goto block_53; -} -block_53: -{ -if (x_33 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_36 = lean_box(0); -x_37 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(x_2, x_17, x_27, x_1, x_3, x_22, x_35, x_34, x_30, x_36, x_4, x_5, x_6, x_7, x_8, x_32); -return x_37; -} -else -{ -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_levelZero; -x_39 = lean_level_eq(x_30, x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = l_Lean_Meta_decLevel(x_30, x_5, x_6, x_7, x_8, x_32); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_44 = lean_box(0); -x_45 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(x_2, x_17, x_27, x_1, x_3, x_22, x_43, x_34, x_41, x_44, x_4, x_5, x_6, x_7, x_8, x_42); +x_29 = lean_array_to_list(lean_box(0), x_28); +x_30 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_29); +x_31 = l_Lean_MessageData_ofList(x_30); +lean_dec(x_30); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_23); +x_36 = lean_array_to_list(lean_box(0), x_23); +x_37 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_36); +x_38 = l_Lean_MessageData_ofList(x_37); +lean_dec(x_37); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_21, x_41, x_4, x_5, x_6, x_7, x_8, x_25); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9(x_23, x_13, x_2, x_17, x_1, x_3, x_21, x_43, x_4, x_5, x_6, x_7, x_8, x_44); +lean_dec(x_43); return x_45; } +} +} +} else { -uint8_t x_46; -lean_dec(x_27); -lean_dec(x_22); -lean_dec(x_17); +uint8_t x_65; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15077,180 +15419,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_40); -if (x_46 == 0) -{ -return x_40; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_40, 0); -x_48 = lean_ctor_get(x_40, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_40); -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; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_51 = lean_box(0); -x_52 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(x_2, x_17, x_27, x_1, x_3, x_22, x_50, x_34, x_30, x_51, x_4, x_5, x_6, x_7, x_8, x_32); -return x_52; -} -} -} -} -} -else -{ -uint8_t x_76; -lean_dec(x_27); -lean_dec(x_22); -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_76 = !lean_is_exclusive(x_29); -if (x_76 == 0) -{ -return x_29; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_29, 0); -x_78 = lean_ctor_get(x_29, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_29); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -uint8_t x_80; -lean_dec(x_22); -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_80 = !lean_is_exclusive(x_26); -if (x_80 == 0) -{ -return x_26; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_26, 0); -x_82 = lean_ctor_get(x_26, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_26); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -} -} -block_104: -{ -if (x_85 == 0) -{ -x_23 = x_86; -goto block_84; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_87 = lean_ctor_get(x_2, 0); -lean_inc(x_87); -x_88 = lean_array_to_list(lean_box(0), x_87); -x_89 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_88); -x_90 = l_Lean_MessageData_ofList(x_89); -lean_dec(x_89); -x_91 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4; -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6; -x_94 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -lean_inc(x_22); -x_95 = lean_array_to_list(lean_box(0), x_22); -x_96 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_95); -x_97 = l_Lean_MessageData_ofList(x_96); -lean_dec(x_96); -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_94); -lean_ctor_set(x_98, 1, x_97); -x_99 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_102 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_101, x_100, x_4, x_5, x_6, x_7, x_8, x_86); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_23 = x_103; -goto block_84; -} -} -} -} -else -{ -uint8_t x_124; -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_124 = !lean_is_exclusive(x_10); -if (x_124 == 0) +x_65 = !lean_is_exclusive(x_10); +if (x_65 == 0) { return x_10; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_10, 0); -x_126 = lean_ctor_get(x_10, 1); -lean_inc(x_126); -lean_inc(x_125); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_10, 0); +x_67 = lean_ctor_get(x_10, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_10); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } @@ -15281,7 +15466,16 @@ lean_dec(x_6); return x_16; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___boxed(lean_object** _args) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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, x_14, x_15, x_16); +lean_dec(x_10); +return x_17; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -15302,23 +15496,87 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___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, x_14, x_15, x_16, x_17); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_11); lean_dec(x_10); return x_18; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_10); +return x_17; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_10); +return x_17; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_9); +lean_dec(x_9); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_11); +return x_19; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_8); lean_dec(x_8); -x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_10); return x_18; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_9); +return x_16; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_8); +return x_15; +} +} lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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) { _start: { @@ -15364,7 +15622,60 @@ return x_6; } } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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; +x_11 = lean_unsigned_to_nat(0u); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_11, x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; +x_16 = lean_array_push(x_15, x_3); +x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_16, x_11, x_13, x_6, x_7, x_8, x_9, x_14); +lean_dec(x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_18 = !lean_is_exclusive(x_12); +if (x_18 == 0) +{ +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -15378,159 +15689,117 @@ lean_inc(x_7); x_15 = l_Lean_Meta_inferType(x_14, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 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_30 = lean_st_ref_get(x_10, x_17); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); -lean_dec(x_32); -if (x_33 == 0) -{ -lean_object* x_34; -lean_dec(x_3); -x_34 = lean_ctor_get(x_30, 1); +x_32 = lean_st_ref_get(x_10, x_17); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 3); lean_inc(x_34); -lean_dec(x_30); -x_18 = x_34; -goto block_29; +lean_dec(x_33); +x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = 0; +x_18 = x_37; +x_19 = x_36; +goto block_31; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); lean_inc(x_3); -x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_3, x_6, x_7, x_8, x_9, x_10, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_unbox(x_37); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_object* x_39; -lean_dec(x_3); -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_dec(x_36); -x_18 = x_39; -goto block_29; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_40 = lean_ctor_get(x_36, 1); +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_3, x_6, x_7, x_8, x_9, x_10, x_38); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_36); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_unbox(x_40); +lean_dec(x_40); +x_18 = x_42; +x_19 = x_41; +goto block_31; +} +block_31: +{ +if (x_18 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_3); +x_20 = lean_box(0); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1(x_1, x_16, x_2, x_20, x_6, x_7, x_8, x_9, x_10, x_19); +return x_21; +} +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_inc(x_16); -x_41 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_41, 0, x_16); -x_42 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_3, x_45, x_6, x_7, x_8, x_9, x_10, x_40); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_18 = x_47; -goto block_29; -} -} -block_29: -{ -lean_object* x_19; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_19 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_1, x_13, x_16, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; -x_23 = lean_array_push(x_22, x_2); -x_24 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_23, x_13, x_20, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_23); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -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; -} +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_16); +x_23 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_3, x_26, x_6, x_7, x_8, x_9, x_10, x_19); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1(x_1, x_16, x_2, x_28, x_6, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_28); +return x_30; } } } else { -uint8_t x_48; +uint8_t x_43; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_15); -if (x_48 == 0) +x_43 = !lean_is_exclusive(x_15); +if (x_43 == 0) { return x_15; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_15, 0); -x_50 = lean_ctor_get(x_15, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_15, 0); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); +lean_inc(x_44); lean_dec(x_15); -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; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { 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; @@ -15653,6 +15922,531 @@ return x_51; } } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* 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) { +_start: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_inc(x_2); +lean_inc(x_1); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed), 11, 3); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +x_19 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_20 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_4, x_19, x_18, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_21); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3___boxed), 17, 9); +lean_closure_set(x_23, 0, x_21); +lean_closure_set(x_23, 1, x_5); +lean_closure_set(x_23, 2, x_6); +lean_closure_set(x_23, 3, x_7); +lean_closure_set(x_23, 4, x_8); +lean_closure_set(x_23, 5, x_2); +lean_closure_set(x_23, 6, x_1); +lean_closure_set(x_23, 7, x_9); +lean_closure_set(x_23, 8, x_10); +x_24 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_21, x_19, x_23, x_12, x_13, x_14, x_15, x_16, x_22); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +return x_20; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +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; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; lean_object* x_19; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_st_ref_get(x_16, x_17); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = 0; +x_18 = x_37; +x_19 = x_36; +goto block_31; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); +lean_inc(x_3); +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_3, x_12, x_13, x_14, x_15, x_16, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_unbox(x_40); +lean_dec(x_40); +x_18 = x_42; +x_19 = x_41; +goto block_31; +} +block_31: +{ +if (x_18 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20, x_12, x_13, x_14, x_15, x_16, x_19); +return x_21; +} +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_inc(x_4); +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_4); +x_23 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +lean_inc(x_3); +x_27 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_3, x_26, x_12, x_13, x_14, x_15, x_16, x_19); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28, x_12, x_13, x_14, x_15, x_16, x_29); +lean_dec(x_28); +return x_30; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +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; +x_16 = lean_ctor_get(x_1, 4); +lean_inc(x_16); +x_17 = l_Lean_brecOnSuffix; +x_18 = lean_name_mk_string(x_16, x_17); +x_19 = lean_ctor_get(x_1, 5); +lean_inc(x_19); +x_20 = l_Lean_mkConst(x_18, x_19); +x_21 = lean_ctor_get(x_1, 6); +lean_inc(x_21); +x_22 = l_Lean_mkAppN(x_20, x_21); +lean_dec(x_21); +lean_inc(x_2); +x_23 = l_Lean_mkApp(x_22, x_2); +x_24 = l_Lean_mkAppN(x_23, x_3); +lean_inc(x_4); +x_25 = l_Lean_mkApp(x_24, x_4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_25); +x_26 = l_Lean_Meta_check(x_25, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_25); +x_28 = l_Lean_Meta_inferType(x_25, x_11, x_12, x_13, x_14, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +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_45 = lean_st_ref_get(x_14, x_30); +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_31 = x_50; +x_32 = 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_5); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_5, x_10, x_11, x_12, x_13, x_14, 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_31 = x_55; +x_32 = x_54; +goto block_44; +} +block_44: +{ +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5(x_3, x_4, x_5, x_29, x_6, x_1, x_2, x_7, x_8, x_25, x_33, x_10, x_11, x_12, x_13, x_14, x_32); +return x_34; +} +else +{ +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_inc(x_25); +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_25); +x_36 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_inc(x_5); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_5, x_39, x_10, x_11, x_12, x_13, x_14, x_32); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5(x_3, x_4, x_5, x_29, x_6, x_1, x_2, x_7, x_8, x_25, x_41, x_10, x_11, x_12, x_13, x_14, x_42); +lean_dec(x_41); +return x_43; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_56 = !lean_is_exclusive(x_28); +if (x_56 == 0) +{ +return x_28; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_28, 0); +x_58 = lean_ctor_get(x_28, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_28); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_60 = !lean_is_exclusive(x_26); +if (x_60 == 0) +{ +return x_26; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_26, 0); +x_62 = lean_ctor_get(x_26, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_26); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = 0; +x_16 = 1; +lean_inc(x_10); +lean_inc(x_1); +x_17 = l_Lean_Meta_mkForallFVars(x_1, x_2, x_15, x_16, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_17) == 0) +{ +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_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_3, 7); +lean_inc(x_20); +lean_inc(x_4); +lean_inc(x_20); +x_21 = lean_array_push(x_20, x_4); +lean_inc(x_10); +x_22 = l_Lean_Meta_mkLambdaFVars(x_21, x_18, x_15, x_16, x_10, x_11, x_12, x_13, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_39 = lean_st_ref_get(x_13, x_24); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_25 = x_15; +x_26 = x_43; +goto block_38; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_39, 1); +lean_inc(x_44); +lean_dec(x_39); +lean_inc(x_5); +x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_5, x_9, x_10, x_11, x_12, x_13, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +x_25 = x_48; +x_26 = x_47; +goto block_38; +} +block_38: +{ +if (x_25 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +x_28 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6(x_3, x_23, x_20, x_4, x_5, x_6, x_7, x_1, x_27, x_9, x_10, x_11, x_12, x_13, x_26); +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_object* x_37; +lean_inc(x_23); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_23); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2; +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___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +lean_inc(x_5); +x_34 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_5, x_33, x_9, x_10, x_11, x_12, x_13, x_26); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6(x_3, x_23, x_20, x_4, x_5, x_6, x_7, x_1, x_35, x_9, x_10, x_11, x_12, x_13, x_36); +lean_dec(x_35); +return x_37; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_20); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_22); +if (x_49 == 0) +{ +return x_22; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_22, 0); +x_51 = lean_ctor_get(x_22, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_22); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_17); +if (x_53 == 0) +{ +return x_17; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_17, 0); +x_55 = lean_ctor_get(x_17, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_17); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn(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: { @@ -15665,7 +16459,7 @@ lean_inc(x_3); x_10 = l_Lean_Meta_inferType(x_3, 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; 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; lean_object* x_21; lean_object* x_22; +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; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -15682,506 +16476,136 @@ lean_dec(x_15); x_18 = lean_array_get_size(x_14); x_19 = lean_unsigned_to_nat(0u); x_20 = lean_nat_dec_lt(x_19, x_18); -x_21 = lean_st_ref_get(x_8, x_12); +x_21 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_22 = lean_st_ref_get(x_8, x_12); if (x_20 == 0) { -lean_object* x_173; +lean_object* x_58; lean_dec(x_18); lean_dec(x_14); -x_173 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_22 = x_173; -goto block_172; +x_58 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_23 = x_58; +goto block_57; } else { -uint8_t x_174; -x_174 = lean_nat_dec_le(x_18, x_18); -if (x_174 == 0) +uint8_t x_59; +x_59 = lean_nat_dec_le(x_18, x_18); +if (x_59 == 0) { -lean_object* x_175; +lean_object* x_60; lean_dec(x_18); lean_dec(x_14); -x_175 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_22 = x_175; -goto block_172; +x_60 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_23 = x_60; +goto block_57; } else { -size_t x_176; size_t x_177; lean_object* x_178; lean_object* x_179; -x_176 = 0; -x_177 = lean_usize_of_nat(x_18); +size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; +x_61 = 0; +x_62 = lean_usize_of_nat(x_18); lean_dec(x_18); -x_178 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; -x_179 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___spec__1(x_2, x_17, x_14, x_176, x_177, x_178); +x_63 = l_Lean_Elab_Structural_State_addMatchers___default___closed__1; +x_64 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___spec__1(x_2, x_17, x_14, x_61, x_62, x_63); lean_dec(x_14); -x_22 = x_179; -goto block_172; +x_23 = x_64; +goto block_57; } } -block_172: +block_57: { -lean_object* x_23; uint8_t x_141; lean_object* x_142; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_161 = lean_ctor_get(x_21, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_161, 3); -lean_inc(x_162); -lean_dec(x_161); -x_163 = lean_ctor_get_uint8(x_162, sizeof(void*)*1); -lean_dec(x_162); -if (x_163 == 0) +uint8_t x_24; lean_object* x_25; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_22, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_164; uint8_t x_165; -x_164 = lean_ctor_get(x_21, 1); -lean_inc(x_164); -lean_dec(x_21); -x_165 = 0; -x_141 = x_165; -x_142 = x_164; -goto block_160; +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_22, 1); +lean_inc(x_50); +lean_dec(x_22); +x_51 = 0; +x_24 = x_51; +x_25 = x_50; +goto block_46; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; -x_166 = lean_ctor_get(x_21, 1); -lean_inc(x_166); -lean_dec(x_21); -x_167 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_168 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_167, x_4, x_5, x_6, x_7, x_8, x_166); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_unbox(x_169); -lean_dec(x_169); -x_141 = x_171; -x_142 = x_170; -goto block_160; +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_22, 1); +lean_inc(x_52); +lean_dec(x_22); +x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_21, x_4, x_5, x_6, x_7, x_8, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_unbox(x_54); +lean_dec(x_54); +x_24 = x_56; +x_25 = x_55; +goto block_46; } -block_140: +block_46: { -uint8_t x_24; uint8_t x_25; lean_object* x_26; -x_24 = 0; -x_25 = 1; -lean_inc(x_5); -lean_inc(x_22); -x_26 = l_Lean_Meta_mkForallFVars(x_22, x_13, x_24, x_25, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_26) == 0) +if (x_24 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7(x_23, x_13, x_2, x_17, x_21, x_1, x_3, x_26, x_4, x_5, x_6, x_7, x_8, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_28 = lean_ctor_get(x_2, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_2, 7); -lean_inc(x_29); -lean_inc(x_17); -lean_inc(x_29); -x_30 = lean_array_push(x_29, x_17); -lean_inc(x_5); -x_31 = l_Lean_Meta_mkLambdaFVars(x_30, x_27, x_24, x_25, x_5, x_6, x_7, x_8, x_28); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -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_113 = lean_st_ref_get(x_8, x_33); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_114, 3); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_ctor_get_uint8(x_115, sizeof(void*)*1); -lean_dec(x_115); -if (x_116 == 0) -{ -lean_object* x_117; -x_117 = lean_ctor_get(x_113, 1); -lean_inc(x_117); -lean_dec(x_113); -x_34 = x_117; -goto block_112; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_118 = lean_ctor_get(x_113, 1); -lean_inc(x_118); -lean_dec(x_113); -x_119 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_119, x_4, x_5, x_6, x_7, x_8, x_118); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_unbox(x_121); -lean_dec(x_121); -if (x_122 == 0) -{ -lean_object* x_123; -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_dec(x_120); -x_34 = x_123; -goto block_112; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_124 = lean_ctor_get(x_120, 1); -lean_inc(x_124); -lean_dec(x_120); -lean_inc(x_32); -x_125 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_125, 0, x_32); -x_126 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6; -x_127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_119, x_129, x_4, x_5, x_6, x_7, x_8, x_124); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_34 = x_131; -goto block_112; -} -} -block_112: -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_35 = lean_ctor_get(x_2, 4); -lean_inc(x_35); -x_36 = l_Lean_brecOnSuffix; -x_37 = lean_name_mk_string(x_35, x_36); -x_38 = lean_ctor_get(x_2, 5); -lean_inc(x_38); -x_39 = l_Lean_mkConst(x_37, x_38); -x_40 = lean_ctor_get(x_2, 6); -lean_inc(x_40); -x_41 = l_Lean_mkAppN(x_39, x_40); -lean_dec(x_40); -lean_inc(x_32); -x_42 = l_Lean_mkApp(x_41, x_32); -x_43 = l_Lean_mkAppN(x_42, x_29); -lean_inc(x_17); -x_44 = l_Lean_mkApp(x_43, x_17); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); +x_29 = lean_array_to_list(lean_box(0), x_28); +x_30 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_29); +x_31 = l_Lean_MessageData_ofList(x_30); +lean_dec(x_30); +x_32 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_23); +x_36 = lean_array_to_list(lean_box(0), x_23); +x_37 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_36); +x_38 = l_Lean_MessageData_ofList(x_37); +lean_dec(x_37); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_21, x_41, x_4, x_5, x_6, x_7, x_8, x_25); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -x_45 = l_Lean_Meta_check(x_44, x_5, x_6, x_7, x_8, x_34); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_44); -x_47 = l_Lean_Meta_inferType(x_44, x_5, x_6, x_7, x_8, x_46); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_85 = lean_st_ref_get(x_8, x_49); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_86, 3); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); -lean_dec(x_87); -if (x_88 == 0) -{ -lean_object* x_89; -x_89 = lean_ctor_get(x_85, 1); -lean_inc(x_89); -lean_dec(x_85); -x_50 = x_89; -goto block_84; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_90 = lean_ctor_get(x_85, 1); -lean_inc(x_90); -lean_dec(x_85); -x_91 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_92 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_91, x_4, x_5, x_6, x_7, x_8, x_90); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_unbox(x_93); -lean_dec(x_93); -if (x_94 == 0) -{ -lean_object* x_95; -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); -lean_dec(x_92); -x_50 = x_95; -goto block_84; -} -else -{ -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_96 = lean_ctor_get(x_92, 1); -lean_inc(x_96); -lean_dec(x_92); -lean_inc(x_44); -x_97 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_97, 0, x_44); -x_98 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4; -x_99 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -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_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_91, x_101, x_4, x_5, x_6, x_7, x_8, x_96); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_50 = x_103; -goto block_84; -} -} -block_84: -{ -lean_object* x_51; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = lean_st_ref_get(x_8, x_50); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_66, 3); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_ctor_get_uint8(x_67, sizeof(void*)*1); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_dec(x_65); -x_51 = x_69; -goto block_64; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_dec(x_65); -x_71 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_71, x_4, x_5, x_6, x_7, x_8, x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_unbox(x_73); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; -x_75 = lean_ctor_get(x_72, 1); -lean_inc(x_75); -lean_dec(x_72); -x_51 = x_75; -goto block_64; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_dec(x_72); -lean_inc(x_48); -x_77 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_77, 0, x_48); -x_78 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_71, x_81, x_4, x_5, x_6, x_7, x_8, x_76); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_51 = x_83; -goto block_64; -} -} -block_64: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_52 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -lean_inc(x_17); -lean_inc(x_29); -x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1___boxed), 11, 3); -lean_closure_set(x_53, 0, x_29); -lean_closure_set(x_53, 1, x_17); -lean_closure_set(x_53, 2, x_52); -x_54 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__3___closed__1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_55 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_48, x_54, x_53, x_4, x_5, x_6, x_7, x_8, x_51); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -lean_inc(x_56); -x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed), 17, 9); -lean_closure_set(x_58, 0, x_56); -lean_closure_set(x_58, 1, x_1); -lean_closure_set(x_58, 2, x_2); -lean_closure_set(x_58, 3, x_32); -lean_closure_set(x_58, 4, x_3); -lean_closure_set(x_58, 5, x_17); -lean_closure_set(x_58, 6, x_29); -lean_closure_set(x_58, 7, x_22); -lean_closure_set(x_58, 8, x_44); -x_59 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__1___rarg(x_56, x_54, x_58, x_4, x_5, x_6, x_7, x_8, x_57); -return x_59; -} -else -{ -uint8_t x_60; -lean_dec(x_44); -lean_dec(x_32); -lean_dec(x_29); -lean_dec(x_22); -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_60 = !lean_is_exclusive(x_55); -if (x_60 == 0) -{ -return x_55; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_55, 0); -x_62 = lean_ctor_get(x_55, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_55); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -} -} -else -{ -uint8_t x_104; -lean_dec(x_44); -lean_dec(x_32); -lean_dec(x_29); -lean_dec(x_22); -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_104 = !lean_is_exclusive(x_47); -if (x_104 == 0) -{ -return x_47; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_47, 0); -x_106 = lean_ctor_get(x_47, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_47); -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 -{ -uint8_t x_108; -lean_dec(x_44); -lean_dec(x_32); -lean_dec(x_29); -lean_dec(x_22); -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_108 = !lean_is_exclusive(x_45); -if (x_108 == 0) -{ +lean_dec(x_42); +x_45 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7(x_23, x_13, x_2, x_17, x_21, x_1, x_3, x_43, x_4, x_5, x_6, x_7, x_8, x_44); +lean_dec(x_43); return x_45; } -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_45, 0); -x_110 = lean_ctor_get(x_45, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_45); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} } } } else { -uint8_t x_132; -lean_dec(x_29); -lean_dec(x_22); -lean_dec(x_17); +uint8_t x_65; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16190,134 +16614,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_132 = !lean_is_exclusive(x_31); -if (x_132 == 0) -{ -return x_31; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_31, 0); -x_134 = lean_ctor_get(x_31, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_31); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; -} -} -} -else -{ -uint8_t x_136; -lean_dec(x_22); -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_136 = !lean_is_exclusive(x_26); -if (x_136 == 0) -{ -return x_26; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_26, 0); -x_138 = lean_ctor_get(x_26, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_26); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; -} -} -} -block_160: -{ -if (x_141 == 0) -{ -x_23 = x_142; -goto block_140; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_143 = lean_ctor_get(x_2, 0); -lean_inc(x_143); -x_144 = lean_array_to_list(lean_box(0), x_143); -x_145 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_144); -x_146 = l_Lean_MessageData_ofList(x_145); -lean_dec(x_145); -x_147 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4; -x_148 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6; -x_150 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -lean_inc(x_22); -x_151 = lean_array_to_list(lean_box(0), x_22); -x_152 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_151); -x_153 = l_Lean_MessageData_ofList(x_152); -lean_dec(x_152); -x_154 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_154, 0, x_150); -lean_ctor_set(x_154, 1, x_153); -x_155 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_156 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -x_157 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_158 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_157, x_156, x_4, x_5, x_6, x_7, x_8, x_142); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -x_23 = x_159; -goto block_140; -} -} -} -} -else -{ -uint8_t x_180; -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_180 = !lean_is_exclusive(x_10); -if (x_180 == 0) +x_65 = !lean_is_exclusive(x_10); +if (x_65 == 0) { return x_10; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_10, 0); -x_182 = lean_ctor_get(x_10, 1); -lean_inc(x_182); -lean_inc(x_181); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_10, 0); +x_67 = lean_ctor_get(x_10, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_10); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } @@ -16337,11 +16650,22 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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_1); +return x_11; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -16349,7 +16673,7 @@ lean_dec(x_1); return x_12; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__2___boxed(lean_object** _args) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -16370,13 +16694,83 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___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, x_14, x_15, x_16, x_17); +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); return x_18; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_11); +return x_18; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_11); +return x_18; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_9); +return x_16; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkIndPredBRecOn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_8); +return x_15; +} +} uint8_t l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_shouldBetaReduce(lean_object* x_1, lean_object* x_2) { _start: { @@ -16585,7 +16979,97 @@ return x_28; } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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_inc(x_1); +x_11 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_1, x_2, 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; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_16 = lean_ctor_get(x_3, 1); +x_17 = lean_ctor_get(x_3, 2); +x_18 = lean_ctor_get(x_3, 4); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_14); +x_19 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_17); +lean_ctor_set(x_19, 3, x_1); +lean_ctor_set(x_19, 4, x_18); +lean_ctor_set(x_19, 5, x_13); +lean_ctor_set_uint8(x_19, sizeof(void*)*6, x_15); +lean_ctor_set(x_11, 0, x_19); +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_ctor_get(x_3, 0); +x_23 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_24 = lean_ctor_get(x_3, 1); +x_25 = lean_ctor_get(x_3, 2); +x_26 = lean_ctor_get(x_3, 4); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_22); +x_27 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_24); +lean_ctor_set(x_27, 2, x_25); +lean_ctor_set(x_27, 3, x_1); +lean_ctor_set(x_27, 4, x_26); +lean_ctor_set(x_27, 5, x_20); +lean_ctor_set_uint8(x_27, sizeof(void*)*6, x_23); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_21); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_11); +if (x_29 == 0) +{ +return x_11; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_11, 0); +x_31 = lean_ctor_get(x_11, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_11); +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_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -16593,16 +17077,16 @@ x_1 = lean_mk_string("result: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; uint8_t x_13; lean_object* x_14; @@ -16612,197 +17096,116 @@ lean_inc(x_7); x_14 = l_Lean_Meta_mkLambdaFVars(x_1, x_5, x_12, x_13, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_41 = lean_st_ref_get(x_10, x_16); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); -lean_dec(x_43); -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_4); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_17 = x_45; -goto block_40; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -lean_dec(x_41); -lean_inc(x_4); -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_4, x_6, x_7, x_8, x_9, x_10, x_46); -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) -{ -lean_object* x_50; -lean_dec(x_4); -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_17 = x_50; -goto block_40; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -lean_inc(x_15); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_15); -x_53 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_4, x_56, x_6, x_7, x_8, x_9, x_10, x_51); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_17 = x_58; -goto block_40; -} -} -block_40: -{ -lean_object* x_18; -lean_inc(x_2); -x_18 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn(x_2, x_15, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_3, 0); -x_22 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_23 = lean_ctor_get(x_3, 1); -x_24 = lean_ctor_get(x_3, 2); -x_25 = lean_ctor_get(x_3, 4); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_21); -x_26 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_23); -lean_ctor_set(x_26, 2, x_24); -lean_ctor_set(x_26, 3, x_2); -lean_ctor_set(x_26, 4, x_25); -lean_ctor_set(x_26, 5, x_20); -lean_ctor_set_uint8(x_26, sizeof(void*)*6, x_22); -lean_ctor_set(x_18, 0, x_26); -return x_18; -} -else -{ -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; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_18); -x_29 = lean_ctor_get(x_3, 0); -x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_31 = lean_ctor_get(x_3, 1); -x_32 = lean_ctor_get(x_3, 2); -x_33 = lean_ctor_get(x_3, 4); -lean_inc(x_33); +x_31 = lean_st_ref_get(x_10, x_16); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_29); -x_34 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_31); -lean_ctor_set(x_34, 2, x_32); -lean_ctor_set(x_34, 3, x_2); -lean_ctor_set(x_34, 4, x_33); -lean_ctor_set(x_34, 5, x_27); -lean_ctor_set_uint8(x_34, sizeof(void*)*6, x_30); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_28); -return x_35; -} +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_17 = x_12; +x_18 = x_35; +goto block_30; } else { -uint8_t x_36; -lean_dec(x_2); -x_36 = !lean_is_exclusive(x_18); -if (x_36 == 0) -{ -return x_18; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_18, 0); -x_38 = lean_ctor_get(x_18, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +lean_inc(x_4); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_4, x_6, x_7, x_8, x_9, x_10, x_36); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_18); -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; +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_17 = x_40; +x_18 = x_39; +goto block_30; } +block_30: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(x_2, x_15, x_3, x_19, x_6, x_7, x_8, x_9, x_10, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_15); +x_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_15); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_4, x_25, x_6, x_7, x_8, x_9, x_10, x_18); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(x_2, x_15, x_3, x_27, x_6, x_7, x_8, x_9, x_10, x_28); +lean_dec(x_27); +return x_29; } } } else { -uint8_t x_59; +uint8_t x_41; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_2); -x_59 = !lean_is_exclusive(x_14); -if (x_59 == 0) +x_41 = !lean_is_exclusive(x_14); +if (x_41 == 0) { return x_14; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_14, 0); -x_61 = lean_ctor_get(x_14, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_14, 0); +x_43 = lean_ctor_get(x_14, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_14); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -16825,7 +17228,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(x_1, x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_16); +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2(x_1, x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_16); lean_dec(x_7); return x_17; } @@ -16878,7 +17281,7 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(x_1, x_2, x_3, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_24); +x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2(x_1, x_2, x_3, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_24); lean_dec(x_7); return x_25; } @@ -16915,7 +17318,23 @@ return x_29; } } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +lean_inc(x_1); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___boxed), 12, 5); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +lean_closure_set(x_14, 4, x_5); +lean_inc(x_6); +x_15 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg(x_6, x_1, x_14, x_6, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -16923,16 +17342,145 @@ x_1 = lean_mk_string("numFixed: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3() { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix(x_1, x_2, x_3, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +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_31 = lean_st_ref_get(x_11, x_15); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_16 = x_36; +x_17 = x_35; +goto block_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +lean_inc(x_5); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_5, x_7, x_8, x_9, x_10, x_11, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_16 = x_41; +x_17 = x_40; +goto block_30; +} +block_30: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4(x_2, x_1, x_4, x_5, x_3, x_14, x_18, x_7, x_8, x_9, x_10, x_11, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_14); +x_20 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_14); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_inc(x_5); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_5, x_25, x_7, x_8, x_9, x_10, x_11, x_17); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4(x_2, x_1, x_4, x_5, x_3, x_14, x_27, x_7, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_27); +return x_29; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_11); +lean_dec(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); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_13); +if (x_42 == 0) +{ +return x_13; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_13, 0); +x_44 = lean_ctor_get(x_13, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_13); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -16940,16 +17488,16 @@ x_1 = lean_mk_string(" "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3() { _start: { lean_object* x_1; @@ -16957,16 +17505,16 @@ x_1 = lean_mk_string(" :=\n"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6() { +static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5; +x_1 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -16986,246 +17534,109 @@ lean_inc(x_12); x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess(x_3, x_12, x_7, x_8, x_11); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_52; lean_object* x_53; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; 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_72 = lean_st_ref_get(x_8, x_15); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_73, 3); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_ctor_get_uint8(x_74, sizeof(void*)*1); -lean_dec(x_74); -if (x_75 == 0) +x_16 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; +x_40 = lean_st_ref_get(x_8, x_15); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 3); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); +lean_dec(x_42); +if (x_43 == 0) { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_dec(x_72); -x_77 = 0; -x_52 = x_77; -x_53 = x_76; -goto block_71; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_78 = lean_ctor_get(x_72, 1); -lean_inc(x_78); -lean_dec(x_72); -x_79 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_80 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_79, x_4, x_5, x_6, x_7, x_8, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_unbox(x_81); -lean_dec(x_81); -x_52 = x_83; -x_53 = x_82; -goto block_71; -} -block_51: -{ -lean_object* x_17; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_14); -lean_inc(x_2); -lean_inc(x_12); -x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix(x_12, x_2, x_14, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_st_ref_get(x_8, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -lean_dec(x_22); -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_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -lean_inc(x_2); -x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___boxed), 12, 5); -lean_closure_set(x_26, 0, x_2); -lean_closure_set(x_26, 1, x_12); -lean_closure_set(x_26, 2, x_1); -lean_closure_set(x_26, 3, x_25); -lean_closure_set(x_26, 4, x_14); -lean_inc(x_18); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg(x_18, x_2, x_26, x_18, x_4, x_5, x_6, x_7, x_8, x_24); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_dec(x_20); -x_29 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_30 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_29, x_4, x_5, x_6, x_7, x_8, x_28); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -lean_inc(x_2); -x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___boxed), 12, 5); -lean_closure_set(x_34, 0, x_2); -lean_closure_set(x_34, 1, x_12); -lean_closure_set(x_34, 2, x_1); -lean_closure_set(x_34, 3, x_29); -lean_closure_set(x_34, 4, x_14); -lean_inc(x_18); -x_35 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg(x_18, x_2, x_34, x_18, x_4, x_5, x_6, x_7, x_8, x_33); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_dec(x_30); -lean_inc(x_18); -x_37 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_18); -x_38 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_29, x_42, x_4, x_5, x_6, x_7, x_8, x_36); -x_44 = lean_ctor_get(x_43, 1); +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 1); lean_inc(x_44); -lean_dec(x_43); -lean_inc(x_2); -x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___boxed), 12, 5); -lean_closure_set(x_45, 0, x_2); -lean_closure_set(x_45, 1, x_12); -lean_closure_set(x_45, 2, x_1); -lean_closure_set(x_45, 3, x_29); -lean_closure_set(x_45, 4, x_14); -lean_inc(x_18); -x_46 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg(x_18, x_2, x_45, x_18, x_4, x_5, x_6, x_7, x_8, x_44); -return x_46; -} -} +lean_dec(x_40); +x_45 = 0; +x_17 = x_45; +x_18 = x_44; +goto block_39; } else { -uint8_t x_47; -lean_dec(x_14); -lean_dec(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_2); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_17); -if (x_47 == 0) -{ -return x_17; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_17, 0); -x_49 = lean_ctor_get(x_17, 1); -lean_inc(x_49); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_dec(x_40); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(x_16, x_4, x_5, x_6, x_7, x_8, x_46); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_17); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_17 = x_50; +x_18 = x_49; +goto block_39; } -} -} -block_71: +block_39: { -if (x_52 == 0) +if (x_17 == 0) { -x_16 = x_53; -goto block_51; +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5(x_12, x_2, x_14, x_1, x_16, x_19, x_4, x_5, x_6, x_7, x_8, x_18); +return x_20; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_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_inc(x_12); -x_54 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_54, 0, x_12); -x_55 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_12); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); lean_inc(x_2); -x_59 = lean_array_to_list(lean_box(0), x_2); -x_60 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_59); -x_61 = l_Lean_MessageData_ofList(x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_61); -x_63 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6; -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); +x_26 = lean_array_to_list(lean_box(0), x_2); +x_27 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26); +x_28 = l_Lean_MessageData_ofList(x_27); +lean_dec(x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); lean_inc(x_14); -x_65 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_65, 0, x_14); -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_55); -x_68 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__6; -x_69 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_68, x_67, x_4, x_5, x_6, x_7, x_8, x_53); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_16 = x_70; -goto block_51; +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_14); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_22); +x_35 = l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__9(x_16, x_34, x_4, x_5, x_6, x_7, x_8, x_18); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5(x_12, x_2, x_14, x_1, x_16, x_36, x_4, x_5, x_6, x_7, x_8, x_37); +lean_dec(x_36); +return x_38; } } } else { -uint8_t x_84; +uint8_t x_51; lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -17234,29 +17645,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_84 = !lean_is_exclusive(x_13); -if (x_84 == 0) +x_51 = !lean_is_exclusive(x_13); +if (x_51 == 0) { return x_13; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_13, 0); -x_86 = lean_ctor_get(x_13, 1); -lean_inc(x_86); -lean_inc(x_85); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_13, 0); +x_53 = lean_ctor_get(x_13, 1); +lean_inc(x_53); +lean_inc(x_52); lean_dec(x_13); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -uint8_t x_88; +uint8_t x_55; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -17265,23 +17676,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_88 = !lean_is_exclusive(x_10); -if (x_88 == 0) +x_55 = !lean_is_exclusive(x_10); +if (x_55 == 0) { return x_10; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_10, 0); -x_90 = lean_ctor_get(x_10, 1); -lean_inc(x_90); -lean_inc(x_89); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_10, 0); +x_57 = lean_ctor_get(x_10, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_10); -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; +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; } } } @@ -17292,7 +17703,7 @@ _start: 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; x_8 = lean_ctor_get(x_1, 5); lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3), 9, 1); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6), 9, 1); lean_closure_set(x_9, 0, x_1); x_10 = lean_st_ref_get(x_6, x_7); x_11 = lean_ctor_get(x_10, 0); @@ -17395,25 +17806,54 @@ lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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); +return x_11; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_3); return x_12; } } -lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___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 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_3); return x_13; } } +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__4(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_7); +return x_14; +} +} +lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +return x_13; +} +} lean_object* l_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -18385,7 +18825,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; +x_14 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4; x_15 = lean_array_push(x_14, x_4); x_16 = 0; x_17 = 1; @@ -19839,7 +20279,7 @@ lean_dec(x_1); return x_14; } } -lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_object* x_1) { +lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_7238_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -19977,6 +20417,28 @@ l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAu lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux_match__2___rarg___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__3); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__4); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__5); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__6); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__7); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__8); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__9); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__10); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__5___closed__11); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__2(); @@ -19997,28 +20459,6 @@ l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAu lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__9); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__11); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__12); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__13); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__14); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__15); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__16); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__17); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__18); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__19); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__20); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__21); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__1); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__2(); @@ -20061,20 +20501,24 @@ l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__3); l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__5); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__7); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__2___closed__8); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__3___closed__4); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__2); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__3(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__1___closed__3); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___lambda__2___boxed__const__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__2(); @@ -20083,10 +20527,6 @@ l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRe lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__3); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___closed__5); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___boxed__const__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___closed__2(); @@ -20101,36 +20541,40 @@ l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__4___boxed__const__1); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___spec__6___boxed__const__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__3); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___lambda__2___closed__4); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__2); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__3); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__5); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceIndPredRecApps_loop___closed__6); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__1___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__2___closed__2); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__2); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__3); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__5); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__3___closed__6); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__5___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__6___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__7___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___lambda__9___closed__2); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__1); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__2(); @@ -20139,28 +20583,24 @@ l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn_ lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__3); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__5); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___closed__6); l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___closed__1(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_preprocess___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__1___closed__2); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__1); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__2); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__4); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__5); -l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__6); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__2___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__5___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__1); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__2); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__3); +l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4 = _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__6___closed__4); l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__2___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__2___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__2___boxed__const__1); l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__4___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__4___boxed__const__1(); @@ -20181,7 +20621,7 @@ l_Lean_Elab_Structural_structuralRecursion___closed__3 = _init_l_Lean_Elab_Struc lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__3); l_Lean_Elab_Structural_structuralRecursion___closed__4 = _init_l_Lean_Elab_Structural_structuralRecursion___closed__4(); lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__4); -res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_io_mk_world()); +res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_7238_(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/Print.c b/stage0/stdlib/Lean/Elab/Print.c index ded0e31c6e..bbaf03e653 100644 --- a/stage0/stdlib/Lean/Elab/Print.c +++ b/stage0/stdlib/Lean/Elab/Print.c @@ -82,7 +82,6 @@ lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessa static lean_object* l___regBuiltin_Lean_Elab_Command_elabPrint___closed__5; lean_object* l_List_forM___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_printIdCore___closed__2; static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___closed__1; extern lean_object* l_Lean_LocalContext_empty; @@ -111,6 +110,7 @@ static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParams lean_object* l_Lean_Elab_Command_elabPrint___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CollectAxioms_collect_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_printIdCore___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_printInduct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader_match__3(lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessageData___spec__1___closed__2; @@ -2427,7 +2427,7 @@ x_10 = l___private_Lean_Elab_Print_0__Lean_Elab_Command_throwUnknownId___closed_ 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_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_11, x_2, x_3, x_4); return x_12; } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 59bd6cde56..9802830f51 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -19,20 +19,18 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__24; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__2; lean_object* l_Lean_Syntax_unescapeAntiquot(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__13; uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object*, lean_object*, 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*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__38; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5; lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__4; @@ -44,9 +42,12 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; lean_object* l_List_tail_x21___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__9; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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_Lean_stringToMessageData(lean_object*); @@ -64,13 +65,12 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__5; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__21; @@ -80,33 +80,35 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__24; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__5; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__8; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15; lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__6; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4; static 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_getHeadInfo___lambda__16(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*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__16; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___boxed(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__13(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__1; @@ -114,6 +116,9 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*); @@ -121,45 +126,44 @@ static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_E lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11___boxed(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; +static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___boxed(lean_object**); lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object**); -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, lean_object*, 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*); lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_append(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53; size_t l_USize_sub(size_t, size_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; @@ -169,31 +173,32 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__40; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__10; lean_object* l_List_append___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__16; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__1; -lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__21; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__27; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; @@ -206,27 +211,26 @@ static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__19; lean_object* l_List_range(lean_object*); @@ -240,13 +244,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__13; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object*); lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__23; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__44; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; @@ -256,7 +258,9 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3___boxed(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__10; lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,19 +271,18 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__16; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__41; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__1; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; @@ -287,11 +290,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,12 +304,11 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__3; @@ -315,18 +317,14 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__7; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__3; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10; @@ -336,12 +334,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Array_zip___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__42; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -355,14 +352,17 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__18; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12; lean_object* l_List_replicate___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__25; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__18; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__15; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__30; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; @@ -371,6 +371,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__12; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8(lean_object*, size_t, lean_object*, size_t, size_t); @@ -378,12 +379,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__29; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; @@ -391,16 +391,19 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__25; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__7; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__8; -lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23; extern lean_object* l_Lean_numLitKind; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__4; @@ -409,6 +412,7 @@ lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__45; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4; @@ -417,7 +421,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7; @@ -427,7 +430,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__9; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__17; @@ -439,6 +441,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__33; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__8; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1; lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -449,13 +452,13 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__6; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -469,18 +472,17 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__26; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, size_t, 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_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__3(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__12; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -490,13 +492,16 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOu static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3(lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object**); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__5; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__11; lean_object* l_Nat_repr(lean_object*); @@ -506,7 +511,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; @@ -514,7 +519,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_T static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__19; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__23; @@ -524,36 +529,37 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__5; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__3; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__13; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(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*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5(lean_object*, lean_object*, 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_Quotation_elabMatchSyntax(lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Function_comp___rarg(lean_object*, lean_object*, 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_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__13; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17; uint8_t l_Lean_Name_isAtomic(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__4; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__4; @@ -563,16 +569,15 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__11; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__13; @@ -580,6 +585,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMat lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds(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_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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; @@ -590,13 +596,13 @@ static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______clos static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__9; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(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_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9783_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__13; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__43; @@ -605,6 +611,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__21; @@ -615,7 +622,6 @@ lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___rarg(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_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__27; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*); @@ -623,11 +629,12 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44; lean_object* l_String_dropRight(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__4; @@ -656,22 +663,22 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate(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__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__22; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__12; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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*); uint8_t l_Lean_Syntax_isAtom(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5(lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); @@ -680,24 +687,21 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(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*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__11; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___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*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___boxed(lean_object**); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(size_t, size_t, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; lean_object* l_Lean_Syntax_getQuotContent(lean_object*); @@ -708,23 +712,24 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35; lean_object* l_List_redLength___rarg(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__9; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(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*, lean_object*, lean_object*); @@ -740,11 +745,9 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3; -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233_(lean_object*); @@ -754,26 +757,31 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Q lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___boxed(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_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___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_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__18; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__21; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; extern lean_object* l_Id_instMonadId; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object**); @@ -784,16 +792,17 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepF lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__2; -static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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_Quotation_ArrayStxBuilder_build_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__11; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__1; @@ -801,26 +810,26 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__19; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__3; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___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_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__21; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, 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*); -lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___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_Quotation_match__syntax_expand___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; -static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; @@ -828,11 +837,8 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__20; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__2; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__1; @@ -852,9 +858,8 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__1; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4; -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3; @@ -864,27 +869,27 @@ static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_ static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); +lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__2; lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__12; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__13; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__4; @@ -900,7 +905,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; lean_object* l_Lean_Syntax_getAntiquotSpliceContents(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25; @@ -918,11 +922,10 @@ lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot____; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__3___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__7; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object*, lean_object*, 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; @@ -938,8 +941,9 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object*, lean_object*, 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31; lean_object* lean_string_length(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; @@ -952,7 +956,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__39; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__29; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; @@ -967,10 +970,9 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23; @@ -978,15 +980,16 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__14; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(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*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__5; +static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1; lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__7; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -1005,12 +1008,13 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__3; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916_(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__16; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19; @@ -1026,7 +1030,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__18; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__22; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__18; @@ -1037,22 +1040,27 @@ lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__4; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__2; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__28; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__14; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__20; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49; lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__5; lean_object* lean_nat_to_int(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__3; lean_object* l_Lean_Syntax_antiquotKind_x3f(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1063,9 +1071,9 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__1; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__8; +static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__1; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; @@ -1080,14 +1088,12 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__2; lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, lean_object*, 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*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; -static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25; @@ -1102,8 +1108,10 @@ static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__14; +static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29; static lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); @@ -1236,7 +1244,27 @@ return x_33; } } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 3); +x_5 = l_Lean_SourceInfo_fromRef(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg___boxed), 3, 0); +return x_5; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -1251,26 +1279,6 @@ lean_ctor_set(x_12, 1, x_8); return x_12; } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 3); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg___boxed), 3, 0); -return x_5; -} -} static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1() { _start: { @@ -1588,7 +1596,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOu _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; uint8_t x_17; -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_10); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -1711,7 +1719,7 @@ return x_78; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -1719,22 +1727,22 @@ x_1 = lean_mk_string("a"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___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); @@ -1742,16 +1750,150 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(x_1, x_4, x_5, x_6, x_7, x_8, x_9, 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_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 1); +lean_dec(x_16); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +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; +x_22 = lean_ctor_get(x_20, 0); +x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4; +x_24 = l_Lean_addMacroScope(x_22, x_23, x_18); +x_25 = lean_box(0); +x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3; +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_25); +lean_inc(x_27); +x_28 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_2); +x_29 = lean_unsigned_to_nat(2u); +x_30 = l_Lean_Syntax_setArg(x_3, x_29, x_27); +lean_ctor_set(x_12, 1, x_28); +lean_ctor_set(x_12, 0, x_30); +lean_ctor_set(x_20, 0, x_12); +return x_20; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_20); +x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4; +x_34 = l_Lean_addMacroScope(x_31, x_33, x_18); +x_35 = lean_box(0); +x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3; +x_37 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_34); +lean_ctor_set(x_37, 3, x_35); +lean_inc(x_37); +x_38 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_2); +x_39 = lean_unsigned_to_nat(2u); +x_40 = l_Lean_Syntax_setArg(x_3, x_39, x_37); +lean_ctor_set(x_12, 1, x_38); +lean_ctor_set(x_12, 0, x_40); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_12); +lean_ctor_set(x_41, 1, x_32); +return x_41; +} +} +else +{ +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_42 = lean_ctor_get(x_12, 0); +lean_inc(x_42); +lean_dec(x_12); +x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4; +x_51 = l_Lean_addMacroScope(x_47, x_50, x_44); +x_52 = lean_box(0); +x_53 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3; +x_54 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_54, 0, x_42); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_51); +lean_ctor_set(x_54, 3, x_52); +lean_inc(x_54); +x_55 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); +lean_closure_set(x_55, 0, x_54); +lean_closure_set(x_55, 1, x_2); +x_56 = lean_unsigned_to_nat(2u); +x_57 = l_Lean_Syntax_setArg(x_3, x_56, x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +if (lean_is_scalar(x_49)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_49; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_48); +return x_59; +} +} +} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms(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: { @@ -1777,493 +1919,163 @@ uint8_t x_15; x_15 = l_Lean_Syntax_isEscapedAntiquot(x_1); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; uint8_t x_157; +lean_object* x_16; lean_object* x_17; uint8_t x_38; x_16 = l_Lean_Syntax_getAntiquotTerm(x_1); -x_157 = l_Lean_Syntax_isIdent(x_16); -if (x_157 == 0) +x_38 = l_Lean_Syntax_isIdent(x_16); +if (x_38 == 0) { -lean_object* x_158; +lean_object* x_39; lean_dec(x_11); lean_dec(x_10); -x_158 = lean_box(0); -x_17 = x_158; -goto block_156; +x_39 = lean_box(0); +x_17 = x_39; +goto block_37; } else { -lean_object* x_159; uint8_t x_160; -x_159 = l_Lean_Syntax_getId(x_16); -x_160 = l_Lean_Name_isAtomic(x_159); -lean_dec(x_159); -if (x_160 == 0) +lean_object* x_40; uint8_t x_41; +x_40 = l_Lean_Syntax_getId(x_16); +x_41 = l_Lean_Name_isAtomic(x_40); +lean_dec(x_40); +if (x_41 == 0) { -lean_object* x_161; +lean_object* x_42; lean_dec(x_11); lean_dec(x_10); -x_161 = lean_box(0); -x_17 = x_161; -goto block_156; +x_42 = lean_box(0); +x_17 = x_42; +goto block_37; } else { -lean_object* x_162; lean_object* x_163; +lean_object* x_43; lean_object* x_44; lean_dec(x_16); lean_dec(x_1); -x_162 = lean_box(0); -x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(x_11, x_10, x_162, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_163; -} -} -block_156: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_17); -x_18 = lean_st_ref_take(x_8, x_9); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_22 = lean_ctor_get(x_19, 1); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_22, x_23); -lean_ctor_set(x_19, 1, x_24); -x_25 = lean_st_ref_set(x_8, x_19, x_20); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = !lean_is_exclusive(x_3); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_3, 4); -lean_dec(x_28); -lean_ctor_set(x_3, 4, x_22); -x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) -{ -lean_object* 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; -x_33 = lean_ctor_get(x_30, 0); -x_34 = lean_ctor_get(x_30, 1); -lean_dec(x_34); -x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_31); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_37); -lean_dec(x_8); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -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_40 = lean_ctor_get(x_38, 0); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; -x_42 = l_Lean_addMacroScope(x_40, x_41, x_36); x_43 = lean_box(0); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -lean_inc(x_45); -x_46 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); -lean_closure_set(x_46, 0, x_45); -lean_closure_set(x_46, 1, x_16); -x_47 = lean_unsigned_to_nat(2u); -x_48 = l_Lean_Syntax_setArg(x_1, x_47, x_45); -lean_ctor_set(x_30, 1, x_46); -lean_ctor_set(x_30, 0, x_48); -lean_ctor_set(x_38, 0, x_30); -return x_38; +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(x_11, x_10, x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_44; +} +} +block_37: +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_17); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___boxed), 10, 3); +lean_closure_set(x_18, 0, x_2); +lean_closure_set(x_18, 1, x_16); +lean_closure_set(x_18, 2, x_1); +x_19 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_19; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -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); -x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; -x_52 = l_Lean_addMacroScope(x_49, x_51, x_36); -x_53 = lean_box(0); -x_54 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -x_55 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_55, 0, x_33); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_52); -lean_ctor_set(x_55, 3, x_53); -lean_inc(x_55); -x_56 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); -lean_closure_set(x_56, 0, x_55); -lean_closure_set(x_56, 1, x_16); -x_57 = lean_unsigned_to_nat(2u); -x_58 = l_Lean_Syntax_setArg(x_1, x_57, x_55); -lean_ctor_set(x_30, 1, x_56); -lean_ctor_set(x_30, 0, x_58); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_30); -lean_ctor_set(x_59, 1, x_50); -return x_59; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_19, 0, x_25); +return x_19; } } else { -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; -x_60 = lean_ctor_get(x_30, 0); -lean_inc(x_60); -lean_dec(x_30); -x_61 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_31); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_63); -lean_dec(x_8); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); -} -x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; -x_69 = l_Lean_addMacroScope(x_65, x_68, x_62); -x_70 = lean_box(0); -x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -x_72 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_72, 0, x_60); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_69); -lean_ctor_set(x_72, 3, x_70); -lean_inc(x_72); -x_73 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); -lean_closure_set(x_73, 0, x_72); -lean_closure_set(x_73, 1, x_16); -x_74 = lean_unsigned_to_nat(2u); -x_75 = l_Lean_Syntax_setArg(x_1, x_74, x_72); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_73); -if (lean_is_scalar(x_67)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_67; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_66); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_78 = lean_ctor_get(x_3, 0); -x_79 = lean_ctor_get(x_3, 1); -x_80 = lean_ctor_get(x_3, 2); -x_81 = lean_ctor_get(x_3, 3); -x_82 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_83 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_84 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_85 = lean_ctor_get(x_3, 5); -x_86 = lean_ctor_get(x_3, 6); -x_87 = lean_ctor_get(x_3, 7); -x_88 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_3); -x_89 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_89, 0, x_78); -lean_ctor_set(x_89, 1, x_79); -lean_ctor_set(x_89, 2, x_80); -lean_ctor_set(x_89, 3, x_81); -lean_ctor_set(x_89, 4, x_22); -lean_ctor_set(x_89, 5, x_85); -lean_ctor_set(x_89, 6, x_86); -lean_ctor_set(x_89, 7, x_87); -lean_ctor_set_uint8(x_89, sizeof(void*)*8, x_82); -lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 1, x_83); -lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 2, x_84); -lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 3, x_88); -x_90 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(x_2, x_89, x_4, x_5, x_6, x_7, x_8, x_26); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_ctor_get(x_91, 0); -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); -} -x_95 = l_Lean_Elab_Term_getCurrMacroScope(x_89, x_4, x_5, x_6, x_7, x_8, x_92); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_89); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_97); -lean_dec(x_8); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_101 = x_98; -} else { - lean_dec_ref(x_98); - x_101 = lean_box(0); -} -x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; -x_103 = l_Lean_addMacroScope(x_99, x_102, x_96); -x_104 = lean_box(0); -x_105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -x_106 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_106, 0, x_93); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_106, 2, x_103); -lean_ctor_set(x_106, 3, x_104); -lean_inc(x_106); -x_107 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); -lean_closure_set(x_107, 0, x_106); -lean_closure_set(x_107, 1, x_16); -x_108 = lean_unsigned_to_nat(2u); -x_109 = l_Lean_Syntax_setArg(x_1, x_108, x_106); -if (lean_is_scalar(x_94)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_94; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -if (lean_is_scalar(x_101)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_101; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_100); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_112 = lean_ctor_get(x_19, 0); -x_113 = lean_ctor_get(x_19, 1); -x_114 = lean_ctor_get(x_19, 2); -x_115 = lean_ctor_get(x_19, 3); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); +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_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); lean_dec(x_19); -x_116 = lean_unsigned_to_nat(1u); -x_117 = lean_nat_add(x_113, x_116); -x_118 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_118, 0, x_112); -lean_ctor_set(x_118, 1, x_117); -lean_ctor_set(x_118, 2, x_114); -lean_ctor_set(x_118, 3, x_115); -x_119 = lean_st_ref_set(x_8, x_118, x_20); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -lean_dec(x_119); -x_121 = lean_ctor_get(x_3, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_3, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_3, 2); -lean_inc(x_123); -x_124 = lean_ctor_get(x_3, 3); -lean_inc(x_124); -x_125 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_126 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_127 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_128 = lean_ctor_get(x_3, 5); -lean_inc(x_128); -x_129 = lean_ctor_get(x_3, 6); -lean_inc(x_129); -x_130 = lean_ctor_get(x_3, 7); -lean_inc(x_130); -x_131 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_132 = x_3; +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_30 = x_26; } else { - lean_dec_ref(x_3); - x_132 = lean_box(0); + lean_dec_ref(x_26); + x_30 = lean_box(0); } -if (lean_is_scalar(x_132)) { - x_133 = lean_alloc_ctor(0, 8, 4); +if (lean_is_scalar(x_30)) { + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_133 = x_132; + x_31 = x_30; } -lean_ctor_set(x_133, 0, x_121); -lean_ctor_set(x_133, 1, x_122); -lean_ctor_set(x_133, 2, x_123); -lean_ctor_set(x_133, 3, x_124); -lean_ctor_set(x_133, 4, x_113); -lean_ctor_set(x_133, 5, x_128); -lean_ctor_set(x_133, 6, x_129); -lean_ctor_set(x_133, 7, x_130); -lean_ctor_set_uint8(x_133, sizeof(void*)*8, x_125); -lean_ctor_set_uint8(x_133, sizeof(void*)*8 + 1, x_126); -lean_ctor_set_uint8(x_133, sizeof(void*)*8 + 2, x_127); -lean_ctor_set_uint8(x_133, sizeof(void*)*8 + 3, x_131); -x_134 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(x_2, x_133, x_4, x_5, x_6, x_7, x_8, x_120); -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(x_135, 0); -lean_inc(x_137); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - x_138 = x_135; -} else { - lean_dec_ref(x_135); - x_138 = lean_box(0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; } -x_139 = l_Lean_Elab_Term_getCurrMacroScope(x_133, x_4, x_5, x_6, x_7, x_8, x_136); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_133); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_141); -lean_dec(x_8); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_145 = x_142; -} else { - lean_dec_ref(x_142); - x_145 = lean_box(0); } -x_146 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; -x_147 = l_Lean_addMacroScope(x_143, x_146, x_140); -x_148 = lean_box(0); -x_149 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -x_150 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_150, 0, x_137); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_147); -lean_ctor_set(x_150, 3, x_148); -lean_inc(x_150); -x_151 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed), 10, 2); -lean_closure_set(x_151, 0, x_150); -lean_closure_set(x_151, 1, x_16); -x_152 = lean_unsigned_to_nat(2u); -x_153 = l_Lean_Syntax_setArg(x_1, x_152, x_150); -if (lean_is_scalar(x_138)) { - x_154 = lean_alloc_ctor(0, 2, 0); -} else { - x_154 = x_138; +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; } -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_151); -if (lean_is_scalar(x_145)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_145; +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +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; } -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_144); -return x_155; } } } else { -lean_object* x_164; lean_object* x_165; +lean_object* x_45; lean_object* x_46; lean_dec(x_1); -x_164 = lean_box(0); -x_165 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(x_11, x_10, x_164, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_165; +x_45 = lean_box(0); +x_46 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(x_11, x_10, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_46; } } } else { -lean_object* x_166; lean_object* x_167; +lean_object* x_47; lean_object* 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); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_1); -lean_ctor_set(x_166, 1, x_2); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_9); -return x_167; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_1); +lean_ctor_set(x_47, 1, x_2); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_9); +return x_48; } } } @@ -2279,11 +2091,33 @@ x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Te return x_14; } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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) { _start: { lean_object* x_9; -x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -2293,28 +2127,6 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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: { @@ -2338,6 +2150,20 @@ lean_dec(x_4); return x_11; } } +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__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); +return x_11; +} +} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2740,7 +2566,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -2841,7 +2667,7 @@ else 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; uint8_t x_71; lean_dec(x_9); lean_dec(x_1); -x_64 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_64 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -3877,7 +3703,7 @@ size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_1 x_14 = 1; x_15 = x_3 - x_14; x_16 = lean_array_uget(x_2, x_15); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -4544,7 +4370,7 @@ return x_16; else { 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; lean_object* x_65; lean_object* x_66; -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_11, x_12, x_13); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_11, x_12, x_13); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -5032,7 +4858,7 @@ lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_33); +x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_33); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -5241,7 +5067,7 @@ lean_inc(x_121); x_122 = lean_ctor_get(x_120, 1); lean_inc(x_122); lean_dec(x_120); -x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_122); +x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_122); x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); x_125 = lean_ctor_get(x_123, 1); @@ -5456,7 +5282,7 @@ lean_inc(x_213); x_214 = lean_ctor_get(x_212, 1); lean_inc(x_214); lean_dec(x_212); -x_215 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_214); +x_215 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -5566,7 +5392,7 @@ return x_273; else { lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; size_t x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_287 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_17); +x_287 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_17); x_288 = lean_ctor_get(x_287, 0); lean_inc(x_288); x_289 = lean_ctor_get(x_287, 1); @@ -5814,7 +5640,7 @@ lean_inc(x_385); x_386 = lean_ctor_get(x_384, 1); lean_inc(x_386); lean_dec(x_384); -x_387 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_386); +x_387 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_386); x_388 = lean_ctor_get(x_387, 0); lean_inc(x_388); x_389 = lean_ctor_get(x_387, 1); @@ -6018,7 +5844,7 @@ lean_inc(x_473); x_474 = lean_ctor_get(x_472, 1); lean_inc(x_474); lean_dec(x_472); -x_475 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_474); +x_475 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_474); x_476 = lean_ctor_get(x_475, 0); lean_inc(x_476); x_477 = lean_ctor_get(x_475, 1); @@ -6224,7 +6050,7 @@ lean_inc(x_561); x_562 = lean_ctor_get(x_560, 1); lean_inc(x_562); lean_dec(x_560); -x_563 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_562); +x_563 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_562); x_564 = lean_ctor_get(x_563, 0); lean_inc(x_564); x_565 = lean_ctor_get(x_563, 1); @@ -7319,7 +7145,7 @@ else { lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_dec(x_114); -x_137 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_17); +x_137 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_17); x_138 = lean_ctor_get(x_137, 0); lean_inc(x_138); x_139 = lean_ctor_get(x_137, 1); @@ -7398,7 +7224,7 @@ lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_dec(x_116); lean_dec(x_114); lean_dec(x_20); -x_169 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_15, x_16, x_17); +x_169 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_15, x_16, x_17); x_170 = lean_ctor_get(x_169, 0); lean_inc(x_170); x_171 = lean_ctor_get(x_169, 1); @@ -8235,7 +8061,7 @@ x_18 = l_List_append___rarg(x_17, x_2); x_166 = lean_box(0); lean_inc(x_1); x_167 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_166, x_1); -x_168 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_14); +x_168 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_14); if (lean_obj_tag(x_167) == 0) { lean_object* x_169; lean_object* x_170; lean_object* x_171; @@ -8990,7 +8816,7 @@ lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; x_144 = lean_ctor_get(x_142, 1); x_145 = lean_ctor_get(x_142, 0); lean_dec(x_145); -x_146 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_146 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); x_148 = lean_ctor_get(x_146, 1); @@ -9373,7 +9199,7 @@ lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; x_332 = lean_ctor_get(x_142, 1); lean_inc(x_332); lean_dec(x_142); -x_333 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_333 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_334 = lean_ctor_get(x_333, 0); lean_inc(x_334); x_335 = lean_ctor_get(x_333, 1); @@ -9660,7 +9486,7 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_29); +x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_29); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -9962,7 +9788,7 @@ lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; x_417 = lean_ctor_get(x_1, 1); x_418 = lean_ctor_get(x_1, 0); lean_dec(x_418); -x_419 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_419 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_420 = lean_ctor_get(x_419, 0); lean_inc(x_420); x_421 = lean_ctor_get(x_419, 1); @@ -10083,7 +9909,7 @@ lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; x_471 = lean_ctor_get(x_1, 1); lean_inc(x_471); lean_dec(x_1); -x_472 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_472 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_473 = lean_ctor_get(x_472, 0); lean_inc(x_473); x_474 = lean_ctor_get(x_472, 1); @@ -10181,7 +10007,7 @@ lean_dec(x_509); if (x_511 == 0) { lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; -x_512 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_512 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_513 = lean_ctor_get(x_512, 0); lean_inc(x_513); x_514 = lean_ctor_get(x_512, 1); @@ -10447,7 +10273,7 @@ lean_dec(x_632); if (x_634 == 0) { lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; -x_635 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_635 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_636 = lean_ctor_get(x_635, 0); lean_inc(x_636); x_637 = lean_ctor_get(x_635, 1); @@ -11306,7 +11132,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_12); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_12); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -12015,7 +11841,7 @@ x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__15; return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1() { _start: { lean_object* x_1; @@ -12023,17 +11849,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3() { _start: { lean_object* x_1; @@ -12041,17 +11867,17 @@ x_1 = lean_mk_string("declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5() { _start: { lean_object* x_1; @@ -12059,17 +11885,17 @@ x_1 = lean_mk_string("declModifiers"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7() { _start: { lean_object* x_1; @@ -12077,17 +11903,17 @@ x_1 = lean_mk_string("attributes"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9() { _start: { lean_object* x_1; @@ -12095,7 +11921,7 @@ x_1 = lean_mk_string("@["); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10() { _start: { lean_object* x_1; @@ -12103,17 +11929,17 @@ x_1 = lean_mk_string("attrInstance"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12() { _start: { lean_object* x_1; @@ -12121,17 +11947,17 @@ x_1 = lean_mk_string("attrKind"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -12141,19 +11967,19 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16() { _start: { lean_object* x_1; @@ -12161,17 +11987,17 @@ x_1 = lean_mk_string("Attr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18() { _start: { lean_object* x_1; @@ -12179,17 +12005,17 @@ x_1 = lean_mk_string("simple"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20() { _start: { lean_object* x_1; @@ -12197,22 +12023,22 @@ x_1 = lean_mk_string("builtinTermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12220,27 +12046,27 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25() { _start: { lean_object* x_1; @@ -12248,7 +12074,7 @@ x_1 = lean_mk_string("]"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -12258,7 +12084,7 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27() { _start: { lean_object* x_1; @@ -12266,17 +12092,17 @@ x_1 = lean_mk_string("def"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29() { _start: { lean_object* x_1; @@ -12284,17 +12110,17 @@ x_1 = lean_mk_string("declId"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31() { _start: { lean_object* x_1; @@ -12302,22 +12128,22 @@ x_1 = lean_mk_string("elabQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12325,17 +12151,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35() { _start: { lean_object* x_1; @@ -12343,17 +12169,17 @@ x_1 = lean_mk_string("optDeclSig"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37() { _start: { lean_object* x_1; @@ -12361,17 +12187,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39() { _start: { lean_object* x_1; @@ -12379,7 +12205,7 @@ x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40() { _start: { lean_object* x_1; @@ -12387,22 +12213,22 @@ x_1 = lean_mk_string("TermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12410,51 +12236,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44; 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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45; 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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47() { _start: { lean_object* x_1; @@ -12462,17 +12288,17 @@ x_1 = lean_mk_string("declValSimple"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49() { _start: { lean_object* x_1; @@ -12480,22 +12306,22 @@ x_1 = lean_mk_string("adaptExpander"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12503,51 +12329,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53; 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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54; 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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56() { _start: { lean_object* x_1; @@ -12555,22 +12381,22 @@ x_1 = lean_mk_string("stxQuot.expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12578,7 +12404,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59() { _start: { lean_object* x_1; @@ -12586,17 +12412,17 @@ x_1 = lean_mk_string("stxQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61() { _start: { lean_object* x_1; @@ -12604,61 +12430,61 @@ x_1 = lean_mk_string("expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__5; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64; 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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65; 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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -12682,7 +12508,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -12693,17 +12519,17 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9; +x_15 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23; +x_17 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23; lean_inc(x_13); lean_inc(x_14); x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); x_19 = lean_box(0); -x_20 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22; +x_20 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); @@ -12719,13 +12545,13 @@ lean_ctor_set(x_25, 1, x_23); x_26 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_27 = lean_array_push(x_26, x_21); x_28 = lean_array_push(x_27, x_25); -x_29 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19; +x_29 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19; 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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24; +x_31 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11; +x_33 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -12733,7 +12559,7 @@ x_35 = lean_array_push(x_22, x_34); x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_24); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25; +x_37 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25; lean_inc(x_12); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_12); @@ -12742,7 +12568,7 @@ x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_ x_40 = lean_array_push(x_39, x_16); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); -x_43 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8; +x_43 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); @@ -12750,27 +12576,27 @@ x_45 = lean_array_push(x_22, x_44); x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_24); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26; +x_47 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26; x_48 = lean_array_push(x_47, x_46); x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; x_50 = lean_array_push(x_48, x_49); x_51 = lean_array_push(x_50, x_49); x_52 = lean_array_push(x_51, x_49); x_53 = lean_array_push(x_52, x_49); -x_54 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6; +x_54 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27; +x_56 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27; lean_inc(x_12); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_12); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34; +x_58 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34; lean_inc(x_13); lean_inc(x_14); x_59 = l_Lean_addMacroScope(x_14, x_58, x_13); -x_60 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33; +x_60 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33; lean_inc(x_12); x_61 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_61, 0, x_12); @@ -12779,21 +12605,21 @@ lean_ctor_set(x_61, 2, x_59); lean_ctor_set(x_61, 3, x_19); x_62 = lean_array_push(x_26, x_61); x_63 = lean_array_push(x_62, x_49); -x_64 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30; +x_64 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39; +x_66 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39; lean_inc(x_12); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_12); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43; +x_68 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43; lean_inc(x_13); lean_inc(x_14); x_69 = l_Lean_addMacroScope(x_14, x_68, x_13); -x_70 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42; -x_71 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46; +x_70 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42; +x_71 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46; lean_inc(x_12); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_12); @@ -12802,7 +12628,7 @@ lean_ctor_set(x_72, 2, x_69); lean_ctor_set(x_72, 3, x_71); x_73 = lean_array_push(x_26, x_67); x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38; +x_75 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -12812,7 +12638,7 @@ lean_ctor_set(x_78, 0, x_24); lean_ctor_set(x_78, 1, x_77); x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_80 = lean_array_push(x_79, x_78); -x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; +x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36; x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_81); lean_ctor_set(x_82, 1, x_80); @@ -12821,22 +12647,22 @@ lean_inc(x_12); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_12); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52; +x_85 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52; lean_inc(x_13); lean_inc(x_14); x_86 = l_Lean_addMacroScope(x_14, x_85, x_13); -x_87 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51; -x_88 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55; +x_87 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51; +x_88 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55; lean_inc(x_12); x_89 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_89, 0, x_12); lean_ctor_set(x_89, 1, x_87); lean_ctor_set(x_89, 2, x_86); lean_ctor_set(x_89, 3, x_88); -x_90 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62; +x_90 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62; x_91 = l_Lean_addMacroScope(x_14, x_90, x_13); -x_92 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58; -x_93 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66; +x_92 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58; +x_93 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66; x_94 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_94, 0, x_12); lean_ctor_set(x_94, 1, x_92); @@ -12855,7 +12681,7 @@ lean_ctor_set(x_100, 1, x_98); x_101 = lean_array_push(x_39, x_84); x_102 = lean_array_push(x_101, x_100); x_103 = lean_array_push(x_102, x_49); -x_104 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48; +x_104 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -12864,13 +12690,13 @@ x_107 = lean_array_push(x_106, x_57); x_108 = lean_array_push(x_107, x_65); x_109 = lean_array_push(x_108, x_82); x_110 = lean_array_push(x_109, x_105); -x_111 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28; +x_111 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28; 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_26, x_55); x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4; +x_115 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4; x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_115); lean_ctor_set(x_116, 1, x_114); @@ -12890,17 +12716,17 @@ lean_inc(x_119); x_120 = lean_ctor_get(x_2, 1); lean_inc(x_120); lean_dec(x_2); -x_121 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9; +x_121 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9; lean_inc(x_117); x_122 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_122, 0, x_117); lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23; +x_123 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23; lean_inc(x_119); lean_inc(x_120); x_124 = l_Lean_addMacroScope(x_120, x_123, x_119); x_125 = lean_box(0); -x_126 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22; +x_126 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22; lean_inc(x_117); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_117); @@ -12916,13 +12742,13 @@ lean_ctor_set(x_131, 1, x_129); x_132 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_133 = lean_array_push(x_132, x_127); x_134 = lean_array_push(x_133, x_131); -x_135 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19; +x_135 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24; +x_137 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24; x_138 = lean_array_push(x_137, x_136); -x_139 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11; +x_139 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); @@ -12930,7 +12756,7 @@ x_141 = lean_array_push(x_128, x_140); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_130); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25; +x_143 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25; lean_inc(x_117); x_144 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_144, 0, x_117); @@ -12939,7 +12765,7 @@ x_145 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab x_146 = lean_array_push(x_145, x_122); x_147 = lean_array_push(x_146, x_142); x_148 = lean_array_push(x_147, x_144); -x_149 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8; +x_149 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8; x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_148); @@ -12947,27 +12773,27 @@ x_151 = lean_array_push(x_128, x_150); x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_130); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26; +x_153 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26; x_154 = lean_array_push(x_153, x_152); x_155 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; x_156 = lean_array_push(x_154, x_155); x_157 = lean_array_push(x_156, x_155); x_158 = lean_array_push(x_157, x_155); x_159 = lean_array_push(x_158, x_155); -x_160 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6; +x_160 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6; x_161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_161, 0, x_160); lean_ctor_set(x_161, 1, x_159); -x_162 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27; +x_162 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27; lean_inc(x_117); x_163 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_163, 0, x_117); lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34; +x_164 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34; lean_inc(x_119); lean_inc(x_120); x_165 = l_Lean_addMacroScope(x_120, x_164, x_119); -x_166 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33; +x_166 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33; lean_inc(x_117); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_117); @@ -12976,21 +12802,21 @@ lean_ctor_set(x_167, 2, x_165); lean_ctor_set(x_167, 3, x_125); x_168 = lean_array_push(x_132, x_167); x_169 = lean_array_push(x_168, x_155); -x_170 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30; +x_170 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30; x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_170); lean_ctor_set(x_171, 1, x_169); -x_172 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39; +x_172 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39; lean_inc(x_117); x_173 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_173, 0, x_117); lean_ctor_set(x_173, 1, x_172); -x_174 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43; +x_174 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43; lean_inc(x_119); lean_inc(x_120); x_175 = l_Lean_addMacroScope(x_120, x_174, x_119); -x_176 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42; -x_177 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46; +x_176 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42; +x_177 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46; lean_inc(x_117); x_178 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_178, 0, x_117); @@ -12999,7 +12825,7 @@ lean_ctor_set(x_178, 2, x_175); lean_ctor_set(x_178, 3, x_177); x_179 = lean_array_push(x_132, x_173); x_180 = lean_array_push(x_179, x_178); -x_181 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38; +x_181 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38; x_182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_182, 0, x_181); lean_ctor_set(x_182, 1, x_180); @@ -13009,7 +12835,7 @@ lean_ctor_set(x_184, 0, x_130); lean_ctor_set(x_184, 1, x_183); x_185 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_186 = lean_array_push(x_185, x_184); -x_187 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; +x_187 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36; x_188 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_188, 0, x_187); lean_ctor_set(x_188, 1, x_186); @@ -13018,22 +12844,22 @@ lean_inc(x_117); x_190 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_190, 0, x_117); lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52; +x_191 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52; lean_inc(x_119); lean_inc(x_120); x_192 = l_Lean_addMacroScope(x_120, x_191, x_119); -x_193 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51; -x_194 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55; +x_193 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51; +x_194 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55; lean_inc(x_117); x_195 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_195, 0, x_117); lean_ctor_set(x_195, 1, x_193); lean_ctor_set(x_195, 2, x_192); lean_ctor_set(x_195, 3, x_194); -x_196 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62; +x_196 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62; x_197 = l_Lean_addMacroScope(x_120, x_196, x_119); -x_198 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58; -x_199 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66; +x_198 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58; +x_199 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66; x_200 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_200, 0, x_117); lean_ctor_set(x_200, 1, x_198); @@ -13052,7 +12878,7 @@ lean_ctor_set(x_206, 1, x_204); x_207 = lean_array_push(x_145, x_190); x_208 = lean_array_push(x_207, x_206); x_209 = lean_array_push(x_208, x_155); -x_210 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48; +x_210 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48; x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_210); lean_ctor_set(x_211, 1, x_209); @@ -13061,13 +12887,13 @@ x_213 = lean_array_push(x_212, x_163); x_214 = lean_array_push(x_213, x_171); x_215 = lean_array_push(x_214, x_188); x_216 = lean_array_push(x_215, x_211); -x_217 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28; +x_217 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28; x_218 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_218, 0, x_217); lean_ctor_set(x_218, 1, x_216); x_219 = lean_array_push(x_132, x_161); x_220 = lean_array_push(x_219, x_218); -x_221 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4; +x_221 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4; x_222 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_222, 0, x_221); lean_ctor_set(x_222, 1, x_220); @@ -13079,7 +12905,7 @@ return x_223; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1() { _start: { lean_object* x_1; @@ -13087,162 +12913,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_stxQuot_expand), 8, return x_1; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_(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_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; -x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Level"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("quot"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__5; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_@"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8; -x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9; -x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_hyg"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; -x_2 = lean_unsigned_to_nat(3188u); -x_3 = lean_name_mk_numeral(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193_(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_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13250,24 +12925,126 @@ return x_11; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Level"); +return x_1; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("quot"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__5; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_@"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8; +x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9; +x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_hyg"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3193u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14() { _start: { lean_object* x_1; @@ -13280,9 +13057,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13291,7 +13068,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13299,42 +13076,24 @@ return x_11; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("funBinder"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3198u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3() { _start: { lean_object* x_1; @@ -13347,9 +13106,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13358,7 +13117,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13367,7 +13126,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("bracketedBinder"); +x_1 = lean_mk_string("funBinder"); return x_1; } } @@ -13386,7 +13145,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13395,7 +13154,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3203u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; @@ -13425,7 +13184,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13433,24 +13192,42 @@ return x_11; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("bracketedBinder"); +return x_1; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3208u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5() { _start: { lean_object* x_1; @@ -13463,9 +13240,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13474,7 +13251,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13482,42 +13259,24 @@ return x_11; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3213u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3() { _start: { lean_object* x_1; @@ -13530,9 +13289,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13541,7 +13300,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13550,7 +13309,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("quotSeq"); +x_1 = lean_mk_string("Tactic"); return x_1; } } @@ -13558,7 +13317,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -13568,13 +13327,23 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3218u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5() { _start: { lean_object* x_1; @@ -13587,9 +13356,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13598,7 +13367,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13607,7 +13376,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("stx"); +x_1 = lean_mk_string("quotSeq"); return x_1; } } @@ -13615,7 +13384,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__2; x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -13625,23 +13394,13 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3223u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4() { _start: { lean_object* x_1; @@ -13654,9 +13413,9 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -13665,7 +13424,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13674,7 +13433,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("prec"); +x_1 = lean_mk_string("stx"); return x_1; } } @@ -13693,7 +13452,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13702,7 +13461,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3228u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; @@ -13732,7 +13491,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13741,7 +13500,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("attr"); +x_1 = lean_mk_string("prec"); return x_1; } } @@ -13760,7 +13519,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13769,7 +13528,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3233u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; @@ -13799,7 +13558,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13808,7 +13567,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("prio"); +x_1 = lean_mk_string("attr"); return x_1; } } @@ -13827,7 +13586,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13836,7 +13595,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3238u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; @@ -13866,7 +13625,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13875,7 +13634,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("doElem"); +x_1 = lean_mk_string("prio"); return x_1; } } @@ -13894,7 +13653,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13903,7 +13662,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3243u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; @@ -13933,7 +13692,7 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } @@ -13942,7 +13701,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; -x_1 = lean_mk_string("dynamicQuot"); +x_1 = lean_mk_string("doElem"); return x_1; } } @@ -13960,13 +13719,23 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; x_2 = lean_unsigned_to_nat(3248u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5() { _start: { lean_object* x_1; @@ -13979,9 +13748,66 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_(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_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; +x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("dynamicQuot"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12; +x_2 = lean_unsigned_to_nat(3253u); +x_3 = lean_name_mk_numeral(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -14962,7 +14788,7 @@ x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_T x_10 = lean_array_push(x_9, x_6); x_11 = lean_array_push(x_10, x_1); x_12 = lean_array_push(x_11, x_8); -x_13 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; +x_13 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); @@ -15152,7 +14978,7 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; x_12 = lean_ctor_get(x_1, 0); x_13 = lean_ctor_get(x_1, 1); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -15243,7 +15069,7 @@ x_53 = lean_ctor_get(x_1, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_1); -x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_8); +x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_6, x_7, x_8); x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); x_56 = lean_ctor_get(x_54, 1); @@ -15434,7 +15260,7 @@ 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; 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; uint8_t x_80; x_26 = lean_ctor_get(x_15, 0); x_27 = lean_ctor_get(x_15, 1); -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_20, x_21, x_22); +x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_20, x_21, x_22); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); @@ -15592,7 +15418,7 @@ x_88 = lean_ctor_get(x_15, 1); lean_inc(x_88); lean_inc(x_87); lean_dec(x_15); -x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_20, x_21, x_22); +x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_20, x_21, x_22); x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); x_91 = lean_ctor_get(x_89, 1); @@ -15825,7 +15651,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -16018,7 +15844,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -16211,7 +16037,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -16497,7 +16323,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -16690,7 +16516,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -16883,7 +16709,7 @@ else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_16, x_17, x_18); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -17056,7 +16882,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead _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; uint8_t x_18; -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_10); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -17772,7 +17598,7 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_22); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -18311,7 +18137,7 @@ lean_dec(x_14); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -18411,7 +18237,7 @@ else { lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec(x_2); -x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); x_71 = lean_ctor_get(x_69, 1); @@ -18514,7 +18340,7 @@ else lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_dec(x_14); lean_dec(x_2); -x_120 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_120 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); x_122 = lean_ctor_get(x_120, 1); @@ -18579,7 +18405,7 @@ else { lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_13); -x_154 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_154 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_155 = lean_ctor_get(x_154, 0); lean_inc(x_155); x_156 = lean_ctor_get(x_154, 1); @@ -18679,7 +18505,7 @@ return x_203; else { lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_12); +x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_12); x_205 = lean_ctor_get(x_204, 0); lean_inc(x_205); x_206 = lean_ctor_get(x_204, 1); @@ -19174,7 +19000,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_16); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -19347,7 +19173,7 @@ lean_inc(x_100); x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); lean_dec(x_99); -x_102 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_101); +x_102 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_101); x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); x_104 = lean_ctor_get(x_102, 1); @@ -19748,7 +19574,7 @@ x_335 = lean_array_get_size(x_10); x_336 = lean_unsigned_to_nat(1u); x_337 = lean_nat_dec_eq(x_335, x_336); lean_dec(x_335); -x_338 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_19); +x_338 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_19); if (x_337 == 0) { lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; @@ -19885,7 +19711,7 @@ lean_inc(x_21); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_21); lean_ctor_set(x_67, 1, x_66); -x_68 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_68 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; lean_inc(x_1); x_69 = lean_name_mk_string(x_1, x_68); x_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; @@ -20237,7 +20063,7 @@ lean_inc(x_21); x_220 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_220, 0, x_21); lean_ctor_set(x_220, 1, x_219); -x_221 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; +x_221 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; lean_inc(x_1); x_222 = lean_name_mk_string(x_1, x_221); x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; @@ -20556,7 +20382,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -20632,7 +20458,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -20708,7 +20534,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -20784,7 +20610,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -20860,7 +20686,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -20936,7 +20762,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_17, x_18, x_30); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -21348,7 +21174,7 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_22); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -21418,7 +21244,7 @@ return x_54; 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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_31); +x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_31); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); @@ -21480,7 +21306,7 @@ lean_inc(x_78); x_79 = lean_ctor_get(x_20, 1); lean_inc(x_79); lean_dec(x_20); -x_80 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_79); +x_80 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_79); x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); x_82 = lean_ctor_get(x_80, 1); @@ -21551,7 +21377,7 @@ return x_111; else { lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_112 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_88); +x_112 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_88); x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); x_114 = lean_ctor_get(x_112, 1); @@ -21622,7 +21448,7 @@ lean_dec(x_137); if (x_139 == 0) { lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_140 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_136); +x_140 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_136); x_141 = lean_ctor_get(x_140, 0); lean_inc(x_141); x_142 = lean_ctor_get(x_140, 1); @@ -21693,7 +21519,7 @@ return x_171; else { lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_172 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_148); +x_172 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_148); x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); x_174 = lean_ctor_get(x_172, 1); @@ -21745,7 +21571,7 @@ else { lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_dec(x_11); -x_194 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_136); +x_194 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_136); x_195 = lean_ctor_get(x_194, 0); lean_inc(x_195); x_196 = lean_ctor_get(x_194, 1); @@ -21775,7 +21601,7 @@ lean_ctor_set(x_207, 3, x_206); x_208 = lean_array_get_size(x_14); lean_inc(x_208); x_209 = lean_mk_array(x_208, x_207); -x_210 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_202); +x_210 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_202); x_211 = lean_ctor_get(x_210, 0); lean_inc(x_211); x_212 = lean_ctor_get(x_210, 1); @@ -21922,7 +21748,7 @@ x_280 = lean_usize_of_nat(x_279); lean_dec(x_279); x_281 = 0; x_282 = x_209; -x_283 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_280, x_281, x_282); +x_283 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_280, x_281, x_282); x_284 = x_283; lean_inc(x_278); x_285 = l_Array_append___rarg(x_278, x_284); @@ -21991,7 +21817,7 @@ x_313 = lean_array_push(x_272, x_310); x_314 = lean_array_push(x_313, x_312); lean_inc(x_271); x_315 = lean_array_push(x_314, x_271); -x_316 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; +x_316 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; x_317 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_317, 0, x_316); lean_ctor_set(x_317, 1, x_315); @@ -22212,7 +22038,7 @@ x_435 = lean_usize_of_nat(x_434); lean_dec(x_434); x_436 = 0; x_437 = x_209; -x_438 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_435, x_436, x_437); +x_438 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_435, x_436, x_437); x_439 = x_438; lean_inc(x_433); x_440 = l_Array_append___rarg(x_433, x_439); @@ -22281,7 +22107,7 @@ x_468 = lean_array_push(x_427, x_465); x_469 = lean_array_push(x_468, x_467); lean_inc(x_426); x_470 = lean_array_push(x_469, x_426); -x_471 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1; +x_471 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; x_472 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_472, 0, x_471); lean_ctor_set(x_472, 1, x_470); @@ -22385,7 +22211,7 @@ lean_inc(x_528); x_529 = lean_ctor_get(x_20, 1); lean_inc(x_529); lean_dec(x_20); -x_530 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_529); +x_530 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_529); x_531 = lean_ctor_get(x_530, 0); lean_inc(x_531); x_532 = lean_ctor_get(x_530, 1); @@ -22456,7 +22282,7 @@ return x_561; else { lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; -x_562 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_538); +x_562 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_538); x_563 = lean_ctor_get(x_562, 0); lean_inc(x_563); x_564 = lean_ctor_get(x_562, 1); @@ -22514,7 +22340,7 @@ lean_inc(x_584); x_585 = lean_ctor_get(x_20, 1); lean_inc(x_585); lean_dec(x_20); -x_586 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_585); +x_586 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_585); x_587 = lean_ctor_get(x_586, 0); lean_inc(x_587); x_588 = lean_ctor_get(x_586, 1); @@ -22585,7 +22411,7 @@ return x_617; else { lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_618 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_594); +x_618 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_594); x_619 = lean_ctor_get(x_618, 0); lean_inc(x_619); x_620 = lean_ctor_get(x_618, 1); @@ -22644,7 +22470,7 @@ lean_inc(x_640); x_641 = lean_ctor_get(x_20, 1); lean_inc(x_641); lean_dec(x_20); -x_642 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_641); +x_642 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_641); x_643 = lean_ctor_get(x_642, 0); lean_inc(x_643); x_644 = lean_ctor_get(x_642, 1); @@ -22715,7 +22541,7 @@ return x_673; else { lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_674 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_8, x_9, x_650); +x_674 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_650); x_675 = lean_ctor_get(x_674, 0); lean_inc(x_675); x_676 = lean_ctor_get(x_674, 1); @@ -23121,7 +22947,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_dec(x_15); -x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_11); +x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_11); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -23434,7 +23260,7 @@ 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; lean_object* x_206; uint8_t x_207; lean_dec(x_17); lean_dec(x_15); -x_200 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_11); +x_200 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_11); x_201 = lean_ctor_get(x_200, 0); lean_inc(x_201); x_202 = lean_ctor_get(x_200, 1); @@ -23633,7 +23459,7 @@ else lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; lean_dec(x_17); lean_dec(x_15); -x_304 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_11); +x_304 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_11); x_305 = lean_ctor_get(x_304, 0); lean_inc(x_305); x_306 = lean_ctor_get(x_304, 1); @@ -24056,7 +23882,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_19); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_19); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); @@ -24486,7 +24312,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead _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; -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_7, x_8, x_9); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(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); @@ -26566,1268 +26392,468 @@ return x_3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___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; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_12 = l_List_redLength___rarg(x_1); -x_13 = lean_mk_empty_array_with_capacity(x_12); -lean_dec(x_12); -lean_inc(x_1); -x_14 = l_List_toArrayAux___rarg(x_1, x_13); -x_15 = lean_st_ref_take(x_10, x_11); -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_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_add(x_19, x_20); -lean_ctor_set(x_16, 1, x_21); -x_22 = lean_st_ref_set(x_10, x_16, x_17); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = !lean_is_exclusive(x_5); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_5, 4); -lean_dec(x_25); -lean_ctor_set(x_5, 4, x_19); +lean_object* x_12; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_26 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_23); -lean_dec(x_14); -if (lean_obj_tag(x_26) == 0) +x_12 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_array_get_size(x_27); -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_nat_dec_eq(x_29, x_30); -lean_dec(x_29); -if (x_31 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +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_array_get_size(x_13); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_15); +if (x_17 == 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; 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; uint8_t x_62; -x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_28); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -x_42 = l_Lean_addMacroScope(x_39, x_41, x_36); -x_43 = lean_box(0); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -x_46 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -x_47 = l_Array_append___rarg(x_46, x_27); -lean_dec(x_27); -x_48 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -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_Quotation_mkTuple___closed__12; -x_51 = lean_array_push(x_50, x_45); -lean_inc(x_49); -x_52 = lean_array_push(x_51, x_49); -x_53 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_40); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_57); +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; uint8_t x_48; +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_14); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_20); +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 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_23); +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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; +x_28 = l_Lean_addMacroScope(x_25, x_27, x_22); +x_29 = lean_box(0); +x_30 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; +x_31 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_28); +lean_ctor_set(x_31, 3, x_29); +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +x_33 = l_Array_append___rarg(x_32, x_13); +lean_dec(x_13); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__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 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; +x_37 = lean_array_push(x_36, x_31); +lean_inc(x_35); +x_38 = lean_array_push(x_37, x_35); +x_39 = l_Lean_Elab_Term_Quotation_mkTuple___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 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_26); +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_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_43); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_60); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_46); lean_dec(x_10); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_63 = lean_ctor_get(x_61, 0); -x_64 = l_Lean_addMacroScope(x_63, x_41, x_59); -lean_inc(x_56); -x_65 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_65, 0, x_56); -lean_ctor_set(x_65, 1, x_44); -lean_ctor_set(x_65, 2, x_64); -lean_ctor_set(x_65, 3, x_43); -x_66 = lean_array_push(x_50, x_49); -x_67 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_68 = lean_array_push(x_66, x_67); -x_69 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_72 = lean_array_push(x_71, x_70); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_48); -lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_56); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_49 = lean_ctor_get(x_47, 0); +x_50 = l_Lean_addMacroScope(x_49, x_27, x_45); +lean_inc(x_42); +x_51 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_51, 0, x_42); +lean_ctor_set(x_51, 1, x_30); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_51, 3, x_29); +x_52 = lean_array_push(x_36, x_35); +x_53 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; +x_54 = lean_array_push(x_52, x_53); +x_55 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_58 = lean_array_push(x_57, x_56); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_34); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_42); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_63 = lean_array_push(x_62, x_51); +x_64 = lean_array_push(x_63, x_59); +x_65 = lean_array_push(x_64, x_53); +x_66 = lean_array_push(x_65, x_61); +x_67 = lean_array_push(x_66, x_2); +x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = lean_array_push(x_57, x_69); +x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +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_3, x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_4); +lean_ctor_set(x_74, 1, x_40); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); -x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_77 = lean_array_push(x_76, x_65); -x_78 = lean_array_push(x_77, x_73); -x_79 = lean_array_push(x_78, x_67); -x_80 = lean_array_push(x_79, x_75); -x_81 = lean_array_push(x_80, x_2); -x_82 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -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_71, x_83); -x_85 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -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 = lean_array_push(x_3, x_86); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_1); -lean_ctor_set(x_88, 1, x_54); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_47, 0, x_75); +return x_47; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_76 = lean_ctor_get(x_47, 0); +x_77 = lean_ctor_get(x_47, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_47); +x_78 = l_Lean_addMacroScope(x_76, x_27, x_45); +lean_inc(x_42); +x_79 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_79, 0, x_42); +lean_ctor_set(x_79, 1, x_30); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set(x_79, 3, x_29); +x_80 = lean_array_push(x_36, x_35); +x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; +x_82 = lean_array_push(x_80, x_81); +x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; +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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_86 = lean_array_push(x_85, x_84); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_34); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_42); lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_61, 0, x_89); -return x_61; -} -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; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_90 = lean_ctor_get(x_61, 0); -x_91 = lean_ctor_get(x_61, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_61); -x_92 = l_Lean_addMacroScope(x_90, x_41, x_59); -lean_inc(x_56); -x_93 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_93, 0, x_56); -lean_ctor_set(x_93, 1, x_44); -lean_ctor_set(x_93, 2, x_92); -lean_ctor_set(x_93, 3, x_43); -x_94 = lean_array_push(x_50, x_49); -x_95 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_96 = lean_array_push(x_94, x_95); -x_97 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_100 = lean_array_push(x_99, x_98); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_48); -lean_ctor_set(x_101, 1, x_100); -x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_56); +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_91 = lean_array_push(x_90, x_79); +x_92 = lean_array_push(x_91, x_87); +x_93 = lean_array_push(x_92, x_81); +x_94 = lean_array_push(x_93, x_89); +x_95 = lean_array_push(x_94, x_2); +x_96 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_85, x_97); +x_99 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = lean_array_push(x_3, x_100); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_4); +lean_ctor_set(x_102, 1, x_40); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_101); lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_105 = lean_array_push(x_104, x_93); -x_106 = lean_array_push(x_105, x_101); -x_107 = lean_array_push(x_106, x_95); -x_108 = lean_array_push(x_107, x_103); -x_109 = lean_array_push(x_108, x_2); -x_110 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_array_push(x_99, x_111); -x_113 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -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_3, x_114); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_1); -lean_ctor_set(x_116, 1, x_54); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_91); -return x_118; +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_77); +return x_104; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -lean_dec(x_27); -x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_28); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_121); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_124); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -lean_inc(x_123); -lean_inc(x_126); -x_129 = l_Lean_addMacroScope(x_126, x_128, x_123); -x_130 = lean_box(0); -x_131 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -lean_inc(x_120); -x_132 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_132, 0, x_120); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set(x_132, 2, x_129); -lean_ctor_set(x_132, 3, x_130); -x_133 = l_Lean_Elab_Term_Quotation_mkTuple___closed__19; -x_134 = l_Lean_addMacroScope(x_126, x_133, x_123); -x_135 = l_Lean_Elab_Term_Quotation_mkTuple___closed__15; -x_136 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; -x_137 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_137, 0, x_120); -lean_ctor_set(x_137, 1, x_135); -lean_ctor_set(x_137, 2, x_134); -lean_ctor_set(x_137, 3, x_136); -x_138 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_139 = lean_array_push(x_138, x_137); -x_140 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_143 = lean_array_push(x_142, x_132); -x_144 = lean_array_push(x_143, x_141); -x_145 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_144); -x_147 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_127); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_149); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +lean_dec(x_13); +x_105 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_14); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_107); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_110); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; +lean_inc(x_109); +lean_inc(x_112); +x_115 = l_Lean_addMacroScope(x_112, x_114, x_109); +x_116 = lean_box(0); +x_117 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; +lean_inc(x_106); +x_118 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_118, 0, x_106); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_115); +lean_ctor_set(x_118, 3, x_116); +x_119 = l_Lean_Elab_Term_Quotation_mkTuple___closed__19; +x_120 = l_Lean_addMacroScope(x_112, x_119, x_109); +x_121 = l_Lean_Elab_Term_Quotation_mkTuple___closed__15; +x_122 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; +x_123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_123, 0, x_106); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_120); +lean_ctor_set(x_123, 3, x_122); +x_124 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_125 = lean_array_push(x_124, x_123); +x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; +x_129 = lean_array_push(x_128, x_118); +x_130 = lean_array_push(x_129, x_127); +x_131 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_113); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_135); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_152); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_138); lean_dec(x_10); -x_154 = !lean_is_exclusive(x_153); -if (x_154 == 0) +x_140 = !lean_is_exclusive(x_139); +if (x_140 == 0) { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_155 = lean_ctor_get(x_153, 0); -x_156 = l_Lean_addMacroScope(x_155, x_128, x_151); -lean_inc(x_148); -x_157 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_157, 0, x_148); -lean_ctor_set(x_157, 1, x_131); -lean_ctor_set(x_157, 2, x_156); -lean_ctor_set(x_157, 3, x_130); -x_158 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; -lean_inc(x_148); +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_141 = lean_ctor_get(x_139, 0); +x_142 = l_Lean_addMacroScope(x_141, x_114, x_137); +lean_inc(x_134); +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_134); +lean_ctor_set(x_143, 1, x_117); +lean_ctor_set(x_143, 2, x_142); +lean_ctor_set(x_143, 3, x_116); +x_144 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; +lean_inc(x_134); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_134); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_array_push(x_124, x_145); +x_147 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; +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_124, x_148); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_126); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_array_push(x_128, x_150); +x_152 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; +x_153 = lean_array_push(x_151, x_152); +x_154 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +x_156 = lean_array_push(x_124, x_155); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_126); +lean_ctor_set(x_157, 1, x_156); +x_158 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; x_159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_159, 0, x_148); +lean_ctor_set(x_159, 0, x_134); lean_ctor_set(x_159, 1, x_158); -x_160 = lean_array_push(x_138, x_159); -x_161 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = lean_array_push(x_138, x_162); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_140); -lean_ctor_set(x_164, 1, x_163); -x_165 = lean_array_push(x_142, x_164); -x_166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_167 = lean_array_push(x_165, x_166); -x_168 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_138, x_169); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_140); -lean_ctor_set(x_171, 1, x_170); -x_172 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_173 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_173, 0, x_148); +x_160 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_161 = lean_array_push(x_160, x_143); +x_162 = lean_array_push(x_161, x_157); +x_163 = lean_array_push(x_162, x_152); +x_164 = lean_array_push(x_163, x_159); +x_165 = lean_array_push(x_164, x_2); +x_166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_124, x_167); +x_169 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +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_3, x_170); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_4); +lean_ctor_set(x_172, 1, x_132); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_171); lean_ctor_set(x_173, 1, x_172); -x_174 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_175 = lean_array_push(x_174, x_157); -x_176 = lean_array_push(x_175, x_171); -x_177 = lean_array_push(x_176, x_166); -x_178 = lean_array_push(x_177, x_173); -x_179 = lean_array_push(x_178, x_2); -x_180 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -x_182 = lean_array_push(x_138, x_181); -x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +lean_ctor_set(x_139, 0, x_173); +return x_139; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_174 = lean_ctor_get(x_139, 0); +x_175 = lean_ctor_get(x_139, 1); +lean_inc(x_175); +lean_inc(x_174); +lean_dec(x_139); +x_176 = l_Lean_addMacroScope(x_174, x_114, x_137); +lean_inc(x_134); +x_177 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_177, 0, x_134); +lean_ctor_set(x_177, 1, x_117); +lean_ctor_set(x_177, 2, x_176); +lean_ctor_set(x_177, 3, x_116); +x_178 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; +lean_inc(x_134); +x_179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_179, 0, x_134); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_array_push(x_124, x_179); +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = lean_array_push(x_124, x_182); x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_182); -x_185 = lean_array_push(x_3, x_184); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_1); -lean_ctor_set(x_186, 1, x_146); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -lean_ctor_set(x_153, 0, x_187); -return x_153; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_188 = lean_ctor_get(x_153, 0); -x_189 = lean_ctor_get(x_153, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_153); -x_190 = l_Lean_addMacroScope(x_188, x_128, x_151); -lean_inc(x_148); -x_191 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_191, 0, x_148); -lean_ctor_set(x_191, 1, x_131); -lean_ctor_set(x_191, 2, x_190); -lean_ctor_set(x_191, 3, x_130); -x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; -lean_inc(x_148); +lean_ctor_set(x_184, 0, x_126); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_128, x_184); +x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; +x_187 = lean_array_push(x_185, x_186); +x_188 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_124, x_189); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_126); +lean_ctor_set(x_191, 1, x_190); +x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; x_193 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_193, 0, x_148); +lean_ctor_set(x_193, 0, x_134); lean_ctor_set(x_193, 1, x_192); -x_194 = lean_array_push(x_138, x_193); -x_195 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_array_push(x_138, x_196); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_140); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_array_push(x_142, x_198); -x_200 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_201 = lean_array_push(x_199, x_200); -x_202 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_201); -x_204 = lean_array_push(x_138, x_203); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_140); -lean_ctor_set(x_205, 1, x_204); -x_206 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_148); +x_194 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_195 = lean_array_push(x_194, x_177); +x_196 = lean_array_push(x_195, x_191); +x_197 = lean_array_push(x_196, x_186); +x_198 = lean_array_push(x_197, x_193); +x_199 = lean_array_push(x_198, x_2); +x_200 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = lean_array_push(x_124, x_201); +x_203 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +x_205 = lean_array_push(x_3, x_204); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_4); +lean_ctor_set(x_206, 1, x_132); +x_207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_207, 0, x_205); lean_ctor_set(x_207, 1, x_206); -x_208 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_209 = lean_array_push(x_208, x_191); -x_210 = lean_array_push(x_209, x_205); -x_211 = lean_array_push(x_210, x_200); -x_212 = lean_array_push(x_211, x_207); -x_213 = lean_array_push(x_212, x_2); -x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_array_push(x_138, x_215); -x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = lean_array_push(x_3, x_218); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_1); -lean_ctor_set(x_220, 1, x_146); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -x_222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_189); -return x_222; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_175); +return x_208; } } } else { -uint8_t x_223; +uint8_t x_209; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_223 = !lean_is_exclusive(x_26); -if (x_223 == 0) +x_209 = !lean_is_exclusive(x_12); +if (x_209 == 0) { -return x_26; +return x_12; } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_26, 0); -x_225 = lean_ctor_get(x_26, 1); -lean_inc(x_225); -lean_inc(x_224); -lean_dec(x_26); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -return x_226; +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_12, 0); +x_211 = lean_ctor_get(x_12, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_12); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; } } } -else +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; uint8_t x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; lean_object* x_238; lean_object* x_239; -x_227 = lean_ctor_get(x_5, 0); -x_228 = lean_ctor_get(x_5, 1); -x_229 = lean_ctor_get(x_5, 2); -x_230 = lean_ctor_get(x_5, 3); -x_231 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_232 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_233 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_234 = lean_ctor_get(x_5, 5); -x_235 = lean_ctor_get(x_5, 6); -x_236 = lean_ctor_get(x_5, 7); -x_237 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_236); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_5); -x_238 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_238, 0, x_227); -lean_ctor_set(x_238, 1, x_228); -lean_ctor_set(x_238, 2, x_229); -lean_ctor_set(x_238, 3, x_230); -lean_ctor_set(x_238, 4, x_19); -lean_ctor_set(x_238, 5, x_234); -lean_ctor_set(x_238, 6, x_235); -lean_ctor_set(x_238, 7, x_236); -lean_ctor_set_uint8(x_238, sizeof(void*)*8, x_231); -lean_ctor_set_uint8(x_238, sizeof(void*)*8 + 1, x_232); -lean_ctor_set_uint8(x_238, sizeof(void*)*8 + 2, x_233); -lean_ctor_set_uint8(x_238, sizeof(void*)*8 + 3, x_237); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_238); -x_239 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_14, x_238, x_6, x_7, x_8, x_9, x_10, x_23); -lean_dec(x_14); -if (lean_obj_tag(x_239) == 0) -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_array_get_size(x_240); -x_243 = lean_unsigned_to_nat(0u); -x_244 = lean_nat_dec_eq(x_242, x_243); -lean_dec(x_242); -if (x_244 == 0) -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_245 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_241); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_248 = l_Lean_Elab_Term_getCurrMacroScope(x_238, x_6, x_7, x_8, x_9, x_10, x_247); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -x_251 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_250); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -x_255 = l_Lean_addMacroScope(x_252, x_254, x_249); -x_256 = lean_box(0); -x_257 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -x_258 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_258, 0, x_246); -lean_ctor_set(x_258, 1, x_257); -lean_ctor_set(x_258, 2, x_255); -lean_ctor_set(x_258, 3, x_256); -x_259 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -x_260 = l_Array_append___rarg(x_259, x_240); -lean_dec(x_240); -x_261 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_264 = lean_array_push(x_263, x_258); -lean_inc(x_262); -x_265 = lean_array_push(x_264, x_262); -x_266 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_253); -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -lean_dec(x_268); -x_271 = l_Lean_Elab_Term_getCurrMacroScope(x_238, x_6, x_7, x_8, x_9, x_10, x_270); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_238); -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -lean_dec(x_271); -x_274 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_273); -lean_dec(x_10); -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - x_277 = x_274; -} else { - lean_dec_ref(x_274); - x_277 = lean_box(0); -} -x_278 = l_Lean_addMacroScope(x_275, x_254, x_272); -lean_inc(x_269); -x_279 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_279, 0, x_269); -lean_ctor_set(x_279, 1, x_257); -lean_ctor_set(x_279, 2, x_278); -lean_ctor_set(x_279, 3, x_256); -x_280 = lean_array_push(x_263, x_262); -x_281 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_282 = lean_array_push(x_280, x_281); -x_283 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -x_285 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_286 = lean_array_push(x_285, x_284); -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_261); -lean_ctor_set(x_287, 1, x_286); -x_288 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_289, 0, x_269); -lean_ctor_set(x_289, 1, x_288); -x_290 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_291 = lean_array_push(x_290, x_279); -x_292 = lean_array_push(x_291, x_287); -x_293 = lean_array_push(x_292, x_281); -x_294 = lean_array_push(x_293, x_289); -x_295 = lean_array_push(x_294, x_2); -x_296 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -x_298 = lean_array_push(x_285, x_297); -x_299 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_3, x_300); -x_302 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_302, 0, x_1); -lean_ctor_set(x_302, 1, x_267); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_301); -lean_ctor_set(x_303, 1, x_302); -if (lean_is_scalar(x_277)) { - x_304 = lean_alloc_ctor(0, 2, 0); -} else { - x_304 = x_277; -} -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_276); -return x_304; -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -lean_dec(x_240); -x_305 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_241); -x_306 = lean_ctor_get(x_305, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_305, 1); -lean_inc(x_307); -lean_dec(x_305); -x_308 = l_Lean_Elab_Term_getCurrMacroScope(x_238, x_6, x_7, x_8, x_9, x_10, x_307); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_310); -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); -lean_inc(x_313); -lean_dec(x_311); -x_314 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -lean_inc(x_309); -lean_inc(x_312); -x_315 = l_Lean_addMacroScope(x_312, x_314, x_309); -x_316 = lean_box(0); -x_317 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -lean_inc(x_306); -x_318 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_318, 0, x_306); -lean_ctor_set(x_318, 1, x_317); -lean_ctor_set(x_318, 2, x_315); -lean_ctor_set(x_318, 3, x_316); -x_319 = l_Lean_Elab_Term_Quotation_mkTuple___closed__19; -x_320 = l_Lean_addMacroScope(x_312, x_319, x_309); -x_321 = l_Lean_Elab_Term_Quotation_mkTuple___closed__15; -x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; -x_323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_323, 0, x_306); -lean_ctor_set(x_323, 1, x_321); -lean_ctor_set(x_323, 2, x_320); -lean_ctor_set(x_323, 3, x_322); -x_324 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_325 = lean_array_push(x_324, x_323); -x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_326); -lean_ctor_set(x_327, 1, x_325); -x_328 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_329 = lean_array_push(x_328, x_318); -x_330 = lean_array_push(x_329, x_327); -x_331 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_313); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); -lean_inc(x_335); -lean_dec(x_333); -x_336 = l_Lean_Elab_Term_getCurrMacroScope(x_238, x_6, x_7, x_8, x_9, x_10, x_335); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_238); -x_337 = lean_ctor_get(x_336, 0); -lean_inc(x_337); -x_338 = lean_ctor_get(x_336, 1); -lean_inc(x_338); -lean_dec(x_336); -x_339 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_338); -lean_dec(x_10); -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_339, 1); -lean_inc(x_341); -if (lean_is_exclusive(x_339)) { - lean_ctor_release(x_339, 0); - lean_ctor_release(x_339, 1); - x_342 = x_339; -} else { - lean_dec_ref(x_339); - x_342 = lean_box(0); -} -x_343 = l_Lean_addMacroScope(x_340, x_314, x_337); -lean_inc(x_334); -x_344 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_344, 0, x_334); -lean_ctor_set(x_344, 1, x_317); -lean_ctor_set(x_344, 2, x_343); -lean_ctor_set(x_344, 3, x_316); -x_345 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; -lean_inc(x_334); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_334); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_array_push(x_324, x_346); -x_348 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; -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 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_326); -lean_ctor_set(x_351, 1, x_350); -x_352 = lean_array_push(x_328, x_351); -x_353 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_354 = lean_array_push(x_352, x_353); -x_355 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = lean_array_push(x_324, x_356); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_326); -lean_ctor_set(x_358, 1, x_357); -x_359 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_360 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_360, 0, x_334); -lean_ctor_set(x_360, 1, x_359); -x_361 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_362 = lean_array_push(x_361, x_344); -x_363 = lean_array_push(x_362, x_358); -x_364 = lean_array_push(x_363, x_353); -x_365 = lean_array_push(x_364, x_360); -x_366 = lean_array_push(x_365, x_2); -x_367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_366); -x_369 = lean_array_push(x_324, x_368); -x_370 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_array_push(x_3, x_371); -x_373 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_373, 0, x_1); -lean_ctor_set(x_373, 1, x_332); -x_374 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_374, 0, x_372); -lean_ctor_set(x_374, 1, x_373); -if (lean_is_scalar(x_342)) { - x_375 = lean_alloc_ctor(0, 2, 0); -} else { - x_375 = x_342; -} -lean_ctor_set(x_375, 0, x_374); -lean_ctor_set(x_375, 1, x_341); -return x_375; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_List_redLength___rarg(x_1); +x_13 = lean_mk_empty_array_with_capacity(x_12); +lean_dec(x_12); +lean_inc(x_1); +x_14 = l_List_toArrayAux___rarg(x_1, x_13); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___boxed), 11, 4); +lean_closure_set(x_15, 0, x_14); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_1); +x_16 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; } } -else -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -lean_dec(x_238); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_376 = lean_ctor_get(x_239, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_239, 1); -lean_inc(x_377); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_378 = x_239; -} else { - lean_dec_ref(x_239); - x_378 = lean_box(0); -} -if (lean_is_scalar(x_378)) { - x_379 = lean_alloc_ctor(1, 2, 0); -} else { - x_379 = x_378; -} -lean_ctor_set(x_379, 0, x_376); -lean_ctor_set(x_379, 1, x_377); -return x_379; -} -} -} -else -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; uint8_t x_394; uint8_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_380 = lean_ctor_get(x_16, 0); -x_381 = lean_ctor_get(x_16, 1); -x_382 = lean_ctor_get(x_16, 2); -x_383 = lean_ctor_get(x_16, 3); -lean_inc(x_383); -lean_inc(x_382); -lean_inc(x_381); -lean_inc(x_380); -lean_dec(x_16); -x_384 = lean_unsigned_to_nat(1u); -x_385 = lean_nat_add(x_381, x_384); -x_386 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_386, 0, x_380); -lean_ctor_set(x_386, 1, x_385); -lean_ctor_set(x_386, 2, x_382); -lean_ctor_set(x_386, 3, x_383); -x_387 = lean_st_ref_set(x_10, x_386, x_17); -x_388 = lean_ctor_get(x_387, 1); -lean_inc(x_388); -lean_dec(x_387); -x_389 = lean_ctor_get(x_5, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_5, 1); -lean_inc(x_390); -x_391 = lean_ctor_get(x_5, 2); -lean_inc(x_391); -x_392 = lean_ctor_get(x_5, 3); -lean_inc(x_392); -x_393 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_394 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_395 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_396 = lean_ctor_get(x_5, 5); -lean_inc(x_396); -x_397 = lean_ctor_get(x_5, 6); -lean_inc(x_397); -x_398 = lean_ctor_get(x_5, 7); -lean_inc(x_398); -x_399 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_400 = x_5; -} else { - lean_dec_ref(x_5); - x_400 = lean_box(0); -} -if (lean_is_scalar(x_400)) { - x_401 = lean_alloc_ctor(0, 8, 4); -} else { - x_401 = x_400; -} -lean_ctor_set(x_401, 0, x_389); -lean_ctor_set(x_401, 1, x_390); -lean_ctor_set(x_401, 2, x_391); -lean_ctor_set(x_401, 3, x_392); -lean_ctor_set(x_401, 4, x_381); -lean_ctor_set(x_401, 5, x_396); -lean_ctor_set(x_401, 6, x_397); -lean_ctor_set(x_401, 7, x_398); -lean_ctor_set_uint8(x_401, sizeof(void*)*8, x_393); -lean_ctor_set_uint8(x_401, sizeof(void*)*8 + 1, x_394); -lean_ctor_set_uint8(x_401, sizeof(void*)*8 + 2, x_395); -lean_ctor_set_uint8(x_401, sizeof(void*)*8 + 3, x_399); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_401); -x_402 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_14, x_401, x_6, x_7, x_8, x_9, x_10, x_388); -lean_dec(x_14); -if (lean_obj_tag(x_402) == 0) -{ -lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; -x_403 = lean_ctor_get(x_402, 0); -lean_inc(x_403); -x_404 = lean_ctor_get(x_402, 1); -lean_inc(x_404); -lean_dec(x_402); -x_405 = lean_array_get_size(x_403); -x_406 = lean_unsigned_to_nat(0u); -x_407 = lean_nat_dec_eq(x_405, x_406); -lean_dec(x_405); -if (x_407 == 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; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_408 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_404); -x_409 = lean_ctor_get(x_408, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_408, 1); -lean_inc(x_410); -lean_dec(x_408); -x_411 = l_Lean_Elab_Term_getCurrMacroScope(x_401, x_6, x_7, x_8, x_9, x_10, x_410); -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -x_414 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_413); -x_415 = lean_ctor_get(x_414, 0); -lean_inc(x_415); -x_416 = lean_ctor_get(x_414, 1); -lean_inc(x_416); -lean_dec(x_414); -x_417 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -x_418 = l_Lean_addMacroScope(x_415, x_417, x_412); -x_419 = lean_box(0); -x_420 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -x_421 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_421, 0, x_409); -lean_ctor_set(x_421, 1, x_420); -lean_ctor_set(x_421, 2, x_418); -lean_ctor_set(x_421, 3, x_419); -x_422 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -x_423 = l_Array_append___rarg(x_422, x_403); -lean_dec(x_403); -x_424 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_427 = lean_array_push(x_426, x_421); -lean_inc(x_425); -x_428 = lean_array_push(x_427, x_425); -x_429 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_428); -x_431 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_416); -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_431, 1); -lean_inc(x_433); -lean_dec(x_431); -x_434 = l_Lean_Elab_Term_getCurrMacroScope(x_401, x_6, x_7, x_8, x_9, x_10, x_433); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_401); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -x_437 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_436); -lean_dec(x_10); -x_438 = lean_ctor_get(x_437, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - x_440 = x_437; -} else { - lean_dec_ref(x_437); - x_440 = lean_box(0); -} -x_441 = l_Lean_addMacroScope(x_438, x_417, x_435); -lean_inc(x_432); -x_442 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_442, 0, x_432); -lean_ctor_set(x_442, 1, x_420); -lean_ctor_set(x_442, 2, x_441); -lean_ctor_set(x_442, 3, x_419); -x_443 = lean_array_push(x_426, x_425); -x_444 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_445 = lean_array_push(x_443, x_444); -x_446 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_449 = lean_array_push(x_448, x_447); -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_424); -lean_ctor_set(x_450, 1, x_449); -x_451 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_432); -lean_ctor_set(x_452, 1, x_451); -x_453 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_454 = lean_array_push(x_453, x_442); -x_455 = lean_array_push(x_454, x_450); -x_456 = lean_array_push(x_455, x_444); -x_457 = lean_array_push(x_456, x_452); -x_458 = lean_array_push(x_457, x_2); -x_459 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_458); -x_461 = lean_array_push(x_448, x_460); -x_462 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_array_push(x_3, x_463); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_1); -lean_ctor_set(x_465, 1, x_430); -x_466 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_466, 0, x_464); -lean_ctor_set(x_466, 1, x_465); -if (lean_is_scalar(x_440)) { - x_467 = lean_alloc_ctor(0, 2, 0); -} else { - x_467 = x_440; -} -lean_ctor_set(x_467, 0, x_466); -lean_ctor_set(x_467, 1, x_439); -return x_467; -} -else -{ -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; -lean_dec(x_403); -x_468 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_404); -x_469 = lean_ctor_get(x_468, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_468, 1); -lean_inc(x_470); -lean_dec(x_468); -x_471 = l_Lean_Elab_Term_getCurrMacroScope(x_401, x_6, x_7, x_8, x_9, x_10, x_470); -x_472 = lean_ctor_get(x_471, 0); -lean_inc(x_472); -x_473 = lean_ctor_get(x_471, 1); -lean_inc(x_473); -lean_dec(x_471); -x_474 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_473); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -lean_dec(x_474); -x_477 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -lean_inc(x_472); -lean_inc(x_475); -x_478 = l_Lean_addMacroScope(x_475, x_477, x_472); -x_479 = lean_box(0); -x_480 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -lean_inc(x_469); -x_481 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_481, 0, x_469); -lean_ctor_set(x_481, 1, x_480); -lean_ctor_set(x_481, 2, x_478); -lean_ctor_set(x_481, 3, x_479); -x_482 = l_Lean_Elab_Term_Quotation_mkTuple___closed__19; -x_483 = l_Lean_addMacroScope(x_475, x_482, x_472); -x_484 = l_Lean_Elab_Term_Quotation_mkTuple___closed__15; -x_485 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; -x_486 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_486, 0, x_469); -lean_ctor_set(x_486, 1, x_484); -lean_ctor_set(x_486, 2, x_483); -lean_ctor_set(x_486, 3, x_485); -x_487 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_488 = lean_array_push(x_487, x_486); -x_489 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_488); -x_491 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; -x_492 = lean_array_push(x_491, x_481); -x_493 = lean_array_push(x_492, x_490); -x_494 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_494); -lean_ctor_set(x_495, 1, x_493); -x_496 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_476); -x_497 = lean_ctor_get(x_496, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_496, 1); -lean_inc(x_498); -lean_dec(x_496); -x_499 = l_Lean_Elab_Term_getCurrMacroScope(x_401, x_6, x_7, x_8, x_9, x_10, x_498); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_401); -x_500 = lean_ctor_get(x_499, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); -lean_dec(x_499); -x_502 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_501); -lean_dec(x_10); -x_503 = lean_ctor_get(x_502, 0); -lean_inc(x_503); -x_504 = lean_ctor_get(x_502, 1); -lean_inc(x_504); -if (lean_is_exclusive(x_502)) { - lean_ctor_release(x_502, 0); - lean_ctor_release(x_502, 1); - x_505 = x_502; -} else { - lean_dec_ref(x_502); - x_505 = lean_box(0); -} -x_506 = l_Lean_addMacroScope(x_503, x_477, x_500); -lean_inc(x_497); -x_507 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_507, 0, x_497); -lean_ctor_set(x_507, 1, x_480); -lean_ctor_set(x_507, 2, x_506); -lean_ctor_set(x_507, 3, x_479); -x_508 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__3; -lean_inc(x_497); -x_509 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_509, 0, x_497); -lean_ctor_set(x_509, 1, x_508); -x_510 = lean_array_push(x_487, x_509); -x_511 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_511); -lean_ctor_set(x_512, 1, x_510); -x_513 = lean_array_push(x_487, x_512); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_489); -lean_ctor_set(x_514, 1, x_513); -x_515 = lean_array_push(x_491, x_514); -x_516 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; -x_517 = lean_array_push(x_515, x_516); -x_518 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; -x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_518); -lean_ctor_set(x_519, 1, x_517); -x_520 = lean_array_push(x_487, x_519); -x_521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_521, 0, x_489); -lean_ctor_set(x_521, 1, x_520); -x_522 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_497); -lean_ctor_set(x_523, 1, x_522); -x_524 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_525 = lean_array_push(x_524, x_507); -x_526 = lean_array_push(x_525, x_521); -x_527 = lean_array_push(x_526, x_516); -x_528 = lean_array_push(x_527, x_523); -x_529 = lean_array_push(x_528, x_2); -x_530 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_531, 0, x_530); -lean_ctor_set(x_531, 1, x_529); -x_532 = lean_array_push(x_487, x_531); -x_533 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -x_535 = lean_array_push(x_3, x_534); -x_536 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_536, 0, x_1); -lean_ctor_set(x_536, 1, x_495); -x_537 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_537, 0, x_535); -lean_ctor_set(x_537, 1, x_536); -if (lean_is_scalar(x_505)) { - x_538 = lean_alloc_ctor(0, 2, 0); -} else { - x_538 = x_505; -} -lean_ctor_set(x_538, 0, x_537); -lean_ctor_set(x_538, 1, x_504); -return x_538; -} -} -else -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -lean_dec(x_401); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_539 = lean_ctor_get(x_402, 0); -lean_inc(x_539); -x_540 = lean_ctor_get(x_402, 1); -lean_inc(x_540); -if (lean_is_exclusive(x_402)) { - lean_ctor_release(x_402, 0); - lean_ctor_release(x_402, 1); - x_541 = x_402; -} else { - lean_dec_ref(x_402); - x_541 = lean_box(0); -} -if (lean_is_scalar(x_541)) { - x_542 = lean_alloc_ctor(1, 2, 0); -} else { - x_542 = x_541; -} -lean_ctor_set(x_542, 0, x_539); -lean_ctor_set(x_542, 1, x_540); -return x_542; -} -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -27854,7 +26880,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -27877,7 +26903,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_free_object(x_2); x_15 = lean_box(0); -x_16 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_11, x_12, x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_11, x_12, x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_16; } else @@ -27892,7 +26918,7 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; lean_free_object(x_2); x_21 = lean_box(0); -x_22 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_11, x_12, x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_22 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_11, x_12, x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_22; } else @@ -27903,14 +26929,14 @@ x_24 = l_Lean_Syntax_getArg(x_12, x_23); x_25 = l_Lean_Syntax_getArgs(x_24); lean_dec(x_24); x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1; -x_27 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_25, x_26); +x_27 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_25, x_26); lean_dec(x_25); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_free_object(x_2); x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_11, x_12, x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_11, x_12, x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_29; } else @@ -27949,7 +26975,7 @@ if (x_35 == 0) { lean_object* x_36; lean_object* x_37; x_36 = lean_box(0); -x_37 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_32, x_33, x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_32, x_33, x_1, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_37; } else @@ -27963,7 +26989,7 @@ if (x_41 == 0) { lean_object* x_42; lean_object* x_43; x_42 = lean_box(0); -x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_32, x_33, x_1, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_32, x_33, x_1, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_43; } else @@ -27974,13 +27000,13 @@ x_45 = l_Lean_Syntax_getArg(x_33, x_44); x_46 = l_Lean_Syntax_getArgs(x_45); lean_dec(x_45); x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1; -x_48 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_46, x_47); +x_48 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_46, x_47); lean_dec(x_46); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; x_49 = lean_box(0); -x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(x_32, x_33, x_1, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_32, x_33, x_1, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_50; } else @@ -28014,15 +27040,24 @@ _start: { lean_object* x_12; x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___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_1); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); return x_12; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(x_1, x_2); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3(x_1, x_2); lean_dec(x_1); return x_3; } @@ -30129,12 +29164,84 @@ goto _start; } } } +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___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) { +_start: +{ +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; uint8_t x_15; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Elab_Term_getCurrMacroScope(x_1, x_2, x_3, x_4, x_5, x_6, 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 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_13); +x_15 = !lean_is_exclusive(x_14); +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; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_12); +x_19 = lean_box(0); +x_20 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_9); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_14, 0, x_21); +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; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_25 = l_Lean_addMacroScope(x_22, x_24, x_12); +x_26 = lean_box(0); +x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_9); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_23); +return x_29; +} +} +} +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1___boxed), 7, 0); +return x_1; +} +} lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_9; lean_object* x_10; +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_9 = lean_box(0); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_9); @@ -30147,349 +29254,219 @@ uint8_t x_11; x_11 = !lean_is_exclusive(x_1); if (x_11 == 0) { -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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_1, 1); x_13 = lean_ctor_get(x_1, 0); lean_dec(x_13); -x_14 = lean_st_ref_take(x_7, x_8); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___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); +x_15 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t 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; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_15, 1, x_20); -x_21 = lean_st_ref_set(x_7, x_15, x_16); -x_22 = lean_ctor_get(x_21, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +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 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_ctor_set(x_1, 1, x_20); +lean_ctor_set(x_1, 0, x_16); +lean_ctor_set(x_18, 0, x_1); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_18, 0); +x_22 = lean_ctor_get(x_18, 1); lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_2, 0); -x_24 = lean_ctor_get(x_2, 1); -x_25 = lean_ctor_get(x_2, 2); -x_26 = lean_ctor_get(x_2, 3); -x_27 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_28 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_29 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_30 = lean_ctor_get(x_2, 5); -x_31 = lean_ctor_get(x_2, 6); -x_32 = lean_ctor_get(x_2, 7); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); +lean_inc(x_21); +lean_dec(x_18); +lean_ctor_set(x_1, 1, x_21); +lean_ctor_set(x_1, 0, x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_16); +lean_free_object(x_1); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +return x_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_18, 1); lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -x_34 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_26); -lean_ctor_set(x_34, 4, x_18); -lean_ctor_set(x_34, 5, x_30); -lean_ctor_set(x_34, 6, x_31); -lean_ctor_set(x_34, 7, x_32); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_27); -lean_ctor_set_uint8(x_34, sizeof(void*)*8 + 1, x_28); -lean_ctor_set_uint8(x_34, sizeof(void*)*8 + 2, x_29); -lean_ctor_set_uint8(x_34, sizeof(void*)*8 + 3, x_33); -x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_22); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_getCurrMacroScope(x_34, x_3, x_4, x_5, x_6, x_7, x_37); -lean_dec(x_34); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_40); -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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_45 = l_Lean_addMacroScope(x_42, x_44, x_39); -x_46 = lean_box(0); -x_47 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_46); -x_49 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_43); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); -lean_ctor_set(x_1, 1, x_51); -lean_ctor_set(x_1, 0, x_48); -lean_ctor_set(x_49, 0, x_1); -return x_49; +lean_dec(x_18); +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; } -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_49, 0); -x_53 = lean_ctor_get(x_49, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_49); -lean_ctor_set(x_1, 1, x_52); -lean_ctor_set(x_1, 0, x_48); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_1); -lean_ctor_set(x_54, 1, x_53); -return x_54; } } 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; 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; uint8_t x_68; uint8_t x_69; uint8_t 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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_55 = lean_ctor_get(x_15, 0); -x_56 = lean_ctor_get(x_15, 1); -x_57 = lean_ctor_get(x_15, 2); -x_58 = lean_ctor_get(x_15, 3); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); +uint8_t x_28; +lean_free_object(x_1); +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_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) +{ +return x_15; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_15); -x_59 = lean_unsigned_to_nat(1u); -x_60 = lean_nat_add(x_56, x_59); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_55); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_57); -lean_ctor_set(x_61, 3, x_58); -x_62 = lean_st_ref_set(x_7, x_61, x_16); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_2, 0); -x_65 = lean_ctor_get(x_2, 1); -x_66 = lean_ctor_get(x_2, 2); -x_67 = lean_ctor_get(x_2, 3); -x_68 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_69 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_70 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_71 = lean_ctor_get(x_2, 5); -x_72 = lean_ctor_get(x_2, 6); -x_73 = lean_ctor_get(x_2, 7); -x_74 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -x_75 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_75, 0, x_64); -lean_ctor_set(x_75, 1, x_65); -lean_ctor_set(x_75, 2, x_66); -lean_ctor_set(x_75, 3, x_67); -lean_ctor_set(x_75, 4, x_56); -lean_ctor_set(x_75, 5, x_71); -lean_ctor_set(x_75, 6, x_72); -lean_ctor_set(x_75, 7, x_73); -lean_ctor_set_uint8(x_75, sizeof(void*)*8, x_68); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 1, x_69); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 2, x_70); -lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 3, x_74); -x_76 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_63); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = l_Lean_Elab_Term_getCurrMacroScope(x_75, x_3, x_4, x_5, x_6, x_7, x_78); -lean_dec(x_75); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_86 = l_Lean_addMacroScope(x_83, x_85, x_80); -x_87 = lean_box(0); -x_88 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -x_89 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_89, 0, x_77); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_86); -lean_ctor_set(x_89, 3, x_87); -x_90 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_84); -x_91 = lean_ctor_get(x_90, 0); -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; -} else { - lean_dec_ref(x_90); - x_93 = lean_box(0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } -lean_ctor_set(x_1, 1, x_91); -lean_ctor_set(x_1, 0, x_89); -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_93; -} -lean_ctor_set(x_94, 0, x_1); -lean_ctor_set(x_94, 1, x_92); -return x_94; } } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_95 = lean_ctor_get(x_1, 1); -lean_inc(x_95); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_1, 1); +lean_inc(x_32); lean_dec(x_1); -x_96 = lean_st_ref_take(x_7, x_8); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_97, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -x_101 = lean_ctor_get(x_97, 2); -lean_inc(x_101); -x_102 = lean_ctor_get(x_97, 3); -lean_inc(x_102); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - lean_ctor_release(x_97, 2); - lean_ctor_release(x_97, 3); - x_103 = x_97; +x_33 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___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); +x_34 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_36); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; } else { - lean_dec_ref(x_97); - x_103 = lean_box(0); + lean_dec_ref(x_37); + x_40 = lean_box(0); } -x_104 = lean_unsigned_to_nat(1u); -x_105 = lean_nat_add(x_100, x_104); -if (lean_is_scalar(x_103)) { - x_106 = lean_alloc_ctor(0, 4, 0); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_38); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); } else { - x_106 = x_103; + x_42 = x_40; } -lean_ctor_set(x_106, 0, x_99); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_106, 2, x_101); -lean_ctor_set(x_106, 3, x_102); -x_107 = lean_st_ref_set(x_7, x_106, x_98); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_109 = lean_ctor_get(x_2, 0); -x_110 = lean_ctor_get(x_2, 1); -x_111 = lean_ctor_get(x_2, 2); -x_112 = lean_ctor_get(x_2, 3); -x_113 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_114 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_115 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_116 = lean_ctor_get(x_2, 5); -x_117 = lean_ctor_get(x_2, 6); -x_118 = lean_ctor_get(x_2, 7); -x_119 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -x_120 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_120, 0, x_109); -lean_ctor_set(x_120, 1, x_110); -lean_ctor_set(x_120, 2, x_111); -lean_ctor_set(x_120, 3, x_112); -lean_ctor_set(x_120, 4, x_100); -lean_ctor_set(x_120, 5, x_116); -lean_ctor_set(x_120, 6, x_117); -lean_ctor_set(x_120, 7, x_118); -lean_ctor_set_uint8(x_120, sizeof(void*)*8, x_113); -lean_ctor_set_uint8(x_120, sizeof(void*)*8 + 1, x_114); -lean_ctor_set_uint8(x_120, sizeof(void*)*8 + 2, x_115); -lean_ctor_set_uint8(x_120, sizeof(void*)*8 + 3, x_119); -x_121 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_108); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Term_getCurrMacroScope(x_120, x_3, x_4, x_5, x_6, x_7, x_123); -lean_dec(x_120); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_126); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_131 = l_Lean_addMacroScope(x_128, x_130, x_125); -x_132 = lean_box(0); -x_133 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_122); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_131); -lean_ctor_set(x_134, 3, x_132); -x_135 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_129); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - x_138 = x_135; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_35); +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; } else { - lean_dec_ref(x_135); - x_138 = lean_box(0); + lean_dec_ref(x_37); + x_45 = lean_box(0); } -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_134); -lean_ctor_set(x_139, 1, x_136); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); } else { - x_140 = x_138; + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_32); +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_47 = lean_ctor_get(x_34, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_34, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_49 = x_34; +} else { + lean_dec_ref(x_34); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; } -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_137); -return x_140; } } } @@ -30516,7 +29493,7 @@ x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; -x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_11); +x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_11); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -30631,7 +29608,7 @@ 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; size_t x_37; size_t x_38; x_14 = lean_array_uget(x_1, x_3); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_9, x_10, x_11); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_9, x_10, x_11); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -30853,7 +29830,7 @@ static lean_object* _init_l_List_format___at___private_Lean_Elab_Quotation_0__Le _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -31014,151 +29991,14 @@ return x_14; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = l_List_append___rarg(x_1, x_2); x_13 = lean_array_to_list(lean_box(0), x_3); -x_14 = lean_st_ref_take(x_10, x_11); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_15, 1, x_20); -x_21 = lean_st_ref_set(x_10, x_15, x_16); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = !lean_is_exclusive(x_5); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_5, 4); -lean_dec(x_24); -lean_ctor_set(x_5, 4, x_18); -x_25 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t 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; -x_26 = lean_ctor_get(x_5, 0); -x_27 = lean_ctor_get(x_5, 1); -x_28 = lean_ctor_get(x_5, 2); -x_29 = lean_ctor_get(x_5, 3); -x_30 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_31 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_32 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_33 = lean_ctor_get(x_5, 5); -x_34 = lean_ctor_get(x_5, 6); -x_35 = lean_ctor_get(x_5, 7); -x_36 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_5); -x_37 = lean_alloc_ctor(0, 8, 4); -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_18); -lean_ctor_set(x_37, 5, x_33); -lean_ctor_set(x_37, 6, x_34); -lean_ctor_set(x_37, 7, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_30); -lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 1, x_31); -lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 2, x_32); -lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 3, x_36); -x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_13, x_37, x_6, x_7, x_8, x_9, x_10, x_22); -return x_38; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_39 = lean_ctor_get(x_15, 0); -x_40 = lean_ctor_get(x_15, 1); -x_41 = lean_ctor_get(x_15, 2); -x_42 = lean_ctor_get(x_15, 3); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_15); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_40, x_43); -x_45 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_41); -lean_ctor_set(x_45, 3, x_42); -x_46 = lean_st_ref_set(x_10, x_45, x_16); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get(x_5, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_5, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_5, 2); -lean_inc(x_50); -x_51 = lean_ctor_get(x_5, 3); -lean_inc(x_51); -x_52 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_53 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_54 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_55 = lean_ctor_get(x_5, 5); -lean_inc(x_55); -x_56 = lean_ctor_get(x_5, 6); -lean_inc(x_56); -x_57 = lean_ctor_get(x_5, 7); -lean_inc(x_57); -x_58 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_59 = x_5; -} else { - lean_dec_ref(x_5); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 8, 4); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_48); -lean_ctor_set(x_60, 1, x_49); -lean_ctor_set(x_60, 2, x_50); -lean_ctor_set(x_60, 3, x_51); -lean_ctor_set(x_60, 4, x_40); -lean_ctor_set(x_60, 5, x_55); -lean_ctor_set(x_60, 6, x_56); -lean_ctor_set(x_60, 7, x_57); -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_52); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 1, x_53); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 2, x_54); -lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 3, x_58); -x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_13, x_60, x_6, x_7, x_8, x_9, x_10, x_47); -return x_61; -} +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch), 9, 2); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_13); +x_15 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1() { @@ -31177,9 +30017,18 @@ uint8_t x_13; x_13 = l_Array_isEmpty___rarg(x_2); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t 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_14; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t 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; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -31220,7 +30069,7 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_10, x_11, x_32); +x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_10, x_11, x_32); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); @@ -31364,164 +30213,50 @@ return x_96; } else { -lean_object* x_97; lean_object* x_98; +uint8_t x_97; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_97 = lean_box(0); -x_98 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_5, x_1, x_4, x_97, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_98; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +lean_dec(x_1); +x_97 = !lean_is_exclusive(x_14); +if (x_97 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_st_ref_take(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_is_exclusive(x_11); -if (x_13 == 0) -{ -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_14 = lean_ctor_get(x_11, 1); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_14, x_15); -lean_ctor_set(x_11, 1, x_16); -x_17 = lean_st_ref_set(x_8, x_11, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = !lean_is_exclusive(x_3); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_3, 4); -lean_dec(x_20); -lean_ctor_set(x_3, 4, x_14); -x_21 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_21; +return x_14; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_22 = lean_ctor_get(x_3, 0); -x_23 = lean_ctor_get(x_3, 1); -x_24 = lean_ctor_get(x_3, 2); -x_25 = lean_ctor_get(x_3, 3); -x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_29 = lean_ctor_get(x_3, 5); -x_30 = lean_ctor_get(x_3, 6); -x_31 = lean_ctor_get(x_3, 7); -x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_14, 0); +x_99 = lean_ctor_get(x_14, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_14); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_dec(x_3); -x_33 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_33, 0, x_22); -lean_ctor_set(x_33, 1, x_23); -lean_ctor_set(x_33, 2, x_24); -lean_ctor_set(x_33, 3, x_25); -lean_ctor_set(x_33, 4, x_14); -lean_ctor_set(x_33, 5, x_29); -lean_ctor_set(x_33, 6, x_30); -lean_ctor_set(x_33, 7, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_26); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 1, x_27); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 2, x_28); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 3, x_32); -x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_33, x_4, x_5, x_6, x_7, x_8, x_18); -return x_34; -} -} -else -{ -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; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_35 = lean_ctor_get(x_11, 0); -x_36 = lean_ctor_get(x_11, 1); -x_37 = lean_ctor_get(x_11, 2); -x_38 = lean_ctor_get(x_11, 3); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_11); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_add(x_36, x_39); -x_41 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_37); -lean_ctor_set(x_41, 3, x_38); -x_42 = lean_st_ref_set(x_8, x_41, x_12); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -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(x_3, 3); -lean_inc(x_47); -x_48 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_50 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_51 = lean_ctor_get(x_3, 5); -lean_inc(x_51); -x_52 = lean_ctor_get(x_3, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_3, 7); -lean_inc(x_53); -x_54 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_55 = x_3; -} else { - lean_dec_ref(x_3); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 8, 4); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_44); -lean_ctor_set(x_56, 1, x_45); -lean_ctor_set(x_56, 2, x_46); -lean_ctor_set(x_56, 3, x_47); -lean_ctor_set(x_56, 4, x_36); -lean_ctor_set(x_56, 5, x_51); -lean_ctor_set(x_56, 6, x_52); -lean_ctor_set(x_56, 7, x_53); -lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_48); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 1, x_49); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 2, x_50); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 3, x_54); -x_57 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_56, x_4, x_5, x_6, x_7, x_8, x_43); -return x_57; +lean_dec(x_2); +x_101 = lean_box(0); +x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_5, x_1, x_4, x_101, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_102; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -31529,27 +30264,27 @@ x_1 = lean_mk_string("non-exhaustive 'match' (syntax)"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___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_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___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_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -31557,7 +30292,7 @@ x_1 = l_Lean_Elab_Term_instInhabitedTermElabM(lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -31565,12 +30300,12 @@ x_1 = lean_mk_string("_private.Lean.Elab.Quotation.0.Lean.Elab.Term.Quotation.co return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6() { _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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5; x_3 = lean_unsigned_to_nat(495u); x_4 = lean_unsigned_to_nat(12u); x_5 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__4; @@ -31578,7 +30313,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -31589,31 +30324,31 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31625,126 +30360,23 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11() { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("match_syntax"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("match "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" with "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(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_364; lean_object* x_365; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; -x_381 = lean_st_ref_get(x_8, x_9); -x_382 = lean_ctor_get(x_381, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_382, 3); -lean_inc(x_383); -lean_dec(x_382); -x_384 = lean_ctor_get_uint8(x_383, sizeof(void*)*1); -lean_dec(x_383); -if (x_384 == 0) -{ -lean_object* x_385; uint8_t x_386; -x_385 = lean_ctor_get(x_381, 1); -lean_inc(x_385); -lean_dec(x_381); -x_386 = 0; -x_364 = x_386; -x_365 = x_385; -goto block_380; -} -else -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; uint8_t x_392; -x_387 = lean_ctor_get(x_381, 1); -lean_inc(x_387); -lean_dec(x_381); -x_388 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13; -x_389 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_387); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -x_392 = lean_unbox(x_390); -lean_dec(x_390); -x_364 = x_392; -x_365 = x_391; -goto block_380; -} -block_363: -{ if (lean_obj_tag(x_1) == 0) { if (lean_obj_tag(x_2) == 0) { lean_object* x_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; -x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; +x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3; x_12 = 2; -x_13 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +x_13 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_11, x_12, 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); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -31779,12 +30411,12 @@ lean_inc(x_21); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; +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); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); @@ -31798,10 +30430,10 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_21); lean_dec(x_20); -x_24 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4; -x_25 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; +x_24 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4; +x_25 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6; x_26 = lean_panic_fn(x_24, x_25); -x_27 = lean_apply_7(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +x_27 = lean_apply_7(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_27; } } @@ -31812,15 +30444,15 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_dec(x_1); -x_28 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; +x_28 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3; x_29 = 2; -x_30 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_28, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +x_30 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_28, x_29, 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); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { @@ -31859,10 +30491,10 @@ x_39 = lean_ctor_get(x_1, 0); x_40 = lean_ctor_get(x_1, 1); x_41 = lean_ctor_get(x_2, 0); x_42 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -lean_inc(x_3); +lean_inc(x_8); +lean_inc(x_4); lean_inc(x_41); -x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; @@ -31871,10 +30503,10 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -lean_inc(x_7); -lean_inc(x_3); +lean_inc(x_8); +lean_inc(x_4); lean_inc(x_44); -x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_45); +x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_44, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_45); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; @@ -31883,17 +30515,17 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); lean_dec(x_46); -x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; +x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9; +lean_inc(x_9); 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_50 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_47, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +x_50 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_47, x_49, x_4, x_5, x_6, x_7, x_8, x_9, x_48); if (lean_obj_tag(x_50) == 0) { -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_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_51, 1); @@ -31926,376 +30558,375 @@ lean_closure_set(x_61, 2, x_60); lean_closure_set(x_61, 3, x_58); lean_inc(x_39); x_62 = lean_array_to_list(lean_box(0), x_56); -x_63 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); +x_63 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch), 9, 2); lean_closure_set(x_63, 0, x_1); lean_closure_set(x_63, 1, x_62); +x_64 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withFreshMacroScope___rarg), 8, 1); +lean_closure_set(x_64, 0, x_63); +lean_inc(x_9); 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_64 = lean_apply_9(x_59, x_61, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_54); -if (lean_obj_tag(x_64) == 0) +x_65 = lean_apply_9(x_59, x_61, x_64, x_4, x_5, x_6, x_7, x_8, x_9, x_54); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; size_t x_68; size_t 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; uint8_t x_80; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); +lean_object* x_66; lean_object* x_67; lean_object* x_68; size_t x_69; size_t 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; uint8_t x_81; +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_array_get_size(x_55); -x_68 = lean_usize_of_nat(x_67); -lean_dec(x_67); -x_69 = 0; -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_55, x_68, x_69, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_array_get_size(x_55); +x_69 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_70 = 0; +x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_55, x_69, x_70, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_67); lean_dec(x_55); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_7, x_8, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_73); +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_76); +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_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_76); -x_79 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_78); -lean_dec(x_8); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_79); +lean_dec(x_9); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_81 = lean_ctor_get(x_79, 0); -x_82 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_74); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_85 = l_Lean_addMacroScope(x_81, x_84, x_77); -x_86 = lean_box(0); -x_87 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -lean_inc(x_74); -x_88 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_88, 0, x_74); -lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_88, 2, x_85); -lean_ctor_set(x_88, 3, x_86); -x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_74); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_74); -lean_ctor_set(x_90, 1, x_89); -x_91 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_92 = lean_array_push(x_91, x_88); -x_93 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; -x_94 = lean_array_push(x_92, x_93); -x_95 = lean_array_push(x_94, x_93); -x_96 = lean_array_push(x_95, x_90); -x_97 = lean_array_push(x_96, x_39); -x_98 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_101 = lean_array_push(x_100, x_99); -x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_74); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_100, x_105); -x_107 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_110 = lean_array_push(x_109, x_83); -x_111 = lean_array_push(x_110, x_103); -x_112 = lean_array_push(x_111, x_108); -x_113 = lean_array_push(x_112, x_71); -x_114 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___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); -lean_ctor_set(x_79, 0, x_115); -return x_79; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_82 = lean_ctor_get(x_80, 0); +x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_75); +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_75); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_86 = l_Lean_addMacroScope(x_82, x_85, x_78); +x_87 = lean_box(0); +x_88 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_75); +x_89 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_89, 0, x_75); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_87); +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_75); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_75); +lean_ctor_set(x_91, 1, x_90); +x_92 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_93 = lean_array_push(x_92, x_89); +x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10; +x_95 = lean_array_push(x_93, x_94); +x_96 = lean_array_push(x_95, x_94); +x_97 = lean_array_push(x_96, x_91); +x_98 = lean_array_push(x_97, x_39); +x_99 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_102 = lean_array_push(x_101, x_100); +x_103 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_75); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_array_push(x_101, x_106); +x_108 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_111 = lean_array_push(x_110, x_84); +x_112 = lean_array_push(x_111, x_104); +x_113 = lean_array_push(x_112, x_109); +x_114 = lean_array_push(x_113, x_72); +x_115 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +lean_ctor_set(x_80, 0, x_116); +return x_80; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_116 = lean_ctor_get(x_79, 0); -x_117 = lean_ctor_get(x_79, 1); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_117 = lean_ctor_get(x_80, 0); +x_118 = lean_ctor_get(x_80, 1); +lean_inc(x_118); lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_79); -x_118 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_74); -x_119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_119, 0, x_74); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_121 = l_Lean_addMacroScope(x_116, x_120, x_77); -x_122 = lean_box(0); -x_123 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -lean_inc(x_74); -x_124 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_124, 0, x_74); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set(x_124, 2, x_121); -lean_ctor_set(x_124, 3, x_122); -x_125 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_74); -x_126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_126, 0, x_74); -lean_ctor_set(x_126, 1, x_125); -x_127 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_128 = lean_array_push(x_127, x_124); -x_129 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; -x_130 = lean_array_push(x_128, x_129); -x_131 = lean_array_push(x_130, x_129); -x_132 = lean_array_push(x_131, x_126); -x_133 = lean_array_push(x_132, x_39); -x_134 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_137 = lean_array_push(x_136, x_135); -x_138 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_74); -lean_ctor_set(x_141, 1, x_140); -x_142 = lean_array_push(x_136, x_141); -x_143 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_146 = lean_array_push(x_145, x_119); -x_147 = lean_array_push(x_146, x_139); -x_148 = lean_array_push(x_147, x_144); -x_149 = lean_array_push(x_148, x_71); -x_150 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_80); +x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_75); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_75); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_122 = l_Lean_addMacroScope(x_117, x_121, x_78); +x_123 = lean_box(0); +x_124 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_75); +x_125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_125, 0, x_75); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_122); +lean_ctor_set(x_125, 3, x_123); +x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_75); +x_127 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_127, 0, x_75); +lean_ctor_set(x_127, 1, x_126); +x_128 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_129 = lean_array_push(x_128, x_125); +x_130 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10; +x_131 = lean_array_push(x_129, x_130); +x_132 = lean_array_push(x_131, x_130); +x_133 = lean_array_push(x_132, x_127); +x_134 = lean_array_push(x_133, x_39); +x_135 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_138 = lean_array_push(x_137, x_136); +x_139 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_142, 0, x_75); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_array_push(x_137, x_142); +x_144 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; +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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_147 = lean_array_push(x_146, x_120); +x_148 = lean_array_push(x_147, x_140); +x_149 = lean_array_push(x_148, x_145); +x_150 = lean_array_push(x_149, x_72); +x_151 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; +x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_117); -return x_152; +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_118); +return x_153; } } else { -uint8_t x_153; +uint8_t x_154; lean_dec(x_55); lean_dec(x_39); +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); -x_153 = !lean_is_exclusive(x_64); -if (x_153 == 0) +x_154 = !lean_is_exclusive(x_65); +if (x_154 == 0) { -return x_64; +return x_65; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_64, 0); -x_155 = lean_ctor_get(x_64, 1); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_65, 0); +x_156 = lean_ctor_get(x_65, 1); +lean_inc(x_156); lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_64); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -return x_156; +lean_dec(x_65); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; } } } else { -uint8_t x_157; +uint8_t x_158; lean_dec(x_44); lean_free_object(x_1); lean_dec(x_40); lean_dec(x_39); +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); -x_157 = !lean_is_exclusive(x_50); -if (x_157 == 0) +x_158 = !lean_is_exclusive(x_50); +if (x_158 == 0) { return x_50; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_50, 0); -x_159 = lean_ctor_get(x_50, 1); +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_50, 0); +x_160 = lean_ctor_get(x_50, 1); +lean_inc(x_160); lean_inc(x_159); -lean_inc(x_158); lean_dec(x_50); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -return x_160; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +return x_161; } } } else { -uint8_t x_161; +uint8_t x_162; lean_dec(x_44); lean_free_object(x_1); lean_dec(x_40); lean_dec(x_39); +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); -x_161 = !lean_is_exclusive(x_46); -if (x_161 == 0) +x_162 = !lean_is_exclusive(x_46); +if (x_162 == 0) { return x_46; } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_46, 0); -x_163 = lean_ctor_get(x_46, 1); +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_46, 0); +x_164 = lean_ctor_get(x_46, 1); +lean_inc(x_164); lean_inc(x_163); -lean_inc(x_162); lean_dec(x_46); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; } } } else { -uint8_t x_165; +uint8_t x_166; lean_free_object(x_2); lean_dec(x_42); lean_dec(x_41); lean_free_object(x_1); lean_dec(x_40); lean_dec(x_39); +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); -x_165 = !lean_is_exclusive(x_43); -if (x_165 == 0) +x_166 = !lean_is_exclusive(x_43); +if (x_166 == 0) { return x_43; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_43, 0); -x_167 = lean_ctor_get(x_43, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_43, 0); +x_168 = lean_ctor_get(x_43, 1); +lean_inc(x_168); lean_inc(x_167); -lean_inc(x_166); lean_dec(x_43); -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; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; } } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_169 = lean_ctor_get(x_1, 0); -x_170 = lean_ctor_get(x_1, 1); -x_171 = lean_ctor_get(x_2, 0); -x_172 = lean_ctor_get(x_2, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_170 = lean_ctor_get(x_1, 0); +x_171 = lean_ctor_get(x_1, 1); +x_172 = lean_ctor_get(x_2, 0); +x_173 = lean_ctor_get(x_2, 1); +lean_inc(x_173); lean_inc(x_172); -lean_inc(x_171); lean_dec(x_2); -lean_inc(x_7); -lean_inc(x_3); -lean_inc(x_171); -x_173 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_171, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -if (lean_obj_tag(x_173) == 0) +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_172); +x_174 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_172, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); -lean_dec(x_173); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_171); -lean_ctor_set(x_176, 1, x_172); -lean_inc(x_7); -lean_inc(x_3); -lean_inc(x_174); -x_177 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_174, x_176, x_3, x_4, x_5, x_6, x_7, x_8, x_175); -if (lean_obj_tag(x_177) == 0) +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_172); +lean_ctor_set(x_177, 1, x_173); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_175); +x_178 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_175, x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_176); +if (lean_obj_tag(x_178) == 0) { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_179 = lean_ctor_get(x_178, 0); lean_inc(x_179); -lean_dec(x_177); -x_180 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9; +lean_inc(x_9); 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_181 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_178, x_180, x_3, x_4, x_5, x_6, x_7, x_8, x_179); -if (lean_obj_tag(x_181) == 0) +x_182 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_179, x_181, x_4, x_5, x_6, x_7, x_8, x_9, x_180); +if (lean_obj_tag(x_182) == 0) { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_182, 1); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_183 = lean_ctor_get(x_182, 0); lean_inc(x_183); x_184 = lean_ctor_get(x_183, 1); lean_inc(x_184); -x_185 = lean_ctor_get(x_181, 1); +x_185 = lean_ctor_get(x_184, 1); lean_inc(x_185); -lean_dec(x_181); -x_186 = lean_ctor_get(x_182, 0); +x_186 = lean_ctor_get(x_182, 1); lean_inc(x_186); lean_dec(x_182); x_187 = lean_ctor_get(x_183, 0); @@ -32303,686 +30934,802 @@ lean_inc(x_187); lean_dec(x_183); x_188 = lean_ctor_get(x_184, 0); lean_inc(x_188); -x_189 = lean_ctor_get(x_184, 1); -lean_inc(x_189); lean_dec(x_184); -x_190 = lean_ctor_get(x_174, 2); +x_189 = lean_ctor_get(x_185, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_185, 1); lean_inc(x_190); -lean_dec(x_174); -x_191 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +lean_dec(x_185); +x_191 = lean_ctor_get(x_175, 2); +lean_inc(x_191); +lean_dec(x_175); +x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +lean_inc(x_171); +x_193 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 12, 4); +lean_closure_set(x_193, 0, x_171); +lean_closure_set(x_193, 1, x_189); +lean_closure_set(x_193, 2, x_192); +lean_closure_set(x_193, 3, x_190); lean_inc(x_170); -x_192 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 12, 4); -lean_closure_set(x_192, 0, x_170); -lean_closure_set(x_192, 1, x_188); -lean_closure_set(x_192, 2, x_191); -lean_closure_set(x_192, 3, x_189); -lean_inc(x_169); -x_193 = lean_array_to_list(lean_box(0), x_187); -x_194 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); -lean_closure_set(x_194, 0, x_1); -lean_closure_set(x_194, 1, x_193); +x_194 = lean_array_to_list(lean_box(0), x_188); +x_195 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch), 9, 2); +lean_closure_set(x_195, 0, x_1); +lean_closure_set(x_195, 1, x_194); +x_196 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withFreshMacroScope___rarg), 8, 1); +lean_closure_set(x_196, 0, x_195); +lean_inc(x_9); 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_195 = lean_apply_9(x_190, x_192, x_194, x_3, x_4, x_5, x_6, x_7, x_8, x_185); -if (lean_obj_tag(x_195) == 0) +x_197 = lean_apply_9(x_191, x_193, x_196, x_4, x_5, x_6, x_7, x_8, x_9, x_186); +if (lean_obj_tag(x_197) == 0) { -lean_object* x_196; lean_object* x_197; lean_object* x_198; size_t x_199; size_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = lean_array_get_size(x_186); -x_199 = lean_usize_of_nat(x_198); -lean_dec(x_198); -x_200 = 0; -x_201 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_186, x_199, x_200, x_196, x_3, x_4, x_5, x_6, x_7, x_8, x_197); -lean_dec(x_186); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_7, x_8, x_203); -x_205 = lean_ctor_get(x_204, 0); +lean_object* x_198; lean_object* x_199; lean_object* x_200; size_t x_201; size_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_array_get_size(x_187); +x_201 = lean_usize_of_nat(x_200); +lean_dec(x_200); +x_202 = 0; +x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_187, x_201, x_202, x_198, x_4, x_5, x_6, x_7, x_8, x_9, x_199); +lean_dec(x_187); +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_206); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_208 = lean_ctor_get(x_207, 0); +lean_dec(x_203); +x_206 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_205); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -x_210 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_209); +lean_dec(x_206); +x_209 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_208); lean_dec(x_8); -x_211 = lean_ctor_get(x_210, 0); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_213 = x_210; +lean_dec(x_209); +x_212 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_211); +lean_dec(x_9); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + lean_ctor_release(x_212, 1); + x_215 = x_212; } else { - lean_dec_ref(x_210); - x_213 = lean_box(0); + lean_dec_ref(x_212); + x_215 = lean_box(0); } -x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_205); -x_215 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_215, 0, x_205); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_217 = l_Lean_addMacroScope(x_211, x_216, x_208); -x_218 = lean_box(0); -x_219 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -lean_inc(x_205); -x_220 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_220, 0, x_205); -lean_ctor_set(x_220, 1, x_219); -lean_ctor_set(x_220, 2, x_217); -lean_ctor_set(x_220, 3, x_218); -x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_205); -x_222 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_222, 0, x_205); +x_216 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_207); +x_217 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_217, 0, x_207); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_219 = l_Lean_addMacroScope(x_213, x_218, x_210); +x_220 = lean_box(0); +x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_207); +x_222 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_222, 0, x_207); lean_ctor_set(x_222, 1, x_221); -x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_224 = lean_array_push(x_223, x_220); -x_225 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; -x_226 = lean_array_push(x_224, x_225); -x_227 = lean_array_push(x_226, x_225); -x_228 = lean_array_push(x_227, x_222); -x_229 = lean_array_push(x_228, x_169); -x_230 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_233 = lean_array_push(x_232, x_231); -x_234 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_237, 0, x_205); -lean_ctor_set(x_237, 1, x_236); -x_238 = lean_array_push(x_232, x_237); -x_239 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_242 = lean_array_push(x_241, x_215); -x_243 = lean_array_push(x_242, x_235); -x_244 = lean_array_push(x_243, x_240); -x_245 = lean_array_push(x_244, x_202); -x_246 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_245); -if (lean_is_scalar(x_213)) { - x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 2, x_219); +lean_ctor_set(x_222, 3, x_220); +x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_207); +x_224 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_224, 0, x_207); +lean_ctor_set(x_224, 1, x_223); +x_225 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_226 = lean_array_push(x_225, x_222); +x_227 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_227); +x_230 = lean_array_push(x_229, x_224); +x_231 = lean_array_push(x_230, x_170); +x_232 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +x_234 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_235 = lean_array_push(x_234, x_233); +x_236 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_207); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_array_push(x_234, x_239); +x_241 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_244 = lean_array_push(x_243, x_217); +x_245 = lean_array_push(x_244, x_237); +x_246 = lean_array_push(x_245, x_242); +x_247 = lean_array_push(x_246, x_204); +x_248 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +if (lean_is_scalar(x_215)) { + x_250 = lean_alloc_ctor(0, 2, 0); } else { - x_248 = x_213; + x_250 = x_215; } -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_212); -return x_248; +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_214); +return x_250; } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -lean_dec(x_186); -lean_dec(x_169); -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_249 = lean_ctor_get(x_195, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_195, 1); -lean_inc(x_250); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_251 = x_195; -} else { - lean_dec_ref(x_195); - x_251 = lean_box(0); -} -if (lean_is_scalar(x_251)) { - x_252 = lean_alloc_ctor(1, 2, 0); -} else { - x_252 = x_251; -} -lean_ctor_set(x_252, 0, x_249); -lean_ctor_set(x_252, 1, x_250); -return x_252; -} -} -else -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -lean_dec(x_174); -lean_free_object(x_1); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +lean_dec(x_187); lean_dec(x_170); -lean_dec(x_169); +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); -x_253 = lean_ctor_get(x_181, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_181, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_255 = x_181; +x_251 = lean_ctor_get(x_197, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_197, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_253 = x_197; } else { - lean_dec_ref(x_181); - x_255 = lean_box(0); + lean_dec_ref(x_197); + x_253 = lean_box(0); } -if (lean_is_scalar(x_255)) { - x_256 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_253)) { + x_254 = lean_alloc_ctor(1, 2, 0); } else { - x_256 = x_255; + x_254 = x_253; } -lean_ctor_set(x_256, 0, x_253); -lean_ctor_set(x_256, 1, x_254); -return x_256; +lean_ctor_set(x_254, 0, x_251); +lean_ctor_set(x_254, 1, x_252); +return x_254; } } else { -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; -lean_dec(x_174); +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; +lean_dec(x_175); lean_free_object(x_1); -lean_dec(x_170); -lean_dec(x_169); -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_257 = lean_ctor_get(x_177, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_177, 1); -lean_inc(x_258); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_259 = x_177; -} else { - lean_dec_ref(x_177); - x_259 = lean_box(0); -} -if (lean_is_scalar(x_259)) { - x_260 = lean_alloc_ctor(1, 2, 0); -} else { - x_260 = x_259; -} -lean_ctor_set(x_260, 0, x_257); -lean_ctor_set(x_260, 1, x_258); -return x_260; -} -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -lean_dec(x_172); lean_dec(x_171); -lean_free_object(x_1); lean_dec(x_170); -lean_dec(x_169); +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); -x_261 = lean_ctor_get(x_173, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_173, 1); -lean_inc(x_262); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_263 = x_173; +x_255 = lean_ctor_get(x_182, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_182, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_257 = x_182; } else { - lean_dec_ref(x_173); - x_263 = lean_box(0); + lean_dec_ref(x_182); + x_257 = lean_box(0); } -if (lean_is_scalar(x_263)) { - x_264 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(1, 2, 0); } else { - x_264 = x_263; + x_258 = x_257; } -lean_ctor_set(x_264, 0, x_261); -lean_ctor_set(x_264, 1, x_262); -return x_264; +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_256); +return x_258; +} +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_175); +lean_free_object(x_1); +lean_dec(x_171); +lean_dec(x_170); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_259 = lean_ctor_get(x_178, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_178, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_261 = x_178; +} else { + lean_dec_ref(x_178); + x_261 = lean_box(0); +} +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(1, 2, 0); +} else { + x_262 = x_261; +} +lean_ctor_set(x_262, 0, x_259); +lean_ctor_set(x_262, 1, x_260); +return x_262; +} +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_173); +lean_dec(x_172); +lean_free_object(x_1); +lean_dec(x_171); +lean_dec(x_170); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_263 = lean_ctor_get(x_174, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_174, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_265 = x_174; +} else { + lean_dec_ref(x_174); + x_265 = lean_box(0); +} +if (lean_is_scalar(x_265)) { + x_266 = lean_alloc_ctor(1, 2, 0); +} else { + x_266 = x_265; +} +lean_ctor_set(x_266, 0, x_263); +lean_ctor_set(x_266, 1, x_264); +return x_266; } } } else { -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_265 = lean_ctor_get(x_1, 0); -x_266 = lean_ctor_get(x_1, 1); -lean_inc(x_266); -lean_inc(x_265); -lean_dec(x_1); -x_267 = lean_ctor_get(x_2, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_2, 1); +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_267 = lean_ctor_get(x_1, 0); +x_268 = lean_ctor_get(x_1, 1); lean_inc(x_268); +lean_inc(x_267); +lean_dec(x_1); +x_269 = lean_ctor_get(x_2, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_2, 1); +lean_inc(x_270); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_269 = x_2; + x_271 = x_2; } else { lean_dec_ref(x_2); - x_269 = lean_box(0); + x_271 = lean_box(0); } -lean_inc(x_7); -lean_inc(x_3); -lean_inc(x_267); -x_270 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_267, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -if (lean_obj_tag(x_270) == 0) +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_269); +x_272 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_269, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_272) == 0) { -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -if (lean_is_scalar(x_269)) { - x_273 = lean_alloc_ctor(1, 2, 0); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); +lean_inc(x_274); +lean_dec(x_272); +if (lean_is_scalar(x_271)) { + x_275 = lean_alloc_ctor(1, 2, 0); } else { - x_273 = x_269; + x_275 = x_271; } -lean_ctor_set(x_273, 0, x_267); -lean_ctor_set(x_273, 1, x_268); -lean_inc(x_7); -lean_inc(x_3); -lean_inc(x_271); -x_274 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_271, x_273, x_3, x_4, x_5, x_6, x_7, x_8, x_272); -if (lean_obj_tag(x_274) == 0) +lean_ctor_set(x_275, 0, x_269); +lean_ctor_set(x_275, 1, x_270); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_273); +x_276 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_273, x_275, x_4, x_5, x_6, x_7, x_8, x_9, x_274); +if (lean_obj_tag(x_276) == 0) { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec(x_274); -x_277 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_277 = lean_ctor_get(x_276, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_276, 1); +lean_inc(x_278); +lean_dec(x_276); +x_279 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9; +lean_inc(x_9); 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_278 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_275, x_277, x_3, x_4, x_5, x_6, x_7, x_8, x_276); -if (lean_obj_tag(x_278) == 0) +x_280 = l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_277, x_279, x_4, x_5, x_6, x_7, x_8, x_9, x_278); +if (lean_obj_tag(x_280) == 0) { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_279, 1); -lean_inc(x_280); -x_281 = lean_ctor_get(x_280, 1); +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_281 = lean_ctor_get(x_280, 0); lean_inc(x_281); -x_282 = lean_ctor_get(x_278, 1); +x_282 = lean_ctor_get(x_281, 1); lean_inc(x_282); -lean_dec(x_278); -x_283 = lean_ctor_get(x_279, 0); +x_283 = lean_ctor_get(x_282, 1); lean_inc(x_283); -lean_dec(x_279); -x_284 = lean_ctor_get(x_280, 0); +x_284 = lean_ctor_get(x_280, 1); lean_inc(x_284); lean_dec(x_280); x_285 = lean_ctor_get(x_281, 0); lean_inc(x_285); -x_286 = lean_ctor_get(x_281, 1); -lean_inc(x_286); lean_dec(x_281); -x_287 = lean_ctor_get(x_271, 2); +x_286 = lean_ctor_get(x_282, 0); +lean_inc(x_286); +lean_dec(x_282); +x_287 = lean_ctor_get(x_283, 0); lean_inc(x_287); -lean_dec(x_271); -x_288 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -lean_inc(x_266); -x_289 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 12, 4); -lean_closure_set(x_289, 0, x_266); -lean_closure_set(x_289, 1, x_285); -lean_closure_set(x_289, 2, x_288); -lean_closure_set(x_289, 3, x_286); -lean_inc(x_265); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_265); -lean_ctor_set(x_290, 1, x_266); -x_291 = lean_array_to_list(lean_box(0), x_284); -x_292 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); -lean_closure_set(x_292, 0, x_290); -lean_closure_set(x_292, 1, x_291); +x_288 = lean_ctor_get(x_283, 1); +lean_inc(x_288); +lean_dec(x_283); +x_289 = lean_ctor_get(x_273, 2); +lean_inc(x_289); +lean_dec(x_273); +x_290 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +lean_inc(x_268); +x_291 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 12, 4); +lean_closure_set(x_291, 0, x_268); +lean_closure_set(x_291, 1, x_287); +lean_closure_set(x_291, 2, x_290); +lean_closure_set(x_291, 3, x_288); +lean_inc(x_267); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_267); +lean_ctor_set(x_292, 1, x_268); +x_293 = lean_array_to_list(lean_box(0), x_286); +x_294 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch), 9, 2); +lean_closure_set(x_294, 0, x_292); +lean_closure_set(x_294, 1, x_293); +x_295 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withFreshMacroScope___rarg), 8, 1); +lean_closure_set(x_295, 0, x_294); +lean_inc(x_9); 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_293 = lean_apply_9(x_287, x_289, x_292, x_3, x_4, x_5, x_6, x_7, x_8, x_282); -if (lean_obj_tag(x_293) == 0) +x_296 = lean_apply_9(x_289, x_291, x_295, x_4, x_5, x_6, x_7, x_8, x_9, x_284); +if (lean_obj_tag(x_296) == 0) { -lean_object* x_294; lean_object* x_295; lean_object* x_296; size_t x_297; size_t x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); -lean_inc(x_295); -lean_dec(x_293); -x_296 = lean_array_get_size(x_283); -x_297 = lean_usize_of_nat(x_296); +lean_object* x_297; lean_object* x_298; lean_object* x_299; size_t x_300; size_t x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); +lean_inc(x_298); lean_dec(x_296); -x_298 = 0; -x_299 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_283, x_297, x_298, x_294, x_3, x_4, x_5, x_6, x_7, x_8, x_295); -lean_dec(x_283); -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); +x_299 = lean_array_get_size(x_285); +x_300 = lean_usize_of_nat(x_299); lean_dec(x_299); -x_302 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_7, x_8, x_301); +x_301 = 0; +x_302 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_285, x_300, x_301, x_297, x_4, x_5, x_6, x_7, x_8, x_9, x_298); +lean_dec(x_285); x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); x_304 = lean_ctor_get(x_302, 1); lean_inc(x_304); lean_dec(x_302); -x_305 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_304); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +x_305 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_8, x_9, x_304); x_306 = lean_ctor_get(x_305, 0); lean_inc(x_306); x_307 = lean_ctor_get(x_305, 1); lean_inc(x_307); lean_dec(x_305); -x_308 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_307); +x_308 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_307); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_309 = lean_ctor_get(x_308, 0); lean_inc(x_309); x_310 = lean_ctor_get(x_308, 1); lean_inc(x_310); -if (lean_is_exclusive(x_308)) { - lean_ctor_release(x_308, 0); - lean_ctor_release(x_308, 1); - x_311 = x_308; +lean_dec(x_308); +x_311 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_310); +lean_dec(x_9); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + lean_ctor_release(x_311, 1); + x_314 = x_311; } else { - lean_dec_ref(x_308); - x_311 = lean_box(0); + lean_dec_ref(x_311); + x_314 = lean_box(0); } -x_312 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_303); -x_313 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_313, 0, x_303); -lean_ctor_set(x_313, 1, x_312); -x_314 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_315 = l_Lean_addMacroScope(x_309, x_314, x_306); -x_316 = lean_box(0); -x_317 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -lean_inc(x_303); -x_318 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_318, 0, x_303); -lean_ctor_set(x_318, 1, x_317); -lean_ctor_set(x_318, 2, x_315); -lean_ctor_set(x_318, 3, x_316); -x_319 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_303); -x_320 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_320, 0, x_303); -lean_ctor_set(x_320, 1, x_319); -x_321 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_322 = lean_array_push(x_321, x_318); -x_323 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; -x_324 = lean_array_push(x_322, x_323); -x_325 = lean_array_push(x_324, x_323); -x_326 = lean_array_push(x_325, x_320); -x_327 = lean_array_push(x_326, x_265); -x_328 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -x_331 = lean_array_push(x_330, x_329); -x_332 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_333, 1, x_331); -x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_335 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_335, 0, x_303); -lean_ctor_set(x_335, 1, x_334); -x_336 = lean_array_push(x_330, x_335); -x_337 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_340 = lean_array_push(x_339, x_313); -x_341 = lean_array_push(x_340, x_333); -x_342 = lean_array_push(x_341, x_338); -x_343 = lean_array_push(x_342, x_300); -x_344 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -if (lean_is_scalar(x_311)) { - x_346 = lean_alloc_ctor(0, 2, 0); +x_315 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_306); +x_316 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_316, 0, x_306); +lean_ctor_set(x_316, 1, x_315); +x_317 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_318 = l_Lean_addMacroScope(x_312, x_317, x_309); +x_319 = lean_box(0); +x_320 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_306); +x_321 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_321, 0, x_306); +lean_ctor_set(x_321, 1, x_320); +lean_ctor_set(x_321, 2, x_318); +lean_ctor_set(x_321, 3, x_319); +x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_306); +x_323 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_323, 0, x_306); +lean_ctor_set(x_323, 1, x_322); +x_324 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_325 = lean_array_push(x_324, x_321); +x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10; +x_327 = lean_array_push(x_325, x_326); +x_328 = lean_array_push(x_327, x_326); +x_329 = lean_array_push(x_328, x_323); +x_330 = lean_array_push(x_329, x_267); +x_331 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_330); +x_333 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; +x_334 = lean_array_push(x_333, x_332); +x_335 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__10; +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_334); +x_337 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_338 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_338, 0, x_306); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_push(x_333, x_338); +x_340 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; +x_341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_339); +x_342 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_343 = lean_array_push(x_342, x_316); +x_344 = lean_array_push(x_343, x_336); +x_345 = lean_array_push(x_344, x_341); +x_346 = lean_array_push(x_345, x_303); +x_347 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_346); +if (lean_is_scalar(x_314)) { + x_349 = lean_alloc_ctor(0, 2, 0); } else { - x_346 = x_311; + x_349 = x_314; } -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_310); -return x_346; +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_313); +return x_349; } else { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -lean_dec(x_283); -lean_dec(x_265); +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_285); +lean_dec(x_267); +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); -x_347 = lean_ctor_get(x_293, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_293, 1); -lean_inc(x_348); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_349 = x_293; -} else { - lean_dec_ref(x_293); - x_349 = lean_box(0); -} -if (lean_is_scalar(x_349)) { - x_350 = lean_alloc_ctor(1, 2, 0); -} else { - x_350 = x_349; -} -lean_ctor_set(x_350, 0, x_347); -lean_ctor_set(x_350, 1, x_348); -return x_350; -} -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_271); -lean_dec(x_266); -lean_dec(x_265); -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_351 = lean_ctor_get(x_278, 0); +x_350 = lean_ctor_get(x_296, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_296, 1); lean_inc(x_351); -x_352 = lean_ctor_get(x_278, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_278)) { - lean_ctor_release(x_278, 0); - lean_ctor_release(x_278, 1); - x_353 = x_278; +if (lean_is_exclusive(x_296)) { + lean_ctor_release(x_296, 0); + lean_ctor_release(x_296, 1); + x_352 = x_296; } else { - lean_dec_ref(x_278); - x_353 = lean_box(0); + lean_dec_ref(x_296); + x_352 = lean_box(0); } -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_352)) { + x_353 = lean_alloc_ctor(1, 2, 0); } else { - x_354 = x_353; + x_353 = x_352; } -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -return x_354; +lean_ctor_set(x_353, 0, x_350); +lean_ctor_set(x_353, 1, x_351); +return x_353; } } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec(x_271); -lean_dec(x_266); -lean_dec(x_265); +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +lean_dec(x_273); +lean_dec(x_268); +lean_dec(x_267); +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); -x_355 = lean_ctor_get(x_274, 0); +x_354 = lean_ctor_get(x_280, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_280, 1); lean_inc(x_355); -x_356 = lean_ctor_get(x_274, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - x_357 = x_274; +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + lean_ctor_release(x_280, 1); + x_356 = x_280; } else { - lean_dec_ref(x_274); - x_357 = lean_box(0); + lean_dec_ref(x_280); + x_356 = lean_box(0); } -if (lean_is_scalar(x_357)) { - x_358 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_356)) { + x_357 = lean_alloc_ctor(1, 2, 0); } else { - x_358 = x_357; + x_357 = x_356; } -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -return x_358; +lean_ctor_set(x_357, 0, x_354); +lean_ctor_set(x_357, 1, x_355); +return x_357; } } else { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; +lean_dec(x_273); +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_358 = lean_ctor_get(x_276, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_276, 1); +lean_inc(x_359); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + x_360 = x_276; +} else { + lean_dec_ref(x_276); + x_360 = lean_box(0); +} +if (lean_is_scalar(x_360)) { + x_361 = lean_alloc_ctor(1, 2, 0); +} else { + x_361 = x_360; +} +lean_ctor_set(x_361, 0, x_358); +lean_ctor_set(x_361, 1, x_359); +return x_361; +} +} +else +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +lean_dec(x_271); +lean_dec(x_270); lean_dec(x_269); lean_dec(x_268); lean_dec(x_267); -lean_dec(x_266); -lean_dec(x_265); +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); -x_359 = lean_ctor_get(x_270, 0); -lean_inc(x_359); -x_360 = lean_ctor_get(x_270, 1); -lean_inc(x_360); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_361 = x_270; +x_362 = lean_ctor_get(x_272, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_272, 1); +lean_inc(x_363); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + x_364 = x_272; } else { - lean_dec_ref(x_270); - x_361 = lean_box(0); + lean_dec_ref(x_272); + x_364 = lean_box(0); } -if (lean_is_scalar(x_361)) { - x_362 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_364)) { + x_365 = lean_alloc_ctor(1, 2, 0); } else { - x_362 = x_361; + x_365 = x_364; } -lean_ctor_set(x_362, 0, x_359); -lean_ctor_set(x_362, 1, x_360); -return x_362; +lean_ctor_set(x_365, 0, x_362); +lean_ctor_set(x_365, 1, x_363); +return x_365; } } } } } -block_380: +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1() { +_start: { -if (x_364 == 0) +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2() { +_start: { -x_10 = x_365; -goto block_363; +lean_object* x_1; +x_1 = lean_mk_string("match_syntax"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" with "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(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_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; +x_31 = lean_st_ref_get(x_8, x_9); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_11 = x_36; +x_12 = x_35; +goto block_30; } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_11 = x_41; +x_12 = x_40; +goto block_30; +} +block_30: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_14; +} +else +{ +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_inc(x_1); -x_366 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_1); -x_367 = l_Lean_MessageData_ofList(x_366); -lean_dec(x_366); -x_368 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15; -x_369 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_367); -x_370 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17; -x_371 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_371, 0, x_369); -lean_ctor_set(x_371, 1, x_370); +x_15 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_1); +x_16 = l_Lean_MessageData_ofList(x_15); +lean_dec(x_15); +x_17 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); lean_inc(x_2); -x_372 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_2); -x_373 = l_Lean_MessageData_ofList(x_372); -lean_dec(x_372); -x_374 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_374, 0, x_371); -lean_ctor_set(x_374, 1, x_373); -x_375 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; -x_376 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_376, 0, x_374); -lean_ctor_set(x_376, 1, x_375); -x_377 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13; -x_378 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_377, x_376, x_3, x_4, x_5, x_6, x_7, x_8, x_365); -x_379 = lean_ctor_get(x_378, 1); -lean_inc(x_379); -lean_dec(x_378); -x_10 = x_379; -goto block_363; +x_21 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_2); +x_22 = l_Lean_MessageData_ofList(x_21); +lean_dec(x_21); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_10, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1, x_2, x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +lean_dec(x_27); +return x_29; } } } @@ -32999,18 +31746,18 @@ lean_dec(x_4); return x_10; } } -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___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) { _start: { -lean_object* x_9; -x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); +lean_object* x_8; +x_8 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1(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_9; +lean_dec(x_1); +return x_8; } } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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, lean_object* x_11) { @@ -33071,6 +31818,15 @@ lean_dec(x_4); return x_12; } } +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +return x_11; +} +} lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -33548,7 +32304,7 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_3); x_15 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; -x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_2, x_15); +x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_2, x_15); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; @@ -33602,7 +32358,7 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_3); x_29 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; -x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_2, x_29); +x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_2, x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -33657,7 +32413,7 @@ x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); lean_dec(x_44); x_46 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; -x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_45, x_46); +x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_45, x_46); lean_dec(x_45); if (lean_obj_tag(x_47) == 0) { @@ -33705,7 +32461,17 @@ return x_58; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1() { +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -33713,17 +32479,17 @@ x_1 = lean_mk_string("result"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13; -x_2 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; +x_2 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(lean_object* x_1, lean_object* 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, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5(lean_object* x_1, lean_object* 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, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; size_t 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; @@ -33746,164 +32512,147 @@ lean_inc(x_6); x_21 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_13, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(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; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; 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_st_ref_get(x_11, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get_uint8(x_26, sizeof(void*)*1); -lean_dec(x_26); -if (x_27 == 0) -{ -uint8_t x_28; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_28 = !lean_is_exclusive(x_24); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_24, 0); -lean_dec(x_29); -lean_ctor_set(x_24, 0, x_22); -return x_24; +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_24 = x_21; +} else { + lean_dec_ref(x_21); + x_24 = lean_box(0); } -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_24, 1); -lean_inc(x_30); -lean_dec(x_24); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_dec(x_24); -x_33 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2; -x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) -{ -uint8_t x_37; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_37 = !lean_is_exclusive(x_34); -if (x_37 == 0) -{ -lean_object* x_38; -x_38 = lean_ctor_get(x_34, 0); -lean_dec(x_38); -lean_ctor_set(x_34, 0, x_22); -return x_34; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_dec(x_34); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_22); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_41 = lean_ctor_get(x_34, 1); +x_25 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2; +x_39 = lean_st_ref_get(x_11, x_23); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 3); lean_inc(x_41); -lean_dec(x_34); -lean_inc(x_22); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_22); -x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_33, x_45, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_48; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -lean_ctor_set(x_46, 0, x_22); -return x_46; +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_44 = 0; +x_26 = x_44; +x_27 = x_43; +goto block_38; } else { -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_dec(x_39); +x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_45); +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_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_22); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_49 = lean_unbox(x_47); +lean_dec(x_47); +x_26 = x_49; +x_27 = x_48; +goto block_38; } -} -} -} -else +block_38: { -uint8_t x_51; +if (x_26 == 0) +{ +lean_object* x_28; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_51 = !lean_is_exclusive(x_21); -if (x_51 == 0) +if (lean_is_scalar(x_24)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_24; +} +lean_ctor_set(x_28, 0, x_22); +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; uint8_t x_34; +lean_dec(x_24); +lean_inc(x_22); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_22); +x_30 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_25, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_22); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_22); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) { return x_21; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_21, 0); -x_53 = lean_ctor_get(x_21, 1); -lean_inc(x_53); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); lean_inc(x_52); +lean_inc(x_51); lean_dec(x_21); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } @@ -34037,7 +32786,7 @@ block_69: { lean_object* x_24; lean_object* x_25; x_24 = l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2; -x_25 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_23, x_24); +x_25 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_23, x_24); lean_dec(x_23); if (lean_obj_tag(x_25) == 0) { @@ -34204,7 +32953,7 @@ else { lean_object* x_67; lean_object* x_68; x_67 = lean_box(0); -x_68 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(x_27, x_50, x_45, x_48, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_68 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5(x_27, x_50, x_45, x_48, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_48); return x_68; } @@ -34350,13 +33099,28 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; lean_object* x_14; x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_4); return x_14; @@ -34417,11 +33181,11 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9783_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -34429,7 +33193,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2; +x_5 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -34534,14 +33298,14 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerm lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__4); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2(); @@ -35122,177 +33886,168 @@ l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__15 = _init_l_Lea lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__15); l_Lean_Elab_Term_Quotation_commandElab__stx__quot____ = _init_l_Lean_Elab_Term_Quotation_commandElab__stx__quot____(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElab__stx__quot____); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__1); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__10); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__17); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__21); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__29); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__33); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__34); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__37); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__38); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__45); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__52); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__54); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__59); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__62); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66); -l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__10); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__1); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__2); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__3); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__4); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__5); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__6); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__7); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__8); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__9); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__10); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__11); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__12); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__13); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__14); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__15); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__16); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__17); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__18); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__19); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__20); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__21); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__22); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__23); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__24); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__25); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__26); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__27); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__28); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__29); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__30); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__31); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__32); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__33); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__34); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__35); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__36); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__37); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__38); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__39); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__40); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__41); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__42); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__43); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__44); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__45); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__46); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__47); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__48); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__49); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__50); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__51); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__52); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__53); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__54); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__55); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__56); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__57); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__58); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__59); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__60); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__61); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__62); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__63); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__64); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__65); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2916____closed__66); +l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__1); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__5); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__6); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__7); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__8); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__9); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__10); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__11); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__12); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__13); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__14); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35302,10 +34057,6 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35328,6 +34079,10 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35337,10 +34092,6 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35352,6 +34103,8 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__3); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35363,8 +34116,6 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__3); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35428,9 +34179,22 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__3); l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__5); res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3253_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2(); @@ -35835,6 +34599,8 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___closed__1(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___closed__1); l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__1 = _init_l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__1(); lean_mark_persistent(l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__1); l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__2 = _init_l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__2(); @@ -35861,6 +34627,26 @@ l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__3); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__6); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__8); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__10); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2(); @@ -35875,32 +34661,12 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___cl lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17); l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1); -l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1); -l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2); +l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__1); +l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2); l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1); l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2(); @@ -35918,7 +34684,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___c res = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9783_(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/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 4c7f0220ad..29b20e51c1 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -13,24 +13,23 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType(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_elabStructInstAux___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_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFields(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg___closed__1; -lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__6; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); uint8_t l_List_foldr___at_Lean_Elab_Term_StructInst_Struct_allDefault___spec__1(uint8_t, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8; size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3(lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_expr_x3f___default; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__6; @@ -44,18 +43,21 @@ lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__7; lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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*); +static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5; static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_DefaultFields_reduce___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__2___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; extern lean_object* l_Lean_nullKind; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___boxed(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_mkSubstructSource(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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -68,23 +70,25 @@ uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*); 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*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__3; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2; lean_object* l_Lean_Elab_Term_StructInst_instToFormatStruct; +static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4; lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; uint8_t l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields_match__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__5; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__2___boxed(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*); @@ -96,11 +100,12 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct___lambda__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_elabStructInst_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1; static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__7; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__1; +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___boxed(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_allStructNames___default; @@ -112,35 +117,32 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Ela lean_object* l_Lean_Elab_Term_StructInst_markDefaultMissing(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___closed__1; -lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7210_(lean_object*); +lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7395_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; 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___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; static 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*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__4; lean_object* l_List_append___rarg(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringFieldStruct___closed__1; lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___spec__1(lean_object*, lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_annotation_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___boxed(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst(lean_object*); lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11___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_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__3; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; lean_object* l_Lean_Elab_Term_StructInst_Struct_ref(lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,14 +155,11 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_setFields(lean_object*, lean_object*); -lean_object* l_Std_HashMap_toList___rarg(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__3(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_groupFields___lambda__1(lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_max(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28; lean_object* l_Lean_Elab_Term_StructInst_formatField(lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1(lean_object*); @@ -168,32 +167,27 @@ static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_ lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(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*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22; lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object*); +static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3; lean_object* l_Lean_Elab_Term_StructInst_elabStructInst_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; lean_object* l_Lean_Expr_appArg_x21(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault___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_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15; -lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop(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_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__6; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12; 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*); static lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__1; static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedStruct___closed__1; @@ -202,23 +196,20 @@ static lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS___closed__3 lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3(lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Environment_getProjectionStructureName_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1(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*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___lambda__1___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19; lean_object* l_Lean_Elab_Term_StructInst_Field_isSimple___rarg___boxed(lean_object*); lean_object* l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop_match__1(lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__7; lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax___boxed(lean_object*, lean_object*); @@ -234,23 +225,22 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getSt lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_isExprAssigned(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__5; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___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_StructInst_defaultMissing_x3f___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12; lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(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_Elab_Term_StructInst_throwFailedToElabField___spec__1(lean_object*); lean_object* l_Lean_Meta_project_x3f(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_elabModifyOp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___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*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___rarg___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__2(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__4; lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_throwFailedToElabField___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,46 +260,45 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFie static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__5; lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___boxed(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__9; lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__3; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__1(lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___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_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___rarg(lean_object*); -lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12(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(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToStringFieldStruct; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17; lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldStruct; lean_object* l_Lean_Elab_Term_StructInst_elabStructInst_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatStruct(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5; lean_object* l_Lean_Elab_Term_StructInst_Field_isSimple(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_StructInst_formatStruct___spec__1(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(lean_object*, 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*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__3(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_fields___boxed(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_structs___default; +lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(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_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__1___boxed(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_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*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25; 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*); -lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Source_isNone_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -336,17 +325,16 @@ lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeader___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_StructInst_formatField_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1; +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38; uint64_t l_Lean_Name_hash(lean_object*); static lean_object* l_List_map___at_Lean_Elab_Term_StructInst_formatStruct___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_StructInst_markDefaultMissing___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux(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_map___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___closed__2; lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); @@ -354,25 +342,31 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduceProjOf_x3f(lean_obj static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__14; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__5; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_prettyPrint(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_markDefaultMissing___closed__2; lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_format_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__15; -lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields(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_elabStruct_match__1(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___rarg___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11; 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*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___closed__1; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1; extern lean_object* l_Lean_Elab_abortTermExceptionId; lean_object* l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__5; @@ -380,16 +374,14 @@ lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___boxed(lean_object**); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct___closed__1; -lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__7; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__10(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_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___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*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldVal___closed__1; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object*, lean_object*); @@ -397,6 +389,8 @@ lean_object* l_Lean_Elab_Term_StructInst_findField_x3f(lean_object*, lean_object uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); +lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f(lean_object*); @@ -406,7 +400,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_group size_t lean_usize_modn(size_t, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__5; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___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*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_setStructSourceSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__4; @@ -414,6 +407,7 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isRoundDone___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_StructInst_findField_x3f___lambda__1(lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1___boxed(lean_object**); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__3; lean_object* l_Std_mkHashMap___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__11(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__1; @@ -426,16 +420,15 @@ static lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS___closed__2 lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1(lean_object*, lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___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*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__3; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___closed__1; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2; +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___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_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f_match__1(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__2; @@ -450,6 +443,7 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__12; static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step___closed__1; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__10; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f_match__1(lean_object*); @@ -457,26 +451,29 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___rarg(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_Lean_Elab_Term_StructInst_Struct_structName___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_setStructSourceSyntax(lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedField___closed__1; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14; lean_object* l_Lean_Elab_Term_StructInst_formatField_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1(lean_object*, lean_object*); +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(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_groupFields_match__3___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS___closed__1; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop_match__1(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVarsFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS___closed__4; -lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getForallBody_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getForallBody_match__1(lean_object*); @@ -484,7 +481,6 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(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_expandNumLitFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -495,6 +491,7 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Ela lean_object* l_Lean_Elab_Term_StructInst_findField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct___closed__2; extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -503,6 +500,7 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___closed__2; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___boxed(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_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -522,11 +520,13 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__1; lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg(lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3; extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; lean_object* l_Lean_mkHole(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___rarg___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__1(lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getForallBody_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1___closed__2; @@ -535,20 +535,20 @@ static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___ lean_object* lean_environment_main_module(lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__4; uint8_t l_Lean_Expr_isMVar(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -extern lean_object* l_Id_instMonadId; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; lean_object* l_Lean_mkApp(lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_source___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15; lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__2; @@ -557,40 +557,37 @@ static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_El lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6; lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3; lean_object* l_Lean_Syntax_getKind(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__2(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource_match__1(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_setFields___lambda__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__1; -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__7; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__3(lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_ref___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isRoundDone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__2; lean_object* l_Lean_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19; lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at_Lean_Elab_Term_StructInst_Struct_modifyFields___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6; lean_object* l_Array_ofSubarray___rarg(lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__6; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureCtor(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___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_StructInst_Struct_source(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1___closed__2; @@ -598,6 +595,7 @@ static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_El lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___spec__1___boxed(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__2(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduceProjOf_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -606,15 +604,13 @@ lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__4; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___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_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__2; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_propagateExpectedType___boxed(lean_object*, lean_object*, 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_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -630,39 +626,39 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop_match__1___ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__8; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__6; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___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*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_setStructSourceSyntax_match__1(lean_object*); uint8_t l_Lean_Elab_Term_StructInst_Source_isNone(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__16; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___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_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__5; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7; 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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__1; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__5; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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*, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS(lean_object*, lean_object*, lean_object*); @@ -672,33 +668,36 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault(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_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__3___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__6; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__3; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__2; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f___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_StructInst_instInhabitedFieldVal(lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__6; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2; +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__3; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__1; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__3; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8; +lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(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_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__3___boxed(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_expandNonAtomicExplicitSource(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f___boxed(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__8; @@ -707,64 +706,61 @@ lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierar lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_State_progress___default; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__9; +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2(lean_object*); uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__5; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__4; lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__1; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__1; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7___boxed(lean_object*, lean_object*, 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*); lean_object* l_Lean_Elab_Term_StructInst_Source_isNone_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__4; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7; lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(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_expandCompositeFields_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__19; 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* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__4___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Name_components(lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20; -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__2(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___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_instInhabitedPUnit; -lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(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*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__5; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(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_addMissingFields___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*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__2; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_maxDistance___default; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__2; lean_object* l_List_foldr___at_Lean_Elab_Term_StructInst_Struct_allDefault___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__9; -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__8; +static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_isSimple_match__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instInhabitedSource; @@ -773,7 +769,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_DefaultFields lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2; uint8_t l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_throwFailedToElabField___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -977,7 +972,7 @@ x_8 = l_Lean_Syntax_getArg(x_5, x_7); lean_dec(x_5); x_9 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; x_10 = l_Lean_Syntax_setArg(x_1, x_4, x_9); -x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -1266,7 +1261,7 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwAbortTerm___at___private_Lean_ return x_7; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1274,22 +1269,22 @@ x_1 = lean_mk_string("src"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2; +x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___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); @@ -1297,17 +1292,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -1315,17 +1310,17 @@ x_1 = lean_mk_string("let"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -1333,17 +1328,17 @@ x_1 = lean_mk_string("letDecl"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9() { _start: { lean_object* x_1; @@ -1351,17 +1346,17 @@ x_1 = lean_mk_string("letIdDecl"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1373,7 +1368,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12() { _start: { lean_object* x_1; @@ -1381,7 +1376,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -1390,7 +1385,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -1398,7 +1393,7 @@ x_1 = lean_mk_string(";"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -1407,829 +1402,291 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___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_inc(x_6); +lean_inc(x_1); +x_11 = l_Lean_Elab_Term_isLocalIdent_x3f(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Syntax_isMissing(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_13); +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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_20); +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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4; +x_25 = l_Lean_addMacroScope(x_22, x_24, x_19); +x_26 = lean_box(0); +x_27 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_26); +x_29 = lean_unsigned_to_nat(0u); +x_30 = l_Lean_Syntax_setArg(x_2, x_29, x_28); +x_31 = lean_unsigned_to_nat(1u); +x_32 = l_Lean_Syntax_setArg(x_3, x_31, x_30); +x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_23); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_35); +lean_dec(x_6); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_38); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 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; +x_41 = lean_ctor_get(x_39, 0); +x_42 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5; +lean_inc(x_34); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_34); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_addMacroScope(x_41, x_24, x_37); +lean_inc(x_34); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_34); +lean_ctor_set(x_45, 1, x_27); +lean_ctor_set(x_45, 2, x_44); +lean_ctor_set(x_45, 3, x_26); +x_46 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; +lean_inc(x_34); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_34); +lean_ctor_set(x_47, 1, x_46); +x_48 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13; +x_49 = lean_array_push(x_48, x_45); +x_50 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11; +x_51 = lean_array_push(x_49, x_50); +x_52 = lean_array_push(x_51, x_50); +x_53 = lean_array_push(x_52, x_47); +x_54 = lean_array_push(x_53, x_1); +x_55 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; +x_58 = lean_array_push(x_57, x_56); +x_59 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14; +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_34); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_57, x_62); +x_64 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15; +x_67 = lean_array_push(x_66, x_43); +x_68 = lean_array_push(x_67, x_60); +x_69 = lean_array_push(x_68, x_65); +x_70 = lean_array_push(x_69, x_32); +x_71 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_39, 0, x_73); +return x_39; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_74 = lean_ctor_get(x_39, 0); +x_75 = lean_ctor_get(x_39, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_39); +x_76 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5; +lean_inc(x_34); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_34); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_addMacroScope(x_74, x_24, x_37); +lean_inc(x_34); +x_79 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_79, 0, x_34); +lean_ctor_set(x_79, 1, x_27); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set(x_79, 3, x_26); +x_80 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; +lean_inc(x_34); +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_34); +lean_ctor_set(x_81, 1, x_80); +x_82 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13; +x_83 = lean_array_push(x_82, x_79); +x_84 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11; +x_85 = lean_array_push(x_83, x_84); +x_86 = lean_array_push(x_85, x_84); +x_87 = lean_array_push(x_86, x_81); +x_88 = lean_array_push(x_87, x_1); +x_89 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; +x_92 = lean_array_push(x_91, x_90); +x_93 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14; +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_34); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_array_push(x_91, x_96); +x_98 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15; +x_101 = lean_array_push(x_100, x_77); +x_102 = lean_array_push(x_101, x_94); +x_103 = lean_array_push(x_102, x_99); +x_104 = lean_array_push(x_103, x_32); +x_105 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_75); +return x_108; +} +} +else +{ +lean_object* x_109; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_109 = l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg(x_13); +return x_109; +} +} +else +{ +uint8_t x_110; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_11); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_11, 0); +lean_dec(x_111); +x_112 = lean_box(0); +lean_ctor_set(x_11, 0, x_112); +return x_11; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_11, 1); +lean_inc(x_113); +lean_dec(x_11); +x_114 = lean_box(0); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource(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; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_311; +lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); x_11 = l_Lean_Syntax_isNone(x_10); -x_311 = lean_st_ref_take(x_7, x_8); if (x_11 == 0) { -lean_object* x_312; lean_object* x_313; uint8_t x_314; -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); -lean_inc(x_313); -lean_dec(x_311); -x_314 = 0; -x_12 = x_314; -x_13 = x_312; -x_14 = x_313; -goto block_310; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_10, x_12); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___boxed), 10, 3); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_10); +lean_closure_set(x_14, 2, x_1); +x_15 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_15; } else { -lean_object* x_315; lean_object* x_316; uint8_t x_317; -x_315 = lean_ctor_get(x_311, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_311, 1); -lean_inc(x_316); -lean_dec(x_311); -x_317 = 1; -x_12 = x_317; -x_13 = x_315; -x_14 = x_316; -goto block_310; -} -block_310: -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_13, 1); -x_17 = lean_nat_add(x_16, x_9); -lean_ctor_set(x_13, 1, x_17); -x_18 = lean_st_ref_set(x_7, x_13, x_14); -if (x_12 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = !lean_is_exclusive(x_2); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_2, 4); -lean_dec(x_21); -lean_ctor_set(x_2, 4, x_16); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_Syntax_getArg(x_10, x_22); -lean_inc(x_4); -lean_inc(x_23); -x_24 = l_Lean_Elab_Term_isLocalIdent_x3f(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_19); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_Syntax_isMissing(x_23); -if (x_27 == 0) -{ -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; uint8_t x_51; -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_26); -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 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_30); -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_Lean_Elab_Term_getMainModule___rarg(x_7, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4; -x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = lean_box(0); -x_40 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3; -x_41 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_41, 0, x_29); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_38); -lean_ctor_set(x_41, 3, x_39); -x_42 = l_Lean_Syntax_setArg(x_10, x_22, x_41); -x_43 = l_Lean_Syntax_setArg(x_1, x_9, x_42); -x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_36); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_46); -lean_dec(x_4); -lean_dec(x_2); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_49); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_52 = lean_ctor_get(x_50, 0); -x_53 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; -lean_inc(x_45); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_addMacroScope(x_52, x_37, x_48); -lean_inc(x_45); -x_56 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_56, 0, x_45); -lean_ctor_set(x_56, 1, x_40); -lean_ctor_set(x_56, 2, x_55); -lean_ctor_set(x_56, 3, x_39); -x_57 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_45); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_45); -lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -x_60 = lean_array_push(x_59, x_56); -x_61 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_62, x_61); -x_64 = lean_array_push(x_63, x_58); -x_65 = lean_array_push(x_64, x_23); -x_66 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_69 = lean_array_push(x_68, x_67); -x_70 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_45); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_array_push(x_68, x_73); -x_75 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; -x_78 = lean_array_push(x_77, x_54); -x_79 = lean_array_push(x_78, x_71); -x_80 = lean_array_push(x_79, x_76); -x_81 = lean_array_push(x_80, x_43); -x_82 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6; -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_50, 0, x_84); -return x_50; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_85 = lean_ctor_get(x_50, 0); -x_86 = lean_ctor_get(x_50, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_50); -x_87 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; -lean_inc(x_45); -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_45); -lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_addMacroScope(x_85, x_37, x_48); -lean_inc(x_45); -x_90 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_90, 0, x_45); -lean_ctor_set(x_90, 1, x_40); -lean_ctor_set(x_90, 2, x_89); -lean_ctor_set(x_90, 3, x_39); -x_91 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_45); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_45); -lean_ctor_set(x_92, 1, x_91); -x_93 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -x_94 = lean_array_push(x_93, x_90); -x_95 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; -x_96 = lean_array_push(x_94, x_95); -x_97 = lean_array_push(x_96, x_95); -x_98 = lean_array_push(x_97, x_92); -x_99 = lean_array_push(x_98, x_23); -x_100 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_103 = lean_array_push(x_102, x_101); -x_104 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_45); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_array_push(x_102, x_107); -x_109 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; -x_112 = lean_array_push(x_111, x_88); -x_113 = lean_array_push(x_112, x_105); -x_114 = lean_array_push(x_113, x_110); -x_115 = lean_array_push(x_114, x_43); -x_116 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_86); -return x_119; -} -} -else -{ -lean_object* x_120; -lean_dec(x_23); -lean_dec(x_2); +lean_object* x_16; lean_object* x_17; lean_dec(x_10); -lean_dec(x_4); lean_dec(x_1); -x_120 = l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg(x_26); -return x_120; -} -} -else -{ -uint8_t x_121; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_2); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -x_121 = !lean_is_exclusive(x_24); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_24, 0); -lean_dec(x_122); -x_123 = lean_box(0); -lean_ctor_set(x_24, 0, x_123); -return x_24; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_24, 1); -lean_inc(x_124); -lean_dec(x_24); -x_125 = lean_box(0); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -return x_126; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; uint8_t x_132; uint8_t 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; lean_object* x_142; -x_127 = lean_ctor_get(x_2, 0); -x_128 = lean_ctor_get(x_2, 1); -x_129 = lean_ctor_get(x_2, 2); -x_130 = lean_ctor_get(x_2, 3); -x_131 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_132 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_133 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_134 = lean_ctor_get(x_2, 5); -x_135 = lean_ctor_get(x_2, 6); -x_136 = lean_ctor_get(x_2, 7); -x_137 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_2); -x_138 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_138, 0, x_127); -lean_ctor_set(x_138, 1, x_128); -lean_ctor_set(x_138, 2, x_129); -lean_ctor_set(x_138, 3, x_130); -lean_ctor_set(x_138, 4, x_16); -lean_ctor_set(x_138, 5, x_134); -lean_ctor_set(x_138, 6, x_135); -lean_ctor_set(x_138, 7, x_136); -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_131); -lean_ctor_set_uint8(x_138, sizeof(void*)*8 + 1, x_132); -lean_ctor_set_uint8(x_138, sizeof(void*)*8 + 2, x_133); -lean_ctor_set_uint8(x_138, sizeof(void*)*8 + 3, x_137); -x_139 = lean_unsigned_to_nat(0u); -x_140 = l_Lean_Syntax_getArg(x_10, x_139); -lean_inc(x_4); -lean_inc(x_140); -x_141 = l_Lean_Elab_Term_isLocalIdent_x3f(x_140, x_138, x_3, x_4, x_5, x_6, x_7, x_19); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; uint8_t x_144; -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = l_Lean_Syntax_isMissing(x_140); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_145 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_143); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = l_Lean_Elab_Term_getCurrMacroScope(x_138, x_3, x_4, x_5, x_6, x_7, x_147); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_151 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_150); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4; -x_155 = l_Lean_addMacroScope(x_152, x_154, x_149); -x_156 = lean_box(0); -x_157 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3; -x_158 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_158, 0, x_146); -lean_ctor_set(x_158, 1, x_157); -lean_ctor_set(x_158, 2, x_155); -lean_ctor_set(x_158, 3, x_156); -x_159 = l_Lean_Syntax_setArg(x_10, x_139, x_158); -x_160 = l_Lean_Syntax_setArg(x_1, x_9, x_159); -x_161 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_153); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = l_Lean_Elab_Term_getCurrMacroScope(x_138, x_3, x_4, x_5, x_6, x_7, x_163); -lean_dec(x_4); -lean_dec(x_138); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_166); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_170 = x_167; -} else { - lean_dec_ref(x_167); - x_170 = lean_box(0); -} -x_171 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; -lean_inc(x_162); -x_172 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_172, 0, x_162); -lean_ctor_set(x_172, 1, x_171); -x_173 = l_Lean_addMacroScope(x_168, x_154, x_165); -lean_inc(x_162); -x_174 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_174, 0, x_162); -lean_ctor_set(x_174, 1, x_157); -lean_ctor_set(x_174, 2, x_173); -lean_ctor_set(x_174, 3, x_156); -x_175 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_162); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_162); -lean_ctor_set(x_176, 1, x_175); -x_177 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -x_178 = lean_array_push(x_177, x_174); -x_179 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; -x_180 = lean_array_push(x_178, x_179); -x_181 = lean_array_push(x_180, x_179); -x_182 = lean_array_push(x_181, x_176); -x_183 = lean_array_push(x_182, x_140); -x_184 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_187 = lean_array_push(x_186, x_185); -x_188 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8; -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; -x_191 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_191, 0, x_162); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_186, x_191); -x_193 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; -x_196 = lean_array_push(x_195, x_172); -x_197 = lean_array_push(x_196, x_189); -x_198 = lean_array_push(x_197, x_194); -x_199 = lean_array_push(x_198, x_160); -x_200 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_202, 0, x_201); -if (lean_is_scalar(x_170)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_170; -} -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_169); -return x_203; -} -else -{ -lean_object* x_204; -lean_dec(x_140); -lean_dec(x_138); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -x_204 = l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg(x_143); -return x_204; -} -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_142); -lean_dec(x_140); -lean_dec(x_138); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -x_205 = lean_ctor_get(x_141, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_206 = x_141; -} else { - lean_dec_ref(x_141); - x_206 = lean_box(0); -} -x_207 = lean_box(0); -if (lean_is_scalar(x_206)) { - x_208 = lean_alloc_ctor(0, 2, 0); -} else { - x_208 = x_206; -} -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_205); -return x_208; -} -} -} -else -{ -uint8_t x_209; -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_209 = !lean_is_exclusive(x_18); -if (x_209 == 0) -{ -lean_object* x_210; lean_object* x_211; -x_210 = lean_ctor_get(x_18, 0); -lean_dec(x_210); -x_211 = lean_box(0); -lean_ctor_set(x_18, 0, x_211); -return x_18; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_18, 1); -lean_inc(x_212); -lean_dec(x_18); -x_213 = lean_box(0); -x_214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -return x_214; -} -} -} -else -{ -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; -x_215 = lean_ctor_get(x_13, 0); -x_216 = lean_ctor_get(x_13, 1); -x_217 = lean_ctor_get(x_13, 2); -x_218 = lean_ctor_get(x_13, 3); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_dec(x_13); -x_219 = lean_nat_add(x_216, x_9); -x_220 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_220, 0, x_215); -lean_ctor_set(x_220, 1, x_219); -lean_ctor_set(x_220, 2, x_217); -lean_ctor_set(x_220, 3, x_218); -x_221 = lean_st_ref_set(x_7, x_220, x_14); -if (x_12 == 0) -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; uint8_t x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t 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; -x_222 = lean_ctor_get(x_221, 1); -lean_inc(x_222); -lean_dec(x_221); -x_223 = lean_ctor_get(x_2, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_2, 1); -lean_inc(x_224); -x_225 = lean_ctor_get(x_2, 2); -lean_inc(x_225); -x_226 = lean_ctor_get(x_2, 3); -lean_inc(x_226); -x_227 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_228 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_229 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); -x_230 = lean_ctor_get(x_2, 5); -lean_inc(x_230); -x_231 = lean_ctor_get(x_2, 6); -lean_inc(x_231); -x_232 = lean_ctor_get(x_2, 7); -lean_inc(x_232); -x_233 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - x_234 = x_2; -} else { - lean_dec_ref(x_2); - x_234 = lean_box(0); -} -if (lean_is_scalar(x_234)) { - x_235 = lean_alloc_ctor(0, 8, 4); -} else { - x_235 = x_234; -} -lean_ctor_set(x_235, 0, x_223); -lean_ctor_set(x_235, 1, x_224); -lean_ctor_set(x_235, 2, x_225); -lean_ctor_set(x_235, 3, x_226); -lean_ctor_set(x_235, 4, x_216); -lean_ctor_set(x_235, 5, x_230); -lean_ctor_set(x_235, 6, x_231); -lean_ctor_set(x_235, 7, x_232); -lean_ctor_set_uint8(x_235, sizeof(void*)*8, x_227); -lean_ctor_set_uint8(x_235, sizeof(void*)*8 + 1, x_228); -lean_ctor_set_uint8(x_235, sizeof(void*)*8 + 2, x_229); -lean_ctor_set_uint8(x_235, sizeof(void*)*8 + 3, x_233); -x_236 = lean_unsigned_to_nat(0u); -x_237 = l_Lean_Syntax_getArg(x_10, x_236); -lean_inc(x_4); -lean_inc(x_237); -x_238 = l_Lean_Elab_Term_isLocalIdent_x3f(x_237, x_235, x_3, x_4, x_5, x_6, x_7, x_222); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -if (lean_obj_tag(x_239) == 0) -{ -lean_object* x_240; uint8_t x_241; -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = l_Lean_Syntax_isMissing(x_237); -if (x_241 == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_242 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_240); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = l_Lean_Elab_Term_getCurrMacroScope(x_235, x_3, x_4, x_5, x_6, x_7, x_244); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_248 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_247); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -x_251 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4; -x_252 = l_Lean_addMacroScope(x_249, x_251, x_246); -x_253 = lean_box(0); -x_254 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3; -x_255 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_255, 0, x_243); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_255, 2, x_252); -lean_ctor_set(x_255, 3, x_253); -x_256 = l_Lean_Syntax_setArg(x_10, x_236, x_255); -x_257 = l_Lean_Syntax_setArg(x_1, x_9, x_256); -x_258 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_6, x_7, x_250); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = l_Lean_Elab_Term_getCurrMacroScope(x_235, x_3, x_4, x_5, x_6, x_7, x_260); -lean_dec(x_4); -lean_dec(x_235); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_263); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_267 = x_264; -} else { - lean_dec_ref(x_264); - x_267 = lean_box(0); -} -x_268 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5; -lean_inc(x_259); -x_269 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_269, 0, x_259); -lean_ctor_set(x_269, 1, x_268); -x_270 = l_Lean_addMacroScope(x_265, x_251, x_262); -lean_inc(x_259); -x_271 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_271, 0, x_259); -lean_ctor_set(x_271, 1, x_254); -lean_ctor_set(x_271, 2, x_270); -lean_ctor_set(x_271, 3, x_253); -x_272 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_259); -x_273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_273, 0, x_259); -lean_ctor_set(x_273, 1, x_272); -x_274 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -x_275 = lean_array_push(x_274, x_271); -x_276 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; -x_277 = lean_array_push(x_275, x_276); -x_278 = lean_array_push(x_277, x_276); -x_279 = lean_array_push(x_278, x_273); -x_280 = lean_array_push(x_279, x_237); -x_281 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; -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 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_284 = lean_array_push(x_283, x_282); -x_285 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8; -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; -x_288 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_288, 0, x_259); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_array_push(x_283, x_288); -x_290 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; -x_293 = lean_array_push(x_292, x_269); -x_294 = lean_array_push(x_293, x_286); -x_295 = lean_array_push(x_294, x_291); -x_296 = lean_array_push(x_295, x_257); -x_297 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6; -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_297); -lean_ctor_set(x_298, 1, x_296); -x_299 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_299, 0, x_298); -if (lean_is_scalar(x_267)) { - x_300 = lean_alloc_ctor(0, 2, 0); -} else { - x_300 = x_267; -} -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_266); -return x_300; -} -else -{ -lean_object* x_301; -lean_dec(x_237); -lean_dec(x_235); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -x_301 = l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg(x_240); -return x_301; -} -} -else -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_239); -lean_dec(x_237); -lean_dec(x_235); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -x_302 = lean_ctor_get(x_238, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_238)) { - lean_ctor_release(x_238, 0); - lean_ctor_release(x_238, 1); - x_303 = x_238; -} else { - lean_dec_ref(x_238); - x_303 = lean_box(0); -} -x_304 = lean_box(0); -if (lean_is_scalar(x_303)) { - x_305 = lean_alloc_ctor(0, 2, 0); -} else { - x_305 = x_303; -} -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_302); -return x_305; -} -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec(x_216); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_306 = lean_ctor_get(x_221, 1); -lean_inc(x_306); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_307 = x_221; -} else { - lean_dec_ref(x_221); - x_307 = lean_box(0); -} -x_308 = lean_box(0); -if (lean_is_scalar(x_307)) { - x_309 = lean_alloc_ctor(0, 2, 0); -} else { - x_309 = x_307; -} -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_306); -return x_309; -} -} +x_16 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; +x_17 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_17; } } } @@ -2247,15 +1704,30 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___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_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_9; } } @@ -3388,74 +2860,1038 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = 1; +x_13 = lean_box(x_12); +x_14 = lean_box(x_12); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_13); +lean_closure_set(x_15, 3, x_14); +x_16 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_3, x_1, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("proj"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("."); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("modifyOp"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedArgument"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("idx"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fun"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("basicFun"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\n===>\n"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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, 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) { +_start: +{ +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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_1, x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_23, x_24); +lean_dec(x_23); +x_26 = l_Lean_Syntax_getArg(x_2, x_22); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_19, x_20, x_21); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_Term_getCurrMacroScope(x_15, x_16, x_17, x_18, x_19, x_20, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Term_getMainModule___rarg(x_20, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1; +lean_inc(x_3); +x_37 = lean_name_mk_string(x_3, x_36); +x_38 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2; +lean_inc(x_3); +x_39 = lean_name_mk_string(x_3, x_38); +x_40 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; +lean_inc(x_28); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 1, x_40); +x_42 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7; +lean_inc(x_31); +lean_inc(x_34); +x_43 = l_Lean_addMacroScope(x_34, x_42, x_31); +x_44 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6; +lean_inc(x_4); +lean_inc(x_28); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_28); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set(x_45, 3, x_4); +x_46 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; +x_47 = lean_array_push(x_46, x_26); +x_48 = lean_array_push(x_47, x_41); +x_49 = lean_array_push(x_48, x_45); +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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8; +lean_inc(x_3); +x_52 = lean_name_mk_string(x_3, x_51); +x_53 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; +lean_inc(x_28); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_28); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12; +lean_inc(x_31); +lean_inc(x_34); +x_56 = l_Lean_addMacroScope(x_34, x_55, x_31); +x_57 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11; +lean_inc(x_4); +lean_inc(x_28); +x_58 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_58, 0, x_28); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_4); +x_59 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; +lean_inc(x_28); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_28); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__19; +lean_inc(x_28); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_28); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13; +lean_inc(x_54); +x_64 = lean_array_push(x_63, x_54); +x_65 = lean_array_push(x_64, x_58); +x_66 = lean_array_push(x_65, x_60); +x_67 = lean_array_push(x_66, x_25); +lean_inc(x_62); +x_68 = lean_array_push(x_67, x_62); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_52); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__9; +lean_inc(x_3); +x_71 = lean_name_mk_string(x_3, x_70); +x_72 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13; +lean_inc(x_3); +x_73 = lean_name_mk_string(x_3, x_72); +lean_inc(x_28); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_28); +lean_ctor_set(x_74, 1, x_72); +x_75 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14; +x_76 = lean_name_mk_string(x_3, x_75); +x_77 = l_Lean_addMacroScope(x_34, x_5, x_31); +lean_inc(x_28); +x_78 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_78, 0, x_28); +lean_ctor_set(x_78, 1, x_6); +lean_ctor_set(x_78, 2, x_77); +lean_ctor_set(x_78, 3, x_4); +x_79 = lean_array_push(x_7, x_78); +x_80 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15; +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_28); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_46, x_81); +x_85 = lean_array_push(x_84, x_83); +x_86 = lean_array_push(x_85, x_8); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_76); +lean_ctor_set(x_87, 1, x_86); +lean_inc(x_9); +x_88 = lean_array_push(x_9, x_74); +x_89 = lean_array_push(x_88, x_87); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_73); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_80); +lean_ctor_set(x_91, 1, x_10); +lean_inc(x_9); +x_92 = lean_array_push(x_9, x_90); +x_93 = lean_array_push(x_92, x_91); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_80); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_46, x_54); +x_96 = lean_array_push(x_95, x_94); +x_97 = lean_array_push(x_96, x_62); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_71); +lean_ctor_set(x_98, 1, x_97); +lean_inc(x_9); +x_99 = lean_array_push(x_9, x_69); +x_100 = lean_array_push(x_99, x_98); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_80); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_9, x_50); +x_103 = lean_array_push(x_102, x_101); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_37); +lean_ctor_set(x_104, 1, x_103); +x_122 = lean_st_ref_get(x_20, x_35); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_123, 3); +lean_inc(x_124); +lean_dec(x_123); +x_125 = lean_ctor_get_uint8(x_124, sizeof(void*)*1); +lean_dec(x_124); +if (x_125 == 0) +{ +lean_object* x_126; uint8_t x_127; +x_126 = lean_ctor_get(x_122, 1); +lean_inc(x_126); +lean_dec(x_122); +x_127 = 0; +x_105 = x_127; +x_106 = x_126; +goto block_121; +} else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_122, 1); +lean_inc(x_128); +lean_dec(x_122); +lean_inc(x_13); +x_129 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_13, x_15, x_16, x_17, x_18, x_19, x_20, x_128); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_unbox(x_130); +lean_dec(x_130); +x_105 = x_132; +x_106 = x_131; +goto block_121; +} +block_121: +{ +if (x_105 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_13); +x_107 = lean_box(0); +x_108 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1(x_104, x_11, x_12, x_107, x_15, x_16, x_17, x_18, x_19, x_20, x_106); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_inc(x_12); +x_109 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_109, 0, x_12); +x_110 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_111 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19; +x_113 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +lean_inc(x_104); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_104); +x_115 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_110); +x_117 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_13, x_116, x_15, x_16, x_17, x_18, x_19, x_20, x_106); +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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1(x_104, x_11, x_12, x_118, x_15, x_16, x_17, x_18, x_19, x_20, x_119); +lean_dec(x_118); +return x_120; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("s"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structInstLVal"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\nval: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_getArg(x_15, x_16); +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 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; lean_object* x_44; +x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13); +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_24); +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_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4; +x_29 = l_Lean_addMacroScope(x_26, x_28, x_23); +x_30 = lean_box(0); +x_31 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3; +x_32 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_32, 0, x_20); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +x_33 = l_Lean_Syntax_getArg(x_17, x_14); +lean_inc(x_33); +x_34 = l_Lean_Syntax_getKind(x_33); +x_35 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__4; +x_36 = lean_name_eq(x_34, x_35); +lean_dec(x_34); +x_37 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +x_38 = lean_array_get_size(x_37); +x_39 = l_Array_toSubarray___rarg(x_37, x_16, x_38); +x_40 = l_Array_ofSubarray___rarg(x_39); +lean_dec(x_39); +x_41 = l_Lean_nullKind; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = lean_st_ref_get(x_12, x_27); +if (x_36 == 0) +{ +lean_object* x_104; +x_104 = l_Lean_Syntax_getArg(x_33, x_16); +lean_dec(x_33); +x_44 = x_104; +goto block_103; +} +else +{ +x_44 = x_33; +goto block_103; +} +block_103: +{ +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_45 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_46 = lean_array_push(x_45, x_44); +x_47 = lean_array_push(x_46, x_42); +x_48 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___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_Syntax_setArg(x_1, x_14, x_49); +x_51 = lean_array_push(x_45, x_50); +x_52 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; +x_53 = lean_array_push(x_51, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_41); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; +x_56 = lean_array_push(x_55, x_54); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_41); +lean_ctor_set(x_57, 1, x_56); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_3, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_3, 1); +lean_inc(x_95); +x_96 = lean_array_get_size(x_95); +x_97 = lean_nat_dec_lt(x_14, x_96); +lean_dec(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +lean_dec(x_32); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_94); +lean_ctor_set(x_98, 1, x_95); +x_58 = x_98; +goto block_93; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_box(0); +x_100 = lean_array_fset(x_95, x_14, x_99); +x_101 = lean_array_fset(x_100, x_14, x_32); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_94); +lean_ctor_set(x_102, 1, x_101); +x_58 = x_102; +goto block_93; +} +} +else +{ +lean_dec(x_32); +lean_inc(x_3); +x_58 = x_3; +goto block_93; +} +block_93: +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; +x_59 = l_Lean_Syntax_setArg(x_2, x_16, x_58); +x_60 = lean_unsigned_to_nat(2u); +x_61 = l_Lean_Syntax_setArg(x_59, x_60, x_57); +x_83 = lean_ctor_get(x_43, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_83, 3); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_ctor_get_uint8(x_84, sizeof(void*)*1); +lean_dec(x_84); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_43, 1); +lean_inc(x_86); +lean_dec(x_43); +x_87 = 0; +x_62 = x_87; +x_63 = x_86; +goto block_82; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_88 = lean_ctor_get(x_43, 1); +lean_inc(x_88); +lean_dec(x_43); +lean_inc(x_5); +x_89 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_unbox(x_90); +lean_dec(x_90); +x_62 = x_92; +x_63 = x_91; +goto block_82; +} +block_82: +{ +if (x_62 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_65 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; +x_66 = lean_box(0); +x_67 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2(x_15, x_3, x_64, x_30, x_28, x_31, x_55, x_61, x_45, x_65, x_4, x_2, x_5, x_66, x_7, x_8, x_9, x_10, x_11, x_12, x_63); +lean_dec(x_3); +lean_dec(x_15); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_inc(x_2); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_2); +x_69 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8; +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_inc(x_61); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_61); +x_74 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_69); +lean_inc(x_5); +x_76 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_63); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; +x_80 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; +x_81 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2(x_15, x_3, x_79, x_30, x_28, x_31, x_55, x_61, x_45, x_80, x_4, x_2, x_5, x_77, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +lean_dec(x_77); +lean_dec(x_3); +lean_dec(x_15); +return x_81; +} +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +lean_dec(x_17); +x_105 = lean_unsigned_to_nat(2u); +x_106 = l_Lean_Syntax_getArg(x_1, x_105); +lean_dec(x_1); +x_107 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_108 = l_Lean_Syntax_getArg(x_107, x_16); +lean_dec(x_107); +x_109 = l_Lean_Syntax_getArg(x_3, x_14); +lean_dec(x_3); +x_110 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_115); +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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; +lean_inc(x_111); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_111); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7; +lean_inc(x_114); +lean_inc(x_117); +x_122 = l_Lean_addMacroScope(x_117, x_121, x_114); +x_123 = lean_box(0); +x_124 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6; +lean_inc(x_111); +x_125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_125, 0, x_111); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_122); +lean_ctor_set(x_125, 3, x_123); +x_126 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; +x_127 = lean_array_push(x_126, x_109); +x_128 = lean_array_push(x_127, x_120); +x_129 = lean_array_push(x_128, x_125); +x_130 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; +lean_inc(x_111); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_111); +lean_ctor_set(x_133, 1, x_132); +x_134 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12; +lean_inc(x_114); +lean_inc(x_117); +x_135 = l_Lean_addMacroScope(x_117, x_134, x_114); +x_136 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11; +lean_inc(x_111); +x_137 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_137, 0, x_111); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_137, 2, x_135); +lean_ctor_set(x_137, 3, x_123); +x_138 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; +lean_inc(x_111); +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_111); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__19; +lean_inc(x_111); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_111); +lean_ctor_set(x_141, 1, x_140); +x_142 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13; +lean_inc(x_133); +x_143 = lean_array_push(x_142, x_133); +x_144 = lean_array_push(x_143, x_137); +x_145 = lean_array_push(x_144, x_139); +x_146 = lean_array_push(x_145, x_108); +lean_inc(x_141); +x_147 = lean_array_push(x_146, x_141); +x_148 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11; +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13; +lean_inc(x_111); +x_151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_151, 0, x_111); +lean_ctor_set(x_151, 1, x_150); +x_152 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4; +x_153 = l_Lean_addMacroScope(x_117, x_152, x_114); +x_154 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3; +lean_inc(x_111); +x_155 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_155, 0, x_111); +lean_ctor_set(x_155, 1, x_154); +lean_ctor_set(x_155, 2, x_153); +lean_ctor_set(x_155, 3, x_123); +x_156 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; +x_157 = lean_array_push(x_156, x_155); +x_158 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15; +x_161 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_161, 0, x_111); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_126, x_159); +x_163 = lean_array_push(x_162, x_161); +x_164 = lean_array_push(x_163, x_106); +x_165 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_168 = lean_array_push(x_167, x_151); +x_169 = lean_array_push(x_168, x_166); +x_170 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_169); +x_172 = lean_array_push(x_167, x_171); +x_173 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11; +x_174 = lean_array_push(x_172, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_158); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_126, x_133); +x_177 = lean_array_push(x_176, x_175); +x_178 = lean_array_push(x_177, x_141); +x_179 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_167, x_149); +x_182 = lean_array_push(x_181, x_180); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_158); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_array_push(x_167, x_131); +x_185 = lean_array_push(x_184, x_183); +x_186 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9; +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +x_205 = lean_st_ref_get(x_12, x_118); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_206, 3); +lean_inc(x_207); +lean_dec(x_206); +x_208 = lean_ctor_get_uint8(x_207, sizeof(void*)*1); +lean_dec(x_207); +if (x_208 == 0) +{ +lean_object* x_209; uint8_t x_210; +x_209 = lean_ctor_get(x_205, 1); +lean_inc(x_209); +lean_dec(x_205); +x_210 = 0; +x_188 = x_210; +x_189 = x_209; +goto block_204; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; +x_211 = lean_ctor_get(x_205, 1); +lean_inc(x_211); +lean_dec(x_205); +lean_inc(x_5); +x_212 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_211); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_unbox(x_213); +lean_dec(x_213); +x_188 = x_215; +x_189 = x_214; +goto block_204; +} +block_204: +{ +if (x_188 == 0) +{ +lean_object* x_190; lean_object* x_191; +lean_dec(x_5); +x_190 = lean_box(0); +x_191 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1(x_187, x_4, x_2, x_190, x_7, x_8, x_9, x_10, x_11, x_12, x_189); +return x_191; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_inc(x_2); +x_192 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_192, 0, x_2); +x_193 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_194 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +x_195 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19; +x_196 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +lean_inc(x_187); +x_197 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_197, 0, x_187); +x_198 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_193); +x_200 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_5, x_199, x_7, x_8, x_9, x_10, x_11, x_12, x_189); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1(x_187, x_4, x_2, x_201, x_7, x_8, x_9, x_10, x_11, x_12, x_202); +lean_dec(x_201); +return x_203; +} +} } } } @@ -3490,336 +3926,26 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("modifyOp"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; +x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("s"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structInstLVal"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("app"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("proj"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("."); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("namedArgument"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("idx"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fun"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("basicFun"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -x_2 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("\n===>\n"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("\nval: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("\nSource: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39() { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38; +x_1 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -3827,788 +3953,140 @@ return x_2; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp(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; uint8_t x_320; lean_object* x_321; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; -x_334 = lean_st_ref_get(x_10, x_11); -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_335, 3); -lean_inc(x_336); -lean_dec(x_335); -x_337 = lean_ctor_get_uint8(x_336, sizeof(void*)*1); -lean_dec(x_336); -if (x_337 == 0) -{ -lean_object* x_338; uint8_t x_339; -x_338 = lean_ctor_get(x_334, 1); -lean_inc(x_338); -lean_dec(x_334); -x_339 = 0; -x_320 = x_339; -x_321 = x_338; -goto block_333; -} -else -{ -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; uint8_t x_345; -x_340 = lean_ctor_get(x_334, 1); -lean_inc(x_340); -lean_dec(x_334); -x_341 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_342 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_341, x_5, x_6, x_7, x_8, x_9, x_10, x_340); -x_343 = lean_ctor_get(x_342, 0); -lean_inc(x_343); -x_344 = lean_ctor_get(x_342, 1); -lean_inc(x_344); -lean_dec(x_342); -x_345 = lean_unbox(x_343); -lean_dec(x_343); -x_320 = x_345; -x_321 = x_344; -goto block_333; -} -block_319: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_getArg(x_2, x_13); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_getArg(x_14, x_15); -x_17 = l_Lean_Syntax_isNone(x_16); -if (x_17 == 0) -{ -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; 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; lean_object* x_43; -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_12); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_20); -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 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_23); -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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9; -x_28 = l_Lean_addMacroScope(x_25, x_27, x_22); -x_29 = lean_box(0); -x_30 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8; -x_31 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_31, 0, x_19); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_28); -lean_ctor_set(x_31, 3, x_29); -x_32 = l_Lean_Syntax_getArg(x_16, x_13); +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_12 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; +x_30 = lean_st_ref_get(x_10, x_11); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); lean_inc(x_32); -x_33 = l_Lean_Syntax_getKind(x_32); -x_34 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__4; -x_35 = lean_name_eq(x_33, x_34); -lean_dec(x_33); -x_36 = l_Lean_Syntax_getArgs(x_16); -lean_dec(x_16); -x_37 = lean_array_get_size(x_36); -x_38 = l_Array_toSubarray___rarg(x_36, x_15, x_37); -x_39 = l_Array_ofSubarray___rarg(x_38); -lean_dec(x_38); -x_40 = l_Lean_nullKind; -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_st_ref_get(x_10, x_26); -if (x_35 == 0) -{ -lean_object* x_205; -x_205 = l_Lean_Syntax_getArg(x_32, x_15); +lean_dec(x_31); +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); lean_dec(x_32); -x_43 = x_205; -goto block_204; +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 0; +x_13 = x_35; +x_14 = x_34; +goto block_29; } else { -x_43 = x_32; -goto block_204; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_dec(x_30); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_13 = x_40; +x_14 = x_39; +goto block_29; } -block_204: +block_29: { -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_44 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_45 = lean_array_push(x_44, x_43); -x_46 = lean_array_push(x_45, x_41); -x_47 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_Syntax_setArg(x_2, x_13, x_48); -x_50 = lean_array_push(x_44, x_49); -x_51 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -x_52 = lean_array_push(x_50, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_40); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_55 = lean_array_push(x_54, x_53); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_40); -lean_ctor_set(x_56, 1, x_55); -if (lean_obj_tag(x_3) == 1) +if (x_13 == 0) { -lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; -x_195 = lean_ctor_get(x_3, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_3, 1); -lean_inc(x_196); -x_197 = lean_array_get_size(x_196); -x_198 = lean_nat_dec_lt(x_13, x_197); -lean_dec(x_197); -if (x_198 == 0) -{ -lean_object* x_199; -lean_dec(x_31); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_195); -lean_ctor_set(x_199, 1, x_196); -x_57 = x_199; -goto block_194; +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(x_2, x_1, x_3, x_4, x_12, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_16; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_box(0); -x_201 = lean_array_fset(x_196, x_13, x_200); -x_202 = lean_array_fset(x_201, x_13, x_31); -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_195); -lean_ctor_set(x_203, 1, x_202); -x_57 = x_203; -goto block_194; -} -} -else -{ -lean_dec(x_31); -lean_inc(x_3); -x_57 = x_3; -goto block_194; -} -block_194: -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_169; lean_object* x_170; lean_object* x_183; lean_object* x_184; uint8_t x_185; -lean_inc(x_1); -x_58 = l_Lean_Syntax_setArg(x_1, x_15, x_57); -x_59 = lean_unsigned_to_nat(2u); -x_60 = l_Lean_Syntax_setArg(x_58, x_59, x_56); -x_183 = lean_ctor_get(x_42, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_183, 3); -lean_inc(x_184); -lean_dec(x_183); -x_185 = lean_ctor_get_uint8(x_184, sizeof(void*)*1); -lean_dec(x_184); -if (x_185 == 0) -{ -lean_object* x_186; uint8_t x_187; -x_186 = lean_ctor_get(x_42, 1); -lean_inc(x_186); -lean_dec(x_42); -x_187 = 0; -x_169 = x_187; -x_170 = x_186; -goto block_182; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_188 = lean_ctor_get(x_42, 1); -lean_inc(x_188); -lean_dec(x_42); -x_189 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_190 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_189, x_5, x_6, x_7, x_8, x_9, x_10, x_188); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_unbox(x_191); -lean_dec(x_191); -x_169 = x_193; -x_170 = x_192; -goto block_182; -} -block_168: -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; -x_62 = l_Lean_Syntax_getArg(x_14, x_13); -lean_dec(x_14); -x_63 = l_Lean_Syntax_getArg(x_62, x_15); -lean_dec(x_62); -x_64 = l_Lean_Syntax_getArg(x_3, x_13); -lean_dec(x_3); -x_65 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_61); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_67); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; -lean_inc(x_66); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_66); -lean_ctor_set(x_75, 1, x_74); -x_76 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19; -lean_inc(x_69); -lean_inc(x_72); -x_77 = l_Lean_addMacroScope(x_72, x_76, x_69); -x_78 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18; -lean_inc(x_66); -x_79 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_79, 0, x_66); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_77); -lean_ctor_set(x_79, 3, x_29); -x_80 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; -x_81 = lean_array_push(x_80, x_64); -x_82 = lean_array_push(x_81, x_75); -x_83 = lean_array_push(x_82, x_79); -x_84 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; -lean_inc(x_66); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_66); -lean_ctor_set(x_87, 1, x_86); -x_88 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25; -lean_inc(x_69); -lean_inc(x_72); -x_89 = l_Lean_addMacroScope(x_72, x_88, x_69); -x_90 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24; -lean_inc(x_66); -x_91 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_91, 0, x_66); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_89); -lean_ctor_set(x_91, 3, x_29); -x_92 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_66); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_66); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__19; -lean_inc(x_66); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_66); -lean_ctor_set(x_95, 1, x_94); -x_96 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -lean_inc(x_87); -x_97 = lean_array_push(x_96, x_87); -x_98 = lean_array_push(x_97, x_91); -x_99 = lean_array_push(x_98, x_93); -x_100 = lean_array_push(x_99, x_63); -lean_inc(x_95); -x_101 = lean_array_push(x_100, x_95); -x_102 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21; -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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26; -lean_inc(x_66); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_66); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_addMacroScope(x_72, x_27, x_69); -lean_inc(x_66); -x_107 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_107, 0, x_66); -lean_ctor_set(x_107, 1, x_30); -lean_ctor_set(x_107, 2, x_106); -lean_ctor_set(x_107, 3, x_29); -x_108 = lean_array_push(x_54, x_107); -x_109 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30; -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_66); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_80, x_110); -x_114 = lean_array_push(x_113, x_112); -x_115 = lean_array_push(x_114, x_60); -x_116 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_44, x_105); -x_119 = lean_array_push(x_118, x_117); -x_120 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_44, x_121); -x_123 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31; -x_124 = lean_array_push(x_122, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_109); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_80, x_87); -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_array_push(x_127, x_95); -x_129 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; -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_44, x_103); -x_132 = lean_array_push(x_131, x_130); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_109); -lean_ctor_set(x_133, 1, x_132); -x_134 = lean_array_push(x_44, x_85); -x_135 = lean_array_push(x_134, x_133); -x_136 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13; -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_156 = lean_st_ref_get(x_10, x_73); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_157, 3); -lean_inc(x_158); -lean_dec(x_157); -x_159 = lean_ctor_get_uint8(x_158, sizeof(void*)*1); -lean_dec(x_158); -if (x_159 == 0) -{ -lean_object* x_160; uint8_t x_161; -x_160 = lean_ctor_get(x_156, 1); -lean_inc(x_160); -lean_dec(x_156); -x_161 = 0; -x_138 = x_161; -x_139 = x_160; -goto block_155; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_162 = lean_ctor_get(x_156, 1); -lean_inc(x_162); -lean_dec(x_156); -x_163 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_164 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_163, x_5, x_6, x_7, x_8, x_9, x_10, x_162); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_unbox(x_165); -lean_dec(x_165); -x_138 = x_167; -x_139 = x_166; -goto block_155; -} -block_155: -{ -if (x_138 == 0) -{ -lean_object* x_140; lean_object* x_141; -lean_inc(x_137); -lean_inc(x_1); -x_140 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1), 10, 3); -lean_closure_set(x_140, 0, x_1); -lean_closure_set(x_140, 1, x_137); -lean_closure_set(x_140, 2, x_4); -x_141 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_139); -return x_141; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_inc(x_1); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_1); -x_143 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35; -x_146 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -lean_inc(x_137); -x_147 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_147, 0, x_137); -x_148 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_143); -x_150 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_151 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_150, x_149, x_5, x_6, x_7, x_8, x_9, x_10, x_139); -x_152 = lean_ctor_get(x_151, 1); -lean_inc(x_152); -lean_dec(x_151); -lean_inc(x_137); -lean_inc(x_1); -x_153 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1), 10, 3); -lean_closure_set(x_153, 0, x_1); -lean_closure_set(x_153, 1, x_137); -lean_closure_set(x_153, 2, x_4); -x_154 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_153, x_5, x_6, x_7, x_8, x_9, x_10, x_152); -return x_154; -} -} -} -block_182: -{ -if (x_169 == 0) -{ -x_61 = x_170; -goto block_168; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_inc(x_1); -x_171 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_171, 0, x_1); -x_172 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_173 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_171); -x_174 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37; -x_175 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -lean_inc(x_60); -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_60); -x_177 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_172); -x_179 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_180 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_179, x_178, x_5, x_6, x_7, x_8, x_9, x_10, x_170); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_61 = x_181; -goto block_168; -} -} -} -} -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; -lean_dec(x_16); -x_206 = lean_unsigned_to_nat(2u); -x_207 = l_Lean_Syntax_getArg(x_2, x_206); -lean_dec(x_2); -x_208 = l_Lean_Syntax_getArg(x_14, x_13); -lean_dec(x_14); -x_209 = l_Lean_Syntax_getArg(x_208, x_15); -lean_dec(x_208); -x_210 = l_Lean_Syntax_getArg(x_3, x_13); -lean_dec(x_3); -x_211 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_12); -x_212 = lean_ctor_get(x_211, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); -lean_inc(x_213); -lean_dec(x_211); -x_214 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_213); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_216); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_220 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; -lean_inc(x_212); -x_221 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_221, 0, x_212); -lean_ctor_set(x_221, 1, x_220); -x_222 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19; -lean_inc(x_215); -lean_inc(x_218); -x_223 = l_Lean_addMacroScope(x_218, x_222, x_215); -x_224 = lean_box(0); -x_225 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18; -lean_inc(x_212); -x_226 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_226, 0, x_212); -lean_ctor_set(x_226, 1, x_225); -lean_ctor_set(x_226, 2, x_223); -lean_ctor_set(x_226, 3, x_224); -x_227 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; -x_228 = lean_array_push(x_227, x_210); -x_229 = lean_array_push(x_228, x_221); -x_230 = lean_array_push(x_229, x_226); -x_231 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; -lean_inc(x_212); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_212); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25; -lean_inc(x_215); -lean_inc(x_218); -x_236 = l_Lean_addMacroScope(x_218, x_235, x_215); -x_237 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24; -lean_inc(x_212); -x_238 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_238, 0, x_212); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_236); -lean_ctor_set(x_238, 3, x_224); -x_239 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; -lean_inc(x_212); -x_240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_240, 0, x_212); -lean_ctor_set(x_240, 1, x_239); -x_241 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__19; -lean_inc(x_212); -x_242 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_242, 0, x_212); -lean_ctor_set(x_242, 1, x_241); -x_243 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13; -lean_inc(x_234); -x_244 = lean_array_push(x_243, x_234); -x_245 = lean_array_push(x_244, x_238); -x_246 = lean_array_push(x_245, x_240); -x_247 = lean_array_push(x_246, x_209); -lean_inc(x_242); -x_248 = lean_array_push(x_247, x_242); -x_249 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21; -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26; -lean_inc(x_212); -x_252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_252, 0, x_212); -lean_ctor_set(x_252, 1, x_251); -x_253 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9; -x_254 = l_Lean_addMacroScope(x_218, x_253, x_215); -x_255 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8; -lean_inc(x_212); -x_256 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_256, 0, x_212); -lean_ctor_set(x_256, 1, x_255); -lean_ctor_set(x_256, 2, x_254); -lean_ctor_set(x_256, 3, x_224); -x_257 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_258 = lean_array_push(x_257, x_256); -x_259 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__13; -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30; -x_262 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_262, 0, x_212); -lean_ctor_set(x_262, 1, x_261); -x_263 = lean_array_push(x_227, x_260); -x_264 = lean_array_push(x_263, x_262); -x_265 = lean_array_push(x_264, x_207); -x_266 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_269 = lean_array_push(x_268, x_252); -x_270 = lean_array_push(x_269, x_267); -x_271 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27; -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_270); -x_273 = lean_array_push(x_268, x_272); -x_274 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; -x_275 = lean_array_push(x_273, x_274); -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_259); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_227, x_234); -x_278 = lean_array_push(x_277, x_276); -x_279 = lean_array_push(x_278, x_242); -x_280 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = lean_array_push(x_268, x_250); -x_283 = lean_array_push(x_282, x_281); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_259); -lean_ctor_set(x_284, 1, x_283); -x_285 = lean_array_push(x_268, x_232); -x_286 = lean_array_push(x_285, x_284); -x_287 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13; -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_307 = lean_st_ref_get(x_10, x_219); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_308, 3); -lean_inc(x_309); -lean_dec(x_308); -x_310 = lean_ctor_get_uint8(x_309, sizeof(void*)*1); -lean_dec(x_309); -if (x_310 == 0) -{ -lean_object* x_311; uint8_t x_312; -x_311 = lean_ctor_get(x_307, 1); -lean_inc(x_311); -lean_dec(x_307); -x_312 = 0; -x_289 = x_312; -x_290 = x_311; -goto block_306; -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_313 = lean_ctor_get(x_307, 1); -lean_inc(x_313); -lean_dec(x_307); -x_314 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_315 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_314, x_5, x_6, x_7, x_8, x_9, x_10, x_313); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = lean_unbox(x_316); -lean_dec(x_316); -x_289 = x_318; -x_290 = x_317; -goto block_306; -} -block_306: -{ -if (x_289 == 0) -{ -lean_object* x_291; lean_object* x_292; -lean_inc(x_288); -lean_inc(x_1); -x_291 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1), 10, 3); -lean_closure_set(x_291, 0, x_1); -lean_closure_set(x_291, 1, x_288); -lean_closure_set(x_291, 2, x_4); -x_292 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_288, x_291, x_5, x_6, x_7, x_8, x_9, x_10, x_290); -return x_292; -} -else -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_inc(x_1); -x_293 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_293, 0, x_1); -x_294 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_295 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_293); -x_296 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35; -x_297 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_297, 0, x_295); -lean_ctor_set(x_297, 1, x_296); -lean_inc(x_288); -x_298 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_298, 0, x_288); -x_299 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_299, 0, x_297); -lean_ctor_set(x_299, 1, x_298); -x_300 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_294); -x_301 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_302 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_301, x_300, x_5, x_6, x_7, x_8, x_9, x_10, x_290); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -lean_dec(x_302); -lean_inc(x_288); -lean_inc(x_1); -x_304 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1), 10, 3); -lean_closure_set(x_304, 0, x_1); -lean_closure_set(x_304, 1, x_288); -lean_closure_set(x_304, 2, x_4); -x_305 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_288, x_304, x_5, x_6, x_7, x_8, x_9, x_10, x_303); -return x_305; -} -} -} -} -block_333: -{ -if (x_320 == 0) -{ -x_12 = x_321; -goto block_319; -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +lean_object* x_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_inc(x_2); -x_322 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_322, 0, x_2); -x_323 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_324 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_322); -x_325 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39; -x_326 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_2); +x_18 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); lean_inc(x_3); -x_327 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_327, 0, x_3); -x_328 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_328, 0, x_326); -lean_ctor_set(x_328, 1, x_327); -x_329 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_323); -x_330 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; -x_331 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_330, x_329, x_5, x_6, x_7, x_8, x_9, x_10, x_321); -x_332 = lean_ctor_get(x_331, 1); -lean_inc(x_332); -lean_dec(x_331); -x_12 = x_332; -goto block_319; +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_3); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_18); +x_25 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_12, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +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_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(x_2, x_1, x_3, x_4, x_12, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +lean_dec(x_26); +return x_28; } } } } +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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_4); +return x_12; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +_start: +{ +lean_object* x_22; +x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___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, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_14); +lean_dec(x_2); +lean_dec(x_1); +return x_22; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(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); +return x_14; +} +} lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4860,7 +4338,7 @@ x_20 = l_Lean_indentExpr(x_11); x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -6953,7 +6431,7 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); lean_dec(x_2); -x_5 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; +x_5 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; x_6 = l_Lean_mkAtomFrom(x_3, x_5); x_7 = l_Lean_mkIdentFrom(x_3, x_4); lean_dec(x_3); @@ -6987,7 +6465,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_2, 0); lean_inc(x_16); lean_dec(x_2); -x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; +x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; x_18 = l_Lean_mkAtomFrom(x_16, x_17); x_19 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; x_20 = lean_array_push(x_19, x_18); @@ -7471,7 +6949,7 @@ 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; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; x_17 = l_Lean_Syntax_getArg(x_13, x_10); lean_dec(x_13); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_5); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_5); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -7480,13 +6958,13 @@ lean_dec(x_18); x_21 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; lean_inc(x_17); x_22 = lean_array_push(x_21, x_17); -x_23 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11; +x_23 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11; x_24 = lean_array_push(x_22, x_23); -x_25 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11; +x_25 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6; 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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12; +x_27 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12; x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_19); lean_ctor_set(x_28, 1, x_27); @@ -12413,6 +11891,54 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} uint8_t l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -12470,7 +11996,7 @@ x_22 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructI x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_24 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___spec__1(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_24; } else @@ -12489,6 +12015,19 @@ return x_26; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -12518,14 +12057,14 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkPro _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; +x_3 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; x_4 = l_Lean_mkAtomFrom(x_1, x_3); x_5 = l_Lean_mkIdentFrom(x_1, x_2); x_6 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; x_7 = lean_array_push(x_6, x_1); x_8 = lean_array_push(x_7, x_4); x_9 = lean_array_push(x_8, x_5); -x_10 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15; +x_10 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -13034,67 +12573,109 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_T return x_2; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1(lean_object* x_1) { +lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(lean_object* x_1) { _start: { -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 1); -x_4 = l_List_tail_x21___rarg(x_3); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_4); +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_1, 0); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_List_tail_x21___rarg(x_7); +lean_dec(x_7); +lean_ctor_set(x_4, 1, x_8); +x_9 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(x_6); +lean_ctor_set(x_1, 1, x_9); return x_1; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_ctor_get(x_1, 2); -x_8 = lean_ctor_get(x_1, 3); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_1); -x_9 = l_List_tail_x21___rarg(x_6); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_10, 0, x_5); -lean_ctor_set(x_10, 1, x_9); -lean_ctor_set(x_10, 2, x_7); -lean_ctor_set(x_10, 3, x_8); -return x_10; -} -} -} -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = l_Lean_Elab_Term_StructInst_Field_toSyntax(x_2); -x_4 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_5 = lean_array_push(x_4, x_3); -x_6 = lean_array_push(x_5, x_1); -x_7 = l_Lean_nullKind; -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1), 1, 0); +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 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_4, 0); +x_12 = lean_ctor_get(x_4, 1); +x_13 = lean_ctor_get(x_4, 2); +x_14 = lean_ctor_get(x_4, 3); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_4); +x_15 = l_List_tail_x21___rarg(x_12); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 2, x_13); +lean_ctor_set(x_16, 3, x_14); +x_17 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(x_10); +lean_ctor_set(x_1, 1, x_17); +lean_ctor_set(x_1, 0, x_16); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2() { +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_ctor_get(x_1, 0); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_18, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_18, 3); +lean_inc(x_23); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + x_24 = x_18; +} else { + lean_dec_ref(x_18); + x_24 = lean_box(0); +} +x_25 = l_List_tail_x21___rarg(x_21); +lean_dec(x_21); +if (lean_is_scalar(x_24)) { + x_26 = lean_alloc_ctor(0, 4, 0); +} else { + x_26 = x_24; +} +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_22); +lean_ctor_set(x_26, 3, x_23); +x_27 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(x_19); +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; +} +} +} +} +static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1() { _start: { lean_object* x_1; @@ -13102,53 +12683,212 @@ x_1 = l_Lean_Elab_Term_StructInst_instInhabitedField(lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3() { +static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__2), 2, 1); -lean_closure_set(x_2, 0, x_1); +lean_object* x_1; +x_1 = lean_mk_string("Init.Data.List.BasicAux"); +return x_1; +} +} +static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("List.head!"); +return x_1; +} +} +static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("empty list"); +return x_1; +} +} +static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2; +x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3; +x_3 = lean_unsigned_to_nat(30u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1; +x_3 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5; +x_4 = lean_panic_fn(x_2, x_3); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +return x_5; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 < x_2; +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = x_4; +return x_6; +} +else +{ +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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +x_7 = lean_array_uget(x_4, x_3); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_4, x_3, x_8); +x_10 = x_7; +x_11 = l_Lean_Elab_Term_StructInst_Field_toSyntax(x_10); +x_12 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_13 = lean_array_push(x_12, x_11); +lean_inc(x_1); +x_14 = lean_array_push(x_13, x_1); +x_15 = l_Lean_nullKind; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = 1; +x_18 = x_3 + x_17; +x_19 = x_16; +x_20 = lean_array_uset(x_9, x_3, x_19); +x_3 = x_18; +x_4 = x_20; +goto _start; +} +} +} +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; +x_3 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5; +x_4 = lean_panic_fn(x_2, x_3); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +return x_5; +} +} +} +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +lean_inc(x_3); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_1); +x_1 = x_7; +x_2 = x_5; +goto _start; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6(x_4, x_6); +lean_dec(x_6); +x_8 = 1; +x_9 = x_2 + x_8; +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_2 = lean_box(0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_dec(x_4); return x_2; } +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_4, x_4); +if (x_7 == 0) +{ +lean_dec(x_4); +return x_2; } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +else +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = 0; +x_9 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_10 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7(x_3, x_8, x_9, x_2); +return x_10; +} +} +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); -lean_inc(x_16); -lean_dec(x_7); -x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(x_16); -if (lean_obj_tag(x_17) == 0) +if (lean_obj_tag(x_7) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1; -lean_inc(x_16); -x_19 = l_List_map___rarg(x_18, x_16); -x_20 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -lean_inc(x_8); -lean_inc(x_15); -lean_inc(x_2); -x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_2, x_3, x_15, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -x_25 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; -x_26 = l_List_head_x21___rarg(x_25, x_16); -lean_dec(x_16); -x_27 = l_Lean_isSubobjectField_x3f(x_4, x_2, x_15); -if (lean_obj_tag(x_27) == 0) -{ -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; size_t x_35; size_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; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_object* x_15; lean_object* x_16; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13156,410 +12896,410 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); -x_28 = lean_unsigned_to_nat(4u); -x_29 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -x_30 = l_Lean_Syntax_setArg(x_5, x_28, x_29); -x_31 = l_List_redLength___rarg(x_19); -x_32 = lean_mk_empty_array_with_capacity(x_31); -lean_dec(x_31); -x_33 = l_List_toArrayAux___rarg(x_19, x_32); -x_34 = lean_array_get_size(x_33); -x_35 = lean_usize_of_nat(x_34); -lean_dec(x_34); -x_36 = 0; -x_37 = x_33; -x_38 = l_Id_instMonadId; -x_39 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3; -x_40 = l_Array_mapMUnsafe_map___rarg(x_38, x_39, x_35, x_36, x_37); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +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_7); +if (x_17 == 0) +{ +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_7, 0); +x_19 = lean_ctor_get(x_7, 1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_inc(x_21); +x_23 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(x_21); +x_24 = l_Lean_Elab_Term_StructInst_Struct_source(x_2); +lean_inc(x_8); +lean_inc(x_20); +lean_inc(x_4); +x_25 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_4, x_5, x_20, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(x_21); +lean_dec(x_21); +lean_inc(x_4); +lean_inc(x_3); +x_29 = l_Lean_isSubobjectField_x3f(x_3, x_4, x_20); +if (lean_obj_tag(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; size_t x_37; size_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; uint8_t x_47; +x_30 = lean_unsigned_to_nat(4u); +x_31 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; +lean_inc(x_6); +x_32 = l_Lean_Syntax_setArg(x_6, x_30, x_31); +x_33 = l_List_redLength___rarg(x_23); +x_34 = lean_mk_empty_array_with_capacity(x_33); +lean_dec(x_33); +x_35 = l_List_toArrayAux___rarg(x_23, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = 0; +x_39 = x_35; +x_40 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3(x_31, x_37, x_38, x_39); x_41 = x_40; x_42 = l_Lean_nullKind; 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_unsigned_to_nat(2u); -x_45 = l_Lean_Syntax_setArg(x_30, x_44, x_43); -x_46 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_45, x_23); -x_47 = !lean_is_exclusive(x_26); +x_45 = l_Lean_Syntax_setArg(x_32, x_44, x_43); +x_46 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_45, x_26); +x_47 = !lean_is_exclusive(x_28); if (x_47 == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_48 = lean_ctor_get(x_26, 1); -x_49 = lean_ctor_get(x_26, 2); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_48 = lean_ctor_get(x_28, 1); +x_49 = lean_ctor_get(x_28, 2); lean_dec(x_49); -x_50 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_51 = l_List_head_x21___rarg(x_50, x_48); +x_50 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_48); lean_dec(x_48); -x_52 = lean_box(0); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_46); -lean_ctor_set(x_26, 2, x_54); -lean_ctor_set(x_26, 1, x_53); -lean_ctor_set(x_21, 0, x_26); -return x_21; +x_51 = lean_box(0); +lean_ctor_set(x_7, 1, x_51); +lean_ctor_set(x_7, 0, x_50); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_28, 2, x_52); +lean_ctor_set(x_28, 1, x_7); +x_53 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_53, 0); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_28); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_53, 0, x_56); +return x_53; } 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; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_55 = lean_ctor_get(x_26, 0); -x_56 = lean_ctor_get(x_26, 1); -x_57 = lean_ctor_get(x_26, 3); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_53, 0); +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_26); -x_58 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_59 = l_List_head_x21___rarg(x_58, x_56); -lean_dec(x_56); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_62, 0, x_46); -x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_55); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_62); -lean_ctor_set(x_63, 3, x_57); -lean_ctor_set(x_21, 0, x_63); -return x_21; +lean_dec(x_53); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_28); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_free_object(x_21); -x_64 = lean_ctor_get(x_27, 0); -lean_inc(x_64); -lean_dec(x_27); -x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_5); -lean_ctor_set(x_65, 1, x_64); -lean_ctor_set(x_65, 2, x_19); -lean_ctor_set(x_65, 3, x_23); -x_66 = lean_apply_8(x_6, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_24); -if (lean_obj_tag(x_66) == 0) +uint8_t x_61; +lean_dec(x_28); +x_61 = !lean_is_exclusive(x_53); +if (x_61 == 0) { -uint8_t x_67; -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) +return x_53; +} +else { -uint8_t x_68; -x_68 = !lean_is_exclusive(x_26); -if (x_68 == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_53, 0); +x_63 = lean_ctor_get(x_53, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_53); +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; +} +} +} +else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_69 = lean_ctor_get(x_66, 0); -x_70 = lean_ctor_get(x_26, 1); -x_71 = lean_ctor_get(x_26, 2); +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; +x_65 = lean_ctor_get(x_28, 0); +x_66 = lean_ctor_get(x_28, 1); +x_67 = lean_ctor_get(x_28, 3); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_28); +x_68 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_66); +lean_dec(x_66); +x_69 = lean_box(0); +lean_ctor_set(x_7, 1, x_69); +lean_ctor_set(x_7, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_46); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_65); +lean_ctor_set(x_71, 1, x_7); +lean_ctor_set(x_71, 2, x_70); +lean_ctor_set(x_71, 3, x_67); +x_72 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_75 = x_72; +} else { + lean_dec_ref(x_72); + x_75 = lean_box(0); +} +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_73); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_75; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_71); -x_72 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_73 = l_List_head_x21___rarg(x_72, x_70); -lean_dec(x_70); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_69); -lean_ctor_set(x_26, 2, x_76); -lean_ctor_set(x_26, 1, x_75); -lean_ctor_set(x_66, 0, x_26); -return x_66; -} -else -{ -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_77 = lean_ctor_get(x_66, 0); -x_78 = lean_ctor_get(x_26, 0); -x_79 = lean_ctor_get(x_26, 1); -x_80 = lean_ctor_get(x_26, 3); -lean_inc(x_80); -lean_inc(x_79); +x_78 = lean_ctor_get(x_72, 0); lean_inc(x_78); -lean_dec(x_26); -x_81 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_82 = l_List_head_x21___rarg(x_81, x_79); -lean_dec(x_79); -x_83 = lean_box(0); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_77); -x_86 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_86, 0, x_78); -lean_ctor_set(x_86, 1, x_84); -lean_ctor_set(x_86, 2, x_85); -lean_ctor_set(x_86, 3, x_80); -lean_ctor_set(x_66, 0, x_86); -return x_66; +x_79 = lean_ctor_get(x_72, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_80 = x_72; +} else { + lean_dec_ref(x_72); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} } } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_87 = lean_ctor_get(x_66, 0); -x_88 = lean_ctor_get(x_66, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_66); -x_89 = lean_ctor_get(x_26, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_26, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_26, 3); -lean_inc(x_91); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - x_92 = x_26; -} else { - lean_dec_ref(x_26); - x_92 = lean_box(0); -} -x_93 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_94 = l_List_head_x21___rarg(x_93, x_90); -lean_dec(x_90); -x_95 = lean_box(0); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_29, 0); +lean_inc(x_82); +lean_dec(x_29); +lean_inc(x_6); +x_83 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 0, x_6); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_83, 2, x_23); +lean_ctor_set(x_83, 3, x_26); +lean_inc(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_84 = lean_apply_8(x_1, x_83, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = !lean_is_exclusive(x_28); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_ctor_get(x_28, 1); +x_89 = lean_ctor_get(x_28, 2); +lean_dec(x_89); +x_90 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_88); +lean_dec(x_88); +x_91 = lean_box(0); +lean_ctor_set(x_7, 1, x_91); +lean_ctor_set(x_7, 0, x_90); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_85); +lean_ctor_set(x_28, 2, x_92); +lean_ctor_set(x_28, 1, x_7); +x_93 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_86); +if (lean_obj_tag(x_93) == 0) +{ +uint8_t x_94; +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_93, 0); x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 0, x_28); lean_ctor_set(x_96, 1, x_95); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_87); -if (lean_is_scalar(x_92)) { - x_98 = lean_alloc_ctor(0, 4, 0); -} else { - x_98 = x_92; +lean_ctor_set(x_93, 0, x_96); +return x_93; } -lean_ctor_set(x_98, 0, x_89); -lean_ctor_set(x_98, 1, x_96); -lean_ctor_set(x_98, 2, x_97); -lean_ctor_set(x_98, 3, x_91); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_88); -return x_99; +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_97 = lean_ctor_get(x_93, 0); +x_98 = lean_ctor_get(x_93, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_93); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_28); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +return x_100; } } else { -uint8_t x_100; -lean_dec(x_26); -x_100 = !lean_is_exclusive(x_66); -if (x_100 == 0) +uint8_t x_101; +lean_dec(x_28); +x_101 = !lean_is_exclusive(x_93); +if (x_101 == 0) { -return x_66; +return x_93; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_66, 0); -x_102 = lean_ctor_get(x_66, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_93, 0); +x_103 = lean_ctor_get(x_93, 1); +lean_inc(x_103); lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_66); -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; -} +lean_dec(x_93); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_ctor_get(x_21, 0); -x_105 = lean_ctor_get(x_21, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_105 = lean_ctor_get(x_28, 0); +x_106 = lean_ctor_get(x_28, 1); +x_107 = lean_ctor_get(x_28, 3); +lean_inc(x_107); +lean_inc(x_106); lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_21); -x_106 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; -x_107 = l_List_head_x21___rarg(x_106, x_16); -lean_dec(x_16); -x_108 = l_Lean_isSubobjectField_x3f(x_4, x_2, x_15); -if (lean_obj_tag(x_108) == 0) +lean_dec(x_28); +x_108 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_106); +lean_dec(x_106); +x_109 = lean_box(0); +lean_ctor_set(x_7, 1, x_109); +lean_ctor_set(x_7, 0, x_108); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_85); +x_111 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_111, 0, x_105); +lean_ctor_set(x_111, 1, x_7); +lean_ctor_set(x_111, 2, x_110); +lean_ctor_set(x_111, 3, x_107); +x_112 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_86); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; size_t x_116; size_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_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_6); -x_109 = lean_unsigned_to_nat(4u); -x_110 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -x_111 = l_Lean_Syntax_setArg(x_5, x_109, x_110); -x_112 = l_List_redLength___rarg(x_19); -x_113 = lean_mk_empty_array_with_capacity(x_112); -lean_dec(x_112); -x_114 = l_List_toArrayAux___rarg(x_19, x_113); -x_115 = lean_array_get_size(x_114); -x_116 = lean_usize_of_nat(x_115); -lean_dec(x_115); -x_117 = 0; -x_118 = x_114; -x_119 = l_Id_instMonadId; -x_120 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3; -x_121 = l_Array_mapMUnsafe_map___rarg(x_119, x_120, x_116, x_117, x_118); -x_122 = x_121; -x_123 = l_Lean_nullKind; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_unsigned_to_nat(2u); -x_126 = l_Lean_Syntax_setArg(x_111, x_125, x_124); -x_127 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_126, x_104); -x_128 = lean_ctor_get(x_107, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_107, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_107, 3); -lean_inc(x_130); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - lean_ctor_release(x_107, 2); - lean_ctor_release(x_107, 3); - x_131 = x_107; +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_115 = x_112; } else { - lean_dec_ref(x_107); - x_131 = lean_box(0); + lean_dec_ref(x_112); + x_115 = lean_box(0); } -x_132 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_133 = l_List_head_x21___rarg(x_132, x_129); -lean_dec(x_129); -x_134 = lean_box(0); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -x_136 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_136, 0, x_127); -if (lean_is_scalar(x_131)) { - x_137 = lean_alloc_ctor(0, 4, 0); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_111); +lean_ctor_set(x_116, 1, x_113); +if (lean_is_scalar(x_115)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_137 = x_131; + x_117 = x_115; } -lean_ctor_set(x_137, 0, x_128); -lean_ctor_set(x_137, 1, x_135); -lean_ctor_set(x_137, 2, x_136); -lean_ctor_set(x_137, 3, x_130); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_105); -return x_138; +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +return x_117; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_108, 0); -lean_inc(x_139); -lean_dec(x_108); -x_140 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_140, 0, x_5); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_19); -lean_ctor_set(x_140, 3, x_104); -x_141 = lean_apply_8(x_6, x_140, x_8, x_9, x_10, x_11, x_12, x_13, x_105); -if (lean_obj_tag(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; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_142 = lean_ctor_get(x_141, 0); -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; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_111); +x_118 = lean_ctor_get(x_112, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_112, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_120 = x_112; } else { - lean_dec_ref(x_141); - x_144 = lean_box(0); + lean_dec_ref(x_112); + x_120 = lean_box(0); } -x_145 = lean_ctor_get(x_107, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_107, 1); -lean_inc(x_146); -x_147 = lean_ctor_get(x_107, 3); -lean_inc(x_147); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - lean_ctor_release(x_107, 2); - lean_ctor_release(x_107, 3); - x_148 = x_107; +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_107); - x_148 = lean_box(0); -} -x_149 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_150 = l_List_head_x21___rarg(x_149, x_146); -lean_dec(x_146); -x_151 = lean_box(0); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_153, 0, x_142); -if (lean_is_scalar(x_148)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_148; -} -lean_ctor_set(x_154, 0, x_145); -lean_ctor_set(x_154, 1, x_152); -lean_ctor_set(x_154, 2, x_153); -lean_ctor_set(x_154, 3, x_147); -if (lean_is_scalar(x_144)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_144; -} -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_143); -return x_155; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_107); -x_156 = lean_ctor_get(x_141, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_141, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_158 = x_141; -} else { - lean_dec_ref(x_141); - 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; + x_121 = x_120; } +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } } else { -uint8_t x_160; +uint8_t x_122; +lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13567,34 +13307,38 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_160 = !lean_is_exclusive(x_21); -if (x_160 == 0) +lean_dec(x_3); +lean_dec(x_1); +x_122 = !lean_is_exclusive(x_84); +if (x_122 == 0) { -return x_21; +return x_84; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_21, 0); -x_162 = lean_ctor_get(x_21, 1); -lean_inc(x_162); -lean_inc(x_161); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_84, 0); +x_124 = lean_ctor_get(x_84, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_84); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +} +else +{ +uint8_t x_126; +lean_dec(x_23); lean_dec(x_21); -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_164; lean_object* x_165; -lean_dec(x_16); -lean_dec(x_15); +lean_dec(x_20); +lean_free_object(x_7); +lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13602,20 +13346,501 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_164 = lean_ctor_get(x_17, 0); -lean_inc(x_164); -lean_dec(x_17); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_14); -return x_165; +lean_dec(x_3); +lean_dec(x_1); +x_126 = !lean_is_exclusive(x_25); +if (x_126 == 0) +{ +return x_25; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_25, 0); +x_128 = lean_ctor_get(x_25, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_25); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; } } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +else +{ +lean_object* x_130; lean_object* x_131; +lean_dec(x_21); +lean_dec(x_20); +x_130 = lean_ctor_get(x_22, 0); +lean_inc(x_130); +lean_dec(x_22); +x_131 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_131) == 0) +{ +uint8_t x_132; +x_132 = !lean_is_exclusive(x_131); +if (x_132 == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_131, 0); +lean_ctor_set(x_7, 1, x_133); +lean_ctor_set(x_7, 0, x_130); +lean_ctor_set(x_131, 0, x_7); +return x_131; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_131, 0); +x_135 = lean_ctor_get(x_131, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_131); +lean_ctor_set(x_7, 1, x_134); +lean_ctor_set(x_7, 0, x_130); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_7); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +else +{ +uint8_t x_137; +lean_dec(x_130); +lean_free_object(x_7); +x_137 = !lean_is_exclusive(x_131); +if (x_137 == 0) +{ +return x_131; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_131, 0); +x_139 = lean_ctor_get(x_131, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_131); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_141 = lean_ctor_get(x_7, 0); +x_142 = lean_ctor_get(x_7, 1); +lean_inc(x_142); +lean_inc(x_141); +lean_dec(x_7); +x_143 = lean_ctor_get(x_141, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_141, 1); +lean_inc(x_144); +lean_dec(x_141); +x_145 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(x_144); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_inc(x_144); +x_146 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(x_144); +x_147 = l_Lean_Elab_Term_StructInst_Struct_source(x_2); +lean_inc(x_8); +lean_inc(x_143); +lean_inc(x_4); +x_148 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_4, x_5, x_143, x_147, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(x_144); +lean_dec(x_144); +lean_inc(x_4); +lean_inc(x_3); +x_152 = l_Lean_isSubobjectField_x3f(x_3, x_4, x_143); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; size_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_153 = lean_unsigned_to_nat(4u); +x_154 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; +lean_inc(x_6); +x_155 = l_Lean_Syntax_setArg(x_6, x_153, x_154); +x_156 = l_List_redLength___rarg(x_146); +x_157 = lean_mk_empty_array_with_capacity(x_156); +lean_dec(x_156); +x_158 = l_List_toArrayAux___rarg(x_146, x_157); +x_159 = lean_array_get_size(x_158); +x_160 = lean_usize_of_nat(x_159); +lean_dec(x_159); +x_161 = 0; +x_162 = x_158; +x_163 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3(x_154, x_160, x_161, x_162); +x_164 = x_163; +x_165 = l_Lean_nullKind; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = lean_unsigned_to_nat(2u); +x_168 = l_Lean_Syntax_setArg(x_155, x_167, x_166); +x_169 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_168, x_149); +x_170 = lean_ctor_get(x_151, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_151, 1); +lean_inc(x_171); +x_172 = lean_ctor_get(x_151, 3); +lean_inc(x_172); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + lean_ctor_release(x_151, 2); + lean_ctor_release(x_151, 3); + x_173 = x_151; +} else { + lean_dec_ref(x_151); + x_173 = lean_box(0); +} +x_174 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_171); +lean_dec(x_171); +x_175 = lean_box(0); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +x_177 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_177, 0, x_169); +if (lean_is_scalar(x_173)) { + x_178 = lean_alloc_ctor(0, 4, 0); +} else { + x_178 = x_173; +} +lean_ctor_set(x_178, 0, x_170); +lean_ctor_set(x_178, 1, x_176); +lean_ctor_set(x_178, 2, x_177); +lean_ctor_set(x_178, 3, x_172); +x_179 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_142, x_8, x_9, x_10, x_11, x_12, x_13, x_150); +if (lean_obj_tag(x_179) == 0) +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_182 = x_179; +} else { + lean_dec_ref(x_179); + x_182 = lean_box(0); +} +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_178); +lean_ctor_set(x_183, 1, x_180); +if (lean_is_scalar(x_182)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_182; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_181); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_178); +x_185 = lean_ctor_get(x_179, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_179, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_187 = x_179; +} else { + lean_dec_ref(x_179); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 2, 0); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_152, 0); +lean_inc(x_189); +lean_dec(x_152); +lean_inc(x_6); +x_190 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_190, 0, x_6); +lean_ctor_set(x_190, 1, x_189); +lean_ctor_set(x_190, 2, x_146); +lean_ctor_set(x_190, 3, x_149); +lean_inc(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_191 = lean_apply_8(x_1, x_190, x_8, x_9, x_10, x_11, x_12, x_13, x_150); +if (lean_obj_tag(x_191) == 0) +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); +lean_dec(x_191); +x_194 = lean_ctor_get(x_151, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_151, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_151, 3); +lean_inc(x_196); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + lean_ctor_release(x_151, 2); + lean_ctor_release(x_151, 3); + x_197 = x_151; +} else { + lean_dec_ref(x_151); + x_197 = lean_box(0); +} +x_198 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_195); +lean_dec(x_195); +x_199 = lean_box(0); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_201, 0, x_192); +if (lean_is_scalar(x_197)) { + x_202 = lean_alloc_ctor(0, 4, 0); +} else { + x_202 = x_197; +} +lean_ctor_set(x_202, 0, x_194); +lean_ctor_set(x_202, 1, x_200); +lean_ctor_set(x_202, 2, x_201); +lean_ctor_set(x_202, 3, x_196); +x_203 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_142, x_8, x_9, x_10, x_11, x_12, x_13, x_193); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_206 = x_203; +} else { + lean_dec_ref(x_203); + x_206 = lean_box(0); +} +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_202); +lean_ctor_set(x_207, 1, x_204); +if (lean_is_scalar(x_206)) { + x_208 = lean_alloc_ctor(0, 2, 0); +} else { + x_208 = x_206; +} +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_205); +return x_208; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_202); +x_209 = lean_ctor_get(x_203, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_203, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_211 = x_203; +} else { + lean_dec_ref(x_203); + x_211 = lean_box(0); +} +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(1, 2, 0); +} else { + x_212 = x_211; +} +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_210); +return x_212; +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_151); +lean_dec(x_142); +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_213 = lean_ctor_get(x_191, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_191, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_191)) { + lean_ctor_release(x_191, 0); + lean_ctor_release(x_191, 1); + x_215 = x_191; +} else { + lean_dec_ref(x_191); + x_215 = lean_box(0); +} +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); +} else { + x_216 = x_215; +} +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; +} +} +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +lean_dec(x_146); +lean_dec(x_144); +lean_dec(x_143); +lean_dec(x_142); +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_217 = lean_ctor_get(x_148, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_148, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_219 = x_148; +} else { + lean_dec_ref(x_148); + x_219 = lean_box(0); +} +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(1, 2, 0); +} else { + x_220 = x_219; +} +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +return x_220; +} +} +else +{ +lean_object* x_221; lean_object* x_222; +lean_dec(x_144); +lean_dec(x_143); +x_221 = lean_ctor_get(x_145, 0); +lean_inc(x_221); +lean_dec(x_145); +x_222 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_142, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_225 = x_222; +} else { + lean_dec_ref(x_222); + x_225 = lean_box(0); +} +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_221); +lean_ctor_set(x_226, 1, x_223); +if (lean_is_scalar(x_225)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_225; +} +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_224); +return x_227; +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +lean_dec(x_221); +x_228 = lean_ctor_get(x_222, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_222, 1); +lean_inc(x_229); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_230 = x_222; +} else { + lean_dec_ref(x_222); + x_230 = lean_box(0); +} +if (lean_is_scalar(x_230)) { + x_231 = lean_alloc_ctor(1, 2, 0); +} else { + x_231 = x_230; +} +lean_ctor_set(x_231, 0, x_228); +lean_ctor_set(x_231, 1, x_229); +return x_231; +} +} +} +} +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; @@ -13628,29 +13853,20 @@ lean_inc(x_8); x_15 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(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; lean_object* x_22; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 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_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___boxed), 14, 6); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_2); -lean_closure_set(x_18, 2, x_3); -lean_closure_set(x_18, 3, x_4); -lean_closure_set(x_18, 4, x_5); -lean_closure_set(x_18, 5, x_6); -x_19 = l_Std_HashMap_toList___rarg(x_16); +x_18 = l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5(x_16); lean_dec(x_16); -x_20 = l_Lean_Elab_Term_instMonadTermElabM; -x_21 = l_List_mapM___rarg(x_20, lean_box(0), lean_box(0), x_18, x_19); -x_22 = lean_apply_7(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_17); -return x_22; +x_19 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_17); +return x_19; } else { -uint8_t x_23; +uint8_t x_20; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -13658,28 +13874,26 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); 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_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) { return x_15; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_15); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +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; } } } @@ -13704,73 +13918,140 @@ x_15 = l_Lean_getStructureFields(x_13, x_14); x_16 = l_Lean_Elab_Term_StructInst_Struct_ref(x_2); lean_inc(x_16); lean_inc(x_2); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__4), 14, 6); -lean_closure_set(x_17, 0, x_2); -lean_closure_set(x_17, 1, x_14); -lean_closure_set(x_17, 2, x_15); -lean_closure_set(x_17, 3, x_13); -lean_closure_set(x_17, 4, x_16); -lean_closure_set(x_17, 5, x_1); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1___boxed), 14, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_13); +lean_closure_set(x_17, 3, x_14); +lean_closure_set(x_17, 4, x_15); +lean_closure_set(x_17, 5, x_16); x_18 = !lean_is_exclusive(x_7); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_7, 3); x_20 = l_Lean_replaceRef(x_16, x_19); lean_dec(x_19); lean_dec(x_16); lean_ctor_set(x_7, 3, x_20); -x_21 = l_Lean_Elab_Term_instMonadTermElabM; -x_22 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg(x_21, x_2, x_17); -x_23 = lean_apply_7(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -return x_23; +x_21 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_21; } else { -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; -x_24 = lean_ctor_get(x_7, 0); -x_25 = lean_ctor_get(x_7, 1); -x_26 = lean_ctor_get(x_7, 2); -x_27 = lean_ctor_get(x_7, 3); -x_28 = lean_ctor_get(x_7, 4); -x_29 = lean_ctor_get(x_7, 5); -x_30 = lean_ctor_get(x_7, 6); -x_31 = lean_ctor_get(x_7, 7); -lean_inc(x_31); -lean_inc(x_30); +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_7, 0); +x_23 = lean_ctor_get(x_7, 1); +x_24 = lean_ctor_get(x_7, 2); +x_25 = lean_ctor_get(x_7, 3); +x_26 = lean_ctor_get(x_7, 4); +x_27 = lean_ctor_get(x_7, 5); +x_28 = lean_ctor_get(x_7, 6); +x_29 = lean_ctor_get(x_7, 7); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_7); -x_32 = l_Lean_replaceRef(x_16, x_27); -lean_dec(x_27); +x_30 = l_Lean_replaceRef(x_16, x_25); +lean_dec(x_25); lean_dec(x_16); -x_33 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_33, 0, x_24); -lean_ctor_set(x_33, 1, x_25); -lean_ctor_set(x_33, 2, x_26); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_33, 4, x_28); -lean_ctor_set(x_33, 5, x_29); -lean_ctor_set(x_33, 6, x_30); -lean_ctor_set(x_33, 7, x_31); -x_34 = l_Lean_Elab_Term_instMonadTermElabM; -x_35 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg(x_34, x_2, x_17); -x_36 = lean_apply_7(x_35, x_3, x_4, x_5, x_6, x_33, x_8, x_12); -return x_36; +x_31 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set(x_31, 1, x_23); +lean_ctor_set(x_31, 2, x_24); +lean_ctor_set(x_31, 3, x_30); +lean_ctor_set(x_31, 4, x_26); +lean_ctor_set(x_31, 5, x_27); +lean_ctor_set(x_31, 6, x_28); +lean_ctor_set(x_31, 7, x_29); +x_32 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(x_2, x_17, x_3, x_4, x_5, x_6, x_31, x_8, x_12); +return x_32; } } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__3(x_1, x_5, x_6, x_4); +return x_7; +} +} +lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__4(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__6(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__5(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_3); -lean_dec(x_1); +x_15 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +lean_dec(x_2); +return x_15; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +lean_dec(x_2); return x_15; } } @@ -13899,264 +14180,224 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___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, size_t x_8, size_t 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) { _start: { -lean_object* x_16; lean_object* x_17; -x_16 = l_Lean_Elab_Term_StructInst_Struct_fields(x_1); -lean_inc(x_8); -x_17 = l_Lean_Elab_Term_StructInst_findField_x3f(x_16, x_8); -if (lean_obj_tag(x_17) == 0) +uint8_t x_18; +x_18 = x_8 == x_9; +if (x_18 == 0) { -lean_object* x_18; -lean_inc(x_8); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_array_uget(x_7, x_8); +x_20 = l_Lean_Elab_Term_StructInst_Struct_fields(x_2); +lean_inc(x_19); +x_21 = l_Lean_Elab_Term_StructInst_findField_x3f(x_20, x_19); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_inc(x_19); +lean_inc(x_4); lean_inc(x_3); -x_18 = l_Lean_isSubobjectField_x3f(x_2, x_3, x_8); -if (lean_obj_tag(x_18) == 0) +x_22 = l_Lean_isSubobjectField_x3f(x_3, x_4, x_19); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_19; -lean_dec(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_6); -lean_dec(x_3); -x_19 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -switch (lean_obj_tag(x_19)) { +lean_object* x_23; +x_23 = l_Lean_Elab_Term_StructInst_Struct_source(x_2); +switch (lean_obj_tag(x_23)) { case 0: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_20 = lean_box(2); -lean_inc(x_4); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_4); -lean_ctor_set(x_21, 1, x_8); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_4); -lean_ctor_set(x_25, 1, x_23); -lean_ctor_set(x_25, 2, x_20); -lean_ctor_set(x_25, 3, x_24); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_7); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_15); -return x_27; +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; size_t x_31; size_t x_32; +x_24 = lean_box(2); +lean_inc(x_6); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_6); +lean_ctor_set(x_25, 1, x_19); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_box(0); +lean_inc(x_6); +x_29 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_29, 0, x_6); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_24); +lean_ctor_set(x_29, 3, x_28); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_10); +x_31 = 1; +x_32 = x_8 + x_31; +x_8 = x_32; +x_10 = x_30; +goto _start; } case 1: { -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_dec(x_19); -x_28 = l_Lean_mkHole(x_4); -x_29 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_29, 0, x_28); -lean_inc(x_4); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_4); -lean_ctor_set(x_30, 1, x_8); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_29); -lean_ctor_set(x_34, 3, x_33); -x_35 = lean_alloc_ctor(1, 2, 0); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; +lean_dec(x_23); +x_34 = l_Lean_mkHole(x_6); +x_35 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_7); +lean_inc(x_6); x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_15); -return x_36; +lean_ctor_set(x_36, 0, x_6); +lean_ctor_set(x_36, 1, x_19); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_box(0); +lean_inc(x_6); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_6); +lean_ctor_set(x_40, 1, x_38); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 3, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_10); +x_42 = 1; +x_43 = x_8 + x_42; +x_8 = x_43; +x_10 = x_41; +goto _start; } default: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_37 = lean_ctor_get(x_19, 0); -lean_inc(x_37); -lean_dec(x_19); -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_Lean_Syntax_getArg(x_37, x_38); -lean_dec(x_37); -lean_inc(x_8); -x_40 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(x_39, x_8); -x_41 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_41, 0, x_40); -lean_inc(x_4); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_4); -lean_ctor_set(x_42, 1, x_8); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_4); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_41); -lean_ctor_set(x_46, 3, x_45); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_7); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_15); -return x_48; +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; size_t x_56; size_t x_57; +x_45 = lean_ctor_get(x_23, 0); +lean_inc(x_45); +lean_dec(x_23); +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Lean_Syntax_getArg(x_45, x_46); +lean_dec(x_45); +lean_inc(x_19); +x_48 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(x_47, x_19); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +lean_inc(x_6); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_6); +lean_ctor_set(x_50, 1, x_19); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_box(0); +lean_inc(x_6); +x_54 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_54, 0, x_6); +lean_ctor_set(x_54, 1, x_52); +lean_ctor_set(x_54, 2, x_49); +lean_ctor_set(x_54, 3, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_10); +x_56 = 1; +x_57 = x_8 + x_56; +x_8 = x_57; +x_10 = x_55; +goto _start; } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_18, 0); -lean_inc(x_49); -lean_dec(x_18); -x_50 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -lean_inc(x_9); -lean_inc(x_8); -x_51 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_3, x_5, x_8, x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -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 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_box(0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_22, 0); +lean_inc(x_59); +lean_dec(x_22); +x_60 = l_Lean_Elab_Term_StructInst_Struct_source(x_2); +lean_inc(x_11); +lean_inc(x_19); lean_inc(x_4); -x_55 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_55, 0, x_4); -lean_ctor_set(x_55, 1, x_49); -lean_ctor_set(x_55, 2, x_54); -lean_ctor_set(x_55, 3, x_52); -x_56 = lean_apply_8(x_6, x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_53); -if (lean_obj_tag(x_56) == 0) +x_61 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_4, x_5, x_19, x_60, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_61) == 0) { -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_box(0); +lean_inc(x_6); +x_65 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_65, 0, x_6); +lean_ctor_set(x_65, 1, x_59); +lean_ctor_set(x_65, 2, x_64); +lean_ctor_set(x_65, 3, x_62); +lean_inc(x_1); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_66 = lean_apply_8(x_1, x_65, x_11, x_12, x_13, x_14, x_15, x_16, x_63); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_58); -lean_inc(x_4); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_4); -lean_ctor_set(x_60, 1, x_8); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_54); -x_62 = lean_box(0); -x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_4); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_59); -lean_ctor_set(x_63, 3, x_62); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_7); -lean_ctor_set(x_56, 0, x_64); -return x_56; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_65 = lean_ctor_get(x_56, 0); -x_66 = lean_ctor_get(x_56, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_56); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_65); -lean_inc(x_4); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_4); -lean_ctor_set(x_68, 1, x_8); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_54); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_4); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_71, 2, x_67); -lean_ctor_set(x_71, 3, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_7); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_66); -return x_73; -} -} -else -{ -uint8_t x_74; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_74 = !lean_is_exclusive(x_56); -if (x_74 == 0) -{ -return x_56; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_56, 0); -x_76 = lean_ctor_get(x_56, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_56); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} +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; size_t x_75; size_t x_76; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_67); +lean_inc(x_6); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_6); +lean_ctor_set(x_70, 1, x_19); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_64); +x_72 = lean_box(0); +lean_inc(x_6); +x_73 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_73, 0, x_6); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_69); +lean_ctor_set(x_73, 3, x_72); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_10); +x_75 = 1; +x_76 = x_8 + x_75; +x_8 = x_76; +x_10 = x_74; +x_17 = x_68; +goto _start; } else { uint8_t x_78; -lean_dec(x_49); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); lean_dec(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_6); lean_dec(x_4); -x_78 = !lean_is_exclusive(x_51); +lean_dec(x_3); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_66); if (x_78 == 0) { -return x_51; +return x_66; } else { lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_51, 0); -x_80 = lean_ctor_get(x_51, 1); +x_79 = lean_ctor_get(x_66, 0); +x_80 = lean_ctor_get(x_66, 1); lean_inc(x_80); lean_inc(x_79); -lean_dec(x_51); +lean_dec(x_66); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); @@ -14164,31 +14405,77 @@ return x_81; } } } -} else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; +uint8_t x_82; +lean_dec(x_59); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); lean_dec(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_6); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_82 = lean_ctor_get(x_17, 0); -lean_inc(x_82); -lean_dec(x_17); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_7); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_15); -return x_84; +lean_dec(x_1); +x_82 = !lean_is_exclusive(x_61); +if (x_82 == 0) +{ +return x_61; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_61, 0); +x_84 = lean_ctor_get(x_61, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_61); +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; +} +} +} +} +else +{ +lean_object* x_86; lean_object* x_87; size_t x_88; size_t x_89; +lean_dec(x_19); +x_86 = lean_ctor_get(x_21, 0); +lean_inc(x_86); +lean_dec(x_21); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_10); +x_88 = 1; +x_89 = x_8 + x_88; +x_8 = x_89; +x_10 = x_87; +goto _start; +} +} +else +{ +lean_object* x_91; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_10); +lean_ctor_set(x_91, 1, x_17); +return x_91; } } } @@ -14209,7 +14496,7 @@ x_10 = lean_st_ref_get(x_8, x_9); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_12 = lean_ctor_get(x_10, 0); x_13 = lean_ctor_get(x_10, 1); x_14 = lean_ctor_get(x_12, 0); @@ -14220,242 +14507,236 @@ lean_inc(x_15); lean_inc(x_14); x_16 = l_Lean_getStructureFields(x_14, x_15); x_17 = l_Lean_Elab_Term_StructInst_Struct_ref(x_2); -lean_inc(x_16); -lean_inc(x_17); -lean_inc(x_2); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___lambda__1___boxed), 15, 6); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_14); -lean_closure_set(x_18, 2, x_15); -lean_closure_set(x_18, 3, x_17); -lean_closure_set(x_18, 4, x_16); -lean_closure_set(x_18, 5, x_1); -x_19 = lean_box(0); -x_20 = lean_array_get_size(x_16); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_lt(x_21, x_20); -if (x_22 == 0) +x_18 = lean_box(0); +x_19 = lean_array_get_size(x_16); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_lt(x_20, x_19); +if (x_21 == 0) { -lean_object* x_23; lean_object* x_24; -lean_dec(x_20); -lean_dec(x_18); +lean_object* x_22; lean_object* x_23; +lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); 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_23 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_24 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_23); -lean_ctor_set(x_10, 0, x_24); +lean_dec(x_1); +x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +x_23 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_22); +lean_ctor_set(x_10, 0, x_23); return x_10; } else { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_7); -if (x_25 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_7); +if (x_24 == 0) { -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_7, 3); -x_27 = l_Lean_replaceRef(x_17, x_26); -lean_dec(x_26); -lean_dec(x_17); -lean_ctor_set(x_7, 3, x_27); -x_28 = lean_nat_dec_le(x_20, x_20); -if (x_28 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_7, 3); +x_26 = l_Lean_replaceRef(x_17, x_25); +lean_dec(x_25); +lean_ctor_set(x_7, 3, x_26); +x_27 = lean_nat_dec_le(x_19, x_19); +if (x_27 == 0) { -lean_object* x_29; lean_object* x_30; +lean_object* x_28; lean_object* x_29; lean_dec(x_7); -lean_dec(x_20); -lean_dec(x_18); +lean_dec(x_19); +lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_29 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_30 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_29); -lean_ctor_set(x_10, 0, x_30); +lean_dec(x_1); +x_28 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +x_29 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_28); +lean_ctor_set(x_10, 0, x_29); return x_10; } else { -size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +size_t x_30; size_t x_31; lean_object* x_32; lean_free_object(x_10); -x_31 = 0; -x_32 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_33 = l_Lean_Elab_Term_instMonadTermElabM; -x_34 = l_Array_foldlMUnsafe_fold___rarg(x_33, x_18, x_16, x_31, x_32, x_19); -x_35 = lean_apply_7(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_35) == 0) +x_30 = 0; +x_31 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_32 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_1, x_2, x_14, x_15, x_16, x_17, x_16, x_30, x_31, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_16); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_35, 0); -x_38 = l_List_reverse___rarg(x_37); -x_39 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_38); -lean_ctor_set(x_35, 0, x_39); -return x_35; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = l_List_reverse___rarg(x_34); +x_36 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_35); +lean_ctor_set(x_32, 0, x_36); +return x_32; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_35, 0); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_35); -x_42 = l_List_reverse___rarg(x_40); -x_43 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, 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_41); -return x_44; +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_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +x_39 = l_List_reverse___rarg(x_37); +x_40 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; } } else { -uint8_t x_45; +uint8_t x_42; lean_dec(x_2); -x_45 = !lean_is_exclusive(x_35); -if (x_45 == 0) +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) { -return x_35; +return x_32; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_35, 0); -x_47 = lean_ctor_get(x_35, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_35); -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* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_32, 0); +x_44 = lean_ctor_get(x_32, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_32); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_49 = lean_ctor_get(x_7, 0); -x_50 = lean_ctor_get(x_7, 1); -x_51 = lean_ctor_get(x_7, 2); -x_52 = lean_ctor_get(x_7, 3); -x_53 = lean_ctor_get(x_7, 4); -x_54 = lean_ctor_get(x_7, 5); -x_55 = lean_ctor_get(x_7, 6); -x_56 = lean_ctor_get(x_7, 7); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_46 = lean_ctor_get(x_7, 0); +x_47 = lean_ctor_get(x_7, 1); +x_48 = lean_ctor_get(x_7, 2); +x_49 = lean_ctor_get(x_7, 3); +x_50 = lean_ctor_get(x_7, 4); +x_51 = lean_ctor_get(x_7, 5); +x_52 = lean_ctor_get(x_7, 6); +x_53 = lean_ctor_get(x_7, 7); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_7); -x_57 = l_Lean_replaceRef(x_17, x_52); -lean_dec(x_52); -lean_dec(x_17); -x_58 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_58, 0, x_49); -lean_ctor_set(x_58, 1, x_50); -lean_ctor_set(x_58, 2, x_51); -lean_ctor_set(x_58, 3, x_57); -lean_ctor_set(x_58, 4, x_53); -lean_ctor_set(x_58, 5, x_54); -lean_ctor_set(x_58, 6, x_55); -lean_ctor_set(x_58, 7, x_56); -x_59 = lean_nat_dec_le(x_20, x_20); -if (x_59 == 0) +x_54 = l_Lean_replaceRef(x_17, x_49); +lean_dec(x_49); +x_55 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_55, 0, x_46); +lean_ctor_set(x_55, 1, x_47); +lean_ctor_set(x_55, 2, x_48); +lean_ctor_set(x_55, 3, x_54); +lean_ctor_set(x_55, 4, x_50); +lean_ctor_set(x_55, 5, x_51); +lean_ctor_set(x_55, 6, x_52); +lean_ctor_set(x_55, 7, x_53); +x_56 = lean_nat_dec_le(x_19, x_19); +if (x_56 == 0) { -lean_object* x_60; lean_object* x_61; -lean_dec(x_58); -lean_dec(x_20); -lean_dec(x_18); +lean_object* x_57; lean_object* x_58; +lean_dec(x_55); +lean_dec(x_19); +lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_60 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_61 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_60); -lean_ctor_set(x_10, 0, x_61); +lean_dec(x_1); +x_57 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +x_58 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_57); +lean_ctor_set(x_10, 0, x_58); return x_10; } else { -size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +size_t x_59; size_t x_60; lean_object* x_61; lean_free_object(x_10); -x_62 = 0; -x_63 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_64 = l_Lean_Elab_Term_instMonadTermElabM; -x_65 = l_Array_foldlMUnsafe_fold___rarg(x_64, x_18, x_16, x_62, x_63, x_19); -x_66 = lean_apply_7(x_65, x_3, x_4, x_5, x_6, x_58, x_8, x_13); -if (lean_obj_tag(x_66) == 0) +x_59 = 0; +x_60 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_61 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_1, x_2, x_14, x_15, x_16, x_17, x_16, x_59, x_60, x_18, x_3, x_4, x_5, x_6, x_55, x_8, x_13); +lean_dec(x_16); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_69 = x_66; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; } else { - lean_dec_ref(x_66); - x_69 = lean_box(0); + lean_dec_ref(x_61); + x_64 = lean_box(0); } -x_70 = l_List_reverse___rarg(x_67); -x_71 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_70); -if (lean_is_scalar(x_69)) { - x_72 = lean_alloc_ctor(0, 2, 0); +x_65 = l_List_reverse___rarg(x_62); +x_66 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_65); +if (lean_is_scalar(x_64)) { + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_69; + x_67 = x_64; } -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_68); -return x_72; +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_63); +return x_67; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_dec(x_2); -x_73 = lean_ctor_get(x_66, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_66, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_75 = x_66; +x_68 = lean_ctor_get(x_61, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_61, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_70 = x_61; } else { - lean_dec_ref(x_66); - x_75 = lean_box(0); + lean_dec_ref(x_61); + x_70 = lean_box(0); } -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); } else { - x_76 = x_75; + x_71 = x_70; } -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); -return x_76; +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } } @@ -14463,73 +14744,65 @@ return x_76; } else { -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; uint8_t x_87; -x_77 = lean_ctor_get(x_10, 0); -x_78 = lean_ctor_get(x_10, 1); -lean_inc(x_78); -lean_inc(x_77); +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; uint8_t x_81; +x_72 = lean_ctor_get(x_10, 0); +x_73 = lean_ctor_get(x_10, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_10); -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Elab_Term_StructInst_Struct_structName(x_2); -lean_inc(x_80); -lean_inc(x_79); -x_81 = l_Lean_getStructureFields(x_79, x_80); -x_82 = l_Lean_Elab_Term_StructInst_Struct_ref(x_2); -lean_inc(x_81); -lean_inc(x_82); -lean_inc(x_2); -x_83 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___lambda__1___boxed), 15, 6); -lean_closure_set(x_83, 0, x_2); -lean_closure_set(x_83, 1, x_79); -lean_closure_set(x_83, 2, x_80); -lean_closure_set(x_83, 3, x_82); -lean_closure_set(x_83, 4, x_81); -lean_closure_set(x_83, 5, x_1); -x_84 = lean_box(0); -x_85 = lean_array_get_size(x_81); -x_86 = lean_unsigned_to_nat(0u); -x_87 = lean_nat_dec_lt(x_86, x_85); -if (x_87 == 0) +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_Lean_Elab_Term_StructInst_Struct_structName(x_2); +lean_inc(x_75); +lean_inc(x_74); +x_76 = l_Lean_getStructureFields(x_74, x_75); +x_77 = l_Lean_Elab_Term_StructInst_Struct_ref(x_2); +x_78 = lean_box(0); +x_79 = lean_array_get_size(x_76); +x_80 = lean_unsigned_to_nat(0u); +x_81 = lean_nat_dec_lt(x_80, x_79); +if (x_81 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_81); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); 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_88 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_89 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_88); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_78); -return x_90; +lean_dec(x_1); +x_82 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +x_83 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_73); +return x_84; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_91 = lean_ctor_get(x_7, 0); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_85 = lean_ctor_get(x_7, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_7, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_7, 2); +lean_inc(x_87); +x_88 = lean_ctor_get(x_7, 3); +lean_inc(x_88); +x_89 = lean_ctor_get(x_7, 4); +lean_inc(x_89); +x_90 = lean_ctor_get(x_7, 5); +lean_inc(x_90); +x_91 = lean_ctor_get(x_7, 6); lean_inc(x_91); -x_92 = lean_ctor_get(x_7, 1); +x_92 = lean_ctor_get(x_7, 7); lean_inc(x_92); -x_93 = lean_ctor_get(x_7, 2); -lean_inc(x_93); -x_94 = lean_ctor_get(x_7, 3); -lean_inc(x_94); -x_95 = lean_ctor_get(x_7, 4); -lean_inc(x_95); -x_96 = lean_ctor_get(x_7, 5); -lean_inc(x_96); -x_97 = lean_ctor_get(x_7, 6); -lean_inc(x_97); -x_98 = lean_ctor_get(x_7, 7); -lean_inc(x_98); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); @@ -14539,2225 +14812,151 @@ if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 5); lean_ctor_release(x_7, 6); lean_ctor_release(x_7, 7); - x_99 = x_7; + x_93 = x_7; } else { lean_dec_ref(x_7); - x_99 = lean_box(0); + x_93 = lean_box(0); } -x_100 = l_Lean_replaceRef(x_82, x_94); -lean_dec(x_94); -lean_dec(x_82); -if (lean_is_scalar(x_99)) { - x_101 = lean_alloc_ctor(0, 8, 0); -} else { - x_101 = x_99; -} -lean_ctor_set(x_101, 0, x_91); -lean_ctor_set(x_101, 1, x_92); -lean_ctor_set(x_101, 2, x_93); -lean_ctor_set(x_101, 3, x_100); -lean_ctor_set(x_101, 4, x_95); -lean_ctor_set(x_101, 5, x_96); -lean_ctor_set(x_101, 6, x_97); -lean_ctor_set(x_101, 7, x_98); -x_102 = lean_nat_dec_le(x_85, x_85); -if (x_102 == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_101); -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_81); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_103 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_104 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, 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_78); -return x_105; -} -else -{ -size_t x_106; size_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_106 = 0; -x_107 = lean_usize_of_nat(x_85); -lean_dec(x_85); -x_108 = l_Lean_Elab_Term_instMonadTermElabM; -x_109 = l_Array_foldlMUnsafe_fold___rarg(x_108, x_83, x_81, x_106, x_107, x_84); -x_110 = lean_apply_7(x_109, x_3, x_4, x_5, x_6, x_101, x_8, x_78); -if (lean_obj_tag(x_110) == 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; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_113 = x_110; -} else { - lean_dec_ref(x_110); - x_113 = lean_box(0); -} -x_114 = l_List_reverse___rarg(x_111); -x_115 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_114); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_113; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_112); -return x_116; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_2); -x_117 = lean_ctor_get(x_110, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_110, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_119 = x_110; -} else { - lean_dec_ref(x_110); - 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; -} -} -} -} -} -} -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_5); -lean_dec(x_1); -return x_16; -} -} -lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_1, 0); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_ctor_get(x_4, 1); -x_8 = l_List_tail_x21___rarg(x_7); -lean_dec(x_7); -lean_ctor_set(x_4, 1, x_8); -x_9 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(x_6); -lean_ctor_set(x_1, 1, x_9); -return x_1; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_ctor_get(x_1, 1); -x_11 = lean_ctor_get(x_4, 0); -x_12 = lean_ctor_get(x_4, 1); -x_13 = lean_ctor_get(x_4, 2); -x_14 = lean_ctor_get(x_4, 3); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_4); -x_15 = l_List_tail_x21___rarg(x_12); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_13); -lean_ctor_set(x_16, 3, x_14); -x_17 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(x_10); -lean_ctor_set(x_1, 1, x_17); -lean_ctor_set(x_1, 0, x_16); -return x_1; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_1, 0); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_1); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -x_22 = lean_ctor_get(x_18, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_18, 3); -lean_inc(x_23); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - lean_ctor_release(x_18, 2); - lean_ctor_release(x_18, 3); - x_24 = x_18; -} else { - lean_dec_ref(x_18); - x_24 = lean_box(0); -} -x_25 = l_List_tail_x21___rarg(x_21); -lean_dec(x_21); -if (lean_is_scalar(x_24)) { - x_26 = lean_alloc_ctor(0, 4, 0); -} else { - x_26 = x_24; -} -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_22); -lean_ctor_set(x_26, 3, x_23); -x_27 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(x_19); -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; -} -} -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Init.Data.List.BasicAux"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("List.head!"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("empty list"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1; -x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2; -x_3 = lean_unsigned_to_nat(30u); -x_4 = lean_unsigned_to_nat(12u); -x_5 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; -x_3 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4; -x_4 = lean_panic_fn(x_2, x_3); -return x_4; -} -else -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -return x_5; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 < x_2; -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = x_4; -return x_6; -} -else -{ -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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -x_10 = x_7; -x_11 = l_Lean_Elab_Term_StructInst_Field_toSyntax(x_10); -x_12 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_13 = lean_array_push(x_12, x_11); -lean_inc(x_1); -x_14 = lean_array_push(x_13, x_1); -x_15 = l_Lean_nullKind; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = 1; -x_18 = x_3 + x_17; -x_19 = x_16; -x_20 = lean_array_uset(x_9, x_3, x_19); -x_3 = x_18; -x_4 = x_20; -goto _start; -} -} -} -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; -x_3 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4; -x_4 = lean_panic_fn(x_2, x_3); -return x_4; -} -else -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -return x_5; -} -} -} -lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_ctor_get(x_2, 1); -x_5 = lean_ctor_get(x_2, 2); -lean_inc(x_4); -lean_inc(x_3); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_3); -lean_ctor_set(x_6, 1, x_4); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_1); -x_1 = x_7; -x_2 = x_5; -goto _start; -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(x_4, x_6); -lean_dec(x_6); -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -x_4 = x_7; -goto _start; -} -else -{ -return x_4; -} -} -} -lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_2 = lean_box(0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -lean_dec(x_4); -return x_2; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_4, x_4); -if (x_7 == 0) -{ -lean_dec(x_4); -return x_2; -} -else -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = 0; -x_9 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_10 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(x_3, x_8, x_9, x_2); -return x_10; -} -} -} -} -lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_14; lean_object* x_15; -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_5); -lean_dec(x_3); -lean_dec(x_2); -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 -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_6); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_6, 0); -x_18 = lean_ctor_get(x_6, 1); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_inc(x_20); -x_22 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(x_20); -x_23 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -lean_inc(x_7); -lean_inc(x_19); -lean_inc(x_3); -x_24 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_3, x_4, x_19, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -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 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3(x_20); -lean_dec(x_20); -lean_inc(x_3); -lean_inc(x_2); -x_28 = l_Lean_isSubobjectField_x3f(x_2, x_3, x_19); -if (lean_obj_tag(x_28) == 0) -{ -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; size_t x_36; size_t 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; uint8_t x_46; -x_29 = lean_unsigned_to_nat(4u); -x_30 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -lean_inc(x_5); -x_31 = l_Lean_Syntax_setArg(x_5, x_29, x_30); -x_32 = l_List_redLength___rarg(x_22); -x_33 = lean_mk_empty_array_with_capacity(x_32); -lean_dec(x_32); -x_34 = l_List_toArrayAux___rarg(x_22, x_33); -x_35 = lean_array_get_size(x_34); -x_36 = lean_usize_of_nat(x_35); -lean_dec(x_35); -x_37 = 0; -x_38 = x_34; -x_39 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(x_30, x_36, x_37, x_38); -x_40 = x_39; -x_41 = l_Lean_nullKind; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = lean_unsigned_to_nat(2u); -x_44 = l_Lean_Syntax_setArg(x_31, x_43, x_42); -x_45 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_44, x_25); -x_46 = !lean_is_exclusive(x_27); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_ctor_get(x_27, 1); -x_48 = lean_ctor_get(x_27, 2); -lean_dec(x_48); -x_49 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_47); -lean_dec(x_47); -x_50 = lean_box(0); -lean_ctor_set(x_6, 1, x_50); -lean_ctor_set(x_6, 0, x_49); -x_51 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_27, 2, x_51); -lean_ctor_set(x_27, 1, x_6); -x_52 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -if (lean_obj_tag(x_52) == 0) -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_27); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_52, 0, x_55); -return x_52; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_27); -lean_ctor_set(x_58, 1, x_56); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} -} -else -{ -uint8_t x_60; -lean_dec(x_27); -x_60 = !lean_is_exclusive(x_52); -if (x_60 == 0) -{ -return x_52; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_52, 0); -x_62 = lean_ctor_get(x_52, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_52); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_64 = lean_ctor_get(x_27, 0); -x_65 = lean_ctor_get(x_27, 1); -x_66 = lean_ctor_get(x_27, 3); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_27); -x_67 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_65); -lean_dec(x_65); -x_68 = lean_box(0); -lean_ctor_set(x_6, 1, x_68); -lean_ctor_set(x_6, 0, x_67); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_45); -x_70 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_6); -lean_ctor_set(x_70, 2, x_69); -lean_ctor_set(x_70, 3, x_66); -x_71 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -if (lean_obj_tag(x_71) == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_74 = x_71; -} else { - lean_dec_ref(x_71); - x_74 = lean_box(0); -} -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_72); -if (lean_is_scalar(x_74)) { - x_76 = lean_alloc_ctor(0, 2, 0); -} else { - x_76 = x_74; -} -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_73); -return x_76; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_70); -x_77 = lean_ctor_get(x_71, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_71, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_79 = x_71; -} else { - lean_dec_ref(x_71); - x_79 = lean_box(0); -} -if (lean_is_scalar(x_79)) { - x_80 = lean_alloc_ctor(1, 2, 0); -} else { - x_80 = x_79; -} -lean_ctor_set(x_80, 0, x_77); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} -} -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_28, 0); -lean_inc(x_81); -lean_dec(x_28); -lean_inc(x_5); -x_82 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_82, 0, x_5); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_22); -lean_ctor_set(x_82, 3, x_25); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_83 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_82, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = !lean_is_exclusive(x_27); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_87 = lean_ctor_get(x_27, 1); -x_88 = lean_ctor_get(x_27, 2); +x_94 = l_Lean_replaceRef(x_77, x_88); lean_dec(x_88); -x_89 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_87); -lean_dec(x_87); -x_90 = lean_box(0); -lean_ctor_set(x_6, 1, x_90); -lean_ctor_set(x_6, 0, x_89); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_84); -lean_ctor_set(x_27, 2, x_91); -lean_ctor_set(x_27, 1, x_6); -x_92 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_85); -if (lean_obj_tag(x_92) == 0) -{ -uint8_t x_93; -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_27); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_92, 0, x_95); -return x_92; +if (lean_is_scalar(x_93)) { + x_95 = lean_alloc_ctor(0, 8, 0); +} else { + x_95 = x_93; } -else +lean_ctor_set(x_95, 0, x_85); +lean_ctor_set(x_95, 1, x_86); +lean_ctor_set(x_95, 2, x_87); +lean_ctor_set(x_95, 3, x_94); +lean_ctor_set(x_95, 4, x_89); +lean_ctor_set(x_95, 5, x_90); +lean_ctor_set(x_95, 6, x_91); +lean_ctor_set(x_95, 7, x_92); +x_96 = lean_nat_dec_le(x_79, x_79); +if (x_96 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get(x_92, 0); -x_97 = lean_ctor_get(x_92, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_92); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_27); -lean_ctor_set(x_98, 1, x_96); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_95); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_97 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +x_98 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_97); x_99 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); +lean_ctor_set(x_99, 1, x_73); return x_99; } -} else { -uint8_t x_100; -lean_dec(x_27); -x_100 = !lean_is_exclusive(x_92); -if (x_100 == 0) +size_t x_100; size_t x_101; lean_object* x_102; +x_100 = 0; +x_101 = lean_usize_of_nat(x_79); +lean_dec(x_79); +x_102 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_1, x_2, x_74, x_75, x_76, x_77, x_76, x_100, x_101, x_78, x_3, x_4, x_5, x_6, x_95, x_8, x_73); +lean_dec(x_76); +if (lean_obj_tag(x_102) == 0) { -return x_92; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_92, 0); -x_102 = lean_ctor_get(x_92, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_92); -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_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_104 = lean_ctor_get(x_27, 0); -x_105 = lean_ctor_get(x_27, 1); -x_106 = lean_ctor_get(x_27, 3); -lean_inc(x_106); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); -lean_dec(x_27); -x_107 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_105); -lean_dec(x_105); -x_108 = lean_box(0); -lean_ctor_set(x_6, 1, x_108); -lean_ctor_set(x_6, 0, x_107); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_84); -x_110 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_110, 0, x_104); -lean_ctor_set(x_110, 1, x_6); -lean_ctor_set(x_110, 2, x_109); -lean_ctor_set(x_110, 3, x_106); -x_111 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_85); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_114 = x_111; +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; } else { - lean_dec_ref(x_111); - x_114 = lean_box(0); + lean_dec_ref(x_102); + x_105 = lean_box(0); } -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_110); -lean_ctor_set(x_115, 1, x_112); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 0); +x_106 = l_List_reverse___rarg(x_103); +x_107 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_2, x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_114; + x_108 = x_105; } -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -return x_116; +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_110); -x_117 = lean_ctor_get(x_111, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_111, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_119 = x_111; -} else { - lean_dec_ref(x_111); - 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 -{ -uint8_t x_121; -lean_dec(x_27); -lean_free_object(x_6); -lean_dec(x_18); -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_5); -lean_dec(x_3); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_dec(x_2); -x_121 = !lean_is_exclusive(x_83); -if (x_121 == 0) -{ -return x_83; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_83, 0); -x_123 = lean_ctor_get(x_83, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_83); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -} -} -else -{ -uint8_t x_125; -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_19); -lean_free_object(x_6); -lean_dec(x_18); -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_5); -lean_dec(x_3); -lean_dec(x_2); -x_125 = !lean_is_exclusive(x_24); -if (x_125 == 0) -{ -return x_24; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_24, 0); -x_127 = lean_ctor_get(x_24, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_24); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_20); -lean_dec(x_19); -x_129 = lean_ctor_get(x_21, 0); -lean_inc(x_129); -lean_dec(x_21); -x_130 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_130) == 0) -{ -uint8_t x_131; -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_130, 0); -lean_ctor_set(x_6, 1, x_132); -lean_ctor_set(x_6, 0, x_129); -lean_ctor_set(x_130, 0, x_6); -return x_130; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_130, 0); -x_134 = lean_ctor_get(x_130, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_130); -lean_ctor_set(x_6, 1, x_133); -lean_ctor_set(x_6, 0, x_129); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_134); -return x_135; -} -} -else -{ -uint8_t x_136; -lean_dec(x_129); -lean_free_object(x_6); -x_136 = !lean_is_exclusive(x_130); -if (x_136 == 0) -{ -return x_130; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_130, 0); -x_138 = lean_ctor_get(x_130, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_130); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; -} -} -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_140 = lean_ctor_get(x_6, 0); -x_141 = lean_ctor_get(x_6, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_6); -x_142 = lean_ctor_get(x_140, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_140, 1); -lean_inc(x_143); -lean_dec(x_140); -x_144 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(x_143); -if (lean_obj_tag(x_144) == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_inc(x_143); -x_145 = l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__2(x_143); -x_146 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -lean_inc(x_7); -lean_inc(x_142); -lean_inc(x_3); -x_147 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_3, x_4, x_142, x_146, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_147) == 0) -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3(x_143); -lean_dec(x_143); -lean_inc(x_3); -lean_inc(x_2); -x_151 = l_Lean_isSubobjectField_x3f(x_2, x_3, x_142); -if (lean_obj_tag(x_151) == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; size_t x_159; size_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_152 = lean_unsigned_to_nat(4u); -x_153 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; -lean_inc(x_5); -x_154 = l_Lean_Syntax_setArg(x_5, x_152, x_153); -x_155 = l_List_redLength___rarg(x_145); -x_156 = lean_mk_empty_array_with_capacity(x_155); -lean_dec(x_155); -x_157 = l_List_toArrayAux___rarg(x_145, x_156); -x_158 = lean_array_get_size(x_157); -x_159 = lean_usize_of_nat(x_158); -lean_dec(x_158); -x_160 = 0; -x_161 = x_157; -x_162 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(x_153, x_159, x_160, x_161); -x_163 = x_162; -x_164 = l_Lean_nullKind; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = lean_unsigned_to_nat(2u); -x_167 = l_Lean_Syntax_setArg(x_154, x_166, x_165); -x_168 = l_Lean_Elab_Term_StructInst_setStructSourceSyntax(x_167, x_148); -x_169 = lean_ctor_get(x_150, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_150, 1); -lean_inc(x_170); -x_171 = lean_ctor_get(x_150, 3); -lean_inc(x_171); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - lean_ctor_release(x_150, 2); - lean_ctor_release(x_150, 3); - x_172 = x_150; +x_109 = lean_ctor_get(x_102, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_102, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_111 = x_102; } else { - lean_dec_ref(x_150); - x_172 = lean_box(0); + lean_dec_ref(x_102); + x_111 = lean_box(0); } -x_173 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_170); -lean_dec(x_170); -x_174 = lean_box(0); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_176, 0, x_168); -if (lean_is_scalar(x_172)) { - x_177 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); } else { - x_177 = x_172; + x_112 = x_111; } -lean_ctor_set(x_177, 0, x_169); -lean_ctor_set(x_177, 1, x_175); -lean_ctor_set(x_177, 2, x_176); -lean_ctor_set(x_177, 3, x_171); -x_178 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_141, x_7, x_8, x_9, x_10, x_11, x_12, x_149); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_181 = x_178; -} else { - lean_dec_ref(x_178); - x_181 = lean_box(0); -} -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_177); -lean_ctor_set(x_182, 1, x_179); -if (lean_is_scalar(x_181)) { - x_183 = lean_alloc_ctor(0, 2, 0); -} else { - x_183 = x_181; -} -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_180); -return x_183; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_177); -x_184 = lean_ctor_get(x_178, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_178, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_186 = x_178; -} else { - lean_dec_ref(x_178); - x_186 = lean_box(0); -} -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(1, 2, 0); -} else { - x_187 = x_186; -} -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_185); -return x_187; -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_151, 0); -lean_inc(x_188); -lean_dec(x_151); -lean_inc(x_5); -x_189 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_189, 0, x_5); -lean_ctor_set(x_189, 1, x_188); -lean_ctor_set(x_189, 2, x_145); -lean_ctor_set(x_189, 3, x_148); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_190 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_189, x_7, x_8, x_9, x_10, x_11, x_12, x_149); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_ctor_get(x_150, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_150, 1); -lean_inc(x_194); -x_195 = lean_ctor_get(x_150, 3); -lean_inc(x_195); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - lean_ctor_release(x_150, 2); - lean_ctor_release(x_150, 3); - x_196 = x_150; -} else { - lean_dec_ref(x_150); - x_196 = lean_box(0); -} -x_197 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_194); -lean_dec(x_194); -x_198 = lean_box(0); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -x_200 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_200, 0, x_191); -if (lean_is_scalar(x_196)) { - x_201 = lean_alloc_ctor(0, 4, 0); -} else { - x_201 = x_196; -} -lean_ctor_set(x_201, 0, x_193); -lean_ctor_set(x_201, 1, x_199); -lean_ctor_set(x_201, 2, x_200); -lean_ctor_set(x_201, 3, x_195); -x_202 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_141, x_7, x_8, x_9, x_10, x_11, x_12, x_192); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_205 = x_202; -} else { - lean_dec_ref(x_202); - x_205 = lean_box(0); -} -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_201); -lean_ctor_set(x_206, 1, x_203); -if (lean_is_scalar(x_205)) { - x_207 = lean_alloc_ctor(0, 2, 0); -} else { - x_207 = x_205; -} -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_204); -return x_207; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -lean_dec(x_201); -x_208 = lean_ctor_get(x_202, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_202, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_210 = x_202; -} else { - lean_dec_ref(x_202); - x_210 = lean_box(0); -} -if (lean_is_scalar(x_210)) { - x_211 = lean_alloc_ctor(1, 2, 0); -} else { - x_211 = x_210; -} -lean_ctor_set(x_211, 0, x_208); -lean_ctor_set(x_211, 1, x_209); -return x_211; -} -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_150); -lean_dec(x_141); -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_5); -lean_dec(x_3); -lean_dec(x_2); -x_212 = lean_ctor_get(x_190, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_190, 1); -lean_inc(x_213); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_214 = x_190; -} else { - lean_dec_ref(x_190); - x_214 = lean_box(0); -} -if (lean_is_scalar(x_214)) { - x_215 = lean_alloc_ctor(1, 2, 0); -} else { - x_215 = x_214; -} -lean_ctor_set(x_215, 0, x_212); -lean_ctor_set(x_215, 1, x_213); -return x_215; -} -} -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_145); -lean_dec(x_143); -lean_dec(x_142); -lean_dec(x_141); -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_5); -lean_dec(x_3); -lean_dec(x_2); -x_216 = lean_ctor_get(x_147, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_147, 1); -lean_inc(x_217); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_218 = x_147; -} else { - lean_dec_ref(x_147); - x_218 = lean_box(0); -} -if (lean_is_scalar(x_218)) { - x_219 = lean_alloc_ctor(1, 2, 0); -} else { - x_219 = x_218; -} -lean_ctor_set(x_219, 0, x_216); -lean_ctor_set(x_219, 1, x_217); -return x_219; -} -} -else -{ -lean_object* x_220; lean_object* x_221; -lean_dec(x_143); -lean_dec(x_142); -x_220 = lean_ctor_get(x_144, 0); -lean_inc(x_220); -lean_dec(x_144); -x_221 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_141, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_221) == 0) -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_224 = x_221; -} else { - lean_dec_ref(x_221); - x_224 = lean_box(0); -} -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_220); -lean_ctor_set(x_225, 1, x_222); -if (lean_is_scalar(x_224)) { - x_226 = lean_alloc_ctor(0, 2, 0); -} else { - x_226 = x_224; -} -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_223); -return x_226; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_220); -x_227 = lean_ctor_get(x_221, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_221, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_229 = x_221; -} else { - lean_dec_ref(x_221); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(1, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_227); -lean_ctor_set(x_230, 1, x_228); -return x_230; +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; } } } } } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___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, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -lean_object* x_14; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_14 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(x_15); -lean_dec(x_15); -x_18 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -return x_18; -} -else -{ -uint8_t x_19; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_8); lean_dec(x_8); +x_19 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_20 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_3); lean_dec(x_2); -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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___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) { -_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; uint8_t x_17; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_Term_StructInst_Struct_structName(x_1); -lean_inc(x_13); -lean_inc(x_12); -x_14 = l_Lean_getStructureFields(x_12, x_13); -x_15 = l_Lean_Elab_Term_StructInst_Struct_ref(x_1); -lean_inc(x_15); -lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___lambda__1___boxed), 13, 5); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_12); -lean_closure_set(x_16, 2, x_13); -lean_closure_set(x_16, 3, x_14); -lean_closure_set(x_16, 4, x_15); -x_17 = !lean_is_exclusive(x_6); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_6, 3); -x_19 = l_Lean_replaceRef(x_15, x_18); -lean_dec(x_18); -lean_dec(x_15); -lean_ctor_set(x_6, 3, x_19); -x_20 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_20; } -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_21 = lean_ctor_get(x_6, 0); -x_22 = lean_ctor_get(x_6, 1); -x_23 = lean_ctor_get(x_6, 2); -x_24 = lean_ctor_get(x_6, 3); -x_25 = lean_ctor_get(x_6, 4); -x_26 = lean_ctor_get(x_6, 5); -x_27 = lean_ctor_get(x_6, 6); -x_28 = lean_ctor_get(x_6, 7); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_6); -x_29 = l_Lean_replaceRef(x_15, x_24); -lean_dec(x_24); -lean_dec(x_15); -x_30 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_22); -lean_ctor_set(x_30, 2, x_23); -lean_ctor_set(x_30, 3, x_29); -lean_ctor_set(x_30, 4, x_25); -lean_ctor_set(x_30, 5, x_26); -lean_ctor_set(x_30, 6, x_27); -lean_ctor_set(x_30, 7, x_28); -x_31 = l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(x_1, x_16, x_2, x_3, x_4, x_5, x_30, x_7, x_11); -return x_31; } -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t 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) { +static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___closed__1() { _start: { -uint8_t x_17; -x_17 = x_7 == x_8; -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_array_uget(x_6, x_7); -x_19 = l_Lean_Elab_Term_StructInst_Struct_fields(x_1); -lean_inc(x_18); -x_20 = l_Lean_Elab_Term_StructInst_findField_x3f(x_19, x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -lean_inc(x_18); -lean_inc(x_3); -lean_inc(x_2); -x_21 = l_Lean_isSubobjectField_x3f(x_2, x_3, x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -switch (lean_obj_tag(x_22)) { -case 0: -{ -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; size_t x_30; size_t x_31; -x_23 = lean_box(2); -lean_inc(x_5); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_5); -lean_ctor_set(x_24, 1, x_18); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_box(0); -lean_inc(x_5); -x_28 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_28, 0, x_5); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 2, x_23); -lean_ctor_set(x_28, 3, x_27); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_9); -x_30 = 1; -x_31 = x_7 + x_30; -x_7 = x_31; -x_9 = x_29; -goto _start; -} -case 1: -{ -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; size_t x_41; size_t x_42; -lean_dec(x_22); -x_33 = l_Lean_mkHole(x_5); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -lean_inc(x_5); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_5); -lean_ctor_set(x_35, 1, x_18); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_box(0); -lean_inc(x_5); -x_39 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_39, 0, x_5); -lean_ctor_set(x_39, 1, x_37); -lean_ctor_set(x_39, 2, x_34); -lean_ctor_set(x_39, 3, x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_9); -x_41 = 1; -x_42 = x_7 + x_41; -x_7 = x_42; -x_9 = x_40; -goto _start; -} -default: -{ -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; size_t x_55; size_t x_56; -x_44 = lean_ctor_get(x_22, 0); -lean_inc(x_44); -lean_dec(x_22); -x_45 = lean_unsigned_to_nat(0u); -x_46 = l_Lean_Syntax_getArg(x_44, x_45); -lean_dec(x_44); -lean_inc(x_18); -x_47 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(x_46, x_18); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -lean_inc(x_5); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_5); -lean_ctor_set(x_49, 1, x_18); -x_50 = lean_box(0); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_box(0); -lean_inc(x_5); -x_53 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_53, 0, x_5); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set(x_53, 2, x_48); -lean_ctor_set(x_53, 3, x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_9); -x_55 = 1; -x_56 = x_7 + x_55; -x_7 = x_56; -x_9 = x_54; -goto _start; -} -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -lean_inc(x_58); -lean_dec(x_21); -x_59 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -lean_inc(x_10); -lean_inc(x_18); -lean_inc(x_3); -x_60 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(x_3, x_4, x_18, x_59, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_box(0); -lean_inc(x_5); -x_64 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_64, 0, x_5); -lean_ctor_set(x_64, 1, x_58); -lean_ctor_set(x_64, 2, x_63); -lean_ctor_set(x_64, 3, x_61); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_65 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_64, x_10, x_11, x_12, x_13, x_14, x_15, x_62); -if (lean_obj_tag(x_65) == 0) -{ -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; size_t x_74; size_t x_75; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_66); -lean_inc(x_5); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_5); -lean_ctor_set(x_69, 1, x_18); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_63); -x_71 = lean_box(0); -lean_inc(x_5); -x_72 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_72, 0, x_5); -lean_ctor_set(x_72, 1, x_70); -lean_ctor_set(x_72, 2, x_68); -lean_ctor_set(x_72, 3, x_71); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_9); -x_74 = 1; -x_75 = x_7 + x_74; -x_7 = x_75; -x_9 = x_73; -x_16 = x_67; -goto _start; -} -else -{ -uint8_t x_77; -lean_dec(x_18); -lean_dec(x_15); -lean_dec(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_5); -lean_dec(x_3); -lean_dec(x_2); -x_77 = !lean_is_exclusive(x_65); -if (x_77 == 0) -{ -return x_65; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_65, 0); -x_79 = lean_ctor_get(x_65, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_65); -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_81; -lean_dec(x_58); -lean_dec(x_18); -lean_dec(x_15); -lean_dec(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_5); -lean_dec(x_3); -lean_dec(x_2); -x_81 = !lean_is_exclusive(x_60); -if (x_81 == 0) -{ -return x_60; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_60, 0); -x_83 = lean_ctor_get(x_60, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_60); -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; -} -} -} -} -else -{ -lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; -lean_dec(x_18); -x_85 = lean_ctor_get(x_20, 0); -lean_inc(x_85); -lean_dec(x_20); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_9); -x_87 = 1; -x_88 = x_7 + x_87; -x_7 = x_88; -x_9 = x_86; -goto _start; -} -} -else -{ -lean_object* x_90; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_9); -lean_ctor_set(x_90, 1, x_16); -return x_90; -} -} -} -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__10(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; uint8_t x_10; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -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; uint8_t x_20; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l_Lean_Elab_Term_StructInst_Struct_structName(x_1); -lean_inc(x_14); -lean_inc(x_13); -x_15 = l_Lean_getStructureFields(x_13, x_14); -x_16 = l_Lean_Elab_Term_StructInst_Struct_ref(x_1); -x_17 = lean_box(0); -x_18 = lean_array_get_size(x_15); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_nat_dec_lt(x_19, x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_22 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_21); -lean_ctor_set(x_9, 0, x_22); -return x_9; -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_6); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_ctor_get(x_6, 3); -x_25 = l_Lean_replaceRef(x_16, x_24); -lean_dec(x_24); -lean_ctor_set(x_6, 3, x_25); -x_26 = lean_nat_dec_le(x_18, x_18); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_6); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_27 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_28 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_27); -lean_ctor_set(x_9, 0, x_28); -return x_9; -} -else -{ -size_t x_29; size_t x_30; lean_object* x_31; -lean_free_object(x_9); -x_29 = 0; -x_30 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(x_1, x_13, x_14, x_15, x_16, x_15, x_29, x_30, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_31) == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = l_List_reverse___rarg(x_33); -x_35 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_34); -lean_ctor_set(x_31, 0, x_35); -return x_31; -} -else -{ -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_31, 0); -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_31); -x_38 = l_List_reverse___rarg(x_36); -x_39 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; -} -} -else -{ -uint8_t x_41; -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_31); -if (x_41 == 0) -{ -return x_31; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_31, 0); -x_43 = lean_ctor_get(x_31, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_31); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -x_47 = lean_ctor_get(x_6, 2); -x_48 = lean_ctor_get(x_6, 3); -x_49 = lean_ctor_get(x_6, 4); -x_50 = lean_ctor_get(x_6, 5); -x_51 = lean_ctor_get(x_6, 6); -x_52 = lean_ctor_get(x_6, 7); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_6); -x_53 = l_Lean_replaceRef(x_16, x_48); -lean_dec(x_48); -x_54 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_46); -lean_ctor_set(x_54, 2, x_47); -lean_ctor_set(x_54, 3, x_53); -lean_ctor_set(x_54, 4, x_49); -lean_ctor_set(x_54, 5, x_50); -lean_ctor_set(x_54, 6, x_51); -lean_ctor_set(x_54, 7, x_52); -x_55 = lean_nat_dec_le(x_18, x_18); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -lean_dec(x_54); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_56 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_57 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_56); -lean_ctor_set(x_9, 0, x_57); -return x_9; -} -else -{ -size_t x_58; size_t x_59; lean_object* x_60; -lean_free_object(x_9); -x_58 = 0; -x_59 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(x_1, x_13, x_14, x_15, x_16, x_15, x_58, x_59, x_17, x_2, x_3, x_4, x_5, x_54, x_7, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_60) == 0) -{ -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_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_63 = x_60; -} else { - lean_dec_ref(x_60); - x_63 = lean_box(0); -} -x_64 = l_List_reverse___rarg(x_61); -x_65 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_64); -if (lean_is_scalar(x_63)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_63; -} -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_62); -return x_66; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_1); -x_67 = lean_ctor_get(x_60, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_60, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_69 = x_60; -} else { - lean_dec_ref(x_60); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 2, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_68); -return x_70; -} -} -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_71 = lean_ctor_get(x_9, 0); -x_72 = lean_ctor_get(x_9, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_9); -x_73 = lean_ctor_get(x_71, 0); -lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Lean_Elab_Term_StructInst_Struct_structName(x_1); -lean_inc(x_74); -lean_inc(x_73); -x_75 = l_Lean_getStructureFields(x_73, x_74); -x_76 = l_Lean_Elab_Term_StructInst_Struct_ref(x_1); -x_77 = lean_box(0); -x_78 = lean_array_get_size(x_75); -x_79 = lean_unsigned_to_nat(0u); -x_80 = lean_nat_dec_lt(x_79, x_78); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec(x_78); -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_74); -lean_dec(x_73); -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_81 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_82 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_81); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_72); -return x_83; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_84 = lean_ctor_get(x_6, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_6, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_6, 2); -lean_inc(x_86); -x_87 = lean_ctor_get(x_6, 3); -lean_inc(x_87); -x_88 = lean_ctor_get(x_6, 4); -lean_inc(x_88); -x_89 = lean_ctor_get(x_6, 5); -lean_inc(x_89); -x_90 = lean_ctor_get(x_6, 6); -lean_inc(x_90); -x_91 = lean_ctor_get(x_6, 7); -lean_inc(x_91); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_92 = x_6; -} else { - lean_dec_ref(x_6); - x_92 = lean_box(0); -} -x_93 = l_Lean_replaceRef(x_76, x_87); -lean_dec(x_87); -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(0, 8, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_84); -lean_ctor_set(x_94, 1, x_85); -lean_ctor_set(x_94, 2, x_86); -lean_ctor_set(x_94, 3, x_93); -lean_ctor_set(x_94, 4, x_88); -lean_ctor_set(x_94, 5, x_89); -lean_ctor_set(x_94, 6, x_90); -lean_ctor_set(x_94, 7, x_91); -x_95 = lean_nat_dec_le(x_78, x_78); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_94); -lean_dec(x_78); -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_74); -lean_dec(x_73); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_96 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; -x_97 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, 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_72); -return x_98; -} -else -{ -size_t x_99; size_t x_100; lean_object* x_101; -x_99 = 0; -x_100 = lean_usize_of_nat(x_78); -lean_dec(x_78); -x_101 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(x_1, x_73, x_74, x_75, x_76, x_75, x_99, x_100, x_77, x_2, x_3, x_4, x_5, x_94, x_7, x_72); -lean_dec(x_75); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_104 = x_101; -} else { - lean_dec_ref(x_101); - x_104 = lean_box(0); -} -x_105 = l_List_reverse___rarg(x_102); -x_106 = l_Lean_Elab_Term_StructInst_Struct_setFields(x_1, x_105); -if (lean_is_scalar(x_104)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_104; -} -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_103); -return x_107; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_1); -x_108 = lean_ctor_get(x_101, 0); -lean_inc(x_108); -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 { - lean_dec_ref(x_101); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_109); -return x_111; -} -} -} -} +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct), 8, 0); +return x_1; } } lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(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) { @@ -16790,214 +14989,119 @@ lean_inc(x_2); x_14 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_13); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); +x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___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); -x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields(x_17, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__10(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_19); -return x_20; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields(x_17, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +return x_21; } else { -uint8_t x_21; +uint8_t 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_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) { -return x_17; +return x_18; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } else { -uint8_t x_25; +uint8_t 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); -x_25 = !lean_is_exclusive(x_14); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_14); +if (x_26 == 0) { return x_14; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_14, 0); -x_27 = lean_ctor_get(x_14, 1); +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_inc(x_26); lean_dec(x_14); -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; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } else { -uint8_t x_29; +uint8_t x_30; 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_29 = !lean_is_exclusive(x_11); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_11); +if (x_30 == 0) { return x_11; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_11, 0); -x_31 = lean_ctor_get(x_11, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_11, 0); +x_32 = lean_ctor_get(x_11, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); lean_dec(x_11); -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; +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; } } } } -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(x_1, x_5, x_6, x_4); -return x_7; -} -} -lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__5(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(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_4); -lean_dec(x_1); -return x_14; -} -} -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___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, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___lambda__1(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_4); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_19; -} -} static lean_object* _init_l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default() { _start: { @@ -17954,7 +16058,7 @@ lean_ctor_set(x_19, 1, x_18); x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_3); -x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -19455,7 +17559,7 @@ x_274 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHead x_275 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_275, 0, x_274); lean_ctor_set(x_275, 1, x_273); -x_276 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_276 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_277 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_277, 0, x_275); lean_ctor_set(x_277, 1, x_276); @@ -20144,7 +18248,7 @@ x_427 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHead x_428 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); -x_429 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_429 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_430 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_430, 0, x_428); lean_ctor_set(x_430, 1, x_429); @@ -20869,7 +18973,7 @@ x_585 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHead x_586 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_586, 0, x_585); lean_ctor_set(x_586, 1, x_584); -x_587 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_587 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_588 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_588, 0, x_586); lean_ctor_set(x_588, 1, x_587); @@ -21624,7 +19728,7 @@ x_748 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHead x_749 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_749, 0, x_748); lean_ctor_set(x_749, 1, x_747); -x_750 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_750 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_751 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_751, 0, x_749); lean_ctor_set(x_751, 1, x_750); @@ -22527,7 +20631,7 @@ x_940 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHead x_941 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_941, 0, x_940); lean_ctor_set(x_941, 1, x_939); -x_942 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_942 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_943 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_943, 0, x_941); lean_ctor_set(x_943, 1, x_942); @@ -28494,7 +26598,110 @@ x_2 = l_Lean_Elab_Term_StructInst_formatStruct(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_11 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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); +lean_dec(x_12); +x_16 = l_Lean_Elab_Term_StructInst_DefaultFields_propagate(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_14); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_25 = !lean_is_exclusive(x_11); +if (x_25 == 0) +{ +return x_11; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_11, 0); +x_27 = lean_ctor_get(x_11, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_11); +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; +} +} +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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) { _start: { lean_object* x_13; lean_object* x_14; @@ -28522,180 +26729,88 @@ lean_inc(x_6); x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_16); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_40 = lean_st_ref_get(x_11, x_19); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_20 = x_44; -goto block_39; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_dec(x_40); -x_46 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_45); -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) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_20 = x_50; -goto block_39; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -lean_inc(x_18); -x_52 = l_Lean_Elab_Term_StructInst_formatStruct(x_18); -x_53 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_46, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_20 = x_58; -goto block_39; -} -} -block_39: -{ -lean_object* x_21; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_18, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -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_22, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = l_Lean_Elab_Term_StructInst_DefaultFields_propagate(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -lean_ctor_set(x_26, 0, x_24); -return x_26; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -else -{ -uint8_t x_31; -lean_dec(x_24); -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) -{ -return x_26; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_26); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_35 = !lean_is_exclusive(x_21); -if (x_35 == 0) -{ -return x_21; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_21, 0); -x_37 = lean_ctor_get(x_21, 1); -lean_inc(x_37); +x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; +x_35 = lean_st_ref_get(x_11, x_19); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_21); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +x_37 = lean_ctor_get(x_36, 3); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = 0; +x_21 = x_40; +x_22 = x_39; +goto block_34; } +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_35, 1); +lean_inc(x_41); +lean_dec(x_35); +x_42 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_unbox(x_43); +lean_dec(x_43); +x_21 = x_45; +x_22 = x_44; +goto block_34; +} +block_34: +{ +if (x_21 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(0); +x_24 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(x_18, x_4, x_23, x_6, x_7, x_8, x_9, x_10, x_11, 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; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_inc(x_18); +x_25 = l_Lean_Elab_Term_StructInst_formatStruct(x_18); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_20, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(x_18, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +lean_dec(x_31); +return x_33; } } } else { -uint8_t x_59; +uint8_t x_46; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -28703,29 +26818,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_59 = !lean_is_exclusive(x_17); -if (x_59 == 0) +x_46 = !lean_is_exclusive(x_17); +if (x_46 == 0) { return x_17; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_17, 0); -x_61 = lean_ctor_get(x_17, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); lean_dec(x_17); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +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; } } } else { -uint8_t x_63; +uint8_t x_50; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -28733,23 +26848,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_63 = !lean_is_exclusive(x_14); -if (x_63 == 0) +x_50 = !lean_is_exclusive(x_14); +if (x_50 == 0) { return x_14; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_14, 0); -x_65 = lean_ctor_get(x_14, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_14, 0); +x_52 = lean_ctor_get(x_14, 1); +lean_inc(x_52); +lean_inc(x_51); lean_dec(x_14); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } @@ -28819,7 +26934,7 @@ x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructI x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_24 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -28853,7 +26968,7 @@ else lean_object* x_31; lean_object* x_32; lean_dec(x_15); x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(x_1, x_14, x_3, x_2, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +x_32 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2(x_1, x_14, x_3, x_2, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_18); return x_32; } } @@ -28983,11 +27098,20 @@ lean_dec(x_3); return x_9; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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, lean_object* x_12) { +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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); +return x_11; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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) { _start: { lean_object* x_13; -x_13 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(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 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); return x_13; } @@ -29094,7 +27218,11 @@ lean_object* l_Lean_Elab_Term_StructInst_elabStructInst(lean_object* x_1, lean_o _start: { lean_object* x_10; +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_1); x_10 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -29244,26 +27372,29 @@ return x_34; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_35 = lean_ctor_get(x_10, 1); lean_inc(x_35); lean_dec(x_10); x_36 = lean_ctor_get(x_11, 0); lean_inc(x_36); lean_dec(x_11); +x_37 = 1; +x_38 = lean_box(x_37); +x_39 = lean_box(x_37); lean_inc(x_36); -lean_inc(x_1); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__1), 10, 3); -lean_closure_set(x_37, 0, x_1); -lean_closure_set(x_37, 1, x_36); -lean_closure_set(x_37, 2, x_2); -x_38 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_36, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -return x_38; +x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_40, 0, x_36); +lean_closure_set(x_40, 1, x_2); +lean_closure_set(x_40, 2, x_38); +lean_closure_set(x_40, 3, x_39); +x_41 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_1, x_36, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +return x_41; } } else { -uint8_t x_39; +uint8_t x_42; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -29272,23 +27403,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_10); -if (x_39 == 0) +x_42 = !lean_is_exclusive(x_10); +if (x_42 == 0) { return x_10; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_10, 0); -x_41 = lean_ctor_get(x_10, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_10, 0); +x_44 = lean_ctor_get(x_10, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_10); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } @@ -29331,7 +27462,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7210_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7395_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29430,36 +27561,38 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg___closed__1); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__1); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__2); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__3); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__4); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__5); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__6); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__7); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__8); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__9); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__10); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__11); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__12); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__13); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__14); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___lambda__1___closed__15); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__3); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__5); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__6); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__8); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__9); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__11); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__12); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__13); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15); l_Lean_Elab_Term_StructInst_instInhabitedSource = _init_l_Lean_Elab_Term_StructInst_instInhabitedSource(); lean_mark_persistent(l_Lean_Elab_Term_StructInst_instInhabitedSource); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__1(); @@ -29492,6 +27625,70 @@ l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_ lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__7); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__8 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__8(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__8); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__1); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__4); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__5 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__5); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__6); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__8); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__9); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__10 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__10); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__11); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__12); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__13); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__15); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__16); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__18); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__19); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__1); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__3); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__5); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__6); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__7); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__9); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__12); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__2(); @@ -29504,72 +27701,6 @@ l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___clo lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__9); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__10); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__11); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__12); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__13); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__15); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__17); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__19); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__20); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__21); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__22); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__23); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__25); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__26); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__27); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__28); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__30); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__31); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__32); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__34); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__35); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__36); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__37); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__38); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__39); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__1(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__1); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__2(); @@ -29722,22 +27853,20 @@ l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___clos lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__1); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__1); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2); -l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__3); +l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1(); +lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__1); +l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2(); +lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__2); +l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3(); +lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__3); +l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4(); +lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__4); +l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5(); +lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___closed__5); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1(); lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1); -l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__1); -l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__2); -l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__3); -l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4 = _init_l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4); +l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___closed__1); l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default = _init_l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default(); lean_mark_persistent(l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default); l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__1 = _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__1(); @@ -29828,7 +27957,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___c res = l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7210_(lean_io_mk_world()); +res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_7395_(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/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index c05afb117b..a5f9f0b9ca 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -23,7 +23,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFie static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__2; lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object**); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__3; lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__1; @@ -63,6 +62,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandF static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__19; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__1; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -85,12 +85,14 @@ static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__L lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__11; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__4; +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___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*); static size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__4; -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,6 +128,7 @@ lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__9; +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5(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_declRangeExt; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__2; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,6 +139,7 @@ lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -212,7 +216,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(lean_object*); @@ -276,7 +279,6 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Le lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -299,7 +301,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed_match lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___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* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabStructure___closed__8; -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__21; lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__13; @@ -326,6 +328,7 @@ lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Struct lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__4; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed__const__1; lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___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_Structure_0__Lean_Elab_Command_withFields_match__2___rarg(lean_object*, lean_object*); @@ -385,6 +388,7 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(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_protectedExt; lean_object* l_Lean_Elab_Command_elabStructure___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -405,12 +409,14 @@ extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults_match__1(lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__8; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___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_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView_match__1(lean_object*); +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -423,7 +429,6 @@ static lean_object* l_Lean_Elab_Command_elabStructure___closed__3; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1(lean_object*); -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1___rarg(lean_object*, lean_object*); @@ -485,6 +490,7 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Le uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__2(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1; lean_object* l_Lean_Name_getString_x21(lean_object*); @@ -506,8 +512,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10___closed__2; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__24; lean_object* lean_environment_main_module(lean_object*); @@ -553,11 +557,10 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___r 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*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4(lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__2; -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(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_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__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_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -606,10 +609,9 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5119_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5191_(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__20; -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_237_(uint8_t, uint8_t); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -668,7 +670,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___l lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1(lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__3; -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2(lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -686,6 +688,7 @@ lean_object* l_Lean_setReducibilityStatus___at___private_Lean_Elab_Structure_0__ static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__4; +static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6; lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10(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_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__4; @@ -703,7 +706,6 @@ lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1(lean_objec lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___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* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(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_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -12460,7 +12462,7 @@ x_18 = lean_ctor_get(x_14, 1); lean_inc(x_18); lean_dec(x_14); x_19 = lean_apply_1(x_4, x_18); -x_20 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_16, x_17, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_20 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_16, x_17, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_15); return x_20; } else @@ -15787,7 +15789,7 @@ lean_object* x_16; lean_object* x_17; lean_dec(x_13); lean_dec(x_2); x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1; -x_17 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_1, x_11, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_17 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_1, x_11, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_17; } else @@ -15800,7 +15802,7 @@ lean_object* x_19; lean_object* x_20; lean_dec(x_13); lean_dec(x_2); x_19 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1; -x_20 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_1, x_11, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_20 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_1, x_11, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_20; } else @@ -15816,7 +15818,7 @@ lean_closure_set(x_25, 0, x_2); lean_closure_set(x_25, 1, x_23); lean_closure_set(x_25, 2, x_24); lean_closure_set(x_25, 3, x_22); -x_26 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_1, x_11, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_26 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_1, x_11, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_26; } } @@ -16621,59 +16623,6 @@ return x_38; } } } -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Elab"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structure"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1() { _start: { @@ -16683,7 +16632,963 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_1); +x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure(x_1, x_2, x_3, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +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); +x_19 = lean_ctor_get(x_5, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_5, 3); +lean_inc(x_20); +x_21 = l_Lean_Elab_sortDeclLevelParams(x_19, x_20, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = !lean_is_exclusive(x_13); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_13, 3); +x_27 = l_Lean_replaceRef(x_6, x_26); +lean_dec(x_26); +lean_ctor_set(x_13, 3, x_27); +x_28 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_object* x_37; lean_object* x_38; lean_object* x_39; +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(x_13, 4); +x_34 = lean_ctor_get(x_13, 5); +x_35 = lean_ctor_get(x_13, 6); +x_36 = lean_ctor_get(x_13, 7); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_37 = l_Lean_replaceRef(x_6, x_32); +lean_dec(x_32); +x_38 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_30); +lean_ctor_set(x_38, 2, x_31); +lean_ctor_set(x_38, 3, x_37); +lean_ctor_set(x_38, 4, x_33); +lean_ctor_set(x_38, 5, x_34); +lean_ctor_set(x_38, 6, x_35); +lean_ctor_set(x_38, 7, x_36); +x_39 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_24, x_9, x_10, x_11, x_12, x_38, x_14, x_18); +lean_dec(x_14); +lean_dec(x_38); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_21, 0); +lean_inc(x_40); +lean_dec(x_21); +x_41 = l_Array_append___rarg(x_2, x_3); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_5); +x_42 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(x_5, x_40, x_41, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = 0; +x_46 = 1; +lean_inc(x_11); +lean_inc(x_41); +x_47 = l_Lean_Meta_mkForallFVars(x_41, x_1, x_45, x_46, x_11, x_12, x_13, x_14, x_44); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_50 = l_Lean_Meta_instantiateMVars(x_48, x_11, x_12, x_13, x_14, x_49); +if (lean_obj_tag(x_50) == 0) +{ +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; uint8_t x_60; lean_object* x_61; lean_object* x_62; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_5, 4); +lean_inc(x_53); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_43); +lean_ctor_set(x_55, 1, x_54); +lean_inc(x_53); +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_51); +lean_ctor_set(x_56, 2, x_55); +x_57 = lean_array_get_size(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_54); +x_59 = lean_ctor_get(x_5, 1); +lean_inc(x_59); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*2 + 3); +lean_inc(x_57); +x_61 = lean_alloc_ctor(6, 3, 1); +lean_ctor_set(x_61, 0, x_40); +lean_ctor_set(x_61, 1, x_57); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set_uint8(x_61, sizeof(void*)*3, x_60); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_61); +x_62 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_52); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +lean_inc(x_13); +lean_inc(x_9); +x_64 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_63); +lean_dec(x_61); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; lean_object* x_70; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_array_get_size(x_4); +x_67 = lean_unsigned_to_nat(0u); +x_68 = lean_nat_dec_lt(x_67, x_66); +x_69 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_dec(x_5); +if (x_68 == 0) +{ +lean_inc(x_7); +x_70 = x_7; +goto block_157; +} +else +{ +uint8_t x_158; +x_158 = lean_nat_dec_le(x_66, x_66); +if (x_158 == 0) +{ +lean_inc(x_7); +x_70 = x_7; +goto block_157; +} +else +{ +size_t x_159; size_t x_160; lean_object* x_161; +x_159 = 0; +x_160 = lean_usize_of_nat(x_66); +lean_inc(x_7); +x_161 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_4, x_159, x_160, x_7); +x_70 = x_161; +goto block_157; +} +} +block_157: +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_array_to_list(lean_box(0), x_70); +x_72 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_71); +lean_inc(x_13); +lean_inc(x_9); +lean_inc(x_53); +x_73 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_53, x_72, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_65); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +lean_inc(x_13); +lean_inc(x_9); +x_75 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_53, x_9, x_10, x_11, x_12, x_13, x_14, x_74); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +if (x_68 == 0) +{ +lean_inc(x_7); +x_77 = x_7; +x_78 = x_76; +goto block_138; +} +else +{ +uint8_t x_139; +x_139 = lean_nat_dec_le(x_66, x_66); +if (x_139 == 0) +{ +lean_inc(x_7); +x_77 = x_7; +x_78 = x_76; +goto block_138; +} +else +{ +size_t x_140; size_t x_141; lean_object* x_142; +x_140 = 0; +x_141 = lean_usize_of_nat(x_66); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +x_142 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_4, x_140, x_141, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_76); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_77 = x_143; +x_78 = x_144; +goto block_138; +} +else +{ +uint8_t x_145; +lean_dec(x_66); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_53); +lean_dec(x_41); +lean_dec(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_7); +x_145 = !lean_is_exclusive(x_142); +if (x_145 == 0) +{ +return x_142; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_142, 0); +x_147 = lean_ctor_get(x_142, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_142); +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; +} +} +} +} +block_138: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; +x_79 = lean_array_to_list(lean_box(0), x_77); +x_80 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(x_79); +x_81 = lean_ctor_get(x_59, 1); +lean_inc(x_81); +lean_dec(x_59); +x_82 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_9); +x_83 = l_Lean_Elab_Term_applyAttributesAt(x_53, x_81, x_82, x_9, x_10, x_11, x_12, x_13, x_14, x_78); +lean_dec(x_81); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_85 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; size_t x_88; lean_object* x_89; +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_ctor_get(x_11, 1); +lean_inc(x_87); +x_88 = 0; +if (x_68 == 0) +{ +x_89 = x_7; +goto block_126; +} +else +{ +uint8_t x_127; +x_127 = lean_nat_dec_le(x_66, x_66); +if (x_127 == 0) +{ +x_89 = x_7; +goto block_126; +} +else +{ +size_t x_128; lean_object* x_129; +x_128 = lean_usize_of_nat(x_66); +x_129 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_4, x_88, x_128, x_7); +x_89 = x_129; +goto block_126; +} +} +block_126: +{ +lean_object* x_90; size_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_90 = lean_array_get_size(x_89); +x_91 = lean_usize_of_nat(x_90); +lean_dec(x_90); +x_92 = x_89; +x_93 = lean_box_usize(x_91); +x_94 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; +x_95 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed), 10, 3); +lean_closure_set(x_95, 0, x_93); +lean_closure_set(x_95, 1, x_94); +lean_closure_set(x_95, 2, x_92); +x_96 = x_95; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_97 = lean_apply_7(x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_86); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_nat_dec_lt(x_67, x_57); +if (x_100 == 0) +{ +lean_dec(x_57); +lean_dec(x_41); +if (x_68 == 0) +{ +lean_object* x_101; +lean_dec(x_66); +x_101 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_87, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_101; +} +else +{ +uint8_t x_102; +x_102 = lean_nat_dec_le(x_66, x_66); +if (x_102 == 0) +{ +lean_object* x_103; +lean_dec(x_66); +x_103 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_87, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_103; +} +else +{ +size_t x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_usize_of_nat(x_66); +lean_dec(x_66); +x_105 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_4, x_88, x_104, x_87); +x_106 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_105, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_106; +} +} +} +else +{ +uint8_t x_107; +x_107 = lean_nat_dec_le(x_57, x_57); +if (x_107 == 0) +{ +lean_dec(x_57); +lean_dec(x_41); +if (x_68 == 0) +{ +lean_object* x_108; +lean_dec(x_66); +x_108 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_87, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_108; +} +else +{ +uint8_t x_109; +x_109 = lean_nat_dec_le(x_66, x_66); +if (x_109 == 0) +{ +lean_object* x_110; +lean_dec(x_66); +x_110 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_87, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_110; +} +else +{ +size_t x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_usize_of_nat(x_66); +lean_dec(x_66); +x_112 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_4, x_88, x_111, x_87); +x_113 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_112, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_113; +} +} +} +else +{ +size_t x_114; lean_object* x_115; +x_114 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_115 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_41, x_88, x_114, x_87); +lean_dec(x_41); +if (x_68 == 0) +{ +lean_object* x_116; +lean_dec(x_66); +x_116 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_115, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_116; +} +else +{ +uint8_t x_117; +x_117 = lean_nat_dec_le(x_66, x_66); +if (x_117 == 0) +{ +lean_object* x_118; +lean_dec(x_66); +x_118 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_115, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_118; +} +else +{ +size_t x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_usize_of_nat(x_66); +lean_dec(x_66); +x_120 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_4, x_88, x_119, x_115); +x_121 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_120, x_98, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +return x_121; +} +} +} +} +} +else +{ +uint8_t x_122; +lean_dec(x_87); +lean_dec(x_66); +lean_dec(x_57); +lean_dec(x_41); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_122 = !lean_is_exclusive(x_97); +if (x_122 == 0) +{ +return x_97; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_97, 0); +x_124 = lean_ctor_get(x_97, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_97); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +} +else +{ +uint8_t x_130; +lean_dec(x_66); +lean_dec(x_57); +lean_dec(x_41); +lean_dec(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_7); +x_130 = !lean_is_exclusive(x_85); +if (x_130 == 0) +{ +return x_85; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_85, 0); +x_132 = lean_ctor_get(x_85, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_85); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +} +} +else +{ +uint8_t x_134; +lean_dec(x_80); +lean_dec(x_66); +lean_dec(x_57); +lean_dec(x_41); +lean_dec(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_7); +x_134 = !lean_is_exclusive(x_83); +if (x_134 == 0) +{ +return x_83; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_83, 0); +x_136 = lean_ctor_get(x_83, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_83); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} +} +} +} +else +{ +uint8_t x_149; +lean_dec(x_66); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_53); +lean_dec(x_41); +lean_dec(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_7); +x_149 = !lean_is_exclusive(x_75); +if (x_149 == 0) +{ +return x_75; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_75, 0); +x_151 = lean_ctor_get(x_75, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_75); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +} +} +else +{ +uint8_t x_153; +lean_dec(x_66); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_53); +lean_dec(x_41); +lean_dec(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_7); +x_153 = !lean_is_exclusive(x_73); +if (x_153 == 0) +{ +return x_73; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_73, 0); +x_155 = lean_ctor_get(x_73, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_73); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} +} +else +{ +uint8_t x_162; +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_53); +lean_dec(x_41); +lean_dec(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_7); +lean_dec(x_5); +x_162 = !lean_is_exclusive(x_64); +if (x_162 == 0) +{ +return x_64; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_64, 0); +x_164 = lean_ctor_get(x_64, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_64); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +else +{ +uint8_t x_166; +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_53); +lean_dec(x_41); +lean_dec(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_7); +lean_dec(x_5); +x_166 = !lean_is_exclusive(x_62); +if (x_166 == 0) +{ +return x_62; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_62, 0); +x_168 = lean_ctor_get(x_62, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_62); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; +} +} +} +else +{ +uint8_t x_170; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(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_7); +lean_dec(x_5); +x_170 = !lean_is_exclusive(x_50); +if (x_170 == 0) +{ +return x_50; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_50, 0); +x_172 = lean_ctor_get(x_50, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_50); +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 +{ +uint8_t x_174; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(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_7); +lean_dec(x_5); +x_174 = !lean_is_exclusive(x_47); +if (x_174 == 0) +{ +return x_47; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_47, 0); +x_176 = lean_ctor_get(x_47, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_47); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; +} +} +} +else +{ +uint8_t x_178; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(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_7); +lean_dec(x_5); +lean_dec(x_1); +x_178 = !lean_is_exclusive(x_42); +if (x_178 == 0) +{ +return x_42; +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_42, 0); +x_180 = lean_ctor_get(x_42, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_42); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +} +} +} +else +{ +uint8_t x_182; +lean_dec(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_7); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_182 = !lean_is_exclusive(x_16); +if (x_182 == 0) +{ +return x_16; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_16, 0); +x_184 = lean_ctor_get(x_16, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_16); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structure"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2; +x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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) { _start: { lean_object* x_16; @@ -16696,73 +17601,73 @@ lean_inc(x_9); x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(x_8, x_1, x_2, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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_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); -x_213 = lean_ctor_get(x_13, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_13, 1); -lean_inc(x_214); -x_215 = lean_ctor_get(x_13, 2); -lean_inc(x_215); -x_216 = lean_ctor_get(x_13, 3); -lean_inc(x_216); -x_217 = lean_ctor_get(x_13, 4); -lean_inc(x_217); -x_218 = lean_ctor_get(x_13, 5); -lean_inc(x_218); -x_219 = lean_ctor_get(x_13, 6); -lean_inc(x_219); -x_220 = lean_ctor_get(x_13, 7); -lean_inc(x_220); -x_221 = l_Lean_replaceRef(x_4, x_216); -lean_dec(x_216); -x_222 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_222, 0, x_213); -lean_ctor_set(x_222, 1, x_214); -lean_ctor_set(x_222, 2, x_215); -lean_ctor_set(x_222, 3, x_221); -lean_ctor_set(x_222, 4, x_217); -lean_ctor_set(x_222, 5, x_218); -lean_ctor_set(x_222, 6, x_219); -lean_ctor_set(x_222, 7, x_220); +x_48 = lean_ctor_get(x_13, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_13, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_13, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_13, 3); +lean_inc(x_51); +x_52 = lean_ctor_get(x_13, 4); +lean_inc(x_52); +x_53 = lean_ctor_get(x_13, 5); +lean_inc(x_53); +x_54 = lean_ctor_get(x_13, 6); +lean_inc(x_54); +x_55 = lean_ctor_get(x_13, 7); +lean_inc(x_55); +x_56 = l_Lean_replaceRef(x_4, x_51); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_57, 0, x_48); +lean_ctor_set(x_57, 1, x_49); +lean_ctor_set(x_57, 2, x_50); +lean_ctor_set(x_57, 3, x_56); +lean_ctor_set(x_57, 4, x_52); +lean_ctor_set(x_57, 5, x_53); +lean_ctor_set(x_57, 6, x_54); +lean_ctor_set(x_57, 7, x_55); if (x_6 == 0) { -lean_object* x_223; +lean_object* x_58; lean_inc(x_14); -lean_inc(x_222); +lean_inc(x_57); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); lean_inc(x_7); -x_223 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_222, x_14, x_18); -if (lean_obj_tag(x_223) == 0) +x_58 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_57, x_14, x_18); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); lean_inc(x_9); -x_226 = l_Lean_Elab_Command_checkResultingUniverse(x_224, x_9, x_10, x_11, x_12, x_222, x_14, x_225); -lean_dec(x_222); -if (lean_obj_tag(x_226) == 0) +x_61 = l_Lean_Elab_Command_checkResultingUniverse(x_59, x_9, x_10, x_11, x_12, x_57, x_14, x_60); +lean_dec(x_57); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_227; -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -lean_dec(x_226); +lean_object* x_62; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); x_19 = x_7; -x_20 = x_227; -goto block_212; +x_20 = x_62; +goto block_47; } else { -uint8_t x_228; +uint8_t x_63; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -16774,1073 +17679,84 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_228 = !lean_is_exclusive(x_226); -if (x_228 == 0) +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -return x_226; +return x_61; } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_226, 0); -x_230 = lean_ctor_get(x_226, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_226); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -return x_231; -} -} -} -else -{ -uint8_t x_232; -lean_dec(x_222); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_232 = !lean_is_exclusive(x_223); -if (x_232 == 0) -{ -return x_223; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_233 = lean_ctor_get(x_223, 0); -x_234 = lean_ctor_get(x_223, 1); -lean_inc(x_234); -lean_inc(x_233); -lean_dec(x_223); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_233); -lean_ctor_set(x_235, 1, x_234); -return x_235; -} -} -} -else -{ -lean_object* x_236; -lean_inc(x_14); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_9); -x_236 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_222, x_14, x_18); -if (lean_obj_tag(x_236) == 0) -{ -lean_object* x_237; lean_object* x_238; -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_19 = x_237; -x_20 = x_238; -goto block_212; -} -else -{ -uint8_t x_239; -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_239 = !lean_is_exclusive(x_236); -if (x_239 == 0) -{ -return x_236; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_236, 0); -x_241 = lean_ctor_get(x_236, 1); -lean_inc(x_241); -lean_inc(x_240); -lean_dec(x_236); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_240); -lean_ctor_set(x_242, 1, x_241); -return x_242; -} -} -} -block_212: -{ -lean_object* x_21; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_193 = lean_st_ref_get(x_14, x_20); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_194, 3); -lean_inc(x_195); -lean_dec(x_194); -x_196 = lean_ctor_get_uint8(x_195, sizeof(void*)*1); -lean_dec(x_195); -if (x_196 == 0) -{ -lean_object* x_197; -x_197 = lean_ctor_get(x_193, 1); -lean_inc(x_197); -lean_dec(x_193); -x_21 = x_197; -goto block_192; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_198 = lean_ctor_get(x_193, 1); -lean_inc(x_198); -lean_dec(x_193); -x_199 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; -x_200 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_199, x_9, x_10, x_11, x_12, x_13, x_14, x_198); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_unbox(x_201); -lean_dec(x_201); -if (x_202 == 0) -{ -lean_object* x_203; -x_203 = lean_ctor_get(x_200, 1); -lean_inc(x_203); -lean_dec(x_200); -x_21 = x_203; -goto block_192; -} -else -{ -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; -x_204 = lean_ctor_get(x_200, 1); -lean_inc(x_204); -lean_dec(x_200); -lean_inc(x_19); -x_205 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_205, 0, x_19); -x_206 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6; -x_207 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_205); -x_208 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4; -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 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_199, x_209, x_9, x_10, x_11, x_12, x_13, x_14, x_204); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_21 = x_211; -goto block_192; -} -} -block_192: -{ -lean_object* x_22; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_19); -x_22 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure(x_19, x_8, x_1, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_3, 2); -lean_inc(x_25); -x_26 = lean_ctor_get(x_3, 3); -lean_inc(x_26); -x_27 = l_Lean_Elab_sortDeclLevelParams(x_25, x_26, x_23); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = !lean_is_exclusive(x_13); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_13, 3); -x_33 = l_Lean_replaceRef(x_4, x_32); -lean_dec(x_32); -lean_ctor_set(x_13, 3, x_33); -x_34 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_35 = lean_ctor_get(x_13, 0); -x_36 = lean_ctor_get(x_13, 1); -x_37 = lean_ctor_get(x_13, 2); -x_38 = lean_ctor_get(x_13, 3); -x_39 = lean_ctor_get(x_13, 4); -x_40 = lean_ctor_get(x_13, 5); -x_41 = lean_ctor_get(x_13, 6); -x_42 = lean_ctor_get(x_13, 7); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_13); -x_43 = l_Lean_replaceRef(x_4, x_38); -lean_dec(x_38); -x_44 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_44, 0, x_35); -lean_ctor_set(x_44, 1, x_36); -lean_ctor_set(x_44, 2, x_37); -lean_ctor_set(x_44, 3, x_43); -lean_ctor_set(x_44, 4, x_39); -lean_ctor_set(x_44, 5, x_40); -lean_ctor_set(x_44, 6, x_41); -lean_ctor_set(x_44, 7, x_42); -x_45 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_30, x_9, x_10, x_11, x_12, x_44, x_14, x_24); -lean_dec(x_14); -lean_dec(x_44); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -return x_45; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_27, 0); -lean_inc(x_46); -lean_dec(x_27); -x_47 = l_Array_append___rarg(x_8, x_1); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_3); -x_48 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(x_3, x_46, x_47, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = 0; -x_52 = 1; -lean_inc(x_11); -lean_inc(x_47); -x_53 = l_Lean_Meta_mkForallFVars(x_47, x_19, x_51, x_52, x_11, x_12, x_13, x_14, x_50); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_56 = l_Lean_Meta_instantiateMVars(x_54, x_11, x_12, x_13, x_14, x_55); -if (lean_obj_tag(x_56) == 0) -{ -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; uint8_t x_66; lean_object* x_67; lean_object* x_68; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_3, 4); -lean_inc(x_59); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_49); -lean_ctor_set(x_61, 1, x_60); -lean_inc(x_59); -x_62 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_57); -lean_ctor_set(x_62, 2, x_61); -x_63 = lean_array_get_size(x_47); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_60); -x_65 = lean_ctor_get(x_3, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_61, 0); +x_65 = lean_ctor_get(x_61, 1); lean_inc(x_65); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*2 + 3); -lean_inc(x_63); -x_67 = lean_alloc_ctor(6, 3, 1); -lean_ctor_set(x_67, 0, x_46); -lean_ctor_set(x_67, 1, x_63); -lean_ctor_set(x_67, 2, x_64); -lean_ctor_set_uint8(x_67, sizeof(void*)*3, x_66); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_67); -x_68 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_58); -if (lean_obj_tag(x_68) == 0) +lean_inc(x_64); +lean_dec(x_61); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +else { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_68, 1); +uint8_t x_67; +lean_dec(x_57); +lean_dec(x_17); +lean_dec(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_5); +lean_dec(x_3); +x_67 = !lean_is_exclusive(x_58); +if (x_67 == 0) +{ +return x_58; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_58, 0); +x_69 = lean_ctor_get(x_58, 1); lean_inc(x_69); -lean_dec(x_68); -lean_inc(x_13); -lean_inc(x_9); -x_70 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_69); -lean_dec(x_67); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_array_get_size(x_17); -x_73 = lean_unsigned_to_nat(0u); -x_74 = lean_nat_dec_lt(x_73, x_72); -x_75 = lean_ctor_get_uint8(x_3, sizeof(void*)*11); -lean_dec(x_3); -if (x_74 == 0) -{ -lean_inc(x_5); -x_76 = x_5; -goto block_163; -} -else -{ -uint8_t x_164; -x_164 = lean_nat_dec_le(x_72, x_72); -if (x_164 == 0) -{ -lean_inc(x_5); -x_76 = x_5; -goto block_163; -} -else -{ -size_t x_165; size_t x_166; lean_object* x_167; -x_165 = 0; -x_166 = lean_usize_of_nat(x_72); -lean_inc(x_5); -x_167 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_17, x_165, x_166, x_5); -x_76 = x_167; -goto block_163; -} -} -block_163: -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_array_to_list(lean_box(0), x_76); -x_78 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_77); -lean_inc(x_13); -lean_inc(x_9); -lean_inc(x_59); -x_79 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_59, x_78, x_75, x_9, x_10, x_11, x_12, x_13, x_14, x_71); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -lean_inc(x_13); -lean_inc(x_9); -x_81 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_59, x_9, x_10, x_11, x_12, x_13, x_14, x_80); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -if (x_74 == 0) -{ -lean_inc(x_5); -x_83 = x_5; -x_84 = x_82; -goto block_144; -} -else -{ -uint8_t x_145; -x_145 = lean_nat_dec_le(x_72, x_72); -if (x_145 == 0) -{ -lean_inc(x_5); -x_83 = x_5; -x_84 = x_82; -goto block_144; -} -else -{ -size_t x_146; size_t x_147; lean_object* x_148; -x_146 = 0; -x_147 = lean_usize_of_nat(x_72); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_5); -x_148 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_17, x_146, x_147, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -if (lean_obj_tag(x_148) == 0) -{ -lean_object* x_149; lean_object* x_150; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_83 = x_149; -x_84 = x_150; -goto block_144; -} -else -{ -uint8_t x_151; -lean_dec(x_72); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_59); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -x_151 = !lean_is_exclusive(x_148); -if (x_151 == 0) -{ -return x_148; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_148, 0); -x_153 = lean_ctor_get(x_148, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_148); -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; -} -} -} -} -block_144: -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; -x_85 = lean_array_to_list(lean_box(0), x_83); -x_86 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(x_85); -x_87 = lean_ctor_get(x_65, 1); -lean_inc(x_87); -lean_dec(x_65); -x_88 = 0; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_9); -x_89 = l_Lean_Elab_Term_applyAttributesAt(x_59, x_87, x_88, x_9, x_10, x_11, x_12, x_13, x_14, x_84); -lean_dec(x_87); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_91 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(x_86, x_9, x_10, x_11, x_12, x_13, x_14, x_90); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; size_t x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_ctor_get(x_11, 1); -lean_inc(x_93); -x_94 = 0; -if (x_74 == 0) -{ -x_95 = x_5; -goto block_132; -} -else -{ -uint8_t x_133; -x_133 = lean_nat_dec_le(x_72, x_72); -if (x_133 == 0) -{ -x_95 = x_5; -goto block_132; -} -else -{ -size_t x_134; lean_object* x_135; -x_134 = lean_usize_of_nat(x_72); -x_135 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_17, x_94, x_134, x_5); -x_95 = x_135; -goto block_132; -} -} -block_132: -{ -lean_object* x_96; size_t 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_96 = lean_array_get_size(x_95); -x_97 = lean_usize_of_nat(x_96); -lean_dec(x_96); -x_98 = x_95; -x_99 = lean_box_usize(x_97); -x_100 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; -x_101 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed), 10, 3); -lean_closure_set(x_101, 0, x_99); -lean_closure_set(x_101, 1, x_100); -lean_closure_set(x_101, 2, x_98); -x_102 = x_101; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_103 = lean_apply_7(x_102, x_9, x_10, x_11, x_12, x_13, x_14, x_92); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_nat_dec_lt(x_73, x_63); -if (x_106 == 0) -{ -lean_dec(x_63); -lean_dec(x_47); -if (x_74 == 0) -{ -lean_object* x_107; -lean_dec(x_72); -lean_dec(x_17); -x_107 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_93, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_107; -} -else -{ -uint8_t x_108; -x_108 = lean_nat_dec_le(x_72, x_72); -if (x_108 == 0) -{ -lean_object* x_109; -lean_dec(x_72); -lean_dec(x_17); -x_109 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_93, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_109; -} -else -{ -size_t x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_usize_of_nat(x_72); -lean_dec(x_72); -x_111 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_94, x_110, x_93); -lean_dec(x_17); -x_112 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_111, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_112; -} -} -} -else -{ -uint8_t x_113; -x_113 = lean_nat_dec_le(x_63, x_63); -if (x_113 == 0) -{ -lean_dec(x_63); -lean_dec(x_47); -if (x_74 == 0) -{ -lean_object* x_114; -lean_dec(x_72); -lean_dec(x_17); -x_114 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_93, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_114; -} -else -{ -uint8_t x_115; -x_115 = lean_nat_dec_le(x_72, x_72); -if (x_115 == 0) -{ -lean_object* x_116; -lean_dec(x_72); -lean_dec(x_17); -x_116 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_93, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_116; -} -else -{ -size_t x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_usize_of_nat(x_72); -lean_dec(x_72); -x_118 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_94, x_117, x_93); -lean_dec(x_17); -x_119 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_118, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_119; -} -} -} -else -{ -size_t x_120; lean_object* x_121; -x_120 = lean_usize_of_nat(x_63); -lean_dec(x_63); -x_121 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_47, x_94, x_120, x_93); -lean_dec(x_47); -if (x_74 == 0) -{ -lean_object* x_122; -lean_dec(x_72); -lean_dec(x_17); -x_122 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_121, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_122; -} -else -{ -uint8_t x_123; -x_123 = lean_nat_dec_le(x_72, x_72); -if (x_123 == 0) -{ -lean_object* x_124; -lean_dec(x_72); -lean_dec(x_17); -x_124 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_121, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_124; -} -else -{ -size_t x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_usize_of_nat(x_72); -lean_dec(x_72); -x_126 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_94, x_125, x_121); -lean_dec(x_17); -x_127 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_126, x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_105); -return x_127; -} -} -} -} -} -else -{ -uint8_t x_128; -lean_dec(x_93); -lean_dec(x_72); -lean_dec(x_63); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_128 = !lean_is_exclusive(x_103); -if (x_128 == 0) -{ -return x_103; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_103, 0); -x_130 = lean_ctor_get(x_103, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_103); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -} -else -{ -uint8_t x_136; -lean_dec(x_72); -lean_dec(x_63); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -x_136 = !lean_is_exclusive(x_91); -if (x_136 == 0) -{ -return x_91; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_91, 0); -x_138 = lean_ctor_get(x_91, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_91); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; -} -} -} -else -{ -uint8_t x_140; -lean_dec(x_86); -lean_dec(x_72); -lean_dec(x_63); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -x_140 = !lean_is_exclusive(x_89); -if (x_140 == 0) -{ -return x_89; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_89, 0); -x_142 = lean_ctor_get(x_89, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_89); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; -} -} -} -} -else -{ -uint8_t x_155; -lean_dec(x_72); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_59); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -x_155 = !lean_is_exclusive(x_81); -if (x_155 == 0) -{ -return x_81; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_81, 0); -x_157 = lean_ctor_get(x_81, 1); -lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_81); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -return x_158; -} -} -} -else -{ -uint8_t x_159; -lean_dec(x_72); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_59); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -x_159 = !lean_is_exclusive(x_79); -if (x_159 == 0) -{ -return x_79; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_79, 0); -x_161 = lean_ctor_get(x_79, 1); -lean_inc(x_161); -lean_inc(x_160); -lean_dec(x_79); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -return x_162; -} -} -} -} -else -{ -uint8_t x_168; -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_59); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_168 = !lean_is_exclusive(x_70); -if (x_168 == 0) -{ +lean_inc(x_68); +lean_dec(x_58); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); return x_70; } -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_70, 0); -x_170 = lean_ctor_get(x_70, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_70); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} -else -{ -uint8_t x_172; -lean_dec(x_67); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_59); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_172 = !lean_is_exclusive(x_68); -if (x_172 == 0) -{ -return x_68; -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_68, 0); -x_174 = lean_ctor_get(x_68, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_68); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; -} -} -} -else -{ -uint8_t x_176; -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_176 = !lean_is_exclusive(x_56); -if (x_176 == 0) -{ -return x_56; -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_56, 0); -x_178 = lean_ctor_get(x_56, 1); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_56); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; -} -} -} -else -{ -uint8_t x_180; -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_180 = !lean_is_exclusive(x_53); -if (x_180 == 0) -{ -return x_53; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_53, 0); -x_182 = lean_ctor_get(x_53, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_53); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} -} -} -else -{ -uint8_t x_184; -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(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_5); -lean_dec(x_3); -x_184 = !lean_is_exclusive(x_48); -if (x_184 == 0) -{ -return x_48; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_48, 0); -x_186 = lean_ctor_get(x_48, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_48); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; -} -} } } else { -uint8_t x_188; -lean_dec(x_19); +lean_object* x_71; +lean_inc(x_14); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_9); +x_71 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_57, x_14, x_18); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_19 = x_72; +x_20 = x_73; +goto block_47; +} +else +{ +uint8_t x_74; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -17851,31 +17767,108 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); -x_188 = !lean_is_exclusive(x_22); -if (x_188 == 0) +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) { -return x_22; +return x_71; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_189 = lean_ctor_get(x_22, 0); -x_190 = lean_ctor_get(x_22, 1); -lean_inc(x_190); -lean_inc(x_189); -lean_dec(x_22); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -return x_191; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_71, 0); +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_71); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } +block_47: +{ +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_21 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4; +x_36 = lean_st_ref_get(x_14, x_20); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_22 = x_41; +x_23 = x_40; +goto block_35; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_22 = x_46; +x_23 = x_45; +goto block_35; +} +block_35: +{ +if (x_22 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(x_19, x_8, x_1, x_17, x_3, x_4, x_5, x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +lean_dec(x_17); +return x_25; +} +else +{ +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_inc(x_19); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_19); +x_27 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_21, x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +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_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(x_19, x_8, x_1, x_17, x_3, x_4, x_5, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_33); +lean_dec(x_32); +lean_dec(x_17); +return x_34; +} +} } } else { -uint8_t x_243; +uint8_t x_78; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -17886,28 +17879,28 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_243 = !lean_is_exclusive(x_16); -if (x_243 == 0) +x_78 = !lean_is_exclusive(x_16); +if (x_78 == 0) { return x_16; } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_16, 0); -x_245 = lean_ctor_get(x_16, 1); -lean_inc(x_245); -lean_inc(x_244); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_16, 0); +x_80 = lean_ctor_get(x_16, 1); +lean_inc(x_80); +lean_inc(x_79); lean_dec(x_16); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; +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; } } } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; lean_object* x_15; @@ -17957,7 +17950,7 @@ x_24 = lean_ctor_get(x_2, 6); lean_inc(x_24); lean_inc(x_5); lean_inc(x_24); -x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed), 15, 7); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___boxed), 15, 7); lean_closure_set(x_25, 0, x_24); lean_closure_set(x_25, 1, x_5); lean_closure_set(x_25, 2, x_2); @@ -18074,11 +18067,11 @@ return x_38; } } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2), 12, 4); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3), 12, 4); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_2); lean_closure_set(x_14, 2, x_3); @@ -18088,7 +18081,7 @@ x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg(x_ return x_16; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -18097,7 +18090,7 @@ lean_inc(x_12); x_13 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; lean_inc(x_12); lean_inc(x_1); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3), 13, 5); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4), 13, 5); lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_1); lean_closure_set(x_14, 2, x_12); @@ -18306,7 +18299,7 @@ else lean_object* x_22; lean_object* x_23; lean_dec(x_11); x_22 = lean_box(0); -x_23 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(x_1, x_13, x_9, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +x_23 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5(x_1, x_13, x_9, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_14); return x_23; } } @@ -18469,20 +18462,32 @@ return x_15; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { +lean_object* x_16; +x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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, lean_object* x_14, lean_object* x_15) { +_start: +{ uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_6); lean_dec(x_6); -x_17 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_4); lean_dec(x_1); return x_17; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5(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_4); return x_12; } @@ -18642,7 +18647,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -18697,7 +18702,7 @@ else { lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_8, x_2, x_3, x_4); +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_8, x_2, x_3, x_4); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -21333,11 +21338,11 @@ lean_dec(x_8); return x_15; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5119_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5191_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; +x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -21701,20 +21706,20 @@ l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Comman lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___closed__2(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___closed__2); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__1); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__2); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__3); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__4); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__5); +l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2___closed__6); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__2(); @@ -21775,7 +21780,7 @@ l_Lean_Elab_Command_elabStructure___closed__9 = _init_l_Lean_Elab_Command_elabSt lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__9); l_Lean_Elab_Command_elabStructure___closed__10 = _init_l_Lean_Elab_Command_elabStructure___closed__10(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__10); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5119_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5191_(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/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index e7461ce71a..42e7b79e2d 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -16,171 +16,102 @@ extern "C" { static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__9; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; lean_object* l_Lean_Elab_Term_toParserDescr_processUnary(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___rarg(lean_object*); -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__86; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1; size_t l_USize_add(size_t, size_t); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__4; lean_object* l_Lean_Elab_Command_resolveSyntaxKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___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*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; -static lean_object* l_Lean_Elab_Command_expandNotation___closed__1; static lean_object* l_Lean_Elab_Command_resolveSyntaxKind___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__8; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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_stringToMessageData(lean_object*); -extern lean_object* l_String_instInhabitedString; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; static lean_object* l_Lean_Elab_Command_resolveSyntaxKind___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___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_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___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_Command_expandMacro___lambda__2___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__7; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__18; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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*); static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_object* l_Lean_Elab_Command_elabElabRules___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*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__12; +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; -lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; extern lean_object* l_Lean_nullKind; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__20; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__6; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; extern lean_object* l_Lean_Parser_leadPrec; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__19; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___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*); uint8_t l_USize_decEq(size_t, size_t); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__14; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__1; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_object* lean_io_error_to_string(lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; -static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__6; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9(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_elabMacroRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___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*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__88; -lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__72; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__2; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; -lean_object* l_Lean_Elab_Command_expandMixfix___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*); uint8_t l_Lean_Parser_leadingIdentBehavior(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__60; +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__74; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__2; -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; -uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__16; -lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Command_checkRuleKind___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; @@ -188,260 +119,150 @@ lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1(lean_obje lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__3; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__76; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__14; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; -lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__9; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__91; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__78; uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__5; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__11; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved(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_elabElabRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__22; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_mkAntiquotSuffixSpliceNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__15; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__2; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; lean_object* l_Lean_Elab_Command_elabSyntax___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*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; lean_object* lean_array_get_size(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___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_string_append(lean_object*, lean_object*); lean_object* lean_string_utf8_set(lean_object*, lean_object*, uint32_t); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__10; -static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(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_expandNotation___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); uint8_t l_Char_isWhitespace(uint32_t); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst(lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__40; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; lean_object* l_String_mapAux___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__25; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__10; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__80; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__6; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__36; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(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_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkRuleKind___closed__1; uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -static lean_object* l_Lean_Elab_Command_expandMacro___closed__1; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +uint8_t l_Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__1; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(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_Elab_Command_elabSyntax___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1___boxed__const__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__18; -lean_object* l_Lean_Elab_Command_expandElab___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__84; -lean_object* l_Lean_Elab_Command_expandElab___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*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__3___closed__1; +lean_object* l_Lean_Elab_Command_checkRuleKind___boxed(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__6; lean_object* l_List_filterMap___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__11(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__25; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__37; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__70; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object*, lean_object*, lean_object*, 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_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__42; lean_object* l_Lean_Elab_Command_elabSyntax_match__2(lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_object* l_Lean_Elab_Command_elabElabRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__4; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___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* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__2(size_t, size_t, 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_expandElab___lambda__2___boxed(lean_object**); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__9; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__13; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__1; lean_object* l_Lean_Elab_Term_checkLeftRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; extern lean_object* l_Lean_LocalContext_empty; -lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; -lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__6; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__65; lean_object* l_Lean_Elab_Term_expandOptPrecedence___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; -lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__9; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__8; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__7; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; -lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__17; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__67; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__4; -lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__4; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; -lean_object* l_Lean_Elab_Command_expandElab___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*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__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_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___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*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___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*); -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__5; lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__7; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__13; -lean_object* l_Lean_Elab_Command_expandElab___lambda__4___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_Command_elabElabRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__17; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRules___closed__1; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__8; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; -lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__11; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; @@ -450,104 +271,58 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__82; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; -uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__8; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__14; -extern lean_object* l_Lean_strLitKind; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax(lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__19; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___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_Command_mkSimpleDelab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_processSeq___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*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__12; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3; -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; lean_object* l_String_capitalize(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499_(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__3(lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__16; lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__13; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__7; -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__14; -lean_object* l_Lean_Elab_Command_withExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__1(lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7; -static lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__18; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__15; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_strLitToPattern___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__5; +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___closed__2; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__14; static lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -555,20 +330,12 @@ lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__64; lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; -lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName(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_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); @@ -576,120 +343,74 @@ lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57; static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__83; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__7; static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__2; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__16; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___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*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__6; -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__10; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__1; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3; -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__12; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser_match__1(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__68; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__24; -lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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*); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__87; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___lambda__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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__12; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__10; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom_match__1(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___rarg(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__20; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__5; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; lean_object* l_Lean_Elab_Command_elabSyntax___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_ConstantInfo_type(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__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*); @@ -697,186 +418,113 @@ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10___boxed(lean_object*, l lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__6; static lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__2; -static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__2; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__10; -uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__1; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(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_toParserDescr_resolveParserName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; -lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___closed__1; lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__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*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__7; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___boxed(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_toParserDescr_processSeq___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* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureUnaryParserAlias(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43; +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__15; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; lean_object* l_Lean_Syntax_getQuotContent(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; -static lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); uint8_t l_Lean_Name_isStr(lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__4; +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__69; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__11; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__14; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__3; -lean_object* l_Lean_Elab_Command_expandMacro___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*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__59; -lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__6; -extern lean_object* l_Lean_Elab_macroAttribute; -lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__2; -lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___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_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___rarg(lean_object*); +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__5; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___boxed(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___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*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_checkLeftRec___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*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax___boxed(lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser(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_toParserDescr_processUnary___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_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__3; static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__15; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__90; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__5; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__3; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__3; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(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_toParserDescr_processNullaryOrCat_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; -lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___boxed(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_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__26; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__4; -lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(uint8_t, uint8_t); +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439_(uint8_t, uint8_t); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___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_checkLeftRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__7; -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__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*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__9; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -885,324 +533,189 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__75; -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__7; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__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*); -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___closed__2; -lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__7; lean_object* l_Lean_Parser_isParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__6; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; static lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1; lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__17; -lean_object* l_Lean_Elab_Command_expandMacro___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* l_Lean_Elab_Command_expandMixfix___lambda__11___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_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__12; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__16; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2; lean_object* l_Lean_Name_getPrefix(lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRules(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__3; -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__35; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__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_Lean_Elab_Command_withExpectedType_match__1(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_elabSyntax_match__3(lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__6; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__38; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__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_Elab_Command_expandNotation___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__1; -lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptPrecedence(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__9; lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__10; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__16; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__18; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___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_Lean_Elab_Term_toParserDescr_processBinary(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_elabElabRules___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__15; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___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_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__2; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__5; static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -extern lean_object* l_Lean_Elab_mkAttrKindGlobal; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__14; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureBinaryParserAlias(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__6; -lean_object* l_Lean_Elab_Command_expandMacro___lambda__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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___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_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__8; -lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__2; -lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__11; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__3(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___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_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__77; -static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; -lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__10(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*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__1(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__2(lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__11; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(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_expandNoKindMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__79; lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__17; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9(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*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__66; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__85; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(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_Syntax_matchesIdent(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__2; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy(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_inferMacroRulesAltKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processBinary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__24; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__17; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__11; -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__63; -lean_object* l_Lean_Elab_Command_expandElab___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__13; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__2; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat_match__1(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7(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_Command_mkSimpleDelab___spec__4(lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__12; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___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* l_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__6; -lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__71; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; +static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElabRules___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*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___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*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; -uint8_t l_Lean_Syntax_isIdent(lean_object*); -static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; lean_object* l_Lean_Elab_Term_expandOptPrecedence(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -5260,7 +4773,7 @@ lean_inc(x_15); lean_dec(x_13); x_62 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); x_63 = 0; -x_64 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(x_62, x_63); +x_64 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439_(x_62, x_63); if (x_64 == 0) { uint8_t x_65; @@ -14113,6 +13626,7 @@ else { lean_object* x_260; lean_object* x_261; lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_260 = lean_box(0); x_261 = lean_alloc_ctor(0, 2, 0); @@ -14122,15 +13636,6 @@ return x_261; } } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -14180,12 +13685,13 @@ if (x_21 == 0) lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_22 = lean_ctor_get(x_15, 0); x_23 = lean_ctor_get(x_2, 6); +lean_inc(x_23); +lean_dec(x_2); x_24 = lean_io_error_to_string(x_22); x_25 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_25, 0, x_24); x_26 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_26, 0, x_25); -lean_inc(x_23); x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_23); lean_ctor_set(x_27, 1, x_26); @@ -14201,12 +13707,13 @@ lean_inc(x_29); lean_inc(x_28); lean_dec(x_15); x_30 = lean_ctor_get(x_2, 6); +lean_inc(x_30); +lean_dec(x_2); x_31 = lean_io_error_to_string(x_28); x_32 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_32, 0, x_31); x_33 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_33, 0, x_32); -lean_inc(x_30); x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_30); lean_ctor_set(x_34, 1, x_33); @@ -14223,7 +13730,6 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_Command_elabDeclareSyntaxCat(x_1, x_2, x_3, x_4); -lean_dec(x_2); lean_dec(x_1); return x_5; } @@ -15248,7 +14754,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -15309,7 +14815,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -15568,7 +15074,7 @@ x_54 = lean_ctor_get(x_45, 1); lean_inc(x_54); lean_dec(x_45); x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_55, x_2, x_3, x_53); lean_dec(x_2); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -15629,7 +15135,7 @@ x_72 = lean_ctor_get(x_45, 1); lean_inc(x_72); lean_dec(x_45); x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(x_73, x_2, x_3, x_71); lean_dec(x_2); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); @@ -15702,7 +15208,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_2, x_3, x_4, x_8); return x_12; } else @@ -15729,7 +15235,7 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_2, x_19, x_4, x_8); return x_20; } } @@ -15977,99 +15483,48 @@ return x_3; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_24 = lean_st_ref_get(x_4, x_5); -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_ctor_get(x_25, 2); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_27); -lean_dec(x_27); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; -x_31 = l_Lean_checkTraceOption(x_29, x_30); -lean_dec(x_29); -if (x_31 == 0) +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_7, 2); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_9); +lean_dec(x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; +x_13 = l_Lean_checkTraceOption(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) { -x_6 = x_26; -goto block_23; +lean_object* x_14; lean_object* x_15; +lean_inc(x_2); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_14, 0, x_2); +x_15 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_2, x_14, x_3, x_4, x_8); +return x_15; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_inc(x_2); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_2); -x_33 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_30, x_32, x_3, x_4, x_26); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_6 = x_34; -goto block_23; -} -block_23: -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 4); -lean_inc(x_2); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -lean_ctor_set(x_3, 4, x_10); -x_11 = l_Lean_Elab_Command_elabCommand(x_2, x_3, x_4, x_6); -lean_dec(x_3); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -x_14 = lean_ctor_get(x_3, 2); -x_15 = lean_ctor_get(x_3, 3); -x_16 = lean_ctor_get(x_3, 4); -x_17 = lean_ctor_get(x_3, 5); -x_18 = lean_ctor_get(x_3, 6); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_2); +x_17 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(x_12, x_16, x_3, x_4, x_8); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_3); +lean_dec(x_17); lean_inc(x_2); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_2); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_16); -x_21 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_21, 0, x_12); -lean_ctor_set(x_21, 1, x_13); -lean_ctor_set(x_21, 2, x_14); -lean_ctor_set(x_21, 3, x_15); -lean_ctor_set(x_21, 4, x_20); -lean_ctor_set(x_21, 5, x_17); -lean_ctor_set(x_21, 6, x_18); -x_22 = l_Lean_Elab_Command_elabCommand(x_2, x_21, x_4, x_6); -lean_dec(x_21); -return x_22; -} +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_19, 0, x_2); +x_20 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_2, x_19, x_3, x_4, x_18); +return x_20; } } } @@ -17777,7 +17232,7 @@ x_17 = l_Lean_Syntax_getArg(x_1, x_16); x_18 = l_Lean_Syntax_getArgs(x_17); lean_dec(x_17); x_19 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1; -x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_18, x_19); +x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__1(x_18, x_19); lean_dec(x_18); if (lean_obj_tag(x_20) == 0) { @@ -18918,7 +18373,7 @@ lean_inc(x_2); x_15 = l_Lean_Elab_Command_liftTermElabM___rarg(x_7, x_14, x_2, x_3, x_10); if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 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; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -18940,265 +18395,211 @@ x_23 = l_Lean_Syntax_getId(x_6); lean_inc(x_23); x_24 = l_Lean_Name_append(x_22, x_23); lean_dec(x_22); -x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_2, x_3, x_21); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_46); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_45); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_45); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_45); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__16; -lean_inc(x_48); -lean_inc(x_51); -x_58 = l_Lean_addMacroScope(x_51, x_57, x_48); -x_59 = lean_box(0); -x_60 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -x_61 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; -lean_inc(x_45); -x_62 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_62, 0, x_45); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_58); -lean_ctor_set(x_62, 3, x_61); -x_63 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_64 = lean_array_push(x_63, x_56); -x_65 = lean_array_push(x_64, x_62); -x_66 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_69 = lean_array_push(x_68, x_67); -x_70 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_73 = lean_array_push(x_72, x_71); -x_74 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_45); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_45); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__13; -x_79 = l_Lean_addMacroScope(x_51, x_78, x_48); -x_80 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__11; -x_81 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__16; -x_82 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_82, 0, x_45); -lean_ctor_set(x_82, 1, x_80); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_81); -x_83 = 1; -x_84 = l_Lean_Name_toString(x_23, x_83); -x_85 = lean_box(2); -x_86 = l_Lean_Syntax_mkStrLit(x_84, x_85); -lean_dec(x_84); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_2, x_3, x_21); +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_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, 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 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_30); +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_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_26); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_34); +x_36 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_26); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__16; +lean_inc(x_29); +lean_inc(x_32); +x_39 = l_Lean_addMacroScope(x_32, x_38, x_29); +x_40 = lean_box(0); +x_41 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; +x_42 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; +lean_inc(x_26); +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_26); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_43, 2, x_39); +lean_ctor_set(x_43, 3, x_42); +x_44 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_45 = lean_array_push(x_44, x_37); +x_46 = lean_array_push(x_45, x_43); +x_47 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_54 = lean_array_push(x_53, x_52); +x_55 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_26); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_26); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__13; +x_60 = l_Lean_addMacroScope(x_32, x_59, x_29); +x_61 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__11; +x_62 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__16; +x_63 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_63, 0, x_26); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_60); +lean_ctor_set(x_63, 3, x_62); +x_64 = 1; +x_65 = l_Lean_Name_toString(x_23, x_64); +x_66 = lean_box(2); +x_67 = l_Lean_Syntax_mkStrLit(x_65, x_66); +lean_dec(x_65); lean_inc(x_24); -x_87 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_59, x_24); -x_88 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_89 = lean_array_push(x_88, x_86); -x_90 = lean_array_push(x_63, x_82); -x_91 = lean_array_push(x_88, x_77); -x_92 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_93 = lean_array_push(x_92, x_54); -x_94 = lean_array_push(x_93, x_6); -x_95 = lean_array_push(x_94, x_75); -if (lean_obj_tag(x_87) == 0) +x_68 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_40, x_24); +x_69 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_70 = lean_array_push(x_69, x_67); +x_71 = lean_array_push(x_44, x_63); +x_72 = lean_array_push(x_69, x_58); +x_73 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_74 = lean_array_push(x_73, x_35); +x_75 = lean_array_push(x_74, x_6); +x_76 = lean_array_push(x_75, x_56); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_96 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); -x_97 = lean_array_push(x_89, x_96); -x_98 = lean_array_push(x_97, x_18); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_70); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_90, x_99); -x_101 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_array_push(x_91, x_102); -x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_105 = lean_array_push(x_103, x_104); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_77 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); +x_78 = lean_array_push(x_70, x_77); +x_79 = lean_array_push(x_78, x_18); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_51); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_71, x_80); +x_82 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___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_72, x_83); +x_85 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_86 = lean_array_push(x_84, x_85); +x_87 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +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_76, x_88); +x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +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_Lean_Elab_Command_elabSyntaxAbbrev___closed__17; +x_93 = lean_array_push(x_92, x_91); +x_94 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +lean_inc(x_95); +x_96 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_96, 0, x_95); +x_97 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_95, x_96, x_2, x_3, x_33); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_24); +x_98 = lean_ctor_get(x_68, 0); +lean_inc(x_98); +lean_dec(x_68); +x_99 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_100 = l_String_intercalate(x_99, x_98); +x_101 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_102 = lean_string_append(x_101, x_100); +lean_dec(x_100); +x_103 = l_Lean_nameLitKind; +x_104 = l_Lean_Syntax_mkLit(x_103, x_102, x_66); +x_105 = lean_array_push(x_49, x_104); +x_106 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); -x_108 = lean_array_push(x_95, x_107); -x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_108 = lean_array_push(x_70, x_107); +x_109 = lean_array_push(x_108, x_18); 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_Elab_Command_elabSyntaxAbbrev___closed__17; -x_112 = lean_array_push(x_111, x_110); -x_113 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -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_25 = x_114; -x_26 = x_52; -goto block_43; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_24); -x_115 = lean_ctor_get(x_87, 0); -lean_inc(x_115); -lean_dec(x_87); -x_116 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_117 = l_String_intercalate(x_116, x_115); -x_118 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_119 = lean_string_append(x_118, x_117); -lean_dec(x_117); -x_120 = l_Lean_nameLitKind; -x_121 = l_Lean_Syntax_mkLit(x_120, x_119, x_85); -x_122 = lean_array_push(x_68, x_121); -x_123 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_array_push(x_89, x_124); -x_126 = lean_array_push(x_125, x_18); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_70); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_90, x_127); -x_129 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -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_91, x_130); -x_132 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_133 = lean_array_push(x_131, x_132); -x_134 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = lean_array_push(x_95, x_135); -x_137 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__17; -x_140 = lean_array_push(x_139, x_138); -x_141 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_25 = x_142; -x_26 = x_52; -goto block_43; -} -block_43: -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_2); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_2, 4); -lean_inc(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_25); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_2, 4, x_30); -x_31 = l_Lean_Elab_Command_elabCommand(x_25, x_2, x_3, x_26); -lean_dec(x_2); -return x_31; -} -else -{ -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; -x_32 = lean_ctor_get(x_2, 0); -x_33 = lean_ctor_get(x_2, 1); -x_34 = lean_ctor_get(x_2, 2); -x_35 = lean_ctor_get(x_2, 3); -x_36 = lean_ctor_get(x_2, 4); -x_37 = lean_ctor_get(x_2, 5); -x_38 = lean_ctor_get(x_2, 6); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_2); -lean_inc(x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_25); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_36); -x_41 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_41, 0, x_32); -lean_ctor_set(x_41, 1, x_33); -lean_ctor_set(x_41, 2, x_34); -lean_ctor_set(x_41, 3, x_35); -lean_ctor_set(x_41, 4, x_40); -lean_ctor_set(x_41, 5, x_37); -lean_ctor_set(x_41, 6, x_38); -x_42 = l_Lean_Elab_Command_elabCommand(x_25, x_41, x_3, x_26); -lean_dec(x_41); -return x_42; -} +lean_ctor_set(x_110, 0, x_51); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_push(x_71, x_110); +x_112 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_72, x_113); +x_115 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_116 = lean_array_push(x_114, x_115); +x_117 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +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 = lean_array_push(x_76, x_118); +x_120 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = l_Lean_Elab_Command_elabSyntaxAbbrev___closed__17; +x_123 = lean_array_push(x_122, x_121); +x_124 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +lean_inc(x_125); +x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_126, 0, x_125); +x_127 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_125, x_126, x_2, x_3, x_33); +return x_127; } } else { -uint8_t x_143; +uint8_t x_128; lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_143 = !lean_is_exclusive(x_15); -if (x_143 == 0) +x_128 = !lean_is_exclusive(x_15); +if (x_128 == 0) { return x_15; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_15, 0); -x_145 = lean_ctor_get(x_15, 1); -lean_inc(x_145); -lean_inc(x_144); +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_15, 0); +x_130 = lean_ctor_get(x_15, 1); +lean_inc(x_130); +lean_inc(x_129); lean_dec(x_15); -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; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } } @@ -19269,7 +18670,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkRuleKind___closed__1() { _start: { lean_object* x_1; @@ -19277,17 +18678,17 @@ x_1 = lean_mk_string("antiquot"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkRuleKind___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; +x_2 = l_Lean_Elab_Command_checkRuleKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(lean_object* x_1, lean_object* x_2) { +uint8_t l_Lean_Elab_Command_checkRuleKind(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -19295,7 +18696,7 @@ x_3 = lean_name_eq(x_1, x_2); if (x_3 == 0) { lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2; +x_4 = l_Lean_Elab_Command_checkRuleKind___closed__2; x_5 = l_Lean_Name_append(x_2, x_4); x_6 = lean_name_eq(x_1, x_5); lean_dec(x_5); @@ -19309,1820 +18710,17 @@ return x_7; } } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_Command_checkRuleKind___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_1, x_2); +x_3 = l_Lean_Elab_Command_checkRuleKind(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_Elab_Command_elabMacroRulesAux_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_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRulesAux_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -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_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_2, x_3, x_4, x_8); -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; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = x_5 < x_4; -if (x_7 == 0) -{ -lean_inc(x_6); -return x_6; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_array_uget(x_3, x_5); -lean_inc(x_8); -x_9 = l_Lean_Syntax_getKind(x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_9, x_1); -lean_dec(x_9); -if (x_10 == 0) -{ -size_t x_11; size_t x_12; -lean_dec(x_8); -x_11 = 1; -x_12 = x_5 + x_11; -{ -size_t _tmp_4 = x_12; -lean_object* _tmp_5 = x_2; -x_5 = _tmp_4; -x_6 = _tmp_5; -} -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_8); -x_15 = lean_box(0); -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; -} -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(","); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid macro_rules alternative, unexpected syntax node kind '"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid macro_rules alternative, expected syntax node kind '"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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) { -_start: -{ -lean_object* x_11; lean_object* x_59; lean_object* x_60; uint8_t x_61; -lean_inc(x_1); -x_59 = l_Lean_Syntax_getQuotContent(x_1); -lean_inc(x_59); -x_60 = l_Lean_Syntax_getKind(x_59); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_60, x_5); -if (x_61 == 0) -{ -lean_object* x_62; uint8_t x_63; -x_62 = l_Lean_choiceKind; -x_63 = lean_name_eq(x_60, x_62); -if (x_63 == 0) -{ -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_dec(x_59); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_64 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_64, 0, x_60); -x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_68, x_8, x_9, x_10); -lean_dec(x_6); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_60); -x_70 = l_Lean_Syntax_getArgs(x_59); -lean_dec(x_59); -x_71 = lean_array_get_size(x_70); -x_72 = lean_usize_of_nat(x_71); -lean_dec(x_71); -x_73 = 0; -x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; -x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(x_5, x_74, x_70, x_72, x_73, x_74); -lean_dec(x_70); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -lean_dec(x_75); -if (lean_obj_tag(x_76) == 0) -{ -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_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_77 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_77, 0, x_5); -x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_81, x_8, x_9, x_10); -lean_dec(x_6); -return x_82; -} -else -{ -lean_object* x_83; -lean_dec(x_6); -lean_dec(x_5); -x_83 = lean_ctor_get(x_76, 0); -lean_inc(x_83); -lean_dec(x_76); -x_11 = x_83; -goto block_58; -} -} -} -else -{ -lean_object* x_84; -lean_dec(x_60); -lean_dec(x_59); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_6); -lean_ctor_set(x_84, 1, x_10); -return x_84; -} -block_58: -{ -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; uint8_t x_22; -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Syntax_setArg(x_1, x_12, x_11); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_set(x_2, x_14, x_13); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); -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); -x_19 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_18); -lean_dec(x_8); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -x_24 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_17); -x_25 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; -x_27 = l_Lean_Syntax_SepArray_ofElems(x_26, x_15); -lean_dec(x_15); -x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_29 = l_Array_append___rarg(x_28, x_27); -lean_dec(x_27); -x_30 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_35 = lean_array_push(x_34, x_25); -x_36 = lean_array_push(x_35, x_31); -x_37 = lean_array_push(x_36, x_33); -x_38 = lean_array_push(x_37, x_3); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_4); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_21, 0, x_39); -return x_21; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_40 = lean_ctor_get(x_21, 1); -lean_inc(x_40); -lean_dec(x_21); -x_41 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_17); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_17); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; -x_44 = l_Lean_Syntax_SepArray_ofElems(x_43, x_15); -lean_dec(x_15); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_46 = l_Array_append___rarg(x_45, x_44); -lean_dec(x_44); -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_17); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_52 = lean_array_push(x_51, x_42); -x_53 = lean_array_push(x_52, x_48); -x_54 = lean_array_push(x_53, x_50); -x_55 = lean_array_push(x_54, x_3); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_4); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_40); -return x_57; -} -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchAlt"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(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) { -_start: -{ -uint8_t x_8; -x_8 = x_3 < x_2; -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_1); -x_9 = x_4; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_7); -return x_10; -} -else -{ -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_array_uget(x_4, x_3); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_4, x_3, x_12); -x_14 = x_11; -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -lean_inc(x_14); -x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_7); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -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; uint8_t x_29; -x_22 = lean_unsigned_to_nat(1u); -x_23 = l_Lean_Syntax_getArg(x_14, x_22); -x_24 = lean_unsigned_to_nat(3u); -x_25 = l_Lean_Syntax_getArg(x_14, x_24); -x_26 = l_Lean_Syntax_getArgs(x_23); -lean_dec(x_23); -x_27 = l_Lean_instInhabitedSyntax; -x_28 = lean_array_get(x_27, x_26, x_12); -x_29 = l_Lean_Syntax_isQuot(x_28); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -lean_dec(x_28); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_7); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -return x_30; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_30); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_box(0); -lean_inc(x_5); -lean_inc(x_1); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = 1; -x_40 = x_3 + x_39; -x_41 = x_37; -x_42 = lean_array_uset(x_13, x_3, x_41); -x_3 = x_40; -x_4 = x_42; -x_7 = x_38; -goto _start; -} -else -{ -uint8_t x_44; -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_36); -if (x_44 == 0) -{ -return x_36; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_36, 0); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_36); -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; -} -} -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__24; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("declId"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("myMacro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -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_Lean_Elab_Command_elabMacroRulesAux___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Macro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___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_Lean_Elab_Command_elabMacroRulesAux___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__13; -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_Elab_Command_elabMacroRulesAux___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; -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_Lean_Elab_Command_elabMacroRulesAux___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fun"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchAlts"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("throw"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; -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_Lean_Elab_Command_elabMacroRulesAux___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("MonadExcept"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; -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_Elab_Command_elabMacroRulesAux___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; -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_Lean_Elab_Command_elabMacroRulesAux___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Macro.Exception.unsupportedSyntax"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -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_Lean_Elab_Command_elabMacroRulesAux___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Exception"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__13; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unsupportedSyntax"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -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_Elab_Command_elabMacroRulesAux___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; -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_Lean_Elab_Command_elabMacroRulesAux___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2 = l_Array_append___rarg(x_1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__40; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; size_t 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_8 = lean_array_get_size(x_4); -x_9 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_10 = x_4; -x_11 = lean_box_usize(x_9); -x_12 = l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; -lean_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed), 7, 4); -lean_closure_set(x_13, 0, x_3); -lean_closure_set(x_13, 1, x_11); -lean_closure_set(x_13, 2, x_12); -lean_closure_set(x_13, 3, x_10); -x_14 = x_13; -lean_inc(x_6); -lean_inc(x_5); -x_15 = lean_apply_3(x_14, x_5, x_6, x_7); -if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_5, x_6, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_20); -lean_dec(x_5); -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 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_23); -lean_dec(x_6); -x_25 = !lean_is_exclusive(x_24); -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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_26 = lean_ctor_get(x_24, 0); -x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_19); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_19); -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_19); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_mk_syntax_ident(x_3); -x_32 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_33 = lean_array_push(x_32, x_30); -x_34 = lean_array_push(x_33, x_31); -x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_array_push(x_32, x_2); -x_38 = lean_array_push(x_37, x_36); -x_39 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_19); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_19); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_48 = lean_array_push(x_47, x_28); -x_49 = lean_array_push(x_48, x_44); -x_50 = lean_array_push(x_49, x_46); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = lean_array_push(x_41, x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_43); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_19); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_19); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_22); -lean_inc(x_26); -x_58 = l_Lean_addMacroScope(x_26, x_57, x_22); -x_59 = lean_box(0); -x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_19); -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_19); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_58); -lean_ctor_set(x_61, 3, x_59); -x_62 = lean_array_push(x_32, x_61); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_64 = lean_array_push(x_62, x_63); -x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_19); -x_68 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_68, 0, x_19); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -lean_inc(x_22); -lean_inc(x_26); -x_70 = l_Lean_addMacroScope(x_26, x_69, x_22); -x_71 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_19); -x_73 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_73, 0, x_19); -lean_ctor_set(x_73, 1, x_71); -lean_ctor_set(x_73, 2, x_70); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_array_push(x_32, x_68); -x_75 = lean_array_push(x_74, x_73); -x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -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_41, x_77); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_43); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_81 = lean_array_push(x_80, x_79); -x_82 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_19); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_19); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_19); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_19); -lean_ctor_set(x_87, 1, x_86); -x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_89 = l_Array_append___rarg(x_88, x_16); -lean_dec(x_16); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_19); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_19); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_19); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_19); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_41, x_93); -x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_41, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_43); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_19); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_19); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -lean_inc(x_22); -lean_inc(x_26); -x_102 = l_Lean_addMacroScope(x_26, x_101, x_22); -x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_19); -x_105 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_105, 0, x_19); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_105, 2, x_102); -lean_ctor_set(x_105, 3, x_104); -x_106 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -x_107 = l_Lean_addMacroScope(x_26, x_106, x_22); -x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_109 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -x_110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_110, 0, x_19); -lean_ctor_set(x_110, 1, x_108); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_109); -x_111 = lean_array_push(x_41, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_43); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_32, x_105); -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_118 = lean_array_push(x_117, x_91); -x_119 = lean_array_push(x_118, x_98); -x_120 = lean_array_push(x_119, x_100); -x_121 = lean_array_push(x_120, x_116); -x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = lean_array_push(x_89, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_43); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_41, x_125); -x_127 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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_32, x_87); -x_130 = lean_array_push(x_129, x_128); -x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_47, x_85); -x_134 = lean_array_push(x_133, x_132); -x_135 = lean_array_push(x_134, x_63); -x_136 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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 = lean_array_push(x_117, x_56); -x_139 = lean_array_push(x_138, x_66); -x_140 = lean_array_push(x_139, x_83); -x_141 = lean_array_push(x_140, x_137); -x_142 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_145 = lean_array_push(x_144, x_54); -x_146 = lean_array_push(x_145, x_63); -x_147 = lean_array_push(x_146, x_63); -x_148 = lean_array_push(x_147, x_63); -x_149 = lean_array_push(x_148, x_63); -x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_32, x_151); -x_153 = lean_array_push(x_152, x_143); -x_154 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -lean_ctor_set(x_24, 0, x_155); -return x_24; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_156 = lean_ctor_get(x_1, 0); -lean_inc(x_156); -lean_dec(x_1); -x_157 = lean_array_push(x_41, x_156); -x_158 = l_Array_append___rarg(x_88, x_157); -lean_dec(x_157); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_43); -lean_ctor_set(x_159, 1, x_158); -x_160 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_161 = lean_array_push(x_160, x_159); -x_162 = lean_array_push(x_161, x_54); -x_163 = lean_array_push(x_162, x_63); -x_164 = lean_array_push(x_163, x_63); -x_165 = lean_array_push(x_164, x_63); -x_166 = lean_array_push(x_165, x_63); -x_167 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = lean_array_push(x_32, x_168); -x_170 = lean_array_push(x_169, x_143); -x_171 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -lean_ctor_set(x_24, 0, x_172); -return x_24; -} -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_173 = lean_ctor_get(x_24, 0); -x_174 = lean_ctor_get(x_24, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_24); -x_175 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_19); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_19); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_19); -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_19); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_mk_syntax_ident(x_3); -x_180 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_181 = lean_array_push(x_180, x_178); -x_182 = lean_array_push(x_181, x_179); -x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_182); -x_185 = lean_array_push(x_180, x_2); -x_186 = lean_array_push(x_185, x_184); -x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_190 = lean_array_push(x_189, x_188); -x_191 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_19); -x_194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_194, 0, x_19); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_196 = lean_array_push(x_195, x_176); -x_197 = lean_array_push(x_196, x_192); -x_198 = lean_array_push(x_197, x_194); -x_199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_189, x_200); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_191); -lean_ctor_set(x_202, 1, x_201); -x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_19); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_19); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_22); -lean_inc(x_173); -x_206 = l_Lean_addMacroScope(x_173, x_205, x_22); -x_207 = lean_box(0); -x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_19); -x_209 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_209, 0, x_19); -lean_ctor_set(x_209, 1, x_208); -lean_ctor_set(x_209, 2, x_206); -lean_ctor_set(x_209, 3, x_207); -x_210 = lean_array_push(x_180, x_209); -x_211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_212 = lean_array_push(x_210, x_211); -x_213 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_19); -x_216 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_216, 0, x_19); -lean_ctor_set(x_216, 1, x_215); -x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -lean_inc(x_22); -lean_inc(x_173); -x_218 = l_Lean_addMacroScope(x_173, x_217, x_22); -x_219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_220 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_19); -x_221 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_221, 0, x_19); -lean_ctor_set(x_221, 1, x_219); -lean_ctor_set(x_221, 2, x_218); -lean_ctor_set(x_221, 3, x_220); -x_222 = lean_array_push(x_180, x_216); -x_223 = lean_array_push(x_222, x_221); -x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_223); -x_226 = lean_array_push(x_189, x_225); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_191); -lean_ctor_set(x_227, 1, x_226); -x_228 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_229 = lean_array_push(x_228, x_227); -x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_19); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_19); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_19); -x_235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_235, 0, x_19); -lean_ctor_set(x_235, 1, x_234); -x_236 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_237 = l_Array_append___rarg(x_236, x_16); -lean_dec(x_16); -x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_19); -x_239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_239, 0, x_19); -lean_ctor_set(x_239, 1, x_238); -x_240 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_19); -x_241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_241, 0, x_19); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_189, x_241); -x_243 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_242); -x_245 = lean_array_push(x_189, x_244); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_191); -lean_ctor_set(x_246, 1, x_245); -x_247 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_19); -x_248 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_248, 0, x_19); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -lean_inc(x_22); -lean_inc(x_173); -x_250 = l_Lean_addMacroScope(x_173, x_249, x_22); -x_251 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_19); -x_253 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_253, 0, x_19); -lean_ctor_set(x_253, 1, x_251); -lean_ctor_set(x_253, 2, x_250); -lean_ctor_set(x_253, 3, x_252); -x_254 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -x_255 = l_Lean_addMacroScope(x_173, x_254, x_22); -x_256 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -x_258 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_258, 0, x_19); -lean_ctor_set(x_258, 1, x_256); -lean_ctor_set(x_258, 2, x_255); -lean_ctor_set(x_258, 3, x_257); -x_259 = lean_array_push(x_189, x_258); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_191); -lean_ctor_set(x_260, 1, x_259); -x_261 = lean_array_push(x_180, x_253); -x_262 = lean_array_push(x_261, x_260); -x_263 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_266 = lean_array_push(x_265, x_239); -x_267 = lean_array_push(x_266, x_246); -x_268 = lean_array_push(x_267, x_248); -x_269 = lean_array_push(x_268, x_264); -x_270 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = lean_array_push(x_237, x_271); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_191); -lean_ctor_set(x_273, 1, x_272); -x_274 = lean_array_push(x_189, x_273); -x_275 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = lean_array_push(x_180, x_235); -x_278 = lean_array_push(x_277, x_276); -x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = lean_array_push(x_195, x_233); -x_282 = lean_array_push(x_281, x_280); -x_283 = lean_array_push(x_282, x_211); -x_284 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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 = lean_array_push(x_265, x_204); -x_287 = lean_array_push(x_286, x_214); -x_288 = lean_array_push(x_287, x_231); -x_289 = lean_array_push(x_288, x_285); -x_290 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_292 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_293 = lean_array_push(x_292, x_202); -x_294 = lean_array_push(x_293, x_211); -x_295 = lean_array_push(x_294, x_211); -x_296 = lean_array_push(x_295, x_211); -x_297 = lean_array_push(x_296, x_211); -x_298 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_297); -x_300 = lean_array_push(x_180, x_299); -x_301 = lean_array_push(x_300, x_291); -x_302 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_174); -return x_304; -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_305 = lean_ctor_get(x_1, 0); -lean_inc(x_305); -lean_dec(x_1); -x_306 = lean_array_push(x_189, x_305); -x_307 = l_Array_append___rarg(x_236, x_306); -lean_dec(x_306); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_191); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_310 = lean_array_push(x_309, x_308); -x_311 = lean_array_push(x_310, x_202); -x_312 = lean_array_push(x_311, x_211); -x_313 = lean_array_push(x_312, x_211); -x_314 = lean_array_push(x_313, x_211); -x_315 = lean_array_push(x_314, x_211); -x_316 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_180, x_317); -x_319 = lean_array_push(x_318, x_291); -x_320 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_319); -x_322 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_174); -return x_322; -} -} -} -else -{ -uint8_t x_323; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_323 = !lean_is_exclusive(x_15); -if (x_323 == 0) -{ -return x_15; -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_324 = lean_ctor_get(x_15, 0); -x_325 = lean_ctor_get(x_15, 1); -lean_inc(x_325); -lean_inc(x_324); -lean_dec(x_15); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -return x_326; -} -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(x_1, x_2, x_3, x_7, x_8, x_6); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__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_7); -return x_11; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_10; -} -} lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___rarg(lean_object* x_1) { _start: { @@ -21142,6 +18740,25 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_El return x_3; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg), 1, 0); +return x_3; +} +} lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -21154,11 +18771,29 @@ lean_ctor_set(x_8, 1, x_5); return x_8; } } +static lean_object* _init_l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; +x_2 = l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object* 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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_5 = l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -21185,7 +18820,7 @@ if (x_14 == 0) { lean_object* x_15; uint8_t x_16; lean_dec(x_13); -x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_4); +x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(x_4); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -21225,6 +18860,16 @@ lean_dec(x_1); return x_3; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -21246,7 +18891,7 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -21265,7 +18910,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_12, x_1); +x_14 = l_Lean_Elab_Command_checkRuleKind(x_12, x_1); lean_dec(x_12); if (x_14 == 0) { @@ -21324,7 +18969,7 @@ return x_26; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -21343,7 +18988,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_12, x_1); +x_14 = l_Lean_Elab_Command_checkRuleKind(x_12, x_1); lean_dec(x_12); if (x_14 == 0) { @@ -21402,7 +19047,112 @@ return x_26; } } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1() { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(x_2, x_3, x_4, x_8); +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; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -21410,16 +19160,16 @@ x_1 = lean_mk_string("invalid "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; +x_1 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -21427,16 +19177,16 @@ x_1 = lean_mk_string(" alternative, multiple interpretations for pattern (soluti return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; +x_1 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -21444,16 +19194,16 @@ x_1 = lean_mk_string(" (kind := ...) ...`)"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; +x_1 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -21491,7 +19241,7 @@ size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; x_69 = 0; x_70 = lean_usize_of_nat(x_12); x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_72 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_5, x_1, x_69, x_70, x_71, x_7, x_8, x_9); +x_72 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_5, x_1, x_69, x_70, x_71, x_7, x_8, x_9); if (lean_obj_tag(x_72) == 0) { lean_object* x_73; lean_object* x_74; @@ -21565,7 +19315,7 @@ x_55 = 0; x_56 = lean_usize_of_nat(x_12); lean_dec(x_12); x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_58 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_5, x_1, x_55, x_56, x_57, x_7, x_8, x_16); +x_58 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_5, x_1, x_55, x_56, x_57, x_7, x_8, x_16); if (lean_obj_tag(x_58) == 0) { lean_object* x_59; lean_object* x_60; @@ -21738,29 +19488,29 @@ lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean lean_dec(x_5); lean_dec(x_2); x_79 = l_Lean_stringToMessageData(x_3); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; +x_80 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; lean_inc(x_79); x_81 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); -x_82 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; +x_82 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; x_83 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_83, 0, x_81); lean_ctor_set(x_83, 1, x_82); x_84 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_79); -x_85 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; +x_85 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; x_86 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_4, x_86, x_7, x_8, x_9); +x_87 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_4, x_86, x_7, x_8, x_9); lean_dec(x_8); return x_87; } } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(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_Elab_Command_expandNoKindMacroRulesAux(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -21782,7 +19532,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_14, x_4, x_5, x_12); +x_15 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_14, x_4, x_5, x_12); lean_dec(x_9); return x_15; } @@ -21790,14 +19540,14 @@ else { lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = l_Lean_Name_getString_x21(x_11); -x_17 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; +x_17 = l_Lean_Elab_Command_checkRuleKind___closed__1; x_18 = lean_string_dec_eq(x_16, x_17); lean_dec(x_16); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; x_19 = lean_box(0); -x_20 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_19, x_4, x_5, x_12); +x_20 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_19, x_4, x_5, x_12); lean_dec(x_9); return x_20; } @@ -21807,7 +19557,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = l_Lean_Name_getPrefix(x_11); lean_dec(x_11); x_22 = lean_box(0); -x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_21, x_22, x_4, x_5, x_12); +x_23 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_21, x_22, x_4, x_5, x_12); lean_dec(x_9); return x_23; } @@ -21841,7 +19591,7 @@ return x_27; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___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) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -21849,7 +19599,7 @@ x_9 = lean_unbox_usize(x_3); lean_dec(x_3); x_10 = lean_unbox_usize(x_4); lean_dec(x_4); -x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); @@ -21857,7 +19607,7 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___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) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -21865,7 +19615,7 @@ x_9 = lean_unbox_usize(x_3); lean_dec(x_3); x_10 = lean_unbox_usize(x_4); lean_dec(x_4); -x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); @@ -21873,5023 +19623,45 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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* l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_10; -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_4); +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macro_rules"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("kind"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(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_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_17 = x_15; -} else { - lean_dec_ref(x_15); - x_17 = lean_box(0); -} -x_18 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -lean_inc(x_11); -x_19 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_19, 0, x_11); -lean_ctor_set(x_19, 1, x_18); -x_20 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_21 = l_Array_append___rarg(x_20, x_6); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_25 = lean_array_push(x_24, x_23); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_1); -lean_ctor_set(x_26, 1, x_25); -if (lean_obj_tag(x_4) == 0) -{ -x_27 = x_20; -goto block_68; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_4, 0); -lean_inc(x_69); -lean_dec(x_4); -x_70 = lean_array_push(x_24, x_69); -x_27 = x_70; -goto block_68; -} -block_68: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_28 = l_Array_append___rarg(x_20, x_27); -lean_dec(x_27); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_31 = lean_array_push(x_30, x_29); -x_32 = lean_array_push(x_31, x_2); -x_33 = lean_array_push(x_32, x_19); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_61; -x_61 = lean_box(0); -x_34 = x_61; -goto block_60; -} -else -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_5); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_5, 0); -x_64 = lean_mk_syntax_ident(x_63); -lean_ctor_set(x_5, 0, x_64); -x_34 = x_5; -goto block_60; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_5, 0); -lean_inc(x_65); -lean_dec(x_5); -x_66 = lean_mk_syntax_ident(x_65); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_34 = x_67; -goto block_60; -} -} -block_60: -{ -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_11); -x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_36 = lean_array_push(x_33, x_35); -x_37 = lean_array_push(x_36, x_26); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_37); -if (lean_is_scalar(x_17)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_17; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_16); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_40 = lean_ctor_get(x_34, 0); -lean_inc(x_40); -lean_dec(x_34); -x_41 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_11); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_11); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; -lean_inc(x_11); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_11); -lean_ctor_set(x_44, 1, x_43); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_11); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_11); -lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_11); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_array_push(x_30, x_42); -x_50 = lean_array_push(x_49, x_44); -x_51 = lean_array_push(x_50, x_46); -x_52 = lean_array_push(x_51, x_40); -x_53 = lean_array_push(x_52, x_48); -x_54 = l_Array_append___rarg(x_20, x_53); -lean_dec(x_53); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_22); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_33, x_55); -x_57 = lean_array_push(x_56, x_26); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_3); -lean_ctor_set(x_58, 1, x_57); -if (lean_is_scalar(x_17)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_17; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_16); -return x_59; -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ident"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("basicFun"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules___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) { -_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; uint8_t x_17; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; -lean_inc(x_2); -x_14 = lean_name_mk_string(x_2, x_13); -x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; -lean_inc(x_14); -x_16 = lean_name_mk_string(x_14, x_15); -lean_inc(x_12); -x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(3u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_nullKind; -x_22 = lean_unsigned_to_nat(0u); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_22); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; -lean_dec(x_5); -x_24 = lean_unsigned_to_nat(5u); -lean_inc(x_20); -x_25 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_24); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = l_Lean_Syntax_getArg(x_20, x_19); -lean_dec(x_20); -x_28 = lean_unsigned_to_nat(4u); -x_29 = l_Lean_Syntax_getArg(x_1, x_28); -x_30 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_14); -x_31 = lean_name_mk_string(x_14, x_30); -lean_inc(x_29); -x_32 = l_Lean_Syntax_isOfKind(x_29, x_31); -lean_dec(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_33 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_33; -} -else -{ -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Syntax_getArg(x_29, x_22); -lean_dec(x_29); -lean_inc(x_34); -x_35 = l_Lean_Syntax_isNodeOf(x_34, x_21, x_11); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_36 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_37 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_8); -x_38 = l_Lean_Elab_Command_resolveSyntaxKind(x_37, x_8, x_9, x_10); -if (lean_obj_tag(x_38) == 0) -{ -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); -lean_dec(x_38); -x_41 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_39, x_36, x_8, x_9, x_40); -return x_41; -} -else -{ -uint8_t x_42; -lean_dec(x_36); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) -{ -return x_38; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = l_Lean_Syntax_getArg(x_34, x_22); -x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; -lean_inc(x_14); -x_48 = lean_name_mk_string(x_14, x_47); -lean_inc(x_46); -x_49 = l_Lean_Syntax_isOfKind(x_46, x_48); -lean_dec(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_50 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_51 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_8); -x_52 = l_Lean_Elab_Command_resolveSyntaxKind(x_51, x_8, x_9, x_10); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -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 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_53, x_50, x_8, x_9, x_54); -return x_55; -} -else -{ -uint8_t x_56; -lean_dec(x_50); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_56 = !lean_is_exclusive(x_52); -if (x_56 == 0) -{ -return x_52; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 0); -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; uint8_t x_61; -x_60 = l_Lean_Syntax_getArg(x_46, x_11); -lean_inc(x_60); -x_61 = l_Lean_Syntax_isNodeOf(x_60, x_21, x_11); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_60); -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_62 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_63 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_8); -x_64 = l_Lean_Elab_Command_resolveSyntaxKind(x_63, x_8, x_9, x_10); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_65, x_62, x_8, x_9, x_66); -return x_67; -} -else -{ -uint8_t x_68; -lean_dec(x_62); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) -{ -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_64); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = l_Lean_Syntax_getArg(x_60, x_22); -lean_dec(x_60); -x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_72); -x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_72); -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_75 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_76 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_8); -x_77 = l_Lean_Elab_Command_resolveSyntaxKind(x_76, x_8, x_9, x_10); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_78, x_75, x_8, x_9, x_79); -return x_80; -} -else -{ -uint8_t x_81; -lean_dec(x_75); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_81 = !lean_is_exclusive(x_77); -if (x_81 == 0) -{ -return x_77; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_77, 0); -x_83 = lean_ctor_get(x_77, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_77); -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; -} -} -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -lean_dec(x_34); -x_85 = l_Lean_Syntax_getArg(x_46, x_19); -lean_dec(x_46); -x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_88); -lean_dec(x_8); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_91); -lean_dec(x_9); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_94 = lean_ctor_get(x_92, 0); -x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_3); -x_96 = lean_name_mk_string(x_3, x_95); -x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_3); -x_98 = lean_name_mk_string(x_3, x_97); -x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; -lean_inc(x_14); -x_100 = lean_name_mk_string(x_14, x_99); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_87); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_87); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_inc(x_14); -x_104 = lean_name_mk_string(x_14, x_103); -x_105 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_106 = lean_name_mk_string(x_2, x_105); -x_107 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_108 = lean_name_mk_string(x_106, x_107); -lean_inc(x_87); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_87); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_111 = lean_array_push(x_110, x_109); -x_112 = lean_array_push(x_111, x_27); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_array_push(x_110, x_12); -x_115 = lean_array_push(x_114, x_113); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_104); -lean_ctor_set(x_116, 1, x_115); -x_117 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_118 = lean_array_push(x_117, x_116); -x_119 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_87); -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_87); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_124 = lean_array_push(x_123, x_102); -x_125 = lean_array_push(x_124, x_120); -x_126 = lean_array_push(x_125, x_122); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_100); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_117, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_3); -x_131 = lean_name_mk_string(x_3, x_130); -lean_inc(x_87); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_87); -lean_ctor_set(x_132, 1, x_130); -x_133 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -lean_inc(x_3); -x_134 = lean_name_mk_string(x_3, x_133); -x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_90); -lean_inc(x_94); -x_136 = l_Lean_addMacroScope(x_94, x_135, x_90); -x_137 = lean_box(0); -x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_87); -x_139 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_139, 0, x_87); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_136); -lean_ctor_set(x_139, 3, x_137); -x_140 = lean_array_push(x_110, x_139); -x_141 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_142 = lean_array_push(x_140, x_141); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_134); -lean_ctor_set(x_143, 1, x_142); -x_144 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_3); -x_145 = lean_name_mk_string(x_3, x_144); -x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_14); -x_147 = lean_name_mk_string(x_14, x_146); -x_148 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_87); -x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_87); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_151 = l_Lean_addMacroScope(x_94, x_150, x_90); -x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_153 = lean_name_mk_string(x_4, x_152); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_137); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_137); -x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -lean_inc(x_87); -x_157 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_157, 0, x_87); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_157, 2, x_151); -lean_ctor_set(x_157, 3, x_155); -x_158 = lean_array_push(x_110, x_149); -x_159 = lean_array_push(x_158, x_157); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_147); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_array_push(x_117, x_160); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_119); -lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_145); -lean_ctor_set(x_165, 1, x_164); -x_166 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_167 = lean_name_mk_string(x_3, x_166); -x_168 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_87); -x_169 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_169, 0, x_87); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_14); -x_171 = lean_name_mk_string(x_14, x_170); -lean_inc(x_87); -x_172 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_172, 0, x_87); -lean_ctor_set(x_172, 1, x_170); -x_173 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; -x_174 = lean_name_mk_string(x_14, x_173); -x_175 = lean_array_push(x_117, x_72); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_119); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_87); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_123, x_176); -x_180 = lean_array_push(x_179, x_178); -x_181 = lean_array_push(x_180, x_85); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_174); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_110, x_172); -x_184 = lean_array_push(x_183, x_182); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_171); -lean_ctor_set(x_185, 1, x_184); -x_186 = lean_array_push(x_123, x_169); -x_187 = lean_array_push(x_186, x_185); -x_188 = lean_array_push(x_187, x_141); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_167); -lean_ctor_set(x_189, 1, x_188); -x_190 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_191 = lean_array_push(x_190, x_132); -x_192 = lean_array_push(x_191, x_143); -x_193 = lean_array_push(x_192, x_165); -x_194 = lean_array_push(x_193, x_189); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_131); -lean_ctor_set(x_195, 1, x_194); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_197 = lean_array_push(x_196, x_129); -x_198 = lean_array_push(x_197, x_141); -x_199 = lean_array_push(x_198, x_141); -x_200 = lean_array_push(x_199, x_141); -x_201 = lean_array_push(x_200, x_141); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_98); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_110, x_202); -x_204 = lean_array_push(x_203, x_195); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_96); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_92, 0, x_205); -return x_92; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_206 = lean_ctor_get(x_7, 0); -lean_inc(x_206); -lean_dec(x_7); -x_207 = lean_array_push(x_117, x_206); -x_208 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_209 = l_Array_append___rarg(x_208, x_207); -lean_dec(x_207); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_119); -lean_ctor_set(x_210, 1, x_209); -x_211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_212 = lean_array_push(x_211, x_210); -x_213 = lean_array_push(x_212, x_129); -x_214 = lean_array_push(x_213, x_141); -x_215 = lean_array_push(x_214, x_141); -x_216 = lean_array_push(x_215, x_141); -x_217 = lean_array_push(x_216, x_141); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_98); -lean_ctor_set(x_218, 1, x_217); -x_219 = lean_array_push(x_110, x_218); -x_220 = lean_array_push(x_219, x_195); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_96); -lean_ctor_set(x_221, 1, x_220); -lean_ctor_set(x_92, 0, x_221); -return x_92; -} -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_222 = lean_ctor_get(x_92, 0); -x_223 = lean_ctor_get(x_92, 1); -lean_inc(x_223); -lean_inc(x_222); -lean_dec(x_92); -x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_3); -x_225 = lean_name_mk_string(x_3, x_224); -x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_3); -x_227 = lean_name_mk_string(x_3, x_226); -x_228 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; -lean_inc(x_14); -x_229 = lean_name_mk_string(x_14, x_228); -x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_87); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_87); -lean_ctor_set(x_231, 1, x_230); -x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_inc(x_14); -x_233 = lean_name_mk_string(x_14, x_232); -x_234 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_235 = lean_name_mk_string(x_2, x_234); -x_236 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_237 = lean_name_mk_string(x_235, x_236); -lean_inc(x_87); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_87); -lean_ctor_set(x_238, 1, x_236); -x_239 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_array_push(x_240, x_27); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_237); -lean_ctor_set(x_242, 1, x_241); -x_243 = lean_array_push(x_239, x_12); -x_244 = lean_array_push(x_243, x_242); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_233); -lean_ctor_set(x_245, 1, x_244); -x_246 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_247 = lean_array_push(x_246, x_245); -x_248 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_87); -x_251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_251, 0, x_87); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_253 = lean_array_push(x_252, x_231); -x_254 = lean_array_push(x_253, x_249); -x_255 = lean_array_push(x_254, x_251); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_229); -lean_ctor_set(x_256, 1, x_255); -x_257 = lean_array_push(x_246, x_256); -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_248); -lean_ctor_set(x_258, 1, x_257); -x_259 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_3); -x_260 = lean_name_mk_string(x_3, x_259); -lean_inc(x_87); -x_261 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_261, 0, x_87); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -lean_inc(x_3); -x_263 = lean_name_mk_string(x_3, x_262); -x_264 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_90); -lean_inc(x_222); -x_265 = l_Lean_addMacroScope(x_222, x_264, x_90); -x_266 = lean_box(0); -x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_87); -x_268 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_268, 0, x_87); -lean_ctor_set(x_268, 1, x_267); -lean_ctor_set(x_268, 2, x_265); -lean_ctor_set(x_268, 3, x_266); -x_269 = lean_array_push(x_239, x_268); -x_270 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_271 = lean_array_push(x_269, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_263); -lean_ctor_set(x_272, 1, x_271); -x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_3); -x_274 = lean_name_mk_string(x_3, x_273); -x_275 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_14); -x_276 = lean_name_mk_string(x_14, x_275); -x_277 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_87); -x_278 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_278, 0, x_87); -lean_ctor_set(x_278, 1, x_277); -x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_280 = l_Lean_addMacroScope(x_222, x_279, x_90); -x_281 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -x_282 = lean_name_mk_string(x_4, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_266); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_266); -x_285 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -lean_inc(x_87); -x_286 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_286, 0, x_87); -lean_ctor_set(x_286, 1, x_285); -lean_ctor_set(x_286, 2, x_280); -lean_ctor_set(x_286, 3, x_284); -x_287 = lean_array_push(x_239, x_278); -x_288 = lean_array_push(x_287, x_286); -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_276); -lean_ctor_set(x_289, 1, x_288); -x_290 = lean_array_push(x_246, x_289); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_248); -lean_ctor_set(x_291, 1, x_290); -x_292 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_293 = lean_array_push(x_292, x_291); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_274); -lean_ctor_set(x_294, 1, x_293); -x_295 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_296 = lean_name_mk_string(x_3, x_295); -x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_87); -x_298 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_298, 0, x_87); -lean_ctor_set(x_298, 1, x_297); -x_299 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_14); -x_300 = lean_name_mk_string(x_14, x_299); -lean_inc(x_87); -x_301 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_301, 0, x_87); -lean_ctor_set(x_301, 1, x_299); -x_302 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; -x_303 = lean_name_mk_string(x_14, x_302); -x_304 = lean_array_push(x_246, x_72); -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_248); -lean_ctor_set(x_305, 1, x_304); -x_306 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_307 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_307, 0, x_87); -lean_ctor_set(x_307, 1, x_306); -x_308 = lean_array_push(x_252, x_305); -x_309 = lean_array_push(x_308, x_307); -x_310 = lean_array_push(x_309, x_85); -x_311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_311, 0, x_303); -lean_ctor_set(x_311, 1, x_310); -x_312 = lean_array_push(x_239, x_301); -x_313 = lean_array_push(x_312, x_311); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_300); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_252, x_298); -x_316 = lean_array_push(x_315, x_314); -x_317 = lean_array_push(x_316, x_270); -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_296); -lean_ctor_set(x_318, 1, x_317); -x_319 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_320 = lean_array_push(x_319, x_261); -x_321 = lean_array_push(x_320, x_272); -x_322 = lean_array_push(x_321, x_294); -x_323 = lean_array_push(x_322, x_318); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_260); -lean_ctor_set(x_324, 1, x_323); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_325 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_326 = lean_array_push(x_325, x_258); -x_327 = lean_array_push(x_326, x_270); -x_328 = lean_array_push(x_327, x_270); -x_329 = lean_array_push(x_328, x_270); -x_330 = lean_array_push(x_329, x_270); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_227); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_array_push(x_239, x_331); -x_333 = lean_array_push(x_332, x_324); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_225); -lean_ctor_set(x_334, 1, x_333); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_223); -return x_335; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_336 = lean_ctor_get(x_7, 0); -lean_inc(x_336); -lean_dec(x_7); -x_337 = lean_array_push(x_246, x_336); -x_338 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_339 = l_Array_append___rarg(x_338, x_337); -lean_dec(x_337); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_248); -lean_ctor_set(x_340, 1, x_339); -x_341 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_342 = lean_array_push(x_341, x_340); -x_343 = lean_array_push(x_342, x_258); -x_344 = lean_array_push(x_343, x_270); -x_345 = lean_array_push(x_344, x_270); -x_346 = lean_array_push(x_345, x_270); -x_347 = lean_array_push(x_346, x_270); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_227); -lean_ctor_set(x_348, 1, x_347); -x_349 = lean_array_push(x_239, x_348); -x_350 = lean_array_push(x_349, x_324); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_225); -lean_ctor_set(x_351, 1, x_350); -x_352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_223); -return x_352; -} -} -} -} -} -} -} -} -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; -lean_dec(x_20); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_353 = lean_unsigned_to_nat(4u); -x_354 = l_Lean_Syntax_getArg(x_1, x_353); -x_355 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_356 = lean_name_mk_string(x_14, x_355); -lean_inc(x_354); -x_357 = l_Lean_Syntax_isOfKind(x_354, x_356); -if (x_357 == 0) -{ -lean_object* x_358; -lean_dec(x_356); -lean_dec(x_354); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_358 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_358; -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_359 = l_Lean_Syntax_getArg(x_354, x_22); -lean_dec(x_354); -x_360 = l_Lean_Syntax_getArgs(x_359); -lean_dec(x_359); -x_361 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 9, 4); -lean_closure_set(x_361, 0, x_356); -lean_closure_set(x_361, 1, x_12); -lean_closure_set(x_361, 2, x_5); -lean_closure_set(x_361, 3, x_7); -x_362 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_363 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_360, x_362, x_361, x_8, x_9, x_10); -lean_dec(x_360); -return x_363; -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object* 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 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; -lean_inc(x_1); -x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); -if (x_6 == 0) -{ -lean_object* x_7; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(1u); -lean_inc(x_9); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_16 = l_Lean_Elab_Command_elabSyntax___closed__4; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_15); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_21 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_23 = lean_box(0); -x_24 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_20, x_21, x_22, x_5, x_23, x_19, x_2, x_3, x_4); -lean_dec(x_1); -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; -lean_dec(x_9); -x_25 = lean_box(0); -x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_28 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_26, x_27, x_28, x_5, x_29, x_25, x_2, x_3, x_4); -lean_dec(x_1); -return x_30; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__3), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Elab_Command_elabMacroRules___closed__1; -x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_elabMacroRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_elabMacroRules___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_6); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabMacroRules"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules), 4, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Elab_mkAttrKindGlobal; -x_8 = l_Lean_Syntax_setArg(x_1, x_5, x_7); -x_9 = lean_apply_3(x_2, x_8, x_3, x_4); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Syntax_setArg(x_11, x_5, x_6); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = l_Lean_Syntax_setArg(x_13, x_5, x_6); -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; -lean_dec(x_6); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("notation"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("identPrec"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("arg"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -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_Lean_Elab_Command_expandMixfix___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(8u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("priority"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("name"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_19 = x_16; -} else { - lean_dec_ref(x_16); - x_19 = lean_box(0); -} -x_20 = lean_ctor_get(x_10, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_10, 1); -lean_inc(x_21); -lean_dec(x_10); -x_22 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_2); -x_23 = lean_name_mk_string(x_2, x_22); -x_24 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -lean_inc(x_17); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_17); -lean_ctor_set(x_26, 1, x_22); -x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -lean_inc(x_2); -x_28 = lean_name_mk_string(x_2, x_27); -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; -lean_inc(x_17); -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set(x_33, 3, x_31); -x_34 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -lean_inc(x_33); -x_35 = lean_array_push(x_34, x_33); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_17); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_17); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_39 = lean_name_mk_string(x_4, x_38); -x_40 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_41 = lean_array_push(x_40, x_33); -x_42 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_array_push(x_34, x_15); -x_45 = lean_array_push(x_44, x_43); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_39); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_48 = lean_array_push(x_47, x_25); -x_49 = lean_array_push(x_48, x_26); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_119; -lean_dec(x_7); -x_119 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_50 = x_119; -goto block_118; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_6, 0); -lean_inc(x_120); -lean_dec(x_6); -x_121 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_122 = lean_name_mk_string(x_7, x_121); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_17); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_17); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_34, x_124); -x_126 = lean_array_push(x_125, x_120); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_122); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_40, x_127); -x_50 = x_128; -goto block_118; -} -block_118: -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_52 = l_Array_append___rarg(x_51, x_50); -lean_dec(x_50); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set(x_53, 1, x_52); -lean_inc(x_53); -x_54 = lean_array_push(x_35, x_53); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_28); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_34, x_55); -x_57 = lean_array_push(x_56, x_13); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_42); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_49, x_53); -if (lean_obj_tag(x_5) == 0) -{ -x_60 = x_51; -goto block_98; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_99 = lean_ctor_get(x_5, 0); -lean_inc(x_99); -lean_dec(x_5); -x_100 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_101 = lean_name_mk_string(x_2, x_100); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_17); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_17); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_17); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_17); -lean_ctor_set(x_105, 1, x_104); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_17); -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_17); -lean_ctor_set(x_107, 1, x_106); -x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_17); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_17); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_111 = lean_array_push(x_110, x_103); -x_112 = lean_array_push(x_111, x_105); -x_113 = lean_array_push(x_112, x_107); -x_114 = lean_array_push(x_113, x_99); -x_115 = lean_array_push(x_114, x_109); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_101); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_array_push(x_40, x_116); -x_60 = x_117; -goto block_98; -} -block_98: -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = l_Array_append___rarg(x_51, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_42); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_59, x_62); -if (lean_obj_tag(x_9) == 0) -{ -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_dec(x_17); -lean_dec(x_2); -x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_65 = lean_array_push(x_63, x_64); -x_66 = lean_array_push(x_65, x_58); -x_67 = lean_array_push(x_66, x_37); -x_68 = lean_array_push(x_67, x_46); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_23); -lean_ctor_set(x_69, 1, x_68); -if (lean_is_scalar(x_19)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_19; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_18); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_71 = lean_ctor_get(x_9, 0); -lean_inc(x_71); -lean_dec(x_9); -x_72 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_73 = lean_name_mk_string(x_2, x_72); -x_74 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_17); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_17); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_17); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_17); -lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_17); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_17); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_17); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_83 = lean_array_push(x_82, x_75); -x_84 = lean_array_push(x_83, x_77); -x_85 = lean_array_push(x_84, x_79); -x_86 = lean_array_push(x_85, x_71); -x_87 = lean_array_push(x_86, x_81); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_73); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_40, x_88); -x_90 = l_Array_append___rarg(x_51, x_89); -lean_dec(x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_42); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_63, x_91); -x_93 = lean_array_push(x_92, x_58); -x_94 = lean_array_push(x_93, x_37); -x_95 = lean_array_push(x_94, x_46); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_23); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_19)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_19; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_18); -return x_97; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___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) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_2); -x_22 = lean_name_mk_string(x_2, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 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; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_19 = x_16; -} else { - lean_dec_ref(x_16); - x_19 = lean_box(0); -} -x_20 = lean_ctor_get(x_10, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_10, 1); -lean_inc(x_21); -lean_dec(x_10); -x_22 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_2); -x_23 = lean_name_mk_string(x_2, x_22); -x_24 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -lean_inc(x_17); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_17); -lean_ctor_set(x_26, 1, x_22); -x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -lean_inc(x_2); -x_28 = lean_name_mk_string(x_2, x_27); -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; -lean_inc(x_17); -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set(x_33, 3, x_31); -x_34 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -lean_inc(x_33); -x_35 = lean_array_push(x_34, x_33); -x_36 = lean_array_push(x_34, x_13); -x_37 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_17); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_17); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_40 = lean_name_mk_string(x_4, x_39); -x_41 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_42 = lean_array_push(x_41, x_33); -x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_array_push(x_34, x_15); -x_46 = lean_array_push(x_45, x_44); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_40); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_49 = lean_array_push(x_48, x_25); -x_50 = lean_array_push(x_49, x_26); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_119; -lean_dec(x_7); -x_119 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_51 = x_119; -goto block_118; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_6, 0); -lean_inc(x_120); -lean_dec(x_6); -x_121 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_122 = lean_name_mk_string(x_7, x_121); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_17); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_17); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_34, x_124); -x_126 = lean_array_push(x_125, x_120); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_122); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_41, x_127); -x_51 = x_128; -goto block_118; -} -block_118: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_53 = l_Array_append___rarg(x_52, x_51); -lean_dec(x_51); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_43); -lean_ctor_set(x_54, 1, x_53); -lean_inc(x_54); -x_55 = lean_array_push(x_35, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_28); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_36, x_56); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_43); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_50, x_54); -if (lean_obj_tag(x_5) == 0) -{ -x_60 = x_52; -goto block_98; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_99 = lean_ctor_get(x_5, 0); -lean_inc(x_99); -lean_dec(x_5); -x_100 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_101 = lean_name_mk_string(x_2, x_100); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_17); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_17); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_17); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_17); -lean_ctor_set(x_105, 1, x_104); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_17); -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_17); -lean_ctor_set(x_107, 1, x_106); -x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_17); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_17); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_111 = lean_array_push(x_110, x_103); -x_112 = lean_array_push(x_111, x_105); -x_113 = lean_array_push(x_112, x_107); -x_114 = lean_array_push(x_113, x_99); -x_115 = lean_array_push(x_114, x_109); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_101); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_array_push(x_41, x_116); -x_60 = x_117; -goto block_98; -} -block_98: -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = l_Array_append___rarg(x_52, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_43); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_59, x_62); -if (lean_obj_tag(x_9) == 0) -{ -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_dec(x_17); -lean_dec(x_2); -x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_65 = lean_array_push(x_63, x_64); -x_66 = lean_array_push(x_65, x_58); -x_67 = lean_array_push(x_66, x_38); -x_68 = lean_array_push(x_67, x_47); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_23); -lean_ctor_set(x_69, 1, x_68); -if (lean_is_scalar(x_19)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_19; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_18); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_71 = lean_ctor_get(x_9, 0); -lean_inc(x_71); -lean_dec(x_9); -x_72 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_73 = lean_name_mk_string(x_2, x_72); -x_74 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_17); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_17); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_17); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_17); -lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_17); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_17); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_17); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_83 = lean_array_push(x_82, x_75); -x_84 = lean_array_push(x_83, x_77); -x_85 = lean_array_push(x_84, x_79); -x_86 = lean_array_push(x_85, x_71); -x_87 = lean_array_push(x_86, x_81); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_73); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_41, x_88); -x_90 = l_Array_append___rarg(x_52, x_89); -lean_dec(x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_43); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_63, x_91); -x_93 = lean_array_push(x_92, x_58); -x_94 = lean_array_push(x_93, x_38); -x_95 = lean_array_push(x_94, x_47); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_23); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_19)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_19; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_18); -return x_97; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_2); -x_22 = lean_name_mk_string(x_2, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("lhs"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___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_Lean_Elab_Command_expandMixfix___lambda__7___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("rhs"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; -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_Lean_Elab_Command_expandMixfix___lambda__7___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -lean_inc(x_10); -lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); -if (lean_obj_tag(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; 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; -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); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_17, x_19); -lean_dec(x_17); -x_21 = l_Nat_repr(x_20); -x_22 = l_Lean_numLitKind; -x_23 = lean_box(2); -x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_18); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_28 = x_25; -} else { - lean_dec_ref(x_25); - x_28 = lean_box(0); -} -x_29 = lean_ctor_get(x_10, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_10, 1); -lean_inc(x_30); -lean_dec(x_10); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_3); -x_32 = lean_name_mk_string(x_3, x_31); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_26); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_31); -x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; -lean_inc(x_29); -lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; -lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_44 = lean_name_mk_string(x_5, x_43); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_26); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_26); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_48 = lean_array_push(x_47, x_46); -lean_inc(x_48); -x_49 = lean_array_push(x_48, x_24); -lean_inc(x_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_47, x_42); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_54); -lean_inc(x_37); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_37); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); -x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -lean_inc(x_26); -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_26); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_40); -lean_inc(x_61); -x_62 = lean_array_push(x_47, x_61); -x_63 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_64 = lean_array_push(x_63, x_57); -x_65 = lean_array_push(x_64, x_13); -x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_26); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_26); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_69 = lean_name_mk_string(x_6, x_68); -x_70 = lean_array_push(x_55, x_61); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_53); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_47, x_15); -x_73 = lean_array_push(x_72, x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_69); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_76 = lean_array_push(x_75, x_34); -x_77 = lean_array_push(x_76, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_48); -lean_dec(x_44); -x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_78 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_48, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_44); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_51, x_149); -x_78 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_79 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_80 = l_Array_append___rarg(x_79, x_78); -lean_dec(x_78); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_53); -lean_ctor_set(x_81, 1, x_80); -lean_inc(x_81); -x_82 = lean_array_push(x_62, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_37); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_65, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_53); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_77, x_81); -if (lean_obj_tag(x_7) == 0) -{ -x_87 = x_79; -goto block_125; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_126 = lean_ctor_get(x_7, 0); -lean_inc(x_126); -lean_dec(x_7); -x_127 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_3); -x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_26); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_26); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_26); -lean_ctor_set(x_132, 1, x_131); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_26); -lean_ctor_set(x_134, 1, x_133); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_26); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_26); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_138 = lean_array_push(x_137, x_130); -x_139 = lean_array_push(x_138, x_132); -x_140 = lean_array_push(x_139, x_134); -x_141 = lean_array_push(x_140, x_126); -x_142 = lean_array_push(x_141, x_136); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_51, x_143); -x_87 = x_144; -goto block_125; -} -block_125: -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_79, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_53); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_26); -lean_dec(x_3); -x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_85); -x_94 = lean_array_push(x_93, x_67); -x_95 = lean_array_push(x_94, x_74); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_28; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); -lean_dec(x_9); -x_99 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_51, x_115); -x_117 = l_Array_append___rarg(x_79, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_53); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_85); -x_121 = lean_array_push(x_120, x_67); -x_122 = lean_array_push(x_121, x_74); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); -if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; -} -} -} -} -else -{ -uint8_t x_151; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -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_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) -{ -return x_16; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_16); -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_Lean_Elab_Command_expandMixfix___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_3); -x_22 = lean_name_mk_string(x_3, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -lean_inc(x_10); -lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); -if (lean_obj_tag(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; 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; -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); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_17, x_19); -lean_dec(x_17); -x_21 = l_Nat_repr(x_20); -x_22 = l_Lean_numLitKind; -x_23 = lean_box(2); -x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_18); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_28 = x_25; -} else { - lean_dec_ref(x_25); - x_28 = lean_box(0); -} -x_29 = lean_ctor_get(x_10, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_10, 1); -lean_inc(x_30); -lean_dec(x_10); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_3); -x_32 = lean_name_mk_string(x_3, x_31); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_26); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_31); -x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; -lean_inc(x_29); -lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; -lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_44 = lean_name_mk_string(x_5, x_43); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_26); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_26); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_48 = lean_array_push(x_47, x_46); -lean_inc(x_48); -x_49 = lean_array_push(x_48, x_24); -lean_inc(x_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_47, x_42); -lean_inc(x_54); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_54); -lean_inc(x_37); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_37); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); -x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -lean_inc(x_26); -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_26); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_40); -lean_inc(x_61); -x_62 = lean_array_push(x_47, x_61); -x_63 = lean_array_push(x_62, x_54); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_37); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_66 = lean_array_push(x_65, x_57); -x_67 = lean_array_push(x_66, x_13); -x_68 = lean_array_push(x_67, x_64); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_53); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_26); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_26); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_73 = lean_name_mk_string(x_6, x_72); -x_74 = lean_array_push(x_55, x_61); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_53); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_47, x_15); -x_77 = lean_array_push(x_76, x_75); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_73); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_80 = lean_array_push(x_79, x_34); -x_81 = lean_array_push(x_80, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_48); -lean_dec(x_44); -x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_82 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_48, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_44); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_51, x_149); -x_82 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_84 = l_Array_append___rarg(x_83, x_82); -lean_dec(x_82); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_53); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_81, x_85); -if (lean_obj_tag(x_7) == 0) -{ -x_87 = x_83; -goto block_125; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_126 = lean_ctor_get(x_7, 0); -lean_inc(x_126); -lean_dec(x_7); -x_127 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_3); -x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_26); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_26); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_26); -lean_ctor_set(x_132, 1, x_131); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_26); -lean_ctor_set(x_134, 1, x_133); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_26); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_26); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_138 = lean_array_push(x_137, x_130); -x_139 = lean_array_push(x_138, x_132); -x_140 = lean_array_push(x_139, x_134); -x_141 = lean_array_push(x_140, x_126); -x_142 = lean_array_push(x_141, x_136); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_51, x_143); -x_87 = x_144; -goto block_125; -} -block_125: -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_83, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_53); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_26); -lean_dec(x_3); -x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_69); -x_94 = lean_array_push(x_93, x_71); -x_95 = lean_array_push(x_94, x_78); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_28; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); -lean_dec(x_9); -x_99 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_51, x_115); -x_117 = l_Array_append___rarg(x_83, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_53); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_69); -x_121 = lean_array_push(x_120, x_71); -x_122 = lean_array_push(x_121, x_78); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); -if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; -} -} -} -} -else -{ -uint8_t x_151; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -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_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) -{ -return x_16; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_16); -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_Lean_Elab_Command_expandMixfix___lambda__11(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_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_3); -x_22 = lean_name_mk_string(x_3, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(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; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -lean_inc(x_10); -lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); -if (lean_obj_tag(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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_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); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_17, x_19); -lean_dec(x_17); -x_21 = l_Nat_repr(x_20); -x_22 = l_Lean_numLitKind; -x_23 = lean_box(2); -x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_18); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_28 = x_25; -} else { - lean_dec_ref(x_25); - x_28 = lean_box(0); -} -x_29 = lean_ctor_get(x_10, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_10, 1); -lean_inc(x_30); -lean_dec(x_10); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_3); -x_32 = lean_name_mk_string(x_3, x_31); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_26); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_31); -x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; -lean_inc(x_29); -lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; -lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_44 = lean_array_push(x_43, x_42); -x_45 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_46 = l_Lean_addMacroScope(x_30, x_45, x_29); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -lean_inc(x_26); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_26); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_46); -lean_ctor_set(x_48, 3, x_40); -x_49 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_50 = lean_name_mk_string(x_5, x_49); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_26); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_26); -lean_ctor_set(x_52, 1, x_51); -x_53 = lean_array_push(x_43, x_52); -lean_inc(x_53); -x_54 = lean_array_push(x_53, x_24); -lean_inc(x_50); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_57 = lean_array_push(x_56, x_55); -x_58 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -lean_inc(x_48); -x_60 = lean_array_push(x_43, x_48); -x_61 = lean_array_push(x_60, x_59); -lean_inc(x_37); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_37); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_26); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_26); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_66 = lean_name_mk_string(x_6, x_65); -lean_inc(x_44); -x_67 = lean_array_push(x_44, x_48); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_58); -lean_ctor_set(x_68, 1, x_67); -x_69 = lean_array_push(x_43, x_15); -x_70 = lean_array_push(x_69, x_68); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_66); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_73 = lean_array_push(x_72, x_34); -x_74 = lean_array_push(x_73, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_53); -lean_dec(x_50); -x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_75 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_53, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_50); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_56, x_149); -x_75 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_77 = l_Array_append___rarg(x_76, x_75); -lean_dec(x_75); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_58); -lean_ctor_set(x_78, 1, x_77); -lean_inc(x_78); -x_79 = lean_array_push(x_44, x_78); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_37); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_82 = lean_array_push(x_81, x_80); -x_83 = lean_array_push(x_82, x_13); -x_84 = lean_array_push(x_83, x_62); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_58); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_74, x_78); -if (lean_obj_tag(x_7) == 0) -{ -x_87 = x_76; -goto block_125; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_126 = lean_ctor_get(x_7, 0); -lean_inc(x_126); -lean_dec(x_7); -x_127 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_3); -x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_26); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_26); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_26); -lean_ctor_set(x_132, 1, x_131); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_26); -lean_ctor_set(x_134, 1, x_133); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_26); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_26); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_138 = lean_array_push(x_137, x_130); -x_139 = lean_array_push(x_138, x_132); -x_140 = lean_array_push(x_139, x_134); -x_141 = lean_array_push(x_140, x_126); -x_142 = lean_array_push(x_141, x_136); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_56, x_143); -x_87 = x_144; -goto block_125; -} -block_125: -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_76, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_58); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_26); -lean_dec(x_3); -x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_85); -x_94 = lean_array_push(x_93, x_64); -x_95 = lean_array_push(x_94, x_71); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_28; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); -lean_dec(x_9); -x_99 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_56, x_115); -x_117 = l_Array_append___rarg(x_76, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_58); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_85); -x_121 = lean_array_push(x_120, x_64); -x_122 = lean_array_push(x_121, x_71); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); -if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; -} -} -} -} -else -{ -uint8_t x_151; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -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_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) -{ -return x_16; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_16); -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_Lean_Elab_Command_expandMixfix___lambda__14(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_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_3); -x_22 = lean_name_mk_string(x_3, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(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; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("mixfix"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("infixl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("infix"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("infixr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("prefix"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("postfix"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(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_Elab_Command_expandMixfix___lambda__16___closed__2; -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 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_9); -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; uint8_t x_16; -x_14 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_15 = l_Lean_nullKind; -x_16 = l_Lean_Syntax_isNodeOf(x_14, x_15, x_8); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_3); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_unsigned_to_nat(1u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -lean_inc(x_20); -x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -lean_inc(x_20); -x_24 = l_Lean_Syntax_isOfKind(x_20, x_23); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; -lean_inc(x_20); -x_26 = l_Lean_Syntax_isOfKind(x_20, x_25); -if (x_26 == 0) -{ -lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -lean_inc(x_20); -x_28 = l_Lean_Syntax_isOfKind(x_20, x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; -x_30 = l_Lean_Syntax_isOfKind(x_20, x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_2); -lean_dec(x_1); -x_31 = lean_box(1); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_3); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_unsigned_to_nat(2u); -x_34 = l_Lean_Syntax_getArg(x_1, x_33); -x_35 = l_Lean_Syntax_isNone(x_34); -if (x_35 == 0) -{ -uint8_t x_36; -lean_inc(x_34); -x_36 = l_Lean_Syntax_isNodeOf(x_34, x_15, x_19); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_34); -lean_dec(x_2); -lean_dec(x_1); -x_37 = lean_box(1); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_3); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = l_Lean_Syntax_getArg(x_34, x_8); -lean_dec(x_34); -x_40 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_39); -x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_39); -lean_dec(x_2); -lean_dec(x_1); -x_42 = lean_box(1); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_3); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_44 = l_Lean_Syntax_getArg(x_39, x_19); -lean_dec(x_39); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_48 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_49 = lean_box(0); -x_50 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_46, x_10, x_47, x_48, x_49, x_45, x_2, x_3); -lean_dec(x_1); -return x_50; -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_34); -x_51 = lean_box(0); -x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_53 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_54 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_55 = lean_box(0); -x_56 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_52, x_10, x_53, x_54, x_55, x_51, x_2, x_3); -lean_dec(x_1); -return x_56; -} -} -} -else -{ -lean_object* x_57; lean_object* x_58; uint8_t x_59; -lean_dec(x_20); -x_57 = lean_unsigned_to_nat(2u); -x_58 = l_Lean_Syntax_getArg(x_1, x_57); -x_59 = l_Lean_Syntax_isNone(x_58); -if (x_59 == 0) -{ -uint8_t x_60; -lean_inc(x_58); -x_60 = l_Lean_Syntax_isNodeOf(x_58, x_15, x_19); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; -lean_dec(x_58); -lean_dec(x_2); -lean_dec(x_1); -x_61 = lean_box(1); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_3); -return x_62; -} -else -{ -lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_63 = l_Lean_Syntax_getArg(x_58, x_8); -lean_dec(x_58); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_63); -x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; -lean_dec(x_63); -lean_dec(x_2); -lean_dec(x_1); -x_66 = lean_box(1); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_3); -return x_67; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_68 = l_Lean_Syntax_getArg(x_63, x_19); -lean_dec(x_63); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_72 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_73 = lean_box(0); -x_74 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_70, x_10, x_71, x_72, x_73, x_69, x_2, x_3); -lean_dec(x_1); -return x_74; -} -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_58); -x_75 = lean_box(0); -x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_77 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_78 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_79 = lean_box(0); -x_80 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_76, x_10, x_77, x_78, x_79, x_75, x_2, x_3); -lean_dec(x_1); -return x_80; -} -} -} -else -{ -lean_object* x_81; lean_object* x_82; uint8_t x_83; -lean_dec(x_20); -x_81 = lean_unsigned_to_nat(2u); -x_82 = l_Lean_Syntax_getArg(x_1, x_81); -x_83 = l_Lean_Syntax_isNone(x_82); -if (x_83 == 0) -{ -uint8_t x_84; -lean_inc(x_82); -x_84 = l_Lean_Syntax_isNodeOf(x_82, x_15, x_19); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; -lean_dec(x_82); -lean_dec(x_2); -lean_dec(x_1); -x_85 = lean_box(1); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_3); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = l_Lean_Syntax_getArg(x_82, x_8); -lean_dec(x_82); -x_88 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_87); -x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -lean_dec(x_87); -lean_dec(x_2); -lean_dec(x_1); -x_90 = lean_box(1); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_3); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_92 = l_Lean_Syntax_getArg(x_87, x_19); -lean_dec(x_87); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_95 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_96 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_97 = lean_box(0); -x_98 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_94, x_10, x_95, x_96, x_97, x_93, x_2, x_3); -lean_dec(x_1); -return x_98; -} -} -} -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_dec(x_82); -x_99 = lean_box(0); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_101 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_102 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_103 = lean_box(0); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_100, x_10, x_101, x_102, x_103, x_99, x_2, x_3); -lean_dec(x_1); -return x_104; -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; uint8_t x_107; -lean_dec(x_20); -x_105 = lean_unsigned_to_nat(2u); -x_106 = l_Lean_Syntax_getArg(x_1, x_105); -x_107 = l_Lean_Syntax_isNone(x_106); -if (x_107 == 0) -{ -uint8_t x_108; -lean_inc(x_106); -x_108 = l_Lean_Syntax_isNodeOf(x_106, x_15, x_19); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_106); -lean_dec(x_2); -lean_dec(x_1); -x_109 = lean_box(1); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_3); -return x_110; -} -else -{ -lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_111 = l_Lean_Syntax_getArg(x_106, x_8); -lean_dec(x_106); -x_112 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_111); -x_113 = l_Lean_Syntax_isOfKind(x_111, x_112); -if (x_113 == 0) -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_111); -lean_dec(x_2); -lean_dec(x_1); -x_114 = lean_box(1); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_3); -return x_115; -} -else -{ -lean_object* x_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 = l_Lean_Syntax_getArg(x_111, x_19); -lean_dec(x_111); -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_119 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_120 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_121 = lean_box(0); -x_122 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_118, x_10, x_119, x_120, x_121, x_117, x_2, x_3); -lean_dec(x_1); -return x_122; -} -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_106); -x_123 = lean_box(0); -x_124 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_125 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_126 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_127 = lean_box(0); -x_128 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_124, x_10, x_125, x_126, x_127, x_123, x_2, x_3); -lean_dec(x_1); -return x_128; -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; uint8_t x_131; -lean_dec(x_20); -x_129 = lean_unsigned_to_nat(2u); -x_130 = l_Lean_Syntax_getArg(x_1, x_129); -x_131 = l_Lean_Syntax_isNone(x_130); -if (x_131 == 0) -{ -uint8_t x_132; -lean_inc(x_130); -x_132 = l_Lean_Syntax_isNodeOf(x_130, x_15, x_19); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_130); -lean_dec(x_2); -lean_dec(x_1); -x_133 = lean_box(1); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_3); -return x_134; -} -else -{ -lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_135 = l_Lean_Syntax_getArg(x_130, x_8); -lean_dec(x_130); -x_136 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_135); -x_137 = l_Lean_Syntax_isOfKind(x_135, x_136); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -lean_dec(x_135); -lean_dec(x_2); -lean_dec(x_1); -x_138 = lean_box(1); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_3); -return x_139; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_140 = l_Lean_Syntax_getArg(x_135, x_19); -lean_dec(x_135); -x_141 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_142 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_143 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_144 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_145 = lean_box(0); -x_146 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_142, x_10, x_143, x_144, x_145, x_141, x_2, x_3); -lean_dec(x_1); -return x_146; -} -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_130); -x_147 = lean_box(0); -x_148 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_149 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_150 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_151 = lean_box(0); -x_152 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_148, x_10, x_149, x_150, x_151, x_147, x_2, x_3); -lean_dec(x_1); -return x_152; -} -} -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix___lambda__16), 3, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Elab_Command_expandMixfix___closed__1; -x_5 = l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(x_1, x_4, x_2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Command_expandMixfix___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) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__4(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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__10(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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___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_Command_expandMixfix___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__13(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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___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_Command_expandMixfix___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expandMixfix"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix), 3, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -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); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 < x_2; -if (x_5 == 0) -{ lean_object* x_6; -x_6 = x_4; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); return x_6; } -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -x_10 = x_7; -x_11 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_1, x_10); -x_12 = 1; -x_13 = x_3 + x_12; -x_14 = x_11; -x_15 = lean_array_uset(x_9, x_3, x_14); -x_3 = x_13; -x_4 = x_15; -goto _start; } -} -} -uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_Syntax_getId(x_2); -x_4 = l_Lean_Syntax_getId(x_1); -x_5 = lean_name_eq(x_3, x_4); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_2); -x_4 = l_Lean_Syntax_isOfKind(x_2, x_3); -if (x_4 == 0) -{ -if (lean_obj_tag(x_2) == 1) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_6 = lean_ctor_get(x_2, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_9 = 0; -x_10 = x_6; -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_8, x_9, x_10); -x_12 = x_11; -lean_ctor_set(x_2, 1, x_12); -return x_2; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_2, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_2); -x_15 = lean_array_get_size(x_14); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = x_14; -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_16, x_17, x_18); -x_20 = x_19; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_13); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -return x_2; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_inc(x_2); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed), 2, 1); -lean_closure_set(x_22, 0, x_2); -x_23 = lean_array_get_size(x_1); -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Array_findIdx_x3f_loop___rarg(x_1, x_22, x_23, x_24, lean_box(0)); -if (lean_obj_tag(x_25) == 0) -{ -return x_2; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_25); -x_26 = lean_box(0); -x_27 = lean_box(0); -x_28 = l_Lean_Syntax_mkAntiquotNode(x_2, x_24, x_26, x_27); -return x_28; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(x_1, x_5, x_6, x_4); lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___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_Syntax_0__Lean_Elab_Command_antiquote___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_Syntax_0__Lean_Elab_Command_antiquote___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("term"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -lean_inc(x_1); -x_4 = l_Lean_Syntax_getKind(x_1); -x_5 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; -x_6 = lean_name_eq(x_4, x_5); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_strLitKind; -x_8 = lean_name_eq(x_4, x_7); -lean_dec(x_4); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_1); -x_9 = lean_box(1); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); return x_10; } -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_12 = lean_array_push(x_11, x_1); -x_13 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; } -} -else -{ -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_dec(x_4); -x_16 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_17 = l_Lean_mkIdentFrom(x_1, x_16); -x_18 = lean_unsigned_to_nat(1u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -lean_dec(x_1); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_21 = lean_array_push(x_20, x_17); -x_22 = lean_array_push(x_21, x_19); -x_23 = l_Lean_Elab_Term_checkLeftRec___closed__4; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_3); -return x_25; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___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_4; -x_4 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_1, x_2, x_3); +lean_object* x_7; +x_7 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_7; } } lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -26930,11190 +19702,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -lean_inc(x_1); -x_4 = l_Lean_Syntax_getKind(x_1); -x_5 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; -x_6 = lean_name_eq(x_4, x_5); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_strLitKind; -x_8 = lean_name_eq(x_4, x_7); -lean_dec(x_4); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_1); -x_9 = lean_box(1); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -else -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_strLitToPattern(x_1, x_2, x_3); -lean_dec(x_1); -return x_11; -} -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_4); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -lean_dec(x_1); -x_14 = lean_box(0); -x_15 = lean_box(0); -x_16 = l_Lean_Syntax_mkAntiquotNode(x_13, x_12, x_14, x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -return x_17; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Lean_Elab_Command_mkSimpleDelab_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_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_ctor_get(x_5, 0); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_apply_1(x_2, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -else -{ -lean_object* x_11; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_11 = lean_apply_1(x_3, x_1); -return x_11; -} -} -} -} -lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = lean_ctor_get(x_1, 5); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; -} -} -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object* 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_3, x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_sub(x_3, x_7); -lean_dec(x_3); -x_9 = lean_array_fget(x_1, x_8); -x_10 = l_Lean_Syntax_structEq(x_2, x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -x_3 = x_8; -x_4 = lean_box(0); -goto _start; -} -else -{ -uint8_t x_12; -lean_dec(x_8); -x_12 = 0; -return x_12; -} -} -else -{ -uint8_t x_13; -lean_dec(x_3); -x_13 = 1; -return x_13; -} -} -} -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_array_get_size(x_1); -x_4 = lean_nat_dec_lt(x_2, x_3); -lean_dec(x_3); -if (x_4 == 0) -{ -uint8_t x_5; -lean_dec(x_2); -x_5 = 1; -return x_5; -} -else -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_fget(x_1, x_2); -lean_inc(x_2); -x_7 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_1, x_6, x_2, lean_box(0)); -lean_dec(x_6); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_2); -x_8 = 0; -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_2, x_9); -lean_dec(x_2); -x_2 = x_10; -goto _start; -} -} -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_uget(x_1, x_2); -x_6 = l_Lean_Syntax_getAntiquotTerm(x_5); -lean_dec(x_5); -x_7 = l_Lean_Syntax_isIdent(x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -else -{ -size_t x_9; size_t x_10; -x_9 = 1; -x_10 = x_2 + x_9; -x_2 = x_10; -goto _start; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("appUnexpander"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___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_Lean_Elab_Command_mkSimpleDelab___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpand"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__5; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -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_Lean_Elab_Command_mkSimpleDelab___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.PrettyPrinter.Unexpander"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___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_Lean_Elab_Command_mkSimpleDelab___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("PrettyPrinter"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Unexpander"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -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_Elab_Command_mkSimpleDelab___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; -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_Lean_Elab_Command_mkSimpleDelab___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_mkSimpleDelab(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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -lean_inc(x_4); -x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); -if (x_8 == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_4); -x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -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_6); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = l_Lean_Syntax_getId(x_4); -lean_dec(x_4); -lean_inc(x_5); -x_14 = l_Lean_Macro_resolveGlobalName(x_13, x_5, x_6); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_14, 0, x_18); -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_15, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); -lean_dec(x_15); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_14, 1); -lean_inc(x_25); -lean_dec(x_14); -x_26 = lean_ctor_get(x_22, 0); -lean_inc(x_26); -lean_dec(x_22); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_25); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_27, 0); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_5, 2); -lean_inc(x_32); -x_33 = lean_ctor_get(x_5, 1); -lean_inc(x_33); -lean_dec(x_5); -x_34 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_31); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_32); -lean_inc(x_33); -x_37 = l_Lean_addMacroScope(x_33, x_36, x_32); -x_38 = lean_box(0); -x_39 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_31); -x_40 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_40, 0, x_31); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_37); -lean_ctor_set(x_40, 3, x_38); -x_41 = lean_mk_syntax_ident(x_26); -x_42 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_43 = lean_array_push(x_42, x_41); -x_44 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_47 = lean_array_push(x_46, x_40); -x_48 = lean_array_push(x_47, x_45); -x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = lean_array_push(x_46, x_1); -x_52 = lean_array_push(x_51, x_50); -x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_42, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_44); -lean_ctor_set(x_56, 1, x_55); -x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_31); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_31); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_60 = lean_array_push(x_59, x_35); -x_61 = lean_array_push(x_60, x_56); -x_62 = lean_array_push(x_61, x_58); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_42, x_64); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_44); -lean_ctor_set(x_66, 1, x_65); -x_67 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_68 = lean_array_push(x_67, x_66); -x_69 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_70 = lean_array_push(x_68, x_69); -x_71 = lean_array_push(x_70, x_69); -x_72 = lean_array_push(x_71, x_69); -x_73 = lean_array_push(x_72, x_69); -x_74 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_31); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_31); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_32); -lean_inc(x_33); -x_79 = l_Lean_addMacroScope(x_33, x_78, x_32); -x_80 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_31); -x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_31); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set(x_81, 2, x_79); -lean_ctor_set(x_81, 3, x_38); -x_82 = lean_array_push(x_46, x_81); -x_83 = lean_array_push(x_82, x_69); -x_84 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_31); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_31); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -x_89 = l_Lean_addMacroScope(x_33, x_88, x_32); -x_90 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_91 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_31); -x_92 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_92, 0, x_31); -lean_ctor_set(x_92, 1, x_90); -lean_ctor_set(x_92, 2, x_89); -lean_ctor_set(x_92, 3, x_91); -x_93 = lean_array_push(x_46, x_87); -x_94 = lean_array_push(x_93, x_92); -x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_42, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_44); -lean_ctor_set(x_98, 1, x_97); -x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_100 = lean_array_push(x_99, x_98); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_31); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_31); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_31); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_31); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_31); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_31); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_array_push(x_42, x_108); -x_110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_array_push(x_42, x_111); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_44); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_31); -x_115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_115, 0, x_31); -lean_ctor_set(x_115, 1, x_114); -x_116 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_31); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_31); -lean_ctor_set(x_117, 1, x_116); -x_118 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_119, 0, x_31); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_59, x_117); -x_121 = lean_array_push(x_120, x_3); -x_122 = lean_array_push(x_121, x_119); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_array_push(x_59, x_113); -x_126 = lean_array_push(x_125, x_115); -x_127 = lean_array_push(x_126, x_124); -x_128 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_46, x_106); -x_131 = lean_array_push(x_130, x_129); -x_132 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_59, x_104); -x_135 = lean_array_push(x_134, x_133); -x_136 = lean_array_push(x_135, x_69); -x_137 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_140 = lean_array_push(x_139, x_77); -x_141 = lean_array_push(x_140, x_85); -x_142 = lean_array_push(x_141, x_102); -x_143 = lean_array_push(x_142, x_138); -x_144 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -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_46, x_75); -x_147 = lean_array_push(x_146, x_145); -x_148 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_29, 0, x_149); -return x_27; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 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_150 = lean_ctor_get(x_29, 0); -lean_inc(x_150); -lean_dec(x_29); -x_151 = lean_ctor_get(x_5, 2); -lean_inc(x_151); -x_152 = lean_ctor_get(x_5, 1); -lean_inc(x_152); -lean_dec(x_5); -x_153 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_150); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_150); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_151); -lean_inc(x_152); -x_156 = l_Lean_addMacroScope(x_152, x_155, x_151); -x_157 = lean_box(0); -x_158 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_150); -x_159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_159, 0, x_150); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set(x_159, 2, x_156); -lean_ctor_set(x_159, 3, x_157); -x_160 = lean_mk_syntax_ident(x_26); -x_161 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_162 = lean_array_push(x_161, x_160); -x_163 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_166 = lean_array_push(x_165, x_159); -x_167 = lean_array_push(x_166, x_164); -x_168 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_165, x_1); -x_171 = lean_array_push(x_170, x_169); -x_172 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -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 = lean_array_push(x_161, x_173); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_163); -lean_ctor_set(x_175, 1, x_174); -x_176 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_150); -x_177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_177, 0, x_150); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_179 = lean_array_push(x_178, x_154); -x_180 = lean_array_push(x_179, x_175); -x_181 = lean_array_push(x_180, x_177); -x_182 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_161, x_183); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_163); -lean_ctor_set(x_185, 1, x_184); -x_186 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_187 = lean_array_push(x_186, x_185); -x_188 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_189 = lean_array_push(x_187, x_188); -x_190 = lean_array_push(x_189, x_188); -x_191 = lean_array_push(x_190, x_188); -x_192 = lean_array_push(x_191, x_188); -x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_150); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_150); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_151); -lean_inc(x_152); -x_198 = l_Lean_addMacroScope(x_152, x_197, x_151); -x_199 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_150); -x_200 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_200, 0, x_150); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_198); -lean_ctor_set(x_200, 3, x_157); -x_201 = lean_array_push(x_165, x_200); -x_202 = lean_array_push(x_201, x_188); -x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_150); -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_150); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -x_208 = l_Lean_addMacroScope(x_152, x_207, x_151); -x_209 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_210 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_150); -x_211 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_211, 0, x_150); -lean_ctor_set(x_211, 1, x_209); -lean_ctor_set(x_211, 2, x_208); -lean_ctor_set(x_211, 3, x_210); -x_212 = lean_array_push(x_165, x_206); -x_213 = lean_array_push(x_212, x_211); -x_214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_array_push(x_161, x_215); -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_163); -lean_ctor_set(x_217, 1, x_216); -x_218 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_219 = lean_array_push(x_218, x_217); -x_220 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_219); -x_222 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_150); -x_223 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_223, 0, x_150); -lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_150); -x_225 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_225, 0, x_150); -lean_ctor_set(x_225, 1, x_224); -x_226 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_150); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_150); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_161, x_227); -x_229 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_228); -x_231 = lean_array_push(x_161, x_230); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_163); -lean_ctor_set(x_232, 1, x_231); -x_233 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_150); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_150); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_150); -x_236 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_236, 0, x_150); -lean_ctor_set(x_236, 1, x_235); -x_237 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_150); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_array_push(x_178, x_236); -x_240 = lean_array_push(x_239, x_3); -x_241 = lean_array_push(x_240, x_238); -x_242 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_array_push(x_178, x_232); -x_245 = lean_array_push(x_244, x_234); -x_246 = lean_array_push(x_245, x_243); -x_247 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -x_249 = lean_array_push(x_165, x_225); -x_250 = lean_array_push(x_249, x_248); -x_251 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = lean_array_push(x_178, x_223); -x_254 = lean_array_push(x_253, x_252); -x_255 = lean_array_push(x_254, x_188); -x_256 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_259 = lean_array_push(x_258, x_196); -x_260 = lean_array_push(x_259, x_204); -x_261 = lean_array_push(x_260, x_221); -x_262 = lean_array_push(x_261, x_257); -x_263 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = lean_array_push(x_165, x_194); -x_266 = lean_array_push(x_265, x_264); -x_267 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_27, 0, x_269); -return x_27; -} -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_270 = lean_ctor_get(x_27, 0); -x_271 = lean_ctor_get(x_27, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_27); -x_272 = lean_ctor_get(x_270, 0); -lean_inc(x_272); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - x_273 = x_270; -} else { - lean_dec_ref(x_270); - x_273 = lean_box(0); -} -x_274 = lean_ctor_get(x_5, 2); -lean_inc(x_274); -x_275 = lean_ctor_get(x_5, 1); -lean_inc(x_275); -lean_dec(x_5); -x_276 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_272); -x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_272); -lean_ctor_set(x_277, 1, x_276); -x_278 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_274); -lean_inc(x_275); -x_279 = l_Lean_addMacroScope(x_275, x_278, x_274); -x_280 = lean_box(0); -x_281 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_272); -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_272); -lean_ctor_set(x_282, 1, x_281); -lean_ctor_set(x_282, 2, x_279); -lean_ctor_set(x_282, 3, x_280); -x_283 = lean_mk_syntax_ident(x_26); -x_284 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_285 = lean_array_push(x_284, x_283); -x_286 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_289 = lean_array_push(x_288, x_282); -x_290 = lean_array_push(x_289, x_287); -x_291 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = lean_array_push(x_288, x_1); -x_294 = lean_array_push(x_293, x_292); -x_295 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = lean_array_push(x_284, x_296); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_286); -lean_ctor_set(x_298, 1, x_297); -x_299 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_272); -x_300 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_300, 0, x_272); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_302 = lean_array_push(x_301, x_277); -x_303 = lean_array_push(x_302, x_298); -x_304 = lean_array_push(x_303, x_300); -x_305 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_305); -lean_ctor_set(x_306, 1, x_304); -x_307 = lean_array_push(x_284, x_306); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_286); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_310 = lean_array_push(x_309, x_308); -x_311 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_312 = lean_array_push(x_310, x_311); -x_313 = lean_array_push(x_312, x_311); -x_314 = lean_array_push(x_313, x_311); -x_315 = lean_array_push(x_314, x_311); -x_316 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_272); -x_319 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_319, 0, x_272); -lean_ctor_set(x_319, 1, x_318); -x_320 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_274); -lean_inc(x_275); -x_321 = l_Lean_addMacroScope(x_275, x_320, x_274); -x_322 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_272); -x_323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_323, 0, x_272); -lean_ctor_set(x_323, 1, x_322); -lean_ctor_set(x_323, 2, x_321); -lean_ctor_set(x_323, 3, x_280); -x_324 = lean_array_push(x_288, x_323); -x_325 = lean_array_push(x_324, x_311); -x_326 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_326); -lean_ctor_set(x_327, 1, x_325); -x_328 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_272); -x_329 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_329, 0, x_272); -lean_ctor_set(x_329, 1, x_328); -x_330 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -x_331 = l_Lean_addMacroScope(x_275, x_330, x_274); -x_332 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_333 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_272); -x_334 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_334, 0, x_272); -lean_ctor_set(x_334, 1, x_332); -lean_ctor_set(x_334, 2, x_331); -lean_ctor_set(x_334, 3, x_333); -x_335 = lean_array_push(x_288, x_329); -x_336 = lean_array_push(x_335, x_334); -x_337 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = lean_array_push(x_284, x_338); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_286); -lean_ctor_set(x_340, 1, x_339); -x_341 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_342 = lean_array_push(x_341, x_340); -x_343 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_272); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_272); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_272); -x_348 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_348, 0, x_272); -lean_ctor_set(x_348, 1, x_347); -x_349 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_272); -x_350 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_350, 0, x_272); -lean_ctor_set(x_350, 1, x_349); -x_351 = lean_array_push(x_284, x_350); -x_352 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_351); -x_354 = lean_array_push(x_284, x_353); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_286); -lean_ctor_set(x_355, 1, x_354); -x_356 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_272); -x_357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_357, 0, x_272); -lean_ctor_set(x_357, 1, x_356); -x_358 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_272); -x_359 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_359, 0, x_272); -lean_ctor_set(x_359, 1, x_358); -x_360 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -x_361 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_361, 0, x_272); -lean_ctor_set(x_361, 1, x_360); -x_362 = lean_array_push(x_301, x_359); -x_363 = lean_array_push(x_362, x_3); -x_364 = lean_array_push(x_363, x_361); -x_365 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_364); -x_367 = lean_array_push(x_301, x_355); -x_368 = lean_array_push(x_367, x_357); -x_369 = lean_array_push(x_368, x_366); -x_370 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_array_push(x_288, x_348); -x_373 = lean_array_push(x_372, x_371); -x_374 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_375, 0, x_374); -lean_ctor_set(x_375, 1, x_373); -x_376 = lean_array_push(x_301, x_346); -x_377 = lean_array_push(x_376, x_375); -x_378 = lean_array_push(x_377, x_311); -x_379 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_382 = lean_array_push(x_381, x_319); -x_383 = lean_array_push(x_382, x_327); -x_384 = lean_array_push(x_383, x_344); -x_385 = lean_array_push(x_384, x_380); -x_386 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_386); -lean_ctor_set(x_387, 1, x_385); -x_388 = lean_array_push(x_288, x_317); -x_389 = lean_array_push(x_388, x_387); -x_390 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_391, 1, x_389); -if (lean_is_scalar(x_273)) { - x_392 = lean_alloc_ctor(1, 1, 0); -} else { - x_392 = x_273; -} -lean_ctor_set(x_392, 0, x_391); -x_393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_271); -return x_393; -} -} -else -{ -uint8_t x_394; -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_394 = !lean_is_exclusive(x_14); -if (x_394 == 0) -{ -lean_object* x_395; lean_object* x_396; -x_395 = lean_ctor_get(x_14, 0); -lean_dec(x_395); -x_396 = lean_box(0); -lean_ctor_set(x_14, 0, x_396); -return x_14; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_397 = lean_ctor_get(x_14, 1); -lean_inc(x_397); -lean_dec(x_14); -x_398 = lean_box(0); -x_399 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_397); -return x_399; -} -} -} -else -{ -uint8_t x_400; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_400 = !lean_is_exclusive(x_14); -if (x_400 == 0) -{ -lean_object* x_401; lean_object* x_402; -x_401 = lean_ctor_get(x_14, 0); -lean_dec(x_401); -x_402 = lean_box(0); -lean_ctor_set(x_14, 0, x_402); -return x_14; -} -else -{ -lean_object* x_403; lean_object* x_404; lean_object* x_405; -x_403 = lean_ctor_get(x_14, 1); -lean_inc(x_403); -lean_dec(x_14); -x_404 = lean_box(0); -x_405 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_403); -return x_405; -} -} -} -} -else -{ -uint8_t x_406; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_406 = !lean_is_exclusive(x_14); -if (x_406 == 0) -{ -return x_14; -} -else -{ -lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_407 = lean_ctor_get(x_14, 0); -x_408 = lean_ctor_get(x_14, 1); -lean_inc(x_408); -lean_inc(x_407); -lean_dec(x_14); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_407); -lean_ctor_set(x_409, 1, x_408); -return x_409; -} -} -} -} -else -{ -lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; -x_410 = lean_unsigned_to_nat(0u); -x_411 = l_Lean_Syntax_getArg(x_4, x_410); -x_412 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_411); -x_413 = l_Lean_Syntax_isOfKind(x_411, x_412); -if (x_413 == 0) -{ -lean_object* x_414; lean_object* x_415; -lean_dec(x_411); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_414 = lean_box(0); -x_415 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_6); -return x_415; -} -else -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; -x_416 = lean_unsigned_to_nat(1u); -x_417 = l_Lean_Syntax_getArg(x_4, x_416); -lean_dec(x_4); -x_418 = l_Lean_Syntax_getArgs(x_417); -lean_dec(x_417); -x_419 = l_Lean_Syntax_getId(x_411); -lean_dec(x_411); -lean_inc(x_5); -x_420 = l_Lean_Macro_resolveGlobalName(x_419, x_5, x_6); -if (lean_obj_tag(x_420) == 0) -{ -lean_object* x_421; -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -if (lean_obj_tag(x_421) == 0) -{ -uint8_t x_422; -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_422 = !lean_is_exclusive(x_420); -if (x_422 == 0) -{ -lean_object* x_423; lean_object* x_424; -x_423 = lean_ctor_get(x_420, 0); -lean_dec(x_423); -x_424 = lean_box(0); -lean_ctor_set(x_420, 0, x_424); -return x_420; -} -else -{ -lean_object* x_425; lean_object* x_426; lean_object* x_427; -x_425 = lean_ctor_get(x_420, 1); -lean_inc(x_425); -lean_dec(x_420); -x_426 = lean_box(0); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -return x_427; -} -} -else -{ -lean_object* x_428; lean_object* x_429; -x_428 = lean_ctor_get(x_421, 0); -lean_inc(x_428); -x_429 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -if (lean_obj_tag(x_429) == 0) -{ -lean_object* x_430; -x_430 = lean_ctor_get(x_421, 1); -lean_inc(x_430); -lean_dec(x_421); -if (lean_obj_tag(x_430) == 0) -{ -uint8_t x_431; -x_431 = !lean_is_exclusive(x_420); -if (x_431 == 0) -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; -x_432 = lean_ctor_get(x_420, 1); -x_433 = lean_ctor_get(x_420, 0); -lean_dec(x_433); -x_434 = lean_ctor_get(x_428, 0); -lean_inc(x_434); -lean_dec(x_428); -x_435 = lean_array_get_size(x_418); -x_436 = lean_nat_dec_lt(x_410, x_435); -if (x_436 == 0) -{ -uint8_t x_437; -lean_dec(x_435); -x_437 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_437 == 0) -{ -lean_object* x_438; -lean_dec(x_434); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_438 = lean_box(0); -lean_ctor_set(x_420, 0, x_438); -return x_420; -} -else -{ -lean_object* x_439; lean_object* x_440; lean_object* x_948; lean_object* x_949; lean_object* x_950; uint8_t x_951; -lean_free_object(x_420); -x_948 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); -x_949 = lean_ctor_get(x_948, 0); -lean_inc(x_949); -x_950 = lean_ctor_get(x_948, 1); -lean_inc(x_950); -lean_dec(x_948); -x_951 = !lean_is_exclusive(x_949); -if (x_951 == 0) -{ -lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; -x_952 = lean_ctor_get(x_949, 0); -x_953 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_954 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_954, 0, x_952); -lean_ctor_set(x_954, 1, x_953); -x_955 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_956 = lean_array_push(x_955, x_954); -x_957 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_958, 0, x_957); -lean_ctor_set(x_958, 1, x_956); -lean_ctor_set(x_949, 0, x_958); -x_439 = x_949; -x_440 = x_950; -goto block_947; -} -else -{ -lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; -x_959 = lean_ctor_get(x_949, 0); -lean_inc(x_959); -lean_dec(x_949); -x_960 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_961 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_961, 0, x_959); -lean_ctor_set(x_961, 1, x_960); -x_962 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_963 = lean_array_push(x_962, x_961); -x_964 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_965 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_965, 0, x_964); -lean_ctor_set(x_965, 1, x_963); -x_966 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_966, 0, x_965); -x_439 = x_966; -x_440 = x_950; -goto block_947; -} -block_947: -{ -lean_object* x_441; lean_object* x_442; lean_object* x_917; lean_object* x_918; lean_object* x_919; uint8_t x_920; -x_917 = lean_ctor_get(x_439, 0); -lean_inc(x_917); -lean_dec(x_439); -x_918 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_440); -x_919 = lean_ctor_get(x_918, 0); -lean_inc(x_919); -x_920 = !lean_is_exclusive(x_919); -if (x_920 == 0) -{ -lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_921 = lean_ctor_get(x_919, 0); -lean_dec(x_921); -x_922 = lean_ctor_get(x_918, 1); -lean_inc(x_922); -lean_dec(x_918); -x_923 = lean_box(0); -x_924 = lean_box(0); -x_925 = l_Lean_Syntax_mkAntiquotNode(x_917, x_410, x_923, x_924); -x_926 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_927 = l_Array_append___rarg(x_926, x_418); -lean_dec(x_418); -x_928 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_929, 0, x_928); -lean_ctor_set(x_929, 1, x_927); -x_930 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_931 = lean_array_push(x_930, x_925); -x_932 = lean_array_push(x_931, x_929); -x_933 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_933, 0, x_7); -lean_ctor_set(x_933, 1, x_932); -lean_ctor_set(x_919, 0, x_933); -x_441 = x_919; -x_442 = x_922; -goto block_916; -} -else -{ -lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; -lean_dec(x_919); -x_934 = lean_ctor_get(x_918, 1); -lean_inc(x_934); -lean_dec(x_918); -x_935 = lean_box(0); -x_936 = lean_box(0); -x_937 = l_Lean_Syntax_mkAntiquotNode(x_917, x_410, x_935, x_936); -x_938 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_939 = l_Array_append___rarg(x_938, x_418); -lean_dec(x_418); -x_940 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_941, 0, x_940); -lean_ctor_set(x_941, 1, x_939); -x_942 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_943 = lean_array_push(x_942, x_937); -x_944 = lean_array_push(x_943, x_941); -x_945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_945, 0, x_7); -lean_ctor_set(x_945, 1, x_944); -x_946 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_946, 0, x_945); -x_441 = x_946; -x_442 = x_934; -goto block_916; -} -block_916: -{ -lean_object* x_443; lean_object* x_444; uint8_t x_445; -x_443 = lean_ctor_get(x_441, 0); -lean_inc(x_443); -lean_dec(x_441); -x_444 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_442); -x_445 = !lean_is_exclusive(x_444); -if (x_445 == 0) -{ -lean_object* x_446; uint8_t x_447; -x_446 = lean_ctor_get(x_444, 0); -x_447 = !lean_is_exclusive(x_446); -if (x_447 == 0) -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_448 = lean_ctor_get(x_446, 0); -x_449 = lean_ctor_get(x_5, 2); -lean_inc(x_449); -x_450 = lean_ctor_get(x_5, 1); -lean_inc(x_450); -lean_dec(x_5); -x_451 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_448); -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_448); -lean_ctor_set(x_452, 1, x_451); -x_453 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_449); -lean_inc(x_450); -x_454 = l_Lean_addMacroScope(x_450, x_453, x_449); -x_455 = lean_box(0); -x_456 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_448); -x_457 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_457, 0, x_448); -lean_ctor_set(x_457, 1, x_456); -lean_ctor_set(x_457, 2, x_454); -lean_ctor_set(x_457, 3, x_455); -x_458 = lean_mk_syntax_ident(x_434); -x_459 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_460 = lean_array_push(x_459, x_458); -x_461 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_460); -x_463 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_464 = lean_array_push(x_463, x_457); -x_465 = lean_array_push(x_464, x_462); -x_466 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_467, 0, x_466); -lean_ctor_set(x_467, 1, x_465); -x_468 = lean_array_push(x_463, x_1); -x_469 = lean_array_push(x_468, x_467); -x_470 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_470); -lean_ctor_set(x_471, 1, x_469); -x_472 = lean_array_push(x_459, x_471); -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_461); -lean_ctor_set(x_473, 1, x_472); -x_474 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_448); -x_475 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_475, 0, x_448); -lean_ctor_set(x_475, 1, x_474); -x_476 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_477 = lean_array_push(x_476, x_452); -x_478 = lean_array_push(x_477, x_473); -x_479 = lean_array_push(x_478, x_475); -x_480 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = lean_array_push(x_459, x_481); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_461); -lean_ctor_set(x_483, 1, x_482); -x_484 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_485 = lean_array_push(x_484, x_483); -x_486 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_487 = lean_array_push(x_485, x_486); -x_488 = lean_array_push(x_487, x_486); -x_489 = lean_array_push(x_488, x_486); -x_490 = lean_array_push(x_489, x_486); -x_491 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_490); -x_493 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_448); -x_494 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_494, 0, x_448); -lean_ctor_set(x_494, 1, x_493); -x_495 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_449); -lean_inc(x_450); -x_496 = l_Lean_addMacroScope(x_450, x_495, x_449); -x_497 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_448); -x_498 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_498, 0, x_448); -lean_ctor_set(x_498, 1, x_497); -lean_ctor_set(x_498, 2, x_496); -lean_ctor_set(x_498, 3, x_455); -x_499 = lean_array_push(x_463, x_498); -x_500 = lean_array_push(x_499, x_486); -x_501 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_502, 0, x_501); -lean_ctor_set(x_502, 1, x_500); -x_503 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_448); -x_504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_504, 0, x_448); -lean_ctor_set(x_504, 1, x_503); -x_505 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_449); -lean_inc(x_450); -x_506 = l_Lean_addMacroScope(x_450, x_505, x_449); -x_507 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_508 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_448); -x_509 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_509, 0, x_448); -lean_ctor_set(x_509, 1, x_507); -lean_ctor_set(x_509, 2, x_506); -lean_ctor_set(x_509, 3, x_508); -x_510 = lean_array_push(x_463, x_504); -x_511 = lean_array_push(x_510, x_509); -x_512 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_511); -x_514 = lean_array_push(x_459, x_513); -x_515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_515, 0, x_461); -lean_ctor_set(x_515, 1, x_514); -x_516 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_517 = lean_array_push(x_516, x_515); -x_518 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_518); -lean_ctor_set(x_519, 1, x_517); -x_520 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_448); -x_521 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_521, 0, x_448); -lean_ctor_set(x_521, 1, x_520); -x_522 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_448); -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_448); -lean_ctor_set(x_523, 1, x_522); -x_524 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_448); -x_525 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_525, 0, x_448); -lean_ctor_set(x_525, 1, x_524); -x_526 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_448); -x_527 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_527, 0, x_448); -lean_ctor_set(x_527, 1, x_526); -x_528 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_448); -x_529 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_529, 0, x_448); -lean_ctor_set(x_529, 1, x_528); -x_530 = lean_array_push(x_476, x_527); -lean_inc(x_530); -x_531 = lean_array_push(x_530, x_443); -lean_inc(x_529); -x_532 = lean_array_push(x_531, x_529); -x_533 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -x_535 = lean_array_push(x_459, x_534); -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_461); -lean_ctor_set(x_536, 1, x_535); -x_537 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_448); -x_538 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_538, 0, x_448); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_array_push(x_530, x_3); -lean_inc(x_529); -x_540 = lean_array_push(x_539, x_529); -x_541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_541, 0, x_533); -lean_ctor_set(x_541, 1, x_540); -x_542 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_543 = lean_array_push(x_542, x_525); -lean_inc(x_543); -x_544 = lean_array_push(x_543, x_536); -lean_inc(x_538); -x_545 = lean_array_push(x_544, x_538); -x_546 = lean_array_push(x_545, x_541); -x_547 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_546); -x_549 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_448); -x_550 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_550, 0, x_448); -lean_ctor_set(x_550, 1, x_549); -x_551 = lean_array_push(x_459, x_550); -x_552 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_551); -x_554 = lean_array_push(x_459, x_553); -x_555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_555, 0, x_461); -lean_ctor_set(x_555, 1, x_554); -x_556 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_557 = l_Lean_addMacroScope(x_450, x_556, x_449); -x_558 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_559 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_448); -x_560 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_560, 0, x_448); -lean_ctor_set(x_560, 1, x_558); -lean_ctor_set(x_560, 2, x_557); -lean_ctor_set(x_560, 3, x_559); -x_561 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_562 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_562, 0, x_448); -lean_ctor_set(x_562, 1, x_561); -x_563 = lean_array_push(x_476, x_562); -x_564 = lean_array_push(x_563, x_486); -x_565 = lean_array_push(x_564, x_529); -x_566 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_566); -lean_ctor_set(x_567, 1, x_565); -x_568 = lean_array_push(x_459, x_567); -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_461); -lean_ctor_set(x_569, 1, x_568); -x_570 = lean_array_push(x_463, x_560); -x_571 = lean_array_push(x_570, x_569); -x_572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_572, 0, x_7); -lean_ctor_set(x_572, 1, x_571); -x_573 = lean_array_push(x_543, x_555); -x_574 = lean_array_push(x_573, x_538); -x_575 = lean_array_push(x_574, x_572); -x_576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_576, 0, x_547); -lean_ctor_set(x_576, 1, x_575); -x_577 = lean_array_push(x_463, x_548); -x_578 = lean_array_push(x_577, x_576); -x_579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_579, 0, x_461); -lean_ctor_set(x_579, 1, x_578); -x_580 = lean_array_push(x_459, x_579); -x_581 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_580); -x_583 = lean_array_push(x_463, x_523); -x_584 = lean_array_push(x_583, x_582); -x_585 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_586, 0, x_585); -lean_ctor_set(x_586, 1, x_584); -x_587 = lean_array_push(x_476, x_521); -x_588 = lean_array_push(x_587, x_586); -x_589 = lean_array_push(x_588, x_486); -x_590 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_589); -x_592 = lean_array_push(x_542, x_494); -x_593 = lean_array_push(x_592, x_502); -x_594 = lean_array_push(x_593, x_519); -x_595 = lean_array_push(x_594, x_591); -x_596 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_595); -x_598 = lean_array_push(x_463, x_492); -x_599 = lean_array_push(x_598, x_597); -x_600 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -lean_ctor_set(x_446, 0, x_601); -return x_444; -} -else -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_602 = lean_ctor_get(x_446, 0); -lean_inc(x_602); -lean_dec(x_446); -x_603 = lean_ctor_get(x_5, 2); -lean_inc(x_603); -x_604 = lean_ctor_get(x_5, 1); -lean_inc(x_604); -lean_dec(x_5); -x_605 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_602); -x_606 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_606, 0, x_602); -lean_ctor_set(x_606, 1, x_605); -x_607 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_603); -lean_inc(x_604); -x_608 = l_Lean_addMacroScope(x_604, x_607, x_603); -x_609 = lean_box(0); -x_610 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_602); -x_611 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_611, 0, x_602); -lean_ctor_set(x_611, 1, x_610); -lean_ctor_set(x_611, 2, x_608); -lean_ctor_set(x_611, 3, x_609); -x_612 = lean_mk_syntax_ident(x_434); -x_613 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_614 = lean_array_push(x_613, x_612); -x_615 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_615); -lean_ctor_set(x_616, 1, x_614); -x_617 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_618 = lean_array_push(x_617, x_611); -x_619 = lean_array_push(x_618, x_616); -x_620 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_620); -lean_ctor_set(x_621, 1, x_619); -x_622 = lean_array_push(x_617, x_1); -x_623 = lean_array_push(x_622, x_621); -x_624 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_625, 0, x_624); -lean_ctor_set(x_625, 1, x_623); -x_626 = lean_array_push(x_613, x_625); -x_627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_627, 0, x_615); -lean_ctor_set(x_627, 1, x_626); -x_628 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_602); -x_629 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_629, 0, x_602); -lean_ctor_set(x_629, 1, x_628); -x_630 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_631 = lean_array_push(x_630, x_606); -x_632 = lean_array_push(x_631, x_627); -x_633 = lean_array_push(x_632, x_629); -x_634 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_633); -x_636 = lean_array_push(x_613, x_635); -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_615); -lean_ctor_set(x_637, 1, x_636); -x_638 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_639 = lean_array_push(x_638, x_637); -x_640 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_641 = lean_array_push(x_639, x_640); -x_642 = lean_array_push(x_641, x_640); -x_643 = lean_array_push(x_642, x_640); -x_644 = lean_array_push(x_643, x_640); -x_645 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_645); -lean_ctor_set(x_646, 1, x_644); -x_647 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_602); -x_648 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_648, 0, x_602); -lean_ctor_set(x_648, 1, x_647); -x_649 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_603); -lean_inc(x_604); -x_650 = l_Lean_addMacroScope(x_604, x_649, x_603); -x_651 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_602); -x_652 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_652, 0, x_602); -lean_ctor_set(x_652, 1, x_651); -lean_ctor_set(x_652, 2, x_650); -lean_ctor_set(x_652, 3, x_609); -x_653 = lean_array_push(x_617, x_652); -x_654 = lean_array_push(x_653, x_640); -x_655 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_656 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_656, 0, x_655); -lean_ctor_set(x_656, 1, x_654); -x_657 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_602); -x_658 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_658, 0, x_602); -lean_ctor_set(x_658, 1, x_657); -x_659 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_603); -lean_inc(x_604); -x_660 = l_Lean_addMacroScope(x_604, x_659, x_603); -x_661 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_662 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_602); -x_663 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_663, 0, x_602); -lean_ctor_set(x_663, 1, x_661); -lean_ctor_set(x_663, 2, x_660); -lean_ctor_set(x_663, 3, x_662); -x_664 = lean_array_push(x_617, x_658); -x_665 = lean_array_push(x_664, x_663); -x_666 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_667, 0, x_666); -lean_ctor_set(x_667, 1, x_665); -x_668 = lean_array_push(x_613, x_667); -x_669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_669, 0, x_615); -lean_ctor_set(x_669, 1, x_668); -x_670 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_671 = lean_array_push(x_670, x_669); -x_672 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_673, 0, x_672); -lean_ctor_set(x_673, 1, x_671); -x_674 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_602); -x_675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_675, 0, x_602); -lean_ctor_set(x_675, 1, x_674); -x_676 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_602); -x_677 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_677, 0, x_602); -lean_ctor_set(x_677, 1, x_676); -x_678 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_602); -x_679 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_679, 0, x_602); -lean_ctor_set(x_679, 1, x_678); -x_680 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_602); -x_681 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_681, 0, x_602); -lean_ctor_set(x_681, 1, x_680); -x_682 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_602); -x_683 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_683, 0, x_602); -lean_ctor_set(x_683, 1, x_682); -x_684 = lean_array_push(x_630, x_681); -lean_inc(x_684); -x_685 = lean_array_push(x_684, x_443); -lean_inc(x_683); -x_686 = lean_array_push(x_685, x_683); -x_687 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_686); -x_689 = lean_array_push(x_613, x_688); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_615); -lean_ctor_set(x_690, 1, x_689); -x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_602); -x_692 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_692, 0, x_602); -lean_ctor_set(x_692, 1, x_691); -x_693 = lean_array_push(x_684, x_3); -lean_inc(x_683); -x_694 = lean_array_push(x_693, x_683); -x_695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_695, 0, x_687); -lean_ctor_set(x_695, 1, x_694); -x_696 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_697 = lean_array_push(x_696, x_679); -lean_inc(x_697); -x_698 = lean_array_push(x_697, x_690); -lean_inc(x_692); -x_699 = lean_array_push(x_698, x_692); -x_700 = lean_array_push(x_699, x_695); -x_701 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_702, 0, x_701); -lean_ctor_set(x_702, 1, x_700); -x_703 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_602); -x_704 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_704, 0, x_602); -lean_ctor_set(x_704, 1, x_703); -x_705 = lean_array_push(x_613, x_704); -x_706 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_705); -x_708 = lean_array_push(x_613, x_707); -x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_615); -lean_ctor_set(x_709, 1, x_708); -x_710 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_711 = l_Lean_addMacroScope(x_604, x_710, x_603); -x_712 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_713 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_602); -x_714 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_714, 0, x_602); -lean_ctor_set(x_714, 1, x_712); -lean_ctor_set(x_714, 2, x_711); -lean_ctor_set(x_714, 3, x_713); -x_715 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_716 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_716, 0, x_602); -lean_ctor_set(x_716, 1, x_715); -x_717 = lean_array_push(x_630, x_716); -x_718 = lean_array_push(x_717, x_640); -x_719 = lean_array_push(x_718, x_683); -x_720 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_721, 0, x_720); -lean_ctor_set(x_721, 1, x_719); -x_722 = lean_array_push(x_613, x_721); -x_723 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_723, 0, x_615); -lean_ctor_set(x_723, 1, x_722); -x_724 = lean_array_push(x_617, x_714); -x_725 = lean_array_push(x_724, x_723); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_7); -lean_ctor_set(x_726, 1, x_725); -x_727 = lean_array_push(x_697, x_709); -x_728 = lean_array_push(x_727, x_692); -x_729 = lean_array_push(x_728, x_726); -x_730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_730, 0, x_701); -lean_ctor_set(x_730, 1, x_729); -x_731 = lean_array_push(x_617, x_702); -x_732 = lean_array_push(x_731, x_730); -x_733 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_733, 0, x_615); -lean_ctor_set(x_733, 1, x_732); -x_734 = lean_array_push(x_613, x_733); -x_735 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_736 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_736, 0, x_735); -lean_ctor_set(x_736, 1, x_734); -x_737 = lean_array_push(x_617, x_677); -x_738 = lean_array_push(x_737, x_736); -x_739 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_738); -x_741 = lean_array_push(x_630, x_675); -x_742 = lean_array_push(x_741, x_740); -x_743 = lean_array_push(x_742, x_640); -x_744 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_745 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_745, 0, x_744); -lean_ctor_set(x_745, 1, x_743); -x_746 = lean_array_push(x_696, x_648); -x_747 = lean_array_push(x_746, x_656); -x_748 = lean_array_push(x_747, x_673); -x_749 = lean_array_push(x_748, x_745); -x_750 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_751 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_751, 0, x_750); -lean_ctor_set(x_751, 1, x_749); -x_752 = lean_array_push(x_617, x_646); -x_753 = lean_array_push(x_752, x_751); -x_754 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_755 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_755, 0, x_754); -lean_ctor_set(x_755, 1, x_753); -x_756 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_444, 0, x_756); -return x_444; -} -} -else -{ -lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; -x_757 = lean_ctor_get(x_444, 0); -x_758 = lean_ctor_get(x_444, 1); -lean_inc(x_758); -lean_inc(x_757); -lean_dec(x_444); -x_759 = lean_ctor_get(x_757, 0); -lean_inc(x_759); -if (lean_is_exclusive(x_757)) { - lean_ctor_release(x_757, 0); - x_760 = x_757; -} else { - lean_dec_ref(x_757); - x_760 = lean_box(0); -} -x_761 = lean_ctor_get(x_5, 2); -lean_inc(x_761); -x_762 = lean_ctor_get(x_5, 1); -lean_inc(x_762); -lean_dec(x_5); -x_763 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_759); -x_764 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_764, 0, x_759); -lean_ctor_set(x_764, 1, x_763); -x_765 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_761); -lean_inc(x_762); -x_766 = l_Lean_addMacroScope(x_762, x_765, x_761); -x_767 = lean_box(0); -x_768 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_759); -x_769 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_769, 0, x_759); -lean_ctor_set(x_769, 1, x_768); -lean_ctor_set(x_769, 2, x_766); -lean_ctor_set(x_769, 3, x_767); -x_770 = lean_mk_syntax_ident(x_434); -x_771 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_772 = lean_array_push(x_771, x_770); -x_773 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_772); -x_775 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_776 = lean_array_push(x_775, x_769); -x_777 = lean_array_push(x_776, x_774); -x_778 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_779 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_779, 0, x_778); -lean_ctor_set(x_779, 1, x_777); -x_780 = lean_array_push(x_775, x_1); -x_781 = lean_array_push(x_780, x_779); -x_782 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_781); -x_784 = lean_array_push(x_771, x_783); -x_785 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_785, 0, x_773); -lean_ctor_set(x_785, 1, x_784); -x_786 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_759); -x_787 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_787, 0, x_759); -lean_ctor_set(x_787, 1, x_786); -x_788 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_789 = lean_array_push(x_788, x_764); -x_790 = lean_array_push(x_789, x_785); -x_791 = lean_array_push(x_790, x_787); -x_792 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_793 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_793, 0, x_792); -lean_ctor_set(x_793, 1, x_791); -x_794 = lean_array_push(x_771, x_793); -x_795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_795, 0, x_773); -lean_ctor_set(x_795, 1, x_794); -x_796 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_797 = lean_array_push(x_796, x_795); -x_798 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_799 = lean_array_push(x_797, x_798); -x_800 = lean_array_push(x_799, x_798); -x_801 = lean_array_push(x_800, x_798); -x_802 = lean_array_push(x_801, x_798); -x_803 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_803); -lean_ctor_set(x_804, 1, x_802); -x_805 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_759); -x_806 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_806, 0, x_759); -lean_ctor_set(x_806, 1, x_805); -x_807 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_761); -lean_inc(x_762); -x_808 = l_Lean_addMacroScope(x_762, x_807, x_761); -x_809 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_759); -x_810 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_810, 0, x_759); -lean_ctor_set(x_810, 1, x_809); -lean_ctor_set(x_810, 2, x_808); -lean_ctor_set(x_810, 3, x_767); -x_811 = lean_array_push(x_775, x_810); -x_812 = lean_array_push(x_811, x_798); -x_813 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_814, 0, x_813); -lean_ctor_set(x_814, 1, x_812); -x_815 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_759); -x_816 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_816, 0, x_759); -lean_ctor_set(x_816, 1, x_815); -x_817 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_761); -lean_inc(x_762); -x_818 = l_Lean_addMacroScope(x_762, x_817, x_761); -x_819 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_820 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_759); -x_821 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_821, 0, x_759); -lean_ctor_set(x_821, 1, x_819); -lean_ctor_set(x_821, 2, x_818); -lean_ctor_set(x_821, 3, x_820); -x_822 = lean_array_push(x_775, x_816); -x_823 = lean_array_push(x_822, x_821); -x_824 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_825 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_825, 0, x_824); -lean_ctor_set(x_825, 1, x_823); -x_826 = lean_array_push(x_771, x_825); -x_827 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_827, 0, x_773); -lean_ctor_set(x_827, 1, x_826); -x_828 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_829 = lean_array_push(x_828, x_827); -x_830 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_831, 0, x_830); -lean_ctor_set(x_831, 1, x_829); -x_832 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_759); -x_833 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_833, 0, x_759); -lean_ctor_set(x_833, 1, x_832); -x_834 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_759); -x_835 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_835, 0, x_759); -lean_ctor_set(x_835, 1, x_834); -x_836 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_759); -x_837 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_837, 0, x_759); -lean_ctor_set(x_837, 1, x_836); -x_838 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_759); -x_839 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_839, 0, x_759); -lean_ctor_set(x_839, 1, x_838); -x_840 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_759); -x_841 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_841, 0, x_759); -lean_ctor_set(x_841, 1, x_840); -x_842 = lean_array_push(x_788, x_839); -lean_inc(x_842); -x_843 = lean_array_push(x_842, x_443); -lean_inc(x_841); -x_844 = lean_array_push(x_843, x_841); -x_845 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_846 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_846, 0, x_845); -lean_ctor_set(x_846, 1, x_844); -x_847 = lean_array_push(x_771, x_846); -x_848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_848, 0, x_773); -lean_ctor_set(x_848, 1, x_847); -x_849 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_759); -x_850 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_850, 0, x_759); -lean_ctor_set(x_850, 1, x_849); -x_851 = lean_array_push(x_842, x_3); -lean_inc(x_841); -x_852 = lean_array_push(x_851, x_841); -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_845); -lean_ctor_set(x_853, 1, x_852); -x_854 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_855 = lean_array_push(x_854, x_837); -lean_inc(x_855); -x_856 = lean_array_push(x_855, x_848); -lean_inc(x_850); -x_857 = lean_array_push(x_856, x_850); -x_858 = lean_array_push(x_857, x_853); -x_859 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_860, 0, x_859); -lean_ctor_set(x_860, 1, x_858); -x_861 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_759); -x_862 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_862, 0, x_759); -lean_ctor_set(x_862, 1, x_861); -x_863 = lean_array_push(x_771, x_862); -x_864 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_865 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_865, 0, x_864); -lean_ctor_set(x_865, 1, x_863); -x_866 = lean_array_push(x_771, x_865); -x_867 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_867, 0, x_773); -lean_ctor_set(x_867, 1, x_866); -x_868 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_869 = l_Lean_addMacroScope(x_762, x_868, x_761); -x_870 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_871 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_759); -x_872 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_872, 0, x_759); -lean_ctor_set(x_872, 1, x_870); -lean_ctor_set(x_872, 2, x_869); -lean_ctor_set(x_872, 3, x_871); -x_873 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_874 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_874, 0, x_759); -lean_ctor_set(x_874, 1, x_873); -x_875 = lean_array_push(x_788, x_874); -x_876 = lean_array_push(x_875, x_798); -x_877 = lean_array_push(x_876, x_841); -x_878 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -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 = lean_array_push(x_771, x_879); -x_881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_881, 0, x_773); -lean_ctor_set(x_881, 1, x_880); -x_882 = lean_array_push(x_775, x_872); -x_883 = lean_array_push(x_882, x_881); -x_884 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_884, 0, x_7); -lean_ctor_set(x_884, 1, x_883); -x_885 = lean_array_push(x_855, x_867); -x_886 = lean_array_push(x_885, x_850); -x_887 = lean_array_push(x_886, x_884); -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_859); -lean_ctor_set(x_888, 1, x_887); -x_889 = lean_array_push(x_775, x_860); -x_890 = lean_array_push(x_889, x_888); -x_891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_891, 0, x_773); -lean_ctor_set(x_891, 1, x_890); -x_892 = lean_array_push(x_771, x_891); -x_893 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_893); -lean_ctor_set(x_894, 1, x_892); -x_895 = lean_array_push(x_775, x_835); -x_896 = lean_array_push(x_895, x_894); -x_897 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_896); -x_899 = lean_array_push(x_788, x_833); -x_900 = lean_array_push(x_899, x_898); -x_901 = lean_array_push(x_900, x_798); -x_902 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_902); -lean_ctor_set(x_903, 1, x_901); -x_904 = lean_array_push(x_854, x_806); -x_905 = lean_array_push(x_904, x_814); -x_906 = lean_array_push(x_905, x_831); -x_907 = lean_array_push(x_906, x_903); -x_908 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_909 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_909, 0, x_908); -lean_ctor_set(x_909, 1, x_907); -x_910 = lean_array_push(x_775, x_804); -x_911 = lean_array_push(x_910, x_909); -x_912 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_913, 0, x_912); -lean_ctor_set(x_913, 1, x_911); -if (lean_is_scalar(x_760)) { - x_914 = lean_alloc_ctor(1, 1, 0); -} else { - x_914 = x_760; -} -lean_ctor_set(x_914, 0, x_913); -x_915 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_915, 0, x_914); -lean_ctor_set(x_915, 1, x_758); -return x_915; -} -} -} -} -} -else -{ -uint8_t x_967; -x_967 = lean_nat_dec_le(x_435, x_435); -if (x_967 == 0) -{ -uint8_t x_968; -lean_dec(x_435); -x_968 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_968 == 0) -{ -lean_object* x_969; -lean_dec(x_434); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_969 = lean_box(0); -lean_ctor_set(x_420, 0, x_969); -return x_420; -} -else -{ -lean_object* x_970; lean_object* x_971; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; uint8_t x_1482; -lean_free_object(x_420); -x_1479 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); -x_1480 = lean_ctor_get(x_1479, 0); -lean_inc(x_1480); -x_1481 = lean_ctor_get(x_1479, 1); -lean_inc(x_1481); -lean_dec(x_1479); -x_1482 = !lean_is_exclusive(x_1480); -if (x_1482 == 0) -{ -lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; -x_1483 = lean_ctor_get(x_1480, 0); -x_1484 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_1485 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1485, 0, x_1483); -lean_ctor_set(x_1485, 1, x_1484); -x_1486 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1487 = lean_array_push(x_1486, x_1485); -x_1488 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1489, 0, x_1488); -lean_ctor_set(x_1489, 1, x_1487); -lean_ctor_set(x_1480, 0, x_1489); -x_970 = x_1480; -x_971 = x_1481; -goto block_1478; -} -else -{ -lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; -x_1490 = lean_ctor_get(x_1480, 0); -lean_inc(x_1490); -lean_dec(x_1480); -x_1491 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_1492 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1492, 0, x_1490); -lean_ctor_set(x_1492, 1, x_1491); -x_1493 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1494 = lean_array_push(x_1493, x_1492); -x_1495 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1496, 0, x_1495); -lean_ctor_set(x_1496, 1, x_1494); -x_1497 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1497, 0, x_1496); -x_970 = x_1497; -x_971 = x_1481; -goto block_1478; -} -block_1478: -{ -lean_object* x_972; lean_object* x_973; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; uint8_t x_1451; -x_1448 = lean_ctor_get(x_970, 0); -lean_inc(x_1448); -lean_dec(x_970); -x_1449 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_971); -x_1450 = lean_ctor_get(x_1449, 0); -lean_inc(x_1450); -x_1451 = !lean_is_exclusive(x_1450); -if (x_1451 == 0) -{ -lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; -x_1452 = lean_ctor_get(x_1450, 0); -lean_dec(x_1452); -x_1453 = lean_ctor_get(x_1449, 1); -lean_inc(x_1453); -lean_dec(x_1449); -x_1454 = lean_box(0); -x_1455 = lean_box(0); -x_1456 = l_Lean_Syntax_mkAntiquotNode(x_1448, x_410, x_1454, x_1455); -x_1457 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_1458 = l_Array_append___rarg(x_1457, x_418); -lean_dec(x_418); -x_1459 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1460, 0, x_1459); -lean_ctor_set(x_1460, 1, x_1458); -x_1461 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1462 = lean_array_push(x_1461, x_1456); -x_1463 = lean_array_push(x_1462, x_1460); -x_1464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1464, 0, x_7); -lean_ctor_set(x_1464, 1, x_1463); -lean_ctor_set(x_1450, 0, x_1464); -x_972 = x_1450; -x_973 = x_1453; -goto block_1447; -} -else -{ -lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; -lean_dec(x_1450); -x_1465 = lean_ctor_get(x_1449, 1); -lean_inc(x_1465); -lean_dec(x_1449); -x_1466 = lean_box(0); -x_1467 = lean_box(0); -x_1468 = l_Lean_Syntax_mkAntiquotNode(x_1448, x_410, x_1466, x_1467); -x_1469 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_1470 = l_Array_append___rarg(x_1469, x_418); -lean_dec(x_418); -x_1471 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1472, 0, x_1471); -lean_ctor_set(x_1472, 1, x_1470); -x_1473 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1474 = lean_array_push(x_1473, x_1468); -x_1475 = lean_array_push(x_1474, x_1472); -x_1476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1476, 0, x_7); -lean_ctor_set(x_1476, 1, x_1475); -x_1477 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1477, 0, x_1476); -x_972 = x_1477; -x_973 = x_1465; -goto block_1447; -} -block_1447: -{ -lean_object* x_974; lean_object* x_975; uint8_t x_976; -x_974 = lean_ctor_get(x_972, 0); -lean_inc(x_974); -lean_dec(x_972); -x_975 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_973); -x_976 = !lean_is_exclusive(x_975); -if (x_976 == 0) -{ -lean_object* x_977; uint8_t x_978; -x_977 = lean_ctor_get(x_975, 0); -x_978 = !lean_is_exclusive(x_977); -if (x_978 == 0) -{ -lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; -x_979 = lean_ctor_get(x_977, 0); -x_980 = lean_ctor_get(x_5, 2); -lean_inc(x_980); -x_981 = lean_ctor_get(x_5, 1); -lean_inc(x_981); -lean_dec(x_5); -x_982 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_979); -x_983 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_983, 0, x_979); -lean_ctor_set(x_983, 1, x_982); -x_984 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_980); -lean_inc(x_981); -x_985 = l_Lean_addMacroScope(x_981, x_984, x_980); -x_986 = lean_box(0); -x_987 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_979); -x_988 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_988, 0, x_979); -lean_ctor_set(x_988, 1, x_987); -lean_ctor_set(x_988, 2, x_985); -lean_ctor_set(x_988, 3, x_986); -x_989 = lean_mk_syntax_ident(x_434); -x_990 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_991 = lean_array_push(x_990, x_989); -x_992 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_993 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_993, 0, x_992); -lean_ctor_set(x_993, 1, x_991); -x_994 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_995 = lean_array_push(x_994, x_988); -x_996 = lean_array_push(x_995, x_993); -x_997 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_998 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_998, 0, x_997); -lean_ctor_set(x_998, 1, x_996); -x_999 = lean_array_push(x_994, x_1); -x_1000 = lean_array_push(x_999, x_998); -x_1001 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1002 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1002, 0, x_1001); -lean_ctor_set(x_1002, 1, x_1000); -x_1003 = lean_array_push(x_990, x_1002); -x_1004 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1004, 0, x_992); -lean_ctor_set(x_1004, 1, x_1003); -x_1005 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_979); -x_1006 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1006, 0, x_979); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1008 = lean_array_push(x_1007, x_983); -x_1009 = lean_array_push(x_1008, x_1004); -x_1010 = lean_array_push(x_1009, x_1006); -x_1011 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1012 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1012, 0, x_1011); -lean_ctor_set(x_1012, 1, x_1010); -x_1013 = lean_array_push(x_990, x_1012); -x_1014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1014, 0, x_992); -lean_ctor_set(x_1014, 1, x_1013); -x_1015 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1016 = lean_array_push(x_1015, x_1014); -x_1017 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1018 = lean_array_push(x_1016, x_1017); -x_1019 = lean_array_push(x_1018, x_1017); -x_1020 = lean_array_push(x_1019, x_1017); -x_1021 = lean_array_push(x_1020, x_1017); -x_1022 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1023, 0, x_1022); -lean_ctor_set(x_1023, 1, x_1021); -x_1024 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_979); -x_1025 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1025, 0, x_979); -lean_ctor_set(x_1025, 1, x_1024); -x_1026 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_980); -lean_inc(x_981); -x_1027 = l_Lean_addMacroScope(x_981, x_1026, x_980); -x_1028 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_979); -x_1029 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1029, 0, x_979); -lean_ctor_set(x_1029, 1, x_1028); -lean_ctor_set(x_1029, 2, x_1027); -lean_ctor_set(x_1029, 3, x_986); -x_1030 = lean_array_push(x_994, x_1029); -x_1031 = lean_array_push(x_1030, x_1017); -x_1032 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_979); -x_1035 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1035, 0, x_979); -lean_ctor_set(x_1035, 1, x_1034); -x_1036 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_980); -lean_inc(x_981); -x_1037 = l_Lean_addMacroScope(x_981, x_1036, x_980); -x_1038 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1039 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_979); -x_1040 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1040, 0, x_979); -lean_ctor_set(x_1040, 1, x_1038); -lean_ctor_set(x_1040, 2, x_1037); -lean_ctor_set(x_1040, 3, x_1039); -x_1041 = lean_array_push(x_994, x_1035); -x_1042 = lean_array_push(x_1041, x_1040); -x_1043 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1044 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1044, 0, x_1043); -lean_ctor_set(x_1044, 1, x_1042); -x_1045 = lean_array_push(x_990, x_1044); -x_1046 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1046, 0, x_992); -lean_ctor_set(x_1046, 1, x_1045); -x_1047 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1048 = lean_array_push(x_1047, x_1046); -x_1049 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1050 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1050, 0, x_1049); -lean_ctor_set(x_1050, 1, x_1048); -x_1051 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_979); -x_1052 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1052, 0, x_979); -lean_ctor_set(x_1052, 1, x_1051); -x_1053 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_979); -x_1054 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1054, 0, x_979); -lean_ctor_set(x_1054, 1, x_1053); -x_1055 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_979); -x_1056 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1056, 0, x_979); -lean_ctor_set(x_1056, 1, x_1055); -x_1057 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_979); -x_1058 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1058, 0, x_979); -lean_ctor_set(x_1058, 1, x_1057); -x_1059 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_979); -x_1060 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1060, 0, x_979); -lean_ctor_set(x_1060, 1, x_1059); -x_1061 = lean_array_push(x_1007, x_1058); -lean_inc(x_1061); -x_1062 = lean_array_push(x_1061, x_974); -lean_inc(x_1060); -x_1063 = lean_array_push(x_1062, x_1060); -x_1064 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1065 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1065, 0, x_1064); -lean_ctor_set(x_1065, 1, x_1063); -x_1066 = lean_array_push(x_990, x_1065); -x_1067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1067, 0, x_992); -lean_ctor_set(x_1067, 1, x_1066); -x_1068 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_979); -x_1069 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1069, 0, x_979); -lean_ctor_set(x_1069, 1, x_1068); -x_1070 = lean_array_push(x_1061, x_3); -lean_inc(x_1060); -x_1071 = lean_array_push(x_1070, x_1060); -x_1072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1072, 0, x_1064); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1074 = lean_array_push(x_1073, x_1056); -lean_inc(x_1074); -x_1075 = lean_array_push(x_1074, x_1067); -lean_inc(x_1069); -x_1076 = lean_array_push(x_1075, x_1069); -x_1077 = lean_array_push(x_1076, x_1072); -x_1078 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1079, 0, x_1078); -lean_ctor_set(x_1079, 1, x_1077); -x_1080 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_979); -x_1081 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1081, 0, x_979); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = lean_array_push(x_990, x_1081); -x_1083 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1084, 0, x_1083); -lean_ctor_set(x_1084, 1, x_1082); -x_1085 = lean_array_push(x_990, x_1084); -x_1086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1086, 0, x_992); -lean_ctor_set(x_1086, 1, x_1085); -x_1087 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1088 = l_Lean_addMacroScope(x_981, x_1087, x_980); -x_1089 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1090 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_979); -x_1091 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1091, 0, x_979); -lean_ctor_set(x_1091, 1, x_1089); -lean_ctor_set(x_1091, 2, x_1088); -lean_ctor_set(x_1091, 3, x_1090); -x_1092 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1093 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1093, 0, x_979); -lean_ctor_set(x_1093, 1, x_1092); -x_1094 = lean_array_push(x_1007, x_1093); -x_1095 = lean_array_push(x_1094, x_1017); -x_1096 = lean_array_push(x_1095, x_1060); -x_1097 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1098, 0, x_1097); -lean_ctor_set(x_1098, 1, x_1096); -x_1099 = lean_array_push(x_990, x_1098); -x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_992); -lean_ctor_set(x_1100, 1, x_1099); -x_1101 = lean_array_push(x_994, x_1091); -x_1102 = lean_array_push(x_1101, x_1100); -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_7); -lean_ctor_set(x_1103, 1, x_1102); -x_1104 = lean_array_push(x_1074, x_1086); -x_1105 = lean_array_push(x_1104, x_1069); -x_1106 = lean_array_push(x_1105, x_1103); -x_1107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1107, 0, x_1078); -lean_ctor_set(x_1107, 1, x_1106); -x_1108 = lean_array_push(x_994, x_1079); -x_1109 = lean_array_push(x_1108, x_1107); -x_1110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1110, 0, x_992); -lean_ctor_set(x_1110, 1, x_1109); -x_1111 = lean_array_push(x_990, x_1110); -x_1112 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_1112); -lean_ctor_set(x_1113, 1, x_1111); -x_1114 = lean_array_push(x_994, x_1054); -x_1115 = lean_array_push(x_1114, x_1113); -x_1116 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1117, 0, x_1116); -lean_ctor_set(x_1117, 1, x_1115); -x_1118 = lean_array_push(x_1007, x_1052); -x_1119 = lean_array_push(x_1118, x_1117); -x_1120 = lean_array_push(x_1119, x_1017); -x_1121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1122, 0, x_1121); -lean_ctor_set(x_1122, 1, x_1120); -x_1123 = lean_array_push(x_1073, x_1025); -x_1124 = lean_array_push(x_1123, x_1033); -x_1125 = lean_array_push(x_1124, x_1050); -x_1126 = lean_array_push(x_1125, x_1122); -x_1127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1128, 0, x_1127); -lean_ctor_set(x_1128, 1, x_1126); -x_1129 = lean_array_push(x_994, x_1023); -x_1130 = lean_array_push(x_1129, x_1128); -x_1131 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1132, 0, x_1131); -lean_ctor_set(x_1132, 1, x_1130); -lean_ctor_set(x_977, 0, x_1132); -return x_975; -} -else -{ -lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; -x_1133 = lean_ctor_get(x_977, 0); -lean_inc(x_1133); -lean_dec(x_977); -x_1134 = lean_ctor_get(x_5, 2); -lean_inc(x_1134); -x_1135 = lean_ctor_get(x_5, 1); -lean_inc(x_1135); -lean_dec(x_5); -x_1136 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_1133); -x_1137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1137, 0, x_1133); -lean_ctor_set(x_1137, 1, x_1136); -x_1138 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1134); -lean_inc(x_1135); -x_1139 = l_Lean_addMacroScope(x_1135, x_1138, x_1134); -x_1140 = lean_box(0); -x_1141 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1133); -x_1142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1142, 0, x_1133); -lean_ctor_set(x_1142, 1, x_1141); -lean_ctor_set(x_1142, 2, x_1139); -lean_ctor_set(x_1142, 3, x_1140); -x_1143 = lean_mk_syntax_ident(x_434); -x_1144 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1145 = lean_array_push(x_1144, x_1143); -x_1146 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1147, 0, x_1146); -lean_ctor_set(x_1147, 1, x_1145); -x_1148 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1149 = lean_array_push(x_1148, x_1142); -x_1150 = lean_array_push(x_1149, x_1147); -x_1151 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1150); -x_1153 = lean_array_push(x_1148, x_1); -x_1154 = lean_array_push(x_1153, x_1152); -x_1155 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1156, 0, x_1155); -lean_ctor_set(x_1156, 1, x_1154); -x_1157 = lean_array_push(x_1144, x_1156); -x_1158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1158, 0, x_1146); -lean_ctor_set(x_1158, 1, x_1157); -x_1159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_1133); -x_1160 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1160, 0, x_1133); -lean_ctor_set(x_1160, 1, x_1159); -x_1161 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1162 = lean_array_push(x_1161, x_1137); -x_1163 = lean_array_push(x_1162, x_1158); -x_1164 = lean_array_push(x_1163, x_1160); -x_1165 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1166, 0, x_1165); -lean_ctor_set(x_1166, 1, x_1164); -x_1167 = lean_array_push(x_1144, x_1166); -x_1168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1168, 0, x_1146); -lean_ctor_set(x_1168, 1, x_1167); -x_1169 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1170 = lean_array_push(x_1169, x_1168); -x_1171 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1172 = lean_array_push(x_1170, x_1171); -x_1173 = lean_array_push(x_1172, x_1171); -x_1174 = lean_array_push(x_1173, x_1171); -x_1175 = lean_array_push(x_1174, x_1171); -x_1176 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1177, 0, x_1176); -lean_ctor_set(x_1177, 1, x_1175); -x_1178 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_1133); -x_1179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1179, 0, x_1133); -lean_ctor_set(x_1179, 1, x_1178); -x_1180 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1134); -lean_inc(x_1135); -x_1181 = l_Lean_addMacroScope(x_1135, x_1180, x_1134); -x_1182 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1133); -x_1183 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1183, 0, x_1133); -lean_ctor_set(x_1183, 1, x_1182); -lean_ctor_set(x_1183, 2, x_1181); -lean_ctor_set(x_1183, 3, x_1140); -x_1184 = lean_array_push(x_1148, x_1183); -x_1185 = lean_array_push(x_1184, x_1171); -x_1186 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1187, 0, x_1186); -lean_ctor_set(x_1187, 1, x_1185); -x_1188 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_1133); -x_1189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1189, 0, x_1133); -lean_ctor_set(x_1189, 1, x_1188); -x_1190 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1134); -lean_inc(x_1135); -x_1191 = l_Lean_addMacroScope(x_1135, x_1190, x_1134); -x_1192 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1193 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_1133); -x_1194 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1194, 0, x_1133); -lean_ctor_set(x_1194, 1, x_1192); -lean_ctor_set(x_1194, 2, x_1191); -lean_ctor_set(x_1194, 3, x_1193); -x_1195 = lean_array_push(x_1148, x_1189); -x_1196 = lean_array_push(x_1195, x_1194); -x_1197 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1198, 0, x_1197); -lean_ctor_set(x_1198, 1, x_1196); -x_1199 = lean_array_push(x_1144, x_1198); -x_1200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1200, 0, x_1146); -lean_ctor_set(x_1200, 1, x_1199); -x_1201 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1202 = lean_array_push(x_1201, x_1200); -x_1203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1204, 0, x_1203); -lean_ctor_set(x_1204, 1, x_1202); -x_1205 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_1133); -x_1206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1206, 0, x_1133); -lean_ctor_set(x_1206, 1, x_1205); -x_1207 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_1133); -x_1208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1208, 0, x_1133); -lean_ctor_set(x_1208, 1, x_1207); -x_1209 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_1133); -x_1210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1210, 0, x_1133); -lean_ctor_set(x_1210, 1, x_1209); -x_1211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_1133); -x_1212 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1212, 0, x_1133); -lean_ctor_set(x_1212, 1, x_1211); -x_1213 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_1133); -x_1214 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1214, 0, x_1133); -lean_ctor_set(x_1214, 1, x_1213); -x_1215 = lean_array_push(x_1161, x_1212); -lean_inc(x_1215); -x_1216 = lean_array_push(x_1215, x_974); -lean_inc(x_1214); -x_1217 = lean_array_push(x_1216, x_1214); -x_1218 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1219, 0, x_1218); -lean_ctor_set(x_1219, 1, x_1217); -x_1220 = lean_array_push(x_1144, x_1219); -x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_1146); -lean_ctor_set(x_1221, 1, x_1220); -x_1222 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_1133); -x_1223 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1223, 0, x_1133); -lean_ctor_set(x_1223, 1, x_1222); -x_1224 = lean_array_push(x_1215, x_3); -lean_inc(x_1214); -x_1225 = lean_array_push(x_1224, x_1214); -x_1226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1226, 0, x_1218); -lean_ctor_set(x_1226, 1, x_1225); -x_1227 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1228 = lean_array_push(x_1227, x_1210); -lean_inc(x_1228); -x_1229 = lean_array_push(x_1228, x_1221); -lean_inc(x_1223); -x_1230 = lean_array_push(x_1229, x_1223); -x_1231 = lean_array_push(x_1230, x_1226); -x_1232 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1232); -lean_ctor_set(x_1233, 1, x_1231); -x_1234 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_1133); -x_1235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1235, 0, x_1133); -lean_ctor_set(x_1235, 1, x_1234); -x_1236 = lean_array_push(x_1144, x_1235); -x_1237 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1238, 0, x_1237); -lean_ctor_set(x_1238, 1, x_1236); -x_1239 = lean_array_push(x_1144, x_1238); -x_1240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1240, 0, x_1146); -lean_ctor_set(x_1240, 1, x_1239); -x_1241 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1242 = l_Lean_addMacroScope(x_1135, x_1241, x_1134); -x_1243 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_1133); -x_1245 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1245, 0, x_1133); -lean_ctor_set(x_1245, 1, x_1243); -lean_ctor_set(x_1245, 2, x_1242); -lean_ctor_set(x_1245, 3, x_1244); -x_1246 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1247, 0, x_1133); -lean_ctor_set(x_1247, 1, x_1246); -x_1248 = lean_array_push(x_1161, x_1247); -x_1249 = lean_array_push(x_1248, x_1171); -x_1250 = lean_array_push(x_1249, x_1214); -x_1251 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1252, 0, x_1251); -lean_ctor_set(x_1252, 1, x_1250); -x_1253 = lean_array_push(x_1144, x_1252); -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1146); -lean_ctor_set(x_1254, 1, x_1253); -x_1255 = lean_array_push(x_1148, x_1245); -x_1256 = lean_array_push(x_1255, x_1254); -x_1257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1257, 0, x_7); -lean_ctor_set(x_1257, 1, x_1256); -x_1258 = lean_array_push(x_1228, x_1240); -x_1259 = lean_array_push(x_1258, x_1223); -x_1260 = lean_array_push(x_1259, x_1257); -x_1261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1261, 0, x_1232); -lean_ctor_set(x_1261, 1, x_1260); -x_1262 = lean_array_push(x_1148, x_1233); -x_1263 = lean_array_push(x_1262, x_1261); -x_1264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1264, 0, x_1146); -lean_ctor_set(x_1264, 1, x_1263); -x_1265 = lean_array_push(x_1144, x_1264); -x_1266 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1267, 0, x_1266); -lean_ctor_set(x_1267, 1, x_1265); -x_1268 = lean_array_push(x_1148, x_1208); -x_1269 = lean_array_push(x_1268, x_1267); -x_1270 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1271, 0, x_1270); -lean_ctor_set(x_1271, 1, x_1269); -x_1272 = lean_array_push(x_1161, x_1206); -x_1273 = lean_array_push(x_1272, x_1271); -x_1274 = lean_array_push(x_1273, x_1171); -x_1275 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1276, 0, x_1275); -lean_ctor_set(x_1276, 1, x_1274); -x_1277 = lean_array_push(x_1227, x_1179); -x_1278 = lean_array_push(x_1277, x_1187); -x_1279 = lean_array_push(x_1278, x_1204); -x_1280 = lean_array_push(x_1279, x_1276); -x_1281 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_1281); -lean_ctor_set(x_1282, 1, x_1280); -x_1283 = lean_array_push(x_1148, x_1177); -x_1284 = lean_array_push(x_1283, x_1282); -x_1285 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1286, 0, x_1285); -lean_ctor_set(x_1286, 1, x_1284); -x_1287 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1287, 0, x_1286); -lean_ctor_set(x_975, 0, x_1287); -return x_975; -} -} -else -{ -lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; -x_1288 = lean_ctor_get(x_975, 0); -x_1289 = lean_ctor_get(x_975, 1); -lean_inc(x_1289); -lean_inc(x_1288); -lean_dec(x_975); -x_1290 = lean_ctor_get(x_1288, 0); -lean_inc(x_1290); -if (lean_is_exclusive(x_1288)) { - lean_ctor_release(x_1288, 0); - x_1291 = x_1288; -} else { - lean_dec_ref(x_1288); - x_1291 = lean_box(0); -} -x_1292 = lean_ctor_get(x_5, 2); -lean_inc(x_1292); -x_1293 = lean_ctor_get(x_5, 1); -lean_inc(x_1293); -lean_dec(x_5); -x_1294 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_1290); -x_1295 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1295, 0, x_1290); -lean_ctor_set(x_1295, 1, x_1294); -x_1296 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1292); -lean_inc(x_1293); -x_1297 = l_Lean_addMacroScope(x_1293, x_1296, x_1292); -x_1298 = lean_box(0); -x_1299 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1290); -x_1300 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1300, 0, x_1290); -lean_ctor_set(x_1300, 1, x_1299); -lean_ctor_set(x_1300, 2, x_1297); -lean_ctor_set(x_1300, 3, x_1298); -x_1301 = lean_mk_syntax_ident(x_434); -x_1302 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1303 = lean_array_push(x_1302, x_1301); -x_1304 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1305, 0, x_1304); -lean_ctor_set(x_1305, 1, x_1303); -x_1306 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1307 = lean_array_push(x_1306, x_1300); -x_1308 = lean_array_push(x_1307, x_1305); -x_1309 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1310, 0, x_1309); -lean_ctor_set(x_1310, 1, x_1308); -x_1311 = lean_array_push(x_1306, x_1); -x_1312 = lean_array_push(x_1311, x_1310); -x_1313 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1314, 0, x_1313); -lean_ctor_set(x_1314, 1, x_1312); -x_1315 = lean_array_push(x_1302, x_1314); -x_1316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1316, 0, x_1304); -lean_ctor_set(x_1316, 1, x_1315); -x_1317 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_1290); -x_1318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1318, 0, x_1290); -lean_ctor_set(x_1318, 1, x_1317); -x_1319 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1320 = lean_array_push(x_1319, x_1295); -x_1321 = lean_array_push(x_1320, x_1316); -x_1322 = lean_array_push(x_1321, x_1318); -x_1323 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1324, 0, x_1323); -lean_ctor_set(x_1324, 1, x_1322); -x_1325 = lean_array_push(x_1302, x_1324); -x_1326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1326, 0, x_1304); -lean_ctor_set(x_1326, 1, x_1325); -x_1327 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1328 = lean_array_push(x_1327, x_1326); -x_1329 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1330 = lean_array_push(x_1328, x_1329); -x_1331 = lean_array_push(x_1330, x_1329); -x_1332 = lean_array_push(x_1331, x_1329); -x_1333 = lean_array_push(x_1332, x_1329); -x_1334 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1335, 0, x_1334); -lean_ctor_set(x_1335, 1, x_1333); -x_1336 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_1290); -x_1337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1337, 0, x_1290); -lean_ctor_set(x_1337, 1, x_1336); -x_1338 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1292); -lean_inc(x_1293); -x_1339 = l_Lean_addMacroScope(x_1293, x_1338, x_1292); -x_1340 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1290); -x_1341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1341, 0, x_1290); -lean_ctor_set(x_1341, 1, x_1340); -lean_ctor_set(x_1341, 2, x_1339); -lean_ctor_set(x_1341, 3, x_1298); -x_1342 = lean_array_push(x_1306, x_1341); -x_1343 = lean_array_push(x_1342, x_1329); -x_1344 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1345, 0, x_1344); -lean_ctor_set(x_1345, 1, x_1343); -x_1346 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_1290); -x_1347 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1347, 0, x_1290); -lean_ctor_set(x_1347, 1, x_1346); -x_1348 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1292); -lean_inc(x_1293); -x_1349 = l_Lean_addMacroScope(x_1293, x_1348, x_1292); -x_1350 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1351 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_1290); -x_1352 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1352, 0, x_1290); -lean_ctor_set(x_1352, 1, x_1350); -lean_ctor_set(x_1352, 2, x_1349); -lean_ctor_set(x_1352, 3, x_1351); -x_1353 = lean_array_push(x_1306, x_1347); -x_1354 = lean_array_push(x_1353, x_1352); -x_1355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1356, 0, x_1355); -lean_ctor_set(x_1356, 1, x_1354); -x_1357 = lean_array_push(x_1302, x_1356); -x_1358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1358, 0, x_1304); -lean_ctor_set(x_1358, 1, x_1357); -x_1359 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1360 = lean_array_push(x_1359, x_1358); -x_1361 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1362, 0, x_1361); -lean_ctor_set(x_1362, 1, x_1360); -x_1363 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_1290); -x_1364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1364, 0, x_1290); -lean_ctor_set(x_1364, 1, x_1363); -x_1365 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_1290); -x_1366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1366, 0, x_1290); -lean_ctor_set(x_1366, 1, x_1365); -x_1367 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_1290); -x_1368 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1368, 0, x_1290); -lean_ctor_set(x_1368, 1, x_1367); -x_1369 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_1290); -x_1370 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1370, 0, x_1290); -lean_ctor_set(x_1370, 1, x_1369); -x_1371 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_1290); -x_1372 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1372, 0, x_1290); -lean_ctor_set(x_1372, 1, x_1371); -x_1373 = lean_array_push(x_1319, x_1370); -lean_inc(x_1373); -x_1374 = lean_array_push(x_1373, x_974); -lean_inc(x_1372); -x_1375 = lean_array_push(x_1374, x_1372); -x_1376 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1377, 0, x_1376); -lean_ctor_set(x_1377, 1, x_1375); -x_1378 = lean_array_push(x_1302, x_1377); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1304); -lean_ctor_set(x_1379, 1, x_1378); -x_1380 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_1290); -x_1381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1381, 0, x_1290); -lean_ctor_set(x_1381, 1, x_1380); -x_1382 = lean_array_push(x_1373, x_3); -lean_inc(x_1372); -x_1383 = lean_array_push(x_1382, x_1372); -x_1384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1384, 0, x_1376); -lean_ctor_set(x_1384, 1, x_1383); -x_1385 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1386 = lean_array_push(x_1385, x_1368); -lean_inc(x_1386); -x_1387 = lean_array_push(x_1386, x_1379); -lean_inc(x_1381); -x_1388 = lean_array_push(x_1387, x_1381); -x_1389 = lean_array_push(x_1388, x_1384); -x_1390 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1391, 0, x_1390); -lean_ctor_set(x_1391, 1, x_1389); -x_1392 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_1290); -x_1393 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1393, 0, x_1290); -lean_ctor_set(x_1393, 1, x_1392); -x_1394 = lean_array_push(x_1302, x_1393); -x_1395 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1396, 0, x_1395); -lean_ctor_set(x_1396, 1, x_1394); -x_1397 = lean_array_push(x_1302, x_1396); -x_1398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1398, 0, x_1304); -lean_ctor_set(x_1398, 1, x_1397); -x_1399 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1400 = l_Lean_addMacroScope(x_1293, x_1399, x_1292); -x_1401 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1402 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_1290); -x_1403 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1403, 0, x_1290); -lean_ctor_set(x_1403, 1, x_1401); -lean_ctor_set(x_1403, 2, x_1400); -lean_ctor_set(x_1403, 3, x_1402); -x_1404 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1405 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1405, 0, x_1290); -lean_ctor_set(x_1405, 1, x_1404); -x_1406 = lean_array_push(x_1319, x_1405); -x_1407 = lean_array_push(x_1406, x_1329); -x_1408 = lean_array_push(x_1407, x_1372); -x_1409 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1410, 0, x_1409); -lean_ctor_set(x_1410, 1, x_1408); -x_1411 = lean_array_push(x_1302, x_1410); -x_1412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1412, 0, x_1304); -lean_ctor_set(x_1412, 1, x_1411); -x_1413 = lean_array_push(x_1306, x_1403); -x_1414 = lean_array_push(x_1413, x_1412); -x_1415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1415, 0, x_7); -lean_ctor_set(x_1415, 1, x_1414); -x_1416 = lean_array_push(x_1386, x_1398); -x_1417 = lean_array_push(x_1416, x_1381); -x_1418 = lean_array_push(x_1417, x_1415); -x_1419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1419, 0, x_1390); -lean_ctor_set(x_1419, 1, x_1418); -x_1420 = lean_array_push(x_1306, x_1391); -x_1421 = lean_array_push(x_1420, x_1419); -x_1422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1422, 0, x_1304); -lean_ctor_set(x_1422, 1, x_1421); -x_1423 = lean_array_push(x_1302, x_1422); -x_1424 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1425, 0, x_1424); -lean_ctor_set(x_1425, 1, x_1423); -x_1426 = lean_array_push(x_1306, x_1366); -x_1427 = lean_array_push(x_1426, x_1425); -x_1428 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1429, 0, x_1428); -lean_ctor_set(x_1429, 1, x_1427); -x_1430 = lean_array_push(x_1319, x_1364); -x_1431 = lean_array_push(x_1430, x_1429); -x_1432 = lean_array_push(x_1431, x_1329); -x_1433 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1434, 0, x_1433); -lean_ctor_set(x_1434, 1, x_1432); -x_1435 = lean_array_push(x_1385, x_1337); -x_1436 = lean_array_push(x_1435, x_1345); -x_1437 = lean_array_push(x_1436, x_1362); -x_1438 = lean_array_push(x_1437, x_1434); -x_1439 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1440, 0, x_1439); -lean_ctor_set(x_1440, 1, x_1438); -x_1441 = lean_array_push(x_1306, x_1335); -x_1442 = lean_array_push(x_1441, x_1440); -x_1443 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1444, 0, x_1443); -lean_ctor_set(x_1444, 1, x_1442); -if (lean_is_scalar(x_1291)) { - x_1445 = lean_alloc_ctor(1, 1, 0); -} else { - x_1445 = x_1291; -} -lean_ctor_set(x_1445, 0, x_1444); -x_1446 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1446, 0, x_1445); -lean_ctor_set(x_1446, 1, x_1289); -return x_1446; -} -} -} -} -} -else -{ -size_t x_1498; size_t x_1499; uint8_t x_1500; -x_1498 = 0; -x_1499 = lean_usize_of_nat(x_435); -lean_dec(x_435); -x_1500 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_418, x_1498, x_1499); -if (x_1500 == 0) -{ -uint8_t x_1501; -x_1501 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_1501 == 0) -{ -lean_object* x_1502; -lean_dec(x_434); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1502 = lean_box(0); -lean_ctor_set(x_420, 0, x_1502); -return x_420; -} -else -{ -lean_object* x_1503; lean_object* x_1504; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; uint8_t x_2015; -lean_free_object(x_420); -x_2012 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_432); -x_2013 = lean_ctor_get(x_2012, 0); -lean_inc(x_2013); -x_2014 = lean_ctor_get(x_2012, 1); -lean_inc(x_2014); -lean_dec(x_2012); -x_2015 = !lean_is_exclusive(x_2013); -if (x_2015 == 0) -{ -lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; -x_2016 = lean_ctor_get(x_2013, 0); -x_2017 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_2018 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2018, 0, x_2016); -lean_ctor_set(x_2018, 1, x_2017); -x_2019 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2020 = lean_array_push(x_2019, x_2018); -x_2021 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2022, 0, x_2021); -lean_ctor_set(x_2022, 1, x_2020); -lean_ctor_set(x_2013, 0, x_2022); -x_1503 = x_2013; -x_1504 = x_2014; -goto block_2011; -} -else -{ -lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; -x_2023 = lean_ctor_get(x_2013, 0); -lean_inc(x_2023); -lean_dec(x_2013); -x_2024 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_2025 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2025, 0, x_2023); -lean_ctor_set(x_2025, 1, x_2024); -x_2026 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2027 = lean_array_push(x_2026, x_2025); -x_2028 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2029 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2029, 0, x_2028); -lean_ctor_set(x_2029, 1, x_2027); -x_2030 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2030, 0, x_2029); -x_1503 = x_2030; -x_1504 = x_2014; -goto block_2011; -} -block_2011: -{ -lean_object* x_1505; lean_object* x_1506; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; uint8_t x_1984; -x_1981 = lean_ctor_get(x_1503, 0); -lean_inc(x_1981); -lean_dec(x_1503); -x_1982 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1504); -x_1983 = lean_ctor_get(x_1982, 0); -lean_inc(x_1983); -x_1984 = !lean_is_exclusive(x_1983); -if (x_1984 == 0) -{ -lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; -x_1985 = lean_ctor_get(x_1983, 0); -lean_dec(x_1985); -x_1986 = lean_ctor_get(x_1982, 1); -lean_inc(x_1986); -lean_dec(x_1982); -x_1987 = lean_box(0); -x_1988 = lean_box(0); -x_1989 = l_Lean_Syntax_mkAntiquotNode(x_1981, x_410, x_1987, x_1988); -x_1990 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_1991 = l_Array_append___rarg(x_1990, x_418); -lean_dec(x_418); -x_1992 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1993 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1993, 0, x_1992); -lean_ctor_set(x_1993, 1, x_1991); -x_1994 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1995 = lean_array_push(x_1994, x_1989); -x_1996 = lean_array_push(x_1995, x_1993); -x_1997 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1997, 0, x_7); -lean_ctor_set(x_1997, 1, x_1996); -lean_ctor_set(x_1983, 0, x_1997); -x_1505 = x_1983; -x_1506 = x_1986; -goto block_1980; -} -else -{ -lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; -lean_dec(x_1983); -x_1998 = lean_ctor_get(x_1982, 1); -lean_inc(x_1998); -lean_dec(x_1982); -x_1999 = lean_box(0); -x_2000 = lean_box(0); -x_2001 = l_Lean_Syntax_mkAntiquotNode(x_1981, x_410, x_1999, x_2000); -x_2002 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2003 = l_Array_append___rarg(x_2002, x_418); -lean_dec(x_418); -x_2004 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2005 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2005, 0, x_2004); -lean_ctor_set(x_2005, 1, x_2003); -x_2006 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2007 = lean_array_push(x_2006, x_2001); -x_2008 = lean_array_push(x_2007, x_2005); -x_2009 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2009, 0, x_7); -lean_ctor_set(x_2009, 1, x_2008); -x_2010 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2010, 0, x_2009); -x_1505 = x_2010; -x_1506 = x_1998; -goto block_1980; -} -block_1980: -{ -lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; -x_1507 = lean_ctor_get(x_1505, 0); -lean_inc(x_1507); -lean_dec(x_1505); -x_1508 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1506); -x_1509 = !lean_is_exclusive(x_1508); -if (x_1509 == 0) -{ -lean_object* x_1510; uint8_t x_1511; -x_1510 = lean_ctor_get(x_1508, 0); -x_1511 = !lean_is_exclusive(x_1510); -if (x_1511 == 0) -{ -lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; -x_1512 = lean_ctor_get(x_1510, 0); -x_1513 = lean_ctor_get(x_5, 2); -lean_inc(x_1513); -x_1514 = lean_ctor_get(x_5, 1); -lean_inc(x_1514); -lean_dec(x_5); -x_1515 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_1512); -x_1516 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1516, 0, x_1512); -lean_ctor_set(x_1516, 1, x_1515); -x_1517 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1513); -lean_inc(x_1514); -x_1518 = l_Lean_addMacroScope(x_1514, x_1517, x_1513); -x_1519 = lean_box(0); -x_1520 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1512); -x_1521 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1521, 0, x_1512); -lean_ctor_set(x_1521, 1, x_1520); -lean_ctor_set(x_1521, 2, x_1518); -lean_ctor_set(x_1521, 3, x_1519); -x_1522 = lean_mk_syntax_ident(x_434); -x_1523 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1524 = lean_array_push(x_1523, x_1522); -x_1525 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1526, 0, x_1525); -lean_ctor_set(x_1526, 1, x_1524); -x_1527 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1528 = lean_array_push(x_1527, x_1521); -x_1529 = lean_array_push(x_1528, x_1526); -x_1530 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1531, 0, x_1530); -lean_ctor_set(x_1531, 1, x_1529); -x_1532 = lean_array_push(x_1527, x_1); -x_1533 = lean_array_push(x_1532, x_1531); -x_1534 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1535, 0, x_1534); -lean_ctor_set(x_1535, 1, x_1533); -x_1536 = lean_array_push(x_1523, x_1535); -x_1537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1537, 0, x_1525); -lean_ctor_set(x_1537, 1, x_1536); -x_1538 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_1512); -x_1539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1539, 0, x_1512); -lean_ctor_set(x_1539, 1, x_1538); -x_1540 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1541 = lean_array_push(x_1540, x_1516); -x_1542 = lean_array_push(x_1541, x_1537); -x_1543 = lean_array_push(x_1542, x_1539); -x_1544 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1545, 0, x_1544); -lean_ctor_set(x_1545, 1, x_1543); -x_1546 = lean_array_push(x_1523, x_1545); -x_1547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1547, 0, x_1525); -lean_ctor_set(x_1547, 1, x_1546); -x_1548 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1549 = lean_array_push(x_1548, x_1547); -x_1550 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1551 = lean_array_push(x_1549, x_1550); -x_1552 = lean_array_push(x_1551, x_1550); -x_1553 = lean_array_push(x_1552, x_1550); -x_1554 = lean_array_push(x_1553, x_1550); -x_1555 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1556, 0, x_1555); -lean_ctor_set(x_1556, 1, x_1554); -x_1557 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_1512); -x_1558 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1558, 0, x_1512); -lean_ctor_set(x_1558, 1, x_1557); -x_1559 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1513); -lean_inc(x_1514); -x_1560 = l_Lean_addMacroScope(x_1514, x_1559, x_1513); -x_1561 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1512); -x_1562 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1562, 0, x_1512); -lean_ctor_set(x_1562, 1, x_1561); -lean_ctor_set(x_1562, 2, x_1560); -lean_ctor_set(x_1562, 3, x_1519); -x_1563 = lean_array_push(x_1527, x_1562); -x_1564 = lean_array_push(x_1563, x_1550); -x_1565 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1566 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1566, 0, x_1565); -lean_ctor_set(x_1566, 1, x_1564); -x_1567 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_1512); -x_1568 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1568, 0, x_1512); -lean_ctor_set(x_1568, 1, x_1567); -x_1569 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1513); -lean_inc(x_1514); -x_1570 = l_Lean_addMacroScope(x_1514, x_1569, x_1513); -x_1571 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1572 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_1512); -x_1573 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1573, 0, x_1512); -lean_ctor_set(x_1573, 1, x_1571); -lean_ctor_set(x_1573, 2, x_1570); -lean_ctor_set(x_1573, 3, x_1572); -x_1574 = lean_array_push(x_1527, x_1568); -x_1575 = lean_array_push(x_1574, x_1573); -x_1576 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1577, 0, x_1576); -lean_ctor_set(x_1577, 1, x_1575); -x_1578 = lean_array_push(x_1523, x_1577); -x_1579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1579, 0, x_1525); -lean_ctor_set(x_1579, 1, x_1578); -x_1580 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1581 = lean_array_push(x_1580, x_1579); -x_1582 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1583, 0, x_1582); -lean_ctor_set(x_1583, 1, x_1581); -x_1584 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_1512); -x_1585 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1585, 0, x_1512); -lean_ctor_set(x_1585, 1, x_1584); -x_1586 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_1512); -x_1587 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1587, 0, x_1512); -lean_ctor_set(x_1587, 1, x_1586); -x_1588 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_1512); -x_1589 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1589, 0, x_1512); -lean_ctor_set(x_1589, 1, x_1588); -x_1590 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_1512); -x_1591 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1591, 0, x_1512); -lean_ctor_set(x_1591, 1, x_1590); -x_1592 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_1512); -x_1593 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1593, 0, x_1512); -lean_ctor_set(x_1593, 1, x_1592); -x_1594 = lean_array_push(x_1540, x_1591); -lean_inc(x_1594); -x_1595 = lean_array_push(x_1594, x_1507); -lean_inc(x_1593); -x_1596 = lean_array_push(x_1595, x_1593); -x_1597 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1598, 0, x_1597); -lean_ctor_set(x_1598, 1, x_1596); -x_1599 = lean_array_push(x_1523, x_1598); -x_1600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1600, 0, x_1525); -lean_ctor_set(x_1600, 1, x_1599); -x_1601 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_1512); -x_1602 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1602, 0, x_1512); -lean_ctor_set(x_1602, 1, x_1601); -x_1603 = lean_array_push(x_1594, x_3); -lean_inc(x_1593); -x_1604 = lean_array_push(x_1603, x_1593); -x_1605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1605, 0, x_1597); -lean_ctor_set(x_1605, 1, x_1604); -x_1606 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1607 = lean_array_push(x_1606, x_1589); -lean_inc(x_1607); -x_1608 = lean_array_push(x_1607, x_1600); -lean_inc(x_1602); -x_1609 = lean_array_push(x_1608, x_1602); -x_1610 = lean_array_push(x_1609, x_1605); -x_1611 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1612, 0, x_1611); -lean_ctor_set(x_1612, 1, x_1610); -x_1613 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_1512); -x_1614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1614, 0, x_1512); -lean_ctor_set(x_1614, 1, x_1613); -x_1615 = lean_array_push(x_1523, x_1614); -x_1616 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1617, 0, x_1616); -lean_ctor_set(x_1617, 1, x_1615); -x_1618 = lean_array_push(x_1523, x_1617); -x_1619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1619, 0, x_1525); -lean_ctor_set(x_1619, 1, x_1618); -x_1620 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1621 = l_Lean_addMacroScope(x_1514, x_1620, x_1513); -x_1622 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1623 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_1512); -x_1624 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1624, 0, x_1512); -lean_ctor_set(x_1624, 1, x_1622); -lean_ctor_set(x_1624, 2, x_1621); -lean_ctor_set(x_1624, 3, x_1623); -x_1625 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1626 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1626, 0, x_1512); -lean_ctor_set(x_1626, 1, x_1625); -x_1627 = lean_array_push(x_1540, x_1626); -x_1628 = lean_array_push(x_1627, x_1550); -x_1629 = lean_array_push(x_1628, x_1593); -x_1630 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1631, 0, x_1630); -lean_ctor_set(x_1631, 1, x_1629); -x_1632 = lean_array_push(x_1523, x_1631); -x_1633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1633, 0, x_1525); -lean_ctor_set(x_1633, 1, x_1632); -x_1634 = lean_array_push(x_1527, x_1624); -x_1635 = lean_array_push(x_1634, x_1633); -x_1636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1636, 0, x_7); -lean_ctor_set(x_1636, 1, x_1635); -x_1637 = lean_array_push(x_1607, x_1619); -x_1638 = lean_array_push(x_1637, x_1602); -x_1639 = lean_array_push(x_1638, x_1636); -x_1640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1640, 0, x_1611); -lean_ctor_set(x_1640, 1, x_1639); -x_1641 = lean_array_push(x_1527, x_1612); -x_1642 = lean_array_push(x_1641, x_1640); -x_1643 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1643, 0, x_1525); -lean_ctor_set(x_1643, 1, x_1642); -x_1644 = lean_array_push(x_1523, x_1643); -x_1645 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1646, 0, x_1645); -lean_ctor_set(x_1646, 1, x_1644); -x_1647 = lean_array_push(x_1527, x_1587); -x_1648 = lean_array_push(x_1647, x_1646); -x_1649 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1650, 0, x_1649); -lean_ctor_set(x_1650, 1, x_1648); -x_1651 = lean_array_push(x_1540, x_1585); -x_1652 = lean_array_push(x_1651, x_1650); -x_1653 = lean_array_push(x_1652, x_1550); -x_1654 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1655, 0, x_1654); -lean_ctor_set(x_1655, 1, x_1653); -x_1656 = lean_array_push(x_1606, x_1558); -x_1657 = lean_array_push(x_1656, x_1566); -x_1658 = lean_array_push(x_1657, x_1583); -x_1659 = lean_array_push(x_1658, x_1655); -x_1660 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1661, 0, x_1660); -lean_ctor_set(x_1661, 1, x_1659); -x_1662 = lean_array_push(x_1527, x_1556); -x_1663 = lean_array_push(x_1662, x_1661); -x_1664 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1665, 0, x_1664); -lean_ctor_set(x_1665, 1, x_1663); -lean_ctor_set(x_1510, 0, x_1665); -return x_1508; -} -else -{ -lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; -x_1666 = lean_ctor_get(x_1510, 0); -lean_inc(x_1666); -lean_dec(x_1510); -x_1667 = lean_ctor_get(x_5, 2); -lean_inc(x_1667); -x_1668 = lean_ctor_get(x_5, 1); -lean_inc(x_1668); -lean_dec(x_5); -x_1669 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_1666); -x_1670 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1670, 0, x_1666); -lean_ctor_set(x_1670, 1, x_1669); -x_1671 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1667); -lean_inc(x_1668); -x_1672 = l_Lean_addMacroScope(x_1668, x_1671, x_1667); -x_1673 = lean_box(0); -x_1674 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1666); -x_1675 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1675, 0, x_1666); -lean_ctor_set(x_1675, 1, x_1674); -lean_ctor_set(x_1675, 2, x_1672); -lean_ctor_set(x_1675, 3, x_1673); -x_1676 = lean_mk_syntax_ident(x_434); -x_1677 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1678 = lean_array_push(x_1677, x_1676); -x_1679 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1680 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1680, 0, x_1679); -lean_ctor_set(x_1680, 1, x_1678); -x_1681 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1682 = lean_array_push(x_1681, x_1675); -x_1683 = lean_array_push(x_1682, x_1680); -x_1684 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1685, 0, x_1684); -lean_ctor_set(x_1685, 1, x_1683); -x_1686 = lean_array_push(x_1681, x_1); -x_1687 = lean_array_push(x_1686, x_1685); -x_1688 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1689 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1689, 0, x_1688); -lean_ctor_set(x_1689, 1, x_1687); -x_1690 = lean_array_push(x_1677, x_1689); -x_1691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1691, 0, x_1679); -lean_ctor_set(x_1691, 1, x_1690); -x_1692 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_1666); -x_1693 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1693, 0, x_1666); -lean_ctor_set(x_1693, 1, x_1692); -x_1694 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1695 = lean_array_push(x_1694, x_1670); -x_1696 = lean_array_push(x_1695, x_1691); -x_1697 = lean_array_push(x_1696, x_1693); -x_1698 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1699, 0, x_1698); -lean_ctor_set(x_1699, 1, x_1697); -x_1700 = lean_array_push(x_1677, x_1699); -x_1701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1701, 0, x_1679); -lean_ctor_set(x_1701, 1, x_1700); -x_1702 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1703 = lean_array_push(x_1702, x_1701); -x_1704 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1705 = lean_array_push(x_1703, x_1704); -x_1706 = lean_array_push(x_1705, x_1704); -x_1707 = lean_array_push(x_1706, x_1704); -x_1708 = lean_array_push(x_1707, x_1704); -x_1709 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1710, 0, x_1709); -lean_ctor_set(x_1710, 1, x_1708); -x_1711 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_1666); -x_1712 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1712, 0, x_1666); -lean_ctor_set(x_1712, 1, x_1711); -x_1713 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1667); -lean_inc(x_1668); -x_1714 = l_Lean_addMacroScope(x_1668, x_1713, x_1667); -x_1715 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1666); -x_1716 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1716, 0, x_1666); -lean_ctor_set(x_1716, 1, x_1715); -lean_ctor_set(x_1716, 2, x_1714); -lean_ctor_set(x_1716, 3, x_1673); -x_1717 = lean_array_push(x_1681, x_1716); -x_1718 = lean_array_push(x_1717, x_1704); -x_1719 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1720, 0, x_1719); -lean_ctor_set(x_1720, 1, x_1718); -x_1721 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_1666); -x_1722 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1722, 0, x_1666); -lean_ctor_set(x_1722, 1, x_1721); -x_1723 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1667); -lean_inc(x_1668); -x_1724 = l_Lean_addMacroScope(x_1668, x_1723, x_1667); -x_1725 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1726 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_1666); -x_1727 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1727, 0, x_1666); -lean_ctor_set(x_1727, 1, x_1725); -lean_ctor_set(x_1727, 2, x_1724); -lean_ctor_set(x_1727, 3, x_1726); -x_1728 = lean_array_push(x_1681, x_1722); -x_1729 = lean_array_push(x_1728, x_1727); -x_1730 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1731, 0, x_1730); -lean_ctor_set(x_1731, 1, x_1729); -x_1732 = lean_array_push(x_1677, x_1731); -x_1733 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1733, 0, x_1679); -lean_ctor_set(x_1733, 1, x_1732); -x_1734 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1735 = lean_array_push(x_1734, x_1733); -x_1736 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1737, 0, x_1736); -lean_ctor_set(x_1737, 1, x_1735); -x_1738 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_1666); -x_1739 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1739, 0, x_1666); -lean_ctor_set(x_1739, 1, x_1738); -x_1740 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_1666); -x_1741 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1741, 0, x_1666); -lean_ctor_set(x_1741, 1, x_1740); -x_1742 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_1666); -x_1743 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1743, 0, x_1666); -lean_ctor_set(x_1743, 1, x_1742); -x_1744 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_1666); -x_1745 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1745, 0, x_1666); -lean_ctor_set(x_1745, 1, x_1744); -x_1746 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_1666); -x_1747 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1747, 0, x_1666); -lean_ctor_set(x_1747, 1, x_1746); -x_1748 = lean_array_push(x_1694, x_1745); -lean_inc(x_1748); -x_1749 = lean_array_push(x_1748, x_1507); -lean_inc(x_1747); -x_1750 = lean_array_push(x_1749, x_1747); -x_1751 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1752 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1752, 0, x_1751); -lean_ctor_set(x_1752, 1, x_1750); -x_1753 = lean_array_push(x_1677, x_1752); -x_1754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1754, 0, x_1679); -lean_ctor_set(x_1754, 1, x_1753); -x_1755 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_1666); -x_1756 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1756, 0, x_1666); -lean_ctor_set(x_1756, 1, x_1755); -x_1757 = lean_array_push(x_1748, x_3); -lean_inc(x_1747); -x_1758 = lean_array_push(x_1757, x_1747); -x_1759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1759, 0, x_1751); -lean_ctor_set(x_1759, 1, x_1758); -x_1760 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1761 = lean_array_push(x_1760, x_1743); -lean_inc(x_1761); -x_1762 = lean_array_push(x_1761, x_1754); -lean_inc(x_1756); -x_1763 = lean_array_push(x_1762, x_1756); -x_1764 = lean_array_push(x_1763, x_1759); -x_1765 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1766 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1766, 0, x_1765); -lean_ctor_set(x_1766, 1, x_1764); -x_1767 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_1666); -x_1768 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1768, 0, x_1666); -lean_ctor_set(x_1768, 1, x_1767); -x_1769 = lean_array_push(x_1677, x_1768); -x_1770 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1771, 0, x_1770); -lean_ctor_set(x_1771, 1, x_1769); -x_1772 = lean_array_push(x_1677, x_1771); -x_1773 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1773, 0, x_1679); -lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1775 = l_Lean_addMacroScope(x_1668, x_1774, x_1667); -x_1776 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1777 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_1666); -x_1778 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1778, 0, x_1666); -lean_ctor_set(x_1778, 1, x_1776); -lean_ctor_set(x_1778, 2, x_1775); -lean_ctor_set(x_1778, 3, x_1777); -x_1779 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1780 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1780, 0, x_1666); -lean_ctor_set(x_1780, 1, x_1779); -x_1781 = lean_array_push(x_1694, x_1780); -x_1782 = lean_array_push(x_1781, x_1704); -x_1783 = lean_array_push(x_1782, x_1747); -x_1784 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1785 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1785, 0, x_1784); -lean_ctor_set(x_1785, 1, x_1783); -x_1786 = lean_array_push(x_1677, x_1785); -x_1787 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1787, 0, x_1679); -lean_ctor_set(x_1787, 1, x_1786); -x_1788 = lean_array_push(x_1681, x_1778); -x_1789 = lean_array_push(x_1788, x_1787); -x_1790 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1790, 0, x_7); -lean_ctor_set(x_1790, 1, x_1789); -x_1791 = lean_array_push(x_1761, x_1773); -x_1792 = lean_array_push(x_1791, x_1756); -x_1793 = lean_array_push(x_1792, x_1790); -x_1794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1794, 0, x_1765); -lean_ctor_set(x_1794, 1, x_1793); -x_1795 = lean_array_push(x_1681, x_1766); -x_1796 = lean_array_push(x_1795, x_1794); -x_1797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1797, 0, x_1679); -lean_ctor_set(x_1797, 1, x_1796); -x_1798 = lean_array_push(x_1677, x_1797); -x_1799 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1800 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1800, 0, x_1799); -lean_ctor_set(x_1800, 1, x_1798); -x_1801 = lean_array_push(x_1681, x_1741); -x_1802 = lean_array_push(x_1801, x_1800); -x_1803 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1804, 0, x_1803); -lean_ctor_set(x_1804, 1, x_1802); -x_1805 = lean_array_push(x_1694, x_1739); -x_1806 = lean_array_push(x_1805, x_1804); -x_1807 = lean_array_push(x_1806, x_1704); -x_1808 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1809, 0, x_1808); -lean_ctor_set(x_1809, 1, x_1807); -x_1810 = lean_array_push(x_1760, x_1712); -x_1811 = lean_array_push(x_1810, x_1720); -x_1812 = lean_array_push(x_1811, x_1737); -x_1813 = lean_array_push(x_1812, x_1809); -x_1814 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1815 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1815, 0, x_1814); -lean_ctor_set(x_1815, 1, x_1813); -x_1816 = lean_array_push(x_1681, x_1710); -x_1817 = lean_array_push(x_1816, x_1815); -x_1818 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1819, 0, x_1818); -lean_ctor_set(x_1819, 1, x_1817); -x_1820 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1820, 0, x_1819); -lean_ctor_set(x_1508, 0, x_1820); -return x_1508; -} -} -else -{ -lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; -x_1821 = lean_ctor_get(x_1508, 0); -x_1822 = lean_ctor_get(x_1508, 1); -lean_inc(x_1822); -lean_inc(x_1821); -lean_dec(x_1508); -x_1823 = lean_ctor_get(x_1821, 0); -lean_inc(x_1823); -if (lean_is_exclusive(x_1821)) { - lean_ctor_release(x_1821, 0); - x_1824 = x_1821; -} else { - lean_dec_ref(x_1821); - x_1824 = lean_box(0); -} -x_1825 = lean_ctor_get(x_5, 2); -lean_inc(x_1825); -x_1826 = lean_ctor_get(x_5, 1); -lean_inc(x_1826); -lean_dec(x_5); -x_1827 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_1823); -x_1828 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1828, 0, x_1823); -lean_ctor_set(x_1828, 1, x_1827); -x_1829 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1825); -lean_inc(x_1826); -x_1830 = l_Lean_addMacroScope(x_1826, x_1829, x_1825); -x_1831 = lean_box(0); -x_1832 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1823); -x_1833 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1833, 0, x_1823); -lean_ctor_set(x_1833, 1, x_1832); -lean_ctor_set(x_1833, 2, x_1830); -lean_ctor_set(x_1833, 3, x_1831); -x_1834 = lean_mk_syntax_ident(x_434); -x_1835 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1836 = lean_array_push(x_1835, x_1834); -x_1837 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1838 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1838, 0, x_1837); -lean_ctor_set(x_1838, 1, x_1836); -x_1839 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1840 = lean_array_push(x_1839, x_1833); -x_1841 = lean_array_push(x_1840, x_1838); -x_1842 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1843, 0, x_1842); -lean_ctor_set(x_1843, 1, x_1841); -x_1844 = lean_array_push(x_1839, x_1); -x_1845 = lean_array_push(x_1844, x_1843); -x_1846 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1847 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1847, 0, x_1846); -lean_ctor_set(x_1847, 1, x_1845); -x_1848 = lean_array_push(x_1835, x_1847); -x_1849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1849, 0, x_1837); -lean_ctor_set(x_1849, 1, x_1848); -x_1850 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_1823); -x_1851 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1851, 0, x_1823); -lean_ctor_set(x_1851, 1, x_1850); -x_1852 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1853 = lean_array_push(x_1852, x_1828); -x_1854 = lean_array_push(x_1853, x_1849); -x_1855 = lean_array_push(x_1854, x_1851); -x_1856 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1857, 0, x_1856); -lean_ctor_set(x_1857, 1, x_1855); -x_1858 = lean_array_push(x_1835, x_1857); -x_1859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1859, 0, x_1837); -lean_ctor_set(x_1859, 1, x_1858); -x_1860 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_1861 = lean_array_push(x_1860, x_1859); -x_1862 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1863 = lean_array_push(x_1861, x_1862); -x_1864 = lean_array_push(x_1863, x_1862); -x_1865 = lean_array_push(x_1864, x_1862); -x_1866 = lean_array_push(x_1865, x_1862); -x_1867 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1868, 0, x_1867); -lean_ctor_set(x_1868, 1, x_1866); -x_1869 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_1823); -x_1870 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1870, 0, x_1823); -lean_ctor_set(x_1870, 1, x_1869); -x_1871 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1825); -lean_inc(x_1826); -x_1872 = l_Lean_addMacroScope(x_1826, x_1871, x_1825); -x_1873 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1823); -x_1874 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1874, 0, x_1823); -lean_ctor_set(x_1874, 1, x_1873); -lean_ctor_set(x_1874, 2, x_1872); -lean_ctor_set(x_1874, 3, x_1831); -x_1875 = lean_array_push(x_1839, x_1874); -x_1876 = lean_array_push(x_1875, x_1862); -x_1877 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1878, 0, x_1877); -lean_ctor_set(x_1878, 1, x_1876); -x_1879 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_1823); -x_1880 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1880, 0, x_1823); -lean_ctor_set(x_1880, 1, x_1879); -x_1881 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1825); -lean_inc(x_1826); -x_1882 = l_Lean_addMacroScope(x_1826, x_1881, x_1825); -x_1883 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1884 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_1823); -x_1885 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1885, 0, x_1823); -lean_ctor_set(x_1885, 1, x_1883); -lean_ctor_set(x_1885, 2, x_1882); -lean_ctor_set(x_1885, 3, x_1884); -x_1886 = lean_array_push(x_1839, x_1880); -x_1887 = lean_array_push(x_1886, x_1885); -x_1888 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1889, 0, x_1888); -lean_ctor_set(x_1889, 1, x_1887); -x_1890 = lean_array_push(x_1835, x_1889); -x_1891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1891, 0, x_1837); -lean_ctor_set(x_1891, 1, x_1890); -x_1892 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1893 = lean_array_push(x_1892, x_1891); -x_1894 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1895, 0, x_1894); -lean_ctor_set(x_1895, 1, x_1893); -x_1896 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_1823); -x_1897 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1897, 0, x_1823); -lean_ctor_set(x_1897, 1, x_1896); -x_1898 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_1823); -x_1899 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1899, 0, x_1823); -lean_ctor_set(x_1899, 1, x_1898); -x_1900 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_1823); -x_1901 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1901, 0, x_1823); -lean_ctor_set(x_1901, 1, x_1900); -x_1902 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_1823); -x_1903 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1903, 0, x_1823); -lean_ctor_set(x_1903, 1, x_1902); -x_1904 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_1823); -x_1905 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1905, 0, x_1823); -lean_ctor_set(x_1905, 1, x_1904); -x_1906 = lean_array_push(x_1852, x_1903); -lean_inc(x_1906); -x_1907 = lean_array_push(x_1906, x_1507); -lean_inc(x_1905); -x_1908 = lean_array_push(x_1907, x_1905); -x_1909 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_1910 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1910, 0, x_1909); -lean_ctor_set(x_1910, 1, x_1908); -x_1911 = lean_array_push(x_1835, x_1910); -x_1912 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1912, 0, x_1837); -lean_ctor_set(x_1912, 1, x_1911); -x_1913 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_1823); -x_1914 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1914, 0, x_1823); -lean_ctor_set(x_1914, 1, x_1913); -x_1915 = lean_array_push(x_1906, x_3); -lean_inc(x_1905); -x_1916 = lean_array_push(x_1915, x_1905); -x_1917 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1917, 0, x_1909); -lean_ctor_set(x_1917, 1, x_1916); -x_1918 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1919 = lean_array_push(x_1918, x_1901); -lean_inc(x_1919); -x_1920 = lean_array_push(x_1919, x_1912); -lean_inc(x_1914); -x_1921 = lean_array_push(x_1920, x_1914); -x_1922 = lean_array_push(x_1921, x_1917); -x_1923 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1924 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1924, 0, x_1923); -lean_ctor_set(x_1924, 1, x_1922); -x_1925 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_1823); -x_1926 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1926, 0, x_1823); -lean_ctor_set(x_1926, 1, x_1925); -x_1927 = lean_array_push(x_1835, x_1926); -x_1928 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1929, 0, x_1928); -lean_ctor_set(x_1929, 1, x_1927); -x_1930 = lean_array_push(x_1835, x_1929); -x_1931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1931, 0, x_1837); -lean_ctor_set(x_1931, 1, x_1930); -x_1932 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_1933 = l_Lean_addMacroScope(x_1826, x_1932, x_1825); -x_1934 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_1935 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_1823); -x_1936 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1936, 0, x_1823); -lean_ctor_set(x_1936, 1, x_1934); -lean_ctor_set(x_1936, 2, x_1933); -lean_ctor_set(x_1936, 3, x_1935); -x_1937 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_1938 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1938, 0, x_1823); -lean_ctor_set(x_1938, 1, x_1937); -x_1939 = lean_array_push(x_1852, x_1938); -x_1940 = lean_array_push(x_1939, x_1862); -x_1941 = lean_array_push(x_1940, x_1905); -x_1942 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_1943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1943, 0, x_1942); -lean_ctor_set(x_1943, 1, x_1941); -x_1944 = lean_array_push(x_1835, x_1943); -x_1945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1945, 0, x_1837); -lean_ctor_set(x_1945, 1, x_1944); -x_1946 = lean_array_push(x_1839, x_1936); -x_1947 = lean_array_push(x_1946, x_1945); -x_1948 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1948, 0, x_7); -lean_ctor_set(x_1948, 1, x_1947); -x_1949 = lean_array_push(x_1919, x_1931); -x_1950 = lean_array_push(x_1949, x_1914); -x_1951 = lean_array_push(x_1950, x_1948); -x_1952 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1952, 0, x_1923); -lean_ctor_set(x_1952, 1, x_1951); -x_1953 = lean_array_push(x_1839, x_1924); -x_1954 = lean_array_push(x_1953, x_1952); -x_1955 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1955, 0, x_1837); -lean_ctor_set(x_1955, 1, x_1954); -x_1956 = lean_array_push(x_1835, x_1955); -x_1957 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1958, 0, x_1957); -lean_ctor_set(x_1958, 1, x_1956); -x_1959 = lean_array_push(x_1839, x_1899); -x_1960 = lean_array_push(x_1959, x_1958); -x_1961 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1962 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1962, 0, x_1961); -lean_ctor_set(x_1962, 1, x_1960); -x_1963 = lean_array_push(x_1852, x_1897); -x_1964 = lean_array_push(x_1963, x_1962); -x_1965 = lean_array_push(x_1964, x_1862); -x_1966 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1967, 0, x_1966); -lean_ctor_set(x_1967, 1, x_1965); -x_1968 = lean_array_push(x_1918, x_1870); -x_1969 = lean_array_push(x_1968, x_1878); -x_1970 = lean_array_push(x_1969, x_1895); -x_1971 = lean_array_push(x_1970, x_1967); -x_1972 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1973 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1973, 0, x_1972); -lean_ctor_set(x_1973, 1, x_1971); -x_1974 = lean_array_push(x_1839, x_1868); -x_1975 = lean_array_push(x_1974, x_1973); -x_1976 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1977 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1977, 0, x_1976); -lean_ctor_set(x_1977, 1, x_1975); -if (lean_is_scalar(x_1824)) { - x_1978 = lean_alloc_ctor(1, 1, 0); -} else { - x_1978 = x_1824; -} -lean_ctor_set(x_1978, 0, x_1977); -x_1979 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1979, 0, x_1978); -lean_ctor_set(x_1979, 1, x_1822); -return x_1979; -} -} -} -} -} -else -{ -lean_object* x_2031; -lean_dec(x_434); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2031 = lean_box(0); -lean_ctor_set(x_420, 0, x_2031); -return x_420; -} -} -} -} -else -{ -lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; uint8_t x_2035; -x_2032 = lean_ctor_get(x_420, 1); -lean_inc(x_2032); -lean_dec(x_420); -x_2033 = lean_ctor_get(x_428, 0); -lean_inc(x_2033); -lean_dec(x_428); -x_2034 = lean_array_get_size(x_418); -x_2035 = lean_nat_dec_lt(x_410, x_2034); -if (x_2035 == 0) -{ -uint8_t x_2036; -lean_dec(x_2034); -x_2036 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_2036 == 0) -{ -lean_object* x_2037; lean_object* x_2038; -lean_dec(x_2033); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2037 = lean_box(0); -x_2038 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2038, 0, x_2037); -lean_ctor_set(x_2038, 1, x_2032); -return x_2038; -} -else -{ -lean_object* x_2039; lean_object* x_2040; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; -x_2224 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); -x_2225 = lean_ctor_get(x_2224, 0); -lean_inc(x_2225); -x_2226 = lean_ctor_get(x_2224, 1); -lean_inc(x_2226); -lean_dec(x_2224); -x_2227 = lean_ctor_get(x_2225, 0); -lean_inc(x_2227); -if (lean_is_exclusive(x_2225)) { - lean_ctor_release(x_2225, 0); - x_2228 = x_2225; -} else { - lean_dec_ref(x_2225); - x_2228 = lean_box(0); -} -x_2229 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_2230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2230, 0, x_2227); -lean_ctor_set(x_2230, 1, x_2229); -x_2231 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2232 = lean_array_push(x_2231, x_2230); -x_2233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2234, 0, x_2233); -lean_ctor_set(x_2234, 1, x_2232); -if (lean_is_scalar(x_2228)) { - x_2235 = lean_alloc_ctor(1, 1, 0); -} else { - x_2235 = x_2228; -} -lean_ctor_set(x_2235, 0, x_2234); -x_2039 = x_2235; -x_2040 = x_2226; -goto block_2223; -block_2223: -{ -lean_object* x_2041; lean_object* x_2042; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; -x_2206 = lean_ctor_get(x_2039, 0); -lean_inc(x_2206); -lean_dec(x_2039); -x_2207 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2040); -x_2208 = lean_ctor_get(x_2207, 0); -lean_inc(x_2208); -if (lean_is_exclusive(x_2208)) { - lean_ctor_release(x_2208, 0); - x_2209 = x_2208; -} else { - lean_dec_ref(x_2208); - x_2209 = lean_box(0); -} -x_2210 = lean_ctor_get(x_2207, 1); -lean_inc(x_2210); -lean_dec(x_2207); -x_2211 = lean_box(0); -x_2212 = lean_box(0); -x_2213 = l_Lean_Syntax_mkAntiquotNode(x_2206, x_410, x_2211, x_2212); -x_2214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2215 = l_Array_append___rarg(x_2214, x_418); -lean_dec(x_418); -x_2216 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2217, 0, x_2216); -lean_ctor_set(x_2217, 1, x_2215); -x_2218 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2219 = lean_array_push(x_2218, x_2213); -x_2220 = lean_array_push(x_2219, x_2217); -x_2221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2221, 0, x_7); -lean_ctor_set(x_2221, 1, x_2220); -if (lean_is_scalar(x_2209)) { - x_2222 = lean_alloc_ctor(1, 1, 0); -} else { - x_2222 = x_2209; -} -lean_ctor_set(x_2222, 0, x_2221); -x_2041 = x_2222; -x_2042 = x_2210; -goto block_2205; -block_2205: -{ -lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; -x_2043 = lean_ctor_get(x_2041, 0); -lean_inc(x_2043); -lean_dec(x_2041); -x_2044 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2042); -x_2045 = lean_ctor_get(x_2044, 0); -lean_inc(x_2045); -x_2046 = lean_ctor_get(x_2044, 1); -lean_inc(x_2046); -if (lean_is_exclusive(x_2044)) { - lean_ctor_release(x_2044, 0); - lean_ctor_release(x_2044, 1); - x_2047 = x_2044; -} else { - lean_dec_ref(x_2044); - x_2047 = lean_box(0); -} -x_2048 = lean_ctor_get(x_2045, 0); -lean_inc(x_2048); -if (lean_is_exclusive(x_2045)) { - lean_ctor_release(x_2045, 0); - x_2049 = x_2045; -} else { - lean_dec_ref(x_2045); - x_2049 = lean_box(0); -} -x_2050 = lean_ctor_get(x_5, 2); -lean_inc(x_2050); -x_2051 = lean_ctor_get(x_5, 1); -lean_inc(x_2051); -lean_dec(x_5); -x_2052 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_2048); -x_2053 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2053, 0, x_2048); -lean_ctor_set(x_2053, 1, x_2052); -x_2054 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2050); -lean_inc(x_2051); -x_2055 = l_Lean_addMacroScope(x_2051, x_2054, x_2050); -x_2056 = lean_box(0); -x_2057 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2048); -x_2058 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2058, 0, x_2048); -lean_ctor_set(x_2058, 1, x_2057); -lean_ctor_set(x_2058, 2, x_2055); -lean_ctor_set(x_2058, 3, x_2056); -x_2059 = lean_mk_syntax_ident(x_2033); -x_2060 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2061 = lean_array_push(x_2060, x_2059); -x_2062 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2063 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2063, 0, x_2062); -lean_ctor_set(x_2063, 1, x_2061); -x_2064 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2065 = lean_array_push(x_2064, x_2058); -x_2066 = lean_array_push(x_2065, x_2063); -x_2067 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_2068 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2068, 0, x_2067); -lean_ctor_set(x_2068, 1, x_2066); -x_2069 = lean_array_push(x_2064, x_1); -x_2070 = lean_array_push(x_2069, x_2068); -x_2071 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_2072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2072, 0, x_2071); -lean_ctor_set(x_2072, 1, x_2070); -x_2073 = lean_array_push(x_2060, x_2072); -x_2074 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2074, 0, x_2062); -lean_ctor_set(x_2074, 1, x_2073); -x_2075 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_2048); -x_2076 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2076, 0, x_2048); -lean_ctor_set(x_2076, 1, x_2075); -x_2077 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_2078 = lean_array_push(x_2077, x_2053); -x_2079 = lean_array_push(x_2078, x_2074); -x_2080 = lean_array_push(x_2079, x_2076); -x_2081 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_2082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2082, 0, x_2081); -lean_ctor_set(x_2082, 1, x_2080); -x_2083 = lean_array_push(x_2060, x_2082); -x_2084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2084, 0, x_2062); -lean_ctor_set(x_2084, 1, x_2083); -x_2085 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_2086 = lean_array_push(x_2085, x_2084); -x_2087 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_2088 = lean_array_push(x_2086, x_2087); -x_2089 = lean_array_push(x_2088, x_2087); -x_2090 = lean_array_push(x_2089, x_2087); -x_2091 = lean_array_push(x_2090, x_2087); -x_2092 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_2093 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2093, 0, x_2092); -lean_ctor_set(x_2093, 1, x_2091); -x_2094 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_2048); -x_2095 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2095, 0, x_2048); -lean_ctor_set(x_2095, 1, x_2094); -x_2096 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2050); -lean_inc(x_2051); -x_2097 = l_Lean_addMacroScope(x_2051, x_2096, x_2050); -x_2098 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2048); -x_2099 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2099, 0, x_2048); -lean_ctor_set(x_2099, 1, x_2098); -lean_ctor_set(x_2099, 2, x_2097); -lean_ctor_set(x_2099, 3, x_2056); -x_2100 = lean_array_push(x_2064, x_2099); -x_2101 = lean_array_push(x_2100, x_2087); -x_2102 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_2103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2103, 0, x_2102); -lean_ctor_set(x_2103, 1, x_2101); -x_2104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_2048); -x_2105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2105, 0, x_2048); -lean_ctor_set(x_2105, 1, x_2104); -x_2106 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2050); -lean_inc(x_2051); -x_2107 = l_Lean_addMacroScope(x_2051, x_2106, x_2050); -x_2108 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2109 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_2048); -x_2110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2110, 0, x_2048); -lean_ctor_set(x_2110, 1, x_2108); -lean_ctor_set(x_2110, 2, x_2107); -lean_ctor_set(x_2110, 3, x_2109); -x_2111 = lean_array_push(x_2064, x_2105); -x_2112 = lean_array_push(x_2111, x_2110); -x_2113 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_2114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2114, 0, x_2113); -lean_ctor_set(x_2114, 1, x_2112); -x_2115 = lean_array_push(x_2060, x_2114); -x_2116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2116, 0, x_2062); -lean_ctor_set(x_2116, 1, x_2115); -x_2117 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_2118 = lean_array_push(x_2117, x_2116); -x_2119 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_2120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2120, 0, x_2119); -lean_ctor_set(x_2120, 1, x_2118); -x_2121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_2048); -x_2122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2122, 0, x_2048); -lean_ctor_set(x_2122, 1, x_2121); -x_2123 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_2048); -x_2124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2124, 0, x_2048); -lean_ctor_set(x_2124, 1, x_2123); -x_2125 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_2048); -x_2126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2126, 0, x_2048); -lean_ctor_set(x_2126, 1, x_2125); -x_2127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_2048); -x_2128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2128, 0, x_2048); -lean_ctor_set(x_2128, 1, x_2127); -x_2129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_2048); -x_2130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2130, 0, x_2048); -lean_ctor_set(x_2130, 1, x_2129); -x_2131 = lean_array_push(x_2077, x_2128); -lean_inc(x_2131); -x_2132 = lean_array_push(x_2131, x_2043); -lean_inc(x_2130); -x_2133 = lean_array_push(x_2132, x_2130); -x_2134 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_2135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2135, 0, x_2134); -lean_ctor_set(x_2135, 1, x_2133); -x_2136 = lean_array_push(x_2060, x_2135); -x_2137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2137, 0, x_2062); -lean_ctor_set(x_2137, 1, x_2136); -x_2138 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_2048); -x_2139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2139, 0, x_2048); -lean_ctor_set(x_2139, 1, x_2138); -x_2140 = lean_array_push(x_2131, x_3); -lean_inc(x_2130); -x_2141 = lean_array_push(x_2140, x_2130); -x_2142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2142, 0, x_2134); -lean_ctor_set(x_2142, 1, x_2141); -x_2143 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_2144 = lean_array_push(x_2143, x_2126); -lean_inc(x_2144); -x_2145 = lean_array_push(x_2144, x_2137); -lean_inc(x_2139); -x_2146 = lean_array_push(x_2145, x_2139); -x_2147 = lean_array_push(x_2146, x_2142); -x_2148 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_2149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2149, 0, x_2148); -lean_ctor_set(x_2149, 1, x_2147); -x_2150 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_2048); -x_2151 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2151, 0, x_2048); -lean_ctor_set(x_2151, 1, x_2150); -x_2152 = lean_array_push(x_2060, x_2151); -x_2153 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2154, 0, x_2153); -lean_ctor_set(x_2154, 1, x_2152); -x_2155 = lean_array_push(x_2060, x_2154); -x_2156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2156, 0, x_2062); -lean_ctor_set(x_2156, 1, x_2155); -x_2157 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_2158 = l_Lean_addMacroScope(x_2051, x_2157, x_2050); -x_2159 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_2160 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_2048); -x_2161 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2161, 0, x_2048); -lean_ctor_set(x_2161, 1, x_2159); -lean_ctor_set(x_2161, 2, x_2158); -lean_ctor_set(x_2161, 3, x_2160); -x_2162 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_2163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2163, 0, x_2048); -lean_ctor_set(x_2163, 1, x_2162); -x_2164 = lean_array_push(x_2077, x_2163); -x_2165 = lean_array_push(x_2164, x_2087); -x_2166 = lean_array_push(x_2165, x_2130); -x_2167 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_2168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2168, 0, x_2167); -lean_ctor_set(x_2168, 1, x_2166); -x_2169 = lean_array_push(x_2060, x_2168); -x_2170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2170, 0, x_2062); -lean_ctor_set(x_2170, 1, x_2169); -x_2171 = lean_array_push(x_2064, x_2161); -x_2172 = lean_array_push(x_2171, x_2170); -x_2173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2173, 0, x_7); -lean_ctor_set(x_2173, 1, x_2172); -x_2174 = lean_array_push(x_2144, x_2156); -x_2175 = lean_array_push(x_2174, x_2139); -x_2176 = lean_array_push(x_2175, x_2173); -x_2177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2177, 0, x_2148); -lean_ctor_set(x_2177, 1, x_2176); -x_2178 = lean_array_push(x_2064, x_2149); -x_2179 = lean_array_push(x_2178, x_2177); -x_2180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2180, 0, x_2062); -lean_ctor_set(x_2180, 1, x_2179); -x_2181 = lean_array_push(x_2060, x_2180); -x_2182 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_2183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2183, 0, x_2182); -lean_ctor_set(x_2183, 1, x_2181); -x_2184 = lean_array_push(x_2064, x_2124); -x_2185 = lean_array_push(x_2184, x_2183); -x_2186 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_2187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2187, 0, x_2186); -lean_ctor_set(x_2187, 1, x_2185); -x_2188 = lean_array_push(x_2077, x_2122); -x_2189 = lean_array_push(x_2188, x_2187); -x_2190 = lean_array_push(x_2189, x_2087); -x_2191 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_2192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2192, 0, x_2191); -lean_ctor_set(x_2192, 1, x_2190); -x_2193 = lean_array_push(x_2143, x_2095); -x_2194 = lean_array_push(x_2193, x_2103); -x_2195 = lean_array_push(x_2194, x_2120); -x_2196 = lean_array_push(x_2195, x_2192); -x_2197 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_2198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2198, 0, x_2197); -lean_ctor_set(x_2198, 1, x_2196); -x_2199 = lean_array_push(x_2064, x_2093); -x_2200 = lean_array_push(x_2199, x_2198); -x_2201 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_2202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2202, 0, x_2201); -lean_ctor_set(x_2202, 1, x_2200); -if (lean_is_scalar(x_2049)) { - x_2203 = lean_alloc_ctor(1, 1, 0); -} else { - x_2203 = x_2049; -} -lean_ctor_set(x_2203, 0, x_2202); -if (lean_is_scalar(x_2047)) { - x_2204 = lean_alloc_ctor(0, 2, 0); -} else { - x_2204 = x_2047; -} -lean_ctor_set(x_2204, 0, x_2203); -lean_ctor_set(x_2204, 1, x_2046); -return x_2204; -} -} -} -} -else -{ -uint8_t x_2236; -x_2236 = lean_nat_dec_le(x_2034, x_2034); -if (x_2236 == 0) -{ -uint8_t x_2237; -lean_dec(x_2034); -x_2237 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_2237 == 0) -{ -lean_object* x_2238; lean_object* x_2239; -lean_dec(x_2033); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2238 = lean_box(0); -x_2239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2239, 0, x_2238); -lean_ctor_set(x_2239, 1, x_2032); -return x_2239; -} -else -{ -lean_object* x_2240; lean_object* x_2241; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; -x_2425 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); -x_2426 = lean_ctor_get(x_2425, 0); -lean_inc(x_2426); -x_2427 = lean_ctor_get(x_2425, 1); -lean_inc(x_2427); -lean_dec(x_2425); -x_2428 = lean_ctor_get(x_2426, 0); -lean_inc(x_2428); -if (lean_is_exclusive(x_2426)) { - lean_ctor_release(x_2426, 0); - x_2429 = x_2426; -} else { - lean_dec_ref(x_2426); - x_2429 = lean_box(0); -} -x_2430 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_2431 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2431, 0, x_2428); -lean_ctor_set(x_2431, 1, x_2430); -x_2432 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2433 = lean_array_push(x_2432, x_2431); -x_2434 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2435, 0, x_2434); -lean_ctor_set(x_2435, 1, x_2433); -if (lean_is_scalar(x_2429)) { - x_2436 = lean_alloc_ctor(1, 1, 0); -} else { - x_2436 = x_2429; -} -lean_ctor_set(x_2436, 0, x_2435); -x_2240 = x_2436; -x_2241 = x_2427; -goto block_2424; -block_2424: -{ -lean_object* x_2242; lean_object* x_2243; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; -x_2407 = lean_ctor_get(x_2240, 0); -lean_inc(x_2407); -lean_dec(x_2240); -x_2408 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2241); -x_2409 = lean_ctor_get(x_2408, 0); -lean_inc(x_2409); -if (lean_is_exclusive(x_2409)) { - lean_ctor_release(x_2409, 0); - x_2410 = x_2409; -} else { - lean_dec_ref(x_2409); - x_2410 = lean_box(0); -} -x_2411 = lean_ctor_get(x_2408, 1); -lean_inc(x_2411); -lean_dec(x_2408); -x_2412 = lean_box(0); -x_2413 = lean_box(0); -x_2414 = l_Lean_Syntax_mkAntiquotNode(x_2407, x_410, x_2412, x_2413); -x_2415 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2416 = l_Array_append___rarg(x_2415, x_418); -lean_dec(x_418); -x_2417 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2418, 0, x_2417); -lean_ctor_set(x_2418, 1, x_2416); -x_2419 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2420 = lean_array_push(x_2419, x_2414); -x_2421 = lean_array_push(x_2420, x_2418); -x_2422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2422, 0, x_7); -lean_ctor_set(x_2422, 1, x_2421); -if (lean_is_scalar(x_2410)) { - x_2423 = lean_alloc_ctor(1, 1, 0); -} else { - x_2423 = x_2410; -} -lean_ctor_set(x_2423, 0, x_2422); -x_2242 = x_2423; -x_2243 = x_2411; -goto block_2406; -block_2406: -{ -lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; -x_2244 = lean_ctor_get(x_2242, 0); -lean_inc(x_2244); -lean_dec(x_2242); -x_2245 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2243); -x_2246 = lean_ctor_get(x_2245, 0); -lean_inc(x_2246); -x_2247 = lean_ctor_get(x_2245, 1); -lean_inc(x_2247); -if (lean_is_exclusive(x_2245)) { - lean_ctor_release(x_2245, 0); - lean_ctor_release(x_2245, 1); - x_2248 = x_2245; -} else { - lean_dec_ref(x_2245); - x_2248 = lean_box(0); -} -x_2249 = lean_ctor_get(x_2246, 0); -lean_inc(x_2249); -if (lean_is_exclusive(x_2246)) { - lean_ctor_release(x_2246, 0); - x_2250 = x_2246; -} else { - lean_dec_ref(x_2246); - x_2250 = lean_box(0); -} -x_2251 = lean_ctor_get(x_5, 2); -lean_inc(x_2251); -x_2252 = lean_ctor_get(x_5, 1); -lean_inc(x_2252); -lean_dec(x_5); -x_2253 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_2249); -x_2254 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2254, 0, x_2249); -lean_ctor_set(x_2254, 1, x_2253); -x_2255 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2251); -lean_inc(x_2252); -x_2256 = l_Lean_addMacroScope(x_2252, x_2255, x_2251); -x_2257 = lean_box(0); -x_2258 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2249); -x_2259 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2259, 0, x_2249); -lean_ctor_set(x_2259, 1, x_2258); -lean_ctor_set(x_2259, 2, x_2256); -lean_ctor_set(x_2259, 3, x_2257); -x_2260 = lean_mk_syntax_ident(x_2033); -x_2261 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2262 = lean_array_push(x_2261, x_2260); -x_2263 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2264, 0, x_2263); -lean_ctor_set(x_2264, 1, x_2262); -x_2265 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2266 = lean_array_push(x_2265, x_2259); -x_2267 = lean_array_push(x_2266, x_2264); -x_2268 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_2269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2269, 0, x_2268); -lean_ctor_set(x_2269, 1, x_2267); -x_2270 = lean_array_push(x_2265, x_1); -x_2271 = lean_array_push(x_2270, x_2269); -x_2272 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_2273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2273, 0, x_2272); -lean_ctor_set(x_2273, 1, x_2271); -x_2274 = lean_array_push(x_2261, x_2273); -x_2275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2275, 0, x_2263); -lean_ctor_set(x_2275, 1, x_2274); -x_2276 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_2249); -x_2277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2277, 0, x_2249); -lean_ctor_set(x_2277, 1, x_2276); -x_2278 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_2279 = lean_array_push(x_2278, x_2254); -x_2280 = lean_array_push(x_2279, x_2275); -x_2281 = lean_array_push(x_2280, x_2277); -x_2282 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_2283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2283, 0, x_2282); -lean_ctor_set(x_2283, 1, x_2281); -x_2284 = lean_array_push(x_2261, x_2283); -x_2285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2285, 0, x_2263); -lean_ctor_set(x_2285, 1, x_2284); -x_2286 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_2287 = lean_array_push(x_2286, x_2285); -x_2288 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_2289 = lean_array_push(x_2287, x_2288); -x_2290 = lean_array_push(x_2289, x_2288); -x_2291 = lean_array_push(x_2290, x_2288); -x_2292 = lean_array_push(x_2291, x_2288); -x_2293 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_2294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2294, 0, x_2293); -lean_ctor_set(x_2294, 1, x_2292); -x_2295 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_2249); -x_2296 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2296, 0, x_2249); -lean_ctor_set(x_2296, 1, x_2295); -x_2297 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2251); -lean_inc(x_2252); -x_2298 = l_Lean_addMacroScope(x_2252, x_2297, x_2251); -x_2299 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2249); -x_2300 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2300, 0, x_2249); -lean_ctor_set(x_2300, 1, x_2299); -lean_ctor_set(x_2300, 2, x_2298); -lean_ctor_set(x_2300, 3, x_2257); -x_2301 = lean_array_push(x_2265, x_2300); -x_2302 = lean_array_push(x_2301, x_2288); -x_2303 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_2304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2304, 0, x_2303); -lean_ctor_set(x_2304, 1, x_2302); -x_2305 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_2249); -x_2306 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2306, 0, x_2249); -lean_ctor_set(x_2306, 1, x_2305); -x_2307 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2251); -lean_inc(x_2252); -x_2308 = l_Lean_addMacroScope(x_2252, x_2307, x_2251); -x_2309 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2310 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_2249); -x_2311 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2311, 0, x_2249); -lean_ctor_set(x_2311, 1, x_2309); -lean_ctor_set(x_2311, 2, x_2308); -lean_ctor_set(x_2311, 3, x_2310); -x_2312 = lean_array_push(x_2265, x_2306); -x_2313 = lean_array_push(x_2312, x_2311); -x_2314 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_2315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2315, 0, x_2314); -lean_ctor_set(x_2315, 1, x_2313); -x_2316 = lean_array_push(x_2261, x_2315); -x_2317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2317, 0, x_2263); -lean_ctor_set(x_2317, 1, x_2316); -x_2318 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_2319 = lean_array_push(x_2318, x_2317); -x_2320 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_2321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2321, 0, x_2320); -lean_ctor_set(x_2321, 1, x_2319); -x_2322 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_2249); -x_2323 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2323, 0, x_2249); -lean_ctor_set(x_2323, 1, x_2322); -x_2324 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_2249); -x_2325 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2325, 0, x_2249); -lean_ctor_set(x_2325, 1, x_2324); -x_2326 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_2249); -x_2327 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2327, 0, x_2249); -lean_ctor_set(x_2327, 1, x_2326); -x_2328 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_2249); -x_2329 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2329, 0, x_2249); -lean_ctor_set(x_2329, 1, x_2328); -x_2330 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_2249); -x_2331 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2331, 0, x_2249); -lean_ctor_set(x_2331, 1, x_2330); -x_2332 = lean_array_push(x_2278, x_2329); -lean_inc(x_2332); -x_2333 = lean_array_push(x_2332, x_2244); -lean_inc(x_2331); -x_2334 = lean_array_push(x_2333, x_2331); -x_2335 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_2336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2336, 0, x_2335); -lean_ctor_set(x_2336, 1, x_2334); -x_2337 = lean_array_push(x_2261, x_2336); -x_2338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2338, 0, x_2263); -lean_ctor_set(x_2338, 1, x_2337); -x_2339 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_2249); -x_2340 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2340, 0, x_2249); -lean_ctor_set(x_2340, 1, x_2339); -x_2341 = lean_array_push(x_2332, x_3); -lean_inc(x_2331); -x_2342 = lean_array_push(x_2341, x_2331); -x_2343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2343, 0, x_2335); -lean_ctor_set(x_2343, 1, x_2342); -x_2344 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_2345 = lean_array_push(x_2344, x_2327); -lean_inc(x_2345); -x_2346 = lean_array_push(x_2345, x_2338); -lean_inc(x_2340); -x_2347 = lean_array_push(x_2346, x_2340); -x_2348 = lean_array_push(x_2347, x_2343); -x_2349 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_2350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2350, 0, x_2349); -lean_ctor_set(x_2350, 1, x_2348); -x_2351 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_2249); -x_2352 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2352, 0, x_2249); -lean_ctor_set(x_2352, 1, x_2351); -x_2353 = lean_array_push(x_2261, x_2352); -x_2354 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2355, 0, x_2354); -lean_ctor_set(x_2355, 1, x_2353); -x_2356 = lean_array_push(x_2261, x_2355); -x_2357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2357, 0, x_2263); -lean_ctor_set(x_2357, 1, x_2356); -x_2358 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_2359 = l_Lean_addMacroScope(x_2252, x_2358, x_2251); -x_2360 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_2361 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_2249); -x_2362 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2362, 0, x_2249); -lean_ctor_set(x_2362, 1, x_2360); -lean_ctor_set(x_2362, 2, x_2359); -lean_ctor_set(x_2362, 3, x_2361); -x_2363 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_2364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2364, 0, x_2249); -lean_ctor_set(x_2364, 1, x_2363); -x_2365 = lean_array_push(x_2278, x_2364); -x_2366 = lean_array_push(x_2365, x_2288); -x_2367 = lean_array_push(x_2366, x_2331); -x_2368 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_2369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2369, 0, x_2368); -lean_ctor_set(x_2369, 1, x_2367); -x_2370 = lean_array_push(x_2261, x_2369); -x_2371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2371, 0, x_2263); -lean_ctor_set(x_2371, 1, x_2370); -x_2372 = lean_array_push(x_2265, x_2362); -x_2373 = lean_array_push(x_2372, x_2371); -x_2374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2374, 0, x_7); -lean_ctor_set(x_2374, 1, x_2373); -x_2375 = lean_array_push(x_2345, x_2357); -x_2376 = lean_array_push(x_2375, x_2340); -x_2377 = lean_array_push(x_2376, x_2374); -x_2378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2378, 0, x_2349); -lean_ctor_set(x_2378, 1, x_2377); -x_2379 = lean_array_push(x_2265, x_2350); -x_2380 = lean_array_push(x_2379, x_2378); -x_2381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2381, 0, x_2263); -lean_ctor_set(x_2381, 1, x_2380); -x_2382 = lean_array_push(x_2261, x_2381); -x_2383 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_2384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2384, 0, x_2383); -lean_ctor_set(x_2384, 1, x_2382); -x_2385 = lean_array_push(x_2265, x_2325); -x_2386 = lean_array_push(x_2385, x_2384); -x_2387 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_2388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2388, 0, x_2387); -lean_ctor_set(x_2388, 1, x_2386); -x_2389 = lean_array_push(x_2278, x_2323); -x_2390 = lean_array_push(x_2389, x_2388); -x_2391 = lean_array_push(x_2390, x_2288); -x_2392 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_2393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2393, 0, x_2392); -lean_ctor_set(x_2393, 1, x_2391); -x_2394 = lean_array_push(x_2344, x_2296); -x_2395 = lean_array_push(x_2394, x_2304); -x_2396 = lean_array_push(x_2395, x_2321); -x_2397 = lean_array_push(x_2396, x_2393); -x_2398 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_2399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2399, 0, x_2398); -lean_ctor_set(x_2399, 1, x_2397); -x_2400 = lean_array_push(x_2265, x_2294); -x_2401 = lean_array_push(x_2400, x_2399); -x_2402 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_2403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2403, 0, x_2402); -lean_ctor_set(x_2403, 1, x_2401); -if (lean_is_scalar(x_2250)) { - x_2404 = lean_alloc_ctor(1, 1, 0); -} else { - x_2404 = x_2250; -} -lean_ctor_set(x_2404, 0, x_2403); -if (lean_is_scalar(x_2248)) { - x_2405 = lean_alloc_ctor(0, 2, 0); -} else { - x_2405 = x_2248; -} -lean_ctor_set(x_2405, 0, x_2404); -lean_ctor_set(x_2405, 1, x_2247); -return x_2405; -} -} -} -} -else -{ -size_t x_2437; size_t x_2438; uint8_t x_2439; -x_2437 = 0; -x_2438 = lean_usize_of_nat(x_2034); -lean_dec(x_2034); -x_2439 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_418, x_2437, x_2438); -if (x_2439 == 0) -{ -uint8_t x_2440; -x_2440 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_418, x_410); -if (x_2440 == 0) -{ -lean_object* x_2441; lean_object* x_2442; -lean_dec(x_2033); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2441 = lean_box(0); -x_2442 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2442, 0, x_2441); -lean_ctor_set(x_2442, 1, x_2032); -return x_2442; -} -else -{ -lean_object* x_2443; lean_object* x_2444; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; -x_2628 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2032); -x_2629 = lean_ctor_get(x_2628, 0); -lean_inc(x_2629); -x_2630 = lean_ctor_get(x_2628, 1); -lean_inc(x_2630); -lean_dec(x_2628); -x_2631 = lean_ctor_get(x_2629, 0); -lean_inc(x_2631); -if (lean_is_exclusive(x_2629)) { - lean_ctor_release(x_2629, 0); - x_2632 = x_2629; -} else { - lean_dec_ref(x_2629); - x_2632 = lean_box(0); -} -x_2633 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -x_2634 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2634, 0, x_2631); -lean_ctor_set(x_2634, 1, x_2633); -x_2635 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2636 = lean_array_push(x_2635, x_2634); -x_2637 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2638, 0, x_2637); -lean_ctor_set(x_2638, 1, x_2636); -if (lean_is_scalar(x_2632)) { - x_2639 = lean_alloc_ctor(1, 1, 0); -} else { - x_2639 = x_2632; -} -lean_ctor_set(x_2639, 0, x_2638); -x_2443 = x_2639; -x_2444 = x_2630; -goto block_2627; -block_2627: -{ -lean_object* x_2445; lean_object* x_2446; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; -x_2610 = lean_ctor_get(x_2443, 0); -lean_inc(x_2610); -lean_dec(x_2443); -x_2611 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2444); -x_2612 = lean_ctor_get(x_2611, 0); -lean_inc(x_2612); -if (lean_is_exclusive(x_2612)) { - lean_ctor_release(x_2612, 0); - x_2613 = x_2612; -} else { - lean_dec_ref(x_2612); - x_2613 = lean_box(0); -} -x_2614 = lean_ctor_get(x_2611, 1); -lean_inc(x_2614); -lean_dec(x_2611); -x_2615 = lean_box(0); -x_2616 = lean_box(0); -x_2617 = l_Lean_Syntax_mkAntiquotNode(x_2610, x_410, x_2615, x_2616); -x_2618 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2619 = l_Array_append___rarg(x_2618, x_418); -lean_dec(x_418); -x_2620 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2621, 0, x_2620); -lean_ctor_set(x_2621, 1, x_2619); -x_2622 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2623 = lean_array_push(x_2622, x_2617); -x_2624 = lean_array_push(x_2623, x_2621); -x_2625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2625, 0, x_7); -lean_ctor_set(x_2625, 1, x_2624); -if (lean_is_scalar(x_2613)) { - x_2626 = lean_alloc_ctor(1, 1, 0); -} else { - x_2626 = x_2613; -} -lean_ctor_set(x_2626, 0, x_2625); -x_2445 = x_2626; -x_2446 = x_2614; -goto block_2609; -block_2609: -{ -lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; -x_2447 = lean_ctor_get(x_2445, 0); -lean_inc(x_2447); -lean_dec(x_2445); -x_2448 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2446); -x_2449 = lean_ctor_get(x_2448, 0); -lean_inc(x_2449); -x_2450 = lean_ctor_get(x_2448, 1); -lean_inc(x_2450); -if (lean_is_exclusive(x_2448)) { - lean_ctor_release(x_2448, 0); - lean_ctor_release(x_2448, 1); - x_2451 = x_2448; -} else { - lean_dec_ref(x_2448); - x_2451 = lean_box(0); -} -x_2452 = lean_ctor_get(x_2449, 0); -lean_inc(x_2452); -if (lean_is_exclusive(x_2449)) { - lean_ctor_release(x_2449, 0); - x_2453 = x_2449; -} else { - lean_dec_ref(x_2449); - x_2453 = lean_box(0); -} -x_2454 = lean_ctor_get(x_5, 2); -lean_inc(x_2454); -x_2455 = lean_ctor_get(x_5, 1); -lean_inc(x_2455); -lean_dec(x_5); -x_2456 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_2452); -x_2457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2457, 0, x_2452); -lean_ctor_set(x_2457, 1, x_2456); -x_2458 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2454); -lean_inc(x_2455); -x_2459 = l_Lean_addMacroScope(x_2455, x_2458, x_2454); -x_2460 = lean_box(0); -x_2461 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2452); -x_2462 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2462, 0, x_2452); -lean_ctor_set(x_2462, 1, x_2461); -lean_ctor_set(x_2462, 2, x_2459); -lean_ctor_set(x_2462, 3, x_2460); -x_2463 = lean_mk_syntax_ident(x_2033); -x_2464 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2465 = lean_array_push(x_2464, x_2463); -x_2466 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2467, 0, x_2466); -lean_ctor_set(x_2467, 1, x_2465); -x_2468 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_2469 = lean_array_push(x_2468, x_2462); -x_2470 = lean_array_push(x_2469, x_2467); -x_2471 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_2472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2472, 0, x_2471); -lean_ctor_set(x_2472, 1, x_2470); -x_2473 = lean_array_push(x_2468, x_1); -x_2474 = lean_array_push(x_2473, x_2472); -x_2475 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_2476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2476, 0, x_2475); -lean_ctor_set(x_2476, 1, x_2474); -x_2477 = lean_array_push(x_2464, x_2476); -x_2478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2478, 0, x_2466); -lean_ctor_set(x_2478, 1, x_2477); -x_2479 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_2452); -x_2480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2480, 0, x_2452); -lean_ctor_set(x_2480, 1, x_2479); -x_2481 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_2482 = lean_array_push(x_2481, x_2457); -x_2483 = lean_array_push(x_2482, x_2478); -x_2484 = lean_array_push(x_2483, x_2480); -x_2485 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_2486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2486, 0, x_2485); -lean_ctor_set(x_2486, 1, x_2484); -x_2487 = lean_array_push(x_2464, x_2486); -x_2488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2488, 0, x_2466); -lean_ctor_set(x_2488, 1, x_2487); -x_2489 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_2490 = lean_array_push(x_2489, x_2488); -x_2491 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_2492 = lean_array_push(x_2490, x_2491); -x_2493 = lean_array_push(x_2492, x_2491); -x_2494 = lean_array_push(x_2493, x_2491); -x_2495 = lean_array_push(x_2494, x_2491); -x_2496 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_2497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2497, 0, x_2496); -lean_ctor_set(x_2497, 1, x_2495); -x_2498 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_2452); -x_2499 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2499, 0, x_2452); -lean_ctor_set(x_2499, 1, x_2498); -x_2500 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2454); -lean_inc(x_2455); -x_2501 = l_Lean_addMacroScope(x_2455, x_2500, x_2454); -x_2502 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2452); -x_2503 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2503, 0, x_2452); -lean_ctor_set(x_2503, 1, x_2502); -lean_ctor_set(x_2503, 2, x_2501); -lean_ctor_set(x_2503, 3, x_2460); -x_2504 = lean_array_push(x_2468, x_2503); -x_2505 = lean_array_push(x_2504, x_2491); -x_2506 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_2507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2507, 0, x_2506); -lean_ctor_set(x_2507, 1, x_2505); -x_2508 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_2452); -x_2509 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2509, 0, x_2452); -lean_ctor_set(x_2509, 1, x_2508); -x_2510 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2454); -lean_inc(x_2455); -x_2511 = l_Lean_addMacroScope(x_2455, x_2510, x_2454); -x_2512 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2513 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -lean_inc(x_2452); -x_2514 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2514, 0, x_2452); -lean_ctor_set(x_2514, 1, x_2512); -lean_ctor_set(x_2514, 2, x_2511); -lean_ctor_set(x_2514, 3, x_2513); -x_2515 = lean_array_push(x_2468, x_2509); -x_2516 = lean_array_push(x_2515, x_2514); -x_2517 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_2518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2518, 0, x_2517); -lean_ctor_set(x_2518, 1, x_2516); -x_2519 = lean_array_push(x_2464, x_2518); -x_2520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2520, 0, x_2466); -lean_ctor_set(x_2520, 1, x_2519); -x_2521 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_2522 = lean_array_push(x_2521, x_2520); -x_2523 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_2524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2524, 0, x_2523); -lean_ctor_set(x_2524, 1, x_2522); -x_2525 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_2452); -x_2526 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2526, 0, x_2452); -lean_ctor_set(x_2526, 1, x_2525); -x_2527 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_2452); -x_2528 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2528, 0, x_2452); -lean_ctor_set(x_2528, 1, x_2527); -x_2529 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_2452); -x_2530 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2530, 0, x_2452); -lean_ctor_set(x_2530, 1, x_2529); -x_2531 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_2452); -x_2532 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2532, 0, x_2452); -lean_ctor_set(x_2532, 1, x_2531); -x_2533 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_2452); -x_2534 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2534, 0, x_2452); -lean_ctor_set(x_2534, 1, x_2533); -x_2535 = lean_array_push(x_2481, x_2532); -lean_inc(x_2535); -x_2536 = lean_array_push(x_2535, x_2447); -lean_inc(x_2534); -x_2537 = lean_array_push(x_2536, x_2534); -x_2538 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_2539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2539, 0, x_2538); -lean_ctor_set(x_2539, 1, x_2537); -x_2540 = lean_array_push(x_2464, x_2539); -x_2541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2541, 0, x_2466); -lean_ctor_set(x_2541, 1, x_2540); -x_2542 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_2452); -x_2543 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2543, 0, x_2452); -lean_ctor_set(x_2543, 1, x_2542); -x_2544 = lean_array_push(x_2535, x_3); -lean_inc(x_2534); -x_2545 = lean_array_push(x_2544, x_2534); -x_2546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2546, 0, x_2538); -lean_ctor_set(x_2546, 1, x_2545); -x_2547 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_2548 = lean_array_push(x_2547, x_2530); -lean_inc(x_2548); -x_2549 = lean_array_push(x_2548, x_2541); -lean_inc(x_2543); -x_2550 = lean_array_push(x_2549, x_2543); -x_2551 = lean_array_push(x_2550, x_2546); -x_2552 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_2553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2553, 0, x_2552); -lean_ctor_set(x_2553, 1, x_2551); -x_2554 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_2452); -x_2555 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2555, 0, x_2452); -lean_ctor_set(x_2555, 1, x_2554); -x_2556 = lean_array_push(x_2464, x_2555); -x_2557 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2558 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2558, 0, x_2557); -lean_ctor_set(x_2558, 1, x_2556); -x_2559 = lean_array_push(x_2464, x_2558); -x_2560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2560, 0, x_2466); -lean_ctor_set(x_2560, 1, x_2559); -x_2561 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_2562 = l_Lean_addMacroScope(x_2455, x_2561, x_2454); -x_2563 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_2564 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_2452); -x_2565 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2565, 0, x_2452); -lean_ctor_set(x_2565, 1, x_2563); -lean_ctor_set(x_2565, 2, x_2562); -lean_ctor_set(x_2565, 3, x_2564); -x_2566 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -x_2567 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2567, 0, x_2452); -lean_ctor_set(x_2567, 1, x_2566); -x_2568 = lean_array_push(x_2481, x_2567); -x_2569 = lean_array_push(x_2568, x_2491); -x_2570 = lean_array_push(x_2569, x_2534); -x_2571 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; -x_2572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2572, 0, x_2571); -lean_ctor_set(x_2572, 1, x_2570); -x_2573 = lean_array_push(x_2464, x_2572); -x_2574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2574, 0, x_2466); -lean_ctor_set(x_2574, 1, x_2573); -x_2575 = lean_array_push(x_2468, x_2565); -x_2576 = lean_array_push(x_2575, x_2574); -x_2577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2577, 0, x_7); -lean_ctor_set(x_2577, 1, x_2576); -x_2578 = lean_array_push(x_2548, x_2560); -x_2579 = lean_array_push(x_2578, x_2543); -x_2580 = lean_array_push(x_2579, x_2577); -x_2581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2581, 0, x_2552); -lean_ctor_set(x_2581, 1, x_2580); -x_2582 = lean_array_push(x_2468, x_2553); -x_2583 = lean_array_push(x_2582, x_2581); -x_2584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2584, 0, x_2466); -lean_ctor_set(x_2584, 1, x_2583); -x_2585 = lean_array_push(x_2464, x_2584); -x_2586 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_2587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2587, 0, x_2586); -lean_ctor_set(x_2587, 1, x_2585); -x_2588 = lean_array_push(x_2468, x_2528); -x_2589 = lean_array_push(x_2588, x_2587); -x_2590 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_2591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2591, 0, x_2590); -lean_ctor_set(x_2591, 1, x_2589); -x_2592 = lean_array_push(x_2481, x_2526); -x_2593 = lean_array_push(x_2592, x_2591); -x_2594 = lean_array_push(x_2593, x_2491); -x_2595 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_2596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2596, 0, x_2595); -lean_ctor_set(x_2596, 1, x_2594); -x_2597 = lean_array_push(x_2547, x_2499); -x_2598 = lean_array_push(x_2597, x_2507); -x_2599 = lean_array_push(x_2598, x_2524); -x_2600 = lean_array_push(x_2599, x_2596); -x_2601 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_2602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2602, 0, x_2601); -lean_ctor_set(x_2602, 1, x_2600); -x_2603 = lean_array_push(x_2468, x_2497); -x_2604 = lean_array_push(x_2603, x_2602); -x_2605 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_2606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2606, 0, x_2605); -lean_ctor_set(x_2606, 1, x_2604); -if (lean_is_scalar(x_2453)) { - x_2607 = lean_alloc_ctor(1, 1, 0); -} else { - x_2607 = x_2453; -} -lean_ctor_set(x_2607, 0, x_2606); -if (lean_is_scalar(x_2451)) { - x_2608 = lean_alloc_ctor(0, 2, 0); -} else { - x_2608 = x_2451; -} -lean_ctor_set(x_2608, 0, x_2607); -lean_ctor_set(x_2608, 1, x_2450); -return x_2608; -} -} -} -} -else -{ -lean_object* x_2640; lean_object* x_2641; -lean_dec(x_2033); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2640 = lean_box(0); -x_2641 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2641, 0, x_2640); -lean_ctor_set(x_2641, 1, x_2032); -return x_2641; -} -} -} -} -} -else -{ -uint8_t x_2642; -lean_dec(x_430); -lean_dec(x_428); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2642 = !lean_is_exclusive(x_420); -if (x_2642 == 0) -{ -lean_object* x_2643; lean_object* x_2644; -x_2643 = lean_ctor_get(x_420, 0); -lean_dec(x_2643); -x_2644 = lean_box(0); -lean_ctor_set(x_420, 0, x_2644); -return x_420; -} -else -{ -lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; -x_2645 = lean_ctor_get(x_420, 1); -lean_inc(x_2645); -lean_dec(x_420); -x_2646 = lean_box(0); -x_2647 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2647, 0, x_2646); -lean_ctor_set(x_2647, 1, x_2645); -return x_2647; -} -} -} -else -{ -uint8_t x_2648; -lean_dec(x_429); -lean_dec(x_428); -lean_dec(x_421); -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2648 = !lean_is_exclusive(x_420); -if (x_2648 == 0) -{ -lean_object* x_2649; lean_object* x_2650; -x_2649 = lean_ctor_get(x_420, 0); -lean_dec(x_2649); -x_2650 = lean_box(0); -lean_ctor_set(x_420, 0, x_2650); -return x_420; -} -else -{ -lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; -x_2651 = lean_ctor_get(x_420, 1); -lean_inc(x_2651); -lean_dec(x_420); -x_2652 = lean_box(0); -x_2653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2653, 0, x_2652); -lean_ctor_set(x_2653, 1, x_2651); -return x_2653; -} -} -} -} -else -{ -uint8_t x_2654; -lean_dec(x_418); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2654 = !lean_is_exclusive(x_420); -if (x_2654 == 0) -{ -return x_420; -} -else -{ -lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; -x_2655 = lean_ctor_get(x_420, 0); -x_2656 = lean_ctor_get(x_420, 1); -lean_inc(x_2656); -lean_inc(x_2655); -lean_dec(x_420); -x_2657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2657, 0, x_2655); -lean_ctor_set(x_2657, 1, x_2656); -return x_2657; -} -} -} -} -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(x_5); -return x_6; -} -} -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_mkSimpleDelab___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_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_2); -return x_7; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("local"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -lean_inc(x_1); -x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); -if (x_3 == 0) -{ -uint8_t x_4; -lean_dec(x_1); -x_4 = 0; -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -lean_dec(x_1); -x_7 = l_Lean_nullKind; -x_8 = lean_unsigned_to_nat(1u); -lean_inc(x_6); -x_9 = l_Lean_Syntax_isNodeOf(x_6, x_7, x_8); -if (x_9 == 0) -{ -uint8_t x_10; -lean_dec(x_6); -x_10 = 0; -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_Syntax_getArg(x_6, x_5); -lean_dec(x_6); -x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2; -x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); -return x_13; -} -} -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_2 < x_1; -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = x_3; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_array_uget(x_3, x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = x_9; -x_13 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_12, x_4, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -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 = 1; -x_17 = x_2 + x_16; -x_18 = x_14; -x_19 = lean_array_uset(x_11, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_2 < x_1; -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = x_3; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_array_uget(x_3, x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = x_9; -x_13 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_12, x_4, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -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 = 1; -x_17 = x_2 + x_16; -x_18 = x_14; -x_19 = lean_array_uset(x_11, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 < x_1; -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = x_3; -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; -x_6 = lean_array_uget(x_3, x_2); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = x_6; -x_10 = l_Lean_Syntax_getArg(x_9, x_7); -lean_dec(x_9); -x_11 = 1; -x_12 = x_2 + x_11; -x_13 = x_10; -x_14 = lean_array_uset(x_8, x_2, x_13); -x_2 = x_12; -x_3 = x_14; -goto _start; -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -lean_inc(x_6); -x_7 = l_Lean_Syntax_getKind(x_6); -x_8 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; -x_9 = lean_name_eq(x_7, x_8); -lean_dec(x_7); -x_10 = 1; -x_11 = x_2 + x_10; -if (x_9 == 0) -{ -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -lean_object* x_13; -x_13 = lean_array_push(x_4, x_6); -x_2 = x_11; -x_4 = x_13; -goto _start; -} -} -else -{ -return x_4; -} -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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 = l_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -lean_dec(x_7); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = lean_array_push(x_5, x_6); -x_17 = lean_array_push(x_16, x_8); -x_18 = l_Lean_nullKind; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_12, 0, x_19); -return x_12; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -x_21 = lean_array_push(x_5, x_6); -x_22 = lean_array_push(x_21, x_8); -x_23 = l_Lean_nullKind; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_20); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_5); -x_26 = !lean_is_exclusive(x_12); -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; -x_27 = lean_ctor_get(x_12, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_13, 0); -lean_inc(x_28); -lean_dec(x_13); -x_29 = lean_array_push(x_7, x_6); -x_30 = lean_array_push(x_29, x_8); -x_31 = lean_array_push(x_30, x_28); -x_32 = l_Lean_nullKind; -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -lean_ctor_set(x_12, 0, x_33); -return x_12; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_ctor_get(x_12, 1); -lean_inc(x_34); -lean_dec(x_12); -x_35 = lean_ctor_get(x_13, 0); -lean_inc(x_35); -lean_dec(x_13); -x_36 = lean_array_push(x_7, x_6); -x_37 = lean_array_push(x_36, x_8); -x_38 = lean_array_push(x_37, x_35); -x_39 = l_Lean_nullKind; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_34); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_42 = !lean_is_exclusive(x_12); -if (x_42 == 0) -{ -return x_12; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_12, 0); -x_44 = lean_ctor_get(x_12, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_12); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("precheckedQuot"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("section"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("set_option"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("quotPrecheck.allowSectionVars"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("quotPrecheck"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("allowSectionVars"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("end"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(9u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; uint8_t 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_16 = lean_unsigned_to_nat(0u); -x_17 = lean_nat_dec_lt(x_16, x_1); -x_18 = lean_box_usize(x_2); -x_19 = lean_box_usize(x_3); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 5, 3); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -lean_closure_set(x_20, 2, x_4); -x_21 = x_20; -lean_inc(x_14); -x_22 = lean_apply_2(x_21, x_14, x_15); -if (x_17 == 0) -{ -lean_object* x_214; -x_214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_23 = x_214; -goto block_213; -} -else -{ -uint8_t x_215; -x_215 = lean_nat_dec_le(x_1, x_1); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_23 = x_216; -goto block_213; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_218 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_12, x_3, x_2, x_217); -x_23 = x_218; -goto block_213; -} -} -block_213: -{ -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t 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_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; size_t x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_array_get_size(x_23); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = x_23; -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_27, x_3, x_28); -x_30 = x_29; -x_31 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_30, x_5); -lean_inc(x_13); -x_32 = l_Lean_Name_append(x_6, x_13); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_24); -x_130 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_25); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_131); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_133); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_131); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_131); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_131); -x_138 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_138, 0, x_131); -lean_ctor_set(x_138, 1, x_137); -x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_131); -x_140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_140, 0, x_131); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_mk_syntax_ident(x_13); -x_142 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_131); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_131); -lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_145 = lean_array_push(x_144, x_136); -lean_inc(x_145); -x_146 = lean_array_push(x_145, x_138); -lean_inc(x_140); -x_147 = lean_array_push(x_146, x_140); -x_148 = lean_array_push(x_147, x_141); -lean_inc(x_143); -x_149 = lean_array_push(x_148, x_143); -x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_153 = lean_array_push(x_152, x_151); -x_154 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_131); -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_131); -lean_ctor_set(x_157, 1, x_156); -x_158 = l_Nat_repr(x_8); -x_159 = l_Lean_numLitKind; -x_160 = lean_box(2); -x_161 = l_Lean_Syntax_mkLit(x_159, x_158, x_160); -x_162 = lean_array_push(x_145, x_157); -x_163 = lean_array_push(x_162, x_140); -x_164 = lean_array_push(x_163, x_161); -x_165 = lean_array_push(x_164, x_143); -x_166 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -x_168 = lean_array_push(x_152, x_167); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_154); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_array_get_size(x_9); -x_171 = lean_usize_of_nat(x_170); -lean_dec(x_170); -x_172 = x_9; -x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_171, x_3, x_172); -x_174 = x_173; -x_175 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_176 = l_Array_append___rarg(x_175, x_174); -lean_dec(x_174); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_154); -lean_ctor_set(x_177, 1, x_176); -x_178 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -x_179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_179, 0, x_131); -lean_ctor_set(x_179, 1, x_178); -x_180 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; -lean_inc(x_7); -x_181 = lean_array_push(x_180, x_7); -x_182 = lean_array_push(x_181, x_134); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_184 = lean_array_push(x_182, x_183); -x_185 = lean_array_push(x_184, x_155); -x_186 = lean_array_push(x_185, x_169); -x_187 = lean_array_push(x_186, x_177); -x_188 = lean_array_push(x_187, x_179); -x_189 = lean_array_push(x_188, x_11); -x_190 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_34 = x_191; -x_35 = x_132; -goto block_129; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_192 = lean_ctor_get(x_10, 0); -lean_inc(x_192); -lean_dec(x_10); -x_193 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -lean_inc(x_179); -x_194 = lean_array_push(x_193, x_179); -x_195 = lean_array_push(x_194, x_192); -x_196 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_195); -x_198 = lean_array_push(x_152, x_197); -x_199 = l_Array_append___rarg(x_175, x_198); -lean_dec(x_198); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_154); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_182, x_200); -x_202 = lean_array_push(x_201, x_155); -x_203 = lean_array_push(x_202, x_169); -x_204 = lean_array_push(x_203, x_177); -x_205 = lean_array_push(x_204, x_179); -x_206 = lean_array_push(x_205, x_11); -x_207 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_34 = x_208; -x_35 = x_132; -goto block_129; -} -block_129: -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -lean_inc(x_37); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_39); -x_41 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_37); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_41); -x_43 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_37); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_37); -lean_ctor_set(x_44, 1, x_43); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_37); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_37); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_48 = lean_array_push(x_47, x_44); -lean_inc(x_33); -lean_inc(x_48); -x_49 = lean_array_push(x_48, x_33); -lean_inc(x_46); -x_50 = lean_array_push(x_49, x_46); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_54 = lean_array_push(x_53, x_52); -x_55 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_37); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_37); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_37); -lean_ctor_set(x_60, 1, x_59); -lean_inc(x_31); -x_61 = lean_array_push(x_48, x_31); -x_62 = lean_array_push(x_61, x_46); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_51); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_65 = lean_array_push(x_64, x_60); -x_66 = lean_array_push(x_65, x_63); -x_67 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_70 = lean_array_push(x_69, x_42); -x_71 = lean_array_push(x_70, x_56); -x_72 = lean_array_push(x_71, x_58); -x_73 = lean_array_push(x_72, x_68); -x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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_53, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_55); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_53, x_77); -x_79 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; -x_82 = lean_array_push(x_81, x_40); -x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; -x_84 = lean_array_push(x_82, x_83); -x_85 = lean_array_push(x_84, x_80); -x_86 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -lean_inc(x_7); -x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind(x_7); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_box(0); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_7, x_30, x_33, x_31, x_64, x_34, x_47, x_87, x_89, x_14, x_38); -lean_dec(x_30); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_91 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_38); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_ctor_get(x_14, 2); -lean_inc(x_94); -x_95 = lean_ctor_get(x_14, 1); -lean_inc(x_95); -x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; -lean_inc(x_92); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_92); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_64, x_97); -x_99 = lean_array_push(x_98, x_83); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; -lean_inc(x_92); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_92); -lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; -x_105 = l_Lean_addMacroScope(x_95, x_104, x_94); -x_106 = lean_box(0); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; -lean_inc(x_92); -x_108 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_108, 0, x_92); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set(x_108, 2, x_105); -lean_ctor_set(x_108, 3, x_106); -x_109 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; -lean_inc(x_92); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_92); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_47, x_103); -x_112 = lean_array_push(x_111, x_108); -x_113 = lean_array_push(x_112, x_110); -x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_92); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_64, x_117); -x_119 = lean_array_push(x_118, x_83); -x_120 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_69, x_101); -x_123 = lean_array_push(x_122, x_115); -x_124 = lean_array_push(x_123, x_87); -x_125 = lean_array_push(x_124, x_121); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_55); -lean_ctor_set(x_126, 1, x_125); -x_127 = lean_box(0); -x_128 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_7, x_30, x_33, x_31, x_64, x_34, x_47, x_126, x_127, x_14, x_93); -lean_dec(x_30); -return x_128; -} -} -} -else -{ -uint8_t x_209; -lean_dec(x_23); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_209 = !lean_is_exclusive(x_22); -if (x_209 == 0) -{ -return x_22; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_22, 0); -x_211 = lean_ctor_get(x_22, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_22); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; -} -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(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_inc(x_9); -x_11 = l_Lean_evalOptPrio(x_6, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_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_array_get_size(x_7); -x_15 = lean_usize_of_nat(x_14); -x_16 = 0; -lean_inc(x_7); -x_17 = x_7; -x_18 = lean_box_usize(x_15); -x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; -lean_inc(x_17); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 5, 3); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -lean_closure_set(x_20, 2, x_17); -x_21 = x_20; -lean_inc(x_9); -x_22 = lean_apply_2(x_21, x_9, x_13); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_26 = l_Lean_mkIdentFrom(x_1, x_25); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = l_Lean_nullKind; -lean_inc(x_23); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -lean_inc(x_9); -x_29 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_25, x_28, x_9, x_24); -lean_dec(x_28); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_30, x_9, x_31); -lean_dec(x_7); -lean_dec(x_14); -return x_32; -} -else -{ -uint8_t x_33; -lean_dec(x_26); -lean_dec(x_23); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_33 = !lean_is_exclusive(x_29); -if (x_33 == 0) -{ -return x_29; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_29, 0); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_29); -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; -x_37 = lean_ctor_get(x_5, 0); -x_38 = l_Lean_Syntax_getId(x_37); -x_39 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_38, x_9, x_24); -lean_dec(x_7); -lean_dec(x_14); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_40 = !lean_is_exclusive(x_22); -if (x_40 == 0) -{ -return x_22; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_22, 0); -x_42 = lean_ctor_get(x_22, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_22); -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_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_44 = !lean_is_exclusive(x_11); -if (x_44 == 0) -{ -return x_11; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_11, 0); -x_46 = lean_ctor_get(x_11, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_11); -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_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(x_6, x_7, x_3, x_4, x_5); -lean_dec(x_4); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(x_6, x_7, x_3, x_4, x_5); -lean_dec(x_4); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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_Syntax_0__Lean_Elab_Command_expandNotationAux___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_9); -lean_dec(x_2); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_17 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_18 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_1, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_1); -return x_18; -} -} -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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_Syntax_0__Lean_Elab_Command_expandNotationAux(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_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_box(x_1); -x_4 = lean_apply_1(x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -lean_dec(x_1); -x_4 = l_Lean_Elab_Command_expandNotation_match__1___rarg(x_3, x_2); -return x_4; -} -} -lean_object* l_Lean_Elab_Command_expandNotation___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) { -_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; -x_9 = lean_unsigned_to_nat(5u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(7u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArgs(x_10); -lean_dec(x_10); -lean_inc(x_7); -x_14 = l_Lean_Elab_toAttributeKind(x_2, x_7, x_8); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -lean_inc(x_7); -x_16 = l_Lean_Macro_getCurrNamespace(x_7, x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -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); -x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_17, x_2, x_3, x_4, x_6, x_13, x_12, x_7, x_18); -lean_dec(x_17); -return x_19; -} -else -{ -uint8_t x_20; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) -{ -return x_16; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 0); -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_16); -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_13); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_24 = !lean_is_exclusive(x_14); -if (x_24 == 0) -{ -return x_14; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_14, 0); -x_26 = lean_ctor_get(x_14, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_14); -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; -} -} -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_unsigned_to_nat(4u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_isNone(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Lean_nullKind; -x_13 = lean_unsigned_to_nat(1u); -lean_inc(x_10); -x_14 = l_Lean_Syntax_isNodeOf(x_10, x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_box(1); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_8); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Syntax_getArg(x_10, x_17); -lean_dec(x_10); -x_19 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -x_20 = lean_name_mk_string(x_4, x_19); -lean_inc(x_18); -x_21 = l_Lean_Syntax_isOfKind(x_18, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_18); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_22 = lean_box(1); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_8); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_unsigned_to_nat(3u); -x_25 = l_Lean_Syntax_getArg(x_18, x_24); -lean_dec(x_18); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_27, x_26, x_7, x_8); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_10); -lean_dec(x_4); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_30, x_29, x_7, x_8); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_unsigned_to_nat(3u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(1u); -lean_inc(x_9); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_14 = lean_box(1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_7); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Syntax_getArg(x_9, x_16); -lean_dec(x_9); -x_18 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_3); -x_19 = lean_name_mk_string(x_3, x_18); -lean_inc(x_17); -x_20 = l_Lean_Syntax_isOfKind(x_17, x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_17); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_21 = lean_box(1); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_7); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = l_Lean_Syntax_getArg(x_17, x_8); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_box(0); -x_26 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_25, x_24, x_6, x_7); -lean_dec(x_24); -return x_26; -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_9); -x_27 = lean_box(0); -x_28 = lean_box(0); -x_29 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_28, x_27, x_6, x_7); -return x_29; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandNotation(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_Elab_Command_expandNotation___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 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_9); -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; uint8_t x_16; -x_14 = lean_unsigned_to_nat(2u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Syntax_isNone(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_nullKind; -x_18 = lean_unsigned_to_nat(1u); -lean_inc(x_15); -x_19 = l_Lean_Syntax_isNodeOf(x_15, x_17, x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_20 = lean_box(1); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_3); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = l_Lean_Syntax_getArg(x_15, x_8); -lean_dec(x_15); -x_23 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; -lean_inc(x_22); -x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_22); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_25 = lean_box(1); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_3); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = l_Lean_Syntax_getArg(x_22, x_18); -lean_dec(x_22); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_29, x_30, x_28, x_2, x_3); -lean_dec(x_1); -return x_31; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_15); -x_32 = lean_box(0); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_34 = lean_box(0); -x_35 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_33, x_34, x_32, x_2, x_3); -lean_dec(x_1); -return x_35; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandNotation___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expandNotation"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation), 3, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Command_expandNotation___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macroArg"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macroArgSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macroArgSymbol"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(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_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; -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_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 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -lean_dec(x_1); -x_10 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; -lean_inc(x_9); -x_13 = l_Lean_Syntax_isOfKind(x_9, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_9); -x_14 = lean_box(1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -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_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_16, 0, x_23); -return x_16; -} -else -{ -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; -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_dec(x_16); -x_25 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -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_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 -{ -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = l_Lean_Syntax_getArg(x_9, x_8); -x_32 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -x_33 = l_Lean_Syntax_isOfKind(x_31, x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_9); -x_34 = lean_box(1); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_3); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_unsigned_to_nat(2u); -x_37 = l_Lean_Syntax_getArg(x_9, x_36); -lean_dec(x_9); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_3); -return x_38; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_4 = lean_box(0); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_box(0); -x_7 = l_Lean_Syntax_mkAntiquotNode(x_2, x_5, x_4, x_6); -x_8 = l_Lean_Syntax_mkAntiquotSuffixSpliceNode(x_1, x_7, x_3); -x_9 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_10 = lean_array_push(x_9, x_8); -x_11 = l_Lean_nullKind; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr_process___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Init.Data.Option.BasicAux"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Option.get!"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("value is none"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(16u); -x_4 = lean_unsigned_to_nat(14u); -x_5 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("*"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Syntax_isStrLit_x3f(x_1); -if (lean_obj_tag(x_6) == 0) -{ -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; -x_7 = l_String_instInhabitedString; -x_8 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5; -x_9 = lean_panic_fn(x_7, x_8); -x_10 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_11 = lean_string_append(x_9, x_10); -x_12 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; -x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_12, x_2, 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_5); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_17 = lean_string_append(x_15, x_16); -x_18 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; -x_19 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_18, x_2, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_unsigned_to_nat(5u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(2u); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_box(0); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_box(0); -x_17 = l_Lean_Syntax_mkAntiquotNode(x_3, x_15, x_14, 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; lean_object* x_20; -x_19 = lean_box(0); -x_20 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_2, x_3, x_19, x_6, x_7); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_9); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_2, x_3, x_21, x_6, x_7); -return x_22; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("token_antiquot"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("%"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3; -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_Elab_Command_expandMacroArgIntoPattern___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("$"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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_Elab_Command_expandMacroArgIntoPattern___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("optional"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("many"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("many1"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("?"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -lean_inc(x_2); -x_4 = l_Lean_expandMacros(x_1, x_2, x_3); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_4, 0); -x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; -lean_inc(x_6); -x_9 = l_Lean_Syntax_isOfKind(x_6, x_8); -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_6); -lean_dec(x_2); -x_10 = lean_box(1); -lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_6, x_11); -lean_dec(x_6); -x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_12); -x_14 = l_Lean_Syntax_isOfKind(x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; -lean_inc(x_12); -x_16 = l_Lean_Syntax_isOfKind(x_12, x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_2); -x_17 = lean_box(1); -lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_17); -return x_4; -} -else -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_free_object(x_4); -x_18 = l_Lean_Syntax_getArg(x_12, x_11); -x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_18); -x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); -lean_dec(x_2); -lean_dec(x_18); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l_Lean_Syntax_getArg(x_12, x_24); -lean_dec(x_12); -x_26 = l_Lean_Syntax_getArg(x_25, x_24); -lean_dec(x_25); -x_27 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_28 = lean_array_push(x_27, x_23); -x_29 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_30 = lean_array_push(x_28, x_29); -x_31 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_32 = lean_array_push(x_30, x_31); -x_33 = lean_array_push(x_32, x_26); -x_34 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -lean_ctor_set(x_21, 0, x_35); -return x_21; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_36 = lean_ctor_get(x_21, 0); -x_37 = lean_ctor_get(x_21, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_21); -x_38 = lean_unsigned_to_nat(1u); -x_39 = l_Lean_Syntax_getArg(x_12, x_38); -lean_dec(x_12); -x_40 = l_Lean_Syntax_getArg(x_39, x_38); -lean_dec(x_39); -x_41 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_42 = lean_array_push(x_41, x_36); -x_43 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_46 = lean_array_push(x_44, x_45); -x_47 = lean_array_push(x_46, x_40); -x_48 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_37); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_dec(x_12); -x_51 = !lean_is_exclusive(x_21); -if (x_51 == 0) -{ -return x_21; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_21, 0); -x_53 = lean_ctor_get(x_21, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_21); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_55 = lean_unsigned_to_nat(1u); -x_56 = l_Lean_Syntax_getArg(x_12, x_55); -lean_dec(x_12); -x_57 = l_Lean_nullKind; -lean_inc(x_56); -x_58 = l_Lean_Syntax_isNodeOf(x_56, x_57, x_11); -if (x_58 == 0) -{ -lean_object* x_59; -x_59 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); -lean_dec(x_2); -lean_dec(x_18); -if (lean_obj_tag(x_59) == 0) -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_61 = lean_ctor_get(x_59, 0); -x_62 = l_Lean_Syntax_getArg(x_56, x_55); -lean_dec(x_56); -x_63 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_64 = lean_array_push(x_63, x_61); -x_65 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_66 = lean_array_push(x_64, x_65); -x_67 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_68 = lean_array_push(x_66, x_67); -x_69 = lean_array_push(x_68, x_62); -x_70 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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); -lean_ctor_set(x_59, 0, x_71); -return x_59; -} -else -{ -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; -x_72 = lean_ctor_get(x_59, 0); -x_73 = lean_ctor_get(x_59, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_59); -x_74 = l_Lean_Syntax_getArg(x_56, x_55); -lean_dec(x_56); -x_75 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_76 = lean_array_push(x_75, x_72); -x_77 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_78 = lean_array_push(x_76, x_77); -x_79 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_80 = lean_array_push(x_78, x_79); -x_81 = lean_array_push(x_80, x_74); -x_82 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_73); -return x_84; -} -} -else -{ -uint8_t x_85; -lean_dec(x_56); -x_85 = !lean_is_exclusive(x_59); -if (x_85 == 0) -{ -return x_59; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_59, 0); -x_87 = lean_ctor_get(x_59, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_59); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_56); -x_89 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); -lean_dec(x_2); -lean_dec(x_18); -return x_89; -} -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = l_Lean_Syntax_getArg(x_12, x_11); -x_91 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_90); -x_92 = l_Lean_Syntax_isOfKind(x_90, x_91); -if (x_92 == 0) -{ -lean_object* x_93; -lean_dec(x_90); -lean_dec(x_12); -lean_dec(x_2); -x_93 = lean_box(1); -lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_93); -return x_4; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_94 = lean_unsigned_to_nat(2u); -x_95 = l_Lean_Syntax_getArg(x_12, x_94); -lean_dec(x_12); -x_96 = l_Lean_Elab_Term_toParserDescr_process___closed__4; -lean_inc(x_95); -x_97 = l_Lean_Syntax_isOfKind(x_95, x_96); -if (x_97 == 0) -{ -lean_object* x_98; uint8_t x_99; -x_98 = l_Lean_Elab_Term_toParserDescr_process___closed__7; -lean_inc(x_95); -x_99 = l_Lean_Syntax_isOfKind(x_95, x_98); -if (x_99 == 0) -{ -lean_object* x_100; uint8_t x_101; -x_100 = l_Lean_Elab_Term_toParserDescr_process___closed__9; -lean_inc(x_95); -x_101 = l_Lean_Syntax_isOfKind(x_95, x_100); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_95); -lean_dec(x_2); -x_102 = lean_box(0); -x_103 = lean_box(0); -x_104 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_102, x_103); -lean_ctor_set(x_4, 0, x_104); -return x_4; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_unsigned_to_nat(1u); -x_106 = l_Lean_Syntax_getArg(x_95, x_105); -x_107 = l_Lean_nullKind; -x_108 = l_Lean_Syntax_isNodeOf(x_106, x_107, x_105); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_95); -lean_dec(x_2); -x_109 = lean_box(0); -x_110 = lean_box(0); -x_111 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_109, x_110); -lean_ctor_set(x_4, 0, x_111); -return x_4; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_112 = lean_unsigned_to_nat(3u); -x_113 = l_Lean_Syntax_getArg(x_95, x_112); -x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_113); -x_115 = l_Lean_Syntax_isOfKind(x_113, x_114); -if (x_115 == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_113); -lean_dec(x_95); -lean_dec(x_2); -x_116 = lean_box(0); -x_117 = lean_box(0); -x_118 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_116, x_117); -lean_ctor_set(x_4, 0, x_118); -return x_4; -} -else -{ -lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_119 = lean_unsigned_to_nat(4u); -x_120 = l_Lean_Syntax_getArg(x_95, x_119); -x_121 = l_Lean_Syntax_isNone(x_120); -if (x_121 == 0) -{ -uint8_t x_122; -lean_inc(x_120); -x_122 = l_Lean_Syntax_isNodeOf(x_120, x_107, x_94); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_120); -lean_dec(x_113); -lean_dec(x_95); -lean_dec(x_2); -x_123 = lean_box(0); -x_124 = lean_box(0); -x_125 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_123, x_124); -lean_ctor_set(x_4, 0, x_125); -return x_4; -} -else -{ -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Syntax_getArg(x_120, x_105); -lean_dec(x_120); -lean_inc(x_126); -x_127 = l_Lean_Syntax_isNodeOf(x_126, x_107, x_105); -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_126); -lean_dec(x_113); -lean_dec(x_95); -lean_dec(x_2); -x_128 = lean_box(0); -x_129 = lean_box(0); -x_130 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_128, x_129); -lean_ctor_set(x_4, 0, x_130); -return x_4; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_free_object(x_4); -x_131 = l_Lean_Syntax_getArg(x_126, x_11); -lean_dec(x_126); -x_132 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_132, 0, x_131); -x_133 = lean_box(0); -x_134 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_133, x_132, x_2, x_7); -lean_dec(x_2); -lean_dec(x_132); -lean_dec(x_113); -lean_dec(x_95); -return x_134; -} -} -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_120); -lean_free_object(x_4); -x_135 = lean_box(0); -x_136 = lean_box(0); -x_137 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_136, x_135, x_2, x_7); -lean_dec(x_2); -lean_dec(x_113); -lean_dec(x_95); -return x_137; -} -} -} -} -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_138 = lean_unsigned_to_nat(1u); -x_139 = l_Lean_Syntax_getArg(x_95, x_138); -x_140 = l_Lean_nullKind; -x_141 = l_Lean_Syntax_isNodeOf(x_139, x_140, x_138); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_95); -lean_dec(x_2); -x_142 = lean_box(0); -x_143 = lean_box(0); -x_144 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_142, x_143); -lean_ctor_set(x_4, 0, x_144); -return x_4; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_145 = lean_unsigned_to_nat(3u); -x_146 = l_Lean_Syntax_getArg(x_95, x_145); -x_147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_146); -x_148 = l_Lean_Syntax_isOfKind(x_146, x_147); -if (x_148 == 0) -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_146); -lean_dec(x_95); -lean_dec(x_2); -x_149 = lean_box(0); -x_150 = lean_box(0); -x_151 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_149, x_150); -lean_ctor_set(x_4, 0, x_151); -return x_4; -} -else -{ -lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_152 = lean_unsigned_to_nat(4u); -x_153 = l_Lean_Syntax_getArg(x_95, x_152); -x_154 = l_Lean_Syntax_isNone(x_153); -if (x_154 == 0) -{ -uint8_t x_155; -lean_inc(x_153); -x_155 = l_Lean_Syntax_isNodeOf(x_153, x_140, x_94); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_153); -lean_dec(x_146); -lean_dec(x_95); -lean_dec(x_2); -x_156 = lean_box(0); -x_157 = lean_box(0); -x_158 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_156, x_157); -lean_ctor_set(x_4, 0, x_158); -return x_4; -} -else -{ -lean_object* x_159; uint8_t x_160; -x_159 = l_Lean_Syntax_getArg(x_153, x_138); -lean_dec(x_153); -lean_inc(x_159); -x_160 = l_Lean_Syntax_isNodeOf(x_159, x_140, x_138); -if (x_160 == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_159); -lean_dec(x_146); -lean_dec(x_95); -lean_dec(x_2); -x_161 = lean_box(0); -x_162 = lean_box(0); -x_163 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_161, x_162); -lean_ctor_set(x_4, 0, x_163); -return x_4; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_free_object(x_4); -x_164 = l_Lean_Syntax_getArg(x_159, x_11); -lean_dec(x_159); -x_165 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_165, 0, x_164); -x_166 = lean_box(0); -x_167 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_166, x_165, x_2, x_7); -lean_dec(x_2); -lean_dec(x_165); -lean_dec(x_146); -lean_dec(x_95); -return x_167; -} -} -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_153); -lean_free_object(x_4); -x_168 = lean_box(0); -x_169 = lean_box(0); -x_170 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_169, x_168, x_2, x_7); -lean_dec(x_2); -lean_dec(x_146); -lean_dec(x_95); -return x_170; -} -} -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; uint8_t x_173; -lean_dec(x_2); -x_171 = l_Lean_Syntax_getArg(x_95, x_11); -x_172 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; -x_173 = l_Lean_Syntax_matchesIdent(x_171, x_172); -if (x_173 == 0) -{ -lean_object* x_174; uint8_t x_175; -x_174 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; -x_175 = l_Lean_Syntax_matchesIdent(x_171, x_174); -if (x_175 == 0) -{ -lean_object* x_176; uint8_t x_177; -x_176 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; -x_177 = l_Lean_Syntax_matchesIdent(x_171, x_176); -lean_dec(x_171); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_95); -x_178 = lean_box(0); -x_179 = lean_box(0); -x_180 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_178, x_179); -lean_ctor_set(x_4, 0, x_180); -return x_4; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_181 = l_Lean_Syntax_getArg(x_95, x_94); -lean_dec(x_95); -x_182 = l_Lean_nullKind; -x_183 = lean_unsigned_to_nat(1u); -x_184 = l_Lean_Syntax_isNodeOf(x_181, x_182, x_183); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_box(0); -x_186 = lean_box(0); -x_187 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_185, x_186); -lean_ctor_set(x_4, 0, x_187); -return x_4; -} -else -{ -lean_object* x_188; lean_object* x_189; -x_188 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_189 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_188); -lean_ctor_set(x_4, 0, x_189); -return x_4; -} -} -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -lean_dec(x_171); -x_190 = l_Lean_Syntax_getArg(x_95, x_94); -lean_dec(x_95); -x_191 = l_Lean_nullKind; -x_192 = lean_unsigned_to_nat(1u); -x_193 = l_Lean_Syntax_isNodeOf(x_190, x_191, x_192); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_box(0); -x_195 = lean_box(0); -x_196 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_194, x_195); -lean_ctor_set(x_4, 0, x_196); -return x_4; -} -else -{ -lean_object* x_197; lean_object* x_198; -x_197 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_198 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_197); -lean_ctor_set(x_4, 0, x_198); -return x_4; -} -} -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -lean_dec(x_171); -x_199 = l_Lean_Syntax_getArg(x_95, x_94); -lean_dec(x_95); -x_200 = l_Lean_nullKind; -x_201 = lean_unsigned_to_nat(1u); -x_202 = l_Lean_Syntax_isNodeOf(x_199, x_200, x_201); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_box(0); -x_204 = lean_box(0); -x_205 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_203, x_204); -lean_ctor_set(x_4, 0, x_205); -return x_4; -} -else -{ -lean_object* x_206; lean_object* x_207; -x_206 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; -x_207 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_172, x_90, x_206); -lean_ctor_set(x_4, 0, x_207); -return x_4; -} -} -} -} -} -} -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -x_208 = lean_ctor_get(x_4, 0); -x_209 = lean_ctor_get(x_4, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_4); -x_210 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; -lean_inc(x_208); -x_211 = l_Lean_Syntax_isOfKind(x_208, x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; -lean_dec(x_208); -lean_dec(x_2); -x_212 = lean_box(1); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_209); -return x_213; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_214 = lean_unsigned_to_nat(0u); -x_215 = l_Lean_Syntax_getArg(x_208, x_214); -lean_dec(x_208); -x_216 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_215); -x_217 = l_Lean_Syntax_isOfKind(x_215, x_216); -if (x_217 == 0) -{ -lean_object* x_218; uint8_t x_219; -x_218 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; -lean_inc(x_215); -x_219 = l_Lean_Syntax_isOfKind(x_215, x_218); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -lean_dec(x_215); -lean_dec(x_2); -x_220 = lean_box(1); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_209); -return x_221; -} -else -{ -lean_object* x_222; lean_object* x_223; uint8_t x_224; -x_222 = l_Lean_Syntax_getArg(x_215, x_214); -x_223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_222); -x_224 = l_Lean_Syntax_isOfKind(x_222, x_223); -if (x_224 == 0) -{ -lean_object* x_225; -x_225 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); -lean_dec(x_2); -lean_dec(x_222); -if (lean_obj_tag(x_225) == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_228 = x_225; -} else { - lean_dec_ref(x_225); - x_228 = lean_box(0); -} -x_229 = lean_unsigned_to_nat(1u); -x_230 = l_Lean_Syntax_getArg(x_215, x_229); -lean_dec(x_215); -x_231 = l_Lean_Syntax_getArg(x_230, x_229); -lean_dec(x_230); -x_232 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_233 = lean_array_push(x_232, x_226); -x_234 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_235 = lean_array_push(x_233, x_234); -x_236 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_237 = lean_array_push(x_235, x_236); -x_238 = lean_array_push(x_237, x_231); -x_239 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -if (lean_is_scalar(x_228)) { - x_241 = lean_alloc_ctor(0, 2, 0); -} else { - x_241 = x_228; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_227); -return x_241; -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_215); -x_242 = lean_ctor_get(x_225, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_225, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_244 = x_225; -} else { - lean_dec_ref(x_225); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; -} -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_246 = lean_unsigned_to_nat(1u); -x_247 = l_Lean_Syntax_getArg(x_215, x_246); -lean_dec(x_215); -x_248 = l_Lean_nullKind; -lean_inc(x_247); -x_249 = l_Lean_Syntax_isNodeOf(x_247, x_248, x_214); -if (x_249 == 0) -{ -lean_object* x_250; -x_250 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); -lean_dec(x_2); -lean_dec(x_222); -if (lean_obj_tag(x_250) == 0) -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -if (lean_is_exclusive(x_250)) { - lean_ctor_release(x_250, 0); - lean_ctor_release(x_250, 1); - x_253 = x_250; -} else { - lean_dec_ref(x_250); - x_253 = lean_box(0); -} -x_254 = l_Lean_Syntax_getArg(x_247, x_246); -lean_dec(x_247); -x_255 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_256 = lean_array_push(x_255, x_251); -x_257 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_258 = lean_array_push(x_256, x_257); -x_259 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_260 = lean_array_push(x_258, x_259); -x_261 = lean_array_push(x_260, x_254); -x_262 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -if (lean_is_scalar(x_253)) { - x_264 = lean_alloc_ctor(0, 2, 0); -} else { - x_264 = x_253; -} -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_252); -return x_264; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -lean_dec(x_247); -x_265 = lean_ctor_get(x_250, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_250, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_250)) { - lean_ctor_release(x_250, 0); - lean_ctor_release(x_250, 1); - x_267 = x_250; -} else { - lean_dec_ref(x_250); - x_267 = lean_box(0); -} -if (lean_is_scalar(x_267)) { - x_268 = lean_alloc_ctor(1, 2, 0); -} else { - x_268 = x_267; -} -lean_ctor_set(x_268, 0, x_265); -lean_ctor_set(x_268, 1, x_266); -return x_268; -} -} -else -{ -lean_object* x_269; -lean_dec(x_247); -x_269 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); -lean_dec(x_2); -lean_dec(x_222); -return x_269; -} -} -} -} -else -{ -lean_object* x_270; lean_object* x_271; uint8_t x_272; -x_270 = l_Lean_Syntax_getArg(x_215, x_214); -x_271 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; -lean_inc(x_270); -x_272 = l_Lean_Syntax_isOfKind(x_270, x_271); -if (x_272 == 0) -{ -lean_object* x_273; lean_object* x_274; -lean_dec(x_270); -lean_dec(x_215); -lean_dec(x_2); -x_273 = lean_box(1); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_209); -return x_274; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; -x_275 = lean_unsigned_to_nat(2u); -x_276 = l_Lean_Syntax_getArg(x_215, x_275); -lean_dec(x_215); -x_277 = l_Lean_Elab_Term_toParserDescr_process___closed__4; -lean_inc(x_276); -x_278 = l_Lean_Syntax_isOfKind(x_276, x_277); -if (x_278 == 0) -{ -lean_object* x_279; uint8_t x_280; -x_279 = l_Lean_Elab_Term_toParserDescr_process___closed__7; -lean_inc(x_276); -x_280 = l_Lean_Syntax_isOfKind(x_276, x_279); -if (x_280 == 0) -{ -lean_object* x_281; uint8_t x_282; -x_281 = l_Lean_Elab_Term_toParserDescr_process___closed__9; -lean_inc(x_276); -x_282 = l_Lean_Syntax_isOfKind(x_276, x_281); -if (x_282 == 0) -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_dec(x_276); -lean_dec(x_2); -x_283 = lean_box(0); -x_284 = lean_box(0); -x_285 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_283, x_284); -x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_209); -return x_286; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; -x_287 = lean_unsigned_to_nat(1u); -x_288 = l_Lean_Syntax_getArg(x_276, x_287); -x_289 = l_Lean_nullKind; -x_290 = l_Lean_Syntax_isNodeOf(x_288, x_289, x_287); -if (x_290 == 0) -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_276); -lean_dec(x_2); -x_291 = lean_box(0); -x_292 = lean_box(0); -x_293 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_291, x_292); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_209); -return x_294; -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; -x_295 = lean_unsigned_to_nat(3u); -x_296 = l_Lean_Syntax_getArg(x_276, x_295); -x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_296); -x_298 = l_Lean_Syntax_isOfKind(x_296, x_297); -if (x_298 == 0) -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -lean_dec(x_296); -lean_dec(x_276); -lean_dec(x_2); -x_299 = lean_box(0); -x_300 = lean_box(0); -x_301 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_299, x_300); -x_302 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_209); -return x_302; -} -else -{ -lean_object* x_303; lean_object* x_304; uint8_t x_305; -x_303 = lean_unsigned_to_nat(4u); -x_304 = l_Lean_Syntax_getArg(x_276, x_303); -x_305 = l_Lean_Syntax_isNone(x_304); -if (x_305 == 0) -{ -uint8_t x_306; -lean_inc(x_304); -x_306 = l_Lean_Syntax_isNodeOf(x_304, x_289, x_275); -if (x_306 == 0) -{ -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -lean_dec(x_304); -lean_dec(x_296); -lean_dec(x_276); -lean_dec(x_2); -x_307 = lean_box(0); -x_308 = lean_box(0); -x_309 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_307, x_308); -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_209); -return x_310; -} -else -{ -lean_object* x_311; uint8_t x_312; -x_311 = l_Lean_Syntax_getArg(x_304, x_287); -lean_dec(x_304); -lean_inc(x_311); -x_312 = l_Lean_Syntax_isNodeOf(x_311, x_289, x_287); -if (x_312 == 0) -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -lean_dec(x_311); -lean_dec(x_296); -lean_dec(x_276); -lean_dec(x_2); -x_313 = lean_box(0); -x_314 = lean_box(0); -x_315 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_313, x_314); -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_209); -return x_316; -} -else -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_317 = l_Lean_Syntax_getArg(x_311, x_214); -lean_dec(x_311); -x_318 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_318, 0, x_317); -x_319 = lean_box(0); -x_320 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_319, x_318, x_2, x_209); -lean_dec(x_2); -lean_dec(x_318); -lean_dec(x_296); -lean_dec(x_276); -return x_320; -} -} -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; -lean_dec(x_304); -x_321 = lean_box(0); -x_322 = lean_box(0); -x_323 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_322, x_321, x_2, x_209); -lean_dec(x_2); -lean_dec(x_296); -lean_dec(x_276); -return x_323; -} -} -} -} -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; -x_324 = lean_unsigned_to_nat(1u); -x_325 = l_Lean_Syntax_getArg(x_276, x_324); -x_326 = l_Lean_nullKind; -x_327 = l_Lean_Syntax_isNodeOf(x_325, x_326, x_324); -if (x_327 == 0) -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_276); -lean_dec(x_2); -x_328 = lean_box(0); -x_329 = lean_box(0); -x_330 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_328, x_329); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_209); -return x_331; -} -else -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_332 = lean_unsigned_to_nat(3u); -x_333 = l_Lean_Syntax_getArg(x_276, x_332); -x_334 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_333); -x_335 = l_Lean_Syntax_isOfKind(x_333, x_334); -if (x_335 == 0) -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_dec(x_333); -lean_dec(x_276); -lean_dec(x_2); -x_336 = lean_box(0); -x_337 = lean_box(0); -x_338 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_336, x_337); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_209); -return x_339; -} -else -{ -lean_object* x_340; lean_object* x_341; uint8_t x_342; -x_340 = lean_unsigned_to_nat(4u); -x_341 = l_Lean_Syntax_getArg(x_276, x_340); -x_342 = l_Lean_Syntax_isNone(x_341); -if (x_342 == 0) -{ -uint8_t x_343; -lean_inc(x_341); -x_343 = l_Lean_Syntax_isNodeOf(x_341, x_326, x_275); -if (x_343 == 0) -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -lean_dec(x_341); -lean_dec(x_333); -lean_dec(x_276); -lean_dec(x_2); -x_344 = lean_box(0); -x_345 = lean_box(0); -x_346 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_344, x_345); -x_347 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_209); -return x_347; -} -else -{ -lean_object* x_348; uint8_t x_349; -x_348 = l_Lean_Syntax_getArg(x_341, x_324); -lean_dec(x_341); -lean_inc(x_348); -x_349 = l_Lean_Syntax_isNodeOf(x_348, x_326, x_324); -if (x_349 == 0) -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -lean_dec(x_348); -lean_dec(x_333); -lean_dec(x_276); -lean_dec(x_2); -x_350 = lean_box(0); -x_351 = lean_box(0); -x_352 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_350, x_351); -x_353 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_209); -return x_353; -} -else -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_354 = l_Lean_Syntax_getArg(x_348, x_214); -lean_dec(x_348); -x_355 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_355, 0, x_354); -x_356 = lean_box(0); -x_357 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_356, x_355, x_2, x_209); -lean_dec(x_2); -lean_dec(x_355); -lean_dec(x_333); -lean_dec(x_276); -return x_357; -} -} -} -else -{ -lean_object* x_358; lean_object* x_359; lean_object* x_360; -lean_dec(x_341); -x_358 = lean_box(0); -x_359 = lean_box(0); -x_360 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_359, x_358, x_2, x_209); -lean_dec(x_2); -lean_dec(x_333); -lean_dec(x_276); -return x_360; -} -} -} -} -} -else -{ -lean_object* x_361; lean_object* x_362; uint8_t x_363; -lean_dec(x_2); -x_361 = l_Lean_Syntax_getArg(x_276, x_214); -x_362 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; -x_363 = l_Lean_Syntax_matchesIdent(x_361, x_362); -if (x_363 == 0) -{ -lean_object* x_364; uint8_t x_365; -x_364 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; -x_365 = l_Lean_Syntax_matchesIdent(x_361, x_364); -if (x_365 == 0) -{ -lean_object* x_366; uint8_t x_367; -x_366 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; -x_367 = l_Lean_Syntax_matchesIdent(x_361, x_366); -lean_dec(x_361); -if (x_367 == 0) -{ -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -lean_dec(x_276); -x_368 = lean_box(0); -x_369 = lean_box(0); -x_370 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_368, x_369); -x_371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_209); -return x_371; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; -x_372 = l_Lean_Syntax_getArg(x_276, x_275); -lean_dec(x_276); -x_373 = l_Lean_nullKind; -x_374 = lean_unsigned_to_nat(1u); -x_375 = l_Lean_Syntax_isNodeOf(x_372, x_373, x_374); -if (x_375 == 0) -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_376 = lean_box(0); -x_377 = lean_box(0); -x_378 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_376, x_377); -x_379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_209); -return x_379; -} -else -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_380 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_381 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_380); -x_382 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_209); -return x_382; -} -} -} -else -{ -lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; -lean_dec(x_361); -x_383 = l_Lean_Syntax_getArg(x_276, x_275); -lean_dec(x_276); -x_384 = l_Lean_nullKind; -x_385 = lean_unsigned_to_nat(1u); -x_386 = l_Lean_Syntax_isNodeOf(x_383, x_384, x_385); -if (x_386 == 0) -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; -x_387 = lean_box(0); -x_388 = lean_box(0); -x_389 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_387, x_388); -x_390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_209); -return x_390; -} -else -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_391 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; -x_392 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_391); -x_393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_209); -return x_393; -} -} -} -else -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; -lean_dec(x_361); -x_394 = l_Lean_Syntax_getArg(x_276, x_275); -lean_dec(x_276); -x_395 = l_Lean_nullKind; -x_396 = lean_unsigned_to_nat(1u); -x_397 = l_Lean_Syntax_isNodeOf(x_394, x_395, x_396); -if (x_397 == 0) -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -x_398 = lean_box(0); -x_399 = lean_box(0); -x_400 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_398, x_399); -x_401 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_209); -return x_401; -} -else -{ -lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_402 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; -x_403 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_362, x_270, x_402); -x_404 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_209); -return x_404; -} -} -} -} -} -} -} -} -else -{ -uint8_t x_405; -lean_dec(x_2); -x_405 = !lean_is_exclusive(x_4); -if (x_405 == 0) -{ -return x_4; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_406 = lean_ctor_get(x_4, 0); -x_407 = lean_ctor_get(x_4, 1); -lean_inc(x_407); -lean_inc(x_406); -lean_dec(x_4); -x_408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_408, 0, x_406); -lean_ctor_set(x_408, 1, x_407); -return x_408; -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_2 < x_1; -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = x_3; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_array_uget(x_3, x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = x_9; -x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -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 = 1; -x_17 = x_2 + x_16; -x_18 = x_14; -x_19 = lean_array_uset(x_11, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_2 < x_1; -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_4); -x_7 = x_3; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_array_uget(x_3, x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = x_9; -lean_inc(x_4); -x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_12, x_4, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -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 = 1; -x_17 = x_2 + x_16; -x_18 = x_14; -x_19 = lean_array_uset(x_11, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -lean_dec(x_4); -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_2, 5); -x_5 = l_Lean_mkIdentFrom(x_4, x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_5 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_6 = lean_array_push(x_5, x_1); -x_7 = lean_array_push(x_6, x_2); -x_8 = l_Lean_nullKind; -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_4); -return x_10; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__2(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, 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) { -_start: -{ -lean_object* x_20; -lean_inc(x_18); -x_20 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_18, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box_usize(x_2); -x_24 = lean_box_usize(x_3); -x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); -lean_closure_set(x_25, 0, x_23); -lean_closure_set(x_25, 1, x_24); -lean_closure_set(x_25, 2, x_4); -x_26 = x_25; -lean_inc(x_18); -x_27 = lean_apply_2(x_26, x_18, x_22); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -lean_inc(x_18); -x_30 = l_Lean_Macro_getCurrNamespace(x_18, x_29); -if (lean_obj_tag(x_30) == 0) -{ -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_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; size_t 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_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -lean_inc(x_17); -x_33 = l_Lean_Name_append(x_31, x_17); -lean_dec(x_31); -lean_inc(x_5); -x_34 = lean_array_push(x_5, x_21); -x_35 = l_Array_append___rarg(x_34, x_28); -lean_dec(x_28); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_35); -x_172 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_17, x_18, x_32); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_175 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_174); -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_7); -x_179 = lean_name_mk_string(x_7, x_178); -lean_inc(x_176); -x_180 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_180, 0, x_176); -lean_ctor_set(x_180, 1, x_178); -x_181 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_7); -x_182 = lean_name_mk_string(x_7, x_181); -x_183 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_176); -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_176); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_176); -x_186 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_186, 0, x_176); -lean_ctor_set(x_186, 1, x_185); -x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_176); -x_188 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_188, 0, x_176); -lean_ctor_set(x_188, 1, x_187); -x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_176); -x_190 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_190, 0, x_176); -lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_192 = lean_array_push(x_191, x_184); -lean_inc(x_192); -x_193 = lean_array_push(x_192, x_186); -lean_inc(x_188); -x_194 = lean_array_push(x_193, x_188); -x_195 = lean_array_push(x_194, x_173); -lean_inc(x_190); -x_196 = lean_array_push(x_195, x_190); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_182); -lean_ctor_set(x_197, 1, x_196); -lean_inc(x_5); -x_198 = lean_array_push(x_5, x_197); -x_199 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_7); -x_202 = lean_name_mk_string(x_7, x_201); -x_203 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_176); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_176); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Nat_repr(x_11); -x_206 = l_Lean_numLitKind; -x_207 = lean_box(2); -x_208 = l_Lean_Syntax_mkLit(x_206, x_205, x_207); -x_209 = lean_array_push(x_192, x_204); -x_210 = lean_array_push(x_209, x_188); -x_211 = lean_array_push(x_210, x_208); -x_212 = lean_array_push(x_211, x_190); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_202); -lean_ctor_set(x_213, 1, x_212); -lean_inc(x_5); -x_214 = lean_array_push(x_5, x_213); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_199); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_get_size(x_12); -x_217 = lean_usize_of_nat(x_216); -lean_dec(x_216); -x_218 = x_12; -x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_217, x_3, x_218); -x_220 = x_219; -x_221 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_222 = l_Array_append___rarg(x_221, x_220); -lean_dec(x_220); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_199); -lean_ctor_set(x_223, 1, x_222); -x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -x_225 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_225, 0, x_176); -lean_ctor_set(x_225, 1, x_224); -if (lean_obj_tag(x_10) == 0) -{ -x_226 = x_221; -goto block_258; -} -else -{ -lean_object* x_259; lean_object* x_260; -x_259 = lean_ctor_get(x_10, 0); -lean_inc(x_259); -lean_inc(x_5); -x_260 = lean_array_push(x_5, x_259); -x_226 = x_260; -goto block_258; -} -block_171: -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_39 = l_Lean_Syntax_getArgs(x_6); -x_40 = lean_array_get_size(x_39); -lean_dec(x_39); -x_41 = lean_unsigned_to_nat(1u); -x_42 = lean_nat_dec_eq(x_40, x_41); -lean_dec(x_40); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_43 = l_Lean_Syntax_getArg(x_6, x_41); -x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_38); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_48 = lean_name_mk_string(x_7, x_47); -x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_50 = lean_array_push(x_5, x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_8); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_45); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_45); -lean_ctor_set(x_52, 1, x_47); -x_53 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_9); -x_54 = lean_name_mk_string(x_9, x_53); -x_55 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; -lean_inc(x_9); -x_56 = lean_name_mk_string(x_9, x_55); -x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_45); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_45); -lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -x_60 = lean_name_mk_string(x_9, x_59); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_45); -x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_45); -lean_ctor_set(x_62, 1, x_61); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_45); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_45); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_66 = lean_array_push(x_65, x_62); -lean_inc(x_66); -x_67 = lean_array_push(x_66, x_36); -lean_inc(x_64); -x_68 = lean_array_push(x_67, x_64); -lean_inc(x_60); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_60); -lean_ctor_set(x_69, 1, x_68); -lean_inc(x_5); -x_70 = lean_array_push(x_5, x_69); -x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_45); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_push(x_66, x_43); -x_76 = lean_array_push(x_75, x_64); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_60); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_79 = lean_array_push(x_78, x_58); -x_80 = lean_array_push(x_79, x_72); -x_81 = lean_array_push(x_80, x_74); -x_82 = lean_array_push(x_81, x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_56); -lean_ctor_set(x_83, 1, x_82); -lean_inc(x_5); -x_84 = lean_array_push(x_5, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_71); -lean_ctor_set(x_85, 1, x_84); -lean_inc(x_5); -x_86 = lean_array_push(x_5, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_54); -lean_ctor_set(x_87, 1, x_86); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_5); -x_88 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; -x_89 = lean_array_push(x_88, x_51); -x_90 = lean_array_push(x_89, x_52); -x_91 = lean_array_push(x_90, x_49); -x_92 = lean_array_push(x_91, x_87); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_48); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_93, x_18, x_46); -lean_dec(x_18); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_95 = lean_ctor_get(x_10, 0); -lean_inc(x_95); -lean_dec(x_10); -x_96 = lean_array_push(x_5, x_95); -x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_98 = l_Array_append___rarg(x_97, x_96); -lean_dec(x_96); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_71); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_101 = lean_array_push(x_100, x_99); -x_102 = lean_array_push(x_101, x_51); -x_103 = lean_array_push(x_102, x_52); -x_104 = lean_array_push(x_103, x_49); -x_105 = lean_array_push(x_104, x_87); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_48); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_106, x_18, x_46); -lean_dec(x_18); -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_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_108 = lean_unsigned_to_nat(0u); -x_109 = l_Lean_Syntax_getArg(x_6, x_108); -x_110 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_38); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_114 = lean_name_mk_string(x_7, x_113); -x_115 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_116 = lean_array_push(x_5, x_115); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_8); -lean_ctor_set(x_117, 1, x_116); -lean_inc(x_111); -x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_111); -lean_ctor_set(x_118, 1, x_113); -x_119 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_9); -x_120 = lean_name_mk_string(x_9, x_119); -x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; -lean_inc(x_9); -x_122 = lean_name_mk_string(x_9, x_121); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_111); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_111); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -x_126 = lean_name_mk_string(x_9, x_125); -x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_111); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_111); -lean_ctor_set(x_128, 1, x_127); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_111); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_111); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_132 = lean_array_push(x_131, x_128); -x_133 = lean_array_push(x_132, x_36); -x_134 = lean_array_push(x_133, x_130); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_126); -lean_ctor_set(x_135, 1, x_134); -lean_inc(x_5); -x_136 = lean_array_push(x_5, x_135); -x_137 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_140, 0, x_111); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_142 = lean_array_push(x_141, x_124); -x_143 = lean_array_push(x_142, x_138); -x_144 = lean_array_push(x_143, x_140); -x_145 = lean_array_push(x_144, x_109); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_122); -lean_ctor_set(x_146, 1, x_145); -lean_inc(x_5); -x_147 = lean_array_push(x_5, x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_137); -lean_ctor_set(x_148, 1, x_147); -lean_inc(x_5); -x_149 = lean_array_push(x_5, x_148); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_120); -lean_ctor_set(x_150, 1, x_149); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -lean_dec(x_5); -x_151 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; -x_152 = lean_array_push(x_151, x_117); -x_153 = lean_array_push(x_152, x_118); -x_154 = lean_array_push(x_153, x_115); -x_155 = lean_array_push(x_154, x_150); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_114); -lean_ctor_set(x_156, 1, x_155); -x_157 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_156, x_18, x_112); -lean_dec(x_18); -return x_157; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_158 = lean_ctor_get(x_10, 0); -lean_inc(x_158); -lean_dec(x_10); -x_159 = lean_array_push(x_5, x_158); -x_160 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_161 = l_Array_append___rarg(x_160, x_159); -lean_dec(x_159); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_137); -lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_array_push(x_164, x_117); -x_166 = lean_array_push(x_165, x_118); -x_167 = lean_array_push(x_166, x_115); -x_168 = lean_array_push(x_167, x_150); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_114); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_169, x_18, x_112); -lean_dec(x_18); -return x_170; -} -} -} -block_258: -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_227 = l_Array_append___rarg(x_221, x_226); -lean_dec(x_226); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_199); -lean_ctor_set(x_228, 1, x_227); -x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; -x_230 = lean_array_push(x_229, x_228); -x_231 = lean_array_push(x_230, x_13); -x_232 = lean_array_push(x_231, x_180); -if (lean_obj_tag(x_14) == 0) -{ -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_dec(x_16); -x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_234 = lean_array_push(x_232, x_233); -x_235 = lean_array_push(x_234, x_200); -x_236 = lean_array_push(x_235, x_215); -x_237 = lean_array_push(x_236, x_223); -x_238 = lean_array_push(x_237, x_225); -x_239 = lean_array_push(x_238, x_15); -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_179); -lean_ctor_set(x_240, 1, x_239); -x_37 = x_240; -x_38 = x_177; -goto block_171; -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_241 = lean_ctor_get(x_14, 0); -lean_inc(x_241); -lean_dec(x_14); -x_242 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_243 = lean_name_mk_string(x_16, x_242); -x_244 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -lean_inc(x_225); -x_245 = lean_array_push(x_244, x_225); -x_246 = lean_array_push(x_245, x_241); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_243); -lean_ctor_set(x_247, 1, x_246); -lean_inc(x_5); -x_248 = lean_array_push(x_5, x_247); -x_249 = l_Array_append___rarg(x_221, x_248); -lean_dec(x_248); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_199); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_232, x_250); -x_252 = lean_array_push(x_251, x_200); -x_253 = lean_array_push(x_252, x_215); -x_254 = lean_array_push(x_253, x_223); -x_255 = lean_array_push(x_254, x_225); -x_256 = lean_array_push(x_255, x_15); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_179); -lean_ctor_set(x_257, 1, x_256); -x_37 = x_257; -x_38 = x_177; -goto block_171; -} -} -} -else -{ -uint8_t x_261; -lean_dec(x_28); -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_5); -x_261 = !lean_is_exclusive(x_30); -if (x_261 == 0) -{ -return x_30; -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_30, 0); -x_263 = lean_ctor_get(x_30, 1); -lean_inc(x_263); -lean_inc(x_262); -lean_dec(x_30); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -return x_264; -} -} -} -else -{ -uint8_t x_265; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_5); -x_265 = !lean_is_exclusive(x_27); -if (x_265 == 0) -{ -return x_27; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_27, 0); -x_267 = lean_ctor_get(x_27, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_27); -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_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_5); -lean_dec(x_4); -x_269 = !lean_is_exclusive(x_20); -if (x_269 == 0) -{ -return x_20; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_20, 0); -x_271 = lean_ctor_get(x_20, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_20); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("macroTail"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_unsigned_to_nat(6u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; -lean_inc(x_2); -x_17 = lean_name_mk_string(x_2, x_16); -lean_inc(x_15); -x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -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_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_21 = lean_unsigned_to_nat(7u); -x_22 = l_Lean_Syntax_getArg(x_1, x_21); -x_23 = lean_unsigned_to_nat(8u); -x_24 = l_Lean_Syntax_getArg(x_1, x_23); -x_25 = l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; -lean_inc(x_2); -x_26 = lean_name_mk_string(x_2, x_25); -lean_inc(x_24); -x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -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_28 = lean_box(1); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_13); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_unsigned_to_nat(1u); -x_31 = l_Lean_Syntax_getArg(x_24, x_30); -x_32 = lean_unsigned_to_nat(3u); -x_33 = l_Lean_Syntax_getArg(x_24, x_32); -lean_dec(x_24); -x_34 = l_Lean_Syntax_getArgs(x_22); -lean_dec(x_22); -lean_inc(x_12); -x_35 = l_Lean_evalOptPrio(x_11, x_12, x_13); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -lean_inc(x_15); -x_38 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_15, x_12, x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_array_get_size(x_34); -x_42 = lean_usize_of_nat(x_41); -lean_dec(x_41); -x_43 = 0; -x_44 = x_34; -x_45 = lean_box_usize(x_42); -x_46 = l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; -lean_inc(x_44); -x_47 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); -lean_closure_set(x_47, 0, x_45); -lean_closure_set(x_47, 1, x_46); -lean_closure_set(x_47, 2, x_44); -x_48 = x_47; -lean_inc(x_12); -x_49 = lean_apply_2(x_48, x_12, x_40); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -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); -x_52 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_53 = lean_array_push(x_52, x_39); -x_54 = l_Array_append___rarg(x_53, x_50); -lean_dec(x_50); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = l_Lean_Syntax_getId(x_31); -x_56 = l_Lean_nullKind; -lean_inc(x_54); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -lean_inc(x_12); -x_58 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_55, x_57, x_12, x_51); -lean_dec(x_57); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_59, x_12, x_60); -lean_dec(x_33); -return x_61; -} -else -{ -uint8_t x_62; -lean_dec(x_54); -lean_dec(x_44); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_15); -lean_dec(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_62 = !lean_is_exclusive(x_58); -if (x_62 == 0) -{ -return x_58; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_58, 0); -x_64 = lean_ctor_get(x_58, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_58); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_9, 0); -x_67 = l_Lean_Syntax_getId(x_66); -x_68 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_67, x_12, x_51); -lean_dec(x_33); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_dec(x_44); -lean_dec(x_39); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_15); -lean_dec(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_69 = !lean_is_exclusive(x_49); -if (x_69 == 0) -{ -return x_49; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_49, 0); -x_71 = lean_ctor_get(x_49, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_49); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} -} -} -else -{ -uint8_t x_73; -lean_dec(x_36); -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_15); -lean_dec(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_73 = !lean_is_exclusive(x_38); -if (x_73 == 0) -{ -return x_38; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_38, 0); -x_75 = lean_ctor_get(x_38, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_38); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_15); -lean_dec(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_77 = !lean_is_exclusive(x_35); -if (x_77 == 0) -{ -return x_35; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_35, 0); -x_79 = lean_ctor_get(x_35, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_35); -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; -} -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_unsigned_to_nat(5u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_nullKind; -x_17 = lean_unsigned_to_nat(1u); -lean_inc(x_14); -x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_14); -lean_dec(x_11); -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_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_12); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Lean_Syntax_getArg(x_14, x_21); -lean_dec(x_14); -x_23 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_2); -x_24 = lean_name_mk_string(x_2, x_23); -lean_inc(x_22); -x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_22); -lean_dec(x_11); -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_26 = lean_box(1); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_12); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_unsigned_to_nat(3u); -x_29 = l_Lean_Syntax_getArg(x_22, x_28); -lean_dec(x_22); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); -return x_32; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_14); -x_33 = lean_box(0); -x_34 = lean_box(0); -x_35 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); -return x_35; -} -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_unsigned_to_nat(4u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_isNone(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_nullKind; -x_16 = lean_unsigned_to_nat(1u); -lean_inc(x_13); -x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -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_18 = lean_box(1); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_11); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Syntax_getArg(x_13, x_20); -lean_dec(x_13); -x_22 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_23 = lean_name_mk_string(x_2, x_22); -lean_inc(x_21); -x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_21); -lean_dec(x_10); -lean_dec(x_9); -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(1); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_11); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_unsigned_to_nat(3u); -x_28 = l_Lean_Syntax_getArg(x_21, x_27); -lean_dec(x_21); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_30, x_29, x_10, x_11); -lean_dec(x_29); -return x_31; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_13); -x_32 = lean_box(0); -x_33 = lean_box(0); -x_34 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_33, x_32, x_10, x_11); -return x_34; -} -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; -lean_inc(x_2); -x_11 = lean_name_mk_string(x_2, x_10); -x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; -lean_inc(x_11); -x_13 = lean_name_mk_string(x_11, x_12); -lean_inc(x_9); -x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_box(1); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_7); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_unsigned_to_nat(3u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_Syntax_isNone(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_nullKind; -lean_inc(x_18); -x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_18); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_22 = lean_box(1); -x_23 = lean_alloc_ctor(1, 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; lean_object* x_27; uint8_t x_28; -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Syntax_getArg(x_18, x_24); -lean_dec(x_18); -x_26 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -lean_inc(x_2); -x_27 = lean_name_mk_string(x_2, x_26); -lean_inc(x_25); -x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_25); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_29 = lean_box(1); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_7); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = l_Lean_Syntax_getArg(x_25, x_8); -lean_dec(x_25); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_box(0); -x_34 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_33, x_32, x_6, x_7); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_18); -x_35 = lean_box(0); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_36, x_35, x_6, x_7); -return x_37; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandMacro(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_Elab_Command_expandMacro___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; uint8_t x_10; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(1u); -lean_inc(x_9); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_14 = lean_box(1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_17 = l_Lean_Elab_Command_elabSyntax___closed__4; -lean_inc(x_16); -x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_16); -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_3); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_16); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); -lean_dec(x_1); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_9); -x_26 = lean_box(0); -x_27 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); -lean_dec(x_1); -return x_30; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(x_6, x_7, x_3, x_4, x_5); -lean_dec(x_4); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(x_6, x_7, x_3, x_4, x_5); -return x_8; -} -} -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___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_Elab_Command_expandMacro___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_21 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_22 = l_Lean_Elab_Command_expandMacro___lambda__2(x_1, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_6); -return x_22; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Elab_Command_expandMacro___lambda__3(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_10); -lean_dec(x_9); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -return x_13; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMacro___lambda__5(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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expandMacro"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro), 3, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Command_expandMacro___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -38123,6433 +19712,15 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_withExpectedType_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_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withExpectedType_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expected type must be known"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_withExpectedType___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_withExpectedType(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); -lean_inc(x_1); -x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_2); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_Elab_Command_withExpectedType___closed__2; -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -lean_dec(x_1); -x_16 = lean_apply_8(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -return x_16; -} -} -else -{ -uint8_t 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_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) -{ -return x_10; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_10, 0); -x_19 = lean_ctor_get(x_10, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_10); -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_Elab_Command_elabElabRulesAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_dec(x_3); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_6; -lean_dec(x_4); -x_6 = lean_apply_2(x_5, x_2, x_2); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_5); -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -lean_dec(x_2); -x_8 = lean_apply_2(x_4, x_1, x_7); -return x_8; -} -} -else -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_4); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_apply_2(x_3, x_9, x_2); -return x_10; -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux_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_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___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) { -_start: -{ -uint8_t x_7; -x_7 = x_5 < x_4; -if (x_7 == 0) -{ -lean_inc(x_6); -return x_6; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_array_uget(x_3, x_5); -lean_inc(x_8); -x_9 = l_Lean_Syntax_getKind(x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_9, x_1); -lean_dec(x_9); -if (x_10 == 0) -{ -size_t x_11; size_t x_12; -lean_dec(x_8); -x_11 = 1; -x_12 = x_5 + x_11; -{ -size_t _tmp_4 = x_12; -lean_object* _tmp_5 = x_2; -x_5 = _tmp_4; -x_6 = _tmp_5; -} -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_8); -x_15 = lean_box(0); -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; -} -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid elab_rules alternative, unexpected syntax node kind '"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid elab_rules alternative, expected syntax node kind '"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___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; -lean_inc(x_1); -x_11 = l_Lean_Syntax_getQuotContent(x_1); -lean_inc(x_11); -x_12 = l_Lean_Syntax_getKind(x_11); -x_13 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_12, x_5); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_choiceKind; -x_15 = lean_name_eq(x_12, x_14); -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; -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_16, 0, x_12); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_20, x_8, x_9, x_10); -lean_dec(x_6); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_12); -x_22 = l_Lean_Syntax_getArgs(x_11); -lean_dec(x_11); -x_23 = lean_array_get_size(x_22); -x_24 = lean_usize_of_nat(x_23); -lean_dec(x_23); -x_25 = 0; -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; -x_27 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(x_5, x_26, x_22, x_24, x_25, x_26); -lean_dec(x_22); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -if (lean_obj_tag(x_28) == 0) -{ -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_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_29 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_29, 0, x_5); -x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4; -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_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -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_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_33, x_8, x_9, x_10); -lean_dec(x_6); -return x_34; -} -else -{ -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; uint8_t x_46; -lean_dec(x_6); -lean_dec(x_5); -x_35 = lean_ctor_get(x_28, 0); -lean_inc(x_35); -lean_dec(x_28); -x_36 = lean_unsigned_to_nat(1u); -x_37 = l_Lean_Syntax_setArg(x_1, x_36, x_35); -x_38 = lean_unsigned_to_nat(0u); -x_39 = lean_array_set(x_2, x_38, x_37); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_42); -lean_dec(x_8); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_44); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_41); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_41); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; -x_51 = l_Lean_Syntax_SepArray_ofElems(x_50, x_39); -lean_dec(x_39); -x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_53 = l_Array_append___rarg(x_52, x_51); -lean_dec(x_51); -x_54 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_41); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_59 = lean_array_push(x_58, x_49); -x_60 = lean_array_push(x_59, x_55); -x_61 = lean_array_push(x_60, x_57); -x_62 = lean_array_push(x_61, x_3); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_4); -lean_ctor_set(x_63, 1, x_62); -lean_ctor_set(x_45, 0, x_63); -return x_45; -} -else -{ -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; -x_64 = lean_ctor_get(x_45, 1); -lean_inc(x_64); -lean_dec(x_45); -x_65 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_41); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_41); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; -x_68 = l_Lean_Syntax_SepArray_ofElems(x_67, x_39); -lean_dec(x_39); -x_69 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_70 = l_Array_append___rarg(x_69, x_68); -lean_dec(x_68); -x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_41); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_76 = lean_array_push(x_75, x_66); -x_77 = lean_array_push(x_76, x_72); -x_78 = lean_array_push(x_77, x_74); -x_79 = lean_array_push(x_78, x_3); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_4); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_64); -return x_81; -} -} -} -} -else -{ -lean_object* x_82; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_6); -lean_ctor_set(x_82, 1, x_10); -return x_82; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(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) { -_start: -{ -uint8_t x_8; -x_8 = x_3 < x_2; -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_1); -x_9 = x_4; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_7); -return x_10; -} -else -{ -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_array_uget(x_4, x_3); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_uset(x_4, x_3, x_12); -x_14 = x_11; -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -lean_inc(x_14); -x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_7); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -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; uint8_t x_29; -x_22 = lean_unsigned_to_nat(1u); -x_23 = l_Lean_Syntax_getArg(x_14, x_22); -x_24 = lean_unsigned_to_nat(3u); -x_25 = l_Lean_Syntax_getArg(x_14, x_24); -x_26 = l_Lean_Syntax_getArgs(x_23); -lean_dec(x_23); -x_27 = l_Lean_instInhabitedSyntax; -x_28 = lean_array_get(x_27, x_26, x_12); -x_29 = l_Lean_Syntax_isQuot(x_28); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -lean_dec(x_28); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_7); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -return x_30; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_30); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_box(0); -lean_inc(x_5); -lean_inc(x_1); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = 1; -x_40 = x_3 + x_39; -x_41 = x_37; -x_42 = lean_array_uset(x_13, x_3, x_41); -x_3 = x_40; -x_4 = x_42; -x_7 = x_38; -goto _start; -} -else -{ -uint8_t x_44; -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_36); -if (x_44 == 0) -{ -return x_36; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_36, 0); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_36); -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_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object* 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 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -x_8 = l_Lean_mkIdentFrom(x_7, x_1); -lean_dec(x_7); -lean_ctor_set(x_5, 0, x_8); -return x_5; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = l_Lean_mkIdentFrom(x_9, x_1); -lean_dec(x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("command"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unsupported syntax category '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabFn"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Tactic.Tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("throwUnsupportedSyntax"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("commandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Command.CommandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("CommandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("termElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Term.TermElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -x_2 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("TermElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("stx"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("match"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchDiscr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("with"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("syntax category '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' does not support expected type specification"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expectedType?"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Command.withExpectedType"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("withExpectedType"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__74() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -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_Elab_Command_elabElabRulesAux___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) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_10 = lean_name_eq(x_5, x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; -x_12 = lean_name_eq(x_5, x_11); -if (x_12 == 0) -{ -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; -x_14 = lean_name_eq(x_5, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_4); -lean_dec(x_2); -x_15 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_15, 0, x_5); -x_16 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; -x_17 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_19, x_6, x_7, x_8); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_5); -x_21 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); -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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_23); -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 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_26); -lean_dec(x_6); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_29); -x_31 = !lean_is_exclusive(x_30); -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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_32 = lean_ctor_get(x_30, 0); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_25); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_28); -lean_inc(x_32); -x_35 = l_Lean_addMacroScope(x_32, x_13, x_28); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; -lean_inc(x_25); -x_38 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_38, 0, x_25); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 3, x_36); -x_39 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_40 = lean_array_push(x_39, x_22); -x_41 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_44 = lean_array_push(x_43, x_38); -x_45 = lean_array_push(x_44, x_42); -x_46 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_49 = lean_array_push(x_48, x_47); -x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_39, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_25); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_25); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_57 = lean_array_push(x_56, x_34); -x_58 = lean_array_push(x_57, x_53); -x_59 = lean_array_push(x_58, x_55); -x_60 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -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_39, x_61); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_41); -lean_ctor_set(x_63, 1, x_62); -x_64 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_25); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_25); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_28); -lean_inc(x_32); -x_67 = l_Lean_addMacroScope(x_32, x_66, x_28); -x_68 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_25); -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_25); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_67); -lean_ctor_set(x_69, 3, x_36); -x_70 = lean_array_push(x_43, x_69); -x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_25); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_25); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; -lean_inc(x_28); -lean_inc(x_32); -x_78 = l_Lean_addMacroScope(x_32, x_77, x_28); -x_79 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; -x_80 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_25); -x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_25); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_81, 3, x_80); -x_82 = lean_array_push(x_43, x_76); -x_83 = lean_array_push(x_82, x_81); -x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = lean_array_push(x_39, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_41); -lean_ctor_set(x_87, 1, x_86); -x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_89 = lean_array_push(x_88, x_87); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_25); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_25); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_25); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_25); -lean_ctor_set(x_95, 1, x_94); -x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_97 = l_Array_append___rarg(x_96, x_3); -x_98 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_25); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_25); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_25); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_25); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_39, x_101); -x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_array_push(x_39, x_104); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_41); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_25); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_25); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_110 = l_Lean_addMacroScope(x_32, x_109, x_28); -x_111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_112 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_113, 0, x_25); -lean_ctor_set(x_113, 1, x_111); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_112); -x_114 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_115 = lean_array_push(x_114, x_99); -x_116 = lean_array_push(x_115, x_106); -x_117 = lean_array_push(x_116, x_108); -x_118 = lean_array_push(x_117, x_113); -x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_array_push(x_97, x_120); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_41); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_39, x_122); -x_124 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_43, x_95); -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_56, x_93); -x_131 = lean_array_push(x_130, x_129); -x_132 = lean_array_push(x_131, x_71); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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_114, x_65); -x_136 = lean_array_push(x_135, x_74); -x_137 = lean_array_push(x_136, x_91); -x_138 = lean_array_push(x_137, x_134); -x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_141 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_142 = lean_array_push(x_141, x_63); -x_143 = lean_array_push(x_142, x_71); -x_144 = lean_array_push(x_143, x_71); -x_145 = lean_array_push(x_144, x_71); -x_146 = lean_array_push(x_145, x_71); -x_147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -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_43, x_148); -x_150 = lean_array_push(x_149, x_140); -x_151 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -lean_ctor_set(x_30, 0, x_152); -return x_30; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_153 = lean_ctor_get(x_4, 0); -lean_inc(x_153); -lean_dec(x_4); -x_154 = lean_array_push(x_39, x_153); -x_155 = l_Array_append___rarg(x_96, x_154); -lean_dec(x_154); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_41); -lean_ctor_set(x_156, 1, x_155); -x_157 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_158 = lean_array_push(x_157, x_156); -x_159 = lean_array_push(x_158, x_63); -x_160 = lean_array_push(x_159, x_71); -x_161 = lean_array_push(x_160, x_71); -x_162 = lean_array_push(x_161, x_71); -x_163 = lean_array_push(x_162, x_71); -x_164 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = lean_array_push(x_43, x_165); -x_167 = lean_array_push(x_166, x_140); -x_168 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -lean_ctor_set(x_30, 0, x_169); -return x_30; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -x_170 = lean_ctor_get(x_30, 0); -x_171 = lean_ctor_get(x_30, 1); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_30); -x_172 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_25); -x_173 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_173, 0, x_25); -lean_ctor_set(x_173, 1, x_172); -lean_inc(x_28); -lean_inc(x_170); -x_174 = l_Lean_addMacroScope(x_170, x_13, x_28); -x_175 = lean_box(0); -x_176 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; -lean_inc(x_25); -x_177 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_177, 0, x_25); -lean_ctor_set(x_177, 1, x_176); -lean_ctor_set(x_177, 2, x_174); -lean_ctor_set(x_177, 3, x_175); -x_178 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_179 = lean_array_push(x_178, x_22); -x_180 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -x_182 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_183 = lean_array_push(x_182, x_177); -x_184 = lean_array_push(x_183, x_181); -x_185 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_188 = lean_array_push(x_187, x_186); -x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_array_push(x_178, x_190); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_180); -lean_ctor_set(x_192, 1, x_191); -x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_25); -x_194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_194, 0, x_25); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_196 = lean_array_push(x_195, x_173); -x_197 = lean_array_push(x_196, x_192); -x_198 = lean_array_push(x_197, x_194); -x_199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_178, x_200); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_180); -lean_ctor_set(x_202, 1, x_201); -x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_25); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_25); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_28); -lean_inc(x_170); -x_206 = l_Lean_addMacroScope(x_170, x_205, x_28); -x_207 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_25); -x_208 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_208, 0, x_25); -lean_ctor_set(x_208, 1, x_207); -lean_ctor_set(x_208, 2, x_206); -lean_ctor_set(x_208, 3, x_175); -x_209 = lean_array_push(x_182, x_208); -x_210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_211 = lean_array_push(x_209, x_210); -x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_25); -x_215 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_215, 0, x_25); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; -lean_inc(x_28); -lean_inc(x_170); -x_217 = l_Lean_addMacroScope(x_170, x_216, x_28); -x_218 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; -x_219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_25); -x_220 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_220, 0, x_25); -lean_ctor_set(x_220, 1, x_218); -lean_ctor_set(x_220, 2, x_217); -lean_ctor_set(x_220, 3, x_219); -x_221 = lean_array_push(x_182, x_215); -x_222 = lean_array_push(x_221, x_220); -x_223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = lean_array_push(x_178, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_180); -lean_ctor_set(x_226, 1, x_225); -x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_228 = lean_array_push(x_227, x_226); -x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_228); -x_231 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_25); -x_232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_232, 0, x_25); -lean_ctor_set(x_232, 1, x_231); -x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_25); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_25); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_236 = l_Array_append___rarg(x_235, x_3); -x_237 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_25); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_25); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_25); -x_240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_240, 0, x_25); -lean_ctor_set(x_240, 1, x_239); -x_241 = lean_array_push(x_178, x_240); -x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_array_push(x_178, x_243); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_180); -lean_ctor_set(x_245, 1, x_244); -x_246 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_25); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_25); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_249 = l_Lean_addMacroScope(x_170, x_248, x_28); -x_250 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_252 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_252, 0, x_25); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set(x_252, 2, x_249); -lean_ctor_set(x_252, 3, x_251); -x_253 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_254 = lean_array_push(x_253, x_238); -x_255 = lean_array_push(x_254, x_245); -x_256 = lean_array_push(x_255, x_247); -x_257 = lean_array_push(x_256, x_252); -x_258 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = lean_array_push(x_236, x_259); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_180); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_178, x_261); -x_263 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = lean_array_push(x_182, x_234); -x_266 = lean_array_push(x_265, x_264); -x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -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_195, x_232); -x_270 = lean_array_push(x_269, x_268); -x_271 = lean_array_push(x_270, x_210); -x_272 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_271); -x_274 = lean_array_push(x_253, x_204); -x_275 = lean_array_push(x_274, x_213); -x_276 = lean_array_push(x_275, x_230); -x_277 = lean_array_push(x_276, x_273); -x_278 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_280 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_281 = lean_array_push(x_280, x_202); -x_282 = lean_array_push(x_281, x_210); -x_283 = lean_array_push(x_282, x_210); -x_284 = lean_array_push(x_283, x_210); -x_285 = lean_array_push(x_284, x_210); -x_286 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_array_push(x_182, x_287); -x_289 = lean_array_push(x_288, x_279); -x_290 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_171); -return x_292; -} -else -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_293 = lean_ctor_get(x_4, 0); -lean_inc(x_293); -lean_dec(x_4); -x_294 = lean_array_push(x_178, x_293); -x_295 = l_Array_append___rarg(x_235, x_294); -lean_dec(x_294); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_180); -lean_ctor_set(x_296, 1, x_295); -x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_298 = lean_array_push(x_297, x_296); -x_299 = lean_array_push(x_298, x_202); -x_300 = lean_array_push(x_299, x_210); -x_301 = lean_array_push(x_300, x_210); -x_302 = lean_array_push(x_301, x_210); -x_303 = lean_array_push(x_302, x_210); -x_304 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_303); -x_306 = lean_array_push(x_182, x_305); -x_307 = lean_array_push(x_306, x_279); -x_308 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_307); -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_171); -return x_310; -} -} -} -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; -lean_dec(x_5); -x_311 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); -lean_inc(x_313); -lean_dec(x_311); -x_314 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_313); -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); -lean_dec(x_314); -x_317 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_316); -lean_dec(x_6); -x_318 = lean_ctor_get(x_317, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -lean_dec(x_317); -x_320 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_319); -x_321 = !lean_is_exclusive(x_320); -if (x_321 == 0) -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_322 = lean_ctor_get(x_320, 0); -x_323 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_315); -x_324 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_324, 0, x_315); -lean_ctor_set(x_324, 1, x_323); -x_325 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; -lean_inc(x_318); -lean_inc(x_322); -x_326 = l_Lean_addMacroScope(x_322, x_325, x_318); -x_327 = lean_box(0); -x_328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; -lean_inc(x_315); -x_329 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_329, 0, x_315); -lean_ctor_set(x_329, 1, x_328); -lean_ctor_set(x_329, 2, x_326); -lean_ctor_set(x_329, 3, x_327); -x_330 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_331 = lean_array_push(x_330, x_312); -x_332 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_333, 1, x_331); -x_334 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_335 = lean_array_push(x_334, x_329); -x_336 = lean_array_push(x_335, x_333); -x_337 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_340 = lean_array_push(x_339, x_338); -x_341 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -x_343 = lean_array_push(x_330, x_342); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_332); -lean_ctor_set(x_344, 1, x_343); -x_345 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_315); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_315); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_348 = lean_array_push(x_347, x_324); -x_349 = lean_array_push(x_348, x_344); -x_350 = lean_array_push(x_349, x_346); -x_351 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_350); -x_353 = lean_array_push(x_330, x_352); -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_332); -lean_ctor_set(x_354, 1, x_353); -x_355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_315); -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_315); -lean_ctor_set(x_356, 1, x_355); -x_357 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_318); -lean_inc(x_322); -x_358 = l_Lean_addMacroScope(x_322, x_357, x_318); -x_359 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_315); -x_360 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_360, 0, x_315); -lean_ctor_set(x_360, 1, x_359); -lean_ctor_set(x_360, 2, x_358); -lean_ctor_set(x_360, 3, x_327); -x_361 = lean_array_push(x_334, x_360); -x_362 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_363 = lean_array_push(x_361, x_362); -x_364 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_366 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_315); -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_315); -lean_ctor_set(x_367, 1, x_366); -x_368 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_318); -lean_inc(x_322); -x_369 = l_Lean_addMacroScope(x_322, x_368, x_318); -x_370 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -x_371 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_315); -x_372 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_372, 0, x_315); -lean_ctor_set(x_372, 1, x_370); -lean_ctor_set(x_372, 2, x_369); -lean_ctor_set(x_372, 3, x_371); -x_373 = lean_array_push(x_334, x_367); -x_374 = lean_array_push(x_373, x_372); -x_375 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_374); -x_377 = lean_array_push(x_330, x_376); -x_378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_378, 0, x_332); -lean_ctor_set(x_378, 1, x_377); -x_379 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_380 = lean_array_push(x_379, x_378); -x_381 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_380); -x_383 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_315); -x_384 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_384, 0, x_315); -lean_ctor_set(x_384, 1, x_383); -x_385 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_315); -x_386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_386, 0, x_315); -lean_ctor_set(x_386, 1, x_385); -x_387 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_388 = l_Array_append___rarg(x_387, x_3); -x_389 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_315); -x_390 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_390, 0, x_315); -lean_ctor_set(x_390, 1, x_389); -x_391 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_315); -x_392 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_392, 0, x_315); -lean_ctor_set(x_392, 1, x_391); -x_393 = lean_array_push(x_330, x_392); -x_394 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -x_396 = lean_array_push(x_330, x_395); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_332); -lean_ctor_set(x_397, 1, x_396); -x_398 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_315); -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_315); -lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_401 = l_Lean_addMacroScope(x_322, x_400, x_318); -x_402 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_403 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_404 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_404, 0, x_315); -lean_ctor_set(x_404, 1, x_402); -lean_ctor_set(x_404, 2, x_401); -lean_ctor_set(x_404, 3, x_403); -x_405 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_406 = lean_array_push(x_405, x_390); -x_407 = lean_array_push(x_406, x_397); -x_408 = lean_array_push(x_407, x_399); -x_409 = lean_array_push(x_408, x_404); -x_410 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_409); -x_412 = lean_array_push(x_388, x_411); -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_332); -lean_ctor_set(x_413, 1, x_412); -x_414 = lean_array_push(x_330, x_413); -x_415 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_415); -lean_ctor_set(x_416, 1, x_414); -x_417 = lean_array_push(x_334, x_386); -x_418 = lean_array_push(x_417, x_416); -x_419 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_418); -x_421 = lean_array_push(x_347, x_384); -x_422 = lean_array_push(x_421, x_420); -x_423 = lean_array_push(x_422, x_362); -x_424 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = lean_array_push(x_405, x_356); -x_427 = lean_array_push(x_426, x_365); -x_428 = lean_array_push(x_427, x_382); -x_429 = lean_array_push(x_428, x_425); -x_430 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_429); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; -x_432 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_433 = lean_array_push(x_432, x_354); -x_434 = lean_array_push(x_433, x_362); -x_435 = lean_array_push(x_434, x_362); -x_436 = lean_array_push(x_435, x_362); -x_437 = lean_array_push(x_436, x_362); -x_438 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_439 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_439, 0, x_438); -lean_ctor_set(x_439, 1, x_437); -x_440 = lean_array_push(x_334, x_439); -x_441 = lean_array_push(x_440, x_431); -x_442 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); -lean_ctor_set(x_320, 0, x_443); -return x_320; -} -else -{ -lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_444 = lean_ctor_get(x_4, 0); -lean_inc(x_444); -lean_dec(x_4); -x_445 = lean_array_push(x_330, x_444); -x_446 = l_Array_append___rarg(x_387, x_445); -lean_dec(x_445); -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_332); -lean_ctor_set(x_447, 1, x_446); -x_448 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_449 = lean_array_push(x_448, x_447); -x_450 = lean_array_push(x_449, x_354); -x_451 = lean_array_push(x_450, x_362); -x_452 = lean_array_push(x_451, x_362); -x_453 = lean_array_push(x_452, x_362); -x_454 = lean_array_push(x_453, x_362); -x_455 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_454); -x_457 = lean_array_push(x_334, x_456); -x_458 = lean_array_push(x_457, x_431); -x_459 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_458); -lean_ctor_set(x_320, 0, x_460); -return x_320; -} -} -else -{ -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; -x_461 = lean_ctor_get(x_320, 0); -x_462 = lean_ctor_get(x_320, 1); -lean_inc(x_462); -lean_inc(x_461); -lean_dec(x_320); -x_463 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_315); -x_464 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_464, 0, x_315); -lean_ctor_set(x_464, 1, x_463); -x_465 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; -lean_inc(x_318); -lean_inc(x_461); -x_466 = l_Lean_addMacroScope(x_461, x_465, x_318); -x_467 = lean_box(0); -x_468 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; -lean_inc(x_315); -x_469 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_469, 0, x_315); -lean_ctor_set(x_469, 1, x_468); -lean_ctor_set(x_469, 2, x_466); -lean_ctor_set(x_469, 3, x_467); -x_470 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_471 = lean_array_push(x_470, x_312); -x_472 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_471); -x_474 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_475 = lean_array_push(x_474, x_469); -x_476 = lean_array_push(x_475, x_473); -x_477 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_478, 0, x_477); -lean_ctor_set(x_478, 1, x_476); -x_479 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_480 = lean_array_push(x_479, x_478); -x_481 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_482, 0, x_481); -lean_ctor_set(x_482, 1, x_480); -x_483 = lean_array_push(x_470, x_482); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_472); -lean_ctor_set(x_484, 1, x_483); -x_485 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_315); -x_486 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_486, 0, x_315); -lean_ctor_set(x_486, 1, x_485); -x_487 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_488 = lean_array_push(x_487, x_464); -x_489 = lean_array_push(x_488, x_484); -x_490 = lean_array_push(x_489, x_486); -x_491 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_490); -x_493 = lean_array_push(x_470, x_492); -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_472); -lean_ctor_set(x_494, 1, x_493); -x_495 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_315); -x_496 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_496, 0, x_315); -lean_ctor_set(x_496, 1, x_495); -x_497 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_318); -lean_inc(x_461); -x_498 = l_Lean_addMacroScope(x_461, x_497, x_318); -x_499 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_315); -x_500 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_500, 0, x_315); -lean_ctor_set(x_500, 1, x_499); -lean_ctor_set(x_500, 2, x_498); -lean_ctor_set(x_500, 3, x_467); -x_501 = lean_array_push(x_474, x_500); -x_502 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_503 = lean_array_push(x_501, x_502); -x_504 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_315); -x_507 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_507, 0, x_315); -lean_ctor_set(x_507, 1, x_506); -x_508 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_318); -lean_inc(x_461); -x_509 = l_Lean_addMacroScope(x_461, x_508, x_318); -x_510 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -x_511 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_315); -x_512 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_512, 0, x_315); -lean_ctor_set(x_512, 1, x_510); -lean_ctor_set(x_512, 2, x_509); -lean_ctor_set(x_512, 3, x_511); -x_513 = lean_array_push(x_474, x_507); -x_514 = lean_array_push(x_513, x_512); -x_515 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_515); -lean_ctor_set(x_516, 1, x_514); -x_517 = lean_array_push(x_470, x_516); -x_518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_518, 0, x_472); -lean_ctor_set(x_518, 1, x_517); -x_519 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_520 = lean_array_push(x_519, x_518); -x_521 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_521); -lean_ctor_set(x_522, 1, x_520); -x_523 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_315); -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_315); -lean_ctor_set(x_524, 1, x_523); -x_525 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_315); -x_526 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_526, 0, x_315); -lean_ctor_set(x_526, 1, x_525); -x_527 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_528 = l_Array_append___rarg(x_527, x_3); -x_529 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_315); -x_530 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_530, 0, x_315); -lean_ctor_set(x_530, 1, x_529); -x_531 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_315); -x_532 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_532, 0, x_315); -lean_ctor_set(x_532, 1, x_531); -x_533 = lean_array_push(x_470, x_532); -x_534 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_534); -lean_ctor_set(x_535, 1, x_533); -x_536 = lean_array_push(x_470, x_535); -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_472); -lean_ctor_set(x_537, 1, x_536); -x_538 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_315); -x_539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_539, 0, x_315); -lean_ctor_set(x_539, 1, x_538); -x_540 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_541 = l_Lean_addMacroScope(x_461, x_540, x_318); -x_542 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_543 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_544 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_544, 0, x_315); -lean_ctor_set(x_544, 1, x_542); -lean_ctor_set(x_544, 2, x_541); -lean_ctor_set(x_544, 3, x_543); -x_545 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_546 = lean_array_push(x_545, x_530); -x_547 = lean_array_push(x_546, x_537); -x_548 = lean_array_push(x_547, x_539); -x_549 = lean_array_push(x_548, x_544); -x_550 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_551 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_551, 0, x_550); -lean_ctor_set(x_551, 1, x_549); -x_552 = lean_array_push(x_528, x_551); -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_472); -lean_ctor_set(x_553, 1, x_552); -x_554 = lean_array_push(x_470, x_553); -x_555 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_556, 0, x_555); -lean_ctor_set(x_556, 1, x_554); -x_557 = lean_array_push(x_474, x_526); -x_558 = lean_array_push(x_557, x_556); -x_559 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_560, 0, x_559); -lean_ctor_set(x_560, 1, x_558); -x_561 = lean_array_push(x_487, x_524); -x_562 = lean_array_push(x_561, x_560); -x_563 = lean_array_push(x_562, x_502); -x_564 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_564); -lean_ctor_set(x_565, 1, x_563); -x_566 = lean_array_push(x_545, x_496); -x_567 = lean_array_push(x_566, x_505); -x_568 = lean_array_push(x_567, x_522); -x_569 = lean_array_push(x_568, x_565); -x_570 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_570); -lean_ctor_set(x_571, 1, x_569); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_572 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_573 = lean_array_push(x_572, x_494); -x_574 = lean_array_push(x_573, x_502); -x_575 = lean_array_push(x_574, x_502); -x_576 = lean_array_push(x_575, x_502); -x_577 = lean_array_push(x_576, x_502); -x_578 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_579, 0, x_578); -lean_ctor_set(x_579, 1, x_577); -x_580 = lean_array_push(x_474, x_579); -x_581 = lean_array_push(x_580, x_571); -x_582 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_583, 0, x_582); -lean_ctor_set(x_583, 1, x_581); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_583); -lean_ctor_set(x_584, 1, x_462); -return x_584; -} -else -{ -lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; -x_585 = lean_ctor_get(x_4, 0); -lean_inc(x_585); -lean_dec(x_4); -x_586 = lean_array_push(x_470, x_585); -x_587 = l_Array_append___rarg(x_527, x_586); -lean_dec(x_586); -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_472); -lean_ctor_set(x_588, 1, x_587); -x_589 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_590 = lean_array_push(x_589, x_588); -x_591 = lean_array_push(x_590, x_494); -x_592 = lean_array_push(x_591, x_502); -x_593 = lean_array_push(x_592, x_502); -x_594 = lean_array_push(x_593, x_502); -x_595 = lean_array_push(x_594, x_502); -x_596 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_595); -x_598 = lean_array_push(x_474, x_597); -x_599 = lean_array_push(x_598, x_571); -x_600 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -x_602 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_602, 0, x_601); -lean_ctor_set(x_602, 1, x_462); -return x_602; -} -} -} -} -else -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; uint8_t x_613; -lean_dec(x_5); -x_603 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); -x_604 = lean_ctor_get(x_603, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_603, 1); -lean_inc(x_605); -lean_dec(x_603); -x_606 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_605); -x_607 = lean_ctor_get(x_606, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_606, 1); -lean_inc(x_608); -lean_dec(x_606); -x_609 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_608); -lean_dec(x_6); -x_610 = lean_ctor_get(x_609, 0); -lean_inc(x_610); -x_611 = lean_ctor_get(x_609, 1); -lean_inc(x_611); -lean_dec(x_609); -x_612 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_611); -x_613 = !lean_is_exclusive(x_612); -if (x_613 == 0) -{ -lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_614 = lean_ctor_get(x_612, 0); -x_615 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_607); -x_616 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_616, 0, x_607); -lean_ctor_set(x_616, 1, x_615); -x_617 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_610); -lean_inc(x_614); -x_618 = l_Lean_addMacroScope(x_614, x_617, x_610); -x_619 = lean_box(0); -x_620 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -lean_inc(x_607); -x_621 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_621, 0, x_607); -lean_ctor_set(x_621, 1, x_620); -lean_ctor_set(x_621, 2, x_618); -lean_ctor_set(x_621, 3, x_619); -x_622 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_623 = lean_array_push(x_622, x_604); -x_624 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_625, 0, x_624); -lean_ctor_set(x_625, 1, x_623); -x_626 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_627 = lean_array_push(x_626, x_621); -x_628 = lean_array_push(x_627, x_625); -x_629 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_628); -x_631 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_632 = lean_array_push(x_631, x_630); -x_633 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_633); -lean_ctor_set(x_634, 1, x_632); -x_635 = lean_array_push(x_622, x_634); -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_624); -lean_ctor_set(x_636, 1, x_635); -x_637 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_607); -x_638 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_638, 0, x_607); -lean_ctor_set(x_638, 1, x_637); -x_639 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_640 = lean_array_push(x_639, x_616); -x_641 = lean_array_push(x_640, x_636); -x_642 = lean_array_push(x_641, x_638); -x_643 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_644 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_642); -x_645 = lean_array_push(x_622, x_644); -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_624); -lean_ctor_set(x_646, 1, x_645); -x_647 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_607); -x_648 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_648, 0, x_607); -lean_ctor_set(x_648, 1, x_647); -x_649 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_610); -lean_inc(x_614); -x_650 = l_Lean_addMacroScope(x_614, x_649, x_610); -x_651 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_607); -x_652 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_652, 0, x_607); -lean_ctor_set(x_652, 1, x_651); -lean_ctor_set(x_652, 2, x_650); -lean_ctor_set(x_652, 3, x_619); -x_653 = lean_array_push(x_626, x_652); -x_654 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_655 = lean_array_push(x_653, x_654); -x_656 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_655); -x_658 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_607); -x_659 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_659, 0, x_607); -lean_ctor_set(x_659, 1, x_658); -x_660 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -lean_inc(x_610); -lean_inc(x_614); -x_661 = l_Lean_addMacroScope(x_614, x_660, x_610); -x_662 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -x_663 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -lean_inc(x_607); -x_664 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_664, 0, x_607); -lean_ctor_set(x_664, 1, x_662); -lean_ctor_set(x_664, 2, x_661); -lean_ctor_set(x_664, 3, x_663); -x_665 = lean_array_push(x_626, x_659); -x_666 = lean_array_push(x_665, x_664); -x_667 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_668, 0, x_667); -lean_ctor_set(x_668, 1, x_666); -x_669 = lean_array_push(x_622, x_668); -x_670 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_670, 0, x_624); -lean_ctor_set(x_670, 1, x_669); -x_671 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_672 = lean_array_push(x_671, x_670); -x_673 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_674, 0, x_673); -lean_ctor_set(x_674, 1, x_672); -x_675 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_607); -x_676 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_676, 0, x_607); -lean_ctor_set(x_676, 1, x_675); -x_677 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_607); -x_678 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_678, 0, x_607); -lean_ctor_set(x_678, 1, x_677); -x_679 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -lean_inc(x_610); -lean_inc(x_614); -x_680 = l_Lean_addMacroScope(x_614, x_679, x_610); -x_681 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; -lean_inc(x_607); -x_682 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_682, 0, x_607); -lean_ctor_set(x_682, 1, x_681); -lean_ctor_set(x_682, 2, x_680); -lean_ctor_set(x_682, 3, x_619); -x_683 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_607); -x_684 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_684, 0, x_607); -lean_ctor_set(x_684, 1, x_683); -x_685 = lean_array_push(x_622, x_684); -x_686 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_687, 0, x_686); -lean_ctor_set(x_687, 1, x_685); -lean_inc(x_682); -x_688 = lean_array_push(x_626, x_682); -lean_inc(x_687); -x_689 = lean_array_push(x_688, x_687); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_624); -lean_ctor_set(x_690, 1, x_689); -x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_607); -x_692 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_692, 0, x_607); -lean_ctor_set(x_692, 1, x_691); -x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_607); -x_694 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_694, 0, x_607); -lean_ctor_set(x_694, 1, x_693); -x_695 = lean_array_push(x_671, x_682); -x_696 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; -x_697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_697, 0, x_696); -lean_ctor_set(x_697, 1, x_695); -x_698 = lean_array_push(x_622, x_697); -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_624); -lean_ctor_set(x_699, 1, x_698); -x_700 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -lean_inc(x_607); -x_701 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_701, 0, x_607); -lean_ctor_set(x_701, 1, x_700); -x_702 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_703 = l_Array_append___rarg(x_702, x_3); -x_704 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_607); -x_705 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_705, 0, x_607); -lean_ctor_set(x_705, 1, x_704); -x_706 = lean_array_push(x_622, x_687); -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_624); -lean_ctor_set(x_707, 1, x_706); -x_708 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_709 = l_Lean_addMacroScope(x_614, x_708, x_610); -x_710 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_711 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_712 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_712, 0, x_607); -lean_ctor_set(x_712, 1, x_710); -lean_ctor_set(x_712, 2, x_709); -lean_ctor_set(x_712, 3, x_711); -x_713 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_714 = lean_array_push(x_713, x_705); -x_715 = lean_array_push(x_714, x_707); -lean_inc(x_692); -x_716 = lean_array_push(x_715, x_692); -x_717 = lean_array_push(x_716, x_712); -x_718 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_719 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_719, 0, x_718); -lean_ctor_set(x_719, 1, x_717); -x_720 = lean_array_push(x_703, x_719); -x_721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_721, 0, x_624); -lean_ctor_set(x_721, 1, x_720); -x_722 = lean_array_push(x_622, x_721); -x_723 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_723); -lean_ctor_set(x_724, 1, x_722); -x_725 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_726 = lean_array_push(x_725, x_694); -x_727 = lean_array_push(x_726, x_654); -x_728 = lean_array_push(x_727, x_699); -x_729 = lean_array_push(x_728, x_654); -x_730 = lean_array_push(x_729, x_701); -x_731 = lean_array_push(x_730, x_724); -x_732 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_733 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_733, 0, x_732); -lean_ctor_set(x_733, 1, x_731); -x_734 = lean_array_push(x_639, x_690); -x_735 = lean_array_push(x_734, x_692); -x_736 = lean_array_push(x_735, x_733); -x_737 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_738, 0, x_737); -lean_ctor_set(x_738, 1, x_736); -x_739 = lean_array_push(x_626, x_678); -x_740 = lean_array_push(x_739, x_738); -x_741 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_742, 0, x_741); -lean_ctor_set(x_742, 1, x_740); -x_743 = lean_array_push(x_639, x_676); -x_744 = lean_array_push(x_743, x_742); -x_745 = lean_array_push(x_744, x_654); -x_746 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_747 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_747, 0, x_746); -lean_ctor_set(x_747, 1, x_745); -x_748 = lean_array_push(x_713, x_648); -x_749 = lean_array_push(x_748, x_657); -x_750 = lean_array_push(x_749, x_674); -x_751 = lean_array_push(x_750, x_747); -x_752 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_753, 0, x_752); -lean_ctor_set(x_753, 1, x_751); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; -x_754 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_755 = lean_array_push(x_754, x_646); -x_756 = lean_array_push(x_755, x_654); -x_757 = lean_array_push(x_756, x_654); -x_758 = lean_array_push(x_757, x_654); -x_759 = lean_array_push(x_758, x_654); -x_760 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_761 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_761, 0, x_760); -lean_ctor_set(x_761, 1, x_759); -x_762 = lean_array_push(x_626, x_761); -x_763 = lean_array_push(x_762, x_753); -x_764 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_763); -lean_ctor_set(x_612, 0, x_765); -return x_612; -} -else -{ -lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; -x_766 = lean_ctor_get(x_4, 0); -lean_inc(x_766); -lean_dec(x_4); -x_767 = lean_array_push(x_622, x_766); -x_768 = l_Array_append___rarg(x_702, x_767); -lean_dec(x_767); -x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_624); -lean_ctor_set(x_769, 1, x_768); -x_770 = lean_array_push(x_725, x_769); -x_771 = lean_array_push(x_770, x_646); -x_772 = lean_array_push(x_771, x_654); -x_773 = lean_array_push(x_772, x_654); -x_774 = lean_array_push(x_773, x_654); -x_775 = lean_array_push(x_774, x_654); -x_776 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_777 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_777, 0, x_776); -lean_ctor_set(x_777, 1, x_775); -x_778 = lean_array_push(x_626, x_777); -x_779 = lean_array_push(x_778, x_753); -x_780 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_779); -lean_ctor_set(x_612, 0, x_781); -return x_612; -} -} -else -{ -lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; -x_782 = lean_ctor_get(x_612, 0); -x_783 = lean_ctor_get(x_612, 1); -lean_inc(x_783); -lean_inc(x_782); -lean_dec(x_612); -x_784 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_607); -x_785 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_785, 0, x_607); -lean_ctor_set(x_785, 1, x_784); -x_786 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_610); -lean_inc(x_782); -x_787 = l_Lean_addMacroScope(x_782, x_786, x_610); -x_788 = lean_box(0); -x_789 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -lean_inc(x_607); -x_790 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_790, 0, x_607); -lean_ctor_set(x_790, 1, x_789); -lean_ctor_set(x_790, 2, x_787); -lean_ctor_set(x_790, 3, x_788); -x_791 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_792 = lean_array_push(x_791, x_604); -x_793 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_794, 0, x_793); -lean_ctor_set(x_794, 1, x_792); -x_795 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_796 = lean_array_push(x_795, x_790); -x_797 = lean_array_push(x_796, x_794); -x_798 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_798); -lean_ctor_set(x_799, 1, x_797); -x_800 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_801 = lean_array_push(x_800, x_799); -x_802 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_801); -x_804 = lean_array_push(x_791, x_803); -x_805 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_805, 0, x_793); -lean_ctor_set(x_805, 1, x_804); -x_806 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_607); -x_807 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_807, 0, x_607); -lean_ctor_set(x_807, 1, x_806); -x_808 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_809 = lean_array_push(x_808, x_785); -x_810 = lean_array_push(x_809, x_805); -x_811 = lean_array_push(x_810, x_807); -x_812 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_813 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_813, 0, x_812); -lean_ctor_set(x_813, 1, x_811); -x_814 = lean_array_push(x_791, x_813); -x_815 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_815, 0, x_793); -lean_ctor_set(x_815, 1, x_814); -x_816 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_607); -x_817 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_817, 0, x_607); -lean_ctor_set(x_817, 1, x_816); -x_818 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_610); -lean_inc(x_782); -x_819 = l_Lean_addMacroScope(x_782, x_818, x_610); -x_820 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_607); -x_821 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_821, 0, x_607); -lean_ctor_set(x_821, 1, x_820); -lean_ctor_set(x_821, 2, x_819); -lean_ctor_set(x_821, 3, x_788); -x_822 = lean_array_push(x_795, x_821); -x_823 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_824 = lean_array_push(x_822, x_823); -x_825 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_826, 0, x_825); -lean_ctor_set(x_826, 1, x_824); -x_827 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_607); -x_828 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_828, 0, x_607); -lean_ctor_set(x_828, 1, x_827); -x_829 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -lean_inc(x_610); -lean_inc(x_782); -x_830 = l_Lean_addMacroScope(x_782, x_829, x_610); -x_831 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -x_832 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -lean_inc(x_607); -x_833 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_833, 0, x_607); -lean_ctor_set(x_833, 1, x_831); -lean_ctor_set(x_833, 2, x_830); -lean_ctor_set(x_833, 3, x_832); -x_834 = lean_array_push(x_795, x_828); -x_835 = lean_array_push(x_834, x_833); -x_836 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_837 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_837, 0, x_836); -lean_ctor_set(x_837, 1, x_835); -x_838 = lean_array_push(x_791, x_837); -x_839 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_839, 0, x_793); -lean_ctor_set(x_839, 1, x_838); -x_840 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_841 = lean_array_push(x_840, x_839); -x_842 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_843, 0, x_842); -lean_ctor_set(x_843, 1, x_841); -x_844 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_607); -x_845 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_845, 0, x_607); -lean_ctor_set(x_845, 1, x_844); -x_846 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_607); -x_847 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_847, 0, x_607); -lean_ctor_set(x_847, 1, x_846); -x_848 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -lean_inc(x_610); -lean_inc(x_782); -x_849 = l_Lean_addMacroScope(x_782, x_848, x_610); -x_850 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; -lean_inc(x_607); -x_851 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_851, 0, x_607); -lean_ctor_set(x_851, 1, x_850); -lean_ctor_set(x_851, 2, x_849); -lean_ctor_set(x_851, 3, x_788); -x_852 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_607); -x_853 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_853, 0, x_607); -lean_ctor_set(x_853, 1, x_852); -x_854 = lean_array_push(x_791, x_853); -x_855 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_856 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_856, 0, x_855); -lean_ctor_set(x_856, 1, x_854); -lean_inc(x_851); -x_857 = lean_array_push(x_795, x_851); -lean_inc(x_856); -x_858 = lean_array_push(x_857, x_856); -x_859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_859, 0, x_793); -lean_ctor_set(x_859, 1, x_858); -x_860 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_607); -x_861 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_861, 0, x_607); -lean_ctor_set(x_861, 1, x_860); -x_862 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_607); -x_863 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_863, 0, x_607); -lean_ctor_set(x_863, 1, x_862); -x_864 = lean_array_push(x_840, x_851); -x_865 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = lean_array_push(x_791, x_866); -x_868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_868, 0, x_793); -lean_ctor_set(x_868, 1, x_867); -x_869 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -lean_inc(x_607); -x_870 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_870, 0, x_607); -lean_ctor_set(x_870, 1, x_869); -x_871 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_872 = l_Array_append___rarg(x_871, x_3); -x_873 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_607); -x_874 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_874, 0, x_607); -lean_ctor_set(x_874, 1, x_873); -x_875 = lean_array_push(x_791, x_856); -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_793); -lean_ctor_set(x_876, 1, x_875); -x_877 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_878 = l_Lean_addMacroScope(x_782, x_877, x_610); -x_879 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_880 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_881 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_881, 0, x_607); -lean_ctor_set(x_881, 1, x_879); -lean_ctor_set(x_881, 2, x_878); -lean_ctor_set(x_881, 3, x_880); -x_882 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_883 = lean_array_push(x_882, x_874); -x_884 = lean_array_push(x_883, x_876); -lean_inc(x_861); -x_885 = lean_array_push(x_884, x_861); -x_886 = lean_array_push(x_885, x_881); -x_887 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_887); -lean_ctor_set(x_888, 1, x_886); -x_889 = lean_array_push(x_872, x_888); -x_890 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_890, 0, x_793); -lean_ctor_set(x_890, 1, x_889); -x_891 = lean_array_push(x_791, x_890); -x_892 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_893 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_893, 0, x_892); -lean_ctor_set(x_893, 1, x_891); -x_894 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_895 = lean_array_push(x_894, x_863); -x_896 = lean_array_push(x_895, x_823); -x_897 = lean_array_push(x_896, x_868); -x_898 = lean_array_push(x_897, x_823); -x_899 = lean_array_push(x_898, x_870); -x_900 = lean_array_push(x_899, x_893); -x_901 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_902 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_902, 0, x_901); -lean_ctor_set(x_902, 1, x_900); -x_903 = lean_array_push(x_808, x_859); -x_904 = lean_array_push(x_903, x_861); -x_905 = lean_array_push(x_904, x_902); -x_906 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_907 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_907, 0, x_906); -lean_ctor_set(x_907, 1, x_905); -x_908 = lean_array_push(x_795, x_847); -x_909 = lean_array_push(x_908, x_907); -x_910 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_911 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_911, 0, x_910); -lean_ctor_set(x_911, 1, x_909); -x_912 = lean_array_push(x_808, x_845); -x_913 = lean_array_push(x_912, x_911); -x_914 = lean_array_push(x_913, x_823); -x_915 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_916 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_916, 0, x_915); -lean_ctor_set(x_916, 1, x_914); -x_917 = lean_array_push(x_882, x_817); -x_918 = lean_array_push(x_917, x_826); -x_919 = lean_array_push(x_918, x_843); -x_920 = lean_array_push(x_919, x_916); -x_921 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_922, 1, x_920); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; -x_923 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_924 = lean_array_push(x_923, x_815); -x_925 = lean_array_push(x_924, x_823); -x_926 = lean_array_push(x_925, x_823); -x_927 = lean_array_push(x_926, x_823); -x_928 = lean_array_push(x_927, x_823); -x_929 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_930 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_930, 0, x_929); -lean_ctor_set(x_930, 1, x_928); -x_931 = lean_array_push(x_795, x_930); -x_932 = lean_array_push(x_931, x_922); -x_933 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_934 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_934, 0, x_933); -lean_ctor_set(x_934, 1, x_932); -x_935 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_935, 0, x_934); -lean_ctor_set(x_935, 1, x_783); -return x_935; -} -else -{ -lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; -x_936 = lean_ctor_get(x_4, 0); -lean_inc(x_936); -lean_dec(x_4); -x_937 = lean_array_push(x_791, x_936); -x_938 = l_Array_append___rarg(x_871, x_937); -lean_dec(x_937); -x_939 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_939, 0, x_793); -lean_ctor_set(x_939, 1, x_938); -x_940 = lean_array_push(x_894, x_939); -x_941 = lean_array_push(x_940, x_815); -x_942 = lean_array_push(x_941, x_823); -x_943 = lean_array_push(x_942, x_823); -x_944 = lean_array_push(x_943, x_823); -x_945 = lean_array_push(x_944, x_823); -x_946 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_947 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_947, 0, x_946); -lean_ctor_set(x_947, 1, x_945); -x_948 = lean_array_push(x_795, x_947); -x_949 = lean_array_push(x_948, x_922); -x_950 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_951 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_951, 0, x_950); -lean_ctor_set(x_951, 1, x_949); -x_952 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_952, 0, x_951); -lean_ctor_set(x_952, 1, x_783); -return x_952; -} -} -} -} -else -{ -lean_object* x_953; lean_object* x_954; uint8_t x_955; -x_953 = lean_ctor_get(x_1, 0); -lean_inc(x_953); -lean_dec(x_1); -x_954 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_955 = lean_name_eq(x_5, x_954); -if (x_955 == 0) -{ -lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; -lean_dec(x_4); -lean_dec(x_2); -x_956 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_956, 0, x_5); -x_957 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; -x_958 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_958, 0, x_957); -lean_ctor_set(x_958, 1, x_956); -x_959 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -x_960 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_960, 0, x_958); -lean_ctor_set(x_960, 1, x_959); -x_961 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_953, x_960, x_6, x_7, x_8); -lean_dec(x_953); -return x_961; -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; uint8_t x_972; -lean_dec(x_5); -x_962 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); -x_963 = lean_ctor_get(x_962, 0); -lean_inc(x_963); -x_964 = lean_ctor_get(x_962, 1); -lean_inc(x_964); -lean_dec(x_962); -x_965 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_964); -x_966 = lean_ctor_get(x_965, 0); -lean_inc(x_966); -x_967 = lean_ctor_get(x_965, 1); -lean_inc(x_967); -lean_dec(x_965); -x_968 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_967); -lean_dec(x_6); -x_969 = lean_ctor_get(x_968, 0); -lean_inc(x_969); -x_970 = lean_ctor_get(x_968, 1); -lean_inc(x_970); -lean_dec(x_968); -x_971 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_970); -x_972 = !lean_is_exclusive(x_971); -if (x_972 == 0) -{ -lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; -x_973 = lean_ctor_get(x_971, 0); -x_974 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_966); -x_975 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_975, 0, x_966); -lean_ctor_set(x_975, 1, x_974); -x_976 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_969); -lean_inc(x_973); -x_977 = l_Lean_addMacroScope(x_973, x_976, x_969); -x_978 = lean_box(0); -x_979 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -lean_inc(x_966); -x_980 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_980, 0, x_966); -lean_ctor_set(x_980, 1, x_979); -lean_ctor_set(x_980, 2, x_977); -lean_ctor_set(x_980, 3, x_978); -x_981 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_982 = lean_array_push(x_981, x_963); -x_983 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_984 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_982); -x_985 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_986 = lean_array_push(x_985, x_980); -x_987 = lean_array_push(x_986, x_984); -x_988 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_989 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_989, 0, x_988); -lean_ctor_set(x_989, 1, x_987); -x_990 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_991 = lean_array_push(x_990, x_989); -x_992 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_993 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_993, 0, x_992); -lean_ctor_set(x_993, 1, x_991); -x_994 = lean_array_push(x_981, x_993); -x_995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_995, 0, x_983); -lean_ctor_set(x_995, 1, x_994); -x_996 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_966); -x_997 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_997, 0, x_966); -lean_ctor_set(x_997, 1, x_996); -x_998 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_999 = lean_array_push(x_998, x_975); -x_1000 = lean_array_push(x_999, x_995); -x_1001 = lean_array_push(x_1000, x_997); -x_1002 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1003, 0, x_1002); -lean_ctor_set(x_1003, 1, x_1001); -x_1004 = lean_array_push(x_981, x_1003); -x_1005 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1005, 0, x_983); -lean_ctor_set(x_1005, 1, x_1004); -x_1006 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_966); -x_1007 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1007, 0, x_966); -lean_ctor_set(x_1007, 1, x_1006); -x_1008 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_969); -lean_inc(x_973); -x_1009 = l_Lean_addMacroScope(x_973, x_1008, x_969); -x_1010 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_966); -x_1011 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1011, 0, x_966); -lean_ctor_set(x_1011, 1, x_1010); -lean_ctor_set(x_1011, 2, x_1009); -lean_ctor_set(x_1011, 3, x_978); -x_1012 = lean_array_push(x_985, x_1011); -x_1013 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1014 = lean_array_push(x_1012, x_1013); -x_1015 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1016, 0, x_1015); -lean_ctor_set(x_1016, 1, x_1014); -x_1017 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_966); -x_1018 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1018, 0, x_966); -lean_ctor_set(x_1018, 1, x_1017); -x_1019 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -lean_inc(x_969); -lean_inc(x_973); -x_1020 = l_Lean_addMacroScope(x_973, x_1019, x_969); -x_1021 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -lean_inc(x_966); -x_1023 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1023, 0, x_966); -lean_ctor_set(x_1023, 1, x_1021); -lean_ctor_set(x_1023, 2, x_1020); -lean_ctor_set(x_1023, 3, x_1022); -x_1024 = lean_array_push(x_985, x_1018); -x_1025 = lean_array_push(x_1024, x_1023); -x_1026 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1027 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1027, 0, x_1026); -lean_ctor_set(x_1027, 1, x_1025); -x_1028 = lean_array_push(x_981, x_1027); -x_1029 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1029, 0, x_983); -lean_ctor_set(x_1029, 1, x_1028); -x_1030 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1031 = lean_array_push(x_1030, x_1029); -x_1032 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_966); -x_1035 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1035, 0, x_966); -lean_ctor_set(x_1035, 1, x_1034); -x_1036 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_966); -x_1037 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1037, 0, x_966); -lean_ctor_set(x_1037, 1, x_1036); -x_1038 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -lean_inc(x_969); -lean_inc(x_973); -x_1039 = l_Lean_addMacroScope(x_973, x_1038, x_969); -x_1040 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; -lean_inc(x_966); -x_1041 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1041, 0, x_966); -lean_ctor_set(x_1041, 1, x_1040); -lean_ctor_set(x_1041, 2, x_1039); -lean_ctor_set(x_1041, 3, x_978); -x_1042 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -lean_inc(x_969); -lean_inc(x_973); -x_1043 = l_Lean_addMacroScope(x_973, x_1042, x_969); -x_1044 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; -lean_inc(x_966); -x_1045 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1045, 0, x_966); -lean_ctor_set(x_1045, 1, x_1044); -lean_ctor_set(x_1045, 2, x_1043); -lean_ctor_set(x_1045, 3, x_978); -lean_inc(x_1041); -x_1046 = lean_array_push(x_985, x_1041); -lean_inc(x_1045); -x_1047 = lean_array_push(x_1046, x_1045); -x_1048 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1048, 0, x_983); -lean_ctor_set(x_1048, 1, x_1047); -x_1049 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_966); -x_1050 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1050, 0, x_966); -lean_ctor_set(x_1050, 1, x_1049); -x_1051 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; -lean_inc(x_969); -lean_inc(x_973); -x_1052 = l_Lean_addMacroScope(x_973, x_1051, x_969); -x_1053 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -x_1054 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -lean_inc(x_966); -x_1055 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1055, 0, x_966); -lean_ctor_set(x_1055, 1, x_1053); -lean_ctor_set(x_1055, 2, x_1052); -lean_ctor_set(x_1055, 3, x_1054); -x_1056 = lean_array_push(x_981, x_953); -x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_983); -lean_ctor_set(x_1057, 1, x_1056); -x_1058 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_966); -x_1059 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1059, 0, x_966); -lean_ctor_set(x_1059, 1, x_1058); -x_1060 = lean_array_push(x_1030, x_1041); -x_1061 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; -x_1062 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1062, 0, x_1061); -lean_ctor_set(x_1062, 1, x_1060); -x_1063 = lean_array_push(x_981, x_1062); -x_1064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1064, 0, x_983); -lean_ctor_set(x_1064, 1, x_1063); -x_1065 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -lean_inc(x_966); -x_1066 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1066, 0, x_966); -lean_ctor_set(x_1066, 1, x_1065); -x_1067 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_1068 = l_Array_append___rarg(x_1067, x_3); -x_1069 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_966); -x_1070 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1070, 0, x_966); -lean_ctor_set(x_1070, 1, x_1069); -x_1071 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_966); -x_1072 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1072, 0, x_966); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = lean_array_push(x_981, x_1072); -x_1074 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1075 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1075, 0, x_1074); -lean_ctor_set(x_1075, 1, x_1073); -x_1076 = lean_array_push(x_981, x_1075); -x_1077 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1077, 0, x_983); -lean_ctor_set(x_1077, 1, x_1076); -x_1078 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_1079 = l_Lean_addMacroScope(x_973, x_1078, x_969); -x_1080 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_1081 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_1082 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1082, 0, x_966); -lean_ctor_set(x_1082, 1, x_1080); -lean_ctor_set(x_1082, 2, x_1079); -lean_ctor_set(x_1082, 3, x_1081); -x_1083 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1084 = lean_array_push(x_1083, x_1070); -x_1085 = lean_array_push(x_1084, x_1077); -lean_inc(x_1050); -x_1086 = lean_array_push(x_1085, x_1050); -x_1087 = lean_array_push(x_1086, x_1082); -x_1088 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1089, 0, x_1088); -lean_ctor_set(x_1089, 1, x_1087); -x_1090 = lean_array_push(x_1068, x_1089); -x_1091 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1091, 0, x_983); -lean_ctor_set(x_1091, 1, x_1090); -x_1092 = lean_array_push(x_981, x_1091); -x_1093 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1094, 0, x_1093); -lean_ctor_set(x_1094, 1, x_1092); -x_1095 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_1096 = lean_array_push(x_1095, x_1059); -x_1097 = lean_array_push(x_1096, x_1013); -x_1098 = lean_array_push(x_1097, x_1064); -x_1099 = lean_array_push(x_1098, x_1013); -x_1100 = lean_array_push(x_1099, x_1066); -x_1101 = lean_array_push(x_1100, x_1094); -x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_1102); -lean_ctor_set(x_1103, 1, x_1101); -x_1104 = lean_array_push(x_998, x_1057); -lean_inc(x_1050); -x_1105 = lean_array_push(x_1104, x_1050); -x_1106 = lean_array_push(x_1105, x_1103); -x_1107 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_1108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1108, 0, x_1107); -lean_ctor_set(x_1108, 1, x_1106); -x_1109 = lean_array_push(x_985, x_1037); -lean_inc(x_1109); -x_1110 = lean_array_push(x_1109, x_1108); -x_1111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1112, 0, x_1111); -lean_ctor_set(x_1112, 1, x_1110); -x_1113 = lean_array_push(x_985, x_1045); -x_1114 = lean_array_push(x_1113, x_1112); -x_1115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1115, 0, x_983); -lean_ctor_set(x_1115, 1, x_1114); -x_1116 = lean_array_push(x_985, x_1055); -x_1117 = lean_array_push(x_1116, x_1115); -x_1118 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_1119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1119, 0, x_1118); -lean_ctor_set(x_1119, 1, x_1117); -x_1120 = lean_array_push(x_998, x_1048); -x_1121 = lean_array_push(x_1120, x_1050); -x_1122 = lean_array_push(x_1121, x_1119); -x_1123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1123, 0, x_1107); -lean_ctor_set(x_1123, 1, x_1122); -x_1124 = lean_array_push(x_1109, x_1123); -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1111); -lean_ctor_set(x_1125, 1, x_1124); -x_1126 = lean_array_push(x_998, x_1035); -x_1127 = lean_array_push(x_1126, x_1125); -x_1128 = lean_array_push(x_1127, x_1013); -x_1129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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_1083, x_1007); -x_1132 = lean_array_push(x_1131, x_1016); -x_1133 = lean_array_push(x_1132, x_1033); -x_1134 = lean_array_push(x_1133, x_1130); -x_1135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1136, 0, x_1135); -lean_ctor_set(x_1136, 1, x_1134); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; -x_1137 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_1138 = lean_array_push(x_1137, x_1005); -x_1139 = lean_array_push(x_1138, x_1013); -x_1140 = lean_array_push(x_1139, x_1013); -x_1141 = lean_array_push(x_1140, x_1013); -x_1142 = lean_array_push(x_1141, x_1013); -x_1143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1144, 0, x_1143); -lean_ctor_set(x_1144, 1, x_1142); -x_1145 = lean_array_push(x_985, x_1144); -x_1146 = lean_array_push(x_1145, x_1136); -x_1147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1148, 0, x_1147); -lean_ctor_set(x_1148, 1, x_1146); -lean_ctor_set(x_971, 0, x_1148); -return x_971; -} -else -{ -lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; -x_1149 = lean_ctor_get(x_4, 0); -lean_inc(x_1149); -lean_dec(x_4); -x_1150 = lean_array_push(x_981, x_1149); -x_1151 = l_Array_append___rarg(x_1067, x_1150); -lean_dec(x_1150); -x_1152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1152, 0, x_983); -lean_ctor_set(x_1152, 1, x_1151); -x_1153 = lean_array_push(x_1095, x_1152); -x_1154 = lean_array_push(x_1153, x_1005); -x_1155 = lean_array_push(x_1154, x_1013); -x_1156 = lean_array_push(x_1155, x_1013); -x_1157 = lean_array_push(x_1156, x_1013); -x_1158 = lean_array_push(x_1157, x_1013); -x_1159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1160, 0, x_1159); -lean_ctor_set(x_1160, 1, x_1158); -x_1161 = lean_array_push(x_985, x_1160); -x_1162 = lean_array_push(x_1161, x_1136); -x_1163 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1164, 0, x_1163); -lean_ctor_set(x_1164, 1, x_1162); -lean_ctor_set(x_971, 0, x_1164); -return x_971; -} -} -else -{ -lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; -x_1165 = lean_ctor_get(x_971, 0); -x_1166 = lean_ctor_get(x_971, 1); -lean_inc(x_1166); -lean_inc(x_1165); -lean_dec(x_971); -x_1167 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_966); -x_1168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1168, 0, x_966); -lean_ctor_set(x_1168, 1, x_1167); -x_1169 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_969); -lean_inc(x_1165); -x_1170 = l_Lean_addMacroScope(x_1165, x_1169, x_969); -x_1171 = lean_box(0); -x_1172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -lean_inc(x_966); -x_1173 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1173, 0, x_966); -lean_ctor_set(x_1173, 1, x_1172); -lean_ctor_set(x_1173, 2, x_1170); -lean_ctor_set(x_1173, 3, x_1171); -x_1174 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_1175 = lean_array_push(x_1174, x_963); -x_1176 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_1177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1177, 0, x_1176); -lean_ctor_set(x_1177, 1, x_1175); -x_1178 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_1179 = lean_array_push(x_1178, x_1173); -x_1180 = lean_array_push(x_1179, x_1177); -x_1181 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_1182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1182, 0, x_1181); -lean_ctor_set(x_1182, 1, x_1180); -x_1183 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_1184 = lean_array_push(x_1183, x_1182); -x_1185 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_1186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1186, 0, x_1185); -lean_ctor_set(x_1186, 1, x_1184); -x_1187 = lean_array_push(x_1174, x_1186); -x_1188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1188, 0, x_1176); -lean_ctor_set(x_1188, 1, x_1187); -x_1189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_966); -x_1190 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1190, 0, x_966); -lean_ctor_set(x_1190, 1, x_1189); -x_1191 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_1192 = lean_array_push(x_1191, x_1168); -x_1193 = lean_array_push(x_1192, x_1188); -x_1194 = lean_array_push(x_1193, x_1190); -x_1195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_1196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1196, 0, x_1195); -lean_ctor_set(x_1196, 1, x_1194); -x_1197 = lean_array_push(x_1174, x_1196); -x_1198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1198, 0, x_1176); -lean_ctor_set(x_1198, 1, x_1197); -x_1199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_966); -x_1200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1200, 0, x_966); -lean_ctor_set(x_1200, 1, x_1199); -x_1201 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -lean_inc(x_969); -lean_inc(x_1165); -x_1202 = l_Lean_addMacroScope(x_1165, x_1201, x_969); -x_1203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; -lean_inc(x_966); -x_1204 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1204, 0, x_966); -lean_ctor_set(x_1204, 1, x_1203); -lean_ctor_set(x_1204, 2, x_1202); -lean_ctor_set(x_1204, 3, x_1171); -x_1205 = lean_array_push(x_1178, x_1204); -x_1206 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_1207 = lean_array_push(x_1205, x_1206); -x_1208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_1209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1209, 0, x_1208); -lean_ctor_set(x_1209, 1, x_1207); -x_1210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_966); -x_1211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1211, 0, x_966); -lean_ctor_set(x_1211, 1, x_1210); -x_1212 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -lean_inc(x_969); -lean_inc(x_1165); -x_1213 = l_Lean_addMacroScope(x_1165, x_1212, x_969); -x_1214 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -x_1215 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -lean_inc(x_966); -x_1216 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1216, 0, x_966); -lean_ctor_set(x_1216, 1, x_1214); -lean_ctor_set(x_1216, 2, x_1213); -lean_ctor_set(x_1216, 3, x_1215); -x_1217 = lean_array_push(x_1178, x_1211); -x_1218 = lean_array_push(x_1217, x_1216); -x_1219 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_1220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1220, 0, x_1219); -lean_ctor_set(x_1220, 1, x_1218); -x_1221 = lean_array_push(x_1174, x_1220); -x_1222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1222, 0, x_1176); -lean_ctor_set(x_1222, 1, x_1221); -x_1223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_1224 = lean_array_push(x_1223, x_1222); -x_1225 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_1226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1226, 0, x_1225); -lean_ctor_set(x_1226, 1, x_1224); -x_1227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_966); -x_1228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1228, 0, x_966); -lean_ctor_set(x_1228, 1, x_1227); -x_1229 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_966); -x_1230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1230, 0, x_966); -lean_ctor_set(x_1230, 1, x_1229); -x_1231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -lean_inc(x_969); -lean_inc(x_1165); -x_1232 = l_Lean_addMacroScope(x_1165, x_1231, x_969); -x_1233 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; -lean_inc(x_966); -x_1234 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1234, 0, x_966); -lean_ctor_set(x_1234, 1, x_1233); -lean_ctor_set(x_1234, 2, x_1232); -lean_ctor_set(x_1234, 3, x_1171); -x_1235 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -lean_inc(x_969); -lean_inc(x_1165); -x_1236 = l_Lean_addMacroScope(x_1165, x_1235, x_969); -x_1237 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; -lean_inc(x_966); -x_1238 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1238, 0, x_966); -lean_ctor_set(x_1238, 1, x_1237); -lean_ctor_set(x_1238, 2, x_1236); -lean_ctor_set(x_1238, 3, x_1171); -lean_inc(x_1234); -x_1239 = lean_array_push(x_1178, x_1234); -lean_inc(x_1238); -x_1240 = lean_array_push(x_1239, x_1238); -x_1241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1241, 0, x_1176); -lean_ctor_set(x_1241, 1, x_1240); -x_1242 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_966); -x_1243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1243, 0, x_966); -lean_ctor_set(x_1243, 1, x_1242); -x_1244 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; -lean_inc(x_969); -lean_inc(x_1165); -x_1245 = l_Lean_addMacroScope(x_1165, x_1244, x_969); -x_1246 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -x_1247 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -lean_inc(x_966); -x_1248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1248, 0, x_966); -lean_ctor_set(x_1248, 1, x_1246); -lean_ctor_set(x_1248, 2, x_1245); -lean_ctor_set(x_1248, 3, x_1247); -x_1249 = lean_array_push(x_1174, x_953); -x_1250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1250, 0, x_1176); -lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_966); -x_1252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1252, 0, x_966); -lean_ctor_set(x_1252, 1, x_1251); -x_1253 = lean_array_push(x_1223, x_1234); -x_1254 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; -x_1255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1255, 0, x_1254); -lean_ctor_set(x_1255, 1, x_1253); -x_1256 = lean_array_push(x_1174, x_1255); -x_1257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1257, 0, x_1176); -lean_ctor_set(x_1257, 1, x_1256); -x_1258 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -lean_inc(x_966); -x_1259 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1259, 0, x_966); -lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_1261 = l_Array_append___rarg(x_1260, x_3); -x_1262 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_966); -x_1263 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1263, 0, x_966); -lean_ctor_set(x_1263, 1, x_1262); -x_1264 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_966); -x_1265 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1265, 0, x_966); -lean_ctor_set(x_1265, 1, x_1264); -x_1266 = lean_array_push(x_1174, x_1265); -x_1267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_1268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1268, 0, x_1267); -lean_ctor_set(x_1268, 1, x_1266); -x_1269 = lean_array_push(x_1174, x_1268); -x_1270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1270, 0, x_1176); -lean_ctor_set(x_1270, 1, x_1269); -x_1271 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -x_1272 = l_Lean_addMacroScope(x_1165, x_1271, x_969); -x_1273 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_1274 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -x_1275 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1275, 0, x_966); -lean_ctor_set(x_1275, 1, x_1273); -lean_ctor_set(x_1275, 2, x_1272); -lean_ctor_set(x_1275, 3, x_1274); -x_1276 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_1277 = lean_array_push(x_1276, x_1263); -x_1278 = lean_array_push(x_1277, x_1270); -lean_inc(x_1243); -x_1279 = lean_array_push(x_1278, x_1243); -x_1280 = lean_array_push(x_1279, x_1275); -x_1281 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_1281); -lean_ctor_set(x_1282, 1, x_1280); -x_1283 = lean_array_push(x_1261, x_1282); -x_1284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1284, 0, x_1176); -lean_ctor_set(x_1284, 1, x_1283); -x_1285 = lean_array_push(x_1174, x_1284); -x_1286 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_1287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1287, 0, x_1286); -lean_ctor_set(x_1287, 1, x_1285); -x_1288 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_1289 = lean_array_push(x_1288, x_1252); -x_1290 = lean_array_push(x_1289, x_1206); -x_1291 = lean_array_push(x_1290, x_1257); -x_1292 = lean_array_push(x_1291, x_1206); -x_1293 = lean_array_push(x_1292, x_1259); -x_1294 = lean_array_push(x_1293, x_1287); -x_1295 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1295); -lean_ctor_set(x_1296, 1, x_1294); -x_1297 = lean_array_push(x_1191, x_1250); -lean_inc(x_1243); -x_1298 = lean_array_push(x_1297, x_1243); -x_1299 = lean_array_push(x_1298, x_1296); -x_1300 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; -x_1301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1301, 0, x_1300); -lean_ctor_set(x_1301, 1, x_1299); -x_1302 = lean_array_push(x_1178, x_1230); -lean_inc(x_1302); -x_1303 = lean_array_push(x_1302, x_1301); -x_1304 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_1305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1305, 0, x_1304); -lean_ctor_set(x_1305, 1, x_1303); -x_1306 = lean_array_push(x_1178, x_1238); -x_1307 = lean_array_push(x_1306, x_1305); -x_1308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1308, 0, x_1176); -lean_ctor_set(x_1308, 1, x_1307); -x_1309 = lean_array_push(x_1178, x_1248); -x_1310 = lean_array_push(x_1309, x_1308); -x_1311 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_1312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1312, 0, x_1311); -lean_ctor_set(x_1312, 1, x_1310); -x_1313 = lean_array_push(x_1191, x_1241); -x_1314 = lean_array_push(x_1313, x_1243); -x_1315 = lean_array_push(x_1314, x_1312); -x_1316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1316, 0, x_1300); -lean_ctor_set(x_1316, 1, x_1315); -x_1317 = lean_array_push(x_1302, x_1316); -x_1318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1318, 0, x_1304); -lean_ctor_set(x_1318, 1, x_1317); -x_1319 = lean_array_push(x_1191, x_1228); -x_1320 = lean_array_push(x_1319, x_1318); -x_1321 = lean_array_push(x_1320, x_1206); -x_1322 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_1323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1323, 0, x_1322); -lean_ctor_set(x_1323, 1, x_1321); -x_1324 = lean_array_push(x_1276, x_1200); -x_1325 = lean_array_push(x_1324, x_1209); -x_1326 = lean_array_push(x_1325, x_1226); -x_1327 = lean_array_push(x_1326, x_1323); -x_1328 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1328); -lean_ctor_set(x_1329, 1, x_1327); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; -x_1330 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_1331 = lean_array_push(x_1330, x_1198); -x_1332 = lean_array_push(x_1331, x_1206); -x_1333 = lean_array_push(x_1332, x_1206); -x_1334 = lean_array_push(x_1333, x_1206); -x_1335 = lean_array_push(x_1334, x_1206); -x_1336 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1337, 0, x_1336); -lean_ctor_set(x_1337, 1, x_1335); -x_1338 = lean_array_push(x_1178, x_1337); -x_1339 = lean_array_push(x_1338, x_1329); -x_1340 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1341, 0, x_1340); -lean_ctor_set(x_1341, 1, x_1339); -x_1342 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1342, 0, x_1341); -lean_ctor_set(x_1342, 1, x_1166); -return x_1342; -} -else -{ -lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; -x_1343 = lean_ctor_get(x_4, 0); -lean_inc(x_1343); -lean_dec(x_4); -x_1344 = lean_array_push(x_1174, x_1343); -x_1345 = l_Array_append___rarg(x_1260, x_1344); -lean_dec(x_1344); -x_1346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1346, 0, x_1176); -lean_ctor_set(x_1346, 1, x_1345); -x_1347 = lean_array_push(x_1288, x_1346); -x_1348 = lean_array_push(x_1347, x_1198); -x_1349 = lean_array_push(x_1348, x_1206); -x_1350 = lean_array_push(x_1349, x_1206); -x_1351 = lean_array_push(x_1350, x_1206); -x_1352 = lean_array_push(x_1351, x_1206); -x_1353 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_1354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1354, 0, x_1353); -lean_ctor_set(x_1354, 1, x_1352); -x_1355 = lean_array_push(x_1178, x_1354); -x_1356 = lean_array_push(x_1355, x_1329); -x_1357 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_1358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1358, 0, x_1357); -lean_ctor_set(x_1358, 1, x_1356); -x_1359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1359, 0, x_1358); -lean_ctor_set(x_1359, 1, x_1166); -return x_1359; -} -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid elab_rules command, specify category using `elab_rules : ...`"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux(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; size_t 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 = lean_array_get_size(x_6); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = x_6; -x_13 = lean_box_usize(x_11); -x_14 = l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; -lean_inc(x_3); -x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed), 7, 4); -lean_closure_set(x_15, 0, x_3); -lean_closure_set(x_15, 1, x_13); -lean_closure_set(x_15, 2, x_14); -lean_closure_set(x_15, 3, x_12); -x_16 = x_15; -lean_inc(x_8); -lean_inc(x_7); -x_17 = lean_apply_3(x_16, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -if (lean_obj_tag(x_4) == 0) -{ -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_3); -lean_dec(x_1); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_Elab_Command_elabElabRulesAux___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_19, x_7, x_8, x_18); -lean_dec(x_8); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -return x_20; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_20); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_17, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_dec(x_17); -x_27 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_28 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_25, x_1, x_27, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_25); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_17, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_17, 1); -lean_inc(x_30); -lean_dec(x_17); -x_31 = lean_ctor_get(x_4, 0); -x_32 = l_Lean_Syntax_getId(x_31); -x_33 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_29, x_1, x_32, x_7, x_8, x_30); -lean_dec(x_8); -lean_dec(x_29); -return x_33; -} -} -else -{ -uint8_t x_34; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_17); -if (x_34 == 0) -{ -return x_17; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_17, 0); -x_36 = lean_ctor_get(x_17, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_17); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -return x_11; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___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) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3___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_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_Elab_Command_elabElabRulesAux___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_Command_elabElabRulesAux(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_2); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___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; lean_object* x_15; uint8_t x_16; -x_12 = lean_unsigned_to_nat(6u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_15 = lean_name_mk_string(x_2, x_14); -lean_inc(x_13); -x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_11); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_13, x_18); -lean_dec(x_13); -x_20 = l_Lean_Syntax_getArgs(x_19); -lean_dec(x_19); -x_21 = l_Lean_Syntax_getId(x_3); -lean_inc(x_9); -x_22 = l_Lean_Elab_Command_resolveSyntaxKind(x_21, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Command_elabElabRulesAux(x_4, x_5, x_23, x_6, x_8, x_20, x_9, x_10, x_24); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_26 = !lean_is_exclusive(x_22); -if (x_26 == 0) -{ -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___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) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(5u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(2u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_2); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_unsigned_to_nat(1u); -x_19 = l_Lean_Syntax_getArg(x_12, x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_21, x_20, x_8, x_9, x_10); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -x_23 = lean_box(0); -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_24, x_23, x_8, x_9, x_10); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elab_rules"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(7u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<="); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_9, x_10, 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_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_Command_getMainModule___rarg(x_10, x_16); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_19 = x_17; -} else { - lean_dec_ref(x_17); - x_19 = lean_box(0); -} -x_20 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -lean_inc(x_13); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_13); -lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_23 = l_Array_append___rarg(x_22, x_8); -x_24 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_27 = lean_array_push(x_26, x_25); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_27); -if (lean_obj_tag(x_6) == 0) -{ -x_29 = x_22; -goto block_85; -} -else -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_6, 0); -lean_inc(x_86); -lean_dec(x_6); -x_87 = lean_array_push(x_26, x_86); -x_29 = x_87; -goto block_85; -} -block_85: -{ -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; -x_30 = l_Array_append___rarg(x_22, x_29); -lean_dec(x_29); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_24); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; -x_33 = lean_array_push(x_32, x_31); -x_34 = lean_array_push(x_33, x_2); -x_35 = lean_array_push(x_34, x_21); -if (lean_obj_tag(x_7) == 0) -{ -x_36 = x_22; -goto block_68; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_69 = lean_ctor_get(x_7, 0); -lean_inc(x_69); -lean_dec(x_7); -x_70 = lean_mk_syntax_ident(x_69); -x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_13); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_13); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; -lean_inc(x_13); -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_13); -lean_ctor_set(x_74, 1, x_73); -x_75 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_13); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_13); -lean_ctor_set(x_76, 1, x_75); -x_77 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_13); -x_78 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_78, 0, x_13); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_80 = lean_array_push(x_79, x_72); -x_81 = lean_array_push(x_80, x_74); -x_82 = lean_array_push(x_81, x_76); -x_83 = lean_array_push(x_82, x_70); -x_84 = lean_array_push(x_83, x_78); -x_36 = x_84; -goto block_68; -} -block_68: -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = l_Array_append___rarg(x_22, x_36); -lean_dec(x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_24); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_array_push(x_35, x_38); -if (lean_obj_tag(x_5) == 0) -{ -x_40 = x_22; -goto block_61; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_62 = lean_ctor_get(x_5, 0); -lean_inc(x_62); -lean_dec(x_5); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_13); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_13); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_66 = lean_array_push(x_65, x_64); -x_67 = lean_array_push(x_66, x_62); -x_40 = x_67; -goto block_61; -} -block_61: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = l_Array_append___rarg(x_22, x_40); -lean_dec(x_40); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_24); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_39, x_42); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_13); -x_44 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_45 = lean_array_push(x_43, x_44); -x_46 = lean_array_push(x_45, x_28); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_4); -lean_ctor_set(x_47, 1, x_46); -if (lean_is_scalar(x_19)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_19; -} -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_18); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_49 = lean_ctor_get(x_3, 0); -lean_inc(x_49); -lean_dec(x_3); -x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_13); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_53 = lean_array_push(x_52, x_51); -x_54 = lean_array_push(x_53, x_49); -x_55 = l_Array_append___rarg(x_22, x_54); -lean_dec(x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_24); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_43, x_56); -x_58 = lean_array_push(x_57, x_28); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_4); -lean_ctor_set(x_59, 1, x_58); -if (lean_is_scalar(x_19)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_19; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_18); -return x_60; -} -} -} -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_unsigned_to_nat(6u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_15 = lean_name_mk_string(x_2, x_14); -lean_inc(x_13); -x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_11); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_13, x_18); -lean_dec(x_13); -x_20 = l_Lean_Syntax_getArgs(x_19); -lean_dec(x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__3___boxed), 11, 6); -lean_closure_set(x_21, 0, x_15); -lean_closure_set(x_21, 1, x_3); -lean_closure_set(x_21, 2, x_8); -lean_closure_set(x_21, 3, x_4); -lean_closure_set(x_21, 4, x_5); -lean_closure_set(x_21, 5, x_6); -x_22 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_20, x_22, x_21, x_9, x_10, x_11); -lean_dec(x_20); -return x_23; -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(5u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(2u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_unsigned_to_nat(1u); -x_19 = l_Lean_Syntax_getArg(x_12, x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_21, x_20, x_8, x_9, x_10); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -x_23 = lean_box(0); -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_24, x_23, x_8, x_9, x_10); -return x_25; -} -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; -x_12 = lean_name_mk_string(x_2, x_11); -x_13 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; -lean_inc(x_12); -x_14 = lean_name_mk_string(x_12, x_13); -lean_inc(x_10); -x_15 = l_Lean_Syntax_isOfKind(x_10, x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_unsigned_to_nat(3u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_nullKind; -x_20 = lean_unsigned_to_nat(0u); -lean_inc(x_18); -x_21 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_20); -if (x_21 == 0) -{ -lean_object* x_22; uint8_t x_23; -lean_dec(x_3); -x_22 = lean_unsigned_to_nat(5u); -lean_inc(x_18); -x_23 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_22); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = l_Lean_Syntax_getArg(x_18, x_17); -lean_dec(x_18); -x_26 = lean_unsigned_to_nat(4u); -x_27 = l_Lean_Syntax_getArg(x_1, x_26); -x_28 = l_Lean_Syntax_isNone(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_unsigned_to_nat(2u); -lean_inc(x_27); -x_30 = l_Lean_Syntax_isNodeOf(x_27, x_19, x_29); -if (x_30 == 0) -{ -lean_object* x_31; -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = l_Lean_Syntax_getArg(x_27, x_9); -lean_dec(x_27); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_box(0); -x_35 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_34, x_33, x_6, x_7, x_8); -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_25); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_27); -x_36 = lean_box(0); -x_37 = lean_box(0); -x_38 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_37, x_36, x_6, x_7, x_8); -lean_dec(x_10); -lean_dec(x_25); -return x_38; -} -} -} -else -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -lean_dec(x_18); -x_39 = lean_unsigned_to_nat(4u); -x_40 = l_Lean_Syntax_getArg(x_1, x_39); -x_41 = l_Lean_Syntax_isNone(x_40); -if (x_41 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = lean_unsigned_to_nat(2u); -lean_inc(x_40); -x_43 = l_Lean_Syntax_isNodeOf(x_40, x_19, x_42); -if (x_43 == 0) -{ -lean_object* x_44; -lean_dec(x_40); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = l_Lean_Syntax_getArg(x_40, x_9); -lean_dec(x_40); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -x_47 = lean_box(0); -x_48 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_47, x_46, x_6, x_7, x_8); -return x_48; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_40); -x_49 = lean_box(0); -x_50 = lean_box(0); -x_51 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_50, x_49, x_6, x_7, x_8); -return x_51; -} -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object* 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 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; -lean_inc(x_1); -x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); -if (x_6 == 0) -{ -lean_object* x_7; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(1u); -lean_inc(x_9); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_16 = l_Lean_Elab_Command_elabSyntax___closed__4; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_15); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_20, x_5, x_21, x_19, x_2, x_3, x_4); -lean_dec(x_1); -return x_22; -} -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_9); -x_23 = lean_box(0); -x_24 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_25 = lean_box(0); -x_26 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_24, x_5, x_25, x_23, x_2, x_3, x_4); -lean_dec(x_1); -return x_26; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRules___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__7), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Elab_Command_elabElabRules___closed__1; -x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___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_Lean_Elab_Command_elabElabRules___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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_elabElabRules___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_elabElabRules___lambda__4(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_7); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_6); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); -lean_dec(x_1); -return x_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabElabRules"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules), 4, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__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, 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) { -_start: -{ -lean_object* x_21; -lean_inc(x_19); -x_21 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_19, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = 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_box_usize(x_2); -x_25 = lean_box_usize(x_3); -x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); -lean_closure_set(x_26, 0, x_24); -lean_closure_set(x_26, 1, x_25); -lean_closure_set(x_26, 2, x_4); -x_27 = x_26; -lean_inc(x_19); -x_28 = lean_apply_2(x_27, x_19, x_23); -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_19); -x_31 = l_Lean_Macro_getCurrNamespace(x_19, 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; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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; size_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -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); -lean_inc(x_18); -x_34 = l_Lean_Name_append(x_32, x_18); -lean_dec(x_32); -lean_inc(x_5); -x_35 = lean_array_push(x_5, x_22); -x_36 = l_Array_append___rarg(x_35, x_29); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_18, x_19, x_33); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_40); -lean_dec(x_19); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); -} -x_45 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_6); -x_46 = lean_name_mk_string(x_6, x_45); -lean_inc(x_42); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_6); -x_49 = lean_name_mk_string(x_6, x_48); -x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_42); -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_42); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -lean_inc(x_42); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_42); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_42); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_42); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_42); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_59 = lean_array_push(x_58, x_51); -lean_inc(x_59); -x_60 = lean_array_push(x_59, x_53); -lean_inc(x_55); -x_61 = lean_array_push(x_60, x_55); -x_62 = lean_array_push(x_61, x_39); -lean_inc(x_57); -x_63 = lean_array_push(x_62, x_57); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_49); -lean_ctor_set(x_64, 1, x_63); -lean_inc(x_5); -x_65 = lean_array_push(x_5, x_64); -x_66 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_6); -x_69 = lean_name_mk_string(x_6, x_68); -x_70 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_42); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_42); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Nat_repr(x_7); -x_73 = l_Lean_numLitKind; -x_74 = lean_box(2); -x_75 = l_Lean_Syntax_mkLit(x_73, x_72, x_74); -x_76 = lean_array_push(x_59, x_71); -x_77 = lean_array_push(x_76, x_55); -x_78 = lean_array_push(x_77, x_75); -lean_inc(x_57); -x_79 = lean_array_push(x_78, x_57); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_69); -lean_ctor_set(x_80, 1, x_79); -lean_inc(x_5); -x_81 = lean_array_push(x_5, x_80); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_66); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_get_size(x_8); -x_84 = lean_usize_of_nat(x_83); -lean_dec(x_83); -x_85 = x_8; -x_86 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_84, x_3, x_85); -x_87 = x_86; -x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_89 = l_Array_append___rarg(x_88, x_87); -lean_dec(x_87); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_66); -lean_ctor_set(x_90, 1, x_89); -x_91 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_42); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_42); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -x_94 = lean_name_mk_string(x_6, x_93); -x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_96 = lean_array_push(x_5, x_95); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_9); -lean_ctor_set(x_97, 1, x_96); -lean_inc(x_42); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_42); -lean_ctor_set(x_98, 1, x_93); -x_99 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -lean_inc(x_92); -x_100 = lean_array_push(x_99, x_92); -lean_inc(x_10); -lean_inc(x_100); -x_101 = lean_array_push(x_100, x_10); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_66); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_11); -x_104 = lean_name_mk_string(x_11, x_103); -x_105 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; -lean_inc(x_11); -x_106 = lean_name_mk_string(x_11, x_105); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_42); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_42); -lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -x_110 = lean_name_mk_string(x_11, x_109); -x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_42); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_42); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_114 = lean_array_push(x_113, x_112); -x_115 = lean_array_push(x_114, x_37); -x_116 = lean_array_push(x_115, x_57); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_110); -lean_ctor_set(x_117, 1, x_116); -lean_inc(x_5); -x_118 = lean_array_push(x_5, x_117); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_66); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; -lean_inc(x_42); -x_121 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_121, 0, x_42); -lean_ctor_set(x_121, 1, x_120); -x_122 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_123 = lean_array_push(x_122, x_108); -x_124 = lean_array_push(x_123, x_119); -x_125 = lean_array_push(x_124, x_121); -x_126 = lean_array_push(x_125, x_12); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_106); -lean_ctor_set(x_127, 1, x_126); -lean_inc(x_5); -x_128 = lean_array_push(x_5, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_66); -lean_ctor_set(x_129, 1, x_128); -lean_inc(x_5); -x_130 = lean_array_push(x_5, x_129); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_104); -lean_ctor_set(x_131, 1, x_130); -if (lean_obj_tag(x_17) == 0) -{ -x_132 = x_88; -goto block_183; -} -else -{ -lean_object* x_184; lean_object* x_185; -x_184 = lean_ctor_get(x_17, 0); -lean_inc(x_184); -lean_dec(x_17); -lean_inc(x_5); -x_185 = lean_array_push(x_5, x_184); -x_132 = x_185; -goto block_183; -} -block_183: -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_133 = l_Array_append___rarg(x_88, x_132); -lean_dec(x_132); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_66); -lean_ctor_set(x_134, 1, x_133); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; -lean_inc(x_134); -x_136 = lean_array_push(x_135, x_134); -x_137 = lean_array_push(x_136, x_13); -x_138 = lean_array_push(x_137, x_47); -x_139 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; -x_140 = lean_array_push(x_139, x_134); -x_141 = lean_array_push(x_140, x_97); -x_142 = lean_array_push(x_141, x_98); -x_143 = lean_array_push(x_142, x_95); -x_144 = lean_array_push(x_143, x_102); -if (lean_obj_tag(x_15) == 0) -{ -lean_dec(x_100); -lean_dec(x_16); -lean_dec(x_5); -x_145 = x_88; -goto block_176; -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_177 = lean_ctor_get(x_15, 0); -lean_inc(x_177); -lean_dec(x_15); -x_178 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -x_179 = lean_name_mk_string(x_16, x_178); -x_180 = lean_array_push(x_100, x_177); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_array_push(x_5, x_181); -x_145 = x_182; -goto block_176; -} -block_176: -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_146 = l_Array_append___rarg(x_88, x_145); -lean_dec(x_145); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_66); -lean_ctor_set(x_147, 1, x_146); -x_148 = lean_array_push(x_138, x_147); -x_149 = lean_array_push(x_148, x_67); -x_150 = lean_array_push(x_149, x_82); -x_151 = lean_array_push(x_150, x_90); -x_152 = lean_array_push(x_151, x_92); -x_153 = lean_array_push(x_152, x_10); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_46); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_99, x_154); -if (lean_obj_tag(x_14) == 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_dec(x_42); -x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -x_157 = lean_array_push(x_144, x_156); -x_158 = lean_array_push(x_157, x_131); -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 = lean_array_push(x_155, x_159); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_66); -lean_ctor_set(x_161, 1, x_160); -if (lean_is_scalar(x_44)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_44; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_43); -return x_162; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_163 = lean_ctor_get(x_14, 0); -lean_inc(x_163); -lean_dec(x_14); -x_164 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; -x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_42); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_array_push(x_99, x_165); -x_167 = lean_array_push(x_166, x_163); -x_168 = l_Array_append___rarg(x_88, x_167); -lean_dec(x_167); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_66); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_array_push(x_144, x_169); -x_171 = lean_array_push(x_170, x_131); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_94); -lean_ctor_set(x_172, 1, x_171); -x_173 = lean_array_push(x_155, x_172); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_66); -lean_ctor_set(x_174, 1, x_173); -if (lean_is_scalar(x_44)) { - x_175 = lean_alloc_ctor(0, 2, 0); -} else { - x_175 = x_44; -} -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_43); -return x_175; -} -} -} -} -else -{ -uint8_t x_186; -lean_dec(x_29); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_6); -lean_dec(x_5); -x_186 = !lean_is_exclusive(x_31); -if (x_186 == 0) -{ -return x_31; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_31, 0); -x_188 = lean_ctor_get(x_31, 1); -lean_inc(x_188); -lean_inc(x_187); -lean_dec(x_31); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -return x_189; -} -} -} -else -{ -uint8_t x_190; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_6); -lean_dec(x_5); -x_190 = !lean_is_exclusive(x_28); -if (x_190 == 0) -{ -return x_28; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_28, 0); -x_192 = lean_ctor_get(x_28, 1); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_28); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; -} -} -} -else -{ -uint8_t x_194; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_6); -lean_dec(x_5); -lean_dec(x_4); -x_194 = !lean_is_exclusive(x_21); -if (x_194 == 0) -{ -return x_21; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_21, 0); -x_196 = lean_ctor_get(x_21, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_21); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_expandElab___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_unsigned_to_nat(4u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lean_Syntax_getArgs(x_2); -lean_inc(x_16); -x_21 = l_Lean_evalOptPrio(x_3, x_16, x_17); -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, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -lean_inc(x_4); -x_24 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_4, x_16, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_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_array_get_size(x_20); -x_28 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_29 = 0; -x_30 = x_20; -x_31 = lean_box_usize(x_28); -x_32 = l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; -lean_inc(x_30); -x_33 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); -lean_closure_set(x_33, 0, x_31); -lean_closure_set(x_33, 1, x_32); -lean_closure_set(x_33, 2, x_30); -x_34 = x_33; -lean_inc(x_16); -x_35 = lean_apply_2(x_34, x_16, x_26); -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, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_39 = lean_array_push(x_38, x_25); -x_40 = l_Array_append___rarg(x_39, x_36); -lean_dec(x_36); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = l_Lean_Syntax_getId(x_7); -x_42 = l_Lean_nullKind; -lean_inc(x_40); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -lean_inc(x_16); -x_44 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_41, x_43, x_16, x_37); -lean_dec(x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_45, x_16, x_46); -return x_47; -} -else -{ -uint8_t x_48; -lean_dec(x_40); -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); -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_6); -lean_dec(x_5); -lean_dec(x_4); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) -{ -return x_44; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_44, 0); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_44); -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; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_13, 0); -x_53 = l_Lean_Syntax_getId(x_52); -x_54 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_53, x_16, x_37); -return x_54; -} -} -else -{ -uint8_t x_55; -lean_dec(x_30); -lean_dec(x_25); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); -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_6); -lean_dec(x_5); -lean_dec(x_4); -x_55 = !lean_is_exclusive(x_35); -if (x_55 == 0) -{ -return x_35; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_35, 0); -x_57 = lean_ctor_get(x_35, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_35); -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; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); -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_6); -lean_dec(x_5); -lean_dec(x_4); -x_59 = !lean_is_exclusive(x_24); -if (x_59 == 0) -{ -return x_24; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_24, 0); -x_61 = lean_ctor_get(x_24, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_24); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -else -{ -uint8_t x_63; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_15); -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_6); -lean_dec(x_5); -lean_dec(x_4); -x_63 = !lean_is_exclusive(x_21); -if (x_63 == 0) -{ -return x_21; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_21, 0); -x_65 = lean_ctor_get(x_21, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_21); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabTail"); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_unsigned_to_nat(6u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; -lean_inc(x_2); -x_17 = lean_name_mk_string(x_2, x_16); -lean_inc(x_15); -x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -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_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_21 = lean_unsigned_to_nat(7u); -x_22 = l_Lean_Syntax_getArg(x_1, x_21); -x_23 = lean_unsigned_to_nat(8u); -x_24 = l_Lean_Syntax_getArg(x_1, x_23); -x_25 = l_Lean_Elab_Command_expandElab___lambda__3___closed__1; -lean_inc(x_2); -x_26 = lean_name_mk_string(x_2, x_25); -lean_inc(x_24); -x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -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_28 = lean_box(1); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_13); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_unsigned_to_nat(1u); -x_31 = l_Lean_Syntax_getArg(x_24, x_30); -x_32 = lean_unsigned_to_nat(2u); -x_33 = l_Lean_Syntax_getArg(x_24, x_32); -x_34 = l_Lean_Syntax_isNone(x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_nullKind; -lean_inc(x_33); -x_36 = l_Lean_Syntax_isNodeOf(x_33, x_35, x_32); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -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(1); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_13); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = l_Lean_Syntax_getArg(x_33, x_30); -lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_41, x_40, x_12, x_13); -lean_dec(x_22); -lean_dec(x_24); -return x_42; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_33); -x_43 = lean_box(0); -x_44 = lean_box(0); -x_45 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_44, x_43, x_12, x_13); -lean_dec(x_22); -lean_dec(x_24); -return x_45; -} -} -} -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_unsigned_to_nat(5u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_nullKind; -x_17 = lean_unsigned_to_nat(1u); -lean_inc(x_14); -x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_14); -lean_dec(x_11); -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_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_12); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Lean_Syntax_getArg(x_14, x_21); -lean_dec(x_14); -x_23 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; -lean_inc(x_2); -x_24 = lean_name_mk_string(x_2, x_23); -lean_inc(x_22); -x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_22); -lean_dec(x_11); -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_26 = lean_box(1); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_12); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_unsigned_to_nat(3u); -x_29 = l_Lean_Syntax_getArg(x_22, x_28); -lean_dec(x_22); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); -return x_32; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_14); -x_33 = lean_box(0); -x_34 = lean_box(0); -x_35 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); -return x_35; -} -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_unsigned_to_nat(4u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_isNone(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_nullKind; -x_16 = lean_unsigned_to_nat(1u); -lean_inc(x_13); -x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -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_18 = lean_box(1); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_11); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Syntax_getArg(x_13, x_20); -lean_dec(x_13); -x_22 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_2); -x_23 = lean_name_mk_string(x_2, x_22); -lean_inc(x_21); -x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_21); -lean_dec(x_10); -lean_dec(x_9); -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(1); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_11); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_unsigned_to_nat(3u); -x_28 = l_Lean_Syntax_getArg(x_21, x_27); -lean_dec(x_21); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_30, x_29, x_10, x_11); -lean_dec(x_29); -return x_31; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_13); -x_32 = lean_box(0); -x_33 = lean_box(0); -x_34 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_33, x_32, x_10, x_11); -return x_34; -} -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; -lean_inc(x_2); -x_11 = lean_name_mk_string(x_2, x_10); -x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; -lean_inc(x_11); -x_13 = lean_name_mk_string(x_11, x_12); -lean_inc(x_9); -x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_box(1); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_7); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_unsigned_to_nat(3u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_Syntax_isNone(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_nullKind; -lean_inc(x_18); -x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_18); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_22 = lean_box(1); -x_23 = lean_alloc_ctor(1, 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; lean_object* x_27; uint8_t x_28; -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Syntax_getArg(x_18, x_24); -lean_dec(x_18); -x_26 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; -lean_inc(x_2); -x_27 = lean_name_mk_string(x_2, x_26); -lean_inc(x_25); -x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_25); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_29 = lean_box(1); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_7); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = l_Lean_Syntax_getArg(x_25, x_8); -lean_dec(x_25); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_box(0); -x_34 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_33, x_32, x_6, x_7); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_18); -x_35 = lean_box(0); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_36, x_35, x_6, x_7); -return x_37; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_expandElab___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandElab(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_Elab_Command_expandElab___closed__2; -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; uint8_t x_10; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = l_Lean_nullKind; -x_12 = lean_unsigned_to_nat(1u); -lean_inc(x_9); -x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_14 = lean_box(1); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_Syntax_getArg(x_9, x_8); -lean_dec(x_9); -x_17 = l_Lean_Elab_Command_elabSyntax___closed__4; -lean_inc(x_16); -x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_16); -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_3); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_16); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); -lean_dec(x_1); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_9); -x_26 = lean_box(0); -x_27 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); -lean_dec(x_1); -return x_30; -} -} -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -_start: -{ -size_t x_21; size_t x_22; lean_object* x_23; -x_21 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_22 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_23 = l_Lean_Elab_Command_expandElab___lambda__1(x_1, x_21, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_23; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -lean_object* x_18; -x_18 = l_Lean_Elab_Command_expandElab___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, x_14, x_15, x_16, x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -return x_18; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Elab_Command_expandElab___lambda__3(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_10); -lean_dec(x_9); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -return x_13; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandElab___lambda__5(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_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expandElab"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandElab), 3, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Command_expandElab___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Command(lean_object*); lean_object* initialize_Lean_Parser_Syntax(lean_object*); @@ -45192,603 +20363,29 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed_ res = l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2); -l_Lean_Elab_Command_elabMacroRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__1); -l_Lean_Elab_Command_elabMacroRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__2); -l_Lean_Elab_Command_elabMacroRulesAux___closed__3 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__3); -l_Lean_Elab_Command_elabMacroRulesAux___closed__4 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__4); -l_Lean_Elab_Command_elabMacroRulesAux___closed__5 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__5); -l_Lean_Elab_Command_elabMacroRulesAux___closed__6 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__6); -l_Lean_Elab_Command_elabMacroRulesAux___closed__7 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__7); -l_Lean_Elab_Command_elabMacroRulesAux___closed__8 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__8); -l_Lean_Elab_Command_elabMacroRulesAux___closed__9 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__9); -l_Lean_Elab_Command_elabMacroRulesAux___closed__10 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__10); -l_Lean_Elab_Command_elabMacroRulesAux___closed__11 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__11); -l_Lean_Elab_Command_elabMacroRulesAux___closed__12 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__12); -l_Lean_Elab_Command_elabMacroRulesAux___closed__13 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__13); -l_Lean_Elab_Command_elabMacroRulesAux___closed__14 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__14); -l_Lean_Elab_Command_elabMacroRulesAux___closed__15 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__15); -l_Lean_Elab_Command_elabMacroRulesAux___closed__16 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__16); -l_Lean_Elab_Command_elabMacroRulesAux___closed__17 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__17); -l_Lean_Elab_Command_elabMacroRulesAux___closed__18 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__18); -l_Lean_Elab_Command_elabMacroRulesAux___closed__19 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__19); -l_Lean_Elab_Command_elabMacroRulesAux___closed__20 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__20); -l_Lean_Elab_Command_elabMacroRulesAux___closed__21 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__21); -l_Lean_Elab_Command_elabMacroRulesAux___closed__22 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__22); -l_Lean_Elab_Command_elabMacroRulesAux___closed__23 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__23); -l_Lean_Elab_Command_elabMacroRulesAux___closed__24 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__24); -l_Lean_Elab_Command_elabMacroRulesAux___closed__25 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__25); -l_Lean_Elab_Command_elabMacroRulesAux___closed__26 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__26); -l_Lean_Elab_Command_elabMacroRulesAux___closed__27 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__27); -l_Lean_Elab_Command_elabMacroRulesAux___closed__28 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__28); -l_Lean_Elab_Command_elabMacroRulesAux___closed__29 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__29); -l_Lean_Elab_Command_elabMacroRulesAux___closed__30 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__30); -l_Lean_Elab_Command_elabMacroRulesAux___closed__31 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__31); -l_Lean_Elab_Command_elabMacroRulesAux___closed__32 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__32); -l_Lean_Elab_Command_elabMacroRulesAux___closed__33 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__33); -l_Lean_Elab_Command_elabMacroRulesAux___closed__34 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__34); -l_Lean_Elab_Command_elabMacroRulesAux___closed__35 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__35); -l_Lean_Elab_Command_elabMacroRulesAux___closed__36 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__36); -l_Lean_Elab_Command_elabMacroRulesAux___closed__37 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__37); -l_Lean_Elab_Command_elabMacroRulesAux___closed__38 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__38(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__38); -l_Lean_Elab_Command_elabMacroRulesAux___closed__39 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__39); -l_Lean_Elab_Command_elabMacroRulesAux___closed__40 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__40); -l_Lean_Elab_Command_elabMacroRulesAux___closed__41 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__41); -l_Lean_Elab_Command_elabMacroRulesAux___closed__42 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__42); -l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3); -l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1); -l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2); -l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3); -l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1); -l_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___closed__1); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3); -res = l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13); -l_Lean_Elab_Command_expandMixfix___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___closed__1); -l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1); -l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2); -l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3); -res = l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1); -l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2); -l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3 = _init_l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3); -l_Lean_Elab_Command_mkSimpleDelab___closed__1 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__1); -l_Lean_Elab_Command_mkSimpleDelab___closed__2 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__2); -l_Lean_Elab_Command_mkSimpleDelab___closed__3 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__3); -l_Lean_Elab_Command_mkSimpleDelab___closed__4 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__4); -l_Lean_Elab_Command_mkSimpleDelab___closed__5 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__5); -l_Lean_Elab_Command_mkSimpleDelab___closed__6 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__6); -l_Lean_Elab_Command_mkSimpleDelab___closed__7 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__7); -l_Lean_Elab_Command_mkSimpleDelab___closed__8 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__8); -l_Lean_Elab_Command_mkSimpleDelab___closed__9 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__9); -l_Lean_Elab_Command_mkSimpleDelab___closed__10 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__10); -l_Lean_Elab_Command_mkSimpleDelab___closed__11 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__11); -l_Lean_Elab_Command_mkSimpleDelab___closed__12 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__12); -l_Lean_Elab_Command_mkSimpleDelab___closed__13 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__13); -l_Lean_Elab_Command_mkSimpleDelab___closed__14 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__14); -l_Lean_Elab_Command_mkSimpleDelab___closed__15 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__15); -l_Lean_Elab_Command_mkSimpleDelab___closed__16 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__16); -l_Lean_Elab_Command_mkSimpleDelab___closed__17 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__17); -l_Lean_Elab_Command_mkSimpleDelab___closed__18 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__18); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1); -l_Lean_Elab_Command_expandNotation___closed__1 = _init_l_Lean_Elab_Command_expandNotation___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__1); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3); -res = l___regBuiltin_Lean_Elab_Command_expandNotation(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5); -l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5); -l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12); -l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13); -l_Lean_Elab_Command_expandMacro___lambda__2___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__1); -l_Lean_Elab_Command_expandMacro___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___closed__1); -l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1); -l_Lean_Elab_Command_expandMacro___closed__1 = _init_l_Lean_Elab_Command_expandMacro___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__1); -l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1); -l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2); -l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3); -res = l___regBuiltin_Lean_Elab_Command_expandMacro(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__1); -l_Lean_Elab_Command_withExpectedType___closed__2 = _init_l_Lean_Elab_Command_withExpectedType___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74); -l_Lean_Elab_Command_elabElabRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__1); -l_Lean_Elab_Command_elabElabRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__2); -l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1); -l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1); -l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2); -l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3); -l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1); -l_Lean_Elab_Command_elabElabRules___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___closed__1); -l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1); -l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2); -l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3); -res = l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1); -l_Lean_Elab_Command_expandElab___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__3___closed__1); -l_Lean_Elab_Command_expandElab___closed__1 = _init_l_Lean_Elab_Command_expandElab___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__1); -l_Lean_Elab_Command_expandElab___closed__2 = _init_l_Lean_Elab_Command_expandElab___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__2); -l___regBuiltin_Lean_Elab_Command_expandElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__1); -l___regBuiltin_Lean_Elab_Command_expandElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__2); -l___regBuiltin_Lean_Elab_Command_expandElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__3); -res = l___regBuiltin_Lean_Elab_Command_expandElab(lean_io_mk_world()); +l_Lean_Elab_Command_checkRuleKind___closed__1 = _init_l_Lean_Elab_Command_checkRuleKind___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkRuleKind___closed__1); +l_Lean_Elab_Command_checkRuleKind___closed__2 = _init_l_Lean_Elab_Command_checkRuleKind___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkRuleKind___closed__2); +l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1 = _init_l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_inferMacroRulesAltKind___closed__1); +l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2 = _init_l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_inferMacroRulesAltKind___closed__2); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); +l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5499_(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/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 88e344c0cd..226950b09c 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -14,21 +14,22 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1; -static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11; +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__5(lean_object*); -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___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* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance_match__1(lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___closed__3; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__1(lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___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* l_Lean_stringToMessageData(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__1(lean_object*); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1; lean_object* l_Lean_Meta_getDefaultInstancesPriorities___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__1___rarg(lean_object*, lean_object*); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4; +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8; lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar_match__1(lean_object*); @@ -41,17 +42,16 @@ lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, static lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__2; static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__3; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9; extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Meta_occursCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__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* l_Lean_Elab_Tactic_evalTacticAux(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_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__9; 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*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumeElabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___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*); @@ -59,11 +59,12 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUs lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9; lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -76,10 +77,11 @@ lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_ob static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__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_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__4(lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); lean_object* l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__8; -static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5; +static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -89,25 +91,25 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesi static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3; +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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_SyntheticMVars_0__Lean_Elab_Term_resumePostponed_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar_match__1(lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__2; static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__6; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___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_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___closed__1; lean_object* l_Lean_Meta_getDefaultInstances___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___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___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -133,13 +135,11 @@ static lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticM lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__3; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6; -static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed_match__1(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__3(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -147,56 +147,63 @@ lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_obj static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___closed__2; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__2___closed__1; +static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4; +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___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_Lean_instInhabitedExpr; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumeElabTerm___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_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__5; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__4; lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__7; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3; -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4; +lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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_runTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed(lean_object*, 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_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___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_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___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_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8; +static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef_match__1(lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__2; +static lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance_match__1___rarg(lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__2___closed__1; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___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_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___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_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; extern lean_object* l_Lean_Elab_postponeExceptionId; -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__3; @@ -204,10 +211,8 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_withSynthesize(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar(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_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___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_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,17 +222,20 @@ static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0_ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSavedContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit___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_Lean_Elab_Term_runTactic___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_synthesizeSyntheticMVarsNoPostponing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6; +static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___closed__1; lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit___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_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___boxed(lean_object*); +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(uint8_t, uint8_t, 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_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,32 +244,35 @@ uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_237_( lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit(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_getDefaultInstancesPriorities___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___boxed(lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(uint8_t); lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(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_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___lambda__1(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Meta_getDefaultInstances___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___spec__1___boxed(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_List_lengthAux___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5; +static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3; +static lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3; lean_object* l_Lean_indentExpr(lean_object*); +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__2(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4; extern lean_object* l_Lean_Meta_defaultInstanceExtension; +static lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3; static lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__1; @@ -269,6 +280,7 @@ lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___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_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__2(lean_object*); +lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t); lean_object* l_Lean_Meta_getDefaultInstancesPriorities___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -741,7 +753,7 @@ lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint x_86 = lean_ctor_get(x_35, 1); lean_inc(x_86); lean_dec(x_35); -x_87 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_5, x_6, x_7, x_8, x_9, x_86); +x_87 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_5, x_6, x_7, x_8, x_9, x_86); x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); x_89 = lean_ctor_get(x_87, 1); @@ -3136,6 +3148,180 @@ return x_40; } } } +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_2); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("worked"); +return x_1; +} +} +static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = l_Lean_mkMVar(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_2); +x_16 = l_Lean_Meta_isExprDefEqGuarded(x_15, x_2, x_10, x_11, x_12, x_13, x_14); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unbox(x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_3); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +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; uint8_t x_32; lean_object* x_33; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +lean_dec(x_3); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_box(0); +x_25 = lean_array_get_size(x_4); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_unsigned_to_nat(1u); +lean_inc(x_25); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set(x_28, 2, x_27); +x_29 = l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__1(x_5, x_4, x_28, x_25, x_26, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +lean_dec(x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_42 = lean_st_ref_get(x_13, x_31); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = 0; +x_32 = x_47; +x_33 = x_46; +goto block_41; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +lean_inc(x_6); +x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_48); +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); +x_52 = lean_unbox(x_50); +lean_dec(x_50); +x_32 = x_52; +x_33 = x_51; +goto block_41; +} +block_41: +{ +if (x_32 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_6); +x_34 = lean_box(0); +x_35 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__1(x_2, x_30, x_34, x_8, x_9, x_10, x_11, x_12, x_13, x_33); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2; +x_37 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_36, x_8, x_9, x_10, x_11, x_12, x_13, x_33); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__1(x_2, x_30, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_39); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_38); +return x_40; +} +} +} +} +} static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__1() { _start: { @@ -3176,7 +3362,7 @@ static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Syn _start: { lean_object* x_1; -x_1 = lean_mk_string("worked"); +x_1 = lean_mk_string("trying default instance for "); return x_1; } } @@ -3193,7 +3379,7 @@ static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Syn _start: { lean_object* x_1; -x_1 = lean_mk_string("trying default instance for "); +x_1 = lean_mk_string(" := "); return x_1; } } @@ -3210,7 +3396,7 @@ static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Syn _start: { lean_object* x_1; -x_1 = lean_mk_string(" := "); +x_1 = lean_mk_string(""); return x_1; } } @@ -3223,23 +3409,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___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: { @@ -3290,7 +3459,7 @@ lean_inc(x_5); x_48 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_43, x_46, x_45, x_47, x_5, x_6, x_7, x_8, x_44); if (lean_obj_tag(x_48) == 0) { -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; uint8_t x_93; lean_object* x_94; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); x_50 = lean_ctor_get(x_49, 1); @@ -3303,276 +3472,162 @@ lean_inc(x_52); lean_dec(x_49); x_53 = lean_ctor_get(x_50, 0); lean_inc(x_53); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_54 = x_50; -} else { - lean_dec_ref(x_50); - x_54 = lean_box(0); -} -x_55 = l_Lean_mkAppN(x_40, x_52); -x_109 = lean_st_ref_get(x_8, x_51); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_110, 3); -lean_inc(x_111); -lean_dec(x_110); -x_112 = lean_ctor_get_uint8(x_111, sizeof(void*)*1); -lean_dec(x_111); -if (x_112 == 0) +lean_dec(x_50); +x_54 = l_Lean_mkAppN(x_40, x_52); +x_55 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; +x_79 = lean_st_ref_get(x_8, x_51); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_80, 3); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_ctor_get_uint8(x_81, sizeof(void*)*1); +lean_dec(x_81); +if (x_82 == 0) { -lean_object* x_113; uint8_t x_114; -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -lean_dec(x_109); -x_114 = 0; -x_93 = x_114; -x_94 = x_113; -goto block_108; +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_79, 1); +lean_inc(x_83); +lean_dec(x_79); +x_84 = 0; +x_56 = x_84; +x_57 = x_83; +goto block_78; } else { -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_115 = lean_ctor_get(x_109, 1); -lean_inc(x_115); -lean_dec(x_109); -x_116 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; -x_117 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_115); -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_unbox(x_118); -lean_dec(x_118); -x_93 = x_120; -x_94 = x_119; -goto block_108; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_79, 1); +lean_inc(x_85); +lean_dec(x_79); +x_86 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_unbox(x_87); +lean_dec(x_87); +x_56 = x_89; +x_57 = x_88; +goto block_78; } -block_92: +block_78: { -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = l_Lean_mkMVar(x_1); +if (x_56 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_box(0); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_55); -x_58 = l_Lean_Meta_isExprDefEqGuarded(x_57, x_55, x_5, x_6, x_7, x_8, x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_unbox(x_59); -lean_dec(x_59); -if (x_60 == 0) -{ -lean_object* x_61; -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_53); +x_59 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2(x_1, x_54, x_45, x_53, x_52, x_55, x_58, x_3, x_4, x_5, x_6, x_7, x_8, x_57); lean_dec(x_52); -x_61 = lean_ctor_get(x_58, 1); +lean_dec(x_53); +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_58); -x_14 = x_45; +lean_dec(x_59); +x_14 = x_60; x_15 = x_61; goto block_29; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_62 = lean_ctor_get(x_58, 1); -lean_inc(x_62); -lean_dec(x_58); -x_63 = lean_box(0); -x_64 = lean_array_get_size(x_53); -x_65 = lean_unsigned_to_nat(0u); -x_66 = lean_unsigned_to_nat(1u); -lean_inc(x_64); -x_67 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_64); -lean_ctor_set(x_67, 2, x_66); -x_68 = l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__1(x_52, x_53, x_67, x_64, x_65, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_62); -lean_dec(x_67); -lean_dec(x_53); -lean_dec(x_52); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_st_ref_get(x_8, x_70); -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; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_71, 1); -lean_inc(x_75); -lean_dec(x_71); -if (lean_is_scalar(x_54)) { - x_76 = lean_alloc_ctor(0, 2, 0); -} else { - x_76 = x_54; -} -lean_ctor_set(x_76, 0, x_55); -lean_ctor_set(x_76, 1, x_69); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_76); -x_14 = x_77; -x_15 = x_75; -goto block_29; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_78 = lean_ctor_get(x_71, 1); -lean_inc(x_78); -lean_dec(x_71); -x_79 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; -x_80 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_unbox(x_81); -lean_dec(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec(x_80); -if (lean_is_scalar(x_54)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_54; -} -lean_ctor_set(x_84, 0, x_55); -lean_ctor_set(x_84, 1, x_69); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_14 = x_85; -x_15 = x_83; -goto block_29; -} -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_80, 1); -lean_inc(x_86); -lean_dec(x_80); -x_87 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__6; -x_88 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_79, x_87, x_3, x_4, x_5, x_6, x_7, x_8, x_86); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -if (lean_is_scalar(x_54)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_54; -} -lean_ctor_set(x_90, 0, x_55); -lean_ctor_set(x_90, 1, x_69); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_14 = x_91; -x_15 = x_89; -goto block_29; -} -} -} -} -block_108: -{ -if (x_93 == 0) -{ -x_56 = 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_object* x_106; lean_object* x_107; +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_inc(x_1); -x_95 = l_Lean_mkMVar(x_1); -x_96 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__8; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; -x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -lean_inc(x_55); -x_101 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_101, 0, x_55); -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_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; -x_106 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_105, x_104, x_3, x_4, x_5, x_6, x_7, x_8, x_94); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_56 = x_107; -goto block_92; +x_62 = l_Lean_mkMVar(x_1); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__6; +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__8; +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_54); +x_68 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_68, 0, x_54); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_55, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_57); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_75 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2(x_1, x_54, x_45, x_53, x_52, x_55, x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_74); +lean_dec(x_73); +lean_dec(x_52); +lean_dec(x_53); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_14 = x_76; +x_15 = x_77; +goto block_29; } } } else { -lean_object* x_121; lean_object* x_122; +lean_object* x_90; lean_object* x_91; lean_dec(x_40); lean_dec(x_13); lean_dec(x_1); -x_121 = lean_ctor_get(x_48, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_48, 1); -lean_inc(x_122); +x_90 = lean_ctor_get(x_48, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_48, 1); +lean_inc(x_91); lean_dec(x_48); -x_30 = x_121; -x_31 = x_122; +x_30 = x_90; +x_31 = x_91; goto block_38; } } else { -lean_object* x_123; lean_object* x_124; +lean_object* x_92; lean_object* x_93; lean_dec(x_40); lean_dec(x_13); lean_dec(x_1); -x_123 = lean_ctor_get(x_42, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_42, 1); -lean_inc(x_124); +x_92 = lean_ctor_get(x_42, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_42, 1); +lean_inc(x_93); lean_dec(x_42); -x_30 = x_123; -x_31 = x_124; +x_30 = x_92; +x_31 = x_93; goto block_38; } } else { -lean_object* x_125; lean_object* x_126; +lean_object* x_94; lean_object* x_95; lean_dec(x_13); lean_dec(x_1); -x_125 = lean_ctor_get(x_39, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_39, 1); -lean_inc(x_126); +x_94 = lean_ctor_get(x_39, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_39, 1); +lean_inc(x_95); lean_dec(x_39); -x_30 = x_125; -x_31 = x_126; +x_30 = x_94; +x_31 = x_95; goto block_38; } block_29: @@ -3708,6 +3763,34 @@ lean_dec(x_1); return x_14; } } +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___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, x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_15; +} +} lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___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: { @@ -5745,7 +5828,7 @@ x_22 = l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Te x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; +x_24 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -5786,7 +5869,7 @@ x_34 = l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Te x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; +x_36 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); @@ -6611,6 +6694,33 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_El return x_2; } } +static lean_object* _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___boxed), 9, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 1; +x_2 = 0; +x_3 = lean_box(x_1); +x_4 = lean_box(x_2); +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___boxed), 9, 2); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_4); +return x_5; +} +} lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -6663,1247 +6773,1148 @@ if (x_27 == 0) { if (x_2 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t 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; +lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); lean_dec(x_25); -x_29 = lean_ctor_get(x_5, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_5, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_5, 2); +x_29 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_30 = l_Lean_Elab_Term_withoutPostponing___rarg(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -x_32 = lean_ctor_get(x_5, 3); -lean_inc(x_32); -x_33 = lean_ctor_get(x_5, 4); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); lean_inc(x_33); -x_34 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_35 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_36 = lean_ctor_get(x_5, 5); -lean_inc(x_36); -x_37 = lean_ctor_get(x_5, 6); +lean_dec(x_30); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_34 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_9, x_10, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_5, 7); -lean_inc(x_38); -x_39 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -x_40 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_40, 0, x_29); -lean_ctor_set(x_40, 1, x_30); -lean_ctor_set(x_40, 2, x_31); -lean_ctor_set(x_40, 3, x_32); -lean_ctor_set(x_40, 4, x_33); -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_24); -lean_ctor_set_uint8(x_40, sizeof(void*)*8 + 1, x_34); -lean_ctor_set_uint8(x_40, sizeof(void*)*8 + 2, x_35); -lean_ctor_set_uint8(x_40, sizeof(void*)*8 + 3, x_39); -x_41 = 1; +lean_dec(x_34); +x_38 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +x_39 = l_Lean_Elab_Term_withoutPostponing___rarg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -x_42 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_41, x_24, x_40, x_6, x_7, x_8, x_9, x_10, x_28); -if (lean_obj_tag(x_42) == 0) +x_41 = lean_unbox(x_40); +lean_dec(x_40); +if (x_41 == 0) { -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_unbox(x_43); -lean_dec(x_43); -if (x_44 == 0) +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_44 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_24, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_42); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_46 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_9, x_10, x_45); -if (lean_obj_tag(x_46) == 0) +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) { -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_46, 0); +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); lean_inc(x_47); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_50 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_24, x_24, x_40, x_6, x_7, x_8, x_9, x_10, 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) -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_54 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_24, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; uint8_t x_56; -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; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_57); +lean_dec(x_44); +x_48 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_47); lean_dec(x_9); -return x_58; +return x_48; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_54, 1); -lean_inc(x_59); -lean_dec(x_54); -x_60 = lean_box(0); -x_61 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_60, x_5, x_6, x_7, x_8, x_9, x_10, x_59); -return x_61; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_44, 1); +lean_inc(x_49); +lean_dec(x_44); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +return x_51; } } else { -uint8_t x_62; +uint8_t x_52; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_62 = !lean_is_exclusive(x_54); -if (x_62 == 0) +x_52 = !lean_is_exclusive(x_44); +if (x_52 == 0) { -return x_54; +return x_44; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_44, 0); +x_54 = lean_ctor_get(x_44, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_44); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_39, 1); +lean_inc(x_56); +lean_dec(x_39); +x_57 = lean_box(0); +x_58 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_56); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) +{ +return x_39; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} } else { lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_54, 0); -x_64 = lean_ctor_get(x_54, 1); -lean_inc(x_64); +x_63 = lean_ctor_get(x_34, 1); lean_inc(x_63); -lean_dec(x_54); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); +lean_dec(x_34); +x_64 = lean_box(0); +x_65 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_64, x_5, x_6, x_7, x_8, x_9, x_10, x_63); return x_65; } } -} else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_50, 1); -lean_inc(x_66); -lean_dec(x_50); -x_67 = lean_box(0); -x_68 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_66); -return x_68; -} -} -else -{ -uint8_t x_69; +uint8_t x_66; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_69 = !lean_is_exclusive(x_50); -if (x_69 == 0) +x_66 = !lean_is_exclusive(x_34); +if (x_66 == 0) { -return x_50; +return x_34; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_34, 0); +x_68 = lean_ctor_get(x_34, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_34); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} } else { lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_50, 0); -x_71 = lean_ctor_get(x_50, 1); -lean_inc(x_71); +x_70 = lean_ctor_get(x_30, 1); lean_inc(x_70); -lean_dec(x_50); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); +lean_dec(x_30); +x_71 = lean_box(0); +x_72 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_71, x_5, x_6, x_7, x_8, x_9, x_10, x_70); return x_72; } } -} else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_40); -x_73 = lean_ctor_get(x_46, 1); -lean_inc(x_73); -lean_dec(x_46); -x_74 = lean_box(0); -x_75 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_73); -return x_75; -} -} -else -{ -uint8_t x_76; -lean_dec(x_40); +uint8_t x_73; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_76 = !lean_is_exclusive(x_46); -if (x_76 == 0) +x_73 = !lean_is_exclusive(x_30); +if (x_73 == 0) { -return x_46; +return x_30; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_46, 0); -x_78 = lean_ctor_get(x_46, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_46); -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_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_30, 0); +x_75 = lean_ctor_get(x_30, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_30); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { +uint8_t x_77; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_77 = !lean_is_exclusive(x_25); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_25, 0); +lean_dec(x_78); +x_79 = lean_box(0); +lean_ctor_set(x_25, 0, x_79); +return x_25; +} +else +{ lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_40); -x_80 = lean_ctor_get(x_42, 1); +x_80 = lean_ctor_get(x_25, 1); lean_inc(x_80); -lean_dec(x_42); +lean_dec(x_25); x_81 = lean_box(0); -x_82 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_81, x_5, x_6, x_7, x_8, x_9, x_10, x_80); +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_83; -lean_dec(x_40); -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_83 = !lean_is_exclusive(x_42); -if (x_83 == 0) -{ -return x_42; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_42, 0); -x_85 = lean_ctor_get(x_42, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_42); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_87 = !lean_is_exclusive(x_25); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_25, 0); -lean_dec(x_88); -x_89 = lean_box(0); -lean_ctor_set(x_25, 0, x_89); -return x_25; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_25, 1); -lean_inc(x_90); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_25, 1); +lean_inc(x_83); lean_dec(x_25); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_25, 1); -lean_inc(x_93); -lean_dec(x_25); -x_94 = lean_box(0); -x_95 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_94, x_5, x_6, x_7, x_8, x_9, x_10, x_93); -return x_95; +x_84 = lean_box(0); +x_85 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_84, x_5, x_6, x_7, x_8, x_9, x_10, x_83); +return x_85; } } else { -uint8_t x_96; +uint8_t x_86; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_96 = !lean_is_exclusive(x_25); -if (x_96 == 0) +x_86 = !lean_is_exclusive(x_25); +if (x_86 == 0) { return x_25; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_25, 0); -x_98 = lean_ctor_get(x_25, 1); -lean_inc(x_98); -lean_inc(x_97); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_25, 0); +x_88 = lean_ctor_get(x_25, 1); +lean_inc(x_88); +lean_inc(x_87); lean_dec(x_25); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -lean_object* x_100; +lean_object* x_90; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_100 = lean_box(0); -lean_ctor_set(x_18, 0, x_100); +x_90 = lean_box(0); +lean_ctor_set(x_18, 0, x_90); return x_18; } } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_101 = lean_ctor_get(x_18, 0); -x_102 = lean_ctor_get(x_18, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_91 = lean_ctor_get(x_18, 0); +x_92 = lean_ctor_get(x_18, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_18); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_List_isEmpty___rarg(x_103); -lean_dec(x_103); -if (x_104 == 0) +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_List_isEmpty___rarg(x_93); +lean_dec(x_93); +if (x_94 == 0) { -uint8_t x_105; lean_object* x_106; -x_105 = 0; +uint8_t x_95; lean_object* x_96; +x_95 = 0; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_106 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_105, x_105, x_5, x_6, x_7, x_8, x_9, x_10, x_102); -if (lean_obj_tag(x_106) == 0) +x_96 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_95, x_95, x_5, x_6, x_7, x_8, x_9, x_10, x_92); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_unbox(x_107); -lean_dec(x_107); -if (x_108 == 0) +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_unbox(x_97); +lean_dec(x_97); +if (x_98 == 0) { if (x_2 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; -x_109 = lean_ctor_get(x_106, 1); -lean_inc(x_109); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_101 = l_Lean_Elab_Term_withoutPostponing___rarg(x_100, x_5, x_6, x_7, x_8, x_9, x_10, x_99); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_unbox(x_102); +lean_dec(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +lean_dec(x_101); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_105 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_9, x_10, x_104); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; uint8_t x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_unbox(x_106); lean_dec(x_106); -x_110 = lean_ctor_get(x_5, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_5, 1); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +lean_dec(x_105); +x_109 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_110 = l_Lean_Elab_Term_withoutPostponing___rarg(x_109, x_5, x_6, x_7, x_8, x_9, x_10, x_108); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; uint8_t x_112; +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_5, 2); -lean_inc(x_112); -x_113 = lean_ctor_get(x_5, 3); +x_112 = lean_unbox(x_111); +lean_dec(x_111); +if (x_112 == 0) +{ +lean_object* x_113; uint8_t x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_110, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_5, 4); -lean_inc(x_114); -x_115 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_116 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_117 = lean_ctor_get(x_5, 5); -lean_inc(x_117); -x_118 = lean_ctor_get(x_5, 6); +lean_dec(x_110); +x_114 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_115 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_95, x_114, x_5, x_6, x_7, x_8, x_9, x_10, x_113); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; uint8_t x_117; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_unbox(x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_115, 1); lean_inc(x_118); -x_119 = lean_ctor_get(x_5, 7); -lean_inc(x_119); -x_120 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -x_121 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_121, 0, x_110); -lean_ctor_set(x_121, 1, x_111); -lean_ctor_set(x_121, 2, x_112); -lean_ctor_set(x_121, 3, x_113); -lean_ctor_set(x_121, 4, x_114); -lean_ctor_set(x_121, 5, x_117); -lean_ctor_set(x_121, 6, x_118); -lean_ctor_set(x_121, 7, x_119); -lean_ctor_set_uint8(x_121, sizeof(void*)*8, x_105); -lean_ctor_set_uint8(x_121, sizeof(void*)*8 + 1, x_115); -lean_ctor_set_uint8(x_121, sizeof(void*)*8 + 2, x_116); -lean_ctor_set_uint8(x_121, sizeof(void*)*8 + 3, x_120); -x_122 = 1; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_121); -x_123 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_122, x_105, x_121, x_6, x_7, x_8, x_9, x_10, x_109); -if (lean_obj_tag(x_123) == 0) +lean_dec(x_115); +x_119 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_118); +lean_dec(x_9); +return x_119; +} +else { -lean_object* x_124; uint8_t x_125; -x_124 = lean_ctor_get(x_123, 0); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_115, 1); +lean_inc(x_120); +lean_dec(x_115); +x_121 = lean_box(0); +x_122 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_121, x_5, x_6, x_7, x_8, x_9, x_10, x_120); +return x_122; +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_123 = lean_ctor_get(x_115, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_115, 1); lean_inc(x_124); -x_125 = lean_unbox(x_124); -lean_dec(x_124); -if (x_125 == 0) +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_125 = x_115; +} else { + lean_dec_ref(x_115); + x_125 = lean_box(0); +} +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; +} +} +else { -lean_object* x_126; lean_object* x_127; -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -lean_dec(x_123); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_127 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_9, x_10, x_126); -if (lean_obj_tag(x_127) == 0) +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_110, 1); +lean_inc(x_127); +lean_dec(x_110); +x_128 = lean_box(0); +x_129 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_128, x_5, x_6, x_7, x_8, x_9, x_10, x_127); +return x_129; +} +} +else { -lean_object* x_128; uint8_t x_129; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_unbox(x_128); -lean_dec(x_128); -if (x_129 == 0) -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_127, 1); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_130 = lean_ctor_get(x_110, 0); lean_inc(x_130); -lean_dec(x_127); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_131 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_105, x_105, x_121, x_6, x_7, x_8, x_9, x_10, x_130); -if (lean_obj_tag(x_131) == 0) +x_131 = lean_ctor_get(x_110, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_132 = x_110; +} else { + lean_dec_ref(x_110); + x_132 = lean_box(0); +} +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); +} else { + x_133 = x_132; +} +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +else { -lean_object* x_132; uint8_t x_133; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_unbox(x_132); -lean_dec(x_132); -if (x_133 == 0) -{ -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_131, 1); +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_105, 1); lean_inc(x_134); -lean_dec(x_131); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_135 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_105, x_122, x_5, x_6, x_7, x_8, x_9, x_10, x_134); -if (lean_obj_tag(x_135) == 0) +lean_dec(x_105); +x_135 = lean_box(0); +x_136 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_135, x_5, x_6, x_7, x_8, x_9, x_10, x_134); +return x_136; +} +} +else { -lean_object* x_136; uint8_t x_137; -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_unbox(x_136); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_137 = lean_ctor_get(x_105, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_105, 1); lean_inc(x_138); -lean_dec(x_135); -x_139 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_138); -lean_dec(x_9); -return x_139; +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_139 = x_105; +} else { + lean_dec_ref(x_105); + x_139 = lean_box(0); } -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_135, 1); -lean_inc(x_140); -lean_dec(x_135); -x_141 = lean_box(0); -x_142 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_141, x_5, x_6, x_7, x_8, x_9, x_10, x_140); -return x_142; +if (lean_is_scalar(x_139)) { + x_140 = lean_alloc_ctor(1, 2, 0); +} else { + x_140 = x_139; +} +lean_ctor_set(x_140, 0, x_137); +lean_ctor_set(x_140, 1, x_138); +return x_140; } } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_101, 1); +lean_inc(x_141); +lean_dec(x_101); +x_142 = lean_box(0); +x_143 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_142, x_5, x_6, x_7, x_8, x_9, x_10, x_141); +return x_143; +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_143 = lean_ctor_get(x_135, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_135, 1); +x_144 = lean_ctor_get(x_101, 0); lean_inc(x_144); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - x_145 = x_135; +x_145 = lean_ctor_get(x_101, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_146 = x_101; } else { - lean_dec_ref(x_135); - x_145 = lean_box(0); + lean_dec_ref(x_101); + x_146 = lean_box(0); } -if (lean_is_scalar(x_145)) { - x_146 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); } else { - x_146 = x_145; + x_147 = x_146; } -lean_ctor_set(x_146, 0, x_143); -lean_ctor_set(x_146, 1, x_144); -return 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_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_131, 1); -lean_inc(x_147); -lean_dec(x_131); -x_148 = lean_box(0); -x_149 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_148, x_5, x_6, x_7, x_8, x_9, x_10, x_147); -return x_149; -} -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_150 = lean_ctor_get(x_131, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_131, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_152 = x_131; +x_148 = lean_ctor_get(x_96, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_149 = x_96; } else { - lean_dec_ref(x_131); - x_152 = lean_box(0); + lean_dec_ref(x_96); + x_149 = lean_box(0); } -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); +x_150 = lean_box(0); +if (lean_is_scalar(x_149)) { + x_151 = lean_alloc_ctor(0, 2, 0); } else { - x_153 = x_152; + x_151 = x_149; } -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -return x_153; +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_148); +return x_151; } } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -lean_dec(x_121); -x_154 = lean_ctor_get(x_127, 1); -lean_inc(x_154); -lean_dec(x_127); -x_155 = lean_box(0); -x_156 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_155, x_5, x_6, x_7, x_8, x_9, x_10, x_154); -return x_156; +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_96, 1); +lean_inc(x_152); +lean_dec(x_96); +x_153 = lean_box(0); +x_154 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_153, x_5, x_6, x_7, x_8, x_9, x_10, x_152); +return x_154; } } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_121); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_157 = lean_ctor_get(x_127, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_127, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_159 = x_127; +x_155 = lean_ctor_get(x_96, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_96, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_157 = x_96; } else { - lean_dec_ref(x_127); - x_159 = lean_box(0); + lean_dec_ref(x_96); + x_157 = lean_box(0); } -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(1, 2, 0); } else { - x_160 = x_159; + x_158 = x_157; } -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_156); +return x_158; +} +} +else +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_159 = lean_box(0); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_92); return x_160; } } -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_121); -x_161 = lean_ctor_get(x_123, 1); -lean_inc(x_161); -lean_dec(x_123); -x_162 = lean_box(0); -x_163 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_162, x_5, x_6, x_7, x_8, x_9, x_10, x_161); -return x_163; -} } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_121); -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_164 = lean_ctor_get(x_123, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_123, 1); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_161 = lean_ctor_get(x_9, 0); +x_162 = lean_ctor_get(x_9, 2); +x_163 = lean_ctor_get(x_9, 3); +x_164 = lean_ctor_get(x_9, 4); +x_165 = lean_ctor_get(x_9, 5); +x_166 = lean_ctor_get(x_9, 6); +x_167 = lean_ctor_get(x_9, 7); +lean_inc(x_167); +lean_inc(x_166); lean_inc(x_165); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_166 = x_123; -} else { - lean_dec_ref(x_123); - x_166 = lean_box(0); -} -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(1, 2, 0); -} else { - x_167 = x_166; -} -lean_ctor_set(x_167, 0, x_164); -lean_ctor_set(x_167, 1, x_165); -return x_167; -} -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_168 = lean_ctor_get(x_106, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_169 = x_106; -} else { - lean_dec_ref(x_106); - x_169 = lean_box(0); -} -x_170 = lean_box(0); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_168); -return x_171; -} -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_106, 1); +x_168 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_168, 0, x_161); +lean_ctor_set(x_168, 1, x_13); +lean_ctor_set(x_168, 2, x_162); +lean_ctor_set(x_168, 3, x_163); +lean_ctor_set(x_168, 4, x_164); +lean_ctor_set(x_168, 5, x_165); +lean_ctor_set(x_168, 6, x_166); +lean_ctor_set(x_168, 7, x_167); +x_169 = lean_st_ref_get(x_10, x_11); +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +lean_dec(x_169); +x_171 = lean_st_ref_get(x_6, x_170); +x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); -lean_dec(x_106); -x_173 = lean_box(0); -x_174 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_173, x_5, x_6, x_7, x_8, x_9, x_10, x_172); -return x_174; +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_174 = x_171; +} else { + lean_dec_ref(x_171); + x_174 = lean_box(0); } -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_175 = lean_ctor_get(x_106, 0); +x_175 = lean_ctor_get(x_172, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_106, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_177 = x_106; -} else { - lean_dec_ref(x_106); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); -} else { - x_178 = x_177; -} -lean_ctor_set(x_178, 0, x_175); -lean_ctor_set(x_178, 1, x_176); -return x_178; -} -} -else +lean_dec(x_172); +x_176 = l_List_isEmpty___rarg(x_175); +lean_dec(x_175); +if (x_176 == 0) { -lean_object* x_179; lean_object* x_180; -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_179 = lean_box(0); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_102); -return x_180; -} -} -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_181 = lean_ctor_get(x_9, 0); -x_182 = lean_ctor_get(x_9, 2); -x_183 = lean_ctor_get(x_9, 3); -x_184 = lean_ctor_get(x_9, 4); -x_185 = lean_ctor_get(x_9, 5); -x_186 = lean_ctor_get(x_9, 6); -x_187 = lean_ctor_get(x_9, 7); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_9); -x_188 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_188, 0, x_181); -lean_ctor_set(x_188, 1, x_13); -lean_ctor_set(x_188, 2, x_182); -lean_ctor_set(x_188, 3, x_183); -lean_ctor_set(x_188, 4, x_184); -lean_ctor_set(x_188, 5, x_185); -lean_ctor_set(x_188, 6, x_186); -lean_ctor_set(x_188, 7, x_187); -x_189 = lean_st_ref_get(x_10, x_11); -x_190 = lean_ctor_get(x_189, 1); -lean_inc(x_190); -lean_dec(x_189); -x_191 = lean_st_ref_get(x_6, x_190); -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_194 = x_191; -} else { - lean_dec_ref(x_191); - x_194 = lean_box(0); -} -x_195 = lean_ctor_get(x_192, 1); -lean_inc(x_195); -lean_dec(x_192); -x_196 = l_List_isEmpty___rarg(x_195); -lean_dec(x_195); -if (x_196 == 0) -{ -uint8_t x_197; lean_object* x_198; -lean_dec(x_194); -x_197 = 0; +uint8_t x_177; lean_object* x_178; +lean_dec(x_174); +x_177 = 0; lean_inc(x_10); -lean_inc(x_188); +lean_inc(x_168); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_198 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_197, x_197, x_5, x_6, x_7, x_8, x_188, x_10, x_193); -if (lean_obj_tag(x_198) == 0) +x_178 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_177, x_177, x_5, x_6, x_7, x_8, x_168, x_10, x_173); +if (lean_obj_tag(x_178) == 0) { -lean_object* x_199; uint8_t x_200; -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_unbox(x_199); -lean_dec(x_199); -if (x_200 == 0) +lean_object* x_179; uint8_t x_180; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_unbox(x_179); +lean_dec(x_179); +if (x_180 == 0) { if (x_2 == 0) { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; -x_201 = lean_ctor_get(x_198, 1); -lean_inc(x_201); +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_178, 1); +lean_inc(x_181); +lean_dec(x_178); +x_182 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2; +lean_inc(x_10); +lean_inc(x_168); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_183 = l_Lean_Elab_Term_withoutPostponing___rarg(x_182, x_5, x_6, x_7, x_8, x_168, x_10, x_181); +if (lean_obj_tag(x_183) == 0) +{ +lean_object* x_184; uint8_t x_185; +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_unbox(x_184); +lean_dec(x_184); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_183, 1); +lean_inc(x_186); +lean_dec(x_183); +lean_inc(x_10); +lean_inc(x_168); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_187 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_168, x_10, x_186); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; uint8_t x_189; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_unbox(x_188); +lean_dec(x_188); +if (x_189 == 0) +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_187, 1); +lean_inc(x_190); +lean_dec(x_187); +x_191 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1; +lean_inc(x_10); +lean_inc(x_168); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_192 = l_Lean_Elab_Term_withoutPostponing___rarg(x_191, x_5, x_6, x_7, x_8, x_168, x_10, x_190); +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; uint8_t x_194; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_unbox(x_193); +lean_dec(x_193); +if (x_194 == 0) +{ +lean_object* x_195; uint8_t x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_192, 1); +lean_inc(x_195); +lean_dec(x_192); +x_196 = 1; +lean_inc(x_10); +lean_inc(x_168); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_197 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_177, x_196, x_5, x_6, x_7, x_8, x_168, x_10, x_195); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; uint8_t x_199; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_unbox(x_198); lean_dec(x_198); -x_202 = lean_ctor_get(x_5, 0); +if (x_199 == 0) +{ +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_197, 1); +lean_inc(x_200); +lean_dec(x_197); +x_201 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_168, x_10, x_200); +lean_dec(x_168); +return x_201; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_197, 1); lean_inc(x_202); -x_203 = lean_ctor_get(x_5, 1); -lean_inc(x_203); -x_204 = lean_ctor_get(x_5, 2); -lean_inc(x_204); -x_205 = lean_ctor_get(x_5, 3); +lean_dec(x_197); +x_203 = lean_box(0); +x_204 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_203, x_5, x_6, x_7, x_8, x_168, x_10, x_202); +return x_204; +} +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_168); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_205 = lean_ctor_get(x_197, 0); lean_inc(x_205); -x_206 = lean_ctor_get(x_5, 4); +x_206 = lean_ctor_get(x_197, 1); lean_inc(x_206); -x_207 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_208 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_209 = lean_ctor_get(x_5, 5); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_207 = x_197; +} else { + lean_dec_ref(x_197); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(1, 2, 0); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_206); +return x_208; +} +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_192, 1); lean_inc(x_209); -x_210 = lean_ctor_get(x_5, 6); -lean_inc(x_210); -x_211 = lean_ctor_get(x_5, 7); -lean_inc(x_211); -x_212 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -x_213 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_213, 0, x_202); -lean_ctor_set(x_213, 1, x_203); -lean_ctor_set(x_213, 2, x_204); -lean_ctor_set(x_213, 3, x_205); -lean_ctor_set(x_213, 4, x_206); -lean_ctor_set(x_213, 5, x_209); -lean_ctor_set(x_213, 6, x_210); -lean_ctor_set(x_213, 7, x_211); -lean_ctor_set_uint8(x_213, sizeof(void*)*8, x_197); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 1, x_207); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 2, x_208); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 3, x_212); -x_214 = 1; -lean_inc(x_10); -lean_inc(x_188); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); +lean_dec(x_192); +x_210 = lean_box(0); +x_211 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_210, x_5, x_6, x_7, x_8, x_168, x_10, x_209); +return x_211; +} +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_168); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_212 = lean_ctor_get(x_192, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_192, 1); lean_inc(x_213); -x_215 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_214, x_197, x_213, x_6, x_7, x_8, x_188, x_10, x_201); -if (lean_obj_tag(x_215) == 0) +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_214 = x_192; +} else { + lean_dec_ref(x_192); + x_214 = lean_box(0); +} +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); +} else { + x_215 = x_214; +} +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); +return x_215; +} +} +else { -lean_object* x_216; uint8_t x_217; -x_216 = lean_ctor_get(x_215, 0); +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_187, 1); lean_inc(x_216); -x_217 = lean_unbox(x_216); -lean_dec(x_216); -if (x_217 == 0) +lean_dec(x_187); +x_217 = lean_box(0); +x_218 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_217, x_5, x_6, x_7, x_8, x_168, x_10, x_216); +return x_218; +} +} +else { -lean_object* x_218; lean_object* x_219; -x_218 = lean_ctor_get(x_215, 1); -lean_inc(x_218); -lean_dec(x_215); -lean_inc(x_10); -lean_inc(x_188); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_219 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(x_5, x_6, x_7, x_8, x_188, x_10, x_218); -if (lean_obj_tag(x_219) == 0) -{ -lean_object* x_220; uint8_t x_221; -x_220 = lean_ctor_get(x_219, 0); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_168); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_219 = lean_ctor_get(x_187, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_187, 1); lean_inc(x_220); -x_221 = lean_unbox(x_220); -lean_dec(x_220); -if (x_221 == 0) +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_221 = x_187; +} else { + lean_dec_ref(x_187); + x_221 = lean_box(0); +} +if (lean_is_scalar(x_221)) { + x_222 = lean_alloc_ctor(1, 2, 0); +} else { + x_222 = x_221; +} +lean_ctor_set(x_222, 0, x_219); +lean_ctor_set(x_222, 1, x_220); +return x_222; +} +} +else { -lean_object* x_222; lean_object* x_223; -x_222 = lean_ctor_get(x_219, 1); -lean_inc(x_222); -lean_dec(x_219); -lean_inc(x_10); -lean_inc(x_188); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_223 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_197, x_197, x_213, x_6, x_7, x_8, x_188, x_10, x_222); -if (lean_obj_tag(x_223) == 0) +lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_223 = lean_ctor_get(x_183, 1); +lean_inc(x_223); +lean_dec(x_183); +x_224 = lean_box(0); +x_225 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_224, x_5, x_6, x_7, x_8, x_168, x_10, x_223); +return x_225; +} +} +else { -lean_object* x_224; uint8_t x_225; -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_unbox(x_224); -lean_dec(x_224); -if (x_225 == 0) -{ -lean_object* x_226; lean_object* x_227; -x_226 = lean_ctor_get(x_223, 1); +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_168); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_226 = lean_ctor_get(x_183, 0); lean_inc(x_226); -lean_dec(x_223); -lean_inc(x_10); -lean_inc(x_188); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_227 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(x_197, x_214, x_5, x_6, x_7, x_8, x_188, x_10, x_226); -if (lean_obj_tag(x_227) == 0) +x_227 = lean_ctor_get(x_183, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_228 = x_183; +} else { + lean_dec_ref(x_183); + x_228 = lean_box(0); +} +if (lean_is_scalar(x_228)) { + x_229 = lean_alloc_ctor(1, 2, 0); +} else { + x_229 = x_228; +} +lean_ctor_set(x_229, 0, x_226); +lean_ctor_set(x_229, 1, x_227); +return x_229; +} +} +else { -lean_object* x_228; uint8_t x_229; -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_unbox(x_228); -lean_dec(x_228); -if (x_229 == 0) -{ -lean_object* x_230; lean_object* x_231; -x_230 = lean_ctor_get(x_227, 1); +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_168); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_230 = lean_ctor_get(x_178, 1); lean_inc(x_230); -lean_dec(x_227); -x_231 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars(x_3, x_5, x_6, x_7, x_8, x_188, x_10, x_230); -lean_dec(x_188); -return x_231; +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_231 = x_178; +} else { + lean_dec_ref(x_178); + x_231 = lean_box(0); } -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_232 = lean_ctor_get(x_227, 1); -lean_inc(x_232); -lean_dec(x_227); -x_233 = lean_box(0); -x_234 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_233, x_5, x_6, x_7, x_8, x_188, x_10, x_232); -return x_234; +x_232 = lean_box(0); +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(0, 2, 0); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_230); +return x_233; } } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -lean_dec(x_188); +lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_234 = lean_ctor_get(x_178, 1); +lean_inc(x_234); +lean_dec(x_178); +x_235 = lean_box(0); +x_236 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_235, x_5, x_6, x_7, x_8, x_168, x_10, x_234); +return x_236; +} +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_168); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_235 = lean_ctor_get(x_227, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_227, 1); -lean_inc(x_236); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_237 = x_227; +x_237 = lean_ctor_get(x_178, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_178, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_239 = x_178; } else { - lean_dec_ref(x_227); - x_237 = lean_box(0); + lean_dec_ref(x_178); + x_239 = lean_box(0); } -if (lean_is_scalar(x_237)) { - x_238 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); } else { - x_238 = x_237; + x_240 = x_239; } -lean_ctor_set(x_238, 0, x_235); -lean_ctor_set(x_238, 1, x_236); -return x_238; +lean_ctor_set(x_240, 0, x_237); +lean_ctor_set(x_240, 1, x_238); +return x_240; } } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_239 = lean_ctor_get(x_223, 1); -lean_inc(x_239); -lean_dec(x_223); -x_240 = lean_box(0); -x_241 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_240, x_5, x_6, x_7, x_8, x_188, x_10, x_239); -return x_241; -} -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_188); +lean_object* x_241; lean_object* x_242; +lean_dec(x_168); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_242 = lean_ctor_get(x_223, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_223, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); - x_244 = x_223; +x_241 = lean_box(0); +if (lean_is_scalar(x_174)) { + x_242 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_223); - x_244 = lean_box(0); + x_242 = x_174; } -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; -} -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_213); -x_246 = lean_ctor_get(x_219, 1); -lean_inc(x_246); -lean_dec(x_219); -x_247 = lean_box(0); -x_248 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_247, x_5, x_6, x_7, x_8, x_188, x_10, x_246); -return x_248; -} -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -lean_dec(x_213); -lean_dec(x_188); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_249 = lean_ctor_get(x_219, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_219, 1); -lean_inc(x_250); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_251 = x_219; -} else { - lean_dec_ref(x_219); - x_251 = lean_box(0); -} -if (lean_is_scalar(x_251)) { - x_252 = lean_alloc_ctor(1, 2, 0); -} else { - x_252 = x_251; -} -lean_ctor_set(x_252, 0, x_249); -lean_ctor_set(x_252, 1, x_250); -return x_252; -} -} -else -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; -lean_dec(x_213); -x_253 = lean_ctor_get(x_215, 1); -lean_inc(x_253); -lean_dec(x_215); -x_254 = lean_box(0); -x_255 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_254, x_5, x_6, x_7, x_8, x_188, x_10, x_253); -return x_255; -} -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -lean_dec(x_213); -lean_dec(x_188); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_256 = lean_ctor_get(x_215, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_215, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_258 = x_215; -} else { - lean_dec_ref(x_215); - x_258 = lean_box(0); -} -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(1, 2, 0); -} else { - x_259 = x_258; -} -lean_ctor_set(x_259, 0, x_256); -lean_ctor_set(x_259, 1, x_257); -return x_259; -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -lean_dec(x_188); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_260 = lean_ctor_get(x_198, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_261 = x_198; -} else { - lean_dec_ref(x_198); - x_261 = lean_box(0); -} -x_262 = lean_box(0); -if (lean_is_scalar(x_261)) { - x_263 = lean_alloc_ctor(0, 2, 0); -} else { - x_263 = x_261; -} -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_260); -return x_263; -} -} -else -{ -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_198, 1); -lean_inc(x_264); -lean_dec(x_198); -x_265 = lean_box(0); -x_266 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_2, x_3, x_265, x_5, x_6, x_7, x_8, x_188, x_10, x_264); -return x_266; -} -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -lean_dec(x_188); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_267 = lean_ctor_get(x_198, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_198, 1); -lean_inc(x_268); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_269 = x_198; -} else { - lean_dec_ref(x_198); - x_269 = lean_box(0); -} -if (lean_is_scalar(x_269)) { - x_270 = lean_alloc_ctor(1, 2, 0); -} else { - x_270 = x_269; -} -lean_ctor_set(x_270, 0, x_267); -lean_ctor_set(x_270, 1, x_268); -return x_270; -} -} -else -{ -lean_object* x_271; lean_object* x_272; -lean_dec(x_188); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_271 = lean_box(0); -if (lean_is_scalar(x_194)) { - x_272 = lean_alloc_ctor(0, 2, 0); -} else { - x_272 = x_194; -} -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_193); -return x_272; +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_173); +return x_242; } } } @@ -8071,7 +8082,85 @@ return x_46; } } } -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___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) { +static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("false"); +return x_1; +} +} +static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___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_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4; +return x_3; +} +} +} +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(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, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_10 = 1; +x_11 = lean_box(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +else +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +} +} +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -8079,7 +8168,7 @@ x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___s return x_9; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1() { _start: { lean_object* x_1; @@ -8087,7 +8176,7 @@ x_1 = lean_mk_string("postpone"); return x_1; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2() { _start: { lean_object* x_1; @@ -8095,27 +8184,27 @@ x_1 = lean_mk_string("not ready yet"); return x_1; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2; +x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3; +x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5() { _start: { lean_object* x_1; @@ -8123,27 +8212,27 @@ x_1 = lean_mk_string("succeeded"); return x_1; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5; +x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6; +x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8() { _start: { lean_object* x_1; @@ -8151,16 +8240,16 @@ x_1 = lean_mk_string("resuming "); return x_1; } } -static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9() { +static lean_object* _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8; +x_1 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(uint8_t 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) { +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(uint8_t 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: { if (lean_obj_tag(x_4) == 0) @@ -8180,7 +8269,7 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; uint8_t x_74; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; uint8_t x_84; x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_4, 1); @@ -8193,99 +8282,99 @@ if (lean_is_exclusive(x_4)) { lean_dec_ref(x_4); x_16 = lean_box(0); } -x_23 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1; +x_23 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1; lean_inc(x_3); x_24 = lean_name_mk_string(x_3, x_23); -x_63 = lean_ctor_get(x_14, 0); -lean_inc(x_63); -lean_inc(x_63); -x_64 = l_Lean_mkMVar(x_63); -x_65 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_65, 0, x_64); -x_66 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9; -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_closure((void*)(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed), 8, 1); -lean_closure_set(x_70, 0, x_69); -x_71 = lean_st_ref_get(x_11, x_12); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_72, 3); +x_73 = lean_ctor_get(x_14, 0); lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_ctor_get_uint8(x_73, sizeof(void*)*1); +lean_inc(x_73); +x_74 = l_Lean_mkMVar(x_73); +x_75 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_75, 0, x_74); +x_76 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9; +x_77 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_alloc_closure((void*)(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2___boxed), 8, 1); +lean_closure_set(x_80, 0, x_79); +x_81 = lean_st_ref_get(x_11, x_12); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_82, 3); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_ctor_get_uint8(x_83, sizeof(void*)*1); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; +lean_dec(x_80); lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; -lean_dec(x_70); -lean_dec(x_63); -x_75 = lean_ctor_get(x_71, 1); -lean_inc(x_75); -lean_dec(x_71); -x_25 = x_75; -goto block_62; +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +lean_dec(x_81); +x_25 = x_85; +goto block_72; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = lean_ctor_get(x_71, 1); -lean_inc(x_76); -lean_dec(x_71); +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +lean_dec(x_81); lean_inc(x_24); -x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_unbox(x_78); -lean_dec(x_78); -if (x_79 == 0) +x_87 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_unbox(x_88); +lean_dec(x_88); +if (x_89 == 0) { -lean_object* x_80; -lean_dec(x_70); -lean_dec(x_63); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_25 = x_80; -goto block_62; +lean_object* x_90; +lean_dec(x_80); +lean_dec(x_73); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_25 = x_90; +goto block_72; } else { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +lean_dec(x_87); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_82 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_63, x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_81); -if (lean_obj_tag(x_82) == 0) +x_92 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_73, x_80, x_6, x_7, x_8, x_9, x_10, x_11, x_91); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); lean_inc(x_24); -x_85 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_83, x_6, x_7, x_8, x_9, x_10, x_11, x_84); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_25 = x_86; -goto block_62; +x_95 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_94); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_25 = x_96; +goto block_72; } else { -uint8_t x_87; +uint8_t x_97; lean_dec(x_24); lean_dec(x_16); lean_dec(x_15); @@ -8298,23 +8387,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_87 = !lean_is_exclusive(x_82); -if (x_87 == 0) +x_97 = !lean_is_exclusive(x_92); +if (x_97 == 0) { -return x_82; +return x_92; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_82, 0); -x_89 = lean_ctor_get(x_82, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_82); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_92, 0); +x_99 = lean_ctor_get(x_92, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_92); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } @@ -8345,7 +8434,7 @@ x_12 = x_18; goto _start; } } -block_62: +block_72: { lean_object* x_26; lean_inc(x_11); @@ -8358,125 +8447,123 @@ lean_inc(x_14); x_26 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar(x_14, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_25); 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; uint8_t x_32; +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_st_ref_get(x_11, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); -lean_dec(x_31); -if (x_32 == 0) +x_57 = lean_st_ref_get(x_11, x_28); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 3); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); +lean_dec(x_59); +if (x_60 == 0) { -uint8_t x_33; -lean_dec(x_24); -x_33 = lean_unbox(x_27); -lean_dec(x_27); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_dec(x_29); -x_35 = 1; -x_17 = x_35; -x_18 = x_34; -goto block_22; +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_29 = x_62; +x_30 = x_61; +goto block_56; } else { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_dec(x_29); -x_37 = 0; -x_17 = x_37; -x_18 = x_36; -goto block_22; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_29, 1); -lean_inc(x_38); -lean_dec(x_29); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); lean_inc(x_24); -x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_29 = x_67; +x_30 = x_66; +goto block_56; +} +block_56: +{ +if (x_29 == 0) +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_24); +x_31 = lean_box(0); +x_32 = lean_unbox(x_27); +lean_dec(x_27); +x_33 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(x_32, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_unbox(x_34); +lean_dec(x_34); +x_17 = x_36; +x_18 = x_35; +goto block_22; +} +else +{ +uint8_t x_37; +x_37 = lean_unbox(x_27); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_38 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4; +x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_30); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) -{ -uint8_t x_42; -lean_dec(x_24); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); x_42 = lean_unbox(x_27); lean_dec(x_27); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -x_44 = 1; -x_17 = x_44; -x_18 = x_43; -goto block_22; -} -else -{ -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_39, 1); +x_43 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(x_42, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +lean_dec(x_40); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -lean_dec(x_39); -x_46 = 0; +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); x_17 = x_46; x_18 = x_45; goto block_22; } -} else { -uint8_t x_47; -x_47 = lean_unbox(x_27); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_47 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7; +x_48 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_unbox(x_27); lean_dec(x_27); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_48 = lean_ctor_get(x_39, 1); -lean_inc(x_48); -lean_dec(x_39); -x_49 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4; -x_50 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = 1; -x_17 = x_52; -x_18 = x_51; -goto block_22; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_39, 1); +x_52 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(x_51, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_50); +lean_dec(x_49); +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_dec(x_39); -x_54 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7; -x_55 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_24, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_53); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = 0; -x_17 = x_57; -x_18 = x_56; +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_17 = x_55; +x_18 = x_54; goto block_22; } } @@ -8484,7 +8571,7 @@ goto block_22; } else { -uint8_t x_58; +uint8_t x_68; lean_dec(x_24); lean_dec(x_16); lean_dec(x_15); @@ -8497,80 +8584,90 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_58 = !lean_is_exclusive(x_26); -if (x_58 == 0) +x_68 = !lean_is_exclusive(x_26); +if (x_68 == 0) { return x_26; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_26, 0); -x_60 = lean_ctor_get(x_26, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_26, 0); +x_70 = lean_ctor_get(x_26, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_26); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } } } } -static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("false"); +x_1 = lean_mk_string("resuming synthetic metavariables, mayPostpone: "); return x_1; } } -static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); +x_1 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3() { +static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("true"); +x_1 = lean_mk_string(", postponeOnError: "); return x_1; } } -static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4() { +static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); +x_1 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(uint8_t x_1) { +lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { -if (x_1 == 0) -{ -lean_object* x_2; -x_2 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2; -return x_2; -} -else -{ -lean_object* x_3; -x_3 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4; -return x_3; -} +uint8_t 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; +x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_5 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_4); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2; +x_8 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4; +x_10 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_2); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; } } static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1() { @@ -8591,509 +8688,411 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("resuming synthetic metavariables, mayPostpone: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", postponeOnError: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(uint8_t 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) { _start: { -lean_object* x_10; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_127 = lean_ctor_get(x_7, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_7, 1); -lean_inc(x_128); -x_129 = lean_ctor_get(x_7, 2); -lean_inc(x_129); -x_130 = lean_ctor_get(x_7, 3); -lean_inc(x_130); -x_131 = lean_ctor_get(x_7, 4); -lean_inc(x_131); -x_132 = lean_ctor_get(x_7, 5); -lean_inc(x_132); -x_133 = lean_ctor_get(x_7, 6); -lean_inc(x_133); -x_134 = lean_ctor_get(x_7, 7); -lean_inc(x_134); -x_135 = lean_box(0); -x_136 = l_Lean_replaceRef(x_135, x_130); -lean_dec(x_130); -lean_inc(x_127); -x_137 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_137, 0, x_127); -lean_ctor_set(x_137, 1, x_128); -lean_ctor_set(x_137, 2, x_129); -lean_ctor_set(x_137, 3, x_136); -lean_ctor_set(x_137, 4, x_131); -lean_ctor_set(x_137, 5, x_132); -lean_ctor_set(x_137, 6, x_133); -lean_ctor_set(x_137, 7, x_134); -x_138 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2; -x_139 = l_Lean_checkTraceOption(x_127, x_138); -lean_dec(x_127); -if (x_139 == 0) -{ -lean_dec(x_137); -x_10 = x_9; -goto block_126; -} -else -{ -uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_140 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_141 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_140); -x_142 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_142, 0, x_141); -x_143 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4; -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6; -x_146 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -x_147 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_1); -x_148 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_148, 0, x_147); -x_149 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12; -x_151 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_152 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_138, x_151, x_3, x_4, x_5, x_6, x_137, x_8, x_9); -lean_dec(x_137); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -lean_dec(x_152); -x_10 = x_153; -goto block_126; -} -block_126: -{ -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; uint8_t x_24; -x_11 = lean_st_ref_get(x_8, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_4, x_12); -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_10 = lean_box(x_1); +lean_inc(x_3); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___boxed), 3, 2); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_10); +x_12 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2; +lean_inc(x_7); +x_13 = l_Lean_Elab_Term_traceAtCmdPos(x_12, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 1); +x_15 = lean_st_ref_get(x_8, x_14); +x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_List_lengthAux___rarg(x_16, x_17); -x_19 = lean_st_ref_get(x_8, x_15); -x_20 = lean_ctor_get(x_19, 1); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_4, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_take(x_4, x_20); -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_is_exclusive(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_25 = lean_ctor_get(x_22, 1); +lean_dec(x_18); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_List_lengthAux___rarg(x_20, x_21); +x_23 = lean_st_ref_get(x_8, x_19); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_take(x_4, x_24); +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_26 = lean_box(0); -lean_ctor_set(x_22, 1, x_26); -x_27 = lean_st_ref_set(x_4, x_22, x_23); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = l_List_reverse___rarg(x_16); -x_30 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_29 = lean_ctor_get(x_26, 1); +lean_dec(x_29); +x_30 = lean_box(0); +lean_ctor_set(x_26, 1, x_30); +x_31 = lean_st_ref_set(x_4, x_26, x_27); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_List_reverse___rarg(x_20); +x_34 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; lean_inc(x_8); lean_inc(x_4); -x_31 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_30, x_29, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -if (lean_obj_tag(x_31) == 0) +x_35 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_34, x_33, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +if (lean_obj_tag(x_35) == 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; uint8_t x_39; -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 = lean_st_ref_get(x_8, x_33); -lean_dec(x_8); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_st_ref_take(x_4, x_35); -x_37 = lean_ctor_get(x_36, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = !lean_is_exclusive(x_37); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_32); -x_41 = l_List_append___rarg(x_40, x_32); -lean_ctor_set(x_37, 1, x_41); -x_42 = lean_st_ref_set(x_4, x_37, x_38); -lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); +lean_dec(x_35); +x_38 = lean_st_ref_get(x_8, x_37); +lean_dec(x_8); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_st_ref_take(x_4, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); if (x_43 == 0) { -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = l_List_lengthAux___rarg(x_32, x_17); -lean_dec(x_32); -x_46 = lean_nat_dec_eq(x_18, x_45); -lean_dec(x_45); -lean_dec(x_18); -if (x_46 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_36); +x_45 = l_List_append___rarg(x_44, x_36); +lean_ctor_set(x_41, 1, x_45); +x_46 = lean_st_ref_set(x_4, x_41, x_42); +lean_dec(x_4); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) { -uint8_t x_47; lean_object* x_48; -x_47 = 1; -x_48 = lean_box(x_47); -lean_ctor_set(x_42, 0, x_48); -return x_42; +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = lean_ctor_get(x_46, 0); +lean_dec(x_48); +x_49 = l_List_lengthAux___rarg(x_36, x_21); +lean_dec(x_36); +x_50 = lean_nat_dec_eq(x_22, x_49); +lean_dec(x_49); +lean_dec(x_22); +if (x_50 == 0) +{ +uint8_t x_51; lean_object* x_52; +x_51 = 1; +x_52 = lean_box(x_51); +lean_ctor_set(x_46, 0, x_52); +return x_46; } else { -uint8_t x_49; lean_object* x_50; -x_49 = 0; -x_50 = lean_box(x_49); -lean_ctor_set(x_42, 0, x_50); -return x_42; +uint8_t x_53; lean_object* x_54; +x_53 = 0; +x_54 = lean_box(x_53); +lean_ctor_set(x_46, 0, x_54); +return x_46; } } else { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_42, 1); -lean_inc(x_51); -lean_dec(x_42); -x_52 = l_List_lengthAux___rarg(x_32, x_17); -lean_dec(x_32); -x_53 = lean_nat_dec_eq(x_18, x_52); -lean_dec(x_52); -lean_dec(x_18); -if (x_53 == 0) +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_46, 1); +lean_inc(x_55); +lean_dec(x_46); +x_56 = l_List_lengthAux___rarg(x_36, x_21); +lean_dec(x_36); +x_57 = lean_nat_dec_eq(x_22, x_56); +lean_dec(x_56); +lean_dec(x_22); +if (x_57 == 0) { -uint8_t x_54; lean_object* x_55; lean_object* x_56; -x_54 = 1; -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_51); -return x_56; +uint8_t x_58; lean_object* x_59; lean_object* x_60; +x_58 = 1; +x_59 = lean_box(x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_55); +return x_60; } else { -uint8_t x_57; lean_object* x_58; lean_object* x_59; -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_51); -return x_59; +uint8_t x_61; lean_object* x_62; lean_object* x_63; +x_61 = 0; +x_62 = lean_box(x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_55); +return x_63; } } } else { -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; uint8_t x_72; -x_60 = lean_ctor_get(x_37, 0); -x_61 = lean_ctor_get(x_37, 1); -x_62 = lean_ctor_get(x_37, 2); -x_63 = lean_ctor_get(x_37, 3); -x_64 = lean_ctor_get(x_37, 4); -x_65 = lean_ctor_get(x_37, 5); +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; uint8_t x_76; +x_64 = lean_ctor_get(x_41, 0); +x_65 = lean_ctor_get(x_41, 1); +x_66 = lean_ctor_get(x_41, 2); +x_67 = lean_ctor_get(x_41, 3); +x_68 = lean_ctor_get(x_41, 4); +x_69 = lean_ctor_get(x_41, 5); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_37); -lean_inc(x_32); -x_66 = l_List_append___rarg(x_61, x_32); -x_67 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_67, 0, x_60); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_62); -lean_ctor_set(x_67, 3, x_63); -lean_ctor_set(x_67, 4, x_64); -lean_ctor_set(x_67, 5, x_65); -x_68 = lean_st_ref_set(x_4, x_67, x_38); +lean_dec(x_41); +lean_inc(x_36); +x_70 = l_List_append___rarg(x_65, x_36); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_66); +lean_ctor_set(x_71, 3, x_67); +lean_ctor_set(x_71, 4, x_68); +lean_ctor_set(x_71, 5, x_69); +x_72 = lean_st_ref_set(x_4, x_71, x_42); lean_dec(x_4); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_70 = x_68; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; } else { - lean_dec_ref(x_68); - x_70 = lean_box(0); + lean_dec_ref(x_72); + x_74 = lean_box(0); } -x_71 = l_List_lengthAux___rarg(x_32, x_17); -lean_dec(x_32); -x_72 = lean_nat_dec_eq(x_18, x_71); -lean_dec(x_71); -lean_dec(x_18); -if (x_72 == 0) +x_75 = l_List_lengthAux___rarg(x_36, x_21); +lean_dec(x_36); +x_76 = lean_nat_dec_eq(x_22, x_75); +lean_dec(x_75); +lean_dec(x_22); +if (x_76 == 0) { -uint8_t x_73; lean_object* x_74; lean_object* x_75; -x_73 = 1; -x_74 = lean_box(x_73); -if (lean_is_scalar(x_70)) { - x_75 = lean_alloc_ctor(0, 2, 0); +uint8_t x_77; lean_object* x_78; lean_object* x_79; +x_77 = 1; +x_78 = lean_box(x_77); +if (lean_is_scalar(x_74)) { + x_79 = lean_alloc_ctor(0, 2, 0); } else { - x_75 = x_70; + x_79 = x_74; } -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_69); -return x_75; +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_73); +return x_79; } else { -uint8_t x_76; lean_object* x_77; lean_object* x_78; -x_76 = 0; -x_77 = lean_box(x_76); -if (lean_is_scalar(x_70)) { - x_78 = lean_alloc_ctor(0, 2, 0); +uint8_t x_80; lean_object* x_81; lean_object* x_82; +x_80 = 0; +x_81 = lean_box(x_80); +if (lean_is_scalar(x_74)) { + x_82 = lean_alloc_ctor(0, 2, 0); } else { - x_78 = x_70; + x_82 = x_74; } -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_69); -return x_78; -} -} -} -else -{ -uint8_t x_79; -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_4); -x_79 = !lean_is_exclusive(x_31); -if (x_79 == 0) -{ -return x_31; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_31, 0); -x_81 = lean_ctor_get(x_31, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_31); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_73); return x_82; } } } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_83 = lean_ctor_get(x_22, 0); -x_84 = lean_ctor_get(x_22, 2); -x_85 = lean_ctor_get(x_22, 3); -x_86 = lean_ctor_get(x_22, 4); -x_87 = lean_ctor_get(x_22, 5); -lean_inc(x_87); -lean_inc(x_86); +uint8_t x_83; +lean_dec(x_22); +lean_dec(x_8); +lean_dec(x_4); +x_83 = !lean_is_exclusive(x_35); +if (x_83 == 0) +{ +return x_35; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_35, 0); +x_85 = lean_ctor_get(x_35, 1); lean_inc(x_85); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_22); -x_88 = lean_box(0); -x_89 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_89, 0, x_83); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_84); -lean_ctor_set(x_89, 3, x_85); -lean_ctor_set(x_89, 4, x_86); -lean_ctor_set(x_89, 5, x_87); -x_90 = lean_st_ref_set(x_4, x_89, x_23); -x_91 = lean_ctor_get(x_90, 1); +lean_dec(x_35); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_87 = lean_ctor_get(x_26, 0); +x_88 = lean_ctor_get(x_26, 2); +x_89 = lean_ctor_get(x_26, 3); +x_90 = lean_ctor_get(x_26, 4); +x_91 = lean_ctor_get(x_26, 5); lean_inc(x_91); -lean_dec(x_90); -x_92 = l_List_reverse___rarg(x_16); -x_93 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_26); +x_92 = lean_box(0); +x_93 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_93, 0, x_87); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_88); +lean_ctor_set(x_93, 3, x_89); +lean_ctor_set(x_93, 4, x_90); +lean_ctor_set(x_93, 5, x_91); +x_94 = lean_st_ref_set(x_4, x_93, x_27); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +x_96 = l_List_reverse___rarg(x_20); +x_97 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; lean_inc(x_8); lean_inc(x_4); -x_94 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_93, x_92, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_91); -if (lean_obj_tag(x_94) == 0) +x_98 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_97, x_96, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_95); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_st_ref_get(x_8, x_96); -lean_dec(x_8); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = lean_st_ref_take(x_4, x_98); -x_100 = lean_ctor_get(x_99, 0); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_100, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_100, 3); -lean_inc(x_105); -x_106 = lean_ctor_get(x_100, 4); -lean_inc(x_106); -x_107 = lean_ctor_get(x_100, 5); -lean_inc(x_107); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - lean_ctor_release(x_100, 2); - lean_ctor_release(x_100, 3); - lean_ctor_release(x_100, 4); - lean_ctor_release(x_100, 5); - x_108 = x_100; -} else { - lean_dec_ref(x_100); - x_108 = lean_box(0); -} -lean_inc(x_95); -x_109 = l_List_append___rarg(x_103, x_95); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 6, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_102); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_104); -lean_ctor_set(x_110, 3, x_105); -lean_ctor_set(x_110, 4, x_106); -lean_ctor_set(x_110, 5, x_107); -x_111 = lean_st_ref_set(x_4, x_110, x_101); -lean_dec(x_4); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -x_114 = l_List_lengthAux___rarg(x_95, x_17); -lean_dec(x_95); -x_115 = lean_nat_dec_eq(x_18, x_114); -lean_dec(x_114); -lean_dec(x_18); -if (x_115 == 0) -{ -uint8_t x_116; lean_object* x_117; lean_object* x_118; -x_116 = 1; -x_117 = lean_box(x_116); -if (lean_is_scalar(x_113)) { - x_118 = lean_alloc_ctor(0, 2, 0); -} else { - x_118 = x_113; -} -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_112); -return x_118; -} -else -{ -uint8_t x_119; lean_object* x_120; lean_object* x_121; -x_119 = 0; -x_120 = lean_box(x_119); -if (lean_is_scalar(x_113)) { - x_121 = lean_alloc_ctor(0, 2, 0); -} else { - x_121 = x_113; -} -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_112); -return x_121; -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_18); +lean_dec(x_98); +x_101 = lean_st_ref_get(x_8, x_100); lean_dec(x_8); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_st_ref_take(x_4, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +x_108 = lean_ctor_get(x_104, 2); +lean_inc(x_108); +x_109 = lean_ctor_get(x_104, 3); +lean_inc(x_109); +x_110 = lean_ctor_get(x_104, 4); +lean_inc(x_110); +x_111 = lean_ctor_get(x_104, 5); +lean_inc(x_111); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + lean_ctor_release(x_104, 2); + lean_ctor_release(x_104, 3); + lean_ctor_release(x_104, 4); + lean_ctor_release(x_104, 5); + x_112 = x_104; +} else { + lean_dec_ref(x_104); + x_112 = lean_box(0); +} +lean_inc(x_99); +x_113 = l_List_append___rarg(x_107, x_99); +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(0, 6, 0); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_106); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_108); +lean_ctor_set(x_114, 3, x_109); +lean_ctor_set(x_114, 4, x_110); +lean_ctor_set(x_114, 5, x_111); +x_115 = lean_st_ref_set(x_4, x_114, x_105); lean_dec(x_4); -x_122 = lean_ctor_get(x_94, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_94, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_124 = x_94; +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; } else { - lean_dec_ref(x_94); - x_124 = lean_box(0); + lean_dec_ref(x_115); + x_117 = lean_box(0); } -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(1, 2, 0); +x_118 = l_List_lengthAux___rarg(x_99, x_21); +lean_dec(x_99); +x_119 = lean_nat_dec_eq(x_22, x_118); +lean_dec(x_118); +lean_dec(x_22); +if (x_119 == 0) +{ +uint8_t x_120; lean_object* x_121; lean_object* x_122; +x_120 = 1; +x_121 = lean_box(x_120); +if (lean_is_scalar(x_117)) { + x_122 = lean_alloc_ctor(0, 2, 0); } else { - x_125 = x_124; + x_122 = x_117; } -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_116); +return x_122; +} +else +{ +uint8_t x_123; lean_object* x_124; lean_object* x_125; +x_123 = 0; +x_124 = lean_box(x_123); +if (lean_is_scalar(x_117)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_117; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_116); return x_125; } } +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_22); +lean_dec(x_8); +lean_dec(x_4); +x_126 = lean_ctor_get(x_98, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_98, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_128 = x_98; +} else { + lean_dec_ref(x_98); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 2, 0); +} else { + x_129 = x_128; +} +lean_ctor_set(x_129, 0, x_126); +lean_ctor_set(x_129, 1, x_127); +return x_129; +} } } } @@ -9387,58 +9386,44 @@ return x_67; } } } -lean_object* l_Lean_Elab_Term_runTactic___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) { +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___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, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_22 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_10, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_get(x_6, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_28, 5); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*2); -lean_dec(x_29); -if (x_30 == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 5); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_17 == 0) { -lean_object* x_31; lean_object* x_32; -lean_dec(x_23); -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_dec(x_27); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_32 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); -lean_dec(x_3); -x_12 = x_32; -goto block_21; +lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_dec(x_27); -x_34 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_20); +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); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -9446,332 +9431,383 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_37 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); -if (lean_obj_tag(x_37) == 0) +lean_inc(x_3); +x_24 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) { -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; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_10, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_get(x_6, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 5); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_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_st_ref_get(x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_6, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_47 = lean_apply_9(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); -if (lean_obj_tag(x_47) == 0) +x_34 = lean_apply_10(x_2, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_46); -x_51 = lean_st_ref_get(x_10, x_49); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_st_ref_take(x_6, x_52); -x_54 = lean_ctor_get(x_53, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_10, x_36); +lean_dec(x_10); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_6, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 5); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 5); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_41, 1); +lean_dec(x_46); +x_47 = l_Std_PersistentArray_push___rarg(x_22, x_35); +lean_ctor_set(x_41, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_25); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_25); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_54 = lean_ctor_get(x_41, 0); lean_inc(x_54); -x_55 = lean_ctor_get(x_54, 5); -lean_inc(x_55); -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_57 = !lean_is_exclusive(x_54); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_54, 5); -lean_dec(x_58); -x_59 = !lean_is_exclusive(x_55); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_55, 1); -lean_dec(x_60); -x_61 = l_Std_PersistentArray_push___rarg(x_35, x_50); -lean_ctor_set(x_55, 1, x_61); -x_62 = lean_st_ref_set(x_6, x_54, x_56); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_62, 0); -lean_dec(x_64); -lean_ctor_set(x_62, 0, x_38); -x_12 = x_62; -goto block_21; +lean_dec(x_41); +x_55 = l_Std_PersistentArray_push___rarg(x_22, x_35); +x_56 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); +lean_ctor_set(x_40, 5, x_56); +x_57 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_25); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_62, 1); +lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +x_63 = lean_ctor_get(x_40, 2); +x_64 = lean_ctor_get(x_40, 3); +x_65 = lean_ctor_get(x_40, 4); lean_inc(x_65); -lean_dec(x_62); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_38); -lean_ctor_set(x_66, 1, x_65); -x_12 = x_66; -goto block_21; +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_67 = lean_ctor_get(x_41, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_68 = x_41; +} else { + lean_dec_ref(x_41); + x_68 = lean_box(0); } +x_69 = l_Std_PersistentArray_push___rarg(x_22, x_35); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(0, 2, 1); +} else { + x_70 = x_68; } -else -{ -uint8_t 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_67 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); -x_68 = lean_ctor_get(x_55, 0); -lean_inc(x_68); -lean_dec(x_55); -x_69 = l_Std_PersistentArray_push___rarg(x_35, x_50); -x_70 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 0, x_67); lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_67); -lean_ctor_set(x_54, 5, x_70); -x_71 = lean_st_ref_set(x_6, x_54, x_56); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_73 = x_71; +lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_64); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_70); +x_72 = lean_st_ref_set(x_6, x_71, x_42); +lean_dec(x_6); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; } else { - lean_dec_ref(x_71); - x_73 = lean_box(0); + lean_dec_ref(x_72); + x_74 = lean_box(0); } -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); } else { - x_74 = x_73; + x_75 = x_74; } -lean_ctor_set(x_74, 0, x_38); -lean_ctor_set(x_74, 1, x_72); -x_12 = x_74; -goto block_21; +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_73); +return x_75; } } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_75 = lean_ctor_get(x_54, 0); -x_76 = lean_ctor_get(x_54, 1); -x_77 = lean_ctor_get(x_54, 2); -x_78 = lean_ctor_get(x_54, 3); -x_79 = lean_ctor_get(x_54, 4); -lean_inc(x_79); +uint8_t x_76; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_54); -x_80 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); -x_81 = lean_ctor_get(x_55, 0); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_24, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_24, 1); lean_inc(x_81); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_82 = x_55; -} else { - lean_dec_ref(x_55); - x_82 = lean_box(0); -} -x_83 = l_Std_PersistentArray_push___rarg(x_35, x_50); -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 2, 1); -} else { - x_84 = x_82; -} -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set_uint8(x_84, sizeof(void*)*2, x_80); -x_85 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_85, 0, x_75); -lean_ctor_set(x_85, 1, x_76); -lean_ctor_set(x_85, 2, x_77); -lean_ctor_set(x_85, 3, x_78); -lean_ctor_set(x_85, 4, x_79); -lean_ctor_set(x_85, 5, x_84); -x_86 = lean_st_ref_set(x_6, x_85, x_56); -x_87 = lean_ctor_get(x_86, 1); +lean_dec(x_24); +x_82 = lean_st_ref_get(x_10, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_get(x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 5); lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_38); -lean_ctor_set(x_89, 1, x_87); -x_12 = x_89; -goto block_21; -} -} -else -{ -uint8_t x_90; -lean_dec(x_46); -lean_dec(x_38); -lean_dec(x_35); -x_90 = !lean_is_exclusive(x_47); -if (x_90 == 0) -{ -x_12 = x_47; -goto block_21; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_47, 0); -x_92 = lean_ctor_get(x_47, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_47); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -x_12 = x_93; -goto block_21; -} -} -} -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; lean_object* x_102; lean_object* x_103; -x_94 = lean_ctor_get(x_37, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_37, 1); -lean_inc(x_95); -lean_dec(x_37); -x_96 = lean_st_ref_get(x_10, x_95); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_get(x_6, x_97); -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); -x_101 = lean_ctor_get(x_99, 5); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); +lean_dec(x_85); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_103 = lean_apply_9(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); -if (lean_obj_tag(x_103) == 0) +x_89 = lean_apply_10(x_2, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_10, x_91); +lean_dec(x_10); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_6, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_95, 5); +lean_dec(x_99); +x_100 = !lean_is_exclusive(x_96); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_dec(x_101); +x_102 = l_Std_PersistentArray_push___rarg(x_22, x_90); +lean_ctor_set(x_96, 1, x_102); +x_103 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set_tag(x_103, 1); +lean_ctor_set(x_103, 0, x_80); +return x_103; +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); lean_dec(x_103); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_102); -x_107 = lean_st_ref_get(x_10, x_105); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_109 = lean_st_ref_take(x_6, x_108); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_110, 5); -lean_inc(x_111); -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); -lean_dec(x_109); -x_113 = !lean_is_exclusive(x_110); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; -x_114 = lean_ctor_get(x_110, 5); -lean_dec(x_114); -x_115 = !lean_is_exclusive(x_111); -if (x_115 == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_116 = lean_ctor_get(x_111, 1); -lean_dec(x_116); -x_117 = l_Std_PersistentArray_push___rarg(x_35, x_106); -lean_ctor_set(x_111, 1, x_117); -x_118 = lean_st_ref_set(x_6, x_110, x_112); -x_119 = !lean_is_exclusive(x_118); -if (x_119 == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_118, 0); -lean_dec(x_120); -lean_ctor_set_tag(x_118, 1); -lean_ctor_set(x_118, 0, x_94); -x_12 = x_118; -goto block_21; -} -else -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_94); -lean_ctor_set(x_122, 1, x_121); -x_12 = x_122; -goto block_21; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_80); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } else { -uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_123 = lean_ctor_get_uint8(x_111, sizeof(void*)*2); -x_124 = lean_ctor_get(x_111, 0); -lean_inc(x_124); -lean_dec(x_111); -x_125 = l_Std_PersistentArray_push___rarg(x_35, x_106); -x_126 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set_uint8(x_126, sizeof(void*)*2, x_123); -lean_ctor_set(x_110, 5, x_126); -x_127 = lean_st_ref_set(x_6, x_110, x_112); +uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_109 = lean_ctor_get(x_96, 0); +lean_inc(x_109); +lean_dec(x_96); +x_110 = l_Std_PersistentArray_push___rarg(x_22, x_90); +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_108); +lean_ctor_set(x_95, 5, x_111); +x_112 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_95, 0); +x_117 = lean_ctor_get(x_95, 1); +x_118 = lean_ctor_get(x_95, 2); +x_119 = lean_ctor_get(x_95, 3); +x_120 = lean_ctor_get(x_95, 4); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_95); +x_121 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_122 = lean_ctor_get(x_96, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_123 = x_96; +} else { + lean_dec_ref(x_96); + x_123 = lean_box(0); +} +x_124 = l_Std_PersistentArray_push___rarg(x_22, x_90); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_117); +lean_ctor_set(x_126, 2, x_118); +lean_ctor_set(x_126, 3, x_119); +lean_ctor_set(x_126, 4, x_120); +lean_ctor_set(x_126, 5, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_97); +lean_dec(x_6); x_128 = lean_ctor_get(x_127, 1); lean_inc(x_128); if (lean_is_exclusive(x_127)) { @@ -9788,145 +9824,158 @@ if (lean_is_scalar(x_129)) { x_130 = x_129; lean_ctor_set_tag(x_130, 1); } -lean_ctor_set(x_130, 0, x_94); +lean_ctor_set(x_130, 0, x_80); lean_ctor_set(x_130, 1, x_128); -x_12 = x_130; -goto block_21; +return x_130; } } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_131 = lean_ctor_get(x_110, 0); -x_132 = lean_ctor_get(x_110, 1); -x_133 = lean_ctor_get(x_110, 2); -x_134 = lean_ctor_get(x_110, 3); -x_135 = lean_ctor_get(x_110, 4); -lean_inc(x_135); -lean_inc(x_134); +uint8_t x_131; +lean_dec(x_80); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_89); +if (x_131 == 0) +{ +return x_89; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_89, 0); +x_133 = lean_ctor_get(x_89, 1); lean_inc(x_133); lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_110); -x_136 = lean_ctor_get_uint8(x_111, sizeof(void*)*2); -x_137 = lean_ctor_get(x_111, 0); -lean_inc(x_137); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_138 = x_111; -} else { - lean_dec_ref(x_111); - x_138 = lean_box(0); -} -x_139 = l_Std_PersistentArray_push___rarg(x_35, x_106); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 2, 1); -} else { - x_140 = x_138; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set_uint8(x_140, sizeof(void*)*2, x_136); -x_141 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_141, 0, x_131); -lean_ctor_set(x_141, 1, x_132); -lean_ctor_set(x_141, 2, x_133); -lean_ctor_set(x_141, 3, x_134); -lean_ctor_set(x_141, 4, x_135); -lean_ctor_set(x_141, 5, x_140); -x_142 = lean_st_ref_set(x_6, x_141, x_112); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_144 = x_142; -} else { - lean_dec_ref(x_142); - x_144 = lean_box(0); -} -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(1, 2, 0); -} else { - x_145 = x_144; - lean_ctor_set_tag(x_145, 1); -} -lean_ctor_set(x_145, 0, x_94); -lean_ctor_set(x_145, 1, x_143); -x_12 = x_145; -goto block_21; +lean_dec(x_89); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } -else -{ -uint8_t x_146; -lean_dec(x_102); -lean_dec(x_94); -lean_dec(x_35); -x_146 = !lean_is_exclusive(x_103); -if (x_146 == 0) -{ -x_12 = x_103; -goto block_21; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_103, 0); -x_148 = lean_ctor_get(x_103, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_103); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_12 = x_149; -goto block_21; -} -} -} -} -block_21: +} +} +} +} +lean_object* l_Lean_Elab_Term_runTactic___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_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = 0; -x_15 = lean_box(0); -x_16 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_14, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_13); -return x_16; +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -uint8_t x_17; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +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; +} +} +} +} +lean_object* l_Lean_Elab_Term_runTactic___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__1), 11, 1); +lean_closure_set(x_15, 0, x_13); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__1(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = 0; +x_19 = lean_box(0); +x_20 = l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(x_18, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +return x_20; +} +else +{ +uint8_t x_21; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) { -return x_12; +return x_16; } 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* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -9950,7 +9999,7 @@ lean_dec(x_14); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) { -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_41; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +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_42; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; x_18 = lean_ctor_get(x_15, 0); lean_inc(x_1); x_19 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_18, x_1); @@ -9959,49 +10008,51 @@ x_20 = lean_st_ref_set(x_6, x_15, x_16); x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__1), 11, 2); -lean_closure_set(x_22, 0, x_2); -lean_closure_set(x_22, 1, x_11); -x_54 = lean_st_ref_get(x_8, x_21); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_st_ref_get(x_4, x_55); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_57, 5); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_22, 0, x_11); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__2), 11, 2); +lean_closure_set(x_23, 0, x_2); +lean_closure_set(x_23, 1, x_22); +x_55 = lean_st_ref_get(x_8, x_21); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_4, x_56); +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_ctor_get_uint8(x_58, sizeof(void*)*2); +x_59 = lean_ctor_get(x_58, 5); +lean_inc(x_59); lean_dec(x_58); -if (x_59 == 0) +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*2); +lean_dec(x_59); +if (x_60 == 0) { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_dec(x_56); +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); 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_61 = l_Lean_Elab_Tactic_run(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -x_23 = x_61; -goto block_40; +x_62 = l_Lean_Elab_Tactic_run(x_1, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_61); +x_24 = x_62; +goto block_41; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_62 = lean_ctor_get(x_56, 1); -lean_inc(x_62); -lean_dec(x_56); -x_63 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_63); +x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); -lean_dec(x_63); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -10009,873 +10060,875 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_66 = l_Lean_Elab_Tactic_run(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_65); -if (lean_obj_tag(x_66) == 0) +x_67 = l_Lean_Elab_Tactic_run(x_1, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_66); +if (lean_obj_tag(x_67) == 0) { -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; uint8_t x_75; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); +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; uint8_t x_76; +x_68 = lean_ctor_get(x_67, 0); lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_st_ref_get(x_8, x_68); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_st_ref_take(x_4, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_72, 5); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_st_ref_get(x_8, x_69); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_st_ref_take(x_4, x_71); +x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); -x_74 = lean_ctor_get(x_71, 1); +x_74 = lean_ctor_get(x_73, 5); lean_inc(x_74); -lean_dec(x_71); -x_75 = !lean_is_exclusive(x_72); -if (x_75 == 0) +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_72, 5); -lean_dec(x_76); -x_77 = !lean_is_exclusive(x_73); -if (x_77 == 0) +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_73, 5); +lean_dec(x_77); +x_78 = !lean_is_exclusive(x_74); +if (x_78 == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_78 = lean_ctor_get(x_73, 0); -x_79 = lean_ctor_get(x_73, 1); -x_80 = lean_ctor_get(x_79, 2); -lean_inc(x_80); -x_81 = lean_unsigned_to_nat(0u); -x_82 = lean_nat_dec_lt(x_81, x_80); -if (x_82 == 0) +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_79 = lean_ctor_get(x_74, 0); +x_80 = lean_ctor_get(x_74, 1); +x_81 = lean_ctor_get(x_80, 2); +lean_inc(x_81); +x_82 = lean_unsigned_to_nat(0u); +x_83 = lean_nat_dec_lt(x_82, x_81); +if (x_83 == 0) { -lean_object* x_83; uint8_t x_84; +lean_object* x_84; uint8_t x_85; +lean_dec(x_81); lean_dec(x_80); -lean_dec(x_79); lean_dec(x_1); -lean_ctor_set(x_73, 1, x_64); -x_83 = lean_st_ref_set(x_4, x_72, x_74); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) +lean_ctor_set(x_74, 1, x_65); +x_84 = lean_st_ref_set(x_4, x_73, x_75); +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_83, 0); -lean_dec(x_85); -x_86 = lean_box(0); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_67); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_83, 0, x_87); -x_41 = x_83; -goto block_53; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_84, 0); +lean_dec(x_86); +x_87 = lean_box(0); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_68); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_84, 0, x_88); +x_42 = x_84; +goto block_54; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -lean_dec(x_83); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_67); -lean_ctor_set(x_90, 1, x_89); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +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_88); -x_41 = x_91; -goto block_53; +lean_ctor_set(x_91, 0, x_68); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_89); +x_42 = x_92; +goto block_54; } } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_92 = lean_nat_sub(x_80, x_10); -lean_dec(x_80); -x_93 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_79, x_92); -lean_dec(x_92); -x_94 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_78, x_1, x_93); -lean_ctor_set(x_73, 1, x_64); -lean_ctor_set(x_73, 0, x_94); -x_95 = lean_st_ref_set(x_4, x_72, x_74); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_93 = lean_nat_sub(x_81, x_10); +lean_dec(x_81); +x_94 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_80, x_93); +lean_dec(x_93); +x_95 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_79, x_1, x_94); +lean_ctor_set(x_74, 1, x_65); +lean_ctor_set(x_74, 0, x_95); +x_96 = lean_st_ref_set(x_4, x_73, x_75); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -lean_dec(x_97); -x_98 = lean_box(0); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_67); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set(x_95, 0, x_99); -x_41 = x_95; -goto block_53; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +x_99 = lean_box(0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_68); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_96, 0, x_100); +x_42 = x_96; +goto block_54; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_95, 1); -lean_inc(x_100); -lean_dec(x_95); -x_101 = lean_box(0); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_67); -lean_ctor_set(x_102, 1, x_101); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_inc(x_101); +lean_dec(x_96); +x_102 = lean_box(0); x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -x_41 = x_103; -goto block_53; +lean_ctor_set(x_103, 0, x_68); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_101); +x_42 = x_104; +goto block_54; } } } else { -uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_104 = lean_ctor_get_uint8(x_73, sizeof(void*)*2); -x_105 = lean_ctor_get(x_73, 0); -x_106 = lean_ctor_get(x_73, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_73); -x_107 = lean_ctor_get(x_106, 2); +uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_105 = lean_ctor_get_uint8(x_74, sizeof(void*)*2); +x_106 = lean_ctor_get(x_74, 0); +x_107 = lean_ctor_get(x_74, 1); lean_inc(x_107); -x_108 = lean_unsigned_to_nat(0u); -x_109 = lean_nat_dec_lt(x_108, x_107); -if (x_109 == 0) +lean_inc(x_106); +lean_dec(x_74); +x_108 = lean_ctor_get(x_107, 2); +lean_inc(x_108); +x_109 = lean_unsigned_to_nat(0u); +x_110 = lean_nat_dec_lt(x_109, x_108); +if (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; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_108); lean_dec(x_107); -lean_dec(x_106); lean_dec(x_1); -x_110 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_110, 0, x_105); -lean_ctor_set(x_110, 1, x_64); -lean_ctor_set_uint8(x_110, sizeof(void*)*2, x_104); -lean_ctor_set(x_72, 5, x_110); -x_111 = lean_st_ref_set(x_4, x_72, x_74); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_106); +lean_ctor_set(x_111, 1, x_65); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_105); +lean_ctor_set(x_73, 5, x_111); +x_112 = lean_st_ref_set(x_4, x_73, x_75); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; } else { - lean_dec_ref(x_111); - x_113 = lean_box(0); + lean_dec_ref(x_112); + x_114 = lean_box(0); } -x_114 = lean_box(0); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_67); -lean_ctor_set(x_115, 1, x_114); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 2, 0); +x_115 = lean_box(0); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_68); +lean_ctor_set(x_116, 1, x_115); +if (lean_is_scalar(x_114)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_113; + x_117 = x_114; } -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_112); -x_41 = x_116; -goto block_53; +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_113); +x_42 = x_117; +goto block_54; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_117 = lean_nat_sub(x_107, x_10); -lean_dec(x_107); -x_118 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_106, x_117); -lean_dec(x_117); -x_119 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_105, x_1, x_118); -x_120 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_64); -lean_ctor_set_uint8(x_120, sizeof(void*)*2, x_104); -lean_ctor_set(x_72, 5, x_120); -x_121 = lean_st_ref_set(x_4, x_72, x_74); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_123 = x_121; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_118 = lean_nat_sub(x_108, x_10); +lean_dec(x_108); +x_119 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_107, x_118); +lean_dec(x_118); +x_120 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_106, x_1, x_119); +x_121 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_65); +lean_ctor_set_uint8(x_121, sizeof(void*)*2, x_105); +lean_ctor_set(x_73, 5, x_121); +x_122 = lean_st_ref_set(x_4, x_73, x_75); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; } else { - lean_dec_ref(x_121); - x_123 = lean_box(0); + lean_dec_ref(x_122); + x_124 = lean_box(0); } -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_67); -lean_ctor_set(x_125, 1, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 2, 0); +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_68); +lean_ctor_set(x_126, 1, x_125); +if (lean_is_scalar(x_124)) { + x_127 = lean_alloc_ctor(0, 2, 0); } else { - x_126 = x_123; + x_127 = x_124; } -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -x_41 = x_126; -goto block_53; +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_123); +x_42 = x_127; +goto block_54; } } } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_127 = lean_ctor_get(x_72, 0); -x_128 = lean_ctor_get(x_72, 1); -x_129 = lean_ctor_get(x_72, 2); -x_130 = lean_ctor_get(x_72, 3); -x_131 = lean_ctor_get(x_72, 4); +lean_object* 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; uint8_t x_139; +x_128 = lean_ctor_get(x_73, 0); +x_129 = lean_ctor_get(x_73, 1); +x_130 = lean_ctor_get(x_73, 2); +x_131 = lean_ctor_get(x_73, 3); +x_132 = lean_ctor_get(x_73, 4); +lean_inc(x_132); lean_inc(x_131); lean_inc(x_130); lean_inc(x_129); lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_72); -x_132 = lean_ctor_get_uint8(x_73, sizeof(void*)*2); -x_133 = lean_ctor_get(x_73, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_73, 1); +lean_dec(x_73); +x_133 = lean_ctor_get_uint8(x_74, sizeof(void*)*2); +x_134 = lean_ctor_get(x_74, 0); lean_inc(x_134); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_135 = x_73; +x_135 = lean_ctor_get(x_74, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_136 = x_74; } else { - lean_dec_ref(x_73); - x_135 = lean_box(0); + lean_dec_ref(x_74); + x_136 = lean_box(0); } -x_136 = lean_ctor_get(x_134, 2); -lean_inc(x_136); -x_137 = lean_unsigned_to_nat(0u); -x_138 = lean_nat_dec_lt(x_137, x_136); -if (x_138 == 0) +x_137 = lean_ctor_get(x_135, 2); +lean_inc(x_137); +x_138 = lean_unsigned_to_nat(0u); +x_139 = lean_nat_dec_lt(x_138, x_137); +if (x_139 == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_136); -lean_dec(x_134); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_137); +lean_dec(x_135); lean_dec(x_1); -if (lean_is_scalar(x_135)) { - x_139 = lean_alloc_ctor(0, 2, 1); +if (lean_is_scalar(x_136)) { + x_140 = lean_alloc_ctor(0, 2, 1); } else { - x_139 = x_135; + x_140 = x_136; } -lean_ctor_set(x_139, 0, x_133); -lean_ctor_set(x_139, 1, x_64); -lean_ctor_set_uint8(x_139, sizeof(void*)*2, x_132); -x_140 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_140, 0, x_127); -lean_ctor_set(x_140, 1, x_128); -lean_ctor_set(x_140, 2, x_129); -lean_ctor_set(x_140, 3, x_130); -lean_ctor_set(x_140, 4, x_131); -lean_ctor_set(x_140, 5, x_139); -x_141 = lean_st_ref_set(x_4, x_140, x_74); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_143 = x_141; +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_65); +lean_ctor_set_uint8(x_140, sizeof(void*)*2, x_133); +x_141 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_141, 0, x_128); +lean_ctor_set(x_141, 1, x_129); +lean_ctor_set(x_141, 2, x_130); +lean_ctor_set(x_141, 3, x_131); +lean_ctor_set(x_141, 4, x_132); +lean_ctor_set(x_141, 5, x_140); +x_142 = lean_st_ref_set(x_4, x_141, x_75); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_144 = x_142; } else { - lean_dec_ref(x_141); - x_143 = lean_box(0); + lean_dec_ref(x_142); + x_144 = lean_box(0); } -x_144 = lean_box(0); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_67); -lean_ctor_set(x_145, 1, x_144); -if (lean_is_scalar(x_143)) { - x_146 = lean_alloc_ctor(0, 2, 0); +x_145 = lean_box(0); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_68); +lean_ctor_set(x_146, 1, x_145); +if (lean_is_scalar(x_144)) { + x_147 = lean_alloc_ctor(0, 2, 0); } else { - x_146 = x_143; + x_147 = x_144; } -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_142); -x_41 = x_146; -goto block_53; +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_143); +x_42 = x_147; +goto block_54; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_147 = lean_nat_sub(x_136, x_10); -lean_dec(x_136); -x_148 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_134, x_147); -lean_dec(x_147); -x_149 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_133, x_1, x_148); -if (lean_is_scalar(x_135)) { - x_150 = lean_alloc_ctor(0, 2, 1); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_148 = lean_nat_sub(x_137, x_10); +lean_dec(x_137); +x_149 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_135, x_148); +lean_dec(x_148); +x_150 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_134, x_1, x_149); +if (lean_is_scalar(x_136)) { + x_151 = lean_alloc_ctor(0, 2, 1); } else { - x_150 = x_135; + x_151 = x_136; } -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_64); -lean_ctor_set_uint8(x_150, sizeof(void*)*2, x_132); -x_151 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_151, 0, x_127); -lean_ctor_set(x_151, 1, x_128); -lean_ctor_set(x_151, 2, x_129); -lean_ctor_set(x_151, 3, x_130); -lean_ctor_set(x_151, 4, x_131); -lean_ctor_set(x_151, 5, x_150); -x_152 = lean_st_ref_set(x_4, x_151, x_74); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_154 = x_152; +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_65); +lean_ctor_set_uint8(x_151, sizeof(void*)*2, x_133); +x_152 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_152, 0, x_128); +lean_ctor_set(x_152, 1, x_129); +lean_ctor_set(x_152, 2, x_130); +lean_ctor_set(x_152, 3, x_131); +lean_ctor_set(x_152, 4, x_132); +lean_ctor_set(x_152, 5, x_151); +x_153 = lean_st_ref_set(x_4, x_152, x_75); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_155 = x_153; } else { - lean_dec_ref(x_152); - x_154 = lean_box(0); + lean_dec_ref(x_153); + x_155 = lean_box(0); } -x_155 = lean_box(0); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_67); -lean_ctor_set(x_156, 1, x_155); -if (lean_is_scalar(x_154)) { - x_157 = lean_alloc_ctor(0, 2, 0); +x_156 = lean_box(0); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_68); +lean_ctor_set(x_157, 1, x_156); +if (lean_is_scalar(x_155)) { + x_158 = lean_alloc_ctor(0, 2, 0); } else { - x_157 = x_154; + x_158 = x_155; } -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_153); -x_41 = x_157; -goto block_53; +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_154); +x_42 = x_158; +goto block_54; } } } else { -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; uint8_t x_166; -x_158 = lean_ctor_get(x_66, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_66, 1); +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; uint8_t x_167; +x_159 = lean_ctor_get(x_67, 0); lean_inc(x_159); -lean_dec(x_66); -x_160 = lean_st_ref_get(x_8, x_159); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_162 = lean_st_ref_take(x_4, x_161); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_163, 5); +x_160 = lean_ctor_get(x_67, 1); +lean_inc(x_160); +lean_dec(x_67); +x_161 = lean_st_ref_get(x_8, x_160); +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); +lean_dec(x_161); +x_163 = lean_st_ref_take(x_4, x_162); +x_164 = lean_ctor_get(x_163, 0); lean_inc(x_164); -x_165 = lean_ctor_get(x_162, 1); +x_165 = lean_ctor_get(x_164, 5); lean_inc(x_165); -lean_dec(x_162); -x_166 = !lean_is_exclusive(x_163); -if (x_166 == 0) +x_166 = lean_ctor_get(x_163, 1); +lean_inc(x_166); +lean_dec(x_163); +x_167 = !lean_is_exclusive(x_164); +if (x_167 == 0) { -lean_object* x_167; uint8_t x_168; -x_167 = lean_ctor_get(x_163, 5); -lean_dec(x_167); -x_168 = !lean_is_exclusive(x_164); -if (x_168 == 0) +lean_object* x_168; uint8_t x_169; +x_168 = lean_ctor_get(x_164, 5); +lean_dec(x_168); +x_169 = !lean_is_exclusive(x_165); +if (x_169 == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_169 = lean_ctor_get(x_164, 0); -x_170 = lean_ctor_get(x_164, 1); -x_171 = lean_ctor_get(x_170, 2); -lean_inc(x_171); -x_172 = lean_unsigned_to_nat(0u); -x_173 = lean_nat_dec_lt(x_172, x_171); -if (x_173 == 0) +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_170 = lean_ctor_get(x_165, 0); +x_171 = lean_ctor_get(x_165, 1); +x_172 = lean_ctor_get(x_171, 2); +lean_inc(x_172); +x_173 = lean_unsigned_to_nat(0u); +x_174 = lean_nat_dec_lt(x_173, x_172); +if (x_174 == 0) { -lean_object* x_174; uint8_t x_175; +lean_object* x_175; uint8_t x_176; +lean_dec(x_172); lean_dec(x_171); -lean_dec(x_170); lean_dec(x_1); -lean_ctor_set(x_164, 1, x_64); -x_174 = lean_st_ref_set(x_4, x_163, x_165); -x_175 = !lean_is_exclusive(x_174); -if (x_175 == 0) +lean_ctor_set(x_165, 1, x_65); +x_175 = lean_st_ref_set(x_4, x_164, x_166); +x_176 = !lean_is_exclusive(x_175); +if (x_176 == 0) { -lean_object* x_176; -x_176 = lean_ctor_get(x_174, 0); -lean_dec(x_176); -lean_ctor_set_tag(x_174, 1); -lean_ctor_set(x_174, 0, x_158); -x_41 = x_174; -goto block_53; +lean_object* x_177; +x_177 = lean_ctor_get(x_175, 0); +lean_dec(x_177); +lean_ctor_set_tag(x_175, 1); +lean_ctor_set(x_175, 0, x_159); +x_42 = x_175; +goto block_54; } else { -lean_object* x_177; lean_object* x_178; -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -lean_dec(x_174); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_158); -lean_ctor_set(x_178, 1, x_177); -x_41 = x_178; -goto block_53; +lean_object* x_178; lean_object* x_179; +x_178 = lean_ctor_get(x_175, 1); +lean_inc(x_178); +lean_dec(x_175); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_159); +lean_ctor_set(x_179, 1, x_178); +x_42 = x_179; +goto block_54; } } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_179 = lean_nat_sub(x_171, x_10); -lean_dec(x_171); -x_180 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_170, x_179); -lean_dec(x_179); -x_181 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_169, x_1, x_180); -lean_ctor_set(x_164, 1, x_64); -lean_ctor_set(x_164, 0, x_181); -x_182 = lean_st_ref_set(x_4, x_163, x_165); -x_183 = !lean_is_exclusive(x_182); -if (x_183 == 0) +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; +x_180 = lean_nat_sub(x_172, x_10); +lean_dec(x_172); +x_181 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_171, x_180); +lean_dec(x_180); +x_182 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_170, x_1, x_181); +lean_ctor_set(x_165, 1, x_65); +lean_ctor_set(x_165, 0, x_182); +x_183 = lean_st_ref_set(x_4, x_164, x_166); +x_184 = !lean_is_exclusive(x_183); +if (x_184 == 0) { -lean_object* x_184; -x_184 = lean_ctor_get(x_182, 0); -lean_dec(x_184); -lean_ctor_set_tag(x_182, 1); -lean_ctor_set(x_182, 0, x_158); -x_41 = x_182; -goto block_53; +lean_object* x_185; +x_185 = lean_ctor_get(x_183, 0); +lean_dec(x_185); +lean_ctor_set_tag(x_183, 1); +lean_ctor_set(x_183, 0, x_159); +x_42 = x_183; +goto block_54; } 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(1, 2, 0); -lean_ctor_set(x_186, 0, x_158); -lean_ctor_set(x_186, 1, x_185); -x_41 = x_186; -goto block_53; +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_183, 1); +lean_inc(x_186); +lean_dec(x_183); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_159); +lean_ctor_set(x_187, 1, x_186); +x_42 = x_187; +goto block_54; } } } else { -uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get_uint8(x_164, sizeof(void*)*2); -x_188 = lean_ctor_get(x_164, 0); -x_189 = lean_ctor_get(x_164, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_164); -x_190 = lean_ctor_get(x_189, 2); +uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_188 = lean_ctor_get_uint8(x_165, sizeof(void*)*2); +x_189 = lean_ctor_get(x_165, 0); +x_190 = lean_ctor_get(x_165, 1); lean_inc(x_190); -x_191 = lean_unsigned_to_nat(0u); -x_192 = lean_nat_dec_lt(x_191, x_190); -if (x_192 == 0) +lean_inc(x_189); +lean_dec(x_165); +x_191 = lean_ctor_get(x_190, 2); +lean_inc(x_191); +x_192 = lean_unsigned_to_nat(0u); +x_193 = lean_nat_dec_lt(x_192, x_191); +if (x_193 == 0) { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_dec(x_191); lean_dec(x_190); -lean_dec(x_189); lean_dec(x_1); -x_193 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_193, 0, x_188); -lean_ctor_set(x_193, 1, x_64); -lean_ctor_set_uint8(x_193, sizeof(void*)*2, x_187); -lean_ctor_set(x_163, 5, x_193); -x_194 = lean_st_ref_set(x_4, x_163, x_165); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_196 = x_194; +x_194 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_194, 0, x_189); +lean_ctor_set(x_194, 1, x_65); +lean_ctor_set_uint8(x_194, sizeof(void*)*2, x_188); +lean_ctor_set(x_164, 5, x_194); +x_195 = lean_st_ref_set(x_4, x_164, x_166); +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_197 = x_195; } else { - lean_dec_ref(x_194); - x_196 = lean_box(0); + lean_dec_ref(x_195); + x_197 = lean_box(0); } -if (lean_is_scalar(x_196)) { - x_197 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); } else { - x_197 = x_196; - lean_ctor_set_tag(x_197, 1); + x_198 = x_197; + lean_ctor_set_tag(x_198, 1); } -lean_ctor_set(x_197, 0, x_158); -lean_ctor_set(x_197, 1, x_195); -x_41 = x_197; -goto block_53; +lean_ctor_set(x_198, 0, x_159); +lean_ctor_set(x_198, 1, x_196); +x_42 = x_198; +goto block_54; } 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; -x_198 = lean_nat_sub(x_190, x_10); -lean_dec(x_190); -x_199 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_189, x_198); -lean_dec(x_198); -x_200 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_188, x_1, x_199); -x_201 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_64); -lean_ctor_set_uint8(x_201, sizeof(void*)*2, x_187); -lean_ctor_set(x_163, 5, x_201); -x_202 = lean_st_ref_set(x_4, x_163, x_165); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_204 = x_202; +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; +x_199 = lean_nat_sub(x_191, x_10); +lean_dec(x_191); +x_200 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_190, x_199); +lean_dec(x_199); +x_201 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_189, x_1, x_200); +x_202 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_65); +lean_ctor_set_uint8(x_202, sizeof(void*)*2, x_188); +lean_ctor_set(x_164, 5, x_202); +x_203 = lean_st_ref_set(x_4, x_164, x_166); +x_204 = lean_ctor_get(x_203, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_205 = x_203; } else { - lean_dec_ref(x_202); - x_204 = lean_box(0); + lean_dec_ref(x_203); + x_205 = lean_box(0); } -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_205)) { + x_206 = lean_alloc_ctor(1, 2, 0); } else { - x_205 = x_204; - lean_ctor_set_tag(x_205, 1); + x_206 = x_205; + lean_ctor_set_tag(x_206, 1); } -lean_ctor_set(x_205, 0, x_158); -lean_ctor_set(x_205, 1, x_203); -x_41 = x_205; -goto block_53; +lean_ctor_set(x_206, 0, x_159); +lean_ctor_set(x_206, 1, x_204); +x_42 = x_206; +goto block_54; } } } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_206 = lean_ctor_get(x_163, 0); -x_207 = lean_ctor_get(x_163, 1); -x_208 = lean_ctor_get(x_163, 2); -x_209 = lean_ctor_get(x_163, 3); -x_210 = lean_ctor_get(x_163, 4); +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_207 = lean_ctor_get(x_164, 0); +x_208 = lean_ctor_get(x_164, 1); +x_209 = lean_ctor_get(x_164, 2); +x_210 = lean_ctor_get(x_164, 3); +x_211 = lean_ctor_get(x_164, 4); +lean_inc(x_211); lean_inc(x_210); lean_inc(x_209); lean_inc(x_208); lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_163); -x_211 = lean_ctor_get_uint8(x_164, sizeof(void*)*2); -x_212 = lean_ctor_get(x_164, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_164, 1); +lean_dec(x_164); +x_212 = lean_ctor_get_uint8(x_165, sizeof(void*)*2); +x_213 = lean_ctor_get(x_165, 0); lean_inc(x_213); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_214 = x_164; +x_214 = lean_ctor_get(x_165, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_215 = x_165; } else { - lean_dec_ref(x_164); - x_214 = lean_box(0); + lean_dec_ref(x_165); + x_215 = lean_box(0); } -x_215 = lean_ctor_get(x_213, 2); -lean_inc(x_215); -x_216 = lean_unsigned_to_nat(0u); -x_217 = lean_nat_dec_lt(x_216, x_215); -if (x_217 == 0) +x_216 = lean_ctor_get(x_214, 2); +lean_inc(x_216); +x_217 = lean_unsigned_to_nat(0u); +x_218 = lean_nat_dec_lt(x_217, x_216); +if (x_218 == 0) { -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_dec(x_215); -lean_dec(x_213); +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_dec(x_216); +lean_dec(x_214); lean_dec(x_1); -if (lean_is_scalar(x_214)) { - x_218 = lean_alloc_ctor(0, 2, 1); +if (lean_is_scalar(x_215)) { + x_219 = lean_alloc_ctor(0, 2, 1); } else { - x_218 = x_214; + x_219 = x_215; } -lean_ctor_set(x_218, 0, x_212); -lean_ctor_set(x_218, 1, x_64); -lean_ctor_set_uint8(x_218, sizeof(void*)*2, x_211); -x_219 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_219, 0, x_206); -lean_ctor_set(x_219, 1, x_207); -lean_ctor_set(x_219, 2, x_208); -lean_ctor_set(x_219, 3, x_209); -lean_ctor_set(x_219, 4, x_210); -lean_ctor_set(x_219, 5, x_218); -x_220 = lean_st_ref_set(x_4, x_219, x_165); -x_221 = lean_ctor_get(x_220, 1); -lean_inc(x_221); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_222 = x_220; +lean_ctor_set(x_219, 0, x_213); +lean_ctor_set(x_219, 1, x_65); +lean_ctor_set_uint8(x_219, sizeof(void*)*2, x_212); +x_220 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_220, 0, x_207); +lean_ctor_set(x_220, 1, x_208); +lean_ctor_set(x_220, 2, x_209); +lean_ctor_set(x_220, 3, x_210); +lean_ctor_set(x_220, 4, x_211); +lean_ctor_set(x_220, 5, x_219); +x_221 = lean_st_ref_set(x_4, x_220, x_166); +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_223 = x_221; } else { - lean_dec_ref(x_220); - x_222 = lean_box(0); + lean_dec_ref(x_221); + x_223 = lean_box(0); } -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(1, 2, 0); } else { - x_223 = x_222; - lean_ctor_set_tag(x_223, 1); + x_224 = x_223; + lean_ctor_set_tag(x_224, 1); } -lean_ctor_set(x_223, 0, x_158); -lean_ctor_set(x_223, 1, x_221); -x_41 = x_223; -goto block_53; +lean_ctor_set(x_224, 0, x_159); +lean_ctor_set(x_224, 1, x_222); +x_42 = x_224; +goto block_54; } 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; lean_object* x_232; -x_224 = lean_nat_sub(x_215, x_10); -lean_dec(x_215); -x_225 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_213, x_224); -lean_dec(x_224); -x_226 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_212, x_1, x_225); -if (lean_is_scalar(x_214)) { - x_227 = lean_alloc_ctor(0, 2, 1); +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_225 = lean_nat_sub(x_216, x_10); +lean_dec(x_216); +x_226 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_214, x_225); +lean_dec(x_225); +x_227 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_213, x_1, x_226); +if (lean_is_scalar(x_215)) { + x_228 = lean_alloc_ctor(0, 2, 1); } else { - x_227 = x_214; + x_228 = x_215; } -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_64); -lean_ctor_set_uint8(x_227, sizeof(void*)*2, x_211); -x_228 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_228, 0, x_206); -lean_ctor_set(x_228, 1, x_207); -lean_ctor_set(x_228, 2, x_208); -lean_ctor_set(x_228, 3, x_209); -lean_ctor_set(x_228, 4, x_210); -lean_ctor_set(x_228, 5, x_227); -x_229 = lean_st_ref_set(x_4, x_228, x_165); -x_230 = lean_ctor_get(x_229, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_229)) { - lean_ctor_release(x_229, 0); - lean_ctor_release(x_229, 1); - x_231 = x_229; +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_65); +lean_ctor_set_uint8(x_228, sizeof(void*)*2, x_212); +x_229 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_229, 0, x_207); +lean_ctor_set(x_229, 1, x_208); +lean_ctor_set(x_229, 2, x_209); +lean_ctor_set(x_229, 3, x_210); +lean_ctor_set(x_229, 4, x_211); +lean_ctor_set(x_229, 5, x_228); +x_230 = lean_st_ref_set(x_4, x_229, x_166); +x_231 = lean_ctor_get(x_230, 1); +lean_inc(x_231); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_232 = x_230; } else { - lean_dec_ref(x_229); - x_231 = lean_box(0); + lean_dec_ref(x_230); + x_232 = lean_box(0); } -if (lean_is_scalar(x_231)) { - x_232 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_232)) { + x_233 = lean_alloc_ctor(1, 2, 0); } else { - x_232 = x_231; - lean_ctor_set_tag(x_232, 1); + x_233 = x_232; + lean_ctor_set_tag(x_233, 1); } -lean_ctor_set(x_232, 0, x_158); -lean_ctor_set(x_232, 1, x_230); -x_41 = x_232; -goto block_53; +lean_ctor_set(x_233, 0, x_159); +lean_ctor_set(x_233, 1, x_231); +x_42 = x_233; +goto block_54; } } } } -block_40: +block_41: { -if (lean_obj_tag(x_23) == 0) +if (lean_obj_tag(x_24) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -x_27 = l_List_isEmpty___rarg(x_25); -if (x_27 == 0) -{ -lean_object* x_28; -lean_free_object(x_23); -x_28 = l_Lean_Elab_Term_reportUnsolvedGoals(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_28; -} -else +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = l_List_isEmpty___rarg(x_26); +if (x_28 == 0) { lean_object* x_29; -lean_dec(x_25); +lean_free_object(x_24); +x_29 = l_Lean_Elab_Term_reportUnsolvedGoals(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +return x_29; +} +else +{ +lean_object* x_30; +lean_dec(x_26); 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_box(0); -lean_ctor_set(x_23, 0, x_29); -return x_23; +x_30 = lean_box(0); +lean_ctor_set(x_24, 0, x_30); +return x_24; } } else { -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_23, 0); -x_31 = lean_ctor_get(x_23, 1); +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_23); -x_32 = l_List_isEmpty___rarg(x_30); -if (x_32 == 0) +lean_dec(x_24); +x_33 = l_List_isEmpty___rarg(x_31); +if (x_33 == 0) { -lean_object* x_33; -x_33 = l_Lean_Elab_Term_reportUnsolvedGoals(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_31); -return x_33; +lean_object* x_34; +x_34 = l_Lean_Elab_Term_reportUnsolvedGoals(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +return x_34; } else { -lean_object* x_34; lean_object* x_35; -lean_dec(x_30); +lean_object* x_35; lean_object* x_36; +lean_dec(x_31); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -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_31); -return x_35; +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_32); +return x_36; } } } else { -uint8_t x_36; +uint8_t x_37; 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_36 = !lean_is_exclusive(x_23); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_24); +if (x_37 == 0) { -return x_23; +return x_24; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_23, 0); -x_38 = lean_ctor_get(x_23, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_24, 0); +x_39 = lean_ctor_get(x_24, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_23); -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; +lean_dec(x_24); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } -block_53: +block_54: { -if (lean_obj_tag(x_41) == 0) +if (lean_obj_tag(x_42) == 0) { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -lean_dec(x_43); -lean_ctor_set(x_41, 0, x_44); -x_23 = x_41; -goto block_40; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_41, 0); -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_41); -x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_44); +lean_ctor_set(x_42, 0, x_45); +x_24 = x_42; +goto block_41; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_42, 0); +x_47 = lean_ctor_get(x_42, 1); lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_23 = x_48; -goto block_40; +lean_inc(x_46); +lean_dec(x_42); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_24 = x_49; +goto block_41; } } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_41); -if (x_49 == 0) +uint8_t x_50; +x_50 = !lean_is_exclusive(x_42); +if (x_50 == 0) { -x_23 = x_41; -goto block_40; +x_24 = x_42; +goto block_41; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_41, 0); -x_51 = lean_ctor_get(x_41, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_42, 0); +x_52 = lean_ctor_get(x_42, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_41); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_23 = x_52; -goto block_40; +lean_dec(x_42); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_24 = x_53; +goto block_41; } } } } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_255; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; -x_233 = lean_ctor_get(x_15, 0); -x_234 = lean_ctor_get(x_15, 1); -x_235 = lean_ctor_get(x_15, 2); -x_236 = lean_ctor_get(x_15, 3); +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_257; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_234 = lean_ctor_get(x_15, 0); +x_235 = lean_ctor_get(x_15, 1); +x_236 = lean_ctor_get(x_15, 2); +x_237 = lean_ctor_get(x_15, 3); +lean_inc(x_237); lean_inc(x_236); lean_inc(x_235); lean_inc(x_234); -lean_inc(x_233); lean_dec(x_15); lean_inc(x_1); -x_237 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_233, x_1); -x_238 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_234); -lean_ctor_set(x_238, 2, x_235); -lean_ctor_set(x_238, 3, x_236); -x_239 = lean_st_ref_set(x_6, x_238, x_16); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); -lean_dec(x_239); -x_241 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__1), 11, 2); -lean_closure_set(x_241, 0, x_2); -lean_closure_set(x_241, 1, x_11); -x_266 = lean_st_ref_get(x_8, x_240); -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -lean_dec(x_266); -x_268 = lean_st_ref_get(x_4, x_267); -x_269 = lean_ctor_get(x_268, 0); +x_238 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_234, x_1); +x_239 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_235); +lean_ctor_set(x_239, 2, x_236); +lean_ctor_set(x_239, 3, x_237); +x_240 = lean_st_ref_set(x_6, x_239, x_16); +x_241 = lean_ctor_get(x_240, 1); +lean_inc(x_241); +lean_dec(x_240); +x_242 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_242, 0, x_11); +x_243 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__2), 11, 2); +lean_closure_set(x_243, 0, x_2); +lean_closure_set(x_243, 1, x_242); +x_268 = lean_st_ref_get(x_8, x_241); +x_269 = lean_ctor_get(x_268, 1); lean_inc(x_269); -x_270 = lean_ctor_get(x_269, 5); -lean_inc(x_270); -lean_dec(x_269); -x_271 = lean_ctor_get_uint8(x_270, sizeof(void*)*2); -lean_dec(x_270); -if (x_271 == 0) -{ -lean_object* x_272; lean_object* x_273; -x_272 = lean_ctor_get(x_268, 1); -lean_inc(x_272); lean_dec(x_268); +x_270 = lean_st_ref_get(x_4, x_269); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_271, 5); +lean_inc(x_272); +lean_dec(x_271); +x_273 = lean_ctor_get_uint8(x_272, sizeof(void*)*2); +lean_dec(x_272); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_ctor_get(x_270, 1); +lean_inc(x_274); +lean_dec(x_270); 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_273 = l_Lean_Elab_Tactic_run(x_1, x_241, x_3, x_4, x_5, x_6, x_7, x_8, x_272); -x_242 = x_273; -goto block_254; +x_275 = l_Lean_Elab_Tactic_run(x_1, x_243, x_3, x_4, x_5, x_6, x_7, x_8, x_274); +x_244 = x_275; +goto block_256; } else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_274 = lean_ctor_get(x_268, 1); -lean_inc(x_274); -lean_dec(x_268); -x_275 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_274); -x_276 = lean_ctor_get(x_275, 0); +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_276 = lean_ctor_get(x_270, 1); lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); +lean_dec(x_270); +x_277 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_276); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -10883,457 +10936,457 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_278 = l_Lean_Elab_Tactic_run(x_1, x_241, x_3, x_4, x_5, x_6, x_7, x_8, x_277); -if (lean_obj_tag(x_278) == 0) +x_280 = l_Lean_Elab_Tactic_run(x_1, x_243, x_3, x_4, x_5, x_6, x_7, x_8, x_279); +if (lean_obj_tag(x_280) == 0) { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_278, 1); -lean_inc(x_280); -lean_dec(x_278); -x_281 = lean_st_ref_get(x_8, x_280); -x_282 = lean_ctor_get(x_281, 1); +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_281 = lean_ctor_get(x_280, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_280, 1); lean_inc(x_282); -lean_dec(x_281); -x_283 = lean_st_ref_take(x_4, x_282); -x_284 = lean_ctor_get(x_283, 0); +lean_dec(x_280); +x_283 = lean_st_ref_get(x_8, x_282); +x_284 = lean_ctor_get(x_283, 1); lean_inc(x_284); -x_285 = lean_ctor_get(x_284, 5); -lean_inc(x_285); -x_286 = lean_ctor_get(x_283, 1); -lean_inc(x_286); lean_dec(x_283); -x_287 = lean_ctor_get(x_284, 0); +x_285 = lean_st_ref_take(x_4, x_284); +x_286 = lean_ctor_get(x_285, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_286, 5); lean_inc(x_287); -x_288 = lean_ctor_get(x_284, 1); +x_288 = lean_ctor_get(x_285, 1); lean_inc(x_288); -x_289 = lean_ctor_get(x_284, 2); +lean_dec(x_285); +x_289 = lean_ctor_get(x_286, 0); lean_inc(x_289); -x_290 = lean_ctor_get(x_284, 3); +x_290 = lean_ctor_get(x_286, 1); lean_inc(x_290); -x_291 = lean_ctor_get(x_284, 4); +x_291 = lean_ctor_get(x_286, 2); lean_inc(x_291); -if (lean_is_exclusive(x_284)) { - lean_ctor_release(x_284, 0); - lean_ctor_release(x_284, 1); - lean_ctor_release(x_284, 2); - lean_ctor_release(x_284, 3); - lean_ctor_release(x_284, 4); - lean_ctor_release(x_284, 5); - x_292 = x_284; +x_292 = lean_ctor_get(x_286, 3); +lean_inc(x_292); +x_293 = lean_ctor_get(x_286, 4); +lean_inc(x_293); +if (lean_is_exclusive(x_286)) { + lean_ctor_release(x_286, 0); + lean_ctor_release(x_286, 1); + lean_ctor_release(x_286, 2); + lean_ctor_release(x_286, 3); + lean_ctor_release(x_286, 4); + lean_ctor_release(x_286, 5); + x_294 = x_286; } else { - lean_dec_ref(x_284); - x_292 = lean_box(0); + lean_dec_ref(x_286); + x_294 = lean_box(0); } -x_293 = lean_ctor_get_uint8(x_285, sizeof(void*)*2); -x_294 = lean_ctor_get(x_285, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_285, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_285)) { - lean_ctor_release(x_285, 0); - lean_ctor_release(x_285, 1); - x_296 = x_285; -} else { - lean_dec_ref(x_285); - x_296 = lean_box(0); -} -x_297 = lean_ctor_get(x_295, 2); +x_295 = lean_ctor_get_uint8(x_287, sizeof(void*)*2); +x_296 = lean_ctor_get(x_287, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_287, 1); lean_inc(x_297); -x_298 = lean_unsigned_to_nat(0u); -x_299 = lean_nat_dec_lt(x_298, x_297); -if (x_299 == 0) +if (lean_is_exclusive(x_287)) { + lean_ctor_release(x_287, 0); + lean_ctor_release(x_287, 1); + x_298 = x_287; +} else { + lean_dec_ref(x_287); + x_298 = lean_box(0); +} +x_299 = lean_ctor_get(x_297, 2); +lean_inc(x_299); +x_300 = lean_unsigned_to_nat(0u); +x_301 = lean_nat_dec_lt(x_300, x_299); +if (x_301 == 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; lean_object* x_307; +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +lean_dec(x_299); lean_dec(x_297); -lean_dec(x_295); lean_dec(x_1); -if (lean_is_scalar(x_296)) { - x_300 = lean_alloc_ctor(0, 2, 1); +if (lean_is_scalar(x_298)) { + x_302 = lean_alloc_ctor(0, 2, 1); } else { - x_300 = x_296; + x_302 = x_298; } -lean_ctor_set(x_300, 0, x_294); -lean_ctor_set(x_300, 1, x_276); -lean_ctor_set_uint8(x_300, sizeof(void*)*2, x_293); -if (lean_is_scalar(x_292)) { - x_301 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_302, 0, x_296); +lean_ctor_set(x_302, 1, x_278); +lean_ctor_set_uint8(x_302, sizeof(void*)*2, x_295); +if (lean_is_scalar(x_294)) { + x_303 = lean_alloc_ctor(0, 6, 0); } else { - x_301 = x_292; + x_303 = x_294; } -lean_ctor_set(x_301, 0, x_287); -lean_ctor_set(x_301, 1, x_288); -lean_ctor_set(x_301, 2, x_289); -lean_ctor_set(x_301, 3, x_290); -lean_ctor_set(x_301, 4, x_291); -lean_ctor_set(x_301, 5, x_300); -x_302 = lean_st_ref_set(x_4, x_301, x_286); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_304 = x_302; +lean_ctor_set(x_303, 0, x_289); +lean_ctor_set(x_303, 1, x_290); +lean_ctor_set(x_303, 2, x_291); +lean_ctor_set(x_303, 3, x_292); +lean_ctor_set(x_303, 4, x_293); +lean_ctor_set(x_303, 5, x_302); +x_304 = lean_st_ref_set(x_4, x_303, x_288); +x_305 = lean_ctor_get(x_304, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + lean_ctor_release(x_304, 1); + x_306 = x_304; } else { - lean_dec_ref(x_302); - x_304 = lean_box(0); + lean_dec_ref(x_304); + x_306 = lean_box(0); } -x_305 = lean_box(0); -x_306 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_306, 0, x_279); -lean_ctor_set(x_306, 1, x_305); -if (lean_is_scalar(x_304)) { - x_307 = lean_alloc_ctor(0, 2, 0); +x_307 = lean_box(0); +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_281); +lean_ctor_set(x_308, 1, x_307); +if (lean_is_scalar(x_306)) { + x_309 = lean_alloc_ctor(0, 2, 0); } else { - x_307 = x_304; + x_309 = x_306; } -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_303); -x_255 = x_307; -goto block_265; +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_305); +x_257 = x_309; +goto block_267; } else { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_308 = lean_nat_sub(x_297, x_10); -lean_dec(x_297); -x_309 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_295, x_308); -lean_dec(x_308); -x_310 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_294, x_1, x_309); -if (lean_is_scalar(x_296)) { - x_311 = lean_alloc_ctor(0, 2, 1); +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_310 = lean_nat_sub(x_299, x_10); +lean_dec(x_299); +x_311 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_297, x_310); +lean_dec(x_310); +x_312 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_296, x_1, x_311); +if (lean_is_scalar(x_298)) { + x_313 = lean_alloc_ctor(0, 2, 1); } else { - x_311 = x_296; + x_313 = x_298; } -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_276); -lean_ctor_set_uint8(x_311, sizeof(void*)*2, x_293); -if (lean_is_scalar(x_292)) { - x_312 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_278); +lean_ctor_set_uint8(x_313, sizeof(void*)*2, x_295); +if (lean_is_scalar(x_294)) { + x_314 = lean_alloc_ctor(0, 6, 0); } else { - x_312 = x_292; + x_314 = x_294; } -lean_ctor_set(x_312, 0, x_287); -lean_ctor_set(x_312, 1, x_288); -lean_ctor_set(x_312, 2, x_289); -lean_ctor_set(x_312, 3, x_290); -lean_ctor_set(x_312, 4, x_291); -lean_ctor_set(x_312, 5, x_311); -x_313 = lean_st_ref_set(x_4, x_312, x_286); -x_314 = lean_ctor_get(x_313, 1); -lean_inc(x_314); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_315 = x_313; +lean_ctor_set(x_314, 0, x_289); +lean_ctor_set(x_314, 1, x_290); +lean_ctor_set(x_314, 2, x_291); +lean_ctor_set(x_314, 3, x_292); +lean_ctor_set(x_314, 4, x_293); +lean_ctor_set(x_314, 5, x_313); +x_315 = lean_st_ref_set(x_4, x_314, x_288); +x_316 = lean_ctor_get(x_315, 1); +lean_inc(x_316); +if (lean_is_exclusive(x_315)) { + lean_ctor_release(x_315, 0); + lean_ctor_release(x_315, 1); + x_317 = x_315; } else { - lean_dec_ref(x_313); - x_315 = lean_box(0); + lean_dec_ref(x_315); + x_317 = lean_box(0); } -x_316 = lean_box(0); -x_317 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_317, 0, x_279); -lean_ctor_set(x_317, 1, x_316); -if (lean_is_scalar(x_315)) { - x_318 = lean_alloc_ctor(0, 2, 0); +x_318 = lean_box(0); +x_319 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_319, 0, x_281); +lean_ctor_set(x_319, 1, x_318); +if (lean_is_scalar(x_317)) { + x_320 = lean_alloc_ctor(0, 2, 0); } else { - x_318 = x_315; + x_320 = x_317; } -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_314); -x_255 = x_318; -goto block_265; +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_320, 1, x_316); +x_257 = x_320; +goto block_267; } } else { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint8_t x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; -x_319 = lean_ctor_get(x_278, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_278, 1); -lean_inc(x_320); -lean_dec(x_278); -x_321 = lean_st_ref_get(x_8, x_320); -x_322 = lean_ctor_get(x_321, 1); +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; +x_321 = lean_ctor_get(x_280, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_280, 1); lean_inc(x_322); -lean_dec(x_321); -x_323 = lean_st_ref_take(x_4, x_322); -x_324 = lean_ctor_get(x_323, 0); +lean_dec(x_280); +x_323 = lean_st_ref_get(x_8, x_322); +x_324 = lean_ctor_get(x_323, 1); lean_inc(x_324); -x_325 = lean_ctor_get(x_324, 5); -lean_inc(x_325); -x_326 = lean_ctor_get(x_323, 1); -lean_inc(x_326); lean_dec(x_323); -x_327 = lean_ctor_get(x_324, 0); +x_325 = lean_st_ref_take(x_4, x_324); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_326, 5); lean_inc(x_327); -x_328 = lean_ctor_get(x_324, 1); +x_328 = lean_ctor_get(x_325, 1); lean_inc(x_328); -x_329 = lean_ctor_get(x_324, 2); +lean_dec(x_325); +x_329 = lean_ctor_get(x_326, 0); lean_inc(x_329); -x_330 = lean_ctor_get(x_324, 3); +x_330 = lean_ctor_get(x_326, 1); lean_inc(x_330); -x_331 = lean_ctor_get(x_324, 4); +x_331 = lean_ctor_get(x_326, 2); lean_inc(x_331); -if (lean_is_exclusive(x_324)) { - lean_ctor_release(x_324, 0); - lean_ctor_release(x_324, 1); - lean_ctor_release(x_324, 2); - lean_ctor_release(x_324, 3); - lean_ctor_release(x_324, 4); - lean_ctor_release(x_324, 5); - x_332 = x_324; +x_332 = lean_ctor_get(x_326, 3); +lean_inc(x_332); +x_333 = lean_ctor_get(x_326, 4); +lean_inc(x_333); +if (lean_is_exclusive(x_326)) { + lean_ctor_release(x_326, 0); + lean_ctor_release(x_326, 1); + lean_ctor_release(x_326, 2); + lean_ctor_release(x_326, 3); + lean_ctor_release(x_326, 4); + lean_ctor_release(x_326, 5); + x_334 = x_326; } else { - lean_dec_ref(x_324); - x_332 = lean_box(0); + lean_dec_ref(x_326); + x_334 = lean_box(0); } -x_333 = lean_ctor_get_uint8(x_325, sizeof(void*)*2); -x_334 = lean_ctor_get(x_325, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_325, 1); -lean_inc(x_335); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - x_336 = x_325; -} else { - lean_dec_ref(x_325); - x_336 = lean_box(0); -} -x_337 = lean_ctor_get(x_335, 2); +x_335 = lean_ctor_get_uint8(x_327, sizeof(void*)*2); +x_336 = lean_ctor_get(x_327, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_327, 1); lean_inc(x_337); -x_338 = lean_unsigned_to_nat(0u); -x_339 = lean_nat_dec_lt(x_338, x_337); -if (x_339 == 0) +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + x_338 = x_327; +} else { + lean_dec_ref(x_327); + x_338 = lean_box(0); +} +x_339 = lean_ctor_get(x_337, 2); +lean_inc(x_339); +x_340 = lean_unsigned_to_nat(0u); +x_341 = lean_nat_dec_lt(x_340, x_339); +if (x_341 == 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_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +lean_dec(x_339); lean_dec(x_337); -lean_dec(x_335); lean_dec(x_1); -if (lean_is_scalar(x_336)) { - x_340 = lean_alloc_ctor(0, 2, 1); +if (lean_is_scalar(x_338)) { + x_342 = lean_alloc_ctor(0, 2, 1); } else { - x_340 = x_336; + x_342 = x_338; } -lean_ctor_set(x_340, 0, x_334); -lean_ctor_set(x_340, 1, x_276); -lean_ctor_set_uint8(x_340, sizeof(void*)*2, x_333); -if (lean_is_scalar(x_332)) { - x_341 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_342, 0, x_336); +lean_ctor_set(x_342, 1, x_278); +lean_ctor_set_uint8(x_342, sizeof(void*)*2, x_335); +if (lean_is_scalar(x_334)) { + x_343 = lean_alloc_ctor(0, 6, 0); } else { - x_341 = x_332; + x_343 = x_334; } -lean_ctor_set(x_341, 0, x_327); -lean_ctor_set(x_341, 1, x_328); -lean_ctor_set(x_341, 2, x_329); -lean_ctor_set(x_341, 3, x_330); -lean_ctor_set(x_341, 4, x_331); -lean_ctor_set(x_341, 5, x_340); -x_342 = lean_st_ref_set(x_4, x_341, x_326); -x_343 = lean_ctor_get(x_342, 1); -lean_inc(x_343); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_344 = x_342; +lean_ctor_set(x_343, 0, x_329); +lean_ctor_set(x_343, 1, x_330); +lean_ctor_set(x_343, 2, x_331); +lean_ctor_set(x_343, 3, x_332); +lean_ctor_set(x_343, 4, x_333); +lean_ctor_set(x_343, 5, x_342); +x_344 = lean_st_ref_set(x_4, x_343, x_328); +x_345 = lean_ctor_get(x_344, 1); +lean_inc(x_345); +if (lean_is_exclusive(x_344)) { + lean_ctor_release(x_344, 0); + lean_ctor_release(x_344, 1); + x_346 = x_344; } else { - lean_dec_ref(x_342); - x_344 = lean_box(0); + lean_dec_ref(x_344); + x_346 = lean_box(0); } -if (lean_is_scalar(x_344)) { - x_345 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_346)) { + x_347 = lean_alloc_ctor(1, 2, 0); } else { - x_345 = x_344; - lean_ctor_set_tag(x_345, 1); + x_347 = x_346; + lean_ctor_set_tag(x_347, 1); } -lean_ctor_set(x_345, 0, x_319); -lean_ctor_set(x_345, 1, x_343); -x_255 = x_345; -goto block_265; +lean_ctor_set(x_347, 0, x_321); +lean_ctor_set(x_347, 1, x_345); +x_257 = x_347; +goto block_267; } else { -lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_346 = lean_nat_sub(x_337, x_10); -lean_dec(x_337); -x_347 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_335, x_346); -lean_dec(x_346); -x_348 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_334, x_1, x_347); -if (lean_is_scalar(x_336)) { - x_349 = lean_alloc_ctor(0, 2, 1); +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_348 = lean_nat_sub(x_339, x_10); +lean_dec(x_339); +x_349 = l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1(x_337, x_348); +lean_dec(x_348); +x_350 = l_Std_PersistentHashMap_insert___at_Lean_Elab_assignInfoHoleId___spec__1(x_336, x_1, x_349); +if (lean_is_scalar(x_338)) { + x_351 = lean_alloc_ctor(0, 2, 1); } else { - x_349 = x_336; + x_351 = x_338; } -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_276); -lean_ctor_set_uint8(x_349, sizeof(void*)*2, x_333); -if (lean_is_scalar(x_332)) { - x_350 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_351, 0, x_350); +lean_ctor_set(x_351, 1, x_278); +lean_ctor_set_uint8(x_351, sizeof(void*)*2, x_335); +if (lean_is_scalar(x_334)) { + x_352 = lean_alloc_ctor(0, 6, 0); } else { - x_350 = x_332; + x_352 = x_334; } -lean_ctor_set(x_350, 0, x_327); -lean_ctor_set(x_350, 1, x_328); -lean_ctor_set(x_350, 2, x_329); -lean_ctor_set(x_350, 3, x_330); -lean_ctor_set(x_350, 4, x_331); -lean_ctor_set(x_350, 5, x_349); -x_351 = lean_st_ref_set(x_4, x_350, x_326); -x_352 = lean_ctor_get(x_351, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - x_353 = x_351; +lean_ctor_set(x_352, 0, x_329); +lean_ctor_set(x_352, 1, x_330); +lean_ctor_set(x_352, 2, x_331); +lean_ctor_set(x_352, 3, x_332); +lean_ctor_set(x_352, 4, x_333); +lean_ctor_set(x_352, 5, x_351); +x_353 = lean_st_ref_set(x_4, x_352, x_328); +x_354 = lean_ctor_get(x_353, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_355 = x_353; } else { - lean_dec_ref(x_351); - x_353 = lean_box(0); + lean_dec_ref(x_353); + x_355 = lean_box(0); } -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_355)) { + x_356 = lean_alloc_ctor(1, 2, 0); } else { - x_354 = x_353; - lean_ctor_set_tag(x_354, 1); + x_356 = x_355; + lean_ctor_set_tag(x_356, 1); } -lean_ctor_set(x_354, 0, x_319); -lean_ctor_set(x_354, 1, x_352); -x_255 = x_354; -goto block_265; +lean_ctor_set(x_356, 0, x_321); +lean_ctor_set(x_356, 1, x_354); +x_257 = x_356; +goto block_267; } } } -block_254: +block_256: { -if (lean_obj_tag(x_242) == 0) +if (lean_obj_tag(x_244) == 0) { -lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_245 = x_242; +lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_247 = x_244; } else { - lean_dec_ref(x_242); - x_245 = lean_box(0); + lean_dec_ref(x_244); + x_247 = lean_box(0); } -x_246 = l_List_isEmpty___rarg(x_243); -if (x_246 == 0) +x_248 = l_List_isEmpty___rarg(x_245); +if (x_248 == 0) { -lean_object* x_247; -lean_dec(x_245); -x_247 = l_Lean_Elab_Term_reportUnsolvedGoals(x_243, x_3, x_4, x_5, x_6, x_7, x_8, x_244); -return x_247; -} -else -{ -lean_object* x_248; lean_object* x_249; -lean_dec(x_243); -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_248 = lean_box(0); -if (lean_is_scalar(x_245)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_245; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_244); +lean_object* x_249; +lean_dec(x_247); +x_249 = l_Lean_Elab_Term_reportUnsolvedGoals(x_245, x_3, x_4, x_5, x_6, x_7, x_8, x_246); return x_249; } -} else { -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_object* x_250; lean_object* x_251; +lean_dec(x_245); 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_250 = lean_ctor_get(x_242, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_242, 1); -lean_inc(x_251); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_252 = x_242; +x_250 = lean_box(0); +if (lean_is_scalar(x_247)) { + x_251 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_242); - x_252 = lean_box(0); + x_251 = x_247; } -if (lean_is_scalar(x_252)) { - x_253 = lean_alloc_ctor(1, 2, 0); -} else { - x_253 = x_252; +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_246); +return x_251; } -lean_ctor_set(x_253, 0, x_250); -lean_ctor_set(x_253, 1, x_251); -return x_253; -} -} -block_265: -{ -if (lean_obj_tag(x_255) == 0) -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_258 = x_255; -} else { - lean_dec_ref(x_255); - x_258 = lean_box(0); -} -x_259 = lean_ctor_get(x_256, 0); -lean_inc(x_259); -lean_dec(x_256); -if (lean_is_scalar(x_258)) { - x_260 = lean_alloc_ctor(0, 2, 0); -} else { - x_260 = x_258; -} -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_257); -x_242 = x_260; -goto block_254; } else { -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_ctor_get(x_255, 0); +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +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_252 = lean_ctor_get(x_244, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_244, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_254 = x_244; +} else { + lean_dec_ref(x_244); + x_254 = lean_box(0); +} +if (lean_is_scalar(x_254)) { + x_255 = lean_alloc_ctor(1, 2, 0); +} else { + x_255 = x_254; +} +lean_ctor_set(x_255, 0, x_252); +lean_ctor_set(x_255, 1, x_253); +return x_255; +} +} +block_267: +{ +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_260 = x_257; +} else { + lean_dec_ref(x_257); + x_260 = lean_box(0); +} +x_261 = lean_ctor_get(x_258, 0); lean_inc(x_261); -x_262 = lean_ctor_get(x_255, 1); -lean_inc(x_262); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_263 = x_255; +lean_dec(x_258); +if (lean_is_scalar(x_260)) { + x_262 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_255); - x_263 = lean_box(0); + x_262 = x_260; } -if (lean_is_scalar(x_263)) { - x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_259); +x_244 = x_262; +goto block_256; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_263 = lean_ctor_get(x_257, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_257, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_265 = x_257; } else { - x_264 = x_263; + lean_dec_ref(x_257); + x_265 = lean_box(0); } -lean_ctor_set(x_264, 0, x_261); -lean_ctor_set(x_264, 1, x_262); -x_242 = x_264; -goto block_254; +if (lean_is_scalar(x_265)) { + x_266 = lean_alloc_ctor(1, 2, 0); +} else { + x_266 = x_265; +} +lean_ctor_set(x_266, 0, x_263); +lean_ctor_set(x_266, 1, x_264); +x_244 = x_266; +goto block_256; } } } @@ -11375,11 +11428,38 @@ lean_dec(x_3); return x_13; } } -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___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* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_2); +return x_3; +} +} +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__1(x_10, 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_11; +} +} +lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -11389,7 +11469,7 @@ lean_dec(x_2); return x_9; } } -lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___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* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; lean_object* x_15; @@ -11397,18 +11477,20 @@ x_13 = lean_unbox(x_1); lean_dec(x_1); x_14 = lean_unbox(x_2); lean_dec(x_2); -x_15 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_15; } } -lean_object* l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1(x_1, x_4, x_3); +lean_dec(x_3); lean_dec(x_1); -x_3 = l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2(x_2); -return x_3; +return x_5; } } lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___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) { @@ -12654,6 +12736,10 @@ l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstM lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__2); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__3 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__3(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___closed__3); +l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__1); +l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___lambda__2___closed__2); l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__1 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__1(); lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__1); l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2(); @@ -12674,10 +12760,6 @@ l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_T lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__9); l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10(); lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__10); -l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11(); -lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__11); -l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12 = _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12(); -lean_mark_persistent(l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__12); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__2___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__2___closed__1); l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__2___closed__1 = _init_l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__2___closed__1(); @@ -12706,48 +12788,52 @@ l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_repo lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___closed__3); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___closed__1(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___rarg___closed__1); +l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1 = _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__1); +l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2 = _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___lambda__1___closed__2); l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__1 = _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__1); l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__2 = _init_l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___closed__2); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__5); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__6); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__7); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__8); -l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9(); -lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__9); -l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1(); -lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1); -l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2(); -lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2); -l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3(); -lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3); -l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4(); -lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4); +l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1(); +lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__1); +l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2(); +lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__2); +l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3(); +lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__3); +l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4 = _init_l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4(); +lean_mark_persistent(l_Std_fmt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___closed__4); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__1); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__2); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__3); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__4); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__5); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__6); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__7); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__8); +l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9 = _init_l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9(); +lean_mark_persistent(l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__2___closed__9); +l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__1); +l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__2); +l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__3); +l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__4); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2); -l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3); -l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4); -l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__5); -l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__6); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___closed__1(); lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic.c b/stage0/stdlib/Lean/Elab/Tactic.c index a60697d7d6..2509dc762f 100644 --- a/stage0/stdlib/Lean/Elab/Tactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic -// Imports: Init Lean.Elab.Term Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Tactic.Induction Lean.Elab.Tactic.Generalize Lean.Elab.Tactic.Injection Lean.Elab.Tactic.Match Lean.Elab.Tactic.Rewrite Lean.Elab.Tactic.Location Lean.Elab.Tactic.Simp +// Imports: Init Lean.Elab.Term Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Tactic.Induction Lean.Elab.Tactic.Generalize Lean.Elab.Tactic.Injection Lean.Elab.Tactic.Match Lean.Elab.Tactic.Rewrite Lean.Elab.Tactic.Location Lean.Elab.Tactic.Simp Lean.Elab.Tactic.BuiltinTactic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -24,6 +24,7 @@ lean_object* initialize_Lean_Elab_Tactic_Match(lean_object*); lean_object* initialize_Lean_Elab_Tactic_Rewrite(lean_object*); lean_object* initialize_Lean_Elab_Tactic_Location(lean_object*); lean_object* initialize_Lean_Elab_Tactic_Simp(lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BuiltinTactic(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Tactic(lean_object* w) { lean_object * res; @@ -62,6 +63,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Simp(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BuiltinTactic(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)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 2b9ee4e9fb..57713fe5e4 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -14,955 +14,465 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__3; static lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2; lean_object* l_Lean_Elab_Tactic_withCaseRef(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacro___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_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* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1; size_t l_USize_add(size_t, size_t); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; -lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__8; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_focus_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* lean_erase_macro_scopes(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntroMatch(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_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__20; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__15; static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3; -lean_object* l_Lean_Elab_Tactic_evalRotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*); lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__1; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__5(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Tactic_adaptExpander___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__10; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__32; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSkip___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3; lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadTacticM___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* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalChoiceAux___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_Array_append___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__41; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__13; lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___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_getMainDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__38; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__21; -uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalFocus___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*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_object* l_Lean_Elab_Tactic_evalCase_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSkip(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalContradiction___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_SourceInfo_fromRef(lean_object*); -lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__6; -lean_object* l_Lean_Elab_Tactic_evalClear(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_expandTacticMacroFns_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* l_Lean_Elab_Tactic_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(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*, lean_object*); +static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2; +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_maxRecDepthErrorMessage; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__23; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Tactic_appendGoals___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_Tactic_pruneSolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19___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_Elab_Tactic_focus(lean_object*); -lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_focusAndDone(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(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_evalTacticAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; -lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5; lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__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*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__6; -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalUnknown(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__43; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__1; lean_object* l_Lean_Elab_Tactic_evalTacticAux(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_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Elab_goalsToMessageData___spec__1(lean_object*); lean_object* l_Lean_mkMVar(lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; -lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___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_Tactic_evalUnknown___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_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(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_mkInitialTacticInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2; lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__40; -lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object*); -lean_object* l_Lean_Elab_Tactic_forEachVar(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_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2; +static lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1; lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__10; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__36; lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getFVarId_match__1(lean_object*); -lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5; lean_object* l_Lean_Elab_Tactic_evalTactic(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_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore_x27(lean_object*); static lean_object* l_Lean_Elab_goalsToMessageData___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__39; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__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*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__9; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__12; -lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__5; -lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__35; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__7; -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3; lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___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* l_Lean_Elab_Tactic_tryCatch(lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals___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_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2(lean_object*); -lean_object* l_List_rotateLeft___rarg(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(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*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getGoals___boxed(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalFocus___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4; -lean_object* l_Lean_Elab_Tactic_evalDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3; -lean_object* l_Lean_Elab_Tactic_evalTacticAux___boxed(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_Tactic_evalTacticSeq1Indented(lean_object*); lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__4; lean_object* l_Lean_Elab_Tactic_evalTacticAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_elabSetOption___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_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11___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*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadTacticM___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*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__16; +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__7; -lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalContradiction___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(uint8_t, uint8_t); -lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(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_getFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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* l_Lean_Elab_Tactic_instMonadTacticM___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___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_liftMetaMAtMain(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___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_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___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_Tactic_withTacticInfoContext___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*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__2; -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___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_liftMetaTacticAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2; static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; -lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; lean_object* l_Lean_Elab_Tactic_saveState(lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_maxRecDepth; lean_object* l_Lean_Elab_Tactic_tryCatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2; -static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; -lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__11; lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_getMainGoal_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__31; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals___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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__3; lean_object* l_Lean_Elab_Tactic_replaceMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__2___closed__2; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_goalsToMessageData___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_object*); -uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* l_Lean_Elab_Tactic_focus_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__4; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; -lean_object* lean_local_ctx_num_indices(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; -lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4; -lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; -static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4; -lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__15; lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__18; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___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*); lean_object* l_Lean_Elab_Tactic_evalTacticAux_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4; -lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_numLitKind; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__2(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2; -lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__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*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4; -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__3; lean_object* l_Lean_Elab_Tactic_focus___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_evalFirst_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3; -lean_object* lean_local_ctx_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__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_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__6(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(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_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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_instMonadExceptExceptionTacticM; -lean_object* l_Lean_Elab_Tactic_evalFirst___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_Tactic_instMonadTacticM; -lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); static uint32_t l_Lean_Elab_Tactic_tacticElabAttribute___lambda__2___closed__1; lean_object* l_Lean_Elab_Tactic_withTacticInfoContext(lean_object*); lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__11; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(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_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___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*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__46; -lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_getFVarIds___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* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_object*); lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1; lean_object* l_Lean_Elab_Tactic_mkTacticInfo___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_Tactic_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3; -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(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_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*); -lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalDone___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2; -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__34; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___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_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instOrElseTacticM___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_Lean_Elab_Tactic_evalDone___boxed(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_Lean_Elab_Tactic_evalTacticAux___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_Elab_Tactic_evalTacticAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__8; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_abortTacticExceptionId; lean_object* l_Lean_Elab_Tactic_getGoals___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; +lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4; -lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -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* l_Lean_Elab_Tactic_evalFirst(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_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4; +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; -static 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_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__8; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; -lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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_Elab_Tactic_getMainGoal_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(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_reportUnsolvedGoals___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_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4; lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__4; -lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalChoice___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_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore___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_closeMainGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___spec__1(lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__9; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__26; lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___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_Elab_Tactic_liftMetaMAtMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2; -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__12; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2; static lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, 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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSeq1(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_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___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*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3; lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__4; lean_object* l_Lean_Elab_Tactic_getMainModule___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__8___boxed(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5; lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__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___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__3; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; -lean_object* l_Lean_Elab_Tactic_evalChoice(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_Tactic_evalIntros(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__2; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6; +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); -lean_object* l_Lean_Meta_contradiction(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_assumption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTactic___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_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__44; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalFirst___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_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Tactic_evalAllGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadTacticM___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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5; static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +lean_object* l_Lean_Elab_Tactic_evalTacticAux___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___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*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5; -static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__4; -lean_object* l_Lean_Elab_Tactic_evalRotateLeft___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3; -lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore(lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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* l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; -lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalFirst_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4; -lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__1; -lean_object* l_Lean_Elab_Tactic_evalRevert(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_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTactic___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_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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* l_Lean_Elab_Tactic_evalFocus(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_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1___closed__2; -uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; -lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1; lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__2; -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*); +static lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1; 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*); -lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17___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_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -lean_object* l_Lean_Elab_Tactic_evalOpen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic_x3f(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2; -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__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*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__24; lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1(lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal_loop_match__1(lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___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_goalsToMessageData(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getFVarIds___boxed__const__1; lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg___lambda__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_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2; -lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4; -lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_Lean_LocalDecl_index(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_object*); -lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; -lean_object* l_Lean_Elab_Tactic_evalRotateRight___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_match__1(lean_object*); -lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing___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*); -static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; -lean_object* l_Lean_Elab_Tactic_evalParen(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_macroAttribute; lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___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* l_Lean_Elab_Tactic_evalCase_match__2___rarg(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5; lean_object* lean_environment_main_module(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__37; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__2; -static lean_object* l_Lean_Elab_Tactic_evalRevert___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; -lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; -lean_object* l_Lean_Elab_Tactic_evalCase___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_Tactic_liftMetaTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__4___closed__1; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__4___boxed(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__42; lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4; -lean_object* l_Lean_Elab_Tactic_evalFirst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase_match__3(lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__11; -lean_object* l_Lean_Elab_Tactic_evalRotateLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__2; lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns(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_getKind(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4; lean_object* l_Lean_Elab_Tactic_getFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1; -uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__1; -lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__8; -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__17; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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*); lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__27; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2; static lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2; lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__10; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(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_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___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* l_Lean_Elab_Tactic_evalFailIfSuccess(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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(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_evalIntros_match__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4; lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__45; -lean_object* l_Lean_Elab_Tactic_evalChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__10; -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__33; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__5; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2; lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___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_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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* l_Lean_Elab_Tactic_withMacroExpansion___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__30; -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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_Tactic_evalTacticAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; static lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1; -static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(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_Lean_Elab_Tactic_getFVarIds___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*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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_Tactic_evalIntro_introStep(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_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___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*); -uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__14; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__6; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__5; lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux(lean_object*); lean_object* l_Lean_Elab_Tactic_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9; -lean_object* l_Lean_Elab_Tactic_evalCase_match__1(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg___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_evalCase___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__22; lean_object* l_Lean_Elab_Tactic_getFVarIds(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_introStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3; -static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___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*); +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1; lean_object* l_Lean_Elab_Tactic_closeMainGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic___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_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707_(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___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* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__8(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__29; lean_object* l_Lean_Elab_Tactic_getMainTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMacroExpansion___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_array_pop(lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns___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_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instInhabitedState; -uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTraceState___boxed(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalDone(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__3; -static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___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_Tactic_tryTactic_x3f___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_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__19; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__15; -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5; +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__6; lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4; -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__28; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__1; -lean_object* l_Lean_Elab_Tactic_evalIntros(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_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___boxed(lean_object*); -lean_object* l_Lean_Syntax_toNat(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; -lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_mod(lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__4; +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___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*); -static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1; lean_object* l_Lean_Elab_Tactic_saveState___boxed(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__14; -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; lean_object* l_Lean_Elab_Tactic_instOrElseTacticM(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__5___boxed(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2; lean_object* l_Lean_Elab_Tactic_saveState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved(lean_object*); lean_object* l_Lean_Elab_Tactic_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___lambda__1(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*); -extern lean_object* l_Lean_scopedEnvExtensionsRef; static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2; -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__1(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_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; -lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); -lean_object* lean_local_ctx_find(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; -lean_object* l_Lean_Elab_Tactic_adaptExpander___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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; uint8_t l_Lean_Elab_isAbortTacticException(lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2; -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(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_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__1; lean_object* l_Lean_Elab_Tactic_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1; -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_Lean_Elab_Tactic_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_evalIntros_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; lean_object* l_Lean_Elab_Tactic_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__6; lean_object* l_Lean_Elab_Tactic_getFVarId___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_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); -lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___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*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__12; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; -lean_object* l_Lean_Elab_Tactic_evalCase_match__2(lean_object*); -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalRevert___closed__2; lean_object* l_Lean_Elab_Tactic_orElse(lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__25; -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__16; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__2; static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1; +static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3; lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3; lean_object* l_Lean_Elab_Tactic_mkTacticInfo(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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_run___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadTacticM___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* l_Lean_Elab_Tactic_expandTacticMacro(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_expandTacticMacroFns_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___closed__1; -lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___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*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___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* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1; -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12___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_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___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_Lean_Elab_Tactic_getUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_SavedState_restore___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_Tactic_evalSeq1___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_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5; -uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalAllGoals(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_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5; +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___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*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__4(lean_object*); lean_object* l_Lean_Elab_admitGoal___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) { _start: @@ -4071,7 +3581,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -4080,23 +3590,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2() { +static lean_object* _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1; +x_1 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1; 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_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3() { +static lean_object* _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2; -x_3 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1; +x_2 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2; +x_3 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -4107,7 +3617,7 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__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* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___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) { _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; 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; @@ -4151,7 +3661,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; x_23 = lean_ctor_get(x_18, 1); lean_dec(x_23); -x_24 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; +x_24 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3; lean_ctor_set(x_18, 1, x_24); x_25 = lean_st_ref_set(x_1, x_17, x_19); x_26 = !lean_is_exclusive(x_25); @@ -4182,7 +3692,7 @@ x_30 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); x_31 = lean_ctor_get(x_18, 0); lean_inc(x_31); lean_dec(x_18); -x_32 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; +x_32 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3; x_33 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); @@ -4234,7 +3744,7 @@ if (lean_is_exclusive(x_18)) { lean_dec_ref(x_18); x_45 = lean_box(0); } -x_46 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; +x_46 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3; if (lean_is_scalar(x_45)) { x_47 = lean_alloc_ctor(0, 2, 1); } else { @@ -4272,58 +3782,52 @@ return x_52; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___boxed), 6, 0); +x_4 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___boxed), 6, 0); return x_4; } } -lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___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, lean_object* x_11) { +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_12 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); 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_get(x_10, x_14); -x_16 = lean_ctor_get(x_15, 1); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 5); lean_inc(x_16); lean_dec(x_15); -x_17 = lean_st_ref_get(x_6, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 5); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*2); -lean_dec(x_19); -if (x_20 == 0) +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_17 == 0) { -lean_object* x_21; lean_object* x_22; -lean_dec(x_13); -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -return x_22; +lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_17, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_20); +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_17); -x_24 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_23); -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); +lean_dec(x_21); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -4332,441 +3836,518 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_27 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); -if (lean_obj_tag(x_27) == 0) +x_24 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) { -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; -x_28 = lean_ctor_get(x_27, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +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_st_ref_get(x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); lean_dec(x_27); -x_30 = lean_st_ref_get(x_10, x_29); -x_31 = lean_ctor_get(x_30, 1); +x_29 = lean_st_ref_get(x_6, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); lean_dec(x_30); -x_32 = lean_st_ref_get(x_6, x_31); -x_33 = lean_ctor_get(x_32, 0); +x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 5); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); lean_inc(x_10); lean_inc(x_6); -x_37 = lean_apply_9(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); -if (lean_obj_tag(x_37) == 0) +x_34 = lean_apply_10(x_2, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_34) == 0) { -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; uint8_t x_47; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_36); -x_41 = lean_st_ref_get(x_10, x_39); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_10, x_36); lean_dec(x_10); -x_42 = lean_ctor_get(x_41, 1); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_6, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 5); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_take(x_6, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_44, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) +lean_dec(x_39); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) { -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_44, 5); -lean_dec(x_48); -x_49 = !lean_is_exclusive(x_45); +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 5); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_41, 1); +lean_dec(x_46); +x_47 = l_Std_PersistentArray_push___rarg(x_22, x_35); +lean_ctor_set(x_41, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_48); if (x_49 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_45, 1); +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); lean_dec(x_50); -x_51 = l_Std_PersistentArray_push___rarg(x_25, x_40); -lean_ctor_set(x_45, 1, x_51); -x_52 = lean_st_ref_set(x_6, x_44, x_46); -lean_dec(x_6); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_ctor_set(x_48, 0, x_25); +return x_48; +} +else { -lean_object* x_54; -x_54 = lean_ctor_get(x_52, 0); -lean_dec(x_54); -lean_ctor_set(x_52, 0, x_28); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_25); +lean_ctor_set(x_52, 1, x_51); return x_52; } +} else { -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_dec(x_52); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_28); +uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_54 = lean_ctor_get(x_41, 0); +lean_inc(x_54); +lean_dec(x_41); +x_55 = l_Std_PersistentArray_push___rarg(x_22, x_35); +x_56 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -else -{ -uint8_t 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_57 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); -x_58 = lean_ctor_get(x_45, 0); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); +lean_ctor_set(x_40, 5, x_56); +x_57 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); -lean_dec(x_45); -x_59 = l_Std_PersistentArray_push___rarg(x_25, x_40); -x_60 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set_uint8(x_60, sizeof(void*)*2, x_57); -lean_ctor_set(x_44, 5, x_60); -x_61 = lean_st_ref_set(x_6, x_44, x_46); -lean_dec(x_6); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_57); + x_59 = lean_box(0); } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_63; + x_60 = x_59; } -lean_ctor_set(x_64, 0, x_28); -lean_ctor_set(x_64, 1, x_62); -return x_64; +lean_ctor_set(x_60, 0, x_25); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_65 = lean_ctor_get(x_44, 0); -x_66 = lean_ctor_get(x_44, 1); -x_67 = lean_ctor_get(x_44, 2); -x_68 = lean_ctor_get(x_44, 3); -x_69 = lean_ctor_get(x_44, 4); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +x_63 = lean_ctor_get(x_40, 2); +x_64 = lean_ctor_get(x_40, 3); +x_65 = lean_ctor_get(x_40, 4); lean_inc(x_65); -lean_dec(x_44); -x_70 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); -x_71 = lean_ctor_get(x_45, 0); -lean_inc(x_71); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_72 = x_45; +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_67 = lean_ctor_get(x_41, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_68 = x_41; } else { - lean_dec_ref(x_45); - x_72 = lean_box(0); + lean_dec_ref(x_41); + x_68 = lean_box(0); } -x_73 = l_Std_PersistentArray_push___rarg(x_25, x_40); -if (lean_is_scalar(x_72)) { - x_74 = lean_alloc_ctor(0, 2, 1); +x_69 = l_Std_PersistentArray_push___rarg(x_22, x_35); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(0, 2, 1); } else { - x_74 = x_72; + x_70 = x_68; } -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set_uint8(x_74, sizeof(void*)*2, x_70); -x_75 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_75, 0, x_65); -lean_ctor_set(x_75, 1, x_66); -lean_ctor_set(x_75, 2, x_67); -lean_ctor_set(x_75, 3, x_68); -lean_ctor_set(x_75, 4, x_69); -lean_ctor_set(x_75, 5, x_74); -x_76 = lean_st_ref_set(x_6, x_75, x_46); +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_64); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_70); +x_72 = lean_st_ref_set(x_6, x_71, x_42); lean_dec(x_6); -x_77 = lean_ctor_get(x_76, 1); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; -} else { - lean_dec_ref(x_76); - x_78 = lean_box(0); -} -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_78; -} -lean_ctor_set(x_79, 0, x_28); -lean_ctor_set(x_79, 1, x_77); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); return x_79; } } -else -{ -uint8_t x_80; -lean_dec(x_36); -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_10); -lean_dec(x_6); -x_80 = !lean_is_exclusive(x_37); -if (x_80 == 0) -{ -return x_37; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_37, 0); -x_82 = lean_ctor_get(x_37, 1); -lean_inc(x_82); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_24, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_24, 1); lean_inc(x_81); -lean_dec(x_37); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -} -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_84 = lean_ctor_get(x_27, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_27, 1); +lean_dec(x_24); +x_82 = lean_st_ref_get(x_10, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_get(x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_27); -x_86 = lean_st_ref_get(x_10, x_85); -x_87 = lean_ctor_get(x_86, 1); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 5); lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_st_ref_get(x_6, x_87); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_89, 5); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); +lean_dec(x_85); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); lean_inc(x_10); lean_inc(x_6); -x_93 = lean_apply_9(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_90); -if (lean_obj_tag(x_93) == 0) +x_89 = lean_apply_10(x_2, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_89) == 0) { -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; uint8_t x_103; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_92); -x_97 = lean_st_ref_get(x_10, x_95); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_10, x_91); lean_dec(x_10); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = lean_st_ref_take(x_6, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_100, 5); -lean_inc(x_101); -x_102 = lean_ctor_get(x_99, 1); -lean_inc(x_102); -lean_dec(x_99); -x_103 = !lean_is_exclusive(x_100); -if (x_103 == 0) -{ -lean_object* x_104; uint8_t x_105; -x_104 = lean_ctor_get(x_100, 5); -lean_dec(x_104); -x_105 = !lean_is_exclusive(x_101); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_106 = lean_ctor_get(x_101, 1); -lean_dec(x_106); -x_107 = l_Std_PersistentArray_push___rarg(x_25, x_96); -lean_ctor_set(x_101, 1, x_107); -x_108 = lean_st_ref_set(x_6, x_100, x_102); -lean_dec(x_6); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; -x_110 = lean_ctor_get(x_108, 0); -lean_dec(x_110); -lean_ctor_set_tag(x_108, 1); -lean_ctor_set(x_108, 0, x_84); -return x_108; -} -else -{ -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_108, 1); -lean_inc(x_111); -lean_dec(x_108); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_84); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -else -{ -uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_113 = lean_ctor_get_uint8(x_101, sizeof(void*)*2); -x_114 = lean_ctor_get(x_101, 0); -lean_inc(x_114); -lean_dec(x_101); -x_115 = l_Std_PersistentArray_push___rarg(x_25, x_96); -x_116 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_113); -lean_ctor_set(x_100, 5, x_116); -x_117 = lean_st_ref_set(x_6, x_100, x_102); -lean_dec(x_6); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_119 = x_117; -} else { - lean_dec_ref(x_117); - 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_tag(x_120, 1); -} -lean_ctor_set(x_120, 0, x_84); -lean_ctor_set(x_120, 1, x_118); -return x_120; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_121 = lean_ctor_get(x_100, 0); -x_122 = lean_ctor_get(x_100, 1); -x_123 = lean_ctor_get(x_100, 2); -x_124 = lean_ctor_get(x_100, 3); -x_125 = lean_ctor_get(x_100, 4); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_100); -x_126 = lean_ctor_get_uint8(x_101, sizeof(void*)*2); -x_127 = lean_ctor_get(x_101, 0); -lean_inc(x_127); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_128 = x_101; -} else { - lean_dec_ref(x_101); - x_128 = lean_box(0); -} -x_129 = l_Std_PersistentArray_push___rarg(x_25, x_96); -if (lean_is_scalar(x_128)) { - x_130 = lean_alloc_ctor(0, 2, 1); -} else { - x_130 = x_128; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_129); -lean_ctor_set_uint8(x_130, sizeof(void*)*2, x_126); -x_131 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_131, 0, x_121); -lean_ctor_set(x_131, 1, x_122); -lean_ctor_set(x_131, 2, x_123); -lean_ctor_set(x_131, 3, x_124); -lean_ctor_set(x_131, 4, x_125); -lean_ctor_set(x_131, 5, x_130); -x_132 = lean_st_ref_set(x_6, x_131, x_102); -lean_dec(x_6); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); -} else { - x_135 = x_134; - lean_ctor_set_tag(x_135, 1); -} -lean_ctor_set(x_135, 0, x_84); -lean_ctor_set(x_135, 1, x_133); -return x_135; -} -} -else -{ -uint8_t x_136; +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); lean_dec(x_92); -lean_dec(x_84); -lean_dec(x_25); -lean_dec(x_10); -lean_dec(x_6); -x_136 = !lean_is_exclusive(x_93); -if (x_136 == 0) +x_94 = lean_st_ref_take(x_6, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) { -return x_93; +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_95, 5); +lean_dec(x_99); +x_100 = !lean_is_exclusive(x_96); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_dec(x_101); +x_102 = l_Std_PersistentArray_push___rarg(x_22, x_90); +lean_ctor_set(x_96, 1, x_102); +x_103 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set_tag(x_103, 1); +lean_ctor_set(x_103, 0, x_80); +return x_103; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_93, 0); -x_138 = lean_ctor_get(x_93, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_93); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_80); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +else +{ +uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_109 = lean_ctor_get(x_96, 0); +lean_inc(x_109); +lean_dec(x_96); +x_110 = l_Std_PersistentArray_push___rarg(x_22, x_90); +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_108); +lean_ctor_set(x_95, 5, x_111); +x_112 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_95, 0); +x_117 = lean_ctor_get(x_95, 1); +x_118 = lean_ctor_get(x_95, 2); +x_119 = lean_ctor_get(x_95, 3); +x_120 = lean_ctor_get(x_95, 4); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_95); +x_121 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_122 = lean_ctor_get(x_96, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_123 = x_96; +} else { + lean_dec_ref(x_96); + x_123 = lean_box(0); +} +x_124 = l_Std_PersistentArray_push___rarg(x_22, x_90); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_117); +lean_ctor_set(x_126, 2, x_118); +lean_ctor_set(x_126, 3, x_119); +lean_ctor_set(x_126, 4, x_120); +lean_ctor_set(x_126, 5, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_97); +lean_dec(x_6); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; + lean_ctor_set_tag(x_130, 1); +} +lean_ctor_set(x_130, 0, x_80); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +uint8_t x_131; +lean_dec(x_80); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_89); +if (x_131 == 0) +{ +return x_89; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_89, 0); +x_133 = lean_ctor_get(x_89, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_89); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } } } } } +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg), 11, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___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_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +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; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_15, 0, x_13); +x_16 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_16; +} +} lean_object* l_Lean_Elab_Tactic_withTacticInfoContext(lean_object* x_1) { _start: { @@ -4775,11 +4356,11 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg return x_2; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___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* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__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) { _start: { lean_object* x_7; -x_7 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4788,11 +4369,11 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(x_1, x_2, x_3); +x_4 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -4986,6 +4567,479 @@ return x_26; } } } +lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 5); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_20); +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); +lean_inc(x_10); +lean_inc(x_9); +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_24 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +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_st_ref_get(x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_6, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +lean_inc(x_10); +lean_inc(x_6); +x_34 = lean_apply_10(x_2, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_10, x_36); +lean_dec(x_10); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_6, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 5); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 5); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_41, 1); +lean_dec(x_46); +x_47 = l_Std_PersistentArray_push___rarg(x_22, x_35); +lean_ctor_set(x_41, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_25); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_25); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_54 = lean_ctor_get(x_41, 0); +lean_inc(x_54); +lean_dec(x_41); +x_55 = l_Std_PersistentArray_push___rarg(x_22, x_35); +x_56 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); +lean_ctor_set(x_40, 5, x_56); +x_57 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_25); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +x_63 = lean_ctor_get(x_40, 2); +x_64 = lean_ctor_get(x_40, 3); +x_65 = lean_ctor_get(x_40, 4); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_67 = lean_ctor_get(x_41, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_68 = x_41; +} else { + lean_dec_ref(x_41); + x_68 = lean_box(0); +} +x_69 = l_Std_PersistentArray_push___rarg(x_22, x_35); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(0, 2, 1); +} else { + x_70 = x_68; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_64); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_70); +x_72 = lean_st_ref_set(x_6, x_71, x_42); +lean_dec(x_6); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_24, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_24, 1); +lean_inc(x_81); +lean_dec(x_24); +x_82 = lean_st_ref_get(x_10, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_get(x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 5); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +lean_inc(x_10); +lean_inc(x_6); +x_89 = lean_apply_10(x_2, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_10, x_91); +lean_dec(x_10); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_6, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_95, 5); +lean_dec(x_99); +x_100 = !lean_is_exclusive(x_96); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_dec(x_101); +x_102 = l_Std_PersistentArray_push___rarg(x_22, x_90); +lean_ctor_set(x_96, 1, x_102); +x_103 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set_tag(x_103, 1); +lean_ctor_set(x_103, 0, x_80); +return x_103; +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_80); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +else +{ +uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_109 = lean_ctor_get(x_96, 0); +lean_inc(x_109); +lean_dec(x_96); +x_110 = l_Std_PersistentArray_push___rarg(x_22, x_90); +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_108); +lean_ctor_set(x_95, 5, x_111); +x_112 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_95, 0); +x_117 = lean_ctor_get(x_95, 1); +x_118 = lean_ctor_get(x_95, 2); +x_119 = lean_ctor_get(x_95, 3); +x_120 = lean_ctor_get(x_95, 4); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_95); +x_121 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_122 = lean_ctor_get(x_96, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_123 = x_96; +} else { + lean_dec_ref(x_96); + x_123 = lean_box(0); +} +x_124 = l_Std_PersistentArray_push___rarg(x_22, x_90); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_117); +lean_ctor_set(x_126, 2, x_118); +lean_ctor_set(x_126, 3, x_119); +lean_ctor_set(x_126, 4, x_120); +lean_ctor_set(x_126, 5, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_97); +lean_dec(x_6); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; + lean_ctor_set_tag(x_130, 1); +} +lean_ctor_set(x_130, 0, x_80); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +uint8_t x_131; +lean_dec(x_80); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_89); +if (x_131 == 0) +{ +return x_89; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_89, 0); +x_133 = lean_ctor_get(x_89, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_89); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1() { _start: { @@ -5034,7 +5088,7 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 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; uint8_t x_63; +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; x_20 = lean_ctor_get(x_3, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_3, 1); @@ -5042,43 +5096,28 @@ lean_inc(x_21); lean_dec(x_3); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_51 = lean_ctor_get(x_20, 0); -lean_inc(x_51); +lean_inc(x_2); +x_23 = lean_apply_1(x_22, x_2); +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); lean_dec(x_20); -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -lean_inc(x_52); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); +x_25 = lean_ctor_get(x_4, 0); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +lean_inc(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); lean_inc(x_2); -x_55 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_st_ref_get(x_11, x_57); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_st_ref_get(x_7, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_61, 5); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*2); -lean_dec(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_56); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -lean_dec(x_60); +x_28 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_2, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +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_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_31, 0, x_29); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -5086,478 +5125,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_2); -x_65 = lean_apply_10(x_22, x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); -x_23 = x_65; -goto block_50; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_66 = lean_ctor_get(x_60, 1); -lean_inc(x_66); -lean_dec(x_60); -x_67 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_7, x_8, x_9, x_10, x_11, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_54); -lean_inc(x_2); -x_70 = lean_apply_10(x_22, x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_st_ref_get(x_11, x_72); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_7, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 5); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_80 = lean_apply_9(x_56, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_79); -x_84 = lean_st_ref_get(x_11, x_82); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = lean_st_ref_take(x_7, x_85); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_87, 5); -lean_inc(x_88); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); -lean_dec(x_86); -x_90 = !lean_is_exclusive(x_87); -if (x_90 == 0) -{ -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_87, 5); -lean_dec(x_91); -x_92 = !lean_is_exclusive(x_88); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_93 = lean_ctor_get(x_88, 1); -lean_dec(x_93); -x_94 = l_Std_PersistentArray_push___rarg(x_68, x_83); -lean_ctor_set(x_88, 1, x_94); -x_95 = lean_st_ref_set(x_7, x_87, x_89); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ -lean_object* x_97; -x_97 = lean_ctor_get(x_95, 0); -lean_dec(x_97); -lean_ctor_set(x_95, 0, x_71); -x_23 = x_95; -goto block_50; -} -else -{ -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_71); -lean_ctor_set(x_99, 1, x_98); -x_23 = x_99; -goto block_50; -} -} -else -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_100 = lean_ctor_get_uint8(x_88, sizeof(void*)*2); -x_101 = lean_ctor_get(x_88, 0); -lean_inc(x_101); -lean_dec(x_88); -x_102 = l_Std_PersistentArray_push___rarg(x_68, x_83); -x_103 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_100); -lean_ctor_set(x_87, 5, x_103); -x_104 = lean_st_ref_set(x_7, x_87, x_89); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_106 = x_104; -} else { - lean_dec_ref(x_104); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_71); -lean_ctor_set(x_107, 1, x_105); -x_23 = x_107; -goto block_50; -} -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_108 = lean_ctor_get(x_87, 0); -x_109 = lean_ctor_get(x_87, 1); -x_110 = lean_ctor_get(x_87, 2); -x_111 = lean_ctor_get(x_87, 3); -x_112 = lean_ctor_get(x_87, 4); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_87); -x_113 = lean_ctor_get_uint8(x_88, sizeof(void*)*2); -x_114 = lean_ctor_get(x_88, 0); -lean_inc(x_114); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_115 = x_88; -} else { - lean_dec_ref(x_88); - x_115 = lean_box(0); -} -x_116 = l_Std_PersistentArray_push___rarg(x_68, x_83); -if (lean_is_scalar(x_115)) { - x_117 = lean_alloc_ctor(0, 2, 1); -} else { - x_117 = x_115; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set_uint8(x_117, sizeof(void*)*2, x_113); -x_118 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_118, 0, x_108); -lean_ctor_set(x_118, 1, x_109); -lean_ctor_set(x_118, 2, x_110); -lean_ctor_set(x_118, 3, x_111); -lean_ctor_set(x_118, 4, x_112); -lean_ctor_set(x_118, 5, x_117); -x_119 = lean_st_ref_set(x_7, x_118, x_89); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_121 = x_119; -} else { - lean_dec_ref(x_119); - x_121 = lean_box(0); -} -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(0, 2, 0); -} else { - x_122 = x_121; -} -lean_ctor_set(x_122, 0, x_71); -lean_ctor_set(x_122, 1, x_120); -x_23 = x_122; -goto block_50; -} -} -else -{ -uint8_t x_123; -lean_dec(x_79); -lean_dec(x_71); -lean_dec(x_68); -x_123 = !lean_is_exclusive(x_80); -if (x_123 == 0) -{ -x_23 = x_80; -goto block_50; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_80, 0); -x_125 = lean_ctor_get(x_80, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_80); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -x_23 = x_126; -goto block_50; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_127 = lean_ctor_get(x_70, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_70, 1); -lean_inc(x_128); -lean_dec(x_70); -x_129 = lean_st_ref_get(x_11, x_128); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = lean_st_ref_get(x_7, x_130); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_132, 5); -lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -lean_dec(x_134); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_136 = lean_apply_9(x_56, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_133); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -lean_dec(x_136); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_135); -x_140 = lean_st_ref_get(x_11, x_138); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_142 = lean_st_ref_take(x_7, x_141); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_143, 5); -lean_inc(x_144); -x_145 = lean_ctor_get(x_142, 1); -lean_inc(x_145); -lean_dec(x_142); -x_146 = !lean_is_exclusive(x_143); -if (x_146 == 0) -{ -lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_143, 5); -lean_dec(x_147); -x_148 = !lean_is_exclusive(x_144); -if (x_148 == 0) -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_149 = lean_ctor_get(x_144, 1); -lean_dec(x_149); -x_150 = l_Std_PersistentArray_push___rarg(x_68, x_139); -lean_ctor_set(x_144, 1, x_150); -x_151 = lean_st_ref_set(x_7, x_143, x_145); -x_152 = !lean_is_exclusive(x_151); -if (x_152 == 0) -{ -lean_object* x_153; -x_153 = lean_ctor_get(x_151, 0); -lean_dec(x_153); -lean_ctor_set_tag(x_151, 1); -lean_ctor_set(x_151, 0, x_127); -x_23 = x_151; -goto block_50; -} -else -{ -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_151, 1); -lean_inc(x_154); -lean_dec(x_151); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_127); -lean_ctor_set(x_155, 1, x_154); -x_23 = x_155; -goto block_50; -} -} -else -{ -uint8_t 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; -x_156 = lean_ctor_get_uint8(x_144, sizeof(void*)*2); -x_157 = lean_ctor_get(x_144, 0); -lean_inc(x_157); -lean_dec(x_144); -x_158 = l_Std_PersistentArray_push___rarg(x_68, x_139); -x_159 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set_uint8(x_159, sizeof(void*)*2, x_156); -lean_ctor_set(x_143, 5, x_159); -x_160 = lean_st_ref_set(x_7, x_143, x_145); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - lean_ctor_release(x_160, 1); - x_162 = x_160; -} else { - lean_dec_ref(x_160); - 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_tag(x_163, 1); -} -lean_ctor_set(x_163, 0, x_127); -lean_ctor_set(x_163, 1, x_161); -x_23 = x_163; -goto block_50; -} -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_164 = lean_ctor_get(x_143, 0); -x_165 = lean_ctor_get(x_143, 1); -x_166 = lean_ctor_get(x_143, 2); -x_167 = lean_ctor_get(x_143, 3); -x_168 = lean_ctor_get(x_143, 4); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_143); -x_169 = lean_ctor_get_uint8(x_144, sizeof(void*)*2); -x_170 = lean_ctor_get(x_144, 0); -lean_inc(x_170); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_171 = x_144; -} else { - lean_dec_ref(x_144); - x_171 = lean_box(0); -} -x_172 = l_Std_PersistentArray_push___rarg(x_68, x_139); -if (lean_is_scalar(x_171)) { - x_173 = lean_alloc_ctor(0, 2, 1); -} else { - x_173 = x_171; -} -lean_ctor_set(x_173, 0, x_170); -lean_ctor_set(x_173, 1, x_172); -lean_ctor_set_uint8(x_173, sizeof(void*)*2, x_169); -x_174 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_174, 0, x_164); -lean_ctor_set(x_174, 1, x_165); -lean_ctor_set(x_174, 2, x_166); -lean_ctor_set(x_174, 3, x_167); -lean_ctor_set(x_174, 4, x_168); -lean_ctor_set(x_174, 5, x_173); -x_175 = lean_st_ref_set(x_7, x_174, x_145); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_177 = x_175; -} else { - lean_dec_ref(x_175); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); -} else { - x_178 = x_177; - lean_ctor_set_tag(x_178, 1); -} -lean_ctor_set(x_178, 0, x_127); -lean_ctor_set(x_178, 1, x_176); -x_23 = x_178; -goto block_50; -} -} -else -{ -uint8_t x_179; -lean_dec(x_135); -lean_dec(x_127); -lean_dec(x_68); -x_179 = !lean_is_exclusive(x_136); -if (x_179 == 0) -{ -x_23 = x_136; -goto block_50; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_136, 0); -x_181 = lean_ctor_get(x_136, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_136); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -x_23 = x_182; -goto block_50; -} -} -} -} -block_50: -{ -if (lean_obj_tag(x_23) == 0) +x_32 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_23, x_31, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_32) == 0) { lean_dec(x_21); lean_dec(x_11); @@ -5569,18 +5138,18 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -return x_23; +return x_32; } else { -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_33; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) { if (lean_obj_tag(x_21) == 0) { -uint8_t x_25; +uint8_t x_34; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5590,79 +5159,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_23, 0); -lean_dec(x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_24); -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_dec(x_24); -x_29 = lean_ctor_get(x_23, 1); -lean_inc(x_29); -lean_dec(x_23); -lean_inc(x_1); -x_30 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_3 = x_21; -x_12 = x_31; -goto _start; -} -} -else -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_23); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 0); +lean_object* x_35; +x_35 = lean_ctor_get(x_32, 0); lean_dec(x_35); -x_36 = lean_ctor_get(x_24, 0); -lean_inc(x_36); -x_37 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_38 = lean_nat_dec_eq(x_36, x_37); -lean_dec(x_36); -if (x_38 == 0) -{ -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_23; +return x_32; } else { -lean_object* x_39; lean_object* x_40; -lean_free_object(x_23); -lean_dec(x_24); +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_33); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); lean_inc(x_1); -x_39 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +x_39 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); lean_dec(x_39); @@ -5673,18 +5198,21 @@ goto _start; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_ctor_get(x_23, 1); -lean_inc(x_42); -lean_dec(x_23); -x_43 = lean_ctor_get(x_24, 0); -lean_inc(x_43); -x_44 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_45 = lean_nat_dec_eq(x_43, x_44); -lean_dec(x_43); -if (x_45 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_32, 1); +x_44 = lean_ctor_get(x_32, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_33, 0); +lean_inc(x_45); +x_46 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_47 = lean_nat_dec_eq(x_45, x_46); +lean_dec(x_45); +if (x_47 == 0) { -lean_object* x_46; lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -5695,25 +5223,65 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_24); -lean_ctor_set(x_46, 1, x_42); -return x_46; +return x_32; } else { -lean_object* x_47; lean_object* x_48; -lean_dec(x_24); +lean_object* x_48; lean_object* x_49; +lean_free_object(x_32); +lean_dec(x_33); lean_inc(x_1); -x_47 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); +x_48 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); x_3 = x_21; -x_12 = x_48; +x_12 = x_49; goto _start; } } +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_ctor_get(x_32, 1); +lean_inc(x_51); +lean_dec(x_32); +x_52 = lean_ctor_get(x_33, 0); +lean_inc(x_52); +x_53 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_54 = lean_nat_dec_eq(x_52, x_53); +lean_dec(x_52); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_33); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_33); +lean_inc(x_1); +x_56 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_3 = x_21; +x_12 = x_57; +goto _start; +} } } } @@ -6697,7 +6265,56 @@ return x_74; } } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_inc(x_8); +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_14; +} +else +{ +uint8_t x_15; +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); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +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_Lean_Elab_Tactic_expandTacticMacroFns_loop___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) { _start: { lean_object* x_13; @@ -6769,7 +6386,7 @@ return x_18; } else { -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_32; 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; uint8_t x_48; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; x_19 = lean_ctor_get(x_2, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); @@ -6778,65 +6395,33 @@ lean_dec(x_2); x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_23 = x_21; -} else { - lean_dec_ref(x_21); - x_23 = lean_box(0); -} -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); +lean_dec(x_21); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); lean_inc(x_1); -x_25 = lean_apply_1(x_24, x_1); -x_36 = lean_ctor_get(x_19, 0); -lean_inc(x_36); +x_24 = lean_apply_1(x_23, x_1); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1), 10, 1); +lean_closure_set(x_25, 0, x_24); +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); lean_dec(x_19); -x_37 = lean_ctor_get(x_3, 0); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -lean_inc(x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); +x_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); lean_inc(x_1); -x_40 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_st_ref_get(x_6, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_46, 5); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*2); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -lean_dec(x_41); -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -lean_inc(x_9); -x_50 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_25, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); +x_30 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_33, 0, x_31); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6844,11 +6429,9 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_53 = l_Lean_Elab_Tactic_evalTacticAux(x_51, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -lean_dec(x_39); -if (lean_obj_tag(x_53) == 0) +x_34 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_25, x_33, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_34) == 0) { -lean_dec(x_23); lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -6858,542 +6441,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -return x_53; +return x_34; } else { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_26 = x_54; -x_27 = x_55; -goto block_31; -} -} -else +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_56; lean_object* x_57; -lean_dec(x_39); -x_56 = lean_ctor_get(x_50, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_50, 1); -lean_inc(x_57); -lean_dec(x_50); -x_26 = x_56; -x_27 = x_57; -goto block_31; -} -} -else +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_List_isEmpty___rarg(x_20); +if (x_38 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_119; -x_58 = lean_ctor_get(x_45, 1); -lean_inc(x_58); -lean_dec(x_45); -x_59 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, 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); -lean_inc(x_9); -x_119 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_25, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_61); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_122 = l_Lean_Elab_Tactic_evalTacticAux(x_120, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_st_ref_get(x_10, x_124); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = lean_st_ref_get(x_6, x_126); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_ctor_get(x_128, 5); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_132 = lean_apply_9(x_41, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_129); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_131); -x_136 = lean_st_ref_get(x_10, x_134); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_st_ref_take(x_6, x_137); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_139, 5); -lean_inc(x_140); -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); -lean_dec(x_138); -x_142 = !lean_is_exclusive(x_139); -if (x_142 == 0) -{ -lean_object* x_143; uint8_t x_144; -x_143 = lean_ctor_get(x_139, 5); -lean_dec(x_143); -x_144 = !lean_is_exclusive(x_140); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_145 = lean_ctor_get(x_140, 1); -lean_dec(x_145); -x_146 = l_Std_PersistentArray_push___rarg(x_60, x_135); -lean_ctor_set(x_140, 1, x_146); -x_147 = lean_st_ref_set(x_6, x_139, x_141); -x_148 = !lean_is_exclusive(x_147); -if (x_148 == 0) -{ -lean_object* x_149; -x_149 = lean_ctor_get(x_147, 0); -lean_dec(x_149); -lean_ctor_set(x_147, 0, x_123); -x_32 = x_147; -goto block_35; -} -else -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_147, 1); -lean_inc(x_150); -lean_dec(x_147); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_123); -lean_ctor_set(x_151, 1, x_150); -x_32 = x_151; -goto block_35; -} -} -else -{ -uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_152 = lean_ctor_get_uint8(x_140, sizeof(void*)*2); -x_153 = lean_ctor_get(x_140, 0); -lean_inc(x_153); -lean_dec(x_140); -x_154 = l_Std_PersistentArray_push___rarg(x_60, x_135); -x_155 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -lean_ctor_set_uint8(x_155, sizeof(void*)*2, x_152); -lean_ctor_set(x_139, 5, x_155); -x_156 = lean_st_ref_set(x_6, x_139, x_141); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_158 = x_156; -} else { - lean_dec_ref(x_156); - x_158 = lean_box(0); -} -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(0, 2, 0); -} else { - x_159 = x_158; -} -lean_ctor_set(x_159, 0, x_123); -lean_ctor_set(x_159, 1, x_157); -x_32 = x_159; -goto block_35; -} -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_160 = lean_ctor_get(x_139, 0); -x_161 = lean_ctor_get(x_139, 1); -x_162 = lean_ctor_get(x_139, 2); -x_163 = lean_ctor_get(x_139, 3); -x_164 = lean_ctor_get(x_139, 4); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_dec(x_139); -x_165 = lean_ctor_get_uint8(x_140, sizeof(void*)*2); -x_166 = lean_ctor_get(x_140, 0); -lean_inc(x_166); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_167 = x_140; -} else { - lean_dec_ref(x_140); - x_167 = lean_box(0); -} -x_168 = l_Std_PersistentArray_push___rarg(x_60, x_135); -if (lean_is_scalar(x_167)) { - x_169 = lean_alloc_ctor(0, 2, 1); -} else { - x_169 = x_167; -} -lean_ctor_set(x_169, 0, x_166); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set_uint8(x_169, sizeof(void*)*2, x_165); -x_170 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_170, 0, x_160); -lean_ctor_set(x_170, 1, x_161); -lean_ctor_set(x_170, 2, x_162); -lean_ctor_set(x_170, 3, x_163); -lean_ctor_set(x_170, 4, x_164); -lean_ctor_set(x_170, 5, x_169); -x_171 = lean_st_ref_set(x_6, x_170, x_141); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_173 = x_171; -} else { - lean_dec_ref(x_171); - x_173 = lean_box(0); -} -if (lean_is_scalar(x_173)) { - x_174 = lean_alloc_ctor(0, 2, 0); -} else { - x_174 = x_173; -} -lean_ctor_set(x_174, 0, x_123); -lean_ctor_set(x_174, 1, x_172); -x_32 = x_174; -goto block_35; -} -} -else -{ -uint8_t x_175; -lean_dec(x_131); -lean_dec(x_123); -lean_dec(x_60); -x_175 = !lean_is_exclusive(x_132); -if (x_175 == 0) -{ -x_32 = x_132; -goto block_35; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_132, 0); -x_177 = lean_ctor_get(x_132, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_132); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -x_32 = x_178; -goto block_35; -} -} -} -else -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_122, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_122, 1); -lean_inc(x_180); -lean_dec(x_122); -x_62 = x_179; -x_63 = x_180; -goto block_118; -} -} -else -{ -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_119, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_119, 1); -lean_inc(x_182); -lean_dec(x_119); -x_62 = x_181; -x_63 = x_182; -goto block_118; -} -block_118: -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_64 = lean_st_ref_get(x_10, x_63); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_st_ref_get(x_6, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 5); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_71 = lean_apply_9(x_41, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); -if (lean_obj_tag(x_71) == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_70); -x_75 = lean_st_ref_get(x_10, x_73); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_6, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_78, 5); -lean_inc(x_79); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_81 = !lean_is_exclusive(x_78); -if (x_81 == 0) -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_78, 5); -lean_dec(x_82); -x_83 = !lean_is_exclusive(x_79); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_ctor_get(x_79, 1); -lean_dec(x_84); -x_85 = l_Std_PersistentArray_push___rarg(x_60, x_74); -lean_ctor_set(x_79, 1, x_85); -x_86 = lean_st_ref_set(x_6, x_78, x_80); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -lean_object* x_88; -x_88 = lean_ctor_get(x_86, 0); -lean_dec(x_88); -lean_ctor_set_tag(x_86, 1); -lean_ctor_set(x_86, 0, x_62); -x_32 = x_86; -goto block_35; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_62); -lean_ctor_set(x_90, 1, x_89); -x_32 = x_90; -goto block_35; -} -} -else -{ -uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_91 = lean_ctor_get_uint8(x_79, sizeof(void*)*2); -x_92 = lean_ctor_get(x_79, 0); -lean_inc(x_92); -lean_dec(x_79); -x_93 = l_Std_PersistentArray_push___rarg(x_60, x_74); -x_94 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_91); -lean_ctor_set(x_78, 5, x_94); -x_95 = lean_st_ref_set(x_6, x_78, x_80); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; -} else { - lean_dec_ref(x_95); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(1, 2, 0); -} else { - x_98 = x_97; - lean_ctor_set_tag(x_98, 1); -} -lean_ctor_set(x_98, 0, x_62); -lean_ctor_set(x_98, 1, x_96); -x_32 = x_98; -goto block_35; -} -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_99 = lean_ctor_get(x_78, 0); -x_100 = lean_ctor_get(x_78, 1); -x_101 = lean_ctor_get(x_78, 2); -x_102 = lean_ctor_get(x_78, 3); -x_103 = lean_ctor_get(x_78, 4); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_78); -x_104 = lean_ctor_get_uint8(x_79, sizeof(void*)*2); -x_105 = lean_ctor_get(x_79, 0); -lean_inc(x_105); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_106 = x_79; -} else { - lean_dec_ref(x_79); - x_106 = lean_box(0); -} -x_107 = l_Std_PersistentArray_push___rarg(x_60, x_74); -if (lean_is_scalar(x_106)) { - x_108 = lean_alloc_ctor(0, 2, 1); -} else { - x_108 = x_106; -} -lean_ctor_set(x_108, 0, x_105); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_104); -x_109 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_109, 0, x_99); -lean_ctor_set(x_109, 1, x_100); -lean_ctor_set(x_109, 2, x_101); -lean_ctor_set(x_109, 3, x_102); -lean_ctor_set(x_109, 4, x_103); -lean_ctor_set(x_109, 5, x_108); -x_110 = lean_st_ref_set(x_6, x_109, x_80); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); -} else { - x_113 = x_112; - lean_ctor_set_tag(x_113, 1); -} -lean_ctor_set(x_113, 0, x_62); -lean_ctor_set(x_113, 1, x_111); -x_32 = x_113; -goto block_35; -} -} -else -{ -uint8_t x_114; -lean_dec(x_70); -lean_dec(x_62); -lean_dec(x_60); -x_114 = !lean_is_exclusive(x_71); -if (x_114 == 0) -{ -x_32 = x_71; -goto block_35; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_71, 0); -x_116 = lean_ctor_get(x_71, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_71); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_32 = x_117; -goto block_35; -} -} -} -} -block_31: -{ -uint8_t x_28; -x_28 = l_List_isEmpty___rarg(x_20); -if (x_28 == 0) -{ -lean_dec(x_26); -lean_dec(x_23); +lean_free_object(x_34); +lean_dec(x_36); x_2 = x_20; -x_11 = x_27; +x_11 = x_37; goto _start; } else { -lean_object* x_30; lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -7403,44 +6472,42 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -if (lean_is_scalar(x_23)) { - x_30 = lean_alloc_ctor(1, 2, 0); -} else { - x_30 = x_23; - lean_ctor_set_tag(x_30, 1); +return x_34; } -lean_ctor_set(x_30, 0, x_26); -lean_ctor_set(x_30, 1, x_27); -return x_30; -} -} -block_35: -{ -if (lean_obj_tag(x_32) == 0) -{ -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_32; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_26 = x_33; -x_27 = x_34; -goto block_31; +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +x_42 = l_List_isEmpty___rarg(x_20); +if (x_42 == 0) +{ +lean_dec(x_40); +x_2 = x_20; +x_11 = x_41; +goto _start; +} +else +{ +lean_object* x_44; +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} } } } @@ -7471,6 +6538,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_16) == 0) { @@ -7497,6 +6565,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_22 = !lean_is_exclusive(x_16); if (x_22 == 0) { @@ -7527,6 +6596,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_4); lean_ctor_set(x_26, 1, x_13); @@ -7572,7 +6642,136 @@ return x_19; } } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1() { +lean_object* l_Lean_Elab_Tactic_evalTacticAux___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; 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; +x_12 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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_st_ref_get(x_10, 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); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_1); +x_19 = l_Lean_Syntax_getKind(x_1); +x_20 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_21 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_20, x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_dec(x_13); +x_22 = l_Lean_Elab_Tactic_expandTacticMacro(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +return x_22; +} +else +{ +lean_object* x_23; +x_23 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_13, x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +return x_23; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_st_ref_get(x_10, x_11); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_12 = x_30; +x_13 = x_29; +goto block_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +lean_inc(x_4); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_12 = x_35; +x_13 = x_34; +goto block_24; +} +block_24: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_14 = lean_box(0); +x_15 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_1, x_14, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_1); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_1); +x_17 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_4, x_19, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_1, x_21, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +lean_dec(x_21); +return x_23; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -7580,16 +6779,16 @@ x_1 = lean_mk_string("unexpected tactic"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1; +x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7599,7 +6798,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4() { _start: { lean_object* x_1; @@ -7607,17 +6806,34 @@ x_1 = lean_mk_string("step"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3; -x_2 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4; +x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3; +x_2 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_evalTacticAux___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, lean_object* x_12) { +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__3___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -7626,205 +6842,204 @@ x_14 = lean_nat_add(x_1, x_13); x_15 = !lean_is_exclusive(x_10); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_16; x_16 = lean_ctor_get(x_10, 1); lean_dec(x_16); lean_ctor_set(x_10, 1, x_14); -x_17 = lean_st_ref_take(x_11, x_12); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_18, 1); -x_22 = lean_nat_add(x_21, x_13); -lean_ctor_set(x_18, 1, x_22); -x_23 = lean_st_ref_set(x_11, x_18, x_19); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_23, 1); -x_26 = lean_ctor_get(x_23, 0); -lean_dec(x_26); -x_27 = !lean_is_exclusive(x_6); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_6, 4); -lean_dec(x_28); -lean_ctor_set(x_6, 4, x_21); if (lean_obj_tag(x_2) == 1) { -lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_2, 0); -lean_inc(x_29); -x_30 = l_Lean_nullKind; -x_31 = lean_name_eq(x_29, x_30); -lean_dec(x_29); -if (x_31 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = l_Lean_nullKind; +x_19 = lean_name_eq(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) { -lean_object* x_32; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -lean_free_object(x_23); -x_46 = lean_st_ref_get(x_11, x_25); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); -lean_dec(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_32 = x_50; -goto block_45; +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5; +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__2___boxed), 11, 4); +lean_closure_set(x_21, 0, x_2); +lean_closure_set(x_21, 1, x_4); +lean_closure_set(x_21, 2, x_5); +lean_closure_set(x_21, 3, x_20); +x_22 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_22; } 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_46, 1); -lean_inc(x_51); -lean_dec(x_46); -x_52 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_unbox(x_54); -lean_dec(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_32 = x_56; -goto block_45; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_57 = lean_ctor_get(x_53, 1); -lean_inc(x_57); -lean_dec(x_53); -lean_inc(x_2); -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_2); -x_59 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -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_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_52, x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_57); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_32 = x_63; -goto block_45; -} -} -block_45: -{ -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; -x_33 = l_Lean_Elab_Tactic_saveState___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_st_ref_get(x_11, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -lean_dec(x_37); -lean_inc(x_2); -x_40 = l_Lean_Syntax_getKind(x_2); -x_41 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_42 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_41, x_39, x_40); -lean_dec(x_40); -lean_dec(x_39); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; -lean_dec(x_34); -x_43 = l_Lean_Elab_Tactic_expandTacticMacro(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -return x_43; -} -else -{ -lean_object* x_44; -x_44 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_34, x_2, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -return x_44; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = l_Lean_Syntax_getArgs(x_2); +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = l_Lean_Syntax_getArgs(x_2); lean_dec(x_2); -x_65 = lean_array_get_size(x_64); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_nat_dec_lt(x_66, x_65); -if (x_67 == 0) +x_24 = lean_array_get_size(x_23); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_lt(x_25, x_24); +if (x_26 == 0) { -lean_object* x_68; -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_6); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +lean_dec(x_23); lean_dec(x_5); -x_68 = lean_box(0); -lean_ctor_set(x_23, 0, x_68); -return x_23; +lean_dec(x_4); +x_27 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6; +x_28 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_28; } else { -uint8_t x_69; -x_69 = lean_nat_dec_le(x_65, x_65); -if (x_69 == 0) +uint8_t x_29; +x_29 = lean_nat_dec_le(x_24, x_24); +if (x_29 == 0) { -lean_object* x_70; -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_6); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_30; lean_object* x_31; +lean_dec(x_24); +lean_dec(x_23); lean_dec(x_5); +lean_dec(x_4); +x_30 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6; +x_31 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_31; +} +else +{ +size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1; +x_35 = lean_box_usize(x_32); +x_36 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed), 13, 6); +lean_closure_set(x_36, 0, x_23); +lean_closure_set(x_36, 1, x_34); +lean_closure_set(x_36, 2, x_35); +lean_closure_set(x_36, 3, x_33); +lean_closure_set(x_36, 4, x_4); +lean_closure_set(x_36, 5, x_5); +x_37 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_37; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_2); +x_39 = l_Lean_indentD(x_38); +x_40 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed), 10, 3); +lean_closure_set(x_44, 0, x_43); +lean_closure_set(x_44, 1, x_4); +lean_closure_set(x_44, 2, x_5); +x_45 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_10, 0); +x_47 = lean_ctor_get(x_10, 2); +x_48 = lean_ctor_get(x_10, 3); +x_49 = lean_ctor_get(x_10, 4); +x_50 = lean_ctor_get(x_10, 5); +x_51 = lean_ctor_get(x_10, 6); +x_52 = lean_ctor_get(x_10, 7); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_10); +x_53 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_53, 0, x_46); +lean_ctor_set(x_53, 1, x_14); +lean_ctor_set(x_53, 2, x_47); +lean_ctor_set(x_53, 3, x_48); +lean_ctor_set(x_53, 4, x_49); +lean_ctor_set(x_53, 5, x_50); +lean_ctor_set(x_53, 6, x_51); +lean_ctor_set(x_53, 7, x_52); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_2, 0); +lean_inc(x_54); +x_55 = l_Lean_nullKind; +x_56 = lean_name_eq(x_54, x_55); +lean_dec(x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5; +x_58 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__2___boxed), 11, 4); +lean_closure_set(x_58, 0, x_2); +lean_closure_set(x_58, 1, x_4); +lean_closure_set(x_58, 2, x_5); +lean_closure_set(x_58, 3, x_57); +x_59 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_58, x_6, x_7, x_8, x_9, x_53, x_11, x_12); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = l_Lean_Syntax_getArgs(x_2); +lean_dec(x_2); +x_61 = lean_array_get_size(x_60); +x_62 = lean_unsigned_to_nat(0u); +x_63 = lean_nat_dec_lt(x_62, x_61); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_5); +lean_dec(x_4); +x_64 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6; +x_65 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_64, x_6, x_7, x_8, x_9, x_53, x_11, x_12); +return x_65; +} +else +{ +uint8_t x_66; +x_66 = lean_nat_dec_le(x_61, x_61); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_5); +lean_dec(x_4); +x_67 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6; +x_68 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_67, x_6, x_7, x_8, x_9, x_53, x_11, x_12); +return x_68; +} +else +{ +size_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_usize_of_nat(x_61); +lean_dec(x_61); x_70 = lean_box(0); -lean_ctor_set(x_23, 0, x_70); -return x_23; -} -else -{ -size_t x_71; size_t x_72; lean_object* x_73; lean_object* x_74; -lean_free_object(x_23); -x_71 = 0; -x_72 = lean_usize_of_nat(x_65); -lean_dec(x_65); -x_73 = lean_box(0); -x_74 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_64, x_71, x_72, x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); -lean_dec(x_64); +x_71 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1; +x_72 = lean_box_usize(x_69); +x_73 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed), 13, 6); +lean_closure_set(x_73, 0, x_60); +lean_closure_set(x_73, 1, x_71); +lean_closure_set(x_73, 2, x_72); +lean_closure_set(x_73, 3, x_70); +lean_closure_set(x_73, 4, x_4); +lean_closure_set(x_73, 5, x_5); +x_74 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_73, x_6, x_7, x_8, x_9, x_53, x_11, x_12); return x_74; } } @@ -7832,12 +7047,11 @@ return x_74; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_free_object(x_23); +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; x_75 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_75, 0, x_2); x_76 = l_Lean_indentD(x_75); -x_77 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; +x_77 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2; x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); @@ -7845,1124 +7059,12 @@ x_79 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_80, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_81; -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; -x_82 = lean_ctor_get(x_6, 0); -x_83 = lean_ctor_get(x_6, 1); -x_84 = lean_ctor_get(x_6, 2); -x_85 = lean_ctor_get(x_6, 3); -x_86 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_87 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_88 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_89 = lean_ctor_get(x_6, 5); -x_90 = lean_ctor_get(x_6, 6); -x_91 = lean_ctor_get(x_6, 7); -x_92 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_6); -x_93 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_93, 0, x_82); -lean_ctor_set(x_93, 1, x_83); -lean_ctor_set(x_93, 2, x_84); -lean_ctor_set(x_93, 3, x_85); -lean_ctor_set(x_93, 4, x_21); -lean_ctor_set(x_93, 5, x_89); -lean_ctor_set(x_93, 6, x_90); -lean_ctor_set(x_93, 7, x_91); -lean_ctor_set_uint8(x_93, sizeof(void*)*8, x_86); -lean_ctor_set_uint8(x_93, sizeof(void*)*8 + 1, x_87); -lean_ctor_set_uint8(x_93, sizeof(void*)*8 + 2, x_88); -lean_ctor_set_uint8(x_93, sizeof(void*)*8 + 3, x_92); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_94 = lean_ctor_get(x_2, 0); -lean_inc(x_94); -x_95 = l_Lean_nullKind; -x_96 = lean_name_eq(x_94, x_95); -lean_dec(x_94); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -lean_free_object(x_23); -x_111 = lean_st_ref_get(x_11, x_25); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_112, 3); -lean_inc(x_113); -lean_dec(x_112); -x_114 = lean_ctor_get_uint8(x_113, sizeof(void*)*1); -lean_dec(x_113); -if (x_114 == 0) -{ -lean_object* x_115; -x_115 = lean_ctor_get(x_111, 1); -lean_inc(x_115); -lean_dec(x_111); -x_97 = x_115; -goto block_110; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_116 = lean_ctor_get(x_111, 1); -lean_inc(x_116); -lean_dec(x_111); -x_117 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_117, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_116); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_unbox(x_119); -lean_dec(x_119); -if (x_120 == 0) -{ -lean_object* x_121; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_97 = x_121; -goto block_110; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_122 = lean_ctor_get(x_118, 1); -lean_inc(x_122); -lean_dec(x_118); -lean_inc(x_2); -x_123 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_123, 0, x_2); -x_124 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_117, x_126, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_122); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -lean_dec(x_127); -x_97 = x_128; -goto block_110; -} -} -block_110: -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_98 = l_Lean_Elab_Tactic_saveState___rarg(x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_97); -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); -x_101 = lean_st_ref_get(x_11, x_100); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -lean_dec(x_102); -lean_inc(x_2); -x_105 = l_Lean_Syntax_getKind(x_2); -x_106 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_107 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_106, x_104, x_105); -lean_dec(x_105); -lean_dec(x_104); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; -lean_dec(x_99); -x_108 = l_Lean_Elab_Tactic_expandTacticMacro(x_2, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_103); -return x_108; -} -else -{ -lean_object* x_109; -x_109 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_99, x_2, x_107, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_103); -return x_109; -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_129 = l_Lean_Syntax_getArgs(x_2); -lean_dec(x_2); -x_130 = lean_array_get_size(x_129); -x_131 = lean_unsigned_to_nat(0u); -x_132 = lean_nat_dec_lt(x_131, x_130); -if (x_132 == 0) -{ -lean_object* x_133; -lean_dec(x_130); -lean_dec(x_129); -lean_dec(x_93); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_133 = lean_box(0); -lean_ctor_set(x_23, 0, x_133); -return x_23; -} -else -{ -uint8_t x_134; -x_134 = lean_nat_dec_le(x_130, x_130); -if (x_134 == 0) -{ -lean_object* x_135; -lean_dec(x_130); -lean_dec(x_129); -lean_dec(x_93); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_135 = lean_box(0); -lean_ctor_set(x_23, 0, x_135); -return x_23; -} -else -{ -size_t x_136; size_t x_137; lean_object* x_138; lean_object* x_139; -lean_free_object(x_23); -x_136 = 0; -x_137 = lean_usize_of_nat(x_130); -lean_dec(x_130); -x_138 = lean_box(0); -x_139 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_129, x_136, x_137, x_138, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_25); -lean_dec(x_129); -return x_139; -} -} -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_free_object(x_23); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_2); -x_141 = l_Lean_indentD(x_140); -x_142 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_143 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -x_144 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_145 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_145, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_93); -lean_dec(x_5); -return x_146; -} -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; lean_object* x_159; lean_object* x_160; -x_147 = lean_ctor_get(x_23, 1); -lean_inc(x_147); -lean_dec(x_23); -x_148 = lean_ctor_get(x_6, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_6, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_6, 2); -lean_inc(x_150); -x_151 = lean_ctor_get(x_6, 3); -lean_inc(x_151); -x_152 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_153 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_154 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_155 = lean_ctor_get(x_6, 5); -lean_inc(x_155); -x_156 = lean_ctor_get(x_6, 6); -lean_inc(x_156); -x_157 = lean_ctor_get(x_6, 7); -lean_inc(x_157); -x_158 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_159 = x_6; -} else { - lean_dec_ref(x_6); - x_159 = lean_box(0); -} -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(0, 8, 4); -} else { - x_160 = x_159; -} -lean_ctor_set(x_160, 0, x_148); -lean_ctor_set(x_160, 1, x_149); -lean_ctor_set(x_160, 2, x_150); -lean_ctor_set(x_160, 3, x_151); -lean_ctor_set(x_160, 4, x_21); -lean_ctor_set(x_160, 5, x_155); -lean_ctor_set(x_160, 6, x_156); -lean_ctor_set(x_160, 7, x_157); -lean_ctor_set_uint8(x_160, sizeof(void*)*8, x_152); -lean_ctor_set_uint8(x_160, sizeof(void*)*8 + 1, x_153); -lean_ctor_set_uint8(x_160, sizeof(void*)*8 + 2, x_154); -lean_ctor_set_uint8(x_160, sizeof(void*)*8 + 3, x_158); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_161 = lean_ctor_get(x_2, 0); -lean_inc(x_161); -x_162 = l_Lean_nullKind; -x_163 = lean_name_eq(x_161, x_162); -lean_dec(x_161); -if (x_163 == 0) -{ -lean_object* x_164; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; -x_178 = lean_st_ref_get(x_11, x_147); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_179, 3); -lean_inc(x_180); -lean_dec(x_179); -x_181 = lean_ctor_get_uint8(x_180, sizeof(void*)*1); -lean_dec(x_180); -if (x_181 == 0) -{ -lean_object* x_182; -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); -lean_dec(x_178); -x_164 = x_182; -goto block_177; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -lean_dec(x_178); -x_184 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_184, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_183); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_unbox(x_186); -lean_dec(x_186); -if (x_187 == 0) -{ -lean_object* x_188; -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -lean_dec(x_185); -x_164 = x_188; -goto block_177; -} -else -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_189 = lean_ctor_get(x_185, 1); -lean_inc(x_189); -lean_dec(x_185); -lean_inc(x_2); -x_190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_190, 0, x_2); -x_191 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_192 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_184, x_193, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_189); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_164 = x_195; -goto block_177; -} -} -block_177: -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_165 = l_Lean_Elab_Tactic_saveState___rarg(x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_164); -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_168 = lean_st_ref_get(x_11, x_167); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_ctor_get(x_169, 0); -lean_inc(x_171); -lean_dec(x_169); -lean_inc(x_2); -x_172 = l_Lean_Syntax_getKind(x_2); -x_173 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_174 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_173, x_171, x_172); -lean_dec(x_172); -lean_dec(x_171); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; -lean_dec(x_166); -x_175 = l_Lean_Elab_Tactic_expandTacticMacro(x_2, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_170); -return x_175; -} -else -{ -lean_object* x_176; -x_176 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_166, x_2, x_174, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_170); -return x_176; -} -} -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; -x_196 = l_Lean_Syntax_getArgs(x_2); -lean_dec(x_2); -x_197 = lean_array_get_size(x_196); -x_198 = lean_unsigned_to_nat(0u); -x_199 = lean_nat_dec_lt(x_198, x_197); -if (x_199 == 0) -{ -lean_object* x_200; lean_object* x_201; -lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_160); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_200 = lean_box(0); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_147); -return x_201; -} -else -{ -uint8_t x_202; -x_202 = lean_nat_dec_le(x_197, x_197); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_160); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_203 = lean_box(0); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_147); -return x_204; -} -else -{ -size_t x_205; size_t x_206; lean_object* x_207; lean_object* x_208; -x_205 = 0; -x_206 = lean_usize_of_nat(x_197); -lean_dec(x_197); -x_207 = lean_box(0); -x_208 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_196, x_205, x_206, x_207, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_147); -lean_dec(x_196); -return x_208; -} -} -} -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_209 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_209, 0, x_2); -x_210 = l_Lean_indentD(x_209); -x_211 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_212 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -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_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_214, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_147); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_160); -lean_dec(x_5); -return x_215; -} -} -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; uint8_t x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; -x_216 = lean_ctor_get(x_18, 0); -x_217 = lean_ctor_get(x_18, 1); -x_218 = lean_ctor_get(x_18, 2); -x_219 = lean_ctor_get(x_18, 3); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_18); -x_220 = lean_nat_add(x_217, x_13); -x_221 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_221, 0, x_216); -lean_ctor_set(x_221, 1, x_220); -lean_ctor_set(x_221, 2, x_218); -lean_ctor_set(x_221, 3, x_219); -x_222 = lean_st_ref_set(x_11, x_221, x_19); -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_224 = x_222; -} else { - lean_dec_ref(x_222); - x_224 = lean_box(0); -} -x_225 = lean_ctor_get(x_6, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_6, 1); -lean_inc(x_226); -x_227 = lean_ctor_get(x_6, 2); -lean_inc(x_227); -x_228 = lean_ctor_get(x_6, 3); -lean_inc(x_228); -x_229 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_230 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_231 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_232 = lean_ctor_get(x_6, 5); -lean_inc(x_232); -x_233 = lean_ctor_get(x_6, 6); -lean_inc(x_233); -x_234 = lean_ctor_get(x_6, 7); -lean_inc(x_234); -x_235 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_236 = x_6; -} else { - lean_dec_ref(x_6); - x_236 = lean_box(0); -} -if (lean_is_scalar(x_236)) { - x_237 = lean_alloc_ctor(0, 8, 4); -} else { - x_237 = x_236; -} -lean_ctor_set(x_237, 0, x_225); -lean_ctor_set(x_237, 1, x_226); -lean_ctor_set(x_237, 2, x_227); -lean_ctor_set(x_237, 3, x_228); -lean_ctor_set(x_237, 4, x_217); -lean_ctor_set(x_237, 5, x_232); -lean_ctor_set(x_237, 6, x_233); -lean_ctor_set(x_237, 7, x_234); -lean_ctor_set_uint8(x_237, sizeof(void*)*8, x_229); -lean_ctor_set_uint8(x_237, sizeof(void*)*8 + 1, x_230); -lean_ctor_set_uint8(x_237, sizeof(void*)*8 + 2, x_231); -lean_ctor_set_uint8(x_237, sizeof(void*)*8 + 3, x_235); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_238; lean_object* x_239; uint8_t x_240; -x_238 = lean_ctor_get(x_2, 0); -lean_inc(x_238); -x_239 = l_Lean_nullKind; -x_240 = lean_name_eq(x_238, x_239); -lean_dec(x_238); -if (x_240 == 0) -{ -lean_object* x_241; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; -lean_dec(x_224); -x_255 = lean_st_ref_get(x_11, x_223); -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_256, 3); -lean_inc(x_257); -lean_dec(x_256); -x_258 = lean_ctor_get_uint8(x_257, sizeof(void*)*1); -lean_dec(x_257); -if (x_258 == 0) -{ -lean_object* x_259; -x_259 = lean_ctor_get(x_255, 1); -lean_inc(x_259); -lean_dec(x_255); -x_241 = x_259; -goto block_254; -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_260 = lean_ctor_get(x_255, 1); -lean_inc(x_260); -lean_dec(x_255); -x_261 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_262 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_261, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_260); -x_263 = lean_ctor_get(x_262, 0); -lean_inc(x_263); -x_264 = lean_unbox(x_263); -lean_dec(x_263); -if (x_264 == 0) -{ -lean_object* x_265; -x_265 = lean_ctor_get(x_262, 1); -lean_inc(x_265); -lean_dec(x_262); -x_241 = x_265; -goto block_254; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_266 = lean_ctor_get(x_262, 1); -lean_inc(x_266); -lean_dec(x_262); -lean_inc(x_2); -x_267 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_267, 0, x_2); -x_268 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_269 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -x_270 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_261, x_270, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_266); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -lean_dec(x_271); -x_241 = x_272; -goto block_254; -} -} -block_254: -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_242 = l_Lean_Elab_Tactic_saveState___rarg(x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_241); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_st_ref_get(x_11, x_244); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_248 = lean_ctor_get(x_246, 0); -lean_inc(x_248); -lean_dec(x_246); -lean_inc(x_2); -x_249 = l_Lean_Syntax_getKind(x_2); -x_250 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_251 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_250, x_248, x_249); -lean_dec(x_249); -lean_dec(x_248); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; -lean_dec(x_243); -x_252 = l_Lean_Elab_Tactic_expandTacticMacro(x_2, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_247); -return x_252; -} -else -{ -lean_object* x_253; -x_253 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_243, x_2, x_251, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_247); -return x_253; -} -} -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; -x_273 = l_Lean_Syntax_getArgs(x_2); -lean_dec(x_2); -x_274 = lean_array_get_size(x_273); -x_275 = lean_unsigned_to_nat(0u); -x_276 = lean_nat_dec_lt(x_275, x_274); -if (x_276 == 0) -{ -lean_object* x_277; lean_object* x_278; -lean_dec(x_274); -lean_dec(x_273); -lean_dec(x_237); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_277 = lean_box(0); -if (lean_is_scalar(x_224)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_224; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_223); -return x_278; -} -else -{ -uint8_t x_279; -x_279 = lean_nat_dec_le(x_274, x_274); -if (x_279 == 0) -{ -lean_object* x_280; lean_object* x_281; -lean_dec(x_274); -lean_dec(x_273); -lean_dec(x_237); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_280 = lean_box(0); -if (lean_is_scalar(x_224)) { - x_281 = lean_alloc_ctor(0, 2, 0); -} else { - x_281 = x_224; -} -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_223); -return x_281; -} -else -{ -size_t x_282; size_t x_283; lean_object* x_284; lean_object* x_285; -lean_dec(x_224); -x_282 = 0; -x_283 = lean_usize_of_nat(x_274); -lean_dec(x_274); -x_284 = lean_box(0); -x_285 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_273, x_282, x_283, x_284, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_223); -lean_dec(x_273); -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; lean_object* x_292; -lean_dec(x_224); -x_286 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_286, 0, x_2); -x_287 = l_Lean_indentD(x_286); -x_288 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_289 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -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_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_291, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_223); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_237); -lean_dec(x_5); -return x_292; -} -} -} -else -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; uint8_t x_319; uint8_t 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; -x_293 = lean_ctor_get(x_10, 0); -x_294 = lean_ctor_get(x_10, 2); -x_295 = lean_ctor_get(x_10, 3); -x_296 = lean_ctor_get(x_10, 4); -x_297 = lean_ctor_get(x_10, 5); -x_298 = lean_ctor_get(x_10, 6); -x_299 = lean_ctor_get(x_10, 7); -lean_inc(x_299); -lean_inc(x_298); -lean_inc(x_297); -lean_inc(x_296); -lean_inc(x_295); -lean_inc(x_294); -lean_inc(x_293); -lean_dec(x_10); -x_300 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_300, 0, x_293); -lean_ctor_set(x_300, 1, x_14); -lean_ctor_set(x_300, 2, x_294); -lean_ctor_set(x_300, 3, x_295); -lean_ctor_set(x_300, 4, x_296); -lean_ctor_set(x_300, 5, x_297); -lean_ctor_set(x_300, 6, x_298); -lean_ctor_set(x_300, 7, x_299); -x_301 = lean_st_ref_take(x_11, x_12); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = lean_ctor_get(x_302, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_302, 1); -lean_inc(x_305); -x_306 = lean_ctor_get(x_302, 2); -lean_inc(x_306); -x_307 = lean_ctor_get(x_302, 3); -lean_inc(x_307); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - lean_ctor_release(x_302, 2); - lean_ctor_release(x_302, 3); - x_308 = x_302; -} else { - lean_dec_ref(x_302); - x_308 = lean_box(0); -} -x_309 = lean_nat_add(x_305, x_13); -if (lean_is_scalar(x_308)) { - x_310 = lean_alloc_ctor(0, 4, 0); -} else { - x_310 = x_308; -} -lean_ctor_set(x_310, 0, x_304); -lean_ctor_set(x_310, 1, x_309); -lean_ctor_set(x_310, 2, x_306); -lean_ctor_set(x_310, 3, x_307); -x_311 = lean_st_ref_set(x_11, x_310, x_303); -x_312 = lean_ctor_get(x_311, 1); -lean_inc(x_312); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - x_313 = x_311; -} else { - lean_dec_ref(x_311); - x_313 = lean_box(0); -} -x_314 = lean_ctor_get(x_6, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_6, 1); -lean_inc(x_315); -x_316 = lean_ctor_get(x_6, 2); -lean_inc(x_316); -x_317 = lean_ctor_get(x_6, 3); -lean_inc(x_317); -x_318 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_319 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_320 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_321 = lean_ctor_get(x_6, 5); -lean_inc(x_321); -x_322 = lean_ctor_get(x_6, 6); -lean_inc(x_322); -x_323 = lean_ctor_get(x_6, 7); -lean_inc(x_323); -x_324 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_325 = x_6; -} else { - lean_dec_ref(x_6); - x_325 = lean_box(0); -} -if (lean_is_scalar(x_325)) { - x_326 = lean_alloc_ctor(0, 8, 4); -} else { - x_326 = x_325; -} -lean_ctor_set(x_326, 0, x_314); -lean_ctor_set(x_326, 1, x_315); -lean_ctor_set(x_326, 2, x_316); -lean_ctor_set(x_326, 3, x_317); -lean_ctor_set(x_326, 4, x_305); -lean_ctor_set(x_326, 5, x_321); -lean_ctor_set(x_326, 6, x_322); -lean_ctor_set(x_326, 7, x_323); -lean_ctor_set_uint8(x_326, sizeof(void*)*8, x_318); -lean_ctor_set_uint8(x_326, sizeof(void*)*8 + 1, x_319); -lean_ctor_set_uint8(x_326, sizeof(void*)*8 + 2, x_320); -lean_ctor_set_uint8(x_326, sizeof(void*)*8 + 3, x_324); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_327; lean_object* x_328; uint8_t x_329; -x_327 = lean_ctor_get(x_2, 0); -lean_inc(x_327); -x_328 = l_Lean_nullKind; -x_329 = lean_name_eq(x_327, x_328); -lean_dec(x_327); -if (x_329 == 0) -{ -lean_object* x_330; lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; -lean_dec(x_313); -x_344 = lean_st_ref_get(x_11, x_312); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_345, 3); -lean_inc(x_346); -lean_dec(x_345); -x_347 = lean_ctor_get_uint8(x_346, sizeof(void*)*1); -lean_dec(x_346); -if (x_347 == 0) -{ -lean_object* x_348; -x_348 = lean_ctor_get(x_344, 1); -lean_inc(x_348); -lean_dec(x_344); -x_330 = x_348; -goto block_343; -} -else -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_349 = lean_ctor_get(x_344, 1); -lean_inc(x_349); -lean_dec(x_344); -x_350 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_351 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_350, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_349); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_unbox(x_352); -lean_dec(x_352); -if (x_353 == 0) -{ -lean_object* x_354; -x_354 = lean_ctor_get(x_351, 1); -lean_inc(x_354); -lean_dec(x_351); -x_330 = x_354; -goto block_343; -} -else -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_355 = lean_ctor_get(x_351, 1); -lean_inc(x_355); -lean_dec(x_351); -lean_inc(x_2); -x_356 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_356, 0, x_2); -x_357 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_358 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_356); -x_359 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_357); -x_360 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_350, x_359, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_355); -x_361 = lean_ctor_get(x_360, 1); -lean_inc(x_361); -lean_dec(x_360); -x_330 = x_361; -goto block_343; -} -} -block_343: -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_331 = l_Lean_Elab_Tactic_saveState___rarg(x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_330); -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); -lean_inc(x_333); -lean_dec(x_331); -x_334 = lean_st_ref_get(x_11, x_333); -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -lean_dec(x_334); -x_337 = lean_ctor_get(x_335, 0); -lean_inc(x_337); -lean_dec(x_335); -lean_inc(x_2); -x_338 = l_Lean_Syntax_getKind(x_2); -x_339 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_340 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_339, x_337, x_338); -lean_dec(x_338); -lean_dec(x_337); -if (lean_obj_tag(x_340) == 0) -{ -lean_object* x_341; -lean_dec(x_332); -x_341 = l_Lean_Elab_Tactic_expandTacticMacro(x_2, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_336); -return x_341; -} -else -{ -lean_object* x_342; -x_342 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_332, x_2, x_340, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_336); -return x_342; -} -} -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; -x_362 = l_Lean_Syntax_getArgs(x_2); -lean_dec(x_2); -x_363 = lean_array_get_size(x_362); -x_364 = lean_unsigned_to_nat(0u); -x_365 = lean_nat_dec_lt(x_364, x_363); -if (x_365 == 0) -{ -lean_object* x_366; lean_object* x_367; -lean_dec(x_363); -lean_dec(x_362); -lean_dec(x_326); -lean_dec(x_300); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_366 = lean_box(0); -if (lean_is_scalar(x_313)) { - x_367 = lean_alloc_ctor(0, 2, 0); -} else { - x_367 = x_313; -} -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_312); -return x_367; -} -else -{ -uint8_t x_368; -x_368 = lean_nat_dec_le(x_363, x_363); -if (x_368 == 0) -{ -lean_object* x_369; lean_object* x_370; -lean_dec(x_363); -lean_dec(x_362); -lean_dec(x_326); -lean_dec(x_300); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_369 = lean_box(0); -if (lean_is_scalar(x_313)) { - x_370 = lean_alloc_ctor(0, 2, 0); -} else { - x_370 = x_313; -} -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_312); -return x_370; -} -else -{ -size_t x_371; size_t x_372; lean_object* x_373; lean_object* x_374; -lean_dec(x_313); -x_371 = 0; -x_372 = lean_usize_of_nat(x_363); -lean_dec(x_363); -x_373 = lean_box(0); -x_374 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_362, x_371, x_372, x_373, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_312); -lean_dec(x_362); -return x_374; -} -} -} -} -else -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; -lean_dec(x_313); -x_375 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_375, 0, x_2); -x_376 = l_Lean_indentD(x_375); -x_377 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_378 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_376); -x_379 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_380 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_380, 0, x_378); -lean_ctor_set(x_380, 1, x_379); -x_381 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_380, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_312); -lean_dec(x_11); -lean_dec(x_300); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_326); -lean_dec(x_5); -return x_381; +x_81 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed), 10, 3); +lean_closure_set(x_81, 0, x_80); +lean_closure_set(x_81, 1, x_4); +lean_closure_set(x_81, 2, x_5); +x_82 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_81, x_6, x_7, x_8, x_9, x_53, x_11, x_12); +return x_82; } } } @@ -9009,7 +7111,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_box(0); -x_18 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_12, x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4(x_12, x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_12); return x_18; } @@ -9027,6 +7129,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -9086,7 +7189,7 @@ if (x_35 == 0) { lean_object* x_36; lean_object* x_37; x_36 = lean_box(0); -x_37 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_26, x_1, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_10); +x_37 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4(x_26, x_1, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_10); lean_dec(x_26); return x_37; } @@ -9104,6 +7207,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -9311,11 +7415,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1(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 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); lean_dec(x_3); return x_13; @@ -9330,15 +7434,6 @@ lean_dec(x_3); return x_12; } } -lean_object* l_Lean_Elab_Tactic_evalTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -return x_11; -} -} lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___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) { _start: { @@ -9348,7 +7443,6 @@ lean_dec(x_2); x_15 = lean_unbox_usize(x_3); lean_dec(x_3); x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_5); lean_dec(x_1); return x_16; } @@ -9369,26 +7463,49 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_evalTacticAux___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, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_Lean_Elab_Tactic_evalTacticAux___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); +lean_dec(x_2); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalTacticAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Tactic_evalTacticAux___lambda__3(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); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_4); +x_13 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_3); lean_dec(x_1); return x_13; } } -lean_object* l_Lean_Elab_Tactic_evalTacticAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -return x_11; -} -} lean_object* l_Lean_Elab_Tactic_expandTacticMacro___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: { @@ -11705,6 +9822,25 @@ x_2 = l_Lean_Elab_Tactic_instOrElseTacticM___closed__1; return x_2; } } +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_saveTacticInfoForToken___lambda__1___boxed), 9, 0); +return x_1; +} +} lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(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: { @@ -11731,7 +9867,7 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +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_dec(x_12); x_15 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_16 = lean_ctor_get(x_15, 0); @@ -11739,23 +9875,19 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = lean_st_ref_get(x_9, x_17); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_st_ref_get(x_5, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 5); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*2); -lean_dec(x_22); -if (x_23 == 0) +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_18, 0, x_16); +x_19 = l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1; +x_20 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_19, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +return x_20; +} +} +} +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -uint8_t x_24; -lean_dec(x_16); -lean_dec(x_9); +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_saveTacticInfoForToken___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11763,668 +9895,521 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_24 = !lean_is_exclusive(x_20); -if (x_24 == 0) +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___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, lean_object* x_11) { +_start: { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_20, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_20, 0, x_26); -return x_20; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 5); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -lean_dec(x_20); -x_28 = lean_box(0); -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; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_dec(x_20); -x_31 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_5, x_6, x_7, x_8, x_9, x_30); -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 = lean_st_ref_get(x_9, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_st_ref_get(x_5, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_37, 5); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_20); +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); +lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -x_41 = lean_apply_9(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); -if (lean_obj_tag(x_41) == 0) +lean_inc(x_4); +lean_inc(x_3); +x_24 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) { -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; uint8_t x_51; -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 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_40); -x_45 = lean_st_ref_get(x_9, x_43); -lean_dec(x_9); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_take(x_5, x_46); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 5); -lean_inc(x_49); -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_51 = !lean_is_exclusive(x_48); -if (x_51 == 0) -{ -lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_48, 5); -lean_dec(x_52); -x_53 = !lean_is_exclusive(x_49); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_49, 1); -lean_dec(x_54); -x_55 = l_Std_PersistentArray_push___rarg(x_32, x_44); -lean_ctor_set(x_49, 1, x_55); -x_56 = lean_st_ref_set(x_5, x_48, x_50); -lean_dec(x_5); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = lean_box(0); -lean_ctor_set(x_56, 0, x_59); -return x_56; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_dec(x_56); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_63 = lean_ctor_get_uint8(x_49, sizeof(void*)*2); -x_64 = lean_ctor_get(x_49, 0); -lean_inc(x_64); -lean_dec(x_49); -x_65 = l_Std_PersistentArray_push___rarg(x_32, x_44); -x_66 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_63); -lean_ctor_set(x_48, 5, x_66); -x_67 = lean_st_ref_set(x_5, x_48, x_50); -lean_dec(x_5); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; -} else { - lean_dec_ref(x_67); - x_69 = lean_box(0); -} -x_70 = lean_box(0); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_69; -} -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_72 = lean_ctor_get(x_48, 0); -x_73 = lean_ctor_get(x_48, 1); -x_74 = lean_ctor_get(x_48, 2); -x_75 = lean_ctor_get(x_48, 3); -x_76 = lean_ctor_get(x_48, 4); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_48); -x_77 = lean_ctor_get_uint8(x_49, sizeof(void*)*2); -x_78 = lean_ctor_get(x_49, 0); -lean_inc(x_78); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_79 = x_49; -} else { - lean_dec_ref(x_49); - x_79 = lean_box(0); -} -x_80 = l_Std_PersistentArray_push___rarg(x_32, x_44); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 2, 1); -} else { - x_81 = x_79; -} -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set_uint8(x_81, sizeof(void*)*2, x_77); -x_82 = lean_alloc_ctor(0, 6, 0); -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_76); -lean_ctor_set(x_82, 5, x_81); -x_83 = lean_st_ref_set(x_5, x_82, x_50); -lean_dec(x_5); -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_40); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_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_st_ref_get(x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_6, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); lean_dec(x_32); -lean_dec(x_9); -lean_dec(x_5); -x_88 = !lean_is_exclusive(x_41); -if (x_88 == 0) +lean_inc(x_10); +lean_inc(x_6); +x_34 = lean_apply_10(x_2, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_34) == 0) { -return x_41; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_10, x_36); +lean_dec(x_10); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_6, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 5); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 5); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_41, 1); +lean_dec(x_46); +x_47 = l_Std_PersistentArray_push___rarg(x_22, x_35); +lean_ctor_set(x_41, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_25); +return x_48; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_41, 0); -x_90 = lean_ctor_get(x_41, 1); -lean_inc(x_90); -lean_inc(x_89); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_25); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_54 = lean_ctor_get(x_41, 0); +lean_inc(x_54); lean_dec(x_41); -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; +x_55 = l_Std_PersistentArray_push___rarg(x_22, x_35); +x_56 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); +lean_ctor_set(x_40, 5, x_56); +x_57 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_25); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +x_63 = lean_ctor_get(x_40, 2); +x_64 = lean_ctor_get(x_40, 3); +x_65 = lean_ctor_get(x_40, 4); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_67 = lean_ctor_get(x_41, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_68 = x_41; +} else { + lean_dec_ref(x_41); + x_68 = lean_box(0); +} +x_69 = l_Std_PersistentArray_push___rarg(x_22, x_35); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(0, 2, 1); +} else { + x_70 = x_68; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_64); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_70); +x_72 = lean_st_ref_set(x_6, x_71, x_42); +lean_dec(x_6); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_24, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_24, 1); +lean_inc(x_81); +lean_dec(x_24); +x_82 = lean_st_ref_get(x_10, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_get(x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 5); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +lean_inc(x_10); +lean_inc(x_6); +x_89 = lean_apply_10(x_2, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_10, x_91); +lean_dec(x_10); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_6, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_95, 5); +lean_dec(x_99); +x_100 = !lean_is_exclusive(x_96); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_dec(x_101); +x_102 = l_Std_PersistentArray_push___rarg(x_22, x_90); +lean_ctor_set(x_96, 1, x_102); +x_103 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set_tag(x_103, 1); +lean_ctor_set(x_103, 0, x_80); +return x_103; +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_80); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +else +{ +uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_109 = lean_ctor_get(x_96, 0); +lean_inc(x_109); +lean_dec(x_96); +x_110 = l_Std_PersistentArray_push___rarg(x_22, x_90); +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_108); +lean_ctor_set(x_95, 5, x_111); +x_112 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_95, 0); +x_117 = lean_ctor_get(x_95, 1); +x_118 = lean_ctor_get(x_95, 2); +x_119 = lean_ctor_get(x_95, 3); +x_120 = lean_ctor_get(x_95, 4); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_95); +x_121 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_122 = lean_ctor_get(x_96, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_123 = x_96; +} else { + lean_dec_ref(x_96); + x_123 = lean_box(0); +} +x_124 = l_Std_PersistentArray_push___rarg(x_22, x_90); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_117); +lean_ctor_set(x_126, 2, x_118); +lean_ctor_set(x_126, 3, x_119); +lean_ctor_set(x_126, 4, x_120); +lean_ctor_set(x_126, 5, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_97); +lean_dec(x_6); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; + lean_ctor_set_tag(x_130, 1); +} +lean_ctor_set(x_130, 0, x_80); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +uint8_t x_131; +lean_dec(x_80); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_89); +if (x_131 == 0) +{ +return x_89; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_89, 0); +x_133 = lean_ctor_get(x_89, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_89); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } } } } } +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2___rarg), 11, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___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, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +lean_ctor_set(x_14, 2, x_2); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__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, 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_st_ref_get(x_11, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 5); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -x_22 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_7, x_8, x_9, x_10, x_11, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_11); -lean_inc(x_8); -lean_inc(x_7); -x_25 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); -if (lean_obj_tag(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; uint8_t x_45; -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 = lean_st_ref_get(x_11, x_27); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_st_ref_get(x_7, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_31, 5); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_ctor_get(x_8, 1); -lean_inc(x_35); -lean_dec(x_8); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_1); -lean_ctor_set(x_36, 2, x_2); -x_37 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_34); -x_39 = lean_st_ref_get(x_11, x_32); -lean_dec(x_11); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_take(x_7, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) -{ -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_42, 5); -lean_dec(x_46); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_ctor_get(x_43, 1); -lean_dec(x_48); -x_49 = l_Std_PersistentArray_push___rarg(x_23, x_38); -lean_ctor_set(x_43, 1, x_49); -x_50 = lean_st_ref_set(x_7, x_42, x_44); -lean_dec(x_7); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_26); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_26); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_55 = lean_ctor_get_uint8(x_43, sizeof(void*)*2); -x_56 = lean_ctor_get(x_43, 0); -lean_inc(x_56); -lean_dec(x_43); -x_57 = l_Std_PersistentArray_push___rarg(x_23, x_38); -x_58 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_55); -lean_ctor_set(x_42, 5, x_58); -x_59 = lean_st_ref_set(x_7, x_42, x_44); -lean_dec(x_7); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_61; -} -lean_ctor_set(x_62, 0, x_26); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -lean_object* 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; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_63 = lean_ctor_get(x_42, 0); -x_64 = lean_ctor_get(x_42, 1); -x_65 = lean_ctor_get(x_42, 2); -x_66 = lean_ctor_get(x_42, 3); -x_67 = lean_ctor_get(x_42, 4); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_42); -x_68 = lean_ctor_get_uint8(x_43, sizeof(void*)*2); -x_69 = lean_ctor_get(x_43, 0); -lean_inc(x_69); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_70 = x_43; -} else { - lean_dec_ref(x_43); - x_70 = lean_box(0); -} -x_71 = l_Std_PersistentArray_push___rarg(x_23, x_38); -if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 2, 1); -} else { - x_72 = x_70; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_68); -x_73 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_73, 0, x_63); -lean_ctor_set(x_73, 1, x_64); -lean_ctor_set(x_73, 2, x_65); -lean_ctor_set(x_73, 3, x_66); -lean_ctor_set(x_73, 4, x_67); -lean_ctor_set(x_73, 5, x_72); -x_74 = lean_st_ref_set(x_7, x_73, x_44); -lean_dec(x_7); -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; -} else { - lean_dec_ref(x_74); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_26); -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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_78 = lean_ctor_get(x_25, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_25, 1); -lean_inc(x_79); -lean_dec(x_25); -x_80 = lean_st_ref_get(x_11, x_79); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_st_ref_get(x_7, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 5); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_ctor_get(x_8, 1); -lean_inc(x_87); -lean_dec(x_8); -x_88 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_1); -lean_ctor_set(x_88, 2, x_2); -x_89 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_86); -x_91 = lean_st_ref_get(x_11, x_84); -lean_dec(x_11); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_st_ref_take(x_7, x_92); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 5); -lean_inc(x_95); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = !lean_is_exclusive(x_94); -if (x_97 == 0) -{ -lean_object* x_98; uint8_t x_99; -x_98 = lean_ctor_get(x_94, 5); -lean_dec(x_98); -x_99 = !lean_is_exclusive(x_95); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_ctor_get(x_95, 1); -lean_dec(x_100); -x_101 = l_Std_PersistentArray_push___rarg(x_23, x_90); -lean_ctor_set(x_95, 1, x_101); -x_102 = lean_st_ref_set(x_7, x_94, x_96); -lean_dec(x_7); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -lean_object* x_104; -x_104 = lean_ctor_get(x_102, 0); -lean_dec(x_104); -lean_ctor_set_tag(x_102, 1); -lean_ctor_set(x_102, 0, x_78); -return x_102; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_78); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -else -{ -uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_107 = lean_ctor_get_uint8(x_95, sizeof(void*)*2); -x_108 = lean_ctor_get(x_95, 0); -lean_inc(x_108); -lean_dec(x_95); -x_109 = l_Std_PersistentArray_push___rarg(x_23, x_90); -x_110 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set_uint8(x_110, sizeof(void*)*2, x_107); -lean_ctor_set(x_94, 5, x_110); -x_111 = lean_st_ref_set(x_7, x_94, x_96); -lean_dec(x_7); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(1, 2, 0); -} else { - x_114 = x_113; - lean_ctor_set_tag(x_114, 1); -} -lean_ctor_set(x_114, 0, x_78); -lean_ctor_set(x_114, 1, x_112); -return x_114; -} -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_115 = lean_ctor_get(x_94, 0); -x_116 = lean_ctor_get(x_94, 1); -x_117 = lean_ctor_get(x_94, 2); -x_118 = lean_ctor_get(x_94, 3); -x_119 = lean_ctor_get(x_94, 4); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_94); -x_120 = lean_ctor_get_uint8(x_95, sizeof(void*)*2); -x_121 = lean_ctor_get(x_95, 0); -lean_inc(x_121); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_122 = x_95; -} else { - lean_dec_ref(x_95); - x_122 = lean_box(0); -} -x_123 = l_Std_PersistentArray_push___rarg(x_23, x_90); -if (lean_is_scalar(x_122)) { - x_124 = lean_alloc_ctor(0, 2, 1); -} else { - x_124 = x_122; -} -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set_uint8(x_124, sizeof(void*)*2, x_120); -x_125 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_116); -lean_ctor_set(x_125, 2, x_117); -lean_ctor_set(x_125, 3, x_118); -lean_ctor_set(x_125, 4, x_119); -lean_ctor_set(x_125, 5, x_124); -x_126 = lean_st_ref_set(x_7, x_125, x_96); -lean_dec(x_7); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; -} else { - lean_dec_ref(x_126); - x_128 = lean_box(0); -} -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); -} else { - x_129 = x_128; - lean_ctor_set_tag(x_129, 1); -} -lean_ctor_set(x_129, 0, x_78); -lean_ctor_set(x_129, 1, x_127); -return x_129; -} -} -} +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1___boxed), 12, 2); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +x_14 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2___rarg(x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1(lean_object* x_1) { @@ -12524,421 +10509,31 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withMacroExpansion___rarg), return x_2; } } +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___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, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_st_ref_get(x_11, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 5); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -x_22 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_7, x_8, x_9, x_10, x_11, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_11); -lean_inc(x_8); -lean_inc(x_7); -x_25 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); -if (lean_obj_tag(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; uint8_t x_45; -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 = lean_st_ref_get(x_11, x_27); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_st_ref_get(x_7, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_31, 5); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_ctor_get(x_8, 1); -lean_inc(x_35); -lean_dec(x_8); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_1); -lean_ctor_set(x_36, 2, x_2); -x_37 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_34); -x_39 = lean_st_ref_get(x_11, x_32); -lean_dec(x_11); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_take(x_7, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) -{ -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_42, 5); -lean_dec(x_46); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_ctor_get(x_43, 1); -lean_dec(x_48); -x_49 = l_Std_PersistentArray_push___rarg(x_23, x_38); -lean_ctor_set(x_43, 1, x_49); -x_50 = lean_st_ref_set(x_7, x_42, x_44); -lean_dec(x_7); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_26); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_26); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_55 = lean_ctor_get_uint8(x_43, sizeof(void*)*2); -x_56 = lean_ctor_get(x_43, 0); -lean_inc(x_56); -lean_dec(x_43); -x_57 = l_Std_PersistentArray_push___rarg(x_23, x_38); -x_58 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_55); -lean_ctor_set(x_42, 5, x_58); -x_59 = lean_st_ref_set(x_7, x_42, x_44); -lean_dec(x_7); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_61; -} -lean_ctor_set(x_62, 0, x_26); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -lean_object* 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; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_63 = lean_ctor_get(x_42, 0); -x_64 = lean_ctor_get(x_42, 1); -x_65 = lean_ctor_get(x_42, 2); -x_66 = lean_ctor_get(x_42, 3); -x_67 = lean_ctor_get(x_42, 4); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_42); -x_68 = lean_ctor_get_uint8(x_43, sizeof(void*)*2); -x_69 = lean_ctor_get(x_43, 0); -lean_inc(x_69); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_70 = x_43; -} else { - lean_dec_ref(x_43); - x_70 = lean_box(0); -} -x_71 = l_Std_PersistentArray_push___rarg(x_23, x_38); -if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 2, 1); -} else { - x_72 = x_70; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_68); -x_73 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_73, 0, x_63); -lean_ctor_set(x_73, 1, x_64); -lean_ctor_set(x_73, 2, x_65); -lean_ctor_set(x_73, 3, x_66); -lean_ctor_set(x_73, 4, x_67); -lean_ctor_set(x_73, 5, x_72); -x_74 = lean_st_ref_set(x_7, x_73, x_44); -lean_dec(x_7); -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; -} else { - lean_dec_ref(x_74); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_26); -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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_78 = lean_ctor_get(x_25, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_25, 1); -lean_inc(x_79); -lean_dec(x_25); -x_80 = lean_st_ref_get(x_11, x_79); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_st_ref_get(x_7, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 5); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_ctor_get(x_8, 1); -lean_inc(x_87); -lean_dec(x_8); -x_88 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_1); -lean_ctor_set(x_88, 2, x_2); -x_89 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_86); -x_91 = lean_st_ref_get(x_11, x_84); -lean_dec(x_11); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_st_ref_take(x_7, x_92); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 5); -lean_inc(x_95); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = !lean_is_exclusive(x_94); -if (x_97 == 0) -{ -lean_object* x_98; uint8_t x_99; -x_98 = lean_ctor_get(x_94, 5); -lean_dec(x_98); -x_99 = !lean_is_exclusive(x_95); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_ctor_get(x_95, 1); -lean_dec(x_100); -x_101 = l_Std_PersistentArray_push___rarg(x_23, x_90); -lean_ctor_set(x_95, 1, x_101); -x_102 = lean_st_ref_set(x_7, x_94, x_96); -lean_dec(x_7); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -lean_object* x_104; -x_104 = lean_ctor_get(x_102, 0); -lean_dec(x_104); -lean_ctor_set_tag(x_102, 1); -lean_ctor_set(x_102, 0, x_78); -return x_102; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_78); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -else -{ -uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_107 = lean_ctor_get_uint8(x_95, sizeof(void*)*2); -x_108 = lean_ctor_get(x_95, 0); -lean_inc(x_108); -lean_dec(x_95); -x_109 = l_Std_PersistentArray_push___rarg(x_23, x_90); -x_110 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set_uint8(x_110, sizeof(void*)*2, x_107); -lean_ctor_set(x_94, 5, x_110); -x_111 = lean_st_ref_set(x_7, x_94, x_96); -lean_dec(x_7); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(1, 2, 0); -} else { - x_114 = x_113; - lean_ctor_set_tag(x_114, 1); -} -lean_ctor_set(x_114, 0, x_78); -lean_ctor_set(x_114, 1, x_112); -return x_114; -} -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_115 = lean_ctor_get(x_94, 0); -x_116 = lean_ctor_get(x_94, 1); -x_117 = lean_ctor_get(x_94, 2); -x_118 = lean_ctor_get(x_94, 3); -x_119 = lean_ctor_get(x_94, 4); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_94); -x_120 = lean_ctor_get_uint8(x_95, sizeof(void*)*2); -x_121 = lean_ctor_get(x_95, 0); -lean_inc(x_121); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_122 = x_95; -} else { - lean_dec_ref(x_95); - x_122 = lean_box(0); -} -x_123 = l_Std_PersistentArray_push___rarg(x_23, x_90); -if (lean_is_scalar(x_122)) { - x_124 = lean_alloc_ctor(0, 2, 1); -} else { - x_124 = x_122; -} -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set_uint8(x_124, sizeof(void*)*2, x_120); -x_125 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_116); -lean_ctor_set(x_125, 2, x_117); -lean_ctor_set(x_125, 3, x_118); -lean_ctor_set(x_125, 4, x_119); -lean_ctor_set(x_125, 5, x_124); -x_126 = lean_st_ref_set(x_7, x_125, x_96); -lean_dec(x_7); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; -} else { - lean_dec_ref(x_126); - x_128 = lean_box(0); -} -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); -} else { - x_129 = x_128; - lean_ctor_set_tag(x_129, 1); -} -lean_ctor_set(x_129, 0, x_78); -lean_ctor_set(x_129, 1, x_127); -return x_129; -} -} -} +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1___boxed), 12, 2); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +x_14 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } lean_object* l_Lean_Elab_Tactic_adaptExpander___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) { @@ -13034,7 +10629,7 @@ lean_inc(x_14); lean_dec(x_12); lean_inc(x_13); lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1___boxed), 11, 2); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_13); x_16 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_2, x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); @@ -13073,15 +10668,6 @@ return x_20; } } } -lean_object* l_Lean_Elab_Tactic_adaptExpander___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_Lean_Elab_Tactic_adaptExpander___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_Lean_Elab_Tactic_appendGoals(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: { @@ -13750,6 +11336,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_19) == 0) { @@ -13775,6 +11362,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) { @@ -13812,6 +11400,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { @@ -13836,15 +11425,6 @@ return x_37; } } } -lean_object* l_Lean_Elab_Tactic_evalTacticAt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalTacticAt(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; -} -} static lean_object* _init_l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1() { _start: { @@ -14671,97 +12251,6 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_evalDone___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* l_Lean_Elab_Tactic_evalDone(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDone___rarg___boxed), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalDone___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalDone___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Tactic_evalDone(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("done"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalDone"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDone___boxed), 1, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l_Lean_Elab_Tactic_tryTactic_x3f___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: { @@ -15421,8328 +12910,7 @@ lean_dec(x_4); return x_13; } } -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_nat_dec_le(x_15, x_4); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_eq(x_3, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -lean_dec(x_5); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_3, x_19); -lean_dec(x_3); -x_21 = lean_unsigned_to_nat(2u); -x_22 = lean_nat_mod(x_4, x_21); -x_23 = lean_nat_dec_eq(x_22, x_17); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = l_Lean_instInhabitedSyntax; -x_25 = lean_array_get(x_24, x_1, x_4); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_26 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get(x_2, 2); -x_29 = lean_nat_add(x_4, x_28); -lean_dec(x_4); -x_30 = lean_box(0); -x_3 = x_20; -x_4 = x_29; -x_5 = x_30; -x_14 = x_27; -goto _start; -} -else -{ -uint8_t x_32; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_32 = !lean_is_exclusive(x_26); -if (x_32 == 0) -{ -return x_26; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_26, 0); -x_34 = lean_ctor_get(x_26, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_26); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = l_Lean_instInhabitedSyntax; -x_37 = lean_array_get(x_36, x_1, x_4); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_38 = l_Lean_Elab_Tactic_evalTacticAux(x_37, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get(x_2, 2); -x_41 = lean_nat_add(x_4, x_40); -lean_dec(x_4); -x_42 = lean_box(0); -x_3 = x_20; -x_4 = x_41; -x_5 = x_42; -x_14 = x_39; -goto _start; -} -else -{ -uint8_t x_44; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_44 = !lean_is_exclusive(x_38); -if (x_44 == 0) -{ -return x_38; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_38, 0); -x_46 = lean_ctor_get(x_38, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_38); -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; -} -} -} -} -else -{ -lean_object* x_48; -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_6); -lean_dec(x_4); -lean_dec(x_3); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_5); -lean_ctor_set(x_48, 1, x_14); -return x_48; -} -} -else -{ -lean_object* x_49; -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_6); -lean_dec(x_4); -lean_dec(x_3); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_5); -lean_ctor_set(x_49, 1, x_14); -return x_49; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalSeq1(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; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArgs(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_14); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_16, 2, x_15); -x_17 = lean_box(0); -x_18 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_13, x_16, x_14, x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_16); -lean_dec(x_13); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) -{ -return x_18; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_18, 0); -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_18); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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: -{ -lean_object* x_15; -x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_2); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Lean_Elab_Tactic_evalSeq1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalSeq1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("seq1"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalSeq1"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSeq1___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalParen(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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalParen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("paren"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalParen"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalParen___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = x_2 == x_3; -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_4); -x_15 = lean_array_uget(x_1, x_2); -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Syntax_getArg(x_15, x_16); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_18 = l_Lean_Elab_Tactic_evalTacticAux(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Lean_Syntax_getArg(x_15, x_20); -lean_dec(x_15); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_22 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = x_2 + x_25; -x_2 = x_26; -x_4 = x_23; -x_13 = x_24; -goto _start; -} -else -{ -uint8_t x_28; -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_6); -lean_dec(x_5); -x_28 = !lean_is_exclusive(x_22); -if (x_28 == 0) -{ -return x_22; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_22, 0); -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_22); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_15); -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_6); -lean_dec(x_5); -x_32 = !lean_is_exclusive(x_18); -if (x_32 == 0) -{ -return x_18; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_18, 0); -x_34 = lean_ctor_get(x_18, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_18); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; -lean_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_6); -lean_dec(x_5); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_4); -lean_ctor_set(x_36, 1, x_13); -return x_36; -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(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; uint8_t x_14; -x_11 = l_Lean_Syntax_getArgs(x_1); -x_12 = lean_array_get_size(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -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_10); -return x_16; -} -else -{ -uint8_t x_17; -x_17 = lean_nat_dec_le(x_12, x_12); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_10); -return x_19; -} -else -{ -size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; -x_20 = 0; -x_21 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_22 = lean_box(0); -x_23 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_11, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_11); -return x_23; -} -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_1); -return x_16; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(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; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_12); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalTacticSeq1Indented(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticSeq1Indented"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalTacticSeq1Indented"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_6, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 5); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_2); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_unsigned_to_nat(1u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_20); -return x_21; -} -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; lean_object* x_33; -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_dec(x_14); -x_23 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_22); -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_st_ref_get(x_10, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_get(x_6, 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_ctor_get(x_29, 5); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_10); -lean_inc(x_9); -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_33 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_32); -x_37 = lean_st_ref_get(x_10, x_35); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_take(x_6, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 5); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_ctor_get(x_41, 1); -lean_dec(x_46); -x_47 = l_Std_PersistentArray_push___rarg(x_24, x_36); -lean_ctor_set(x_41, 1, x_47); -x_48 = lean_st_ref_set(x_6, x_40, x_42); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_unsigned_to_nat(1u); -x_51 = l_Lean_Syntax_getArg(x_1, x_50); -x_52 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); -lean_dec(x_51); -return x_52; -} -else -{ -uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_54 = lean_ctor_get(x_41, 0); -lean_inc(x_54); -lean_dec(x_41); -x_55 = l_Std_PersistentArray_push___rarg(x_24, x_36); -x_56 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); -lean_ctor_set(x_40, 5, x_56); -x_57 = lean_st_ref_set(x_6, x_40, x_42); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_unsigned_to_nat(1u); -x_60 = l_Lean_Syntax_getArg(x_1, x_59); -x_61 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -lean_dec(x_60); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t 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; -x_62 = lean_ctor_get(x_40, 0); -x_63 = lean_ctor_get(x_40, 1); -x_64 = lean_ctor_get(x_40, 2); -x_65 = lean_ctor_get(x_40, 3); -x_66 = lean_ctor_get(x_40, 4); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_40); -x_67 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_68 = lean_ctor_get(x_41, 0); -lean_inc(x_68); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_69 = x_41; -} else { - lean_dec_ref(x_41); - x_69 = lean_box(0); -} -x_70 = l_Std_PersistentArray_push___rarg(x_24, x_36); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 1); -} else { - x_71 = x_69; -} -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set_uint8(x_71, sizeof(void*)*2, x_67); -x_72 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_72, 0, x_62); -lean_ctor_set(x_72, 1, x_63); -lean_ctor_set(x_72, 2, x_64); -lean_ctor_set(x_72, 3, x_65); -lean_ctor_set(x_72, 4, x_66); -lean_ctor_set(x_72, 5, x_71); -x_73 = lean_st_ref_set(x_6, x_72, x_42); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_unsigned_to_nat(1u); -x_76 = l_Lean_Syntax_getArg(x_1, x_75); -x_77 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); -lean_dec(x_76); -return x_77; -} -} -else -{ -uint8_t x_78; -lean_dec(x_32); -lean_dec(x_24); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_78 = !lean_is_exclusive(x_33); -if (x_78 == 0) -{ -return x_33; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_33, 0); -x_80 = lean_ctor_get(x_33, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_33); -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; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(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_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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_unsigned_to_nat(2u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1___boxed), 11, 2); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_14); -x_19 = !lean_is_exclusive(x_8); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_8, 3); -x_21 = l_Lean_replaceRef(x_17, x_20); -lean_dec(x_20); -lean_dec(x_17); -lean_ctor_set(x_8, 3, x_21); -x_22 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_23 = lean_ctor_get(x_8, 0); -x_24 = lean_ctor_get(x_8, 1); -x_25 = lean_ctor_get(x_8, 2); -x_26 = lean_ctor_get(x_8, 3); -x_27 = lean_ctor_get(x_8, 4); -x_28 = lean_ctor_get(x_8, 5); -x_29 = lean_ctor_get(x_8, 6); -x_30 = lean_ctor_get(x_8, 7); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_8); -x_31 = l_Lean_replaceRef(x_17, x_26); -lean_dec(x_26); -lean_dec(x_17); -x_32 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_31); -lean_ctor_set(x_32, 4, x_27); -lean_ctor_set(x_32, 5, x_28); -lean_ctor_set(x_32, 6, x_29); -lean_ctor_set(x_32, 7, x_30); -x_33 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_32, x_9, x_15); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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_Lean_Elab_Tactic_evalTacticSeqBracketed___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_1); -return x_12; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticSeqBracketed"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalTacticSeqBracketed"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalFocus___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_6, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 5); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_2); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_unsigned_to_nat(1u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Elab_Tactic_evalTacticAux(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -lean_dec(x_3); -return x_21; -} -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; lean_object* x_33; -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_dec(x_14); -x_23 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_22); -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_st_ref_get(x_10, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_get(x_6, 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_ctor_get(x_29, 5); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_10); -lean_inc(x_9); -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_33 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_32); -x_37 = lean_st_ref_get(x_10, x_35); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_take(x_6, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 5); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_ctor_get(x_41, 1); -lean_dec(x_46); -x_47 = l_Std_PersistentArray_push___rarg(x_24, x_36); -lean_ctor_set(x_41, 1, x_47); -x_48 = lean_st_ref_set(x_6, x_40, x_42); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_unsigned_to_nat(1u); -x_51 = l_Lean_Syntax_getArg(x_1, x_50); -x_52 = l_Lean_Elab_Tactic_evalTacticAux(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); -lean_dec(x_3); -return x_52; -} -else -{ -uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_54 = lean_ctor_get(x_41, 0); -lean_inc(x_54); -lean_dec(x_41); -x_55 = l_Std_PersistentArray_push___rarg(x_24, x_36); -x_56 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); -lean_ctor_set(x_40, 5, x_56); -x_57 = lean_st_ref_set(x_6, x_40, x_42); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_unsigned_to_nat(1u); -x_60 = l_Lean_Syntax_getArg(x_1, x_59); -x_61 = l_Lean_Elab_Tactic_evalTacticAux(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -lean_dec(x_3); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t 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; -x_62 = lean_ctor_get(x_40, 0); -x_63 = lean_ctor_get(x_40, 1); -x_64 = lean_ctor_get(x_40, 2); -x_65 = lean_ctor_get(x_40, 3); -x_66 = lean_ctor_get(x_40, 4); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_40); -x_67 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_68 = lean_ctor_get(x_41, 0); -lean_inc(x_68); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_69 = x_41; -} else { - lean_dec_ref(x_41); - x_69 = lean_box(0); -} -x_70 = l_Std_PersistentArray_push___rarg(x_24, x_36); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 1); -} else { - x_71 = x_69; -} -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set_uint8(x_71, sizeof(void*)*2, x_67); -x_72 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_72, 0, x_62); -lean_ctor_set(x_72, 1, x_63); -lean_ctor_set(x_72, 2, x_64); -lean_ctor_set(x_72, 3, x_65); -lean_ctor_set(x_72, 4, x_66); -lean_ctor_set(x_72, 5, x_71); -x_73 = lean_st_ref_set(x_6, x_72, x_42); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_unsigned_to_nat(1u); -x_76 = l_Lean_Syntax_getArg(x_1, x_75); -x_77 = l_Lean_Elab_Tactic_evalTacticAux(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); -lean_dec(x_3); -return x_77; -} -} -else -{ -uint8_t x_78; -lean_dec(x_32); -lean_dec(x_24); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_78 = !lean_is_exclusive(x_33); -if (x_78 == 0) -{ -return x_33; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_33, 0); -x_80 = lean_ctor_get(x_33, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_33); -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; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalFocus(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; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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_Lean_Elab_Tactic_evalFocus___lambda__1___boxed), 11, 2); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Tactic_focus___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -return x_17; -} -} -lean_object* l_Lean_Elab_Tactic_evalFocus___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_Lean_Elab_Tactic_evalFocus___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_1); -return x_12; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("focus"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalFocus"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFocus), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_Lean_Syntax_isNone(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Lean_Syntax_getArg(x_1, x_3); -x_5 = l_Lean_Syntax_toNat(x_4); -lean_dec(x_4); -return x_5; -} -else -{ -lean_object* x_6; -x_6 = lean_unsigned_to_nat(1u); -return x_6; -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalRotateLeft(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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(x_12); -lean_dec(x_12); -x_14 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_List_rotateLeft___rarg(x_15, x_13); -lean_dec(x_13); -x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -return x_18; -} -} -lean_object* l_Lean_Elab_Tactic_evalRotateLeft___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalRotateLeft(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); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("rotateLeft"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalRotateLeft"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRotateLeft___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalRotateRight(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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(x_12); -lean_dec(x_12); -x_14 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_List_rotateRight___rarg(x_15, x_13); -lean_dec(x_13); -x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -return x_18; -} -} -lean_object* l_Lean_Elab_Tactic_evalRotateRight___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalRotateRight(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); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("rotateRight"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalRotateRight"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRotateRight___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(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, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = x_3 < x_2; -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_4); -x_16 = lean_array_uget(x_1, x_3); -x_17 = lean_st_ref_take(x_12, x_13); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_18, 0); -x_22 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_16, x_21); -lean_dec(x_16); -lean_ctor_set(x_18, 0, x_22); -x_23 = lean_st_ref_set(x_12, x_18, x_19); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = 1; -x_26 = x_3 + x_25; -x_27 = lean_box(0); -x_3 = x_26; -x_4 = x_27; -x_13 = x_24; -goto _start; -} -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; size_t x_37; size_t x_38; lean_object* x_39; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -x_31 = lean_ctor_get(x_18, 2); -x_32 = lean_ctor_get(x_18, 3); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_18); -x_33 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_16, x_29); -lean_dec(x_16); -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_32); -x_35 = lean_st_ref_set(x_12, x_34, x_19); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = 1; -x_38 = x_3 + x_37; -x_39 = lean_box(0); -x_3 = x_38; -x_4 = x_39; -x_13 = x_36; -goto _start; -} -} -} -} -lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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) { -_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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -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 = l_Lean_scopedEnvExtensionsRef; -x_13 = lean_st_ref_get(x_12, x_11); -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_array_get_size(x_14); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -x_19 = lean_box(0); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(x_14, x_17, x_18, x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_14); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_9, 3); -x_13 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_7, x_8, x_9, x_10, x_11); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_12); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -lean_inc(x_12); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_12); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown namespace '"); -return x_1; -} -} -static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("'"); -return x_1; -} -} -lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_12 = lean_st_ref_get(x_10, 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_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_st_ref_get(x_10, x_14); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_ref_get(x_2, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_10, x_20); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_get(x_2, x_23); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_1); -x_29 = l_Lean_ResolveName_resolveNamespace_x3f(x_15, x_21, x_28, x_1); -lean_dec(x_28); -lean_dec(x_21); -lean_dec(x_15); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_free_object(x_24); -x_30 = 1; -x_31 = l_Lean_Name_toString(x_1, x_30); -x_32 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; -x_33 = lean_string_append(x_32, x_31); -lean_dec(x_31); -x_34 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; -x_35 = lean_string_append(x_33, x_34); -x_36 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -return x_38; -} -else -{ -lean_object* x_39; -lean_dec(x_1); -x_39 = lean_ctor_get(x_29, 0); -lean_inc(x_39); -lean_dec(x_29); -lean_ctor_set(x_24, 0, x_39); -return x_24; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_24, 0); -x_41 = lean_ctor_get(x_24, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_24); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -lean_dec(x_40); -lean_inc(x_1); -x_43 = l_Lean_ResolveName_resolveNamespace_x3f(x_15, x_21, x_42, x_1); -lean_dec(x_42); -lean_dec(x_21); -lean_dec(x_15); -if (lean_obj_tag(x_43) == 0) -{ -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; -x_44 = 1; -x_45 = l_Lean_Name_toString(x_1, x_44); -x_46 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; -x_47 = lean_string_append(x_46, x_45); -lean_dec(x_45); -x_48 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; -x_49 = lean_string_append(x_47, x_48); -x_50 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_51 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); -return x_52; -} -else -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_1); -x_53 = lean_ctor_get(x_43, 0); -lean_inc(x_53); -lean_dec(x_43); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_41); -return x_54; -} -} -} -} -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_295; uint8_t x_296; -x_295 = 2; -x_296 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(x_3, x_295); -if (x_296 == 0) -{ -lean_object* x_297; -x_297 = lean_box(0); -x_14 = x_297; -goto block_294; -} -else -{ -uint8_t x_298; -lean_inc(x_2); -x_298 = l_Lean_MessageData_hasSyntheticSorry(x_2); -if (x_298 == 0) -{ -lean_object* x_299; -x_299 = lean_box(0); -x_14 = x_299; -goto block_294; -} -else -{ -lean_object* x_300; lean_object* x_301; -lean_dec(x_2); -x_300 = lean_box(0); -x_301 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_13); -return x_301; -} -} -block_294: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -x_15 = lean_ctor_get(x_11, 3); -x_16 = l_Lean_replaceRef(x_1, x_15); -x_17 = 0; -x_18 = l_Lean_Syntax_getPos_x3f(x_16, x_17); -x_19 = l_Lean_Syntax_getTailPos_x3f(x_16, x_17); -lean_dec(x_16); -if (lean_obj_tag(x_18) == 0) -{ -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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; uint8_t x_39; -x_20 = lean_ctor_get(x_7, 0); -x_21 = lean_ctor_get(x_7, 1); -x_22 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Lean_FileMap_toPosition(x_21, x_25); -lean_inc(x_26); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_ctor_get(x_11, 4); -x_29 = lean_ctor_get(x_11, 5); -lean_inc(x_29); -lean_inc(x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_23); -x_32 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_20); -x_33 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_33, 0, x_20); -lean_ctor_set(x_33, 1, x_26); -lean_ctor_set(x_33, 2, x_27); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_33, 4, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*5, x_3); -x_34 = lean_st_ref_get(x_12, x_24); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_st_ref_take(x_8, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = !lean_is_exclusive(x_37); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_37, 3); -x_41 = l_Std_PersistentArray_push___rarg(x_40, x_33); -lean_ctor_set(x_37, 3, x_41); -x_42 = lean_st_ref_set(x_8, x_37, x_38); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(0); -lean_ctor_set(x_42, 0, x_45); -return x_42; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_49 = lean_ctor_get(x_37, 0); -x_50 = lean_ctor_get(x_37, 1); -x_51 = lean_ctor_get(x_37, 2); -x_52 = lean_ctor_get(x_37, 3); -x_53 = lean_ctor_get(x_37, 4); -x_54 = lean_ctor_get(x_37, 5); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_37); -x_55 = l_Std_PersistentArray_push___rarg(x_52, x_33); -x_56 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_56, 0, x_49); -lean_ctor_set(x_56, 1, x_50); -lean_ctor_set(x_56, 2, x_51); -lean_ctor_set(x_56, 3, x_55); -lean_ctor_set(x_56, 4, x_53); -lean_ctor_set(x_56, 5, x_54); -x_57 = lean_st_ref_set(x_8, x_56, x_38); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -x_60 = lean_box(0); -if (lean_is_scalar(x_59)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_59; -} -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} -} -else -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_19); -if (x_62 == 0) -{ -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; uint8_t x_83; -x_63 = lean_ctor_get(x_19, 0); -x_64 = lean_ctor_get(x_7, 0); -x_65 = lean_ctor_get(x_7, 1); -x_66 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_unsigned_to_nat(0u); -x_70 = l_Lean_FileMap_toPosition(x_65, x_69); -x_71 = l_Lean_FileMap_toPosition(x_65, x_63); -lean_dec(x_63); -lean_ctor_set(x_19, 0, x_71); -x_72 = lean_ctor_get(x_11, 4); -x_73 = lean_ctor_get(x_11, 5); -lean_inc(x_73); -lean_inc(x_72); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_67); -x_76 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_64); -x_77 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_77, 0, x_64); -lean_ctor_set(x_77, 1, x_70); -lean_ctor_set(x_77, 2, x_19); -lean_ctor_set(x_77, 3, x_76); -lean_ctor_set(x_77, 4, x_75); -lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_3); -x_78 = lean_st_ref_get(x_12, x_68); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_st_ref_take(x_8, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = !lean_is_exclusive(x_81); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_ctor_get(x_81, 3); -x_85 = l_Std_PersistentArray_push___rarg(x_84, x_77); -lean_ctor_set(x_81, 3, x_85); -x_86 = lean_st_ref_set(x_8, x_81, x_82); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_86, 0); -lean_dec(x_88); -x_89 = lean_box(0); -lean_ctor_set(x_86, 0, x_89); -return x_86; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_86, 1); -lean_inc(x_90); -lean_dec(x_86); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_93 = lean_ctor_get(x_81, 0); -x_94 = lean_ctor_get(x_81, 1); -x_95 = lean_ctor_get(x_81, 2); -x_96 = lean_ctor_get(x_81, 3); -x_97 = lean_ctor_get(x_81, 4); -x_98 = lean_ctor_get(x_81, 5); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_81); -x_99 = l_Std_PersistentArray_push___rarg(x_96, x_77); -x_100 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_100, 0, x_93); -lean_ctor_set(x_100, 1, x_94); -lean_ctor_set(x_100, 2, x_95); -lean_ctor_set(x_100, 3, x_99); -lean_ctor_set(x_100, 4, x_97); -lean_ctor_set(x_100, 5, x_98); -x_101 = lean_st_ref_set(x_8, x_100, x_82); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_103 = x_101; -} else { - lean_dec_ref(x_101); - x_103 = lean_box(0); -} -x_104 = lean_box(0); -if (lean_is_scalar(x_103)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_103; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_102); -return x_105; -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_106 = lean_ctor_get(x_19, 0); -lean_inc(x_106); -lean_dec(x_19); -x_107 = lean_ctor_get(x_7, 0); -x_108 = lean_ctor_get(x_7, 1); -x_109 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_unsigned_to_nat(0u); -x_113 = l_Lean_FileMap_toPosition(x_108, x_112); -x_114 = l_Lean_FileMap_toPosition(x_108, x_106); -lean_dec(x_106); -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_114); -x_116 = lean_ctor_get(x_11, 4); -x_117 = lean_ctor_get(x_11, 5); -lean_inc(x_117); -lean_inc(x_116); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_110); -x_120 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_107); -x_121 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_121, 0, x_107); -lean_ctor_set(x_121, 1, x_113); -lean_ctor_set(x_121, 2, x_115); -lean_ctor_set(x_121, 3, x_120); -lean_ctor_set(x_121, 4, x_119); -lean_ctor_set_uint8(x_121, sizeof(void*)*5, x_3); -x_122 = lean_st_ref_get(x_12, x_111); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_st_ref_take(x_8, x_123); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_ctor_get(x_125, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); -x_129 = lean_ctor_get(x_125, 2); -lean_inc(x_129); -x_130 = lean_ctor_get(x_125, 3); -lean_inc(x_130); -x_131 = lean_ctor_get(x_125, 4); -lean_inc(x_131); -x_132 = lean_ctor_get(x_125, 5); -lean_inc(x_132); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - lean_ctor_release(x_125, 2); - lean_ctor_release(x_125, 3); - lean_ctor_release(x_125, 4); - lean_ctor_release(x_125, 5); - x_133 = x_125; -} else { - lean_dec_ref(x_125); - x_133 = lean_box(0); -} -x_134 = l_Std_PersistentArray_push___rarg(x_130, x_121); -if (lean_is_scalar(x_133)) { - x_135 = lean_alloc_ctor(0, 6, 0); -} else { - x_135 = x_133; -} -lean_ctor_set(x_135, 0, x_127); -lean_ctor_set(x_135, 1, x_128); -lean_ctor_set(x_135, 2, x_129); -lean_ctor_set(x_135, 3, x_134); -lean_ctor_set(x_135, 4, x_131); -lean_ctor_set(x_135, 5, x_132); -x_136 = lean_st_ref_set(x_8, x_135, x_126); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_138 = x_136; -} else { - lean_dec_ref(x_136); - x_138 = lean_box(0); -} -x_139 = lean_box(0); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 2, 0); -} else { - x_140 = x_138; -} -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_137); -return x_140; -} -} -} -else -{ -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_141; -x_141 = !lean_is_exclusive(x_18); -if (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; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_142 = lean_ctor_get(x_18, 0); -x_143 = lean_ctor_get(x_7, 0); -x_144 = lean_ctor_get(x_7, 1); -x_145 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = l_Lean_FileMap_toPosition(x_144, x_142); -lean_dec(x_142); -lean_inc(x_148); -lean_ctor_set(x_18, 0, x_148); -x_149 = lean_ctor_get(x_11, 4); -x_150 = lean_ctor_get(x_11, 5); -lean_inc(x_150); -lean_inc(x_149); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_146); -x_153 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_143); -x_154 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_154, 0, x_143); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_18); -lean_ctor_set(x_154, 3, x_153); -lean_ctor_set(x_154, 4, x_152); -lean_ctor_set_uint8(x_154, sizeof(void*)*5, x_3); -x_155 = lean_st_ref_get(x_12, x_147); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -lean_dec(x_155); -x_157 = lean_st_ref_take(x_8, x_156); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = !lean_is_exclusive(x_158); -if (x_160 == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_161 = lean_ctor_get(x_158, 3); -x_162 = l_Std_PersistentArray_push___rarg(x_161, x_154); -lean_ctor_set(x_158, 3, x_162); -x_163 = lean_st_ref_set(x_8, x_158, x_159); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) -{ -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_163, 0); -lean_dec(x_165); -x_166 = lean_box(0); -lean_ctor_set(x_163, 0, x_166); -return x_163; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_163, 1); -lean_inc(x_167); -lean_dec(x_163); -x_168 = lean_box(0); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -return x_169; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_170 = lean_ctor_get(x_158, 0); -x_171 = lean_ctor_get(x_158, 1); -x_172 = lean_ctor_get(x_158, 2); -x_173 = lean_ctor_get(x_158, 3); -x_174 = lean_ctor_get(x_158, 4); -x_175 = lean_ctor_get(x_158, 5); -lean_inc(x_175); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_158); -x_176 = l_Std_PersistentArray_push___rarg(x_173, x_154); -x_177 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_177, 0, x_170); -lean_ctor_set(x_177, 1, x_171); -lean_ctor_set(x_177, 2, x_172); -lean_ctor_set(x_177, 3, x_176); -lean_ctor_set(x_177, 4, x_174); -lean_ctor_set(x_177, 5, x_175); -x_178 = lean_st_ref_set(x_8, x_177, x_159); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_180 = x_178; -} else { - lean_dec_ref(x_178); - x_180 = lean_box(0); -} -x_181 = lean_box(0); -if (lean_is_scalar(x_180)) { - x_182 = lean_alloc_ctor(0, 2, 0); -} else { - x_182 = x_180; -} -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_179); -return x_182; -} -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_183 = lean_ctor_get(x_18, 0); -lean_inc(x_183); -lean_dec(x_18); -x_184 = lean_ctor_get(x_7, 0); -x_185 = lean_ctor_get(x_7, 1); -x_186 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_Lean_FileMap_toPosition(x_185, x_183); -lean_dec(x_183); -lean_inc(x_189); -x_190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_190, 0, x_189); -x_191 = lean_ctor_get(x_11, 4); -x_192 = lean_ctor_get(x_11, 5); -lean_inc(x_192); -lean_inc(x_191); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_187); -x_195 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_184); -x_196 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_196, 0, x_184); -lean_ctor_set(x_196, 1, x_189); -lean_ctor_set(x_196, 2, x_190); -lean_ctor_set(x_196, 3, x_195); -lean_ctor_set(x_196, 4, x_194); -lean_ctor_set_uint8(x_196, sizeof(void*)*5, x_3); -x_197 = lean_st_ref_get(x_12, x_188); -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -lean_dec(x_197); -x_199 = lean_st_ref_take(x_8, x_198); -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); -lean_inc(x_201); -lean_dec(x_199); -x_202 = lean_ctor_get(x_200, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_200, 1); -lean_inc(x_203); -x_204 = lean_ctor_get(x_200, 2); -lean_inc(x_204); -x_205 = lean_ctor_get(x_200, 3); -lean_inc(x_205); -x_206 = lean_ctor_get(x_200, 4); -lean_inc(x_206); -x_207 = lean_ctor_get(x_200, 5); -lean_inc(x_207); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - lean_ctor_release(x_200, 2); - lean_ctor_release(x_200, 3); - lean_ctor_release(x_200, 4); - lean_ctor_release(x_200, 5); - x_208 = x_200; -} else { - lean_dec_ref(x_200); - x_208 = lean_box(0); -} -x_209 = l_Std_PersistentArray_push___rarg(x_205, x_196); -if (lean_is_scalar(x_208)) { - x_210 = lean_alloc_ctor(0, 6, 0); -} else { - x_210 = x_208; -} -lean_ctor_set(x_210, 0, x_202); -lean_ctor_set(x_210, 1, x_203); -lean_ctor_set(x_210, 2, x_204); -lean_ctor_set(x_210, 3, x_209); -lean_ctor_set(x_210, 4, x_206); -lean_ctor_set(x_210, 5, x_207); -x_211 = lean_st_ref_set(x_8, x_210, x_201); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_211)) { - lean_ctor_release(x_211, 0); - lean_ctor_release(x_211, 1); - x_213 = x_211; -} else { - lean_dec_ref(x_211); - x_213 = lean_box(0); -} -x_214 = lean_box(0); -if (lean_is_scalar(x_213)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_213; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_212); -return x_215; -} -} -else -{ -lean_object* x_216; uint8_t x_217; -x_216 = lean_ctor_get(x_18, 0); -lean_inc(x_216); -lean_dec(x_18); -x_217 = !lean_is_exclusive(x_19); -if (x_217 == 0) -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_218 = lean_ctor_get(x_19, 0); -x_219 = lean_ctor_get(x_7, 0); -x_220 = lean_ctor_get(x_7, 1); -x_221 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_FileMap_toPosition(x_220, x_216); -lean_dec(x_216); -x_225 = l_Lean_FileMap_toPosition(x_220, x_218); -lean_dec(x_218); -lean_ctor_set(x_19, 0, x_225); -x_226 = lean_ctor_get(x_11, 4); -x_227 = lean_ctor_get(x_11, 5); -lean_inc(x_227); -lean_inc(x_226); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_222); -x_230 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_219); -x_231 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_231, 0, x_219); -lean_ctor_set(x_231, 1, x_224); -lean_ctor_set(x_231, 2, x_19); -lean_ctor_set(x_231, 3, x_230); -lean_ctor_set(x_231, 4, x_229); -lean_ctor_set_uint8(x_231, sizeof(void*)*5, x_3); -x_232 = lean_st_ref_get(x_12, x_223); -x_233 = lean_ctor_get(x_232, 1); -lean_inc(x_233); -lean_dec(x_232); -x_234 = lean_st_ref_take(x_8, x_233); -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_is_exclusive(x_235); -if (x_237 == 0) -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; -x_238 = lean_ctor_get(x_235, 3); -x_239 = l_Std_PersistentArray_push___rarg(x_238, x_231); -lean_ctor_set(x_235, 3, x_239); -x_240 = lean_st_ref_set(x_8, x_235, x_236); -x_241 = !lean_is_exclusive(x_240); -if (x_241 == 0) -{ -lean_object* x_242; lean_object* x_243; -x_242 = lean_ctor_get(x_240, 0); -lean_dec(x_242); -x_243 = lean_box(0); -lean_ctor_set(x_240, 0, x_243); -return x_240; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_240, 1); -lean_inc(x_244); -lean_dec(x_240); -x_245 = lean_box(0); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_244); -return x_246; -} -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_247 = lean_ctor_get(x_235, 0); -x_248 = lean_ctor_get(x_235, 1); -x_249 = lean_ctor_get(x_235, 2); -x_250 = lean_ctor_get(x_235, 3); -x_251 = lean_ctor_get(x_235, 4); -x_252 = lean_ctor_get(x_235, 5); -lean_inc(x_252); -lean_inc(x_251); -lean_inc(x_250); -lean_inc(x_249); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_235); -x_253 = l_Std_PersistentArray_push___rarg(x_250, x_231); -x_254 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_254, 0, x_247); -lean_ctor_set(x_254, 1, x_248); -lean_ctor_set(x_254, 2, x_249); -lean_ctor_set(x_254, 3, x_253); -lean_ctor_set(x_254, 4, x_251); -lean_ctor_set(x_254, 5, x_252); -x_255 = lean_st_ref_set(x_8, x_254, x_236); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_257 = x_255; -} else { - lean_dec_ref(x_255); - x_257 = lean_box(0); -} -x_258 = lean_box(0); -if (lean_is_scalar(x_257)) { - x_259 = lean_alloc_ctor(0, 2, 0); -} else { - x_259 = x_257; -} -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_256); -return x_259; -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_260 = lean_ctor_get(x_19, 0); -lean_inc(x_260); -lean_dec(x_19); -x_261 = lean_ctor_get(x_7, 0); -x_262 = lean_ctor_get(x_7, 1); -x_263 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_263, 1); -lean_inc(x_265); -lean_dec(x_263); -x_266 = l_Lean_FileMap_toPosition(x_262, x_216); -lean_dec(x_216); -x_267 = l_Lean_FileMap_toPosition(x_262, x_260); -lean_dec(x_260); -x_268 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_268, 0, x_267); -x_269 = lean_ctor_get(x_11, 4); -x_270 = lean_ctor_get(x_11, 5); -lean_inc(x_270); -lean_inc(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_264); -x_273 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; -lean_inc(x_261); -x_274 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_274, 0, x_261); -lean_ctor_set(x_274, 1, x_266); -lean_ctor_set(x_274, 2, x_268); -lean_ctor_set(x_274, 3, x_273); -lean_ctor_set(x_274, 4, x_272); -lean_ctor_set_uint8(x_274, sizeof(void*)*5, x_3); -x_275 = lean_st_ref_get(x_12, x_265); -x_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -lean_dec(x_275); -x_277 = lean_st_ref_take(x_8, x_276); -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec(x_277); -x_280 = lean_ctor_get(x_278, 0); -lean_inc(x_280); -x_281 = lean_ctor_get(x_278, 1); -lean_inc(x_281); -x_282 = lean_ctor_get(x_278, 2); -lean_inc(x_282); -x_283 = lean_ctor_get(x_278, 3); -lean_inc(x_283); -x_284 = lean_ctor_get(x_278, 4); -lean_inc(x_284); -x_285 = lean_ctor_get(x_278, 5); -lean_inc(x_285); -if (lean_is_exclusive(x_278)) { - lean_ctor_release(x_278, 0); - lean_ctor_release(x_278, 1); - lean_ctor_release(x_278, 2); - lean_ctor_release(x_278, 3); - lean_ctor_release(x_278, 4); - lean_ctor_release(x_278, 5); - x_286 = x_278; -} else { - lean_dec_ref(x_278); - x_286 = lean_box(0); -} -x_287 = l_Std_PersistentArray_push___rarg(x_283, x_274); -if (lean_is_scalar(x_286)) { - x_288 = lean_alloc_ctor(0, 6, 0); -} else { - x_288 = x_286; -} -lean_ctor_set(x_288, 0, x_280); -lean_ctor_set(x_288, 1, x_281); -lean_ctor_set(x_288, 2, x_282); -lean_ctor_set(x_288, 3, x_287); -lean_ctor_set(x_288, 4, x_284); -lean_ctor_set(x_288, 5, x_285); -x_289 = lean_st_ref_set(x_8, x_288, x_279); -x_290 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -if (lean_is_exclusive(x_289)) { - lean_ctor_release(x_289, 0); - lean_ctor_release(x_289, 1); - x_291 = x_289; -} else { - lean_dec_ref(x_289); - x_291 = lean_box(0); -} -x_292 = lean_box(0); -if (lean_is_scalar(x_291)) { - x_293 = lean_alloc_ctor(0, 2, 0); -} else { - x_293 = x_291; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_290); -return x_293; -} -} -} -} -} -} -lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(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_ctor_get(x_10, 3); -x_14 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown declaration '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_12 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_12, 0, x_1); -x_13 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = 2; -x_18 = l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_18; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_take(x_2, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_15, 0, x_19); -x_20 = lean_st_ref_set(x_2, x_15, x_16); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -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_24); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_27 = lean_ctor_get(x_15, 0); -x_28 = lean_ctor_get(x_15, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_15); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -x_31 = lean_st_ref_set(x_2, x_30, x_16); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_33 = x_31; -} else { - lean_dec_ref(x_31); - x_33 = lean_box(0); -} -x_34 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_33; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { -_start: -{ -uint8_t x_16; -x_16 = x_4 < x_3; -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_5); -x_18 = lean_array_uget(x_2, x_4); -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_18, x_19); -x_21 = l_Lean_Syntax_getId(x_20); -lean_dec(x_20); -x_22 = lean_unsigned_to_nat(2u); -x_23 = l_Lean_Syntax_getArg(x_18, x_22); -x_24 = l_Lean_Syntax_getId(x_23); -lean_dec(x_23); -x_25 = l_Lean_Name_append(x_1, x_21); -x_26 = lean_st_ref_get(x_14, x_15); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Environment_contains(x_29, x_25); -if (x_30 == 0) -{ -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; size_t x_43; size_t x_44; lean_object* x_45; -lean_dec(x_24); -x_31 = lean_ctor_get(x_13, 0); -x_32 = lean_ctor_get(x_13, 1); -x_33 = lean_ctor_get(x_13, 2); -x_34 = lean_ctor_get(x_13, 3); -x_35 = lean_ctor_get(x_13, 4); -x_36 = lean_ctor_get(x_13, 5); -x_37 = lean_ctor_get(x_13, 6); -x_38 = lean_ctor_get(x_13, 7); -x_39 = l_Lean_replaceRef(x_18, x_34); -lean_dec(x_18); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -x_40 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_40, 0, x_31); -lean_ctor_set(x_40, 1, x_32); -lean_ctor_set(x_40, 2, x_33); -lean_ctor_set(x_40, 3, x_39); -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); -x_41 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_40, x_14, x_28); -lean_dec(x_40); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = 1; -x_44 = x_4 + x_43; -x_45 = lean_box(0); -x_4 = x_44; -x_5 = x_45; -x_15 = x_42; -goto _start; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; -lean_dec(x_18); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_24); -lean_ctor_set(x_47, 1, x_25); -x_48 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = 1; -x_51 = x_4 + x_50; -x_52 = lean_box(0); -x_4 = x_51; -x_5 = x_52; -x_15 = x_49; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_getId(x_13); -lean_dec(x_13); -x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -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_unsigned_to_nat(2u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lean_Syntax_getSepArgs(x_19); -lean_dec(x_19); -x_21 = lean_array_get_size(x_20); -x_22 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_23 = 0; -x_24 = lean_box(0); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(x_16, x_20, x_22, x_23, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_20); -lean_dec(x_16); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_15); -if (x_30 == 0) -{ -return x_15; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_15, 0); -x_32 = lean_ctor_get(x_15, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_15); -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; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { -_start: -{ -uint8_t x_16; -x_16 = x_4 < x_3; -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_18 = lean_array_uget(x_2, x_4); -x_19 = l_Lean_Syntax_getId(x_18); -lean_inc(x_19); -x_20 = l_Lean_Name_append(x_1, x_19); -x_21 = lean_st_ref_get(x_14, x_15); -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_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Environment_contains(x_24, x_20); -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; size_t x_38; size_t x_39; -lean_dec(x_19); -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(x_13, 4); -x_31 = lean_ctor_get(x_13, 5); -x_32 = lean_ctor_get(x_13, 6); -x_33 = lean_ctor_get(x_13, 7); -x_34 = l_Lean_replaceRef(x_18, x_29); -lean_dec(x_18); -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); -x_35 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_27); -lean_ctor_set(x_35, 2, x_28); -lean_ctor_set(x_35, 3, x_34); -lean_ctor_set(x_35, 4, x_30); -lean_ctor_set(x_35, 5, x_31); -lean_ctor_set(x_35, 6, x_32); -lean_ctor_set(x_35, 7, x_33); -x_36 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35, x_14, x_23); -lean_dec(x_35); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = 1; -x_39 = x_4 + x_38; -x_4 = x_39; -x_15 = x_37; -goto _start; -} -else -{ -lean_object* x_41; size_t x_42; size_t x_43; -lean_dec(x_20); -lean_dec(x_18); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_19); -lean_ctor_set(x_41, 1, x_5); -x_42 = 1; -x_43 = x_4 + x_42; -x_4 = x_43; -x_5 = x_41; -x_15 = x_23; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_getId(x_13); -lean_dec(x_13); -x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(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; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -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_box(0); -x_19 = lean_unsigned_to_nat(2u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Syntax_getArgs(x_20); -lean_dec(x_20); -x_22 = lean_array_get_size(x_21); -x_23 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_24 = 0; -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(x_16, x_21, x_23, x_24, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_21); -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_16); -lean_ctor_set(x_28, 1, x_26); -x_29 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -return x_29; -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_15); -if (x_30 == 0) -{ -return x_15; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_15, 0); -x_32 = lean_ctor_get(x_15, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_15); -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; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { -_start: -{ -uint8_t x_16; -x_16 = x_4 < x_3; -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_dec(x_5); -x_18 = lean_array_uget(x_2, x_4); -x_19 = l_Lean_Syntax_getId(x_18); -lean_inc(x_19); -x_20 = l_Lean_Name_append(x_1, x_19); -x_21 = lean_st_ref_get(x_14, x_15); -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_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Environment_contains(x_24, x_20); -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; size_t x_38; size_t x_39; lean_object* x_40; -lean_dec(x_19); -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(x_13, 4); -x_31 = lean_ctor_get(x_13, 5); -x_32 = lean_ctor_get(x_13, 6); -x_33 = lean_ctor_get(x_13, 7); -x_34 = l_Lean_replaceRef(x_18, x_29); -lean_dec(x_18); -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); -x_35 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_27); -lean_ctor_set(x_35, 2, x_28); -lean_ctor_set(x_35, 3, x_34); -lean_ctor_set(x_35, 4, x_30); -lean_ctor_set(x_35, 5, x_31); -lean_ctor_set(x_35, 6, x_32); -lean_ctor_set(x_35, 7, x_33); -x_36 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35, x_14, x_23); -lean_dec(x_35); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = 1; -x_39 = x_4 + x_38; -x_40 = lean_box(0); -x_4 = x_39; -x_5 = x_40; -x_15 = x_37; -goto _start; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; -lean_dec(x_18); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_19); -lean_ctor_set(x_42, 1, x_20); -x_43 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = 1; -x_46 = x_4 + x_45; -x_47 = lean_box(0); -x_4 = x_46; -x_5 = x_47; -x_15 = x_44; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_getId(x_13); -lean_dec(x_13); -x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -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_unsigned_to_nat(2u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lean_Syntax_getArgs(x_19); -lean_dec(x_19); -x_21 = lean_array_get_size(x_20); -x_22 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_23 = 0; -x_24 = lean_box(0); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(x_16, x_20, x_22, x_23, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_20); -lean_dec(x_16); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_15); -if (x_30 == 0) -{ -return x_15; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_15, 0); -x_32 = lean_ctor_get(x_15, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_15); -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; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { -_start: -{ -uint8_t x_16; -x_16 = x_4 < x_3; -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -lean_dec(x_5); -x_18 = lean_array_uget(x_2, x_4); -x_19 = lean_st_ref_take(x_14, x_15); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_1); -x_24 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_18, x_23, x_1); -lean_ctor_set(x_20, 0, x_24); -x_25 = lean_st_ref_set(x_14, x_20, x_21); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = 1; -x_28 = x_4 + x_27; -x_29 = lean_box(0); -x_4 = x_28; -x_5 = x_29; -x_15 = x_26; -goto _start; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; -x_31 = lean_ctor_get(x_20, 0); -x_32 = lean_ctor_get(x_20, 1); -x_33 = lean_ctor_get(x_20, 2); -x_34 = lean_ctor_get(x_20, 3); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_20); -lean_inc(x_1); -x_35 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_18, x_31, x_1); -x_36 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_34); -x_37 = lean_st_ref_set(x_14, x_36, x_21); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = 1; -x_40 = x_4 + x_39; -x_41 = lean_box(0); -x_4 = x_40; -x_5 = x_41; -x_15 = x_38; -goto _start; -} -} -} -} -lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_scopedEnvExtensionsRef; -x_15 = lean_st_ref_get(x_14, x_13); -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_array_get_size(x_16); -x_19 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_20 = 0; -x_21 = lean_box(0); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(x_1, x_16, x_19, x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -lean_dec(x_16); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = x_3 < x_2; -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_4); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_4); -x_17 = lean_array_uget(x_1, x_3); -x_18 = l_Lean_Syntax_getId(x_17); -lean_dec(x_17); -x_19 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(0); -lean_inc(x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = 1; -x_29 = x_3 + x_28; -x_30 = lean_box(0); -x_3 = x_29; -x_4 = x_30; -x_14 = x_27; -goto _start; -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_19); -if (x_32 == 0) -{ -return x_19; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_19, 0); -x_34 = lean_ctor_get(x_19, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_19); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_getArgs(x_13); -lean_dec(x_13); -x_15 = lean_array_get_size(x_14); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = lean_box(0); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(x_14, x_16, x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_14); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -return x_19; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_19, 0); -x_26 = lean_ctor_get(x_19, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_19); -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; -} -} -} -} -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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; uint8_t x_15; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_2, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__1___boxed), 11, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Command"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__13; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openOnly"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openHiding"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___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_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; uint8_t x_31; -x_24 = lean_ctor_get(x_8, 5); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 4); -lean_inc(x_25); -x_26 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1; -lean_inc(x_1); -x_27 = l_Lean_Syntax_getKind(x_1); -x_28 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5; -x_29 = lean_name_eq(x_27, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_25); -if (x_29 == 0) -{ -uint8_t x_140; -x_140 = 0; -x_31 = x_140; -goto block_139; -} -else -{ -uint8_t x_141; -x_141 = 1; -x_31 = x_141; -goto block_139; -} -block_23: -{ -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; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_11); -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; -} -} -} -block_139: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_st_ref_get(x_9, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_st_mk_ref(x_30, x_33); -if (x_31 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; -x_38 = lean_name_eq(x_27, x_37); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -x_39 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9; -x_40 = lean_name_eq(x_27, x_39); -lean_dec(x_27); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -lean_dec(x_1); -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); -lean_inc(x_9); -lean_inc(x_35); -x_44 = lean_apply_11(x_26, x_42, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_st_ref_get(x_9, x_46); -lean_dec(x_9); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_35, x_48); -lean_dec(x_35); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_45); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_49, 0, x_52); -x_11 = x_49; -goto block_23; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_45); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_11 = x_56; -goto block_23; -} -} -else -{ -uint8_t x_57; -lean_dec(x_35); -lean_dec(x_9); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) -{ -x_11 = x_44; -goto block_23; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -x_59 = lean_ctor_get(x_44, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_44); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_11 = x_60; -goto block_23; -} -} -} -else -{ -uint8_t x_61; -lean_dec(x_35); -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); -lean_dec(x_2); -x_61 = !lean_is_exclusive(x_41); -if (x_61 == 0) -{ -x_11 = x_41; -goto block_23; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_41, 0); -x_63 = lean_ctor_get(x_41, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_41); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_11 = x_64; -goto block_23; -} -} -} -else -{ -lean_object* x_65; -x_65 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -lean_dec(x_1); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -lean_inc(x_9); -lean_inc(x_35); -x_68 = lean_apply_11(x_26, x_66, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_67); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_st_ref_get(x_9, x_70); -lean_dec(x_9); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_st_ref_get(x_35, x_72); -lean_dec(x_35); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_73, 0); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_69); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_73, 0, x_76); -x_11 = x_73; -goto block_23; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_77 = lean_ctor_get(x_73, 0); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_73); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_69); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_11 = x_80; -goto block_23; -} -} -else -{ -uint8_t x_81; -lean_dec(x_35); -lean_dec(x_9); -x_81 = !lean_is_exclusive(x_68); -if (x_81 == 0) -{ -x_11 = x_68; -goto block_23; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_68, 0); -x_83 = lean_ctor_get(x_68, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_68); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_11 = x_84; -goto block_23; -} -} -} -else -{ -uint8_t x_85; -lean_dec(x_35); -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); -lean_dec(x_2); -x_85 = !lean_is_exclusive(x_65); -if (x_85 == 0) -{ -x_11 = x_65; -goto block_23; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_65, 0); -x_87 = lean_ctor_get(x_65, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_65); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -x_11 = x_88; -goto block_23; -} -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_27); -x_89 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -lean_dec(x_1); -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_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -lean_inc(x_9); -lean_inc(x_35); -x_92 = lean_apply_11(x_26, x_90, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_91); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_st_ref_get(x_9, x_94); -lean_dec(x_9); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_97 = lean_st_ref_get(x_35, x_96); -lean_dec(x_35); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_93); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_97, 0, x_100); -x_11 = x_97; -goto block_23; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_101 = lean_ctor_get(x_97, 0); -x_102 = lean_ctor_get(x_97, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_97); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_93); -lean_ctor_set(x_103, 1, x_101); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_11 = x_104; -goto block_23; -} -} -else -{ -uint8_t x_105; -lean_dec(x_35); -lean_dec(x_9); -x_105 = !lean_is_exclusive(x_92); -if (x_105 == 0) -{ -x_11 = x_92; -goto block_23; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_92, 0); -x_107 = lean_ctor_get(x_92, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_92); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_11 = x_108; -goto block_23; -} -} -} -else -{ -uint8_t x_109; -lean_dec(x_35); -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); -lean_dec(x_2); -x_109 = !lean_is_exclusive(x_89); -if (x_109 == 0) -{ -x_11 = x_89; -goto block_23; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_89, 0); -x_111 = lean_ctor_get(x_89, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_89); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -x_11 = x_112; -goto block_23; -} -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_27); -x_113 = lean_ctor_get(x_34, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_34, 1); -lean_inc(x_114); -lean_dec(x_34); -x_115 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(x_1, x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_114); -lean_dec(x_1); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -lean_inc(x_9); -lean_inc(x_113); -x_118 = lean_apply_11(x_26, x_116, x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_117); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_st_ref_get(x_9, x_120); -lean_dec(x_9); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_123 = lean_st_ref_get(x_113, x_122); -lean_dec(x_113); -x_124 = !lean_is_exclusive(x_123); -if (x_124 == 0) -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_ctor_get(x_123, 0); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_119); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set(x_123, 0, x_126); -x_11 = x_123; -goto block_23; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_123, 0); -x_128 = lean_ctor_get(x_123, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_123); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_11 = x_130; -goto block_23; -} -} -else -{ -uint8_t x_131; -lean_dec(x_113); -lean_dec(x_9); -x_131 = !lean_is_exclusive(x_118); -if (x_131 == 0) -{ -x_11 = x_118; -goto block_23; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_118, 0); -x_133 = lean_ctor_get(x_118, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_118); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -x_11 = x_134; -goto block_23; -} -} -} -else -{ -uint8_t x_135; -lean_dec(x_113); -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); -lean_dec(x_2); -x_135 = !lean_is_exclusive(x_115); -if (x_135 == 0) -{ -x_11 = x_115; -goto block_23; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_115, 0); -x_137 = lean_ctor_get(x_115, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_115); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -x_11 = x_138; -goto block_23; -} -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(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, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = x_3 < x_2; -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_4); -x_16 = lean_array_uget(x_1, x_3); -x_17 = lean_st_ref_take(x_12, x_13); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_18, 0); -x_22 = l_Lean_ScopedEnvExtension_popScope___rarg(x_16, x_21); -lean_dec(x_16); -lean_ctor_set(x_18, 0, x_22); -x_23 = lean_st_ref_set(x_12, x_18, x_19); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = 1; -x_26 = x_3 + x_25; -x_27 = lean_box(0); -x_3 = x_26; -x_4 = x_27; -x_13 = x_24; -goto _start; -} -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; size_t x_37; size_t x_38; lean_object* x_39; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -x_31 = lean_ctor_get(x_18, 2); -x_32 = lean_ctor_get(x_18, 3); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_18); -x_33 = l_Lean_ScopedEnvExtension_popScope___rarg(x_16, x_29); -lean_dec(x_16); -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_32); -x_35 = lean_st_ref_set(x_12, x_34, x_19); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = 1; -x_38 = x_3 + x_37; -x_39 = lean_box(0); -x_3 = x_38; -x_4 = x_39; -x_13 = x_36; -goto _start; -} -} -} -} -lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -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 = l_Lean_scopedEnvExtensionsRef; -x_13 = lean_st_ref_get(x_12, x_11); -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_array_get_size(x_14); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -x_19 = lean_box(0); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(x_14, x_17, x_18, x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_14); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalOpen(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; -x_11 = l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -lean_inc(x_9); -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_15 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_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_unsigned_to_nat(3u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = lean_ctor_get(x_8, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_8, 1); -lean_inc(x_21); -x_22 = lean_ctor_get(x_8, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_8, 3); -lean_inc(x_23); -x_24 = lean_ctor_get(x_8, 4); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 6); -lean_inc(x_25); -x_26 = lean_ctor_get(x_8, 7); -lean_inc(x_26); -x_27 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_21); -lean_ctor_set(x_27, 2, x_22); -lean_ctor_set(x_27, 3, x_23); -lean_ctor_set(x_27, 4, x_24); -lean_ctor_set(x_27, 5, x_16); -lean_ctor_set(x_27, 6, x_25); -lean_ctor_set(x_27, 7, x_26); -lean_inc(x_9); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_28 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_17); -if (lean_obj_tag(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_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); -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); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_29); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -lean_dec(x_28); -x_38 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); -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); -lean_dec(x_2); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -lean_ctor_set_tag(x_38, 1); -lean_ctor_set(x_38, 0, x_36); -return x_38; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_ctor_get(x_15, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_15, 1); -lean_inc(x_44); -lean_dec(x_15); -x_45 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44); -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); -lean_dec(x_2); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -lean_ctor_set_tag(x_45, 1); -lean_ctor_set(x_45, 0, x_43); -return x_45; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_5); -lean_dec(x_1); -return x_16; -} -} -lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -lean_dec(x_3); -x_15 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; -} -} -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_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_12; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10___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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_18; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_18; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12___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_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_18; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14___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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(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_6); -lean_dec(x_2); -return x_18; -} -} -lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19___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_2); -lean_dec(x_2); -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(x_1, x_15, x_16, x_4, x_5, 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_6); -lean_dec(x_5); -lean_dec(x_1); -return x_17; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16___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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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_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); -lean_dec(x_2); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___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: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_5); -lean_dec(x_1); -return x_16; -} -} -lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20___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_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(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_Lean_Elab_Tactic_evalOpen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalOpen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("open"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalOpen"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalOpen___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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; 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_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_13, 0, x_19); -return x_13; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_dec(x_13); -x_24 = lean_st_ref_get(x_9, x_23); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_st_ref_take(x_5, x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 5); -lean_inc(x_28); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = !lean_is_exclusive(x_27); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_27, 5); -lean_dec(x_31); -x_32 = !lean_is_exclusive(x_28); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_28, 1); -x_34 = l_Std_PersistentArray_push___rarg(x_33, x_1); -lean_ctor_set(x_28, 1, x_34); -x_35 = lean_st_ref_set(x_5, x_27, x_29); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -x_38 = lean_box(0); -lean_ctor_set(x_35, 0, x_38); -return x_35; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 1); -lean_inc(x_39); -lean_dec(x_35); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} -} -else -{ -uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_42 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); -x_43 = lean_ctor_get(x_28, 0); -x_44 = lean_ctor_get(x_28, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_28); -x_45 = l_Std_PersistentArray_push___rarg(x_44, x_1); -x_46 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_42); -lean_ctor_set(x_27, 5, x_46); -x_47 = lean_st_ref_set(x_5, x_27, x_29); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); -} -x_50 = lean_box(0); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t 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; -x_52 = lean_ctor_get(x_27, 0); -x_53 = lean_ctor_get(x_27, 1); -x_54 = lean_ctor_get(x_27, 2); -x_55 = lean_ctor_get(x_27, 3); -x_56 = lean_ctor_get(x_27, 4); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_27); -x_57 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); -x_58 = lean_ctor_get(x_28, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_28, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_60 = x_28; -} else { - lean_dec_ref(x_28); - x_60 = lean_box(0); -} -x_61 = l_Std_PersistentArray_push___rarg(x_59, x_1); -if (lean_is_scalar(x_60)) { - x_62 = lean_alloc_ctor(0, 2, 1); -} else { - x_62 = x_60; -} -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_57); -x_63 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_63, 0, x_52); -lean_ctor_set(x_63, 1, x_53); -lean_ctor_set(x_63, 2, x_54); -lean_ctor_set(x_63, 3, x_55); -lean_ctor_set(x_63, 4, x_56); -lean_ctor_set(x_63, 5, x_62); -x_64 = lean_st_ref_set(x_5, x_63, x_29); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_66 = x_64; -} else { - lean_dec_ref(x_64); - x_66 = lean_box(0); -} -x_67 = lean_box(0); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_66; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; -} -} -} -} -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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; 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_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_13, 0, x_19); -return x_13; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_dec(x_13); -x_24 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___spec__4(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); -return x_26; -} -} -} -lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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; -x_11 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___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; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec(x_10); -x_14 = l_Lean_KVMap_insertCore(x_13, x_1, x_2); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_12); -return x_15; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type mismatch at set_option"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_9, 3); -lean_inc(x_12); -lean_inc(x_1); -x_13 = l_Lean_getOptionDecl(x_1, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -lean_dec(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_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_DataValue_sameCtor(x_16, x_2); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_2); -lean_dec(x_1); -x_18 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -lean_dec(x_9); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -return x_19; -} -else -{ -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_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_24; lean_object* x_25; -x_24 = lean_box(0); -x_25 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___lambda__1(x_1, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_13); -if (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 = lean_ctor_get(x_13, 0); -x_28 = lean_io_error_to_string(x_27); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_12); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_13, 0, x_31); -return x_13; -} -else -{ -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_13, 0); -x_33 = lean_ctor_get(x_13, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_13); -x_34 = lean_io_error_to_string(x_32); -x_35 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_12); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_33); -return x_38; -} -} -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected set_option value "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("true"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("false"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Lean_Syntax_getId(x_1); -x_13 = lean_erase_macro_scopes(x_12); -x_14 = l_Lean_Syntax_isStrLit_x3f(x_2); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_numLitKind; -x_16 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_15, x_2); -if (lean_obj_tag(x_16) == 0) -{ -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_2, 1); -lean_inc(x_17); -x_18 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3; -x_19 = lean_string_dec_eq(x_17, x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4; -x_21 = lean_string_dec_eq(x_17, x_20); -lean_dec(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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_13); -x_22 = lean_ctor_get(x_9, 3); -lean_inc(x_22); -x_23 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_2); -x_27 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -lean_dec(x_9); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_2); -x_32 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; -x_33 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_17); -lean_dec(x_2); -x_34 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6; -x_35 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_13); -x_36 = lean_ctor_get(x_9, 3); -lean_inc(x_36); -x_37 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_2); -x_41 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); -lean_dec(x_9); -return x_45; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_2); -x_46 = lean_ctor_get(x_16, 0); -lean_inc(x_46); -lean_dec(x_16); -x_47 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_48; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_2); -x_49 = lean_ctor_get(x_14, 0); -lean_inc(x_49); -lean_dec(x_14); -x_50 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_51 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_51; -} -} -} -lean_object* l_Lean_Elab_Tactic_elabSetOption(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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_unsigned_to_nat(2u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -lean_inc(x_8); -x_15 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_12); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -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_unsigned_to_nat(4u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = !lean_is_exclusive(x_8); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_8, 2); -lean_dec(x_21); -x_22 = lean_ctor_get(x_8, 0); -lean_dec(x_22); -x_23 = l_Lean_maxRecDepth; -x_24 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_16, x_23); -lean_ctor_set(x_8, 2, x_24); -lean_ctor_set(x_8, 0, x_16); -x_25 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_26 = lean_ctor_get(x_8, 1); -x_27 = lean_ctor_get(x_8, 3); -x_28 = lean_ctor_get(x_8, 4); -x_29 = lean_ctor_get(x_8, 5); -x_30 = lean_ctor_get(x_8, 6); -x_31 = lean_ctor_get(x_8, 7); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_8); -x_32 = l_Lean_maxRecDepth; -x_33 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_16, x_32); -x_34 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_34, 0, x_16); -lean_ctor_set(x_34, 1, x_26); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -x_35 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_17); -return x_35; -} -} -else -{ -uint8_t x_36; -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); -x_36 = !lean_is_exclusive(x_15); -if (x_36 == 0) -{ -return x_15; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_15, 0); -x_38 = lean_ctor_get(x_15, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_15); -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; -} -} -} -} -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___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_throwError___at_Lean_Elab_Tactic_elabSetOption___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_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_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_13; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__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_10); -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_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Tactic_elabSetOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_elabSetOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("set_option"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabSetOption"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabSetOption___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_14; -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_6); -lean_dec(x_2); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_3); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -x_18 = l_Lean_Meta_isExprMVarAssigned(x_16, x_9, x_10, x_11, x_12, x_13); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_42; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -lean_inc(x_2); -lean_inc(x_16); -lean_ctor_set(x_3, 1, x_2); -x_22 = l_Lean_Elab_Tactic_setGoals(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l_Lean_Syntax_getArg(x_1, x_24); -x_26 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_42 = l_Lean_Elab_Tactic_evalTacticAux(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_27); -lean_dec(x_16); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_43); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_4, x_45); -x_3 = x_17; -x_4 = x_47; -x_13 = x_46; -goto _start; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_42, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_42, 1); -lean_inc(x_50); -lean_dec(x_42); -x_29 = x_49; -x_30 = x_50; -goto block_41; -} -block_41: -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = l_Lean_Elab_Tactic_SavedState_restore(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_array_push(x_4, x_16); -x_3 = x_17; -x_4 = x_35; -x_13 = x_34; -goto _start; -} -else -{ -uint8_t x_37; -lean_dec(x_17); -lean_dec(x_16); -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_6); -lean_dec(x_4); -lean_dec(x_2); -x_37 = !lean_is_exclusive(x_33); -if (x_37 == 0) -{ -return x_33; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_33, 0); -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -else -{ -lean_object* x_51; -lean_free_object(x_3); -lean_dec(x_16); -x_51 = lean_ctor_get(x_18, 1); -lean_inc(x_51); -lean_dec(x_18); -x_3 = x_17; -x_13 = x_51; -goto _start; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_3, 0); -x_54 = lean_ctor_get(x_3, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_3); -x_55 = l_Lean_Meta_isExprMVarAssigned(x_53, x_9, x_10, x_11, x_12, x_13); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_unbox(x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_80; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -lean_inc(x_2); -lean_inc(x_53); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_2); -x_60 = l_Lean_Elab_Tactic_setGoals(x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_unsigned_to_nat(1u); -x_63 = l_Lean_Syntax_getArg(x_1, x_62); -x_64 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_80 = l_Lean_Elab_Tactic_evalTacticAux(x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_65); -lean_dec(x_53); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_4, x_83); -x_3 = x_54; -x_4 = x_85; -x_13 = x_84; -goto _start; -} -else -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_80, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_80, 1); -lean_inc(x_88); -lean_dec(x_80); -x_67 = x_87; -x_68 = x_88; -goto block_79; -} -block_79: -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = l_Lean_Elab_Tactic_SavedState_restore(x_65, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_68); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_70); -if (lean_obj_tag(x_71) == 0) -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_array_push(x_4, x_53); -x_3 = x_54; -x_4 = x_73; -x_13 = x_72; -goto _start; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_54); -lean_dec(x_53); -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_6); -lean_dec(x_4); -lean_dec(x_2); -x_75 = lean_ctor_get(x_71, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_71, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_77 = x_71; -} else { - lean_dec_ref(x_71); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_53); -x_89 = lean_ctor_get(x_55, 1); -lean_inc(x_89); -lean_dec(x_55); -x_3 = x_54; -x_13 = x_89; -goto _start; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalAllGoals(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; -x_11 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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_box(0); -x_15 = l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___closed__1; -lean_inc(x_9); -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_16 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(x_1, x_14, x_12, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -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); -x_19 = lean_array_to_list(lean_box(0), x_17); -x_20 = l_Lean_Elab_Tactic_setGoals(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -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_20; -} -else -{ -uint8_t x_21; -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); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -return x_16; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_16); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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) { -_start: -{ -lean_object* x_14; -x_14 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(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_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_Elab_Tactic_evalAllGoals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalAllGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("allGoals"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalAllGoals"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAllGoals___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeq(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; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_evalTacticSeq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalTacticSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticSeq"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalTacticSeq"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___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) { -_start: -{ -lean_object* x_9; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg), 1, 0); -return x_9; -} -} -lean_object* l_Lean_Elab_Tactic_evalChoiceAux(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; uint8_t x_13; -x_12 = lean_array_get_size(x_1); -x_13 = lean_nat_dec_lt(x_2, x_12); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_11); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_array_fget(x_1, x_2); -x_16 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -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_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_Tactic_SavedState_restore(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_23; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set_tag(x_22, 1); -lean_ctor_set(x_22, 0, x_20); -return x_22; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_22); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_22, 1); -x_29 = lean_ctor_get(x_22, 0); -lean_dec(x_29); -x_30 = lean_ctor_get(x_20, 0); -lean_inc(x_30); -x_31 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_32 = lean_nat_dec_eq(x_31, x_30); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_ctor_set_tag(x_22, 1); -lean_ctor_set(x_22, 0, x_20); -return x_22; -} -else -{ -lean_object* x_33; lean_object* x_34; -lean_free_object(x_22); -lean_dec(x_20); -x_33 = lean_unsigned_to_nat(1u); -x_34 = lean_nat_add(x_2, x_33); -lean_dec(x_2); -x_2 = x_34; -x_11 = x_28; -goto _start; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); -lean_dec(x_22); -x_37 = lean_ctor_get(x_20, 0); -lean_inc(x_37); -x_38 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_39 = lean_nat_dec_eq(x_38, x_37); -lean_dec(x_37); -if (x_39 == 0) -{ -lean_object* x_40; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_20); -lean_ctor_set(x_40, 1, x_36); -return x_40; -} -else -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_20); -x_41 = lean_unsigned_to_nat(1u); -x_42 = lean_nat_add(x_2, x_41); -lean_dec(x_2); -x_2 = x_42; -x_11 = x_36; -goto _start; -} -} -} -} -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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_9; -} -} -lean_object* l_Lean_Elab_Tactic_evalChoiceAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalChoiceAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Tactic_evalChoice(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; -x_11 = l_Lean_Syntax_getArgs(x_1); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Elab_Tactic_evalChoiceAux(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_11); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_evalChoice___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalChoice(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("choice"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalChoice"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalChoice___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Tactic_evalSkip(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 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSkip___rarg), 1, 0); -return x_10; -} -} -lean_object* l_Lean_Elab_Tactic_evalSkip___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_Tactic_evalSkip(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -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); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("skip"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalSkip"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSkip___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalUnknown(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; -x_11 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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_alloc_ctor(5, 2, 0); -lean_ctor_set(x_14, 0, x_1); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_15; -} -} -lean_object* l_Lean_Elab_Tactic_evalUnknown___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalUnknown(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); -lean_dec(x_2); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalUnknown"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalUnknown___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tactic succeeded"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(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: -{ -uint8_t x_11; lean_object* x_12; 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_18 = lean_unsigned_to_nat(1u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_9); -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_23 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; uint8_t x_25; -lean_dec(x_21); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = 1; -x_11 = x_25; -x_12 = x_24; -goto block_17; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Elab_Tactic_SavedState_restore(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = 0; -x_11 = x_29; -x_12 = x_28; -goto block_17; -} -block_17: -{ -if (x_11 == 0) -{ -lean_object* x_13; lean_object* x_14; -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); -x_13 = lean_box(0); -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 -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; -x_16 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -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_16; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalFailIfSuccess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("failIfSuccess"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalFailIfSuccess"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFailIfSuccess___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalTraceState___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) { -_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; -x_10 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, 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_Lean_Elab_goalsToMessageData(x_11); -x_14 = 0; -x_15 = l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_13, x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -return x_15; -} -} -lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTraceState___rarg___boxed), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalTraceState___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalTraceState___rarg(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_Lean_Elab_Tactic_evalTraceState___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Tactic_evalTraceState(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("traceState"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalTraceState"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTraceState___boxed), 1, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_13 = l_Lean_Meta_assumption(x_11, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_box(0); -x_16 = l_Lean_Elab_Tactic_replaceMainGoal(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -return x_16; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -else -{ -uint8_t x_27; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_27 = !lean_is_exclusive(x_13); -if (x_27 == 0) -{ -return x_13; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_13, 0); -x_29 = lean_ctor_get(x_13, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_13); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_31 = !lean_is_exclusive(x_10); -if (x_31 == 0) -{ -return x_10; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_10, 0); -x_33 = lean_ctor_get(x_10, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_10); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_evalAssumption___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(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); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Tactic_evalAssumption(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("assumption"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalAssumption"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___boxed), 1, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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; uint8_t x_13; lean_object* x_14; lean_object* x_15; -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 = 1; -x_14 = lean_unsigned_to_nat(2u); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_15 = l_Lean_Meta_contradiction(x_11, x_13, x_14, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = l_Lean_Elab_Tactic_replaceMainGoal(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = lean_box(0); -lean_ctor_set(x_18, 0, x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -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_22); -return x_24; -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_18); -if (x_25 == 0) -{ -return x_18; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_18, 0); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_18); -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 -{ -uint8_t x_29; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_29 = !lean_is_exclusive(x_15); -if (x_29 == 0) -{ -return x_15; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_15, 0); -x_31 = lean_ctor_get(x_15, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_15); -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_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -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; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_evalContradiction___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___rarg), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(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); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Tactic_evalContradiction___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Tactic_evalContradiction(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("contradiction"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalContradiction"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___boxed), 1, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -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); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_14 = l_Lean_Meta_intro(x_12, x_1, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Elab_Tactic_replaceMainGoal(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -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_24); -return x_26; -} -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_20); -if (x_27 == 0) -{ -return x_20; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_20, 0); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_20); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_14); -if (x_31 == 0) -{ -return x_14; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_14, 0); -x_33 = lean_ctor_get(x_14, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_14); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_11); -if (x_35 == 0) -{ -return x_11; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_11, 0); -x_37 = lean_ctor_get(x_11, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_11); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep(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_Elab_Tactic_evalIntro_introStep___lambda__1___boxed), 10, 1); -lean_closure_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalIntro_introStep___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); -return x_11; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 3); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed), 3, 0); -return x_7; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("intro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("null"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(";"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(3u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ident"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Term"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__13; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__11; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("h"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__15; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__15; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Tactic_evalIntro___closed__16; -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_Lean_Elab_Tactic_evalIntro___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__15; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("match"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__4; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchDiscr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__22; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__6; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__21; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__25() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("with"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchAlts"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matchAlt"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__28; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("|"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("syntheticHole"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__32; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("?"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__35() { +static lean_object* _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1() { _start: { lean_object* x_1; @@ -23750,789 +12918,16 @@ x_1 = lean_mk_string("_"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tacticTry_"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__38; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("try"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("group"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__42() { +static lean_object* _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__41; +x_2 = l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("clear"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__43; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__35; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntro(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalIntro___closed__2; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -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_nullKind; -x_17 = lean_unsigned_to_nat(0u); -lean_inc(x_15); -x_18 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_17); -if (x_18 == 0) -{ -uint8_t x_19; -lean_inc(x_15); -x_19 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_14); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Syntax_getNumArgs(x_15); -x_21 = lean_nat_dec_le(x_14, x_20); -if (x_21 == 0) -{ -lean_object* x_22; -lean_dec(x_20); -lean_dec(x_15); -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); -lean_dec(x_2); -x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_22; -} -else -{ -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; -x_23 = l_Lean_Syntax_getArg(x_15, x_17); -x_24 = l_Lean_Syntax_getArgs(x_15); -lean_dec(x_15); -x_25 = lean_nat_sub(x_20, x_17); -lean_dec(x_20); -x_26 = l_Array_extract___rarg(x_24, x_14, x_25); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Syntax_getArgs(x_27); -lean_dec(x_27); -x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_10); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = l_Lean_Elab_Tactic_evalIntro___closed__1; -lean_inc(x_30); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_30); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_Tactic_evalIntro___closed__5; -x_39 = lean_array_push(x_38, x_23); -x_40 = l_Lean_Elab_Tactic_evalIntro___closed__4; -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 = l_Lean_Elab_Tactic_evalIntro___closed__6; -x_43 = lean_array_push(x_42, x_37); -lean_inc(x_43); -x_44 = lean_array_push(x_43, x_41); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_11); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Tactic_evalIntro___closed__7; -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_30); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___closed__1; -x_49 = l_Array_append___rarg(x_48, x_28); -lean_dec(x_28); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_array_push(x_43, x_50); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Elab_Tactic_evalIntro___closed__8; -x_54 = lean_array_push(x_53, x_45); -x_55 = lean_array_push(x_54, x_47); -x_56 = lean_array_push(x_55, x_52); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_40); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_array_push(x_38, x_57); -x_59 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_Elab_Tactic_evalTacticAux(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -lean_dec(x_2); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_62 = l_Lean_Syntax_getArg(x_15, x_17); -lean_dec(x_15); -x_63 = l_Lean_Elab_Tactic_evalIntro___closed__10; -lean_inc(x_62); -x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = l_Lean_Elab_Tactic_evalIntro___closed__14; -lean_inc(x_62); -x_66 = l_Lean_Syntax_isOfKind(x_62, x_65); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_67 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_10); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Tactic_evalIntro___closed__1; -lean_inc(x_68); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_68); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Tactic_evalIntro___closed__18; -x_79 = l_Lean_addMacroScope(x_74, x_78, x_71); -x_80 = lean_box(0); -x_81 = l_Lean_Elab_Tactic_evalIntro___closed__17; -lean_inc(x_68); -x_82 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_82, 0, x_68); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_80); -x_83 = l_Lean_Elab_Tactic_evalIntro___closed__5; -lean_inc(x_82); -x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_Elab_Tactic_evalIntro___closed__4; -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_Tactic_evalIntro___closed__6; -x_88 = lean_array_push(x_87, x_77); -lean_inc(x_86); -x_89 = lean_array_push(x_88, x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_11); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Elab_Tactic_evalIntro___closed__7; -lean_inc(x_68); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_68); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Elab_Tactic_evalIntro___closed__19; -lean_inc(x_68); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_68); -lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_Elab_Tactic_evalIntro___closed__24; -x_96 = lean_array_push(x_95, x_82); -x_97 = l_Lean_Elab_Tactic_evalIntro___closed__23; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_83, x_98); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_85); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Tactic_evalIntro___closed__25; -lean_inc(x_68); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_68); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Tactic_evalIntro___closed__30; -lean_inc(x_68); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_68); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_83, x_62); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_85); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Tactic_evalIntro___closed__31; -lean_inc(x_68); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_68); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Tactic_evalIntro___closed__34; -lean_inc(x_68); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_68); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_Tactic_evalIntro___closed__35; -lean_inc(x_68); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_68); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_83, x_112); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_65); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_87, x_110); -x_116 = lean_array_push(x_115, x_114); -x_117 = l_Lean_Elab_Tactic_evalIntro___closed__33; -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_Lean_Elab_Tactic_evalIntro___closed__36; -x_120 = lean_array_push(x_119, x_104); -x_121 = lean_array_push(x_120, x_106); -x_122 = lean_array_push(x_121, x_108); -x_123 = lean_array_push(x_122, x_118); -x_124 = l_Lean_Elab_Tactic_evalIntro___closed__29; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_83, x_125); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_85); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_83, x_127); -x_129 = l_Lean_Elab_Tactic_evalIntro___closed__27; -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 = l_Lean_Elab_Tactic_evalIntro___closed__37; -x_132 = lean_array_push(x_131, x_94); -x_133 = l_Lean_Elab_Tactic_evalIntro___closed__21; -x_134 = lean_array_push(x_132, x_133); -x_135 = lean_array_push(x_134, x_100); -x_136 = lean_array_push(x_135, x_133); -x_137 = lean_array_push(x_136, x_102); -x_138 = lean_array_push(x_137, x_130); -x_139 = l_Lean_Elab_Tactic_evalIntro___closed__20; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l_Lean_Elab_Tactic_evalIntro___closed__40; -lean_inc(x_68); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_68); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Tactic_evalIntro___closed__43; -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_68); -lean_ctor_set(x_144, 1, x_143); -x_145 = lean_array_push(x_87, x_144); -x_146 = lean_array_push(x_145, x_86); -x_147 = l_Lean_Elab_Tactic_evalIntro___closed__44; -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_87, x_148); -x_150 = lean_array_push(x_149, x_133); -x_151 = l_Lean_Elab_Tactic_evalIntro___closed__42; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_array_push(x_83, x_152); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_85); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_83, x_154); -x_156 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_83, x_157); -x_159 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = lean_array_push(x_87, x_142); -x_162 = lean_array_push(x_161, x_160); -x_163 = l_Lean_Elab_Tactic_evalIntro___closed__39; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = l_Lean_Elab_Tactic_evalIntro___closed__45; -x_166 = lean_array_push(x_165, x_90); -lean_inc(x_92); -x_167 = lean_array_push(x_166, x_92); -x_168 = lean_array_push(x_167, x_140); -x_169 = lean_array_push(x_168, x_92); -x_170 = lean_array_push(x_169, x_164); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_85); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_array_push(x_83, x_171); -x_173 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = l_Lean_Elab_Tactic_evalTacticAux(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); -lean_dec(x_2); -return x_175; -} -else -{ -lean_object* x_176; lean_object* x_177; -lean_dec(x_62); -x_176 = l_Lean_Elab_Tactic_evalIntro___closed__46; -x_177 = l_Lean_Elab_Tactic_evalIntro_introStep(x_176, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_177; -} -} -else -{ -lean_object* x_178; lean_object* x_179; -x_178 = l_Lean_Syntax_getId(x_62); -lean_dec(x_62); -x_179 = l_Lean_Elab_Tactic_evalIntro_introStep(x_178, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_179; -} -} -} -else -{ -lean_object* x_180; lean_object* x_181; -lean_dec(x_15); -x_180 = l_Lean_Elab_Tactic_evalIntro___closed__46; -x_181 = l_Lean_Elab_Tactic_evalIntro_introStep(x_180, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_181; -} -} -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -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_7; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalIntro"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalIntro___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntroMatch(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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed), 4, 2); -lean_closure_set(x_13, 0, x_1); -lean_closure_set(x_13, 1, x_12); -lean_inc(x_8); -x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_15); -lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1___boxed), 11, 2); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_15, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -return x_18; -} -else -{ -uint8_t x_19; -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); -lean_dec(x_2); -lean_dec(x_1); -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; -} -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("introMatch"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalIntroMatch"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntroMatch), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 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; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 2); -lean_inc(x_8); -x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_10 = lean_box_uint64(x_9); -x_11 = lean_apply_4(x_2, x_6, x_7, x_8, x_10); -return x_11; -} -case 8: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); -lean_inc(x_14); -x_15 = lean_ctor_get(x_1, 3); -lean_inc(x_15); -x_16 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); -lean_dec(x_1); -x_17 = lean_box_uint64(x_16); -x_18 = lean_apply_5(x_3, x_12, x_13, x_14, x_15, x_17); -return x_18; -} -case 10: -{ -lean_object* x_19; lean_object* x_20; uint64_t x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_ctor_get(x_1, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_1, 1); -lean_inc(x_20); -x_21 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_22 = lean_box_uint64(x_21); -x_23 = lean_apply_3(x_4, x_19, x_20, x_22); -return x_23; -} -default: -{ -lean_object* x_24; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_apply_1(x_5, x_1); -return x_24; -} -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg), 5, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 7: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = lean_ctor_get(x_1, 2); -x_3 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_2); -x_4 = lean_unsigned_to_nat(1u); -x_5 = lean_nat_add(x_3, x_4); -lean_dec(x_3); -return x_5; -} -case 8: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_1, 3); -x_7 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_6); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_7, x_8); -lean_dec(x_7); -return x_9; -} -case 10: -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_1, 1); -x_1 = x_10; -goto _start; -} -default: -{ -lean_object* x_12; -x_12 = lean_unsigned_to_nat(0u); -return x_12; -} -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object* x_1) { _start: { @@ -24541,7 +12936,7 @@ x_2 = l_Lean_Syntax_isIdent(x_1); if (x_2 == 0) { lean_object* x_3; -x_3 = l_Lean_Elab_Tactic_evalIntro___closed__46; +x_3 = l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2; return x_3; } else @@ -24561,585 +12956,6 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalIntros_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 < x_1; -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = x_3; -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; -x_6 = lean_array_uget(x_3, x_2); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = x_6; -x_10 = l_Lean_Elab_Tactic_getNameOfIdent_x27(x_9); -lean_dec(x_9); -x_11 = 1; -x_12 = x_2 + x_11; -x_13 = x_10; -x_14 = lean_array_uset(x_8, x_2, x_13); -x_2 = x_12; -x_3 = x_14; -goto _start; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t 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_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_array_get_size(x_1); -x_15 = lean_usize_of_nat(x_14); -x_16 = 0; -x_17 = x_1; -x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_15, x_16, x_17); -x_19 = x_18; -x_20 = lean_array_to_list(lean_box(0), x_19); -x_21 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_22 = l_Lean_Meta_introNCore(x_12, x_14, x_20, x_21, x_21, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Elab_Tactic_replaceMainGoal(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -x_31 = lean_box(0); -lean_ctor_set(x_28, 0, x_31); -return x_28; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); -lean_dec(x_28); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; -} -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_28); -if (x_35 == 0) -{ -return x_28; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_28, 0); -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_28); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_39 = !lean_is_exclusive(x_22); -if (x_39 == 0) -{ -return x_22; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_22, 0); -x_41 = lean_ctor_get(x_22, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_22); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -uint8_t x_43; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_11); -if (x_43 == 0) -{ -return x_11; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_11, 0); -x_45 = lean_ctor_get(x_11, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_11); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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); -lean_inc(x_11); -x_13 = l_Lean_Meta_getMVarType(x_11, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_13) == 0) -{ -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); -lean_dec(x_13); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l_Lean_Meta_instantiateMVars(x_14, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_16) == 0) -{ -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_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); -x_19 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(x_17); -lean_dec(x_17); -x_20 = lean_box(0); -x_21 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_22 = l_Lean_Meta_introNCore(x_11, x_19, x_20, x_21, x_21, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -x_27 = l_Lean_Elab_Tactic_replaceMainGoal(x_26, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = lean_box(0); -lean_ctor_set(x_27, 0, x_30); -return x_27; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_dec(x_27); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -else -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_27); -if (x_34 == 0) -{ -return x_27; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_27, 0); -x_36 = lean_ctor_get(x_27, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_27); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) -{ -return x_22; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_42 = !lean_is_exclusive(x_16); -if (x_42 == 0) -{ -return x_16; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_16, 0); -x_44 = lean_ctor_get(x_16, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_16); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_46 = !lean_is_exclusive(x_13); -if (x_46 == 0) -{ -return x_13; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_13, 0); -x_48 = lean_ctor_get(x_13, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_13); -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; -} -} -} -else -{ -uint8_t x_50; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_50 = !lean_is_exclusive(x_10); -if (x_50 == 0) -{ -return x_10; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_10, 0); -x_52 = lean_ctor_get(x_10, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_10); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("intros"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalIntros___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalIntros___closed__2; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -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_nullKind; -x_17 = lean_unsigned_to_nat(0u); -lean_inc(x_15); -x_18 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = l_Lean_Syntax_getArgs(x_15); -lean_dec(x_15); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed), 10, 1); -lean_closure_set(x_20, 0, x_19); -x_21 = l_Lean_Elab_Tactic_withMainContext___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_15); -x_22 = l_Lean_Elab_Tactic_evalIntros___closed__3; -x_23 = l_Lean_Elab_Tactic_withMainContext___rarg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_23; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalIntros___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); -return x_11; -} -} -lean_object* l_Lean_Elab_Tactic_evalIntros___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Tactic_evalIntros___lambda__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); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalIntros"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalIntros___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l_Lean_Elab_Tactic_getFVarId_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -25226,6 +13042,23 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Elab_Tactic_getFVarId___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_getFVarId___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_getFVarId___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Tactic_getFVarId(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: { @@ -25257,7 +13090,7 @@ x_19 = l_Lean_Elab_Tactic_getFVarId___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; +x_21 = l_Lean_Elab_Tactic_getFVarId___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -25354,7 +13187,7 @@ x_47 = l_Lean_Elab_Tactic_getFVarId___closed__2; x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; +x_49 = l_Lean_Elab_Tactic_getFVarId___closed__4; x_50 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); @@ -25543,2228 +13376,6 @@ lean_dec(x_4); return x_15; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("revert"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalRevert___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Tactic_evalRevert(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalRevert___closed__2; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* 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_Syntax_getArgs(x_15); -lean_dec(x_15); -x_17 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_9); -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_20 = l_Lean_Elab_Tactic_getFVarIds(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_24 = l_Lean_Meta_revert(x_18, x_21, x_23, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_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_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Elab_Tactic_replaceMainGoal(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -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); -lean_dec(x_2); -return x_30; -} -else -{ -uint8_t x_31; -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); -lean_dec(x_2); -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) -{ -return x_24; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_24, 0); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_24); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_18); -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); -lean_dec(x_2); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) -{ -return x_20; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_16); -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); -lean_dec(x_2); -x_39 = !lean_is_exclusive(x_17); -if (x_39 == 0) -{ -return x_17; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_17, 0); -x_41 = lean_ctor_get(x_17, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_17); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalRevert"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRevert), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalRevert___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_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) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_5); -x_7 = lean_box(0); -x_8 = lean_apply_1(x_6, x_7); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_6); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); -lean_dec(x_2); -x_10 = lean_apply_1(x_5, x_9); -return x_10; -} -} -else -{ -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_3); -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -lean_dec(x_1); -x_12 = lean_apply_1(x_4, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_4); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -lean_dec(x_2); -x_15 = lean_apply_2(x_3, x_13, x_14); -return x_15; -} -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_match__1___rarg), 6, 0); -return x_2; -} -} -lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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) { -_start: -{ -uint8_t x_7; -x_7 = lean_nat_dec_lt(x_6, x_2); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_array_swap(x_4, x_5, x_2); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_5); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Lean_instInhabitedName; -x_11 = lean_array_get(x_10, x_4, x_6); -lean_inc(x_1); -lean_inc(x_3); -x_12 = lean_apply_2(x_1, x_11, x_3); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_6, x_14); -lean_dec(x_6); -x_6 = x_15; -goto _start; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_array_swap(x_4, x_5, x_6); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_add(x_5, x_18); -lean_dec(x_5); -x_20 = lean_nat_add(x_6, x_18); -lean_dec(x_6); -x_4 = x_17; -x_5 = x_19; -x_6 = x_20; -goto _start; -} -} -} -} -uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -lean_inc(x_2); -lean_inc(x_1); -x_4 = lean_local_ctx_find(x_1, x_2); -lean_inc(x_3); -x_5 = lean_local_ctx_find(x_1, x_3); -if (lean_obj_tag(x_4) == 0) -{ -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = l_Lean_Name_quickLt(x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -else -{ -uint8_t x_7; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_7 = 1; -return x_7; -} -} -else -{ -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_8; -lean_dec(x_4); -x_8 = 0; -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = lean_ctor_get(x_5, 0); -lean_inc(x_10); -lean_dec(x_5); -x_11 = l_Lean_LocalDecl_index(x_10); -lean_dec(x_10); -x_12 = l_Lean_LocalDecl_index(x_9); -lean_dec(x_9); -x_13 = lean_nat_dec_lt(x_11, x_12); -lean_dec(x_12); -lean_dec(x_11); -return x_13; -} -} -} -} -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_15; -lean_inc(x_1); -x_5 = lean_alloc_closure((void*)(l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed), 3, 1); -lean_closure_set(x_5, 0, x_1); -x_15 = lean_nat_dec_lt(x_3, x_4); -if (x_15 == 0) -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_16 = lean_nat_add(x_3, x_4); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_nat_div(x_16, x_17); -lean_dec(x_16); -x_87 = l_Lean_instInhabitedName; -x_88 = lean_array_get(x_87, x_2, x_18); -x_89 = lean_array_get(x_87, x_2, x_3); -lean_inc(x_88); -lean_inc(x_1); -x_90 = lean_local_ctx_find(x_1, x_88); -lean_inc(x_89); -lean_inc(x_1); -x_91 = lean_local_ctx_find(x_1, x_89); -if (lean_obj_tag(x_90) == 0) -{ -if (lean_obj_tag(x_91) == 0) -{ -uint8_t x_92; -x_92 = l_Lean_Name_quickLt(x_88, x_89); -lean_dec(x_89); -lean_dec(x_88); -if (x_92 == 0) -{ -x_19 = x_2; -goto block_86; -} -else -{ -lean_object* x_93; -x_93 = lean_array_swap(x_2, x_3, x_18); -x_19 = x_93; -goto block_86; -} -} -else -{ -lean_object* x_94; -lean_dec(x_91); -lean_dec(x_89); -lean_dec(x_88); -x_94 = lean_array_swap(x_2, x_3, x_18); -x_19 = x_94; -goto block_86; -} -} -else -{ -lean_dec(x_89); -lean_dec(x_88); -if (lean_obj_tag(x_91) == 0) -{ -lean_dec(x_90); -x_19 = x_2; -goto block_86; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_95 = lean_ctor_get(x_90, 0); -lean_inc(x_95); -lean_dec(x_90); -x_96 = lean_ctor_get(x_91, 0); -lean_inc(x_96); -lean_dec(x_91); -x_97 = l_Lean_LocalDecl_index(x_96); -lean_dec(x_96); -x_98 = l_Lean_LocalDecl_index(x_95); -lean_dec(x_95); -x_99 = lean_nat_dec_lt(x_97, x_98); -lean_dec(x_98); -lean_dec(x_97); -if (x_99 == 0) -{ -x_19 = x_2; -goto block_86; -} -else -{ -lean_object* x_100; -x_100 = lean_array_swap(x_2, x_3, x_18); -x_19 = x_100; -goto block_86; -} -} -} -block_86: -{ -lean_object* x_20; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_46 = l_Lean_instInhabitedName; -x_47 = lean_array_get(x_46, x_19, x_4); -x_71 = lean_array_get(x_46, x_19, x_3); -lean_inc(x_47); -lean_inc(x_1); -x_72 = lean_local_ctx_find(x_1, x_47); -lean_inc(x_71); -lean_inc(x_1); -x_73 = lean_local_ctx_find(x_1, x_71); -if (lean_obj_tag(x_72) == 0) -{ -if (lean_obj_tag(x_73) == 0) -{ -uint8_t x_74; -x_74 = l_Lean_Name_quickLt(x_47, x_71); -lean_dec(x_71); -if (x_74 == 0) -{ -lean_object* x_75; -x_75 = lean_box(0); -x_48 = x_75; -goto block_70; -} -else -{ -lean_object* x_76; -lean_dec(x_47); -x_76 = lean_box(0); -x_20 = x_76; -goto block_45; -} -} -else -{ -lean_object* x_77; -lean_dec(x_73); -lean_dec(x_71); -lean_dec(x_47); -x_77 = lean_box(0); -x_20 = x_77; -goto block_45; -} -} -else -{ -lean_dec(x_71); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_78; -lean_dec(x_72); -x_78 = lean_box(0); -x_48 = x_78; -goto block_70; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_79 = lean_ctor_get(x_72, 0); -lean_inc(x_79); -lean_dec(x_72); -x_80 = lean_ctor_get(x_73, 0); -lean_inc(x_80); -lean_dec(x_73); -x_81 = l_Lean_LocalDecl_index(x_80); -lean_dec(x_80); -x_82 = l_Lean_LocalDecl_index(x_79); -lean_dec(x_79); -x_83 = lean_nat_dec_lt(x_81, x_82); -lean_dec(x_82); -lean_dec(x_81); -if (x_83 == 0) -{ -lean_object* x_84; -x_84 = lean_box(0); -x_48 = x_84; -goto block_70; -} -else -{ -lean_object* x_85; -lean_dec(x_47); -x_85 = lean_box(0); -x_20 = x_85; -goto block_45; -} -} -} -block_45: -{ -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_20); -x_21 = lean_array_swap(x_19, x_3, x_4); -x_22 = l_Lean_instInhabitedName; -x_23 = lean_array_get(x_22, x_21, x_18); -x_24 = lean_array_get(x_22, x_21, x_4); -lean_inc(x_23); -lean_inc(x_1); -x_25 = lean_local_ctx_find(x_1, x_23); -lean_inc(x_24); -lean_inc(x_1); -x_26 = lean_local_ctx_find(x_1, x_24); -if (lean_obj_tag(x_25) == 0) -{ -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; -x_27 = l_Lean_Name_quickLt(x_23, x_24); -lean_dec(x_23); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_28 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); -x_6 = x_28; -goto block_14; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_24); -x_29 = lean_array_swap(x_21, x_18, x_4); -lean_dec(x_18); -x_30 = lean_array_get(x_22, x_29, x_4); -lean_inc_n(x_3, 2); -x_31 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_30, x_29, x_3, x_3); -x_6 = x_31; -goto block_14; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_23); -x_32 = lean_array_swap(x_21, x_18, x_4); -lean_dec(x_18); -x_33 = lean_array_get(x_22, x_32, x_4); -lean_inc_n(x_3, 2); -x_34 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_33, x_32, x_3, x_3); -x_6 = x_34; -goto block_14; -} -} -else -{ -lean_dec(x_23); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_35; -lean_dec(x_25); -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_35 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); -x_6 = x_35; -goto block_14; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_36 = lean_ctor_get(x_25, 0); -lean_inc(x_36); -lean_dec(x_25); -x_37 = lean_ctor_get(x_26, 0); -lean_inc(x_37); -lean_dec(x_26); -x_38 = l_Lean_LocalDecl_index(x_37); -lean_dec(x_37); -x_39 = l_Lean_LocalDecl_index(x_36); -lean_dec(x_36); -x_40 = lean_nat_dec_lt(x_38, x_39); -lean_dec(x_39); -lean_dec(x_38); -if (x_40 == 0) -{ -lean_object* x_41; -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_41 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); -x_6 = x_41; -goto block_14; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_24); -x_42 = lean_array_swap(x_21, x_18, x_4); -lean_dec(x_18); -x_43 = lean_array_get(x_22, x_42, x_4); -lean_inc_n(x_3, 2); -x_44 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_43, x_42, x_3, x_3); -x_6 = x_44; -goto block_14; -} -} -} -} -block_70: -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_48); -x_49 = lean_array_get(x_46, x_19, x_18); -lean_inc(x_49); -lean_inc(x_1); -x_50 = lean_local_ctx_find(x_1, x_49); -lean_inc(x_47); -lean_inc(x_1); -x_51 = lean_local_ctx_find(x_1, x_47); -if (lean_obj_tag(x_50) == 0) -{ -if (lean_obj_tag(x_51) == 0) -{ -uint8_t x_52; -x_52 = l_Lean_Name_quickLt(x_49, x_47); -lean_dec(x_49); -if (x_52 == 0) -{ -lean_object* x_53; -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_53 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); -x_6 = x_53; -goto block_14; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_47); -x_54 = lean_array_swap(x_19, x_18, x_4); -lean_dec(x_18); -x_55 = lean_array_get(x_46, x_54, x_4); -lean_inc_n(x_3, 2); -x_56 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_55, x_54, x_3, x_3); -x_6 = x_56; -goto block_14; -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_51); -lean_dec(x_49); -lean_dec(x_47); -x_57 = lean_array_swap(x_19, x_18, x_4); -lean_dec(x_18); -x_58 = lean_array_get(x_46, x_57, x_4); -lean_inc_n(x_3, 2); -x_59 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_58, x_57, x_3, x_3); -x_6 = x_59; -goto block_14; -} -} -else -{ -lean_dec(x_49); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_60; -lean_dec(x_50); -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_60 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); -x_6 = x_60; -goto block_14; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_61 = lean_ctor_get(x_50, 0); -lean_inc(x_61); -lean_dec(x_50); -x_62 = lean_ctor_get(x_51, 0); -lean_inc(x_62); -lean_dec(x_51); -x_63 = l_Lean_LocalDecl_index(x_62); -lean_dec(x_62); -x_64 = l_Lean_LocalDecl_index(x_61); -lean_dec(x_61); -x_65 = lean_nat_dec_lt(x_63, x_64); -lean_dec(x_64); -lean_dec(x_63); -if (x_65 == 0) -{ -lean_object* x_66; -lean_dec(x_18); -lean_inc_n(x_3, 2); -x_66 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); -x_6 = x_66; -goto block_14; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_47); -x_67 = lean_array_swap(x_19, x_18, x_4); -lean_dec(x_18); -x_68 = lean_array_get(x_46, x_67, x_4); -lean_inc_n(x_3, 2); -x_69 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_68, x_67, x_3, x_3); -x_6 = x_69; -goto block_14; -} -} -} -} -} -} -block_14: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_nat_dec_le(x_4, x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_inc(x_1); -x_10 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_1, x_8, x_3, x_7); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_7, x_11); -lean_dec(x_7); -x_2 = x_10; -x_3 = x_12; -goto _start; -} -else -{ -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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; lean_object* x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_dec(x_6); -x_12 = lean_array_get_size(x_1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_sub(x_12, x_13); -lean_dec(x_12); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_11, x_1, x_15, x_14); -lean_dec(x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_10); -return x_17; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(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___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed), 10, 1); -lean_closure_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__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_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -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); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_14 = l_Lean_Meta_clear(x_12, x_1, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -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_Elab_Tactic_replaceMainGoal(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_19; -} -else -{ -uint8_t x_20; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_20 = !lean_is_exclusive(x_14); -if (x_20 == 0) -{ -return x_14; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_14, 0); -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_14); -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_11); -if (x_24 == 0) -{ -return x_11; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_11, 0); -x_26 = lean_ctor_get(x_11, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_11); -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; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = x_3 < x_2; -if (x_14 == 0) -{ -lean_object* x_15; -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_6); -lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_4); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_4); -x_16 = lean_array_uget(x_1, x_3); -x_17 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed), 10, 1); -lean_closure_set(x_17, 0, x_16); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_Elab_Tactic_withMainContext___rarg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = 1; -x_21 = x_3 + x_20; -x_22 = lean_box(0); -x_3 = x_21; -x_4 = x_22; -x_13 = x_19; -goto _start; -} -else -{ -uint8_t x_24; -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_6); -lean_dec(x_5); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) -{ -return x_18; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -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; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalClear(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalIntro___closed__44; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* 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_Syntax_getArgs(x_15); -lean_dec(x_15); -lean_inc(x_9); -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_17 = l_Lean_Elab_Tactic_getFVarIds(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_9); -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_20 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_array_get_size(x_21); -x_24 = lean_usize_of_nat(x_23); -lean_dec(x_23); -x_25 = 0; -x_26 = lean_box(0); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(x_21, x_24, x_25, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -lean_dec(x_21); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_26); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) -{ -return x_27; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 0); -x_34 = lean_ctor_get(x_27, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_27); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -uint8_t x_36; -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); -lean_dec(x_2); -x_36 = !lean_is_exclusive(x_20); -if (x_36 == 0) -{ -return x_20; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_20, 0); -x_38 = lean_ctor_get(x_20, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_20); -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_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); -x_40 = !lean_is_exclusive(x_17); -if (x_40 == 0) -{ -return x_17; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_17, 0); -x_42 = lean_ctor_get(x_17, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_17); -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; -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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); -return x_11; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_1); -return x_16; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalClear"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalClear), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalIntro___closed__44; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_inc(x_9); -lean_inc(x_7); -lean_inc(x_1); -x_12 = l_Lean_Elab_Tactic_getFVarId(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_9); -lean_inc(x_7); -x_17 = l_Lean_Elab_Tactic_getFVarId(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_20 = lean_apply_7(x_2, x_15, x_18, x_7, x_8, x_9, x_10, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_Tactic_replaceMainGoal(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) -{ -return x_17; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_17); -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; -} -} -} -else -{ -uint8_t x_34; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_14); -if (x_34 == 0) -{ -return x_14; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_14, 0); -x_36 = lean_ctor_get(x_14, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_14); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_12); -if (x_38 == 0) -{ -return x_12; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_12, 0); -x_40 = lean_ctor_get(x_12, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_12); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: -{ -uint8_t x_15; -x_15 = x_4 < x_3; -if (x_15 == 0) -{ -lean_object* x_16; -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_6); -lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_5); -x_17 = lean_array_uget(x_2, x_4); -lean_inc(x_1); -x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___lambda__1___boxed), 11, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_1); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_19 = l_Lean_Elab_Tactic_withMainContext___rarg(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = 1; -x_22 = x_4 + x_21; -x_23 = lean_box(0); -x_4 = x_22; -x_5 = x_23; -x_14 = x_20; -goto _start; -} -else -{ -uint8_t x_25; -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_6); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -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; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_forEachVar(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; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_array_get_size(x_1); -x_13 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_14 = 0; -x_15 = lean_box(0); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(x_2, x_1, x_13, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -return x_16; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_16); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_2); -return x_17; -} -} -lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_forEachVar(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_1); -return x_12; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("subst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalSubst___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_subst), 7, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_evalSubst(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalSubst___closed__2; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -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_Syntax_getArgs(x_15); -lean_dec(x_15); -x_17 = l_Lean_Elab_Tactic_evalSubst___closed__3; -x_18 = l_Lean_Elab_Tactic_forEachVar(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_16); -return x_18; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalSubst"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSubst), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalSubst___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_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_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); -lean_dec(x_2); -lean_inc(x_14); -x_16 = l_Lean_Meta_getMVarDecl(x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Name_isSuffixOf(x_1, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_free_object(x_16); -lean_dec(x_14); -x_2 = x_15; -x_11 = x_19; -goto _start; -} -else -{ -lean_object* x_23; -lean_dec(x_15); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_16, 0, x_23); -return x_16; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_Name_isSuffixOf(x_1, x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_dec(x_14); -x_2 = x_15; -x_11 = x_25; -goto _start; -} -else -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_15); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_14); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_25); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_15); -lean_dec(x_14); -x_31 = !lean_is_exclusive(x_16); -if (x_31 == 0) -{ -return x_16; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_16, 0); -x_33 = lean_ctor_get(x_16, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_16); -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; -} -} -} -} -} -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); -lean_dec(x_2); -lean_inc(x_14); -x_16 = l_Lean_Meta_getMVarDecl(x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Name_isPrefixOf(x_1, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_free_object(x_16); -lean_dec(x_14); -x_2 = x_15; -x_11 = x_19; -goto _start; -} -else -{ -lean_object* x_23; -lean_dec(x_15); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_16, 0, x_23); -return x_16; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_Name_isPrefixOf(x_1, x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_dec(x_14); -x_2 = x_15; -x_11 = x_25; -goto _start; -} -else -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_15); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_14); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_25); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_dec(x_15); -lean_dec(x_14); -x_31 = !lean_is_exclusive(x_16); -if (x_31 == 0) -{ -return x_16; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_16, 0); -x_33 = lean_ctor_get(x_16, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_16); -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; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -lean_inc(x_1); -x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__1(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -return x_15; -} -else -{ -uint8_t x_16; -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_12, 0); -lean_dec(x_17); -x_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) -{ -return x_12; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_13, 0); -lean_inc(x_19); -lean_dec(x_13); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_12, 0, x_20); -return x_12; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_dec(x_12); -x_22 = lean_ctor_get(x_13, 0); -lean_inc(x_22); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - x_23 = x_13; -} else { - lean_dec_ref(x_13); - x_23 = lean_box(0); -} -if (lean_is_scalar(x_23)) { - x_24 = lean_alloc_ctor(1, 1, 0); -} else { - x_24 = x_23; -} -lean_ctor_set(x_24, 0, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -return x_25; -} -} -} -else -{ -uint8_t x_26; -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_12); -if (x_26 == 0) -{ -return x_12; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_12); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -} -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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: -{ -lean_object* x_12; -x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__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_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); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_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_12; -} -} lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -27777,11 +13388,20 @@ x_7 = lean_apply_3(x_6, lean_box(0), x_5, x_3); return x_7; } } +static lean_object* _init_l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_6 = l_Lean_Elab_Tactic_evalIntro___closed__6; +x_6 = l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1; x_7 = lean_array_push(x_6, x_3); x_8 = lean_array_push(x_7, x_4); x_9 = l_Lean_nullKind; @@ -27819,1818 +13439,21 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Elab_Tactic_evalCase_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_Lean_Elab_Tactic_evalCase_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase_match__2___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase_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_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalCase_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_name_eq(x_5, x_2); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_6, x_2); -lean_ctor_set(x_1, 1, x_8); -return x_1; -} -else -{ -lean_free_object(x_1); -lean_dec(x_5); -return x_6; -} -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = lean_name_eq(x_9, x_2); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_10, x_2); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_9); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -else -{ -lean_dec(x_9); -return x_10; -} -} -} -} -} -lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = l_Lean_Elab_Tactic_evalIntro___closed__6; -x_14 = lean_array_push(x_13, x_1); -x_15 = lean_array_push(x_14, x_2); -x_16 = l_Lean_nullKind; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = !lean_is_exclusive(x_10); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_10, 3); -x_20 = l_Lean_replaceRef(x_17, x_19); -lean_dec(x_19); -lean_dec(x_17); -lean_ctor_set(x_10, 3, x_20); -x_21 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_21; -} -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_10, 0); -x_23 = lean_ctor_get(x_10, 1); -x_24 = lean_ctor_get(x_10, 2); -x_25 = lean_ctor_get(x_10, 3); -x_26 = lean_ctor_get(x_10, 4); -x_27 = lean_ctor_get(x_10, 5); -x_28 = lean_ctor_get(x_10, 6); -x_29 = lean_ctor_get(x_10, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_10); -x_30 = l_Lean_replaceRef(x_17, x_25); -lean_dec(x_25); -lean_dec(x_17); -x_31 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -x_32 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31, x_11, x_12); -return x_32; -} -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_array_pop(x_2); -x_14 = l_Array_isEmpty___rarg(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_13); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_12); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_13); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, 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_12); -return x_20; -} -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___lambda__1___boxed), 12, 0); -return x_1; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_nat_dec_le(x_15, x_4); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_eq(x_3, x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_3, x_19); -lean_dec(x_3); -x_21 = !lean_is_exclusive(x_5); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_5, 0); -x_23 = lean_ctor_get(x_5, 1); -x_24 = lean_nat_sub(x_1, x_4); -x_25 = lean_nat_sub(x_24, x_19); -lean_dec(x_24); -lean_inc(x_22); -x_26 = lean_local_ctx_get(x_22, x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_2, 2); -x_28 = lean_nat_add(x_4, x_27); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_28; -goto _start; -} -else -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_26, 0); -lean_inc(x_30); -lean_dec(x_26); -x_31 = l_Lean_LocalDecl_userName(x_30); -x_32 = l_Lean_Name_hasMacroScopes(x_31); -lean_dec(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_30); -x_33 = lean_ctor_get(x_2, 2); -x_34 = lean_nat_add(x_4, x_33); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_34; -goto _start; -} -else -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_free_object(x_5); -x_36 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_23); -x_37 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; -x_38 = l_Lean_Syntax_isIdent(x_36); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_36); -lean_dec(x_30); -x_39 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_40 = lean_apply_12(x_37, x_22, x_23, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_42 = !lean_is_exclusive(x_40); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_40, 0); -lean_dec(x_43); -x_44 = lean_ctor_get(x_41, 0); -lean_inc(x_44); -lean_dec(x_41); -lean_ctor_set(x_40, 0, x_44); -return x_40; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_dec(x_40); -x_46 = lean_ctor_get(x_41, 0); -lean_inc(x_46); -lean_dec(x_41); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_40, 1); -lean_inc(x_48); -lean_dec(x_40); -x_49 = lean_ctor_get(x_41, 0); -lean_inc(x_49); -lean_dec(x_41); -x_50 = lean_ctor_get(x_2, 2); -x_51 = lean_nat_add(x_4, x_50); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_51; -x_5 = x_49; -x_14 = x_48; -goto _start; -} -} -else -{ -uint8_t x_53; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_53 = !lean_is_exclusive(x_40); -if (x_53 == 0) -{ -return x_40; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_40, 0); -x_55 = lean_ctor_get(x_40, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_40); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = l_Lean_Syntax_getId(x_36); -lean_dec(x_36); -x_58 = l_Lean_LocalDecl_fvarId(x_30); -lean_dec(x_30); -x_59 = l_Lean_LocalContext_setUserName(x_22, x_58, x_57); -x_60 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_61 = lean_apply_12(x_37, x_59, x_23, x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -if (lean_obj_tag(x_62) == 0) -{ -uint8_t x_63; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_63 = !lean_is_exclusive(x_61); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 0); -lean_dec(x_64); -x_65 = lean_ctor_get(x_62, 0); -lean_inc(x_65); -lean_dec(x_62); -lean_ctor_set(x_61, 0, x_65); -return x_61; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_61, 1); -lean_inc(x_66); -lean_dec(x_61); -x_67 = lean_ctor_get(x_62, 0); -lean_inc(x_67); -lean_dec(x_62); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_61, 1); -lean_inc(x_69); -lean_dec(x_61); -x_70 = lean_ctor_get(x_62, 0); -lean_inc(x_70); -lean_dec(x_62); -x_71 = lean_ctor_get(x_2, 2); -x_72 = lean_nat_add(x_4, x_71); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_72; -x_5 = x_70; -x_14 = x_69; -goto _start; -} -} -else -{ -uint8_t x_74; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_74 = !lean_is_exclusive(x_61); -if (x_74 == 0) -{ -return x_61; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_61, 0); -x_76 = lean_ctor_get(x_61, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_61); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -} -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_78 = lean_ctor_get(x_5, 0); -x_79 = lean_ctor_get(x_5, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_5); -x_80 = lean_nat_sub(x_1, x_4); -x_81 = lean_nat_sub(x_80, x_19); -lean_dec(x_80); -lean_inc(x_78); -x_82 = lean_local_ctx_get(x_78, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_78); -lean_ctor_set(x_83, 1, x_79); -x_84 = lean_ctor_get(x_2, 2); -x_85 = lean_nat_add(x_4, x_84); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_85; -x_5 = x_83; -goto _start; -} -else -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = lean_ctor_get(x_82, 0); -lean_inc(x_87); -lean_dec(x_82); -x_88 = l_Lean_LocalDecl_userName(x_87); -x_89 = l_Lean_Name_hasMacroScopes(x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_87); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_78); -lean_ctor_set(x_90, 1, x_79); -x_91 = lean_ctor_get(x_2, 2); -x_92 = lean_nat_add(x_4, x_91); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_92; -x_5 = x_90; -goto _start; -} -else -{ -lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_94 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_79); -x_95 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; -x_96 = l_Lean_Syntax_isIdent(x_94); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; -lean_dec(x_94); -lean_dec(x_87); -x_97 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_98 = lean_apply_12(x_95, x_78, x_79, x_97, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_101 = x_98; -} else { - lean_dec_ref(x_98); - x_101 = lean_box(0); -} -x_102 = lean_ctor_get(x_99, 0); -lean_inc(x_102); -lean_dec(x_99); -if (lean_is_scalar(x_101)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_101; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_98, 1); -lean_inc(x_104); -lean_dec(x_98); -x_105 = lean_ctor_get(x_99, 0); -lean_inc(x_105); -lean_dec(x_99); -x_106 = lean_ctor_get(x_2, 2); -x_107 = lean_nat_add(x_4, x_106); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_107; -x_5 = x_105; -x_14 = x_104; -goto _start; -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_109 = lean_ctor_get(x_98, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_98, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_111 = x_98; -} else { - lean_dec_ref(x_98); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = l_Lean_Syntax_getId(x_94); -lean_dec(x_94); -x_114 = l_Lean_LocalDecl_fvarId(x_87); -lean_dec(x_87); -x_115 = l_Lean_LocalContext_setUserName(x_78, x_114, x_113); -x_116 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_117 = lean_apply_12(x_95, x_115, x_79, x_116, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_120 = x_117; -} else { - lean_dec_ref(x_117); - x_120 = lean_box(0); -} -x_121 = lean_ctor_get(x_118, 0); -lean_inc(x_121); -lean_dec(x_118); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 0); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_119); -return x_122; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_117, 1); -lean_inc(x_123); -lean_dec(x_117); -x_124 = lean_ctor_get(x_118, 0); -lean_inc(x_124); -lean_dec(x_118); -x_125 = lean_ctor_get(x_2, 2); -x_126 = lean_nat_add(x_4, x_125); -lean_dec(x_4); -x_3 = x_20; -x_4 = x_126; -x_5 = x_124; -x_14 = x_123; -goto _start; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_20); -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_6); -lean_dec(x_4); -x_128 = lean_ctor_get(x_117, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_117, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_130 = x_117; -} else { - lean_dec_ref(x_117); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -} -} -} -} -else -{ -lean_object* x_132; -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_6); -lean_dec(x_4); -lean_dec(x_3); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_5); -lean_ctor_set(x_132, 1, x_14); -return x_132; -} -} -else -{ -lean_object* x_133; -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_6); -lean_dec(x_4); -lean_dec(x_3); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_5); -lean_ctor_set(x_133, 1, x_14); -return x_133; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_box(0); -lean_inc(x_5); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -lean_inc(x_5); -x_20 = l_Lean_Meta_getMVarTag(x_5, x_11, x_12, x_13, x_14, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(0); -lean_inc(x_5); -x_24 = l_Lean_Meta_setMVarTag(x_5, x_23, x_11, x_12, x_13, x_14, x_22); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -lean_inc(x_1); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___boxed), 10, 1); -lean_closure_set(x_26, 0, x_1); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); -lean_closure_set(x_27, 0, x_2); -lean_closure_set(x_27, 1, x_26); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_closeUsingOrAdmit), 10, 1); -lean_closure_set(x_28, 0, x_27); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_29 = l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(x_3, x_1, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_25); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = l_Lean_Meta_setMVarTag(x_5, x_21, x_11, x_12, x_13, x_14, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_33 = l_Lean_Elab_Tactic_done(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Elab_Tactic_setGoals(x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -lean_dec(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); -return x_35; -} -else -{ -uint8_t x_36; -lean_dec(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_4); -x_36 = !lean_is_exclusive(x_33); -if (x_36 == 0) -{ -return x_33; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_33, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_33); -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 -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_40 = lean_ctor_get(x_29, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_29, 1); -lean_inc(x_41); -lean_dec(x_29); -x_42 = l_Lean_Meta_setMVarTag(x_5, x_21, x_11, x_12, x_13, x_14, x_41); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_dec(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_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_20); -if (x_47 == 0) -{ -return x_20; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_20, 0); -x_49 = lean_ctor_get(x_20, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_20); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t 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; -x_15 = lean_ctor_get(x_1, 4); -lean_inc(x_15); -x_16 = lean_ctor_get(x_1, 2); -lean_inc(x_16); -x_17 = lean_ctor_get(x_1, 0); -lean_inc(x_17); -lean_dec(x_1); -x_18 = 2; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Meta_mkFreshExprMVarAt(x_2, x_15, x_16, x_18, x_17, x_19, x_10, x_11, x_12, x_13, x_14); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_21); -x_23 = l_Lean_Meta_assignExprMVar(x_4, x_21, x_10, x_11, x_12, x_13, x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_Expr_mvarId_x21(x_21); -lean_dec(x_21); -x_26 = lean_box(0); -x_27 = lean_apply_11(x_3, x_25, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_24); -return x_27; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("case"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l_Lean_Elab_Tactic_evalCase___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tag not found"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalCase___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("too many variable names provided at 'case'"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalCase___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase(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; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_evalCase___closed__2; -lean_inc(x_1); -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -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); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -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; uint8_t x_23; -x_14 = lean_unsigned_to_nat(1u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = lean_unsigned_to_nat(2u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = lean_unsigned_to_nat(3u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = lean_unsigned_to_nat(4u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -x_22 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -lean_inc(x_21); -x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_15); -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); -lean_dec(x_2); -lean_dec(x_1); -x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); -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; -x_25 = l_Lean_Syntax_getArgs(x_17); -lean_dec(x_17); -x_26 = l_Lean_Syntax_getId(x_15); -lean_dec(x_15); -x_27 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -lean_inc(x_28); -x_30 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -lean_dec(x_26); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_1); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Tactic_evalCase___closed__4; -x_34 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); -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); -lean_dec(x_2); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = lean_ctor_get(x_31, 0); -lean_inc(x_36); -lean_dec(x_31); -x_37 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_28, x_36); -lean_inc(x_37); -lean_inc(x_19); -lean_inc(x_1); -lean_inc(x_21); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase___lambda__1___boxed), 15, 4); -lean_closure_set(x_38, 0, x_21); -lean_closure_set(x_38, 1, x_1); -lean_closure_set(x_38, 2, x_19); -lean_closure_set(x_38, 3, x_37); -x_39 = l_Array_isEmpty___rarg(x_25); -if (x_39 == 0) -{ -lean_object* x_40; -lean_dec(x_37); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_1); -lean_inc(x_36); -x_40 = l_Lean_Meta_getMVarDecl(x_36, x_6, x_7, x_8, x_9, x_35); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_inc(x_43); -x_44 = lean_local_ctx_num_indices(x_43); -x_45 = lean_unsigned_to_nat(0u); -lean_inc(x_44); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_14); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_43); -lean_ctor_set(x_47, 1, x_25); -lean_inc(x_9); -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_44); -x_48 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3(x_44, x_46, x_44, x_45, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -lean_dec(x_46); -lean_dec(x_44); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = l_Array_isEmpty___rarg(x_52); -lean_dec(x_52); -if (x_53 == 0) -{ -lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_54 = l_Lean_Elab_Tactic_evalCase___closed__6; -x_55 = 2; -x_56 = l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_54, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = l_Lean_Elab_Tactic_evalCase___lambda__2(x_41, x_51, x_38, x_36, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -lean_dec(x_57); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_box(0); -x_61 = l_Lean_Elab_Tactic_evalCase___lambda__2(x_41, x_51, x_38, x_36, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -return x_61; -} -} -else -{ -uint8_t x_62; -lean_dec(x_41); -lean_dec(x_38); -lean_dec(x_36); -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); -lean_dec(x_2); -x_62 = !lean_is_exclusive(x_48); -if (x_62 == 0) -{ -return x_48; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_48, 0); -x_64 = lean_ctor_get(x_48, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_48); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -} -else -{ -uint8_t x_66; -lean_dec(x_38); -lean_dec(x_36); -lean_dec(x_25); -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); -lean_dec(x_2); -x_66 = !lean_is_exclusive(x_40); -if (x_66 == 0) -{ -return x_40; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_40, 0); -x_68 = lean_ctor_get(x_40, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_40); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -else -{ -lean_object* x_70; lean_object* x_71; -lean_dec(x_38); -lean_dec(x_25); -x_70 = lean_box(0); -x_71 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_21, x_1, x_19, x_37, x_36, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -return x_71; -} -} -} -else -{ -uint8_t x_72; -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -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); -lean_dec(x_2); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_30); -if (x_72 == 0) -{ -return x_30; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_30, 0); -x_74 = lean_ctor_get(x_30, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_30); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -} -} -} -lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_13; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_2); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_6); -return x_16; -} -} -lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Lean_Elab_Tactic_evalCase___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, x_14); -lean_dec(x_5); -return x_15; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalCase"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Elab_Tactic_evalCase___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst_loop(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; uint8_t x_15; -x_12 = lean_array_get_size(x_1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_sub(x_12, x_13); -lean_dec(x_12); -x_15 = lean_nat_dec_eq(x_2, x_14); -lean_dec(x_14); -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; lean_object* x_22; lean_object* x_23; -x_16 = l_Lean_instInhabitedSyntax; -x_17 = lean_array_get(x_16, x_1, x_2); -x_18 = l_Lean_Syntax_getArg(x_17, x_13); -lean_dec(x_17); -x_19 = lean_nat_add(x_2, x_13); -lean_dec(x_2); -x_20 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = l_Lean_Elab_Tactic_evalTacticAux(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_Elab_Tactic_SavedState_restore(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_2 = x_19; -x_11 = x_26; -goto _start; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = l_Lean_instInhabitedSyntax; -x_29 = lean_array_get(x_28, x_1, x_2); -lean_dec(x_2); -x_30 = l_Lean_Syntax_getArg(x_29, x_13); -lean_dec(x_29); -x_31 = l_Lean_Elab_Tactic_evalTacticAux(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalFirst_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1; -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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___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) { -_start: -{ -lean_object* x_9; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg), 1, 0); -return x_9; -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst___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; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Elab_Tactic_evalFirst_loop(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst(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; uint8_t x_14; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArgs(x_12); -lean_dec(x_12); -x_14 = l_Array_isEmpty___rarg(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Lean_Elab_Tactic_evalFirst_loop(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_13); -return x_16; -} -else -{ -lean_object* x_17; uint8_t x_18; -lean_dec(x_13); -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); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(x_10); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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_9; -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst___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_Lean_Elab_Tactic_evalFirst___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); -lean_dec(x_2); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Tactic_evalFirst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalFirst(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("first"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalFirst"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFirst___boxed), 10, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3; +x_1 = l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3; x_2 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -29814,12 +13637,12 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Tactic_tacticElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Tactic_tacticElabAttribute); lean_dec_ref(res); -l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1); -l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2); -l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3); +l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1 = _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1); +l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2 = _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2); +l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3 = _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3); l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1); l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2(); @@ -29842,16 +13665,20 @@ l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3 = _init_l_Lean_Elab_Tac lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3); l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4(); lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4); -l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1); -l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2); -l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__3); -l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__4); -l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__2); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__3); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__4); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__5); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__6); +l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1); l_Lean_Elab_Tactic_evalTacticAux___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__1); l_Lean_Elab_Tactic_evalTacticAux___closed__2 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__2(); @@ -29884,522 +13711,33 @@ l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM = _init_l_Lean_Elab_Tactic_in lean_mark_persistent(l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM); l_Lean_Elab_Tactic_instOrElseTacticM___closed__1 = _init_l_Lean_Elab_Tactic_instOrElseTacticM___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_instOrElseTacticM___closed__1); +l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1 = _init_l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_saveTacticInfoForToken___closed__1); l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1 = _init_l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1); l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2 = _init_l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1(); -lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1); -l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2(); -lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2); -l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1); -l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2(); -lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2); -l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3(); -lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9); -l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1); -l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6); -l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1); -l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2); -l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3); -l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4); -l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); -l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalIntro___closed__1 = _init_l_Lean_Elab_Tactic_evalIntro___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__1); -l_Lean_Elab_Tactic_evalIntro___closed__2 = _init_l_Lean_Elab_Tactic_evalIntro___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__2); -l_Lean_Elab_Tactic_evalIntro___closed__3 = _init_l_Lean_Elab_Tactic_evalIntro___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__3); -l_Lean_Elab_Tactic_evalIntro___closed__4 = _init_l_Lean_Elab_Tactic_evalIntro___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__4); -l_Lean_Elab_Tactic_evalIntro___closed__5 = _init_l_Lean_Elab_Tactic_evalIntro___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__5); -l_Lean_Elab_Tactic_evalIntro___closed__6 = _init_l_Lean_Elab_Tactic_evalIntro___closed__6(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__6); -l_Lean_Elab_Tactic_evalIntro___closed__7 = _init_l_Lean_Elab_Tactic_evalIntro___closed__7(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__7); -l_Lean_Elab_Tactic_evalIntro___closed__8 = _init_l_Lean_Elab_Tactic_evalIntro___closed__8(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__8); -l_Lean_Elab_Tactic_evalIntro___closed__9 = _init_l_Lean_Elab_Tactic_evalIntro___closed__9(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__9); -l_Lean_Elab_Tactic_evalIntro___closed__10 = _init_l_Lean_Elab_Tactic_evalIntro___closed__10(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__10); -l_Lean_Elab_Tactic_evalIntro___closed__11 = _init_l_Lean_Elab_Tactic_evalIntro___closed__11(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__11); -l_Lean_Elab_Tactic_evalIntro___closed__12 = _init_l_Lean_Elab_Tactic_evalIntro___closed__12(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__12); -l_Lean_Elab_Tactic_evalIntro___closed__13 = _init_l_Lean_Elab_Tactic_evalIntro___closed__13(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__13); -l_Lean_Elab_Tactic_evalIntro___closed__14 = _init_l_Lean_Elab_Tactic_evalIntro___closed__14(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__14); -l_Lean_Elab_Tactic_evalIntro___closed__15 = _init_l_Lean_Elab_Tactic_evalIntro___closed__15(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__15); -l_Lean_Elab_Tactic_evalIntro___closed__16 = _init_l_Lean_Elab_Tactic_evalIntro___closed__16(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__16); -l_Lean_Elab_Tactic_evalIntro___closed__17 = _init_l_Lean_Elab_Tactic_evalIntro___closed__17(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__17); -l_Lean_Elab_Tactic_evalIntro___closed__18 = _init_l_Lean_Elab_Tactic_evalIntro___closed__18(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__18); -l_Lean_Elab_Tactic_evalIntro___closed__19 = _init_l_Lean_Elab_Tactic_evalIntro___closed__19(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__19); -l_Lean_Elab_Tactic_evalIntro___closed__20 = _init_l_Lean_Elab_Tactic_evalIntro___closed__20(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__20); -l_Lean_Elab_Tactic_evalIntro___closed__21 = _init_l_Lean_Elab_Tactic_evalIntro___closed__21(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__21); -l_Lean_Elab_Tactic_evalIntro___closed__22 = _init_l_Lean_Elab_Tactic_evalIntro___closed__22(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__22); -l_Lean_Elab_Tactic_evalIntro___closed__23 = _init_l_Lean_Elab_Tactic_evalIntro___closed__23(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__23); -l_Lean_Elab_Tactic_evalIntro___closed__24 = _init_l_Lean_Elab_Tactic_evalIntro___closed__24(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__24); -l_Lean_Elab_Tactic_evalIntro___closed__25 = _init_l_Lean_Elab_Tactic_evalIntro___closed__25(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__25); -l_Lean_Elab_Tactic_evalIntro___closed__26 = _init_l_Lean_Elab_Tactic_evalIntro___closed__26(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__26); -l_Lean_Elab_Tactic_evalIntro___closed__27 = _init_l_Lean_Elab_Tactic_evalIntro___closed__27(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__27); -l_Lean_Elab_Tactic_evalIntro___closed__28 = _init_l_Lean_Elab_Tactic_evalIntro___closed__28(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__28); -l_Lean_Elab_Tactic_evalIntro___closed__29 = _init_l_Lean_Elab_Tactic_evalIntro___closed__29(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__29); -l_Lean_Elab_Tactic_evalIntro___closed__30 = _init_l_Lean_Elab_Tactic_evalIntro___closed__30(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__30); -l_Lean_Elab_Tactic_evalIntro___closed__31 = _init_l_Lean_Elab_Tactic_evalIntro___closed__31(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__31); -l_Lean_Elab_Tactic_evalIntro___closed__32 = _init_l_Lean_Elab_Tactic_evalIntro___closed__32(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__32); -l_Lean_Elab_Tactic_evalIntro___closed__33 = _init_l_Lean_Elab_Tactic_evalIntro___closed__33(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__33); -l_Lean_Elab_Tactic_evalIntro___closed__34 = _init_l_Lean_Elab_Tactic_evalIntro___closed__34(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__34); -l_Lean_Elab_Tactic_evalIntro___closed__35 = _init_l_Lean_Elab_Tactic_evalIntro___closed__35(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__35); -l_Lean_Elab_Tactic_evalIntro___closed__36 = _init_l_Lean_Elab_Tactic_evalIntro___closed__36(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__36); -l_Lean_Elab_Tactic_evalIntro___closed__37 = _init_l_Lean_Elab_Tactic_evalIntro___closed__37(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__37); -l_Lean_Elab_Tactic_evalIntro___closed__38 = _init_l_Lean_Elab_Tactic_evalIntro___closed__38(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__38); -l_Lean_Elab_Tactic_evalIntro___closed__39 = _init_l_Lean_Elab_Tactic_evalIntro___closed__39(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__39); -l_Lean_Elab_Tactic_evalIntro___closed__40 = _init_l_Lean_Elab_Tactic_evalIntro___closed__40(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__40); -l_Lean_Elab_Tactic_evalIntro___closed__41 = _init_l_Lean_Elab_Tactic_evalIntro___closed__41(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__41); -l_Lean_Elab_Tactic_evalIntro___closed__42 = _init_l_Lean_Elab_Tactic_evalIntro___closed__42(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__42); -l_Lean_Elab_Tactic_evalIntro___closed__43 = _init_l_Lean_Elab_Tactic_evalIntro___closed__43(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__43); -l_Lean_Elab_Tactic_evalIntro___closed__44 = _init_l_Lean_Elab_Tactic_evalIntro___closed__44(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__44); -l_Lean_Elab_Tactic_evalIntro___closed__45 = _init_l_Lean_Elab_Tactic_evalIntro___closed__45(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__45); -l_Lean_Elab_Tactic_evalIntro___closed__46 = _init_l_Lean_Elab_Tactic_evalIntro___closed__46(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__46); -l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalIntros___closed__1 = _init_l_Lean_Elab_Tactic_evalIntros___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__1); -l_Lean_Elab_Tactic_evalIntros___closed__2 = _init_l_Lean_Elab_Tactic_evalIntros___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__2); -l_Lean_Elab_Tactic_evalIntros___closed__3 = _init_l_Lean_Elab_Tactic_evalIntros___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); +l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1 = _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1); +l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2 = _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2); l_Lean_Elab_Tactic_getFVarId___closed__1 = _init_l_Lean_Elab_Tactic_getFVarId___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_getFVarId___closed__1); l_Lean_Elab_Tactic_getFVarId___closed__2 = _init_l_Lean_Elab_Tactic_getFVarId___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_getFVarId___closed__2); +l_Lean_Elab_Tactic_getFVarId___closed__3 = _init_l_Lean_Elab_Tactic_getFVarId___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_getFVarId___closed__3); +l_Lean_Elab_Tactic_getFVarId___closed__4 = _init_l_Lean_Elab_Tactic_getFVarId___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_getFVarId___closed__4); l_Lean_Elab_Tactic_getFVarIds___boxed__const__1 = _init_l_Lean_Elab_Tactic_getFVarIds___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Tactic_getFVarIds___boxed__const__1); -l_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l_Lean_Elab_Tactic_evalRevert___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRevert___closed__1); -l_Lean_Elab_Tactic_evalRevert___closed__2 = _init_l_Lean_Elab_Tactic_evalRevert___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRevert___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalSubst___closed__1 = _init_l_Lean_Elab_Tactic_evalSubst___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__1); -l_Lean_Elab_Tactic_evalSubst___closed__2 = _init_l_Lean_Elab_Tactic_evalSubst___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__2); -l_Lean_Elab_Tactic_evalSubst___closed__3 = _init_l_Lean_Elab_Tactic_evalSubst___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1); -l_Lean_Elab_Tactic_evalCase___closed__1 = _init_l_Lean_Elab_Tactic_evalCase___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__1); -l_Lean_Elab_Tactic_evalCase___closed__2 = _init_l_Lean_Elab_Tactic_evalCase___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__2); -l_Lean_Elab_Tactic_evalCase___closed__3 = _init_l_Lean_Elab_Tactic_evalCase___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__3); -l_Lean_Elab_Tactic_evalCase___closed__4 = _init_l_Lean_Elab_Tactic_evalCase___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__4); -l_Lean_Elab_Tactic_evalCase___closed__5 = _init_l_Lean_Elab_Tactic_evalCase___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__5); -l_Lean_Elab_Tactic_evalCase___closed__6 = _init_l_Lean_Elab_Tactic_evalCase___closed__6(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__6); -l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3); -res = l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3); -l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4); -l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5); -res = l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_io_mk_world()); +l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1 = _init_l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2707_(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/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c new file mode 100644 index 0000000000..300491005c --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -0,0 +1,15453 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.BuiltinTactic +// Imports: Init Lean.Elab.Tactic.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; +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*); +size_t l_USize_add(size_t, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; +lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1; +lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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* l_Lean_Elab_Tactic_evalIntroMatch(lean_object*, 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___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__20; +uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__1; +lean_object* l_Lean_LocalDecl_userName(lean_object*); +extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__10; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__32; +lean_object* l_Lean_Elab_Tactic_evalSkip___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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*); +uint8_t l_USize_decEq(size_t, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3; +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1; +lean_object* l_Lean_Elab_Tactic_evalChoiceAux___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_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__41; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__13; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__38; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__21; +uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalFocus___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_Lean_Elab_Tactic_evalCase_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSkip(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalContradiction___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_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__6; +lean_object* l_Lean_Elab_Tactic_evalClear(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_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(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*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__23; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19___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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; +lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__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_Lean_Elab_Tactic_evalUnknown(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__43; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__1; +lean_object* l_Lean_Elab_Tactic_evalTacticAux(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_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18___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*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; +lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___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_Tactic_evalUnknown___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__40; +lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object*); +lean_object* l_Lean_Elab_Tactic_forEachVar(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_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__36; +lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds_match__1(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5; +lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__39; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__35; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3; +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; +lean_object* l_List_rotateLeft___rarg(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(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*); +lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalFocus___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*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; +lean_object* l_Lean_Elab_Tactic_evalDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4; +lean_object* l_Lean_Elab_Tactic_elabSetOption___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_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__16; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize___boxed(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__7; +lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2; +lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalContradiction___boxed(lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(uint8_t, uint8_t); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(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_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; +lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_maxRecDepth; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2; +static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; +lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__31; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_object*); +uint8_t l_Lean_Name_hasMacroScopes(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__4; +lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(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_local_ctx_num_indices(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; +lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4; +lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__15; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__18; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; +lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2; +lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__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*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4; +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_object*); +lean_object* l_Lean_Elab_Tactic_focus___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_evalFirst_loop(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_local_ctx_get(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; +lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(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_evalFirst___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_Syntax_isStrLit_x3f(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__11; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__46; +lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_object*); +lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3; +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(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_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalDone___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2; +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__34; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; +lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4; +lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); +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* l_Lean_Elab_Tactic_evalFirst(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_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalAllGoals___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; +lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; +lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4; +lean_object* l_Lean_Elab_Tactic_evalCase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalChoice___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__26; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2; +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2; +lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); +lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; +lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, 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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8; +lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSeq1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticSeq___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_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4; +lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*); +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalChoice(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_Tactic_evalIntros(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__2; +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6; +lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +lean_object* l_Lean_Meta_contradiction(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCase_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_assumption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__44; +lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalFirst___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_Elab_Tactic_evalAllGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize_match__1(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___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*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5; +static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2; +lean_object* l_Lean_Elab_Tactic_evalRotateLeft___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3; +lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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* l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_object*); +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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_LocalDecl_fvarId(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalFirst_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4; +lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; +lean_object* l_Lean_Elab_Tactic_evalRevert(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_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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* l_Lean_Elab_Tactic_evalFocus(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__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_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; +lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__2; +lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17___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_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Elab_Tactic_evalOpen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; +lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__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*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__24; +lean_object* l_Lean_Elab_Tactic_evalIntroMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); +lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2; +lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4; +lean_object* l_Lean_LocalDecl_index(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_object*); +lean_object* l_Lean_Syntax_getSepArgs(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; +lean_object* l_Lean_Elab_Tactic_evalRotateRight___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; +lean_object* l_Lean_Elab_Tactic_evalParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; +lean_object* l_Lean_Elab_Tactic_evalCase_match__2___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_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*); +static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__37; +static lean_object* l_Lean_Elab_Tactic_evalRevert___closed__1; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; +lean_object* l_Lean_Elab_Tactic_evalCase___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_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__42; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4; +lean_object* l_Lean_Elab_Tactic_evalFirst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCase_match__3(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRotateLeft(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_getKind(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4; +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_getFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__1; +lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__8; +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__17; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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*); +lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__27; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2; +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; +lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(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_evalIntros_match__1(lean_object*); +lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalCase___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__45; +lean_object* l_Lean_Elab_Tactic_evalChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__33; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2; +lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__30; +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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*, lean_object*); +static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedName; +static lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9; +lean_object* l_Lean_Elab_Tactic_evalCase_match__1(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg___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_evalCase___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__22; +lean_object* l_Lean_Elab_Tactic_getFVarIds(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_introStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___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_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__29; +lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_pop(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTraceState___boxed(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalDone(lean_object*); +static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object*); +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(lean_object*); +uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__19; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5; +lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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_unsupportedSyntaxExceptionId; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__28; +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__1; +lean_object* l_Lean_Elab_Tactic_evalIntros(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_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_toNat(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; +lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mod(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16___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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object*); +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_scopedEnvExtensionsRef; +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; +lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); +lean_object* lean_local_ctx_find(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2; +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(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_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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_Tactic_evalIntros_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; +lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); +lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; +lean_object* l_Lean_Elab_Tactic_evalCase_match__2(lean_object*); +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRevert___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__25; +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3; +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object*); +lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___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*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12___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_evalSeq1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalAllGoals(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_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5; +uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalDone___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalDone(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDone___rarg___boxed), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalDone___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalDone___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalDone(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("done"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalDone"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDone___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_nat_dec_le(x_15, x_4); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_3, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_3, x_19); +lean_dec(x_3); +x_21 = lean_unsigned_to_nat(2u); +x_22 = lean_nat_mod(x_4, x_21); +x_23 = lean_nat_dec_eq(x_22, x_17); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = l_Lean_instInhabitedSyntax; +x_25 = lean_array_get(x_24, x_1, x_4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_26 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get(x_2, 2); +x_29 = lean_nat_add(x_4, x_28); +lean_dec(x_4); +x_30 = lean_box(0); +x_3 = x_20; +x_4 = x_29; +x_5 = x_30; +x_14 = x_27; +goto _start; +} +else +{ +uint8_t x_32; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_32 = !lean_is_exclusive(x_26); +if (x_32 == 0) +{ +return x_26; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_26, 0); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_26); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = l_Lean_instInhabitedSyntax; +x_37 = lean_array_get(x_36, x_1, x_4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_38 = l_Lean_Elab_Tactic_evalTacticAux(x_37, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get(x_2, 2); +x_41 = lean_nat_add(x_4, x_40); +lean_dec(x_4); +x_42 = lean_box(0); +x_3 = x_20; +x_4 = x_41; +x_5 = x_42; +x_14 = x_39; +goto _start; +} +else +{ +uint8_t x_44; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_44 = !lean_is_exclusive(x_38); +if (x_44 == 0) +{ +return x_38; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_38, 0); +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_38); +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; +} +} +} +} +else +{ +lean_object* x_48; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_5); +lean_ctor_set(x_48, 1, x_14); +return x_48; +} +} +else +{ +lean_object* x_49; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_5); +lean_ctor_set(x_49, 1, x_14); +return x_49; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalSeq1(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; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getArgs(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); +x_17 = lean_box(0); +x_18 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_13, x_16, x_14, x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_16); +lean_dec(x_13); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___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: +{ +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_Tactic_evalSeq1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalSeq1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("seq1"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalSeq1"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSeq1___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalParen(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; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalParen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalParen"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalParen___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_2 == x_3; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_4); +x_15 = lean_array_uget(x_1, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_15, x_16); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_18 = l_Lean_Elab_Tactic_evalTacticAux(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = l_Lean_Syntax_getArg(x_15, x_20); +lean_dec(x_15); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_22 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = x_2 + x_25; +x_2 = x_26; +x_4 = x_23; +x_13 = x_24; +goto _start; +} +else +{ +uint8_t x_28; +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_6); +lean_dec(x_5); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +return x_22; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_15); +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_6); +lean_dec(x_5); +x_32 = !lean_is_exclusive(x_18); +if (x_32 == 0) +{ +return x_18; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_18, 0); +x_34 = lean_ctor_get(x_18, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_18); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; +lean_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_6); +lean_dec(x_5); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_36, 1, x_13); +return x_36; +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(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; uint8_t x_14; +x_11 = l_Lean_Syntax_getArgs(x_1); +x_12 = lean_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +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_10); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = lean_nat_dec_le(x_12, x_12); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_10); +return x_19; +} +else +{ +size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = 0; +x_21 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_22 = lean_box(0); +x_23 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_11, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_23; +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_1); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(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; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_12); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalTacticSeq1Indented(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq1Indented"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalTacticSeq1Indented"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTacticSeqBracketed___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_6, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 5); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_2); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_20); +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); +lean_inc(x_10); +lean_inc(x_9); +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_24 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +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_st_ref_get(x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_6, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +lean_inc(x_10); +lean_inc(x_6); +x_34 = lean_apply_10(x_2, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_10, x_36); +lean_dec(x_10); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_6, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_40, 5); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 5); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_41, 1); +lean_dec(x_46); +x_47 = l_Std_PersistentArray_push___rarg(x_22, x_35); +lean_ctor_set(x_41, 1, x_47); +x_48 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_25); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_25); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_54 = lean_ctor_get(x_41, 0); +lean_inc(x_54); +lean_dec(x_41); +x_55 = l_Std_PersistentArray_push___rarg(x_22, x_35); +x_56 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); +lean_ctor_set(x_40, 5, x_56); +x_57 = lean_st_ref_set(x_6, x_40, x_42); +lean_dec(x_6); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_25); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +x_63 = lean_ctor_get(x_40, 2); +x_64 = lean_ctor_get(x_40, 3); +x_65 = lean_ctor_get(x_40, 4); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); +x_67 = lean_ctor_get(x_41, 0); +lean_inc(x_67); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_68 = x_41; +} else { + lean_dec_ref(x_41); + x_68 = lean_box(0); +} +x_69 = l_Std_PersistentArray_push___rarg(x_22, x_35); +if (lean_is_scalar(x_68)) { + x_70 = lean_alloc_ctor(0, 2, 1); +} else { + x_70 = x_68; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_64); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_70); +x_72 = lean_st_ref_set(x_6, x_71, x_42); +lean_dec(x_6); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_80 = lean_ctor_get(x_24, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_24, 1); +lean_inc(x_81); +lean_dec(x_24); +x_82 = lean_st_ref_get(x_10, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_get(x_6, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 5); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +lean_inc(x_10); +lean_inc(x_6); +x_89 = lean_apply_10(x_2, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_10, x_91); +lean_dec(x_10); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_6, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_95, 5); +lean_dec(x_99); +x_100 = !lean_is_exclusive(x_96); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_96, 1); +lean_dec(x_101); +x_102 = l_Std_PersistentArray_push___rarg(x_22, x_90); +lean_ctor_set(x_96, 1, x_102); +x_103 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set_tag(x_103, 1); +lean_ctor_set(x_103, 0, x_80); +return x_103; +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_80); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +else +{ +uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_109 = lean_ctor_get(x_96, 0); +lean_inc(x_109); +lean_dec(x_96); +x_110 = l_Std_PersistentArray_push___rarg(x_22, x_90); +x_111 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_108); +lean_ctor_set(x_95, 5, x_111); +x_112 = lean_st_ref_set(x_6, x_95, x_97); +lean_dec(x_6); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_95, 0); +x_117 = lean_ctor_get(x_95, 1); +x_118 = lean_ctor_get(x_95, 2); +x_119 = lean_ctor_get(x_95, 3); +x_120 = lean_ctor_get(x_95, 4); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_95); +x_121 = lean_ctor_get_uint8(x_96, sizeof(void*)*2); +x_122 = lean_ctor_get(x_96, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_123 = x_96; +} else { + lean_dec_ref(x_96); + x_123 = lean_box(0); +} +x_124 = l_Std_PersistentArray_push___rarg(x_22, x_90); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_117); +lean_ctor_set(x_126, 2, x_118); +lean_ctor_set(x_126, 3, x_119); +lean_ctor_set(x_126, 4, x_120); +lean_ctor_set(x_126, 5, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_97); +lean_dec(x_6); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; + lean_ctor_set_tag(x_130, 1); +} +lean_ctor_set(x_130, 0, x_80); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +uint8_t x_131; +lean_dec(x_80); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_89); +if (x_131 == 0) +{ +return x_89; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_89, 0); +x_133 = lean_ctor_get(x_89, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_89); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +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; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(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_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_3, x_15); +x_17 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +lean_dec(x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(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; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__2), 11, 1); +lean_closure_set(x_18, 0, x_14); +x_19 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__3___boxed), 12, 3); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_18); +lean_closure_set(x_20, 2, x_1); +x_21 = !lean_is_exclusive(x_8); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_8, 3); +x_23 = l_Lean_replaceRef(x_17, x_22); +lean_dec(x_22); +lean_dec(x_17); +lean_ctor_set(x_8, 3, x_23); +x_24 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +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; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_25 = lean_ctor_get(x_8, 0); +x_26 = lean_ctor_get(x_8, 1); +x_27 = lean_ctor_get(x_8, 2); +x_28 = lean_ctor_get(x_8, 3); +x_29 = lean_ctor_get(x_8, 4); +x_30 = lean_ctor_get(x_8, 5); +x_31 = lean_ctor_get(x_8, 6); +x_32 = lean_ctor_get(x_8, 7); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_8); +x_33 = l_Lean_replaceRef(x_17, x_28); +lean_dec(x_28); +lean_dec(x_17); +x_34 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_26); +lean_ctor_set(x_34, 2, x_27); +lean_ctor_set(x_34, 3, x_33); +lean_ctor_set(x_34, 4, x_29); +lean_ctor_set(x_34, 5, x_30); +lean_ctor_set(x_34, 6, x_31); +lean_ctor_set(x_34, 7, x_32); +x_35 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_15); +return x_35; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeqBracketed"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalTacticSeqBracketed"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeqBracketed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalFocus___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(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_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_3, x_15); +x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalFocus(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; lean_object* x_19; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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_Lean_Elab_Tactic_evalTacticSeqBracketed___lambda__2), 11, 1); +lean_closure_set(x_16, 0, x_14); +x_17 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFocus___lambda__1___boxed), 12, 3); +lean_closure_set(x_18, 0, x_17); +lean_closure_set(x_18, 1, x_16); +lean_closure_set(x_18, 2, x_1); +x_19 = l_Lean_Elab_Tactic_focus___rarg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +return x_19; +} +} +lean_object* l_Lean_Elab_Tactic_evalFocus___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalFocus___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("focus"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalFocus"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFocus), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_Lean_Syntax_isNone(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Lean_Syntax_getArg(x_1, x_3); +x_5 = l_Lean_Syntax_toNat(x_4); +lean_dec(x_4); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(1u); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalRotateLeft(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; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(x_12); +lean_dec(x_12); +x_14 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_List_rotateLeft___rarg(x_15, x_13); +lean_dec(x_13); +x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +return x_18; +} +} +lean_object* l_Lean_Elab_Tactic_evalRotateLeft___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalRotateLeft(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); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rotateLeft"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRotateLeft"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRotateLeft___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalRotateRight(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; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(x_12); +lean_dec(x_12); +x_14 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_List_rotateRight___rarg(x_15, x_13); +lean_dec(x_13); +x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +return x_18; +} +} +lean_object* l_Lean_Elab_Tactic_evalRotateRight___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalRotateRight(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); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rotateRight"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRotateRight"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRotateRight___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_3 < x_2; +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_4); +x_16 = lean_array_uget(x_1, x_3); +x_17 = lean_st_ref_take(x_12, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_18, 0); +x_22 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_16, x_21); +lean_dec(x_16); +lean_ctor_set(x_18, 0, x_22); +x_23 = lean_st_ref_set(x_12, x_18, x_19); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = 1; +x_26 = x_3 + x_25; +x_27 = lean_box(0); +x_3 = x_26; +x_4 = x_27; +x_13 = x_24; +goto _start; +} +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; size_t x_37; size_t x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +x_31 = lean_ctor_get(x_18, 2); +x_32 = lean_ctor_get(x_18, 3); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +x_33 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_16, x_29); +lean_dec(x_16); +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_32); +x_35 = lean_st_ref_set(x_12, x_34, x_19); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = lean_box(0); +x_3 = x_38; +x_4 = x_39; +x_13 = x_36; +goto _start; +} +} +} +} +lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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) { +_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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +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 = l_Lean_scopedEnvExtensionsRef; +x_13 = lean_st_ref_get(x_12, x_11); +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_array_get_size(x_14); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(x_14, x_17, x_18, x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_14); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_9, 3); +x_13 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_7, x_8, x_9, x_10, x_11); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +lean_inc(x_12); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown namespace '"); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_12 = lean_st_ref_get(x_10, 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_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_st_ref_get(x_10, x_14); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_get(x_2, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_10, x_20); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_get(x_2, x_23); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_1); +x_29 = l_Lean_ResolveName_resolveNamespace_x3f(x_15, x_21, x_28, x_1); +lean_dec(x_28); +lean_dec(x_21); +lean_dec(x_15); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_24); +x_30 = 1; +x_31 = l_Lean_Name_toString(x_1, x_30); +x_32 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; +x_33 = lean_string_append(x_32, x_31); +lean_dec(x_31); +x_34 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; +x_35 = lean_string_append(x_33, x_34); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_38; +} +else +{ +lean_object* x_39; +lean_dec(x_1); +x_39 = lean_ctor_get(x_29, 0); +lean_inc(x_39); +lean_dec(x_29); +lean_ctor_set(x_24, 0, x_39); +return x_24; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_24, 0); +x_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_24); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +lean_dec(x_40); +lean_inc(x_1); +x_43 = l_Lean_ResolveName_resolveNamespace_x3f(x_15, x_21, x_42, x_1); +lean_dec(x_42); +lean_dec(x_21); +lean_dec(x_15); +if (lean_obj_tag(x_43) == 0) +{ +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; +x_44 = 1; +x_45 = l_Lean_Name_toString(x_1, x_44); +x_46 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; +x_47 = lean_string_append(x_46, x_45); +lean_dec(x_45); +x_48 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; +x_49 = lean_string_append(x_47, x_48); +x_50 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_1); +x_53 = lean_ctor_get(x_43, 0); +lean_inc(x_53); +lean_dec(x_43); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_41); +return x_54; +} +} +} +} +static lean_object* _init_l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_295; uint8_t x_296; +x_295 = 2; +x_296 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(x_3, x_295); +if (x_296 == 0) +{ +lean_object* x_297; +x_297 = lean_box(0); +x_14 = x_297; +goto block_294; +} +else +{ +uint8_t x_298; +lean_inc(x_2); +x_298 = l_Lean_MessageData_hasSyntheticSorry(x_2); +if (x_298 == 0) +{ +lean_object* x_299; +x_299 = lean_box(0); +x_14 = x_299; +goto block_294; +} +else +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_2); +x_300 = lean_box(0); +x_301 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_13); +return x_301; +} +} +block_294: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_14); +x_15 = lean_ctor_get(x_11, 3); +x_16 = l_Lean_replaceRef(x_1, x_15); +x_17 = 0; +x_18 = l_Lean_Syntax_getPos_x3f(x_16, x_17); +x_19 = l_Lean_Syntax_getTailPos_x3f(x_16, x_17); +lean_dec(x_16); +if (lean_obj_tag(x_18) == 0) +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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; uint8_t x_39; +x_20 = lean_ctor_get(x_7, 0); +x_21 = lean_ctor_get(x_7, 1); +x_22 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Lean_FileMap_toPosition(x_21, x_25); +lean_inc(x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_ctor_get(x_11, 4); +x_29 = lean_ctor_get(x_11, 5); +lean_inc(x_29); +lean_inc(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_23); +x_32 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_20); +x_33 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_33, 0, x_20); +lean_ctor_set(x_33, 1, x_26); +lean_ctor_set(x_33, 2, x_27); +lean_ctor_set(x_33, 3, x_32); +lean_ctor_set(x_33, 4, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*5, x_3); +x_34 = lean_st_ref_get(x_12, x_24); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_8, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = !lean_is_exclusive(x_37); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_ctor_get(x_37, 3); +x_41 = l_Std_PersistentArray_push___rarg(x_40, x_33); +lean_ctor_set(x_37, 3, x_41); +x_42 = lean_st_ref_set(x_8, x_37, x_38); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +x_45 = lean_box(0); +lean_ctor_set(x_42, 0, x_45); +return x_42; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_49 = lean_ctor_get(x_37, 0); +x_50 = lean_ctor_get(x_37, 1); +x_51 = lean_ctor_get(x_37, 2); +x_52 = lean_ctor_get(x_37, 3); +x_53 = lean_ctor_get(x_37, 4); +x_54 = lean_ctor_get(x_37, 5); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_37); +x_55 = l_Std_PersistentArray_push___rarg(x_52, x_33); +x_56 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_56, 0, x_49); +lean_ctor_set(x_56, 1, x_50); +lean_ctor_set(x_56, 2, x_51); +lean_ctor_set(x_56, 3, x_55); +lean_ctor_set(x_56, 4, x_53); +lean_ctor_set(x_56, 5, x_54); +x_57 = lean_st_ref_set(x_8, x_56, x_38); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +x_60 = lean_box(0); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_58); +return x_61; +} +} +else +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_19); +if (x_62 == 0) +{ +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; uint8_t x_83; +x_63 = lean_ctor_get(x_19, 0); +x_64 = lean_ctor_get(x_7, 0); +x_65 = lean_ctor_get(x_7, 1); +x_66 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unsigned_to_nat(0u); +x_70 = l_Lean_FileMap_toPosition(x_65, x_69); +x_71 = l_Lean_FileMap_toPosition(x_65, x_63); +lean_dec(x_63); +lean_ctor_set(x_19, 0, x_71); +x_72 = lean_ctor_get(x_11, 4); +x_73 = lean_ctor_get(x_11, 5); +lean_inc(x_73); +lean_inc(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_67); +x_76 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_64); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_70); +lean_ctor_set(x_77, 2, x_19); +lean_ctor_set(x_77, 3, x_76); +lean_ctor_set(x_77, 4, x_75); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_3); +x_78 = lean_st_ref_get(x_12, x_68); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_st_ref_take(x_8, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = !lean_is_exclusive(x_81); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_84 = lean_ctor_get(x_81, 3); +x_85 = l_Std_PersistentArray_push___rarg(x_84, x_77); +lean_ctor_set(x_81, 3, x_85); +x_86 = lean_st_ref_set(x_8, x_81, x_82); +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_86, 0); +lean_dec(x_88); +x_89 = lean_box(0); +lean_ctor_set(x_86, 0, x_89); +return x_86; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); +lean_dec(x_86); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_93 = lean_ctor_get(x_81, 0); +x_94 = lean_ctor_get(x_81, 1); +x_95 = lean_ctor_get(x_81, 2); +x_96 = lean_ctor_get(x_81, 3); +x_97 = lean_ctor_get(x_81, 4); +x_98 = lean_ctor_get(x_81, 5); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_81); +x_99 = l_Std_PersistentArray_push___rarg(x_96, x_77); +x_100 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_100, 0, x_93); +lean_ctor_set(x_100, 1, x_94); +lean_ctor_set(x_100, 2, x_95); +lean_ctor_set(x_100, 3, x_99); +lean_ctor_set(x_100, 4, x_97); +lean_ctor_set(x_100, 5, x_98); +x_101 = lean_st_ref_set(x_8, x_100, x_82); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; +} else { + lean_dec_ref(x_101); + x_103 = lean_box(0); +} +x_104 = lean_box(0); +if (lean_is_scalar(x_103)) { + x_105 = lean_alloc_ctor(0, 2, 0); +} else { + x_105 = x_103; +} +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_102); +return x_105; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_106 = lean_ctor_get(x_19, 0); +lean_inc(x_106); +lean_dec(x_19); +x_107 = lean_ctor_get(x_7, 0); +x_108 = lean_ctor_get(x_7, 1); +x_109 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_unsigned_to_nat(0u); +x_113 = l_Lean_FileMap_toPosition(x_108, x_112); +x_114 = l_Lean_FileMap_toPosition(x_108, x_106); +lean_dec(x_106); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_116 = lean_ctor_get(x_11, 4); +x_117 = lean_ctor_get(x_11, 5); +lean_inc(x_117); +lean_inc(x_116); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_110); +x_120 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_107); +x_121 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_121, 0, x_107); +lean_ctor_set(x_121, 1, x_113); +lean_ctor_set(x_121, 2, x_115); +lean_ctor_set(x_121, 3, x_120); +lean_ctor_set(x_121, 4, x_119); +lean_ctor_set_uint8(x_121, sizeof(void*)*5, x_3); +x_122 = lean_st_ref_get(x_12, x_111); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_124 = lean_st_ref_take(x_8, x_123); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_ctor_get(x_125, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_125, 1); +lean_inc(x_128); +x_129 = lean_ctor_get(x_125, 2); +lean_inc(x_129); +x_130 = lean_ctor_get(x_125, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_125, 4); +lean_inc(x_131); +x_132 = lean_ctor_get(x_125, 5); +lean_inc(x_132); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + lean_ctor_release(x_125, 2); + lean_ctor_release(x_125, 3); + lean_ctor_release(x_125, 4); + lean_ctor_release(x_125, 5); + x_133 = x_125; +} else { + lean_dec_ref(x_125); + x_133 = lean_box(0); +} +x_134 = l_Std_PersistentArray_push___rarg(x_130, x_121); +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 6, 0); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_127); +lean_ctor_set(x_135, 1, x_128); +lean_ctor_set(x_135, 2, x_129); +lean_ctor_set(x_135, 3, x_134); +lean_ctor_set(x_135, 4, x_131); +lean_ctor_set(x_135, 5, x_132); +x_136 = lean_st_ref_set(x_8, x_135, x_126); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_138 = x_136; +} else { + lean_dec_ref(x_136); + x_138 = lean_box(0); +} +x_139 = lean_box(0); +if (lean_is_scalar(x_138)) { + x_140 = lean_alloc_ctor(0, 2, 0); +} else { + x_140 = x_138; +} +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_137); +return x_140; +} +} +} +else +{ +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_141; +x_141 = !lean_is_exclusive(x_18); +if (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; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_142 = lean_ctor_get(x_18, 0); +x_143 = lean_ctor_get(x_7, 0); +x_144 = lean_ctor_get(x_7, 1); +x_145 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = l_Lean_FileMap_toPosition(x_144, x_142); +lean_dec(x_142); +lean_inc(x_148); +lean_ctor_set(x_18, 0, x_148); +x_149 = lean_ctor_get(x_11, 4); +x_150 = lean_ctor_get(x_11, 5); +lean_inc(x_150); +lean_inc(x_149); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_146); +x_153 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_143); +x_154 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_154, 0, x_143); +lean_ctor_set(x_154, 1, x_148); +lean_ctor_set(x_154, 2, x_18); +lean_ctor_set(x_154, 3, x_153); +lean_ctor_set(x_154, 4, x_152); +lean_ctor_set_uint8(x_154, sizeof(void*)*5, x_3); +x_155 = lean_st_ref_get(x_12, x_147); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_st_ref_take(x_8, x_156); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = !lean_is_exclusive(x_158); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_161 = lean_ctor_get(x_158, 3); +x_162 = l_Std_PersistentArray_push___rarg(x_161, x_154); +lean_ctor_set(x_158, 3, x_162); +x_163 = lean_st_ref_set(x_8, x_158, x_159); +x_164 = !lean_is_exclusive(x_163); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_163, 0); +lean_dec(x_165); +x_166 = lean_box(0); +lean_ctor_set(x_163, 0, x_166); +return x_163; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_163, 1); +lean_inc(x_167); +lean_dec(x_163); +x_168 = lean_box(0); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +return x_169; +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_170 = lean_ctor_get(x_158, 0); +x_171 = lean_ctor_get(x_158, 1); +x_172 = lean_ctor_get(x_158, 2); +x_173 = lean_ctor_get(x_158, 3); +x_174 = lean_ctor_get(x_158, 4); +x_175 = lean_ctor_get(x_158, 5); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_158); +x_176 = l_Std_PersistentArray_push___rarg(x_173, x_154); +x_177 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_177, 0, x_170); +lean_ctor_set(x_177, 1, x_171); +lean_ctor_set(x_177, 2, x_172); +lean_ctor_set(x_177, 3, x_176); +lean_ctor_set(x_177, 4, x_174); +lean_ctor_set(x_177, 5, x_175); +x_178 = lean_st_ref_set(x_8, x_177, x_159); +x_179 = lean_ctor_get(x_178, 1); +lean_inc(x_179); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_180 = x_178; +} else { + lean_dec_ref(x_178); + x_180 = lean_box(0); +} +x_181 = lean_box(0); +if (lean_is_scalar(x_180)) { + x_182 = lean_alloc_ctor(0, 2, 0); +} else { + x_182 = x_180; +} +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_179); +return x_182; +} +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_183 = lean_ctor_get(x_18, 0); +lean_inc(x_183); +lean_dec(x_18); +x_184 = lean_ctor_get(x_7, 0); +x_185 = lean_ctor_get(x_7, 1); +x_186 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_189 = l_Lean_FileMap_toPosition(x_185, x_183); +lean_dec(x_183); +lean_inc(x_189); +x_190 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_190, 0, x_189); +x_191 = lean_ctor_get(x_11, 4); +x_192 = lean_ctor_get(x_11, 5); +lean_inc(x_192); +lean_inc(x_191); +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_187); +x_195 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_184); +x_196 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_196, 0, x_184); +lean_ctor_set(x_196, 1, x_189); +lean_ctor_set(x_196, 2, x_190); +lean_ctor_set(x_196, 3, x_195); +lean_ctor_set(x_196, 4, x_194); +lean_ctor_set_uint8(x_196, sizeof(void*)*5, x_3); +x_197 = lean_st_ref_get(x_12, x_188); +x_198 = lean_ctor_get(x_197, 1); +lean_inc(x_198); +lean_dec(x_197); +x_199 = lean_st_ref_take(x_8, x_198); +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_ctor_get(x_200, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_200, 1); +lean_inc(x_203); +x_204 = lean_ctor_get(x_200, 2); +lean_inc(x_204); +x_205 = lean_ctor_get(x_200, 3); +lean_inc(x_205); +x_206 = lean_ctor_get(x_200, 4); +lean_inc(x_206); +x_207 = lean_ctor_get(x_200, 5); +lean_inc(x_207); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + lean_ctor_release(x_200, 2); + lean_ctor_release(x_200, 3); + lean_ctor_release(x_200, 4); + lean_ctor_release(x_200, 5); + x_208 = x_200; +} else { + lean_dec_ref(x_200); + x_208 = lean_box(0); +} +x_209 = l_Std_PersistentArray_push___rarg(x_205, x_196); +if (lean_is_scalar(x_208)) { + x_210 = lean_alloc_ctor(0, 6, 0); +} else { + x_210 = x_208; +} +lean_ctor_set(x_210, 0, x_202); +lean_ctor_set(x_210, 1, x_203); +lean_ctor_set(x_210, 2, x_204); +lean_ctor_set(x_210, 3, x_209); +lean_ctor_set(x_210, 4, x_206); +lean_ctor_set(x_210, 5, x_207); +x_211 = lean_st_ref_set(x_8, x_210, x_201); +x_212 = lean_ctor_get(x_211, 1); +lean_inc(x_212); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_213 = x_211; +} else { + lean_dec_ref(x_211); + x_213 = lean_box(0); +} +x_214 = lean_box(0); +if (lean_is_scalar(x_213)) { + x_215 = lean_alloc_ctor(0, 2, 0); +} else { + x_215 = x_213; +} +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_212); +return x_215; +} +} +else +{ +lean_object* x_216; uint8_t x_217; +x_216 = lean_ctor_get(x_18, 0); +lean_inc(x_216); +lean_dec(x_18); +x_217 = !lean_is_exclusive(x_19); +if (x_217 == 0) +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_218 = lean_ctor_get(x_19, 0); +x_219 = lean_ctor_get(x_7, 0); +x_220 = lean_ctor_get(x_7, 1); +x_221 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_222 = lean_ctor_get(x_221, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = l_Lean_FileMap_toPosition(x_220, x_216); +lean_dec(x_216); +x_225 = l_Lean_FileMap_toPosition(x_220, x_218); +lean_dec(x_218); +lean_ctor_set(x_19, 0, x_225); +x_226 = lean_ctor_get(x_11, 4); +x_227 = lean_ctor_get(x_11, 5); +lean_inc(x_227); +lean_inc(x_226); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_222); +x_230 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_219); +x_231 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_231, 0, x_219); +lean_ctor_set(x_231, 1, x_224); +lean_ctor_set(x_231, 2, x_19); +lean_ctor_set(x_231, 3, x_230); +lean_ctor_set(x_231, 4, x_229); +lean_ctor_set_uint8(x_231, sizeof(void*)*5, x_3); +x_232 = lean_st_ref_get(x_12, x_223); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +lean_dec(x_232); +x_234 = lean_st_ref_take(x_8, x_233); +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_is_exclusive(x_235); +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; +x_238 = lean_ctor_get(x_235, 3); +x_239 = l_Std_PersistentArray_push___rarg(x_238, x_231); +lean_ctor_set(x_235, 3, x_239); +x_240 = lean_st_ref_set(x_8, x_235, x_236); +x_241 = !lean_is_exclusive(x_240); +if (x_241 == 0) +{ +lean_object* x_242; lean_object* x_243; +x_242 = lean_ctor_get(x_240, 0); +lean_dec(x_242); +x_243 = lean_box(0); +lean_ctor_set(x_240, 0, x_243); +return x_240; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_240, 1); +lean_inc(x_244); +lean_dec(x_240); +x_245 = lean_box(0); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +return x_246; +} +} +else +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_247 = lean_ctor_get(x_235, 0); +x_248 = lean_ctor_get(x_235, 1); +x_249 = lean_ctor_get(x_235, 2); +x_250 = lean_ctor_get(x_235, 3); +x_251 = lean_ctor_get(x_235, 4); +x_252 = lean_ctor_get(x_235, 5); +lean_inc(x_252); +lean_inc(x_251); +lean_inc(x_250); +lean_inc(x_249); +lean_inc(x_248); +lean_inc(x_247); +lean_dec(x_235); +x_253 = l_Std_PersistentArray_push___rarg(x_250, x_231); +x_254 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_254, 0, x_247); +lean_ctor_set(x_254, 1, x_248); +lean_ctor_set(x_254, 2, x_249); +lean_ctor_set(x_254, 3, x_253); +lean_ctor_set(x_254, 4, x_251); +lean_ctor_set(x_254, 5, x_252); +x_255 = lean_st_ref_set(x_8, x_254, x_236); +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_257 = x_255; +} else { + lean_dec_ref(x_255); + x_257 = lean_box(0); +} +x_258 = lean_box(0); +if (lean_is_scalar(x_257)) { + x_259 = lean_alloc_ctor(0, 2, 0); +} else { + x_259 = x_257; +} +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_256); +return x_259; +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_260 = lean_ctor_get(x_19, 0); +lean_inc(x_260); +lean_dec(x_19); +x_261 = lean_ctor_get(x_7, 0); +x_262 = lean_ctor_get(x_7, 1); +x_263 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_9, x_10, x_11, x_12, x_13); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = l_Lean_FileMap_toPosition(x_262, x_216); +lean_dec(x_216); +x_267 = l_Lean_FileMap_toPosition(x_262, x_260); +lean_dec(x_260); +x_268 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_268, 0, x_267); +x_269 = lean_ctor_get(x_11, 4); +x_270 = lean_ctor_get(x_11, 5); +lean_inc(x_270); +lean_inc(x_269); +x_271 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_271, 0, x_269); +lean_ctor_set(x_271, 1, x_270); +x_272 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_264); +x_273 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +lean_inc(x_261); +x_274 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_274, 0, x_261); +lean_ctor_set(x_274, 1, x_266); +lean_ctor_set(x_274, 2, x_268); +lean_ctor_set(x_274, 3, x_273); +lean_ctor_set(x_274, 4, x_272); +lean_ctor_set_uint8(x_274, sizeof(void*)*5, x_3); +x_275 = lean_st_ref_get(x_12, x_265); +x_276 = lean_ctor_get(x_275, 1); +lean_inc(x_276); +lean_dec(x_275); +x_277 = lean_st_ref_take(x_8, x_276); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_ctor_get(x_278, 0); +lean_inc(x_280); +x_281 = lean_ctor_get(x_278, 1); +lean_inc(x_281); +x_282 = lean_ctor_get(x_278, 2); +lean_inc(x_282); +x_283 = lean_ctor_get(x_278, 3); +lean_inc(x_283); +x_284 = lean_ctor_get(x_278, 4); +lean_inc(x_284); +x_285 = lean_ctor_get(x_278, 5); +lean_inc(x_285); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + lean_ctor_release(x_278, 1); + lean_ctor_release(x_278, 2); + lean_ctor_release(x_278, 3); + lean_ctor_release(x_278, 4); + lean_ctor_release(x_278, 5); + x_286 = x_278; +} else { + lean_dec_ref(x_278); + x_286 = lean_box(0); +} +x_287 = l_Std_PersistentArray_push___rarg(x_283, x_274); +if (lean_is_scalar(x_286)) { + x_288 = lean_alloc_ctor(0, 6, 0); +} else { + x_288 = x_286; +} +lean_ctor_set(x_288, 0, x_280); +lean_ctor_set(x_288, 1, x_281); +lean_ctor_set(x_288, 2, x_282); +lean_ctor_set(x_288, 3, x_287); +lean_ctor_set(x_288, 4, x_284); +lean_ctor_set(x_288, 5, x_285); +x_289 = lean_st_ref_set(x_8, x_288, x_279); +x_290 = lean_ctor_get(x_289, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_289)) { + lean_ctor_release(x_289, 0); + lean_ctor_release(x_289, 1); + x_291 = x_289; +} else { + lean_dec_ref(x_289); + x_291 = lean_box(0); +} +x_292 = lean_box(0); +if (lean_is_scalar(x_291)) { + x_293 = lean_alloc_ctor(0, 2, 0); +} else { + x_293 = x_291; +} +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_290); +return x_293; +} +} +} +} +} +} +lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(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_ctor_get(x_10, 3); +x_14 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown declaration '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_12 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2; +x_14 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = 2; +x_18 = l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_2, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_18); +lean_ctor_set(x_15, 0, x_19); +x_20 = lean_st_ref_set(x_2, x_15, x_16); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_20, 0, x_23); +return x_20; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +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_24); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_27 = lean_ctor_get(x_15, 0); +x_28 = lean_ctor_get(x_15, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_15); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_st_ref_set(x_2, x_30, x_16); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_33 = x_31; +} else { + lean_dec_ref(x_31); + x_33 = lean_box(0); +} +x_34 = lean_box(0); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { +_start: +{ +uint8_t x_16; +x_16 = x_4 < x_3; +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_dec(x_5); +x_18 = lean_array_uget(x_2, x_4); +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_18, x_19); +x_21 = l_Lean_Syntax_getId(x_20); +lean_dec(x_20); +x_22 = lean_unsigned_to_nat(2u); +x_23 = l_Lean_Syntax_getArg(x_18, x_22); +x_24 = l_Lean_Syntax_getId(x_23); +lean_dec(x_23); +x_25 = l_Lean_Name_append(x_1, x_21); +x_26 = lean_st_ref_get(x_14, x_15); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Environment_contains(x_29, x_25); +if (x_30 == 0) +{ +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; size_t x_43; size_t x_44; lean_object* x_45; +lean_dec(x_24); +x_31 = lean_ctor_get(x_13, 0); +x_32 = lean_ctor_get(x_13, 1); +x_33 = lean_ctor_get(x_13, 2); +x_34 = lean_ctor_get(x_13, 3); +x_35 = lean_ctor_get(x_13, 4); +x_36 = lean_ctor_get(x_13, 5); +x_37 = lean_ctor_get(x_13, 6); +x_38 = lean_ctor_get(x_13, 7); +x_39 = l_Lean_replaceRef(x_18, x_34); +lean_dec(x_18); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +x_40 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_32); +lean_ctor_set(x_40, 2, x_33); +lean_ctor_set(x_40, 3, x_39); +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); +x_41 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_40, x_14, x_28); +lean_dec(x_40); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = 1; +x_44 = x_4 + x_43; +x_45 = lean_box(0); +x_4 = x_44; +x_5 = x_45; +x_15 = x_42; +goto _start; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; +lean_dec(x_18); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_24); +lean_ctor_set(x_47, 1, x_25); +x_48 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = 1; +x_51 = x_4 + x_50; +x_52 = lean_box(0); +x_4 = x_51; +x_5 = x_52; +x_15 = x_49; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_getId(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +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_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_Syntax_getSepArgs(x_19); +lean_dec(x_19); +x_21 = lean_array_get_size(x_20); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +x_24 = lean_box(0); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(x_16, x_20, x_22, x_23, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_20); +lean_dec(x_16); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +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; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { +_start: +{ +uint8_t x_16; +x_16 = x_4 < x_3; +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_18 = lean_array_uget(x_2, x_4); +x_19 = l_Lean_Syntax_getId(x_18); +lean_inc(x_19); +x_20 = l_Lean_Name_append(x_1, x_19); +x_21 = lean_st_ref_get(x_14, x_15); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Environment_contains(x_24, x_20); +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; size_t x_38; size_t x_39; +lean_dec(x_19); +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(x_13, 4); +x_31 = lean_ctor_get(x_13, 5); +x_32 = lean_ctor_get(x_13, 6); +x_33 = lean_ctor_get(x_13, 7); +x_34 = l_Lean_replaceRef(x_18, x_29); +lean_dec(x_18); +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); +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_27); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_34); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_31); +lean_ctor_set(x_35, 6, x_32); +lean_ctor_set(x_35, 7, x_33); +x_36 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35, x_14, x_23); +lean_dec(x_35); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = 1; +x_39 = x_4 + x_38; +x_4 = x_39; +x_15 = x_37; +goto _start; +} +else +{ +lean_object* x_41; size_t x_42; size_t x_43; +lean_dec(x_20); +lean_dec(x_18); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_19); +lean_ctor_set(x_41, 1, x_5); +x_42 = 1; +x_43 = x_4 + x_42; +x_4 = x_43; +x_5 = x_41; +x_15 = x_23; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_getId(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(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; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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_box(0); +x_19 = lean_unsigned_to_nat(2u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_Syntax_getArgs(x_20); +lean_dec(x_20); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(x_16, x_21, x_23, x_24, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_21); +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_26); +x_29 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_29; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +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; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { +_start: +{ +uint8_t x_16; +x_16 = x_4 < x_3; +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_5); +x_18 = lean_array_uget(x_2, x_4); +x_19 = l_Lean_Syntax_getId(x_18); +lean_inc(x_19); +x_20 = l_Lean_Name_append(x_1, x_19); +x_21 = lean_st_ref_get(x_14, x_15); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Environment_contains(x_24, x_20); +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; size_t x_38; size_t x_39; lean_object* x_40; +lean_dec(x_19); +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(x_13, 4); +x_31 = lean_ctor_get(x_13, 5); +x_32 = lean_ctor_get(x_13, 6); +x_33 = lean_ctor_get(x_13, 7); +x_34 = l_Lean_replaceRef(x_18, x_29); +lean_dec(x_18); +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); +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_27); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_34); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_31); +lean_ctor_set(x_35, 6, x_32); +lean_ctor_set(x_35, 7, x_33); +x_36 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35, x_14, x_23); +lean_dec(x_35); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = 1; +x_39 = x_4 + x_38; +x_40 = lean_box(0); +x_4 = x_39; +x_5 = x_40; +x_15 = x_37; +goto _start; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; +lean_dec(x_18); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_19); +lean_ctor_set(x_42, 1, x_20); +x_43 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = 1; +x_46 = x_4 + x_45; +x_47 = lean_box(0); +x_4 = x_46; +x_5 = x_47; +x_15 = x_44; +goto _start; +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_getId(x_13); +lean_dec(x_13); +x_15 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +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_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = lean_array_get_size(x_20); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +x_24 = lean_box(0); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(x_16, x_20, x_22, x_23, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_20); +lean_dec(x_16); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +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; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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) { +_start: +{ +uint8_t x_16; +x_16 = x_4 < x_3; +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_5); +x_18 = lean_array_uget(x_2, x_4); +x_19 = lean_st_ref_take(x_14, x_15); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_1); +x_24 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_18, x_23, x_1); +lean_ctor_set(x_20, 0, x_24); +x_25 = lean_st_ref_set(x_14, x_20, x_21); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = 1; +x_28 = x_4 + x_27; +x_29 = lean_box(0); +x_4 = x_28; +x_5 = x_29; +x_15 = x_26; +goto _start; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); +x_33 = lean_ctor_get(x_20, 2); +x_34 = lean_ctor_get(x_20, 3); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_20); +lean_inc(x_1); +x_35 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_18, x_31, x_1); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_32); +lean_ctor_set(x_36, 2, x_33); +lean_ctor_set(x_36, 3, x_34); +x_37 = lean_st_ref_set(x_14, x_36, x_21); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = 1; +x_40 = x_4 + x_39; +x_41 = lean_box(0); +x_4 = x_40; +x_5 = x_41; +x_15 = x_38; +goto _start; +} +} +} +} +lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_scopedEnvExtensionsRef; +x_15 = lean_st_ref_get(x_14, x_13); +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_array_get_size(x_16); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = 0; +x_21 = lean_box(0); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(x_1, x_16, x_19, x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_16); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = x_3 < x_2; +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_17 = lean_array_uget(x_1, x_3); +x_18 = l_Lean_Syntax_getId(x_17); +lean_dec(x_17); +x_19 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +lean_inc(x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = 1; +x_29 = x_3 + x_28; +x_30 = lean_box(0); +x_3 = x_29; +x_4 = x_30; +x_14 = x_27; +goto _start; +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_getArgs(x_13); +lean_dec(x_13); +x_15 = lean_array_get_size(x_14); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = lean_box(0); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(x_14, x_16, x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_18); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_19); +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; +} +} +} +} +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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; uint8_t x_15; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_2, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__1___boxed), 11, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openOnly"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("openHiding"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3; +x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___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_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; uint8_t x_31; +x_24 = lean_ctor_get(x_8, 5); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 4); +lean_inc(x_25); +x_26 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1; +lean_inc(x_1); +x_27 = l_Lean_Syntax_getKind(x_1); +x_28 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5; +x_29 = lean_name_eq(x_27, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_25); +if (x_29 == 0) +{ +uint8_t x_140; +x_140 = 0; +x_31 = x_140; +goto block_139; +} +else +{ +uint8_t x_141; +x_141 = 1; +x_31 = x_141; +goto block_139; +} +block_23: +{ +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; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +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; +} +} +} +block_139: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_st_ref_get(x_9, x_10); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_mk_ref(x_30, x_33); +if (x_31 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; +x_38 = lean_name_eq(x_27, x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9; +x_40 = lean_name_eq(x_27, x_39); +lean_dec(x_27); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +lean_dec(x_1); +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); +lean_inc(x_9); +lean_inc(x_35); +x_44 = lean_apply_11(x_26, x_42, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_st_ref_get(x_9, x_46); +lean_dec(x_9); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_st_ref_get(x_35, x_48); +lean_dec(x_35); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_49, 0, x_52); +x_11 = x_49; +goto block_23; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_49); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_45); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_11 = x_56; +goto block_23; +} +} +else +{ +uint8_t x_57; +lean_dec(x_35); +lean_dec(x_9); +x_57 = !lean_is_exclusive(x_44); +if (x_57 == 0) +{ +x_11 = x_44; +goto block_23; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_44, 0); +x_59 = lean_ctor_get(x_44, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_44); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_11 = x_60; +goto block_23; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_35); +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); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_41); +if (x_61 == 0) +{ +x_11 = x_41; +goto block_23; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_41, 0); +x_63 = lean_ctor_get(x_41, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_41); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_11 = x_64; +goto block_23; +} +} +} +else +{ +lean_object* x_65; +x_65 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +lean_dec(x_1); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +lean_inc(x_9); +lean_inc(x_35); +x_68 = lean_apply_11(x_26, x_66, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_67); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_st_ref_get(x_9, x_70); +lean_dec(x_9); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_73 = lean_st_ref_get(x_35, x_72); +lean_dec(x_35); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_73, 0); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_69); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_73, 0, x_76); +x_11 = x_73; +goto block_23; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_69); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_11 = x_80; +goto block_23; +} +} +else +{ +uint8_t x_81; +lean_dec(x_35); +lean_dec(x_9); +x_81 = !lean_is_exclusive(x_68); +if (x_81 == 0) +{ +x_11 = x_68; +goto block_23; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_68, 0); +x_83 = lean_ctor_get(x_68, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_68); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_11 = x_84; +goto block_23; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_35); +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); +lean_dec(x_2); +x_85 = !lean_is_exclusive(x_65); +if (x_85 == 0) +{ +x_11 = x_65; +goto block_23; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_65, 0); +x_87 = lean_ctor_get(x_65, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_65); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_11 = x_88; +goto block_23; +} +} +} +} +else +{ +lean_object* x_89; +lean_dec(x_27); +x_89 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(x_1, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +lean_dec(x_1); +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_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_9); +lean_inc(x_35); +x_92 = lean_apply_11(x_26, x_90, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_91); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_9, x_94); +lean_dec(x_9); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_get(x_35, x_96); +lean_dec(x_35); +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_97, 0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_93); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_97, 0, x_100); +x_11 = x_97; +goto block_23; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_97, 0); +x_102 = lean_ctor_get(x_97, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_97); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_93); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_11 = x_104; +goto block_23; +} +} +else +{ +uint8_t x_105; +lean_dec(x_35); +lean_dec(x_9); +x_105 = !lean_is_exclusive(x_92); +if (x_105 == 0) +{ +x_11 = x_92; +goto block_23; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_92, 0); +x_107 = lean_ctor_get(x_92, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_92); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_11 = x_108; +goto block_23; +} +} +} +else +{ +uint8_t x_109; +lean_dec(x_35); +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); +lean_dec(x_2); +x_109 = !lean_is_exclusive(x_89); +if (x_109 == 0) +{ +x_11 = x_89; +goto block_23; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_89, 0); +x_111 = lean_ctor_get(x_89, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_89); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_11 = x_112; +goto block_23; +} +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_27); +x_113 = lean_ctor_get(x_34, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_34, 1); +lean_inc(x_114); +lean_dec(x_34); +x_115 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(x_1, x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_114); +lean_dec(x_1); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +lean_inc(x_9); +lean_inc(x_113); +x_118 = lean_apply_11(x_26, x_116, x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_117); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_121 = lean_st_ref_get(x_9, x_120); +lean_dec(x_9); +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +lean_dec(x_121); +x_123 = lean_st_ref_get(x_113, x_122); +lean_dec(x_113); +x_124 = !lean_is_exclusive(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_123, 0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_119); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_123, 0, x_126); +x_11 = x_123; +goto block_23; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_127 = lean_ctor_get(x_123, 0); +x_128 = lean_ctor_get(x_123, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_123); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_119); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_128); +x_11 = x_130; +goto block_23; +} +} +else +{ +uint8_t x_131; +lean_dec(x_113); +lean_dec(x_9); +x_131 = !lean_is_exclusive(x_118); +if (x_131 == 0) +{ +x_11 = x_118; +goto block_23; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_118, 0); +x_133 = lean_ctor_get(x_118, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_118); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_11 = x_134; +goto block_23; +} +} +} +else +{ +uint8_t x_135; +lean_dec(x_113); +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); +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_115); +if (x_135 == 0) +{ +x_11 = x_115; +goto block_23; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_115, 0); +x_137 = lean_ctor_get(x_115, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_115); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_11 = x_138; +goto block_23; +} +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_3 < x_2; +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_4); +x_16 = lean_array_uget(x_1, x_3); +x_17 = lean_st_ref_take(x_12, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_18, 0); +x_22 = l_Lean_ScopedEnvExtension_popScope___rarg(x_16, x_21); +lean_dec(x_16); +lean_ctor_set(x_18, 0, x_22); +x_23 = lean_st_ref_set(x_12, x_18, x_19); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = 1; +x_26 = x_3 + x_25; +x_27 = lean_box(0); +x_3 = x_26; +x_4 = x_27; +x_13 = x_24; +goto _start; +} +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; size_t x_37; size_t x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +x_31 = lean_ctor_get(x_18, 2); +x_32 = lean_ctor_get(x_18, 3); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +x_33 = l_Lean_ScopedEnvExtension_popScope___rarg(x_16, x_29); +lean_dec(x_16); +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_32); +x_35 = lean_st_ref_set(x_12, x_34, x_19); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = lean_box(0); +x_3 = x_38; +x_4 = x_39; +x_13 = x_36; +goto _start; +} +} +} +} +lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +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 = l_Lean_scopedEnvExtensionsRef; +x_13 = lean_st_ref_get(x_12, x_11); +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_array_get_size(x_14); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = lean_box(0); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(x_14, x_17, x_18, x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_14); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalOpen(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; +x_11 = l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +lean_inc(x_9); +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_15 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_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_unsigned_to_nat(3u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = lean_ctor_get(x_8, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_8, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_8, 3); +lean_inc(x_23); +x_24 = lean_ctor_get(x_8, 4); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 6); +lean_inc(x_25); +x_26 = lean_ctor_get(x_8, 7); +lean_inc(x_26); +x_27 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_21); +lean_ctor_set(x_27, 2, x_22); +lean_ctor_set(x_27, 3, x_23); +lean_ctor_set(x_27, 4, x_24); +lean_ctor_set(x_27, 5, x_16); +lean_ctor_set(x_27, 6, x_25); +lean_ctor_set(x_27, 7, x_26); +lean_inc(x_9); +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_28 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_17); +if (lean_obj_tag(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_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +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); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_29); +return x_31; +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_28, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_dec(x_28); +x_38 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); +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); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +lean_ctor_set_tag(x_38, 1); +lean_ctor_set(x_38, 0, x_36); +return x_38; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_15, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_15, 1); +lean_inc(x_44); +lean_dec(x_15); +x_45 = l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44); +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); +lean_dec(x_2); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set_tag(x_45, 1); +lean_ctor_set(x_45, 0, x_43); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_43); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_5); +lean_dec(x_1); +return x_16; +} +} +lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_Elab_log___at_Lean_Elab_Tactic_evalOpen___spec__8(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_14; +} +} +lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_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_12; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10___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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12___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_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__15(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(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_6); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14___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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(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_6); +lean_dec(x_2); +return x_18; +} +} +lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19___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_2); +lean_dec(x_2); +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__19(x_1, x_15, x_16, x_4, x_5, 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_6); +lean_dec(x_5); +lean_dec(x_1); +return x_17; +} +} +lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16___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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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_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); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); +lean_dec(x_5); +lean_dec(x_1); +return x_16; +} +} +lean_object* l_Lean_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20___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_popScope___at_Lean_Elab_Tactic_evalOpen___spec__20(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_Lean_Elab_Tactic_evalOpen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalOpen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("open"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalOpen"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalOpen___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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; 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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_st_ref_get(x_9, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_take(x_5, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 5); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = !lean_is_exclusive(x_27); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 5); +lean_dec(x_31); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_28, 1); +x_34 = l_Std_PersistentArray_push___rarg(x_33, x_1); +lean_ctor_set(x_28, 1, x_34); +x_35 = lean_st_ref_set(x_5, x_27, x_29); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +else +{ +uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_42 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = l_Std_PersistentArray_push___rarg(x_44, x_1); +x_46 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_42); +lean_ctor_set(x_27, 5, x_46); +x_47 = lean_st_ref_set(x_5, x_27, x_29); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +x_50 = lean_box(0); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t 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; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +x_54 = lean_ctor_get(x_27, 2); +x_55 = lean_ctor_get(x_27, 3); +x_56 = lean_ctor_get(x_27, 4); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_27); +x_57 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_58 = lean_ctor_get(x_28, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_28, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_60 = x_28; +} else { + lean_dec_ref(x_28); + x_60 = lean_box(0); +} +x_61 = l_Std_PersistentArray_push___rarg(x_59, x_1); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 1); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_57); +x_63 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_53); +lean_ctor_set(x_63, 2, x_54); +lean_ctor_set(x_63, 3, x_55); +lean_ctor_set(x_63, 4, x_56); +lean_ctor_set(x_63, 5, x_62); +x_64 = lean_st_ref_set(x_5, x_63, x_29); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +x_67 = lean_box(0); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_66; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +} +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1; +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_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2; +x_3 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_4); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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; 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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___spec__4(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_26; +} +} +} +lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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; +x_11 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___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; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec(x_10); +x_14 = l_Lean_KVMap_insertCore(x_13, x_1, x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type mismatch at set_option"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 3); +lean_inc(x_12); +lean_inc(x_1); +x_13 = l_Lean_getOptionDecl(x_1, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(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_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_DataValue_sameCtor(x_16, x_2); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2; +x_19 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +lean_dec(x_9); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +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_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_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___lambda__1(x_1, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_13); +if (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 = lean_ctor_get(x_13, 0); +x_28 = lean_io_error_to_string(x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_12); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_13, 0, x_31); +return x_13; +} +else +{ +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_13, 0); +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_13); +x_34 = lean_io_error_to_string(x_32); +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +return x_38; +} +} +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected set_option value "); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("false"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_Syntax_getId(x_1); +x_13 = lean_erase_macro_scopes(x_12); +x_14 = l_Lean_Syntax_isStrLit_x3f(x_2); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Lean_numLitKind; +x_16 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_15, x_2); +if (lean_obj_tag(x_16) == 0) +{ +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4; +x_19 = lean_string_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; +x_21 = lean_string_dec_eq(x_17, x_20); +lean_dec(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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_13); +x_22 = lean_ctor_get(x_9, 3); +lean_inc(x_22); +x_23 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_2); +x_27 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +lean_dec(x_9); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_2); +x_32 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6; +x_33 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_17); +lean_dec(x_2); +x_34 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7; +x_35 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_13); +x_36 = lean_ctor_get(x_9, 3); +lean_inc(x_36); +x_37 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_2); +x_41 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +lean_dec(x_9); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_2); +x_46 = lean_ctor_get(x_16, 0); +lean_inc(x_46); +lean_dec(x_16); +x_47 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_2); +x_49 = lean_ctor_get(x_14, 0); +lean_inc(x_49); +lean_dec(x_14); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_13, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_51; +} +} +} +lean_object* l_Lean_Elab_Tactic_elabSetOption(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; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = lean_unsigned_to_nat(2u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +lean_inc(x_8); +x_15 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +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_unsigned_to_nat(4u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = !lean_is_exclusive(x_8); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_8, 2); +lean_dec(x_21); +x_22 = lean_ctor_get(x_8, 0); +lean_dec(x_22); +x_23 = l_Lean_maxRecDepth; +x_24 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_16, x_23); +lean_ctor_set(x_8, 2, x_24); +lean_ctor_set(x_8, 0, x_16); +x_25 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_26 = lean_ctor_get(x_8, 1); +x_27 = lean_ctor_get(x_8, 3); +x_28 = lean_ctor_get(x_8, 4); +x_29 = lean_ctor_get(x_8, 5); +x_30 = lean_ctor_get(x_8, 6); +x_31 = lean_ctor_get(x_8, 7); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_8); +x_32 = l_Lean_maxRecDepth; +x_33 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_16, x_32); +x_34 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_34, 0, x_16); +lean_ctor_set(x_34, 1, x_26); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_29); +lean_ctor_set(x_34, 6, x_30); +lean_ctor_set(x_34, 7, x_31); +x_35 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_17); +return x_35; +} +} +else +{ +uint8_t x_36; +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); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +return x_15; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_15, 0); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_15); +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; +} +} +} +} +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___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_throwError___at_Lean_Elab_Tactic_elabSetOption___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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_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_13; +} +} +lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___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: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__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_10); +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_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_elabSetOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_elabSetOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("set_option"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabSetOption"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabSetOption___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_14; +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_6); +lean_dec(x_5); +lean_dec(x_2); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +x_18 = l_Lean_Meta_isExprMVarAssigned(x_16, x_9, x_10, x_11, x_12, x_13); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_42; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +lean_inc(x_2); +lean_inc(x_16); +lean_ctor_set(x_3, 1, x_2); +x_22 = l_Lean_Elab_Tactic_setGoals(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +x_26 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_42 = l_Lean_Elab_Tactic_evalTacticAux(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_27); +lean_dec(x_16); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_4, x_45); +x_3 = x_17; +x_4 = x_47; +x_13 = x_46; +goto _start; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_42, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_42, 1); +lean_inc(x_50); +lean_dec(x_42); +x_29 = x_49; +x_30 = x_50; +goto block_41; +} +block_41: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = l_Lean_Elab_Tactic_SavedState_restore(x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_array_push(x_4, x_16); +x_3 = x_17; +x_4 = x_35; +x_13 = x_34; +goto _start; +} +else +{ +uint8_t x_37; +lean_dec(x_17); +lean_dec(x_16); +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_33); +if (x_37 == 0) +{ +return x_33; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_33, 0); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_33); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +else +{ +lean_object* x_51; +lean_free_object(x_3); +lean_dec(x_16); +x_51 = lean_ctor_get(x_18, 1); +lean_inc(x_51); +lean_dec(x_18); +x_3 = x_17; +x_13 = x_51; +goto _start; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_3, 0); +x_54 = lean_ctor_get(x_3, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_3); +x_55 = l_Lean_Meta_isExprMVarAssigned(x_53, x_9, x_10, x_11, x_12, x_13); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_80; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +lean_inc(x_2); +lean_inc(x_53); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_2); +x_60 = l_Lean_Elab_Tactic_setGoals(x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_unsigned_to_nat(1u); +x_63 = l_Lean_Syntax_getArg(x_1, x_62); +x_64 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_80 = l_Lean_Elab_Tactic_evalTacticAux(x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_65); +lean_dec(x_53); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_81); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_4, x_83); +x_3 = x_54; +x_4 = x_85; +x_13 = x_84; +goto _start; +} +else +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_80, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_80, 1); +lean_inc(x_88); +lean_dec(x_80); +x_67 = x_87; +x_68 = x_88; +goto block_79; +} +block_79: +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = l_Lean_Elab_Tactic_SavedState_restore(x_65, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_68); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_70); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_73 = lean_array_push(x_4, x_53); +x_3 = x_54; +x_4 = x_73; +x_13 = x_72; +goto _start; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_54); +lean_dec(x_53); +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_75 = lean_ctor_get(x_71, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_77 = x_71; +} else { + lean_dec_ref(x_71); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(1, 2, 0); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_76); +return x_78; +} +} +} +else +{ +lean_object* x_89; +lean_dec(x_53); +x_89 = lean_ctor_get(x_55, 1); +lean_inc(x_89); +lean_dec(x_55); +x_3 = x_54; +x_13 = x_89; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalAllGoals___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalAllGoals(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; +x_11 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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_box(0); +x_15 = l_Lean_Elab_Tactic_evalAllGoals___closed__1; +lean_inc(x_9); +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_16 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(x_1, x_14, x_12, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +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); +x_19 = lean_array_to_list(lean_box(0), x_17); +x_20 = l_Lean_Elab_Tactic_setGoals(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +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); +lean_dec(x_2); +return x_20; +} +else +{ +uint8_t x_21; +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); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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) { +_start: +{ +lean_object* x_14; +x_14 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(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_1); +return x_14; +} +} +lean_object* l_Lean_Elab_Tactic_evalAllGoals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalAllGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("allGoals"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalAllGoals"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAllGoals___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeq(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; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalTacticSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalTacticSeq"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___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) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg), 1, 0); +return x_9; +} +} +lean_object* l_Lean_Elab_Tactic_evalChoiceAux(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; uint8_t x_13; +x_12 = lean_array_get_size(x_1); +x_13 = lean_nat_dec_lt(x_2, x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_fget(x_1, x_2); +x_16 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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_10); +lean_inc(x_9); +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_19 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Tactic_SavedState_restore(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_23; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set_tag(x_22, 1); +lean_ctor_set(x_22, 0, x_20); +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_22, 1); +x_29 = lean_ctor_get(x_22, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_20, 0); +lean_inc(x_30); +x_31 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_32 = lean_nat_dec_eq(x_31, x_30); +lean_dec(x_30); +if (x_32 == 0) +{ +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set_tag(x_22, 1); +lean_ctor_set(x_22, 0, x_20); +return x_22; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_free_object(x_22); +lean_dec(x_20); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_add(x_2, x_33); +lean_dec(x_2); +x_2 = x_34; +x_11 = x_28; +goto _start; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_22, 1); +lean_inc(x_36); +lean_dec(x_22); +x_37 = lean_ctor_get(x_20, 0); +lean_inc(x_37); +x_38 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_39 = lean_nat_dec_eq(x_38, x_37); +lean_dec(x_37); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_20); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_20); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_2, x_41); +lean_dec(x_2); +x_2 = x_42; +x_11 = x_36; +goto _start; +} +} +} +} +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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_9; +} +} +lean_object* l_Lean_Elab_Tactic_evalChoiceAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalChoiceAux(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_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalChoice(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; +x_11 = l_Lean_Syntax_getArgs(x_1); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Elab_Tactic_evalChoiceAux(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_evalChoice___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalChoice(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("choice"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalChoice"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalChoice___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Tactic_evalSkip(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 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSkip___rarg), 1, 0); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalSkip___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_Tactic_evalSkip(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("skip"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalSkip"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSkip___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalUnknown(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; +x_11 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_15; +} +} +lean_object* l_Lean_Elab_Tactic_evalUnknown___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalUnknown(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); +lean_dec(x_2); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalUnknown"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalUnknown___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tactic succeeded"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(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: +{ +uint8_t x_11; lean_object* x_12; 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_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_9); +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_23 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; uint8_t x_25; +lean_dec(x_21); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = 1; +x_11 = x_25; +x_12 = x_24; +goto block_17; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l_Lean_Elab_Tactic_SavedState_restore(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = 0; +x_11 = x_29; +x_12 = x_28; +goto block_17; +} +block_17: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +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); +lean_dec(x_2); +x_13 = lean_box(0); +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 +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +x_16 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +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); +lean_dec(x_2); +return x_16; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalFailIfSuccess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failIfSuccess"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalFailIfSuccess"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFailIfSuccess___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalTraceState___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) { +_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; +x_10 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, 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_Lean_Elab_goalsToMessageData(x_11); +x_14 = 0; +x_15 = l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_13, x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_15; +} +} +lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTraceState___rarg___boxed), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalTraceState___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalTraceState___rarg(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_Lean_Elab_Tactic_evalTraceState___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalTraceState(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("traceState"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalTraceState"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTraceState___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Meta_assumption(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Tactic_replaceMainGoal(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +return x_16; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_16, 0); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_16); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +uint8_t x_27; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +return x_13; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_13, 0); +x_29 = lean_ctor_get(x_13, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_13); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_31 = !lean_is_exclusive(x_10); +if (x_31 == 0) +{ +return x_10; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalAssumption___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; +x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___rarg), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(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); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalAssumption(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("assumption"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalAssumption"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAssumption___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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; uint8_t x_13; lean_object* x_14; lean_object* x_15; +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 = 1; +x_14 = lean_unsigned_to_nat(2u); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_15 = l_Lean_Meta_contradiction(x_11, x_13, x_14, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_box(0); +x_18 = l_Lean_Elab_Tactic_replaceMainGoal(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +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_22); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +return x_18; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_18); +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 +{ +uint8_t x_29; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_29 = !lean_is_exclusive(x_15); +if (x_29 == 0) +{ +return x_15; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_15, 0); +x_31 = lean_ctor_get(x_15, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_15); +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_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalContradiction___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; +x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___rarg), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1(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); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Tactic_evalContradiction___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalContradiction(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("contradiction"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalContradiction"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalContradiction___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Lean_Meta_intro(x_12, x_1, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_Elab_Tactic_replaceMainGoal(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_20, 0, x_23); +return x_20; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +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_24); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +return x_20; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_31 = !lean_is_exclusive(x_14); +if (x_31 == 0) +{ +return x_14; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_14, 0); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_14); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_11); +if (x_35 == 0) +{ +return x_11; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_11, 0); +x_37 = lean_ctor_get(x_11, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_11); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep(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_Elab_Tactic_evalIntro_introStep___lambda__1___boxed), 10, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalIntro_introStep___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); +return x_11; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 3); +x_5 = l_Lean_SourceInfo_fromRef(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed), 3, 0); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("intro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("h"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__15; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__15; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__16; +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_Lean_Elab_Tactic_evalIntro___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__15; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__4; +x_2 = l_Lean_Elab_Tactic_evalAllGoals___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchDiscr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__21; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("with"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlt"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__28; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntheticHole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalIntro___closed__12; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__32; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticTry_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__38; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("try"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__41() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("group"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__41; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("clear"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__43; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalIntro___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntro(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalIntro___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_nullKind; +x_17 = lean_unsigned_to_nat(0u); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_inc(x_15); +x_19 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_14); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_Syntax_getNumArgs(x_15); +x_21 = lean_nat_dec_le(x_14, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_20); +lean_dec(x_15); +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); +lean_dec(x_2); +x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_22; +} +else +{ +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; +x_23 = l_Lean_Syntax_getArg(x_15, x_17); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_20, x_17); +lean_dec(x_20); +x_26 = l_Array_extract___rarg(x_24, x_14, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Syntax_getArgs(x_27); +lean_dec(x_27); +x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_10); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_33); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Elab_Tactic_evalIntro___closed__1; +lean_inc(x_30); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_30); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Tactic_evalIntro___closed__5; +x_39 = lean_array_push(x_38, x_23); +x_40 = l_Lean_Elab_Tactic_evalIntro___closed__4; +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 = l_Lean_Elab_Tactic_evalIntro___closed__6; +x_43 = lean_array_push(x_42, x_37); +lean_inc(x_43); +x_44 = lean_array_push(x_43, x_41); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_11); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_Elab_Tactic_evalIntro___closed__7; +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_30); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Tactic_evalAllGoals___closed__1; +x_49 = l_Array_append___rarg(x_48, x_28); +lean_dec(x_28); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_40); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_43, x_50); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_11); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Elab_Tactic_evalIntro___closed__8; +x_54 = lean_array_push(x_53, x_45); +x_55 = lean_array_push(x_54, x_47); +x_56 = lean_array_push(x_55, x_52); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_40); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_array_push(x_38, x_57); +x_59 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_Elab_Tactic_evalTacticAux(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +return x_61; +} +} +else +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = l_Lean_Syntax_getArg(x_15, x_17); +lean_dec(x_15); +x_63 = l_Lean_Elab_Tactic_evalIntro___closed__10; +lean_inc(x_62); +x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; uint8_t x_66; +x_65 = l_Lean_Elab_Tactic_evalIntro___closed__14; +lean_inc(x_62); +x_66 = l_Lean_Syntax_isOfKind(x_62, x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_67 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_10); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Elab_Tactic_evalIntro___closed__1; +lean_inc(x_68); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Tactic_evalIntro___closed__18; +x_79 = l_Lean_addMacroScope(x_74, x_78, x_71); +x_80 = lean_box(0); +x_81 = l_Lean_Elab_Tactic_evalIntro___closed__17; +lean_inc(x_68); +x_82 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_82, 0, x_68); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_82, 3, x_80); +x_83 = l_Lean_Elab_Tactic_evalIntro___closed__5; +lean_inc(x_82); +x_84 = lean_array_push(x_83, x_82); +x_85 = l_Lean_Elab_Tactic_evalIntro___closed__4; +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_Tactic_evalIntro___closed__6; +x_88 = lean_array_push(x_87, x_77); +lean_inc(x_86); +x_89 = lean_array_push(x_88, x_86); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_11); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Tactic_evalIntro___closed__7; +lean_inc(x_68); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_68); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Tactic_evalIntro___closed__19; +lean_inc(x_68); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_68); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_Elab_Tactic_evalIntro___closed__24; +x_96 = lean_array_push(x_95, x_82); +x_97 = l_Lean_Elab_Tactic_evalIntro___closed__23; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_array_push(x_83, x_98); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_85); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Tactic_evalIntro___closed__25; +lean_inc(x_68); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_68); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Tactic_evalIntro___closed__30; +lean_inc(x_68); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_68); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_array_push(x_83, x_62); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_85); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Tactic_evalIntro___closed__31; +lean_inc(x_68); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_68); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Tactic_evalIntro___closed__34; +lean_inc(x_68); +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_68); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Elab_Tactic_evalIntro___closed__35; +lean_inc(x_68); +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_68); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_83, x_112); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_65); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_87, x_110); +x_116 = lean_array_push(x_115, x_114); +x_117 = l_Lean_Elab_Tactic_evalIntro___closed__33; +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_Lean_Elab_Tactic_evalIntro___closed__36; +x_120 = lean_array_push(x_119, x_104); +x_121 = lean_array_push(x_120, x_106); +x_122 = lean_array_push(x_121, x_108); +x_123 = lean_array_push(x_122, x_118); +x_124 = l_Lean_Elab_Tactic_evalIntro___closed__29; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_83, x_125); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_85); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_83, x_127); +x_129 = l_Lean_Elab_Tactic_evalIntro___closed__27; +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 = l_Lean_Elab_Tactic_evalIntro___closed__37; +x_132 = lean_array_push(x_131, x_94); +x_133 = l_Lean_Elab_Tactic_evalIntro___closed__21; +x_134 = lean_array_push(x_132, x_133); +x_135 = lean_array_push(x_134, x_100); +x_136 = lean_array_push(x_135, x_133); +x_137 = lean_array_push(x_136, x_102); +x_138 = lean_array_push(x_137, x_130); +x_139 = l_Lean_Elab_Tactic_evalIntro___closed__20; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = l_Lean_Elab_Tactic_evalIntro___closed__40; +lean_inc(x_68); +x_142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_142, 0, x_68); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Lean_Elab_Tactic_evalIntro___closed__43; +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_68); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_array_push(x_87, x_144); +x_146 = lean_array_push(x_145, x_86); +x_147 = l_Lean_Elab_Tactic_evalIntro___closed__44; +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_87, x_148); +x_150 = lean_array_push(x_149, x_133); +x_151 = l_Lean_Elab_Tactic_evalIntro___closed__42; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_83, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_85); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_83, x_154); +x_156 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = lean_array_push(x_83, x_157); +x_159 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = lean_array_push(x_87, x_142); +x_162 = lean_array_push(x_161, x_160); +x_163 = l_Lean_Elab_Tactic_evalIntro___closed__39; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = l_Lean_Elab_Tactic_evalIntro___closed__45; +x_166 = lean_array_push(x_165, x_90); +lean_inc(x_92); +x_167 = lean_array_push(x_166, x_92); +x_168 = lean_array_push(x_167, x_140); +x_169 = lean_array_push(x_168, x_92); +x_170 = lean_array_push(x_169, x_164); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_85); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_array_push(x_83, x_171); +x_173 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_172); +x_175 = l_Lean_Elab_Tactic_evalTacticAux(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_175; +} +else +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_62); +x_176 = l_Lean_Elab_Tactic_evalIntro___closed__46; +x_177 = l_Lean_Elab_Tactic_evalIntro_introStep(x_176, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_177; +} +} +else +{ +lean_object* x_178; lean_object* x_179; +x_178 = l_Lean_Syntax_getId(x_62); +lean_dec(x_62); +x_179 = l_Lean_Elab_Tactic_evalIntro_introStep(x_178, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_179; +} +} +} +else +{ +lean_object* x_180; lean_object* x_181; +lean_dec(x_15); +x_180 = l_Lean_Elab_Tactic_evalIntro___closed__46; +x_181 = l_Lean_Elab_Tactic_evalIntro_introStep(x_180, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_181; +} +} +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +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_7; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalIntro"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntroMatch___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: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_5); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_2); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_2); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_5, 3, x_15); +x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_17 = lean_ctor_get(x_5, 0); +x_18 = lean_ctor_get(x_5, 1); +x_19 = lean_ctor_get(x_5, 2); +x_20 = lean_ctor_get(x_5, 3); +x_21 = lean_ctor_get(x_5, 4); +x_22 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_24 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_25 = lean_ctor_get(x_5, 5); +x_26 = lean_ctor_get(x_5, 6); +x_27 = lean_ctor_get(x_5, 7); +x_28 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_5); +lean_inc(x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_2); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_20); +x_31 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_18); +lean_ctor_set(x_31, 2, x_19); +lean_ctor_set(x_31, 3, x_30); +lean_ctor_set(x_31, 4, x_21); +lean_ctor_set(x_31, 5, x_25); +lean_ctor_set(x_31, 6, x_26); +lean_ctor_set(x_31, 7, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); +lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); +lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); +lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); +x_32 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11); +return x_32; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalIntroMatch(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; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed), 4, 2); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_12); +lean_inc(x_8); +x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_15); +lean_inc(x_1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntroMatch___lambda__1), 11, 2); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_15, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +return x_18; +} +else +{ +uint8_t x_19; +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); +lean_dec(x_2); +lean_dec(x_1); +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; +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("introMatch"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalIntroMatch"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntroMatch), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 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; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_10 = lean_box_uint64(x_9); +x_11 = lean_apply_4(x_2, x_6, x_7, x_8, x_10); +return x_11; +} +case 8: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 2); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 3); +lean_inc(x_15); +x_16 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); +lean_dec(x_1); +x_17 = lean_box_uint64(x_16); +x_18 = lean_apply_5(x_3, x_12, x_13, x_14, x_15, x_17); +return x_18; +} +case 10: +{ +lean_object* x_19; lean_object* x_20; uint64_t x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +x_21 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_22 = lean_box_uint64(x_21); +x_23 = lean_apply_3(x_4, x_19, x_20, x_22); +return x_23; +} +default: +{ +lean_object* x_24; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_apply_1(x_5, x_1); +return x_24; +} +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg), 5, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 7: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_ctor_get(x_1, 2); +x_3 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(x_2); +x_4 = lean_unsigned_to_nat(1u); +x_5 = lean_nat_add(x_3, x_4); +lean_dec(x_3); +return x_5; +} +case 8: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 3); +x_7 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(x_6); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_7, x_8); +lean_dec(x_7); +return x_9; +} +case 10: +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_1, 1); +x_1 = x_10; +goto _start; +} +default: +{ +lean_object* x_12; +x_12 = lean_unsigned_to_nat(0u); +return x_12; +} +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l_Lean_Elab_Tactic_getNameOfIdent_x27(x_9); +lean_dec(x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t 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_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_array_get_size(x_1); +x_15 = lean_usize_of_nat(x_14); +x_16 = 0; +x_17 = x_1; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_15, x_16, x_17); +x_19 = x_18; +x_20 = lean_array_to_list(lean_box(0), x_19); +x_21 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_22 = l_Lean_Meta_introNCore(x_12, x_14, x_20, x_21, x_21, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Elab_Tactic_replaceMainGoal(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = lean_box(0); +lean_ctor_set(x_28, 0, x_31); +return x_28; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_28); +if (x_35 == 0) +{ +return x_28; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_28, 0); +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_28); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_39 = !lean_is_exclusive(x_22); +if (x_39 == 0) +{ +return x_22; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_22, 0); +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_22); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) +{ +return x_11; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_11); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, 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); +lean_inc(x_11); +x_13 = l_Lean_Meta_getMVarType(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +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); +lean_dec(x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = l_Lean_Meta_instantiateMVars(x_14, x_5, x_6, x_7, x_8, x_15); +if (lean_obj_tag(x_16) == 0) +{ +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_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); +x_19 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getIntrosSize(x_17); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_22 = l_Lean_Meta_introNCore(x_11, x_19, x_20, x_21, x_21, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_20); +x_27 = l_Lean_Elab_Tactic_replaceMainGoal(x_26, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = lean_box(0); +lean_ctor_set(x_27, 0, x_30); +return x_27; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_dec(x_27); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_27); +if (x_34 == 0) +{ +return x_27; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_27, 0); +x_36 = lean_ctor_get(x_27, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_27); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +return x_22; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_42 = !lean_is_exclusive(x_16); +if (x_42 == 0) +{ +return x_16; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_16, 0); +x_44 = lean_ctor_get(x_16, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_16); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_46 = !lean_is_exclusive(x_13); +if (x_46 == 0) +{ +return x_13; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_13, 0); +x_48 = lean_ctor_get(x_13, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_50 = !lean_is_exclusive(x_10); +if (x_50 == 0) +{ +return x_10; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_10, 0); +x_52 = lean_ctor_get(x_10, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_10); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("intros"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalIntros___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalIntros___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_nullKind; +x_17 = lean_unsigned_to_nat(0u); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed), 10, 1); +lean_closure_set(x_20, 0, x_19); +x_21 = l_Lean_Elab_Tactic_withMainContext___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_15); +x_22 = l_Lean_Elab_Tactic_evalIntros___closed__3; +x_23 = l_Lean_Elab_Tactic_withMainContext___rarg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_23; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalIntros___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); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalIntros___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalIntros___lambda__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); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalIntros"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntros), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalIntros___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("revert"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalRevert___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Tactic_evalRevert(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalRevert___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* 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_Syntax_getArgs(x_15); +lean_dec(x_15); +x_17 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_9); +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_20 = l_Lean_Elab_Tactic_getFVarIds(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_24 = l_Lean_Meta_revert(x_18, x_21, x_23, x_6, x_7, x_8, x_9, x_22); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_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_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_Tactic_replaceMainGoal(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +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); +lean_dec(x_2); +return x_30; +} +else +{ +uint8_t x_31; +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); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ +return x_24; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_24); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_18); +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); +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_20); +if (x_35 == 0) +{ +return x_20; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_20, 0); +x_37 = lean_ctor_get(x_20, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_20); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_16); +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); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_17); +if (x_39 == 0) +{ +return x_17; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_17, 0); +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_17); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRevert"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRevert), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalRevert___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds_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) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); +x_7 = lean_box(0); +x_8 = lean_apply_1(x_6, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_6); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_apply_1(x_5, x_9); +return x_10; +} +} +else +{ +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_3); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_apply_1(x_4, x_11); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +lean_dec(x_2); +x_15 = lean_apply_2(x_3, x_13, x_14); +return x_15; +} +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds_match__1___rarg), 6, 0); +return x_2; +} +} +lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___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) { +_start: +{ +uint8_t x_7; +x_7 = lean_nat_dec_lt(x_6, x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_array_swap(x_4, x_5, x_2); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_instInhabitedName; +x_11 = lean_array_get(x_10, x_4, x_6); +lean_inc(x_1); +lean_inc(x_3); +x_12 = lean_apply_2(x_1, x_11, x_3); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_6 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_array_swap(x_4, x_5, x_6); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_20 = lean_nat_add(x_6, x_18); +lean_dec(x_6); +x_4 = x_17; +x_5 = x_19; +x_6 = x_20; +goto _start; +} +} +} +} +uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +lean_inc(x_2); +lean_inc(x_1); +x_4 = lean_local_ctx_find(x_1, x_2); +lean_inc(x_3); +x_5 = lean_local_ctx_find(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = l_Lean_Name_quickLt(x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +else +{ +uint8_t x_7; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_7 = 1; +return x_7; +} +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = l_Lean_LocalDecl_index(x_10); +lean_dec(x_10); +x_12 = l_Lean_LocalDecl_index(x_9); +lean_dec(x_9); +x_13 = lean_nat_dec_lt(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +return x_13; +} +} +} +} +lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_15; +lean_inc(x_1); +x_5 = lean_alloc_closure((void*)(l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed), 3, 1); +lean_closure_set(x_5, 0, x_1); +x_15 = lean_nat_dec_lt(x_3, x_4); +if (x_15 == 0) +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_16 = lean_nat_add(x_3, x_4); +x_17 = lean_unsigned_to_nat(2u); +x_18 = lean_nat_div(x_16, x_17); +lean_dec(x_16); +x_87 = l_Lean_instInhabitedName; +x_88 = lean_array_get(x_87, x_2, x_18); +x_89 = lean_array_get(x_87, x_2, x_3); +lean_inc(x_88); +lean_inc(x_1); +x_90 = lean_local_ctx_find(x_1, x_88); +lean_inc(x_89); +lean_inc(x_1); +x_91 = lean_local_ctx_find(x_1, x_89); +if (lean_obj_tag(x_90) == 0) +{ +if (lean_obj_tag(x_91) == 0) +{ +uint8_t x_92; +x_92 = l_Lean_Name_quickLt(x_88, x_89); +lean_dec(x_89); +lean_dec(x_88); +if (x_92 == 0) +{ +x_19 = x_2; +goto block_86; +} +else +{ +lean_object* x_93; +x_93 = lean_array_swap(x_2, x_3, x_18); +x_19 = x_93; +goto block_86; +} +} +else +{ +lean_object* x_94; +lean_dec(x_91); +lean_dec(x_89); +lean_dec(x_88); +x_94 = lean_array_swap(x_2, x_3, x_18); +x_19 = x_94; +goto block_86; +} +} +else +{ +lean_dec(x_89); +lean_dec(x_88); +if (lean_obj_tag(x_91) == 0) +{ +lean_dec(x_90); +x_19 = x_2; +goto block_86; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_95 = lean_ctor_get(x_90, 0); +lean_inc(x_95); +lean_dec(x_90); +x_96 = lean_ctor_get(x_91, 0); +lean_inc(x_96); +lean_dec(x_91); +x_97 = l_Lean_LocalDecl_index(x_96); +lean_dec(x_96); +x_98 = l_Lean_LocalDecl_index(x_95); +lean_dec(x_95); +x_99 = lean_nat_dec_lt(x_97, x_98); +lean_dec(x_98); +lean_dec(x_97); +if (x_99 == 0) +{ +x_19 = x_2; +goto block_86; +} +else +{ +lean_object* x_100; +x_100 = lean_array_swap(x_2, x_3, x_18); +x_19 = x_100; +goto block_86; +} +} +} +block_86: +{ +lean_object* x_20; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_46 = l_Lean_instInhabitedName; +x_47 = lean_array_get(x_46, x_19, x_4); +x_71 = lean_array_get(x_46, x_19, x_3); +lean_inc(x_47); +lean_inc(x_1); +x_72 = lean_local_ctx_find(x_1, x_47); +lean_inc(x_71); +lean_inc(x_1); +x_73 = lean_local_ctx_find(x_1, x_71); +if (lean_obj_tag(x_72) == 0) +{ +if (lean_obj_tag(x_73) == 0) +{ +uint8_t x_74; +x_74 = l_Lean_Name_quickLt(x_47, x_71); +lean_dec(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_box(0); +x_48 = x_75; +goto block_70; +} +else +{ +lean_object* x_76; +lean_dec(x_47); +x_76 = lean_box(0); +x_20 = x_76; +goto block_45; +} +} +else +{ +lean_object* x_77; +lean_dec(x_73); +lean_dec(x_71); +lean_dec(x_47); +x_77 = lean_box(0); +x_20 = x_77; +goto block_45; +} +} +else +{ +lean_dec(x_71); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_box(0); +x_48 = x_78; +goto block_70; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_79 = lean_ctor_get(x_72, 0); +lean_inc(x_79); +lean_dec(x_72); +x_80 = lean_ctor_get(x_73, 0); +lean_inc(x_80); +lean_dec(x_73); +x_81 = l_Lean_LocalDecl_index(x_80); +lean_dec(x_80); +x_82 = l_Lean_LocalDecl_index(x_79); +lean_dec(x_79); +x_83 = lean_nat_dec_lt(x_81, x_82); +lean_dec(x_82); +lean_dec(x_81); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_box(0); +x_48 = x_84; +goto block_70; +} +else +{ +lean_object* x_85; +lean_dec(x_47); +x_85 = lean_box(0); +x_20 = x_85; +goto block_45; +} +} +} +block_45: +{ +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_20); +x_21 = lean_array_swap(x_19, x_3, x_4); +x_22 = l_Lean_instInhabitedName; +x_23 = lean_array_get(x_22, x_21, x_18); +x_24 = lean_array_get(x_22, x_21, x_4); +lean_inc(x_23); +lean_inc(x_1); +x_25 = lean_local_ctx_find(x_1, x_23); +lean_inc(x_24); +lean_inc(x_1); +x_26 = lean_local_ctx_find(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = l_Lean_Name_quickLt(x_23, x_24); +lean_dec(x_23); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_28 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); +x_6 = x_28; +goto block_14; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_24); +x_29 = lean_array_swap(x_21, x_18, x_4); +lean_dec(x_18); +x_30 = lean_array_get(x_22, x_29, x_4); +lean_inc_n(x_3, 2); +x_31 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_30, x_29, x_3, x_3); +x_6 = x_31; +goto block_14; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_26); +lean_dec(x_24); +lean_dec(x_23); +x_32 = lean_array_swap(x_21, x_18, x_4); +lean_dec(x_18); +x_33 = lean_array_get(x_22, x_32, x_4); +lean_inc_n(x_3, 2); +x_34 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_33, x_32, x_3, x_3); +x_6 = x_34; +goto block_14; +} +} +else +{ +lean_dec(x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_35; +lean_dec(x_25); +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_35 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); +x_6 = x_35; +goto block_14; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_25, 0); +lean_inc(x_36); +lean_dec(x_25); +x_37 = lean_ctor_get(x_26, 0); +lean_inc(x_37); +lean_dec(x_26); +x_38 = l_Lean_LocalDecl_index(x_37); +lean_dec(x_37); +x_39 = l_Lean_LocalDecl_index(x_36); +lean_dec(x_36); +x_40 = lean_nat_dec_lt(x_38, x_39); +lean_dec(x_39); +lean_dec(x_38); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_41 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_24, x_21, x_3, x_3); +x_6 = x_41; +goto block_14; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_24); +x_42 = lean_array_swap(x_21, x_18, x_4); +lean_dec(x_18); +x_43 = lean_array_get(x_22, x_42, x_4); +lean_inc_n(x_3, 2); +x_44 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_43, x_42, x_3, x_3); +x_6 = x_44; +goto block_14; +} +} +} +} +block_70: +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_48); +x_49 = lean_array_get(x_46, x_19, x_18); +lean_inc(x_49); +lean_inc(x_1); +x_50 = lean_local_ctx_find(x_1, x_49); +lean_inc(x_47); +lean_inc(x_1); +x_51 = lean_local_ctx_find(x_1, x_47); +if (lean_obj_tag(x_50) == 0) +{ +if (lean_obj_tag(x_51) == 0) +{ +uint8_t x_52; +x_52 = l_Lean_Name_quickLt(x_49, x_47); +lean_dec(x_49); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_53 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); +x_6 = x_53; +goto block_14; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_47); +x_54 = lean_array_swap(x_19, x_18, x_4); +lean_dec(x_18); +x_55 = lean_array_get(x_46, x_54, x_4); +lean_inc_n(x_3, 2); +x_56 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_55, x_54, x_3, x_3); +x_6 = x_56; +goto block_14; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_51); +lean_dec(x_49); +lean_dec(x_47); +x_57 = lean_array_swap(x_19, x_18, x_4); +lean_dec(x_18); +x_58 = lean_array_get(x_46, x_57, x_4); +lean_inc_n(x_3, 2); +x_59 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_58, x_57, x_3, x_3); +x_6 = x_59; +goto block_14; +} +} +else +{ +lean_dec(x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_60; +lean_dec(x_50); +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_60 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); +x_6 = x_60; +goto block_14; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_61 = lean_ctor_get(x_50, 0); +lean_inc(x_61); +lean_dec(x_50); +x_62 = lean_ctor_get(x_51, 0); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_LocalDecl_index(x_62); +lean_dec(x_62); +x_64 = l_Lean_LocalDecl_index(x_61); +lean_dec(x_61); +x_65 = lean_nat_dec_lt(x_63, x_64); +lean_dec(x_64); +lean_dec(x_63); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_18); +lean_inc_n(x_3, 2); +x_66 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_47, x_19, x_3, x_3); +x_6 = x_66; +goto block_14; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_47); +x_67 = lean_array_swap(x_19, x_18, x_4); +lean_dec(x_18); +x_68 = lean_array_get(x_46, x_67, x_4); +lean_inc_n(x_3, 2); +x_69 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_5, x_4, x_68, x_67, x_3, x_3); +x_6 = x_69; +goto block_14; +} +} +} +} +} +} +block_14: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_nat_dec_le(x_4, x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_inc(x_1); +x_10 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_1, x_8, x_3, x_7); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_7, x_11); +lean_dec(x_7); +x_2 = x_10; +x_3 = x_12; +goto _start; +} +else +{ +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___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; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_dec(x_6); +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_11, x_1, x_15, x_14); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds(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___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1___boxed), 10, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__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_Array_qsort_sort___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Lean_Meta_clear(x_12, x_1, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +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_Elab_Tactic_replaceMainGoal(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) +{ +return x_11; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_11); +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; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_3 < x_2; +if (x_14 == 0) +{ +lean_object* x_15; +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_6); +lean_dec(x_5); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_4); +x_16 = lean_array_uget(x_1, x_3); +x_17 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed), 10, 1); +lean_closure_set(x_17, 0, x_16); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_18 = l_Lean_Elab_Tactic_withMainContext___rarg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = 1; +x_21 = x_3 + x_20; +x_22 = lean_box(0); +x_3 = x_21; +x_4 = x_22; +x_13 = x_19; +goto _start; +} +else +{ +uint8_t x_24; +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_6); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +return x_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_18); +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; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalClear(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalIntro___closed__44; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* 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_Syntax_getArgs(x_15); +lean_dec(x_15); +lean_inc(x_9); +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_17 = l_Lean_Elab_Tactic_getFVarIds(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_9); +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_20 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_sortFVarIds(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_21); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = 0; +x_26 = lean_box(0); +x_27 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(x_21, x_24, x_25, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +lean_dec(x_21); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +uint8_t x_36; +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); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_20); +if (x_36 == 0) +{ +return x_20; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_20, 0); +x_38 = lean_ctor_get(x_20, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_20); +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_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); +x_40 = !lean_is_exclusive(x_17); +if (x_40 == 0) +{ +return x_17; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_17, 0); +x_42 = lean_ctor_get(x_17, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_17); +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; +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___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); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_1); +return x_16; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalClear"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalClear), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__44; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_inc(x_9); +lean_inc(x_7); +lean_inc(x_1); +x_12 = l_Lean_Elab_Tactic_getFVarId(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_9); +lean_inc(x_7); +x_17 = l_Lean_Elab_Tactic_getFVarId(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_20 = lean_apply_7(x_2, x_15, x_18, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_Tactic_replaceMainGoal(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +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; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) +{ +return x_14; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_14, 0); +x_36 = lean_ctor_get(x_14, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_14); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_12); +if (x_38 == 0) +{ +return x_12; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_12, 0); +x_40 = lean_ctor_get(x_12, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_12); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: +{ +uint8_t x_15; +x_15 = x_4 < x_3; +if (x_15 == 0) +{ +lean_object* x_16; +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_6); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_5); +x_17 = lean_array_uget(x_2, x_4); +lean_inc(x_1); +x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___lambda__1___boxed), 11, 2); +lean_closure_set(x_18, 0, x_17); +lean_closure_set(x_18, 1, x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_19 = l_Lean_Elab_Tactic_withMainContext___rarg(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = 1; +x_22 = x_4 + x_21; +x_23 = lean_box(0); +x_4 = x_22; +x_5 = x_23; +x_14 = x_20; +goto _start; +} +else +{ +uint8_t x_25; +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_6); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +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; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_forEachVar(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; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_array_get_size(x_1); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = lean_box(0); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(x_2, x_1, x_13, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___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_3); +lean_dec(x_3); +x_16 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); +return x_17; +} +} +lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_forEachVar(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_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("subst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalSubst___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_subst), 7, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalSubst(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalSubst___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +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_Syntax_getArgs(x_15); +lean_dec(x_15); +x_17 = l_Lean_Elab_Tactic_evalSubst___closed__3; +x_18 = l_Lean_Elab_Tactic_forEachVar(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_16); +return x_18; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalSubst"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSubst), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalSubst___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f_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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +lean_dec(x_2); +lean_inc(x_14); +x_16 = l_Lean_Meta_getMVarDecl(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Name_isSuffixOf(x_1, x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_free_object(x_16); +lean_dec(x_14); +x_2 = x_15; +x_11 = x_19; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_15); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_16, 0, x_23); +return x_16; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_16, 0); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_16); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Name_isSuffixOf(x_1, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_dec(x_14); +x_2 = x_15; +x_11 = x_25; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_15); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_14); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_25); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_15); +lean_dec(x_14); +x_31 = !lean_is_exclusive(x_16); +if (x_31 == 0) +{ +return x_16; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 0); +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_16); +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; +} +} +} +} +} +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +lean_dec(x_2); +lean_inc(x_14); +x_16 = l_Lean_Meta_getMVarDecl(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Name_isPrefixOf(x_1, x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_free_object(x_16); +lean_dec(x_14); +x_2 = x_15; +x_11 = x_19; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_15); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_16, 0, x_23); +return x_16; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_16, 0); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_16); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Name_isPrefixOf(x_1, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_dec(x_14); +x_2 = x_15; +x_11 = x_25; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_15); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_14); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_25); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_15); +lean_dec(x_14); +x_31 = !lean_is_exclusive(x_16); +if (x_31 == 0) +{ +return x_16; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 0); +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_16); +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; +} +} +} +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_1); +x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__1(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_15; +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_12, 0); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_12, 0, x_20); +return x_12; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_13, 0); +lean_inc(x_22); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + x_23 = x_13; +} else { + lean_dec_ref(x_13); + x_23 = lean_box(0); +} +if (lean_is_scalar(x_23)) { + x_24 = lean_alloc_ctor(1, 1, 0); +} else { + x_24 = x_23; +} +lean_ctor_set(x_24, 0, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_21); +return x_25; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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: +{ +lean_object* x_12; +x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__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_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); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_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_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase_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_Lean_Elab_Tactic_evalCase_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase_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_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalCase_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_name_eq(x_5, x_2); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_6, x_2); +lean_ctor_set(x_1, 1, x_8); +return x_1; +} +else +{ +lean_free_object(x_1); +lean_dec(x_5); +return x_6; +} +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = lean_name_eq(x_9, x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_10, x_2); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +else +{ +lean_dec(x_9); +return x_10; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = l_Lean_Elab_Tactic_evalIntro___closed__6; +x_14 = lean_array_push(x_13, x_1); +x_15 = lean_array_push(x_14, x_2); +x_16 = l_Lean_nullKind; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 3); +x_20 = l_Lean_replaceRef(x_17, x_19); +lean_dec(x_19); +lean_dec(x_17); +lean_ctor_set(x_10, 3, x_20); +x_21 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_21; +} +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_10, 0); +x_23 = lean_ctor_get(x_10, 1); +x_24 = lean_ctor_get(x_10, 2); +x_25 = lean_ctor_get(x_10, 3); +x_26 = lean_ctor_get(x_10, 4); +x_27 = lean_ctor_get(x_10, 5); +x_28 = lean_ctor_get(x_10, 6); +x_29 = lean_ctor_get(x_10, 7); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_10); +x_30 = l_Lean_replaceRef(x_17, x_25); +lean_dec(x_25); +lean_dec(x_17); +x_31 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set(x_31, 1, x_23); +lean_ctor_set(x_31, 2, x_24); +lean_ctor_set(x_31, 3, x_30); +lean_ctor_set(x_31, 4, x_26); +lean_ctor_set(x_31, 5, x_27); +lean_ctor_set(x_31, 6, x_28); +lean_ctor_set(x_31, 7, x_29); +x_32 = lean_apply_9(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31, x_11, x_12); +return x_32; +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_array_pop(x_2); +x_14 = l_Array_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_13); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, 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_12); +return x_20; +} +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___lambda__1___boxed), 12, 0); +return x_1; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_nat_dec_le(x_15, x_4); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_3, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_3, x_19); +lean_dec(x_3); +x_21 = !lean_is_exclusive(x_5); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_5, 0); +x_23 = lean_ctor_get(x_5, 1); +x_24 = lean_nat_sub(x_1, x_4); +x_25 = lean_nat_sub(x_24, x_19); +lean_dec(x_24); +lean_inc(x_22); +x_26 = lean_local_ctx_get(x_22, x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_2, 2); +x_28 = lean_nat_add(x_4, x_27); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_28; +goto _start; +} +else +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec(x_26); +x_31 = l_Lean_LocalDecl_userName(x_30); +x_32 = l_Lean_Name_hasMacroScopes(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_30); +x_33 = lean_ctor_get(x_2, 2); +x_34 = lean_nat_add(x_4, x_33); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_34; +goto _start; +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_free_object(x_5); +x_36 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_23); +x_37 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; +x_38 = l_Lean_Syntax_isIdent(x_36); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_36); +lean_dec(x_30); +x_39 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_40 = lean_apply_12(x_37, x_22, x_23, x_39, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 0); +lean_dec(x_43); +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = lean_ctor_get(x_41, 0); +lean_inc(x_46); +lean_dec(x_41); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_dec(x_40); +x_49 = lean_ctor_get(x_41, 0); +lean_inc(x_49); +lean_dec(x_41); +x_50 = lean_ctor_get(x_2, 2); +x_51 = lean_nat_add(x_4, x_50); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_51; +x_5 = x_49; +x_14 = x_48; +goto _start; +} +} +else +{ +uint8_t x_53; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_53 = !lean_is_exclusive(x_40); +if (x_53 == 0) +{ +return x_40; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_40, 0); +x_55 = lean_ctor_get(x_40, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_40); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = l_Lean_Syntax_getId(x_36); +lean_dec(x_36); +x_58 = l_Lean_LocalDecl_fvarId(x_30); +lean_dec(x_30); +x_59 = l_Lean_LocalContext_setUserName(x_22, x_58, x_57); +x_60 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_61 = lean_apply_12(x_37, x_59, x_23, x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_61, 0); +lean_dec(x_64); +x_65 = lean_ctor_get(x_62, 0); +lean_inc(x_65); +lean_dec(x_62); +lean_ctor_set(x_61, 0, x_65); +return x_61; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_dec(x_61); +x_67 = lean_ctor_get(x_62, 0); +lean_inc(x_67); +lean_dec(x_62); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_61, 1); +lean_inc(x_69); +lean_dec(x_61); +x_70 = lean_ctor_get(x_62, 0); +lean_inc(x_70); +lean_dec(x_62); +x_71 = lean_ctor_get(x_2, 2); +x_72 = lean_nat_add(x_4, x_71); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_72; +x_5 = x_70; +x_14 = x_69; +goto _start; +} +} +else +{ +uint8_t x_74; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_74 = !lean_is_exclusive(x_61); +if (x_74 == 0) +{ +return x_61; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_61, 0); +x_76 = lean_ctor_get(x_61, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_61); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_78 = lean_ctor_get(x_5, 0); +x_79 = lean_ctor_get(x_5, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_5); +x_80 = lean_nat_sub(x_1, x_4); +x_81 = lean_nat_sub(x_80, x_19); +lean_dec(x_80); +lean_inc(x_78); +x_82 = lean_local_ctx_get(x_78, x_81); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_78); +lean_ctor_set(x_83, 1, x_79); +x_84 = lean_ctor_get(x_2, 2); +x_85 = lean_nat_add(x_4, x_84); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_85; +x_5 = x_83; +goto _start; +} +else +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = lean_ctor_get(x_82, 0); +lean_inc(x_87); +lean_dec(x_82); +x_88 = l_Lean_LocalDecl_userName(x_87); +x_89 = l_Lean_Name_hasMacroScopes(x_88); +lean_dec(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_87); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_78); +lean_ctor_set(x_90, 1, x_79); +x_91 = lean_ctor_get(x_2, 2); +x_92 = lean_nat_add(x_4, x_91); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_92; +x_5 = x_90; +goto _start; +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_79); +x_95 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1; +x_96 = l_Lean_Syntax_isIdent(x_94); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; +lean_dec(x_94); +lean_dec(x_87); +x_97 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_98 = lean_apply_12(x_95, x_78, x_79, x_97, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_101 = x_98; +} else { + lean_dec_ref(x_98); + x_101 = lean_box(0); +} +x_102 = lean_ctor_get(x_99, 0); +lean_inc(x_102); +lean_dec(x_99); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_100); +return x_103; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_98, 1); +lean_inc(x_104); +lean_dec(x_98); +x_105 = lean_ctor_get(x_99, 0); +lean_inc(x_105); +lean_dec(x_99); +x_106 = lean_ctor_get(x_2, 2); +x_107 = lean_nat_add(x_4, x_106); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_107; +x_5 = x_105; +x_14 = x_104; +goto _start; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_109 = lean_ctor_get(x_98, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_98, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_111 = x_98; +} else { + lean_dec_ref(x_98); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = l_Lean_Syntax_getId(x_94); +lean_dec(x_94); +x_114 = l_Lean_LocalDecl_fvarId(x_87); +lean_dec(x_87); +x_115 = l_Lean_LocalContext_setUserName(x_78, x_114, x_113); +x_116 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_117 = lean_apply_12(x_95, x_115, x_79, x_116, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +x_121 = lean_ctor_get(x_118, 0); +lean_inc(x_121); +lean_dec(x_118); +if (lean_is_scalar(x_120)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_120; +} +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_119); +return x_122; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_123 = lean_ctor_get(x_117, 1); +lean_inc(x_123); +lean_dec(x_117); +x_124 = lean_ctor_get(x_118, 0); +lean_inc(x_124); +lean_dec(x_118); +x_125 = lean_ctor_get(x_2, 2); +x_126 = lean_nat_add(x_4, x_125); +lean_dec(x_4); +x_3 = x_20; +x_4 = x_126; +x_5 = x_124; +x_14 = x_123; +goto _start; +} +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_20); +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_6); +lean_dec(x_4); +x_128 = lean_ctor_get(x_117, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_117, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_130 = x_117; +} else { + lean_dec_ref(x_117); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(1, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_129); +return x_131; +} +} +} +} +} +} +else +{ +lean_object* x_132; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_5); +lean_ctor_set(x_132, 1, x_14); +return x_132; +} +} +else +{ +lean_object* x_133; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_5); +lean_ctor_set(x_133, 1, x_14); +return x_133; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_box(0); +lean_inc(x_5); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +lean_inc(x_5); +x_20 = l_Lean_Meta_getMVarTag(x_5, x_11, x_12, x_13, x_14, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +lean_inc(x_5); +x_24 = l_Lean_Meta_setMVarTag(x_5, x_23, x_11, x_12, x_13, x_14, x_22); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +lean_inc(x_1); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_26, 0, x_1); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); +lean_closure_set(x_27, 0, x_2); +lean_closure_set(x_27, 1, x_26); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_closeUsingOrAdmit), 10, 1); +lean_closure_set(x_28, 0, x_27); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_29 = l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(x_3, x_1, x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_25); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_Meta_setMVarTag(x_5, x_21, x_11, x_12, x_13, x_14, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_33 = l_Lean_Elab_Tactic_done(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l_Lean_Elab_Tactic_setGoals(x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); +lean_dec(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); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(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_4); +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) +{ +return x_33; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 0); +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_33); +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 +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_40 = lean_ctor_get(x_29, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_29, 1); +lean_inc(x_41); +lean_dec(x_29); +x_42 = l_Lean_Meta_setMVarTag(x_5, x_21, x_11, x_12, x_13, x_14, x_41); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_40); +return x_42; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(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_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_20); +if (x_47 == 0) +{ +return x_20; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_20, 0); +x_49 = lean_ctor_get(x_20, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_20); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t 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; +x_15 = lean_ctor_get(x_1, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = 2; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Meta_mkFreshExprMVarAt(x_2, x_15, x_16, x_18, x_17, x_19, x_10, x_11, x_12, x_13, x_14); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_21); +x_23 = l_Lean_Meta_assignExprMVar(x_4, x_21, x_10, x_11, x_12, x_13, x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_Expr_mvarId_x21(x_21); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_apply_11(x_3, x_25, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_24); +return x_27; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("case"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l_Lean_Elab_Tactic_evalCase___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tag not found"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalCase___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("too many variable names provided at 'case'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalCase___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase(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; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_evalCase___closed__2; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +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); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +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; uint8_t x_23; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_unsigned_to_nat(3u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = lean_unsigned_to_nat(4u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +lean_inc(x_21); +x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); +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); +lean_dec(x_2); +lean_dec(x_1); +x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +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; +x_25 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +x_26 = l_Lean_Syntax_getId(x_15); +lean_dec(x_15); +x_27 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_28); +x_30 = l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(x_28, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +lean_dec(x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_1); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Tactic_evalCase___closed__4; +x_34 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +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); +lean_dec(x_2); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = lean_ctor_get(x_31, 0); +lean_inc(x_36); +lean_dec(x_31); +x_37 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_28, x_36); +lean_inc(x_37); +lean_inc(x_19); +lean_inc(x_1); +lean_inc(x_21); +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase___lambda__1___boxed), 15, 4); +lean_closure_set(x_38, 0, x_21); +lean_closure_set(x_38, 1, x_1); +lean_closure_set(x_38, 2, x_19); +lean_closure_set(x_38, 3, x_37); +x_39 = l_Array_isEmpty___rarg(x_25); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_37); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_1); +lean_inc(x_36); +x_40 = l_Lean_Meta_getMVarDecl(x_36, x_6, x_7, x_8, x_9, x_35); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_inc(x_43); +x_44 = lean_local_ctx_num_indices(x_43); +x_45 = lean_unsigned_to_nat(0u); +lean_inc(x_44); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_14); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_25); +lean_inc(x_9); +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_44); +x_48 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3(x_44, x_46, x_44, x_45, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +lean_dec(x_46); +lean_dec(x_44); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = l_Array_isEmpty___rarg(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_54 = l_Lean_Elab_Tactic_evalCase___closed__6; +x_55 = 2; +x_56 = l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_54, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l_Lean_Elab_Tactic_evalCase___lambda__2(x_41, x_51, x_38, x_36, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); +lean_dec(x_57); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_box(0); +x_61 = l_Lean_Elab_Tactic_evalCase___lambda__2(x_41, x_51, x_38, x_36, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); +return x_61; +} +} +else +{ +uint8_t x_62; +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_36); +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); +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_48); +if (x_62 == 0) +{ +return x_48; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_48, 0); +x_64 = lean_ctor_get(x_48, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_48); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +uint8_t x_66; +lean_dec(x_38); +lean_dec(x_36); +lean_dec(x_25); +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); +lean_dec(x_2); +x_66 = !lean_is_exclusive(x_40); +if (x_66 == 0) +{ +return x_40; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_40, 0); +x_68 = lean_ctor_get(x_40, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_40); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_38); +lean_dec(x_25); +x_70 = lean_box(0); +x_71 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_21, x_1, x_19, x_37, x_36, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +return x_71; +} +} +} +else +{ +uint8_t x_72; +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_19); +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); +lean_dec(x_2); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_30); +if (x_72 == 0) +{ +return x_30; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_30, 0); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_30); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +} +} +lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_13; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Elab_Tactic_evalCase___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +return x_16; +} +} +lean_object* l_Lean_Elab_Tactic_evalCase___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, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Elab_Tactic_evalCase___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, x_14); +lean_dec(x_5); +return x_15; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalCase"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalCase), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Elab_Tactic_evalCase___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst_loop(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; uint8_t x_15; +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = lean_nat_dec_eq(x_2, x_14); +lean_dec(x_14); +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; lean_object* x_22; lean_object* x_23; +x_16 = l_Lean_instInhabitedSyntax; +x_17 = lean_array_get(x_16, x_1, x_2); +x_18 = l_Lean_Syntax_getArg(x_17, x_13); +lean_dec(x_17); +x_19 = lean_nat_add(x_2, x_13); +lean_dec(x_2); +x_20 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_10); +lean_inc(x_9); +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_23 = l_Lean_Elab_Tactic_evalTacticAux(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_Elab_Tactic_SavedState_restore(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_2 = x_19; +x_11 = x_26; +goto _start; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = l_Lean_instInhabitedSyntax; +x_29 = lean_array_get(x_28, x_1, x_2); +lean_dec(x_2); +x_30 = l_Lean_Syntax_getArg(x_29, x_13); +lean_dec(x_29); +x_31 = l_Lean_Elab_Tactic_evalTacticAux(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_31; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalFirst_loop(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_1); +return x_12; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___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) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg), 1, 0); +return x_9; +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst___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; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Elab_Tactic_evalFirst_loop(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst(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; uint8_t x_14; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getArgs(x_12); +lean_dec(x_12); +x_14 = l_Array_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Lean_Elab_Tactic_evalFirst_loop(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_13); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_13); +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); +lean_dec(x_2); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(x_10); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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_9; +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst___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_Lean_Elab_Tactic_evalFirst___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_2); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalFirst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalFirst(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("first"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalFirst"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFirst___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Tactic_BuiltinTactic(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__7); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__8); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__9); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__10); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__11); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__12); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__13); +l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__14); +res = l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1(); +lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1); +l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2(); +lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__2); +l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1 = _init_l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1(); +lean_mark_persistent(l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1); +l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1); +l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2); +l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3(); +lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__1); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__2); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__3); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__6); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8); +l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__9); +l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalOpen(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__1); +l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2); +l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3 = _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__3); +l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__1); +l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__3); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6); +l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__7); +l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1); +l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2); +l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3); +l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__4); +l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalAllGoals___closed__1 = _init_l_Lean_Elab_Tactic_evalAllGoals___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalAllGoals___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); +l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalIntro___closed__1 = _init_l_Lean_Elab_Tactic_evalIntro___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__1); +l_Lean_Elab_Tactic_evalIntro___closed__2 = _init_l_Lean_Elab_Tactic_evalIntro___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__2); +l_Lean_Elab_Tactic_evalIntro___closed__3 = _init_l_Lean_Elab_Tactic_evalIntro___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__3); +l_Lean_Elab_Tactic_evalIntro___closed__4 = _init_l_Lean_Elab_Tactic_evalIntro___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__4); +l_Lean_Elab_Tactic_evalIntro___closed__5 = _init_l_Lean_Elab_Tactic_evalIntro___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__5); +l_Lean_Elab_Tactic_evalIntro___closed__6 = _init_l_Lean_Elab_Tactic_evalIntro___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__6); +l_Lean_Elab_Tactic_evalIntro___closed__7 = _init_l_Lean_Elab_Tactic_evalIntro___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__7); +l_Lean_Elab_Tactic_evalIntro___closed__8 = _init_l_Lean_Elab_Tactic_evalIntro___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__8); +l_Lean_Elab_Tactic_evalIntro___closed__9 = _init_l_Lean_Elab_Tactic_evalIntro___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__9); +l_Lean_Elab_Tactic_evalIntro___closed__10 = _init_l_Lean_Elab_Tactic_evalIntro___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__10); +l_Lean_Elab_Tactic_evalIntro___closed__11 = _init_l_Lean_Elab_Tactic_evalIntro___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__11); +l_Lean_Elab_Tactic_evalIntro___closed__12 = _init_l_Lean_Elab_Tactic_evalIntro___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__12); +l_Lean_Elab_Tactic_evalIntro___closed__13 = _init_l_Lean_Elab_Tactic_evalIntro___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__13); +l_Lean_Elab_Tactic_evalIntro___closed__14 = _init_l_Lean_Elab_Tactic_evalIntro___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__14); +l_Lean_Elab_Tactic_evalIntro___closed__15 = _init_l_Lean_Elab_Tactic_evalIntro___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__15); +l_Lean_Elab_Tactic_evalIntro___closed__16 = _init_l_Lean_Elab_Tactic_evalIntro___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__16); +l_Lean_Elab_Tactic_evalIntro___closed__17 = _init_l_Lean_Elab_Tactic_evalIntro___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__17); +l_Lean_Elab_Tactic_evalIntro___closed__18 = _init_l_Lean_Elab_Tactic_evalIntro___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__18); +l_Lean_Elab_Tactic_evalIntro___closed__19 = _init_l_Lean_Elab_Tactic_evalIntro___closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__19); +l_Lean_Elab_Tactic_evalIntro___closed__20 = _init_l_Lean_Elab_Tactic_evalIntro___closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__20); +l_Lean_Elab_Tactic_evalIntro___closed__21 = _init_l_Lean_Elab_Tactic_evalIntro___closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__21); +l_Lean_Elab_Tactic_evalIntro___closed__22 = _init_l_Lean_Elab_Tactic_evalIntro___closed__22(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__22); +l_Lean_Elab_Tactic_evalIntro___closed__23 = _init_l_Lean_Elab_Tactic_evalIntro___closed__23(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__23); +l_Lean_Elab_Tactic_evalIntro___closed__24 = _init_l_Lean_Elab_Tactic_evalIntro___closed__24(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__24); +l_Lean_Elab_Tactic_evalIntro___closed__25 = _init_l_Lean_Elab_Tactic_evalIntro___closed__25(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__25); +l_Lean_Elab_Tactic_evalIntro___closed__26 = _init_l_Lean_Elab_Tactic_evalIntro___closed__26(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__26); +l_Lean_Elab_Tactic_evalIntro___closed__27 = _init_l_Lean_Elab_Tactic_evalIntro___closed__27(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__27); +l_Lean_Elab_Tactic_evalIntro___closed__28 = _init_l_Lean_Elab_Tactic_evalIntro___closed__28(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__28); +l_Lean_Elab_Tactic_evalIntro___closed__29 = _init_l_Lean_Elab_Tactic_evalIntro___closed__29(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__29); +l_Lean_Elab_Tactic_evalIntro___closed__30 = _init_l_Lean_Elab_Tactic_evalIntro___closed__30(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__30); +l_Lean_Elab_Tactic_evalIntro___closed__31 = _init_l_Lean_Elab_Tactic_evalIntro___closed__31(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__31); +l_Lean_Elab_Tactic_evalIntro___closed__32 = _init_l_Lean_Elab_Tactic_evalIntro___closed__32(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__32); +l_Lean_Elab_Tactic_evalIntro___closed__33 = _init_l_Lean_Elab_Tactic_evalIntro___closed__33(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__33); +l_Lean_Elab_Tactic_evalIntro___closed__34 = _init_l_Lean_Elab_Tactic_evalIntro___closed__34(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__34); +l_Lean_Elab_Tactic_evalIntro___closed__35 = _init_l_Lean_Elab_Tactic_evalIntro___closed__35(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__35); +l_Lean_Elab_Tactic_evalIntro___closed__36 = _init_l_Lean_Elab_Tactic_evalIntro___closed__36(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__36); +l_Lean_Elab_Tactic_evalIntro___closed__37 = _init_l_Lean_Elab_Tactic_evalIntro___closed__37(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__37); +l_Lean_Elab_Tactic_evalIntro___closed__38 = _init_l_Lean_Elab_Tactic_evalIntro___closed__38(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__38); +l_Lean_Elab_Tactic_evalIntro___closed__39 = _init_l_Lean_Elab_Tactic_evalIntro___closed__39(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__39); +l_Lean_Elab_Tactic_evalIntro___closed__40 = _init_l_Lean_Elab_Tactic_evalIntro___closed__40(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__40); +l_Lean_Elab_Tactic_evalIntro___closed__41 = _init_l_Lean_Elab_Tactic_evalIntro___closed__41(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__41); +l_Lean_Elab_Tactic_evalIntro___closed__42 = _init_l_Lean_Elab_Tactic_evalIntro___closed__42(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__42); +l_Lean_Elab_Tactic_evalIntro___closed__43 = _init_l_Lean_Elab_Tactic_evalIntro___closed__43(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__43); +l_Lean_Elab_Tactic_evalIntro___closed__44 = _init_l_Lean_Elab_Tactic_evalIntro___closed__44(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__44); +l_Lean_Elab_Tactic_evalIntro___closed__45 = _init_l_Lean_Elab_Tactic_evalIntro___closed__45(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__45); +l_Lean_Elab_Tactic_evalIntro___closed__46 = _init_l_Lean_Elab_Tactic_evalIntro___closed__46(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__46); +l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalIntros___closed__1 = _init_l_Lean_Elab_Tactic_evalIntros___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__1); +l_Lean_Elab_Tactic_evalIntros___closed__2 = _init_l_Lean_Elab_Tactic_evalIntros___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__2); +l_Lean_Elab_Tactic_evalIntros___closed__3 = _init_l_Lean_Elab_Tactic_evalIntros___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalIntros___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l_Lean_Elab_Tactic_evalRevert___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRevert___closed__1); +l_Lean_Elab_Tactic_evalRevert___closed__2 = _init_l_Lean_Elab_Tactic_evalRevert___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRevert___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalClear(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalSubst___closed__1 = _init_l_Lean_Elab_Tactic_evalSubst___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__1); +l_Lean_Elab_Tactic_evalSubst___closed__2 = _init_l_Lean_Elab_Tactic_evalSubst___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__2); +l_Lean_Elab_Tactic_evalSubst___closed__3 = _init_l_Lean_Elab_Tactic_evalSubst___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSubst___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___closed__1); +l_Lean_Elab_Tactic_evalCase___closed__1 = _init_l_Lean_Elab_Tactic_evalCase___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__1); +l_Lean_Elab_Tactic_evalCase___closed__2 = _init_l_Lean_Elab_Tactic_evalCase___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__2); +l_Lean_Elab_Tactic_evalCase___closed__3 = _init_l_Lean_Elab_Tactic_evalCase___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__3); +l_Lean_Elab_Tactic_evalCase___closed__4 = _init_l_Lean_Elab_Tactic_evalCase___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__4); +l_Lean_Elab_Tactic_evalCase___closed__5 = _init_l_Lean_Elab_Tactic_evalCase___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__5); +l_Lean_Elab_Tactic_evalCase___closed__6 = _init_l_Lean_Elab_Tactic_evalCase___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalCase___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3); +res = l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalFirst(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index b8b62d2965..2a207c51f1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -54,6 +54,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__6; lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_mkNativeAuxDecl(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_Tactic_evalDecide(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,6 +84,7 @@ lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__3(lean_object*); lean_object* l_Lean_Elab_Tactic_elabAsFVar___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_Lean_Elab_Tactic_evalApply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__2; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__5; static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__4; @@ -132,6 +134,7 @@ static lean_object* l_Lean_Elab_Tactic_evalRefine_x27___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRename___closed__2; lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__4; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1(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, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalExact___closed__4; lean_object* l_Lean_Elab_Tactic_evalConstructor___boxed(lean_object*); @@ -217,6 +220,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__2; uint8_t l_Lean_Expr_hasMVar(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___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_evalNativeDecide___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTermForApply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,6 +266,7 @@ lean_object* l_Lean_Elab_Tactic_elabTermWithHoles___lambda__1___boxed(lean_objec lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor(lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at_Lean_Elab_Tactic_evalRename___spec__1(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_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Tactic_elabTermWithHoles___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -299,7 +304,6 @@ lean_object* l_Lean_Elab_Tactic_evalRename_match__1(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalConstructor___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType___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_Tactic_elabTermWithHoles___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_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply___closed__3; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7(lean_object*); static lean_object* l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1; @@ -1125,6 +1129,37 @@ lean_dec(x_2); return x_11; } } +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1; +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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___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) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg), 1, 0); +return x_9; +} +} lean_object* l_Lean_Elab_Tactic_evalExact___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: { @@ -1361,7 +1396,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -1378,6 +1413,22 @@ return x_18; } } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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_9; +} +} lean_object* l_Lean_Elab_Tactic_evalExact___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: { @@ -2567,7 +2618,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -2668,7 +2719,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -2787,8 +2838,11 @@ else lean_object* x_14; uint8_t x_15; lean_object* x_16; x_14 = l_Lean_Elab_Tactic_elabTermForApply___closed__1; x_15 = 1; +lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); x_16 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); @@ -3150,7 +3204,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -3549,7 +3603,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -3847,7 +3901,6 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalWithReducible(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -4153,7 +4206,6 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalWithReducibleAndInstances(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -6360,7 +6412,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_13; } else @@ -6387,7 +6439,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_10); +x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); return x_20; } else @@ -8007,6 +8059,8 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1); l_Lean_Elab_Tactic_evalExact___closed__1 = _init_l_Lean_Elab_Tactic_evalExact___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalExact___closed__1); l_Lean_Elab_Tactic_evalExact___closed__2 = _init_l_Lean_Elab_Tactic_evalExact___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index fa9b011b26..c321d7e6a3 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -21,6 +21,7 @@ static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__6; lean_object* l_Lean_Elab_Tactic_evalCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__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_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1(size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1___closed__4; uint8_t l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__4(lean_object*); size_t l_USize_add(size_t, size_t); @@ -35,7 +36,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Ind lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__1; -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483_(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___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_Tactic_ElimApp_evalAlts_go_match__6(lean_object*); @@ -53,6 +54,7 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__2(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__2; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Tactic_evalInduction_checkTargets___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAlt___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_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,6 +93,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__6; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__5; +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11(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_ElimApp_mkElimApp(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_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -98,6 +101,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___lambda__2___closed__4; +lean_object* l_Lean_Elab_Tactic_evalTactic(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_ElimApp_setMotiveArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames(lean_object*); @@ -119,6 +123,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases___closed__3; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__2; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2; static lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___closed__2; lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,7 +148,6 @@ lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lea lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalInduction_match__1___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Tactic_isHoleRHS(lean_object*); lean_object* l_Lean_Meta_addImplicitTargets(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__3; @@ -158,6 +162,7 @@ lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Tactic_ElimApp_Result_others___default; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__4(lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__6; @@ -168,6 +173,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_g lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__3(lean_object*, lean_object*, size_t, 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_evalInduction___lambda__2___boxed(lean_object**); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -186,6 +192,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__6___rarg(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,11 +230,11 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTagg lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___closed__1; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___closed__2; lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__2(lean_object*, lean_object*, size_t, 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_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1___closed__1; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___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*); @@ -256,6 +263,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generali static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__3; lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getTargetTerm___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__3___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___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*, lean_object*); @@ -267,8 +275,10 @@ lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___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_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS(lean_object*); +lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_State_alts___default; lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -295,7 +305,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__7(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_evalTactic___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_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___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_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -312,6 +321,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___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_Elab_Tactic_ElimApp_mkElimApp_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -327,18 +337,18 @@ static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__3; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___boxed(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11___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_Tactic_evalCases___lambda__2___boxed(lean_object**); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo(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_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalAlt___spec__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*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2; static lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__1; lean_object* l_Lean_Meta_throwTacticEx___rarg(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*); lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1(lean_object*, uint8_t, 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_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -394,6 +404,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getTargetHypothesisName_x3f___boxed(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___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_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__9; @@ -430,6 +441,7 @@ lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Induc lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(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_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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_throwError___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___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*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_Result_alts___default; @@ -447,6 +459,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__1; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___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*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___boxed(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1___closed__2; @@ -465,9 +478,9 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_State_insts___default; lean_object* l_List_forM___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__2; lean_object* l_Lean_indentExpr(lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3; lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_match__1(lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l_Lean_Elab_Tactic_elabTargets___boxed__const__1; @@ -477,7 +490,6 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalInduction_checkTargets(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm___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_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticInfo(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_Tactic_ElimApp_evalAlts_go___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*); static lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalAlt___spec__1___closed__1; @@ -485,8 +497,11 @@ extern lean_object* l_Lean_casesOnSuffix; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___lambda__1(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_Tactic_evalInduction___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*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1; +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getTargetTerm(lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases___closed__4; lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___boxed(lean_object**); @@ -591,6 +606,36 @@ x_3 = lean_box(x_2); return x_3; } } +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l_Lean_Elab_Tactic_getNameOfIdent_x27(x_9); +lean_dec(x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames(lean_object* x_1) { _start: { @@ -604,11 +649,23 @@ x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; x_8 = x_4; -x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1(x_6, x_7, x_8); x_10 = x_9; return x_10; } } +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___spec__1(x_4, x_5, x_3); +return x_6; +} +} lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___boxed(lean_object* x_1) { _start: { @@ -853,7 +910,7 @@ x_14 = l_Lean_Elab_Tactic_setGoals(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_1 x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___boxed), 10, 1); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); lean_closure_set(x_16, 0, x_2); x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); lean_closure_set(x_17, 0, x_3); @@ -3570,6 +3627,54 @@ return x_26; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___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) { +_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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1___closed__1() { _start: { @@ -3601,7 +3706,7 @@ x_13 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__2(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_15; } } @@ -3697,6 +3802,19 @@ lean_dec(x_1); return x_16; } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -4296,6 +4414,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_16 = lean_box(0); x_17 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_17, 0, x_2); @@ -4312,7 +4431,6 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); lean_dec(x_1); return x_12; } @@ -4803,6 +4921,7 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); +lean_inc(x_16); x_68 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_66, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_67); if (lean_obj_tag(x_68) == 0) { @@ -5216,6 +5335,7 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); +lean_inc(x_16); x_140 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_138, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_139); if (lean_obj_tag(x_140) == 0) { @@ -5678,6 +5798,7 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); +lean_inc(x_16); x_220 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_218, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_219); if (lean_obj_tag(x_220) == 0) { @@ -6277,6 +6398,7 @@ lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); x_60 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_6, x_58, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_59); if (lean_obj_tag(x_60) == 0) { @@ -8490,428 +8612,82 @@ lean_dec(x_1); return x_17; } } +lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___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; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_18; +lean_object* x_18; lean_object* x_19; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_ElimApp_evalAlts_go___boxed), 16, 7); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_6); +lean_closure_set(x_18, 5, x_7); +lean_closure_set(x_18, 6, x_8); lean_inc(x_15); -x_18 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(x_2, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_18) == 0) +x_19 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(x_2, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_array_get_size(x_4); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_nat_dec_lt(x_22, x_21); +lean_dec(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_dec(x_18); -x_20 = lean_array_get_size(x_4); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_lt(x_21, x_20); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_dec(x_5); -x_23 = l_Lean_Elab_Tactic_ElimApp_evalAlts_go(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_19); -return x_23; +x_24 = l_Lean_Elab_Tactic_ElimApp_evalAlts_go(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_24; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_24 = lean_st_ref_get(x_16, x_19); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_st_ref_get(x_12, x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 5); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_5); -x_30 = lean_ctor_get(x_26, 1); -lean_inc(x_30); -lean_dec(x_26); -x_31 = l_Lean_Elab_Tactic_ElimApp_evalAlts_go(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_30); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_dec(x_26); -x_33 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_12, x_13, x_14, x_15, x_16, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -lean_inc(x_16); -lean_inc(x_12); -x_36 = l_Lean_Elab_Tactic_ElimApp_evalAlts_go(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_35); -if (lean_obj_tag(x_36) == 0) -{ -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; uint8_t x_53; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_st_ref_get(x_16, x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_get(x_12, x_40); -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 = lean_ctor_get(x_42, 5); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_5); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_st_ref_get(x_16, x_43); -lean_dec(x_16); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_take(x_12, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_50, 5); -lean_inc(x_51); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = !lean_is_exclusive(x_50); -if (x_53 == 0) -{ -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_50, 5); -lean_dec(x_54); -x_55 = !lean_is_exclusive(x_51); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_56 = lean_ctor_get(x_51, 1); -lean_dec(x_56); -x_57 = l_Std_PersistentArray_push___rarg(x_34, x_46); -lean_ctor_set(x_51, 1, x_57); -x_58 = lean_st_ref_set(x_12, x_50, x_52); -lean_dec(x_12); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_58, 0); -lean_dec(x_60); -lean_ctor_set(x_58, 0, x_37); -return x_58; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_61); -lean_dec(x_58); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_37); -lean_ctor_set(x_62, 1, x_61); -return x_62; +lean_object* x_25; lean_object* x_26; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1___boxed), 11, 1); +lean_closure_set(x_25, 0, x_5); +x_26 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_18, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_20); +return x_26; } } else { -uint8_t 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; -x_63 = lean_ctor_get_uint8(x_51, sizeof(void*)*2); -x_64 = lean_ctor_get(x_51, 0); -lean_inc(x_64); -lean_dec(x_51); -x_65 = l_Std_PersistentArray_push___rarg(x_34, x_46); -x_66 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_63); -lean_ctor_set(x_50, 5, x_66); -x_67 = lean_st_ref_set(x_12, x_50, x_52); -lean_dec(x_12); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; -} else { - lean_dec_ref(x_67); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_37); -lean_ctor_set(x_70, 1, x_68); -return x_70; -} -} -else -{ -lean_object* 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; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_71 = lean_ctor_get(x_50, 0); -x_72 = lean_ctor_get(x_50, 1); -x_73 = lean_ctor_get(x_50, 2); -x_74 = lean_ctor_get(x_50, 3); -x_75 = lean_ctor_get(x_50, 4); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_50); -x_76 = lean_ctor_get_uint8(x_51, sizeof(void*)*2); -x_77 = lean_ctor_get(x_51, 0); -lean_inc(x_77); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_78 = x_51; -} else { - lean_dec_ref(x_51); - x_78 = lean_box(0); -} -x_79 = l_Std_PersistentArray_push___rarg(x_34, x_46); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(0, 2, 1); -} else { - x_80 = x_78; -} -lean_ctor_set(x_80, 0, x_77); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set_uint8(x_80, sizeof(void*)*2, x_76); -x_81 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_81, 0, x_71); -lean_ctor_set(x_81, 1, x_72); -lean_ctor_set(x_81, 2, x_73); -lean_ctor_set(x_81, 3, x_74); -lean_ctor_set(x_81, 4, x_75); -lean_ctor_set(x_81, 5, x_80); -x_82 = lean_st_ref_set(x_12, x_81, x_52); -lean_dec(x_12); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_84 = x_82; -} else { - lean_dec_ref(x_82); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_37); -lean_ctor_set(x_85, 1, x_83); -return x_85; -} -} -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; 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; uint8_t x_102; -x_86 = lean_ctor_get(x_36, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_36, 1); -lean_inc(x_87); -lean_dec(x_36); -x_88 = lean_st_ref_get(x_16, x_87); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_st_ref_get(x_12, x_89); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_ctor_get(x_91, 5); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_5); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_st_ref_get(x_16, x_92); -lean_dec(x_16); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_take(x_12, x_97); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_99, 5); -lean_inc(x_100); -x_101 = lean_ctor_get(x_98, 1); -lean_inc(x_101); -lean_dec(x_98); -x_102 = !lean_is_exclusive(x_99); -if (x_102 == 0) -{ -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_99, 5); -lean_dec(x_103); -x_104 = !lean_is_exclusive(x_100); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_ctor_get(x_100, 1); -lean_dec(x_105); -x_106 = l_Std_PersistentArray_push___rarg(x_34, x_95); -lean_ctor_set(x_100, 1, x_106); -x_107 = lean_st_ref_set(x_12, x_99, x_101); -lean_dec(x_12); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; -x_109 = lean_ctor_get(x_107, 0); -lean_dec(x_109); -lean_ctor_set_tag(x_107, 1); -lean_ctor_set(x_107, 0, x_86); -return x_107; -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_86); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -else -{ -uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_112 = lean_ctor_get_uint8(x_100, sizeof(void*)*2); -x_113 = lean_ctor_get(x_100, 0); -lean_inc(x_113); -lean_dec(x_100); -x_114 = l_Std_PersistentArray_push___rarg(x_34, x_95); -x_115 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_112); -lean_ctor_set(x_99, 5, x_115); -x_116 = lean_st_ref_set(x_12, x_99, x_101); -lean_dec(x_12); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; -} else { - lean_dec_ref(x_116); - x_118 = lean_box(0); -} -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); -} else { - x_119 = x_118; - lean_ctor_set_tag(x_119, 1); -} -lean_ctor_set(x_119, 0, x_86); -lean_ctor_set(x_119, 1, x_117); -return x_119; -} -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_120 = lean_ctor_get(x_99, 0); -x_121 = lean_ctor_get(x_99, 1); -x_122 = lean_ctor_get(x_99, 2); -x_123 = lean_ctor_get(x_99, 3); -x_124 = lean_ctor_get(x_99, 4); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_99); -x_125 = lean_ctor_get_uint8(x_100, sizeof(void*)*2); -x_126 = lean_ctor_get(x_100, 0); -lean_inc(x_126); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_127 = x_100; -} else { - lean_dec_ref(x_100); - x_127 = lean_box(0); -} -x_128 = l_Std_PersistentArray_push___rarg(x_34, x_95); -if (lean_is_scalar(x_127)) { - x_129 = lean_alloc_ctor(0, 2, 1); -} else { - x_129 = x_127; -} -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set_uint8(x_129, sizeof(void*)*2, x_125); -x_130 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_130, 0, x_120); -lean_ctor_set(x_130, 1, x_121); -lean_ctor_set(x_130, 2, x_122); -lean_ctor_set(x_130, 3, x_123); -lean_ctor_set(x_130, 4, x_124); -lean_ctor_set(x_130, 5, x_129); -x_131 = lean_st_ref_set(x_12, x_130, x_101); -lean_dec(x_12); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_133 = x_131; -} else { - lean_dec_ref(x_131); - x_133 = lean_box(0); -} -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); -} else { - x_134 = x_133; - lean_ctor_set_tag(x_134, 1); -} -lean_ctor_set(x_134, 0, x_86); -lean_ctor_set(x_134, 1, x_132); -return x_134; -} -} -} -} -} -else -{ -uint8_t x_135; +uint8_t x_27; +lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -8920,31 +8696,51 @@ 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_6); lean_dec(x_5); lean_dec(x_4); -x_135 = !lean_is_exclusive(x_18); -if (x_135 == 0) +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) { -return x_18; +return x_19; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_18, 0); -x_137 = lean_ctor_get(x_18, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_18); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } +lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___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_Lean_Elab_Tactic_ElimApp_evalAlts___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_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_12; +} +} lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -8967,13 +8763,21 @@ _start: { lean_object* x_18; x_18 = l_Lean_Elab_Tactic_ElimApp_evalAlts(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); return x_18; } } +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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; lean_object* x_15; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_getArgs(x_13); +lean_dec(x_13); +x_15 = l_Lean_Elab_Tactic_getFVarIds(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__1() { _start: { @@ -9015,202 +8819,194 @@ uint8_t x_14; x_14 = !lean_is_exclusive(x_8); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_15 = lean_ctor_get(x_8, 3); x_16 = l_Lean_replaceRef(x_1, x_15); lean_dec(x_15); lean_ctor_set(x_8, 3, x_16); -x_17 = lean_st_ref_get(x_9, x_10); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_unsigned_to_nat(1u); -x_23 = l_Lean_Syntax_getArg(x_12, x_22); -lean_dec(x_12); -x_24 = l_Lean_Syntax_getArgs(x_23); -lean_dec(x_23); -x_25 = l_Lean_Elab_Tactic_getFVarIds(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_dec(x_17); -x_27 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; -x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_unbox(x_29); -lean_dec(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_unsigned_to_nat(1u); -x_33 = l_Lean_Syntax_getArg(x_12, x_32); -lean_dec(x_12); -x_34 = l_Lean_Syntax_getArgs(x_33); +x_17 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; +x_31 = lean_st_ref_get(x_9, x_10); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); lean_dec(x_33); -x_35 = l_Lean_Elab_Tactic_getFVarIds(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -return x_35; +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_18 = x_36; +x_19 = x_35; +goto block_30; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_36 = lean_ctor_get(x_28, 1); -lean_inc(x_36); -lean_dec(x_28); -lean_inc(x_12); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_12); -x_38 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_27, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_unsigned_to_nat(1u); -x_44 = l_Lean_Syntax_getArg(x_12, x_43); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_18 = x_41; +x_19 = x_40; +goto block_30; +} +block_30: +{ +if (x_18 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___lambda__1(x_12, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); lean_dec(x_12); -x_45 = l_Lean_Syntax_getArgs(x_44); -lean_dec(x_44); -x_46 = l_Lean_Elab_Tactic_getFVarIds(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -return x_46; +return x_21; +} +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_inc(x_12); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_12); +x_23 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_17, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___lambda__1(x_12, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +lean_dec(x_27); +lean_dec(x_12); +return x_29; } } } 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; 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; uint8_t x_60; -x_47 = lean_ctor_get(x_8, 0); -x_48 = lean_ctor_get(x_8, 1); -x_49 = lean_ctor_get(x_8, 2); -x_50 = lean_ctor_get(x_8, 3); -x_51 = lean_ctor_get(x_8, 4); -x_52 = lean_ctor_get(x_8, 5); -x_53 = lean_ctor_get(x_8, 6); -x_54 = lean_ctor_get(x_8, 7); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); +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; uint8_t x_53; lean_object* x_54; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_42 = lean_ctor_get(x_8, 0); +x_43 = lean_ctor_get(x_8, 1); +x_44 = lean_ctor_get(x_8, 2); +x_45 = lean_ctor_get(x_8, 3); +x_46 = lean_ctor_get(x_8, 4); +x_47 = lean_ctor_get(x_8, 5); +x_48 = lean_ctor_get(x_8, 6); +x_49 = lean_ctor_get(x_8, 7); lean_inc(x_49); lean_inc(x_48); lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_8); -x_55 = l_Lean_replaceRef(x_1, x_50); -lean_dec(x_50); -x_56 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_48); -lean_ctor_set(x_56, 2, x_49); -lean_ctor_set(x_56, 3, x_55); -lean_ctor_set(x_56, 4, x_51); -lean_ctor_set(x_56, 5, x_52); -lean_ctor_set(x_56, 6, x_53); -lean_ctor_set(x_56, 7, x_54); -x_57 = lean_st_ref_get(x_9, x_10); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_58, 3); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); -lean_dec(x_59); -if (x_60 == 0) +x_50 = l_Lean_replaceRef(x_1, x_45); +lean_dec(x_45); +x_51 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_51, 0, x_42); +lean_ctor_set(x_51, 1, x_43); +lean_ctor_set(x_51, 2, x_44); +lean_ctor_set(x_51, 3, x_50); +lean_ctor_set(x_51, 4, x_46); +lean_ctor_set(x_51, 5, x_47); +lean_ctor_set(x_51, 6, x_48); +lean_ctor_set(x_51, 7, x_49); +x_52 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; +x_66 = lean_st_ref_get(x_9, x_10); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_57, 1); -lean_inc(x_61); -lean_dec(x_57); -x_62 = lean_unsigned_to_nat(1u); -x_63 = l_Lean_Syntax_getArg(x_12, x_62); -lean_dec(x_12); -x_64 = l_Lean_Syntax_getArgs(x_63); -lean_dec(x_63); -x_65 = l_Lean_Elab_Tactic_getFVarIds(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_61); -return x_65; +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_53 = x_71; +x_54 = x_70; +goto block_65; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_66 = lean_ctor_get(x_57, 1); -lean_inc(x_66); -lean_dec(x_57); -x_67 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; -x_68 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_66); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_unbox(x_69); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec(x_68); -x_72 = lean_unsigned_to_nat(1u); -x_73 = l_Lean_Syntax_getArg(x_12, x_72); -lean_dec(x_12); -x_74 = l_Lean_Syntax_getArgs(x_73); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_51, x_9, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); lean_dec(x_73); -x_75 = l_Lean_Elab_Tactic_getFVarIds(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_71); -return x_75; +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_53 = x_76; +x_54 = x_75; +goto block_65; } -else +block_65: { -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_76 = lean_ctor_get(x_68, 1); -lean_inc(x_76); -lean_dec(x_68); -lean_inc(x_12); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_12); -x_78 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_67, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_76); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_unsigned_to_nat(1u); -x_84 = l_Lean_Syntax_getArg(x_12, x_83); +if (x_53 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_box(0); +x_56 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___lambda__1(x_12, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_51, x_9, x_54); lean_dec(x_12); -x_85 = l_Lean_Syntax_getArgs(x_84); -lean_dec(x_84); -x_86 = l_Lean_Elab_Tactic_getFVarIds(x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_82); -return x_86; +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_inc(x_12); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_12); +x_58 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_52, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_51, x_9, x_54); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___lambda__1(x_12, x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_51, x_9, x_63); +lean_dec(x_62); +lean_dec(x_12); +return x_64; } } } } else { -lean_object* x_87; lean_object* x_88; +lean_object* x_77; lean_object* x_78; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -9220,14 +9016,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_87 = l_Lean_Elab_Tactic_ElimApp_State_alts___default___closed__1; -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_10); -return x_88; +x_77 = l_Lean_Elab_Tactic_ElimApp_State_alts___default___closed__1; +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_10); +return x_78; } } } +lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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_2); +lean_dec(x_1); +return x_12; +} +} lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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: { @@ -11505,6 +11311,302 @@ return x_26; } } } +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11(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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_st_ref_get(x_9, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_take(x_5, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 5); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = !lean_is_exclusive(x_27); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 5); +lean_dec(x_31); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_28, 1); +x_34 = l_Std_PersistentArray_push___rarg(x_33, x_1); +lean_ctor_set(x_28, 1, x_34); +x_35 = lean_st_ref_set(x_5, x_27, x_29); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +else +{ +uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_42 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = l_Std_PersistentArray_push___rarg(x_44, x_1); +x_46 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_42); +lean_ctor_set(x_27, 5, x_46); +x_47 = lean_st_ref_set(x_5, x_27, x_29); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +x_50 = lean_box(0); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t 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; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +x_54 = lean_ctor_get(x_27, 2); +x_55 = lean_ctor_get(x_27, 3); +x_56 = lean_ctor_get(x_27, 4); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_27); +x_57 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_58 = lean_ctor_get(x_28, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_28, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_60 = x_28; +} else { + lean_dec_ref(x_28); + x_60 = lean_box(0); +} +x_61 = l_Std_PersistentArray_push___rarg(x_59, x_1); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 1); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_57); +x_63 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_53); +lean_ctor_set(x_63, 2, x_54); +lean_ctor_set(x_63, 3, x_55); +lean_ctor_set(x_63, 4, x_56); +lean_ctor_set(x_63, 5, x_62); +x_64 = lean_st_ref_set(x_5, x_63, x_29); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +x_67 = lean_box(0); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_66; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +} +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1; +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_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2; +x_3 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_4); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_26; +} +} +} lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__1___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: { @@ -11596,7 +11698,7 @@ lean_ctor_set(x_33, 2, x_3); lean_ctor_set(x_33, 3, x_28); x_34 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +x_35 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) @@ -12328,6 +12430,38 @@ lean_dec(x_2); return x_11; } } +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11(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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(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); +lean_dec(x_2); +return x_11; +} +} lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__1___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: { @@ -13018,10 +13152,6 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); x_56 = l_Lean_Elab_Tactic_ElimApp_evalAlts(x_3, x_55, x_51, x_52, x_9, x_34, x_10, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_54); -lean_dec(x_7); -lean_dec(x_51); -lean_dec(x_55); -lean_dec(x_3); if (lean_obj_tag(x_56) == 0) { lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; @@ -14602,7 +14732,7 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabTargets___spec__1(x_13, return x_15; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1() { _start: { lean_object* x_1; @@ -14610,21 +14740,21 @@ x_1 = lean_mk_string("cases"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__2; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -14731,9 +14861,10 @@ x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); lean_dec(x_22); x_24 = lean_ctor_get(x_5, 1); +lean_inc(x_24); +lean_dec(x_5); x_25 = lean_unsigned_to_nat(0u); x_26 = l_Lean_Elab_Tactic_ElimApp_evalAlts(x_6, x_24, x_7, x_8, x_9, x_10, x_25, x_3, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_23); -lean_dec(x_3); return x_26; } else @@ -14750,6 +14881,9 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -15505,9 +15639,6 @@ _start: { lean_object* x_20; x_20 = l_Lean_Elab_Tactic_evalCases___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); return x_20; } } @@ -15552,7 +15683,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__2; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -15806,6 +15937,12 @@ l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0_ lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__1); l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__2(); lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__2); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__1); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__2); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___closed__3); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1___closed__1 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1___closed__1); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___closed__1 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___closed__1(); @@ -15851,11 +15988,11 @@ l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lamb lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__2); l_Lean_Elab_Tactic_elabTargets___boxed__const__1 = _init_l_Lean_Elab_Tactic_elabTargets___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Tactic_elabTargets___boxed__const__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404____closed__2); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4404_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__1); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483____closed__2); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4483_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Tactic_evalCases___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalCases___lambda__2___boxed__const__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index e0eb107baa..f2528f3514 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -14,8 +14,10 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__12; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__1(lean_object*, lean_object*, lean_object*); @@ -54,7 +56,6 @@ static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAux static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__3___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__21; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__6; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -123,13 +124,13 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(l lean_object* l_Lean_Elab_Tactic_getMainGoal(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_Elab_Tactic_evalMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1; lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___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_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___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*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__25; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; @@ -175,6 +176,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__19; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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_unsupportedSyntaxExceptionId; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg(lean_object*); @@ -3228,6 +3230,26 @@ return x_74; } } } +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 3); +x_5 = l_Lean_SourceInfo_fromRef(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___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) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg___boxed), 3, 0); +return x_7; +} +} lean_object* l_Lean_Elab_Tactic_evalMatch___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: { @@ -3347,7 +3369,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_17); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg(x_8, x_9, x_17); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); @@ -3382,7 +3404,7 @@ lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); lean_inc(x_38); lean_inc(x_1); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__1___boxed), 11, 2); +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__1), 11, 2); lean_closure_set(x_39, 0, x_1); lean_closure_set(x_39, 1, x_38); x_40 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_38, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); @@ -3557,13 +3579,28 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_evalMatch___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) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalMatch___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_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_12; +lean_dec(x_2); +lean_dec(x_1); +return x_7; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1() { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index 4dd82e78be..8350950c03 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -28,12 +28,11 @@ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__5; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__10; -lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__3; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___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*, lean_object*, lean_object*); @@ -44,32 +43,34 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Tactic_rewriteTarget___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_Meta_replaceLocalDecl(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_Elab_Tactic_evalRewriteCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewriteSeq___closed__2; -static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(uint8_t, 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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewriteSeq___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___boxed(lean_object**); static lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__4; -lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2; lean_object* l_Lean_Elab_Tactic_evalERewriteSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll___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_Tactic_mkInitialTacticInfo(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_expandOptLocation(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRewriteCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRewriteCore___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__5; static lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3; lean_object* l_Lean_Elab_Tactic_rewriteTarget___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*); +static lean_object* l_Lean_Elab_Tactic_evalRewriteCore___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__11; lean_object* l_Lean_Elab_Tactic_evalRewriteCore___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_rewriteLocalDeclFVarId___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*); @@ -92,8 +93,8 @@ lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalRewriteCore(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__2; -lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalERewriteSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__4; @@ -103,24 +104,23 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesi static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__9; lean_object* l_Lean_LocalContext_getFVarIds(lean_object*); lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(uint8_t, lean_object*, uint8_t, 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*); lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___boxed(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_Tactic_evalRewriteSeq(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__1; -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3(uint8_t, 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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__6; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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_getArg(lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___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_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___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*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalRewriteSeq(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_evalRewriteCore_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__13; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__14; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t 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) { @@ -1314,103 +1314,661 @@ return x_29; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(uint8_t x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, size_t x_5, size_t 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* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* 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_17; -x_17 = x_5 == x_6; -if (x_17 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 3); +x_17 = l_Lean_replaceRef(x_1, x_16); +lean_dec(x_16); +lean_ctor_set(x_12, 3, x_17); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_18; +x_18 = l_Lean_Elab_Tactic_rewriteAll(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_18; +} +else +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_21 = lean_array_get_size(x_19); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_nat_dec_lt(x_22, x_21); +if (x_23 == 0) +{ +lean_dec(x_21); +if (x_20 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_12); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -x_18 = lean_array_uget(x_4, x_5); -lean_inc(x_15); -lean_inc(x_14); +lean_dec(x_6); +lean_dec(x_3); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_14); +return x_25; +} +else +{ +lean_object* x_26; +x_26 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_21, x_21); +if (x_27 == 0) +{ +lean_dec(x_21); +if (x_20 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_12); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_14); +return x_29; +} +else +{ +lean_object* x_30; +x_30 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_30; +} +} +else +{ +size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; +x_31 = 0; +x_32 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_33 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_2); -x_19 = l_Lean_Elab_Tactic_rewriteLocalDecl(x_2, x_3, x_18, x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_5, x_3, x_4, x_19, x_31, x_32, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +if (x_20 == 0) +{ +uint8_t x_35; +lean_dec(x_12); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +lean_ctor_set(x_34, 0, x_33); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_33); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_39); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_12); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_34); +if (x_41 == 0) +{ +return x_34; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_34, 0); +x_43 = lean_ctor_get(x_34, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_34); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +x_47 = lean_ctor_get(x_12, 2); +x_48 = lean_ctor_get(x_12, 3); +x_49 = lean_ctor_get(x_12, 4); +x_50 = lean_ctor_get(x_12, 5); +x_51 = lean_ctor_get(x_12, 6); +x_52 = lean_ctor_get(x_12, 7); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +x_53 = l_Lean_replaceRef(x_1, x_48); +lean_dec(x_48); +x_54 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_54, 0, x_45); +lean_ctor_set(x_54, 1, x_46); +lean_ctor_set(x_54, 2, x_47); +lean_ctor_set(x_54, 3, x_53); +lean_ctor_set(x_54, 4, x_49); +lean_ctor_set(x_54, 5, x_50); +lean_ctor_set(x_54, 6, x_51); +lean_ctor_set(x_54, 7, x_52); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_55; +x_55 = l_Lean_Elab_Tactic_rewriteAll(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54, x_13, x_14); +return x_55; +} +else +{ +lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_2, 0); +x_57 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_58 = lean_array_get_size(x_56); +x_59 = lean_unsigned_to_nat(0u); +x_60 = lean_nat_dec_lt(x_59, x_58); +if (x_60 == 0) +{ +lean_dec(x_58); +if (x_57 == 0) +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_54); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_61 = lean_box(0); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_14); +return x_62; +} +else +{ +lean_object* x_63; +x_63 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54, x_13, x_14); +return x_63; +} +} +else +{ +uint8_t x_64; +x_64 = lean_nat_dec_le(x_58, x_58); +if (x_64 == 0) +{ +lean_dec(x_58); +if (x_57 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_54); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_14); +return x_66; +} +else +{ +lean_object* x_67; +x_67 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54, x_13, x_14); +return x_67; +} +} +else +{ +size_t x_68; size_t x_69; lean_object* x_70; lean_object* x_71; +x_68 = 0; +x_69 = lean_usize_of_nat(x_58); +lean_dec(x_58); +x_70 = lean_box(0); +lean_inc(x_13); +lean_inc(x_54); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_71 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_5, x_3, x_4, x_56, x_68, x_69, x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_54, x_13, x_14); +if (lean_obj_tag(x_71) == 0) +{ +if (x_57 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_54); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; +} else { + lean_dec_ref(x_71); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_70); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_dec(x_71); +x_76 = l_Lean_Elab_Tactic_rewriteTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_54, x_13, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_54); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_77 = lean_ctor_get(x_71, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_79 = x_71; +} else { + lean_dec_ref(x_71); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; +} +} +} +} +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); lean_inc(x_21); -lean_dec(x_19); -x_22 = 1; -x_23 = x_5 + x_22; -x_5 = x_23; -x_7 = x_20; -x_16 = x_21; +lean_dec(x_12); +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; +} +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(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, 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) { +_start: +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_nat_dec_le(x_19, x_8); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_eq(x_7, x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_9); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_sub(x_7, x_23); +lean_dec(x_7); +x_25 = lean_unsigned_to_nat(2u); +x_26 = lean_nat_mul(x_8, x_25); +x_27 = l_Lean_instInhabitedSyntax; +x_28 = lean_array_get(x_27, x_2, x_26); +x_29 = lean_nat_add(x_26, x_23); +lean_dec(x_26); +x_30 = lean_nat_dec_lt(x_29, x_5); +lean_inc(x_28); +lean_inc(x_4); +x_31 = lean_array_push(x_4, x_28); +x_32 = l_Lean_Syntax_getArg(x_28, x_21); +x_33 = l_Lean_Syntax_isNone(x_32); +lean_dec(x_32); +x_34 = l_Lean_Syntax_getArg(x_28, x_23); +if (x_30 == 0) +{ +lean_object* x_61; +lean_dec(x_29); +x_61 = lean_box(0); +x_35 = x_61; +goto block_60; +} +else +{ +lean_object* x_62; +x_62 = lean_array_fget(x_2, x_29); +lean_dec(x_29); +x_35 = x_62; +goto block_60; +} +block_60: +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_array_push(x_31, x_35); +x_37 = l_Lean_nullKind; +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_Lean_Elab_Tactic_mkInitialTacticInfo(x_38, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (x_33 == 0) +{ +uint8_t x_58; +x_58 = 1; +x_40 = x_58; +goto block_57; +} +else +{ +uint8_t x_59; +x_59 = 0; +x_40 = x_59; +goto block_57; +} +block_57: +{ +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_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_box(x_40); +x_44 = lean_box(x_1); +lean_inc(x_3); +x_45 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__1___boxed), 14, 5); +lean_closure_set(x_45, 0, x_28); +lean_closure_set(x_45, 1, x_3); +lean_closure_set(x_45, 2, x_34); +lean_closure_set(x_45, 3, x_43); +lean_closure_set(x_45, 4, x_44); +x_46 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__2), 11, 1); +lean_closure_set(x_46, 0, x_41); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_47 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_45, x_46, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_42); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_6, 2); +x_50 = lean_nat_add(x_8, x_49); +lean_dec(x_8); +x_51 = lean_box(0); +x_7 = x_24; +x_8 = x_50; +x_9 = x_51; +x_18 = x_48; goto _start; } else { -uint8_t x_25; +uint8_t x_53; +lean_dec(x_24); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(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_2); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) +lean_dec(x_4); +lean_dec(x_3); +x_53 = !lean_is_exclusive(x_47); +if (x_53 == 0) { -return x_19; +return x_47; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -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; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_47, 0); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_47); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} } } } else { -lean_object* x_29; +lean_object* x_63; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); lean_dec(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_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_16); -return x_29; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_9); +lean_ctor_set(x_63, 1, x_18); +return x_63; +} +} +else +{ +lean_object* x_64; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_9); +lean_ctor_set(x_64, 1, x_18); +return x_64; } } } -static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1() { +lean_object* l_Lean_Elab_Tactic_evalRewriteCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; } } -static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalRewriteCore___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1419,1473 +1977,18 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3(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, 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) { +static lean_object* _init_l_Lean_Elab_Tactic_evalRewriteCore___closed__2() { _start: { -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_5, 1); -x_19 = lean_nat_dec_le(x_18, x_7); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_nat_dec_eq(x_6, x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_42; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_8); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_sub(x_6, x_22); -lean_dec(x_6); -x_54 = lean_unsigned_to_nat(2u); -x_55 = lean_nat_mul(x_7, x_54); -x_56 = l_Lean_instInhabitedSyntax; -x_57 = lean_array_get(x_56, x_2, x_55); -x_58 = lean_nat_add(x_55, x_22); -lean_dec(x_55); -x_59 = lean_nat_dec_lt(x_58, x_4); -x_60 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2; -lean_inc(x_57); -x_61 = lean_array_push(x_60, x_57); -x_62 = l_Lean_Syntax_getArg(x_57, x_20); -x_63 = l_Lean_Syntax_isNone(x_62); -lean_dec(x_62); -x_64 = l_Lean_Syntax_getArg(x_57, x_22); -if (x_59 == 0) -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; -lean_dec(x_58); -x_311 = lean_box(0); -x_312 = lean_array_push(x_61, x_311); -x_313 = l_Lean_nullKind; -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 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_314, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (x_63 == 0) -{ -lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = 1; -x_65 = x_318; -x_66 = x_316; -x_67 = x_317; -goto block_310; -} -else -{ -lean_object* x_319; lean_object* x_320; uint8_t x_321; -x_319 = lean_ctor_get(x_315, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_315, 1); -lean_inc(x_320); -lean_dec(x_315); -x_321 = 0; -x_65 = x_321; -x_66 = x_319; -x_67 = x_320; -goto block_310; -} -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_322 = lean_array_fget(x_2, x_58); -lean_dec(x_58); -x_323 = lean_array_push(x_61, x_322); -x_324 = l_Lean_nullKind; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -x_326 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_325, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (x_63 == 0) -{ -lean_object* x_327; lean_object* x_328; uint8_t x_329; -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); -lean_dec(x_326); -x_329 = 1; -x_65 = x_329; -x_66 = x_327; -x_67 = x_328; -goto block_310; -} -else -{ -lean_object* x_330; lean_object* x_331; uint8_t x_332; -x_330 = lean_ctor_get(x_326, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_326, 1); -lean_inc(x_331); -lean_dec(x_326); -x_332 = 0; -x_65 = x_332; -x_66 = x_330; -x_67 = x_331; -goto block_310; -} -} -block_41: -{ -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_7); -x_26 = !lean_is_exclusive(x_24); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); -lean_dec(x_25); -lean_ctor_set(x_24, 0, x_28); -return x_24; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_dec(x_24); -x_33 = lean_ctor_get(x_25, 0); -lean_inc(x_33); -lean_dec(x_25); -x_34 = lean_ctor_get(x_5, 2); -x_35 = lean_nat_add(x_7, x_34); -lean_dec(x_7); -x_6 = x_23; -x_7 = x_35; -x_8 = x_33; -x_17 = x_32; -goto _start; -} -} -else -{ -uint8_t x_37; -lean_dec(x_23); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_7); -x_37 = !lean_is_exclusive(x_24); -if (x_37 == 0) -{ -return x_24; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_24, 0); -x_39 = lean_ctor_get(x_24, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_24); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -block_53: -{ -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; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1; -lean_ctor_set(x_42, 0, x_45); -x_24 = x_42; -goto block_41; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1; -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_24 = x_48; -goto block_41; -} -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_42); -if (x_49 == 0) -{ -x_24 = x_42; -goto block_41; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_42, 0); -x_51 = lean_ctor_get(x_42, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_42); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_24 = x_52; -goto block_41; -} -} -} -block_310: -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_68 = lean_st_ref_get(x_16, x_67); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_ref_get(x_12, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 5); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*2); -lean_dec(x_72); -if (x_73 == 0) -{ -uint8_t x_74; -lean_dec(x_66); -x_74 = !lean_is_exclusive(x_70); -if (x_74 == 0) -{ -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_75 = lean_ctor_get(x_70, 1); -x_76 = lean_ctor_get(x_70, 0); -lean_dec(x_76); -x_77 = lean_ctor_get(x_15, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_15, 1); -lean_inc(x_78); -x_79 = lean_ctor_get(x_15, 2); -lean_inc(x_79); -x_80 = lean_ctor_get(x_15, 3); -lean_inc(x_80); -x_81 = lean_ctor_get(x_15, 4); -lean_inc(x_81); -x_82 = lean_ctor_get(x_15, 5); -lean_inc(x_82); -x_83 = lean_ctor_get(x_15, 6); -lean_inc(x_83); -x_84 = lean_ctor_get(x_15, 7); -lean_inc(x_84); -x_85 = l_Lean_replaceRef(x_57, x_80); -lean_dec(x_80); -lean_dec(x_57); -x_86 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_86, 0, x_77); -lean_ctor_set(x_86, 1, x_78); -lean_ctor_set(x_86, 2, x_79); -lean_ctor_set(x_86, 3, x_85); -lean_ctor_set(x_86, 4, x_81); -lean_ctor_set(x_86, 5, x_82); -lean_ctor_set(x_86, 6, x_83); -lean_ctor_set(x_86, 7, x_84); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_87; -lean_free_object(x_70); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_87 = l_Lean_Elab_Tactic_rewriteAll(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_86, x_16, x_75); -x_42 = x_87; -goto block_53; -} -else -{ -lean_object* x_88; uint8_t x_89; lean_object* x_90; uint8_t x_91; -x_88 = lean_ctor_get(x_3, 0); -x_89 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -x_90 = lean_array_get_size(x_88); -x_91 = lean_nat_dec_lt(x_20, x_90); -if (x_91 == 0) -{ -lean_dec(x_90); -if (x_89 == 0) -{ -lean_object* x_92; -lean_dec(x_86); -lean_dec(x_64); -x_92 = lean_box(0); -lean_ctor_set(x_70, 0, x_92); -x_42 = x_70; -goto block_53; -} -else -{ -lean_object* x_93; -lean_free_object(x_70); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_93 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_86, x_16, x_75); -x_42 = x_93; -goto block_53; -} -} -else -{ -uint8_t x_94; -x_94 = lean_nat_dec_le(x_90, x_90); -if (x_94 == 0) -{ -lean_dec(x_90); -if (x_89 == 0) -{ -lean_object* x_95; -lean_dec(x_86); -lean_dec(x_64); -x_95 = lean_box(0); -lean_ctor_set(x_70, 0, x_95); -x_42 = x_70; -goto block_53; -} -else -{ -lean_object* x_96; -lean_free_object(x_70); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_96 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_86, x_16, x_75); -x_42 = x_96; -goto block_53; -} -} -else -{ -size_t x_97; size_t x_98; lean_object* x_99; lean_object* x_100; -lean_free_object(x_70); -x_97 = 0; -x_98 = lean_usize_of_nat(x_90); -lean_dec(x_90); -x_99 = lean_box(0); -lean_inc(x_16); -lean_inc(x_86); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_64); -x_100 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_1, x_64, x_65, x_88, x_97, x_98, x_99, x_9, x_10, x_11, x_12, x_13, x_14, x_86, x_16, x_75); -if (lean_obj_tag(x_100) == 0) -{ -if (x_89 == 0) -{ -uint8_t x_101; -lean_dec(x_86); -lean_dec(x_64); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set(x_100, 0, x_99); -x_42 = x_100; -goto block_53; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_99); -lean_ctor_set(x_104, 1, x_103); -x_42 = x_104; -goto block_53; -} -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_dec(x_100); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_106 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_86, x_16, x_105); -x_42 = x_106; -goto block_53; -} -} -else -{ -uint8_t x_107; -lean_dec(x_86); -lean_dec(x_64); -x_107 = !lean_is_exclusive(x_100); -if (x_107 == 0) -{ -x_42 = x_100; -goto block_53; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_100, 0); -x_109 = lean_ctor_get(x_100, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_100); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_42 = x_110; -goto block_53; -} -} -} -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_111 = lean_ctor_get(x_70, 1); -lean_inc(x_111); -lean_dec(x_70); -x_112 = lean_ctor_get(x_15, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_15, 1); -lean_inc(x_113); -x_114 = lean_ctor_get(x_15, 2); -lean_inc(x_114); -x_115 = lean_ctor_get(x_15, 3); -lean_inc(x_115); -x_116 = lean_ctor_get(x_15, 4); -lean_inc(x_116); -x_117 = lean_ctor_get(x_15, 5); -lean_inc(x_117); -x_118 = lean_ctor_get(x_15, 6); -lean_inc(x_118); -x_119 = lean_ctor_get(x_15, 7); -lean_inc(x_119); -x_120 = l_Lean_replaceRef(x_57, x_115); -lean_dec(x_115); -lean_dec(x_57); -x_121 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_121, 0, x_112); -lean_ctor_set(x_121, 1, x_113); -lean_ctor_set(x_121, 2, x_114); -lean_ctor_set(x_121, 3, x_120); -lean_ctor_set(x_121, 4, x_116); -lean_ctor_set(x_121, 5, x_117); -lean_ctor_set(x_121, 6, x_118); -lean_ctor_set(x_121, 7, x_119); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_122; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_122 = l_Lean_Elab_Tactic_rewriteAll(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_121, x_16, x_111); -x_42 = x_122; -goto block_53; -} -else -{ -lean_object* x_123; uint8_t x_124; lean_object* x_125; uint8_t x_126; -x_123 = lean_ctor_get(x_3, 0); -x_124 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -x_125 = lean_array_get_size(x_123); -x_126 = lean_nat_dec_lt(x_20, x_125); -if (x_126 == 0) -{ -lean_dec(x_125); -if (x_124 == 0) -{ -lean_object* x_127; lean_object* x_128; -lean_dec(x_121); -lean_dec(x_64); -x_127 = lean_box(0); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_111); -x_42 = x_128; -goto block_53; -} -else -{ -lean_object* x_129; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_129 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_121, x_16, x_111); -x_42 = x_129; -goto block_53; -} -} -else -{ -uint8_t x_130; -x_130 = lean_nat_dec_le(x_125, x_125); -if (x_130 == 0) -{ -lean_dec(x_125); -if (x_124 == 0) -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_121); -lean_dec(x_64); -x_131 = lean_box(0); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_111); -x_42 = x_132; -goto block_53; -} -else -{ -lean_object* x_133; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_133 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_121, x_16, x_111); -x_42 = x_133; -goto block_53; -} -} -else -{ -size_t x_134; size_t x_135; lean_object* x_136; lean_object* x_137; -x_134 = 0; -x_135 = lean_usize_of_nat(x_125); -lean_dec(x_125); -x_136 = lean_box(0); -lean_inc(x_16); -lean_inc(x_121); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_64); -x_137 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_1, x_64, x_65, x_123, x_134, x_135, x_136, x_9, x_10, x_11, x_12, x_13, x_14, x_121, x_16, x_111); -if (lean_obj_tag(x_137) == 0) -{ -if (x_124 == 0) -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_121); -lean_dec(x_64); -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; -} else { - lean_dec_ref(x_137); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(0, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_136); -lean_ctor_set(x_140, 1, x_138); -x_42 = x_140; -goto block_53; -} -else -{ -lean_object* x_141; lean_object* x_142; -x_141 = lean_ctor_get(x_137, 1); -lean_inc(x_141); -lean_dec(x_137); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_142 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_121, x_16, x_141); -x_42 = x_142; -goto block_53; -} -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_121); -lean_dec(x_64); -x_143 = lean_ctor_get(x_137, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_137, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_145 = x_137; -} else { - lean_dec_ref(x_137); - x_145 = lean_box(0); -} -if (lean_is_scalar(x_145)) { - x_146 = lean_alloc_ctor(1, 2, 0); -} else { - x_146 = x_145; -} -lean_ctor_set(x_146, 0, x_143); -lean_ctor_set(x_146, 1, x_144); -x_42 = x_146; -goto block_53; -} -} -} -} -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_208; lean_object* x_209; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_147 = lean_ctor_get(x_70, 1); -lean_inc(x_147); -lean_dec(x_70); -x_148 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_12, x_13, x_14, x_15, x_16, x_147); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_265 = lean_ctor_get(x_15, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_15, 1); -lean_inc(x_266); -x_267 = lean_ctor_get(x_15, 2); -lean_inc(x_267); -x_268 = lean_ctor_get(x_15, 3); -lean_inc(x_268); -x_269 = lean_ctor_get(x_15, 4); -lean_inc(x_269); -x_270 = lean_ctor_get(x_15, 5); -lean_inc(x_270); -x_271 = lean_ctor_get(x_15, 6); -lean_inc(x_271); -x_272 = lean_ctor_get(x_15, 7); -lean_inc(x_272); -x_273 = l_Lean_replaceRef(x_57, x_268); -lean_dec(x_268); -lean_dec(x_57); -x_274 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_274, 0, x_265); -lean_ctor_set(x_274, 1, x_266); -lean_ctor_set(x_274, 2, x_267); -lean_ctor_set(x_274, 3, x_273); -lean_ctor_set(x_274, 4, x_269); -lean_ctor_set(x_274, 5, x_270); -lean_ctor_set(x_274, 6, x_271); -lean_ctor_set(x_274, 7, x_272); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_275; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_275 = l_Lean_Elab_Tactic_rewriteAll(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_274, x_16, x_150); -if (lean_obj_tag(x_275) == 0) -{ -lean_object* x_276; lean_object* x_277; -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_151 = x_276; -x_152 = x_277; -goto block_207; -} -else -{ -lean_object* x_278; lean_object* x_279; -x_278 = lean_ctor_get(x_275, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_275, 1); -lean_inc(x_279); -lean_dec(x_275); -x_208 = x_278; -x_209 = x_279; -goto block_264; -} -} -else -{ -lean_object* x_280; uint8_t x_281; lean_object* x_282; uint8_t x_283; -x_280 = lean_ctor_get(x_3, 0); -x_281 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -x_282 = lean_array_get_size(x_280); -x_283 = lean_nat_dec_lt(x_20, x_282); -if (x_283 == 0) -{ -lean_dec(x_282); -if (x_281 == 0) -{ -lean_object* x_284; -lean_dec(x_274); -lean_dec(x_64); -x_284 = lean_box(0); -x_151 = x_284; -x_152 = x_150; -goto block_207; -} -else -{ -lean_object* x_285; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_285 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_274, x_16, x_150); -if (lean_obj_tag(x_285) == 0) -{ -lean_object* x_286; lean_object* x_287; -x_286 = lean_ctor_get(x_285, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_285, 1); -lean_inc(x_287); -lean_dec(x_285); -x_151 = x_286; -x_152 = x_287; -goto block_207; -} -else -{ -lean_object* x_288; lean_object* x_289; -x_288 = lean_ctor_get(x_285, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_285, 1); -lean_inc(x_289); -lean_dec(x_285); -x_208 = x_288; -x_209 = x_289; -goto block_264; -} -} -} -else -{ -uint8_t x_290; -x_290 = lean_nat_dec_le(x_282, x_282); -if (x_290 == 0) -{ -lean_dec(x_282); -if (x_281 == 0) -{ -lean_object* x_291; -lean_dec(x_274); -lean_dec(x_64); -x_291 = lean_box(0); -x_151 = x_291; -x_152 = x_150; -goto block_207; -} -else -{ -lean_object* x_292; -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_292 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_274, x_16, x_150); -if (lean_obj_tag(x_292) == 0) -{ -lean_object* x_293; lean_object* x_294; -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); -x_151 = x_293; -x_152 = x_294; -goto block_207; -} -else -{ -lean_object* x_295; lean_object* x_296; -x_295 = lean_ctor_get(x_292, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_292, 1); -lean_inc(x_296); -lean_dec(x_292); -x_208 = x_295; -x_209 = x_296; -goto block_264; -} -} -} -else -{ -size_t x_297; size_t x_298; lean_object* x_299; lean_object* x_300; -x_297 = 0; -x_298 = lean_usize_of_nat(x_282); -lean_dec(x_282); -x_299 = lean_box(0); -lean_inc(x_16); -lean_inc(x_274); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_64); -x_300 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(x_1, x_64, x_65, x_280, x_297, x_298, x_299, x_9, x_10, x_11, x_12, x_13, x_14, x_274, x_16, x_150); -if (lean_obj_tag(x_300) == 0) -{ -if (x_281 == 0) -{ -lean_object* x_301; -lean_dec(x_274); -lean_dec(x_64); -x_301 = lean_ctor_get(x_300, 1); -lean_inc(x_301); -lean_dec(x_300); -x_151 = x_299; -x_152 = x_301; -goto block_207; -} -else -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -lean_inc(x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_303 = l_Lean_Elab_Tactic_rewriteTarget(x_64, x_65, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_274, x_16, x_302); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -lean_dec(x_303); -x_151 = x_304; -x_152 = x_305; -goto block_207; -} -else -{ -lean_object* x_306; lean_object* x_307; -x_306 = lean_ctor_get(x_303, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_303, 1); -lean_inc(x_307); -lean_dec(x_303); -x_208 = x_306; -x_209 = x_307; -goto block_264; -} -} -} -else -{ -lean_object* x_308; lean_object* x_309; -lean_dec(x_274); -lean_dec(x_64); -x_308 = lean_ctor_get(x_300, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_300, 1); -lean_inc(x_309); -lean_dec(x_300); -x_208 = x_308; -x_209 = x_309; -goto block_264; -} -} -} -} -block_207: -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_153 = lean_st_ref_get(x_16, x_152); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_st_ref_get(x_12, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_ctor_get(x_156, 5); -lean_inc(x_158); -lean_dec(x_156); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_160 = lean_apply_9(x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_157); -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_159); -x_164 = lean_st_ref_get(x_16, x_162); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_st_ref_take(x_12, x_165); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_167, 5); -lean_inc(x_168); -x_169 = lean_ctor_get(x_166, 1); -lean_inc(x_169); -lean_dec(x_166); -x_170 = !lean_is_exclusive(x_167); -if (x_170 == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = lean_ctor_get(x_167, 5); -lean_dec(x_171); -x_172 = !lean_is_exclusive(x_168); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_173 = lean_ctor_get(x_168, 1); -lean_dec(x_173); -x_174 = l_Std_PersistentArray_push___rarg(x_149, x_163); -lean_ctor_set(x_168, 1, x_174); -x_175 = lean_st_ref_set(x_12, x_167, x_169); -x_176 = !lean_is_exclusive(x_175); -if (x_176 == 0) -{ -lean_object* x_177; -x_177 = lean_ctor_get(x_175, 0); -lean_dec(x_177); -lean_ctor_set(x_175, 0, x_151); -x_42 = x_175; -goto block_53; -} -else -{ -lean_object* x_178; lean_object* x_179; -x_178 = lean_ctor_get(x_175, 1); -lean_inc(x_178); -lean_dec(x_175); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_151); -lean_ctor_set(x_179, 1, x_178); -x_42 = x_179; -goto block_53; -} -} -else -{ -uint8_t x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_180 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_181 = lean_ctor_get(x_168, 0); -lean_inc(x_181); -lean_dec(x_168); -x_182 = l_Std_PersistentArray_push___rarg(x_149, x_163); -x_183 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set_uint8(x_183, sizeof(void*)*2, x_180); -lean_ctor_set(x_167, 5, x_183); -x_184 = lean_st_ref_set(x_12, x_167, x_169); -x_185 = lean_ctor_get(x_184, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_184)) { - lean_ctor_release(x_184, 0); - lean_ctor_release(x_184, 1); - x_186 = x_184; -} else { - lean_dec_ref(x_184); - x_186 = lean_box(0); -} -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(0, 2, 0); -} else { - x_187 = x_186; -} -lean_ctor_set(x_187, 0, x_151); -lean_ctor_set(x_187, 1, x_185); -x_42 = x_187; -goto block_53; -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_188 = lean_ctor_get(x_167, 0); -x_189 = lean_ctor_get(x_167, 1); -x_190 = lean_ctor_get(x_167, 2); -x_191 = lean_ctor_get(x_167, 3); -x_192 = lean_ctor_get(x_167, 4); -lean_inc(x_192); -lean_inc(x_191); -lean_inc(x_190); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_167); -x_193 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_194 = lean_ctor_get(x_168, 0); -lean_inc(x_194); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_195 = x_168; -} else { - lean_dec_ref(x_168); - x_195 = lean_box(0); -} -x_196 = l_Std_PersistentArray_push___rarg(x_149, x_163); -if (lean_is_scalar(x_195)) { - x_197 = lean_alloc_ctor(0, 2, 1); -} else { - x_197 = x_195; -} -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set_uint8(x_197, sizeof(void*)*2, x_193); -x_198 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_198, 0, x_188); -lean_ctor_set(x_198, 1, x_189); -lean_ctor_set(x_198, 2, x_190); -lean_ctor_set(x_198, 3, x_191); -lean_ctor_set(x_198, 4, x_192); -lean_ctor_set(x_198, 5, x_197); -x_199 = lean_st_ref_set(x_12, x_198, x_169); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_199)) { - lean_ctor_release(x_199, 0); - lean_ctor_release(x_199, 1); - x_201 = x_199; -} else { - lean_dec_ref(x_199); - x_201 = lean_box(0); -} -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 2, 0); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_151); -lean_ctor_set(x_202, 1, x_200); -x_42 = x_202; -goto block_53; -} -} -else -{ -uint8_t x_203; -lean_dec(x_159); -lean_dec(x_151); -lean_dec(x_149); -x_203 = !lean_is_exclusive(x_160); -if (x_203 == 0) -{ -x_42 = x_160; -goto block_53; -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_160, 0); -x_205 = lean_ctor_get(x_160, 1); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_160); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -x_42 = x_206; -goto block_53; -} -} -} -block_264: -{ -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_210 = lean_st_ref_get(x_16, x_209); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_212 = lean_st_ref_get(x_12, x_211); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = lean_ctor_get(x_213, 5); -lean_inc(x_215); -lean_dec(x_213); -x_216 = lean_ctor_get(x_215, 1); -lean_inc(x_216); -lean_dec(x_215); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_217 = lean_apply_9(x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_214); -if (lean_obj_tag(x_217) == 0) -{ -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; uint8_t x_227; -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_216); -x_221 = lean_st_ref_get(x_16, x_219); -x_222 = lean_ctor_get(x_221, 1); -lean_inc(x_222); -lean_dec(x_221); -x_223 = lean_st_ref_take(x_12, x_222); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_224, 5); -lean_inc(x_225); -x_226 = lean_ctor_get(x_223, 1); -lean_inc(x_226); -lean_dec(x_223); -x_227 = !lean_is_exclusive(x_224); -if (x_227 == 0) -{ -lean_object* x_228; uint8_t x_229; -x_228 = lean_ctor_get(x_224, 5); -lean_dec(x_228); -x_229 = !lean_is_exclusive(x_225); -if (x_229 == 0) -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; -x_230 = lean_ctor_get(x_225, 1); -lean_dec(x_230); -x_231 = l_Std_PersistentArray_push___rarg(x_149, x_220); -lean_ctor_set(x_225, 1, x_231); -x_232 = lean_st_ref_set(x_12, x_224, x_226); -x_233 = !lean_is_exclusive(x_232); -if (x_233 == 0) -{ -lean_object* x_234; -x_234 = lean_ctor_get(x_232, 0); -lean_dec(x_234); -lean_ctor_set_tag(x_232, 1); -lean_ctor_set(x_232, 0, x_208); -x_42 = x_232; -goto block_53; -} -else -{ -lean_object* x_235; lean_object* x_236; -x_235 = lean_ctor_get(x_232, 1); -lean_inc(x_235); -lean_dec(x_232); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_208); -lean_ctor_set(x_236, 1, x_235); -x_42 = x_236; -goto block_53; -} -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_237 = lean_ctor_get_uint8(x_225, sizeof(void*)*2); -x_238 = lean_ctor_get(x_225, 0); -lean_inc(x_238); -lean_dec(x_225); -x_239 = l_Std_PersistentArray_push___rarg(x_149, x_220); -x_240 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_240, 0, x_238); -lean_ctor_set(x_240, 1, x_239); -lean_ctor_set_uint8(x_240, sizeof(void*)*2, x_237); -lean_ctor_set(x_224, 5, x_240); -x_241 = lean_st_ref_set(x_12, x_224, x_226); -x_242 = lean_ctor_get(x_241, 1); -lean_inc(x_242); -if (lean_is_exclusive(x_241)) { - lean_ctor_release(x_241, 0); - lean_ctor_release(x_241, 1); - x_243 = x_241; -} else { - lean_dec_ref(x_241); - x_243 = lean_box(0); -} -if (lean_is_scalar(x_243)) { - x_244 = lean_alloc_ctor(1, 2, 0); -} else { - x_244 = x_243; - lean_ctor_set_tag(x_244, 1); -} -lean_ctor_set(x_244, 0, x_208); -lean_ctor_set(x_244, 1, x_242); -x_42 = x_244; -goto block_53; -} -} -else -{ -lean_object* 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; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_245 = lean_ctor_get(x_224, 0); -x_246 = lean_ctor_get(x_224, 1); -x_247 = lean_ctor_get(x_224, 2); -x_248 = lean_ctor_get(x_224, 3); -x_249 = lean_ctor_get(x_224, 4); -lean_inc(x_249); -lean_inc(x_248); -lean_inc(x_247); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_224); -x_250 = lean_ctor_get_uint8(x_225, sizeof(void*)*2); -x_251 = lean_ctor_get(x_225, 0); -lean_inc(x_251); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_252 = x_225; -} else { - lean_dec_ref(x_225); - x_252 = lean_box(0); -} -x_253 = l_Std_PersistentArray_push___rarg(x_149, x_220); -if (lean_is_scalar(x_252)) { - x_254 = lean_alloc_ctor(0, 2, 1); -} else { - x_254 = x_252; -} -lean_ctor_set(x_254, 0, x_251); -lean_ctor_set(x_254, 1, x_253); -lean_ctor_set_uint8(x_254, sizeof(void*)*2, x_250); -x_255 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_255, 0, x_245); -lean_ctor_set(x_255, 1, x_246); -lean_ctor_set(x_255, 2, x_247); -lean_ctor_set(x_255, 3, x_248); -lean_ctor_set(x_255, 4, x_249); -lean_ctor_set(x_255, 5, x_254); -x_256 = lean_st_ref_set(x_12, x_255, x_226); -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_258 = x_256; -} else { - lean_dec_ref(x_256); - x_258 = lean_box(0); -} -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(1, 2, 0); -} else { - x_259 = x_258; - lean_ctor_set_tag(x_259, 1); -} -lean_ctor_set(x_259, 0, x_208); -lean_ctor_set(x_259, 1, x_257); -x_42 = x_259; -goto block_53; -} -} -else -{ -uint8_t x_260; -lean_dec(x_216); -lean_dec(x_208); -lean_dec(x_149); -x_260 = !lean_is_exclusive(x_217); -if (x_260 == 0) -{ -x_42 = x_217; -goto block_53; -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_261 = lean_ctor_get(x_217, 0); -x_262 = lean_ctor_get(x_217, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_217); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -x_42 = x_263; -goto block_53; -} -} -} -} -} -} -else -{ -lean_object* x_333; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_7); -lean_dec(x_6); -x_333 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_333, 0, x_8); -lean_ctor_set(x_333, 1, x_17); -return x_333; -} -} -else -{ -lean_object* x_334; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(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_7); -lean_dec(x_6); -x_334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_334, 0, x_8); -lean_ctor_set(x_334, 1, x_17); -return x_334; -} +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRewriteCore___lambda__1___boxed), 9, 0); +return x_1; } } lean_object* l_Lean_Elab_Tactic_evalRewriteCore(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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 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; uint8_t x_56; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_Syntax_getArg(x_2, x_12); x_14 = lean_unsigned_to_nat(1u); @@ -2899,88 +2002,22 @@ x_19 = lean_unsigned_to_nat(2u); x_20 = l_Lean_Syntax_getArg(x_2, x_19); x_21 = l_Lean_Elab_Tactic_expandOptLocation(x_20); lean_dec(x_20); -x_43 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2; -x_44 = lean_array_push(x_43, x_13); -x_45 = lean_array_push(x_44, x_16); -x_46 = l_Lean_nullKind; -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 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_st_ref_get(x_10, x_50); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_st_ref_get(x_6, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_54, 5); -lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); -lean_dec(x_55); -if (x_56 == 0) -{ -uint8_t x_57; -lean_dec(x_49); -x_57 = !lean_is_exclusive(x_53); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_53, 0); -lean_dec(x_58); -x_59 = lean_box(0); -lean_ctor_set(x_53, 0, x_59); -x_22 = x_53; -goto block_42; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_53, 1); -lean_inc(x_60); -lean_dec(x_53); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_22 = x_62; -goto block_42; -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_63 = lean_ctor_get(x_53, 1); -lean_inc(x_63); -lean_dec(x_53); -x_64 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_st_ref_get(x_10, x_66); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_6, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_70, 5); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); +x_22 = l_Lean_Elab_Tactic_evalRewriteCore___closed__1; +x_23 = lean_array_push(x_22, x_13); +x_24 = lean_array_push(x_23, x_16); +x_25 = l_Lean_nullKind; +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 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__2), 11, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = l_Lean_Elab_Tactic_evalRewriteCore___closed__2; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -2989,270 +2026,77 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_74 = lean_apply_9(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_71); -if (lean_obj_tag(x_74) == 0) +x_32 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__1(x_31, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_32) == 0) { -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; uint8_t x_84; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_73); -x_78 = lean_st_ref_get(x_10, x_76); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_st_ref_take(x_6, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_81, 5); -lean_inc(x_82); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec(x_80); -x_84 = !lean_is_exclusive(x_81); -if (x_84 == 0) -{ -lean_object* x_85; uint8_t x_86; -x_85 = lean_ctor_get(x_81, 5); -lean_dec(x_85); -x_86 = !lean_is_exclusive(x_82); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_87 = lean_ctor_get(x_82, 1); -lean_dec(x_87); -x_88 = l_Std_PersistentArray_push___rarg(x_65, x_77); -lean_ctor_set(x_82, 1, x_88); -x_89 = lean_st_ref_set(x_6, x_81, x_83); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_89, 0); -lean_dec(x_91); -x_92 = lean_box(0); -lean_ctor_set(x_89, 0, x_92); -x_22 = x_89; -goto block_42; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_dec(x_89); -x_94 = lean_box(0); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_22 = x_95; -goto block_42; -} -} -else -{ -uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_96 = lean_ctor_get_uint8(x_82, sizeof(void*)*2); -x_97 = lean_ctor_get(x_82, 0); -lean_inc(x_97); -lean_dec(x_82); -x_98 = l_Std_PersistentArray_push___rarg(x_65, x_77); -x_99 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set_uint8(x_99, sizeof(void*)*2, x_96); -lean_ctor_set(x_81, 5, x_99); -x_100 = lean_st_ref_set(x_6, x_81, x_83); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -x_103 = lean_box(0); -if (lean_is_scalar(x_102)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_102; -} -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_101); -x_22 = x_104; -goto block_42; -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_105 = lean_ctor_get(x_81, 0); -x_106 = lean_ctor_get(x_81, 1); -x_107 = lean_ctor_get(x_81, 2); -x_108 = lean_ctor_get(x_81, 3); -x_109 = lean_ctor_get(x_81, 4); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_81); -x_110 = lean_ctor_get_uint8(x_82, sizeof(void*)*2); -x_111 = lean_ctor_get(x_82, 0); -lean_inc(x_111); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_112 = x_82; -} else { - lean_dec_ref(x_82); - x_112 = lean_box(0); -} -x_113 = l_Std_PersistentArray_push___rarg(x_65, x_77); -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(0, 2, 1); -} else { - x_114 = x_112; -} -lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set_uint8(x_114, sizeof(void*)*2, x_110); -x_115 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_115, 0, x_105); -lean_ctor_set(x_115, 1, x_106); -lean_ctor_set(x_115, 2, x_107); -lean_ctor_set(x_115, 3, x_108); -lean_ctor_set(x_115, 4, x_109); -lean_ctor_set(x_115, 5, x_114); -x_116 = lean_st_ref_set(x_6, x_115, x_83); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; -} else { - lean_dec_ref(x_116); - x_118 = lean_box(0); -} -x_119 = lean_box(0); -if (lean_is_scalar(x_118)) { - x_120 = lean_alloc_ctor(0, 2, 0); -} else { - x_120 = x_118; -} -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_117); -x_22 = x_120; -goto block_42; -} -} -else -{ -uint8_t x_121; -lean_dec(x_73); -lean_dec(x_65); -x_121 = !lean_is_exclusive(x_74); -if (x_121 == 0) -{ -x_22 = x_74; -goto block_42; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_74, 0); -x_123 = lean_ctor_get(x_74, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_74); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -x_22 = x_124; -goto block_42; -} -} -} -block_42: -{ -if (lean_obj_tag(x_22) == 0) -{ -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; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_array_get_size(x_18); -x_25 = lean_nat_add(x_24, x_14); -x_26 = lean_nat_div(x_25, x_19); -lean_dec(x_25); -lean_inc(x_26); -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_12); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_14); -x_28 = lean_box(0); -x_29 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3(x_1, x_18, x_21, x_24, x_27, x_26, x_12, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_18); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 0); -lean_dec(x_31); -lean_ctor_set(x_29, 0, x_28); -return x_29; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -else -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) -{ -return x_29; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); +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_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_array_get_size(x_18); +x_35 = lean_nat_add(x_34, x_14); +x_36 = lean_nat_div(x_35, x_19); +lean_dec(x_35); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_12); lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_ctor_set(x_37, 2, x_14); +x_38 = lean_box(0); +x_39 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(x_1, x_18, x_21, x_22, x_34, x_37, x_36, x_12, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_18); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_38); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_39); +if (x_44 == 0) +{ +return x_39; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_39, 0); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_39); +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; } } } else { -uint8_t x_38; +uint8_t x_48; lean_dec(x_21); lean_dec(x_18); lean_dec(x_10); @@ -3263,24 +2107,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) +x_48 = !lean_is_exclusive(x_32); +if (x_48 == 0) { -return x_22; +return x_32; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_32, 0); +x_50 = lean_ctor_get(x_32, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_32); +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; } } } @@ -3302,24 +2145,21 @@ lean_dec(x_4); return x_21; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_17 = lean_unbox(x_1); -lean_dec(x_1); -x_18 = lean_unbox(x_3); -lean_dec(x_3); -x_19 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_20 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(x_17, x_2, x_18, x_4, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_4); lean_dec(x_4); -return x_21; +x_16 = lean_unbox(x_5); +lean_dec(x_5); +x_17 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___lambda__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_2); +lean_dec(x_1); +return x_17; } } -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___boxed(lean_object** _args) { +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -3337,17 +2177,33 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_1); +uint8_t x_19; lean_object* x_20; +x_19 = lean_unbox(x_1); lean_dec(x_1); -x_19 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_20 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__2(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_20; +} +} +lean_object* l_Lean_Elab_Tactic_evalRewriteCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_evalRewriteCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_19; +lean_dec(x_1); +return x_10; } } lean_object* l_Lean_Elab_Tactic_evalRewriteCore___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) { @@ -3630,10 +2486,10 @@ l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic lean_mark_persistent(l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__4); l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__5(); lean_mark_persistent(l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__5); -l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__1); -l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalRewriteCore___spec__3___closed__2); +l_Lean_Elab_Tactic_evalRewriteCore___closed__1 = _init_l_Lean_Elab_Tactic_evalRewriteCore___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRewriteCore___closed__1); +l_Lean_Elab_Tactic_evalRewriteCore___closed__2 = _init_l_Lean_Elab_Tactic_evalRewriteCore___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRewriteCore___closed__2); l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 89c413159c..23689ad134 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -18,6 +18,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkSimp lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkSimpContext___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*); static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__8; lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__5___closed__3; lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimpConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -39,8 +40,10 @@ lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_getCongrLemmas___rarg(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8; lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__6(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_evalSimp_go_match__1(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfig___closed__1; @@ -48,28 +51,35 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__5; static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalSimp___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_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__3; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp(lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(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_withoutModifyingElabMetaStateWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_go_match__4(lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__7(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_simpStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_go___lambda__2(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_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_go(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_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11___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_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___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_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___lambda__1(uint8_t, 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*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpLemma___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -77,21 +87,20 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__7; lean_object* l_Lean_Elab_Tactic_evalSimpConfigCtx___rarg(lean_object*); lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8; lean_object* l_Lean_Elab_Tactic_evalSimp_go___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_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1; lean_object* l_Lean_Elab_Tactic_evalSimpConfigCtxUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimp_go___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6; lean_object* l_Lean_Elab_Tactic_evalSimp_go_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_Elab_Tactic_evalSimpAll(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_SimpLemmas_addDeclToUnfold(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___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*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__1; lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14(uint8_t, 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*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpLemma_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__5___closed__2; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,16 +110,16 @@ lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0_ lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalSimp___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*); lean_object* l_Lean_Elab_Tactic_evalSimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_erase___at_Lean_Meta_SimpLemmas_eraseCore___spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSimp_go___spec__1(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*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__6; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpLemma___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___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*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimpAll___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_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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_Lean_Elab_Term_elabTerm(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_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,6 +132,7 @@ lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig__ lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkSimpContext(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabSimpConfig(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3; lean_object* l_Lean_Elab_Tactic_evalSimpConfigCtx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__3; lean_object* l_Lean_Elab_Tactic_evalSimp_go_match__3(lean_object*); @@ -132,27 +142,27 @@ lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1(lean_object*, lean_object*, lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigCtxUnsafe___closed__2; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSimp_go___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*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSimp_go___spec__1___closed__1; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f___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_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f___closed__1; +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(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_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_match__1(lean_object*); +static lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpLemma(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__5___closed__4; +static lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2; lean_object* l_Lean_Elab_Tactic_evalSimp___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*); uint8_t l_Lean_Expr_isConst(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2; -static lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1; -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimpConfigCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,25 +178,24 @@ lean_object* l_Lean_ConstantInfo_type(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__4; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___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_Meta_getSimpLemmas___rarg(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__7; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__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_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___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*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__7; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__2; +lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__3; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(uint8_t, 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*); lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas(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_object* l_Lean_Expr_eta(lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__5(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_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tryClearMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1; uint8_t l_Lean_Expr_hasMVar(lean_object*); @@ -202,12 +211,13 @@ lean_object* l_Lean_Meta_SimpLemmas_add(lean_object*, lean_object*, lean_object* uint8_t l_Lean_Meta_SimpLemmas_isDeclToUnfold(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__2; -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___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*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfig___rarg___closed__1; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__2; lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___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_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___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*); static lean_object* l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -220,13 +230,11 @@ lean_object* l_Lean_Elab_Tactic_evalSimpConfig___boxed(lean_object*, lean_object lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSimp_go_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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_evalSimp_go_match__4___rarg(lean_object*, lean_object*); static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__6; static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(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_resolveGlobalConst___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__5; static lean_object* l_Lean_Elab_Tactic_evalSimpConfig___rarg___closed__2; @@ -241,14 +249,12 @@ lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemma lean_object* l_Lean_Elab_Tactic_evalSimp___boxed__const__1; lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrLemma(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfig___closed__2; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); -lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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*); extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; lean_object* l_Lean_Elab_Tactic_evalSimpConfig___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll(lean_object*); @@ -863,7 +869,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_22 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_20, x_21, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +x_22 = l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(x_20, x_21, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_19); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -1668,7 +1674,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_14 = l_Lean_Elab_Term_withoutModifyingElabMetaState___rarg(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; @@ -1832,16 +1838,22 @@ lean_inc(x_15); lean_dec(x_13); x_16 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f___closed__1; x_17 = 1; +lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_18 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_15); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; lean_dec(x_14); +lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -1869,8 +1881,11 @@ x_23 = lean_ctor_get(x_18, 1); lean_inc(x_23); lean_dec(x_18); x_24 = l_Lean_Elab_Tactic_SavedState_restore(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) @@ -1903,9 +1918,6 @@ _start: { lean_object* x_11; x_11 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f(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_7); -lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); return x_11; @@ -2467,6 +2479,266 @@ return x_26; } } } +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_st_ref_get(x_9, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_take(x_5, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 5); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = !lean_is_exclusive(x_27); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 5); +lean_dec(x_31); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_28, 1); +x_34 = l_Std_PersistentArray_push___rarg(x_33, x_1); +lean_ctor_set(x_28, 1, x_34); +x_35 = lean_st_ref_set(x_5, x_27, x_29); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +else +{ +uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_42 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = l_Std_PersistentArray_push___rarg(x_44, x_1); +x_46 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_42); +lean_ctor_set(x_27, 5, x_46); +x_47 = lean_st_ref_set(x_5, x_27, x_29); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +x_50 = lean_box(0); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t 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; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +x_54 = lean_ctor_get(x_27, 2); +x_55 = lean_ctor_get(x_27, 3); +x_56 = lean_ctor_get(x_27, 4); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_27); +x_57 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +x_58 = lean_ctor_get(x_28, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_28, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_60 = x_28; +} else { + lean_dec_ref(x_28); + x_60 = lean_box(0); +} +x_61 = l_Std_PersistentArray_push___rarg(x_59, x_1); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 1); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_57); +x_63 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_53); +lean_ctor_set(x_63, 2, x_54); +lean_ctor_set(x_63, 3, x_55); +lean_ctor_set(x_63, 4, x_56); +lean_ctor_set(x_63, 5, x_62); +x_64 = lean_st_ref_set(x_5, x_63, x_29); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +x_67 = lean_box(0); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_66; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +} +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(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_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfig___spec__1___at_Lean_Elab_Tactic_elabSimpConfig___spec__2___rarg___closed__6; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_26; +} +} +} lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__1___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: { @@ -2558,7 +2830,7 @@ lean_ctor_set(x_33, 2, x_3); lean_ctor_set(x_33, 3, x_28); x_34 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +x_35 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) @@ -2636,7 +2908,7 @@ return x_47; } } } -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(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* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(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; @@ -2690,15 +2962,15 @@ return x_31; } } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___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, lean_object* x_12) { +lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_13; } } -static lean_object* _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1() { +static lean_object* _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1() { _start: { lean_object* x_1; @@ -2706,16 +2978,16 @@ x_1 = lean_mk_string("' does not have [simp] attribute"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2() { +static lean_object* _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1; +x_1 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(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* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(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; @@ -2736,7 +3008,7 @@ x_15 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_ x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2; +x_17 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -2763,19 +3035,19 @@ return x_23; else { lean_object* x_24; -x_24 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_24 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_24; } } else { lean_object* x_25; -x_25 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_25 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_25; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1() { _start: { lean_object* x_1; @@ -2783,17 +3055,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_evalSimpConfigUnsafe___closed__2; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3() { _start: { lean_object* x_1; @@ -2801,17 +3073,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5() { _start: { lean_object* x_1; @@ -2819,17 +3091,17 @@ x_1 = lean_mk_string("simpErase"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7() { _start: { lean_object* x_1; @@ -2837,17 +3109,17 @@ x_1 = lean_mk_string("simpPost"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(uint8_t x_1, lean_object* x_2, size_t x_3, size_t 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14(uint8_t x_1, lean_object* x_2, size_t x_3, size_t 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: { uint8_t x_15; @@ -2872,7 +3144,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_25; lean x_17 = lean_array_uget(x_2, x_4); lean_inc(x_17); x_25 = l_Lean_Syntax_getKind(x_17); -x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6; +x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6; x_27 = lean_name_eq(x_25, x_26); lean_dec(x_25); if (x_27 == 0) @@ -2890,11 +3162,14 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_obje x_33 = l_Lean_Syntax_getArg(x_29, x_28); lean_dec(x_29); x_34 = l_Lean_Syntax_getKind(x_33); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8; +x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8; x_36 = lean_name_eq(x_34, x_35); lean_dec(x_34); +lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_32); x_37 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f(x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); @@ -3053,8 +3328,11 @@ else { lean_object* x_62; lean_dec(x_29); +lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_32); x_62 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas_resolveSimpIdLemma_x3f(x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); @@ -3249,7 +3527,7 @@ lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_dec(x_92); x_115 = l_Lean_Syntax_getId(x_90); lean_dec(x_90); -x_116 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_5, x_115, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_93); +x_116 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(x_5, x_115, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_93); x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); x_118 = lean_ctor_get(x_116, 1); @@ -3278,7 +3556,7 @@ lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(x_5, x_98, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_99); +x_100 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(x_5, x_98, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_99); if (lean_obj_tag(x_100) == 0) { lean_object* x_101; lean_object* x_102; lean_object* x_103; @@ -3373,7 +3651,7 @@ lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemma _start: { lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; @@ -3650,6 +3928,38 @@ lean_dec(x_2); return x_11; } } +lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(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); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(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); +lean_dec(x_2); +return x_11; +} +} lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__1___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: { @@ -3682,11 +3992,11 @@ lean_dec(x_4); return x_13; } } -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11___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* l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_SimpLemmas_eraseCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3698,11 +4008,11 @@ lean_dec(x_3); return x_12; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___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, lean_object* x_12) { +lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___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, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___lambda__1(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 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3715,11 +4025,11 @@ lean_dec(x_3); return x_13; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___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* l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3731,7 +4041,7 @@ lean_dec(x_3); return x_12; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___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: { uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; @@ -3741,7 +4051,7 @@ x_16 = lean_unbox_usize(x_3); lean_dec(x_3); x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12(x_15, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14(x_15, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); @@ -5486,7 +5796,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4; x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5515,7 +5825,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__4; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5758,7 +6068,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4; x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5895,26 +6205,26 @@ l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__2); l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__3 = _init_l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__3(); lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__2___closed__3); -l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1 = _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1(); -lean_mark_persistent(l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__1); -l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2 = _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2(); -lean_mark_persistent(l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__7); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__8); +l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1 = _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1(); +lean_mark_persistent(l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__1); +l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2 = _init_l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2(); +lean_mark_persistent(l_Lean_Meta_SimpLemmas_erase___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__12___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__14___closed__8); l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___boxed__const__1 = _init_l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___boxed__const__1); l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkSimpContext___closed__1 = _init_l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_mkSimpContext___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 5127aecd9b..160c7eeab6 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6(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_saveContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevelNames(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts_match__1(lean_object*); @@ -22,12 +23,9 @@ lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__5(lean_object*, lean_o static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4; lean_object* l_Lean_Elab_Term_resolveName___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1; -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; lean_object* l_Lean_Elab_Term_observing_match__1(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__11; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; uint8_t l_Lean_isRecCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; @@ -35,23 +33,16 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp__ lean_object* l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2___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_termElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__10; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1___rarg(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_elabScientificLit(lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4; static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__1; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1; -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit(lean_object*); @@ -59,7 +50,6 @@ static lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__6; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___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_Term_0__Lean_Elab_Term_exceptionToSorry(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); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,29 +59,23 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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_evalExpr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__2; static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___rarg___closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_List_elem___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__12; lean_object* lean_io_get_num_heartbeats(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Term_addAutoBoundImplicits___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; -lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f(lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__2; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___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_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_isNest(lean_object*); @@ -100,13 +84,10 @@ lean_object* l_Lean_Elab_Term_instInhabitedState; lean_object* l_Lean_Elab_Term_instMonadTermElabM___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_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__2; -lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevelNames___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; lean_object* l_Lean_mkSort(lean_object*); -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__17; lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); @@ -114,13 +95,10 @@ lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg(lean_object*, lean_object* lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9; lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM; -lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___boxed(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__5; static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__11___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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4; lean_object* l_Lean_Elab_Term_autoLift; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__11; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__3; @@ -130,18 +108,14 @@ lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM(lean_object*, lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__3; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21___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_resolveName_x27_match__7(lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5; lean_object* l_Lean_Elab_Term_resolveName___lambda__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; -lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12___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*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1; uint8_t l_USize_decEq(size_t, size_t); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__4; lean_object* lean_array_uget(lean_object*, size_t); @@ -155,15 +129,13 @@ lean_object* l_Lean_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12(lean_object lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints(lean_object*); lean_object* l_Lean_Elab_Term_setLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6; +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4; lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; @@ -172,85 +144,68 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_ma static lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__1; lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1; -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__7(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__5; lean_object* l_Lean_Elab_Term_throwErrorIfErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; extern lean_object* l_Std_Format_defWidth; lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___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_instInhabitedTermElabM___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_elabRawNatLit(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*); -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitLocal; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__1; lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(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*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__2(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; +static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1; static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__4; -lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__13(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*); -lean_object* l_Lean_Elab_Term_addTermInfo___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_withoutPostponingUniverseConstraints___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11; +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3; -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__5; -static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object*); -lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_Term_State_letRecsToLift___default; +static lean_object* l_Lean_Elab_Term_addTermInfo___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__3; lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__19; -lean_object* l_Lean_MetavarContext_getExprAssignment_x3f(lean_object*, lean_object*); +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_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(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_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(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_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12___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* l_Lean_mkMVar(lean_object*); uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit(lean_object*); uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__1; lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_MetavarContext_isDelayedAssigned(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__4; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra___boxed(lean_object*, lean_object*); @@ -264,14 +219,10 @@ lean_object* lean_string_utf8_prev(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__3; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__7; -lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo(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*); lean_object* l_Lean_Elab_Term_mkTermInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; -lean_object* l_Lean_Elab_Term_elabTypeStx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__5; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription___boxed(lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -283,13 +234,11 @@ lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__2; -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitExceptionId; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7(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_List_append___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; +lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,83 +259,64 @@ static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__5; lean_object* l_List_foldl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2; extern lean_object* l_Lean_Elab_abortCommandExceptionId; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__3; lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_State_mvarErrorInfos___default; static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5; static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__1; uint64_t l_Lean_Level_hash(lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop_match__1(lean_object*); lean_object* l_Lean_Meta_isMonad_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__2; -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15___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_Term_0__Lean_Elab_Term_elabTermAux_match__1(lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4; lean_object* l_Lean_Elab_Term_resolveName_x27_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___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*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); extern lean_object* l_Lean_Meta_instInhabitedPostponedEntry; +lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__13; lean_object* l_Lean_Elab_Term_liftLevelM_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13; -lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4; lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5(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_instToStringMVarErrorKind(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; lean_object* l_Lean_Elab_Level_elabLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5; static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__2; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); lean_object* l_Lean_Declaration_foldExprM___at_Lean_Elab_Term_evalExpr___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4; +static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__5; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabSort___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_elabTypeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwMVarError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__3; uint8_t l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(lean_object*, uint8_t, lean_object*); @@ -398,78 +328,57 @@ lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2___boxed lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__3; -lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__16; static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__1; +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames(lean_object*); -static lean_object* l_Lean_Elab_Term_elabProp___rarg___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__6; lean_object* l_Lean_Elab_Term_resolveName_x27_match__7___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(uint8_t, uint8_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3; lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4; -lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__1; +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6; static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___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*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_Elab_Term_elabScientificLit___boxed(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_Elab_Term_elabNumLit___spec__2(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_throwTypeMismatchError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabDoubleQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__2; extern lean_object* l_Lean_auxRecExt; lean_object* l_Lean_Elab_Term_resolveName_x27_match__2(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__8; +static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabNumLit_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind___closed__2; -extern lean_object* l_Lean_levelZero; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__18; -lean_object* l_Lean_Elab_Term_elabStrLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5; lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isMonadApp___boxed(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*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6; lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__5(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*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__5; 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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___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*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18___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_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___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_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; @@ -477,30 +386,24 @@ lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__3___boxed(lean_object static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__7; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__3; lean_object* l_Lean_Elab_Term_observing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___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* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabBadCDot___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__3; lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1; 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* l_Std_HashSetImp_moveEntries___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__4; extern lean_object* l_Lean_maxRecDepth; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(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*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -extern lean_object* l_Lean_LocalContext_empty; size_t l_UInt64_toUSize(uint64_t); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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_Term_0__Lean_Elab_Term_saveContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__4; lean_object* l_List_map___at_Lean_Elab_Term_resolveId_x3f___spec__3(lean_object*); lean_object* l_Lean_Elab_Term_LVal_getRef___boxed(lean_object*); -lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__1; +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__3; @@ -512,14 +415,9 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___ static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2; uint8_t l_Lean_MetavarContext_isExprAssigned(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3; -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5(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_object* l___regBuiltin_Lean_Elab_Term_elabHole(lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__12; @@ -532,49 +430,46 @@ lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Elab_T lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__10(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_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___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_Lean_Elab_Term_instMonadTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__2; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5; uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription(lean_object*); -lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaState(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__13; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__4; +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__4; lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1; lean_object* l_Lean_Elab_Term_LVal_isFieldName___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints_match__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabEnsureExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__8; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__8; lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1; uint8_t l_Lean_Level_normLtAux(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_isFieldName_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; @@ -588,17 +483,13 @@ static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__4; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__1; lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___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* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__11; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabByTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9; lean_object* l_Lean_Elab_Term_observing(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); @@ -608,11 +499,8 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWi lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___boxed(lean_object*); -lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__2(lean_object*); -extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -623,7 +511,6 @@ lean_object* l_Lean_Elab_Term_instMonadLogTermElabM; lean_object* l_List_map___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2(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___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Term_instInhabitedState___closed__3; @@ -636,44 +523,36 @@ static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__20; lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__2; -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4; lean_object* l_Lean_Elab_Term_TermElabM_run(lean_object*); uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError___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_Level_instHashableLevel; lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___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_termElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; -lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___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*); lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__1; +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__2; static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2; lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabByTactic___closed__2; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__3; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__14; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkConst___closed__2; -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns_match__1(lean_object*); lean_object* l_Lean_Meta_expandCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -681,20 +560,15 @@ lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_elabQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___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_withAutoBoundImplicit(lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5; -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__2(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_object* l_Lean_Elab_Term_elabPipeCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -704,23 +578,20 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, static lean_object* l_Lean_Elab_Term_maxCoeSize___closed__1; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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_elabNoImplicitLambda___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_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14___closed__1; static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(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___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(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_addTermInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermInfo_match__1(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabCharLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4; lean_object* l_Lean_Elab_Term_levelMVarToParam_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -728,60 +599,47 @@ lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__9; static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__2; static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__6; -lean_object* l_Lean_Elab_Term_elabNumLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__19; lean_object* l_Lean_Elab_Term_blockImplicitLambda___boxed(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__1; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7; -lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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*); -uint8_t l_Lean_MetavarContext_isWellFormed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__5; lean_object* l_Lean_Elab_Term_resolveLocalName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8; lean_object* l_Lean_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11___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_withFreshMacroScope(lean_object*); -lean_object* l_Lean_Name_toExprAux(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___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*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4; lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___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_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4(lean_object*); lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054_(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___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_setElabConfig(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__14; @@ -790,10 +648,9 @@ lean_object* l_Lean_Elab_Term_getLetRecsToLift(lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Expr_setAppPPExplicitForExposingMVars(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1597_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1619_(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__15; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__2(lean_object*); @@ -805,21 +662,18 @@ lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_State_levelNames___default; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___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_instMonadBacktrackSavedStateTermElabM___lambda__1___boxed(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_withoutModifyingElabMetaStateWithInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___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_Elab_Term_0__Lean_Elab_Term_isHole(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___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*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_replace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__8(lean_object*, lean_object*, lean_object*); @@ -829,29 +683,26 @@ lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_objec static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__2; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__7___boxed(lean_object*); extern lean_object* l_Lean_Elab_abortTermExceptionId; -static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5; -lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__12; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__11; lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_match__2(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3; lean_object* l_Lean_Elab_Term_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isMonadApp_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); +lean_object* l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__14; @@ -861,46 +712,43 @@ static lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default___clos uint8_t l_Std_HashSetImp_contains___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermInfo_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__4; -static lean_object* l_Lean_Elab_Term_elabCharLit___closed__2; lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_dbg_to_string(lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__5; lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___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* l_Lean_Elab_Term_getMessageLog___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_resolveName_x27_match__5(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__13; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__6; lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__10(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_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___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* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__3; lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__1; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__14; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__16; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___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_FileMap_toPosition(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_maxCoeSize; +lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___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_instMonadInfoTreeTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___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* l_Lean_Elab_Term_liftLevelM(lean_object*); -lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__4(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*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__5; @@ -909,19 +757,18 @@ lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spe extern lean_object* l_Lean_firstFrontendMacroScope; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__3(lean_object*); -lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__3; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___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_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object*); +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__3; -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__1; uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__8; lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__4___rarg(lean_object*, lean_object*); @@ -930,51 +777,39 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_ lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_process___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__6; lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___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_Elab_Term_elabEnsureExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Context_implicitLambda___default; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam_x27_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___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*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4; static lean_object* l_Lean_Elab_Term_resolveName_process___closed__1; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); -static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13; lean_object* l_Lean_Meta_mkPure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__10; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__3(lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12___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_throwTypeMismatchError_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Term_addAutoBoundImplicits___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___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); -static lean_object* l_Lean_Elab_Term_elabCharLit___closed__3; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19___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*); -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__4; lean_object* l_List_replace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__8___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Context_autoBoundImplicit___default; @@ -982,41 +817,32 @@ lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Ela lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo___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_throwTypeMismatchError(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__10; -lean_object* l___regBuiltin_Lean_Elab_Term_elabSort(lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__2; -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; 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___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*, 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*); lean_object* l_Lean_Elab_Term_evalExpr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4; static lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; +lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object*); lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(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*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__6; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__13; lean_object* l_Lean_Elab_Term_evalExpr(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2(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_elabOpen(lean_object*); lean_object* l_Lean_throwError___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* l_Lean_Elab_Term_elabCharLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__4(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1026,42 +852,34 @@ lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6(lean_obje lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2; lean_object* l_Lean_Elab_Term_Context_sectionVars___default; static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__2; lean_object* l_Lean_Elab_Term_resolveId_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg(lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11(lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14; lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12(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_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(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_instMonadInfoTreeTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__18; lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__15; -lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___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_instMonadQuotationTermElabM; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__18; lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_Elab_Term_instInhabitedSavedState___closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__1; lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__3; -lean_object* l_Lean_Elab_Term_elabOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___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* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__8(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_Lean_Expr_FindImpl_initCache; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); @@ -1069,16 +887,15 @@ lean_object* l_Lean_Elab_Term_resolveName___lambda__4___boxed(lean_object*, lean lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(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*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1; +lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4; uint8_t l_UInt32_decEq(uint32_t, uint32_t); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__17; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__10; static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra_match__1(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -1086,7 +903,6 @@ lean_object* l_Lean_Elab_isAutoBoundImplicitLocalException_x3f(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4; lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext; -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__2(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*, size_t, size_t); @@ -1095,12 +911,10 @@ lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__9; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__3; @@ -1109,73 +923,60 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLam lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM; lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2(uint8_t, 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_instMonadTermElabM; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; static lean_object* l_Lean_Elab_Term_instToStringLVal___closed__1; -lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__1; uint8_t l_Lean_Elab_Term_LVal_isFieldName(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkLevelSucc(lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_postponeExceptionId; lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg(lean_object*); lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1(lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; static lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; -lean_object* l_Lean_Elab_Term_elabScientificLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__1; lean_object* l_Lean_Elab_Term_addDotCompletionInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__4; lean_object* l_Lean_Elab_Term_resetMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__6; +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___boxed(lean_object*); lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabCharLit___closed__4; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkApp(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1; -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__9; lean_object* l_Lean_Elab_Term_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Context_declName_x3f___default; static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__4; lean_object* l_Lean_Elab_Term_withMacroExpansion___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_Elab_Term_instMetaEvalTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__1; lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1; lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__2; -lean_object* l_Lean_Elab_Term_ensureType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabNoImplicitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1(lean_object*); extern lean_object* l_Lean_KVMap_empty; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__11___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*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1186,48 +987,36 @@ lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, static lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__2; lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM_match__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__8; extern lean_object* l_Lean_Core_instMonadCoreM; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; lean_object* l_Lean_MacroScopesView_review(lean_object*); -lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isTypeApp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_elabOpen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__2; static lean_object* l_Lean_Elab_Term_resolveName_x27___closed__2; lean_object* l_Lean_Elab_Term_assignLevelMVar___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_Term_0__Lean_Elab_Term_elabImplicitLambda___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_applyAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; -lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___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_addTermInfo(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_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_State_syntheticMVars___default; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__1; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo(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_isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2; static lean_object* l_Lean_Elab_Term_instToStringLVal___closed__2; lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___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* l_Lean_Elab_Term_elabEnsureTypeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___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_instMonadTermElabM___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7; lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__2; @@ -1239,19 +1028,16 @@ lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2___boxed static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; lean_object* l_Lean_Elab_Term_mkAuxName_match__1(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_saveContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__3; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState(lean_object*); lean_object* l_Lean_Elab_Term_Context_sectionFVars___default; -static lean_object* l_Lean_Elab_Term_elabCharLit___closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__2; -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__6; -static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1; -lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__1; @@ -1260,17 +1046,13 @@ extern lean_object* l_Lean_Elab_pp_macroStack; static lean_object* l_Lean_Elab_Term_resolveName_x27___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__11(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*); static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; static lean_object* l_Lean_Elab_Term_mkConst___closed__1; lean_object* l_Lean_Elab_Term_isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__9; static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__1; lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_adaptExpander___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_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabCharLit___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_elabHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1; lean_object* l_Lean_Elab_Term_resolveName_x27___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_Context_macroStack___default; @@ -1278,21 +1060,15 @@ static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__17; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__1(lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object*); -lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__2; lean_object* l_Lean_Elab_Term_withSavedContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5; 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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -1301,18 +1077,16 @@ lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__8(lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___boxed(lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Context_currMacroScope___default; lean_object* l_Lean_Elab_Term_observing___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___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object*); lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___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_elabPipeCompletion___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_resolveName_x27_match__6(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__8; uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_11_(uint8_t, uint8_t); @@ -1322,46 +1096,31 @@ lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); 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*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object*); -static lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1; lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; -lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__1; -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; lean_object* l_Lean_Elab_Term_resolveName_x27_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1(lean_object*, lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___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_LVal_getRef_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_evalExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, 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*); 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*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___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*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3; lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_process___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_Syntax_isNameLit_x3f(lean_object*); -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2; lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Elab_Term_evalExpr___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(lean_object*, lean_object*); @@ -1369,38 +1128,30 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_T static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__5; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__5; lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__3; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__10; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; -static lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabByTactic___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); lean_object* l_Lean_Elab_Term_getLetRecsToLift___boxed(lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_withSavedContext(lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7; lean_object* l_Lean_Elab_Term_addDotCompletionInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3; +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1409,26 +1160,19 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__3; lean_object* l_Lean_Elab_Term_applyResult_match__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_isFieldName_match__1(lean_object*); -lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__2; -lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2; +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*); -static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1; lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_setMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10___boxed(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*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1436,7 +1180,6 @@ lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1___boxed(lean_o lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); -static lean_object* l_Lean_Elab_Term_elabByTactic___closed__1; lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(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_instMetaEvalTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__6; @@ -1447,6 +1190,7 @@ static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__7; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1458,13 +1202,12 @@ lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_obj lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3; lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388_(lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__10; lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2; @@ -1475,24 +1218,20 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName_process___closed__2; -static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_elabRawNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__6; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10(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_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__1; lean_object* l_Lean_Elab_Term_mkTermInfo___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*); static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2; lean_object* l_Lean_Elab_Term_resolveName_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__4(lean_object*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__5___rarg(lean_object*, lean_object*); -lean_object* l_Lean_mkNatLit(lean_object*); -lean_object* l_Lean_mkStrLit(lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__2; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1(lean_object*); @@ -1507,13 +1246,10 @@ lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___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* l_Lean_Elab_Term_resolveName_x27_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___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*); @@ -1523,7 +1259,6 @@ uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*) lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_scopedEnvExtensionsRef; uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__2; lean_object* l_Lean_Elab_Term_instInhabitedSavedState; @@ -1532,21 +1267,15 @@ lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__6(lean_object*, lean_ static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3; static lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___closed__1; lean_object* l_Lean_Elab_Term_hasNoImplicitLambdaAnnotation___boxed(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__1; lean_object* l_Lean_Elab_Term_applyResult(lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__13; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__2___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___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*); -lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__5; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(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_throwMVarError(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabDoubleQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__12___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_observing___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1555,43 +1284,40 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; lean_object* l_Lean_Elab_Term_setMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__14; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; -static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__12; uint8_t lean_level_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object*); lean_object* l_Lean_Message_toString(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___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_elabCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabScientificLit_match__1(lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__16; +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_mkBVar(lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_elabStrLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__4; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__4; lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__12; lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object*); lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___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_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1601,29 +1327,21 @@ static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; static lean_object* l_Lean_Elab_Term_resolveName___closed__1; static lean_object* l_Lean_Elab_Term_mkAuxName___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12(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*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__3; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__4; lean_object* l_Lean_mkSimpleThunk(lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(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_elabSetOption(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3; 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_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6(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_Term_0__Lean_Elab_Term_elabUsingElabFns___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_withoutModifyingElabMetaState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4; lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_uint32_to_nat(uint32_t); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__4; -lean_object* l_Lean_Elab_Term_elabScientificLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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*, lean_object*); @@ -1638,17 +1356,12 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam_x27_match__1(lean_object*); extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__1; lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -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_resolveName_process___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_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_throwError___at_Lean_Elab_Term_elabOpen___spec__6(lean_object*, 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*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5; -lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12___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_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(lean_object*, lean_object*, uint8_t); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1659,18 +1372,14 @@ static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__8; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__11; lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__3; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_getRef_match__1(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1; lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__3; -static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__5; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -1679,56 +1388,39 @@ lean_object* l_Lean_Elab_Term_getMainModule___rarg___boxed(lean_object*, lean_ob uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Declaration_foldExprM___at_Lean_Elab_Term_evalExpr___spec__7(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_elabRawNatLit___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_isMonadApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_process___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*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__7; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; -lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_Elab_Term_resolveId_x3f___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__2; lean_object* l_Lean_Elab_Term_applyAttributes___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_Term_0__Lean_Elab_Term_dropTermParens(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__2; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__2(lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__13; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__2; -lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -uint8_t l_Lean_Expr_isSorry(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5; static lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__4___closed__1; -static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkAuxName___closed__2; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5; -lean_object* l_Lean_Elab_Term_elabNumLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3; +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object*); lean_object* l_Std_HashSetImp_contains___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5; -uint8_t l_Lean_Syntax_isIdent(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__5; static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___boxed(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_Elab_Term_Context_mayPostpone___default; -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; lean_object* lean_add_decl(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__4___boxed(lean_object*); @@ -4317,265 +4009,57 @@ return x_9; lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___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) { _start: { -lean_object* x_9; lean_object* x_10; 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_55; -x_28 = l_Lean_Elab_Term_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} +lean_object* x_9; 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_55 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_30); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; uint8_t x_63; -lean_dec(x_31); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_Elab_Term_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = 1; -x_62 = l_Lean_Elab_Term_SavedState_restore(x_29, x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_60); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_62, 1); -x_65 = lean_ctor_get(x_62, 0); -lean_dec(x_65); -lean_ctor_set(x_62, 1, x_59); -lean_ctor_set(x_62, 0, x_56); -x_9 = x_62; -x_10 = x_64; -goto block_27; -} -else -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_62, 1); -lean_inc(x_66); -lean_dec(x_62); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_56); -lean_ctor_set(x_67, 1, x_59); -x_9 = x_67; -x_10 = x_66; -goto block_27; -} -} -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_55, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_55, 1); -lean_inc(x_69); -lean_dec(x_55); -x_32 = x_68; -x_33 = x_69; -goto block_54; -} -block_27: -{ +x_9 = l_Lean_Elab_Term_observing___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); lean_dec(x_9); -x_13 = 1; -x_14 = l_Lean_Elab_Term_SavedState_restore(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +x_12 = l_Lean_Elab_Term_applyResult___rarg(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_11); 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_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_11); -return x_14; +return x_12; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} +uint8_t x_13; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_ctor_get(x_9, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); lean_dec(x_9); -x_21 = 1; -x_22 = l_Lean_Elab_Term_SavedState_restore(x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -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_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set_tag(x_22, 1); -lean_ctor_set(x_22, 0, x_19); -return x_22; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -block_54: -{ -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = 1; -x_38 = l_Lean_Elab_Term_SavedState_restore(x_29, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_36); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_38, 1); -x_41 = lean_ctor_get(x_38, 0); -lean_dec(x_41); -lean_ctor_set_tag(x_38, 1); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 0, x_32); -x_9 = x_38; -x_10 = x_40; -goto block_27; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_38, 1); -lean_inc(x_42); -lean_dec(x_38); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_32); -lean_ctor_set(x_43, 1, x_35); -x_9 = x_43; -x_10 = x_42; -goto block_27; -} -} -else -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_ctor_get(x_32, 0); -lean_inc(x_44); -x_45 = l_Lean_Elab_postponeExceptionId; -x_46 = lean_nat_dec_eq(x_44, x_45); -lean_dec(x_44); -if (x_46 == 0) -{ -lean_object* x_47; -lean_dec(x_29); -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_is_scalar(x_31)) { - x_47 = lean_alloc_ctor(1, 2, 0); -} else { - x_47 = x_31; - lean_ctor_set_tag(x_47, 1); -} -lean_ctor_set(x_47, 0, x_32); -lean_ctor_set(x_47, 1, x_33); -return x_47; -} -else -{ -uint8_t x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_31); -x_48 = 1; -x_49 = l_Lean_Elab_Term_SavedState_restore(x_29, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_33); -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_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_32); -return x_49; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_32); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } } @@ -4588,202 +4072,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_commitIfDidNotPostpone___rarg) return x_2; } } -lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaState___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) { -_start: -{ -lean_object* x_9; 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_st_ref_get(x_7, x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_get(x_3, x_23); -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_st_ref_get(x_7, x_26); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_st_ref_get(x_5, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_3); -x_32 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_32) == 0) -{ -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; uint8_t x_42; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_st_ref_get(x_7, x_34); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_st_ref_set(x_3, x_25, x_36); -lean_dec(x_3); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_get(x_7, x_38); -lean_dec(x_7); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_set(x_5, x_30, x_40); -lean_dec(x_5); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_33); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_41, 0, x_44); -x_9 = x_41; -goto block_21; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_41, 0); -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_41); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_33); -lean_ctor_set(x_47, 1, x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_9 = x_48; -goto block_21; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_49 = lean_ctor_get(x_32, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_32, 1); -lean_inc(x_50); -lean_dec(x_32); -x_51 = lean_st_ref_get(x_7, x_50); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_st_ref_set(x_3, x_25, x_52); -lean_dec(x_3); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_55 = lean_st_ref_get(x_7, x_54); -lean_dec(x_7); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_st_ref_set(x_5, x_30, x_56); -lean_dec(x_5); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 1); -lean_ctor_set(x_57, 0, x_49); -x_9 = x_57; -goto block_21; -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_49); -lean_ctor_set(x_61, 1, x_60); -x_9 = x_61; -goto block_21; -} -} -block_21: -{ -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -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) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -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_Elab_Term_withoutModifyingElabMetaState(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutModifyingElabMetaState___rarg), 8, 0); -return x_2; -} -} lean_object* l_Lean_Elab_Term_getLevelNames___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: { @@ -4921,7 +4209,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_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; x_2 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3; -x_3 = lean_unsigned_to_nat(287u); +x_3 = lean_unsigned_to_nat(273u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -5747,149 +5035,9 @@ return x_2; lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_st_ref_take(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_is_exclusive(x_11); -if (x_13 == 0) -{ -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_14 = lean_ctor_get(x_11, 1); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_14, x_15); -lean_ctor_set(x_11, 1, x_16); -x_17 = lean_st_ref_set(x_8, x_11, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = !lean_is_exclusive(x_3); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_3, 4); -lean_dec(x_20); -lean_ctor_set(x_3, 4, x_14); -x_21 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_22 = lean_ctor_get(x_3, 0); -x_23 = lean_ctor_get(x_3, 1); -x_24 = lean_ctor_get(x_3, 2); -x_25 = lean_ctor_get(x_3, 3); -x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_29 = lean_ctor_get(x_3, 5); -x_30 = lean_ctor_get(x_3, 6); -x_31 = lean_ctor_get(x_3, 7); -x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_3); -x_33 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_33, 0, x_22); -lean_ctor_set(x_33, 1, x_23); -lean_ctor_set(x_33, 2, x_24); -lean_ctor_set(x_33, 3, x_25); -lean_ctor_set(x_33, 4, x_14); -lean_ctor_set(x_33, 5, x_29); -lean_ctor_set(x_33, 6, x_30); -lean_ctor_set(x_33, 7, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_26); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 1, x_27); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 2, x_28); -lean_ctor_set_uint8(x_33, sizeof(void*)*8 + 3, x_32); -x_34 = lean_apply_7(x_2, x_33, x_4, x_5, x_6, x_7, x_8, x_18); -return x_34; -} -} -else -{ -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; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_35 = lean_ctor_get(x_11, 0); -x_36 = lean_ctor_get(x_11, 1); -x_37 = lean_ctor_get(x_11, 2); -x_38 = lean_ctor_get(x_11, 3); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_11); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_add(x_36, x_39); -x_41 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_37); -lean_ctor_set(x_41, 3, x_38); -x_42 = lean_st_ref_set(x_8, x_41, x_12); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -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(x_3, 3); -lean_inc(x_47); -x_48 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_50 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -x_51 = lean_ctor_get(x_3, 5); -lean_inc(x_51); -x_52 = lean_ctor_get(x_3, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_3, 7); -lean_inc(x_53); -x_54 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - x_55 = x_3; -} else { - lean_dec_ref(x_3); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 8, 4); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_44); -lean_ctor_set(x_56, 1, x_45); -lean_ctor_set(x_56, 2, x_46); -lean_ctor_set(x_56, 3, x_47); -lean_ctor_set(x_56, 4, x_36); -lean_ctor_set(x_56, 5, x_51); -lean_ctor_set(x_56, 6, x_52); -lean_ctor_set(x_56, 7, x_53); -lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_48); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 1, x_49); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 2, x_50); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 3, x_54); -x_57 = lean_apply_7(x_2, x_56, x_4, x_5, x_6, x_7, x_8, x_43); -return x_57; -} +lean_object* x_10; +x_10 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; } } static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1() { @@ -6300,6 +5448,2775 @@ lean_dec(x_2); return x_9; } } +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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) { +_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; 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_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_get(x_1, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 5); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_5, x_11); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_take(x_1, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 5); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 5); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_18, 1); +lean_dec(x_23); +x_24 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +lean_ctor_set(x_18, 1, x_24); +x_25 = lean_st_ref_set(x_1, x_17, x_19); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_13); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_13); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_30 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +x_31 = lean_ctor_get(x_18, 0); +lean_inc(x_31); +lean_dec(x_18); +x_32 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +x_33 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*2, x_30); +lean_ctor_set(x_17, 5, x_33); +x_34 = lean_st_ref_set(x_1, x_17, x_19); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_38 = lean_ctor_get(x_17, 0); +x_39 = lean_ctor_get(x_17, 1); +x_40 = lean_ctor_get(x_17, 2); +x_41 = lean_ctor_get(x_17, 3); +x_42 = lean_ctor_get(x_17, 4); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_17); +x_43 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +x_44 = lean_ctor_get(x_18, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_45 = x_18; +} else { + lean_dec_ref(x_18); + x_45 = lean_box(0); +} +x_46 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(0, 2, 1); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set_uint8(x_47, sizeof(void*)*2, x_43); +x_48 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_48, 0, x_38); +lean_ctor_set(x_48, 1, x_39); +lean_ctor_set(x_48, 2, x_40); +lean_ctor_set(x_48, 3, x_41); +lean_ctor_set(x_48, 4, x_42); +lean_ctor_set(x_48, 5, x_47); +x_49 = lean_st_ref_set(x_1, x_48, x_19); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_51 = x_49; +} else { + lean_dec_ref(x_49); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_13); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg___boxed), 6, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_19 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = x_20; +x_25 = lean_array_uset(x_17, x_3, x_24); +x_3 = x_23; +x_4 = x_25; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; +goto _start; +} +} +} +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = x_11; +x_15 = lean_box_usize(x_13); +x_16 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1; +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5___boxed), 11, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_14); +x_18 = x_17; +x_19 = lean_apply_7(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_2, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +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; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +lean_dec(x_2); +x_30 = lean_array_get_size(x_29); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = x_29; +x_33 = lean_box_usize(x_31); +x_34 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5___boxed), 11, 4); +lean_closure_set(x_35, 0, x_1); +lean_closure_set(x_35, 1, x_33); +lean_closure_set(x_35, 2, x_34); +lean_closure_set(x_35, 3, x_32); +x_36 = x_35; +x_37 = lean_apply_7(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_38); +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; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_2); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; size_t 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_48 = lean_ctor_get(x_2, 0); +x_49 = lean_array_get_size(x_48); +x_50 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_51 = x_48; +x_52 = lean_box_usize(x_50); +x_53 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1; +x_54 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6___boxed), 11, 4); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_52); +lean_closure_set(x_54, 2, x_53); +lean_closure_set(x_54, 3, x_51); +x_55 = x_54; +x_56 = lean_apply_7(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_ctor_set(x_2, 0, x_58); +lean_ctor_set(x_56, 0, x_2); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_56); +lean_ctor_set(x_2, 0, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_2); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +uint8_t x_62; +lean_free_object(x_2); +x_62 = !lean_is_exclusive(x_56); +if (x_62 == 0) +{ +return x_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_56, 0); +x_64 = lean_ctor_get(x_56, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_56); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; size_t 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_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_67 = lean_array_get_size(x_66); +x_68 = lean_usize_of_nat(x_67); +lean_dec(x_67); +x_69 = x_66; +x_70 = lean_box_usize(x_68); +x_71 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1; +x_72 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6___boxed), 11, 4); +lean_closure_set(x_72, 0, x_1); +lean_closure_set(x_72, 1, x_70); +lean_closure_set(x_72, 2, x_71); +lean_closure_set(x_72, 3, x_69); +x_73 = x_72; +x_74 = lean_apply_7(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_79; +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); +} +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_75); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_74, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_82 = x_74; +} else { + lean_dec_ref(x_74); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; +goto _start; +} +} +} +static lean_object* _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_ctor_get(x_2, 2); +x_14 = lean_ctor_get(x_2, 3); +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_1); +x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t 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; +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_array_get_size(x_12); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = x_12; +x_21 = lean_box_usize(x_19); +x_22 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1; +x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7___boxed), 11, 4); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_22); +lean_closure_set(x_23, 3, x_20); +x_24 = x_23; +x_25 = lean_apply_7(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_2, 1, x_27); +lean_ctor_set(x_2, 0, x_16); +lean_ctor_set(x_25, 0, x_2); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_16); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_1); +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) +{ +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_15); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); +x_41 = lean_ctor_get(x_2, 2); +x_42 = lean_ctor_get_usize(x_2, 4); +x_43 = lean_ctor_get(x_2, 3); +lean_inc(x_43); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_2); +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_1); +x_44 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t 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; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_40); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = x_40; +x_50 = lean_box_usize(x_48); +x_51 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1; +x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7___boxed), 11, 4); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_50); +lean_closure_set(x_52, 2, x_51); +lean_closure_set(x_52, 3, x_49); +x_53 = x_52; +x_54 = lean_apply_7(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_41); +lean_ctor_set(x_58, 3, x_43); +lean_ctor_set_usize(x_58, 4, x_42); +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; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_45); +lean_dec(x_43); +lean_dec(x_41); +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(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_1); +x_64 = lean_ctor_get(x_44, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_44, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_66 = x_44; +} else { + lean_dec_ref(x_44); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_19 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = x_20; +x_25 = lean_array_uset(x_17, x_3, x_24); +x_3 = x_23; +x_4 = x_25; +x_11 = x_21; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; +goto _start; +} +} +} +static lean_object* _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = x_11; +x_15 = lean_box_usize(x_13); +x_16 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1; +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___boxed), 11, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_14); +x_18 = x_17; +x_19 = lean_apply_7(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set(x_19, 0, x_2); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_2, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +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; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +lean_dec(x_2); +x_30 = lean_array_get_size(x_29); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = x_29; +x_33 = lean_box_usize(x_31); +x_34 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___boxed), 11, 4); +lean_closure_set(x_35, 0, x_1); +lean_closure_set(x_35, 1, x_33); +lean_closure_set(x_35, 2, x_34); +lean_closure_set(x_35, 3, x_32); +x_36 = x_35; +x_37 = lean_apply_7(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_38); +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; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_2); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; size_t 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_48 = lean_ctor_get(x_2, 0); +x_49 = lean_array_get_size(x_48); +x_50 = lean_usize_of_nat(x_49); +lean_dec(x_49); +x_51 = x_48; +x_52 = lean_box_usize(x_50); +x_53 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1; +x_54 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11___boxed), 11, 4); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_52); +lean_closure_set(x_54, 2, x_53); +lean_closure_set(x_54, 3, x_51); +x_55 = x_54; +x_56 = lean_apply_7(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_ctor_set(x_2, 0, x_58); +lean_ctor_set(x_56, 0, x_2); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_56); +lean_ctor_set(x_2, 0, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_2); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +uint8_t x_62; +lean_free_object(x_2); +x_62 = !lean_is_exclusive(x_56); +if (x_62 == 0) +{ +return x_56; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_56, 0); +x_64 = lean_ctor_get(x_56, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_56); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; size_t 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_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_67 = lean_array_get_size(x_66); +x_68 = lean_usize_of_nat(x_67); +lean_dec(x_67); +x_69 = x_66; +x_70 = lean_box_usize(x_68); +x_71 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1; +x_72 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11___boxed), 11, 4); +lean_closure_set(x_72, 0, x_1); +lean_closure_set(x_72, 1, x_70); +lean_closure_set(x_72, 2, x_71); +lean_closure_set(x_72, 3, x_69); +x_73 = x_72; +x_74 = lean_apply_7(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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_79; +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); +} +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_75); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_74, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_82 = x_74; +} else { + lean_dec_ref(x_74); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12(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_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = x_4; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +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; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; +x_15 = lean_array_uget(x_4, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_4, x_3, x_16); +x_18 = x_15; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_InfoTree_substitute(x_18, x_19); +x_21 = lean_st_ref_get(x_10, x_11); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_5, 1); +x_26 = lean_st_ref_get(x_10, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_get(x_8, 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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 4); +x_34 = lean_ctor_get(x_9, 5); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_25); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +lean_ctor_set(x_35, 4, x_33); +lean_ctor_set(x_35, 5, 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_20); +x_37 = 1; +x_38 = x_3 + x_37; +x_39 = x_36; +x_40 = lean_array_uset(x_17, x_3, x_39); +x_3 = x_38; +x_4 = x_40; +x_11 = x_30; +goto _start; +} +} +} +static lean_object* _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_ctor_get(x_2, 2); +x_14 = lean_ctor_get(x_2, 3); +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_1); +x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t 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; +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_array_get_size(x_12); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = x_12; +x_21 = lean_box_usize(x_19); +x_22 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1; +x_23 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12___boxed), 11, 4); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_22); +lean_closure_set(x_23, 3, x_20); +x_24 = x_23; +x_25 = lean_apply_7(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_2, 1, x_27); +lean_ctor_set(x_2, 0, x_16); +lean_ctor_set(x_25, 0, x_2); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_16); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_16); +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(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_1); +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) +{ +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_15); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); +x_41 = lean_ctor_get(x_2, 2); +x_42 = lean_ctor_get_usize(x_2, 4); +x_43 = lean_ctor_get(x_2, 3); +lean_inc(x_43); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_2); +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_1); +x_44 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t 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; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_40); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = x_40; +x_50 = lean_box_usize(x_48); +x_51 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1; +x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12___boxed), 11, 4); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_50); +lean_closure_set(x_52, 2, x_51); +lean_closure_set(x_52, 3, x_49); +x_53 = x_52; +x_54 = lean_apply_7(x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_41); +lean_ctor_set(x_58, 3, x_43); +lean_ctor_set_usize(x_58, 4, x_42); +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; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_45); +lean_dec(x_43); +lean_dec(x_41); +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_43); +lean_dec(x_41); +lean_dec(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_1); +x_64 = lean_ctor_get(x_44, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_44, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_66 = x_44; +} else { + lean_dec_ref(x_44); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__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, 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; uint8_t x_14; +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_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +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_21 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +if (lean_obj_tag(x_21) == 0) +{ +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; +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_st_ref_get(x_7, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_3, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 5); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_inc(x_7); +lean_inc(x_3); +x_31 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3(x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_28); +if (lean_obj_tag(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; uint8_t x_40; +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 = lean_st_ref_get(x_7, x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_take(x_3, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 5); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 5); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +lean_ctor_set(x_38, 1, x_44); +x_45 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_22); +return x_45; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_22); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +uint8_t 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_50 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_51 = lean_ctor_get(x_38, 0); +lean_inc(x_51); +lean_dec(x_38); +x_52 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +x_53 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_50); +lean_ctor_set(x_37, 5, x_53); +x_54 = lean_st_ref_set(x_3, x_37, x_39); +lean_dec(x_3); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_56 = x_54; +} else { + lean_dec_ref(x_54); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_22); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; 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; +x_58 = lean_ctor_get(x_37, 0); +x_59 = lean_ctor_get(x_37, 1); +x_60 = lean_ctor_get(x_37, 2); +x_61 = lean_ctor_get(x_37, 3); +x_62 = lean_ctor_get(x_37, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_37); +x_63 = lean_ctor_get_uint8(x_38, sizeof(void*)*2); +x_64 = lean_ctor_get(x_38, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_65 = x_38; +} else { + lean_dec_ref(x_38); + x_65 = lean_box(0); +} +x_66 = l_Std_PersistentArray_append___rarg(x_19, x_32); +lean_dec(x_32); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 1); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_63); +x_68 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_68, 0, x_58); +lean_ctor_set(x_68, 1, x_59); +lean_ctor_set(x_68, 2, x_60); +lean_ctor_set(x_68, 3, x_61); +lean_ctor_set(x_68, 4, x_62); +lean_ctor_set(x_68, 5, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_39); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_22); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_3); +x_73 = !lean_is_exclusive(x_31); +if (x_73 == 0) +{ +return x_31; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_31, 0); +x_75 = lean_ctor_get(x_31, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_31); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +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_77 = lean_ctor_get(x_21, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_21, 1); +lean_inc(x_78); +lean_dec(x_21); +x_79 = lean_st_ref_get(x_7, x_78); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = lean_st_ref_get(x_3, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 5); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_inc(x_7); +lean_inc(x_3); +x_86 = l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8(x_84, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_83); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_st_ref_get(x_7, x_88); +lean_dec(x_7); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_st_ref_take(x_3, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 5); +lean_inc(x_93); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_92, 5); +lean_dec(x_96); +x_97 = !lean_is_exclusive(x_93); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_ctor_get(x_93, 1); +lean_dec(x_98); +x_99 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +lean_ctor_set(x_93, 1, x_99); +x_100 = lean_st_ref_set(x_3, x_92, x_94); +lean_dec(x_3); +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_100, 0); +lean_dec(x_102); +lean_ctor_set_tag(x_100, 1); +lean_ctor_set(x_100, 0, x_77); +return x_100; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_77); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +else +{ +uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_105 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); +x_106 = lean_ctor_get(x_93, 0); +lean_inc(x_106); +lean_dec(x_93); +x_107 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +x_108 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_105); +lean_ctor_set(x_92, 5, x_108); +x_109 = lean_st_ref_set(x_3, x_92, x_94); +lean_dec(x_3); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_111 = x_109; +} else { + lean_dec_ref(x_109); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; + lean_ctor_set_tag(x_112, 1); +} +lean_ctor_set(x_112, 0, x_77); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_113 = lean_ctor_get(x_92, 0); +x_114 = lean_ctor_get(x_92, 1); +x_115 = lean_ctor_get(x_92, 2); +x_116 = lean_ctor_get(x_92, 3); +x_117 = lean_ctor_get(x_92, 4); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_92); +x_118 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); +x_119 = lean_ctor_get(x_93, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_120 = x_93; +} else { + lean_dec_ref(x_93); + x_120 = lean_box(0); +} +x_121 = l_Std_PersistentArray_append___rarg(x_19, x_87); +lean_dec(x_87); +if (lean_is_scalar(x_120)) { + x_122 = lean_alloc_ctor(0, 2, 1); +} else { + x_122 = x_120; +} +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set_uint8(x_122, sizeof(void*)*2, x_118); +x_123 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_123, 0, x_113); +lean_ctor_set(x_123, 1, x_114); +lean_ctor_set(x_123, 2, x_115); +lean_ctor_set(x_123, 3, x_116); +lean_ctor_set(x_123, 4, x_117); +lean_ctor_set(x_123, 5, x_122); +x_124 = lean_st_ref_set(x_3, x_123, x_94); +lean_dec(x_3); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 2, 0); +} else { + x_127 = x_126; + lean_ctor_set_tag(x_127, 1); +} +lean_ctor_set(x_127, 0, x_77); +lean_ctor_set(x_127, 1, x_125); +return x_127; +} +} +else +{ +uint8_t x_128; +lean_dec(x_77); +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_3); +x_128 = !lean_is_exclusive(x_86); +if (x_128 == 0) +{ +return x_86; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_86, 0); +x_130 = lean_ctor_get(x_86, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_86); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +} +} +} +lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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) { +_start: +{ +lean_object* x_9; 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_st_ref_get(x_7, x_8); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_get(x_3, x_23); +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_st_ref_get(x_7, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_5, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_7); +lean_inc(x_5); +lean_inc(x_3); +x_32 = l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_31); +if (lean_obj_tag(x_32) == 0) +{ +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; uint8_t x_45; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_7, x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_3, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_25, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_25, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_25, 2); +lean_inc(x_42); +x_43 = lean_ctor_get(x_25, 3); +lean_inc(x_43); +x_44 = lean_ctor_get(x_25, 4); +lean_inc(x_44); +lean_dec(x_25); +x_45 = !lean_is_exclusive(x_38); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_46 = lean_ctor_get(x_38, 4); +lean_dec(x_46); +x_47 = lean_ctor_get(x_38, 3); +lean_dec(x_47); +x_48 = lean_ctor_get(x_38, 2); +lean_dec(x_48); +x_49 = lean_ctor_get(x_38, 1); +lean_dec(x_49); +x_50 = lean_ctor_get(x_38, 0); +lean_dec(x_50); +lean_ctor_set(x_38, 4, x_44); +lean_ctor_set(x_38, 3, x_43); +lean_ctor_set(x_38, 2, x_42); +lean_ctor_set(x_38, 1, x_41); +lean_ctor_set(x_38, 0, x_40); +x_51 = lean_st_ref_set(x_3, x_38, x_39); +lean_dec(x_3); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_get(x_7, x_52); +lean_dec(x_7); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_st_ref_set(x_5, x_30, x_54); +lean_dec(x_5); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_33); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_55, 0, x_58); +x_9 = x_55; +goto block_21; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_33); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_9 = x_62; +goto block_21; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_63 = lean_ctor_get(x_38, 5); +lean_inc(x_63); +lean_dec(x_38); +x_64 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_64, 0, x_40); +lean_ctor_set(x_64, 1, x_41); +lean_ctor_set(x_64, 2, x_42); +lean_ctor_set(x_64, 3, x_43); +lean_ctor_set(x_64, 4, x_44); +lean_ctor_set(x_64, 5, x_63); +x_65 = lean_st_ref_set(x_3, x_64, x_39); +lean_dec(x_3); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_get(x_7, x_66); +lean_dec(x_7); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_st_ref_set(x_5, x_30, x_68); +lean_dec(x_5); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_72 = x_69; +} else { + lean_dec_ref(x_69); + x_72 = lean_box(0); +} +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_33); +lean_ctor_set(x_73, 1, x_70); +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_72; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +x_9 = x_74; +goto block_21; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_75 = lean_ctor_get(x_32, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_32, 1); +lean_inc(x_76); +lean_dec(x_32); +x_77 = lean_st_ref_get(x_7, x_76); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_st_ref_take(x_3, x_78); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ctor_get(x_25, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_25, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_25, 2); +lean_inc(x_84); +x_85 = lean_ctor_get(x_25, 3); +lean_inc(x_85); +x_86 = lean_ctor_get(x_25, 4); +lean_inc(x_86); +lean_dec(x_25); +x_87 = !lean_is_exclusive(x_80); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_88 = lean_ctor_get(x_80, 4); +lean_dec(x_88); +x_89 = lean_ctor_get(x_80, 3); +lean_dec(x_89); +x_90 = lean_ctor_get(x_80, 2); +lean_dec(x_90); +x_91 = lean_ctor_get(x_80, 1); +lean_dec(x_91); +x_92 = lean_ctor_get(x_80, 0); +lean_dec(x_92); +lean_ctor_set(x_80, 4, x_86); +lean_ctor_set(x_80, 3, x_85); +lean_ctor_set(x_80, 2, x_84); +lean_ctor_set(x_80, 1, x_83); +lean_ctor_set(x_80, 0, x_82); +x_93 = lean_st_ref_set(x_3, x_80, x_81); +lean_dec(x_3); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_st_ref_get(x_7, x_94); +lean_dec(x_7); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_set(x_5, x_30, x_96); +lean_dec(x_5); +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) +{ +lean_object* x_99; +x_99 = lean_ctor_get(x_97, 0); +lean_dec(x_99); +lean_ctor_set_tag(x_97, 1); +lean_ctor_set(x_97, 0, x_75); +x_9 = x_97; +goto block_21; +} +else +{ +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_dec(x_97); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_75); +lean_ctor_set(x_101, 1, x_100); +x_9 = x_101; +goto block_21; +} +} +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_80, 5); +lean_inc(x_102); +lean_dec(x_80); +x_103 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_103, 0, x_82); +lean_ctor_set(x_103, 1, x_83); +lean_ctor_set(x_103, 2, x_84); +lean_ctor_set(x_103, 3, x_85); +lean_ctor_set(x_103, 4, x_86); +lean_ctor_set(x_103, 5, x_102); +x_104 = lean_st_ref_set(x_3, x_103, x_81); +lean_dec(x_3); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_get(x_7, x_105); +lean_dec(x_7); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_st_ref_set(x_5, x_30, x_107); +lean_dec(x_5); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_110 = x_108; +} else { + lean_dec_ref(x_108); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; + lean_ctor_set_tag(x_111, 1); +} +lean_ctor_set(x_111, 0, x_75); +lean_ctor_set(x_111, 1, x_109); +x_9 = x_111; +goto block_21; +} +} +block_21: +{ +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +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) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +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_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___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, 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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11___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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12___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_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} static lean_object* _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1() { _start: { @@ -6507,7 +8424,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1597_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1619_(lean_object* x_1) { _start: { lean_object* x_2; @@ -9236,594 +11153,515 @@ lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___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* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___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) { _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; 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_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_st_ref_get(x_1, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +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_9); -x_12 = lean_ctor_get(x_10, 5); -lean_inc(x_12); lean_dec(x_10); -x_13 = lean_ctor_get(x_12, 1); +x_12 = lean_st_ref_get(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_5, x_11); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); +x_14 = lean_ctor_get(x_13, 5); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*2); lean_dec(x_14); -x_16 = lean_st_ref_take(x_1, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 5); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +return x_17; +} +else +{ +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_12, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) +lean_dec(x_12); +x_19 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_22 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_17, 5); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_18, 1); -lean_dec(x_23); -x_24 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -lean_ctor_set(x_18, 1, x_24); -x_25 = lean_st_ref_set(x_1, x_17, x_19); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_13); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); +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_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_get(x_8, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_13); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -else -{ -uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -x_31 = lean_ctor_get(x_18, 0); +x_27 = lean_st_ref_get(x_4, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 5); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -lean_dec(x_18); -x_32 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -x_33 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*2, x_30); -lean_ctor_set(x_17, 5, x_33); -x_34 = lean_st_ref_set(x_1, x_17, x_19); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_36 = x_34; -} else { - lean_dec_ref(x_34); - x_36 = lean_box(0); +lean_dec(x_30); +lean_inc(x_8); +lean_inc(x_4); +x_32 = lean_apply_8(x_2, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_8, x_34); +lean_dec(x_8); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_4, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 5); +lean_inc(x_39); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = !lean_is_exclusive(x_38); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_38, 5); +lean_dec(x_42); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_39, 1); +lean_dec(x_44); +x_45 = l_Std_PersistentArray_push___rarg(x_20, x_33); +lean_ctor_set(x_39, 1, x_45); +x_46 = lean_st_ref_set(x_4, x_38, x_40); +lean_dec(x_4); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; +x_48 = lean_ctor_get(x_46, 0); +lean_dec(x_48); +lean_ctor_set(x_46, 0, x_23); +return x_46; } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_13); -lean_ctor_set(x_37, 1, x_35); -return x_37; +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_23); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_38 = lean_ctor_get(x_17, 0); -x_39 = lean_ctor_get(x_17, 1); -x_40 = lean_ctor_get(x_17, 2); -x_41 = lean_ctor_get(x_17, 3); -x_42 = lean_ctor_get(x_17, 4); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_17); -x_43 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -x_44 = lean_ctor_get(x_18, 0); -lean_inc(x_44); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_45 = x_18; +uint8_t 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_51 = lean_ctor_get_uint8(x_39, sizeof(void*)*2); +x_52 = lean_ctor_get(x_39, 0); +lean_inc(x_52); +lean_dec(x_39); +x_53 = l_Std_PersistentArray_push___rarg(x_20, x_33); +x_54 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set_uint8(x_54, sizeof(void*)*2, x_51); +lean_ctor_set(x_38, 5, x_54); +x_55 = lean_st_ref_set(x_4, x_38, x_40); +lean_dec(x_4); +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_18); - x_45 = lean_box(0); + lean_dec_ref(x_55); + x_57 = lean_box(0); } -x_46 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 2, 1); +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(0, 2, 0); } else { - x_47 = x_45; + x_58 = x_57; } -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set_uint8(x_47, sizeof(void*)*2, x_43); -x_48 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_48, 0, x_38); -lean_ctor_set(x_48, 1, x_39); -lean_ctor_set(x_48, 2, x_40); -lean_ctor_set(x_48, 3, x_41); -lean_ctor_set(x_48, 4, x_42); -lean_ctor_set(x_48, 5, x_47); -x_49 = lean_st_ref_set(x_1, x_48, x_19); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_51 = x_49; +lean_ctor_set(x_58, 0, x_23); +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; uint8_t 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; +x_59 = lean_ctor_get(x_38, 0); +x_60 = lean_ctor_get(x_38, 1); +x_61 = lean_ctor_get(x_38, 2); +x_62 = lean_ctor_get(x_38, 3); +x_63 = lean_ctor_get(x_38, 4); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_38); +x_64 = lean_ctor_get_uint8(x_39, sizeof(void*)*2); +x_65 = lean_ctor_get(x_39, 0); +lean_inc(x_65); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_66 = x_39; } else { - lean_dec_ref(x_49); - x_51 = lean_box(0); + lean_dec_ref(x_39); + x_66 = lean_box(0); } -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(0, 2, 0); +x_67 = l_Std_PersistentArray_push___rarg(x_20, x_33); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 1); } else { - x_52 = x_51; + x_68 = x_66; } -lean_ctor_set(x_52, 0, x_13); -lean_ctor_set(x_52, 1, x_50); -return x_52; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set_uint8(x_68, sizeof(void*)*2, x_64); +x_69 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_69, 0, x_59); +lean_ctor_set(x_69, 1, x_60); +lean_ctor_set(x_69, 2, x_61); +lean_ctor_set(x_69, 3, x_62); +lean_ctor_set(x_69, 4, x_63); +lean_ctor_set(x_69, 5, x_68); +x_70 = lean_st_ref_set(x_4, x_69, x_40); +lean_dec(x_4); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_23); +lean_ctor_set(x_73, 1, x_71); +return x_73; +} +} +else +{ +uint8_t x_74; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_8); +lean_dec(x_4); +x_74 = !lean_is_exclusive(x_32); +if (x_74 == 0) +{ +return x_32; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_32, 0); +x_76 = lean_ctor_get(x_32, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_32); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object* x_1) { +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_78 = lean_ctor_get(x_22, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_22, 1); +lean_inc(x_79); +lean_dec(x_22); +x_80 = lean_st_ref_get(x_8, x_79); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_st_ref_get(x_4, x_81); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_83, 5); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +lean_inc(x_8); +lean_inc(x_4); +x_87 = lean_apply_8(x_2, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_84); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_st_ref_get(x_8, x_89); +lean_dec(x_8); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_92 = lean_st_ref_take(x_4, x_91); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_93, 5); +lean_inc(x_94); +x_95 = lean_ctor_get(x_92, 1); +lean_inc(x_95); +lean_dec(x_92); +x_96 = !lean_is_exclusive(x_93); +if (x_96 == 0) +{ +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_93, 5); +lean_dec(x_97); +x_98 = !lean_is_exclusive(x_94); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_99 = lean_ctor_get(x_94, 1); +lean_dec(x_99); +x_100 = l_Std_PersistentArray_push___rarg(x_20, x_88); +lean_ctor_set(x_94, 1, x_100); +x_101 = lean_st_ref_set(x_4, x_93, x_95); +lean_dec(x_4); +x_102 = !lean_is_exclusive(x_101); +if (x_102 == 0) +{ +lean_object* x_103; +x_103 = lean_ctor_get(x_101, 0); +lean_dec(x_103); +lean_ctor_set_tag(x_101, 1); +lean_ctor_set(x_101, 0, x_78); +return x_101; +} +else +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +lean_dec(x_101); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_78); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +else +{ +uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_106 = lean_ctor_get_uint8(x_94, sizeof(void*)*2); +x_107 = lean_ctor_get(x_94, 0); +lean_inc(x_107); +lean_dec(x_94); +x_108 = l_Std_PersistentArray_push___rarg(x_20, x_88); +x_109 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set_uint8(x_109, sizeof(void*)*2, x_106); +lean_ctor_set(x_93, 5, x_109); +x_110 = lean_st_ref_set(x_4, x_93, x_95); +lean_dec(x_4); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; +} else { + lean_dec_ref(x_110); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; + lean_ctor_set_tag(x_113, 1); +} +lean_ctor_set(x_113, 0, x_78); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} +} +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; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_114 = lean_ctor_get(x_93, 0); +x_115 = lean_ctor_get(x_93, 1); +x_116 = lean_ctor_get(x_93, 2); +x_117 = lean_ctor_get(x_93, 3); +x_118 = lean_ctor_get(x_93, 4); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_93); +x_119 = lean_ctor_get_uint8(x_94, sizeof(void*)*2); +x_120 = lean_ctor_get(x_94, 0); +lean_inc(x_120); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_121 = x_94; +} else { + lean_dec_ref(x_94); + x_121 = lean_box(0); +} +x_122 = l_Std_PersistentArray_push___rarg(x_20, x_88); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(0, 2, 1); +} else { + x_123 = x_121; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set_uint8(x_123, sizeof(void*)*2, x_119); +x_124 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_124, 0, x_114); +lean_ctor_set(x_124, 1, x_115); +lean_ctor_set(x_124, 2, x_116); +lean_ctor_set(x_124, 3, x_117); +lean_ctor_set(x_124, 4, x_118); +lean_ctor_set(x_124, 5, x_123); +x_125 = lean_st_ref_set(x_4, x_124, x_95); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(1, 2, 0); +} else { + x_128 = x_127; + lean_ctor_set_tag(x_128, 1); +} +lean_ctor_set(x_128, 0, x_78); +lean_ctor_set(x_128, 1, x_126); +return x_128; +} +} +else +{ +uint8_t x_129; +lean_dec(x_78); +lean_dec(x_20); +lean_dec(x_8); +lean_dec(x_4); +x_129 = !lean_is_exclusive(x_87); +if (x_129 == 0) +{ +return x_87; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_87, 0); +x_131 = lean_ctor_get(x_87, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_87); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +} +} +} +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg), 9, 0); return x_2; } } +lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_1); +lean_ctor_set(x_12, 2, x_2); +x_13 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_10); +return x_15; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__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, 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_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -lean_dec(x_13); -x_20 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_5, x_6, x_7, x_8, x_9, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_9); -lean_inc(x_6); -lean_inc(x_5); -x_23 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_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_st_ref_get(x_9, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_get(x_5, 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_ctor_get(x_29, 5); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get(x_6, 1); -lean_inc(x_33); -lean_dec(x_6); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_1); -lean_ctor_set(x_34, 2, x_2); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -x_37 = lean_st_ref_get(x_9, x_30); -lean_dec(x_9); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_take(x_5, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 5); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_41, 1); -lean_dec(x_46); -x_47 = l_Std_PersistentArray_push___rarg(x_21, x_36); -lean_ctor_set(x_41, 1, x_47); -x_48 = lean_st_ref_set(x_5, x_40, x_42); -lean_dec(x_5); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -lean_ctor_set(x_48, 0, x_24); -return x_48; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_24); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_54 = lean_ctor_get(x_41, 0); -lean_inc(x_54); -lean_dec(x_41); -x_55 = l_Std_PersistentArray_push___rarg(x_21, x_36); -x_56 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); -lean_ctor_set(x_40, 5, x_56); -x_57 = lean_st_ref_set(x_5, x_40, x_42); -lean_dec(x_5); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_24); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_61 = lean_ctor_get(x_40, 0); -x_62 = lean_ctor_get(x_40, 1); -x_63 = lean_ctor_get(x_40, 2); -x_64 = lean_ctor_get(x_40, 3); -x_65 = lean_ctor_get(x_40, 4); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_40); -x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_67 = lean_ctor_get(x_41, 0); -lean_inc(x_67); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_68 = x_41; -} else { - lean_dec_ref(x_41); - x_68 = lean_box(0); -} -x_69 = l_Std_PersistentArray_push___rarg(x_21, x_36); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 1); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); -x_71 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_71, 0, x_61); -lean_ctor_set(x_71, 1, x_62); -lean_ctor_set(x_71, 2, x_63); -lean_ctor_set(x_71, 3, x_64); -lean_ctor_set(x_71, 4, x_65); -lean_ctor_set(x_71, 5, x_70); -x_72 = lean_st_ref_set(x_5, x_71, x_42); -lean_dec(x_5); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_74 = x_72; -} else { - lean_dec_ref(x_72); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_24); -lean_ctor_set(x_75, 1, x_73); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_76 = lean_ctor_get(x_23, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_23, 1); -lean_inc(x_77); -lean_dec(x_23); -x_78 = lean_st_ref_get(x_9, x_77); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_st_ref_get(x_5, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 5); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_ctor_get(x_6, 1); -lean_inc(x_85); -lean_dec(x_6); -x_86 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_1); -lean_ctor_set(x_86, 2, x_2); -x_87 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_84); -x_89 = lean_st_ref_get(x_9, x_82); -lean_dec(x_9); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_st_ref_take(x_5, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_92, 5); -lean_inc(x_93); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_95 = !lean_is_exclusive(x_92); -if (x_95 == 0) -{ -lean_object* x_96; uint8_t x_97; -x_96 = lean_ctor_get(x_92, 5); -lean_dec(x_96); -x_97 = !lean_is_exclusive(x_93); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_93, 1); -lean_dec(x_98); -x_99 = l_Std_PersistentArray_push___rarg(x_21, x_88); -lean_ctor_set(x_93, 1, x_99); -x_100 = lean_st_ref_set(x_5, x_92, x_94); -lean_dec(x_5); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set_tag(x_100, 1); -lean_ctor_set(x_100, 0, x_76); -return x_100; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_76); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -else -{ -uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_105 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); -x_106 = lean_ctor_get(x_93, 0); -lean_inc(x_106); -lean_dec(x_93); -x_107 = l_Std_PersistentArray_push___rarg(x_21, x_88); -x_108 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_105); -lean_ctor_set(x_92, 5, x_108); -x_109 = lean_st_ref_set(x_5, x_92, x_94); -lean_dec(x_5); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; -} else { - lean_dec_ref(x_109); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; - lean_ctor_set_tag(x_112, 1); -} -lean_ctor_set(x_112, 0, x_76); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_113 = lean_ctor_get(x_92, 0); -x_114 = lean_ctor_get(x_92, 1); -x_115 = lean_ctor_get(x_92, 2); -x_116 = lean_ctor_get(x_92, 3); -x_117 = lean_ctor_get(x_92, 4); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_92); -x_118 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); -x_119 = lean_ctor_get(x_93, 0); -lean_inc(x_119); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_120 = x_93; -} else { - lean_dec_ref(x_93); - x_120 = lean_box(0); -} -x_121 = l_Std_PersistentArray_push___rarg(x_21, x_88); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 1); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set_uint8(x_122, sizeof(void*)*2, x_118); -x_123 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_123, 0, x_113); -lean_ctor_set(x_123, 1, x_114); -lean_ctor_set(x_123, 2, x_115); -lean_ctor_set(x_123, 3, x_116); -lean_ctor_set(x_123, 4, x_117); -lean_ctor_set(x_123, 5, x_122); -x_124 = lean_st_ref_set(x_5, x_123, x_94); -lean_dec(x_5); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; -} else { - lean_dec_ref(x_124); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); -} else { - x_127 = x_126; - lean_ctor_set_tag(x_127, 1); -} -lean_ctor_set(x_127, 0, x_76); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -} -} +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg___lambda__1___boxed), 10, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +x_12 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1(lean_object* x_1) { @@ -9923,26 +11761,18 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10 return x_2; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__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* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg___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_7; -x_7 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_11; +x_11 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_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_7; -} -} -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2(x_1); -lean_dec(x_1); -return x_2; +return x_11; } } lean_object* l_Lean_Elab_Term_registerSyntheticMVar(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) { @@ -14627,7 +16457,7 @@ lean_dec(x_4); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1() { _start: { lean_object* x_1; @@ -14635,17 +16465,17 @@ x_1 = lean_mk_string("autoLift"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3() { _start: { lean_object* x_1; @@ -14653,13 +16483,13 @@ x_1 = lean_mk_string("insert monadic lifts (i.e., `liftM` and `liftCoeM`) when n return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -14668,12 +16498,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -14691,7 +16521,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1() { _start: { lean_object* x_1; @@ -14699,17 +16529,17 @@ x_1 = lean_mk_string("maxCoeSize"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3() { _start: { lean_object* x_1; @@ -14717,13 +16547,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct an automatic return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(16u); x_2 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -14731,12 +16561,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -15219,6 +17049,126 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tr return x_2; } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +x_15 = l_Lean_Elab_Term_synthesizeCoeInstMVarCore(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t 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; uint8_t x_28; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +lean_inc(x_2); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_2); +x_20 = 2; +x_21 = lean_box(0); +lean_inc(x_10); +x_22 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_19, x_20, x_21, x_10, x_11, x_12, x_13, x_18); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Expr_mvarId_x21(x_23); +x_26 = lean_alloc_ctor(1, 6, 0); +lean_ctor_set(x_26, 0, x_3); +lean_ctor_set(x_26, 1, x_4); +lean_ctor_set(x_26, 2, x_2); +lean_ctor_set(x_26, 3, x_5); +lean_ctor_set(x_26, 4, x_6); +lean_ctor_set(x_26, 5, x_7); +x_27 = l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_24); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_23); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_dec(x_15); +x_33 = l_Lean_Meta_expandCoe(x_4, x_10, x_11, x_12, x_13, x_32); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +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_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +return x_15; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_ctor_get(x_15, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_15); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__1() { _start: { @@ -15330,7 +17280,7 @@ lean_inc(x_2); x_23 = l_Lean_Meta_getLevel(x_2, x_8, x_9, x_10, x_11, x_22); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t 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; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +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; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); @@ -15381,412 +17331,300 @@ x_49 = l_Lean_mkAppN(x_43, x_48); lean_dec(x_48); x_50 = l_Lean_Expr_mvarId_x21(x_40); lean_dec(x_40); -x_51 = lean_ctor_get(x_10, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_10, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_10, 2); -lean_inc(x_53); -x_54 = lean_ctor_get(x_10, 3); -lean_inc(x_54); -x_55 = lean_ctor_get(x_10, 4); -lean_inc(x_55); -x_56 = lean_ctor_get(x_10, 5); -lean_inc(x_56); -x_57 = lean_ctor_get(x_10, 6); -lean_inc(x_57); -x_58 = lean_ctor_get(x_10, 7); -lean_inc(x_58); -x_59 = l_Lean_Elab_pp_macroStack; -x_60 = 0; -x_61 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_51, x_59, x_60); -x_62 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_52); -lean_ctor_set(x_62, 2, x_53); -lean_ctor_set(x_62, 3, x_54); -lean_ctor_set(x_62, 4, x_55); -lean_ctor_set(x_62, 5, x_56); -lean_ctor_set(x_62, 6, x_57); -lean_ctor_set(x_62, 7, x_58); -lean_inc(x_11); -lean_inc(x_62); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_63 = l_Lean_Elab_Term_synthesizeCoeInstMVarCore(x_50, x_6, x_7, x_8, x_9, x_62, x_11, x_41); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; uint8_t x_65; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_unbox(x_64); -lean_dec(x_64); -if (x_65 == 0) -{ -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; lean_object* x_74; uint8_t x_75; -lean_dec(x_10); -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_dec(x_63); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); lean_inc(x_2); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_2); -x_68 = 2; -lean_inc(x_8); -x_69 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_67, x_68, x_38, x_8, x_9, x_62, x_11, x_66); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Lean_Expr_mvarId_x21(x_70); -x_73 = lean_alloc_ctor(1, 6, 0); -lean_ctor_set(x_73, 0, x_1); -lean_ctor_set(x_73, 1, x_49); -lean_ctor_set(x_73, 2, x_2); -lean_ctor_set(x_73, 3, x_3); -lean_ctor_set(x_73, 4, x_4); -lean_ctor_set(x_73, 5, x_5); -x_74 = l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(x_72, x_73, x_6, x_7, x_8, x_9, x_62, x_11, x_71); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set(x_74, 0, x_70); -return x_74; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_70); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_63, 1); -lean_inc(x_79); -lean_dec(x_63); +x_51 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1___boxed), 14, 7); +lean_closure_set(x_51, 0, x_50); +lean_closure_set(x_51, 1, x_2); +lean_closure_set(x_51, 2, x_1); +lean_closure_set(x_51, 3, x_49); +lean_closure_set(x_51, 4, x_3); +lean_closure_set(x_51, 5, x_4); +lean_closure_set(x_51, 6, x_5); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_80 = l_Lean_Meta_expandCoe(x_49, x_8, x_9, x_62, x_11, x_79); -if (lean_obj_tag(x_80) == 0) +lean_inc(x_7); +lean_inc(x_6); +x_52 = l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_52) == 0) { lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_80; +return x_52; } else { -lean_object* x_81; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -if (lean_obj_tag(x_81) == 0) +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_84, x_6, x_7, x_8, x_9, x_10, x_11, x_82); -lean_dec(x_84); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_54); +lean_dec(x_7); +lean_dec(x_56); lean_dec(x_1); -return x_85; +return x_57; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_81); -x_86 = lean_ctor_get(x_80, 1); -lean_inc(x_86); -lean_dec(x_80); -x_87 = lean_box(0); -x_88 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_87, x_6, x_7, x_8, x_9, x_10, x_11, x_86); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_53); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +lean_dec(x_52); +x_59 = lean_box(0); +x_60 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_59, x_6, x_7, x_8, x_9, x_10, x_11, x_58); +lean_dec(x_7); lean_dec(x_1); -return x_88; -} -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_62); -lean_dec(x_49); -x_89 = lean_ctor_get(x_63, 0); -lean_inc(x_89); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_63, 1); -lean_inc(x_90); -lean_dec(x_63); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_90); -lean_dec(x_92); -lean_dec(x_1); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_89); -x_94 = lean_ctor_get(x_63, 1); -lean_inc(x_94); -lean_dec(x_63); -x_95 = lean_box(0); -x_96 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_95, x_6, x_7, x_8, x_9, x_10, x_11, x_94); -lean_dec(x_1); -return x_96; +return x_60; } } } else { -uint8_t x_97; +uint8_t x_61; lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_97 = !lean_is_exclusive(x_23); -if (x_97 == 0) +x_61 = !lean_is_exclusive(x_23); +if (x_61 == 0) { return x_23; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_23, 0); -x_99 = lean_ctor_get(x_23, 1); -lean_inc(x_99); -lean_inc(x_98); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_23, 0); +x_63 = lean_ctor_get(x_23, 1); +lean_inc(x_63); +lean_inc(x_62); lean_dec(x_23); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +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; } } } else { -uint8_t x_101; +uint8_t x_65; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_20); -if (x_101 == 0) +x_65 = !lean_is_exclusive(x_20); +if (x_65 == 0) { return x_20; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_20, 0); -x_103 = lean_ctor_get(x_20, 1); -lean_inc(x_103); -lean_inc(x_102); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_20, 0); +x_67 = lean_ctor_get(x_20, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_20); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -uint8_t x_105; +uint8_t x_69; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_105 = !lean_is_exclusive(x_17); -if (x_105 == 0) +x_69 = !lean_is_exclusive(x_17); +if (x_69 == 0) { -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_17, 0); -lean_dec(x_106); -x_107 = lean_ctor_get(x_18, 0); -lean_inc(x_107); +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_17, 0); +lean_dec(x_70); +x_71 = lean_ctor_get(x_18, 0); +lean_inc(x_71); lean_dec(x_18); -lean_ctor_set(x_17, 0, x_107); +lean_ctor_set(x_17, 0, x_71); return x_17; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_17, 1); -lean_inc(x_108); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_17, 1); +lean_inc(x_72); lean_dec(x_17); -x_109 = lean_ctor_get(x_18, 0); -lean_inc(x_109); +x_73 = lean_ctor_get(x_18, 0); +lean_inc(x_73); lean_dec(x_18); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -return x_110; +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +return x_74; } } } else { -uint8_t x_111; +uint8_t x_75; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_17); -if (x_111 == 0) +x_75 = !lean_is_exclusive(x_17); +if (x_75 == 0) { return x_17; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_17, 0); -x_113 = lean_ctor_get(x_17, 1); -lean_inc(x_113); -lean_inc(x_112); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_17, 0); +x_77 = lean_ctor_get(x_17, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_17); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +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 { -uint8_t x_115; +uint8_t x_79; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_115 = !lean_is_exclusive(x_13); -if (x_115 == 0) +x_79 = !lean_is_exclusive(x_13); +if (x_79 == 0) { -lean_object* x_116; -x_116 = lean_ctor_get(x_13, 0); -lean_dec(x_116); +lean_object* x_80; +x_80 = lean_ctor_get(x_13, 0); +lean_dec(x_80); lean_ctor_set(x_13, 0, x_4); return x_13; } else { -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_13, 1); -lean_inc(x_117); +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_13, 1); +lean_inc(x_81); lean_dec(x_13); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_4); -lean_ctor_set(x_118, 1, x_117); -return x_118; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_4); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } else { -uint8_t x_119; +uint8_t x_83; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_119 = !lean_is_exclusive(x_13); -if (x_119 == 0) +x_83 = !lean_is_exclusive(x_13); +if (x_83 == 0) { return x_13; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_13, 0); -x_121 = lean_ctor_get(x_13, 1); -lean_inc(x_121); -lean_inc(x_120); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_13, 0); +x_85 = lean_ctor_get(x_13, 1); +lean_inc(x_85); +lean_inc(x_84); lean_dec(x_13); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -return x_122; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_13; -x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -return x_13; +lean_object* x_15; +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +return x_15; } } lean_object* l_Lean_Elab_Term_isTypeApp_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -17031,6 +18869,7 @@ lean_dec(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_6); lean_dec(x_4); @@ -17156,6 +18995,7 @@ lean_dec(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_6); lean_dec(x_4); @@ -17176,6 +19016,7 @@ lean_dec(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_6); @@ -17212,6 +19053,7 @@ lean_dec(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_6); @@ -17423,7 +19265,6 @@ _start: { lean_object* x_16; x_16 = l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_10); lean_dec(x_7); return x_16; } @@ -17705,7 +19546,6 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); x_27 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); -lean_dec(x_7); return x_27; } else @@ -17753,7 +19593,6 @@ lean_object* x_39; lean_dec(x_32); lean_dec(x_31); x_39 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -lean_dec(x_7); return x_39; } else @@ -17781,7 +19620,6 @@ x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); x_43 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); -lean_dec(x_7); return x_43; } else @@ -17912,7 +19750,6 @@ lean_dec(x_57); lean_dec(x_32); lean_dec(x_31); x_66 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); -lean_dec(x_7); return x_66; } else @@ -18074,6 +19911,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -18523,7 +20361,6 @@ x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); lean_dec(x_71); x_74 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_73); -lean_dec(x_7); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; @@ -18591,7 +20428,6 @@ x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); lean_dec(x_84); x_87 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); -lean_dec(x_7); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; @@ -18705,7 +20541,6 @@ x_104 = lean_ctor_get(x_71, 1); lean_inc(x_104); lean_dec(x_71); x_105 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_104); -lean_dec(x_7); if (lean_obj_tag(x_105) == 0) { lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; @@ -18773,7 +20608,6 @@ x_233 = lean_ctor_get(x_231, 1); lean_inc(x_233); lean_dec(x_231); x_234 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_233); -lean_dec(x_7); return x_234; } else @@ -19033,7 +20867,6 @@ lean_dec(x_284); lean_dec(x_32); lean_dec(x_31); x_293 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_289); -lean_dec(x_7); return x_293; } else @@ -19195,6 +21028,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -19644,7 +21478,6 @@ x_300 = lean_ctor_get(x_298, 1); lean_inc(x_300); lean_dec(x_298); x_301 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_300); -lean_dec(x_7); if (lean_obj_tag(x_301) == 0) { lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; @@ -19714,7 +21547,6 @@ x_313 = lean_ctor_get(x_311, 1); lean_inc(x_313); lean_dec(x_311); x_314 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_313); -lean_dec(x_7); if (lean_obj_tag(x_314) == 0) { lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; @@ -19832,7 +21664,6 @@ x_331 = lean_ctor_get(x_298, 1); lean_inc(x_331); lean_dec(x_298); x_332 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_331); -lean_dec(x_7); if (lean_obj_tag(x_332) == 0) { lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; @@ -19901,7 +21732,6 @@ x_460 = lean_ctor_get(x_458, 1); lean_inc(x_460); lean_dec(x_458); x_461 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_460); -lean_dec(x_7); return x_461; } else @@ -20123,7 +21953,6 @@ lean_object* x_504; lean_dec(x_497); lean_dec(x_496); x_504 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_500); -lean_dec(x_7); return x_504; } else @@ -20151,7 +21980,6 @@ x_507 = lean_ctor_get(x_505, 1); lean_inc(x_507); lean_dec(x_505); x_508 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_507); -lean_dec(x_7); return x_508; } else @@ -20282,7 +22110,6 @@ lean_dec(x_520); lean_dec(x_497); lean_dec(x_496); x_529 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_525); -lean_dec(x_7); return x_529; } else @@ -20444,6 +22271,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -20893,7 +22721,6 @@ x_536 = lean_ctor_get(x_534, 1); lean_inc(x_536); lean_dec(x_534); x_537 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_536); -lean_dec(x_7); if (lean_obj_tag(x_537) == 0) { lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; @@ -20963,7 +22790,6 @@ x_549 = lean_ctor_get(x_547, 1); lean_inc(x_549); lean_dec(x_547); x_550 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_549); -lean_dec(x_7); if (lean_obj_tag(x_550) == 0) { lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; @@ -21081,7 +22907,6 @@ x_567 = lean_ctor_get(x_534, 1); lean_inc(x_567); lean_dec(x_534); x_568 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_567); -lean_dec(x_7); if (lean_obj_tag(x_568) == 0) { lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; @@ -21150,7 +22975,6 @@ x_696 = lean_ctor_get(x_694, 1); lean_inc(x_696); lean_dec(x_694); x_697 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(x_1, x_19, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_696); -lean_dec(x_7); return x_697; } else @@ -22720,7 +24544,7 @@ lean_dec(x_2); return x_10; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext(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* l_Lean_Elab_Term_saveContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; @@ -22745,11 +24569,11 @@ lean_ctor_set(x_14, 1, x_7); return x_14; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext___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* l_Lean_Elab_Term_saveContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_Term_saveContext(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); @@ -23163,6 +24987,52 @@ lean_ctor_set(x_12, 1, x_8); return x_12; } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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: +{ +uint8_t 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; uint8_t x_22; +x_11 = 2; +x_12 = lean_box(0); +lean_inc(x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_1, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +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 = l_Lean_Elab_Term_saveContext(x_4, x_5, x_6, x_7, x_8, x_9, x_15); +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); +x_19 = l_Lean_Expr_mvarId_x21(x_14); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_17); +x_21 = l_Lean_Elab_Term_registerSyntheticMVar(x_2, x_19, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_6); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_14); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_14); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1() { _start: { @@ -23229,148 +25099,110 @@ return x_2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(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_27; lean_object* x_28; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_st_ref_get(x_8, x_9); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*1); -lean_dec(x_50); -if (x_51 == 0) +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_10 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__2; +x_36 = lean_st_ref_get(x_8, x_9); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -lean_dec(x_48); -x_53 = 0; -x_27 = x_53; -x_28 = x_52; -goto block_47; +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_11 = x_41; +x_12 = x_40; +goto block_35; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_54 = lean_ctor_get(x_48, 1); -lean_inc(x_54); -lean_dec(x_48); -x_55 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__2; -x_56 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_54); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_unbox(x_57); -lean_dec(x_57); -x_27 = x_59; -x_28 = x_58; -goto block_47; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_11 = x_46; +x_12 = x_45; +goto block_35; } -block_26: +block_35: { -uint8_t 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; uint8_t x_22; -x_11 = 2; -x_12 = lean_box(0); -lean_inc(x_5); -x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_10); -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 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext(x_3, x_4, x_5, x_6, x_7, x_8, x_15); -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); -x_19 = l_Lean_Expr_mvarId_x21(x_14); -x_20 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_20, 0, x_17); -x_21 = l_Lean_Elab_Term_registerSyntheticMVar(x_1, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -lean_dec(x_5); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +if (x_11 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_14); -return x_21; +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1(x_2, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_14; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_14); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -block_47: -{ -if (x_27 == 0) -{ -x_10 = x_28; -goto block_26; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_inc(x_1); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_1); -x_30 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -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___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; -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_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); if (lean_obj_tag(x_2) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_30); -x_37 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__2; -x_38 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_37, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_10 = x_39; -goto block_26; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_16); +x_23 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_10, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1(x_2, x_1, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +lean_dec(x_24); +return x_26; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_40 = lean_ctor_get(x_2, 0); -lean_inc(x_40); -x_41 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_30); -x_44 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__2; -x_45 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_44, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_10 = x_46; -goto block_26; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_19); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_16); +x_31 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_10, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1(x_2, x_1, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +lean_dec(x_32); +return x_34; } } } @@ -23404,6 +25236,20 @@ lean_dec(x_2); return x_9; } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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: { @@ -23823,415 +25669,810 @@ lean_dec(x_5); return x_13; } } -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___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) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_st_ref_get(x_11, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 5); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2); -lean_dec(x_17); -if (x_18 == 0) +lean_object* x_10; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_23 = lean_st_ref_get(x_8, x_9); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_get(x_4, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 5); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*2); +lean_dec(x_27); +if (x_28 == 0) { -uint8_t x_19; +lean_object* x_29; lean_object* x_30; +lean_dec(x_2); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +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_35 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_36); +x_38 = lean_apply_8(x_2, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_st_ref_get(x_8, x_40); +lean_dec(x_8); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_st_ref_take(x_4, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 5); +lean_inc(x_45); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = !lean_is_exclusive(x_44); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_44, 5); +lean_dec(x_48); +x_49 = !lean_is_exclusive(x_45); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_50 = lean_ctor_get(x_45, 1); +x_51 = lean_ctor_get(x_39, 0); +lean_inc(x_51); +lean_dec(x_39); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Std_PersistentArray_push___rarg(x_33, x_52); +lean_ctor_set(x_45, 1, x_53); +x_54 = lean_st_ref_set(x_4, x_44, x_46); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_36); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_54, 0, x_58); +x_10 = x_54; +goto block_22; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_dec(x_54); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_36); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +x_10 = x_62; +goto block_22; +} +} +else +{ +uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_63 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_64 = lean_ctor_get(x_45, 0); +x_65 = lean_ctor_get(x_45, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_45); +x_66 = lean_ctor_get(x_39, 0); +lean_inc(x_66); +lean_dec(x_39); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Std_PersistentArray_push___rarg(x_33, x_67); +x_69 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_69, 0, x_64); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_63); +lean_ctor_set(x_44, 5, x_69); +x_70 = lean_st_ref_set(x_4, x_44, x_46); +lean_dec(x_4); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +x_73 = lean_box(0); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_36); +lean_ctor_set(x_74, 1, x_73); +if (lean_is_scalar(x_72)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_72; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_71); +x_10 = x_75; +goto block_22; +} +} +else +{ +lean_object* 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; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_76 = lean_ctor_get(x_44, 0); +x_77 = lean_ctor_get(x_44, 1); +x_78 = lean_ctor_get(x_44, 2); +x_79 = lean_ctor_get(x_44, 3); +x_80 = lean_ctor_get(x_44, 4); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_44); +x_81 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_82 = lean_ctor_get(x_45, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_45, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_84 = x_45; +} else { + lean_dec_ref(x_45); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_39, 0); +lean_inc(x_85); +lean_dec(x_39); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +x_87 = l_Std_PersistentArray_push___rarg(x_33, x_86); +if (lean_is_scalar(x_84)) { + x_88 = lean_alloc_ctor(0, 2, 1); +} else { + x_88 = x_84; +} +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set_uint8(x_88, sizeof(void*)*2, x_81); +x_89 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_89, 0, x_76); +lean_ctor_set(x_89, 1, x_77); +lean_ctor_set(x_89, 2, x_78); +lean_ctor_set(x_89, 3, x_79); +lean_ctor_set(x_89, 4, x_80); +lean_ctor_set(x_89, 5, x_88); +x_90 = lean_st_ref_set(x_4, x_89, x_46); +lean_dec(x_4); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; +} else { + lean_dec_ref(x_90); + x_92 = lean_box(0); +} +x_93 = lean_box(0); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_36); +lean_ctor_set(x_94, 1, x_93); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +x_10 = x_95; +goto block_22; +} +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_43, 1); +lean_inc(x_96); +lean_dec(x_43); +x_97 = !lean_is_exclusive(x_44); +if (x_97 == 0) +{ +lean_object* x_98; uint8_t x_99; +x_98 = lean_ctor_get(x_44, 5); +lean_dec(x_98); +x_99 = !lean_is_exclusive(x_45); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_100 = lean_ctor_get(x_45, 1); +lean_dec(x_100); +x_101 = lean_ctor_get(x_39, 0); +lean_inc(x_101); +lean_dec(x_39); +x_102 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = l_Std_PersistentArray_push___rarg(x_33, x_102); +lean_ctor_set(x_45, 1, x_103); +x_104 = lean_st_ref_set(x_4, x_44, x_96); +lean_dec(x_4); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +lean_dec(x_106); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_36); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_104, 0, x_108); +x_10 = x_104; +goto block_22; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_box(0); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_36); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_109); +x_10 = x_112; +goto block_22; +} +} +else +{ +uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_113 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_114 = lean_ctor_get(x_45, 0); +lean_inc(x_114); +lean_dec(x_45); +x_115 = lean_ctor_get(x_39, 0); +lean_inc(x_115); +lean_dec(x_39); +x_116 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_116, 0, x_115); +x_117 = l_Std_PersistentArray_push___rarg(x_33, x_116); +x_118 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_118, 0, x_114); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_113); +lean_ctor_set(x_44, 5, x_118); +x_119 = lean_st_ref_set(x_4, x_44, x_96); +lean_dec(x_4); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; +} else { + lean_dec_ref(x_119); + x_121 = lean_box(0); +} +x_122 = lean_box(0); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_36); +lean_ctor_set(x_123, 1, x_122); +if (lean_is_scalar(x_121)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_121; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_120); +x_10 = x_124; +goto block_22; +} +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_125 = lean_ctor_get(x_44, 0); +x_126 = lean_ctor_get(x_44, 1); +x_127 = lean_ctor_get(x_44, 2); +x_128 = lean_ctor_get(x_44, 3); +x_129 = lean_ctor_get(x_44, 4); +lean_inc(x_129); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_44); +x_130 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_131 = lean_ctor_get(x_45, 0); +lean_inc(x_131); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_132 = x_45; +} else { + lean_dec_ref(x_45); + x_132 = lean_box(0); +} +x_133 = lean_ctor_get(x_39, 0); +lean_inc(x_133); +lean_dec(x_39); +x_134 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = l_Std_PersistentArray_push___rarg(x_33, x_134); +if (lean_is_scalar(x_132)) { + x_136 = lean_alloc_ctor(0, 2, 1); +} else { + x_136 = x_132; +} +lean_ctor_set(x_136, 0, x_131); +lean_ctor_set(x_136, 1, x_135); +lean_ctor_set_uint8(x_136, sizeof(void*)*2, x_130); +x_137 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_137, 0, x_125); +lean_ctor_set(x_137, 1, x_126); +lean_ctor_set(x_137, 2, x_127); +lean_ctor_set(x_137, 3, x_128); +lean_ctor_set(x_137, 4, x_129); +lean_ctor_set(x_137, 5, x_136); +x_138 = lean_st_ref_set(x_4, x_137, x_96); +lean_dec(x_4); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_140 = x_138; +} else { + lean_dec_ref(x_138); + x_140 = lean_box(0); +} +x_141 = lean_box(0); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_36); +lean_ctor_set(x_142, 1, x_141); +if (lean_is_scalar(x_140)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_140; +} +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_139); +x_10 = x_143; +goto block_22; +} +} +} +else +{ +uint8_t x_144; +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_8); +lean_dec(x_4); +x_144 = !lean_is_exclusive(x_38); +if (x_144 == 0) +{ +x_10 = x_38; +goto block_22; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_38, 0); +x_146 = lean_ctor_get(x_38, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_38); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +x_10 = x_147; +goto block_22; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) +x_148 = lean_ctor_get(x_35, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_35, 1); +lean_inc(x_149); +lean_dec(x_35); +x_150 = lean_st_ref_get(x_8, x_149); +lean_dec(x_8); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_st_ref_take(x_4, x_151); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_153, 5); +lean_inc(x_154); +x_155 = lean_ctor_get(x_152, 1); +lean_inc(x_155); +lean_dec(x_152); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_15, 0); -lean_dec(x_20); -x_21 = lean_box(0); -lean_ctor_set(x_15, 0, x_21); +lean_object* x_157; uint8_t x_158; +x_157 = lean_ctor_get(x_153, 5); +lean_dec(x_157); +x_158 = !lean_is_exclusive(x_154); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_159 = lean_ctor_get(x_154, 1); +lean_dec(x_159); +lean_ctor_set(x_154, 1, x_33); +x_160 = lean_st_ref_set(x_4, x_153, x_155); +lean_dec(x_4); +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) +{ +lean_object* x_162; +x_162 = lean_ctor_get(x_160, 0); +lean_dec(x_162); +lean_ctor_set_tag(x_160, 1); +lean_ctor_set(x_160, 0, x_148); +x_10 = x_160; +goto block_22; +} +else +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_ctor_get(x_160, 1); +lean_inc(x_163); +lean_dec(x_160); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_148); +lean_ctor_set(x_164, 1, x_163); +x_10 = x_164; +goto block_22; +} +} +else +{ +uint8_t 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; +x_165 = lean_ctor_get_uint8(x_154, sizeof(void*)*2); +x_166 = lean_ctor_get(x_154, 0); +lean_inc(x_166); +lean_dec(x_154); +x_167 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_33); +lean_ctor_set_uint8(x_167, sizeof(void*)*2, x_165); +lean_ctor_set(x_153, 5, x_167); +x_168 = lean_st_ref_set(x_4, x_153, x_155); +lean_dec(x_4); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_170 = x_168; +} else { + lean_dec_ref(x_168); + x_170 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); +} else { + x_171 = x_170; + lean_ctor_set_tag(x_171, 1); +} +lean_ctor_set(x_171, 0, x_148); +lean_ctor_set(x_171, 1, x_169); +x_10 = x_171; +goto block_22; +} +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_172 = lean_ctor_get(x_153, 0); +x_173 = lean_ctor_get(x_153, 1); +x_174 = lean_ctor_get(x_153, 2); +x_175 = lean_ctor_get(x_153, 3); +x_176 = lean_ctor_get(x_153, 4); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_153); +x_177 = lean_ctor_get_uint8(x_154, sizeof(void*)*2); +x_178 = lean_ctor_get(x_154, 0); +lean_inc(x_178); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_179 = x_154; +} else { + lean_dec_ref(x_154); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 2, 1); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_33); +lean_ctor_set_uint8(x_180, sizeof(void*)*2, x_177); +x_181 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_181, 0, x_172); +lean_ctor_set(x_181, 1, x_173); +lean_ctor_set(x_181, 2, x_174); +lean_ctor_set(x_181, 3, x_175); +lean_ctor_set(x_181, 4, x_176); +lean_ctor_set(x_181, 5, x_180); +x_182 = lean_st_ref_set(x_4, x_181, x_155); +lean_dec(x_4); +x_183 = lean_ctor_get(x_182, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_184 = x_182; +} else { + lean_dec_ref(x_182); + x_184 = lean_box(0); +} +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(1, 2, 0); +} else { + x_185 = x_184; + lean_ctor_set_tag(x_185, 1); +} +lean_ctor_set(x_185, 0, x_148); +lean_ctor_set(x_185, 1, x_183); +x_10 = x_185; +goto block_22; +} +} +} +block_22: +{ +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___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; +x_14 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +static lean_object* _init_l_Lean_Elab_Term_addTermInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo(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: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo___lambda__2___boxed), 13, 5); +lean_closure_set(x_13, 0, x_5); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_3); +lean_closure_set(x_13, 4, x_4); +x_14 = l_Lean_Elab_Term_addTermInfo___closed__1; +x_15 = l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___spec__1(x_14, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_15, 0, x_18); return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); lean_dec(x_15); -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_22); -return x_24; +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; } } 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; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); +uint8_t x_22; +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_15); -x_26 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_7, x_8, x_9, x_10, x_11, x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_Elab_Term_mkTermInfo(x_5, x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_st_ref_get(x_11, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_st_ref_take(x_7, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_35, 5); -lean_inc(x_36); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec(x_34); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_35, 5); -lean_dec(x_39); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_41 = lean_ctor_get(x_36, 1); -x_42 = lean_ctor_get(x_30, 0); -lean_inc(x_42); -lean_dec(x_30); -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 = l_Std_PersistentArray_push___rarg(x_27, x_43); -lean_ctor_set(x_36, 1, x_44); -x_45 = lean_st_ref_set(x_7, x_35, x_37); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(0); -lean_ctor_set(x_45, 0, x_48); -return x_45; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(0); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_52 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); -x_53 = lean_ctor_get(x_36, 0); -x_54 = lean_ctor_get(x_36, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_36); -x_55 = lean_ctor_get(x_30, 0); -lean_inc(x_55); -lean_dec(x_30); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Std_PersistentArray_push___rarg(x_27, x_56); -x_58 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_52); -lean_ctor_set(x_35, 5, x_58); -x_59 = lean_st_ref_set(x_7, x_35, x_37); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_61; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t 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; -x_64 = lean_ctor_get(x_35, 0); -x_65 = lean_ctor_get(x_35, 1); -x_66 = lean_ctor_get(x_35, 2); -x_67 = lean_ctor_get(x_35, 3); -x_68 = lean_ctor_get(x_35, 4); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_35); -x_69 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); -x_70 = lean_ctor_get(x_36, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_36, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_72 = x_36; -} else { - lean_dec_ref(x_36); - x_72 = lean_box(0); -} -x_73 = lean_ctor_get(x_30, 0); -lean_inc(x_73); -lean_dec(x_30); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_71); -x_75 = l_Std_PersistentArray_push___rarg(x_27, x_74); -if (lean_is_scalar(x_72)) { - x_76 = lean_alloc_ctor(0, 2, 1); -} else { - x_76 = x_72; -} -lean_ctor_set(x_76, 0, x_70); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set_uint8(x_76, sizeof(void*)*2, x_69); -x_77 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_77, 0, x_64); -lean_ctor_set(x_77, 1, x_65); -lean_ctor_set(x_77, 2, x_66); -lean_ctor_set(x_77, 3, x_67); -lean_ctor_set(x_77, 4, x_68); -lean_ctor_set(x_77, 5, x_76); -x_78 = lean_st_ref_set(x_7, x_77, x_37); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_80 = x_78; -} else { - lean_dec_ref(x_78); - x_80 = lean_box(0); -} -x_81 = lean_box(0); -if (lean_is_scalar(x_80)) { - x_82 = lean_alloc_ctor(0, 2, 0); -} else { - x_82 = x_80; -} -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -return x_82; -} -} -else -{ -lean_object* x_83; uint8_t x_84; -x_83 = lean_ctor_get(x_34, 1); -lean_inc(x_83); -lean_dec(x_34); -x_84 = !lean_is_exclusive(x_35); -if (x_84 == 0) -{ -lean_object* x_85; uint8_t x_86; -x_85 = lean_ctor_get(x_35, 5); -lean_dec(x_85); -x_86 = !lean_is_exclusive(x_36); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_36, 1); -lean_dec(x_87); -x_88 = lean_ctor_get(x_30, 0); -lean_inc(x_88); -lean_dec(x_30); -x_89 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = l_Std_PersistentArray_push___rarg(x_27, x_89); -lean_ctor_set(x_36, 1, x_90); -x_91 = lean_st_ref_set(x_7, x_35, x_83); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -x_93 = lean_ctor_get(x_91, 0); -lean_dec(x_93); -x_94 = lean_box(0); -lean_ctor_set(x_91, 0, x_94); -return x_91; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_91, 1); -lean_inc(x_95); -lean_dec(x_91); -x_96 = lean_box(0); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -return x_97; -} -} -else -{ -uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_98 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); -x_99 = lean_ctor_get(x_36, 0); -lean_inc(x_99); -lean_dec(x_36); -x_100 = lean_ctor_get(x_30, 0); -lean_inc(x_100); -lean_dec(x_30); -x_101 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_102 = l_Std_PersistentArray_push___rarg(x_27, x_101); -x_103 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_103, 0, x_99); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_98); -lean_ctor_set(x_35, 5, x_103); -x_104 = lean_st_ref_set(x_7, x_35, x_83); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_106 = x_104; -} else { - lean_dec_ref(x_104); - x_106 = lean_box(0); -} -x_107 = lean_box(0); -if (lean_is_scalar(x_106)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_106; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_105); -return x_108; -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_109 = lean_ctor_get(x_35, 0); -x_110 = lean_ctor_get(x_35, 1); -x_111 = lean_ctor_get(x_35, 2); -x_112 = lean_ctor_get(x_35, 3); -x_113 = lean_ctor_get(x_35, 4); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_35); -x_114 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); -x_115 = lean_ctor_get(x_36, 0); -lean_inc(x_115); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_116 = x_36; -} else { - lean_dec_ref(x_36); - x_116 = lean_box(0); -} -x_117 = lean_ctor_get(x_30, 0); -lean_inc(x_117); -lean_dec(x_30); -x_118 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = l_Std_PersistentArray_push___rarg(x_27, x_118); -if (lean_is_scalar(x_116)) { - x_120 = lean_alloc_ctor(0, 2, 1); -} else { - x_120 = x_116; -} -lean_ctor_set(x_120, 0, x_115); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set_uint8(x_120, sizeof(void*)*2, x_114); -x_121 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_121, 0, x_109); -lean_ctor_set(x_121, 1, x_110); -lean_ctor_set(x_121, 2, x_111); -lean_ctor_set(x_121, 3, x_112); -lean_ctor_set(x_121, 4, x_113); -lean_ctor_set(x_121, 5, x_120); -x_122 = lean_st_ref_set(x_7, x_121, x_83); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_124 = x_122; -} else { - lean_dec_ref(x_122); - x_124 = lean_box(0); -} -x_125 = lean_box(0); -if (lean_is_scalar(x_124)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_124; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_123); -return x_126; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } } -} -lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_addTermInfo___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) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_8; +x_8 = l_Lean_Elab_Term_addTermInfo___lambda__1(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); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___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_Lean_Elab_Term_addTermInfo___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_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_4); -return x_13; +lean_dec(x_5); +return x_14; } } lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -24336,6 +26577,1176 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_el return x_2; } } +lean_object* l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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) { +_start: +{ +lean_object* x_10; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_23 = lean_st_ref_get(x_8, x_9); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_get(x_4, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 5); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*2); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_2); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(x_4, x_5, x_6, x_7, x_8, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +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_35 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_36); +x_38 = lean_apply_8(x_2, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_st_ref_get(x_8, x_40); +lean_dec(x_8); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_st_ref_take(x_4, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 5); +lean_inc(x_45); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = !lean_is_exclusive(x_44); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_44, 5); +lean_dec(x_48); +x_49 = !lean_is_exclusive(x_45); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_50 = lean_ctor_get(x_45, 1); +x_51 = lean_ctor_get(x_39, 0); +lean_inc(x_51); +lean_dec(x_39); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Std_PersistentArray_push___rarg(x_33, x_52); +lean_ctor_set(x_45, 1, x_53); +x_54 = lean_st_ref_set(x_4, x_44, x_46); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_36); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_54, 0, x_58); +x_10 = x_54; +goto block_22; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_dec(x_54); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_36); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +x_10 = x_62; +goto block_22; +} +} +else +{ +uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_63 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_64 = lean_ctor_get(x_45, 0); +x_65 = lean_ctor_get(x_45, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_45); +x_66 = lean_ctor_get(x_39, 0); +lean_inc(x_66); +lean_dec(x_39); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Std_PersistentArray_push___rarg(x_33, x_67); +x_69 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_69, 0, x_64); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_63); +lean_ctor_set(x_44, 5, x_69); +x_70 = lean_st_ref_set(x_4, x_44, x_46); +lean_dec(x_4); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +x_73 = lean_box(0); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_36); +lean_ctor_set(x_74, 1, x_73); +if (lean_is_scalar(x_72)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_72; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_71); +x_10 = x_75; +goto block_22; +} +} +else +{ +lean_object* 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; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_76 = lean_ctor_get(x_44, 0); +x_77 = lean_ctor_get(x_44, 1); +x_78 = lean_ctor_get(x_44, 2); +x_79 = lean_ctor_get(x_44, 3); +x_80 = lean_ctor_get(x_44, 4); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_44); +x_81 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_82 = lean_ctor_get(x_45, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_45, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_84 = x_45; +} else { + lean_dec_ref(x_45); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_39, 0); +lean_inc(x_85); +lean_dec(x_39); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +x_87 = l_Std_PersistentArray_push___rarg(x_33, x_86); +if (lean_is_scalar(x_84)) { + x_88 = lean_alloc_ctor(0, 2, 1); +} else { + x_88 = x_84; +} +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set_uint8(x_88, sizeof(void*)*2, x_81); +x_89 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_89, 0, x_76); +lean_ctor_set(x_89, 1, x_77); +lean_ctor_set(x_89, 2, x_78); +lean_ctor_set(x_89, 3, x_79); +lean_ctor_set(x_89, 4, x_80); +lean_ctor_set(x_89, 5, x_88); +x_90 = lean_st_ref_set(x_4, x_89, x_46); +lean_dec(x_4); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; +} else { + lean_dec_ref(x_90); + x_92 = lean_box(0); +} +x_93 = lean_box(0); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_36); +lean_ctor_set(x_94, 1, x_93); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +x_10 = x_95; +goto block_22; +} +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_43, 1); +lean_inc(x_96); +lean_dec(x_43); +x_97 = !lean_is_exclusive(x_44); +if (x_97 == 0) +{ +lean_object* x_98; uint8_t x_99; +x_98 = lean_ctor_get(x_44, 5); +lean_dec(x_98); +x_99 = !lean_is_exclusive(x_45); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_100 = lean_ctor_get(x_45, 1); +lean_dec(x_100); +x_101 = lean_ctor_get(x_39, 0); +lean_inc(x_101); +lean_dec(x_39); +x_102 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = l_Std_PersistentArray_push___rarg(x_33, x_102); +lean_ctor_set(x_45, 1, x_103); +x_104 = lean_st_ref_set(x_4, x_44, x_96); +lean_dec(x_4); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +lean_dec(x_106); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_36); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_104, 0, x_108); +x_10 = x_104; +goto block_22; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_box(0); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_36); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_109); +x_10 = x_112; +goto block_22; +} +} +else +{ +uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_113 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_114 = lean_ctor_get(x_45, 0); +lean_inc(x_114); +lean_dec(x_45); +x_115 = lean_ctor_get(x_39, 0); +lean_inc(x_115); +lean_dec(x_39); +x_116 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_116, 0, x_115); +x_117 = l_Std_PersistentArray_push___rarg(x_33, x_116); +x_118 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_118, 0, x_114); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set_uint8(x_118, sizeof(void*)*2, x_113); +lean_ctor_set(x_44, 5, x_118); +x_119 = lean_st_ref_set(x_4, x_44, x_96); +lean_dec(x_4); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; +} else { + lean_dec_ref(x_119); + x_121 = lean_box(0); +} +x_122 = lean_box(0); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_36); +lean_ctor_set(x_123, 1, x_122); +if (lean_is_scalar(x_121)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_121; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_120); +x_10 = x_124; +goto block_22; +} +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_125 = lean_ctor_get(x_44, 0); +x_126 = lean_ctor_get(x_44, 1); +x_127 = lean_ctor_get(x_44, 2); +x_128 = lean_ctor_get(x_44, 3); +x_129 = lean_ctor_get(x_44, 4); +lean_inc(x_129); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_44); +x_130 = lean_ctor_get_uint8(x_45, sizeof(void*)*2); +x_131 = lean_ctor_get(x_45, 0); +lean_inc(x_131); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_132 = x_45; +} else { + lean_dec_ref(x_45); + x_132 = lean_box(0); +} +x_133 = lean_ctor_get(x_39, 0); +lean_inc(x_133); +lean_dec(x_39); +x_134 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = l_Std_PersistentArray_push___rarg(x_33, x_134); +if (lean_is_scalar(x_132)) { + x_136 = lean_alloc_ctor(0, 2, 1); +} else { + x_136 = x_132; +} +lean_ctor_set(x_136, 0, x_131); +lean_ctor_set(x_136, 1, x_135); +lean_ctor_set_uint8(x_136, sizeof(void*)*2, x_130); +x_137 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_137, 0, x_125); +lean_ctor_set(x_137, 1, x_126); +lean_ctor_set(x_137, 2, x_127); +lean_ctor_set(x_137, 3, x_128); +lean_ctor_set(x_137, 4, x_129); +lean_ctor_set(x_137, 5, x_136); +x_138 = lean_st_ref_set(x_4, x_137, x_96); +lean_dec(x_4); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_140 = x_138; +} else { + lean_dec_ref(x_138); + x_140 = lean_box(0); +} +x_141 = lean_box(0); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_36); +lean_ctor_set(x_142, 1, x_141); +if (lean_is_scalar(x_140)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_140; +} +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_139); +x_10 = x_143; +goto block_22; +} +} +} +else +{ +uint8_t x_144; +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_8); +lean_dec(x_4); +x_144 = !lean_is_exclusive(x_38); +if (x_144 == 0) +{ +x_10 = x_38; +goto block_22; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_38, 0); +x_146 = lean_ctor_get(x_38, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_38); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +x_10 = x_147; +goto block_22; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_148 = lean_ctor_get(x_35, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_35, 1); +lean_inc(x_149); +lean_dec(x_35); +x_150 = lean_st_ref_get(x_8, x_149); +lean_dec(x_8); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_st_ref_take(x_4, x_151); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_153, 5); +lean_inc(x_154); +x_155 = lean_ctor_get(x_152, 1); +lean_inc(x_155); +lean_dec(x_152); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; uint8_t x_158; +x_157 = lean_ctor_get(x_153, 5); +lean_dec(x_157); +x_158 = !lean_is_exclusive(x_154); +if (x_158 == 0) +{ +lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_159 = lean_ctor_get(x_154, 1); +lean_dec(x_159); +lean_ctor_set(x_154, 1, x_33); +x_160 = lean_st_ref_set(x_4, x_153, x_155); +lean_dec(x_4); +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) +{ +lean_object* x_162; +x_162 = lean_ctor_get(x_160, 0); +lean_dec(x_162); +lean_ctor_set_tag(x_160, 1); +lean_ctor_set(x_160, 0, x_148); +x_10 = x_160; +goto block_22; +} +else +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_ctor_get(x_160, 1); +lean_inc(x_163); +lean_dec(x_160); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_148); +lean_ctor_set(x_164, 1, x_163); +x_10 = x_164; +goto block_22; +} +} +else +{ +uint8_t 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; +x_165 = lean_ctor_get_uint8(x_154, sizeof(void*)*2); +x_166 = lean_ctor_get(x_154, 0); +lean_inc(x_166); +lean_dec(x_154); +x_167 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_33); +lean_ctor_set_uint8(x_167, sizeof(void*)*2, x_165); +lean_ctor_set(x_153, 5, x_167); +x_168 = lean_st_ref_set(x_4, x_153, x_155); +lean_dec(x_4); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_170 = x_168; +} else { + lean_dec_ref(x_168); + x_170 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); +} else { + x_171 = x_170; + lean_ctor_set_tag(x_171, 1); +} +lean_ctor_set(x_171, 0, x_148); +lean_ctor_set(x_171, 1, x_169); +x_10 = x_171; +goto block_22; +} +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_172 = lean_ctor_get(x_153, 0); +x_173 = lean_ctor_get(x_153, 1); +x_174 = lean_ctor_get(x_153, 2); +x_175 = lean_ctor_get(x_153, 3); +x_176 = lean_ctor_get(x_153, 4); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_153); +x_177 = lean_ctor_get_uint8(x_154, sizeof(void*)*2); +x_178 = lean_ctor_get(x_154, 0); +lean_inc(x_178); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_179 = x_154; +} else { + lean_dec_ref(x_154); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 2, 1); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_33); +lean_ctor_set_uint8(x_180, sizeof(void*)*2, x_177); +x_181 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_181, 0, x_172); +lean_ctor_set(x_181, 1, x_173); +lean_ctor_set(x_181, 2, x_174); +lean_ctor_set(x_181, 3, x_175); +lean_ctor_set(x_181, 4, x_176); +lean_ctor_set(x_181, 5, x_180); +x_182 = lean_st_ref_set(x_4, x_181, x_155); +lean_dec(x_4); +x_183 = lean_ctor_get(x_182, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_184 = x_182; +} else { + lean_dec_ref(x_182); + x_184 = lean_box(0); +} +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(1, 2, 0); +} else { + x_185 = x_184; + lean_ctor_set_tag(x_185, 1); +} +lean_ctor_set(x_185, 0, x_148); +lean_ctor_set(x_185, 1, x_183); +x_10 = x_185; +goto block_22; +} +} +} +block_22: +{ +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_2); +x_13 = lean_apply_9(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_5); +lean_dec(x_2); +x_15 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_13, 0); +lean_dec(x_17); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_14, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_22 == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_13, 1); +x_25 = lean_ctor_get(x_13, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +x_27 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_28 = lean_nat_dec_eq(x_26, x_27); +if (x_28 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_26); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Elab_postponeExceptionId; +x_30 = lean_nat_dec_eq(x_26, x_29); +lean_dec(x_26); +if (x_30 == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +else +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_free_object(x_13); +lean_dec(x_14); +x_31 = 0; +x_32 = l_Lean_Elab_Term_SavedState_restore(x_5, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_34; +} +} +} +else +{ +lean_dec(x_26); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_13, 1); +lean_inc(x_35); +lean_dec(x_13); +x_36 = lean_ctor_get(x_14, 0); +lean_inc(x_36); +x_37 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_38 = lean_nat_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +if (x_4 == 0) +{ +lean_object* x_39; +lean_dec(x_36); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_35); +return x_39; +} +else +{ +lean_object* x_40; uint8_t x_41; +x_40 = l_Lean_Elab_postponeExceptionId; +x_41 = lean_nat_dec_eq(x_36, x_40); +lean_dec(x_36); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_14); +lean_ctor_set(x_42, 1, x_35); +return x_42; +} +else +{ +uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_14); +x_43 = 0; +x_44 = l_Lean_Elab_Term_SavedState_restore(x_5, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_35); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_45); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_46; +} +} +} +else +{ +lean_object* x_47; +lean_dec(x_36); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_14); +lean_ctor_set(x_47, 1, x_35); +return x_47; +} +} +} +else +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_13); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_13, 1); +x_50 = lean_ctor_get(x_13, 0); +lean_dec(x_50); +x_51 = lean_ctor_get(x_14, 0); +lean_inc(x_51); +x_52 = l_Lean_Elab_abortTermExceptionId; +x_53 = lean_nat_dec_eq(x_51, x_52); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_55 = lean_nat_dec_eq(x_51, x_54); +if (x_55 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_51); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +else +{ +lean_object* x_56; uint8_t x_57; +x_56 = l_Lean_Elab_postponeExceptionId; +x_57 = lean_nat_dec_eq(x_51, x_56); +lean_dec(x_51); +if (x_57 == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +else +{ +uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_free_object(x_13); +lean_dec(x_14); +x_58 = 0; +x_59 = l_Lean_Elab_Term_SavedState_restore(x_5, x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_60); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_61; +} +} +} +else +{ +lean_dec(x_51); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +else +{ +lean_object* x_62; +lean_dec(x_51); +lean_free_object(x_13); +lean_dec(x_5); +lean_dec(x_2); +x_62 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_14, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_49); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_63 = lean_ctor_get(x_13, 1); +lean_inc(x_63); +lean_dec(x_13); +x_64 = lean_ctor_get(x_14, 0); +lean_inc(x_64); +x_65 = l_Lean_Elab_abortTermExceptionId; +x_66 = lean_nat_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; uint8_t x_68; +x_67 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_68 = lean_nat_dec_eq(x_64, x_67); +if (x_68 == 0) +{ +if (x_4 == 0) +{ +lean_object* x_69; +lean_dec(x_64); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_14); +lean_ctor_set(x_69, 1, x_63); +return x_69; +} +else +{ +lean_object* x_70; uint8_t x_71; +x_70 = l_Lean_Elab_postponeExceptionId; +x_71 = lean_nat_dec_eq(x_64, x_70); +lean_dec(x_64); +if (x_71 == 0) +{ +lean_object* x_72; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_14); +lean_ctor_set(x_72, 1, x_63); +return x_72; +} +else +{ +uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_14); +x_73 = 0; +x_74 = l_Lean_Elab_Term_SavedState_restore(x_5, x_73, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_75); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_76; +} +} +} +else +{ +lean_object* x_77; +lean_dec(x_64); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_14); +lean_ctor_set(x_77, 1, x_63); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_64); +lean_dec(x_5); +lean_dec(x_2); +x_78 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_14, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +return x_78; +} +} +} +} +} +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_box(0); +x_15 = l_Lean_Elab_Term_mkTermInfo(x_13, x_2, x_4, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1() { _start: { @@ -24382,7 +27793,7 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_49; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_20 = lean_ctor_get(x_5, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_5, 1); @@ -24390,1211 +27801,30 @@ lean_inc(x_21); lean_dec(x_5); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_62 = lean_st_ref_get(x_11, x_12); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_st_ref_get(x_7, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_65, 5); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*2); -lean_dec(x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -lean_dec(x_20); -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -lean_inc(x_2); -x_69 = lean_apply_9(x_22, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_68); -if (lean_obj_tag(x_69) == 0) -{ -x_23 = x_69; -goto block_48; -} -else -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -uint8_t x_71; -x_71 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = !lean_is_exclusive(x_69); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_69, 0); -lean_dec(x_73); -x_23 = x_69; -goto block_48; -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_74); -x_23 = x_75; -goto block_48; -} -} -else -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_69, 1); -lean_inc(x_76); -lean_dec(x_69); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -x_77 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_76); -x_23 = x_77; -goto block_48; -} -} -else -{ -uint8_t x_78; -x_78 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = !lean_is_exclusive(x_69); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_80 = lean_ctor_get(x_69, 1); -x_81 = lean_ctor_get(x_69, 0); -lean_dec(x_81); -x_82 = lean_ctor_get(x_70, 0); -lean_inc(x_82); -x_83 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_84 = lean_nat_dec_eq(x_82, x_83); -if (x_84 == 0) -{ -if (x_4 == 0) -{ -lean_dec(x_82); -x_23 = x_69; -goto block_48; -} -else -{ -lean_object* x_85; uint8_t x_86; -x_85 = l_Lean_Elab_postponeExceptionId; -x_86 = lean_nat_dec_eq(x_82, x_85); -lean_dec(x_82); -if (x_86 == 0) -{ -x_23 = x_69; -goto block_48; -} -else -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_free_object(x_69); -lean_dec(x_70); -x_87 = 0; +x_23 = lean_box(x_4); lean_inc(x_1); -x_88 = l_Lean_Elab_Term_SavedState_restore(x_1, x_87, x_6, x_7, x_8, x_9, x_10, x_11, x_80); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -lean_inc(x_8); lean_inc(x_3); lean_inc(x_2); -x_90 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -x_23 = x_90; -goto block_48; -} -} -} -else -{ -lean_dec(x_82); -x_23 = x_69; -goto block_48; -} -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_91 = lean_ctor_get(x_69, 1); -lean_inc(x_91); -lean_dec(x_69); -x_92 = lean_ctor_get(x_70, 0); -lean_inc(x_92); -x_93 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_94 = lean_nat_dec_eq(x_92, x_93); -if (x_94 == 0) -{ -if (x_4 == 0) -{ -lean_object* x_95; -lean_dec(x_92); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_70); -lean_ctor_set(x_95, 1, x_91); -x_23 = x_95; -goto block_48; -} -else -{ -lean_object* x_96; uint8_t x_97; -x_96 = l_Lean_Elab_postponeExceptionId; -x_97 = lean_nat_dec_eq(x_92, x_96); -lean_dec(x_92); -if (x_97 == 0) -{ -lean_object* x_98; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_70); -lean_ctor_set(x_98, 1, x_91); -x_23 = x_98; -goto block_48; -} -else -{ -uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_70); -x_99 = 0; -lean_inc(x_1); -x_100 = l_Lean_Elab_Term_SavedState_restore(x_1, x_99, x_6, x_7, x_8, x_9, x_10, x_11, x_91); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -lean_inc(x_8); +x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1___boxed), 12, 5); +lean_closure_set(x_24, 0, x_22); +lean_closure_set(x_24, 1, x_2); +lean_closure_set(x_24, 2, x_3); +lean_closure_set(x_24, 3, x_23); +lean_closure_set(x_24, 4, x_1); lean_inc(x_3); lean_inc(x_2); -x_102 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_101); -x_23 = x_102; -goto block_48; -} -} -} -else -{ -lean_object* x_103; -lean_dec(x_92); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_70); -lean_ctor_set(x_103, 1, x_91); -x_23 = x_103; -goto block_48; -} -} -} -else -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_69); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_105 = lean_ctor_get(x_69, 1); -x_106 = lean_ctor_get(x_69, 0); -lean_dec(x_106); -x_107 = lean_ctor_get(x_70, 0); -lean_inc(x_107); -x_108 = l_Lean_Elab_abortTermExceptionId; -x_109 = lean_nat_dec_eq(x_107, x_108); -if (x_109 == 0) -{ -lean_object* x_110; uint8_t x_111; -x_110 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_111 = lean_nat_dec_eq(x_107, x_110); -if (x_111 == 0) -{ -if (x_4 == 0) -{ -lean_dec(x_107); -x_23 = x_69; -goto block_48; -} -else -{ -lean_object* x_112; uint8_t x_113; -x_112 = l_Lean_Elab_postponeExceptionId; -x_113 = lean_nat_dec_eq(x_107, x_112); -lean_dec(x_107); -if (x_113 == 0) -{ -x_23 = x_69; -goto block_48; -} -else -{ -uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_free_object(x_69); -lean_dec(x_70); -x_114 = 0; -lean_inc(x_1); -x_115 = l_Lean_Elab_Term_SavedState_restore(x_1, x_114, x_6, x_7, x_8, x_9, x_10, x_11, x_105); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -lean_inc(x_8); -lean_inc(x_3); -lean_inc(x_2); -x_117 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_116); -x_23 = x_117; -goto block_48; -} -} -} -else -{ -lean_dec(x_107); -x_23 = x_69; -goto block_48; -} -} -else -{ -lean_object* x_118; -lean_dec(x_107); -lean_free_object(x_69); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2___boxed), 11, 3); +lean_closure_set(x_25, 0, x_20); +lean_closure_set(x_25, 1, x_2); +lean_closure_set(x_25, 2, x_3); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_3); -x_118 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_105); -x_23 = x_118; -goto block_48; -} -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = lean_ctor_get(x_69, 1); -lean_inc(x_119); -lean_dec(x_69); -x_120 = lean_ctor_get(x_70, 0); -lean_inc(x_120); -x_121 = l_Lean_Elab_abortTermExceptionId; -x_122 = lean_nat_dec_eq(x_120, x_121); -if (x_122 == 0) -{ -lean_object* x_123; uint8_t x_124; -x_123 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_124 = lean_nat_dec_eq(x_120, x_123); -if (x_124 == 0) -{ -if (x_4 == 0) -{ -lean_object* x_125; -lean_dec(x_120); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_70); -lean_ctor_set(x_125, 1, x_119); -x_23 = x_125; -goto block_48; -} -else -{ -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Elab_postponeExceptionId; -x_127 = lean_nat_dec_eq(x_120, x_126); -lean_dec(x_120); -if (x_127 == 0) -{ -lean_object* x_128; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_70); -lean_ctor_set(x_128, 1, x_119); -x_23 = x_128; -goto block_48; -} -else -{ -uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_70); -x_129 = 0; -lean_inc(x_1); -x_130 = l_Lean_Elab_Term_SavedState_restore(x_1, x_129, x_6, x_7, x_8, x_9, x_10, x_11, x_119); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -lean_inc(x_8); -lean_inc(x_3); -lean_inc(x_2); -x_132 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_131); -x_23 = x_132; -goto block_48; -} -} -} -else -{ -lean_object* x_133; -lean_dec(x_120); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_70); -lean_ctor_set(x_133, 1, x_119); -x_23 = x_133; -goto block_48; -} -} -else -{ -lean_object* x_134; -lean_dec(x_120); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -x_134 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_119); -x_23 = x_134; -goto block_48; -} -} -} -} -} -} -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; lean_object* x_251; lean_object* x_252; lean_object* x_290; -x_135 = lean_ctor_get(x_64, 1); -lean_inc(x_135); -lean_dec(x_64); -x_136 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_7, x_8, x_9, x_10, x_11, x_135); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -lean_dec(x_136); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -lean_inc(x_2); -x_290 = lean_apply_9(x_22, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_138); -if (lean_obj_tag(x_290) == 0) -{ -lean_object* x_291; lean_object* x_292; -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_290, 1); -lean_inc(x_292); -lean_dec(x_290); -x_139 = x_291; -x_140 = x_292; -goto block_250; -} -else -{ -lean_object* x_293; -x_293 = lean_ctor_get(x_290, 0); -lean_inc(x_293); -if (lean_obj_tag(x_293) == 0) -{ -uint8_t x_294; -x_294 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_294 == 0) -{ -lean_object* x_295; -lean_dec(x_20); -x_295 = lean_ctor_get(x_290, 1); -lean_inc(x_295); -lean_dec(x_290); -x_251 = x_293; -x_252 = x_295; -goto block_289; -} -else -{ -lean_object* x_296; lean_object* x_297; -x_296 = lean_ctor_get(x_290, 1); -lean_inc(x_296); -lean_dec(x_290); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -x_297 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_293, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_296); -if (lean_obj_tag(x_297) == 0) -{ -lean_object* x_298; lean_object* x_299; -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); -lean_inc(x_299); -lean_dec(x_297); -x_139 = x_298; -x_140 = x_299; -goto block_250; -} -else -{ -lean_object* x_300; lean_object* x_301; -lean_dec(x_20); -x_300 = lean_ctor_get(x_297, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_297, 1); -lean_inc(x_301); -lean_dec(x_297); -x_251 = x_300; -x_252 = x_301; -goto block_289; -} -} -} -else -{ -uint8_t x_302; -x_302 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_302 == 0) -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; -x_303 = lean_ctor_get(x_290, 1); -lean_inc(x_303); -lean_dec(x_290); -x_304 = lean_ctor_get(x_293, 0); -lean_inc(x_304); -x_305 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_306 = lean_nat_dec_eq(x_304, x_305); -if (x_306 == 0) -{ -if (x_4 == 0) -{ -lean_dec(x_304); -lean_dec(x_20); -x_251 = x_293; -x_252 = x_303; -goto block_289; -} -else -{ -lean_object* x_307; uint8_t x_308; -x_307 = l_Lean_Elab_postponeExceptionId; -x_308 = lean_nat_dec_eq(x_304, x_307); -lean_dec(x_304); -if (x_308 == 0) -{ -lean_dec(x_20); -x_251 = x_293; -x_252 = x_303; -goto block_289; -} -else -{ -uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -lean_dec(x_293); -x_309 = 0; -lean_inc(x_1); -x_310 = l_Lean_Elab_Term_SavedState_restore(x_1, x_309, x_6, x_7, x_8, x_9, x_10, x_11, x_303); -x_311 = lean_ctor_get(x_310, 1); -lean_inc(x_311); -lean_dec(x_310); -lean_inc(x_8); -lean_inc(x_3); -lean_inc(x_2); -x_312 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_311); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_139 = x_313; -x_140 = x_314; -goto block_250; -} -} -} -else -{ -lean_dec(x_304); -lean_dec(x_20); -x_251 = x_293; -x_252 = x_303; -goto block_289; -} -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_315 = lean_ctor_get(x_290, 1); -lean_inc(x_315); -lean_dec(x_290); -x_316 = lean_ctor_get(x_293, 0); -lean_inc(x_316); -x_317 = l_Lean_Elab_abortTermExceptionId; -x_318 = lean_nat_dec_eq(x_316, x_317); -if (x_318 == 0) -{ -lean_object* x_319; uint8_t x_320; -x_319 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_320 = lean_nat_dec_eq(x_316, x_319); -if (x_320 == 0) -{ -if (x_4 == 0) -{ -lean_dec(x_316); -lean_dec(x_20); -x_251 = x_293; -x_252 = x_315; -goto block_289; -} -else -{ -lean_object* x_321; uint8_t x_322; -x_321 = l_Lean_Elab_postponeExceptionId; -x_322 = lean_nat_dec_eq(x_316, x_321); -lean_dec(x_316); -if (x_322 == 0) -{ -lean_dec(x_20); -x_251 = x_293; -x_252 = x_315; -goto block_289; -} -else -{ -uint8_t x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -lean_dec(x_293); -x_323 = 0; -lean_inc(x_1); -x_324 = l_Lean_Elab_Term_SavedState_restore(x_1, x_323, x_6, x_7, x_8, x_9, x_10, x_11, x_315); -x_325 = lean_ctor_get(x_324, 1); -lean_inc(x_325); -lean_dec(x_324); -lean_inc(x_8); -lean_inc(x_3); -lean_inc(x_2); -x_326 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_325); -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); -lean_dec(x_326); -x_139 = x_327; -x_140 = x_328; -goto block_250; -} -} -} -else -{ -lean_dec(x_316); -lean_dec(x_20); -x_251 = x_293; -x_252 = x_315; -goto block_289; -} -} -else -{ -lean_object* x_329; -lean_dec(x_316); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_3); -x_329 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_293, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_315); -if (lean_obj_tag(x_329) == 0) -{ -lean_object* x_330; lean_object* x_331; -x_330 = lean_ctor_get(x_329, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); -x_139 = x_330; -x_140 = x_331; -goto block_250; -} -else -{ -lean_object* x_332; lean_object* x_333; -lean_dec(x_20); -x_332 = lean_ctor_get(x_329, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_329, 1); -lean_inc(x_333); -lean_dec(x_329); -x_251 = x_332; -x_252 = x_333; -goto block_289; -} -} -} -} -} -block_250: -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_141 = lean_ctor_get(x_20, 0); -lean_inc(x_141); -lean_dec(x_20); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = lean_box(0); -lean_inc(x_3); -lean_inc(x_139); -lean_inc(x_2); -x_144 = l_Lean_Elab_Term_mkTermInfo(x_142, x_2, x_139, x_3, x_143, x_6, x_7, x_8, x_9, x_10, x_11, x_140); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = lean_st_ref_get(x_11, x_146); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = lean_st_ref_take(x_7, x_148); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_150, 5); -lean_inc(x_151); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_152; uint8_t x_153; -x_152 = lean_ctor_get(x_149, 1); -lean_inc(x_152); -lean_dec(x_149); -x_153 = !lean_is_exclusive(x_150); -if (x_153 == 0) -{ -lean_object* x_154; uint8_t x_155; -x_154 = lean_ctor_get(x_150, 5); -lean_dec(x_154); -x_155 = !lean_is_exclusive(x_151); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_156 = lean_ctor_get(x_151, 1); -x_157 = lean_ctor_get(x_145, 0); -lean_inc(x_157); -lean_dec(x_145); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = l_Std_PersistentArray_push___rarg(x_137, x_158); -lean_ctor_set(x_151, 1, x_159); -x_160 = lean_st_ref_set(x_7, x_150, x_152); -x_161 = !lean_is_exclusive(x_160); -if (x_161 == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_160, 0); -lean_dec(x_162); -x_163 = lean_box(0); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_139); -lean_ctor_set(x_164, 1, x_163); -lean_ctor_set(x_160, 0, x_164); -x_49 = x_160; -goto block_61; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_165 = lean_ctor_get(x_160, 1); -lean_inc(x_165); -lean_dec(x_160); -x_166 = lean_box(0); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_139); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_165); -x_49 = x_168; -goto block_61; -} -} -else -{ -uint8_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_169 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); -x_170 = lean_ctor_get(x_151, 0); -x_171 = lean_ctor_get(x_151, 1); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_151); -x_172 = lean_ctor_get(x_145, 0); -lean_inc(x_172); -lean_dec(x_145); -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_Std_PersistentArray_push___rarg(x_137, x_173); -x_175 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_175, 0, x_170); -lean_ctor_set(x_175, 1, x_174); -lean_ctor_set_uint8(x_175, sizeof(void*)*2, x_169); -lean_ctor_set(x_150, 5, x_175); -x_176 = lean_st_ref_set(x_7, x_150, x_152); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_178 = x_176; -} else { - lean_dec_ref(x_176); - x_178 = lean_box(0); -} -x_179 = lean_box(0); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_139); -lean_ctor_set(x_180, 1, x_179); -if (lean_is_scalar(x_178)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_178; -} -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_177); -x_49 = x_181; -goto block_61; -} -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_182 = lean_ctor_get(x_150, 0); -x_183 = lean_ctor_get(x_150, 1); -x_184 = lean_ctor_get(x_150, 2); -x_185 = lean_ctor_get(x_150, 3); -x_186 = lean_ctor_get(x_150, 4); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_150); -x_187 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); -x_188 = lean_ctor_get(x_151, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_151, 1); -lean_inc(x_189); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_190 = x_151; -} else { - lean_dec_ref(x_151); - x_190 = lean_box(0); -} -x_191 = lean_ctor_get(x_145, 0); -lean_inc(x_191); -lean_dec(x_145); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_189); -x_193 = l_Std_PersistentArray_push___rarg(x_137, x_192); -if (lean_is_scalar(x_190)) { - x_194 = lean_alloc_ctor(0, 2, 1); -} else { - x_194 = x_190; -} -lean_ctor_set(x_194, 0, x_188); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set_uint8(x_194, sizeof(void*)*2, x_187); -x_195 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_195, 0, x_182); -lean_ctor_set(x_195, 1, x_183); -lean_ctor_set(x_195, 2, x_184); -lean_ctor_set(x_195, 3, x_185); -lean_ctor_set(x_195, 4, x_186); -lean_ctor_set(x_195, 5, x_194); -x_196 = lean_st_ref_set(x_7, x_195, x_152); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_198 = x_196; -} else { - lean_dec_ref(x_196); - x_198 = lean_box(0); -} -x_199 = lean_box(0); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_139); -lean_ctor_set(x_200, 1, x_199); -if (lean_is_scalar(x_198)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_198; -} -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_197); -x_49 = x_201; -goto block_61; -} -} -else -{ -lean_object* x_202; uint8_t x_203; -x_202 = lean_ctor_get(x_149, 1); -lean_inc(x_202); -lean_dec(x_149); -x_203 = !lean_is_exclusive(x_150); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_150, 5); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_151); -if (x_205 == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -x_206 = lean_ctor_get(x_151, 1); -lean_dec(x_206); -x_207 = lean_ctor_get(x_145, 0); -lean_inc(x_207); -lean_dec(x_145); -x_208 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_208, 0, x_207); -x_209 = l_Std_PersistentArray_push___rarg(x_137, x_208); -lean_ctor_set(x_151, 1, x_209); -x_210 = lean_st_ref_set(x_7, x_150, x_202); -x_211 = !lean_is_exclusive(x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_210, 0); -lean_dec(x_212); -x_213 = lean_box(0); -x_214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_139); -lean_ctor_set(x_214, 1, x_213); -lean_ctor_set(x_210, 0, x_214); -x_49 = x_210; -goto block_61; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -lean_dec(x_210); -x_216 = lean_box(0); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_139); -lean_ctor_set(x_217, 1, x_216); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_215); -x_49 = x_218; -goto block_61; -} -} -else -{ -uint8_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_219 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); -x_220 = lean_ctor_get(x_151, 0); -lean_inc(x_220); -lean_dec(x_151); -x_221 = lean_ctor_get(x_145, 0); -lean_inc(x_221); -lean_dec(x_145); -x_222 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_222, 0, x_221); -x_223 = l_Std_PersistentArray_push___rarg(x_137, x_222); -x_224 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_224, 0, x_220); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set_uint8(x_224, sizeof(void*)*2, x_219); -lean_ctor_set(x_150, 5, x_224); -x_225 = lean_st_ref_set(x_7, x_150, x_202); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_227 = x_225; -} else { - lean_dec_ref(x_225); - x_227 = lean_box(0); -} -x_228 = lean_box(0); -x_229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_229, 0, x_139); -lean_ctor_set(x_229, 1, x_228); -if (lean_is_scalar(x_227)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_227; -} -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_226); -x_49 = x_230; -goto block_61; -} -} -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_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_231 = lean_ctor_get(x_150, 0); -x_232 = lean_ctor_get(x_150, 1); -x_233 = lean_ctor_get(x_150, 2); -x_234 = lean_ctor_get(x_150, 3); -x_235 = lean_ctor_get(x_150, 4); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_dec(x_150); -x_236 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); -x_237 = lean_ctor_get(x_151, 0); -lean_inc(x_237); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_238 = x_151; -} else { - lean_dec_ref(x_151); - x_238 = lean_box(0); -} -x_239 = lean_ctor_get(x_145, 0); -lean_inc(x_239); -lean_dec(x_145); -x_240 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_240, 0, x_239); -x_241 = l_Std_PersistentArray_push___rarg(x_137, x_240); -if (lean_is_scalar(x_238)) { - x_242 = lean_alloc_ctor(0, 2, 1); -} else { - x_242 = x_238; -} -lean_ctor_set(x_242, 0, x_237); -lean_ctor_set(x_242, 1, x_241); -lean_ctor_set_uint8(x_242, sizeof(void*)*2, x_236); -x_243 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_243, 0, x_231); -lean_ctor_set(x_243, 1, x_232); -lean_ctor_set(x_243, 2, x_233); -lean_ctor_set(x_243, 3, x_234); -lean_ctor_set(x_243, 4, x_235); -lean_ctor_set(x_243, 5, x_242); -x_244 = lean_st_ref_set(x_7, x_243, x_202); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - lean_ctor_release(x_244, 1); - x_246 = x_244; -} else { - lean_dec_ref(x_244); - x_246 = lean_box(0); -} -x_247 = lean_box(0); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_139); -lean_ctor_set(x_248, 1, x_247); -if (lean_is_scalar(x_246)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_246; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_245); -x_49 = x_249; -goto block_61; -} -} -} -block_289: -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; -x_253 = lean_st_ref_get(x_11, x_252); -x_254 = lean_ctor_get(x_253, 1); -lean_inc(x_254); -lean_dec(x_253); -x_255 = lean_st_ref_take(x_7, x_254); -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_256, 5); -lean_inc(x_257); -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = !lean_is_exclusive(x_256); -if (x_259 == 0) -{ -lean_object* x_260; uint8_t x_261; -x_260 = lean_ctor_get(x_256, 5); -lean_dec(x_260); -x_261 = !lean_is_exclusive(x_257); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_262 = lean_ctor_get(x_257, 1); -lean_dec(x_262); -lean_ctor_set(x_257, 1, x_137); -x_263 = lean_st_ref_set(x_7, x_256, x_258); -x_264 = !lean_is_exclusive(x_263); -if (x_264 == 0) -{ -lean_object* x_265; -x_265 = lean_ctor_get(x_263, 0); -lean_dec(x_265); -lean_ctor_set_tag(x_263, 1); -lean_ctor_set(x_263, 0, x_251); -x_49 = x_263; -goto block_61; -} -else -{ -lean_object* x_266; lean_object* x_267; -x_266 = lean_ctor_get(x_263, 1); -lean_inc(x_266); -lean_dec(x_263); -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_251); -lean_ctor_set(x_267, 1, x_266); -x_49 = x_267; -goto block_61; -} -} -else -{ -uint8_t x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_268 = lean_ctor_get_uint8(x_257, sizeof(void*)*2); -x_269 = lean_ctor_get(x_257, 0); -lean_inc(x_269); -lean_dec(x_257); -x_270 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_137); -lean_ctor_set_uint8(x_270, sizeof(void*)*2, x_268); -lean_ctor_set(x_256, 5, x_270); -x_271 = lean_st_ref_set(x_7, x_256, x_258); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(1, 2, 0); -} else { - x_274 = x_273; - lean_ctor_set_tag(x_274, 1); -} -lean_ctor_set(x_274, 0, x_251); -lean_ctor_set(x_274, 1, x_272); -x_49 = x_274; -goto block_61; -} -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t 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_275 = lean_ctor_get(x_256, 0); -x_276 = lean_ctor_get(x_256, 1); -x_277 = lean_ctor_get(x_256, 2); -x_278 = lean_ctor_get(x_256, 3); -x_279 = lean_ctor_get(x_256, 4); -lean_inc(x_279); -lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_276); -lean_inc(x_275); -lean_dec(x_256); -x_280 = lean_ctor_get_uint8(x_257, sizeof(void*)*2); -x_281 = lean_ctor_get(x_257, 0); -lean_inc(x_281); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_282 = x_257; -} else { - lean_dec_ref(x_257); - x_282 = lean_box(0); -} -if (lean_is_scalar(x_282)) { - x_283 = lean_alloc_ctor(0, 2, 1); -} else { - x_283 = x_282; -} -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_137); -lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_280); -x_284 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_284, 0, x_275); -lean_ctor_set(x_284, 1, x_276); -lean_ctor_set(x_284, 2, x_277); -lean_ctor_set(x_284, 3, x_278); -lean_ctor_set(x_284, 4, x_279); -lean_ctor_set(x_284, 5, x_283); -x_285 = lean_st_ref_set(x_7, x_284, x_258); -x_286 = lean_ctor_get(x_285, 1); -lean_inc(x_286); -if (lean_is_exclusive(x_285)) { - lean_ctor_release(x_285, 0); - lean_ctor_release(x_285, 1); - x_287 = x_285; -} else { - lean_dec_ref(x_285); - x_287 = lean_box(0); -} -if (lean_is_scalar(x_287)) { - x_288 = lean_alloc_ctor(1, 2, 0); -} else { - x_288 = x_287; - lean_ctor_set_tag(x_288, 1); -} -lean_ctor_set(x_288, 0, x_251); -lean_ctor_set(x_288, 1, x_286); -x_49 = x_288; -goto block_61; -} -} -} -block_48: -{ -if (lean_obj_tag(x_23) == 0) +x_26 = l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(x_24, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_26) == 0) { lean_dec(x_21); lean_dec(x_11); @@ -25606,62 +27836,62 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_23; +return x_26; } else { -lean_object* x_24; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_23, 0); -lean_dec(x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_23, 1); +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_27); -return x_28; +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_26, 0); +lean_dec(x_29); +return x_26; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_23); -if (x_29 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_26); +if (x_32 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_23, 1); -x_31 = lean_ctor_get(x_23, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_24, 0); -lean_inc(x_32); -x_33 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_34 = lean_nat_dec_eq(x_32, x_33); -lean_dec(x_32); -if (x_34 == 0) +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_26, 1); +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_27, 0); +lean_inc(x_35); +x_36 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_37 = lean_nat_dec_eq(x_35, x_36); +lean_dec(x_35); +if (x_37 == 0) { lean_dec(x_21); lean_dec(x_11); @@ -25673,38 +27903,38 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_23; +return x_26; } else { -uint8_t x_35; lean_object* x_36; lean_object* x_37; -lean_free_object(x_23); -lean_dec(x_24); -x_35 = 0; +uint8_t x_38; lean_object* x_39; lean_object* x_40; +lean_free_object(x_26); +lean_dec(x_27); +x_38 = 0; lean_inc(x_1); -x_36 = l_Lean_Elab_Term_SavedState_restore(x_1, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_30); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_5 = x_21; -x_12 = x_37; -goto _start; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_39 = lean_ctor_get(x_23, 1); -lean_inc(x_39); -lean_dec(x_23); -x_40 = lean_ctor_get(x_24, 0); +x_39 = l_Lean_Elab_Term_SavedState_restore(x_1, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); -x_41 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_42 = lean_nat_dec_eq(x_40, x_41); -lean_dec(x_40); -if (x_42 == 0) +lean_dec(x_39); +x_5 = x_21; +x_12 = x_40; +goto _start; +} +} +else { -lean_object* x_43; +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +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); +x_44 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_45 = lean_nat_dec_eq(x_43, x_44); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -25715,90 +27945,53 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_24); -lean_ctor_set(x_43, 1, x_39); -return x_43; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_27); +lean_ctor_set(x_46, 1, x_42); +return x_46; } else { -uint8_t x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_24); -x_44 = 0; +uint8_t x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_27); +x_47 = 0; lean_inc(x_1); -x_45 = l_Lean_Elab_Term_SavedState_restore(x_1, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_39); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); +x_48 = l_Lean_Elab_Term_SavedState_restore(x_1, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); x_5 = x_21; -x_12 = x_46; +x_12 = x_49; goto _start; } } } } } -block_61: +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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, lean_object* x_12) { +_start: { -if (lean_obj_tag(x_49) == 0) +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_4); +lean_dec(x_4); +x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1(x_1, x_2, x_3, x_13, 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_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -uint8_t x_50; -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -lean_dec(x_51); -lean_ctor_set(x_49, 0, x_52); -x_23 = x_49; -goto block_48; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_49, 0); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_49); -x_55 = lean_ctor_get(x_53, 0); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_23 = x_56; -goto block_48; -} -} -else -{ -uint8_t x_57; -x_57 = !lean_is_exclusive(x_49); -if (x_57 == 0) -{ -x_23 = x_49; -goto block_48; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_49, 0); -x_59 = lean_ctor_get(x_49, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_49); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_23 = x_60; -goto block_48; -} -} -} -} +lean_object* x_12; +x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; } } lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___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) { @@ -27776,59 +29969,59 @@ lean_inc(x_4); x_34 = l_Lean_Meta_mkLambdaFVars(x_4, x_30, x_32, x_33, x_7, x_8, x_9, x_10, x_31); if (lean_obj_tag(x_34) == 0) { -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_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_dec(x_4); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = lean_st_ref_get(x_10, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 3); +x_37 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; +x_38 = lean_st_ref_get(x_10, x_36); +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +x_40 = lean_ctor_get(x_39, 3); +lean_inc(x_40); lean_dec(x_39); -if (x_40 == 0) +x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); +lean_dec(x_40); +if (x_41 == 0) { -uint8_t x_41; +uint8_t x_42; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_41 = !lean_is_exclusive(x_37); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -lean_object* x_42; -x_42 = lean_ctor_get(x_37, 0); -lean_dec(x_42); -lean_ctor_set(x_37, 0, x_35); -return x_37; +lean_object* x_43; +x_43 = lean_ctor_get(x_38, 0); +lean_dec(x_43); +lean_ctor_set(x_38, 0, x_35); +return x_38; } else { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_35); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_dec(x_38); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_35); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); -lean_dec(x_37); -x_46 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +lean_dec(x_38); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -27872,7 +30065,7 @@ lean_dec(x_47); lean_inc(x_35); x_55 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_55, 0, x_35); -x_56 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_46, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_54); +x_56 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_37, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_54); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -28184,6 +30377,33 @@ return x_22; } } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t 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: +{ +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; +x_15 = l_Lean_Elab_Term_getMainModule___rarg(x_13, 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); +lean_dec(x_15); +x_18 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_addMacroScope(x_16, x_1, x_19); +x_22 = lean_box(x_5); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed), 12, 4); +lean_closure_set(x_23, 0, x_2); +lean_closure_set(x_23, 1, x_3); +lean_closure_set(x_23, 2, x_4); +lean_closure_set(x_23, 3, x_22); +x_24 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_21, x_6, x_7, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_20); +return x_24; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop(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: { @@ -28201,223 +30421,36 @@ x_16 = (uint8_t)((x_15 << 24) >> 61); x_17 = l_Lean_BinderInfo_isExplicit(x_16); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_3); -x_18 = lean_st_ref_take(x_10, x_11); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_22 = lean_ctor_get(x_19, 1); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_22, x_23); -lean_ctor_set(x_19, 1, x_24); -x_25 = lean_st_ref_set(x_10, x_19, x_20); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = !lean_is_exclusive(x_5); -if (x_27 == 0) -{ -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_28 = lean_ctor_get(x_5, 4); -lean_dec(x_28); -lean_ctor_set(x_5, 4, x_22); -x_29 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_26); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_addMacroScope(x_30, x_12, x_33); -x_36 = lean_box(x_2); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed), 12, 4); -lean_closure_set(x_37, 0, x_14); -lean_closure_set(x_37, 1, x_4); -lean_closure_set(x_37, 2, x_1); -lean_closure_set(x_37, 3, x_36); -x_38 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_35, x_16, x_13, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_34); -return x_38; +x_18 = lean_box(x_2); +x_19 = lean_box(x_16); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2___boxed), 14, 7); +lean_closure_set(x_20, 0, x_12); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_1); +lean_closure_set(x_20, 4, x_18); +lean_closure_set(x_20, 5, x_19); +lean_closure_set(x_20, 6, x_13); +x_21 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_21; } 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; uint8_t 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; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_39 = lean_ctor_get(x_5, 0); -x_40 = lean_ctor_get(x_5, 1); -x_41 = lean_ctor_get(x_5, 2); -x_42 = lean_ctor_get(x_5, 3); -x_43 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_44 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_45 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_46 = lean_ctor_get(x_5, 5); -x_47 = lean_ctor_get(x_5, 6); -x_48 = lean_ctor_get(x_5, 7); -x_49 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_5); -x_50 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_50, 0, x_39); -lean_ctor_set(x_50, 1, x_40); -lean_ctor_set(x_50, 2, x_41); -lean_ctor_set(x_50, 3, x_42); -lean_ctor_set(x_50, 4, x_22); -lean_ctor_set(x_50, 5, x_46); -lean_ctor_set(x_50, 6, x_47); -lean_ctor_set(x_50, 7, x_48); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_43); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 1, x_44); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 2, x_45); -lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 3, x_49); -x_51 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_26); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_50, x_6, x_7, x_8, x_9, x_10, x_53); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_addMacroScope(x_52, x_12, x_55); -x_58 = lean_box(x_2); -x_59 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed), 12, 4); -lean_closure_set(x_59, 0, x_14); -lean_closure_set(x_59, 1, x_4); -lean_closure_set(x_59, 2, x_1); -lean_closure_set(x_59, 3, x_58); -x_60 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_57, x_16, x_13, x_59, x_50, x_6, x_7, x_8, x_9, x_10, x_56); -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; 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; uint8_t x_74; uint8_t x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_61 = lean_ctor_get(x_19, 0); -x_62 = lean_ctor_get(x_19, 1); -x_63 = lean_ctor_get(x_19, 2); -x_64 = lean_ctor_get(x_19, 3); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_19); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_add(x_62, x_65); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_61); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_63); -lean_ctor_set(x_67, 3, x_64); -x_68 = lean_st_ref_set(x_10, x_67, x_20); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get(x_5, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_5, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_5, 2); -lean_inc(x_72); -x_73 = lean_ctor_get(x_5, 3); -lean_inc(x_73); -x_74 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_75 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_76 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_77 = lean_ctor_get(x_5, 5); -lean_inc(x_77); -x_78 = lean_ctor_get(x_5, 6); -lean_inc(x_78); -x_79 = lean_ctor_get(x_5, 7); -lean_inc(x_79); -x_80 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_81 = x_5; -} else { - lean_dec_ref(x_5); - x_81 = lean_box(0); -} -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(0, 8, 4); -} else { - x_82 = x_81; -} -lean_ctor_set(x_82, 0, x_70); -lean_ctor_set(x_82, 1, x_71); -lean_ctor_set(x_82, 2, x_72); -lean_ctor_set(x_82, 3, x_73); -lean_ctor_set(x_82, 4, x_62); -lean_ctor_set(x_82, 5, x_77); -lean_ctor_set(x_82, 6, x_78); -lean_ctor_set(x_82, 7, x_79); -lean_ctor_set_uint8(x_82, sizeof(void*)*8, x_74); -lean_ctor_set_uint8(x_82, sizeof(void*)*8 + 1, x_75); -lean_ctor_set_uint8(x_82, sizeof(void*)*8 + 2, x_76); -lean_ctor_set_uint8(x_82, sizeof(void*)*8 + 3, x_80); -x_83 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_69); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Elab_Term_getCurrMacroScope(x_82, x_6, x_7, x_8, x_9, x_10, x_85); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_addMacroScope(x_84, x_12, x_87); -x_90 = lean_box(x_2); -x_91 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed), 12, 4); -lean_closure_set(x_91, 0, x_14); -lean_closure_set(x_91, 1, x_4); -lean_closure_set(x_91, 2, x_1); -lean_closure_set(x_91, 3, x_90); -x_92 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(x_89, x_16, x_13, x_91, x_82, x_6, x_7, x_8, x_9, x_10, x_88); -return x_92; -} -} -else -{ -lean_object* x_93; +lean_object* x_22; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_93 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_93; +x_22 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_22; } } else { -lean_object* x_94; -x_94 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_94; +lean_object* x_23; +x_23 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_23; } } } @@ -28442,6 +30475,18 @@ lean_dec(x_1); return x_14; } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___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, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_5); +lean_dec(x_5); +x_16 = lean_unbox(x_6); +lean_dec(x_6); +x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -29707,423 +31752,6 @@ return x_72; } } } -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_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_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -lean_dec(x_13); -x_20 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_5, x_6, x_7, x_8, x_9, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_9); -lean_inc(x_6); -lean_inc(x_5); -x_23 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_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_st_ref_get(x_9, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_get(x_5, 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_ctor_get(x_29, 5); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get(x_6, 1); -lean_inc(x_33); -lean_dec(x_6); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_1); -lean_ctor_set(x_34, 2, x_2); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -x_37 = lean_st_ref_get(x_9, x_30); -lean_dec(x_9); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_take(x_5, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 5); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_41, 1); -lean_dec(x_46); -x_47 = l_Std_PersistentArray_push___rarg(x_21, x_36); -lean_ctor_set(x_41, 1, x_47); -x_48 = lean_st_ref_set(x_5, x_40, x_42); -lean_dec(x_5); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -lean_ctor_set(x_48, 0, x_24); -return x_48; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_24); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -uint8_t 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_53 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_54 = lean_ctor_get(x_41, 0); -lean_inc(x_54); -lean_dec(x_41); -x_55 = l_Std_PersistentArray_push___rarg(x_21, x_36); -x_56 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_53); -lean_ctor_set(x_40, 5, x_56); -x_57 = lean_st_ref_set(x_5, x_40, x_42); -lean_dec(x_5); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_24); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_61 = lean_ctor_get(x_40, 0); -x_62 = lean_ctor_get(x_40, 1); -x_63 = lean_ctor_get(x_40, 2); -x_64 = lean_ctor_get(x_40, 3); -x_65 = lean_ctor_get(x_40, 4); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_40); -x_66 = lean_ctor_get_uint8(x_41, sizeof(void*)*2); -x_67 = lean_ctor_get(x_41, 0); -lean_inc(x_67); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_68 = x_41; -} else { - lean_dec_ref(x_41); - x_68 = lean_box(0); -} -x_69 = l_Std_PersistentArray_push___rarg(x_21, x_36); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 1); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_66); -x_71 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_71, 0, x_61); -lean_ctor_set(x_71, 1, x_62); -lean_ctor_set(x_71, 2, x_63); -lean_ctor_set(x_71, 3, x_64); -lean_ctor_set(x_71, 4, x_65); -lean_ctor_set(x_71, 5, x_70); -x_72 = lean_st_ref_set(x_5, x_71, x_42); -lean_dec(x_5); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_74 = x_72; -} else { - lean_dec_ref(x_72); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_24); -lean_ctor_set(x_75, 1, x_73); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_76 = lean_ctor_get(x_23, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_23, 1); -lean_inc(x_77); -lean_dec(x_23); -x_78 = lean_st_ref_get(x_9, x_77); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_st_ref_get(x_5, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 5); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_ctor_get(x_6, 1); -lean_inc(x_85); -lean_dec(x_6); -x_86 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_1); -lean_ctor_set(x_86, 2, x_2); -x_87 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_84); -x_89 = lean_st_ref_get(x_9, x_82); -lean_dec(x_9); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_st_ref_take(x_5, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_92, 5); -lean_inc(x_93); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_95 = !lean_is_exclusive(x_92); -if (x_95 == 0) -{ -lean_object* x_96; uint8_t x_97; -x_96 = lean_ctor_get(x_92, 5); -lean_dec(x_96); -x_97 = !lean_is_exclusive(x_93); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_93, 1); -lean_dec(x_98); -x_99 = l_Std_PersistentArray_push___rarg(x_21, x_88); -lean_ctor_set(x_93, 1, x_99); -x_100 = lean_st_ref_set(x_5, x_92, x_94); -lean_dec(x_5); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set_tag(x_100, 1); -lean_ctor_set(x_100, 0, x_76); -return x_100; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_76); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -else -{ -uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_105 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); -x_106 = lean_ctor_get(x_93, 0); -lean_inc(x_106); -lean_dec(x_93); -x_107 = l_Std_PersistentArray_push___rarg(x_21, x_88); -x_108 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_105); -lean_ctor_set(x_92, 5, x_108); -x_109 = lean_st_ref_set(x_5, x_92, x_94); -lean_dec(x_5); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; -} else { - lean_dec_ref(x_109); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; - lean_ctor_set_tag(x_112, 1); -} -lean_ctor_set(x_112, 0, x_76); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_113 = lean_ctor_get(x_92, 0); -x_114 = lean_ctor_get(x_92, 1); -x_115 = lean_ctor_get(x_92, 2); -x_116 = lean_ctor_get(x_92, 3); -x_117 = lean_ctor_get(x_92, 4); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_92); -x_118 = lean_ctor_get_uint8(x_93, sizeof(void*)*2); -x_119 = lean_ctor_get(x_93, 0); -lean_inc(x_119); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_120 = x_93; -} else { - lean_dec_ref(x_93); - x_120 = lean_box(0); -} -x_121 = l_Std_PersistentArray_push___rarg(x_21, x_88); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 1); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set_uint8(x_122, sizeof(void*)*2, x_118); -x_123 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_123, 0, x_113); -lean_ctor_set(x_123, 1, x_114); -lean_ctor_set(x_123, 2, x_115); -lean_ctor_set(x_123, 3, x_116); -lean_ctor_set(x_123, 4, x_117); -lean_ctor_set(x_123, 5, x_122); -x_124 = lean_st_ref_set(x_5, x_123, x_94); -lean_dec(x_5); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; -} else { - lean_dec_ref(x_124); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); -} else { - x_127 = x_126; - lean_ctor_set_tag(x_127, 1); -} -lean_ctor_set(x_127, 0, x_76); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -} -} -} -} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -30145,164 +31773,67 @@ return x_14; } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t 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_13; -x_13 = !lean_is_exclusive(x_6); -if (x_13 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_ctor_get(x_6, 3); -lean_inc(x_2); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_6, 3, x_16); -x_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_10, 3); -x_19 = l_Lean_replaceRef(x_2, x_18); -lean_dec(x_18); -lean_ctor_set(x_10, 3, x_19); -x_20 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_3, x_4, x_5, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_20; +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_21 = lean_ctor_get(x_10, 0); -x_22 = lean_ctor_get(x_10, 1); -x_23 = lean_ctor_get(x_10, 2); -x_24 = lean_ctor_get(x_10, 3); -x_25 = lean_ctor_get(x_10, 4); -x_26 = lean_ctor_get(x_10, 5); -x_27 = lean_ctor_get(x_10, 6); -x_28 = lean_ctor_get(x_10, 7); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); +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; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_dec(x_10); -x_29 = l_Lean_replaceRef(x_2, x_24); -lean_dec(x_24); -x_30 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_22); -lean_ctor_set(x_30, 2, x_23); -lean_ctor_set(x_30, 3, x_29); -lean_ctor_set(x_30, 4, x_25); -lean_ctor_set(x_30, 5, x_26); -lean_ctor_set(x_30, 6, x_27); -lean_ctor_set(x_30, 7, x_28); -x_31 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_3, x_4, x_5, x_2, x_6, x_7, x_8, x_9, x_30, x_11, x_12); -return x_31; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); +x_26 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +return x_26; } } -else +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_32 = lean_ctor_get(x_6, 0); -x_33 = lean_ctor_get(x_6, 1); -x_34 = lean_ctor_get(x_6, 2); -x_35 = lean_ctor_get(x_6, 3); -x_36 = lean_ctor_get(x_6, 4); -x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_40 = lean_ctor_get(x_6, 5); -x_41 = lean_ctor_get(x_6, 6); -x_42 = lean_ctor_get(x_6, 7); -x_43 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_6); -lean_inc(x_2); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_1); -lean_ctor_set(x_44, 1, x_2); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_35); -x_46 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_46, 0, x_32); -lean_ctor_set(x_46, 1, x_33); -lean_ctor_set(x_46, 2, x_34); -lean_ctor_set(x_46, 3, x_45); -lean_ctor_set(x_46, 4, x_36); -lean_ctor_set(x_46, 5, x_40); -lean_ctor_set(x_46, 6, x_41); -lean_ctor_set(x_46, 7, x_42); -lean_ctor_set_uint8(x_46, sizeof(void*)*8, x_37); -lean_ctor_set_uint8(x_46, sizeof(void*)*8 + 1, x_38); -lean_ctor_set_uint8(x_46, sizeof(void*)*8 + 2, x_39); -lean_ctor_set_uint8(x_46, sizeof(void*)*8 + 3, x_43); -x_47 = lean_ctor_get(x_10, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_10, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_10, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_10, 3); -lean_inc(x_50); -x_51 = lean_ctor_get(x_10, 4); -lean_inc(x_51); -x_52 = lean_ctor_get(x_10, 5); -lean_inc(x_52); -x_53 = lean_ctor_get(x_10, 6); -lean_inc(x_53); -x_54 = lean_ctor_get(x_10, 7); -lean_inc(x_54); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - lean_ctor_release(x_10, 2); - lean_ctor_release(x_10, 3); - lean_ctor_release(x_10, 4); - lean_ctor_release(x_10, 5); - lean_ctor_release(x_10, 6); - lean_ctor_release(x_10, 7); - x_55 = x_10; -} else { - lean_dec_ref(x_10); - x_55 = lean_box(0); -} -x_56 = l_Lean_replaceRef(x_2, x_50); -lean_dec(x_50); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 8, 0); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_47); -lean_ctor_set(x_57, 1, x_48); -lean_ctor_set(x_57, 2, x_49); -lean_ctor_set(x_57, 3, x_56); -lean_ctor_set(x_57, 4, x_51); -lean_ctor_set(x_57, 5, x_52); -lean_ctor_set(x_57, 6, x_53); -lean_ctor_set(x_57, 7, x_54); -x_58 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_3, x_4, x_5, x_2, x_46, x_7, x_8, x_9, x_57, x_11, x_12); -return x_58; +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_4, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -30310,299 +31841,429 @@ x_1 = lean_mk_string("elaborator"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2() { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t 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_1; -x_1 = lean_mk_string("expected type: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3() { -_start: +lean_object* x_13; lean_object* x_14; +x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; +x_14 = l_Lean_Core_checkMaxHeartbeats(x_13, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4() { -_start: +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; uint8_t x_25; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_11, x_15); +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); +x_19 = lean_ctor_get(x_17, 3); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_take(x_11, x_18); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = !lean_is_exclusive(x_22); +if (x_25 == 0) { -lean_object* x_1; -x_1 = lean_mk_string(", term\n"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5() { -_start: +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_22, 3); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; -x_3 = lean_alloc_ctor(10, 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_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; -x_3 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_1, x_28); -x_30 = !lean_is_exclusive(x_12); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_771; lean_object* x_772; lean_object* x_792; lean_object* x_793; lean_object* x_794; uint8_t x_795; -x_31 = lean_ctor_get(x_12, 3); -x_32 = lean_ctor_get(x_12, 1); -lean_dec(x_32); +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_41; lean_object* x_42; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_28 = lean_ctor_get(x_23, 0); +lean_dec(x_28); +x_29 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +lean_ctor_set(x_23, 0, x_29); +x_30 = lean_st_ref_set(x_11, x_22, x_24); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -lean_ctor_set(x_12, 1, x_29); -x_792 = lean_st_ref_get(x_13, x_14); -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -x_794 = lean_ctor_get(x_793, 3); -lean_inc(x_794); -lean_dec(x_793); -x_795 = lean_ctor_get_uint8(x_794, sizeof(void*)*1); -lean_dec(x_794); -if (x_795 == 0) -{ -lean_object* x_796; uint8_t x_797; -x_796 = lean_ctor_get(x_792, 1); -lean_inc(x_796); -lean_dec(x_792); -x_797 = 0; -x_771 = x_797; -x_772 = x_796; -goto block_791; -} -else -{ -lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; uint8_t x_802; -x_798 = lean_ctor_get(x_792, 1); -lean_inc(x_798); -lean_dec(x_792); -lean_inc(x_6); -x_799 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_798); -x_800 = lean_ctor_get(x_799, 0); -lean_inc(x_800); -x_801 = lean_ctor_get(x_799, 1); -lean_inc(x_801); -lean_dec(x_799); -x_802 = lean_unbox(x_800); -lean_dec(x_800); -x_771 = x_802; -x_772 = x_801; -goto block_791; -} -block_770: -{ -lean_object* x_34; lean_object* x_35; -x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; -x_35 = l_Lean_Core_checkMaxHeartbeats(x_34, x_12, x_13, x_33); -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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_st_ref_get(x_13, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_38, 3); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_take(x_13, x_39); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 3); -lean_inc(x_44); -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = !lean_is_exclusive(x_43); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_43, 3); -lean_dec(x_47); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) -{ -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_61; lean_object* x_62; lean_object* x_69; lean_object* x_88; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_49 = lean_ctor_get(x_44, 0); +lean_dec(x_30); +x_32 = lean_ctor_get(x_10, 3); +lean_inc(x_32); +x_49 = lean_st_ref_get(x_11, x_31); +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); -x_50 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -lean_ctor_set(x_44, 0, x_50); -x_51 = lean_st_ref_set(x_13, x_43, x_45); -x_52 = lean_ctor_get(x_51, 1); +x_52 = lean_ctor_get(x_50, 0); lean_inc(x_52); -lean_dec(x_51); -x_101 = lean_st_ref_get(x_13, x_52); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -lean_dec(x_102); +lean_dec(x_50); +lean_inc(x_1); +x_53 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_53, 0, x_52); +lean_closure_set(x_53, 1, x_1); +lean_inc(x_10); +lean_inc(x_6); +x_54 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_53, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +if (x_4 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_58 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_57, x_6, x_7, x_8, x_9, x_10, x_11, x_56); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_33 = x_59; +x_34 = x_60; +goto block_40; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_58, 1); +lean_inc(x_62); +lean_dec(x_58); +x_41 = x_61; +x_42 = x_62; +goto block_48; +} +} +else +{ +uint8_t x_63; +x_63 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_54, 1); +lean_inc(x_64); +lean_dec(x_54); +x_65 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_66 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_65, x_6, x_7, x_8, x_9, x_10, x_11, x_64); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_33 = x_67; +x_34 = x_68; +goto block_40; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_41 = x_69; +x_42 = x_70; +goto block_48; +} +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_54, 1); +lean_inc(x_71); +lean_dec(x_54); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_2); -x_105 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_105, 0, x_104); -lean_closure_set(x_105, 1, x_2); -lean_inc(x_12); -lean_inc(x_8); -x_106 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_103); -if (lean_obj_tag(x_106) == 0) +lean_inc(x_1); +x_72 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_71); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_107; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -if (lean_obj_tag(x_107) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_110 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_109, x_8, x_9, x_10, x_11, x_12, x_13, x_108); -if (lean_obj_tag(x_110) == 0) +lean_inc(x_7); +lean_inc(x_6); +x_75 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_73, x_6, x_7, x_8, x_9, x_10, x_11, x_74); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_53 = x_111; -x_54 = x_112; -goto block_60; +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_33 = x_76; +x_34 = x_77; +goto block_40; } else { -lean_object* x_113; lean_object* x_114; -x_113 = lean_ctor_get(x_110, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_61 = x_113; -x_62 = x_114; -goto block_68; +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_75, 1); +lean_inc(x_79); +lean_dec(x_75); +x_41 = x_78; +x_42 = x_79; +goto block_48; } } else { -uint8_t x_115; -x_115 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_115 == 0) +lean_object* x_80; lean_object* x_81; +lean_dec(x_2); +lean_dec(x_1); +x_80 = lean_ctor_get(x_72, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); +lean_dec(x_72); +x_41 = x_80; +x_42 = x_81; +goto block_48; +} +} +} +} +else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_106, 1); -lean_inc(x_116); -lean_dec(x_106); -x_117 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_82 = lean_ctor_get(x_55, 0); +lean_inc(x_82); +lean_dec(x_55); +x_83 = lean_ctor_get(x_54, 1); +lean_inc(x_83); +lean_dec(x_54); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_box(x_3); +x_87 = lean_box(x_4); +lean_inc(x_2); +lean_inc(x_85); +x_88 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 11, 4); +lean_closure_set(x_88, 0, x_85); +lean_closure_set(x_88, 1, x_2); +lean_closure_set(x_88, 2, x_86); +lean_closure_set(x_88, 3, x_87); +lean_inc(x_1); +x_89 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10, 3); +lean_closure_set(x_89, 0, x_1); +lean_closure_set(x_89, 1, x_85); +lean_closure_set(x_89, 2, x_88); +x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 11, 3); +lean_closure_set(x_90, 0, x_84); +lean_closure_set(x_90, 1, x_1); +lean_closure_set(x_90, 2, x_2); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_118 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_117, x_8, x_9, x_10, x_11, x_12, x_13, x_116); -if (lean_obj_tag(x_118) == 0) +lean_inc(x_7); +lean_inc(x_6); +x_91 = l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(x_89, x_90, x_6, x_7, x_8, x_9, x_10, x_11, x_83); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_119; lean_object* x_120; +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_33 = x_92; +x_34 = x_93; +goto block_40; +} +else +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_91, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_91, 1); +lean_inc(x_95); +lean_dec(x_91); +x_41 = x_94; +x_42 = x_95; +goto block_48; +} +} +} +else +{ +lean_object* x_96; lean_object* x_97; +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_ctor_get(x_54, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_54, 1); +lean_inc(x_97); +lean_dec(x_54); +x_41 = x_96; +x_42 = x_97; +goto block_48; +} +block_40: +{ +lean_object* x_35; uint8_t x_36; +x_35 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_32, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_33); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_33); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +block_48: +{ +lean_object* x_43; uint8_t x_44; +x_43 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_32, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set_tag(x_43, 1); +lean_ctor_set(x_43, 0, x_41); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_111; lean_object* x_112; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_98 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); +lean_dec(x_23); +x_99 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +x_100 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set_uint8(x_100, sizeof(void*)*1, x_98); +lean_ctor_set(x_22, 3, x_100); +x_101 = lean_st_ref_set(x_11, x_22, x_24); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_ctor_get(x_10, 3); +lean_inc(x_103); +x_118 = lean_st_ref_get(x_11, x_102); x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); lean_dec(x_118); -x_53 = x_119; -x_54 = x_120; -goto block_60; -} -else -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 0); +x_121 = lean_ctor_get(x_119, 0); lean_inc(x_121); -x_122 = lean_ctor_get(x_118, 1); -lean_inc(x_122); -lean_dec(x_118); -x_61 = x_121; -x_62 = x_122; -goto block_68; -} -} -else -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_106, 1); -lean_inc(x_123); -lean_dec(x_106); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); +lean_dec(x_119); +lean_inc(x_1); +x_122 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_122, 0, x_121); +lean_closure_set(x_122, 1, x_1); lean_inc(x_10); -lean_inc(x_3); -lean_inc(x_2); -x_124 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_123); +lean_inc(x_6); +x_123 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_122, x_6, x_7, x_8, x_9, x_10, x_11, x_120); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); if (lean_obj_tag(x_124) == 0) { +if (x_4 == 0) +{ lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_124, 0); +x_125 = lean_ctor_get(x_123, 1); lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -lean_inc(x_13); -lean_inc(x_12); +lean_dec(x_123); +x_126 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_127 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_125, x_8, x_9, x_10, x_11, x_12, x_13, x_126); +lean_inc(x_7); +lean_inc(x_6); +x_127 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_126, x_6, x_7, x_8, x_9, x_10, x_11, x_125); if (lean_obj_tag(x_127) == 0) { lean_object* x_128; lean_object* x_129; @@ -30611,9 +32272,9 @@ lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec(x_127); -x_53 = x_128; -x_54 = x_129; -goto block_60; +x_104 = x_128; +x_105 = x_129; +goto block_110; } else { @@ -30623,4074 +32284,1037 @@ lean_inc(x_130); x_131 = lean_ctor_get(x_127, 1); lean_inc(x_131); lean_dec(x_127); -x_61 = x_130; -x_62 = x_131; -goto block_68; +x_111 = x_130; +x_112 = x_131; +goto block_117; } } else { -lean_object* x_132; lean_object* x_133; -lean_dec(x_3); -lean_dec(x_2); -x_132 = lean_ctor_get(x_124, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_124, 1); +uint8_t x_132; +x_132 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_123, 1); lean_inc(x_133); -lean_dec(x_124); -x_61 = x_132; -x_62 = x_133; -goto block_68; -} -} -} -} -else -{ -lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_134 = lean_ctor_get(x_107, 0); -lean_inc(x_134); -lean_dec(x_107); -x_135 = lean_ctor_get(x_106, 1); -lean_inc(x_135); -lean_dec(x_106); -x_136 = !lean_is_exclusive(x_134); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_137 = lean_ctor_get(x_134, 0); -x_138 = lean_ctor_get(x_134, 1); -x_139 = lean_st_ref_get(x_13, x_135); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_st_ref_get(x_9, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_142, 5); -lean_inc(x_143); -lean_dec(x_142); -x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*2); -lean_dec(x_143); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -lean_free_object(x_134); -lean_dec(x_137); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_dec(x_141); -x_146 = lean_box(x_4); -x_147 = lean_box(x_5); -lean_inc(x_138); -lean_inc(x_2); -x_148 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_148, 0, x_2); -lean_closure_set(x_148, 1, x_138); -lean_closure_set(x_148, 2, x_3); -lean_closure_set(x_148, 3, x_146); -lean_closure_set(x_148, 4, x_147); -lean_inc(x_13); -lean_inc(x_12); +lean_dec(x_123); +x_134 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_149 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_138, x_148, x_8, x_9, x_10, x_11, x_12, x_13, x_145); -x_69 = x_149; -goto block_87; +lean_inc(x_7); +lean_inc(x_6); +x_135 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_134, x_6, x_7, x_8, x_9, x_10, x_11, x_133); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_104 = x_136; +x_105 = x_137; +goto block_110; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_135, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +lean_dec(x_135); +x_111 = x_138; +x_112 = x_139; +goto block_117; +} +} +else +{ +lean_object* x_140; lean_object* x_141; +x_140 = lean_ctor_get(x_123, 1); +lean_inc(x_140); +lean_dec(x_123); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +lean_inc(x_1); +x_141 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_140); +if (lean_obj_tag(x_141) == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_144 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_142, x_6, x_7, x_8, x_9, x_10, x_11, x_143); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_104 = x_145; +x_105 = x_146; +goto block_110; +} +else +{ +lean_object* x_147; lean_object* x_148; +x_147 = lean_ctor_get(x_144, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_144, 1); +lean_inc(x_148); +lean_dec(x_144); +x_111 = x_147; +x_112 = x_148; +goto block_117; +} +} +else +{ +lean_object* x_149; lean_object* x_150; +lean_dec(x_2); +lean_dec(x_1); +x_149 = lean_ctor_get(x_141, 0); +lean_inc(x_149); x_150 = lean_ctor_get(x_141, 1); lean_inc(x_150); lean_dec(x_141); -x_151 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_150); -x_152 = lean_ctor_get(x_151, 0); +x_111 = x_149; +x_112 = x_150; +goto block_117; +} +} +} +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_151 = lean_ctor_get(x_124, 0); +lean_inc(x_151); +lean_dec(x_124); +x_152 = lean_ctor_get(x_123, 1); lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); +lean_dec(x_123); +x_153 = lean_ctor_get(x_151, 0); lean_inc(x_153); +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); lean_dec(x_151); -x_154 = lean_box(x_4); -x_155 = lean_box(x_5); -lean_inc(x_3); -lean_inc(x_138); +x_155 = lean_box(x_3); +x_156 = lean_box(x_4); lean_inc(x_2); -x_156 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_156, 0, x_2); -lean_closure_set(x_156, 1, x_138); -lean_closure_set(x_156, 2, x_3); -lean_closure_set(x_156, 3, x_154); -lean_closure_set(x_156, 4, x_155); -lean_inc(x_13); -lean_inc(x_12); +lean_inc(x_154); +x_157 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 11, 4); +lean_closure_set(x_157, 0, x_154); +lean_closure_set(x_157, 1, x_2); +lean_closure_set(x_157, 2, x_155); +lean_closure_set(x_157, 3, x_156); +lean_inc(x_1); +x_158 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10, 3); +lean_closure_set(x_158, 0, x_1); +lean_closure_set(x_158, 1, x_154); +lean_closure_set(x_158, 2, x_157); +x_159 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 11, 3); +lean_closure_set(x_159, 0, x_153); +lean_closure_set(x_159, 1, x_1); +lean_closure_set(x_159, 2, x_2); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_160 = l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(x_158, x_159, x_6, x_7, x_8, x_9, x_10, x_11, x_152); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_104 = x_161; +x_105 = x_162; +goto block_110; +} +else +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_ctor_get(x_160, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_160, 1); +lean_inc(x_164); +lean_dec(x_160); +x_111 = x_163; +x_112 = x_164; +goto block_117; +} +} +} +else +{ +lean_object* x_165; lean_object* x_166; +lean_dec(x_2); +lean_dec(x_1); +x_165 = lean_ctor_get(x_123, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_123, 1); +lean_inc(x_166); +lean_dec(x_123); +x_111 = x_165; +x_112 = x_166; +goto block_117; +} +block_110: +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_103, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_105); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; +} else { + lean_dec_ref(x_106); + x_108 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_107); +return x_109; +} +block_117: +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_113 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_103, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_112); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; +} else { + lean_dec_ref(x_113); + 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_tag(x_116, 1); +} +lean_ctor_set(x_116, 0, x_111); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_185; lean_object* x_186; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_167 = lean_ctor_get(x_22, 0); +x_168 = lean_ctor_get(x_22, 1); +x_169 = lean_ctor_get(x_22, 2); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_22); +x_170 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + x_171 = x_23; +} else { + lean_dec_ref(x_23); + x_171 = lean_box(0); +} +x_172 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +if (lean_is_scalar(x_171)) { + x_173 = lean_alloc_ctor(0, 1, 1); +} else { + x_173 = x_171; +} +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set_uint8(x_173, sizeof(void*)*1, x_170); +x_174 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_174, 0, x_167); +lean_ctor_set(x_174, 1, x_168); +lean_ctor_set(x_174, 2, x_169); +lean_ctor_set(x_174, 3, x_173); +x_175 = lean_st_ref_set(x_11, x_174, x_24); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec(x_175); +x_177 = lean_ctor_get(x_10, 3); +lean_inc(x_177); +x_192 = lean_st_ref_get(x_11, x_176); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +lean_dec(x_193); +lean_inc(x_1); +x_196 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_196, 0, x_195); +lean_closure_set(x_196, 1, x_1); +lean_inc(x_10); +lean_inc(x_6); +x_197 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_196, x_6, x_7, x_8, x_9, x_10, x_11, x_194); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +if (lean_obj_tag(x_198) == 0) +{ +if (x_4 == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_201 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_200, x_6, x_7, x_8, x_9, x_10, x_11, x_199); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_178 = x_202; +x_179 = x_203; +goto block_184; +} +else +{ +lean_object* x_204; lean_object* x_205; +x_204 = lean_ctor_get(x_201, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_201, 1); +lean_inc(x_205); +lean_dec(x_201); +x_185 = x_204; +x_186 = x_205; +goto block_191; +} +} +else +{ +uint8_t x_206; +x_206 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_197, 1); +lean_inc(x_207); +lean_dec(x_197); +x_208 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_209 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_208, x_6, x_7, x_8, x_9, x_10, x_11, x_207); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_178 = x_210; +x_179 = x_211; +goto block_184; +} +else +{ +lean_object* x_212; lean_object* x_213; +x_212 = lean_ctor_get(x_209, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_209, 1); +lean_inc(x_213); +lean_dec(x_209); +x_185 = x_212; +x_186 = x_213; +goto block_191; +} +} +else +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_197, 1); +lean_inc(x_214); +lean_dec(x_197); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_2); -x_157 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_138, x_156, x_8, x_9, x_10, x_11, x_12, x_13, x_153); -if (lean_obj_tag(x_157) == 0) +lean_inc(x_1); +x_215 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_214); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_box(0); -lean_inc(x_158); -x_161 = l_Lean_Elab_Term_mkTermInfo(x_137, x_2, x_158, x_3, x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_159); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = lean_st_ref_get(x_13, x_163); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_st_ref_take(x_9, x_165); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_167, 5); -lean_inc(x_168); -if (lean_obj_tag(x_162) == 0) +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_218 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, x_2, x_3, x_216, x_6, x_7, x_8, x_9, x_10, x_11, x_217); +if (lean_obj_tag(x_218) == 0) { -lean_object* x_169; uint8_t x_170; -x_169 = lean_ctor_get(x_166, 1); -lean_inc(x_169); -lean_dec(x_166); -x_170 = !lean_is_exclusive(x_167); -if (x_170 == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = lean_ctor_get(x_167, 5); -lean_dec(x_171); -x_172 = !lean_is_exclusive(x_168); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -x_173 = lean_ctor_get(x_168, 1); -x_174 = lean_ctor_get(x_162, 0); -lean_inc(x_174); -lean_dec(x_162); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_173); -x_176 = l_Std_PersistentArray_push___rarg(x_152, x_175); -lean_ctor_set(x_168, 1, x_176); -x_177 = lean_st_ref_set(x_9, x_167, x_169); -x_178 = !lean_is_exclusive(x_177); -if (x_178 == 0) -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_177, 0); -lean_dec(x_179); -x_180 = lean_box(0); -lean_ctor_set(x_134, 1, x_180); -lean_ctor_set(x_134, 0, x_158); -lean_ctor_set(x_177, 0, x_134); -x_88 = x_177; -goto block_100; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_177, 1); -lean_inc(x_181); -lean_dec(x_177); -x_182 = lean_box(0); -lean_ctor_set(x_134, 1, x_182); -lean_ctor_set(x_134, 0, x_158); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_134); -lean_ctor_set(x_183, 1, x_181); -x_88 = x_183; -goto block_100; -} -} -else -{ -uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_184 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_185 = lean_ctor_get(x_168, 0); -x_186 = lean_ctor_get(x_168, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_168); -x_187 = lean_ctor_get(x_162, 0); -lean_inc(x_187); -lean_dec(x_162); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = l_Std_PersistentArray_push___rarg(x_152, x_188); -x_190 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_190, 0, x_185); -lean_ctor_set(x_190, 1, x_189); -lean_ctor_set_uint8(x_190, sizeof(void*)*2, x_184); -lean_ctor_set(x_167, 5, x_190); -x_191 = lean_st_ref_set(x_9, x_167, x_169); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_193 = x_191; -} else { - lean_dec_ref(x_191); - x_193 = lean_box(0); -} -x_194 = lean_box(0); -lean_ctor_set(x_134, 1, x_194); -lean_ctor_set(x_134, 0, x_158); -if (lean_is_scalar(x_193)) { - x_195 = lean_alloc_ctor(0, 2, 0); -} else { - x_195 = x_193; -} -lean_ctor_set(x_195, 0, x_134); -lean_ctor_set(x_195, 1, x_192); -x_88 = x_195; -goto block_100; -} -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t 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; -x_196 = lean_ctor_get(x_167, 0); -x_197 = lean_ctor_get(x_167, 1); -x_198 = lean_ctor_get(x_167, 2); -x_199 = lean_ctor_get(x_167, 3); -x_200 = lean_ctor_get(x_167, 4); -lean_inc(x_200); -lean_inc(x_199); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_167); -x_201 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_202 = lean_ctor_get(x_168, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_168, 1); -lean_inc(x_203); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_204 = x_168; -} else { - lean_dec_ref(x_168); - x_204 = lean_box(0); -} -x_205 = lean_ctor_get(x_162, 0); -lean_inc(x_205); -lean_dec(x_162); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_203); -x_207 = l_Std_PersistentArray_push___rarg(x_152, x_206); -if (lean_is_scalar(x_204)) { - x_208 = lean_alloc_ctor(0, 2, 1); -} else { - x_208 = x_204; -} -lean_ctor_set(x_208, 0, x_202); -lean_ctor_set(x_208, 1, x_207); -lean_ctor_set_uint8(x_208, sizeof(void*)*2, x_201); -x_209 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_209, 0, x_196); -lean_ctor_set(x_209, 1, x_197); -lean_ctor_set(x_209, 2, x_198); -lean_ctor_set(x_209, 3, x_199); -lean_ctor_set(x_209, 4, x_200); -lean_ctor_set(x_209, 5, x_208); -x_210 = lean_st_ref_set(x_9, x_209, x_169); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_212 = x_210; -} else { - lean_dec_ref(x_210); - x_212 = lean_box(0); -} -x_213 = lean_box(0); -lean_ctor_set(x_134, 1, x_213); -lean_ctor_set(x_134, 0, x_158); -if (lean_is_scalar(x_212)) { - x_214 = lean_alloc_ctor(0, 2, 0); -} else { - x_214 = x_212; -} -lean_ctor_set(x_214, 0, x_134); -lean_ctor_set(x_214, 1, x_211); -x_88 = x_214; -goto block_100; -} -} -else -{ -lean_object* x_215; uint8_t x_216; -x_215 = lean_ctor_get(x_166, 1); -lean_inc(x_215); -lean_dec(x_166); -x_216 = !lean_is_exclusive(x_167); -if (x_216 == 0) -{ -lean_object* x_217; uint8_t x_218; -x_217 = lean_ctor_get(x_167, 5); -lean_dec(x_217); -x_218 = !lean_is_exclusive(x_168); -if (x_218 == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -x_219 = lean_ctor_get(x_168, 1); -lean_dec(x_219); -x_220 = lean_ctor_get(x_162, 0); +lean_object* x_219; lean_object* x_220; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); lean_inc(x_220); -lean_dec(x_162); -x_221 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_221, 0, x_220); -x_222 = l_Std_PersistentArray_push___rarg(x_152, x_221); -lean_ctor_set(x_168, 1, x_222); -x_223 = lean_st_ref_set(x_9, x_167, x_215); -x_224 = !lean_is_exclusive(x_223); -if (x_224 == 0) -{ -lean_object* x_225; lean_object* x_226; -x_225 = lean_ctor_get(x_223, 0); -lean_dec(x_225); -x_226 = lean_box(0); -lean_ctor_set(x_134, 1, x_226); -lean_ctor_set(x_134, 0, x_158); -lean_ctor_set(x_223, 0, x_134); -x_88 = x_223; -goto block_100; +lean_dec(x_218); +x_178 = x_219; +x_179 = x_220; +goto block_184; } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_223, 1); +lean_object* x_221; lean_object* x_222; +x_221 = lean_ctor_get(x_218, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_218, 1); +lean_inc(x_222); +lean_dec(x_218); +x_185 = x_221; +x_186 = x_222; +goto block_191; +} +} +else +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_2); +lean_dec(x_1); +x_223 = lean_ctor_get(x_215, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_215, 1); +lean_inc(x_224); +lean_dec(x_215); +x_185 = x_223; +x_186 = x_224; +goto block_191; +} +} +} +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_225 = lean_ctor_get(x_198, 0); +lean_inc(x_225); +lean_dec(x_198); +x_226 = lean_ctor_get(x_197, 1); +lean_inc(x_226); +lean_dec(x_197); +x_227 = lean_ctor_get(x_225, 0); lean_inc(x_227); -lean_dec(x_223); -x_228 = lean_box(0); -lean_ctor_set(x_134, 1, x_228); -lean_ctor_set(x_134, 0, x_158); -x_229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_229, 0, x_134); -lean_ctor_set(x_229, 1, x_227); -x_88 = x_229; -goto block_100; -} +x_228 = lean_ctor_get(x_225, 1); +lean_inc(x_228); +lean_dec(x_225); +x_229 = lean_box(x_3); +x_230 = lean_box(x_4); +lean_inc(x_2); +lean_inc(x_228); +x_231 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 11, 4); +lean_closure_set(x_231, 0, x_228); +lean_closure_set(x_231, 1, x_2); +lean_closure_set(x_231, 2, x_229); +lean_closure_set(x_231, 3, x_230); +lean_inc(x_1); +x_232 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10, 3); +lean_closure_set(x_232, 0, x_1); +lean_closure_set(x_232, 1, x_228); +lean_closure_set(x_232, 2, x_231); +x_233 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 11, 3); +lean_closure_set(x_233, 0, x_227); +lean_closure_set(x_233, 1, x_1); +lean_closure_set(x_233, 2, x_2); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_234 = l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(x_232, x_233, x_6, x_7, x_8, x_9, x_10, x_11, x_226); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; lean_object* x_236; +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_178 = x_235; +x_179 = x_236; +goto block_184; } else { -uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_230 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_231 = lean_ctor_get(x_168, 0); -lean_inc(x_231); -lean_dec(x_168); -x_232 = lean_ctor_get(x_162, 0); -lean_inc(x_232); -lean_dec(x_162); -x_233 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_233, 0, x_232); -x_234 = l_Std_PersistentArray_push___rarg(x_152, x_233); -x_235 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_235, 0, x_231); -lean_ctor_set(x_235, 1, x_234); -lean_ctor_set_uint8(x_235, sizeof(void*)*2, x_230); -lean_ctor_set(x_167, 5, x_235); -x_236 = lean_st_ref_set(x_9, x_167, x_215); -x_237 = lean_ctor_get(x_236, 1); +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_234, 0); lean_inc(x_237); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_238 = x_236; -} else { - lean_dec_ref(x_236); - x_238 = lean_box(0); +x_238 = lean_ctor_get(x_234, 1); +lean_inc(x_238); +lean_dec(x_234); +x_185 = x_237; +x_186 = x_238; +goto block_191; } -x_239 = lean_box(0); -lean_ctor_set(x_134, 1, x_239); -lean_ctor_set(x_134, 0, x_158); -if (lean_is_scalar(x_238)) { - x_240 = lean_alloc_ctor(0, 2, 0); -} else { - x_240 = x_238; -} -lean_ctor_set(x_240, 0, x_134); -lean_ctor_set(x_240, 1, x_237); -x_88 = x_240; -goto block_100; } } else { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_241 = lean_ctor_get(x_167, 0); -x_242 = lean_ctor_get(x_167, 1); -x_243 = lean_ctor_get(x_167, 2); -x_244 = lean_ctor_get(x_167, 3); -x_245 = lean_ctor_get(x_167, 4); -lean_inc(x_245); -lean_inc(x_244); +lean_object* x_239; lean_object* x_240; +lean_dec(x_2); +lean_dec(x_1); +x_239 = lean_ctor_get(x_197, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_197, 1); +lean_inc(x_240); +lean_dec(x_197); +x_185 = x_239; +x_186 = x_240; +goto block_191; +} +block_184: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_180 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_177, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_179); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_181 = lean_ctor_get(x_180, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_182 = x_180; +} else { + lean_dec_ref(x_180); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_182; +} +lean_ctor_set(x_183, 0, x_178); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +block_191: +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_187 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_177, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_186); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_189 = x_187; +} else { + lean_dec_ref(x_187); + x_189 = lean_box(0); +} +if (lean_is_scalar(x_189)) { + x_190 = lean_alloc_ctor(1, 2, 0); +} else { + x_190 = x_189; + lean_ctor_set_tag(x_190, 1); +} +lean_ctor_set(x_190, 0, x_185); +lean_ctor_set(x_190, 1, x_188); +return x_190; +} +} +} +else +{ +uint8_t x_241; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_241 = !lean_is_exclusive(x_14); +if (x_241 == 0) +{ +return x_14; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_14, 0); +x_243 = lean_ctor_get(x_14, 1); lean_inc(x_243); lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_167); -x_246 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); -x_247 = lean_ctor_get(x_168, 0); -lean_inc(x_247); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_248 = x_168; -} else { - lean_dec_ref(x_168); - x_248 = lean_box(0); -} -x_249 = lean_ctor_get(x_162, 0); -lean_inc(x_249); -lean_dec(x_162); -x_250 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_250, 0, x_249); -x_251 = l_Std_PersistentArray_push___rarg(x_152, x_250); -if (lean_is_scalar(x_248)) { - x_252 = lean_alloc_ctor(0, 2, 1); -} else { - x_252 = x_248; -} -lean_ctor_set(x_252, 0, x_247); -lean_ctor_set(x_252, 1, x_251); -lean_ctor_set_uint8(x_252, sizeof(void*)*2, x_246); -x_253 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_253, 0, x_241); -lean_ctor_set(x_253, 1, x_242); -lean_ctor_set(x_253, 2, x_243); -lean_ctor_set(x_253, 3, x_244); -lean_ctor_set(x_253, 4, x_245); -lean_ctor_set(x_253, 5, x_252); -x_254 = lean_st_ref_set(x_9, x_253, x_215); -x_255 = lean_ctor_get(x_254, 1); -lean_inc(x_255); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_256 = x_254; -} else { - lean_dec_ref(x_254); - x_256 = lean_box(0); -} -x_257 = lean_box(0); -lean_ctor_set(x_134, 1, x_257); -lean_ctor_set(x_134, 0, x_158); -if (lean_is_scalar(x_256)) { - x_258 = lean_alloc_ctor(0, 2, 0); -} else { - x_258 = x_256; -} -lean_ctor_set(x_258, 0, x_134); -lean_ctor_set(x_258, 1, x_255); -x_88 = x_258; -goto block_100; +lean_dec(x_14); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +return x_244; } } } +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected type: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", term\n"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2; +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; +x_3 = lean_alloc_ctor(10, 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_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5; +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4; +x_3 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_1, x_15); +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_18 = lean_ctor_get(x_12, 1); +lean_dec(x_18); +lean_ctor_set(x_12, 1, x_16); +x_46 = lean_st_ref_get(x_13, x_14); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); +x_51 = 0; +x_19 = x_51; +x_20 = x_50; +goto block_45; +} 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; lean_object* x_265; lean_object* x_266; uint8_t x_267; -lean_free_object(x_134); -lean_dec(x_137); -lean_dec(x_3); -lean_dec(x_2); -x_259 = lean_ctor_get(x_157, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_157, 1); -lean_inc(x_260); -lean_dec(x_157); -x_261 = lean_st_ref_get(x_13, x_260); -x_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); -x_263 = lean_st_ref_take(x_9, x_262); -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_264, 5); -lean_inc(x_265); -x_266 = lean_ctor_get(x_263, 1); -lean_inc(x_266); -lean_dec(x_263); -x_267 = !lean_is_exclusive(x_264); -if (x_267 == 0) -{ -lean_object* x_268; uint8_t x_269; -x_268 = lean_ctor_get(x_264, 5); -lean_dec(x_268); -x_269 = !lean_is_exclusive(x_265); -if (x_269 == 0) -{ -lean_object* x_270; lean_object* x_271; uint8_t x_272; -x_270 = lean_ctor_get(x_265, 1); -lean_dec(x_270); -lean_ctor_set(x_265, 1, x_152); -x_271 = lean_st_ref_set(x_9, x_264, x_266); -x_272 = !lean_is_exclusive(x_271); -if (x_272 == 0) -{ -lean_object* x_273; -x_273 = lean_ctor_get(x_271, 0); -lean_dec(x_273); -lean_ctor_set_tag(x_271, 1); -lean_ctor_set(x_271, 0, x_259); -x_88 = x_271; -goto block_100; -} -else -{ -lean_object* x_274; lean_object* x_275; -x_274 = lean_ctor_get(x_271, 1); -lean_inc(x_274); -lean_dec(x_271); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_259); -lean_ctor_set(x_275, 1, x_274); -x_88 = x_275; -goto block_100; -} -} -else -{ -uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_276 = lean_ctor_get_uint8(x_265, sizeof(void*)*2); -x_277 = lean_ctor_get(x_265, 0); -lean_inc(x_277); -lean_dec(x_265); -x_278 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_152); -lean_ctor_set_uint8(x_278, sizeof(void*)*2, x_276); -lean_ctor_set(x_264, 5, x_278); -x_279 = lean_st_ref_set(x_9, x_264, x_266); -x_280 = lean_ctor_get(x_279, 1); -lean_inc(x_280); -if (lean_is_exclusive(x_279)) { - lean_ctor_release(x_279, 0); - lean_ctor_release(x_279, 1); - x_281 = x_279; -} else { - lean_dec_ref(x_279); - x_281 = lean_box(0); -} -if (lean_is_scalar(x_281)) { - x_282 = lean_alloc_ctor(1, 2, 0); -} else { - x_282 = x_281; - lean_ctor_set_tag(x_282, 1); -} -lean_ctor_set(x_282, 0, x_259); -lean_ctor_set(x_282, 1, x_280); -x_88 = x_282; -goto block_100; -} -} -else -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; -x_283 = lean_ctor_get(x_264, 0); -x_284 = lean_ctor_get(x_264, 1); -x_285 = lean_ctor_get(x_264, 2); -x_286 = lean_ctor_get(x_264, 3); -x_287 = lean_ctor_get(x_264, 4); -lean_inc(x_287); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_dec(x_264); -x_288 = lean_ctor_get_uint8(x_265, sizeof(void*)*2); -x_289 = lean_ctor_get(x_265, 0); -lean_inc(x_289); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_290 = x_265; -} else { - lean_dec_ref(x_265); - x_290 = lean_box(0); -} -if (lean_is_scalar(x_290)) { - x_291 = lean_alloc_ctor(0, 2, 1); -} else { - x_291 = x_290; -} -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_152); -lean_ctor_set_uint8(x_291, sizeof(void*)*2, x_288); -x_292 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_292, 0, x_283); -lean_ctor_set(x_292, 1, x_284); -lean_ctor_set(x_292, 2, x_285); -lean_ctor_set(x_292, 3, x_286); -lean_ctor_set(x_292, 4, x_287); -lean_ctor_set(x_292, 5, x_291); -x_293 = lean_st_ref_set(x_9, x_292, x_266); -x_294 = lean_ctor_get(x_293, 1); -lean_inc(x_294); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_295 = x_293; -} else { - lean_dec_ref(x_293); - x_295 = lean_box(0); -} -if (lean_is_scalar(x_295)) { - x_296 = lean_alloc_ctor(1, 2, 0); -} else { - x_296 = x_295; - lean_ctor_set_tag(x_296, 1); -} -lean_ctor_set(x_296, 0, x_259); -lean_ctor_set(x_296, 1, x_294); -x_88 = x_296; -goto block_100; -} -} -} -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; -x_297 = lean_ctor_get(x_134, 0); -x_298 = lean_ctor_get(x_134, 1); -lean_inc(x_298); -lean_inc(x_297); -lean_dec(x_134); -x_299 = lean_st_ref_get(x_13, x_135); -x_300 = lean_ctor_get(x_299, 1); -lean_inc(x_300); -lean_dec(x_299); -x_301 = lean_st_ref_get(x_9, x_300); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_302, 5); -lean_inc(x_303); -lean_dec(x_302); -x_304 = lean_ctor_get_uint8(x_303, sizeof(void*)*2); -lean_dec(x_303); -if (x_304 == 0) -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec(x_297); -x_305 = lean_ctor_get(x_301, 1); -lean_inc(x_305); -lean_dec(x_301); -x_306 = lean_box(x_4); -x_307 = lean_box(x_5); -lean_inc(x_298); -lean_inc(x_2); -x_308 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_308, 0, x_2); -lean_closure_set(x_308, 1, x_298); -lean_closure_set(x_308, 2, x_3); -lean_closure_set(x_308, 3, x_306); -lean_closure_set(x_308, 4, x_307); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_309 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_298, x_308, x_8, x_9, x_10, x_11, x_12, x_13, x_305); -x_69 = x_309; -goto block_87; -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_310 = lean_ctor_get(x_301, 1); -lean_inc(x_310); -lean_dec(x_301); -x_311 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_310); -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); -lean_inc(x_313); -lean_dec(x_311); -x_314 = lean_box(x_4); -x_315 = lean_box(x_5); -lean_inc(x_3); -lean_inc(x_298); -lean_inc(x_2); -x_316 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_316, 0, x_2); -lean_closure_set(x_316, 1, x_298); -lean_closure_set(x_316, 2, x_3); -lean_closure_set(x_316, 3, x_314); -lean_closure_set(x_316, 4, x_315); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_2); -x_317 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_298, x_316, x_8, x_9, x_10, x_11, x_12, x_13, x_313); -if (lean_obj_tag(x_317) == 0) -{ -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_318 = lean_ctor_get(x_317, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -lean_dec(x_317); -x_320 = lean_box(0); -lean_inc(x_318); -x_321 = l_Lean_Elab_Term_mkTermInfo(x_297, x_2, x_318, x_3, x_320, x_8, x_9, x_10, x_11, x_12, x_13, x_319); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -lean_dec(x_321); -x_324 = lean_st_ref_get(x_13, x_323); -x_325 = lean_ctor_get(x_324, 1); -lean_inc(x_325); -lean_dec(x_324); -x_326 = lean_st_ref_take(x_9, x_325); -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_327, 5); -lean_inc(x_328); -if (lean_obj_tag(x_322) == 0) -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; uint8_t x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -x_329 = lean_ctor_get(x_326, 1); -lean_inc(x_329); -lean_dec(x_326); -x_330 = lean_ctor_get(x_327, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_327, 1); -lean_inc(x_331); -x_332 = lean_ctor_get(x_327, 2); -lean_inc(x_332); -x_333 = lean_ctor_get(x_327, 3); -lean_inc(x_333); -x_334 = lean_ctor_get(x_327, 4); -lean_inc(x_334); -if (lean_is_exclusive(x_327)) { - lean_ctor_release(x_327, 0); - lean_ctor_release(x_327, 1); - lean_ctor_release(x_327, 2); - lean_ctor_release(x_327, 3); - lean_ctor_release(x_327, 4); - lean_ctor_release(x_327, 5); - x_335 = x_327; -} else { - lean_dec_ref(x_327); - x_335 = lean_box(0); -} -x_336 = lean_ctor_get_uint8(x_328, sizeof(void*)*2); -x_337 = lean_ctor_get(x_328, 0); -lean_inc(x_337); -x_338 = lean_ctor_get(x_328, 1); -lean_inc(x_338); -if (lean_is_exclusive(x_328)) { - lean_ctor_release(x_328, 0); - lean_ctor_release(x_328, 1); - x_339 = x_328; -} else { - lean_dec_ref(x_328); - x_339 = lean_box(0); -} -x_340 = lean_ctor_get(x_322, 0); -lean_inc(x_340); -lean_dec(x_322); -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_338); -x_342 = l_Std_PersistentArray_push___rarg(x_312, x_341); -if (lean_is_scalar(x_339)) { - x_343 = lean_alloc_ctor(0, 2, 1); -} else { - x_343 = x_339; -} -lean_ctor_set(x_343, 0, x_337); -lean_ctor_set(x_343, 1, x_342); -lean_ctor_set_uint8(x_343, sizeof(void*)*2, x_336); -if (lean_is_scalar(x_335)) { - x_344 = lean_alloc_ctor(0, 6, 0); -} else { - x_344 = x_335; -} -lean_ctor_set(x_344, 0, x_330); -lean_ctor_set(x_344, 1, x_331); -lean_ctor_set(x_344, 2, x_332); -lean_ctor_set(x_344, 3, x_333); -lean_ctor_set(x_344, 4, x_334); -lean_ctor_set(x_344, 5, x_343); -x_345 = lean_st_ref_set(x_9, x_344, x_329); -x_346 = lean_ctor_get(x_345, 1); -lean_inc(x_346); -if (lean_is_exclusive(x_345)) { - lean_ctor_release(x_345, 0); - lean_ctor_release(x_345, 1); - x_347 = x_345; -} else { - lean_dec_ref(x_345); - x_347 = lean_box(0); -} -x_348 = lean_box(0); -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_318); -lean_ctor_set(x_349, 1, x_348); -if (lean_is_scalar(x_347)) { - x_350 = lean_alloc_ctor(0, 2, 0); -} else { - x_350 = x_347; -} -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_346); -x_88 = x_350; -goto block_100; -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_351 = lean_ctor_get(x_326, 1); -lean_inc(x_351); -lean_dec(x_326); -x_352 = lean_ctor_get(x_327, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_327, 1); -lean_inc(x_353); -x_354 = lean_ctor_get(x_327, 2); -lean_inc(x_354); -x_355 = lean_ctor_get(x_327, 3); -lean_inc(x_355); -x_356 = lean_ctor_get(x_327, 4); -lean_inc(x_356); -if (lean_is_exclusive(x_327)) { - lean_ctor_release(x_327, 0); - lean_ctor_release(x_327, 1); - lean_ctor_release(x_327, 2); - lean_ctor_release(x_327, 3); - lean_ctor_release(x_327, 4); - lean_ctor_release(x_327, 5); - x_357 = x_327; -} else { - lean_dec_ref(x_327); - x_357 = lean_box(0); -} -x_358 = lean_ctor_get_uint8(x_328, sizeof(void*)*2); -x_359 = lean_ctor_get(x_328, 0); -lean_inc(x_359); -if (lean_is_exclusive(x_328)) { - lean_ctor_release(x_328, 0); - lean_ctor_release(x_328, 1); - x_360 = x_328; -} else { - lean_dec_ref(x_328); - x_360 = lean_box(0); -} -x_361 = lean_ctor_get(x_322, 0); -lean_inc(x_361); -lean_dec(x_322); -x_362 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_362, 0, x_361); -x_363 = l_Std_PersistentArray_push___rarg(x_312, x_362); -if (lean_is_scalar(x_360)) { - x_364 = lean_alloc_ctor(0, 2, 1); -} else { - x_364 = x_360; -} -lean_ctor_set(x_364, 0, x_359); -lean_ctor_set(x_364, 1, x_363); -lean_ctor_set_uint8(x_364, sizeof(void*)*2, x_358); -if (lean_is_scalar(x_357)) { - x_365 = lean_alloc_ctor(0, 6, 0); -} else { - x_365 = x_357; -} -lean_ctor_set(x_365, 0, x_352); -lean_ctor_set(x_365, 1, x_353); -lean_ctor_set(x_365, 2, x_354); -lean_ctor_set(x_365, 3, x_355); -lean_ctor_set(x_365, 4, x_356); -lean_ctor_set(x_365, 5, x_364); -x_366 = lean_st_ref_set(x_9, x_365, x_351); -x_367 = lean_ctor_get(x_366, 1); -lean_inc(x_367); -if (lean_is_exclusive(x_366)) { - lean_ctor_release(x_366, 0); - lean_ctor_release(x_366, 1); - x_368 = x_366; -} else { - lean_dec_ref(x_366); - x_368 = lean_box(0); -} -x_369 = lean_box(0); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_318); -lean_ctor_set(x_370, 1, x_369); -if (lean_is_scalar(x_368)) { - x_371 = lean_alloc_ctor(0, 2, 0); -} else { - x_371 = x_368; -} -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_367); -x_88 = x_371; -goto block_100; -} -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -lean_dec(x_297); -lean_dec(x_3); -lean_dec(x_2); -x_372 = lean_ctor_get(x_317, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_317, 1); -lean_inc(x_373); -lean_dec(x_317); -x_374 = lean_st_ref_get(x_13, x_373); -x_375 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -lean_dec(x_374); -x_376 = lean_st_ref_take(x_9, x_375); -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_377, 5); -lean_inc(x_378); -x_379 = lean_ctor_get(x_376, 1); -lean_inc(x_379); -lean_dec(x_376); -x_380 = lean_ctor_get(x_377, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_377, 1); -lean_inc(x_381); -x_382 = lean_ctor_get(x_377, 2); -lean_inc(x_382); -x_383 = lean_ctor_get(x_377, 3); -lean_inc(x_383); -x_384 = lean_ctor_get(x_377, 4); -lean_inc(x_384); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - lean_ctor_release(x_377, 4); - lean_ctor_release(x_377, 5); - x_385 = x_377; -} else { - lean_dec_ref(x_377); - x_385 = lean_box(0); -} -x_386 = lean_ctor_get_uint8(x_378, sizeof(void*)*2); -x_387 = lean_ctor_get(x_378, 0); -lean_inc(x_387); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - x_388 = x_378; -} else { - lean_dec_ref(x_378); - x_388 = lean_box(0); -} -if (lean_is_scalar(x_388)) { - x_389 = lean_alloc_ctor(0, 2, 1); -} else { - x_389 = x_388; -} -lean_ctor_set(x_389, 0, x_387); -lean_ctor_set(x_389, 1, x_312); -lean_ctor_set_uint8(x_389, sizeof(void*)*2, x_386); -if (lean_is_scalar(x_385)) { - x_390 = lean_alloc_ctor(0, 6, 0); -} else { - x_390 = x_385; -} -lean_ctor_set(x_390, 0, x_380); -lean_ctor_set(x_390, 1, x_381); -lean_ctor_set(x_390, 2, x_382); -lean_ctor_set(x_390, 3, x_383); -lean_ctor_set(x_390, 4, x_384); -lean_ctor_set(x_390, 5, x_389); -x_391 = lean_st_ref_set(x_9, x_390, x_379); -x_392 = lean_ctor_get(x_391, 1); -lean_inc(x_392); -if (lean_is_exclusive(x_391)) { - lean_ctor_release(x_391, 0); - lean_ctor_release(x_391, 1); - x_393 = x_391; -} else { - lean_dec_ref(x_391); - x_393 = lean_box(0); -} -if (lean_is_scalar(x_393)) { - x_394 = lean_alloc_ctor(1, 2, 0); -} else { - x_394 = x_393; - lean_ctor_set_tag(x_394, 1); -} -lean_ctor_set(x_394, 0, x_372); -lean_ctor_set(x_394, 1, x_392); -x_88 = x_394; -goto block_100; -} -} -} -} -} -else -{ -lean_object* x_395; lean_object* x_396; -lean_dec(x_3); -lean_dec(x_2); -x_395 = lean_ctor_get(x_106, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_106, 1); -lean_inc(x_396); -lean_dec(x_106); -x_61 = x_395; -x_62 = x_396; -goto block_68; -} -block_60: -{ -lean_object* x_55; uint8_t x_56; -x_55 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_54); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -lean_ctor_set(x_55, 0, x_53); -return x_55; -} -else -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -block_68: -{ -lean_object* x_63; uint8_t x_64; -x_63 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_62); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -lean_object* x_65; -x_65 = lean_ctor_get(x_63, 0); -lean_dec(x_65); -lean_ctor_set_tag(x_63, 1); -lean_ctor_set(x_63, 0, x_61); -return x_63; -} -else -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_dec(x_63); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_61); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -block_87: -{ -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_71); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_72, 0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_72, 0, x_75); -x_15 = x_72; -goto block_27; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = lean_ctor_get(x_72, 0); -x_77 = lean_ctor_get(x_72, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_72); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_70); -lean_ctor_set(x_78, 1, x_76); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_15 = x_79; -goto block_27; -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_80 = lean_ctor_get(x_69, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_69, 1); -lean_inc(x_81); -lean_dec(x_69); -x_82 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_81); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) -{ -lean_object* x_84; -x_84 = lean_ctor_get(x_82, 0); -lean_dec(x_84); -lean_ctor_set_tag(x_82, 1); -lean_ctor_set(x_82, 0, x_80); -x_15 = x_82; -goto block_27; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -lean_dec(x_82); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_80); -lean_ctor_set(x_86, 1, x_85); -x_15 = x_86; -goto block_27; -} -} -} -block_100: -{ -if (lean_obj_tag(x_88) == 0) -{ -uint8_t x_89; -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_88, 0); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -lean_dec(x_90); -lean_ctor_set(x_88, 0, x_91); -x_69 = x_88; -goto block_87; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -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_ctor_get(x_92, 0); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_69 = x_95; -goto block_87; -} -} -else -{ -uint8_t x_96; -x_96 = !lean_is_exclusive(x_88); -if (x_96 == 0) -{ -x_69 = x_88; -goto block_87; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_88, 0); -x_98 = lean_ctor_get(x_88, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_88); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -x_69 = x_99; -goto block_87; -} -} -} -} -else -{ -uint8_t x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_409; lean_object* x_410; lean_object* x_416; lean_object* x_432; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_397 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); -lean_dec(x_44); -x_398 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -x_399 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set_uint8(x_399, sizeof(void*)*1, x_397); -lean_ctor_set(x_43, 3, x_399); -x_400 = lean_st_ref_set(x_13, x_43, x_45); -x_401 = lean_ctor_get(x_400, 1); -lean_inc(x_401); -lean_dec(x_400); -x_443 = lean_st_ref_get(x_13, x_401); -x_444 = lean_ctor_get(x_443, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_443, 1); -lean_inc(x_445); -lean_dec(x_443); -x_446 = lean_ctor_get(x_444, 0); -lean_inc(x_446); -lean_dec(x_444); -lean_inc(x_2); -x_447 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_447, 0, x_446); -lean_closure_set(x_447, 1, x_2); -lean_inc(x_12); -lean_inc(x_8); -x_448 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_447, x_8, x_9, x_10, x_11, x_12, x_13, x_445); -if (lean_obj_tag(x_448) == 0) -{ -lean_object* x_449; -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -if (lean_obj_tag(x_449) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_450 = lean_ctor_get(x_448, 1); -lean_inc(x_450); -lean_dec(x_448); -x_451 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_452 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_451, x_8, x_9, x_10, x_11, x_12, x_13, x_450); -if (lean_obj_tag(x_452) == 0) -{ -lean_object* x_453; lean_object* x_454; -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_402 = x_453; -x_403 = x_454; -goto block_408; -} -else -{ -lean_object* x_455; lean_object* x_456; -x_455 = lean_ctor_get(x_452, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_452, 1); -lean_inc(x_456); -lean_dec(x_452); -x_409 = x_455; -x_410 = x_456; -goto block_415; -} -} -else -{ -uint8_t x_457; -x_457 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_457 == 0) -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_458 = lean_ctor_get(x_448, 1); -lean_inc(x_458); -lean_dec(x_448); -x_459 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_460 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_459, x_8, x_9, x_10, x_11, x_12, x_13, x_458); -if (lean_obj_tag(x_460) == 0) -{ -lean_object* x_461; lean_object* x_462; -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_402 = x_461; -x_403 = x_462; -goto block_408; -} -else -{ -lean_object* x_463; lean_object* x_464; -x_463 = lean_ctor_get(x_460, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_460, 1); -lean_inc(x_464); -lean_dec(x_460); -x_409 = x_463; -x_410 = x_464; -goto block_415; -} -} -else -{ -lean_object* x_465; lean_object* x_466; -x_465 = lean_ctor_get(x_448, 1); -lean_inc(x_465); -lean_dec(x_448); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_3); -lean_inc(x_2); -x_466 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_465); -if (lean_obj_tag(x_466) == 0) -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_467 = lean_ctor_get(x_466, 0); -lean_inc(x_467); -x_468 = lean_ctor_get(x_466, 1); -lean_inc(x_468); -lean_dec(x_466); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_469 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_467, x_8, x_9, x_10, x_11, x_12, x_13, x_468); -if (lean_obj_tag(x_469) == 0) -{ -lean_object* x_470; lean_object* x_471; -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -x_402 = x_470; -x_403 = x_471; -goto block_408; -} -else -{ -lean_object* x_472; lean_object* x_473; -x_472 = lean_ctor_get(x_469, 0); -lean_inc(x_472); -x_473 = lean_ctor_get(x_469, 1); -lean_inc(x_473); -lean_dec(x_469); -x_409 = x_472; -x_410 = x_473; -goto block_415; -} -} -else -{ -lean_object* x_474; lean_object* x_475; -lean_dec(x_3); -lean_dec(x_2); -x_474 = lean_ctor_get(x_466, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_466, 1); -lean_inc(x_475); -lean_dec(x_466); -x_409 = x_474; -x_410 = x_475; -goto block_415; -} -} -} -} -else -{ -lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; uint8_t x_486; -x_476 = lean_ctor_get(x_449, 0); -lean_inc(x_476); -lean_dec(x_449); -x_477 = lean_ctor_get(x_448, 1); -lean_inc(x_477); -lean_dec(x_448); -x_478 = lean_ctor_get(x_476, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_476, 1); -lean_inc(x_479); -if (lean_is_exclusive(x_476)) { - lean_ctor_release(x_476, 0); - lean_ctor_release(x_476, 1); - x_480 = x_476; -} else { - lean_dec_ref(x_476); - x_480 = lean_box(0); -} -x_481 = lean_st_ref_get(x_13, x_477); -x_482 = lean_ctor_get(x_481, 1); -lean_inc(x_482); -lean_dec(x_481); -x_483 = lean_st_ref_get(x_9, x_482); -x_484 = lean_ctor_get(x_483, 0); -lean_inc(x_484); -x_485 = lean_ctor_get(x_484, 5); -lean_inc(x_485); -lean_dec(x_484); -x_486 = lean_ctor_get_uint8(x_485, sizeof(void*)*2); -lean_dec(x_485); -if (x_486 == 0) -{ -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; -lean_dec(x_480); -lean_dec(x_478); -x_487 = lean_ctor_get(x_483, 1); -lean_inc(x_487); -lean_dec(x_483); -x_488 = lean_box(x_4); -x_489 = lean_box(x_5); -lean_inc(x_479); -lean_inc(x_2); -x_490 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_490, 0, x_2); -lean_closure_set(x_490, 1, x_479); -lean_closure_set(x_490, 2, x_3); -lean_closure_set(x_490, 3, x_488); -lean_closure_set(x_490, 4, x_489); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_491 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_479, x_490, x_8, x_9, x_10, x_11, x_12, x_13, x_487); -x_416 = x_491; -goto block_431; -} -else -{ -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; -x_492 = lean_ctor_get(x_483, 1); -lean_inc(x_492); -lean_dec(x_483); -x_493 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_492); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = lean_box(x_4); -x_497 = lean_box(x_5); -lean_inc(x_3); -lean_inc(x_479); -lean_inc(x_2); -x_498 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_498, 0, x_2); -lean_closure_set(x_498, 1, x_479); -lean_closure_set(x_498, 2, x_3); -lean_closure_set(x_498, 3, x_496); -lean_closure_set(x_498, 4, x_497); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_2); -x_499 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_479, x_498, x_8, x_9, x_10, x_11, x_12, x_13, x_495); -if (lean_obj_tag(x_499) == 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, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); -lean_dec(x_499); -x_502 = lean_box(0); -lean_inc(x_500); -x_503 = l_Lean_Elab_Term_mkTermInfo(x_478, x_2, x_500, x_3, x_502, x_8, x_9, x_10, x_11, x_12, x_13, x_501); -x_504 = lean_ctor_get(x_503, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_503, 1); -lean_inc(x_505); -lean_dec(x_503); -x_506 = lean_st_ref_get(x_13, x_505); -x_507 = lean_ctor_get(x_506, 1); -lean_inc(x_507); -lean_dec(x_506); -x_508 = lean_st_ref_take(x_9, x_507); -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_509, 5); -lean_inc(x_510); -if (lean_obj_tag(x_504) == 0) -{ -lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; uint8_t x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; -x_511 = lean_ctor_get(x_508, 1); -lean_inc(x_511); -lean_dec(x_508); -x_512 = lean_ctor_get(x_509, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_509, 1); -lean_inc(x_513); -x_514 = lean_ctor_get(x_509, 2); -lean_inc(x_514); -x_515 = lean_ctor_get(x_509, 3); -lean_inc(x_515); -x_516 = lean_ctor_get(x_509, 4); -lean_inc(x_516); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - lean_ctor_release(x_509, 2); - lean_ctor_release(x_509, 3); - lean_ctor_release(x_509, 4); - lean_ctor_release(x_509, 5); - x_517 = x_509; -} else { - lean_dec_ref(x_509); - x_517 = lean_box(0); -} -x_518 = lean_ctor_get_uint8(x_510, sizeof(void*)*2); -x_519 = lean_ctor_get(x_510, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_510, 1); -lean_inc(x_520); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - x_521 = x_510; -} else { - lean_dec_ref(x_510); - x_521 = lean_box(0); -} -x_522 = lean_ctor_get(x_504, 0); -lean_inc(x_522); -lean_dec(x_504); -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_520); -x_524 = l_Std_PersistentArray_push___rarg(x_494, x_523); -if (lean_is_scalar(x_521)) { - x_525 = lean_alloc_ctor(0, 2, 1); -} else { - x_525 = x_521; -} -lean_ctor_set(x_525, 0, x_519); -lean_ctor_set(x_525, 1, x_524); -lean_ctor_set_uint8(x_525, sizeof(void*)*2, x_518); -if (lean_is_scalar(x_517)) { - x_526 = lean_alloc_ctor(0, 6, 0); -} else { - x_526 = x_517; -} -lean_ctor_set(x_526, 0, x_512); -lean_ctor_set(x_526, 1, x_513); -lean_ctor_set(x_526, 2, x_514); -lean_ctor_set(x_526, 3, x_515); -lean_ctor_set(x_526, 4, x_516); -lean_ctor_set(x_526, 5, x_525); -x_527 = lean_st_ref_set(x_9, x_526, x_511); -x_528 = lean_ctor_get(x_527, 1); -lean_inc(x_528); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - lean_ctor_release(x_527, 1); - x_529 = x_527; -} else { - lean_dec_ref(x_527); - x_529 = lean_box(0); -} -x_530 = lean_box(0); -if (lean_is_scalar(x_480)) { - x_531 = lean_alloc_ctor(0, 2, 0); -} else { - x_531 = x_480; -} -lean_ctor_set(x_531, 0, x_500); -lean_ctor_set(x_531, 1, x_530); -if (lean_is_scalar(x_529)) { - x_532 = lean_alloc_ctor(0, 2, 0); -} else { - x_532 = x_529; -} -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_528); -x_432 = x_532; -goto block_442; -} -else -{ -lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; uint8_t x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; -x_533 = lean_ctor_get(x_508, 1); -lean_inc(x_533); -lean_dec(x_508); -x_534 = lean_ctor_get(x_509, 0); -lean_inc(x_534); -x_535 = lean_ctor_get(x_509, 1); -lean_inc(x_535); -x_536 = lean_ctor_get(x_509, 2); -lean_inc(x_536); -x_537 = lean_ctor_get(x_509, 3); -lean_inc(x_537); -x_538 = lean_ctor_get(x_509, 4); -lean_inc(x_538); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - lean_ctor_release(x_509, 2); - lean_ctor_release(x_509, 3); - lean_ctor_release(x_509, 4); - lean_ctor_release(x_509, 5); - x_539 = x_509; -} else { - lean_dec_ref(x_509); - x_539 = lean_box(0); -} -x_540 = lean_ctor_get_uint8(x_510, sizeof(void*)*2); -x_541 = lean_ctor_get(x_510, 0); -lean_inc(x_541); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - x_542 = x_510; -} else { - lean_dec_ref(x_510); - x_542 = lean_box(0); -} -x_543 = lean_ctor_get(x_504, 0); -lean_inc(x_543); -lean_dec(x_504); -x_544 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_544, 0, x_543); -x_545 = l_Std_PersistentArray_push___rarg(x_494, x_544); -if (lean_is_scalar(x_542)) { - x_546 = lean_alloc_ctor(0, 2, 1); -} else { - x_546 = x_542; -} -lean_ctor_set(x_546, 0, x_541); -lean_ctor_set(x_546, 1, x_545); -lean_ctor_set_uint8(x_546, sizeof(void*)*2, x_540); -if (lean_is_scalar(x_539)) { - x_547 = lean_alloc_ctor(0, 6, 0); -} else { - x_547 = x_539; -} -lean_ctor_set(x_547, 0, x_534); -lean_ctor_set(x_547, 1, x_535); -lean_ctor_set(x_547, 2, x_536); -lean_ctor_set(x_547, 3, x_537); -lean_ctor_set(x_547, 4, x_538); -lean_ctor_set(x_547, 5, x_546); -x_548 = lean_st_ref_set(x_9, x_547, x_533); -x_549 = lean_ctor_get(x_548, 1); -lean_inc(x_549); -if (lean_is_exclusive(x_548)) { - lean_ctor_release(x_548, 0); - lean_ctor_release(x_548, 1); - x_550 = x_548; -} else { - lean_dec_ref(x_548); - x_550 = lean_box(0); -} -x_551 = lean_box(0); -if (lean_is_scalar(x_480)) { - x_552 = lean_alloc_ctor(0, 2, 0); -} else { - x_552 = x_480; -} -lean_ctor_set(x_552, 0, x_500); -lean_ctor_set(x_552, 1, x_551); -if (lean_is_scalar(x_550)) { - x_553 = lean_alloc_ctor(0, 2, 0); -} else { - x_553 = x_550; -} -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_549); -x_432 = x_553; -goto block_442; -} -} -else -{ -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; -lean_dec(x_480); -lean_dec(x_478); -lean_dec(x_3); -lean_dec(x_2); -x_554 = lean_ctor_get(x_499, 0); -lean_inc(x_554); -x_555 = lean_ctor_get(x_499, 1); -lean_inc(x_555); -lean_dec(x_499); -x_556 = lean_st_ref_get(x_13, x_555); -x_557 = lean_ctor_get(x_556, 1); -lean_inc(x_557); -lean_dec(x_556); -x_558 = lean_st_ref_take(x_9, x_557); -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_559, 5); -lean_inc(x_560); -x_561 = lean_ctor_get(x_558, 1); -lean_inc(x_561); -lean_dec(x_558); -x_562 = lean_ctor_get(x_559, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_559, 1); -lean_inc(x_563); -x_564 = lean_ctor_get(x_559, 2); -lean_inc(x_564); -x_565 = lean_ctor_get(x_559, 3); -lean_inc(x_565); -x_566 = lean_ctor_get(x_559, 4); -lean_inc(x_566); -if (lean_is_exclusive(x_559)) { - lean_ctor_release(x_559, 0); - lean_ctor_release(x_559, 1); - lean_ctor_release(x_559, 2); - lean_ctor_release(x_559, 3); - lean_ctor_release(x_559, 4); - lean_ctor_release(x_559, 5); - x_567 = x_559; -} else { - lean_dec_ref(x_559); - x_567 = lean_box(0); -} -x_568 = lean_ctor_get_uint8(x_560, sizeof(void*)*2); -x_569 = lean_ctor_get(x_560, 0); -lean_inc(x_569); -if (lean_is_exclusive(x_560)) { - lean_ctor_release(x_560, 0); - lean_ctor_release(x_560, 1); - x_570 = x_560; -} else { - lean_dec_ref(x_560); - x_570 = lean_box(0); -} -if (lean_is_scalar(x_570)) { - x_571 = lean_alloc_ctor(0, 2, 1); -} else { - x_571 = x_570; -} -lean_ctor_set(x_571, 0, x_569); -lean_ctor_set(x_571, 1, x_494); -lean_ctor_set_uint8(x_571, sizeof(void*)*2, x_568); -if (lean_is_scalar(x_567)) { - x_572 = lean_alloc_ctor(0, 6, 0); -} else { - x_572 = x_567; -} -lean_ctor_set(x_572, 0, x_562); -lean_ctor_set(x_572, 1, x_563); -lean_ctor_set(x_572, 2, x_564); -lean_ctor_set(x_572, 3, x_565); -lean_ctor_set(x_572, 4, x_566); -lean_ctor_set(x_572, 5, x_571); -x_573 = lean_st_ref_set(x_9, x_572, x_561); -x_574 = lean_ctor_get(x_573, 1); -lean_inc(x_574); -if (lean_is_exclusive(x_573)) { - lean_ctor_release(x_573, 0); - lean_ctor_release(x_573, 1); - x_575 = x_573; -} else { - lean_dec_ref(x_573); - x_575 = lean_box(0); -} -if (lean_is_scalar(x_575)) { - x_576 = lean_alloc_ctor(1, 2, 0); -} else { - x_576 = x_575; - lean_ctor_set_tag(x_576, 1); -} -lean_ctor_set(x_576, 0, x_554); -lean_ctor_set(x_576, 1, x_574); -x_432 = x_576; -goto block_442; -} -} -} -} -else -{ -lean_object* x_577; lean_object* x_578; -lean_dec(x_3); -lean_dec(x_2); -x_577 = lean_ctor_get(x_448, 0); -lean_inc(x_577); -x_578 = lean_ctor_get(x_448, 1); -lean_inc(x_578); -lean_dec(x_448); -x_409 = x_577; -x_410 = x_578; -goto block_415; -} -block_408: -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_404 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_403); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_405 = lean_ctor_get(x_404, 1); -lean_inc(x_405); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_406 = x_404; -} else { - lean_dec_ref(x_404); - x_406 = lean_box(0); -} -if (lean_is_scalar(x_406)) { - x_407 = lean_alloc_ctor(0, 2, 0); -} else { - x_407 = x_406; -} -lean_ctor_set(x_407, 0, x_402); -lean_ctor_set(x_407, 1, x_405); -return x_407; -} -block_415: -{ -lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; -x_411 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_410); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_412 = lean_ctor_get(x_411, 1); -lean_inc(x_412); -if (lean_is_exclusive(x_411)) { - lean_ctor_release(x_411, 0); - lean_ctor_release(x_411, 1); - x_413 = x_411; -} else { - lean_dec_ref(x_411); - x_413 = lean_box(0); -} -if (lean_is_scalar(x_413)) { - x_414 = lean_alloc_ctor(1, 2, 0); -} else { - x_414 = x_413; - lean_ctor_set_tag(x_414, 1); -} -lean_ctor_set(x_414, 0, x_409); -lean_ctor_set(x_414, 1, x_412); -return x_414; -} -block_431: -{ -if (lean_obj_tag(x_416) == 0) -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); -lean_inc(x_418); -lean_dec(x_416); -x_419 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_418); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_420 = lean_ctor_get(x_419, 0); -lean_inc(x_420); -x_421 = lean_ctor_get(x_419, 1); -lean_inc(x_421); -if (lean_is_exclusive(x_419)) { - lean_ctor_release(x_419, 0); - lean_ctor_release(x_419, 1); - x_422 = x_419; -} else { - lean_dec_ref(x_419); - x_422 = lean_box(0); -} -x_423 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_423, 0, x_417); -lean_ctor_set(x_423, 1, x_420); -if (lean_is_scalar(x_422)) { - x_424 = lean_alloc_ctor(0, 2, 0); -} else { - x_424 = x_422; -} -lean_ctor_set(x_424, 0, x_423); -lean_ctor_set(x_424, 1, x_421); -x_15 = x_424; -goto block_27; -} -else -{ -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_425 = lean_ctor_get(x_416, 0); -lean_inc(x_425); -x_426 = lean_ctor_get(x_416, 1); -lean_inc(x_426); -lean_dec(x_416); -x_427 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_426); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_428 = lean_ctor_get(x_427, 1); -lean_inc(x_428); -if (lean_is_exclusive(x_427)) { - lean_ctor_release(x_427, 0); - lean_ctor_release(x_427, 1); - x_429 = x_427; -} else { - lean_dec_ref(x_427); - x_429 = lean_box(0); -} -if (lean_is_scalar(x_429)) { - x_430 = lean_alloc_ctor(1, 2, 0); -} else { - x_430 = x_429; - lean_ctor_set_tag(x_430, 1); -} -lean_ctor_set(x_430, 0, x_425); -lean_ctor_set(x_430, 1, x_428); -x_15 = x_430; -goto block_27; -} -} -block_442: -{ -if (lean_obj_tag(x_432) == 0) -{ -lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_435 = x_432; -} else { - lean_dec_ref(x_432); - x_435 = lean_box(0); -} -x_436 = lean_ctor_get(x_433, 0); -lean_inc(x_436); -lean_dec(x_433); -if (lean_is_scalar(x_435)) { - x_437 = lean_alloc_ctor(0, 2, 0); -} else { - x_437 = x_435; -} -lean_ctor_set(x_437, 0, x_436); -lean_ctor_set(x_437, 1, x_434); -x_416 = x_437; -goto block_431; -} -else -{ -lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; -x_438 = lean_ctor_get(x_432, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_432, 1); -lean_inc(x_439); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_440 = x_432; -} else { - lean_dec_ref(x_432); - x_440 = lean_box(0); -} -if (lean_is_scalar(x_440)) { - x_441 = lean_alloc_ctor(1, 2, 0); -} else { - x_441 = x_440; -} -lean_ctor_set(x_441, 0, x_438); -lean_ctor_set(x_441, 1, x_439); -x_416 = x_441; -goto block_431; -} -} -} -} -else -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_596; lean_object* x_597; lean_object* x_603; lean_object* x_619; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_579 = lean_ctor_get(x_43, 0); -x_580 = lean_ctor_get(x_43, 1); -x_581 = lean_ctor_get(x_43, 2); -lean_inc(x_581); -lean_inc(x_580); -lean_inc(x_579); -lean_dec(x_43); -x_582 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - x_583 = x_44; -} else { - lean_dec_ref(x_44); - x_583 = lean_box(0); -} -x_584 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -if (lean_is_scalar(x_583)) { - x_585 = lean_alloc_ctor(0, 1, 1); -} else { - x_585 = x_583; -} -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set_uint8(x_585, sizeof(void*)*1, x_582); -x_586 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_586, 0, x_579); -lean_ctor_set(x_586, 1, x_580); -lean_ctor_set(x_586, 2, x_581); -lean_ctor_set(x_586, 3, x_585); -x_587 = lean_st_ref_set(x_13, x_586, x_45); -x_588 = lean_ctor_get(x_587, 1); -lean_inc(x_588); -lean_dec(x_587); -x_630 = lean_st_ref_get(x_13, x_588); -x_631 = lean_ctor_get(x_630, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 1); -lean_inc(x_632); -lean_dec(x_630); -x_633 = lean_ctor_get(x_631, 0); -lean_inc(x_633); -lean_dec(x_631); -lean_inc(x_2); -x_634 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_634, 0, x_633); -lean_closure_set(x_634, 1, x_2); -lean_inc(x_12); -lean_inc(x_8); -x_635 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_634, x_8, x_9, x_10, x_11, x_12, x_13, x_632); -if (lean_obj_tag(x_635) == 0) -{ -lean_object* x_636; -x_636 = lean_ctor_get(x_635, 0); -lean_inc(x_636); -if (lean_obj_tag(x_636) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_637 = lean_ctor_get(x_635, 1); -lean_inc(x_637); -lean_dec(x_635); -x_638 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_639 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_638, x_8, x_9, x_10, x_11, x_12, x_13, x_637); -if (lean_obj_tag(x_639) == 0) -{ -lean_object* x_640; lean_object* x_641; -x_640 = lean_ctor_get(x_639, 0); -lean_inc(x_640); -x_641 = lean_ctor_get(x_639, 1); -lean_inc(x_641); -lean_dec(x_639); -x_589 = x_640; -x_590 = x_641; -goto block_595; -} -else -{ -lean_object* x_642; lean_object* x_643; -x_642 = lean_ctor_get(x_639, 0); -lean_inc(x_642); -x_643 = lean_ctor_get(x_639, 1); -lean_inc(x_643); -lean_dec(x_639); -x_596 = x_642; -x_597 = x_643; -goto block_602; -} -} -else -{ -uint8_t x_644; -x_644 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_644 == 0) -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; -x_645 = lean_ctor_get(x_635, 1); -lean_inc(x_645); -lean_dec(x_635); -x_646 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_647 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_646, x_8, x_9, x_10, x_11, x_12, x_13, x_645); -if (lean_obj_tag(x_647) == 0) -{ -lean_object* x_648; lean_object* x_649; -x_648 = lean_ctor_get(x_647, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_647, 1); -lean_inc(x_649); -lean_dec(x_647); -x_589 = x_648; -x_590 = x_649; -goto block_595; -} -else -{ -lean_object* x_650; lean_object* x_651; -x_650 = lean_ctor_get(x_647, 0); -lean_inc(x_650); -x_651 = lean_ctor_get(x_647, 1); -lean_inc(x_651); -lean_dec(x_647); -x_596 = x_650; -x_597 = x_651; -goto block_602; -} -} -else -{ -lean_object* x_652; lean_object* x_653; -x_652 = lean_ctor_get(x_635, 1); -lean_inc(x_652); -lean_dec(x_635); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_3); -lean_inc(x_2); -x_653 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_652); -if (lean_obj_tag(x_653) == 0) -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; -x_654 = lean_ctor_get(x_653, 0); -lean_inc(x_654); -x_655 = lean_ctor_get(x_653, 1); -lean_inc(x_655); -lean_dec(x_653); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_656 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_654, x_8, x_9, x_10, x_11, x_12, x_13, x_655); -if (lean_obj_tag(x_656) == 0) -{ -lean_object* x_657; lean_object* x_658; -x_657 = lean_ctor_get(x_656, 0); -lean_inc(x_657); -x_658 = lean_ctor_get(x_656, 1); -lean_inc(x_658); -lean_dec(x_656); -x_589 = x_657; -x_590 = x_658; -goto block_595; -} -else -{ -lean_object* x_659; lean_object* x_660; -x_659 = lean_ctor_get(x_656, 0); -lean_inc(x_659); -x_660 = lean_ctor_get(x_656, 1); -lean_inc(x_660); -lean_dec(x_656); -x_596 = x_659; -x_597 = x_660; -goto block_602; -} -} -else -{ -lean_object* x_661; lean_object* x_662; -lean_dec(x_3); -lean_dec(x_2); -x_661 = lean_ctor_get(x_653, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_653, 1); -lean_inc(x_662); -lean_dec(x_653); -x_596 = x_661; -x_597 = x_662; -goto block_602; -} -} -} -} -else -{ -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; -x_663 = lean_ctor_get(x_636, 0); -lean_inc(x_663); -lean_dec(x_636); -x_664 = lean_ctor_get(x_635, 1); -lean_inc(x_664); -lean_dec(x_635); -x_665 = lean_ctor_get(x_663, 0); -lean_inc(x_665); -x_666 = lean_ctor_get(x_663, 1); -lean_inc(x_666); -if (lean_is_exclusive(x_663)) { - lean_ctor_release(x_663, 0); - lean_ctor_release(x_663, 1); - x_667 = x_663; -} else { - lean_dec_ref(x_663); - x_667 = lean_box(0); -} -x_668 = lean_st_ref_get(x_13, x_664); -x_669 = lean_ctor_get(x_668, 1); -lean_inc(x_669); -lean_dec(x_668); -x_670 = lean_st_ref_get(x_9, x_669); -x_671 = lean_ctor_get(x_670, 0); -lean_inc(x_671); -x_672 = lean_ctor_get(x_671, 5); -lean_inc(x_672); -lean_dec(x_671); -x_673 = lean_ctor_get_uint8(x_672, sizeof(void*)*2); -lean_dec(x_672); -if (x_673 == 0) -{ -lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; -lean_dec(x_667); -lean_dec(x_665); -x_674 = lean_ctor_get(x_670, 1); -lean_inc(x_674); -lean_dec(x_670); -x_675 = lean_box(x_4); -x_676 = lean_box(x_5); -lean_inc(x_666); -lean_inc(x_2); -x_677 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_677, 0, x_2); -lean_closure_set(x_677, 1, x_666); -lean_closure_set(x_677, 2, x_3); -lean_closure_set(x_677, 3, x_675); -lean_closure_set(x_677, 4, x_676); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_678 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_666, x_677, x_8, x_9, x_10, x_11, x_12, x_13, x_674); -x_603 = x_678; -goto block_618; -} -else -{ -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; -x_679 = lean_ctor_get(x_670, 1); -lean_inc(x_679); -lean_dec(x_670); -x_680 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_679); -x_681 = lean_ctor_get(x_680, 0); -lean_inc(x_681); -x_682 = lean_ctor_get(x_680, 1); -lean_inc(x_682); -lean_dec(x_680); -x_683 = lean_box(x_4); -x_684 = lean_box(x_5); -lean_inc(x_3); -lean_inc(x_666); -lean_inc(x_2); -x_685 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_685, 0, x_2); -lean_closure_set(x_685, 1, x_666); -lean_closure_set(x_685, 2, x_3); -lean_closure_set(x_685, 3, x_683); -lean_closure_set(x_685, 4, x_684); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_2); -x_686 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_666, x_685, x_8, x_9, x_10, x_11, x_12, x_13, x_682); -if (lean_obj_tag(x_686) == 0) -{ -lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_687 = lean_ctor_get(x_686, 0); -lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); -lean_inc(x_688); -lean_dec(x_686); -x_689 = lean_box(0); -lean_inc(x_687); -x_690 = l_Lean_Elab_Term_mkTermInfo(x_665, x_2, x_687, x_3, x_689, x_8, x_9, x_10, x_11, x_12, x_13, x_688); -x_691 = lean_ctor_get(x_690, 0); -lean_inc(x_691); -x_692 = lean_ctor_get(x_690, 1); -lean_inc(x_692); -lean_dec(x_690); -x_693 = lean_st_ref_get(x_13, x_692); -x_694 = lean_ctor_get(x_693, 1); -lean_inc(x_694); -lean_dec(x_693); -x_695 = lean_st_ref_take(x_9, x_694); -x_696 = lean_ctor_get(x_695, 0); -lean_inc(x_696); -x_697 = lean_ctor_get(x_696, 5); -lean_inc(x_697); -if (lean_obj_tag(x_691) == 0) -{ -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; -x_698 = lean_ctor_get(x_695, 1); -lean_inc(x_698); -lean_dec(x_695); -x_699 = lean_ctor_get(x_696, 0); -lean_inc(x_699); -x_700 = lean_ctor_get(x_696, 1); -lean_inc(x_700); -x_701 = lean_ctor_get(x_696, 2); -lean_inc(x_701); -x_702 = lean_ctor_get(x_696, 3); -lean_inc(x_702); -x_703 = lean_ctor_get(x_696, 4); -lean_inc(x_703); -if (lean_is_exclusive(x_696)) { - lean_ctor_release(x_696, 0); - lean_ctor_release(x_696, 1); - lean_ctor_release(x_696, 2); - lean_ctor_release(x_696, 3); - lean_ctor_release(x_696, 4); - lean_ctor_release(x_696, 5); - x_704 = x_696; -} else { - lean_dec_ref(x_696); - x_704 = lean_box(0); -} -x_705 = lean_ctor_get_uint8(x_697, sizeof(void*)*2); -x_706 = lean_ctor_get(x_697, 0); -lean_inc(x_706); -x_707 = lean_ctor_get(x_697, 1); -lean_inc(x_707); -if (lean_is_exclusive(x_697)) { - lean_ctor_release(x_697, 0); - lean_ctor_release(x_697, 1); - x_708 = x_697; -} else { - lean_dec_ref(x_697); - x_708 = lean_box(0); -} -x_709 = lean_ctor_get(x_691, 0); -lean_inc(x_709); -lean_dec(x_691); -x_710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_710, 0, x_709); -lean_ctor_set(x_710, 1, x_707); -x_711 = l_Std_PersistentArray_push___rarg(x_681, x_710); -if (lean_is_scalar(x_708)) { - x_712 = lean_alloc_ctor(0, 2, 1); -} else { - x_712 = x_708; -} -lean_ctor_set(x_712, 0, x_706); -lean_ctor_set(x_712, 1, x_711); -lean_ctor_set_uint8(x_712, sizeof(void*)*2, x_705); -if (lean_is_scalar(x_704)) { - x_713 = lean_alloc_ctor(0, 6, 0); -} else { - x_713 = x_704; -} -lean_ctor_set(x_713, 0, x_699); -lean_ctor_set(x_713, 1, x_700); -lean_ctor_set(x_713, 2, x_701); -lean_ctor_set(x_713, 3, x_702); -lean_ctor_set(x_713, 4, x_703); -lean_ctor_set(x_713, 5, x_712); -x_714 = lean_st_ref_set(x_9, x_713, x_698); -x_715 = lean_ctor_get(x_714, 1); -lean_inc(x_715); -if (lean_is_exclusive(x_714)) { - lean_ctor_release(x_714, 0); - lean_ctor_release(x_714, 1); - x_716 = x_714; -} else { - lean_dec_ref(x_714); - x_716 = lean_box(0); -} -x_717 = lean_box(0); -if (lean_is_scalar(x_667)) { - x_718 = lean_alloc_ctor(0, 2, 0); -} else { - x_718 = x_667; -} -lean_ctor_set(x_718, 0, x_687); -lean_ctor_set(x_718, 1, x_717); -if (lean_is_scalar(x_716)) { - x_719 = lean_alloc_ctor(0, 2, 0); -} else { - x_719 = x_716; -} -lean_ctor_set(x_719, 0, x_718); -lean_ctor_set(x_719, 1, x_715); -x_619 = x_719; -goto block_629; -} -else -{ -lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; uint8_t x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_720 = lean_ctor_get(x_695, 1); -lean_inc(x_720); -lean_dec(x_695); -x_721 = lean_ctor_get(x_696, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_696, 1); -lean_inc(x_722); -x_723 = lean_ctor_get(x_696, 2); -lean_inc(x_723); -x_724 = lean_ctor_get(x_696, 3); -lean_inc(x_724); -x_725 = lean_ctor_get(x_696, 4); -lean_inc(x_725); -if (lean_is_exclusive(x_696)) { - lean_ctor_release(x_696, 0); - lean_ctor_release(x_696, 1); - lean_ctor_release(x_696, 2); - lean_ctor_release(x_696, 3); - lean_ctor_release(x_696, 4); - lean_ctor_release(x_696, 5); - x_726 = x_696; -} else { - lean_dec_ref(x_696); - x_726 = lean_box(0); -} -x_727 = lean_ctor_get_uint8(x_697, sizeof(void*)*2); -x_728 = lean_ctor_get(x_697, 0); -lean_inc(x_728); -if (lean_is_exclusive(x_697)) { - lean_ctor_release(x_697, 0); - lean_ctor_release(x_697, 1); - x_729 = x_697; -} else { - lean_dec_ref(x_697); - x_729 = lean_box(0); -} -x_730 = lean_ctor_get(x_691, 0); -lean_inc(x_730); -lean_dec(x_691); -x_731 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_731, 0, x_730); -x_732 = l_Std_PersistentArray_push___rarg(x_681, x_731); -if (lean_is_scalar(x_729)) { - x_733 = lean_alloc_ctor(0, 2, 1); -} else { - x_733 = x_729; -} -lean_ctor_set(x_733, 0, x_728); -lean_ctor_set(x_733, 1, x_732); -lean_ctor_set_uint8(x_733, sizeof(void*)*2, x_727); -if (lean_is_scalar(x_726)) { - x_734 = lean_alloc_ctor(0, 6, 0); -} else { - x_734 = x_726; -} -lean_ctor_set(x_734, 0, x_721); -lean_ctor_set(x_734, 1, x_722); -lean_ctor_set(x_734, 2, x_723); -lean_ctor_set(x_734, 3, x_724); -lean_ctor_set(x_734, 4, x_725); -lean_ctor_set(x_734, 5, x_733); -x_735 = lean_st_ref_set(x_9, x_734, x_720); -x_736 = lean_ctor_get(x_735, 1); -lean_inc(x_736); -if (lean_is_exclusive(x_735)) { - lean_ctor_release(x_735, 0); - lean_ctor_release(x_735, 1); - x_737 = x_735; -} else { - lean_dec_ref(x_735); - x_737 = lean_box(0); -} -x_738 = lean_box(0); -if (lean_is_scalar(x_667)) { - x_739 = lean_alloc_ctor(0, 2, 0); -} else { - x_739 = x_667; -} -lean_ctor_set(x_739, 0, x_687); -lean_ctor_set(x_739, 1, x_738); -if (lean_is_scalar(x_737)) { - x_740 = lean_alloc_ctor(0, 2, 0); -} else { - x_740 = x_737; -} -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_736); -x_619 = x_740; -goto block_629; -} -} -else -{ -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; uint8_t x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; -lean_dec(x_667); -lean_dec(x_665); -lean_dec(x_3); -lean_dec(x_2); -x_741 = lean_ctor_get(x_686, 0); -lean_inc(x_741); -x_742 = lean_ctor_get(x_686, 1); -lean_inc(x_742); -lean_dec(x_686); -x_743 = lean_st_ref_get(x_13, x_742); -x_744 = lean_ctor_get(x_743, 1); -lean_inc(x_744); -lean_dec(x_743); -x_745 = lean_st_ref_take(x_9, x_744); -x_746 = lean_ctor_get(x_745, 0); -lean_inc(x_746); -x_747 = lean_ctor_get(x_746, 5); -lean_inc(x_747); -x_748 = lean_ctor_get(x_745, 1); -lean_inc(x_748); -lean_dec(x_745); -x_749 = lean_ctor_get(x_746, 0); -lean_inc(x_749); -x_750 = lean_ctor_get(x_746, 1); -lean_inc(x_750); -x_751 = lean_ctor_get(x_746, 2); -lean_inc(x_751); -x_752 = lean_ctor_get(x_746, 3); -lean_inc(x_752); -x_753 = lean_ctor_get(x_746, 4); -lean_inc(x_753); -if (lean_is_exclusive(x_746)) { - lean_ctor_release(x_746, 0); - lean_ctor_release(x_746, 1); - lean_ctor_release(x_746, 2); - lean_ctor_release(x_746, 3); - lean_ctor_release(x_746, 4); - lean_ctor_release(x_746, 5); - x_754 = x_746; -} else { - lean_dec_ref(x_746); - x_754 = lean_box(0); -} -x_755 = lean_ctor_get_uint8(x_747, sizeof(void*)*2); -x_756 = lean_ctor_get(x_747, 0); -lean_inc(x_756); -if (lean_is_exclusive(x_747)) { - lean_ctor_release(x_747, 0); - lean_ctor_release(x_747, 1); - x_757 = x_747; -} else { - lean_dec_ref(x_747); - x_757 = lean_box(0); -} -if (lean_is_scalar(x_757)) { - x_758 = lean_alloc_ctor(0, 2, 1); -} else { - x_758 = x_757; -} -lean_ctor_set(x_758, 0, x_756); -lean_ctor_set(x_758, 1, x_681); -lean_ctor_set_uint8(x_758, sizeof(void*)*2, x_755); -if (lean_is_scalar(x_754)) { - x_759 = lean_alloc_ctor(0, 6, 0); -} else { - x_759 = x_754; -} -lean_ctor_set(x_759, 0, x_749); -lean_ctor_set(x_759, 1, x_750); -lean_ctor_set(x_759, 2, x_751); -lean_ctor_set(x_759, 3, x_752); -lean_ctor_set(x_759, 4, x_753); -lean_ctor_set(x_759, 5, x_758); -x_760 = lean_st_ref_set(x_9, x_759, x_748); -x_761 = lean_ctor_get(x_760, 1); -lean_inc(x_761); -if (lean_is_exclusive(x_760)) { - lean_ctor_release(x_760, 0); - lean_ctor_release(x_760, 1); - x_762 = x_760; -} else { - lean_dec_ref(x_760); - x_762 = lean_box(0); -} -if (lean_is_scalar(x_762)) { - x_763 = lean_alloc_ctor(1, 2, 0); -} else { - x_763 = x_762; - lean_ctor_set_tag(x_763, 1); -} -lean_ctor_set(x_763, 0, x_741); -lean_ctor_set(x_763, 1, x_761); -x_619 = x_763; -goto block_629; -} -} -} -} -else -{ -lean_object* x_764; lean_object* x_765; -lean_dec(x_3); -lean_dec(x_2); -x_764 = lean_ctor_get(x_635, 0); -lean_inc(x_764); -x_765 = lean_ctor_get(x_635, 1); -lean_inc(x_765); -lean_dec(x_635); -x_596 = x_764; -x_597 = x_765; -goto block_602; -} -block_595: -{ -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -x_591 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_590); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_592 = lean_ctor_get(x_591, 1); -lean_inc(x_592); -if (lean_is_exclusive(x_591)) { - lean_ctor_release(x_591, 0); - lean_ctor_release(x_591, 1); - x_593 = x_591; -} else { - lean_dec_ref(x_591); - x_593 = lean_box(0); -} -if (lean_is_scalar(x_593)) { - x_594 = lean_alloc_ctor(0, 2, 0); -} else { - x_594 = x_593; -} -lean_ctor_set(x_594, 0, x_589); -lean_ctor_set(x_594, 1, x_592); -return x_594; -} -block_602: -{ -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_598 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_597); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_599 = lean_ctor_get(x_598, 1); -lean_inc(x_599); -if (lean_is_exclusive(x_598)) { - lean_ctor_release(x_598, 0); - lean_ctor_release(x_598, 1); - x_600 = x_598; -} else { - lean_dec_ref(x_598); - x_600 = lean_box(0); -} -if (lean_is_scalar(x_600)) { - x_601 = lean_alloc_ctor(1, 2, 0); -} else { - x_601 = x_600; - lean_ctor_set_tag(x_601, 1); -} -lean_ctor_set(x_601, 0, x_596); -lean_ctor_set(x_601, 1, x_599); -return x_601; -} -block_618: -{ -if (lean_obj_tag(x_603) == 0) -{ -lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_604 = lean_ctor_get(x_603, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_603, 1); -lean_inc(x_605); -lean_dec(x_603); -x_606 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_605); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_607 = lean_ctor_get(x_606, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_606, 1); -lean_inc(x_608); -if (lean_is_exclusive(x_606)) { - lean_ctor_release(x_606, 0); - lean_ctor_release(x_606, 1); - x_609 = x_606; -} else { - lean_dec_ref(x_606); - x_609 = lean_box(0); -} -x_610 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_610, 0, x_604); -lean_ctor_set(x_610, 1, x_607); -if (lean_is_scalar(x_609)) { - x_611 = lean_alloc_ctor(0, 2, 0); -} else { - x_611 = x_609; -} -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_608); -x_15 = x_611; -goto block_27; -} -else -{ -lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; -x_612 = lean_ctor_get(x_603, 0); -lean_inc(x_612); -x_613 = lean_ctor_get(x_603, 1); -lean_inc(x_613); -lean_dec(x_603); -x_614 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_613); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_615 = lean_ctor_get(x_614, 1); -lean_inc(x_615); -if (lean_is_exclusive(x_614)) { - lean_ctor_release(x_614, 0); - lean_ctor_release(x_614, 1); - x_616 = x_614; -} else { - lean_dec_ref(x_614); - x_616 = lean_box(0); -} -if (lean_is_scalar(x_616)) { - x_617 = lean_alloc_ctor(1, 2, 0); -} else { - x_617 = x_616; - lean_ctor_set_tag(x_617, 1); -} -lean_ctor_set(x_617, 0, x_612); -lean_ctor_set(x_617, 1, x_615); -x_15 = x_617; -goto block_27; -} -} -block_629: -{ -if (lean_obj_tag(x_619) == 0) -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); -if (lean_is_exclusive(x_619)) { - lean_ctor_release(x_619, 0); - lean_ctor_release(x_619, 1); - x_622 = x_619; -} else { - lean_dec_ref(x_619); - x_622 = lean_box(0); -} -x_623 = lean_ctor_get(x_620, 0); -lean_inc(x_623); -lean_dec(x_620); -if (lean_is_scalar(x_622)) { - x_624 = lean_alloc_ctor(0, 2, 0); -} else { - x_624 = x_622; -} -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_621); -x_603 = x_624; -goto block_618; -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -x_625 = lean_ctor_get(x_619, 0); -lean_inc(x_625); -x_626 = lean_ctor_get(x_619, 1); -lean_inc(x_626); -if (lean_is_exclusive(x_619)) { - lean_ctor_release(x_619, 0); - lean_ctor_release(x_619, 1); - x_627 = x_619; -} else { - lean_dec_ref(x_619); - x_627 = lean_box(0); -} -if (lean_is_scalar(x_627)) { - x_628 = lean_alloc_ctor(1, 2, 0); -} else { - x_628 = x_627; -} -lean_ctor_set(x_628, 0, x_625); -lean_ctor_set(x_628, 1, x_626); -x_603 = x_628; -goto block_618; -} -} -} -} -else -{ -uint8_t x_766; -lean_dec(x_12); -lean_dec(x_31); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_766 = !lean_is_exclusive(x_35); -if (x_766 == 0) -{ -return x_35; -} -else -{ -lean_object* x_767; lean_object* x_768; lean_object* x_769; -x_767 = lean_ctor_get(x_35, 0); -x_768 = lean_ctor_get(x_35, 1); -lean_inc(x_768); -lean_inc(x_767); -lean_dec(x_35); -x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_767); -lean_ctor_set(x_769, 1, x_768); -return x_769; -} -} -} -block_791: -{ -if (x_771 == 0) -{ -lean_dec(x_6); -x_33 = x_772; -goto block_770; -} -else -{ -lean_object* x_773; -lean_inc(x_2); -x_773 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_773, 0, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; -x_774 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; -x_775 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_773); -x_776 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_777 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_777, 0, x_775); -lean_ctor_set(x_777, 1, x_776); -x_778 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_777, x_8, x_9, x_10, x_11, x_12, x_13, x_772); -x_779 = lean_ctor_get(x_778, 1); -lean_inc(x_779); -lean_dec(x_778); -x_33 = x_779; -goto block_770; -} -else -{ -lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; -x_780 = lean_ctor_get(x_3, 0); -lean_inc(x_780); -x_781 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_781, 0, x_780); -x_782 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; -x_783 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_781); -x_784 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; -x_785 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_785, 0, x_783); -lean_ctor_set(x_785, 1, x_784); -x_786 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_786, 0, x_785); -lean_ctor_set(x_786, 1, x_773); -x_787 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_788 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_788, 0, x_786); -lean_ctor_set(x_788, 1, x_787); -x_789 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_788, x_8, x_9, x_10, x_11, x_12, x_13, x_772); -x_790 = lean_ctor_get(x_789, 1); -lean_inc(x_790); -lean_dec(x_789); -x_33 = x_790; -goto block_770; -} -} -} -} -else -{ -lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; uint8_t x_1017; lean_object* x_1018; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; uint8_t x_1041; -x_803 = lean_ctor_get(x_12, 0); -x_804 = lean_ctor_get(x_12, 2); -x_805 = lean_ctor_get(x_12, 3); -x_806 = lean_ctor_get(x_12, 4); -x_807 = lean_ctor_get(x_12, 5); -x_808 = lean_ctor_get(x_12, 6); -x_809 = lean_ctor_get(x_12, 7); -lean_inc(x_809); -lean_inc(x_808); -lean_inc(x_807); -lean_inc(x_806); -lean_inc(x_805); -lean_inc(x_804); -lean_inc(x_803); -lean_dec(x_12); -lean_inc(x_805); -x_810 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_810, 0, x_803); -lean_ctor_set(x_810, 1, x_29); -lean_ctor_set(x_810, 2, x_804); -lean_ctor_set(x_810, 3, x_805); -lean_ctor_set(x_810, 4, x_806); -lean_ctor_set(x_810, 5, x_807); -lean_ctor_set(x_810, 6, x_808); -lean_ctor_set(x_810, 7, x_809); -x_1038 = lean_st_ref_get(x_13, x_14); -x_1039 = lean_ctor_get(x_1038, 0); -lean_inc(x_1039); -x_1040 = lean_ctor_get(x_1039, 3); -lean_inc(x_1040); -lean_dec(x_1039); -x_1041 = lean_ctor_get_uint8(x_1040, sizeof(void*)*1); -lean_dec(x_1040); -if (x_1041 == 0) -{ -lean_object* x_1042; uint8_t x_1043; -x_1042 = lean_ctor_get(x_1038, 1); -lean_inc(x_1042); -lean_dec(x_1038); -x_1043 = 0; -x_1017 = x_1043; -x_1018 = x_1042; -goto block_1037; -} -else -{ -lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; uint8_t x_1048; -x_1044 = lean_ctor_get(x_1038, 1); -lean_inc(x_1044); -lean_dec(x_1038); +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_46, 1); +lean_inc(x_52); +lean_dec(x_46); lean_inc(x_6); -x_1045 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_810, x_13, x_1044); -x_1046 = lean_ctor_get(x_1045, 0); -lean_inc(x_1046); -x_1047 = lean_ctor_get(x_1045, 1); -lean_inc(x_1047); -lean_dec(x_1045); -x_1048 = lean_unbox(x_1046); -lean_dec(x_1046); -x_1017 = x_1048; -x_1018 = x_1047; -goto block_1037; +x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_unbox(x_54); +lean_dec(x_54); +x_19 = x_56; +x_20 = x_55; +goto block_45; } -block_1016: +block_45: { -lean_object* x_812; lean_object* x_813; -x_812 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; -x_813 = l_Lean_Core_checkMaxHeartbeats(x_812, x_810, x_13, x_811); -if (lean_obj_tag(x_813) == 0) -{ -lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; uint8_t x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_842; lean_object* x_843; lean_object* x_849; lean_object* x_865; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_814 = lean_ctor_get(x_813, 1); -lean_inc(x_814); -lean_dec(x_813); -x_815 = lean_st_ref_get(x_13, x_814); -x_816 = lean_ctor_get(x_815, 0); -lean_inc(x_816); -x_817 = lean_ctor_get(x_815, 1); -lean_inc(x_817); -lean_dec(x_815); -x_818 = lean_ctor_get(x_816, 3); -lean_inc(x_818); -lean_dec(x_816); -x_819 = lean_ctor_get(x_818, 0); -lean_inc(x_819); -lean_dec(x_818); -x_820 = lean_st_ref_take(x_13, x_817); -x_821 = lean_ctor_get(x_820, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_821, 3); -lean_inc(x_822); -x_823 = lean_ctor_get(x_820, 1); -lean_inc(x_823); -lean_dec(x_820); -x_824 = lean_ctor_get(x_821, 0); -lean_inc(x_824); -x_825 = lean_ctor_get(x_821, 1); -lean_inc(x_825); -x_826 = lean_ctor_get(x_821, 2); -lean_inc(x_826); -if (lean_is_exclusive(x_821)) { - lean_ctor_release(x_821, 0); - lean_ctor_release(x_821, 1); - lean_ctor_release(x_821, 2); - lean_ctor_release(x_821, 3); - x_827 = x_821; -} else { - lean_dec_ref(x_821); - x_827 = lean_box(0); -} -x_828 = lean_ctor_get_uint8(x_822, sizeof(void*)*1); -if (lean_is_exclusive(x_822)) { - lean_ctor_release(x_822, 0); - x_829 = x_822; -} else { - lean_dec_ref(x_822); - x_829 = lean_box(0); -} -x_830 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -if (lean_is_scalar(x_829)) { - x_831 = lean_alloc_ctor(0, 1, 1); -} else { - x_831 = x_829; -} -lean_ctor_set(x_831, 0, x_830); -lean_ctor_set_uint8(x_831, sizeof(void*)*1, x_828); -if (lean_is_scalar(x_827)) { - x_832 = lean_alloc_ctor(0, 4, 0); -} else { - x_832 = x_827; -} -lean_ctor_set(x_832, 0, x_824); -lean_ctor_set(x_832, 1, x_825); -lean_ctor_set(x_832, 2, x_826); -lean_ctor_set(x_832, 3, x_831); -x_833 = lean_st_ref_set(x_13, x_832, x_823); -x_834 = lean_ctor_get(x_833, 1); -lean_inc(x_834); -lean_dec(x_833); -x_876 = lean_st_ref_get(x_13, x_834); -x_877 = lean_ctor_get(x_876, 0); -lean_inc(x_877); -x_878 = lean_ctor_get(x_876, 1); -lean_inc(x_878); -lean_dec(x_876); -x_879 = lean_ctor_get(x_877, 0); -lean_inc(x_879); -lean_dec(x_877); -lean_inc(x_2); -x_880 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); -lean_closure_set(x_880, 0, x_879); -lean_closure_set(x_880, 1, x_2); -lean_inc(x_810); -lean_inc(x_8); -x_881 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_880, x_8, x_9, x_10, x_11, x_810, x_13, x_878); -if (lean_obj_tag(x_881) == 0) -{ -lean_object* x_882; -x_882 = lean_ctor_get(x_881, 0); -lean_inc(x_882); -if (lean_obj_tag(x_882) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_883; lean_object* x_884; lean_object* x_885; -x_883 = lean_ctor_get(x_881, 1); -lean_inc(x_883); -lean_dec(x_881); -x_884 = lean_box(0); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_885 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_884, x_8, x_9, x_10, x_11, x_810, x_13, x_883); -if (lean_obj_tag(x_885) == 0) -{ -lean_object* x_886; lean_object* x_887; -x_886 = lean_ctor_get(x_885, 0); -lean_inc(x_886); -x_887 = lean_ctor_get(x_885, 1); -lean_inc(x_887); -lean_dec(x_885); -x_835 = x_886; -x_836 = x_887; -goto block_841; -} -else -{ -lean_object* x_888; lean_object* x_889; -x_888 = lean_ctor_get(x_885, 0); -lean_inc(x_888); -x_889 = lean_ctor_get(x_885, 1); -lean_inc(x_889); -lean_dec(x_885); -x_842 = x_888; -x_843 = x_889; -goto block_848; -} -} -else -{ -uint8_t x_890; -x_890 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_890 == 0) -{ -lean_object* x_891; lean_object* x_892; lean_object* x_893; -x_891 = lean_ctor_get(x_881, 1); -lean_inc(x_891); -lean_dec(x_881); -x_892 = lean_box(0); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_893 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_892, x_8, x_9, x_10, x_11, x_810, x_13, x_891); -if (lean_obj_tag(x_893) == 0) -{ -lean_object* x_894; lean_object* x_895; -x_894 = lean_ctor_get(x_893, 0); -lean_inc(x_894); -x_895 = lean_ctor_get(x_893, 1); -lean_inc(x_895); -lean_dec(x_893); -x_835 = x_894; -x_836 = x_895; -goto block_841; -} -else -{ -lean_object* x_896; lean_object* x_897; -x_896 = lean_ctor_get(x_893, 0); -lean_inc(x_896); -x_897 = lean_ctor_get(x_893, 1); -lean_inc(x_897); -lean_dec(x_893); -x_842 = x_896; -x_843 = x_897; -goto block_848; -} -} -else -{ -lean_object* x_898; lean_object* x_899; -x_898 = lean_ctor_get(x_881, 1); -lean_inc(x_898); -lean_dec(x_881); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_3); -lean_inc(x_2); -x_899 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_810, x_13, x_898); -if (lean_obj_tag(x_899) == 0) -{ -lean_object* x_900; lean_object* x_901; lean_object* x_902; -x_900 = lean_ctor_get(x_899, 0); -lean_inc(x_900); -x_901 = lean_ctor_get(x_899, 1); -lean_inc(x_901); -lean_dec(x_899); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_902 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_900, x_8, x_9, x_10, x_11, x_810, x_13, x_901); -if (lean_obj_tag(x_902) == 0) -{ -lean_object* x_903; lean_object* x_904; -x_903 = lean_ctor_get(x_902, 0); -lean_inc(x_903); -x_904 = lean_ctor_get(x_902, 1); -lean_inc(x_904); -lean_dec(x_902); -x_835 = x_903; -x_836 = x_904; -goto block_841; -} -else -{ -lean_object* x_905; lean_object* x_906; -x_905 = lean_ctor_get(x_902, 0); -lean_inc(x_905); -x_906 = lean_ctor_get(x_902, 1); -lean_inc(x_906); -lean_dec(x_902); -x_842 = x_905; -x_843 = x_906; -goto block_848; -} -} -else -{ -lean_object* x_907; lean_object* x_908; -lean_dec(x_3); -lean_dec(x_2); -x_907 = lean_ctor_get(x_899, 0); -lean_inc(x_907); -x_908 = lean_ctor_get(x_899, 1); -lean_inc(x_908); -lean_dec(x_899); -x_842 = x_907; -x_843 = x_908; -goto block_848; -} -} -} -} -else -{ -lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; uint8_t x_919; -x_909 = lean_ctor_get(x_882, 0); -lean_inc(x_909); -lean_dec(x_882); -x_910 = lean_ctor_get(x_881, 1); -lean_inc(x_910); -lean_dec(x_881); -x_911 = lean_ctor_get(x_909, 0); -lean_inc(x_911); -x_912 = lean_ctor_get(x_909, 1); -lean_inc(x_912); -if (lean_is_exclusive(x_909)) { - lean_ctor_release(x_909, 0); - lean_ctor_release(x_909, 1); - x_913 = x_909; -} else { - lean_dec_ref(x_909); - x_913 = lean_box(0); -} -x_914 = lean_st_ref_get(x_13, x_910); -x_915 = lean_ctor_get(x_914, 1); -lean_inc(x_915); -lean_dec(x_914); -x_916 = lean_st_ref_get(x_9, x_915); -x_917 = lean_ctor_get(x_916, 0); -lean_inc(x_917); -x_918 = lean_ctor_get(x_917, 5); -lean_inc(x_918); -lean_dec(x_917); -x_919 = lean_ctor_get_uint8(x_918, sizeof(void*)*2); -lean_dec(x_918); -if (x_919 == 0) -{ -lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; -lean_dec(x_913); -lean_dec(x_911); -x_920 = lean_ctor_get(x_916, 1); -lean_inc(x_920); -lean_dec(x_916); -x_921 = lean_box(x_4); -x_922 = lean_box(x_5); -lean_inc(x_912); -lean_inc(x_2); -x_923 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_923, 0, x_2); -lean_closure_set(x_923, 1, x_912); -lean_closure_set(x_923, 2, x_3); -lean_closure_set(x_923, 3, x_921); -lean_closure_set(x_923, 4, x_922); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_924 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_912, x_923, x_8, x_9, x_10, x_11, x_810, x_13, x_920); -x_849 = x_924; -goto block_864; -} -else -{ -lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; -x_925 = lean_ctor_get(x_916, 1); -lean_inc(x_925); -lean_dec(x_916); -x_926 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_810, x_13, x_925); -x_927 = lean_ctor_get(x_926, 0); -lean_inc(x_927); -x_928 = lean_ctor_get(x_926, 1); -lean_inc(x_928); -lean_dec(x_926); -x_929 = lean_box(x_4); -x_930 = lean_box(x_5); -lean_inc(x_3); -lean_inc(x_912); -lean_inc(x_2); -x_931 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_931, 0, x_2); -lean_closure_set(x_931, 1, x_912); -lean_closure_set(x_931, 2, x_3); -lean_closure_set(x_931, 3, x_929); -lean_closure_set(x_931, 4, x_930); -lean_inc(x_13); -lean_inc(x_810); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_2); -x_932 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_912, x_931, x_8, x_9, x_10, x_11, x_810, x_13, x_928); -if (lean_obj_tag(x_932) == 0) -{ -lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; -x_933 = lean_ctor_get(x_932, 0); -lean_inc(x_933); -x_934 = lean_ctor_get(x_932, 1); -lean_inc(x_934); -lean_dec(x_932); -x_935 = lean_box(0); -lean_inc(x_933); -x_936 = l_Lean_Elab_Term_mkTermInfo(x_911, x_2, x_933, x_3, x_935, x_8, x_9, x_10, x_11, x_810, x_13, x_934); -x_937 = lean_ctor_get(x_936, 0); -lean_inc(x_937); -x_938 = lean_ctor_get(x_936, 1); -lean_inc(x_938); -lean_dec(x_936); -x_939 = lean_st_ref_get(x_13, x_938); -x_940 = lean_ctor_get(x_939, 1); -lean_inc(x_940); -lean_dec(x_939); -x_941 = lean_st_ref_take(x_9, x_940); -x_942 = lean_ctor_get(x_941, 0); -lean_inc(x_942); -x_943 = lean_ctor_get(x_942, 5); -lean_inc(x_943); -if (lean_obj_tag(x_937) == 0) -{ -lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; uint8_t x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; -x_944 = lean_ctor_get(x_941, 1); -lean_inc(x_944); -lean_dec(x_941); -x_945 = lean_ctor_get(x_942, 0); -lean_inc(x_945); -x_946 = lean_ctor_get(x_942, 1); -lean_inc(x_946); -x_947 = lean_ctor_get(x_942, 2); -lean_inc(x_947); -x_948 = lean_ctor_get(x_942, 3); -lean_inc(x_948); -x_949 = lean_ctor_get(x_942, 4); -lean_inc(x_949); -if (lean_is_exclusive(x_942)) { - lean_ctor_release(x_942, 0); - lean_ctor_release(x_942, 1); - lean_ctor_release(x_942, 2); - lean_ctor_release(x_942, 3); - lean_ctor_release(x_942, 4); - lean_ctor_release(x_942, 5); - x_950 = x_942; -} else { - lean_dec_ref(x_942); - x_950 = lean_box(0); -} -x_951 = lean_ctor_get_uint8(x_943, sizeof(void*)*2); -x_952 = lean_ctor_get(x_943, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_943, 1); -lean_inc(x_953); -if (lean_is_exclusive(x_943)) { - lean_ctor_release(x_943, 0); - lean_ctor_release(x_943, 1); - x_954 = x_943; -} else { - lean_dec_ref(x_943); - x_954 = lean_box(0); -} -x_955 = lean_ctor_get(x_937, 0); -lean_inc(x_955); -lean_dec(x_937); -x_956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_953); -x_957 = l_Std_PersistentArray_push___rarg(x_927, x_956); -if (lean_is_scalar(x_954)) { - x_958 = lean_alloc_ctor(0, 2, 1); -} else { - x_958 = x_954; -} -lean_ctor_set(x_958, 0, x_952); -lean_ctor_set(x_958, 1, x_957); -lean_ctor_set_uint8(x_958, sizeof(void*)*2, x_951); -if (lean_is_scalar(x_950)) { - x_959 = lean_alloc_ctor(0, 6, 0); -} else { - x_959 = x_950; -} -lean_ctor_set(x_959, 0, x_945); -lean_ctor_set(x_959, 1, x_946); -lean_ctor_set(x_959, 2, x_947); -lean_ctor_set(x_959, 3, x_948); -lean_ctor_set(x_959, 4, x_949); -lean_ctor_set(x_959, 5, x_958); -x_960 = lean_st_ref_set(x_9, x_959, x_944); -x_961 = lean_ctor_get(x_960, 1); -lean_inc(x_961); -if (lean_is_exclusive(x_960)) { - lean_ctor_release(x_960, 0); - lean_ctor_release(x_960, 1); - x_962 = x_960; -} else { - lean_dec_ref(x_960); - x_962 = lean_box(0); -} -x_963 = lean_box(0); -if (lean_is_scalar(x_913)) { - x_964 = lean_alloc_ctor(0, 2, 0); -} else { - x_964 = x_913; -} -lean_ctor_set(x_964, 0, x_933); -lean_ctor_set(x_964, 1, x_963); -if (lean_is_scalar(x_962)) { - x_965 = lean_alloc_ctor(0, 2, 0); -} else { - x_965 = x_962; -} -lean_ctor_set(x_965, 0, x_964); -lean_ctor_set(x_965, 1, x_961); -x_865 = x_965; -goto block_875; -} -else -{ -lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; uint8_t x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; -x_966 = lean_ctor_get(x_941, 1); -lean_inc(x_966); -lean_dec(x_941); -x_967 = lean_ctor_get(x_942, 0); -lean_inc(x_967); -x_968 = lean_ctor_get(x_942, 1); -lean_inc(x_968); -x_969 = lean_ctor_get(x_942, 2); -lean_inc(x_969); -x_970 = lean_ctor_get(x_942, 3); -lean_inc(x_970); -x_971 = lean_ctor_get(x_942, 4); -lean_inc(x_971); -if (lean_is_exclusive(x_942)) { - lean_ctor_release(x_942, 0); - lean_ctor_release(x_942, 1); - lean_ctor_release(x_942, 2); - lean_ctor_release(x_942, 3); - lean_ctor_release(x_942, 4); - lean_ctor_release(x_942, 5); - x_972 = x_942; -} else { - lean_dec_ref(x_942); - x_972 = lean_box(0); -} -x_973 = lean_ctor_get_uint8(x_943, sizeof(void*)*2); -x_974 = lean_ctor_get(x_943, 0); -lean_inc(x_974); -if (lean_is_exclusive(x_943)) { - lean_ctor_release(x_943, 0); - lean_ctor_release(x_943, 1); - x_975 = x_943; -} else { - lean_dec_ref(x_943); - x_975 = lean_box(0); -} -x_976 = lean_ctor_get(x_937, 0); -lean_inc(x_976); -lean_dec(x_937); -x_977 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_977, 0, x_976); -x_978 = l_Std_PersistentArray_push___rarg(x_927, x_977); -if (lean_is_scalar(x_975)) { - x_979 = lean_alloc_ctor(0, 2, 1); -} else { - x_979 = x_975; -} -lean_ctor_set(x_979, 0, x_974); -lean_ctor_set(x_979, 1, x_978); -lean_ctor_set_uint8(x_979, sizeof(void*)*2, x_973); -if (lean_is_scalar(x_972)) { - x_980 = lean_alloc_ctor(0, 6, 0); -} else { - x_980 = x_972; -} -lean_ctor_set(x_980, 0, x_967); -lean_ctor_set(x_980, 1, x_968); -lean_ctor_set(x_980, 2, x_969); -lean_ctor_set(x_980, 3, x_970); -lean_ctor_set(x_980, 4, x_971); -lean_ctor_set(x_980, 5, x_979); -x_981 = lean_st_ref_set(x_9, x_980, x_966); -x_982 = lean_ctor_get(x_981, 1); -lean_inc(x_982); -if (lean_is_exclusive(x_981)) { - lean_ctor_release(x_981, 0); - lean_ctor_release(x_981, 1); - x_983 = x_981; -} else { - lean_dec_ref(x_981); - x_983 = lean_box(0); -} -x_984 = lean_box(0); -if (lean_is_scalar(x_913)) { - x_985 = lean_alloc_ctor(0, 2, 0); -} else { - x_985 = x_913; -} -lean_ctor_set(x_985, 0, x_933); -lean_ctor_set(x_985, 1, x_984); -if (lean_is_scalar(x_983)) { - x_986 = lean_alloc_ctor(0, 2, 0); -} else { - x_986 = x_983; -} -lean_ctor_set(x_986, 0, x_985); -lean_ctor_set(x_986, 1, x_982); -x_865 = x_986; -goto block_875; -} -} -else -{ -lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; uint8_t x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; -lean_dec(x_913); -lean_dec(x_911); -lean_dec(x_3); -lean_dec(x_2); -x_987 = lean_ctor_get(x_932, 0); -lean_inc(x_987); -x_988 = lean_ctor_get(x_932, 1); -lean_inc(x_988); -lean_dec(x_932); -x_989 = lean_st_ref_get(x_13, x_988); -x_990 = lean_ctor_get(x_989, 1); -lean_inc(x_990); -lean_dec(x_989); -x_991 = lean_st_ref_take(x_9, x_990); -x_992 = lean_ctor_get(x_991, 0); -lean_inc(x_992); -x_993 = lean_ctor_get(x_992, 5); -lean_inc(x_993); -x_994 = lean_ctor_get(x_991, 1); -lean_inc(x_994); -lean_dec(x_991); -x_995 = lean_ctor_get(x_992, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_992, 1); -lean_inc(x_996); -x_997 = lean_ctor_get(x_992, 2); -lean_inc(x_997); -x_998 = lean_ctor_get(x_992, 3); -lean_inc(x_998); -x_999 = lean_ctor_get(x_992, 4); -lean_inc(x_999); -if (lean_is_exclusive(x_992)) { - lean_ctor_release(x_992, 0); - lean_ctor_release(x_992, 1); - lean_ctor_release(x_992, 2); - lean_ctor_release(x_992, 3); - lean_ctor_release(x_992, 4); - lean_ctor_release(x_992, 5); - x_1000 = x_992; -} else { - lean_dec_ref(x_992); - x_1000 = lean_box(0); -} -x_1001 = lean_ctor_get_uint8(x_993, sizeof(void*)*2); -x_1002 = lean_ctor_get(x_993, 0); -lean_inc(x_1002); -if (lean_is_exclusive(x_993)) { - lean_ctor_release(x_993, 0); - lean_ctor_release(x_993, 1); - x_1003 = x_993; -} else { - lean_dec_ref(x_993); - x_1003 = lean_box(0); -} -if (lean_is_scalar(x_1003)) { - x_1004 = lean_alloc_ctor(0, 2, 1); -} else { - x_1004 = x_1003; -} -lean_ctor_set(x_1004, 0, x_1002); -lean_ctor_set(x_1004, 1, x_927); -lean_ctor_set_uint8(x_1004, sizeof(void*)*2, x_1001); -if (lean_is_scalar(x_1000)) { - x_1005 = lean_alloc_ctor(0, 6, 0); -} else { - x_1005 = x_1000; -} -lean_ctor_set(x_1005, 0, x_995); -lean_ctor_set(x_1005, 1, x_996); -lean_ctor_set(x_1005, 2, x_997); -lean_ctor_set(x_1005, 3, x_998); -lean_ctor_set(x_1005, 4, x_999); -lean_ctor_set(x_1005, 5, x_1004); -x_1006 = lean_st_ref_set(x_9, x_1005, x_994); -x_1007 = lean_ctor_get(x_1006, 1); -lean_inc(x_1007); -if (lean_is_exclusive(x_1006)) { - lean_ctor_release(x_1006, 0); - lean_ctor_release(x_1006, 1); - x_1008 = x_1006; -} else { - lean_dec_ref(x_1006); - x_1008 = lean_box(0); -} -if (lean_is_scalar(x_1008)) { - x_1009 = lean_alloc_ctor(1, 2, 0); -} else { - x_1009 = x_1008; - lean_ctor_set_tag(x_1009, 1); -} -lean_ctor_set(x_1009, 0, x_987); -lean_ctor_set(x_1009, 1, x_1007); -x_865 = x_1009; -goto block_875; -} -} -} -} -else -{ -lean_object* x_1010; lean_object* x_1011; -lean_dec(x_3); -lean_dec(x_2); -x_1010 = lean_ctor_get(x_881, 0); -lean_inc(x_1010); -x_1011 = lean_ctor_get(x_881, 1); -lean_inc(x_1011); -lean_dec(x_881); -x_842 = x_1010; -x_843 = x_1011; -goto block_848; -} -block_841: -{ -lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; -x_837 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_836); -lean_dec(x_13); -lean_dec(x_810); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_838 = lean_ctor_get(x_837, 1); -lean_inc(x_838); -if (lean_is_exclusive(x_837)) { - lean_ctor_release(x_837, 0); - lean_ctor_release(x_837, 1); - x_839 = x_837; -} else { - lean_dec_ref(x_837); - x_839 = lean_box(0); -} -if (lean_is_scalar(x_839)) { - x_840 = lean_alloc_ctor(0, 2, 0); -} else { - x_840 = x_839; -} -lean_ctor_set(x_840, 0, x_835); -lean_ctor_set(x_840, 1, x_838); -return x_840; -} -block_848: -{ -lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; -x_844 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_843); -lean_dec(x_13); -lean_dec(x_810); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_845 = lean_ctor_get(x_844, 1); -lean_inc(x_845); -if (lean_is_exclusive(x_844)) { - lean_ctor_release(x_844, 0); - lean_ctor_release(x_844, 1); - x_846 = x_844; -} else { - lean_dec_ref(x_844); - x_846 = lean_box(0); -} -if (lean_is_scalar(x_846)) { - x_847 = lean_alloc_ctor(1, 2, 0); -} else { - x_847 = x_846; - lean_ctor_set_tag(x_847, 1); -} -lean_ctor_set(x_847, 0, x_842); -lean_ctor_set(x_847, 1, x_845); -return x_847; -} -block_864: -{ -if (lean_obj_tag(x_849) == 0) -{ -lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; -x_850 = lean_ctor_get(x_849, 0); -lean_inc(x_850); -x_851 = lean_ctor_get(x_849, 1); -lean_inc(x_851); -lean_dec(x_849); -x_852 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_851); -lean_dec(x_13); -lean_dec(x_810); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_853 = lean_ctor_get(x_852, 0); -lean_inc(x_853); -x_854 = lean_ctor_get(x_852, 1); -lean_inc(x_854); -if (lean_is_exclusive(x_852)) { - lean_ctor_release(x_852, 0); - lean_ctor_release(x_852, 1); - x_855 = x_852; -} else { - lean_dec_ref(x_852); - x_855 = lean_box(0); -} -x_856 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_856, 0, x_850); -lean_ctor_set(x_856, 1, x_853); -if (lean_is_scalar(x_855)) { - x_857 = lean_alloc_ctor(0, 2, 0); -} else { - x_857 = x_855; -} -lean_ctor_set(x_857, 0, x_856); -lean_ctor_set(x_857, 1, x_854); -x_15 = x_857; -goto block_27; -} -else -{ -lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; -x_858 = lean_ctor_get(x_849, 0); -lean_inc(x_858); -x_859 = lean_ctor_get(x_849, 1); -lean_inc(x_859); -lean_dec(x_849); -x_860 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_859); -lean_dec(x_13); -lean_dec(x_810); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_861 = lean_ctor_get(x_860, 1); -lean_inc(x_861); -if (lean_is_exclusive(x_860)) { - lean_ctor_release(x_860, 0); - lean_ctor_release(x_860, 1); - x_862 = x_860; -} else { - lean_dec_ref(x_860); - x_862 = lean_box(0); -} -if (lean_is_scalar(x_862)) { - x_863 = lean_alloc_ctor(1, 2, 0); -} else { - x_863 = x_862; - lean_ctor_set_tag(x_863, 1); -} -lean_ctor_set(x_863, 0, x_858); -lean_ctor_set(x_863, 1, x_861); -x_15 = x_863; -goto block_27; -} -} -block_875: -{ -if (lean_obj_tag(x_865) == 0) -{ -lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; -x_866 = lean_ctor_get(x_865, 0); -lean_inc(x_866); -x_867 = lean_ctor_get(x_865, 1); -lean_inc(x_867); -if (lean_is_exclusive(x_865)) { - lean_ctor_release(x_865, 0); - lean_ctor_release(x_865, 1); - x_868 = x_865; -} else { - lean_dec_ref(x_865); - x_868 = lean_box(0); -} -x_869 = lean_ctor_get(x_866, 0); -lean_inc(x_869); -lean_dec(x_866); -if (lean_is_scalar(x_868)) { - x_870 = lean_alloc_ctor(0, 2, 0); -} else { - x_870 = x_868; -} -lean_ctor_set(x_870, 0, x_869); -lean_ctor_set(x_870, 1, x_867); -x_849 = x_870; -goto block_864; -} -else -{ -lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; -x_871 = lean_ctor_get(x_865, 0); -lean_inc(x_871); -x_872 = lean_ctor_get(x_865, 1); -lean_inc(x_872); -if (lean_is_exclusive(x_865)) { - lean_ctor_release(x_865, 0); - lean_ctor_release(x_865, 1); - x_873 = x_865; -} else { - lean_dec_ref(x_865); - x_873 = lean_box(0); -} -if (lean_is_scalar(x_873)) { - x_874 = lean_alloc_ctor(1, 2, 0); -} else { - x_874 = x_873; -} -lean_ctor_set(x_874, 0, x_871); -lean_ctor_set(x_874, 1, x_872); -x_849 = x_874; -goto block_864; -} -} -} -else -{ -lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; -lean_dec(x_810); -lean_dec(x_805); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_1012 = lean_ctor_get(x_813, 0); -lean_inc(x_1012); -x_1013 = lean_ctor_get(x_813, 1); -lean_inc(x_1013); -if (lean_is_exclusive(x_813)) { - lean_ctor_release(x_813, 0); - lean_ctor_release(x_813, 1); - x_1014 = x_813; -} else { - lean_dec_ref(x_813); - x_1014 = lean_box(0); -} -if (lean_is_scalar(x_1014)) { - x_1015 = lean_alloc_ctor(1, 2, 0); -} else { - x_1015 = x_1014; -} -lean_ctor_set(x_1015, 0, x_1012); -lean_ctor_set(x_1015, 1, x_1013); -return x_1015; -} -} -block_1037: -{ -if (x_1017 == 0) +if (x_19 == 0) { +lean_object* x_21; lean_object* x_22; lean_dec(x_6); -x_811 = x_1018; -goto block_1016; -} -else -{ -lean_object* x_1019; -lean_inc(x_2); -x_1019 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1019, 0, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; -x_1020 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; -x_1021 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1021, 0, x_1020); -lean_ctor_set(x_1021, 1, x_1019); -x_1022 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_1023 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1023, 0, x_1021); -lean_ctor_set(x_1023, 1, x_1022); -x_1024 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_1023, x_8, x_9, x_10, x_11, x_810, x_13, x_1018); -x_1025 = lean_ctor_get(x_1024, 1); -lean_inc(x_1025); -lean_dec(x_1024); -x_811 = x_1025; -goto block_1016; -} -else -{ -lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; -x_1026 = lean_ctor_get(x_3, 0); -lean_inc(x_1026); -x_1027 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1027, 0, x_1026); -x_1028 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; -x_1029 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1029, 0, x_1028); -lean_ctor_set(x_1029, 1, x_1027); -x_1030 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; -x_1031 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1031, 0, x_1029); -lean_ctor_set(x_1031, 1, x_1030); -x_1032 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1032, 0, x_1031); -lean_ctor_set(x_1032, 1, x_1019); -x_1033 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_1034 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1034, 0, x_1032); -lean_ctor_set(x_1034, 1, x_1033); -x_1035 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_1034, x_8, x_9, x_10, x_11, x_810, x_13, x_1018); -x_1036 = lean_ctor_get(x_1035, 1); -lean_inc(x_1036); -lean_dec(x_1035); -x_811 = x_1036; -goto block_1016; -} -} -} -} -block_27: -{ -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(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_20); +x_21 = lean_box(0); +x_22 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_20); return x_22; } +else +{ +lean_object* x_23; +lean_inc(x_2); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_24 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_20); +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 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +lean_dec(x_29); +return x_31; } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) -{ -return x_15; +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_32 = lean_ctor_get(x_3, 0); +lean_inc(x_32); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_23); +x_39 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_20); +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_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_42, x_8, x_9, x_10, x_11, x_12, x_13, x_43); +lean_dec(x_42); +return x_44; +} +} +} } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +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; uint8_t x_65; lean_object* x_66; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_57 = lean_ctor_get(x_12, 0); +x_58 = lean_ctor_get(x_12, 2); +x_59 = lean_ctor_get(x_12, 3); +x_60 = lean_ctor_get(x_12, 4); +x_61 = lean_ctor_get(x_12, 5); +x_62 = lean_ctor_get(x_12, 6); +x_63 = lean_ctor_get(x_12, 7); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_12); +x_64 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_16); +lean_ctor_set(x_64, 2, x_58); +lean_ctor_set(x_64, 3, x_59); +lean_ctor_set(x_64, 4, x_60); +lean_ctor_set(x_64, 5, x_61); +lean_ctor_set(x_64, 6, x_62); +lean_ctor_set(x_64, 7, x_63); +x_92 = lean_st_ref_get(x_13, x_14); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_93, 3); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_ctor_get_uint8(x_94, sizeof(void*)*1); +lean_dec(x_94); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec(x_92); +x_97 = 0; +x_65 = x_97; +x_66 = x_96; +goto block_91; } +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_dec(x_92); +lean_inc(x_6); +x_99 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_64, x_13, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_unbox(x_100); +lean_dec(x_100); +x_65 = x_102; +x_66 = x_101; +goto block_91; +} +block_91: +{ +if (x_65 == 0) +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_6); +x_67 = lean_box(0); +x_68 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_67, x_8, x_9, x_10, x_11, x_64, x_13, x_66); +return x_68; +} +else +{ +lean_object* x_69; +lean_inc(x_2); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_2); +if (lean_obj_tag(x_3) == 0) +{ +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; +x_70 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6; +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_73, x_8, x_9, x_10, x_11, x_64, x_13, x_66); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_75, x_8, x_9, x_10, x_11, x_64, x_13, x_76); +lean_dec(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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_78 = lean_ctor_get(x_3, 0); +lean_inc(x_78); +x_79 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4; +x_83 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_69); +x_85 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_86, x_8, x_9, x_10, x_11, x_64, x_13, x_66); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_2, x_3, x_4, x_5, x_88, x_8, x_9, x_10, x_11, x_64, x_13, x_89); +lean_dec(x_88); +return x_90; +} +} +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_maxRecDepthErrorMessage; +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_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t 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; uint8_t x_15; +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_10, 2); +lean_inc(x_14); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(x_13, x_1, x_2, x_3, x_4, x_5, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_13); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2; +x_19 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +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_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; } } } @@ -34713,26 +33337,6 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_maxRecDepthErrorMessage; -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_Term_0__Lean_Elab_Term_elabTermAux___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -34744,288 +33348,18 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_st_ref_take(x_10, x_11); -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; uint8_t x_22; -x_17 = lean_ctor_get(x_14, 1); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_add(x_17, x_18); -lean_ctor_set(x_14, 1, x_19); -x_20 = lean_st_ref_set(x_10, x_14, x_15); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = !lean_is_exclusive(x_5); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_5, 4); -lean_dec(x_23); -lean_ctor_set(x_5, 4, x_17); -x_24 = lean_ctor_get(x_9, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_9, 2); -lean_inc(x_25); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; -x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_24, x_4, x_1, x_2, x_3, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_24); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -lean_dec(x_24); -lean_dec(x_4); -lean_dec(x_1); -x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4; -x_31 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -return x_31; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_31); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; uint8_t 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; uint8_t x_50; -x_36 = lean_ctor_get(x_5, 0); -x_37 = lean_ctor_get(x_5, 1); -x_38 = lean_ctor_get(x_5, 2); -x_39 = lean_ctor_get(x_5, 3); -x_40 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_41 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_42 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_43 = lean_ctor_get(x_5, 5); -x_44 = lean_ctor_get(x_5, 6); -x_45 = lean_ctor_get(x_5, 7); -x_46 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_5); -x_47 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_37); -lean_ctor_set(x_47, 2, x_38); -lean_ctor_set(x_47, 3, x_39); -lean_ctor_set(x_47, 4, x_17); -lean_ctor_set(x_47, 5, x_43); -lean_ctor_set(x_47, 6, x_44); -lean_ctor_set(x_47, 7, x_45); -lean_ctor_set_uint8(x_47, sizeof(void*)*8, x_40); -lean_ctor_set_uint8(x_47, sizeof(void*)*8 + 1, x_41); -lean_ctor_set_uint8(x_47, sizeof(void*)*8 + 2, x_42); -lean_ctor_set_uint8(x_47, sizeof(void*)*8 + 3, x_46); -x_48 = lean_ctor_get(x_9, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_9, 2); -lean_inc(x_49); -x_50 = lean_nat_dec_eq(x_48, x_49); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; -x_52 = lean_box(0); -x_53 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_48, x_4, x_1, x_2, x_3, x_51, x_52, x_47, x_6, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_48); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_48); -lean_dec(x_4); -lean_dec(x_1); -x_54 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4; -x_55 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_54, x_47, x_6, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_58 = x_55; -} else { - lean_dec_ref(x_55); - x_58 = lean_box(0); -} -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); -} else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} -} -} -else -{ -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; uint8_t x_73; uint8_t x_74; uint8_t 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; uint8_t x_84; -x_60 = lean_ctor_get(x_14, 0); -x_61 = lean_ctor_get(x_14, 1); -x_62 = lean_ctor_get(x_14, 2); -x_63 = lean_ctor_get(x_14, 3); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_14); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_61, x_64); -x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_60); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_62); -lean_ctor_set(x_66, 3, x_63); -x_67 = lean_st_ref_set(x_10, x_66, x_15); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_ctor_get(x_5, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_5, 1); -lean_inc(x_70); -x_71 = lean_ctor_get(x_5, 2); -lean_inc(x_71); -x_72 = lean_ctor_get(x_5, 3); -lean_inc(x_72); -x_73 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_74 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_75 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_76 = lean_ctor_get(x_5, 5); -lean_inc(x_76); -x_77 = lean_ctor_get(x_5, 6); -lean_inc(x_77); -x_78 = lean_ctor_get(x_5, 7); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - lean_ctor_release(x_5, 6); - lean_ctor_release(x_5, 7); - x_80 = x_5; -} else { - lean_dec_ref(x_5); - x_80 = lean_box(0); -} -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(0, 8, 4); -} else { - x_81 = x_80; -} -lean_ctor_set(x_81, 0, x_69); -lean_ctor_set(x_81, 1, x_70); -lean_ctor_set(x_81, 2, x_71); -lean_ctor_set(x_81, 3, x_72); -lean_ctor_set(x_81, 4, x_61); -lean_ctor_set(x_81, 5, x_76); -lean_ctor_set(x_81, 6, x_77); -lean_ctor_set(x_81, 7, x_78); -lean_ctor_set_uint8(x_81, sizeof(void*)*8, x_73); -lean_ctor_set_uint8(x_81, sizeof(void*)*8 + 1, x_74); -lean_ctor_set_uint8(x_81, sizeof(void*)*8 + 2, x_75); -lean_ctor_set_uint8(x_81, sizeof(void*)*8 + 3, x_79); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_nat_dec_eq(x_82, x_83); -lean_dec(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; -x_86 = lean_box(0); -x_87 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_82, x_4, x_1, x_2, x_3, x_85, x_86, x_81, x_6, x_7, x_8, x_9, x_10, x_68); -lean_dec(x_82); -return x_87; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_82); -lean_dec(x_4); -lean_dec(x_1); -x_88 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4; -x_89 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_88, x_81, x_6, x_7, x_8, x_9, x_10, x_68); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_92 = x_89; -} else { - lean_dec_ref(x_89); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; +x_14 = lean_box(x_2); +x_15 = lean_box(x_3); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed), 12, 5); +lean_closure_set(x_16, 0, x_4); +lean_closure_set(x_16, 1, x_1); +lean_closure_set(x_16, 2, x_14); +lean_closure_set(x_16, 3, x_15); +lean_closure_set(x_16, 4, x_13); +x_17 = l_Lean_Elab_Term_withFreshMacroScope___rarg(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; } } } @@ -35160,19 +33494,46 @@ x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_1, return x_13; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_3); +lean_dec(x_3); +x_13 = lean_unbox(x_4); +lean_dec(x_4); +x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_4); +x_13 = lean_unbox(x_3); +lean_dec(x_3); +x_14 = lean_unbox(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_5); +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); -x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_15; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; uint8_t x_16; lean_object* x_17; @@ -35180,12 +33541,24 @@ x_15 = lean_unbox(x_4); lean_dec(x_4); x_16 = lean_unbox(x_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(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); +x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(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_7); lean_dec(x_1); return x_17; } } +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_3); +lean_dec(x_3); +x_14 = lean_unbox(x_4); +lean_dec(x_4); +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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: { @@ -36193,77 +34566,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_commitIfNoErrors_x3f___rarg), return x_2; } } -lean_object* l_Lean_Elab_Term_adaptExpander___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: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_4, 3); -lean_inc(x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_4, 3, x_14); -x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_15, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 4); -x_22 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_25 = lean_ctor_get(x_4, 5); -x_26 = lean_ctor_get(x_4, 6); -x_27 = lean_ctor_get(x_4, 7); -x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -lean_inc(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_2); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -x_31 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_18); -lean_ctor_set(x_31, 2, x_19); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_26); -lean_ctor_set(x_31, 7, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_32, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10); -return x_33; -} -} -} lean_object* l_Lean_Elab_Term_adaptExpander(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: { @@ -36278,24 +34580,27 @@ lean_inc(x_2); x_11 = lean_apply_8(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +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; 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 = 1; +x_15 = lean_box(x_14); +x_16 = lean_box(x_14); lean_inc(x_12); -lean_inc(x_2); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_14, 0, x_2); -lean_closure_set(x_14, 1, x_12); -lean_closure_set(x_14, 2, x_3); -x_15 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_15; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_17, 0, x_12); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_15); +lean_closure_set(x_17, 3, x_16); +x_18 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_2, x_12, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_18; } else { -uint8_t x_16; +uint8_t x_19; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -36304,23 +34609,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 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_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); 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; +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; } } } @@ -36460,6 +34765,131 @@ lean_dec(x_3); return x_9; } } +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type expected"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("coeSort"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +x_14 = l_Lean_Elab_Term_synthesizeCoeInstMVarCore(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2; +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_7); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4; +x_22 = l_Lean_mkConst(x_21, x_2); +x_23 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__5; +x_24 = lean_array_push(x_23, x_3); +x_25 = lean_array_push(x_24, x_4); +x_26 = lean_array_push(x_25, x_5); +x_27 = lean_array_push(x_26, x_6); +x_28 = l_Lean_mkAppN(x_22, x_27); +lean_dec(x_27); +x_29 = l_Lean_Meta_expandCoe(x_28, x_9, x_10, x_11, x_12, x_20); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +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_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) +{ +return x_14; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 0); +x_32 = lean_ctor_get(x_14, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_14); +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; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1() { _start: { @@ -36482,7 +34912,7 @@ static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSor _start: { lean_object* x_1; -x_1 = lean_mk_string("type expected"); +x_1 = lean_mk_string("type expected\n"); return x_1; } } @@ -36495,41 +34925,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type expected\n"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("coeSort"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort(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: { @@ -36565,7 +34960,7 @@ lean_inc(x_13); x_18 = l_Lean_Meta_getLevel(x_13, x_5, x_6, x_7, x_8, x_17); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 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; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +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; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -36599,283 +34994,151 @@ x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); x_35 = l_Lean_Expr_mvarId_x21(x_33); -x_36 = lean_ctor_get(x_7, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_7, 1); -lean_inc(x_37); -x_38 = lean_ctor_get(x_7, 2); -lean_inc(x_38); -x_39 = lean_ctor_get(x_7, 3); -lean_inc(x_39); -x_40 = lean_ctor_get(x_7, 4); -lean_inc(x_40); -x_41 = lean_ctor_get(x_7, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_7, 6); -lean_inc(x_42); -x_43 = lean_ctor_get(x_7, 7); -lean_inc(x_43); -x_44 = l_Lean_Elab_pp_macroStack; -x_45 = 0; -x_46 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_36, x_44, x_45); -x_47 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_37); -lean_ctor_set(x_47, 2, x_38); -lean_ctor_set(x_47, 3, x_39); -lean_ctor_set(x_47, 4, x_40); -lean_ctor_set(x_47, 5, x_41); -lean_ctor_set(x_47, 6, x_42); -lean_ctor_set(x_47, 7, x_43); +x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___boxed), 13, 6); +lean_closure_set(x_36, 0, x_35); +lean_closure_set(x_36, 1, x_23); +lean_closure_set(x_36, 2, x_1); +lean_closure_set(x_36, 3, x_13); +lean_closure_set(x_36, 4, x_2); +lean_closure_set(x_36, 5, x_33); lean_inc(x_8); -lean_inc(x_47); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_48 = l_Lean_Elab_Term_synthesizeCoeInstMVarCore(x_35, x_3, x_4, x_5, x_6, x_47, x_8, x_34); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_unbox(x_49); -lean_dec(x_49); -if (x_50 == 0) -{ -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_dec(x_33); -lean_dec(x_23); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; -lean_inc(x_3); -x_53 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_52, x_3, x_4, x_5, x_6, x_47, x_8, x_51); -lean_dec(x_47); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_55); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_61; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_62 = lean_ctor_get(x_48, 1); -lean_inc(x_62); -lean_dec(x_48); -x_63 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8; -x_64 = l_Lean_mkConst(x_63, x_23); -x_65 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__5; -x_66 = lean_array_push(x_65, x_1); -x_67 = lean_array_push(x_66, x_13); -x_68 = lean_array_push(x_67, x_2); -x_69 = lean_array_push(x_68, x_33); -x_70 = l_Lean_mkAppN(x_64, x_69); -lean_dec(x_69); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_5); -x_71 = l_Lean_Meta_expandCoe(x_70, x_5, x_6, x_47, x_8, x_62); -if (lean_obj_tag(x_71) == 0) +x_37 = l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_37) == 0) { 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_71; +return x_37; } else { -lean_object* x_72; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -if (lean_obj_tag(x_72) == 0) +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_73); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_39); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_79; +lean_dec(x_4); +return x_45; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_72); -x_80 = lean_ctor_get(x_71, 1); -lean_inc(x_80); -lean_dec(x_71); -x_81 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; -x_82 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_38); +x_46 = lean_ctor_get(x_37, 1); +lean_inc(x_46); +lean_dec(x_37); +x_47 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2; +x_48 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_46); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_82; -} -} -} -} -else -{ -lean_object* x_83; -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_23); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_83 = lean_ctor_get(x_48, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_84 = lean_ctor_get(x_48, 1); -lean_inc(x_84); -lean_dec(x_48); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_84); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_83); -x_91 = lean_ctor_get(x_48, 1); -lean_inc(x_91); -lean_dec(x_48); -x_92 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; -x_93 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_91); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_93; +lean_dec(x_4); +return x_48; } } } else { -uint8_t x_94; +uint8_t x_49; 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); lean_dec(x_2); lean_dec(x_1); -x_94 = !lean_is_exclusive(x_18); -if (x_94 == 0) +x_49 = !lean_is_exclusive(x_18); +if (x_49 == 0) { return x_18; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_18, 0); -x_96 = lean_ctor_get(x_18, 1); -lean_inc(x_96); -lean_inc(x_95); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_18, 0); +x_51 = lean_ctor_get(x_18, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_18); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_98; +uint8_t x_53; 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); lean_dec(x_2); lean_dec(x_1); -x_98 = !lean_is_exclusive(x_15); -if (x_98 == 0) +x_53 = !lean_is_exclusive(x_15); +if (x_53 == 0) { return x_15; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_15, 0); -x_100 = lean_ctor_get(x_15, 1); -lean_inc(x_100); -lean_inc(x_99); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_15, 0); +x_55 = lean_ctor_get(x_15, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_15); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___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, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_10; -x_10 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -return x_10; +lean_object* x_14; +x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1(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_8); +return x_14; } } lean_object* l_Lean_Elab_Term_ensureType(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) { @@ -36952,6 +35215,7 @@ 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_is_exclusive(x_20); if (x_25 == 0) @@ -36983,6 +35247,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_29 = !lean_is_exclusive(x_20); @@ -37012,6 +35277,7 @@ 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_33 = !lean_is_exclusive(x_13); @@ -37041,6 +35307,7 @@ 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_is_exclusive(x_9); if (x_37 == 0) @@ -37071,6 +35338,7 @@ 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_is_exclusive(x_9); @@ -37094,15 +35362,6 @@ return x_44; } } } -lean_object* l_Lean_Elab_Term_ensureType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_ensureType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -return x_9; -} -} lean_object* l_Lean_Elab_Term_elabType(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: { @@ -37143,7 +35402,6 @@ lean_dec(x_19); lean_dec(x_1); lean_ctor_set(x_6, 3, x_20); x_21 = l_Lean_Elab_Term_ensureType(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); -lean_dec(x_3); return x_21; } else @@ -37179,7 +35437,6 @@ lean_ctor_set(x_31, 5, x_27); lean_ctor_set(x_31, 6, x_28); lean_ctor_set(x_31, 7, x_29); x_32 = l_Lean_Elab_Term_ensureType(x_16, x_2, x_3, x_4, x_5, x_31, x_7, x_17); -lean_dec(x_3); return x_32; } } @@ -38987,7 +37244,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1() { _start: { lean_object* x_1; @@ -38995,21 +37252,21 @@ x_1 = lean_mk_string("letrec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -39090,7 +37347,53 @@ return x_14; } } } -static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1() { +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +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_4, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 4); +lean_inc(x_15); +lean_dec(x_14); +x_16 = 0; +x_17 = l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(x_1, x_16, x_15); +lean_dec(x_15); +x_18 = lean_box(x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 4); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 0; +x_23 = l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(x_1, x_22, x_21); +lean_dec(x_21); +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -39098,6 +37401,119 @@ x_1 = lean_mk_string("mvarId root: "); return x_1; } } +static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___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) { +_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; uint8_t x_18; lean_object* x_19; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +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_get(x_7, 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_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_MetavarContext_getDelayedRoot(x_16, x_1); +x_33 = lean_st_ref_get(x_9, x_15); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = 0; +x_18 = x_38; +x_19 = x_37; +goto block_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_dec(x_33); +lean_inc(x_2); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_unbox(x_41); +lean_dec(x_41); +x_18 = x_43; +x_19 = x_42; +goto block_32; +} +block_32: +{ +if (x_18 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(x_17, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +lean_dec(x_17); +return x_21; +} +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_inc(x_17); +x_22 = l_Lean_mkMVar(x_17); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_2, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +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 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(x_17, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +lean_dec(x_29); +lean_dec(x_17); +return x_31; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mvarId: "); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__2() { _start: { @@ -39111,7 +37527,7 @@ static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("mvarId: "); +x_1 = lean_mk_string(" letrecMVars: "); return x_1; } } @@ -39124,247 +37540,105 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" letrecMVars: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(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_61; lean_object* x_62; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -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_3, 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_80 = lean_st_ref_get(x_7, x_13); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_81, 3); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_ctor_get_uint8(x_82, sizeof(void*)*1); -lean_dec(x_82); -if (x_83 == 0) +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2; +x_37 = lean_st_ref_get(x_7, x_8); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_80, 1); -lean_inc(x_84); -lean_dec(x_80); -x_85 = 0; -x_61 = x_85; -x_62 = x_84; -goto block_79; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_86 = lean_ctor_get(x_80, 1); -lean_inc(x_86); -lean_dec(x_80); -x_87 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; -x_88 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_86); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_unbox(x_89); -lean_dec(x_89); -x_61 = x_91; -x_62 = x_90; -goto block_79; -} -block_60: -{ -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_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_st_ref_get(x_5, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_MetavarContext_getDelayedRoot(x_20, x_1); -x_40 = lean_st_ref_get(x_7, x_19); -x_41 = lean_ctor_get(x_40, 0); +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_22 = x_44; -goto block_39; +lean_dec(x_37); +x_42 = 0; +x_10 = x_42; +x_11 = x_41; +goto block_36; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_40, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_43); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_40); -x_46 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_45); -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) +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_10 = x_47; +x_11 = x_46; +goto block_36; +} +block_36: { -lean_object* x_50; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_22 = x_50; -goto block_39; +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2(x_1, x_9, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_13; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -lean_inc(x_21); -x_52 = l_Lean_mkMVar(x_21); -x_53 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_46, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_51); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_22 = x_59; -goto block_39; -} -} -block_39: -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_st_ref_get(x_7, x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_st_ref_get(x_3, x_24); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_27, 4); -lean_inc(x_28); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_14 = lean_st_ref_get(x_7, x_11); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_3, x_15); +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_1); +x_19 = l_Lean_mkMVar(x_1); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_ctor_get(x_17, 4); +lean_inc(x_25); +lean_dec(x_17); +x_26 = l_List_map___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2(x_25); +x_27 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26); +x_28 = l_Lean_MessageData_ofList(x_27); lean_dec(x_27); -x_29 = 0; -x_30 = l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(x_21, x_29, x_28); -lean_dec(x_28); -lean_dec(x_21); -x_31 = lean_box(x_30); -lean_ctor_set(x_25, 0, x_31); -return x_25; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_32 = lean_ctor_get(x_25, 0); -x_33 = lean_ctor_get(x_25, 1); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_9, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_25); -x_34 = lean_ctor_get(x_32, 4); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = 0; -x_36 = l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(x_21, x_35, x_34); -lean_dec(x_34); -lean_dec(x_21); -x_37 = lean_box(x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_33); -return x_38; -} -} -} -block_79: -{ -if (x_61 == 0) -{ -lean_dec(x_12); -x_14 = x_62; -goto block_60; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_inc(x_1); -x_63 = l_Lean_mkMVar(x_1); -x_64 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__4; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_Elab_Term_isLetRecAuxMVar___closed__6; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -x_69 = lean_ctor_get(x_12, 4); -lean_inc(x_69); -lean_dec(x_12); -x_70 = l_List_map___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2(x_69); -x_71 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_70); -x_72 = l_Lean_MessageData_ofList(x_71); -lean_dec(x_71); -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_68); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; -x_77 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_76, x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_62); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_14 = x_78; -goto block_60; +x_35 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2(x_1, x_9, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_33); +return x_35; } } } @@ -39382,6 +37656,37 @@ x_6 = lean_box(x_5); return x_6; } } +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_isLetRecAuxMVar___lambda__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_Lean_Elab_Term_isLetRecAuxMVar___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: { @@ -39396,2072 +37701,6 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_elabProp___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_levelZero; -x_2 = l_Lean_mkSort(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_elabProp___rarg___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_elabProp(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 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabProp___rarg), 1, 0); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_elabProp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("prop"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabProp"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabProp___boxed), 8, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = l_Lean_Syntax_isNone(x_1); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Elab_Term_elabLevel(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = l_Lean_levelZero; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_8); -return x_14; -} -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel___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_Term_0__Lean_Elab_Term_elabOptLevel(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabSort(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; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_mkSort(x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = l_Lean_mkSort(x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (x_20 == 0) -{ -return x_12; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_12); -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; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabSort___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_elabSort(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; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("sort"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabSort"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSort___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabSort(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabTypeStx(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; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_mkLevelSucc(x_14); -x_16 = l_Lean_mkSort(x_15); -lean_ctor_set(x_12, 0, x_16); -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_12); -x_19 = l_Lean_mkLevelSucc(x_17); -x_20 = l_Lean_mkSort(x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -return x_21; -} -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_12); -if (x_22 == 0) -{ -return x_12; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_12, 0); -x_24 = lean_ctor_get(x_12, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_12); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabTypeStx___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_elabTypeStx(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; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabTypeStx"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTypeStx___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -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; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} -static lean_object* _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid field notation, identifier or numeral expected"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; -x_13 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_11); -return x_13; -} -} -lean_object* l_Lean_Elab_Term_elabPipeCompletion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = lean_box(0); -x_13 = 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_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -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_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Expr_isSorry(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_inc(x_1); -x_18 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_15, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -lean_dec(x_1); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_15); -lean_dec(x_2); -x_22 = lean_box(0); -x_23 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_23; -} -} -else -{ -uint8_t x_24; -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_24 = !lean_is_exclusive(x_14); -if (x_24 == 0) -{ -return x_14; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_14, 0); -x_26 = lean_ctor_get(x_14, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_14); -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; -} -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("pipeCompletion"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabPipeCompletion"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPipeCompletion), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabCompletion(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; uint8_t x_12; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isIdent(x_11); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_11); -x_13 = l_Lean_Elab_Term_elabPipeCompletion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_14 = l_Lean_Elab_Term_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_box(0); -x_18 = 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_11); -x_19 = l_Lean_Elab_Term_elabTerm(x_11, x_17, x_18, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_15); -lean_dec(x_11); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -lean_inc(x_1); -x_22 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_20, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l_Lean_Syntax_getArg(x_1, x_24); -lean_dec(x_1); -x_26 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_25); -return x_27; -} -else -{ -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; 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_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_dec(x_19); -x_29 = 0; -x_30 = l_Lean_Elab_Term_SavedState_restore(x_15, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_5, 1); -lean_inc(x_32); -x_33 = l_Lean_Syntax_getId(x_11); -lean_dec(x_11); -lean_inc(x_1); -x_34 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_32); -lean_ctor_set(x_34, 3, x_2); -lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_18); -x_35 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_31); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_unsigned_to_nat(1u); -x_38 = l_Lean_Syntax_getArg(x_1, x_37); -lean_dec(x_1); -x_39 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2; -x_40 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_36); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_38); -return x_40; -} -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("completion"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabCompletion"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCompletion), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabHole(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_10 = 0; -x_11 = lean_box(0); -lean_inc(x_5); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -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_Lean_Expr_mvarId_x21(x_13); -x_16 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_15, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_5); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_13); -return x_16; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -lean_object* l_Lean_Elab_Term_elabHole___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_elabHole(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_4); -lean_dec(x_3); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabHole"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHole___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabHole(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_apply_2(x_3, x_4, x_5); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(x_1, x_2, 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_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg), 10, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("synthetic hole has already been defined with an incompatible local context"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("synthetic hole has already beend defined and delayed assigned with an incompatible local context"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("synthetic hole has already been defined and assigned to value incompatible with the current context"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSyntheticHole___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabSyntheticHole___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabSyntheticHole(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_173; lean_object* x_174; uint8_t x_175; -x_173 = lean_unsigned_to_nat(1u); -x_174 = l_Lean_Syntax_getArg(x_1, x_173); -x_175 = l_Lean_Syntax_isIdent(x_174); -if (x_175 == 0) -{ -lean_object* x_176; -lean_dec(x_174); -x_176 = lean_box(0); -x_10 = x_176; -goto block_172; -} -else -{ -lean_object* x_177; -x_177 = l_Lean_Syntax_getId(x_174); -lean_dec(x_174); -x_10 = x_177; -goto block_172; -} -block_172: -{ -uint8_t x_11; -x_11 = l_Lean_Name_isAnonymous(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_st_ref_get(x_8, x_9); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_6, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_10); -x_18 = l_Lean_MetavarContext_findUserName_x3f(x_17, x_10); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_dec(x_17); -x_19 = 2; -lean_inc(x_5); -x_20 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_19, x_10, x_5, x_6, x_7, x_8, x_16); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Expr_mvarId_x21(x_21); -x_24 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_23, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -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_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set(x_24, 0, x_21); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_21); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_18, 0); -lean_inc(x_29); -lean_dec(x_18); -lean_inc(x_29); -x_30 = l_Lean_mkMVar(x_29); -x_31 = l_Lean_Elab_Term_getMVarDecl(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -x_35 = lean_ctor_get(x_5, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -x_37 = l_Lean_Elab_Term_instInhabitedState___closed__1; -lean_inc(x_35); -lean_inc(x_36); -x_38 = l_Lean_LocalContext_isSubPrefixOf(x_36, x_35, x_37); -if (x_38 == 0) -{ -lean_object* x_39; -lean_free_object(x_31); -lean_dec(x_30); -lean_inc(x_17); -x_39 = l_Lean_MetavarContext_getExprAssignment_x3f(x_17, x_29); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -lean_dec(x_33); -x_40 = l_Lean_MetavarContext_isDelayedAssigned(x_17, x_29); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = l_Lean_LocalContext_isSubPrefixOf(x_35, x_36, x_37); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_42 = l_Lean_Elab_Term_elabSyntheticHole___closed__2; -x_43 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_34); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_43; -} -else -{ -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; uint8_t x_56; -x_44 = 2; -lean_inc(x_5); -x_45 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_44, x_10, x_5, x_6, x_7, x_8, x_34); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Expr_mvarId_x21(x_46); -x_49 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_48, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_47); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_get(x_8, x_50); -lean_dec(x_8); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_st_ref_take(x_6, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = !lean_is_exclusive(x_54); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = lean_ctor_get(x_54, 0); -lean_inc(x_46); -x_58 = l_Lean_MetavarContext_assignExpr(x_57, x_29, x_46); -lean_ctor_set(x_54, 0, x_58); -x_59 = lean_st_ref_set(x_6, x_54, x_55); -lean_dec(x_6); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_59, 0); -lean_dec(x_61); -lean_ctor_set(x_59, 0, x_46); -return x_59; -} -else -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_59, 1); -lean_inc(x_62); -lean_dec(x_59); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_46); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -else -{ -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; -x_64 = lean_ctor_get(x_54, 0); -x_65 = lean_ctor_get(x_54, 1); -x_66 = lean_ctor_get(x_54, 2); -x_67 = lean_ctor_get(x_54, 3); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_54); -lean_inc(x_46); -x_68 = l_Lean_MetavarContext_assignExpr(x_64, x_29, x_46); -x_69 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_65); -lean_ctor_set(x_69, 2, x_66); -lean_ctor_set(x_69, 3, x_67); -x_70 = lean_st_ref_set(x_6, x_69, x_55); -lean_dec(x_6); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_72 = x_70; -} else { - lean_dec_ref(x_70); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_46); -lean_ctor_set(x_73, 1, x_71); -return x_73; -} -} -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_74 = l_Lean_Elab_Term_elabSyntheticHole___closed__4; -x_75 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_34); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_76 = lean_ctor_get(x_39, 0); -lean_inc(x_76); -lean_dec(x_39); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_77 = l_Lean_Meta_instantiateMVars(x_76, x_5, x_6, x_7, x_8, x_34); -if (lean_obj_tag(x_77) == 0) -{ -uint8_t x_78; -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -x_81 = l_Lean_MetavarContext_isWellFormed(x_17, x_35, x_79); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_free_object(x_77); -x_82 = lean_ctor_get(x_33, 4); -lean_inc(x_82); -lean_dec(x_33); -x_83 = l_Lean_indentExpr(x_79); -x_84 = l_Lean_Elab_Term_elabSyntheticHole___closed__6; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); -lean_closure_set(x_88, 0, x_87); -x_89 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_36, x_82, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_80); -return x_89; -} -else -{ -lean_dec(x_36); -lean_dec(x_33); -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_77; -} -} -else -{ -lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = lean_ctor_get(x_77, 0); -x_91 = lean_ctor_get(x_77, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_77); -lean_inc(x_90); -x_92 = l_Lean_MetavarContext_isWellFormed(x_17, x_35, x_90); -if (x_92 == 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; -x_93 = lean_ctor_get(x_33, 4); -lean_inc(x_93); -lean_dec(x_33); -x_94 = l_Lean_indentExpr(x_90); -x_95 = l_Lean_Elab_Term_elabSyntheticHole___closed__6; -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_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___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 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); -lean_closure_set(x_99, 0, x_98); -x_100 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_36, x_93, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_91); -return x_100; -} -else -{ -lean_object* x_101; -lean_dec(x_36); -lean_dec(x_33); -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_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_90); -lean_ctor_set(x_101, 1, x_91); -return x_101; -} -} -} -else -{ -uint8_t x_102; -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_33); -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); -x_102 = !lean_is_exclusive(x_77); -if (x_102 == 0) -{ -return x_77; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_77, 0); -x_104 = lean_ctor_get(x_77, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_77); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -} -else -{ -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_29); -lean_dec(x_17); -lean_dec(x_10); -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); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_106 = lean_ctor_get(x_31, 0); -x_107 = lean_ctor_get(x_31, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_31); -x_108 = lean_ctor_get(x_5, 1); -lean_inc(x_108); -x_109 = lean_ctor_get(x_106, 1); -lean_inc(x_109); -x_110 = l_Lean_Elab_Term_instInhabitedState___closed__1; -lean_inc(x_108); -lean_inc(x_109); -x_111 = l_Lean_LocalContext_isSubPrefixOf(x_109, x_108, x_110); -if (x_111 == 0) -{ -lean_object* x_112; -lean_dec(x_30); -lean_inc(x_17); -x_112 = l_Lean_MetavarContext_getExprAssignment_x3f(x_17, x_29); -if (lean_obj_tag(x_112) == 0) -{ -uint8_t x_113; -lean_dec(x_106); -x_113 = l_Lean_MetavarContext_isDelayedAssigned(x_17, x_29); -if (x_113 == 0) -{ -uint8_t x_114; -x_114 = l_Lean_LocalContext_isSubPrefixOf(x_108, x_109, x_110); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_115 = l_Lean_Elab_Term_elabSyntheticHole___closed__2; -x_116 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_107); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_116; -} -else -{ -uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_117 = 2; -lean_inc(x_5); -x_118 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_117, x_10, x_5, x_6, x_7, x_8, x_107); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = l_Lean_Expr_mvarId_x21(x_119); -x_122 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_121, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_120); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_st_ref_get(x_8, x_123); -lean_dec(x_8); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_126 = lean_st_ref_take(x_6, x_125); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_127, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_127, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_127, 2); -lean_inc(x_131); -x_132 = lean_ctor_get(x_127, 3); -lean_inc(x_132); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - lean_ctor_release(x_127, 2); - lean_ctor_release(x_127, 3); - x_133 = x_127; -} else { - lean_dec_ref(x_127); - x_133 = lean_box(0); -} -lean_inc(x_119); -x_134 = l_Lean_MetavarContext_assignExpr(x_129, x_29, x_119); -if (lean_is_scalar(x_133)) { - x_135 = lean_alloc_ctor(0, 4, 0); -} else { - x_135 = x_133; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_130); -lean_ctor_set(x_135, 2, x_131); -lean_ctor_set(x_135, 3, x_132); -x_136 = lean_st_ref_set(x_6, x_135, x_128); -lean_dec(x_6); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_138 = x_136; -} else { - lean_dec_ref(x_136); - x_138 = lean_box(0); -} -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_138; -} -lean_ctor_set(x_139, 0, x_119); -lean_ctor_set(x_139, 1, x_137); -return x_139; -} -} -else -{ -lean_object* x_140; lean_object* x_141; -lean_dec(x_109); -lean_dec(x_108); -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_140 = l_Lean_Elab_Term_elabSyntheticHole___closed__4; -x_141 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_107); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_141; -} -} -else -{ -lean_object* x_142; lean_object* x_143; -lean_dec(x_29); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_142 = lean_ctor_get(x_112, 0); -lean_inc(x_142); -lean_dec(x_112); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_143 = l_Lean_Meta_instantiateMVars(x_142, x_5, x_6, x_7, x_8, x_107); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -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_143); - x_146 = lean_box(0); -} -lean_inc(x_144); -x_147 = l_Lean_MetavarContext_isWellFormed(x_17, x_108, x_144); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_146); -x_148 = lean_ctor_get(x_106, 4); -lean_inc(x_148); -lean_dec(x_106); -x_149 = l_Lean_indentExpr(x_144); -x_150 = l_Lean_Elab_Term_elabSyntheticHole___closed__6; -x_151 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_153 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -x_154 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1___boxed), 8, 1); -lean_closure_set(x_154, 0, x_153); -x_155 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(x_109, x_148, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_145); -return x_155; -} -else -{ -lean_object* x_156; -lean_dec(x_109); -lean_dec(x_106); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_is_scalar(x_146)) { - x_156 = lean_alloc_ctor(0, 2, 0); -} else { - x_156 = x_146; -} -lean_ctor_set(x_156, 0, x_144); -lean_ctor_set(x_156, 1, x_145); -return x_156; -} -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_109); -lean_dec(x_108); -lean_dec(x_106); -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); -x_157 = lean_ctor_get(x_143, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_143, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - x_159 = x_143; -} else { - lean_dec_ref(x_143); - x_159 = lean_box(0); -} -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); -} else { - x_160 = x_159; -} -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; -} -} -} -else -{ -lean_object* x_161; -lean_dec(x_109); -lean_dec(x_108); -lean_dec(x_106); -lean_dec(x_29); -lean_dec(x_17); -lean_dec(x_10); -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_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_30); -lean_ctor_set(x_161, 1, x_107); -return x_161; -} -} -} -} -else -{ -uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_162 = 2; -lean_inc(x_5); -x_163 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_2, x_162, x_10, x_5, x_6, x_7, x_8, x_9); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_166 = l_Lean_Expr_mvarId_x21(x_164); -x_167 = l_Lean_Elab_Term_registerMVarErrorHoleInfo(x_166, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_165); -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_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) -{ -lean_object* x_169; -x_169 = lean_ctor_get(x_167, 0); -lean_dec(x_169); -lean_ctor_set(x_167, 0, x_164); -return x_167; -} -else -{ -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_167, 1); -lean_inc(x_170); -lean_dec(x_167); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_164); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabSyntheticHole"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSyntheticHole), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar(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; 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; uint8_t x_25; -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_1); -x_11 = 2; -x_12 = lean_box(0); -lean_inc(x_5); -x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_10, x_11, x_12, x_5, x_6, x_7, x_8, x_9); -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 = l_Lean_Expr_mvarId_x21(x_14); -x_17 = lean_ctor_get(x_7, 3); -lean_inc(x_17); -x_18 = l_Lean_Elab_Term_getDeclName_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_15); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_saveContext(x_3, x_4, x_5, x_6, x_7, x_8, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_2); -lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Elab_Term_registerSyntheticMVar(x_17, x_16, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -lean_dec(x_7); -lean_dec(x_5); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set(x_24, 0, x_14); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_14); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar___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_Term_0__Lean_Elab_Term_mkTacticMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabByTactic___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid 'by' tactic, expected type has not been provided"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabByTactic___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabByTactic___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_Lean_Elab_Term_elabByTactic___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabByTactic___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabByTactic(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: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_1); -x_10 = l_Lean_Elab_Term_elabByTactic___closed__3; -x_11 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -lean_dec(x_5); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_2, 0); -lean_inc(x_12); -lean_dec(x_2); -x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -return x_13; -} -} -} -lean_object* l_Lean_Elab_Term_elabByTactic___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_elabByTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabByTactic"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabByTactic___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabNoImplicitLambda(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 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_12 = lean_box(0); -x_13 = 1; -x_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_14; -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_2); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_2, 0); -x_17 = l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(x_16); -lean_ctor_set(x_2, 0, x_17); -x_18 = 1; -x_19 = l_Lean_Elab_Term_elabTerm(x_11, x_2, x_18, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_2, 0); -lean_inc(x_20); -lean_dec(x_2); -x_21 = l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = 1; -x_24 = l_Lean_Elab_Term_elabTerm(x_11, x_22, x_23, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_24; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabNoImplicitLambda___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_elabNoImplicitLambda(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabNoImplicitLambda"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNoImplicitLambda___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -44404,7 +40643,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_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; x_2 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; -x_3 = lean_unsigned_to_nat(1498u); +x_3 = lean_unsigned_to_nat(1393u); x_4 = lean_unsigned_to_nat(31u); x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -45440,6 +41679,11 @@ x_14 = l_List_map___at_Lean_Elab_Term_resolveId_x3f___spec__3(x_13); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); x_15 = lean_box(0); @@ -45464,56 +41708,110 @@ lean_inc(x_18); lean_dec(x_14); x_19 = lean_box(0); x_20 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_18, x_19, 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_7); +lean_dec(x_6); lean_dec(x_5); return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_21 = lean_ctor_get(x_14, 0); lean_inc(x_21); lean_dec(x_14); x_22 = lean_box(0); x_23 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_21); x_24 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_22, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; 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 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_21, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_25); return x_27; } +else +{ +uint8_t x_28; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) +{ +return x_24; } else { -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_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +else +{ +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_dec(x_17); lean_dec(x_2); -x_28 = l_Lean_stringToMessageData(x_3); -x_29 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); -x_34 = l_Lean_MessageData_ofList(x_33); -lean_dec(x_33); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_38; +x_32 = l_Lean_stringToMessageData(x_3); +x_33 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); +x_38 = l_Lean_MessageData_ofList(x_37); +lean_dec(x_37); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_41, 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_7); +lean_dec(x_6); +return x_42; } } } @@ -45544,8 +41842,6 @@ x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); x_18 = l_Lean_Elab_Term_resolveId_x3f___lambda__2(x_3, x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -lean_dec(x_8); -lean_dec(x_6); return x_18; } else @@ -45555,8 +41851,6 @@ x_19 = lean_ctor_get(x_15, 1); lean_inc(x_19); lean_dec(x_15); x_20 = l_Lean_Elab_Term_resolveId_x3f___lambda__2(x_3, x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -lean_dec(x_8); -lean_dec(x_6); return x_20; } } @@ -45566,8 +41860,11 @@ lean_object* x_21; lean_object* x_22; lean_dec(x_1); x_21 = l_Lean_Elab_Term_resolveName_x27___closed__2; x_22 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_21, 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); return x_22; } } @@ -45607,11 +41904,6 @@ uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_1); lean_dec(x_1); x_13 = l_Lean_Elab_Term_resolveId_x3f___lambda__2(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_3); return x_13; } @@ -45623,6963 +41915,10 @@ uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_3); lean_dec(x_3); x_12 = l_Lean_Elab_Term_resolveId_x3f(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); lean_dec(x_2); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabBadCDot___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: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Elab_Term_elabBadCDot___rarg___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBadCDot___rarg___boxed), 7, 0); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_elabBadCDot___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: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Term_elabBadCDot___rarg(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_8; -} -} -lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Term_elabBadCDot(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("cdot"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabBadCDot"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBadCDot___boxed), 2, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ill-formed syntax"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___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) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabStrLit(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_Syntax_isStrLit_x3f(x_1); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_mkStrLit(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_9); -return x_14; -} -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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_8; -} -} -lean_object* l_Lean_Elab_Term_elabStrLit___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_elabStrLit(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_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("strLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabStrLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabStrLit___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_9 = 1; -x_10 = lean_box(0); -lean_inc(x_4); -x_11 = l_Lean_Meta_mkFreshTypeMVar(x_9, x_10, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_1) == 0) -{ -uint8_t x_12; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_11, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -lean_dec(x_1); -lean_inc(x_16); -x_19 = l_Lean_Meta_isExprDefEq(x_18, x_16, x_4, x_5, x_6, x_7, x_17); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_16); -return x_19; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_16); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_16); -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -return x_19; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_19, 0); -x_26 = lean_ctor_get(x_19, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_19); -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; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor___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_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabNumLit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNumLit_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___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) { -_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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("OfNat"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ofNat"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2; -x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_elabNumLit___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_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_11 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -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); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_12); -x_14 = l_Lean_Meta_getDecLevel(x_12, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -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_Elab_Term_elabNumLit___lambda__1___closed__2; -lean_inc(x_18); -x_20 = l_Lean_mkConst(x_19, x_18); -x_21 = l_Lean_mkNatLit(x_3); -lean_inc(x_21); -lean_inc(x_12); -x_22 = l_Lean_mkAppB(x_20, x_12, x_21); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_23 = l_Lean_Elab_Term_mkInstMVar(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -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 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4; -x_27 = l_Lean_mkConst(x_26, x_18); -lean_inc(x_24); -x_28 = l_Lean_mkApp3(x_27, x_12, x_21, x_24); -x_29 = l_Lean_Expr_mvarId_x21(x_24); -lean_dec(x_24); -lean_inc(x_28); -x_30 = l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(x_29, x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_28); -return x_30; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_28); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -else -{ -uint8_t x_35; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) -{ -return x_23; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 0); -x_37 = lean_ctor_get(x_23, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_23); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_39 = !lean_is_exclusive(x_14); -if (x_39 == 0) -{ -return x_14; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_14, 0); -x_41 = lean_ctor_get(x_14, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_14); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -uint8_t x_43; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_43 = !lean_is_exclusive(x_11); -if (x_43 == 0) -{ -return x_11; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_11, 0); -x_45 = lean_ctor_get(x_11, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_11); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabNumLit(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_Lean_numLitKind; -x_11 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_10, x_1); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; uint8_t x_13; -lean_dec(x_2); -lean_dec(x_1); -x_12 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(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); -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(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_11, 0); -lean_inc(x_17); -lean_dec(x_11); -x_18 = l_Lean_Elab_Term_elabNumLit___lambda__1(x_2, x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_18; -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1(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_8; -} -} -lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_elabNumLit___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); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_elabNumLit___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_elabNumLit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("numLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabNumLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabNumLit___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabRawNatLit(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; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_numLitKind; -x_13 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_12, x_11); -lean_dec(x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; -x_14 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_3); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_mkNatLit(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -} -lean_object* l_Lean_Elab_Term_elabRawNatLit___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_elabRawNatLit(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_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("rawNatLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabRawNatLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRawNatLit___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabScientificLit_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_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_apply_3(x_3, x_8, x_9, x_10); -return x_11; -} -} -} -lean_object* l_Lean_Elab_Term_elabScientificLit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabScientificLit_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("OfScientific"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ofScientific"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabScientificLit___closed__2; -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Bool"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("false"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabScientificLit___closed__6; -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__8; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("true"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabScientificLit___closed__6; -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabScientificLit___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabScientificLit___closed__11; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_elabScientificLit(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_Syntax_isScientificLit_x3f(x_1); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -lean_dec(x_2); -x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_18); -x_20 = l_Lean_Meta_getDecLevel(x_18, x_5, x_6, x_7, x_8, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_Term_elabScientificLit___closed__2; -lean_inc(x_24); -x_26 = l_Lean_mkConst(x_25, x_24); -lean_inc(x_18); -x_27 = l_Lean_mkApp(x_26, x_18); -x_28 = l_Lean_Elab_Term_mkInstMVar(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_30 = lean_ctor_get(x_28, 0); -x_31 = l_Lean_Elab_Term_elabScientificLit___closed__4; -x_32 = l_Lean_mkConst(x_31, x_24); -x_33 = l_Lean_mkNatLit(x_14); -x_34 = l_Lean_mkNatLit(x_16); -x_35 = lean_unbox(x_15); -lean_dec(x_15); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = l_Lean_Elab_Term_elabScientificLit___closed__9; -x_37 = l_Lean_mkApp5(x_32, x_18, x_30, x_33, x_36, x_34); -lean_ctor_set(x_28, 0, x_37); -return x_28; -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = l_Lean_Elab_Term_elabScientificLit___closed__12; -x_39 = l_Lean_mkApp5(x_32, x_18, x_30, x_33, x_38, x_34); -lean_ctor_set(x_28, 0, x_39); -return x_28; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_40 = lean_ctor_get(x_28, 0); -x_41 = lean_ctor_get(x_28, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_28); -x_42 = l_Lean_Elab_Term_elabScientificLit___closed__4; -x_43 = l_Lean_mkConst(x_42, x_24); -x_44 = l_Lean_mkNatLit(x_14); -x_45 = l_Lean_mkNatLit(x_16); -x_46 = lean_unbox(x_15); -lean_dec(x_15); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = l_Lean_Elab_Term_elabScientificLit___closed__9; -x_48 = l_Lean_mkApp5(x_43, x_18, x_40, x_44, x_47, x_45); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_41); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = l_Lean_Elab_Term_elabScientificLit___closed__12; -x_51 = l_Lean_mkApp5(x_43, x_18, x_40, x_44, x_50, x_45); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_41); -return x_52; -} -} -} -else -{ -uint8_t x_53; -lean_dec(x_24); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -x_53 = !lean_is_exclusive(x_28); -if (x_53 == 0) -{ -return x_28; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_28, 0); -x_55 = lean_ctor_get(x_28, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_28); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -uint8_t x_57; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_57 = !lean_is_exclusive(x_20); -if (x_57 == 0) -{ -return x_20; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_20, 0); -x_59 = lean_ctor_get(x_20, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_20); -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; -} -} -} -else -{ -uint8_t x_61; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_61 = !lean_is_exclusive(x_17); -if (x_61 == 0) -{ -return x_17; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_17, 0); -x_63 = lean_ctor_get(x_17, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_17); -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_Elab_Term_elabScientificLit___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_elabScientificLit(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_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("scientificLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabScientificLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabScientificLit___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabCharLit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCharLit_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Char"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabCharLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabCharLit___closed__2; -x_2 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabCharLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabCharLit___closed__3; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_elabCharLit(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_Syntax_isCharLit_x3f(x_1); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -x_11 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -else -{ -lean_object* x_12; uint32_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_3); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_unbox_uint32(x_12); -lean_dec(x_12); -x_14 = lean_uint32_to_nat(x_13); -x_15 = l_Lean_mkNatLit(x_14); -x_16 = l_Lean_Elab_Term_elabCharLit___closed__4; -x_17 = l_Lean_mkApp(x_16, x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_9); -return x_18; -} -} -} -lean_object* l_Lean_Elab_Term_elabCharLit___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_elabCharLit(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_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("charLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabCharLit"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCharLit___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabQuotedName(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; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNameLit_x3f(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_3); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Name_toExprAux(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_9); -return x_16; -} -} -} -lean_object* l_Lean_Elab_Term_elabQuotedName___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_elabQuotedName(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_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("quotedName"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabQuotedName"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabQuotedName___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_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_box(0); -x_10 = l_Lean_mkConst(x_1, x_9); -x_11 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_11, 0, x_10); -x_12 = l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2; -x_13 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__6; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_16; -} -} -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_List_map___at_Lean_resolveGlobalConst___spec__2(x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -} -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -lean_inc(x_6); -lean_inc(x_1); -x_9 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_box(0); -x_13 = l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(x_10, x_12); -x_14 = l_List_isEmpty___rarg(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_1); -x_15 = lean_box(0); -x_16 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -lean_dec(x_6); -lean_dec(x_2); -return x_16; -} -else -{ -lean_object* x_17; uint8_t x_18; -lean_dec(x_13); -x_17 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -lean_dec(x_6); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ambiguous identifier '"); -return x_1; -} -} -static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("', possible interpretations: "); -return x_1; -} -} -lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -lean_inc(x_6); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(x_1, x_2, x_3, 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) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_box(0); -x_13 = l_Lean_mkConst(x_1, x_12); -x_14 = lean_expr_dbg_to_string(x_13); -lean_dec(x_13); -x_15 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; -x_16 = lean_string_append(x_15, x_14); -lean_dec(x_14); -x_17 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; -x_18 = lean_string_append(x_16, x_17); -x_19 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_12, x_10); -x_20 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_19); -x_21 = lean_string_append(x_18, x_20); -lean_dec(x_20); -x_22 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_23 = lean_string_append(x_21, x_22); -x_24 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -lean_dec(x_6); -return x_26; -} -else -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_10, 1); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_9); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_9, 0); -lean_dec(x_29); -x_30 = lean_ctor_get(x_10, 0); -lean_inc(x_30); -lean_dec(x_10); -lean_ctor_set(x_9, 0, x_30); -return x_9; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_9, 1); -lean_inc(x_31); -lean_dec(x_9); -x_32 = lean_ctor_get(x_10, 0); -lean_inc(x_32); -lean_dec(x_10); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_27); -x_34 = lean_ctor_get(x_9, 1); -lean_inc(x_34); -lean_dec(x_9); -x_35 = lean_box(0); -x_36 = l_Lean_mkConst(x_1, x_35); -x_37 = lean_expr_dbg_to_string(x_36); -lean_dec(x_36); -x_38 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; -x_39 = lean_string_append(x_38, x_37); -lean_dec(x_37); -x_40 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; -x_41 = lean_string_append(x_39, x_40); -x_42 = l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(x_35, x_10); -x_43 = l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(x_42); -x_44 = lean_string_append(x_41, x_43); -lean_dec(x_43); -x_45 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_46 = lean_string_append(x_44, x_45); -x_47 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -lean_dec(x_6); -return x_49; -} -} -} -else -{ -uint8_t x_50; -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_50 = !lean_is_exclusive(x_9); -if (x_50 == 0) -{ -return x_9; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_9, 0); -x_52 = lean_ctor_get(x_9, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_9); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -lean_inc(x_1); -x_9 = l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_ConstantInfo_levelParams(x_11); -lean_dec(x_11); -x_13 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_12); -x_14 = l_Lean_mkConst(x_1, x_13); -lean_ctor_set(x_9, 0, x_14); -return x_9; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_9, 0); -x_16 = lean_ctor_get(x_9, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_9); -x_17 = l_Lean_ConstantInfo_levelParams(x_15); -lean_dec(x_15); -x_18 = l_List_map___at_Lean_mkConstWithLevelParams___spec__1(x_17); -x_19 = l_Lean_mkConst(x_1, 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_16); -return x_20; -} -} -else -{ -uint8_t x_21; -lean_dec(x_1); -x_21 = !lean_is_exclusive(x_9); -if (x_21 == 0) -{ -return x_9; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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; -lean_inc(x_8); -lean_inc(x_4); -x_11 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -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_st_ref_get(x_9, x_13); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_st_ref_get(x_5, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 5); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -lean_dec(x_18); -if (x_19 == 0) -{ -uint8_t x_20; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_16, 0); -lean_dec(x_21); -lean_ctor_set(x_16, 0, x_12); -return x_16; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_dec(x_16); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_12); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_dec(x_16); -lean_inc(x_4); -lean_inc(x_12); -x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); -if (lean_obj_tag(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; uint8_t x_34; -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 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_1); -x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_26); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); -lean_dec(x_8); -lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -lean_ctor_set(x_33, 0, x_12); -return x_33; -} -else -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_12); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -else -{ -uint8_t x_38; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_25); -if (x_38 == 0) -{ -return x_25; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_25, 0); -x_40 = lean_ctor_get(x_25, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_25); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) -{ -return x_11; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_11); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabDoubleQuotedName(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; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNameLit_x3f(x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -lean_dec(x_11); -x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_box(0); -x_16 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(x_11, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -x_19 = l_Lean_Name_toExprAux(x_18); -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_16); -x_22 = l_Lean_Name_toExprAux(x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -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; -} -} -} -} -} -lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___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_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_11; -} -} -lean_object* l_Lean_Elab_Term_elabDoubleQuotedName___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_elabDoubleQuotedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doubleQuotedName"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabDoubleQuotedName"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabDoubleQuotedName___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabTypeOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = lean_box(0); -x_13 = 1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_14 = l_Lean_Elab_Term_elabTerm(x_11, x_12, x_13, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Meta_inferType(x_15, x_5, x_6, x_7, x_8, x_16); -return x_17; -} -else -{ -uint8_t x_18; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_14); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabTypeOf___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_elabTypeOf(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeOf"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabTypeOf"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTypeOf___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_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_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureTypeOf_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf(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; -x_10 = lean_unsigned_to_nat(2u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isStrLit_x3f(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); -return x_13; -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_12, 0); -x_16 = lean_unsigned_to_nat(1u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = lean_box(0); -x_19 = 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_20 = l_Lean_Elab_Term_elabTerm(x_17, x_18, x_19, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_23 = l_Lean_Meta_inferType(x_21, x_5, x_6, x_7, x_8, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -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_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_1, x_26); -lean_ctor_set(x_12, 0, x_24); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_15); -x_29 = l_Lean_Elab_Term_elabTermEnsuringType(x_27, x_12, x_19, x_19, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -return x_29; -} -else -{ -uint8_t x_30; -lean_free_object(x_12); -lean_dec(x_15); -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_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) -{ -return x_23; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -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; -} -} -} -else -{ -uint8_t x_34; -lean_free_object(x_12); -lean_dec(x_15); -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_34 = !lean_is_exclusive(x_20); -if (x_34 == 0) -{ -return x_20; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_20, 0); -x_36 = lean_ctor_get(x_20, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_20); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; -x_38 = lean_ctor_get(x_12, 0); -lean_inc(x_38); -lean_dec(x_12); -x_39 = lean_unsigned_to_nat(1u); -x_40 = l_Lean_Syntax_getArg(x_1, x_39); -x_41 = lean_box(0); -x_42 = 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_43 = l_Lean_Elab_Term_elabTerm(x_40, x_41, x_42, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_46 = l_Lean_Meta_inferType(x_44, x_5, x_6, x_7, x_8, x_45); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -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_unsigned_to_nat(3u); -x_50 = l_Lean_Syntax_getArg(x_1, x_49); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_47); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_38); -x_53 = l_Lean_Elab_Term_elabTermEnsuringType(x_50, x_51, x_42, x_42, x_52, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_38); -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_54 = lean_ctor_get(x_46, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_46, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_56 = x_46; -} else { - lean_dec_ref(x_46); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(1, 2, 0); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_54); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -lean_dec(x_38); -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_58 = lean_ctor_get(x_43, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_43, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_60 = x_43; -} else { - lean_dec_ref(x_43); - x_60 = lean_box(0); -} -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(1, 2, 0); -} else { - x_61 = x_60; -} -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_59); -return x_61; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___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_elabEnsureTypeOf(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ensureTypeOf"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabEnsureTypeOf"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureTypeOf___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_elabEnsureExpectedType(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; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isStrLit_x3f(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -lean_dec(x_2); -x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(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); -return x_13; -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(2u); -x_16 = l_Lean_Syntax_getArg(x_1, x_15); -x_17 = 1; -x_18 = l_Lean_Elab_Term_elabTermEnsuringType(x_16, x_2, x_17, x_17, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_unsigned_to_nat(2u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_19); -x_23 = 1; -x_24 = l_Lean_Elab_Term_elabTermEnsuringType(x_21, x_2, x_23, x_23, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_24; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabEnsureExpectedType___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_elabEnsureExpectedType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ensureExpectedType"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabEnsureExpectedType"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabEnsureExpectedType___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(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_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_4); -x_14 = lean_array_uget(x_1, x_3); -x_15 = lean_st_ref_take(x_10, x_11); -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_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_16, 0); -x_20 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_14, x_19); -lean_dec(x_14); -lean_ctor_set(x_16, 0, x_20); -x_21 = lean_st_ref_set(x_10, x_16, x_17); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = 1; -x_24 = x_3 + x_23; -x_25 = lean_box(0); -x_3 = x_24; -x_4 = x_25; -x_11 = x_22; -goto _start; -} -else -{ -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; size_t x_35; size_t x_36; lean_object* x_37; -x_27 = lean_ctor_get(x_16, 0); -x_28 = lean_ctor_get(x_16, 1); -x_29 = lean_ctor_get(x_16, 2); -x_30 = lean_ctor_get(x_16, 3); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_16); -x_31 = l_Lean_ScopedEnvExtension_pushScope___rarg(x_14, x_27); -lean_dec(x_14); -x_32 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_28); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_30); -x_33 = lean_st_ref_set(x_10, x_32, x_17); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = 1; -x_36 = x_3 + x_35; -x_37 = lean_box(0); -x_3 = x_36; -x_4 = x_37; -x_11 = x_34; -goto _start; -} -} -} -} -lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___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) { -_start: -{ -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; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_scopedEnvExtensionsRef; -x_11 = lean_st_ref_get(x_10, x_9); -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_array_get_size(x_12); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = 0; -x_17 = lean_box(0); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(x_12, x_15, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_13); -lean_dec(x_12); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -static lean_object* _init_l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown namespace '"); -return x_1; -} -} -lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___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; 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; uint8_t x_23; -x_10 = lean_st_ref_get(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_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_st_ref_get(x_8, x_12); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_st_ref_get(x_2, x_15); -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); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_st_ref_get(x_8, x_18); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_2, x_21); -x_23 = !lean_is_exclusive(x_22); -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 = lean_ctor_get(x_22, 1); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_1); -x_27 = l_Lean_ResolveName_resolveNamespace_x3f(x_13, x_19, x_26, x_1); -lean_dec(x_26); -lean_dec(x_19); -lean_dec(x_13); -if (lean_obj_tag(x_27) == 0) -{ -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_free_object(x_22); -x_28 = 1; -x_29 = l_Lean_Name_toString(x_1, x_28); -x_30 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; -x_31 = lean_string_append(x_30, x_29); -lean_dec(x_29); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__5; -x_33 = lean_string_append(x_31, x_32); -x_34 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -return x_36; -} -else -{ -lean_object* x_37; -lean_dec(x_1); -x_37 = lean_ctor_get(x_27, 0); -lean_inc(x_37); -lean_dec(x_27); -lean_ctor_set(x_22, 0, x_37); -return x_22; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_ctor_get(x_38, 0); -lean_inc(x_40); -lean_dec(x_38); -lean_inc(x_1); -x_41 = l_Lean_ResolveName_resolveNamespace_x3f(x_13, x_19, x_40, x_1); -lean_dec(x_40); -lean_dec(x_19); -lean_dec(x_13); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_42 = 1; -x_43 = l_Lean_Name_toString(x_1, x_42); -x_44 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1; -x_45 = lean_string_append(x_44, x_43); -lean_dec(x_43); -x_46 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__5; -x_47 = lean_string_append(x_45, x_46); -x_48 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_49, 0, x_48); -x_50 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_39); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; -lean_dec(x_1); -x_51 = lean_ctor_get(x_41, 0); -lean_inc(x_51); -lean_dec(x_41); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_39); -return x_52; -} -} -} -} -lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; uint8_t x_293; uint8_t x_294; -x_293 = 2; -x_294 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(x_3, x_293); -if (x_294 == 0) -{ -lean_object* x_295; -x_295 = lean_box(0); -x_12 = x_295; -goto block_292; -} -else -{ -uint8_t x_296; -lean_inc(x_2); -x_296 = l_Lean_MessageData_hasSyntheticSorry(x_2); -if (x_296 == 0) -{ -lean_object* x_297; -x_297 = lean_box(0); -x_12 = x_297; -goto block_292; -} -else -{ -lean_object* x_298; lean_object* x_299; -lean_dec(x_2); -x_298 = lean_box(0); -x_299 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_11); -return x_299; -} -} -block_292: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_12); -x_13 = lean_ctor_get(x_9, 3); -x_14 = l_Lean_replaceRef(x_1, x_13); -x_15 = 0; -x_16 = l_Lean_Syntax_getPos_x3f(x_14, x_15); -x_17 = l_Lean_Syntax_getTailPos_x3f(x_14, x_15); -lean_dec(x_14); -if (lean_obj_tag(x_16) == 0) -{ -if (lean_obj_tag(x_17) == 0) -{ -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; uint8_t x_37; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_ctor_get(x_5, 1); -x_20 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_unsigned_to_nat(0u); -x_24 = l_Lean_FileMap_toPosition(x_19, x_23); -lean_inc(x_24); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -lean_inc(x_27); -lean_inc(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_21); -x_30 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_18); -x_31 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_31, 0, x_18); -lean_ctor_set(x_31, 1, x_24); -lean_ctor_set(x_31, 2, x_25); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*5, x_3); -x_32 = lean_st_ref_get(x_10, x_22); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_st_ref_take(x_6, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = !lean_is_exclusive(x_35); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_35, 3); -x_39 = l_Std_PersistentArray_push___rarg(x_38, x_31); -lean_ctor_set(x_35, 3, x_39); -x_40 = lean_st_ref_set(x_6, x_35, x_36); -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_40, 0); -lean_dec(x_42); -x_43 = lean_box(0); -lean_ctor_set(x_40, 0, x_43); -return x_40; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -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_44); -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; 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_47 = lean_ctor_get(x_35, 0); -x_48 = lean_ctor_get(x_35, 1); -x_49 = lean_ctor_get(x_35, 2); -x_50 = lean_ctor_get(x_35, 3); -x_51 = lean_ctor_get(x_35, 4); -x_52 = lean_ctor_get(x_35, 5); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_35); -x_53 = l_Std_PersistentArray_push___rarg(x_50, x_31); -x_54 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_54, 0, x_47); -lean_ctor_set(x_54, 1, x_48); -lean_ctor_set(x_54, 2, x_49); -lean_ctor_set(x_54, 3, x_53); -lean_ctor_set(x_54, 4, x_51); -lean_ctor_set(x_54, 5, x_52); -x_55 = lean_st_ref_set(x_6, x_54, x_36); -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; -} -} -else -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_17); -if (x_60 == 0) -{ -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; uint8_t x_81; -x_61 = lean_ctor_get(x_17, 0); -x_62 = lean_ctor_get(x_5, 0); -x_63 = lean_ctor_get(x_5, 1); -x_64 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_unsigned_to_nat(0u); -x_68 = l_Lean_FileMap_toPosition(x_63, x_67); -x_69 = l_Lean_FileMap_toPosition(x_63, x_61); -lean_dec(x_61); -lean_ctor_set(x_17, 0, x_69); -x_70 = lean_ctor_get(x_9, 4); -x_71 = lean_ctor_get(x_9, 5); -lean_inc(x_71); -lean_inc(x_70); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_65); -x_74 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_62); -x_75 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_75, 0, x_62); -lean_ctor_set(x_75, 1, x_68); -lean_ctor_set(x_75, 2, x_17); -lean_ctor_set(x_75, 3, x_74); -lean_ctor_set(x_75, 4, x_73); -lean_ctor_set_uint8(x_75, sizeof(void*)*5, x_3); -x_76 = lean_st_ref_get(x_10, x_66); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = lean_st_ref_take(x_6, 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_is_exclusive(x_79); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_82 = lean_ctor_get(x_79, 3); -x_83 = l_Std_PersistentArray_push___rarg(x_82, x_75); -lean_ctor_set(x_79, 3, x_83); -x_84 = lean_st_ref_set(x_6, x_79, x_80); -x_85 = !lean_is_exclusive(x_84); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_84, 0); -lean_dec(x_86); -x_87 = lean_box(0); -lean_ctor_set(x_84, 0, x_87); -return x_84; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_84, 1); -lean_inc(x_88); -lean_dec(x_84); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -return x_90; -} -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_91 = lean_ctor_get(x_79, 0); -x_92 = lean_ctor_get(x_79, 1); -x_93 = lean_ctor_get(x_79, 2); -x_94 = lean_ctor_get(x_79, 3); -x_95 = lean_ctor_get(x_79, 4); -x_96 = lean_ctor_get(x_79, 5); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_79); -x_97 = l_Std_PersistentArray_push___rarg(x_94, x_75); -x_98 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_98, 0, x_91); -lean_ctor_set(x_98, 1, x_92); -lean_ctor_set(x_98, 2, x_93); -lean_ctor_set(x_98, 3, x_97); -lean_ctor_set(x_98, 4, x_95); -lean_ctor_set(x_98, 5, x_96); -x_99 = lean_st_ref_set(x_6, x_98, x_80); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_101 = x_99; -} else { - lean_dec_ref(x_99); - x_101 = lean_box(0); -} -x_102 = lean_box(0); -if (lean_is_scalar(x_101)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_101; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; -} -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_104 = lean_ctor_get(x_17, 0); -lean_inc(x_104); -lean_dec(x_17); -x_105 = lean_ctor_get(x_5, 0); -x_106 = lean_ctor_get(x_5, 1); -x_107 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_unsigned_to_nat(0u); -x_111 = l_Lean_FileMap_toPosition(x_106, x_110); -x_112 = l_Lean_FileMap_toPosition(x_106, x_104); -lean_dec(x_104); -x_113 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_113, 0, x_112); -x_114 = lean_ctor_get(x_9, 4); -x_115 = lean_ctor_get(x_9, 5); -lean_inc(x_115); -lean_inc(x_114); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_108); -x_118 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_105); -x_119 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_119, 0, x_105); -lean_ctor_set(x_119, 1, x_111); -lean_ctor_set(x_119, 2, x_113); -lean_ctor_set(x_119, 3, x_118); -lean_ctor_set(x_119, 4, x_117); -lean_ctor_set_uint8(x_119, sizeof(void*)*5, x_3); -x_120 = lean_st_ref_get(x_10, x_109); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_122 = lean_st_ref_take(x_6, x_121); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_ctor_get(x_123, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_123, 2); -lean_inc(x_127); -x_128 = lean_ctor_get(x_123, 3); -lean_inc(x_128); -x_129 = lean_ctor_get(x_123, 4); -lean_inc(x_129); -x_130 = lean_ctor_get(x_123, 5); -lean_inc(x_130); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - lean_ctor_release(x_123, 2); - lean_ctor_release(x_123, 3); - lean_ctor_release(x_123, 4); - lean_ctor_release(x_123, 5); - x_131 = x_123; -} else { - lean_dec_ref(x_123); - x_131 = lean_box(0); -} -x_132 = l_Std_PersistentArray_push___rarg(x_128, x_119); -if (lean_is_scalar(x_131)) { - x_133 = lean_alloc_ctor(0, 6, 0); -} else { - x_133 = x_131; -} -lean_ctor_set(x_133, 0, x_125); -lean_ctor_set(x_133, 1, x_126); -lean_ctor_set(x_133, 2, x_127); -lean_ctor_set(x_133, 3, x_132); -lean_ctor_set(x_133, 4, x_129); -lean_ctor_set(x_133, 5, x_130); -x_134 = lean_st_ref_set(x_6, x_133, x_124); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_136 = x_134; -} else { - lean_dec_ref(x_134); - x_136 = lean_box(0); -} -x_137 = lean_box(0); -if (lean_is_scalar(x_136)) { - x_138 = lean_alloc_ctor(0, 2, 0); -} else { - x_138 = x_136; -} -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_135); -return x_138; -} -} -} -else -{ -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_139; -x_139 = !lean_is_exclusive(x_16); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_140 = lean_ctor_get(x_16, 0); -x_141 = lean_ctor_get(x_5, 0); -x_142 = lean_ctor_get(x_5, 1); -x_143 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = l_Lean_FileMap_toPosition(x_142, x_140); -lean_dec(x_140); -lean_inc(x_146); -lean_ctor_set(x_16, 0, x_146); -x_147 = lean_ctor_get(x_9, 4); -x_148 = lean_ctor_get(x_9, 5); -lean_inc(x_148); -lean_inc(x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_144); -x_151 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_141); -x_152 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_152, 0, x_141); -lean_ctor_set(x_152, 1, x_146); -lean_ctor_set(x_152, 2, x_16); -lean_ctor_set(x_152, 3, x_151); -lean_ctor_set(x_152, 4, x_150); -lean_ctor_set_uint8(x_152, sizeof(void*)*5, x_3); -x_153 = lean_st_ref_get(x_10, x_145); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_st_ref_take(x_6, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = !lean_is_exclusive(x_156); -if (x_158 == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_159 = lean_ctor_get(x_156, 3); -x_160 = l_Std_PersistentArray_push___rarg(x_159, x_152); -lean_ctor_set(x_156, 3, x_160); -x_161 = lean_st_ref_set(x_6, x_156, x_157); -x_162 = !lean_is_exclusive(x_161); -if (x_162 == 0) -{ -lean_object* x_163; lean_object* x_164; -x_163 = lean_ctor_get(x_161, 0); -lean_dec(x_163); -x_164 = lean_box(0); -lean_ctor_set(x_161, 0, x_164); -return x_161; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_161, 1); -lean_inc(x_165); -lean_dec(x_161); -x_166 = lean_box(0); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_165); -return x_167; -} -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_168 = lean_ctor_get(x_156, 0); -x_169 = lean_ctor_get(x_156, 1); -x_170 = lean_ctor_get(x_156, 2); -x_171 = lean_ctor_get(x_156, 3); -x_172 = lean_ctor_get(x_156, 4); -x_173 = lean_ctor_get(x_156, 5); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_156); -x_174 = l_Std_PersistentArray_push___rarg(x_171, x_152); -x_175 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_175, 0, x_168); -lean_ctor_set(x_175, 1, x_169); -lean_ctor_set(x_175, 2, x_170); -lean_ctor_set(x_175, 3, x_174); -lean_ctor_set(x_175, 4, x_172); -lean_ctor_set(x_175, 5, x_173); -x_176 = lean_st_ref_set(x_6, x_175, x_157); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_178 = x_176; -} else { - lean_dec_ref(x_176); - x_178 = lean_box(0); -} -x_179 = lean_box(0); -if (lean_is_scalar(x_178)) { - x_180 = lean_alloc_ctor(0, 2, 0); -} else { - x_180 = x_178; -} -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_177); -return x_180; -} -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_181 = lean_ctor_get(x_16, 0); -lean_inc(x_181); -lean_dec(x_16); -x_182 = lean_ctor_get(x_5, 0); -x_183 = lean_ctor_get(x_5, 1); -x_184 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = l_Lean_FileMap_toPosition(x_183, x_181); -lean_dec(x_181); -lean_inc(x_187); -x_188 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_188, 0, x_187); -x_189 = lean_ctor_get(x_9, 4); -x_190 = lean_ctor_get(x_9, 5); -lean_inc(x_190); -lean_inc(x_189); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_185); -x_193 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_182); -x_194 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_194, 0, x_182); -lean_ctor_set(x_194, 1, x_187); -lean_ctor_set(x_194, 2, x_188); -lean_ctor_set(x_194, 3, x_193); -lean_ctor_set(x_194, 4, x_192); -lean_ctor_set_uint8(x_194, sizeof(void*)*5, x_3); -x_195 = lean_st_ref_get(x_10, x_186); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_st_ref_take(x_6, x_196); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); -lean_dec(x_197); -x_200 = lean_ctor_get(x_198, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_198, 1); -lean_inc(x_201); -x_202 = lean_ctor_get(x_198, 2); -lean_inc(x_202); -x_203 = lean_ctor_get(x_198, 3); -lean_inc(x_203); -x_204 = lean_ctor_get(x_198, 4); -lean_inc(x_204); -x_205 = lean_ctor_get(x_198, 5); -lean_inc(x_205); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - lean_ctor_release(x_198, 2); - lean_ctor_release(x_198, 3); - lean_ctor_release(x_198, 4); - lean_ctor_release(x_198, 5); - x_206 = x_198; -} else { - lean_dec_ref(x_198); - x_206 = lean_box(0); -} -x_207 = l_Std_PersistentArray_push___rarg(x_203, x_194); -if (lean_is_scalar(x_206)) { - x_208 = lean_alloc_ctor(0, 6, 0); -} else { - x_208 = x_206; -} -lean_ctor_set(x_208, 0, x_200); -lean_ctor_set(x_208, 1, x_201); -lean_ctor_set(x_208, 2, x_202); -lean_ctor_set(x_208, 3, x_207); -lean_ctor_set(x_208, 4, x_204); -lean_ctor_set(x_208, 5, x_205); -x_209 = lean_st_ref_set(x_6, x_208, x_199); -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_211 = x_209; -} else { - lean_dec_ref(x_209); - x_211 = lean_box(0); -} -x_212 = lean_box(0); -if (lean_is_scalar(x_211)) { - x_213 = lean_alloc_ctor(0, 2, 0); -} else { - x_213 = x_211; -} -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_210); -return x_213; -} -} -else -{ -lean_object* x_214; uint8_t x_215; -x_214 = lean_ctor_get(x_16, 0); -lean_inc(x_214); -lean_dec(x_16); -x_215 = !lean_is_exclusive(x_17); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; -x_216 = lean_ctor_get(x_17, 0); -x_217 = lean_ctor_get(x_5, 0); -x_218 = lean_ctor_get(x_5, 1); -x_219 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = l_Lean_FileMap_toPosition(x_218, x_214); -lean_dec(x_214); -x_223 = l_Lean_FileMap_toPosition(x_218, x_216); -lean_dec(x_216); -lean_ctor_set(x_17, 0, x_223); -x_224 = lean_ctor_get(x_9, 4); -x_225 = lean_ctor_get(x_9, 5); -lean_inc(x_225); -lean_inc(x_224); -x_226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_220); -x_228 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_217); -x_229 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_229, 0, x_217); -lean_ctor_set(x_229, 1, x_222); -lean_ctor_set(x_229, 2, x_17); -lean_ctor_set(x_229, 3, x_228); -lean_ctor_set(x_229, 4, x_227); -lean_ctor_set_uint8(x_229, sizeof(void*)*5, x_3); -x_230 = lean_st_ref_get(x_10, x_221); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -lean_dec(x_230); -x_232 = lean_st_ref_take(x_6, x_231); -x_233 = lean_ctor_get(x_232, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_232, 1); -lean_inc(x_234); -lean_dec(x_232); -x_235 = !lean_is_exclusive(x_233); -if (x_235 == 0) -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; -x_236 = lean_ctor_get(x_233, 3); -x_237 = l_Std_PersistentArray_push___rarg(x_236, x_229); -lean_ctor_set(x_233, 3, x_237); -x_238 = lean_st_ref_set(x_6, x_233, x_234); -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 -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_245 = lean_ctor_get(x_233, 0); -x_246 = lean_ctor_get(x_233, 1); -x_247 = lean_ctor_get(x_233, 2); -x_248 = lean_ctor_get(x_233, 3); -x_249 = lean_ctor_get(x_233, 4); -x_250 = lean_ctor_get(x_233, 5); -lean_inc(x_250); -lean_inc(x_249); -lean_inc(x_248); -lean_inc(x_247); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_233); -x_251 = l_Std_PersistentArray_push___rarg(x_248, x_229); -x_252 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_252, 0, x_245); -lean_ctor_set(x_252, 1, x_246); -lean_ctor_set(x_252, 2, x_247); -lean_ctor_set(x_252, 3, x_251); -lean_ctor_set(x_252, 4, x_249); -lean_ctor_set(x_252, 5, x_250); -x_253 = lean_st_ref_set(x_6, x_252, x_234); -x_254 = lean_ctor_get(x_253, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - x_255 = x_253; -} else { - lean_dec_ref(x_253); - x_255 = lean_box(0); -} -x_256 = lean_box(0); -if (lean_is_scalar(x_255)) { - x_257 = lean_alloc_ctor(0, 2, 0); -} else { - x_257 = x_255; -} -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_254); -return x_257; -} -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_258 = lean_ctor_get(x_17, 0); -lean_inc(x_258); -lean_dec(x_17); -x_259 = lean_ctor_get(x_5, 0); -x_260 = lean_ctor_get(x_5, 1); -x_261 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = l_Lean_FileMap_toPosition(x_260, x_214); -lean_dec(x_214); -x_265 = l_Lean_FileMap_toPosition(x_260, x_258); -lean_dec(x_258); -x_266 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_266, 0, x_265); -x_267 = lean_ctor_get(x_9, 4); -x_268 = lean_ctor_get(x_9, 5); -lean_inc(x_268); -lean_inc(x_267); -x_269 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_269, 0, x_267); -lean_ctor_set(x_269, 1, x_268); -x_270 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_262); -x_271 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_inc(x_259); -x_272 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_272, 0, x_259); -lean_ctor_set(x_272, 1, x_264); -lean_ctor_set(x_272, 2, x_266); -lean_ctor_set(x_272, 3, x_271); -lean_ctor_set(x_272, 4, x_270); -lean_ctor_set_uint8(x_272, sizeof(void*)*5, x_3); -x_273 = lean_st_ref_get(x_10, x_263); -x_274 = lean_ctor_get(x_273, 1); -lean_inc(x_274); -lean_dec(x_273); -x_275 = lean_st_ref_take(x_6, x_274); -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_278 = lean_ctor_get(x_276, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_276, 1); -lean_inc(x_279); -x_280 = lean_ctor_get(x_276, 2); -lean_inc(x_280); -x_281 = lean_ctor_get(x_276, 3); -lean_inc(x_281); -x_282 = lean_ctor_get(x_276, 4); -lean_inc(x_282); -x_283 = lean_ctor_get(x_276, 5); -lean_inc(x_283); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - lean_ctor_release(x_276, 2); - lean_ctor_release(x_276, 3); - lean_ctor_release(x_276, 4); - lean_ctor_release(x_276, 5); - x_284 = x_276; -} else { - lean_dec_ref(x_276); - x_284 = lean_box(0); -} -x_285 = l_Std_PersistentArray_push___rarg(x_281, x_272); -if (lean_is_scalar(x_284)) { - x_286 = lean_alloc_ctor(0, 6, 0); -} else { - x_286 = x_284; -} -lean_ctor_set(x_286, 0, x_278); -lean_ctor_set(x_286, 1, x_279); -lean_ctor_set(x_286, 2, x_280); -lean_ctor_set(x_286, 3, x_285); -lean_ctor_set(x_286, 4, x_282); -lean_ctor_set(x_286, 5, x_283); -x_287 = lean_st_ref_set(x_6, x_286, x_277); -x_288 = lean_ctor_get(x_287, 1); -lean_inc(x_288); -if (lean_is_exclusive(x_287)) { - lean_ctor_release(x_287, 0); - lean_ctor_release(x_287, 1); - x_289 = x_287; -} else { - lean_dec_ref(x_287); - x_289 = lean_box(0); -} -x_290 = lean_box(0); -if (lean_is_scalar(x_289)) { - x_291 = lean_alloc_ctor(0, 2, 0); -} else { - x_291 = x_289; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_288); -return x_291; -} -} -} -} -} -} -lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unknown declaration '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_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; lean_object* x_16; -x_10 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_10, 0, x_1); -x_11 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2; -x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__6; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = 2; -x_16 = l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_16; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(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; uint8_t x_19; -x_16 = lean_ctor_get(x_13, 0); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_13, 0, x_17); -x_18 = lean_st_ref_set(x_2, x_13, x_14); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = lean_box(0); -lean_ctor_set(x_18, 0, x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -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_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; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_25); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_st_ref_set(x_2, x_28, x_14); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: -{ -uint8_t x_14; -x_14 = x_4 < x_3; -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -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; uint8_t x_28; -lean_dec(x_5); -x_16 = lean_array_uget(x_2, x_4); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Syntax_getArg(x_16, x_17); -x_19 = l_Lean_Syntax_getId(x_18); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(2u); -x_21 = l_Lean_Syntax_getArg(x_16, x_20); -x_22 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -x_23 = l_Lean_Name_append(x_1, x_19); -x_24 = lean_st_ref_get(x_12, x_13); -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_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Environment_contains(x_27, x_23); -if (x_28 == 0) -{ -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; size_t x_41; size_t x_42; lean_object* x_43; -lean_dec(x_22); -x_29 = lean_ctor_get(x_11, 0); -x_30 = lean_ctor_get(x_11, 1); -x_31 = lean_ctor_get(x_11, 2); -x_32 = lean_ctor_get(x_11, 3); -x_33 = lean_ctor_get(x_11, 4); -x_34 = lean_ctor_get(x_11, 5); -x_35 = lean_ctor_get(x_11, 6); -x_36 = lean_ctor_get(x_11, 7); -x_37 = l_Lean_replaceRef(x_16, x_32); -lean_dec(x_16); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -x_38 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_38, 0, x_29); -lean_ctor_set(x_38, 1, x_30); -lean_ctor_set(x_38, 2, x_31); -lean_ctor_set(x_38, 3, x_37); -lean_ctor_set(x_38, 4, x_33); -lean_ctor_set(x_38, 5, x_34); -lean_ctor_set(x_38, 6, x_35); -lean_ctor_set(x_38, 7, x_36); -x_39 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_23, x_6, x_7, x_8, x_9, x_10, x_38, x_12, x_26); -lean_dec(x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = 1; -x_42 = x_4 + x_41; -x_43 = lean_box(0); -x_4 = x_42; -x_5 = x_43; -x_13 = x_40; -goto _start; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; -lean_dec(x_16); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_22); -lean_ctor_set(x_45, 1, x_23); -x_46 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_45, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = 1; -x_49 = x_4 + x_48; -x_50 = lean_box(0); -x_4 = x_49; -x_5 = x_50; -x_13 = x_47; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getId(x_11); -lean_dec(x_11); -x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -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_unsigned_to_nat(2u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = l_Lean_Syntax_getSepArgs(x_17); -lean_dec(x_17); -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); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(x_14, x_18, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_18); -lean_dec(x_14); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_22); -return x_23; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_13); -if (x_28 == 0) -{ -return x_13; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_13, 0); -x_30 = lean_ctor_get(x_13, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_13); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: -{ -uint8_t x_14; -x_14 = x_4 < x_3; -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_16 = lean_array_uget(x_2, x_4); -x_17 = l_Lean_Syntax_getId(x_16); -lean_inc(x_17); -x_18 = l_Lean_Name_append(x_1, x_17); -x_19 = lean_st_ref_get(x_12, x_13); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Environment_contains(x_22, x_18); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; -lean_dec(x_17); -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -x_26 = lean_ctor_get(x_11, 2); -x_27 = lean_ctor_get(x_11, 3); -x_28 = lean_ctor_get(x_11, 4); -x_29 = lean_ctor_get(x_11, 5); -x_30 = lean_ctor_get(x_11, 6); -x_31 = lean_ctor_get(x_11, 7); -x_32 = l_Lean_replaceRef(x_16, x_27); -lean_dec(x_16); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -x_33 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_33, 0, x_24); -lean_ctor_set(x_33, 1, x_25); -lean_ctor_set(x_33, 2, x_26); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_33, 4, x_28); -lean_ctor_set(x_33, 5, x_29); -lean_ctor_set(x_33, 6, x_30); -lean_ctor_set(x_33, 7, x_31); -x_34 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_18, x_6, x_7, x_8, x_9, x_10, x_33, x_12, x_21); -lean_dec(x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = 1; -x_37 = x_4 + x_36; -x_4 = x_37; -x_13 = x_35; -goto _start; -} -else -{ -lean_object* x_39; size_t x_40; size_t x_41; -lean_dec(x_18); -lean_dec(x_16); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_17); -lean_ctor_set(x_39, 1, x_5); -x_40 = 1; -x_41 = x_4 + x_40; -x_4 = x_41; -x_5 = x_39; -x_13 = x_21; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(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; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getId(x_11); -lean_dec(x_11); -x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -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_box(0); -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_Syntax_getArgs(x_18); -lean_dec(x_18); -x_20 = lean_array_get_size(x_19); -x_21 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_22 = 0; -x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(x_14, x_19, x_21, x_22, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_19); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_14); -lean_ctor_set(x_26, 1, x_24); -x_27 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -return x_27; -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_13); -if (x_28 == 0) -{ -return x_13; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_13, 0); -x_30 = lean_ctor_get(x_13, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_13); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: -{ -uint8_t x_14; -x_14 = x_4 < x_3; -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -lean_dec(x_5); -x_16 = lean_array_uget(x_2, x_4); -x_17 = l_Lean_Syntax_getId(x_16); -lean_inc(x_17); -x_18 = l_Lean_Name_append(x_1, x_17); -x_19 = lean_st_ref_get(x_12, x_13); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Environment_contains(x_22, x_18); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; -lean_dec(x_17); -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -x_26 = lean_ctor_get(x_11, 2); -x_27 = lean_ctor_get(x_11, 3); -x_28 = lean_ctor_get(x_11, 4); -x_29 = lean_ctor_get(x_11, 5); -x_30 = lean_ctor_get(x_11, 6); -x_31 = lean_ctor_get(x_11, 7); -x_32 = l_Lean_replaceRef(x_16, x_27); -lean_dec(x_16); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -x_33 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_33, 0, x_24); -lean_ctor_set(x_33, 1, x_25); -lean_ctor_set(x_33, 2, x_26); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_33, 4, x_28); -lean_ctor_set(x_33, 5, x_29); -lean_ctor_set(x_33, 6, x_30); -lean_ctor_set(x_33, 7, x_31); -x_34 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(x_18, x_6, x_7, x_8, x_9, x_10, x_33, x_12, x_21); -lean_dec(x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = 1; -x_37 = x_4 + x_36; -x_38 = lean_box(0); -x_4 = x_37; -x_5 = x_38; -x_13 = x_35; -goto _start; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; -lean_dec(x_16); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_17); -lean_ctor_set(x_40, 1, x_18); -x_41 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = 1; -x_44 = x_4 + x_43; -x_45 = lean_box(0); -x_4 = x_44; -x_5 = x_45; -x_13 = x_42; -goto _start; -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(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; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getId(x_11); -lean_dec(x_11); -x_13 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -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_unsigned_to_nat(2u); -x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_18 = l_Lean_Syntax_getArgs(x_17); -lean_dec(x_17); -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); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(x_14, x_18, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_18); -lean_dec(x_14); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_22); -return x_23; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_13); -if (x_28 == 0) -{ -return x_13; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_13, 0); -x_30 = lean_ctor_get(x_13, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_13); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: -{ -uint8_t x_14; -x_14 = x_4 < x_3; -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_5); -x_16 = lean_array_uget(x_2, x_4); -x_17 = lean_st_ref_take(x_12, x_13); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_1); -x_22 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_16, x_21, x_1); -lean_ctor_set(x_18, 0, x_22); -x_23 = lean_st_ref_set(x_12, x_18, x_19); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = 1; -x_26 = x_4 + x_25; -x_27 = lean_box(0); -x_4 = x_26; -x_5 = x_27; -x_13 = x_24; -goto _start; -} -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; size_t x_37; size_t x_38; lean_object* x_39; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -x_31 = lean_ctor_get(x_18, 2); -x_32 = lean_ctor_get(x_18, 3); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_18); -lean_inc(x_1); -x_33 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_16, x_29, x_1); -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_32); -x_35 = lean_st_ref_set(x_12, x_34, x_19); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = 1; -x_38 = x_4 + x_37; -x_39 = lean_box(0); -x_4 = x_38; -x_5 = x_39; -x_13 = x_36; -goto _start; -} -} -} -} -lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(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; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -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 = l_Lean_scopedEnvExtensionsRef; -x_13 = lean_st_ref_get(x_12, x_11); -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_array_get_size(x_14); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -x_19 = lean_box(0); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(x_1, x_14, x_17, x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_14); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(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, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = x_3 < x_2; -if (x_13 == 0) -{ -lean_object* x_14; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_4); -x_15 = lean_array_uget(x_1, x_3); -x_16 = l_Lean_Syntax_getId(x_15); -lean_dec(x_15); -x_17 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) -{ -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; size_t x_26; size_t x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_box(0); -lean_inc(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = 1; -x_27 = x_3 + x_26; -x_28 = lean_box(0); -x_3 = x_27; -x_4 = x_28; -x_12 = x_25; -goto _start; -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) -{ -return x_17; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_17); -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; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(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; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getArgs(x_11); -lean_dec(x_11); -x_13 = lean_array_get_size(x_12); -x_14 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_15 = 0; -x_16 = lean_box(0); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(x_12, x_14, x_15, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_12); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_17); -if (x_22 == 0) -{ -return x_17; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_17, 0); -x_24 = lean_ctor_get(x_17, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_17); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -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_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed), 9, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Command"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__14; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openOnly"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("openHiding"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; -x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___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) { -_start: -{ -lean_object* x_9; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; -x_22 = lean_ctor_get(x_6, 5); -lean_inc(x_22); -x_23 = lean_ctor_get(x_6, 4); -lean_inc(x_23); -x_24 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1; -lean_inc(x_1); -x_25 = l_Lean_Syntax_getKind(x_1); -x_26 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5; -x_27 = lean_name_eq(x_25, x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_23); -if (x_27 == 0) -{ -uint8_t x_138; -x_138 = 0; -x_29 = x_138; -goto block_137; -} -else -{ -uint8_t x_139; -x_139 = 1; -x_29 = x_139; -goto block_137; -} -block_21: -{ -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -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) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -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; -} -} -} -block_137: -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_st_ref_get(x_7, x_8); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_st_mk_ref(x_28, x_31); -if (x_29 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7; -x_36 = lean_name_eq(x_25, x_35); -if (x_36 == 0) -{ -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9; -x_38 = lean_name_eq(x_25, x_37); -lean_dec(x_25); -if (x_38 == 0) -{ -lean_object* x_39; -x_39 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___spec__4(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -lean_dec(x_1); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -lean_inc(x_7); -lean_inc(x_33); -x_42 = lean_apply_9(x_24, x_40, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_41); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_st_ref_get(x_7, x_44); -lean_dec(x_7); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_get(x_33, x_46); -lean_dec(x_33); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_43); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_47, 0, x_50); -x_9 = x_47; -goto block_21; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = lean_ctor_get(x_47, 0); -x_52 = lean_ctor_get(x_47, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_47); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_43); -lean_ctor_set(x_53, 1, x_51); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_9 = x_54; -goto block_21; -} -} -else -{ -uint8_t x_55; -lean_dec(x_33); -lean_dec(x_7); -x_55 = !lean_is_exclusive(x_42); -if (x_55 == 0) -{ -x_9 = x_42; -goto block_21; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_42, 0); -x_57 = lean_ctor_get(x_42, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_42); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_9 = x_58; -goto block_21; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_33); -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_59 = !lean_is_exclusive(x_39); -if (x_59 == 0) -{ -x_9 = x_39; -goto block_21; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_39, 0); -x_61 = lean_ctor_get(x_39, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_39); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_9 = x_62; -goto block_21; -} -} -} -else -{ -lean_object* x_63; -x_63 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -lean_dec(x_1); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -lean_inc(x_7); -lean_inc(x_33); -x_66 = lean_apply_9(x_24, x_64, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_65); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_st_ref_get(x_7, x_68); -lean_dec(x_7); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_st_ref_get(x_33, x_70); -lean_dec(x_33); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_71, 0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_67); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_71, 0, x_74); -x_9 = x_71; -goto block_21; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get(x_71, 0); -x_76 = lean_ctor_get(x_71, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_71); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_67); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_9 = x_78; -goto block_21; -} -} -else -{ -uint8_t x_79; -lean_dec(x_33); -lean_dec(x_7); -x_79 = !lean_is_exclusive(x_66); -if (x_79 == 0) -{ -x_9 = x_66; -goto block_21; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_66, 0); -x_81 = lean_ctor_get(x_66, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_66); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_9 = x_82; -goto block_21; -} -} -} -else -{ -uint8_t x_83; -lean_dec(x_33); -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_83 = !lean_is_exclusive(x_63); -if (x_83 == 0) -{ -x_9 = x_63; -goto block_21; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_63, 0); -x_85 = lean_ctor_get(x_63, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_63); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_9 = x_86; -goto block_21; -} -} -} -} -else -{ -lean_object* x_87; -lean_dec(x_25); -x_87 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -lean_dec(x_1); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -lean_inc(x_7); -lean_inc(x_33); -x_90 = lean_apply_9(x_24, x_88, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_89); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_st_ref_get(x_7, x_92); -lean_dec(x_7); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_st_ref_get(x_33, x_94); -lean_dec(x_33); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_91); -lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_95, 0, x_98); -x_9 = x_95; -goto block_21; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_95, 0); -x_100 = lean_ctor_get(x_95, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_95); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_91); -lean_ctor_set(x_101, 1, x_99); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_9 = x_102; -goto block_21; -} -} -else -{ -uint8_t x_103; -lean_dec(x_33); -lean_dec(x_7); -x_103 = !lean_is_exclusive(x_90); -if (x_103 == 0) -{ -x_9 = x_90; -goto block_21; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_90, 0); -x_105 = lean_ctor_get(x_90, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_90); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -x_9 = x_106; -goto block_21; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_33); -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_107 = !lean_is_exclusive(x_87); -if (x_107 == 0) -{ -x_9 = x_87; -goto block_21; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_87, 0); -x_109 = lean_ctor_get(x_87, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_87); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_9 = x_110; -goto block_21; -} -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_25); -x_111 = lean_ctor_get(x_32, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_32, 1); -lean_inc(x_112); -lean_dec(x_32); -x_113 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(x_1, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_112); -lean_dec(x_1); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -lean_inc(x_7); -lean_inc(x_111); -x_116 = lean_apply_9(x_24, x_114, x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_115); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_117 = 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_st_ref_get(x_7, x_118); -lean_dec(x_7); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -lean_dec(x_119); -x_121 = lean_st_ref_get(x_111, x_120); -lean_dec(x_111); -x_122 = !lean_is_exclusive(x_121); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_121, 0); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_117); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set(x_121, 0, x_124); -x_9 = x_121; -goto block_21; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = lean_ctor_get(x_121, 0); -x_126 = lean_ctor_get(x_121, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_121); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_117); -lean_ctor_set(x_127, 1, x_125); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_9 = x_128; -goto block_21; -} -} -else -{ -uint8_t x_129; -lean_dec(x_111); -lean_dec(x_7); -x_129 = !lean_is_exclusive(x_116); -if (x_129 == 0) -{ -x_9 = x_116; -goto block_21; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_116, 0); -x_131 = lean_ctor_get(x_116, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_116); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_9 = x_132; -goto block_21; -} -} -} -else -{ -uint8_t x_133; -lean_dec(x_111); -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_133 = !lean_is_exclusive(x_113); -if (x_133 == 0) -{ -x_9 = x_113; -goto block_21; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_113, 0); -x_135 = lean_ctor_get(x_113, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_113); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_9 = x_136; -goto block_21; -} -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_4); -x_14 = lean_array_uget(x_1, x_3); -x_15 = lean_st_ref_take(x_10, x_11); -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_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_16, 0); -x_20 = l_Lean_ScopedEnvExtension_popScope___rarg(x_14, x_19); -lean_dec(x_14); -lean_ctor_set(x_16, 0, x_20); -x_21 = lean_st_ref_set(x_10, x_16, x_17); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = 1; -x_24 = x_3 + x_23; -x_25 = lean_box(0); -x_3 = x_24; -x_4 = x_25; -x_11 = x_22; -goto _start; -} -else -{ -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; size_t x_35; size_t x_36; lean_object* x_37; -x_27 = lean_ctor_get(x_16, 0); -x_28 = lean_ctor_get(x_16, 1); -x_29 = lean_ctor_get(x_16, 2); -x_30 = lean_ctor_get(x_16, 3); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_16); -x_31 = l_Lean_ScopedEnvExtension_popScope___rarg(x_14, x_27); -lean_dec(x_14); -x_32 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_28); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_30); -x_33 = lean_st_ref_set(x_10, x_32, x_17); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = 1; -x_36 = x_3 + x_35; -x_37 = lean_box(0); -x_3 = x_36; -x_4 = x_37; -x_11 = x_34; -goto _start; -} -} -} -} -lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_scopedEnvExtensionsRef; -x_11 = lean_st_ref_get(x_10, x_9); -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_array_get_size(x_12); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = 0; -x_17 = lean_box(0); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(x_12, x_15, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_13); -lean_dec(x_12); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -lean_object* l_Lean_Elab_Term_elabOpen(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 = l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -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_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(3u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = lean_ctor_get(x_7, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_7, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_7, 2); -lean_inc(x_21); -x_22 = lean_ctor_get(x_7, 3); -lean_inc(x_22); -x_23 = lean_ctor_get(x_7, 4); -lean_inc(x_23); -x_24 = lean_ctor_get(x_7, 6); -lean_inc(x_24); -x_25 = lean_ctor_get(x_7, 7); -lean_inc(x_25); -x_26 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_20); -lean_ctor_set(x_26, 2, x_21); -lean_ctor_set(x_26, 3, x_22); -lean_ctor_set(x_26, 4, x_23); -lean_ctor_set(x_26, 5, x_15); -lean_ctor_set(x_26, 6, x_24); -lean_ctor_set(x_26, 7, x_25); -x_27 = 1; -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_28 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_27, x_27, x_3, x_4, x_5, x_6, x_26, x_8, x_16); -if (lean_obj_tag(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_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_30); -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_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_29); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -lean_dec(x_28); -x_38 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_37); -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_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -lean_ctor_set_tag(x_38, 1); -lean_ctor_set(x_38, 0, x_36); -return x_38; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_2); -x_43 = lean_ctor_get(x_14, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_14, 1); -lean_inc(x_44); -lean_dec(x_14); -x_45 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_44); -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_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -lean_ctor_set_tag(x_45, 1); -lean_ctor_set(x_45, 0, x_43); -return x_45; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_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_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1(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); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__6(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_resolveNamespace___at_Lean_Elab_Term_elabOpen___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_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___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_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -lean_dec(x_3); -x_13 = l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(x_1, x_2, x_12, 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_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_13; -} -} -lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_2); -lean_dec(x_2); -x_12 = l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(x_1, x_11, 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_12; -} -} -lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10___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_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11___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: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__11(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Term_elabOpen___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); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13___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: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__13(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12___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_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15___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: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__15(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14___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_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Term_elabOpen___spec__14(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18___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: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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_6); -lean_dec(x_2); -return x_16; -} -} -lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17___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_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19___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: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); -lean_dec(x_5); -lean_dec(x_1); -return x_15; -} -} -lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16___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_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Term_elabOpen___spec__16(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_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21___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_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__21(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(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); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_elabOpen___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_elabOpen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("open"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabOpen"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabOpen___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___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) { -_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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -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_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___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; -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_12 = l_Lean_KVMap_insertCore(x_11, x_1, x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_10); -return x_13; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type mismatch at set_option"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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; lean_object* x_11; -x_10 = lean_ctor_get(x_7, 3); -lean_inc(x_10); -lean_inc(x_1); -x_11 = l_Lean_getOptionDecl(x_1, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_dec(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); -lean_dec(x_12); -x_15 = l_Lean_DataValue_sameCtor(x_14, x_2); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_2); -lean_dec(x_1); -x_16 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2; -x_17 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -lean_dec(x_7); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_box(0); -x_23 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1(x_1, x_2, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -lean_dec(x_3); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_11); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_11, 0); -x_26 = lean_io_error_to_string(x_25); -x_27 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_11, 0, x_29); -return x_11; -} -else -{ -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; -x_30 = lean_ctor_get(x_11, 0); -x_31 = lean_ctor_get(x_11, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_11); -x_32 = lean_io_error_to_string(x_30); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_10); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_31); -return x_36; -} -} -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected set_option value "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___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) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_Lean_Syntax_getId(x_1); -x_11 = lean_erase_macro_scopes(x_10); -x_12 = l_Lean_Syntax_isStrLit_x3f(x_2); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = l_Lean_numLitKind; -x_14 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_13, x_2); -if (lean_obj_tag(x_14) == 0) -{ -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); -x_16 = l_Lean_Elab_Term_elabScientificLit___closed__10; -x_17 = lean_string_dec_eq(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_Elab_Term_elabScientificLit___closed__7; -x_19 = lean_string_dec_eq(x_15, x_18); -lean_dec(x_15); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_11); -x_20 = lean_ctor_get(x_7, 3); -lean_inc(x_20); -x_21 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_21, 0, x_20); -x_22 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_2); -x_25 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_7); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_2); -x_30 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3; -x_31 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_15); -lean_dec(x_2); -x_32 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4; -x_33 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_11); -x_34 = lean_ctor_get(x_7, 3); -lean_inc(x_34); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_2); -x_39 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_37); -lean_dec(x_7); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_2); -x_44 = lean_ctor_get(x_14, 0); -lean_inc(x_44); -lean_dec(x_14); -x_45 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_46; -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_2); -x_47 = lean_ctor_get(x_12, 0); -lean_inc(x_47); -lean_dec(x_12); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3(x_11, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_49; -} -} -} -lean_object* l_Lean_Elab_Term_elabSetOption(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_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = lean_unsigned_to_nat(2u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -lean_inc(x_7); -lean_inc(x_3); -x_14 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(x_11, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(4u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = !lean_is_exclusive(x_7); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_7, 2); -lean_dec(x_20); -x_21 = lean_ctor_get(x_7, 0); -lean_dec(x_21); -x_22 = l_Lean_maxRecDepth; -x_23 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_15, x_22); -lean_ctor_set(x_7, 2, x_23); -lean_ctor_set(x_7, 0, x_15); -x_24 = 1; -x_25 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_24, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -return x_25; -} -else -{ -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; uint8_t x_35; lean_object* x_36; -x_26 = lean_ctor_get(x_7, 1); -x_27 = lean_ctor_get(x_7, 3); -x_28 = lean_ctor_get(x_7, 4); -x_29 = lean_ctor_get(x_7, 5); -x_30 = lean_ctor_get(x_7, 6); -x_31 = lean_ctor_get(x_7, 7); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_7); -x_32 = l_Lean_maxRecDepth; -x_33 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_15, x_32); -x_34 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_34, 0, x_15); -lean_ctor_set(x_34, 1, x_26); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -x_35 = 1; -x_36 = l_Lean_Elab_Term_elabTerm(x_18, x_2, x_35, x_35, x_3, x_4, x_5, x_6, x_34, x_8, x_16); -return x_36; -} -} -else -{ -uint8_t x_37; -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_is_exclusive(x_14); -if (x_37 == 0) -{ -return x_14; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_14, 0); -x_39 = lean_ctor_get(x_14, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_14); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___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_6); -lean_dec(x_5); -lean_dec(x_4); -return x_10; -} -} -lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Term_elabSetOption___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_elabSetOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("set_option"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__15; -x_2 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabSetOption"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabSetOption___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__1() { _start: { @@ -52840,178 +42179,59 @@ return x_2; lean_object* l_Lean_Elab_Term_TermElabM_run_x27___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) { _start: { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) +lean_object* x_9; +x_9 = l_Lean_Elab_Term_TermElabM_run___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -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 = lean_ctor_get(x_4, 0); -x_11 = l_Lean_Elab_Term_setElabConfig(x_10); -lean_ctor_set(x_4, 0, x_11); -x_12 = lean_st_ref_get(x_7, x_8); -x_13 = lean_ctor_get(x_12, 1); +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_mk_ref(x_3, x_13); -x_15 = lean_ctor_get(x_14, 0); +lean_dec(x_9); +x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_7); -lean_inc(x_15); -x_17 = lean_apply_7(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_16); -if (lean_obj_tag(x_17) == 0) +lean_dec(x_13); +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 { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_st_ref_get(x_7, x_19); -lean_dec(x_7); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_15, x_21); -lean_dec(x_15); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set(x_22, 0, x_18); -return x_22; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_18); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_dec(x_15); -lean_dec(x_7); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) -{ -return x_17; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_31 = lean_ctor_get(x_4, 0); -x_32 = lean_ctor_get(x_4, 1); -x_33 = lean_ctor_get(x_4, 2); -x_34 = lean_ctor_get(x_4, 3); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_4); -x_35 = l_Lean_Elab_Term_setElabConfig(x_31); -x_36 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_34); -x_37 = lean_st_ref_get(x_7, x_8); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_mk_ref(x_3, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -lean_inc(x_7); -lean_inc(x_40); -x_42 = lean_apply_7(x_1, x_2, x_40, x_36, x_5, x_6, x_7, x_41); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_st_ref_get(x_7, x_44); -lean_dec(x_7); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_get(x_40, x_46); -lean_dec(x_40); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_43); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_40); -lean_dec(x_7); -x_51 = lean_ctor_get(x_42, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_42, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_53 = x_42; -} else { - lean_dec_ref(x_42); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(1, 2, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_52); -return x_54; +lean_inc(x_18); +lean_dec(x_9); +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; } } } @@ -53066,712 +42286,477 @@ return x_1; lean_object* l_Lean_Elab_Term_TermElabM_toIO___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) { _start: { -lean_object* x_9; lean_object* x_65; -x_65 = lean_io_get_num_heartbeats(x_8); -if (lean_obj_tag(x_65) == 0) +lean_object* x_9; +x_9 = lean_io_get_num_heartbeats(x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = !lean_is_exclusive(x_2); -if (x_68 == 0) +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) { -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; uint8_t x_78; -x_69 = lean_ctor_get(x_2, 6); -lean_dec(x_69); -lean_ctor_set(x_2, 6, x_66); -x_70 = lean_st_mk_ref(x_3, x_67); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); +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; +x_13 = lean_ctor_get(x_2, 6); +lean_dec(x_13); +lean_ctor_set(x_2, 6, x_10); +x_14 = lean_st_mk_ref(x_3, x_11); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_get(x_15, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_st_mk_ref(x_5, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_15); +lean_inc(x_20); +x_22 = l_Lean_Elab_Term_TermElabM_run___rarg(x_1, x_6, x_7, x_4, x_20, x_2, x_15, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_get(x_15, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_get(x_20, x_26); +lean_dec(x_20); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_st_ref_get(x_15, x_29); +lean_dec(x_15); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_23); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_30, 0); +x_34 = lean_ctor_get(x_23, 0); +lean_ctor_set(x_23, 0, x_28); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_23); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_30, 0, x_36); +return x_30; +} +else +{ +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_37 = lean_ctor_get(x_30, 0); +x_38 = lean_ctor_get(x_23, 0); +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_23); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_28); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_30, 0, x_42); +return x_30; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_30, 0); +x_44 = lean_ctor_get(x_30, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_30); +x_45 = lean_ctor_get(x_23, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_23, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_47 = x_23; +} else { + lean_dec_ref(x_23); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_28); +lean_ctor_set(x_48, 1, x_46); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_43); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_45); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_44); +return x_51; +} +} +else +{ +lean_object* x_52; +lean_dec(x_20); +lean_dec(x_15); +x_52 = lean_ctor_get(x_22, 0); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_22, 1); +lean_inc(x_53); +lean_dec(x_22); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_MessageData_toString(x_54, x_53); +if (lean_obj_tag(x_55) == 0) +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set_tag(x_55, 1); +lean_ctor_set(x_55, 0, x_58); +return x_55; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +x_61 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_61, 0, x_59); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +return x_62; +} +} +else +{ +uint8_t x_63; +x_63 = !lean_is_exclusive(x_55); +if (x_63 == 0) +{ +return x_55; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_55, 0); +x_65 = lean_ctor_get(x_55, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_55); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +else +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_22); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_22, 0); +lean_dec(x_68); +x_69 = lean_ctor_get(x_52, 0); +lean_inc(x_69); +lean_dec(x_52); +x_70 = l_Nat_repr(x_69); +x_71 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; +x_72 = lean_string_append(x_71, x_70); lean_dec(x_70); -x_73 = lean_st_ref_get(x_71, x_72); -x_74 = lean_ctor_get(x_73, 1); +x_73 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_22, 0, x_73); +return x_22; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_74 = lean_ctor_get(x_22, 1); lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_mk_ref(x_5, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = !lean_is_exclusive(x_4); -if (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_84; lean_object* x_85; lean_object* x_86; -x_79 = lean_ctor_get(x_4, 0); -x_80 = l_Lean_Elab_Term_setElabConfig(x_79); -lean_ctor_set(x_4, 0, x_80); -x_81 = lean_st_ref_get(x_71, x_77); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_st_mk_ref(x_7, x_82); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -lean_inc(x_71); -lean_inc(x_76); -lean_inc(x_84); -x_86 = lean_apply_7(x_1, x_6, x_84, x_4, x_76, x_2, x_71, x_85); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_st_ref_get(x_71, x_88); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_st_ref_get(x_84, x_90); -lean_dec(x_84); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_87); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_st_ref_get(x_71, x_93); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_97 = lean_st_ref_get(x_76, x_96); +lean_dec(x_22); +x_75 = lean_ctor_get(x_52, 0); +lean_inc(x_75); +lean_dec(x_52); +x_76 = l_Nat_repr(x_75); +x_77 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; +x_78 = lean_string_append(x_77, x_76); lean_dec(x_76); +x_79 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_74); +return x_80; +} +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_81 = lean_ctor_get(x_2, 0); +x_82 = lean_ctor_get(x_2, 1); +x_83 = lean_ctor_get(x_2, 2); +x_84 = lean_ctor_get(x_2, 3); +x_85 = lean_ctor_get(x_2, 4); +x_86 = lean_ctor_get(x_2, 5); +x_87 = lean_ctor_get(x_2, 7); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_2); +x_88 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_88, 0, x_81); +lean_ctor_set(x_88, 1, x_82); +lean_ctor_set(x_88, 2, x_83); +lean_ctor_set(x_88, 3, x_84); +lean_ctor_set(x_88, 4, x_85); +lean_ctor_set(x_88, 5, x_86); +lean_ctor_set(x_88, 6, x_10); +lean_ctor_set(x_88, 7, x_87); +x_89 = lean_st_mk_ref(x_3, x_11); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_90, x_91); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_mk_ref(x_5, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +lean_inc(x_90); +lean_inc(x_95); +x_97 = l_Lean_Elab_Term_TermElabM_run___rarg(x_1, x_6, x_7, x_4, x_95, x_88, x_90, x_96); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = lean_st_ref_get(x_71, x_99); -lean_dec(x_71); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_98); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_94); -lean_ctor_set(x_104, 1, x_103); -lean_ctor_set(x_100, 0, x_104); -x_9 = x_100; -goto block_64; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_105 = lean_ctor_get(x_100, 0); -x_106 = lean_ctor_get(x_100, 1); -lean_inc(x_106); -lean_inc(x_105); +x_100 = lean_st_ref_get(x_90, x_99); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); lean_dec(x_100); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_98); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_94); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_106); -x_9 = x_109; -goto block_64; +x_102 = lean_st_ref_get(x_95, x_101); +lean_dec(x_95); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = lean_st_ref_get(x_90, x_104); +lean_dec(x_90); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); } -} -else -{ -lean_object* x_110; -lean_dec(x_84); -lean_dec(x_76); -lean_dec(x_71); -x_110 = lean_ctor_get(x_86, 0); +x_109 = lean_ctor_get(x_98, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_98, 1); lean_inc(x_110); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_86, 1); -lean_inc(x_111); -lean_dec(x_86); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_MessageData_toString(x_112, x_111); -if (lean_obj_tag(x_113) == 0) -{ -uint8_t x_114; -x_114 = !lean_is_exclusive(x_113); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_113, 0); -x_116 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set_tag(x_113, 1); -lean_ctor_set(x_113, 0, x_116); -x_9 = x_113; -goto block_64; +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_111 = x_98; +} else { + lean_dec_ref(x_98); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_103); +lean_ctor_set(x_112, 1, x_110); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_106); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_109); +lean_ctor_set(x_114, 1, x_113); +if (lean_is_scalar(x_108)) { + x_115 = lean_alloc_ctor(0, 2, 0); +} else { + x_115 = x_108; +} +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_107); +return x_115; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_113, 0); -x_118 = lean_ctor_get(x_113, 1); -lean_inc(x_118); +lean_object* x_116; +lean_dec(x_95); +lean_dec(x_90); +x_116 = lean_ctor_get(x_97, 0); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_97, 1); lean_inc(x_117); -lean_dec(x_113); -x_119 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_119, 0, x_117); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_9 = x_120; -goto block_64; +lean_dec(x_97); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = l_Lean_MessageData_toString(x_118, x_117); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +x_123 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_123, 0, x_120); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(1, 2, 0); +} else { + x_124 = x_122; + lean_ctor_set_tag(x_124, 1); +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_121); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_119, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_119, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_127 = x_119; +} else { + lean_dec_ref(x_119); + x_127 = lean_box(0); +} +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(1, 2, 0); +} else { + x_128 = x_127; +} +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_126); +return x_128; } } else { -uint8_t x_121; -x_121 = !lean_is_exclusive(x_113); -if (x_121 == 0) -{ -x_9 = x_113; -goto block_64; +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_129 = lean_ctor_get(x_97, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_130 = x_97; +} else { + lean_dec_ref(x_97); + x_130 = lean_box(0); } -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_113, 0); -x_123 = lean_ctor_get(x_113, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_113); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -x_9 = x_124; -goto block_64; +x_131 = lean_ctor_get(x_116, 0); +lean_inc(x_131); +lean_dec(x_116); +x_132 = l_Nat_repr(x_131); +x_133 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; +x_134 = lean_string_append(x_133, x_132); +lean_dec(x_132); +x_135 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_135, 0, x_134); +if (lean_is_scalar(x_130)) { + x_136 = lean_alloc_ctor(1, 2, 0); +} else { + x_136 = x_130; } -} -} -else -{ -uint8_t x_125; -x_125 = !lean_is_exclusive(x_86); -if (x_125 == 0) -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_126 = lean_ctor_get(x_86, 0); -lean_dec(x_126); -x_127 = lean_ctor_get(x_110, 0); -lean_inc(x_127); -lean_dec(x_110); -x_128 = l_Nat_repr(x_127); -x_129 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; -x_130 = lean_string_append(x_129, x_128); -lean_dec(x_128); -x_131 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_86, 0, x_131); -x_9 = x_86; -goto block_64; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_132 = lean_ctor_get(x_86, 1); -lean_inc(x_132); -lean_dec(x_86); -x_133 = lean_ctor_get(x_110, 0); -lean_inc(x_133); -lean_dec(x_110); -x_134 = l_Nat_repr(x_133); -x_135 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; -x_136 = lean_string_append(x_135, x_134); -lean_dec(x_134); -x_137 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_137, 0, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_132); -x_9 = x_138; -goto block_64; +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_129); +return x_136; } } } } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_139 = lean_ctor_get(x_4, 0); -x_140 = lean_ctor_get(x_4, 1); -x_141 = lean_ctor_get(x_4, 2); -x_142 = lean_ctor_get(x_4, 3); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_4); -x_143 = l_Lean_Elab_Term_setElabConfig(x_139); -x_144 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_140); -lean_ctor_set(x_144, 2, x_141); -lean_ctor_set(x_144, 3, x_142); -x_145 = lean_st_ref_get(x_71, x_77); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_st_mk_ref(x_7, x_146); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -lean_inc(x_71); -lean_inc(x_76); -lean_inc(x_148); -x_150 = lean_apply_7(x_1, x_6, x_148, x_144, x_76, x_2, x_71, x_149); -if (lean_obj_tag(x_150) == 0) -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_st_ref_get(x_71, x_152); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_st_ref_get(x_148, x_154); -lean_dec(x_148); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_158, 0, x_151); -lean_ctor_set(x_158, 1, x_156); -x_159 = lean_st_ref_get(x_71, x_157); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_161 = lean_st_ref_get(x_76, x_160); -lean_dec(x_76); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = lean_st_ref_get(x_71, x_163); -lean_dec(x_71); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_167 = x_164; -} else { - lean_dec_ref(x_164); - x_167 = lean_box(0); -} -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_162); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_158); -lean_ctor_set(x_169, 1, x_168); -if (lean_is_scalar(x_167)) { - x_170 = lean_alloc_ctor(0, 2, 0); -} else { - x_170 = x_167; -} -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_166); -x_9 = x_170; -goto block_64; -} -else -{ -lean_object* x_171; -lean_dec(x_148); -lean_dec(x_76); -lean_dec(x_71); -x_171 = lean_ctor_get(x_150, 0); -lean_inc(x_171); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_150, 1); -lean_inc(x_172); -lean_dec(x_150); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = l_Lean_MessageData_toString(x_173, x_172); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_177 = x_174; -} else { - lean_dec_ref(x_174); - x_177 = lean_box(0); -} -x_178 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_178, 0, x_175); -if (lean_is_scalar(x_177)) { - x_179 = lean_alloc_ctor(1, 2, 0); -} else { - x_179 = x_177; - lean_ctor_set_tag(x_179, 1); -} -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_176); -x_9 = x_179; -goto block_64; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_180 = lean_ctor_get(x_174, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_174, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_182 = x_174; -} else { - lean_dec_ref(x_174); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(1, 2, 0); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_180); -lean_ctor_set(x_183, 1, x_181); -x_9 = x_183; -goto block_64; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_184 = lean_ctor_get(x_150, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - x_185 = x_150; -} else { - lean_dec_ref(x_150); - x_185 = lean_box(0); -} -x_186 = lean_ctor_get(x_171, 0); -lean_inc(x_186); -lean_dec(x_171); -x_187 = l_Nat_repr(x_186); -x_188 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; -x_189 = lean_string_append(x_188, x_187); -lean_dec(x_187); -x_190 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_190, 0, x_189); -if (lean_is_scalar(x_185)) { - x_191 = lean_alloc_ctor(1, 2, 0); -} else { - x_191 = x_185; -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_184); -x_9 = x_191; -goto block_64; -} -} -} -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_192 = lean_ctor_get(x_2, 0); -x_193 = lean_ctor_get(x_2, 1); -x_194 = lean_ctor_get(x_2, 2); -x_195 = lean_ctor_get(x_2, 3); -x_196 = lean_ctor_get(x_2, 4); -x_197 = lean_ctor_get(x_2, 5); -x_198 = lean_ctor_get(x_2, 7); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_2); -x_199 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_199, 0, x_192); -lean_ctor_set(x_199, 1, x_193); -lean_ctor_set(x_199, 2, x_194); -lean_ctor_set(x_199, 3, x_195); -lean_ctor_set(x_199, 4, x_196); -lean_ctor_set(x_199, 5, x_197); -lean_ctor_set(x_199, 6, x_66); -lean_ctor_set(x_199, 7, x_198); -x_200 = lean_st_mk_ref(x_3, x_67); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_st_ref_get(x_201, x_202); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_205 = lean_st_mk_ref(x_5, x_204); -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 = lean_ctor_get(x_4, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_4, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_4, 2); -lean_inc(x_210); -x_211 = lean_ctor_get(x_4, 3); -lean_inc(x_211); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - x_212 = x_4; -} else { - lean_dec_ref(x_4); - x_212 = lean_box(0); -} -x_213 = l_Lean_Elab_Term_setElabConfig(x_208); -if (lean_is_scalar(x_212)) { - x_214 = lean_alloc_ctor(0, 4, 0); -} else { - x_214 = x_212; -} -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_209); -lean_ctor_set(x_214, 2, x_210); -lean_ctor_set(x_214, 3, x_211); -x_215 = lean_st_ref_get(x_201, x_207); -x_216 = lean_ctor_get(x_215, 1); -lean_inc(x_216); -lean_dec(x_215); -x_217 = lean_st_mk_ref(x_7, x_216); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -lean_inc(x_201); -lean_inc(x_206); -lean_inc(x_218); -x_220 = lean_apply_7(x_1, x_6, x_218, x_214, x_206, x_199, x_201, x_219); -if (lean_obj_tag(x_220) == 0) -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_st_ref_get(x_201, x_222); -x_224 = lean_ctor_get(x_223, 1); -lean_inc(x_224); -lean_dec(x_223); -x_225 = lean_st_ref_get(x_218, x_224); -lean_dec(x_218); -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -lean_dec(x_225); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_221); -lean_ctor_set(x_228, 1, x_226); -x_229 = lean_st_ref_get(x_201, x_227); -x_230 = lean_ctor_get(x_229, 1); -lean_inc(x_230); -lean_dec(x_229); -x_231 = lean_st_ref_get(x_206, x_230); -lean_dec(x_206); -x_232 = lean_ctor_get(x_231, 0); -lean_inc(x_232); -x_233 = lean_ctor_get(x_231, 1); -lean_inc(x_233); -lean_dec(x_231); -x_234 = lean_st_ref_get(x_201, x_233); -lean_dec(x_201); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - x_237 = x_234; -} else { - lean_dec_ref(x_234); - x_237 = lean_box(0); -} -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_235); -lean_ctor_set(x_238, 1, x_232); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_228); -lean_ctor_set(x_239, 1, x_238); -if (lean_is_scalar(x_237)) { - x_240 = lean_alloc_ctor(0, 2, 0); -} else { - x_240 = x_237; -} -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_236); -x_9 = x_240; -goto block_64; -} -else -{ -lean_object* x_241; -lean_dec(x_218); -lean_dec(x_206); -lean_dec(x_201); -x_241 = lean_ctor_get(x_220, 0); -lean_inc(x_241); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_220, 1); -lean_inc(x_242); -lean_dec(x_220); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -x_244 = l_Lean_MessageData_toString(x_243, x_242); -if (lean_obj_tag(x_244) == 0) -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_244, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - lean_ctor_release(x_244, 1); - x_247 = x_244; -} else { - lean_dec_ref(x_244); - x_247 = lean_box(0); -} -x_248 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_248, 0, x_245); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(1, 2, 0); -} else { - x_249 = x_247; - lean_ctor_set_tag(x_249, 1); -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_9 = x_249; -goto block_64; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_250 = lean_ctor_get(x_244, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_244, 1); -lean_inc(x_251); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - lean_ctor_release(x_244, 1); - x_252 = x_244; -} else { - lean_dec_ref(x_244); - x_252 = lean_box(0); -} -if (lean_is_scalar(x_252)) { - x_253 = lean_alloc_ctor(1, 2, 0); -} else { - x_253 = x_252; -} -lean_ctor_set(x_253, 0, x_250); -lean_ctor_set(x_253, 1, x_251); -x_9 = x_253; -goto block_64; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_254 = lean_ctor_get(x_220, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_255 = x_220; -} else { - lean_dec_ref(x_220); - x_255 = lean_box(0); -} -x_256 = lean_ctor_get(x_241, 0); -lean_inc(x_256); -lean_dec(x_241); -x_257 = l_Nat_repr(x_256); -x_258 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; -x_259 = lean_string_append(x_258, x_257); -lean_dec(x_257); -x_260 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_260, 0, x_259); -if (lean_is_scalar(x_255)) { - x_261 = lean_alloc_ctor(1, 2, 0); -} else { - x_261 = x_255; -} -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_254); -x_9 = x_261; -goto block_64; -} -} -} -} -else -{ -uint8_t x_262; +uint8_t x_137; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -53779,265 +42764,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_262 = !lean_is_exclusive(x_65); -if (x_262 == 0) +x_137 = !lean_is_exclusive(x_9); +if (x_137 == 0) { -x_9 = x_65; -goto block_64; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_65, 0); -x_264 = lean_ctor_get(x_65, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_65); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -x_9 = x_265; -goto block_64; -} -} -block_64: -{ -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_10, 1); -x_15 = lean_ctor_get(x_9, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_13, 0); -x_19 = lean_ctor_get(x_13, 1); -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_ctor_set(x_14, 1, x_19); -lean_ctor_set(x_14, 0, x_21); -lean_ctor_set(x_13, 1, x_14); -lean_ctor_set(x_13, 0, x_20); -lean_ctor_set(x_10, 1, x_13); -lean_ctor_set(x_10, 0, x_18); return x_9; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -x_24 = lean_ctor_get(x_14, 0); -x_25 = lean_ctor_get(x_14, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_14); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -lean_ctor_set(x_13, 1, x_26); -lean_ctor_set(x_13, 0, x_24); -lean_ctor_set(x_10, 1, x_13); -lean_ctor_set(x_10, 0, x_22); -return x_9; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = lean_ctor_get(x_13, 0); -x_28 = lean_ctor_get(x_13, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_13); -x_29 = lean_ctor_get(x_14, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_31 = x_14; -} else { - lean_dec_ref(x_14); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_28); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_10, 1, x_33); -lean_ctor_set(x_10, 0, x_27); -return x_9; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_34 = lean_ctor_get(x_10, 0); -x_35 = lean_ctor_get(x_10, 1); -x_36 = lean_ctor_get(x_9, 1); -lean_inc(x_36); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_9, 0); +x_139 = lean_ctor_get(x_9, 1); +lean_inc(x_139); +lean_inc(x_138); lean_dec(x_9); -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_39 = x_34; -} else { - lean_dec_ref(x_34); - x_39 = lean_box(0); -} -x_40 = lean_ctor_get(x_35, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_42 = x_35; -} else { - lean_dec_ref(x_35); - x_42 = lean_box(0); -} -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_42; -} -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_38); -if (lean_is_scalar(x_39)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_39; -} -lean_ctor_set(x_44, 0, x_40); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_10, 1, x_44); -lean_ctor_set(x_10, 0, x_37); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_10); -lean_ctor_set(x_45, 1, x_36); -return x_45; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_46 = lean_ctor_get(x_10, 0); -x_47 = lean_ctor_get(x_10, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_10); -x_48 = lean_ctor_get(x_9, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_49 = x_9; -} else { - lean_dec_ref(x_9); - x_49 = lean_box(0); -} -x_50 = lean_ctor_get(x_46, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_46, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_52 = x_46; -} else { - lean_dec_ref(x_46); - x_52 = lean_box(0); -} -x_53 = lean_ctor_get(x_47, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_47, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_55 = x_47; -} else { - lean_dec_ref(x_47); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_51); -if (lean_is_scalar(x_52)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_52; -} -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_50); -lean_ctor_set(x_58, 1, x_57); -if (lean_is_scalar(x_49)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_49; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_48); -return x_59; -} -} -else -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_9); -if (x_60 == 0) -{ -return x_9; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_9, 0); -x_62 = lean_ctor_get(x_9, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_9); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; } } } @@ -55291,6 +44034,172 @@ return x_48; } } } +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed), 8, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_9 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +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; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_get(x_3, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 3); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1; +x_19 = l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2(x_18, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_10); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_10); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_19); +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; +} +} +} +else +{ +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; +x_28 = lean_ctor_get(x_9, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_9, 1); +lean_inc(x_29); +lean_dec(x_9); +x_30 = lean_st_ref_get(x_7, x_29); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_get(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 3); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1; +x_37 = l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2(x_36, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +lean_dec(x_35); +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 0, x_28); +return x_37; +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_28); +x_42 = !lean_is_exclusive(x_37); +if (x_42 == 0) +{ +return x_37; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_37, 0); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_37); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +} static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1() { _start: { @@ -55359,6 +44268,22 @@ static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3; +x_3 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4; +x_4 = l_Lean_Elab_Term_instInhabitedState___closed__1; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_instInhabitedSavedState___closed__9; x_2 = l_Lean_Elab_Term_instInhabitedSavedState___closed__14; x_3 = l_Lean_NameSet_empty; @@ -55371,7 +44296,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6() { +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -55381,7 +44306,7 @@ x_3 = lean_nat_add(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8() { _start: { lean_object* x_1; @@ -55389,21 +44314,21 @@ x_1 = lean_mk_string("_uniq"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55411,7 +44336,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -55423,487 +44348,275 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3; -x_2 = l_Lean_Elab_Term_setElabConfig(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11; -x_3 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4; -x_4 = l_Lean_Elab_Term_instInhabitedState___closed__1; -x_5 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed), 8, 0); -return x_1; -} -} lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; 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; -x_7 = lean_box(0); -x_30 = l_Lean_maxRecDepth; -x_31 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_3, x_30); -x_32 = l_Lean_Core_getMaxHeartbeats(x_3); -x_33 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; -x_34 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_7 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2), 8, 1); +lean_closure_set(x_7, 0, x_4); +x_8 = lean_box(0); +x_31 = l_Lean_maxRecDepth; +x_32 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_3, x_31); +x_33 = l_Lean_Core_getMaxHeartbeats(x_3); +x_34 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7; x_35 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10; -x_36 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_36, 0, x_2); -lean_ctor_set(x_36, 1, x_33); -lean_ctor_set(x_36, 2, x_34); -lean_ctor_set(x_36, 3, x_35); -x_37 = lean_io_get_num_heartbeats(x_6); -if (lean_obj_tag(x_37) == 0) +x_36 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11; +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_io_get_num_heartbeats(x_6); +if (lean_obj_tag(x_38) == 0) { -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_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_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); +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_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_unsigned_to_nat(0u); -x_41 = lean_box(0); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unsigned_to_nat(0u); x_42 = lean_box(0); +x_43 = lean_box(0); lean_inc(x_3); -x_43 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_43, 0, x_3); -lean_ctor_set(x_43, 1, x_40); -lean_ctor_set(x_43, 2, x_31); -lean_ctor_set(x_43, 3, x_41); -lean_ctor_set(x_43, 4, x_42); -lean_ctor_set(x_43, 5, x_7); -lean_ctor_set(x_43, 6, x_38); -lean_ctor_set(x_43, 7, x_32); -x_44 = lean_st_mk_ref(x_36, x_39); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); +x_44 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_44, 0, x_3); +lean_ctor_set(x_44, 1, x_41); +lean_ctor_set(x_44, 2, x_32); +lean_ctor_set(x_44, 3, x_42); +lean_ctor_set(x_44, 4, x_43); +lean_ctor_set(x_44, 5, x_8); +lean_ctor_set(x_44, 6, x_39); +lean_ctor_set(x_44, 7, x_33); +x_45 = lean_st_mk_ref(x_37, x_40); +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_st_ref_get(x_45, x_46); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5; -x_50 = lean_st_mk_ref(x_49, x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_st_ref_get(x_46, x_47); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; +x_51 = lean_st_mk_ref(x_50, x_49); +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_78 = lean_st_ref_get(x_45, x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext; +x_55 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2; +x_56 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5; +lean_inc(x_46); +lean_inc(x_44); +lean_inc(x_52); +x_57 = l_Lean_Elab_Term_TermElabM_run___rarg(x_7, x_54, x_55, x_56, x_52, x_44, x_46, x_53); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_st_ref_get(x_46, x_59); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_st_ref_get(x_52, x_62); +lean_dec(x_52); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +x_65 = l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(x_44, x_46, x_64); +lean_dec(x_44); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_get(x_46, x_66); +lean_dec(x_46); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = 1; +x_72 = lean_box(x_71); +x_73 = lean_apply_5(x_1, x_70, x_3, x_60, x_72, x_69); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_60); +lean_dec(x_46); +lean_dec(x_3); +lean_dec(x_1); +x_74 = lean_ctor_get(x_65, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_65, 1); +lean_inc(x_75); +lean_dec(x_65); +x_9 = x_74; +x_10 = x_75; +goto block_30; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_52); +lean_dec(x_3); +lean_dec(x_1); +x_76 = lean_ctor_get(x_57, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_57, 1); +lean_inc(x_77); +lean_dec(x_57); +x_78 = l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(x_44, x_46, x_77); +lean_dec(x_46); +lean_dec(x_44); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); lean_dec(x_78); -x_80 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2; -x_81 = lean_st_mk_ref(x_80, x_79); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext; -x_85 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12; -lean_inc(x_45); -lean_inc(x_43); -lean_inc(x_51); -lean_inc(x_82); -x_86 = lean_apply_7(x_4, x_84, x_82, x_85, x_51, x_43, x_45, x_83); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_st_ref_get(x_45, x_88); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_st_ref_get(x_82, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_ctor_get(x_92, 3); -lean_inc(x_94); -lean_dec(x_92); -x_95 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13; -lean_inc(x_45); -lean_inc(x_43); -lean_inc(x_51); -lean_inc(x_82); -x_96 = l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2(x_95, x_94, x_84, x_82, x_85, x_51, x_43, x_45, x_93); -lean_dec(x_94); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_get(x_45, x_97); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_100 = lean_st_ref_get(x_82, x_99); -lean_dec(x_82); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set(x_100, 0, x_87); -x_53 = x_100; -goto block_77; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_87); -lean_ctor_set(x_104, 1, x_103); -x_53 = x_104; -goto block_77; -} -} -else -{ -uint8_t x_105; -lean_dec(x_87); -lean_dec(x_82); -x_105 = !lean_is_exclusive(x_96); -if (x_105 == 0) -{ -x_53 = x_96; -goto block_77; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_96, 0); -x_107 = lean_ctor_get(x_96, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_96); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_53 = x_108; -goto block_77; -} -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_109 = lean_ctor_get(x_86, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_86, 1); -lean_inc(x_110); -lean_dec(x_86); -x_111 = lean_st_ref_get(x_45, x_110); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_st_ref_get(x_82, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_114, 3); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13; -lean_inc(x_45); -lean_inc(x_43); -lean_inc(x_51); -x_118 = l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2(x_117, x_116, x_84, x_82, x_85, x_51, x_43, x_45, x_115); -lean_dec(x_116); -if (lean_obj_tag(x_118) == 0) -{ -uint8_t x_119; -x_119 = !lean_is_exclusive(x_118); -if (x_119 == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_118, 0); -lean_dec(x_120); -lean_ctor_set_tag(x_118, 1); -lean_ctor_set(x_118, 0, x_109); -x_53 = x_118; -goto block_77; -} -else -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_109); -lean_ctor_set(x_122, 1, x_121); -x_53 = x_122; -goto block_77; -} -} -else -{ -uint8_t x_123; -lean_dec(x_109); -x_123 = !lean_is_exclusive(x_118); -if (x_123 == 0) -{ -x_53 = x_118; -goto block_77; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_118, 0); -x_125 = lean_ctor_get(x_118, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_118); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -x_53 = x_126; -goto block_77; -} -} -} -block_77: -{ -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_st_ref_get(x_45, x_55); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_st_ref_get(x_51, x_57); -lean_dec(x_51); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(x_43, x_45, x_59); -lean_dec(x_43); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_st_ref_get(x_45, x_61); -lean_dec(x_45); -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_ctor_get(x_63, 0); -lean_inc(x_65); -lean_dec(x_63); -x_66 = 1; -x_67 = lean_box(x_66); -x_68 = lean_apply_5(x_1, x_65, x_3, x_54, x_67, x_64); -return x_68; -} -else -{ -lean_object* x_69; lean_object* x_70; -lean_dec(x_54); -lean_dec(x_45); -lean_dec(x_3); -lean_dec(x_1); -x_69 = lean_ctor_get(x_60, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_60, 1); -lean_inc(x_70); -lean_dec(x_60); -x_8 = x_69; -x_9 = x_70; -goto block_29; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_51); -lean_dec(x_3); -lean_dec(x_1); -x_71 = lean_ctor_get(x_53, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_53, 1); -lean_inc(x_72); -lean_dec(x_53); -x_73 = l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(x_43, x_45, x_72); -lean_dec(x_45); -lean_dec(x_43); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_8 = x_71; -x_9 = x_74; -goto block_29; -} -else -{ -lean_object* x_75; lean_object* x_76; -lean_dec(x_71); -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_dec(x_73); -x_8 = x_75; x_9 = x_76; -goto block_29; +x_10 = x_79; +goto block_30; } +else +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_76); +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +lean_dec(x_78); +x_9 = x_80; +x_10 = x_81; +goto block_30; } } } else { -uint8_t x_127; -lean_dec(x_36); +uint8_t x_82; +lean_dec(x_37); +lean_dec(x_33); lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_4); +lean_dec(x_7); lean_dec(x_3); lean_dec(x_1); -x_127 = !lean_is_exclusive(x_37); -if (x_127 == 0) +x_82 = !lean_is_exclusive(x_38); +if (x_82 == 0) { -return x_37; +return x_38; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_37, 0); -x_129 = lean_ctor_get(x_37, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_37); -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; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_38, 0); +x_84 = lean_ctor_get(x_38, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_38); +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; } } -block_29: +block_30: { -if (lean_obj_tag(x_8) == 0) +if (lean_obj_tag(x_9) == 0) { -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_11 = l_Lean_MessageData_toString(x_10, x_9); -if (lean_obj_tag(x_11) == 0) +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_MessageData_toString(x_11, x_10); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_17, 0, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_dec(x_12); +x_18 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_18, 0, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) { -return x_11; +return x_12; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_11); -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_12); +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_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_8, 0); -lean_inc(x_23); -lean_dec(x_8); -x_24 = l_Nat_repr(x_23); -x_25 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; -x_26 = lean_string_append(x_25, x_24); -lean_dec(x_24); -x_27 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_alloc_ctor(1, 2, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_9, 0); +lean_inc(x_24); +lean_dec(x_9); +x_25 = l_Nat_repr(x_24); +x_26 = l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; +x_27 = lean_string_append(x_26, x_25); +lean_dec(x_25); +x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_9); -return x_28; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_10); +return x_29; } } } @@ -60355,7 +49068,7 @@ lean_dec(x_3); return x_11; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -60365,7 +49078,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2() { _start: { lean_object* x_1; @@ -60373,17 +49086,17 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -60395,7 +49108,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -60403,7 +49116,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3; +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3; x_9 = l_Lean_registerTraceClass(x_8, x_7); return x_9; } @@ -60763,6 +49476,14 @@ l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__3 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__3); l_Lean_Elab_Term_instMonadInfoTreeTermElabM = _init_l_Lean_Elab_Term_instMonadInfoTreeTermElabM(); lean_mark_persistent(l_Lean_Elab_Term_instMonadInfoTreeTermElabM); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___boxed__const__1); +l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1 = _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed__const__1); +l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1 = _init_l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed__const__1); +l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1 = _init_l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1(); +lean_mark_persistent(l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed__const__1); l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1 = _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1); l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__2 = _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__2(); @@ -60837,7 +49558,7 @@ l_Lean_Elab_Term_termElabAttribute___closed__15 = _init_l_Lean_Elab_Term_termEla lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute___closed__15); l_Lean_Elab_Term_termElabAttribute___closed__16 = _init_l_Lean_Elab_Term_termElabAttribute___closed__16(); lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute___closed__16); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1597_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1619_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_termElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute); @@ -60972,32 +49693,32 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034____closed__4); l_Lean_Elab_Term_autoLift___closed__1 = _init_l_Lean_Elab_Term_autoLift___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_autoLift___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4034_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_autoLift = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_autoLift); lean_dec_ref(res); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054____closed__4); l_Lean_Elab_Term_maxCoeSize___closed__1 = _init_l_Lean_Elab_Term_maxCoeSize___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4054_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_maxCoeSize = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize); @@ -61076,6 +49797,8 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__6 = _ini lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__6); l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7); +l_Lean_Elab_Term_addTermInfo___closed__1 = _init_l_Lean_Elab_Term_addTermInfo___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_addTermInfo___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__2(); @@ -61166,28 +49889,36 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2 = lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__2); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__3); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__4); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__4); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__2); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__4); l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__2(); @@ -61196,14 +49927,6 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__3 = _init_l___ lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__3); l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__6); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__7); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__8); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__2(); @@ -61220,13 +49943,17 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9593_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1); +l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__2); l_Lean_Elab_Term_isLetRecAuxMVar___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___closed__1); l_Lean_Elab_Term_isLetRecAuxMVar___closed__2 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__2(); @@ -61235,135 +49962,6 @@ l_Lean_Elab_Term_isLetRecAuxMVar___closed__3 = _init_l_Lean_Elab_Term_isLetRecAu lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___closed__3); l_Lean_Elab_Term_isLetRecAuxMVar___closed__4 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___closed__4); -l_Lean_Elab_Term_isLetRecAuxMVar___closed__5 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___closed__5); -l_Lean_Elab_Term_isLetRecAuxMVar___closed__6 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_isLetRecAuxMVar___closed__6); -l_Lean_Elab_Term_elabProp___rarg___closed__1 = _init_l_Lean_Elab_Term_elabProp___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabProp___rarg___closed__1); -l___regBuiltin_Lean_Elab_Term_elabProp___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__1); -l___regBuiltin_Lean_Elab_Term_elabProp___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__2); -l___regBuiltin_Lean_Elab_Term_elabProp___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__3); -l___regBuiltin_Lean_Elab_Term_elabProp___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__4); -l___regBuiltin_Lean_Elab_Term_elabProp___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabProp___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProp___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabProp(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabSort___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__1); -l___regBuiltin_Lean_Elab_Term_elabSort___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__2); -l___regBuiltin_Lean_Elab_Term_elabSort___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__3); -l___regBuiltin_Lean_Elab_Term_elabSort___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__4); -l___regBuiltin_Lean_Elab_Term_elabSort___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabSort___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSort___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabSort(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1); -l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2); -l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3); -l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__4); -l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabTypeStx(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1); -l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2); -l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__1); -l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2); -l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__3); -l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4); -l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__1); -l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2); -l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__3); -l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4); -l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabHole___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__1); -l___regBuiltin_Lean_Elab_Term_elabHole___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__2); -l___regBuiltin_Lean_Elab_Term_elabHole___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabHole___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHole___closed__3); -res = l___regBuiltin_Lean_Elab_Term_elabHole(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabSyntheticHole___closed__1 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__1); -l_Lean_Elab_Term_elabSyntheticHole___closed__2 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__2); -l_Lean_Elab_Term_elabSyntheticHole___closed__3 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__3); -l_Lean_Elab_Term_elabSyntheticHole___closed__4 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__4); -l_Lean_Elab_Term_elabSyntheticHole___closed__5 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__5); -l_Lean_Elab_Term_elabSyntheticHole___closed__6 = _init_l_Lean_Elab_Term_elabSyntheticHole___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_elabSyntheticHole___closed__6); -l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1); -l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2); -l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3); -res = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabByTactic___closed__1 = _init_l_Lean_Elab_Term_elabByTactic___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__1); -l_Lean_Elab_Term_elabByTactic___closed__2 = _init_l_Lean_Elab_Term_elabByTactic___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__2); -l_Lean_Elab_Term_elabByTactic___closed__3 = _init_l_Lean_Elab_Term_elabByTactic___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__3); -l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1); -l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2); -l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3); -res = l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1); -l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2); -l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3); -res = l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1(); lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1); l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2 = _init_l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2(); @@ -61408,263 +50006,6 @@ l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__3 = _init_l_Lean_Elab_Term_ lean_mark_persistent(l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__3); l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4 = _init_l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4); -l_Lean_Elab_Term_elabBadCDot___rarg___closed__1 = _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___rarg___closed__1); -l_Lean_Elab_Term_elabBadCDot___rarg___closed__2 = _init_l_Lean_Elab_Term_elabBadCDot___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___rarg___closed__2); -l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1); -l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2); -l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3); -l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__4); -l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1 = _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1); -l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2 = _init_l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2); -l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1); -l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2); -l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__3); -l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1); -l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__2); -l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__3); -l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4); -l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1); -l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__2); -l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3); -l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1); -l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2); -l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__3); -l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabScientificLit___closed__1 = _init_l_Lean_Elab_Term_elabScientificLit___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__1); -l_Lean_Elab_Term_elabScientificLit___closed__2 = _init_l_Lean_Elab_Term_elabScientificLit___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__2); -l_Lean_Elab_Term_elabScientificLit___closed__3 = _init_l_Lean_Elab_Term_elabScientificLit___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__3); -l_Lean_Elab_Term_elabScientificLit___closed__4 = _init_l_Lean_Elab_Term_elabScientificLit___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__4); -l_Lean_Elab_Term_elabScientificLit___closed__5 = _init_l_Lean_Elab_Term_elabScientificLit___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__5); -l_Lean_Elab_Term_elabScientificLit___closed__6 = _init_l_Lean_Elab_Term_elabScientificLit___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__6); -l_Lean_Elab_Term_elabScientificLit___closed__7 = _init_l_Lean_Elab_Term_elabScientificLit___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__7); -l_Lean_Elab_Term_elabScientificLit___closed__8 = _init_l_Lean_Elab_Term_elabScientificLit___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__8); -l_Lean_Elab_Term_elabScientificLit___closed__9 = _init_l_Lean_Elab_Term_elabScientificLit___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__9); -l_Lean_Elab_Term_elabScientificLit___closed__10 = _init_l_Lean_Elab_Term_elabScientificLit___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__10); -l_Lean_Elab_Term_elabScientificLit___closed__11 = _init_l_Lean_Elab_Term_elabScientificLit___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__11); -l_Lean_Elab_Term_elabScientificLit___closed__12 = _init_l_Lean_Elab_Term_elabScientificLit___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_elabScientificLit___closed__12); -l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1); -l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__2); -l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__3); -l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Term_elabCharLit___closed__1 = _init_l_Lean_Elab_Term_elabCharLit___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__1); -l_Lean_Elab_Term_elabCharLit___closed__2 = _init_l_Lean_Elab_Term_elabCharLit___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__2); -l_Lean_Elab_Term_elabCharLit___closed__3 = _init_l_Lean_Elab_Term_elabCharLit___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__3); -l_Lean_Elab_Term_elabCharLit___closed__4 = _init_l_Lean_Elab_Term_elabCharLit___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabCharLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1); -l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__2); -l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__3); -l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4); -l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1); -l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2); -l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3); -l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__4); -l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1(); -lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1); -l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2(); -lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2); -l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1); -l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2); -l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__3); -l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4); -l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1); -l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2); -l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3); -l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__4); -l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1); -l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2); -l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3); -l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4); -l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1); -l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2); -l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3); -l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__4); -l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1 = _init_l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1(); -lean_mark_persistent(l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1); -l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1); -l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2 = _init_l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2(); -lean_mark_persistent(l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__2); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__4); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8); -l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__9); -l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__1); -l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__2); -l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3); -l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__4); -l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabOpen___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabOpen(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1); -l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2 = _init_l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3); -l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4 = _init_l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4); -l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1); -l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2); -l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3); -l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4); -l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__5); -res = l___regBuiltin_Lean_Elab_Term_elabSetOption(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2(); @@ -61675,6 +50016,8 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext = _init_l___private_L lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext); l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1 = _init_l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1); +l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1); l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1); l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2(); @@ -61697,10 +50040,6 @@ l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10 = _init_l_Lean_Elab_T lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10); l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11(); lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11); -l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12); -l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13); l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1 = _init_l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1(); lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1); l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__2 = _init_l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__2(); @@ -61727,13 +50066,13 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed_ lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__3); l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12388_(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/Util.c b/stage0/stdlib/Lean/Elab/Util.c index 845f70a060..cceee29bf6 100644 --- a/stage0/stdlib/Lean/Elab/Util.c +++ b/stage0/stdlib/Lean/Elab/Util.c @@ -24,7 +24,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1; static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__7; lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_macroAttribute___closed__2; @@ -35,6 +35,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__12; static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -72,6 +73,7 @@ lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__7(lean_object*, lean_object static lean_object* l_Lean_Elab_evalSyntaxConstant___closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__14; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2; static lean_object* l_Lean_Elab_macroAttribute___closed__5; lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__6; @@ -87,7 +89,6 @@ lean_object* l_Lean_Elab_evalSyntaxConstant___boxed(lean_object*, lean_object*, uint8_t l_Lean_Elab_getBetterRef___lambda__1(lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__11(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*); static lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__2; static lean_object* l_Lean_Elab_macroAttribute___lambda__1___closed__2; @@ -97,7 +98,6 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg(lean_obje lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__3; lean_object* l_Lean_Syntax_prettyPrint_match__1(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__6; lean_object* lean_name_append_index_after(lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,9 +109,9 @@ lean_object* l_Lean_Elab_macroAttribute___lambda__5___boxed(lean_object*, lean_o lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__7; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_585_(lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209_(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509_(lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__14(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_prettyPrint(lean_object*); lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1775,7 +1775,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_585_(lean_object* x_1) { _start: { lean_object* x_2; @@ -3679,7 +3679,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3689,7 +3689,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2() { _start: { lean_object* x_1; @@ -3697,21 +3697,21 @@ x_1 = lean_mk_string("step"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -3719,7 +3719,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -3912,20 +3912,20 @@ l_Lean_Elab_macroAttribute___closed__15 = _init_l_Lean_Elab_macroAttribute___clo lean_mark_persistent(l_Lean_Elab_macroAttribute___closed__15); l_Lean_Elab_macroAttribute___closed__16 = _init_l_Lean_Elab_macroAttribute___closed__16(); lean_mark_persistent(l_Lean_Elab_macroAttribute___closed__16); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_io_mk_world()); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_585_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_macroAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_macroAttribute); lean_dec_ref(res); l_Lean_Elab_expandMacroImpl_x3f___closed__1 = _init_l_Lean_Elab_expandMacroImpl_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_expandMacroImpl_x3f___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1509_(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/Environment.c b/stage0/stdlib/Lean/Environment.c index d9ef7a8569..1496c8e147 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -41,6 +41,7 @@ lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2___boxed(lean_ob lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__2; uint8_t l_Lean_EnvironmentHeader_quotInit___default; +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__5___boxed(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__6; @@ -51,7 +52,6 @@ lean_object* lean_display_stats(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_registerPersistentEnvExtensionUnsafe___spec__1___rarg(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__2; lean_object* l_Lean_Environment_isConstructor_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1(lean_object*, lean_object*); lean_object* l_Lean_withImportModules(lean_object*); uint8_t l_Lean_Environment_isNamespace(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedEnvironmentHeader; @@ -66,6 +66,7 @@ lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries(lean_object static lean_object* l_Lean_Environment_displayStats___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__4___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3(lean_object*, size_t, size_t, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__1(lean_object*, lean_object*); @@ -116,9 +117,7 @@ lean_object* lean_read_module_data(lean_object*, lean_object*); lean_object* l_Lean_Name_quickLt___boxed(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__3___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2; lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedEnvironment___closed__8; lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_isUnsafe(lean_object*); @@ -143,6 +142,7 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__4___rarg(lean_obj lean_object* l_Std_PersistentHashMap_insert___at_Lean_Environment_addAux___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedEnvExtensionInterface___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_namespacesExt___elambda__4___rarg(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__3___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedEnvironment___closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2(lean_object*); @@ -152,10 +152,8 @@ lean_object* l_Lean_Environment_evalConst___boxed(lean_object*, lean_object*, le lean_object* l_Array_binSearchAux___at_Lean_MapDeclarationExtension_find_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtension___rarg(lean_object*); lean_object* l_Lean_PersistentEnvExtension_setState___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Environment_addAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__4___rarg(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__3(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState(lean_object*); lean_object* l_Lean_importModules___lambda__3(lean_object*, uint32_t, lean_object*, lean_object*, lean_object*); @@ -173,9 +171,9 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_freeRegions___spec_ lean_object* l_Lean_instMonadEnv(lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Environment_find_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5; lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_importModules___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Nat_foldAux___at_Lean_mkModuleData___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -195,7 +193,6 @@ uint8_t l_Array_binSearchAux___at_Lean_MapDeclarationExtension_contains___spec__ lean_object* l_Lean_Environment_contains___boxed(lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec__3(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1; lean_object* l_Lean_TagDeclarationExtension_isTagged_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); @@ -222,7 +219,6 @@ lean_object* l_Lean_importModules_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__5; lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerSimplePersistentEnvExtension___spec__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_Environment_registerNamePrefixes_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,12 +285,14 @@ lean_object* l_Lean_importModules_match__2___rarg(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_mkMapDeclarationExtension___spec__8___rarg(lean_object*, lean_object*, size_t, size_t); lean_object* l_List_toStringAux___at_Lean_Environment_displayStats___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_Environment_displayStats___spec__2___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerSimplePersistentEnvExtension___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_namespacesExt___elambda__1(lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4; lean_object* l_Lean_TagDeclarationExtension_isTagged_match__1(lean_object*); uint8_t l___private_Lean_Environment_0__Lean_Environment_isNamespaceName(lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2(lean_object*); @@ -349,6 +347,7 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg(lean_object*, uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_SMap_switch___at_Lean_importModules___spec__10(lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3___boxed(lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1___boxed(lean_object*, lean_object*); uint32_t lean_environment_trust_level(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -372,7 +371,6 @@ lean_object* l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_namespacesExt___elambda__1___boxed(lean_object*); lean_object* l_Lean_mkEmptyEnvironment___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__1; lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Environment_contains___spec__3(lean_object*, lean_object*); @@ -380,7 +378,6 @@ lean_object* l_Lean_PersistentEnvExtensionDescr_statsFn___default___boxed(lean_o static uint32_t l_Lean_instInhabitedEnvironmentHeader___closed__1; lean_object* l_Lean_PersistentEnvExtension_getState___rarg___boxed(lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4; lean_object* l_Lean_registerEnvExtension(lean_object*); lean_object* l_Lean_importModules___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState(lean_object*, lean_object*, lean_object*); @@ -402,6 +399,7 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__8___closed__2; lean_object* l_Lean_instInhabitedModuleData; extern lean_object* l_Lean_NameSet_empty; +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_find_x3f___spec__6(lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f_x27___at_Lean_Environment_find_x3f___spec__1(lean_object*, lean_object*); @@ -522,6 +520,7 @@ lean_object* l_Lean_importModules___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__5; static lean_object* l_Lean_instToStringImport___closed__2; lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1; lean_object* l_Lean_instMonadEnv___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Environment_hasUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -534,8 +533,9 @@ static lean_object* l_Lean_Environment_header___default___closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtensionDescr_statsFn___default(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1597_(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1608_(lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___rarg(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__5; static lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1; @@ -608,7 +608,6 @@ lean_object* l_Lean_Environment_imports___boxed(lean_object*); lean_object* l_Lean_EnvExtension_setState___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_namespacesExt; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_mkModuleData___spec__4(lean_object*, size_t, size_t, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___spec__1(size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_importModules_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_finalizePersistentExtensions___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -618,6 +617,7 @@ lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ImportState_moduleData___default; lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec__5(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3; static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__3; lean_object* l_Lean_importModules___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__4(lean_object*); @@ -4962,7 +4962,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1597_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1608_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -11317,7 +11317,7 @@ x_7 = l_Lean_withImportModules___rarg(x_1, x_2, x_6, x_4, x_5); return x_7; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11340,7 +11340,7 @@ return x_4; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11378,7 +11378,7 @@ size_t x_15; size_t x_16; lean_object* x_17; x_15 = 0; x_16 = lean_usize_of_nat(x_7); lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(x_6, x_15, x_16, x_4); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(x_6, x_15, x_16, x_4); lean_dec(x_6); x_2 = x_11; x_4 = x_17; @@ -11392,7 +11392,7 @@ return x_4; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -11419,13 +11419,13 @@ size_t x_7; size_t x_8; lean_object* x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3(x_2, x_7, x_8, x_1); return x_9; } } } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1() { _start: { lean_object* x_1; @@ -11433,27 +11433,27 @@ x_1 = lean_mk_string("namespaces"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_NameSet_empty; -x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4() { _start: { lean_object* x_1; @@ -11462,14 +11462,14 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2; +x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2; x_2 = l_Lean_mkTagDeclarationExtension___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3; -x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4; +x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3; +x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -11478,16 +11478,16 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3629_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3651_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5; x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkTagDeclarationExtension___spec__3(x_2, x_1); return x_3; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -11495,12 +11495,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -11508,16 +11508,16 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__1(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_3651____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } @@ -13596,7 +13596,7 @@ l_Lean_instInhabitedPersistentEnvExtension___closed__4 = _init_l_Lean_instInhabi lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__4); l_Lean_instInhabitedPersistentEnvExtension___closed__5 = _init_l_Lean_instInhabitedPersistentEnvExtension___closed__5(); lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__5); -res = l_Lean_initFn____x40_Lean_Environment___hyg_1597_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Environment___hyg_1608_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_persistentEnvExtensionsRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_persistentEnvExtensionsRef); @@ -13673,16 +13673,16 @@ l_Lean_importModules___closed__2 = _init_l_Lean_importModules___closed__2(); lean_mark_persistent(l_Lean_importModules___closed__2); l_Lean_importModules___closed__3 = _init_l_Lean_importModules___closed__3(); lean_mark_persistent(l_Lean_importModules___closed__3); -l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__1); -l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__2); -l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__3); -l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__4); -l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3629____closed__5); +l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__1); +l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__2); +l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__3); +l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__4); +l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3651____closed__5); l_Lean_namespacesExt___closed__1 = _init_l_Lean_namespacesExt___closed__1(); lean_mark_persistent(l_Lean_namespacesExt___closed__1); l_Lean_namespacesExt___closed__2 = _init_l_Lean_namespacesExt___closed__2(); @@ -13693,7 +13693,7 @@ l_Lean_namespacesExt___closed__4 = _init_l_Lean_namespacesExt___closed__4(); lean_mark_persistent(l_Lean_namespacesExt___closed__4); l_Lean_namespacesExt___closed__5 = _init_l_Lean_namespacesExt___closed__5(); lean_mark_persistent(l_Lean_namespacesExt___closed__5); -res = l_Lean_initFn____x40_Lean_Environment___hyg_3629_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Environment___hyg_3651_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_namespacesExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_namespacesExt); diff --git a/stage0/stdlib/Lean/Exception.c b/stage0/stdlib/Lean/Exception.c index f1763356f4..3e2bfde82f 100644 --- a/stage0/stdlib/Lean/Exception.c +++ b/stage0/stdlib/Lean/Exception.c @@ -13,20 +13,20 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_toString(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_termThrowError_______closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25; lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__2(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_withIncRecDepth___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withIncRecDepth___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1; static lean_object* l_Lean_termThrowError_______closed__2; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1; static lean_object* l_Lean_termThrowErrorAt_________closed__6; static lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__1; lean_object* l_Lean_throwError_match__1___rarg(lean_object*, lean_object*); @@ -35,31 +35,32 @@ static lean_object* l_Lean_instInhabitedException___closed__2; extern lean_object* l_Lean_maxRecDepthErrorMessage; static lean_object* l_Lean_termThrowError_______closed__13; lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7; lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__3(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7; static lean_object* l_Lean_termThrowError_______closed__17; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14; static lean_object* l_Lean_termThrowError_______closed__1; lean_object* l_Lean_throwUnknownConstant___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_termThrowErrorAt_________closed__8; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5; static lean_object* l_Lean_termThrowErrorAt_________closed__2; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14; lean_object* l_Lean_throwErrorAt___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; lean_object* l_Lean_termThrowError____; lean_object* lean_array_push(lean_object*, lean_object*); extern lean_object* l_Lean_interpolatedStrKind; static lean_object* l_Lean_termThrowError_______closed__4; lean_object* l_Lean_throwKernelException(lean_object*, lean_object*); static lean_object* l_Lean_termThrowErrorAt_________closed__1; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3; static lean_object* l_Lean_termThrowError_______closed__9; lean_object* l_Lean_instMonadRecDepthStateRefT_x27(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_instMonadRecDepthMonadCacheT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10; static lean_object* l_Lean_termThrowError_______closed__8; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; @@ -67,14 +68,15 @@ static lean_object* l_Lean_instInhabitedException___closed__1; lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20; lean_object* l_Lean_instMonadRecDepthMonadCacheT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24; static lean_object* l_Lean_termThrowError_______closed__15; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3; lean_object* l_Lean_Exception_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3; lean_object* l_Lean_withIncRecDepth___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termThrowError_______closed__14; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_termThrowErrorAt_________closed__7; static lean_object* l_Lean_termThrowError_______closed__18; @@ -84,19 +86,18 @@ static lean_object* l_Lean_termThrowError_______closed__3; static lean_object* l_Lean_termThrowError_______closed__5; static lean_object* l_Lean_throwUnknownConstant___rarg___closed__1; lean_object* l_Lean_throwKernelException___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Lean_instAddErrorMessageContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__2; lean_object* l_Lean_ofExcept_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_instAddErrorMessageContext(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26; static lean_object* l_Lean_termThrowErrorAt_________closed__5; lean_object* l_Lean_instAddErrorMessageContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12; lean_object* l_Lean_instMonadRecDepthReaderT___rarg(lean_object*); static lean_object* l_Lean_termThrowErrorAt_________closed__3; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12; lean_object* l_Lean_throwError_match__1(lean_object*); static lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,52 +105,51 @@ lean_object* l_Lean_instMonadRecDepthReaderT(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Exception_toMessageData_match__1(lean_object*); lean_object* l_Lean_Exception_getRef___boxed(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26; lean_object* l_Lean_throwError___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_throwError(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedException; static lean_object* l_Lean_termThrowError_______closed__10; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16; lean_object* l_Lean_withIncRecDepth(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19; static lean_object* l_Lean_termThrowError_______closed__7; lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24; lean_object* l_Lean_throwKernelException___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1; static lean_object* l_Lean_termThrowError_______closed__16; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20; lean_object* l_Lean_Exception_getRef(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7; lean_object* l_Lean_throwErrorAt(lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27; static lean_object* l_Lean_termThrowError_______closed__19; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27; lean_object* l_Lean_withIncRecDepth___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4; static lean_object* l_Lean_termThrowError_______closed__11; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; lean_object* l_Lean_termThrowErrorAt______; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; lean_object* l_Lean_throwError___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadRecDepthStateRefT_x27___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; static lean_object* l_Lean_termThrowErrorAt_________closed__4; -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5; lean_object* l_Lean_ofExcept(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__3___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_944_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23; +lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13; static lean_object* l_Lean_termThrowError_______closed__12; +static lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23; lean_object* l_Lean_instMonadRecDepthStateRefT_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); lean_object* l_Lean_ofExcept_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -1198,7 +1198,7 @@ x_1 = l_Lean_termThrowErrorAt_________closed__8; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1() { _start: { lean_object* x_1; @@ -1206,17 +1206,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termThrowError_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3() { _start: { lean_object* x_1; @@ -1224,17 +1224,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5() { _start: { lean_object* x_1; @@ -1242,17 +1242,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7() { _start: { lean_object* x_1; @@ -1260,22 +1260,22 @@ x_1 = lean_mk_string("Lean.throwError"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8; +x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1283,7 +1283,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10() { _start: { lean_object* x_1; @@ -1291,41 +1291,41 @@ x_1 = lean_mk_string("throwError"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termThrowError_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; 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_myMacro____x40_Lean_Exception___hyg_778____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12; 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_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14() { _start: { lean_object* x_1; @@ -1333,17 +1333,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -1352,7 +1352,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -1361,7 +1361,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18() { _start: { lean_object* x_1; @@ -1369,17 +1369,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20() { _start: { lean_object* x_1; @@ -1387,7 +1387,7 @@ x_1 = lean_mk_string("("); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21() { _start: { lean_object* x_1; @@ -1395,17 +1395,17 @@ x_1 = lean_mk_string("termM!_"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termThrowError_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23() { _start: { lean_object* x_1; @@ -1413,7 +1413,7 @@ x_1 = lean_mk_string("m!"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -1422,19 +1422,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24; 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_myMacro____x40_Lean_Exception___hyg_778____closed__26() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26() { _start: { lean_object* x_1; @@ -1442,7 +1442,7 @@ x_1 = lean_mk_string(")"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -1451,7 +1451,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_778_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_781_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1483,7 +1483,7 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -1494,25 +1494,25 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_2, 1); lean_inc(x_17); lean_dec(x_2); -x_18 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; +x_18 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); -x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9; -x_21 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13; +x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9; +x_21 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13; x_22 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_22, 0, x_15); lean_ctor_set(x_22, 1, x_20); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_21); -x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16; +x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16; x_24 = lean_array_push(x_23, x_9); -x_25 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_25 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; 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 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_27 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_28 = lean_array_push(x_27, x_22); x_29 = lean_array_push(x_28, x_26); -x_30 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_30 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____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); @@ -1532,25 +1532,25 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_2, 1); lean_inc(x_35); lean_dec(x_2); -x_36 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; +x_36 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; x_37 = l_Lean_addMacroScope(x_35, x_36, x_34); -x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9; -x_39 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13; +x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9; +x_39 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13; x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_38); lean_ctor_set(x_40, 2, x_37); lean_ctor_set(x_40, 3, x_39); -x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16; +x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16; x_42 = lean_array_push(x_41, x_9); -x_43 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_43 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_45 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_46 = lean_array_push(x_45, x_40); x_47 = lean_array_push(x_46, x_44); -x_48 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_48 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____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); @@ -1563,7 +1563,7 @@ return x_50; else { lean_object* x_51; uint8_t x_52; -x_51 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_51 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_52 = !lean_is_exclusive(x_51); if (x_52 == 0) { @@ -1574,60 +1574,60 @@ lean_inc(x_54); x_55 = lean_ctor_get(x_2, 1); lean_inc(x_55); lean_dec(x_2); -x_56 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; +x_56 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; x_57 = l_Lean_addMacroScope(x_55, x_56, x_54); -x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9; -x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13; +x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9; +x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13; lean_inc(x_53); x_60 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_60, 0, x_53); lean_ctor_set(x_60, 1, x_58); lean_ctor_set(x_60, 2, x_57); lean_ctor_set(x_60, 3, x_59); -x_61 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20; +x_61 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20; lean_inc(x_53); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_53); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23; +x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23; lean_inc(x_53); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_53); lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_65 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_66 = lean_array_push(x_65, x_64); x_67 = lean_array_push(x_66, x_9); -x_68 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22; +x_68 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); x_70 = lean_array_push(x_65, x_69); -x_71 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25; +x_71 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25; x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_73 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26; +x_75 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26; x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_53); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27; +x_77 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27; x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); x_80 = lean_array_push(x_79, x_76); -x_81 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19; +x_81 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19; 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 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16; +x_83 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16; x_84 = lean_array_push(x_83, x_82); x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_73); lean_ctor_set(x_85, 1, x_84); x_86 = lean_array_push(x_65, x_60); x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_88 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); @@ -1647,60 +1647,60 @@ lean_inc(x_92); x_93 = lean_ctor_get(x_2, 1); lean_inc(x_93); lean_dec(x_2); -x_94 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11; +x_94 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11; x_95 = l_Lean_addMacroScope(x_93, x_94, x_92); -x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9; -x_97 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13; +x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9; +x_97 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13; lean_inc(x_90); x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_90); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); -x_99 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20; +x_99 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20; lean_inc(x_90); x_100 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_100, 0, x_90); lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23; +x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23; lean_inc(x_90); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_90); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_103 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_104 = lean_array_push(x_103, x_102); x_105 = lean_array_push(x_104, x_9); -x_106 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22; +x_106 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22; x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); x_108 = lean_array_push(x_103, x_107); -x_109 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25; +x_109 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25; x_110 = lean_array_push(x_108, x_109); -x_111 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_111 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; 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 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26; +x_113 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26; x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_90); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27; +x_115 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27; x_116 = lean_array_push(x_115, x_100); x_117 = lean_array_push(x_116, x_112); x_118 = lean_array_push(x_117, x_114); -x_119 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19; +x_119 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19; x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16; +x_121 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16; x_122 = lean_array_push(x_121, x_120); x_123 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_123, 0, x_111); lean_ctor_set(x_123, 1, x_122); x_124 = lean_array_push(x_103, x_98); x_125 = lean_array_push(x_124, x_123); -x_126 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_126 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); @@ -1713,7 +1713,7 @@ return x_128; } } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1() { _start: { lean_object* x_1; @@ -1721,22 +1721,22 @@ x_1 = lean_mk_string("Lean.throwErrorAt"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2; +x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____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); @@ -1744,7 +1744,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4() { _start: { lean_object* x_1; @@ -1752,41 +1752,41 @@ x_1 = lean_mk_string("throwErrorAt"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termThrowError_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____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_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6; +x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6; 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_myMacro____x40_Lean_Exception___hyg_944_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_948_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1820,7 +1820,7 @@ lean_dec(x_12); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -1831,25 +1831,25 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; +x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); -x_22 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3; -x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7; +x_22 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3; +x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7; x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_17); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); -x_25 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_25 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_26 = lean_array_push(x_25, x_9); x_27 = lean_array_push(x_26, x_11); -x_28 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_28 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; 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_25, x_24); x_31 = lean_array_push(x_30, x_29); -x_32 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_32 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -1869,25 +1869,25 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_2, 1); lean_inc(x_37); lean_dec(x_2); -x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; +x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5; x_39 = l_Lean_addMacroScope(x_37, x_38, x_36); -x_40 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3; -x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7; +x_40 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3; +x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7; x_42 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_42, 0, x_34); lean_ctor_set(x_42, 1, x_40); lean_ctor_set(x_42, 2, x_39); lean_ctor_set(x_42, 3, x_41); -x_43 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_43 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_44 = lean_array_push(x_43, x_9); x_45 = lean_array_push(x_44, x_11); -x_46 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_46 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; 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_43, x_42); x_49 = lean_array_push(x_48, x_47); -x_50 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_50 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -1900,7 +1900,7 @@ return x_52; else { lean_object* x_53; uint8_t x_54; -x_53 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_53 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_54 = !lean_is_exclusive(x_53); if (x_54 == 0) { @@ -1911,49 +1911,49 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_2, 1); lean_inc(x_57); lean_dec(x_2); -x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; +x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5; x_59 = l_Lean_addMacroScope(x_57, x_58, x_56); -x_60 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3; -x_61 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7; +x_60 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3; +x_61 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7; lean_inc(x_55); x_62 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_62, 0, x_55); lean_ctor_set(x_62, 1, x_60); lean_ctor_set(x_62, 2, x_59); lean_ctor_set(x_62, 3, x_61); -x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20; +x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20; lean_inc(x_55); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_55); lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23; +x_65 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23; lean_inc(x_55); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_55); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_67 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_68 = lean_array_push(x_67, x_66); x_69 = lean_array_push(x_68, x_11); -x_70 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22; +x_70 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22; 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_67, x_71); -x_73 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25; +x_73 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25; x_74 = lean_array_push(x_72, x_73); -x_75 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_75 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26; +x_77 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26; x_78 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_78, 0, x_55); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27; +x_79 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27; x_80 = lean_array_push(x_79, x_64); x_81 = lean_array_push(x_80, x_76); x_82 = lean_array_push(x_81, x_78); -x_83 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19; +x_83 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -1964,7 +1964,7 @@ lean_ctor_set(x_87, 0, x_75); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_67, x_62); x_89 = lean_array_push(x_88, x_87); -x_90 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_90 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____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); @@ -1984,49 +1984,49 @@ lean_inc(x_94); x_95 = lean_ctor_get(x_2, 1); lean_inc(x_95); lean_dec(x_2); -x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5; +x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5; x_97 = l_Lean_addMacroScope(x_95, x_96, x_94); -x_98 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3; -x_99 = l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7; +x_98 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3; +x_99 = l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7; lean_inc(x_92); x_100 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_100, 0, x_92); lean_ctor_set(x_100, 1, x_98); lean_ctor_set(x_100, 2, x_97); lean_ctor_set(x_100, 3, x_99); -x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20; +x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20; lean_inc(x_92); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_92); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23; +x_103 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23; lean_inc(x_92); x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_92); lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17; +x_105 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17; x_106 = lean_array_push(x_105, x_104); x_107 = lean_array_push(x_106, x_11); -x_108 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22; +x_108 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); x_110 = lean_array_push(x_105, x_109); -x_111 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25; +x_111 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25; x_112 = lean_array_push(x_110, x_111); -x_113 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15; +x_113 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15; x_114 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); -x_115 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26; +x_115 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26; x_116 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_116, 0, x_92); lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27; +x_117 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27; x_118 = lean_array_push(x_117, x_102); x_119 = lean_array_push(x_118, x_114); x_120 = lean_array_push(x_119, x_116); -x_121 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19; +x_121 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19; x_122 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_122, 0, x_121); lean_ctor_set(x_122, 1, x_120); @@ -2037,7 +2037,7 @@ lean_ctor_set(x_125, 0, x_113); lean_ctor_set(x_125, 1, x_124); x_126 = lean_array_push(x_105, x_100); x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6; +x_128 = l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); @@ -2151,74 +2151,74 @@ l_Lean_termThrowErrorAt_________closed__8 = _init_l_Lean_termThrowErrorAt_______ lean_mark_persistent(l_Lean_termThrowErrorAt_________closed__8); l_Lean_termThrowErrorAt______ = _init_l_Lean_termThrowErrorAt______(); lean_mark_persistent(l_Lean_termThrowErrorAt______); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__1); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__2); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__3); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__4); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__5); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__6); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__7); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__8); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__9); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__10); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__11); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__12); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__13); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__14); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__15); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__16); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__17); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__18); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__19); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__20); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__21); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__22); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__23); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__24); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__25); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__26); -l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_778____closed__27); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__1); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__2); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__3); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__4); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__5); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__6); -l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_944____closed__7); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__1); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__2); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__3); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__4); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__5); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__6); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__7); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__8); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__9); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__10); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__11); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__12); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__13); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__14); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__15); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__16); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__17); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__18); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__19); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__20); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__21); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__22); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__23); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__24); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__25); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__26); +l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_781____closed__27); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__1); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__2); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__3); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__4); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__5); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__6); +l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_948____closed__7); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Message.c b/stage0/stdlib/Lean/Message.c index ccef5c7bf2..d1e2278803 100644 --- a/stage0/stdlib/Lean/Message.c +++ b/stage0/stdlib/Lean/Message.c @@ -17,16 +17,16 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__32; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_toList___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__10; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11; static lean_object* l_Lean_instToMessageDataOption___rarg___closed__1; lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102____boxed(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Std_fmt___at_Lean_MessageData_formatAux___spec__1(lean_object*); lean_object* l_Lean_MessageData_instCoeOptionExprMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MessageData_instCoeArrayExprMessageData___closed__2; lean_object* l_String_splitAux___at_Lean_stringToMessageData___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11; lean_object* l_Lean_addMessageContextPartial___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -58,38 +58,40 @@ lean_object* l_Lean_MessageData_formatAux_match__1___rarg___boxed(lean_object**) lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_getInfoMessages___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_MessageData_formatAux_match__1(lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__24; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_sbracket(lean_object*); lean_object* l_Lean_addMessageContextFull___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_instCoeStringMessageData; static lean_object* l_Lean_termM_x21_____closed__13; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8; lean_object* l_Lean_MessageLog_getInfoMessages_match__1(lean_object*); static lean_object* l_Lean_Message_toString___lambda__3___closed__3; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8; static lean_object* l_Lean_MessageData_instantiateMVars___closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4; lean_object* l_Std_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*); lean_object* l_Lean_MessageData_joinSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_isNil_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9; lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_instBEqMessageSeverity; lean_object* l_Lean_Message_toString___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9; lean_object* l_Lean_MessageData_ofList_match__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_MessageData_nil; lean_object* l_Lean_instToMessageDataArray___rarg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_instCoeFormatMessageData(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__2; lean_object* l_Lean_instToMessageDataFormat(lean_object*); static lean_object* l_Lean_instInhabitedMessageLog___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_MessageData_instantiateMVars(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_MessageData_instCoeStringMessageData___lambda__1(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1; static lean_object* l_Lean_KernelException_toMessageData___closed__16; static lean_object* l_Lean_MessageData_instCoeArrayExprMessageData___closed__1; lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -99,7 +101,6 @@ static lean_object* l_Lean_MessageData_formatAux___closed__1; lean_object* l_Lean_MessageData_instCoeArrayExprMessageData___boxed(lean_object*); lean_object* l_Lean_KernelException_toMessageData_match__2(lean_object*); uint8_t l_Lean_Message_severity___default; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1; static lean_object* l_Lean_instInhabitedMessageLog___closed__2; lean_object* l_Lean_MessageData_instCoeArrayExprMessageData(lean_object*); size_t l_USize_shiftRight(size_t, size_t); @@ -113,10 +114,10 @@ static lean_object* l_Lean_instInhabitedMessageLog___closed__4; lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__20; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_102_(uint8_t, uint8_t); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_instToMessageDataOption___rarg___closed__4; lean_object* l_Lean_addMessageContextFull___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13; lean_object* l_Lean_addMessageContextFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MessageData_arrayExpr_toMessageData___closed__3; static lean_object* l_Lean_MessageData_instCoeOptionExprMessageData___closed__3; @@ -164,8 +165,8 @@ lean_object* l_Lean_instToMessageDataOption_match__1(lean_object*, lean_object*) lean_object* l_Lean_MessageLog_instAppendMessageLog; lean_object* l_Lean_instToMessageDataArray(lean_object*); lean_object* l_Lean_instToMessageData(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12; lean_object* l_Lean_instInhabitedMessageData; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MessageData_ofList___closed__7; lean_object* l_Lean_Message_toString_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); @@ -187,7 +188,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__4___b uint8_t l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors___spec__4(lean_object*, size_t, size_t); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_toList___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_instToMessageDataString___closed__1; -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedMessage; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__18; @@ -217,7 +218,6 @@ lean_object* l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1 static lean_object* l_Lean_mkErrorStringWithPos___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__4(lean_object*, size_t, size_t, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14; lean_object* l_Lean_instToMessageDataName(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors___spec__3(lean_object*, size_t, size_t); lean_object* lean_expr_dbg_to_string(lean_object*); @@ -233,6 +233,7 @@ lean_object* l_Lean_instToMessageDataOption_match__1___rarg(lean_object*, lean_o static lean_object* l_Lean_KernelException_toMessageData___closed__15; uint8_t l_Std_PersistentArray_isEmpty___rarg(lean_object*); lean_object* l_Lean_addMessageContextPartial___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14; lean_object* l_Lean_instToMessageDataMessageData; lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_toList___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_toList___spec__3(lean_object*, lean_object*); @@ -250,13 +251,13 @@ static lean_object* l_Lean_MessageData_arrayExpr_toMessageData___closed__2; static lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_MessageData_instCoeExprMessageData(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3; static lean_object* l_Lean_instToMessageDataOption___rarg___closed__2; lean_object* l_Lean_MessageData_arrayExpr_toMessageData(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull(lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__9; lean_object* l_Lean_MessageData_instCoeListMessageDataMessageData; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3; lean_object* l_Lean_MessageData_mkPPContext(lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toList___boxed(lean_object*); static lean_object* l_Lean_MessageData_instCoeListMessageDataMessageData___closed__1; @@ -267,7 +268,6 @@ lean_object* l_Lean_Message_toString___lambda__2(lean_object*, lean_object*, lea static lean_object* l_Lean_MessageData_format___closed__1; lean_object* l_Lean_MessageData_ofArray(lean_object*); lean_object* l_List_map___at_Lean_stringToMessageData___spec__3(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__16; lean_object* l_Lean_MessageLog_forM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instToMessageDataOptionExpr(lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__1; @@ -275,8 +275,8 @@ lean_object* l_Std_fmt___rarg(lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_Lean_instToMessageDataList(lean_object*); static lean_object* l_Lean_instToMessageDataOption___rarg___closed__3; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16; static lean_object* l_Lean_MessageData_sbracket___closed__1; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7; uint8_t l_UInt32_decEq(uint32_t, uint32_t); lean_object* l_Lean_Message_toString___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -289,15 +289,16 @@ uint8_t l_String_isEmpty(lean_object*); lean_object* l_Lean_MessageData_instCoeOptionExprMessageData(lean_object*); lean_object* l_Lean_instInhabitedMessageLog; static lean_object* l_Lean_KernelException_toMessageData___closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7; lean_object* l_Lean_Message_toString___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MessageLog_msgs___default___closed__1; lean_object* l_Lean_MessageData_ofList_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l_Lean_MessageData_nestD(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_toList___spec__3___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10; static lean_object* l_Lean_KernelException_toMessageData___closed__17; lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToWarnings___spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10; lean_object* l_Lean_instToMessageDataExpr(lean_object*); static lean_object* l_Lean_Message_toString___lambda__3___closed__2; static lean_object* l_Lean_KernelException_toMessageData___closed__38; @@ -321,7 +322,6 @@ static lean_object* l_Lean_termM_x21_____closed__7; lean_object* l_Lean_Message_endPos___default; lean_object* l_Lean_MessageData_joinSep___boxed(lean_object*, lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__31; -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2; lean_object* l_Lean_MessageLog_getInfoMessages_match__1___rarg(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_KernelException_toMessageData___closed__35; static lean_object* l_Lean_termM_x21_____closed__5; @@ -371,7 +371,7 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean lean_object* l_Lean_KernelException_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_hasTag_match__1(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6; lean_object* lean_usize_to_nat(size_t); uint8_t l_Lean_MessageLog_isEmpty(lean_object*); lean_object* l_Lean_MessageData_instantiateMVars_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -404,18 +404,18 @@ lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lea static lean_object* l_Lean_MessageData_ofList___closed__1; static lean_object* l_Lean_MessageData_arrayExpr_toMessageData___closed__1; static lean_object* l_Lean_KernelException_toMessageData___closed__11; +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15; static lean_object* l_Lean_MessageData_instantiateMVars___closed__2; static lean_object* l_Lean_MessageData_instCoeStringMessageData___closed__3; static lean_object* l_Lean_termM_x21_____closed__6; lean_object* l_Lean_MessageLog_isEmpty___boxed(lean_object*); lean_object* l_Lean_MessageData_arrayExpr_toMessageData___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5; lean_object* l_Lean_MessageData_instantiateMVars_visit(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_split___at_Lean_stringToMessageData___spec__1___boxed(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__5; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15; lean_object* l_Lean_MessageLog_getInfoMessages___boxed(lean_object*); lean_object* l_String_splitAux___at_Lean_stringToMessageData___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkErrorStringWithPos_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -7295,7 +7295,7 @@ x_1 = l_Lean_termM_x21_____closed__16; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1() { _start: { lean_object* x_1; @@ -7303,22 +7303,22 @@ x_1 = lean_mk_string("MessageData"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2; +x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____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); @@ -7326,51 +7326,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termM_x21_____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____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_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6; 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_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8() { _start: { lean_object* x_1; @@ -7378,22 +7378,22 @@ x_1 = lean_mk_string("toMessageData"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9; +x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7401,17 +7401,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12() { _start: { lean_object* x_1; @@ -7419,51 +7419,51 @@ x_1 = lean_mk_string("ToMessageData"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termM_x21_____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13; -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14; 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_myMacro____x40_Lean_Message___hyg_2342____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15; 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_myMacro____x40_Lean_Message___hyg_2342_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2343_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7487,7 +7487,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -7497,27 +7497,27 @@ x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); -x_15 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4; +x_15 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4; lean_inc(x_13); lean_inc(x_14); x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); -x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3; -x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7; +x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3; +x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_11); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_12); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_12); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11; +x_23 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11; x_24 = l_Lean_addMacroScope(x_14, x_23, x_13); -x_25 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10; -x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__16; +x_25 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10; +x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16; x_27 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_27, 0, x_21); lean_ctor_set(x_27, 1, x_25); @@ -8859,38 +8859,38 @@ l_Lean_termM_x21_____closed__16 = _init_l_Lean_termM_x21_____closed__16(); lean_mark_persistent(l_Lean_termM_x21_____closed__16); l_Lean_termM_x21__ = _init_l_Lean_termM_x21__(); lean_mark_persistent(l_Lean_termM_x21__); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__1); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__2); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__3); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__4); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__5); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__6); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__7); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__8); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__9); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__10); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__11); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__12); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__13); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__14); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__15); -l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__16 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2342____closed__16); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__1); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__2); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__3); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__4); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__5 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__5); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__6); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__7); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__8); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__9); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__10); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__11); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__12); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__13); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__14); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__15); +l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_2343____closed__16); l_Lean_KernelException_toMessageData___closed__1 = _init_l_Lean_KernelException_toMessageData___closed__1(); lean_mark_persistent(l_Lean_KernelException_toMessageData___closed__1); l_Lean_KernelException_toMessageData___closed__2 = _init_l_Lean_KernelException_toMessageData___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 52ad8cf40f..0f675ea559 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -348,7 +348,7 @@ static lean_object* l_Lean_Meta_mkSorry___closed__3; static lean_object* l_Lean_Meta_mkEqOfHEq___closed__3; static lean_object* l_Lean_Meta_mkEqMPR___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4513_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4558_(lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -13294,7 +13294,7 @@ x_10 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkBinaryOp(x_8, x_9, x_1, x return x_10; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4513_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4558_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13726,7 +13726,7 @@ l_Lean_Meta_mkMul___closed__3 = _init_l_Lean_Meta_mkMul___closed__3(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__3); l_Lean_Meta_mkMul___closed__4 = _init_l_Lean_Meta_mkMul___closed__4(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4513_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4558_(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/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index e605db5b24..3c5b3172e3 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -20,13 +20,14 @@ lean_object* l_Lean_Meta_instBEqInfoCacheKey; lean_object* l_Lean_Meta_getLocalDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2; lean_object* l_Lean_Meta_resettingSynthInstanceCacheWhen___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore___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*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1; lean_object* l_Lean_Meta_instMonadMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl_match__1(lean_object*); size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,11 +57,11 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Lean_MetavarContext_findLevelDepth_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4; lean_object* l_Lean_Meta_isExprDefEqAux___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_Meta_getLocalInstances___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(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_1768____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls_loop_match__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedState___closed__4; uint8_t l_Lean_Meta_Config_zetaNonDep___default; @@ -143,6 +144,7 @@ lean_object* l_instInhabitedDepArrow___rarg(lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); static lean_object* l_Lean_Meta_instInhabitedState___closed__1; lean_object* l_Lean_Meta_withNewBinderInfos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2; lean_object* l_Lean_Meta_lambdaMetaTelescope_process_match__1(lean_object*); lean_object* l_Lean_Meta_forallTelescope(lean_object*); lean_object* l_Lean_Meta_dependsOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -150,12 +152,16 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDeclsD_match__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_setMCtx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1; lean_object* l_Lean_Meta_mkFreshLevelMVarsFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ParamInfo_backDeps___default___closed__1; lean_object* l_Lean_Meta_mkFreshExprMVarWithId___boxed(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_1659____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_fullApproxDefEq(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls_loop_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*); @@ -167,6 +173,8 @@ lean_object* l_Lean_Meta_map1MetaM___rarg(lean_object*, lean_object*, lean_objec lean_object* l_Lean_MetavarContext_getDelayedAssignment_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnf___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___boxed(lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); @@ -179,6 +187,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lea lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1; lean_object* l_Lean_Meta_withLocalDeclsD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); @@ -194,7 +203,6 @@ lean_object* l_Lean_MetavarContext_instantiateExprMVars___at_Lean_Meta_instantia lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_modifyInferTypeCache_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4; lean_object* l_Lean_Meta_orelseMergeErrors(lean_object*, lean_object*); uint8_t l_Lean_Meta_Config_unificationHints___default; lean_object* l_Lean_Meta_fullApproxDefEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -222,11 +230,11 @@ lean_object* l_Lean_Meta_withMVarContext(lean_object*); lean_object* l_Lean_Meta_lambdaMetaTelescope_process_match__2(lean_object*); lean_object* l_Lean_Meta_modifyInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getPostponed___boxed(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3_(lean_object*); lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDeclD(lean_object*); @@ -236,7 +244,6 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedCache___closed__1; lean_object* l_Lean_Meta_mapMetaM(lean_object*); lean_object* l_Lean_Meta_getDelayedAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1; lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withTransparency___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2(lean_object*); @@ -274,6 +281,7 @@ lean_object* l_Lean_Meta_shouldReduceAll(lean_object*, lean_object*, lean_object lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_withLocalDecls_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Meta_mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1; static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__2; lean_object* l_Lean_Meta_instInhabitedMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,14 +290,14 @@ extern lean_object* l_Lean_Compiler_inlineAttrs; static lean_object* l_Lean_Meta_State_postponed___default___closed__1; lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux_process___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_Meta_instMonadMetaM___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Config_isDefEqStuckEx___default; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_withLocalDecls_loop___spec__1(lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_instantiateMVars___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3; lean_object* l_Lean_Meta_instMonadMetaM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -312,7 +320,6 @@ lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1(lean_object*, lean_objec static lean_object* l_Lean_Meta_liftMkBindingM___rarg___closed__2; lean_object* l_Lean_Meta_MetaM_toIO(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cache_inferType___default___closed__2; lean_object* l_Lean_Meta_withTrackingZeta___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -321,7 +328,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM; lean_object* l_Lean_Meta_getZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f_match__2(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1; static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__5; static lean_object* l_Lean_Meta_whnf___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -376,11 +382,11 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeAux(lean_ob static lean_object* l_Lean_Meta_instMonadMetaM___closed__9; static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp(lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l_Lean_Meta_liftMetaM___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3; lean_object* l_Lean_throwError___at_Lean_Meta_getLocalDeclFromUserName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -429,6 +435,7 @@ uint8_t l_Lean_Meta_ParamInfo_instImplicit___default; lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__1; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__9; uint8_t l_Lean_Meta_Config_constApprox___default; lean_object* l_Lean_Meta_map2MetaM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -509,15 +516,12 @@ lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__6; lean_object* l_Lean_Meta_modifyCache_match__1(lean_object*); size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1; lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaMetaTelescope_process___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_NameSet_empty; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_occursCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelMVar(lean_object*); static lean_object* l_Lean_Meta_mkArrow___closed__1; @@ -528,14 +532,10 @@ uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*); lean_object* l_Lean_Meta_instInhabitedParamInfo; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2; lean_object* l_Lean_Meta_lambdaLetTelescope(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__3; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1; lean_object* l_Lean_Meta_mkFreshLevelMVarsFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescopeReducing(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Context_config___default; @@ -546,13 +546,13 @@ lean_object* l_Lean_Meta_approxDefEq(lean_object*); lean_object* l_Lean_Meta_instInhabitedInfoCacheKey; lean_object* l_Lean_Meta_withExistingLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls(lean_object*); uint8_t l_Lean_Meta_Config_foApprox___default; lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withDefault___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_exprDependsOn(lean_object*, lean_object*, lean_object*); @@ -561,6 +561,7 @@ extern uint8_t l_Lean_instInhabitedBinderInfo; lean_object* l_Lean_Meta_withIncRecDepth(lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMetaEvalMetaM(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaLetTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_State_mctx___default___closed__1; @@ -572,16 +573,17 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___ra lean_object* l_Lean_Meta_instInhabitedMetaM___rarg(lean_object*); lean_object* l_Lean_Meta_FunInfo_paramInfo___default; lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMetaM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2; lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FunInfo_resultDeps___default; lean_object* l_Lean_throwError___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateMVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2; lean_object* l_Lean_Meta_setMVarKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___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_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -628,7 +630,6 @@ lean_object* l_Lean_MetavarContext_assignLevel(lean_object*, lean_object*, lean_ static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__4; lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2; lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MetaM_toIO___rarg___closed__1; @@ -638,6 +639,7 @@ lean_object* l_Lean_Meta_Context_lctx___default; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Config_trackZeta___default; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f_match__1(lean_object*); static lean_object* l_Lean_Meta_State_postponed___default___closed__3; lean_object* l_Lean_Meta_normalizeLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -656,7 +658,6 @@ lean_object* l_Lean_Meta_withLCtx(lean_object*); static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_resettingSynthInstanceCacheImpl(lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDeclD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignLevelMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -678,6 +679,7 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownFVar___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_savingCacheImpl(lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp(lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -688,6 +690,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getTransparency___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -698,7 +701,6 @@ lean_object* l_Lean_Meta_withMVarContext___rarg___lambda__1(lean_object*, lean_o lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl_match__1(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); lean_object* l_Lean_Meta_restoreSynthInstanceCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -733,7 +735,6 @@ static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1(lean_object*); static lean_object* l_Lean_Meta_Cache_inferType___default___closed__1; uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_getLocalDeclFromUserName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp(lean_object*); @@ -762,7 +763,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux lean_object* l_Lean_Meta_withLocalDeclsD_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeAux___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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -774,8 +774,6 @@ lean_object* l_List_mapM___at_Lean_Meta_instantiateMVars___spec__3___boxed(lean_ lean_object* l_Lean_Meta_setInlineAttribute_match__1(lean_object*); lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withTrackingZeta(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Context_localInstances___default; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -860,7 +858,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarCore___boxe lean_object* l_Lean_Meta_shouldReduceAll___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1___rarg(size_t, size_t, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1; uint8_t lean_is_class(lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instAddMessageContextMetaM; @@ -870,12 +867,14 @@ lean_object* l_Lean_Meta_mkFreshLevelMVar___boxed(lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_245____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp_match__1(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1; lean_object* l_Lean_Meta_instMonadLCtxMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownFVar___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -891,6 +890,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAu lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux___at_Lean_Meta_withNewLocalInstances___spec__1(lean_object*); lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1; lean_object* l_Lean_Meta_modifyInferTypeCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3____closed__1() { _start: @@ -4076,7 +4076,7 @@ lean_dec(x_2); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1() { _start: { lean_object* x_1; @@ -4084,17 +4084,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____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_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3() { _start: { lean_object* x_1; @@ -4102,21 +4102,21 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -4124,7 +4124,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -5214,7 +5214,7 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -5252,7 +5252,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -5260,46 +5260,46 @@ x_1 = lean_mk_string("whnf implementation was not set"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____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) { _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2; -x_8 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_7, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2; +x_8 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___boxed), 6, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5307,11 +5307,11 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5320,7 +5320,7 @@ lean_dec(x_1); return x_7; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -5328,46 +5328,46 @@ x_1 = lean_mk_string("inferType implementation was not set"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____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) { _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2; -x_8 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_7, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2; +x_8 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___boxed), 6, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5376,7 +5376,7 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -5414,7 +5414,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -5422,46 +5422,46 @@ x_1 = lean_mk_string("isDefEq implementation was not set"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____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) { _start: { lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1(x_8, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2; +x_9 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___boxed), 7, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5469,11 +5469,11 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____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) { _start: { lean_object* x_8; -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1(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); @@ -5483,7 +5483,7 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____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) { _start: { uint8_t x_7; lean_object* x_8; lean_object* x_9; @@ -5495,28 +5495,28 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____lambda__1___boxed), 6, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____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* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -8381,7 +8381,7 @@ x_18 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1__ x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1(x_19, x_2, x_3, x_4, x_5, x_12); +x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(x_19, x_2, x_3, x_4, x_5, x_12); return x_20; } else @@ -8442,7 +8442,7 @@ x_35 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1__ x_36 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____spec__1(x_36, x_2, x_3, x_4, x_5, x_29); +x_37 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____spec__1(x_36, x_2, x_3, x_4, x_5, x_29); return x_37; } else @@ -14859,7 +14859,7 @@ x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); lean_dec(x_64); x_66 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_67 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_66, x_5, x_6, x_7, x_8, x_65); +x_67 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_66, x_5, x_6, x_7, x_8, x_65); lean_dec(x_5); return x_67; } @@ -14883,7 +14883,7 @@ x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); x_74 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_75 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_74, x_5, x_6, x_7, x_8, x_73); +x_75 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_74, x_5, x_6, x_7, x_8, x_73); lean_dec(x_5); return x_75; } @@ -15089,7 +15089,7 @@ x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); x_67 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_68 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_67, x_5, x_6, x_7, x_8, x_66); +x_68 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_67, x_5, x_6, x_7, x_8, x_66); lean_dec(x_5); return x_68; } @@ -15113,7 +15113,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_76 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_75, x_5, x_6, x_7, x_8, x_74); +x_76 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_75, x_5, x_6, x_7, x_8, x_74); lean_dec(x_5); return x_76; } @@ -15395,7 +15395,7 @@ x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); x_62 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_62, x_4, x_5, x_6, x_7, x_61); +x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_62, x_4, x_5, x_6, x_7, x_61); return x_63; } else @@ -15418,7 +15418,7 @@ x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); lean_dec(x_68); x_70 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_71 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_70, x_4, x_5, x_6, x_7, x_69); +x_71 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_70, x_4, x_5, x_6, x_7, x_69); return x_71; } } @@ -28462,7 +28462,7 @@ x_21 = lean_ctor_get(x_13, 1); lean_inc(x_21); lean_dec(x_13); x_22 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2; -x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); +x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -28609,7 +28609,7 @@ x_21 = lean_ctor_get(x_13, 1); lean_inc(x_21); lean_dec(x_13); x_22 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux___closed__2; -x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); +x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -29873,53 +29873,53 @@ l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7 = _init_l_Lean_Meta_instMetaEva lean_mark_persistent(l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7); l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1 = _init_l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079____closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1079_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083____closed__4); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1083_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_whnfRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_whnfRef); lean_dec_ref(res); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1711_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1717_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_inferTypeRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_inferTypeRef); lean_dec_ref(res); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1768_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1775_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_isExprDefEqAuxRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxRef); lean_dec_ref(res); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1833_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1842_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_synthPendingRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_synthPendingRef); diff --git a/stage0/stdlib/Lean/Meta/Check.c b/stage0/stdlib/Lean/Meta/Check.c index 6a21b1aa90..923a74658a 100644 --- a/stage0/stdlib/Lean/Meta/Check.c +++ b/stage0/stdlib/Lean/Meta/Check.c @@ -169,7 +169,7 @@ static lean_object* l_Lean_Meta_addPPExplicitToExposeDiff___closed__6; static lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__9; lean_object* l_Lean_throwError___at_Lean_Meta_throwLetTypeMismatchMessage___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1914_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1971_(lean_object*); lean_object* l_Lean_Meta_addPPExplicitToExposeDiff_hasExplicitDiff(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__4; lean_object* l___private_Lean_Meta_Check_0__Lean_Meta_checkAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6043,140 +6043,119 @@ return x_15; } else { -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_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; x_16 = lean_ctor_get(x_7, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_7, 1); lean_inc(x_17); -lean_dec(x_7); -x_18 = lean_st_ref_get(x_5, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -lean_dec(x_20); -if (x_21 == 0) -{ -uint8_t x_22; -lean_dec(x_16); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_18, 0); -lean_dec(x_23); -x_24 = 0; -x_25 = lean_box(x_24); -lean_ctor_set(x_18, 0, x_25); -return x_18; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_18 = x_7; +} else { + lean_dec_ref(x_7); + x_18 = lean_box(0); } -else +x_19 = l_Lean_Meta_isTypeCorrect___closed__2; +x_36 = lean_st_ref_get(x_5, x_17); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_dec(x_18); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_18, 1); -lean_inc(x_30); -lean_dec(x_18); -x_31 = l_Lean_Meta_isTypeCorrect___closed__2; -x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_31, x_2, x_3, x_4, x_5, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) -{ -uint8_t x_35; -lean_dec(x_16); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_32, 0); +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); lean_dec(x_36); -x_37 = 0; -x_38 = lean_box(x_37); -lean_ctor_set(x_32, 0, x_38); -return x_32; +x_41 = 0; +x_20 = x_41; +x_21 = x_40; +goto block_35; } else { -lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_dec(x_32); -x_40 = 0; -x_41 = lean_box(x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_39); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_19, x_2, x_3, x_4, x_5, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_20 = x_46; +x_21 = x_45; +goto block_35; } -} -else +block_35: { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_ctor_get(x_32, 1); -lean_inc(x_43); -lean_dec(x_32); -x_44 = l_Lean_Exception_toMessageData(x_16); -x_45 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_31, x_44, x_2, x_3, x_4, x_5, x_43); +if (x_20 == 0) +{ +uint8_t x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = 0; -x_49 = lean_box(x_48); -lean_ctor_set(x_45, 0, x_49); -return x_45; +x_22 = 0; +x_23 = lean_box(x_22); +if (lean_is_scalar(x_18)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_18; + lean_ctor_set_tag(x_24, 0); +} +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_21); +return x_24; } else { -lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_dec(x_45); -x_51 = 0; -x_52 = lean_box(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_50); -return x_53; +lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_18); +x_25 = l_Lean_Exception_toMessageData(x_16); +x_26 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_19, x_25, x_2, x_3, x_4, x_5, x_21); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +x_29 = 0; +x_30 = lean_box(x_29); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = 0; +x_33 = lean_box(x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } } } } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1914_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1971_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6319,7 +6298,7 @@ l_Lean_Meta_isTypeCorrect___closed__1 = _init_l_Lean_Meta_isTypeCorrect___closed lean_mark_persistent(l_Lean_Meta_isTypeCorrect___closed__1); l_Lean_Meta_isTypeCorrect___closed__2 = _init_l_Lean_Meta_isTypeCorrect___closed__2(); lean_mark_persistent(l_Lean_Meta_isTypeCorrect___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1914_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Check___hyg_1971_(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/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index d57229b5e0..7d7008e01e 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -23,7 +23,6 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_process___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__14; -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkAuxDefinition___closed__3; @@ -55,7 +54,6 @@ static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__7; lean_object* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); lean_object* l_Lean_throwKernelException___at_Lean_Meta_mkAuxDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Level_hash(lean_object*); -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__6; lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Meta_mkAuxDefinition___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux_match__2___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_Meta_Closure_visitLevel_match__1(lean_object*); @@ -73,7 +71,6 @@ extern lean_object* l_Lean_auxRecExt; static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__15; lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__3; -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__10; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__2(lean_object*, lean_object*); @@ -107,6 +104,7 @@ uint8_t l_Lean_Expr_hasLevelParam(lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3; lean_object* l_Lean_Meta_Closure_collectExprAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -124,7 +122,6 @@ lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__7; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_State_visitedLevel___default; lean_object* l_Array_back___at_Lean_Meta_Closure_pickNextToProcess_x3f___spec__1(lean_object*); @@ -144,6 +141,7 @@ lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object*, lean_objec static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__5; lean_object* l_Lean_Meta_Closure_collectExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkNextUserName(lean_object*); +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4; extern lean_object* l_Lean_instInhabitedExpr; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_getMaxHeight(lean_object*, lean_object*); @@ -154,6 +152,7 @@ lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_instInhabitedLocalDecl; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6; lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__11; lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f_match__1___rarg(lean_object*, lean_object*); @@ -178,10 +177,12 @@ lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg(lean_object*, lean_object lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__13; lean_object* l_Lean_Meta_Closure_State_levelParams___default; +lean_object* l_Lean_Meta_mkAuxDefinition___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__7; static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__10; lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); lean_object* l_Lean_Meta_Closure_pushLocalDecl___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_Meta_mkAuxDefinition___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__1; extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_Meta_Closure_collectLevelAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,6 +199,7 @@ lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Meta_Closure_State_visitedExpr___default; static lean_object* l_Lean_Meta_Closure_State_visitedLevel___default___closed__1; lean_object* lean_expr_update_sort(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2; lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__2___boxed(lean_object*, lean_object*); @@ -206,7 +208,9 @@ uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_Closure_collectLevelAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__4; lean_object* l_Lean_Meta_Closure_mkValueTypeClosure_match__1(lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___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_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1; lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitLevel___spec__5(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__1; @@ -217,6 +221,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec_ lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(lean_object*, lean_object*, lean_object*, 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*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement___closed__1; lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,7 +235,6 @@ lean_object* l_Lean_Meta_Closure_mkForall___boxed(lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__3; lean_object* l_Lean_Meta_Closure_mkValueTypeClosure_match__1___rarg(lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__9; lean_object* l_Lean_Meta_mkAuxDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* lean_level_update_succ(lean_object*, lean_object*); @@ -262,6 +266,7 @@ lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkForall___spec__1___boxe lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__12; +static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5; lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_State_visitedExpr___default___closed__1; @@ -272,7 +277,6 @@ lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_State_newLetDecls___default; -static lean_object* l_Lean_Meta_mkAuxDefinition___closed__8; uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Lean_Meta_Closure_process_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); @@ -13422,6 +13426,373 @@ lean_ctor_set(x_14, 1, x_8); return x_14; } } +lean_object* l_Lean_Meta_mkAuxDefinition___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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_inc(x_8); +x_11 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +if (x_4 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_box(0); +x_14 = l_Lean_Meta_mkAuxDefinition___lambda__1(x_2, x_3, x_13, x_6, x_7, x_8, x_9, x_12); +lean_dec(x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_8); +x_16 = l_Lean_compileDecl___at_Lean_Meta_mkAuxDefinition___spec__3(x_1, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +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); +x_19 = l_Lean_Meta_mkAuxDefinition___lambda__1(x_2, x_3, x_17, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_8); +lean_dec(x_17); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +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_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) +{ +return x_11; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_11); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" : "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" := "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_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) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_13 = l_Lean_Meta_Closure_mkValueTypeClosure(x_1, x_2, x_3, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_26; uint32_t x_27; uint32_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; uint8_t x_32; +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_st_ref_get(x_11, x_15); +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); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_14, 0); +lean_inc(x_20); +x_21 = lean_array_to_list(lean_box(0), x_20); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_22); +lean_inc(x_4); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_ctor_get(x_14, 2); +lean_inc(x_24); +lean_inc(x_24); +lean_inc(x_19); +x_25 = l_Lean_getMaxHeight(x_19, x_24); +x_26 = lean_unbox_uint32(x_25); +lean_dec(x_25); +x_27 = 1; +x_28 = x_26 + x_27; +x_29 = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(x_29, 0, x_28); +lean_inc(x_22); +lean_inc(x_19); +x_30 = l_Lean_Environment_hasUnsafe(x_19, x_22); +x_31 = lean_st_ref_get(x_11, x_18); +if (x_30 == 0) +{ +uint8_t x_67; +lean_inc(x_24); +x_67 = l_Lean_Environment_hasUnsafe(x_19, x_24); +if (x_67 == 0) +{ +uint8_t x_68; +x_68 = 1; +x_32 = x_68; +goto block_66; +} +else +{ +uint8_t x_69; +x_69 = 0; +x_32 = x_69; +goto block_66; +} +} +else +{ +uint8_t x_70; +lean_dec(x_19); +x_70 = 0; +x_32 = x_70; +goto block_66; +} +block_66: +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_inc(x_24); +x_33 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_32); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_56 = lean_ctor_get(x_31, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 3); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_31, 1); +lean_inc(x_59); +lean_dec(x_31); +x_60 = 0; +x_35 = x_60; +x_36 = x_59; +goto block_55; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_61 = lean_ctor_get(x_31, 1); +lean_inc(x_61); +lean_dec(x_31); +lean_inc(x_6); +x_62 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_6, x_8, x_9, x_10, x_11, 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_unbox(x_63); +lean_dec(x_63); +x_35 = x_65; +x_36 = x_64; +goto block_55; +} +block_55: +{ +if (x_35 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_6); +x_37 = lean_box(0); +x_38 = l_Lean_Meta_mkAuxDefinition___lambda__2(x_34, x_14, x_4, x_5, x_37, x_8, x_9, x_10, x_11, x_36); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_inc(x_4); +x_39 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_39, 0, x_4); +x_40 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_44, 0, x_22); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_48, 0, x_24); +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_40); +x_51 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_6, x_50, x_8, x_9, x_10, x_11, x_36); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_Meta_mkAuxDefinition___lambda__2(x_34, x_14, x_4, x_5, x_52, x_8, x_9, x_10, x_11, x_53); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_52); +return x_54; +} +} +} +} +else +{ +uint8_t x_71; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +x_71 = !lean_is_exclusive(x_13); +if (x_71 == 0) +{ +return x_13; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_13, 0); +x_73 = lean_ctor_get(x_13, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_13); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +} static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__1() { _start: { @@ -13458,458 +13829,99 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkAuxDefinition___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" : "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkAuxDefinition___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" := "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_mkAuxDefinition___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkAuxDefinition___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_mkAuxDefinition(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; uint8_t x_92; lean_object* x_93; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_110 = lean_st_ref_get(x_9, x_10); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_111, 3); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); -lean_dec(x_112); -if (x_113 == 0) +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_11 = l_Lean_Meta_mkAuxDefinition___closed__4; +x_33 = lean_st_ref_get(x_9, x_10); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) { -lean_object* x_114; uint8_t x_115; -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_115 = 0; -x_92 = x_115; -x_93 = x_114; -goto block_109; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_116 = lean_ctor_get(x_110, 1); -lean_inc(x_116); -lean_dec(x_110); -x_117 = l_Lean_Meta_mkAuxDefinition___closed__4; -x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_117, x_6, x_7, x_8, x_9, x_116); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_unbox(x_119); -lean_dec(x_119); -x_92 = x_121; -x_93 = x_120; -goto block_109; -} -block_91: -{ -lean_object* x_12; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_12 = l_Lean_Meta_Closure_mkValueTypeClosure(x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint32_t x_25; uint32_t x_26; uint32_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; -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_get(x_9, 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); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_13, 0); -lean_inc(x_19); -x_20 = lean_array_to_list(lean_box(0), x_19); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); -lean_inc(x_21); -lean_inc(x_1); -x_22 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_21); -x_23 = lean_ctor_get(x_13, 2); -lean_inc(x_23); -lean_inc(x_23); -lean_inc(x_18); -x_24 = l_Lean_getMaxHeight(x_18, x_23); -x_25 = lean_unbox_uint32(x_24); -lean_dec(x_24); -x_26 = 1; -x_27 = x_25 + x_26; -x_28 = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(x_28, 0, x_27); -lean_inc(x_21); -lean_inc(x_18); -x_29 = l_Lean_Environment_hasUnsafe(x_18, x_21); -x_30 = lean_st_ref_get(x_9, x_17); -if (x_29 == 0) -{ -uint8_t x_83; -lean_inc(x_23); -x_83 = l_Lean_Environment_hasUnsafe(x_18, x_23); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = 1; -x_31 = x_84; -goto block_82; -} -else -{ -uint8_t x_85; -x_85 = 0; -x_31 = x_85; -goto block_82; -} -} -else -{ -uint8_t x_86; -lean_dec(x_18); -x_86 = 0; -x_31 = x_86; -goto block_82; -} -block_82: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_53; lean_object* x_54; lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_inc(x_23); -x_32 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_32, 0, x_22); -lean_ctor_set(x_32, 1, x_23); -lean_ctor_set(x_32, 2, x_28); -lean_ctor_set_uint8(x_32, sizeof(void*)*3, x_31); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_71 = lean_ctor_get(x_30, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_30, 1); -lean_inc(x_74); -lean_dec(x_30); -x_75 = 0; -x_53 = x_75; -x_54 = x_74; -goto block_70; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_76 = lean_ctor_get(x_30, 1); -lean_inc(x_76); -lean_dec(x_30); -x_77 = l_Lean_Meta_mkAuxDefinition___closed__4; -x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_77, x_6, x_7, x_8, x_9, x_76); -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_53 = x_81; -x_54 = x_80; -goto block_70; -} -block_52: -{ -lean_object* x_35; -lean_inc(x_8); -x_35 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(x_33, x_6, x_7, x_8, x_9, x_34); -if (lean_obj_tag(x_35) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); lean_dec(x_33); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_box(0); -x_38 = l_Lean_Meta_mkAuxDefinition___lambda__1(x_13, x_1, x_37, x_6, x_7, x_8, x_9, x_36); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_38; +x_38 = 0; +x_12 = x_38; +x_13 = x_37; +goto block_32; } else { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_35, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); lean_inc(x_39); -lean_dec(x_35); -lean_inc(x_8); -x_40 = l_Lean_compileDecl___at_Lean_Meta_mkAuxDefinition___spec__3(x_33, x_6, x_7, x_8, x_9, x_39); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_33); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_11, x_6, x_7, x_8, x_9, x_39); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Meta_mkAuxDefinition___lambda__1(x_13, x_1, x_41, x_6, x_7, x_8, x_9, x_42); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +x_43 = lean_unbox(x_41); lean_dec(x_41); -return x_43; +x_12 = x_43; +x_13 = x_42; +goto block_32; +} +block_32: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Meta_mkAuxDefinition___lambda__3(x_2, x_3, x_4, x_1, x_5, x_11, x_14, x_6, x_7, x_8, x_9, x_13); +return x_15; } else { -uint8_t x_44; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_40); -if (x_44 == 0) -{ -return x_40; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_40, 0); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_40); -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; -} -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_33); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_48 = !lean_is_exclusive(x_35); -if (x_48 == 0) -{ -return x_35; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_35, 0); -x_50 = lean_ctor_get(x_35, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_35); -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; -} -} -} -block_70: -{ -if (x_53 == 0) -{ -lean_dec(x_23); -lean_dec(x_21); -x_34 = x_54; -goto block_52; -} -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; 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_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_inc(x_1); -x_55 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_55, 0, x_1); -x_56 = l_Lean_Meta_mkAuxDefinition___closed__6; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l_Lean_Meta_mkAuxDefinition___closed__8; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_60, 0, x_21); -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_Meta_mkAuxDefinition___closed__10; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_64, 0, x_23); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_56); -x_67 = l_Lean_Meta_mkAuxDefinition___closed__4; -x_68 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_67, x_66, x_6, x_7, x_8, x_9, x_54); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_34 = x_69; -goto block_52; -} -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_87 = !lean_is_exclusive(x_12); -if (x_87 == 0) -{ -return x_12; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_12, 0); -x_89 = lean_ctor_get(x_12, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_12); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -block_109: -{ -if (x_92 == 0) -{ -x_11 = x_93; -goto block_91; -} -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; 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_inc(x_1); -x_94 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_94, 0, x_1); -x_95 = l_Lean_Meta_mkAuxDefinition___closed__6; -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_Lean_Meta_mkAuxDefinition___closed__8; -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_16 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_16, 0, x_1); +x_17 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); lean_inc(x_2); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_2); -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_Lean_Meta_mkAuxDefinition___closed__10; -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_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_2); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); lean_inc(x_3); -x_103 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_103, 0, x_3); -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_95); -x_106 = l_Lean_Meta_mkAuxDefinition___closed__4; -x_107 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_106, x_105, x_6, x_7, x_8, x_9, x_93); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_11 = x_108; -goto block_91; +x_25 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_25, 0, x_3); +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_17); +x_28 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_11, x_27, x_6, x_7, x_8, x_9, x_13); +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 = l_Lean_Meta_mkAuxDefinition___lambda__3(x_2, x_3, x_4, x_1, x_5, x_11, x_29, x_6, x_7, x_8, x_9, x_30); +lean_dec(x_29); +return x_31; } } } @@ -14030,6 +14042,33 @@ lean_dec(x_3); return x_9; } } +lean_object* l_Lean_Meta_mkAuxDefinition___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) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_4); +lean_dec(x_4); +x_12 = l_Lean_Meta_mkAuxDefinition___lambda__2(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_3); +lean_dec(x_3); +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_mkAuxDefinition___lambda__3(x_1, x_2, x_13, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +return x_15; +} +} lean_object* l_Lean_Meta_mkAuxDefinition___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: { @@ -14239,6 +14278,18 @@ l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__3 = _init_l_Lis lean_mark_persistent(l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__3); l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__4 = _init_l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__4(); lean_mark_persistent(l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___closed__4); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__1); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5); +l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6 = _init_l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___lambda__3___closed__6); l_Lean_Meta_mkAuxDefinition___closed__1 = _init_l_Lean_Meta_mkAuxDefinition___closed__1(); lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__1); l_Lean_Meta_mkAuxDefinition___closed__2 = _init_l_Lean_Meta_mkAuxDefinition___closed__2(); @@ -14247,18 +14298,6 @@ l_Lean_Meta_mkAuxDefinition___closed__3 = _init_l_Lean_Meta_mkAuxDefinition___cl lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__3); l_Lean_Meta_mkAuxDefinition___closed__4 = _init_l_Lean_Meta_mkAuxDefinition___closed__4(); lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__4); -l_Lean_Meta_mkAuxDefinition___closed__5 = _init_l_Lean_Meta_mkAuxDefinition___closed__5(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__5); -l_Lean_Meta_mkAuxDefinition___closed__6 = _init_l_Lean_Meta_mkAuxDefinition___closed__6(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__6); -l_Lean_Meta_mkAuxDefinition___closed__7 = _init_l_Lean_Meta_mkAuxDefinition___closed__7(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__7); -l_Lean_Meta_mkAuxDefinition___closed__8 = _init_l_Lean_Meta_mkAuxDefinition___closed__8(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__8); -l_Lean_Meta_mkAuxDefinition___closed__9 = _init_l_Lean_Meta_mkAuxDefinition___closed__9(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__9); -l_Lean_Meta_mkAuxDefinition___closed__10 = _init_l_Lean_Meta_mkAuxDefinition___closed__10(); -lean_mark_persistent(l_Lean_Meta_mkAuxDefinition___closed__10); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index d47d8582e2..9ace56576e 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -63,8 +63,8 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic_match__1__ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux_match__1(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__49___closed__1; -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637_(lean_object*); -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650_(lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828_(lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815_(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,10 +73,12 @@ lean_object* l_Lean_Meta_CheckAssignment_checkMVar_match__1___rarg(lean_object*, lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_isDefEqStringLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM; +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldNonProjFnDefEq___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_Lean_Meta_CheckAssignment_checkMVar___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux(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_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___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* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_HashSetImp_contains___at_Lean_NameHashSet_contains___spec__1(lean_object*, lean_object*); @@ -89,22 +91,25 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isLetFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__37(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__24(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_occursCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___lambda__1___boxed(lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getExprAssignment_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___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* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3; lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l___private_Lean_Expr_0__Lean_Expr_etaExpandedAux(lean_object*, lean_object*); @@ -123,6 +128,7 @@ lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_objec lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__58___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBinding(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__14(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,14 +140,15 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDe uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkMVar_match__1(lean_object*); extern lean_object* l_Lean_MessageData_nil; +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); uint8_t l_Lean_LocalContext_containsFVar(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldComparingHeadsDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed__const__1; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___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_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDelayedAssignedHead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__5; @@ -160,11 +167,12 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___ lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___closed__3; +static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux_match__3(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__32___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__7(lean_object*, lean_object*, size_t, size_t); @@ -172,19 +180,19 @@ lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_o lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__39___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending_match__1(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__47(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2; lean_object* l_Lean_Meta_isDefEqNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1; lean_object* l_Lean_Meta_CheckAssignment_checkFVar_match__1(lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___closed__2; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__26___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__30(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__34(lean_object*, lean_object*, size_t, size_t); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___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_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -193,6 +201,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOth uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__41(lean_object*, lean_object*, size_t, size_t); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,6 +219,7 @@ static lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___s static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1; lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1; uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1; lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,8 +227,10 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f_m lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__7; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___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*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; lean_object* l_Lean_Meta_isLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId; @@ -240,6 +252,7 @@ lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___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_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__13(lean_object*, lean_object*, size_t, size_t); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__42(lean_object*, lean_object*, size_t, size_t); @@ -256,6 +269,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__2___b lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_checkApp___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_Lean_Meta_isExprDefEqAuxImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__46___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__3; @@ -268,13 +282,13 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___sp lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton___lambda__2(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_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__3; lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__6; -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); lean_object* lean_local_ctx_get(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadRefCoreM; @@ -299,13 +313,12 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApp lean_object* l_Lean_Meta_isDefEqNative_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___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_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_assignToConstFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__2(lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1; lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet___boxed(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__8(lean_object*, lean_object*, size_t, size_t); @@ -339,7 +352,6 @@ lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__ lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(lean_object*); extern lean_object* l_Lean_Core_instMonadTraceCoreM; -static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__4; uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__32(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__1(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__3; @@ -381,6 +393,8 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSin lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs_processOtherArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -398,6 +412,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApp lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqLiteral____x40_Lean_Expr___hyg_30_(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1; static lean_object* l_Lean_Meta_CheckAssignment_check___closed__6; static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__2; uint8_t l_Lean_Expr_isConst(lean_object*); @@ -424,16 +439,19 @@ lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__2(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Meta_isDefEqBindingDomain_loop_match__1(lean_object*); lean_object* l_Std_HashSetImp_insert___at_Lean_NameHashSet_insert___spec__1(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_hints(lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___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* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -449,15 +467,15 @@ uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__12___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___closed__1; +lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__8; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5; lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqMVarSelf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1; extern lean_object* l_Lean_Meta_instInhabitedParamInfo; uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__33(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__5; size_t l_USize_land(size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__59___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -465,6 +483,7 @@ extern lean_object* l_Lean_projectionFnInfoExt; uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__1; +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); @@ -482,7 +501,7 @@ static lean_object* l_Lean_Meta_CheckAssignment_check___closed__1; lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; -static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__3; +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__2; lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___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_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_CheckAssignment_checkMVar___spec__45(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -493,15 +512,18 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__1; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__1; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__2; lean_object* l_Lean_LocalDecl_index(lean_object*); uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1; lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_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* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -515,8 +537,10 @@ static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__7; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f_match__1(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; uint8_t l_Lean_Expr_isMVar(lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadTrace___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -564,6 +588,7 @@ lean_object* l_Lean_Meta_checkAssignment_match__1(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop_match__1(lean_object*); lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; @@ -592,12 +617,13 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWi static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned_match__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10079_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10790_(lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__59(lean_object*, size_t, size_t, lean_object*); @@ -608,7 +634,6 @@ lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__L static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(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_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2; lean_object* l_Lean_Meta_isDelayedAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__3; @@ -623,6 +648,7 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___spec__4___closed__4; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__11; @@ -631,6 +657,7 @@ lean_object* l_Lean_Meta_checkAssignment_match__1___rarg(lean_object*, lean_obje lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__4; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -640,6 +667,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAs lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MapDeclarationExtension_contains___at_Lean_Environment_isProjectionFn___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(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* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqNative_match__1(lean_object*); uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*); @@ -657,6 +685,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldDefEq(lean_objec lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -675,7 +704,6 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprM lean_object* lean_local_ctx_find(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___spec__4___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet_match__1(lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux_match__1(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__29(lean_object*, lean_object*, size_t, size_t); lean_object* lean_usize_to_nat(size_t); @@ -707,9 +735,9 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol_match__ lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1; static lean_object* l_Lean_Meta_CheckAssignment_check___closed__9; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2; lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_checkMVar___spec__44___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -720,6 +748,7 @@ uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar__ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___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*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; lean_object* l_Lean_Meta_isProofQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAddMessageContextMetaM; @@ -745,7 +774,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned(lean_object uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ForEachExpr_visit___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_match__1(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5131,6 +5159,50 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___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) { +_start: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; +x_7 = 0; +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Expr_mvarId_x21(x_1); +x_10 = l_Lean_Meta_assignExprMVar(x_9, x_2, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +lean_dec(x_12); +x_13 = 1; +x_14 = lean_box(x_13); +lean_ctor_set(x_10, 0, x_14); +return x_10; +} +else +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = 1; +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_15); +return x_18; +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__1() { _start: { @@ -5225,20 +5297,28 @@ static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkType _start: { lean_object* x_1; -x_1 = lean_mk_string(""); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1___boxed), 6, 0); return x_1; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12() { _start: { +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14() { _start: { lean_object* x_1; @@ -5246,16 +5326,16 @@ x_1 = lean_mk_string(" : "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16() { _start: { lean_object* x_1; @@ -5263,16 +5343,16 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18() { _start: { lean_object* x_1; @@ -5280,17 +5360,17 @@ x_1 = lean_mk_string("final"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20() { _start: { lean_object* x_1; @@ -5298,11 +5378,11 @@ x_1 = lean_mk_string("metavariable expected at "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -5315,17 +5395,17 @@ x_21 = l_Lean_Expr_isMVar(x_1); x_22 = lean_st_ref_get(x_6, x_7); if (x_21 == 0) { -uint8_t x_935; -x_935 = 1; -x_23 = x_935; -goto block_934; +uint8_t x_1075; +x_1075 = 1; +x_23 = x_1075; +goto block_1074; } else { -uint8_t x_936; -x_936 = 0; -x_23 = x_936; -goto block_934; +uint8_t x_1076; +x_1076 = 0; +x_23 = x_1076; +goto block_1074; } block_20: { @@ -5383,64 +5463,64 @@ return x_19; } } } -block_934: +block_1074: { uint8_t x_24; if (x_23 == 0) { -uint8_t x_932; -x_932 = 0; -x_24 = x_932; -goto block_931; +uint8_t x_1072; +x_1072 = 0; +x_24 = x_1072; +goto block_1071; } else { -uint8_t x_933; -x_933 = 1; -x_24 = x_933; -goto block_931; +uint8_t x_1073; +x_1073 = 1; +x_24 = x_1073; +goto block_1071; } -block_931: +block_1071: { -uint8_t x_25; lean_object* x_26; lean_object* x_920; lean_object* x_921; uint8_t x_922; -x_920 = lean_ctor_get(x_22, 0); -lean_inc(x_920); -x_921 = lean_ctor_get(x_920, 3); -lean_inc(x_921); -lean_dec(x_920); -x_922 = lean_ctor_get_uint8(x_921, sizeof(void*)*1); -lean_dec(x_921); -if (x_922 == 0) +uint8_t x_25; lean_object* x_26; lean_object* x_1060; lean_object* x_1061; uint8_t x_1062; +x_1060 = lean_ctor_get(x_22, 0); +lean_inc(x_1060); +x_1061 = lean_ctor_get(x_1060, 3); +lean_inc(x_1061); +lean_dec(x_1060); +x_1062 = lean_ctor_get_uint8(x_1061, sizeof(void*)*1); +lean_dec(x_1061); +if (x_1062 == 0) { -lean_object* x_923; uint8_t x_924; -x_923 = lean_ctor_get(x_22, 1); -lean_inc(x_923); +lean_object* x_1063; uint8_t x_1064; +x_1063 = lean_ctor_get(x_22, 1); +lean_inc(x_1063); lean_dec(x_22); -x_924 = 0; -x_25 = x_924; -x_26 = x_923; -goto block_919; +x_1064 = 0; +x_25 = x_1064; +x_26 = x_1063; +goto block_1059; } else { -lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; uint8_t x_930; -x_925 = lean_ctor_get(x_22, 1); -lean_inc(x_925); +lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; uint8_t x_1070; +x_1065 = lean_ctor_get(x_22, 1); +lean_inc(x_1065); lean_dec(x_22); -x_926 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -x_927 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_926, x_3, x_4, x_5, x_6, x_925); -x_928 = lean_ctor_get(x_927, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_927, 1); -lean_inc(x_929); -lean_dec(x_927); -x_930 = lean_unbox(x_928); -lean_dec(x_928); -x_25 = x_930; -x_26 = x_929; -goto block_919; +x_1066 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +x_1067 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1066, x_3, x_4, x_5, x_6, x_1065); +x_1068 = lean_ctor_get(x_1067, 0); +lean_inc(x_1068); +x_1069 = lean_ctor_get(x_1067, 1); +lean_inc(x_1069); +lean_dec(x_1067); +x_1070 = lean_unbox(x_1068); +lean_dec(x_1068); +x_25 = x_1070; +x_26 = x_1069; +goto block_1059; } -block_919: +block_1059: { if (x_25 == 0) { @@ -5545,500 +5625,612 @@ x_140 = lean_unbox(x_139); lean_dec(x_139); if (x_140 == 0) { -lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; +lean_object* x_141; lean_object* x_142; uint8_t x_143; lean_object* x_144; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; x_141 = lean_ctor_get(x_138, 1); lean_inc(x_141); lean_dec(x_138); -x_163 = lean_st_ref_get(x_6, x_141); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_164, 3); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_ctor_get_uint8(x_165, sizeof(void*)*1); -lean_dec(x_165); -if (x_166 == 0) -{ -lean_object* x_167; -x_167 = lean_ctor_get(x_163, 1); -lean_inc(x_167); -lean_dec(x_163); -x_142 = x_39; -x_143 = x_167; -goto block_162; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_168 = lean_ctor_get(x_163, 1); -lean_inc(x_168); -lean_dec(x_163); -x_169 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_170 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_169, x_3, x_4, x_5, x_6, x_168); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_142 = x_173; -x_143 = x_172; -goto block_162; -} -block_162: -{ -if (x_142 == 0) -{ -lean_dec(x_130); -lean_dec(x_126); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = x_39; -x_43 = x_143; -goto block_90; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_144 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_144, 0, x_1); -x_145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_146 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_144); -x_147 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_148 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_149, 0, x_126); -x_150 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -x_151 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_152 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_153, 0, x_2); -x_154 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_147); -x_156 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_156, 0, x_130); -x_157 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_145); -x_159 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_160 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_159, x_158, x_3, x_4, x_5, x_6, x_143); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_42 = x_39; -x_43 = x_161; -goto block_90; -} -} -} -else -{ -lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; -lean_dec(x_130); -lean_dec(x_126); -x_174 = lean_ctor_get(x_138, 1); -lean_inc(x_174); -lean_dec(x_138); -x_197 = lean_st_ref_get(x_6, x_174); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_198, 3); -lean_inc(x_199); -lean_dec(x_198); -x_200 = lean_ctor_get_uint8(x_199, sizeof(void*)*1); -lean_dec(x_199); -if (x_200 == 0) -{ -lean_object* x_201; -x_201 = lean_ctor_get(x_197, 1); -lean_inc(x_201); -lean_dec(x_197); -x_175 = x_39; -x_176 = x_201; -goto block_196; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -x_202 = lean_ctor_get(x_197, 1); -lean_inc(x_202); -lean_dec(x_197); -x_203 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_204 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_203, x_3, x_4, x_5, x_6, x_202); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = lean_unbox(x_205); -lean_dec(x_205); -x_175 = x_207; -x_176 = x_206; -goto block_196; -} -block_196: -{ -if (x_175 == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_177 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_178 = l_Lean_Meta_assignExprMVar(x_177, x_2, x_3, x_4, x_5, x_6, x_176); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_179 = lean_ctor_get(x_178, 1); +x_142 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_178 = lean_st_ref_get(x_6, x_141); +x_179 = lean_ctor_get(x_178, 0); lean_inc(x_179); +x_180 = lean_ctor_get(x_179, 3); +lean_inc(x_180); +lean_dec(x_179); +x_181 = lean_ctor_get_uint8(x_180, sizeof(void*)*1); +lean_dec(x_180); +if (x_181 == 0) +{ +lean_object* x_182; +x_182 = lean_ctor_get(x_178, 1); +lean_inc(x_182); lean_dec(x_178); -x_180 = 1; -x_42 = x_180; -x_43 = x_179; -goto block_90; +x_143 = x_39; +x_144 = x_182; +goto block_177; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; -lean_inc(x_1); -x_181 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_181, 0, x_1); -x_182 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_183 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_185 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -lean_inc(x_2); -x_186 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_186, 0, x_2); -x_187 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_182); -x_189 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_190 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_189, x_188, x_3, x_4, x_5, x_6, x_176); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -lean_dec(x_190); -x_192 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_193 = l_Lean_Meta_assignExprMVar(x_192, x_2, x_3, x_4, x_5, x_6, x_191); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); -lean_dec(x_193); -x_195 = 1; -x_42 = x_195; -x_43 = x_194; -goto block_90; +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; +x_183 = lean_ctor_get(x_178, 1); +lean_inc(x_183); +lean_dec(x_178); +x_184 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_142, x_3, x_4, x_5, x_6, x_183); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +x_187 = lean_unbox(x_185); +lean_dec(x_185); +x_143 = x_187; +x_144 = x_186; +goto block_177; } -} -} -} -else +block_177: { -lean_object* x_208; lean_object* x_209; +lean_object* x_145; +x_145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_143 == 0) +{ +lean_object* x_146; lean_object* x_147; lean_dec(x_130); lean_dec(x_126); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_208 = lean_ctor_get(x_138, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_138, 1); -lean_inc(x_209); -lean_dec(x_138); -x_91 = x_208; -x_92 = x_209; +x_146 = lean_box(0); +lean_inc(x_6); +x_147 = lean_apply_6(x_145, x_146, x_3, x_4, x_5, x_6, x_144); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unbox(x_148); +lean_dec(x_148); +x_42 = x_150; +x_43 = x_149; +goto block_90; +} +else +{ +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_147, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_147, 1); +lean_inc(x_152); +lean_dec(x_147); +x_91 = x_151; +x_92 = x_152; goto block_124; } } else { -uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_210 = lean_ctor_get_uint8(x_129, 0); -x_211 = lean_ctor_get_uint8(x_129, 1); -x_212 = lean_ctor_get_uint8(x_129, 2); -x_213 = lean_ctor_get_uint8(x_129, 3); -x_214 = lean_ctor_get_uint8(x_129, 4); -x_215 = lean_ctor_get_uint8(x_129, 6); -x_216 = lean_ctor_get_uint8(x_129, 7); -x_217 = lean_ctor_get_uint8(x_129, 8); -x_218 = lean_ctor_get_uint8(x_129, 9); +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_153 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_153, 0, x_1); +x_154 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_155 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +x_156 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_157 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_158, 0, x_126); +x_159 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_160 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +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 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_162, 0, x_2); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_156); +x_165 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_165, 0, x_130); +x_166 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_154); +x_168 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_142, x_167, x_3, x_4, x_5, x_6, x_144); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +lean_inc(x_6); +x_171 = lean_apply_6(x_145, x_169, x_3, x_4, x_5, x_6, x_170); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; uint8_t x_174; +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_unbox(x_172); +lean_dec(x_172); +x_42 = x_174; +x_43 = x_173; +goto block_90; +} +else +{ +lean_object* x_175; lean_object* x_176; +x_175 = lean_ctor_get(x_171, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_dec(x_171); +x_91 = x_175; +x_92 = x_176; +goto block_124; +} +} +} +} +else +{ +lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +lean_dec(x_130); +lean_dec(x_126); +x_188 = lean_ctor_get(x_138, 1); +lean_inc(x_188); +lean_dec(x_138); +x_189 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_213 = lean_st_ref_get(x_6, x_188); +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_214, 3); +lean_inc(x_215); +lean_dec(x_214); +x_216 = lean_ctor_get_uint8(x_215, sizeof(void*)*1); +lean_dec(x_215); +if (x_216 == 0) +{ +lean_object* x_217; +x_217 = lean_ctor_get(x_213, 1); +lean_inc(x_217); +lean_dec(x_213); +x_190 = x_39; +x_191 = x_217; +goto block_212; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_218 = lean_ctor_get(x_213, 1); +lean_inc(x_218); +lean_dec(x_213); +x_219 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_189, x_3, x_4, x_5, x_6, x_218); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = lean_unbox(x_220); +lean_dec(x_220); +x_190 = x_222; +x_191 = x_221; +goto block_212; +} +block_212: +{ +if (x_190 == 0) +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +x_192 = lean_box(0); +x_193 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_192, x_3, x_4, x_5, x_6, x_191); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +lean_dec(x_193); +x_196 = lean_unbox(x_194); +lean_dec(x_194); +x_42 = x_196; +x_43 = x_195; +goto block_90; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +lean_inc(x_1); +x_197 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_197, 0, x_1); +x_198 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_201 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +lean_inc(x_2); +x_202 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_202, 0, x_2); +x_203 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_198); +x_205 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_189, x_204, x_3, x_4, x_5, x_6, x_191); +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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_206, x_3, x_4, x_5, x_6, x_207); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_206); +lean_dec(x_1); +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); +lean_dec(x_208); +x_211 = lean_unbox(x_209); +lean_dec(x_209); +x_42 = x_211; +x_43 = x_210; +goto block_90; +} +} +} +} +else +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_130); +lean_dec(x_126); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_223 = lean_ctor_get(x_138, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_138, 1); +lean_inc(x_224); +lean_dec(x_138); +x_91 = x_223; +x_92 = x_224; +goto block_124; +} +} +else +{ +uint8_t x_225; uint8_t x_226; uint8_t x_227; uint8_t x_228; uint8_t x_229; uint8_t x_230; uint8_t x_231; uint8_t x_232; uint8_t x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_225 = lean_ctor_get_uint8(x_129, 0); +x_226 = lean_ctor_get_uint8(x_129, 1); +x_227 = lean_ctor_get_uint8(x_129, 2); +x_228 = lean_ctor_get_uint8(x_129, 3); +x_229 = lean_ctor_get_uint8(x_129, 4); +x_230 = lean_ctor_get_uint8(x_129, 6); +x_231 = lean_ctor_get_uint8(x_129, 7); +x_232 = lean_ctor_get_uint8(x_129, 8); +x_233 = lean_ctor_get_uint8(x_129, 9); lean_dec(x_129); -x_219 = 1; -x_220 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_220, 0, x_210); -lean_ctor_set_uint8(x_220, 1, x_211); -lean_ctor_set_uint8(x_220, 2, x_212); -lean_ctor_set_uint8(x_220, 3, x_213); -lean_ctor_set_uint8(x_220, 4, x_214); -lean_ctor_set_uint8(x_220, 5, x_219); -lean_ctor_set_uint8(x_220, 6, x_215); -lean_ctor_set_uint8(x_220, 7, x_216); -lean_ctor_set_uint8(x_220, 8, x_217); -lean_ctor_set_uint8(x_220, 9, x_218); -x_221 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_132); -lean_ctor_set(x_221, 2, x_133); -lean_ctor_set(x_221, 3, x_134); +x_234 = 1; +x_235 = lean_alloc_ctor(0, 0, 10); +lean_ctor_set_uint8(x_235, 0, x_225); +lean_ctor_set_uint8(x_235, 1, x_226); +lean_ctor_set_uint8(x_235, 2, x_227); +lean_ctor_set_uint8(x_235, 3, x_228); +lean_ctor_set_uint8(x_235, 4, x_229); +lean_ctor_set_uint8(x_235, 5, x_234); +lean_ctor_set_uint8(x_235, 6, x_230); +lean_ctor_set_uint8(x_235, 7, x_231); +lean_ctor_set_uint8(x_235, 8, x_232); +lean_ctor_set_uint8(x_235, 9, x_233); +x_236 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_132); +lean_ctor_set(x_236, 2, x_133); +lean_ctor_set(x_236, 3, x_134); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_130); lean_inc(x_126); -x_222 = l_Lean_Meta_isExprDefEqAux(x_126, x_130, x_221, x_4, x_5, x_6, x_131); -if (lean_obj_tag(x_222) == 0) +x_237 = l_Lean_Meta_isExprDefEqAux(x_126, x_130, x_236, x_4, x_5, x_6, x_131); +if (lean_obj_tag(x_237) == 0) { -lean_object* x_223; uint8_t x_224; -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_unbox(x_223); -lean_dec(x_223); -if (x_224 == 0) +lean_object* x_238; uint8_t x_239; +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_unbox(x_238); +lean_dec(x_238); +if (x_239 == 0) { -lean_object* x_225; uint8_t x_226; lean_object* x_227; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; -x_225 = lean_ctor_get(x_222, 1); -lean_inc(x_225); -lean_dec(x_222); -x_247 = lean_st_ref_get(x_6, x_225); -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_248, 3); -lean_inc(x_249); -lean_dec(x_248); -x_250 = lean_ctor_get_uint8(x_249, sizeof(void*)*1); -lean_dec(x_249); -if (x_250 == 0) -{ -lean_object* x_251; -x_251 = lean_ctor_get(x_247, 1); -lean_inc(x_251); -lean_dec(x_247); -x_226 = x_39; -x_227 = x_251; -goto block_246; -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -x_252 = lean_ctor_get(x_247, 1); -lean_inc(x_252); -lean_dec(x_247); -x_253 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_254 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_253, x_3, x_4, x_5, x_6, x_252); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_226 = x_257; -x_227 = x_256; -goto block_246; -} -block_246: -{ -if (x_226 == 0) -{ -lean_dec(x_130); -lean_dec(x_126); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = x_39; -x_43 = x_227; -goto block_90; -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_228 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_228, 0, x_1); -x_229 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_230 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_228); -x_231 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_232 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -x_233 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_233, 0, x_126); -x_234 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_236 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_237, 0, x_2); -x_238 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_231); -x_240 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_240, 0, x_130); -x_241 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_241, 0, x_239); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_229); -x_243 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_244 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_243, x_242, x_3, x_4, x_5, x_6, x_227); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec(x_244); -x_42 = x_39; -x_43 = x_245; -goto block_90; -} -} -} -else -{ -lean_object* x_258; uint8_t x_259; lean_object* x_260; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; -lean_dec(x_130); -lean_dec(x_126); -x_258 = lean_ctor_get(x_222, 1); -lean_inc(x_258); -lean_dec(x_222); -x_281 = lean_st_ref_get(x_6, x_258); -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_282, 3); -lean_inc(x_283); -lean_dec(x_282); -x_284 = lean_ctor_get_uint8(x_283, sizeof(void*)*1); -lean_dec(x_283); -if (x_284 == 0) -{ -lean_object* x_285; -x_285 = lean_ctor_get(x_281, 1); -lean_inc(x_285); -lean_dec(x_281); -x_259 = x_39; -x_260 = x_285; -goto block_280; -} -else -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; -x_286 = lean_ctor_get(x_281, 1); -lean_inc(x_286); -lean_dec(x_281); -x_287 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_288 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_287, x_3, x_4, x_5, x_6, x_286); -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); -lean_inc(x_290); -lean_dec(x_288); -x_291 = lean_unbox(x_289); -lean_dec(x_289); -x_259 = x_291; -x_260 = x_290; -goto block_280; -} -block_280: -{ -if (x_259 == 0) -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_261 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_262 = l_Lean_Meta_assignExprMVar(x_261, x_2, x_3, x_4, x_5, x_6, x_260); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_263 = lean_ctor_get(x_262, 1); -lean_inc(x_263); -lean_dec(x_262); -x_264 = 1; -x_42 = x_264; -x_43 = x_263; -goto block_90; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; -lean_inc(x_1); -x_265 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_265, 0, x_1); -x_266 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_267 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_269 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_269, 0, x_267); -lean_ctor_set(x_269, 1, x_268); -lean_inc(x_2); -x_270 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_270, 0, x_2); -x_271 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_266); -x_273 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_274 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_273, x_272, x_3, x_4, x_5, x_6, x_260); -x_275 = lean_ctor_get(x_274, 1); -lean_inc(x_275); -lean_dec(x_274); -x_276 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_277 = l_Lean_Meta_assignExprMVar(x_276, x_2, x_3, x_4, x_5, x_6, x_275); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_278 = lean_ctor_get(x_277, 1); +lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_240 = lean_ctor_get(x_237, 1); +lean_inc(x_240); +lean_dec(x_237); +x_241 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_277 = lean_st_ref_get(x_6, x_240); +x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); +x_279 = lean_ctor_get(x_278, 3); +lean_inc(x_279); +lean_dec(x_278); +x_280 = lean_ctor_get_uint8(x_279, sizeof(void*)*1); +lean_dec(x_279); +if (x_280 == 0) +{ +lean_object* x_281; +x_281 = lean_ctor_get(x_277, 1); +lean_inc(x_281); lean_dec(x_277); -x_279 = 1; -x_42 = x_279; -x_43 = x_278; +x_242 = x_39; +x_243 = x_281; +goto block_276; +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; +x_282 = lean_ctor_get(x_277, 1); +lean_inc(x_282); +lean_dec(x_277); +x_283 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_241, x_3, x_4, x_5, x_6, x_282); +x_284 = lean_ctor_get(x_283, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_283, 1); +lean_inc(x_285); +lean_dec(x_283); +x_286 = lean_unbox(x_284); +lean_dec(x_284); +x_242 = x_286; +x_243 = x_285; +goto block_276; +} +block_276: +{ +lean_object* x_244; +x_244 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_242 == 0) +{ +lean_object* x_245; lean_object* x_246; +lean_dec(x_130); +lean_dec(x_126); +lean_dec(x_2); +lean_dec(x_1); +x_245 = lean_box(0); +lean_inc(x_6); +x_246 = lean_apply_6(x_244, x_245, x_3, x_4, x_5, x_6, x_243); +if (lean_obj_tag(x_246) == 0) +{ +lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_246, 1); +lean_inc(x_248); +lean_dec(x_246); +x_249 = lean_unbox(x_247); +lean_dec(x_247); +x_42 = x_249; +x_43 = x_248; +goto block_90; +} +else +{ +lean_object* x_250; lean_object* x_251; +x_250 = lean_ctor_get(x_246, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_246, 1); +lean_inc(x_251); +lean_dec(x_246); +x_91 = x_250; +x_92 = x_251; +goto block_124; +} +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_252 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_252, 0, x_1); +x_253 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_254 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 1, x_252); +x_255 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_256 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_256, 0, x_254); +lean_ctor_set(x_256, 1, x_255); +x_257 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_257, 0, x_126); +x_258 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +x_259 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_260 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_260, 0, x_258); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_261, 0, x_2); +x_262 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_262, 0, x_260); +lean_ctor_set(x_262, 1, x_261); +x_263 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_255); +x_264 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_264, 0, x_130); +x_265 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_253); +x_267 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_241, x_266, x_3, x_4, x_5, x_6, x_243); +x_268 = lean_ctor_get(x_267, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_267, 1); +lean_inc(x_269); +lean_dec(x_267); +lean_inc(x_6); +x_270 = lean_apply_6(x_244, x_268, x_3, x_4, x_5, x_6, x_269); +if (lean_obj_tag(x_270) == 0) +{ +lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = lean_unbox(x_271); +lean_dec(x_271); +x_42 = x_273; +x_43 = x_272; +goto block_90; +} +else +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_ctor_get(x_270, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_270, 1); +lean_inc(x_275); +lean_dec(x_270); +x_91 = x_274; +x_92 = x_275; +goto block_124; +} +} +} +} +else +{ +lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; +lean_dec(x_130); +lean_dec(x_126); +x_287 = lean_ctor_get(x_237, 1); +lean_inc(x_287); +lean_dec(x_237); +x_288 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_312 = lean_st_ref_get(x_6, x_287); +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_313, 3); +lean_inc(x_314); +lean_dec(x_313); +x_315 = lean_ctor_get_uint8(x_314, sizeof(void*)*1); +lean_dec(x_314); +if (x_315 == 0) +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_312, 1); +lean_inc(x_316); +lean_dec(x_312); +x_289 = x_39; +x_290 = x_316; +goto block_311; +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; +x_317 = lean_ctor_get(x_312, 1); +lean_inc(x_317); +lean_dec(x_312); +x_318 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_288, x_3, x_4, x_5, x_6, x_317); +x_319 = lean_ctor_get(x_318, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 1); +lean_inc(x_320); +lean_dec(x_318); +x_321 = lean_unbox(x_319); +lean_dec(x_319); +x_289 = x_321; +x_290 = x_320; +goto block_311; +} +block_311: +{ +if (x_289 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_291 = lean_box(0); +x_292 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_291, x_3, x_4, x_5, x_6, x_290); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); +lean_dec(x_292); +x_295 = lean_unbox(x_293); +lean_dec(x_293); +x_42 = x_295; +x_43 = x_294; +goto block_90; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; +lean_inc(x_1); +x_296 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_296, 0, x_1); +x_297 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_298 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_296); +x_299 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_300 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_300, 0, x_298); +lean_ctor_set(x_300, 1, x_299); +lean_inc(x_2); +x_301 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_301, 0, x_2); +x_302 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +x_303 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_297); +x_304 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_288, x_303, x_3, x_4, x_5, x_6, x_290); +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_305, x_3, x_4, x_5, x_6, x_306); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_305); +lean_dec(x_1); +x_308 = lean_ctor_get(x_307, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_307, 1); +lean_inc(x_309); +lean_dec(x_307); +x_310 = lean_unbox(x_308); +lean_dec(x_308); +x_42 = x_310; +x_43 = x_309; goto block_90; } } @@ -6046,7 +6238,7 @@ goto block_90; } else { -lean_object* x_292; lean_object* x_293; +lean_object* x_322; lean_object* x_323; lean_dec(x_130); lean_dec(x_126); lean_dec(x_5); @@ -6054,141 +6246,190 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_292 = lean_ctor_get(x_222, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_222, 1); -lean_inc(x_293); -lean_dec(x_222); -x_91 = x_292; -x_92 = x_293; +x_322 = lean_ctor_get(x_237, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_237, 1); +lean_inc(x_323); +lean_dec(x_237); +x_91 = x_322; +x_92 = x_323; goto block_124; } } } else { -lean_object* x_294; lean_object* x_295; +lean_object* x_324; lean_object* x_325; lean_dec(x_126); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_294 = lean_ctor_get(x_128, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_128, 1); -lean_inc(x_295); +x_324 = lean_ctor_get(x_128, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_128, 1); +lean_inc(x_325); lean_dec(x_128); -x_91 = x_294; -x_92 = x_295; +x_91 = x_324; +x_92 = x_325; goto block_124; } } else { -lean_object* x_296; lean_object* x_297; +lean_object* x_326; lean_object* x_327; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_296 = lean_ctor_get(x_125, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_125, 1); -lean_inc(x_297); +x_326 = lean_ctor_get(x_125, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_125, 1); +lean_inc(x_327); lean_dec(x_125); -x_91 = x_296; -x_92 = x_297; +x_91 = x_326; +x_92 = x_327; goto block_124; } } else { -uint8_t x_298; lean_object* x_299; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; -x_313 = lean_st_ref_get(x_6, x_41); -x_314 = lean_ctor_get(x_313, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_314, 3); -lean_inc(x_315); -lean_dec(x_314); -x_316 = lean_ctor_get_uint8(x_315, sizeof(void*)*1); -lean_dec(x_315); -if (x_316 == 0) +lean_object* x_328; uint8_t x_329; lean_object* x_330; lean_object* x_358; lean_object* x_359; lean_object* x_360; uint8_t x_361; +x_328 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_358 = lean_st_ref_get(x_6, x_41); +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_359, 3); +lean_inc(x_360); +lean_dec(x_359); +x_361 = lean_ctor_get_uint8(x_360, sizeof(void*)*1); +lean_dec(x_360); +if (x_361 == 0) { -lean_object* x_317; -x_317 = lean_ctor_get(x_313, 1); -lean_inc(x_317); -lean_dec(x_313); -x_298 = x_39; -x_299 = x_317; -goto block_312; +lean_object* x_362; +x_362 = lean_ctor_get(x_358, 1); +lean_inc(x_362); +lean_dec(x_358); +x_329 = x_39; +x_330 = x_362; +goto block_357; } else { -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; -x_318 = lean_ctor_get(x_313, 1); -lean_inc(x_318); -lean_dec(x_313); -x_319 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_320 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_319, x_3, x_4, x_5, x_6, x_318); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_320, 1); -lean_inc(x_322); -lean_dec(x_320); -x_323 = lean_unbox(x_321); -lean_dec(x_321); -x_298 = x_323; -x_299 = x_322; -goto block_312; +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; +x_363 = lean_ctor_get(x_358, 1); +lean_inc(x_363); +lean_dec(x_358); +x_364 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_328, x_3, x_4, x_5, x_6, x_363); +x_365 = lean_ctor_get(x_364, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_364, 1); +lean_inc(x_366); +lean_dec(x_364); +x_367 = lean_unbox(x_365); +lean_dec(x_365); +x_329 = x_367; +x_330 = x_366; +goto block_357; } -block_312: +block_357: { -if (x_298 == 0) +lean_object* x_331; +x_331 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_329 == 0) { -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_332; lean_object* x_333; lean_dec(x_2); lean_dec(x_1); -x_42 = x_39; -x_43 = x_299; +x_332 = lean_box(0); +lean_inc(x_6); +x_333 = lean_apply_6(x_331, x_332, x_3, x_4, x_5, x_6, x_330); +if (lean_obj_tag(x_333) == 0) +{ +lean_object* x_334; lean_object* x_335; uint8_t x_336; +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +x_335 = lean_ctor_get(x_333, 1); +lean_inc(x_335); +lean_dec(x_333); +x_336 = lean_unbox(x_334); +lean_dec(x_334); +x_42 = x_336; +x_43 = x_335; goto block_90; } else { -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_300 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_300, 0, x_1); -x_301 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; -x_302 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_300); -x_303 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_304 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_304, 0, x_302); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_305, 0, x_2); -x_306 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -x_307 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_308 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_310 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_309, x_308, x_3, x_4, x_5, x_6, x_299); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_311 = lean_ctor_get(x_310, 1); -lean_inc(x_311); -lean_dec(x_310); -x_42 = x_39; -x_43 = x_311; +lean_object* x_337; lean_object* x_338; +x_337 = lean_ctor_get(x_333, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_333, 1); +lean_inc(x_338); +lean_dec(x_333); +x_91 = x_337; +x_92 = x_338; +goto block_124; +} +} +else +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_339 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_339, 0, x_1); +x_340 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21; +x_341 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_339); +x_342 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_343 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_343, 0, x_341); +lean_ctor_set(x_343, 1, x_342); +x_344 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_344, 0, x_2); +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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +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_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_328, x_347, x_3, x_4, x_5, x_6, x_330); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_348, 1); +lean_inc(x_350); +lean_dec(x_348); +lean_inc(x_6); +x_351 = lean_apply_6(x_331, x_349, x_3, x_4, x_5, x_6, x_350); +if (lean_obj_tag(x_351) == 0) +{ +lean_object* x_352; lean_object* x_353; uint8_t x_354; +x_352 = lean_ctor_get(x_351, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_351, 1); +lean_inc(x_353); +lean_dec(x_351); +x_354 = lean_unbox(x_352); +lean_dec(x_352); +x_42 = x_354; +x_43 = x_353; goto block_90; } +else +{ +lean_object* x_355; lean_object* x_356; +x_355 = lean_ctor_get(x_351, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_351, 1); +lean_inc(x_356); +lean_dec(x_351); +x_91 = x_355; +x_92 = x_356; +goto block_124; +} +} } } block_90: @@ -6500,1792 +6741,1807 @@ goto block_20; } else { -lean_object* x_324; uint8_t x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; lean_object* x_330; lean_object* x_356; lean_object* x_357; -x_324 = lean_ctor_get(x_34, 0); -lean_inc(x_324); -lean_dec(x_34); -x_325 = 0; -x_326 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set_uint8(x_326, sizeof(void*)*1, x_325); -lean_ctor_set(x_33, 3, x_326); -x_327 = lean_st_ref_set(x_6, x_33, x_35); -x_328 = lean_ctor_get(x_327, 1); -lean_inc(x_328); -lean_dec(x_327); -if (x_24 == 0) -{ -lean_object* x_377; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_377 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_328); -if (lean_obj_tag(x_377) == 0) -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -lean_dec(x_377); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_380 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_379); -if (lean_obj_tag(x_380) == 0) -{ -lean_object* 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; uint8_t x_388; uint8_t x_389; uint8_t x_390; uint8_t x_391; uint8_t x_392; uint8_t x_393; uint8_t x_394; uint8_t x_395; lean_object* x_396; uint8_t x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_381 = lean_ctor_get(x_3, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_380, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_380, 1); -lean_inc(x_383); -lean_dec(x_380); -x_384 = lean_ctor_get(x_3, 1); -lean_inc(x_384); -x_385 = lean_ctor_get(x_3, 2); -lean_inc(x_385); -x_386 = lean_ctor_get(x_3, 3); -lean_inc(x_386); -x_387 = lean_ctor_get_uint8(x_381, 0); -x_388 = lean_ctor_get_uint8(x_381, 1); -x_389 = lean_ctor_get_uint8(x_381, 2); -x_390 = lean_ctor_get_uint8(x_381, 3); -x_391 = lean_ctor_get_uint8(x_381, 4); -x_392 = lean_ctor_get_uint8(x_381, 6); -x_393 = lean_ctor_get_uint8(x_381, 7); -x_394 = lean_ctor_get_uint8(x_381, 8); -x_395 = lean_ctor_get_uint8(x_381, 9); -if (lean_is_exclusive(x_381)) { - x_396 = x_381; -} else { - lean_dec_ref(x_381); - x_396 = lean_box(0); -} -x_397 = 1; -if (lean_is_scalar(x_396)) { - x_398 = lean_alloc_ctor(0, 0, 10); -} else { - x_398 = x_396; -} -lean_ctor_set_uint8(x_398, 0, x_387); -lean_ctor_set_uint8(x_398, 1, x_388); -lean_ctor_set_uint8(x_398, 2, x_389); -lean_ctor_set_uint8(x_398, 3, x_390); -lean_ctor_set_uint8(x_398, 4, x_391); -lean_ctor_set_uint8(x_398, 5, x_397); -lean_ctor_set_uint8(x_398, 6, x_392); -lean_ctor_set_uint8(x_398, 7, x_393); -lean_ctor_set_uint8(x_398, 8, x_394); -lean_ctor_set_uint8(x_398, 9, x_395); -x_399 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_384); -lean_ctor_set(x_399, 2, x_385); -lean_ctor_set(x_399, 3, x_386); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_382); -lean_inc(x_378); -x_400 = l_Lean_Meta_isExprDefEqAux(x_378, x_382, x_399, x_4, x_5, x_6, x_383); -if (lean_obj_tag(x_400) == 0) -{ -lean_object* x_401; uint8_t x_402; -x_401 = lean_ctor_get(x_400, 0); -lean_inc(x_401); -x_402 = lean_unbox(x_401); -lean_dec(x_401); -if (x_402 == 0) -{ -lean_object* x_403; uint8_t x_404; lean_object* x_405; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_403 = lean_ctor_get(x_400, 1); -lean_inc(x_403); -lean_dec(x_400); -x_425 = lean_st_ref_get(x_6, x_403); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_426, 3); -lean_inc(x_427); -lean_dec(x_426); -x_428 = lean_ctor_get_uint8(x_427, sizeof(void*)*1); -lean_dec(x_427); -if (x_428 == 0) -{ -lean_object* x_429; -x_429 = lean_ctor_get(x_425, 1); -lean_inc(x_429); -lean_dec(x_425); -x_404 = x_325; -x_405 = x_429; -goto block_424; -} -else -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; uint8_t x_435; -x_430 = lean_ctor_get(x_425, 1); -lean_inc(x_430); -lean_dec(x_425); -x_431 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_432 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_431, x_3, x_4, x_5, x_6, x_430); -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -lean_dec(x_432); -x_435 = lean_unbox(x_433); -lean_dec(x_433); -x_404 = x_435; -x_405 = x_434; -goto block_424; -} -block_424: -{ -if (x_404 == 0) -{ -lean_dec(x_382); -lean_dec(x_378); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_329 = x_325; -x_330 = x_405; -goto block_355; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; -x_406 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_406, 0, x_1); -x_407 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_408 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_408, 1, x_406); -x_409 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_410 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_410, 0, x_408); -lean_ctor_set(x_410, 1, x_409); -x_411 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_411, 0, x_378); -x_412 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_412, 0, x_410); -lean_ctor_set(x_412, 1, x_411); -x_413 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_414 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_414, 0, x_412); -lean_ctor_set(x_414, 1, x_413); -x_415 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_415, 0, x_2); -x_416 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_416, 0, x_414); -lean_ctor_set(x_416, 1, x_415); -x_417 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_409); -x_418 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_418, 0, x_382); -x_419 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_419, 0, x_417); -lean_ctor_set(x_419, 1, x_418); -x_420 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_407); -x_421 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_422 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_421, x_420, x_3, x_4, x_5, x_6, x_405); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_423 = lean_ctor_get(x_422, 1); -lean_inc(x_423); -lean_dec(x_422); -x_329 = x_325; -x_330 = x_423; -goto block_355; -} -} -} -else -{ -lean_object* x_436; uint8_t x_437; lean_object* x_438; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; -lean_dec(x_382); -lean_dec(x_378); -x_436 = lean_ctor_get(x_400, 1); -lean_inc(x_436); -lean_dec(x_400); -x_459 = lean_st_ref_get(x_6, x_436); -x_460 = lean_ctor_get(x_459, 0); -lean_inc(x_460); -x_461 = lean_ctor_get(x_460, 3); -lean_inc(x_461); -lean_dec(x_460); -x_462 = lean_ctor_get_uint8(x_461, sizeof(void*)*1); -lean_dec(x_461); -if (x_462 == 0) -{ -lean_object* x_463; -x_463 = lean_ctor_get(x_459, 1); -lean_inc(x_463); -lean_dec(x_459); -x_437 = x_325; -x_438 = x_463; -goto block_458; -} -else -{ -lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; uint8_t x_469; -x_464 = lean_ctor_get(x_459, 1); -lean_inc(x_464); -lean_dec(x_459); -x_465 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_466 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_465, x_3, x_4, x_5, x_6, x_464); -x_467 = lean_ctor_get(x_466, 0); -lean_inc(x_467); -x_468 = lean_ctor_get(x_466, 1); -lean_inc(x_468); -lean_dec(x_466); -x_469 = lean_unbox(x_467); -lean_dec(x_467); -x_437 = x_469; -x_438 = x_468; -goto block_458; -} -block_458: -{ -if (x_437 == 0) -{ -lean_object* x_439; lean_object* x_440; lean_object* x_441; uint8_t x_442; -x_439 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_440 = l_Lean_Meta_assignExprMVar(x_439, x_2, x_3, x_4, x_5, x_6, x_438); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_441 = lean_ctor_get(x_440, 1); -lean_inc(x_441); -lean_dec(x_440); -x_442 = 1; -x_329 = x_442; -x_330 = x_441; -goto block_355; -} -else -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; uint8_t x_457; -lean_inc(x_1); -x_443 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_443, 0, x_1); -x_444 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_445 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_447 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_447, 0, x_445); -lean_ctor_set(x_447, 1, x_446); -lean_inc(x_2); -x_448 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_448, 0, x_2); -x_449 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_449, 0, x_447); -lean_ctor_set(x_449, 1, x_448); -x_450 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_444); -x_451 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_452 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_451, x_450, x_3, x_4, x_5, x_6, x_438); -x_453 = lean_ctor_get(x_452, 1); -lean_inc(x_453); -lean_dec(x_452); -x_454 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_455 = l_Lean_Meta_assignExprMVar(x_454, x_2, x_3, x_4, x_5, x_6, x_453); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_456 = lean_ctor_get(x_455, 1); -lean_inc(x_456); -lean_dec(x_455); -x_457 = 1; -x_329 = x_457; -x_330 = x_456; -goto block_355; -} -} -} -} -else -{ -lean_object* x_470; lean_object* x_471; -lean_dec(x_382); -lean_dec(x_378); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_470 = lean_ctor_get(x_400, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_400, 1); -lean_inc(x_471); -lean_dec(x_400); -x_356 = x_470; -x_357 = x_471; -goto block_376; -} -} -else -{ -lean_object* x_472; lean_object* x_473; -lean_dec(x_378); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_472 = lean_ctor_get(x_380, 0); -lean_inc(x_472); -x_473 = lean_ctor_get(x_380, 1); -lean_inc(x_473); -lean_dec(x_380); -x_356 = x_472; -x_357 = x_473; -goto block_376; -} -} -else -{ -lean_object* x_474; lean_object* x_475; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_474 = lean_ctor_get(x_377, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_377, 1); -lean_inc(x_475); -lean_dec(x_377); -x_356 = x_474; -x_357 = x_475; -goto block_376; -} -} -else -{ -uint8_t x_476; lean_object* x_477; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -x_491 = lean_st_ref_get(x_6, x_328); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_492, 3); -lean_inc(x_493); -lean_dec(x_492); -x_494 = lean_ctor_get_uint8(x_493, sizeof(void*)*1); -lean_dec(x_493); -if (x_494 == 0) -{ -lean_object* x_495; -x_495 = lean_ctor_get(x_491, 1); -lean_inc(x_495); -lean_dec(x_491); -x_476 = x_325; -x_477 = x_495; -goto block_490; -} -else -{ -lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; -x_496 = lean_ctor_get(x_491, 1); -lean_inc(x_496); -lean_dec(x_491); -x_497 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_498 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_497, x_3, x_4, x_5, x_6, x_496); -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_498, 1); -lean_inc(x_500); -lean_dec(x_498); -x_501 = lean_unbox(x_499); -lean_dec(x_499); -x_476 = x_501; -x_477 = x_500; -goto block_490; -} -block_490: -{ -if (x_476 == 0) -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_329 = x_325; -x_330 = x_477; -goto block_355; -} -else -{ -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_478 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_478, 0, x_1); -x_479 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; -x_480 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_480, 0, x_479); -lean_ctor_set(x_480, 1, x_478); -x_481 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_482 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_482, 0, x_480); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_483, 0, x_2); -x_484 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -x_485 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_486 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_486, 0, x_484); -lean_ctor_set(x_486, 1, x_485); -x_487 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_488 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_487, x_486, x_3, x_4, x_5, x_6, x_477); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_489 = lean_ctor_get(x_488, 1); -lean_inc(x_489); -lean_dec(x_488); -x_329 = x_325; -x_330 = x_489; -goto block_355; -} -} -} -block_355: -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_331 = lean_st_ref_get(x_6, x_330); -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); -lean_inc(x_333); -lean_dec(x_331); -x_334 = lean_ctor_get(x_332, 3); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_ctor_get_uint8(x_334, sizeof(void*)*1); -lean_dec(x_334); -x_336 = lean_st_ref_take(x_6, x_333); -x_337 = lean_ctor_get(x_336, 0); -lean_inc(x_337); -x_338 = lean_ctor_get(x_337, 3); -lean_inc(x_338); -x_339 = lean_ctor_get(x_336, 1); -lean_inc(x_339); -lean_dec(x_336); -x_340 = lean_ctor_get(x_337, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_337, 1); -lean_inc(x_341); -x_342 = lean_ctor_get(x_337, 2); -lean_inc(x_342); -if (lean_is_exclusive(x_337)) { - lean_ctor_release(x_337, 0); - lean_ctor_release(x_337, 1); - lean_ctor_release(x_337, 2); - lean_ctor_release(x_337, 3); - x_343 = x_337; -} else { - lean_dec_ref(x_337); - x_343 = lean_box(0); -} -x_344 = lean_ctor_get(x_338, 0); -lean_inc(x_344); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - x_345 = x_338; -} else { - lean_dec_ref(x_338); - x_345 = lean_box(0); -} -if (lean_is_scalar(x_345)) { - x_346 = lean_alloc_ctor(0, 1, 1); -} else { - x_346 = x_345; -} -lean_ctor_set(x_346, 0, x_344); -lean_ctor_set_uint8(x_346, sizeof(void*)*1, x_31); -if (lean_is_scalar(x_343)) { - x_347 = lean_alloc_ctor(0, 4, 0); -} else { - x_347 = x_343; -} -lean_ctor_set(x_347, 0, x_340); -lean_ctor_set(x_347, 1, x_341); -lean_ctor_set(x_347, 2, x_342); -lean_ctor_set(x_347, 3, x_346); -x_348 = lean_st_ref_set(x_6, x_347, x_339); -lean_dec(x_6); -x_349 = lean_ctor_get(x_348, 1); -lean_inc(x_349); -if (lean_is_exclusive(x_348)) { - lean_ctor_release(x_348, 0); - lean_ctor_release(x_348, 1); - x_350 = x_348; -} else { - lean_dec_ref(x_348); - x_350 = lean_box(0); -} -x_351 = lean_box(x_329); -x_352 = lean_box(x_335); -x_353 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -if (lean_is_scalar(x_350)) { - x_354 = lean_alloc_ctor(0, 2, 0); -} else { - x_354 = x_350; -} -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_349); -x_8 = x_354; -goto block_20; -} -block_376: -{ -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_358 = lean_st_ref_get(x_6, x_357); -x_359 = lean_ctor_get(x_358, 1); -lean_inc(x_359); -lean_dec(x_358); -x_360 = lean_st_ref_take(x_6, x_359); -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_361, 3); -lean_inc(x_362); -x_363 = lean_ctor_get(x_360, 1); -lean_inc(x_363); -lean_dec(x_360); -x_364 = lean_ctor_get(x_361, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_361, 1); -lean_inc(x_365); -x_366 = lean_ctor_get(x_361, 2); -lean_inc(x_366); -if (lean_is_exclusive(x_361)) { - lean_ctor_release(x_361, 0); - lean_ctor_release(x_361, 1); - lean_ctor_release(x_361, 2); - lean_ctor_release(x_361, 3); - x_367 = x_361; -} else { - lean_dec_ref(x_361); - x_367 = lean_box(0); -} -x_368 = lean_ctor_get(x_362, 0); +lean_object* x_368; uint8_t x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; lean_object* x_400; lean_object* x_401; +x_368 = lean_ctor_get(x_34, 0); lean_inc(x_368); -if (lean_is_exclusive(x_362)) { - lean_ctor_release(x_362, 0); - x_369 = x_362; -} else { - lean_dec_ref(x_362); - x_369 = lean_box(0); -} -if (lean_is_scalar(x_369)) { - x_370 = lean_alloc_ctor(0, 1, 1); -} else { - x_370 = x_369; -} +lean_dec(x_34); +x_369 = 0; +x_370 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_370, 0, x_368); -lean_ctor_set_uint8(x_370, sizeof(void*)*1, x_31); -if (lean_is_scalar(x_367)) { - x_371 = lean_alloc_ctor(0, 4, 0); -} else { - x_371 = x_367; -} -lean_ctor_set(x_371, 0, x_364); -lean_ctor_set(x_371, 1, x_365); -lean_ctor_set(x_371, 2, x_366); -lean_ctor_set(x_371, 3, x_370); -x_372 = lean_st_ref_set(x_6, x_371, x_363); -lean_dec(x_6); -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -if (lean_is_exclusive(x_372)) { - lean_ctor_release(x_372, 0); - lean_ctor_release(x_372, 1); - x_374 = x_372; -} else { - lean_dec_ref(x_372); - x_374 = lean_box(0); -} -if (lean_is_scalar(x_374)) { - x_375 = lean_alloc_ctor(1, 2, 0); -} else { - x_375 = x_374; - lean_ctor_set_tag(x_375, 1); -} -lean_ctor_set(x_375, 0, x_356); -lean_ctor_set(x_375, 1, x_373); -x_8 = x_375; -goto block_20; -} -} -} -else -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; lean_object* x_513; lean_object* x_539; lean_object* x_540; -x_502 = lean_ctor_get(x_33, 0); -x_503 = lean_ctor_get(x_33, 1); -x_504 = lean_ctor_get(x_33, 2); -lean_inc(x_504); -lean_inc(x_503); -lean_inc(x_502); -lean_dec(x_33); -x_505 = lean_ctor_get(x_34, 0); -lean_inc(x_505); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_506 = x_34; -} else { - lean_dec_ref(x_34); - x_506 = lean_box(0); -} -x_507 = 0; -if (lean_is_scalar(x_506)) { - x_508 = lean_alloc_ctor(0, 1, 1); -} else { - x_508 = x_506; -} -lean_ctor_set(x_508, 0, x_505); -lean_ctor_set_uint8(x_508, sizeof(void*)*1, x_507); -x_509 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_509, 0, x_502); -lean_ctor_set(x_509, 1, x_503); -lean_ctor_set(x_509, 2, x_504); -lean_ctor_set(x_509, 3, x_508); -x_510 = lean_st_ref_set(x_6, x_509, x_35); -x_511 = lean_ctor_get(x_510, 1); -lean_inc(x_511); -lean_dec(x_510); +lean_ctor_set_uint8(x_370, sizeof(void*)*1, x_369); +lean_ctor_set(x_33, 3, x_370); +x_371 = lean_st_ref_set(x_6, x_33, x_35); +x_372 = lean_ctor_get(x_371, 1); +lean_inc(x_372); +lean_dec(x_371); if (x_24 == 0) { -lean_object* x_560; +lean_object* x_421; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_560 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_511); -if (lean_obj_tag(x_560) == 0) +x_421 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_372); +if (lean_obj_tag(x_421) == 0) { -lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_561 = lean_ctor_get(x_560, 0); -lean_inc(x_561); -x_562 = lean_ctor_get(x_560, 1); -lean_inc(x_562); -lean_dec(x_560); +lean_object* x_422; lean_object* x_423; lean_object* x_424; +x_422 = lean_ctor_get(x_421, 0); +lean_inc(x_422); +x_423 = lean_ctor_get(x_421, 1); +lean_inc(x_423); +lean_dec(x_421); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_563 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_562); -if (lean_obj_tag(x_563) == 0) +x_424 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_423); +if (lean_obj_tag(x_424) == 0) { -lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; uint8_t x_570; uint8_t x_571; uint8_t x_572; uint8_t x_573; uint8_t x_574; uint8_t x_575; uint8_t x_576; uint8_t x_577; uint8_t x_578; lean_object* x_579; uint8_t x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; -x_564 = lean_ctor_get(x_3, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_563, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_563, 1); -lean_inc(x_566); -lean_dec(x_563); -x_567 = lean_ctor_get(x_3, 1); -lean_inc(x_567); -x_568 = lean_ctor_get(x_3, 2); -lean_inc(x_568); -x_569 = lean_ctor_get(x_3, 3); -lean_inc(x_569); -x_570 = lean_ctor_get_uint8(x_564, 0); -x_571 = lean_ctor_get_uint8(x_564, 1); -x_572 = lean_ctor_get_uint8(x_564, 2); -x_573 = lean_ctor_get_uint8(x_564, 3); -x_574 = lean_ctor_get_uint8(x_564, 4); -x_575 = lean_ctor_get_uint8(x_564, 6); -x_576 = lean_ctor_get_uint8(x_564, 7); -x_577 = lean_ctor_get_uint8(x_564, 8); -x_578 = lean_ctor_get_uint8(x_564, 9); -if (lean_is_exclusive(x_564)) { - x_579 = x_564; +lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; uint8_t x_432; uint8_t x_433; uint8_t x_434; uint8_t x_435; uint8_t x_436; uint8_t x_437; uint8_t x_438; uint8_t x_439; lean_object* x_440; uint8_t x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_425 = lean_ctor_get(x_3, 0); +lean_inc(x_425); +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_424, 1); +lean_inc(x_427); +lean_dec(x_424); +x_428 = lean_ctor_get(x_3, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_3, 2); +lean_inc(x_429); +x_430 = lean_ctor_get(x_3, 3); +lean_inc(x_430); +x_431 = lean_ctor_get_uint8(x_425, 0); +x_432 = lean_ctor_get_uint8(x_425, 1); +x_433 = lean_ctor_get_uint8(x_425, 2); +x_434 = lean_ctor_get_uint8(x_425, 3); +x_435 = lean_ctor_get_uint8(x_425, 4); +x_436 = lean_ctor_get_uint8(x_425, 6); +x_437 = lean_ctor_get_uint8(x_425, 7); +x_438 = lean_ctor_get_uint8(x_425, 8); +x_439 = lean_ctor_get_uint8(x_425, 9); +if (lean_is_exclusive(x_425)) { + x_440 = x_425; } else { - lean_dec_ref(x_564); - x_579 = lean_box(0); + lean_dec_ref(x_425); + x_440 = lean_box(0); } -x_580 = 1; -if (lean_is_scalar(x_579)) { - x_581 = lean_alloc_ctor(0, 0, 10); +x_441 = 1; +if (lean_is_scalar(x_440)) { + x_442 = lean_alloc_ctor(0, 0, 10); } else { - x_581 = x_579; + x_442 = x_440; } -lean_ctor_set_uint8(x_581, 0, x_570); -lean_ctor_set_uint8(x_581, 1, x_571); -lean_ctor_set_uint8(x_581, 2, x_572); -lean_ctor_set_uint8(x_581, 3, x_573); -lean_ctor_set_uint8(x_581, 4, x_574); -lean_ctor_set_uint8(x_581, 5, x_580); -lean_ctor_set_uint8(x_581, 6, x_575); -lean_ctor_set_uint8(x_581, 7, x_576); -lean_ctor_set_uint8(x_581, 8, x_577); -lean_ctor_set_uint8(x_581, 9, x_578); -x_582 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_567); -lean_ctor_set(x_582, 2, x_568); -lean_ctor_set(x_582, 3, x_569); +lean_ctor_set_uint8(x_442, 0, x_431); +lean_ctor_set_uint8(x_442, 1, x_432); +lean_ctor_set_uint8(x_442, 2, x_433); +lean_ctor_set_uint8(x_442, 3, x_434); +lean_ctor_set_uint8(x_442, 4, x_435); +lean_ctor_set_uint8(x_442, 5, x_441); +lean_ctor_set_uint8(x_442, 6, x_436); +lean_ctor_set_uint8(x_442, 7, x_437); +lean_ctor_set_uint8(x_442, 8, x_438); +lean_ctor_set_uint8(x_442, 9, x_439); +x_443 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_428); +lean_ctor_set(x_443, 2, x_429); +lean_ctor_set(x_443, 3, x_430); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_565); -lean_inc(x_561); -x_583 = l_Lean_Meta_isExprDefEqAux(x_561, x_565, x_582, x_4, x_5, x_6, x_566); -if (lean_obj_tag(x_583) == 0) +lean_inc(x_426); +lean_inc(x_422); +x_444 = l_Lean_Meta_isExprDefEqAux(x_422, x_426, x_443, x_4, x_5, x_6, x_427); +if (lean_obj_tag(x_444) == 0) { -lean_object* x_584; uint8_t x_585; -x_584 = lean_ctor_get(x_583, 0); -lean_inc(x_584); -x_585 = lean_unbox(x_584); -lean_dec(x_584); -if (x_585 == 0) +lean_object* x_445; uint8_t x_446; +x_445 = lean_ctor_get(x_444, 0); +lean_inc(x_445); +x_446 = lean_unbox(x_445); +lean_dec(x_445); +if (x_446 == 0) { -lean_object* x_586; uint8_t x_587; lean_object* x_588; lean_object* x_608; lean_object* x_609; lean_object* x_610; uint8_t x_611; -x_586 = lean_ctor_get(x_583, 1); -lean_inc(x_586); -lean_dec(x_583); -x_608 = lean_st_ref_get(x_6, x_586); -x_609 = lean_ctor_get(x_608, 0); -lean_inc(x_609); -x_610 = lean_ctor_get(x_609, 3); -lean_inc(x_610); -lean_dec(x_609); -x_611 = lean_ctor_get_uint8(x_610, sizeof(void*)*1); -lean_dec(x_610); -if (x_611 == 0) +lean_object* x_447; lean_object* x_448; uint8_t x_449; lean_object* x_450; lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; +x_447 = lean_ctor_get(x_444, 1); +lean_inc(x_447); +lean_dec(x_444); +x_448 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_484 = lean_st_ref_get(x_6, x_447); +x_485 = lean_ctor_get(x_484, 0); +lean_inc(x_485); +x_486 = lean_ctor_get(x_485, 3); +lean_inc(x_486); +lean_dec(x_485); +x_487 = lean_ctor_get_uint8(x_486, sizeof(void*)*1); +lean_dec(x_486); +if (x_487 == 0) { -lean_object* x_612; -x_612 = lean_ctor_get(x_608, 1); -lean_inc(x_612); -lean_dec(x_608); -x_587 = x_507; -x_588 = x_612; -goto block_607; +lean_object* x_488; +x_488 = lean_ctor_get(x_484, 1); +lean_inc(x_488); +lean_dec(x_484); +x_449 = x_369; +x_450 = x_488; +goto block_483; } else { -lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; uint8_t x_618; -x_613 = lean_ctor_get(x_608, 1); -lean_inc(x_613); -lean_dec(x_608); -x_614 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_615 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_614, x_3, x_4, x_5, x_6, x_613); -x_616 = lean_ctor_get(x_615, 0); -lean_inc(x_616); -x_617 = lean_ctor_get(x_615, 1); -lean_inc(x_617); -lean_dec(x_615); -x_618 = lean_unbox(x_616); -lean_dec(x_616); -x_587 = x_618; -x_588 = x_617; -goto block_607; +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; +x_489 = lean_ctor_get(x_484, 1); +lean_inc(x_489); +lean_dec(x_484); +x_490 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_448, x_3, x_4, x_5, x_6, x_489); +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +lean_dec(x_490); +x_493 = lean_unbox(x_491); +lean_dec(x_491); +x_449 = x_493; +x_450 = x_492; +goto block_483; } -block_607: +block_483: { -if (x_587 == 0) +lean_object* x_451; +x_451 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_449 == 0) { -lean_dec(x_565); -lean_dec(x_561); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_452; lean_object* x_453; +lean_dec(x_426); +lean_dec(x_422); lean_dec(x_2); lean_dec(x_1); -x_512 = x_507; -x_513 = x_588; -goto block_538; +x_452 = lean_box(0); +lean_inc(x_6); +x_453 = lean_apply_6(x_451, x_452, x_3, x_4, x_5, x_6, x_450); +if (lean_obj_tag(x_453) == 0) +{ +lean_object* x_454; lean_object* x_455; uint8_t x_456; +x_454 = lean_ctor_get(x_453, 0); +lean_inc(x_454); +x_455 = lean_ctor_get(x_453, 1); +lean_inc(x_455); +lean_dec(x_453); +x_456 = lean_unbox(x_454); +lean_dec(x_454); +x_373 = x_456; +x_374 = x_455; +goto block_399; } else { -lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; -x_589 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_589, 0, x_1); -x_590 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_591 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_589); -x_592 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_593 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_593, 0, x_591); -lean_ctor_set(x_593, 1, x_592); -x_594 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_594, 0, x_561); -x_595 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_595, 0, x_593); -lean_ctor_set(x_595, 1, x_594); -x_596 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_597 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_597, 0, x_595); -lean_ctor_set(x_597, 1, x_596); -x_598 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_598, 0, x_2); -x_599 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_599, 0, x_597); -lean_ctor_set(x_599, 1, x_598); -x_600 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_592); -x_601 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_601, 0, x_565); -x_602 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_602, 0, x_600); -lean_ctor_set(x_602, 1, x_601); -x_603 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_590); -x_604 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_605 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_604, x_603, x_3, x_4, x_5, x_6, x_588); +lean_object* x_457; lean_object* x_458; +x_457 = lean_ctor_get(x_453, 0); +lean_inc(x_457); +x_458 = lean_ctor_get(x_453, 1); +lean_inc(x_458); +lean_dec(x_453); +x_400 = x_457; +x_401 = x_458; +goto block_420; +} +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_459 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_459, 0, x_1); +x_460 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_461 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_459); +x_462 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_463 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_463, 0, x_461); +lean_ctor_set(x_463, 1, x_462); +x_464 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_464, 0, x_422); +x_465 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_465, 0, x_463); +lean_ctor_set(x_465, 1, x_464); +x_466 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_467 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_467, 0, x_465); +lean_ctor_set(x_467, 1, x_466); +x_468 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_468, 0, x_2); +x_469 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_469, 0, x_467); +lean_ctor_set(x_469, 1, x_468); +x_470 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_470, 0, x_469); +lean_ctor_set(x_470, 1, x_462); +x_471 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_471, 0, x_426); +x_472 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_472, 0, x_470); +lean_ctor_set(x_472, 1, x_471); +x_473 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_473, 1, x_460); +x_474 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_448, x_473, x_3, x_4, x_5, x_6, x_450); +x_475 = lean_ctor_get(x_474, 0); +lean_inc(x_475); +x_476 = lean_ctor_get(x_474, 1); +lean_inc(x_476); +lean_dec(x_474); +lean_inc(x_6); +x_477 = lean_apply_6(x_451, x_475, x_3, x_4, x_5, x_6, x_476); +if (lean_obj_tag(x_477) == 0) +{ +lean_object* x_478; lean_object* x_479; uint8_t x_480; +x_478 = lean_ctor_get(x_477, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_477, 1); +lean_inc(x_479); +lean_dec(x_477); +x_480 = lean_unbox(x_478); +lean_dec(x_478); +x_373 = x_480; +x_374 = x_479; +goto block_399; +} +else +{ +lean_object* x_481; lean_object* x_482; +x_481 = lean_ctor_get(x_477, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_477, 1); +lean_inc(x_482); +lean_dec(x_477); +x_400 = x_481; +x_401 = x_482; +goto block_420; +} +} +} +} +else +{ +lean_object* x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; lean_object* x_519; lean_object* x_520; lean_object* x_521; uint8_t x_522; +lean_dec(x_426); +lean_dec(x_422); +x_494 = lean_ctor_get(x_444, 1); +lean_inc(x_494); +lean_dec(x_444); +x_495 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_519 = lean_st_ref_get(x_6, x_494); +x_520 = lean_ctor_get(x_519, 0); +lean_inc(x_520); +x_521 = lean_ctor_get(x_520, 3); +lean_inc(x_521); +lean_dec(x_520); +x_522 = lean_ctor_get_uint8(x_521, sizeof(void*)*1); +lean_dec(x_521); +if (x_522 == 0) +{ +lean_object* x_523; +x_523 = lean_ctor_get(x_519, 1); +lean_inc(x_523); +lean_dec(x_519); +x_496 = x_369; +x_497 = x_523; +goto block_518; +} +else +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; uint8_t x_528; +x_524 = lean_ctor_get(x_519, 1); +lean_inc(x_524); +lean_dec(x_519); +x_525 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_495, x_3, x_4, x_5, x_6, x_524); +x_526 = lean_ctor_get(x_525, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_525, 1); +lean_inc(x_527); +lean_dec(x_525); +x_528 = lean_unbox(x_526); +lean_dec(x_526); +x_496 = x_528; +x_497 = x_527; +goto block_518; +} +block_518: +{ +if (x_496 == 0) +{ +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; uint8_t x_502; +x_498 = lean_box(0); +x_499 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_498, x_3, x_4, x_5, x_6, x_497); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_606 = lean_ctor_get(x_605, 1); -lean_inc(x_606); -lean_dec(x_605); -x_512 = x_507; -x_513 = x_606; -goto block_538; -} -} -} -else -{ -lean_object* x_619; uint8_t x_620; lean_object* x_621; lean_object* x_642; lean_object* x_643; lean_object* x_644; uint8_t x_645; -lean_dec(x_565); -lean_dec(x_561); -x_619 = lean_ctor_get(x_583, 1); -lean_inc(x_619); -lean_dec(x_583); -x_642 = lean_st_ref_get(x_6, x_619); -x_643 = lean_ctor_get(x_642, 0); -lean_inc(x_643); -x_644 = lean_ctor_get(x_643, 3); -lean_inc(x_644); -lean_dec(x_643); -x_645 = lean_ctor_get_uint8(x_644, sizeof(void*)*1); -lean_dec(x_644); -if (x_645 == 0) -{ -lean_object* x_646; -x_646 = lean_ctor_get(x_642, 1); -lean_inc(x_646); -lean_dec(x_642); -x_620 = x_507; -x_621 = x_646; -goto block_641; -} -else -{ -lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652; -x_647 = lean_ctor_get(x_642, 1); -lean_inc(x_647); -lean_dec(x_642); -x_648 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_649 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_648, x_3, x_4, x_5, x_6, x_647); -x_650 = lean_ctor_get(x_649, 0); -lean_inc(x_650); -x_651 = lean_ctor_get(x_649, 1); -lean_inc(x_651); -lean_dec(x_649); -x_652 = lean_unbox(x_650); -lean_dec(x_650); -x_620 = x_652; -x_621 = x_651; -goto block_641; -} -block_641: -{ -if (x_620 == 0) -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; -x_622 = l_Lean_Expr_mvarId_x21(x_1); lean_dec(x_1); -x_623 = l_Lean_Meta_assignExprMVar(x_622, x_2, x_3, x_4, x_5, x_6, x_621); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_624 = lean_ctor_get(x_623, 1); -lean_inc(x_624); -lean_dec(x_623); -x_625 = 1; -x_512 = x_625; -x_513 = x_624; -goto block_538; +x_500 = lean_ctor_get(x_499, 0); +lean_inc(x_500); +x_501 = lean_ctor_get(x_499, 1); +lean_inc(x_501); +lean_dec(x_499); +x_502 = lean_unbox(x_500); +lean_dec(x_500); +x_373 = x_502; +x_374 = x_501; +goto block_399; } else { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; +lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; uint8_t x_517; lean_inc(x_1); -x_626 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_626, 0, x_1); -x_627 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_628 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_628, 0, x_627); -lean_ctor_set(x_628, 1, x_626); -x_629 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_630 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_630, 0, x_628); -lean_ctor_set(x_630, 1, x_629); +x_503 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_503, 0, x_1); +x_504 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_505 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_503); +x_506 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_507 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_507, 0, x_505); +lean_ctor_set(x_507, 1, x_506); lean_inc(x_2); -x_631 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_631, 0, x_2); -x_632 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_632, 0, x_630); -lean_ctor_set(x_632, 1, x_631); -x_633 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_633, 0, x_632); -lean_ctor_set(x_633, 1, x_627); -x_634 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_635 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_634, x_633, x_3, x_4, x_5, x_6, x_621); -x_636 = lean_ctor_get(x_635, 1); -lean_inc(x_636); -lean_dec(x_635); -x_637 = l_Lean_Expr_mvarId_x21(x_1); +x_508 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_508, 0, x_2); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_504); +x_511 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_495, x_510, x_3, x_4, x_5, x_6, x_497); +x_512 = lean_ctor_get(x_511, 0); +lean_inc(x_512); +x_513 = lean_ctor_get(x_511, 1); +lean_inc(x_513); +lean_dec(x_511); +x_514 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_512, x_3, x_4, x_5, x_6, x_513); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_512); lean_dec(x_1); -x_638 = l_Lean_Meta_assignExprMVar(x_637, x_2, x_3, x_4, x_5, x_6, x_636); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_639 = lean_ctor_get(x_638, 1); -lean_inc(x_639); -lean_dec(x_638); -x_640 = 1; -x_512 = x_640; -x_513 = x_639; -goto block_538; -} -} -} -} -else -{ -lean_object* x_653; lean_object* x_654; -lean_dec(x_565); -lean_dec(x_561); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_653 = lean_ctor_get(x_583, 0); -lean_inc(x_653); -x_654 = lean_ctor_get(x_583, 1); -lean_inc(x_654); -lean_dec(x_583); -x_539 = x_653; -x_540 = x_654; -goto block_559; -} -} -else -{ -lean_object* x_655; lean_object* x_656; -lean_dec(x_561); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_655 = lean_ctor_get(x_563, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_563, 1); -lean_inc(x_656); -lean_dec(x_563); -x_539 = x_655; -x_540 = x_656; -goto block_559; -} -} -else -{ -lean_object* x_657; lean_object* x_658; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_657 = lean_ctor_get(x_560, 0); -lean_inc(x_657); -x_658 = lean_ctor_get(x_560, 1); -lean_inc(x_658); -lean_dec(x_560); -x_539 = x_657; -x_540 = x_658; -goto block_559; -} -} -else -{ -uint8_t x_659; lean_object* x_660; lean_object* x_674; lean_object* x_675; lean_object* x_676; uint8_t x_677; -x_674 = lean_st_ref_get(x_6, x_511); -x_675 = lean_ctor_get(x_674, 0); -lean_inc(x_675); -x_676 = lean_ctor_get(x_675, 3); -lean_inc(x_676); -lean_dec(x_675); -x_677 = lean_ctor_get_uint8(x_676, sizeof(void*)*1); -lean_dec(x_676); -if (x_677 == 0) -{ -lean_object* x_678; -x_678 = lean_ctor_get(x_674, 1); -lean_inc(x_678); -lean_dec(x_674); -x_659 = x_507; -x_660 = x_678; -goto block_673; -} -else -{ -lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; uint8_t x_684; -x_679 = lean_ctor_get(x_674, 1); -lean_inc(x_679); -lean_dec(x_674); -x_680 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_681 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_680, x_3, x_4, x_5, x_6, x_679); -x_682 = lean_ctor_get(x_681, 0); -lean_inc(x_682); -x_683 = lean_ctor_get(x_681, 1); -lean_inc(x_683); -lean_dec(x_681); -x_684 = lean_unbox(x_682); -lean_dec(x_682); -x_659 = x_684; -x_660 = x_683; -goto block_673; -} -block_673: -{ -if (x_659 == 0) -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_512 = x_507; -x_513 = x_660; -goto block_538; -} -else -{ -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -x_661 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_661, 0, x_1); -x_662 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; -x_663 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_663, 0, x_662); -lean_ctor_set(x_663, 1, x_661); -x_664 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_665 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_665, 0, x_663); -lean_ctor_set(x_665, 1, x_664); -x_666 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_666, 0, x_2); -x_667 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_667, 0, x_665); -lean_ctor_set(x_667, 1, x_666); -x_668 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_669 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_669, 0, x_667); -lean_ctor_set(x_669, 1, x_668); -x_670 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_671 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_670, x_669, x_3, x_4, x_5, x_6, x_660); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_672 = lean_ctor_get(x_671, 1); -lean_inc(x_672); -lean_dec(x_671); -x_512 = x_507; -x_513 = x_672; -goto block_538; -} -} -} -block_538: -{ -lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; uint8_t x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; -x_514 = lean_st_ref_get(x_6, 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_ctor_get(x_515, 3); -lean_inc(x_517); +x_517 = lean_unbox(x_515); lean_dec(x_515); -x_518 = lean_ctor_get_uint8(x_517, sizeof(void*)*1); -lean_dec(x_517); -x_519 = lean_st_ref_take(x_6, x_516); -x_520 = lean_ctor_get(x_519, 0); -lean_inc(x_520); -x_521 = lean_ctor_get(x_520, 3); -lean_inc(x_521); -x_522 = lean_ctor_get(x_519, 1); -lean_inc(x_522); -lean_dec(x_519); -x_523 = lean_ctor_get(x_520, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_520, 1); -lean_inc(x_524); -x_525 = lean_ctor_get(x_520, 2); -lean_inc(x_525); -if (lean_is_exclusive(x_520)) { - lean_ctor_release(x_520, 0); - lean_ctor_release(x_520, 1); - lean_ctor_release(x_520, 2); - lean_ctor_release(x_520, 3); - x_526 = x_520; -} else { - lean_dec_ref(x_520); - x_526 = lean_box(0); +x_373 = x_517; +x_374 = x_516; +goto block_399; } -x_527 = lean_ctor_get(x_521, 0); -lean_inc(x_527); -if (lean_is_exclusive(x_521)) { - lean_ctor_release(x_521, 0); - x_528 = x_521; -} else { - lean_dec_ref(x_521); - x_528 = lean_box(0); } -if (lean_is_scalar(x_528)) { - x_529 = lean_alloc_ctor(0, 1, 1); -} else { - x_529 = x_528; } -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set_uint8(x_529, sizeof(void*)*1, x_31); -if (lean_is_scalar(x_526)) { - x_530 = lean_alloc_ctor(0, 4, 0); -} else { - x_530 = x_526; } -lean_ctor_set(x_530, 0, x_523); -lean_ctor_set(x_530, 1, x_524); -lean_ctor_set(x_530, 2, x_525); -lean_ctor_set(x_530, 3, x_529); -x_531 = lean_st_ref_set(x_6, x_530, x_522); -lean_dec(x_6); -x_532 = lean_ctor_get(x_531, 1); +else +{ +lean_object* x_529; lean_object* x_530; +lean_dec(x_426); +lean_dec(x_422); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_529 = lean_ctor_get(x_444, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_444, 1); +lean_inc(x_530); +lean_dec(x_444); +x_400 = x_529; +x_401 = x_530; +goto block_420; +} +} +else +{ +lean_object* x_531; lean_object* x_532; +lean_dec(x_422); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_531 = lean_ctor_get(x_424, 0); +lean_inc(x_531); +x_532 = lean_ctor_get(x_424, 1); lean_inc(x_532); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_533 = x_531; -} else { - lean_dec_ref(x_531); - x_533 = lean_box(0); +lean_dec(x_424); +x_400 = x_531; +x_401 = x_532; +goto block_420; } -x_534 = lean_box(x_512); -x_535 = lean_box(x_518); -x_536 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_536, 0, x_534); -lean_ctor_set(x_536, 1, x_535); -if (lean_is_scalar(x_533)) { - x_537 = lean_alloc_ctor(0, 2, 0); -} else { - x_537 = x_533; } -lean_ctor_set(x_537, 0, x_536); -lean_ctor_set(x_537, 1, x_532); -x_8 = x_537; +else +{ +lean_object* x_533; lean_object* x_534; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_533 = lean_ctor_get(x_421, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_421, 1); +lean_inc(x_534); +lean_dec(x_421); +x_400 = x_533; +x_401 = x_534; +goto block_420; +} +} +else +{ +lean_object* x_535; uint8_t x_536; lean_object* x_537; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; +x_535 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_565 = lean_st_ref_get(x_6, x_372); +x_566 = lean_ctor_get(x_565, 0); +lean_inc(x_566); +x_567 = lean_ctor_get(x_566, 3); +lean_inc(x_567); +lean_dec(x_566); +x_568 = lean_ctor_get_uint8(x_567, sizeof(void*)*1); +lean_dec(x_567); +if (x_568 == 0) +{ +lean_object* x_569; +x_569 = lean_ctor_get(x_565, 1); +lean_inc(x_569); +lean_dec(x_565); +x_536 = x_369; +x_537 = x_569; +goto block_564; +} +else +{ +lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; +x_570 = lean_ctor_get(x_565, 1); +lean_inc(x_570); +lean_dec(x_565); +x_571 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_535, x_3, x_4, x_5, x_6, x_570); +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_unbox(x_572); +lean_dec(x_572); +x_536 = x_574; +x_537 = x_573; +goto block_564; +} +block_564: +{ +lean_object* x_538; +x_538 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_536 == 0) +{ +lean_object* x_539; lean_object* x_540; +lean_dec(x_2); +lean_dec(x_1); +x_539 = lean_box(0); +lean_inc(x_6); +x_540 = lean_apply_6(x_538, x_539, x_3, x_4, x_5, x_6, x_537); +if (lean_obj_tag(x_540) == 0) +{ +lean_object* x_541; lean_object* x_542; uint8_t x_543; +x_541 = lean_ctor_get(x_540, 0); +lean_inc(x_541); +x_542 = lean_ctor_get(x_540, 1); +lean_inc(x_542); +lean_dec(x_540); +x_543 = lean_unbox(x_541); +lean_dec(x_541); +x_373 = x_543; +x_374 = x_542; +goto block_399; +} +else +{ +lean_object* x_544; lean_object* x_545; +x_544 = lean_ctor_get(x_540, 0); +lean_inc(x_544); +x_545 = lean_ctor_get(x_540, 1); +lean_inc(x_545); +lean_dec(x_540); +x_400 = x_544; +x_401 = x_545; +goto block_420; +} +} +else +{ +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; +x_546 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_546, 0, x_1); +x_547 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21; +x_548 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_546); +x_549 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_550 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_550, 0, x_548); +lean_ctor_set(x_550, 1, x_549); +x_551 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_551, 0, x_2); +x_552 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_552, 0, x_550); +lean_ctor_set(x_552, 1, x_551); +x_553 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_554 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_554, 0, x_552); +lean_ctor_set(x_554, 1, x_553); +x_555 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_535, x_554, x_3, x_4, x_5, x_6, x_537); +x_556 = lean_ctor_get(x_555, 0); +lean_inc(x_556); +x_557 = lean_ctor_get(x_555, 1); +lean_inc(x_557); +lean_dec(x_555); +lean_inc(x_6); +x_558 = lean_apply_6(x_538, x_556, x_3, x_4, x_5, x_6, x_557); +if (lean_obj_tag(x_558) == 0) +{ +lean_object* x_559; lean_object* x_560; uint8_t x_561; +x_559 = lean_ctor_get(x_558, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_558, 1); +lean_inc(x_560); +lean_dec(x_558); +x_561 = lean_unbox(x_559); +lean_dec(x_559); +x_373 = x_561; +x_374 = x_560; +goto block_399; +} +else +{ +lean_object* x_562; lean_object* x_563; +x_562 = lean_ctor_get(x_558, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_558, 1); +lean_inc(x_563); +lean_dec(x_558); +x_400 = x_562; +x_401 = x_563; +goto block_420; +} +} +} +} +block_399: +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_375 = lean_st_ref_get(x_6, x_374); +x_376 = lean_ctor_get(x_375, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = lean_ctor_get(x_376, 3); +lean_inc(x_378); +lean_dec(x_376); +x_379 = lean_ctor_get_uint8(x_378, sizeof(void*)*1); +lean_dec(x_378); +x_380 = lean_st_ref_take(x_6, x_377); +x_381 = lean_ctor_get(x_380, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_381, 3); +lean_inc(x_382); +x_383 = lean_ctor_get(x_380, 1); +lean_inc(x_383); +lean_dec(x_380); +x_384 = lean_ctor_get(x_381, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_381, 1); +lean_inc(x_385); +x_386 = lean_ctor_get(x_381, 2); +lean_inc(x_386); +if (lean_is_exclusive(x_381)) { + lean_ctor_release(x_381, 0); + lean_ctor_release(x_381, 1); + lean_ctor_release(x_381, 2); + lean_ctor_release(x_381, 3); + x_387 = x_381; +} else { + lean_dec_ref(x_381); + x_387 = lean_box(0); +} +x_388 = lean_ctor_get(x_382, 0); +lean_inc(x_388); +if (lean_is_exclusive(x_382)) { + lean_ctor_release(x_382, 0); + x_389 = x_382; +} else { + lean_dec_ref(x_382); + x_389 = lean_box(0); +} +if (lean_is_scalar(x_389)) { + x_390 = lean_alloc_ctor(0, 1, 1); +} else { + x_390 = x_389; +} +lean_ctor_set(x_390, 0, x_388); +lean_ctor_set_uint8(x_390, sizeof(void*)*1, x_31); +if (lean_is_scalar(x_387)) { + x_391 = lean_alloc_ctor(0, 4, 0); +} else { + x_391 = x_387; +} +lean_ctor_set(x_391, 0, x_384); +lean_ctor_set(x_391, 1, x_385); +lean_ctor_set(x_391, 2, x_386); +lean_ctor_set(x_391, 3, x_390); +x_392 = lean_st_ref_set(x_6, x_391, x_383); +lean_dec(x_6); +x_393 = lean_ctor_get(x_392, 1); +lean_inc(x_393); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_394 = x_392; +} else { + lean_dec_ref(x_392); + x_394 = lean_box(0); +} +x_395 = lean_box(x_373); +x_396 = lean_box(x_379); +x_397 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_397, 0, x_395); +lean_ctor_set(x_397, 1, x_396); +if (lean_is_scalar(x_394)) { + x_398 = lean_alloc_ctor(0, 2, 0); +} else { + x_398 = x_394; +} +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_393); +x_8 = x_398; goto block_20; } -block_559: +block_420: { -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -x_541 = lean_st_ref_get(x_6, x_540); -x_542 = lean_ctor_get(x_541, 1); -lean_inc(x_542); -lean_dec(x_541); -x_543 = lean_st_ref_take(x_6, x_542); -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_544, 3); -lean_inc(x_545); -x_546 = lean_ctor_get(x_543, 1); -lean_inc(x_546); -lean_dec(x_543); -x_547 = lean_ctor_get(x_544, 0); -lean_inc(x_547); -x_548 = lean_ctor_get(x_544, 1); -lean_inc(x_548); -x_549 = lean_ctor_get(x_544, 2); -lean_inc(x_549); -if (lean_is_exclusive(x_544)) { - lean_ctor_release(x_544, 0); - lean_ctor_release(x_544, 1); - lean_ctor_release(x_544, 2); - lean_ctor_release(x_544, 3); - x_550 = x_544; +lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_402 = lean_st_ref_get(x_6, x_401); +x_403 = lean_ctor_get(x_402, 1); +lean_inc(x_403); +lean_dec(x_402); +x_404 = lean_st_ref_take(x_6, x_403); +x_405 = lean_ctor_get(x_404, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_405, 3); +lean_inc(x_406); +x_407 = lean_ctor_get(x_404, 1); +lean_inc(x_407); +lean_dec(x_404); +x_408 = lean_ctor_get(x_405, 0); +lean_inc(x_408); +x_409 = lean_ctor_get(x_405, 1); +lean_inc(x_409); +x_410 = lean_ctor_get(x_405, 2); +lean_inc(x_410); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + lean_ctor_release(x_405, 2); + lean_ctor_release(x_405, 3); + x_411 = x_405; } else { - lean_dec_ref(x_544); - x_550 = lean_box(0); + lean_dec_ref(x_405); + x_411 = lean_box(0); } -x_551 = lean_ctor_get(x_545, 0); -lean_inc(x_551); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - x_552 = x_545; +x_412 = lean_ctor_get(x_406, 0); +lean_inc(x_412); +if (lean_is_exclusive(x_406)) { + lean_ctor_release(x_406, 0); + x_413 = x_406; } else { - lean_dec_ref(x_545); - x_552 = lean_box(0); + lean_dec_ref(x_406); + x_413 = lean_box(0); } -if (lean_is_scalar(x_552)) { - x_553 = lean_alloc_ctor(0, 1, 1); +if (lean_is_scalar(x_413)) { + x_414 = lean_alloc_ctor(0, 1, 1); } else { - x_553 = x_552; + x_414 = x_413; } -lean_ctor_set(x_553, 0, x_551); -lean_ctor_set_uint8(x_553, sizeof(void*)*1, x_31); -if (lean_is_scalar(x_550)) { - x_554 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_414, 0, x_412); +lean_ctor_set_uint8(x_414, sizeof(void*)*1, x_31); +if (lean_is_scalar(x_411)) { + x_415 = lean_alloc_ctor(0, 4, 0); } else { - x_554 = x_550; + x_415 = x_411; } -lean_ctor_set(x_554, 0, x_547); -lean_ctor_set(x_554, 1, x_548); -lean_ctor_set(x_554, 2, x_549); -lean_ctor_set(x_554, 3, x_553); -x_555 = lean_st_ref_set(x_6, x_554, x_546); +lean_ctor_set(x_415, 0, x_408); +lean_ctor_set(x_415, 1, x_409); +lean_ctor_set(x_415, 2, x_410); +lean_ctor_set(x_415, 3, x_414); +x_416 = lean_st_ref_set(x_6, x_415, x_407); lean_dec(x_6); -x_556 = lean_ctor_get(x_555, 1); -lean_inc(x_556); -if (lean_is_exclusive(x_555)) { - lean_ctor_release(x_555, 0); - lean_ctor_release(x_555, 1); - x_557 = x_555; +x_417 = lean_ctor_get(x_416, 1); +lean_inc(x_417); +if (lean_is_exclusive(x_416)) { + lean_ctor_release(x_416, 0); + lean_ctor_release(x_416, 1); + x_418 = x_416; } else { - lean_dec_ref(x_555); - x_557 = lean_box(0); + lean_dec_ref(x_416); + x_418 = lean_box(0); } -if (lean_is_scalar(x_557)) { - x_558 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_418)) { + x_419 = lean_alloc_ctor(1, 2, 0); } else { - x_558 = x_557; - lean_ctor_set_tag(x_558, 1); + x_419 = x_418; + lean_ctor_set_tag(x_419, 1); } -lean_ctor_set(x_558, 0, x_539); -lean_ctor_set(x_558, 1, x_556); -x_8 = x_558; +lean_ctor_set(x_419, 0, x_400); +lean_ctor_set(x_419, 1, x_417); +x_8 = x_419; goto block_20; } } } else { -lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; uint8_t x_689; lean_object* x_690; lean_object* x_700; lean_object* x_701; -x_685 = lean_ctor_get(x_5, 3); -lean_inc(x_685); -x_686 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_26); +lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; uint8_t x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; uint8_t x_585; lean_object* x_586; lean_object* x_612; lean_object* x_613; +x_575 = lean_ctor_get(x_33, 0); +x_576 = lean_ctor_get(x_33, 1); +x_577 = lean_ctor_get(x_33, 2); +lean_inc(x_577); +lean_inc(x_576); +lean_inc(x_575); +lean_dec(x_33); +x_578 = lean_ctor_get(x_34, 0); +lean_inc(x_578); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_579 = x_34; +} else { + lean_dec_ref(x_34); + x_579 = lean_box(0); +} +x_580 = 0; +if (lean_is_scalar(x_579)) { + x_581 = lean_alloc_ctor(0, 1, 1); +} else { + x_581 = x_579; +} +lean_ctor_set(x_581, 0, x_578); +lean_ctor_set_uint8(x_581, sizeof(void*)*1, x_580); +x_582 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_582, 0, x_575); +lean_ctor_set(x_582, 1, x_576); +lean_ctor_set(x_582, 2, x_577); +lean_ctor_set(x_582, 3, x_581); +x_583 = lean_st_ref_set(x_6, x_582, x_35); +x_584 = lean_ctor_get(x_583, 1); +lean_inc(x_584); +lean_dec(x_583); +if (x_24 == 0) +{ +lean_object* x_633; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_633 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_584); +if (lean_obj_tag(x_633) == 0) +{ +lean_object* x_634; lean_object* x_635; lean_object* x_636; +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); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_636 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_635); +if (lean_obj_tag(x_636) == 0) +{ +lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; uint8_t x_643; uint8_t x_644; uint8_t x_645; uint8_t x_646; uint8_t x_647; uint8_t x_648; uint8_t x_649; uint8_t x_650; uint8_t x_651; lean_object* x_652; uint8_t x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_637 = lean_ctor_get(x_3, 0); +lean_inc(x_637); +x_638 = lean_ctor_get(x_636, 0); +lean_inc(x_638); +x_639 = lean_ctor_get(x_636, 1); +lean_inc(x_639); +lean_dec(x_636); +x_640 = lean_ctor_get(x_3, 1); +lean_inc(x_640); +x_641 = lean_ctor_get(x_3, 2); +lean_inc(x_641); +x_642 = lean_ctor_get(x_3, 3); +lean_inc(x_642); +x_643 = lean_ctor_get_uint8(x_637, 0); +x_644 = lean_ctor_get_uint8(x_637, 1); +x_645 = lean_ctor_get_uint8(x_637, 2); +x_646 = lean_ctor_get_uint8(x_637, 3); +x_647 = lean_ctor_get_uint8(x_637, 4); +x_648 = lean_ctor_get_uint8(x_637, 6); +x_649 = lean_ctor_get_uint8(x_637, 7); +x_650 = lean_ctor_get_uint8(x_637, 8); +x_651 = lean_ctor_get_uint8(x_637, 9); +if (lean_is_exclusive(x_637)) { + x_652 = x_637; +} else { + lean_dec_ref(x_637); + x_652 = lean_box(0); +} +x_653 = 1; +if (lean_is_scalar(x_652)) { + x_654 = lean_alloc_ctor(0, 0, 10); +} else { + x_654 = x_652; +} +lean_ctor_set_uint8(x_654, 0, x_643); +lean_ctor_set_uint8(x_654, 1, x_644); +lean_ctor_set_uint8(x_654, 2, x_645); +lean_ctor_set_uint8(x_654, 3, x_646); +lean_ctor_set_uint8(x_654, 4, x_647); +lean_ctor_set_uint8(x_654, 5, x_653); +lean_ctor_set_uint8(x_654, 6, x_648); +lean_ctor_set_uint8(x_654, 7, x_649); +lean_ctor_set_uint8(x_654, 8, x_650); +lean_ctor_set_uint8(x_654, 9, x_651); +x_655 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_655, 0, x_654); +lean_ctor_set(x_655, 1, x_640); +lean_ctor_set(x_655, 2, x_641); +lean_ctor_set(x_655, 3, x_642); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_638); +lean_inc(x_634); +x_656 = l_Lean_Meta_isExprDefEqAux(x_634, x_638, x_655, x_4, x_5, x_6, x_639); +if (lean_obj_tag(x_656) == 0) +{ +lean_object* x_657; uint8_t x_658; +x_657 = lean_ctor_get(x_656, 0); +lean_inc(x_657); +x_658 = lean_unbox(x_657); +lean_dec(x_657); +if (x_658 == 0) +{ +lean_object* x_659; lean_object* x_660; uint8_t x_661; lean_object* x_662; lean_object* x_696; lean_object* x_697; lean_object* x_698; uint8_t x_699; +x_659 = lean_ctor_get(x_656, 1); +lean_inc(x_659); +lean_dec(x_656); +x_660 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_696 = lean_st_ref_get(x_6, x_659); +x_697 = lean_ctor_get(x_696, 0); +lean_inc(x_697); +x_698 = lean_ctor_get(x_697, 3); +lean_inc(x_698); +lean_dec(x_697); +x_699 = lean_ctor_get_uint8(x_698, sizeof(void*)*1); +lean_dec(x_698); +if (x_699 == 0) +{ +lean_object* x_700; +x_700 = lean_ctor_get(x_696, 1); +lean_inc(x_700); +lean_dec(x_696); +x_661 = x_580; +x_662 = x_700; +goto block_695; +} +else +{ +lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; +x_701 = lean_ctor_get(x_696, 1); +lean_inc(x_701); +lean_dec(x_696); +x_702 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_660, x_3, x_4, x_5, x_6, x_701); +x_703 = lean_ctor_get(x_702, 0); +lean_inc(x_703); +x_704 = lean_ctor_get(x_702, 1); +lean_inc(x_704); +lean_dec(x_702); +x_705 = lean_unbox(x_703); +lean_dec(x_703); +x_661 = x_705; +x_662 = x_704; +goto block_695; +} +block_695: +{ +lean_object* x_663; +x_663 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_661 == 0) +{ +lean_object* x_664; lean_object* x_665; +lean_dec(x_638); +lean_dec(x_634); +lean_dec(x_2); +lean_dec(x_1); +x_664 = lean_box(0); +lean_inc(x_6); +x_665 = lean_apply_6(x_663, x_664, x_3, x_4, x_5, x_6, x_662); +if (lean_obj_tag(x_665) == 0) +{ +lean_object* x_666; lean_object* x_667; uint8_t x_668; +x_666 = lean_ctor_get(x_665, 0); +lean_inc(x_666); +x_667 = lean_ctor_get(x_665, 1); +lean_inc(x_667); +lean_dec(x_665); +x_668 = lean_unbox(x_666); +lean_dec(x_666); +x_585 = x_668; +x_586 = x_667; +goto block_611; +} +else +{ +lean_object* x_669; lean_object* x_670; +x_669 = lean_ctor_get(x_665, 0); +lean_inc(x_669); +x_670 = lean_ctor_get(x_665, 1); +lean_inc(x_670); +lean_dec(x_665); +x_612 = x_669; +x_613 = x_670; +goto block_632; +} +} +else +{ +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_671 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_671, 0, x_1); +x_672 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_673 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_671); +x_674 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_675 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_675, 0, x_673); +lean_ctor_set(x_675, 1, x_674); +x_676 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_676, 0, x_634); +x_677 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_677, 0, x_675); +lean_ctor_set(x_677, 1, x_676); +x_678 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_679 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_679, 0, x_677); +lean_ctor_set(x_679, 1, x_678); +x_680 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_680, 0, x_2); +x_681 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_681, 0, x_679); +lean_ctor_set(x_681, 1, x_680); +x_682 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_682, 0, x_681); +lean_ctor_set(x_682, 1, x_674); +x_683 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_683, 0, x_638); +x_684 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_684, 0, x_682); +lean_ctor_set(x_684, 1, x_683); +x_685 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_672); +x_686 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_660, x_685, x_3, x_4, x_5, x_6, x_662); x_687 = lean_ctor_get(x_686, 0); lean_inc(x_687); x_688 = lean_ctor_get(x_686, 1); lean_inc(x_688); lean_dec(x_686); +lean_inc(x_6); +x_689 = lean_apply_6(x_663, x_687, x_3, x_4, x_5, x_6, x_688); +if (lean_obj_tag(x_689) == 0) +{ +lean_object* x_690; lean_object* x_691; uint8_t x_692; +x_690 = lean_ctor_get(x_689, 0); +lean_inc(x_690); +x_691 = lean_ctor_get(x_689, 1); +lean_inc(x_691); +lean_dec(x_689); +x_692 = lean_unbox(x_690); +lean_dec(x_690); +x_585 = x_692; +x_586 = x_691; +goto block_611; +} +else +{ +lean_object* x_693; lean_object* x_694; +x_693 = lean_ctor_get(x_689, 0); +lean_inc(x_693); +x_694 = lean_ctor_get(x_689, 1); +lean_inc(x_694); +lean_dec(x_689); +x_612 = x_693; +x_613 = x_694; +goto block_632; +} +} +} +} +else +{ +lean_object* x_706; lean_object* x_707; uint8_t x_708; lean_object* x_709; lean_object* x_731; lean_object* x_732; lean_object* x_733; uint8_t x_734; +lean_dec(x_638); +lean_dec(x_634); +x_706 = lean_ctor_get(x_656, 1); +lean_inc(x_706); +lean_dec(x_656); +x_707 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_731 = lean_st_ref_get(x_6, x_706); +x_732 = lean_ctor_get(x_731, 0); +lean_inc(x_732); +x_733 = lean_ctor_get(x_732, 3); +lean_inc(x_733); +lean_dec(x_732); +x_734 = lean_ctor_get_uint8(x_733, sizeof(void*)*1); +lean_dec(x_733); +if (x_734 == 0) +{ +lean_object* x_735; +x_735 = lean_ctor_get(x_731, 1); +lean_inc(x_735); +lean_dec(x_731); +x_708 = x_580; +x_709 = x_735; +goto block_730; +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; uint8_t x_740; +x_736 = lean_ctor_get(x_731, 1); +lean_inc(x_736); +lean_dec(x_731); +x_737 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_707, x_3, x_4, x_5, x_6, x_736); +x_738 = lean_ctor_get(x_737, 0); +lean_inc(x_738); +x_739 = lean_ctor_get(x_737, 1); +lean_inc(x_739); +lean_dec(x_737); +x_740 = lean_unbox(x_738); +lean_dec(x_738); +x_708 = x_740; +x_709 = x_739; +goto block_730; +} +block_730: +{ +if (x_708 == 0) +{ +lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; uint8_t x_714; +x_710 = lean_box(0); +x_711 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_710, x_3, x_4, x_5, x_6, x_709); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_712 = lean_ctor_get(x_711, 0); +lean_inc(x_712); +x_713 = lean_ctor_get(x_711, 1); +lean_inc(x_713); +lean_dec(x_711); +x_714 = lean_unbox(x_712); +lean_dec(x_712); +x_585 = x_714; +x_586 = x_713; +goto block_611; +} +else +{ +lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; uint8_t x_729; +lean_inc(x_1); +x_715 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_715, 0, x_1); +x_716 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_717 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_715); +x_718 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_719 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_719, 0, x_717); +lean_ctor_set(x_719, 1, x_718); +lean_inc(x_2); +x_720 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_720, 0, x_2); +x_721 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_721, 0, x_719); +lean_ctor_set(x_721, 1, x_720); +x_722 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_716); +x_723 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_707, x_722, x_3, x_4, x_5, x_6, x_709); +x_724 = lean_ctor_get(x_723, 0); +lean_inc(x_724); +x_725 = lean_ctor_get(x_723, 1); +lean_inc(x_725); +lean_dec(x_723); +x_726 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_724, x_3, x_4, x_5, x_6, x_725); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_724); +lean_dec(x_1); +x_727 = lean_ctor_get(x_726, 0); +lean_inc(x_727); +x_728 = lean_ctor_get(x_726, 1); +lean_inc(x_728); +lean_dec(x_726); +x_729 = lean_unbox(x_727); +lean_dec(x_727); +x_585 = x_729; +x_586 = x_728; +goto block_611; +} +} +} +} +else +{ +lean_object* x_741; lean_object* x_742; +lean_dec(x_638); +lean_dec(x_634); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_741 = lean_ctor_get(x_656, 0); +lean_inc(x_741); +x_742 = lean_ctor_get(x_656, 1); +lean_inc(x_742); +lean_dec(x_656); +x_612 = x_741; +x_613 = x_742; +goto block_632; +} +} +else +{ +lean_object* x_743; lean_object* x_744; +lean_dec(x_634); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_743 = lean_ctor_get(x_636, 0); +lean_inc(x_743); +x_744 = lean_ctor_get(x_636, 1); +lean_inc(x_744); +lean_dec(x_636); +x_612 = x_743; +x_613 = x_744; +goto block_632; +} +} +else +{ +lean_object* x_745; lean_object* x_746; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_745 = lean_ctor_get(x_633, 0); +lean_inc(x_745); +x_746 = lean_ctor_get(x_633, 1); +lean_inc(x_746); +lean_dec(x_633); +x_612 = x_745; +x_613 = x_746; +goto block_632; +} +} +else +{ +lean_object* x_747; uint8_t x_748; lean_object* x_749; lean_object* x_777; lean_object* x_778; lean_object* x_779; uint8_t x_780; +x_747 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_777 = lean_st_ref_get(x_6, x_584); +x_778 = lean_ctor_get(x_777, 0); +lean_inc(x_778); +x_779 = lean_ctor_get(x_778, 3); +lean_inc(x_779); +lean_dec(x_778); +x_780 = lean_ctor_get_uint8(x_779, sizeof(void*)*1); +lean_dec(x_779); +if (x_780 == 0) +{ +lean_object* x_781; +x_781 = lean_ctor_get(x_777, 1); +lean_inc(x_781); +lean_dec(x_777); +x_748 = x_580; +x_749 = x_781; +goto block_776; +} +else +{ +lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; uint8_t x_786; +x_782 = lean_ctor_get(x_777, 1); +lean_inc(x_782); +lean_dec(x_777); +x_783 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_747, x_3, x_4, x_5, x_6, x_782); +x_784 = lean_ctor_get(x_783, 0); +lean_inc(x_784); +x_785 = lean_ctor_get(x_783, 1); +lean_inc(x_785); +lean_dec(x_783); +x_786 = lean_unbox(x_784); +lean_dec(x_784); +x_748 = x_786; +x_749 = x_785; +goto block_776; +} +block_776: +{ +lean_object* x_750; +x_750 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_748 == 0) +{ +lean_object* x_751; lean_object* x_752; +lean_dec(x_2); +lean_dec(x_1); +x_751 = lean_box(0); +lean_inc(x_6); +x_752 = lean_apply_6(x_750, x_751, x_3, x_4, x_5, x_6, x_749); +if (lean_obj_tag(x_752) == 0) +{ +lean_object* x_753; lean_object* x_754; uint8_t x_755; +x_753 = lean_ctor_get(x_752, 0); +lean_inc(x_753); +x_754 = lean_ctor_get(x_752, 1); +lean_inc(x_754); +lean_dec(x_752); +x_755 = lean_unbox(x_753); +lean_dec(x_753); +x_585 = x_755; +x_586 = x_754; +goto block_611; +} +else +{ +lean_object* x_756; lean_object* x_757; +x_756 = lean_ctor_get(x_752, 0); +lean_inc(x_756); +x_757 = lean_ctor_get(x_752, 1); +lean_inc(x_757); +lean_dec(x_752); +x_612 = x_756; +x_613 = x_757; +goto block_632; +} +} +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; +x_758 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_758, 0, x_1); +x_759 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21; +x_760 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_758); +x_761 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_762 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_762, 0, x_760); +lean_ctor_set(x_762, 1, x_761); +x_763 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_763, 0, x_2); +x_764 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_764, 0, x_762); +lean_ctor_set(x_764, 1, x_763); +x_765 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_766 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_766, 0, x_764); +lean_ctor_set(x_766, 1, x_765); +x_767 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_747, x_766, x_3, x_4, x_5, x_6, x_749); +x_768 = lean_ctor_get(x_767, 0); +lean_inc(x_768); +x_769 = lean_ctor_get(x_767, 1); +lean_inc(x_769); +lean_dec(x_767); +lean_inc(x_6); +x_770 = lean_apply_6(x_750, x_768, x_3, x_4, x_5, x_6, x_769); +if (lean_obj_tag(x_770) == 0) +{ +lean_object* x_771; lean_object* x_772; uint8_t x_773; +x_771 = lean_ctor_get(x_770, 0); +lean_inc(x_771); +x_772 = lean_ctor_get(x_770, 1); +lean_inc(x_772); +lean_dec(x_770); +x_773 = lean_unbox(x_771); +lean_dec(x_771); +x_585 = x_773; +x_586 = x_772; +goto block_611; +} +else +{ +lean_object* x_774; lean_object* x_775; +x_774 = lean_ctor_get(x_770, 0); +lean_inc(x_774); +x_775 = lean_ctor_get(x_770, 1); +lean_inc(x_775); +lean_dec(x_770); +x_612 = x_774; +x_613 = x_775; +goto block_632; +} +} +} +} +block_611: +{ +lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; uint8_t x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; +x_587 = lean_st_ref_get(x_6, x_586); +x_588 = lean_ctor_get(x_587, 0); +lean_inc(x_588); +x_589 = lean_ctor_get(x_587, 1); +lean_inc(x_589); +lean_dec(x_587); +x_590 = lean_ctor_get(x_588, 3); +lean_inc(x_590); +lean_dec(x_588); +x_591 = lean_ctor_get_uint8(x_590, sizeof(void*)*1); +lean_dec(x_590); +x_592 = lean_st_ref_take(x_6, x_589); +x_593 = lean_ctor_get(x_592, 0); +lean_inc(x_593); +x_594 = lean_ctor_get(x_593, 3); +lean_inc(x_594); +x_595 = lean_ctor_get(x_592, 1); +lean_inc(x_595); +lean_dec(x_592); +x_596 = lean_ctor_get(x_593, 0); +lean_inc(x_596); +x_597 = lean_ctor_get(x_593, 1); +lean_inc(x_597); +x_598 = lean_ctor_get(x_593, 2); +lean_inc(x_598); +if (lean_is_exclusive(x_593)) { + lean_ctor_release(x_593, 0); + lean_ctor_release(x_593, 1); + lean_ctor_release(x_593, 2); + lean_ctor_release(x_593, 3); + x_599 = x_593; +} else { + lean_dec_ref(x_593); + x_599 = lean_box(0); +} +x_600 = lean_ctor_get(x_594, 0); +lean_inc(x_600); +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + x_601 = x_594; +} else { + lean_dec_ref(x_594); + x_601 = lean_box(0); +} +if (lean_is_scalar(x_601)) { + x_602 = lean_alloc_ctor(0, 1, 1); +} else { + x_602 = x_601; +} +lean_ctor_set(x_602, 0, x_600); +lean_ctor_set_uint8(x_602, sizeof(void*)*1, x_31); +if (lean_is_scalar(x_599)) { + x_603 = lean_alloc_ctor(0, 4, 0); +} else { + x_603 = x_599; +} +lean_ctor_set(x_603, 0, x_596); +lean_ctor_set(x_603, 1, x_597); +lean_ctor_set(x_603, 2, x_598); +lean_ctor_set(x_603, 3, x_602); +x_604 = lean_st_ref_set(x_6, x_603, x_595); +lean_dec(x_6); +x_605 = lean_ctor_get(x_604, 1); +lean_inc(x_605); +if (lean_is_exclusive(x_604)) { + lean_ctor_release(x_604, 0); + lean_ctor_release(x_604, 1); + x_606 = x_604; +} else { + lean_dec_ref(x_604); + x_606 = lean_box(0); +} +x_607 = lean_box(x_585); +x_608 = lean_box(x_591); +x_609 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_609, 0, x_607); +lean_ctor_set(x_609, 1, x_608); +if (lean_is_scalar(x_606)) { + x_610 = lean_alloc_ctor(0, 2, 0); +} else { + x_610 = x_606; +} +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_605); +x_8 = x_610; +goto block_20; +} +block_632: +{ +lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; +x_614 = lean_st_ref_get(x_6, x_613); +x_615 = lean_ctor_get(x_614, 1); +lean_inc(x_615); +lean_dec(x_614); +x_616 = lean_st_ref_take(x_6, x_615); +x_617 = lean_ctor_get(x_616, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_617, 3); +lean_inc(x_618); +x_619 = lean_ctor_get(x_616, 1); +lean_inc(x_619); +lean_dec(x_616); +x_620 = lean_ctor_get(x_617, 0); +lean_inc(x_620); +x_621 = lean_ctor_get(x_617, 1); +lean_inc(x_621); +x_622 = lean_ctor_get(x_617, 2); +lean_inc(x_622); +if (lean_is_exclusive(x_617)) { + lean_ctor_release(x_617, 0); + lean_ctor_release(x_617, 1); + lean_ctor_release(x_617, 2); + lean_ctor_release(x_617, 3); + x_623 = x_617; +} else { + lean_dec_ref(x_617); + x_623 = lean_box(0); +} +x_624 = lean_ctor_get(x_618, 0); +lean_inc(x_624); +if (lean_is_exclusive(x_618)) { + lean_ctor_release(x_618, 0); + x_625 = x_618; +} else { + lean_dec_ref(x_618); + x_625 = lean_box(0); +} +if (lean_is_scalar(x_625)) { + x_626 = lean_alloc_ctor(0, 1, 1); +} else { + x_626 = x_625; +} +lean_ctor_set(x_626, 0, x_624); +lean_ctor_set_uint8(x_626, sizeof(void*)*1, x_31); +if (lean_is_scalar(x_623)) { + x_627 = lean_alloc_ctor(0, 4, 0); +} else { + x_627 = x_623; +} +lean_ctor_set(x_627, 0, x_620); +lean_ctor_set(x_627, 1, x_621); +lean_ctor_set(x_627, 2, x_622); +lean_ctor_set(x_627, 3, x_626); +x_628 = lean_st_ref_set(x_6, x_627, x_619); +lean_dec(x_6); +x_629 = lean_ctor_get(x_628, 1); +lean_inc(x_629); +if (lean_is_exclusive(x_628)) { + lean_ctor_release(x_628, 0); + lean_ctor_release(x_628, 1); + x_630 = x_628; +} else { + lean_dec_ref(x_628); + x_630 = lean_box(0); +} +if (lean_is_scalar(x_630)) { + x_631 = lean_alloc_ctor(1, 2, 0); +} else { + x_631 = x_630; + lean_ctor_set_tag(x_631, 1); +} +lean_ctor_set(x_631, 0, x_612); +lean_ctor_set(x_631, 1, x_629); +x_8 = x_631; +goto block_20; +} +} +} +else +{ +lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; uint8_t x_791; lean_object* x_792; lean_object* x_802; lean_object* x_803; +x_787 = lean_ctor_get(x_5, 3); +lean_inc(x_787); +x_788 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_26); +x_789 = lean_ctor_get(x_788, 0); +lean_inc(x_789); +x_790 = lean_ctor_get(x_788, 1); +lean_inc(x_790); +lean_dec(x_788); if (x_24 == 0) { -lean_object* x_709; +lean_object* x_811; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_709 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_688); -if (lean_obj_tag(x_709) == 0) +x_811 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_790); +if (lean_obj_tag(x_811) == 0) { -lean_object* x_710; lean_object* x_711; lean_object* x_712; -x_710 = lean_ctor_get(x_709, 0); -lean_inc(x_710); -x_711 = lean_ctor_get(x_709, 1); -lean_inc(x_711); -lean_dec(x_709); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_712 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_711); -if (lean_obj_tag(x_712) == 0) -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; uint8_t x_719; -x_713 = lean_ctor_get(x_3, 0); -lean_inc(x_713); -x_714 = lean_ctor_get(x_712, 0); -lean_inc(x_714); -x_715 = lean_ctor_get(x_712, 1); -lean_inc(x_715); -lean_dec(x_712); -x_716 = lean_ctor_get(x_3, 1); -lean_inc(x_716); -x_717 = lean_ctor_get(x_3, 2); -lean_inc(x_717); -x_718 = lean_ctor_get(x_3, 3); -lean_inc(x_718); -x_719 = !lean_is_exclusive(x_713); -if (x_719 == 0) -{ -uint8_t x_720; lean_object* x_721; lean_object* x_722; -x_720 = 1; -lean_ctor_set_uint8(x_713, 5, x_720); -x_721 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_721, 0, x_713); -lean_ctor_set(x_721, 1, x_716); -lean_ctor_set(x_721, 2, x_717); -lean_ctor_set(x_721, 3, x_718); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_714); -lean_inc(x_710); -x_722 = l_Lean_Meta_isExprDefEqAux(x_710, x_714, x_721, x_4, x_5, x_6, x_715); -if (lean_obj_tag(x_722) == 0) -{ -lean_object* x_723; uint8_t x_724; -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_unbox(x_723); -lean_dec(x_723); -if (x_724 == 0) -{ -lean_object* x_725; uint8_t x_726; lean_object* x_727; lean_object* x_749; lean_object* x_750; lean_object* x_751; uint8_t x_752; -x_725 = lean_ctor_get(x_722, 1); -lean_inc(x_725); -lean_dec(x_722); -x_749 = lean_st_ref_get(x_6, x_725); -x_750 = lean_ctor_get(x_749, 0); -lean_inc(x_750); -x_751 = lean_ctor_get(x_750, 3); -lean_inc(x_751); -lean_dec(x_750); -x_752 = lean_ctor_get_uint8(x_751, sizeof(void*)*1); -lean_dec(x_751); -if (x_752 == 0) -{ -lean_object* x_753; uint8_t x_754; -x_753 = lean_ctor_get(x_749, 1); -lean_inc(x_753); -lean_dec(x_749); -x_754 = 0; -x_726 = x_754; -x_727 = x_753; -goto block_748; -} -else -{ -lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; uint8_t x_760; -x_755 = lean_ctor_get(x_749, 1); -lean_inc(x_755); -lean_dec(x_749); -x_756 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_757 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_756, x_3, x_4, x_5, x_6, x_755); -x_758 = lean_ctor_get(x_757, 0); -lean_inc(x_758); -x_759 = lean_ctor_get(x_757, 1); -lean_inc(x_759); -lean_dec(x_757); -x_760 = lean_unbox(x_758); -lean_dec(x_758); -x_726 = x_760; -x_727 = x_759; -goto block_748; -} -block_748: -{ -if (x_726 == 0) -{ -uint8_t x_728; -lean_dec(x_714); -lean_dec(x_710); -lean_dec(x_2); -lean_dec(x_1); -x_728 = 0; -x_689 = x_728; -x_690 = x_727; -goto block_699; -} -else -{ -lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; uint8_t x_747; -x_729 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_729, 0, x_1); -x_730 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_731 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_731, 0, x_730); -lean_ctor_set(x_731, 1, x_729); -x_732 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_733 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_733, 0, x_731); -lean_ctor_set(x_733, 1, x_732); -x_734 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_734, 0, x_710); -x_735 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_735, 0, x_733); -lean_ctor_set(x_735, 1, x_734); -x_736 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_737 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_737, 0, x_735); -lean_ctor_set(x_737, 1, x_736); -x_738 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_738, 0, x_2); -x_739 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_739, 0, x_737); -lean_ctor_set(x_739, 1, x_738); -x_740 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_732); -x_741 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_741, 0, x_714); -x_742 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_742, 0, x_740); -lean_ctor_set(x_742, 1, x_741); -x_743 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_743, 0, x_742); -lean_ctor_set(x_743, 1, x_730); -x_744 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_745 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_744, x_743, x_3, x_4, x_5, x_6, x_727); -x_746 = lean_ctor_get(x_745, 1); -lean_inc(x_746); -lean_dec(x_745); -x_747 = 0; -x_689 = x_747; -x_690 = x_746; -goto block_699; -} -} -} -else -{ -lean_object* x_761; uint8_t x_762; lean_object* x_763; lean_object* x_784; lean_object* x_785; lean_object* x_786; uint8_t x_787; -lean_dec(x_714); -lean_dec(x_710); -x_761 = lean_ctor_get(x_722, 1); -lean_inc(x_761); -lean_dec(x_722); -x_784 = lean_st_ref_get(x_6, x_761); -x_785 = lean_ctor_get(x_784, 0); -lean_inc(x_785); -x_786 = lean_ctor_get(x_785, 3); -lean_inc(x_786); -lean_dec(x_785); -x_787 = lean_ctor_get_uint8(x_786, sizeof(void*)*1); -lean_dec(x_786); -if (x_787 == 0) -{ -lean_object* x_788; uint8_t x_789; -x_788 = lean_ctor_get(x_784, 1); -lean_inc(x_788); -lean_dec(x_784); -x_789 = 0; -x_762 = x_789; -x_763 = x_788; -goto block_783; -} -else -{ -lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; uint8_t x_795; -x_790 = lean_ctor_get(x_784, 1); -lean_inc(x_790); -lean_dec(x_784); -x_791 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_792 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_791, x_3, x_4, x_5, x_6, x_790); -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -x_794 = lean_ctor_get(x_792, 1); -lean_inc(x_794); -lean_dec(x_792); -x_795 = lean_unbox(x_793); -lean_dec(x_793); -x_762 = x_795; -x_763 = x_794; -goto block_783; -} -block_783: -{ -if (x_762 == 0) -{ -lean_object* x_764; lean_object* x_765; lean_object* x_766; uint8_t x_767; -x_764 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_765 = l_Lean_Meta_assignExprMVar(x_764, x_2, x_3, x_4, x_5, x_6, x_763); -x_766 = lean_ctor_get(x_765, 1); -lean_inc(x_766); -lean_dec(x_765); -x_767 = 1; -x_689 = x_767; -x_690 = x_766; -goto block_699; -} -else -{ -lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; uint8_t x_782; -lean_inc(x_1); -x_768 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_768, 0, x_1); -x_769 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_770 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_770, 0, x_769); -lean_ctor_set(x_770, 1, x_768); -x_771 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_772 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_772, 0, x_770); -lean_ctor_set(x_772, 1, x_771); -lean_inc(x_2); -x_773 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_773, 0, x_2); -x_774 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_774, 0, x_772); -lean_ctor_set(x_774, 1, x_773); -x_775 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_769); -x_776 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_777 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_776, x_775, x_3, x_4, x_5, x_6, x_763); -x_778 = lean_ctor_get(x_777, 1); -lean_inc(x_778); -lean_dec(x_777); -x_779 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_780 = l_Lean_Meta_assignExprMVar(x_779, x_2, x_3, x_4, x_5, x_6, x_778); -x_781 = lean_ctor_get(x_780, 1); -lean_inc(x_781); -lean_dec(x_780); -x_782 = 1; -x_689 = x_782; -x_690 = x_781; -goto block_699; -} -} -} -} -else -{ -lean_object* x_796; lean_object* x_797; -lean_dec(x_714); -lean_dec(x_710); -lean_dec(x_2); -lean_dec(x_1); -x_796 = lean_ctor_get(x_722, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_722, 1); -lean_inc(x_797); -lean_dec(x_722); -x_700 = x_796; -x_701 = x_797; -goto block_708; -} -} -else -{ -uint8_t x_798; uint8_t x_799; uint8_t x_800; uint8_t x_801; uint8_t x_802; uint8_t x_803; uint8_t x_804; uint8_t x_805; uint8_t x_806; uint8_t x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; -x_798 = lean_ctor_get_uint8(x_713, 0); -x_799 = lean_ctor_get_uint8(x_713, 1); -x_800 = lean_ctor_get_uint8(x_713, 2); -x_801 = lean_ctor_get_uint8(x_713, 3); -x_802 = lean_ctor_get_uint8(x_713, 4); -x_803 = lean_ctor_get_uint8(x_713, 6); -x_804 = lean_ctor_get_uint8(x_713, 7); -x_805 = lean_ctor_get_uint8(x_713, 8); -x_806 = lean_ctor_get_uint8(x_713, 9); -lean_dec(x_713); -x_807 = 1; -x_808 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_808, 0, x_798); -lean_ctor_set_uint8(x_808, 1, x_799); -lean_ctor_set_uint8(x_808, 2, x_800); -lean_ctor_set_uint8(x_808, 3, x_801); -lean_ctor_set_uint8(x_808, 4, x_802); -lean_ctor_set_uint8(x_808, 5, x_807); -lean_ctor_set_uint8(x_808, 6, x_803); -lean_ctor_set_uint8(x_808, 7, x_804); -lean_ctor_set_uint8(x_808, 8, x_805); -lean_ctor_set_uint8(x_808, 9, x_806); -x_809 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_809, 0, x_808); -lean_ctor_set(x_809, 1, x_716); -lean_ctor_set(x_809, 2, x_717); -lean_ctor_set(x_809, 3, x_718); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_714); -lean_inc(x_710); -x_810 = l_Lean_Meta_isExprDefEqAux(x_710, x_714, x_809, x_4, x_5, x_6, x_715); -if (lean_obj_tag(x_810) == 0) -{ -lean_object* x_811; uint8_t x_812; -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_unbox(x_811); -lean_dec(x_811); -if (x_812 == 0) -{ -lean_object* x_813; uint8_t x_814; lean_object* x_815; lean_object* x_837; lean_object* x_838; lean_object* x_839; uint8_t x_840; -x_813 = lean_ctor_get(x_810, 1); +lean_object* x_812; lean_object* x_813; lean_object* x_814; +x_812 = lean_ctor_get(x_811, 0); +lean_inc(x_812); +x_813 = lean_ctor_get(x_811, 1); lean_inc(x_813); -lean_dec(x_810); -x_837 = lean_st_ref_get(x_6, x_813); -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -x_839 = lean_ctor_get(x_838, 3); -lean_inc(x_839); -lean_dec(x_838); -x_840 = lean_ctor_get_uint8(x_839, sizeof(void*)*1); -lean_dec(x_839); -if (x_840 == 0) +lean_dec(x_811); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_814 = l_Lean_Meta_inferType(x_2, x_3, x_4, x_5, x_6, x_813); +if (lean_obj_tag(x_814) == 0) { -lean_object* x_841; uint8_t x_842; -x_841 = lean_ctor_get(x_837, 1); -lean_inc(x_841); -lean_dec(x_837); -x_842 = 0; -x_814 = x_842; -x_815 = x_841; -goto block_836; +lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; uint8_t x_821; +x_815 = lean_ctor_get(x_3, 0); +lean_inc(x_815); +x_816 = lean_ctor_get(x_814, 0); +lean_inc(x_816); +x_817 = lean_ctor_get(x_814, 1); +lean_inc(x_817); +lean_dec(x_814); +x_818 = lean_ctor_get(x_3, 1); +lean_inc(x_818); +x_819 = lean_ctor_get(x_3, 2); +lean_inc(x_819); +x_820 = lean_ctor_get(x_3, 3); +lean_inc(x_820); +x_821 = !lean_is_exclusive(x_815); +if (x_821 == 0) +{ +uint8_t x_822; lean_object* x_823; lean_object* x_824; +x_822 = 1; +lean_ctor_set_uint8(x_815, 5, x_822); +x_823 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_823, 0, x_815); +lean_ctor_set(x_823, 1, x_818); +lean_ctor_set(x_823, 2, x_819); +lean_ctor_set(x_823, 3, x_820); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_816); +lean_inc(x_812); +x_824 = l_Lean_Meta_isExprDefEqAux(x_812, x_816, x_823, x_4, x_5, x_6, x_817); +if (lean_obj_tag(x_824) == 0) +{ +lean_object* x_825; uint8_t x_826; +x_825 = lean_ctor_get(x_824, 0); +lean_inc(x_825); +x_826 = lean_unbox(x_825); +lean_dec(x_825); +if (x_826 == 0) +{ +lean_object* x_827; lean_object* x_828; uint8_t x_829; lean_object* x_830; lean_object* x_864; lean_object* x_865; lean_object* x_866; uint8_t x_867; +x_827 = lean_ctor_get(x_824, 1); +lean_inc(x_827); +lean_dec(x_824); +x_828 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_864 = lean_st_ref_get(x_6, x_827); +x_865 = lean_ctor_get(x_864, 0); +lean_inc(x_865); +x_866 = lean_ctor_get(x_865, 3); +lean_inc(x_866); +lean_dec(x_865); +x_867 = lean_ctor_get_uint8(x_866, sizeof(void*)*1); +lean_dec(x_866); +if (x_867 == 0) +{ +lean_object* x_868; uint8_t x_869; +x_868 = lean_ctor_get(x_864, 1); +lean_inc(x_868); +lean_dec(x_864); +x_869 = 0; +x_829 = x_869; +x_830 = x_868; +goto block_863; } else { -lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; uint8_t x_848; -x_843 = lean_ctor_get(x_837, 1); -lean_inc(x_843); -lean_dec(x_837); -x_844 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_845 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_844, x_3, x_4, x_5, x_6, x_843); -x_846 = lean_ctor_get(x_845, 0); -lean_inc(x_846); -x_847 = lean_ctor_get(x_845, 1); -lean_inc(x_847); -lean_dec(x_845); -x_848 = lean_unbox(x_846); -lean_dec(x_846); -x_814 = x_848; -x_815 = x_847; -goto block_836; +lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; uint8_t x_874; +x_870 = lean_ctor_get(x_864, 1); +lean_inc(x_870); +lean_dec(x_864); +x_871 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_828, x_3, x_4, x_5, x_6, x_870); +x_872 = lean_ctor_get(x_871, 0); +lean_inc(x_872); +x_873 = lean_ctor_get(x_871, 1); +lean_inc(x_873); +lean_dec(x_871); +x_874 = lean_unbox(x_872); +lean_dec(x_872); +x_829 = x_874; +x_830 = x_873; +goto block_863; } -block_836: +block_863: { -if (x_814 == 0) +lean_object* x_831; +x_831 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_829 == 0) { -uint8_t x_816; -lean_dec(x_714); -lean_dec(x_710); +lean_object* x_832; lean_object* x_833; +lean_dec(x_816); +lean_dec(x_812); lean_dec(x_2); lean_dec(x_1); -x_816 = 0; -x_689 = x_816; -x_690 = x_815; -goto block_699; -} -else +x_832 = lean_box(0); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_833 = lean_apply_6(x_831, x_832, x_3, x_4, x_5, x_6, x_830); +if (lean_obj_tag(x_833) == 0) { -lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; uint8_t x_835; -x_817 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_817, 0, x_1); -x_818 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_819 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_819, 0, x_818); -lean_ctor_set(x_819, 1, x_817); -x_820 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_821 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_821, 0, x_819); -lean_ctor_set(x_821, 1, x_820); -x_822 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_822, 0, x_710); -x_823 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_823, 0, x_821); -lean_ctor_set(x_823, 1, x_822); -x_824 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_825 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_825, 0, x_823); -lean_ctor_set(x_825, 1, x_824); -x_826 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_826, 0, x_2); -x_827 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_827, 0, x_825); -lean_ctor_set(x_827, 1, x_826); -x_828 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_828, 0, x_827); -lean_ctor_set(x_828, 1, x_820); -x_829 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_829, 0, x_714); -x_830 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_830, 0, x_828); -lean_ctor_set(x_830, 1, x_829); -x_831 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_831, 0, x_830); -lean_ctor_set(x_831, 1, x_818); -x_832 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; -x_833 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_832, x_831, x_3, x_4, x_5, x_6, x_815); -x_834 = lean_ctor_get(x_833, 1); +lean_object* x_834; lean_object* x_835; uint8_t x_836; +x_834 = lean_ctor_get(x_833, 0); lean_inc(x_834); +x_835 = lean_ctor_get(x_833, 1); +lean_inc(x_835); lean_dec(x_833); -x_835 = 0; -x_689 = x_835; -x_690 = x_834; -goto block_699; +x_836 = lean_unbox(x_834); +lean_dec(x_834); +x_791 = x_836; +x_792 = x_835; +goto block_801; +} +else +{ +lean_object* x_837; lean_object* x_838; +x_837 = lean_ctor_get(x_833, 0); +lean_inc(x_837); +x_838 = lean_ctor_get(x_833, 1); +lean_inc(x_838); +lean_dec(x_833); +x_802 = x_837; +x_803 = x_838; +goto block_810; +} +} +else +{ +lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; +x_839 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_839, 0, x_1); +x_840 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_841 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_841, 0, x_840); +lean_ctor_set(x_841, 1, x_839); +x_842 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_843 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_843, 0, x_841); +lean_ctor_set(x_843, 1, x_842); +x_844 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_844, 0, x_812); +x_845 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_845, 0, x_843); +lean_ctor_set(x_845, 1, x_844); +x_846 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_847 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_847, 0, x_845); +lean_ctor_set(x_847, 1, x_846); +x_848 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_848, 0, x_2); +x_849 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_849, 0, x_847); +lean_ctor_set(x_849, 1, x_848); +x_850 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_850, 0, x_849); +lean_ctor_set(x_850, 1, x_842); +x_851 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_851, 0, x_816); +x_852 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_852, 0, x_850); +lean_ctor_set(x_852, 1, x_851); +x_853 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_853, 0, x_852); +lean_ctor_set(x_853, 1, x_840); +x_854 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_828, x_853, x_3, x_4, x_5, x_6, x_830); +x_855 = lean_ctor_get(x_854, 0); +lean_inc(x_855); +x_856 = lean_ctor_get(x_854, 1); +lean_inc(x_856); +lean_dec(x_854); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_857 = lean_apply_6(x_831, x_855, x_3, x_4, x_5, x_6, x_856); +if (lean_obj_tag(x_857) == 0) +{ +lean_object* x_858; lean_object* x_859; uint8_t x_860; +x_858 = lean_ctor_get(x_857, 0); +lean_inc(x_858); +x_859 = lean_ctor_get(x_857, 1); +lean_inc(x_859); +lean_dec(x_857); +x_860 = lean_unbox(x_858); +lean_dec(x_858); +x_791 = x_860; +x_792 = x_859; +goto block_801; +} +else +{ +lean_object* x_861; lean_object* x_862; +x_861 = lean_ctor_get(x_857, 0); +lean_inc(x_861); +x_862 = lean_ctor_get(x_857, 1); +lean_inc(x_862); +lean_dec(x_857); +x_802 = x_861; +x_803 = x_862; +goto block_810; +} } } } else { -lean_object* x_849; uint8_t x_850; lean_object* x_851; lean_object* x_872; lean_object* x_873; lean_object* x_874; uint8_t x_875; -lean_dec(x_714); -lean_dec(x_710); -x_849 = lean_ctor_get(x_810, 1); -lean_inc(x_849); -lean_dec(x_810); -x_872 = lean_st_ref_get(x_6, x_849); -x_873 = lean_ctor_get(x_872, 0); -lean_inc(x_873); -x_874 = lean_ctor_get(x_873, 3); -lean_inc(x_874); -lean_dec(x_873); -x_875 = lean_ctor_get_uint8(x_874, sizeof(void*)*1); -lean_dec(x_874); -if (x_875 == 0) +lean_object* x_875; lean_object* x_876; uint8_t x_877; lean_object* x_878; lean_object* x_900; lean_object* x_901; lean_object* x_902; uint8_t x_903; +lean_dec(x_816); +lean_dec(x_812); +x_875 = lean_ctor_get(x_824, 1); +lean_inc(x_875); +lean_dec(x_824); +x_876 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_900 = lean_st_ref_get(x_6, x_875); +x_901 = lean_ctor_get(x_900, 0); +lean_inc(x_901); +x_902 = lean_ctor_get(x_901, 3); +lean_inc(x_902); +lean_dec(x_901); +x_903 = lean_ctor_get_uint8(x_902, sizeof(void*)*1); +lean_dec(x_902); +if (x_903 == 0) { -lean_object* x_876; uint8_t x_877; -x_876 = lean_ctor_get(x_872, 1); -lean_inc(x_876); -lean_dec(x_872); -x_877 = 0; -x_850 = x_877; -x_851 = x_876; -goto block_871; +lean_object* x_904; uint8_t x_905; +x_904 = lean_ctor_get(x_900, 1); +lean_inc(x_904); +lean_dec(x_900); +x_905 = 0; +x_877 = x_905; +x_878 = x_904; +goto block_899; } else { -lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; uint8_t x_883; -x_878 = lean_ctor_get(x_872, 1); -lean_inc(x_878); -lean_dec(x_872); -x_879 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_880 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_879, x_3, x_4, x_5, x_6, x_878); +lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; uint8_t x_910; +x_906 = lean_ctor_get(x_900, 1); +lean_inc(x_906); +lean_dec(x_900); +x_907 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_876, x_3, x_4, x_5, x_6, x_906); +x_908 = lean_ctor_get(x_907, 0); +lean_inc(x_908); +x_909 = lean_ctor_get(x_907, 1); +lean_inc(x_909); +lean_dec(x_907); +x_910 = lean_unbox(x_908); +lean_dec(x_908); +x_877 = x_910; +x_878 = x_909; +goto block_899; +} +block_899: +{ +if (x_877 == 0) +{ +lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; uint8_t x_883; +x_879 = lean_box(0); +x_880 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_879, x_3, x_4, x_5, x_6, x_878); +lean_dec(x_1); x_881 = lean_ctor_get(x_880, 0); lean_inc(x_881); x_882 = lean_ctor_get(x_880, 1); @@ -8293,265 +8549,648 @@ lean_inc(x_882); lean_dec(x_880); x_883 = lean_unbox(x_881); lean_dec(x_881); -x_850 = x_883; -x_851 = x_882; -goto block_871; -} -block_871: -{ -if (x_850 == 0) -{ -lean_object* x_852; lean_object* x_853; lean_object* x_854; uint8_t x_855; -x_852 = l_Lean_Expr_mvarId_x21(x_1); -lean_dec(x_1); -x_853 = l_Lean_Meta_assignExprMVar(x_852, x_2, x_3, x_4, x_5, x_6, x_851); -x_854 = lean_ctor_get(x_853, 1); -lean_inc(x_854); -lean_dec(x_853); -x_855 = 1; -x_689 = x_855; -x_690 = x_854; -goto block_699; +x_791 = x_883; +x_792 = x_882; +goto block_801; } else { -lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; uint8_t x_870; +lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; uint8_t x_898; lean_inc(x_1); -x_856 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_856, 0, x_1); -x_857 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_858 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_858, 0, x_857); -lean_ctor_set(x_858, 1, x_856); -x_859 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_860 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_860, 0, x_858); -lean_ctor_set(x_860, 1, x_859); +x_884 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_884, 0, x_1); +x_885 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_886 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_886, 0, x_885); +lean_ctor_set(x_886, 1, x_884); +x_887 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_888 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_888, 0, x_886); +lean_ctor_set(x_888, 1, x_887); lean_inc(x_2); -x_861 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_861, 0, x_2); -x_862 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_862, 0, x_860); -lean_ctor_set(x_862, 1, x_861); -x_863 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_863, 0, x_862); -lean_ctor_set(x_863, 1, x_857); -x_864 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_865 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_864, x_863, x_3, x_4, x_5, x_6, x_851); -x_866 = lean_ctor_get(x_865, 1); -lean_inc(x_866); -lean_dec(x_865); -x_867 = l_Lean_Expr_mvarId_x21(x_1); +x_889 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_889, 0, x_2); +x_890 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_890, 0, x_888); +lean_ctor_set(x_890, 1, x_889); +x_891 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_891, 0, x_890); +lean_ctor_set(x_891, 1, x_885); +x_892 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_876, x_891, x_3, x_4, x_5, x_6, x_878); +x_893 = lean_ctor_get(x_892, 0); +lean_inc(x_893); +x_894 = lean_ctor_get(x_892, 1); +lean_inc(x_894); +lean_dec(x_892); +x_895 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_893, x_3, x_4, x_5, x_6, x_894); +lean_dec(x_893); lean_dec(x_1); -x_868 = l_Lean_Meta_assignExprMVar(x_867, x_2, x_3, x_4, x_5, x_6, x_866); -x_869 = lean_ctor_get(x_868, 1); -lean_inc(x_869); -lean_dec(x_868); -x_870 = 1; -x_689 = x_870; -x_690 = x_869; -goto block_699; +x_896 = lean_ctor_get(x_895, 0); +lean_inc(x_896); +x_897 = lean_ctor_get(x_895, 1); +lean_inc(x_897); +lean_dec(x_895); +x_898 = lean_unbox(x_896); +lean_dec(x_896); +x_791 = x_898; +x_792 = x_897; +goto block_801; } } } } else { -lean_object* x_884; lean_object* x_885; -lean_dec(x_714); -lean_dec(x_710); +lean_object* x_911; lean_object* x_912; +lean_dec(x_816); +lean_dec(x_812); lean_dec(x_2); lean_dec(x_1); -x_884 = lean_ctor_get(x_810, 0); -lean_inc(x_884); -x_885 = lean_ctor_get(x_810, 1); -lean_inc(x_885); -lean_dec(x_810); -x_700 = x_884; -x_701 = x_885; -goto block_708; -} -} -} -else -{ -lean_object* x_886; lean_object* x_887; -lean_dec(x_710); -lean_dec(x_2); -lean_dec(x_1); -x_886 = lean_ctor_get(x_712, 0); -lean_inc(x_886); -x_887 = lean_ctor_get(x_712, 1); -lean_inc(x_887); -lean_dec(x_712); -x_700 = x_886; -x_701 = x_887; -goto block_708; -} -} -else -{ -lean_object* x_888; lean_object* x_889; -lean_dec(x_2); -lean_dec(x_1); -x_888 = lean_ctor_get(x_709, 0); -lean_inc(x_888); -x_889 = lean_ctor_get(x_709, 1); -lean_inc(x_889); -lean_dec(x_709); -x_700 = x_888; -x_701 = x_889; -goto block_708; -} -} -else -{ -uint8_t x_890; lean_object* x_891; lean_object* x_907; lean_object* x_908; lean_object* x_909; uint8_t x_910; -x_907 = lean_st_ref_get(x_6, x_688); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_908, 3); -lean_inc(x_909); -lean_dec(x_908); -x_910 = lean_ctor_get_uint8(x_909, sizeof(void*)*1); -lean_dec(x_909); -if (x_910 == 0) -{ -lean_object* x_911; uint8_t x_912; -x_911 = lean_ctor_get(x_907, 1); +x_911 = lean_ctor_get(x_824, 0); lean_inc(x_911); -lean_dec(x_907); -x_912 = 0; -x_890 = x_912; -x_891 = x_911; -goto block_906; +x_912 = lean_ctor_get(x_824, 1); +lean_inc(x_912); +lean_dec(x_824); +x_802 = x_911; +x_803 = x_912; +goto block_810; +} } else { -lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; uint8_t x_918; -x_913 = lean_ctor_get(x_907, 1); -lean_inc(x_913); -lean_dec(x_907); -x_914 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_915 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_914, x_3, x_4, x_5, x_6, x_913); -x_916 = lean_ctor_get(x_915, 0); -lean_inc(x_916); -x_917 = lean_ctor_get(x_915, 1); -lean_inc(x_917); -lean_dec(x_915); -x_918 = lean_unbox(x_916); -lean_dec(x_916); -x_890 = x_918; -x_891 = x_917; -goto block_906; +uint8_t x_913; uint8_t x_914; uint8_t x_915; uint8_t x_916; uint8_t x_917; uint8_t x_918; uint8_t x_919; uint8_t x_920; uint8_t x_921; uint8_t x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; +x_913 = lean_ctor_get_uint8(x_815, 0); +x_914 = lean_ctor_get_uint8(x_815, 1); +x_915 = lean_ctor_get_uint8(x_815, 2); +x_916 = lean_ctor_get_uint8(x_815, 3); +x_917 = lean_ctor_get_uint8(x_815, 4); +x_918 = lean_ctor_get_uint8(x_815, 6); +x_919 = lean_ctor_get_uint8(x_815, 7); +x_920 = lean_ctor_get_uint8(x_815, 8); +x_921 = lean_ctor_get_uint8(x_815, 9); +lean_dec(x_815); +x_922 = 1; +x_923 = lean_alloc_ctor(0, 0, 10); +lean_ctor_set_uint8(x_923, 0, x_913); +lean_ctor_set_uint8(x_923, 1, x_914); +lean_ctor_set_uint8(x_923, 2, x_915); +lean_ctor_set_uint8(x_923, 3, x_916); +lean_ctor_set_uint8(x_923, 4, x_917); +lean_ctor_set_uint8(x_923, 5, x_922); +lean_ctor_set_uint8(x_923, 6, x_918); +lean_ctor_set_uint8(x_923, 7, x_919); +lean_ctor_set_uint8(x_923, 8, x_920); +lean_ctor_set_uint8(x_923, 9, x_921); +x_924 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_818); +lean_ctor_set(x_924, 2, x_819); +lean_ctor_set(x_924, 3, x_820); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_816); +lean_inc(x_812); +x_925 = l_Lean_Meta_isExprDefEqAux(x_812, x_816, x_924, x_4, x_5, x_6, x_817); +if (lean_obj_tag(x_925) == 0) +{ +lean_object* x_926; uint8_t x_927; +x_926 = lean_ctor_get(x_925, 0); +lean_inc(x_926); +x_927 = lean_unbox(x_926); +lean_dec(x_926); +if (x_927 == 0) +{ +lean_object* x_928; lean_object* x_929; uint8_t x_930; lean_object* x_931; lean_object* x_965; lean_object* x_966; lean_object* x_967; uint8_t x_968; +x_928 = lean_ctor_get(x_925, 1); +lean_inc(x_928); +lean_dec(x_925); +x_929 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; +x_965 = lean_st_ref_get(x_6, x_928); +x_966 = lean_ctor_get(x_965, 0); +lean_inc(x_966); +x_967 = lean_ctor_get(x_966, 3); +lean_inc(x_967); +lean_dec(x_966); +x_968 = lean_ctor_get_uint8(x_967, sizeof(void*)*1); +lean_dec(x_967); +if (x_968 == 0) +{ +lean_object* x_969; uint8_t x_970; +x_969 = lean_ctor_get(x_965, 1); +lean_inc(x_969); +lean_dec(x_965); +x_970 = 0; +x_930 = x_970; +x_931 = x_969; +goto block_964; } -block_906: +else { -if (x_890 == 0) +lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; uint8_t x_975; +x_971 = lean_ctor_get(x_965, 1); +lean_inc(x_971); +lean_dec(x_965); +x_972 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_929, x_3, x_4, x_5, x_6, x_971); +x_973 = lean_ctor_get(x_972, 0); +lean_inc(x_973); +x_974 = lean_ctor_get(x_972, 1); +lean_inc(x_974); +lean_dec(x_972); +x_975 = lean_unbox(x_973); +lean_dec(x_973); +x_930 = x_975; +x_931 = x_974; +goto block_964; +} +block_964: { -uint8_t x_892; +lean_object* x_932; +x_932 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_930 == 0) +{ +lean_object* x_933; lean_object* x_934; +lean_dec(x_816); +lean_dec(x_812); lean_dec(x_2); lean_dec(x_1); -x_892 = 0; -x_689 = x_892; -x_690 = x_891; -goto block_699; +x_933 = lean_box(0); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_934 = lean_apply_6(x_932, x_933, x_3, x_4, x_5, x_6, x_931); +if (lean_obj_tag(x_934) == 0) +{ +lean_object* x_935; lean_object* x_936; uint8_t x_937; +x_935 = lean_ctor_get(x_934, 0); +lean_inc(x_935); +x_936 = lean_ctor_get(x_934, 1); +lean_inc(x_936); +lean_dec(x_934); +x_937 = lean_unbox(x_935); +lean_dec(x_935); +x_791 = x_937; +x_792 = x_936; +goto block_801; } else { -lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; -x_893 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_893, 0, x_1); -x_894 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20; -x_895 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_895, 0, x_894); -lean_ctor_set(x_895, 1, x_893); -x_896 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_897 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_897, 0, x_895); -lean_ctor_set(x_897, 1, x_896); -x_898 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_898, 0, x_2); -x_899 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_899, 0, x_897); -lean_ctor_set(x_899, 1, x_898); -x_900 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_901 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_901, 0, x_899); -lean_ctor_set(x_901, 1, x_900); -x_902 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__18; -x_903 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_902, x_901, x_3, x_4, x_5, x_6, x_891); -x_904 = lean_ctor_get(x_903, 1); -lean_inc(x_904); -lean_dec(x_903); -x_905 = 0; -x_689 = x_905; -x_690 = x_904; -goto block_699; +lean_object* x_938; lean_object* x_939; +x_938 = lean_ctor_get(x_934, 0); +lean_inc(x_938); +x_939 = lean_ctor_get(x_934, 1); +lean_inc(x_939); +lean_dec(x_934); +x_802 = x_938; +x_803 = x_939; +goto block_810; } } -} -block_699: +else { -lean_object* x_691; lean_object* x_692; uint8_t x_693; -x_691 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -x_692 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_687, x_691, x_685, x_3, x_4, x_5, x_6, x_690); +lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; +x_940 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_940, 0, x_1); +x_941 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_942 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_940); +x_943 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_944 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_944, 0, x_942); +lean_ctor_set(x_944, 1, x_943); +x_945 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_945, 0, x_812); +x_946 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_946, 0, x_944); +lean_ctor_set(x_946, 1, x_945); +x_947 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_948 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_948, 0, x_946); +lean_ctor_set(x_948, 1, x_947); +x_949 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_949, 0, x_2); +x_950 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_950, 0, x_948); +lean_ctor_set(x_950, 1, x_949); +x_951 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_951, 0, x_950); +lean_ctor_set(x_951, 1, x_943); +x_952 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_952, 0, x_816); +x_953 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_953, 0, x_951); +lean_ctor_set(x_953, 1, x_952); +x_954 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_954, 0, x_953); +lean_ctor_set(x_954, 1, x_941); +x_955 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_929, x_954, x_3, x_4, x_5, x_6, x_931); +x_956 = lean_ctor_get(x_955, 0); +lean_inc(x_956); +x_957 = lean_ctor_get(x_955, 1); +lean_inc(x_957); +lean_dec(x_955); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_958 = lean_apply_6(x_932, x_956, x_3, x_4, x_5, x_6, x_957); +if (lean_obj_tag(x_958) == 0) +{ +lean_object* x_959; lean_object* x_960; uint8_t x_961; +x_959 = lean_ctor_get(x_958, 0); +lean_inc(x_959); +x_960 = lean_ctor_get(x_958, 1); +lean_inc(x_960); +lean_dec(x_958); +x_961 = lean_unbox(x_959); +lean_dec(x_959); +x_791 = x_961; +x_792 = x_960; +goto block_801; +} +else +{ +lean_object* x_962; lean_object* x_963; +x_962 = lean_ctor_get(x_958, 0); +lean_inc(x_962); +x_963 = lean_ctor_get(x_958, 1); +lean_inc(x_963); +lean_dec(x_958); +x_802 = x_962; +x_803 = x_963; +goto block_810; +} +} +} +} +else +{ +lean_object* x_976; lean_object* x_977; uint8_t x_978; lean_object* x_979; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; uint8_t x_1004; +lean_dec(x_816); +lean_dec(x_812); +x_976 = lean_ctor_get(x_925, 1); +lean_inc(x_976); +lean_dec(x_925); +x_977 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_1001 = lean_st_ref_get(x_6, x_976); +x_1002 = lean_ctor_get(x_1001, 0); +lean_inc(x_1002); +x_1003 = lean_ctor_get(x_1002, 3); +lean_inc(x_1003); +lean_dec(x_1002); +x_1004 = lean_ctor_get_uint8(x_1003, sizeof(void*)*1); +lean_dec(x_1003); +if (x_1004 == 0) +{ +lean_object* x_1005; uint8_t x_1006; +x_1005 = lean_ctor_get(x_1001, 1); +lean_inc(x_1005); +lean_dec(x_1001); +x_1006 = 0; +x_978 = x_1006; +x_979 = x_1005; +goto block_1000; +} +else +{ +lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; uint8_t x_1011; +x_1007 = lean_ctor_get(x_1001, 1); +lean_inc(x_1007); +lean_dec(x_1001); +x_1008 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_977, x_3, x_4, x_5, x_6, x_1007); +x_1009 = lean_ctor_get(x_1008, 0); +lean_inc(x_1009); +x_1010 = lean_ctor_get(x_1008, 1); +lean_inc(x_1010); +lean_dec(x_1008); +x_1011 = lean_unbox(x_1009); +lean_dec(x_1009); +x_978 = x_1011; +x_979 = x_1010; +goto block_1000; +} +block_1000: +{ +if (x_978 == 0) +{ +lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; uint8_t x_984; +x_980 = lean_box(0); +x_981 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_980, x_3, x_4, x_5, x_6, x_979); +lean_dec(x_1); +x_982 = lean_ctor_get(x_981, 0); +lean_inc(x_982); +x_983 = lean_ctor_get(x_981, 1); +lean_inc(x_983); +lean_dec(x_981); +x_984 = lean_unbox(x_982); +lean_dec(x_982); +x_791 = x_984; +x_792 = x_983; +goto block_801; +} +else +{ +lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; uint8_t x_999; +lean_inc(x_1); +x_985 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_985, 0, x_1); +x_986 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_987 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_985); +x_988 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_989 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_989, 0, x_987); +lean_ctor_set(x_989, 1, x_988); +lean_inc(x_2); +x_990 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_990, 0, x_2); +x_991 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_991, 0, x_989); +lean_ctor_set(x_991, 1, x_990); +x_992 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_992, 0, x_991); +lean_ctor_set(x_992, 1, x_986); +x_993 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_977, x_992, x_3, x_4, x_5, x_6, x_979); +x_994 = lean_ctor_get(x_993, 0); +lean_inc(x_994); +x_995 = lean_ctor_get(x_993, 1); +lean_inc(x_995); +lean_dec(x_993); +x_996 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_994, x_3, x_4, x_5, x_6, x_995); +lean_dec(x_994); +lean_dec(x_1); +x_997 = lean_ctor_get(x_996, 0); +lean_inc(x_997); +x_998 = lean_ctor_get(x_996, 1); +lean_inc(x_998); +lean_dec(x_996); +x_999 = lean_unbox(x_997); +lean_dec(x_997); +x_791 = x_999; +x_792 = x_998; +goto block_801; +} +} +} +} +else +{ +lean_object* x_1012; lean_object* x_1013; +lean_dec(x_816); +lean_dec(x_812); +lean_dec(x_2); +lean_dec(x_1); +x_1012 = lean_ctor_get(x_925, 0); +lean_inc(x_1012); +x_1013 = lean_ctor_get(x_925, 1); +lean_inc(x_1013); +lean_dec(x_925); +x_802 = x_1012; +x_803 = x_1013; +goto block_810; +} +} +} +else +{ +lean_object* x_1014; lean_object* x_1015; +lean_dec(x_812); +lean_dec(x_2); +lean_dec(x_1); +x_1014 = lean_ctor_get(x_814, 0); +lean_inc(x_1014); +x_1015 = lean_ctor_get(x_814, 1); +lean_inc(x_1015); +lean_dec(x_814); +x_802 = x_1014; +x_803 = x_1015; +goto block_810; +} +} +else +{ +lean_object* x_1016; lean_object* x_1017; +lean_dec(x_2); +lean_dec(x_1); +x_1016 = lean_ctor_get(x_811, 0); +lean_inc(x_1016); +x_1017 = lean_ctor_get(x_811, 1); +lean_inc(x_1017); +lean_dec(x_811); +x_802 = x_1016; +x_803 = x_1017; +goto block_810; +} +} +else +{ +lean_object* x_1018; uint8_t x_1019; lean_object* x_1020; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; uint8_t x_1051; +x_1018 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19; +x_1048 = lean_st_ref_get(x_6, x_790); +x_1049 = lean_ctor_get(x_1048, 0); +lean_inc(x_1049); +x_1050 = lean_ctor_get(x_1049, 3); +lean_inc(x_1050); +lean_dec(x_1049); +x_1051 = lean_ctor_get_uint8(x_1050, sizeof(void*)*1); +lean_dec(x_1050); +if (x_1051 == 0) +{ +lean_object* x_1052; uint8_t x_1053; +x_1052 = lean_ctor_get(x_1048, 1); +lean_inc(x_1052); +lean_dec(x_1048); +x_1053 = 0; +x_1019 = x_1053; +x_1020 = x_1052; +goto block_1047; +} +else +{ +lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; uint8_t x_1058; +x_1054 = lean_ctor_get(x_1048, 1); +lean_inc(x_1054); +lean_dec(x_1048); +x_1055 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1018, x_3, x_4, x_5, x_6, x_1054); +x_1056 = lean_ctor_get(x_1055, 0); +lean_inc(x_1056); +x_1057 = lean_ctor_get(x_1055, 1); +lean_inc(x_1057); +lean_dec(x_1055); +x_1058 = lean_unbox(x_1056); +lean_dec(x_1056); +x_1019 = x_1058; +x_1020 = x_1057; +goto block_1047; +} +block_1047: +{ +lean_object* x_1021; +x_1021 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11; +if (x_1019 == 0) +{ +lean_object* x_1022; lean_object* x_1023; +lean_dec(x_2); +lean_dec(x_1); +x_1022 = lean_box(0); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_1023 = lean_apply_6(x_1021, x_1022, x_3, x_4, x_5, x_6, x_1020); +if (lean_obj_tag(x_1023) == 0) +{ +lean_object* x_1024; lean_object* x_1025; uint8_t x_1026; +x_1024 = lean_ctor_get(x_1023, 0); +lean_inc(x_1024); +x_1025 = lean_ctor_get(x_1023, 1); +lean_inc(x_1025); +lean_dec(x_1023); +x_1026 = lean_unbox(x_1024); +lean_dec(x_1024); +x_791 = x_1026; +x_792 = x_1025; +goto block_801; +} +else +{ +lean_object* x_1027; lean_object* x_1028; +x_1027 = lean_ctor_get(x_1023, 0); +lean_inc(x_1027); +x_1028 = lean_ctor_get(x_1023, 1); +lean_inc(x_1028); +lean_dec(x_1023); +x_802 = x_1027; +x_803 = x_1028; +goto block_810; +} +} +else +{ +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; +x_1029 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1029, 0, x_1); +x_1030 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21; +x_1031 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1031, 0, x_1030); +lean_ctor_set(x_1031, 1, x_1029); +x_1032 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_1033 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1033, 0, x_1031); +lean_ctor_set(x_1033, 1, x_1032); +x_1034 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1034, 0, x_2); +x_1035 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1035, 0, x_1033); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_1037 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1037, 0, x_1035); +lean_ctor_set(x_1037, 1, x_1036); +x_1038 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1018, x_1037, x_3, x_4, x_5, x_6, x_1020); +x_1039 = lean_ctor_get(x_1038, 0); +lean_inc(x_1039); +x_1040 = lean_ctor_get(x_1038, 1); +lean_inc(x_1040); +lean_dec(x_1038); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_1041 = lean_apply_6(x_1021, x_1039, x_3, x_4, x_5, x_6, x_1040); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1042; lean_object* x_1043; uint8_t x_1044; +x_1042 = lean_ctor_get(x_1041, 0); +lean_inc(x_1042); +x_1043 = lean_ctor_get(x_1041, 1); +lean_inc(x_1043); +lean_dec(x_1041); +x_1044 = lean_unbox(x_1042); +lean_dec(x_1042); +x_791 = x_1044; +x_792 = x_1043; +goto block_801; +} +else +{ +lean_object* x_1045; lean_object* x_1046; +x_1045 = lean_ctor_get(x_1041, 0); +lean_inc(x_1045); +x_1046 = lean_ctor_get(x_1041, 1); +lean_inc(x_1046); +lean_dec(x_1041); +x_802 = x_1045; +x_803 = x_1046; +goto block_810; +} +} +} +} +block_801: +{ +lean_object* x_793; lean_object* x_794; uint8_t x_795; +x_793 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +x_794 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_789, x_793, x_787, x_3, x_4, x_5, x_6, x_792); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_693 = !lean_is_exclusive(x_692); -if (x_693 == 0) +x_795 = !lean_is_exclusive(x_794); +if (x_795 == 0) { -lean_object* x_694; lean_object* x_695; -x_694 = lean_ctor_get(x_692, 0); -lean_dec(x_694); -x_695 = lean_box(x_689); -lean_ctor_set(x_692, 0, x_695); -return x_692; +lean_object* x_796; lean_object* x_797; +x_796 = lean_ctor_get(x_794, 0); +lean_dec(x_796); +x_797 = lean_box(x_791); +lean_ctor_set(x_794, 0, x_797); +return x_794; } else { -lean_object* x_696; lean_object* x_697; lean_object* x_698; -x_696 = lean_ctor_get(x_692, 1); -lean_inc(x_696); -lean_dec(x_692); -x_697 = lean_box(x_689); -x_698 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_698, 0, x_697); -lean_ctor_set(x_698, 1, x_696); -return x_698; +lean_object* x_798; lean_object* x_799; lean_object* x_800; +x_798 = lean_ctor_get(x_794, 1); +lean_inc(x_798); +lean_dec(x_794); +x_799 = lean_box(x_791); +x_800 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_800, 0, x_799); +lean_ctor_set(x_800, 1, x_798); +return x_800; } } -block_708: +block_810: { -lean_object* x_702; lean_object* x_703; uint8_t x_704; -x_702 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -x_703 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_687, x_702, x_685, x_3, x_4, x_5, x_6, x_701); +lean_object* x_804; lean_object* x_805; uint8_t x_806; +x_804 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +x_805 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_789, x_804, x_787, x_3, x_4, x_5, x_6, x_803); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_704 = !lean_is_exclusive(x_703); -if (x_704 == 0) +x_806 = !lean_is_exclusive(x_805); +if (x_806 == 0) { -lean_object* x_705; -x_705 = lean_ctor_get(x_703, 0); -lean_dec(x_705); -lean_ctor_set_tag(x_703, 1); -lean_ctor_set(x_703, 0, x_700); -return x_703; +lean_object* x_807; +x_807 = lean_ctor_get(x_805, 0); +lean_dec(x_807); +lean_ctor_set_tag(x_805, 1); +lean_ctor_set(x_805, 0, x_802); +return x_805; } else { -lean_object* x_706; lean_object* x_707; -x_706 = lean_ctor_get(x_703, 1); -lean_inc(x_706); -lean_dec(x_703); -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_700); -lean_ctor_set(x_707, 1, x_706); -return x_707; +lean_object* x_808; lean_object* x_809; +x_808 = lean_ctor_get(x_805, 1); +lean_inc(x_808); +lean_dec(x_805); +x_809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_809, 0, x_802); +lean_ctor_set(x_809, 1, x_808); +return x_809; } } } @@ -8560,6 +9199,33 @@ return x_707; } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___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) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -11578,6 +12244,66 @@ lean_dec(x_1); return x_7; } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___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) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 0; +x_10 = 1; +x_11 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +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; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +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; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__1() { _start: { @@ -11718,234 +12444,145 @@ x_27 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_add lean_dec(x_1); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_75 = lean_st_ref_get(x_6, x_29); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_76, 3); -lean_inc(x_77); -lean_dec(x_76); -x_78 = lean_ctor_get_uint8(x_77, sizeof(void*)*1); -lean_dec(x_77); -if (x_78 == 0) +x_30 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__2; +x_51 = lean_st_ref_get(x_6, x_29); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) { -lean_object* x_79; uint8_t x_80; -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); -lean_dec(x_75); -x_80 = 0; -x_30 = x_80; -x_31 = x_79; -goto block_74; +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_31 = x_56; +x_32 = x_55; +goto block_50; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_81 = lean_ctor_get(x_75, 1); -lean_inc(x_81); -lean_dec(x_75); -x_82 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__2; -x_83 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_82, x_3, x_4, x_5, x_6, x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_unbox(x_84); -lean_dec(x_84); -x_30 = x_86; -x_31 = x_85; -goto block_74; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_dec(x_51); +x_58 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_30, x_3, x_4, x_5, x_6, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_unbox(x_59); +lean_dec(x_59); +x_31 = x_61; +x_32 = x_60; +goto block_50; } -block_74: +block_50: { -if (x_30 == 0) +if (x_31 == 0) { -uint8_t x_32; uint8_t x_33; lean_object* x_34; -x_32 = 0; -x_33 = 1; -x_34 = l_Lean_Meta_mkLambdaFVars(x_28, x_2, x_32, x_33, x_3, x_4, x_5, x_6, x_31); +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___lambda__1(x_28, x_2, x_33, x_3, x_4, x_5, x_6, x_32); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_34, 0, x_37); return x_34; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_38); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} -} -else -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_34); -if (x_42 == 0) -{ -return x_34; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_34, 0); -x_44 = lean_ctor_get(x_34, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_34); -x_45 = lean_alloc_ctor(1, 2, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_inc(x_28); +x_35 = lean_array_to_list(lean_box(0), x_28); +x_36 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_35); +x_37 = l_Lean_MessageData_ofList(x_36); +lean_dec(x_36); +x_38 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__4; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +lean_inc(x_2); +x_42 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_42, 0, x_2); +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; -lean_inc(x_28); -x_46 = lean_array_to_list(lean_box(0), x_28); -x_47 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_46); -x_48 = l_Lean_MessageData_ofList(x_47); -lean_dec(x_47); -x_49 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__4; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -lean_inc(x_2); -x_53 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_53, 0, x_2); -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__2; -x_58 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_57, x_56, x_3, x_4, x_5, x_6, x_31); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = 0; -x_61 = 1; -x_62 = l_Lean_Meta_mkLambdaFVars(x_28, x_2, x_60, x_61, x_3, x_4, x_5, x_6, x_59); +x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_30, x_45, x_3, x_4, x_5, x_6, x_32); +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___lambda__1(x_28, x_2, x_47, x_3, x_4, x_5, x_6, x_48); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -if (lean_obj_tag(x_62) == 0) -{ -uint8_t x_63; -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_62, 0, x_65); -return x_62; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_62, 0); -x_67 = lean_ctor_get(x_62, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_62); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_66); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -return x_69; -} -} -else -{ -uint8_t x_70; -x_70 = !lean_is_exclusive(x_62); -if (x_70 == 0) -{ -return x_62; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_62, 0); -x_72 = lean_ctor_get(x_62, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_62); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} +lean_dec(x_47); +return x_49; } } } else { -uint8_t x_87; +uint8_t x_62; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_87 = !lean_is_exclusive(x_27); -if (x_87 == 0) +x_62 = !lean_is_exclusive(x_27); +if (x_62 == 0) { return x_27; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_27, 0); -x_89 = lean_ctor_get(x_27, 1); -lean_inc(x_89); -lean_inc(x_88); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_27, 0); +x_64 = lean_ctor_get(x_27, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_27); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} lean_object* l_Lean_Meta_mkAuxMVar(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: { @@ -11968,7 +12605,7 @@ lean_dec(x_5); return x_10; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1() { _start: { lean_object* x_1; @@ -11976,26 +12613,26 @@ x_1 = lean_mk_string("checkAssignment"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____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_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637_(lean_object* x_1) { +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1() { _start: { lean_object* x_1; @@ -12003,21 +12640,21 @@ x_1 = lean_mk_string("outOfScope"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____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_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650_(lean_object* x_1) { +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } @@ -12467,7 +13104,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAss _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_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; -x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_10 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_1); @@ -12496,7 +13133,7 @@ lean_dec(x_21); x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_18); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; +x_24 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -13353,7 +13990,7 @@ lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_12); -x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -13411,7 +14048,7 @@ lean_ctor_set(x_46, 1, x_45); x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_12); -x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -13483,7 +14120,7 @@ lean_ctor_set(x_69, 1, x_68); x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_12); -x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_72 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); @@ -38571,6 +39208,183 @@ return x_23; } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +lean_inc(x_1); +x_10 = l_Lean_Expr_headBeta(x_1); +x_11 = 1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_12 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___spec__1(x_2, x_3, x_1, x_11, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +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); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = l_Lean_Meta_unfoldDefinition_x3f(x_10, x_5, x_6, x_7, x_8, 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) +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = 0; +x_21 = lean_box(x_20); +lean_ctor_set(x_16, 0, x_21); +return x_16; +} +else +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = 0; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +lean_dec(x_17); +x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_2, x_3, x_27, x_5, x_6, x_7, x_8, x_26); +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_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +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_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_33 = !lean_is_exclusive(x_12); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_12, 0); +lean_dec(x_34); +x_35 = lean_box(x_11); +lean_ctor_set(x_12, 0, x_35); +return x_12; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_12, 1); +lean_inc(x_36); +lean_dec(x_12); +x_37 = lean_box(x_11); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_12); +if (x_39 == 0) +{ +return x_12; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_12, 0); +x_41 = lean_ctor_get(x_12, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_12); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__1() { _start: { @@ -38635,273 +39449,101 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_56; lean_object* x_57; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_20 = lean_ctor_get(x_9, 1); lean_inc(x_20); lean_dec(x_9); -x_76 = lean_st_ref_get(x_7, x_20); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_ctor_get_uint8(x_78, sizeof(void*)*1); -lean_dec(x_78); -if (x_79 == 0) -{ -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_81 = 0; -x_56 = x_81; -x_57 = x_80; -goto block_75; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_82 = lean_ctor_get(x_76, 1); -lean_inc(x_82); -lean_dec(x_76); -x_83 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2; -x_84 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_83, x_4, x_5, x_6, x_7, x_82); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_unbox(x_85); -lean_dec(x_85); -x_56 = x_87; -x_57 = x_86; -goto block_75; -} -block_55: -{ -lean_object* x_22; uint8_t x_23; lean_object* x_24; -lean_inc(x_3); -x_22 = l_Lean_Expr_headBeta(x_3); -x_23 = 1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_24 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___spec__1(x_1, x_2, x_3, x_23, x_4, x_5, x_6, x_7, x_21); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_28 = l_Lean_Meta_unfoldDefinition_x3f(x_22, x_4, x_5, x_6, x_7, x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_28, 0); -lean_dec(x_31); -x_32 = 0; -x_33 = lean_box(x_32); -lean_ctor_set(x_28, 0, x_33); -return x_28; -} -else -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_28, 1); -lean_inc(x_34); -lean_dec(x_28); -x_35 = 0; -x_36 = lean_box(x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_28, 1); -lean_inc(x_38); -lean_dec(x_28); -x_39 = lean_ctor_get(x_29, 0); -lean_inc(x_39); -lean_dec(x_29); -x_3 = x_39; -x_8 = x_38; -goto _start; -} -} -else -{ -uint8_t x_41; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_28); -if (x_41 == 0) -{ -return x_28; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_28, 0); -x_43 = lean_ctor_get(x_28, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_28); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_dec(x_22); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_24); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_24, 0); +x_21 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2; +x_45 = lean_st_ref_get(x_7, x_20); +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_47 = lean_box(x_23); -lean_ctor_set(x_24, 0, x_47); -return x_24; +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_22 = x_50; +x_23 = x_49; +goto block_44; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_24, 1); -lean_inc(x_48); -lean_dec(x_24); -x_49 = lean_box(x_23); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -} -else -{ -uint8_t x_51; -lean_dec(x_22); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_51 = !lean_is_exclusive(x_24); -if (x_51 == 0) -{ -return x_24; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_24, 0); -x_53 = lean_ctor_get(x_24, 1); +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); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_4, x_5, x_6, x_7, x_51); +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_24); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +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_22 = x_55; +x_23 = x_54; +goto block_44; } -} -} -block_75: +block_44: { -if (x_56 == 0) +if (x_22 == 0) { -x_21 = x_57; -goto block_55; +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1(x_3, x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_23); +return x_25; } else { -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_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_inc(x_1); -x_58 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_58, 0, x_1); -x_59 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_1); +x_27 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); lean_inc(x_2); -x_63 = lean_array_to_list(lean_box(0), x_2); -x_64 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_63); -x_65 = l_Lean_MessageData_ofList(x_64); -lean_dec(x_64); -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_62); -lean_ctor_set(x_66, 1, x_65); -x_67 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); +x_31 = lean_array_to_list(lean_box(0), x_2); +x_32 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_31); +x_33 = l_Lean_MessageData_ofList(x_32); +lean_dec(x_32); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_33); +x_35 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); lean_inc(x_3); -x_69 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_69, 0, x_3); -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_59); -x_72 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2; -x_73 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_72, x_71, x_4, x_5, x_6, x_7, x_57); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_21 = x_74; -goto block_55; +x_37 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_37, 0, x_3); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_27); +x_40 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_39, x_4, x_5, x_6, x_7, x_23); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1(x_3, x_1, x_2, x_41, x_4, x_5, x_6, x_7, x_42); +lean_dec(x_41); +return x_43; } } } @@ -38918,6 +39560,15 @@ lean_dec(x_2); return x_11; } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox(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: { @@ -39176,7 +39827,15 @@ return x_18; } } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -39184,17 +39843,17 @@ x_1 = lean_mk_string("constApprox"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___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) { +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; uint8_t x_13; @@ -39321,13 +39980,14 @@ return x_39; } else { -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; x_40 = lean_ctor_get(x_30, 1); lean_inc(x_40); lean_dec(x_30); x_41 = lean_ctor_get(x_31, 0); lean_inc(x_41); lean_dec(x_31); +x_42 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2; x_58 = lean_st_ref_get(x_10, x_40); x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); @@ -39343,62 +40003,60 @@ x_62 = lean_ctor_get(x_58, 1); lean_inc(x_62); lean_dec(x_58); x_63 = 0; -x_42 = x_63; -x_43 = x_62; +x_43 = x_63; +x_44 = x_62; goto block_57; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; x_64 = lean_ctor_get(x_58, 1); lean_inc(x_64); lean_dec(x_58); -x_65 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2; -x_66 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_65, x_7, x_8, x_9, x_10, x_64); -x_67 = lean_ctor_get(x_66, 0); +x_65 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_42, x_7, x_8, x_9, x_10, x_64); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); +lean_dec(x_65); +x_68 = lean_unbox(x_66); lean_dec(x_66); -x_69 = lean_unbox(x_67); -lean_dec(x_67); -x_42 = x_69; x_43 = x_68; +x_44 = x_67; goto block_57; } block_57: { -if (x_42 == 0) +if (x_43 == 0) { -lean_object* x_44; -x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_41, x_7, x_8, x_9, x_10, x_43); -return x_44; +lean_object* x_45; +x_45 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_41, x_7, x_8, x_9, x_10, x_44); +return x_45; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +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_inc(x_4); -x_45 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_45, 0, x_4); -x_46 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_4); +x_47 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); lean_inc(x_41); -x_50 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_50, 0, x_41); -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +x_51 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_51, 0, x_41); x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_46); -x_53 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2; -x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_53, x_52, x_7, x_8, x_9, x_10, x_43); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_47); +x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_42, x_53, x_7, x_8, x_9, x_10, x_44); x_55 = lean_ctor_get(x_54, 1); lean_inc(x_55); lean_dec(x_54); @@ -39410,59 +40068,59 @@ return x_56; } else { -uint8_t x_70; +uint8_t x_69; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); -x_70 = !lean_is_exclusive(x_30); -if (x_70 == 0) +x_69 = !lean_is_exclusive(x_30); +if (x_69 == 0) { return x_30; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_30, 0); -x_72 = lean_ctor_get(x_30, 1); -lean_inc(x_72); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_30, 0); +x_71 = lean_ctor_get(x_30, 1); lean_inc(x_71); +lean_inc(x_70); lean_dec(x_30); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } else { -uint8_t x_74; +uint8_t x_73; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_74 = !lean_is_exclusive(x_17); -if (x_74 == 0) +x_73 = !lean_is_exclusive(x_17); +if (x_73 == 0) { return x_17; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_17, 0); -x_76 = lean_ctor_get(x_17, 1); -lean_inc(x_76); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_17, 0); +x_75 = lean_ctor_get(x_17, 1); lean_inc(x_75); +lean_inc(x_74); lean_dec(x_17); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } @@ -39489,7 +40147,7 @@ lean_dec(x_11); lean_inc(x_2); x_14 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_14, 0, x_2); -x_15 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___boxed), 11, 4); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___boxed), 11, 4); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_3); lean_closure_set(x_15, 2, x_9); @@ -39529,11 +40187,20 @@ return x_20; } } } -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___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) { +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_1); return x_12; @@ -39789,6 +40456,434 @@ return x_12; } } } +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeError"); +return x_1; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_14 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps(x_1, x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +x_18 = 0; +x_19 = lean_box(x_18); +lean_ctor_set(x_14, 0, x_19); +return x_14; +} +else +{ +lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = 0; +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_20); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_dec(x_14); +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +lean_dec(x_15); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_nat_dec_lt(x_26, x_3); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_25, x_9, x_10, x_11, x_12, x_24); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = lean_nat_dec_le(x_3, x_3); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_30 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_25, x_9, x_10, x_11, x_12, x_24); +return x_30; +} +else +{ +size_t x_31; size_t x_32; uint8_t x_33; +x_31 = 0; +x_32 = lean_usize_of_nat(x_3); +x_33 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__1(x_5, x_1, x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_34 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_25, x_9, x_10, x_11, x_12, x_24); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_25); +x_35 = l_Lean_Meta_isTypeCorrect(x_25, x_9, x_10, x_11, x_12, x_24); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1; +x_40 = lean_name_mk_string(x_6, x_39); +x_80 = lean_st_ref_get(x_12, x_38); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_81, 3); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_ctor_get_uint8(x_82, sizeof(void*)*1); +lean_dec(x_82); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); +lean_dec(x_80); +x_85 = 0; +x_41 = x_85; +x_42 = x_84; +goto block_79; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_86 = lean_ctor_get(x_80, 1); +lean_inc(x_86); +lean_dec(x_80); +lean_inc(x_40); +x_87 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_40, x_9, x_10, x_11, x_12, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_unbox(x_88); +lean_dec(x_88); +x_41 = x_90; +x_42 = x_89; +goto block_79; +} +block_79: +{ +if (x_41 == 0) +{ +lean_object* x_43; +lean_dec(x_40); +lean_dec(x_25); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_4); +x_43 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_4, x_1, x_7, x_9, x_10, x_11, x_12, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_4, x_3, x_7, x_9, x_10, x_11, x_12, x_46); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_dec(x_49); +return x_43; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_dec(x_43); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_52 = !lean_is_exclusive(x_43); +if (x_52 == 0) +{ +return x_43; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_43, 0); +x_54 = lean_ctor_get(x_43, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_43); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +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_inc(x_4); +x_56 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_56, 0, x_4); +x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_25); +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_57); +x_64 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_40, x_63, x_9, x_10, x_11, x_12, x_42); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_4); +x_66 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_4, x_1, x_7, x_9, x_10, x_11, x_12, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; uint8_t x_68; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_67); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_4, x_3, x_7, x_9, x_10, x_11, x_12, x_69); +return x_70; +} +else +{ +uint8_t x_71; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_71 = !lean_is_exclusive(x_66); +if (x_71 == 0) +{ +lean_object* x_72; +x_72 = lean_ctor_get(x_66, 0); +lean_dec(x_72); +return x_66; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +lean_dec(x_66); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_67); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +uint8_t x_75; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_75 = !lean_is_exclusive(x_66); +if (x_75 == 0) +{ +return x_66; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_66, 0); +x_77 = lean_ctor_get(x_66, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_66); +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_91; lean_object* x_92; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_91 = lean_ctor_get(x_35, 1); +lean_inc(x_91); +lean_dec(x_35); +x_92 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_4, x_25, x_9, x_10, x_11, x_12, x_91); +return x_92; +} +} +} +} +} +} +else +{ +uint8_t x_93; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_14); +if (x_93 == 0) +{ +return x_14; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_14, 0); +x_95 = lean_ctor_get(x_14, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_14); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1() { _start: { @@ -39807,24 +40902,6 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeError"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(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: { @@ -39967,441 +41044,113 @@ return x_37; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_114; lean_object* x_115; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; x_38 = lean_ctor_get(x_22, 1); lean_inc(x_38); lean_dec(x_22); x_39 = lean_ctor_get(x_23, 0); lean_inc(x_39); lean_dec(x_23); -x_134 = lean_st_ref_get(x_9, x_38); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_135, 3); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; uint8_t x_139; -x_138 = lean_ctor_get(x_134, 1); -lean_inc(x_138); -lean_dec(x_134); -x_139 = 0; -x_114 = x_139; -x_115 = x_138; -goto block_133; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_dec(x_134); -x_141 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; -x_142 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_141, x_6, x_7, x_8, x_9, x_140); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_unbox(x_143); -lean_dec(x_143); -x_114 = x_145; -x_115 = x_144; -goto block_133; -} -block_113: -{ -lean_object* x_41; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_41 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps(x_4, x_39, x_6, x_7, x_8, x_9, 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) -{ -uint8_t x_43; -lean_dec(x_14); -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_2); -lean_dec(x_1); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_41, 0); -lean_dec(x_44); -x_45 = 0; -x_46 = lean_box(x_45); -lean_ctor_set(x_41, 0, x_46); -return x_41; -} -else -{ -lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_41, 1); -lean_inc(x_47); -lean_dec(x_41); -x_48 = 0; -x_49 = lean_box(x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_41, 1); -lean_inc(x_51); -lean_dec(x_41); -x_52 = lean_ctor_get(x_42, 0); -lean_inc(x_52); -lean_dec(x_42); -x_53 = lean_unsigned_to_nat(0u); -x_54 = lean_nat_dec_lt(x_53, x_14); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_55 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_1, x_52, x_6, x_7, x_8, x_9, x_51); -return x_55; -} -else -{ -uint8_t x_56; -x_56 = lean_nat_dec_le(x_14, x_14); -if (x_56 == 0) -{ -lean_object* x_57; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_1, x_52, x_6, x_7, x_8, x_9, x_51); -return x_57; -} -else -{ -size_t x_58; size_t x_59; uint8_t x_60; -x_58 = 0; -x_59 = lean_usize_of_nat(x_14); -x_60 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__1(x_2, x_4, x_58, x_59); -if (x_60 == 0) -{ -lean_object* x_61; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_4); -x_61 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_1, x_52, x_6, x_7, x_8, x_9, x_51); -return x_61; -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_52); -x_62 = l_Lean_Meta_isTypeCorrect(x_52, x_6, x_7, x_8, x_9, x_51); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_unbox(x_63); -lean_dec(x_63); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; uint8_t x_81; lean_object* x_82; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec(x_62); -x_95 = lean_st_ref_get(x_9, x_65); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_96, 3); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_ctor_get_uint8(x_97, sizeof(void*)*1); -lean_dec(x_97); -if (x_98 == 0) -{ -lean_object* x_99; uint8_t x_100; -x_99 = lean_ctor_get(x_95, 1); -lean_inc(x_99); -lean_dec(x_95); -x_100 = 0; -x_81 = x_100; -x_82 = x_99; -goto block_94; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_101 = lean_ctor_get(x_95, 1); -lean_inc(x_101); -lean_dec(x_95); -x_102 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4; -x_103 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_102, x_6, x_7, x_8, x_9, x_101); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_unbox(x_104); -lean_dec(x_104); -x_81 = x_106; -x_82 = x_105; -goto block_94; -} -block_80: -{ -lean_object* x_67; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_67 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_66); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_67, 0); +x_40 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; +x_66 = lean_st_ref_get(x_9, x_38); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); lean_inc(x_68); -x_69 = lean_unbox(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); if (x_69 == 0) { -lean_object* x_70; lean_object* x_71; -lean_dec(x_68); -x_70 = lean_ctor_get(x_67, 1); +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); lean_inc(x_70); -lean_dec(x_67); -x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_70); -return x_71; +lean_dec(x_66); +x_71 = 0; +x_41 = x_71; +x_42 = x_70; +goto block_65; } else { -uint8_t x_72; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_67); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_67, 0); -lean_dec(x_73); -return x_67; -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_67, 1); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_40, x_6, x_7, x_8, x_9, x_72); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_67); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_68); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_41 = x_76; +x_42 = x_75; +goto block_65; } +block_65: +{ +if (x_41 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; +x_44 = lean_box(0); +x_45 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1(x_4, x_39, x_14, x_1, x_2, x_43, x_5, x_44, x_6, x_7, x_8, x_9, x_42); +return x_45; } else { -uint8_t x_76; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_76 = !lean_is_exclusive(x_67); -if (x_76 == 0) -{ -return x_67; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_67, 0); -x_78 = lean_ctor_get(x_67, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_67); -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; -} -} -} -block_94: -{ -if (x_81 == 0) -{ -lean_dec(x_52); -x_66 = x_82; -goto block_80; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_inc(x_1); -x_83 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_83, 0, x_1); -x_84 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_52); -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_84); -x_91 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4; -x_92 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_91, x_90, x_6, x_7, x_8, x_9, x_82); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_66 = x_93; -goto block_80; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_4); -x_107 = lean_ctor_get(x_62, 1); -lean_inc(x_107); -lean_dec(x_62); -x_108 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign(x_1, x_52, x_6, x_7, x_8, x_9, x_107); -return x_108; -} -} -} -} -} -} -else -{ -uint8_t x_109; -lean_dec(x_14); -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_2); -lean_dec(x_1); -x_109 = !lean_is_exclusive(x_41); -if (x_109 == 0) -{ -return x_41; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_41, 0); -x_111 = lean_ctor_get(x_41, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_41); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -block_133: -{ -if (x_114 == 0) -{ -x_40 = x_115; -goto block_113; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_inc(x_1); -x_116 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_116, 0, x_1); -x_117 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_118 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_116); -x_119 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_1); +x_47 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); lean_inc(x_4); -x_121 = lean_array_to_list(lean_box(0), x_4); -x_122 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_121); -x_123 = l_Lean_MessageData_ofList(x_122); -lean_dec(x_122); -x_124 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_124, 0, x_120); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); +x_51 = lean_array_to_list(lean_box(0), x_4); +x_52 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_51); +x_53 = l_Lean_MessageData_ofList(x_52); +lean_dec(x_52); +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_50); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); lean_inc(x_39); -x_127 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_127, 0, x_39); -x_128 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_117); -x_130 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; -x_131 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_130, x_129, x_6, x_7, x_8, x_9, x_115); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_40 = x_132; -goto block_113; +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_39); +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_47); +x_60 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_40, x_59, x_6, x_7, x_8, x_9, x_42); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; +x_64 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1(x_4, x_39, x_14, x_1, x_2, x_63, x_5, x_61, x_6, x_7, x_8, x_9, x_62); +lean_dec(x_61); +return x_64; } } } } else { -uint8_t x_146; +uint8_t x_77; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -40411,29 +41160,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_146 = !lean_is_exclusive(x_22); -if (x_146 == 0) +x_77 = !lean_is_exclusive(x_22); +if (x_77 == 0) { return x_22; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_22, 0); -x_148 = lean_ctor_get(x_22, 1); -lean_inc(x_148); -lean_inc(x_147); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_22, 0); +x_79 = lean_ctor_get(x_22, 1); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_22); -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; +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 { -lean_object* x_150; +lean_object* x_81; lean_dec(x_17); lean_dec(x_2); lean_inc(x_9); @@ -40442,26 +41191,26 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_150 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -if (lean_obj_tag(x_150) == 0) +x_81 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_151; uint8_t x_152; -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_unbox(x_151); -if (x_152 == 0) +lean_object* x_82; uint8_t x_83; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) { -lean_object* x_153; lean_object* x_154; -lean_dec(x_151); -x_153 = lean_ctor_get(x_150, 1); -lean_inc(x_153); -lean_dec(x_150); -x_154 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_153); -return x_154; +lean_object* x_84; lean_object* x_85; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +x_85 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_84); +return x_85; } else { -uint8_t x_155; +uint8_t x_86; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -40469,30 +41218,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_155 = !lean_is_exclusive(x_150); -if (x_155 == 0) +x_86 = !lean_is_exclusive(x_81); +if (x_86 == 0) { -lean_object* x_156; -x_156 = lean_ctor_get(x_150, 0); -lean_dec(x_156); -return x_150; +lean_object* x_87; +x_87 = lean_ctor_get(x_81, 0); +lean_dec(x_87); +return x_81; } else { -lean_object* x_157; lean_object* x_158; -x_157 = lean_ctor_get(x_150, 1); -lean_inc(x_157); -lean_dec(x_150); -x_158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_158, 0, x_151); -lean_ctor_set(x_158, 1, x_157); -return x_158; +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_81, 1); +lean_inc(x_88); +lean_dec(x_81); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_82); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_159; +uint8_t x_90; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -40500,30 +41249,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_159 = !lean_is_exclusive(x_150); -if (x_159 == 0) +x_90 = !lean_is_exclusive(x_81); +if (x_90 == 0) { -return x_150; +return x_81; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_150, 0); -x_161 = lean_ctor_get(x_150, 1); -lean_inc(x_161); -lean_inc(x_160); -lean_dec(x_150); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -return x_162; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_81, 0); +x_92 = lean_ctor_get(x_81, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_81); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } } else { -uint8_t x_163; +uint8_t x_94; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -40533,21 +41282,394 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_163 = !lean_is_exclusive(x_16); -if (x_163 == 0) +x_94 = !lean_is_exclusive(x_16); +if (x_94 == 0) { return x_16; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_16, 0); -x_165 = lean_ctor_get(x_16, 1); -lean_inc(x_165); -lean_inc(x_164); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_16, 0); +x_96 = lean_ctor_get(x_16, 1); +lean_inc(x_96); +lean_inc(x_95); lean_dec(x_16); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_dec(x_14); +x_98 = lean_array_fget(x_4, x_3); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_99 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg(x_98, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +lean_inc(x_100); +x_102 = lean_array_fset(x_4, x_3, x_100); +if (lean_obj_tag(x_100) == 1) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_103 = lean_ctor_get(x_100, 0); +lean_inc(x_103); +x_129 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +lean_inc(x_102); +x_130 = l_Array_toSubarray___rarg(x_102, x_129, x_3); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_130, 2); +lean_inc(x_133); +lean_dec(x_130); +x_134 = lean_nat_dec_lt(x_132, x_133); +if (x_134 == 0) +{ +lean_object* x_135; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_100); +x_135 = lean_box(0); +x_104 = x_135; +goto block_128; +} +else +{ +lean_object* x_136; uint8_t x_137; +x_136 = lean_array_get_size(x_131); +x_137 = lean_nat_dec_le(x_133, x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_100); +x_138 = lean_box(0); +x_104 = x_138; +goto block_128; +} +else +{ +size_t x_139; size_t x_140; uint8_t x_141; +x_139 = lean_usize_of_nat(x_132); +lean_dec(x_132); +x_140 = lean_usize_of_nat(x_133); +lean_dec(x_133); +x_141 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__2(x_100, x_131, x_139, x_140); +lean_dec(x_131); +lean_dec(x_100); +if (x_141 == 0) +{ +lean_object* x_142; +x_142 = lean_box(0); +x_104 = x_142; +goto block_128; +} +else +{ +lean_object* x_143; +lean_dec(x_103); +lean_dec(x_12); +lean_dec(x_3); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_102); +lean_inc(x_1); +x_143 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_102, x_5, x_6, x_7, x_8, x_9, x_101); +if (lean_obj_tag(x_143) == 0) +{ +lean_object* x_144; uint8_t x_145; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_unbox(x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_144); +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_array_get_size(x_102); +lean_dec(x_102); +x_148 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_147, x_5, x_6, x_7, x_8, x_9, x_146); +return x_148; +} +else +{ +uint8_t x_149; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_149 = !lean_is_exclusive(x_143); +if (x_149 == 0) +{ +lean_object* x_150; +x_150 = lean_ctor_get(x_143, 0); +lean_dec(x_150); +return x_143; +} +else +{ +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_143, 1); +lean_inc(x_151); +lean_dec(x_143); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_144); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +} +} +else +{ +uint8_t x_153; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_153 = !lean_is_exclusive(x_143); +if (x_153 == 0) +{ +return x_143; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_143, 0); +x_155 = lean_ctor_get(x_143, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_143); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} +} +} +block_128: +{ +lean_object* x_105; uint8_t x_106; +lean_dec(x_104); +x_105 = lean_ctor_get(x_2, 1); +lean_inc(x_105); +x_106 = l_Lean_LocalContext_contains(x_105, x_103); +lean_dec(x_103); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_12); +x_107 = lean_unsigned_to_nat(1u); +x_108 = lean_nat_add(x_3, x_107); +lean_dec(x_3); +x_3 = x_108; +x_4 = x_102; +x_10 = x_101; +goto _start; +} +else +{ +uint8_t x_110; +x_110 = lean_ctor_get_uint8(x_12, 2); +lean_dec(x_12); +if (x_110 == 0) +{ +lean_object* x_111; +lean_dec(x_3); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_102); +lean_inc(x_1); +x_111 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_102, x_5, x_6, x_7, x_8, x_9, x_101); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_112); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = lean_array_get_size(x_102); +lean_dec(x_102); +x_116 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_115, x_5, x_6, x_7, x_8, x_9, x_114); +return x_116; +} +else +{ +uint8_t x_117; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_117 = !lean_is_exclusive(x_111); +if (x_117 == 0) +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_111, 0); +lean_dec(x_118); +return x_111; +} +else +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_111, 1); +lean_inc(x_119); +lean_dec(x_111); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_112); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +else +{ +uint8_t x_121; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_121 = !lean_is_exclusive(x_111); +if (x_121 == 0) +{ +return x_111; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_111, 0); +x_123 = lean_ctor_get(x_111, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_111); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +else +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_unsigned_to_nat(1u); +x_126 = lean_nat_add(x_3, x_125); +lean_dec(x_3); +x_3 = x_126; +x_4 = x_102; +x_10 = x_101; +goto _start; +} +} +} +} +else +{ +lean_object* x_157; +lean_dec(x_100); +lean_dec(x_12); +lean_dec(x_3); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_102); +lean_inc(x_1); +x_157 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_102, x_5, x_6, x_7, x_8, x_9, x_101); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; uint8_t x_159; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_unbox(x_158); +if (x_159 == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_158); +x_160 = lean_ctor_get(x_157, 1); +lean_inc(x_160); +lean_dec(x_157); +x_161 = lean_array_get_size(x_102); +lean_dec(x_102); +x_162 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_161, x_5, x_6, x_7, x_8, x_9, x_160); +return x_162; +} +else +{ +uint8_t x_163; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_163 = !lean_is_exclusive(x_157); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_157, 0); +lean_dec(x_164); +return x_157; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_157, 1); +lean_inc(x_165); +lean_dec(x_157); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_158); lean_ctor_set(x_166, 1, x_165); return x_166; } @@ -40555,411 +41677,38 @@ return x_166; } else { -lean_object* x_167; lean_object* x_168; -lean_dec(x_14); -x_167 = lean_array_fget(x_4, x_3); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_168 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg(x_167, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_168) == 0) +uint8_t x_167; +lean_dec(x_102); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_167 = !lean_is_exclusive(x_157); +if (x_167 == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_168, 0); +return x_157; +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_157, 0); +x_169 = lean_ctor_get(x_157, 1); lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -lean_inc(x_169); -x_171 = lean_array_fset(x_4, x_3, x_169); -if (lean_obj_tag(x_169) == 1) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_172 = lean_ctor_get(x_169, 0); -lean_inc(x_172); -x_198 = lean_unsigned_to_nat(0u); -lean_inc(x_3); -lean_inc(x_171); -x_199 = l_Array_toSubarray___rarg(x_171, x_198, x_3); -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); -lean_inc(x_201); -x_202 = lean_ctor_get(x_199, 2); -lean_inc(x_202); -lean_dec(x_199); -x_203 = lean_nat_dec_lt(x_201, x_202); -if (x_203 == 0) -{ -lean_object* x_204; -lean_dec(x_202); -lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_169); -x_204 = lean_box(0); -x_173 = x_204; -goto block_197; -} -else -{ -lean_object* x_205; uint8_t x_206; -x_205 = lean_array_get_size(x_200); -x_206 = lean_nat_dec_le(x_202, x_205); -lean_dec(x_205); -if (x_206 == 0) -{ -lean_object* x_207; -lean_dec(x_202); -lean_dec(x_201); -lean_dec(x_200); -lean_dec(x_169); -x_207 = lean_box(0); -x_173 = x_207; -goto block_197; -} -else -{ -size_t x_208; size_t x_209; uint8_t x_210; -x_208 = lean_usize_of_nat(x_201); -lean_dec(x_201); -x_209 = lean_usize_of_nat(x_202); -lean_dec(x_202); -x_210 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__2(x_169, x_200, x_208, x_209); -lean_dec(x_200); -lean_dec(x_169); -if (x_210 == 0) -{ -lean_object* x_211; -x_211 = lean_box(0); -x_173 = x_211; -goto block_197; -} -else -{ -lean_object* x_212; -lean_dec(x_172); -lean_dec(x_12); -lean_dec(x_3); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_171); -lean_inc(x_1); -x_212 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_171, x_5, x_6, x_7, x_8, x_9, x_170); -if (lean_obj_tag(x_212) == 0) -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_unbox(x_213); -if (x_214 == 0) -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_dec(x_213); -x_215 = lean_ctor_get(x_212, 1); -lean_inc(x_215); -lean_dec(x_212); -x_216 = lean_array_get_size(x_171); -lean_dec(x_171); -x_217 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_216, x_5, x_6, x_7, x_8, x_9, x_215); -return x_217; -} -else -{ -uint8_t x_218; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_218 = !lean_is_exclusive(x_212); -if (x_218 == 0) -{ -lean_object* x_219; -x_219 = lean_ctor_get(x_212, 0); -lean_dec(x_219); -return x_212; -} -else -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_212, 1); -lean_inc(x_220); -lean_dec(x_212); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_213); -lean_ctor_set(x_221, 1, x_220); -return x_221; -} -} -} -else -{ -uint8_t x_222; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_222 = !lean_is_exclusive(x_212); -if (x_222 == 0) -{ -return x_212; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_212, 0); -x_224 = lean_ctor_get(x_212, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_212); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_223); -lean_ctor_set(x_225, 1, x_224); -return x_225; -} -} -} -} -} -block_197: -{ -lean_object* x_174; uint8_t x_175; -lean_dec(x_173); -x_174 = lean_ctor_get(x_2, 1); -lean_inc(x_174); -x_175 = l_Lean_LocalContext_contains(x_174, x_172); -lean_dec(x_172); -if (x_175 == 0) -{ -lean_object* x_176; lean_object* x_177; -lean_dec(x_12); -x_176 = lean_unsigned_to_nat(1u); -x_177 = lean_nat_add(x_3, x_176); -lean_dec(x_3); -x_3 = x_177; -x_4 = x_171; -x_10 = x_170; -goto _start; -} -else -{ -uint8_t x_179; -x_179 = lean_ctor_get_uint8(x_12, 2); -lean_dec(x_12); -if (x_179 == 0) -{ -lean_object* x_180; -lean_dec(x_3); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_171); -lean_inc(x_1); -x_180 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_171, x_5, x_6, x_7, x_8, x_9, x_170); -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_181; uint8_t x_182; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_unbox(x_181); -if (x_182 == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_181); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -x_184 = lean_array_get_size(x_171); -lean_dec(x_171); -x_185 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_184, x_5, x_6, x_7, x_8, x_9, x_183); -return x_185; -} -else -{ -uint8_t x_186; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_186 = !lean_is_exclusive(x_180); -if (x_186 == 0) -{ -lean_object* x_187; -x_187 = lean_ctor_get(x_180, 0); -lean_dec(x_187); -return x_180; -} -else -{ -lean_object* x_188; lean_object* x_189; -x_188 = lean_ctor_get(x_180, 1); -lean_inc(x_188); -lean_dec(x_180); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_181); -lean_ctor_set(x_189, 1, x_188); -return x_189; -} -} -} -else -{ -uint8_t x_190; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_190 = !lean_is_exclusive(x_180); -if (x_190 == 0) -{ -return x_180; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_180, 0); -x_192 = lean_ctor_get(x_180, 1); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_180); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; -} -} -} -else -{ -lean_object* x_194; lean_object* x_195; -x_194 = lean_unsigned_to_nat(1u); -x_195 = lean_nat_add(x_3, x_194); -lean_dec(x_3); -x_3 = x_195; -x_4 = x_171; -x_10 = x_170; -goto _start; +lean_inc(x_168); +lean_dec(x_157); +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; } } } } else { -lean_object* x_226; -lean_dec(x_169); -lean_dec(x_12); -lean_dec(x_3); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_171); -lean_inc(x_1); -x_226 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(x_1, x_171, x_5, x_6, x_7, x_8, x_9, x_170); -if (lean_obj_tag(x_226) == 0) -{ -lean_object* x_227; uint8_t x_228; -x_227 = lean_ctor_get(x_226, 0); -lean_inc(x_227); -x_228 = lean_unbox(x_227); -if (x_228 == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_dec(x_227); -x_229 = lean_ctor_get(x_226, 1); -lean_inc(x_229); -lean_dec(x_226); -x_230 = lean_array_get_size(x_171); -lean_dec(x_171); -x_231 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(x_1, x_230, x_5, x_6, x_7, x_8, x_9, x_229); -return x_231; -} -else -{ -uint8_t x_232; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_232 = !lean_is_exclusive(x_226); -if (x_232 == 0) -{ -lean_object* x_233; -x_233 = lean_ctor_get(x_226, 0); -lean_dec(x_233); -return x_226; -} -else -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_226, 1); -lean_inc(x_234); -lean_dec(x_226); -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_227); -lean_ctor_set(x_235, 1, x_234); -return x_235; -} -} -} -else -{ -uint8_t x_236; -lean_dec(x_171); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_236 = !lean_is_exclusive(x_226); -if (x_236 == 0) -{ -return x_226; -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_226, 0); -x_238 = lean_ctor_get(x_226, 1); -lean_inc(x_238); -lean_inc(x_237); -lean_dec(x_226); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_237); -lean_ctor_set(x_239, 1, x_238); -return x_239; -} -} -} -} -else -{ -uint8_t x_240; +uint8_t x_171; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -40970,23 +41719,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_240 = !lean_is_exclusive(x_168); -if (x_240 == 0) +x_171 = !lean_is_exclusive(x_99); +if (x_171 == 0) { -return x_168; +return x_99; } else { -lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_241 = lean_ctor_get(x_168, 0); -x_242 = lean_ctor_get(x_168, 1); -lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_168); -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; +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_99, 0); +x_173 = lean_ctor_get(x_99, 1); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_99); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } @@ -41021,47 +41770,114 @@ x_8 = lean_box(x_7); return x_8; } } -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___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, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_8; uint8_t x_21; lean_object* x_22; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_425 = lean_st_ref_get(x_6, x_7); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_426, 3); -lean_inc(x_427); -lean_dec(x_426); -x_428 = lean_ctor_get_uint8(x_427, sizeof(void*)*1); -lean_dec(x_427); -if (x_428 == 0) +lean_object* x_14; +x_14 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1(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_8); +return x_14; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___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) { +_start: { -lean_object* x_429; uint8_t x_430; -x_429 = lean_ctor_get(x_425, 1); -lean_inc(x_429); -lean_dec(x_425); -x_430 = 0; -x_21 = x_430; -x_22 = x_429; -goto block_424; +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = l_Lean_Expr_getAppFn(x_1); +x_10 = l_Lean_Expr_mvarId_x21(x_9); +x_11 = l_Lean_Meta_getMVarDecl(x_10, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +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_unsigned_to_nat(0u); +x_15 = l_Lean_Expr_getAppNumArgsAux(x_1, x_14); +x_16 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; +lean_inc(x_15); +x_17 = lean_mk_array(x_15, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_15, x_18); +lean_dec(x_15); +x_20 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_17, x_19); +x_21 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(x_9, x_12, x_14, x_20, x_2, x_4, x_5, x_6, x_7, x_13); +return x_21; } else { -lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; -x_431 = lean_ctor_get(x_425, 1); -lean_inc(x_431); +uint8_t x_22; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) +{ +return x_11; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; +x_21 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; +x_418 = lean_st_ref_get(x_6, x_7); +x_419 = lean_ctor_get(x_418, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_419, 3); +lean_inc(x_420); +lean_dec(x_419); +x_421 = lean_ctor_get_uint8(x_420, sizeof(void*)*1); +lean_dec(x_420); +if (x_421 == 0) +{ +lean_object* x_422; uint8_t x_423; +x_422 = lean_ctor_get(x_418, 1); +lean_inc(x_422); +lean_dec(x_418); +x_423 = 0; +x_22 = x_423; +x_23 = x_422; +goto block_417; +} +else +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; +x_424 = lean_ctor_get(x_418, 1); +lean_inc(x_424); +lean_dec(x_418); +x_425 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_3, x_4, x_5, x_6, x_424); +x_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); lean_dec(x_425); -x_432 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_433 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_432, x_3, x_4, x_5, x_6, x_431); -x_434 = lean_ctor_get(x_433, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_433, 1); -lean_inc(x_435); -lean_dec(x_433); -x_436 = lean_unbox(x_434); -lean_dec(x_434); -x_21 = x_436; -x_22 = x_435; -goto block_424; +x_428 = lean_unbox(x_426); +lean_dec(x_426); +x_22 = x_428; +x_23 = x_427; +goto block_417; } block_20: { @@ -41119,47 +41935,47 @@ return x_19; } } } -block_424: +block_417: { -if (x_21 == 0) +if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_23 = lean_st_ref_get(x_6, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 3); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_24 = lean_st_ref_get(x_6, x_23); +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get(x_23, 1); +x_26 = lean_ctor_get(x_25, 3); lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_ctor_get_uint8(x_25, sizeof(void*)*1); lean_dec(x_25); -x_28 = lean_st_ref_take(x_6, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_29, 3); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_ctor_get_uint8(x_26, sizeof(void*)*1); +lean_dec(x_26); +x_29 = lean_st_ref_take(x_6, x_27); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); +x_31 = lean_ctor_get(x_30, 3); lean_inc(x_31); -lean_dec(x_28); -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_29, 3); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_30); -if (x_34 == 0) +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 3); +lean_dec(x_34); +x_35 = !lean_is_exclusive(x_31); +if (x_35 == 0) { -uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_72; uint8_t x_135; lean_object* x_136; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_35 = 0; -lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_35); -x_36 = lean_st_ref_set(x_6, x_29, x_31); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_149 = lean_st_ref_get(x_6, x_37); +uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_88; lean_object* x_89; uint8_t x_122; lean_object* x_123; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_36 = 0; +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_36); +x_37 = lean_st_ref_set(x_6, x_30, x_32); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_149 = lean_st_ref_get(x_6, x_38); x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); x_151 = lean_ctor_get(x_150, 3); @@ -41173,1332 +41989,1401 @@ lean_object* x_153; x_153 = lean_ctor_get(x_149, 1); lean_inc(x_153); lean_dec(x_149); -x_135 = x_35; -x_136 = x_153; +x_122 = x_36; +x_123 = x_153; goto block_148; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; x_154 = lean_ctor_get(x_149, 1); lean_inc(x_154); lean_dec(x_149); -x_155 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_156 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_155, x_3, x_4, x_5, x_6, x_154); -x_157 = lean_ctor_get(x_156, 0); +x_155 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_3, x_4, x_5, x_6, x_154); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); +lean_dec(x_155); +x_158 = lean_unbox(x_156); lean_dec(x_156); -x_159 = lean_unbox(x_157); -lean_dec(x_157); -x_135 = x_159; -x_136 = x_158; +x_122 = x_158; +x_123 = x_157; goto block_148; } -block_71: +block_87: { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_40 = lean_st_ref_get(x_6, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_take(x_6, x_41); -x_43 = lean_ctor_get(x_42, 0); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_41 = lean_st_ref_get(x_6, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 3); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 3); lean_inc(x_44); -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); lean_dec(x_42); -x_46 = !lean_is_exclusive(x_43); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_43, 3); -lean_dec(x_47); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) -{ -lean_object* x_49; uint8_t x_50; -lean_ctor_set_uint8(x_44, sizeof(void*)*1, x_27); -x_49 = lean_st_ref_set(x_6, x_43, x_45); -lean_dec(x_6); -x_50 = !lean_is_exclusive(x_49); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +x_46 = lean_st_ref_take(x_6, x_43); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = !lean_is_exclusive(x_47); if (x_50 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_47, 3); lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_38); -x_8 = x_49; -goto block_20; -} -else +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) { -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_38); -lean_ctor_set(x_53, 1, x_52); +lean_object* x_53; uint8_t x_54; +lean_ctor_set_uint8(x_48, sizeof(void*)*1, x_28); +x_53 = lean_st_ref_set(x_6, x_47, x_49); +lean_dec(x_6); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +x_56 = lean_box(x_39); +x_57 = lean_box(x_45); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_53, 0, x_58); x_8 = x_53; goto block_20; } -} 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; -x_54 = lean_ctor_get(x_44, 0); -lean_inc(x_54); -lean_dec(x_44); -x_55 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_27); -lean_ctor_set(x_43, 3, x_55); -x_56 = lean_st_ref_set(x_6, x_43, x_45); -lean_dec(x_6); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; -} else { - lean_dec_ref(x_56); - x_58 = lean_box(0); -} -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); -} else { - x_59 = x_58; - lean_ctor_set_tag(x_59, 1); -} -lean_ctor_set(x_59, 0, x_38); -lean_ctor_set(x_59, 1, x_57); -x_8 = x_59; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); +lean_dec(x_53); +x_60 = lean_box(x_39); +x_61 = lean_box(x_45); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_59); +x_8 = x_63; goto block_20; } } else { -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; -x_60 = lean_ctor_get(x_43, 0); -x_61 = lean_ctor_get(x_43, 1); -x_62 = lean_ctor_get(x_43, 2); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_43); -x_63 = lean_ctor_get(x_44, 0); -lean_inc(x_63); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - x_64 = x_44; -} else { - lean_dec_ref(x_44); - x_64 = lean_box(0); -} -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 1, 1); -} else { - x_65 = x_64; -} -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_27); -x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_60); -lean_ctor_set(x_66, 1, x_61); -lean_ctor_set(x_66, 2, x_62); -lean_ctor_set(x_66, 3, x_65); -x_67 = lean_st_ref_set(x_6, x_66, x_45); +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; +x_64 = lean_ctor_get(x_48, 0); +lean_inc(x_64); +lean_dec(x_48); +x_65 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_28); +lean_ctor_set(x_47, 3, x_65); +x_66 = lean_st_ref_set(x_6, x_47, x_49); lean_dec(x_6); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_69 = x_67; +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_68 = x_66; } else { - lean_dec_ref(x_67); - x_69 = lean_box(0); + lean_dec_ref(x_66); + x_68 = lean_box(0); } -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 2, 0); +x_69 = lean_box(x_39); +x_70 = lean_box(x_45); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +if (lean_is_scalar(x_68)) { + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_69; - lean_ctor_set_tag(x_70, 1); + x_72 = x_68; } -lean_ctor_set(x_70, 0, x_38); -lean_ctor_set(x_70, 1, x_68); -x_8 = x_70; +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_67); +x_8 = x_72; goto block_20; } } -block_134: +else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = l_Lean_Expr_getAppFn(x_1); -x_74 = l_Lean_Expr_mvarId_x21(x_73); -x_75 = l_Lean_Meta_getMVarDecl(x_74, x_3, x_4, x_5, x_6, x_72); -if (lean_obj_tag(x_75) == 0) -{ -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_76 = lean_ctor_get(x_75, 0); +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_73 = lean_ctor_get(x_47, 0); +x_74 = lean_ctor_get(x_47, 1); +x_75 = lean_ctor_get(x_47, 2); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_47); +x_76 = lean_ctor_get(x_48, 0); lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unsigned_to_nat(0u); -x_79 = l_Lean_Expr_getAppNumArgsAux(x_1, x_78); -x_80 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; -lean_inc(x_79); -x_81 = lean_mk_array(x_79, x_80); -x_82 = lean_unsigned_to_nat(1u); -x_83 = lean_nat_sub(x_79, x_82); -lean_dec(x_79); -x_84 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_81, x_83); -lean_inc(x_6); -x_85 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(x_73, x_76, x_78, x_84, x_2, x_3, x_4, x_5, x_6, x_77); -if (lean_obj_tag(x_85) == 0) +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + x_77 = x_48; +} else { + lean_dec_ref(x_48); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(0, 1, 1); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set_uint8(x_78, sizeof(void*)*1, x_28); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_73); +lean_ctor_set(x_79, 1, x_74); +lean_ctor_set(x_79, 2, x_75); +lean_ctor_set(x_79, 3, x_78); +x_80 = lean_st_ref_set(x_6, x_79, x_49); +lean_dec(x_6); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_82 = x_80; +} else { + lean_dec_ref(x_80); + x_82 = lean_box(0); +} +x_83 = lean_box(x_39); +x_84 = lean_box(x_45); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +if (lean_is_scalar(x_82)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_82; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_81); +x_8 = x_86; +goto block_20; +} +} +block_121: { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_st_ref_get(x_6, x_87); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_89, 3); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_90 = lean_st_ref_get(x_6, x_89); +x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_ctor_get_uint8(x_91, sizeof(void*)*1); -lean_dec(x_91); -x_93 = lean_st_ref_take(x_6, x_90); -x_94 = lean_ctor_get(x_93, 0); +lean_dec(x_90); +x_92 = lean_st_ref_take(x_6, x_91); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_93, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 3); +x_95 = lean_ctor_get(x_92, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = !lean_is_exclusive(x_94); -if (x_97 == 0) +lean_dec(x_92); +x_96 = !lean_is_exclusive(x_93); +if (x_96 == 0) { -lean_object* x_98; uint8_t x_99; -x_98 = lean_ctor_get(x_94, 3); -lean_dec(x_98); -x_99 = !lean_is_exclusive(x_95); -if (x_99 == 0) +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_93, 3); +lean_dec(x_97); +x_98 = !lean_is_exclusive(x_94); +if (x_98 == 0) { -lean_object* x_100; uint8_t x_101; -lean_ctor_set_uint8(x_95, sizeof(void*)*1, x_27); -x_100 = lean_st_ref_set(x_6, x_94, x_96); +lean_object* x_99; uint8_t x_100; +lean_ctor_set_uint8(x_94, sizeof(void*)*1, x_28); +x_99 = lean_st_ref_set(x_6, x_93, x_95); lean_dec(x_6); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_100 = !lean_is_exclusive(x_99); +if (x_100 == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -x_103 = lean_box(x_92); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_86); -lean_ctor_set(x_104, 1, x_103); -lean_ctor_set(x_100, 0, x_104); -x_8 = x_100; +lean_object* x_101; +x_101 = lean_ctor_get(x_99, 0); +lean_dec(x_101); +lean_ctor_set_tag(x_99, 1); +lean_ctor_set(x_99, 0, x_88); +x_8 = x_99; goto block_20; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_dec(x_100); -x_106 = lean_box(x_92); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_86); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_105); -x_8 = x_108; +lean_object* x_102; lean_object* x_103; +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_88); +lean_ctor_set(x_103, 1, x_102); +x_8 = x_103; goto block_20; } } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_109 = lean_ctor_get(x_95, 0); -lean_inc(x_109); -lean_dec(x_95); -x_110 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set_uint8(x_110, sizeof(void*)*1, x_27); -lean_ctor_set(x_94, 3, x_110); -x_111 = lean_st_ref_set(x_6, x_94, x_96); -lean_dec(x_6); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -x_114 = lean_box(x_92); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_86); -lean_ctor_set(x_115, 1, x_114); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_113; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_112); -x_8 = x_116; -goto block_20; -} -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_117 = lean_ctor_get(x_94, 0); -x_118 = lean_ctor_get(x_94, 1); -x_119 = lean_ctor_get(x_94, 2); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_104 = lean_ctor_get(x_94, 0); +lean_inc(x_104); lean_dec(x_94); -x_120 = lean_ctor_get(x_95, 0); -lean_inc(x_120); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - x_121 = x_95; -} else { - lean_dec_ref(x_95); - x_121 = lean_box(0); -} -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(0, 1, 1); -} else { - x_122 = x_121; -} -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set_uint8(x_122, sizeof(void*)*1, x_27); -x_123 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_123, 0, x_117); -lean_ctor_set(x_123, 1, x_118); -lean_ctor_set(x_123, 2, x_119); -lean_ctor_set(x_123, 3, x_122); -x_124 = lean_st_ref_set(x_6, x_123, x_96); +x_105 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set_uint8(x_105, sizeof(void*)*1, x_28); +lean_ctor_set(x_93, 3, x_105); +x_106 = lean_st_ref_set(x_6, x_93, x_95); lean_dec(x_6); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_106); + x_108 = lean_box(0); } -x_127 = lean_box(x_92); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_86); -lean_ctor_set(x_128, 1, x_127); -if (lean_is_scalar(x_126)) { - x_129 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(1, 2, 0); } else { - x_129 = x_126; + x_109 = x_108; + lean_ctor_set_tag(x_109, 1); } -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_125); -x_8 = x_129; +lean_ctor_set(x_109, 0, x_88); +lean_ctor_set(x_109, 1, x_107); +x_8 = x_109; goto block_20; } } else { -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_85, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_85, 1); -lean_inc(x_131); -lean_dec(x_85); -x_38 = x_130; -x_39 = x_131; -goto block_71; +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_110 = lean_ctor_get(x_93, 0); +x_111 = lean_ctor_get(x_93, 1); +x_112 = lean_ctor_get(x_93, 2); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_93); +x_113 = lean_ctor_get(x_94, 0); +lean_inc(x_113); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + x_114 = x_94; +} else { + lean_dec_ref(x_94); + x_114 = lean_box(0); } +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(0, 1, 1); +} else { + x_115 = x_114; } -else -{ -lean_object* x_132; lean_object* x_133; -lean_dec(x_73); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_132 = lean_ctor_get(x_75, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_75, 1); -lean_inc(x_133); -lean_dec(x_75); -x_38 = x_132; -x_39 = x_133; -goto block_71; +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set_uint8(x_115, sizeof(void*)*1, x_28); +x_116 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_116, 0, x_110); +lean_ctor_set(x_116, 1, x_111); +lean_ctor_set(x_116, 2, x_112); +lean_ctor_set(x_116, 3, x_115); +x_117 = lean_st_ref_set(x_6, x_116, x_95); +lean_dec(x_6); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + 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_tag(x_120, 1); +} +lean_ctor_set(x_120, 0, x_88); +lean_ctor_set(x_120, 1, x_118); +x_8 = x_120; +goto block_20; } } block_148: { -if (x_135 == 0) +if (x_122 == 0) { -x_72 = x_136; -goto block_134; +lean_object* x_124; lean_object* x_125; +x_124 = lean_box(0); +lean_inc(x_6); +x_125 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_124, x_3, x_4, x_5, x_6, x_123); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_unbox(x_126); +lean_dec(x_126); +x_39 = x_128; +x_40 = x_127; +goto block_87; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_125, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_125, 1); +lean_inc(x_130); +lean_dec(x_125); +x_88 = x_129; +x_89 = x_130; +goto block_121; +} +} +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; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_inc(x_1); -x_137 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_137, 0, x_1); -x_138 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_139 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_141 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); +x_131 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_131, 0, x_1); +x_132 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_135 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); lean_inc(x_2); -x_142 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_142, 0, x_2); -x_143 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -x_145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_146 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_145, x_144, x_3, x_4, x_5, x_6, x_136); -x_147 = lean_ctor_get(x_146, 1); +x_136 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_136, 0, x_2); +x_137 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_132); +x_139 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_138, x_3, x_4, x_5, x_6, x_123); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +lean_inc(x_6); +x_142 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_140, x_3, x_4, x_5, x_6, x_141); +lean_dec(x_140); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_unbox(x_143); +lean_dec(x_143); +x_39 = x_145; +x_40 = x_144; +goto block_87; +} +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_142, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_142, 1); lean_inc(x_147); -lean_dec(x_146); -x_72 = x_147; -goto block_134; +lean_dec(x_142); +x_88 = x_146; +x_89 = x_147; +goto block_121; +} } } } else { -lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_186; uint8_t x_230; lean_object* x_231; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; -x_160 = lean_ctor_get(x_30, 0); -lean_inc(x_160); -lean_dec(x_30); -x_161 = 0; -x_162 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set_uint8(x_162, sizeof(void*)*1, x_161); -lean_ctor_set(x_29, 3, x_162); -x_163 = lean_st_ref_set(x_6, x_29, x_31); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -x_244 = lean_st_ref_get(x_6, x_164); -x_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_245, 3); +lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_191; lean_object* x_192; uint8_t x_212; lean_object* x_213; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; +x_159 = lean_ctor_get(x_31, 0); +lean_inc(x_159); +lean_dec(x_31); +x_160 = 0; +x_161 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set_uint8(x_161, sizeof(void*)*1, x_160); +lean_ctor_set(x_30, 3, x_161); +x_162 = lean_st_ref_set(x_6, x_30, x_32); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +lean_dec(x_162); +x_239 = lean_st_ref_get(x_6, x_163); +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_240, 3); +lean_inc(x_241); +lean_dec(x_240); +x_242 = lean_ctor_get_uint8(x_241, sizeof(void*)*1); +lean_dec(x_241); +if (x_242 == 0) +{ +lean_object* x_243; +x_243 = lean_ctor_get(x_239, 1); +lean_inc(x_243); +lean_dec(x_239); +x_212 = x_160; +x_213 = x_243; +goto block_238; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +x_244 = lean_ctor_get(x_239, 1); +lean_inc(x_244); +lean_dec(x_239); +x_245 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_3, x_4, x_5, x_6, x_244); +x_246 = lean_ctor_get(x_245, 0); lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); lean_dec(x_245); -x_247 = lean_ctor_get_uint8(x_246, sizeof(void*)*1); +x_248 = lean_unbox(x_246); lean_dec(x_246); -if (x_247 == 0) -{ -lean_object* x_248; -x_248 = lean_ctor_get(x_244, 1); -lean_inc(x_248); -lean_dec(x_244); -x_230 = x_161; -x_231 = x_248; -goto block_243; +x_212 = x_248; +x_213 = x_247; +goto block_238; } -else +block_190: { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_249 = lean_ctor_get(x_244, 1); -lean_inc(x_249); -lean_dec(x_244); -x_250 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_251 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_250, x_3, x_4, x_5, x_6, x_249); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_unbox(x_252); -lean_dec(x_252); -x_230 = x_254; -x_231 = x_253; -goto block_243; -} -block_185: -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_167 = lean_st_ref_get(x_6, x_166); -x_168 = lean_ctor_get(x_167, 1); +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_166 = lean_st_ref_get(x_6, x_165); +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); lean_inc(x_168); +lean_dec(x_166); +x_169 = lean_ctor_get(x_167, 3); +lean_inc(x_169); lean_dec(x_167); -x_169 = lean_st_ref_take(x_6, x_168); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_170, 3); -lean_inc(x_171); -x_172 = lean_ctor_get(x_169, 1); -lean_inc(x_172); +x_170 = lean_ctor_get_uint8(x_169, sizeof(void*)*1); lean_dec(x_169); -x_173 = lean_ctor_get(x_170, 0); +x_171 = lean_st_ref_take(x_6, x_168); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_172, 3); lean_inc(x_173); -x_174 = lean_ctor_get(x_170, 1); +x_174 = lean_ctor_get(x_171, 1); lean_inc(x_174); -x_175 = lean_ctor_get(x_170, 2); +lean_dec(x_171); +x_175 = lean_ctor_get(x_172, 0); lean_inc(x_175); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - lean_ctor_release(x_170, 2); - lean_ctor_release(x_170, 3); - x_176 = x_170; -} else { - lean_dec_ref(x_170); - x_176 = lean_box(0); -} -x_177 = lean_ctor_get(x_171, 0); +x_176 = lean_ctor_get(x_172, 1); +lean_inc(x_176); +x_177 = lean_ctor_get(x_172, 2); lean_inc(x_177); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - x_178 = x_171; +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + lean_ctor_release(x_172, 2); + lean_ctor_release(x_172, 3); + x_178 = x_172; } else { - lean_dec_ref(x_171); + lean_dec_ref(x_172); x_178 = lean_box(0); } +x_179 = lean_ctor_get(x_173, 0); +lean_inc(x_179); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + x_180 = x_173; +} else { + lean_dec_ref(x_173); + x_180 = lean_box(0); +} +if (lean_is_scalar(x_180)) { + x_181 = lean_alloc_ctor(0, 1, 1); +} else { + x_181 = x_180; +} +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set_uint8(x_181, sizeof(void*)*1, x_28); if (lean_is_scalar(x_178)) { - x_179 = lean_alloc_ctor(0, 1, 1); + x_182 = lean_alloc_ctor(0, 4, 0); } else { - x_179 = x_178; + x_182 = x_178; } -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set_uint8(x_179, sizeof(void*)*1, x_27); -if (lean_is_scalar(x_176)) { - x_180 = lean_alloc_ctor(0, 4, 0); -} else { - x_180 = x_176; -} -lean_ctor_set(x_180, 0, x_173); -lean_ctor_set(x_180, 1, x_174); -lean_ctor_set(x_180, 2, x_175); -lean_ctor_set(x_180, 3, x_179); -x_181 = lean_st_ref_set(x_6, x_180, x_172); +lean_ctor_set(x_182, 0, x_175); +lean_ctor_set(x_182, 1, x_176); +lean_ctor_set(x_182, 2, x_177); +lean_ctor_set(x_182, 3, x_181); +x_183 = lean_st_ref_set(x_6, x_182, x_174); lean_dec(x_6); -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_183 = x_181; +x_184 = lean_ctor_get(x_183, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_185 = x_183; } else { - lean_dec_ref(x_181); - x_183 = lean_box(0); + lean_dec_ref(x_183); + x_185 = lean_box(0); } -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(1, 2, 0); +x_186 = lean_box(x_164); +x_187 = lean_box(x_170); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +if (lean_is_scalar(x_185)) { + x_189 = lean_alloc_ctor(0, 2, 0); } else { - x_184 = x_183; - lean_ctor_set_tag(x_184, 1); + x_189 = x_185; } -lean_ctor_set(x_184, 0, x_165); -lean_ctor_set(x_184, 1, x_182); -x_8 = x_184; +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_184); +x_8 = x_189; goto block_20; } -block_229: +block_211: { -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = l_Lean_Expr_getAppFn(x_1); -x_188 = l_Lean_Expr_mvarId_x21(x_187); -x_189 = l_Lean_Meta_getMVarDecl(x_188, x_3, x_4, x_5, x_6, x_186); -if (lean_obj_tag(x_189) == 0) -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = lean_unsigned_to_nat(0u); -x_193 = l_Lean_Expr_getAppNumArgsAux(x_1, x_192); -x_194 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; -lean_inc(x_193); -x_195 = lean_mk_array(x_193, x_194); -x_196 = lean_unsigned_to_nat(1u); -x_197 = lean_nat_sub(x_193, x_196); +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_193 = lean_st_ref_get(x_6, x_192); +x_194 = lean_ctor_get(x_193, 1); +lean_inc(x_194); lean_dec(x_193); -x_198 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_195, x_197); -lean_inc(x_6); -x_199 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(x_187, x_190, x_192, x_198, x_2, x_3, x_4, x_5, x_6, x_191); -if (lean_obj_tag(x_199) == 0) -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t 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_200 = lean_ctor_get(x_199, 0); +x_195 = lean_st_ref_take(x_6, x_194); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_196, 3); +lean_inc(x_197); +x_198 = lean_ctor_get(x_195, 1); +lean_inc(x_198); +lean_dec(x_195); +x_199 = lean_ctor_get(x_196, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_196, 1); lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); +x_201 = lean_ctor_get(x_196, 2); lean_inc(x_201); -lean_dec(x_199); -x_202 = lean_st_ref_get(x_6, x_201); -x_203 = lean_ctor_get(x_202, 0); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + lean_ctor_release(x_196, 2); + lean_ctor_release(x_196, 3); + x_202 = x_196; +} else { + lean_dec_ref(x_196); + x_202 = lean_box(0); +} +x_203 = lean_ctor_get(x_197, 0); lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = lean_ctor_get(x_203, 3); -lean_inc(x_205); -lean_dec(x_203); -x_206 = lean_ctor_get_uint8(x_205, sizeof(void*)*1); -lean_dec(x_205); -x_207 = lean_st_ref_take(x_6, x_204); -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_208, 3); -lean_inc(x_209); -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -lean_dec(x_207); -x_211 = lean_ctor_get(x_208, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_208, 1); -lean_inc(x_212); -x_213 = lean_ctor_get(x_208, 2); -lean_inc(x_213); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - lean_ctor_release(x_208, 2); - lean_ctor_release(x_208, 3); - x_214 = x_208; +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + x_204 = x_197; } else { - lean_dec_ref(x_208); - x_214 = lean_box(0); + lean_dec_ref(x_197); + x_204 = lean_box(0); } -x_215 = lean_ctor_get(x_209, 0); -lean_inc(x_215); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - x_216 = x_209; +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_209); - x_216 = lean_box(0); + x_205 = x_204; } -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set_uint8(x_205, sizeof(void*)*1, x_28); +if (lean_is_scalar(x_202)) { + x_206 = lean_alloc_ctor(0, 4, 0); } else { - x_217 = x_216; + x_206 = x_202; } -lean_ctor_set(x_217, 0, x_215); -lean_ctor_set_uint8(x_217, sizeof(void*)*1, x_27); -if (lean_is_scalar(x_214)) { - x_218 = lean_alloc_ctor(0, 4, 0); -} else { - x_218 = x_214; -} -lean_ctor_set(x_218, 0, x_211); -lean_ctor_set(x_218, 1, x_212); -lean_ctor_set(x_218, 2, x_213); -lean_ctor_set(x_218, 3, x_217); -x_219 = lean_st_ref_set(x_6, x_218, x_210); +lean_ctor_set(x_206, 0, x_199); +lean_ctor_set(x_206, 1, x_200); +lean_ctor_set(x_206, 2, x_201); +lean_ctor_set(x_206, 3, x_205); +x_207 = lean_st_ref_set(x_6, x_206, x_198); lean_dec(x_6); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_221 = x_219; +x_208 = lean_ctor_get(x_207, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_209 = x_207; } else { - lean_dec_ref(x_219); - x_221 = lean_box(0); + lean_dec_ref(x_207); + x_209 = lean_box(0); } -x_222 = lean_box(x_206); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_200); -lean_ctor_set(x_223, 1, x_222); -if (lean_is_scalar(x_221)) { - x_224 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(1, 2, 0); } else { - x_224 = x_221; + x_210 = x_209; + lean_ctor_set_tag(x_210, 1); } -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_220); -x_8 = x_224; +lean_ctor_set(x_210, 0, x_191); +lean_ctor_set(x_210, 1, x_208); +x_8 = x_210; goto block_20; } +block_238: +{ +if (x_212 == 0) +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_box(0); +lean_inc(x_6); +x_215 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_214, x_3, x_4, x_5, x_6, x_213); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_unbox(x_216); +lean_dec(x_216); +x_164 = x_218; +x_165 = x_217; +goto block_190; +} else { -lean_object* x_225; lean_object* x_226; -x_225 = lean_ctor_get(x_199, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_199, 1); -lean_inc(x_226); -lean_dec(x_199); -x_165 = x_225; -x_166 = x_226; -goto block_185; +lean_object* x_219; lean_object* x_220; +x_219 = lean_ctor_get(x_215, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_215, 1); +lean_inc(x_220); +lean_dec(x_215); +x_191 = x_219; +x_192 = x_220; +goto block_211; } } else { -lean_object* x_227; lean_object* x_228; -lean_dec(x_187); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_227 = lean_ctor_get(x_189, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_189, 1); -lean_inc(x_228); -lean_dec(x_189); -x_165 = x_227; -x_166 = x_228; -goto block_185; -} -} -block_243: -{ -if (x_230 == 0) -{ -x_186 = x_231; -goto block_229; -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_inc(x_1); -x_232 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_232, 0, x_1); -x_233 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_234 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_232); -x_235 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_236 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); +x_221 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_221, 0, x_1); +x_222 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_223 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_225 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_225, 0, x_223); +lean_ctor_set(x_225, 1, x_224); lean_inc(x_2); -x_237 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_237, 0, x_2); -x_238 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_233); -x_240 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_241 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_240, x_239, x_3, x_4, x_5, x_6, x_231); -x_242 = lean_ctor_get(x_241, 1); -lean_inc(x_242); -lean_dec(x_241); -x_186 = x_242; -goto block_229; +x_226 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_226, 0, x_2); +x_227 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_222); +x_229 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_228, x_3, x_4, x_5, x_6, x_213); +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec(x_229); +lean_inc(x_6); +x_232 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_230, x_3, x_4, x_5, x_6, x_231); +lean_dec(x_230); +if (lean_obj_tag(x_232) == 0) +{ +lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = lean_unbox(x_233); +lean_dec(x_233); +x_164 = x_235; +x_165 = x_234; +goto block_190; +} +else +{ +lean_object* x_236; lean_object* x_237; +x_236 = lean_ctor_get(x_232, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_232, 1); +lean_inc(x_237); +lean_dec(x_232); +x_191 = x_236; +x_192 = x_237; +goto block_211; +} } } } } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_286; uint8_t x_330; lean_object* x_331; lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; -x_255 = lean_ctor_get(x_29, 0); -x_256 = lean_ctor_get(x_29, 1); -x_257 = lean_ctor_get(x_29, 2); -lean_inc(x_257); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_29); -x_258 = lean_ctor_get(x_30, 0); +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; lean_object* x_260; lean_object* x_286; lean_object* x_287; uint8_t x_307; lean_object* x_308; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; +x_249 = lean_ctor_get(x_30, 0); +x_250 = lean_ctor_get(x_30, 1); +x_251 = lean_ctor_get(x_30, 2); +lean_inc(x_251); +lean_inc(x_250); +lean_inc(x_249); +lean_dec(x_30); +x_252 = lean_ctor_get(x_31, 0); +lean_inc(x_252); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + x_253 = x_31; +} else { + lean_dec_ref(x_31); + x_253 = lean_box(0); +} +x_254 = 0; +if (lean_is_scalar(x_253)) { + x_255 = lean_alloc_ctor(0, 1, 1); +} else { + x_255 = x_253; +} +lean_ctor_set(x_255, 0, x_252); +lean_ctor_set_uint8(x_255, sizeof(void*)*1, x_254); +x_256 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_256, 0, x_249); +lean_ctor_set(x_256, 1, x_250); +lean_ctor_set(x_256, 2, x_251); +lean_ctor_set(x_256, 3, x_255); +x_257 = lean_st_ref_set(x_6, x_256, x_32); +x_258 = lean_ctor_get(x_257, 1); lean_inc(x_258); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - x_259 = x_30; -} else { - lean_dec_ref(x_30); - x_259 = lean_box(0); -} -x_260 = 0; -if (lean_is_scalar(x_259)) { - x_261 = lean_alloc_ctor(0, 1, 1); -} else { - x_261 = x_259; -} -lean_ctor_set(x_261, 0, x_258); -lean_ctor_set_uint8(x_261, sizeof(void*)*1, x_260); -x_262 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_262, 0, x_255); -lean_ctor_set(x_262, 1, x_256); -lean_ctor_set(x_262, 2, x_257); -lean_ctor_set(x_262, 3, x_261); -x_263 = lean_st_ref_set(x_6, x_262, x_31); -x_264 = lean_ctor_get(x_263, 1); -lean_inc(x_264); -lean_dec(x_263); -x_344 = lean_st_ref_get(x_6, x_264); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_345, 3); -lean_inc(x_346); -lean_dec(x_345); -x_347 = lean_ctor_get_uint8(x_346, sizeof(void*)*1); -lean_dec(x_346); -if (x_347 == 0) +lean_dec(x_257); +x_334 = lean_st_ref_get(x_6, x_258); +x_335 = lean_ctor_get(x_334, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_335, 3); +lean_inc(x_336); +lean_dec(x_335); +x_337 = lean_ctor_get_uint8(x_336, sizeof(void*)*1); +lean_dec(x_336); +if (x_337 == 0) { -lean_object* x_348; -x_348 = lean_ctor_get(x_344, 1); -lean_inc(x_348); -lean_dec(x_344); -x_330 = x_260; -x_331 = x_348; -goto block_343; +lean_object* x_338; +x_338 = lean_ctor_get(x_334, 1); +lean_inc(x_338); +lean_dec(x_334); +x_307 = x_254; +x_308 = x_338; +goto block_333; } else { -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; uint8_t x_354; -x_349 = lean_ctor_get(x_344, 1); -lean_inc(x_349); -lean_dec(x_344); -x_350 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_351 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_350, x_3, x_4, x_5, x_6, x_349); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_351, 1); -lean_inc(x_353); -lean_dec(x_351); -x_354 = lean_unbox(x_352); -lean_dec(x_352); -x_330 = x_354; -x_331 = x_353; -goto block_343; +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +x_339 = lean_ctor_get(x_334, 1); +lean_inc(x_339); +lean_dec(x_334); +x_340 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_3, x_4, x_5, x_6, x_339); +x_341 = lean_ctor_get(x_340, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_340, 1); +lean_inc(x_342); +lean_dec(x_340); +x_343 = lean_unbox(x_341); +lean_dec(x_341); +x_307 = x_343; +x_308 = x_342; +goto block_333; } block_285: { -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -x_267 = lean_st_ref_get(x_6, x_266); -x_268 = lean_ctor_get(x_267, 1); +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_261 = lean_st_ref_get(x_6, x_260); +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +x_264 = lean_ctor_get(x_262, 3); +lean_inc(x_264); +lean_dec(x_262); +x_265 = lean_ctor_get_uint8(x_264, sizeof(void*)*1); +lean_dec(x_264); +x_266 = lean_st_ref_take(x_6, x_263); +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_267, 3); lean_inc(x_268); -lean_dec(x_267); -x_269 = lean_st_ref_take(x_6, x_268); -x_270 = lean_ctor_get(x_269, 0); +x_269 = lean_ctor_get(x_266, 1); +lean_inc(x_269); +lean_dec(x_266); +x_270 = lean_ctor_get(x_267, 0); lean_inc(x_270); -x_271 = lean_ctor_get(x_270, 3); +x_271 = lean_ctor_get(x_267, 1); lean_inc(x_271); -x_272 = lean_ctor_get(x_269, 1); +x_272 = lean_ctor_get(x_267, 2); lean_inc(x_272); -lean_dec(x_269); -x_273 = lean_ctor_get(x_270, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_270, 1); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + lean_ctor_release(x_267, 2); + lean_ctor_release(x_267, 3); + x_273 = x_267; +} else { + lean_dec_ref(x_267); + x_273 = lean_box(0); +} +x_274 = lean_ctor_get(x_268, 0); lean_inc(x_274); -x_275 = lean_ctor_get(x_270, 2); -lean_inc(x_275); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - lean_ctor_release(x_270, 2); - lean_ctor_release(x_270, 3); - x_276 = x_270; +if (lean_is_exclusive(x_268)) { + lean_ctor_release(x_268, 0); + x_275 = x_268; } else { - lean_dec_ref(x_270); - x_276 = lean_box(0); + lean_dec_ref(x_268); + x_275 = lean_box(0); } -x_277 = lean_ctor_get(x_271, 0); -lean_inc(x_277); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - x_278 = x_271; +if (lean_is_scalar(x_275)) { + x_276 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_271); - x_278 = lean_box(0); + x_276 = x_275; } -if (lean_is_scalar(x_278)) { - x_279 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_276, 0, x_274); +lean_ctor_set_uint8(x_276, sizeof(void*)*1, x_28); +if (lean_is_scalar(x_273)) { + x_277 = lean_alloc_ctor(0, 4, 0); } else { - x_279 = x_278; + x_277 = x_273; } -lean_ctor_set(x_279, 0, x_277); -lean_ctor_set_uint8(x_279, sizeof(void*)*1, x_27); -if (lean_is_scalar(x_276)) { - x_280 = lean_alloc_ctor(0, 4, 0); -} else { - x_280 = x_276; -} -lean_ctor_set(x_280, 0, x_273); -lean_ctor_set(x_280, 1, x_274); -lean_ctor_set(x_280, 2, x_275); -lean_ctor_set(x_280, 3, x_279); -x_281 = lean_st_ref_set(x_6, x_280, x_272); +lean_ctor_set(x_277, 0, x_270); +lean_ctor_set(x_277, 1, x_271); +lean_ctor_set(x_277, 2, x_272); +lean_ctor_set(x_277, 3, x_276); +x_278 = lean_st_ref_set(x_6, x_277, x_269); lean_dec(x_6); -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_283 = x_281; +x_279 = lean_ctor_get(x_278, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + lean_ctor_release(x_278, 1); + x_280 = x_278; } else { - lean_dec_ref(x_281); - x_283 = lean_box(0); + lean_dec_ref(x_278); + x_280 = lean_box(0); } -if (lean_is_scalar(x_283)) { - x_284 = lean_alloc_ctor(1, 2, 0); +x_281 = lean_box(x_259); +x_282 = lean_box(x_265); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +if (lean_is_scalar(x_280)) { + x_284 = lean_alloc_ctor(0, 2, 0); } else { - x_284 = x_283; - lean_ctor_set_tag(x_284, 1); + x_284 = x_280; } -lean_ctor_set(x_284, 0, x_265); -lean_ctor_set(x_284, 1, x_282); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_279); x_8 = x_284; goto block_20; } -block_329: +block_306: { -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = l_Lean_Expr_getAppFn(x_1); -x_288 = l_Lean_Expr_mvarId_x21(x_287); -x_289 = l_Lean_Meta_getMVarDecl(x_288, x_3, x_4, x_5, x_6, x_286); -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_290 = lean_ctor_get(x_289, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_289, 1); +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_288 = lean_st_ref_get(x_6, x_287); +x_289 = lean_ctor_get(x_288, 1); +lean_inc(x_289); +lean_dec(x_288); +x_290 = lean_st_ref_take(x_6, x_289); +x_291 = lean_ctor_get(x_290, 0); lean_inc(x_291); -lean_dec(x_289); -x_292 = lean_unsigned_to_nat(0u); -x_293 = l_Lean_Expr_getAppNumArgsAux(x_1, x_292); -x_294 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; +x_292 = lean_ctor_get(x_291, 3); +lean_inc(x_292); +x_293 = lean_ctor_get(x_290, 1); lean_inc(x_293); -x_295 = lean_mk_array(x_293, x_294); -x_296 = lean_unsigned_to_nat(1u); -x_297 = lean_nat_sub(x_293, x_296); -lean_dec(x_293); -x_298 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_295, x_297); -lean_inc(x_6); -x_299 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(x_287, x_290, x_292, x_298, x_2, x_3, x_4, x_5, x_6, x_291); -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; uint8_t x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -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_6, x_301); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = lean_ctor_get(x_303, 3); -lean_inc(x_305); -lean_dec(x_303); -x_306 = lean_ctor_get_uint8(x_305, sizeof(void*)*1); -lean_dec(x_305); -x_307 = lean_st_ref_take(x_6, x_304); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_308, 3); -lean_inc(x_309); -x_310 = lean_ctor_get(x_307, 1); -lean_inc(x_310); -lean_dec(x_307); -x_311 = lean_ctor_get(x_308, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_308, 1); -lean_inc(x_312); -x_313 = lean_ctor_get(x_308, 2); -lean_inc(x_313); -if (lean_is_exclusive(x_308)) { - lean_ctor_release(x_308, 0); - lean_ctor_release(x_308, 1); - lean_ctor_release(x_308, 2); - lean_ctor_release(x_308, 3); - x_314 = x_308; +lean_dec(x_290); +x_294 = lean_ctor_get(x_291, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_291, 1); +lean_inc(x_295); +x_296 = lean_ctor_get(x_291, 2); +lean_inc(x_296); +if (lean_is_exclusive(x_291)) { + lean_ctor_release(x_291, 0); + lean_ctor_release(x_291, 1); + lean_ctor_release(x_291, 2); + lean_ctor_release(x_291, 3); + x_297 = x_291; } else { - lean_dec_ref(x_308); - x_314 = lean_box(0); + lean_dec_ref(x_291); + x_297 = lean_box(0); } -x_315 = lean_ctor_get(x_309, 0); -lean_inc(x_315); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - x_316 = x_309; +x_298 = lean_ctor_get(x_292, 0); +lean_inc(x_298); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + x_299 = x_292; } else { - lean_dec_ref(x_309); - x_316 = lean_box(0); + lean_dec_ref(x_292); + x_299 = lean_box(0); } -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(0, 1, 1); +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(0, 1, 1); } else { - x_317 = x_316; + x_300 = x_299; } -lean_ctor_set(x_317, 0, x_315); -lean_ctor_set_uint8(x_317, sizeof(void*)*1, x_27); -if (lean_is_scalar(x_314)) { - x_318 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_300, 0, x_298); +lean_ctor_set_uint8(x_300, sizeof(void*)*1, x_28); +if (lean_is_scalar(x_297)) { + x_301 = lean_alloc_ctor(0, 4, 0); } else { - x_318 = x_314; + x_301 = x_297; } -lean_ctor_set(x_318, 0, x_311); -lean_ctor_set(x_318, 1, x_312); -lean_ctor_set(x_318, 2, x_313); -lean_ctor_set(x_318, 3, x_317); -x_319 = lean_st_ref_set(x_6, x_318, x_310); +lean_ctor_set(x_301, 0, x_294); +lean_ctor_set(x_301, 1, x_295); +lean_ctor_set(x_301, 2, x_296); +lean_ctor_set(x_301, 3, x_300); +x_302 = lean_st_ref_set(x_6, x_301, x_293); lean_dec(x_6); -x_320 = lean_ctor_get(x_319, 1); -lean_inc(x_320); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_321 = x_319; +x_303 = lean_ctor_get(x_302, 1); +lean_inc(x_303); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_304 = x_302; } else { - lean_dec_ref(x_319); - x_321 = lean_box(0); + lean_dec_ref(x_302); + x_304 = lean_box(0); } -x_322 = lean_box(x_306); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_300); -lean_ctor_set(x_323, 1, x_322); -if (lean_is_scalar(x_321)) { - x_324 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(1, 2, 0); } else { - x_324 = x_321; + x_305 = x_304; + lean_ctor_set_tag(x_305, 1); } -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_320); -x_8 = x_324; +lean_ctor_set(x_305, 0, x_286); +lean_ctor_set(x_305, 1, x_303); +x_8 = x_305; goto block_20; } -else +block_333: { -lean_object* x_325; lean_object* x_326; -x_325 = lean_ctor_get(x_299, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_299, 1); -lean_inc(x_326); -lean_dec(x_299); -x_265 = x_325; -x_266 = x_326; +if (x_307 == 0) +{ +lean_object* x_309; lean_object* x_310; +x_309 = lean_box(0); +lean_inc(x_6); +x_310 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_309, x_3, x_4, x_5, x_6, x_308); +if (lean_obj_tag(x_310) == 0) +{ +lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +lean_dec(x_310); +x_313 = lean_unbox(x_311); +lean_dec(x_311); +x_259 = x_313; +x_260 = x_312; goto block_285; } +else +{ +lean_object* x_314; lean_object* x_315; +x_314 = lean_ctor_get(x_310, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_310, 1); +lean_inc(x_315); +lean_dec(x_310); +x_286 = x_314; +x_287 = x_315; +goto block_306; +} } else { -lean_object* x_327; lean_object* x_328; -lean_dec(x_287); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_327 = lean_ctor_get(x_289, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_289, 1); -lean_inc(x_328); -lean_dec(x_289); -x_265 = x_327; -x_266 = x_328; -goto block_285; -} -} -block_343: -{ -if (x_330 == 0) -{ -x_286 = x_331; -goto block_329; -} -else -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_inc(x_1); -x_332 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_332, 0, x_1); -x_333 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_334 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_332); -x_335 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_336 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); +x_316 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_316, 0, x_1); +x_317 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_318 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_316); +x_319 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_320 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_320, 0, x_318); +lean_ctor_set(x_320, 1, x_319); lean_inc(x_2); -x_337 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_337, 0, x_2); -x_338 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_338, 0, x_336); -lean_ctor_set(x_338, 1, x_337); -x_339 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_333); -x_340 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_341 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_340, x_339, x_3, x_4, x_5, x_6, x_331); -x_342 = lean_ctor_get(x_341, 1); -lean_inc(x_342); -lean_dec(x_341); -x_286 = x_342; -goto block_329; +x_321 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_321, 0, x_2); +x_322 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_322, 0, x_320); +lean_ctor_set(x_322, 1, x_321); +x_323 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_317); +x_324 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_323, x_3, x_4, x_5, x_6, x_308); +x_325 = lean_ctor_get(x_324, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_324, 1); +lean_inc(x_326); +lean_dec(x_324); +lean_inc(x_6); +x_327 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_325, x_3, x_4, x_5, x_6, x_326); +lean_dec(x_325); +if (lean_obj_tag(x_327) == 0) +{ +lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +lean_dec(x_327); +x_330 = lean_unbox(x_328); +lean_dec(x_328); +x_259 = x_330; +x_260 = x_329; +goto block_285; +} +else +{ +lean_object* x_331; lean_object* x_332; +x_331 = lean_ctor_get(x_327, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_327, 1); +lean_inc(x_332); +lean_dec(x_327); +x_286 = x_331; +x_287 = x_332; +goto block_306; +} } } } } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; uint8_t x_398; lean_object* x_399; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; -x_355 = lean_ctor_get(x_5, 3); -lean_inc(x_355); -x_356 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_22); -x_357 = lean_ctor_get(x_356, 0); -lean_inc(x_357); -x_358 = lean_ctor_get(x_356, 1); -lean_inc(x_358); -lean_dec(x_356); -x_412 = lean_st_ref_get(x_6, x_358); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_413, 3); -lean_inc(x_414); -lean_dec(x_413); -x_415 = lean_ctor_get_uint8(x_414, sizeof(void*)*1); -lean_dec(x_414); -if (x_415 == 0) +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; uint8_t x_351; +x_344 = lean_ctor_get(x_5, 3); +lean_inc(x_344); +x_345 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_23); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = lean_st_ref_get(x_6, x_347); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_349, 3); +lean_inc(x_350); +lean_dec(x_349); +x_351 = lean_ctor_get_uint8(x_350, sizeof(void*)*1); +lean_dec(x_350); +if (x_351 == 0) { -lean_object* x_416; uint8_t x_417; -x_416 = lean_ctor_get(x_412, 1); -lean_inc(x_416); -lean_dec(x_412); -x_417 = 0; -x_398 = x_417; -x_399 = x_416; -goto block_411; -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; -x_418 = lean_ctor_get(x_412, 1); -lean_inc(x_418); -lean_dec(x_412); -x_419 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_420 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_419, x_3, x_4, x_5, x_6, x_418); -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_423 = lean_unbox(x_421); -lean_dec(x_421); -x_398 = x_423; -x_399 = x_422; -goto block_411; -} -block_397: -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_360 = l_Lean_Expr_getAppFn(x_1); -x_361 = l_Lean_Expr_mvarId_x21(x_360); -x_362 = l_Lean_Meta_getMVarDecl(x_361, x_3, x_4, x_5, x_6, x_359); -if (lean_obj_tag(x_362) == 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; lean_object* x_370; lean_object* x_371; lean_object* x_372; -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_unsigned_to_nat(0u); -x_366 = l_Lean_Expr_getAppNumArgsAux(x_1, x_365); -x_367 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; -lean_inc(x_366); -x_368 = lean_mk_array(x_366, x_367); -x_369 = lean_unsigned_to_nat(1u); -x_370 = lean_nat_sub(x_366, x_369); -lean_dec(x_366); -x_371 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_368, x_370); +lean_object* x_352; lean_object* x_353; lean_object* x_354; +x_352 = lean_ctor_get(x_348, 1); +lean_inc(x_352); +lean_dec(x_348); +x_353 = lean_box(0); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_372 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process(x_360, x_363, x_365, x_371, x_2, x_3, x_4, x_5, x_6, x_364); -if (lean_obj_tag(x_372) == 0) +x_354 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_353, x_3, x_4, x_5, x_6, x_352); +if (lean_obj_tag(x_354) == 0) { -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; uint8_t x_377; -x_373 = lean_ctor_get(x_372, 0); +lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_354, 1); +lean_inc(x_356); +lean_dec(x_354); +x_357 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_356); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_358 = !lean_is_exclusive(x_357); +if (x_358 == 0) +{ +lean_object* x_359; +x_359 = lean_ctor_get(x_357, 0); +lean_dec(x_359); +lean_ctor_set(x_357, 0, x_355); +return x_357; +} +else +{ +lean_object* x_360; lean_object* x_361; +x_360 = lean_ctor_get(x_357, 1); +lean_inc(x_360); +lean_dec(x_357); +x_361 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_361, 0, x_355); +lean_ctor_set(x_361, 1, x_360); +return x_361; +} +} +else +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +x_362 = lean_ctor_get(x_354, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_354, 1); +lean_inc(x_363); +lean_dec(x_354); +x_364 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_363); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_365 = !lean_is_exclusive(x_364); +if (x_365 == 0) +{ +lean_object* x_366; +x_366 = lean_ctor_get(x_364, 0); +lean_dec(x_366); +lean_ctor_set_tag(x_364, 1); +lean_ctor_set(x_364, 0, x_362); +return x_364; +} +else +{ +lean_object* x_367; lean_object* x_368; +x_367 = lean_ctor_get(x_364, 1); +lean_inc(x_367); +lean_dec(x_364); +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_362); +lean_ctor_set(x_368, 1, x_367); +return x_368; +} +} +} +else +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; uint8_t x_372; +x_369 = lean_ctor_get(x_348, 1); +lean_inc(x_369); +lean_dec(x_348); +x_370 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_3, x_4, x_5, x_6, x_369); +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_unbox(x_371); +lean_dec(x_371); +if (x_372 == 0) +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_373 = lean_ctor_get(x_370, 1); lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -lean_dec(x_372); -x_375 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_376 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_357, x_375, x_355, x_3, x_4, x_5, x_6, x_374); +lean_dec(x_370); +x_374 = lean_box(0); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_375 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_374, x_3, x_4, x_5, x_6, x_373); +if (lean_obj_tag(x_375) == 0) +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; +x_376 = lean_ctor_get(x_375, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_377); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_377 = !lean_is_exclusive(x_376); -if (x_377 == 0) +x_379 = !lean_is_exclusive(x_378); +if (x_379 == 0) { -lean_object* x_378; -x_378 = lean_ctor_get(x_376, 0); -lean_dec(x_378); -lean_ctor_set(x_376, 0, x_373); -return x_376; +lean_object* x_380; +x_380 = lean_ctor_get(x_378, 0); +lean_dec(x_380); +lean_ctor_set(x_378, 0, x_376); +return x_378; } else { -lean_object* x_379; lean_object* x_380; -x_379 = lean_ctor_get(x_376, 1); -lean_inc(x_379); -lean_dec(x_376); -x_380 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_380, 0, x_373); -lean_ctor_set(x_380, 1, x_379); -return x_380; -} -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; uint8_t x_385; -x_381 = lean_ctor_get(x_372, 0); +lean_object* x_381; lean_object* x_382; +x_381 = lean_ctor_get(x_378, 1); lean_inc(x_381); -x_382 = lean_ctor_get(x_372, 1); -lean_inc(x_382); -lean_dec(x_372); -x_383 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_384 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_357, x_383, x_355, x_3, x_4, x_5, x_6, x_382); +lean_dec(x_378); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_376); +lean_ctor_set(x_382, 1, x_381); +return x_382; +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; +x_383 = lean_ctor_get(x_375, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_375, 1); +lean_inc(x_384); +lean_dec(x_375); +x_385 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_384); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_385 = !lean_is_exclusive(x_384); -if (x_385 == 0) +x_386 = !lean_is_exclusive(x_385); +if (x_386 == 0) { -lean_object* x_386; -x_386 = lean_ctor_get(x_384, 0); -lean_dec(x_386); -lean_ctor_set_tag(x_384, 1); -lean_ctor_set(x_384, 0, x_381); -return x_384; +lean_object* x_387; +x_387 = lean_ctor_get(x_385, 0); +lean_dec(x_387); +lean_ctor_set_tag(x_385, 1); +lean_ctor_set(x_385, 0, x_383); +return x_385; } else { -lean_object* x_387; lean_object* x_388; -x_387 = lean_ctor_get(x_384, 1); -lean_inc(x_387); -lean_dec(x_384); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_381); -lean_ctor_set(x_388, 1, x_387); -return x_388; +lean_object* x_388; lean_object* x_389; +x_388 = lean_ctor_get(x_385, 1); +lean_inc(x_388); +lean_dec(x_385); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_383); +lean_ctor_set(x_389, 1, x_388); +return x_389; } } } else { -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; -lean_dec(x_360); -lean_dec(x_2); -lean_dec(x_1); -x_389 = lean_ctor_get(x_362, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_362, 1); +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_390 = lean_ctor_get(x_370, 1); lean_inc(x_390); -lean_dec(x_362); -x_391 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_392 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_357, x_391, x_355, x_3, x_4, x_5, x_6, x_390); +lean_dec(x_370); +lean_inc(x_1); +x_391 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_391, 0, x_1); +x_392 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_393 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_391); +x_394 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__17; +x_395 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_395, 0, x_393); +lean_ctor_set(x_395, 1, x_394); +lean_inc(x_2); +x_396 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_396, 0, x_2); +x_397 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_397, 0, x_395); +lean_ctor_set(x_397, 1, x_396); +x_398 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_392); +x_399 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_398, x_3, x_4, x_5, x_6, x_390); +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_402 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_400, x_3, x_4, x_5, x_6, x_401); +lean_dec(x_400); +if (lean_obj_tag(x_402) == 0) +{ +lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_404); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_393 = !lean_is_exclusive(x_392); -if (x_393 == 0) +x_406 = !lean_is_exclusive(x_405); +if (x_406 == 0) { -lean_object* x_394; -x_394 = lean_ctor_get(x_392, 0); -lean_dec(x_394); -lean_ctor_set_tag(x_392, 1); -lean_ctor_set(x_392, 0, x_389); -return x_392; +lean_object* x_407; +x_407 = lean_ctor_get(x_405, 0); +lean_dec(x_407); +lean_ctor_set(x_405, 0, x_403); +return x_405; } else { -lean_object* x_395; lean_object* x_396; -x_395 = lean_ctor_get(x_392, 1); -lean_inc(x_395); -lean_dec(x_392); -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_389); -lean_ctor_set(x_396, 1, x_395); -return x_396; +lean_object* x_408; lean_object* x_409; +x_408 = lean_ctor_get(x_405, 1); +lean_inc(x_408); +lean_dec(x_405); +x_409 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_409, 0, x_403); +lean_ctor_set(x_409, 1, x_408); +return x_409; } } -} -block_411: -{ -if (x_398 == 0) -{ -x_359 = x_399; -goto block_397; -} else { -lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; -lean_inc(x_1); -x_400 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_400, 0, x_1); -x_401 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_402 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -x_403 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__16; -x_404 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_404, 0, x_402); -lean_ctor_set(x_404, 1, x_403); -lean_inc(x_2); -x_405 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_405, 0, x_2); -x_406 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_406, 0, x_404); -lean_ctor_set(x_406, 1, x_405); -x_407 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_401); -x_408 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; -x_409 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_408, x_407, x_3, x_4, x_5, x_6, x_399); -x_410 = lean_ctor_get(x_409, 1); +lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; +x_410 = lean_ctor_get(x_402, 0); lean_inc(x_410); -lean_dec(x_409); -x_359 = x_410; -goto block_397; +x_411 = lean_ctor_get(x_402, 1); +lean_inc(x_411); +lean_dec(x_402); +x_412 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_346, x_21, x_344, x_3, x_4, x_5, x_6, x_411); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_413 = !lean_is_exclusive(x_412); +if (x_413 == 0) +{ +lean_object* x_414; +x_414 = lean_ctor_get(x_412, 0); +lean_dec(x_414); +lean_ctor_set_tag(x_412, 1); +lean_ctor_set(x_412, 0, x_410); +return x_412; +} +else +{ +lean_object* x_415; lean_object* x_416; +x_415 = lean_ctor_get(x_412, 1); +lean_inc(x_415); +lean_dec(x_412); +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_410); +lean_ctor_set(x_416, 1, x_415); +return x_416; } } } } } } +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(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: { @@ -43003,6 +43888,68 @@ return x_23; } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_isExprDefEqAux(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +x_13 = l_Bool_toLBool(x_12); +x_14 = lean_box(x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_unbox(x_15); +lean_dec(x_15); +x_18 = l_Bool_toLBool(x_17); +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_16); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__1() { _start: { @@ -43042,225 +43989,80 @@ return x_3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*1); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_1); -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_13); -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; uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -x_18 = l_Bool_toLBool(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_14, 0, x_19); -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__4; +x_20 = lean_st_ref_get(x_7, x_8); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_unbox(x_20); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); lean_dec(x_20); -x_23 = l_Bool_toLBool(x_22); -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -return x_25; -} +x_25 = 0; +x_10 = x_25; +x_11 = x_24; +goto block_19; } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_14); -if (x_26 == 0) -{ -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_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_4, x_5, x_6, x_7, x_26); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_14); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_10 = x_30; +x_11 = x_29; +goto block_19; } -} -} -else +block_19: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_9, 1); -lean_inc(x_30); -lean_dec(x_9); -x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__4; -x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_31, x_4, x_5, x_6, x_7, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) +if (x_10 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_12; lean_object* x_13; lean_dec(x_1); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_35); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -x_40 = l_Bool_toLBool(x_39); -x_41 = lean_box(x_40); -lean_ctor_set(x_36, 0, x_41); -return x_36; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_12, x_4, x_5, x_6, x_7, x_11); +return x_13; } 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_36, 0); -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_36); -x_44 = lean_unbox(x_42); -lean_dec(x_42); -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_43); -return x_47; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_14, x_4, x_5, x_6, x_7, x_11); +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_16, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_16); +return x_18; } } -else +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___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) { +_start: { -uint8_t x_48; -x_48 = !lean_is_exclusive(x_36); -if (x_48 == 0) -{ -return x_36; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_36, 0); -x_50 = lean_ctor_get(x_36, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_36); -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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_32, 1); -lean_inc(x_52); -lean_dec(x_32); -x_53 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_53, 0, x_1); -x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_31, x_53, x_4, x_5, x_6, x_7, x_52); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_55); -if (lean_obj_tag(x_56) == 0) -{ -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -x_60 = l_Bool_toLBool(x_59); -x_61 = lean_box(x_60); -lean_ctor_set(x_56, 0, x_61); -return x_56; -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -x_62 = lean_ctor_get(x_56, 0); -x_63 = lean_ctor_get(x_56, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_56); -x_64 = lean_unbox(x_62); -lean_dec(x_62); -x_65 = l_Bool_toLBool(x_64); -x_66 = lean_box(x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_63); -return x_67; -} -} -else -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_56); -if (x_68 == 0) -{ -return x_56; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_56, 0); -x_70 = lean_ctor_get(x_56, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_56); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___closed__1() { @@ -43284,223 +44086,69 @@ return x_3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*1); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_1); -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_13); -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; uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -x_18 = l_Bool_toLBool(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_14, 0, x_19); -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___closed__2; +x_20 = lean_st_ref_get(x_7, x_8); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_unbox(x_20); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); lean_dec(x_20); -x_23 = l_Bool_toLBool(x_22); -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -return x_25; -} +x_25 = 0; +x_10 = x_25; +x_11 = x_24; +goto block_19; } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_14); -if (x_26 == 0) -{ -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_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_4, x_5, x_6, x_7, x_26); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_14); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_10 = x_30; +x_11 = x_29; +goto block_19; } -} -} -else +block_19: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_9, 1); -lean_inc(x_30); -lean_dec(x_9); -x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___closed__2; -x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_31, x_4, x_5, x_6, x_7, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) +if (x_10 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_12; lean_object* x_13; lean_dec(x_1); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_35); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -x_40 = l_Bool_toLBool(x_39); -x_41 = lean_box(x_40); -lean_ctor_set(x_36, 0, x_41); -return x_36; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_12, x_4, x_5, x_6, x_7, x_11); +return x_13; } 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_36, 0); -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_36); -x_44 = lean_unbox(x_42); -lean_dec(x_42); -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_43); -return x_47; -} -} -else -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_36); -if (x_48 == 0) -{ -return x_36; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_36, 0); -x_50 = lean_ctor_get(x_36, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_36); -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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_32, 1); -lean_inc(x_52); -lean_dec(x_32); -x_53 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_53, 0, x_1); -x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_31, x_53, x_4, x_5, x_6, x_7, x_52); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_55); -if (lean_obj_tag(x_56) == 0) -{ -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -x_60 = l_Bool_toLBool(x_59); -x_61 = lean_box(x_60); -lean_ctor_set(x_56, 0, x_61); -return x_56; -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -x_62 = lean_ctor_get(x_56, 0); -x_63 = lean_ctor_get(x_56, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_56); -x_64 = lean_unbox(x_62); -lean_dec(x_62); -x_65 = l_Bool_toLBool(x_64); -x_66 = lean_box(x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_63); -return x_67; -} -} -else -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_56); -if (x_68 == 0) -{ -return x_56; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_56, 0); -x_70 = lean_ctor_get(x_56, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_56); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_14, x_4, x_5, x_6, x_7, x_11); +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_16, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_16); +return x_18; } } } @@ -43526,223 +44174,69 @@ return x_3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*1); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_1); -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_13); -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; uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -x_18 = l_Bool_toLBool(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_14, 0, x_19); -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__2; +x_20 = lean_st_ref_get(x_7, x_8); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_unbox(x_20); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); lean_dec(x_20); -x_23 = l_Bool_toLBool(x_22); -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -return x_25; -} +x_25 = 0; +x_10 = x_25; +x_11 = x_24; +goto block_19; } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_14); -if (x_26 == 0) -{ -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_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_4, x_5, x_6, x_7, x_26); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_14); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_10 = x_30; +x_11 = x_29; +goto block_19; } -} -} -else +block_19: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_9, 1); -lean_inc(x_30); -lean_dec(x_9); -x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__2; -x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_31, x_4, x_5, x_6, x_7, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) +if (x_10 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_12; lean_object* x_13; lean_dec(x_1); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_35); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -x_40 = l_Bool_toLBool(x_39); -x_41 = lean_box(x_40); -lean_ctor_set(x_36, 0, x_41); -return x_36; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_12, x_4, x_5, x_6, x_7, x_11); +return x_13; } 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_36, 0); -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_36); -x_44 = lean_unbox(x_42); -lean_dec(x_42); -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_43); -return x_47; -} -} -else -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_36); -if (x_48 == 0) -{ -return x_36; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_36, 0); -x_50 = lean_ctor_get(x_36, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_36); -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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_32, 1); -lean_inc(x_52); -lean_dec(x_32); -x_53 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_53, 0, x_1); -x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_31, x_53, x_4, x_5, x_6, x_7, x_52); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = l_Lean_Meta_isExprDefEqAux(x_2, x_3, x_4, x_5, x_6, x_7, x_55); -if (lean_obj_tag(x_56) == 0) -{ -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -x_60 = l_Bool_toLBool(x_59); -x_61 = lean_box(x_60); -lean_ctor_set(x_56, 0, x_61); -return x_56; -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -x_62 = lean_ctor_get(x_56, 0); -x_63 = lean_ctor_get(x_56, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_56); -x_64 = lean_unbox(x_62); -lean_dec(x_62); -x_65 = l_Bool_toLBool(x_64); -x_66 = lean_box(x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_63); -return x_67; -} -} -else -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_56); -if (x_68 == 0) -{ -return x_56; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_56, 0); -x_70 = lean_ctor_get(x_56, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_56); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_14, x_4, x_5, x_6, x_7, x_11); +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(x_2, x_3, x_16, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_16); +return x_18; } } } @@ -44080,10 +44574,9 @@ goto block_27; } block_95: { -uint8_t x_70; lean_object* x_71; if (x_68 == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +uint8_t x_70; lean_object* x_71; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; x_84 = lean_st_ref_get(x_12, x_69); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); @@ -44122,16 +44615,6 @@ x_70 = x_94; x_71 = x_93; goto block_83; } -} -else -{ -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_28 = x_68; -x_29 = x_69; -goto block_67; -} block_83: { if (x_70 == 0) @@ -44161,7 +44644,7 @@ lean_ctor_set(x_77, 0, x_2); x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); -x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -44175,6 +44658,16 @@ goto block_67; } } } +else +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = x_68; +x_29 = x_69; +goto block_67; +} +} } } lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -44465,10 +44958,9 @@ goto block_27; } block_95: { -uint8_t x_70; lean_object* x_71; if (x_68 == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +uint8_t x_70; lean_object* x_71; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; x_84 = lean_st_ref_get(x_12, x_69); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); @@ -44507,16 +44999,6 @@ x_70 = x_94; x_71 = x_93; goto block_83; } -} -else -{ -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_28 = x_68; -x_29 = x_69; -goto block_67; -} block_83: { if (x_70 == 0) @@ -44546,7 +45028,7 @@ lean_ctor_set(x_77, 0, x_2); x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); -x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; +x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -44560,6 +45042,16 @@ goto block_67; } } } +else +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = x_68; +x_29 = x_69; +goto block_67; +} +} } } lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic(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) { @@ -51159,7 +51651,15 @@ return x_143; } } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1() { +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_6); +return x_7; +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -51167,21 +51667,349 @@ x_1 = lean_mk_string("stuck"); return x_1; } } +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1___boxed), 6, 0); +return x_1; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, uint8_t 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; lean_object* x_52; +if (x_4 == 0) +{ +lean_object* x_77; +x_77 = lean_box(0); +x_52 = x_77; +goto block_76; +} +else +{ +if (x_5 == 0) +{ +lean_object* x_78; +lean_dec(x_1); +x_78 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(x_2, x_3, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_78) == 0) +{ +uint8_t x_79; +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_unbox(x_80); +lean_dec(x_80); +x_82 = l_Bool_toLBool(x_81); +x_83 = lean_box(x_82); +lean_ctor_set(x_78, 0, x_83); +return x_78; +} +else +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; +x_84 = lean_ctor_get(x_78, 0); +x_85 = lean_ctor_get(x_78, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_78); +x_86 = lean_unbox(x_84); +lean_dec(x_84); +x_87 = l_Bool_toLBool(x_86); +x_88 = lean_box(x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_85); +return x_89; +} +} +else +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_78); +if (x_90 == 0) +{ +return x_78; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_78, 0); +x_92 = lean_ctor_get(x_78, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_78); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +lean_object* x_94; +x_94 = lean_box(0); +x_52 = x_94; +goto block_76; +} +} +block_51: +{ +lean_object* x_15; uint8_t x_16; +lean_dec(x_14); +x_15 = lean_ctor_get(x_9, 0); +lean_inc(x_15); +x_16 = lean_ctor_get_uint8(x_15, 4); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_20 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1; +x_21 = lean_name_mk_string(x_1, x_20); +x_40 = lean_st_ref_get(x_12, x_13); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 3); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_45 = 0; +x_22 = x_45; +x_23 = x_44; +goto block_39; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_dec(x_40); +lean_inc(x_21); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_21, x_9, x_10, x_11, x_12, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_22 = x_50; +x_23 = x_49; +goto block_39; +} +block_39: +{ +lean_object* x_24; +x_24 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2; +if (x_22 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_box(0); +x_26 = lean_apply_6(x_24, x_25, x_9, x_10, x_11, x_12, x_23); +return x_26; +} +else +{ +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 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_2); +x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_3); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_28); +x_35 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_21, x_34, x_9, x_10, x_11, x_12, x_23); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_apply_6(x_24, x_36, x_9, x_10, x_11, x_12, x_37); +return x_38; +} +} +} +} +block_76: +{ +lean_dec(x_52); +if (x_4 == 0) +{ +if (x_5 == 0) +{ +if (x_6 == 0) +{ +uint8_t x_53; +x_53 = l_Lean_Expr_isMVar(x_7); +if (x_53 == 0) +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_13); +return x_56; +} +else +{ +lean_object* x_57; +x_57 = lean_box(0); +x_14 = x_57; +goto block_51; +} +} +else +{ +lean_object* x_58; +x_58 = lean_box(0); +x_14 = x_58; +goto block_51; +} +} +else +{ +lean_object* x_59; +lean_dec(x_1); +x_59 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(x_3, x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_59) == 0) +{ +uint8_t x_60; +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; uint8_t x_62; uint8_t x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_unbox(x_61); +lean_dec(x_61); +x_63 = l_Bool_toLBool(x_62); +x_64 = lean_box(x_63); +lean_ctor_set(x_59, 0, x_64); +return x_59; +} +else +{ +lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_65 = lean_ctor_get(x_59, 0); +x_66 = lean_ctor_get(x_59, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_59); +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_68 = l_Bool_toLBool(x_67); +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_66); +return x_70; +} +} +else +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_59); +if (x_71 == 0) +{ +return x_59; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_59, 0); +x_73 = lean_ctor_get(x_59, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_59); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +} +else +{ +lean_object* x_75; +lean_dec(x_1); +x_75 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar(x_2, x_3, x_9, x_10, x_11, x_12, x_13); +return x_75; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("[nonassignable]"); +return x_1; +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("[nonassignable]"); +x_1 = lean_mk_string("[assignable]"); return x_1; } } @@ -51194,23 +52022,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("[assignable]"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther(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: { @@ -51234,11 +52045,11 @@ x_12 = l_Lean_Expr_getAppFn(x_2); x_13 = l_Lean_Expr_isMVar(x_11); if (x_13 == 0) { -uint8_t x_326; -x_326 = l_Lean_Expr_isMVar(x_12); -if (x_326 == 0) +uint8_t x_256; +x_256 = l_Lean_Expr_isMVar(x_12); +if (x_256 == 0) { -uint8_t x_327; lean_object* x_328; lean_object* x_329; +uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -51247,29 +52058,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_327 = 2; -x_328 = lean_box(x_327); -x_329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_7); -return x_329; +x_257 = 2; +x_258 = lean_box(x_257); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_7); +return x_259; } else { -lean_object* x_330; -x_330 = lean_box(0); -x_14 = x_330; -goto block_325; +lean_object* x_260; +x_260 = lean_box(0); +x_14 = x_260; +goto block_255; } } else { -lean_object* x_331; -x_331 = lean_box(0); -x_14 = x_331; -goto block_325; +lean_object* x_261; +x_261 = lean_box(0); +x_14 = x_261; +goto block_255; } -block_325: +block_255: { lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_14); @@ -51329,60 +52140,60 @@ x_29 = lean_unbox(x_28); lean_dec(x_28); if (x_29 == 0) { -lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_263; +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_193; x_30 = lean_ctor_get(x_27, 1); lean_inc(x_30); lean_dec(x_27); lean_inc(x_11); -x_263 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic(x_11, x_3, x_4, x_5, x_6, x_30); -if (lean_obj_tag(x_263) == 0) +x_193 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic(x_11, x_3, x_4, x_5, x_6, x_30); +if (lean_obj_tag(x_193) == 0) { -lean_object* x_264; uint8_t x_265; -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_unbox(x_264); -if (x_265 == 0) +lean_object* x_194; uint8_t x_195; +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_unbox(x_194); +if (x_195 == 0) { -lean_object* x_266; uint8_t x_267; -x_266 = lean_ctor_get(x_263, 1); -lean_inc(x_266); -lean_dec(x_263); -x_267 = lean_unbox(x_264); -lean_dec(x_264); -x_31 = x_267; -x_32 = x_266; -goto block_262; +lean_object* x_196; uint8_t x_197; +x_196 = lean_ctor_get(x_193, 1); +lean_inc(x_196); +lean_dec(x_193); +x_197 = lean_unbox(x_194); +lean_dec(x_194); +x_31 = x_197; +x_32 = x_196; +goto block_192; } else { -lean_object* x_268; lean_object* x_269; -lean_dec(x_264); -x_268 = lean_ctor_get(x_263, 1); -lean_inc(x_268); -lean_dec(x_263); +lean_object* x_198; lean_object* x_199; +lean_dec(x_194); +x_198 = lean_ctor_get(x_193, 1); +lean_inc(x_198); +lean_dec(x_193); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_11); -x_269 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending(x_11, x_3, x_4, x_5, x_6, x_268); -if (lean_obj_tag(x_269) == 0) +x_199 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending(x_11, x_3, x_4, x_5, x_6, x_198); +if (lean_obj_tag(x_199) == 0) { -lean_object* x_270; lean_object* x_271; uint8_t x_272; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_31 = x_272; -x_32 = x_271; -goto block_262; +lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_unbox(x_200); +lean_dec(x_200); +x_31 = x_202; +x_32 = x_201; +goto block_192; } else { -uint8_t x_273; +uint8_t x_203; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -51391,30 +52202,30 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_273 = !lean_is_exclusive(x_269); -if (x_273 == 0) +x_203 = !lean_is_exclusive(x_199); +if (x_203 == 0) { -return x_269; +return x_199; } else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_274 = lean_ctor_get(x_269, 0); -x_275 = lean_ctor_get(x_269, 1); -lean_inc(x_275); -lean_inc(x_274); -lean_dec(x_269); -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_274); -lean_ctor_set(x_276, 1, x_275); -return x_276; +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_199, 0); +x_205 = lean_ctor_get(x_199, 1); +lean_inc(x_205); +lean_inc(x_204); +lean_dec(x_199); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +return x_206; } } } } else { -uint8_t x_277; +uint8_t x_207; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -51423,80 +52234,80 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_277 = !lean_is_exclusive(x_263); -if (x_277 == 0) +x_207 = !lean_is_exclusive(x_193); +if (x_207 == 0) { -return x_263; +return x_193; } else { -lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_278 = lean_ctor_get(x_263, 0); -x_279 = lean_ctor_get(x_263, 1); -lean_inc(x_279); -lean_inc(x_278); -lean_dec(x_263); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_278); -lean_ctor_set(x_280, 1, x_279); -return x_280; +lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_193, 0); +x_209 = lean_ctor_get(x_193, 1); +lean_inc(x_209); +lean_inc(x_208); +lean_dec(x_193); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +return x_210; } } -block_262: +block_192: { if (x_31 == 0) { -uint8_t x_33; lean_object* x_34; lean_object* x_236; +uint8_t x_33; lean_object* x_34; lean_object* x_166; lean_inc(x_12); -x_236 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic(x_12, x_3, x_4, x_5, x_6, x_32); -if (lean_obj_tag(x_236) == 0) +x_166 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic(x_12, x_3, x_4, x_5, x_6, x_32); +if (lean_obj_tag(x_166) == 0) { -lean_object* x_237; uint8_t x_238; -x_237 = lean_ctor_get(x_236, 0); -lean_inc(x_237); -x_238 = lean_unbox(x_237); -if (x_238 == 0) +lean_object* x_167; uint8_t x_168; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_unbox(x_167); +if (x_168 == 0) { -lean_object* x_239; uint8_t x_240; -x_239 = lean_ctor_get(x_236, 1); -lean_inc(x_239); -lean_dec(x_236); -x_240 = lean_unbox(x_237); -lean_dec(x_237); -x_33 = x_240; -x_34 = x_239; -goto block_235; +lean_object* x_169; uint8_t x_170; +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +lean_dec(x_166); +x_170 = lean_unbox(x_167); +lean_dec(x_167); +x_33 = x_170; +x_34 = x_169; +goto block_165; } else { -lean_object* x_241; lean_object* x_242; -lean_dec(x_237); -x_241 = lean_ctor_get(x_236, 1); -lean_inc(x_241); -lean_dec(x_236); +lean_object* x_171; lean_object* x_172; +lean_dec(x_167); +x_171 = lean_ctor_get(x_166, 1); +lean_inc(x_171); +lean_dec(x_166); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_12); -x_242 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending(x_12, x_3, x_4, x_5, x_6, x_241); -if (lean_obj_tag(x_242) == 0) +x_172 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending(x_12, x_3, x_4, x_5, x_6, x_171); +if (lean_obj_tag(x_172) == 0) { -lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_unbox(x_243); -lean_dec(x_243); -x_33 = x_245; -x_34 = x_244; -goto block_235; +lean_object* x_173; lean_object* x_174; uint8_t x_175; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = lean_unbox(x_173); +lean_dec(x_173); +x_33 = x_175; +x_34 = x_174; +goto block_165; } else { -uint8_t x_246; +uint8_t x_176; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -51505,30 +52316,30 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_246 = !lean_is_exclusive(x_242); -if (x_246 == 0) +x_176 = !lean_is_exclusive(x_172); +if (x_176 == 0) { -return x_242; +return x_172; } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_247 = lean_ctor_get(x_242, 0); -x_248 = lean_ctor_get(x_242, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_242); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_172, 0); +x_178 = lean_ctor_get(x_172, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_172); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; } } } } else { -uint8_t x_250; +uint8_t x_180; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -51537,134 +52348,134 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_250 = !lean_is_exclusive(x_236); -if (x_250 == 0) +x_180 = !lean_is_exclusive(x_166); +if (x_180 == 0) { -return x_236; +return x_166; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_236, 0); -x_252 = lean_ctor_get(x_236, 1); -lean_inc(x_252); -lean_inc(x_251); -lean_dec(x_236); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -return x_253; +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_166, 0); +x_182 = lean_ctor_get(x_166, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_166); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; } } -block_235: +block_165: { lean_object* x_35; if (x_33 == 0) { if (x_13 == 0) { -lean_object* x_195; -x_195 = lean_box(0); -x_35 = x_195; -goto block_194; +lean_object* x_125; +x_125 = lean_box(0); +x_35 = x_125; +goto block_124; } else { -uint8_t x_196; -x_196 = l_Lean_Expr_isMVar(x_12); -if (x_196 == 0) +uint8_t x_126; +x_126 = l_Lean_Expr_isMVar(x_12); +if (x_126 == 0) { -lean_object* x_197; -x_197 = lean_box(0); -x_35 = x_197; -goto block_194; +lean_object* x_127; +x_127 = lean_box(0); +x_35 = x_127; +goto block_124; } else { -uint8_t x_198; -x_198 = lean_expr_eqv(x_11, x_12); -if (x_198 == 0) +uint8_t x_128; +x_128 = lean_expr_eqv(x_11, x_12); +if (x_128 == 0) { -lean_object* x_199; -x_199 = lean_box(0); -x_35 = x_199; -goto block_194; +lean_object* x_129; +x_129 = lean_box(0); +x_35 = x_129; +goto block_124; } 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; 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_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_dec(x_12); -x_200 = lean_unsigned_to_nat(0u); -x_201 = l_Lean_Expr_getAppNumArgsAux(x_1, x_200); -x_202 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; -lean_inc(x_201); -x_203 = lean_mk_array(x_201, x_202); -x_204 = lean_unsigned_to_nat(1u); -x_205 = lean_nat_sub(x_201, x_204); -lean_dec(x_201); -x_206 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_203, x_205); -x_207 = l_Lean_Expr_getAppNumArgsAux(x_2, x_200); -lean_inc(x_207); -x_208 = lean_mk_array(x_207, x_202); -x_209 = lean_nat_sub(x_207, x_204); -lean_dec(x_207); -x_210 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_208, x_209); -x_211 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqMVarSelf(x_11, x_206, x_210, x_3, x_4, x_5, x_6, x_34); -lean_dec(x_210); -lean_dec(x_206); -if (lean_obj_tag(x_211) == 0) +x_130 = lean_unsigned_to_nat(0u); +x_131 = l_Lean_Expr_getAppNumArgsAux(x_1, x_130); +x_132 = l_Lean_Meta_CheckAssignment_checkApp___closed__1; +lean_inc(x_131); +x_133 = lean_mk_array(x_131, x_132); +x_134 = lean_unsigned_to_nat(1u); +x_135 = lean_nat_sub(x_131, x_134); +lean_dec(x_131); +x_136 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_133, x_135); +x_137 = l_Lean_Expr_getAppNumArgsAux(x_2, x_130); +lean_inc(x_137); +x_138 = lean_mk_array(x_137, x_132); +x_139 = lean_nat_sub(x_137, x_134); +lean_dec(x_137); +x_140 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_138, x_139); +x_141 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqMVarSelf(x_11, x_136, x_140, x_3, x_4, x_5, x_6, x_34); +lean_dec(x_140); +lean_dec(x_136); +if (lean_obj_tag(x_141) == 0) { -uint8_t x_212; -x_212 = !lean_is_exclusive(x_211); -if (x_212 == 0) +uint8_t x_142; +x_142 = !lean_is_exclusive(x_141); +if (x_142 == 0) { -lean_object* x_213; uint8_t x_214; uint8_t x_215; lean_object* x_216; -x_213 = lean_ctor_get(x_211, 0); -x_214 = lean_unbox(x_213); -lean_dec(x_213); -x_215 = l_Bool_toLBool(x_214); -x_216 = lean_box(x_215); -lean_ctor_set(x_211, 0, x_216); -return x_211; +lean_object* x_143; uint8_t x_144; uint8_t x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_141, 0); +x_144 = lean_unbox(x_143); +lean_dec(x_143); +x_145 = l_Bool_toLBool(x_144); +x_146 = lean_box(x_145); +lean_ctor_set(x_141, 0, x_146); +return x_141; } else { -lean_object* x_217; lean_object* x_218; uint8_t x_219; uint8_t x_220; lean_object* x_221; lean_object* x_222; -x_217 = lean_ctor_get(x_211, 0); -x_218 = lean_ctor_get(x_211, 1); -lean_inc(x_218); -lean_inc(x_217); -lean_dec(x_211); -x_219 = lean_unbox(x_217); -lean_dec(x_217); -x_220 = l_Bool_toLBool(x_219); -x_221 = lean_box(x_220); -x_222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_218); -return x_222; +lean_object* x_147; lean_object* x_148; uint8_t x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; +x_147 = lean_ctor_get(x_141, 0); +x_148 = lean_ctor_get(x_141, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_141); +x_149 = lean_unbox(x_147); +lean_dec(x_147); +x_150 = l_Bool_toLBool(x_149); +x_151 = lean_box(x_150); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_148); +return x_152; } } else { -uint8_t x_223; -x_223 = !lean_is_exclusive(x_211); -if (x_223 == 0) +uint8_t x_153; +x_153 = !lean_is_exclusive(x_141); +if (x_153 == 0) { -return x_211; +return x_141; } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_211, 0); -x_225 = lean_ctor_get(x_211, 1); -lean_inc(x_225); -lean_inc(x_224); -lean_dec(x_211); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -return x_226; +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_141, 0); +x_155 = lean_ctor_get(x_141, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_141); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; } } } @@ -51673,641 +52484,289 @@ return x_226; } else { -lean_object* x_227; +lean_object* x_157; lean_dec(x_12); lean_dec(x_11); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_227 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_34); -if (lean_obj_tag(x_227) == 0) +x_157 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_34); +if (lean_obj_tag(x_157) == 0) { -lean_object* x_228; lean_object* x_229; lean_object* x_230; -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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_228, x_3, x_4, x_5, x_6, x_229); -return x_230; +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_158, x_3, x_4, x_5, x_6, x_159); +return x_160; } else { -uint8_t x_231; +uint8_t x_161; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_231 = !lean_is_exclusive(x_227); -if (x_231 == 0) +x_161 = !lean_is_exclusive(x_157); +if (x_161 == 0) { -return x_227; +return x_157; } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_232 = lean_ctor_get(x_227, 0); -x_233 = lean_ctor_get(x_227, 1); -lean_inc(x_233); -lean_inc(x_232); -lean_dec(x_227); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set(x_234, 1, x_233); -return x_234; +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_157, 0); +x_163 = lean_ctor_get(x_157, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_157); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +return x_164; } } } -block_194: +block_124: { lean_object* x_36; lean_dec(x_35); x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable(x_11, x_3, x_4, x_5, x_6, x_34); if (lean_obj_tag(x_36) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_39 = x_36; -} else { - lean_dec_ref(x_36); - x_39 = lean_box(0); -} +lean_dec(x_36); lean_inc(x_12); -x_40 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable(x_12, x_3, x_4, x_5, x_6, x_38); -if (lean_obj_tag(x_40) == 0) +x_39 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable(x_12, x_3, x_4, x_5, x_6, x_38); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_128; lean_object* x_129; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_41 = lean_ctor_get(x_40, 0); +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; -} else { - lean_dec_ref(x_40); - x_43 = lean_box(0); -} -x_174 = lean_st_ref_get(x_6, x_42); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_175, 3); -lean_inc(x_176); -lean_dec(x_175); -x_177 = lean_ctor_get_uint8(x_176, sizeof(void*)*1); -lean_dec(x_176); -if (x_177 == 0) -{ -lean_object* x_178; uint8_t x_179; -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = 0; -x_128 = x_179; -x_129 = x_178; -goto block_173; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; -x_180 = lean_ctor_get(x_174, 1); -lean_inc(x_180); -lean_dec(x_174); -x_181 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_182 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_181, x_3, x_4, x_5, x_6, x_180); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = lean_unbox(x_183); -lean_dec(x_183); -x_128 = x_185; -x_129 = x_184; -goto block_173; -} -block_127: -{ -lean_object* x_45; lean_object* x_80; uint8_t x_107; -x_107 = lean_unbox(x_37); -if (x_107 == 0) -{ -lean_object* x_108; -x_108 = lean_box(0); -x_80 = x_108; -goto block_106; -} -else -{ -uint8_t x_109; -x_109 = lean_unbox(x_41); -if (x_109 == 0) -{ -lean_object* x_110; -lean_dec(x_43); -lean_dec(x_41); lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_12); -x_110 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_44); -if (lean_obj_tag(x_110) == 0) +x_42 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; +x_105 = lean_st_ref_get(x_6, x_41); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_106, 3); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_ctor_get_uint8(x_107, sizeof(void*)*1); +lean_dec(x_107); +if (x_108 == 0) { -uint8_t x_111; -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) +lean_object* x_109; uint8_t x_110; +x_109 = lean_ctor_get(x_105, 1); +lean_inc(x_109); +lean_dec(x_105); +x_110 = 0; +x_43 = x_110; +x_44 = x_109; +goto block_104; +} +else { -lean_object* x_112; uint8_t x_113; uint8_t x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_110, 0); -x_113 = lean_unbox(x_112); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_111 = lean_ctor_get(x_105, 1); +lean_inc(x_111); +lean_dec(x_105); +x_112 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_42, x_3, x_4, x_5, x_6, x_111); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); lean_dec(x_112); -x_114 = l_Bool_toLBool(x_113); -x_115 = lean_box(x_114); -lean_ctor_set(x_110, 0, x_115); -return x_110; +x_115 = lean_unbox(x_113); +lean_dec(x_113); +x_43 = x_115; +x_44 = x_114; +goto block_104; +} +block_104: +{ +if (x_43 == 0) +{ +lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; +x_45 = lean_box(0); +x_46 = lean_unbox(x_37); +lean_dec(x_37); +x_47 = lean_unbox(x_40); +lean_dec(x_40); +x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_42, x_1, x_2, x_46, x_47, x_13, x_12, x_45, x_3, x_4, x_5, x_6, x_44); +lean_dec(x_12); +return x_48; } else { -lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; -x_116 = lean_ctor_get(x_110, 0); -x_117 = lean_ctor_get(x_110, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_110); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_119 = l_Bool_toLBool(x_118); -x_120 = lean_box(x_119); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_117); -return x_121; -} -} -else -{ -uint8_t x_122; -x_122 = !lean_is_exclusive(x_110); -if (x_122 == 0) -{ -return x_110; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_110, 0); -x_124 = lean_ctor_get(x_110, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_110); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -else -{ -lean_object* x_126; -x_126 = lean_box(0); -x_80 = x_126; -goto block_106; -} -} -block_79: -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_45); -x_46 = lean_ctor_get(x_3, 0); -lean_inc(x_46); -x_47 = lean_ctor_get_uint8(x_46, 4); -lean_dec(x_46); -if (x_47 == 0) -{ -uint8_t x_48; lean_object* x_49; lean_object* x_50; -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_48 = 0; -x_49 = lean_box(x_48); -if (lean_is_scalar(x_43)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_43; -} -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_44); -return x_50; -} -else -{ -uint8_t x_51; lean_object* x_52; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -lean_dec(x_43); -x_67 = lean_st_ref_get(x_6, x_44); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = 0; -x_51 = x_72; -x_52 = x_71; -goto block_66; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_dec(x_67); -x_74 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_74, x_3, x_4, x_5, x_6, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_51 = x_78; -x_52 = x_77; -goto block_66; -} -block_66: -{ -if (x_51 == 0) -{ -lean_object* x_53; -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_53 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_52); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_inc(x_1); +x_49 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_49, 0, x_1); +x_50 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_inc(x_2); x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_1); -x_55 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_2); +lean_ctor_set(x_54, 0, x_2); +x_55 = lean_unbox(x_37); +if (x_55 == 0) +{ +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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_54); x_61 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_55); -x_62 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2; -x_63 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_62, x_61, x_3, x_4, x_5, x_6, x_52); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_64); -return x_65; -} -} -} -} -block_106: +lean_ctor_set(x_61, 1, x_52); +x_62 = lean_unbox(x_40); +if (x_62 == 0) { -uint8_t x_81; -lean_dec(x_80); -x_81 = lean_unbox(x_37); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; lean_object* x_70; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_56); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_50); +x_65 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_42, x_64, x_3, x_4, x_5, x_6, x_44); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_37); lean_dec(x_37); -if (x_81 == 0) -{ -uint8_t x_82; -x_82 = lean_unbox(x_41); -lean_dec(x_41); -if (x_82 == 0) -{ -if (x_13 == 0) -{ -uint8_t x_83; -x_83 = l_Lean_Expr_isMVar(x_12); -lean_dec(x_12); -if (x_83 == 0) -{ -uint8_t x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_43); -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_84 = 2; -x_85 = lean_box(x_84); -if (lean_is_scalar(x_39)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_39; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_44); -return x_86; -} -else -{ -lean_object* x_87; -lean_dec(x_39); -x_87 = lean_box(0); -x_45 = x_87; -goto block_79; -} -} -else -{ -lean_object* x_88; -lean_dec(x_39); -lean_dec(x_12); -x_88 = lean_box(0); -x_45 = x_88; -goto block_79; -} -} -else -{ -lean_object* x_89; -lean_dec(x_43); -lean_dec(x_39); -lean_dec(x_12); -x_89 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(x_2, x_1, x_3, x_4, x_5, x_6, x_44); -if (lean_obj_tag(x_89) == 0) -{ -uint8_t x_90; -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -lean_object* x_91; uint8_t x_92; uint8_t x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_89, 0); -x_92 = lean_unbox(x_91); -lean_dec(x_91); -x_93 = l_Bool_toLBool(x_92); -x_94 = lean_box(x_93); -lean_ctor_set(x_89, 0, x_94); -return x_89; -} -else -{ -lean_object* x_95; lean_object* x_96; uint8_t x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; -x_95 = lean_ctor_get(x_89, 0); -x_96 = lean_ctor_get(x_89, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_89); -x_97 = lean_unbox(x_95); -lean_dec(x_95); -x_98 = l_Bool_toLBool(x_97); -x_99 = lean_box(x_98); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_96); -return x_100; -} -} -else -{ -uint8_t x_101; -x_101 = !lean_is_exclusive(x_89); -if (x_101 == 0) -{ -return x_89; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_89, 0); -x_103 = lean_ctor_get(x_89, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_89); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -} -} -else -{ -lean_object* x_105; -lean_dec(x_43); -lean_dec(x_41); -lean_dec(x_39); -lean_dec(x_12); -x_105 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_44); -return x_105; -} -} -} -block_173: -{ -if (x_128 == 0) -{ -x_44 = x_129; -goto block_127; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -lean_inc(x_1); -x_130 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_130, 0, x_1); -x_131 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__4; -x_134 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -lean_inc(x_2); -x_135 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_135, 0, x_2); -x_136 = lean_unbox(x_37); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_137 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; -x_138 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_138, 0, x_134); -lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; -x_140 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_135); -x_142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_133); -x_143 = lean_unbox(x_41); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_137); -x_145 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_131); -x_146 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_147 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_146, x_145, x_3, x_4, x_5, x_6, x_129); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_44 = x_148; -goto block_127; -} -else -{ -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_149 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6; -x_150 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_150, 0, x_142); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_131); -x_152 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_153 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_152, x_151, x_3, x_4, x_5, x_6, x_129); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_44 = x_154; -goto block_127; -} -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_155 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6; -x_156 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_156, 0, x_134); -lean_ctor_set(x_156, 1, x_155); -x_157 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; -x_158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -x_159 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_135); -x_160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_133); -x_161 = lean_unbox(x_41); -if (x_161 == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_162 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; -x_163 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_163, 0, x_160); -lean_ctor_set(x_163, 1, x_162); -x_164 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_131); -x_165 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_166 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_165, x_164, x_3, x_4, x_5, x_6, x_129); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_44 = x_167; -goto block_127; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_168 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_168, 0, x_160); -lean_ctor_set(x_168, 1, x_155); -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_131); -x_170 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_171 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_170, x_169, x_3, x_4, x_5, x_6, x_129); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -lean_dec(x_171); -x_44 = x_172; -goto block_127; -} -} -} -} -} -else -{ -uint8_t x_186; -lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_12); -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_186 = !lean_is_exclusive(x_40); -if (x_186 == 0) -{ -return x_40; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_40, 0); -x_188 = lean_ctor_get(x_40, 1); -lean_inc(x_188); -lean_inc(x_187); +x_69 = lean_unbox(x_40); lean_dec(x_40); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -return x_189; +x_70 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_42, x_1, x_2, x_68, x_69, x_13, x_12, x_66, x_3, x_4, x_5, x_6, x_67); +lean_dec(x_66); +lean_dec(x_12); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; lean_object* x_79; +x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_61); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_50); +x_74 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_42, x_73, x_3, x_4, x_5, x_6, x_44); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_unbox(x_37); +lean_dec(x_37); +x_78 = lean_unbox(x_40); +lean_dec(x_40); +x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_42, x_1, x_2, x_77, x_78, x_13, x_12, x_75, x_3, x_4, x_5, x_6, x_76); +lean_dec(x_75); +lean_dec(x_12); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_80 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_53); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; +x_83 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_54); +x_85 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_52); +x_86 = lean_unbox(x_40); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; lean_object* x_95; +x_87 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2; +x_88 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_50); +x_90 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_42, x_89, x_3, x_4, x_5, x_6, x_44); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_37); +lean_dec(x_37); +x_94 = lean_unbox(x_40); +lean_dec(x_40); +x_95 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_42, x_1, x_2, x_93, x_94, x_13, x_12, x_91, x_3, x_4, x_5, x_6, x_92); +lean_dec(x_91); +lean_dec(x_12); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; uint8_t x_102; lean_object* x_103; +x_96 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_96, 0, x_85); +lean_ctor_set(x_96, 1, x_80); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_50); +x_98 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_42, x_97, x_3, x_4, x_5, x_6, x_44); +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); +x_101 = lean_unbox(x_37); +lean_dec(x_37); +x_102 = lean_unbox(x_40); +lean_dec(x_40); +x_103 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_42, x_1, x_2, x_101, x_102, x_13, x_12, x_99, x_3, x_4, x_5, x_6, x_100); +lean_dec(x_99); +lean_dec(x_12); +return x_103; +} +} } } } else { -uint8_t x_190; +uint8_t x_116; +lean_dec(x_37); lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); @@ -52315,23 +52774,53 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_190 = !lean_is_exclusive(x_36); -if (x_190 == 0) +x_116 = !lean_is_exclusive(x_39); +if (x_116 == 0) +{ +return x_39; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_39, 0); +x_118 = lean_ctor_get(x_39, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_39); +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; +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_12); +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_120 = !lean_is_exclusive(x_36); +if (x_120 == 0) { return x_36; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_36, 0); -x_192 = lean_ctor_get(x_36, 1); -lean_inc(x_192); -lean_inc(x_191); +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_36, 0); +x_122 = lean_ctor_get(x_36, 1); +lean_inc(x_122); +lean_inc(x_121); lean_dec(x_36); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; } } } @@ -52339,50 +52828,50 @@ return x_193; } else { -lean_object* x_254; +lean_object* x_184; lean_dec(x_12); lean_dec(x_11); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_254 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_32); -if (lean_obj_tag(x_254) == 0) +x_184 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_32); +if (lean_obj_tag(x_184) == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_255, x_2, x_3, x_4, x_5, x_6, x_256); -return x_257; +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +x_187 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_185, x_2, x_3, x_4, x_5, x_6, x_186); +return x_187; } else { -uint8_t x_258; +uint8_t x_188; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_258 = !lean_is_exclusive(x_254); -if (x_258 == 0) +x_188 = !lean_is_exclusive(x_184); +if (x_188 == 0) { -return x_254; +return x_184; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_254, 0); -x_260 = lean_ctor_get(x_254, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_254); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -return x_261; +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_184, 0); +x_190 = lean_ctor_get(x_184, 1); +lean_inc(x_190); +lean_inc(x_189); +lean_dec(x_184); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; } } } @@ -52390,60 +52879,60 @@ return x_261; } else { -lean_object* x_281; lean_object* x_282; +lean_object* x_211; lean_object* x_212; lean_dec(x_12); lean_dec(x_11); -x_281 = lean_ctor_get(x_27, 1); -lean_inc(x_281); +x_211 = lean_ctor_get(x_27, 1); +lean_inc(x_211); lean_dec(x_27); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_282 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_281); -if (lean_obj_tag(x_282) == 0) +x_212 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_211); +if (lean_obj_tag(x_212) == 0) { -lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -lean_dec(x_282); -x_285 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_283, x_3, x_4, x_5, x_6, x_284); -return x_285; +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_213, x_3, x_4, x_5, x_6, x_214); +return x_215; } else { -uint8_t x_286; +uint8_t x_216; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_286 = !lean_is_exclusive(x_282); -if (x_286 == 0) +x_216 = !lean_is_exclusive(x_212); +if (x_216 == 0) { -return x_282; +return x_212; } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_282, 0); -x_288 = lean_ctor_get(x_282, 1); -lean_inc(x_288); -lean_inc(x_287); -lean_dec(x_282); -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -return x_289; +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = lean_ctor_get(x_212, 0); +x_218 = lean_ctor_get(x_212, 1); +lean_inc(x_218); +lean_inc(x_217); +lean_dec(x_212); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +return x_219; } } } } else { -uint8_t x_290; +uint8_t x_220; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -52452,82 +52941,82 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_290 = !lean_is_exclusive(x_27); -if (x_290 == 0) +x_220 = !lean_is_exclusive(x_27); +if (x_220 == 0) { return x_27; } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_291 = lean_ctor_get(x_27, 0); -x_292 = lean_ctor_get(x_27, 1); -lean_inc(x_292); -lean_inc(x_291); +lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_221 = lean_ctor_get(x_27, 0); +x_222 = lean_ctor_get(x_27, 1); +lean_inc(x_222); +lean_inc(x_221); lean_dec(x_27); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -return x_293; +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 { -lean_object* x_294; lean_object* x_295; +lean_object* x_224; lean_object* x_225; lean_dec(x_12); lean_dec(x_11); -x_294 = lean_ctor_get(x_23, 1); -lean_inc(x_294); +x_224 = lean_ctor_get(x_23, 1); +lean_inc(x_224); lean_dec(x_23); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_295 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_294); -if (lean_obj_tag(x_295) == 0) +x_225 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_224); +if (lean_obj_tag(x_225) == 0) { -lean_object* x_296; lean_object* x_297; lean_object* x_298; -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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_296, x_2, x_3, x_4, x_5, x_6, x_297); -return x_298; +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); +x_228 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_226, x_2, x_3, x_4, x_5, x_6, x_227); +return x_228; } else { -uint8_t x_299; +uint8_t x_229; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_299 = !lean_is_exclusive(x_295); -if (x_299 == 0) +x_229 = !lean_is_exclusive(x_225); +if (x_229 == 0) { -return x_295; +return x_225; } else { -lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_300 = lean_ctor_get(x_295, 0); -x_301 = lean_ctor_get(x_295, 1); -lean_inc(x_301); -lean_inc(x_300); -lean_dec(x_295); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_300); -lean_ctor_set(x_302, 1, x_301); -return x_302; +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_225, 0); +x_231 = lean_ctor_get(x_225, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_225); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; } } } } else { -uint8_t x_303; +uint8_t x_233; lean_dec(x_12); lean_dec(x_11); lean_dec(x_6); @@ -52536,128 +53025,128 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_303 = !lean_is_exclusive(x_23); -if (x_303 == 0) +x_233 = !lean_is_exclusive(x_23); +if (x_233 == 0) { return x_23; } else { -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_23, 0); -x_305 = lean_ctor_get(x_23, 1); -lean_inc(x_305); -lean_inc(x_304); +lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_234 = lean_ctor_get(x_23, 0); +x_235 = lean_ctor_get(x_23, 1); +lean_inc(x_235); +lean_inc(x_234); lean_dec(x_23); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -return x_306; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +return x_236; } } } else { -lean_object* x_307; lean_object* x_308; +lean_object* x_237; lean_object* x_238; lean_dec(x_12); lean_dec(x_11); -x_307 = lean_ctor_get(x_19, 1); -lean_inc(x_307); +x_237 = lean_ctor_get(x_19, 1); +lean_inc(x_237); lean_dec(x_19); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_308 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_307); -if (lean_obj_tag(x_308) == 0) +x_238 = l_Lean_Meta_instantiateMVars(x_2, x_3, x_4, x_5, x_6, x_237); +if (lean_obj_tag(x_238) == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_309, x_3, x_4, x_5, x_6, x_310); -return x_311; +lean_object* x_239; lean_object* x_240; lean_object* x_241; +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_238); +x_241 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_239, x_3, x_4, x_5, x_6, x_240); +return x_241; } else { -uint8_t x_312; +uint8_t x_242; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_312 = !lean_is_exclusive(x_308); -if (x_312 == 0) +x_242 = !lean_is_exclusive(x_238); +if (x_242 == 0) { -return x_308; +return x_238; } else { -lean_object* x_313; lean_object* x_314; lean_object* x_315; -x_313 = lean_ctor_get(x_308, 0); -x_314 = lean_ctor_get(x_308, 1); -lean_inc(x_314); -lean_inc(x_313); -lean_dec(x_308); -x_315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_315, 0, x_313); -lean_ctor_set(x_315, 1, x_314); -return x_315; +lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_243 = lean_ctor_get(x_238, 0); +x_244 = lean_ctor_get(x_238, 1); +lean_inc(x_244); +lean_inc(x_243); +lean_dec(x_238); +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; } } } } else { -lean_object* x_316; lean_object* x_317; +lean_object* x_246; lean_object* x_247; lean_dec(x_12); lean_dec(x_11); -x_316 = lean_ctor_get(x_15, 1); -lean_inc(x_316); +x_246 = lean_ctor_get(x_15, 1); +lean_inc(x_246); lean_dec(x_15); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_317 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_316); -if (lean_obj_tag(x_317) == 0) +x_247 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_246); +if (lean_obj_tag(x_247) == 0) { -lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_317, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -lean_dec(x_317); -x_320 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_318, x_2, x_3, x_4, x_5, x_6, x_319); -return x_320; +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +lean_dec(x_247); +x_250 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_248, x_2, x_3, x_4, x_5, x_6, x_249); +return x_250; } else { -uint8_t x_321; +uint8_t x_251; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_321 = !lean_is_exclusive(x_317); -if (x_321 == 0) +x_251 = !lean_is_exclusive(x_247); +if (x_251 == 0) { -return x_317; +return x_247; } else { -lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_322 = lean_ctor_get(x_317, 0); -x_323 = lean_ctor_get(x_317, 1); -lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_317); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_322); -lean_ctor_set(x_324, 1, x_323); -return x_324; +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_247, 0); +x_253 = lean_ctor_get(x_247, 1); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_247); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +return x_254; } } } @@ -52665,56 +53154,85 @@ return x_324; } else { -uint8_t x_332; lean_object* x_333; lean_object* x_334; +uint8_t x_262; lean_object* x_263; lean_object* x_264; 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_332 = 1; -x_333 = lean_box(x_332); -x_334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_7); -return x_334; +x_262 = 1; +x_263 = lean_box(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_7); +return x_264; } } else { -uint8_t x_335; lean_object* x_336; lean_object* x_337; +uint8_t x_265; lean_object* x_266; lean_object* x_267; 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_335 = 1; -x_336 = lean_box(x_335); -x_337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_337, 0, x_336); -lean_ctor_set(x_337, 1, x_7); -return x_337; +x_265 = 1; +x_266 = lean_box(x_265); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_7); +return x_267; } } else { -uint8_t x_338; lean_object* x_339; lean_object* x_340; +uint8_t x_268; lean_object* x_269; lean_object* x_270; 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_338 = 1; -x_339 = lean_box(x_338); -x_340 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_7); -return x_340; +x_268 = 1; +x_269 = lean_box(x_268); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_7); +return x_270; } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___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) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___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: +{ +uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_4); +lean_dec(x_4); +x_15 = lean_unbox(x_5); +lean_dec(x_5); +x_16 = lean_unbox(x_6); +lean_dec(x_6); +x_17 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2(x_1, x_2, x_3, x_14, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); +return x_17; +} +} lean_object* l_Lean_Meta_whenUndefDo_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -52890,17 +53408,145 @@ return x_32; } } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l_Lean_Meta_synthPending(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +lean_dec(x_3); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_apply_5(x_2, x_6, x_7, x_8, x_9, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_17 = l_Lean_Meta_instantiateMVars(x_3, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_apply_6(x_4, x_18, x_6, x_7, x_8, x_9, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_11); +if (x_25 == 0) +{ +return x_11; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_11, 0); +x_27 = lean_ctor_get(x_11, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_11); +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; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1() { _start: { lean_object* x_1; +x_1 = lean_mk_string("stuckMVar"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3() { +_start: +{ +lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT), 3, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4() { _start: { lean_object* x_1; @@ -52911,50 +53557,32 @@ lean_closure_set(x_1, 2, lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4; x_2 = l_Lean_Core_instMonadTraceCoreM; x_3 = l_Lean_instMonadTrace___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3; -x_3 = l_Lean_instMonadTrace___rarg(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = l_EStateM_instMonadEStateM(lean_box(0), lean_box(0)); -return x_1; -} -} static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__5; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__5; +x_3 = l_Lean_instMonadTrace___rarg(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__6; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadOptionsCoreM___boxed), 3, 0); +return x_1; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__8() { @@ -52962,7 +53590,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); return x_2; } } @@ -52971,53 +53600,44 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__8; -x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); -lean_closure_set(x_2, 0, lean_box(0)); -lean_closure_set(x_2, 1, lean_box(0)); -lean_closure_set(x_2, 2, x_1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT___rarg___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7; -x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); -lean_closure_set(x_2, 0, lean_box(0)); -lean_closure_set(x_2, 1, lean_box(0)); -lean_closure_set(x_2, 2, x_1); -return x_2; +lean_object* x_1; +x_1 = l_EStateM_instMonadEStateM(lean_box(0), lean_box(0)); +return x_1; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__10; -x_3 = l_Lean_Core_instMonadRefCoreM; -x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__10; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__9; -x_3 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__11; -x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__11; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__13() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadOptionsCoreM___boxed), 3, 0); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__12; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__14() { @@ -53025,8 +53645,10 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__13; -x_2 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); return x_2; } } @@ -53034,28 +53656,34 @@ static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMV _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__14; -x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__12; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); return x_2; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__16() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("stuckMVar"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__15; +x_3 = l_Lean_Core_instMonadRefCoreM; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__16; -x_3 = lean_name_mk_string(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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3; +x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__14; +x_3 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__16; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__18() { @@ -53103,272 +53731,64 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_13 = lean_ctor_get(x_9, 1); lean_inc(x_13); lean_dec(x_9); x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); lean_dec(x_10); -lean_inc(x_14); -x_15 = l_Lean_mkMVar(x_14); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_15); -x_16 = l_Lean_Meta_inferType(x_15, x_4, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_16) == 0) +x_15 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; +x_51 = lean_st_ref_get(x_7, x_13); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_39; lean_object* x_40; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -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); -x_63 = lean_st_ref_get(x_7, x_18); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = 0; -x_39 = x_68; -x_40 = x_67; -goto block_62; +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_16 = x_56; +x_17 = x_55; +goto block_50; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = l_Lean_Meta_instMonadMetaM; -x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__15; -x_72 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_70, x_71, x_72); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_74 = lean_apply_5(x_73, x_4, x_5, x_6, x_7, x_69); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; uint8_t 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); -lean_dec(x_74); -x_77 = lean_unbox(x_75); -lean_dec(x_75); -x_39 = x_77; -x_40 = x_76; -goto block_62; -} -else -{ -uint8_t x_78; -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -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_78 = !lean_is_exclusive(x_74); -if (x_78 == 0) -{ -return x_74; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_74, 0); -x_80 = lean_ctor_get(x_74, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_74); -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; -} -} -} -block_38: -{ -lean_object* x_20; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_20 = l_Lean_Meta_synthPending(x_14, x_4, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_unbox(x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_2); -lean_dec(x_1); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_23); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_3); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_dec(x_20); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_26 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_apply_6(x_2, x_27, x_4, x_5, x_6, x_7, x_28); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_26); -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; -} -} -} -} -else -{ -uint8_t x_34; -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_34 = !lean_is_exclusive(x_20); -if (x_34 == 0) -{ -return x_20; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_20, 0); -x_36 = lean_ctor_get(x_20, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_20); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -block_62: -{ -if (x_39 == 0) -{ -lean_dec(x_17); -lean_dec(x_15); -x_19 = x_40; -goto block_38; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_41 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_41, 0, x_15); -x_42 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_46, 0, x_17); -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Meta_instMonadMetaM; -x_51 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__4; -x_52 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__12; -x_53 = l_Lean_Meta_instAddMessageContextMetaM; -x_54 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_55 = l_Lean_addTrace___rarg(x_50, x_51, x_52, x_53, x_54, x_49); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_56 = lean_apply_5(x_55, x_4, x_5, x_6, x_7, x_40); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_56, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_51, 1); lean_inc(x_57); -lean_dec(x_56); -x_19 = x_57; -goto block_38; +lean_dec(x_51); +x_58 = l_Lean_Meta_instMonadMetaM; +x_59 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__9; +x_60 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_58, x_59, x_15); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_61 = lean_apply_5(x_60, x_4, x_5, x_6, x_7, x_57); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_16 = x_64; +x_17 = x_63; +goto block_50; } else { -uint8_t x_58; +uint8_t x_65; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -53377,32 +53797,98 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_56); -if (x_58 == 0) +x_65 = !lean_is_exclusive(x_61); +if (x_65 == 0) { -return x_56; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_56, 0); -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_56); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); return x_61; } +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_61, 0); +x_67 = lean_ctor_get(x_61, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_61); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } +block_50: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1(x_14, x_3, x_1, x_2, x_18, x_4, x_5, x_6, x_7, x_17); +return x_19; } else { -uint8_t x_82; -lean_dec(x_15); +lean_object* x_20; lean_object* x_21; +lean_inc(x_14); +x_20 = l_Lean_mkMVar(x_14); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_20); +x_21 = l_Lean_Meta_inferType(x_20, x_4, x_5, x_6, x_7, 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; 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; +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_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_20); +x_25 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_22); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Meta_instMonadMetaM; +x_34 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__6; +x_35 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; +x_36 = l_Lean_Meta_instAddMessageContextMetaM; +x_37 = l_Lean_addTrace___rarg(x_33, x_34, x_35, x_36, x_15, x_32); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_38 = lean_apply_5(x_37, x_4, x_5, x_6, x_7, x_23); +if (lean_obj_tag(x_38) == 0) +{ +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); +lean_dec(x_38); +x_41 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1(x_14, x_3, x_1, x_2, x_39, x_4, x_5, x_6, x_7, x_40); +lean_dec(x_39); +return x_41; +} +else +{ +uint8_t x_42; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -53411,30 +53897,31 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_82 = !lean_is_exclusive(x_16); -if (x_82 == 0) +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -return x_16; +return x_38; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_16, 0); -x_84 = lean_ctor_get(x_16, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_16); -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; -} +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -uint8_t x_86; +uint8_t x_46; +lean_dec(x_20); +lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -53442,23 +53929,253 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_86 = !lean_is_exclusive(x_9); -if (x_86 == 0) +x_46 = !lean_is_exclusive(x_21); +if (x_46 == 0) +{ +return x_21; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_21, 0); +x_48 = lean_ctor_get(x_21, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_21); +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; +} +} +} +} +} +} +else +{ +uint8_t x_69; +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_69 = !lean_is_exclusive(x_9); +if (x_69 == 0) { return x_9; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_9, 0); -x_88 = lean_ctor_get(x_9, 1); -lean_inc(x_88); -lean_inc(x_87); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_9, 0); +x_71 = lean_ctor_get(x_9, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_9); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___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_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___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); +return x_11; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l_Lean_Meta_synthPending(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_2); +x_15 = l_Lean_Meta_tryUnificationHints(x_2, x_3, x_6, x_7, x_8, x_9, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_16); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Meta_tryUnificationHints(x_3, x_2, x_6, x_7, x_8, x_9, x_18); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_15, 0); +lean_dec(x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +else +{ +uint8_t x_24; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +return x_15; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_15); +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; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_3); +x_28 = lean_ctor_get(x_11, 1); +lean_inc(x_28); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_29 = l_Lean_Meta_instantiateMVars(x_4, x_6, x_7, x_8, x_9, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Meta_isExprDefEqAux(x_2, x_30, x_6, x_7, x_8, x_9, x_31); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +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 +{ +uint8_t x_37; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_11); +if (x_37 == 0) +{ +return x_11; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_11, 0); +x_39 = lean_ctor_get(x_11, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_11); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -53569,298 +54286,112 @@ return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; 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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; +x_54 = lean_st_ref_get(x_7, x_25); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = 0; +x_28 = x_59; +x_29 = x_58; +goto block_53; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_54, 1); +lean_inc(x_60); +lean_dec(x_54); +x_61 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_27, x_4, x_5, x_6, x_7, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_28 = x_64; +x_29 = x_63; +goto block_53; +} +block_53: +{ +if (x_28 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_box(0); +x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___lambda__1(x_26, x_1, x_2, x_3, x_30, x_4, x_5, x_6, x_7, x_29); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_inc(x_26); -x_27 = l_Lean_mkMVar(x_26); +x_32 = l_Lean_mkMVar(x_26); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_27); -x_28 = l_Lean_Meta_inferType(x_27, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_28) == 0) +lean_inc(x_32); +x_33 = l_Lean_Meta_inferType(x_32, x_4, x_5, x_6, x_7, x_29); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_63; lean_object* x_64; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -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_78 = lean_st_ref_get(x_7, x_30); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_79, 3); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); -lean_dec(x_80); -if (x_81 == 0) -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_78, 1); -lean_inc(x_82); -lean_dec(x_78); -x_83 = 0; -x_63 = x_83; -x_64 = x_82; -goto block_77; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_dec(x_78); -x_85 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_86 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_85, x_4, x_5, x_6, x_7, x_84); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_unbox(x_87); -lean_dec(x_87); -x_63 = x_89; -x_64 = x_88; -goto block_77; -} -block_62: -{ -lean_object* x_32; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_32 = l_Lean_Meta_synthPending(x_26, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_3); -x_35 = lean_ctor_get(x_32, 1); +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; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); -lean_dec(x_32); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_36 = l_Lean_Meta_tryUnificationHints(x_1, x_2, x_4, x_5, x_6, x_7, x_35); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_unbox(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_37); -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_dec(x_36); -x_40 = l_Lean_Meta_tryUnificationHints(x_2, x_1, x_4, x_5, x_6, x_7, x_39); -return x_40; -} -else -{ -uint8_t x_41; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_36); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_36, 0); -lean_dec(x_42); -return x_36; -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); -lean_dec(x_36); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_37); +lean_dec(x_33); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_32); +x_37 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_41, 0, x_34); +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_36); -if (x_45 == 0) -{ -return x_36; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_36, 0); -x_47 = lean_ctor_get(x_36, 1); -lean_inc(x_47); +x_45 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_27, x_44, x_4, x_5, x_6, x_7, x_35); +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec(x_36); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___lambda__1(x_26, x_1, x_2, x_3, x_46, x_4, x_5, x_6, x_7, x_47); +lean_dec(x_46); return x_48; } -} -} else { -lean_object* x_49; lean_object* x_50; -lean_dec(x_2); -x_49 = lean_ctor_get(x_32, 1); -lean_inc(x_49); +uint8_t x_49; lean_dec(x_32); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_50 = l_Lean_Meta_instantiateMVars(x_3, x_4, x_5, x_6, x_7, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Meta_isExprDefEqAux(x_1, x_51, x_4, x_5, x_6, x_7, x_52); -return x_53; -} -else -{ -uint8_t x_54; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) -{ -return x_50; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_50, 0); -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_50); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -} -else -{ -uint8_t x_58; -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_58 = !lean_is_exclusive(x_32); -if (x_58 == 0) -{ -return x_32; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_32, 0); -x_60 = lean_ctor_get(x_32, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_32); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -block_77: -{ -if (x_63 == 0) -{ -lean_dec(x_29); -lean_dec(x_27); -x_31 = x_64; -goto block_62; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_65 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_65, 0, x_27); -x_66 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_70, 0, x_29); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -x_72 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_75 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_74, x_73, x_4, x_5, x_6, x_7, x_64); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_31 = x_76; -goto block_62; -} -} -} -else -{ -uint8_t x_90; -lean_dec(x_27); lean_dec(x_26); lean_dec(x_7); lean_dec(x_6); @@ -53869,30 +54400,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_90 = !lean_is_exclusive(x_28); -if (x_90 == 0) +x_49 = !lean_is_exclusive(x_33); +if (x_49 == 0) { -return x_28; +return x_33; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_28, 0); -x_92 = lean_ctor_get(x_28, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_28); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_33, 0); +x_51 = lean_ctor_get(x_33, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_33); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} } } } } else { -uint8_t x_94; +uint8_t x_65; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -53900,23 +54433,133 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_94 = !lean_is_exclusive(x_9); -if (x_94 == 0) +x_65 = !lean_is_exclusive(x_9); +if (x_65 == 0) { return x_9; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_9, 0); -x_96 = lean_ctor_get(x_9, 1); -lean_inc(x_96); -lean_inc(x_95); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_9, 0); +x_67 = lean_ctor_get(x_9, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_9); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l_Lean_Meta_synthPending(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +lean_inc(x_3); +x_15 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1(x_2, x_3, x_3, x_6, x_7, x_8, x_9, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_17 = l_Lean_Meta_instantiateMVars(x_4, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Meta_isExprDefEqAux(x_18, x_3, x_6, x_7, x_8, x_9, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_11); +if (x_25 == 0) +{ +return x_11; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_11, 0); +x_27 = lean_ctor_get(x_11, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_11); +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; } } } @@ -53949,220 +54592,112 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; x_13 = lean_ctor_get(x_9, 1); lean_inc(x_13); lean_dec(x_9); x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); lean_dec(x_10); +x_15 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2; +x_42 = lean_st_ref_get(x_7, x_13); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = 0; +x_16 = x_47; +x_17 = x_46; +goto block_41; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_15, x_4, x_5, x_6, x_7, x_48); +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); +x_52 = lean_unbox(x_50); +lean_dec(x_50); +x_16 = x_52; +x_17 = x_51; +goto block_41; +} +block_41: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___lambda__1(x_14, x_1, x_2, x_3, x_18, x_4, x_5, x_6, x_7, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_inc(x_14); -x_15 = l_Lean_mkMVar(x_14); +x_20 = l_Lean_mkMVar(x_14); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_15); -x_16 = l_Lean_Meta_inferType(x_15, x_4, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_20); +x_21 = l_Lean_Meta_inferType(x_20, x_4, x_5, x_6, x_7, x_17); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_39; lean_object* x_40; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -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); -x_54 = lean_st_ref_get(x_7, x_18); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -x_59 = 0; -x_39 = x_59; -x_40 = x_58; -goto block_53; -} -else -{ -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_60 = lean_ctor_get(x_54, 1); -lean_inc(x_60); -lean_dec(x_54); -x_61 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_62 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_61, x_4, x_5, x_6, x_7, x_60); -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_unbox(x_63); -lean_dec(x_63); -x_39 = x_65; -x_40 = x_64; -goto block_53; -} -block_38: -{ -lean_object* x_20; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_20 = l_Lean_Meta_synthPending(x_14, x_4, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_unbox(x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_3); -x_23 = lean_ctor_get(x_20, 1); +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; +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_20); -lean_inc(x_2); -x_24 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1(x_1, x_2, x_2, x_4, x_5, x_6, x_7, x_23); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_1); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_dec(x_20); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_26 = l_Lean_Meta_instantiateMVars(x_3, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_Meta_isExprDefEqAux(x_27, x_2, x_4, x_5, x_6, x_7, x_28); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_26); -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; -} -} -} -} -else -{ -uint8_t x_34; -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_34 = !lean_is_exclusive(x_20); -if (x_34 == 0) -{ -return x_20; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_20, 0); -x_36 = lean_ctor_get(x_20, 1); -lean_inc(x_36); +lean_dec(x_21); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_20); +x_25 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__15; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_22); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_15, x_32, x_4, x_5, x_6, x_7, x_23); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___lambda__1(x_14, x_1, x_2, x_3, x_34, x_4, x_5, x_6, x_7, x_35); +lean_dec(x_34); +return x_36; +} +else +{ +uint8_t x_37; lean_dec(x_20); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -block_53: -{ -if (x_39 == 0) -{ -lean_dec(x_17); -lean_dec(x_15); -x_19 = x_40; -goto block_38; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_41 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_41, 0, x_15); -x_42 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__14; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_46, 0, x_17); -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__17; -x_51 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_50, x_49, x_4, x_5, x_6, x_7, x_40); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_19 = x_52; -goto block_38; -} -} -} -else -{ -uint8_t x_66; -lean_dec(x_15); lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -54171,30 +54706,32 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_16); -if (x_66 == 0) +x_37 = !lean_is_exclusive(x_21); +if (x_37 == 0) { -return x_16; +return x_21; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_16, 0); -x_68 = lean_ctor_get(x_16, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_16); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_21, 0); +x_39 = lean_ctor_get(x_21, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_21); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} } } } } else { -uint8_t x_70; +uint8_t x_53; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -54202,23 +54739,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_9); -if (x_70 == 0) +x_53 = !lean_is_exclusive(x_9); +if (x_53 == 0) { return x_9; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_9, 0); -x_72 = lean_ctor_get(x_9, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_9, 0); +x_55 = lean_ctor_get(x_9, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_9); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -54232,6 +54769,24 @@ x_8 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Le return x_8; } } +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___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_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___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); +return x_11; +} +} +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___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_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___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); +return x_11; +} +} lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_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) { _start: { @@ -56324,7 +56879,7 @@ return x_166; } } } -static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__1() { +static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -56333,23 +56888,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2() { +static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_isExprDefEqAuxImpl___closed__1; +x_1 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1; 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_Meta_isExprDefEqAuxImpl___closed__3() { +static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_isExprDefEqAuxImpl___closed__2; -x_3 = l_Lean_Meta_isExprDefEqAuxImpl___closed__1; +x_2 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2; +x_3 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -56360,78 +56915,19 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__4() { +lean_object* l_Lean_Meta_isExprDefEqAuxImpl___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) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("step"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; -x_2 = l_Lean_Meta_isExprDefEqAuxImpl___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Meta_isExprDefEqAuxImpl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_1542; lean_object* x_1543; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; uint8_t x_1559; -x_1556 = lean_st_ref_get(x_6, x_7); -x_1557 = lean_ctor_get(x_1556, 0); -lean_inc(x_1557); -x_1558 = lean_ctor_get(x_1557, 3); -lean_inc(x_1558); -lean_dec(x_1557); -x_1559 = lean_ctor_get_uint8(x_1558, sizeof(void*)*1); -lean_dec(x_1558); -if (x_1559 == 0) -{ -lean_object* x_1560; uint8_t x_1561; -x_1560 = lean_ctor_get(x_1556, 1); -lean_inc(x_1560); -lean_dec(x_1556); -x_1561 = 0; -x_1542 = x_1561; -x_1543 = x_1560; -goto block_1555; -} -else -{ -lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; uint8_t x_1567; -x_1562 = lean_ctor_get(x_1556, 1); -lean_inc(x_1562); -lean_dec(x_1556); -x_1563 = l_Lean_Meta_isExprDefEqAuxImpl___closed__5; -x_1564 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1563, x_3, x_4, x_5, x_6, x_1562); -x_1565 = lean_ctor_get(x_1564, 0); -lean_inc(x_1565); -x_1566 = lean_ctor_get(x_1564, 1); -lean_inc(x_1566); -lean_dec(x_1564); -x_1567 = lean_unbox(x_1565); -lean_dec(x_1565); -x_1542 = x_1567; -x_1543 = x_1566; -goto block_1555; -} -block_1541: -{ lean_object* x_9; lean_object* x_10; x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__3; -x_10 = l_Lean_Core_checkMaxHeartbeats(x_9, x_5, x_6, x_8); +x_10 = l_Lean_Core_checkMaxHeartbeats(x_9, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = lean_st_ref_get(x_6, x_11); +x_12 = lean_st_ref_get(x_7, x_11); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -56443,7 +56939,7 @@ lean_dec(x_13); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); lean_dec(x_15); -x_17 = lean_st_ref_take(x_6, x_14); +x_17 = lean_st_ref_take(x_7, x_14); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_18, 3); @@ -56463,21 +56959,21 @@ if (x_23 == 0) lean_object* 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_39; lean_object* x_40; uint8_t x_47; lean_object* x_48; lean_object* x_470; x_24 = lean_ctor_get(x_19, 0); lean_dec(x_24); -x_25 = l_Lean_Meta_isExprDefEqAuxImpl___closed__3; +x_25 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3; lean_ctor_set(x_19, 0, x_25); -x_26 = lean_st_ref_set(x_6, x_18, x_20); +x_26 = lean_st_ref_set(x_7, x_18, x_20); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = lean_ctor_get(x_5, 3); +x_28 = lean_ctor_get(x_6, 3); lean_inc(x_28); +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_470 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_3, x_4, x_5, x_6, x_27); +x_470 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_4, x_5, x_6, x_7, x_27); if (lean_obj_tag(x_470) == 0) { lean_object* x_471; uint8_t x_472; @@ -56518,13 +57014,13 @@ lean_object* x_477; lean_object* x_478; x_477 = lean_ctor_get(x_470, 1); lean_inc(x_477); lean_dec(x_470); +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_478 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_3, x_4, x_5, x_6, x_477); +x_478 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_4, x_5, x_6, x_7, x_477); if (lean_obj_tag(x_478) == 0) { lean_object* x_479; uint8_t x_480; @@ -56565,12 +57061,12 @@ lean_object* x_485; lean_object* x_486; x_485 = lean_ctor_get(x_478, 1); lean_inc(x_485); lean_dec(x_478); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_486 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_3, x_4, x_5, x_6, x_485); +x_486 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_485); if (lean_obj_tag(x_486) == 0) { lean_object* x_487; lean_object* x_488; lean_object* x_489; @@ -56579,12 +57075,12 @@ lean_inc(x_487); x_488 = lean_ctor_get(x_486, 1); lean_inc(x_488); lean_dec(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); -x_489 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_488); +x_489 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_488); if (lean_obj_tag(x_489) == 0) { lean_object* x_490; lean_object* x_491; uint8_t x_492; @@ -56599,11 +57095,11 @@ if (x_492 == 0) lean_object* x_493; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_493 = l_Lean_Meta_isExprDefEqAuxImpl(x_487, x_490, x_3, x_4, x_5, x_6, x_491); +x_493 = l_Lean_Meta_isExprDefEqAuxImpl(x_487, x_490, x_4, x_5, x_6, x_7, x_491); if (lean_obj_tag(x_493) == 0) { lean_object* x_494; lean_object* x_495; uint8_t x_496; @@ -56640,11 +57136,11 @@ if (x_499 == 0) lean_object* x_500; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_500 = l_Lean_Meta_isExprDefEqAuxImpl(x_487, x_490, x_3, x_4, x_5, x_6, x_491); +x_500 = l_Lean_Meta_isExprDefEqAuxImpl(x_487, x_490, x_4, x_5, x_6, x_7, x_491); if (lean_obj_tag(x_500) == 0) { lean_object* x_501; lean_object* x_502; uint8_t x_503; @@ -56677,13 +57173,13 @@ else lean_object* x_506; lean_dec(x_490); lean_dec(x_487); +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_506 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_3, x_4, x_5, x_6, x_491); +x_506 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_4, x_5, x_6, x_7, x_491); if (lean_obj_tag(x_506) == 0) { lean_object* x_507; uint8_t x_508; @@ -56697,13 +57193,13 @@ lean_dec(x_507); x_509 = lean_ctor_get(x_506, 1); lean_inc(x_509); lean_dec(x_506); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_510 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_3, x_4, x_5, x_6, x_509); +x_510 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_4, x_5, x_6, x_7, x_509); if (lean_obj_tag(x_510) == 0) { lean_object* x_511; lean_object* x_512; uint8_t x_513; @@ -56830,11 +57326,11 @@ goto block_46; block_38: { lean_object* x_31; uint8_t x_32; -x_31 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_28, x_16, x_3, x_4, x_5, x_6, x_30); +x_31 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_28, x_16, x_4, x_5, x_6, x_7, x_30); +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_31); if (x_32 == 0) { @@ -56861,11 +57357,11 @@ return x_37; block_46: { lean_object* x_41; uint8_t x_42; -x_41 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_28, x_16, x_3, x_4, x_5, x_6, x_40); +x_41 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_28, x_16, x_4, x_5, x_6, x_7, x_40); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_42 = !lean_is_exclusive(x_41); if (x_42 == 0) { @@ -56893,13 +57389,13 @@ block_469: if (x_47 == 0) { lean_object* x_49; +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_49 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_3, x_4, x_5, x_6, x_48); +x_49 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_4, x_5, x_6, x_7, x_48); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; uint8_t x_51; @@ -56921,13 +57417,13 @@ x_54 = l_Lean_Expr_isApp(x_1); if (x_54 == 0) { lean_object* x_55; +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_55 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_55 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; uint8_t x_57; @@ -56968,13 +57464,13 @@ lean_object* x_62; lean_object* x_63; x_62 = lean_ctor_get(x_55, 1); lean_inc(x_62); lean_dec(x_55); +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_63 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_62); +x_63 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_62); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; uint8_t x_65; @@ -57015,13 +57511,13 @@ lean_object* x_70; lean_object* x_71; x_70 = lean_ctor_get(x_63, 1); lean_inc(x_70); lean_dec(x_63); +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_71 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_70); +x_71 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_70); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; uint8_t x_73; @@ -57062,13 +57558,13 @@ lean_object* x_78; lean_object* x_79; x_78 = lean_ctor_get(x_71, 1); lean_inc(x_78); lean_dec(x_71); +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_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_78); +x_79 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_78); if (lean_obj_tag(x_79) == 0) { lean_object* x_80; uint8_t x_81; @@ -57109,13 +57605,13 @@ lean_object* x_86; lean_object* x_87; x_86 = lean_ctor_get(x_79, 1); lean_inc(x_86); lean_dec(x_79); +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_87 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_86); +x_87 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_86); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; uint8_t x_89; @@ -57156,12 +57652,12 @@ lean_object* x_94; lean_object* x_95; x_94 = lean_ctor_get(x_87, 1); lean_inc(x_94); lean_dec(x_87); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_95 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_94); +x_95 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_94); if (lean_obj_tag(x_95) == 0) { lean_object* x_96; lean_object* x_97; uint8_t x_98; @@ -57281,13 +57777,13 @@ x_111 = l_Lean_Expr_isApp(x_2); if (x_111 == 0) { lean_object* x_112; +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_112 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_112 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_112) == 0) { lean_object* x_113; uint8_t x_114; @@ -57328,13 +57824,13 @@ lean_object* x_119; lean_object* x_120; x_119 = lean_ctor_get(x_112, 1); lean_inc(x_119); lean_dec(x_112); +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_120 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_119); +x_120 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_119); if (lean_obj_tag(x_120) == 0) { lean_object* x_121; uint8_t x_122; @@ -57375,13 +57871,13 @@ lean_object* x_127; lean_object* x_128; x_127 = lean_ctor_get(x_120, 1); lean_inc(x_127); lean_dec(x_120); +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_128 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_127); +x_128 = l_Lean_Meta_isDefEqOffset(x_1, x_2, 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; @@ -57422,13 +57918,13 @@ lean_object* x_135; lean_object* x_136; x_135 = lean_ctor_get(x_128, 1); lean_inc(x_135); lean_dec(x_128); +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_136 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_135); +x_136 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_135); if (lean_obj_tag(x_136) == 0) { lean_object* x_137; uint8_t x_138; @@ -57469,13 +57965,13 @@ lean_object* x_143; lean_object* x_144; x_143 = lean_ctor_get(x_136, 1); lean_inc(x_143); lean_dec(x_136); +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_144 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_143); +x_144 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_143); if (lean_obj_tag(x_144) == 0) { lean_object* x_145; uint8_t x_146; @@ -57516,12 +58012,12 @@ lean_object* x_151; lean_object* x_152; x_151 = lean_ctor_get(x_144, 1); lean_inc(x_151); lean_dec(x_144); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_152 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_151); +x_152 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_151); if (lean_obj_tag(x_152) == 0) { lean_object* x_153; lean_object* x_154; uint8_t x_155; @@ -57637,13 +58133,13 @@ goto block_46; else { lean_object* x_168; +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_168 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_168 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_168) == 0) { lean_object* x_169; uint8_t x_170; @@ -57684,13 +58180,13 @@ lean_object* x_175; lean_object* x_176; x_175 = lean_ctor_get(x_168, 1); lean_inc(x_175); lean_dec(x_168); +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_176 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_175); +x_176 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_175); if (lean_obj_tag(x_176) == 0) { lean_object* x_177; uint8_t x_178; @@ -57731,13 +58227,13 @@ lean_object* x_183; lean_object* x_184; x_183 = lean_ctor_get(x_176, 1); lean_inc(x_183); lean_dec(x_176); +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_184 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_183); +x_184 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_183); if (lean_obj_tag(x_184) == 0) { lean_object* x_185; uint8_t x_186; @@ -57778,13 +58274,13 @@ lean_object* x_191; lean_object* x_192; x_191 = lean_ctor_get(x_184, 1); lean_inc(x_191); lean_dec(x_184); +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_192 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_191); +x_192 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_191); if (lean_obj_tag(x_192) == 0) { lean_object* x_193; uint8_t x_194; @@ -57825,11 +58321,11 @@ lean_object* x_199; lean_object* x_200; x_199 = lean_ctor_get(x_192, 1); lean_inc(x_199); lean_dec(x_192); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_200 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_199); +x_200 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_199); if (lean_obj_tag(x_200) == 0) { lean_object* x_201; lean_object* x_202; uint8_t x_203; @@ -57938,13 +58434,13 @@ x_215 = l_Lean_Expr_isApp(x_1); if (x_215 == 0) { lean_object* x_216; +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_216 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_216 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_216) == 0) { lean_object* x_217; uint8_t x_218; @@ -57985,13 +58481,13 @@ lean_object* x_223; lean_object* x_224; x_223 = lean_ctor_get(x_216, 1); lean_inc(x_223); lean_dec(x_216); +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_224 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_223); +x_224 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_223); if (lean_obj_tag(x_224) == 0) { lean_object* x_225; uint8_t x_226; @@ -58032,13 +58528,13 @@ lean_object* x_231; lean_object* x_232; x_231 = lean_ctor_get(x_224, 1); lean_inc(x_231); lean_dec(x_224); +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_232 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_231); +x_232 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_231); if (lean_obj_tag(x_232) == 0) { lean_object* x_233; uint8_t x_234; @@ -58079,13 +58575,13 @@ lean_object* x_239; lean_object* x_240; x_239 = lean_ctor_get(x_232, 1); lean_inc(x_239); lean_dec(x_232); +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_240 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_239); +x_240 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_239); if (lean_obj_tag(x_240) == 0) { lean_object* x_241; uint8_t x_242; @@ -58126,13 +58622,13 @@ lean_object* x_247; lean_object* x_248; x_247 = lean_ctor_get(x_240, 1); lean_inc(x_247); lean_dec(x_240); +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_248 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_247); +x_248 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_247); if (lean_obj_tag(x_248) == 0) { lean_object* x_249; uint8_t x_250; @@ -58173,12 +58669,12 @@ lean_object* x_255; lean_object* x_256; x_255 = lean_ctor_get(x_248, 1); lean_inc(x_255); lean_dec(x_248); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_256 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_255); +x_256 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_255); if (lean_obj_tag(x_256) == 0) { lean_object* x_257; lean_object* x_258; uint8_t x_259; @@ -58298,13 +58794,13 @@ x_272 = l_Lean_Expr_isApp(x_2); if (x_272 == 0) { lean_object* x_273; +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_273 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_273 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_273) == 0) { lean_object* x_274; uint8_t x_275; @@ -58345,13 +58841,13 @@ lean_object* x_280; lean_object* x_281; x_280 = lean_ctor_get(x_273, 1); lean_inc(x_280); lean_dec(x_273); +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_281 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_280); +x_281 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_280); if (lean_obj_tag(x_281) == 0) { lean_object* x_282; uint8_t x_283; @@ -58392,13 +58888,13 @@ lean_object* x_288; lean_object* x_289; x_288 = lean_ctor_get(x_281, 1); lean_inc(x_288); lean_dec(x_281); +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_289 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_288); +x_289 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_288); if (lean_obj_tag(x_289) == 0) { lean_object* x_290; uint8_t x_291; @@ -58439,13 +58935,13 @@ lean_object* x_296; lean_object* x_297; x_296 = lean_ctor_get(x_289, 1); lean_inc(x_296); lean_dec(x_289); +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_297 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_296); +x_297 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_296); if (lean_obj_tag(x_297) == 0) { lean_object* x_298; uint8_t x_299; @@ -58486,13 +58982,13 @@ lean_object* x_304; lean_object* x_305; x_304 = lean_ctor_get(x_297, 1); lean_inc(x_304); lean_dec(x_297); +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_305 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_304); +x_305 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_304); if (lean_obj_tag(x_305) == 0) { lean_object* x_306; uint8_t x_307; @@ -58533,12 +59029,12 @@ lean_object* x_312; lean_object* x_313; x_312 = lean_ctor_get(x_305, 1); lean_inc(x_312); lean_dec(x_305); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_313 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_312); +x_313 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_312); if (lean_obj_tag(x_313) == 0) { lean_object* x_314; lean_object* x_315; uint8_t x_316; @@ -58654,13 +59150,13 @@ goto block_46; else { lean_object* x_329; +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_329 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_329 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_329) == 0) { lean_object* x_330; uint8_t x_331; @@ -58701,13 +59197,13 @@ lean_object* x_336; lean_object* x_337; x_336 = lean_ctor_get(x_329, 1); lean_inc(x_336); lean_dec(x_329); +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_337 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_336); +x_337 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_336); if (lean_obj_tag(x_337) == 0) { lean_object* x_338; uint8_t x_339; @@ -58748,13 +59244,13 @@ lean_object* x_344; lean_object* x_345; x_344 = lean_ctor_get(x_337, 1); lean_inc(x_344); lean_dec(x_337); +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_345 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_344); +x_345 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_344); if (lean_obj_tag(x_345) == 0) { lean_object* x_346; uint8_t x_347; @@ -58795,13 +59291,13 @@ lean_object* x_352; lean_object* x_353; x_352 = lean_ctor_get(x_345, 1); lean_inc(x_352); lean_dec(x_345); +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_353 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_352); +x_353 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_352); if (lean_obj_tag(x_353) == 0) { lean_object* x_354; uint8_t x_355; @@ -58842,11 +59338,11 @@ lean_object* x_360; lean_object* x_361; x_360 = lean_ctor_get(x_353, 1); lean_inc(x_360); lean_dec(x_353); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_361 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_360); +x_361 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_360); if (lean_obj_tag(x_361) == 0) { lean_object* x_362; lean_object* x_363; uint8_t x_364; @@ -58955,13 +59451,13 @@ lean_dec(x_375); if (x_377 == 0) { lean_object* x_378; +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_378 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_378 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_378) == 0) { lean_object* x_379; uint8_t x_380; @@ -59002,13 +59498,13 @@ lean_object* x_385; lean_object* x_386; x_385 = lean_ctor_get(x_378, 1); lean_inc(x_385); lean_dec(x_378); +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_386 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_385); +x_386 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_385); if (lean_obj_tag(x_386) == 0) { lean_object* x_387; uint8_t x_388; @@ -59049,13 +59545,13 @@ lean_object* x_393; lean_object* x_394; x_393 = lean_ctor_get(x_386, 1); lean_inc(x_393); lean_dec(x_386); +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_394 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_393); +x_394 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_393); if (lean_obj_tag(x_394) == 0) { lean_object* x_395; uint8_t x_396; @@ -59096,11 +59592,11 @@ lean_object* x_401; lean_object* x_402; x_401 = lean_ctor_get(x_394, 1); lean_inc(x_401); lean_dec(x_394); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_402 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_401); +x_402 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_401); if (lean_obj_tag(x_402) == 0) { lean_object* x_403; @@ -59199,13 +59695,13 @@ else lean_object* x_416; lean_object* x_417; lean_object* x_418; x_416 = l_Lean_Expr_constLevels_x21(x_1); x_417 = l_Lean_Expr_constLevels_x21(x_2); +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_418 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_52); +x_418 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_52); if (lean_obj_tag(x_418) == 0) { lean_object* x_419; uint8_t x_420; @@ -59250,13 +59746,13 @@ lean_object* x_425; lean_object* x_426; x_425 = lean_ctor_get(x_418, 1); lean_inc(x_425); lean_dec(x_418); +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_426 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_425); +x_426 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_425); if (lean_obj_tag(x_426) == 0) { lean_object* x_427; uint8_t x_428; @@ -59301,13 +59797,13 @@ lean_object* x_433; lean_object* x_434; x_433 = lean_ctor_get(x_426, 1); lean_inc(x_433); lean_dec(x_426); +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_434 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_433); +x_434 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_433); if (lean_obj_tag(x_434) == 0) { lean_object* x_435; uint8_t x_436; @@ -59352,11 +59848,11 @@ lean_object* x_441; lean_object* x_442; x_441 = lean_ctor_get(x_434, 1); lean_inc(x_441); lean_dec(x_434); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_442 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_441); +x_442 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_441); if (lean_obj_tag(x_442) == 0) { lean_object* x_443; uint8_t x_444; @@ -59397,11 +59893,11 @@ lean_object* x_449; lean_object* x_450; x_449 = lean_ctor_get(x_442, 1); lean_inc(x_449); lean_dec(x_442); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_450 = l_Lean_Meta_isListLevelDefEqAux(x_416, x_417, x_3, x_4, x_5, x_6, x_449); +x_450 = l_Lean_Meta_isListLevelDefEqAux(x_416, x_417, x_4, x_5, x_6, x_7, x_449); if (lean_obj_tag(x_450) == 0) { lean_object* x_451; lean_object* x_452; uint8_t x_453; @@ -59552,24 +60048,24 @@ else uint8_t x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; uint8_t x_534; lean_object* x_535; lean_object* x_542; lean_object* x_543; uint8_t x_549; lean_object* x_550; lean_object* x_972; x_528 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); lean_dec(x_19); -x_529 = l_Lean_Meta_isExprDefEqAuxImpl___closed__3; +x_529 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3; x_530 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_530, 0, x_529); lean_ctor_set_uint8(x_530, sizeof(void*)*1, x_528); lean_ctor_set(x_18, 3, x_530); -x_531 = lean_st_ref_set(x_6, x_18, x_20); +x_531 = lean_st_ref_set(x_7, x_18, x_20); x_532 = lean_ctor_get(x_531, 1); lean_inc(x_532); lean_dec(x_531); -x_533 = lean_ctor_get(x_5, 3); +x_533 = lean_ctor_get(x_6, 3); lean_inc(x_533); +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_972 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_3, x_4, x_5, x_6, x_532); +x_972 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_4, x_5, x_6, x_7, x_532); if (lean_obj_tag(x_972) == 0) { lean_object* x_973; uint8_t x_974; @@ -59610,13 +60106,13 @@ lean_object* x_979; lean_object* x_980; x_979 = lean_ctor_get(x_972, 1); lean_inc(x_979); lean_dec(x_972); +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_980 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_3, x_4, x_5, x_6, x_979); +x_980 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_4, x_5, x_6, x_7, x_979); if (lean_obj_tag(x_980) == 0) { lean_object* x_981; uint8_t x_982; @@ -59657,12 +60153,12 @@ lean_object* x_987; lean_object* x_988; x_987 = lean_ctor_get(x_980, 1); lean_inc(x_987); lean_dec(x_980); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_988 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_3, x_4, x_5, x_6, x_987); +x_988 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_987); if (lean_obj_tag(x_988) == 0) { lean_object* x_989; lean_object* x_990; lean_object* x_991; @@ -59671,12 +60167,12 @@ lean_inc(x_989); x_990 = lean_ctor_get(x_988, 1); lean_inc(x_990); lean_dec(x_988); +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_991 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_990); +x_991 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_990); if (lean_obj_tag(x_991) == 0) { lean_object* x_992; lean_object* x_993; uint8_t x_994; @@ -59691,11 +60187,11 @@ if (x_994 == 0) lean_object* x_995; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_995 = l_Lean_Meta_isExprDefEqAuxImpl(x_989, x_992, x_3, x_4, x_5, x_6, x_993); +x_995 = l_Lean_Meta_isExprDefEqAuxImpl(x_989, x_992, x_4, x_5, x_6, x_7, x_993); if (lean_obj_tag(x_995) == 0) { lean_object* x_996; lean_object* x_997; uint8_t x_998; @@ -59732,11 +60228,11 @@ if (x_1001 == 0) lean_object* x_1002; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1002 = l_Lean_Meta_isExprDefEqAuxImpl(x_989, x_992, x_3, x_4, x_5, x_6, x_993); +x_1002 = l_Lean_Meta_isExprDefEqAuxImpl(x_989, x_992, x_4, x_5, x_6, x_7, x_993); if (lean_obj_tag(x_1002) == 0) { lean_object* x_1003; lean_object* x_1004; uint8_t x_1005; @@ -59769,13 +60265,13 @@ else lean_object* x_1008; lean_dec(x_992); lean_dec(x_989); +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_1008 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_3, x_4, x_5, x_6, x_993); +x_1008 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_4, x_5, x_6, x_7, x_993); if (lean_obj_tag(x_1008) == 0) { lean_object* x_1009; uint8_t x_1010; @@ -59789,13 +60285,13 @@ lean_dec(x_1009); x_1011 = lean_ctor_get(x_1008, 1); lean_inc(x_1011); lean_dec(x_1008); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_1012 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_3, x_4, x_5, x_6, x_1011); +x_1012 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_4, x_5, x_6, x_7, x_1011); if (lean_obj_tag(x_1012) == 0) { lean_object* x_1013; lean_object* x_1014; uint8_t x_1015; @@ -59922,11 +60418,11 @@ goto block_548; block_541: { lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_536 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_533, x_16, x_3, x_4, x_5, x_6, x_535); +x_536 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_533, x_16, x_4, x_5, x_6, x_7, x_535); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_537 = lean_ctor_get(x_536, 1); lean_inc(x_537); if (lean_is_exclusive(x_536)) { @@ -59950,11 +60446,11 @@ return x_540; block_548: { lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_544 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_533, x_16, x_3, x_4, x_5, x_6, x_543); +x_544 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_533, x_16, x_4, x_5, x_6, x_7, x_543); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_545 = lean_ctor_get(x_544, 1); lean_inc(x_545); if (lean_is_exclusive(x_544)) { @@ -59980,13 +60476,13 @@ block_971: if (x_549 == 0) { lean_object* x_551; +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_551 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_3, x_4, x_5, x_6, x_550); +x_551 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_4, x_5, x_6, x_7, x_550); if (lean_obj_tag(x_551) == 0) { lean_object* x_552; uint8_t x_553; @@ -60008,13 +60504,13 @@ x_556 = l_Lean_Expr_isApp(x_1); if (x_556 == 0) { lean_object* x_557; +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_557 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_557 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_557) == 0) { lean_object* x_558; uint8_t x_559; @@ -60055,13 +60551,13 @@ lean_object* x_564; lean_object* x_565; x_564 = lean_ctor_get(x_557, 1); lean_inc(x_564); lean_dec(x_557); +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_565 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_564); +x_565 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_564); if (lean_obj_tag(x_565) == 0) { lean_object* x_566; uint8_t x_567; @@ -60102,13 +60598,13 @@ lean_object* x_572; lean_object* x_573; x_572 = lean_ctor_get(x_565, 1); lean_inc(x_572); lean_dec(x_565); +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_573 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_572); +x_573 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_572); if (lean_obj_tag(x_573) == 0) { lean_object* x_574; uint8_t x_575; @@ -60149,13 +60645,13 @@ lean_object* x_580; lean_object* x_581; x_580 = lean_ctor_get(x_573, 1); lean_inc(x_580); lean_dec(x_573); +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_581 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_580); +x_581 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_580); if (lean_obj_tag(x_581) == 0) { lean_object* x_582; uint8_t x_583; @@ -60196,13 +60692,13 @@ lean_object* x_588; lean_object* x_589; x_588 = lean_ctor_get(x_581, 1); lean_inc(x_588); lean_dec(x_581); +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_589 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_588); +x_589 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_588); if (lean_obj_tag(x_589) == 0) { lean_object* x_590; uint8_t x_591; @@ -60243,12 +60739,12 @@ lean_object* x_596; lean_object* x_597; x_596 = lean_ctor_get(x_589, 1); lean_inc(x_596); lean_dec(x_589); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_597 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_596); +x_597 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_596); if (lean_obj_tag(x_597) == 0) { lean_object* x_598; lean_object* x_599; uint8_t x_600; @@ -60368,13 +60864,13 @@ x_613 = l_Lean_Expr_isApp(x_2); if (x_613 == 0) { lean_object* x_614; +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_614 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_614 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_614) == 0) { lean_object* x_615; uint8_t x_616; @@ -60415,13 +60911,13 @@ lean_object* x_621; lean_object* x_622; x_621 = lean_ctor_get(x_614, 1); lean_inc(x_621); lean_dec(x_614); +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_622 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_621); +x_622 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_621); if (lean_obj_tag(x_622) == 0) { lean_object* x_623; uint8_t x_624; @@ -60462,13 +60958,13 @@ lean_object* x_629; lean_object* x_630; x_629 = lean_ctor_get(x_622, 1); lean_inc(x_629); lean_dec(x_622); +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_630 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_629); +x_630 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_629); if (lean_obj_tag(x_630) == 0) { lean_object* x_631; uint8_t x_632; @@ -60509,13 +61005,13 @@ lean_object* x_637; lean_object* x_638; x_637 = lean_ctor_get(x_630, 1); lean_inc(x_637); lean_dec(x_630); +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_638 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_637); +x_638 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_637); if (lean_obj_tag(x_638) == 0) { lean_object* x_639; uint8_t x_640; @@ -60556,13 +61052,13 @@ lean_object* x_645; lean_object* x_646; x_645 = lean_ctor_get(x_638, 1); lean_inc(x_645); lean_dec(x_638); +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_646 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_645); +x_646 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_645); if (lean_obj_tag(x_646) == 0) { lean_object* x_647; uint8_t x_648; @@ -60603,12 +61099,12 @@ lean_object* x_653; lean_object* x_654; x_653 = lean_ctor_get(x_646, 1); lean_inc(x_653); lean_dec(x_646); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_654 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_653); +x_654 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_653); if (lean_obj_tag(x_654) == 0) { lean_object* x_655; lean_object* x_656; uint8_t x_657; @@ -60724,13 +61220,13 @@ goto block_548; else { lean_object* x_670; +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_670 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_670 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_670) == 0) { lean_object* x_671; uint8_t x_672; @@ -60771,13 +61267,13 @@ lean_object* x_677; lean_object* x_678; x_677 = lean_ctor_get(x_670, 1); lean_inc(x_677); lean_dec(x_670); +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_678 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_677); +x_678 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_677); if (lean_obj_tag(x_678) == 0) { lean_object* x_679; uint8_t x_680; @@ -60818,13 +61314,13 @@ lean_object* x_685; lean_object* x_686; x_685 = lean_ctor_get(x_678, 1); lean_inc(x_685); lean_dec(x_678); +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_686 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_685); +x_686 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_685); if (lean_obj_tag(x_686) == 0) { lean_object* x_687; uint8_t x_688; @@ -60865,13 +61361,13 @@ lean_object* x_693; lean_object* x_694; x_693 = lean_ctor_get(x_686, 1); lean_inc(x_693); lean_dec(x_686); +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_694 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_693); +x_694 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_693); if (lean_obj_tag(x_694) == 0) { lean_object* x_695; uint8_t x_696; @@ -60912,11 +61408,11 @@ lean_object* x_701; lean_object* x_702; x_701 = lean_ctor_get(x_694, 1); lean_inc(x_701); lean_dec(x_694); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_702 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_701); +x_702 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_701); if (lean_obj_tag(x_702) == 0) { lean_object* x_703; lean_object* x_704; uint8_t x_705; @@ -61025,13 +61521,13 @@ x_717 = l_Lean_Expr_isApp(x_1); if (x_717 == 0) { lean_object* x_718; +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_718 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_718 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_718) == 0) { lean_object* x_719; uint8_t x_720; @@ -61072,13 +61568,13 @@ lean_object* x_725; lean_object* x_726; x_725 = lean_ctor_get(x_718, 1); lean_inc(x_725); lean_dec(x_718); +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_726 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_725); +x_726 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_725); if (lean_obj_tag(x_726) == 0) { lean_object* x_727; uint8_t x_728; @@ -61119,13 +61615,13 @@ lean_object* x_733; lean_object* x_734; x_733 = lean_ctor_get(x_726, 1); lean_inc(x_733); lean_dec(x_726); +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_734 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_733); +x_734 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_733); if (lean_obj_tag(x_734) == 0) { lean_object* x_735; uint8_t x_736; @@ -61166,13 +61662,13 @@ lean_object* x_741; lean_object* x_742; x_741 = lean_ctor_get(x_734, 1); lean_inc(x_741); lean_dec(x_734); +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_742 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_741); +x_742 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_741); if (lean_obj_tag(x_742) == 0) { lean_object* x_743; uint8_t x_744; @@ -61213,13 +61709,13 @@ lean_object* x_749; lean_object* x_750; x_749 = lean_ctor_get(x_742, 1); lean_inc(x_749); lean_dec(x_742); +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_750 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_749); +x_750 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_749); if (lean_obj_tag(x_750) == 0) { lean_object* x_751; uint8_t x_752; @@ -61260,12 +61756,12 @@ lean_object* x_757; lean_object* x_758; x_757 = lean_ctor_get(x_750, 1); lean_inc(x_757); lean_dec(x_750); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_758 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_757); +x_758 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_757); if (lean_obj_tag(x_758) == 0) { lean_object* x_759; lean_object* x_760; uint8_t x_761; @@ -61385,13 +61881,13 @@ x_774 = l_Lean_Expr_isApp(x_2); if (x_774 == 0) { lean_object* x_775; +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_775 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_775 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_775) == 0) { lean_object* x_776; uint8_t x_777; @@ -61432,13 +61928,13 @@ lean_object* x_782; lean_object* x_783; x_782 = lean_ctor_get(x_775, 1); lean_inc(x_782); lean_dec(x_775); +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_783 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_782); +x_783 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_782); if (lean_obj_tag(x_783) == 0) { lean_object* x_784; uint8_t x_785; @@ -61479,13 +61975,13 @@ lean_object* x_790; lean_object* x_791; x_790 = lean_ctor_get(x_783, 1); lean_inc(x_790); lean_dec(x_783); +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_791 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_790); +x_791 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_790); if (lean_obj_tag(x_791) == 0) { lean_object* x_792; uint8_t x_793; @@ -61526,13 +62022,13 @@ lean_object* x_798; lean_object* x_799; x_798 = lean_ctor_get(x_791, 1); lean_inc(x_798); lean_dec(x_791); +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_799 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_798); +x_799 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_798); if (lean_obj_tag(x_799) == 0) { lean_object* x_800; uint8_t x_801; @@ -61573,13 +62069,13 @@ lean_object* x_806; lean_object* x_807; x_806 = lean_ctor_get(x_799, 1); lean_inc(x_806); lean_dec(x_799); +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_807 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_806); +x_807 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_806); if (lean_obj_tag(x_807) == 0) { lean_object* x_808; uint8_t x_809; @@ -61620,12 +62116,12 @@ lean_object* x_814; lean_object* x_815; x_814 = lean_ctor_get(x_807, 1); lean_inc(x_814); lean_dec(x_807); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_815 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_814); +x_815 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_814); if (lean_obj_tag(x_815) == 0) { lean_object* x_816; lean_object* x_817; uint8_t x_818; @@ -61741,13 +62237,13 @@ goto block_548; else { lean_object* x_831; +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_831 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_831 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_831) == 0) { lean_object* x_832; uint8_t x_833; @@ -61788,13 +62284,13 @@ lean_object* x_838; lean_object* x_839; x_838 = lean_ctor_get(x_831, 1); lean_inc(x_838); lean_dec(x_831); +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_839 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_838); +x_839 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_838); if (lean_obj_tag(x_839) == 0) { lean_object* x_840; uint8_t x_841; @@ -61835,13 +62331,13 @@ lean_object* x_846; lean_object* x_847; x_846 = lean_ctor_get(x_839, 1); lean_inc(x_846); lean_dec(x_839); +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_847 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_846); +x_847 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_846); if (lean_obj_tag(x_847) == 0) { lean_object* x_848; uint8_t x_849; @@ -61882,13 +62378,13 @@ lean_object* x_854; lean_object* x_855; x_854 = lean_ctor_get(x_847, 1); lean_inc(x_854); lean_dec(x_847); +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_855 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_854); +x_855 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_854); if (lean_obj_tag(x_855) == 0) { lean_object* x_856; uint8_t x_857; @@ -61929,11 +62425,11 @@ lean_object* x_862; lean_object* x_863; x_862 = lean_ctor_get(x_855, 1); lean_inc(x_862); lean_dec(x_855); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_863 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_862); +x_863 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_862); if (lean_obj_tag(x_863) == 0) { lean_object* x_864; lean_object* x_865; uint8_t x_866; @@ -62042,13 +62538,13 @@ lean_dec(x_877); if (x_879 == 0) { lean_object* x_880; +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_880 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_880 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_880) == 0) { lean_object* x_881; uint8_t x_882; @@ -62089,13 +62585,13 @@ lean_object* x_887; lean_object* x_888; x_887 = lean_ctor_get(x_880, 1); lean_inc(x_887); lean_dec(x_880); +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_888 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_887); +x_888 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_887); if (lean_obj_tag(x_888) == 0) { lean_object* x_889; uint8_t x_890; @@ -62136,13 +62632,13 @@ lean_object* x_895; lean_object* x_896; x_895 = lean_ctor_get(x_888, 1); lean_inc(x_895); lean_dec(x_888); +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_896 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_895); +x_896 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_895); if (lean_obj_tag(x_896) == 0) { lean_object* x_897; uint8_t x_898; @@ -62183,11 +62679,11 @@ lean_object* x_903; lean_object* x_904; x_903 = lean_ctor_get(x_896, 1); lean_inc(x_903); lean_dec(x_896); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_904 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_903); +x_904 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_903); if (lean_obj_tag(x_904) == 0) { lean_object* x_905; @@ -62286,13 +62782,13 @@ else lean_object* x_918; lean_object* x_919; lean_object* x_920; x_918 = l_Lean_Expr_constLevels_x21(x_1); x_919 = l_Lean_Expr_constLevels_x21(x_2); +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_920 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_554); +x_920 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_554); if (lean_obj_tag(x_920) == 0) { lean_object* x_921; uint8_t x_922; @@ -62337,13 +62833,13 @@ lean_object* x_927; lean_object* x_928; x_927 = lean_ctor_get(x_920, 1); lean_inc(x_927); lean_dec(x_920); +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_928 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_927); +x_928 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_927); if (lean_obj_tag(x_928) == 0) { lean_object* x_929; uint8_t x_930; @@ -62388,13 +62884,13 @@ lean_object* x_935; lean_object* x_936; x_935 = lean_ctor_get(x_928, 1); lean_inc(x_935); lean_dec(x_928); +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_936 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_935); +x_936 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_935); if (lean_obj_tag(x_936) == 0) { lean_object* x_937; uint8_t x_938; @@ -62439,11 +62935,11 @@ lean_object* x_943; lean_object* x_944; x_943 = lean_ctor_get(x_936, 1); lean_inc(x_943); lean_dec(x_936); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_944 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_943); +x_944 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_943); if (lean_obj_tag(x_944) == 0) { lean_object* x_945; uint8_t x_946; @@ -62484,11 +62980,11 @@ lean_object* x_951; lean_object* x_952; x_951 = lean_ctor_get(x_944, 1); lean_inc(x_951); lean_dec(x_944); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_952 = l_Lean_Meta_isListLevelDefEqAux(x_918, x_919, x_3, x_4, x_5, x_6, x_951); +x_952 = l_Lean_Meta_isListLevelDefEqAux(x_918, x_919, x_4, x_5, x_6, x_7, x_951); if (lean_obj_tag(x_952) == 0) { lean_object* x_953; lean_object* x_954; uint8_t x_955; @@ -62653,7 +63149,7 @@ if (lean_is_exclusive(x_19)) { lean_dec_ref(x_19); x_1034 = lean_box(0); } -x_1035 = l_Lean_Meta_isExprDefEqAuxImpl___closed__3; +x_1035 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3; if (lean_is_scalar(x_1034)) { x_1036 = lean_alloc_ctor(0, 1, 1); } else { @@ -62666,19 +63162,19 @@ lean_ctor_set(x_1037, 0, x_1030); lean_ctor_set(x_1037, 1, x_1031); lean_ctor_set(x_1037, 2, x_1032); lean_ctor_set(x_1037, 3, x_1036); -x_1038 = lean_st_ref_set(x_6, x_1037, x_20); +x_1038 = lean_st_ref_set(x_7, x_1037, x_20); x_1039 = lean_ctor_get(x_1038, 1); lean_inc(x_1039); lean_dec(x_1038); -x_1040 = lean_ctor_get(x_5, 3); +x_1040 = lean_ctor_get(x_6, 3); lean_inc(x_1040); +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_1479 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_3, x_4, x_5, x_6, x_1039); +x_1479 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_4, x_5, x_6, x_7, x_1039); if (lean_obj_tag(x_1479) == 0) { lean_object* x_1480; uint8_t x_1481; @@ -62719,13 +63215,13 @@ lean_object* x_1486; lean_object* x_1487; x_1486 = lean_ctor_get(x_1479, 1); lean_inc(x_1486); lean_dec(x_1479); +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_1487 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_3, x_4, x_5, x_6, x_1486); +x_1487 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_4, x_5, x_6, x_7, x_1486); if (lean_obj_tag(x_1487) == 0) { lean_object* x_1488; uint8_t x_1489; @@ -62766,12 +63262,12 @@ lean_object* x_1494; lean_object* x_1495; x_1494 = lean_ctor_get(x_1487, 1); lean_inc(x_1494); lean_dec(x_1487); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_1495 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_3, x_4, x_5, x_6, x_1494); +x_1495 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_1, x_4, x_5, x_6, x_7, x_1494); if (lean_obj_tag(x_1495) == 0) { lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; @@ -62780,12 +63276,12 @@ lean_inc(x_1496); x_1497 = lean_ctor_get(x_1495, 1); lean_inc(x_1497); lean_dec(x_1495); +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_1498 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_3, x_4, x_5, x_6, x_1497); +x_1498 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_2, x_4, x_5, x_6, x_7, x_1497); if (lean_obj_tag(x_1498) == 0) { lean_object* x_1499; lean_object* x_1500; uint8_t x_1501; @@ -62800,11 +63296,11 @@ if (x_1501 == 0) lean_object* x_1502; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1502 = l_Lean_Meta_isExprDefEqAuxImpl(x_1496, x_1499, x_3, x_4, x_5, x_6, x_1500); +x_1502 = l_Lean_Meta_isExprDefEqAuxImpl(x_1496, x_1499, x_4, x_5, x_6, x_7, x_1500); if (lean_obj_tag(x_1502) == 0) { lean_object* x_1503; lean_object* x_1504; uint8_t x_1505; @@ -62841,11 +63337,11 @@ if (x_1508 == 0) lean_object* x_1509; lean_dec(x_2); lean_dec(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1509 = l_Lean_Meta_isExprDefEqAuxImpl(x_1496, x_1499, x_3, x_4, x_5, x_6, x_1500); +x_1509 = l_Lean_Meta_isExprDefEqAuxImpl(x_1496, x_1499, x_4, x_5, x_6, x_7, x_1500); if (lean_obj_tag(x_1509) == 0) { lean_object* x_1510; lean_object* x_1511; uint8_t x_1512; @@ -62878,13 +63374,13 @@ else lean_object* x_1515; lean_dec(x_1499); lean_dec(x_1496); +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_1515 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_3, x_4, x_5, x_6, x_1500); +x_1515 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_1, x_2, x_4, x_5, x_6, x_7, x_1500); if (lean_obj_tag(x_1515) == 0) { lean_object* x_1516; uint8_t x_1517; @@ -62898,13 +63394,13 @@ lean_dec(x_1516); x_1518 = lean_ctor_get(x_1515, 1); lean_inc(x_1518); lean_dec(x_1515); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_1519 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_3, x_4, x_5, x_6, x_1518); +x_1519 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(x_2, x_1, x_4, x_5, x_6, x_7, x_1518); if (lean_obj_tag(x_1519) == 0) { lean_object* x_1520; lean_object* x_1521; uint8_t x_1522; @@ -63031,11 +63527,11 @@ goto block_1055; block_1048: { lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; -x_1043 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1040, x_16, x_3, x_4, x_5, x_6, x_1042); +x_1043 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1040, x_16, x_4, x_5, x_6, x_7, x_1042); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_1044 = lean_ctor_get(x_1043, 1); lean_inc(x_1044); if (lean_is_exclusive(x_1043)) { @@ -63059,11 +63555,11 @@ return x_1047; block_1055: { lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; -x_1051 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1040, x_16, x_3, x_4, x_5, x_6, x_1050); +x_1051 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1040, x_16, x_4, x_5, x_6, x_7, x_1050); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_1052 = lean_ctor_get(x_1051, 1); lean_inc(x_1052); if (lean_is_exclusive(x_1051)) { @@ -63089,13 +63585,13 @@ block_1478: if (x_1056 == 0) { lean_object* x_1058; +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_1058 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_3, x_4, x_5, x_6, x_1057); +x_1058 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj(x_1, x_2, x_4, x_5, x_6, x_7, x_1057); if (lean_obj_tag(x_1058) == 0) { lean_object* x_1059; uint8_t x_1060; @@ -63117,13 +63613,13 @@ x_1063 = l_Lean_Expr_isApp(x_1); if (x_1063 == 0) { lean_object* x_1064; +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_1064 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1064 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1064) == 0) { lean_object* x_1065; uint8_t x_1066; @@ -63164,13 +63660,13 @@ lean_object* x_1071; lean_object* x_1072; x_1071 = lean_ctor_get(x_1064, 1); lean_inc(x_1071); lean_dec(x_1064); +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_1072 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1071); +x_1072 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1071); if (lean_obj_tag(x_1072) == 0) { lean_object* x_1073; uint8_t x_1074; @@ -63211,13 +63707,13 @@ lean_object* x_1079; lean_object* x_1080; x_1079 = lean_ctor_get(x_1072, 1); lean_inc(x_1079); lean_dec(x_1072); +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_1080 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1079); +x_1080 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1079); if (lean_obj_tag(x_1080) == 0) { lean_object* x_1081; uint8_t x_1082; @@ -63258,13 +63754,13 @@ lean_object* x_1087; lean_object* x_1088; x_1087 = lean_ctor_get(x_1080, 1); lean_inc(x_1087); lean_dec(x_1080); +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_1088 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1087); +x_1088 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1087); if (lean_obj_tag(x_1088) == 0) { lean_object* x_1089; uint8_t x_1090; @@ -63305,13 +63801,13 @@ lean_object* x_1095; lean_object* x_1096; x_1095 = lean_ctor_get(x_1088, 1); lean_inc(x_1095); lean_dec(x_1088); +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_1096 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_1095); +x_1096 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_1095); if (lean_obj_tag(x_1096) == 0) { lean_object* x_1097; uint8_t x_1098; @@ -63352,12 +63848,12 @@ lean_object* x_1103; lean_object* x_1104; x_1103 = lean_ctor_get(x_1096, 1); lean_inc(x_1103); lean_dec(x_1096); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_1104 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_1103); +x_1104 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_1103); if (lean_obj_tag(x_1104) == 0) { lean_object* x_1105; lean_object* x_1106; uint8_t x_1107; @@ -63477,13 +63973,13 @@ x_1120 = l_Lean_Expr_isApp(x_2); if (x_1120 == 0) { lean_object* x_1121; +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_1121 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1121 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1121) == 0) { lean_object* x_1122; uint8_t x_1123; @@ -63524,13 +64020,13 @@ lean_object* x_1128; lean_object* x_1129; x_1128 = lean_ctor_get(x_1121, 1); lean_inc(x_1128); lean_dec(x_1121); +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_1129 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1128); +x_1129 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1128); if (lean_obj_tag(x_1129) == 0) { lean_object* x_1130; uint8_t x_1131; @@ -63571,13 +64067,13 @@ lean_object* x_1136; lean_object* x_1137; x_1136 = lean_ctor_get(x_1129, 1); lean_inc(x_1136); lean_dec(x_1129); +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_1137 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1136); +x_1137 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1136); if (lean_obj_tag(x_1137) == 0) { lean_object* x_1138; uint8_t x_1139; @@ -63618,13 +64114,13 @@ lean_object* x_1144; lean_object* x_1145; x_1144 = lean_ctor_get(x_1137, 1); lean_inc(x_1144); lean_dec(x_1137); +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_1145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1144); +x_1145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1144); if (lean_obj_tag(x_1145) == 0) { lean_object* x_1146; uint8_t x_1147; @@ -63665,13 +64161,13 @@ lean_object* x_1152; lean_object* x_1153; x_1152 = lean_ctor_get(x_1145, 1); lean_inc(x_1152); lean_dec(x_1145); +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_1153 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_1152); +x_1153 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_1152); if (lean_obj_tag(x_1153) == 0) { lean_object* x_1154; uint8_t x_1155; @@ -63712,12 +64208,12 @@ lean_object* x_1160; lean_object* x_1161; x_1160 = lean_ctor_get(x_1153, 1); lean_inc(x_1160); lean_dec(x_1153); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_1161 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_1160); +x_1161 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_1160); if (lean_obj_tag(x_1161) == 0) { lean_object* x_1162; lean_object* x_1163; uint8_t x_1164; @@ -63833,13 +64329,13 @@ goto block_1055; else { lean_object* x_1177; +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_1177 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1177 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1177) == 0) { lean_object* x_1178; uint8_t x_1179; @@ -63880,13 +64376,13 @@ lean_object* x_1184; lean_object* x_1185; x_1184 = lean_ctor_get(x_1177, 1); lean_inc(x_1184); lean_dec(x_1177); +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_1185 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1184); +x_1185 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1184); if (lean_obj_tag(x_1185) == 0) { lean_object* x_1186; uint8_t x_1187; @@ -63927,13 +64423,13 @@ lean_object* x_1192; lean_object* x_1193; x_1192 = lean_ctor_get(x_1185, 1); lean_inc(x_1192); lean_dec(x_1185); +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_1193 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1192); +x_1193 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1192); if (lean_obj_tag(x_1193) == 0) { lean_object* x_1194; uint8_t x_1195; @@ -63974,13 +64470,13 @@ lean_object* x_1200; lean_object* x_1201; x_1200 = lean_ctor_get(x_1193, 1); lean_inc(x_1200); lean_dec(x_1193); +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_1201 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1200); +x_1201 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1200); if (lean_obj_tag(x_1201) == 0) { lean_object* x_1202; uint8_t x_1203; @@ -64021,11 +64517,11 @@ lean_object* x_1208; lean_object* x_1209; x_1208 = lean_ctor_get(x_1201, 1); lean_inc(x_1208); lean_dec(x_1201); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1209 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_1208); +x_1209 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_1208); if (lean_obj_tag(x_1209) == 0) { lean_object* x_1210; lean_object* x_1211; uint8_t x_1212; @@ -64134,13 +64630,13 @@ x_1224 = l_Lean_Expr_isApp(x_1); if (x_1224 == 0) { lean_object* x_1225; +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_1225 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1225 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1225) == 0) { lean_object* x_1226; uint8_t x_1227; @@ -64181,13 +64677,13 @@ lean_object* x_1232; lean_object* x_1233; x_1232 = lean_ctor_get(x_1225, 1); lean_inc(x_1232); lean_dec(x_1225); +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_1233 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1232); +x_1233 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1232); if (lean_obj_tag(x_1233) == 0) { lean_object* x_1234; uint8_t x_1235; @@ -64228,13 +64724,13 @@ lean_object* x_1240; lean_object* x_1241; x_1240 = lean_ctor_get(x_1233, 1); lean_inc(x_1240); lean_dec(x_1233); +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_1241 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1240); +x_1241 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1240); if (lean_obj_tag(x_1241) == 0) { lean_object* x_1242; uint8_t x_1243; @@ -64275,13 +64771,13 @@ lean_object* x_1248; lean_object* x_1249; x_1248 = lean_ctor_get(x_1241, 1); lean_inc(x_1248); lean_dec(x_1241); +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_1249 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1248); +x_1249 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1248); if (lean_obj_tag(x_1249) == 0) { lean_object* x_1250; uint8_t x_1251; @@ -64322,13 +64818,13 @@ lean_object* x_1256; lean_object* x_1257; x_1256 = lean_ctor_get(x_1249, 1); lean_inc(x_1256); lean_dec(x_1249); +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_1257 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_1256); +x_1257 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_1256); if (lean_obj_tag(x_1257) == 0) { lean_object* x_1258; uint8_t x_1259; @@ -64369,12 +64865,12 @@ lean_object* x_1264; lean_object* x_1265; x_1264 = lean_ctor_get(x_1257, 1); lean_inc(x_1264); lean_dec(x_1257); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_1265 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_1264); +x_1265 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_1264); if (lean_obj_tag(x_1265) == 0) { lean_object* x_1266; lean_object* x_1267; uint8_t x_1268; @@ -64494,13 +64990,13 @@ x_1281 = l_Lean_Expr_isApp(x_2); if (x_1281 == 0) { lean_object* x_1282; +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_1282 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1282 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1282) == 0) { lean_object* x_1283; uint8_t x_1284; @@ -64541,13 +65037,13 @@ lean_object* x_1289; lean_object* x_1290; x_1289 = lean_ctor_get(x_1282, 1); lean_inc(x_1289); lean_dec(x_1282); +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_1290 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1289); +x_1290 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1289); if (lean_obj_tag(x_1290) == 0) { lean_object* x_1291; uint8_t x_1292; @@ -64588,13 +65084,13 @@ lean_object* x_1297; lean_object* x_1298; x_1297 = lean_ctor_get(x_1290, 1); lean_inc(x_1297); lean_dec(x_1290); +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_1298 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1297); +x_1298 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1297); if (lean_obj_tag(x_1298) == 0) { lean_object* x_1299; uint8_t x_1300; @@ -64635,13 +65131,13 @@ lean_object* x_1305; lean_object* x_1306; x_1305 = lean_ctor_get(x_1298, 1); lean_inc(x_1305); lean_dec(x_1298); +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_1306 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1305); +x_1306 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1305); if (lean_obj_tag(x_1306) == 0) { lean_object* x_1307; uint8_t x_1308; @@ -64682,13 +65178,13 @@ lean_object* x_1313; lean_object* x_1314; x_1313 = lean_ctor_get(x_1306, 1); lean_inc(x_1313); lean_dec(x_1306); +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_1314 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_1313); +x_1314 = l_Lean_Meta_isDefEqStringLit(x_1, x_2, x_4, x_5, x_6, x_7, x_1313); if (lean_obj_tag(x_1314) == 0) { lean_object* x_1315; uint8_t x_1316; @@ -64729,12 +65225,12 @@ lean_object* x_1321; lean_object* x_1322; x_1321 = lean_ctor_get(x_1314, 1); lean_inc(x_1321); lean_dec(x_1314); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_1); -x_1322 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_1321); +x_1322 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(x_1, x_2, x_1, x_4, x_5, x_6, x_7, x_1321); if (lean_obj_tag(x_1322) == 0) { lean_object* x_1323; lean_object* x_1324; uint8_t x_1325; @@ -64850,13 +65346,13 @@ goto block_1055; else { lean_object* x_1338; +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_1338 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1338 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1338) == 0) { lean_object* x_1339; uint8_t x_1340; @@ -64897,13 +65393,13 @@ lean_object* x_1345; lean_object* x_1346; x_1345 = lean_ctor_get(x_1338, 1); lean_inc(x_1345); lean_dec(x_1338); +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_1346 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1345); +x_1346 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1345); if (lean_obj_tag(x_1346) == 0) { lean_object* x_1347; uint8_t x_1348; @@ -64944,13 +65440,13 @@ lean_object* x_1353; lean_object* x_1354; x_1353 = lean_ctor_get(x_1346, 1); lean_inc(x_1353); lean_dec(x_1346); +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_1354 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1353); +x_1354 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1353); if (lean_obj_tag(x_1354) == 0) { lean_object* x_1355; uint8_t x_1356; @@ -64991,13 +65487,13 @@ lean_object* x_1361; lean_object* x_1362; x_1361 = lean_ctor_get(x_1354, 1); lean_inc(x_1361); lean_dec(x_1354); +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_1362 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1361); +x_1362 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1361); if (lean_obj_tag(x_1362) == 0) { lean_object* x_1363; uint8_t x_1364; @@ -65038,11 +65534,11 @@ lean_object* x_1369; lean_object* x_1370; x_1369 = lean_ctor_get(x_1362, 1); lean_inc(x_1369); lean_dec(x_1362); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1370 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_3, x_4, x_5, x_6, x_1369); +x_1370 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(x_1, x_2, x_4, x_5, x_6, x_7, x_1369); if (lean_obj_tag(x_1370) == 0) { lean_object* x_1371; lean_object* x_1372; uint8_t x_1373; @@ -65151,13 +65647,13 @@ lean_dec(x_1384); if (x_1386 == 0) { lean_object* x_1387; +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_1387 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1387 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1387) == 0) { lean_object* x_1388; uint8_t x_1389; @@ -65198,13 +65694,13 @@ lean_object* x_1394; lean_object* x_1395; x_1394 = lean_ctor_get(x_1387, 1); lean_inc(x_1394); lean_dec(x_1387); +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_1395 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1394); +x_1395 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1394); if (lean_obj_tag(x_1395) == 0) { lean_object* x_1396; uint8_t x_1397; @@ -65245,13 +65741,13 @@ lean_object* x_1402; lean_object* x_1403; x_1402 = lean_ctor_get(x_1395, 1); lean_inc(x_1402); lean_dec(x_1395); +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_1403 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1402); +x_1403 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1402); if (lean_obj_tag(x_1403) == 0) { lean_object* x_1404; uint8_t x_1405; @@ -65292,11 +65788,11 @@ lean_object* x_1410; lean_object* x_1411; x_1410 = lean_ctor_get(x_1403, 1); lean_inc(x_1410); lean_dec(x_1403); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1411 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1410); +x_1411 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1410); if (lean_obj_tag(x_1411) == 0) { lean_object* x_1412; @@ -65395,13 +65891,13 @@ else lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; x_1425 = l_Lean_Expr_constLevels_x21(x_1); x_1426 = l_Lean_Expr_constLevels_x21(x_2); +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_1427 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_3, x_4, x_5, x_6, x_1061); +x_1427 = l_Lean_Meta_isDefEqNative(x_1, x_2, x_4, x_5, x_6, x_7, x_1061); if (lean_obj_tag(x_1427) == 0) { lean_object* x_1428; uint8_t x_1429; @@ -65446,13 +65942,13 @@ lean_object* x_1434; lean_object* x_1435; x_1434 = lean_ctor_get(x_1427, 1); lean_inc(x_1434); lean_dec(x_1427); +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_1435 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_3, x_4, x_5, x_6, x_1434); +x_1435 = l_Lean_Meta_isDefEqNat(x_1, x_2, x_4, x_5, x_6, x_7, x_1434); if (lean_obj_tag(x_1435) == 0) { lean_object* x_1436; uint8_t x_1437; @@ -65497,13 +65993,13 @@ lean_object* x_1442; lean_object* x_1443; x_1442 = lean_ctor_get(x_1435, 1); lean_inc(x_1442); lean_dec(x_1435); +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_1443 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_3, x_4, x_5, x_6, x_1442); +x_1443 = l_Lean_Meta_isDefEqOffset(x_1, x_2, x_4, x_5, x_6, x_7, x_1442); if (lean_obj_tag(x_1443) == 0) { lean_object* x_1444; uint8_t x_1445; @@ -65548,11 +66044,11 @@ lean_object* x_1450; lean_object* x_1451; x_1450 = lean_ctor_get(x_1443, 1); lean_inc(x_1450); lean_dec(x_1443); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1451 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_3, x_4, x_5, x_6, x_1450); +x_1451 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(x_1, x_2, x_4, x_5, x_6, x_7, x_1450); if (lean_obj_tag(x_1451) == 0) { lean_object* x_1452; uint8_t x_1453; @@ -65593,11 +66089,11 @@ lean_object* x_1458; lean_object* x_1459; x_1458 = lean_ctor_get(x_1451, 1); lean_inc(x_1458); lean_dec(x_1451); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_1459 = l_Lean_Meta_isListLevelDefEqAux(x_1425, x_1426, x_3, x_4, x_5, x_6, x_1458); +x_1459 = l_Lean_Meta_isListLevelDefEqAux(x_1425, x_1426, x_4, x_5, x_6, x_7, x_1458); if (lean_obj_tag(x_1459) == 0) { lean_object* x_1460; lean_object* x_1461; uint8_t x_1462; @@ -65747,10 +66243,10 @@ goto block_1048; else { uint8_t x_1537; +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_1537 = !lean_is_exclusive(x_10); @@ -65773,43 +66269,108 @@ return x_1540; } } } -block_1555: +} +static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__1() { +_start: { -if (x_1542 == 0) +lean_object* x_1; +x_1 = lean_mk_string("step"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2() { +_start: { -x_8 = x_1543; -goto block_1541; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; +x_2 = l_Lean_Meta_isExprDefEqAuxImpl___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Meta_isExprDefEqAuxImpl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_8 = l_Lean_Meta_isExprDefEqAuxImpl___closed__2; +x_26 = lean_st_ref_get(x_6, x_7); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = 0; +x_9 = x_31; +x_10 = x_30; +goto block_25; } else { -lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_dec(x_26); +x_33 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_3, x_4, x_5, x_6, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_unbox(x_34); +lean_dec(x_34); +x_9 = x_36; +x_10 = x_35; +goto block_25; +} +block_25: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_10); +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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_inc(x_1); -x_1544 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1544, 0, x_1); -x_1545 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__12; -x_1546 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1546, 0, x_1545); -lean_ctor_set(x_1546, 1, x_1544); -x_1547 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; -x_1548 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1548, 0, x_1546); -lean_ctor_set(x_1548, 1, x_1547); +x_13 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); lean_inc(x_2); -x_1549 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1549, 0, x_2); -x_1550 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1550, 0, x_1548); -lean_ctor_set(x_1550, 1, x_1549); -x_1551 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1551, 0, x_1550); -lean_ctor_set(x_1551, 1, x_1545); -x_1552 = l_Lean_Meta_isExprDefEqAuxImpl___closed__5; -x_1553 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1552, x_1551, x_3, x_4, x_5, x_6, x_1543); -x_1554 = lean_ctor_get(x_1553, 1); -lean_inc(x_1554); -lean_dec(x_1553); -x_8 = x_1554; -goto block_1541; +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_2); +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_14); +x_21 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_20, x_3, x_4, x_5, x_6, x_10); +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 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1, x_2, x_22, x_3, x_4, x_5, x_6, x_23); +lean_dec(x_22); +return x_24; } } } @@ -65826,7 +66387,16 @@ lean_dec(x_3); return x_8; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1() { +lean_object* l_Lean_Meta_isExprDefEqAuxImpl___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1() { _start: { lean_object* x_1; @@ -65834,12 +66404,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isExprDefEqAuxImpl), 7, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = l_Lean_Meta_isExprDefEqAuxRef; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1; x_4 = lean_st_ref_set(x_2, x_3, x_1); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) @@ -65861,7 +66431,7 @@ return x_8; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10079_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10790_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -65881,7 +66451,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2; +x_8 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2; x_9 = l_Lean_registerTraceClass(x_8, x_7); if (lean_obj_tag(x_9) == 0) { @@ -65897,7 +66467,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Meta_isExprDefEqAuxImpl___closed__5; +x_14 = l_Lean_Meta_isExprDefEqAuxImpl___closed__2; x_15 = l_Lean_registerTraceClass(x_14, x_13); if (lean_obj_tag(x_15) == 0) { @@ -66126,6 +66696,8 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19 = lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__19); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__20); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__21); l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__1); l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__2(); @@ -66152,20 +66724,20 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__ lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__5); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637____closed__2); -res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2637_(lean_io_mk_world()); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815____closed__2); +res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2815_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId); lean_dec_ref(res); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650____closed__2); -res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2650_(lean_io_mk_world()); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828____closed__2); +res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2828_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_outOfScopeExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_outOfScopeExceptionId); @@ -66272,18 +66844,16 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___cl lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg___closed__1); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__1); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___closed__2); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__2); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__3); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__4); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__2(); @@ -66308,6 +66878,10 @@ l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryH lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__3); l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__4); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__1); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___closed__2); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2(); @@ -66316,10 +66890,6 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3 = _in lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__5); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__6); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__2(); @@ -66358,22 +66928,22 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__18 = _init_l_ lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__18); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__19); +l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1); +l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__2); +l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__3); l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__1(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__2); -l_Lean_Meta_isExprDefEqAuxImpl___closed__3 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__3(); -lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__3); -l_Lean_Meta_isExprDefEqAuxImpl___closed__4 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__4(); -lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__4); -l_Lean_Meta_isExprDefEqAuxImpl___closed__5 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__5(); -lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10070_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10781_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10079_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_10790_(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/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 92a7d0f263..f33cb65a49 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -32,7 +32,6 @@ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___clos lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkConstructor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -49,20 +48,20 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher__ lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__2(lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addMotives(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__15; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__4; uint8_t l_USize_decEq(size_t, size_t); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___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_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5; lean_object* l_Lean_ConstantInfo_numLevelParams(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); @@ -77,6 +76,7 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher(lean_object*, lean_object*, lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5____closed__1; lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_maxBackwardChainingDepth___closed__1; @@ -90,9 +90,11 @@ lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_ch lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___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_Meta_IndPredBelow_mkCtorType_checkCount_match__1___rarg(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_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,12 +113,12 @@ lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx_match__1(lean_object*, lean_o uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___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*, lean_object*); lean_object* l_Lean_Name_updatePrefix(lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_commitWhen___at_Lean_Meta_elimEmptyInductive___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__1(lean_object*); -lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; -static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1; lean_object* l_Lean_Meta_IndPredBelow_backwardsChaining_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -155,10 +157,8 @@ lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___closed__2; lean_object* l_Lean_Meta_IndPredBelow_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__5___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_IndPredBelow_mkBelowMatcher_newMotive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__3; @@ -181,12 +181,13 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_match__3___rarg(lean_object lean_object* l_Array_zip___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___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_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___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*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__3; -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_copyVarName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1; lean_object* l_List_mapM___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType___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_IndPredBelow_mkBelowMatcher_transformFields_loop_match__1(lean_object*); @@ -200,6 +201,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__3; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,7 +243,9 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow__ lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder___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*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6; +lean_object* l_Lean_Meta_IndPredBelow_mkBelow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkContext_addMotives(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,11 +286,11 @@ lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__12; static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1; +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1; static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__1; lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_intros___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9; lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_getBelowIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,6 +302,7 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop_match_ static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; lean_object* l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__2(lean_object*); lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkContext_addMotives___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -311,6 +316,7 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowDecl(lean_object*, lean_object*, le lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_isInductivePredicate_visit(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2; lean_object* l_List_foldl___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__11; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); @@ -318,7 +324,7 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_match__1(lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_toInaccessible_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_induction___closed__1; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder___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_Meta_instMonadMetaM; @@ -360,7 +366,6 @@ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___clos lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addMotives___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_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___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*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(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_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___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_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__2; @@ -369,7 +374,6 @@ lean_object* l_Lean_LocalDecl_type(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__5___closed__2; lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_intros_match__1(lean_object*); lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3; static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5____closed__5; lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; @@ -379,7 +383,7 @@ lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addMotives___boxed__const__1; lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___boxed(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__3; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -397,8 +401,9 @@ extern lean_object* l_Lean_Meta_Match_instInhabitedPattern; lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern___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_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__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*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__6; -lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5254_(lean_object*); +lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5680_(lean_object*); lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5_(lean_object*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -419,9 +424,12 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__3(lean_object*, l lean_object* l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkContext___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* l_Lean_Name_append(lean_object*, lean_object*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__1; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__9; +lean_object* l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -446,7 +454,6 @@ lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__1; static lean_object* l_Lean_Meta_IndPredBelow_getBelowIndices_loop___closed__1; lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2; lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder(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_IndPredBelow_proveBrecOn_induction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -459,7 +466,6 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow_match__2___r lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_IndPredBelow_backwardsChaining___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_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_rebuild(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8; extern lean_object* l_Lean_instInhabitedName; lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___spec__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* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___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*); @@ -485,8 +491,8 @@ lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___bo static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__2; lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx_match__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___closed__4; @@ -504,6 +510,8 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__1; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__5; lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3; +lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -516,6 +524,8 @@ lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx(lean_object*, lean_object*, l lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___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_Std_fmt___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___closed__1; +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___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_Lean_instInhabitedInductiveVal; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___closed__2; lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_intros_match__1___rarg(lean_object*, lean_object*); @@ -542,7 +552,7 @@ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___clos lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___boxed(lean_object**); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount_match__3(lean_object*); @@ -11523,7 +11533,7 @@ x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); x_22 = l_Lean_Meta_IndPredBelow_proveBrecOn___closed__2; -x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); +x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_22, x_4, x_5, x_6, x_7, x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -11685,7 +11695,7 @@ x_48 = lean_ctor_get(x_19, 1); lean_inc(x_48); lean_dec(x_19); x_49 = l_Lean_Meta_IndPredBelow_proveBrecOn___closed__2; -x_50 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_49, x_4, x_5, x_6, x_7, x_48); +x_50 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_49, x_4, x_5, x_6, x_7, x_48); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -13947,7 +13957,20 @@ return x_28; } } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1() { +lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +} +static lean_object* _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -13955,81 +13978,77 @@ x_1 = lean_mk_string(" ↦ "); return x_1; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1; +x_1 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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) { _start: { -uint8_t x_10; lean_object* x_11; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_st_ref_get(x_8, x_9); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); -lean_dec(x_32); -if (x_33 == 0) +uint8_t x_10; lean_object* x_11; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_st_ref_get(x_8, x_9); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); +lean_dec(x_29); +if (x_30 == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_30, 1); -lean_inc(x_34); -lean_dec(x_30); -x_35 = 0; -x_10 = x_35; -x_11 = x_34; -goto block_29; +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_dec(x_27); +x_32 = 0; +x_10 = x_32; +x_11 = x_31; +goto block_26; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_dec(x_30); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); lean_inc(x_4); -x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_4, x_5, x_6, x_7, x_8, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_unbox(x_38); -lean_dec(x_38); -x_10 = x_40; -x_11 = x_39; -goto block_29; +x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_4, x_5, x_6, x_7, x_8, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_unbox(x_35); +lean_dec(x_35); +x_10 = x_37; +x_11 = x_36; +goto block_26; } -block_29: +block_26: { if (x_10 == 0) { lean_object* x_12; lean_object* x_13; lean_dec(x_4); lean_dec(x_3); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_2); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); +x_12 = lean_box(0); +x_13 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(x_1, x_2, x_12, x_5, x_6, x_7, x_8, x_11); 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; uint8_t x_23; +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; x_14 = l_Lean_Meta_Match_Pattern_toMessageData(x_3); x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2; +x_17 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -14042,32 +14061,14 @@ x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_15); x_22 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_4, x_21, x_5, x_6, x_7, x_8, x_11); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_2); -lean_ctor_set(x_22, 0, x_25); -return x_22; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, 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; -} +x_25 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(x_1, x_2, x_23, x_5, x_6, x_7, x_8, x_24); +lean_dec(x_23); +return x_25; } } } @@ -14309,7 +14310,7 @@ lean_ctor_set(x_81, 1, x_26); lean_ctor_set(x_81, 2, x_79); lean_ctor_set(x_81, 3, x_80); x_82 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_83 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___boxed), 9, 4); +x_83 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___boxed), 9, 4); lean_closure_set(x_83, 0, x_76); lean_closure_set(x_83, 1, x_81); lean_closure_set(x_83, 2, x_3); @@ -15194,11 +15195,24 @@ lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2(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); @@ -15467,145 +15481,132 @@ lean_inc(x_5); x_22 = l_Lean_Meta_mkLambdaFVars(x_19, x_3, x_20, x_21, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_8, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); -lean_dec(x_27); -if (x_28 == 0) +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_25 = x_22; +} else { + lean_dec_ref(x_22); + x_25 = lean_box(0); +} +x_26 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_41 = lean_st_ref_get(x_8, x_24); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); +lean_dec(x_43); +if (x_44 == 0) { -uint8_t x_29; -lean_dec(x_5); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) -{ -lean_object* x_30; -x_30 = lean_ctor_get(x_25, 0); -lean_dec(x_30); -lean_ctor_set(x_25, 0, x_23); -return x_25; +lean_object* x_45; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_27 = x_20; +x_28 = x_45; +goto block_40; } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_dec(x_25); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +lean_dec(x_41); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_26, x_5, x_6, x_7, x_8, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_27 = x_50; +x_28 = x_49; +goto block_40; } +block_40: +{ +if (x_27 == 0) +{ +lean_object* x_29; +lean_dec(x_5); +if (lean_is_scalar(x_25)) { + x_29 = lean_alloc_ctor(0, 2, 0); +} else { + x_29 = x_25; +} +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_28); +return x_29; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_25, 1); -lean_inc(x_33); +lean_object* 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_dec(x_25); -x_34 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_34, x_5, x_6, x_7, x_8, x_33); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -uint8_t x_38; +lean_inc(x_23); +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_23); +x_31 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__2; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_26, x_34, x_5, x_6, x_7, x_8, x_28); lean_dec(x_5); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_39; -x_39 = lean_ctor_get(x_35, 0); -lean_dec(x_39); +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); lean_ctor_set(x_35, 0, x_23); return x_35; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); lean_dec(x_35); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_23); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_23); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -lean_dec(x_35); -lean_inc(x_23); -x_43 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_43, 0, x_23); -x_44 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__2; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_34, x_47, x_5, x_6, x_7, x_8, x_42); +uint8_t x_51; lean_dec(x_5); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -lean_ctor_set(x_48, 0, x_23); -return x_48; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -} -else -{ -uint8_t x_53; -lean_dec(x_5); -x_53 = !lean_is_exclusive(x_22); -if (x_53 == 0) +x_51 = !lean_is_exclusive(x_22); +if (x_51 == 0) { return x_22; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_22, 0); -x_55 = lean_ctor_get(x_22, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_22, 0); +x_53 = lean_ctor_get(x_22, 1); +lean_inc(x_53); +lean_inc(x_52); lean_dec(x_22); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } @@ -16014,7 +16015,185 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5() { +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +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; uint8_t x_26; uint8_t x_27; lean_object* x_28; +x_18 = lean_array_get_size(x_1); +lean_inc(x_2); +x_19 = l_Array_toSubarray___rarg(x_1, x_2, x_18); +x_20 = l_Array_ofSubarray___rarg(x_19); +lean_dec(x_19); +x_21 = l_Array_append___rarg(x_3, x_20); +lean_dec(x_20); +x_22 = lean_array_get_size(x_4); +x_23 = l_Array_toSubarray___rarg(x_4, x_2, x_22); +x_24 = l_Array_ofSubarray___rarg(x_23); +lean_dec(x_23); +x_25 = l_Array_append___rarg(x_21, x_24); +lean_dec(x_24); +x_26 = 0; +x_27 = 1; +lean_inc(x_13); +x_28 = l_Lean_Meta_mkLambdaFVars(x_25, x_5, x_26, x_27, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_31 = x_28; +} else { + lean_dec_ref(x_28); + x_31 = lean_box(0); +} +x_55 = lean_st_ref_get(x_16, x_30); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 3); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec(x_55); +x_32 = x_26; +x_33 = x_59; +goto block_54; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_dec(x_55); +lean_inc(x_11); +x_61 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_11, x_13, x_14, x_15, x_16, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_32 = x_64; +x_33 = x_63; +goto block_54; +} +block_54: +{ +if (x_32 == 0) +{ +lean_object* x_34; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_31)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_31; +} +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_dec(x_31); +x_35 = l_Std_fmt___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___rarg(x_9); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__2; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__4; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_41, 0, x_10); +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +lean_inc(x_29); +x_45 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_45, 0, x_29); +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_11, x_48, x_13, x_14, x_15, x_16, x_33); +lean_dec(x_13); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_29); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_29); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -16022,16 +16201,16 @@ x_1 = lean_mk_string("xs = "); return x_1; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5; +x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -16039,16 +16218,16 @@ x_1 = lean_mk_string("; oldFVars = "); return x_1; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7; +x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -16056,16 +16235,16 @@ x_1 = lean_mk_string("; fvars = "); return x_1; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9; +x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -16073,19 +16252,19 @@ x_1 = lean_mk_string("; new = "); return x_1; } } -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12() { +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11; +x_1 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, lean_object* x_14) { _start: { -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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_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; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_15 = l_List_redLength___rarg(x_1); x_16 = lean_mk_empty_array_with_capacity(x_15); lean_dec(x_15); @@ -16110,343 +16289,172 @@ lean_inc(x_26); x_31 = l_Array_toSubarray___rarg(x_26, x_29, x_27); x_32 = l_Array_ofSubarray___rarg(x_31); lean_dec(x_31); -x_33 = lean_st_ref_get(x_13, x_14); +x_33 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_34 = lean_st_ref_get(x_13, x_14); if (x_30 == 0) { lean_dec(x_28); -x_34 = x_8; -goto block_147; +x_35 = x_8; +goto block_95; } else { -uint8_t x_148; -x_148 = lean_nat_dec_eq(x_28, x_29); +uint8_t x_96; +x_96 = lean_nat_dec_eq(x_28, x_29); lean_dec(x_28); -if (x_148 == 0) +if (x_96 == 0) { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_149 = lean_array_get_size(x_8); -x_150 = lean_unsigned_to_nat(1u); -x_151 = l_Array_toSubarray___rarg(x_8, x_150, x_149); -x_152 = l_Array_ofSubarray___rarg(x_151); -lean_dec(x_151); -x_34 = x_152; -goto block_147; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_97 = lean_array_get_size(x_8); +x_98 = lean_unsigned_to_nat(1u); +x_99 = l_Array_toSubarray___rarg(x_8, x_98, x_97); +x_100 = l_Array_ofSubarray___rarg(x_99); +lean_dec(x_99); +x_35 = x_100; +goto block_95; } else { -x_34 = x_8; -goto block_147; +x_35 = x_8; +goto block_95; } } -block_147: +block_95: { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_93; lean_object* x_94; lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_inc(x_27); -lean_inc(x_34); -x_35 = l_Array_toSubarray___rarg(x_34, x_29, x_27); -x_36 = l_Array_ofSubarray___rarg(x_35); -lean_dec(x_35); -x_37 = l_Lean_Expr_replaceFVars(x_9, x_36, x_32); +lean_inc(x_35); +x_36 = l_Array_toSubarray___rarg(x_35, x_29, x_27); +x_37 = l_Array_ofSubarray___rarg(x_36); lean_dec(x_36); -x_136 = lean_ctor_get(x_33, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_136, 3); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_ctor_get_uint8(x_137, sizeof(void*)*1); -lean_dec(x_137); -if (x_138 == 0) -{ -lean_object* x_139; uint8_t x_140; -x_139 = lean_ctor_get(x_33, 1); -lean_inc(x_139); -lean_dec(x_33); -x_140 = 0; -x_93 = x_140; -x_94 = x_139; -goto block_135; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_141 = lean_ctor_get(x_33, 1); -lean_inc(x_141); -lean_dec(x_33); -x_142 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_143 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_142, x_10, x_11, x_12, x_13, x_141); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_unbox(x_144); -lean_dec(x_144); -x_93 = x_146; -x_94 = x_145; -goto block_135; -} -block_92: -{ -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; uint8_t x_47; uint8_t x_48; lean_object* x_49; -x_39 = lean_array_get_size(x_34); -lean_inc(x_27); -x_40 = l_Array_toSubarray___rarg(x_34, x_27, x_39); -x_41 = l_Array_ofSubarray___rarg(x_40); -lean_dec(x_40); -x_42 = l_Array_append___rarg(x_32, x_41); -lean_dec(x_41); -x_43 = lean_array_get_size(x_26); -x_44 = l_Array_toSubarray___rarg(x_26, x_27, x_43); -x_45 = l_Array_ofSubarray___rarg(x_44); -lean_dec(x_44); -x_46 = l_Array_append___rarg(x_42, x_45); -lean_dec(x_45); -x_47 = 0; -x_48 = 1; -lean_inc(x_10); -x_49 = l_Lean_Meta_mkLambdaFVars(x_46, x_37, x_47, x_48, x_10, x_11, x_12, x_13, x_38); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_52 = x_49; -} else { - lean_dec_ref(x_49); - x_52 = lean_box(0); -} -x_77 = lean_st_ref_get(x_13, x_51); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_78, 3); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_ctor_get_uint8(x_79, sizeof(void*)*1); -lean_dec(x_79); -if (x_80 == 0) -{ -lean_object* x_81; -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_53 = x_47; -x_54 = x_81; -goto block_76; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_dec(x_77); -x_83 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_84 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_83, x_10, x_11, x_12, x_13, x_82); -x_85 = lean_ctor_get(x_84, 0); +x_38 = l_Lean_Expr_replaceFVars(x_9, x_37, x_32); +lean_dec(x_37); +x_85 = lean_ctor_get(x_34, 0); lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); +x_86 = lean_ctor_get(x_85, 3); lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_unbox(x_85); lean_dec(x_85); -x_53 = x_87; -x_54 = x_86; -goto block_76; -} -block_76: +x_87 = lean_ctor_get_uint8(x_86, sizeof(void*)*1); +lean_dec(x_86); +if (x_87 == 0) { -if (x_53 == 0) -{ -lean_object* x_55; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -if (lean_is_scalar(x_52)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_52; -} -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_object* x_88; uint8_t x_89; +x_88 = lean_ctor_get(x_34, 1); +lean_inc(x_88); +lean_dec(x_34); +x_89 = 0; +x_39 = x_89; +x_40 = x_88; +goto block_84; } 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; uint8_t x_72; -lean_dec(x_52); -x_56 = l_Std_fmt___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___rarg(x_6); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__2; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_90 = lean_ctor_get(x_34, 1); +lean_inc(x_90); +lean_dec(x_34); +x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_33, x_10, x_11, x_12, x_13, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_unbox(x_92); +lean_dec(x_92); +x_39 = x_94; +x_40 = x_93; +goto block_84; +} +block_84: +{ +if (x_39 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_17); +x_41 = lean_box(0); +x_42 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1(x_35, x_27, x_32, x_26, x_38, x_3, x_4, x_5, x_6, x_7, x_33, x_41, x_10, x_11, x_12, x_13, x_40); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_inc(x_35); +x_43 = lean_array_to_list(lean_box(0), x_35); +x_44 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_43); +x_45 = l_Lean_MessageData_ofList(x_44); +lean_dec(x_44); +x_46 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_usize_of_nat(x_27); +x_51 = x_17; +x_52 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__2(x_50, x_23, x_51); +x_53 = x_52; +x_54 = lean_array_to_list(lean_box(0), x_53); +x_55 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_54); +x_56 = l_Lean_MessageData_ofList(x_55); +lean_dec(x_55); +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_49); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6; x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__4; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_62, 0, x_7); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +lean_inc(x_26); +x_60 = lean_array_to_list(lean_box(0), x_26); +x_61 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_60); +x_62 = l_Lean_MessageData_ofList(x_61); +lean_dec(x_61); x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 0, x_59); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2; +x_64 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8; x_65 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); -lean_inc(x_50); -x_66 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_66, 0, x_50); -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_71 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_70, x_69, x_10, x_11, x_12, x_13, x_54); -lean_dec(x_10); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_71, 0); -lean_dec(x_73); -lean_ctor_set(x_71, 0, x_50); -return x_71; -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_50); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -} -else -{ -uint8_t x_88; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -x_88 = !lean_is_exclusive(x_49); -if (x_88 == 0) -{ -return x_49; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_49, 0); -x_90 = lean_ctor_get(x_49, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_49); -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_135: -{ -if (x_93 == 0) -{ -lean_dec(x_17); -x_38 = 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; size_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_inc(x_34); -x_95 = lean_array_to_list(lean_box(0), x_34); -x_96 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_95); -x_97 = l_Lean_MessageData_ofList(x_96); -lean_dec(x_96); -x_98 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6; -x_99 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8; -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_usize_of_nat(x_27); -x_103 = x_17; -x_104 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__2(x_102, x_23, x_103); -x_105 = x_104; -x_106 = lean_array_to_list(lean_box(0), x_105); -x_107 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_106); -x_108 = l_Lean_MessageData_ofList(x_107); -lean_dec(x_107); -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_101); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -lean_inc(x_26); -x_112 = lean_array_to_list(lean_box(0), x_26); -x_113 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_112); -x_114 = l_Lean_MessageData_ofList(x_113); -lean_dec(x_113); -x_115 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_115, 0, x_111); -lean_ctor_set(x_115, 1, x_114); -x_116 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12; -x_117 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_get_size(x_34); +x_66 = lean_array_get_size(x_35); lean_inc(x_27); -lean_inc(x_34); -x_119 = l_Array_toSubarray___rarg(x_34, x_27, x_118); -x_120 = l_Array_ofSubarray___rarg(x_119); -lean_dec(x_119); +lean_inc(x_35); +x_67 = l_Array_toSubarray___rarg(x_35, x_27, x_66); +x_68 = l_Array_ofSubarray___rarg(x_67); +lean_dec(x_67); lean_inc(x_32); -x_121 = l_Array_append___rarg(x_32, x_120); -lean_dec(x_120); -x_122 = lean_array_get_size(x_26); +x_69 = l_Array_append___rarg(x_32, x_68); +lean_dec(x_68); +x_70 = lean_array_get_size(x_26); lean_inc(x_27); lean_inc(x_26); -x_123 = l_Array_toSubarray___rarg(x_26, x_27, x_122); -x_124 = l_Array_ofSubarray___rarg(x_123); -lean_dec(x_123); -x_125 = l_Array_append___rarg(x_121, x_124); -lean_dec(x_124); -x_126 = lean_array_to_list(lean_box(0), x_125); -x_127 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_126); -x_128 = l_Lean_MessageData_ofList(x_127); -lean_dec(x_127); -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_117); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_133 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_132, x_131, x_10, x_11, x_12, x_13, x_94); -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -lean_dec(x_133); -x_38 = x_134; -goto block_92; +x_71 = l_Array_toSubarray___rarg(x_26, x_27, x_70); +x_72 = l_Array_ofSubarray___rarg(x_71); +lean_dec(x_71); +x_73 = l_Array_append___rarg(x_69, x_72); +lean_dec(x_72); +x_74 = lean_array_to_list(lean_box(0), x_73); +x_75 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_74); +x_76 = l_Lean_MessageData_ofList(x_75); +lean_dec(x_75); +x_77 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_77, 0, x_65); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_33, x_79, x_10, x_11, x_12, x_13, x_40); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1(x_35, x_27, x_32, x_26, x_38, x_3, x_4, x_5, x_6, x_7, x_33, x_81, x_10, x_11, x_12, x_13, x_82); +lean_dec(x_81); +return x_83; } } } @@ -16489,7 +16497,7 @@ lean_inc(x_6); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_26 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___boxed), 14, 7); +x_26 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___boxed), 14, 7); lean_closure_set(x_26, 0, x_23); lean_closure_set(x_26, 1, x_24); lean_closure_set(x_26, 2, x_1); @@ -16699,92 +16707,93 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 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); lean_dec(x_1); -x_11 = lean_ctor_get(x_9, 2); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_List_mapM___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6(x_11, x_3, x_4, x_5, x_6, x_7); -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_get(x_6, 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); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_13); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_1 = x_10; -x_2 = x_20; -x_7 = x_19; -goto _start; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_23, x_3, x_4, x_5, x_6, x_22); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_13); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_box(0); -x_1 = x_10; -x_2 = x_28; -x_7 = x_27; -goto _start; -} -else -{ -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_30 = lean_ctor_get(x_24, 1); -lean_inc(x_30); -lean_dec(x_24); -x_31 = l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__2(x_13); -x_32 = l_Lean_MessageData_ofList(x_31); +x_11 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_30 = lean_st_ref_get(x_6, x_7); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); lean_dec(x_31); -x_33 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_23, x_35, x_3, x_4, x_5, x_6, x_30); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_box(0); +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 0; +x_12 = x_35; +x_13 = x_34; +goto block_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_dec(x_30); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_11, x_3, x_4, x_5, x_6, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_12 = x_40; +x_13 = x_39; +goto block_29; +} +block_29: +{ +if (x_12 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +x_14 = lean_box(0); x_1 = x_10; -x_2 = x_38; -x_7 = x_37; +x_2 = x_14; +x_7 = x_13; +goto _start; +} +else +{ +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; +x_16 = lean_ctor_get(x_9, 2); +lean_inc(x_16); +lean_dec(x_9); +x_17 = l_List_mapM___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6(x_16, x_3, x_4, x_5, x_6, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__2(x_18); +x_21 = l_Lean_MessageData_ofList(x_20); +lean_dec(x_20); +x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_11, x_24, x_3, x_4, x_5, x_6, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_box(0); +x_1 = x_10; +x_2 = x_27; +x_7 = x_26; goto _start; } } @@ -18054,11 +18063,43 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_18; +} +} +lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___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, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18419,7 +18460,162 @@ return x_33; } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1() { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___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) +{ +lean_object* 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); +lean_dec(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_3); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, 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) +{ +lean_object* 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); +lean_dec(x_4); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_3); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, 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); +lean_inc(x_2); +x_23 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_2, x_1, x_21, x_22, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +uint8_t x_26; +lean_dec(x_4); +x_26 = !lean_is_exclusive(x_23); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_dec(x_27); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_2); +lean_ctor_set(x_28, 1, x_3); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_23, 0, x_29); +return x_23; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_dec(x_23); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_3); +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_30); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_23); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_23, 0); +lean_dec(x_35); +lean_ctor_set(x_23, 0, x_4); +return x_23; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_23, 1); +lean_inc(x_36); +lean_dec(x_23); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_4); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) +{ +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -18427,16 +18623,16 @@ x_1 = lean_mk_string("could not find below term in the local context"); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -18444,15 +18640,251 @@ x_1 = lean_mk_string("Found below term in the local context: "); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_Expr_mvarId_x21(x_1); +x_13 = lean_unsigned_to_nat(10u); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_14 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_12, x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_5); +lean_dec(x_1); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_18 = x_14; +} else { + lean_dec_ref(x_14); + x_18 = lean_box(0); +} +x_29 = lean_st_ref_get(x_10, x_17); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_19 = x_34; +x_20 = x_33; +goto block_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +lean_inc(x_3); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_3, x_7, x_8, x_9, x_10, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_19 = x_39; +x_20 = x_38; +goto block_28; +} +block_28: +{ +if (x_19 == 0) +{ +lean_object* x_21; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +if (lean_is_scalar(x_18)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_18; +} +lean_ctor_set(x_21, 0, x_2); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_18); +x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2; +x_23 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_3, x_22, x_7, x_8, x_9, x_10, x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_2); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +else +{ +lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_40 = lean_ctor_get(x_14, 1); +lean_inc(x_40); +lean_dec(x_14); +x_55 = lean_st_ref_get(x_10, x_40); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 3); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec(x_55); +x_60 = 0; +x_41 = x_60; +x_42 = x_59; +goto block_54; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_61 = lean_ctor_get(x_55, 1); +lean_inc(x_61); +lean_dec(x_55); +lean_inc(x_3); +x_62 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_3, x_7, x_8, x_9, x_10, 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_unbox(x_63); +lean_dec(x_63); +x_41 = x_65; +x_42 = x_64; +goto block_54; +} +block_54: +{ +if (x_41 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_3); +x_43 = lean_box(0); +x_44 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1(x_4, x_1, x_5, x_2, x_43, x_7, x_8, x_9, x_10, x_42); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_inc(x_1); +x_45 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_45, 0, x_1); +x_46 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_3, x_49, x_7, x_8, x_9, x_10, x_42); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1(x_4, x_1, x_5, x_2, x_51, x_7, x_8, x_9, x_10, x_52); +lean_dec(x_51); +return x_53; +} +} +} +} +else +{ +uint8_t x_66; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_14); +if (x_66 == 0) +{ +return x_14; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_14, 0); +x_68 = lean_ctor_get(x_14, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_14); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +} lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_11, lean_object* x_12) { _start: { @@ -18501,648 +18933,248 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_20 = x_17; -} else { - lean_dec_ref(x_17); - x_20 = lean_box(0); -} -x_21 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_15, x_8, x_9, x_10, x_11, x_12); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_unbox(x_22); -lean_dec(x_22); -if (x_23 == 0) +lean_dec(x_17); +x_20 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_15, x_8, x_9, x_10, x_11, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) { -uint8_t x_24; -lean_dec(x_20); +uint8_t x_23; lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_24 = !lean_is_exclusive(x_21); -if (x_24 == 0) +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_21, 0); -lean_dec(x_25); -lean_ctor_set(x_21, 0, x_3); -return x_21; +lean_object* x_24; +x_24 = lean_ctor_get(x_20, 0); +lean_dec(x_24); +lean_ctor_set(x_20, 0, x_3); +return x_20; } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_21, 1); -lean_inc(x_26); -lean_dec(x_21); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_3); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_3); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -lean_dec(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_dec(x_20); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_29 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_19, x_8, x_9, x_10, x_11, x_28); -if (lean_obj_tag(x_29) == 0) +x_28 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_19, x_8, x_9, x_10, x_11, x_27); +if (lean_obj_tag(x_28) == 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_72; -x_30 = lean_ctor_get(x_29, 0); +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; uint8_t x_37; lean_object* x_38; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +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_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_34 = lean_box(0); +x_32 = lean_box(0); lean_inc(x_8); -x_35 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_32, x_34, x_8, x_9, x_10, x_11, x_31); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_38 = x_35; -} else { - lean_dec_ref(x_35); - x_38 = lean_box(0); -} -x_39 = l_Lean_Expr_mvarId_x21(x_36); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_72 = l_Lean_Meta_ppGoal(x_39, x_8, x_9, x_10, x_11, x_37); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_130 = lean_st_ref_get(x_11, x_74); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_131, 3); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_ctor_get_uint8(x_132, sizeof(void*)*1); -lean_dec(x_132); -if (x_133 == 0) -{ -lean_object* x_134; -lean_dec(x_73); -x_134 = lean_ctor_get(x_130, 1); -lean_inc(x_134); -lean_dec(x_130); -x_75 = x_134; -goto block_129; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_135 = lean_ctor_get(x_130, 1); -lean_inc(x_135); -lean_dec(x_130); -x_136 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_137 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_136, x_8, x_9, x_10, x_11, x_135); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_unbox(x_138); -lean_dec(x_138); -if (x_139 == 0) -{ -lean_object* x_140; -lean_dec(x_73); -x_140 = lean_ctor_get(x_137, 1); -lean_inc(x_140); -lean_dec(x_137); -x_75 = x_140; -goto block_129; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_141 = lean_ctor_get(x_137, 1); -lean_inc(x_141); -lean_dec(x_137); -x_142 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_142, 0, x_73); -x_143 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_136, x_145, x_8, x_9, x_10, x_11, x_141); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -lean_dec(x_146); -x_75 = x_147; -goto block_129; -} -} -block_129: -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_77 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_39, x_76, x_8, x_9, x_10, x_11, x_75); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; uint8_t x_79; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_unbox(x_78); -lean_dec(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -lean_dec(x_38); -lean_dec(x_36); +x_33 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_31, x_32, x_8, x_9, x_10, x_11, x_30); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); lean_dec(x_33); -lean_dec(x_20); -lean_dec(x_19); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_81 = lean_st_ref_get(x_11, x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_82, 3); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_ctor_get_uint8(x_83, sizeof(void*)*1); -lean_dec(x_83); -if (x_84 == 0) -{ -uint8_t x_85; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_85 = !lean_is_exclusive(x_81); -if (x_85 == 0) -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_81, 0); -lean_dec(x_86); -lean_ctor_set(x_81, 0, x_3); -return x_81; -} -else -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_81, 1); -lean_inc(x_87); -lean_dec(x_81); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_3); -lean_ctor_set(x_88, 1, x_87); -return x_88; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_89 = lean_ctor_get(x_81, 1); -lean_inc(x_89); -lean_dec(x_81); -x_90 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_90, x_8, x_9, x_10, x_11, x_89); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_unbox(x_92); -lean_dec(x_92); -if (x_93 == 0) -{ -uint8_t x_94; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_94 = !lean_is_exclusive(x_91); -if (x_94 == 0) -{ -lean_object* x_95; -x_95 = lean_ctor_get(x_91, 0); -lean_dec(x_95); -lean_ctor_set(x_91, 0, x_3); -return x_91; -} -else -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_91, 1); -lean_inc(x_96); -lean_dec(x_91); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_3); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_91, 1); -lean_inc(x_98); -lean_dec(x_91); -x_99 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_100 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_90, x_99, x_8, x_9, x_10, x_11, x_98); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set(x_100, 0, x_3); -return x_100; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_3); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_105 = lean_ctor_get(x_77, 1); -lean_inc(x_105); -lean_dec(x_77); -x_106 = lean_st_ref_get(x_11, x_105); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_107, 3); -lean_inc(x_108); -lean_dec(x_107); -x_109 = lean_ctor_get_uint8(x_108, sizeof(void*)*1); -lean_dec(x_108); -if (x_109 == 0) -{ -lean_object* x_110; -x_110 = lean_ctor_get(x_106, 1); -lean_inc(x_110); -lean_dec(x_106); -x_40 = x_110; -goto block_71; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_111 = lean_ctor_get(x_106, 1); -lean_inc(x_111); -lean_dec(x_106); -x_112 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_113 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_112, x_8, x_9, x_10, x_11, x_111); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_unbox(x_114); -lean_dec(x_114); -if (x_115 == 0) -{ -lean_object* x_116; -x_116 = lean_ctor_get(x_113, 1); -lean_inc(x_116); -lean_dec(x_113); -x_40 = x_116; -goto block_71; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_117 = lean_ctor_get(x_113, 1); -lean_inc(x_117); -lean_dec(x_113); -lean_inc(x_36); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_36); -x_119 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_122 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_112, x_122, x_8, x_9, x_10, x_11, x_117); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_40 = x_124; -goto block_71; -} -} -} -} -else -{ -uint8_t x_125; -lean_dec(x_38); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_125 = !lean_is_exclusive(x_77); -if (x_125 == 0) -{ -lean_object* x_126; -x_126 = lean_ctor_get(x_77, 0); -lean_dec(x_126); -lean_ctor_set_tag(x_77, 0); -lean_ctor_set(x_77, 0, x_3); -return x_77; -} -else -{ -lean_object* x_127; lean_object* x_128; -x_127 = lean_ctor_get(x_77, 1); -lean_inc(x_127); -lean_dec(x_77); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_3); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -} -else -{ -uint8_t x_148; -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_148 = !lean_is_exclusive(x_72); -if (x_148 == 0) -{ -lean_object* x_149; -x_149 = lean_ctor_get(x_72, 0); -lean_dec(x_149); -lean_ctor_set_tag(x_72, 0); -lean_ctor_set(x_72, 0, x_3); -return x_72; -} -else -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_72, 1); -lean_inc(x_150); -lean_dec(x_72); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_3); -lean_ctor_set(x_151, 1, x_150); -return x_151; -} -} -block_71: -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_array_get_size(x_1); -x_42 = lean_nat_dec_lt(x_16, x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_41); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_33)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_33; -} -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_19); -if (lean_is_scalar(x_20)) { - x_44 = lean_alloc_ctor(1, 1, 0); -} else { - x_44 = x_20; -} -lean_ctor_set(x_44, 0, x_43); -if (lean_is_scalar(x_38)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_38; -} -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_40); -return x_45; -} -else -{ -uint8_t x_46; -x_46 = lean_nat_dec_le(x_41, x_41); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_41); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_33)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_33; -} -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_19); -if (lean_is_scalar(x_20)) { - x_48 = lean_alloc_ctor(1, 1, 0); -} else { - x_48 = x_20; -} -lean_ctor_set(x_48, 0, x_47); -if (lean_is_scalar(x_38)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_38; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_40); -return x_49; -} -else -{ -size_t x_50; size_t x_51; lean_object* x_52; -lean_dec(x_38); -x_50 = 0; -x_51 = lean_usize_of_nat(x_41); -lean_dec(x_41); -lean_inc(x_36); -x_52 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_36, x_1, x_50, x_51, x_8, x_9, x_10, x_11, x_40); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; uint8_t x_54; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_unbox(x_53); -lean_dec(x_53); -if (x_54 == 0) -{ -uint8_t x_55; -lean_dec(x_3); -x_55 = !lean_is_exclusive(x_52); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_52, 0); -lean_dec(x_56); -if (lean_is_scalar(x_33)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_33; -} -lean_ctor_set(x_57, 0, x_36); -lean_ctor_set(x_57, 1, x_19); -if (lean_is_scalar(x_20)) { - x_58 = lean_alloc_ctor(1, 1, 0); -} else { - x_58 = x_20; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_52, 0, x_58); -return x_52; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_52, 1); -lean_inc(x_59); -lean_dec(x_52); -if (lean_is_scalar(x_33)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_33; -} -lean_ctor_set(x_60, 0, x_36); -lean_ctor_set(x_60, 1, x_19); -if (lean_is_scalar(x_20)) { - x_61 = lean_alloc_ctor(1, 1, 0); -} else { - x_61 = x_20; -} -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} -} -else -{ -uint8_t x_63; -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_20); -lean_dec(x_19); -x_63 = !lean_is_exclusive(x_52); -if (x_63 == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_52, 0); -lean_dec(x_64); -lean_ctor_set(x_52, 0, x_3); -return x_52; -} -else -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_52, 1); -lean_inc(x_65); -lean_dec(x_52); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_3); -lean_ctor_set(x_66, 1, x_65); -return x_66; -} -} -} -else -{ -uint8_t x_67; -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_20); -lean_dec(x_19); -x_67 = !lean_is_exclusive(x_52); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_52, 0); +x_36 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_66 = lean_st_ref_get(x_11, x_35); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); lean_dec(x_68); -lean_ctor_set_tag(x_52, 0); -lean_ctor_set(x_52, 0, x_3); -return x_52; +if (x_69 == 0) +{ +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_37 = x_71; +x_38 = x_70; +goto block_65; } else { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_52, 1); -lean_inc(x_69); -lean_dec(x_52); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_3); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_36, x_8, x_9, x_10, x_11, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_37 = x_76; +x_38 = x_75; +goto block_65; } +block_65: +{ +if (x_37 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_box(0); +lean_inc(x_3); +x_40 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_39, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_40) == 0) +{ +lean_dec(x_3); +return x_40; +} +else +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +lean_ctor_set_tag(x_40, 0); +lean_ctor_set(x_40, 0, x_3); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_3); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = l_Lean_Expr_mvarId_x21(x_34); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_46 = l_Lean_Meta_ppGoal(x_45, x_8, x_9, x_10, x_11, x_38); +lean_dec(x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_47); +x_50 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_36, x_52, x_8, x_9, x_10, x_11, x_48); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +lean_inc(x_3); +x_56 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_54, x_8, x_9, x_10, x_11, x_55); +lean_dec(x_54); +if (lean_obj_tag(x_56) == 0) +{ +lean_dec(x_3); +return x_56; +} +else +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set_tag(x_56, 0); +lean_ctor_set(x_56, 0, x_3); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_3); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_34); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +lean_ctor_set_tag(x_46, 0); +lean_ctor_set(x_46, 0, x_3); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_3); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } @@ -19150,31 +19182,30 @@ return x_70; } else { -uint8_t x_152; -lean_dec(x_20); +uint8_t x_77; lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -x_152 = !lean_is_exclusive(x_29); -if (x_152 == 0) +x_77 = !lean_is_exclusive(x_28); +if (x_77 == 0) { -return x_29; +return x_28; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_29, 0); -x_154 = lean_ctor_get(x_29, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_29); -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* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_28, 0); +x_79 = lean_ctor_get(x_28, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_28); +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; } } } @@ -19183,722 +19214,321 @@ return x_155; } case 1: { -lean_object* x_156; +lean_object* x_81; lean_dec(x_7); lean_dec(x_6); -x_156 = l_Lean_Expr_constName_x3f(x_5); +x_81 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_156) == 0) +if (lean_obj_tag(x_81) == 0) { -lean_object* x_157; +lean_object* x_82; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_3); -lean_ctor_set(x_157, 1, x_12); -return x_157; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_3); +lean_ctor_set(x_82, 1, x_12); +return x_82; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_156, 0); -lean_inc(x_158); -lean_dec(x_156); -x_159 = lean_unsigned_to_nat(0u); -x_160 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_159); -if (lean_obj_tag(x_160) == 0) +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_unsigned_to_nat(0u); +x_85 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_84); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_161; -lean_dec(x_158); +lean_object* x_86; +lean_dec(x_83); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_3); -lean_ctor_set(x_161, 1, x_12); -return x_161; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_3); +lean_ctor_set(x_86, 1, x_12); +return x_86; } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; -x_162 = lean_ctor_get(x_160, 0); -lean_inc(x_162); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - x_163 = x_160; -} else { - lean_dec_ref(x_160); - x_163 = lean_box(0); -} -x_164 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_158, x_8, x_9, x_10, x_11, x_12); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_unbox(x_165); -lean_dec(x_165); -if (x_166 == 0) +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_83, x_8, x_9, x_10, x_11, x_12); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +if (x_90 == 0) { -uint8_t x_167; -lean_dec(x_163); -lean_dec(x_162); +uint8_t x_91; +lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_167 = !lean_is_exclusive(x_164); -if (x_167 == 0) +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) { -lean_object* x_168; -x_168 = lean_ctor_get(x_164, 0); -lean_dec(x_168); -lean_ctor_set(x_164, 0, x_3); -return x_164; +lean_object* x_92; +x_92 = lean_ctor_get(x_88, 0); +lean_dec(x_92); +lean_ctor_set(x_88, 0, x_3); +return x_88; } else { -lean_object* x_169; lean_object* x_170; -x_169 = lean_ctor_get(x_164, 1); -lean_inc(x_169); -lean_dec(x_164); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_3); -lean_ctor_set(x_170, 1, x_169); -return x_170; +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); +lean_dec(x_88); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_3); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } else { -lean_object* x_171; lean_object* x_172; -x_171 = lean_ctor_get(x_164, 1); -lean_inc(x_171); -lean_dec(x_164); +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_88, 1); +lean_inc(x_95); +lean_dec(x_88); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_172 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_162, x_8, x_9, x_10, x_11, x_171); -if (lean_obj_tag(x_172) == 0) +x_96 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_87, x_8, x_9, x_10, x_11, x_95); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_215; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_176 = x_173; -} else { - lean_dec_ref(x_173); - x_176 = lean_box(0); -} -x_177 = lean_box(0); +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; uint8_t x_105; lean_object* x_106; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_box(0); lean_inc(x_8); -x_178 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_175, x_177, x_8, x_9, x_10, x_11, x_174); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_181 = x_178; -} else { - lean_dec_ref(x_178); - x_181 = lean_box(0); +x_101 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_99, x_100, x_8, x_9, x_10, x_11, x_98); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_134 = lean_st_ref_get(x_11, x_103); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_135, 3); +lean_inc(x_136); +lean_dec(x_135); +x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; uint8_t x_139; +x_138 = lean_ctor_get(x_134, 1); +lean_inc(x_138); +lean_dec(x_134); +x_139 = 0; +x_105 = x_139; +x_106 = x_138; +goto block_133; } -x_182 = l_Lean_Expr_mvarId_x21(x_179); +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_140 = lean_ctor_get(x_134, 1); +lean_inc(x_140); +lean_dec(x_134); +x_141 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_104, x_8, x_9, x_10, x_11, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = lean_unbox(x_142); +lean_dec(x_142); +x_105 = x_144; +x_106 = x_143; +goto block_133; +} +block_133: +{ +if (x_105 == 0) +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_box(0); +lean_inc(x_3); +x_108 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_107, x_8, x_9, x_10, x_11, x_106); +if (lean_obj_tag(x_108) == 0) +{ +lean_dec(x_3); +return x_108; +} +else +{ +uint8_t x_109; +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_108, 0); +lean_dec(x_110); +lean_ctor_set_tag(x_108, 0); +lean_ctor_set(x_108, 0, x_3); +return x_108; +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_3); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; +x_113 = l_Lean_Expr_mvarId_x21(x_102); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_215 = l_Lean_Meta_ppGoal(x_182, x_8, x_9, x_10, x_11, x_180); -if (lean_obj_tag(x_215) == 0) +x_114 = l_Lean_Meta_ppGoal(x_113, x_8, x_9, x_10, x_11, x_106); +lean_dec(x_113); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); -lean_inc(x_217); -lean_dec(x_215); -x_273 = lean_st_ref_get(x_11, x_217); -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_274, 3); -lean_inc(x_275); -lean_dec(x_274); -x_276 = lean_ctor_get_uint8(x_275, sizeof(void*)*1); -lean_dec(x_275); -if (x_276 == 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_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_117, 0, x_115); +x_118 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_119 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_104, x_120, x_8, x_9, x_10, x_11, x_116); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +lean_inc(x_3); +x_124 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_122, x_8, x_9, x_10, x_11, x_123); +lean_dec(x_122); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_277; -lean_dec(x_216); -x_277 = lean_ctor_get(x_273, 1); -lean_inc(x_277); -lean_dec(x_273); -x_218 = x_277; -goto block_272; +lean_dec(x_3); +return x_124; } else { -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; uint8_t x_282; -x_278 = lean_ctor_get(x_273, 1); -lean_inc(x_278); -lean_dec(x_273); -x_279 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_280 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_279, x_8, x_9, x_10, x_11, x_278); -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_unbox(x_281); -lean_dec(x_281); -if (x_282 == 0) +uint8_t x_125; +x_125 = !lean_is_exclusive(x_124); +if (x_125 == 0) { -lean_object* x_283; -lean_dec(x_216); -x_283 = lean_ctor_get(x_280, 1); -lean_inc(x_283); -lean_dec(x_280); -x_218 = x_283; -goto block_272; +lean_object* x_126; +x_126 = lean_ctor_get(x_124, 0); +lean_dec(x_126); +lean_ctor_set_tag(x_124, 0); +lean_ctor_set(x_124, 0, x_3); +return x_124; } else { -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; -x_284 = lean_ctor_get(x_280, 1); -lean_inc(x_284); -lean_dec(x_280); -x_285 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_285, 0, x_216); -x_286 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_287 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_289 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_279, x_288, x_8, x_9, x_10, x_11, x_284); -x_290 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -lean_dec(x_289); -x_218 = x_290; -goto block_272; +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_124, 1); +lean_inc(x_127); +lean_dec(x_124); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_3); +lean_ctor_set(x_128, 1, x_127); +return x_128; } } -block_272: +} +else { -lean_object* x_219; lean_object* x_220; -x_219 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_220 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_182, x_219, x_8, x_9, x_10, x_11, x_218); -if (lean_obj_tag(x_220) == 0) -{ -lean_object* x_221; uint8_t x_222; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_unbox(x_221); -lean_dec(x_221); -if (x_222 == 0) -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -lean_dec(x_181); -lean_dec(x_179); -lean_dec(x_176); -lean_dec(x_163); -lean_dec(x_162); -x_223 = lean_ctor_get(x_220, 1); -lean_inc(x_223); -lean_dec(x_220); -x_224 = lean_st_ref_get(x_11, x_223); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_225, 3); -lean_inc(x_226); -lean_dec(x_225); -x_227 = lean_ctor_get_uint8(x_226, sizeof(void*)*1); -lean_dec(x_226); -if (x_227 == 0) -{ -uint8_t x_228; +uint8_t x_129; +lean_dec(x_102); +lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_228 = !lean_is_exclusive(x_224); -if (x_228 == 0) +x_129 = !lean_is_exclusive(x_114); +if (x_129 == 0) { -lean_object* x_229; -x_229 = lean_ctor_get(x_224, 0); -lean_dec(x_229); -lean_ctor_set(x_224, 0, x_3); -return x_224; +lean_object* x_130; +x_130 = lean_ctor_get(x_114, 0); +lean_dec(x_130); +lean_ctor_set_tag(x_114, 0); +lean_ctor_set(x_114, 0, x_3); +return x_114; } else { -lean_object* x_230; lean_object* x_231; -x_230 = lean_ctor_get(x_224, 1); -lean_inc(x_230); -lean_dec(x_224); -x_231 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_231, 0, x_3); -lean_ctor_set(x_231, 1, x_230); -return x_231; +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_114, 1); +lean_inc(x_131); +lean_dec(x_114); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_3); +lean_ctor_set(x_132, 1, x_131); +return x_132; } } -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_232 = lean_ctor_get(x_224, 1); -lean_inc(x_232); -lean_dec(x_224); -x_233 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_234 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_233, x_8, x_9, x_10, x_11, x_232); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_unbox(x_235); -lean_dec(x_235); -if (x_236 == 0) -{ -uint8_t x_237; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_237 = !lean_is_exclusive(x_234); -if (x_237 == 0) -{ -lean_object* x_238; -x_238 = lean_ctor_get(x_234, 0); -lean_dec(x_238); -lean_ctor_set(x_234, 0, x_3); -return x_234; -} -else -{ -lean_object* x_239; lean_object* x_240; -x_239 = lean_ctor_get(x_234, 1); -lean_inc(x_239); -lean_dec(x_234); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_3); -lean_ctor_set(x_240, 1, x_239); -return x_240; -} -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_241 = lean_ctor_get(x_234, 1); -lean_inc(x_241); -lean_dec(x_234); -x_242 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_243 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_233, x_242, x_8, x_9, x_10, x_11, x_241); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_244 = !lean_is_exclusive(x_243); -if (x_244 == 0) -{ -lean_object* x_245; -x_245 = lean_ctor_get(x_243, 0); -lean_dec(x_245); -lean_ctor_set(x_243, 0, x_3); -return x_243; -} -else -{ -lean_object* x_246; lean_object* x_247; -x_246 = lean_ctor_get(x_243, 1); -lean_inc(x_246); -lean_dec(x_243); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_3); -lean_ctor_set(x_247, 1, x_246); -return x_247; -} } } } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; -x_248 = lean_ctor_get(x_220, 1); -lean_inc(x_248); -lean_dec(x_220); -x_249 = lean_st_ref_get(x_11, x_248); -x_250 = lean_ctor_get(x_249, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_250, 3); -lean_inc(x_251); -lean_dec(x_250); -x_252 = lean_ctor_get_uint8(x_251, sizeof(void*)*1); -lean_dec(x_251); -if (x_252 == 0) -{ -lean_object* x_253; -x_253 = lean_ctor_get(x_249, 1); -lean_inc(x_253); -lean_dec(x_249); -x_183 = x_253; -goto block_214; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_254 = lean_ctor_get(x_249, 1); -lean_inc(x_254); -lean_dec(x_249); -x_255 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_256 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_255, x_8, x_9, x_10, x_11, x_254); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_unbox(x_257); -lean_dec(x_257); -if (x_258 == 0) -{ -lean_object* x_259; -x_259 = lean_ctor_get(x_256, 1); -lean_inc(x_259); -lean_dec(x_256); -x_183 = x_259; -goto block_214; -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -lean_dec(x_256); -lean_inc(x_179); -x_261 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_261, 0, x_179); -x_262 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_263 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -x_264 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_265 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -x_266 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_255, x_265, x_8, x_9, x_10, x_11, x_260); -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -lean_dec(x_266); -x_183 = x_267; -goto block_214; -} -} -} -} -else -{ -uint8_t x_268; -lean_dec(x_181); -lean_dec(x_179); -lean_dec(x_176); -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_268 = !lean_is_exclusive(x_220); -if (x_268 == 0) -{ -lean_object* x_269; -x_269 = lean_ctor_get(x_220, 0); -lean_dec(x_269); -lean_ctor_set_tag(x_220, 0); -lean_ctor_set(x_220, 0, x_3); -return x_220; -} -else -{ -lean_object* x_270; lean_object* x_271; -x_270 = lean_ctor_get(x_220, 1); -lean_inc(x_270); -lean_dec(x_220); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_3); -lean_ctor_set(x_271, 1, x_270); -return x_271; -} -} -} -} -else -{ -uint8_t x_291; -lean_dec(x_182); -lean_dec(x_181); -lean_dec(x_179); -lean_dec(x_176); -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_291 = !lean_is_exclusive(x_215); -if (x_291 == 0) -{ -lean_object* x_292; -x_292 = lean_ctor_get(x_215, 0); -lean_dec(x_292); -lean_ctor_set_tag(x_215, 0); -lean_ctor_set(x_215, 0, x_3); -return x_215; -} -else -{ -lean_object* x_293; lean_object* x_294; -x_293 = lean_ctor_get(x_215, 1); -lean_inc(x_293); -lean_dec(x_215); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_3); -lean_ctor_set(x_294, 1, x_293); -return x_294; -} -} -block_214: -{ -lean_object* x_184; uint8_t x_185; -x_184 = lean_array_get_size(x_1); -x_185 = lean_nat_dec_lt(x_159, x_184); -if (x_185 == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_184); +uint8_t x_145; +lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_176)) { - x_186 = lean_alloc_ctor(0, 2, 0); -} else { - x_186 = x_176; -} -lean_ctor_set(x_186, 0, x_179); -lean_ctor_set(x_186, 1, x_162); -if (lean_is_scalar(x_163)) { - x_187 = lean_alloc_ctor(1, 1, 0); -} else { - x_187 = x_163; -} -lean_ctor_set(x_187, 0, x_186); -if (lean_is_scalar(x_181)) { - x_188 = lean_alloc_ctor(0, 2, 0); -} else { - x_188 = x_181; -} -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_183); -return x_188; +x_145 = !lean_is_exclusive(x_96); +if (x_145 == 0) +{ +return x_96; } else { -uint8_t x_189; -x_189 = lean_nat_dec_le(x_184, x_184); -if (x_189 == 0) -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_184); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_176)) { - x_190 = lean_alloc_ctor(0, 2, 0); -} else { - x_190 = x_176; -} -lean_ctor_set(x_190, 0, x_179); -lean_ctor_set(x_190, 1, x_162); -if (lean_is_scalar(x_163)) { - x_191 = lean_alloc_ctor(1, 1, 0); -} else { - x_191 = x_163; -} -lean_ctor_set(x_191, 0, x_190); -if (lean_is_scalar(x_181)) { - x_192 = lean_alloc_ctor(0, 2, 0); -} else { - x_192 = x_181; -} -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_183); -return x_192; -} -else -{ -size_t x_193; size_t x_194; lean_object* x_195; -lean_dec(x_181); -x_193 = 0; -x_194 = lean_usize_of_nat(x_184); -lean_dec(x_184); -lean_inc(x_179); -x_195 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_179, x_1, x_193, x_194, x_8, x_9, x_10, x_11, x_183); -if (lean_obj_tag(x_195) == 0) -{ -lean_object* x_196; uint8_t x_197; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_unbox(x_196); -lean_dec(x_196); -if (x_197 == 0) -{ -uint8_t x_198; -lean_dec(x_3); -x_198 = !lean_is_exclusive(x_195); -if (x_198 == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_195, 0); -lean_dec(x_199); -if (lean_is_scalar(x_176)) { - x_200 = lean_alloc_ctor(0, 2, 0); -} else { - x_200 = x_176; -} -lean_ctor_set(x_200, 0, x_179); -lean_ctor_set(x_200, 1, x_162); -if (lean_is_scalar(x_163)) { - x_201 = lean_alloc_ctor(1, 1, 0); -} else { - x_201 = x_163; -} -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_195, 0, x_201); -return x_195; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_202 = lean_ctor_get(x_195, 1); -lean_inc(x_202); -lean_dec(x_195); -if (lean_is_scalar(x_176)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_176; -} -lean_ctor_set(x_203, 0, x_179); -lean_ctor_set(x_203, 1, x_162); -if (lean_is_scalar(x_163)) { - x_204 = lean_alloc_ctor(1, 1, 0); -} else { - x_204 = x_163; -} -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_202); -return x_205; -} -} -else -{ -uint8_t x_206; -lean_dec(x_179); -lean_dec(x_176); -lean_dec(x_163); -lean_dec(x_162); -x_206 = !lean_is_exclusive(x_195); -if (x_206 == 0) -{ -lean_object* x_207; -x_207 = lean_ctor_get(x_195, 0); -lean_dec(x_207); -lean_ctor_set(x_195, 0, x_3); -return x_195; -} -else -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_195, 1); -lean_inc(x_208); -lean_dec(x_195); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_3); -lean_ctor_set(x_209, 1, x_208); -return x_209; -} -} -} -else -{ -uint8_t x_210; -lean_dec(x_179); -lean_dec(x_176); -lean_dec(x_163); -lean_dec(x_162); -x_210 = !lean_is_exclusive(x_195); -if (x_210 == 0) -{ -lean_object* x_211; -x_211 = lean_ctor_get(x_195, 0); -lean_dec(x_211); -lean_ctor_set_tag(x_195, 0); -lean_ctor_set(x_195, 0, x_3); -return x_195; -} -else -{ -lean_object* x_212; lean_object* x_213; -x_212 = lean_ctor_get(x_195, 1); -lean_inc(x_212); -lean_dec(x_195); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_3); -lean_ctor_set(x_213, 1, x_212); -return x_213; -} -} -} -} -} -} -else -{ -uint8_t x_295; -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_295 = !lean_is_exclusive(x_172); -if (x_295 == 0) -{ -return x_172; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_296 = lean_ctor_get(x_172, 0); -x_297 = lean_ctor_get(x_172, 1); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_172); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_296); -lean_ctor_set(x_298, 1, x_297); -return x_298; +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_96, 0); +x_147 = lean_ctor_get(x_96, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_96); +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; } } } @@ -19907,336 +19537,1164 @@ return x_298; } case 2: { -lean_object* x_299; +lean_object* x_149; lean_dec(x_7); lean_dec(x_6); -x_299 = l_Lean_Expr_constName_x3f(x_5); +x_149 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_299) == 0) +if (lean_obj_tag(x_149) == 0) { -lean_object* x_300; +lean_object* x_150; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_300 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_300, 0, x_3); -lean_ctor_set(x_300, 1, x_12); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_3); +lean_ctor_set(x_150, 1, x_12); +return x_150; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_149, 0); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_unsigned_to_nat(0u); +x_153 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_152); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; +lean_dec(x_151); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_3); +lean_ctor_set(x_154, 1, x_12); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_151, x_8, x_9, x_10, x_11, x_12); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_unbox(x_157); +lean_dec(x_157); +if (x_158 == 0) +{ +uint8_t x_159; +lean_dec(x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_159 = !lean_is_exclusive(x_156); +if (x_159 == 0) +{ +lean_object* x_160; +x_160 = lean_ctor_get(x_156, 0); +lean_dec(x_160); +lean_ctor_set(x_156, 0, x_3); +return x_156; +} +else +{ +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_156, 1); +lean_inc(x_161); +lean_dec(x_156); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_3); +lean_ctor_set(x_162, 1, x_161); +return x_162; +} +} +else +{ +lean_object* x_163; lean_object* x_164; +x_163 = lean_ctor_get(x_156, 1); +lean_inc(x_163); +lean_dec(x_156); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_164 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_155, x_8, x_9, x_10, x_11, x_163); +if (lean_obj_tag(x_164) == 0) +{ +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; uint8_t x_173; lean_object* x_174; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_box(0); +lean_inc(x_8); +x_169 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_167, x_168, x_8, x_9, x_10, x_11, x_166); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +x_172 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_202 = lean_st_ref_get(x_11, x_171); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_203, 3); +lean_inc(x_204); +lean_dec(x_203); +x_205 = lean_ctor_get_uint8(x_204, sizeof(void*)*1); +lean_dec(x_204); +if (x_205 == 0) +{ +lean_object* x_206; uint8_t x_207; +x_206 = lean_ctor_get(x_202, 1); +lean_inc(x_206); +lean_dec(x_202); +x_207 = 0; +x_173 = x_207; +x_174 = x_206; +goto block_201; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_208 = lean_ctor_get(x_202, 1); +lean_inc(x_208); +lean_dec(x_202); +x_209 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_172, x_8, x_9, x_10, x_11, x_208); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_212 = lean_unbox(x_210); +lean_dec(x_210); +x_173 = x_212; +x_174 = x_211; +goto block_201; +} +block_201: +{ +if (x_173 == 0) +{ +lean_object* x_175; lean_object* x_176; +x_175 = lean_box(0); +lean_inc(x_3); +x_176 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_175, x_8, x_9, x_10, x_11, x_174); +if (lean_obj_tag(x_176) == 0) +{ +lean_dec(x_3); +return x_176; +} +else +{ +uint8_t x_177; +x_177 = !lean_is_exclusive(x_176); +if (x_177 == 0) +{ +lean_object* x_178; +x_178 = lean_ctor_get(x_176, 0); +lean_dec(x_178); +lean_ctor_set_tag(x_176, 0); +lean_ctor_set(x_176, 0, x_3); +return x_176; +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_176, 1); +lean_inc(x_179); +lean_dec(x_176); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_3); +lean_ctor_set(x_180, 1, x_179); +return x_180; +} +} +} +else +{ +lean_object* x_181; lean_object* x_182; +x_181 = l_Lean_Expr_mvarId_x21(x_170); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_182 = l_Lean_Meta_ppGoal(x_181, x_8, x_9, x_10, x_11, x_174); +lean_dec(x_181); +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_185, 0, x_183); +x_186 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_187 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_172, x_188, x_8, x_9, x_10, x_11, x_184); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +lean_inc(x_3); +x_192 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_190, x_8, x_9, x_10, x_11, x_191); +lean_dec(x_190); +if (lean_obj_tag(x_192) == 0) +{ +lean_dec(x_3); +return x_192; +} +else +{ +uint8_t x_193; +x_193 = !lean_is_exclusive(x_192); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_192, 0); +lean_dec(x_194); +lean_ctor_set_tag(x_192, 0); +lean_ctor_set(x_192, 0, x_3); +return x_192; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_192, 1); +lean_inc(x_195); +lean_dec(x_192); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_3); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +} +else +{ +uint8_t x_197; +lean_dec(x_170); +lean_dec(x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_197 = !lean_is_exclusive(x_182); +if (x_197 == 0) +{ +lean_object* x_198; +x_198 = lean_ctor_get(x_182, 0); +lean_dec(x_198); +lean_ctor_set_tag(x_182, 0); +lean_ctor_set(x_182, 0, x_3); +return x_182; +} +else +{ +lean_object* x_199; lean_object* x_200; +x_199 = lean_ctor_get(x_182, 1); +lean_inc(x_199); +lean_dec(x_182); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_3); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +} +} +else +{ +uint8_t x_213; +lean_dec(x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_213 = !lean_is_exclusive(x_164); +if (x_213 == 0) +{ +return x_164; +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_214 = lean_ctor_get(x_164, 0); +x_215 = lean_ctor_get(x_164, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_164); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_214); +lean_ctor_set(x_216, 1, x_215); +return x_216; +} +} +} +} +} +} +case 3: +{ +lean_object* x_217; +lean_dec(x_7); +lean_dec(x_6); +x_217 = l_Lean_Expr_constName_x3f(x_5); +lean_dec(x_5); +if (lean_obj_tag(x_217) == 0) +{ +lean_object* x_218; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_3); +lean_ctor_set(x_218, 1, x_12); +return x_218; +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_217, 0); +lean_inc(x_219); +lean_dec(x_217); +x_220 = lean_unsigned_to_nat(0u); +x_221 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_220); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; +lean_dec(x_219); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_3); +lean_ctor_set(x_222, 1, x_12); +return x_222; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_223 = lean_ctor_get(x_221, 0); +lean_inc(x_223); +lean_dec(x_221); +x_224 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_219, x_8, x_9, x_10, x_11, x_12); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_unbox(x_225); +lean_dec(x_225); +if (x_226 == 0) +{ +uint8_t x_227; +lean_dec(x_223); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_227 = !lean_is_exclusive(x_224); +if (x_227 == 0) +{ +lean_object* x_228; +x_228 = lean_ctor_get(x_224, 0); +lean_dec(x_228); +lean_ctor_set(x_224, 0, x_3); +return x_224; +} +else +{ +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_224, 1); +lean_inc(x_229); +lean_dec(x_224); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_3); +lean_ctor_set(x_230, 1, x_229); +return x_230; +} +} +else +{ +lean_object* x_231; lean_object* x_232; +x_231 = lean_ctor_get(x_224, 1); +lean_inc(x_231); +lean_dec(x_224); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_232 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_223, x_8, x_9, x_10, x_11, x_231); +if (lean_obj_tag(x_232) == 0) +{ +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; uint8_t x_241; lean_object* x_242; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_box(0); +lean_inc(x_8); +x_237 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_235, x_236, x_8, x_9, x_10, x_11, x_234); +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); +lean_inc(x_239); +lean_dec(x_237); +x_240 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_270 = lean_st_ref_get(x_11, x_239); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_271, 3); +lean_inc(x_272); +lean_dec(x_271); +x_273 = lean_ctor_get_uint8(x_272, sizeof(void*)*1); +lean_dec(x_272); +if (x_273 == 0) +{ +lean_object* x_274; uint8_t x_275; +x_274 = lean_ctor_get(x_270, 1); +lean_inc(x_274); +lean_dec(x_270); +x_275 = 0; +x_241 = x_275; +x_242 = x_274; +goto block_269; +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_276 = lean_ctor_get(x_270, 1); +lean_inc(x_276); +lean_dec(x_270); +x_277 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_240, x_8, x_9, x_10, x_11, x_276); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_unbox(x_278); +lean_dec(x_278); +x_241 = x_280; +x_242 = x_279; +goto block_269; +} +block_269: +{ +if (x_241 == 0) +{ +lean_object* x_243; lean_object* x_244; +x_243 = lean_box(0); +lean_inc(x_3); +x_244 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_243, x_8, x_9, x_10, x_11, x_242); +if (lean_obj_tag(x_244) == 0) +{ +lean_dec(x_3); +return x_244; +} +else +{ +uint8_t x_245; +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_tag(x_244, 0); +lean_ctor_set(x_244, 0, x_3); +return x_244; +} +else +{ +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_3); +lean_ctor_set(x_248, 1, x_247); +return x_248; +} +} +} +else +{ +lean_object* x_249; lean_object* x_250; +x_249 = l_Lean_Expr_mvarId_x21(x_238); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_250 = l_Lean_Meta_ppGoal(x_249, x_8, x_9, x_10, x_11, x_242); +lean_dec(x_249); +if (lean_obj_tag(x_250) == 0) +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_251 = lean_ctor_get(x_250, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +lean_dec(x_250); +x_253 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_253, 0, x_251); +x_254 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_255 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_253); +x_256 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_254); +x_257 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_240, x_256, x_8, x_9, x_10, x_11, x_252); +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +lean_inc(x_3); +x_260 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_258, x_8, x_9, x_10, x_11, x_259); +lean_dec(x_258); +if (lean_obj_tag(x_260) == 0) +{ +lean_dec(x_3); +return x_260; +} +else +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_260); +if (x_261 == 0) +{ +lean_object* x_262; +x_262 = lean_ctor_get(x_260, 0); +lean_dec(x_262); +lean_ctor_set_tag(x_260, 0); +lean_ctor_set(x_260, 0, x_3); +return x_260; +} +else +{ +lean_object* x_263; lean_object* x_264; +x_263 = lean_ctor_get(x_260, 1); +lean_inc(x_263); +lean_dec(x_260); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_3); +lean_ctor_set(x_264, 1, x_263); +return x_264; +} +} +} +else +{ +uint8_t x_265; +lean_dec(x_238); +lean_dec(x_223); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_265 = !lean_is_exclusive(x_250); +if (x_265 == 0) +{ +lean_object* x_266; +x_266 = lean_ctor_get(x_250, 0); +lean_dec(x_266); +lean_ctor_set_tag(x_250, 0); +lean_ctor_set(x_250, 0, x_3); +return x_250; +} +else +{ +lean_object* x_267; lean_object* x_268; +x_267 = lean_ctor_get(x_250, 1); +lean_inc(x_267); +lean_dec(x_250); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_3); +lean_ctor_set(x_268, 1, x_267); +return x_268; +} +} +} +} +} +else +{ +uint8_t x_281; +lean_dec(x_223); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_281 = !lean_is_exclusive(x_232); +if (x_281 == 0) +{ +return x_232; +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_282 = lean_ctor_get(x_232, 0); +x_283 = lean_ctor_get(x_232, 1); +lean_inc(x_283); +lean_inc(x_282); +lean_dec(x_232); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +return x_284; +} +} +} +} +} +} +case 4: +{ +lean_object* x_285; +lean_dec(x_7); +lean_dec(x_6); +x_285 = l_Lean_Expr_constName_x3f(x_5); +lean_dec(x_5); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_3); +lean_ctor_set(x_286, 1, x_12); +return x_286; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_285, 0); +lean_inc(x_287); +lean_dec(x_285); +x_288 = lean_unsigned_to_nat(0u); +x_289 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_288); +if (lean_obj_tag(x_289) == 0) +{ +lean_object* x_290; +lean_dec(x_287); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_290, 0, x_3); +lean_ctor_set(x_290, 1, x_12); +return x_290; +} +else +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_291 = lean_ctor_get(x_289, 0); +lean_inc(x_291); +lean_dec(x_289); +x_292 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_287, x_8, x_9, x_10, x_11, x_12); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_unbox(x_293); +lean_dec(x_293); +if (x_294 == 0) +{ +uint8_t x_295; +lean_dec(x_291); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_295 = !lean_is_exclusive(x_292); +if (x_295 == 0) +{ +lean_object* x_296; +x_296 = lean_ctor_get(x_292, 0); +lean_dec(x_296); +lean_ctor_set(x_292, 0, x_3); +return x_292; +} +else +{ +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_292, 1); +lean_inc(x_297); +lean_dec(x_292); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_3); +lean_ctor_set(x_298, 1, x_297); +return x_298; +} +} +else +{ +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_292, 1); +lean_inc(x_299); +lean_dec(x_292); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_300 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_291, x_8, x_9, x_10, x_11, x_299); +if (lean_obj_tag(x_300) == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; +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_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_box(0); +lean_inc(x_8); +x_305 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_303, x_304, x_8, x_9, x_10, x_11, x_302); +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 1); +lean_inc(x_307); +lean_dec(x_305); +x_308 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_338 = lean_st_ref_get(x_11, x_307); +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_339, 3); +lean_inc(x_340); +lean_dec(x_339); +x_341 = lean_ctor_get_uint8(x_340, sizeof(void*)*1); +lean_dec(x_340); +if (x_341 == 0) +{ +lean_object* x_342; uint8_t x_343; +x_342 = lean_ctor_get(x_338, 1); +lean_inc(x_342); +lean_dec(x_338); +x_343 = 0; +x_309 = x_343; +x_310 = x_342; +goto block_337; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; +x_344 = lean_ctor_get(x_338, 1); +lean_inc(x_344); +lean_dec(x_338); +x_345 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_308, x_8, x_9, x_10, x_11, x_344); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = lean_unbox(x_346); +lean_dec(x_346); +x_309 = x_348; +x_310 = x_347; +goto block_337; +} +block_337: +{ +if (x_309 == 0) +{ +lean_object* x_311; lean_object* x_312; +x_311 = lean_box(0); +lean_inc(x_3); +x_312 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_311, x_8, x_9, x_10, x_11, x_310); +if (lean_obj_tag(x_312) == 0) +{ +lean_dec(x_3); +return x_312; +} +else +{ +uint8_t x_313; +x_313 = !lean_is_exclusive(x_312); +if (x_313 == 0) +{ +lean_object* x_314; +x_314 = lean_ctor_get(x_312, 0); +lean_dec(x_314); +lean_ctor_set_tag(x_312, 0); +lean_ctor_set(x_312, 0, x_3); +return x_312; +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_312, 1); +lean_inc(x_315); +lean_dec(x_312); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_3); +lean_ctor_set(x_316, 1, x_315); +return x_316; +} +} +} +else +{ +lean_object* x_317; lean_object* x_318; +x_317 = l_Lean_Expr_mvarId_x21(x_306); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_318 = l_Lean_Meta_ppGoal(x_317, x_8, x_9, x_10, x_11, x_310); +lean_dec(x_317); +if (lean_obj_tag(x_318) == 0) +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_319 = lean_ctor_get(x_318, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 1); +lean_inc(x_320); +lean_dec(x_318); +x_321 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_321, 0, x_319); +x_322 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_323 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_321); +x_324 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_308, x_324, x_8, x_9, x_10, x_11, x_320); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +lean_inc(x_3); +x_328 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_326, x_8, x_9, x_10, x_11, x_327); +lean_dec(x_326); +if (lean_obj_tag(x_328) == 0) +{ +lean_dec(x_3); +return x_328; +} +else +{ +uint8_t x_329; +x_329 = !lean_is_exclusive(x_328); +if (x_329 == 0) +{ +lean_object* x_330; +x_330 = lean_ctor_get(x_328, 0); +lean_dec(x_330); +lean_ctor_set_tag(x_328, 0); +lean_ctor_set(x_328, 0, x_3); +return x_328; +} +else +{ +lean_object* x_331; lean_object* x_332; +x_331 = lean_ctor_get(x_328, 1); +lean_inc(x_331); +lean_dec(x_328); +x_332 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_332, 0, x_3); +lean_ctor_set(x_332, 1, x_331); +return x_332; +} +} +} +else +{ +uint8_t x_333; +lean_dec(x_306); +lean_dec(x_291); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_333 = !lean_is_exclusive(x_318); +if (x_333 == 0) +{ +lean_object* x_334; +x_334 = lean_ctor_get(x_318, 0); +lean_dec(x_334); +lean_ctor_set_tag(x_318, 0); +lean_ctor_set(x_318, 0, x_3); +return x_318; +} +else +{ +lean_object* x_335; lean_object* x_336; +x_335 = lean_ctor_get(x_318, 1); +lean_inc(x_335); +lean_dec(x_318); +x_336 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_336, 0, x_3); +lean_ctor_set(x_336, 1, x_335); +return x_336; +} +} +} +} +} +else +{ +uint8_t x_349; +lean_dec(x_291); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_349 = !lean_is_exclusive(x_300); +if (x_349 == 0) +{ return x_300; } else { -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = lean_ctor_get(x_299, 0); -lean_inc(x_301); -lean_dec(x_299); -x_302 = lean_unsigned_to_nat(0u); -x_303 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_302); -if (lean_obj_tag(x_303) == 0) +lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_350 = lean_ctor_get(x_300, 0); +x_351 = lean_ctor_get(x_300, 1); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_300); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_350); +lean_ctor_set(x_352, 1, x_351); +return x_352; +} +} +} +} +} +} +case 5: { -lean_object* x_304; -lean_dec(x_301); +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_353 = lean_ctor_get(x_5, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_5, 1); +lean_inc(x_354); +lean_dec(x_5); +x_355 = lean_array_set(x_6, x_7, x_354); +x_356 = lean_unsigned_to_nat(1u); +x_357 = lean_nat_sub(x_7, x_356); +lean_dec(x_7); +x_5 = x_353; +x_6 = x_355; +x_7 = x_357; +goto _start; +} +case 6: +{ +lean_object* x_359; +lean_dec(x_7); +lean_dec(x_6); +x_359 = l_Lean_Expr_constName_x3f(x_5); +lean_dec(x_5); +if (lean_obj_tag(x_359) == 0) +{ +lean_object* x_360; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_3); -lean_ctor_set(x_304, 1, x_12); -return x_304; +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_3); +lean_ctor_set(x_360, 1, x_12); +return x_360; } else { -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; -x_305 = lean_ctor_get(x_303, 0); -lean_inc(x_305); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - x_306 = x_303; -} else { - lean_dec_ref(x_303); - x_306 = lean_box(0); -} -x_307 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_301, x_8, x_9, x_10, x_11, x_12); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_unbox(x_308); -lean_dec(x_308); -if (x_309 == 0) -{ -uint8_t x_310; -lean_dec(x_306); -lean_dec(x_305); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_310 = !lean_is_exclusive(x_307); -if (x_310 == 0) -{ -lean_object* x_311; -x_311 = lean_ctor_get(x_307, 0); -lean_dec(x_311); -lean_ctor_set(x_307, 0, x_3); -return x_307; -} -else -{ -lean_object* x_312; lean_object* x_313; -x_312 = lean_ctor_get(x_307, 1); -lean_inc(x_312); -lean_dec(x_307); -x_313 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_313, 0, x_3); -lean_ctor_set(x_313, 1, x_312); -return x_313; -} -} -else -{ -lean_object* x_314; lean_object* x_315; -x_314 = lean_ctor_get(x_307, 1); -lean_inc(x_314); -lean_dec(x_307); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_315 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_305, x_8, x_9, x_10, x_11, x_314); -if (lean_obj_tag(x_315) == 0) -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_358; -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = lean_ctor_get(x_316, 1); -lean_inc(x_318); -if (lean_is_exclusive(x_316)) { - lean_ctor_release(x_316, 0); - lean_ctor_release(x_316, 1); - x_319 = x_316; -} else { - lean_dec_ref(x_316); - x_319 = lean_box(0); -} -x_320 = lean_box(0); -lean_inc(x_8); -x_321 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_318, x_320, x_8, x_9, x_10, x_11, x_317); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -if (lean_is_exclusive(x_321)) { - lean_ctor_release(x_321, 0); - lean_ctor_release(x_321, 1); - x_324 = x_321; -} else { - lean_dec_ref(x_321); - x_324 = lean_box(0); -} -x_325 = l_Lean_Expr_mvarId_x21(x_322); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_358 = l_Lean_Meta_ppGoal(x_325, x_8, x_9, x_10, x_11, x_323); -if (lean_obj_tag(x_358) == 0) -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; -x_359 = lean_ctor_get(x_358, 0); -lean_inc(x_359); -x_360 = lean_ctor_get(x_358, 1); -lean_inc(x_360); -lean_dec(x_358); -x_416 = lean_st_ref_get(x_11, x_360); -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_417, 3); -lean_inc(x_418); -lean_dec(x_417); -x_419 = lean_ctor_get_uint8(x_418, sizeof(void*)*1); -lean_dec(x_418); -if (x_419 == 0) -{ -lean_object* x_420; +lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_361 = lean_ctor_get(x_359, 0); +lean_inc(x_361); lean_dec(x_359); -x_420 = lean_ctor_get(x_416, 1); -lean_inc(x_420); -lean_dec(x_416); -x_361 = x_420; -goto block_415; -} -else -{ -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; -x_421 = lean_ctor_get(x_416, 1); -lean_inc(x_421); -lean_dec(x_416); -x_422 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_423 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_422, x_8, x_9, x_10, x_11, x_421); -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_unbox(x_424); -lean_dec(x_424); -if (x_425 == 0) -{ -lean_object* x_426; -lean_dec(x_359); -x_426 = lean_ctor_get(x_423, 1); -lean_inc(x_426); -lean_dec(x_423); -x_361 = x_426; -goto block_415; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_427 = lean_ctor_get(x_423, 1); -lean_inc(x_427); -lean_dec(x_423); -x_428 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_428, 0, x_359); -x_429 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_430 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_428); -x_431 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_429); -x_432 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_422, x_431, x_8, x_9, x_10, x_11, x_427); -x_433 = lean_ctor_get(x_432, 1); -lean_inc(x_433); -lean_dec(x_432); -x_361 = x_433; -goto block_415; -} -} -block_415: -{ -lean_object* x_362; lean_object* x_363; -x_362 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_363 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_325, x_362, x_8, x_9, x_10, x_11, x_361); +x_362 = lean_unsigned_to_nat(0u); +x_363 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_362); if (lean_obj_tag(x_363) == 0) { -lean_object* x_364; uint8_t x_365; -x_364 = lean_ctor_get(x_363, 0); -lean_inc(x_364); -x_365 = lean_unbox(x_364); -lean_dec(x_364); -if (x_365 == 0) -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; -lean_dec(x_324); -lean_dec(x_322); -lean_dec(x_319); -lean_dec(x_306); -lean_dec(x_305); -x_366 = lean_ctor_get(x_363, 1); -lean_inc(x_366); -lean_dec(x_363); -x_367 = lean_st_ref_get(x_11, x_366); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_368, 3); -lean_inc(x_369); -lean_dec(x_368); -x_370 = lean_ctor_get_uint8(x_369, sizeof(void*)*1); -lean_dec(x_369); -if (x_370 == 0) -{ -uint8_t x_371; +lean_object* x_364; +lean_dec(x_361); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_371 = !lean_is_exclusive(x_367); -if (x_371 == 0) +lean_dec(x_2); +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_3); +lean_ctor_set(x_364, 1, x_12); +return x_364; +} +else { -lean_object* x_372; -x_372 = lean_ctor_get(x_367, 0); -lean_dec(x_372); -lean_ctor_set(x_367, 0, x_3); -return x_367; +lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; +x_365 = lean_ctor_get(x_363, 0); +lean_inc(x_365); +lean_dec(x_363); +x_366 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_361, x_8, x_9, x_10, x_11, x_12); +x_367 = lean_ctor_get(x_366, 0); +lean_inc(x_367); +x_368 = lean_unbox(x_367); +lean_dec(x_367); +if (x_368 == 0) +{ +uint8_t x_369; +lean_dec(x_365); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_369 = !lean_is_exclusive(x_366); +if (x_369 == 0) +{ +lean_object* x_370; +x_370 = lean_ctor_get(x_366, 0); +lean_dec(x_370); +lean_ctor_set(x_366, 0, x_3); +return x_366; +} +else +{ +lean_object* x_371; lean_object* x_372; +x_371 = lean_ctor_get(x_366, 1); +lean_inc(x_371); +lean_dec(x_366); +x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 0, x_3); +lean_ctor_set(x_372, 1, x_371); +return x_372; +} } else { lean_object* x_373; lean_object* x_374; -x_373 = lean_ctor_get(x_367, 1); +x_373 = lean_ctor_get(x_366, 1); lean_inc(x_373); -lean_dec(x_367); -x_374 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_374, 0, x_3); -lean_ctor_set(x_374, 1, x_373); -return x_374; -} -} -else +lean_dec(x_366); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_374 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_365, x_8, x_9, x_10, x_11, x_373); +if (lean_obj_tag(x_374) == 0) { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; -x_375 = lean_ctor_get(x_367, 1); +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; +x_375 = lean_ctor_get(x_374, 0); lean_inc(x_375); -lean_dec(x_367); -x_376 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_377 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_376, x_8, x_9, x_10, x_11, x_375); -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_unbox(x_378); -lean_dec(x_378); -if (x_379 == 0) +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = lean_box(0); +lean_inc(x_8); +x_379 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_377, x_378, x_8, x_9, x_10, x_11, x_376); +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); +lean_inc(x_381); +lean_dec(x_379); +x_382 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_412 = lean_st_ref_get(x_11, x_381); +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_413, 3); +lean_inc(x_414); +lean_dec(x_413); +x_415 = lean_ctor_get_uint8(x_414, sizeof(void*)*1); +lean_dec(x_414); +if (x_415 == 0) { -uint8_t x_380; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_380 = !lean_is_exclusive(x_377); -if (x_380 == 0) -{ -lean_object* x_381; -x_381 = lean_ctor_get(x_377, 0); -lean_dec(x_381); -lean_ctor_set(x_377, 0, x_3); -return x_377; +lean_object* x_416; uint8_t x_417; +x_416 = lean_ctor_get(x_412, 1); +lean_inc(x_416); +lean_dec(x_412); +x_417 = 0; +x_383 = x_417; +x_384 = x_416; +goto block_411; } else { -lean_object* x_382; lean_object* x_383; -x_382 = lean_ctor_get(x_377, 1); -lean_inc(x_382); -lean_dec(x_377); -x_383 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_383, 0, x_3); -lean_ctor_set(x_383, 1, x_382); -return x_383; +lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_418 = lean_ctor_get(x_412, 1); +lean_inc(x_418); +lean_dec(x_412); +x_419 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_382, x_8, x_9, x_10, x_11, x_418); +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_unbox(x_420); +lean_dec(x_420); +x_383 = x_422; +x_384 = x_421; +goto block_411; } +block_411: +{ +if (x_383 == 0) +{ +lean_object* x_385; lean_object* x_386; +x_385 = lean_box(0); +lean_inc(x_3); +x_386 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_385, x_8, x_9, x_10, x_11, x_384); +if (lean_obj_tag(x_386) == 0) +{ +lean_dec(x_3); +return x_386; } else { -lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; -x_384 = lean_ctor_get(x_377, 1); -lean_inc(x_384); -lean_dec(x_377); -x_385 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_386 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_376, x_385, x_8, x_9, x_10, x_11, x_384); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +uint8_t x_387; x_387 = !lean_is_exclusive(x_386); if (x_387 == 0) { lean_object* x_388; x_388 = lean_ctor_get(x_386, 0); lean_dec(x_388); +lean_ctor_set_tag(x_386, 0); lean_ctor_set(x_386, 0, x_3); return x_386; } @@ -20253,2565 +20711,133 @@ return x_390; } } } -} else { -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; -x_391 = lean_ctor_get(x_363, 1); -lean_inc(x_391); -lean_dec(x_363); -x_392 = lean_st_ref_get(x_11, x_391); +lean_object* x_391; lean_object* x_392; +x_391 = l_Lean_Expr_mvarId_x21(x_380); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_392 = l_Lean_Meta_ppGoal(x_391, x_8, x_9, x_10, x_11, x_384); +lean_dec(x_391); +if (lean_obj_tag(x_392) == 0) +{ +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; x_393 = lean_ctor_get(x_392, 0); lean_inc(x_393); -x_394 = lean_ctor_get(x_393, 3); +x_394 = lean_ctor_get(x_392, 1); lean_inc(x_394); -lean_dec(x_393); -x_395 = lean_ctor_get_uint8(x_394, sizeof(void*)*1); -lean_dec(x_394); -if (x_395 == 0) -{ -lean_object* x_396; -x_396 = lean_ctor_get(x_392, 1); -lean_inc(x_396); lean_dec(x_392); -x_326 = x_396; -goto block_357; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; -x_397 = lean_ctor_get(x_392, 1); -lean_inc(x_397); -lean_dec(x_392); -x_398 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_399 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_398, x_8, x_9, x_10, x_11, x_397); +x_395 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_395, 0, x_393); +x_396 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_397 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_396); +x_399 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_382, x_398, x_8, x_9, x_10, x_11, x_394); x_400 = lean_ctor_get(x_399, 0); lean_inc(x_400); -x_401 = lean_unbox(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +lean_inc(x_3); +x_402 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_400, x_8, x_9, x_10, x_11, x_401); lean_dec(x_400); -if (x_401 == 0) +if (lean_obj_tag(x_402) == 0) { -lean_object* x_402; -x_402 = lean_ctor_get(x_399, 1); -lean_inc(x_402); -lean_dec(x_399); -x_326 = x_402; -goto block_357; +lean_dec(x_3); +return x_402; } else { -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; -x_403 = lean_ctor_get(x_399, 1); -lean_inc(x_403); -lean_dec(x_399); -lean_inc(x_322); -x_404 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_404, 0, x_322); -x_405 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_406 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_404); -x_407 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_408 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_408, 0, x_406); -lean_ctor_set(x_408, 1, x_407); -x_409 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_398, x_408, x_8, x_9, x_10, x_11, x_403); -x_410 = lean_ctor_get(x_409, 1); -lean_inc(x_410); -lean_dec(x_409); -x_326 = x_410; -goto block_357; +uint8_t x_403; +x_403 = !lean_is_exclusive(x_402); +if (x_403 == 0) +{ +lean_object* x_404; +x_404 = lean_ctor_get(x_402, 0); +lean_dec(x_404); +lean_ctor_set_tag(x_402, 0); +lean_ctor_set(x_402, 0, x_3); +return x_402; } +else +{ +lean_object* x_405; lean_object* x_406; +x_405 = lean_ctor_get(x_402, 1); +lean_inc(x_405); +lean_dec(x_402); +x_406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_406, 0, x_3); +lean_ctor_set(x_406, 1, x_405); +return x_406; } } } else { -uint8_t x_411; -lean_dec(x_324); -lean_dec(x_322); -lean_dec(x_319); -lean_dec(x_306); -lean_dec(x_305); +uint8_t x_407; +lean_dec(x_380); +lean_dec(x_365); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_411 = !lean_is_exclusive(x_363); -if (x_411 == 0) +x_407 = !lean_is_exclusive(x_392); +if (x_407 == 0) { -lean_object* x_412; -x_412 = lean_ctor_get(x_363, 0); -lean_dec(x_412); -lean_ctor_set_tag(x_363, 0); -lean_ctor_set(x_363, 0, x_3); -return x_363; +lean_object* x_408; +x_408 = lean_ctor_get(x_392, 0); +lean_dec(x_408); +lean_ctor_set_tag(x_392, 0); +lean_ctor_set(x_392, 0, x_3); +return x_392; } else { -lean_object* x_413; lean_object* x_414; -x_413 = lean_ctor_get(x_363, 1); -lean_inc(x_413); -lean_dec(x_363); -x_414 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_414, 0, x_3); -lean_ctor_set(x_414, 1, x_413); -return x_414; +lean_object* x_409; lean_object* x_410; +x_409 = lean_ctor_get(x_392, 1); +lean_inc(x_409); +lean_dec(x_392); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_3); +lean_ctor_set(x_410, 1, x_409); +return x_410; +} } } } } else { -uint8_t x_434; -lean_dec(x_325); -lean_dec(x_324); -lean_dec(x_322); -lean_dec(x_319); -lean_dec(x_306); -lean_dec(x_305); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_434 = !lean_is_exclusive(x_358); -if (x_434 == 0) -{ -lean_object* x_435; -x_435 = lean_ctor_get(x_358, 0); -lean_dec(x_435); -lean_ctor_set_tag(x_358, 0); -lean_ctor_set(x_358, 0, x_3); -return x_358; -} -else -{ -lean_object* x_436; lean_object* x_437; -x_436 = lean_ctor_get(x_358, 1); -lean_inc(x_436); -lean_dec(x_358); -x_437 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_437, 0, x_3); -lean_ctor_set(x_437, 1, x_436); -return x_437; -} -} -block_357: -{ -lean_object* x_327; uint8_t x_328; -x_327 = lean_array_get_size(x_1); -x_328 = lean_nat_dec_lt(x_302, x_327); -if (x_328 == 0) -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_327); +uint8_t x_423; +lean_dec(x_365); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_319)) { - x_329 = lean_alloc_ctor(0, 2, 0); -} else { - x_329 = x_319; -} -lean_ctor_set(x_329, 0, x_322); -lean_ctor_set(x_329, 1, x_305); -if (lean_is_scalar(x_306)) { - x_330 = lean_alloc_ctor(1, 1, 0); -} else { - x_330 = x_306; -} -lean_ctor_set(x_330, 0, x_329); -if (lean_is_scalar(x_324)) { - x_331 = lean_alloc_ctor(0, 2, 0); -} else { - x_331 = x_324; -} -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_326); -return x_331; -} -else -{ -uint8_t x_332; -x_332 = lean_nat_dec_le(x_327, x_327); -if (x_332 == 0) -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; -lean_dec(x_327); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_319)) { - x_333 = lean_alloc_ctor(0, 2, 0); -} else { - x_333 = x_319; -} -lean_ctor_set(x_333, 0, x_322); -lean_ctor_set(x_333, 1, x_305); -if (lean_is_scalar(x_306)) { - x_334 = lean_alloc_ctor(1, 1, 0); -} else { - x_334 = x_306; -} -lean_ctor_set(x_334, 0, x_333); -if (lean_is_scalar(x_324)) { - x_335 = lean_alloc_ctor(0, 2, 0); -} else { - x_335 = x_324; -} -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_326); -return x_335; -} -else -{ -size_t x_336; size_t x_337; lean_object* x_338; -lean_dec(x_324); -x_336 = 0; -x_337 = lean_usize_of_nat(x_327); -lean_dec(x_327); -lean_inc(x_322); -x_338 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_322, x_1, x_336, x_337, x_8, x_9, x_10, x_11, x_326); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_339; uint8_t x_340; -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_unbox(x_339); -lean_dec(x_339); -if (x_340 == 0) -{ -uint8_t x_341; -lean_dec(x_3); -x_341 = !lean_is_exclusive(x_338); -if (x_341 == 0) -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_338, 0); -lean_dec(x_342); -if (lean_is_scalar(x_319)) { - x_343 = lean_alloc_ctor(0, 2, 0); -} else { - x_343 = x_319; -} -lean_ctor_set(x_343, 0, x_322); -lean_ctor_set(x_343, 1, x_305); -if (lean_is_scalar(x_306)) { - x_344 = lean_alloc_ctor(1, 1, 0); -} else { - x_344 = x_306; -} -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_338, 0, x_344); -return x_338; -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_345 = lean_ctor_get(x_338, 1); -lean_inc(x_345); -lean_dec(x_338); -if (lean_is_scalar(x_319)) { - x_346 = lean_alloc_ctor(0, 2, 0); -} else { - x_346 = x_319; -} -lean_ctor_set(x_346, 0, x_322); -lean_ctor_set(x_346, 1, x_305); -if (lean_is_scalar(x_306)) { - x_347 = lean_alloc_ctor(1, 1, 0); -} else { - x_347 = x_306; -} -lean_ctor_set(x_347, 0, x_346); -x_348 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_345); -return x_348; -} -} -else -{ -uint8_t x_349; -lean_dec(x_322); -lean_dec(x_319); -lean_dec(x_306); -lean_dec(x_305); -x_349 = !lean_is_exclusive(x_338); -if (x_349 == 0) -{ -lean_object* x_350; -x_350 = lean_ctor_get(x_338, 0); -lean_dec(x_350); -lean_ctor_set(x_338, 0, x_3); -return x_338; -} -else -{ -lean_object* x_351; lean_object* x_352; -x_351 = lean_ctor_get(x_338, 1); -lean_inc(x_351); -lean_dec(x_338); -x_352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_352, 0, x_3); -lean_ctor_set(x_352, 1, x_351); -return x_352; -} -} -} -else -{ -uint8_t x_353; -lean_dec(x_322); -lean_dec(x_319); -lean_dec(x_306); -lean_dec(x_305); -x_353 = !lean_is_exclusive(x_338); -if (x_353 == 0) -{ -lean_object* x_354; -x_354 = lean_ctor_get(x_338, 0); -lean_dec(x_354); -lean_ctor_set_tag(x_338, 0); -lean_ctor_set(x_338, 0, x_3); -return x_338; -} -else -{ -lean_object* x_355; lean_object* x_356; -x_355 = lean_ctor_get(x_338, 1); -lean_inc(x_355); -lean_dec(x_338); -x_356 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_356, 0, x_3); -lean_ctor_set(x_356, 1, x_355); -return x_356; -} -} -} -} -} -} -else -{ -uint8_t x_438; -lean_dec(x_306); -lean_dec(x_305); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_438 = !lean_is_exclusive(x_315); -if (x_438 == 0) -{ -return x_315; -} -else -{ -lean_object* x_439; lean_object* x_440; lean_object* x_441; -x_439 = lean_ctor_get(x_315, 0); -x_440 = lean_ctor_get(x_315, 1); -lean_inc(x_440); -lean_inc(x_439); -lean_dec(x_315); -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_439); -lean_ctor_set(x_441, 1, x_440); -return x_441; -} -} -} -} -} -} -case 3: -{ -lean_object* x_442; -lean_dec(x_7); -lean_dec(x_6); -x_442 = l_Lean_Expr_constName_x3f(x_5); -lean_dec(x_5); -if (lean_obj_tag(x_442) == 0) -{ -lean_object* x_443; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_3); -lean_ctor_set(x_443, 1, x_12); -return x_443; -} -else -{ -lean_object* x_444; lean_object* x_445; lean_object* x_446; -x_444 = lean_ctor_get(x_442, 0); -lean_inc(x_444); -lean_dec(x_442); -x_445 = lean_unsigned_to_nat(0u); -x_446 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_445); -if (lean_obj_tag(x_446) == 0) -{ -lean_object* x_447; -lean_dec(x_444); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_447 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_447, 0, x_3); -lean_ctor_set(x_447, 1, x_12); -return x_447; -} -else -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; uint8_t x_452; -x_448 = lean_ctor_get(x_446, 0); -lean_inc(x_448); -if (lean_is_exclusive(x_446)) { - lean_ctor_release(x_446, 0); - x_449 = x_446; -} else { - lean_dec_ref(x_446); - x_449 = lean_box(0); -} -x_450 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_444, x_8, x_9, x_10, x_11, x_12); -x_451 = lean_ctor_get(x_450, 0); -lean_inc(x_451); -x_452 = lean_unbox(x_451); -lean_dec(x_451); -if (x_452 == 0) -{ -uint8_t x_453; -lean_dec(x_449); -lean_dec(x_448); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_453 = !lean_is_exclusive(x_450); -if (x_453 == 0) -{ -lean_object* x_454; -x_454 = lean_ctor_get(x_450, 0); -lean_dec(x_454); -lean_ctor_set(x_450, 0, x_3); -return x_450; -} -else -{ -lean_object* x_455; lean_object* x_456; -x_455 = lean_ctor_get(x_450, 1); -lean_inc(x_455); -lean_dec(x_450); -x_456 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_456, 0, x_3); -lean_ctor_set(x_456, 1, x_455); -return x_456; -} -} -else -{ -lean_object* x_457; lean_object* x_458; -x_457 = lean_ctor_get(x_450, 1); -lean_inc(x_457); -lean_dec(x_450); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_458 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_448, x_8, x_9, x_10, x_11, x_457); -if (lean_obj_tag(x_458) == 0) -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_501; -x_459 = lean_ctor_get(x_458, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_458, 1); -lean_inc(x_460); -lean_dec(x_458); -x_461 = lean_ctor_get(x_459, 1); -lean_inc(x_461); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - x_462 = x_459; -} else { - lean_dec_ref(x_459); - x_462 = lean_box(0); -} -x_463 = lean_box(0); -lean_inc(x_8); -x_464 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_461, x_463, x_8, x_9, x_10, x_11, x_460); -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_464, 1); -lean_inc(x_466); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - x_467 = x_464; -} else { - lean_dec_ref(x_464); - x_467 = lean_box(0); -} -x_468 = l_Lean_Expr_mvarId_x21(x_465); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_501 = l_Lean_Meta_ppGoal(x_468, x_8, x_9, x_10, x_11, x_466); -if (lean_obj_tag(x_501) == 0) -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_559; lean_object* x_560; lean_object* x_561; uint8_t x_562; -x_502 = lean_ctor_get(x_501, 0); -lean_inc(x_502); -x_503 = lean_ctor_get(x_501, 1); -lean_inc(x_503); -lean_dec(x_501); -x_559 = lean_st_ref_get(x_11, x_503); -x_560 = lean_ctor_get(x_559, 0); -lean_inc(x_560); -x_561 = lean_ctor_get(x_560, 3); -lean_inc(x_561); -lean_dec(x_560); -x_562 = lean_ctor_get_uint8(x_561, sizeof(void*)*1); -lean_dec(x_561); -if (x_562 == 0) -{ -lean_object* x_563; -lean_dec(x_502); -x_563 = lean_ctor_get(x_559, 1); -lean_inc(x_563); -lean_dec(x_559); -x_504 = x_563; -goto block_558; -} -else -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; -x_564 = lean_ctor_get(x_559, 1); -lean_inc(x_564); -lean_dec(x_559); -x_565 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_566 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_565, x_8, x_9, x_10, x_11, x_564); -x_567 = lean_ctor_get(x_566, 0); -lean_inc(x_567); -x_568 = lean_unbox(x_567); -lean_dec(x_567); -if (x_568 == 0) -{ -lean_object* x_569; -lean_dec(x_502); -x_569 = lean_ctor_get(x_566, 1); -lean_inc(x_569); -lean_dec(x_566); -x_504 = x_569; -goto block_558; -} -else -{ -lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; -x_570 = lean_ctor_get(x_566, 1); -lean_inc(x_570); -lean_dec(x_566); -x_571 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_571, 0, x_502); -x_572 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_573 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_573, 0, x_572); -lean_ctor_set(x_573, 1, x_571); -x_574 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -x_575 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_565, x_574, x_8, x_9, x_10, x_11, x_570); -x_576 = lean_ctor_get(x_575, 1); -lean_inc(x_576); -lean_dec(x_575); -x_504 = x_576; -goto block_558; -} -} -block_558: -{ -lean_object* x_505; lean_object* x_506; -x_505 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_506 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_468, x_505, x_8, x_9, x_10, x_11, x_504); -if (lean_obj_tag(x_506) == 0) -{ -lean_object* x_507; uint8_t x_508; -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -x_508 = lean_unbox(x_507); -lean_dec(x_507); -if (x_508 == 0) -{ -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; -lean_dec(x_467); -lean_dec(x_465); -lean_dec(x_462); -lean_dec(x_449); -lean_dec(x_448); -x_509 = lean_ctor_get(x_506, 1); -lean_inc(x_509); -lean_dec(x_506); -x_510 = lean_st_ref_get(x_11, x_509); -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_511, 3); -lean_inc(x_512); -lean_dec(x_511); -x_513 = lean_ctor_get_uint8(x_512, sizeof(void*)*1); -lean_dec(x_512); -if (x_513 == 0) -{ -uint8_t x_514; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_514 = !lean_is_exclusive(x_510); -if (x_514 == 0) -{ -lean_object* x_515; -x_515 = lean_ctor_get(x_510, 0); -lean_dec(x_515); -lean_ctor_set(x_510, 0, x_3); -return x_510; -} -else -{ -lean_object* x_516; lean_object* x_517; -x_516 = lean_ctor_get(x_510, 1); -lean_inc(x_516); -lean_dec(x_510); -x_517 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_517, 0, x_3); -lean_ctor_set(x_517, 1, x_516); -return x_517; -} -} -else -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; uint8_t x_522; -x_518 = lean_ctor_get(x_510, 1); -lean_inc(x_518); -lean_dec(x_510); -x_519 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_520 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_519, x_8, x_9, x_10, x_11, x_518); -x_521 = lean_ctor_get(x_520, 0); -lean_inc(x_521); -x_522 = lean_unbox(x_521); -lean_dec(x_521); -if (x_522 == 0) -{ -uint8_t x_523; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_523 = !lean_is_exclusive(x_520); -if (x_523 == 0) -{ -lean_object* x_524; -x_524 = lean_ctor_get(x_520, 0); -lean_dec(x_524); -lean_ctor_set(x_520, 0, x_3); -return x_520; -} -else -{ -lean_object* x_525; lean_object* x_526; -x_525 = lean_ctor_get(x_520, 1); -lean_inc(x_525); -lean_dec(x_520); -x_526 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_526, 0, x_3); -lean_ctor_set(x_526, 1, x_525); -return x_526; -} -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; -x_527 = lean_ctor_get(x_520, 1); -lean_inc(x_527); -lean_dec(x_520); -x_528 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_529 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_519, x_528, x_8, x_9, x_10, x_11, x_527); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_530 = !lean_is_exclusive(x_529); -if (x_530 == 0) -{ -lean_object* x_531; -x_531 = lean_ctor_get(x_529, 0); -lean_dec(x_531); -lean_ctor_set(x_529, 0, x_3); -return x_529; -} -else -{ -lean_object* x_532; lean_object* x_533; -x_532 = lean_ctor_get(x_529, 1); -lean_inc(x_532); -lean_dec(x_529); -x_533 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_533, 0, x_3); -lean_ctor_set(x_533, 1, x_532); -return x_533; -} -} -} -} -else -{ -lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; uint8_t x_538; -x_534 = lean_ctor_get(x_506, 1); -lean_inc(x_534); -lean_dec(x_506); -x_535 = lean_st_ref_get(x_11, x_534); -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_536, 3); -lean_inc(x_537); -lean_dec(x_536); -x_538 = lean_ctor_get_uint8(x_537, sizeof(void*)*1); -lean_dec(x_537); -if (x_538 == 0) -{ -lean_object* x_539; -x_539 = lean_ctor_get(x_535, 1); -lean_inc(x_539); -lean_dec(x_535); -x_469 = x_539; -goto block_500; -} -else -{ -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; uint8_t x_544; -x_540 = lean_ctor_get(x_535, 1); -lean_inc(x_540); -lean_dec(x_535); -x_541 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_542 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_541, x_8, x_9, x_10, x_11, x_540); -x_543 = lean_ctor_get(x_542, 0); -lean_inc(x_543); -x_544 = lean_unbox(x_543); -lean_dec(x_543); -if (x_544 == 0) -{ -lean_object* x_545; -x_545 = lean_ctor_get(x_542, 1); -lean_inc(x_545); -lean_dec(x_542); -x_469 = x_545; -goto block_500; -} -else -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; -x_546 = lean_ctor_get(x_542, 1); -lean_inc(x_546); -lean_dec(x_542); -lean_inc(x_465); -x_547 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_547, 0, x_465); -x_548 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_549 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_549, 0, x_548); -lean_ctor_set(x_549, 1, x_547); -x_550 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_551 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_551, 0, x_549); -lean_ctor_set(x_551, 1, x_550); -x_552 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_541, x_551, x_8, x_9, x_10, x_11, x_546); -x_553 = lean_ctor_get(x_552, 1); -lean_inc(x_553); -lean_dec(x_552); -x_469 = x_553; -goto block_500; -} -} -} -} -else -{ -uint8_t x_554; -lean_dec(x_467); -lean_dec(x_465); -lean_dec(x_462); -lean_dec(x_449); -lean_dec(x_448); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_554 = !lean_is_exclusive(x_506); -if (x_554 == 0) -{ -lean_object* x_555; -x_555 = lean_ctor_get(x_506, 0); -lean_dec(x_555); -lean_ctor_set_tag(x_506, 0); -lean_ctor_set(x_506, 0, x_3); -return x_506; -} -else -{ -lean_object* x_556; lean_object* x_557; -x_556 = lean_ctor_get(x_506, 1); -lean_inc(x_556); -lean_dec(x_506); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_3); -lean_ctor_set(x_557, 1, x_556); -return x_557; -} -} -} -} -else -{ -uint8_t x_577; -lean_dec(x_468); -lean_dec(x_467); -lean_dec(x_465); -lean_dec(x_462); -lean_dec(x_449); -lean_dec(x_448); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_577 = !lean_is_exclusive(x_501); -if (x_577 == 0) -{ -lean_object* x_578; -x_578 = lean_ctor_get(x_501, 0); -lean_dec(x_578); -lean_ctor_set_tag(x_501, 0); -lean_ctor_set(x_501, 0, x_3); -return x_501; -} -else -{ -lean_object* x_579; lean_object* x_580; -x_579 = lean_ctor_get(x_501, 1); -lean_inc(x_579); -lean_dec(x_501); -x_580 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_580, 0, x_3); -lean_ctor_set(x_580, 1, x_579); -return x_580; -} -} -block_500: -{ -lean_object* x_470; uint8_t x_471; -x_470 = lean_array_get_size(x_1); -x_471 = lean_nat_dec_lt(x_445, x_470); -if (x_471 == 0) -{ -lean_object* x_472; lean_object* x_473; lean_object* x_474; -lean_dec(x_470); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_462)) { - x_472 = lean_alloc_ctor(0, 2, 0); -} else { - x_472 = x_462; -} -lean_ctor_set(x_472, 0, x_465); -lean_ctor_set(x_472, 1, x_448); -if (lean_is_scalar(x_449)) { - x_473 = lean_alloc_ctor(1, 1, 0); -} else { - x_473 = x_449; -} -lean_ctor_set(x_473, 0, x_472); -if (lean_is_scalar(x_467)) { - x_474 = lean_alloc_ctor(0, 2, 0); -} else { - x_474 = x_467; -} -lean_ctor_set(x_474, 0, x_473); -lean_ctor_set(x_474, 1, x_469); -return x_474; -} -else -{ -uint8_t x_475; -x_475 = lean_nat_dec_le(x_470, x_470); -if (x_475 == 0) -{ -lean_object* x_476; lean_object* x_477; lean_object* x_478; -lean_dec(x_470); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_462)) { - x_476 = lean_alloc_ctor(0, 2, 0); -} else { - x_476 = x_462; -} -lean_ctor_set(x_476, 0, x_465); -lean_ctor_set(x_476, 1, x_448); -if (lean_is_scalar(x_449)) { - x_477 = lean_alloc_ctor(1, 1, 0); -} else { - x_477 = x_449; -} -lean_ctor_set(x_477, 0, x_476); -if (lean_is_scalar(x_467)) { - x_478 = lean_alloc_ctor(0, 2, 0); -} else { - x_478 = x_467; -} -lean_ctor_set(x_478, 0, x_477); -lean_ctor_set(x_478, 1, x_469); -return x_478; -} -else -{ -size_t x_479; size_t x_480; lean_object* x_481; -lean_dec(x_467); -x_479 = 0; -x_480 = lean_usize_of_nat(x_470); -lean_dec(x_470); -lean_inc(x_465); -x_481 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_465, x_1, x_479, x_480, x_8, x_9, x_10, x_11, x_469); -if (lean_obj_tag(x_481) == 0) -{ -lean_object* x_482; uint8_t x_483; -x_482 = lean_ctor_get(x_481, 0); -lean_inc(x_482); -x_483 = lean_unbox(x_482); -lean_dec(x_482); -if (x_483 == 0) -{ -uint8_t x_484; -lean_dec(x_3); -x_484 = !lean_is_exclusive(x_481); -if (x_484 == 0) -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; -x_485 = lean_ctor_get(x_481, 0); -lean_dec(x_485); -if (lean_is_scalar(x_462)) { - x_486 = lean_alloc_ctor(0, 2, 0); -} else { - x_486 = x_462; -} -lean_ctor_set(x_486, 0, x_465); -lean_ctor_set(x_486, 1, x_448); -if (lean_is_scalar(x_449)) { - x_487 = lean_alloc_ctor(1, 1, 0); -} else { - x_487 = x_449; -} -lean_ctor_set(x_487, 0, x_486); -lean_ctor_set(x_481, 0, x_487); -return x_481; -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; -x_488 = lean_ctor_get(x_481, 1); -lean_inc(x_488); -lean_dec(x_481); -if (lean_is_scalar(x_462)) { - x_489 = lean_alloc_ctor(0, 2, 0); -} else { - x_489 = x_462; -} -lean_ctor_set(x_489, 0, x_465); -lean_ctor_set(x_489, 1, x_448); -if (lean_is_scalar(x_449)) { - x_490 = lean_alloc_ctor(1, 1, 0); -} else { - x_490 = x_449; -} -lean_ctor_set(x_490, 0, x_489); -x_491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_491, 0, x_490); -lean_ctor_set(x_491, 1, x_488); -return x_491; -} -} -else -{ -uint8_t x_492; -lean_dec(x_465); -lean_dec(x_462); -lean_dec(x_449); -lean_dec(x_448); -x_492 = !lean_is_exclusive(x_481); -if (x_492 == 0) -{ -lean_object* x_493; -x_493 = lean_ctor_get(x_481, 0); -lean_dec(x_493); -lean_ctor_set(x_481, 0, x_3); -return x_481; -} -else -{ -lean_object* x_494; lean_object* x_495; -x_494 = lean_ctor_get(x_481, 1); -lean_inc(x_494); -lean_dec(x_481); -x_495 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_495, 0, x_3); -lean_ctor_set(x_495, 1, x_494); -return x_495; -} -} -} -else -{ -uint8_t x_496; -lean_dec(x_465); -lean_dec(x_462); -lean_dec(x_449); -lean_dec(x_448); -x_496 = !lean_is_exclusive(x_481); -if (x_496 == 0) -{ -lean_object* x_497; -x_497 = lean_ctor_get(x_481, 0); -lean_dec(x_497); -lean_ctor_set_tag(x_481, 0); -lean_ctor_set(x_481, 0, x_3); -return x_481; -} -else -{ -lean_object* x_498; lean_object* x_499; -x_498 = lean_ctor_get(x_481, 1); -lean_inc(x_498); -lean_dec(x_481); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_3); -lean_ctor_set(x_499, 1, x_498); -return x_499; -} -} -} -} -} -} -else -{ -uint8_t x_581; -lean_dec(x_449); -lean_dec(x_448); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_581 = !lean_is_exclusive(x_458); -if (x_581 == 0) -{ -return x_458; -} -else -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_582 = lean_ctor_get(x_458, 0); -x_583 = lean_ctor_get(x_458, 1); -lean_inc(x_583); -lean_inc(x_582); -lean_dec(x_458); -x_584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_584, 0, x_582); -lean_ctor_set(x_584, 1, x_583); -return x_584; -} -} -} -} -} -} -case 4: -{ -lean_object* x_585; -lean_dec(x_7); -lean_dec(x_6); -x_585 = l_Lean_Expr_constName_x3f(x_5); -lean_dec(x_5); -if (lean_obj_tag(x_585) == 0) -{ -lean_object* x_586; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_586 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_586, 0, x_3); -lean_ctor_set(x_586, 1, x_12); -return x_586; -} -else -{ -lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_587 = lean_ctor_get(x_585, 0); -lean_inc(x_587); -lean_dec(x_585); -x_588 = lean_unsigned_to_nat(0u); -x_589 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_588); -if (lean_obj_tag(x_589) == 0) -{ -lean_object* x_590; -lean_dec(x_587); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_590 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_590, 0, x_3); -lean_ctor_set(x_590, 1, x_12); -return x_590; -} -else -{ -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; uint8_t x_595; -x_591 = lean_ctor_get(x_589, 0); -lean_inc(x_591); -if (lean_is_exclusive(x_589)) { - lean_ctor_release(x_589, 0); - x_592 = x_589; -} else { - lean_dec_ref(x_589); - x_592 = lean_box(0); -} -x_593 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_587, x_8, x_9, x_10, x_11, x_12); -x_594 = lean_ctor_get(x_593, 0); -lean_inc(x_594); -x_595 = lean_unbox(x_594); -lean_dec(x_594); -if (x_595 == 0) -{ -uint8_t x_596; -lean_dec(x_592); -lean_dec(x_591); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_596 = !lean_is_exclusive(x_593); -if (x_596 == 0) -{ -lean_object* x_597; -x_597 = lean_ctor_get(x_593, 0); -lean_dec(x_597); -lean_ctor_set(x_593, 0, x_3); -return x_593; -} -else -{ -lean_object* x_598; lean_object* x_599; -x_598 = lean_ctor_get(x_593, 1); -lean_inc(x_598); -lean_dec(x_593); -x_599 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_599, 0, x_3); -lean_ctor_set(x_599, 1, x_598); -return x_599; -} -} -else -{ -lean_object* x_600; lean_object* x_601; -x_600 = lean_ctor_get(x_593, 1); -lean_inc(x_600); -lean_dec(x_593); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_601 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_591, x_8, x_9, x_10, x_11, x_600); -if (lean_obj_tag(x_601) == 0) -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_644; -x_602 = lean_ctor_get(x_601, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_601, 1); -lean_inc(x_603); -lean_dec(x_601); -x_604 = lean_ctor_get(x_602, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_602)) { - lean_ctor_release(x_602, 0); - lean_ctor_release(x_602, 1); - x_605 = x_602; -} else { - lean_dec_ref(x_602); - x_605 = lean_box(0); -} -x_606 = lean_box(0); -lean_inc(x_8); -x_607 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_604, x_606, x_8, x_9, x_10, x_11, x_603); -x_608 = lean_ctor_get(x_607, 0); -lean_inc(x_608); -x_609 = lean_ctor_get(x_607, 1); -lean_inc(x_609); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - x_610 = x_607; -} else { - lean_dec_ref(x_607); - x_610 = lean_box(0); -} -x_611 = l_Lean_Expr_mvarId_x21(x_608); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_644 = l_Lean_Meta_ppGoal(x_611, x_8, x_9, x_10, x_11, x_609); -if (lean_obj_tag(x_644) == 0) -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; -x_645 = lean_ctor_get(x_644, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_644, 1); -lean_inc(x_646); -lean_dec(x_644); -x_702 = lean_st_ref_get(x_11, x_646); -x_703 = lean_ctor_get(x_702, 0); -lean_inc(x_703); -x_704 = lean_ctor_get(x_703, 3); -lean_inc(x_704); -lean_dec(x_703); -x_705 = lean_ctor_get_uint8(x_704, sizeof(void*)*1); -lean_dec(x_704); -if (x_705 == 0) -{ -lean_object* x_706; -lean_dec(x_645); -x_706 = lean_ctor_get(x_702, 1); -lean_inc(x_706); -lean_dec(x_702); -x_647 = x_706; -goto block_701; -} -else -{ -lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; uint8_t x_711; -x_707 = lean_ctor_get(x_702, 1); -lean_inc(x_707); -lean_dec(x_702); -x_708 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_709 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_708, x_8, x_9, x_10, x_11, x_707); -x_710 = lean_ctor_get(x_709, 0); -lean_inc(x_710); -x_711 = lean_unbox(x_710); -lean_dec(x_710); -if (x_711 == 0) -{ -lean_object* x_712; -lean_dec(x_645); -x_712 = lean_ctor_get(x_709, 1); -lean_inc(x_712); -lean_dec(x_709); -x_647 = x_712; -goto block_701; -} -else -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; -x_713 = lean_ctor_get(x_709, 1); -lean_inc(x_713); -lean_dec(x_709); -x_714 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_714, 0, x_645); -x_715 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_716 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_716, 0, x_715); -lean_ctor_set(x_716, 1, x_714); -x_717 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_717, 0, x_716); -lean_ctor_set(x_717, 1, x_715); -x_718 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_708, x_717, x_8, x_9, x_10, x_11, x_713); -x_719 = lean_ctor_get(x_718, 1); -lean_inc(x_719); -lean_dec(x_718); -x_647 = x_719; -goto block_701; -} -} -block_701: -{ -lean_object* x_648; lean_object* x_649; -x_648 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_649 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_611, x_648, x_8, x_9, x_10, x_11, x_647); -if (lean_obj_tag(x_649) == 0) -{ -lean_object* x_650; uint8_t x_651; -x_650 = lean_ctor_get(x_649, 0); -lean_inc(x_650); -x_651 = lean_unbox(x_650); -lean_dec(x_650); -if (x_651 == 0) -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; uint8_t x_656; -lean_dec(x_610); -lean_dec(x_608); -lean_dec(x_605); -lean_dec(x_592); -lean_dec(x_591); -x_652 = lean_ctor_get(x_649, 1); -lean_inc(x_652); -lean_dec(x_649); -x_653 = lean_st_ref_get(x_11, x_652); -x_654 = lean_ctor_get(x_653, 0); -lean_inc(x_654); -x_655 = lean_ctor_get(x_654, 3); -lean_inc(x_655); -lean_dec(x_654); -x_656 = lean_ctor_get_uint8(x_655, sizeof(void*)*1); -lean_dec(x_655); -if (x_656 == 0) -{ -uint8_t x_657; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_657 = !lean_is_exclusive(x_653); -if (x_657 == 0) -{ -lean_object* x_658; -x_658 = lean_ctor_get(x_653, 0); -lean_dec(x_658); -lean_ctor_set(x_653, 0, x_3); -return x_653; -} -else -{ -lean_object* x_659; lean_object* x_660; -x_659 = lean_ctor_get(x_653, 1); -lean_inc(x_659); -lean_dec(x_653); -x_660 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_660, 0, x_3); -lean_ctor_set(x_660, 1, x_659); -return x_660; -} -} -else -{ -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; uint8_t x_665; -x_661 = lean_ctor_get(x_653, 1); -lean_inc(x_661); -lean_dec(x_653); -x_662 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_663 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_662, x_8, x_9, x_10, x_11, x_661); -x_664 = lean_ctor_get(x_663, 0); -lean_inc(x_664); -x_665 = lean_unbox(x_664); -lean_dec(x_664); -if (x_665 == 0) -{ -uint8_t x_666; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_666 = !lean_is_exclusive(x_663); -if (x_666 == 0) -{ -lean_object* x_667; -x_667 = lean_ctor_get(x_663, 0); -lean_dec(x_667); -lean_ctor_set(x_663, 0, x_3); -return x_663; -} -else -{ -lean_object* x_668; lean_object* x_669; -x_668 = lean_ctor_get(x_663, 1); -lean_inc(x_668); -lean_dec(x_663); -x_669 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_669, 0, x_3); -lean_ctor_set(x_669, 1, x_668); -return x_669; -} -} -else -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; -x_670 = lean_ctor_get(x_663, 1); -lean_inc(x_670); -lean_dec(x_663); -x_671 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_672 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_662, x_671, x_8, x_9, x_10, x_11, x_670); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_673 = !lean_is_exclusive(x_672); -if (x_673 == 0) -{ -lean_object* x_674; -x_674 = lean_ctor_get(x_672, 0); -lean_dec(x_674); -lean_ctor_set(x_672, 0, x_3); -return x_672; -} -else -{ -lean_object* x_675; lean_object* x_676; -x_675 = lean_ctor_get(x_672, 1); -lean_inc(x_675); -lean_dec(x_672); -x_676 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_676, 0, x_3); -lean_ctor_set(x_676, 1, x_675); -return x_676; -} -} -} -} -else -{ -lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; uint8_t x_681; -x_677 = lean_ctor_get(x_649, 1); -lean_inc(x_677); -lean_dec(x_649); -x_678 = lean_st_ref_get(x_11, x_677); -x_679 = lean_ctor_get(x_678, 0); -lean_inc(x_679); -x_680 = lean_ctor_get(x_679, 3); -lean_inc(x_680); -lean_dec(x_679); -x_681 = lean_ctor_get_uint8(x_680, sizeof(void*)*1); -lean_dec(x_680); -if (x_681 == 0) -{ -lean_object* x_682; -x_682 = lean_ctor_get(x_678, 1); -lean_inc(x_682); -lean_dec(x_678); -x_612 = x_682; -goto block_643; -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; uint8_t x_687; -x_683 = lean_ctor_get(x_678, 1); -lean_inc(x_683); -lean_dec(x_678); -x_684 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_685 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_684, x_8, x_9, x_10, x_11, x_683); -x_686 = lean_ctor_get(x_685, 0); -lean_inc(x_686); -x_687 = lean_unbox(x_686); -lean_dec(x_686); -if (x_687 == 0) -{ -lean_object* x_688; -x_688 = lean_ctor_get(x_685, 1); -lean_inc(x_688); -lean_dec(x_685); -x_612 = x_688; -goto block_643; -} -else -{ -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; -x_689 = lean_ctor_get(x_685, 1); -lean_inc(x_689); -lean_dec(x_685); -lean_inc(x_608); -x_690 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_690, 0, x_608); -x_691 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -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_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -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_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_684, x_694, x_8, x_9, x_10, x_11, x_689); -x_696 = lean_ctor_get(x_695, 1); -lean_inc(x_696); -lean_dec(x_695); -x_612 = x_696; -goto block_643; -} -} -} -} -else -{ -uint8_t x_697; -lean_dec(x_610); -lean_dec(x_608); -lean_dec(x_605); -lean_dec(x_592); -lean_dec(x_591); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_697 = !lean_is_exclusive(x_649); -if (x_697 == 0) -{ -lean_object* x_698; -x_698 = lean_ctor_get(x_649, 0); -lean_dec(x_698); -lean_ctor_set_tag(x_649, 0); -lean_ctor_set(x_649, 0, x_3); -return x_649; -} -else -{ -lean_object* x_699; lean_object* x_700; -x_699 = lean_ctor_get(x_649, 1); -lean_inc(x_699); -lean_dec(x_649); -x_700 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_700, 0, x_3); -lean_ctor_set(x_700, 1, x_699); -return x_700; -} -} -} -} -else -{ -uint8_t x_720; -lean_dec(x_611); -lean_dec(x_610); -lean_dec(x_608); -lean_dec(x_605); -lean_dec(x_592); -lean_dec(x_591); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_720 = !lean_is_exclusive(x_644); -if (x_720 == 0) -{ -lean_object* x_721; -x_721 = lean_ctor_get(x_644, 0); -lean_dec(x_721); -lean_ctor_set_tag(x_644, 0); -lean_ctor_set(x_644, 0, x_3); -return x_644; -} -else -{ -lean_object* x_722; lean_object* x_723; -x_722 = lean_ctor_get(x_644, 1); -lean_inc(x_722); -lean_dec(x_644); -x_723 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_723, 0, x_3); -lean_ctor_set(x_723, 1, x_722); -return x_723; -} -} -block_643: -{ -lean_object* x_613; uint8_t x_614; -x_613 = lean_array_get_size(x_1); -x_614 = lean_nat_dec_lt(x_588, x_613); -if (x_614 == 0) -{ -lean_object* x_615; lean_object* x_616; lean_object* x_617; -lean_dec(x_613); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_605)) { - x_615 = lean_alloc_ctor(0, 2, 0); -} else { - x_615 = x_605; -} -lean_ctor_set(x_615, 0, x_608); -lean_ctor_set(x_615, 1, x_591); -if (lean_is_scalar(x_592)) { - x_616 = lean_alloc_ctor(1, 1, 0); -} else { - x_616 = x_592; -} -lean_ctor_set(x_616, 0, x_615); -if (lean_is_scalar(x_610)) { - x_617 = lean_alloc_ctor(0, 2, 0); -} else { - x_617 = x_610; -} -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_612); -return x_617; -} -else -{ -uint8_t x_618; -x_618 = lean_nat_dec_le(x_613, x_613); -if (x_618 == 0) -{ -lean_object* x_619; lean_object* x_620; lean_object* x_621; -lean_dec(x_613); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_605)) { - x_619 = lean_alloc_ctor(0, 2, 0); -} else { - x_619 = x_605; -} -lean_ctor_set(x_619, 0, x_608); -lean_ctor_set(x_619, 1, x_591); -if (lean_is_scalar(x_592)) { - x_620 = lean_alloc_ctor(1, 1, 0); -} else { - x_620 = x_592; -} -lean_ctor_set(x_620, 0, x_619); -if (lean_is_scalar(x_610)) { - x_621 = lean_alloc_ctor(0, 2, 0); -} else { - x_621 = x_610; -} -lean_ctor_set(x_621, 0, x_620); -lean_ctor_set(x_621, 1, x_612); -return x_621; -} -else -{ -size_t x_622; size_t x_623; lean_object* x_624; -lean_dec(x_610); -x_622 = 0; -x_623 = lean_usize_of_nat(x_613); -lean_dec(x_613); -lean_inc(x_608); -x_624 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_608, x_1, x_622, x_623, x_8, x_9, x_10, x_11, x_612); -if (lean_obj_tag(x_624) == 0) -{ -lean_object* x_625; uint8_t x_626; -x_625 = lean_ctor_get(x_624, 0); -lean_inc(x_625); -x_626 = lean_unbox(x_625); -lean_dec(x_625); -if (x_626 == 0) -{ -uint8_t x_627; -lean_dec(x_3); -x_627 = !lean_is_exclusive(x_624); -if (x_627 == 0) -{ -lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_624, 0); -lean_dec(x_628); -if (lean_is_scalar(x_605)) { - x_629 = lean_alloc_ctor(0, 2, 0); -} else { - x_629 = x_605; -} -lean_ctor_set(x_629, 0, x_608); -lean_ctor_set(x_629, 1, x_591); -if (lean_is_scalar(x_592)) { - x_630 = lean_alloc_ctor(1, 1, 0); -} else { - x_630 = x_592; -} -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_624, 0, x_630); -return x_624; -} -else -{ -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; -x_631 = lean_ctor_get(x_624, 1); -lean_inc(x_631); -lean_dec(x_624); -if (lean_is_scalar(x_605)) { - x_632 = lean_alloc_ctor(0, 2, 0); -} else { - x_632 = x_605; -} -lean_ctor_set(x_632, 0, x_608); -lean_ctor_set(x_632, 1, x_591); -if (lean_is_scalar(x_592)) { - x_633 = lean_alloc_ctor(1, 1, 0); -} else { - x_633 = x_592; -} -lean_ctor_set(x_633, 0, x_632); -x_634 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_634, 0, x_633); -lean_ctor_set(x_634, 1, x_631); -return x_634; -} -} -else -{ -uint8_t x_635; -lean_dec(x_608); -lean_dec(x_605); -lean_dec(x_592); -lean_dec(x_591); -x_635 = !lean_is_exclusive(x_624); -if (x_635 == 0) -{ -lean_object* x_636; -x_636 = lean_ctor_get(x_624, 0); -lean_dec(x_636); -lean_ctor_set(x_624, 0, x_3); -return x_624; -} -else -{ -lean_object* x_637; lean_object* x_638; -x_637 = lean_ctor_get(x_624, 1); -lean_inc(x_637); -lean_dec(x_624); -x_638 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_638, 0, x_3); -lean_ctor_set(x_638, 1, x_637); -return x_638; -} -} -} -else -{ -uint8_t x_639; -lean_dec(x_608); -lean_dec(x_605); -lean_dec(x_592); -lean_dec(x_591); -x_639 = !lean_is_exclusive(x_624); -if (x_639 == 0) -{ -lean_object* x_640; -x_640 = lean_ctor_get(x_624, 0); -lean_dec(x_640); -lean_ctor_set_tag(x_624, 0); -lean_ctor_set(x_624, 0, x_3); -return x_624; -} -else -{ -lean_object* x_641; lean_object* x_642; -x_641 = lean_ctor_get(x_624, 1); -lean_inc(x_641); -lean_dec(x_624); -x_642 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_642, 0, x_3); -lean_ctor_set(x_642, 1, x_641); -return x_642; -} -} -} -} -} -} -else -{ -uint8_t x_724; -lean_dec(x_592); -lean_dec(x_591); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_724 = !lean_is_exclusive(x_601); -if (x_724 == 0) -{ -return x_601; -} -else -{ -lean_object* x_725; lean_object* x_726; lean_object* x_727; -x_725 = lean_ctor_get(x_601, 0); -x_726 = lean_ctor_get(x_601, 1); -lean_inc(x_726); -lean_inc(x_725); -lean_dec(x_601); -x_727 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_727, 0, x_725); -lean_ctor_set(x_727, 1, x_726); -return x_727; -} -} -} -} -} -} -case 5: -{ -lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; -x_728 = lean_ctor_get(x_5, 0); -lean_inc(x_728); -x_729 = lean_ctor_get(x_5, 1); -lean_inc(x_729); -lean_dec(x_5); -x_730 = lean_array_set(x_6, x_7, x_729); -x_731 = lean_unsigned_to_nat(1u); -x_732 = lean_nat_sub(x_7, x_731); -lean_dec(x_7); -x_5 = x_728; -x_6 = x_730; -x_7 = x_732; -goto _start; -} -case 6: -{ -lean_object* x_734; -lean_dec(x_7); -lean_dec(x_6); -x_734 = l_Lean_Expr_constName_x3f(x_5); -lean_dec(x_5); -if (lean_obj_tag(x_734) == 0) -{ -lean_object* x_735; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_735 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_735, 0, x_3); -lean_ctor_set(x_735, 1, x_12); -return x_735; -} -else -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; -x_736 = lean_ctor_get(x_734, 0); -lean_inc(x_736); -lean_dec(x_734); -x_737 = lean_unsigned_to_nat(0u); -x_738 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_737); -if (lean_obj_tag(x_738) == 0) -{ -lean_object* x_739; -lean_dec(x_736); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_739 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_739, 0, x_3); -lean_ctor_set(x_739, 1, x_12); -return x_739; -} -else -{ -lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; uint8_t x_744; -x_740 = lean_ctor_get(x_738, 0); -lean_inc(x_740); -if (lean_is_exclusive(x_738)) { - lean_ctor_release(x_738, 0); - x_741 = x_738; -} else { - lean_dec_ref(x_738); - x_741 = lean_box(0); -} -x_742 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_736, x_8, x_9, x_10, x_11, x_12); -x_743 = lean_ctor_get(x_742, 0); -lean_inc(x_743); -x_744 = lean_unbox(x_743); -lean_dec(x_743); -if (x_744 == 0) -{ -uint8_t x_745; -lean_dec(x_741); -lean_dec(x_740); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -x_745 = !lean_is_exclusive(x_742); -if (x_745 == 0) -{ -lean_object* x_746; -x_746 = lean_ctor_get(x_742, 0); -lean_dec(x_746); -lean_ctor_set(x_742, 0, x_3); -return x_742; -} -else -{ -lean_object* x_747; lean_object* x_748; -x_747 = lean_ctor_get(x_742, 1); -lean_inc(x_747); -lean_dec(x_742); -x_748 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_748, 0, x_3); -lean_ctor_set(x_748, 1, x_747); -return x_748; -} -} -else -{ -lean_object* x_749; lean_object* x_750; -x_749 = lean_ctor_get(x_742, 1); -lean_inc(x_749); -lean_dec(x_742); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_750 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_740, x_8, x_9, x_10, x_11, x_749); -if (lean_obj_tag(x_750) == 0) -{ -lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_793; -x_751 = lean_ctor_get(x_750, 0); -lean_inc(x_751); -x_752 = lean_ctor_get(x_750, 1); -lean_inc(x_752); -lean_dec(x_750); -x_753 = lean_ctor_get(x_751, 1); -lean_inc(x_753); -if (lean_is_exclusive(x_751)) { - lean_ctor_release(x_751, 0); - lean_ctor_release(x_751, 1); - x_754 = x_751; -} else { - lean_dec_ref(x_751); - x_754 = lean_box(0); -} -x_755 = lean_box(0); -lean_inc(x_8); -x_756 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_753, x_755, x_8, x_9, x_10, x_11, x_752); -x_757 = lean_ctor_get(x_756, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_756, 1); -lean_inc(x_758); -if (lean_is_exclusive(x_756)) { - lean_ctor_release(x_756, 0); - lean_ctor_release(x_756, 1); - x_759 = x_756; -} else { - lean_dec_ref(x_756); - x_759 = lean_box(0); -} -x_760 = l_Lean_Expr_mvarId_x21(x_757); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_793 = l_Lean_Meta_ppGoal(x_760, x_8, x_9, x_10, x_11, x_758); -if (lean_obj_tag(x_793) == 0) -{ -lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_851; lean_object* x_852; lean_object* x_853; uint8_t x_854; -x_794 = lean_ctor_get(x_793, 0); -lean_inc(x_794); -x_795 = lean_ctor_get(x_793, 1); -lean_inc(x_795); -lean_dec(x_793); -x_851 = lean_st_ref_get(x_11, x_795); -x_852 = lean_ctor_get(x_851, 0); -lean_inc(x_852); -x_853 = lean_ctor_get(x_852, 3); -lean_inc(x_853); -lean_dec(x_852); -x_854 = lean_ctor_get_uint8(x_853, sizeof(void*)*1); -lean_dec(x_853); -if (x_854 == 0) -{ -lean_object* x_855; -lean_dec(x_794); -x_855 = lean_ctor_get(x_851, 1); -lean_inc(x_855); -lean_dec(x_851); -x_796 = x_855; -goto block_850; -} -else -{ -lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; uint8_t x_860; -x_856 = lean_ctor_get(x_851, 1); -lean_inc(x_856); -lean_dec(x_851); -x_857 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_858 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_857, x_8, x_9, x_10, x_11, x_856); -x_859 = lean_ctor_get(x_858, 0); -lean_inc(x_859); -x_860 = lean_unbox(x_859); -lean_dec(x_859); -if (x_860 == 0) -{ -lean_object* x_861; -lean_dec(x_794); -x_861 = lean_ctor_get(x_858, 1); -lean_inc(x_861); -lean_dec(x_858); -x_796 = x_861; -goto block_850; -} -else -{ -lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; -x_862 = lean_ctor_get(x_858, 1); -lean_inc(x_862); -lean_dec(x_858); -x_863 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_863, 0, x_794); -x_864 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_865 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_865, 0, x_864); -lean_ctor_set(x_865, 1, x_863); -x_866 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_857, x_866, x_8, x_9, x_10, x_11, x_862); -x_868 = lean_ctor_get(x_867, 1); -lean_inc(x_868); -lean_dec(x_867); -x_796 = x_868; -goto block_850; -} -} -block_850: -{ -lean_object* x_797; lean_object* x_798; -x_797 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_798 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_760, x_797, x_8, x_9, x_10, x_11, x_796); -if (lean_obj_tag(x_798) == 0) -{ -lean_object* x_799; uint8_t x_800; -x_799 = lean_ctor_get(x_798, 0); -lean_inc(x_799); -x_800 = lean_unbox(x_799); -lean_dec(x_799); -if (x_800 == 0) -{ -lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; uint8_t x_805; -lean_dec(x_759); -lean_dec(x_757); -lean_dec(x_754); -lean_dec(x_741); -lean_dec(x_740); -x_801 = lean_ctor_get(x_798, 1); -lean_inc(x_801); -lean_dec(x_798); -x_802 = lean_st_ref_get(x_11, x_801); -x_803 = lean_ctor_get(x_802, 0); -lean_inc(x_803); -x_804 = lean_ctor_get(x_803, 3); -lean_inc(x_804); -lean_dec(x_803); -x_805 = lean_ctor_get_uint8(x_804, sizeof(void*)*1); -lean_dec(x_804); -if (x_805 == 0) -{ -uint8_t x_806; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_806 = !lean_is_exclusive(x_802); -if (x_806 == 0) -{ -lean_object* x_807; -x_807 = lean_ctor_get(x_802, 0); -lean_dec(x_807); -lean_ctor_set(x_802, 0, x_3); -return x_802; -} -else -{ -lean_object* x_808; lean_object* x_809; -x_808 = lean_ctor_get(x_802, 1); -lean_inc(x_808); -lean_dec(x_802); -x_809 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_809, 0, x_3); -lean_ctor_set(x_809, 1, x_808); -return x_809; -} -} -else -{ -lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; uint8_t x_814; -x_810 = lean_ctor_get(x_802, 1); -lean_inc(x_810); -lean_dec(x_802); -x_811 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_812 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_811, x_8, x_9, x_10, x_11, x_810); -x_813 = lean_ctor_get(x_812, 0); -lean_inc(x_813); -x_814 = lean_unbox(x_813); -lean_dec(x_813); -if (x_814 == 0) -{ -uint8_t x_815; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_815 = !lean_is_exclusive(x_812); -if (x_815 == 0) -{ -lean_object* x_816; -x_816 = lean_ctor_get(x_812, 0); -lean_dec(x_816); -lean_ctor_set(x_812, 0, x_3); -return x_812; -} -else -{ -lean_object* x_817; lean_object* x_818; -x_817 = lean_ctor_get(x_812, 1); -lean_inc(x_817); -lean_dec(x_812); -x_818 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_818, 0, x_3); -lean_ctor_set(x_818, 1, x_817); -return x_818; -} -} -else -{ -lean_object* x_819; lean_object* x_820; lean_object* x_821; uint8_t x_822; -x_819 = lean_ctor_get(x_812, 1); -lean_inc(x_819); -lean_dec(x_812); -x_820 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_821 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_811, x_820, x_8, x_9, x_10, x_11, x_819); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_822 = !lean_is_exclusive(x_821); -if (x_822 == 0) -{ -lean_object* x_823; -x_823 = lean_ctor_get(x_821, 0); -lean_dec(x_823); -lean_ctor_set(x_821, 0, x_3); -return x_821; -} -else -{ -lean_object* x_824; lean_object* x_825; -x_824 = lean_ctor_get(x_821, 1); -lean_inc(x_824); -lean_dec(x_821); -x_825 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_825, 0, x_3); -lean_ctor_set(x_825, 1, x_824); -return x_825; -} -} -} -} -else -{ -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; uint8_t x_830; -x_826 = lean_ctor_get(x_798, 1); -lean_inc(x_826); -lean_dec(x_798); -x_827 = lean_st_ref_get(x_11, x_826); -x_828 = lean_ctor_get(x_827, 0); -lean_inc(x_828); -x_829 = lean_ctor_get(x_828, 3); -lean_inc(x_829); -lean_dec(x_828); -x_830 = lean_ctor_get_uint8(x_829, sizeof(void*)*1); -lean_dec(x_829); -if (x_830 == 0) -{ -lean_object* x_831; -x_831 = lean_ctor_get(x_827, 1); -lean_inc(x_831); -lean_dec(x_827); -x_761 = x_831; -goto block_792; -} -else -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; uint8_t x_836; -x_832 = lean_ctor_get(x_827, 1); -lean_inc(x_832); -lean_dec(x_827); -x_833 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_834 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_833, x_8, x_9, x_10, x_11, x_832); -x_835 = lean_ctor_get(x_834, 0); -lean_inc(x_835); -x_836 = lean_unbox(x_835); -lean_dec(x_835); -if (x_836 == 0) -{ -lean_object* x_837; -x_837 = lean_ctor_get(x_834, 1); -lean_inc(x_837); -lean_dec(x_834); -x_761 = x_837; -goto block_792; -} -else -{ -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; -x_838 = lean_ctor_get(x_834, 1); -lean_inc(x_838); -lean_dec(x_834); -lean_inc(x_757); -x_839 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_839, 0, x_757); -x_840 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_841 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_841, 0, x_840); -lean_ctor_set(x_841, 1, x_839); -x_842 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_843 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_843, 0, x_841); -lean_ctor_set(x_843, 1, x_842); -x_844 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_833, x_843, x_8, x_9, x_10, x_11, x_838); -x_845 = lean_ctor_get(x_844, 1); -lean_inc(x_845); -lean_dec(x_844); -x_761 = x_845; -goto block_792; -} -} -} -} -else -{ -uint8_t x_846; -lean_dec(x_759); -lean_dec(x_757); -lean_dec(x_754); -lean_dec(x_741); -lean_dec(x_740); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_846 = !lean_is_exclusive(x_798); -if (x_846 == 0) -{ -lean_object* x_847; -x_847 = lean_ctor_get(x_798, 0); -lean_dec(x_847); -lean_ctor_set_tag(x_798, 0); -lean_ctor_set(x_798, 0, x_3); -return x_798; -} -else -{ -lean_object* x_848; lean_object* x_849; -x_848 = lean_ctor_get(x_798, 1); -lean_inc(x_848); -lean_dec(x_798); -x_849 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_849, 0, x_3); -lean_ctor_set(x_849, 1, x_848); -return x_849; -} -} -} -} -else -{ -uint8_t x_869; -lean_dec(x_760); -lean_dec(x_759); -lean_dec(x_757); -lean_dec(x_754); -lean_dec(x_741); -lean_dec(x_740); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_869 = !lean_is_exclusive(x_793); -if (x_869 == 0) -{ -lean_object* x_870; -x_870 = lean_ctor_get(x_793, 0); -lean_dec(x_870); -lean_ctor_set_tag(x_793, 0); -lean_ctor_set(x_793, 0, x_3); -return x_793; -} -else -{ -lean_object* x_871; lean_object* x_872; -x_871 = lean_ctor_get(x_793, 1); -lean_inc(x_871); -lean_dec(x_793); -x_872 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_872, 0, x_3); -lean_ctor_set(x_872, 1, x_871); -return x_872; -} -} -block_792: -{ -lean_object* x_762; uint8_t x_763; -x_762 = lean_array_get_size(x_1); -x_763 = lean_nat_dec_lt(x_737, x_762); -if (x_763 == 0) -{ -lean_object* x_764; lean_object* x_765; lean_object* x_766; -lean_dec(x_762); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_754)) { - x_764 = lean_alloc_ctor(0, 2, 0); -} else { - x_764 = x_754; -} -lean_ctor_set(x_764, 0, x_757); -lean_ctor_set(x_764, 1, x_740); -if (lean_is_scalar(x_741)) { - x_765 = lean_alloc_ctor(1, 1, 0); -} else { - x_765 = x_741; -} -lean_ctor_set(x_765, 0, x_764); -if (lean_is_scalar(x_759)) { - x_766 = lean_alloc_ctor(0, 2, 0); -} else { - x_766 = x_759; -} -lean_ctor_set(x_766, 0, x_765); -lean_ctor_set(x_766, 1, x_761); -return x_766; -} -else -{ -uint8_t x_767; -x_767 = lean_nat_dec_le(x_762, x_762); -if (x_767 == 0) -{ -lean_object* x_768; lean_object* x_769; lean_object* x_770; -lean_dec(x_762); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_754)) { - x_768 = lean_alloc_ctor(0, 2, 0); -} else { - x_768 = x_754; -} -lean_ctor_set(x_768, 0, x_757); -lean_ctor_set(x_768, 1, x_740); -if (lean_is_scalar(x_741)) { - x_769 = lean_alloc_ctor(1, 1, 0); -} else { - x_769 = x_741; -} -lean_ctor_set(x_769, 0, x_768); -if (lean_is_scalar(x_759)) { - x_770 = lean_alloc_ctor(0, 2, 0); -} else { - x_770 = x_759; -} -lean_ctor_set(x_770, 0, x_769); -lean_ctor_set(x_770, 1, x_761); -return x_770; -} -else -{ -size_t x_771; size_t x_772; lean_object* x_773; -lean_dec(x_759); -x_771 = 0; -x_772 = lean_usize_of_nat(x_762); -lean_dec(x_762); -lean_inc(x_757); -x_773 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_757, x_1, x_771, x_772, x_8, x_9, x_10, x_11, x_761); -if (lean_obj_tag(x_773) == 0) -{ -lean_object* x_774; uint8_t x_775; -x_774 = lean_ctor_get(x_773, 0); -lean_inc(x_774); -x_775 = lean_unbox(x_774); -lean_dec(x_774); -if (x_775 == 0) -{ -uint8_t x_776; -lean_dec(x_3); -x_776 = !lean_is_exclusive(x_773); -if (x_776 == 0) -{ -lean_object* x_777; lean_object* x_778; lean_object* x_779; -x_777 = lean_ctor_get(x_773, 0); -lean_dec(x_777); -if (lean_is_scalar(x_754)) { - x_778 = lean_alloc_ctor(0, 2, 0); -} else { - x_778 = x_754; -} -lean_ctor_set(x_778, 0, x_757); -lean_ctor_set(x_778, 1, x_740); -if (lean_is_scalar(x_741)) { - x_779 = lean_alloc_ctor(1, 1, 0); -} else { - x_779 = x_741; -} -lean_ctor_set(x_779, 0, x_778); -lean_ctor_set(x_773, 0, x_779); -return x_773; -} -else -{ -lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; -x_780 = lean_ctor_get(x_773, 1); -lean_inc(x_780); -lean_dec(x_773); -if (lean_is_scalar(x_754)) { - x_781 = lean_alloc_ctor(0, 2, 0); -} else { - x_781 = x_754; -} -lean_ctor_set(x_781, 0, x_757); -lean_ctor_set(x_781, 1, x_740); -if (lean_is_scalar(x_741)) { - x_782 = lean_alloc_ctor(1, 1, 0); -} else { - x_782 = x_741; -} -lean_ctor_set(x_782, 0, x_781); -x_783 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_780); -return x_783; -} -} -else -{ -uint8_t x_784; -lean_dec(x_757); -lean_dec(x_754); -lean_dec(x_741); -lean_dec(x_740); -x_784 = !lean_is_exclusive(x_773); -if (x_784 == 0) -{ -lean_object* x_785; -x_785 = lean_ctor_get(x_773, 0); -lean_dec(x_785); -lean_ctor_set(x_773, 0, x_3); -return x_773; -} -else -{ -lean_object* x_786; lean_object* x_787; -x_786 = lean_ctor_get(x_773, 1); -lean_inc(x_786); -lean_dec(x_773); -x_787 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_787, 0, x_3); -lean_ctor_set(x_787, 1, x_786); -return x_787; -} -} -} -else -{ -uint8_t x_788; -lean_dec(x_757); -lean_dec(x_754); -lean_dec(x_741); -lean_dec(x_740); -x_788 = !lean_is_exclusive(x_773); -if (x_788 == 0) -{ -lean_object* x_789; -x_789 = lean_ctor_get(x_773, 0); -lean_dec(x_789); -lean_ctor_set_tag(x_773, 0); -lean_ctor_set(x_773, 0, x_3); -return x_773; -} -else -{ -lean_object* x_790; lean_object* x_791; -x_790 = lean_ctor_get(x_773, 1); -lean_inc(x_790); -lean_dec(x_773); -x_791 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_791, 0, x_3); -lean_ctor_set(x_791, 1, x_790); -return x_791; -} -} -} -} -} -} -else -{ -uint8_t x_873; -lean_dec(x_741); -lean_dec(x_740); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_873 = !lean_is_exclusive(x_750); -if (x_873 == 0) +x_423 = !lean_is_exclusive(x_374); +if (x_423 == 0) { -return x_750; +return x_374; } else { -lean_object* x_874; lean_object* x_875; lean_object* x_876; -x_874 = lean_ctor_get(x_750, 0); -x_875 = lean_ctor_get(x_750, 1); -lean_inc(x_875); -lean_inc(x_874); -lean_dec(x_750); -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_874); -lean_ctor_set(x_876, 1, x_875); -return x_876; +lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_424 = lean_ctor_get(x_374, 0); +x_425 = lean_ctor_get(x_374, 1); +lean_inc(x_425); +lean_inc(x_424); +lean_dec(x_374); +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_424); +lean_ctor_set(x_426, 1, x_425); +return x_426; } } } @@ -22820,722 +20846,321 @@ return x_876; } case 7: { -lean_object* x_877; +lean_object* x_427; lean_dec(x_7); lean_dec(x_6); -x_877 = l_Lean_Expr_constName_x3f(x_5); +x_427 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_877) == 0) +if (lean_obj_tag(x_427) == 0) { -lean_object* x_878; +lean_object* x_428; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_878 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_878, 0, x_3); -lean_ctor_set(x_878, 1, x_12); -return x_878; +x_428 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_428, 0, x_3); +lean_ctor_set(x_428, 1, x_12); +return x_428; } else { -lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_879 = lean_ctor_get(x_877, 0); -lean_inc(x_879); -lean_dec(x_877); -x_880 = lean_unsigned_to_nat(0u); -x_881 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_880); -if (lean_obj_tag(x_881) == 0) +lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_429 = lean_ctor_get(x_427, 0); +lean_inc(x_429); +lean_dec(x_427); +x_430 = lean_unsigned_to_nat(0u); +x_431 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_430); +if (lean_obj_tag(x_431) == 0) { -lean_object* x_882; -lean_dec(x_879); +lean_object* x_432; +lean_dec(x_429); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_882 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_882, 0, x_3); -lean_ctor_set(x_882, 1, x_12); -return x_882; +x_432 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_432, 0, x_3); +lean_ctor_set(x_432, 1, x_12); +return x_432; } else { -lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; uint8_t x_887; -x_883 = lean_ctor_get(x_881, 0); -lean_inc(x_883); -if (lean_is_exclusive(x_881)) { - lean_ctor_release(x_881, 0); - x_884 = x_881; -} else { - lean_dec_ref(x_881); - x_884 = lean_box(0); -} -x_885 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_879, x_8, x_9, x_10, x_11, x_12); -x_886 = lean_ctor_get(x_885, 0); -lean_inc(x_886); -x_887 = lean_unbox(x_886); -lean_dec(x_886); -if (x_887 == 0) +lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +x_433 = lean_ctor_get(x_431, 0); +lean_inc(x_433); +lean_dec(x_431); +x_434 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_429, x_8, x_9, x_10, x_11, x_12); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_unbox(x_435); +lean_dec(x_435); +if (x_436 == 0) { -uint8_t x_888; -lean_dec(x_884); -lean_dec(x_883); +uint8_t x_437; +lean_dec(x_433); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_888 = !lean_is_exclusive(x_885); -if (x_888 == 0) +x_437 = !lean_is_exclusive(x_434); +if (x_437 == 0) { -lean_object* x_889; -x_889 = lean_ctor_get(x_885, 0); -lean_dec(x_889); -lean_ctor_set(x_885, 0, x_3); -return x_885; +lean_object* x_438; +x_438 = lean_ctor_get(x_434, 0); +lean_dec(x_438); +lean_ctor_set(x_434, 0, x_3); +return x_434; } else { -lean_object* x_890; lean_object* x_891; -x_890 = lean_ctor_get(x_885, 1); -lean_inc(x_890); -lean_dec(x_885); -x_891 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_891, 0, x_3); -lean_ctor_set(x_891, 1, x_890); -return x_891; +lean_object* x_439; lean_object* x_440; +x_439 = lean_ctor_get(x_434, 1); +lean_inc(x_439); +lean_dec(x_434); +x_440 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_440, 0, x_3); +lean_ctor_set(x_440, 1, x_439); +return x_440; } } else { -lean_object* x_892; lean_object* x_893; -x_892 = lean_ctor_get(x_885, 1); -lean_inc(x_892); -lean_dec(x_885); +lean_object* x_441; lean_object* x_442; +x_441 = lean_ctor_get(x_434, 1); +lean_inc(x_441); +lean_dec(x_434); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_893 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_883, x_8, x_9, x_10, x_11, x_892); -if (lean_obj_tag(x_893) == 0) +x_442 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_433, x_8, x_9, x_10, x_11, x_441); +if (lean_obj_tag(x_442) == 0) { -lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_936; -x_894 = lean_ctor_get(x_893, 0); -lean_inc(x_894); -x_895 = lean_ctor_get(x_893, 1); -lean_inc(x_895); -lean_dec(x_893); -x_896 = lean_ctor_get(x_894, 1); -lean_inc(x_896); -if (lean_is_exclusive(x_894)) { - lean_ctor_release(x_894, 0); - lean_ctor_release(x_894, 1); - x_897 = x_894; -} else { - lean_dec_ref(x_894); - x_897 = lean_box(0); -} -x_898 = lean_box(0); +lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; lean_object* x_452; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; +x_443 = lean_ctor_get(x_442, 0); +lean_inc(x_443); +x_444 = lean_ctor_get(x_442, 1); +lean_inc(x_444); +lean_dec(x_442); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = lean_box(0); lean_inc(x_8); -x_899 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_896, x_898, x_8, x_9, x_10, x_11, x_895); -x_900 = lean_ctor_get(x_899, 0); -lean_inc(x_900); -x_901 = lean_ctor_get(x_899, 1); -lean_inc(x_901); -if (lean_is_exclusive(x_899)) { - lean_ctor_release(x_899, 0); - lean_ctor_release(x_899, 1); - x_902 = x_899; -} else { - lean_dec_ref(x_899); - x_902 = lean_box(0); +x_447 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_445, x_446, x_8, x_9, x_10, x_11, x_444); +x_448 = lean_ctor_get(x_447, 0); +lean_inc(x_448); +x_449 = lean_ctor_get(x_447, 1); +lean_inc(x_449); +lean_dec(x_447); +x_450 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_480 = lean_st_ref_get(x_11, x_449); +x_481 = lean_ctor_get(x_480, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_481, 3); +lean_inc(x_482); +lean_dec(x_481); +x_483 = lean_ctor_get_uint8(x_482, sizeof(void*)*1); +lean_dec(x_482); +if (x_483 == 0) +{ +lean_object* x_484; uint8_t x_485; +x_484 = lean_ctor_get(x_480, 1); +lean_inc(x_484); +lean_dec(x_480); +x_485 = 0; +x_451 = x_485; +x_452 = x_484; +goto block_479; } -x_903 = l_Lean_Expr_mvarId_x21(x_900); +else +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; +x_486 = lean_ctor_get(x_480, 1); +lean_inc(x_486); +lean_dec(x_480); +x_487 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_450, x_8, x_9, x_10, x_11, x_486); +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +x_490 = lean_unbox(x_488); +lean_dec(x_488); +x_451 = x_490; +x_452 = x_489; +goto block_479; +} +block_479: +{ +if (x_451 == 0) +{ +lean_object* x_453; lean_object* x_454; +x_453 = lean_box(0); +lean_inc(x_3); +x_454 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_453, x_8, x_9, x_10, x_11, x_452); +if (lean_obj_tag(x_454) == 0) +{ +lean_dec(x_3); +return x_454; +} +else +{ +uint8_t x_455; +x_455 = !lean_is_exclusive(x_454); +if (x_455 == 0) +{ +lean_object* x_456; +x_456 = lean_ctor_get(x_454, 0); +lean_dec(x_456); +lean_ctor_set_tag(x_454, 0); +lean_ctor_set(x_454, 0, x_3); +return x_454; +} +else +{ +lean_object* x_457; lean_object* x_458; +x_457 = lean_ctor_get(x_454, 1); +lean_inc(x_457); +lean_dec(x_454); +x_458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_458, 0, x_3); +lean_ctor_set(x_458, 1, x_457); +return x_458; +} +} +} +else +{ +lean_object* x_459; lean_object* x_460; +x_459 = l_Lean_Expr_mvarId_x21(x_448); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_936 = l_Lean_Meta_ppGoal(x_903, x_8, x_9, x_10, x_11, x_901); -if (lean_obj_tag(x_936) == 0) +x_460 = l_Lean_Meta_ppGoal(x_459, x_8, x_9, x_10, x_11, x_452); +lean_dec(x_459); +if (lean_obj_tag(x_460) == 0) { -lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_994; lean_object* x_995; lean_object* x_996; uint8_t x_997; -x_937 = lean_ctor_get(x_936, 0); -lean_inc(x_937); -x_938 = lean_ctor_get(x_936, 1); -lean_inc(x_938); -lean_dec(x_936); -x_994 = lean_st_ref_get(x_11, x_938); -x_995 = lean_ctor_get(x_994, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_995, 3); -lean_inc(x_996); -lean_dec(x_995); -x_997 = lean_ctor_get_uint8(x_996, sizeof(void*)*1); -lean_dec(x_996); -if (x_997 == 0) +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_463, 0, x_461); +x_464 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_465 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_465, 0, x_464); +lean_ctor_set(x_465, 1, x_463); +x_466 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_464); +x_467 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_450, x_466, x_8, x_9, x_10, x_11, x_462); +x_468 = lean_ctor_get(x_467, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_467, 1); +lean_inc(x_469); +lean_dec(x_467); +lean_inc(x_3); +x_470 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_468, x_8, x_9, x_10, x_11, x_469); +lean_dec(x_468); +if (lean_obj_tag(x_470) == 0) { -lean_object* x_998; -lean_dec(x_937); -x_998 = lean_ctor_get(x_994, 1); -lean_inc(x_998); -lean_dec(x_994); -x_939 = x_998; -goto block_993; +lean_dec(x_3); +return x_470; } else { -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; uint8_t x_1003; -x_999 = lean_ctor_get(x_994, 1); -lean_inc(x_999); -lean_dec(x_994); -x_1000 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1001 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1000, x_8, x_9, x_10, x_11, x_999); -x_1002 = lean_ctor_get(x_1001, 0); -lean_inc(x_1002); -x_1003 = lean_unbox(x_1002); -lean_dec(x_1002); -if (x_1003 == 0) +uint8_t x_471; +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) { -lean_object* x_1004; -lean_dec(x_937); -x_1004 = lean_ctor_get(x_1001, 1); -lean_inc(x_1004); -lean_dec(x_1001); -x_939 = x_1004; -goto block_993; +lean_object* x_472; +x_472 = lean_ctor_get(x_470, 0); +lean_dec(x_472); +lean_ctor_set_tag(x_470, 0); +lean_ctor_set(x_470, 0, x_3); +return x_470; } else { -lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; -x_1005 = lean_ctor_get(x_1001, 1); -lean_inc(x_1005); -lean_dec(x_1001); -x_1006 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1006, 0, x_937); -x_1007 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1008 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1008, 0, x_1007); -lean_ctor_set(x_1008, 1, x_1006); -x_1009 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1009, 0, x_1008); -lean_ctor_set(x_1009, 1, x_1007); -x_1010 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1000, x_1009, x_8, x_9, x_10, x_11, x_1005); -x_1011 = lean_ctor_get(x_1010, 1); -lean_inc(x_1011); -lean_dec(x_1010); -x_939 = x_1011; -goto block_993; +lean_object* x_473; lean_object* x_474; +x_473 = lean_ctor_get(x_470, 1); +lean_inc(x_473); +lean_dec(x_470); +x_474 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_474, 0, x_3); +lean_ctor_set(x_474, 1, x_473); +return x_474; } } -block_993: +} +else { -lean_object* x_940; lean_object* x_941; -x_940 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_941 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_903, x_940, x_8, x_9, x_10, x_11, x_939); -if (lean_obj_tag(x_941) == 0) -{ -lean_object* x_942; uint8_t x_943; -x_942 = lean_ctor_get(x_941, 0); -lean_inc(x_942); -x_943 = lean_unbox(x_942); -lean_dec(x_942); -if (x_943 == 0) -{ -lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; uint8_t x_948; -lean_dec(x_902); -lean_dec(x_900); -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_883); -x_944 = lean_ctor_get(x_941, 1); -lean_inc(x_944); -lean_dec(x_941); -x_945 = lean_st_ref_get(x_11, x_944); -x_946 = lean_ctor_get(x_945, 0); -lean_inc(x_946); -x_947 = lean_ctor_get(x_946, 3); -lean_inc(x_947); -lean_dec(x_946); -x_948 = lean_ctor_get_uint8(x_947, sizeof(void*)*1); -lean_dec(x_947); -if (x_948 == 0) -{ -uint8_t x_949; +uint8_t x_475; +lean_dec(x_448); +lean_dec(x_433); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_949 = !lean_is_exclusive(x_945); -if (x_949 == 0) +x_475 = !lean_is_exclusive(x_460); +if (x_475 == 0) { -lean_object* x_950; -x_950 = lean_ctor_get(x_945, 0); -lean_dec(x_950); -lean_ctor_set(x_945, 0, x_3); -return x_945; +lean_object* x_476; +x_476 = lean_ctor_get(x_460, 0); +lean_dec(x_476); +lean_ctor_set_tag(x_460, 0); +lean_ctor_set(x_460, 0, x_3); +return x_460; } else { -lean_object* x_951; lean_object* x_952; -x_951 = lean_ctor_get(x_945, 1); -lean_inc(x_951); -lean_dec(x_945); -x_952 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_952, 0, x_3); -lean_ctor_set(x_952, 1, x_951); -return x_952; +lean_object* x_477; lean_object* x_478; +x_477 = lean_ctor_get(x_460, 1); +lean_inc(x_477); +lean_dec(x_460); +x_478 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_478, 0, x_3); +lean_ctor_set(x_478, 1, x_477); +return x_478; } } -else -{ -lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; uint8_t x_957; -x_953 = lean_ctor_get(x_945, 1); -lean_inc(x_953); -lean_dec(x_945); -x_954 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_955 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_954, x_8, x_9, x_10, x_11, x_953); -x_956 = lean_ctor_get(x_955, 0); -lean_inc(x_956); -x_957 = lean_unbox(x_956); -lean_dec(x_956); -if (x_957 == 0) -{ -uint8_t x_958; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_958 = !lean_is_exclusive(x_955); -if (x_958 == 0) -{ -lean_object* x_959; -x_959 = lean_ctor_get(x_955, 0); -lean_dec(x_959); -lean_ctor_set(x_955, 0, x_3); -return x_955; -} -else -{ -lean_object* x_960; lean_object* x_961; -x_960 = lean_ctor_get(x_955, 1); -lean_inc(x_960); -lean_dec(x_955); -x_961 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_961, 0, x_3); -lean_ctor_set(x_961, 1, x_960); -return x_961; -} -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; uint8_t x_965; -x_962 = lean_ctor_get(x_955, 1); -lean_inc(x_962); -lean_dec(x_955); -x_963 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_964 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_954, x_963, x_8, x_9, x_10, x_11, x_962); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_965 = !lean_is_exclusive(x_964); -if (x_965 == 0) -{ -lean_object* x_966; -x_966 = lean_ctor_get(x_964, 0); -lean_dec(x_966); -lean_ctor_set(x_964, 0, x_3); -return x_964; -} -else -{ -lean_object* x_967; lean_object* x_968; -x_967 = lean_ctor_get(x_964, 1); -lean_inc(x_967); -lean_dec(x_964); -x_968 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_968, 0, x_3); -lean_ctor_set(x_968, 1, x_967); -return x_968; -} } } } else { -lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; uint8_t x_973; -x_969 = lean_ctor_get(x_941, 1); -lean_inc(x_969); -lean_dec(x_941); -x_970 = lean_st_ref_get(x_11, x_969); -x_971 = lean_ctor_get(x_970, 0); -lean_inc(x_971); -x_972 = lean_ctor_get(x_971, 3); -lean_inc(x_972); -lean_dec(x_971); -x_973 = lean_ctor_get_uint8(x_972, sizeof(void*)*1); -lean_dec(x_972); -if (x_973 == 0) -{ -lean_object* x_974; -x_974 = lean_ctor_get(x_970, 1); -lean_inc(x_974); -lean_dec(x_970); -x_904 = x_974; -goto block_935; -} -else -{ -lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; uint8_t x_979; -x_975 = lean_ctor_get(x_970, 1); -lean_inc(x_975); -lean_dec(x_970); -x_976 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_977 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_976, x_8, x_9, x_10, x_11, x_975); -x_978 = lean_ctor_get(x_977, 0); -lean_inc(x_978); -x_979 = lean_unbox(x_978); -lean_dec(x_978); -if (x_979 == 0) -{ -lean_object* x_980; -x_980 = lean_ctor_get(x_977, 1); -lean_inc(x_980); -lean_dec(x_977); -x_904 = x_980; -goto block_935; -} -else -{ -lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; -x_981 = lean_ctor_get(x_977, 1); -lean_inc(x_981); -lean_dec(x_977); -lean_inc(x_900); -x_982 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_982, 0, x_900); -x_983 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_984 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_982); -x_985 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_986 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_986, 0, x_984); -lean_ctor_set(x_986, 1, x_985); -x_987 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_976, x_986, x_8, x_9, x_10, x_11, x_981); -x_988 = lean_ctor_get(x_987, 1); -lean_inc(x_988); -lean_dec(x_987); -x_904 = x_988; -goto block_935; -} -} -} -} -else -{ -uint8_t x_989; -lean_dec(x_902); -lean_dec(x_900); -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_883); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_989 = !lean_is_exclusive(x_941); -if (x_989 == 0) -{ -lean_object* x_990; -x_990 = lean_ctor_get(x_941, 0); -lean_dec(x_990); -lean_ctor_set_tag(x_941, 0); -lean_ctor_set(x_941, 0, x_3); -return x_941; -} -else -{ -lean_object* x_991; lean_object* x_992; -x_991 = lean_ctor_get(x_941, 1); -lean_inc(x_991); -lean_dec(x_941); -x_992 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_992, 0, x_3); -lean_ctor_set(x_992, 1, x_991); -return x_992; -} -} -} -} -else -{ -uint8_t x_1012; -lean_dec(x_903); -lean_dec(x_902); -lean_dec(x_900); -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_883); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1012 = !lean_is_exclusive(x_936); -if (x_1012 == 0) -{ -lean_object* x_1013; -x_1013 = lean_ctor_get(x_936, 0); -lean_dec(x_1013); -lean_ctor_set_tag(x_936, 0); -lean_ctor_set(x_936, 0, x_3); -return x_936; -} -else -{ -lean_object* x_1014; lean_object* x_1015; -x_1014 = lean_ctor_get(x_936, 1); -lean_inc(x_1014); -lean_dec(x_936); -x_1015 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1015, 0, x_3); -lean_ctor_set(x_1015, 1, x_1014); -return x_1015; -} -} -block_935: -{ -lean_object* x_905; uint8_t x_906; -x_905 = lean_array_get_size(x_1); -x_906 = lean_nat_dec_lt(x_880, x_905); -if (x_906 == 0) -{ -lean_object* x_907; lean_object* x_908; lean_object* x_909; -lean_dec(x_905); +uint8_t x_491; +lean_dec(x_433); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_897)) { - x_907 = lean_alloc_ctor(0, 2, 0); -} else { - x_907 = x_897; -} -lean_ctor_set(x_907, 0, x_900); -lean_ctor_set(x_907, 1, x_883); -if (lean_is_scalar(x_884)) { - x_908 = lean_alloc_ctor(1, 1, 0); -} else { - x_908 = x_884; -} -lean_ctor_set(x_908, 0, x_907); -if (lean_is_scalar(x_902)) { - x_909 = lean_alloc_ctor(0, 2, 0); -} else { - x_909 = x_902; -} -lean_ctor_set(x_909, 0, x_908); -lean_ctor_set(x_909, 1, x_904); -return x_909; +x_491 = !lean_is_exclusive(x_442); +if (x_491 == 0) +{ +return x_442; } else { -uint8_t x_910; -x_910 = lean_nat_dec_le(x_905, x_905); -if (x_910 == 0) -{ -lean_object* x_911; lean_object* x_912; lean_object* x_913; -lean_dec(x_905); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_897)) { - x_911 = lean_alloc_ctor(0, 2, 0); -} else { - x_911 = x_897; -} -lean_ctor_set(x_911, 0, x_900); -lean_ctor_set(x_911, 1, x_883); -if (lean_is_scalar(x_884)) { - x_912 = lean_alloc_ctor(1, 1, 0); -} else { - x_912 = x_884; -} -lean_ctor_set(x_912, 0, x_911); -if (lean_is_scalar(x_902)) { - x_913 = lean_alloc_ctor(0, 2, 0); -} else { - x_913 = x_902; -} -lean_ctor_set(x_913, 0, x_912); -lean_ctor_set(x_913, 1, x_904); -return x_913; -} -else -{ -size_t x_914; size_t x_915; lean_object* x_916; -lean_dec(x_902); -x_914 = 0; -x_915 = lean_usize_of_nat(x_905); -lean_dec(x_905); -lean_inc(x_900); -x_916 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_900, x_1, x_914, x_915, x_8, x_9, x_10, x_11, x_904); -if (lean_obj_tag(x_916) == 0) -{ -lean_object* x_917; uint8_t x_918; -x_917 = lean_ctor_get(x_916, 0); -lean_inc(x_917); -x_918 = lean_unbox(x_917); -lean_dec(x_917); -if (x_918 == 0) -{ -uint8_t x_919; -lean_dec(x_3); -x_919 = !lean_is_exclusive(x_916); -if (x_919 == 0) -{ -lean_object* x_920; lean_object* x_921; lean_object* x_922; -x_920 = lean_ctor_get(x_916, 0); -lean_dec(x_920); -if (lean_is_scalar(x_897)) { - x_921 = lean_alloc_ctor(0, 2, 0); -} else { - x_921 = x_897; -} -lean_ctor_set(x_921, 0, x_900); -lean_ctor_set(x_921, 1, x_883); -if (lean_is_scalar(x_884)) { - x_922 = lean_alloc_ctor(1, 1, 0); -} else { - x_922 = x_884; -} -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_916, 0, x_922); -return x_916; -} -else -{ -lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_923 = lean_ctor_get(x_916, 1); -lean_inc(x_923); -lean_dec(x_916); -if (lean_is_scalar(x_897)) { - x_924 = lean_alloc_ctor(0, 2, 0); -} else { - x_924 = x_897; -} -lean_ctor_set(x_924, 0, x_900); -lean_ctor_set(x_924, 1, x_883); -if (lean_is_scalar(x_884)) { - x_925 = lean_alloc_ctor(1, 1, 0); -} else { - x_925 = x_884; -} -lean_ctor_set(x_925, 0, x_924); -x_926 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_923); -return x_926; -} -} -else -{ -uint8_t x_927; -lean_dec(x_900); -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_883); -x_927 = !lean_is_exclusive(x_916); -if (x_927 == 0) -{ -lean_object* x_928; -x_928 = lean_ctor_get(x_916, 0); -lean_dec(x_928); -lean_ctor_set(x_916, 0, x_3); -return x_916; -} -else -{ -lean_object* x_929; lean_object* x_930; -x_929 = lean_ctor_get(x_916, 1); -lean_inc(x_929); -lean_dec(x_916); -x_930 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_930, 0, x_3); -lean_ctor_set(x_930, 1, x_929); -return x_930; -} -} -} -else -{ -uint8_t x_931; -lean_dec(x_900); -lean_dec(x_897); -lean_dec(x_884); -lean_dec(x_883); -x_931 = !lean_is_exclusive(x_916); -if (x_931 == 0) -{ -lean_object* x_932; -x_932 = lean_ctor_get(x_916, 0); -lean_dec(x_932); -lean_ctor_set_tag(x_916, 0); -lean_ctor_set(x_916, 0, x_3); -return x_916; -} -else -{ -lean_object* x_933; lean_object* x_934; -x_933 = lean_ctor_get(x_916, 1); -lean_inc(x_933); -lean_dec(x_916); -x_934 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_934, 0, x_3); -lean_ctor_set(x_934, 1, x_933); -return x_934; -} -} -} -} -} -} -else -{ -uint8_t x_1016; -lean_dec(x_884); -lean_dec(x_883); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_1016 = !lean_is_exclusive(x_893); -if (x_1016 == 0) -{ -return x_893; -} -else -{ -lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; -x_1017 = lean_ctor_get(x_893, 0); -x_1018 = lean_ctor_get(x_893, 1); -lean_inc(x_1018); -lean_inc(x_1017); -lean_dec(x_893); -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_1017); -lean_ctor_set(x_1019, 1, x_1018); -return x_1019; +lean_object* x_492; lean_object* x_493; lean_object* x_494; +x_492 = lean_ctor_get(x_442, 0); +x_493 = lean_ctor_get(x_442, 1); +lean_inc(x_493); +lean_inc(x_492); +lean_dec(x_442); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_492); +lean_ctor_set(x_494, 1, x_493); +return x_494; } } } @@ -23544,722 +21169,321 @@ return x_1019; } case 8: { -lean_object* x_1020; +lean_object* x_495; lean_dec(x_7); lean_dec(x_6); -x_1020 = l_Lean_Expr_constName_x3f(x_5); +x_495 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_1020) == 0) +if (lean_obj_tag(x_495) == 0) { -lean_object* x_1021; +lean_object* x_496; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1021 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1021, 0, x_3); -lean_ctor_set(x_1021, 1, x_12); -return x_1021; +x_496 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_496, 0, x_3); +lean_ctor_set(x_496, 1, x_12); +return x_496; } else { -lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; -x_1022 = lean_ctor_get(x_1020, 0); -lean_inc(x_1022); -lean_dec(x_1020); -x_1023 = lean_unsigned_to_nat(0u); -x_1024 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_1023); -if (lean_obj_tag(x_1024) == 0) +lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_497 = lean_ctor_get(x_495, 0); +lean_inc(x_497); +lean_dec(x_495); +x_498 = lean_unsigned_to_nat(0u); +x_499 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_498); +if (lean_obj_tag(x_499) == 0) { -lean_object* x_1025; -lean_dec(x_1022); +lean_object* x_500; +lean_dec(x_497); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1025 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1025, 0, x_3); -lean_ctor_set(x_1025, 1, x_12); -return x_1025; +x_500 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_500, 0, x_3); +lean_ctor_set(x_500, 1, x_12); +return x_500; } else { -lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; uint8_t x_1030; -x_1026 = lean_ctor_get(x_1024, 0); -lean_inc(x_1026); -if (lean_is_exclusive(x_1024)) { - lean_ctor_release(x_1024, 0); - x_1027 = x_1024; -} else { - lean_dec_ref(x_1024); - x_1027 = lean_box(0); -} -x_1028 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1022, x_8, x_9, x_10, x_11, x_12); -x_1029 = lean_ctor_get(x_1028, 0); -lean_inc(x_1029); -x_1030 = lean_unbox(x_1029); -lean_dec(x_1029); -if (x_1030 == 0) +lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; +x_501 = lean_ctor_get(x_499, 0); +lean_inc(x_501); +lean_dec(x_499); +x_502 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_497, x_8, x_9, x_10, x_11, x_12); +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +x_504 = lean_unbox(x_503); +lean_dec(x_503); +if (x_504 == 0) { -uint8_t x_1031; -lean_dec(x_1027); -lean_dec(x_1026); +uint8_t x_505; +lean_dec(x_501); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1031 = !lean_is_exclusive(x_1028); -if (x_1031 == 0) +x_505 = !lean_is_exclusive(x_502); +if (x_505 == 0) { -lean_object* x_1032; -x_1032 = lean_ctor_get(x_1028, 0); -lean_dec(x_1032); -lean_ctor_set(x_1028, 0, x_3); -return x_1028; +lean_object* x_506; +x_506 = lean_ctor_get(x_502, 0); +lean_dec(x_506); +lean_ctor_set(x_502, 0, x_3); +return x_502; } else { -lean_object* x_1033; lean_object* x_1034; -x_1033 = lean_ctor_get(x_1028, 1); -lean_inc(x_1033); -lean_dec(x_1028); -x_1034 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1034, 0, x_3); -lean_ctor_set(x_1034, 1, x_1033); -return x_1034; +lean_object* x_507; lean_object* x_508; +x_507 = lean_ctor_get(x_502, 1); +lean_inc(x_507); +lean_dec(x_502); +x_508 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_508, 0, x_3); +lean_ctor_set(x_508, 1, x_507); +return x_508; } } else { -lean_object* x_1035; lean_object* x_1036; -x_1035 = lean_ctor_get(x_1028, 1); -lean_inc(x_1035); -lean_dec(x_1028); +lean_object* x_509; lean_object* x_510; +x_509 = lean_ctor_get(x_502, 1); +lean_inc(x_509); +lean_dec(x_502); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1036 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_1026, x_8, x_9, x_10, x_11, x_1035); -if (lean_obj_tag(x_1036) == 0) +x_510 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_501, x_8, x_9, x_10, x_11, x_509); +if (lean_obj_tag(x_510) == 0) { -lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1079; -x_1037 = lean_ctor_get(x_1036, 0); -lean_inc(x_1037); -x_1038 = lean_ctor_get(x_1036, 1); -lean_inc(x_1038); -lean_dec(x_1036); -x_1039 = lean_ctor_get(x_1037, 1); -lean_inc(x_1039); -if (lean_is_exclusive(x_1037)) { - lean_ctor_release(x_1037, 0); - lean_ctor_release(x_1037, 1); - x_1040 = x_1037; -} else { - lean_dec_ref(x_1037); - x_1040 = lean_box(0); -} -x_1041 = lean_box(0); +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; lean_object* x_520; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t x_551; +x_511 = lean_ctor_get(x_510, 0); +lean_inc(x_511); +x_512 = lean_ctor_get(x_510, 1); +lean_inc(x_512); +lean_dec(x_510); +x_513 = lean_ctor_get(x_511, 1); +lean_inc(x_513); +lean_dec(x_511); +x_514 = lean_box(0); lean_inc(x_8); -x_1042 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1039, x_1041, x_8, x_9, x_10, x_11, x_1038); -x_1043 = lean_ctor_get(x_1042, 0); -lean_inc(x_1043); -x_1044 = lean_ctor_get(x_1042, 1); -lean_inc(x_1044); -if (lean_is_exclusive(x_1042)) { - lean_ctor_release(x_1042, 0); - lean_ctor_release(x_1042, 1); - x_1045 = x_1042; -} else { - lean_dec_ref(x_1042); - x_1045 = lean_box(0); +x_515 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_513, x_514, x_8, x_9, x_10, x_11, x_512); +x_516 = lean_ctor_get(x_515, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_515, 1); +lean_inc(x_517); +lean_dec(x_515); +x_518 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_548 = lean_st_ref_get(x_11, x_517); +x_549 = lean_ctor_get(x_548, 0); +lean_inc(x_549); +x_550 = lean_ctor_get(x_549, 3); +lean_inc(x_550); +lean_dec(x_549); +x_551 = lean_ctor_get_uint8(x_550, sizeof(void*)*1); +lean_dec(x_550); +if (x_551 == 0) +{ +lean_object* x_552; uint8_t x_553; +x_552 = lean_ctor_get(x_548, 1); +lean_inc(x_552); +lean_dec(x_548); +x_553 = 0; +x_519 = x_553; +x_520 = x_552; +goto block_547; } -x_1046 = l_Lean_Expr_mvarId_x21(x_1043); +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; +x_554 = lean_ctor_get(x_548, 1); +lean_inc(x_554); +lean_dec(x_548); +x_555 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_518, x_8, x_9, x_10, x_11, x_554); +x_556 = lean_ctor_get(x_555, 0); +lean_inc(x_556); +x_557 = lean_ctor_get(x_555, 1); +lean_inc(x_557); +lean_dec(x_555); +x_558 = lean_unbox(x_556); +lean_dec(x_556); +x_519 = x_558; +x_520 = x_557; +goto block_547; +} +block_547: +{ +if (x_519 == 0) +{ +lean_object* x_521; lean_object* x_522; +x_521 = lean_box(0); +lean_inc(x_3); +x_522 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_521, x_8, x_9, x_10, x_11, x_520); +if (lean_obj_tag(x_522) == 0) +{ +lean_dec(x_3); +return x_522; +} +else +{ +uint8_t x_523; +x_523 = !lean_is_exclusive(x_522); +if (x_523 == 0) +{ +lean_object* x_524; +x_524 = lean_ctor_get(x_522, 0); +lean_dec(x_524); +lean_ctor_set_tag(x_522, 0); +lean_ctor_set(x_522, 0, x_3); +return x_522; +} +else +{ +lean_object* x_525; lean_object* x_526; +x_525 = lean_ctor_get(x_522, 1); +lean_inc(x_525); +lean_dec(x_522); +x_526 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_526, 0, x_3); +lean_ctor_set(x_526, 1, x_525); +return x_526; +} +} +} +else +{ +lean_object* x_527; lean_object* x_528; +x_527 = l_Lean_Expr_mvarId_x21(x_516); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1079 = l_Lean_Meta_ppGoal(x_1046, x_8, x_9, x_10, x_11, x_1044); -if (lean_obj_tag(x_1079) == 0) +x_528 = l_Lean_Meta_ppGoal(x_527, x_8, x_9, x_10, x_11, x_520); +lean_dec(x_527); +if (lean_obj_tag(x_528) == 0) { -lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; uint8_t x_1140; -x_1080 = lean_ctor_get(x_1079, 0); -lean_inc(x_1080); -x_1081 = lean_ctor_get(x_1079, 1); -lean_inc(x_1081); -lean_dec(x_1079); -x_1137 = lean_st_ref_get(x_11, x_1081); -x_1138 = lean_ctor_get(x_1137, 0); -lean_inc(x_1138); -x_1139 = lean_ctor_get(x_1138, 3); -lean_inc(x_1139); -lean_dec(x_1138); -x_1140 = lean_ctor_get_uint8(x_1139, sizeof(void*)*1); -lean_dec(x_1139); -if (x_1140 == 0) +lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); +lean_inc(x_530); +lean_dec(x_528); +x_531 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_531, 0, x_529); +x_532 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_533 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +x_534 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_532); +x_535 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_518, x_534, x_8, x_9, x_10, x_11, x_530); +x_536 = lean_ctor_get(x_535, 0); +lean_inc(x_536); +x_537 = lean_ctor_get(x_535, 1); +lean_inc(x_537); +lean_dec(x_535); +lean_inc(x_3); +x_538 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_536, x_8, x_9, x_10, x_11, x_537); +lean_dec(x_536); +if (lean_obj_tag(x_538) == 0) { -lean_object* x_1141; -lean_dec(x_1080); -x_1141 = lean_ctor_get(x_1137, 1); -lean_inc(x_1141); -lean_dec(x_1137); -x_1082 = x_1141; -goto block_1136; +lean_dec(x_3); +return x_538; } else { -lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; uint8_t x_1146; -x_1142 = lean_ctor_get(x_1137, 1); -lean_inc(x_1142); -lean_dec(x_1137); -x_1143 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1144 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1143, x_8, x_9, x_10, x_11, x_1142); -x_1145 = lean_ctor_get(x_1144, 0); -lean_inc(x_1145); -x_1146 = lean_unbox(x_1145); -lean_dec(x_1145); -if (x_1146 == 0) +uint8_t x_539; +x_539 = !lean_is_exclusive(x_538); +if (x_539 == 0) { -lean_object* x_1147; -lean_dec(x_1080); -x_1147 = lean_ctor_get(x_1144, 1); -lean_inc(x_1147); -lean_dec(x_1144); -x_1082 = x_1147; -goto block_1136; +lean_object* x_540; +x_540 = lean_ctor_get(x_538, 0); +lean_dec(x_540); +lean_ctor_set_tag(x_538, 0); +lean_ctor_set(x_538, 0, x_3); +return x_538; } else { -lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; -x_1148 = lean_ctor_get(x_1144, 1); -lean_inc(x_1148); -lean_dec(x_1144); -x_1149 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1149, 0, x_1080); -x_1150 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1151 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_1149); -x_1152 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1150); -x_1153 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1143, x_1152, x_8, x_9, x_10, x_11, x_1148); -x_1154 = lean_ctor_get(x_1153, 1); -lean_inc(x_1154); -lean_dec(x_1153); -x_1082 = x_1154; -goto block_1136; +lean_object* x_541; lean_object* x_542; +x_541 = lean_ctor_get(x_538, 1); +lean_inc(x_541); +lean_dec(x_538); +x_542 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_542, 0, x_3); +lean_ctor_set(x_542, 1, x_541); +return x_542; } } -block_1136: +} +else { -lean_object* x_1083; lean_object* x_1084; -x_1083 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_1084 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_1046, x_1083, x_8, x_9, x_10, x_11, x_1082); -if (lean_obj_tag(x_1084) == 0) -{ -lean_object* x_1085; uint8_t x_1086; -x_1085 = lean_ctor_get(x_1084, 0); -lean_inc(x_1085); -x_1086 = lean_unbox(x_1085); -lean_dec(x_1085); -if (x_1086 == 0) -{ -lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; uint8_t x_1091; -lean_dec(x_1045); -lean_dec(x_1043); -lean_dec(x_1040); -lean_dec(x_1027); -lean_dec(x_1026); -x_1087 = lean_ctor_get(x_1084, 1); -lean_inc(x_1087); -lean_dec(x_1084); -x_1088 = lean_st_ref_get(x_11, x_1087); -x_1089 = lean_ctor_get(x_1088, 0); -lean_inc(x_1089); -x_1090 = lean_ctor_get(x_1089, 3); -lean_inc(x_1090); -lean_dec(x_1089); -x_1091 = lean_ctor_get_uint8(x_1090, sizeof(void*)*1); -lean_dec(x_1090); -if (x_1091 == 0) -{ -uint8_t x_1092; +uint8_t x_543; +lean_dec(x_516); +lean_dec(x_501); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_1092 = !lean_is_exclusive(x_1088); -if (x_1092 == 0) +x_543 = !lean_is_exclusive(x_528); +if (x_543 == 0) { -lean_object* x_1093; -x_1093 = lean_ctor_get(x_1088, 0); -lean_dec(x_1093); -lean_ctor_set(x_1088, 0, x_3); -return x_1088; +lean_object* x_544; +x_544 = lean_ctor_get(x_528, 0); +lean_dec(x_544); +lean_ctor_set_tag(x_528, 0); +lean_ctor_set(x_528, 0, x_3); +return x_528; } else { -lean_object* x_1094; lean_object* x_1095; -x_1094 = lean_ctor_get(x_1088, 1); -lean_inc(x_1094); -lean_dec(x_1088); -x_1095 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1095, 0, x_3); -lean_ctor_set(x_1095, 1, x_1094); -return x_1095; +lean_object* x_545; lean_object* x_546; +x_545 = lean_ctor_get(x_528, 1); +lean_inc(x_545); +lean_dec(x_528); +x_546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_546, 0, x_3); +lean_ctor_set(x_546, 1, x_545); +return x_546; } } -else -{ -lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; uint8_t x_1100; -x_1096 = lean_ctor_get(x_1088, 1); -lean_inc(x_1096); -lean_dec(x_1088); -x_1097 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1098 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1097, x_8, x_9, x_10, x_11, x_1096); -x_1099 = lean_ctor_get(x_1098, 0); -lean_inc(x_1099); -x_1100 = lean_unbox(x_1099); -lean_dec(x_1099); -if (x_1100 == 0) -{ -uint8_t x_1101; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1101 = !lean_is_exclusive(x_1098); -if (x_1101 == 0) -{ -lean_object* x_1102; -x_1102 = lean_ctor_get(x_1098, 0); -lean_dec(x_1102); -lean_ctor_set(x_1098, 0, x_3); -return x_1098; -} -else -{ -lean_object* x_1103; lean_object* x_1104; -x_1103 = lean_ctor_get(x_1098, 1); -lean_inc(x_1103); -lean_dec(x_1098); -x_1104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1104, 0, x_3); -lean_ctor_set(x_1104, 1, x_1103); -return x_1104; -} -} -else -{ -lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; uint8_t x_1108; -x_1105 = lean_ctor_get(x_1098, 1); -lean_inc(x_1105); -lean_dec(x_1098); -x_1106 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_1107 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1097, x_1106, x_8, x_9, x_10, x_11, x_1105); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1108 = !lean_is_exclusive(x_1107); -if (x_1108 == 0) -{ -lean_object* x_1109; -x_1109 = lean_ctor_get(x_1107, 0); -lean_dec(x_1109); -lean_ctor_set(x_1107, 0, x_3); -return x_1107; -} -else -{ -lean_object* x_1110; lean_object* x_1111; -x_1110 = lean_ctor_get(x_1107, 1); -lean_inc(x_1110); -lean_dec(x_1107); -x_1111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1111, 0, x_3); -lean_ctor_set(x_1111, 1, x_1110); -return x_1111; -} } } } else { -lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; uint8_t x_1116; -x_1112 = lean_ctor_get(x_1084, 1); -lean_inc(x_1112); -lean_dec(x_1084); -x_1113 = lean_st_ref_get(x_11, x_1112); -x_1114 = lean_ctor_get(x_1113, 0); -lean_inc(x_1114); -x_1115 = lean_ctor_get(x_1114, 3); -lean_inc(x_1115); -lean_dec(x_1114); -x_1116 = lean_ctor_get_uint8(x_1115, sizeof(void*)*1); -lean_dec(x_1115); -if (x_1116 == 0) -{ -lean_object* x_1117; -x_1117 = lean_ctor_get(x_1113, 1); -lean_inc(x_1117); -lean_dec(x_1113); -x_1047 = x_1117; -goto block_1078; -} -else -{ -lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; uint8_t x_1122; -x_1118 = lean_ctor_get(x_1113, 1); -lean_inc(x_1118); -lean_dec(x_1113); -x_1119 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1119, x_8, x_9, x_10, x_11, x_1118); -x_1121 = lean_ctor_get(x_1120, 0); -lean_inc(x_1121); -x_1122 = lean_unbox(x_1121); -lean_dec(x_1121); -if (x_1122 == 0) -{ -lean_object* x_1123; -x_1123 = lean_ctor_get(x_1120, 1); -lean_inc(x_1123); -lean_dec(x_1120); -x_1047 = x_1123; -goto block_1078; -} -else -{ -lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; -x_1124 = lean_ctor_get(x_1120, 1); -lean_inc(x_1124); -lean_dec(x_1120); -lean_inc(x_1043); -x_1125 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1125, 0, x_1043); -x_1126 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_1127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1127, 0, x_1126); -lean_ctor_set(x_1127, 1, x_1125); -x_1128 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1129, 0, x_1127); -lean_ctor_set(x_1129, 1, x_1128); -x_1130 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1119, x_1129, x_8, x_9, x_10, x_11, x_1124); -x_1131 = lean_ctor_get(x_1130, 1); -lean_inc(x_1131); -lean_dec(x_1130); -x_1047 = x_1131; -goto block_1078; -} -} -} -} -else -{ -uint8_t x_1132; -lean_dec(x_1045); -lean_dec(x_1043); -lean_dec(x_1040); -lean_dec(x_1027); -lean_dec(x_1026); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1132 = !lean_is_exclusive(x_1084); -if (x_1132 == 0) -{ -lean_object* x_1133; -x_1133 = lean_ctor_get(x_1084, 0); -lean_dec(x_1133); -lean_ctor_set_tag(x_1084, 0); -lean_ctor_set(x_1084, 0, x_3); -return x_1084; -} -else -{ -lean_object* x_1134; lean_object* x_1135; -x_1134 = lean_ctor_get(x_1084, 1); -lean_inc(x_1134); -lean_dec(x_1084); -x_1135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1135, 0, x_3); -lean_ctor_set(x_1135, 1, x_1134); -return x_1135; -} -} -} -} -else -{ -uint8_t x_1155; -lean_dec(x_1046); -lean_dec(x_1045); -lean_dec(x_1043); -lean_dec(x_1040); -lean_dec(x_1027); -lean_dec(x_1026); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1155 = !lean_is_exclusive(x_1079); -if (x_1155 == 0) -{ -lean_object* x_1156; -x_1156 = lean_ctor_get(x_1079, 0); -lean_dec(x_1156); -lean_ctor_set_tag(x_1079, 0); -lean_ctor_set(x_1079, 0, x_3); -return x_1079; -} -else -{ -lean_object* x_1157; lean_object* x_1158; -x_1157 = lean_ctor_get(x_1079, 1); -lean_inc(x_1157); -lean_dec(x_1079); -x_1158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1158, 0, x_3); -lean_ctor_set(x_1158, 1, x_1157); -return x_1158; -} -} -block_1078: -{ -lean_object* x_1048; uint8_t x_1049; -x_1048 = lean_array_get_size(x_1); -x_1049 = lean_nat_dec_lt(x_1023, x_1048); -if (x_1049 == 0) -{ -lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; -lean_dec(x_1048); +uint8_t x_559; +lean_dec(x_501); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_1040)) { - x_1050 = lean_alloc_ctor(0, 2, 0); -} else { - x_1050 = x_1040; -} -lean_ctor_set(x_1050, 0, x_1043); -lean_ctor_set(x_1050, 1, x_1026); -if (lean_is_scalar(x_1027)) { - x_1051 = lean_alloc_ctor(1, 1, 0); -} else { - x_1051 = x_1027; -} -lean_ctor_set(x_1051, 0, x_1050); -if (lean_is_scalar(x_1045)) { - x_1052 = lean_alloc_ctor(0, 2, 0); -} else { - x_1052 = x_1045; -} -lean_ctor_set(x_1052, 0, x_1051); -lean_ctor_set(x_1052, 1, x_1047); -return x_1052; +x_559 = !lean_is_exclusive(x_510); +if (x_559 == 0) +{ +return x_510; } else { -uint8_t x_1053; -x_1053 = lean_nat_dec_le(x_1048, x_1048); -if (x_1053 == 0) -{ -lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; -lean_dec(x_1048); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_1040)) { - x_1054 = lean_alloc_ctor(0, 2, 0); -} else { - x_1054 = x_1040; -} -lean_ctor_set(x_1054, 0, x_1043); -lean_ctor_set(x_1054, 1, x_1026); -if (lean_is_scalar(x_1027)) { - x_1055 = lean_alloc_ctor(1, 1, 0); -} else { - x_1055 = x_1027; -} -lean_ctor_set(x_1055, 0, x_1054); -if (lean_is_scalar(x_1045)) { - x_1056 = lean_alloc_ctor(0, 2, 0); -} else { - x_1056 = x_1045; -} -lean_ctor_set(x_1056, 0, x_1055); -lean_ctor_set(x_1056, 1, x_1047); -return x_1056; -} -else -{ -size_t x_1057; size_t x_1058; lean_object* x_1059; -lean_dec(x_1045); -x_1057 = 0; -x_1058 = lean_usize_of_nat(x_1048); -lean_dec(x_1048); -lean_inc(x_1043); -x_1059 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1043, x_1, x_1057, x_1058, x_8, x_9, x_10, x_11, x_1047); -if (lean_obj_tag(x_1059) == 0) -{ -lean_object* x_1060; uint8_t x_1061; -x_1060 = lean_ctor_get(x_1059, 0); -lean_inc(x_1060); -x_1061 = lean_unbox(x_1060); -lean_dec(x_1060); -if (x_1061 == 0) -{ -uint8_t x_1062; -lean_dec(x_3); -x_1062 = !lean_is_exclusive(x_1059); -if (x_1062 == 0) -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -x_1063 = lean_ctor_get(x_1059, 0); -lean_dec(x_1063); -if (lean_is_scalar(x_1040)) { - x_1064 = lean_alloc_ctor(0, 2, 0); -} else { - x_1064 = x_1040; -} -lean_ctor_set(x_1064, 0, x_1043); -lean_ctor_set(x_1064, 1, x_1026); -if (lean_is_scalar(x_1027)) { - x_1065 = lean_alloc_ctor(1, 1, 0); -} else { - x_1065 = x_1027; -} -lean_ctor_set(x_1065, 0, x_1064); -lean_ctor_set(x_1059, 0, x_1065); -return x_1059; -} -else -{ -lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; -x_1066 = lean_ctor_get(x_1059, 1); -lean_inc(x_1066); -lean_dec(x_1059); -if (lean_is_scalar(x_1040)) { - x_1067 = lean_alloc_ctor(0, 2, 0); -} else { - x_1067 = x_1040; -} -lean_ctor_set(x_1067, 0, x_1043); -lean_ctor_set(x_1067, 1, x_1026); -if (lean_is_scalar(x_1027)) { - x_1068 = lean_alloc_ctor(1, 1, 0); -} else { - x_1068 = x_1027; -} -lean_ctor_set(x_1068, 0, x_1067); -x_1069 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1069, 0, x_1068); -lean_ctor_set(x_1069, 1, x_1066); -return x_1069; -} -} -else -{ -uint8_t x_1070; -lean_dec(x_1043); -lean_dec(x_1040); -lean_dec(x_1027); -lean_dec(x_1026); -x_1070 = !lean_is_exclusive(x_1059); -if (x_1070 == 0) -{ -lean_object* x_1071; -x_1071 = lean_ctor_get(x_1059, 0); -lean_dec(x_1071); -lean_ctor_set(x_1059, 0, x_3); -return x_1059; -} -else -{ -lean_object* x_1072; lean_object* x_1073; -x_1072 = lean_ctor_get(x_1059, 1); -lean_inc(x_1072); -lean_dec(x_1059); -x_1073 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1073, 0, x_3); -lean_ctor_set(x_1073, 1, x_1072); -return x_1073; -} -} -} -else -{ -uint8_t x_1074; -lean_dec(x_1043); -lean_dec(x_1040); -lean_dec(x_1027); -lean_dec(x_1026); -x_1074 = !lean_is_exclusive(x_1059); -if (x_1074 == 0) -{ -lean_object* x_1075; -x_1075 = lean_ctor_get(x_1059, 0); -lean_dec(x_1075); -lean_ctor_set_tag(x_1059, 0); -lean_ctor_set(x_1059, 0, x_3); -return x_1059; -} -else -{ -lean_object* x_1076; lean_object* x_1077; -x_1076 = lean_ctor_get(x_1059, 1); -lean_inc(x_1076); -lean_dec(x_1059); -x_1077 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1077, 0, x_3); -lean_ctor_set(x_1077, 1, x_1076); -return x_1077; -} -} -} -} -} -} -else -{ -uint8_t x_1159; -lean_dec(x_1027); -lean_dec(x_1026); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_1159 = !lean_is_exclusive(x_1036); -if (x_1159 == 0) -{ -return x_1036; -} -else -{ -lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; -x_1160 = lean_ctor_get(x_1036, 0); -x_1161 = lean_ctor_get(x_1036, 1); -lean_inc(x_1161); -lean_inc(x_1160); -lean_dec(x_1036); -x_1162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1162, 0, x_1160); -lean_ctor_set(x_1162, 1, x_1161); -return x_1162; +lean_object* x_560; lean_object* x_561; lean_object* x_562; +x_560 = lean_ctor_get(x_510, 0); +x_561 = lean_ctor_get(x_510, 1); +lean_inc(x_561); +lean_inc(x_560); +lean_dec(x_510); +x_562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_562, 0, x_560); +lean_ctor_set(x_562, 1, x_561); +return x_562; } } } @@ -24268,722 +21492,321 @@ return x_1162; } case 9: { -lean_object* x_1163; +lean_object* x_563; lean_dec(x_7); lean_dec(x_6); -x_1163 = l_Lean_Expr_constName_x3f(x_5); +x_563 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_1163) == 0) +if (lean_obj_tag(x_563) == 0) { -lean_object* x_1164; +lean_object* x_564; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1164, 0, x_3); -lean_ctor_set(x_1164, 1, x_12); -return x_1164; +x_564 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_564, 0, x_3); +lean_ctor_set(x_564, 1, x_12); +return x_564; } else { -lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; -x_1165 = lean_ctor_get(x_1163, 0); -lean_inc(x_1165); -lean_dec(x_1163); -x_1166 = lean_unsigned_to_nat(0u); -x_1167 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_1166); -if (lean_obj_tag(x_1167) == 0) +lean_object* x_565; lean_object* x_566; lean_object* x_567; +x_565 = lean_ctor_get(x_563, 0); +lean_inc(x_565); +lean_dec(x_563); +x_566 = lean_unsigned_to_nat(0u); +x_567 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_566); +if (lean_obj_tag(x_567) == 0) { -lean_object* x_1168; -lean_dec(x_1165); +lean_object* x_568; +lean_dec(x_565); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1168, 0, x_3); -lean_ctor_set(x_1168, 1, x_12); -return x_1168; +x_568 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_568, 0, x_3); +lean_ctor_set(x_568, 1, x_12); +return x_568; } else { -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; uint8_t x_1173; -x_1169 = lean_ctor_get(x_1167, 0); -lean_inc(x_1169); -if (lean_is_exclusive(x_1167)) { - lean_ctor_release(x_1167, 0); - x_1170 = x_1167; -} else { - lean_dec_ref(x_1167); - x_1170 = lean_box(0); -} -x_1171 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1165, x_8, x_9, x_10, x_11, x_12); -x_1172 = lean_ctor_get(x_1171, 0); -lean_inc(x_1172); -x_1173 = lean_unbox(x_1172); -lean_dec(x_1172); -if (x_1173 == 0) +lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; +x_569 = lean_ctor_get(x_567, 0); +lean_inc(x_569); +lean_dec(x_567); +x_570 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_565, x_8, x_9, x_10, x_11, x_12); +x_571 = lean_ctor_get(x_570, 0); +lean_inc(x_571); +x_572 = lean_unbox(x_571); +lean_dec(x_571); +if (x_572 == 0) { -uint8_t x_1174; -lean_dec(x_1170); -lean_dec(x_1169); +uint8_t x_573; +lean_dec(x_569); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1174 = !lean_is_exclusive(x_1171); -if (x_1174 == 0) +x_573 = !lean_is_exclusive(x_570); +if (x_573 == 0) { -lean_object* x_1175; -x_1175 = lean_ctor_get(x_1171, 0); -lean_dec(x_1175); -lean_ctor_set(x_1171, 0, x_3); -return x_1171; +lean_object* x_574; +x_574 = lean_ctor_get(x_570, 0); +lean_dec(x_574); +lean_ctor_set(x_570, 0, x_3); +return x_570; } else { -lean_object* x_1176; lean_object* x_1177; -x_1176 = lean_ctor_get(x_1171, 1); -lean_inc(x_1176); -lean_dec(x_1171); -x_1177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1177, 0, x_3); -lean_ctor_set(x_1177, 1, x_1176); -return x_1177; +lean_object* x_575; lean_object* x_576; +x_575 = lean_ctor_get(x_570, 1); +lean_inc(x_575); +lean_dec(x_570); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_3); +lean_ctor_set(x_576, 1, x_575); +return x_576; } } else { -lean_object* x_1178; lean_object* x_1179; -x_1178 = lean_ctor_get(x_1171, 1); -lean_inc(x_1178); -lean_dec(x_1171); +lean_object* x_577; lean_object* x_578; +x_577 = lean_ctor_get(x_570, 1); +lean_inc(x_577); +lean_dec(x_570); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1179 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_1169, x_8, x_9, x_10, x_11, x_1178); -if (lean_obj_tag(x_1179) == 0) +x_578 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_569, x_8, x_9, x_10, x_11, x_577); +if (lean_obj_tag(x_578) == 0) { -lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1222; -x_1180 = lean_ctor_get(x_1179, 0); -lean_inc(x_1180); -x_1181 = lean_ctor_get(x_1179, 1); -lean_inc(x_1181); -lean_dec(x_1179); -x_1182 = lean_ctor_get(x_1180, 1); -lean_inc(x_1182); -if (lean_is_exclusive(x_1180)) { - lean_ctor_release(x_1180, 0); - lean_ctor_release(x_1180, 1); - x_1183 = x_1180; -} else { - lean_dec_ref(x_1180); - x_1183 = lean_box(0); -} -x_1184 = lean_box(0); +lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; uint8_t x_587; lean_object* x_588; lean_object* x_616; lean_object* x_617; lean_object* x_618; uint8_t x_619; +x_579 = lean_ctor_get(x_578, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_578, 1); +lean_inc(x_580); +lean_dec(x_578); +x_581 = lean_ctor_get(x_579, 1); +lean_inc(x_581); +lean_dec(x_579); +x_582 = lean_box(0); lean_inc(x_8); -x_1185 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1182, x_1184, x_8, x_9, x_10, x_11, x_1181); -x_1186 = lean_ctor_get(x_1185, 0); -lean_inc(x_1186); -x_1187 = lean_ctor_get(x_1185, 1); -lean_inc(x_1187); -if (lean_is_exclusive(x_1185)) { - lean_ctor_release(x_1185, 0); - lean_ctor_release(x_1185, 1); - x_1188 = x_1185; -} else { - lean_dec_ref(x_1185); - x_1188 = lean_box(0); +x_583 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_581, x_582, x_8, x_9, x_10, x_11, x_580); +x_584 = lean_ctor_get(x_583, 0); +lean_inc(x_584); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +lean_dec(x_583); +x_586 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_616 = lean_st_ref_get(x_11, x_585); +x_617 = lean_ctor_get(x_616, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_617, 3); +lean_inc(x_618); +lean_dec(x_617); +x_619 = lean_ctor_get_uint8(x_618, sizeof(void*)*1); +lean_dec(x_618); +if (x_619 == 0) +{ +lean_object* x_620; uint8_t x_621; +x_620 = lean_ctor_get(x_616, 1); +lean_inc(x_620); +lean_dec(x_616); +x_621 = 0; +x_587 = x_621; +x_588 = x_620; +goto block_615; } -x_1189 = l_Lean_Expr_mvarId_x21(x_1186); +else +{ +lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; uint8_t x_626; +x_622 = lean_ctor_get(x_616, 1); +lean_inc(x_622); +lean_dec(x_616); +x_623 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_586, x_8, x_9, x_10, x_11, x_622); +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +lean_dec(x_623); +x_626 = lean_unbox(x_624); +lean_dec(x_624); +x_587 = x_626; +x_588 = x_625; +goto block_615; +} +block_615: +{ +if (x_587 == 0) +{ +lean_object* x_589; lean_object* x_590; +x_589 = lean_box(0); +lean_inc(x_3); +x_590 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_589, x_8, x_9, x_10, x_11, x_588); +if (lean_obj_tag(x_590) == 0) +{ +lean_dec(x_3); +return x_590; +} +else +{ +uint8_t x_591; +x_591 = !lean_is_exclusive(x_590); +if (x_591 == 0) +{ +lean_object* x_592; +x_592 = lean_ctor_get(x_590, 0); +lean_dec(x_592); +lean_ctor_set_tag(x_590, 0); +lean_ctor_set(x_590, 0, x_3); +return x_590; +} +else +{ +lean_object* x_593; lean_object* x_594; +x_593 = lean_ctor_get(x_590, 1); +lean_inc(x_593); +lean_dec(x_590); +x_594 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_594, 0, x_3); +lean_ctor_set(x_594, 1, x_593); +return x_594; +} +} +} +else +{ +lean_object* x_595; lean_object* x_596; +x_595 = l_Lean_Expr_mvarId_x21(x_584); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1222 = l_Lean_Meta_ppGoal(x_1189, x_8, x_9, x_10, x_11, x_1187); -if (lean_obj_tag(x_1222) == 0) +x_596 = l_Lean_Meta_ppGoal(x_595, x_8, x_9, x_10, x_11, x_588); +lean_dec(x_595); +if (lean_obj_tag(x_596) == 0) { -lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; uint8_t x_1283; -x_1223 = lean_ctor_get(x_1222, 0); -lean_inc(x_1223); -x_1224 = lean_ctor_get(x_1222, 1); -lean_inc(x_1224); -lean_dec(x_1222); -x_1280 = lean_st_ref_get(x_11, x_1224); -x_1281 = lean_ctor_get(x_1280, 0); -lean_inc(x_1281); -x_1282 = lean_ctor_get(x_1281, 3); -lean_inc(x_1282); -lean_dec(x_1281); -x_1283 = lean_ctor_get_uint8(x_1282, sizeof(void*)*1); -lean_dec(x_1282); -if (x_1283 == 0) +lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +x_597 = lean_ctor_get(x_596, 0); +lean_inc(x_597); +x_598 = lean_ctor_get(x_596, 1); +lean_inc(x_598); +lean_dec(x_596); +x_599 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_599, 0, x_597); +x_600 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_601 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +x_602 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_602, 0, x_601); +lean_ctor_set(x_602, 1, x_600); +x_603 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_586, x_602, x_8, x_9, x_10, x_11, x_598); +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +lean_inc(x_3); +x_606 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_604, x_8, x_9, x_10, x_11, x_605); +lean_dec(x_604); +if (lean_obj_tag(x_606) == 0) { -lean_object* x_1284; -lean_dec(x_1223); -x_1284 = lean_ctor_get(x_1280, 1); -lean_inc(x_1284); -lean_dec(x_1280); -x_1225 = x_1284; -goto block_1279; +lean_dec(x_3); +return x_606; } else { -lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; uint8_t x_1289; -x_1285 = lean_ctor_get(x_1280, 1); -lean_inc(x_1285); -lean_dec(x_1280); -x_1286 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1287 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1286, x_8, x_9, x_10, x_11, x_1285); -x_1288 = lean_ctor_get(x_1287, 0); -lean_inc(x_1288); -x_1289 = lean_unbox(x_1288); -lean_dec(x_1288); -if (x_1289 == 0) +uint8_t x_607; +x_607 = !lean_is_exclusive(x_606); +if (x_607 == 0) { -lean_object* x_1290; -lean_dec(x_1223); -x_1290 = lean_ctor_get(x_1287, 1); -lean_inc(x_1290); -lean_dec(x_1287); -x_1225 = x_1290; -goto block_1279; +lean_object* x_608; +x_608 = lean_ctor_get(x_606, 0); +lean_dec(x_608); +lean_ctor_set_tag(x_606, 0); +lean_ctor_set(x_606, 0, x_3); +return x_606; } else { -lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; -x_1291 = lean_ctor_get(x_1287, 1); -lean_inc(x_1291); -lean_dec(x_1287); -x_1292 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1292, 0, x_1223); -x_1293 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1294 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1294, 0, x_1293); -lean_ctor_set(x_1294, 1, x_1292); -x_1295 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1295, 0, x_1294); -lean_ctor_set(x_1295, 1, x_1293); -x_1296 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1286, x_1295, x_8, x_9, x_10, x_11, x_1291); -x_1297 = lean_ctor_get(x_1296, 1); -lean_inc(x_1297); -lean_dec(x_1296); -x_1225 = x_1297; -goto block_1279; +lean_object* x_609; lean_object* x_610; +x_609 = lean_ctor_get(x_606, 1); +lean_inc(x_609); +lean_dec(x_606); +x_610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_610, 0, x_3); +lean_ctor_set(x_610, 1, x_609); +return x_610; } } -block_1279: +} +else { -lean_object* x_1226; lean_object* x_1227; -x_1226 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_1227 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_1189, x_1226, x_8, x_9, x_10, x_11, x_1225); -if (lean_obj_tag(x_1227) == 0) -{ -lean_object* x_1228; uint8_t x_1229; -x_1228 = lean_ctor_get(x_1227, 0); -lean_inc(x_1228); -x_1229 = lean_unbox(x_1228); -lean_dec(x_1228); -if (x_1229 == 0) -{ -lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; uint8_t x_1234; -lean_dec(x_1188); -lean_dec(x_1186); -lean_dec(x_1183); -lean_dec(x_1170); -lean_dec(x_1169); -x_1230 = lean_ctor_get(x_1227, 1); -lean_inc(x_1230); -lean_dec(x_1227); -x_1231 = lean_st_ref_get(x_11, x_1230); -x_1232 = lean_ctor_get(x_1231, 0); -lean_inc(x_1232); -x_1233 = lean_ctor_get(x_1232, 3); -lean_inc(x_1233); -lean_dec(x_1232); -x_1234 = lean_ctor_get_uint8(x_1233, sizeof(void*)*1); -lean_dec(x_1233); -if (x_1234 == 0) -{ -uint8_t x_1235; +uint8_t x_611; +lean_dec(x_584); +lean_dec(x_569); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_1235 = !lean_is_exclusive(x_1231); -if (x_1235 == 0) +x_611 = !lean_is_exclusive(x_596); +if (x_611 == 0) { -lean_object* x_1236; -x_1236 = lean_ctor_get(x_1231, 0); -lean_dec(x_1236); -lean_ctor_set(x_1231, 0, x_3); -return x_1231; +lean_object* x_612; +x_612 = lean_ctor_get(x_596, 0); +lean_dec(x_612); +lean_ctor_set_tag(x_596, 0); +lean_ctor_set(x_596, 0, x_3); +return x_596; } else { -lean_object* x_1237; lean_object* x_1238; -x_1237 = lean_ctor_get(x_1231, 1); -lean_inc(x_1237); -lean_dec(x_1231); -x_1238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1238, 0, x_3); -lean_ctor_set(x_1238, 1, x_1237); -return x_1238; +lean_object* x_613; lean_object* x_614; +x_613 = lean_ctor_get(x_596, 1); +lean_inc(x_613); +lean_dec(x_596); +x_614 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_614, 0, x_3); +lean_ctor_set(x_614, 1, x_613); +return x_614; } } -else -{ -lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; uint8_t x_1243; -x_1239 = lean_ctor_get(x_1231, 1); -lean_inc(x_1239); -lean_dec(x_1231); -x_1240 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1241 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1240, x_8, x_9, x_10, x_11, x_1239); -x_1242 = lean_ctor_get(x_1241, 0); -lean_inc(x_1242); -x_1243 = lean_unbox(x_1242); -lean_dec(x_1242); -if (x_1243 == 0) -{ -uint8_t x_1244; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1244 = !lean_is_exclusive(x_1241); -if (x_1244 == 0) -{ -lean_object* x_1245; -x_1245 = lean_ctor_get(x_1241, 0); -lean_dec(x_1245); -lean_ctor_set(x_1241, 0, x_3); -return x_1241; -} -else -{ -lean_object* x_1246; lean_object* x_1247; -x_1246 = lean_ctor_get(x_1241, 1); -lean_inc(x_1246); -lean_dec(x_1241); -x_1247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1247, 0, x_3); -lean_ctor_set(x_1247, 1, x_1246); -return x_1247; -} -} -else -{ -lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; uint8_t x_1251; -x_1248 = lean_ctor_get(x_1241, 1); -lean_inc(x_1248); -lean_dec(x_1241); -x_1249 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_1250 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1240, x_1249, x_8, x_9, x_10, x_11, x_1248); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1251 = !lean_is_exclusive(x_1250); -if (x_1251 == 0) -{ -lean_object* x_1252; -x_1252 = lean_ctor_get(x_1250, 0); -lean_dec(x_1252); -lean_ctor_set(x_1250, 0, x_3); -return x_1250; -} -else -{ -lean_object* x_1253; lean_object* x_1254; -x_1253 = lean_ctor_get(x_1250, 1); -lean_inc(x_1253); -lean_dec(x_1250); -x_1254 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1254, 0, x_3); -lean_ctor_set(x_1254, 1, x_1253); -return x_1254; -} } } } else { -lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; uint8_t x_1259; -x_1255 = lean_ctor_get(x_1227, 1); -lean_inc(x_1255); -lean_dec(x_1227); -x_1256 = lean_st_ref_get(x_11, x_1255); -x_1257 = lean_ctor_get(x_1256, 0); -lean_inc(x_1257); -x_1258 = lean_ctor_get(x_1257, 3); -lean_inc(x_1258); -lean_dec(x_1257); -x_1259 = lean_ctor_get_uint8(x_1258, sizeof(void*)*1); -lean_dec(x_1258); -if (x_1259 == 0) -{ -lean_object* x_1260; -x_1260 = lean_ctor_get(x_1256, 1); -lean_inc(x_1260); -lean_dec(x_1256); -x_1190 = x_1260; -goto block_1221; -} -else -{ -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; uint8_t x_1265; -x_1261 = lean_ctor_get(x_1256, 1); -lean_inc(x_1261); -lean_dec(x_1256); -x_1262 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1263 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1262, x_8, x_9, x_10, x_11, x_1261); -x_1264 = lean_ctor_get(x_1263, 0); -lean_inc(x_1264); -x_1265 = lean_unbox(x_1264); -lean_dec(x_1264); -if (x_1265 == 0) -{ -lean_object* x_1266; -x_1266 = lean_ctor_get(x_1263, 1); -lean_inc(x_1266); -lean_dec(x_1263); -x_1190 = x_1266; -goto block_1221; -} -else -{ -lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; -x_1267 = lean_ctor_get(x_1263, 1); -lean_inc(x_1267); -lean_dec(x_1263); -lean_inc(x_1186); -x_1268 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1268, 0, x_1186); -x_1269 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_1270 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1270, 0, x_1269); -lean_ctor_set(x_1270, 1, x_1268); -x_1271 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1272 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1272, 0, x_1270); -lean_ctor_set(x_1272, 1, x_1271); -x_1273 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1262, x_1272, x_8, x_9, x_10, x_11, x_1267); -x_1274 = lean_ctor_get(x_1273, 1); -lean_inc(x_1274); -lean_dec(x_1273); -x_1190 = x_1274; -goto block_1221; -} -} -} -} -else -{ -uint8_t x_1275; -lean_dec(x_1188); -lean_dec(x_1186); -lean_dec(x_1183); -lean_dec(x_1170); -lean_dec(x_1169); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1275 = !lean_is_exclusive(x_1227); -if (x_1275 == 0) -{ -lean_object* x_1276; -x_1276 = lean_ctor_get(x_1227, 0); -lean_dec(x_1276); -lean_ctor_set_tag(x_1227, 0); -lean_ctor_set(x_1227, 0, x_3); -return x_1227; -} -else -{ -lean_object* x_1277; lean_object* x_1278; -x_1277 = lean_ctor_get(x_1227, 1); -lean_inc(x_1277); -lean_dec(x_1227); -x_1278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1278, 0, x_3); -lean_ctor_set(x_1278, 1, x_1277); -return x_1278; -} -} -} -} -else -{ -uint8_t x_1298; -lean_dec(x_1189); -lean_dec(x_1188); -lean_dec(x_1186); -lean_dec(x_1183); -lean_dec(x_1170); -lean_dec(x_1169); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1298 = !lean_is_exclusive(x_1222); -if (x_1298 == 0) -{ -lean_object* x_1299; -x_1299 = lean_ctor_get(x_1222, 0); -lean_dec(x_1299); -lean_ctor_set_tag(x_1222, 0); -lean_ctor_set(x_1222, 0, x_3); -return x_1222; -} -else -{ -lean_object* x_1300; lean_object* x_1301; -x_1300 = lean_ctor_get(x_1222, 1); -lean_inc(x_1300); -lean_dec(x_1222); -x_1301 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1301, 0, x_3); -lean_ctor_set(x_1301, 1, x_1300); -return x_1301; -} -} -block_1221: -{ -lean_object* x_1191; uint8_t x_1192; -x_1191 = lean_array_get_size(x_1); -x_1192 = lean_nat_dec_lt(x_1166, x_1191); -if (x_1192 == 0) -{ -lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; -lean_dec(x_1191); +uint8_t x_627; +lean_dec(x_569); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_1183)) { - x_1193 = lean_alloc_ctor(0, 2, 0); -} else { - x_1193 = x_1183; -} -lean_ctor_set(x_1193, 0, x_1186); -lean_ctor_set(x_1193, 1, x_1169); -if (lean_is_scalar(x_1170)) { - x_1194 = lean_alloc_ctor(1, 1, 0); -} else { - x_1194 = x_1170; -} -lean_ctor_set(x_1194, 0, x_1193); -if (lean_is_scalar(x_1188)) { - x_1195 = lean_alloc_ctor(0, 2, 0); -} else { - x_1195 = x_1188; -} -lean_ctor_set(x_1195, 0, x_1194); -lean_ctor_set(x_1195, 1, x_1190); -return x_1195; +x_627 = !lean_is_exclusive(x_578); +if (x_627 == 0) +{ +return x_578; } else { -uint8_t x_1196; -x_1196 = lean_nat_dec_le(x_1191, x_1191); -if (x_1196 == 0) -{ -lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -lean_dec(x_1191); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_1183)) { - x_1197 = lean_alloc_ctor(0, 2, 0); -} else { - x_1197 = x_1183; -} -lean_ctor_set(x_1197, 0, x_1186); -lean_ctor_set(x_1197, 1, x_1169); -if (lean_is_scalar(x_1170)) { - x_1198 = lean_alloc_ctor(1, 1, 0); -} else { - x_1198 = x_1170; -} -lean_ctor_set(x_1198, 0, x_1197); -if (lean_is_scalar(x_1188)) { - x_1199 = lean_alloc_ctor(0, 2, 0); -} else { - x_1199 = x_1188; -} -lean_ctor_set(x_1199, 0, x_1198); -lean_ctor_set(x_1199, 1, x_1190); -return x_1199; -} -else -{ -size_t x_1200; size_t x_1201; lean_object* x_1202; -lean_dec(x_1188); -x_1200 = 0; -x_1201 = lean_usize_of_nat(x_1191); -lean_dec(x_1191); -lean_inc(x_1186); -x_1202 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1186, x_1, x_1200, x_1201, x_8, x_9, x_10, x_11, x_1190); -if (lean_obj_tag(x_1202) == 0) -{ -lean_object* x_1203; uint8_t x_1204; -x_1203 = lean_ctor_get(x_1202, 0); -lean_inc(x_1203); -x_1204 = lean_unbox(x_1203); -lean_dec(x_1203); -if (x_1204 == 0) -{ -uint8_t x_1205; -lean_dec(x_3); -x_1205 = !lean_is_exclusive(x_1202); -if (x_1205 == 0) -{ -lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; -x_1206 = lean_ctor_get(x_1202, 0); -lean_dec(x_1206); -if (lean_is_scalar(x_1183)) { - x_1207 = lean_alloc_ctor(0, 2, 0); -} else { - x_1207 = x_1183; -} -lean_ctor_set(x_1207, 0, x_1186); -lean_ctor_set(x_1207, 1, x_1169); -if (lean_is_scalar(x_1170)) { - x_1208 = lean_alloc_ctor(1, 1, 0); -} else { - x_1208 = x_1170; -} -lean_ctor_set(x_1208, 0, x_1207); -lean_ctor_set(x_1202, 0, x_1208); -return x_1202; -} -else -{ -lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; -x_1209 = lean_ctor_get(x_1202, 1); -lean_inc(x_1209); -lean_dec(x_1202); -if (lean_is_scalar(x_1183)) { - x_1210 = lean_alloc_ctor(0, 2, 0); -} else { - x_1210 = x_1183; -} -lean_ctor_set(x_1210, 0, x_1186); -lean_ctor_set(x_1210, 1, x_1169); -if (lean_is_scalar(x_1170)) { - x_1211 = lean_alloc_ctor(1, 1, 0); -} else { - x_1211 = x_1170; -} -lean_ctor_set(x_1211, 0, x_1210); -x_1212 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1212, 0, x_1211); -lean_ctor_set(x_1212, 1, x_1209); -return x_1212; -} -} -else -{ -uint8_t x_1213; -lean_dec(x_1186); -lean_dec(x_1183); -lean_dec(x_1170); -lean_dec(x_1169); -x_1213 = !lean_is_exclusive(x_1202); -if (x_1213 == 0) -{ -lean_object* x_1214; -x_1214 = lean_ctor_get(x_1202, 0); -lean_dec(x_1214); -lean_ctor_set(x_1202, 0, x_3); -return x_1202; -} -else -{ -lean_object* x_1215; lean_object* x_1216; -x_1215 = lean_ctor_get(x_1202, 1); -lean_inc(x_1215); -lean_dec(x_1202); -x_1216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1216, 0, x_3); -lean_ctor_set(x_1216, 1, x_1215); -return x_1216; -} -} -} -else -{ -uint8_t x_1217; -lean_dec(x_1186); -lean_dec(x_1183); -lean_dec(x_1170); -lean_dec(x_1169); -x_1217 = !lean_is_exclusive(x_1202); -if (x_1217 == 0) -{ -lean_object* x_1218; -x_1218 = lean_ctor_get(x_1202, 0); -lean_dec(x_1218); -lean_ctor_set_tag(x_1202, 0); -lean_ctor_set(x_1202, 0, x_3); -return x_1202; -} -else -{ -lean_object* x_1219; lean_object* x_1220; -x_1219 = lean_ctor_get(x_1202, 1); -lean_inc(x_1219); -lean_dec(x_1202); -x_1220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1220, 0, x_3); -lean_ctor_set(x_1220, 1, x_1219); -return x_1220; -} -} -} -} -} -} -else -{ -uint8_t x_1302; -lean_dec(x_1170); -lean_dec(x_1169); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_1302 = !lean_is_exclusive(x_1179); -if (x_1302 == 0) -{ -return x_1179; -} -else -{ -lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; -x_1303 = lean_ctor_get(x_1179, 0); -x_1304 = lean_ctor_get(x_1179, 1); -lean_inc(x_1304); -lean_inc(x_1303); -lean_dec(x_1179); -x_1305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1305, 0, x_1303); -lean_ctor_set(x_1305, 1, x_1304); -return x_1305; +lean_object* x_628; lean_object* x_629; lean_object* x_630; +x_628 = lean_ctor_get(x_578, 0); +x_629 = lean_ctor_get(x_578, 1); +lean_inc(x_629); +lean_inc(x_628); +lean_dec(x_578); +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; } } } @@ -24992,722 +21815,321 @@ return x_1305; } case 10: { -lean_object* x_1306; +lean_object* x_631; lean_dec(x_7); lean_dec(x_6); -x_1306 = l_Lean_Expr_constName_x3f(x_5); +x_631 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_1306) == 0) +if (lean_obj_tag(x_631) == 0) { -lean_object* x_1307; +lean_object* x_632; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1307 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1307, 0, x_3); -lean_ctor_set(x_1307, 1, x_12); -return x_1307; +x_632 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_632, 0, x_3); +lean_ctor_set(x_632, 1, x_12); +return x_632; } else { -lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; -x_1308 = lean_ctor_get(x_1306, 0); -lean_inc(x_1308); -lean_dec(x_1306); -x_1309 = lean_unsigned_to_nat(0u); -x_1310 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_1309); -if (lean_obj_tag(x_1310) == 0) +lean_object* x_633; lean_object* x_634; lean_object* x_635; +x_633 = lean_ctor_get(x_631, 0); +lean_inc(x_633); +lean_dec(x_631); +x_634 = lean_unsigned_to_nat(0u); +x_635 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_634); +if (lean_obj_tag(x_635) == 0) { -lean_object* x_1311; -lean_dec(x_1308); +lean_object* x_636; +lean_dec(x_633); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1311, 0, x_3); -lean_ctor_set(x_1311, 1, x_12); -return x_1311; +x_636 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_636, 0, x_3); +lean_ctor_set(x_636, 1, x_12); +return x_636; } else { -lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; uint8_t x_1316; -x_1312 = lean_ctor_get(x_1310, 0); -lean_inc(x_1312); -if (lean_is_exclusive(x_1310)) { - lean_ctor_release(x_1310, 0); - x_1313 = x_1310; -} else { - lean_dec_ref(x_1310); - x_1313 = lean_box(0); -} -x_1314 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1308, x_8, x_9, x_10, x_11, x_12); -x_1315 = lean_ctor_get(x_1314, 0); -lean_inc(x_1315); -x_1316 = lean_unbox(x_1315); -lean_dec(x_1315); -if (x_1316 == 0) +lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; +x_637 = lean_ctor_get(x_635, 0); +lean_inc(x_637); +lean_dec(x_635); +x_638 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_633, x_8, x_9, x_10, x_11, x_12); +x_639 = lean_ctor_get(x_638, 0); +lean_inc(x_639); +x_640 = lean_unbox(x_639); +lean_dec(x_639); +if (x_640 == 0) { -uint8_t x_1317; -lean_dec(x_1313); -lean_dec(x_1312); +uint8_t x_641; +lean_dec(x_637); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1317 = !lean_is_exclusive(x_1314); -if (x_1317 == 0) +x_641 = !lean_is_exclusive(x_638); +if (x_641 == 0) { -lean_object* x_1318; -x_1318 = lean_ctor_get(x_1314, 0); -lean_dec(x_1318); -lean_ctor_set(x_1314, 0, x_3); -return x_1314; +lean_object* x_642; +x_642 = lean_ctor_get(x_638, 0); +lean_dec(x_642); +lean_ctor_set(x_638, 0, x_3); +return x_638; } else { -lean_object* x_1319; lean_object* x_1320; -x_1319 = lean_ctor_get(x_1314, 1); -lean_inc(x_1319); -lean_dec(x_1314); -x_1320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1320, 0, x_3); -lean_ctor_set(x_1320, 1, x_1319); -return x_1320; +lean_object* x_643; lean_object* x_644; +x_643 = lean_ctor_get(x_638, 1); +lean_inc(x_643); +lean_dec(x_638); +x_644 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_644, 0, x_3); +lean_ctor_set(x_644, 1, x_643); +return x_644; } } else { -lean_object* x_1321; lean_object* x_1322; -x_1321 = lean_ctor_get(x_1314, 1); -lean_inc(x_1321); -lean_dec(x_1314); +lean_object* x_645; lean_object* x_646; +x_645 = lean_ctor_get(x_638, 1); +lean_inc(x_645); +lean_dec(x_638); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1322 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_1312, x_8, x_9, x_10, x_11, x_1321); -if (lean_obj_tag(x_1322) == 0) +x_646 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_637, x_8, x_9, x_10, x_11, x_645); +if (lean_obj_tag(x_646) == 0) { -lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1365; -x_1323 = lean_ctor_get(x_1322, 0); -lean_inc(x_1323); -x_1324 = lean_ctor_get(x_1322, 1); -lean_inc(x_1324); -lean_dec(x_1322); -x_1325 = lean_ctor_get(x_1323, 1); -lean_inc(x_1325); -if (lean_is_exclusive(x_1323)) { - lean_ctor_release(x_1323, 0); - lean_ctor_release(x_1323, 1); - x_1326 = x_1323; -} else { - lean_dec_ref(x_1323); - x_1326 = lean_box(0); -} -x_1327 = lean_box(0); +lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; uint8_t x_655; lean_object* x_656; lean_object* x_684; lean_object* x_685; lean_object* x_686; uint8_t x_687; +x_647 = lean_ctor_get(x_646, 0); +lean_inc(x_647); +x_648 = lean_ctor_get(x_646, 1); +lean_inc(x_648); +lean_dec(x_646); +x_649 = lean_ctor_get(x_647, 1); +lean_inc(x_649); +lean_dec(x_647); +x_650 = lean_box(0); lean_inc(x_8); -x_1328 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1325, x_1327, x_8, x_9, x_10, x_11, x_1324); -x_1329 = lean_ctor_get(x_1328, 0); -lean_inc(x_1329); -x_1330 = lean_ctor_get(x_1328, 1); -lean_inc(x_1330); -if (lean_is_exclusive(x_1328)) { - lean_ctor_release(x_1328, 0); - lean_ctor_release(x_1328, 1); - x_1331 = x_1328; -} else { - lean_dec_ref(x_1328); - x_1331 = lean_box(0); +x_651 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_649, x_650, x_8, x_9, x_10, x_11, x_648); +x_652 = lean_ctor_get(x_651, 0); +lean_inc(x_652); +x_653 = lean_ctor_get(x_651, 1); +lean_inc(x_653); +lean_dec(x_651); +x_654 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_684 = lean_st_ref_get(x_11, x_653); +x_685 = lean_ctor_get(x_684, 0); +lean_inc(x_685); +x_686 = lean_ctor_get(x_685, 3); +lean_inc(x_686); +lean_dec(x_685); +x_687 = lean_ctor_get_uint8(x_686, sizeof(void*)*1); +lean_dec(x_686); +if (x_687 == 0) +{ +lean_object* x_688; uint8_t x_689; +x_688 = lean_ctor_get(x_684, 1); +lean_inc(x_688); +lean_dec(x_684); +x_689 = 0; +x_655 = x_689; +x_656 = x_688; +goto block_683; } -x_1332 = l_Lean_Expr_mvarId_x21(x_1329); +else +{ +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; uint8_t x_694; +x_690 = lean_ctor_get(x_684, 1); +lean_inc(x_690); +lean_dec(x_684); +x_691 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_654, x_8, x_9, x_10, x_11, x_690); +x_692 = lean_ctor_get(x_691, 0); +lean_inc(x_692); +x_693 = lean_ctor_get(x_691, 1); +lean_inc(x_693); +lean_dec(x_691); +x_694 = lean_unbox(x_692); +lean_dec(x_692); +x_655 = x_694; +x_656 = x_693; +goto block_683; +} +block_683: +{ +if (x_655 == 0) +{ +lean_object* x_657; lean_object* x_658; +x_657 = lean_box(0); +lean_inc(x_3); +x_658 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_657, x_8, x_9, x_10, x_11, x_656); +if (lean_obj_tag(x_658) == 0) +{ +lean_dec(x_3); +return x_658; +} +else +{ +uint8_t x_659; +x_659 = !lean_is_exclusive(x_658); +if (x_659 == 0) +{ +lean_object* x_660; +x_660 = lean_ctor_get(x_658, 0); +lean_dec(x_660); +lean_ctor_set_tag(x_658, 0); +lean_ctor_set(x_658, 0, x_3); +return x_658; +} +else +{ +lean_object* x_661; lean_object* x_662; +x_661 = lean_ctor_get(x_658, 1); +lean_inc(x_661); +lean_dec(x_658); +x_662 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_662, 0, x_3); +lean_ctor_set(x_662, 1, x_661); +return x_662; +} +} +} +else +{ +lean_object* x_663; lean_object* x_664; +x_663 = l_Lean_Expr_mvarId_x21(x_652); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1365 = l_Lean_Meta_ppGoal(x_1332, x_8, x_9, x_10, x_11, x_1330); -if (lean_obj_tag(x_1365) == 0) +x_664 = l_Lean_Meta_ppGoal(x_663, x_8, x_9, x_10, x_11, x_656); +lean_dec(x_663); +if (lean_obj_tag(x_664) == 0) { -lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; uint8_t x_1426; -x_1366 = lean_ctor_get(x_1365, 0); -lean_inc(x_1366); -x_1367 = lean_ctor_get(x_1365, 1); -lean_inc(x_1367); -lean_dec(x_1365); -x_1423 = lean_st_ref_get(x_11, x_1367); -x_1424 = lean_ctor_get(x_1423, 0); -lean_inc(x_1424); -x_1425 = lean_ctor_get(x_1424, 3); -lean_inc(x_1425); -lean_dec(x_1424); -x_1426 = lean_ctor_get_uint8(x_1425, sizeof(void*)*1); -lean_dec(x_1425); -if (x_1426 == 0) +lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_665 = lean_ctor_get(x_664, 0); +lean_inc(x_665); +x_666 = lean_ctor_get(x_664, 1); +lean_inc(x_666); +lean_dec(x_664); +x_667 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_667, 0, x_665); +x_668 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_669 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_669, 0, x_668); +lean_ctor_set(x_669, 1, x_667); +x_670 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_670, 0, x_669); +lean_ctor_set(x_670, 1, x_668); +x_671 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_654, x_670, x_8, x_9, x_10, x_11, x_666); +x_672 = lean_ctor_get(x_671, 0); +lean_inc(x_672); +x_673 = lean_ctor_get(x_671, 1); +lean_inc(x_673); +lean_dec(x_671); +lean_inc(x_3); +x_674 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_672, x_8, x_9, x_10, x_11, x_673); +lean_dec(x_672); +if (lean_obj_tag(x_674) == 0) { -lean_object* x_1427; -lean_dec(x_1366); -x_1427 = lean_ctor_get(x_1423, 1); -lean_inc(x_1427); -lean_dec(x_1423); -x_1368 = x_1427; -goto block_1422; +lean_dec(x_3); +return x_674; } else { -lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; uint8_t x_1432; -x_1428 = lean_ctor_get(x_1423, 1); -lean_inc(x_1428); -lean_dec(x_1423); -x_1429 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1430 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1429, x_8, x_9, x_10, x_11, x_1428); -x_1431 = lean_ctor_get(x_1430, 0); -lean_inc(x_1431); -x_1432 = lean_unbox(x_1431); -lean_dec(x_1431); -if (x_1432 == 0) +uint8_t x_675; +x_675 = !lean_is_exclusive(x_674); +if (x_675 == 0) { -lean_object* x_1433; -lean_dec(x_1366); -x_1433 = lean_ctor_get(x_1430, 1); -lean_inc(x_1433); -lean_dec(x_1430); -x_1368 = x_1433; -goto block_1422; +lean_object* x_676; +x_676 = lean_ctor_get(x_674, 0); +lean_dec(x_676); +lean_ctor_set_tag(x_674, 0); +lean_ctor_set(x_674, 0, x_3); +return x_674; } else { -lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; -x_1434 = lean_ctor_get(x_1430, 1); -lean_inc(x_1434); -lean_dec(x_1430); -x_1435 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1435, 0, x_1366); -x_1436 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1437 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1437, 0, x_1436); -lean_ctor_set(x_1437, 1, x_1435); -x_1438 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1438, 0, x_1437); -lean_ctor_set(x_1438, 1, x_1436); -x_1439 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1429, x_1438, x_8, x_9, x_10, x_11, x_1434); -x_1440 = lean_ctor_get(x_1439, 1); -lean_inc(x_1440); -lean_dec(x_1439); -x_1368 = x_1440; -goto block_1422; +lean_object* x_677; lean_object* x_678; +x_677 = lean_ctor_get(x_674, 1); +lean_inc(x_677); +lean_dec(x_674); +x_678 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_678, 0, x_3); +lean_ctor_set(x_678, 1, x_677); +return x_678; } } -block_1422: +} +else { -lean_object* x_1369; lean_object* x_1370; -x_1369 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_1370 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_1332, x_1369, x_8, x_9, x_10, x_11, x_1368); -if (lean_obj_tag(x_1370) == 0) -{ -lean_object* x_1371; uint8_t x_1372; -x_1371 = lean_ctor_get(x_1370, 0); -lean_inc(x_1371); -x_1372 = lean_unbox(x_1371); -lean_dec(x_1371); -if (x_1372 == 0) -{ -lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; uint8_t x_1377; -lean_dec(x_1331); -lean_dec(x_1329); -lean_dec(x_1326); -lean_dec(x_1313); -lean_dec(x_1312); -x_1373 = lean_ctor_get(x_1370, 1); -lean_inc(x_1373); -lean_dec(x_1370); -x_1374 = lean_st_ref_get(x_11, x_1373); -x_1375 = lean_ctor_get(x_1374, 0); -lean_inc(x_1375); -x_1376 = lean_ctor_get(x_1375, 3); -lean_inc(x_1376); -lean_dec(x_1375); -x_1377 = lean_ctor_get_uint8(x_1376, sizeof(void*)*1); -lean_dec(x_1376); -if (x_1377 == 0) -{ -uint8_t x_1378; +uint8_t x_679; +lean_dec(x_652); +lean_dec(x_637); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_1378 = !lean_is_exclusive(x_1374); -if (x_1378 == 0) +x_679 = !lean_is_exclusive(x_664); +if (x_679 == 0) { -lean_object* x_1379; -x_1379 = lean_ctor_get(x_1374, 0); -lean_dec(x_1379); -lean_ctor_set(x_1374, 0, x_3); -return x_1374; +lean_object* x_680; +x_680 = lean_ctor_get(x_664, 0); +lean_dec(x_680); +lean_ctor_set_tag(x_664, 0); +lean_ctor_set(x_664, 0, x_3); +return x_664; } else { -lean_object* x_1380; lean_object* x_1381; -x_1380 = lean_ctor_get(x_1374, 1); -lean_inc(x_1380); -lean_dec(x_1374); -x_1381 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1381, 0, x_3); -lean_ctor_set(x_1381, 1, x_1380); -return x_1381; +lean_object* x_681; lean_object* x_682; +x_681 = lean_ctor_get(x_664, 1); +lean_inc(x_681); +lean_dec(x_664); +x_682 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_682, 0, x_3); +lean_ctor_set(x_682, 1, x_681); +return x_682; } } -else -{ -lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; uint8_t x_1386; -x_1382 = lean_ctor_get(x_1374, 1); -lean_inc(x_1382); -lean_dec(x_1374); -x_1383 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1384 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1383, x_8, x_9, x_10, x_11, x_1382); -x_1385 = lean_ctor_get(x_1384, 0); -lean_inc(x_1385); -x_1386 = lean_unbox(x_1385); -lean_dec(x_1385); -if (x_1386 == 0) -{ -uint8_t x_1387; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1387 = !lean_is_exclusive(x_1384); -if (x_1387 == 0) -{ -lean_object* x_1388; -x_1388 = lean_ctor_get(x_1384, 0); -lean_dec(x_1388); -lean_ctor_set(x_1384, 0, x_3); -return x_1384; -} -else -{ -lean_object* x_1389; lean_object* x_1390; -x_1389 = lean_ctor_get(x_1384, 1); -lean_inc(x_1389); -lean_dec(x_1384); -x_1390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1390, 0, x_3); -lean_ctor_set(x_1390, 1, x_1389); -return x_1390; -} -} -else -{ -lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; uint8_t x_1394; -x_1391 = lean_ctor_get(x_1384, 1); -lean_inc(x_1391); -lean_dec(x_1384); -x_1392 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_1393 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1383, x_1392, x_8, x_9, x_10, x_11, x_1391); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1394 = !lean_is_exclusive(x_1393); -if (x_1394 == 0) -{ -lean_object* x_1395; -x_1395 = lean_ctor_get(x_1393, 0); -lean_dec(x_1395); -lean_ctor_set(x_1393, 0, x_3); -return x_1393; -} -else -{ -lean_object* x_1396; lean_object* x_1397; -x_1396 = lean_ctor_get(x_1393, 1); -lean_inc(x_1396); -lean_dec(x_1393); -x_1397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1397, 0, x_3); -lean_ctor_set(x_1397, 1, x_1396); -return x_1397; -} } } } else { -lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; uint8_t x_1402; -x_1398 = lean_ctor_get(x_1370, 1); -lean_inc(x_1398); -lean_dec(x_1370); -x_1399 = lean_st_ref_get(x_11, x_1398); -x_1400 = lean_ctor_get(x_1399, 0); -lean_inc(x_1400); -x_1401 = lean_ctor_get(x_1400, 3); -lean_inc(x_1401); -lean_dec(x_1400); -x_1402 = lean_ctor_get_uint8(x_1401, sizeof(void*)*1); -lean_dec(x_1401); -if (x_1402 == 0) -{ -lean_object* x_1403; -x_1403 = lean_ctor_get(x_1399, 1); -lean_inc(x_1403); -lean_dec(x_1399); -x_1333 = x_1403; -goto block_1364; -} -else -{ -lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; uint8_t x_1408; -x_1404 = lean_ctor_get(x_1399, 1); -lean_inc(x_1404); -lean_dec(x_1399); -x_1405 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1406 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1405, x_8, x_9, x_10, x_11, x_1404); -x_1407 = lean_ctor_get(x_1406, 0); -lean_inc(x_1407); -x_1408 = lean_unbox(x_1407); -lean_dec(x_1407); -if (x_1408 == 0) -{ -lean_object* x_1409; -x_1409 = lean_ctor_get(x_1406, 1); -lean_inc(x_1409); -lean_dec(x_1406); -x_1333 = x_1409; -goto block_1364; -} -else -{ -lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; -x_1410 = lean_ctor_get(x_1406, 1); -lean_inc(x_1410); -lean_dec(x_1406); -lean_inc(x_1329); -x_1411 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1411, 0, x_1329); -x_1412 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_1413 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1413, 0, x_1412); -lean_ctor_set(x_1413, 1, x_1411); -x_1414 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1415 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1415, 0, x_1413); -lean_ctor_set(x_1415, 1, x_1414); -x_1416 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1405, x_1415, x_8, x_9, x_10, x_11, x_1410); -x_1417 = lean_ctor_get(x_1416, 1); -lean_inc(x_1417); -lean_dec(x_1416); -x_1333 = x_1417; -goto block_1364; -} -} -} -} -else -{ -uint8_t x_1418; -lean_dec(x_1331); -lean_dec(x_1329); -lean_dec(x_1326); -lean_dec(x_1313); -lean_dec(x_1312); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1418 = !lean_is_exclusive(x_1370); -if (x_1418 == 0) -{ -lean_object* x_1419; -x_1419 = lean_ctor_get(x_1370, 0); -lean_dec(x_1419); -lean_ctor_set_tag(x_1370, 0); -lean_ctor_set(x_1370, 0, x_3); -return x_1370; -} -else -{ -lean_object* x_1420; lean_object* x_1421; -x_1420 = lean_ctor_get(x_1370, 1); -lean_inc(x_1420); -lean_dec(x_1370); -x_1421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1421, 0, x_3); -lean_ctor_set(x_1421, 1, x_1420); -return x_1421; -} -} -} -} -else -{ -uint8_t x_1441; -lean_dec(x_1332); -lean_dec(x_1331); -lean_dec(x_1329); -lean_dec(x_1326); -lean_dec(x_1313); -lean_dec(x_1312); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1441 = !lean_is_exclusive(x_1365); -if (x_1441 == 0) -{ -lean_object* x_1442; -x_1442 = lean_ctor_get(x_1365, 0); -lean_dec(x_1442); -lean_ctor_set_tag(x_1365, 0); -lean_ctor_set(x_1365, 0, x_3); -return x_1365; -} -else -{ -lean_object* x_1443; lean_object* x_1444; -x_1443 = lean_ctor_get(x_1365, 1); -lean_inc(x_1443); -lean_dec(x_1365); -x_1444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1444, 0, x_3); -lean_ctor_set(x_1444, 1, x_1443); -return x_1444; -} -} -block_1364: -{ -lean_object* x_1334; uint8_t x_1335; -x_1334 = lean_array_get_size(x_1); -x_1335 = lean_nat_dec_lt(x_1309, x_1334); -if (x_1335 == 0) -{ -lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; -lean_dec(x_1334); +uint8_t x_695; +lean_dec(x_637); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_1326)) { - x_1336 = lean_alloc_ctor(0, 2, 0); -} else { - x_1336 = x_1326; -} -lean_ctor_set(x_1336, 0, x_1329); -lean_ctor_set(x_1336, 1, x_1312); -if (lean_is_scalar(x_1313)) { - x_1337 = lean_alloc_ctor(1, 1, 0); -} else { - x_1337 = x_1313; -} -lean_ctor_set(x_1337, 0, x_1336); -if (lean_is_scalar(x_1331)) { - x_1338 = lean_alloc_ctor(0, 2, 0); -} else { - x_1338 = x_1331; -} -lean_ctor_set(x_1338, 0, x_1337); -lean_ctor_set(x_1338, 1, x_1333); -return x_1338; +x_695 = !lean_is_exclusive(x_646); +if (x_695 == 0) +{ +return x_646; } else { -uint8_t x_1339; -x_1339 = lean_nat_dec_le(x_1334, x_1334); -if (x_1339 == 0) -{ -lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; -lean_dec(x_1334); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_1326)) { - x_1340 = lean_alloc_ctor(0, 2, 0); -} else { - x_1340 = x_1326; -} -lean_ctor_set(x_1340, 0, x_1329); -lean_ctor_set(x_1340, 1, x_1312); -if (lean_is_scalar(x_1313)) { - x_1341 = lean_alloc_ctor(1, 1, 0); -} else { - x_1341 = x_1313; -} -lean_ctor_set(x_1341, 0, x_1340); -if (lean_is_scalar(x_1331)) { - x_1342 = lean_alloc_ctor(0, 2, 0); -} else { - x_1342 = x_1331; -} -lean_ctor_set(x_1342, 0, x_1341); -lean_ctor_set(x_1342, 1, x_1333); -return x_1342; -} -else -{ -size_t x_1343; size_t x_1344; lean_object* x_1345; -lean_dec(x_1331); -x_1343 = 0; -x_1344 = lean_usize_of_nat(x_1334); -lean_dec(x_1334); -lean_inc(x_1329); -x_1345 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1329, x_1, x_1343, x_1344, x_8, x_9, x_10, x_11, x_1333); -if (lean_obj_tag(x_1345) == 0) -{ -lean_object* x_1346; uint8_t x_1347; -x_1346 = lean_ctor_get(x_1345, 0); -lean_inc(x_1346); -x_1347 = lean_unbox(x_1346); -lean_dec(x_1346); -if (x_1347 == 0) -{ -uint8_t x_1348; -lean_dec(x_3); -x_1348 = !lean_is_exclusive(x_1345); -if (x_1348 == 0) -{ -lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; -x_1349 = lean_ctor_get(x_1345, 0); -lean_dec(x_1349); -if (lean_is_scalar(x_1326)) { - x_1350 = lean_alloc_ctor(0, 2, 0); -} else { - x_1350 = x_1326; -} -lean_ctor_set(x_1350, 0, x_1329); -lean_ctor_set(x_1350, 1, x_1312); -if (lean_is_scalar(x_1313)) { - x_1351 = lean_alloc_ctor(1, 1, 0); -} else { - x_1351 = x_1313; -} -lean_ctor_set(x_1351, 0, x_1350); -lean_ctor_set(x_1345, 0, x_1351); -return x_1345; -} -else -{ -lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; -x_1352 = lean_ctor_get(x_1345, 1); -lean_inc(x_1352); -lean_dec(x_1345); -if (lean_is_scalar(x_1326)) { - x_1353 = lean_alloc_ctor(0, 2, 0); -} else { - x_1353 = x_1326; -} -lean_ctor_set(x_1353, 0, x_1329); -lean_ctor_set(x_1353, 1, x_1312); -if (lean_is_scalar(x_1313)) { - x_1354 = lean_alloc_ctor(1, 1, 0); -} else { - x_1354 = x_1313; -} -lean_ctor_set(x_1354, 0, x_1353); -x_1355 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1355, 0, x_1354); -lean_ctor_set(x_1355, 1, x_1352); -return x_1355; -} -} -else -{ -uint8_t x_1356; -lean_dec(x_1329); -lean_dec(x_1326); -lean_dec(x_1313); -lean_dec(x_1312); -x_1356 = !lean_is_exclusive(x_1345); -if (x_1356 == 0) -{ -lean_object* x_1357; -x_1357 = lean_ctor_get(x_1345, 0); -lean_dec(x_1357); -lean_ctor_set(x_1345, 0, x_3); -return x_1345; -} -else -{ -lean_object* x_1358; lean_object* x_1359; -x_1358 = lean_ctor_get(x_1345, 1); -lean_inc(x_1358); -lean_dec(x_1345); -x_1359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1359, 0, x_3); -lean_ctor_set(x_1359, 1, x_1358); -return x_1359; -} -} -} -else -{ -uint8_t x_1360; -lean_dec(x_1329); -lean_dec(x_1326); -lean_dec(x_1313); -lean_dec(x_1312); -x_1360 = !lean_is_exclusive(x_1345); -if (x_1360 == 0) -{ -lean_object* x_1361; -x_1361 = lean_ctor_get(x_1345, 0); -lean_dec(x_1361); -lean_ctor_set_tag(x_1345, 0); -lean_ctor_set(x_1345, 0, x_3); -return x_1345; -} -else -{ -lean_object* x_1362; lean_object* x_1363; -x_1362 = lean_ctor_get(x_1345, 1); -lean_inc(x_1362); -lean_dec(x_1345); -x_1363 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1363, 0, x_3); -lean_ctor_set(x_1363, 1, x_1362); -return x_1363; -} -} -} -} -} -} -else -{ -uint8_t x_1445; -lean_dec(x_1313); -lean_dec(x_1312); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_1445 = !lean_is_exclusive(x_1322); -if (x_1445 == 0) -{ -return x_1322; -} -else -{ -lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; -x_1446 = lean_ctor_get(x_1322, 0); -x_1447 = lean_ctor_get(x_1322, 1); -lean_inc(x_1447); -lean_inc(x_1446); -lean_dec(x_1322); -x_1448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1448, 0, x_1446); -lean_ctor_set(x_1448, 1, x_1447); -return x_1448; +lean_object* x_696; lean_object* x_697; lean_object* x_698; +x_696 = lean_ctor_get(x_646, 0); +x_697 = lean_ctor_get(x_646, 1); +lean_inc(x_697); +lean_inc(x_696); +lean_dec(x_646); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_696); +lean_ctor_set(x_698, 1, x_697); +return x_698; } } } @@ -25716,722 +22138,321 @@ return x_1448; } default: { -lean_object* x_1449; +lean_object* x_699; lean_dec(x_7); lean_dec(x_6); -x_1449 = l_Lean_Expr_constName_x3f(x_5); +x_699 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_1449) == 0) +if (lean_obj_tag(x_699) == 0) { -lean_object* x_1450; +lean_object* x_700; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1450 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1450, 0, x_3); -lean_ctor_set(x_1450, 1, x_12); -return x_1450; +x_700 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_700, 0, x_3); +lean_ctor_set(x_700, 1, x_12); +return x_700; } else { -lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; -x_1451 = lean_ctor_get(x_1449, 0); -lean_inc(x_1451); -lean_dec(x_1449); -x_1452 = lean_unsigned_to_nat(0u); -x_1453 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_1452); -if (lean_obj_tag(x_1453) == 0) +lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_701 = lean_ctor_get(x_699, 0); +lean_inc(x_701); +lean_dec(x_699); +x_702 = lean_unsigned_to_nat(0u); +x_703 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_702); +if (lean_obj_tag(x_703) == 0) { -lean_object* x_1454; -lean_dec(x_1451); +lean_object* x_704; +lean_dec(x_701); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1454 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1454, 0, x_3); -lean_ctor_set(x_1454, 1, x_12); -return x_1454; +x_704 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_704, 0, x_3); +lean_ctor_set(x_704, 1, x_12); +return x_704; } else { -lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; uint8_t x_1459; -x_1455 = lean_ctor_get(x_1453, 0); -lean_inc(x_1455); -if (lean_is_exclusive(x_1453)) { - lean_ctor_release(x_1453, 0); - x_1456 = x_1453; -} else { - lean_dec_ref(x_1453); - x_1456 = lean_box(0); -} -x_1457 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1451, x_8, x_9, x_10, x_11, x_12); -x_1458 = lean_ctor_get(x_1457, 0); -lean_inc(x_1458); -x_1459 = lean_unbox(x_1458); -lean_dec(x_1458); -if (x_1459 == 0) +lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; +x_705 = lean_ctor_get(x_703, 0); +lean_inc(x_705); +lean_dec(x_703); +x_706 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_701, x_8, x_9, x_10, x_11, x_12); +x_707 = lean_ctor_get(x_706, 0); +lean_inc(x_707); +x_708 = lean_unbox(x_707); +lean_dec(x_707); +if (x_708 == 0) { -uint8_t x_1460; -lean_dec(x_1456); -lean_dec(x_1455); +uint8_t x_709; +lean_dec(x_705); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_1460 = !lean_is_exclusive(x_1457); -if (x_1460 == 0) +x_709 = !lean_is_exclusive(x_706); +if (x_709 == 0) { -lean_object* x_1461; -x_1461 = lean_ctor_get(x_1457, 0); -lean_dec(x_1461); -lean_ctor_set(x_1457, 0, x_3); -return x_1457; +lean_object* x_710; +x_710 = lean_ctor_get(x_706, 0); +lean_dec(x_710); +lean_ctor_set(x_706, 0, x_3); +return x_706; } else { -lean_object* x_1462; lean_object* x_1463; -x_1462 = lean_ctor_get(x_1457, 1); -lean_inc(x_1462); -lean_dec(x_1457); -x_1463 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1463, 0, x_3); -lean_ctor_set(x_1463, 1, x_1462); -return x_1463; +lean_object* x_711; lean_object* x_712; +x_711 = lean_ctor_get(x_706, 1); +lean_inc(x_711); +lean_dec(x_706); +x_712 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_712, 0, x_3); +lean_ctor_set(x_712, 1, x_711); +return x_712; } } else { -lean_object* x_1464; lean_object* x_1465; -x_1464 = lean_ctor_get(x_1457, 1); -lean_inc(x_1464); -lean_dec(x_1457); +lean_object* x_713; lean_object* x_714; +x_713 = lean_ctor_get(x_706, 1); +lean_inc(x_713); +lean_dec(x_706); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1465 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_1455, x_8, x_9, x_10, x_11, x_1464); -if (lean_obj_tag(x_1465) == 0) +x_714 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_705, x_8, x_9, x_10, x_11, x_713); +if (lean_obj_tag(x_714) == 0) { -lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1508; -x_1466 = lean_ctor_get(x_1465, 0); -lean_inc(x_1466); -x_1467 = lean_ctor_get(x_1465, 1); -lean_inc(x_1467); -lean_dec(x_1465); -x_1468 = lean_ctor_get(x_1466, 1); -lean_inc(x_1468); -if (lean_is_exclusive(x_1466)) { - lean_ctor_release(x_1466, 0); - lean_ctor_release(x_1466, 1); - x_1469 = x_1466; -} else { - lean_dec_ref(x_1466); - x_1469 = lean_box(0); -} -x_1470 = lean_box(0); +lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; uint8_t x_723; lean_object* x_724; lean_object* x_752; lean_object* x_753; lean_object* x_754; uint8_t x_755; +x_715 = lean_ctor_get(x_714, 0); +lean_inc(x_715); +x_716 = lean_ctor_get(x_714, 1); +lean_inc(x_716); +lean_dec(x_714); +x_717 = lean_ctor_get(x_715, 1); +lean_inc(x_717); +lean_dec(x_715); +x_718 = lean_box(0); lean_inc(x_8); -x_1471 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1468, x_1470, x_8, x_9, x_10, x_11, x_1467); -x_1472 = lean_ctor_get(x_1471, 0); -lean_inc(x_1472); -x_1473 = lean_ctor_get(x_1471, 1); -lean_inc(x_1473); -if (lean_is_exclusive(x_1471)) { - lean_ctor_release(x_1471, 0); - lean_ctor_release(x_1471, 1); - x_1474 = x_1471; -} else { - lean_dec_ref(x_1471); - x_1474 = lean_box(0); +x_719 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_717, x_718, x_8, x_9, x_10, x_11, x_716); +x_720 = lean_ctor_get(x_719, 0); +lean_inc(x_720); +x_721 = lean_ctor_get(x_719, 1); +lean_inc(x_721); +lean_dec(x_719); +x_722 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_752 = lean_st_ref_get(x_11, x_721); +x_753 = lean_ctor_get(x_752, 0); +lean_inc(x_753); +x_754 = lean_ctor_get(x_753, 3); +lean_inc(x_754); +lean_dec(x_753); +x_755 = lean_ctor_get_uint8(x_754, sizeof(void*)*1); +lean_dec(x_754); +if (x_755 == 0) +{ +lean_object* x_756; uint8_t x_757; +x_756 = lean_ctor_get(x_752, 1); +lean_inc(x_756); +lean_dec(x_752); +x_757 = 0; +x_723 = x_757; +x_724 = x_756; +goto block_751; } -x_1475 = l_Lean_Expr_mvarId_x21(x_1472); +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; uint8_t x_762; +x_758 = lean_ctor_get(x_752, 1); +lean_inc(x_758); +lean_dec(x_752); +x_759 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_722, x_8, x_9, x_10, x_11, x_758); +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +lean_dec(x_759); +x_762 = lean_unbox(x_760); +lean_dec(x_760); +x_723 = x_762; +x_724 = x_761; +goto block_751; +} +block_751: +{ +if (x_723 == 0) +{ +lean_object* x_725; lean_object* x_726; +x_725 = lean_box(0); +lean_inc(x_3); +x_726 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_725, x_8, x_9, x_10, x_11, x_724); +if (lean_obj_tag(x_726) == 0) +{ +lean_dec(x_3); +return x_726; +} +else +{ +uint8_t x_727; +x_727 = !lean_is_exclusive(x_726); +if (x_727 == 0) +{ +lean_object* x_728; +x_728 = lean_ctor_get(x_726, 0); +lean_dec(x_728); +lean_ctor_set_tag(x_726, 0); +lean_ctor_set(x_726, 0, x_3); +return x_726; +} +else +{ +lean_object* x_729; lean_object* x_730; +x_729 = lean_ctor_get(x_726, 1); +lean_inc(x_729); +lean_dec(x_726); +x_730 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_730, 0, x_3); +lean_ctor_set(x_730, 1, x_729); +return x_730; +} +} +} +else +{ +lean_object* x_731; lean_object* x_732; +x_731 = l_Lean_Expr_mvarId_x21(x_720); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_1508 = l_Lean_Meta_ppGoal(x_1475, x_8, x_9, x_10, x_11, x_1473); -if (lean_obj_tag(x_1508) == 0) +x_732 = l_Lean_Meta_ppGoal(x_731, x_8, x_9, x_10, x_11, x_724); +lean_dec(x_731); +if (lean_obj_tag(x_732) == 0) { -lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; uint8_t x_1569; -x_1509 = lean_ctor_get(x_1508, 0); -lean_inc(x_1509); -x_1510 = lean_ctor_get(x_1508, 1); -lean_inc(x_1510); -lean_dec(x_1508); -x_1566 = lean_st_ref_get(x_11, x_1510); -x_1567 = lean_ctor_get(x_1566, 0); -lean_inc(x_1567); -x_1568 = lean_ctor_get(x_1567, 3); -lean_inc(x_1568); -lean_dec(x_1567); -x_1569 = lean_ctor_get_uint8(x_1568, sizeof(void*)*1); -lean_dec(x_1568); -if (x_1569 == 0) +lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; +x_733 = lean_ctor_get(x_732, 0); +lean_inc(x_733); +x_734 = lean_ctor_get(x_732, 1); +lean_inc(x_734); +lean_dec(x_732); +x_735 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_735, 0, x_733); +x_736 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_737 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_737, 0, x_736); +lean_ctor_set(x_737, 1, x_735); +x_738 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_736); +x_739 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_722, x_738, x_8, x_9, x_10, x_11, x_734); +x_740 = lean_ctor_get(x_739, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_739, 1); +lean_inc(x_741); +lean_dec(x_739); +lean_inc(x_3); +x_742 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_740, x_8, x_9, x_10, x_11, x_741); +lean_dec(x_740); +if (lean_obj_tag(x_742) == 0) { -lean_object* x_1570; -lean_dec(x_1509); -x_1570 = lean_ctor_get(x_1566, 1); -lean_inc(x_1570); -lean_dec(x_1566); -x_1511 = x_1570; -goto block_1565; +lean_dec(x_3); +return x_742; } else { -lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; uint8_t x_1575; -x_1571 = lean_ctor_get(x_1566, 1); -lean_inc(x_1571); -lean_dec(x_1566); -x_1572 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1573 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1572, x_8, x_9, x_10, x_11, x_1571); -x_1574 = lean_ctor_get(x_1573, 0); -lean_inc(x_1574); -x_1575 = lean_unbox(x_1574); -lean_dec(x_1574); -if (x_1575 == 0) +uint8_t x_743; +x_743 = !lean_is_exclusive(x_742); +if (x_743 == 0) { -lean_object* x_1576; -lean_dec(x_1509); -x_1576 = lean_ctor_get(x_1573, 1); -lean_inc(x_1576); -lean_dec(x_1573); -x_1511 = x_1576; -goto block_1565; +lean_object* x_744; +x_744 = lean_ctor_get(x_742, 0); +lean_dec(x_744); +lean_ctor_set_tag(x_742, 0); +lean_ctor_set(x_742, 0, x_3); +return x_742; } else { -lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; -x_1577 = lean_ctor_get(x_1573, 1); -lean_inc(x_1577); -lean_dec(x_1573); -x_1578 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1578, 0, x_1509); -x_1579 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1580 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1580, 0, x_1579); -lean_ctor_set(x_1580, 1, x_1578); -x_1581 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1581, 0, x_1580); -lean_ctor_set(x_1581, 1, x_1579); -x_1582 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1572, x_1581, x_8, x_9, x_10, x_11, x_1577); -x_1583 = lean_ctor_get(x_1582, 1); -lean_inc(x_1583); -lean_dec(x_1582); -x_1511 = x_1583; -goto block_1565; +lean_object* x_745; lean_object* x_746; +x_745 = lean_ctor_get(x_742, 1); +lean_inc(x_745); +lean_dec(x_742); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_3); +lean_ctor_set(x_746, 1, x_745); +return x_746; } } -block_1565: +} +else { -lean_object* x_1512; lean_object* x_1513; -x_1512 = lean_unsigned_to_nat(10u); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_1513 = l_Lean_Meta_IndPredBelow_backwardsChaining(x_1475, x_1512, x_8, x_9, x_10, x_11, x_1511); -if (lean_obj_tag(x_1513) == 0) -{ -lean_object* x_1514; uint8_t x_1515; -x_1514 = lean_ctor_get(x_1513, 0); -lean_inc(x_1514); -x_1515 = lean_unbox(x_1514); -lean_dec(x_1514); -if (x_1515 == 0) -{ -lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; uint8_t x_1520; -lean_dec(x_1474); -lean_dec(x_1472); -lean_dec(x_1469); -lean_dec(x_1456); -lean_dec(x_1455); -x_1516 = lean_ctor_get(x_1513, 1); -lean_inc(x_1516); -lean_dec(x_1513); -x_1517 = lean_st_ref_get(x_11, x_1516); -x_1518 = lean_ctor_get(x_1517, 0); -lean_inc(x_1518); -x_1519 = lean_ctor_get(x_1518, 3); -lean_inc(x_1519); -lean_dec(x_1518); -x_1520 = lean_ctor_get_uint8(x_1519, sizeof(void*)*1); -lean_dec(x_1519); -if (x_1520 == 0) -{ -uint8_t x_1521; +uint8_t x_747; +lean_dec(x_720); +lean_dec(x_705); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_1521 = !lean_is_exclusive(x_1517); -if (x_1521 == 0) +x_747 = !lean_is_exclusive(x_732); +if (x_747 == 0) { -lean_object* x_1522; -x_1522 = lean_ctor_get(x_1517, 0); -lean_dec(x_1522); -lean_ctor_set(x_1517, 0, x_3); -return x_1517; +lean_object* x_748; +x_748 = lean_ctor_get(x_732, 0); +lean_dec(x_748); +lean_ctor_set_tag(x_732, 0); +lean_ctor_set(x_732, 0, x_3); +return x_732; } else { -lean_object* x_1523; lean_object* x_1524; -x_1523 = lean_ctor_get(x_1517, 1); -lean_inc(x_1523); -lean_dec(x_1517); -x_1524 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1524, 0, x_3); -lean_ctor_set(x_1524, 1, x_1523); -return x_1524; +lean_object* x_749; lean_object* x_750; +x_749 = lean_ctor_get(x_732, 1); +lean_inc(x_749); +lean_dec(x_732); +x_750 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_750, 0, x_3); +lean_ctor_set(x_750, 1, x_749); +return x_750; } } -else -{ -lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; uint8_t x_1529; -x_1525 = lean_ctor_get(x_1517, 1); -lean_inc(x_1525); -lean_dec(x_1517); -x_1526 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1527 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1526, x_8, x_9, x_10, x_11, x_1525); -x_1528 = lean_ctor_get(x_1527, 0); -lean_inc(x_1528); -x_1529 = lean_unbox(x_1528); -lean_dec(x_1528); -if (x_1529 == 0) -{ -uint8_t x_1530; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1530 = !lean_is_exclusive(x_1527); -if (x_1530 == 0) -{ -lean_object* x_1531; -x_1531 = lean_ctor_get(x_1527, 0); -lean_dec(x_1531); -lean_ctor_set(x_1527, 0, x_3); -return x_1527; -} -else -{ -lean_object* x_1532; lean_object* x_1533; -x_1532 = lean_ctor_get(x_1527, 1); -lean_inc(x_1532); -lean_dec(x_1527); -x_1533 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1533, 0, x_3); -lean_ctor_set(x_1533, 1, x_1532); -return x_1533; -} -} -else -{ -lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; uint8_t x_1537; -x_1534 = lean_ctor_get(x_1527, 1); -lean_inc(x_1534); -lean_dec(x_1527); -x_1535 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2; -x_1536 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1526, x_1535, x_8, x_9, x_10, x_11, x_1534); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1537 = !lean_is_exclusive(x_1536); -if (x_1537 == 0) -{ -lean_object* x_1538; -x_1538 = lean_ctor_get(x_1536, 0); -lean_dec(x_1538); -lean_ctor_set(x_1536, 0, x_3); -return x_1536; -} -else -{ -lean_object* x_1539; lean_object* x_1540; -x_1539 = lean_ctor_get(x_1536, 1); -lean_inc(x_1539); -lean_dec(x_1536); -x_1540 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1540, 0, x_3); -lean_ctor_set(x_1540, 1, x_1539); -return x_1540; -} } } } else { -lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; uint8_t x_1545; -x_1541 = lean_ctor_get(x_1513, 1); -lean_inc(x_1541); -lean_dec(x_1513); -x_1542 = lean_st_ref_get(x_11, x_1541); -x_1543 = lean_ctor_get(x_1542, 0); -lean_inc(x_1543); -x_1544 = lean_ctor_get(x_1543, 3); -lean_inc(x_1544); -lean_dec(x_1543); -x_1545 = lean_ctor_get_uint8(x_1544, sizeof(void*)*1); -lean_dec(x_1544); -if (x_1545 == 0) -{ -lean_object* x_1546; -x_1546 = lean_ctor_get(x_1542, 1); -lean_inc(x_1546); -lean_dec(x_1542); -x_1476 = x_1546; -goto block_1507; -} -else -{ -lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; uint8_t x_1551; -x_1547 = lean_ctor_get(x_1542, 1); -lean_inc(x_1547); -lean_dec(x_1542); -x_1548 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_1549 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_1548, x_8, x_9, x_10, x_11, x_1547); -x_1550 = lean_ctor_get(x_1549, 0); -lean_inc(x_1550); -x_1551 = lean_unbox(x_1550); -lean_dec(x_1550); -if (x_1551 == 0) -{ -lean_object* x_1552; -x_1552 = lean_ctor_get(x_1549, 1); -lean_inc(x_1552); -lean_dec(x_1549); -x_1476 = x_1552; -goto block_1507; -} -else -{ -lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; -x_1553 = lean_ctor_get(x_1549, 1); -lean_inc(x_1553); -lean_dec(x_1549); -lean_inc(x_1472); -x_1554 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1554, 0, x_1472); -x_1555 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4; -x_1556 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1556, 0, x_1555); -lean_ctor_set(x_1556, 1, x_1554); -x_1557 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_1558 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1558, 0, x_1556); -lean_ctor_set(x_1558, 1, x_1557); -x_1559 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_1548, x_1558, x_8, x_9, x_10, x_11, x_1553); -x_1560 = lean_ctor_get(x_1559, 1); -lean_inc(x_1560); -lean_dec(x_1559); -x_1476 = x_1560; -goto block_1507; -} -} -} -} -else -{ -uint8_t x_1561; -lean_dec(x_1474); -lean_dec(x_1472); -lean_dec(x_1469); -lean_dec(x_1456); -lean_dec(x_1455); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1561 = !lean_is_exclusive(x_1513); -if (x_1561 == 0) -{ -lean_object* x_1562; -x_1562 = lean_ctor_get(x_1513, 0); -lean_dec(x_1562); -lean_ctor_set_tag(x_1513, 0); -lean_ctor_set(x_1513, 0, x_3); -return x_1513; -} -else -{ -lean_object* x_1563; lean_object* x_1564; -x_1563 = lean_ctor_get(x_1513, 1); -lean_inc(x_1563); -lean_dec(x_1513); -x_1564 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1564, 0, x_3); -lean_ctor_set(x_1564, 1, x_1563); -return x_1564; -} -} -} -} -else -{ -uint8_t x_1584; -lean_dec(x_1475); -lean_dec(x_1474); -lean_dec(x_1472); -lean_dec(x_1469); -lean_dec(x_1456); -lean_dec(x_1455); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_1584 = !lean_is_exclusive(x_1508); -if (x_1584 == 0) -{ -lean_object* x_1585; -x_1585 = lean_ctor_get(x_1508, 0); -lean_dec(x_1585); -lean_ctor_set_tag(x_1508, 0); -lean_ctor_set(x_1508, 0, x_3); -return x_1508; -} -else -{ -lean_object* x_1586; lean_object* x_1587; -x_1586 = lean_ctor_get(x_1508, 1); -lean_inc(x_1586); -lean_dec(x_1508); -x_1587 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1587, 0, x_3); -lean_ctor_set(x_1587, 1, x_1586); -return x_1587; -} -} -block_1507: -{ -lean_object* x_1477; uint8_t x_1478; -x_1477 = lean_array_get_size(x_1); -x_1478 = lean_nat_dec_lt(x_1452, x_1477); -if (x_1478 == 0) -{ -lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; -lean_dec(x_1477); +uint8_t x_763; +lean_dec(x_705); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -if (lean_is_scalar(x_1469)) { - x_1479 = lean_alloc_ctor(0, 2, 0); -} else { - x_1479 = x_1469; -} -lean_ctor_set(x_1479, 0, x_1472); -lean_ctor_set(x_1479, 1, x_1455); -if (lean_is_scalar(x_1456)) { - x_1480 = lean_alloc_ctor(1, 1, 0); -} else { - x_1480 = x_1456; -} -lean_ctor_set(x_1480, 0, x_1479); -if (lean_is_scalar(x_1474)) { - x_1481 = lean_alloc_ctor(0, 2, 0); -} else { - x_1481 = x_1474; -} -lean_ctor_set(x_1481, 0, x_1480); -lean_ctor_set(x_1481, 1, x_1476); -return x_1481; +x_763 = !lean_is_exclusive(x_714); +if (x_763 == 0) +{ +return x_714; } else { -uint8_t x_1482; -x_1482 = lean_nat_dec_le(x_1477, x_1477); -if (x_1482 == 0) -{ -lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; -lean_dec(x_1477); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -if (lean_is_scalar(x_1469)) { - x_1483 = lean_alloc_ctor(0, 2, 0); -} else { - x_1483 = x_1469; -} -lean_ctor_set(x_1483, 0, x_1472); -lean_ctor_set(x_1483, 1, x_1455); -if (lean_is_scalar(x_1456)) { - x_1484 = lean_alloc_ctor(1, 1, 0); -} else { - x_1484 = x_1456; -} -lean_ctor_set(x_1484, 0, x_1483); -if (lean_is_scalar(x_1474)) { - x_1485 = lean_alloc_ctor(0, 2, 0); -} else { - x_1485 = x_1474; -} -lean_ctor_set(x_1485, 0, x_1484); -lean_ctor_set(x_1485, 1, x_1476); -return x_1485; -} -else -{ -size_t x_1486; size_t x_1487; lean_object* x_1488; -lean_dec(x_1474); -x_1486 = 0; -x_1487 = lean_usize_of_nat(x_1477); -lean_dec(x_1477); -lean_inc(x_1472); -x_1488 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1472, x_1, x_1486, x_1487, x_8, x_9, x_10, x_11, x_1476); -if (lean_obj_tag(x_1488) == 0) -{ -lean_object* x_1489; uint8_t x_1490; -x_1489 = lean_ctor_get(x_1488, 0); -lean_inc(x_1489); -x_1490 = lean_unbox(x_1489); -lean_dec(x_1489); -if (x_1490 == 0) -{ -uint8_t x_1491; -lean_dec(x_3); -x_1491 = !lean_is_exclusive(x_1488); -if (x_1491 == 0) -{ -lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; -x_1492 = lean_ctor_get(x_1488, 0); -lean_dec(x_1492); -if (lean_is_scalar(x_1469)) { - x_1493 = lean_alloc_ctor(0, 2, 0); -} else { - x_1493 = x_1469; -} -lean_ctor_set(x_1493, 0, x_1472); -lean_ctor_set(x_1493, 1, x_1455); -if (lean_is_scalar(x_1456)) { - x_1494 = lean_alloc_ctor(1, 1, 0); -} else { - x_1494 = x_1456; -} -lean_ctor_set(x_1494, 0, x_1493); -lean_ctor_set(x_1488, 0, x_1494); -return x_1488; -} -else -{ -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; -x_1495 = lean_ctor_get(x_1488, 1); -lean_inc(x_1495); -lean_dec(x_1488); -if (lean_is_scalar(x_1469)) { - x_1496 = lean_alloc_ctor(0, 2, 0); -} else { - x_1496 = x_1469; -} -lean_ctor_set(x_1496, 0, x_1472); -lean_ctor_set(x_1496, 1, x_1455); -if (lean_is_scalar(x_1456)) { - x_1497 = lean_alloc_ctor(1, 1, 0); -} else { - x_1497 = x_1456; -} -lean_ctor_set(x_1497, 0, x_1496); -x_1498 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1498, 0, x_1497); -lean_ctor_set(x_1498, 1, x_1495); -return x_1498; -} -} -else -{ -uint8_t x_1499; -lean_dec(x_1472); -lean_dec(x_1469); -lean_dec(x_1456); -lean_dec(x_1455); -x_1499 = !lean_is_exclusive(x_1488); -if (x_1499 == 0) -{ -lean_object* x_1500; -x_1500 = lean_ctor_get(x_1488, 0); -lean_dec(x_1500); -lean_ctor_set(x_1488, 0, x_3); -return x_1488; -} -else -{ -lean_object* x_1501; lean_object* x_1502; -x_1501 = lean_ctor_get(x_1488, 1); -lean_inc(x_1501); -lean_dec(x_1488); -x_1502 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1502, 0, x_3); -lean_ctor_set(x_1502, 1, x_1501); -return x_1502; -} -} -} -else -{ -uint8_t x_1503; -lean_dec(x_1472); -lean_dec(x_1469); -lean_dec(x_1456); -lean_dec(x_1455); -x_1503 = !lean_is_exclusive(x_1488); -if (x_1503 == 0) -{ -lean_object* x_1504; -x_1504 = lean_ctor_get(x_1488, 0); -lean_dec(x_1504); -lean_ctor_set_tag(x_1488, 0); -lean_ctor_set(x_1488, 0, x_3); -return x_1488; -} -else -{ -lean_object* x_1505; lean_object* x_1506; -x_1505 = lean_ctor_get(x_1488, 1); -lean_inc(x_1505); -lean_dec(x_1488); -x_1506 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1506, 0, x_3); -lean_ctor_set(x_1506, 1, x_1505); -return x_1506; -} -} -} -} -} -} -else -{ -uint8_t x_1588; -lean_dec(x_1456); -lean_dec(x_1455); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_1588 = !lean_is_exclusive(x_1465); -if (x_1588 == 0) -{ -return x_1465; -} -else -{ -lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; -x_1589 = lean_ctor_get(x_1465, 0); -x_1590 = lean_ctor_get(x_1465, 1); -lean_inc(x_1590); -lean_inc(x_1589); -lean_dec(x_1465); -x_1591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1591, 0, x_1589); -lean_ctor_set(x_1591, 1, x_1590); -return x_1591; +lean_object* x_764; lean_object* x_765; lean_object* x_766; +x_764 = lean_ctor_get(x_714, 0); +x_765 = lean_ctor_get(x_714, 1); +lean_inc(x_765); +lean_inc(x_764); +lean_dec(x_714); +x_766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_766, 0, x_764); +lean_ctor_set(x_766, 1, x_765); +return x_766; } } } @@ -26805,6 +22826,26 @@ lean_dec(x_2); return x_12; } } +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___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_1); +return x_11; +} +} +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_4); +return x_12; +} +} lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_11, lean_object* x_12) { _start: { @@ -27295,6 +23336,120 @@ return x_12; } } } +lean_object* l_Lean_Meta_IndPredBelow_mkBelow___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_array_get_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_dec(x_10); +x_13 = x_8; +goto block_24; +} +else +{ +uint8_t x_25; +x_25 = lean_nat_dec_le(x_10, x_10); +if (x_25 == 0) +{ +lean_dec(x_10); +x_13 = x_8; +goto block_24; +} +else +{ +size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = 0; +x_27 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_28 = lean_box(0); +lean_inc(x_6); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkBelow___spec__3(x_9, x_26, x_27, x_28, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_13 = x_30; +goto block_24; +} +else +{ +uint8_t x_31; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +return x_29; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_29); +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; +} +} +} +} +block_24: +{ +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_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_array_get_size(x_14); +lean_dec(x_14); +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_15); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_box(0); +x_19 = l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2(x_1, x_2, x_9, x_17, x_15, x_11, x_18, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_17); +lean_dec(x_9); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_18); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} static lean_object* _init_l_Lean_Meta_IndPredBelow_mkBelow___closed__1() { _start: { @@ -27358,560 +23513,434 @@ x_9 = lean_unbox(x_8); lean_dec(x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_1); x_10 = lean_ctor_get(x_7, 1); lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_st_ref_get(x_5, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 3); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); -lean_dec(x_13); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_11, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_11, 0, x_17); -return x_11; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_11 = x_7; +} else { + lean_dec_ref(x_7); + x_11 = lean_box(0); } -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_dec(x_11); -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_18); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_11, 1); +x_12 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; +x_20 = lean_st_ref_get(x_5, x_10); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_11); -x_22 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; -x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_22, x_2, x_3, x_4, x_5, x_21); -x_24 = lean_ctor_get(x_23, 0); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -uint8_t x_26; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_26 = !lean_is_exclusive(x_23); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_23, 0); -lean_dec(x_27); -x_28 = lean_box(0); -lean_ctor_set(x_23, 0, x_28); -return x_23; +lean_dec(x_20); +x_25 = 0; +x_13 = x_25; +x_14 = x_24; +goto block_19; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_12, x_2, x_3, x_4, x_5, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -lean_dec(x_23); -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_29); -return x_31; +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_13 = x_30; +x_14 = x_29; +goto block_19; } -} -else +block_19: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_dec(x_23); -x_33 = l_Lean_Meta_IndPredBelow_mkBelow___closed__2; -x_34 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_22, x_33, x_2, x_3, x_4, x_5, x_32); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_34; +x_15 = lean_box(0); +if (lean_is_scalar(x_11)) { + x_16 = lean_alloc_ctor(0, 2, 0); +} else { + x_16 = x_11; +} +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_11); +x_17 = l_Lean_Meta_IndPredBelow_mkBelow___closed__2; +x_18 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_12, x_17, x_2, x_3, x_4, x_5, x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_18; } } } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_7, 1); -lean_inc(x_35); +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_7, 1); +lean_inc(x_31); lean_dec(x_7); lean_inc(x_1); -x_36 = l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(x_1, x_2, x_3, x_4, x_5, x_35); -if (lean_obj_tag(x_36) == 0) +x_32 = l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(x_1, x_2, x_3, x_4, x_5, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*5); -lean_dec(x_37); -if (x_38 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*5); +lean_dec(x_33); +if (x_34 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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_dec(x_1); -x_39 = lean_ctor_get(x_36, 1); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; +x_37 = lean_st_ref_get(x_5, x_35); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); lean_inc(x_39); -lean_dec(x_36); -x_40 = lean_st_ref_get(x_5, x_39); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) +{ +uint8_t x_41; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_41 = !lean_is_exclusive(x_37); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_37, 0); lean_dec(x_42); -if (x_43 == 0) -{ -uint8_t x_44; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_44 = !lean_is_exclusive(x_40); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_40, 0); -lean_dec(x_45); -x_46 = lean_box(0); -lean_ctor_set(x_40, 0, x_46); -return x_40; +x_43 = lean_box(0); +lean_ctor_set(x_37, 0, x_43); +return x_37; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_40, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +lean_dec(x_37); +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_44); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_47 = lean_ctor_get(x_37, 1); lean_inc(x_47); -lean_dec(x_40); -x_48 = lean_box(0); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} -} -else +lean_dec(x_37); +x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_36, x_2, x_3, x_4, x_5, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_unbox(x_49); +lean_dec(x_49); +if (x_50 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_40, 1); -lean_inc(x_50); -lean_dec(x_40); -x_51 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_51, x_2, x_3, x_4, x_5, x_50); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_unbox(x_53); -lean_dec(x_53); -if (x_54 == 0) -{ -uint8_t x_55; +uint8_t x_51; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_55 = !lean_is_exclusive(x_52); -if (x_55 == 0) +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_52, 0); -lean_dec(x_56); -x_57 = lean_box(0); -lean_ctor_set(x_52, 0, x_57); -return x_52; +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_48, 0); +lean_dec(x_52); +x_53 = lean_box(0); +lean_ctor_set(x_48, 0, x_53); +return x_48; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); -lean_dec(x_52); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -return x_60; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_dec(x_48); +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_54); +return x_56; } } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_52, 1); -lean_inc(x_61); -lean_dec(x_52); -x_62 = l_Lean_Meta_IndPredBelow_mkBelow___closed__4; -x_63 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_51, x_62, x_2, x_3, x_4, x_5, x_61); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_48, 1); +lean_inc(x_57); +lean_dec(x_48); +x_58 = l_Lean_Meta_IndPredBelow_mkBelow___closed__4; +x_59 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_36, x_58, x_2, x_3, x_4, x_5, x_57); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_63; +return x_59; } } } else { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_36, 1); -lean_inc(x_64); -lean_dec(x_36); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_32, 1); +lean_inc(x_60); +lean_dec(x_32); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_65 = l_Lean_Meta_IndPredBelow_mkContext(x_1, x_2, x_3, x_4, x_5, x_64); -if (lean_obj_tag(x_65) == 0) +x_61 = l_Lean_Meta_IndPredBelow_mkContext(x_1, x_2, x_3, x_4, x_5, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_62); +x_64 = l_Lean_Meta_IndPredBelow_mkBelowDecl(x_62, x_2, x_3, x_4, x_5, x_63); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); +lean_dec(x_64); +lean_inc(x_4); +x_67 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(x_65, x_2, x_3, x_4, x_5, x_66); lean_dec(x_65); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_66); -x_68 = l_Lean_Meta_IndPredBelow_mkBelowDecl(x_66, x_2, x_3, x_4, x_5, x_67); -if (lean_obj_tag(x_68) == 0) +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -lean_inc(x_4); -x_71 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(x_69, x_2, x_3, x_4, x_5, x_70); -lean_dec(x_69); -if (lean_obj_tag(x_71) == 0) +lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; +x_87 = lean_st_ref_get(x_5, x_68); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 3); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); +lean_dec(x_89); +if (x_90 == 0) { -lean_object* x_72; lean_object* x_73; uint8_t x_102; lean_object* x_103; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_116 = lean_st_ref_get(x_5, x_72); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_117, 3); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_ctor_get_uint8(x_118, sizeof(void*)*1); -lean_dec(x_118); -if (x_119 == 0) -{ -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_116, 1); -lean_inc(x_120); -lean_dec(x_116); -x_121 = 0; -x_102 = x_121; -x_103 = x_120; -goto block_115; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_122 = lean_ctor_get(x_116, 1); -lean_inc(x_122); -lean_dec(x_116); -x_123 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; -x_124 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_123, x_2, x_3, x_4, x_5, x_122); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_unbox(x_125); -lean_dec(x_125); -x_102 = x_127; -x_103 = x_126; -goto block_115; -} -block_101: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; -x_74 = lean_ctor_get(x_66, 2); -lean_inc(x_74); -x_75 = lean_array_get_size(x_74); -x_76 = lean_unsigned_to_nat(0u); -x_77 = lean_nat_dec_lt(x_76, x_75); -if (x_77 == 0) -{ -lean_dec(x_75); -x_78 = x_73; -goto block_90; -} -else -{ -uint8_t x_91; -x_91 = lean_nat_dec_le(x_75, x_75); -if (x_91 == 0) -{ -lean_dec(x_75); -x_78 = x_73; -goto block_90; -} -else -{ -size_t x_92; size_t x_93; lean_object* x_94; lean_object* x_95; -x_92 = 0; -x_93 = lean_usize_of_nat(x_75); -lean_dec(x_75); -x_94 = lean_box(0); -lean_inc(x_4); -x_95 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkBelow___spec__3(x_74, x_92, x_93, x_94, x_2, x_3, x_4, x_5, x_73); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_78 = x_96; -goto block_90; -} -else -{ -uint8_t x_97; -lean_dec(x_74); -lean_dec(x_66); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_97 = !lean_is_exclusive(x_95); -if (x_97 == 0) -{ -return x_95; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_95, 0); -x_99 = lean_ctor_get(x_95, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_95); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; -} -} -} -} -block_90: -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_79 = lean_ctor_get(x_66, 1); -lean_inc(x_79); -x_80 = lean_array_get_size(x_79); -lean_dec(x_79); -x_81 = lean_unsigned_to_nat(1u); -lean_inc(x_80); -x_82 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_82, 0, x_76); -lean_ctor_set(x_82, 1, x_80); -lean_ctor_set(x_82, 2, x_81); -x_83 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; -x_84 = lean_box(0); -x_85 = l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2(x_66, x_83, x_74, x_82, x_80, x_76, x_84, x_2, x_3, x_4, x_5, x_78); -lean_dec(x_82); -lean_dec(x_74); -x_86 = !lean_is_exclusive(x_85); -if (x_86 == 0) -{ -lean_object* x_87; -x_87 = lean_ctor_get(x_85, 0); +lean_object* x_91; uint8_t x_92; +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); lean_dec(x_87); -lean_ctor_set(x_85, 0, x_84); +x_92 = 0; +x_70 = x_92; +x_71 = x_91; +goto block_86; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_93 = lean_ctor_get(x_87, 1); +lean_inc(x_93); +lean_dec(x_87); +x_94 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_69, x_2, x_3, x_4, x_5, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_70 = x_97; +x_71 = x_96; +goto block_86; +} +block_86: +{ +if (x_70 == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_box(0); +x_73 = l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(x_62, x_69, x_72, x_2, x_3, x_4, x_5, x_71); +return x_73; +} +else +{ +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_74 = lean_ctor_get(x_62, 2); +lean_inc(x_74); +x_75 = lean_array_to_list(lean_box(0), x_74); +x_76 = l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(x_75); +x_77 = l_Lean_MessageData_ofList(x_76); +lean_dec(x_76); +x_78 = l_Lean_Meta_IndPredBelow_mkBelow___closed__6; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_69, x_81, x_2, x_3, x_4, x_5, x_71); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(x_62, x_69, x_83, x_2, x_3, x_4, x_5, x_84); +lean_dec(x_83); return x_85; } +} +} else { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); -lean_dec(x_85); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_84); -lean_ctor_set(x_89, 1, x_88); -return x_89; -} -} -} -block_115: +uint8_t x_98; +lean_dec(x_62); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_98 = !lean_is_exclusive(x_67); +if (x_98 == 0) { +return x_67; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_67, 0); +x_100 = lean_ctor_get(x_67, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_67); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +uint8_t x_102; +lean_dec(x_62); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_102 = !lean_is_exclusive(x_64); if (x_102 == 0) { -x_73 = x_103; -goto block_101; +return x_64; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_104 = lean_ctor_get(x_66, 2); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_64, 0); +x_104 = lean_ctor_get(x_64, 1); lean_inc(x_104); -x_105 = lean_array_to_list(lean_box(0), x_104); -x_106 = l_List_map___at_Lean_Meta_IndPredBelow_mkBelow___spec__4(x_105); -x_107 = l_Lean_MessageData_ofList(x_106); -lean_dec(x_106); -x_108 = l_Lean_Meta_IndPredBelow_mkBelow___closed__6; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_112 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2; -x_113 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_112, x_111, x_2, x_3, x_4, x_5, x_103); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_73 = x_114; -goto block_101; +lean_inc(x_103); +lean_dec(x_64); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } } else { -uint8_t x_128; -lean_dec(x_66); +uint8_t x_106; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_128 = !lean_is_exclusive(x_71); -if (x_128 == 0) +x_106 = !lean_is_exclusive(x_61); +if (x_106 == 0) { -return x_71; +return x_61; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_71, 0); -x_130 = lean_ctor_get(x_71, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_71); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -else -{ -uint8_t x_132; -lean_dec(x_66); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_132 = !lean_is_exclusive(x_68); -if (x_132 == 0) -{ -return x_68; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_68, 0); -x_134 = lean_ctor_get(x_68, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_68); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; -} -} -} -else -{ -uint8_t x_136; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_136 = !lean_is_exclusive(x_65); -if (x_136 == 0) -{ -return x_65; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_65, 0); -x_138 = lean_ctor_get(x_65, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_65); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_61, 0); +x_108 = lean_ctor_get(x_61, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_61); +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_140; +uint8_t x_110; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_36); -if (x_140 == 0) +x_110 = !lean_is_exclusive(x_32); +if (x_110 == 0) { -return x_36; +return x_32; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_36, 0); -x_142 = lean_ctor_get(x_36, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_36); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_32, 0); +x_112 = lean_ctor_get(x_32, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_32); +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; } } } @@ -27955,7 +23984,16 @@ lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5254_(lean_object* x_1) { +lean_object* l_Lean_Meta_IndPredBelow_mkBelow___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5680_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -28170,10 +24208,10 @@ l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__2); l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__3(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__3); -l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__1); -l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___closed__2); +l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1); +l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__2); l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1); l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__2(); @@ -28202,32 +24240,32 @@ l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambd lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__3); l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__4 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__4(); lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__4); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__5); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__6); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__7); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__8); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__9); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__10); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__11); -l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__1___closed__12); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__1); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__2); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__3); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__4); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__5); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__6); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__7); +l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8 = _init_l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4___lambda__2___closed__8); l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__2); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__3); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___closed__4); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4); l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1); l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__2 = _init_l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__2(); @@ -28248,7 +24286,7 @@ l_Lean_Meta_IndPredBelow_mkBelow___closed__5 = _init_l_Lean_Meta_IndPredBelow_mk lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__5); l_Lean_Meta_IndPredBelow_mkBelow___closed__6 = _init_l_Lean_Meta_IndPredBelow_mkBelow___closed__6(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__6); -res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5254_(lean_io_mk_world()); +res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_5680_(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/Meta/InferType.c b/stage0/stdlib/Lean/Meta/InferType.c index dd3978eab0..891755a050 100644 --- a/stage0/stdlib/Lean/Meta/InferType.c +++ b/stage0/stdlib/Lean/Meta/InferType.c @@ -190,10 +190,10 @@ static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__7; lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isProofQuickApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(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_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_assignExprMVar(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_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_throwUnknownMVar___rarg___closed__3; lean_object* l_Lean_Meta_inferTypeImp_infer_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* l_Lean_Meta_isTypeFormerType_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3630,7 +3630,7 @@ x_27 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_28, x_4, x_5, x_6, x_7, x_20); +x_29 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_28, x_4, x_5, x_6, x_7, x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3671,7 +3671,7 @@ x_38 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_39, x_4, x_5, x_6, x_7, x_20); +x_40 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_39, x_4, x_5, x_6, x_7, x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3736,7 +3736,7 @@ x_61 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_62 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_62, x_4, x_5, x_6, x_7, x_45); +x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_62, x_4, x_5, x_6, x_7, x_45); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3852,7 +3852,7 @@ x_87 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_88 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_88, 0, x_86); lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_88, x_4, x_5, x_6, x_7, x_82); +x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_88, x_4, x_5, x_6, x_7, x_82); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3971,7 +3971,7 @@ x_107 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_108 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_108, x_4, x_5, x_6, x_7, x_102); +x_109 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_108, x_4, x_5, x_6, x_7, x_102); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4030,7 +4030,7 @@ x_118 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_119 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_119, 0, x_117); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_119, x_4, x_5, x_6, x_7, x_20); +x_120 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_119, x_4, x_5, x_6, x_7, x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4055,7 +4055,7 @@ x_125 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_126 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_126, 0, x_124); lean_ctor_set(x_126, 1, x_125); -x_127 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_126, x_4, x_5, x_6, x_7, x_20); +x_127 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_126, x_4, x_5, x_6, x_7, x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4079,7 +4079,7 @@ x_132 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_133 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_133, 0, x_131); lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_133, x_4, x_5, x_6, x_7, x_20); +x_134 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_133, x_4, x_5, x_6, x_7, x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4103,7 +4103,7 @@ x_139 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_140 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_140, 0, x_138); lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_140, x_4, x_5, x_6, x_7, x_14); +x_141 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_140, x_4, x_5, x_6, x_7, x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7690,7 +7690,7 @@ x_13 = l_Lean_Meta_throwFunctionExpected___rarg___closed__4; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_14, x_3, x_4, x_5, x_6, x_7); +x_15 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_14, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Meta/Injective.c b/stage0/stdlib/Lean/Meta/Injective.c index adbad94e9c..fa71e6c5ac 100644 --- a/stage0/stdlib/Lean/Meta/Injective.c +++ b/stage0/stdlib/Lean/Meta/Injective.c @@ -15,13 +15,11 @@ extern "C" { #endif lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1___closed__3; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___closed__4; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -34,7 +32,6 @@ lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremType static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__6; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4; lean_object* l_Lean_Meta_elimOptParam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue_match__2(lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__3; @@ -64,9 +61,12 @@ lean_object* l_Lean_Meta_elimOptParam(lean_object*, lean_object*, lean_object*, lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___rarg___closed__1; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4; lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_elimOptParam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue_match__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__2; lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); static lean_object* l_Lean_Meta_elimOptParam___lambda__1___closed__1; lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__3(lean_object*); @@ -123,6 +123,7 @@ lean_object* l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__4(lean lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3; lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,14 +141,14 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(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_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Meta_assumptionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394_(lean_object*); static lean_object* l_Lean_Meta_genInjectivity___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___boxed(lean_object*); @@ -157,7 +158,6 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3; lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___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*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___lambda__2___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4077,7 +4077,7 @@ x_21 = l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_22, x_4, x_5, x_6, x_7, x_17); +x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_22, x_4, x_5, x_6, x_7, x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4108,7 +4108,7 @@ x_29 = l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_30, x_4, x_5, x_6, x_7, x_25); +x_31 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_30, x_4, x_5, x_6, x_7, x_25); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4428,7 +4428,7 @@ x_87 = l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x x_88 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_88, 0, x_86); lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_88, x_4, x_5, x_6, x_7, x_83); +x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_88, x_4, x_5, x_6, x_7, x_83); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4964,7 +4964,7 @@ return x_95; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1() { _start: { lean_object* x_1; @@ -4972,17 +4972,17 @@ x_1 = lean_mk_string("genInjectivity"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____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_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3() { _start: { lean_object* x_1; @@ -4990,13 +4990,13 @@ x_1 = lean_mk_string("generate injectivity theorems for inductive datatype const return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___rarg___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -5005,12 +5005,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -6007,17 +6007,17 @@ l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda_ lean_mark_persistent(l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__6); l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__7 = _init_l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__7(); lean_mark_persistent(l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394____closed__4); l_Lean_Meta_genInjectivity___closed__1 = _init_l_Lean_Meta_genInjectivity___closed__1(); lean_mark_persistent(l_Lean_Meta_genInjectivity___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1386_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1394_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genInjectivity = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genInjectivity); diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index 055e764320..f55172d6d7 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -22,7 +22,6 @@ lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Meta_instanceExtension___lambda__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_153____closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -38,7 +37,6 @@ lean_object* l_Lean_Meta_instToFormatInstanceEntry_match__1___rarg(lean_object*, static uint32_t l_Lean_Meta_instanceExtension___lambda__1___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__1; @@ -50,13 +48,13 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_153____c lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance_match__1(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1; lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getDefaultInstancesPriorities(lean_object*); lean_object* l_Lean_Meta_addDefaultInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instanceExtension___closed__8; static lean_object* l_Lean_Meta_instanceExtension___lambda__1___closed__2; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__5___lambda__2___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4; static lean_object* l_Lean_Meta_instanceExtension___closed__9; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_addInstanceEntry___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__1(lean_object*); @@ -82,16 +80,16 @@ uint8_t l_Lean_Meta_instBEqInstanceEntry(lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__6(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__9; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1; static lean_object* l_Lean_Meta_instInhabitedInstanceEntry___closed__4; lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__4___rarg(lean_object*); static lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____lambda__1___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1; lean_object* l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_object*); lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__2; lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -111,8 +109,8 @@ lean_object* l_Lean_Meta_instanceExtension___lambda__6(lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_ScopedEnvExtension_addScopedEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___lambda__3(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__8; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_addInstanceEntry___spec__12(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__3(lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__4___lambda__2(lean_object*, lean_object*, lean_object*); @@ -120,9 +118,9 @@ static lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__4; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____lambda__1___closed__7; lean_object* l_Lean_Meta_addInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____closed__1; static lean_object* l_Lean_Meta_instInhabitedInstanceEntry___closed__3; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__5___closed__1; @@ -149,15 +147,15 @@ uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attribu lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_153_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795_(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5; lean_object* l_Lean_Meta_addInstanceEntry_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1___boxed(lean_object*, lean_object*); @@ -165,6 +163,7 @@ lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_addInstance___spec__1_ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_153____closed__5; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_addInstanceEntry___spec__3(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_instanceExtension___closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Meta_DefaultInstances_defaultInstances___default; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -177,6 +176,7 @@ lean_object* l_Lean_Meta_instToFormatInstanceEntry(lean_object*); lean_object* l_Lean_Meta_instanceExtension___lambda__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addInstanceEntry_match__1(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____lambda__1___closed__13; lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -188,6 +188,7 @@ lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg(lean_object*, lean static uint64_t l_Lean_Meta_instInhabitedInstanceEntry___closed__2; static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_isGlobalInstance___spec__1___closed__2; lean_object* l_Lean_Meta_addDefaultInstance_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatInstanceEntry___closed__1; lean_object* l_Lean_Meta_addInstance(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,11 +197,11 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____lambda__ static lean_object* l_Lean_Meta_instInhabitedInstanceEntry___closed__1; size_t l_USize_shiftLeft(size_t, size_t); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____closed__6; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____lambda__1___closed__6; static lean_object* l_Lean_Meta_defaultInstanceExtension___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____closed__6; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3; static lean_object* l_Lean_Meta_instInhabitedInstances___closed__4; static lean_object* l_Lean_Meta_addDefaultInstance___closed__3; lean_object* l_Lean_Meta_instanceExtension___lambda__3___boxed(lean_object*); @@ -275,9 +276,9 @@ uint8_t l_USize_decLe(size_t, size_t); static lean_object* l_Lean_Meta_addDefaultInstance___closed__2; static lean_object* l_Lean_Meta_instanceExtension___closed__12; uint8_t l_Std_RBNode_isRed___rarg(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____closed__7; static lean_object* l_Lean_Meta_instanceExtension___lambda__1___closed__3; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____lambda__1___closed__11; static lean_object* l_Lean_Meta_instanceExtension___closed__7; lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -299,7 +300,6 @@ lean_object* l_Lean_Meta_getDefaultInstances___rarg(lean_object*, lean_object*, static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__3; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addInstanceEntry___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_153____closed__6; static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addInstanceEntry___spec__15___closed__2; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____lambda__1___boxed(lean_object*); @@ -357,12 +357,12 @@ static lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_i static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addInstanceEntry___spec__15___closed__1; lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__1___boxed(lean_object*); uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); uint8_t lean_is_class(lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); lean_object* l_Lean_Meta_addDefaultInstance_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2; lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_511____spec__4___lambda__4___boxed(lean_object*); static lean_object* l_Lean_Meta_instanceExtension___closed__6; @@ -7713,7 +7713,7 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____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* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____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) { _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; lean_object* x_13; lean_object* x_14; @@ -7794,7 +7794,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -7802,16 +7802,16 @@ x_1 = lean_mk_string("invalid attribute 'defaultInstance', must be global"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -7835,7 +7835,7 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_dec(x_10); lean_dec(x_1); -x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2; +x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2; x_15 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(x_14, x_4, x_5, x_11); lean_dec(x_5); lean_dec(x_4); @@ -7862,7 +7862,7 @@ else { lean_object* x_20; lean_object* x_21; x_20 = lean_box(0); -x_21 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__1(x_1, x_10, x_20, x_4, x_5, x_11); +x_21 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__1(x_1, x_10, x_20, x_4, x_5, x_11); return x_21; } } @@ -7893,7 +7893,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1() { _start: { lean_object* x_1; @@ -7901,17 +7901,17 @@ x_1 = lean_mk_string("defaultInstance"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____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_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3() { _start: { lean_object* x_1; @@ -7919,12 +7919,12 @@ x_1 = lean_mk_string("type class default instance"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -7933,20 +7933,20 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_287____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -7955,31 +7955,31 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____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* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); return x_7; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____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* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } @@ -8354,23 +8354,23 @@ l_Lean_Meta_addDefaultInstance___closed__3 = _init_l_Lean_Meta_addDefaultInstanc lean_mark_persistent(l_Lean_Meta_addDefaultInstance___closed__3); l_Lean_Meta_addDefaultInstance___closed__4 = _init_l_Lean_Meta_addDefaultInstance___closed__4(); lean_mark_persistent(l_Lean_Meta_addDefaultInstance___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794____closed__6); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_794_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795____closed__6); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_795_(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/Meta/LevelDefEq.c b/stage0/stdlib/Lean/Meta/LevelDefEq.c index c989434c05..3506452557 100644 --- a/stage0/stdlib/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Lean/Meta/LevelDefEq.c @@ -17,6 +17,7 @@ static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMes lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_processPostponed_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___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*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -27,12 +28,12 @@ lean_object* l_Lean_Meta_isListLevelDefEqAux_match__1___rarg(lean_object*, lean_ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Level_collectMVars(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Meta_processPostponed_loop___lambda__2___closed__1; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__4___closed__1; lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_processPostponed_loop___closed__5; lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_exposeRelevantUniverses___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -45,6 +46,7 @@ lean_object* lean_expr_update_mdata(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__4; static lean_object* l_Lean_Meta_isExprDefEq___closed__2; lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_processPostponed_loop___lambda__2(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,9 +85,11 @@ lean_object* l_Lean_Level_mvarId_x21(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_processPostponed_loop___closed__1; extern lean_object* l_Lean_levelZero; +lean_object* l_Lean_Meta_isLevelDefEqAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_exposeRelevantUniverses_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__2; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__2___boxed(lean_object*, lean_object*); @@ -115,6 +119,7 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__2__ lean_object* l_Lean_MetavarContext_getLevelAssignment_x3f(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__1; 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_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___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_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__9(uint8_t, 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* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,7 +134,6 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff___boxed static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__3___closed__6; lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); lean_object* l_Lean_Meta_mkLevelErrorMessage(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_processPostponed_loop___closed__6; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,6 +170,7 @@ static lean_object* l_Lean_Meta_isLevelDefEq___closed__6; lean_object* l_Lean_Meta_mkLevelStuckErrorMessage(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff_match__1(lean_object*); size_t l_USize_mod(size_t, size_t); +lean_object* l_Lean_Meta_isLevelDefEqAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__7; @@ -186,11 +191,13 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_L lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isLevelDefEqAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_exposeRelevantUniverses___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_decLevel___closed__2; lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_processPostponed_loop___closed__3; uint8_t l_Lean_MetavarContext_hasAssignableLevelMVar(lean_object*, lean_object*); +lean_object* l_Lean_Meta_processPostponed_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_decLevel___closed__4; @@ -201,14 +208,17 @@ static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostpon lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__2(lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); uint8_t l_Bool_toLBool(uint8_t); +lean_object* l_Lean_Meta_isLevelDefEqAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1; uint8_t l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__3___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_isMVar(lean_object*); +static lean_object* l_Lean_Meta_processPostponed_loop___lambda__2___closed__2; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; @@ -265,12 +275,13 @@ lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2791_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_3092_(lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkLevelErrorMessage___closed__1; lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_processPostponed_loop___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getResetPostponed___closed__2; lean_object* l_Lean_Meta_isLevelDefEqAux_match__1(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2088,6 +2099,106 @@ lean_ctor_set(x_10, 1, x_6); return x_10; } } +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___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_7, 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; uint8_t x_22; +x_17 = lean_ctor_get(x_14, 3); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); +x_19 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_3); +lean_ctor_set(x_19, 2, x_4); +lean_ctor_set(x_19, 3, x_18); +x_20 = l_Std_PersistentArray_push___rarg(x_17, x_19); +lean_ctor_set(x_14, 3, x_20); +x_21 = lean_st_ref_set(x_7, x_14, x_15); +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 +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +x_30 = lean_ctor_get(x_14, 2); +x_31 = lean_ctor_get(x_14, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_14); +x_32 = lean_ctor_get(x_1, 3); +lean_inc(x_32); +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_2); +lean_ctor_set(x_33, 1, x_3); +lean_ctor_set(x_33, 2, x_4); +lean_ctor_set(x_33, 3, x_32); +x_34 = l_Std_PersistentArray_push___rarg(x_31, x_33); +x_35 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_35, 0, x_28); +lean_ctor_set(x_35, 1, x_29); +lean_ctor_set(x_35, 2, x_30); +lean_ctor_set(x_35, 3, x_34); +x_36 = lean_st_ref_set(x_7, x_35, x_15); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +x_39 = lean_box(0); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { + x_40 = x_38; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +return x_40; +} +} +} static lean_object* _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__1() { _start: { @@ -2162,183 +2273,90 @@ return x_2; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t x_41; lean_object* x_42; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; x_8 = lean_ctor_get(x_5, 3); -x_55 = lean_st_ref_get(x_6, x_7); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_56, 3); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); -lean_dec(x_57); -if (x_58 == 0) -{ -lean_object* x_59; uint8_t x_60; -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -x_60 = 0; -x_41 = x_60; -x_42 = x_59; -goto block_54; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); -lean_dec(x_55); -x_62 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_63 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_62, x_3, x_4, x_5, x_6, x_61); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_unbox(x_64); -lean_dec(x_64); -x_41 = x_66; -x_42 = x_65; -goto block_54; -} -block_40: -{ -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_6, 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_4, 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; uint8_t x_21; -x_16 = lean_ctor_get(x_13, 3); -x_17 = lean_ctor_get(x_3, 3); -lean_inc(x_17); lean_inc(x_8); -x_18 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_1); -lean_ctor_set(x_18, 2, x_2); -lean_ctor_set(x_18, 3, x_17); -x_19 = l_Std_PersistentArray_push___rarg(x_16, x_18); -lean_ctor_set(x_13, 3, x_19); -x_20 = lean_st_ref_set(x_4, x_13, x_14); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -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_24); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_27 = lean_ctor_get(x_13, 0); -x_28 = lean_ctor_get(x_13, 1); -x_29 = lean_ctor_get(x_13, 2); -x_30 = lean_ctor_get(x_13, 3); -lean_inc(x_30); -lean_inc(x_29); +x_9 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; +x_27 = lean_st_ref_get(x_6, x_7); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_13); -x_31 = lean_ctor_get(x_3, 3); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 1); lean_inc(x_31); -lean_inc(x_8); -x_32 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_32, 0, x_8); -lean_ctor_set(x_32, 1, x_1); -lean_ctor_set(x_32, 2, x_2); -lean_ctor_set(x_32, 3, x_31); -x_33 = l_Std_PersistentArray_push___rarg(x_30, x_32); -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_27); -lean_ctor_set(x_34, 1, x_28); -lean_ctor_set(x_34, 2, x_29); -lean_ctor_set(x_34, 3, x_33); -x_35 = lean_st_ref_set(x_4, x_34, x_14); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); -} -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; -} -} -block_54: -{ -if (x_41 == 0) -{ -x_9 = x_42; -goto block_40; +lean_dec(x_27); +x_32 = 0; +x_10 = x_32; +x_11 = x_31; +goto block_26; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_3, x_4, x_5, x_6, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_unbox(x_35); +lean_dec(x_35); +x_10 = x_37; +x_11 = x_36; +goto block_26; +} +block_26: +{ +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___lambda__1(x_3, x_8, x_1, x_2, x_12, x_3, x_4, x_5, x_6, x_11); +lean_dec(x_5); +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_inc(x_1); -x_43 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); +x_14 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); lean_inc(x_2); -x_48 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_48, 0, x_2); -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_44); -x_51 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_52 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_51, x_50, x_3, x_4, x_5, x_6, x_42); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_dec(x_52); -x_9 = x_53; -goto block_40; +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_2); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +x_22 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_21, x_3, x_4, x_5, x_6, x_11); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___lambda__1(x_3, x_8, x_1, x_2, x_23, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_5); +lean_dec(x_23); +return x_25; } } } @@ -2367,13 +2385,26 @@ lean_dec(x_2); return x_7; } } +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___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_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_11; +} +} lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; x_8 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(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); return x_8; @@ -3510,6 +3541,1369 @@ return x_223; } } } +lean_object* l_Lean_Meta_isLevelDefEqAux___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isLevelDefEqAux___lambda__1___boxed), 6, 0); +return x_1; +} +} +lean_object* l_Lean_Meta_isLevelDefEqAux___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) { +_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; uint8_t x_18; +lean_inc(x_1); +x_10 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, 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_Lean_Level_normalize(x_11); +lean_dec(x_11); +lean_inc(x_2); +x_14 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_5, x_6, x_7, x_8, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Level_normalize(x_15); +lean_dec(x_15); +x_18 = lean_level_eq(x_1, x_13); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = l_Lean_Meta_isLevelDefEqAux(x_13, x_17, x_5, x_6, x_7, x_8, x_16); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = lean_level_eq(x_2, x_17); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = l_Lean_Meta_isLevelDefEqAux(x_13, x_17, x_5, x_6, x_7, x_8, x_16); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_17); +lean_dec(x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +x_26 = 2; +x_27 = lean_unbox(x_24); +x_28 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_27, x_26); +if (x_28 == 0) +{ +uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = 1; +x_30 = lean_unbox(x_24); +lean_dec(x_24); +x_31 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_30, x_29); +x_32 = lean_box(x_31); +lean_ctor_set(x_22, 0, x_32); +return x_22; +} +else +{ +lean_object* x_33; +lean_free_object(x_22); +lean_dec(x_24); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_2); +x_33 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_5, x_6, x_7, x_8, x_25); +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; lean_object* x_36; uint8_t x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +x_37 = lean_unbox(x_35); +x_38 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_37, x_26); +if (x_38 == 0) +{ +uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_39 = 1; +x_40 = lean_unbox(x_35); +lean_dec(x_35); +x_41 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_40, x_39); +x_42 = lean_box(x_41); +lean_ctor_set(x_33, 0, x_42); +return x_33; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_free_object(x_33); +lean_dec(x_35); +x_43 = lean_st_ref_get(x_8, x_36); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_st_ref_get(x_6, x_44); +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_50; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_49); +x_50 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_49, x_1); +if (x_50 == 0) +{ +uint8_t x_51; +x_51 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_49, x_2); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_5, 0); +lean_inc(x_85); +x_86 = lean_ctor_get_uint8(x_85, 4); +lean_dec(x_85); +if (x_86 == 0) +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_87 = 0; +x_88 = lean_box(x_87); +lean_ctor_set(x_45, 0, x_88); +return x_45; +} +else +{ +uint8_t x_89; +x_89 = l_Lean_Level_isMVar(x_1); +if (x_89 == 0) +{ +uint8_t x_90; +x_90 = l_Lean_Level_isMVar(x_2); +if (x_90 == 0) +{ +uint8_t x_91; lean_object* x_92; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_91 = 0; +x_92 = lean_box(x_91); +lean_ctor_set(x_45, 0, x_92); +return x_45; +} +else +{ +lean_object* x_93; +lean_free_object(x_45); +x_93 = lean_box(0); +x_52 = x_93; +goto block_84; +} +} +else +{ +lean_object* x_94; +lean_free_object(x_45); +x_94 = lean_box(0); +x_52 = x_94; +goto block_84; +} +} +block_84: +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_dec(x_52); +x_53 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__5; +x_54 = lean_name_mk_string(x_3, x_53); +x_73 = lean_st_ref_get(x_8, x_48); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_74, 3); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_ctor_get_uint8(x_75, sizeof(void*)*1); +lean_dec(x_75); +if (x_76 == 0) +{ +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_73, 1); +lean_inc(x_77); +lean_dec(x_73); +x_78 = 0; +x_55 = x_78; +x_56 = x_77; +goto block_72; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_79 = lean_ctor_get(x_73, 1); +lean_inc(x_79); +lean_dec(x_73); +lean_inc(x_54); +x_80 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_54, x_5, x_6, x_7, x_8, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_unbox(x_81); +lean_dec(x_81); +x_55 = x_83; +x_56 = x_82; +goto block_72; +} +block_72: +{ +lean_object* x_57; +x_57 = l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1; +if (x_55 == 0) +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_54); +lean_dec(x_2); +lean_dec(x_1); +x_58 = lean_box(0); +x_59 = lean_apply_6(x_57, x_58, x_5, x_6, x_7, x_8, x_56); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_60 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_60, 0, x_1); +x_61 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_65, 0, x_2); +x_66 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_61); +x_68 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_54, x_67, x_5, x_6, x_7, x_8, x_56); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_apply_6(x_57, x_69, x_5, x_6, x_7, x_8, x_70); +return x_71; +} +} +} +} +else +{ +lean_object* x_95; uint8_t x_96; +lean_free_object(x_45); +lean_dec(x_3); +x_95 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_48); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +lean_object* x_97; uint8_t x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +x_98 = 1; +x_99 = lean_box(x_98); +lean_ctor_set(x_95, 0, x_99); +return x_95; +} +else +{ +lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_ctor_get(x_95, 1); +lean_inc(x_100); +lean_dec(x_95); +x_101 = 1; +x_102 = lean_box(x_101); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_100); +return x_103; +} +} +} +else +{ +lean_object* x_104; uint8_t x_105; +lean_dec(x_49); +lean_free_object(x_45); +lean_dec(x_3); +x_104 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_48); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; uint8_t x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +lean_dec(x_106); +x_107 = 1; +x_108 = lean_box(x_107); +lean_ctor_set(x_104, 0, x_108); +return x_104; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = 1; +x_111 = lean_box(x_110); +x_112 = lean_alloc_ctor(0, 2, 0); +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; uint8_t x_116; +x_113 = lean_ctor_get(x_45, 0); +x_114 = lean_ctor_get(x_45, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_45); +x_115 = lean_ctor_get(x_113, 0); +lean_inc(x_115); +lean_dec(x_113); +lean_inc(x_115); +x_116 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_115, x_1); +if (x_116 == 0) +{ +uint8_t x_117; +x_117 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_115, x_2); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_151; uint8_t x_152; +x_151 = lean_ctor_get(x_5, 0); +lean_inc(x_151); +x_152 = lean_ctor_get_uint8(x_151, 4); +lean_dec(x_151); +if (x_152 == 0) +{ +uint8_t x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_114); +return x_155; +} +else +{ +uint8_t x_156; +x_156 = l_Lean_Level_isMVar(x_1); +if (x_156 == 0) +{ +uint8_t x_157; +x_157 = l_Lean_Level_isMVar(x_2); +if (x_157 == 0) +{ +uint8_t x_158; lean_object* x_159; lean_object* x_160; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_158 = 0; +x_159 = lean_box(x_158); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_114); +return x_160; +} +else +{ +lean_object* x_161; +x_161 = lean_box(0); +x_118 = x_161; +goto block_150; +} +} +else +{ +lean_object* x_162; +x_162 = lean_box(0); +x_118 = x_162; +goto block_150; +} +} +block_150: +{ +lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_118); +x_119 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__5; +x_120 = lean_name_mk_string(x_3, x_119); +x_139 = lean_st_ref_get(x_8, x_114); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_140, 3); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_ctor_get_uint8(x_141, sizeof(void*)*1); +lean_dec(x_141); +if (x_142 == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = lean_ctor_get(x_139, 1); +lean_inc(x_143); +lean_dec(x_139); +x_144 = 0; +x_121 = x_144; +x_122 = x_143; +goto block_138; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_145 = lean_ctor_get(x_139, 1); +lean_inc(x_145); +lean_dec(x_139); +lean_inc(x_120); +x_146 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_120, x_5, x_6, x_7, x_8, x_145); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = lean_unbox(x_147); +lean_dec(x_147); +x_121 = x_149; +x_122 = x_148; +goto block_138; +} +block_138: +{ +lean_object* x_123; +x_123 = l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1; +if (x_121 == 0) +{ +lean_object* x_124; lean_object* x_125; +lean_dec(x_120); +lean_dec(x_2); +lean_dec(x_1); +x_124 = lean_box(0); +x_125 = lean_apply_6(x_123, x_124, x_5, x_6, x_7, x_8, x_122); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_126 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_126, 0, x_1); +x_127 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_128 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +x_129 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_130 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_131, 0, x_2); +x_132 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_127); +x_134 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_120, x_133, x_5, x_6, x_7, x_8, x_122); +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_apply_6(x_123, x_135, x_5, x_6, x_7, x_8, x_136); +return x_137; +} +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_3); +x_163 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_114); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 1; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_115); +lean_dec(x_3); +x_169 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_114); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_171 = x_169; +} else { + lean_dec_ref(x_169); + x_171 = lean_box(0); +} +x_172 = 1; +x_173 = lean_box(x_172); +if (lean_is_scalar(x_171)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_171; +} +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_170); +return x_174; +} +} +} +} +else +{ +lean_object* x_175; lean_object* x_176; uint8_t x_177; uint8_t x_178; +x_175 = lean_ctor_get(x_33, 0); +x_176 = lean_ctor_get(x_33, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_33); +x_177 = lean_unbox(x_175); +x_178 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_177, x_26); +if (x_178 == 0) +{ +uint8_t x_179; uint8_t x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_179 = 1; +x_180 = lean_unbox(x_175); +lean_dec(x_175); +x_181 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_180, x_179); +x_182 = lean_box(x_181); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_176); +return x_183; +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; +lean_dec(x_175); +x_184 = lean_st_ref_get(x_8, x_176); +x_185 = lean_ctor_get(x_184, 1); +lean_inc(x_185); +lean_dec(x_184); +x_186 = lean_st_ref_get(x_6, x_185); +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + x_189 = x_186; +} else { + lean_dec_ref(x_186); + x_189 = lean_box(0); +} +x_190 = lean_ctor_get(x_187, 0); +lean_inc(x_190); +lean_dec(x_187); +lean_inc(x_190); +x_191 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_190, x_1); +if (x_191 == 0) +{ +uint8_t x_192; +x_192 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_190, x_2); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_226; uint8_t x_227; +x_226 = lean_ctor_get(x_5, 0); +lean_inc(x_226); +x_227 = lean_ctor_get_uint8(x_226, 4); +lean_dec(x_226); +if (x_227 == 0) +{ +uint8_t x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_228 = 0; +x_229 = lean_box(x_228); +if (lean_is_scalar(x_189)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_189; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_188); +return x_230; +} +else +{ +uint8_t x_231; +x_231 = l_Lean_Level_isMVar(x_1); +if (x_231 == 0) +{ +uint8_t x_232; +x_232 = l_Lean_Level_isMVar(x_2); +if (x_232 == 0) +{ +uint8_t x_233; lean_object* x_234; lean_object* x_235; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_233 = 0; +x_234 = lean_box(x_233); +if (lean_is_scalar(x_189)) { + x_235 = lean_alloc_ctor(0, 2, 0); +} else { + x_235 = x_189; +} +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_188); +return x_235; +} +else +{ +lean_object* x_236; +lean_dec(x_189); +x_236 = lean_box(0); +x_193 = x_236; +goto block_225; +} +} +else +{ +lean_object* x_237; +lean_dec(x_189); +x_237 = lean_box(0); +x_193 = x_237; +goto block_225; +} +} +block_225: +{ +lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; +lean_dec(x_193); +x_194 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__5; +x_195 = lean_name_mk_string(x_3, x_194); +x_214 = lean_st_ref_get(x_8, x_188); +x_215 = lean_ctor_get(x_214, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_215, 3); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_ctor_get_uint8(x_216, sizeof(void*)*1); +lean_dec(x_216); +if (x_217 == 0) +{ +lean_object* x_218; uint8_t x_219; +x_218 = lean_ctor_get(x_214, 1); +lean_inc(x_218); +lean_dec(x_214); +x_219 = 0; +x_196 = x_219; +x_197 = x_218; +goto block_213; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_220 = lean_ctor_get(x_214, 1); +lean_inc(x_220); +lean_dec(x_214); +lean_inc(x_195); +x_221 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_195, x_5, x_6, x_7, x_8, x_220); +x_222 = lean_ctor_get(x_221, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = lean_unbox(x_222); +lean_dec(x_222); +x_196 = x_224; +x_197 = x_223; +goto block_213; +} +block_213: +{ +lean_object* x_198; +x_198 = l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1; +if (x_196 == 0) +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_195); +lean_dec(x_2); +lean_dec(x_1); +x_199 = lean_box(0); +x_200 = lean_apply_6(x_198, x_199, x_5, x_6, x_7, x_8, x_197); +return x_200; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_201 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_201, 0, x_1); +x_202 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_203 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_205 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_206, 0, x_2); +x_207 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_202); +x_209 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_195, x_208, x_5, x_6, x_7, x_8, x_197); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_212 = lean_apply_6(x_198, x_210, x_5, x_6, x_7, x_8, x_211); +return x_212; +} +} +} +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_189); +lean_dec(x_3); +x_238 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_188); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_239 = lean_ctor_get(x_238, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + x_240 = x_238; +} else { + lean_dec_ref(x_238); + x_240 = lean_box(0); +} +x_241 = 1; +x_242 = lean_box(x_241); +if (lean_is_scalar(x_240)) { + x_243 = lean_alloc_ctor(0, 2, 0); +} else { + x_243 = x_240; +} +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_239); +return x_243; +} +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_3); +x_244 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_188); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_245 = lean_ctor_get(x_244, 1); +lean_inc(x_245); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_246 = x_244; +} else { + lean_dec_ref(x_244); + x_246 = lean_box(0); +} +x_247 = 1; +x_248 = lean_box(x_247); +if (lean_is_scalar(x_246)) { + x_249 = lean_alloc_ctor(0, 2, 0); +} else { + x_249 = x_246; +} +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_245); +return x_249; +} +} +} +} +else +{ +uint8_t x_250; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_250 = !lean_is_exclusive(x_33); +if (x_250 == 0) +{ +return x_33; +} +else +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_251 = lean_ctor_get(x_33, 0); +x_252 = lean_ctor_get(x_33, 1); +lean_inc(x_252); +lean_inc(x_251); +lean_dec(x_33); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; +} +} +} +} +else +{ +lean_object* x_254; lean_object* x_255; uint8_t x_256; uint8_t x_257; uint8_t x_258; +x_254 = lean_ctor_get(x_22, 0); +x_255 = lean_ctor_get(x_22, 1); +lean_inc(x_255); +lean_inc(x_254); +lean_dec(x_22); +x_256 = 2; +x_257 = lean_unbox(x_254); +x_258 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_257, x_256); +if (x_258 == 0) +{ +uint8_t x_259; uint8_t x_260; uint8_t x_261; lean_object* x_262; lean_object* x_263; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_259 = 1; +x_260 = lean_unbox(x_254); +lean_dec(x_254); +x_261 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_260, x_259); +x_262 = lean_box(x_261); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_255); +return x_263; +} +else +{ +lean_object* x_264; +lean_dec(x_254); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_2); +x_264 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_5, x_6, x_7, x_8, x_255); +if (lean_obj_tag(x_264) == 0) +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; uint8_t x_269; +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_267 = x_264; +} else { + lean_dec_ref(x_264); + x_267 = lean_box(0); +} +x_268 = lean_unbox(x_265); +x_269 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_268, x_256); +if (x_269 == 0) +{ +uint8_t x_270; uint8_t x_271; uint8_t x_272; lean_object* x_273; lean_object* x_274; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_270 = 1; +x_271 = lean_unbox(x_265); +lean_dec(x_265); +x_272 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_271, x_270); +x_273 = lean_box(x_272); +if (lean_is_scalar(x_267)) { + x_274 = lean_alloc_ctor(0, 2, 0); +} else { + x_274 = x_267; +} +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_266); +return x_274; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; uint8_t x_282; +lean_dec(x_267); +lean_dec(x_265); +x_275 = lean_st_ref_get(x_8, x_266); +x_276 = lean_ctor_get(x_275, 1); +lean_inc(x_276); +lean_dec(x_275); +x_277 = lean_st_ref_get(x_6, x_276); +x_278 = lean_ctor_get(x_277, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + x_280 = x_277; +} else { + lean_dec_ref(x_277); + x_280 = lean_box(0); +} +x_281 = lean_ctor_get(x_278, 0); +lean_inc(x_281); +lean_dec(x_278); +lean_inc(x_281); +x_282 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_281, x_1); +if (x_282 == 0) +{ +uint8_t x_283; +x_283 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_281, x_2); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_317; uint8_t x_318; +x_317 = lean_ctor_get(x_5, 0); +lean_inc(x_317); +x_318 = lean_ctor_get_uint8(x_317, 4); +lean_dec(x_317); +if (x_318 == 0) +{ +uint8_t x_319; lean_object* x_320; lean_object* x_321; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_319 = 0; +x_320 = lean_box(x_319); +if (lean_is_scalar(x_280)) { + x_321 = lean_alloc_ctor(0, 2, 0); +} else { + x_321 = x_280; +} +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_279); +return x_321; +} +else +{ +uint8_t x_322; +x_322 = l_Lean_Level_isMVar(x_1); +if (x_322 == 0) +{ +uint8_t x_323; +x_323 = l_Lean_Level_isMVar(x_2); +if (x_323 == 0) +{ +uint8_t x_324; lean_object* x_325; lean_object* x_326; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_324 = 0; +x_325 = lean_box(x_324); +if (lean_is_scalar(x_280)) { + x_326 = lean_alloc_ctor(0, 2, 0); +} else { + x_326 = x_280; +} +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_279); +return x_326; +} +else +{ +lean_object* x_327; +lean_dec(x_280); +x_327 = lean_box(0); +x_284 = x_327; +goto block_316; +} +} +else +{ +lean_object* x_328; +lean_dec(x_280); +x_328 = lean_box(0); +x_284 = x_328; +goto block_316; +} +} +block_316: +{ +lean_object* x_285; lean_object* x_286; uint8_t x_287; lean_object* x_288; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +lean_dec(x_284); +x_285 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__5; +x_286 = lean_name_mk_string(x_3, x_285); +x_305 = lean_st_ref_get(x_8, x_279); +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_306, 3); +lean_inc(x_307); +lean_dec(x_306); +x_308 = lean_ctor_get_uint8(x_307, sizeof(void*)*1); +lean_dec(x_307); +if (x_308 == 0) +{ +lean_object* x_309; uint8_t x_310; +x_309 = lean_ctor_get(x_305, 1); +lean_inc(x_309); +lean_dec(x_305); +x_310 = 0; +x_287 = x_310; +x_288 = x_309; +goto block_304; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; +x_311 = lean_ctor_get(x_305, 1); +lean_inc(x_311); +lean_dec(x_305); +lean_inc(x_286); +x_312 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_286, x_5, x_6, x_7, x_8, x_311); +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_315 = lean_unbox(x_313); +lean_dec(x_313); +x_287 = x_315; +x_288 = x_314; +goto block_304; +} +block_304: +{ +lean_object* x_289; +x_289 = l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1; +if (x_287 == 0) +{ +lean_object* x_290; lean_object* x_291; +lean_dec(x_286); +lean_dec(x_2); +lean_dec(x_1); +x_290 = lean_box(0); +x_291 = lean_apply_6(x_289, x_290, x_5, x_6, x_7, x_8, x_288); +return x_291; +} +else +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_292 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_292, 0, x_1); +x_293 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_294 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_292); +x_295 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_296 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +x_297 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_297, 0, x_2); +x_298 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_297); +x_299 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_293); +x_300 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_286, x_299, x_5, x_6, x_7, x_8, x_288); +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_apply_6(x_289, x_301, x_5, x_6, x_7, x_8, x_302); +return x_303; +} +} +} +} +else +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; lean_object* x_333; lean_object* x_334; +lean_dec(x_280); +lean_dec(x_3); +x_329 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_279); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_330 = lean_ctor_get(x_329, 1); +lean_inc(x_330); +if (lean_is_exclusive(x_329)) { + lean_ctor_release(x_329, 0); + lean_ctor_release(x_329, 1); + x_331 = x_329; +} else { + lean_dec_ref(x_329); + x_331 = lean_box(0); +} +x_332 = 1; +x_333 = lean_box(x_332); +if (lean_is_scalar(x_331)) { + x_334 = lean_alloc_ctor(0, 2, 0); +} else { + x_334 = x_331; +} +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_330); +return x_334; +} +} +else +{ +lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; lean_object* x_339; lean_object* x_340; +lean_dec(x_281); +lean_dec(x_280); +lean_dec(x_3); +x_335 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_279); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_336 = lean_ctor_get(x_335, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + x_337 = x_335; +} else { + lean_dec_ref(x_335); + x_337 = lean_box(0); +} +x_338 = 1; +x_339 = lean_box(x_338); +if (lean_is_scalar(x_337)) { + x_340 = lean_alloc_ctor(0, 2, 0); +} else { + x_340 = x_337; +} +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_336); +return x_340; +} +} +} +else +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_341 = lean_ctor_get(x_264, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_264, 1); +lean_inc(x_342); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_343 = x_264; +} else { + lean_dec_ref(x_264); + x_343 = lean_box(0); +} +if (lean_is_scalar(x_343)) { + x_344 = lean_alloc_ctor(1, 2, 0); +} else { + x_344 = x_343; +} +lean_ctor_set(x_344, 0, x_341); +lean_ctor_set(x_344, 1, x_342); +return x_344; +} +} +} +} +else +{ +uint8_t x_345; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_345 = !lean_is_exclusive(x_22); +if (x_345 == 0) +{ +return x_22; +} +else +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_346 = lean_ctor_get(x_22, 0); +x_347 = lean_ctor_get(x_22, 1); +lean_inc(x_347); +lean_inc(x_346); +lean_dec(x_22); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_346); +lean_ctor_set(x_348, 1, x_347); +return x_348; +} +} +} +} +} +} static lean_object* _init_l_Lean_Meta_isLevelDefEqAux___closed__1() { _start: { @@ -3542,7 +4936,962 @@ lean_dec(x_9); lean_dec(x_8); if (x_10 == 0) { -lean_object* x_11; uint8_t x_340; lean_object* x_341; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_11 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_31 = lean_st_ref_get(x_6, x_7); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_12 = x_36; +x_13 = x_35; +goto block_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_11, x_3, x_4, x_5, x_6, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_12 = x_41; +x_13 = x_40; +goto block_30; +} +block_30: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_15 = lean_box(0); +x_16 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_14, x_15, x_3, x_4, x_5, x_6, x_13); +return x_16; +} +else +{ +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_inc(x_1); +x_17 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +lean_inc(x_2); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_2); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_18); +x_25 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_11, x_24, x_3, x_4, x_5, x_6, x_13); +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_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_29 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_28, x_26, x_3, x_4, x_5, x_6, x_27); +lean_dec(x_26); +return x_29; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l_Lean_Level_getOffsetAux(x_1, x_42); +lean_dec(x_1); +x_44 = l_Lean_Level_getOffsetAux(x_2, x_42); +lean_dec(x_2); +x_45 = lean_nat_dec_eq(x_43, x_44); +lean_dec(x_44); +lean_dec(x_43); +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_7); +return x_47; +} +} +case 1: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = l_Lean_Level_getLevelOffset(x_1); +x_49 = l_Lean_Level_getLevelOffset(x_2); +x_50 = lean_level_eq(x_48, x_49); +lean_dec(x_49); +lean_dec(x_48); +if (x_50 == 0) +{ +lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_51 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_71 = lean_st_ref_get(x_6, x_7); +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_52 = x_76; +x_53 = 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); +x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_51, x_3, x_4, x_5, x_6, 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_52 = x_81; +x_53 = x_80; +goto block_70; +} +block_70: +{ +if (x_52 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_55 = lean_box(0); +x_56 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_54, x_55, x_3, x_4, x_5, x_6, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_inc(x_1); +x_57 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_57, 0, x_1); +x_58 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +lean_inc(x_2); +x_62 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_62, 0, x_2); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_58); +x_65 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_51, x_64, x_3, x_4, x_5, x_6, x_53); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_69 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_68, x_66, x_3, x_4, x_5, x_6, x_67); +lean_dec(x_66); +return x_69; +} +} +} +else +{ +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_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_82 = lean_unsigned_to_nat(0u); +x_83 = l_Lean_Level_getOffsetAux(x_1, x_82); +lean_dec(x_1); +x_84 = l_Lean_Level_getOffsetAux(x_2, x_82); +lean_dec(x_2); +x_85 = lean_nat_dec_eq(x_83, x_84); +lean_dec(x_84); +lean_dec(x_83); +x_86 = lean_box(x_85); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_7); +return x_87; +} +} +case 1: +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_1, 0); +lean_inc(x_88); +lean_dec(x_1); +x_89 = lean_ctor_get(x_2, 0); +lean_inc(x_89); +lean_dec(x_2); +x_1 = x_88; +x_2 = x_89; +goto _start; +} +case 2: +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_91 = l_Lean_Level_getLevelOffset(x_1); +x_92 = l_Lean_Level_getLevelOffset(x_2); +x_93 = lean_level_eq(x_91, x_92); +lean_dec(x_92); +lean_dec(x_91); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_94 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_114 = lean_st_ref_get(x_6, x_7); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_115, 3); +lean_inc(x_116); +lean_dec(x_115); +x_117 = lean_ctor_get_uint8(x_116, sizeof(void*)*1); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_114, 1); +lean_inc(x_118); +lean_dec(x_114); +x_119 = 0; +x_95 = x_119; +x_96 = x_118; +goto block_113; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_120 = lean_ctor_get(x_114, 1); +lean_inc(x_120); +lean_dec(x_114); +x_121 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_94, x_3, x_4, x_5, x_6, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = lean_unbox(x_122); +lean_dec(x_122); +x_95 = x_124; +x_96 = x_123; +goto block_113; +} +block_113: +{ +if (x_95 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_98 = lean_box(0); +x_99 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_97, x_98, x_3, x_4, x_5, x_6, x_96); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_inc(x_1); +x_100 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_100, 0, x_1); +x_101 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_104 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +lean_inc(x_2); +x_105 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_105, 0, x_2); +x_106 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_101); +x_108 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_94, x_107, x_3, x_4, x_5, x_6, x_96); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_112 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_111, x_109, x_3, x_4, x_5, x_6, x_110); +lean_dec(x_109); +return x_112; +} +} +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_125 = lean_unsigned_to_nat(0u); +x_126 = l_Lean_Level_getOffsetAux(x_1, x_125); +lean_dec(x_1); +x_127 = l_Lean_Level_getOffsetAux(x_2, x_125); +lean_dec(x_2); +x_128 = lean_nat_dec_eq(x_126, x_127); +lean_dec(x_127); +lean_dec(x_126); +x_129 = lean_box(x_128); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_7); +return x_130; +} +} +case 3: +{ +lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_131 = l_Lean_Level_getLevelOffset(x_1); +x_132 = l_Lean_Level_getLevelOffset(x_2); +x_133 = lean_level_eq(x_131, x_132); +lean_dec(x_132); +lean_dec(x_131); +if (x_133 == 0) +{ +lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_134 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_154 = lean_st_ref_get(x_6, x_7); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_155, 3); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_ctor_get_uint8(x_156, sizeof(void*)*1); +lean_dec(x_156); +if (x_157 == 0) +{ +lean_object* x_158; uint8_t x_159; +x_158 = lean_ctor_get(x_154, 1); +lean_inc(x_158); +lean_dec(x_154); +x_159 = 0; +x_135 = x_159; +x_136 = x_158; +goto block_153; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_160 = lean_ctor_get(x_154, 1); +lean_inc(x_160); +lean_dec(x_154); +x_161 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_134, x_3, x_4, x_5, x_6, x_160); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_unbox(x_162); +lean_dec(x_162); +x_135 = x_164; +x_136 = x_163; +goto block_153; +} +block_153: +{ +if (x_135 == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_138 = lean_box(0); +x_139 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_137, x_138, x_3, x_4, x_5, x_6, x_136); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_inc(x_1); +x_140 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_140, 0, x_1); +x_141 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_142 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_144 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +lean_inc(x_2); +x_145 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_145, 0, x_2); +x_146 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +x_147 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_141); +x_148 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_134, x_147, x_3, x_4, x_5, x_6, x_136); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_152 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_151, x_149, x_3, x_4, x_5, x_6, x_150); +lean_dec(x_149); +return x_152; +} +} +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_165 = lean_unsigned_to_nat(0u); +x_166 = l_Lean_Level_getOffsetAux(x_1, x_165); +lean_dec(x_1); +x_167 = l_Lean_Level_getOffsetAux(x_2, x_165); +lean_dec(x_2); +x_168 = lean_nat_dec_eq(x_166, x_167); +lean_dec(x_167); +lean_dec(x_166); +x_169 = lean_box(x_168); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_7); +return x_170; +} +} +case 4: +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_171 = l_Lean_Level_getLevelOffset(x_1); +x_172 = l_Lean_Level_getLevelOffset(x_2); +x_173 = lean_level_eq(x_171, x_172); +lean_dec(x_172); +lean_dec(x_171); +if (x_173 == 0) +{ +lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_174 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_194 = lean_st_ref_get(x_6, x_7); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_195, 3); +lean_inc(x_196); +lean_dec(x_195); +x_197 = lean_ctor_get_uint8(x_196, sizeof(void*)*1); +lean_dec(x_196); +if (x_197 == 0) +{ +lean_object* x_198; uint8_t x_199; +x_198 = lean_ctor_get(x_194, 1); +lean_inc(x_198); +lean_dec(x_194); +x_199 = 0; +x_175 = x_199; +x_176 = x_198; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_200 = lean_ctor_get(x_194, 1); +lean_inc(x_200); +lean_dec(x_194); +x_201 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_174, x_3, x_4, x_5, x_6, x_200); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = lean_unbox(x_202); +lean_dec(x_202); +x_175 = x_204; +x_176 = x_203; +goto block_193; +} +block_193: +{ +if (x_175 == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_178 = lean_box(0); +x_179 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_177, x_178, x_3, x_4, x_5, x_6, x_176); +return x_179; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_inc(x_1); +x_180 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_180, 0, x_1); +x_181 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_184 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +lean_inc(x_2); +x_185 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_185, 0, x_2); +x_186 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_181); +x_188 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_174, x_187, x_3, x_4, x_5, x_6, x_176); +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 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_192 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_191, x_189, x_3, x_4, x_5, x_6, x_190); +lean_dec(x_189); +return x_192; +} +} +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_205 = lean_unsigned_to_nat(0u); +x_206 = l_Lean_Level_getOffsetAux(x_1, x_205); +lean_dec(x_1); +x_207 = l_Lean_Level_getOffsetAux(x_2, x_205); +lean_dec(x_2); +x_208 = lean_nat_dec_eq(x_206, x_207); +lean_dec(x_207); +lean_dec(x_206); +x_209 = lean_box(x_208); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_7); +return x_210; +} +} +default: +{ +lean_object* x_211; lean_object* x_212; uint8_t x_213; +x_211 = l_Lean_Level_getLevelOffset(x_1); +x_212 = l_Lean_Level_getLevelOffset(x_2); +x_213 = lean_level_eq(x_211, x_212); +lean_dec(x_212); +lean_dec(x_211); +if (x_213 == 0) +{ +lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_214 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_234 = lean_st_ref_get(x_6, x_7); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_235, 3); +lean_inc(x_236); +lean_dec(x_235); +x_237 = lean_ctor_get_uint8(x_236, sizeof(void*)*1); +lean_dec(x_236); +if (x_237 == 0) +{ +lean_object* x_238; uint8_t x_239; +x_238 = lean_ctor_get(x_234, 1); +lean_inc(x_238); +lean_dec(x_234); +x_239 = 0; +x_215 = x_239; +x_216 = x_238; +goto block_233; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; +x_240 = lean_ctor_get(x_234, 1); +lean_inc(x_240); +lean_dec(x_234); +x_241 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_214, x_3, x_4, x_5, x_6, 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_unbox(x_242); +lean_dec(x_242); +x_215 = x_244; +x_216 = x_243; +goto block_233; +} +block_233: +{ +if (x_215 == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_218 = lean_box(0); +x_219 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_217, x_218, x_3, x_4, x_5, x_6, x_216); +return x_219; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_inc(x_1); +x_220 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_220, 0, x_1); +x_221 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +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_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_224 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +lean_inc(x_2); +x_225 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_225, 0, x_2); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_221); +x_228 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_214, x_227, x_3, x_4, x_5, x_6, x_216); +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); +lean_dec(x_228); +x_231 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_232 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_231, x_229, x_3, x_4, x_5, x_6, x_230); +lean_dec(x_229); +return x_232; +} +} +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; lean_object* x_249; lean_object* x_250; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_245 = lean_unsigned_to_nat(0u); +x_246 = l_Lean_Level_getOffsetAux(x_1, x_245); +lean_dec(x_1); +x_247 = l_Lean_Level_getOffsetAux(x_2, x_245); +lean_dec(x_2); +x_248 = lean_nat_dec_eq(x_246, x_247); +lean_dec(x_247); +lean_dec(x_246); +x_249 = lean_box(x_248); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_7); +return x_250; +} +} +} +} +case 2: +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; +x_251 = l_Lean_Level_getLevelOffset(x_1); +x_252 = l_Lean_Level_getLevelOffset(x_2); +x_253 = lean_level_eq(x_251, x_252); +lean_dec(x_252); +lean_dec(x_251); +if (x_253 == 0) +{ +lean_object* x_254; uint8_t x_255; lean_object* x_256; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_254 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_274 = lean_st_ref_get(x_6, x_7); +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_275, 3); +lean_inc(x_276); +lean_dec(x_275); +x_277 = lean_ctor_get_uint8(x_276, sizeof(void*)*1); +lean_dec(x_276); +if (x_277 == 0) +{ +lean_object* x_278; uint8_t x_279; +x_278 = lean_ctor_get(x_274, 1); +lean_inc(x_278); +lean_dec(x_274); +x_279 = 0; +x_255 = x_279; +x_256 = x_278; +goto block_273; +} +else +{ +lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; +x_280 = lean_ctor_get(x_274, 1); +lean_inc(x_280); +lean_dec(x_274); +x_281 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_254, x_3, x_4, x_5, x_6, x_280); +x_282 = lean_ctor_get(x_281, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_281, 1); +lean_inc(x_283); +lean_dec(x_281); +x_284 = lean_unbox(x_282); +lean_dec(x_282); +x_255 = x_284; +x_256 = x_283; +goto block_273; +} +block_273: +{ +if (x_255 == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_258 = lean_box(0); +x_259 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_257, x_258, x_3, x_4, x_5, x_6, x_256); +return x_259; +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_inc(x_1); +x_260 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_260, 0, x_1); +x_261 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_262 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_264 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +lean_inc(x_2); +x_265 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_265, 0, x_2); +x_266 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_261); +x_268 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_254, x_267, x_3, x_4, x_5, x_6, x_256); +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec(x_268); +x_271 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_272 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_271, x_269, x_3, x_4, x_5, x_6, x_270); +lean_dec(x_269); +return x_272; +} +} +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_285 = lean_unsigned_to_nat(0u); +x_286 = l_Lean_Level_getOffsetAux(x_1, x_285); +lean_dec(x_1); +x_287 = l_Lean_Level_getOffsetAux(x_2, x_285); +lean_dec(x_2); +x_288 = lean_nat_dec_eq(x_286, x_287); +lean_dec(x_287); +lean_dec(x_286); +x_289 = lean_box(x_288); +x_290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_7); +return x_290; +} +} +case 3: +{ +lean_object* x_291; lean_object* x_292; uint8_t x_293; +x_291 = l_Lean_Level_getLevelOffset(x_1); +x_292 = l_Lean_Level_getLevelOffset(x_2); +x_293 = lean_level_eq(x_291, x_292); +lean_dec(x_292); +lean_dec(x_291); +if (x_293 == 0) +{ +lean_object* x_294; uint8_t x_295; lean_object* x_296; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_294 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_314 = lean_st_ref_get(x_6, x_7); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_315, 3); +lean_inc(x_316); +lean_dec(x_315); +x_317 = lean_ctor_get_uint8(x_316, sizeof(void*)*1); +lean_dec(x_316); +if (x_317 == 0) +{ +lean_object* x_318; uint8_t x_319; +x_318 = lean_ctor_get(x_314, 1); +lean_inc(x_318); +lean_dec(x_314); +x_319 = 0; +x_295 = x_319; +x_296 = x_318; +goto block_313; +} +else +{ +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; +x_320 = lean_ctor_get(x_314, 1); +lean_inc(x_320); +lean_dec(x_314); +x_321 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_294, x_3, x_4, x_5, x_6, x_320); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = lean_unbox(x_322); +lean_dec(x_322); +x_295 = x_324; +x_296 = x_323; +goto block_313; +} +block_313: +{ +if (x_295 == 0) +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_297 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_298 = lean_box(0); +x_299 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_297, x_298, x_3, x_4, x_5, x_6, x_296); +return x_299; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_inc(x_1); +x_300 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_300, 0, x_1); +x_301 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_302 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_300); +x_303 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_304 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_304, 0, x_302); +lean_ctor_set(x_304, 1, x_303); +lean_inc(x_2); +x_305 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_305, 0, x_2); +x_306 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_306, 0, x_304); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_301); +x_308 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_294, x_307, x_3, x_4, x_5, x_6, x_296); +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_308, 1); +lean_inc(x_310); +lean_dec(x_308); +x_311 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_312 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_311, x_309, x_3, x_4, x_5, x_6, x_310); +lean_dec(x_309); +return x_312; +} +} +} +else +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; lean_object* x_329; lean_object* x_330; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_325 = lean_unsigned_to_nat(0u); +x_326 = l_Lean_Level_getOffsetAux(x_1, x_325); +lean_dec(x_1); +x_327 = l_Lean_Level_getOffsetAux(x_2, x_325); +lean_dec(x_2); +x_328 = lean_nat_dec_eq(x_326, x_327); +lean_dec(x_327); +lean_dec(x_326); +x_329 = lean_box(x_328); +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_7); +return x_330; +} +} +case 4: +{ +lean_object* x_331; lean_object* x_332; uint8_t x_333; +x_331 = l_Lean_Level_getLevelOffset(x_1); +x_332 = l_Lean_Level_getLevelOffset(x_2); +x_333 = lean_level_eq(x_331, x_332); +lean_dec(x_332); +lean_dec(x_331); +if (x_333 == 0) +{ +lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +x_334 = l_Lean_Meta_isLevelDefEqAux___closed__2; x_354 = lean_st_ref_get(x_6, x_7); x_355 = lean_ctor_get(x_354, 0); lean_inc(x_355); @@ -3558,14439 +5907,236 @@ x_358 = lean_ctor_get(x_354, 1); lean_inc(x_358); lean_dec(x_354); x_359 = 0; -x_340 = x_359; -x_341 = x_358; +x_335 = x_359; +x_336 = x_358; goto block_353; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; x_360 = lean_ctor_get(x_354, 1); lean_inc(x_360); lean_dec(x_354); -x_361 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_362 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_361, x_3, x_4, x_5, x_6, x_360); -x_363 = lean_ctor_get(x_362, 0); +x_361 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_334, x_3, x_4, x_5, x_6, x_360); +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); lean_inc(x_363); -x_364 = lean_ctor_get(x_362, 1); -lean_inc(x_364); +lean_dec(x_361); +x_364 = lean_unbox(x_362); lean_dec(x_362); -x_365 = lean_unbox(x_363); -lean_dec(x_363); -x_340 = x_365; -x_341 = x_364; +x_335 = x_364; +x_336 = x_363; goto block_353; } -block_339: -{ -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; uint8_t x_20; -lean_inc(x_1); -x_12 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, 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_Lean_Level_normalize(x_13); -lean_dec(x_13); -lean_inc(x_2); -x_16 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_14); -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); -x_19 = l_Lean_Level_normalize(x_17); -lean_dec(x_17); -x_20 = lean_level_eq(x_1, x_15); -if (x_20 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_15; -x_2 = x_19; -x_7 = x_18; -goto _start; -} -else -{ -uint8_t x_22; -x_22 = lean_level_eq(x_2, x_19); -if (x_22 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_15; -x_2 = x_19; -x_7 = x_18; -goto _start; -} -else -{ -lean_object* x_24; -lean_dec(x_19); -lean_dec(x_15); -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_24 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_18); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -x_28 = 2; -x_29 = lean_unbox(x_26); -x_30 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_29, x_28); -if (x_30 == 0) -{ -uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_31 = 1; -x_32 = lean_unbox(x_26); -lean_dec(x_26); -x_33 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_32, x_31); -x_34 = lean_box(x_33); -lean_ctor_set(x_24, 0, x_34); -return x_24; -} -else -{ -lean_object* x_35; -lean_free_object(x_24); -lean_dec(x_26); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_35 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_27); -if (lean_obj_tag(x_35) == 0) -{ -uint8_t x_36; -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_35, 1); -x_39 = lean_unbox(x_37); -x_40 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_39, x_28); -if (x_40 == 0) -{ -uint8_t x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; -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 = 1; -x_42 = lean_unbox(x_37); -lean_dec(x_37); -x_43 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_42, x_41); -x_44 = lean_box(x_43); -lean_ctor_set(x_35, 0, x_44); -return x_35; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -lean_free_object(x_35); -lean_dec(x_37); -x_45 = lean_st_ref_get(x_6, x_38); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_get(x_4, x_46); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_ctor_get(x_47, 1); -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -lean_dec(x_49); -lean_inc(x_51); -x_52 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_51, x_1); -if (x_52 == 0) -{ -uint8_t x_53; -x_53 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_51, x_2); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_3, 0); -lean_inc(x_84); -x_85 = lean_ctor_get_uint8(x_84, 4); -lean_dec(x_84); -if (x_85 == 0) -{ -uint8_t x_86; lean_object* x_87; -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_86 = 0; -x_87 = lean_box(x_86); -lean_ctor_set(x_47, 0, x_87); -return x_47; -} -else -{ -uint8_t x_88; -x_88 = l_Lean_Level_isMVar(x_1); -if (x_88 == 0) -{ -uint8_t x_89; -x_89 = l_Lean_Level_isMVar(x_2); -if (x_89 == 0) -{ -uint8_t x_90; lean_object* x_91; -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_90 = 0; -x_91 = lean_box(x_90); -lean_ctor_set(x_47, 0, x_91); -return x_47; -} -else -{ -lean_object* x_92; -lean_free_object(x_47); -x_92 = lean_box(0); -x_54 = x_92; -goto block_83; -} -} -else -{ -lean_object* x_93; -lean_free_object(x_47); -x_93 = lean_box(0); -x_54 = x_93; -goto block_83; -} -} -block_83: -{ -uint8_t x_55; lean_object* x_56; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -lean_dec(x_54); -x_71 = lean_st_ref_get(x_6, x_50); -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_55 = x_76; -x_56 = x_75; -goto block_70; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_71, 1); -lean_inc(x_77); -lean_dec(x_71); -x_78 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_79 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_78, x_3, x_4, x_5, x_6, x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_unbox(x_80); -lean_dec(x_80); -x_55 = x_82; -x_56 = x_81; -goto block_70; -} -block_70: -{ -if (x_55 == 0) -{ -lean_object* x_57; -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_57 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_56); -return x_57; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_58 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_58, 0, x_1); -x_59 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_63, 0, x_2); -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -x_66 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_67 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_66, x_65, x_3, x_4, x_5, x_6, x_56); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_68); -return x_69; -} -} -} -} -else -{ -lean_object* x_94; uint8_t x_95; -lean_free_object(x_47); -x_94 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_50); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_95 = !lean_is_exclusive(x_94); -if (x_95 == 0) -{ -lean_object* x_96; uint8_t x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_94, 0); -lean_dec(x_96); -x_97 = 1; -x_98 = lean_box(x_97); -lean_ctor_set(x_94, 0, x_98); -return x_94; -} -else -{ -lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_94, 1); -lean_inc(x_99); -lean_dec(x_94); -x_100 = 1; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_99); -return x_102; -} -} -} -else -{ -lean_object* x_103; uint8_t x_104; -lean_dec(x_51); -lean_free_object(x_47); -x_103 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_50); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_104 = !lean_is_exclusive(x_103); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_103, 0); -lean_dec(x_105); -x_106 = 1; -x_107 = lean_box(x_106); -lean_ctor_set(x_103, 0, x_107); -return x_103; -} -else -{ -lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); -lean_dec(x_103); -x_109 = 1; -x_110 = lean_box(x_109); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_108); -return x_111; -} -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_112 = lean_ctor_get(x_47, 0); -x_113 = lean_ctor_get(x_47, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_47); -x_114 = lean_ctor_get(x_112, 0); -lean_inc(x_114); -lean_dec(x_112); -lean_inc(x_114); -x_115 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_114, x_1); -if (x_115 == 0) -{ -uint8_t x_116; -x_116 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_114, x_2); -if (x_116 == 0) -{ -lean_object* x_117; lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_3, 0); -lean_inc(x_147); -x_148 = lean_ctor_get_uint8(x_147, 4); -lean_dec(x_147); -if (x_148 == 0) -{ -uint8_t x_149; lean_object* x_150; lean_object* x_151; -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_149 = 0; -x_150 = lean_box(x_149); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_113); -return x_151; -} -else -{ -uint8_t x_152; -x_152 = l_Lean_Level_isMVar(x_1); -if (x_152 == 0) -{ -uint8_t x_153; -x_153 = l_Lean_Level_isMVar(x_2); -if (x_153 == 0) -{ -uint8_t x_154; lean_object* x_155; lean_object* x_156; -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_154 = 0; -x_155 = lean_box(x_154); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_113); -return x_156; -} -else -{ -lean_object* x_157; -x_157 = lean_box(0); -x_117 = x_157; -goto block_146; -} -} -else -{ -lean_object* x_158; -x_158 = lean_box(0); -x_117 = x_158; -goto block_146; -} -} -block_146: -{ -uint8_t x_118; lean_object* x_119; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -lean_dec(x_117); -x_134 = lean_st_ref_get(x_6, x_113); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_135, 3); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; uint8_t x_139; -x_138 = lean_ctor_get(x_134, 1); -lean_inc(x_138); -lean_dec(x_134); -x_139 = 0; -x_118 = x_139; -x_119 = x_138; -goto block_133; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_dec(x_134); -x_141 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_142 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_141, x_3, x_4, x_5, x_6, x_140); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_unbox(x_143); -lean_dec(x_143); -x_118 = x_145; -x_119 = x_144; -goto block_133; -} -block_133: -{ -if (x_118 == 0) -{ -lean_object* x_120; -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_120 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_119); -return x_120; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_121 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_121, 0, x_1); -x_122 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_126, 0, x_2); -x_127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_122); -x_129 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_130 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_129, x_128, x_3, x_4, x_5, x_6, x_119); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_131); -return x_132; -} -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; -x_159 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_113); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_161 = x_159; -} else { - lean_dec_ref(x_159); - x_161 = lean_box(0); -} -x_162 = 1; -x_163 = lean_box(x_162); -if (lean_is_scalar(x_161)) { - x_164 = lean_alloc_ctor(0, 2, 0); -} else { - x_164 = x_161; -} -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_160); -return x_164; -} -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_114); -x_165 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_113); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_165)) { - lean_ctor_release(x_165, 0); - lean_ctor_release(x_165, 1); - x_167 = x_165; -} else { - lean_dec_ref(x_165); - x_167 = lean_box(0); -} -x_168 = 1; -x_169 = lean_box(x_168); -if (lean_is_scalar(x_167)) { - x_170 = lean_alloc_ctor(0, 2, 0); -} else { - x_170 = x_167; -} -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_166); -return x_170; -} -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; uint8_t x_173; uint8_t x_174; -x_171 = lean_ctor_get(x_35, 0); -x_172 = lean_ctor_get(x_35, 1); -lean_inc(x_172); -lean_inc(x_171); -lean_dec(x_35); -x_173 = lean_unbox(x_171); -x_174 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_173, x_28); -if (x_174 == 0) -{ -uint8_t x_175; uint8_t x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; -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_175 = 1; -x_176 = lean_unbox(x_171); -lean_dec(x_171); -x_177 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_176, x_175); -x_178 = lean_box(x_177); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_172); -return x_179; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; -lean_dec(x_171); -x_180 = lean_st_ref_get(x_6, x_172); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_4, x_181); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_185 = x_182; -} else { - lean_dec_ref(x_182); - x_185 = lean_box(0); -} -x_186 = lean_ctor_get(x_183, 0); -lean_inc(x_186); -lean_dec(x_183); -lean_inc(x_186); -x_187 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_186, x_1); -if (x_187 == 0) -{ -uint8_t x_188; -x_188 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_186, x_2); -if (x_188 == 0) -{ -lean_object* x_189; lean_object* x_219; uint8_t x_220; -x_219 = lean_ctor_get(x_3, 0); -lean_inc(x_219); -x_220 = lean_ctor_get_uint8(x_219, 4); -lean_dec(x_219); -if (x_220 == 0) -{ -uint8_t x_221; lean_object* x_222; lean_object* x_223; -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_221 = 0; -x_222 = lean_box(x_221); -if (lean_is_scalar(x_185)) { - x_223 = lean_alloc_ctor(0, 2, 0); -} else { - x_223 = x_185; -} -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_184); -return x_223; -} -else -{ -uint8_t x_224; -x_224 = l_Lean_Level_isMVar(x_1); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = l_Lean_Level_isMVar(x_2); -if (x_225 == 0) -{ -uint8_t x_226; lean_object* x_227; lean_object* x_228; -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_226 = 0; -x_227 = lean_box(x_226); -if (lean_is_scalar(x_185)) { - x_228 = lean_alloc_ctor(0, 2, 0); -} else { - x_228 = x_185; -} -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_184); -return x_228; -} -else -{ -lean_object* x_229; -lean_dec(x_185); -x_229 = lean_box(0); -x_189 = x_229; -goto block_218; -} -} -else -{ -lean_object* x_230; -lean_dec(x_185); -x_230 = lean_box(0); -x_189 = x_230; -goto block_218; -} -} -block_218: -{ -uint8_t x_190; lean_object* x_191; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; -lean_dec(x_189); -x_206 = lean_st_ref_get(x_6, x_184); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_207, 3); -lean_inc(x_208); -lean_dec(x_207); -x_209 = lean_ctor_get_uint8(x_208, sizeof(void*)*1); -lean_dec(x_208); -if (x_209 == 0) -{ -lean_object* x_210; uint8_t x_211; -x_210 = lean_ctor_get(x_206, 1); -lean_inc(x_210); -lean_dec(x_206); -x_211 = 0; -x_190 = x_211; -x_191 = x_210; -goto block_205; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_212 = lean_ctor_get(x_206, 1); -lean_inc(x_212); -lean_dec(x_206); -x_213 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_214 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_213, x_3, x_4, x_5, x_6, x_212); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_unbox(x_215); -lean_dec(x_215); -x_190 = x_217; -x_191 = x_216; -goto block_205; -} -block_205: -{ -if (x_190 == 0) -{ -lean_object* x_192; -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 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_191); -return x_192; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_193 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_193, 0, x_1); -x_194 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_195 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_198 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_198, 0, x_2); -x_199 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -x_200 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_194); -x_201 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_202 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_201, x_200, x_3, x_4, x_5, x_6, x_191); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_204 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_203); -return x_204; -} -} -} -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_185); -x_231 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_184); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_231)) { - lean_ctor_release(x_231, 0); - lean_ctor_release(x_231, 1); - x_233 = x_231; -} else { - lean_dec_ref(x_231); - x_233 = lean_box(0); -} -x_234 = 1; -x_235 = lean_box(x_234); -if (lean_is_scalar(x_233)) { - x_236 = lean_alloc_ctor(0, 2, 0); -} else { - x_236 = x_233; -} -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_232); -return x_236; -} -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; -lean_dec(x_186); -lean_dec(x_185); -x_237 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_184); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_238 = lean_ctor_get(x_237, 1); -lean_inc(x_238); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_239 = x_237; -} else { - lean_dec_ref(x_237); - x_239 = lean_box(0); -} -x_240 = 1; -x_241 = lean_box(x_240); -if (lean_is_scalar(x_239)) { - x_242 = lean_alloc_ctor(0, 2, 0); -} else { - x_242 = x_239; -} -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_238); -return x_242; -} -} -} -} -else -{ -uint8_t x_243; -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_243 = !lean_is_exclusive(x_35); -if (x_243 == 0) -{ -return x_35; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_35, 0); -x_245 = lean_ctor_get(x_35, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_35); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; -} -} -} -} -else -{ -lean_object* x_247; lean_object* x_248; uint8_t x_249; uint8_t x_250; uint8_t x_251; -x_247 = lean_ctor_get(x_24, 0); -x_248 = lean_ctor_get(x_24, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_24); -x_249 = 2; -x_250 = lean_unbox(x_247); -x_251 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_250, x_249); -if (x_251 == 0) -{ -uint8_t x_252; uint8_t x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; -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_252 = 1; -x_253 = lean_unbox(x_247); -lean_dec(x_247); -x_254 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_253, x_252); -x_255 = lean_box(x_254); -x_256 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_248); -return x_256; -} -else -{ -lean_object* x_257; -lean_dec(x_247); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_257 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_248); -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; uint8_t x_262; -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_260 = x_257; -} else { - lean_dec_ref(x_257); - x_260 = lean_box(0); -} -x_261 = lean_unbox(x_258); -x_262 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_261, x_249); -if (x_262 == 0) -{ -uint8_t x_263; uint8_t x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; -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_263 = 1; -x_264 = lean_unbox(x_258); -lean_dec(x_258); -x_265 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_264, x_263); -x_266 = lean_box(x_265); -if (lean_is_scalar(x_260)) { - x_267 = lean_alloc_ctor(0, 2, 0); -} else { - x_267 = x_260; -} -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_259); -return x_267; -} -else -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t x_275; -lean_dec(x_260); -lean_dec(x_258); -x_268 = lean_st_ref_get(x_6, x_259); -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -lean_dec(x_268); -x_270 = lean_st_ref_get(x_4, x_269); -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_273 = x_270; -} else { - lean_dec_ref(x_270); - x_273 = lean_box(0); -} -x_274 = lean_ctor_get(x_271, 0); -lean_inc(x_274); -lean_dec(x_271); -lean_inc(x_274); -x_275 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_274, x_1); -if (x_275 == 0) -{ -uint8_t x_276; -x_276 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_274, x_2); -if (x_276 == 0) -{ -lean_object* x_277; lean_object* x_307; uint8_t x_308; -x_307 = lean_ctor_get(x_3, 0); -lean_inc(x_307); -x_308 = lean_ctor_get_uint8(x_307, 4); -lean_dec(x_307); -if (x_308 == 0) -{ -uint8_t x_309; lean_object* x_310; lean_object* x_311; -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_309 = 0; -x_310 = lean_box(x_309); -if (lean_is_scalar(x_273)) { - x_311 = lean_alloc_ctor(0, 2, 0); -} else { - x_311 = x_273; -} -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_272); -return x_311; -} -else -{ -uint8_t x_312; -x_312 = l_Lean_Level_isMVar(x_1); -if (x_312 == 0) -{ -uint8_t x_313; -x_313 = l_Lean_Level_isMVar(x_2); -if (x_313 == 0) -{ -uint8_t x_314; lean_object* x_315; lean_object* x_316; -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_314 = 0; -x_315 = lean_box(x_314); -if (lean_is_scalar(x_273)) { - x_316 = lean_alloc_ctor(0, 2, 0); -} else { - x_316 = x_273; -} -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_272); -return x_316; -} -else -{ -lean_object* x_317; -lean_dec(x_273); -x_317 = lean_box(0); -x_277 = x_317; -goto block_306; -} -} -else -{ -lean_object* x_318; -lean_dec(x_273); -x_318 = lean_box(0); -x_277 = x_318; -goto block_306; -} -} -block_306: -{ -uint8_t x_278; lean_object* x_279; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -lean_dec(x_277); -x_294 = lean_st_ref_get(x_6, x_272); -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_295, 3); -lean_inc(x_296); -lean_dec(x_295); -x_297 = lean_ctor_get_uint8(x_296, sizeof(void*)*1); -lean_dec(x_296); -if (x_297 == 0) -{ -lean_object* x_298; uint8_t x_299; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -lean_dec(x_294); -x_299 = 0; -x_278 = x_299; -x_279 = x_298; -goto block_293; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; -x_300 = lean_ctor_get(x_294, 1); -lean_inc(x_300); -lean_dec(x_294); -x_301 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_302 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_301, x_3, x_4, x_5, x_6, x_300); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = lean_unbox(x_303); -lean_dec(x_303); -x_278 = x_305; -x_279 = x_304; -goto block_293; -} -block_293: -{ -if (x_278 == 0) -{ -lean_object* x_280; -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_280 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_279); -return x_280; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_281 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_281, 0, x_1); -x_282 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_283 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_281); -x_284 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_285 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_285, 0, x_283); -lean_ctor_set(x_285, 1, x_284); -x_286 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_286, 0, x_2); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_282); -x_289 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_290 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_289, x_288, x_3, x_4, x_5, x_6, x_279); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_291 = lean_ctor_get(x_290, 1); -lean_inc(x_291); -lean_dec(x_290); -x_292 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_291); -return x_292; -} -} -} -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_273); -x_319 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_272); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_320 = lean_ctor_get(x_319, 1); -lean_inc(x_320); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_321 = x_319; -} else { - lean_dec_ref(x_319); - x_321 = lean_box(0); -} -x_322 = 1; -x_323 = lean_box(x_322); -if (lean_is_scalar(x_321)) { - x_324 = lean_alloc_ctor(0, 2, 0); -} else { - x_324 = x_321; -} -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_320); -return x_324; -} -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; lean_object* x_329; lean_object* x_330; -lean_dec(x_274); -lean_dec(x_273); -x_325 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_272); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_326 = lean_ctor_get(x_325, 1); -lean_inc(x_326); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - x_327 = x_325; -} else { - lean_dec_ref(x_325); - x_327 = lean_box(0); -} -x_328 = 1; -x_329 = lean_box(x_328); -if (lean_is_scalar(x_327)) { - x_330 = lean_alloc_ctor(0, 2, 0); -} else { - x_330 = x_327; -} -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_326); -return x_330; -} -} -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -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_331 = lean_ctor_get(x_257, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_257, 1); -lean_inc(x_332); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_333 = x_257; -} else { - lean_dec_ref(x_257); - x_333 = lean_box(0); -} -if (lean_is_scalar(x_333)) { - x_334 = lean_alloc_ctor(1, 2, 0); -} else { - x_334 = x_333; -} -lean_ctor_set(x_334, 0, x_331); -lean_ctor_set(x_334, 1, x_332); -return x_334; -} -} -} -} -else -{ -uint8_t x_335; -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_335 = !lean_is_exclusive(x_24); -if (x_335 == 0) -{ -return x_24; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_336 = lean_ctor_get(x_24, 0); -x_337 = lean_ctor_get(x_24, 1); -lean_inc(x_337); -lean_inc(x_336); -lean_dec(x_24); -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_336); -lean_ctor_set(x_338, 1, x_337); -return x_338; -} -} -} -} -} block_353: { -if (x_340 == 0) +if (x_335 == 0) { -x_11 = x_341; -goto block_339; +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_338 = lean_box(0); +x_339 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_337, x_338, x_3, x_4, x_5, x_6, x_336); +return x_339; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_inc(x_1); -x_342 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_342, 0, x_1); -x_343 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_340 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_340, 0, x_1); +x_341 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_342 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_340); +x_343 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; x_344 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set(x_344, 1, x_343); +lean_inc(x_2); +x_345 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_345, 0, x_2); x_346 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_346, 0, x_344); lean_ctor_set(x_346, 1, x_345); -lean_inc(x_2); -x_347 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_347, 0, x_2); -x_348 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_348, 0, x_346); -lean_ctor_set(x_348, 1, x_347); -x_349 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_343); -x_350 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_351 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_350, x_349, x_3, x_4, x_5, x_6, x_341); -x_352 = lean_ctor_get(x_351, 1); -lean_inc(x_352); -lean_dec(x_351); -x_11 = x_352; -goto block_339; +x_347 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_341); +x_348 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_334, x_347, x_3, x_4, x_5, x_6, x_336); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_348, 1); +lean_inc(x_350); +lean_dec(x_348); +x_351 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_352 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_351, x_349, x_3, x_4, x_5, x_6, x_350); +lean_dec(x_349); +return x_352; } } } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; lean_object* x_370; lean_object* x_371; +lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; lean_object* x_369; lean_object* x_370; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_366 = lean_unsigned_to_nat(0u); -x_367 = l_Lean_Level_getOffsetAux(x_1, x_366); +x_365 = lean_unsigned_to_nat(0u); +x_366 = l_Lean_Level_getOffsetAux(x_1, x_365); lean_dec(x_1); -x_368 = l_Lean_Level_getOffsetAux(x_2, x_366); +x_367 = l_Lean_Level_getOffsetAux(x_2, x_365); lean_dec(x_2); -x_369 = lean_nat_dec_eq(x_367, x_368); -lean_dec(x_368); +x_368 = lean_nat_dec_eq(x_366, x_367); lean_dec(x_367); -x_370 = lean_box(x_369); -x_371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_7); -return x_371; +lean_dec(x_366); +x_369 = lean_box(x_368); +x_370 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_370, 0, x_369); +lean_ctor_set(x_370, 1, x_7); +return x_370; } } -case 1: +default: { -switch (lean_obj_tag(x_2)) { -case 0: -{ -lean_object* x_372; lean_object* x_373; uint8_t x_374; -x_372 = l_Lean_Level_getLevelOffset(x_1); -x_373 = l_Lean_Level_getLevelOffset(x_2); -x_374 = lean_level_eq(x_372, x_373); -lean_dec(x_373); +lean_object* x_371; lean_object* x_372; uint8_t x_373; +x_371 = l_Lean_Level_getLevelOffset(x_1); +x_372 = l_Lean_Level_getLevelOffset(x_2); +x_373 = lean_level_eq(x_371, x_372); lean_dec(x_372); -if (x_374 == 0) +lean_dec(x_371); +if (x_373 == 0) { -lean_object* x_375; uint8_t x_704; lean_object* x_705; lean_object* x_718; lean_object* x_719; lean_object* x_720; uint8_t x_721; -x_718 = lean_st_ref_get(x_6, x_7); -x_719 = lean_ctor_get(x_718, 0); -lean_inc(x_719); -x_720 = lean_ctor_get(x_719, 3); -lean_inc(x_720); -lean_dec(x_719); -x_721 = lean_ctor_get_uint8(x_720, sizeof(void*)*1); -lean_dec(x_720); -if (x_721 == 0) +lean_object* x_374; uint8_t x_375; lean_object* x_376; lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +x_374 = l_Lean_Meta_isLevelDefEqAux___closed__2; +x_394 = lean_st_ref_get(x_6, x_7); +x_395 = lean_ctor_get(x_394, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_395, 3); +lean_inc(x_396); +lean_dec(x_395); +x_397 = lean_ctor_get_uint8(x_396, sizeof(void*)*1); +lean_dec(x_396); +if (x_397 == 0) { -lean_object* x_722; uint8_t x_723; -x_722 = lean_ctor_get(x_718, 1); -lean_inc(x_722); -lean_dec(x_718); -x_723 = 0; -x_704 = x_723; -x_705 = x_722; -goto block_717; +lean_object* x_398; uint8_t x_399; +x_398 = lean_ctor_get(x_394, 1); +lean_inc(x_398); +lean_dec(x_394); +x_399 = 0; +x_375 = x_399; +x_376 = x_398; +goto block_393; } else { -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; uint8_t x_729; -x_724 = lean_ctor_get(x_718, 1); -lean_inc(x_724); -lean_dec(x_718); -x_725 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_726 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_725, x_3, x_4, x_5, x_6, x_724); -x_727 = lean_ctor_get(x_726, 0); -lean_inc(x_727); -x_728 = lean_ctor_get(x_726, 1); -lean_inc(x_728); -lean_dec(x_726); -x_729 = lean_unbox(x_727); -lean_dec(x_727); -x_704 = x_729; -x_705 = x_728; -goto block_717; -} -block_703: -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; -lean_inc(x_1); -x_376 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_375); -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = l_Lean_Level_normalize(x_377); -lean_dec(x_377); -lean_inc(x_2); -x_380 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_378); -x_381 = lean_ctor_get(x_380, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_380, 1); -lean_inc(x_382); -lean_dec(x_380); -x_383 = l_Lean_Level_normalize(x_381); -lean_dec(x_381); -x_384 = lean_level_eq(x_1, x_379); -if (x_384 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_379; -x_2 = x_383; -x_7 = x_382; -goto _start; -} -else -{ -uint8_t x_386; -x_386 = lean_level_eq(x_2, x_383); -if (x_386 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_379; -x_2 = x_383; -x_7 = x_382; -goto _start; -} -else -{ -lean_object* x_388; -lean_dec(x_383); -lean_dec(x_379); -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_388 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_382); -if (lean_obj_tag(x_388) == 0) -{ -uint8_t x_389; -x_389 = !lean_is_exclusive(x_388); -if (x_389 == 0) -{ -lean_object* x_390; lean_object* x_391; uint8_t x_392; uint8_t x_393; uint8_t x_394; -x_390 = lean_ctor_get(x_388, 0); -x_391 = lean_ctor_get(x_388, 1); -x_392 = 2; -x_393 = lean_unbox(x_390); -x_394 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_393, x_392); -if (x_394 == 0) -{ -uint8_t x_395; uint8_t x_396; uint8_t x_397; lean_object* x_398; -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_395 = 1; -x_396 = lean_unbox(x_390); -lean_dec(x_390); -x_397 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_396, x_395); -x_398 = lean_box(x_397); -lean_ctor_set(x_388, 0, x_398); -return x_388; -} -else -{ -lean_object* x_399; -lean_free_object(x_388); -lean_dec(x_390); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_399 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_391); -if (lean_obj_tag(x_399) == 0) -{ -uint8_t x_400; -x_400 = !lean_is_exclusive(x_399); -if (x_400 == 0) -{ -lean_object* x_401; lean_object* x_402; uint8_t x_403; uint8_t x_404; -x_401 = lean_ctor_get(x_399, 0); -x_402 = lean_ctor_get(x_399, 1); -x_403 = lean_unbox(x_401); -x_404 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_403, x_392); -if (x_404 == 0) -{ -uint8_t x_405; uint8_t x_406; uint8_t x_407; lean_object* x_408; -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_405 = 1; -x_406 = lean_unbox(x_401); +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; +x_400 = lean_ctor_get(x_394, 1); +lean_inc(x_400); +lean_dec(x_394); +x_401 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_374, x_3, x_4, x_5, x_6, x_400); +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); lean_dec(x_401); -x_407 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_406, x_405); -x_408 = lean_box(x_407); -lean_ctor_set(x_399, 0, x_408); -return x_399; +x_404 = lean_unbox(x_402); +lean_dec(x_402); +x_375 = x_404; +x_376 = x_403; +goto block_393; +} +block_393: +{ +if (x_375 == 0) +{ +lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_377 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_378 = lean_box(0); +x_379 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_377, x_378, x_3, x_4, x_5, x_6, x_376); +return x_379; } else { -lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; -lean_free_object(x_399); -lean_dec(x_401); -x_409 = lean_st_ref_get(x_6, x_402); -x_410 = lean_ctor_get(x_409, 1); -lean_inc(x_410); -lean_dec(x_409); -x_411 = lean_st_ref_get(x_4, x_410); -x_412 = !lean_is_exclusive(x_411); -if (x_412 == 0) -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; uint8_t x_416; -x_413 = lean_ctor_get(x_411, 0); -x_414 = lean_ctor_get(x_411, 1); -x_415 = lean_ctor_get(x_413, 0); -lean_inc(x_415); -lean_dec(x_413); -lean_inc(x_415); -x_416 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_415, x_1); -if (x_416 == 0) -{ -uint8_t x_417; -x_417 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_415, x_2); -if (x_417 == 0) -{ -lean_object* x_418; lean_object* x_448; uint8_t x_449; -x_448 = lean_ctor_get(x_3, 0); -lean_inc(x_448); -x_449 = lean_ctor_get_uint8(x_448, 4); -lean_dec(x_448); -if (x_449 == 0) -{ -uint8_t x_450; lean_object* x_451; -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_450 = 0; -x_451 = lean_box(x_450); -lean_ctor_set(x_411, 0, x_451); -return x_411; -} -else -{ -uint8_t x_452; -x_452 = l_Lean_Level_isMVar(x_1); -if (x_452 == 0) -{ -uint8_t x_453; -x_453 = l_Lean_Level_isMVar(x_2); -if (x_453 == 0) -{ -uint8_t x_454; lean_object* x_455; -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_454 = 0; -x_455 = lean_box(x_454); -lean_ctor_set(x_411, 0, x_455); -return x_411; -} -else -{ -lean_object* x_456; -lean_free_object(x_411); -x_456 = lean_box(0); -x_418 = x_456; -goto block_447; -} -} -else -{ -lean_object* x_457; -lean_free_object(x_411); -x_457 = lean_box(0); -x_418 = x_457; -goto block_447; -} -} -block_447: -{ -uint8_t x_419; lean_object* x_420; lean_object* x_435; lean_object* x_436; lean_object* x_437; uint8_t x_438; -lean_dec(x_418); -x_435 = lean_st_ref_get(x_6, x_414); -x_436 = lean_ctor_get(x_435, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_436, 3); -lean_inc(x_437); -lean_dec(x_436); -x_438 = lean_ctor_get_uint8(x_437, sizeof(void*)*1); -lean_dec(x_437); -if (x_438 == 0) -{ -lean_object* x_439; uint8_t x_440; -x_439 = lean_ctor_get(x_435, 1); -lean_inc(x_439); -lean_dec(x_435); -x_440 = 0; -x_419 = x_440; -x_420 = x_439; -goto block_434; -} -else -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; -x_441 = lean_ctor_get(x_435, 1); -lean_inc(x_441); -lean_dec(x_435); -x_442 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_443 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_442, x_3, x_4, x_5, x_6, x_441); -x_444 = lean_ctor_get(x_443, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_443, 1); -lean_inc(x_445); -lean_dec(x_443); -x_446 = lean_unbox(x_444); -lean_dec(x_444); -x_419 = x_446; -x_420 = x_445; -goto block_434; -} -block_434: -{ -if (x_419 == 0) -{ -lean_object* x_421; -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_421 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_420); -return x_421; -} -else -{ -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_422 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_422, 0, x_1); -x_423 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_424 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_424, 0, x_423); -lean_ctor_set(x_424, 1, x_422); -x_425 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_426 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_426, 0, x_424); -lean_ctor_set(x_426, 1, x_425); -x_427 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_427, 0, x_2); -x_428 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_428, 0, x_426); -lean_ctor_set(x_428, 1, x_427); -x_429 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_429, 0, x_428); -lean_ctor_set(x_429, 1, x_423); -x_430 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_431 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_430, x_429, x_3, x_4, x_5, x_6, x_420); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_432 = lean_ctor_get(x_431, 1); -lean_inc(x_432); -lean_dec(x_431); -x_433 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_432); -return x_433; -} -} -} -} -else -{ -lean_object* x_458; uint8_t x_459; -lean_free_object(x_411); -x_458 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_414); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_459 = !lean_is_exclusive(x_458); -if (x_459 == 0) -{ -lean_object* x_460; uint8_t x_461; lean_object* x_462; -x_460 = lean_ctor_get(x_458, 0); -lean_dec(x_460); -x_461 = 1; -x_462 = lean_box(x_461); -lean_ctor_set(x_458, 0, x_462); -return x_458; -} -else -{ -lean_object* x_463; uint8_t x_464; lean_object* x_465; lean_object* x_466; -x_463 = lean_ctor_get(x_458, 1); -lean_inc(x_463); -lean_dec(x_458); -x_464 = 1; -x_465 = lean_box(x_464); -x_466 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_463); -return x_466; -} -} -} -else -{ -lean_object* x_467; uint8_t x_468; -lean_dec(x_415); -lean_free_object(x_411); -x_467 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_414); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_468 = !lean_is_exclusive(x_467); -if (x_468 == 0) -{ -lean_object* x_469; uint8_t x_470; lean_object* x_471; -x_469 = lean_ctor_get(x_467, 0); -lean_dec(x_469); -x_470 = 1; -x_471 = lean_box(x_470); -lean_ctor_set(x_467, 0, x_471); -return x_467; -} -else -{ -lean_object* x_472; uint8_t x_473; lean_object* x_474; lean_object* x_475; -x_472 = lean_ctor_get(x_467, 1); -lean_inc(x_472); -lean_dec(x_467); -x_473 = 1; -x_474 = lean_box(x_473); -x_475 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_472); -return x_475; -} -} -} -else -{ -lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; -x_476 = lean_ctor_get(x_411, 0); -x_477 = lean_ctor_get(x_411, 1); -lean_inc(x_477); -lean_inc(x_476); -lean_dec(x_411); -x_478 = lean_ctor_get(x_476, 0); -lean_inc(x_478); -lean_dec(x_476); -lean_inc(x_478); -x_479 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_478, x_1); -if (x_479 == 0) -{ -uint8_t x_480; -x_480 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_478, x_2); -if (x_480 == 0) -{ -lean_object* x_481; lean_object* x_511; uint8_t x_512; -x_511 = lean_ctor_get(x_3, 0); -lean_inc(x_511); -x_512 = lean_ctor_get_uint8(x_511, 4); -lean_dec(x_511); -if (x_512 == 0) -{ -uint8_t x_513; lean_object* x_514; lean_object* x_515; -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_513 = 0; -x_514 = lean_box(x_513); -x_515 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_477); -return x_515; -} -else -{ -uint8_t x_516; -x_516 = l_Lean_Level_isMVar(x_1); -if (x_516 == 0) -{ -uint8_t x_517; -x_517 = l_Lean_Level_isMVar(x_2); -if (x_517 == 0) -{ -uint8_t x_518; lean_object* x_519; lean_object* x_520; -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_518 = 0; -x_519 = lean_box(x_518); -x_520 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_477); -return x_520; -} -else -{ -lean_object* x_521; -x_521 = lean_box(0); -x_481 = x_521; -goto block_510; -} -} -else -{ -lean_object* x_522; -x_522 = lean_box(0); -x_481 = x_522; -goto block_510; -} -} -block_510: -{ -uint8_t x_482; lean_object* x_483; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; -lean_dec(x_481); -x_498 = lean_st_ref_get(x_6, x_477); -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_499, 3); -lean_inc(x_500); -lean_dec(x_499); -x_501 = lean_ctor_get_uint8(x_500, sizeof(void*)*1); -lean_dec(x_500); -if (x_501 == 0) -{ -lean_object* x_502; uint8_t x_503; -x_502 = lean_ctor_get(x_498, 1); -lean_inc(x_502); -lean_dec(x_498); -x_503 = 0; -x_482 = x_503; -x_483 = x_502; -goto block_497; -} -else -{ -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; -x_504 = lean_ctor_get(x_498, 1); -lean_inc(x_504); -lean_dec(x_498); -x_505 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_506 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_505, x_3, x_4, x_5, x_6, x_504); -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_506, 1); -lean_inc(x_508); -lean_dec(x_506); -x_509 = lean_unbox(x_507); -lean_dec(x_507); -x_482 = x_509; -x_483 = x_508; -goto block_497; -} -block_497: -{ -if (x_482 == 0) -{ -lean_object* x_484; -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_484 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_483); -return x_484; -} -else -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_485 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_485, 0, x_1); -x_486 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_487 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_487, 0, x_486); -lean_ctor_set(x_487, 1, x_485); -x_488 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_489 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_489, 0, x_487); -lean_ctor_set(x_489, 1, x_488); -x_490 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_490, 0, x_2); -x_491 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_491, 0, x_489); -lean_ctor_set(x_491, 1, x_490); -x_492 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_486); -x_493 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_494 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_493, x_492, x_3, x_4, x_5, x_6, x_483); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_495 = lean_ctor_get(x_494, 1); -lean_inc(x_495); -lean_dec(x_494); -x_496 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_495); -return x_496; -} -} -} -} -else -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_528; -x_523 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_477); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_524 = lean_ctor_get(x_523, 1); -lean_inc(x_524); -if (lean_is_exclusive(x_523)) { - lean_ctor_release(x_523, 0); - lean_ctor_release(x_523, 1); - x_525 = x_523; -} else { - lean_dec_ref(x_523); - x_525 = lean_box(0); -} -x_526 = 1; -x_527 = lean_box(x_526); -if (lean_is_scalar(x_525)) { - x_528 = lean_alloc_ctor(0, 2, 0); -} else { - x_528 = x_525; -} -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_524); -return x_528; -} -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; uint8_t x_532; lean_object* x_533; lean_object* x_534; -lean_dec(x_478); -x_529 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_477); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_530 = lean_ctor_get(x_529, 1); -lean_inc(x_530); -if (lean_is_exclusive(x_529)) { - lean_ctor_release(x_529, 0); - lean_ctor_release(x_529, 1); - x_531 = x_529; -} else { - lean_dec_ref(x_529); - x_531 = lean_box(0); -} -x_532 = 1; -x_533 = lean_box(x_532); -if (lean_is_scalar(x_531)) { - x_534 = lean_alloc_ctor(0, 2, 0); -} else { - x_534 = x_531; -} -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_530); -return x_534; -} -} -} -} -else -{ -lean_object* x_535; lean_object* x_536; uint8_t x_537; uint8_t x_538; -x_535 = lean_ctor_get(x_399, 0); -x_536 = lean_ctor_get(x_399, 1); -lean_inc(x_536); -lean_inc(x_535); -lean_dec(x_399); -x_537 = lean_unbox(x_535); -x_538 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_537, x_392); -if (x_538 == 0) -{ -uint8_t x_539; uint8_t x_540; uint8_t x_541; lean_object* x_542; lean_object* x_543; -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_539 = 1; -x_540 = lean_unbox(x_535); -lean_dec(x_535); -x_541 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_540, x_539); -x_542 = lean_box(x_541); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_536); -return x_543; -} -else -{ -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t x_551; -lean_dec(x_535); -x_544 = lean_st_ref_get(x_6, x_536); -x_545 = lean_ctor_get(x_544, 1); -lean_inc(x_545); -lean_dec(x_544); -x_546 = lean_st_ref_get(x_4, x_545); -x_547 = lean_ctor_get(x_546, 0); -lean_inc(x_547); -x_548 = lean_ctor_get(x_546, 1); -lean_inc(x_548); -if (lean_is_exclusive(x_546)) { - lean_ctor_release(x_546, 0); - lean_ctor_release(x_546, 1); - x_549 = x_546; -} else { - lean_dec_ref(x_546); - x_549 = lean_box(0); -} -x_550 = lean_ctor_get(x_547, 0); -lean_inc(x_550); -lean_dec(x_547); -lean_inc(x_550); -x_551 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_550, x_1); -if (x_551 == 0) -{ -uint8_t x_552; -x_552 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_550, x_2); -if (x_552 == 0) -{ -lean_object* x_553; lean_object* x_583; uint8_t x_584; -x_583 = lean_ctor_get(x_3, 0); -lean_inc(x_583); -x_584 = lean_ctor_get_uint8(x_583, 4); -lean_dec(x_583); -if (x_584 == 0) -{ -uint8_t x_585; lean_object* x_586; lean_object* x_587; -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_585 = 0; -x_586 = lean_box(x_585); -if (lean_is_scalar(x_549)) { - x_587 = lean_alloc_ctor(0, 2, 0); -} else { - x_587 = x_549; -} -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_548); -return x_587; -} -else -{ -uint8_t x_588; -x_588 = l_Lean_Level_isMVar(x_1); -if (x_588 == 0) -{ -uint8_t x_589; -x_589 = l_Lean_Level_isMVar(x_2); -if (x_589 == 0) -{ -uint8_t x_590; lean_object* x_591; lean_object* x_592; -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_590 = 0; -x_591 = lean_box(x_590); -if (lean_is_scalar(x_549)) { - x_592 = lean_alloc_ctor(0, 2, 0); -} else { - x_592 = x_549; -} -lean_ctor_set(x_592, 0, x_591); -lean_ctor_set(x_592, 1, x_548); -return x_592; -} -else -{ -lean_object* x_593; -lean_dec(x_549); -x_593 = lean_box(0); -x_553 = x_593; -goto block_582; -} -} -else -{ -lean_object* x_594; -lean_dec(x_549); -x_594 = lean_box(0); -x_553 = x_594; -goto block_582; -} -} -block_582: -{ -uint8_t x_554; lean_object* x_555; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; -lean_dec(x_553); -x_570 = lean_st_ref_get(x_6, x_548); -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_571, 3); -lean_inc(x_572); -lean_dec(x_571); -x_573 = lean_ctor_get_uint8(x_572, sizeof(void*)*1); -lean_dec(x_572); -if (x_573 == 0) -{ -lean_object* x_574; uint8_t x_575; -x_574 = lean_ctor_get(x_570, 1); -lean_inc(x_574); -lean_dec(x_570); -x_575 = 0; -x_554 = x_575; -x_555 = x_574; -goto block_569; -} -else -{ -lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; -x_576 = lean_ctor_get(x_570, 1); -lean_inc(x_576); -lean_dec(x_570); -x_577 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_578 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_577, x_3, x_4, x_5, x_6, x_576); -x_579 = lean_ctor_get(x_578, 0); -lean_inc(x_579); -x_580 = lean_ctor_get(x_578, 1); -lean_inc(x_580); -lean_dec(x_578); -x_581 = lean_unbox(x_579); -lean_dec(x_579); -x_554 = x_581; -x_555 = x_580; -goto block_569; -} -block_569: -{ -if (x_554 == 0) -{ -lean_object* x_556; -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_556 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_555); -return x_556; -} -else -{ -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; -x_557 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_557, 0, x_1); -x_558 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_559 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_559, 0, x_558); -lean_ctor_set(x_559, 1, x_557); -x_560 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_562, 0, x_2); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_564, 0, x_563); -lean_ctor_set(x_564, 1, x_558); -x_565 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_566 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_565, x_564, x_3, x_4, x_5, x_6, x_555); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_567 = lean_ctor_get(x_566, 1); -lean_inc(x_567); -lean_dec(x_566); -x_568 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_567); -return x_568; -} -} -} -} -else -{ -lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_598; lean_object* x_599; lean_object* x_600; -lean_dec(x_549); -x_595 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_548); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_596 = lean_ctor_get(x_595, 1); -lean_inc(x_596); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_597 = x_595; -} else { - lean_dec_ref(x_595); - x_597 = lean_box(0); -} -x_598 = 1; -x_599 = lean_box(x_598); -if (lean_is_scalar(x_597)) { - x_600 = lean_alloc_ctor(0, 2, 0); -} else { - x_600 = x_597; -} -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_596); -return x_600; -} -} -else -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; uint8_t x_604; lean_object* x_605; lean_object* x_606; -lean_dec(x_550); -lean_dec(x_549); -x_601 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_548); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_602 = lean_ctor_get(x_601, 1); -lean_inc(x_602); -if (lean_is_exclusive(x_601)) { - lean_ctor_release(x_601, 0); - lean_ctor_release(x_601, 1); - x_603 = x_601; -} else { - lean_dec_ref(x_601); - x_603 = lean_box(0); -} -x_604 = 1; -x_605 = lean_box(x_604); -if (lean_is_scalar(x_603)) { - x_606 = lean_alloc_ctor(0, 2, 0); -} else { - x_606 = x_603; -} -lean_ctor_set(x_606, 0, x_605); -lean_ctor_set(x_606, 1, x_602); -return x_606; -} -} -} -} -else -{ -uint8_t x_607; -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_607 = !lean_is_exclusive(x_399); -if (x_607 == 0) -{ -return x_399; -} -else -{ -lean_object* x_608; lean_object* x_609; lean_object* x_610; -x_608 = lean_ctor_get(x_399, 0); -x_609 = lean_ctor_get(x_399, 1); -lean_inc(x_609); -lean_inc(x_608); -lean_dec(x_399); -x_610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_610, 0, x_608); -lean_ctor_set(x_610, 1, x_609); -return x_610; -} -} -} -} -else -{ -lean_object* x_611; lean_object* x_612; uint8_t x_613; uint8_t x_614; uint8_t x_615; -x_611 = lean_ctor_get(x_388, 0); -x_612 = lean_ctor_get(x_388, 1); -lean_inc(x_612); -lean_inc(x_611); +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +lean_inc(x_1); +x_380 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_380, 0, x_1); +x_381 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_382 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +x_383 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_384 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_384, 0, x_382); +lean_ctor_set(x_384, 1, x_383); +lean_inc(x_2); +x_385 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_385, 0, x_2); +x_386 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); +x_387 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_381); +x_388 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_374, x_387, x_3, x_4, x_5, x_6, x_376); +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +x_390 = lean_ctor_get(x_388, 1); +lean_inc(x_390); lean_dec(x_388); -x_613 = 2; -x_614 = lean_unbox(x_611); -x_615 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_614, x_613); -if (x_615 == 0) -{ -uint8_t x_616; uint8_t x_617; uint8_t x_618; lean_object* x_619; lean_object* x_620; -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_616 = 1; -x_617 = lean_unbox(x_611); -lean_dec(x_611); -x_618 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_617, x_616); -x_619 = lean_box(x_618); -x_620 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_612); -return x_620; -} -else -{ -lean_object* x_621; -lean_dec(x_611); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_621 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_612); -if (lean_obj_tag(x_621) == 0) -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; uint8_t x_626; -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -if (lean_is_exclusive(x_621)) { - lean_ctor_release(x_621, 0); - lean_ctor_release(x_621, 1); - x_624 = x_621; -} else { - lean_dec_ref(x_621); - x_624 = lean_box(0); -} -x_625 = lean_unbox(x_622); -x_626 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_625, x_613); -if (x_626 == 0) -{ -uint8_t x_627; uint8_t x_628; uint8_t x_629; lean_object* x_630; lean_object* x_631; -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_627 = 1; -x_628 = lean_unbox(x_622); -lean_dec(x_622); -x_629 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_628, x_627); -x_630 = lean_box(x_629); -if (lean_is_scalar(x_624)) { - x_631 = lean_alloc_ctor(0, 2, 0); -} else { - x_631 = x_624; -} -lean_ctor_set(x_631, 0, x_630); -lean_ctor_set(x_631, 1, x_623); -return x_631; -} -else -{ -lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; uint8_t x_639; -lean_dec(x_624); -lean_dec(x_622); -x_632 = lean_st_ref_get(x_6, x_623); -x_633 = lean_ctor_get(x_632, 1); -lean_inc(x_633); -lean_dec(x_632); -x_634 = lean_st_ref_get(x_4, x_633); -x_635 = lean_ctor_get(x_634, 0); -lean_inc(x_635); -x_636 = lean_ctor_get(x_634, 1); -lean_inc(x_636); -if (lean_is_exclusive(x_634)) { - lean_ctor_release(x_634, 0); - lean_ctor_release(x_634, 1); - x_637 = x_634; -} else { - lean_dec_ref(x_634); - x_637 = lean_box(0); -} -x_638 = lean_ctor_get(x_635, 0); -lean_inc(x_638); -lean_dec(x_635); -lean_inc(x_638); -x_639 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_638, x_1); -if (x_639 == 0) -{ -uint8_t x_640; -x_640 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_638, x_2); -if (x_640 == 0) -{ -lean_object* x_641; lean_object* x_671; uint8_t x_672; -x_671 = lean_ctor_get(x_3, 0); -lean_inc(x_671); -x_672 = lean_ctor_get_uint8(x_671, 4); -lean_dec(x_671); -if (x_672 == 0) -{ -uint8_t x_673; lean_object* x_674; lean_object* x_675; -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_673 = 0; -x_674 = lean_box(x_673); -if (lean_is_scalar(x_637)) { - x_675 = lean_alloc_ctor(0, 2, 0); -} else { - x_675 = x_637; -} -lean_ctor_set(x_675, 0, x_674); -lean_ctor_set(x_675, 1, x_636); -return x_675; -} -else -{ -uint8_t x_676; -x_676 = l_Lean_Level_isMVar(x_1); -if (x_676 == 0) -{ -uint8_t x_677; -x_677 = l_Lean_Level_isMVar(x_2); -if (x_677 == 0) -{ -uint8_t x_678; lean_object* x_679; lean_object* x_680; -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_678 = 0; -x_679 = lean_box(x_678); -if (lean_is_scalar(x_637)) { - x_680 = lean_alloc_ctor(0, 2, 0); -} else { - x_680 = x_637; -} -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_636); -return x_680; -} -else -{ -lean_object* x_681; -lean_dec(x_637); -x_681 = lean_box(0); -x_641 = x_681; -goto block_670; -} -} -else -{ -lean_object* x_682; -lean_dec(x_637); -x_682 = lean_box(0); -x_641 = x_682; -goto block_670; -} -} -block_670: -{ -uint8_t x_642; lean_object* x_643; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_661; -lean_dec(x_641); -x_658 = lean_st_ref_get(x_6, x_636); -x_659 = lean_ctor_get(x_658, 0); -lean_inc(x_659); -x_660 = lean_ctor_get(x_659, 3); -lean_inc(x_660); -lean_dec(x_659); -x_661 = lean_ctor_get_uint8(x_660, sizeof(void*)*1); -lean_dec(x_660); -if (x_661 == 0) -{ -lean_object* x_662; uint8_t x_663; -x_662 = lean_ctor_get(x_658, 1); -lean_inc(x_662); -lean_dec(x_658); -x_663 = 0; -x_642 = x_663; -x_643 = x_662; -goto block_657; -} -else -{ -lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; uint8_t x_669; -x_664 = lean_ctor_get(x_658, 1); -lean_inc(x_664); -lean_dec(x_658); -x_665 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_666 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_665, x_3, x_4, x_5, x_6, x_664); -x_667 = lean_ctor_get(x_666, 0); -lean_inc(x_667); -x_668 = lean_ctor_get(x_666, 1); -lean_inc(x_668); -lean_dec(x_666); -x_669 = lean_unbox(x_667); -lean_dec(x_667); -x_642 = x_669; -x_643 = x_668; -goto block_657; -} -block_657: -{ -if (x_642 == 0) -{ -lean_object* x_644; -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_644 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_643); -return x_644; -} -else -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; -x_645 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_645, 0, x_1); -x_646 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_647 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -x_648 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_649 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_649, 0, x_647); -lean_ctor_set(x_649, 1, x_648); -x_650 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_650, 0, x_2); -x_651 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_651, 0, x_649); -lean_ctor_set(x_651, 1, x_650); -x_652 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_652, 0, x_651); -lean_ctor_set(x_652, 1, x_646); -x_653 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_654 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_653, x_652, x_3, x_4, x_5, x_6, x_643); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_655 = lean_ctor_get(x_654, 1); -lean_inc(x_655); -lean_dec(x_654); -x_656 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_655); -return x_656; -} -} -} -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; lean_object* x_687; lean_object* x_688; -lean_dec(x_637); -x_683 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_636); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_684 = lean_ctor_get(x_683, 1); -lean_inc(x_684); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_685 = x_683; -} else { - lean_dec_ref(x_683); - x_685 = lean_box(0); -} -x_686 = 1; -x_687 = lean_box(x_686); -if (lean_is_scalar(x_685)) { - x_688 = lean_alloc_ctor(0, 2, 0); -} else { - x_688 = x_685; -} -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_684); -return x_688; -} -} -else -{ -lean_object* x_689; lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_object* x_693; lean_object* x_694; -lean_dec(x_638); -lean_dec(x_637); -x_689 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_636); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_690 = lean_ctor_get(x_689, 1); -lean_inc(x_690); -if (lean_is_exclusive(x_689)) { - lean_ctor_release(x_689, 0); - lean_ctor_release(x_689, 1); - x_691 = x_689; -} else { - lean_dec_ref(x_689); - x_691 = lean_box(0); -} -x_692 = 1; -x_693 = lean_box(x_692); -if (lean_is_scalar(x_691)) { - x_694 = lean_alloc_ctor(0, 2, 0); -} else { - x_694 = x_691; -} -lean_ctor_set(x_694, 0, x_693); -lean_ctor_set(x_694, 1, x_690); -return x_694; -} -} -} -else -{ -lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; -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_695 = lean_ctor_get(x_621, 0); -lean_inc(x_695); -x_696 = lean_ctor_get(x_621, 1); -lean_inc(x_696); -if (lean_is_exclusive(x_621)) { - lean_ctor_release(x_621, 0); - lean_ctor_release(x_621, 1); - x_697 = x_621; -} else { - lean_dec_ref(x_621); - x_697 = lean_box(0); -} -if (lean_is_scalar(x_697)) { - x_698 = lean_alloc_ctor(1, 2, 0); -} else { - x_698 = x_697; -} -lean_ctor_set(x_698, 0, x_695); -lean_ctor_set(x_698, 1, x_696); -return x_698; -} -} -} -} -else -{ -uint8_t x_699; -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_699 = !lean_is_exclusive(x_388); -if (x_699 == 0) -{ -return x_388; -} -else -{ -lean_object* x_700; lean_object* x_701; lean_object* x_702; -x_700 = lean_ctor_get(x_388, 0); -x_701 = lean_ctor_get(x_388, 1); -lean_inc(x_701); -lean_inc(x_700); -lean_dec(x_388); -x_702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_702, 0, x_700); -lean_ctor_set(x_702, 1, x_701); -return x_702; -} -} -} -} -} -block_717: -{ -if (x_704 == 0) -{ -x_375 = x_705; -goto block_703; -} -else -{ -lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -lean_inc(x_1); -x_706 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_706, 0, x_1); -x_707 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_708 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_708, 0, x_707); -lean_ctor_set(x_708, 1, x_706); -x_709 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_710 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_710, 0, x_708); -lean_ctor_set(x_710, 1, x_709); -lean_inc(x_2); -x_711 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_711, 0, x_2); -x_712 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_712, 0, x_710); -lean_ctor_set(x_712, 1, x_711); -x_713 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_707); -x_714 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_715 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_714, x_713, x_3, x_4, x_5, x_6, x_705); -x_716 = lean_ctor_get(x_715, 1); -lean_inc(x_716); -lean_dec(x_715); -x_375 = x_716; -goto block_703; -} -} -} -else -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; uint8_t x_733; lean_object* x_734; lean_object* x_735; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_730 = lean_unsigned_to_nat(0u); -x_731 = l_Lean_Level_getOffsetAux(x_1, x_730); -lean_dec(x_1); -x_732 = l_Lean_Level_getOffsetAux(x_2, x_730); -lean_dec(x_2); -x_733 = lean_nat_dec_eq(x_731, x_732); -lean_dec(x_732); -lean_dec(x_731); -x_734 = lean_box(x_733); -x_735 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_735, 0, x_734); -lean_ctor_set(x_735, 1, x_7); -return x_735; -} -} -case 1: -{ -lean_object* x_736; lean_object* x_737; -x_736 = lean_ctor_get(x_1, 0); -lean_inc(x_736); -lean_dec(x_1); -x_737 = lean_ctor_get(x_2, 0); -lean_inc(x_737); -lean_dec(x_2); -x_1 = x_736; -x_2 = x_737; -goto _start; -} -case 2: -{ -lean_object* x_739; lean_object* x_740; uint8_t x_741; -x_739 = l_Lean_Level_getLevelOffset(x_1); -x_740 = l_Lean_Level_getLevelOffset(x_2); -x_741 = lean_level_eq(x_739, x_740); -lean_dec(x_740); -lean_dec(x_739); -if (x_741 == 0) -{ -lean_object* x_742; uint8_t x_1071; lean_object* x_1072; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; uint8_t x_1088; -x_1085 = lean_st_ref_get(x_6, x_7); -x_1086 = lean_ctor_get(x_1085, 0); -lean_inc(x_1086); -x_1087 = lean_ctor_get(x_1086, 3); -lean_inc(x_1087); -lean_dec(x_1086); -x_1088 = lean_ctor_get_uint8(x_1087, sizeof(void*)*1); -lean_dec(x_1087); -if (x_1088 == 0) -{ -lean_object* x_1089; uint8_t x_1090; -x_1089 = lean_ctor_get(x_1085, 1); -lean_inc(x_1089); -lean_dec(x_1085); -x_1090 = 0; -x_1071 = x_1090; -x_1072 = x_1089; -goto block_1084; -} -else -{ -lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; uint8_t x_1096; -x_1091 = lean_ctor_get(x_1085, 1); -lean_inc(x_1091); -lean_dec(x_1085); -x_1092 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1093 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1092, x_3, x_4, x_5, x_6, x_1091); -x_1094 = lean_ctor_get(x_1093, 0); -lean_inc(x_1094); -x_1095 = lean_ctor_get(x_1093, 1); -lean_inc(x_1095); -lean_dec(x_1093); -x_1096 = lean_unbox(x_1094); -lean_dec(x_1094); -x_1071 = x_1096; -x_1072 = x_1095; -goto block_1084; -} -block_1070: -{ -lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; uint8_t x_751; -lean_inc(x_1); -x_743 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_742); -x_744 = lean_ctor_get(x_743, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_743, 1); -lean_inc(x_745); -lean_dec(x_743); -x_746 = l_Lean_Level_normalize(x_744); -lean_dec(x_744); -lean_inc(x_2); -x_747 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_745); -x_748 = lean_ctor_get(x_747, 0); -lean_inc(x_748); -x_749 = lean_ctor_get(x_747, 1); -lean_inc(x_749); -lean_dec(x_747); -x_750 = l_Lean_Level_normalize(x_748); -lean_dec(x_748); -x_751 = lean_level_eq(x_1, x_746); -if (x_751 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_746; -x_2 = x_750; -x_7 = x_749; -goto _start; -} -else -{ -uint8_t x_753; -x_753 = lean_level_eq(x_2, x_750); -if (x_753 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_746; -x_2 = x_750; -x_7 = x_749; -goto _start; -} -else -{ -lean_object* x_755; -lean_dec(x_750); -lean_dec(x_746); -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_755 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_749); -if (lean_obj_tag(x_755) == 0) -{ -uint8_t x_756; -x_756 = !lean_is_exclusive(x_755); -if (x_756 == 0) -{ -lean_object* x_757; lean_object* x_758; uint8_t x_759; uint8_t x_760; uint8_t x_761; -x_757 = lean_ctor_get(x_755, 0); -x_758 = lean_ctor_get(x_755, 1); -x_759 = 2; -x_760 = lean_unbox(x_757); -x_761 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_760, x_759); -if (x_761 == 0) -{ -uint8_t x_762; uint8_t x_763; uint8_t x_764; lean_object* x_765; -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_762 = 1; -x_763 = lean_unbox(x_757); -lean_dec(x_757); -x_764 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_763, x_762); -x_765 = lean_box(x_764); -lean_ctor_set(x_755, 0, x_765); -return x_755; -} -else -{ -lean_object* x_766; -lean_free_object(x_755); -lean_dec(x_757); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_766 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_758); -if (lean_obj_tag(x_766) == 0) -{ -uint8_t x_767; -x_767 = !lean_is_exclusive(x_766); -if (x_767 == 0) -{ -lean_object* x_768; lean_object* x_769; uint8_t x_770; uint8_t x_771; -x_768 = lean_ctor_get(x_766, 0); -x_769 = lean_ctor_get(x_766, 1); -x_770 = lean_unbox(x_768); -x_771 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_770, x_759); -if (x_771 == 0) -{ -uint8_t x_772; uint8_t x_773; uint8_t x_774; lean_object* x_775; -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_772 = 1; -x_773 = lean_unbox(x_768); -lean_dec(x_768); -x_774 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_773, x_772); -x_775 = lean_box(x_774); -lean_ctor_set(x_766, 0, x_775); -return x_766; -} -else -{ -lean_object* x_776; lean_object* x_777; lean_object* x_778; uint8_t x_779; -lean_free_object(x_766); -lean_dec(x_768); -x_776 = lean_st_ref_get(x_6, x_769); -x_777 = lean_ctor_get(x_776, 1); -lean_inc(x_777); -lean_dec(x_776); -x_778 = lean_st_ref_get(x_4, x_777); -x_779 = !lean_is_exclusive(x_778); -if (x_779 == 0) -{ -lean_object* x_780; lean_object* x_781; lean_object* x_782; uint8_t x_783; -x_780 = lean_ctor_get(x_778, 0); -x_781 = lean_ctor_get(x_778, 1); -x_782 = lean_ctor_get(x_780, 0); -lean_inc(x_782); -lean_dec(x_780); -lean_inc(x_782); -x_783 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_782, x_1); -if (x_783 == 0) -{ -uint8_t x_784; -x_784 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_782, x_2); -if (x_784 == 0) -{ -lean_object* x_785; lean_object* x_815; uint8_t x_816; -x_815 = lean_ctor_get(x_3, 0); -lean_inc(x_815); -x_816 = lean_ctor_get_uint8(x_815, 4); -lean_dec(x_815); -if (x_816 == 0) -{ -uint8_t x_817; lean_object* x_818; -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_817 = 0; -x_818 = lean_box(x_817); -lean_ctor_set(x_778, 0, x_818); -return x_778; -} -else -{ -uint8_t x_819; -x_819 = l_Lean_Level_isMVar(x_1); -if (x_819 == 0) -{ -uint8_t x_820; -x_820 = l_Lean_Level_isMVar(x_2); -if (x_820 == 0) -{ -uint8_t x_821; lean_object* x_822; -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_821 = 0; -x_822 = lean_box(x_821); -lean_ctor_set(x_778, 0, x_822); -return x_778; -} -else -{ -lean_object* x_823; -lean_free_object(x_778); -x_823 = lean_box(0); -x_785 = x_823; -goto block_814; -} -} -else -{ -lean_object* x_824; -lean_free_object(x_778); -x_824 = lean_box(0); -x_785 = x_824; -goto block_814; -} -} -block_814: -{ -uint8_t x_786; lean_object* x_787; lean_object* x_802; lean_object* x_803; lean_object* x_804; uint8_t x_805; -lean_dec(x_785); -x_802 = lean_st_ref_get(x_6, x_781); -x_803 = lean_ctor_get(x_802, 0); -lean_inc(x_803); -x_804 = lean_ctor_get(x_803, 3); -lean_inc(x_804); -lean_dec(x_803); -x_805 = lean_ctor_get_uint8(x_804, sizeof(void*)*1); -lean_dec(x_804); -if (x_805 == 0) -{ -lean_object* x_806; uint8_t x_807; -x_806 = lean_ctor_get(x_802, 1); -lean_inc(x_806); -lean_dec(x_802); -x_807 = 0; -x_786 = x_807; -x_787 = x_806; -goto block_801; -} -else -{ -lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; uint8_t x_813; -x_808 = lean_ctor_get(x_802, 1); -lean_inc(x_808); -lean_dec(x_802); -x_809 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_810 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_809, x_3, x_4, x_5, x_6, x_808); -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_ctor_get(x_810, 1); -lean_inc(x_812); -lean_dec(x_810); -x_813 = lean_unbox(x_811); -lean_dec(x_811); -x_786 = x_813; -x_787 = x_812; -goto block_801; -} -block_801: -{ -if (x_786 == 0) -{ -lean_object* x_788; -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_788 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_787); -return x_788; -} -else -{ -lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; -x_789 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_789, 0, x_1); -x_790 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_791 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_791, 0, x_790); -lean_ctor_set(x_791, 1, x_789); -x_792 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_793 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_793, 0, x_791); -lean_ctor_set(x_793, 1, x_792); -x_794 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_794, 0, x_2); -x_795 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_795, 0, x_793); -lean_ctor_set(x_795, 1, x_794); -x_796 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_796, 0, x_795); -lean_ctor_set(x_796, 1, x_790); -x_797 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_798 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_797, x_796, x_3, x_4, x_5, x_6, x_787); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_799 = lean_ctor_get(x_798, 1); -lean_inc(x_799); -lean_dec(x_798); -x_800 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_799); -return x_800; -} -} -} -} -else -{ -lean_object* x_825; uint8_t x_826; -lean_free_object(x_778); -x_825 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_781); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_826 = !lean_is_exclusive(x_825); -if (x_826 == 0) -{ -lean_object* x_827; uint8_t x_828; lean_object* x_829; -x_827 = lean_ctor_get(x_825, 0); -lean_dec(x_827); -x_828 = 1; -x_829 = lean_box(x_828); -lean_ctor_set(x_825, 0, x_829); -return x_825; -} -else -{ -lean_object* x_830; uint8_t x_831; lean_object* x_832; lean_object* x_833; -x_830 = lean_ctor_get(x_825, 1); -lean_inc(x_830); -lean_dec(x_825); -x_831 = 1; -x_832 = lean_box(x_831); -x_833 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_833, 0, x_832); -lean_ctor_set(x_833, 1, x_830); -return x_833; -} -} -} -else -{ -lean_object* x_834; uint8_t x_835; -lean_dec(x_782); -lean_free_object(x_778); -x_834 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_781); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_835 = !lean_is_exclusive(x_834); -if (x_835 == 0) -{ -lean_object* x_836; uint8_t x_837; lean_object* x_838; -x_836 = lean_ctor_get(x_834, 0); -lean_dec(x_836); -x_837 = 1; -x_838 = lean_box(x_837); -lean_ctor_set(x_834, 0, x_838); -return x_834; -} -else -{ -lean_object* x_839; uint8_t x_840; lean_object* x_841; lean_object* x_842; -x_839 = lean_ctor_get(x_834, 1); -lean_inc(x_839); -lean_dec(x_834); -x_840 = 1; -x_841 = lean_box(x_840); -x_842 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_842, 0, x_841); -lean_ctor_set(x_842, 1, x_839); -return x_842; -} -} -} -else -{ -lean_object* x_843; lean_object* x_844; lean_object* x_845; uint8_t x_846; -x_843 = lean_ctor_get(x_778, 0); -x_844 = lean_ctor_get(x_778, 1); -lean_inc(x_844); -lean_inc(x_843); -lean_dec(x_778); -x_845 = lean_ctor_get(x_843, 0); -lean_inc(x_845); -lean_dec(x_843); -lean_inc(x_845); -x_846 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_845, x_1); -if (x_846 == 0) -{ -uint8_t x_847; -x_847 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_845, x_2); -if (x_847 == 0) -{ -lean_object* x_848; lean_object* x_878; uint8_t x_879; -x_878 = lean_ctor_get(x_3, 0); -lean_inc(x_878); -x_879 = lean_ctor_get_uint8(x_878, 4); -lean_dec(x_878); -if (x_879 == 0) -{ -uint8_t x_880; lean_object* x_881; lean_object* x_882; -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_880 = 0; -x_881 = lean_box(x_880); -x_882 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_882, 0, x_881); -lean_ctor_set(x_882, 1, x_844); -return x_882; -} -else -{ -uint8_t x_883; -x_883 = l_Lean_Level_isMVar(x_1); -if (x_883 == 0) -{ -uint8_t x_884; -x_884 = l_Lean_Level_isMVar(x_2); -if (x_884 == 0) -{ -uint8_t x_885; lean_object* x_886; lean_object* x_887; -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_885 = 0; -x_886 = lean_box(x_885); -x_887 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_887, 0, x_886); -lean_ctor_set(x_887, 1, x_844); -return x_887; -} -else -{ -lean_object* x_888; -x_888 = lean_box(0); -x_848 = x_888; -goto block_877; -} -} -else -{ -lean_object* x_889; -x_889 = lean_box(0); -x_848 = x_889; -goto block_877; -} -} -block_877: -{ -uint8_t x_849; lean_object* x_850; lean_object* x_865; lean_object* x_866; lean_object* x_867; uint8_t x_868; -lean_dec(x_848); -x_865 = lean_st_ref_get(x_6, x_844); -x_866 = lean_ctor_get(x_865, 0); -lean_inc(x_866); -x_867 = lean_ctor_get(x_866, 3); -lean_inc(x_867); -lean_dec(x_866); -x_868 = lean_ctor_get_uint8(x_867, sizeof(void*)*1); -lean_dec(x_867); -if (x_868 == 0) -{ -lean_object* x_869; uint8_t x_870; -x_869 = lean_ctor_get(x_865, 1); -lean_inc(x_869); -lean_dec(x_865); -x_870 = 0; -x_849 = x_870; -x_850 = x_869; -goto block_864; -} -else -{ -lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; uint8_t x_876; -x_871 = lean_ctor_get(x_865, 1); -lean_inc(x_871); -lean_dec(x_865); -x_872 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_873 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_872, x_3, x_4, x_5, x_6, x_871); -x_874 = lean_ctor_get(x_873, 0); -lean_inc(x_874); -x_875 = lean_ctor_get(x_873, 1); -lean_inc(x_875); -lean_dec(x_873); -x_876 = lean_unbox(x_874); -lean_dec(x_874); -x_849 = x_876; -x_850 = x_875; -goto block_864; -} -block_864: -{ -if (x_849 == 0) -{ -lean_object* x_851; -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_851 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_850); -return x_851; -} -else -{ -lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; -x_852 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_852, 0, x_1); -x_853 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_854 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_854, 0, x_853); -lean_ctor_set(x_854, 1, x_852); -x_855 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_856 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_856, 0, x_854); -lean_ctor_set(x_856, 1, x_855); -x_857 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_857, 0, x_2); -x_858 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_858, 0, x_856); -lean_ctor_set(x_858, 1, x_857); -x_859 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_859, 0, x_858); -lean_ctor_set(x_859, 1, x_853); -x_860 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_861 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_860, x_859, x_3, x_4, x_5, x_6, x_850); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_862 = lean_ctor_get(x_861, 1); -lean_inc(x_862); -lean_dec(x_861); -x_863 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_862); -return x_863; -} -} -} -} -else -{ -lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; lean_object* x_894; lean_object* x_895; -x_890 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_844); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_891 = lean_ctor_get(x_890, 1); -lean_inc(x_891); -if (lean_is_exclusive(x_890)) { - lean_ctor_release(x_890, 0); - lean_ctor_release(x_890, 1); - x_892 = x_890; -} else { - lean_dec_ref(x_890); - x_892 = lean_box(0); -} -x_893 = 1; -x_894 = lean_box(x_893); -if (lean_is_scalar(x_892)) { - x_895 = lean_alloc_ctor(0, 2, 0); -} else { - x_895 = x_892; -} -lean_ctor_set(x_895, 0, x_894); -lean_ctor_set(x_895, 1, x_891); -return x_895; -} -} -else -{ -lean_object* x_896; lean_object* x_897; lean_object* x_898; uint8_t x_899; lean_object* x_900; lean_object* x_901; -lean_dec(x_845); -x_896 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_844); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_897 = lean_ctor_get(x_896, 1); -lean_inc(x_897); -if (lean_is_exclusive(x_896)) { - lean_ctor_release(x_896, 0); - lean_ctor_release(x_896, 1); - x_898 = x_896; -} else { - lean_dec_ref(x_896); - x_898 = lean_box(0); -} -x_899 = 1; -x_900 = lean_box(x_899); -if (lean_is_scalar(x_898)) { - x_901 = lean_alloc_ctor(0, 2, 0); -} else { - x_901 = x_898; -} -lean_ctor_set(x_901, 0, x_900); -lean_ctor_set(x_901, 1, x_897); -return x_901; -} -} -} -} -else -{ -lean_object* x_902; lean_object* x_903; uint8_t x_904; uint8_t x_905; -x_902 = lean_ctor_get(x_766, 0); -x_903 = lean_ctor_get(x_766, 1); -lean_inc(x_903); -lean_inc(x_902); -lean_dec(x_766); -x_904 = lean_unbox(x_902); -x_905 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_904, x_759); -if (x_905 == 0) -{ -uint8_t x_906; uint8_t x_907; uint8_t x_908; lean_object* x_909; lean_object* x_910; -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_906 = 1; -x_907 = lean_unbox(x_902); -lean_dec(x_902); -x_908 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_907, x_906); -x_909 = lean_box(x_908); -x_910 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_910, 0, x_909); -lean_ctor_set(x_910, 1, x_903); -return x_910; -} -else -{ -lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; uint8_t x_918; -lean_dec(x_902); -x_911 = lean_st_ref_get(x_6, x_903); -x_912 = lean_ctor_get(x_911, 1); -lean_inc(x_912); -lean_dec(x_911); -x_913 = lean_st_ref_get(x_4, x_912); -x_914 = lean_ctor_get(x_913, 0); -lean_inc(x_914); -x_915 = lean_ctor_get(x_913, 1); -lean_inc(x_915); -if (lean_is_exclusive(x_913)) { - lean_ctor_release(x_913, 0); - lean_ctor_release(x_913, 1); - x_916 = x_913; -} else { - lean_dec_ref(x_913); - x_916 = lean_box(0); -} -x_917 = lean_ctor_get(x_914, 0); -lean_inc(x_917); -lean_dec(x_914); -lean_inc(x_917); -x_918 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_917, x_1); -if (x_918 == 0) -{ -uint8_t x_919; -x_919 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_917, x_2); -if (x_919 == 0) -{ -lean_object* x_920; lean_object* x_950; uint8_t x_951; -x_950 = lean_ctor_get(x_3, 0); -lean_inc(x_950); -x_951 = lean_ctor_get_uint8(x_950, 4); -lean_dec(x_950); -if (x_951 == 0) -{ -uint8_t x_952; lean_object* x_953; lean_object* x_954; -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_952 = 0; -x_953 = lean_box(x_952); -if (lean_is_scalar(x_916)) { - x_954 = lean_alloc_ctor(0, 2, 0); -} else { - x_954 = x_916; -} -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_915); -return x_954; -} -else -{ -uint8_t x_955; -x_955 = l_Lean_Level_isMVar(x_1); -if (x_955 == 0) -{ -uint8_t x_956; -x_956 = l_Lean_Level_isMVar(x_2); -if (x_956 == 0) -{ -uint8_t x_957; lean_object* x_958; lean_object* x_959; -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_957 = 0; -x_958 = lean_box(x_957); -if (lean_is_scalar(x_916)) { - x_959 = lean_alloc_ctor(0, 2, 0); -} else { - x_959 = x_916; -} -lean_ctor_set(x_959, 0, x_958); -lean_ctor_set(x_959, 1, x_915); -return x_959; -} -else -{ -lean_object* x_960; -lean_dec(x_916); -x_960 = lean_box(0); -x_920 = x_960; -goto block_949; -} -} -else -{ -lean_object* x_961; -lean_dec(x_916); -x_961 = lean_box(0); -x_920 = x_961; -goto block_949; -} -} -block_949: -{ -uint8_t x_921; lean_object* x_922; lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; -lean_dec(x_920); -x_937 = lean_st_ref_get(x_6, x_915); -x_938 = lean_ctor_get(x_937, 0); -lean_inc(x_938); -x_939 = lean_ctor_get(x_938, 3); -lean_inc(x_939); -lean_dec(x_938); -x_940 = lean_ctor_get_uint8(x_939, sizeof(void*)*1); -lean_dec(x_939); -if (x_940 == 0) -{ -lean_object* x_941; uint8_t x_942; -x_941 = lean_ctor_get(x_937, 1); -lean_inc(x_941); -lean_dec(x_937); -x_942 = 0; -x_921 = x_942; -x_922 = x_941; -goto block_936; -} -else -{ -lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; uint8_t x_948; -x_943 = lean_ctor_get(x_937, 1); -lean_inc(x_943); -lean_dec(x_937); -x_944 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_945 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_944, x_3, x_4, x_5, x_6, x_943); -x_946 = lean_ctor_get(x_945, 0); -lean_inc(x_946); -x_947 = lean_ctor_get(x_945, 1); -lean_inc(x_947); -lean_dec(x_945); -x_948 = lean_unbox(x_946); -lean_dec(x_946); -x_921 = x_948; -x_922 = x_947; -goto block_936; -} -block_936: -{ -if (x_921 == 0) -{ -lean_object* x_923; -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_923 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_922); -return x_923; -} -else -{ -lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; -x_924 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_924, 0, x_1); -x_925 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_926 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_924); -x_927 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_928 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_928, 0, x_926); -lean_ctor_set(x_928, 1, x_927); -x_929 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_929, 0, x_2); -x_930 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_930, 0, x_928); -lean_ctor_set(x_930, 1, x_929); -x_931 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_931, 0, x_930); -lean_ctor_set(x_931, 1, x_925); -x_932 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_933 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_932, x_931, x_3, x_4, x_5, x_6, x_922); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_934 = lean_ctor_get(x_933, 1); -lean_inc(x_934); -lean_dec(x_933); -x_935 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_934); -return x_935; -} -} -} -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; uint8_t x_965; lean_object* x_966; lean_object* x_967; -lean_dec(x_916); -x_962 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_915); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_963 = lean_ctor_get(x_962, 1); -lean_inc(x_963); -if (lean_is_exclusive(x_962)) { - lean_ctor_release(x_962, 0); - lean_ctor_release(x_962, 1); - x_964 = x_962; -} else { - lean_dec_ref(x_962); - x_964 = lean_box(0); -} -x_965 = 1; -x_966 = lean_box(x_965); -if (lean_is_scalar(x_964)) { - x_967 = lean_alloc_ctor(0, 2, 0); -} else { - x_967 = x_964; -} -lean_ctor_set(x_967, 0, x_966); -lean_ctor_set(x_967, 1, x_963); -return x_967; -} -} -else -{ -lean_object* x_968; lean_object* x_969; lean_object* x_970; uint8_t x_971; lean_object* x_972; lean_object* x_973; -lean_dec(x_917); -lean_dec(x_916); -x_968 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_915); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_969 = lean_ctor_get(x_968, 1); -lean_inc(x_969); -if (lean_is_exclusive(x_968)) { - lean_ctor_release(x_968, 0); - lean_ctor_release(x_968, 1); - x_970 = x_968; -} else { - lean_dec_ref(x_968); - x_970 = lean_box(0); -} -x_971 = 1; -x_972 = lean_box(x_971); -if (lean_is_scalar(x_970)) { - x_973 = lean_alloc_ctor(0, 2, 0); -} else { - x_973 = x_970; -} -lean_ctor_set(x_973, 0, x_972); -lean_ctor_set(x_973, 1, x_969); -return x_973; -} -} -} -} -else -{ -uint8_t x_974; -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_974 = !lean_is_exclusive(x_766); -if (x_974 == 0) -{ -return x_766; -} -else -{ -lean_object* x_975; lean_object* x_976; lean_object* x_977; -x_975 = lean_ctor_get(x_766, 0); -x_976 = lean_ctor_get(x_766, 1); -lean_inc(x_976); -lean_inc(x_975); -lean_dec(x_766); -x_977 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_977, 0, x_975); -lean_ctor_set(x_977, 1, x_976); -return x_977; -} -} -} -} -else -{ -lean_object* x_978; lean_object* x_979; uint8_t x_980; uint8_t x_981; uint8_t x_982; -x_978 = lean_ctor_get(x_755, 0); -x_979 = lean_ctor_get(x_755, 1); -lean_inc(x_979); -lean_inc(x_978); -lean_dec(x_755); -x_980 = 2; -x_981 = lean_unbox(x_978); -x_982 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_981, x_980); -if (x_982 == 0) -{ -uint8_t x_983; uint8_t x_984; uint8_t x_985; lean_object* x_986; lean_object* x_987; -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_983 = 1; -x_984 = lean_unbox(x_978); -lean_dec(x_978); -x_985 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_984, x_983); -x_986 = lean_box(x_985); -x_987 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_987, 0, x_986); -lean_ctor_set(x_987, 1, x_979); -return x_987; -} -else -{ -lean_object* x_988; -lean_dec(x_978); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_988 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_979); -if (lean_obj_tag(x_988) == 0) -{ -lean_object* x_989; lean_object* x_990; lean_object* x_991; uint8_t x_992; uint8_t x_993; -x_989 = lean_ctor_get(x_988, 0); -lean_inc(x_989); -x_990 = lean_ctor_get(x_988, 1); -lean_inc(x_990); -if (lean_is_exclusive(x_988)) { - lean_ctor_release(x_988, 0); - lean_ctor_release(x_988, 1); - x_991 = x_988; -} else { - lean_dec_ref(x_988); - x_991 = lean_box(0); -} -x_992 = lean_unbox(x_989); -x_993 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_992, x_980); -if (x_993 == 0) -{ -uint8_t x_994; uint8_t x_995; uint8_t x_996; lean_object* x_997; lean_object* x_998; -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_994 = 1; -x_995 = lean_unbox(x_989); -lean_dec(x_989); -x_996 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_995, x_994); -x_997 = lean_box(x_996); -if (lean_is_scalar(x_991)) { - x_998 = lean_alloc_ctor(0, 2, 0); -} else { - x_998 = x_991; -} -lean_ctor_set(x_998, 0, x_997); -lean_ctor_set(x_998, 1, x_990); -return x_998; -} -else -{ -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; uint8_t x_1006; -lean_dec(x_991); -lean_dec(x_989); -x_999 = lean_st_ref_get(x_6, x_990); -x_1000 = lean_ctor_get(x_999, 1); -lean_inc(x_1000); -lean_dec(x_999); -x_1001 = lean_st_ref_get(x_4, x_1000); -x_1002 = lean_ctor_get(x_1001, 0); -lean_inc(x_1002); -x_1003 = lean_ctor_get(x_1001, 1); -lean_inc(x_1003); -if (lean_is_exclusive(x_1001)) { - lean_ctor_release(x_1001, 0); - lean_ctor_release(x_1001, 1); - x_1004 = x_1001; -} else { - lean_dec_ref(x_1001); - x_1004 = lean_box(0); -} -x_1005 = lean_ctor_get(x_1002, 0); -lean_inc(x_1005); -lean_dec(x_1002); -lean_inc(x_1005); -x_1006 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1005, x_1); -if (x_1006 == 0) -{ -uint8_t x_1007; -x_1007 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1005, x_2); -if (x_1007 == 0) -{ -lean_object* x_1008; lean_object* x_1038; uint8_t x_1039; -x_1038 = lean_ctor_get(x_3, 0); -lean_inc(x_1038); -x_1039 = lean_ctor_get_uint8(x_1038, 4); -lean_dec(x_1038); -if (x_1039 == 0) -{ -uint8_t x_1040; lean_object* x_1041; lean_object* x_1042; -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_1040 = 0; -x_1041 = lean_box(x_1040); -if (lean_is_scalar(x_1004)) { - x_1042 = lean_alloc_ctor(0, 2, 0); -} else { - x_1042 = x_1004; -} -lean_ctor_set(x_1042, 0, x_1041); -lean_ctor_set(x_1042, 1, x_1003); -return x_1042; -} -else -{ -uint8_t x_1043; -x_1043 = l_Lean_Level_isMVar(x_1); -if (x_1043 == 0) -{ -uint8_t x_1044; -x_1044 = l_Lean_Level_isMVar(x_2); -if (x_1044 == 0) -{ -uint8_t x_1045; lean_object* x_1046; lean_object* x_1047; -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_1045 = 0; -x_1046 = lean_box(x_1045); -if (lean_is_scalar(x_1004)) { - x_1047 = lean_alloc_ctor(0, 2, 0); -} else { - x_1047 = x_1004; -} -lean_ctor_set(x_1047, 0, x_1046); -lean_ctor_set(x_1047, 1, x_1003); -return x_1047; -} -else -{ -lean_object* x_1048; -lean_dec(x_1004); -x_1048 = lean_box(0); -x_1008 = x_1048; -goto block_1037; -} -} -else -{ -lean_object* x_1049; -lean_dec(x_1004); -x_1049 = lean_box(0); -x_1008 = x_1049; -goto block_1037; -} -} -block_1037: -{ -uint8_t x_1009; lean_object* x_1010; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; uint8_t x_1028; -lean_dec(x_1008); -x_1025 = lean_st_ref_get(x_6, x_1003); -x_1026 = lean_ctor_get(x_1025, 0); -lean_inc(x_1026); -x_1027 = lean_ctor_get(x_1026, 3); -lean_inc(x_1027); -lean_dec(x_1026); -x_1028 = lean_ctor_get_uint8(x_1027, sizeof(void*)*1); -lean_dec(x_1027); -if (x_1028 == 0) -{ -lean_object* x_1029; uint8_t x_1030; -x_1029 = lean_ctor_get(x_1025, 1); -lean_inc(x_1029); -lean_dec(x_1025); -x_1030 = 0; -x_1009 = x_1030; -x_1010 = x_1029; -goto block_1024; -} -else -{ -lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; uint8_t x_1036; -x_1031 = lean_ctor_get(x_1025, 1); -lean_inc(x_1031); -lean_dec(x_1025); -x_1032 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1033 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1032, x_3, x_4, x_5, x_6, x_1031); -x_1034 = lean_ctor_get(x_1033, 0); -lean_inc(x_1034); -x_1035 = lean_ctor_get(x_1033, 1); -lean_inc(x_1035); -lean_dec(x_1033); -x_1036 = lean_unbox(x_1034); -lean_dec(x_1034); -x_1009 = x_1036; -x_1010 = x_1035; -goto block_1024; -} -block_1024: -{ -if (x_1009 == 0) -{ -lean_object* x_1011; -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_1011 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1010); -return x_1011; -} -else -{ -lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; -x_1012 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1012, 0, x_1); -x_1013 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1014 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1014, 0, x_1013); -lean_ctor_set(x_1014, 1, x_1012); -x_1015 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1016 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1016, 0, x_1014); -lean_ctor_set(x_1016, 1, x_1015); -x_1017 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1017, 0, x_2); -x_1018 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1018, 0, x_1016); -lean_ctor_set(x_1018, 1, x_1017); -x_1019 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1019, 0, x_1018); -lean_ctor_set(x_1019, 1, x_1013); -x_1020 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1021 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1020, x_1019, x_3, x_4, x_5, x_6, x_1010); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1022 = lean_ctor_get(x_1021, 1); -lean_inc(x_1022); -lean_dec(x_1021); -x_1023 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1022); -return x_1023; -} -} -} -} -else -{ -lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; uint8_t x_1053; lean_object* x_1054; lean_object* x_1055; -lean_dec(x_1004); -x_1050 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1003); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1051 = lean_ctor_get(x_1050, 1); -lean_inc(x_1051); -if (lean_is_exclusive(x_1050)) { - lean_ctor_release(x_1050, 0); - lean_ctor_release(x_1050, 1); - x_1052 = x_1050; -} else { - lean_dec_ref(x_1050); - x_1052 = lean_box(0); -} -x_1053 = 1; -x_1054 = lean_box(x_1053); -if (lean_is_scalar(x_1052)) { - x_1055 = lean_alloc_ctor(0, 2, 0); -} else { - x_1055 = x_1052; -} -lean_ctor_set(x_1055, 0, x_1054); -lean_ctor_set(x_1055, 1, x_1051); -return x_1055; -} -} -else -{ -lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; uint8_t x_1059; lean_object* x_1060; lean_object* x_1061; -lean_dec(x_1005); -lean_dec(x_1004); -x_1056 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1003); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1057 = lean_ctor_get(x_1056, 1); -lean_inc(x_1057); -if (lean_is_exclusive(x_1056)) { - lean_ctor_release(x_1056, 0); - lean_ctor_release(x_1056, 1); - x_1058 = x_1056; -} else { - lean_dec_ref(x_1056); - x_1058 = lean_box(0); -} -x_1059 = 1; -x_1060 = lean_box(x_1059); -if (lean_is_scalar(x_1058)) { - x_1061 = lean_alloc_ctor(0, 2, 0); -} else { - x_1061 = x_1058; -} -lean_ctor_set(x_1061, 0, x_1060); -lean_ctor_set(x_1061, 1, x_1057); -return x_1061; -} -} -} -else -{ -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -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_1062 = lean_ctor_get(x_988, 0); -lean_inc(x_1062); -x_1063 = lean_ctor_get(x_988, 1); -lean_inc(x_1063); -if (lean_is_exclusive(x_988)) { - lean_ctor_release(x_988, 0); - lean_ctor_release(x_988, 1); - x_1064 = x_988; -} else { - lean_dec_ref(x_988); - x_1064 = lean_box(0); -} -if (lean_is_scalar(x_1064)) { - x_1065 = lean_alloc_ctor(1, 2, 0); -} else { - x_1065 = x_1064; -} -lean_ctor_set(x_1065, 0, x_1062); -lean_ctor_set(x_1065, 1, x_1063); -return x_1065; -} -} -} -} -else -{ -uint8_t x_1066; -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_1066 = !lean_is_exclusive(x_755); -if (x_1066 == 0) -{ -return x_755; -} -else -{ -lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; -x_1067 = lean_ctor_get(x_755, 0); -x_1068 = lean_ctor_get(x_755, 1); -lean_inc(x_1068); -lean_inc(x_1067); -lean_dec(x_755); -x_1069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1069, 0, x_1067); -lean_ctor_set(x_1069, 1, x_1068); -return x_1069; -} -} -} -} -} -block_1084: -{ -if (x_1071 == 0) -{ -x_742 = x_1072; -goto block_1070; -} -else -{ -lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; -lean_inc(x_1); -x_1073 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1073, 0, x_1); -x_1074 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1075 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1075, 0, x_1074); -lean_ctor_set(x_1075, 1, x_1073); -x_1076 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1077 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1077, 0, x_1075); -lean_ctor_set(x_1077, 1, x_1076); -lean_inc(x_2); -x_1078 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1078, 0, x_2); -x_1079 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1079, 0, x_1077); -lean_ctor_set(x_1079, 1, x_1078); -x_1080 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1080, 0, x_1079); -lean_ctor_set(x_1080, 1, x_1074); -x_1081 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1082 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1081, x_1080, x_3, x_4, x_5, x_6, x_1072); -x_1083 = lean_ctor_get(x_1082, 1); -lean_inc(x_1083); -lean_dec(x_1082); -x_742 = x_1083; -goto block_1070; -} -} -} -else -{ -lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; uint8_t x_1100; lean_object* x_1101; lean_object* x_1102; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1097 = lean_unsigned_to_nat(0u); -x_1098 = l_Lean_Level_getOffsetAux(x_1, x_1097); -lean_dec(x_1); -x_1099 = l_Lean_Level_getOffsetAux(x_2, x_1097); -lean_dec(x_2); -x_1100 = lean_nat_dec_eq(x_1098, x_1099); -lean_dec(x_1099); -lean_dec(x_1098); -x_1101 = lean_box(x_1100); -x_1102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1102, 0, x_1101); -lean_ctor_set(x_1102, 1, x_7); -return x_1102; -} -} -case 3: -{ -lean_object* x_1103; lean_object* x_1104; uint8_t x_1105; -x_1103 = l_Lean_Level_getLevelOffset(x_1); -x_1104 = l_Lean_Level_getLevelOffset(x_2); -x_1105 = lean_level_eq(x_1103, x_1104); -lean_dec(x_1104); -lean_dec(x_1103); -if (x_1105 == 0) -{ -lean_object* x_1106; uint8_t x_1435; lean_object* x_1436; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; uint8_t x_1452; -x_1449 = lean_st_ref_get(x_6, x_7); -x_1450 = lean_ctor_get(x_1449, 0); -lean_inc(x_1450); -x_1451 = lean_ctor_get(x_1450, 3); -lean_inc(x_1451); -lean_dec(x_1450); -x_1452 = lean_ctor_get_uint8(x_1451, sizeof(void*)*1); -lean_dec(x_1451); -if (x_1452 == 0) -{ -lean_object* x_1453; uint8_t x_1454; -x_1453 = lean_ctor_get(x_1449, 1); -lean_inc(x_1453); -lean_dec(x_1449); -x_1454 = 0; -x_1435 = x_1454; -x_1436 = x_1453; -goto block_1448; -} -else -{ -lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; uint8_t x_1460; -x_1455 = lean_ctor_get(x_1449, 1); -lean_inc(x_1455); -lean_dec(x_1449); -x_1456 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1457 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1456, x_3, x_4, x_5, x_6, x_1455); -x_1458 = lean_ctor_get(x_1457, 0); -lean_inc(x_1458); -x_1459 = lean_ctor_get(x_1457, 1); -lean_inc(x_1459); -lean_dec(x_1457); -x_1460 = lean_unbox(x_1458); -lean_dec(x_1458); -x_1435 = x_1460; -x_1436 = x_1459; -goto block_1448; -} -block_1434: -{ -lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; uint8_t x_1115; -lean_inc(x_1); -x_1107 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1106); -x_1108 = lean_ctor_get(x_1107, 0); -lean_inc(x_1108); -x_1109 = lean_ctor_get(x_1107, 1); -lean_inc(x_1109); -lean_dec(x_1107); -x_1110 = l_Lean_Level_normalize(x_1108); -lean_dec(x_1108); -lean_inc(x_2); -x_1111 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1109); -x_1112 = lean_ctor_get(x_1111, 0); -lean_inc(x_1112); -x_1113 = lean_ctor_get(x_1111, 1); -lean_inc(x_1113); -lean_dec(x_1111); -x_1114 = l_Lean_Level_normalize(x_1112); -lean_dec(x_1112); -x_1115 = lean_level_eq(x_1, x_1110); -if (x_1115 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1110; -x_2 = x_1114; -x_7 = x_1113; -goto _start; -} -else -{ -uint8_t x_1117; -x_1117 = lean_level_eq(x_2, x_1114); -if (x_1117 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1110; -x_2 = x_1114; -x_7 = x_1113; -goto _start; -} -else -{ -lean_object* x_1119; -lean_dec(x_1114); -lean_dec(x_1110); -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_1119 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1113); -if (lean_obj_tag(x_1119) == 0) -{ -uint8_t x_1120; -x_1120 = !lean_is_exclusive(x_1119); -if (x_1120 == 0) -{ -lean_object* x_1121; lean_object* x_1122; uint8_t x_1123; uint8_t x_1124; uint8_t x_1125; -x_1121 = lean_ctor_get(x_1119, 0); -x_1122 = lean_ctor_get(x_1119, 1); -x_1123 = 2; -x_1124 = lean_unbox(x_1121); -x_1125 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1124, x_1123); -if (x_1125 == 0) -{ -uint8_t x_1126; uint8_t x_1127; uint8_t x_1128; lean_object* x_1129; -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_1126 = 1; -x_1127 = lean_unbox(x_1121); -lean_dec(x_1121); -x_1128 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1127, x_1126); -x_1129 = lean_box(x_1128); -lean_ctor_set(x_1119, 0, x_1129); -return x_1119; -} -else -{ -lean_object* x_1130; -lean_free_object(x_1119); -lean_dec(x_1121); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1130 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1122); -if (lean_obj_tag(x_1130) == 0) -{ -uint8_t x_1131; -x_1131 = !lean_is_exclusive(x_1130); -if (x_1131 == 0) -{ -lean_object* x_1132; lean_object* x_1133; uint8_t x_1134; uint8_t x_1135; -x_1132 = lean_ctor_get(x_1130, 0); -x_1133 = lean_ctor_get(x_1130, 1); -x_1134 = lean_unbox(x_1132); -x_1135 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1134, x_1123); -if (x_1135 == 0) -{ -uint8_t x_1136; uint8_t x_1137; uint8_t x_1138; lean_object* x_1139; -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_1136 = 1; -x_1137 = lean_unbox(x_1132); -lean_dec(x_1132); -x_1138 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1137, x_1136); -x_1139 = lean_box(x_1138); -lean_ctor_set(x_1130, 0, x_1139); -return x_1130; -} -else -{ -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; uint8_t x_1143; -lean_free_object(x_1130); -lean_dec(x_1132); -x_1140 = lean_st_ref_get(x_6, x_1133); -x_1141 = lean_ctor_get(x_1140, 1); -lean_inc(x_1141); -lean_dec(x_1140); -x_1142 = lean_st_ref_get(x_4, x_1141); -x_1143 = !lean_is_exclusive(x_1142); -if (x_1143 == 0) -{ -lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; uint8_t x_1147; -x_1144 = lean_ctor_get(x_1142, 0); -x_1145 = lean_ctor_get(x_1142, 1); -x_1146 = lean_ctor_get(x_1144, 0); -lean_inc(x_1146); -lean_dec(x_1144); -lean_inc(x_1146); -x_1147 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1146, x_1); -if (x_1147 == 0) -{ -uint8_t x_1148; -x_1148 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1146, x_2); -if (x_1148 == 0) -{ -lean_object* x_1149; lean_object* x_1179; uint8_t x_1180; -x_1179 = lean_ctor_get(x_3, 0); -lean_inc(x_1179); -x_1180 = lean_ctor_get_uint8(x_1179, 4); -lean_dec(x_1179); -if (x_1180 == 0) -{ -uint8_t x_1181; lean_object* x_1182; -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_1181 = 0; -x_1182 = lean_box(x_1181); -lean_ctor_set(x_1142, 0, x_1182); -return x_1142; -} -else -{ -uint8_t x_1183; -x_1183 = l_Lean_Level_isMVar(x_1); -if (x_1183 == 0) -{ -uint8_t x_1184; -x_1184 = l_Lean_Level_isMVar(x_2); -if (x_1184 == 0) -{ -uint8_t x_1185; lean_object* x_1186; -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_1185 = 0; -x_1186 = lean_box(x_1185); -lean_ctor_set(x_1142, 0, x_1186); -return x_1142; -} -else -{ -lean_object* x_1187; -lean_free_object(x_1142); -x_1187 = lean_box(0); -x_1149 = x_1187; -goto block_1178; -} -} -else -{ -lean_object* x_1188; -lean_free_object(x_1142); -x_1188 = lean_box(0); -x_1149 = x_1188; -goto block_1178; -} -} -block_1178: -{ -uint8_t x_1150; lean_object* x_1151; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; uint8_t x_1169; -lean_dec(x_1149); -x_1166 = lean_st_ref_get(x_6, x_1145); -x_1167 = lean_ctor_get(x_1166, 0); -lean_inc(x_1167); -x_1168 = lean_ctor_get(x_1167, 3); -lean_inc(x_1168); -lean_dec(x_1167); -x_1169 = lean_ctor_get_uint8(x_1168, sizeof(void*)*1); -lean_dec(x_1168); -if (x_1169 == 0) -{ -lean_object* x_1170; uint8_t x_1171; -x_1170 = lean_ctor_get(x_1166, 1); -lean_inc(x_1170); -lean_dec(x_1166); -x_1171 = 0; -x_1150 = x_1171; -x_1151 = x_1170; -goto block_1165; -} -else -{ -lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; uint8_t x_1177; -x_1172 = lean_ctor_get(x_1166, 1); -lean_inc(x_1172); -lean_dec(x_1166); -x_1173 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1174 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1173, x_3, x_4, x_5, x_6, x_1172); -x_1175 = lean_ctor_get(x_1174, 0); -lean_inc(x_1175); -x_1176 = lean_ctor_get(x_1174, 1); -lean_inc(x_1176); -lean_dec(x_1174); -x_1177 = lean_unbox(x_1175); -lean_dec(x_1175); -x_1150 = x_1177; -x_1151 = x_1176; -goto block_1165; -} -block_1165: -{ -if (x_1150 == 0) -{ -lean_object* x_1152; -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_1152 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1151); -return x_1152; -} -else -{ -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; -x_1153 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1153, 0, x_1); -x_1154 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1155 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1155, 0, x_1154); -lean_ctor_set(x_1155, 1, x_1153); -x_1156 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1157 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1157, 0, x_1155); -lean_ctor_set(x_1157, 1, x_1156); -x_1158 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1158, 0, x_2); -x_1159 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1159, 0, x_1157); -lean_ctor_set(x_1159, 1, x_1158); -x_1160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1160, 0, x_1159); -lean_ctor_set(x_1160, 1, x_1154); -x_1161 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1162 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1161, x_1160, x_3, x_4, x_5, x_6, x_1151); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1163 = lean_ctor_get(x_1162, 1); -lean_inc(x_1163); -lean_dec(x_1162); -x_1164 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1163); -return x_1164; -} -} -} -} -else -{ -lean_object* x_1189; uint8_t x_1190; -lean_free_object(x_1142); -x_1189 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1145); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1190 = !lean_is_exclusive(x_1189); -if (x_1190 == 0) -{ -lean_object* x_1191; uint8_t x_1192; lean_object* x_1193; -x_1191 = lean_ctor_get(x_1189, 0); -lean_dec(x_1191); -x_1192 = 1; -x_1193 = lean_box(x_1192); -lean_ctor_set(x_1189, 0, x_1193); -return x_1189; -} -else -{ -lean_object* x_1194; uint8_t x_1195; lean_object* x_1196; lean_object* x_1197; -x_1194 = lean_ctor_get(x_1189, 1); -lean_inc(x_1194); -lean_dec(x_1189); -x_1195 = 1; -x_1196 = lean_box(x_1195); -x_1197 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1194); -return x_1197; -} -} -} -else -{ -lean_object* x_1198; uint8_t x_1199; -lean_dec(x_1146); -lean_free_object(x_1142); -x_1198 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1145); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1199 = !lean_is_exclusive(x_1198); -if (x_1199 == 0) -{ -lean_object* x_1200; uint8_t x_1201; lean_object* x_1202; -x_1200 = lean_ctor_get(x_1198, 0); -lean_dec(x_1200); -x_1201 = 1; -x_1202 = lean_box(x_1201); -lean_ctor_set(x_1198, 0, x_1202); -return x_1198; -} -else -{ -lean_object* x_1203; uint8_t x_1204; lean_object* x_1205; lean_object* x_1206; -x_1203 = lean_ctor_get(x_1198, 1); -lean_inc(x_1203); -lean_dec(x_1198); -x_1204 = 1; -x_1205 = lean_box(x_1204); -x_1206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1206, 0, x_1205); -lean_ctor_set(x_1206, 1, x_1203); -return x_1206; -} -} -} -else -{ -lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; uint8_t x_1210; -x_1207 = lean_ctor_get(x_1142, 0); -x_1208 = lean_ctor_get(x_1142, 1); -lean_inc(x_1208); -lean_inc(x_1207); -lean_dec(x_1142); -x_1209 = lean_ctor_get(x_1207, 0); -lean_inc(x_1209); -lean_dec(x_1207); -lean_inc(x_1209); -x_1210 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1209, x_1); -if (x_1210 == 0) -{ -uint8_t x_1211; -x_1211 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1209, x_2); -if (x_1211 == 0) -{ -lean_object* x_1212; lean_object* x_1242; uint8_t x_1243; -x_1242 = lean_ctor_get(x_3, 0); -lean_inc(x_1242); -x_1243 = lean_ctor_get_uint8(x_1242, 4); -lean_dec(x_1242); -if (x_1243 == 0) -{ -uint8_t x_1244; lean_object* x_1245; lean_object* x_1246; -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_1244 = 0; -x_1245 = lean_box(x_1244); -x_1246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1246, 0, x_1245); -lean_ctor_set(x_1246, 1, x_1208); -return x_1246; -} -else -{ -uint8_t x_1247; -x_1247 = l_Lean_Level_isMVar(x_1); -if (x_1247 == 0) -{ -uint8_t x_1248; -x_1248 = l_Lean_Level_isMVar(x_2); -if (x_1248 == 0) -{ -uint8_t x_1249; lean_object* x_1250; lean_object* x_1251; -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_1249 = 0; -x_1250 = lean_box(x_1249); -x_1251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1251, 0, x_1250); -lean_ctor_set(x_1251, 1, x_1208); -return x_1251; -} -else -{ -lean_object* x_1252; -x_1252 = lean_box(0); -x_1212 = x_1252; -goto block_1241; -} -} -else -{ -lean_object* x_1253; -x_1253 = lean_box(0); -x_1212 = x_1253; -goto block_1241; -} -} -block_1241: -{ -uint8_t x_1213; lean_object* x_1214; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; uint8_t x_1232; -lean_dec(x_1212); -x_1229 = lean_st_ref_get(x_6, x_1208); -x_1230 = lean_ctor_get(x_1229, 0); -lean_inc(x_1230); -x_1231 = lean_ctor_get(x_1230, 3); -lean_inc(x_1231); -lean_dec(x_1230); -x_1232 = lean_ctor_get_uint8(x_1231, sizeof(void*)*1); -lean_dec(x_1231); -if (x_1232 == 0) -{ -lean_object* x_1233; uint8_t x_1234; -x_1233 = lean_ctor_get(x_1229, 1); -lean_inc(x_1233); -lean_dec(x_1229); -x_1234 = 0; -x_1213 = x_1234; -x_1214 = x_1233; -goto block_1228; -} -else -{ -lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; uint8_t x_1240; -x_1235 = lean_ctor_get(x_1229, 1); -lean_inc(x_1235); -lean_dec(x_1229); -x_1236 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1237 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1236, x_3, x_4, x_5, x_6, x_1235); -x_1238 = lean_ctor_get(x_1237, 0); -lean_inc(x_1238); -x_1239 = lean_ctor_get(x_1237, 1); -lean_inc(x_1239); -lean_dec(x_1237); -x_1240 = lean_unbox(x_1238); -lean_dec(x_1238); -x_1213 = x_1240; -x_1214 = x_1239; -goto block_1228; -} -block_1228: -{ -if (x_1213 == 0) -{ -lean_object* x_1215; -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_1215 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1214); -return x_1215; -} -else -{ -lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; -x_1216 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1216, 0, x_1); -x_1217 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1218 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1218, 0, x_1217); -lean_ctor_set(x_1218, 1, x_1216); -x_1219 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1220 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1220, 0, x_1218); -lean_ctor_set(x_1220, 1, x_1219); -x_1221 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1221, 0, x_2); -x_1222 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1222, 0, x_1220); -lean_ctor_set(x_1222, 1, x_1221); -x_1223 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1223, 0, x_1222); -lean_ctor_set(x_1223, 1, x_1217); -x_1224 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1225 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1224, x_1223, x_3, x_4, x_5, x_6, x_1214); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1226 = lean_ctor_get(x_1225, 1); -lean_inc(x_1226); -lean_dec(x_1225); -x_1227 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1226); -return x_1227; -} -} -} -} -else -{ -lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; uint8_t x_1257; lean_object* x_1258; lean_object* x_1259; -x_1254 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1208); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1255 = lean_ctor_get(x_1254, 1); -lean_inc(x_1255); -if (lean_is_exclusive(x_1254)) { - lean_ctor_release(x_1254, 0); - lean_ctor_release(x_1254, 1); - x_1256 = x_1254; -} else { - lean_dec_ref(x_1254); - x_1256 = lean_box(0); -} -x_1257 = 1; -x_1258 = lean_box(x_1257); -if (lean_is_scalar(x_1256)) { - x_1259 = lean_alloc_ctor(0, 2, 0); -} else { - x_1259 = x_1256; -} -lean_ctor_set(x_1259, 0, x_1258); -lean_ctor_set(x_1259, 1, x_1255); -return x_1259; -} -} -else -{ -lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; uint8_t x_1263; lean_object* x_1264; lean_object* x_1265; -lean_dec(x_1209); -x_1260 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1208); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1261 = lean_ctor_get(x_1260, 1); -lean_inc(x_1261); -if (lean_is_exclusive(x_1260)) { - lean_ctor_release(x_1260, 0); - lean_ctor_release(x_1260, 1); - x_1262 = x_1260; -} else { - lean_dec_ref(x_1260); - x_1262 = lean_box(0); -} -x_1263 = 1; -x_1264 = lean_box(x_1263); -if (lean_is_scalar(x_1262)) { - x_1265 = lean_alloc_ctor(0, 2, 0); -} else { - x_1265 = x_1262; -} -lean_ctor_set(x_1265, 0, x_1264); -lean_ctor_set(x_1265, 1, x_1261); -return x_1265; -} -} -} -} -else -{ -lean_object* x_1266; lean_object* x_1267; uint8_t x_1268; uint8_t x_1269; -x_1266 = lean_ctor_get(x_1130, 0); -x_1267 = lean_ctor_get(x_1130, 1); -lean_inc(x_1267); -lean_inc(x_1266); -lean_dec(x_1130); -x_1268 = lean_unbox(x_1266); -x_1269 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1268, x_1123); -if (x_1269 == 0) -{ -uint8_t x_1270; uint8_t x_1271; uint8_t x_1272; lean_object* x_1273; lean_object* x_1274; -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_1270 = 1; -x_1271 = lean_unbox(x_1266); -lean_dec(x_1266); -x_1272 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1271, x_1270); -x_1273 = lean_box(x_1272); -x_1274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1274, 0, x_1273); -lean_ctor_set(x_1274, 1, x_1267); -return x_1274; -} -else -{ -lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; uint8_t x_1282; -lean_dec(x_1266); -x_1275 = lean_st_ref_get(x_6, x_1267); -x_1276 = lean_ctor_get(x_1275, 1); -lean_inc(x_1276); -lean_dec(x_1275); -x_1277 = lean_st_ref_get(x_4, x_1276); -x_1278 = lean_ctor_get(x_1277, 0); -lean_inc(x_1278); -x_1279 = lean_ctor_get(x_1277, 1); -lean_inc(x_1279); -if (lean_is_exclusive(x_1277)) { - lean_ctor_release(x_1277, 0); - lean_ctor_release(x_1277, 1); - x_1280 = x_1277; -} else { - lean_dec_ref(x_1277); - x_1280 = lean_box(0); -} -x_1281 = lean_ctor_get(x_1278, 0); -lean_inc(x_1281); -lean_dec(x_1278); -lean_inc(x_1281); -x_1282 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1281, x_1); -if (x_1282 == 0) -{ -uint8_t x_1283; -x_1283 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1281, x_2); -if (x_1283 == 0) -{ -lean_object* x_1284; lean_object* x_1314; uint8_t x_1315; -x_1314 = lean_ctor_get(x_3, 0); -lean_inc(x_1314); -x_1315 = lean_ctor_get_uint8(x_1314, 4); -lean_dec(x_1314); -if (x_1315 == 0) -{ -uint8_t x_1316; lean_object* x_1317; lean_object* x_1318; -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_1316 = 0; -x_1317 = lean_box(x_1316); -if (lean_is_scalar(x_1280)) { - x_1318 = lean_alloc_ctor(0, 2, 0); -} else { - x_1318 = x_1280; -} -lean_ctor_set(x_1318, 0, x_1317); -lean_ctor_set(x_1318, 1, x_1279); -return x_1318; -} -else -{ -uint8_t x_1319; -x_1319 = l_Lean_Level_isMVar(x_1); -if (x_1319 == 0) -{ -uint8_t x_1320; -x_1320 = l_Lean_Level_isMVar(x_2); -if (x_1320 == 0) -{ -uint8_t x_1321; lean_object* x_1322; lean_object* x_1323; -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_1321 = 0; -x_1322 = lean_box(x_1321); -if (lean_is_scalar(x_1280)) { - x_1323 = lean_alloc_ctor(0, 2, 0); -} else { - x_1323 = x_1280; -} -lean_ctor_set(x_1323, 0, x_1322); -lean_ctor_set(x_1323, 1, x_1279); -return x_1323; -} -else -{ -lean_object* x_1324; -lean_dec(x_1280); -x_1324 = lean_box(0); -x_1284 = x_1324; -goto block_1313; -} -} -else -{ -lean_object* x_1325; -lean_dec(x_1280); -x_1325 = lean_box(0); -x_1284 = x_1325; -goto block_1313; -} -} -block_1313: -{ -uint8_t x_1285; lean_object* x_1286; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; uint8_t x_1304; -lean_dec(x_1284); -x_1301 = lean_st_ref_get(x_6, x_1279); -x_1302 = lean_ctor_get(x_1301, 0); -lean_inc(x_1302); -x_1303 = lean_ctor_get(x_1302, 3); -lean_inc(x_1303); -lean_dec(x_1302); -x_1304 = lean_ctor_get_uint8(x_1303, sizeof(void*)*1); -lean_dec(x_1303); -if (x_1304 == 0) -{ -lean_object* x_1305; uint8_t x_1306; -x_1305 = lean_ctor_get(x_1301, 1); -lean_inc(x_1305); -lean_dec(x_1301); -x_1306 = 0; -x_1285 = x_1306; -x_1286 = x_1305; -goto block_1300; -} -else -{ -lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; uint8_t x_1312; -x_1307 = lean_ctor_get(x_1301, 1); -lean_inc(x_1307); -lean_dec(x_1301); -x_1308 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1309 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1308, x_3, x_4, x_5, x_6, x_1307); -x_1310 = lean_ctor_get(x_1309, 0); -lean_inc(x_1310); -x_1311 = lean_ctor_get(x_1309, 1); -lean_inc(x_1311); -lean_dec(x_1309); -x_1312 = lean_unbox(x_1310); -lean_dec(x_1310); -x_1285 = x_1312; -x_1286 = x_1311; -goto block_1300; -} -block_1300: -{ -if (x_1285 == 0) -{ -lean_object* x_1287; -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_1287 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1286); -return x_1287; -} -else -{ -lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; -x_1288 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1288, 0, x_1); -x_1289 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1290 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1290, 0, x_1289); -lean_ctor_set(x_1290, 1, x_1288); -x_1291 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1292 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1292, 0, x_1290); -lean_ctor_set(x_1292, 1, x_1291); -x_1293 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1293, 0, x_2); -x_1294 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1294, 0, x_1292); -lean_ctor_set(x_1294, 1, x_1293); -x_1295 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1295, 0, x_1294); -lean_ctor_set(x_1295, 1, x_1289); -x_1296 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1297 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1296, x_1295, x_3, x_4, x_5, x_6, x_1286); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1298 = lean_ctor_get(x_1297, 1); -lean_inc(x_1298); -lean_dec(x_1297); -x_1299 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1298); -return x_1299; -} -} -} -} -else -{ -lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; uint8_t x_1329; lean_object* x_1330; lean_object* x_1331; -lean_dec(x_1280); -x_1326 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1279); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1327 = lean_ctor_get(x_1326, 1); -lean_inc(x_1327); -if (lean_is_exclusive(x_1326)) { - lean_ctor_release(x_1326, 0); - lean_ctor_release(x_1326, 1); - x_1328 = x_1326; -} else { - lean_dec_ref(x_1326); - x_1328 = lean_box(0); -} -x_1329 = 1; -x_1330 = lean_box(x_1329); -if (lean_is_scalar(x_1328)) { - x_1331 = lean_alloc_ctor(0, 2, 0); -} else { - x_1331 = x_1328; -} -lean_ctor_set(x_1331, 0, x_1330); -lean_ctor_set(x_1331, 1, x_1327); -return x_1331; -} -} -else -{ -lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; uint8_t x_1335; lean_object* x_1336; lean_object* x_1337; -lean_dec(x_1281); -lean_dec(x_1280); -x_1332 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1279); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1333 = lean_ctor_get(x_1332, 1); -lean_inc(x_1333); -if (lean_is_exclusive(x_1332)) { - lean_ctor_release(x_1332, 0); - lean_ctor_release(x_1332, 1); - x_1334 = x_1332; -} else { - lean_dec_ref(x_1332); - x_1334 = lean_box(0); -} -x_1335 = 1; -x_1336 = lean_box(x_1335); -if (lean_is_scalar(x_1334)) { - x_1337 = lean_alloc_ctor(0, 2, 0); -} else { - x_1337 = x_1334; -} -lean_ctor_set(x_1337, 0, x_1336); -lean_ctor_set(x_1337, 1, x_1333); -return x_1337; -} -} -} -} -else -{ -uint8_t x_1338; -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_1338 = !lean_is_exclusive(x_1130); -if (x_1338 == 0) -{ -return x_1130; -} -else -{ -lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; -x_1339 = lean_ctor_get(x_1130, 0); -x_1340 = lean_ctor_get(x_1130, 1); -lean_inc(x_1340); -lean_inc(x_1339); -lean_dec(x_1130); -x_1341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1341, 0, x_1339); -lean_ctor_set(x_1341, 1, x_1340); -return x_1341; -} -} -} -} -else -{ -lean_object* x_1342; lean_object* x_1343; uint8_t x_1344; uint8_t x_1345; uint8_t x_1346; -x_1342 = lean_ctor_get(x_1119, 0); -x_1343 = lean_ctor_get(x_1119, 1); -lean_inc(x_1343); -lean_inc(x_1342); -lean_dec(x_1119); -x_1344 = 2; -x_1345 = lean_unbox(x_1342); -x_1346 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1345, x_1344); -if (x_1346 == 0) -{ -uint8_t x_1347; uint8_t x_1348; uint8_t x_1349; lean_object* x_1350; lean_object* x_1351; -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_1347 = 1; -x_1348 = lean_unbox(x_1342); -lean_dec(x_1342); -x_1349 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1348, x_1347); -x_1350 = lean_box(x_1349); -x_1351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1351, 0, x_1350); -lean_ctor_set(x_1351, 1, x_1343); -return x_1351; -} -else -{ -lean_object* x_1352; -lean_dec(x_1342); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1352 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1343); -if (lean_obj_tag(x_1352) == 0) -{ -lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; uint8_t x_1356; uint8_t x_1357; -x_1353 = lean_ctor_get(x_1352, 0); -lean_inc(x_1353); -x_1354 = lean_ctor_get(x_1352, 1); -lean_inc(x_1354); -if (lean_is_exclusive(x_1352)) { - lean_ctor_release(x_1352, 0); - lean_ctor_release(x_1352, 1); - x_1355 = x_1352; -} else { - lean_dec_ref(x_1352); - x_1355 = lean_box(0); -} -x_1356 = lean_unbox(x_1353); -x_1357 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1356, x_1344); -if (x_1357 == 0) -{ -uint8_t x_1358; uint8_t x_1359; uint8_t x_1360; lean_object* x_1361; lean_object* x_1362; -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_1358 = 1; -x_1359 = lean_unbox(x_1353); -lean_dec(x_1353); -x_1360 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1359, x_1358); -x_1361 = lean_box(x_1360); -if (lean_is_scalar(x_1355)) { - x_1362 = lean_alloc_ctor(0, 2, 0); -} else { - x_1362 = x_1355; -} -lean_ctor_set(x_1362, 0, x_1361); -lean_ctor_set(x_1362, 1, x_1354); -return x_1362; -} -else -{ -lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; uint8_t x_1370; -lean_dec(x_1355); -lean_dec(x_1353); -x_1363 = lean_st_ref_get(x_6, x_1354); -x_1364 = lean_ctor_get(x_1363, 1); -lean_inc(x_1364); -lean_dec(x_1363); -x_1365 = lean_st_ref_get(x_4, x_1364); -x_1366 = lean_ctor_get(x_1365, 0); -lean_inc(x_1366); -x_1367 = lean_ctor_get(x_1365, 1); -lean_inc(x_1367); -if (lean_is_exclusive(x_1365)) { - lean_ctor_release(x_1365, 0); - lean_ctor_release(x_1365, 1); - x_1368 = x_1365; -} else { - lean_dec_ref(x_1365); - x_1368 = lean_box(0); -} -x_1369 = lean_ctor_get(x_1366, 0); -lean_inc(x_1369); -lean_dec(x_1366); -lean_inc(x_1369); -x_1370 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1369, x_1); -if (x_1370 == 0) -{ -uint8_t x_1371; -x_1371 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1369, x_2); -if (x_1371 == 0) -{ -lean_object* x_1372; lean_object* x_1402; uint8_t x_1403; -x_1402 = lean_ctor_get(x_3, 0); -lean_inc(x_1402); -x_1403 = lean_ctor_get_uint8(x_1402, 4); -lean_dec(x_1402); -if (x_1403 == 0) -{ -uint8_t x_1404; lean_object* x_1405; lean_object* x_1406; -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_1404 = 0; -x_1405 = lean_box(x_1404); -if (lean_is_scalar(x_1368)) { - x_1406 = lean_alloc_ctor(0, 2, 0); -} else { - x_1406 = x_1368; -} -lean_ctor_set(x_1406, 0, x_1405); -lean_ctor_set(x_1406, 1, x_1367); -return x_1406; -} -else -{ -uint8_t x_1407; -x_1407 = l_Lean_Level_isMVar(x_1); -if (x_1407 == 0) -{ -uint8_t x_1408; -x_1408 = l_Lean_Level_isMVar(x_2); -if (x_1408 == 0) -{ -uint8_t x_1409; lean_object* x_1410; lean_object* x_1411; -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_1409 = 0; -x_1410 = lean_box(x_1409); -if (lean_is_scalar(x_1368)) { - x_1411 = lean_alloc_ctor(0, 2, 0); -} else { - x_1411 = x_1368; -} -lean_ctor_set(x_1411, 0, x_1410); -lean_ctor_set(x_1411, 1, x_1367); -return x_1411; -} -else -{ -lean_object* x_1412; -lean_dec(x_1368); -x_1412 = lean_box(0); -x_1372 = x_1412; -goto block_1401; -} -} -else -{ -lean_object* x_1413; -lean_dec(x_1368); -x_1413 = lean_box(0); -x_1372 = x_1413; -goto block_1401; -} -} -block_1401: -{ -uint8_t x_1373; lean_object* x_1374; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; uint8_t x_1392; -lean_dec(x_1372); -x_1389 = lean_st_ref_get(x_6, x_1367); -x_1390 = lean_ctor_get(x_1389, 0); -lean_inc(x_1390); -x_1391 = lean_ctor_get(x_1390, 3); -lean_inc(x_1391); -lean_dec(x_1390); -x_1392 = lean_ctor_get_uint8(x_1391, sizeof(void*)*1); -lean_dec(x_1391); -if (x_1392 == 0) -{ -lean_object* x_1393; uint8_t x_1394; -x_1393 = lean_ctor_get(x_1389, 1); -lean_inc(x_1393); -lean_dec(x_1389); -x_1394 = 0; -x_1373 = x_1394; -x_1374 = x_1393; -goto block_1388; -} -else -{ -lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; uint8_t x_1400; -x_1395 = lean_ctor_get(x_1389, 1); -lean_inc(x_1395); -lean_dec(x_1389); -x_1396 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1397 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1396, x_3, x_4, x_5, x_6, x_1395); -x_1398 = lean_ctor_get(x_1397, 0); -lean_inc(x_1398); -x_1399 = lean_ctor_get(x_1397, 1); -lean_inc(x_1399); -lean_dec(x_1397); -x_1400 = lean_unbox(x_1398); -lean_dec(x_1398); -x_1373 = x_1400; -x_1374 = x_1399; -goto block_1388; -} -block_1388: -{ -if (x_1373 == 0) -{ -lean_object* x_1375; -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_1375 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1374); -return x_1375; -} -else -{ -lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; -x_1376 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1376, 0, x_1); -x_1377 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1378 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1378, 0, x_1377); -lean_ctor_set(x_1378, 1, x_1376); -x_1379 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1380 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1380, 0, x_1378); -lean_ctor_set(x_1380, 1, x_1379); -x_1381 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1381, 0, x_2); -x_1382 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1382, 0, x_1380); -lean_ctor_set(x_1382, 1, x_1381); -x_1383 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1383, 0, x_1382); -lean_ctor_set(x_1383, 1, x_1377); -x_1384 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1385 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1384, x_1383, x_3, x_4, x_5, x_6, x_1374); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1386 = lean_ctor_get(x_1385, 1); -lean_inc(x_1386); -lean_dec(x_1385); -x_1387 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1386); -return x_1387; -} -} -} -} -else -{ -lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; uint8_t x_1417; lean_object* x_1418; lean_object* x_1419; -lean_dec(x_1368); -x_1414 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1367); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1415 = lean_ctor_get(x_1414, 1); -lean_inc(x_1415); -if (lean_is_exclusive(x_1414)) { - lean_ctor_release(x_1414, 0); - lean_ctor_release(x_1414, 1); - x_1416 = x_1414; -} else { - lean_dec_ref(x_1414); - x_1416 = lean_box(0); -} -x_1417 = 1; -x_1418 = lean_box(x_1417); -if (lean_is_scalar(x_1416)) { - x_1419 = lean_alloc_ctor(0, 2, 0); -} else { - x_1419 = x_1416; -} -lean_ctor_set(x_1419, 0, x_1418); -lean_ctor_set(x_1419, 1, x_1415); -return x_1419; -} -} -else -{ -lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; uint8_t x_1423; lean_object* x_1424; lean_object* x_1425; -lean_dec(x_1369); -lean_dec(x_1368); -x_1420 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1367); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1421 = lean_ctor_get(x_1420, 1); -lean_inc(x_1421); -if (lean_is_exclusive(x_1420)) { - lean_ctor_release(x_1420, 0); - lean_ctor_release(x_1420, 1); - x_1422 = x_1420; -} else { - lean_dec_ref(x_1420); - x_1422 = lean_box(0); -} -x_1423 = 1; -x_1424 = lean_box(x_1423); -if (lean_is_scalar(x_1422)) { - x_1425 = lean_alloc_ctor(0, 2, 0); -} else { - x_1425 = x_1422; -} -lean_ctor_set(x_1425, 0, x_1424); -lean_ctor_set(x_1425, 1, x_1421); -return x_1425; -} -} -} -else -{ -lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; -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_1426 = lean_ctor_get(x_1352, 0); -lean_inc(x_1426); -x_1427 = lean_ctor_get(x_1352, 1); -lean_inc(x_1427); -if (lean_is_exclusive(x_1352)) { - lean_ctor_release(x_1352, 0); - lean_ctor_release(x_1352, 1); - x_1428 = x_1352; -} else { - lean_dec_ref(x_1352); - x_1428 = lean_box(0); -} -if (lean_is_scalar(x_1428)) { - x_1429 = lean_alloc_ctor(1, 2, 0); -} else { - x_1429 = x_1428; -} -lean_ctor_set(x_1429, 0, x_1426); -lean_ctor_set(x_1429, 1, x_1427); -return x_1429; -} -} -} -} -else -{ -uint8_t x_1430; -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_1430 = !lean_is_exclusive(x_1119); -if (x_1430 == 0) -{ -return x_1119; -} -else -{ -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; -x_1431 = lean_ctor_get(x_1119, 0); -x_1432 = lean_ctor_get(x_1119, 1); -lean_inc(x_1432); -lean_inc(x_1431); -lean_dec(x_1119); -x_1433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1433, 0, x_1431); -lean_ctor_set(x_1433, 1, x_1432); -return x_1433; -} -} -} -} -} -block_1448: -{ -if (x_1435 == 0) -{ -x_1106 = x_1436; -goto block_1434; -} -else -{ -lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; -lean_inc(x_1); -x_1437 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1437, 0, x_1); -x_1438 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1439 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1439, 0, x_1438); -lean_ctor_set(x_1439, 1, x_1437); -x_1440 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1441 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1441, 0, x_1439); -lean_ctor_set(x_1441, 1, x_1440); -lean_inc(x_2); -x_1442 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1442, 0, x_2); -x_1443 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1443, 0, x_1441); -lean_ctor_set(x_1443, 1, x_1442); -x_1444 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1444, 0, x_1443); -lean_ctor_set(x_1444, 1, x_1438); -x_1445 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1446 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1445, x_1444, x_3, x_4, x_5, x_6, x_1436); -x_1447 = lean_ctor_get(x_1446, 1); -lean_inc(x_1447); -lean_dec(x_1446); -x_1106 = x_1447; -goto block_1434; -} -} -} -else -{ -lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; uint8_t x_1464; lean_object* x_1465; lean_object* x_1466; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1461 = lean_unsigned_to_nat(0u); -x_1462 = l_Lean_Level_getOffsetAux(x_1, x_1461); -lean_dec(x_1); -x_1463 = l_Lean_Level_getOffsetAux(x_2, x_1461); -lean_dec(x_2); -x_1464 = lean_nat_dec_eq(x_1462, x_1463); -lean_dec(x_1463); -lean_dec(x_1462); -x_1465 = lean_box(x_1464); -x_1466 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1466, 0, x_1465); -lean_ctor_set(x_1466, 1, x_7); -return x_1466; -} -} -case 4: -{ -lean_object* x_1467; lean_object* x_1468; uint8_t x_1469; -x_1467 = l_Lean_Level_getLevelOffset(x_1); -x_1468 = l_Lean_Level_getLevelOffset(x_2); -x_1469 = lean_level_eq(x_1467, x_1468); -lean_dec(x_1468); -lean_dec(x_1467); -if (x_1469 == 0) -{ -lean_object* x_1470; uint8_t x_1799; lean_object* x_1800; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; uint8_t x_1816; -x_1813 = lean_st_ref_get(x_6, x_7); -x_1814 = lean_ctor_get(x_1813, 0); -lean_inc(x_1814); -x_1815 = lean_ctor_get(x_1814, 3); -lean_inc(x_1815); -lean_dec(x_1814); -x_1816 = lean_ctor_get_uint8(x_1815, sizeof(void*)*1); -lean_dec(x_1815); -if (x_1816 == 0) -{ -lean_object* x_1817; uint8_t x_1818; -x_1817 = lean_ctor_get(x_1813, 1); -lean_inc(x_1817); -lean_dec(x_1813); -x_1818 = 0; -x_1799 = x_1818; -x_1800 = x_1817; -goto block_1812; -} -else -{ -lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; uint8_t x_1824; -x_1819 = lean_ctor_get(x_1813, 1); -lean_inc(x_1819); -lean_dec(x_1813); -x_1820 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1821 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1820, x_3, x_4, x_5, x_6, x_1819); -x_1822 = lean_ctor_get(x_1821, 0); -lean_inc(x_1822); -x_1823 = lean_ctor_get(x_1821, 1); -lean_inc(x_1823); -lean_dec(x_1821); -x_1824 = lean_unbox(x_1822); -lean_dec(x_1822); -x_1799 = x_1824; -x_1800 = x_1823; -goto block_1812; -} -block_1798: -{ -lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; uint8_t x_1479; -lean_inc(x_1); -x_1471 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1470); -x_1472 = lean_ctor_get(x_1471, 0); -lean_inc(x_1472); -x_1473 = lean_ctor_get(x_1471, 1); -lean_inc(x_1473); -lean_dec(x_1471); -x_1474 = l_Lean_Level_normalize(x_1472); -lean_dec(x_1472); -lean_inc(x_2); -x_1475 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1473); -x_1476 = lean_ctor_get(x_1475, 0); -lean_inc(x_1476); -x_1477 = lean_ctor_get(x_1475, 1); -lean_inc(x_1477); -lean_dec(x_1475); -x_1478 = l_Lean_Level_normalize(x_1476); -lean_dec(x_1476); -x_1479 = lean_level_eq(x_1, x_1474); -if (x_1479 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1474; -x_2 = x_1478; -x_7 = x_1477; -goto _start; -} -else -{ -uint8_t x_1481; -x_1481 = lean_level_eq(x_2, x_1478); -if (x_1481 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1474; -x_2 = x_1478; -x_7 = x_1477; -goto _start; -} -else -{ -lean_object* x_1483; -lean_dec(x_1478); -lean_dec(x_1474); -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_1483 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1477); -if (lean_obj_tag(x_1483) == 0) -{ -uint8_t x_1484; -x_1484 = !lean_is_exclusive(x_1483); -if (x_1484 == 0) -{ -lean_object* x_1485; lean_object* x_1486; uint8_t x_1487; uint8_t x_1488; uint8_t x_1489; -x_1485 = lean_ctor_get(x_1483, 0); -x_1486 = lean_ctor_get(x_1483, 1); -x_1487 = 2; -x_1488 = lean_unbox(x_1485); -x_1489 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1488, x_1487); -if (x_1489 == 0) -{ -uint8_t x_1490; uint8_t x_1491; uint8_t x_1492; lean_object* x_1493; -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_1490 = 1; -x_1491 = lean_unbox(x_1485); -lean_dec(x_1485); -x_1492 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1491, x_1490); -x_1493 = lean_box(x_1492); -lean_ctor_set(x_1483, 0, x_1493); -return x_1483; -} -else -{ -lean_object* x_1494; -lean_free_object(x_1483); -lean_dec(x_1485); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1494 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1486); -if (lean_obj_tag(x_1494) == 0) -{ -uint8_t x_1495; -x_1495 = !lean_is_exclusive(x_1494); -if (x_1495 == 0) -{ -lean_object* x_1496; lean_object* x_1497; uint8_t x_1498; uint8_t x_1499; -x_1496 = lean_ctor_get(x_1494, 0); -x_1497 = lean_ctor_get(x_1494, 1); -x_1498 = lean_unbox(x_1496); -x_1499 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1498, x_1487); -if (x_1499 == 0) -{ -uint8_t x_1500; uint8_t x_1501; uint8_t x_1502; lean_object* x_1503; -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_1500 = 1; -x_1501 = lean_unbox(x_1496); -lean_dec(x_1496); -x_1502 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1501, x_1500); -x_1503 = lean_box(x_1502); -lean_ctor_set(x_1494, 0, x_1503); -return x_1494; -} -else -{ -lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; uint8_t x_1507; -lean_free_object(x_1494); -lean_dec(x_1496); -x_1504 = lean_st_ref_get(x_6, x_1497); -x_1505 = lean_ctor_get(x_1504, 1); -lean_inc(x_1505); -lean_dec(x_1504); -x_1506 = lean_st_ref_get(x_4, x_1505); -x_1507 = !lean_is_exclusive(x_1506); -if (x_1507 == 0) -{ -lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; uint8_t x_1511; -x_1508 = lean_ctor_get(x_1506, 0); -x_1509 = lean_ctor_get(x_1506, 1); -x_1510 = lean_ctor_get(x_1508, 0); -lean_inc(x_1510); -lean_dec(x_1508); -lean_inc(x_1510); -x_1511 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1510, x_1); -if (x_1511 == 0) -{ -uint8_t x_1512; -x_1512 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1510, x_2); -if (x_1512 == 0) -{ -lean_object* x_1513; lean_object* x_1543; uint8_t x_1544; -x_1543 = lean_ctor_get(x_3, 0); -lean_inc(x_1543); -x_1544 = lean_ctor_get_uint8(x_1543, 4); -lean_dec(x_1543); -if (x_1544 == 0) -{ -uint8_t x_1545; lean_object* x_1546; -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_1545 = 0; -x_1546 = lean_box(x_1545); -lean_ctor_set(x_1506, 0, x_1546); -return x_1506; -} -else -{ -uint8_t x_1547; -x_1547 = l_Lean_Level_isMVar(x_1); -if (x_1547 == 0) -{ -uint8_t x_1548; -x_1548 = l_Lean_Level_isMVar(x_2); -if (x_1548 == 0) -{ -uint8_t x_1549; lean_object* x_1550; -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_1549 = 0; -x_1550 = lean_box(x_1549); -lean_ctor_set(x_1506, 0, x_1550); -return x_1506; -} -else -{ -lean_object* x_1551; -lean_free_object(x_1506); -x_1551 = lean_box(0); -x_1513 = x_1551; -goto block_1542; -} -} -else -{ -lean_object* x_1552; -lean_free_object(x_1506); -x_1552 = lean_box(0); -x_1513 = x_1552; -goto block_1542; -} -} -block_1542: -{ -uint8_t x_1514; lean_object* x_1515; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; uint8_t x_1533; -lean_dec(x_1513); -x_1530 = lean_st_ref_get(x_6, x_1509); -x_1531 = lean_ctor_get(x_1530, 0); -lean_inc(x_1531); -x_1532 = lean_ctor_get(x_1531, 3); -lean_inc(x_1532); -lean_dec(x_1531); -x_1533 = lean_ctor_get_uint8(x_1532, sizeof(void*)*1); -lean_dec(x_1532); -if (x_1533 == 0) -{ -lean_object* x_1534; uint8_t x_1535; -x_1534 = lean_ctor_get(x_1530, 1); -lean_inc(x_1534); -lean_dec(x_1530); -x_1535 = 0; -x_1514 = x_1535; -x_1515 = x_1534; -goto block_1529; -} -else -{ -lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; uint8_t x_1541; -x_1536 = lean_ctor_get(x_1530, 1); -lean_inc(x_1536); -lean_dec(x_1530); -x_1537 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1538 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1537, x_3, x_4, x_5, x_6, x_1536); -x_1539 = lean_ctor_get(x_1538, 0); -lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1538, 1); -lean_inc(x_1540); -lean_dec(x_1538); -x_1541 = lean_unbox(x_1539); -lean_dec(x_1539); -x_1514 = x_1541; -x_1515 = x_1540; -goto block_1529; -} -block_1529: -{ -if (x_1514 == 0) -{ -lean_object* x_1516; -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_1516 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1515); -return x_1516; -} -else -{ -lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; -x_1517 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1517, 0, x_1); -x_1518 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1519 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1519, 0, x_1518); -lean_ctor_set(x_1519, 1, x_1517); -x_1520 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1521 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1521, 0, x_1519); -lean_ctor_set(x_1521, 1, x_1520); -x_1522 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1522, 0, x_2); -x_1523 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1523, 0, x_1521); -lean_ctor_set(x_1523, 1, x_1522); -x_1524 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1524, 0, x_1523); -lean_ctor_set(x_1524, 1, x_1518); -x_1525 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1526 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1525, x_1524, x_3, x_4, x_5, x_6, x_1515); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1527 = lean_ctor_get(x_1526, 1); -lean_inc(x_1527); -lean_dec(x_1526); -x_1528 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1527); -return x_1528; -} -} -} -} -else -{ -lean_object* x_1553; uint8_t x_1554; -lean_free_object(x_1506); -x_1553 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1509); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1554 = !lean_is_exclusive(x_1553); -if (x_1554 == 0) -{ -lean_object* x_1555; uint8_t x_1556; lean_object* x_1557; -x_1555 = lean_ctor_get(x_1553, 0); -lean_dec(x_1555); -x_1556 = 1; -x_1557 = lean_box(x_1556); -lean_ctor_set(x_1553, 0, x_1557); -return x_1553; -} -else -{ -lean_object* x_1558; uint8_t x_1559; lean_object* x_1560; lean_object* x_1561; -x_1558 = lean_ctor_get(x_1553, 1); -lean_inc(x_1558); -lean_dec(x_1553); -x_1559 = 1; -x_1560 = lean_box(x_1559); -x_1561 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1561, 0, x_1560); -lean_ctor_set(x_1561, 1, x_1558); -return x_1561; -} -} -} -else -{ -lean_object* x_1562; uint8_t x_1563; -lean_dec(x_1510); -lean_free_object(x_1506); -x_1562 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1509); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1563 = !lean_is_exclusive(x_1562); -if (x_1563 == 0) -{ -lean_object* x_1564; uint8_t x_1565; lean_object* x_1566; -x_1564 = lean_ctor_get(x_1562, 0); -lean_dec(x_1564); -x_1565 = 1; -x_1566 = lean_box(x_1565); -lean_ctor_set(x_1562, 0, x_1566); -return x_1562; -} -else -{ -lean_object* x_1567; uint8_t x_1568; lean_object* x_1569; lean_object* x_1570; -x_1567 = lean_ctor_get(x_1562, 1); -lean_inc(x_1567); -lean_dec(x_1562); -x_1568 = 1; -x_1569 = lean_box(x_1568); -x_1570 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1570, 0, x_1569); -lean_ctor_set(x_1570, 1, x_1567); -return x_1570; -} -} -} -else -{ -lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; uint8_t x_1574; -x_1571 = lean_ctor_get(x_1506, 0); -x_1572 = lean_ctor_get(x_1506, 1); -lean_inc(x_1572); -lean_inc(x_1571); -lean_dec(x_1506); -x_1573 = lean_ctor_get(x_1571, 0); -lean_inc(x_1573); -lean_dec(x_1571); -lean_inc(x_1573); -x_1574 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1573, x_1); -if (x_1574 == 0) -{ -uint8_t x_1575; -x_1575 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1573, x_2); -if (x_1575 == 0) -{ -lean_object* x_1576; lean_object* x_1606; uint8_t x_1607; -x_1606 = lean_ctor_get(x_3, 0); -lean_inc(x_1606); -x_1607 = lean_ctor_get_uint8(x_1606, 4); -lean_dec(x_1606); -if (x_1607 == 0) -{ -uint8_t x_1608; lean_object* x_1609; lean_object* x_1610; -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_1608 = 0; -x_1609 = lean_box(x_1608); -x_1610 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1610, 0, x_1609); -lean_ctor_set(x_1610, 1, x_1572); -return x_1610; -} -else -{ -uint8_t x_1611; -x_1611 = l_Lean_Level_isMVar(x_1); -if (x_1611 == 0) -{ -uint8_t x_1612; -x_1612 = l_Lean_Level_isMVar(x_2); -if (x_1612 == 0) -{ -uint8_t x_1613; lean_object* x_1614; lean_object* x_1615; -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_1613 = 0; -x_1614 = lean_box(x_1613); -x_1615 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1615, 0, x_1614); -lean_ctor_set(x_1615, 1, x_1572); -return x_1615; -} -else -{ -lean_object* x_1616; -x_1616 = lean_box(0); -x_1576 = x_1616; -goto block_1605; -} -} -else -{ -lean_object* x_1617; -x_1617 = lean_box(0); -x_1576 = x_1617; -goto block_1605; -} -} -block_1605: -{ -uint8_t x_1577; lean_object* x_1578; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; uint8_t x_1596; -lean_dec(x_1576); -x_1593 = lean_st_ref_get(x_6, x_1572); -x_1594 = lean_ctor_get(x_1593, 0); -lean_inc(x_1594); -x_1595 = lean_ctor_get(x_1594, 3); -lean_inc(x_1595); -lean_dec(x_1594); -x_1596 = lean_ctor_get_uint8(x_1595, sizeof(void*)*1); -lean_dec(x_1595); -if (x_1596 == 0) -{ -lean_object* x_1597; uint8_t x_1598; -x_1597 = lean_ctor_get(x_1593, 1); -lean_inc(x_1597); -lean_dec(x_1593); -x_1598 = 0; -x_1577 = x_1598; -x_1578 = x_1597; -goto block_1592; -} -else -{ -lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; uint8_t x_1604; -x_1599 = lean_ctor_get(x_1593, 1); -lean_inc(x_1599); -lean_dec(x_1593); -x_1600 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1601 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1600, x_3, x_4, x_5, x_6, x_1599); -x_1602 = lean_ctor_get(x_1601, 0); -lean_inc(x_1602); -x_1603 = lean_ctor_get(x_1601, 1); -lean_inc(x_1603); -lean_dec(x_1601); -x_1604 = lean_unbox(x_1602); -lean_dec(x_1602); -x_1577 = x_1604; -x_1578 = x_1603; -goto block_1592; -} -block_1592: -{ -if (x_1577 == 0) -{ -lean_object* x_1579; -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_1579 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1578); -return x_1579; -} -else -{ -lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; -x_1580 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1580, 0, x_1); -x_1581 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1582 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1582, 0, x_1581); -lean_ctor_set(x_1582, 1, x_1580); -x_1583 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1584 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1584, 0, x_1582); -lean_ctor_set(x_1584, 1, x_1583); -x_1585 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1585, 0, x_2); -x_1586 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1586, 0, x_1584); -lean_ctor_set(x_1586, 1, x_1585); -x_1587 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1587, 0, x_1586); -lean_ctor_set(x_1587, 1, x_1581); -x_1588 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1589 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1588, x_1587, x_3, x_4, x_5, x_6, x_1578); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1590 = lean_ctor_get(x_1589, 1); -lean_inc(x_1590); -lean_dec(x_1589); -x_1591 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1590); -return x_1591; -} -} -} -} -else -{ -lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; uint8_t x_1621; lean_object* x_1622; lean_object* x_1623; -x_1618 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1572); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1619 = lean_ctor_get(x_1618, 1); -lean_inc(x_1619); -if (lean_is_exclusive(x_1618)) { - lean_ctor_release(x_1618, 0); - lean_ctor_release(x_1618, 1); - x_1620 = x_1618; -} else { - lean_dec_ref(x_1618); - x_1620 = lean_box(0); -} -x_1621 = 1; -x_1622 = lean_box(x_1621); -if (lean_is_scalar(x_1620)) { - x_1623 = lean_alloc_ctor(0, 2, 0); -} else { - x_1623 = x_1620; -} -lean_ctor_set(x_1623, 0, x_1622); -lean_ctor_set(x_1623, 1, x_1619); -return x_1623; -} -} -else -{ -lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; uint8_t x_1627; lean_object* x_1628; lean_object* x_1629; -lean_dec(x_1573); -x_1624 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1572); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1625 = lean_ctor_get(x_1624, 1); -lean_inc(x_1625); -if (lean_is_exclusive(x_1624)) { - lean_ctor_release(x_1624, 0); - lean_ctor_release(x_1624, 1); - x_1626 = x_1624; -} else { - lean_dec_ref(x_1624); - x_1626 = lean_box(0); -} -x_1627 = 1; -x_1628 = lean_box(x_1627); -if (lean_is_scalar(x_1626)) { - x_1629 = lean_alloc_ctor(0, 2, 0); -} else { - x_1629 = x_1626; -} -lean_ctor_set(x_1629, 0, x_1628); -lean_ctor_set(x_1629, 1, x_1625); -return x_1629; -} -} -} -} -else -{ -lean_object* x_1630; lean_object* x_1631; uint8_t x_1632; uint8_t x_1633; -x_1630 = lean_ctor_get(x_1494, 0); -x_1631 = lean_ctor_get(x_1494, 1); -lean_inc(x_1631); -lean_inc(x_1630); -lean_dec(x_1494); -x_1632 = lean_unbox(x_1630); -x_1633 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1632, x_1487); -if (x_1633 == 0) -{ -uint8_t x_1634; uint8_t x_1635; uint8_t x_1636; lean_object* x_1637; lean_object* x_1638; -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_1634 = 1; -x_1635 = lean_unbox(x_1630); -lean_dec(x_1630); -x_1636 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1635, x_1634); -x_1637 = lean_box(x_1636); -x_1638 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1638, 0, x_1637); -lean_ctor_set(x_1638, 1, x_1631); -return x_1638; -} -else -{ -lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; uint8_t x_1646; -lean_dec(x_1630); -x_1639 = lean_st_ref_get(x_6, x_1631); -x_1640 = lean_ctor_get(x_1639, 1); -lean_inc(x_1640); -lean_dec(x_1639); -x_1641 = lean_st_ref_get(x_4, x_1640); -x_1642 = lean_ctor_get(x_1641, 0); -lean_inc(x_1642); -x_1643 = lean_ctor_get(x_1641, 1); -lean_inc(x_1643); -if (lean_is_exclusive(x_1641)) { - lean_ctor_release(x_1641, 0); - lean_ctor_release(x_1641, 1); - x_1644 = x_1641; -} else { - lean_dec_ref(x_1641); - x_1644 = lean_box(0); -} -x_1645 = lean_ctor_get(x_1642, 0); -lean_inc(x_1645); -lean_dec(x_1642); -lean_inc(x_1645); -x_1646 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1645, x_1); -if (x_1646 == 0) -{ -uint8_t x_1647; -x_1647 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1645, x_2); -if (x_1647 == 0) -{ -lean_object* x_1648; lean_object* x_1678; uint8_t x_1679; -x_1678 = lean_ctor_get(x_3, 0); -lean_inc(x_1678); -x_1679 = lean_ctor_get_uint8(x_1678, 4); -lean_dec(x_1678); -if (x_1679 == 0) -{ -uint8_t x_1680; lean_object* x_1681; lean_object* x_1682; -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_1680 = 0; -x_1681 = lean_box(x_1680); -if (lean_is_scalar(x_1644)) { - x_1682 = lean_alloc_ctor(0, 2, 0); -} else { - x_1682 = x_1644; -} -lean_ctor_set(x_1682, 0, x_1681); -lean_ctor_set(x_1682, 1, x_1643); -return x_1682; -} -else -{ -uint8_t x_1683; -x_1683 = l_Lean_Level_isMVar(x_1); -if (x_1683 == 0) -{ -uint8_t x_1684; -x_1684 = l_Lean_Level_isMVar(x_2); -if (x_1684 == 0) -{ -uint8_t x_1685; lean_object* x_1686; lean_object* x_1687; -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_1685 = 0; -x_1686 = lean_box(x_1685); -if (lean_is_scalar(x_1644)) { - x_1687 = lean_alloc_ctor(0, 2, 0); -} else { - x_1687 = x_1644; -} -lean_ctor_set(x_1687, 0, x_1686); -lean_ctor_set(x_1687, 1, x_1643); -return x_1687; -} -else -{ -lean_object* x_1688; -lean_dec(x_1644); -x_1688 = lean_box(0); -x_1648 = x_1688; -goto block_1677; -} -} -else -{ -lean_object* x_1689; -lean_dec(x_1644); -x_1689 = lean_box(0); -x_1648 = x_1689; -goto block_1677; -} -} -block_1677: -{ -uint8_t x_1649; lean_object* x_1650; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; uint8_t x_1668; -lean_dec(x_1648); -x_1665 = lean_st_ref_get(x_6, x_1643); -x_1666 = lean_ctor_get(x_1665, 0); -lean_inc(x_1666); -x_1667 = lean_ctor_get(x_1666, 3); -lean_inc(x_1667); -lean_dec(x_1666); -x_1668 = lean_ctor_get_uint8(x_1667, sizeof(void*)*1); -lean_dec(x_1667); -if (x_1668 == 0) -{ -lean_object* x_1669; uint8_t x_1670; -x_1669 = lean_ctor_get(x_1665, 1); -lean_inc(x_1669); -lean_dec(x_1665); -x_1670 = 0; -x_1649 = x_1670; -x_1650 = x_1669; -goto block_1664; -} -else -{ -lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; uint8_t x_1676; -x_1671 = lean_ctor_get(x_1665, 1); -lean_inc(x_1671); -lean_dec(x_1665); -x_1672 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1673 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1672, x_3, x_4, x_5, x_6, x_1671); -x_1674 = lean_ctor_get(x_1673, 0); -lean_inc(x_1674); -x_1675 = lean_ctor_get(x_1673, 1); -lean_inc(x_1675); -lean_dec(x_1673); -x_1676 = lean_unbox(x_1674); -lean_dec(x_1674); -x_1649 = x_1676; -x_1650 = x_1675; -goto block_1664; -} -block_1664: -{ -if (x_1649 == 0) -{ -lean_object* x_1651; -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_1651 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1650); -return x_1651; -} -else -{ -lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; -x_1652 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1652, 0, x_1); -x_1653 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1654 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1654, 0, x_1653); -lean_ctor_set(x_1654, 1, x_1652); -x_1655 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1656 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1656, 0, x_1654); -lean_ctor_set(x_1656, 1, x_1655); -x_1657 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1657, 0, x_2); -x_1658 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1658, 0, x_1656); -lean_ctor_set(x_1658, 1, x_1657); -x_1659 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1659, 0, x_1658); -lean_ctor_set(x_1659, 1, x_1653); -x_1660 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1661 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1660, x_1659, x_3, x_4, x_5, x_6, x_1650); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1662 = lean_ctor_get(x_1661, 1); -lean_inc(x_1662); -lean_dec(x_1661); -x_1663 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1662); -return x_1663; -} -} -} -} -else -{ -lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; uint8_t x_1693; lean_object* x_1694; lean_object* x_1695; -lean_dec(x_1644); -x_1690 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1643); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1691 = lean_ctor_get(x_1690, 1); -lean_inc(x_1691); -if (lean_is_exclusive(x_1690)) { - lean_ctor_release(x_1690, 0); - lean_ctor_release(x_1690, 1); - x_1692 = x_1690; -} else { - lean_dec_ref(x_1690); - x_1692 = lean_box(0); -} -x_1693 = 1; -x_1694 = lean_box(x_1693); -if (lean_is_scalar(x_1692)) { - x_1695 = lean_alloc_ctor(0, 2, 0); -} else { - x_1695 = x_1692; -} -lean_ctor_set(x_1695, 0, x_1694); -lean_ctor_set(x_1695, 1, x_1691); -return x_1695; -} -} -else -{ -lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; uint8_t x_1699; lean_object* x_1700; lean_object* x_1701; -lean_dec(x_1645); -lean_dec(x_1644); -x_1696 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1643); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1697 = lean_ctor_get(x_1696, 1); -lean_inc(x_1697); -if (lean_is_exclusive(x_1696)) { - lean_ctor_release(x_1696, 0); - lean_ctor_release(x_1696, 1); - x_1698 = x_1696; -} else { - lean_dec_ref(x_1696); - x_1698 = lean_box(0); -} -x_1699 = 1; -x_1700 = lean_box(x_1699); -if (lean_is_scalar(x_1698)) { - x_1701 = lean_alloc_ctor(0, 2, 0); -} else { - x_1701 = x_1698; -} -lean_ctor_set(x_1701, 0, x_1700); -lean_ctor_set(x_1701, 1, x_1697); -return x_1701; -} -} -} -} -else -{ -uint8_t x_1702; -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_1702 = !lean_is_exclusive(x_1494); -if (x_1702 == 0) -{ -return x_1494; -} -else -{ -lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; -x_1703 = lean_ctor_get(x_1494, 0); -x_1704 = lean_ctor_get(x_1494, 1); -lean_inc(x_1704); -lean_inc(x_1703); -lean_dec(x_1494); -x_1705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1705, 0, x_1703); -lean_ctor_set(x_1705, 1, x_1704); -return x_1705; -} -} -} -} -else -{ -lean_object* x_1706; lean_object* x_1707; uint8_t x_1708; uint8_t x_1709; uint8_t x_1710; -x_1706 = lean_ctor_get(x_1483, 0); -x_1707 = lean_ctor_get(x_1483, 1); -lean_inc(x_1707); -lean_inc(x_1706); -lean_dec(x_1483); -x_1708 = 2; -x_1709 = lean_unbox(x_1706); -x_1710 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1709, x_1708); -if (x_1710 == 0) -{ -uint8_t x_1711; uint8_t x_1712; uint8_t x_1713; lean_object* x_1714; lean_object* x_1715; -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_1711 = 1; -x_1712 = lean_unbox(x_1706); -lean_dec(x_1706); -x_1713 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1712, x_1711); -x_1714 = lean_box(x_1713); -x_1715 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1715, 0, x_1714); -lean_ctor_set(x_1715, 1, x_1707); -return x_1715; -} -else -{ -lean_object* x_1716; -lean_dec(x_1706); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1716 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1707); -if (lean_obj_tag(x_1716) == 0) -{ -lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; uint8_t x_1720; uint8_t x_1721; -x_1717 = lean_ctor_get(x_1716, 0); -lean_inc(x_1717); -x_1718 = lean_ctor_get(x_1716, 1); -lean_inc(x_1718); -if (lean_is_exclusive(x_1716)) { - lean_ctor_release(x_1716, 0); - lean_ctor_release(x_1716, 1); - x_1719 = x_1716; -} else { - lean_dec_ref(x_1716); - x_1719 = lean_box(0); -} -x_1720 = lean_unbox(x_1717); -x_1721 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1720, x_1708); -if (x_1721 == 0) -{ -uint8_t x_1722; uint8_t x_1723; uint8_t x_1724; lean_object* x_1725; lean_object* x_1726; -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_1722 = 1; -x_1723 = lean_unbox(x_1717); -lean_dec(x_1717); -x_1724 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1723, x_1722); -x_1725 = lean_box(x_1724); -if (lean_is_scalar(x_1719)) { - x_1726 = lean_alloc_ctor(0, 2, 0); -} else { - x_1726 = x_1719; -} -lean_ctor_set(x_1726, 0, x_1725); -lean_ctor_set(x_1726, 1, x_1718); -return x_1726; -} -else -{ -lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; uint8_t x_1734; -lean_dec(x_1719); -lean_dec(x_1717); -x_1727 = lean_st_ref_get(x_6, x_1718); -x_1728 = lean_ctor_get(x_1727, 1); -lean_inc(x_1728); -lean_dec(x_1727); -x_1729 = lean_st_ref_get(x_4, x_1728); -x_1730 = lean_ctor_get(x_1729, 0); -lean_inc(x_1730); -x_1731 = lean_ctor_get(x_1729, 1); -lean_inc(x_1731); -if (lean_is_exclusive(x_1729)) { - lean_ctor_release(x_1729, 0); - lean_ctor_release(x_1729, 1); - x_1732 = x_1729; -} else { - lean_dec_ref(x_1729); - x_1732 = lean_box(0); -} -x_1733 = lean_ctor_get(x_1730, 0); -lean_inc(x_1733); -lean_dec(x_1730); -lean_inc(x_1733); -x_1734 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1733, x_1); -if (x_1734 == 0) -{ -uint8_t x_1735; -x_1735 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1733, x_2); -if (x_1735 == 0) -{ -lean_object* x_1736; lean_object* x_1766; uint8_t x_1767; -x_1766 = lean_ctor_get(x_3, 0); -lean_inc(x_1766); -x_1767 = lean_ctor_get_uint8(x_1766, 4); -lean_dec(x_1766); -if (x_1767 == 0) -{ -uint8_t x_1768; lean_object* x_1769; lean_object* x_1770; -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_1768 = 0; -x_1769 = lean_box(x_1768); -if (lean_is_scalar(x_1732)) { - x_1770 = lean_alloc_ctor(0, 2, 0); -} else { - x_1770 = x_1732; -} -lean_ctor_set(x_1770, 0, x_1769); -lean_ctor_set(x_1770, 1, x_1731); -return x_1770; -} -else -{ -uint8_t x_1771; -x_1771 = l_Lean_Level_isMVar(x_1); -if (x_1771 == 0) -{ -uint8_t x_1772; -x_1772 = l_Lean_Level_isMVar(x_2); -if (x_1772 == 0) -{ -uint8_t x_1773; lean_object* x_1774; lean_object* x_1775; -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_1773 = 0; -x_1774 = lean_box(x_1773); -if (lean_is_scalar(x_1732)) { - x_1775 = lean_alloc_ctor(0, 2, 0); -} else { - x_1775 = x_1732; -} -lean_ctor_set(x_1775, 0, x_1774); -lean_ctor_set(x_1775, 1, x_1731); -return x_1775; -} -else -{ -lean_object* x_1776; -lean_dec(x_1732); -x_1776 = lean_box(0); -x_1736 = x_1776; -goto block_1765; -} -} -else -{ -lean_object* x_1777; -lean_dec(x_1732); -x_1777 = lean_box(0); -x_1736 = x_1777; -goto block_1765; -} -} -block_1765: -{ -uint8_t x_1737; lean_object* x_1738; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; uint8_t x_1756; -lean_dec(x_1736); -x_1753 = lean_st_ref_get(x_6, x_1731); -x_1754 = lean_ctor_get(x_1753, 0); -lean_inc(x_1754); -x_1755 = lean_ctor_get(x_1754, 3); -lean_inc(x_1755); -lean_dec(x_1754); -x_1756 = lean_ctor_get_uint8(x_1755, sizeof(void*)*1); -lean_dec(x_1755); -if (x_1756 == 0) -{ -lean_object* x_1757; uint8_t x_1758; -x_1757 = lean_ctor_get(x_1753, 1); -lean_inc(x_1757); -lean_dec(x_1753); -x_1758 = 0; -x_1737 = x_1758; -x_1738 = x_1757; -goto block_1752; -} -else -{ -lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; uint8_t x_1764; -x_1759 = lean_ctor_get(x_1753, 1); -lean_inc(x_1759); -lean_dec(x_1753); -x_1760 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1761 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1760, x_3, x_4, x_5, x_6, x_1759); -x_1762 = lean_ctor_get(x_1761, 0); -lean_inc(x_1762); -x_1763 = lean_ctor_get(x_1761, 1); -lean_inc(x_1763); -lean_dec(x_1761); -x_1764 = lean_unbox(x_1762); -lean_dec(x_1762); -x_1737 = x_1764; -x_1738 = x_1763; -goto block_1752; -} -block_1752: -{ -if (x_1737 == 0) -{ -lean_object* x_1739; -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_1739 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1738); -return x_1739; -} -else -{ -lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; -x_1740 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1740, 0, x_1); -x_1741 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1742 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1742, 0, x_1741); -lean_ctor_set(x_1742, 1, x_1740); -x_1743 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1744 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1744, 0, x_1742); -lean_ctor_set(x_1744, 1, x_1743); -x_1745 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1745, 0, x_2); -x_1746 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1746, 0, x_1744); -lean_ctor_set(x_1746, 1, x_1745); -x_1747 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1747, 0, x_1746); -lean_ctor_set(x_1747, 1, x_1741); -x_1748 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1749 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1748, x_1747, x_3, x_4, x_5, x_6, x_1738); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1750 = lean_ctor_get(x_1749, 1); -lean_inc(x_1750); -lean_dec(x_1749); -x_1751 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1750); -return x_1751; -} -} -} -} -else -{ -lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; uint8_t x_1781; lean_object* x_1782; lean_object* x_1783; -lean_dec(x_1732); -x_1778 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1731); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1779 = lean_ctor_get(x_1778, 1); -lean_inc(x_1779); -if (lean_is_exclusive(x_1778)) { - lean_ctor_release(x_1778, 0); - lean_ctor_release(x_1778, 1); - x_1780 = x_1778; -} else { - lean_dec_ref(x_1778); - x_1780 = lean_box(0); -} -x_1781 = 1; -x_1782 = lean_box(x_1781); -if (lean_is_scalar(x_1780)) { - x_1783 = lean_alloc_ctor(0, 2, 0); -} else { - x_1783 = x_1780; -} -lean_ctor_set(x_1783, 0, x_1782); -lean_ctor_set(x_1783, 1, x_1779); -return x_1783; -} -} -else -{ -lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; uint8_t x_1787; lean_object* x_1788; lean_object* x_1789; -lean_dec(x_1733); -lean_dec(x_1732); -x_1784 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1731); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1785 = lean_ctor_get(x_1784, 1); -lean_inc(x_1785); -if (lean_is_exclusive(x_1784)) { - lean_ctor_release(x_1784, 0); - lean_ctor_release(x_1784, 1); - x_1786 = x_1784; -} else { - lean_dec_ref(x_1784); - x_1786 = lean_box(0); -} -x_1787 = 1; -x_1788 = lean_box(x_1787); -if (lean_is_scalar(x_1786)) { - x_1789 = lean_alloc_ctor(0, 2, 0); -} else { - x_1789 = x_1786; -} -lean_ctor_set(x_1789, 0, x_1788); -lean_ctor_set(x_1789, 1, x_1785); -return x_1789; -} -} -} -else -{ -lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; -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_1790 = lean_ctor_get(x_1716, 0); -lean_inc(x_1790); -x_1791 = lean_ctor_get(x_1716, 1); -lean_inc(x_1791); -if (lean_is_exclusive(x_1716)) { - lean_ctor_release(x_1716, 0); - lean_ctor_release(x_1716, 1); - x_1792 = x_1716; -} else { - lean_dec_ref(x_1716); - x_1792 = lean_box(0); -} -if (lean_is_scalar(x_1792)) { - x_1793 = lean_alloc_ctor(1, 2, 0); -} else { - x_1793 = x_1792; -} -lean_ctor_set(x_1793, 0, x_1790); -lean_ctor_set(x_1793, 1, x_1791); -return x_1793; -} -} -} -} -else -{ -uint8_t x_1794; -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_1794 = !lean_is_exclusive(x_1483); -if (x_1794 == 0) -{ -return x_1483; -} -else -{ -lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; -x_1795 = lean_ctor_get(x_1483, 0); -x_1796 = lean_ctor_get(x_1483, 1); -lean_inc(x_1796); -lean_inc(x_1795); -lean_dec(x_1483); -x_1797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1797, 0, x_1795); -lean_ctor_set(x_1797, 1, x_1796); -return x_1797; -} -} -} -} -} -block_1812: -{ -if (x_1799 == 0) -{ -x_1470 = x_1800; -goto block_1798; -} -else -{ -lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; -lean_inc(x_1); -x_1801 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1801, 0, x_1); -x_1802 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1803 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1803, 0, x_1802); -lean_ctor_set(x_1803, 1, x_1801); -x_1804 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1805 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1805, 0, x_1803); -lean_ctor_set(x_1805, 1, x_1804); -lean_inc(x_2); -x_1806 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1806, 0, x_2); -x_1807 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1807, 0, x_1805); -lean_ctor_set(x_1807, 1, x_1806); -x_1808 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1808, 0, x_1807); -lean_ctor_set(x_1808, 1, x_1802); -x_1809 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_1810 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1809, x_1808, x_3, x_4, x_5, x_6, x_1800); -x_1811 = lean_ctor_get(x_1810, 1); -lean_inc(x_1811); -lean_dec(x_1810); -x_1470 = x_1811; -goto block_1798; -} -} -} -else -{ -lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; uint8_t x_1828; lean_object* x_1829; lean_object* x_1830; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1825 = lean_unsigned_to_nat(0u); -x_1826 = l_Lean_Level_getOffsetAux(x_1, x_1825); -lean_dec(x_1); -x_1827 = l_Lean_Level_getOffsetAux(x_2, x_1825); -lean_dec(x_2); -x_1828 = lean_nat_dec_eq(x_1826, x_1827); -lean_dec(x_1827); -lean_dec(x_1826); -x_1829 = lean_box(x_1828); -x_1830 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1830, 0, x_1829); -lean_ctor_set(x_1830, 1, x_7); -return x_1830; -} -} -default: -{ -lean_object* x_1831; lean_object* x_1832; uint8_t x_1833; -x_1831 = l_Lean_Level_getLevelOffset(x_1); -x_1832 = l_Lean_Level_getLevelOffset(x_2); -x_1833 = lean_level_eq(x_1831, x_1832); -lean_dec(x_1832); -lean_dec(x_1831); -if (x_1833 == 0) -{ -lean_object* x_1834; uint8_t x_2163; lean_object* x_2164; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; uint8_t x_2180; -x_2177 = lean_st_ref_get(x_6, x_7); -x_2178 = lean_ctor_get(x_2177, 0); -lean_inc(x_2178); -x_2179 = lean_ctor_get(x_2178, 3); -lean_inc(x_2179); -lean_dec(x_2178); -x_2180 = lean_ctor_get_uint8(x_2179, sizeof(void*)*1); -lean_dec(x_2179); -if (x_2180 == 0) -{ -lean_object* x_2181; uint8_t x_2182; -x_2181 = lean_ctor_get(x_2177, 1); -lean_inc(x_2181); -lean_dec(x_2177); -x_2182 = 0; -x_2163 = x_2182; -x_2164 = x_2181; -goto block_2176; -} -else -{ -lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; uint8_t x_2188; -x_2183 = lean_ctor_get(x_2177, 1); -lean_inc(x_2183); -lean_dec(x_2177); -x_2184 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2184, x_3, x_4, x_5, x_6, x_2183); -x_2186 = lean_ctor_get(x_2185, 0); -lean_inc(x_2186); -x_2187 = lean_ctor_get(x_2185, 1); -lean_inc(x_2187); -lean_dec(x_2185); -x_2188 = lean_unbox(x_2186); -lean_dec(x_2186); -x_2163 = x_2188; -x_2164 = x_2187; -goto block_2176; -} -block_2162: -{ -lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; uint8_t x_1843; -lean_inc(x_1); -x_1835 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1834); -x_1836 = lean_ctor_get(x_1835, 0); -lean_inc(x_1836); -x_1837 = lean_ctor_get(x_1835, 1); -lean_inc(x_1837); -lean_dec(x_1835); -x_1838 = l_Lean_Level_normalize(x_1836); -lean_dec(x_1836); -lean_inc(x_2); -x_1839 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1837); -x_1840 = lean_ctor_get(x_1839, 0); -lean_inc(x_1840); -x_1841 = lean_ctor_get(x_1839, 1); -lean_inc(x_1841); -lean_dec(x_1839); -x_1842 = l_Lean_Level_normalize(x_1840); -lean_dec(x_1840); -x_1843 = lean_level_eq(x_1, x_1838); -if (x_1843 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1838; -x_2 = x_1842; -x_7 = x_1841; -goto _start; -} -else -{ -uint8_t x_1845; -x_1845 = lean_level_eq(x_2, x_1842); -if (x_1845 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_1838; -x_2 = x_1842; -x_7 = x_1841; -goto _start; -} -else -{ -lean_object* x_1847; -lean_dec(x_1842); -lean_dec(x_1838); -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_1847 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1841); -if (lean_obj_tag(x_1847) == 0) -{ -uint8_t x_1848; -x_1848 = !lean_is_exclusive(x_1847); -if (x_1848 == 0) -{ -lean_object* x_1849; lean_object* x_1850; uint8_t x_1851; uint8_t x_1852; uint8_t x_1853; -x_1849 = lean_ctor_get(x_1847, 0); -x_1850 = lean_ctor_get(x_1847, 1); -x_1851 = 2; -x_1852 = lean_unbox(x_1849); -x_1853 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1852, x_1851); -if (x_1853 == 0) -{ -uint8_t x_1854; uint8_t x_1855; uint8_t x_1856; lean_object* x_1857; -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_1854 = 1; -x_1855 = lean_unbox(x_1849); -lean_dec(x_1849); -x_1856 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1855, x_1854); -x_1857 = lean_box(x_1856); -lean_ctor_set(x_1847, 0, x_1857); -return x_1847; -} -else -{ -lean_object* x_1858; -lean_free_object(x_1847); -lean_dec(x_1849); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1858 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1850); -if (lean_obj_tag(x_1858) == 0) -{ -uint8_t x_1859; -x_1859 = !lean_is_exclusive(x_1858); -if (x_1859 == 0) -{ -lean_object* x_1860; lean_object* x_1861; uint8_t x_1862; uint8_t x_1863; -x_1860 = lean_ctor_get(x_1858, 0); -x_1861 = lean_ctor_get(x_1858, 1); -x_1862 = lean_unbox(x_1860); -x_1863 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1862, x_1851); -if (x_1863 == 0) -{ -uint8_t x_1864; uint8_t x_1865; uint8_t x_1866; lean_object* x_1867; -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_1864 = 1; -x_1865 = lean_unbox(x_1860); -lean_dec(x_1860); -x_1866 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1865, x_1864); -x_1867 = lean_box(x_1866); -lean_ctor_set(x_1858, 0, x_1867); -return x_1858; -} -else -{ -lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; uint8_t x_1871; -lean_free_object(x_1858); -lean_dec(x_1860); -x_1868 = lean_st_ref_get(x_6, x_1861); -x_1869 = lean_ctor_get(x_1868, 1); -lean_inc(x_1869); -lean_dec(x_1868); -x_1870 = lean_st_ref_get(x_4, x_1869); -x_1871 = !lean_is_exclusive(x_1870); -if (x_1871 == 0) -{ -lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; uint8_t x_1875; -x_1872 = lean_ctor_get(x_1870, 0); -x_1873 = lean_ctor_get(x_1870, 1); -x_1874 = lean_ctor_get(x_1872, 0); -lean_inc(x_1874); -lean_dec(x_1872); -lean_inc(x_1874); -x_1875 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1874, x_1); -if (x_1875 == 0) -{ -uint8_t x_1876; -x_1876 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1874, x_2); -if (x_1876 == 0) -{ -lean_object* x_1877; lean_object* x_1907; uint8_t x_1908; -x_1907 = lean_ctor_get(x_3, 0); -lean_inc(x_1907); -x_1908 = lean_ctor_get_uint8(x_1907, 4); -lean_dec(x_1907); -if (x_1908 == 0) -{ -uint8_t x_1909; lean_object* x_1910; -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_1909 = 0; -x_1910 = lean_box(x_1909); -lean_ctor_set(x_1870, 0, x_1910); -return x_1870; -} -else -{ -uint8_t x_1911; -x_1911 = l_Lean_Level_isMVar(x_1); -if (x_1911 == 0) -{ -uint8_t x_1912; -x_1912 = l_Lean_Level_isMVar(x_2); -if (x_1912 == 0) -{ -uint8_t x_1913; lean_object* x_1914; -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_1913 = 0; -x_1914 = lean_box(x_1913); -lean_ctor_set(x_1870, 0, x_1914); -return x_1870; -} -else -{ -lean_object* x_1915; -lean_free_object(x_1870); -x_1915 = lean_box(0); -x_1877 = x_1915; -goto block_1906; -} -} -else -{ -lean_object* x_1916; -lean_free_object(x_1870); -x_1916 = lean_box(0); -x_1877 = x_1916; -goto block_1906; -} -} -block_1906: -{ -uint8_t x_1878; lean_object* x_1879; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; uint8_t x_1897; -lean_dec(x_1877); -x_1894 = lean_st_ref_get(x_6, x_1873); -x_1895 = lean_ctor_get(x_1894, 0); -lean_inc(x_1895); -x_1896 = lean_ctor_get(x_1895, 3); -lean_inc(x_1896); -lean_dec(x_1895); -x_1897 = lean_ctor_get_uint8(x_1896, sizeof(void*)*1); -lean_dec(x_1896); -if (x_1897 == 0) -{ -lean_object* x_1898; uint8_t x_1899; -x_1898 = lean_ctor_get(x_1894, 1); -lean_inc(x_1898); -lean_dec(x_1894); -x_1899 = 0; -x_1878 = x_1899; -x_1879 = x_1898; -goto block_1893; -} -else -{ -lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; uint8_t x_1905; -x_1900 = lean_ctor_get(x_1894, 1); -lean_inc(x_1900); -lean_dec(x_1894); -x_1901 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1902 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1901, x_3, x_4, x_5, x_6, x_1900); -x_1903 = lean_ctor_get(x_1902, 0); -lean_inc(x_1903); -x_1904 = lean_ctor_get(x_1902, 1); -lean_inc(x_1904); -lean_dec(x_1902); -x_1905 = lean_unbox(x_1903); -lean_dec(x_1903); -x_1878 = x_1905; -x_1879 = x_1904; -goto block_1893; -} -block_1893: -{ -if (x_1878 == 0) -{ -lean_object* x_1880; -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_1880 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1879); -return x_1880; -} -else -{ -lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; -x_1881 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1881, 0, x_1); -x_1882 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1883 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1883, 0, x_1882); -lean_ctor_set(x_1883, 1, x_1881); -x_1884 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1885 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1885, 0, x_1883); -lean_ctor_set(x_1885, 1, x_1884); -x_1886 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1886, 0, x_2); -x_1887 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1887, 0, x_1885); -lean_ctor_set(x_1887, 1, x_1886); -x_1888 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1888, 0, x_1887); -lean_ctor_set(x_1888, 1, x_1882); -x_1889 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1890 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1889, x_1888, x_3, x_4, x_5, x_6, x_1879); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1891 = lean_ctor_get(x_1890, 1); -lean_inc(x_1891); -lean_dec(x_1890); -x_1892 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1891); -return x_1892; -} -} -} -} -else -{ -lean_object* x_1917; uint8_t x_1918; -lean_free_object(x_1870); -x_1917 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1873); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1918 = !lean_is_exclusive(x_1917); -if (x_1918 == 0) -{ -lean_object* x_1919; uint8_t x_1920; lean_object* x_1921; -x_1919 = lean_ctor_get(x_1917, 0); -lean_dec(x_1919); -x_1920 = 1; -x_1921 = lean_box(x_1920); -lean_ctor_set(x_1917, 0, x_1921); -return x_1917; -} -else -{ -lean_object* x_1922; uint8_t x_1923; lean_object* x_1924; lean_object* x_1925; -x_1922 = lean_ctor_get(x_1917, 1); -lean_inc(x_1922); -lean_dec(x_1917); -x_1923 = 1; -x_1924 = lean_box(x_1923); -x_1925 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1925, 0, x_1924); -lean_ctor_set(x_1925, 1, x_1922); -return x_1925; -} -} -} -else -{ -lean_object* x_1926; uint8_t x_1927; -lean_dec(x_1874); -lean_free_object(x_1870); -x_1926 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1873); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1927 = !lean_is_exclusive(x_1926); -if (x_1927 == 0) -{ -lean_object* x_1928; uint8_t x_1929; lean_object* x_1930; -x_1928 = lean_ctor_get(x_1926, 0); -lean_dec(x_1928); -x_1929 = 1; -x_1930 = lean_box(x_1929); -lean_ctor_set(x_1926, 0, x_1930); -return x_1926; -} -else -{ -lean_object* x_1931; uint8_t x_1932; lean_object* x_1933; lean_object* x_1934; -x_1931 = lean_ctor_get(x_1926, 1); -lean_inc(x_1931); -lean_dec(x_1926); -x_1932 = 1; -x_1933 = lean_box(x_1932); -x_1934 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1934, 0, x_1933); -lean_ctor_set(x_1934, 1, x_1931); -return x_1934; -} -} -} -else -{ -lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; uint8_t x_1938; -x_1935 = lean_ctor_get(x_1870, 0); -x_1936 = lean_ctor_get(x_1870, 1); -lean_inc(x_1936); -lean_inc(x_1935); -lean_dec(x_1870); -x_1937 = lean_ctor_get(x_1935, 0); -lean_inc(x_1937); -lean_dec(x_1935); -lean_inc(x_1937); -x_1938 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1937, x_1); -if (x_1938 == 0) -{ -uint8_t x_1939; -x_1939 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1937, x_2); -if (x_1939 == 0) -{ -lean_object* x_1940; lean_object* x_1970; uint8_t x_1971; -x_1970 = lean_ctor_get(x_3, 0); -lean_inc(x_1970); -x_1971 = lean_ctor_get_uint8(x_1970, 4); -lean_dec(x_1970); -if (x_1971 == 0) -{ -uint8_t x_1972; lean_object* x_1973; lean_object* x_1974; -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_1972 = 0; -x_1973 = lean_box(x_1972); -x_1974 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1974, 0, x_1973); -lean_ctor_set(x_1974, 1, x_1936); -return x_1974; -} -else -{ -uint8_t x_1975; -x_1975 = l_Lean_Level_isMVar(x_1); -if (x_1975 == 0) -{ -uint8_t x_1976; -x_1976 = l_Lean_Level_isMVar(x_2); -if (x_1976 == 0) -{ -uint8_t x_1977; lean_object* x_1978; lean_object* x_1979; -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_1977 = 0; -x_1978 = lean_box(x_1977); -x_1979 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1979, 0, x_1978); -lean_ctor_set(x_1979, 1, x_1936); -return x_1979; -} -else -{ -lean_object* x_1980; -x_1980 = lean_box(0); -x_1940 = x_1980; -goto block_1969; -} -} -else -{ -lean_object* x_1981; -x_1981 = lean_box(0); -x_1940 = x_1981; -goto block_1969; -} -} -block_1969: -{ -uint8_t x_1941; lean_object* x_1942; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; uint8_t x_1960; -lean_dec(x_1940); -x_1957 = lean_st_ref_get(x_6, x_1936); -x_1958 = lean_ctor_get(x_1957, 0); -lean_inc(x_1958); -x_1959 = lean_ctor_get(x_1958, 3); -lean_inc(x_1959); -lean_dec(x_1958); -x_1960 = lean_ctor_get_uint8(x_1959, sizeof(void*)*1); -lean_dec(x_1959); -if (x_1960 == 0) -{ -lean_object* x_1961; uint8_t x_1962; -x_1961 = lean_ctor_get(x_1957, 1); -lean_inc(x_1961); -lean_dec(x_1957); -x_1962 = 0; -x_1941 = x_1962; -x_1942 = x_1961; -goto block_1956; -} -else -{ -lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; uint8_t x_1968; -x_1963 = lean_ctor_get(x_1957, 1); -lean_inc(x_1963); -lean_dec(x_1957); -x_1964 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1965 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_1964, x_3, x_4, x_5, x_6, x_1963); -x_1966 = lean_ctor_get(x_1965, 0); -lean_inc(x_1966); -x_1967 = lean_ctor_get(x_1965, 1); -lean_inc(x_1967); -lean_dec(x_1965); -x_1968 = lean_unbox(x_1966); -lean_dec(x_1966); -x_1941 = x_1968; -x_1942 = x_1967; -goto block_1956; -} -block_1956: -{ -if (x_1941 == 0) -{ -lean_object* x_1943; -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_1943 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1942); -return x_1943; -} -else -{ -lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; -x_1944 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1944, 0, x_1); -x_1945 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_1946 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1946, 0, x_1945); -lean_ctor_set(x_1946, 1, x_1944); -x_1947 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_1948 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1948, 0, x_1946); -lean_ctor_set(x_1948, 1, x_1947); -x_1949 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1949, 0, x_2); -x_1950 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1950, 0, x_1948); -lean_ctor_set(x_1950, 1, x_1949); -x_1951 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1951, 0, x_1950); -lean_ctor_set(x_1951, 1, x_1945); -x_1952 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_1953 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_1952, x_1951, x_3, x_4, x_5, x_6, x_1942); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1954 = lean_ctor_get(x_1953, 1); -lean_inc(x_1954); -lean_dec(x_1953); -x_1955 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1954); -return x_1955; -} -} -} -} -else -{ -lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; uint8_t x_1985; lean_object* x_1986; lean_object* x_1987; -x_1982 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1936); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1983 = lean_ctor_get(x_1982, 1); -lean_inc(x_1983); -if (lean_is_exclusive(x_1982)) { - lean_ctor_release(x_1982, 0); - lean_ctor_release(x_1982, 1); - x_1984 = x_1982; -} else { - lean_dec_ref(x_1982); - x_1984 = lean_box(0); -} -x_1985 = 1; -x_1986 = lean_box(x_1985); -if (lean_is_scalar(x_1984)) { - x_1987 = lean_alloc_ctor(0, 2, 0); -} else { - x_1987 = x_1984; -} -lean_ctor_set(x_1987, 0, x_1986); -lean_ctor_set(x_1987, 1, x_1983); -return x_1987; -} -} -else -{ -lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; uint8_t x_1991; lean_object* x_1992; lean_object* x_1993; -lean_dec(x_1937); -x_1988 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1936); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1989 = lean_ctor_get(x_1988, 1); -lean_inc(x_1989); -if (lean_is_exclusive(x_1988)) { - lean_ctor_release(x_1988, 0); - lean_ctor_release(x_1988, 1); - x_1990 = x_1988; -} else { - lean_dec_ref(x_1988); - x_1990 = lean_box(0); -} -x_1991 = 1; -x_1992 = lean_box(x_1991); -if (lean_is_scalar(x_1990)) { - x_1993 = lean_alloc_ctor(0, 2, 0); -} else { - x_1993 = x_1990; -} -lean_ctor_set(x_1993, 0, x_1992); -lean_ctor_set(x_1993, 1, x_1989); -return x_1993; -} -} -} -} -else -{ -lean_object* x_1994; lean_object* x_1995; uint8_t x_1996; uint8_t x_1997; -x_1994 = lean_ctor_get(x_1858, 0); -x_1995 = lean_ctor_get(x_1858, 1); -lean_inc(x_1995); -lean_inc(x_1994); -lean_dec(x_1858); -x_1996 = lean_unbox(x_1994); -x_1997 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1996, x_1851); -if (x_1997 == 0) -{ -uint8_t x_1998; uint8_t x_1999; uint8_t x_2000; lean_object* x_2001; lean_object* x_2002; -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_1998 = 1; -x_1999 = lean_unbox(x_1994); -lean_dec(x_1994); -x_2000 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1999, x_1998); -x_2001 = lean_box(x_2000); -x_2002 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2002, 0, x_2001); -lean_ctor_set(x_2002, 1, x_1995); -return x_2002; -} -else -{ -lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; uint8_t x_2010; -lean_dec(x_1994); -x_2003 = lean_st_ref_get(x_6, x_1995); -x_2004 = lean_ctor_get(x_2003, 1); -lean_inc(x_2004); -lean_dec(x_2003); -x_2005 = lean_st_ref_get(x_4, x_2004); -x_2006 = lean_ctor_get(x_2005, 0); -lean_inc(x_2006); -x_2007 = lean_ctor_get(x_2005, 1); -lean_inc(x_2007); -if (lean_is_exclusive(x_2005)) { - lean_ctor_release(x_2005, 0); - lean_ctor_release(x_2005, 1); - x_2008 = x_2005; -} else { - lean_dec_ref(x_2005); - x_2008 = lean_box(0); -} -x_2009 = lean_ctor_get(x_2006, 0); -lean_inc(x_2009); -lean_dec(x_2006); -lean_inc(x_2009); -x_2010 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2009, x_1); -if (x_2010 == 0) -{ -uint8_t x_2011; -x_2011 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2009, x_2); -if (x_2011 == 0) -{ -lean_object* x_2012; lean_object* x_2042; uint8_t x_2043; -x_2042 = lean_ctor_get(x_3, 0); -lean_inc(x_2042); -x_2043 = lean_ctor_get_uint8(x_2042, 4); -lean_dec(x_2042); -if (x_2043 == 0) -{ -uint8_t x_2044; lean_object* x_2045; lean_object* x_2046; -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_2044 = 0; -x_2045 = lean_box(x_2044); -if (lean_is_scalar(x_2008)) { - x_2046 = lean_alloc_ctor(0, 2, 0); -} else { - x_2046 = x_2008; -} -lean_ctor_set(x_2046, 0, x_2045); -lean_ctor_set(x_2046, 1, x_2007); -return x_2046; -} -else -{ -uint8_t x_2047; -x_2047 = l_Lean_Level_isMVar(x_1); -if (x_2047 == 0) -{ -uint8_t x_2048; -x_2048 = l_Lean_Level_isMVar(x_2); -if (x_2048 == 0) -{ -uint8_t x_2049; lean_object* x_2050; lean_object* x_2051; -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_2049 = 0; -x_2050 = lean_box(x_2049); -if (lean_is_scalar(x_2008)) { - x_2051 = lean_alloc_ctor(0, 2, 0); -} else { - x_2051 = x_2008; -} -lean_ctor_set(x_2051, 0, x_2050); -lean_ctor_set(x_2051, 1, x_2007); -return x_2051; -} -else -{ -lean_object* x_2052; -lean_dec(x_2008); -x_2052 = lean_box(0); -x_2012 = x_2052; -goto block_2041; -} -} -else -{ -lean_object* x_2053; -lean_dec(x_2008); -x_2053 = lean_box(0); -x_2012 = x_2053; -goto block_2041; -} -} -block_2041: -{ -uint8_t x_2013; lean_object* x_2014; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; uint8_t x_2032; -lean_dec(x_2012); -x_2029 = lean_st_ref_get(x_6, x_2007); -x_2030 = lean_ctor_get(x_2029, 0); -lean_inc(x_2030); -x_2031 = lean_ctor_get(x_2030, 3); -lean_inc(x_2031); -lean_dec(x_2030); -x_2032 = lean_ctor_get_uint8(x_2031, sizeof(void*)*1); -lean_dec(x_2031); -if (x_2032 == 0) -{ -lean_object* x_2033; uint8_t x_2034; -x_2033 = lean_ctor_get(x_2029, 1); -lean_inc(x_2033); -lean_dec(x_2029); -x_2034 = 0; -x_2013 = x_2034; -x_2014 = x_2033; -goto block_2028; -} -else -{ -lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; uint8_t x_2040; -x_2035 = lean_ctor_get(x_2029, 1); -lean_inc(x_2035); -lean_dec(x_2029); -x_2036 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2037 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2036, x_3, x_4, x_5, x_6, x_2035); -x_2038 = lean_ctor_get(x_2037, 0); -lean_inc(x_2038); -x_2039 = lean_ctor_get(x_2037, 1); -lean_inc(x_2039); -lean_dec(x_2037); -x_2040 = lean_unbox(x_2038); -lean_dec(x_2038); -x_2013 = x_2040; -x_2014 = x_2039; -goto block_2028; -} -block_2028: -{ -if (x_2013 == 0) -{ -lean_object* x_2015; -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_2015 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2014); -return x_2015; -} -else -{ -lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; -x_2016 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2016, 0, x_1); -x_2017 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2018 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2018, 0, x_2017); -lean_ctor_set(x_2018, 1, x_2016); -x_2019 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2020 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2020, 0, x_2018); -lean_ctor_set(x_2020, 1, x_2019); -x_2021 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2021, 0, x_2); -x_2022 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2022, 0, x_2020); -lean_ctor_set(x_2022, 1, x_2021); -x_2023 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2023, 0, x_2022); -lean_ctor_set(x_2023, 1, x_2017); -x_2024 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2025 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2024, x_2023, x_3, x_4, x_5, x_6, x_2014); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2026 = lean_ctor_get(x_2025, 1); -lean_inc(x_2026); -lean_dec(x_2025); -x_2027 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2026); -return x_2027; -} -} -} -} -else -{ -lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; uint8_t x_2057; lean_object* x_2058; lean_object* x_2059; -lean_dec(x_2008); -x_2054 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2007); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2055 = lean_ctor_get(x_2054, 1); -lean_inc(x_2055); -if (lean_is_exclusive(x_2054)) { - lean_ctor_release(x_2054, 0); - lean_ctor_release(x_2054, 1); - x_2056 = x_2054; -} else { - lean_dec_ref(x_2054); - x_2056 = lean_box(0); -} -x_2057 = 1; -x_2058 = lean_box(x_2057); -if (lean_is_scalar(x_2056)) { - x_2059 = lean_alloc_ctor(0, 2, 0); -} else { - x_2059 = x_2056; -} -lean_ctor_set(x_2059, 0, x_2058); -lean_ctor_set(x_2059, 1, x_2055); -return x_2059; -} -} -else -{ -lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; uint8_t x_2063; lean_object* x_2064; lean_object* x_2065; -lean_dec(x_2009); -lean_dec(x_2008); -x_2060 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2007); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2061 = lean_ctor_get(x_2060, 1); -lean_inc(x_2061); -if (lean_is_exclusive(x_2060)) { - lean_ctor_release(x_2060, 0); - lean_ctor_release(x_2060, 1); - x_2062 = x_2060; -} else { - lean_dec_ref(x_2060); - x_2062 = lean_box(0); -} -x_2063 = 1; -x_2064 = lean_box(x_2063); -if (lean_is_scalar(x_2062)) { - x_2065 = lean_alloc_ctor(0, 2, 0); -} else { - x_2065 = x_2062; -} -lean_ctor_set(x_2065, 0, x_2064); -lean_ctor_set(x_2065, 1, x_2061); -return x_2065; -} -} -} -} -else -{ -uint8_t x_2066; -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_2066 = !lean_is_exclusive(x_1858); -if (x_2066 == 0) -{ -return x_1858; -} -else -{ -lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; -x_2067 = lean_ctor_get(x_1858, 0); -x_2068 = lean_ctor_get(x_1858, 1); -lean_inc(x_2068); -lean_inc(x_2067); -lean_dec(x_1858); -x_2069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2069, 0, x_2067); -lean_ctor_set(x_2069, 1, x_2068); -return x_2069; -} -} -} -} -else -{ -lean_object* x_2070; lean_object* x_2071; uint8_t x_2072; uint8_t x_2073; uint8_t x_2074; -x_2070 = lean_ctor_get(x_1847, 0); -x_2071 = lean_ctor_get(x_1847, 1); -lean_inc(x_2071); -lean_inc(x_2070); -lean_dec(x_1847); -x_2072 = 2; -x_2073 = lean_unbox(x_2070); -x_2074 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2073, x_2072); -if (x_2074 == 0) -{ -uint8_t x_2075; uint8_t x_2076; uint8_t x_2077; lean_object* x_2078; lean_object* x_2079; -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_2075 = 1; -x_2076 = lean_unbox(x_2070); -lean_dec(x_2070); -x_2077 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2076, x_2075); -x_2078 = lean_box(x_2077); -x_2079 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2079, 0, x_2078); -lean_ctor_set(x_2079, 1, x_2071); -return x_2079; -} -else -{ -lean_object* x_2080; -lean_dec(x_2070); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2080 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2071); -if (lean_obj_tag(x_2080) == 0) -{ -lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; uint8_t x_2084; uint8_t x_2085; -x_2081 = lean_ctor_get(x_2080, 0); -lean_inc(x_2081); -x_2082 = lean_ctor_get(x_2080, 1); -lean_inc(x_2082); -if (lean_is_exclusive(x_2080)) { - lean_ctor_release(x_2080, 0); - lean_ctor_release(x_2080, 1); - x_2083 = x_2080; -} else { - lean_dec_ref(x_2080); - x_2083 = lean_box(0); -} -x_2084 = lean_unbox(x_2081); -x_2085 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2084, x_2072); -if (x_2085 == 0) -{ -uint8_t x_2086; uint8_t x_2087; uint8_t x_2088; lean_object* x_2089; lean_object* x_2090; -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_2086 = 1; -x_2087 = lean_unbox(x_2081); -lean_dec(x_2081); -x_2088 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2087, x_2086); -x_2089 = lean_box(x_2088); -if (lean_is_scalar(x_2083)) { - x_2090 = lean_alloc_ctor(0, 2, 0); -} else { - x_2090 = x_2083; -} -lean_ctor_set(x_2090, 0, x_2089); -lean_ctor_set(x_2090, 1, x_2082); -return x_2090; -} -else -{ -lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; uint8_t x_2098; -lean_dec(x_2083); -lean_dec(x_2081); -x_2091 = lean_st_ref_get(x_6, x_2082); -x_2092 = lean_ctor_get(x_2091, 1); -lean_inc(x_2092); -lean_dec(x_2091); -x_2093 = lean_st_ref_get(x_4, x_2092); -x_2094 = lean_ctor_get(x_2093, 0); -lean_inc(x_2094); -x_2095 = lean_ctor_get(x_2093, 1); -lean_inc(x_2095); -if (lean_is_exclusive(x_2093)) { - lean_ctor_release(x_2093, 0); - lean_ctor_release(x_2093, 1); - x_2096 = x_2093; -} else { - lean_dec_ref(x_2093); - x_2096 = lean_box(0); -} -x_2097 = lean_ctor_get(x_2094, 0); -lean_inc(x_2097); -lean_dec(x_2094); -lean_inc(x_2097); -x_2098 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2097, x_1); -if (x_2098 == 0) -{ -uint8_t x_2099; -x_2099 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2097, x_2); -if (x_2099 == 0) -{ -lean_object* x_2100; lean_object* x_2130; uint8_t x_2131; -x_2130 = lean_ctor_get(x_3, 0); -lean_inc(x_2130); -x_2131 = lean_ctor_get_uint8(x_2130, 4); -lean_dec(x_2130); -if (x_2131 == 0) -{ -uint8_t x_2132; lean_object* x_2133; lean_object* x_2134; -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_2132 = 0; -x_2133 = lean_box(x_2132); -if (lean_is_scalar(x_2096)) { - x_2134 = lean_alloc_ctor(0, 2, 0); -} else { - x_2134 = x_2096; -} -lean_ctor_set(x_2134, 0, x_2133); -lean_ctor_set(x_2134, 1, x_2095); -return x_2134; -} -else -{ -uint8_t x_2135; -x_2135 = l_Lean_Level_isMVar(x_1); -if (x_2135 == 0) -{ -uint8_t x_2136; -x_2136 = l_Lean_Level_isMVar(x_2); -if (x_2136 == 0) -{ -uint8_t x_2137; lean_object* x_2138; lean_object* x_2139; -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_2137 = 0; -x_2138 = lean_box(x_2137); -if (lean_is_scalar(x_2096)) { - x_2139 = lean_alloc_ctor(0, 2, 0); -} else { - x_2139 = x_2096; -} -lean_ctor_set(x_2139, 0, x_2138); -lean_ctor_set(x_2139, 1, x_2095); -return x_2139; -} -else -{ -lean_object* x_2140; -lean_dec(x_2096); -x_2140 = lean_box(0); -x_2100 = x_2140; -goto block_2129; -} -} -else -{ -lean_object* x_2141; -lean_dec(x_2096); -x_2141 = lean_box(0); -x_2100 = x_2141; -goto block_2129; -} -} -block_2129: -{ -uint8_t x_2101; lean_object* x_2102; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; uint8_t x_2120; -lean_dec(x_2100); -x_2117 = lean_st_ref_get(x_6, x_2095); -x_2118 = lean_ctor_get(x_2117, 0); -lean_inc(x_2118); -x_2119 = lean_ctor_get(x_2118, 3); -lean_inc(x_2119); -lean_dec(x_2118); -x_2120 = lean_ctor_get_uint8(x_2119, sizeof(void*)*1); -lean_dec(x_2119); -if (x_2120 == 0) -{ -lean_object* x_2121; uint8_t x_2122; -x_2121 = lean_ctor_get(x_2117, 1); -lean_inc(x_2121); -lean_dec(x_2117); -x_2122 = 0; -x_2101 = x_2122; -x_2102 = x_2121; -goto block_2116; -} -else -{ -lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; uint8_t x_2128; -x_2123 = lean_ctor_get(x_2117, 1); -lean_inc(x_2123); -lean_dec(x_2117); -x_2124 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2125 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2124, x_3, x_4, x_5, x_6, x_2123); -x_2126 = lean_ctor_get(x_2125, 0); -lean_inc(x_2126); -x_2127 = lean_ctor_get(x_2125, 1); -lean_inc(x_2127); -lean_dec(x_2125); -x_2128 = lean_unbox(x_2126); -lean_dec(x_2126); -x_2101 = x_2128; -x_2102 = x_2127; -goto block_2116; -} -block_2116: -{ -if (x_2101 == 0) -{ -lean_object* x_2103; -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_2103 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2102); -return x_2103; -} -else -{ -lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; -x_2104 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2104, 0, x_1); -x_2105 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2106, 0, x_2105); -lean_ctor_set(x_2106, 1, x_2104); -x_2107 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2108, 0, x_2106); -lean_ctor_set(x_2108, 1, x_2107); -x_2109 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2109, 0, x_2); -x_2110 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2110, 0, x_2108); -lean_ctor_set(x_2110, 1, x_2109); -x_2111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2111, 0, x_2110); -lean_ctor_set(x_2111, 1, x_2105); -x_2112 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2113 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2112, x_2111, x_3, x_4, x_5, x_6, x_2102); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2114 = lean_ctor_get(x_2113, 1); -lean_inc(x_2114); -lean_dec(x_2113); -x_2115 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2114); -return x_2115; -} -} -} -} -else -{ -lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; uint8_t x_2145; lean_object* x_2146; lean_object* x_2147; -lean_dec(x_2096); -x_2142 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2095); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2143 = lean_ctor_get(x_2142, 1); -lean_inc(x_2143); -if (lean_is_exclusive(x_2142)) { - lean_ctor_release(x_2142, 0); - lean_ctor_release(x_2142, 1); - x_2144 = x_2142; -} else { - lean_dec_ref(x_2142); - x_2144 = lean_box(0); -} -x_2145 = 1; -x_2146 = lean_box(x_2145); -if (lean_is_scalar(x_2144)) { - x_2147 = lean_alloc_ctor(0, 2, 0); -} else { - x_2147 = x_2144; -} -lean_ctor_set(x_2147, 0, x_2146); -lean_ctor_set(x_2147, 1, x_2143); -return x_2147; -} -} -else -{ -lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; uint8_t x_2151; lean_object* x_2152; lean_object* x_2153; -lean_dec(x_2097); -lean_dec(x_2096); -x_2148 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2095); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2149 = lean_ctor_get(x_2148, 1); -lean_inc(x_2149); -if (lean_is_exclusive(x_2148)) { - lean_ctor_release(x_2148, 0); - lean_ctor_release(x_2148, 1); - x_2150 = x_2148; -} else { - lean_dec_ref(x_2148); - x_2150 = lean_box(0); -} -x_2151 = 1; -x_2152 = lean_box(x_2151); -if (lean_is_scalar(x_2150)) { - x_2153 = lean_alloc_ctor(0, 2, 0); -} else { - x_2153 = x_2150; -} -lean_ctor_set(x_2153, 0, x_2152); -lean_ctor_set(x_2153, 1, x_2149); -return x_2153; -} -} -} -else -{ -lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; -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_2154 = lean_ctor_get(x_2080, 0); -lean_inc(x_2154); -x_2155 = lean_ctor_get(x_2080, 1); -lean_inc(x_2155); -if (lean_is_exclusive(x_2080)) { - lean_ctor_release(x_2080, 0); - lean_ctor_release(x_2080, 1); - x_2156 = x_2080; -} else { - lean_dec_ref(x_2080); - x_2156 = lean_box(0); -} -if (lean_is_scalar(x_2156)) { - x_2157 = lean_alloc_ctor(1, 2, 0); -} else { - x_2157 = x_2156; -} -lean_ctor_set(x_2157, 0, x_2154); -lean_ctor_set(x_2157, 1, x_2155); -return x_2157; -} -} -} -} -else -{ -uint8_t x_2158; -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_2158 = !lean_is_exclusive(x_1847); -if (x_2158 == 0) -{ -return x_1847; -} -else -{ -lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; -x_2159 = lean_ctor_get(x_1847, 0); -x_2160 = lean_ctor_get(x_1847, 1); -lean_inc(x_2160); -lean_inc(x_2159); -lean_dec(x_1847); -x_2161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2161, 0, x_2159); -lean_ctor_set(x_2161, 1, x_2160); -return x_2161; -} -} -} -} -} -block_2176: -{ -if (x_2163 == 0) -{ -x_1834 = x_2164; -goto block_2162; -} -else -{ -lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; -lean_inc(x_1); -x_2165 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2165, 0, x_1); -x_2166 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2167, 0, x_2166); -lean_ctor_set(x_2167, 1, x_2165); -x_2168 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2169, 0, x_2167); -lean_ctor_set(x_2169, 1, x_2168); -lean_inc(x_2); -x_2170 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2170, 0, x_2); -x_2171 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2171, 0, x_2169); -lean_ctor_set(x_2171, 1, x_2170); -x_2172 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2172, 0, x_2171); -lean_ctor_set(x_2172, 1, x_2166); -x_2173 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2174 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2173, x_2172, x_3, x_4, x_5, x_6, x_2164); -x_2175 = lean_ctor_get(x_2174, 1); -lean_inc(x_2175); -lean_dec(x_2174); -x_1834 = x_2175; -goto block_2162; -} -} -} -else -{ -lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; uint8_t x_2192; lean_object* x_2193; lean_object* x_2194; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2189 = lean_unsigned_to_nat(0u); -x_2190 = l_Lean_Level_getOffsetAux(x_1, x_2189); -lean_dec(x_1); -x_2191 = l_Lean_Level_getOffsetAux(x_2, x_2189); -lean_dec(x_2); -x_2192 = lean_nat_dec_eq(x_2190, x_2191); -lean_dec(x_2191); -lean_dec(x_2190); -x_2193 = lean_box(x_2192); -x_2194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2194, 0, x_2193); -lean_ctor_set(x_2194, 1, x_7); -return x_2194; -} -} -} -} -case 2: -{ -lean_object* x_2195; lean_object* x_2196; uint8_t x_2197; -x_2195 = l_Lean_Level_getLevelOffset(x_1); -x_2196 = l_Lean_Level_getLevelOffset(x_2); -x_2197 = lean_level_eq(x_2195, x_2196); -lean_dec(x_2196); -lean_dec(x_2195); -if (x_2197 == 0) -{ -lean_object* x_2198; uint8_t x_2527; lean_object* x_2528; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; uint8_t x_2544; -x_2541 = lean_st_ref_get(x_6, x_7); -x_2542 = lean_ctor_get(x_2541, 0); -lean_inc(x_2542); -x_2543 = lean_ctor_get(x_2542, 3); -lean_inc(x_2543); -lean_dec(x_2542); -x_2544 = lean_ctor_get_uint8(x_2543, sizeof(void*)*1); -lean_dec(x_2543); -if (x_2544 == 0) -{ -lean_object* x_2545; uint8_t x_2546; -x_2545 = lean_ctor_get(x_2541, 1); -lean_inc(x_2545); -lean_dec(x_2541); -x_2546 = 0; -x_2527 = x_2546; -x_2528 = x_2545; -goto block_2540; -} -else -{ -lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; uint8_t x_2552; -x_2547 = lean_ctor_get(x_2541, 1); -lean_inc(x_2547); -lean_dec(x_2541); -x_2548 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2549 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2548, x_3, x_4, x_5, x_6, x_2547); -x_2550 = lean_ctor_get(x_2549, 0); -lean_inc(x_2550); -x_2551 = lean_ctor_get(x_2549, 1); -lean_inc(x_2551); -lean_dec(x_2549); -x_2552 = lean_unbox(x_2550); -lean_dec(x_2550); -x_2527 = x_2552; -x_2528 = x_2551; -goto block_2540; -} -block_2526: -{ -lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; uint8_t x_2207; -lean_inc(x_1); -x_2199 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2198); -x_2200 = lean_ctor_get(x_2199, 0); -lean_inc(x_2200); -x_2201 = lean_ctor_get(x_2199, 1); -lean_inc(x_2201); -lean_dec(x_2199); -x_2202 = l_Lean_Level_normalize(x_2200); -lean_dec(x_2200); -lean_inc(x_2); -x_2203 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2201); -x_2204 = lean_ctor_get(x_2203, 0); -lean_inc(x_2204); -x_2205 = lean_ctor_get(x_2203, 1); -lean_inc(x_2205); -lean_dec(x_2203); -x_2206 = l_Lean_Level_normalize(x_2204); -lean_dec(x_2204); -x_2207 = lean_level_eq(x_1, x_2202); -if (x_2207 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2202; -x_2 = x_2206; -x_7 = x_2205; -goto _start; -} -else -{ -uint8_t x_2209; -x_2209 = lean_level_eq(x_2, x_2206); -if (x_2209 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2202; -x_2 = x_2206; -x_7 = x_2205; -goto _start; -} -else -{ -lean_object* x_2211; -lean_dec(x_2206); -lean_dec(x_2202); -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_2211 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2205); -if (lean_obj_tag(x_2211) == 0) -{ -uint8_t x_2212; -x_2212 = !lean_is_exclusive(x_2211); -if (x_2212 == 0) -{ -lean_object* x_2213; lean_object* x_2214; uint8_t x_2215; uint8_t x_2216; uint8_t x_2217; -x_2213 = lean_ctor_get(x_2211, 0); -x_2214 = lean_ctor_get(x_2211, 1); -x_2215 = 2; -x_2216 = lean_unbox(x_2213); -x_2217 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2216, x_2215); -if (x_2217 == 0) -{ -uint8_t x_2218; uint8_t x_2219; uint8_t x_2220; lean_object* x_2221; -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_2218 = 1; -x_2219 = lean_unbox(x_2213); -lean_dec(x_2213); -x_2220 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2219, x_2218); -x_2221 = lean_box(x_2220); -lean_ctor_set(x_2211, 0, x_2221); -return x_2211; -} -else -{ -lean_object* x_2222; -lean_free_object(x_2211); -lean_dec(x_2213); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2222 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2214); -if (lean_obj_tag(x_2222) == 0) -{ -uint8_t x_2223; -x_2223 = !lean_is_exclusive(x_2222); -if (x_2223 == 0) -{ -lean_object* x_2224; lean_object* x_2225; uint8_t x_2226; uint8_t x_2227; -x_2224 = lean_ctor_get(x_2222, 0); -x_2225 = lean_ctor_get(x_2222, 1); -x_2226 = lean_unbox(x_2224); -x_2227 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2226, x_2215); -if (x_2227 == 0) -{ -uint8_t x_2228; uint8_t x_2229; uint8_t x_2230; lean_object* x_2231; -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_2228 = 1; -x_2229 = lean_unbox(x_2224); -lean_dec(x_2224); -x_2230 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2229, x_2228); -x_2231 = lean_box(x_2230); -lean_ctor_set(x_2222, 0, x_2231); -return x_2222; -} -else -{ -lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; uint8_t x_2235; -lean_free_object(x_2222); -lean_dec(x_2224); -x_2232 = lean_st_ref_get(x_6, x_2225); -x_2233 = lean_ctor_get(x_2232, 1); -lean_inc(x_2233); -lean_dec(x_2232); -x_2234 = lean_st_ref_get(x_4, x_2233); -x_2235 = !lean_is_exclusive(x_2234); -if (x_2235 == 0) -{ -lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; uint8_t x_2239; -x_2236 = lean_ctor_get(x_2234, 0); -x_2237 = lean_ctor_get(x_2234, 1); -x_2238 = lean_ctor_get(x_2236, 0); -lean_inc(x_2238); -lean_dec(x_2236); -lean_inc(x_2238); -x_2239 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2238, x_1); -if (x_2239 == 0) -{ -uint8_t x_2240; -x_2240 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2238, x_2); -if (x_2240 == 0) -{ -lean_object* x_2241; lean_object* x_2271; uint8_t x_2272; -x_2271 = lean_ctor_get(x_3, 0); -lean_inc(x_2271); -x_2272 = lean_ctor_get_uint8(x_2271, 4); -lean_dec(x_2271); -if (x_2272 == 0) -{ -uint8_t x_2273; lean_object* x_2274; -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_2273 = 0; -x_2274 = lean_box(x_2273); -lean_ctor_set(x_2234, 0, x_2274); -return x_2234; -} -else -{ -uint8_t x_2275; -x_2275 = l_Lean_Level_isMVar(x_1); -if (x_2275 == 0) -{ -uint8_t x_2276; -x_2276 = l_Lean_Level_isMVar(x_2); -if (x_2276 == 0) -{ -uint8_t x_2277; lean_object* x_2278; -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_2277 = 0; -x_2278 = lean_box(x_2277); -lean_ctor_set(x_2234, 0, x_2278); -return x_2234; -} -else -{ -lean_object* x_2279; -lean_free_object(x_2234); -x_2279 = lean_box(0); -x_2241 = x_2279; -goto block_2270; -} -} -else -{ -lean_object* x_2280; -lean_free_object(x_2234); -x_2280 = lean_box(0); -x_2241 = x_2280; -goto block_2270; -} -} -block_2270: -{ -uint8_t x_2242; lean_object* x_2243; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; uint8_t x_2261; -lean_dec(x_2241); -x_2258 = lean_st_ref_get(x_6, x_2237); -x_2259 = lean_ctor_get(x_2258, 0); -lean_inc(x_2259); -x_2260 = lean_ctor_get(x_2259, 3); -lean_inc(x_2260); -lean_dec(x_2259); -x_2261 = lean_ctor_get_uint8(x_2260, sizeof(void*)*1); -lean_dec(x_2260); -if (x_2261 == 0) -{ -lean_object* x_2262; uint8_t x_2263; -x_2262 = lean_ctor_get(x_2258, 1); -lean_inc(x_2262); -lean_dec(x_2258); -x_2263 = 0; -x_2242 = x_2263; -x_2243 = x_2262; -goto block_2257; -} -else -{ -lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; uint8_t x_2269; -x_2264 = lean_ctor_get(x_2258, 1); -lean_inc(x_2264); -lean_dec(x_2258); -x_2265 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2266 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2265, x_3, x_4, x_5, x_6, x_2264); -x_2267 = lean_ctor_get(x_2266, 0); -lean_inc(x_2267); -x_2268 = lean_ctor_get(x_2266, 1); -lean_inc(x_2268); -lean_dec(x_2266); -x_2269 = lean_unbox(x_2267); -lean_dec(x_2267); -x_2242 = x_2269; -x_2243 = x_2268; -goto block_2257; -} -block_2257: -{ -if (x_2242 == 0) -{ -lean_object* x_2244; -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_2244 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2243); -return x_2244; -} -else -{ -lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; -x_2245 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2245, 0, x_1); -x_2246 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2247 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2247, 0, x_2246); -lean_ctor_set(x_2247, 1, x_2245); -x_2248 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2249 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2249, 0, x_2247); -lean_ctor_set(x_2249, 1, x_2248); -x_2250 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2250, 0, x_2); -x_2251 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2251, 0, x_2249); -lean_ctor_set(x_2251, 1, x_2250); -x_2252 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2252, 0, x_2251); -lean_ctor_set(x_2252, 1, x_2246); -x_2253 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2254 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2253, x_2252, x_3, x_4, x_5, x_6, x_2243); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2255 = lean_ctor_get(x_2254, 1); -lean_inc(x_2255); -lean_dec(x_2254); -x_2256 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2255); -return x_2256; -} -} -} -} -else -{ -lean_object* x_2281; uint8_t x_2282; -lean_free_object(x_2234); -x_2281 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2237); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2282 = !lean_is_exclusive(x_2281); -if (x_2282 == 0) -{ -lean_object* x_2283; uint8_t x_2284; lean_object* x_2285; -x_2283 = lean_ctor_get(x_2281, 0); -lean_dec(x_2283); -x_2284 = 1; -x_2285 = lean_box(x_2284); -lean_ctor_set(x_2281, 0, x_2285); -return x_2281; -} -else -{ -lean_object* x_2286; uint8_t x_2287; lean_object* x_2288; lean_object* x_2289; -x_2286 = lean_ctor_get(x_2281, 1); -lean_inc(x_2286); -lean_dec(x_2281); -x_2287 = 1; -x_2288 = lean_box(x_2287); -x_2289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2289, 0, x_2288); -lean_ctor_set(x_2289, 1, x_2286); -return x_2289; -} -} -} -else -{ -lean_object* x_2290; uint8_t x_2291; -lean_dec(x_2238); -lean_free_object(x_2234); -x_2290 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2237); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2291 = !lean_is_exclusive(x_2290); -if (x_2291 == 0) -{ -lean_object* x_2292; uint8_t x_2293; lean_object* x_2294; -x_2292 = lean_ctor_get(x_2290, 0); -lean_dec(x_2292); -x_2293 = 1; -x_2294 = lean_box(x_2293); -lean_ctor_set(x_2290, 0, x_2294); -return x_2290; -} -else -{ -lean_object* x_2295; uint8_t x_2296; lean_object* x_2297; lean_object* x_2298; -x_2295 = lean_ctor_get(x_2290, 1); -lean_inc(x_2295); -lean_dec(x_2290); -x_2296 = 1; -x_2297 = lean_box(x_2296); -x_2298 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2298, 0, x_2297); -lean_ctor_set(x_2298, 1, x_2295); -return x_2298; -} -} -} -else -{ -lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; uint8_t x_2302; -x_2299 = lean_ctor_get(x_2234, 0); -x_2300 = lean_ctor_get(x_2234, 1); -lean_inc(x_2300); -lean_inc(x_2299); -lean_dec(x_2234); -x_2301 = lean_ctor_get(x_2299, 0); -lean_inc(x_2301); -lean_dec(x_2299); -lean_inc(x_2301); -x_2302 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2301, x_1); -if (x_2302 == 0) -{ -uint8_t x_2303; -x_2303 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2301, x_2); -if (x_2303 == 0) -{ -lean_object* x_2304; lean_object* x_2334; uint8_t x_2335; -x_2334 = lean_ctor_get(x_3, 0); -lean_inc(x_2334); -x_2335 = lean_ctor_get_uint8(x_2334, 4); -lean_dec(x_2334); -if (x_2335 == 0) -{ -uint8_t x_2336; lean_object* x_2337; lean_object* x_2338; -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_2336 = 0; -x_2337 = lean_box(x_2336); -x_2338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2338, 0, x_2337); -lean_ctor_set(x_2338, 1, x_2300); -return x_2338; -} -else -{ -uint8_t x_2339; -x_2339 = l_Lean_Level_isMVar(x_1); -if (x_2339 == 0) -{ -uint8_t x_2340; -x_2340 = l_Lean_Level_isMVar(x_2); -if (x_2340 == 0) -{ -uint8_t x_2341; lean_object* x_2342; lean_object* x_2343; -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_2341 = 0; -x_2342 = lean_box(x_2341); -x_2343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2343, 0, x_2342); -lean_ctor_set(x_2343, 1, x_2300); -return x_2343; -} -else -{ -lean_object* x_2344; -x_2344 = lean_box(0); -x_2304 = x_2344; -goto block_2333; -} -} -else -{ -lean_object* x_2345; -x_2345 = lean_box(0); -x_2304 = x_2345; -goto block_2333; -} -} -block_2333: -{ -uint8_t x_2305; lean_object* x_2306; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; uint8_t x_2324; -lean_dec(x_2304); -x_2321 = lean_st_ref_get(x_6, x_2300); -x_2322 = lean_ctor_get(x_2321, 0); -lean_inc(x_2322); -x_2323 = lean_ctor_get(x_2322, 3); -lean_inc(x_2323); -lean_dec(x_2322); -x_2324 = lean_ctor_get_uint8(x_2323, sizeof(void*)*1); -lean_dec(x_2323); -if (x_2324 == 0) -{ -lean_object* x_2325; uint8_t x_2326; -x_2325 = lean_ctor_get(x_2321, 1); -lean_inc(x_2325); -lean_dec(x_2321); -x_2326 = 0; -x_2305 = x_2326; -x_2306 = x_2325; -goto block_2320; -} -else -{ -lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; uint8_t x_2332; -x_2327 = lean_ctor_get(x_2321, 1); -lean_inc(x_2327); -lean_dec(x_2321); -x_2328 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2329 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2328, x_3, x_4, x_5, x_6, x_2327); -x_2330 = lean_ctor_get(x_2329, 0); -lean_inc(x_2330); -x_2331 = lean_ctor_get(x_2329, 1); -lean_inc(x_2331); -lean_dec(x_2329); -x_2332 = lean_unbox(x_2330); -lean_dec(x_2330); -x_2305 = x_2332; -x_2306 = x_2331; -goto block_2320; -} -block_2320: -{ -if (x_2305 == 0) -{ -lean_object* x_2307; -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_2307 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2306); -return x_2307; -} -else -{ -lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; -x_2308 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2308, 0, x_1); -x_2309 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2310 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2310, 0, x_2309); -lean_ctor_set(x_2310, 1, x_2308); -x_2311 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2312 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2312, 0, x_2310); -lean_ctor_set(x_2312, 1, x_2311); -x_2313 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2313, 0, x_2); -x_2314 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2314, 0, x_2312); -lean_ctor_set(x_2314, 1, x_2313); -x_2315 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2315, 0, x_2314); -lean_ctor_set(x_2315, 1, x_2309); -x_2316 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2317 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2316, x_2315, x_3, x_4, x_5, x_6, x_2306); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2318 = lean_ctor_get(x_2317, 1); -lean_inc(x_2318); -lean_dec(x_2317); -x_2319 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2318); -return x_2319; -} -} -} -} -else -{ -lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; uint8_t x_2349; lean_object* x_2350; lean_object* x_2351; -x_2346 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2300); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2347 = lean_ctor_get(x_2346, 1); -lean_inc(x_2347); -if (lean_is_exclusive(x_2346)) { - lean_ctor_release(x_2346, 0); - lean_ctor_release(x_2346, 1); - x_2348 = x_2346; -} else { - lean_dec_ref(x_2346); - x_2348 = lean_box(0); -} -x_2349 = 1; -x_2350 = lean_box(x_2349); -if (lean_is_scalar(x_2348)) { - x_2351 = lean_alloc_ctor(0, 2, 0); -} else { - x_2351 = x_2348; -} -lean_ctor_set(x_2351, 0, x_2350); -lean_ctor_set(x_2351, 1, x_2347); -return x_2351; -} -} -else -{ -lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; uint8_t x_2355; lean_object* x_2356; lean_object* x_2357; -lean_dec(x_2301); -x_2352 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2300); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2353 = lean_ctor_get(x_2352, 1); -lean_inc(x_2353); -if (lean_is_exclusive(x_2352)) { - lean_ctor_release(x_2352, 0); - lean_ctor_release(x_2352, 1); - x_2354 = x_2352; -} else { - lean_dec_ref(x_2352); - x_2354 = lean_box(0); -} -x_2355 = 1; -x_2356 = lean_box(x_2355); -if (lean_is_scalar(x_2354)) { - x_2357 = lean_alloc_ctor(0, 2, 0); -} else { - x_2357 = x_2354; -} -lean_ctor_set(x_2357, 0, x_2356); -lean_ctor_set(x_2357, 1, x_2353); -return x_2357; -} -} -} -} -else -{ -lean_object* x_2358; lean_object* x_2359; uint8_t x_2360; uint8_t x_2361; -x_2358 = lean_ctor_get(x_2222, 0); -x_2359 = lean_ctor_get(x_2222, 1); -lean_inc(x_2359); -lean_inc(x_2358); -lean_dec(x_2222); -x_2360 = lean_unbox(x_2358); -x_2361 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2360, x_2215); -if (x_2361 == 0) -{ -uint8_t x_2362; uint8_t x_2363; uint8_t x_2364; lean_object* x_2365; lean_object* x_2366; -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_2362 = 1; -x_2363 = lean_unbox(x_2358); -lean_dec(x_2358); -x_2364 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2363, x_2362); -x_2365 = lean_box(x_2364); -x_2366 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2366, 0, x_2365); -lean_ctor_set(x_2366, 1, x_2359); -return x_2366; -} -else -{ -lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; uint8_t x_2374; -lean_dec(x_2358); -x_2367 = lean_st_ref_get(x_6, x_2359); -x_2368 = lean_ctor_get(x_2367, 1); -lean_inc(x_2368); -lean_dec(x_2367); -x_2369 = lean_st_ref_get(x_4, x_2368); -x_2370 = lean_ctor_get(x_2369, 0); -lean_inc(x_2370); -x_2371 = lean_ctor_get(x_2369, 1); -lean_inc(x_2371); -if (lean_is_exclusive(x_2369)) { - lean_ctor_release(x_2369, 0); - lean_ctor_release(x_2369, 1); - x_2372 = x_2369; -} else { - lean_dec_ref(x_2369); - x_2372 = lean_box(0); -} -x_2373 = lean_ctor_get(x_2370, 0); -lean_inc(x_2373); -lean_dec(x_2370); -lean_inc(x_2373); -x_2374 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2373, x_1); -if (x_2374 == 0) -{ -uint8_t x_2375; -x_2375 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2373, x_2); -if (x_2375 == 0) -{ -lean_object* x_2376; lean_object* x_2406; uint8_t x_2407; -x_2406 = lean_ctor_get(x_3, 0); -lean_inc(x_2406); -x_2407 = lean_ctor_get_uint8(x_2406, 4); -lean_dec(x_2406); -if (x_2407 == 0) -{ -uint8_t x_2408; lean_object* x_2409; lean_object* x_2410; -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_2408 = 0; -x_2409 = lean_box(x_2408); -if (lean_is_scalar(x_2372)) { - x_2410 = lean_alloc_ctor(0, 2, 0); -} else { - x_2410 = x_2372; -} -lean_ctor_set(x_2410, 0, x_2409); -lean_ctor_set(x_2410, 1, x_2371); -return x_2410; -} -else -{ -uint8_t x_2411; -x_2411 = l_Lean_Level_isMVar(x_1); -if (x_2411 == 0) -{ -uint8_t x_2412; -x_2412 = l_Lean_Level_isMVar(x_2); -if (x_2412 == 0) -{ -uint8_t x_2413; lean_object* x_2414; lean_object* x_2415; -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_2413 = 0; -x_2414 = lean_box(x_2413); -if (lean_is_scalar(x_2372)) { - x_2415 = lean_alloc_ctor(0, 2, 0); -} else { - x_2415 = x_2372; -} -lean_ctor_set(x_2415, 0, x_2414); -lean_ctor_set(x_2415, 1, x_2371); -return x_2415; -} -else -{ -lean_object* x_2416; -lean_dec(x_2372); -x_2416 = lean_box(0); -x_2376 = x_2416; -goto block_2405; -} -} -else -{ -lean_object* x_2417; -lean_dec(x_2372); -x_2417 = lean_box(0); -x_2376 = x_2417; -goto block_2405; -} -} -block_2405: -{ -uint8_t x_2377; lean_object* x_2378; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; uint8_t x_2396; -lean_dec(x_2376); -x_2393 = lean_st_ref_get(x_6, x_2371); -x_2394 = lean_ctor_get(x_2393, 0); -lean_inc(x_2394); -x_2395 = lean_ctor_get(x_2394, 3); -lean_inc(x_2395); -lean_dec(x_2394); -x_2396 = lean_ctor_get_uint8(x_2395, sizeof(void*)*1); -lean_dec(x_2395); -if (x_2396 == 0) -{ -lean_object* x_2397; uint8_t x_2398; -x_2397 = lean_ctor_get(x_2393, 1); -lean_inc(x_2397); -lean_dec(x_2393); -x_2398 = 0; -x_2377 = x_2398; -x_2378 = x_2397; -goto block_2392; -} -else -{ -lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; uint8_t x_2404; -x_2399 = lean_ctor_get(x_2393, 1); -lean_inc(x_2399); -lean_dec(x_2393); -x_2400 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2401 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2400, x_3, x_4, x_5, x_6, x_2399); -x_2402 = lean_ctor_get(x_2401, 0); -lean_inc(x_2402); -x_2403 = lean_ctor_get(x_2401, 1); -lean_inc(x_2403); -lean_dec(x_2401); -x_2404 = lean_unbox(x_2402); -lean_dec(x_2402); -x_2377 = x_2404; -x_2378 = x_2403; -goto block_2392; -} -block_2392: -{ -if (x_2377 == 0) -{ -lean_object* x_2379; -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_2379 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2378); -return x_2379; -} -else -{ -lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; -x_2380 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2380, 0, x_1); -x_2381 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2382 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2382, 0, x_2381); -lean_ctor_set(x_2382, 1, x_2380); -x_2383 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2384 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2384, 0, x_2382); -lean_ctor_set(x_2384, 1, x_2383); -x_2385 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2385, 0, x_2); -x_2386 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2386, 0, x_2384); -lean_ctor_set(x_2386, 1, x_2385); -x_2387 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2387, 0, x_2386); -lean_ctor_set(x_2387, 1, x_2381); -x_2388 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2389 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2388, x_2387, x_3, x_4, x_5, x_6, x_2378); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2390 = lean_ctor_get(x_2389, 1); -lean_inc(x_2390); -lean_dec(x_2389); -x_2391 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2390); -return x_2391; -} -} -} -} -else -{ -lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; uint8_t x_2421; lean_object* x_2422; lean_object* x_2423; -lean_dec(x_2372); -x_2418 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2371); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2419 = lean_ctor_get(x_2418, 1); -lean_inc(x_2419); -if (lean_is_exclusive(x_2418)) { - lean_ctor_release(x_2418, 0); - lean_ctor_release(x_2418, 1); - x_2420 = x_2418; -} else { - lean_dec_ref(x_2418); - x_2420 = lean_box(0); -} -x_2421 = 1; -x_2422 = lean_box(x_2421); -if (lean_is_scalar(x_2420)) { - x_2423 = lean_alloc_ctor(0, 2, 0); -} else { - x_2423 = x_2420; -} -lean_ctor_set(x_2423, 0, x_2422); -lean_ctor_set(x_2423, 1, x_2419); -return x_2423; -} -} -else -{ -lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; uint8_t x_2427; lean_object* x_2428; lean_object* x_2429; -lean_dec(x_2373); -lean_dec(x_2372); -x_2424 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2371); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2425 = lean_ctor_get(x_2424, 1); -lean_inc(x_2425); -if (lean_is_exclusive(x_2424)) { - lean_ctor_release(x_2424, 0); - lean_ctor_release(x_2424, 1); - x_2426 = x_2424; -} else { - lean_dec_ref(x_2424); - x_2426 = lean_box(0); -} -x_2427 = 1; -x_2428 = lean_box(x_2427); -if (lean_is_scalar(x_2426)) { - x_2429 = lean_alloc_ctor(0, 2, 0); -} else { - x_2429 = x_2426; -} -lean_ctor_set(x_2429, 0, x_2428); -lean_ctor_set(x_2429, 1, x_2425); -return x_2429; -} -} -} -} -else -{ -uint8_t x_2430; -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_2430 = !lean_is_exclusive(x_2222); -if (x_2430 == 0) -{ -return x_2222; -} -else -{ -lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; -x_2431 = lean_ctor_get(x_2222, 0); -x_2432 = lean_ctor_get(x_2222, 1); -lean_inc(x_2432); -lean_inc(x_2431); -lean_dec(x_2222); -x_2433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2433, 0, x_2431); -lean_ctor_set(x_2433, 1, x_2432); -return x_2433; -} -} -} -} -else -{ -lean_object* x_2434; lean_object* x_2435; uint8_t x_2436; uint8_t x_2437; uint8_t x_2438; -x_2434 = lean_ctor_get(x_2211, 0); -x_2435 = lean_ctor_get(x_2211, 1); -lean_inc(x_2435); -lean_inc(x_2434); -lean_dec(x_2211); -x_2436 = 2; -x_2437 = lean_unbox(x_2434); -x_2438 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2437, x_2436); -if (x_2438 == 0) -{ -uint8_t x_2439; uint8_t x_2440; uint8_t x_2441; lean_object* x_2442; lean_object* x_2443; -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_2439 = 1; -x_2440 = lean_unbox(x_2434); -lean_dec(x_2434); -x_2441 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2440, x_2439); -x_2442 = lean_box(x_2441); -x_2443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2443, 0, x_2442); -lean_ctor_set(x_2443, 1, x_2435); -return x_2443; -} -else -{ -lean_object* x_2444; -lean_dec(x_2434); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2444 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2435); -if (lean_obj_tag(x_2444) == 0) -{ -lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; uint8_t x_2448; uint8_t x_2449; -x_2445 = lean_ctor_get(x_2444, 0); -lean_inc(x_2445); -x_2446 = lean_ctor_get(x_2444, 1); -lean_inc(x_2446); -if (lean_is_exclusive(x_2444)) { - lean_ctor_release(x_2444, 0); - lean_ctor_release(x_2444, 1); - x_2447 = x_2444; -} else { - lean_dec_ref(x_2444); - x_2447 = lean_box(0); -} -x_2448 = lean_unbox(x_2445); -x_2449 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2448, x_2436); -if (x_2449 == 0) -{ -uint8_t x_2450; uint8_t x_2451; uint8_t x_2452; lean_object* x_2453; lean_object* x_2454; -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_2450 = 1; -x_2451 = lean_unbox(x_2445); -lean_dec(x_2445); -x_2452 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2451, x_2450); -x_2453 = lean_box(x_2452); -if (lean_is_scalar(x_2447)) { - x_2454 = lean_alloc_ctor(0, 2, 0); -} else { - x_2454 = x_2447; -} -lean_ctor_set(x_2454, 0, x_2453); -lean_ctor_set(x_2454, 1, x_2446); -return x_2454; -} -else -{ -lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; uint8_t x_2462; -lean_dec(x_2447); -lean_dec(x_2445); -x_2455 = lean_st_ref_get(x_6, x_2446); -x_2456 = lean_ctor_get(x_2455, 1); -lean_inc(x_2456); -lean_dec(x_2455); -x_2457 = lean_st_ref_get(x_4, x_2456); -x_2458 = lean_ctor_get(x_2457, 0); -lean_inc(x_2458); -x_2459 = lean_ctor_get(x_2457, 1); -lean_inc(x_2459); -if (lean_is_exclusive(x_2457)) { - lean_ctor_release(x_2457, 0); - lean_ctor_release(x_2457, 1); - x_2460 = x_2457; -} else { - lean_dec_ref(x_2457); - x_2460 = lean_box(0); -} -x_2461 = lean_ctor_get(x_2458, 0); -lean_inc(x_2461); -lean_dec(x_2458); -lean_inc(x_2461); -x_2462 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2461, x_1); -if (x_2462 == 0) -{ -uint8_t x_2463; -x_2463 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2461, x_2); -if (x_2463 == 0) -{ -lean_object* x_2464; lean_object* x_2494; uint8_t x_2495; -x_2494 = lean_ctor_get(x_3, 0); -lean_inc(x_2494); -x_2495 = lean_ctor_get_uint8(x_2494, 4); -lean_dec(x_2494); -if (x_2495 == 0) -{ -uint8_t x_2496; lean_object* x_2497; lean_object* x_2498; -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_2496 = 0; -x_2497 = lean_box(x_2496); -if (lean_is_scalar(x_2460)) { - x_2498 = lean_alloc_ctor(0, 2, 0); -} else { - x_2498 = x_2460; -} -lean_ctor_set(x_2498, 0, x_2497); -lean_ctor_set(x_2498, 1, x_2459); -return x_2498; -} -else -{ -uint8_t x_2499; -x_2499 = l_Lean_Level_isMVar(x_1); -if (x_2499 == 0) -{ -uint8_t x_2500; -x_2500 = l_Lean_Level_isMVar(x_2); -if (x_2500 == 0) -{ -uint8_t x_2501; lean_object* x_2502; lean_object* x_2503; -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_2501 = 0; -x_2502 = lean_box(x_2501); -if (lean_is_scalar(x_2460)) { - x_2503 = lean_alloc_ctor(0, 2, 0); -} else { - x_2503 = x_2460; -} -lean_ctor_set(x_2503, 0, x_2502); -lean_ctor_set(x_2503, 1, x_2459); -return x_2503; -} -else -{ -lean_object* x_2504; -lean_dec(x_2460); -x_2504 = lean_box(0); -x_2464 = x_2504; -goto block_2493; -} -} -else -{ -lean_object* x_2505; -lean_dec(x_2460); -x_2505 = lean_box(0); -x_2464 = x_2505; -goto block_2493; -} -} -block_2493: -{ -uint8_t x_2465; lean_object* x_2466; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; uint8_t x_2484; -lean_dec(x_2464); -x_2481 = lean_st_ref_get(x_6, x_2459); -x_2482 = lean_ctor_get(x_2481, 0); -lean_inc(x_2482); -x_2483 = lean_ctor_get(x_2482, 3); -lean_inc(x_2483); -lean_dec(x_2482); -x_2484 = lean_ctor_get_uint8(x_2483, sizeof(void*)*1); -lean_dec(x_2483); -if (x_2484 == 0) -{ -lean_object* x_2485; uint8_t x_2486; -x_2485 = lean_ctor_get(x_2481, 1); -lean_inc(x_2485); -lean_dec(x_2481); -x_2486 = 0; -x_2465 = x_2486; -x_2466 = x_2485; -goto block_2480; -} -else -{ -lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; uint8_t x_2492; -x_2487 = lean_ctor_get(x_2481, 1); -lean_inc(x_2487); -lean_dec(x_2481); -x_2488 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2489 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2488, x_3, x_4, x_5, x_6, x_2487); -x_2490 = lean_ctor_get(x_2489, 0); -lean_inc(x_2490); -x_2491 = lean_ctor_get(x_2489, 1); -lean_inc(x_2491); -lean_dec(x_2489); -x_2492 = lean_unbox(x_2490); -lean_dec(x_2490); -x_2465 = x_2492; -x_2466 = x_2491; -goto block_2480; -} -block_2480: -{ -if (x_2465 == 0) -{ -lean_object* x_2467; -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_2467 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2466); -return x_2467; -} -else -{ -lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; -x_2468 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2468, 0, x_1); -x_2469 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2470 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2470, 0, x_2469); -lean_ctor_set(x_2470, 1, x_2468); -x_2471 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2472 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2472, 0, x_2470); -lean_ctor_set(x_2472, 1, x_2471); -x_2473 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2473, 0, x_2); -x_2474 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2474, 0, x_2472); -lean_ctor_set(x_2474, 1, x_2473); -x_2475 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2475, 0, x_2474); -lean_ctor_set(x_2475, 1, x_2469); -x_2476 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2477 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2476, x_2475, x_3, x_4, x_5, x_6, x_2466); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2478 = lean_ctor_get(x_2477, 1); -lean_inc(x_2478); -lean_dec(x_2477); -x_2479 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2478); -return x_2479; -} -} -} -} -else -{ -lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; uint8_t x_2509; lean_object* x_2510; lean_object* x_2511; -lean_dec(x_2460); -x_2506 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2459); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2507 = lean_ctor_get(x_2506, 1); -lean_inc(x_2507); -if (lean_is_exclusive(x_2506)) { - lean_ctor_release(x_2506, 0); - lean_ctor_release(x_2506, 1); - x_2508 = x_2506; -} else { - lean_dec_ref(x_2506); - x_2508 = lean_box(0); -} -x_2509 = 1; -x_2510 = lean_box(x_2509); -if (lean_is_scalar(x_2508)) { - x_2511 = lean_alloc_ctor(0, 2, 0); -} else { - x_2511 = x_2508; -} -lean_ctor_set(x_2511, 0, x_2510); -lean_ctor_set(x_2511, 1, x_2507); -return x_2511; -} -} -else -{ -lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; uint8_t x_2515; lean_object* x_2516; lean_object* x_2517; -lean_dec(x_2461); -lean_dec(x_2460); -x_2512 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2459); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2513 = lean_ctor_get(x_2512, 1); -lean_inc(x_2513); -if (lean_is_exclusive(x_2512)) { - lean_ctor_release(x_2512, 0); - lean_ctor_release(x_2512, 1); - x_2514 = x_2512; -} else { - lean_dec_ref(x_2512); - x_2514 = lean_box(0); -} -x_2515 = 1; -x_2516 = lean_box(x_2515); -if (lean_is_scalar(x_2514)) { - x_2517 = lean_alloc_ctor(0, 2, 0); -} else { - x_2517 = x_2514; -} -lean_ctor_set(x_2517, 0, x_2516); -lean_ctor_set(x_2517, 1, x_2513); -return x_2517; -} -} -} -else -{ -lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; -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_2518 = lean_ctor_get(x_2444, 0); -lean_inc(x_2518); -x_2519 = lean_ctor_get(x_2444, 1); -lean_inc(x_2519); -if (lean_is_exclusive(x_2444)) { - lean_ctor_release(x_2444, 0); - lean_ctor_release(x_2444, 1); - x_2520 = x_2444; -} else { - lean_dec_ref(x_2444); - x_2520 = lean_box(0); -} -if (lean_is_scalar(x_2520)) { - x_2521 = lean_alloc_ctor(1, 2, 0); -} else { - x_2521 = x_2520; -} -lean_ctor_set(x_2521, 0, x_2518); -lean_ctor_set(x_2521, 1, x_2519); -return x_2521; -} -} -} -} -else -{ -uint8_t x_2522; -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_2522 = !lean_is_exclusive(x_2211); -if (x_2522 == 0) -{ -return x_2211; -} -else -{ -lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; -x_2523 = lean_ctor_get(x_2211, 0); -x_2524 = lean_ctor_get(x_2211, 1); -lean_inc(x_2524); -lean_inc(x_2523); -lean_dec(x_2211); -x_2525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2525, 0, x_2523); -lean_ctor_set(x_2525, 1, x_2524); -return x_2525; -} -} -} -} -} -block_2540: -{ -if (x_2527 == 0) -{ -x_2198 = x_2528; -goto block_2526; -} -else -{ -lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; -lean_inc(x_1); -x_2529 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2529, 0, x_1); -x_2530 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2531 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2531, 0, x_2530); -lean_ctor_set(x_2531, 1, x_2529); -x_2532 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2533 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2533, 0, x_2531); -lean_ctor_set(x_2533, 1, x_2532); -lean_inc(x_2); -x_2534 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2534, 0, x_2); -x_2535 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2535, 0, x_2533); -lean_ctor_set(x_2535, 1, x_2534); -x_2536 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2536, 0, x_2535); -lean_ctor_set(x_2536, 1, x_2530); -x_2537 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2538 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2537, x_2536, x_3, x_4, x_5, x_6, x_2528); -x_2539 = lean_ctor_get(x_2538, 1); -lean_inc(x_2539); -lean_dec(x_2538); -x_2198 = x_2539; -goto block_2526; -} -} -} -else -{ -lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; uint8_t x_2556; lean_object* x_2557; lean_object* x_2558; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2553 = lean_unsigned_to_nat(0u); -x_2554 = l_Lean_Level_getOffsetAux(x_1, x_2553); -lean_dec(x_1); -x_2555 = l_Lean_Level_getOffsetAux(x_2, x_2553); -lean_dec(x_2); -x_2556 = lean_nat_dec_eq(x_2554, x_2555); -lean_dec(x_2555); -lean_dec(x_2554); -x_2557 = lean_box(x_2556); -x_2558 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2558, 0, x_2557); -lean_ctor_set(x_2558, 1, x_7); -return x_2558; -} -} -case 3: -{ -lean_object* x_2559; lean_object* x_2560; uint8_t x_2561; -x_2559 = l_Lean_Level_getLevelOffset(x_1); -x_2560 = l_Lean_Level_getLevelOffset(x_2); -x_2561 = lean_level_eq(x_2559, x_2560); -lean_dec(x_2560); -lean_dec(x_2559); -if (x_2561 == 0) -{ -lean_object* x_2562; uint8_t x_2891; lean_object* x_2892; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; uint8_t x_2908; -x_2905 = lean_st_ref_get(x_6, x_7); -x_2906 = lean_ctor_get(x_2905, 0); -lean_inc(x_2906); -x_2907 = lean_ctor_get(x_2906, 3); -lean_inc(x_2907); -lean_dec(x_2906); -x_2908 = lean_ctor_get_uint8(x_2907, sizeof(void*)*1); -lean_dec(x_2907); -if (x_2908 == 0) -{ -lean_object* x_2909; uint8_t x_2910; -x_2909 = lean_ctor_get(x_2905, 1); -lean_inc(x_2909); -lean_dec(x_2905); -x_2910 = 0; -x_2891 = x_2910; -x_2892 = x_2909; -goto block_2904; -} -else -{ -lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; uint8_t x_2916; -x_2911 = lean_ctor_get(x_2905, 1); -lean_inc(x_2911); -lean_dec(x_2905); -x_2912 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2913 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2912, x_3, x_4, x_5, x_6, x_2911); -x_2914 = lean_ctor_get(x_2913, 0); -lean_inc(x_2914); -x_2915 = lean_ctor_get(x_2913, 1); -lean_inc(x_2915); -lean_dec(x_2913); -x_2916 = lean_unbox(x_2914); -lean_dec(x_2914); -x_2891 = x_2916; -x_2892 = x_2915; -goto block_2904; -} -block_2890: -{ -lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; uint8_t x_2571; -lean_inc(x_1); -x_2563 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2562); -x_2564 = lean_ctor_get(x_2563, 0); -lean_inc(x_2564); -x_2565 = lean_ctor_get(x_2563, 1); -lean_inc(x_2565); -lean_dec(x_2563); -x_2566 = l_Lean_Level_normalize(x_2564); -lean_dec(x_2564); -lean_inc(x_2); -x_2567 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2565); -x_2568 = lean_ctor_get(x_2567, 0); -lean_inc(x_2568); -x_2569 = lean_ctor_get(x_2567, 1); -lean_inc(x_2569); -lean_dec(x_2567); -x_2570 = l_Lean_Level_normalize(x_2568); -lean_dec(x_2568); -x_2571 = lean_level_eq(x_1, x_2566); -if (x_2571 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2566; -x_2 = x_2570; -x_7 = x_2569; -goto _start; -} -else -{ -uint8_t x_2573; -x_2573 = lean_level_eq(x_2, x_2570); -if (x_2573 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2566; -x_2 = x_2570; -x_7 = x_2569; -goto _start; -} -else -{ -lean_object* x_2575; -lean_dec(x_2570); -lean_dec(x_2566); -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_2575 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2569); -if (lean_obj_tag(x_2575) == 0) -{ -uint8_t x_2576; -x_2576 = !lean_is_exclusive(x_2575); -if (x_2576 == 0) -{ -lean_object* x_2577; lean_object* x_2578; uint8_t x_2579; uint8_t x_2580; uint8_t x_2581; -x_2577 = lean_ctor_get(x_2575, 0); -x_2578 = lean_ctor_get(x_2575, 1); -x_2579 = 2; -x_2580 = lean_unbox(x_2577); -x_2581 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2580, x_2579); -if (x_2581 == 0) -{ -uint8_t x_2582; uint8_t x_2583; uint8_t x_2584; lean_object* x_2585; -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_2582 = 1; -x_2583 = lean_unbox(x_2577); -lean_dec(x_2577); -x_2584 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2583, x_2582); -x_2585 = lean_box(x_2584); -lean_ctor_set(x_2575, 0, x_2585); -return x_2575; -} -else -{ -lean_object* x_2586; -lean_free_object(x_2575); -lean_dec(x_2577); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2586 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2578); -if (lean_obj_tag(x_2586) == 0) -{ -uint8_t x_2587; -x_2587 = !lean_is_exclusive(x_2586); -if (x_2587 == 0) -{ -lean_object* x_2588; lean_object* x_2589; uint8_t x_2590; uint8_t x_2591; -x_2588 = lean_ctor_get(x_2586, 0); -x_2589 = lean_ctor_get(x_2586, 1); -x_2590 = lean_unbox(x_2588); -x_2591 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2590, x_2579); -if (x_2591 == 0) -{ -uint8_t x_2592; uint8_t x_2593; uint8_t x_2594; lean_object* x_2595; -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_2592 = 1; -x_2593 = lean_unbox(x_2588); -lean_dec(x_2588); -x_2594 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2593, x_2592); -x_2595 = lean_box(x_2594); -lean_ctor_set(x_2586, 0, x_2595); -return x_2586; -} -else -{ -lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; uint8_t x_2599; -lean_free_object(x_2586); -lean_dec(x_2588); -x_2596 = lean_st_ref_get(x_6, x_2589); -x_2597 = lean_ctor_get(x_2596, 1); -lean_inc(x_2597); -lean_dec(x_2596); -x_2598 = lean_st_ref_get(x_4, x_2597); -x_2599 = !lean_is_exclusive(x_2598); -if (x_2599 == 0) -{ -lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; uint8_t x_2603; -x_2600 = lean_ctor_get(x_2598, 0); -x_2601 = lean_ctor_get(x_2598, 1); -x_2602 = lean_ctor_get(x_2600, 0); -lean_inc(x_2602); -lean_dec(x_2600); -lean_inc(x_2602); -x_2603 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2602, x_1); -if (x_2603 == 0) -{ -uint8_t x_2604; -x_2604 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2602, x_2); -if (x_2604 == 0) -{ -lean_object* x_2605; lean_object* x_2635; uint8_t x_2636; -x_2635 = lean_ctor_get(x_3, 0); -lean_inc(x_2635); -x_2636 = lean_ctor_get_uint8(x_2635, 4); -lean_dec(x_2635); -if (x_2636 == 0) -{ -uint8_t x_2637; lean_object* x_2638; -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_2637 = 0; -x_2638 = lean_box(x_2637); -lean_ctor_set(x_2598, 0, x_2638); -return x_2598; -} -else -{ -uint8_t x_2639; -x_2639 = l_Lean_Level_isMVar(x_1); -if (x_2639 == 0) -{ -uint8_t x_2640; -x_2640 = l_Lean_Level_isMVar(x_2); -if (x_2640 == 0) -{ -uint8_t x_2641; lean_object* x_2642; -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_2641 = 0; -x_2642 = lean_box(x_2641); -lean_ctor_set(x_2598, 0, x_2642); -return x_2598; -} -else -{ -lean_object* x_2643; -lean_free_object(x_2598); -x_2643 = lean_box(0); -x_2605 = x_2643; -goto block_2634; -} -} -else -{ -lean_object* x_2644; -lean_free_object(x_2598); -x_2644 = lean_box(0); -x_2605 = x_2644; -goto block_2634; -} -} -block_2634: -{ -uint8_t x_2606; lean_object* x_2607; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; uint8_t x_2625; -lean_dec(x_2605); -x_2622 = lean_st_ref_get(x_6, x_2601); -x_2623 = lean_ctor_get(x_2622, 0); -lean_inc(x_2623); -x_2624 = lean_ctor_get(x_2623, 3); -lean_inc(x_2624); -lean_dec(x_2623); -x_2625 = lean_ctor_get_uint8(x_2624, sizeof(void*)*1); -lean_dec(x_2624); -if (x_2625 == 0) -{ -lean_object* x_2626; uint8_t x_2627; -x_2626 = lean_ctor_get(x_2622, 1); -lean_inc(x_2626); -lean_dec(x_2622); -x_2627 = 0; -x_2606 = x_2627; -x_2607 = x_2626; -goto block_2621; -} -else -{ -lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; uint8_t x_2633; -x_2628 = lean_ctor_get(x_2622, 1); -lean_inc(x_2628); -lean_dec(x_2622); -x_2629 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2630 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2629, x_3, x_4, x_5, x_6, x_2628); -x_2631 = lean_ctor_get(x_2630, 0); -lean_inc(x_2631); -x_2632 = lean_ctor_get(x_2630, 1); -lean_inc(x_2632); -lean_dec(x_2630); -x_2633 = lean_unbox(x_2631); -lean_dec(x_2631); -x_2606 = x_2633; -x_2607 = x_2632; -goto block_2621; -} -block_2621: -{ -if (x_2606 == 0) -{ -lean_object* x_2608; -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_2608 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2607); -return x_2608; -} -else -{ -lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; -x_2609 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2609, 0, x_1); -x_2610 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2611 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2611, 0, x_2610); -lean_ctor_set(x_2611, 1, x_2609); -x_2612 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2613 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2613, 0, x_2611); -lean_ctor_set(x_2613, 1, x_2612); -x_2614 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2614, 0, x_2); -x_2615 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2615, 0, x_2613); -lean_ctor_set(x_2615, 1, x_2614); -x_2616 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2616, 0, x_2615); -lean_ctor_set(x_2616, 1, x_2610); -x_2617 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2618 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2617, x_2616, x_3, x_4, x_5, x_6, x_2607); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2619 = lean_ctor_get(x_2618, 1); -lean_inc(x_2619); -lean_dec(x_2618); -x_2620 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2619); -return x_2620; -} -} -} -} -else -{ -lean_object* x_2645; uint8_t x_2646; -lean_free_object(x_2598); -x_2645 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2601); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2646 = !lean_is_exclusive(x_2645); -if (x_2646 == 0) -{ -lean_object* x_2647; uint8_t x_2648; lean_object* x_2649; -x_2647 = lean_ctor_get(x_2645, 0); -lean_dec(x_2647); -x_2648 = 1; -x_2649 = lean_box(x_2648); -lean_ctor_set(x_2645, 0, x_2649); -return x_2645; -} -else -{ -lean_object* x_2650; uint8_t x_2651; lean_object* x_2652; lean_object* x_2653; -x_2650 = lean_ctor_get(x_2645, 1); -lean_inc(x_2650); -lean_dec(x_2645); -x_2651 = 1; -x_2652 = lean_box(x_2651); -x_2653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2653, 0, x_2652); -lean_ctor_set(x_2653, 1, x_2650); -return x_2653; -} -} -} -else -{ -lean_object* x_2654; uint8_t x_2655; -lean_dec(x_2602); -lean_free_object(x_2598); -x_2654 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2601); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2655 = !lean_is_exclusive(x_2654); -if (x_2655 == 0) -{ -lean_object* x_2656; uint8_t x_2657; lean_object* x_2658; -x_2656 = lean_ctor_get(x_2654, 0); -lean_dec(x_2656); -x_2657 = 1; -x_2658 = lean_box(x_2657); -lean_ctor_set(x_2654, 0, x_2658); -return x_2654; -} -else -{ -lean_object* x_2659; uint8_t x_2660; lean_object* x_2661; lean_object* x_2662; -x_2659 = lean_ctor_get(x_2654, 1); -lean_inc(x_2659); -lean_dec(x_2654); -x_2660 = 1; -x_2661 = lean_box(x_2660); -x_2662 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2662, 0, x_2661); -lean_ctor_set(x_2662, 1, x_2659); -return x_2662; -} -} -} -else -{ -lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; uint8_t x_2666; -x_2663 = lean_ctor_get(x_2598, 0); -x_2664 = lean_ctor_get(x_2598, 1); -lean_inc(x_2664); -lean_inc(x_2663); -lean_dec(x_2598); -x_2665 = lean_ctor_get(x_2663, 0); -lean_inc(x_2665); -lean_dec(x_2663); -lean_inc(x_2665); -x_2666 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2665, x_1); -if (x_2666 == 0) -{ -uint8_t x_2667; -x_2667 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2665, x_2); -if (x_2667 == 0) -{ -lean_object* x_2668; lean_object* x_2698; uint8_t x_2699; -x_2698 = lean_ctor_get(x_3, 0); -lean_inc(x_2698); -x_2699 = lean_ctor_get_uint8(x_2698, 4); -lean_dec(x_2698); -if (x_2699 == 0) -{ -uint8_t x_2700; lean_object* x_2701; lean_object* x_2702; -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_2700 = 0; -x_2701 = lean_box(x_2700); -x_2702 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2702, 0, x_2701); -lean_ctor_set(x_2702, 1, x_2664); -return x_2702; -} -else -{ -uint8_t x_2703; -x_2703 = l_Lean_Level_isMVar(x_1); -if (x_2703 == 0) -{ -uint8_t x_2704; -x_2704 = l_Lean_Level_isMVar(x_2); -if (x_2704 == 0) -{ -uint8_t x_2705; lean_object* x_2706; lean_object* x_2707; -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_2705 = 0; -x_2706 = lean_box(x_2705); -x_2707 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2707, 0, x_2706); -lean_ctor_set(x_2707, 1, x_2664); -return x_2707; -} -else -{ -lean_object* x_2708; -x_2708 = lean_box(0); -x_2668 = x_2708; -goto block_2697; -} -} -else -{ -lean_object* x_2709; -x_2709 = lean_box(0); -x_2668 = x_2709; -goto block_2697; -} -} -block_2697: -{ -uint8_t x_2669; lean_object* x_2670; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; uint8_t x_2688; -lean_dec(x_2668); -x_2685 = lean_st_ref_get(x_6, x_2664); -x_2686 = lean_ctor_get(x_2685, 0); -lean_inc(x_2686); -x_2687 = lean_ctor_get(x_2686, 3); -lean_inc(x_2687); -lean_dec(x_2686); -x_2688 = lean_ctor_get_uint8(x_2687, sizeof(void*)*1); -lean_dec(x_2687); -if (x_2688 == 0) -{ -lean_object* x_2689; uint8_t x_2690; -x_2689 = lean_ctor_get(x_2685, 1); -lean_inc(x_2689); -lean_dec(x_2685); -x_2690 = 0; -x_2669 = x_2690; -x_2670 = x_2689; -goto block_2684; -} -else -{ -lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; uint8_t x_2696; -x_2691 = lean_ctor_get(x_2685, 1); -lean_inc(x_2691); -lean_dec(x_2685); -x_2692 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2693 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2692, x_3, x_4, x_5, x_6, x_2691); -x_2694 = lean_ctor_get(x_2693, 0); -lean_inc(x_2694); -x_2695 = lean_ctor_get(x_2693, 1); -lean_inc(x_2695); -lean_dec(x_2693); -x_2696 = lean_unbox(x_2694); -lean_dec(x_2694); -x_2669 = x_2696; -x_2670 = x_2695; -goto block_2684; -} -block_2684: -{ -if (x_2669 == 0) -{ -lean_object* x_2671; -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_2671 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2670); -return x_2671; -} -else -{ -lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; -x_2672 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2672, 0, x_1); -x_2673 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2674 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2674, 0, x_2673); -lean_ctor_set(x_2674, 1, x_2672); -x_2675 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2676 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2676, 0, x_2674); -lean_ctor_set(x_2676, 1, x_2675); -x_2677 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2677, 0, x_2); -x_2678 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2678, 0, x_2676); -lean_ctor_set(x_2678, 1, x_2677); -x_2679 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2679, 0, x_2678); -lean_ctor_set(x_2679, 1, x_2673); -x_2680 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2681 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2680, x_2679, x_3, x_4, x_5, x_6, x_2670); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2682 = lean_ctor_get(x_2681, 1); -lean_inc(x_2682); -lean_dec(x_2681); -x_2683 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2682); -return x_2683; -} -} -} -} -else -{ -lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; uint8_t x_2713; lean_object* x_2714; lean_object* x_2715; -x_2710 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2664); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2711 = lean_ctor_get(x_2710, 1); -lean_inc(x_2711); -if (lean_is_exclusive(x_2710)) { - lean_ctor_release(x_2710, 0); - lean_ctor_release(x_2710, 1); - x_2712 = x_2710; -} else { - lean_dec_ref(x_2710); - x_2712 = lean_box(0); -} -x_2713 = 1; -x_2714 = lean_box(x_2713); -if (lean_is_scalar(x_2712)) { - x_2715 = lean_alloc_ctor(0, 2, 0); -} else { - x_2715 = x_2712; -} -lean_ctor_set(x_2715, 0, x_2714); -lean_ctor_set(x_2715, 1, x_2711); -return x_2715; -} -} -else -{ -lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; uint8_t x_2719; lean_object* x_2720; lean_object* x_2721; -lean_dec(x_2665); -x_2716 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2664); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2717 = lean_ctor_get(x_2716, 1); -lean_inc(x_2717); -if (lean_is_exclusive(x_2716)) { - lean_ctor_release(x_2716, 0); - lean_ctor_release(x_2716, 1); - x_2718 = x_2716; -} else { - lean_dec_ref(x_2716); - x_2718 = lean_box(0); -} -x_2719 = 1; -x_2720 = lean_box(x_2719); -if (lean_is_scalar(x_2718)) { - x_2721 = lean_alloc_ctor(0, 2, 0); -} else { - x_2721 = x_2718; -} -lean_ctor_set(x_2721, 0, x_2720); -lean_ctor_set(x_2721, 1, x_2717); -return x_2721; -} -} -} -} -else -{ -lean_object* x_2722; lean_object* x_2723; uint8_t x_2724; uint8_t x_2725; -x_2722 = lean_ctor_get(x_2586, 0); -x_2723 = lean_ctor_get(x_2586, 1); -lean_inc(x_2723); -lean_inc(x_2722); -lean_dec(x_2586); -x_2724 = lean_unbox(x_2722); -x_2725 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2724, x_2579); -if (x_2725 == 0) -{ -uint8_t x_2726; uint8_t x_2727; uint8_t x_2728; lean_object* x_2729; lean_object* x_2730; -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_2726 = 1; -x_2727 = lean_unbox(x_2722); -lean_dec(x_2722); -x_2728 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2727, x_2726); -x_2729 = lean_box(x_2728); -x_2730 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2730, 0, x_2729); -lean_ctor_set(x_2730, 1, x_2723); -return x_2730; -} -else -{ -lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; uint8_t x_2738; -lean_dec(x_2722); -x_2731 = lean_st_ref_get(x_6, x_2723); -x_2732 = lean_ctor_get(x_2731, 1); -lean_inc(x_2732); -lean_dec(x_2731); -x_2733 = lean_st_ref_get(x_4, x_2732); -x_2734 = lean_ctor_get(x_2733, 0); -lean_inc(x_2734); -x_2735 = lean_ctor_get(x_2733, 1); -lean_inc(x_2735); -if (lean_is_exclusive(x_2733)) { - lean_ctor_release(x_2733, 0); - lean_ctor_release(x_2733, 1); - x_2736 = x_2733; -} else { - lean_dec_ref(x_2733); - x_2736 = lean_box(0); -} -x_2737 = lean_ctor_get(x_2734, 0); -lean_inc(x_2737); -lean_dec(x_2734); -lean_inc(x_2737); -x_2738 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2737, x_1); -if (x_2738 == 0) -{ -uint8_t x_2739; -x_2739 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2737, x_2); -if (x_2739 == 0) -{ -lean_object* x_2740; lean_object* x_2770; uint8_t x_2771; -x_2770 = lean_ctor_get(x_3, 0); -lean_inc(x_2770); -x_2771 = lean_ctor_get_uint8(x_2770, 4); -lean_dec(x_2770); -if (x_2771 == 0) -{ -uint8_t x_2772; lean_object* x_2773; lean_object* x_2774; -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_2772 = 0; -x_2773 = lean_box(x_2772); -if (lean_is_scalar(x_2736)) { - x_2774 = lean_alloc_ctor(0, 2, 0); -} else { - x_2774 = x_2736; -} -lean_ctor_set(x_2774, 0, x_2773); -lean_ctor_set(x_2774, 1, x_2735); -return x_2774; -} -else -{ -uint8_t x_2775; -x_2775 = l_Lean_Level_isMVar(x_1); -if (x_2775 == 0) -{ -uint8_t x_2776; -x_2776 = l_Lean_Level_isMVar(x_2); -if (x_2776 == 0) -{ -uint8_t x_2777; lean_object* x_2778; lean_object* x_2779; -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_2777 = 0; -x_2778 = lean_box(x_2777); -if (lean_is_scalar(x_2736)) { - x_2779 = lean_alloc_ctor(0, 2, 0); -} else { - x_2779 = x_2736; -} -lean_ctor_set(x_2779, 0, x_2778); -lean_ctor_set(x_2779, 1, x_2735); -return x_2779; -} -else -{ -lean_object* x_2780; -lean_dec(x_2736); -x_2780 = lean_box(0); -x_2740 = x_2780; -goto block_2769; -} -} -else -{ -lean_object* x_2781; -lean_dec(x_2736); -x_2781 = lean_box(0); -x_2740 = x_2781; -goto block_2769; -} -} -block_2769: -{ -uint8_t x_2741; lean_object* x_2742; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; uint8_t x_2760; -lean_dec(x_2740); -x_2757 = lean_st_ref_get(x_6, x_2735); -x_2758 = lean_ctor_get(x_2757, 0); -lean_inc(x_2758); -x_2759 = lean_ctor_get(x_2758, 3); -lean_inc(x_2759); -lean_dec(x_2758); -x_2760 = lean_ctor_get_uint8(x_2759, sizeof(void*)*1); -lean_dec(x_2759); -if (x_2760 == 0) -{ -lean_object* x_2761; uint8_t x_2762; -x_2761 = lean_ctor_get(x_2757, 1); -lean_inc(x_2761); -lean_dec(x_2757); -x_2762 = 0; -x_2741 = x_2762; -x_2742 = x_2761; -goto block_2756; -} -else -{ -lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; uint8_t x_2768; -x_2763 = lean_ctor_get(x_2757, 1); -lean_inc(x_2763); -lean_dec(x_2757); -x_2764 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2765 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2764, x_3, x_4, x_5, x_6, x_2763); -x_2766 = lean_ctor_get(x_2765, 0); -lean_inc(x_2766); -x_2767 = lean_ctor_get(x_2765, 1); -lean_inc(x_2767); -lean_dec(x_2765); -x_2768 = lean_unbox(x_2766); -lean_dec(x_2766); -x_2741 = x_2768; -x_2742 = x_2767; -goto block_2756; -} -block_2756: -{ -if (x_2741 == 0) -{ -lean_object* x_2743; -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_2743 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2742); -return x_2743; -} -else -{ -lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; -x_2744 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2744, 0, x_1); -x_2745 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2746 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2746, 0, x_2745); -lean_ctor_set(x_2746, 1, x_2744); -x_2747 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2748 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2748, 0, x_2746); -lean_ctor_set(x_2748, 1, x_2747); -x_2749 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2749, 0, x_2); -x_2750 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2750, 0, x_2748); -lean_ctor_set(x_2750, 1, x_2749); -x_2751 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2751, 0, x_2750); -lean_ctor_set(x_2751, 1, x_2745); -x_2752 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2753 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2752, x_2751, x_3, x_4, x_5, x_6, x_2742); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2754 = lean_ctor_get(x_2753, 1); -lean_inc(x_2754); -lean_dec(x_2753); -x_2755 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2754); -return x_2755; -} -} -} -} -else -{ -lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; uint8_t x_2785; lean_object* x_2786; lean_object* x_2787; -lean_dec(x_2736); -x_2782 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2735); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2783 = lean_ctor_get(x_2782, 1); -lean_inc(x_2783); -if (lean_is_exclusive(x_2782)) { - lean_ctor_release(x_2782, 0); - lean_ctor_release(x_2782, 1); - x_2784 = x_2782; -} else { - lean_dec_ref(x_2782); - x_2784 = lean_box(0); -} -x_2785 = 1; -x_2786 = lean_box(x_2785); -if (lean_is_scalar(x_2784)) { - x_2787 = lean_alloc_ctor(0, 2, 0); -} else { - x_2787 = x_2784; -} -lean_ctor_set(x_2787, 0, x_2786); -lean_ctor_set(x_2787, 1, x_2783); -return x_2787; -} -} -else -{ -lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; uint8_t x_2791; lean_object* x_2792; lean_object* x_2793; -lean_dec(x_2737); -lean_dec(x_2736); -x_2788 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2735); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2789 = lean_ctor_get(x_2788, 1); -lean_inc(x_2789); -if (lean_is_exclusive(x_2788)) { - lean_ctor_release(x_2788, 0); - lean_ctor_release(x_2788, 1); - x_2790 = x_2788; -} else { - lean_dec_ref(x_2788); - x_2790 = lean_box(0); -} -x_2791 = 1; -x_2792 = lean_box(x_2791); -if (lean_is_scalar(x_2790)) { - x_2793 = lean_alloc_ctor(0, 2, 0); -} else { - x_2793 = x_2790; -} -lean_ctor_set(x_2793, 0, x_2792); -lean_ctor_set(x_2793, 1, x_2789); -return x_2793; -} -} -} -} -else -{ -uint8_t x_2794; -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_2794 = !lean_is_exclusive(x_2586); -if (x_2794 == 0) -{ -return x_2586; -} -else -{ -lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; -x_2795 = lean_ctor_get(x_2586, 0); -x_2796 = lean_ctor_get(x_2586, 1); -lean_inc(x_2796); -lean_inc(x_2795); -lean_dec(x_2586); -x_2797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2797, 0, x_2795); -lean_ctor_set(x_2797, 1, x_2796); -return x_2797; -} -} -} -} -else -{ -lean_object* x_2798; lean_object* x_2799; uint8_t x_2800; uint8_t x_2801; uint8_t x_2802; -x_2798 = lean_ctor_get(x_2575, 0); -x_2799 = lean_ctor_get(x_2575, 1); -lean_inc(x_2799); -lean_inc(x_2798); -lean_dec(x_2575); -x_2800 = 2; -x_2801 = lean_unbox(x_2798); -x_2802 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2801, x_2800); -if (x_2802 == 0) -{ -uint8_t x_2803; uint8_t x_2804; uint8_t x_2805; lean_object* x_2806; lean_object* x_2807; -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_2803 = 1; -x_2804 = lean_unbox(x_2798); -lean_dec(x_2798); -x_2805 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2804, x_2803); -x_2806 = lean_box(x_2805); -x_2807 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2807, 0, x_2806); -lean_ctor_set(x_2807, 1, x_2799); -return x_2807; -} -else -{ -lean_object* x_2808; -lean_dec(x_2798); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2808 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2799); -if (lean_obj_tag(x_2808) == 0) -{ -lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; uint8_t x_2812; uint8_t x_2813; -x_2809 = lean_ctor_get(x_2808, 0); -lean_inc(x_2809); -x_2810 = lean_ctor_get(x_2808, 1); -lean_inc(x_2810); -if (lean_is_exclusive(x_2808)) { - lean_ctor_release(x_2808, 0); - lean_ctor_release(x_2808, 1); - x_2811 = x_2808; -} else { - lean_dec_ref(x_2808); - x_2811 = lean_box(0); -} -x_2812 = lean_unbox(x_2809); -x_2813 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2812, x_2800); -if (x_2813 == 0) -{ -uint8_t x_2814; uint8_t x_2815; uint8_t x_2816; lean_object* x_2817; lean_object* x_2818; -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_2814 = 1; -x_2815 = lean_unbox(x_2809); -lean_dec(x_2809); -x_2816 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2815, x_2814); -x_2817 = lean_box(x_2816); -if (lean_is_scalar(x_2811)) { - x_2818 = lean_alloc_ctor(0, 2, 0); -} else { - x_2818 = x_2811; -} -lean_ctor_set(x_2818, 0, x_2817); -lean_ctor_set(x_2818, 1, x_2810); -return x_2818; -} -else -{ -lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; uint8_t x_2826; -lean_dec(x_2811); -lean_dec(x_2809); -x_2819 = lean_st_ref_get(x_6, x_2810); -x_2820 = lean_ctor_get(x_2819, 1); -lean_inc(x_2820); -lean_dec(x_2819); -x_2821 = lean_st_ref_get(x_4, x_2820); -x_2822 = lean_ctor_get(x_2821, 0); -lean_inc(x_2822); -x_2823 = lean_ctor_get(x_2821, 1); -lean_inc(x_2823); -if (lean_is_exclusive(x_2821)) { - lean_ctor_release(x_2821, 0); - lean_ctor_release(x_2821, 1); - x_2824 = x_2821; -} else { - lean_dec_ref(x_2821); - x_2824 = lean_box(0); -} -x_2825 = lean_ctor_get(x_2822, 0); -lean_inc(x_2825); -lean_dec(x_2822); -lean_inc(x_2825); -x_2826 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2825, x_1); -if (x_2826 == 0) -{ -uint8_t x_2827; -x_2827 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2825, x_2); -if (x_2827 == 0) -{ -lean_object* x_2828; lean_object* x_2858; uint8_t x_2859; -x_2858 = lean_ctor_get(x_3, 0); -lean_inc(x_2858); -x_2859 = lean_ctor_get_uint8(x_2858, 4); -lean_dec(x_2858); -if (x_2859 == 0) -{ -uint8_t x_2860; lean_object* x_2861; lean_object* x_2862; -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_2860 = 0; -x_2861 = lean_box(x_2860); -if (lean_is_scalar(x_2824)) { - x_2862 = lean_alloc_ctor(0, 2, 0); -} else { - x_2862 = x_2824; -} -lean_ctor_set(x_2862, 0, x_2861); -lean_ctor_set(x_2862, 1, x_2823); -return x_2862; -} -else -{ -uint8_t x_2863; -x_2863 = l_Lean_Level_isMVar(x_1); -if (x_2863 == 0) -{ -uint8_t x_2864; -x_2864 = l_Lean_Level_isMVar(x_2); -if (x_2864 == 0) -{ -uint8_t x_2865; lean_object* x_2866; lean_object* x_2867; -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_2865 = 0; -x_2866 = lean_box(x_2865); -if (lean_is_scalar(x_2824)) { - x_2867 = lean_alloc_ctor(0, 2, 0); -} else { - x_2867 = x_2824; -} -lean_ctor_set(x_2867, 0, x_2866); -lean_ctor_set(x_2867, 1, x_2823); -return x_2867; -} -else -{ -lean_object* x_2868; -lean_dec(x_2824); -x_2868 = lean_box(0); -x_2828 = x_2868; -goto block_2857; -} -} -else -{ -lean_object* x_2869; -lean_dec(x_2824); -x_2869 = lean_box(0); -x_2828 = x_2869; -goto block_2857; -} -} -block_2857: -{ -uint8_t x_2829; lean_object* x_2830; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; uint8_t x_2848; -lean_dec(x_2828); -x_2845 = lean_st_ref_get(x_6, x_2823); -x_2846 = lean_ctor_get(x_2845, 0); -lean_inc(x_2846); -x_2847 = lean_ctor_get(x_2846, 3); -lean_inc(x_2847); -lean_dec(x_2846); -x_2848 = lean_ctor_get_uint8(x_2847, sizeof(void*)*1); -lean_dec(x_2847); -if (x_2848 == 0) -{ -lean_object* x_2849; uint8_t x_2850; -x_2849 = lean_ctor_get(x_2845, 1); -lean_inc(x_2849); -lean_dec(x_2845); -x_2850 = 0; -x_2829 = x_2850; -x_2830 = x_2849; -goto block_2844; -} -else -{ -lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; uint8_t x_2856; -x_2851 = lean_ctor_get(x_2845, 1); -lean_inc(x_2851); -lean_dec(x_2845); -x_2852 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2853 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2852, x_3, x_4, x_5, x_6, x_2851); -x_2854 = lean_ctor_get(x_2853, 0); -lean_inc(x_2854); -x_2855 = lean_ctor_get(x_2853, 1); -lean_inc(x_2855); -lean_dec(x_2853); -x_2856 = lean_unbox(x_2854); -lean_dec(x_2854); -x_2829 = x_2856; -x_2830 = x_2855; -goto block_2844; -} -block_2844: -{ -if (x_2829 == 0) -{ -lean_object* x_2831; -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_2831 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2830); -return x_2831; -} -else -{ -lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; -x_2832 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2832, 0, x_1); -x_2833 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2834 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2834, 0, x_2833); -lean_ctor_set(x_2834, 1, x_2832); -x_2835 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2836 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2836, 0, x_2834); -lean_ctor_set(x_2836, 1, x_2835); -x_2837 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2837, 0, x_2); -x_2838 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2838, 0, x_2836); -lean_ctor_set(x_2838, 1, x_2837); -x_2839 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2839, 0, x_2838); -lean_ctor_set(x_2839, 1, x_2833); -x_2840 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2841 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2840, x_2839, x_3, x_4, x_5, x_6, x_2830); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2842 = lean_ctor_get(x_2841, 1); -lean_inc(x_2842); -lean_dec(x_2841); -x_2843 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2842); -return x_2843; -} -} -} -} -else -{ -lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; uint8_t x_2873; lean_object* x_2874; lean_object* x_2875; -lean_dec(x_2824); -x_2870 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2823); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2871 = lean_ctor_get(x_2870, 1); -lean_inc(x_2871); -if (lean_is_exclusive(x_2870)) { - lean_ctor_release(x_2870, 0); - lean_ctor_release(x_2870, 1); - x_2872 = x_2870; -} else { - lean_dec_ref(x_2870); - x_2872 = lean_box(0); -} -x_2873 = 1; -x_2874 = lean_box(x_2873); -if (lean_is_scalar(x_2872)) { - x_2875 = lean_alloc_ctor(0, 2, 0); -} else { - x_2875 = x_2872; -} -lean_ctor_set(x_2875, 0, x_2874); -lean_ctor_set(x_2875, 1, x_2871); -return x_2875; -} -} -else -{ -lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; uint8_t x_2879; lean_object* x_2880; lean_object* x_2881; -lean_dec(x_2825); -lean_dec(x_2824); -x_2876 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2823); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2877 = lean_ctor_get(x_2876, 1); -lean_inc(x_2877); -if (lean_is_exclusive(x_2876)) { - lean_ctor_release(x_2876, 0); - lean_ctor_release(x_2876, 1); - x_2878 = x_2876; -} else { - lean_dec_ref(x_2876); - x_2878 = lean_box(0); -} -x_2879 = 1; -x_2880 = lean_box(x_2879); -if (lean_is_scalar(x_2878)) { - x_2881 = lean_alloc_ctor(0, 2, 0); -} else { - x_2881 = x_2878; -} -lean_ctor_set(x_2881, 0, x_2880); -lean_ctor_set(x_2881, 1, x_2877); -return x_2881; -} -} -} -else -{ -lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; -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_2882 = lean_ctor_get(x_2808, 0); -lean_inc(x_2882); -x_2883 = lean_ctor_get(x_2808, 1); -lean_inc(x_2883); -if (lean_is_exclusive(x_2808)) { - lean_ctor_release(x_2808, 0); - lean_ctor_release(x_2808, 1); - x_2884 = x_2808; -} else { - lean_dec_ref(x_2808); - x_2884 = lean_box(0); -} -if (lean_is_scalar(x_2884)) { - x_2885 = lean_alloc_ctor(1, 2, 0); -} else { - x_2885 = x_2884; -} -lean_ctor_set(x_2885, 0, x_2882); -lean_ctor_set(x_2885, 1, x_2883); -return x_2885; -} -} -} -} -else -{ -uint8_t x_2886; -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_2886 = !lean_is_exclusive(x_2575); -if (x_2886 == 0) -{ -return x_2575; -} -else -{ -lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; -x_2887 = lean_ctor_get(x_2575, 0); -x_2888 = lean_ctor_get(x_2575, 1); -lean_inc(x_2888); -lean_inc(x_2887); -lean_dec(x_2575); -x_2889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2889, 0, x_2887); -lean_ctor_set(x_2889, 1, x_2888); -return x_2889; -} -} -} -} -} -block_2904: -{ -if (x_2891 == 0) -{ -x_2562 = x_2892; -goto block_2890; -} -else -{ -lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; -lean_inc(x_1); -x_2893 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2893, 0, x_1); -x_2894 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2895 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2895, 0, x_2894); -lean_ctor_set(x_2895, 1, x_2893); -x_2896 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2897 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2897, 0, x_2895); -lean_ctor_set(x_2897, 1, x_2896); -lean_inc(x_2); -x_2898 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2898, 0, x_2); -x_2899 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2899, 0, x_2897); -lean_ctor_set(x_2899, 1, x_2898); -x_2900 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2900, 0, x_2899); -lean_ctor_set(x_2900, 1, x_2894); -x_2901 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_2902 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2901, x_2900, x_3, x_4, x_5, x_6, x_2892); -x_2903 = lean_ctor_get(x_2902, 1); -lean_inc(x_2903); -lean_dec(x_2902); -x_2562 = x_2903; -goto block_2890; -} -} -} -else -{ -lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; uint8_t x_2920; lean_object* x_2921; lean_object* x_2922; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2917 = lean_unsigned_to_nat(0u); -x_2918 = l_Lean_Level_getOffsetAux(x_1, x_2917); -lean_dec(x_1); -x_2919 = l_Lean_Level_getOffsetAux(x_2, x_2917); -lean_dec(x_2); -x_2920 = lean_nat_dec_eq(x_2918, x_2919); -lean_dec(x_2919); -lean_dec(x_2918); -x_2921 = lean_box(x_2920); -x_2922 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2922, 0, x_2921); -lean_ctor_set(x_2922, 1, x_7); -return x_2922; -} -} -case 4: -{ -lean_object* x_2923; lean_object* x_2924; uint8_t x_2925; -x_2923 = l_Lean_Level_getLevelOffset(x_1); -x_2924 = l_Lean_Level_getLevelOffset(x_2); -x_2925 = lean_level_eq(x_2923, x_2924); -lean_dec(x_2924); -lean_dec(x_2923); -if (x_2925 == 0) -{ -lean_object* x_2926; uint8_t x_3255; lean_object* x_3256; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; uint8_t x_3272; -x_3269 = lean_st_ref_get(x_6, x_7); -x_3270 = lean_ctor_get(x_3269, 0); -lean_inc(x_3270); -x_3271 = lean_ctor_get(x_3270, 3); -lean_inc(x_3271); -lean_dec(x_3270); -x_3272 = lean_ctor_get_uint8(x_3271, sizeof(void*)*1); -lean_dec(x_3271); -if (x_3272 == 0) -{ -lean_object* x_3273; uint8_t x_3274; -x_3273 = lean_ctor_get(x_3269, 1); -lean_inc(x_3273); -lean_dec(x_3269); -x_3274 = 0; -x_3255 = x_3274; -x_3256 = x_3273; -goto block_3268; -} -else -{ -lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; uint8_t x_3280; -x_3275 = lean_ctor_get(x_3269, 1); -lean_inc(x_3275); -lean_dec(x_3269); -x_3276 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_3277 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3276, x_3, x_4, x_5, x_6, x_3275); -x_3278 = lean_ctor_get(x_3277, 0); -lean_inc(x_3278); -x_3279 = lean_ctor_get(x_3277, 1); -lean_inc(x_3279); -lean_dec(x_3277); -x_3280 = lean_unbox(x_3278); -lean_dec(x_3278); -x_3255 = x_3280; -x_3256 = x_3279; -goto block_3268; -} -block_3254: -{ -lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; uint8_t x_2935; -lean_inc(x_1); -x_2927 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2926); -x_2928 = lean_ctor_get(x_2927, 0); -lean_inc(x_2928); -x_2929 = lean_ctor_get(x_2927, 1); -lean_inc(x_2929); -lean_dec(x_2927); -x_2930 = l_Lean_Level_normalize(x_2928); -lean_dec(x_2928); -lean_inc(x_2); -x_2931 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2929); -x_2932 = lean_ctor_get(x_2931, 0); -lean_inc(x_2932); -x_2933 = lean_ctor_get(x_2931, 1); -lean_inc(x_2933); -lean_dec(x_2931); -x_2934 = l_Lean_Level_normalize(x_2932); -lean_dec(x_2932); -x_2935 = lean_level_eq(x_1, x_2930); -if (x_2935 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2930; -x_2 = x_2934; -x_7 = x_2933; -goto _start; -} -else -{ -uint8_t x_2937; -x_2937 = lean_level_eq(x_2, x_2934); -if (x_2937 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2930; -x_2 = x_2934; -x_7 = x_2933; -goto _start; -} -else -{ -lean_object* x_2939; -lean_dec(x_2934); -lean_dec(x_2930); -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_2939 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2933); -if (lean_obj_tag(x_2939) == 0) -{ -uint8_t x_2940; -x_2940 = !lean_is_exclusive(x_2939); -if (x_2940 == 0) -{ -lean_object* x_2941; lean_object* x_2942; uint8_t x_2943; uint8_t x_2944; uint8_t x_2945; -x_2941 = lean_ctor_get(x_2939, 0); -x_2942 = lean_ctor_get(x_2939, 1); -x_2943 = 2; -x_2944 = lean_unbox(x_2941); -x_2945 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2944, x_2943); -if (x_2945 == 0) -{ -uint8_t x_2946; uint8_t x_2947; uint8_t x_2948; lean_object* x_2949; -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_2946 = 1; -x_2947 = lean_unbox(x_2941); -lean_dec(x_2941); -x_2948 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2947, x_2946); -x_2949 = lean_box(x_2948); -lean_ctor_set(x_2939, 0, x_2949); -return x_2939; -} -else -{ -lean_object* x_2950; -lean_free_object(x_2939); -lean_dec(x_2941); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2950 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2942); -if (lean_obj_tag(x_2950) == 0) -{ -uint8_t x_2951; -x_2951 = !lean_is_exclusive(x_2950); -if (x_2951 == 0) -{ -lean_object* x_2952; lean_object* x_2953; uint8_t x_2954; uint8_t x_2955; -x_2952 = lean_ctor_get(x_2950, 0); -x_2953 = lean_ctor_get(x_2950, 1); -x_2954 = lean_unbox(x_2952); -x_2955 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2954, x_2943); -if (x_2955 == 0) -{ -uint8_t x_2956; uint8_t x_2957; uint8_t x_2958; lean_object* x_2959; -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_2956 = 1; -x_2957 = lean_unbox(x_2952); -lean_dec(x_2952); -x_2958 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2957, x_2956); -x_2959 = lean_box(x_2958); -lean_ctor_set(x_2950, 0, x_2959); -return x_2950; -} -else -{ -lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; uint8_t x_2963; -lean_free_object(x_2950); -lean_dec(x_2952); -x_2960 = lean_st_ref_get(x_6, x_2953); -x_2961 = lean_ctor_get(x_2960, 1); -lean_inc(x_2961); -lean_dec(x_2960); -x_2962 = lean_st_ref_get(x_4, x_2961); -x_2963 = !lean_is_exclusive(x_2962); -if (x_2963 == 0) -{ -lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; uint8_t x_2967; -x_2964 = lean_ctor_get(x_2962, 0); -x_2965 = lean_ctor_get(x_2962, 1); -x_2966 = lean_ctor_get(x_2964, 0); -lean_inc(x_2966); -lean_dec(x_2964); -lean_inc(x_2966); -x_2967 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2966, x_1); -if (x_2967 == 0) -{ -uint8_t x_2968; -x_2968 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2966, x_2); -if (x_2968 == 0) -{ -lean_object* x_2969; lean_object* x_2999; uint8_t x_3000; -x_2999 = lean_ctor_get(x_3, 0); -lean_inc(x_2999); -x_3000 = lean_ctor_get_uint8(x_2999, 4); -lean_dec(x_2999); -if (x_3000 == 0) -{ -uint8_t x_3001; lean_object* x_3002; -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_3001 = 0; -x_3002 = lean_box(x_3001); -lean_ctor_set(x_2962, 0, x_3002); -return x_2962; -} -else -{ -uint8_t x_3003; -x_3003 = l_Lean_Level_isMVar(x_1); -if (x_3003 == 0) -{ -uint8_t x_3004; -x_3004 = l_Lean_Level_isMVar(x_2); -if (x_3004 == 0) -{ -uint8_t x_3005; lean_object* x_3006; -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_3005 = 0; -x_3006 = lean_box(x_3005); -lean_ctor_set(x_2962, 0, x_3006); -return x_2962; -} -else -{ -lean_object* x_3007; -lean_free_object(x_2962); -x_3007 = lean_box(0); -x_2969 = x_3007; -goto block_2998; -} -} -else -{ -lean_object* x_3008; -lean_free_object(x_2962); -x_3008 = lean_box(0); -x_2969 = x_3008; -goto block_2998; -} -} -block_2998: -{ -uint8_t x_2970; lean_object* x_2971; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; uint8_t x_2989; -lean_dec(x_2969); -x_2986 = lean_st_ref_get(x_6, x_2965); -x_2987 = lean_ctor_get(x_2986, 0); -lean_inc(x_2987); -x_2988 = lean_ctor_get(x_2987, 3); -lean_inc(x_2988); -lean_dec(x_2987); -x_2989 = lean_ctor_get_uint8(x_2988, sizeof(void*)*1); -lean_dec(x_2988); -if (x_2989 == 0) -{ -lean_object* x_2990; uint8_t x_2991; -x_2990 = lean_ctor_get(x_2986, 1); -lean_inc(x_2990); -lean_dec(x_2986); -x_2991 = 0; -x_2970 = x_2991; -x_2971 = x_2990; -goto block_2985; -} -else -{ -lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; uint8_t x_2997; -x_2992 = lean_ctor_get(x_2986, 1); -lean_inc(x_2992); -lean_dec(x_2986); -x_2993 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2994 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2993, x_3, x_4, x_5, x_6, x_2992); -x_2995 = lean_ctor_get(x_2994, 0); -lean_inc(x_2995); -x_2996 = lean_ctor_get(x_2994, 1); -lean_inc(x_2996); -lean_dec(x_2994); -x_2997 = lean_unbox(x_2995); -lean_dec(x_2995); -x_2970 = x_2997; -x_2971 = x_2996; -goto block_2985; -} -block_2985: -{ -if (x_2970 == 0) -{ -lean_object* x_2972; -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_2972 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2971); -return x_2972; -} -else -{ -lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; -x_2973 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2973, 0, x_1); -x_2974 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_2975 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2975, 0, x_2974); -lean_ctor_set(x_2975, 1, x_2973); -x_2976 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_2977 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2977, 0, x_2975); -lean_ctor_set(x_2977, 1, x_2976); -x_2978 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2978, 0, x_2); -x_2979 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2979, 0, x_2977); -lean_ctor_set(x_2979, 1, x_2978); -x_2980 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2980, 0, x_2979); -lean_ctor_set(x_2980, 1, x_2974); -x_2981 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_2982 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2981, x_2980, x_3, x_4, x_5, x_6, x_2971); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2983 = lean_ctor_get(x_2982, 1); -lean_inc(x_2983); -lean_dec(x_2982); -x_2984 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2983); -return x_2984; -} -} -} -} -else -{ -lean_object* x_3009; uint8_t x_3010; -lean_free_object(x_2962); -x_3009 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2965); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3010 = !lean_is_exclusive(x_3009); -if (x_3010 == 0) -{ -lean_object* x_3011; uint8_t x_3012; lean_object* x_3013; -x_3011 = lean_ctor_get(x_3009, 0); -lean_dec(x_3011); -x_3012 = 1; -x_3013 = lean_box(x_3012); -lean_ctor_set(x_3009, 0, x_3013); -return x_3009; -} -else -{ -lean_object* x_3014; uint8_t x_3015; lean_object* x_3016; lean_object* x_3017; -x_3014 = lean_ctor_get(x_3009, 1); -lean_inc(x_3014); -lean_dec(x_3009); -x_3015 = 1; -x_3016 = lean_box(x_3015); -x_3017 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3017, 0, x_3016); -lean_ctor_set(x_3017, 1, x_3014); -return x_3017; -} -} -} -else -{ -lean_object* x_3018; uint8_t x_3019; -lean_dec(x_2966); -lean_free_object(x_2962); -x_3018 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2965); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3019 = !lean_is_exclusive(x_3018); -if (x_3019 == 0) -{ -lean_object* x_3020; uint8_t x_3021; lean_object* x_3022; -x_3020 = lean_ctor_get(x_3018, 0); -lean_dec(x_3020); -x_3021 = 1; -x_3022 = lean_box(x_3021); -lean_ctor_set(x_3018, 0, x_3022); -return x_3018; -} -else -{ -lean_object* x_3023; uint8_t x_3024; lean_object* x_3025; lean_object* x_3026; -x_3023 = lean_ctor_get(x_3018, 1); -lean_inc(x_3023); -lean_dec(x_3018); -x_3024 = 1; -x_3025 = lean_box(x_3024); -x_3026 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3026, 0, x_3025); -lean_ctor_set(x_3026, 1, x_3023); -return x_3026; -} -} -} -else -{ -lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; uint8_t x_3030; -x_3027 = lean_ctor_get(x_2962, 0); -x_3028 = lean_ctor_get(x_2962, 1); -lean_inc(x_3028); -lean_inc(x_3027); -lean_dec(x_2962); -x_3029 = lean_ctor_get(x_3027, 0); -lean_inc(x_3029); -lean_dec(x_3027); -lean_inc(x_3029); -x_3030 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3029, x_1); -if (x_3030 == 0) -{ -uint8_t x_3031; -x_3031 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3029, x_2); -if (x_3031 == 0) -{ -lean_object* x_3032; lean_object* x_3062; uint8_t x_3063; -x_3062 = lean_ctor_get(x_3, 0); -lean_inc(x_3062); -x_3063 = lean_ctor_get_uint8(x_3062, 4); -lean_dec(x_3062); -if (x_3063 == 0) -{ -uint8_t x_3064; lean_object* x_3065; lean_object* x_3066; -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_3064 = 0; -x_3065 = lean_box(x_3064); -x_3066 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3066, 0, x_3065); -lean_ctor_set(x_3066, 1, x_3028); -return x_3066; -} -else -{ -uint8_t x_3067; -x_3067 = l_Lean_Level_isMVar(x_1); -if (x_3067 == 0) -{ -uint8_t x_3068; -x_3068 = l_Lean_Level_isMVar(x_2); -if (x_3068 == 0) -{ -uint8_t x_3069; lean_object* x_3070; lean_object* x_3071; -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_3069 = 0; -x_3070 = lean_box(x_3069); -x_3071 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3071, 0, x_3070); -lean_ctor_set(x_3071, 1, x_3028); -return x_3071; -} -else -{ -lean_object* x_3072; -x_3072 = lean_box(0); -x_3032 = x_3072; -goto block_3061; -} -} -else -{ -lean_object* x_3073; -x_3073 = lean_box(0); -x_3032 = x_3073; -goto block_3061; -} -} -block_3061: -{ -uint8_t x_3033; lean_object* x_3034; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; uint8_t x_3052; -lean_dec(x_3032); -x_3049 = lean_st_ref_get(x_6, x_3028); -x_3050 = lean_ctor_get(x_3049, 0); -lean_inc(x_3050); -x_3051 = lean_ctor_get(x_3050, 3); -lean_inc(x_3051); -lean_dec(x_3050); -x_3052 = lean_ctor_get_uint8(x_3051, sizeof(void*)*1); -lean_dec(x_3051); -if (x_3052 == 0) -{ -lean_object* x_3053; uint8_t x_3054; -x_3053 = lean_ctor_get(x_3049, 1); -lean_inc(x_3053); -lean_dec(x_3049); -x_3054 = 0; -x_3033 = x_3054; -x_3034 = x_3053; -goto block_3048; -} -else -{ -lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; uint8_t x_3060; -x_3055 = lean_ctor_get(x_3049, 1); -lean_inc(x_3055); -lean_dec(x_3049); -x_3056 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3057 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3056, x_3, x_4, x_5, x_6, x_3055); -x_3058 = lean_ctor_get(x_3057, 0); -lean_inc(x_3058); -x_3059 = lean_ctor_get(x_3057, 1); -lean_inc(x_3059); -lean_dec(x_3057); -x_3060 = lean_unbox(x_3058); -lean_dec(x_3058); -x_3033 = x_3060; -x_3034 = x_3059; -goto block_3048; -} -block_3048: -{ -if (x_3033 == 0) -{ -lean_object* x_3035; -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_3035 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3034); -return x_3035; -} -else -{ -lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; -x_3036 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3036, 0, x_1); -x_3037 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3038 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3038, 0, x_3037); -lean_ctor_set(x_3038, 1, x_3036); -x_3039 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3040 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3040, 0, x_3038); -lean_ctor_set(x_3040, 1, x_3039); -x_3041 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3041, 0, x_2); -x_3042 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3042, 0, x_3040); -lean_ctor_set(x_3042, 1, x_3041); -x_3043 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3043, 0, x_3042); -lean_ctor_set(x_3043, 1, x_3037); -x_3044 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3045 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3044, x_3043, x_3, x_4, x_5, x_6, x_3034); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3046 = lean_ctor_get(x_3045, 1); -lean_inc(x_3046); -lean_dec(x_3045); -x_3047 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3046); -return x_3047; -} -} -} -} -else -{ -lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; uint8_t x_3077; lean_object* x_3078; lean_object* x_3079; -x_3074 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3028); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3075 = lean_ctor_get(x_3074, 1); -lean_inc(x_3075); -if (lean_is_exclusive(x_3074)) { - lean_ctor_release(x_3074, 0); - lean_ctor_release(x_3074, 1); - x_3076 = x_3074; -} else { - lean_dec_ref(x_3074); - x_3076 = lean_box(0); -} -x_3077 = 1; -x_3078 = lean_box(x_3077); -if (lean_is_scalar(x_3076)) { - x_3079 = lean_alloc_ctor(0, 2, 0); -} else { - x_3079 = x_3076; -} -lean_ctor_set(x_3079, 0, x_3078); -lean_ctor_set(x_3079, 1, x_3075); -return x_3079; -} -} -else -{ -lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; uint8_t x_3083; lean_object* x_3084; lean_object* x_3085; -lean_dec(x_3029); -x_3080 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3028); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3081 = lean_ctor_get(x_3080, 1); -lean_inc(x_3081); -if (lean_is_exclusive(x_3080)) { - lean_ctor_release(x_3080, 0); - lean_ctor_release(x_3080, 1); - x_3082 = x_3080; -} else { - lean_dec_ref(x_3080); - x_3082 = lean_box(0); -} -x_3083 = 1; -x_3084 = lean_box(x_3083); -if (lean_is_scalar(x_3082)) { - x_3085 = lean_alloc_ctor(0, 2, 0); -} else { - x_3085 = x_3082; -} -lean_ctor_set(x_3085, 0, x_3084); -lean_ctor_set(x_3085, 1, x_3081); -return x_3085; -} -} -} -} -else -{ -lean_object* x_3086; lean_object* x_3087; uint8_t x_3088; uint8_t x_3089; -x_3086 = lean_ctor_get(x_2950, 0); -x_3087 = lean_ctor_get(x_2950, 1); -lean_inc(x_3087); -lean_inc(x_3086); -lean_dec(x_2950); -x_3088 = lean_unbox(x_3086); -x_3089 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3088, x_2943); -if (x_3089 == 0) -{ -uint8_t x_3090; uint8_t x_3091; uint8_t x_3092; lean_object* x_3093; lean_object* x_3094; -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_3090 = 1; -x_3091 = lean_unbox(x_3086); -lean_dec(x_3086); -x_3092 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3091, x_3090); -x_3093 = lean_box(x_3092); -x_3094 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3094, 0, x_3093); -lean_ctor_set(x_3094, 1, x_3087); -return x_3094; -} -else -{ -lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; uint8_t x_3102; -lean_dec(x_3086); -x_3095 = lean_st_ref_get(x_6, x_3087); -x_3096 = lean_ctor_get(x_3095, 1); -lean_inc(x_3096); -lean_dec(x_3095); -x_3097 = lean_st_ref_get(x_4, x_3096); -x_3098 = lean_ctor_get(x_3097, 0); -lean_inc(x_3098); -x_3099 = lean_ctor_get(x_3097, 1); -lean_inc(x_3099); -if (lean_is_exclusive(x_3097)) { - lean_ctor_release(x_3097, 0); - lean_ctor_release(x_3097, 1); - x_3100 = x_3097; -} else { - lean_dec_ref(x_3097); - x_3100 = lean_box(0); -} -x_3101 = lean_ctor_get(x_3098, 0); -lean_inc(x_3101); -lean_dec(x_3098); -lean_inc(x_3101); -x_3102 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3101, x_1); -if (x_3102 == 0) -{ -uint8_t x_3103; -x_3103 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3101, x_2); -if (x_3103 == 0) -{ -lean_object* x_3104; lean_object* x_3134; uint8_t x_3135; -x_3134 = lean_ctor_get(x_3, 0); -lean_inc(x_3134); -x_3135 = lean_ctor_get_uint8(x_3134, 4); -lean_dec(x_3134); -if (x_3135 == 0) -{ -uint8_t x_3136; lean_object* x_3137; lean_object* x_3138; -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_3136 = 0; -x_3137 = lean_box(x_3136); -if (lean_is_scalar(x_3100)) { - x_3138 = lean_alloc_ctor(0, 2, 0); -} else { - x_3138 = x_3100; -} -lean_ctor_set(x_3138, 0, x_3137); -lean_ctor_set(x_3138, 1, x_3099); -return x_3138; -} -else -{ -uint8_t x_3139; -x_3139 = l_Lean_Level_isMVar(x_1); -if (x_3139 == 0) -{ -uint8_t x_3140; -x_3140 = l_Lean_Level_isMVar(x_2); -if (x_3140 == 0) -{ -uint8_t x_3141; lean_object* x_3142; lean_object* x_3143; -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_3141 = 0; -x_3142 = lean_box(x_3141); -if (lean_is_scalar(x_3100)) { - x_3143 = lean_alloc_ctor(0, 2, 0); -} else { - x_3143 = x_3100; -} -lean_ctor_set(x_3143, 0, x_3142); -lean_ctor_set(x_3143, 1, x_3099); -return x_3143; -} -else -{ -lean_object* x_3144; -lean_dec(x_3100); -x_3144 = lean_box(0); -x_3104 = x_3144; -goto block_3133; -} -} -else -{ -lean_object* x_3145; -lean_dec(x_3100); -x_3145 = lean_box(0); -x_3104 = x_3145; -goto block_3133; -} -} -block_3133: -{ -uint8_t x_3105; lean_object* x_3106; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; uint8_t x_3124; -lean_dec(x_3104); -x_3121 = lean_st_ref_get(x_6, x_3099); -x_3122 = lean_ctor_get(x_3121, 0); -lean_inc(x_3122); -x_3123 = lean_ctor_get(x_3122, 3); -lean_inc(x_3123); -lean_dec(x_3122); -x_3124 = lean_ctor_get_uint8(x_3123, sizeof(void*)*1); -lean_dec(x_3123); -if (x_3124 == 0) -{ -lean_object* x_3125; uint8_t x_3126; -x_3125 = lean_ctor_get(x_3121, 1); -lean_inc(x_3125); -lean_dec(x_3121); -x_3126 = 0; -x_3105 = x_3126; -x_3106 = x_3125; -goto block_3120; -} -else -{ -lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; lean_object* x_3130; lean_object* x_3131; uint8_t x_3132; -x_3127 = lean_ctor_get(x_3121, 1); -lean_inc(x_3127); -lean_dec(x_3121); -x_3128 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3129 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3128, x_3, x_4, x_5, x_6, x_3127); -x_3130 = lean_ctor_get(x_3129, 0); -lean_inc(x_3130); -x_3131 = lean_ctor_get(x_3129, 1); -lean_inc(x_3131); -lean_dec(x_3129); -x_3132 = lean_unbox(x_3130); -lean_dec(x_3130); -x_3105 = x_3132; -x_3106 = x_3131; -goto block_3120; -} -block_3120: -{ -if (x_3105 == 0) -{ -lean_object* x_3107; -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_3107 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3106); -return x_3107; -} -else -{ -lean_object* x_3108; lean_object* x_3109; lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; -x_3108 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3108, 0, x_1); -x_3109 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3110 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3110, 0, x_3109); -lean_ctor_set(x_3110, 1, x_3108); -x_3111 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3112 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3112, 0, x_3110); -lean_ctor_set(x_3112, 1, x_3111); -x_3113 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3113, 0, x_2); -x_3114 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3114, 0, x_3112); -lean_ctor_set(x_3114, 1, x_3113); -x_3115 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3115, 0, x_3114); -lean_ctor_set(x_3115, 1, x_3109); -x_3116 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3117 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3116, x_3115, x_3, x_4, x_5, x_6, x_3106); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3118 = lean_ctor_get(x_3117, 1); -lean_inc(x_3118); -lean_dec(x_3117); -x_3119 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3118); -return x_3119; -} -} -} -} -else -{ -lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; uint8_t x_3149; lean_object* x_3150; lean_object* x_3151; -lean_dec(x_3100); -x_3146 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3099); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3147 = lean_ctor_get(x_3146, 1); -lean_inc(x_3147); -if (lean_is_exclusive(x_3146)) { - lean_ctor_release(x_3146, 0); - lean_ctor_release(x_3146, 1); - x_3148 = x_3146; -} else { - lean_dec_ref(x_3146); - x_3148 = lean_box(0); -} -x_3149 = 1; -x_3150 = lean_box(x_3149); -if (lean_is_scalar(x_3148)) { - x_3151 = lean_alloc_ctor(0, 2, 0); -} else { - x_3151 = x_3148; -} -lean_ctor_set(x_3151, 0, x_3150); -lean_ctor_set(x_3151, 1, x_3147); -return x_3151; -} -} -else -{ -lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; uint8_t x_3155; lean_object* x_3156; lean_object* x_3157; -lean_dec(x_3101); -lean_dec(x_3100); -x_3152 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3099); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3153 = lean_ctor_get(x_3152, 1); -lean_inc(x_3153); -if (lean_is_exclusive(x_3152)) { - lean_ctor_release(x_3152, 0); - lean_ctor_release(x_3152, 1); - x_3154 = x_3152; -} else { - lean_dec_ref(x_3152); - x_3154 = lean_box(0); -} -x_3155 = 1; -x_3156 = lean_box(x_3155); -if (lean_is_scalar(x_3154)) { - x_3157 = lean_alloc_ctor(0, 2, 0); -} else { - x_3157 = x_3154; -} -lean_ctor_set(x_3157, 0, x_3156); -lean_ctor_set(x_3157, 1, x_3153); -return x_3157; -} -} -} -} -else -{ -uint8_t x_3158; -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_3158 = !lean_is_exclusive(x_2950); -if (x_3158 == 0) -{ -return x_2950; -} -else -{ -lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; -x_3159 = lean_ctor_get(x_2950, 0); -x_3160 = lean_ctor_get(x_2950, 1); -lean_inc(x_3160); -lean_inc(x_3159); -lean_dec(x_2950); -x_3161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3161, 0, x_3159); -lean_ctor_set(x_3161, 1, x_3160); -return x_3161; -} -} -} -} -else -{ -lean_object* x_3162; lean_object* x_3163; uint8_t x_3164; uint8_t x_3165; uint8_t x_3166; -x_3162 = lean_ctor_get(x_2939, 0); -x_3163 = lean_ctor_get(x_2939, 1); -lean_inc(x_3163); -lean_inc(x_3162); -lean_dec(x_2939); -x_3164 = 2; -x_3165 = lean_unbox(x_3162); -x_3166 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3165, x_3164); -if (x_3166 == 0) -{ -uint8_t x_3167; uint8_t x_3168; uint8_t x_3169; lean_object* x_3170; lean_object* x_3171; -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_3167 = 1; -x_3168 = lean_unbox(x_3162); -lean_dec(x_3162); -x_3169 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3168, x_3167); -x_3170 = lean_box(x_3169); -x_3171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3171, 0, x_3170); -lean_ctor_set(x_3171, 1, x_3163); -return x_3171; -} -else -{ -lean_object* x_3172; -lean_dec(x_3162); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_3172 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3163); -if (lean_obj_tag(x_3172) == 0) -{ -lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; uint8_t x_3176; uint8_t x_3177; -x_3173 = lean_ctor_get(x_3172, 0); -lean_inc(x_3173); -x_3174 = lean_ctor_get(x_3172, 1); -lean_inc(x_3174); -if (lean_is_exclusive(x_3172)) { - lean_ctor_release(x_3172, 0); - lean_ctor_release(x_3172, 1); - x_3175 = x_3172; -} else { - lean_dec_ref(x_3172); - x_3175 = lean_box(0); -} -x_3176 = lean_unbox(x_3173); -x_3177 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3176, x_3164); -if (x_3177 == 0) -{ -uint8_t x_3178; uint8_t x_3179; uint8_t x_3180; lean_object* x_3181; lean_object* x_3182; -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_3178 = 1; -x_3179 = lean_unbox(x_3173); -lean_dec(x_3173); -x_3180 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3179, x_3178); -x_3181 = lean_box(x_3180); -if (lean_is_scalar(x_3175)) { - x_3182 = lean_alloc_ctor(0, 2, 0); -} else { - x_3182 = x_3175; -} -lean_ctor_set(x_3182, 0, x_3181); -lean_ctor_set(x_3182, 1, x_3174); -return x_3182; -} -else -{ -lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; uint8_t x_3190; -lean_dec(x_3175); -lean_dec(x_3173); -x_3183 = lean_st_ref_get(x_6, x_3174); -x_3184 = lean_ctor_get(x_3183, 1); -lean_inc(x_3184); -lean_dec(x_3183); -x_3185 = lean_st_ref_get(x_4, x_3184); -x_3186 = lean_ctor_get(x_3185, 0); -lean_inc(x_3186); -x_3187 = lean_ctor_get(x_3185, 1); -lean_inc(x_3187); -if (lean_is_exclusive(x_3185)) { - lean_ctor_release(x_3185, 0); - lean_ctor_release(x_3185, 1); - x_3188 = x_3185; -} else { - lean_dec_ref(x_3185); - x_3188 = lean_box(0); -} -x_3189 = lean_ctor_get(x_3186, 0); -lean_inc(x_3189); -lean_dec(x_3186); -lean_inc(x_3189); -x_3190 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3189, x_1); -if (x_3190 == 0) -{ -uint8_t x_3191; -x_3191 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3189, x_2); -if (x_3191 == 0) -{ -lean_object* x_3192; lean_object* x_3222; uint8_t x_3223; -x_3222 = lean_ctor_get(x_3, 0); -lean_inc(x_3222); -x_3223 = lean_ctor_get_uint8(x_3222, 4); -lean_dec(x_3222); -if (x_3223 == 0) -{ -uint8_t x_3224; lean_object* x_3225; lean_object* x_3226; -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_3224 = 0; -x_3225 = lean_box(x_3224); -if (lean_is_scalar(x_3188)) { - x_3226 = lean_alloc_ctor(0, 2, 0); -} else { - x_3226 = x_3188; -} -lean_ctor_set(x_3226, 0, x_3225); -lean_ctor_set(x_3226, 1, x_3187); -return x_3226; -} -else -{ -uint8_t x_3227; -x_3227 = l_Lean_Level_isMVar(x_1); -if (x_3227 == 0) -{ -uint8_t x_3228; -x_3228 = l_Lean_Level_isMVar(x_2); -if (x_3228 == 0) -{ -uint8_t x_3229; lean_object* x_3230; lean_object* x_3231; -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_3229 = 0; -x_3230 = lean_box(x_3229); -if (lean_is_scalar(x_3188)) { - x_3231 = lean_alloc_ctor(0, 2, 0); -} else { - x_3231 = x_3188; -} -lean_ctor_set(x_3231, 0, x_3230); -lean_ctor_set(x_3231, 1, x_3187); -return x_3231; -} -else -{ -lean_object* x_3232; -lean_dec(x_3188); -x_3232 = lean_box(0); -x_3192 = x_3232; -goto block_3221; -} -} -else -{ -lean_object* x_3233; -lean_dec(x_3188); -x_3233 = lean_box(0); -x_3192 = x_3233; -goto block_3221; -} -} -block_3221: -{ -uint8_t x_3193; lean_object* x_3194; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; uint8_t x_3212; -lean_dec(x_3192); -x_3209 = lean_st_ref_get(x_6, x_3187); -x_3210 = lean_ctor_get(x_3209, 0); -lean_inc(x_3210); -x_3211 = lean_ctor_get(x_3210, 3); -lean_inc(x_3211); -lean_dec(x_3210); -x_3212 = lean_ctor_get_uint8(x_3211, sizeof(void*)*1); -lean_dec(x_3211); -if (x_3212 == 0) -{ -lean_object* x_3213; uint8_t x_3214; -x_3213 = lean_ctor_get(x_3209, 1); -lean_inc(x_3213); -lean_dec(x_3209); -x_3214 = 0; -x_3193 = x_3214; -x_3194 = x_3213; -goto block_3208; -} -else -{ -lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; uint8_t x_3220; -x_3215 = lean_ctor_get(x_3209, 1); -lean_inc(x_3215); -lean_dec(x_3209); -x_3216 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3217 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3216, x_3, x_4, x_5, x_6, x_3215); -x_3218 = lean_ctor_get(x_3217, 0); -lean_inc(x_3218); -x_3219 = lean_ctor_get(x_3217, 1); -lean_inc(x_3219); -lean_dec(x_3217); -x_3220 = lean_unbox(x_3218); -lean_dec(x_3218); -x_3193 = x_3220; -x_3194 = x_3219; -goto block_3208; -} -block_3208: -{ -if (x_3193 == 0) -{ -lean_object* x_3195; -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_3195 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3194); -return x_3195; -} -else -{ -lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; -x_3196 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3196, 0, x_1); -x_3197 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3198 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3198, 0, x_3197); -lean_ctor_set(x_3198, 1, x_3196); -x_3199 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3200 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3200, 0, x_3198); -lean_ctor_set(x_3200, 1, x_3199); -x_3201 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3201, 0, x_2); -x_3202 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3202, 0, x_3200); -lean_ctor_set(x_3202, 1, x_3201); -x_3203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3203, 0, x_3202); -lean_ctor_set(x_3203, 1, x_3197); -x_3204 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3205 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3204, x_3203, x_3, x_4, x_5, x_6, x_3194); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3206 = lean_ctor_get(x_3205, 1); -lean_inc(x_3206); -lean_dec(x_3205); -x_3207 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3206); -return x_3207; -} -} -} -} -else -{ -lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; uint8_t x_3237; lean_object* x_3238; lean_object* x_3239; -lean_dec(x_3188); -x_3234 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3187); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3235 = lean_ctor_get(x_3234, 1); -lean_inc(x_3235); -if (lean_is_exclusive(x_3234)) { - lean_ctor_release(x_3234, 0); - lean_ctor_release(x_3234, 1); - x_3236 = x_3234; -} else { - lean_dec_ref(x_3234); - x_3236 = lean_box(0); -} -x_3237 = 1; -x_3238 = lean_box(x_3237); -if (lean_is_scalar(x_3236)) { - x_3239 = lean_alloc_ctor(0, 2, 0); -} else { - x_3239 = x_3236; -} -lean_ctor_set(x_3239, 0, x_3238); -lean_ctor_set(x_3239, 1, x_3235); -return x_3239; -} -} -else -{ -lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; uint8_t x_3243; lean_object* x_3244; lean_object* x_3245; -lean_dec(x_3189); -lean_dec(x_3188); -x_3240 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3187); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3241 = lean_ctor_get(x_3240, 1); -lean_inc(x_3241); -if (lean_is_exclusive(x_3240)) { - lean_ctor_release(x_3240, 0); - lean_ctor_release(x_3240, 1); - x_3242 = x_3240; -} else { - lean_dec_ref(x_3240); - x_3242 = lean_box(0); -} -x_3243 = 1; -x_3244 = lean_box(x_3243); -if (lean_is_scalar(x_3242)) { - x_3245 = lean_alloc_ctor(0, 2, 0); -} else { - x_3245 = x_3242; -} -lean_ctor_set(x_3245, 0, x_3244); -lean_ctor_set(x_3245, 1, x_3241); -return x_3245; -} -} -} -else -{ -lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; -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_3246 = lean_ctor_get(x_3172, 0); -lean_inc(x_3246); -x_3247 = lean_ctor_get(x_3172, 1); -lean_inc(x_3247); -if (lean_is_exclusive(x_3172)) { - lean_ctor_release(x_3172, 0); - lean_ctor_release(x_3172, 1); - x_3248 = x_3172; -} else { - lean_dec_ref(x_3172); - x_3248 = lean_box(0); -} -if (lean_is_scalar(x_3248)) { - x_3249 = lean_alloc_ctor(1, 2, 0); -} else { - x_3249 = x_3248; -} -lean_ctor_set(x_3249, 0, x_3246); -lean_ctor_set(x_3249, 1, x_3247); -return x_3249; -} -} -} -} -else -{ -uint8_t x_3250; -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_3250 = !lean_is_exclusive(x_2939); -if (x_3250 == 0) -{ -return x_2939; -} -else -{ -lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; -x_3251 = lean_ctor_get(x_2939, 0); -x_3252 = lean_ctor_get(x_2939, 1); -lean_inc(x_3252); -lean_inc(x_3251); -lean_dec(x_2939); -x_3253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3253, 0, x_3251); -lean_ctor_set(x_3253, 1, x_3252); -return x_3253; -} -} -} -} -} -block_3268: -{ -if (x_3255 == 0) -{ -x_2926 = x_3256; -goto block_3254; -} -else -{ -lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; -lean_inc(x_1); -x_3257 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3257, 0, x_1); -x_3258 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3259 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3259, 0, x_3258); -lean_ctor_set(x_3259, 1, x_3257); -x_3260 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3261 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3261, 0, x_3259); -lean_ctor_set(x_3261, 1, x_3260); -lean_inc(x_2); -x_3262 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3262, 0, x_2); -x_3263 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3263, 0, x_3261); -lean_ctor_set(x_3263, 1, x_3262); -x_3264 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3264, 0, x_3263); -lean_ctor_set(x_3264, 1, x_3258); -x_3265 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_3266 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3265, x_3264, x_3, x_4, x_5, x_6, x_3256); -x_3267 = lean_ctor_get(x_3266, 1); -lean_inc(x_3267); -lean_dec(x_3266); -x_2926 = x_3267; -goto block_3254; -} -} -} -else -{ -lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; uint8_t x_3284; lean_object* x_3285; lean_object* x_3286; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3281 = lean_unsigned_to_nat(0u); -x_3282 = l_Lean_Level_getOffsetAux(x_1, x_3281); -lean_dec(x_1); -x_3283 = l_Lean_Level_getOffsetAux(x_2, x_3281); -lean_dec(x_2); -x_3284 = lean_nat_dec_eq(x_3282, x_3283); -lean_dec(x_3283); -lean_dec(x_3282); -x_3285 = lean_box(x_3284); -x_3286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3286, 0, x_3285); -lean_ctor_set(x_3286, 1, x_7); -return x_3286; -} -} -default: -{ -lean_object* x_3287; lean_object* x_3288; uint8_t x_3289; -x_3287 = l_Lean_Level_getLevelOffset(x_1); -x_3288 = l_Lean_Level_getLevelOffset(x_2); -x_3289 = lean_level_eq(x_3287, x_3288); -lean_dec(x_3288); -lean_dec(x_3287); -if (x_3289 == 0) -{ -lean_object* x_3290; uint8_t x_3619; lean_object* x_3620; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; uint8_t x_3636; -x_3633 = lean_st_ref_get(x_6, x_7); -x_3634 = lean_ctor_get(x_3633, 0); -lean_inc(x_3634); -x_3635 = lean_ctor_get(x_3634, 3); -lean_inc(x_3635); -lean_dec(x_3634); -x_3636 = lean_ctor_get_uint8(x_3635, sizeof(void*)*1); -lean_dec(x_3635); -if (x_3636 == 0) -{ -lean_object* x_3637; uint8_t x_3638; -x_3637 = lean_ctor_get(x_3633, 1); -lean_inc(x_3637); -lean_dec(x_3633); -x_3638 = 0; -x_3619 = x_3638; -x_3620 = x_3637; -goto block_3632; -} -else -{ -lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; lean_object* x_3642; lean_object* x_3643; uint8_t x_3644; -x_3639 = lean_ctor_get(x_3633, 1); -lean_inc(x_3639); -lean_dec(x_3633); -x_3640 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_3641 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3640, x_3, x_4, x_5, x_6, x_3639); -x_3642 = lean_ctor_get(x_3641, 0); -lean_inc(x_3642); -x_3643 = lean_ctor_get(x_3641, 1); -lean_inc(x_3643); -lean_dec(x_3641); -x_3644 = lean_unbox(x_3642); -lean_dec(x_3642); -x_3619 = x_3644; -x_3620 = x_3643; -goto block_3632; -} -block_3618: -{ -lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; uint8_t x_3299; -lean_inc(x_1); -x_3291 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_3290); -x_3292 = lean_ctor_get(x_3291, 0); -lean_inc(x_3292); -x_3293 = lean_ctor_get(x_3291, 1); -lean_inc(x_3293); -lean_dec(x_3291); -x_3294 = l_Lean_Level_normalize(x_3292); -lean_dec(x_3292); -lean_inc(x_2); -x_3295 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_3293); -x_3296 = lean_ctor_get(x_3295, 0); -lean_inc(x_3296); -x_3297 = lean_ctor_get(x_3295, 1); -lean_inc(x_3297); -lean_dec(x_3295); -x_3298 = l_Lean_Level_normalize(x_3296); -lean_dec(x_3296); -x_3299 = lean_level_eq(x_1, x_3294); -if (x_3299 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_3294; -x_2 = x_3298; -x_7 = x_3297; -goto _start; -} -else -{ -uint8_t x_3301; -x_3301 = lean_level_eq(x_2, x_3298); -if (x_3301 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_3294; -x_2 = x_3298; -x_7 = x_3297; -goto _start; -} -else -{ -lean_object* x_3303; -lean_dec(x_3298); -lean_dec(x_3294); -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_3303 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_3297); -if (lean_obj_tag(x_3303) == 0) -{ -uint8_t x_3304; -x_3304 = !lean_is_exclusive(x_3303); -if (x_3304 == 0) -{ -lean_object* x_3305; lean_object* x_3306; uint8_t x_3307; uint8_t x_3308; uint8_t x_3309; -x_3305 = lean_ctor_get(x_3303, 0); -x_3306 = lean_ctor_get(x_3303, 1); -x_3307 = 2; -x_3308 = lean_unbox(x_3305); -x_3309 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3308, x_3307); -if (x_3309 == 0) -{ -uint8_t x_3310; uint8_t x_3311; uint8_t x_3312; lean_object* x_3313; -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_3310 = 1; -x_3311 = lean_unbox(x_3305); -lean_dec(x_3305); -x_3312 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3311, x_3310); -x_3313 = lean_box(x_3312); -lean_ctor_set(x_3303, 0, x_3313); -return x_3303; -} -else -{ -lean_object* x_3314; -lean_free_object(x_3303); -lean_dec(x_3305); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_3314 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3306); -if (lean_obj_tag(x_3314) == 0) -{ -uint8_t x_3315; -x_3315 = !lean_is_exclusive(x_3314); -if (x_3315 == 0) -{ -lean_object* x_3316; lean_object* x_3317; uint8_t x_3318; uint8_t x_3319; -x_3316 = lean_ctor_get(x_3314, 0); -x_3317 = lean_ctor_get(x_3314, 1); -x_3318 = lean_unbox(x_3316); -x_3319 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3318, x_3307); -if (x_3319 == 0) -{ -uint8_t x_3320; uint8_t x_3321; uint8_t x_3322; lean_object* x_3323; -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_3320 = 1; -x_3321 = lean_unbox(x_3316); -lean_dec(x_3316); -x_3322 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3321, x_3320); -x_3323 = lean_box(x_3322); -lean_ctor_set(x_3314, 0, x_3323); -return x_3314; -} -else -{ -lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; uint8_t x_3327; -lean_free_object(x_3314); -lean_dec(x_3316); -x_3324 = lean_st_ref_get(x_6, x_3317); -x_3325 = lean_ctor_get(x_3324, 1); -lean_inc(x_3325); -lean_dec(x_3324); -x_3326 = lean_st_ref_get(x_4, x_3325); -x_3327 = !lean_is_exclusive(x_3326); -if (x_3327 == 0) -{ -lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; uint8_t x_3331; -x_3328 = lean_ctor_get(x_3326, 0); -x_3329 = lean_ctor_get(x_3326, 1); -x_3330 = lean_ctor_get(x_3328, 0); -lean_inc(x_3330); -lean_dec(x_3328); -lean_inc(x_3330); -x_3331 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3330, x_1); -if (x_3331 == 0) -{ -uint8_t x_3332; -x_3332 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3330, x_2); -if (x_3332 == 0) -{ -lean_object* x_3333; lean_object* x_3363; uint8_t x_3364; -x_3363 = lean_ctor_get(x_3, 0); -lean_inc(x_3363); -x_3364 = lean_ctor_get_uint8(x_3363, 4); -lean_dec(x_3363); -if (x_3364 == 0) -{ -uint8_t x_3365; lean_object* x_3366; -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_3365 = 0; -x_3366 = lean_box(x_3365); -lean_ctor_set(x_3326, 0, x_3366); -return x_3326; -} -else -{ -uint8_t x_3367; -x_3367 = l_Lean_Level_isMVar(x_1); -if (x_3367 == 0) -{ -uint8_t x_3368; -x_3368 = l_Lean_Level_isMVar(x_2); -if (x_3368 == 0) -{ -uint8_t x_3369; lean_object* x_3370; -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_3369 = 0; -x_3370 = lean_box(x_3369); -lean_ctor_set(x_3326, 0, x_3370); -return x_3326; -} -else -{ -lean_object* x_3371; -lean_free_object(x_3326); -x_3371 = lean_box(0); -x_3333 = x_3371; -goto block_3362; -} -} -else -{ -lean_object* x_3372; -lean_free_object(x_3326); -x_3372 = lean_box(0); -x_3333 = x_3372; -goto block_3362; -} -} -block_3362: -{ -uint8_t x_3334; lean_object* x_3335; lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; uint8_t x_3353; -lean_dec(x_3333); -x_3350 = lean_st_ref_get(x_6, x_3329); -x_3351 = lean_ctor_get(x_3350, 0); -lean_inc(x_3351); -x_3352 = lean_ctor_get(x_3351, 3); -lean_inc(x_3352); -lean_dec(x_3351); -x_3353 = lean_ctor_get_uint8(x_3352, sizeof(void*)*1); -lean_dec(x_3352); -if (x_3353 == 0) -{ -lean_object* x_3354; uint8_t x_3355; -x_3354 = lean_ctor_get(x_3350, 1); -lean_inc(x_3354); -lean_dec(x_3350); -x_3355 = 0; -x_3334 = x_3355; -x_3335 = x_3354; -goto block_3349; -} -else -{ -lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; uint8_t x_3361; -x_3356 = lean_ctor_get(x_3350, 1); -lean_inc(x_3356); -lean_dec(x_3350); -x_3357 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3358 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3357, x_3, x_4, x_5, x_6, x_3356); -x_3359 = lean_ctor_get(x_3358, 0); -lean_inc(x_3359); -x_3360 = lean_ctor_get(x_3358, 1); -lean_inc(x_3360); -lean_dec(x_3358); -x_3361 = lean_unbox(x_3359); -lean_dec(x_3359); -x_3334 = x_3361; -x_3335 = x_3360; -goto block_3349; -} -block_3349: -{ -if (x_3334 == 0) -{ -lean_object* x_3336; -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_3336 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3335); -return x_3336; -} -else -{ -lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; -x_3337 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3337, 0, x_1); -x_3338 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3339 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3339, 0, x_3338); -lean_ctor_set(x_3339, 1, x_3337); -x_3340 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3341 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3341, 0, x_3339); -lean_ctor_set(x_3341, 1, x_3340); -x_3342 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3342, 0, x_2); -x_3343 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3343, 0, x_3341); -lean_ctor_set(x_3343, 1, x_3342); -x_3344 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3344, 0, x_3343); -lean_ctor_set(x_3344, 1, x_3338); -x_3345 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3346 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3345, x_3344, x_3, x_4, x_5, x_6, x_3335); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3347 = lean_ctor_get(x_3346, 1); -lean_inc(x_3347); -lean_dec(x_3346); -x_3348 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3347); -return x_3348; -} -} -} -} -else -{ -lean_object* x_3373; uint8_t x_3374; -lean_free_object(x_3326); -x_3373 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3329); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3374 = !lean_is_exclusive(x_3373); -if (x_3374 == 0) -{ -lean_object* x_3375; uint8_t x_3376; lean_object* x_3377; -x_3375 = lean_ctor_get(x_3373, 0); -lean_dec(x_3375); -x_3376 = 1; -x_3377 = lean_box(x_3376); -lean_ctor_set(x_3373, 0, x_3377); -return x_3373; -} -else -{ -lean_object* x_3378; uint8_t x_3379; lean_object* x_3380; lean_object* x_3381; -x_3378 = lean_ctor_get(x_3373, 1); -lean_inc(x_3378); -lean_dec(x_3373); -x_3379 = 1; -x_3380 = lean_box(x_3379); -x_3381 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3381, 0, x_3380); -lean_ctor_set(x_3381, 1, x_3378); -return x_3381; -} -} -} -else -{ -lean_object* x_3382; uint8_t x_3383; -lean_dec(x_3330); -lean_free_object(x_3326); -x_3382 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3329); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3383 = !lean_is_exclusive(x_3382); -if (x_3383 == 0) -{ -lean_object* x_3384; uint8_t x_3385; lean_object* x_3386; -x_3384 = lean_ctor_get(x_3382, 0); -lean_dec(x_3384); -x_3385 = 1; -x_3386 = lean_box(x_3385); -lean_ctor_set(x_3382, 0, x_3386); -return x_3382; -} -else -{ -lean_object* x_3387; uint8_t x_3388; lean_object* x_3389; lean_object* x_3390; -x_3387 = lean_ctor_get(x_3382, 1); -lean_inc(x_3387); -lean_dec(x_3382); -x_3388 = 1; -x_3389 = lean_box(x_3388); -x_3390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3390, 0, x_3389); -lean_ctor_set(x_3390, 1, x_3387); -return x_3390; -} -} -} -else -{ -lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; uint8_t x_3394; -x_3391 = lean_ctor_get(x_3326, 0); -x_3392 = lean_ctor_get(x_3326, 1); -lean_inc(x_3392); -lean_inc(x_3391); -lean_dec(x_3326); -x_3393 = lean_ctor_get(x_3391, 0); -lean_inc(x_3393); -lean_dec(x_3391); -lean_inc(x_3393); -x_3394 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3393, x_1); -if (x_3394 == 0) -{ -uint8_t x_3395; -x_3395 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3393, x_2); -if (x_3395 == 0) -{ -lean_object* x_3396; lean_object* x_3426; uint8_t x_3427; -x_3426 = lean_ctor_get(x_3, 0); -lean_inc(x_3426); -x_3427 = lean_ctor_get_uint8(x_3426, 4); -lean_dec(x_3426); -if (x_3427 == 0) -{ -uint8_t x_3428; lean_object* x_3429; lean_object* x_3430; -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_3428 = 0; -x_3429 = lean_box(x_3428); -x_3430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3430, 0, x_3429); -lean_ctor_set(x_3430, 1, x_3392); -return x_3430; -} -else -{ -uint8_t x_3431; -x_3431 = l_Lean_Level_isMVar(x_1); -if (x_3431 == 0) -{ -uint8_t x_3432; -x_3432 = l_Lean_Level_isMVar(x_2); -if (x_3432 == 0) -{ -uint8_t x_3433; lean_object* x_3434; lean_object* x_3435; -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_3433 = 0; -x_3434 = lean_box(x_3433); -x_3435 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3435, 0, x_3434); -lean_ctor_set(x_3435, 1, x_3392); -return x_3435; -} -else -{ -lean_object* x_3436; -x_3436 = lean_box(0); -x_3396 = x_3436; -goto block_3425; -} -} -else -{ -lean_object* x_3437; -x_3437 = lean_box(0); -x_3396 = x_3437; -goto block_3425; -} -} -block_3425: -{ -uint8_t x_3397; lean_object* x_3398; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; uint8_t x_3416; -lean_dec(x_3396); -x_3413 = lean_st_ref_get(x_6, x_3392); -x_3414 = lean_ctor_get(x_3413, 0); -lean_inc(x_3414); -x_3415 = lean_ctor_get(x_3414, 3); -lean_inc(x_3415); -lean_dec(x_3414); -x_3416 = lean_ctor_get_uint8(x_3415, sizeof(void*)*1); -lean_dec(x_3415); -if (x_3416 == 0) -{ -lean_object* x_3417; uint8_t x_3418; -x_3417 = lean_ctor_get(x_3413, 1); -lean_inc(x_3417); -lean_dec(x_3413); -x_3418 = 0; -x_3397 = x_3418; -x_3398 = x_3417; -goto block_3412; -} -else -{ -lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; uint8_t x_3424; -x_3419 = lean_ctor_get(x_3413, 1); -lean_inc(x_3419); -lean_dec(x_3413); -x_3420 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3421 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3420, x_3, x_4, x_5, x_6, x_3419); -x_3422 = lean_ctor_get(x_3421, 0); -lean_inc(x_3422); -x_3423 = lean_ctor_get(x_3421, 1); -lean_inc(x_3423); -lean_dec(x_3421); -x_3424 = lean_unbox(x_3422); -lean_dec(x_3422); -x_3397 = x_3424; -x_3398 = x_3423; -goto block_3412; -} -block_3412: -{ -if (x_3397 == 0) -{ -lean_object* x_3399; -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_3399 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3398); -return x_3399; -} -else -{ -lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; -x_3400 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3400, 0, x_1); -x_3401 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3402 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3402, 0, x_3401); -lean_ctor_set(x_3402, 1, x_3400); -x_3403 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3404 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3404, 0, x_3402); -lean_ctor_set(x_3404, 1, x_3403); -x_3405 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3405, 0, x_2); -x_3406 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3406, 0, x_3404); -lean_ctor_set(x_3406, 1, x_3405); -x_3407 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3407, 0, x_3406); -lean_ctor_set(x_3407, 1, x_3401); -x_3408 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3409 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3408, x_3407, x_3, x_4, x_5, x_6, x_3398); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3410 = lean_ctor_get(x_3409, 1); -lean_inc(x_3410); -lean_dec(x_3409); -x_3411 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3410); -return x_3411; -} -} -} -} -else -{ -lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; uint8_t x_3441; lean_object* x_3442; lean_object* x_3443; -x_3438 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3392); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3439 = lean_ctor_get(x_3438, 1); -lean_inc(x_3439); -if (lean_is_exclusive(x_3438)) { - lean_ctor_release(x_3438, 0); - lean_ctor_release(x_3438, 1); - x_3440 = x_3438; -} else { - lean_dec_ref(x_3438); - x_3440 = lean_box(0); -} -x_3441 = 1; -x_3442 = lean_box(x_3441); -if (lean_is_scalar(x_3440)) { - x_3443 = lean_alloc_ctor(0, 2, 0); -} else { - x_3443 = x_3440; -} -lean_ctor_set(x_3443, 0, x_3442); -lean_ctor_set(x_3443, 1, x_3439); -return x_3443; -} -} -else -{ -lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; uint8_t x_3447; lean_object* x_3448; lean_object* x_3449; -lean_dec(x_3393); -x_3444 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3392); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3445 = lean_ctor_get(x_3444, 1); -lean_inc(x_3445); -if (lean_is_exclusive(x_3444)) { - lean_ctor_release(x_3444, 0); - lean_ctor_release(x_3444, 1); - x_3446 = x_3444; -} else { - lean_dec_ref(x_3444); - x_3446 = lean_box(0); -} -x_3447 = 1; -x_3448 = lean_box(x_3447); -if (lean_is_scalar(x_3446)) { - x_3449 = lean_alloc_ctor(0, 2, 0); -} else { - x_3449 = x_3446; -} -lean_ctor_set(x_3449, 0, x_3448); -lean_ctor_set(x_3449, 1, x_3445); -return x_3449; -} -} -} -} -else -{ -lean_object* x_3450; lean_object* x_3451; uint8_t x_3452; uint8_t x_3453; -x_3450 = lean_ctor_get(x_3314, 0); -x_3451 = lean_ctor_get(x_3314, 1); -lean_inc(x_3451); -lean_inc(x_3450); -lean_dec(x_3314); -x_3452 = lean_unbox(x_3450); -x_3453 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3452, x_3307); -if (x_3453 == 0) -{ -uint8_t x_3454; uint8_t x_3455; uint8_t x_3456; lean_object* x_3457; lean_object* x_3458; -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_3454 = 1; -x_3455 = lean_unbox(x_3450); -lean_dec(x_3450); -x_3456 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3455, x_3454); -x_3457 = lean_box(x_3456); -x_3458 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3458, 0, x_3457); -lean_ctor_set(x_3458, 1, x_3451); -return x_3458; -} -else -{ -lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; uint8_t x_3466; -lean_dec(x_3450); -x_3459 = lean_st_ref_get(x_6, x_3451); -x_3460 = lean_ctor_get(x_3459, 1); -lean_inc(x_3460); -lean_dec(x_3459); -x_3461 = lean_st_ref_get(x_4, x_3460); -x_3462 = lean_ctor_get(x_3461, 0); -lean_inc(x_3462); -x_3463 = lean_ctor_get(x_3461, 1); -lean_inc(x_3463); -if (lean_is_exclusive(x_3461)) { - lean_ctor_release(x_3461, 0); - lean_ctor_release(x_3461, 1); - x_3464 = x_3461; -} else { - lean_dec_ref(x_3461); - x_3464 = lean_box(0); -} -x_3465 = lean_ctor_get(x_3462, 0); -lean_inc(x_3465); -lean_dec(x_3462); -lean_inc(x_3465); -x_3466 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3465, x_1); -if (x_3466 == 0) -{ -uint8_t x_3467; -x_3467 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3465, x_2); -if (x_3467 == 0) -{ -lean_object* x_3468; lean_object* x_3498; uint8_t x_3499; -x_3498 = lean_ctor_get(x_3, 0); -lean_inc(x_3498); -x_3499 = lean_ctor_get_uint8(x_3498, 4); -lean_dec(x_3498); -if (x_3499 == 0) -{ -uint8_t x_3500; lean_object* x_3501; lean_object* x_3502; -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_3500 = 0; -x_3501 = lean_box(x_3500); -if (lean_is_scalar(x_3464)) { - x_3502 = lean_alloc_ctor(0, 2, 0); -} else { - x_3502 = x_3464; -} -lean_ctor_set(x_3502, 0, x_3501); -lean_ctor_set(x_3502, 1, x_3463); -return x_3502; -} -else -{ -uint8_t x_3503; -x_3503 = l_Lean_Level_isMVar(x_1); -if (x_3503 == 0) -{ -uint8_t x_3504; -x_3504 = l_Lean_Level_isMVar(x_2); -if (x_3504 == 0) -{ -uint8_t x_3505; lean_object* x_3506; lean_object* x_3507; -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_3505 = 0; -x_3506 = lean_box(x_3505); -if (lean_is_scalar(x_3464)) { - x_3507 = lean_alloc_ctor(0, 2, 0); -} else { - x_3507 = x_3464; -} -lean_ctor_set(x_3507, 0, x_3506); -lean_ctor_set(x_3507, 1, x_3463); -return x_3507; -} -else -{ -lean_object* x_3508; -lean_dec(x_3464); -x_3508 = lean_box(0); -x_3468 = x_3508; -goto block_3497; -} -} -else -{ -lean_object* x_3509; -lean_dec(x_3464); -x_3509 = lean_box(0); -x_3468 = x_3509; -goto block_3497; -} -} -block_3497: -{ -uint8_t x_3469; lean_object* x_3470; lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; uint8_t x_3488; -lean_dec(x_3468); -x_3485 = lean_st_ref_get(x_6, x_3463); -x_3486 = lean_ctor_get(x_3485, 0); -lean_inc(x_3486); -x_3487 = lean_ctor_get(x_3486, 3); -lean_inc(x_3487); -lean_dec(x_3486); -x_3488 = lean_ctor_get_uint8(x_3487, sizeof(void*)*1); -lean_dec(x_3487); -if (x_3488 == 0) -{ -lean_object* x_3489; uint8_t x_3490; -x_3489 = lean_ctor_get(x_3485, 1); -lean_inc(x_3489); -lean_dec(x_3485); -x_3490 = 0; -x_3469 = x_3490; -x_3470 = x_3489; -goto block_3484; -} -else -{ -lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; uint8_t x_3496; -x_3491 = lean_ctor_get(x_3485, 1); -lean_inc(x_3491); -lean_dec(x_3485); -x_3492 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3493 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3492, x_3, x_4, x_5, x_6, x_3491); -x_3494 = lean_ctor_get(x_3493, 0); -lean_inc(x_3494); -x_3495 = lean_ctor_get(x_3493, 1); -lean_inc(x_3495); -lean_dec(x_3493); -x_3496 = lean_unbox(x_3494); -lean_dec(x_3494); -x_3469 = x_3496; -x_3470 = x_3495; -goto block_3484; -} -block_3484: -{ -if (x_3469 == 0) -{ -lean_object* x_3471; -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_3471 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3470); -return x_3471; -} -else -{ -lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; -x_3472 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3472, 0, x_1); -x_3473 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3474 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3474, 0, x_3473); -lean_ctor_set(x_3474, 1, x_3472); -x_3475 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3476 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3476, 0, x_3474); -lean_ctor_set(x_3476, 1, x_3475); -x_3477 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3477, 0, x_2); -x_3478 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3478, 0, x_3476); -lean_ctor_set(x_3478, 1, x_3477); -x_3479 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3479, 0, x_3478); -lean_ctor_set(x_3479, 1, x_3473); -x_3480 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3481 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3480, x_3479, x_3, x_4, x_5, x_6, x_3470); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3482 = lean_ctor_get(x_3481, 1); -lean_inc(x_3482); -lean_dec(x_3481); -x_3483 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3482); -return x_3483; -} -} -} -} -else -{ -lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; uint8_t x_3513; lean_object* x_3514; lean_object* x_3515; -lean_dec(x_3464); -x_3510 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3463); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3511 = lean_ctor_get(x_3510, 1); -lean_inc(x_3511); -if (lean_is_exclusive(x_3510)) { - lean_ctor_release(x_3510, 0); - lean_ctor_release(x_3510, 1); - x_3512 = x_3510; -} else { - lean_dec_ref(x_3510); - x_3512 = lean_box(0); -} -x_3513 = 1; -x_3514 = lean_box(x_3513); -if (lean_is_scalar(x_3512)) { - x_3515 = lean_alloc_ctor(0, 2, 0); -} else { - x_3515 = x_3512; -} -lean_ctor_set(x_3515, 0, x_3514); -lean_ctor_set(x_3515, 1, x_3511); -return x_3515; -} -} -else -{ -lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; uint8_t x_3519; lean_object* x_3520; lean_object* x_3521; -lean_dec(x_3465); -lean_dec(x_3464); -x_3516 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3463); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3517 = lean_ctor_get(x_3516, 1); -lean_inc(x_3517); -if (lean_is_exclusive(x_3516)) { - lean_ctor_release(x_3516, 0); - lean_ctor_release(x_3516, 1); - x_3518 = x_3516; -} else { - lean_dec_ref(x_3516); - x_3518 = lean_box(0); -} -x_3519 = 1; -x_3520 = lean_box(x_3519); -if (lean_is_scalar(x_3518)) { - x_3521 = lean_alloc_ctor(0, 2, 0); -} else { - x_3521 = x_3518; -} -lean_ctor_set(x_3521, 0, x_3520); -lean_ctor_set(x_3521, 1, x_3517); -return x_3521; -} -} -} -} -else -{ -uint8_t x_3522; -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_3522 = !lean_is_exclusive(x_3314); -if (x_3522 == 0) -{ -return x_3314; -} -else -{ -lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; -x_3523 = lean_ctor_get(x_3314, 0); -x_3524 = lean_ctor_get(x_3314, 1); -lean_inc(x_3524); -lean_inc(x_3523); -lean_dec(x_3314); -x_3525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3525, 0, x_3523); -lean_ctor_set(x_3525, 1, x_3524); -return x_3525; -} -} -} +x_391 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_392 = l_Lean_Meta_isLevelDefEqAux___lambda__2(x_1, x_2, x_391, x_389, x_3, x_4, x_5, x_6, x_390); +lean_dec(x_389); +return x_392; } -else -{ -lean_object* x_3526; lean_object* x_3527; uint8_t x_3528; uint8_t x_3529; uint8_t x_3530; -x_3526 = lean_ctor_get(x_3303, 0); -x_3527 = lean_ctor_get(x_3303, 1); -lean_inc(x_3527); -lean_inc(x_3526); -lean_dec(x_3303); -x_3528 = 2; -x_3529 = lean_unbox(x_3526); -x_3530 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3529, x_3528); -if (x_3530 == 0) -{ -uint8_t x_3531; uint8_t x_3532; uint8_t x_3533; lean_object* x_3534; lean_object* x_3535; -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_3531 = 1; -x_3532 = lean_unbox(x_3526); -lean_dec(x_3526); -x_3533 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3532, x_3531); -x_3534 = lean_box(x_3533); -x_3535 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3535, 0, x_3534); -lean_ctor_set(x_3535, 1, x_3527); -return x_3535; -} -else -{ -lean_object* x_3536; -lean_dec(x_3526); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_3536 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3527); -if (lean_obj_tag(x_3536) == 0) -{ -lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; uint8_t x_3540; uint8_t x_3541; -x_3537 = lean_ctor_get(x_3536, 0); -lean_inc(x_3537); -x_3538 = lean_ctor_get(x_3536, 1); -lean_inc(x_3538); -if (lean_is_exclusive(x_3536)) { - lean_ctor_release(x_3536, 0); - lean_ctor_release(x_3536, 1); - x_3539 = x_3536; -} else { - lean_dec_ref(x_3536); - x_3539 = lean_box(0); -} -x_3540 = lean_unbox(x_3537); -x_3541 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3540, x_3528); -if (x_3541 == 0) -{ -uint8_t x_3542; uint8_t x_3543; uint8_t x_3544; lean_object* x_3545; lean_object* x_3546; -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_3542 = 1; -x_3543 = lean_unbox(x_3537); -lean_dec(x_3537); -x_3544 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3543, x_3542); -x_3545 = lean_box(x_3544); -if (lean_is_scalar(x_3539)) { - x_3546 = lean_alloc_ctor(0, 2, 0); -} else { - x_3546 = x_3539; -} -lean_ctor_set(x_3546, 0, x_3545); -lean_ctor_set(x_3546, 1, x_3538); -return x_3546; -} -else -{ -lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; uint8_t x_3554; -lean_dec(x_3539); -lean_dec(x_3537); -x_3547 = lean_st_ref_get(x_6, x_3538); -x_3548 = lean_ctor_get(x_3547, 1); -lean_inc(x_3548); -lean_dec(x_3547); -x_3549 = lean_st_ref_get(x_4, x_3548); -x_3550 = lean_ctor_get(x_3549, 0); -lean_inc(x_3550); -x_3551 = lean_ctor_get(x_3549, 1); -lean_inc(x_3551); -if (lean_is_exclusive(x_3549)) { - lean_ctor_release(x_3549, 0); - lean_ctor_release(x_3549, 1); - x_3552 = x_3549; -} else { - lean_dec_ref(x_3549); - x_3552 = lean_box(0); -} -x_3553 = lean_ctor_get(x_3550, 0); -lean_inc(x_3553); -lean_dec(x_3550); -lean_inc(x_3553); -x_3554 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3553, x_1); -if (x_3554 == 0) -{ -uint8_t x_3555; -x_3555 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3553, x_2); -if (x_3555 == 0) -{ -lean_object* x_3556; lean_object* x_3586; uint8_t x_3587; -x_3586 = lean_ctor_get(x_3, 0); -lean_inc(x_3586); -x_3587 = lean_ctor_get_uint8(x_3586, 4); -lean_dec(x_3586); -if (x_3587 == 0) -{ -uint8_t x_3588; lean_object* x_3589; lean_object* x_3590; -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_3588 = 0; -x_3589 = lean_box(x_3588); -if (lean_is_scalar(x_3552)) { - x_3590 = lean_alloc_ctor(0, 2, 0); -} else { - x_3590 = x_3552; -} -lean_ctor_set(x_3590, 0, x_3589); -lean_ctor_set(x_3590, 1, x_3551); -return x_3590; -} -else -{ -uint8_t x_3591; -x_3591 = l_Lean_Level_isMVar(x_1); -if (x_3591 == 0) -{ -uint8_t x_3592; -x_3592 = l_Lean_Level_isMVar(x_2); -if (x_3592 == 0) -{ -uint8_t x_3593; lean_object* x_3594; lean_object* x_3595; -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_3593 = 0; -x_3594 = lean_box(x_3593); -if (lean_is_scalar(x_3552)) { - x_3595 = lean_alloc_ctor(0, 2, 0); -} else { - x_3595 = x_3552; -} -lean_ctor_set(x_3595, 0, x_3594); -lean_ctor_set(x_3595, 1, x_3551); -return x_3595; } -else -{ -lean_object* x_3596; -lean_dec(x_3552); -x_3596 = lean_box(0); -x_3556 = x_3596; -goto block_3585; -} -} -else -{ -lean_object* x_3597; -lean_dec(x_3552); -x_3597 = lean_box(0); -x_3556 = x_3597; -goto block_3585; -} -} -block_3585: -{ -uint8_t x_3557; lean_object* x_3558; lean_object* x_3573; lean_object* x_3574; lean_object* x_3575; uint8_t x_3576; -lean_dec(x_3556); -x_3573 = lean_st_ref_get(x_6, x_3551); -x_3574 = lean_ctor_get(x_3573, 0); -lean_inc(x_3574); -x_3575 = lean_ctor_get(x_3574, 3); -lean_inc(x_3575); -lean_dec(x_3574); -x_3576 = lean_ctor_get_uint8(x_3575, sizeof(void*)*1); -lean_dec(x_3575); -if (x_3576 == 0) -{ -lean_object* x_3577; uint8_t x_3578; -x_3577 = lean_ctor_get(x_3573, 1); -lean_inc(x_3577); -lean_dec(x_3573); -x_3578 = 0; -x_3557 = x_3578; -x_3558 = x_3577; -goto block_3572; } else { -lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; uint8_t x_3584; -x_3579 = lean_ctor_get(x_3573, 1); -lean_inc(x_3579); -lean_dec(x_3573); -x_3580 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3581 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3580, x_3, x_4, x_5, x_6, x_3579); -x_3582 = lean_ctor_get(x_3581, 0); -lean_inc(x_3582); -x_3583 = lean_ctor_get(x_3581, 1); -lean_inc(x_3583); -lean_dec(x_3581); -x_3584 = lean_unbox(x_3582); -lean_dec(x_3582); -x_3557 = x_3584; -x_3558 = x_3583; -goto block_3572; -} -block_3572: -{ -if (x_3557 == 0) -{ -lean_object* x_3559; +lean_object* x_405; lean_object* x_406; lean_object* x_407; uint8_t x_408; lean_object* x_409; lean_object* x_410; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_405 = lean_unsigned_to_nat(0u); +x_406 = l_Lean_Level_getOffsetAux(x_1, x_405); lean_dec(x_1); -x_3559 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3558); -return x_3559; -} -else -{ -lean_object* x_3560; lean_object* x_3561; lean_object* x_3562; lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; lean_object* x_3567; lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; lean_object* x_3571; -x_3560 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3560, 0, x_1); -x_3561 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3562 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3562, 0, x_3561); -lean_ctor_set(x_3562, 1, x_3560); -x_3563 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3564 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3564, 0, x_3562); -lean_ctor_set(x_3564, 1, x_3563); -x_3565 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3565, 0, x_2); -x_3566 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3566, 0, x_3564); -lean_ctor_set(x_3566, 1, x_3565); -x_3567 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3567, 0, x_3566); -lean_ctor_set(x_3567, 1, x_3561); -x_3568 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__6; -x_3569 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3568, x_3567, x_3, x_4, x_5, x_6, x_3558); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3570 = lean_ctor_get(x_3569, 1); -lean_inc(x_3570); -lean_dec(x_3569); -x_3571 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3570); -return x_3571; -} -} -} -} -else -{ -lean_object* x_3598; lean_object* x_3599; lean_object* x_3600; uint8_t x_3601; lean_object* x_3602; lean_object* x_3603; -lean_dec(x_3552); -x_3598 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3551); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3599 = lean_ctor_get(x_3598, 1); -lean_inc(x_3599); -if (lean_is_exclusive(x_3598)) { - lean_ctor_release(x_3598, 0); - lean_ctor_release(x_3598, 1); - x_3600 = x_3598; -} else { - lean_dec_ref(x_3598); - x_3600 = lean_box(0); -} -x_3601 = 1; -x_3602 = lean_box(x_3601); -if (lean_is_scalar(x_3600)) { - x_3603 = lean_alloc_ctor(0, 2, 0); -} else { - x_3603 = x_3600; -} -lean_ctor_set(x_3603, 0, x_3602); -lean_ctor_set(x_3603, 1, x_3599); -return x_3603; -} -} -else -{ -lean_object* x_3604; lean_object* x_3605; lean_object* x_3606; uint8_t x_3607; lean_object* x_3608; lean_object* x_3609; -lean_dec(x_3553); -lean_dec(x_3552); -x_3604 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3551); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3605 = lean_ctor_get(x_3604, 1); -lean_inc(x_3605); -if (lean_is_exclusive(x_3604)) { - lean_ctor_release(x_3604, 0); - lean_ctor_release(x_3604, 1); - x_3606 = x_3604; -} else { - lean_dec_ref(x_3604); - x_3606 = lean_box(0); -} -x_3607 = 1; -x_3608 = lean_box(x_3607); -if (lean_is_scalar(x_3606)) { - x_3609 = lean_alloc_ctor(0, 2, 0); -} else { - x_3609 = x_3606; -} -lean_ctor_set(x_3609, 0, x_3608); -lean_ctor_set(x_3609, 1, x_3605); -return x_3609; -} -} -} -else -{ -lean_object* x_3610; lean_object* x_3611; lean_object* x_3612; lean_object* x_3613; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +x_407 = l_Lean_Level_getOffsetAux(x_2, x_405); lean_dec(x_2); -lean_dec(x_1); -x_3610 = lean_ctor_get(x_3536, 0); -lean_inc(x_3610); -x_3611 = lean_ctor_get(x_3536, 1); -lean_inc(x_3611); -if (lean_is_exclusive(x_3536)) { - lean_ctor_release(x_3536, 0); - lean_ctor_release(x_3536, 1); - x_3612 = x_3536; -} else { - lean_dec_ref(x_3536); - x_3612 = lean_box(0); -} -if (lean_is_scalar(x_3612)) { - x_3613 = lean_alloc_ctor(1, 2, 0); -} else { - x_3613 = x_3612; +x_408 = lean_nat_dec_eq(x_406, x_407); +lean_dec(x_407); +lean_dec(x_406); +x_409 = lean_box(x_408); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_409); +lean_ctor_set(x_410, 1, x_7); +return x_410; } -lean_ctor_set(x_3613, 0, x_3610); -lean_ctor_set(x_3613, 1, x_3611); -return x_3613; } } } } -else +lean_object* l_Lean_Meta_isLevelDefEqAux___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) { +_start: { -uint8_t x_3614; -lean_dec(x_6); +lean_object* x_7; +x_7 = l_Lean_Meta_isLevelDefEqAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_3614 = !lean_is_exclusive(x_3303); -if (x_3614 == 0) -{ -return x_3303; -} -else -{ -lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; -x_3615 = lean_ctor_get(x_3303, 0); -x_3616 = lean_ctor_get(x_3303, 1); -lean_inc(x_3616); -lean_inc(x_3615); -lean_dec(x_3303); -x_3617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3617, 0, x_3615); -lean_ctor_set(x_3617, 1, x_3616); -return x_3617; -} -} -} -} -} -block_3632: -{ -if (x_3619 == 0) -{ -x_3290 = x_3620; -goto block_3618; -} -else -{ -lean_object* x_3621; lean_object* x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; lean_object* x_3626; lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; -lean_inc(x_1); -x_3621 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3621, 0, x_1); -x_3622 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_3623 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3623, 0, x_3622); -lean_ctor_set(x_3623, 1, x_3621); -x_3624 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_3625 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3625, 0, x_3623); -lean_ctor_set(x_3625, 1, x_3624); -lean_inc(x_2); -x_3626 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3626, 0, x_2); -x_3627 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3627, 0, x_3625); -lean_ctor_set(x_3627, 1, x_3626); -x_3628 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3628, 0, x_3627); -lean_ctor_set(x_3628, 1, x_3622); -x_3629 = l_Lean_Meta_isLevelDefEqAux___closed__2; -x_3630 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3629, x_3628, x_3, x_4, x_5, x_6, x_3620); -x_3631 = lean_ctor_get(x_3630, 1); -lean_inc(x_3631); -lean_dec(x_3630); -x_3290 = x_3631; -goto block_3618; +return x_7; } } -} -else +lean_object* l_Lean_Meta_isLevelDefEqAux___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) { +_start: { -lean_object* x_3645; lean_object* x_3646; lean_object* x_3647; uint8_t x_3648; lean_object* x_3649; lean_object* x_3650; -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_10; +x_10 = l_Lean_Meta_isLevelDefEqAux___lambda__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); -x_3645 = lean_unsigned_to_nat(0u); -x_3646 = l_Lean_Level_getOffsetAux(x_1, x_3645); -lean_dec(x_1); -x_3647 = l_Lean_Level_getOffsetAux(x_2, x_3645); -lean_dec(x_2); -x_3648 = lean_nat_dec_eq(x_3646, x_3647); -lean_dec(x_3647); -lean_dec(x_3646); -x_3649 = lean_box(x_3648); -x_3650 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3650, 0, x_3649); -lean_ctor_set(x_3650, 1, x_7); -return x_3650; -} -} -} +return x_10; } } lean_object* l_Lean_Meta_isListLevelDefEqAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -24266,7 +12412,18 @@ x_8 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep(x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__1() { +lean_object* l_Lean_Meta_processPostponed_loop___lambda__1(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: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_Meta_processPostponed_loop___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -24274,6 +12431,254 @@ x_1 = lean_mk_string("no progress solving pending is-def-eq level constraints"); return x_1; } } +static lean_object* _init_l_Lean_Meta_processPostponed_loop___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_processPostponed_loop___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_processPostponed_loop___lambda__2(uint8_t x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +uint8_t x_14; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_dec(x_15); +x_16 = 0; +x_17 = lean_box(x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_dec(x_11); +x_19 = 0; +x_20 = lean_box(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +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; uint8_t x_28; +x_22 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_dec(x_11); +x_23 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(x_7, x_8, x_9, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_nat_dec_eq(x_24, x_27); +if (x_28 == 0) +{ +uint8_t x_29; +x_29 = lean_nat_dec_lt(x_24, x_2); +lean_dec(x_24); +if (x_29 == 0) +{ +uint8_t x_30; lean_object* x_31; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_st_ref_get(x_9, x_25); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_30 = x_48; +x_31 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +lean_inc(x_4); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_6, x_7, x_8, x_9, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_30 = x_53; +x_31 = x_52; +goto block_42; +} +block_42: +{ +if (x_30 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_32 = lean_box(x_3); +if (lean_is_scalar(x_26)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_26; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_26); +x_34 = l_Lean_Meta_processPostponed_loop___lambda__2___closed__2; +x_35 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_4, x_34, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(x_3); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(x_3); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +} +} +else +{ +lean_object* x_54; +lean_dec(x_26); +lean_dec(x_4); +x_54 = l_Lean_Meta_processPostponed_loop(x_3, x_1, x_6, x_7, x_8, x_9, x_25); +return x_54; +} +} +else +{ +uint8_t x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_55 = 1; +x_56 = lean_box(x_55); +if (lean_is_scalar(x_26)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_26; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_25); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_11); +if (x_58 == 0) +{ +return x_11; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_11, 0); +x_60 = lean_ctor_get(x_11, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_11); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("processing #"); +return x_1; +} +} static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__2() { _start: { @@ -24287,7 +12692,7 @@ static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("processing #"); +x_1 = lean_mk_string(" postponed is-def-eq level constraints"); return x_1; } } @@ -24300,23 +12705,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" postponed is-def-eq level constraints"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_processPostponed_loop___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_processPostponed_loop___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_processPostponed_loop(uint8_t 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: { @@ -24332,810 +12720,232 @@ x_12 = lean_unsigned_to_nat(0u); x_13 = lean_nat_dec_eq(x_10, x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_free_object(x_8); -x_103 = lean_st_ref_get(x_6, x_11); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_104, 3); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*1); -lean_dec(x_105); -if (x_106 == 0) +x_14 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; +x_30 = lean_st_ref_get(x_6, x_11); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); +lean_dec(x_32); +if (x_33 == 0) { -lean_object* x_107; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -lean_dec(x_103); -x_14 = x_107; -goto block_102; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); -lean_dec(x_103); -x_109 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; -x_110 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_109, x_3, x_4, x_5, x_6, x_108); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_unbox(x_111); -lean_dec(x_111); -if (x_112 == 0) -{ -lean_object* x_113; -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); -lean_dec(x_110); -x_14 = x_113; -goto block_102; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -lean_inc(x_10); -x_115 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_10); -x_116 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_116, 0, x_115); -x_117 = l_Lean_Meta_processPostponed_loop___closed__4; -x_118 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_116); -x_119 = l_Lean_Meta_processPostponed_loop___closed__6; -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_109, x_120, x_3, x_4, x_5, x_6, x_114); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_14 = x_122; -goto block_102; -} -} -block_102: -{ -lean_object* x_15; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_15 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep(x_2, x_3, x_4, x_5, x_6, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -lean_dec(x_19); -x_20 = 0; -x_21 = lean_box(x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; -} -else -{ -lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = 0; -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_15, 1); -lean_inc(x_26); -lean_dec(x_15); -x_27 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(x_4, x_5, x_6, x_26); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_ctor_get(x_27, 1); -x_31 = lean_nat_dec_eq(x_29, x_12); -if (x_31 == 0) -{ -uint8_t x_32; -lean_free_object(x_27); -x_32 = lean_nat_dec_lt(x_29, x_10); -lean_dec(x_10); -lean_dec(x_29); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_st_ref_get(x_6, x_30); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_34, 3); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); -lean_dec(x_35); -if (x_36 == 0) +lean_dec(x_30); +x_35 = 0; +x_15 = x_35; +x_16 = x_34; +goto block_29; +} +else { -uint8_t x_37; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_37 = !lean_is_exclusive(x_33); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_33, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_dec(x_30); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_14, x_3, x_4, x_5, x_6, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); lean_dec(x_38); -x_39 = lean_box(x_1); -lean_ctor_set(x_33, 0, x_39); -return x_33; +x_15 = x_40; +x_16 = x_39; +goto block_29; +} +block_29: +{ +if (x_15 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l_Lean_Meta_processPostponed_loop___lambda__2(x_2, x_10, x_1, x_14, x_17, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_10); +return x_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); -lean_dec(x_33); -x_41 = lean_box(x_1); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -return x_42; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_43 = lean_ctor_get(x_33, 1); -lean_inc(x_43); -lean_dec(x_33); -x_44 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; -x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_44, x_3, x_4, x_5, x_6, x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_unbox(x_46); -lean_dec(x_46); -if (x_47 == 0) -{ -uint8_t x_48; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_45, 0); -lean_dec(x_49); -x_50 = lean_box(x_1); -lean_ctor_set(x_45, 0, x_50); -return x_45; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_dec(x_45); -x_52 = lean_box(x_1); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_45, 1); -lean_inc(x_54); -lean_dec(x_45); -x_55 = l_Lean_Meta_processPostponed_loop___closed__2; -x_56 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_44, x_55, x_3, x_4, x_5, x_6, x_54); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = lean_box(x_1); -lean_ctor_set(x_56, 0, x_59); -return x_56; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_dec(x_56); -x_61 = lean_box(x_1); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} +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_inc(x_10); +x_19 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_10); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Lean_Meta_processPostponed_loop___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_Meta_processPostponed_loop___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_14, x_24, x_3, x_4, x_5, x_6, x_16); +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_Lean_Meta_processPostponed_loop___lambda__2(x_2, x_10, x_1, x_14, x_26, x_3, x_4, x_5, x_6, x_27); +lean_dec(x_26); +lean_dec(x_10); +return x_28; } } } else { -x_7 = x_30; -goto _start; -} -} -else -{ -uint8_t x_64; lean_object* x_65; -lean_dec(x_29); +uint8_t x_41; lean_object* x_42; lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_64 = 1; -x_65 = lean_box(x_64); -lean_ctor_set(x_27, 0, x_65); -return x_27; -} -} -else -{ -lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_66 = lean_ctor_get(x_27, 0); -x_67 = lean_ctor_get(x_27, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_27); -x_68 = lean_nat_dec_eq(x_66, x_12); -if (x_68 == 0) -{ -uint8_t x_69; -x_69 = lean_nat_dec_lt(x_66, x_10); -lean_dec(x_10); -lean_dec(x_66); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_st_ref_get(x_6, x_67); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_75 = x_70; -} else { - lean_dec_ref(x_70); - x_75 = lean_box(0); -} -x_76 = lean_box(x_1); -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -return x_77; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_78 = lean_ctor_get(x_70, 1); -lean_inc(x_78); -lean_dec(x_70); -x_79 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; -x_80 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_79, x_3, x_4, x_5, x_6, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_unbox(x_81); -lean_dec(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_84 = x_80; -} else { - lean_dec_ref(x_80); - x_84 = lean_box(0); -} -x_85 = lean_box(x_1); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_84; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_87 = lean_ctor_get(x_80, 1); -lean_inc(x_87); -lean_dec(x_80); -x_88 = l_Lean_Meta_processPostponed_loop___closed__2; -x_89 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_79, x_88, x_3, x_4, x_5, x_6, x_87); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_91 = x_89; -} else { - lean_dec_ref(x_89); - x_91 = lean_box(0); -} -x_92 = lean_box(x_1); -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_91; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_90); -return x_93; -} -} -} -else -{ -x_7 = x_67; -goto _start; -} -} -else -{ -uint8_t x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_66); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_95 = 1; -x_96 = lean_box(x_95); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_67); -return x_97; -} -} -} -} -else -{ -uint8_t x_98; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_98 = !lean_is_exclusive(x_15); -if (x_98 == 0) -{ -return x_15; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_15, 0); -x_100 = lean_ctor_get(x_15, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_15); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -} -} -else -{ -uint8_t x_123; lean_object* x_124; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_123 = 1; -x_124 = lean_box(x_123); -lean_ctor_set(x_8, 0, x_124); +x_41 = 1; +x_42 = lean_box(x_41); +lean_ctor_set(x_8, 0, x_42); return x_8; } } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_125 = lean_ctor_get(x_8, 0); -x_126 = lean_ctor_get(x_8, 1); -lean_inc(x_126); -lean_inc(x_125); +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_8, 0); +x_44 = lean_ctor_get(x_8, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_8); -x_127 = lean_unsigned_to_nat(0u); -x_128 = lean_nat_dec_eq(x_125, x_127); -if (x_128 == 0) +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_nat_dec_eq(x_43, x_45); +if (x_46 == 0) { -lean_object* x_129; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; -x_178 = lean_st_ref_get(x_6, x_126); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_179, 3); -lean_inc(x_180); -lean_dec(x_179); -x_181 = lean_ctor_get_uint8(x_180, sizeof(void*)*1); -lean_dec(x_180); -if (x_181 == 0) +lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_47 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; +x_63 = lean_st_ref_get(x_6, x_44); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_64, 3); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); +lean_dec(x_65); +if (x_66 == 0) { -lean_object* x_182; -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); -lean_dec(x_178); -x_129 = x_182; -goto block_177; +lean_object* x_67; uint8_t x_68; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec(x_63); +x_68 = 0; +x_48 = x_68; +x_49 = x_67; +goto block_62; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -lean_dec(x_178); -x_184 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; -x_185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_184, x_3, x_4, x_5, x_6, x_183); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_unbox(x_186); -lean_dec(x_186); -if (x_187 == 0) +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_63, 1); +lean_inc(x_69); +lean_dec(x_63); +x_70 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_47, x_3, x_4, x_5, x_6, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_unbox(x_71); +lean_dec(x_71); +x_48 = x_73; +x_49 = x_72; +goto block_62; +} +block_62: { -lean_object* x_188; -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -lean_dec(x_185); -x_129 = x_188; -goto block_177; +if (x_48 == 0) +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_box(0); +x_51 = l_Lean_Meta_processPostponed_loop___lambda__2(x_2, x_43, x_1, x_47, x_50, x_3, x_4, x_5, x_6, x_49); +lean_dec(x_43); +return x_51; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_189 = lean_ctor_get(x_185, 1); -lean_inc(x_189); -lean_dec(x_185); -lean_inc(x_125); -x_190 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_125); -x_191 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_191, 0, x_190); -x_192 = l_Lean_Meta_processPostponed_loop___closed__4; -x_193 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_Meta_processPostponed_loop___closed__6; -x_195 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -x_196 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_184, x_195, x_3, x_4, x_5, x_6, x_189); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_129 = x_197; -goto block_177; +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_inc(x_43); +x_52 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_43); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = l_Lean_Meta_processPostponed_loop___closed__2; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_Lean_Meta_processPostponed_loop___closed__4; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_47, x_57, x_3, x_4, x_5, x_6, x_49); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Meta_processPostponed_loop___lambda__2(x_2, x_43, x_1, x_47, x_59, x_3, x_4, x_5, x_6, x_60); +lean_dec(x_59); +lean_dec(x_43); +return x_61; } } -block_177: +} +else { -lean_object* x_130; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_130 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep(x_2, x_3, x_4, x_5, x_6, x_129); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; uint8_t x_132; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_unbox(x_131); -lean_dec(x_131); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_125); +uint8_t x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_43); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_134 = x_130; -} else { - lean_dec_ref(x_130); - x_134 = lean_box(0); +x_74 = 1; +x_75 = lean_box(x_74); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_44); +return x_76; } -x_135 = 0; -x_136 = lean_box(x_135); -if (lean_is_scalar(x_134)) { - x_137 = lean_alloc_ctor(0, 2, 0); -} else { - x_137 = x_134; } -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_133); -return x_137; } -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_138 = lean_ctor_get(x_130, 1); -lean_inc(x_138); -lean_dec(x_130); -x_139 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(x_4, x_5, x_6, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - x_142 = x_139; -} else { - lean_dec_ref(x_139); - x_142 = lean_box(0); } -x_143 = lean_nat_dec_eq(x_140, x_127); -if (x_143 == 0) +lean_object* l_Lean_Meta_processPostponed_loop___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) { +_start: { -uint8_t x_144; -lean_dec(x_142); -x_144 = lean_nat_dec_lt(x_140, x_125); -lean_dec(x_125); -lean_dec(x_140); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_145 = lean_st_ref_get(x_6, x_141); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_146, 3); -lean_inc(x_147); -lean_dec(x_146); -x_148 = lean_ctor_get_uint8(x_147, sizeof(void*)*1); -lean_dec(x_147); -if (x_148 == 0) -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = l_Lean_Meta_processPostponed_loop___lambda__1(x_8, 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); -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); +lean_dec(x_2); +return x_9; } -x_151 = lean_box(x_1); -if (lean_is_scalar(x_150)) { - x_152 = lean_alloc_ctor(0, 2, 0); -} else { - x_152 = x_150; } -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_149); -return x_152; -} -else +lean_object* l_Lean_Meta_processPostponed_loop___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) { +_start: { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -x_153 = lean_ctor_get(x_145, 1); -lean_inc(x_153); -lean_dec(x_145); -x_154 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; -x_155 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_154, x_3, x_4, x_5, x_6, x_153); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_unbox(x_156); -lean_dec(x_156); -if (x_157 == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = lean_unbox(x_3); lean_dec(x_3); -x_158 = lean_ctor_get(x_155, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_159 = x_155; -} else { - lean_dec_ref(x_155); - x_159 = lean_box(0); -} -x_160 = lean_box(x_1); -if (lean_is_scalar(x_159)) { - x_161 = lean_alloc_ctor(0, 2, 0); -} else { - x_161 = x_159; -} -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_158); -return x_161; -} -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; -x_162 = lean_ctor_get(x_155, 1); -lean_inc(x_162); -lean_dec(x_155); -x_163 = l_Lean_Meta_processPostponed_loop___closed__2; -x_164 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_154, x_163, x_3, x_4, x_5, x_6, x_162); -lean_dec(x_6); +x_13 = l_Lean_Meta_processPostponed_loop___lambda__2(x_11, x_2, x_12, 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); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_166 = x_164; -} else { - lean_dec_ref(x_164); - x_166 = lean_box(0); -} -x_167 = lean_box(x_1); -if (lean_is_scalar(x_166)) { - x_168 = lean_alloc_ctor(0, 2, 0); -} else { - x_168 = x_166; -} -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_165); -return x_168; -} -} -} -else -{ -x_7 = x_141; -goto _start; -} -} -else -{ -uint8_t x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_140); -lean_dec(x_125); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_170 = 1; -x_171 = lean_box(x_170); -if (lean_is_scalar(x_142)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_142; -} -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_141); -return x_172; -} -} -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -lean_dec(x_125); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_173 = lean_ctor_get(x_130, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_130, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_175 = x_130; -} else { - lean_dec_ref(x_130); - x_175 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(1, 2, 0); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_174); -return x_176; -} -} -} -else -{ -uint8_t x_198; lean_object* x_199; lean_object* x_200; -lean_dec(x_125); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_198 = 1; -x_199 = lean_box(x_198); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_126); -return x_200; -} -} +lean_dec(x_2); +return x_13; } } lean_object* l_Lean_Meta_processPostponed_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -27212,44 +15022,44 @@ return x_2; lean_object* l_Lean_Meta_isLevelDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; -x_422 = lean_st_ref_get(x_6, x_7); -x_423 = lean_ctor_get(x_422, 0); -lean_inc(x_423); -x_424 = lean_ctor_get(x_423, 3); -lean_inc(x_424); -lean_dec(x_423); -x_425 = lean_ctor_get_uint8(x_424, sizeof(void*)*1); -lean_dec(x_424); -if (x_425 == 0) +lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; +x_415 = lean_st_ref_get(x_6, x_7); +x_416 = lean_ctor_get(x_415, 0); +lean_inc(x_416); +x_417 = lean_ctor_get(x_416, 3); +lean_inc(x_417); +lean_dec(x_416); +x_418 = lean_ctor_get_uint8(x_417, sizeof(void*)*1); +lean_dec(x_417); +if (x_418 == 0) { -lean_object* x_426; uint8_t x_427; -x_426 = lean_ctor_get(x_422, 1); -lean_inc(x_426); -lean_dec(x_422); -x_427 = 0; -x_17 = x_427; -x_18 = x_426; -goto block_421; +lean_object* x_419; uint8_t x_420; +x_419 = lean_ctor_get(x_415, 1); +lean_inc(x_419); +lean_dec(x_415); +x_420 = 0; +x_17 = x_420; +x_18 = x_419; +goto block_414; } else { -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_428 = lean_ctor_get(x_422, 1); -lean_inc(x_428); -lean_dec(x_422); -x_429 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_430 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_429, x_3, x_4, x_5, x_6, x_428); -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_unbox(x_431); -lean_dec(x_431); -x_17 = x_433; -x_18 = x_432; -goto block_421; +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; uint8_t x_426; +x_421 = lean_ctor_get(x_415, 1); +lean_inc(x_421); +lean_dec(x_415); +x_422 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_423 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_422, x_3, x_4, x_5, x_6, x_421); +x_424 = lean_ctor_get(x_423, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_423, 1); +lean_inc(x_425); +lean_dec(x_423); +x_426 = lean_unbox(x_424); +lean_dec(x_424); +x_17 = x_426; +x_18 = x_425; +goto block_414; } block_16: { @@ -27282,7 +15092,7 @@ lean_ctor_set(x_15, 1, x_13); return x_15; } } -block_421: +block_414: { if (x_17 == 0) { @@ -27332,100 +15142,99 @@ lean_inc(x_1); x_84 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(x_1, x_2, x_83, x_3, x_4, x_5, x_6, x_33); if (lean_obj_tag(x_84) == 0) { -lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; +lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); lean_dec(x_84); -x_115 = lean_st_ref_get(x_6, x_86); -x_116 = lean_ctor_get(x_115, 0); +x_87 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_114 = lean_st_ref_get(x_6, x_86); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_115, 3); lean_inc(x_116); -x_117 = lean_ctor_get(x_116, 3); -lean_inc(x_117); -lean_dec(x_116); -x_118 = lean_ctor_get_uint8(x_117, sizeof(void*)*1); -lean_dec(x_117); -if (x_118 == 0) -{ -lean_object* x_119; -x_119 = lean_ctor_get(x_115, 1); -lean_inc(x_119); lean_dec(x_115); -x_87 = x_31; -x_88 = x_119; -goto block_114; +x_117 = lean_ctor_get_uint8(x_116, sizeof(void*)*1); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_114, 1); +lean_inc(x_118); +lean_dec(x_114); +x_88 = x_31; +x_89 = x_118; +goto block_113; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_120 = lean_ctor_get(x_115, 1); -lean_inc(x_120); -lean_dec(x_115); -x_121 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_122 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_121, x_3, x_4, x_5, x_6, x_120); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_unbox(x_123); -lean_dec(x_123); -x_87 = x_125; -x_88 = x_124; -goto block_114; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_119 = lean_ctor_get(x_114, 1); +lean_inc(x_119); +lean_dec(x_114); +x_120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_87, x_3, x_4, x_5, x_6, x_119); +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_88 = x_123; +x_89 = x_122; +goto block_113; } -block_114: +block_113: { -if (x_87 == 0) +if (x_88 == 0) { -uint8_t x_89; +uint8_t x_90; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_89 = lean_unbox(x_85); +x_90 = lean_unbox(x_85); lean_dec(x_85); -x_34 = x_89; -x_35 = x_88; +x_34 = x_90; +x_35 = x_89; goto block_82; } 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; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_90 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_90, 0, x_1); -x_91 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_94 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_95, 0, x_2); -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_Meta_isLevelDefEq___closed__2; -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 = lean_unbox(x_85); -if (x_99 == 0) +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_91 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_91, 0, x_1); +x_92 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_96, 0, x_2); +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_Meta_isLevelDefEq___closed__2; +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 = lean_unbox(x_85); +if (x_100 == 0) { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_100 = l_Lean_Meta_isLevelDefEq___closed__4; -x_101 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_101, 0, x_98); -lean_ctor_set(x_101, 1, x_100); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_101 = l_Lean_Meta_isLevelDefEq___closed__4; x_102 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_91); -x_103 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_104 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_103, x_102, x_3, x_4, x_5, x_6, x_88); +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_92); +x_104 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_87, x_103, x_3, x_4, x_5, x_6, x_89); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -27440,26 +15249,25 @@ goto block_82; } 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; uint8_t x_113; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; x_107 = l_Lean_Meta_isLevelDefEq___closed__6; x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_98); +lean_ctor_set(x_108, 0, x_99); lean_ctor_set(x_108, 1, x_107); x_109 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_91); -x_110 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_111 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_110, x_109, x_3, x_4, x_5, x_6, x_88); +lean_ctor_set(x_109, 1, x_92); +x_110 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_87, x_109, x_3, x_4, x_5, x_6, x_89); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_unbox(x_85); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = lean_unbox(x_85); lean_dec(x_85); -x_34 = x_113; -x_35 = x_112; +x_34 = x_112; +x_35 = x_111; goto block_82; } } @@ -27467,149 +15275,149 @@ goto block_82; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_126 = lean_ctor_get(x_84, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_84, 1); -lean_inc(x_127); +x_124 = lean_ctor_get(x_84, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_84, 1); +lean_inc(x_125); lean_dec(x_84); -x_128 = lean_st_ref_get(x_6, x_127); -x_129 = lean_ctor_get(x_128, 1); +x_126 = lean_st_ref_get(x_6, x_125); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +lean_dec(x_126); +x_128 = lean_st_ref_take(x_6, x_127); +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_st_ref_take(x_6, x_129); -x_131 = lean_ctor_get(x_130, 0); +x_130 = lean_ctor_get(x_129, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_128, 1); lean_inc(x_131); -x_132 = lean_ctor_get(x_131, 3); -lean_inc(x_132); -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_133); -lean_dec(x_130); -x_134 = !lean_is_exclusive(x_131); +lean_dec(x_128); +x_132 = !lean_is_exclusive(x_129); +if (x_132 == 0) +{ +lean_object* x_133; uint8_t x_134; +x_133 = lean_ctor_get(x_129, 3); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_130); if (x_134 == 0) { lean_object* x_135; uint8_t x_136; -x_135 = lean_ctor_get(x_131, 3); -lean_dec(x_135); -x_136 = !lean_is_exclusive(x_132); +lean_ctor_set_uint8(x_130, sizeof(void*)*1, x_23); +x_135 = lean_st_ref_set(x_6, x_129, x_131); +lean_dec(x_6); +x_136 = !lean_is_exclusive(x_135); if (x_136 == 0) { -lean_object* x_137; uint8_t x_138; -lean_ctor_set_uint8(x_132, sizeof(void*)*1, x_23); -x_137 = lean_st_ref_set(x_6, x_131, x_133); -lean_dec(x_6); -x_138 = !lean_is_exclusive(x_137); -if (x_138 == 0) -{ -lean_object* x_139; -x_139 = lean_ctor_get(x_137, 0); -lean_dec(x_139); -lean_ctor_set_tag(x_137, 1); -lean_ctor_set(x_137, 0, x_126); -return x_137; -} -else -{ -lean_object* x_140; lean_object* x_141; -x_140 = lean_ctor_get(x_137, 1); -lean_inc(x_140); +lean_object* x_137; +x_137 = lean_ctor_get(x_135, 0); lean_dec(x_137); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_126); -lean_ctor_set(x_141, 1, x_140); -return x_141; +lean_ctor_set_tag(x_135, 1); +lean_ctor_set(x_135, 0, x_124); +return x_135; +} +else +{ +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_124); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } else { -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_132, 0); -lean_inc(x_142); -lean_dec(x_132); -x_143 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set_uint8(x_143, sizeof(void*)*1, x_23); -lean_ctor_set(x_131, 3, x_143); -x_144 = lean_st_ref_set(x_6, x_131, x_133); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_140 = lean_ctor_get(x_130, 0); +lean_inc(x_140); +lean_dec(x_130); +x_141 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set_uint8(x_141, sizeof(void*)*1, x_23); +lean_ctor_set(x_129, 3, x_141); +x_142 = lean_st_ref_set(x_6, x_129, x_131); lean_dec(x_6); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_146 = x_144; +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_144 = x_142; } else { - lean_dec_ref(x_144); - x_146 = lean_box(0); + lean_dec_ref(x_142); + x_144 = lean_box(0); } -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); } else { - x_147 = x_146; - lean_ctor_set_tag(x_147, 1); + x_145 = x_144; + lean_ctor_set_tag(x_145, 1); } -lean_ctor_set(x_147, 0, x_126); -lean_ctor_set(x_147, 1, x_145); -return x_147; +lean_ctor_set(x_145, 0, x_124); +lean_ctor_set(x_145, 1, x_143); +return x_145; } } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_148 = lean_ctor_get(x_131, 0); -x_149 = lean_ctor_get(x_131, 1); -x_150 = lean_ctor_get(x_131, 2); -lean_inc(x_150); -lean_inc(x_149); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_146 = lean_ctor_get(x_129, 0); +x_147 = lean_ctor_get(x_129, 1); +x_148 = lean_ctor_get(x_129, 2); lean_inc(x_148); -lean_dec(x_131); -x_151 = lean_ctor_get(x_132, 0); -lean_inc(x_151); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - x_152 = x_132; +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_129); +x_149 = lean_ctor_get(x_130, 0); +lean_inc(x_149); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + x_150 = x_130; } else { - lean_dec_ref(x_132); - x_152 = lean_box(0); + lean_dec_ref(x_130); + x_150 = lean_box(0); } -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(0, 1, 1); +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 1, 1); } else { - x_153 = x_152; + x_151 = x_150; } -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set_uint8(x_153, sizeof(void*)*1, x_23); -x_154 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_154, 0, x_148); -lean_ctor_set(x_154, 1, x_149); -lean_ctor_set(x_154, 2, x_150); -lean_ctor_set(x_154, 3, x_153); -x_155 = lean_st_ref_set(x_6, x_154, x_133); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set_uint8(x_151, sizeof(void*)*1, x_23); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_146); +lean_ctor_set(x_152, 1, x_147); +lean_ctor_set(x_152, 2, x_148); +lean_ctor_set(x_152, 3, x_151); +x_153 = lean_st_ref_set(x_6, x_152, x_131); lean_dec(x_6); -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; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_155 = x_153; } else { - lean_dec_ref(x_155); - x_157 = lean_box(0); + lean_dec_ref(x_153); + x_155 = lean_box(0); } -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(1, 2, 0); } else { - x_158 = x_157; - lean_ctor_set_tag(x_158, 1); + x_156 = x_155; + lean_ctor_set_tag(x_156, 1); } -lean_ctor_set(x_158, 0, x_126); -lean_ctor_set(x_158, 1, x_156); -return x_158; +lean_ctor_set(x_156, 0, x_124); +lean_ctor_set(x_156, 1, x_154); +return x_156; } } block_82: @@ -27780,915 +15588,937 @@ goto block_16; } else { -lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; uint8_t x_191; lean_object* x_192; -x_159 = lean_ctor_get(x_26, 0); -lean_inc(x_159); +lean_object* x_157; uint8_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; uint8_t x_189; lean_object* x_190; +x_157 = lean_ctor_get(x_26, 0); +lean_inc(x_157); lean_dec(x_26); -x_160 = 0; -x_161 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set_uint8(x_161, sizeof(void*)*1, x_160); -lean_ctor_set(x_25, 3, x_161); -x_162 = lean_st_ref_set(x_6, x_25, x_27); -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_191 = 1; +x_158 = 0; +x_159 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set_uint8(x_159, sizeof(void*)*1, x_158); +lean_ctor_set(x_25, 3, x_159); +x_160 = lean_st_ref_set(x_6, x_25, x_27); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +lean_dec(x_160); +x_189 = 1; 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_192 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(x_1, x_2, x_191, x_3, x_4, x_5, x_6, x_163); -if (lean_obj_tag(x_192) == 0) +x_190 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(x_1, x_2, x_189, x_3, x_4, x_5, x_6, x_161); +if (lean_obj_tag(x_190) == 0) { -lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_223 = lean_st_ref_get(x_6, x_194); -x_224 = lean_ctor_get(x_223, 0); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_object* x_195; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_220 = lean_st_ref_get(x_6, x_192); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_221, 3); +lean_inc(x_222); +lean_dec(x_221); +x_223 = lean_ctor_get_uint8(x_222, sizeof(void*)*1); +lean_dec(x_222); +if (x_223 == 0) +{ +lean_object* x_224; +x_224 = lean_ctor_get(x_220, 1); lean_inc(x_224); -x_225 = lean_ctor_get(x_224, 3); +lean_dec(x_220); +x_194 = x_158; +x_195 = x_224; +goto block_219; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_225 = lean_ctor_get(x_220, 1); lean_inc(x_225); -lean_dec(x_224); -x_226 = lean_ctor_get_uint8(x_225, sizeof(void*)*1); -lean_dec(x_225); -if (x_226 == 0) -{ -lean_object* x_227; -x_227 = lean_ctor_get(x_223, 1); +lean_dec(x_220); +x_226 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_193, x_3, x_4, x_5, x_6, x_225); +x_227 = lean_ctor_get(x_226, 0); lean_inc(x_227); -lean_dec(x_223); -x_195 = x_160; -x_196 = x_227; -goto block_222; -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; -x_228 = lean_ctor_get(x_223, 1); +x_228 = lean_ctor_get(x_226, 1); lean_inc(x_228); -lean_dec(x_223); -x_229 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_230 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_229, x_3, x_4, x_5, x_6, x_228); -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_unbox(x_231); -lean_dec(x_231); -x_195 = x_233; -x_196 = x_232; -goto block_222; +lean_dec(x_226); +x_229 = lean_unbox(x_227); +lean_dec(x_227); +x_194 = x_229; +x_195 = x_228; +goto block_219; } -block_222: +block_219: { -if (x_195 == 0) +if (x_194 == 0) { -uint8_t x_197; +uint8_t x_196; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_197 = lean_unbox(x_193); -lean_dec(x_193); -x_164 = x_197; -x_165 = x_196; -goto block_190; +x_196 = lean_unbox(x_191); +lean_dec(x_191); +x_162 = x_196; +x_163 = x_195; +goto block_188; } 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; uint8_t x_207; -x_198 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_198, 0, x_1); -x_199 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_200 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_202 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_203, 0, x_2); -x_204 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_Meta_isLevelDefEq___closed__2; -x_206 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -x_207 = lean_unbox(x_193); -if (x_207 == 0) +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; +x_197 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_197, 0, x_1); +x_198 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_201 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +x_202 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_202, 0, x_2); +x_203 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +x_204 = l_Lean_Meta_isLevelDefEq___closed__2; +x_205 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_unbox(x_191); +if (x_206 == 0) { -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_208 = l_Lean_Meta_isLevelDefEq___closed__4; +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_207 = l_Lean_Meta_isLevelDefEq___closed__4; +x_208 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_207); x_209 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_209, 0, x_206); -lean_ctor_set(x_209, 1, x_208); -x_210 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_199); -x_211 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_212 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_211, x_210, x_3, x_4, x_5, x_6, x_196); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_198); +x_210 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_193, x_209, x_3, x_4, x_5, x_6, x_195); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -x_214 = lean_unbox(x_193); -lean_dec(x_193); -x_164 = x_214; -x_165 = x_213; -goto block_190; +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +lean_dec(x_210); +x_212 = lean_unbox(x_191); +lean_dec(x_191); +x_162 = x_212; +x_163 = x_211; +goto block_188; } else { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_215 = l_Lean_Meta_isLevelDefEq___closed__6; -x_216 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_216, 0, x_206); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_199); -x_218 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_219 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_218, x_217, x_3, x_4, x_5, x_6, x_196); +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_213 = l_Lean_Meta_isLevelDefEq___closed__6; +x_214 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_214, 0, x_205); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_198); +x_216 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_193, x_215, x_3, x_4, x_5, x_6, x_195); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -lean_dec(x_219); -x_221 = lean_unbox(x_193); -lean_dec(x_193); -x_164 = x_221; -x_165 = x_220; -goto block_190; +x_217 = lean_ctor_get(x_216, 1); +lean_inc(x_217); +lean_dec(x_216); +x_218 = lean_unbox(x_191); +lean_dec(x_191); +x_162 = x_218; +x_163 = x_217; +goto block_188; } } } } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_234 = lean_ctor_get(x_192, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_192, 1); +x_230 = lean_ctor_get(x_190, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_190, 1); +lean_inc(x_231); +lean_dec(x_190); +x_232 = lean_st_ref_get(x_6, x_231); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +lean_dec(x_232); +x_234 = lean_st_ref_take(x_6, x_233); +x_235 = lean_ctor_get(x_234, 0); lean_inc(x_235); -lean_dec(x_192); -x_236 = lean_st_ref_get(x_6, x_235); -x_237 = lean_ctor_get(x_236, 1); +x_236 = lean_ctor_get(x_235, 3); +lean_inc(x_236); +x_237 = lean_ctor_get(x_234, 1); lean_inc(x_237); -lean_dec(x_236); -x_238 = lean_st_ref_take(x_6, x_237); -x_239 = lean_ctor_get(x_238, 0); +lean_dec(x_234); +x_238 = lean_ctor_get(x_235, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_235, 1); lean_inc(x_239); -x_240 = lean_ctor_get(x_239, 3); +x_240 = lean_ctor_get(x_235, 2); lean_inc(x_240); -x_241 = lean_ctor_get(x_238, 1); -lean_inc(x_241); -lean_dec(x_238); -x_242 = lean_ctor_get(x_239, 0); +if (lean_is_exclusive(x_235)) { + lean_ctor_release(x_235, 0); + lean_ctor_release(x_235, 1); + lean_ctor_release(x_235, 2); + lean_ctor_release(x_235, 3); + x_241 = x_235; +} else { + lean_dec_ref(x_235); + x_241 = lean_box(0); +} +x_242 = lean_ctor_get(x_236, 0); lean_inc(x_242); -x_243 = lean_ctor_get(x_239, 1); -lean_inc(x_243); -x_244 = lean_ctor_get(x_239, 2); -lean_inc(x_244); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - lean_ctor_release(x_239, 2); - lean_ctor_release(x_239, 3); - x_245 = x_239; +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + x_243 = x_236; } else { - lean_dec_ref(x_239); - x_245 = lean_box(0); + lean_dec_ref(x_236); + x_243 = lean_box(0); } -x_246 = lean_ctor_get(x_240, 0); -lean_inc(x_246); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - x_247 = x_240; +if (lean_is_scalar(x_243)) { + x_244 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_240); - x_247 = lean_box(0); + x_244 = x_243; } -if (lean_is_scalar(x_247)) { - x_248 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set_uint8(x_244, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_241)) { + x_245 = lean_alloc_ctor(0, 4, 0); } else { - x_248 = x_247; + x_245 = x_241; } -lean_ctor_set(x_248, 0, x_246); -lean_ctor_set_uint8(x_248, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_245)) { - x_249 = lean_alloc_ctor(0, 4, 0); -} else { - x_249 = x_245; -} -lean_ctor_set(x_249, 0, x_242); -lean_ctor_set(x_249, 1, x_243); -lean_ctor_set(x_249, 2, x_244); -lean_ctor_set(x_249, 3, x_248); -x_250 = lean_st_ref_set(x_6, x_249, x_241); +lean_ctor_set(x_245, 0, x_238); +lean_ctor_set(x_245, 1, x_239); +lean_ctor_set(x_245, 2, x_240); +lean_ctor_set(x_245, 3, x_244); +x_246 = lean_st_ref_set(x_6, x_245, x_237); lean_dec(x_6); -x_251 = lean_ctor_get(x_250, 1); -lean_inc(x_251); -if (lean_is_exclusive(x_250)) { - lean_ctor_release(x_250, 0); - lean_ctor_release(x_250, 1); - x_252 = x_250; +x_247 = lean_ctor_get(x_246, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + x_248 = x_246; } else { - lean_dec_ref(x_250); - x_252 = lean_box(0); + lean_dec_ref(x_246); + x_248 = lean_box(0); } -if (lean_is_scalar(x_252)) { - x_253 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_248)) { + x_249 = lean_alloc_ctor(1, 2, 0); } else { - x_253 = x_252; - lean_ctor_set_tag(x_253, 1); + x_249 = x_248; + lean_ctor_set_tag(x_249, 1); } -lean_ctor_set(x_253, 0, x_234); -lean_ctor_set(x_253, 1, x_251); -return x_253; +lean_ctor_set(x_249, 0, x_230); +lean_ctor_set(x_249, 1, x_247); +return x_249; } -block_190: +block_188: { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_166 = lean_st_ref_get(x_6, x_165); -x_167 = lean_ctor_get(x_166, 0); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_164 = lean_st_ref_get(x_6, x_163); +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_167 = lean_ctor_get(x_165, 3); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = lean_ctor_get(x_167, 3); -lean_inc(x_169); +lean_dec(x_165); +x_168 = lean_ctor_get_uint8(x_167, sizeof(void*)*1); lean_dec(x_167); -x_170 = lean_ctor_get_uint8(x_169, sizeof(void*)*1); -lean_dec(x_169); -x_171 = lean_st_ref_take(x_6, x_168); -x_172 = lean_ctor_get(x_171, 0); +x_169 = lean_st_ref_take(x_6, x_166); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_170, 3); +lean_inc(x_171); +x_172 = lean_ctor_get(x_169, 1); lean_inc(x_172); -x_173 = lean_ctor_get(x_172, 3); +lean_dec(x_169); +x_173 = lean_ctor_get(x_170, 0); lean_inc(x_173); -x_174 = lean_ctor_get(x_171, 1); +x_174 = lean_ctor_get(x_170, 1); lean_inc(x_174); -lean_dec(x_171); -x_175 = lean_ctor_get(x_172, 0); +x_175 = lean_ctor_get(x_170, 2); lean_inc(x_175); -x_176 = lean_ctor_get(x_172, 1); -lean_inc(x_176); -x_177 = lean_ctor_get(x_172, 2); -lean_inc(x_177); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - lean_ctor_release(x_172, 2); - lean_ctor_release(x_172, 3); - x_178 = x_172; +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + lean_ctor_release(x_170, 2); + lean_ctor_release(x_170, 3); + x_176 = x_170; } else { - lean_dec_ref(x_172); + lean_dec_ref(x_170); + x_176 = lean_box(0); +} +x_177 = lean_ctor_get(x_171, 0); +lean_inc(x_177); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + x_178 = x_171; +} else { + lean_dec_ref(x_171); x_178 = lean_box(0); } -x_179 = lean_ctor_get(x_173, 0); -lean_inc(x_179); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - x_180 = x_173; -} else { - lean_dec_ref(x_173); - x_180 = lean_box(0); -} -if (lean_is_scalar(x_180)) { - x_181 = lean_alloc_ctor(0, 1, 1); -} else { - x_181 = x_180; -} -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set_uint8(x_181, sizeof(void*)*1, x_23); if (lean_is_scalar(x_178)) { - x_182 = lean_alloc_ctor(0, 4, 0); + x_179 = lean_alloc_ctor(0, 1, 1); } else { - x_182 = x_178; + x_179 = x_178; } -lean_ctor_set(x_182, 0, x_175); -lean_ctor_set(x_182, 1, x_176); -lean_ctor_set(x_182, 2, x_177); -lean_ctor_set(x_182, 3, x_181); -x_183 = lean_st_ref_set(x_6, x_182, x_174); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set_uint8(x_179, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_176)) { + x_180 = lean_alloc_ctor(0, 4, 0); +} else { + x_180 = x_176; +} +lean_ctor_set(x_180, 0, x_173); +lean_ctor_set(x_180, 1, x_174); +lean_ctor_set(x_180, 2, x_175); +lean_ctor_set(x_180, 3, x_179); +x_181 = lean_st_ref_set(x_6, x_180, x_172); lean_dec(x_6); -x_184 = lean_ctor_get(x_183, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_185 = x_183; +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_183 = x_181; } else { - lean_dec_ref(x_183); - x_185 = lean_box(0); + lean_dec_ref(x_181); + x_183 = lean_box(0); } -x_186 = lean_box(x_164); -x_187 = lean_box(x_170); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -if (lean_is_scalar(x_185)) { - x_189 = lean_alloc_ctor(0, 2, 0); +x_184 = lean_box(x_162); +x_185 = lean_box(x_168); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +if (lean_is_scalar(x_183)) { + x_187 = lean_alloc_ctor(0, 2, 0); } else { - x_189 = x_185; + x_187 = x_183; } -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_184); -x_8 = x_189; +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_182); +x_8 = x_187; goto block_16; } } } else { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; lean_object* x_265; uint8_t x_291; lean_object* x_292; -x_254 = lean_ctor_get(x_25, 0); -x_255 = lean_ctor_get(x_25, 1); -x_256 = lean_ctor_get(x_25, 2); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); +lean_object* 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; uint8_t x_260; lean_object* x_261; uint8_t x_287; lean_object* x_288; +x_250 = lean_ctor_get(x_25, 0); +x_251 = lean_ctor_get(x_25, 1); +x_252 = lean_ctor_get(x_25, 2); +lean_inc(x_252); +lean_inc(x_251); +lean_inc(x_250); lean_dec(x_25); -x_257 = lean_ctor_get(x_26, 0); -lean_inc(x_257); +x_253 = lean_ctor_get(x_26, 0); +lean_inc(x_253); if (lean_is_exclusive(x_26)) { lean_ctor_release(x_26, 0); - x_258 = x_26; + x_254 = x_26; } else { lean_dec_ref(x_26); - x_258 = lean_box(0); + x_254 = lean_box(0); } -x_259 = 0; -if (lean_is_scalar(x_258)) { - x_260 = lean_alloc_ctor(0, 1, 1); +x_255 = 0; +if (lean_is_scalar(x_254)) { + x_256 = lean_alloc_ctor(0, 1, 1); } else { - x_260 = x_258; + x_256 = x_254; } -lean_ctor_set(x_260, 0, x_257); -lean_ctor_set_uint8(x_260, sizeof(void*)*1, x_259); -x_261 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_261, 0, x_254); -lean_ctor_set(x_261, 1, x_255); -lean_ctor_set(x_261, 2, x_256); -lean_ctor_set(x_261, 3, x_260); -x_262 = lean_st_ref_set(x_6, x_261, x_27); -x_263 = lean_ctor_get(x_262, 1); -lean_inc(x_263); -lean_dec(x_262); -x_291 = 1; +lean_ctor_set(x_256, 0, x_253); +lean_ctor_set_uint8(x_256, sizeof(void*)*1, x_255); +x_257 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_257, 0, x_250); +lean_ctor_set(x_257, 1, x_251); +lean_ctor_set(x_257, 2, x_252); +lean_ctor_set(x_257, 3, x_256); +x_258 = lean_st_ref_set(x_6, x_257, x_27); +x_259 = lean_ctor_get(x_258, 1); +lean_inc(x_259); +lean_dec(x_258); +x_287 = 1; 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_292 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(x_1, x_2, x_291, x_3, x_4, x_5, x_6, x_263); -if (lean_obj_tag(x_292) == 0) +x_288 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__1(x_1, x_2, x_287, x_3, x_4, x_5, x_6, x_259); +if (lean_obj_tag(x_288) == 0) { -lean_object* x_293; lean_object* x_294; uint8_t x_295; lean_object* x_296; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); -x_323 = lean_st_ref_get(x_6, x_294); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_324, 3); -lean_inc(x_325); -lean_dec(x_324); -x_326 = lean_ctor_get_uint8(x_325, sizeof(void*)*1); -lean_dec(x_325); -if (x_326 == 0) -{ -lean_object* x_327; -x_327 = lean_ctor_get(x_323, 1); -lean_inc(x_327); -lean_dec(x_323); -x_295 = x_259; -x_296 = x_327; -goto block_322; -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint8_t x_333; -x_328 = lean_ctor_get(x_323, 1); -lean_inc(x_328); -lean_dec(x_323); -x_329 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_330 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_329, x_3, x_4, x_5, x_6, x_328); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = lean_unbox(x_331); -lean_dec(x_331); -x_295 = x_333; -x_296 = x_332; -goto block_322; -} -block_322: -{ -if (x_295 == 0) -{ -uint8_t x_297; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_297 = lean_unbox(x_293); -lean_dec(x_293); -x_264 = x_297; -x_265 = x_296; -goto block_290; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; -x_298 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_298, 0, x_1); -x_299 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_300 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_302 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_302, 0, x_300); -lean_ctor_set(x_302, 1, x_301); -x_303 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_303, 0, x_2); -x_304 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_304, 0, x_302); -lean_ctor_set(x_304, 1, x_303); -x_305 = l_Lean_Meta_isLevelDefEq___closed__2; -x_306 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -x_307 = lean_unbox(x_293); -if (x_307 == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; -x_308 = l_Lean_Meta_isLevelDefEq___closed__4; -x_309 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_309, 0, x_306); -lean_ctor_set(x_309, 1, x_308); -x_310 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_299); -x_311 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_312 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_311, x_310, x_3, x_4, x_5, x_6, x_296); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_313 = lean_ctor_get(x_312, 1); -lean_inc(x_313); -lean_dec(x_312); -x_314 = lean_unbox(x_293); -lean_dec(x_293); -x_264 = x_314; -x_265 = x_313; -goto block_290; -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; -x_315 = l_Lean_Meta_isLevelDefEq___closed__6; -x_316 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_316, 0, x_306); -lean_ctor_set(x_316, 1, x_315); -x_317 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_299); -x_318 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_319 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_318, x_317, x_3, x_4, x_5, x_6, x_296); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_320 = lean_ctor_get(x_319, 1); +lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; lean_object* x_293; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; +x_289 = lean_ctor_get(x_288, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_288, 1); +lean_inc(x_290); +lean_dec(x_288); +x_291 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_318 = lean_st_ref_get(x_6, x_290); +x_319 = lean_ctor_get(x_318, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_319, 3); lean_inc(x_320); lean_dec(x_319); -x_321 = lean_unbox(x_293); -lean_dec(x_293); -x_264 = x_321; -x_265 = x_320; -goto block_290; +x_321 = lean_ctor_get_uint8(x_320, sizeof(void*)*1); +lean_dec(x_320); +if (x_321 == 0) +{ +lean_object* x_322; +x_322 = lean_ctor_get(x_318, 1); +lean_inc(x_322); +lean_dec(x_318); +x_292 = x_255; +x_293 = x_322; +goto block_317; +} +else +{ +lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_323 = lean_ctor_get(x_318, 1); +lean_inc(x_323); +lean_dec(x_318); +x_324 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_291, x_3, x_4, x_5, x_6, x_323); +x_325 = lean_ctor_get(x_324, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_324, 1); +lean_inc(x_326); +lean_dec(x_324); +x_327 = lean_unbox(x_325); +lean_dec(x_325); +x_292 = x_327; +x_293 = x_326; +goto block_317; +} +block_317: +{ +if (x_292 == 0) +{ +uint8_t x_294; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_294 = lean_unbox(x_289); +lean_dec(x_289); +x_260 = x_294; +x_261 = x_293; +goto block_286; +} +else +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; +x_295 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_295, 0, x_1); +x_296 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_297 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_295); +x_298 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_299 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_299, 0, x_297); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_300, 0, x_2); +x_301 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_301, 0, x_299); +lean_ctor_set(x_301, 1, x_300); +x_302 = l_Lean_Meta_isLevelDefEq___closed__2; +x_303 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_302); +x_304 = lean_unbox(x_289); +if (x_304 == 0) +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; +x_305 = l_Lean_Meta_isLevelDefEq___closed__4; +x_306 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_306, 0, x_303); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_296); +x_308 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_291, x_307, x_3, x_4, x_5, x_6, x_293); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_309 = lean_ctor_get(x_308, 1); +lean_inc(x_309); +lean_dec(x_308); +x_310 = lean_unbox(x_289); +lean_dec(x_289); +x_260 = x_310; +x_261 = x_309; +goto block_286; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_311 = l_Lean_Meta_isLevelDefEq___closed__6; +x_312 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_312, 0, x_303); +lean_ctor_set(x_312, 1, x_311); +x_313 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_296); +x_314 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_291, x_313, x_3, x_4, x_5, x_6, x_293); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_315 = lean_ctor_get(x_314, 1); +lean_inc(x_315); +lean_dec(x_314); +x_316 = lean_unbox(x_289); +lean_dec(x_289); +x_260 = x_316; +x_261 = x_315; +goto block_286; } } } } 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; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_334 = lean_ctor_get(x_292, 0); +x_328 = lean_ctor_get(x_288, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_288, 1); +lean_inc(x_329); +lean_dec(x_288); +x_330 = lean_st_ref_get(x_6, x_329); +x_331 = lean_ctor_get(x_330, 1); +lean_inc(x_331); +lean_dec(x_330); +x_332 = lean_st_ref_take(x_6, x_331); +x_333 = lean_ctor_get(x_332, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_333, 3); lean_inc(x_334); -x_335 = lean_ctor_get(x_292, 1); +x_335 = lean_ctor_get(x_332, 1); lean_inc(x_335); -lean_dec(x_292); -x_336 = lean_st_ref_get(x_6, x_335); -x_337 = lean_ctor_get(x_336, 1); +lean_dec(x_332); +x_336 = lean_ctor_get(x_333, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_333, 1); lean_inc(x_337); -lean_dec(x_336); -x_338 = lean_st_ref_take(x_6, x_337); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_339, 3); +x_338 = lean_ctor_get(x_333, 2); +lean_inc(x_338); +if (lean_is_exclusive(x_333)) { + lean_ctor_release(x_333, 0); + lean_ctor_release(x_333, 1); + lean_ctor_release(x_333, 2); + lean_ctor_release(x_333, 3); + x_339 = x_333; +} else { + lean_dec_ref(x_333); + x_339 = lean_box(0); +} +x_340 = lean_ctor_get(x_334, 0); lean_inc(x_340); -x_341 = lean_ctor_get(x_338, 1); -lean_inc(x_341); -lean_dec(x_338); -x_342 = lean_ctor_get(x_339, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_339, 1); -lean_inc(x_343); -x_344 = lean_ctor_get(x_339, 2); -lean_inc(x_344); -if (lean_is_exclusive(x_339)) { - lean_ctor_release(x_339, 0); - lean_ctor_release(x_339, 1); - lean_ctor_release(x_339, 2); - lean_ctor_release(x_339, 3); - x_345 = x_339; +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + x_341 = x_334; } else { - lean_dec_ref(x_339); - x_345 = lean_box(0); + lean_dec_ref(x_334); + x_341 = lean_box(0); } -x_346 = lean_ctor_get(x_340, 0); -lean_inc(x_346); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - x_347 = x_340; +if (lean_is_scalar(x_341)) { + x_342 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_340); - x_347 = lean_box(0); + x_342 = x_341; } -if (lean_is_scalar(x_347)) { - x_348 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_342, 0, x_340); +lean_ctor_set_uint8(x_342, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_339)) { + x_343 = lean_alloc_ctor(0, 4, 0); } else { - x_348 = x_347; + x_343 = x_339; } -lean_ctor_set(x_348, 0, x_346); -lean_ctor_set_uint8(x_348, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_345)) { - x_349 = lean_alloc_ctor(0, 4, 0); -} else { - x_349 = x_345; -} -lean_ctor_set(x_349, 0, x_342); -lean_ctor_set(x_349, 1, x_343); -lean_ctor_set(x_349, 2, x_344); -lean_ctor_set(x_349, 3, x_348); -x_350 = lean_st_ref_set(x_6, x_349, x_341); +lean_ctor_set(x_343, 0, x_336); +lean_ctor_set(x_343, 1, x_337); +lean_ctor_set(x_343, 2, x_338); +lean_ctor_set(x_343, 3, x_342); +x_344 = lean_st_ref_set(x_6, x_343, x_335); lean_dec(x_6); -x_351 = lean_ctor_get(x_350, 1); -lean_inc(x_351); -if (lean_is_exclusive(x_350)) { - lean_ctor_release(x_350, 0); - lean_ctor_release(x_350, 1); - x_352 = x_350; +x_345 = lean_ctor_get(x_344, 1); +lean_inc(x_345); +if (lean_is_exclusive(x_344)) { + lean_ctor_release(x_344, 0); + lean_ctor_release(x_344, 1); + x_346 = x_344; } else { - lean_dec_ref(x_350); - x_352 = lean_box(0); + lean_dec_ref(x_344); + x_346 = lean_box(0); } -if (lean_is_scalar(x_352)) { - x_353 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_346)) { + x_347 = lean_alloc_ctor(1, 2, 0); } else { - x_353 = x_352; - lean_ctor_set_tag(x_353, 1); + x_347 = x_346; + lean_ctor_set_tag(x_347, 1); } -lean_ctor_set(x_353, 0, x_334); -lean_ctor_set(x_353, 1, x_351); -return x_353; +lean_ctor_set(x_347, 0, x_328); +lean_ctor_set(x_347, 1, x_345); +return x_347; } -block_290: +block_286: { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_266 = lean_st_ref_get(x_6, x_265); -x_267 = lean_ctor_get(x_266, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_266, 1); +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_262 = lean_st_ref_get(x_6, x_261); +x_263 = lean_ctor_get(x_262, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +lean_dec(x_262); +x_265 = lean_ctor_get(x_263, 3); +lean_inc(x_265); +lean_dec(x_263); +x_266 = lean_ctor_get_uint8(x_265, sizeof(void*)*1); +lean_dec(x_265); +x_267 = lean_st_ref_take(x_6, x_264); +x_268 = lean_ctor_get(x_267, 0); lean_inc(x_268); -lean_dec(x_266); -x_269 = lean_ctor_get(x_267, 3); +x_269 = lean_ctor_get(x_268, 3); lean_inc(x_269); +x_270 = lean_ctor_get(x_267, 1); +lean_inc(x_270); lean_dec(x_267); -x_270 = lean_ctor_get_uint8(x_269, sizeof(void*)*1); -lean_dec(x_269); -x_271 = lean_st_ref_take(x_6, x_268); -x_272 = lean_ctor_get(x_271, 0); +x_271 = lean_ctor_get(x_268, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_268, 1); lean_inc(x_272); -x_273 = lean_ctor_get(x_272, 3); +x_273 = lean_ctor_get(x_268, 2); lean_inc(x_273); -x_274 = lean_ctor_get(x_271, 1); -lean_inc(x_274); -lean_dec(x_271); -x_275 = lean_ctor_get(x_272, 0); +if (lean_is_exclusive(x_268)) { + lean_ctor_release(x_268, 0); + lean_ctor_release(x_268, 1); + lean_ctor_release(x_268, 2); + lean_ctor_release(x_268, 3); + x_274 = x_268; +} else { + lean_dec_ref(x_268); + x_274 = lean_box(0); +} +x_275 = lean_ctor_get(x_269, 0); lean_inc(x_275); -x_276 = lean_ctor_get(x_272, 1); -lean_inc(x_276); -x_277 = lean_ctor_get(x_272, 2); -lean_inc(x_277); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - lean_ctor_release(x_272, 2); - lean_ctor_release(x_272, 3); - x_278 = x_272; +if (lean_is_exclusive(x_269)) { + lean_ctor_release(x_269, 0); + x_276 = x_269; } else { - lean_dec_ref(x_272); - x_278 = lean_box(0); + lean_dec_ref(x_269); + x_276 = lean_box(0); } -x_279 = lean_ctor_get(x_273, 0); -lean_inc(x_279); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - x_280 = x_273; +if (lean_is_scalar(x_276)) { + x_277 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_273); - x_280 = lean_box(0); + x_277 = x_276; } -if (lean_is_scalar(x_280)) { - x_281 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_277, 0, x_275); +lean_ctor_set_uint8(x_277, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_274)) { + x_278 = lean_alloc_ctor(0, 4, 0); } else { - x_281 = x_280; + x_278 = x_274; } -lean_ctor_set(x_281, 0, x_279); -lean_ctor_set_uint8(x_281, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_278)) { - x_282 = lean_alloc_ctor(0, 4, 0); -} else { - x_282 = x_278; -} -lean_ctor_set(x_282, 0, x_275); -lean_ctor_set(x_282, 1, x_276); -lean_ctor_set(x_282, 2, x_277); -lean_ctor_set(x_282, 3, x_281); -x_283 = lean_st_ref_set(x_6, x_282, x_274); +lean_ctor_set(x_278, 0, x_271); +lean_ctor_set(x_278, 1, x_272); +lean_ctor_set(x_278, 2, x_273); +lean_ctor_set(x_278, 3, x_277); +x_279 = lean_st_ref_set(x_6, x_278, x_270); lean_dec(x_6); -x_284 = lean_ctor_get(x_283, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_285 = x_283; +x_280 = lean_ctor_get(x_279, 1); +lean_inc(x_280); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_281 = x_279; } else { - lean_dec_ref(x_283); - x_285 = lean_box(0); + lean_dec_ref(x_279); + x_281 = lean_box(0); } -x_286 = lean_box(x_264); -x_287 = lean_box(x_270); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -if (lean_is_scalar(x_285)) { - x_289 = lean_alloc_ctor(0, 2, 0); +x_282 = lean_box(x_260); +x_283 = lean_box(x_266); +x_284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +if (lean_is_scalar(x_281)) { + x_285 = lean_alloc_ctor(0, 2, 0); } else { - x_289 = x_285; + x_285 = x_281; } -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_284); -x_8 = x_289; +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_280); +x_8 = x_285; goto block_16; } } } else { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; lean_object* x_359; uint8_t x_369; lean_object* x_370; -x_354 = lean_ctor_get(x_5, 3); -lean_inc(x_354); -x_355 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_18); -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); -lean_inc(x_357); -lean_dec(x_355); -x_369 = 1; +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_353; +x_348 = lean_ctor_get(x_5, 3); +lean_inc(x_348); +x_349 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_18); +x_350 = lean_ctor_get(x_349, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_349, 1); +lean_inc(x_351); +lean_dec(x_349); +x_352 = 1; 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_370 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__2(x_1, x_2, x_369, x_3, x_4, x_5, x_6, x_357); -if (lean_obj_tag(x_370) == 0) +x_353 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__2(x_1, x_2, x_352, x_3, x_4, x_5, x_6, x_351); +if (lean_obj_tag(x_353) == 0) { -lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_401 = lean_st_ref_get(x_6, x_372); -x_402 = lean_ctor_get(x_401, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_402, 3); -lean_inc(x_403); -lean_dec(x_402); -x_404 = lean_ctor_get_uint8(x_403, sizeof(void*)*1); -lean_dec(x_403); -if (x_404 == 0) +lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; lean_object* x_358; lean_object* x_395; lean_object* x_396; lean_object* x_397; uint8_t x_398; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec(x_353); +x_356 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_395 = lean_st_ref_get(x_6, x_355); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_396, 3); +lean_inc(x_397); +lean_dec(x_396); +x_398 = lean_ctor_get_uint8(x_397, sizeof(void*)*1); +lean_dec(x_397); +if (x_398 == 0) { -lean_object* x_405; uint8_t x_406; -x_405 = lean_ctor_get(x_401, 1); -lean_inc(x_405); -lean_dec(x_401); -x_406 = 0; -x_373 = x_406; -x_374 = x_405; -goto block_400; +lean_object* x_399; uint8_t x_400; +x_399 = lean_ctor_get(x_395, 1); +lean_inc(x_399); +lean_dec(x_395); +x_400 = 0; +x_357 = x_400; +x_358 = x_399; +goto block_394; } else { -lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; -x_407 = lean_ctor_get(x_401, 1); -lean_inc(x_407); -lean_dec(x_401); -x_408 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_409 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_408, x_3, x_4, x_5, x_6, x_407); -x_410 = lean_ctor_get(x_409, 0); -lean_inc(x_410); -x_411 = lean_ctor_get(x_409, 1); -lean_inc(x_411); -lean_dec(x_409); -x_412 = lean_unbox(x_410); -lean_dec(x_410); -x_373 = x_412; -x_374 = x_411; -goto block_400; +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; +x_401 = lean_ctor_get(x_395, 1); +lean_inc(x_401); +lean_dec(x_395); +x_402 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_356, x_3, x_4, x_5, x_6, x_401); +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = lean_unbox(x_403); +lean_dec(x_403); +x_357 = x_405; +x_358 = x_404; +goto block_394; } -block_400: +block_394: { +if (x_357 == 0) +{ +lean_object* x_359; uint8_t x_360; +lean_dec(x_2); +lean_dec(x_1); +x_359 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_350, x_356, x_348, x_3, x_4, x_5, x_6, x_358); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_360 = !lean_is_exclusive(x_359); +if (x_360 == 0) +{ +lean_object* x_361; +x_361 = lean_ctor_get(x_359, 0); +lean_dec(x_361); +lean_ctor_set(x_359, 0, x_354); +return x_359; +} +else +{ +lean_object* x_362; lean_object* x_363; +x_362 = lean_ctor_get(x_359, 1); +lean_inc(x_362); +lean_dec(x_359); +x_363 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_363, 0, x_354); +lean_ctor_set(x_363, 1, x_362); +return x_363; +} +} +else +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; +x_364 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_364, 0, x_1); +x_365 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_366 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_368 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_368, 0, x_366); +lean_ctor_set(x_368, 1, x_367); +x_369 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_369, 0, x_2); +x_370 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_370, 0, x_368); +lean_ctor_set(x_370, 1, x_369); +x_371 = l_Lean_Meta_isLevelDefEq___closed__2; +x_372 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_372, 0, x_370); +lean_ctor_set(x_372, 1, x_371); +x_373 = lean_unbox(x_354); if (x_373 == 0) { -uint8_t x_375; -lean_dec(x_2); -lean_dec(x_1); -x_375 = lean_unbox(x_371); -lean_dec(x_371); -x_358 = x_375; -x_359 = x_374; -goto block_368; -} -else -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; uint8_t x_385; -x_376 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_376, 0, x_1); -x_377 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_378 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_376); -x_379 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_380 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_380, 0, x_378); -lean_ctor_set(x_380, 1, x_379); -x_381 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_381, 0, x_2); -x_382 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_Lean_Meta_isLevelDefEq___closed__2; -x_384 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_384, 0, x_382); -lean_ctor_set(x_384, 1, x_383); -x_385 = lean_unbox(x_371); -if (x_385 == 0) -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; uint8_t x_392; -x_386 = l_Lean_Meta_isLevelDefEq___closed__4; -x_387 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_387, 0, x_384); -lean_ctor_set(x_387, 1, x_386); -x_388 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_377); -x_389 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_390 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_389, x_388, x_3, x_4, x_5, x_6, x_374); -x_391 = lean_ctor_get(x_390, 1); -lean_inc(x_391); -lean_dec(x_390); -x_392 = lean_unbox(x_371); -lean_dec(x_371); -x_358 = x_392; -x_359 = x_391; -goto block_368; -} -else -{ -lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; -x_393 = l_Lean_Meta_isLevelDefEq___closed__6; -x_394 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_394, 0, x_384); -lean_ctor_set(x_394, 1, x_393); -x_395 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_377); -x_396 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_397 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_396, x_395, x_3, x_4, x_5, x_6, x_374); -x_398 = lean_ctor_get(x_397, 1); -lean_inc(x_398); -lean_dec(x_397); -x_399 = lean_unbox(x_371); -lean_dec(x_371); -x_358 = x_399; -x_359 = x_398; -goto block_368; -} -} -} -} -else -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; -lean_dec(x_2); -lean_dec(x_1); -x_413 = lean_ctor_get(x_370, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_370, 1); -lean_inc(x_414); -lean_dec(x_370); -x_415 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_416 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_356, x_415, x_354, x_3, x_4, x_5, x_6, x_414); +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; uint8_t x_380; +x_374 = l_Lean_Meta_isLevelDefEq___closed__4; +x_375 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_375, 0, x_372); +lean_ctor_set(x_375, 1, x_374); +x_376 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_365); +x_377 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_356, x_376, x_3, x_4, x_5, x_6, x_358); +x_378 = lean_ctor_get(x_377, 1); +lean_inc(x_378); +lean_dec(x_377); +x_379 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_350, x_356, x_348, x_3, x_4, x_5, x_6, x_378); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_417 = !lean_is_exclusive(x_416); -if (x_417 == 0) +x_380 = !lean_is_exclusive(x_379); +if (x_380 == 0) { -lean_object* x_418; -x_418 = lean_ctor_get(x_416, 0); -lean_dec(x_418); -lean_ctor_set_tag(x_416, 1); -lean_ctor_set(x_416, 0, x_413); -return x_416; +lean_object* x_381; +x_381 = lean_ctor_get(x_379, 0); +lean_dec(x_381); +lean_ctor_set(x_379, 0, x_354); +return x_379; } else { -lean_object* x_419; lean_object* x_420; -x_419 = lean_ctor_get(x_416, 1); -lean_inc(x_419); -lean_dec(x_416); -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_413); -lean_ctor_set(x_420, 1, x_419); -return x_420; +lean_object* x_382; lean_object* x_383; +x_382 = lean_ctor_get(x_379, 1); +lean_inc(x_382); +lean_dec(x_379); +x_383 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_383, 0, x_354); +lean_ctor_set(x_383, 1, x_382); +return x_383; } } -block_368: +else { -lean_object* x_360; lean_object* x_361; uint8_t x_362; -x_360 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; -x_361 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_356, x_360, x_354, x_3, x_4, x_5, x_6, x_359); +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; +x_384 = l_Lean_Meta_isLevelDefEq___closed__6; +x_385 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_385, 0, x_372); +lean_ctor_set(x_385, 1, x_384); +x_386 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_365); +x_387 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_356, x_386, x_3, x_4, x_5, x_6, x_358); +x_388 = lean_ctor_get(x_387, 1); +lean_inc(x_388); +lean_dec(x_387); +x_389 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_350, x_356, x_348, x_3, x_4, x_5, x_6, x_388); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_362 = !lean_is_exclusive(x_361); -if (x_362 == 0) +x_390 = !lean_is_exclusive(x_389); +if (x_390 == 0) { -lean_object* x_363; lean_object* x_364; -x_363 = lean_ctor_get(x_361, 0); -lean_dec(x_363); -x_364 = lean_box(x_358); -lean_ctor_set(x_361, 0, x_364); -return x_361; +lean_object* x_391; +x_391 = lean_ctor_get(x_389, 0); +lean_dec(x_391); +lean_ctor_set(x_389, 0, x_354); +return x_389; } else { -lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_365 = lean_ctor_get(x_361, 1); -lean_inc(x_365); -lean_dec(x_361); -x_366 = lean_box(x_358); -x_367 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_365); -return x_367; +lean_object* x_392; lean_object* x_393; +x_392 = lean_ctor_get(x_389, 1); +lean_inc(x_392); +lean_dec(x_389); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_354); +lean_ctor_set(x_393, 1, x_392); +return x_393; +} +} +} +} +} +else +{ +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; +lean_dec(x_2); +lean_dec(x_1); +x_406 = lean_ctor_get(x_353, 0); +lean_inc(x_406); +x_407 = lean_ctor_get(x_353, 1); +lean_inc(x_407); +lean_dec(x_353); +x_408 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__4; +x_409 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_350, x_408, x_348, x_3, x_4, x_5, x_6, x_407); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_410 = !lean_is_exclusive(x_409); +if (x_410 == 0) +{ +lean_object* x_411; +x_411 = lean_ctor_get(x_409, 0); +lean_dec(x_411); +lean_ctor_set_tag(x_409, 1); +lean_ctor_set(x_409, 0, x_406); +return x_409; +} +else +{ +lean_object* x_412; lean_object* x_413; +x_412 = lean_ctor_get(x_409, 1); +lean_inc(x_412); +lean_dec(x_409); +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_406); +lean_ctor_set(x_413, 1, x_412); +return x_413; } } } @@ -29192,44 +17022,44 @@ return x_3; lean_object* l_Lean_Meta_isExprDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; -x_517 = lean_st_ref_get(x_6, x_7); -x_518 = lean_ctor_get(x_517, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_518, 3); -lean_inc(x_519); -lean_dec(x_518); -x_520 = lean_ctor_get_uint8(x_519, sizeof(void*)*1); -lean_dec(x_519); -if (x_520 == 0) +lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; +x_508 = lean_st_ref_get(x_6, x_7); +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_509, 3); +lean_inc(x_510); +lean_dec(x_509); +x_511 = lean_ctor_get_uint8(x_510, sizeof(void*)*1); +lean_dec(x_510); +if (x_511 == 0) { -lean_object* x_521; uint8_t x_522; -x_521 = lean_ctor_get(x_517, 1); -lean_inc(x_521); -lean_dec(x_517); -x_522 = 0; -x_17 = x_522; -x_18 = x_521; -goto block_516; +lean_object* x_512; uint8_t x_513; +x_512 = lean_ctor_get(x_508, 1); +lean_inc(x_512); +lean_dec(x_508); +x_513 = 0; +x_17 = x_513; +x_18 = x_512; +goto block_507; } else { -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; uint8_t x_528; -x_523 = lean_ctor_get(x_517, 1); -lean_inc(x_523); +lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; +x_514 = lean_ctor_get(x_508, 1); +lean_inc(x_514); +lean_dec(x_508); +x_515 = l_Lean_Meta_isExprDefEq___closed__2; +x_516 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_515, x_3, x_4, x_5, x_6, x_514); +x_517 = lean_ctor_get(x_516, 0); +lean_inc(x_517); +x_518 = lean_ctor_get(x_516, 1); +lean_inc(x_518); +lean_dec(x_516); +x_519 = lean_unbox(x_517); lean_dec(x_517); -x_524 = l_Lean_Meta_isExprDefEq___closed__2; -x_525 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_524, x_3, x_4, x_5, x_6, x_523); -x_526 = lean_ctor_get(x_525, 0); -lean_inc(x_526); -x_527 = lean_ctor_get(x_525, 1); -lean_inc(x_527); -lean_dec(x_525); -x_528 = lean_unbox(x_526); -lean_dec(x_526); -x_17 = x_528; -x_18 = x_527; -goto block_516; +x_17 = x_519; +x_18 = x_518; +goto block_507; } block_16: { @@ -29262,7 +17092,7 @@ lean_ctor_set(x_15, 1, x_13); return x_15; } } -block_516: +block_507: { if (x_17 == 0) { @@ -29332,100 +17162,99 @@ lean_inc(x_1); x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_89, x_3, x_4, x_5, x_6, x_33); if (lean_obj_tag(x_90) == 0) { -lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); x_92 = lean_ctor_get(x_90, 1); lean_inc(x_92); lean_dec(x_90); -x_121 = lean_st_ref_get(x_6, x_92); -x_122 = lean_ctor_get(x_121, 0); +x_93 = l_Lean_Meta_isExprDefEq___closed__2; +x_120 = lean_st_ref_get(x_6, x_92); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_121, 3); lean_inc(x_122); -x_123 = lean_ctor_get(x_122, 3); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_ctor_get_uint8(x_123, sizeof(void*)*1); -lean_dec(x_123); -if (x_124 == 0) -{ -lean_object* x_125; -x_125 = lean_ctor_get(x_121, 1); -lean_inc(x_125); lean_dec(x_121); -x_93 = x_31; -x_94 = x_125; -goto block_120; +x_123 = lean_ctor_get_uint8(x_122, sizeof(void*)*1); +lean_dec(x_122); +if (x_123 == 0) +{ +lean_object* x_124; +x_124 = lean_ctor_get(x_120, 1); +lean_inc(x_124); +lean_dec(x_120); +x_94 = x_31; +x_95 = x_124; +goto block_119; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_126 = lean_ctor_get(x_121, 1); -lean_inc(x_126); -lean_dec(x_121); -x_127 = l_Lean_Meta_isExprDefEq___closed__2; -x_128 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_127, x_3, x_4, x_5, x_6, x_126); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_unbox(x_129); -lean_dec(x_129); -x_93 = x_131; -x_94 = x_130; -goto block_120; +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_125 = lean_ctor_get(x_120, 1); +lean_inc(x_125); +lean_dec(x_120); +x_126 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_93, x_3, x_4, x_5, x_6, x_125); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_unbox(x_127); +lean_dec(x_127); +x_94 = x_129; +x_95 = x_128; +goto block_119; } -block_120: +block_119: { -if (x_93 == 0) +if (x_94 == 0) { -uint8_t x_95; +uint8_t x_96; lean_dec(x_3); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_95 = lean_unbox(x_91); +x_96 = lean_unbox(x_91); lean_dec(x_91); -x_34 = x_95; -x_35 = x_94; +x_34 = x_96; +x_35 = x_95; goto block_82; } else { -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; uint8_t x_105; -x_96 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_96, 0, x_1); -x_97 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -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 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_101, 0, x_2); -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_Meta_isLevelDefEq___closed__2; -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_unbox(x_91); -if (x_105 == 0) +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; uint8_t x_106; +x_97 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_97, 0, x_1); +x_98 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +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(2, 1, 0); +lean_ctor_set(x_102, 0, x_2); +x_103 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Meta_isLevelDefEq___closed__2; +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_unbox(x_91); +if (x_106 == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_106 = l_Lean_Meta_isLevelDefEq___closed__4; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_106); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_107 = l_Lean_Meta_isLevelDefEq___closed__4; x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_97); -x_109 = l_Lean_Meta_isExprDefEq___closed__2; -x_110 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_109, x_108, x_3, x_4, x_5, x_6, x_94); +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_98); +x_110 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_93, x_109, x_3, x_4, x_5, x_6, x_95); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -29440,26 +17269,25 @@ goto block_82; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; x_113 = l_Lean_Meta_isLevelDefEq___closed__6; x_114 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_114, 0, x_104); +lean_ctor_set(x_114, 0, x_105); lean_ctor_set(x_114, 1, x_113); x_115 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_97); -x_116 = l_Lean_Meta_isExprDefEq___closed__2; -x_117 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_116, x_115, x_3, x_4, x_5, x_6, x_94); +lean_ctor_set(x_115, 1, x_98); +x_116 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_93, x_115, x_3, x_4, x_5, x_6, x_95); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_unbox(x_91); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +lean_dec(x_116); +x_118 = lean_unbox(x_91); lean_dec(x_91); -x_34 = x_119; -x_35 = x_118; +x_34 = x_118; +x_35 = x_117; goto block_82; } } @@ -29467,316 +17295,314 @@ goto block_82; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_dec(x_3); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_132 = lean_ctor_get(x_90, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_90, 1); -lean_inc(x_133); +x_130 = lean_ctor_get(x_90, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_90, 1); +lean_inc(x_131); lean_dec(x_90); -x_134 = lean_st_ref_get(x_6, x_133); -x_135 = lean_ctor_get(x_134, 1); +x_132 = lean_st_ref_get(x_6, x_131); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_take(x_6, x_133); +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); -lean_dec(x_134); -x_136 = lean_st_ref_take(x_6, x_135); -x_137 = lean_ctor_get(x_136, 0); +x_136 = lean_ctor_get(x_135, 3); +lean_inc(x_136); +x_137 = lean_ctor_get(x_134, 1); lean_inc(x_137); -x_138 = lean_ctor_get(x_137, 3); -lean_inc(x_138); -x_139 = lean_ctor_get(x_136, 1); -lean_inc(x_139); -lean_dec(x_136); -x_140 = !lean_is_exclusive(x_137); +lean_dec(x_134); +x_138 = !lean_is_exclusive(x_135); +if (x_138 == 0) +{ +lean_object* x_139; uint8_t x_140; +x_139 = lean_ctor_get(x_135, 3); +lean_dec(x_139); +x_140 = !lean_is_exclusive(x_136); if (x_140 == 0) { lean_object* x_141; uint8_t x_142; -x_141 = lean_ctor_get(x_137, 3); -lean_dec(x_141); -x_142 = !lean_is_exclusive(x_138); +lean_ctor_set_uint8(x_136, sizeof(void*)*1, x_23); +x_141 = lean_st_ref_set(x_6, x_135, x_137); +lean_dec(x_6); +x_142 = !lean_is_exclusive(x_141); if (x_142 == 0) { -lean_object* x_143; uint8_t x_144; -lean_ctor_set_uint8(x_138, sizeof(void*)*1, x_23); -x_143 = lean_st_ref_set(x_6, x_137, x_139); -lean_dec(x_6); -x_144 = !lean_is_exclusive(x_143); -if (x_144 == 0) -{ -lean_object* x_145; -x_145 = lean_ctor_get(x_143, 0); -lean_dec(x_145); -lean_ctor_set_tag(x_143, 1); -lean_ctor_set(x_143, 0, x_132); -return x_143; -} -else -{ -lean_object* x_146; lean_object* x_147; -x_146 = lean_ctor_get(x_143, 1); -lean_inc(x_146); +lean_object* x_143; +x_143 = lean_ctor_get(x_141, 0); lean_dec(x_143); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_132); -lean_ctor_set(x_147, 1, x_146); -return x_147; +lean_ctor_set_tag(x_141, 1); +lean_ctor_set(x_141, 0, x_130); +return x_141; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_141, 1); +lean_inc(x_144); +lean_dec(x_141); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_130); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_148 = lean_ctor_get(x_138, 0); -lean_inc(x_148); -lean_dec(x_138); -x_149 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set_uint8(x_149, sizeof(void*)*1, x_23); -lean_ctor_set(x_137, 3, x_149); -x_150 = lean_st_ref_set(x_6, x_137, x_139); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_146 = lean_ctor_get(x_136, 0); +lean_inc(x_146); +lean_dec(x_136); +x_147 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set_uint8(x_147, sizeof(void*)*1, x_23); +lean_ctor_set(x_135, 3, x_147); +x_148 = lean_st_ref_set(x_6, x_135, x_137); lean_dec(x_6); -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; +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_150 = x_148; } else { - lean_dec_ref(x_150); - x_152 = lean_box(0); + lean_dec_ref(x_148); + x_150 = lean_box(0); } -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 2, 0); } else { - x_153 = x_152; - lean_ctor_set_tag(x_153, 1); + x_151 = x_150; + lean_ctor_set_tag(x_151, 1); } -lean_ctor_set(x_153, 0, x_132); -lean_ctor_set(x_153, 1, x_151); -return x_153; +lean_ctor_set(x_151, 0, x_130); +lean_ctor_set(x_151, 1, x_149); +return x_151; } } else { -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_137, 0); -x_155 = lean_ctor_get(x_137, 1); -x_156 = lean_ctor_get(x_137, 2); -lean_inc(x_156); -lean_inc(x_155); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_152 = lean_ctor_get(x_135, 0); +x_153 = lean_ctor_get(x_135, 1); +x_154 = lean_ctor_get(x_135, 2); lean_inc(x_154); -lean_dec(x_137); -x_157 = lean_ctor_get(x_138, 0); -lean_inc(x_157); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - x_158 = x_138; +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_135); +x_155 = lean_ctor_get(x_136, 0); +lean_inc(x_155); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + x_156 = x_136; } else { - lean_dec_ref(x_138); - x_158 = lean_box(0); + lean_dec_ref(x_136); + x_156 = lean_box(0); } -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(0, 1, 1); +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(0, 1, 1); } else { - x_159 = x_158; + x_157 = x_156; } -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set_uint8(x_159, sizeof(void*)*1, x_23); -x_160 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_160, 0, x_154); -lean_ctor_set(x_160, 1, x_155); -lean_ctor_set(x_160, 2, x_156); -lean_ctor_set(x_160, 3, x_159); -x_161 = lean_st_ref_set(x_6, x_160, x_139); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set_uint8(x_157, sizeof(void*)*1, x_23); +x_158 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_158, 0, x_152); +lean_ctor_set(x_158, 1, x_153); +lean_ctor_set(x_158, 2, x_154); +lean_ctor_set(x_158, 3, x_157); +x_159 = lean_st_ref_set(x_6, x_158, x_137); lean_dec(x_6); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_163 = x_161; +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_161 = x_159; } else { - lean_dec_ref(x_161); - x_163 = lean_box(0); + lean_dec_ref(x_159); + x_161 = lean_box(0); } -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(1, 2, 0); } else { - x_164 = x_163; - lean_ctor_set_tag(x_164, 1); + x_162 = x_161; + lean_ctor_set_tag(x_162, 1); } -lean_ctor_set(x_164, 0, x_132); -lean_ctor_set(x_164, 1, x_162); -return x_164; +lean_ctor_set(x_162, 0, x_130); +lean_ctor_set(x_162, 1, x_160); +return x_162; } } } 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; uint8_t x_171; lean_object* x_172; -x_165 = lean_ctor_get(x_3, 0); -x_166 = lean_ctor_get(x_3, 1); -x_167 = lean_ctor_get(x_3, 2); -lean_inc(x_167); -lean_inc(x_166); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; +x_163 = lean_ctor_get(x_3, 0); +x_164 = lean_ctor_get(x_3, 1); +x_165 = lean_ctor_get(x_3, 2); lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); lean_dec(x_3); -lean_inc(x_167); -lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); lean_inc(x_2); lean_inc(x_1); +x_166 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_166, 0, x_1); +lean_ctor_set(x_166, 1, x_2); +lean_ctor_set(x_166, 2, x_164); +lean_ctor_set(x_166, 3, x_165); +x_167 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_167, 0, x_166); x_168 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_168, 0, x_1); -lean_ctor_set(x_168, 1, x_2); -lean_ctor_set(x_168, 2, x_166); +lean_ctor_set(x_168, 0, x_163); +lean_ctor_set(x_168, 1, x_164); +lean_ctor_set(x_168, 2, x_165); lean_ctor_set(x_168, 3, x_167); -x_169 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_169, 0, x_168); -x_170 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_166); -lean_ctor_set(x_170, 2, x_167); -lean_ctor_set(x_170, 3, x_169); -x_171 = 1; +x_169 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_170); +lean_inc(x_168); lean_inc(x_2); lean_inc(x_1); -x_172 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_171, x_170, x_4, x_5, x_6, x_33); -if (lean_obj_tag(x_172) == 0) +x_170 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_169, x_168, x_4, x_5, x_6, x_33); +if (lean_obj_tag(x_170) == 0) { -lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_203 = lean_st_ref_get(x_6, x_174); -x_204 = lean_ctor_get(x_203, 0); +lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = l_Lean_Meta_isExprDefEq___closed__2; +x_200 = lean_st_ref_get(x_6, x_172); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_201, 3); +lean_inc(x_202); +lean_dec(x_201); +x_203 = lean_ctor_get_uint8(x_202, sizeof(void*)*1); +lean_dec(x_202); +if (x_203 == 0) +{ +lean_object* x_204; +x_204 = lean_ctor_get(x_200, 1); lean_inc(x_204); -x_205 = lean_ctor_get(x_204, 3); +lean_dec(x_200); +x_174 = x_31; +x_175 = x_204; +goto block_199; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_205 = lean_ctor_get(x_200, 1); lean_inc(x_205); -lean_dec(x_204); -x_206 = lean_ctor_get_uint8(x_205, sizeof(void*)*1); -lean_dec(x_205); -if (x_206 == 0) -{ -lean_object* x_207; -x_207 = lean_ctor_get(x_203, 1); +lean_dec(x_200); +x_206 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_173, x_168, x_4, x_5, x_6, x_205); +x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); -lean_dec(x_203); -x_175 = x_31; -x_176 = x_207; -goto block_202; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; -x_208 = lean_ctor_get(x_203, 1); +x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); -lean_dec(x_203); -x_209 = l_Lean_Meta_isExprDefEq___closed__2; -x_210 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_209, x_170, x_4, x_5, x_6, x_208); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -lean_dec(x_210); -x_213 = lean_unbox(x_211); -lean_dec(x_211); -x_175 = x_213; -x_176 = x_212; -goto block_202; +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_174 = x_209; +x_175 = x_208; +goto block_199; } -block_202: +block_199: { -if (x_175 == 0) +if (x_174 == 0) { -uint8_t x_177; -lean_dec(x_170); +uint8_t x_176; +lean_dec(x_168); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_177 = lean_unbox(x_173); -lean_dec(x_173); -x_34 = x_177; -x_35 = x_176; +x_176 = lean_unbox(x_171); +lean_dec(x_171); +x_34 = x_176; +x_35 = x_175; goto block_82; } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; -x_178 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_178, 0, x_1); -x_179 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_180 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -x_181 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_182 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_183, 0, x_2); -x_184 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_184, 0, x_182); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_Meta_isLevelDefEq___closed__2; -x_186 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_unbox(x_173); -if (x_187 == 0) +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_177 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_177, 0, x_1); +x_178 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_179 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_181 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_182, 0, x_2); +x_183 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +x_184 = l_Lean_Meta_isLevelDefEq___closed__2; +x_185 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_unbox(x_171); +if (x_186 == 0) { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_188 = l_Lean_Meta_isLevelDefEq___closed__4; +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_187 = l_Lean_Meta_isLevelDefEq___closed__4; +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_187); x_189 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_179); -x_191 = l_Lean_Meta_isExprDefEq___closed__2; -x_192 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_191, x_190, x_170, x_4, x_5, x_6, x_176); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_178); +x_190 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_173, x_189, x_168, x_4, x_5, x_6, x_175); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_170); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_194 = lean_unbox(x_173); -lean_dec(x_173); -x_34 = x_194; -x_35 = x_193; +lean_dec(x_168); +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +x_192 = lean_unbox(x_171); +lean_dec(x_171); +x_34 = x_192; +x_35 = x_191; goto block_82; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; -x_195 = l_Lean_Meta_isLevelDefEq___closed__6; -x_196 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_196, 0, x_186); -lean_ctor_set(x_196, 1, x_195); -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_179); -x_198 = l_Lean_Meta_isExprDefEq___closed__2; -x_199 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_198, x_197, x_170, x_4, x_5, x_6, x_176); +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_193 = l_Lean_Meta_isLevelDefEq___closed__6; +x_194 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_194, 0, x_185); +lean_ctor_set(x_194, 1, x_193); +x_195 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_178); +x_196 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_173, x_195, x_168, x_4, x_5, x_6, x_175); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_170); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_201 = lean_unbox(x_173); -lean_dec(x_173); -x_34 = x_201; -x_35 = x_200; +lean_dec(x_168); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +lean_dec(x_196); +x_198 = lean_unbox(x_171); +lean_dec(x_171); +x_34 = x_198; +x_35 = x_197; goto block_82; } } @@ -29784,91 +17610,91 @@ goto block_82; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -lean_dec(x_170); +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_168); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_214 = lean_ctor_get(x_172, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_172, 1); +x_210 = lean_ctor_get(x_170, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_170, 1); +lean_inc(x_211); +lean_dec(x_170); +x_212 = lean_st_ref_get(x_6, x_211); +x_213 = lean_ctor_get(x_212, 1); +lean_inc(x_213); +lean_dec(x_212); +x_214 = lean_st_ref_take(x_6, x_213); +x_215 = lean_ctor_get(x_214, 0); lean_inc(x_215); -lean_dec(x_172); -x_216 = lean_st_ref_get(x_6, x_215); -x_217 = lean_ctor_get(x_216, 1); +x_216 = lean_ctor_get(x_215, 3); +lean_inc(x_216); +x_217 = lean_ctor_get(x_214, 1); lean_inc(x_217); -lean_dec(x_216); -x_218 = lean_st_ref_take(x_6, x_217); -x_219 = lean_ctor_get(x_218, 0); +lean_dec(x_214); +x_218 = lean_ctor_get(x_215, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_215, 1); lean_inc(x_219); -x_220 = lean_ctor_get(x_219, 3); +x_220 = lean_ctor_get(x_215, 2); lean_inc(x_220); -x_221 = lean_ctor_get(x_218, 1); -lean_inc(x_221); -lean_dec(x_218); -x_222 = lean_ctor_get(x_219, 0); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + lean_ctor_release(x_215, 2); + lean_ctor_release(x_215, 3); + x_221 = x_215; +} else { + lean_dec_ref(x_215); + x_221 = lean_box(0); +} +x_222 = lean_ctor_get(x_216, 0); lean_inc(x_222); -x_223 = lean_ctor_get(x_219, 1); -lean_inc(x_223); -x_224 = lean_ctor_get(x_219, 2); -lean_inc(x_224); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - lean_ctor_release(x_219, 2); - lean_ctor_release(x_219, 3); - x_225 = x_219; +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + x_223 = x_216; } else { - lean_dec_ref(x_219); - x_225 = lean_box(0); + lean_dec_ref(x_216); + x_223 = lean_box(0); } -x_226 = lean_ctor_get(x_220, 0); -lean_inc(x_226); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - x_227 = x_220; +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_220); - x_227 = lean_box(0); + x_224 = x_223; } -if (lean_is_scalar(x_227)) { - x_228 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set_uint8(x_224, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_221)) { + x_225 = lean_alloc_ctor(0, 4, 0); } else { - x_228 = x_227; + x_225 = x_221; } -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set_uint8(x_228, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_225)) { - x_229 = lean_alloc_ctor(0, 4, 0); -} else { - x_229 = x_225; -} -lean_ctor_set(x_229, 0, x_222); -lean_ctor_set(x_229, 1, x_223); -lean_ctor_set(x_229, 2, x_224); -lean_ctor_set(x_229, 3, x_228); -x_230 = lean_st_ref_set(x_6, x_229, x_221); +lean_ctor_set(x_225, 0, x_218); +lean_ctor_set(x_225, 1, x_219); +lean_ctor_set(x_225, 2, x_220); +lean_ctor_set(x_225, 3, x_224); +x_226 = lean_st_ref_set(x_6, x_225, x_217); lean_dec(x_6); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_230)) { - lean_ctor_release(x_230, 0); - lean_ctor_release(x_230, 1); - x_232 = x_230; +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_228 = x_226; } else { - lean_dec_ref(x_230); - x_232 = lean_box(0); + lean_dec_ref(x_226); + x_228 = lean_box(0); } -if (lean_is_scalar(x_232)) { - x_233 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_228)) { + x_229 = lean_alloc_ctor(1, 2, 0); } else { - x_233 = x_232; - lean_ctor_set_tag(x_233, 1); + x_229 = x_228; + lean_ctor_set_tag(x_229, 1); } -lean_ctor_set(x_233, 0, x_214); -lean_ctor_set(x_233, 1, x_231); -return x_233; +lean_ctor_set(x_229, 0, x_210); +lean_ctor_set(x_229, 1, x_227); +return x_229; } } block_82: @@ -30039,1015 +17865,1037 @@ goto block_16; } else { -lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; -x_234 = lean_ctor_get(x_26, 0); -lean_inc(x_234); +lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; +x_230 = lean_ctor_get(x_26, 0); +lean_inc(x_230); lean_dec(x_26); -x_235 = 0; -x_236 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set_uint8(x_236, sizeof(void*)*1, x_235); -lean_ctor_set(x_25, 3, x_236); -x_237 = lean_st_ref_set(x_6, x_25, x_27); -x_238 = lean_ctor_get(x_237, 1); -lean_inc(x_238); -lean_dec(x_237); -x_266 = lean_ctor_get(x_3, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_3, 1); -lean_inc(x_267); -x_268 = lean_ctor_get(x_3, 2); -lean_inc(x_268); +x_231 = 0; +x_232 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set_uint8(x_232, sizeof(void*)*1, x_231); +lean_ctor_set(x_25, 3, x_232); +x_233 = lean_st_ref_set(x_6, x_25, x_27); +x_234 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +lean_dec(x_233); +x_262 = lean_ctor_get(x_3, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_3, 1); +lean_inc(x_263); +x_264 = lean_ctor_get(x_3, 2); +lean_inc(x_264); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); lean_ctor_release(x_3, 2); lean_ctor_release(x_3, 3); - x_269 = x_3; + x_265 = x_3; } else { lean_dec_ref(x_3); - x_269 = lean_box(0); + x_265 = lean_box(0); } -lean_inc(x_268); -lean_inc(x_267); +lean_inc(x_264); +lean_inc(x_263); lean_inc(x_2); lean_inc(x_1); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_1); -lean_ctor_set(x_270, 1, x_2); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_271, 0, x_270); -if (lean_is_scalar(x_269)) { - x_272 = lean_alloc_ctor(0, 4, 0); +x_266 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_266, 0, x_1); +lean_ctor_set(x_266, 1, x_2); +lean_ctor_set(x_266, 2, x_263); +lean_ctor_set(x_266, 3, x_264); +x_267 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_267, 0, x_266); +if (lean_is_scalar(x_265)) { + x_268 = lean_alloc_ctor(0, 4, 0); } else { - x_272 = x_269; + x_268 = x_265; } -lean_ctor_set(x_272, 0, x_266); -lean_ctor_set(x_272, 1, x_267); -lean_ctor_set(x_272, 2, x_268); -lean_ctor_set(x_272, 3, x_271); -x_273 = 1; +lean_ctor_set(x_268, 0, x_262); +lean_ctor_set(x_268, 1, x_263); +lean_ctor_set(x_268, 2, x_264); +lean_ctor_set(x_268, 3, x_267); +x_269 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_272); +lean_inc(x_268); lean_inc(x_2); lean_inc(x_1); -x_274 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_273, x_272, x_4, x_5, x_6, x_238); -if (lean_obj_tag(x_274) == 0) +x_270 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_269, x_268, x_4, x_5, x_6, x_234); +if (lean_obj_tag(x_270) == 0) { -lean_object* x_275; lean_object* x_276; uint8_t x_277; lean_object* x_278; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec(x_274); -x_305 = lean_st_ref_get(x_6, x_276); -x_306 = lean_ctor_get(x_305, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_306, 3); -lean_inc(x_307); -lean_dec(x_306); -x_308 = lean_ctor_get_uint8(x_307, sizeof(void*)*1); -lean_dec(x_307); -if (x_308 == 0) -{ -lean_object* x_309; -x_309 = lean_ctor_get(x_305, 1); -lean_inc(x_309); -lean_dec(x_305); -x_277 = x_235; -x_278 = x_309; -goto block_304; -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_310 = lean_ctor_get(x_305, 1); -lean_inc(x_310); -lean_dec(x_305); -x_311 = l_Lean_Meta_isExprDefEq___closed__2; -x_312 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_311, x_272, x_4, x_5, x_6, x_310); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_277 = x_315; -x_278 = x_314; -goto block_304; -} -block_304: -{ -if (x_277 == 0) -{ -uint8_t x_279; -lean_dec(x_272); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_279 = lean_unbox(x_275); -lean_dec(x_275); -x_239 = x_279; -x_240 = x_278; -goto block_265; -} -else -{ -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; uint8_t x_289; -x_280 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_280, 0, x_1); -x_281 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_282 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_284 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_284, 0, x_282); -lean_ctor_set(x_284, 1, x_283); -x_285 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_285, 0, x_2); -x_286 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_286, 0, x_284); -lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_Meta_isLevelDefEq___closed__2; -x_288 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_unbox(x_275); -if (x_289 == 0) -{ -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; uint8_t x_296; -x_290 = l_Lean_Meta_isLevelDefEq___closed__4; -x_291 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_291, 0, x_288); -lean_ctor_set(x_291, 1, x_290); -x_292 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_281); -x_293 = l_Lean_Meta_isExprDefEq___closed__2; -x_294 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_293, x_292, x_272, x_4, x_5, x_6, x_278); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_272); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -lean_dec(x_294); -x_296 = lean_unbox(x_275); -lean_dec(x_275); -x_239 = x_296; -x_240 = x_295; -goto block_265; -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; -x_297 = l_Lean_Meta_isLevelDefEq___closed__6; -x_298 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_298, 0, x_288); -lean_ctor_set(x_298, 1, x_297); -x_299 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_281); -x_300 = l_Lean_Meta_isExprDefEq___closed__2; -x_301 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_300, x_299, x_272, x_4, x_5, x_6, x_278); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_272); -x_302 = lean_ctor_get(x_301, 1); +lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; lean_object* x_275; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = l_Lean_Meta_isExprDefEq___closed__2; +x_300 = lean_st_ref_get(x_6, x_272); +x_301 = lean_ctor_get(x_300, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_301, 3); lean_inc(x_302); lean_dec(x_301); -x_303 = lean_unbox(x_275); -lean_dec(x_275); -x_239 = x_303; -x_240 = x_302; -goto block_265; +x_303 = lean_ctor_get_uint8(x_302, sizeof(void*)*1); +lean_dec(x_302); +if (x_303 == 0) +{ +lean_object* x_304; +x_304 = lean_ctor_get(x_300, 1); +lean_inc(x_304); +lean_dec(x_300); +x_274 = x_231; +x_275 = x_304; +goto block_299; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_305 = lean_ctor_get(x_300, 1); +lean_inc(x_305); +lean_dec(x_300); +x_306 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_273, x_268, x_4, x_5, x_6, x_305); +x_307 = lean_ctor_get(x_306, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_306, 1); +lean_inc(x_308); +lean_dec(x_306); +x_309 = lean_unbox(x_307); +lean_dec(x_307); +x_274 = x_309; +x_275 = x_308; +goto block_299; +} +block_299: +{ +if (x_274 == 0) +{ +uint8_t x_276; +lean_dec(x_268); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_276 = lean_unbox(x_271); +lean_dec(x_271); +x_235 = x_276; +x_236 = x_275; +goto block_261; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; +x_277 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_277, 0, x_1); +x_278 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_279 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_277); +x_280 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_281 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_280); +x_282 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_282, 0, x_2); +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_Meta_isLevelDefEq___closed__2; +x_285 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +x_286 = lean_unbox(x_271); +if (x_286 == 0) +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; +x_287 = l_Lean_Meta_isLevelDefEq___closed__4; +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_287); +x_289 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_278); +x_290 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_273, x_289, x_268, x_4, x_5, x_6, x_275); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_268); +x_291 = lean_ctor_get(x_290, 1); +lean_inc(x_291); +lean_dec(x_290); +x_292 = lean_unbox(x_271); +lean_dec(x_271); +x_235 = x_292; +x_236 = x_291; +goto block_261; +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_293 = l_Lean_Meta_isLevelDefEq___closed__6; +x_294 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_294, 0, x_285); +lean_ctor_set(x_294, 1, x_293); +x_295 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_278); +x_296 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_273, x_295, x_268, x_4, x_5, x_6, x_275); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_268); +x_297 = lean_ctor_get(x_296, 1); +lean_inc(x_297); +lean_dec(x_296); +x_298 = lean_unbox(x_271); +lean_dec(x_271); +x_235 = x_298; +x_236 = x_297; +goto block_261; } } } } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -lean_dec(x_272); +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +lean_dec(x_268); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_316 = lean_ctor_get(x_274, 0); +x_310 = lean_ctor_get(x_270, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_270, 1); +lean_inc(x_311); +lean_dec(x_270); +x_312 = lean_st_ref_get(x_6, x_311); +x_313 = lean_ctor_get(x_312, 1); +lean_inc(x_313); +lean_dec(x_312); +x_314 = lean_st_ref_take(x_6, x_313); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_315, 3); lean_inc(x_316); -x_317 = lean_ctor_get(x_274, 1); +x_317 = lean_ctor_get(x_314, 1); lean_inc(x_317); -lean_dec(x_274); -x_318 = lean_st_ref_get(x_6, x_317); -x_319 = lean_ctor_get(x_318, 1); +lean_dec(x_314); +x_318 = lean_ctor_get(x_315, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_315, 1); lean_inc(x_319); -lean_dec(x_318); -x_320 = lean_st_ref_take(x_6, x_319); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_321, 3); +x_320 = lean_ctor_get(x_315, 2); +lean_inc(x_320); +if (lean_is_exclusive(x_315)) { + lean_ctor_release(x_315, 0); + lean_ctor_release(x_315, 1); + lean_ctor_release(x_315, 2); + lean_ctor_release(x_315, 3); + x_321 = x_315; +} else { + lean_dec_ref(x_315); + x_321 = lean_box(0); +} +x_322 = lean_ctor_get(x_316, 0); lean_inc(x_322); -x_323 = lean_ctor_get(x_320, 1); -lean_inc(x_323); -lean_dec(x_320); -x_324 = lean_ctor_get(x_321, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_321, 1); -lean_inc(x_325); -x_326 = lean_ctor_get(x_321, 2); -lean_inc(x_326); -if (lean_is_exclusive(x_321)) { - lean_ctor_release(x_321, 0); - lean_ctor_release(x_321, 1); - lean_ctor_release(x_321, 2); - lean_ctor_release(x_321, 3); - x_327 = x_321; +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + x_323 = x_316; } else { - lean_dec_ref(x_321); - x_327 = lean_box(0); + lean_dec_ref(x_316); + x_323 = lean_box(0); } -x_328 = lean_ctor_get(x_322, 0); -lean_inc(x_328); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - x_329 = x_322; +if (lean_is_scalar(x_323)) { + x_324 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_322); - x_329 = lean_box(0); + x_324 = x_323; } -if (lean_is_scalar(x_329)) { - x_330 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_324, 0, x_322); +lean_ctor_set_uint8(x_324, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_321)) { + x_325 = lean_alloc_ctor(0, 4, 0); } else { - x_330 = x_329; + x_325 = x_321; } -lean_ctor_set(x_330, 0, x_328); -lean_ctor_set_uint8(x_330, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_327)) { - x_331 = lean_alloc_ctor(0, 4, 0); -} else { - x_331 = x_327; -} -lean_ctor_set(x_331, 0, x_324); -lean_ctor_set(x_331, 1, x_325); -lean_ctor_set(x_331, 2, x_326); -lean_ctor_set(x_331, 3, x_330); -x_332 = lean_st_ref_set(x_6, x_331, x_323); +lean_ctor_set(x_325, 0, x_318); +lean_ctor_set(x_325, 1, x_319); +lean_ctor_set(x_325, 2, x_320); +lean_ctor_set(x_325, 3, x_324); +x_326 = lean_st_ref_set(x_6, x_325, x_317); lean_dec(x_6); -x_333 = lean_ctor_get(x_332, 1); -lean_inc(x_333); -if (lean_is_exclusive(x_332)) { - lean_ctor_release(x_332, 0); - lean_ctor_release(x_332, 1); - x_334 = x_332; +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_332); - x_334 = lean_box(0); + lean_dec_ref(x_326); + x_328 = lean_box(0); } -if (lean_is_scalar(x_334)) { - x_335 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_328)) { + x_329 = lean_alloc_ctor(1, 2, 0); } else { - x_335 = x_334; - lean_ctor_set_tag(x_335, 1); + x_329 = x_328; + lean_ctor_set_tag(x_329, 1); } -lean_ctor_set(x_335, 0, x_316); -lean_ctor_set(x_335, 1, x_333); -return x_335; +lean_ctor_set(x_329, 0, x_310); +lean_ctor_set(x_329, 1, x_327); +return x_329; } -block_265: +block_261: { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_241 = lean_st_ref_get(x_6, x_240); -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_237 = lean_st_ref_get(x_6, x_236); +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); +lean_inc(x_239); +lean_dec(x_237); +x_240 = lean_ctor_get(x_238, 3); +lean_inc(x_240); +lean_dec(x_238); +x_241 = lean_ctor_get_uint8(x_240, sizeof(void*)*1); +lean_dec(x_240); +x_242 = lean_st_ref_take(x_6, x_239); +x_243 = lean_ctor_get(x_242, 0); lean_inc(x_243); -lean_dec(x_241); -x_244 = lean_ctor_get(x_242, 3); +x_244 = lean_ctor_get(x_243, 3); lean_inc(x_244); +x_245 = lean_ctor_get(x_242, 1); +lean_inc(x_245); lean_dec(x_242); -x_245 = lean_ctor_get_uint8(x_244, sizeof(void*)*1); -lean_dec(x_244); -x_246 = lean_st_ref_take(x_6, x_243); -x_247 = lean_ctor_get(x_246, 0); +x_246 = lean_ctor_get(x_243, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_243, 1); lean_inc(x_247); -x_248 = lean_ctor_get(x_247, 3); +x_248 = lean_ctor_get(x_243, 2); lean_inc(x_248); -x_249 = lean_ctor_get(x_246, 1); -lean_inc(x_249); -lean_dec(x_246); -x_250 = lean_ctor_get(x_247, 0); +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + lean_ctor_release(x_243, 2); + lean_ctor_release(x_243, 3); + x_249 = x_243; +} else { + lean_dec_ref(x_243); + x_249 = lean_box(0); +} +x_250 = lean_ctor_get(x_244, 0); lean_inc(x_250); -x_251 = lean_ctor_get(x_247, 1); -lean_inc(x_251); -x_252 = lean_ctor_get(x_247, 2); -lean_inc(x_252); -if (lean_is_exclusive(x_247)) { - lean_ctor_release(x_247, 0); - lean_ctor_release(x_247, 1); - lean_ctor_release(x_247, 2); - lean_ctor_release(x_247, 3); - x_253 = x_247; +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + x_251 = x_244; } else { - lean_dec_ref(x_247); - x_253 = lean_box(0); + lean_dec_ref(x_244); + x_251 = lean_box(0); } -x_254 = lean_ctor_get(x_248, 0); -lean_inc(x_254); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - x_255 = x_248; +if (lean_is_scalar(x_251)) { + x_252 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_248); - x_255 = lean_box(0); + x_252 = x_251; } -if (lean_is_scalar(x_255)) { - x_256 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set_uint8(x_252, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_249)) { + x_253 = lean_alloc_ctor(0, 4, 0); } else { - x_256 = x_255; + x_253 = x_249; } -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set_uint8(x_256, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_253)) { - x_257 = lean_alloc_ctor(0, 4, 0); -} else { - x_257 = x_253; -} -lean_ctor_set(x_257, 0, x_250); -lean_ctor_set(x_257, 1, x_251); -lean_ctor_set(x_257, 2, x_252); -lean_ctor_set(x_257, 3, x_256); -x_258 = lean_st_ref_set(x_6, x_257, x_249); +lean_ctor_set(x_253, 0, x_246); +lean_ctor_set(x_253, 1, x_247); +lean_ctor_set(x_253, 2, x_248); +lean_ctor_set(x_253, 3, x_252); +x_254 = lean_st_ref_set(x_6, x_253, x_245); lean_dec(x_6); -x_259 = lean_ctor_get(x_258, 1); -lean_inc(x_259); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - x_260 = x_258; +x_255 = lean_ctor_get(x_254, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_256 = x_254; } else { - lean_dec_ref(x_258); - x_260 = lean_box(0); + lean_dec_ref(x_254); + x_256 = lean_box(0); } -x_261 = lean_box(x_239); -x_262 = lean_box(x_245); -x_263 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -if (lean_is_scalar(x_260)) { - x_264 = lean_alloc_ctor(0, 2, 0); +x_257 = lean_box(x_235); +x_258 = lean_box(x_241); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_257); +lean_ctor_set(x_259, 1, x_258); +if (lean_is_scalar(x_256)) { + x_260 = lean_alloc_ctor(0, 2, 0); } else { - x_264 = x_260; + x_260 = x_256; } -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_259); -x_8 = x_264; +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_255); +x_8 = x_260; goto block_16; } } } else { -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; lean_object* x_347; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; uint8_t x_380; lean_object* x_381; -x_336 = lean_ctor_get(x_25, 0); -x_337 = lean_ctor_get(x_25, 1); -x_338 = lean_ctor_get(x_25, 2); -lean_inc(x_338); -lean_inc(x_337); -lean_inc(x_336); +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; lean_object* x_341; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; lean_object* x_375; +x_330 = lean_ctor_get(x_25, 0); +x_331 = lean_ctor_get(x_25, 1); +x_332 = lean_ctor_get(x_25, 2); +lean_inc(x_332); +lean_inc(x_331); +lean_inc(x_330); lean_dec(x_25); -x_339 = lean_ctor_get(x_26, 0); -lean_inc(x_339); +x_333 = lean_ctor_get(x_26, 0); +lean_inc(x_333); if (lean_is_exclusive(x_26)) { lean_ctor_release(x_26, 0); - x_340 = x_26; + x_334 = x_26; } else { lean_dec_ref(x_26); - x_340 = lean_box(0); + x_334 = lean_box(0); } -x_341 = 0; -if (lean_is_scalar(x_340)) { - x_342 = lean_alloc_ctor(0, 1, 1); +x_335 = 0; +if (lean_is_scalar(x_334)) { + x_336 = lean_alloc_ctor(0, 1, 1); } else { - x_342 = x_340; + x_336 = x_334; } -lean_ctor_set(x_342, 0, x_339); -lean_ctor_set_uint8(x_342, sizeof(void*)*1, x_341); -x_343 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_343, 0, x_336); -lean_ctor_set(x_343, 1, x_337); -lean_ctor_set(x_343, 2, x_338); -lean_ctor_set(x_343, 3, x_342); -x_344 = lean_st_ref_set(x_6, x_343, x_27); -x_345 = lean_ctor_get(x_344, 1); -lean_inc(x_345); -lean_dec(x_344); -x_373 = lean_ctor_get(x_3, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_3, 1); -lean_inc(x_374); -x_375 = lean_ctor_get(x_3, 2); -lean_inc(x_375); +lean_ctor_set(x_336, 0, x_333); +lean_ctor_set_uint8(x_336, sizeof(void*)*1, x_335); +x_337 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_337, 0, x_330); +lean_ctor_set(x_337, 1, x_331); +lean_ctor_set(x_337, 2, x_332); +lean_ctor_set(x_337, 3, x_336); +x_338 = lean_st_ref_set(x_6, x_337, x_27); +x_339 = lean_ctor_get(x_338, 1); +lean_inc(x_339); +lean_dec(x_338); +x_367 = lean_ctor_get(x_3, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_3, 1); +lean_inc(x_368); +x_369 = lean_ctor_get(x_3, 2); +lean_inc(x_369); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); lean_ctor_release(x_3, 2); lean_ctor_release(x_3, 3); - x_376 = x_3; + x_370 = x_3; } else { lean_dec_ref(x_3); - x_376 = lean_box(0); + x_370 = lean_box(0); } -lean_inc(x_375); -lean_inc(x_374); +lean_inc(x_369); +lean_inc(x_368); lean_inc(x_2); lean_inc(x_1); -x_377 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_377, 0, x_1); -lean_ctor_set(x_377, 1, x_2); -lean_ctor_set(x_377, 2, x_374); -lean_ctor_set(x_377, 3, x_375); -x_378 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_378, 0, x_377); -if (lean_is_scalar(x_376)) { - x_379 = lean_alloc_ctor(0, 4, 0); +x_371 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_371, 0, x_1); +lean_ctor_set(x_371, 1, x_2); +lean_ctor_set(x_371, 2, x_368); +lean_ctor_set(x_371, 3, x_369); +x_372 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_372, 0, x_371); +if (lean_is_scalar(x_370)) { + x_373 = lean_alloc_ctor(0, 4, 0); } else { - x_379 = x_376; + x_373 = x_370; } -lean_ctor_set(x_379, 0, x_373); -lean_ctor_set(x_379, 1, x_374); -lean_ctor_set(x_379, 2, x_375); -lean_ctor_set(x_379, 3, x_378); -x_380 = 1; +lean_ctor_set(x_373, 0, x_367); +lean_ctor_set(x_373, 1, x_368); +lean_ctor_set(x_373, 2, x_369); +lean_ctor_set(x_373, 3, x_372); +x_374 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_379); +lean_inc(x_373); lean_inc(x_2); lean_inc(x_1); -x_381 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_380, x_379, x_4, x_5, x_6, x_345); -if (lean_obj_tag(x_381) == 0) +x_375 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__1(x_1, x_2, x_374, x_373, x_4, x_5, x_6, x_339); +if (lean_obj_tag(x_375) == 0) { -lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; -x_382 = lean_ctor_get(x_381, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_381, 1); -lean_inc(x_383); -lean_dec(x_381); -x_412 = lean_st_ref_get(x_6, x_383); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_413, 3); -lean_inc(x_414); -lean_dec(x_413); -x_415 = lean_ctor_get_uint8(x_414, sizeof(void*)*1); -lean_dec(x_414); -if (x_415 == 0) +lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; lean_object* x_380; lean_object* x_405; lean_object* x_406; lean_object* x_407; uint8_t x_408; +x_376 = lean_ctor_get(x_375, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = l_Lean_Meta_isExprDefEq___closed__2; +x_405 = lean_st_ref_get(x_6, x_377); +x_406 = lean_ctor_get(x_405, 0); +lean_inc(x_406); +x_407 = lean_ctor_get(x_406, 3); +lean_inc(x_407); +lean_dec(x_406); +x_408 = lean_ctor_get_uint8(x_407, sizeof(void*)*1); +lean_dec(x_407); +if (x_408 == 0) { -lean_object* x_416; -x_416 = lean_ctor_get(x_412, 1); -lean_inc(x_416); -lean_dec(x_412); -x_384 = x_341; -x_385 = x_416; -goto block_411; +lean_object* x_409; +x_409 = lean_ctor_get(x_405, 1); +lean_inc(x_409); +lean_dec(x_405); +x_379 = x_335; +x_380 = x_409; +goto block_404; } else { -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; -x_417 = lean_ctor_get(x_412, 1); -lean_inc(x_417); +lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; uint8_t x_414; +x_410 = lean_ctor_get(x_405, 1); +lean_inc(x_410); +lean_dec(x_405); +x_411 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_378, x_373, x_4, x_5, x_6, x_410); +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_411, 1); +lean_inc(x_413); +lean_dec(x_411); +x_414 = lean_unbox(x_412); lean_dec(x_412); -x_418 = l_Lean_Meta_isExprDefEq___closed__2; -x_419 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_418, x_379, x_4, x_5, x_6, x_417); -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_unbox(x_420); -lean_dec(x_420); -x_384 = x_422; -x_385 = x_421; -goto block_411; +x_379 = x_414; +x_380 = x_413; +goto block_404; } -block_411: +block_404: { -if (x_384 == 0) +if (x_379 == 0) { -uint8_t x_386; -lean_dec(x_379); +uint8_t x_381; +lean_dec(x_373); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_386 = lean_unbox(x_382); -lean_dec(x_382); -x_346 = x_386; -x_347 = x_385; -goto block_372; +x_381 = lean_unbox(x_376); +lean_dec(x_376); +x_340 = x_381; +x_341 = x_380; +goto block_366; } else { -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; +x_382 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_382, 0, x_1); +x_383 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_384 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_382); +x_385 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_386 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); x_387 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_387, 0, x_1); -x_388 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_389 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_387); -x_390 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_391 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_391, 0, x_389); -lean_ctor_set(x_391, 1, x_390); -x_392 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_392, 0, x_2); -x_393 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_393, 0, x_391); -lean_ctor_set(x_393, 1, x_392); -x_394 = l_Lean_Meta_isLevelDefEq___closed__2; -x_395 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_395, 0, x_393); -lean_ctor_set(x_395, 1, x_394); -x_396 = lean_unbox(x_382); -if (x_396 == 0) +lean_ctor_set(x_387, 0, x_2); +x_388 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_388, 0, x_386); +lean_ctor_set(x_388, 1, x_387); +x_389 = l_Lean_Meta_isLevelDefEq___closed__2; +x_390 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_390, 0, x_388); +lean_ctor_set(x_390, 1, x_389); +x_391 = lean_unbox(x_376); +if (x_391 == 0) { -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; -x_397 = l_Lean_Meta_isLevelDefEq___closed__4; -x_398 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_398, 0, x_395); -lean_ctor_set(x_398, 1, x_397); -x_399 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_388); -x_400 = l_Lean_Meta_isExprDefEq___closed__2; -x_401 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_400, x_399, x_379, x_4, x_5, x_6, x_385); +lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +x_392 = l_Lean_Meta_isLevelDefEq___closed__4; +x_393 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_393, 0, x_390); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_383); +x_395 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_378, x_394, x_373, x_4, x_5, x_6, x_380); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_379); +lean_dec(x_373); +x_396 = lean_ctor_get(x_395, 1); +lean_inc(x_396); +lean_dec(x_395); +x_397 = lean_unbox(x_376); +lean_dec(x_376); +x_340 = x_397; +x_341 = x_396; +goto block_366; +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; +x_398 = l_Lean_Meta_isLevelDefEq___closed__6; +x_399 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_399, 0, x_390); +lean_ctor_set(x_399, 1, x_398); +x_400 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_383); +x_401 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_378, x_400, x_373, x_4, x_5, x_6, x_380); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_373); x_402 = lean_ctor_get(x_401, 1); lean_inc(x_402); lean_dec(x_401); -x_403 = lean_unbox(x_382); -lean_dec(x_382); -x_346 = x_403; -x_347 = x_402; -goto block_372; -} -else -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; -x_404 = l_Lean_Meta_isLevelDefEq___closed__6; -x_405 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_405, 0, x_395); -lean_ctor_set(x_405, 1, x_404); -x_406 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_388); -x_407 = l_Lean_Meta_isExprDefEq___closed__2; -x_408 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_407, x_406, x_379, x_4, x_5, x_6, x_385); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_379); -x_409 = lean_ctor_get(x_408, 1); -lean_inc(x_409); -lean_dec(x_408); -x_410 = lean_unbox(x_382); -lean_dec(x_382); -x_346 = x_410; -x_347 = x_409; -goto block_372; +x_403 = lean_unbox(x_376); +lean_dec(x_376); +x_340 = x_403; +x_341 = x_402; +goto block_366; } } } } else { -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -lean_dec(x_379); +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; +lean_dec(x_373); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_423 = lean_ctor_get(x_381, 0); +x_415 = lean_ctor_get(x_375, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_375, 1); +lean_inc(x_416); +lean_dec(x_375); +x_417 = lean_st_ref_get(x_6, x_416); +x_418 = lean_ctor_get(x_417, 1); +lean_inc(x_418); +lean_dec(x_417); +x_419 = lean_st_ref_take(x_6, x_418); +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_420, 3); +lean_inc(x_421); +x_422 = lean_ctor_get(x_419, 1); +lean_inc(x_422); +lean_dec(x_419); +x_423 = lean_ctor_get(x_420, 0); lean_inc(x_423); -x_424 = lean_ctor_get(x_381, 1); +x_424 = lean_ctor_get(x_420, 1); lean_inc(x_424); -lean_dec(x_381); -x_425 = lean_st_ref_get(x_6, x_424); -x_426 = lean_ctor_get(x_425, 1); -lean_inc(x_426); -lean_dec(x_425); -x_427 = lean_st_ref_take(x_6, x_426); -x_428 = lean_ctor_get(x_427, 0); -lean_inc(x_428); -x_429 = lean_ctor_get(x_428, 3); -lean_inc(x_429); -x_430 = lean_ctor_get(x_427, 1); -lean_inc(x_430); -lean_dec(x_427); -x_431 = lean_ctor_get(x_428, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_428, 1); +x_425 = lean_ctor_get(x_420, 2); +lean_inc(x_425); +if (lean_is_exclusive(x_420)) { + lean_ctor_release(x_420, 0); + lean_ctor_release(x_420, 1); + lean_ctor_release(x_420, 2); + lean_ctor_release(x_420, 3); + x_426 = x_420; +} else { + lean_dec_ref(x_420); + x_426 = lean_box(0); +} +x_427 = lean_ctor_get(x_421, 0); +lean_inc(x_427); +if (lean_is_exclusive(x_421)) { + lean_ctor_release(x_421, 0); + x_428 = x_421; +} else { + lean_dec_ref(x_421); + x_428 = lean_box(0); +} +if (lean_is_scalar(x_428)) { + x_429 = lean_alloc_ctor(0, 1, 1); +} else { + x_429 = x_428; +} +lean_ctor_set(x_429, 0, x_427); +lean_ctor_set_uint8(x_429, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_426)) { + x_430 = lean_alloc_ctor(0, 4, 0); +} else { + x_430 = x_426; +} +lean_ctor_set(x_430, 0, x_423); +lean_ctor_set(x_430, 1, x_424); +lean_ctor_set(x_430, 2, x_425); +lean_ctor_set(x_430, 3, x_429); +x_431 = lean_st_ref_set(x_6, x_430, x_422); +lean_dec(x_6); +x_432 = lean_ctor_get(x_431, 1); lean_inc(x_432); -x_433 = lean_ctor_get(x_428, 2); -lean_inc(x_433); -if (lean_is_exclusive(x_428)) { - lean_ctor_release(x_428, 0); - lean_ctor_release(x_428, 1); - lean_ctor_release(x_428, 2); - lean_ctor_release(x_428, 3); - x_434 = x_428; +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + x_433 = x_431; } else { - lean_dec_ref(x_428); - x_434 = lean_box(0); + lean_dec_ref(x_431); + x_433 = lean_box(0); } -x_435 = lean_ctor_get(x_429, 0); -lean_inc(x_435); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - x_436 = x_429; +if (lean_is_scalar(x_433)) { + x_434 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_429); - x_436 = lean_box(0); + x_434 = x_433; + lean_ctor_set_tag(x_434, 1); } -if (lean_is_scalar(x_436)) { - x_437 = lean_alloc_ctor(0, 1, 1); -} else { - x_437 = x_436; +lean_ctor_set(x_434, 0, x_415); +lean_ctor_set(x_434, 1, x_432); +return x_434; } -lean_ctor_set(x_437, 0, x_435); -lean_ctor_set_uint8(x_437, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_434)) { - x_438 = lean_alloc_ctor(0, 4, 0); -} else { - x_438 = x_434; -} -lean_ctor_set(x_438, 0, x_431); -lean_ctor_set(x_438, 1, x_432); -lean_ctor_set(x_438, 2, x_433); -lean_ctor_set(x_438, 3, x_437); -x_439 = lean_st_ref_set(x_6, x_438, x_430); -lean_dec(x_6); -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -if (lean_is_exclusive(x_439)) { - lean_ctor_release(x_439, 0); - lean_ctor_release(x_439, 1); - x_441 = x_439; -} else { - lean_dec_ref(x_439); - x_441 = lean_box(0); -} -if (lean_is_scalar(x_441)) { - x_442 = lean_alloc_ctor(1, 2, 0); -} else { - x_442 = x_441; - lean_ctor_set_tag(x_442, 1); -} -lean_ctor_set(x_442, 0, x_423); -lean_ctor_set(x_442, 1, x_440); -return x_442; -} -block_372: +block_366: { -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_348 = lean_st_ref_get(x_6, x_347); -x_349 = lean_ctor_get(x_348, 0); +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_342 = lean_st_ref_get(x_6, x_341); +x_343 = lean_ctor_get(x_342, 0); +lean_inc(x_343); +x_344 = lean_ctor_get(x_342, 1); +lean_inc(x_344); +lean_dec(x_342); +x_345 = lean_ctor_get(x_343, 3); +lean_inc(x_345); +lean_dec(x_343); +x_346 = lean_ctor_get_uint8(x_345, sizeof(void*)*1); +lean_dec(x_345); +x_347 = lean_st_ref_take(x_6, x_344); +x_348 = lean_ctor_get(x_347, 0); +lean_inc(x_348); +x_349 = lean_ctor_get(x_348, 3); lean_inc(x_349); -x_350 = lean_ctor_get(x_348, 1); +x_350 = lean_ctor_get(x_347, 1); lean_inc(x_350); -lean_dec(x_348); -x_351 = lean_ctor_get(x_349, 3); +lean_dec(x_347); +x_351 = lean_ctor_get(x_348, 0); lean_inc(x_351); -lean_dec(x_349); -x_352 = lean_ctor_get_uint8(x_351, sizeof(void*)*1); -lean_dec(x_351); -x_353 = lean_st_ref_take(x_6, x_350); -x_354 = lean_ctor_get(x_353, 0); -lean_inc(x_354); -x_355 = lean_ctor_get(x_354, 3); +x_352 = lean_ctor_get(x_348, 1); +lean_inc(x_352); +x_353 = lean_ctor_get(x_348, 2); +lean_inc(x_353); +if (lean_is_exclusive(x_348)) { + lean_ctor_release(x_348, 0); + lean_ctor_release(x_348, 1); + lean_ctor_release(x_348, 2); + lean_ctor_release(x_348, 3); + x_354 = x_348; +} else { + lean_dec_ref(x_348); + x_354 = lean_box(0); +} +x_355 = lean_ctor_get(x_349, 0); lean_inc(x_355); -x_356 = lean_ctor_get(x_353, 1); -lean_inc(x_356); -lean_dec(x_353); -x_357 = lean_ctor_get(x_354, 0); -lean_inc(x_357); -x_358 = lean_ctor_get(x_354, 1); -lean_inc(x_358); -x_359 = lean_ctor_get(x_354, 2); -lean_inc(x_359); -if (lean_is_exclusive(x_354)) { - lean_ctor_release(x_354, 0); - lean_ctor_release(x_354, 1); - lean_ctor_release(x_354, 2); - lean_ctor_release(x_354, 3); - x_360 = x_354; +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + x_356 = x_349; } else { - lean_dec_ref(x_354); - x_360 = lean_box(0); + lean_dec_ref(x_349); + x_356 = lean_box(0); } -x_361 = lean_ctor_get(x_355, 0); -lean_inc(x_361); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - x_362 = x_355; +if (lean_is_scalar(x_356)) { + x_357 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_355); - x_362 = lean_box(0); + x_357 = x_356; } -if (lean_is_scalar(x_362)) { - x_363 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_357, 0, x_355); +lean_ctor_set_uint8(x_357, sizeof(void*)*1, x_23); +if (lean_is_scalar(x_354)) { + x_358 = lean_alloc_ctor(0, 4, 0); } else { - x_363 = x_362; + x_358 = x_354; } -lean_ctor_set(x_363, 0, x_361); -lean_ctor_set_uint8(x_363, sizeof(void*)*1, x_23); -if (lean_is_scalar(x_360)) { - x_364 = lean_alloc_ctor(0, 4, 0); -} else { - x_364 = x_360; -} -lean_ctor_set(x_364, 0, x_357); -lean_ctor_set(x_364, 1, x_358); -lean_ctor_set(x_364, 2, x_359); -lean_ctor_set(x_364, 3, x_363); -x_365 = lean_st_ref_set(x_6, x_364, x_356); +lean_ctor_set(x_358, 0, x_351); +lean_ctor_set(x_358, 1, x_352); +lean_ctor_set(x_358, 2, x_353); +lean_ctor_set(x_358, 3, x_357); +x_359 = lean_st_ref_set(x_6, x_358, x_350); lean_dec(x_6); -x_366 = lean_ctor_get(x_365, 1); -lean_inc(x_366); -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - x_367 = x_365; +x_360 = lean_ctor_get(x_359, 1); +lean_inc(x_360); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + lean_ctor_release(x_359, 1); + x_361 = x_359; } else { - lean_dec_ref(x_365); - x_367 = lean_box(0); + lean_dec_ref(x_359); + x_361 = lean_box(0); } -x_368 = lean_box(x_346); -x_369 = lean_box(x_352); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_368); -lean_ctor_set(x_370, 1, x_369); -if (lean_is_scalar(x_367)) { - x_371 = lean_alloc_ctor(0, 2, 0); +x_362 = lean_box(x_340); +x_363 = lean_box(x_346); +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_362); +lean_ctor_set(x_364, 1, x_363); +if (lean_is_scalar(x_361)) { + x_365 = lean_alloc_ctor(0, 2, 0); } else { - x_371 = x_367; + x_365 = x_361; } -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_366); -x_8 = x_371; +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_360); +x_8 = x_365; goto block_16; } } } else { -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; uint8_t x_447; lean_object* x_448; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; lean_object* x_465; -x_443 = lean_ctor_get(x_5, 3); -lean_inc(x_443); -x_444 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_18); -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_444, 1); -lean_inc(x_446); -lean_dec(x_444); -x_458 = lean_ctor_get(x_3, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_3, 1); -lean_inc(x_459); -x_460 = lean_ctor_get(x_3, 2); -lean_inc(x_460); -lean_inc(x_460); -lean_inc(x_459); +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; lean_object* x_446; +x_435 = lean_ctor_get(x_5, 3); +lean_inc(x_435); +x_436 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_6, x_18); +x_437 = lean_ctor_get(x_436, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_436, 1); +lean_inc(x_438); +lean_dec(x_436); +x_439 = lean_ctor_get(x_3, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_3, 1); +lean_inc(x_440); +x_441 = lean_ctor_get(x_3, 2); +lean_inc(x_441); +lean_inc(x_441); +lean_inc(x_440); lean_inc(x_2); lean_inc(x_1); -x_461 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_461, 0, x_1); -lean_ctor_set(x_461, 1, x_2); -lean_ctor_set(x_461, 2, x_459); -lean_ctor_set(x_461, 3, x_460); -x_462 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_462, 0, x_461); -x_463 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_463, 0, x_458); -lean_ctor_set(x_463, 1, x_459); -lean_ctor_set(x_463, 2, x_460); -lean_ctor_set(x_463, 3, x_462); -x_464 = 1; +x_442 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_442, 0, x_1); +lean_ctor_set(x_442, 1, x_2); +lean_ctor_set(x_442, 2, x_440); +lean_ctor_set(x_442, 3, x_441); +x_443 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_443, 0, x_442); +x_444 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_444, 0, x_439); +lean_ctor_set(x_444, 1, x_440); +lean_ctor_set(x_444, 2, x_441); +lean_ctor_set(x_444, 3, x_443); +x_445 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_463); +lean_inc(x_444); lean_inc(x_2); lean_inc(x_1); -x_465 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__2(x_1, x_2, x_464, x_463, x_4, x_5, x_6, x_446); -if (lean_obj_tag(x_465) == 0) +x_446 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__2(x_1, x_2, x_445, x_444, x_4, x_5, x_6, x_438); +if (lean_obj_tag(x_446) == 0) { -lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; -x_466 = lean_ctor_get(x_465, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_465, 1); -lean_inc(x_467); -lean_dec(x_465); -x_496 = lean_st_ref_get(x_6, x_467); -x_497 = lean_ctor_get(x_496, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_497, 3); -lean_inc(x_498); -lean_dec(x_497); -x_499 = lean_ctor_get_uint8(x_498, sizeof(void*)*1); -lean_dec(x_498); -if (x_499 == 0) -{ -lean_object* x_500; uint8_t x_501; -x_500 = lean_ctor_get(x_496, 1); -lean_inc(x_500); -lean_dec(x_496); -x_501 = 0; -x_468 = x_501; -x_469 = x_500; -goto block_495; -} -else -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; -x_502 = lean_ctor_get(x_496, 1); -lean_inc(x_502); -lean_dec(x_496); -x_503 = l_Lean_Meta_isExprDefEq___closed__2; -x_504 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_503, x_463, x_4, x_5, x_6, x_502); -x_505 = lean_ctor_get(x_504, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_504, 1); -lean_inc(x_506); -lean_dec(x_504); -x_507 = lean_unbox(x_505); -lean_dec(x_505); -x_468 = x_507; -x_469 = x_506; -goto block_495; -} -block_495: -{ -if (x_468 == 0) -{ -uint8_t x_470; -lean_dec(x_463); -lean_dec(x_2); -lean_dec(x_1); -x_470 = lean_unbox(x_466); -lean_dec(x_466); -x_447 = x_470; -x_448 = x_469; -goto block_457; -} -else -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; uint8_t x_480; -x_471 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_471, 0, x_1); -x_472 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; -x_473 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_471); -x_474 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; -x_475 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_475, 0, x_473); -lean_ctor_set(x_475, 1, x_474); -x_476 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_476, 0, x_2); -x_477 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_477, 0, x_475); -lean_ctor_set(x_477, 1, x_476); -x_478 = l_Lean_Meta_isLevelDefEq___closed__2; -x_479 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_479, 0, x_477); -lean_ctor_set(x_479, 1, x_478); -x_480 = lean_unbox(x_466); -if (x_480 == 0) -{ -lean_object* 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; -x_481 = l_Lean_Meta_isLevelDefEq___closed__4; -x_482 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_482, 0, x_479); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_483, 0, x_482); -lean_ctor_set(x_483, 1, x_472); -x_484 = l_Lean_Meta_isExprDefEq___closed__2; -x_485 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_484, x_483, x_463, x_4, x_5, x_6, x_469); -lean_dec(x_463); -x_486 = lean_ctor_get(x_485, 1); -lean_inc(x_486); -lean_dec(x_485); -x_487 = lean_unbox(x_466); -lean_dec(x_466); -x_447 = x_487; -x_448 = x_486; -goto block_457; -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -x_488 = l_Lean_Meta_isLevelDefEq___closed__6; -x_489 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_489, 0, x_479); -lean_ctor_set(x_489, 1, x_488); -x_490 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_472); -x_491 = l_Lean_Meta_isExprDefEq___closed__2; -x_492 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_491, x_490, x_463, x_4, x_5, x_6, x_469); -lean_dec(x_463); -x_493 = lean_ctor_get(x_492, 1); -lean_inc(x_493); -lean_dec(x_492); -x_494 = lean_unbox(x_466); -lean_dec(x_466); -x_447 = x_494; -x_448 = x_493; -goto block_457; -} -} -} -} -else -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; -lean_dec(x_463); -lean_dec(x_2); -lean_dec(x_1); -x_508 = lean_ctor_get(x_465, 0); -lean_inc(x_508); -x_509 = lean_ctor_get(x_465, 1); -lean_inc(x_509); -lean_dec(x_465); -x_510 = l_Lean_Meta_isExprDefEq___closed__2; -x_511 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_445, x_510, x_443, x_3, x_4, x_5, x_6, x_509); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_512 = !lean_is_exclusive(x_511); -if (x_512 == 0) -{ -lean_object* x_513; -x_513 = lean_ctor_get(x_511, 0); -lean_dec(x_513); -lean_ctor_set_tag(x_511, 1); -lean_ctor_set(x_511, 0, x_508); -return x_511; -} -else -{ -lean_object* x_514; lean_object* x_515; -x_514 = lean_ctor_get(x_511, 1); -lean_inc(x_514); -lean_dec(x_511); -x_515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_515, 0, x_508); -lean_ctor_set(x_515, 1, x_514); -return x_515; -} -} -block_457: -{ -lean_object* x_449; lean_object* x_450; uint8_t x_451; +lean_object* x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; lean_object* x_488; lean_object* x_489; lean_object* x_490; uint8_t x_491; +x_447 = lean_ctor_get(x_446, 0); +lean_inc(x_447); +x_448 = lean_ctor_get(x_446, 1); +lean_inc(x_448); +lean_dec(x_446); x_449 = l_Lean_Meta_isExprDefEq___closed__2; -x_450 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_445, x_449, x_443, x_3, x_4, x_5, x_6, x_448); +x_488 = lean_st_ref_get(x_6, x_448); +x_489 = lean_ctor_get(x_488, 0); +lean_inc(x_489); +x_490 = lean_ctor_get(x_489, 3); +lean_inc(x_490); +lean_dec(x_489); +x_491 = lean_ctor_get_uint8(x_490, sizeof(void*)*1); +lean_dec(x_490); +if (x_491 == 0) +{ +lean_object* x_492; uint8_t x_493; +x_492 = lean_ctor_get(x_488, 1); +lean_inc(x_492); +lean_dec(x_488); +x_493 = 0; +x_450 = x_493; +x_451 = x_492; +goto block_487; +} +else +{ +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; +x_494 = lean_ctor_get(x_488, 1); +lean_inc(x_494); +lean_dec(x_488); +x_495 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_449, x_444, x_4, x_5, x_6, x_494); +x_496 = lean_ctor_get(x_495, 0); +lean_inc(x_496); +x_497 = lean_ctor_get(x_495, 1); +lean_inc(x_497); +lean_dec(x_495); +x_498 = lean_unbox(x_496); +lean_dec(x_496); +x_450 = x_498; +x_451 = x_497; +goto block_487; +} +block_487: +{ +if (x_450 == 0) +{ +lean_object* x_452; uint8_t x_453; +lean_dec(x_444); +lean_dec(x_2); +lean_dec(x_1); +x_452 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_437, x_449, x_435, x_3, x_4, x_5, x_6, x_451); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_451 = !lean_is_exclusive(x_450); -if (x_451 == 0) +x_453 = !lean_is_exclusive(x_452); +if (x_453 == 0) { -lean_object* x_452; lean_object* x_453; -x_452 = lean_ctor_get(x_450, 0); -lean_dec(x_452); -x_453 = lean_box(x_447); -lean_ctor_set(x_450, 0, x_453); -return x_450; +lean_object* x_454; +x_454 = lean_ctor_get(x_452, 0); +lean_dec(x_454); +lean_ctor_set(x_452, 0, x_447); +return x_452; } else { -lean_object* x_454; lean_object* x_455; lean_object* x_456; -x_454 = lean_ctor_get(x_450, 1); -lean_inc(x_454); -lean_dec(x_450); -x_455 = lean_box(x_447); +lean_object* x_455; lean_object* x_456; +x_455 = lean_ctor_get(x_452, 1); +lean_inc(x_455); +lean_dec(x_452); x_456 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_454); +lean_ctor_set(x_456, 0, x_447); +lean_ctor_set(x_456, 1, x_455); return x_456; } } +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; uint8_t x_466; +x_457 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_457, 0, x_1); +x_458 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1___closed__6; +x_459 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_457); +x_460 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8; +x_461 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_461, 0, x_459); +lean_ctor_set(x_461, 1, x_460); +x_462 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_462, 0, x_2); +x_463 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_463, 0, x_461); +lean_ctor_set(x_463, 1, x_462); +x_464 = l_Lean_Meta_isLevelDefEq___closed__2; +x_465 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_465, 0, x_463); +lean_ctor_set(x_465, 1, x_464); +x_466 = lean_unbox(x_447); +if (x_466 == 0) +{ +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; uint8_t x_473; +x_467 = l_Lean_Meta_isLevelDefEq___closed__4; +x_468 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_468, 0, x_465); +lean_ctor_set(x_468, 1, x_467); +x_469 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_458); +x_470 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_449, x_469, x_444, x_4, x_5, x_6, x_451); +lean_dec(x_444); +x_471 = lean_ctor_get(x_470, 1); +lean_inc(x_471); +lean_dec(x_470); +x_472 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_437, x_449, x_435, x_3, x_4, x_5, x_6, x_471); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +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_447); +return x_472; +} +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_447); +lean_ctor_set(x_476, 1, x_475); +return x_476; +} +} +else +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; +x_477 = l_Lean_Meta_isLevelDefEq___closed__6; +x_478 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_478, 0, x_465); +lean_ctor_set(x_478, 1, x_477); +x_479 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_479, 0, x_478); +lean_ctor_set(x_479, 1, x_458); +x_480 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_449, x_479, x_444, x_4, x_5, x_6, x_451); +lean_dec(x_444); +x_481 = lean_ctor_get(x_480, 1); +lean_inc(x_481); +lean_dec(x_480); +x_482 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_437, x_449, x_435, x_3, x_4, x_5, x_6, x_481); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_483 = !lean_is_exclusive(x_482); +if (x_483 == 0) +{ +lean_object* x_484; +x_484 = lean_ctor_get(x_482, 0); +lean_dec(x_484); +lean_ctor_set(x_482, 0, x_447); +return x_482; +} +else +{ +lean_object* x_485; lean_object* x_486; +x_485 = lean_ctor_get(x_482, 1); +lean_inc(x_485); +lean_dec(x_482); +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_447); +lean_ctor_set(x_486, 1, x_485); +return x_486; +} +} +} +} +} +else +{ +lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; uint8_t x_503; +lean_dec(x_444); +lean_dec(x_2); +lean_dec(x_1); +x_499 = lean_ctor_get(x_446, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_446, 1); +lean_inc(x_500); +lean_dec(x_446); +x_501 = l_Lean_Meta_isExprDefEq___closed__2; +x_502 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_437, x_501, x_435, x_3, x_4, x_5, x_6, x_500); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_503 = !lean_is_exclusive(x_502); +if (x_503 == 0) +{ +lean_object* x_504; +x_504 = lean_ctor_get(x_502, 0); +lean_dec(x_504); +lean_ctor_set_tag(x_502, 1); +lean_ctor_set(x_502, 0, x_499); +return x_502; +} +else +{ +lean_object* x_505; lean_object* x_506; +x_505 = lean_ctor_get(x_502, 1); +lean_inc(x_505); +lean_dec(x_502); +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_499); +lean_ctor_set(x_506, 1, x_505); +return x_506; +} +} } } } @@ -31382,7 +19230,7 @@ return x_62; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2791_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_3092_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -31528,6 +19376,8 @@ l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__7 = lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__7); l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8(); lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8); +l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1 = _init_l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_isLevelDefEqAux___lambda__2___closed__1); l_Lean_Meta_isLevelDefEqAux___closed__1 = _init_l_Lean_Meta_isLevelDefEqAux___closed__1(); lean_mark_persistent(l_Lean_Meta_isLevelDefEqAux___closed__1); l_Lean_Meta_isLevelDefEqAux___closed__2 = _init_l_Lean_Meta_isLevelDefEqAux___closed__2(); @@ -31570,6 +19420,10 @@ l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__4 = lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__4); l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__5 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__5(); lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__5); +l_Lean_Meta_processPostponed_loop___lambda__2___closed__1 = _init_l_Lean_Meta_processPostponed_loop___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_processPostponed_loop___lambda__2___closed__1); +l_Lean_Meta_processPostponed_loop___lambda__2___closed__2 = _init_l_Lean_Meta_processPostponed_loop___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_processPostponed_loop___lambda__2___closed__2); l_Lean_Meta_processPostponed_loop___closed__1 = _init_l_Lean_Meta_processPostponed_loop___closed__1(); lean_mark_persistent(l_Lean_Meta_processPostponed_loop___closed__1); l_Lean_Meta_processPostponed_loop___closed__2 = _init_l_Lean_Meta_processPostponed_loop___closed__2(); @@ -31578,10 +19432,6 @@ l_Lean_Meta_processPostponed_loop___closed__3 = _init_l_Lean_Meta_processPostpon lean_mark_persistent(l_Lean_Meta_processPostponed_loop___closed__3); l_Lean_Meta_processPostponed_loop___closed__4 = _init_l_Lean_Meta_processPostponed_loop___closed__4(); lean_mark_persistent(l_Lean_Meta_processPostponed_loop___closed__4); -l_Lean_Meta_processPostponed_loop___closed__5 = _init_l_Lean_Meta_processPostponed_loop___closed__5(); -lean_mark_persistent(l_Lean_Meta_processPostponed_loop___closed__5); -l_Lean_Meta_processPostponed_loop___closed__6 = _init_l_Lean_Meta_processPostponed_loop___closed__6(); -lean_mark_persistent(l_Lean_Meta_processPostponed_loop___closed__6); l_Lean_Meta_isLevelDefEq___closed__1 = _init_l_Lean_Meta_isLevelDefEq___closed__1(); lean_mark_persistent(l_Lean_Meta_isLevelDefEq___closed__1); l_Lean_Meta_isLevelDefEq___closed__2 = _init_l_Lean_Meta_isLevelDefEq___closed__2(); @@ -31598,7 +19448,7 @@ l_Lean_Meta_isExprDefEq___closed__1 = _init_l_Lean_Meta_isExprDefEq___closed__1( lean_mark_persistent(l_Lean_Meta_isExprDefEq___closed__1); l_Lean_Meta_isExprDefEq___closed__2 = _init_l_Lean_Meta_isExprDefEq___closed__2(); lean_mark_persistent(l_Lean_Meta_isExprDefEq___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2791_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_3092_(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/Meta/Match/CaseValues.c b/stage0/stdlib/Lean/Meta/Match/CaseValues.c index d7db3c2a8c..90e1a92732 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseValues.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseValues.c @@ -21,22 +21,24 @@ lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(l lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_appendTagSuffix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__3; +static lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__2; +static lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__4; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__6; +lean_object* l_Lean_Meta_caseValueAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValues_loop_match__1(lean_object*); static lean_object* l_Lean_Meta_instInhabitedCaseValueSubgoal___closed__1; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_caseValues_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__2; lean_object* l_Lean_Meta_CaseValuesSubgoal_newHs___default; lean_object* l_Lean_Meta_FVarSubst_domain(lean_object*); static lean_object* l_Lean_Meta_caseValue___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__6; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_Lean_Meta_caseValueAux_match__1(lean_object*); static lean_object* l_Lean_Meta_caseValue___closed__1; @@ -46,25 +48,27 @@ lean_object* l_Lean_Meta_caseValueAux___lambda__1___boxed(lean_object*, lean_obj lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValues_loop_match__4(lean_object*); static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__2; -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__8; lean_object* l_Lean_Meta_CaseValuesSubgoal_subst___default; lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__4; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__8; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__4; static lean_object* l_Lean_Meta_caseValues_loop___closed__4; lean_object* l_Lean_Meta_substCore(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValues_loop___closed__8; lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValueAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__8; static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__1; +lean_object* l_Lean_Meta_caseValueAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__9; static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__1; lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_caseValueAux___lambda__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_Meta_caseValueAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValue___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedCaseValuesSubgoal; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__11; lean_object* l_Lean_Meta_caseValueAux_match__1___rarg(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Meta_CaseValueSubgoal_subst___default; @@ -73,12 +77,11 @@ static lean_object* l_Lean_Meta_caseValue___closed__6; static lean_object* l_Lean_Meta_instInhabitedCaseValuesSubgoal___closed__1; lean_object* l_List_map___at_Lean_Meta_substCore___spec__5(lean_object*); static lean_object* l_Lean_Meta_caseValues_loop___closed__3; -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__5; +static lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__3; static lean_object* l_Lean_Meta_caseValues_loop___closed__5; lean_object* l_Lean_Meta_caseValues_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValue___closed__5; lean_object* l_Lean_mkFVar(lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__11; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_caseValues_loop_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -86,35 +89,36 @@ lean_object* l_Lean_Meta_FVarSubst_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValues_loop___closed__2; lean_object* l_Lean_Meta_caseValueAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__6; lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValues_loop___closed__6; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__1; static lean_object* l_Lean_Meta_caseValues_loop___closed__1; lean_object* l_Lean_Meta_caseValues_loop_match__3(lean_object*); static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__2; static lean_object* l_Lean_Meta_caseValue___closed__3; lean_object* l_Lean_Meta_caseValues_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseValues_loop_match__2(lean_object*); +lean_object* l_Lean_Meta_caseValueAux___lambda__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_Meta_caseValueAux_match__2___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__10; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__7; lean_object* l_Lean_Meta_caseValueAux_match__2(lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__4; -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__3; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_caseValues_loop___closed__7; -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__9; -static lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__7; +static lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__1; +lean_object* l_Lean_Meta_caseValueAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_caseValueAux___lambda__1___closed__7; +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__3; lean_object* l_Lean_Meta_caseValues_loop_match__3___rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_caseValueAux___lambda__4___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_caseValues_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_CaseValueSubgoal_subst___default() { _start: @@ -204,314 +208,113 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("searching for decl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_caseValueAux___lambda__1___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("subst domain: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_caseValueAux___lambda__1___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_caseValueAux___lambda__1___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_caseValueAux___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) { _start: { -lean_object* x_9; uint8_t x_58; lean_object* x_59; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_st_ref_get(x_7, x_8); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_75 = 0; -x_58 = x_75; -x_59 = x_74; -goto block_69; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_70, 1); -lean_inc(x_76); -lean_dec(x_70); -lean_inc(x_3); -x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_unbox(x_78); -lean_dec(x_78); -x_58 = x_80; -x_59 = x_79; -goto block_69; -} -block_57: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_10 = l_Lean_Meta_FVarSubst_get(x_1, x_2); -x_11 = l_Lean_Expr_fvarId_x21(x_10); -lean_dec(x_10); -x_43 = lean_st_ref_get(x_7, x_9); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_44, 3); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_12 = x_47; -goto block_42; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_dec(x_43); -lean_inc(x_3); -x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_12 = x_52; -goto block_42; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_49, 1); -lean_inc(x_53); -lean_dec(x_49); -x_54 = l_Lean_Meta_caseValueAux___lambda__1___closed__4; -lean_inc(x_3); -x_55 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_54, x_4, x_5, x_6, x_7, x_53); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_12 = x_56; -goto block_42; -} -} -block_42: -{ -lean_object* x_13; +lean_object* x_9; lean_inc(x_4); -x_13 = l_Lean_Meta_getLocalDecl(x_11, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_13) == 0) +x_9 = l_Lean_Meta_getLocalDecl(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, 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); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -lean_dec(x_17); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_4); -lean_dec(x_3); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_15, 0); +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + x_11 = x_9; +} else { + lean_dec_ref(x_9); + x_11 = lean_box(0); +} +x_19 = lean_st_ref_get(x_7, x_10); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); lean_dec(x_20); -x_21 = lean_box(0); -lean_ctor_set(x_15, 0, x_21); +x_22 = lean_ctor_get_uint8(x_21, sizeof(void*)*1); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = 0; +x_12 = x_24; +x_13 = x_23; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec(x_19); +lean_inc(x_2); +x_26 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2, x_4, x_5, x_6, x_7, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_unbox(x_27); +lean_dec(x_27); +x_12 = x_29; +x_13 = x_28; +goto block_18; +} +block_18: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +lean_dec(x_2); +x_14 = lean_box(0); +if (lean_is_scalar(x_11)) { + x_15 = lean_alloc_ctor(0, 2, 0); +} else { + x_15 = x_11; +} +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -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_22); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_dec(x_15); -lean_inc(x_3); -x_26 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -uint8_t x_29; +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +x_16 = l_Lean_Meta_caseValueAux___lambda__1___closed__2; +x_17 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2, x_16, x_4, x_5, x_6, x_7, x_13); lean_dec(x_4); -lean_dec(x_3); -x_29 = !lean_is_exclusive(x_26); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_26, 0); -lean_dec(x_30); -x_31 = lean_box(0); -lean_ctor_set(x_26, 0, x_31); -return x_26; +return x_17; +} +} } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 1); +uint8_t x_30; +lean_dec(x_4); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_9); +if (x_30 == 0) +{ +return x_9; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_9, 0); +x_32 = lean_ctor_get(x_9, 1); lean_inc(x_32); -lean_dec(x_26); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_26, 1); -lean_inc(x_35); -lean_dec(x_26); -x_36 = l_Lean_Meta_caseValueAux___lambda__1___closed__2; -x_37 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_36, x_4, x_5, x_6, x_7, x_35); -lean_dec(x_4); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_4); -lean_dec(x_3); -x_38 = !lean_is_exclusive(x_13); -if (x_38 == 0) -{ -return x_13; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_13, 0); -x_40 = lean_ctor_get(x_13, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_13); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -} -block_69: -{ -if (x_58 == 0) -{ -x_9 = x_59; -goto block_57; -} -else -{ -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; -x_60 = l_Lean_Meta_FVarSubst_domain(x_1); -x_61 = l_List_map___at_Lean_Meta_substCore___spec__5(x_60); -x_62 = l_Lean_MessageData_ofList(x_61); -lean_dec(x_61); -x_63 = l_Lean_Meta_caseValueAux___lambda__1___closed__6; -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = l_Lean_Meta_caseValueAux___lambda__1___closed__8; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_inc(x_3); -x_67 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_66, x_4, x_5, x_6, x_7, x_59); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_9 = x_68; -goto block_57; +lean_inc(x_31); +lean_dec(x_9); +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; } } } @@ -520,21 +323,224 @@ static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("caseValue"); +x_1 = lean_mk_string("searching for decl"); return x_1; } } static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_caseValueAux___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_caseValueAux___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_10 = l_Lean_Meta_FVarSubst_get(x_1, x_2); +x_11 = l_Lean_Expr_fvarId_x21(x_10); +lean_dec(x_10); +x_22 = lean_st_ref_get(x_8, x_9); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_23, 3); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*1); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = 0; +x_12 = x_27; +x_13 = x_26; +goto block_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +lean_inc(x_3); +x_29 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_unbox(x_30); +lean_dec(x_30); +x_12 = x_32; +x_13 = x_31; +goto block_21; +} +block_21: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Meta_caseValueAux___lambda__1(x_11, x_3, x_14, x_5, x_6, x_7, x_8, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Meta_caseValueAux___lambda__2___closed__2; +lean_inc(x_3); +x_17 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_16, x_5, x_6, x_7, x_8, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Meta_caseValueAux___lambda__1(x_11, x_3, x_18, x_5, x_6, x_7, x_8, x_19); +lean_dec(x_18); +return x_20; +} +} +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("subst domain: "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_caseValueAux___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_caseValueAux___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_caseValueAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_st_ref_get(x_7, x_8); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_9 = x_30; +x_10 = x_29; +goto block_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +lean_inc(x_3); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_9 = x_35; +x_10 = x_34; +goto block_24; +} +block_24: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_caseValueAux___lambda__2(x_1, x_2, x_3, x_11, x_4, x_5, x_6, x_7, x_10); +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; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_13 = l_Lean_Meta_FVarSubst_domain(x_1); +x_14 = l_List_map___at_Lean_Meta_substCore___spec__5(x_13); +x_15 = l_Lean_MessageData_ofList(x_14); +lean_dec(x_14); +x_16 = l_Lean_Meta_caseValueAux___lambda__3___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Meta_caseValueAux___lambda__3___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +lean_inc(x_3); +x_20 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_19, x_4, x_5, x_6, x_7, x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Meta_caseValueAux___lambda__2(x_1, x_2, x_3, x_21, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_21); +return x_23; +} +} +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("caseValue"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___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_caseValueAux___lambda__2___closed__1; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -542,27 +548,27 @@ x_1 = lean_mk_string("Not"); return x_1; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseValueAux___lambda__2___closed__3; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__5() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseValueAux___lambda__2___closed__4; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__4; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__6() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__6() { _start: { lean_object* x_1; @@ -570,17 +576,17 @@ x_1 = lean_mk_string("dite"); return x_1; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__7() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseValueAux___lambda__2___closed__6; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__8() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -589,17 +595,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__9() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseValueAux___lambda__2___closed__8; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__8; x_3 = lean_array_push(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__10() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__10() { _start: { lean_object* x_1; @@ -607,17 +613,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__2___closed__11() { +static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__4___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseValueAux___lambda__2___closed__10; +x_2 = l_Lean_Meta_caseValueAux___lambda__4___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_caseValueAux___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* l_Lean_Meta_caseValueAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -631,7 +637,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_caseValueAux___lambda__2___closed__2; +x_14 = l_Lean_Meta_caseValueAux___lambda__4___closed__2; lean_inc(x_1); x_15 = l_Lean_Meta_checkNotAssigned(x_1, x_14, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_15) == 0) @@ -664,7 +670,7 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = l_Lean_Meta_caseValueAux___lambda__2___closed__5; +x_24 = l_Lean_Meta_caseValueAux___lambda__4___closed__5; lean_inc(x_22); x_25 = l_Lean_mkApp(x_24, x_22); x_26 = 0; @@ -697,12 +703,12 @@ lean_ctor_set(x_37, 0, x_30); lean_inc(x_33); x_38 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_38, 0, x_33); -x_39 = l_Lean_Meta_caseValueAux___lambda__2___closed__9; +x_39 = l_Lean_Meta_caseValueAux___lambda__4___closed__9; x_40 = lean_array_push(x_39, x_36); x_41 = lean_array_push(x_40, x_35); x_42 = lean_array_push(x_41, x_37); x_43 = lean_array_push(x_42, x_38); -x_44 = l_Lean_Meta_caseValueAux___lambda__2___closed__7; +x_44 = l_Lean_Meta_caseValueAux___lambda__4___closed__7; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -787,10 +793,10 @@ if (x_68 == 0) lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; x_69 = lean_ctor_get(x_66, 0); x_70 = lean_ctor_get(x_66, 1); -x_71 = l_Lean_Meta_caseValueAux___lambda__2___closed__11; +x_71 = l_Lean_Meta_caseValueAux___lambda__4___closed__11; lean_inc(x_62); lean_inc(x_69); -x_72 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__1___boxed), 8, 3); +x_72 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__3___boxed), 8, 3); lean_closure_set(x_72, 0, x_69); lean_closure_set(x_72, 1, x_62); lean_closure_set(x_72, 2, x_71); @@ -874,10 +880,10 @@ x_89 = lean_ctor_get(x_66, 1); lean_inc(x_89); lean_inc(x_88); lean_dec(x_66); -x_90 = l_Lean_Meta_caseValueAux___lambda__2___closed__11; +x_90 = l_Lean_Meta_caseValueAux___lambda__4___closed__11; lean_inc(x_62); lean_inc(x_88); -x_91 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__1___boxed), 8, 3); +x_91 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__3___boxed), 8, 3); lean_closure_set(x_91, 0, x_88); lean_closure_set(x_91, 1, x_62); lean_closure_set(x_91, 2, x_90); @@ -1199,7 +1205,7 @@ _start: { lean_object* x_11; lean_object* x_12; lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__2), 10, 5); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__4), 10, 5); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -1217,6 +1223,31 @@ x_9 = l_Lean_Meta_caseValueAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_caseValueAux___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_caseValueAux___lambda__2(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_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Meta_caseValueAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_caseValueAux___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); return x_9; } @@ -2141,40 +2172,40 @@ l_Lean_Meta_caseValueAux___lambda__1___closed__1 = _init_l_Lean_Meta_caseValueAu lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__1); l_Lean_Meta_caseValueAux___lambda__1___closed__2 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__2(); lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__2); -l_Lean_Meta_caseValueAux___lambda__1___closed__3 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__3); -l_Lean_Meta_caseValueAux___lambda__1___closed__4 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__4); -l_Lean_Meta_caseValueAux___lambda__1___closed__5 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__5); -l_Lean_Meta_caseValueAux___lambda__1___closed__6 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__6); -l_Lean_Meta_caseValueAux___lambda__1___closed__7 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__7); -l_Lean_Meta_caseValueAux___lambda__1___closed__8 = _init_l_Lean_Meta_caseValueAux___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__1___closed__8); l_Lean_Meta_caseValueAux___lambda__2___closed__1 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__1); l_Lean_Meta_caseValueAux___lambda__2___closed__2 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__2); -l_Lean_Meta_caseValueAux___lambda__2___closed__3 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__3); -l_Lean_Meta_caseValueAux___lambda__2___closed__4 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__4); -l_Lean_Meta_caseValueAux___lambda__2___closed__5 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__5); -l_Lean_Meta_caseValueAux___lambda__2___closed__6 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__6); -l_Lean_Meta_caseValueAux___lambda__2___closed__7 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__7); -l_Lean_Meta_caseValueAux___lambda__2___closed__8 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__8); -l_Lean_Meta_caseValueAux___lambda__2___closed__9 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__9); -l_Lean_Meta_caseValueAux___lambda__2___closed__10 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__10); -l_Lean_Meta_caseValueAux___lambda__2___closed__11 = _init_l_Lean_Meta_caseValueAux___lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__2___closed__11); +l_Lean_Meta_caseValueAux___lambda__3___closed__1 = _init_l_Lean_Meta_caseValueAux___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__3___closed__1); +l_Lean_Meta_caseValueAux___lambda__3___closed__2 = _init_l_Lean_Meta_caseValueAux___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__3___closed__2); +l_Lean_Meta_caseValueAux___lambda__3___closed__3 = _init_l_Lean_Meta_caseValueAux___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__3___closed__3); +l_Lean_Meta_caseValueAux___lambda__3___closed__4 = _init_l_Lean_Meta_caseValueAux___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__3___closed__4); +l_Lean_Meta_caseValueAux___lambda__4___closed__1 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__1); +l_Lean_Meta_caseValueAux___lambda__4___closed__2 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__2); +l_Lean_Meta_caseValueAux___lambda__4___closed__3 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__3); +l_Lean_Meta_caseValueAux___lambda__4___closed__4 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__4); +l_Lean_Meta_caseValueAux___lambda__4___closed__5 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__5); +l_Lean_Meta_caseValueAux___lambda__4___closed__6 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__6); +l_Lean_Meta_caseValueAux___lambda__4___closed__7 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__7(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__7); +l_Lean_Meta_caseValueAux___lambda__4___closed__8 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__8(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__8); +l_Lean_Meta_caseValueAux___lambda__4___closed__9 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__9(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__9); +l_Lean_Meta_caseValueAux___lambda__4___closed__10 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__10(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__10); +l_Lean_Meta_caseValueAux___lambda__4___closed__11 = _init_l_Lean_Meta_caseValueAux___lambda__4___closed__11(); +lean_mark_persistent(l_Lean_Meta_caseValueAux___lambda__4___closed__11); l_Lean_Meta_caseValue___closed__1 = _init_l_Lean_Meta_caseValue___closed__1(); lean_mark_persistent(l_Lean_Meta_caseValue___closed__1); l_Lean_Meta_caseValue___closed__2 = _init_l_Lean_Meta_caseValue___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 3bd82422f4..6ff90d7392 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -18,19 +18,19 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___rarg___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f(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_checkNumPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8; static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__5; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1; lean_object* l_Lean_Meta_Match_Example_applyFVarSubst(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__2___closed__1; -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5(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_Match_processConstructor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__2; size_t l_USize_add(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__13; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___rarg___closed__2; @@ -47,13 +47,14 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda_ lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4; lean_object* l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1(uint8_t); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_match__1(lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__2; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__3(lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(lean_object*, lean_object*); lean_object* l_Lean_mkSort(lean_object*); @@ -65,7 +66,7 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1___boxed lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_FVarSubst_contains___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6; +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___closed__1; static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3; @@ -75,7 +76,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFro lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___boxed(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_withAlts___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,9 +84,10 @@ lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2; uint8_t l_USize_decEq(size_t, size_t); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___boxed(lean_object**); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern_match__1(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -99,11 +101,13 @@ static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Match_instantiateAltLHSMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition_match__1(lean_object*); lean_object* l_Lean_Meta_Match_withMkMatcherInput_match__1(lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1; lean_object* l_Lean_Meta_MatcherApp_addArg(lean_object*, 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_processConstructor___spec__8(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__4; @@ -117,13 +121,16 @@ lean_object* l_Lean_Meta_Match_mkMatcher_match__2___rarg(lean_object*, lean_obje lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f_match__1___boxed(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___rarg___closed__3; +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search(lean_object*, lean_object*, 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_moveToFront___spec__5(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__1___boxed__const__1; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6; lean_object* l_Lean_Meta_Match_withMkMatcherInput_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2___rarg(lean_object*, lean_object*, lean_object*); @@ -136,6 +143,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoC lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes___boxed(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___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_expandVarIntoCtor_x3f___spec__4___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__9___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1___closed__1; @@ -143,6 +151,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTran uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__1; static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___closed__2; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4; lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_dependsOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,27 +165,26 @@ uint8_t l_Lean_Meta_Match_Unify_occurs(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__2(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9; +lean_object* l_Lean_Meta_Match_Unify_unify___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__6; lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedAlt; +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1; static lean_object* l_Lean_Meta_Match_Unify_assign___closed__7; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5___lambda__1___closed__1; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2___boxed(lean_object**); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues(lean_object*); @@ -187,10 +195,12 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); static lean_object* l_Lean_Meta_Match_Unify_assign___closed__3; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8; lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__13; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8; static lean_object* l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1___closed__2; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -199,6 +209,7 @@ lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern___spec__1(uint8_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5___lambda__1___boxed(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_isNextVar___boxed(lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__4; @@ -210,22 +221,25 @@ lean_object* l_Std_mkHashSetImp___rarg(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__10; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4; lean_object* l_Lean_Meta_Match_mkMatcher_match__1(lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext_match__2(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4; lean_object* l_Lean_throwError___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___lambda__1(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___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1; static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1; lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher(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_processValue___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop(lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__4; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,8 +250,7 @@ lean_object* l_Lean_Meta_Match_withMkMatcherInput___rarg___lambda__1(lean_object uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1; -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3(lean_object*, lean_object*, lean_object*, 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*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(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_hasValPattern_match__1(lean_object*); @@ -246,10 +259,12 @@ static lean_object* l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_ static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___closed__4; lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_matcherExt___closed__2; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_State_fvarSubst___default; extern lean_object* l_Lean_levelZero; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__5; lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_Unify_assign___closed__9; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___rarg___closed__4; static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f_match__1(lean_object*); @@ -260,39 +275,49 @@ lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample___spec__1(uint8_t, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__8(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_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t l_UInt32_add(uint32_t, uint32_t); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_unify_match__1___rarg(lean_object*, 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_processConstructor___spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__3; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(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___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; size_t l_UInt64_toUSize(uint64_t); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_8851_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_9672_(lean_object*); uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher_match__2(lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1; lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__2(lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg___closed__1; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___spec__1(uint8_t, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__16; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Std_mkHashSet___at_Lean_Meta_Match_State_used___default___spec__1(lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__1___closed__2; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__15; lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor(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_withAlts(lean_object*); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__2(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__18; @@ -300,6 +325,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern_ static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__3; +lean_object* l_Lean_Meta_Match_Unify_assign___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData(lean_object*); lean_object* l_Lean_Meta_Match_Unify_unify_match__1(lean_object*); @@ -307,8 +333,10 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__6___boxed(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__9(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_Match_expandVarIntoCtor_x3f___lambda__1___boxed__const__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(lean_object*, 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_processValue___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,17 +347,18 @@ lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit(uint8_t, lean_object*, lean_ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___lambda__1___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___boxed(lean_object**); lean_object* l_List_map___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__3(lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__6; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Unify_assign___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__1(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_Match_processAsPattern___lambda__1___boxed(lean_object*, 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_hasArrayLitPattern(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___closed__1; +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search_match__1(lean_object*); @@ -369,34 +398,37 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__14; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__4___closed__1; -static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2; +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__7; +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext_match__1(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___boxed(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_isNextVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern(lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__7___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__5; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample(lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop_match__1(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__2; +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__1(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); @@ -404,13 +436,12 @@ lean_object* l_Lean_Meta_MatcherApp_addArg_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9; static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__2(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3; lean_object* l_Lean_Meta_Match_withMkMatcherInput(lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9___closed__2; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); @@ -421,15 +452,12 @@ uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_has static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4; lean_object* l_Lean_Meta_Match_matcherExt; -lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; lean_object* l_Lean_Meta_Match_Unify_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); -lean_object* l_Lean_Meta_Match_mkMatcher___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* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, 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*); lean_object* l_Lean_Meta_Match_State_counterExamples___default; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1; @@ -448,6 +476,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFro lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps_match__1(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___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_array_to_list(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,9 +494,11 @@ extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5(size_t, size_t, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_getMaxHeight(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition___boxed(lean_object*); @@ -485,7 +516,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstru uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3; -lean_object* l_Lean_Meta_Match_Unify_unify___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_Unify_unify___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__2; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___spec__1(uint8_t, lean_object*); @@ -494,16 +524,19 @@ lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___boxed(le lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__1(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_throwCasesException_match__1(lean_object*); size_t l_USize_mul(size_t, size_t); +uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1(uint8_t, uint8_t); lean_object* l_Lean_Meta_Closure_mkValueTypeClosure(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__2(lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___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* l_Lean_Expr_withAppAux___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__3___boxed__const__1; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__5; static lean_object* l_Lean_Meta_Match_Unify_assign___closed__1; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__7; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition___spec__1(uint8_t, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); @@ -518,9 +551,9 @@ lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__1 static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; lean_object* l_Lean_mkSimpleThunkType(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible_match__2(lean_object*); static lean_object* l_Lean_Meta_Match_Unify_assign___closed__4; +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,9 +562,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatte lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___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_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__1; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___closed__2; size_t l_USize_land(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___closed__5; @@ -540,9 +573,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFro lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop_match__2(lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException(lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__1(lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1; lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -551,7 +584,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_match__1(lean_object*); lean_object* l_Lean_Meta_Match_isCurrVarInductive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(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_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_Unify_assign___closed__2; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1; @@ -563,12 +595,14 @@ lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Matc static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2___closed__3; extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____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_processValue___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps___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_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__3(lean_object*); -lean_object* l_Lean_Meta_Match_Unify_assign___boxed(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_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -590,6 +624,7 @@ uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(lean_o lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -597,13 +632,12 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoC uint8_t lean_expr_eqv(lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition(lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_mkMatcher___spec__1(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__3___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__6; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6; lean_object* l_Lean_Meta_Match_Problem_toMessageData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -612,10 +646,11 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1( lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst(lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4; +static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; +lean_object* l_Lean_Meta_Match_Unify_unify___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_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___boxed(lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7; +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -641,26 +676,24 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern___boxed(lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__4; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__3___boxed(lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1(uint8_t, lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12; lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2; static lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps___closed__2; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___boxed(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___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__3; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___lambda__1___closed__4; lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___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*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__10; lean_object* l_Array_indexOfAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__5; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -668,6 +701,7 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___boxed(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_traceState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2; lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition_match__1(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5___boxed(lean_object*, lean_object*); @@ -680,6 +714,7 @@ uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_Meta_Match_Example_replaceFVarId(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___closed__1; lean_object* l_Std_HashSetImp_contains___at_Lean_Meta_Match_mkMatcher___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__9; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1___closed__1; lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__2(lean_object*, lean_object*, lean_object*); @@ -687,6 +722,7 @@ uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isN static lean_object* l_Lean_Meta_Match_Unify_assign___closed__5; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition_match__1(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2; extern lean_object* l_Lean_instInhabitedName; static lean_object* l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1___closed__4; @@ -694,7 +730,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPatte lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -716,11 +751,9 @@ lean_object* l_Lean_Meta_Match_withGoalOf___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Meta_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__17; -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__11; lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); @@ -754,7 +787,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_findNe lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__4(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_Match_throwCasesException___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_unify_x3f___boxed(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_Match_processNonVariable___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__2; @@ -765,7 +797,6 @@ lean_object* l_Lean_Meta_Match_mkMatcher_match__1___rarg(lean_object*, lean_obje lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop_match__1(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l_Lean_Meta_Match_State_used___default___closed__1; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4; lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_examplesToMessageData(lean_object*); @@ -778,24 +809,25 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Match_processInaccessibleAsCtor_ lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__8; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___spec__1(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_withAlts_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___closed__1; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(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_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8; lean_object* l_Lean_Meta_Match_mkMatcher_match__3___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___closed__1; lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3; +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7; lean_object* l_Lean_mkNatLit(lean_object*); -static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15; lean_object* l_Std_HashSetImp_expand___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__4(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -818,6 +850,7 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__3; +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableBool___boxed(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -834,24 +867,25 @@ static lean_object* l_Lean_Meta_Match_Unify_assign___closed__6; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__2(size_t, size_t, lean_object*); lean_object* l_Std_HashSetImp_moveEntries___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___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_indentExpr(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2; -static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5; extern lean_object* l_Lean_Meta_Match_instInhabitedProblem; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1___closed__1; lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__1; +lean_object* l_Lean_Meta_Match_Unify_assign___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); static lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -868,10 +902,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_findNe lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__12; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883_(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859_(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385_(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409_(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1(uint8_t, uint8_t); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1(uint8_t, lean_object*); lean_object* l_Lean_Meta_Match_Unify_isAltVar(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_Match_withAlts_loop_match__1___rarg(lean_object*, lean_object*); @@ -882,6 +915,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta lean_object* l_Lean_Meta_Match_Unify_expandIfVar___boxed(lean_object*, lean_object*, 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_processArrayLit___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Unify_assign___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -892,13 +926,14 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTran lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront(lean_object*); -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_mkMatcher___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_Lean_Exception_toMessageData(lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1; lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___closed__1; @@ -1429,6 +1464,29 @@ return x_42; } } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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) { +_start: +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_21 = lean_box(x_4); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___boxed), 18, 12); +lean_closure_set(x_22, 0, x_1); +lean_closure_set(x_22, 1, x_2); +lean_closure_set(x_22, 2, x_3); +lean_closure_set(x_22, 3, x_21); +lean_closure_set(x_22, 4, x_5); +lean_closure_set(x_22, 5, x_6); +lean_closure_set(x_22, 6, x_7); +lean_closure_set(x_22, 7, x_8); +lean_closure_set(x_22, 8, x_9); +lean_closure_set(x_22, 9, x_10); +lean_closure_set(x_22, 10, x_11); +lean_closure_set(x_22, 11, x_12); +x_23 = 0; +x_24 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(x_13, x_23, x_14, x_22, x_16, x_17, x_18, x_19, x_20); +return x_24; +} +} static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1() { _start: { @@ -1607,28 +1665,28 @@ lean_dec(x_27); x_30 = l_Array_isEmpty___rarg(x_26); if (x_30 == 0) { -lean_object* x_76; lean_object* x_77; -x_76 = lean_array_get_size(x_26); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_28); -lean_ctor_set(x_77, 1, x_76); -x_31 = x_77; -goto block_75; +lean_object* x_71; lean_object* x_72; +x_71 = lean_array_get_size(x_26); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_28); +lean_ctor_set(x_72, 1, x_71); +x_31 = x_72; +goto block_70; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = l_Lean_mkSimpleThunkType(x_28); -x_79 = lean_unsigned_to_nat(1u); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_31 = x_80; -goto block_75; +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = l_Lean_mkSimpleThunkType(x_28); +x_74 = lean_unsigned_to_nat(1u); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_31 = x_75; +goto block_70; } -block_75: +block_70: { -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; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -1640,120 +1698,93 @@ x_36 = lean_unsigned_to_nat(1u); x_37 = lean_nat_add(x_35, x_36); x_38 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__2; x_39 = lean_name_append_index_after(x_38, x_37); -x_63 = lean_st_ref_get(x_9, x_29); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); +x_40 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; +x_59 = lean_st_ref_get(x_9, x_29); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +lean_dec(x_61); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_64 = 0; +x_41 = x_64; +x_42 = x_63; +goto block_58; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_59, 1); lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_63, 1); +lean_dec(x_59); +x_66 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_40, x_6, x_7, x_8, x_9, x_65); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_63); -x_68 = 0; -x_40 = x_68; -x_41 = x_67; -goto block_62; +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); +lean_dec(x_67); +x_41 = x_69; +x_42 = x_68; +goto block_58; +} +block_58: +{ +if (x_41 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_box(0); +x_44 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2(x_33, x_5, x_16, x_30, x_26, x_15, x_35, x_17, x_4, x_1, x_2, x_14, x_39, x_32, x_43, x_6, x_7, x_8, x_9, x_42); +return x_44; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; -x_71 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_70, x_6, x_7, x_8, x_9, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_40 = x_74; -x_41 = x_73; -goto block_62; -} -block_62: -{ -if (x_40 == 0) -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; -x_42 = lean_box(x_30); -x_43 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___boxed), 18, 12); -lean_closure_set(x_43, 0, x_33); -lean_closure_set(x_43, 1, x_5); -lean_closure_set(x_43, 2, x_16); -lean_closure_set(x_43, 3, x_42); -lean_closure_set(x_43, 4, x_26); -lean_closure_set(x_43, 5, x_15); -lean_closure_set(x_43, 6, x_35); -lean_closure_set(x_43, 7, x_17); -lean_closure_set(x_43, 8, x_4); -lean_closure_set(x_43, 9, x_1); -lean_closure_set(x_43, 10, x_2); -lean_closure_set(x_43, 11, x_14); -x_44 = 0; -x_45 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(x_39, x_44, x_32, x_43, x_6, x_7, x_8, x_9, x_41); -return x_45; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; +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_inc(x_39); -x_46 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_46, 0, x_39); -x_47 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__10; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); +x_45 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_45, 0, x_39); +x_46 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__10; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); lean_inc(x_32); -x_51 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_51, 0, x_32); -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; -x_56 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_55, x_54, x_6, x_7, x_8, x_9, x_41); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_box(x_30); -x_59 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1___boxed), 18, 12); -lean_closure_set(x_59, 0, x_33); -lean_closure_set(x_59, 1, x_5); -lean_closure_set(x_59, 2, x_16); -lean_closure_set(x_59, 3, x_58); -lean_closure_set(x_59, 4, x_26); -lean_closure_set(x_59, 5, x_15); -lean_closure_set(x_59, 6, x_35); -lean_closure_set(x_59, 7, x_17); -lean_closure_set(x_59, 8, x_4); -lean_closure_set(x_59, 9, x_1); -lean_closure_set(x_59, 10, x_2); -lean_closure_set(x_59, 11, x_14); -x_60 = 0; -x_61 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(x_39, x_60, x_32, x_59, x_6, x_7, x_8, x_9, x_57); -return x_61; +x_50 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_50, 0, x_32); +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_40, x_53, x_6, x_7, x_8, x_9, x_42); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2(x_33, x_5, x_16, x_30, x_26, x_15, x_35, x_17, x_4, x_1, x_2, x_14, x_39, x_32, x_55, x_6, x_7, x_8, x_9, x_56); +lean_dec(x_55); +return x_57; } } } } else { -uint8_t x_81; +uint8_t x_76; lean_dec(x_26); lean_dec(x_17); lean_dec(x_16); @@ -1767,23 +1798,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_81 = !lean_is_exclusive(x_27); -if (x_81 == 0) +x_76 = !lean_is_exclusive(x_27); +if (x_76 == 0) { return x_27; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_27, 0); -x_83 = lean_ctor_get(x_27, 1); -lean_inc(x_83); -lean_inc(x_82); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_27, 0); +x_78 = lean_ctor_get(x_27, 1); +lean_inc(x_78); +lean_inc(x_77); lean_dec(x_27); -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; +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; } } } @@ -1826,6 +1857,37 @@ lean_dec(x_5); return x_20; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_4); +lean_dec(x_4); +x_22 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__2(x_1, x_2, x_3, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_15); +return x_22; +} +} static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg___closed__1() { _start: { @@ -4062,20 +4124,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_ return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { -_start: -{ -lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_5, 0); -x_9 = l_Lean_checkTraceOption(x_8, x_1); -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -} -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1() { +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1() { _start: { lean_object* x_1; @@ -4083,16 +4132,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2() { +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1; +x_1 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3() { +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3() { _start: { lean_object* x_1; @@ -4100,16 +4149,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4() { +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3; +x_1 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { _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; uint8_t x_17; @@ -4142,11 +4191,11 @@ x_20 = lean_ctor_get(x_15, 0); lean_inc(x_1); x_21 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_21, 0, x_1); -x_22 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_22 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_24 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -4200,11 +4249,11 @@ lean_dec(x_15); lean_inc(x_1); x_41 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_41, 0, x_1); -x_42 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_42 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); -x_44 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_44 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -4272,11 +4321,11 @@ if (lean_is_exclusive(x_15)) { lean_inc(x_1); x_64 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_64, 0, x_1); -x_65 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_65 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_66 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_67 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); @@ -4330,6 +4379,19 @@ return x_81; } } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_5, 0); +x_9 = l_Lean_checkTraceOption(x_8, x_1); +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +} lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__6(lean_object* x_1, lean_object* x_2) { _start: { @@ -4607,6 +4669,133 @@ return x_37; } } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { +_start: +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = 1; +lean_inc(x_7); +x_11 = l_Lean_Meta_admit(x_9, x_10, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_st_ref_get(x_7, x_12); +lean_dec(x_7); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_st_ref_take(x_3, 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); +lean_dec(x_15); +x_18 = !lean_is_exclusive(x_16); +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_16, 1); +x_20 = lean_ctor_get(x_1, 3); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_16, 1, x_21); +x_22 = lean_st_ref_set(x_3, x_16, x_17); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +x_25 = lean_box(0); +lean_ctor_set(x_22, 0, x_25); +return x_22; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_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_26); +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_object* x_37; lean_object* x_38; +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_16); +x_31 = lean_ctor_get(x_1, 3); +lean_inc(x_31); +lean_dec(x_1); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_st_ref_set(x_3, x_33, x_17); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +x_37 = lean_box(0); +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_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_dec(x_7); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_11); +if (x_39 == 0) +{ +return x_11; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_11, 0); +x_41 = lean_ctor_get(x_11, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_11); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__1() { _start: { @@ -4650,329 +4839,200 @@ x_8 = lean_ctor_get(x_1, 2); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_st_ref_get(x_6, x_7); -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; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_9 = x_49; -goto block_44; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_dec(x_45); -x_51 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_51, x_2, x_3, x_4, x_5, x_6, x_50); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_unbox(x_53); -lean_dec(x_53); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_dec(x_52); -x_9 = x_55; -goto block_44; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_52, 1); -lean_inc(x_56); -lean_dec(x_52); -x_57 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__4; -x_58 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_51, x_57, x_2, x_3, x_4, x_5, x_6, x_56); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_9 = x_59; -goto block_44; -} -} -block_44: -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -x_11 = 1; -lean_inc(x_6); -x_12 = l_Lean_Meta_admit(x_10, x_11, x_3, x_4, x_5, x_6, x_9); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_6, x_13); -lean_dec(x_6); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_st_ref_take(x_2, x_15); -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); -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_17, 1); -x_21 = lean_ctor_get(x_1, 3); +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_20 = lean_st_ref_get(x_6, x_7); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_1); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_17, 1, x_22); -x_23 = lean_st_ref_set(x_2, x_17, x_18); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_23, 0, x_26); -return x_23; +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = 0; +x_10 = x_25; +x_11 = x_24; +goto block_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_box(0); -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; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_10 = x_30; +x_11 = x_29; +goto block_19; +} +block_19: +{ +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__4; +x_15 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_9, x_14, x_2, x_3, x_4, x_5, x_6, x_11); +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 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_17); +lean_dec(x_16); +return x_18; +} } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_8, 0); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_17); -x_32 = lean_ctor_get(x_1, 3); +lean_dec(x_8); +x_32 = lean_ctor_get(x_31, 2); lean_inc(x_32); -lean_dec(x_1); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_st_ref_set(x_2, x_34, x_18); +lean_inc(x_6); +x_33 = l_Lean_Meta_Match_assignGoalOf(x_1, x_32, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_st_ref_get(x_6, x_34); +lean_dec(x_6); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); -} -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_dec(x_6); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_12); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_2, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = !lean_is_exclusive(x_38); if (x_40 == 0) { -return x_12; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_12, 0); -x_42 = lean_ctor_get(x_12, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_38, 0); +x_42 = lean_ctor_get(x_31, 1); lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_12); -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; -} +lean_dec(x_31); +x_43 = l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__3(x_41, x_42); +lean_ctor_set(x_38, 0, x_43); +x_44 = lean_st_ref_set(x_2, x_38, x_39); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +x_47 = lean_box(0); +lean_ctor_set(x_44, 0, x_47); +return x_44; } +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +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_48); +return x_50; } } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_8, 0); -lean_inc(x_60); -lean_dec(x_8); -x_61 = lean_ctor_get(x_60, 2); -lean_inc(x_61); -lean_inc(x_6); -x_62 = l_Lean_Meta_Match_assignGoalOf(x_1, x_61, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_62) == 0) +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_51 = lean_ctor_get(x_38, 0); +x_52 = lean_ctor_get(x_38, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_38); +x_53 = lean_ctor_get(x_31, 1); +lean_inc(x_53); +lean_dec(x_31); +x_54 = l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__3(x_51, x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +x_56 = lean_st_ref_set(x_2, x_55, x_39); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_58 = x_56; +} else { + lean_dec_ref(x_56); + x_58 = lean_box(0); +} +x_59 = lean_box(0); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +} +else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_62, 1); +uint8_t x_61; +lean_dec(x_31); +lean_dec(x_6); +x_61 = !lean_is_exclusive(x_33); +if (x_61 == 0) +{ +return x_33; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_33, 0); +x_63 = lean_ctor_get(x_33, 1); lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_st_ref_get(x_6, x_63); -lean_dec(x_6); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_st_ref_take(x_2, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_70 = lean_ctor_get(x_67, 0); -x_71 = lean_ctor_get(x_60, 1); -lean_inc(x_71); -lean_dec(x_60); -x_72 = l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__3(x_70, x_71); -lean_ctor_set(x_67, 0, x_72); -x_73 = lean_st_ref_set(x_2, x_67, x_68); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -x_76 = lean_box(0); -lean_ctor_set(x_73, 0, x_76); -return x_73; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -lean_dec(x_73); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -return x_79; -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_80 = lean_ctor_get(x_67, 0); -x_81 = lean_ctor_get(x_67, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_67); -x_82 = lean_ctor_get(x_60, 1); -lean_inc(x_82); -lean_dec(x_60); -x_83 = l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__3(x_80, x_82); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_81); -x_85 = lean_st_ref_set(x_2, x_84, x_68); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; -} else { - lean_dec_ref(x_85); - x_87 = lean_box(0); -} -x_88 = lean_box(0); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_87; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; -} -} -else -{ -uint8_t x_90; -lean_dec(x_60); -lean_dec(x_6); -x_90 = !lean_is_exclusive(x_62); -if (x_90 == 0) -{ -return x_62; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_62, 0); -x_92 = lean_ctor_get(x_62, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_62); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +lean_inc(x_62); +lean_dec(x_33); +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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(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_8; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { _start: { lean_object* x_9; -x_9 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4981,6 +5041,19 @@ lean_dec(x_3); return x_9; } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4990,6 +5063,16 @@ lean_dec(x_2); return x_4; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___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: { @@ -6326,11 +6409,11 @@ x_21 = lean_ctor_get(x_16, 0); lean_inc(x_1); x_22 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_22, 0, x_1); -x_23 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_23 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_25 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); @@ -6384,11 +6467,11 @@ lean_dec(x_16); lean_inc(x_1); x_42 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_42, 0, x_1); -x_43 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_43 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_45 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); @@ -6456,11 +6539,11 @@ if (lean_is_exclusive(x_16)) { lean_inc(x_1); x_65 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_65, 0, x_1); -x_66 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2; +x_66 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4; +x_68 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); @@ -6527,6 +6610,60 @@ lean_ctor_set(x_12, 1, x_8); return x_12; } } +lean_object* l_Lean_Meta_Match_Unify_assign___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) { +_start: +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_9 = 0; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_8); +return x_11; +} +} +lean_object* l_Lean_Meta_Match_Unify_assign___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) { +_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; uint8_t x_18; +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_5, 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 = l_Lean_Meta_FVarSubst_insert(x_14, x_1, x_2); +x_17 = lean_st_ref_set(x_5, x_16, x_15); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +x_20 = 1; +x_21 = lean_box(x_20); +lean_ctor_set(x_17, 0, x_21); +return x_17; +} +else +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = 1; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; +} +} +} static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__1() { _start: { @@ -6549,20 +6686,28 @@ static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("assign failed variable is not local, "); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Unify_assign___lambda__1___boxed), 8, 0); return x_1; } } static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("assign failed variable is not local, "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Unify_assign___closed__3; +x_1 = l_Lean_Meta_Match_Unify_assign___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__5() { +static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__6() { _start: { lean_object* x_1; @@ -6570,16 +6715,16 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__6() { +static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Unify_assign___closed__5; +x_1 = l_Lean_Meta_Match_Unify_assign___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__7() { +static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__8() { _start: { lean_object* x_1; @@ -6587,11 +6732,11 @@ x_1 = lean_mk_string("assign occurs check failed, "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__8() { +static lean_object* _init_l_Lean_Meta_Match_Unify_assign___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_1 = l_Lean_Meta_Match_Unify_assign___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -6613,85 +6758,72 @@ x_13 = lean_unbox(x_12); lean_dec(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_15 = x_11; -} else { - lean_dec_ref(x_11); - x_15 = lean_box(0); -} -x_42 = lean_st_ref_get(x_8, x_14); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 3); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); -lean_dec(x_44); -if (x_45 == 0) +lean_dec(x_11); +x_15 = l_Lean_Meta_Match_Unify_assign___closed__2; +x_36 = lean_st_ref_get(x_8, x_14); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = 0; -x_16 = x_47; -x_17 = x_46; -goto block_41; +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_16 = x_41; +x_17 = x_40; +goto block_35; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_42, 1); -lean_inc(x_48); -lean_dec(x_42); -x_49 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_unbox(x_51); -lean_dec(x_51); -x_16 = x_53; -x_17 = x_52; -goto block_41; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_16 = x_46; +x_17 = x_45; +goto block_35; } -block_41: +block_35: { +lean_object* x_18; +x_18 = l_Lean_Meta_Match_Unify_assign___closed__3; if (x_16 == 0) { -uint8_t x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_19; lean_object* x_20; lean_dec(x_2); lean_dec(x_1); -x_18 = 0; -x_19 = lean_box(x_18); -if (lean_is_scalar(x_15)) { - x_20 = lean_alloc_ctor(0, 2, 0); -} else { - x_20 = x_15; -} -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); +x_19 = lean_box(0); +x_20 = lean_apply_8(x_18, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_17); return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -lean_dec(x_15); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; x_21 = l_Lean_mkFVar(x_1); x_22 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_Meta_Match_Unify_assign___closed__4; +x_23 = l_Lean_Meta_Match_Unify_assign___closed__5; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Meta_Match_Unify_assign___closed__6; +x_25 = l_Lean_Meta_Match_Unify_assign___closed__7; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); @@ -6704,265 +6836,204 @@ x_29 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_32 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_31, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -x_35 = 0; -x_36 = lean_box(x_35); -lean_ctor_set(x_32, 0, x_36); -return x_32; -} -else -{ -lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_32, 1); -lean_inc(x_37); -lean_dec(x_32); -x_38 = 0; -x_39 = lean_box(x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; -} +x_31 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_15, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +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 = lean_apply_8(x_18, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +return x_34; } } } else { -lean_object* x_54; lean_object* x_55; uint8_t x_72; lean_object* x_73; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_54 = lean_ctor_get(x_11, 1); -lean_inc(x_54); +lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_47 = lean_ctor_get(x_11, 1); +lean_inc(x_47); lean_dec(x_11); -x_87 = lean_st_ref_get(x_8, x_54); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_88, 3); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); -lean_dec(x_89); -if (x_90 == 0) +x_48 = l_Lean_Meta_Match_Unify_assign___closed__2; +x_67 = lean_st_ref_get(x_8, x_47); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_68, 3); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); +lean_dec(x_69); +if (x_70 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_92 = 0; -x_72 = x_92; -x_73 = x_91; -goto block_86; +lean_object* x_71; uint8_t x_72; +x_71 = lean_ctor_get(x_67, 1); +lean_inc(x_71); +lean_dec(x_67); +x_72 = 0; +x_49 = x_72; +x_50 = x_71; +goto block_66; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -x_94 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_95 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_93); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_unbox(x_96); -lean_dec(x_96); -x_72 = x_98; -x_73 = x_97; -goto block_86; +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_73 = lean_ctor_get(x_67, 1); +lean_inc(x_73); +lean_dec(x_67); +x_74 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_unbox(x_75); +lean_dec(x_75); +x_49 = x_77; +x_50 = x_76; +goto block_66; } -block_71: +block_66: { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_56 = lean_st_ref_get(x_8, x_55); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_st_ref_take(x_4, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Meta_FVarSubst_insert(x_59, x_1, x_2); -x_62 = lean_st_ref_set(x_4, x_61, x_60); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +if (x_49 == 0) { -lean_object* x_64; uint8_t x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 0); -lean_dec(x_64); -x_65 = 1; -x_66 = lean_box(x_65); -lean_ctor_set(x_62, 0, x_66); -return x_62; +lean_object* x_51; lean_object* x_52; +x_51 = lean_box(0); +x_52 = l_Lean_Meta_Match_Unify_assign___lambda__2(x_1, x_2, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_50); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_52; } else { -lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_62, 1); -lean_inc(x_67); -lean_dec(x_62); -x_68 = 1; -x_69 = lean_box(x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -block_86: -{ -if (x_72 == 0) -{ -x_55 = x_73; -goto block_71; -} -else -{ -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_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_inc(x_1); -x_74 = l_Lean_mkFVar(x_1); -x_75 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_Lean_Meta_Match_Unify_assign___closed__6; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); +x_53 = l_Lean_mkFVar(x_1); +x_54 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_55 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); lean_inc(x_2); -x_80 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_80, 0, x_2); -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_76); -x_83 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_84 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_83, x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_73); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_55 = x_85; -goto block_71; +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_2); +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_55); +x_62 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_48, x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_50); +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 = l_Lean_Meta_Match_Unify_assign___lambda__2(x_1, x_2, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_64); +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_63); +return x_65; } } } } else { -uint8_t x_99; lean_object* x_100; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_125 = lean_st_ref_get(x_8, x_9); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_126, 3); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_ctor_get_uint8(x_127, sizeof(void*)*1); -lean_dec(x_127); -if (x_128 == 0) +lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_78 = l_Lean_Meta_Match_Unify_assign___closed__2; +x_99 = lean_st_ref_get(x_8, x_9); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_100, 3); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_ctor_get_uint8(x_101, sizeof(void*)*1); +lean_dec(x_101); +if (x_102 == 0) { -lean_object* x_129; uint8_t x_130; -x_129 = lean_ctor_get(x_125, 1); -lean_inc(x_129); -lean_dec(x_125); -x_130 = 0; -x_99 = x_130; -x_100 = x_129; -goto block_124; +lean_object* x_103; uint8_t x_104; +x_103 = lean_ctor_get(x_99, 1); +lean_inc(x_103); +lean_dec(x_99); +x_104 = 0; +x_79 = x_104; +x_80 = x_103; +goto block_98; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_125, 1); -lean_inc(x_131); -lean_dec(x_125); -x_132 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_133 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_132, x_3, x_4, x_5, x_6, x_7, x_8, x_131); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_unbox(x_134); -lean_dec(x_134); -x_99 = x_136; -x_100 = x_135; -goto block_124; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_105 = lean_ctor_get(x_99, 1); +lean_inc(x_105); +lean_dec(x_99); +x_106 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_unbox(x_107); +lean_dec(x_107); +x_79 = x_109; +x_80 = x_108; +goto block_98; } -block_124: +block_98: { -if (x_99 == 0) +lean_object* x_81; +x_81 = l_Lean_Meta_Match_Unify_assign___closed__3; +if (x_79 == 0) { -uint8_t x_101; lean_object* x_102; lean_object* x_103; +lean_object* x_82; lean_object* x_83; lean_dec(x_2); lean_dec(x_1); -x_101 = 0; -x_102 = lean_box(x_101); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; +x_82 = lean_box(0); +x_83 = lean_apply_8(x_81, x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +return x_83; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_104 = l_Lean_mkFVar(x_1); -x_105 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_106 = l_Lean_Meta_Match_Unify_assign___closed__8; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = l_Lean_Meta_Match_Unify_assign___closed__6; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_110, 0, x_2); -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_112 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_113 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_115 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_114, x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_100); -x_116 = !lean_is_exclusive(x_115); -if (x_116 == 0) -{ -lean_object* x_117; uint8_t x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_115, 0); -lean_dec(x_117); -x_118 = 0; -x_119 = lean_box(x_118); -lean_ctor_set(x_115, 0, x_119); -return x_115; -} -else -{ -lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; -x_120 = lean_ctor_get(x_115, 1); -lean_inc(x_120); -lean_dec(x_115); -x_121 = 0; -x_122 = lean_box(x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_120); -return x_123; -} +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_84 = l_Lean_mkFVar(x_1); +x_85 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = l_Lean_Meta_Match_Unify_assign___closed__9; +x_87 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_2); +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_78, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_apply_8(x_81, x_95, x_3, x_4, x_5, x_6, x_7, x_8, x_96); +return x_97; } } } @@ -6996,18 +7067,34 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_Match_Unify_assign___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Match_Unify_assign___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) { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_Match_Unify_assign(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_9; +x_9 = l_Lean_Meta_Match_Unify_assign___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Meta_Match_Unify_assign___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Match_Unify_assign___lambda__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_10; +return x_11; } } lean_object* l_Lean_Meta_Match_Unify_unify_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) { @@ -7135,75 +7222,17 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Unify_unify_match__1___rarg), return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_Unify_unify___closed__1() { +lean_object* l_Lean_Meta_Match_Unify_unify___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_1; -x_1 = lean_mk_string(" =?= "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Unify_unify___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_Unify_unify___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Unify_unify(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_135; lean_object* x_136; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_149 = lean_st_ref_get(x_8, x_9); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_150, 3); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_ctor_get_uint8(x_151, sizeof(void*)*1); -lean_dec(x_151); -if (x_152 == 0) -{ -lean_object* x_153; uint8_t x_154; -x_153 = lean_ctor_get(x_149, 1); -lean_inc(x_153); -lean_dec(x_149); -x_154 = 0; -x_135 = x_154; -x_136 = x_153; -goto block_148; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_155 = lean_ctor_get(x_149, 1); -lean_inc(x_155); -lean_dec(x_149); -x_156 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_157 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_156, x_3, x_4, x_5, x_6, x_7, x_8, x_155); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_unbox(x_158); -lean_dec(x_158); -x_135 = x_160; -x_136 = x_159; -goto block_148; -} -block_134: -{ lean_object* x_11; +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_11 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_10); +x_11 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; uint8_t x_13; @@ -7218,17 +7247,17 @@ x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); lean_dec(x_11); lean_inc(x_1); -x_15 = l_Lean_Meta_Match_Unify_expandIfVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +x_15 = l_Lean_Meta_Match_Unify_expandIfVar(x_1, x_4, x_5, x_6, x_7, x_8, x_9, 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); lean_dec(x_15); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_Meta_whnfD(x_16, x_5, x_6, x_7, x_8, x_17); +x_18 = l_Lean_Meta_whnfD(x_16, x_6, x_7, x_8, x_9, x_17); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -7238,17 +7267,17 @@ x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); lean_inc(x_2); -x_21 = l_Lean_Meta_Match_Unify_expandIfVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_21 = l_Lean_Meta_Match_Unify_expandIfVar(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_20); 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); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_24 = l_Lean_Meta_whnfD(x_22, x_5, x_6, x_7, x_8, x_23); +x_24 = l_Lean_Meta_whnfD(x_22, x_6, x_7, x_8, x_9, x_23); if (lean_obj_tag(x_24) == 0) { uint8_t x_25; @@ -7261,13 +7290,12 @@ x_27 = lean_ctor_get(x_24, 1); x_28 = lean_expr_eqv(x_1, x_19); if (x_28 == 0) { +lean_object* x_29; lean_free_object(x_24); lean_dec(x_2); lean_dec(x_1); -x_1 = x_19; -x_2 = x_26; -x_9 = x_27; -goto _start; +x_29 = l_Lean_Meta_Match_Unify_unify(x_19, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +return x_29; } else { @@ -7275,13 +7303,12 @@ uint8_t x_30; x_30 = lean_expr_eqv(x_2, x_26); if (x_30 == 0) { +lean_object* x_31; lean_free_object(x_24); lean_dec(x_2); lean_dec(x_1); -x_1 = x_19; -x_2 = x_26; -x_9 = x_27; -goto _start; +x_31 = l_Lean_Meta_Match_Unify_unify(x_19, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +return x_31; } else { @@ -7293,12 +7320,21 @@ case 1: lean_free_object(x_24); if (lean_obj_tag(x_2) == 1) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_32; lean_object* x_33; lean_object* x_34; x_32 = lean_ctor_get(x_1, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_2, 0); lean_inc(x_33); -x_34 = l_Lean_Meta_Match_Unify_assign(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_34 = l_Lean_Meta_Match_Unify_assign(x_32, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; uint8_t x_36; x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_unbox(x_35); @@ -7309,21 +7345,19 @@ lean_dec(x_35); x_37 = lean_ctor_get(x_34, 1); lean_inc(x_37); lean_dec(x_34); -x_38 = l_Lean_Meta_Match_Unify_assign(x_33, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_37); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +x_38 = l_Lean_Meta_Match_Unify_assign(x_33, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_37); return x_38; } else { uint8_t x_39; lean_dec(x_33); +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_1); x_39 = !lean_is_exclusive(x_34); if (x_39 == 0) @@ -7348,16 +7382,43 @@ return x_42; } else { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_1, 0); -lean_inc(x_43); -lean_dec(x_1); -x_44 = l_Lean_Meta_Match_Unify_assign(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +uint8_t x_43; +lean_dec(x_33); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_44; +lean_dec(x_4); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) +{ +return x_34; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_34, 0); +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_34); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_1, 0); +lean_inc(x_47); +lean_dec(x_1); +x_48 = l_Lean_Meta_Match_Unify_assign(x_47, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +return x_48; } } case 5: @@ -7365,153 +7426,123 @@ case 5: switch (lean_obj_tag(x_2)) { case 1: { -lean_object* x_45; lean_object* x_46; +lean_object* x_49; lean_object* x_50; lean_free_object(x_24); -x_45 = lean_ctor_get(x_2, 0); -lean_inc(x_45); +x_49 = lean_ctor_get(x_2, 0); +lean_inc(x_49); lean_dec(x_2); -x_46 = l_Lean_Meta_Match_Unify_assign(x_45, x_1, 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); -return x_46; +x_50 = l_Lean_Meta_Match_Unify_assign(x_49, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +return x_50; } case 5: { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_free_object(x_24); -x_47 = lean_ctor_get(x_1, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_1, 1); -lean_inc(x_48); +x_51 = lean_ctor_get(x_1, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_1, 1); +lean_inc(x_52); lean_dec(x_1); -x_49 = lean_ctor_get(x_2, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 1); -lean_inc(x_50); +x_53 = lean_ctor_get(x_2, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_2, 1); +lean_inc(x_54); lean_dec(x_2); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_51 = l_Lean_Meta_Match_Unify_unify(x_47, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_27); -if (lean_obj_tag(x_51) == 0) +lean_inc(x_4); +x_55 = l_Lean_Meta_Match_Unify_unify(x_51, x_53, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_unbox(x_52); -if (x_53 == 0) -{ -uint8_t x_54; -lean_dec(x_50); -lean_dec(x_48); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_54 = !lean_is_exclusive(x_51); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_51, 0); -lean_dec(x_55); -return x_51; -} -else -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_51, 1); +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_51); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_52); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -else +x_57 = lean_unbox(x_56); +if (x_57 == 0) { -lean_object* x_58; +uint8_t x_58; +lean_dec(x_54); lean_dec(x_52); -x_58 = lean_ctor_get(x_51, 1); -lean_inc(x_58); -lean_dec(x_51); -x_1 = x_48; -x_2 = x_50; -x_9 = x_58; -goto _start; -} -} -else -{ -uint8_t x_60; -lean_dec(x_50); -lean_dec(x_48); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_60 = !lean_is_exclusive(x_51); -if (x_60 == 0) +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_55); +if (x_58 == 0) { -return x_51; +lean_object* x_59; +x_59 = lean_ctor_get(x_55, 0); +lean_dec(x_59); +return x_55; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_51, 0); -x_62 = lean_ctor_get(x_51, 1); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_dec(x_55); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_56); +x_62 = lean_ctor_get(x_55, 1); lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_51); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); +lean_dec(x_55); +x_63 = l_Lean_Meta_Match_Unify_unify(x_52, x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_62); return x_63; } } -} -default: +else { -uint8_t x_64; lean_object* x_65; +uint8_t x_64; +lean_dec(x_54); +lean_dec(x_52); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_64 = 0; -x_65 = lean_box(x_64); -lean_ctor_set(x_24, 0, x_65); -return x_24; -} -} -} -default: +lean_dec(x_4); +x_64 = !lean_is_exclusive(x_55); +if (x_64 == 0) { -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_66; lean_object* x_67; -lean_free_object(x_24); -x_66 = lean_ctor_get(x_2, 0); -lean_inc(x_66); -lean_dec(x_2); -x_67 = l_Lean_Meta_Match_Unify_assign(x_66, x_1, 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); -return x_67; +return x_55; } else { +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_55, 0); +x_66 = lean_ctor_get(x_55, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_55); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +default: +{ uint8_t x_68; lean_object* x_69; +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_2); lean_dec(x_1); x_68 = 0; @@ -7521,113 +7552,177 @@ return x_24; } } } -} -} -} -else +default: { -lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_70 = lean_ctor_get(x_24, 0); -x_71 = lean_ctor_get(x_24, 1); -lean_inc(x_71); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_70; lean_object* x_71; +lean_free_object(x_24); +x_70 = lean_ctor_get(x_2, 0); lean_inc(x_70); +lean_dec(x_2); +x_71 = l_Lean_Meta_Match_Unify_assign(x_70, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +return x_71; +} +else +{ +uint8_t x_72; lean_object* x_73; +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_2); +lean_dec(x_1); +x_72 = 0; +x_73 = lean_box(x_72); +lean_ctor_set(x_24, 0, x_73); +return x_24; +} +} +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_74 = lean_ctor_get(x_24, 0); +x_75 = lean_ctor_get(x_24, 1); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_24); -x_72 = lean_expr_eqv(x_1, x_19); -if (x_72 == 0) +x_76 = lean_expr_eqv(x_1, x_19); +if (x_76 == 0) { +lean_object* x_77; lean_dec(x_2); lean_dec(x_1); -x_1 = x_19; -x_2 = x_70; -x_9 = x_71; -goto _start; +x_77 = l_Lean_Meta_Match_Unify_unify(x_19, x_74, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_77; } else { -uint8_t x_74; -x_74 = lean_expr_eqv(x_2, x_70); -if (x_74 == 0) +uint8_t x_78; +x_78 = lean_expr_eqv(x_2, x_74); +if (x_78 == 0) { +lean_object* x_79; lean_dec(x_2); lean_dec(x_1); -x_1 = x_19; -x_2 = x_70; -x_9 = x_71; -goto _start; +x_79 = l_Lean_Meta_Match_Unify_unify(x_19, x_74, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_79; } else { -lean_dec(x_70); +lean_dec(x_74); lean_dec(x_19); switch (lean_obj_tag(x_1)) { case 1: { if (lean_obj_tag(x_2) == 1) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_1, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_2, 0); -lean_inc(x_77); -x_78 = l_Lean_Meta_Match_Unify_assign(x_76, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_unbox(x_79); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_79); -x_81 = lean_ctor_get(x_78, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_1, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_2, 0); lean_inc(x_81); -lean_dec(x_78); -x_82 = l_Lean_Meta_Match_Unify_assign(x_77, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_81); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_82; -} -else +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_82 = l_Lean_Meta_Match_Unify_assign(x_80, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_77); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_83 = lean_ctor_get(x_78, 1); +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_84 = x_78; -} else { - lean_dec_ref(x_78); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_83); -return x_85; -} +x_84 = lean_unbox(x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_83); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = l_Lean_Meta_Match_Unify_assign(x_81, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_85); +return x_86; } else { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_1, 0); -lean_inc(x_86); -lean_dec(x_1); -x_87 = l_Lean_Meta_Match_Unify_assign(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_71); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_81); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_87; +lean_dec(x_4); +lean_dec(x_1); +x_87 = lean_ctor_get(x_82, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_88 = x_82; +} else { + lean_dec_ref(x_82); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_83); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_81); +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_1); +x_90 = lean_ctor_get(x_82, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_82, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_92 = x_82; +} else { + lean_dec_ref(x_82); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(1, 2, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +else +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_1, 0); +lean_inc(x_94); +lean_dec(x_1); +x_95 = l_Lean_Meta_Match_Unify_assign(x_94, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_95; } } case 5: @@ -7635,128 +7730,130 @@ case 5: switch (lean_obj_tag(x_2)) { case 1: { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_2, 0); -lean_inc(x_88); +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_2, 0); +lean_inc(x_96); lean_dec(x_2); -x_89 = l_Lean_Meta_Match_Unify_assign(x_88, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_89; +x_97 = l_Lean_Meta_Match_Unify_assign(x_96, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_97; } case 5: { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_1, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_1, 1); -lean_inc(x_91); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_98 = lean_ctor_get(x_1, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_1, 1); +lean_inc(x_99); lean_dec(x_1); -x_92 = lean_ctor_get(x_2, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_2, 1); -lean_inc(x_93); +x_100 = lean_ctor_get(x_2, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_2, 1); +lean_inc(x_101); lean_dec(x_2); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_94 = l_Lean_Meta_Match_Unify_unify(x_90, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -if (lean_obj_tag(x_94) == 0) +lean_inc(x_4); +x_102 = l_Lean_Meta_Match_Unify_unify(x_98, x_100, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +if (lean_obj_tag(x_102) == 0) { -lean_object* x_95; uint8_t x_96; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_unbox(x_95); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_93); -lean_dec(x_91); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -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_94); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_95); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -else -{ -lean_object* x_100; -lean_dec(x_95); -x_100 = lean_ctor_get(x_94, 1); -lean_inc(x_100); -lean_dec(x_94); -x_1 = x_91; -x_2 = x_93; -x_9 = x_100; -goto _start; -} -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_93); -lean_dec(x_91); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_102 = lean_ctor_get(x_94, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_94, 1); +lean_object* x_103; uint8_t x_104; +x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_104 = x_94; +x_104 = lean_unbox(x_103); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_101); +lean_dec(x_99); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_106 = x_102; } else { - lean_dec_ref(x_94); - x_104 = lean_box(0); + lean_dec_ref(x_102); + x_106 = lean_box(0); } -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_104; + x_107 = x_106; } -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_103); -return x_105; +lean_ctor_set(x_107, 0, x_103); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +else +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_103); +x_108 = lean_ctor_get(x_102, 1); +lean_inc(x_108); +lean_dec(x_102); +x_109 = l_Lean_Meta_Match_Unify_unify(x_99, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_101); +lean_dec(x_99); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_110 = lean_ctor_get(x_102, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_102, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_112 = x_102; +} else { + lean_dec_ref(x_102); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } default: { -uint8_t x_106; lean_object* x_107; lean_object* x_108; +uint8_t x_114; lean_object* x_115; lean_object* x_116; +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_2); lean_dec(x_1); -x_106 = 0; -x_107 = lean_box(x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_71); -return x_108; +x_114 = 0; +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_75); +return x_116; } } } @@ -7764,129 +7861,96 @@ default: { if (lean_obj_tag(x_2) == 1) { -lean_object* x_109; lean_object* x_110; -x_109 = lean_ctor_get(x_2, 0); -lean_inc(x_109); +lean_object* x_117; lean_object* x_118; +x_117 = lean_ctor_get(x_2, 0); +lean_inc(x_117); lean_dec(x_2); -x_110 = l_Lean_Meta_Match_Unify_assign(x_109, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_71); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_110; +x_118 = l_Lean_Meta_Match_Unify_assign(x_117, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_118; } else { -uint8_t x_111; lean_object* x_112; lean_object* x_113; +uint8_t x_119; lean_object* x_120; lean_object* x_121; +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_2); lean_dec(x_1); -x_111 = 0; -x_112 = lean_box(x_111); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_71); -return x_113; -} -} -} -} -} -} -} -else -{ -uint8_t x_114; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_114 = !lean_is_exclusive(x_24); -if (x_114 == 0) -{ -return x_24; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_24, 0); -x_116 = lean_ctor_get(x_24, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_24); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_118 = !lean_is_exclusive(x_18); -if (x_118 == 0) -{ -return x_18; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_18, 0); -x_120 = lean_ctor_get(x_18, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_18); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); +x_119 = 0; +x_120 = lean_box(x_119); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_75); return x_121; } } } +} +} +} +} else { uint8_t x_122; +lean_dec(x_19); +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_2); lean_dec(x_1); -x_122 = !lean_is_exclusive(x_11); +x_122 = !lean_is_exclusive(x_24); if (x_122 == 0) { -lean_object* x_123; uint8_t x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_11, 0); -lean_dec(x_123); -x_124 = 1; -x_125 = lean_box(x_124); -lean_ctor_set(x_11, 0, x_125); -return x_11; +return x_24; } else { -lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; -x_126 = lean_ctor_get(x_11, 1); -lean_inc(x_126); -lean_dec(x_11); -x_127 = 1; -x_128 = lean_box(x_127); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_126); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_24, 0); +x_124 = lean_ctor_get(x_24, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_24); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +else +{ +uint8_t x_126; +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_2); +lean_dec(x_1); +x_126 = !lean_is_exclusive(x_18); +if (x_126 == 0) +{ +return x_18; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_18, 0); +x_128 = lean_ctor_get(x_18, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_18); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); return x_129; } } @@ -7894,81 +7958,183 @@ return x_129; else { uint8_t x_130; +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_2); lean_dec(x_1); x_130 = !lean_is_exclusive(x_11); if (x_130 == 0) { +lean_object* x_131; uint8_t x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_11, 0); +lean_dec(x_131); +x_132 = 1; +x_133 = lean_box(x_132); +lean_ctor_set(x_11, 0, x_133); return x_11; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_11, 0); -x_132 = lean_ctor_get(x_11, 1); -lean_inc(x_132); -lean_inc(x_131); +lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_11, 1); +lean_inc(x_134); lean_dec(x_11); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; +x_135 = 1; +x_136 = lean_box(x_135); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +return x_137; } } } -block_148: -{ -if (x_135 == 0) -{ -x_10 = x_136; -goto block_134; -} else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_inc(x_1); -x_137 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_137, 0, x_1); -x_138 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_139 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = l_Lean_Meta_Match_Unify_unify___closed__2; -x_141 = lean_alloc_ctor(10, 2, 0); +uint8_t x_138; +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_2); +lean_dec(x_1); +x_138 = !lean_is_exclusive(x_11); +if (x_138 == 0) +{ +return x_11; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_11, 0); +x_140 = lean_ctor_get(x_11, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_11); +x_141 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_141, 0, x_139); lean_ctor_set(x_141, 1, x_140); -lean_inc(x_2); -x_142 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_142, 0, x_2); -x_143 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -x_145 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_146 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_145, x_144, x_3, x_4, x_5, x_6, x_7, x_8, x_136); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -lean_dec(x_146); -x_10 = x_147; -goto block_134; +return x_141; } } } } -lean_object* l_Lean_Meta_Match_Unify_unify___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) { +static lean_object* _init_l_Lean_Meta_Match_Unify_unify___closed__1() { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_Match_Unify_unify(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); +lean_object* x_1; +x_1 = lean_mk_string(" =?= "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Unify_unify___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Match_Unify_unify___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Unify_unify(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_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_10 = l_Lean_Meta_Match_Unify_assign___closed__2; +x_28 = lean_st_ref_get(x_8, x_9); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 3); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_ctor_get_uint8(x_30, sizeof(void*)*1); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = 0; +x_11 = x_33; +x_12 = x_32; +goto block_27; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_dec(x_28); +x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_unbox(x_36); +lean_dec(x_36); +x_11 = x_38; +x_12 = x_37; +goto block_27; +} +block_27: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_Match_Unify_unify___lambda__1(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_14; +} +else +{ +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_inc(x_1); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Meta_Match_Unify_unify___closed__2; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +lean_inc(x_2); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_16); +x_23 = l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1(x_10, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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 = l_Lean_Meta_Match_Unify_unify___lambda__1(x_1, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +lean_dec(x_24); +return x_26; +} +} +} +} +lean_object* l_Lean_Meta_Match_Unify_unify___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Match_Unify_unify___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); -return x_10; +return x_11; } } lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -8045,19 +8211,38 @@ return x_3; } } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__1() { _start: { lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___lambda__1___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string("failed to unify "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__1; +x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -8107,6 +8292,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_19); lean_inc(x_10); x_21 = l_Lean_Meta_Match_Unify_unify(x_10, x_13, x_1, x_19, x_4, x_5, x_6, x_7, x_20); if (lean_obj_tag(x_21) == 0) @@ -8126,165 +8312,158 @@ lean_dec(x_19); x_27 = lean_unbox(x_22); if (x_27 == 0) { -lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_29 = x_26; -} else { - lean_dec_ref(x_26); - x_29 = lean_box(0); -} -x_54 = lean_st_ref_get(x_7, x_28); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); -lean_dec(x_56); -if (x_57 == 0) +lean_dec(x_26); +x_29 = l_Lean_Meta_Match_Unify_assign___closed__2; +x_51 = lean_st_ref_get(x_7, x_28); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) { -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -x_59 = 0; -x_30 = x_59; -x_31 = x_58; -goto block_53; +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_30 = x_56; +x_31 = x_55; +goto block_50; } else { -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_60 = lean_ctor_get(x_54, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_dec(x_51); +x_58 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_29, x_4, x_5, x_6, x_7, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -lean_dec(x_54); -x_61 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_62 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_61, x_4, x_5, x_6, x_7, x_60); -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_unbox(x_63); -lean_dec(x_63); -x_30 = x_65; -x_31 = x_64; -goto block_53; +lean_dec(x_58); +x_61 = lean_unbox(x_59); +lean_dec(x_59); +x_30 = x_61; +x_31 = x_60; +goto block_50; } -block_53: +block_50: { +lean_object* x_32; +x_32 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__1; if (x_30 == 0) { -lean_object* x_32; lean_object* x_33; +lean_object* x_33; lean_object* x_34; lean_dec(x_22); lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_32 = lean_box(0); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; +x_33 = lean_box(0); +x_34 = lean_apply_6(x_32, x_33, x_4, x_5, x_6, x_7, x_31); +return x_34; } else { -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; uint8_t x_47; -lean_dec(x_29); -x_34 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_34, 0, x_10); -x_35 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = l_Lean_Meta_Match_Unify_unify___closed__2; -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_unbox(x_22); +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; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_35 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_35, 0, x_10); +x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Meta_Match_Unify_unify___closed__2; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_unbox(x_22); lean_dec(x_22); -x_40 = l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1(x_39); -x_41 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_38); -lean_ctor_set(x_42, 1, x_41); -x_43 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_Meta_Match_Unify_assign___closed__2; -x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_45, x_44, x_4, x_5, x_6, x_7, x_31); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(0); -lean_ctor_set(x_46, 0, x_49); -return x_46; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); +x_41 = l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1(x_40); +x_42 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +x_44 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_29, x_45, x_4, x_5, x_6, x_7, x_31); +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_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} +x_49 = lean_apply_6(x_32, x_47, x_4, x_5, x_6, x_7, x_48); +return x_49; } } } else { -uint8_t x_66; +uint8_t x_62; lean_dec(x_22); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_66 = !lean_is_exclusive(x_26); -if (x_66 == 0) +x_62 = !lean_is_exclusive(x_26); +if (x_62 == 0) { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_26, 0); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_26, 0, x_68); +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_26, 0); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_26, 0, x_64); return x_26; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_26, 0); -x_70 = lean_ctor_get(x_26, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_26, 0); +x_66 = lean_ctor_get(x_26, 1); +lean_inc(x_66); +lean_inc(x_65); lean_dec(x_26); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_69); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_65); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_69 = !lean_is_exclusive(x_21); +if (x_69 == 0) +{ +return x_21; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_21, 0); +x_71 = lean_ctor_get(x_21, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_21); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); return x_72; } } @@ -8292,25 +8471,25 @@ return x_72; else { uint8_t x_73; -lean_dec(x_19); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_73 = !lean_is_exclusive(x_21); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_12); if (x_73 == 0) { -return x_21; +return x_12; } else { lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_21, 0); -x_75 = lean_ctor_get(x_21, 1); +x_74 = lean_ctor_get(x_12, 0); +x_75 = lean_ctor_get(x_12, 1); lean_inc(x_75); lean_inc(x_74); -lean_dec(x_21); +lean_dec(x_12); x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); @@ -8321,56 +8500,29 @@ return x_76; else { uint8_t x_77; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_77 = !lean_is_exclusive(x_12); -if (x_77 == 0) -{ -return x_12; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_12, 0); -x_79 = lean_ctor_get(x_12, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_12); -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_81; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_81 = !lean_is_exclusive(x_9); -if (x_81 == 0) +lean_dec(x_1); +x_77 = !lean_is_exclusive(x_9); +if (x_77 == 0) { return x_9; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_9, 0); -x_83 = lean_ctor_get(x_9, 1); -lean_inc(x_83); -lean_inc(x_82); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_9, 0); +x_79 = lean_ctor_get(x_9, 1); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_9); -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; +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; } } } @@ -8385,13 +8537,17 @@ x_3 = l_Std_fmt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3 return x_3; } } -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___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) { _start: { -lean_object* x_9; -x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_7; +x_7 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_7; } } lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -8863,6 +9019,7 @@ x_24 = lean_array_to_list(lean_box(0), x_22); x_25 = lean_ctor_get(x_13, 3); lean_inc(x_25); x_26 = l_List_append___rarg(x_24, x_25); +lean_inc(x_26); x_27 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f(x_26, x_6, x_4, x_7, x_8, x_9, x_10, x_23); if (lean_obj_tag(x_27) == 0) { @@ -10472,6 +10629,25 @@ return x_88; } } } +lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___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, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; +lean_inc(x_9); +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___boxed), 14, 9); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_7); +lean_closure_set(x_16, 7, x_8); +lean_closure_set(x_16, 8, x_9); +x_17 = l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(x_9, x_16, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} static lean_object* _init_l_Lean_Meta_Match_processInaccessibleAsCtor___closed__1() { _start: { @@ -10538,7 +10714,7 @@ x_15 = lean_ctor_get(x_9, 0); lean_inc(x_15); if (lean_obj_tag(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +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; uint8_t x_26; lean_object* x_27; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; x_16 = lean_ctor_get(x_8, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_8, 1); @@ -10561,118 +10737,94 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_16, 0); lean_inc(x_24); lean_dec(x_16); -x_25 = lean_st_ref_get(x_6, x_17); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); -lean_dec(x_27); -if (x_28 == 0) +x_25 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_40 = lean_st_ref_get(x_6, x_17); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 3); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); +lean_dec(x_42); +if (x_43 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -lean_inc(x_21); -x_30 = lean_alloc_closure((void*)(l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___boxed), 14, 9); -lean_closure_set(x_30, 0, x_23); -lean_closure_set(x_30, 1, x_24); -lean_closure_set(x_30, 2, x_15); -lean_closure_set(x_30, 3, x_18); -lean_closure_set(x_30, 4, x_2); -lean_closure_set(x_30, 5, x_22); -lean_closure_set(x_30, 6, x_19); -lean_closure_set(x_30, 7, x_20); -lean_closure_set(x_30, 8, x_21); -x_31 = l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(x_21, x_30, x_3, x_4, x_5, x_6, x_29); -return x_31; +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_45 = 0; +x_26 = x_45; +x_27 = x_44; +goto block_39; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_25, 1); -lean_inc(x_32); -lean_dec(x_25); -x_33 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_33, x_3, x_4, x_5, x_6, x_32); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_dec(x_40); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_25, x_3, x_4, x_5, x_6, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_26 = x_50; +x_27 = x_49; +goto block_39; +} +block_39: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec(x_34); -lean_inc(x_21); -x_38 = lean_alloc_closure((void*)(l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___boxed), 14, 9); -lean_closure_set(x_38, 0, x_23); -lean_closure_set(x_38, 1, x_24); -lean_closure_set(x_38, 2, x_15); -lean_closure_set(x_38, 3, x_18); -lean_closure_set(x_38, 4, x_2); -lean_closure_set(x_38, 5, x_22); -lean_closure_set(x_38, 6, x_19); -lean_closure_set(x_38, 7, x_20); -lean_closure_set(x_38, 8, x_21); -x_39 = l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(x_21, x_38, x_3, x_4, x_5, x_6, x_37); -return x_39; +if (x_26 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__2(x_23, x_24, x_15, x_18, x_2, x_22, x_19, x_20, x_21, x_28, x_3, x_4, x_5, x_6, x_27); +return x_29; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_40 = lean_ctor_get(x_34, 1); -lean_inc(x_40); -lean_dec(x_34); +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_inc(x_23); -x_41 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_41, 0, x_23); -x_42 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__4; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_33, x_45, x_3, x_4, x_5, x_6, x_40); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -lean_inc(x_21); -x_48 = lean_alloc_closure((void*)(l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___boxed), 14, 9); -lean_closure_set(x_48, 0, x_23); -lean_closure_set(x_48, 1, x_24); -lean_closure_set(x_48, 2, x_15); -lean_closure_set(x_48, 3, x_18); -lean_closure_set(x_48, 4, x_2); -lean_closure_set(x_48, 5, x_22); -lean_closure_set(x_48, 6, x_19); -lean_closure_set(x_48, 7, x_20); -lean_closure_set(x_48, 8, x_21); -x_49 = l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(x_21, x_48, x_3, x_4, x_5, x_6, x_47); -return x_49; +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_23); +x_31 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__4; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_25, x_34, x_3, x_4, x_5, x_6, x_27); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__2(x_23, x_24, x_15, x_18, x_2, x_22, x_19, x_20, x_21, x_36, x_3, x_4, x_5, x_6, x_37); +lean_dec(x_36); +return x_38; } } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_dec(x_15); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_50 = lean_ctor_get(x_8, 1); -lean_inc(x_50); +x_51 = lean_ctor_get(x_8, 1); +lean_inc(x_51); lean_dec(x_8); -x_51 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; -x_52 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__2; -x_53 = lean_panic_fn(x_51, x_52); -x_54 = lean_apply_5(x_53, x_3, x_4, x_5, x_6, x_50); -return x_54; +x_52 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; +x_53 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__2; +x_54 = lean_panic_fn(x_52, x_53); +x_55 = lean_apply_5(x_54, x_3, x_4, x_5, x_6, x_51); +return x_55; } } } @@ -10710,6 +10862,15 @@ lean_dec(x_5); return x_15; } } +lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___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, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Meta_Match_processInaccessibleAsCtor___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, x_14, x_15); +lean_dec(x_10); +return x_16; +} +} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -12924,7 +13085,7 @@ return x_35; } } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1() { _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; @@ -12937,7 +13098,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -12946,24 +13107,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("constructor step"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -12972,67 +13116,11 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(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_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_st_ref_get(x_5, x_6); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_61, 3); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); -lean_dec(x_62); -if (x_63 == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -lean_dec(x_60); -x_7 = x_64; -goto block_59; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_65 = lean_ctor_get(x_60, 1); -lean_inc(x_65); -lean_dec(x_60); -x_66 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_66, x_2, x_3, x_4, x_5, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_unbox(x_68); -lean_dec(x_68); -if (x_69 == 0) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -lean_dec(x_67); -x_7 = x_70; -goto block_59; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4; -x_73 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_66, x_72, x_2, x_3, x_4, x_5, x_71); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_7 = x_74; -goto block_59; -} -} -block_59: -{ lean_object* x_8; lean_object* x_9; -x_8 = lean_st_ref_get(x_5, x_7); +x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_1, 1); lean_inc(x_9); if (lean_obj_tag(x_9) == 0) @@ -13043,9 +13131,9 @@ x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); x_11 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; -x_12 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1; +x_12 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1; x_13 = lean_panic_fn(x_11, x_12); -x_14 = lean_apply_5(x_13, x_2, x_3, x_4, x_5, x_10); +x_14 = lean_apply_5(x_13, x_3, x_4, x_5, x_6, x_10); return x_14; } else @@ -13074,13 +13162,13 @@ lean_closure_set(x_21, 1, x_19); lean_closure_set(x_21, 2, x_1); x_22 = l_Lean_Expr_fvarId_x21(x_19); x_23 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg___closed__1; +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); lean_inc(x_16); lean_inc(x_1); -x_24 = l_Lean_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__2(x_1, x_21, x_16, x_22, x_23, x_2, x_3, x_4, x_5, x_15); +x_24 = l_Lean_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__2(x_1, x_21, x_16, x_22, x_23, x_3, x_4, x_5, x_6, x_15); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; @@ -13090,10 +13178,10 @@ if (lean_obj_tag(x_25) == 0) { uint8_t x_26; lean_dec(x_19); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_26 = !lean_is_exclusive(x_1); if (x_26 == 0) { @@ -13113,7 +13201,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; x_32 = lean_ctor_get(x_24, 0); lean_dec(x_32); lean_ctor_set(x_1, 1, x_20); -x_33 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_33 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_34 = lean_array_push(x_33, x_1); lean_ctor_set(x_24, 0, x_34); return x_24; @@ -13125,7 +13213,7 @@ x_35 = lean_ctor_get(x_24, 1); lean_inc(x_35); lean_dec(x_24); lean_ctor_set(x_1, 1, x_20); -x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_37 = lean_array_push(x_36, x_1); x_38 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_38, 0, x_37); @@ -13152,7 +13240,7 @@ lean_ctor_set(x_41, 0, x_16); lean_ctor_set(x_41, 1, x_20); lean_ctor_set(x_41, 2, x_17); lean_ctor_set(x_41, 3, x_18); -x_42 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_42 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_43 = lean_array_push(x_42, x_41); if (lean_is_scalar(x_40)) { x_44 = lean_alloc_ctor(0, 2, 0); @@ -13181,7 +13269,7 @@ x_48 = lean_usize_of_nat(x_47); lean_dec(x_47); x_49 = x_46; x_50 = lean_box_usize(x_48); -x_51 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1; +x_51 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1; x_52 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__10___boxed), 11, 6); lean_closure_set(x_52, 0, x_1); lean_closure_set(x_52, 1, x_19); @@ -13190,7 +13278,7 @@ lean_closure_set(x_52, 3, x_50); lean_closure_set(x_52, 4, x_51); lean_closure_set(x_52, 5, x_49); x_53 = x_52; -x_54 = lean_apply_5(x_53, x_2, x_3, x_4, x_5, x_45); +x_54 = lean_apply_5(x_53, x_3, x_4, x_5, x_6, x_45); return x_54; } } @@ -13202,10 +13290,10 @@ lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +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_55 = !lean_is_exclusive(x_24); if (x_55 == 0) @@ -13229,6 +13317,90 @@ return x_58; } } } +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("constructor step"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(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; lean_object* x_9; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_7 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_18 = lean_st_ref_get(x_5, x_6); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = 0; +x_8 = x_23; +x_9 = x_22; +goto block_17; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_2, x_3, x_4, x_5, x_24); +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 = lean_unbox(x_26); +lean_dec(x_26); +x_8 = x_28; +x_9 = x_27; +goto block_17; +} +block_17: +{ +if (x_8 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2(x_1, x_10, x_2, x_3, x_4, x_5, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_13 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_12, x_2, x_3, x_4, x_5, x_9); +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 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2(x_1, x_14, x_2, x_3, x_4, x_5, x_15); +lean_dec(x_14); +return x_16; +} +} +} } lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: @@ -13297,6 +13469,15 @@ lean_dec(x_1); return x_10; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -15654,7 +15835,7 @@ return x_48; } } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1() { _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; @@ -15667,82 +15848,9 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2() { +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___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) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("value step"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(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; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_st_ref_get(x_5, x_6); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_object* x_35; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_7 = x_35; -goto block_30; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_36 = lean_ctor_get(x_31, 1); -lean_inc(x_36); -lean_dec(x_31); -x_37 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_37, x_2, x_3, x_4, x_5, x_36); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_7 = x_41; -goto block_30; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_38, 1); -lean_inc(x_42); -lean_dec(x_38); -x_43 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3; -x_44 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_37, x_43, x_2, x_3, x_4, x_5, x_42); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_7 = x_45; -goto block_30; -} -} -block_30: -{ lean_object* x_8; x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); @@ -15751,9 +15859,9 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_dec(x_1); x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; -x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1; +x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1; x_11 = lean_panic_fn(x_9, x_10); -x_12 = lean_apply_5(x_11, x_2, x_3, x_4, x_5, x_7); +x_12 = lean_apply_5(x_11, x_3, x_4, x_5, x_6, x_7); return x_12; } else @@ -15770,12 +15878,12 @@ x_16 = lean_ctor_get(x_1, 0); lean_inc(x_16); x_17 = l_Lean_Expr_fvarId_x21(x_13); x_18 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__2; +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); lean_inc(x_15); -x_19 = l_Lean_Meta_caseValues(x_16, x_17, x_15, x_18, x_2, x_3, x_4, x_5, x_7); +x_19 = l_Lean_Meta_caseValues(x_16, x_17, x_15, x_18, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; @@ -15787,11 +15895,11 @@ lean_dec(x_19); x_22 = lean_array_get_size(x_20); x_23 = lean_mk_empty_array_with_capacity(x_22); x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8(x_1, x_13, x_14, x_15, x_20, x_20, x_22, x_24, lean_box(0), x_23, x_2, x_3, x_4, x_5, x_21); +x_25 = l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8(x_1, x_13, x_14, x_15, x_20, x_20, x_22, x_24, lean_box(0), x_23, x_3, x_4, x_5, x_6, x_21); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_20); lean_dec(x_15); return x_25; @@ -15802,10 +15910,10 @@ uint8_t x_26; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +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_26 = !lean_is_exclusive(x_19); if (x_26 == 0) @@ -15829,6 +15937,90 @@ return x_29; } } } +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("value step"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(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; lean_object* x_9; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_7 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_18 = lean_st_ref_get(x_5, x_6); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = 0; +x_8 = x_23; +x_9 = x_22; +goto block_17; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_2, x_3, x_4, x_5, x_24); +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 = lean_unbox(x_26); +lean_dec(x_26); +x_8 = x_28; +x_9 = x_27; +goto block_17; +} +block_17: +{ +if (x_8 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1(x_1, x_10, x_2, x_3, x_4, x_5, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2; +x_13 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_12, x_2, x_3, x_4, x_5, x_9); +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 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15); +lean_dec(x_14); +return x_16; +} +} +} } lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___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) { _start: @@ -15907,6 +16099,15 @@ lean_dec(x_4); return x_16; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___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) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -17780,7 +17981,7 @@ return x_60; } } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1() { _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; @@ -17793,7 +17994,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -17801,92 +18002,19 @@ x_1 = lean_mk_string("x"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3() { +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2; +x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4() { +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___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) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("array literal step"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(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; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_st_ref_get(x_5, x_6); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 3); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -lean_dec(x_32); -x_7 = x_36; -goto block_31; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_32, 1); -lean_inc(x_37); -lean_dec(x_32); -x_38 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_38, x_2, x_3, x_4, x_5, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_7 = x_42; -goto block_31; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -x_44 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5; -x_45 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_38, x_44, x_2, x_3, x_4, x_5, x_43); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_7 = x_46; -goto block_31; -} -} -block_31: -{ lean_object* x_8; x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); @@ -17895,9 +18023,9 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_dec(x_1); x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; -x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; +x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1; x_11 = lean_panic_fn(x_9, x_10); -x_12 = lean_apply_5(x_11, x_2, x_3, x_4, x_5, x_7); +x_12 = lean_apply_5(x_11, x_3, x_4, x_5, x_6, x_7); return x_12; } else @@ -17912,14 +18040,14 @@ x_15 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes(x_ x_16 = lean_ctor_get(x_1, 0); lean_inc(x_16); x_17 = l_Lean_Expr_fvarId_x21(x_13); -x_18 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3; +x_18 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3; x_19 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__2; +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); lean_inc(x_15); -x_20 = l_Lean_Meta_caseArraySizes(x_16, x_17, x_15, x_18, x_19, x_2, x_3, x_4, x_5, x_7); +x_20 = l_Lean_Meta_caseArraySizes(x_16, x_17, x_15, x_18, x_19, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -17931,7 +18059,7 @@ lean_dec(x_20); x_23 = lean_array_get_size(x_21); x_24 = lean_mk_empty_array_with_capacity(x_23); x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9(x_1, x_13, x_14, x_15, x_21, x_21, x_23, x_25, lean_box(0), x_24, x_2, x_3, x_4, x_5, x_22); +x_26 = l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9(x_1, x_13, x_14, x_15, x_21, x_21, x_23, x_25, lean_box(0), x_24, x_3, x_4, x_5, x_6, x_22); lean_dec(x_21); lean_dec(x_15); return x_26; @@ -17942,10 +18070,10 @@ uint8_t x_27; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +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_27 = !lean_is_exclusive(x_20); if (x_27 == 0) @@ -17969,6 +18097,90 @@ return x_30; } } } +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("array literal step"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(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; lean_object* x_9; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_7 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_18 = lean_st_ref_get(x_5, x_6); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = 0; +x_8 = x_23; +x_9 = x_22; +goto block_17; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_2, x_3, x_4, x_5, x_24); +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 = lean_unbox(x_26); +lean_dec(x_26); +x_8 = x_28; +x_9 = x_27; +goto block_17; +} +block_17: +{ +if (x_8 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1(x_1, x_10, x_2, x_3, x_4, x_5, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2; +x_13 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_12, x_2, x_3, x_4, x_5, x_9); +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 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15); +lean_dec(x_14); +return x_16; +} +} +} } lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: @@ -18042,6 +18254,15 @@ lean_dec(x_4); return x_16; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___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) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -19023,96 +19244,70 @@ return x_2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get_uint8(x_10, sizeof(void*)*1); -lean_dec(x_10); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_8); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_8, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_8, 0, x_14); -return x_8; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_8, 1); -lean_inc(x_15); -lean_dec(x_8); -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 -{ -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_8, 1); -lean_inc(x_18); -lean_dec(x_8); -x_19 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_20 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_19, x_2, x_3, x_4, x_5, x_6, x_18); +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_8 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_20 = lean_st_ref_get(x_6, x_7); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -x_22 = lean_unbox(x_21); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); lean_dec(x_21); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_20); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); if (x_23 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_20, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_20, 0, x_25); -return x_20; +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = 0; +x_9 = x_25; +x_10 = x_24; +goto block_19; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; x_26 = lean_ctor_get(x_20, 1); lean_inc(x_26); lean_dec(x_20); -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_26); -return x_28; +x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_8, x_2, x_3, x_4, x_5, x_6, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +x_9 = x_30; +x_10 = x_29; +goto block_19; } +block_19: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +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_10); +return x_12; } 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; -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_dec(x_20); -x_30 = l_Lean_stringToMessageData(x_1); -x_31 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__2; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_19, x_34, x_2, x_3, x_4, x_5, x_6, x_29); -return x_35; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = l_Lean_stringToMessageData(x_1); +x_14 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_8, x_17, x_2, x_3, x_4, x_5, x_6, x_10); +return x_18; } } } @@ -23022,6 +23217,30 @@ x_9 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search(x_1, x return x_9; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_st_ref_get(x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_set(x_8, x_1, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_10, x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_set(x_6, x_2, x_17); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search(x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_19); +return x_20; +} +} static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__1() { _start: { @@ -23159,130 +23378,111 @@ return x_31; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_45; lean_object* x_46; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; x_32 = lean_ctor_get(x_26, 1); lean_inc(x_32); lean_dec(x_26); x_33 = lean_ctor_get(x_27, 0); lean_inc(x_33); lean_dec(x_27); -x_66 = lean_st_ref_get(x_7, x_32); +x_34 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; +x_59 = lean_st_ref_get(x_7, x_32); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +lean_dec(x_61); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_64 = 0; +x_35 = x_64; +x_36 = x_63; +goto block_58; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_59, 1); +lean_inc(x_65); +lean_dec(x_59); +x_66 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_34, x_3, x_4, x_5, x_6, x_7, x_65); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -x_68 = lean_ctor_get(x_67, 3); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); lean_dec(x_67); -x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); -lean_dec(x_68); -if (x_69 == 0) -{ -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_66, 1); -lean_inc(x_70); -lean_dec(x_66); -x_71 = 0; -x_45 = x_71; -x_46 = x_70; -goto block_65; +x_35 = x_69; +x_36 = x_68; +goto block_58; } -else +block_58: { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_72 = lean_ctor_get(x_66, 1); -lean_inc(x_72); -lean_dec(x_66); -x_73 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_74 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_73, x_3, x_4, x_5, x_6, x_7, x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_unbox(x_75); -lean_dec(x_75); -x_45 = x_77; -x_46 = x_76; -goto block_65; -} -block_44: -{ -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; -x_35 = lean_st_ref_get(x_7, x_34); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_st_ref_set(x_5, x_12, x_36); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_get(x_7, x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_set(x_3, x_17, x_40); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_2 = x_33; -x_8 = x_42; -goto _start; -} -block_65: -{ -if (x_45 == 0) +if (x_35 == 0) { +lean_object* x_37; lean_object* x_38; lean_dec(x_21); lean_dec(x_2); -x_34 = x_46; -goto block_44; +x_37 = lean_box(0); +x_38 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___lambda__1(x_12, x_17, x_1, x_33, x_37, x_3, x_4, x_5, x_6, x_7, x_36); +return x_38; } 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; 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_47 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_2); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__2; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__4; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); +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_39 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_2); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__2; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___closed__4; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); lean_inc(x_33); -x_53 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_33); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Exception_toMessageData(x_21); -x_59 = l_Lean_indentD(x_58); -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_56); -x_62 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2; -x_63 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(x_62, x_61, x_3, x_4, x_5, x_6, x_7, x_46); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_34 = x_64; -goto block_44; +x_45 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_33); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +x_48 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Exception_toMessageData(x_21); +x_51 = l_Lean_indentD(x_50); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_48); +x_54 = l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(x_34, x_53, x_3, x_4, x_5, x_6, x_7, x_36); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___lambda__1(x_12, x_17, x_1, x_33, x_55, x_3, x_4, x_5, x_6, x_7, x_56); +lean_dec(x_55); +return x_57; } } } } else { -uint8_t x_78; +uint8_t x_70; lean_dec(x_21); lean_dec(x_17); lean_dec(x_12); @@ -23292,23 +23492,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_26); -if (x_78 == 0) +x_70 = !lean_is_exclusive(x_26); +if (x_70 == 0) { return x_26; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_26, 0); -x_80 = lean_ctor_get(x_26, 1); -lean_inc(x_80); -lean_inc(x_79); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_26, 0); +x_72 = lean_ctor_get(x_26, 1); +lean_inc(x_72); +lean_inc(x_71); lean_dec(x_26); -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_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } @@ -23370,6 +23570,16 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___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_Meta_Match_Match_0__Lean_Meta_Match_process_search___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_6); +lean_dec(x_5); +return x_12; +} +} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search___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: { @@ -23610,7 +23820,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1() { _start: { lean_object* x_1; @@ -23618,17 +23828,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____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_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3() { _start: { lean_object* x_1; @@ -23636,17 +23846,17 @@ x_1 = lean_mk_string("genMatcherCode"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5() { _start: { lean_object* x_1; @@ -23654,13 +23864,13 @@ x_1 = lean_mk_string("disable code generation for auxiliary matcher function"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -23669,12 +23879,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859_(lean_object* x_1) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -23692,7 +23902,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1(uint8_t x_1, uint8_t x_2) { +uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1(uint8_t x_1, uint8_t x_2) { _start: { if (x_1 == 0) @@ -23716,37 +23926,37 @@ return x_2; } } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1; x_2 = lean_alloc_closure((void*)(l_instBEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Expr_instBEqExpr; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2; x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 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_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4() { _start: { lean_object* x_1; @@ -23754,19 +23964,19 @@ x_1 = lean_alloc_closure((void*)(l_instHashableBool___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Expr_instHashableExpr; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4; x_3 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 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_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6() { _start: { lean_object* x_1; @@ -23774,21 +23984,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6; 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_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23796,26 +24006,26 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8; x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883_(lean_object* x_1) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -23823,7 +24033,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____lambda__1(x_3, x_4); +x_5 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____lambda__1(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -25200,6 +25410,531 @@ return x_27; } } } +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_box(x_4); +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3___boxed), 10, 4); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_12); +x_14 = lean_ctor_get(x_5, 3); +lean_inc(x_14); +x_15 = lean_array_to_list(lean_box(0), x_14); +x_16 = l_Lean_mkConst(x_3, x_15); +x_17 = lean_ctor_get(x_5, 4); +lean_inc(x_17); +lean_dec(x_5); +x_18 = l_Lean_mkAppN(x_16, x_17); +lean_dec(x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_11); +return x_21; +} +} +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = l_Lean_Meta_Match_bootstrap_genMatcherCode; +x_13 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_11, x_12); +lean_dec(x_11); +x_14 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_15 = l_Lean_Meta_Closure_mkValueTypeClosure(x_1, x_2, x_14, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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_st_ref_get(x_9, x_17); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Meta_Match_matcherExt; +x_24 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(x_23, x_22); +x_25 = lean_ctor_get(x_16, 2); +lean_inc(x_25); +x_26 = lean_box(x_13); +lean_inc(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1(x_24, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint32_t x_34; uint32_t x_35; uint32_t x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; +lean_free_object(x_18); +x_29 = lean_ctor_get(x_16, 0); +lean_inc(x_29); +x_30 = lean_array_to_list(lean_box(0), x_29); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_31); +lean_inc(x_3); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_3); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +lean_inc(x_25); +lean_inc(x_22); +x_33 = l_Lean_getMaxHeight(x_22, x_25); +x_34 = lean_unbox_uint32(x_33); +lean_dec(x_33); +x_35 = 1; +x_36 = x_34 + x_35; +x_37 = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(x_37, 0, x_36); +lean_inc(x_31); +lean_inc(x_22); +x_38 = l_Lean_Environment_hasUnsafe(x_22, x_31); +if (x_38 == 0) +{ +uint8_t x_74; +lean_inc(x_25); +x_74 = l_Lean_Environment_hasUnsafe(x_22, x_25); +if (x_74 == 0) +{ +uint8_t x_75; +x_75 = 1; +x_39 = x_75; +goto block_73; +} +else +{ +uint8_t x_76; +x_76 = 0; +x_39 = x_76; +goto block_73; +} +} +else +{ +uint8_t x_77; +lean_dec(x_22); +x_77 = 0; +x_39 = x_77; +goto block_73; +} +block_73: +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_inc(x_25); +x_40 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 1, x_25); +lean_ctor_set(x_40, 2, x_37); +lean_ctor_set_uint8(x_40, sizeof(void*)*3, x_39); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_63 = lean_st_ref_get(x_9, x_21); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_64, 3); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec(x_63); +x_42 = x_14; +x_43 = x_67; +goto block_62; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_dec(x_63); +lean_inc(x_4); +x_69 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_6, x_7, x_8, x_9, x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_unbox(x_70); +lean_dec(x_70); +x_42 = x_72; +x_43 = x_71; +goto block_62; +} +block_62: +{ +if (x_42 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_4); +x_44 = lean_box(0); +x_45 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(x_41, x_27, x_3, x_13, x_16, x_44, x_6, x_7, x_8, x_9, x_43); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 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_inc(x_3); +x_46 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_46, 0, x_3); +x_47 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_51, 0, x_31); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_55, 0, x_25); +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_47); +x_58 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_4, x_57, x_6, x_7, x_8, x_9, x_43); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(x_41, x_27, x_3, x_13, x_16, x_59, x_6, x_7, x_8, x_9, x_60); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_59); +return x_61; +} +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_78 = lean_ctor_get(x_28, 0); +lean_inc(x_78); +lean_dec(x_28); +x_79 = lean_ctor_get(x_16, 3); +lean_inc(x_79); +x_80 = lean_array_to_list(lean_box(0), x_79); +x_81 = l_Lean_mkConst(x_78, x_80); +x_82 = lean_ctor_get(x_16, 4); +lean_inc(x_82); +lean_dec(x_16); +x_83 = l_Lean_mkAppN(x_81, x_82); +lean_dec(x_82); +x_84 = lean_box(0); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_18, 0, x_85); +return x_18; +} +} +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; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_86 = lean_ctor_get(x_18, 0); +x_87 = lean_ctor_get(x_18, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_18); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_Meta_Match_matcherExt; +x_90 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(x_89, x_88); +x_91 = lean_ctor_get(x_16, 2); +lean_inc(x_91); +x_92 = lean_box(x_13); +lean_inc(x_91); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1(x_90, x_93); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint32_t x_100; uint32_t x_101; uint32_t x_102; lean_object* x_103; uint8_t x_104; uint8_t x_105; +x_95 = lean_ctor_get(x_16, 0); +lean_inc(x_95); +x_96 = lean_array_to_list(lean_box(0), x_95); +x_97 = lean_ctor_get(x_16, 1); +lean_inc(x_97); +lean_inc(x_97); +lean_inc(x_3); +x_98 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_98, 0, x_3); +lean_ctor_set(x_98, 1, x_96); +lean_ctor_set(x_98, 2, x_97); +lean_inc(x_91); +lean_inc(x_88); +x_99 = l_Lean_getMaxHeight(x_88, x_91); +x_100 = lean_unbox_uint32(x_99); +lean_dec(x_99); +x_101 = 1; +x_102 = x_100 + x_101; +x_103 = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(x_103, 0, x_102); +lean_inc(x_97); +lean_inc(x_88); +x_104 = l_Lean_Environment_hasUnsafe(x_88, x_97); +if (x_104 == 0) +{ +uint8_t x_140; +lean_inc(x_91); +x_140 = l_Lean_Environment_hasUnsafe(x_88, x_91); +if (x_140 == 0) +{ +uint8_t x_141; +x_141 = 1; +x_105 = x_141; +goto block_139; +} +else +{ +uint8_t x_142; +x_142 = 0; +x_105 = x_142; +goto block_139; +} +} +else +{ +uint8_t x_143; +lean_dec(x_88); +x_143 = 0; +x_105 = x_143; +goto block_139; +} +block_139: +{ +lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +lean_inc(x_91); +x_106 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_106, 0, x_98); +lean_ctor_set(x_106, 1, x_91); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set_uint8(x_106, sizeof(void*)*3, x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_129 = lean_st_ref_get(x_9, x_87); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_130, 3); +lean_inc(x_131); +lean_dec(x_130); +x_132 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +lean_dec(x_131); +if (x_132 == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_129, 1); +lean_inc(x_133); +lean_dec(x_129); +x_108 = x_14; +x_109 = x_133; +goto block_128; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_134 = lean_ctor_get(x_129, 1); +lean_inc(x_134); +lean_dec(x_129); +lean_inc(x_4); +x_135 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_6, x_7, x_8, x_9, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = lean_unbox(x_136); +lean_dec(x_136); +x_108 = x_138; +x_109 = x_137; +goto block_128; +} +block_128: +{ +if (x_108 == 0) +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_97); +lean_dec(x_91); +lean_dec(x_4); +x_110 = lean_box(0); +x_111 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(x_107, x_93, x_3, x_13, x_16, x_110, x_6, x_7, x_8, x_9, x_109); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_111; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_inc(x_3); +x_112 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_112, 0, x_3); +x_113 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_114 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; +x_116 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_117, 0, x_97); +x_118 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_120 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_121, 0, x_91); +x_122 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_113); +x_124 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_4, x_123, x_6, x_7, x_8, x_9, x_109); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(x_107, x_93, x_3, x_13, x_16, x_125, x_6, x_7, x_8, x_9, x_126); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_125); +return x_127; +} +} +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_93); +lean_dec(x_91); +lean_dec(x_88); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_144 = lean_ctor_get(x_94, 0); +lean_inc(x_144); +lean_dec(x_94); +x_145 = lean_ctor_get(x_16, 3); +lean_inc(x_145); +x_146 = lean_array_to_list(lean_box(0), x_145); +x_147 = l_Lean_mkConst(x_144, x_146); +x_148 = lean_ctor_get(x_16, 4); +lean_inc(x_148); +lean_dec(x_16); +x_149 = l_Lean_mkAppN(x_147, x_148); +lean_dec(x_148); +x_150 = lean_box(0); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_87); +return x_152; +} +} +} +else +{ +uint8_t x_153; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_153 = !lean_is_exclusive(x_15); +if (x_153 == 0) +{ +return x_15; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_15, 0); +x_155 = lean_ctor_get(x_15, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_15); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} +} static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1() { _start: { @@ -25213,399 +25948,96 @@ return x_3; lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition(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; uint8_t x_101; lean_object* x_102; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = lean_st_ref_get(x_7, x_8); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_120, 3); -lean_inc(x_121); -lean_dec(x_120); -x_122 = lean_ctor_get_uint8(x_121, sizeof(void*)*1); -lean_dec(x_121); -if (x_122 == 0) -{ -lean_object* x_123; uint8_t x_124; -x_123 = lean_ctor_get(x_119, 1); -lean_inc(x_123); -lean_dec(x_119); -x_124 = 0; -x_101 = x_124; -x_102 = x_123; -goto block_118; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_125 = lean_ctor_get(x_119, 1); -lean_inc(x_125); -lean_dec(x_119); -x_126 = l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; -x_127 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_126, x_4, x_5, x_6, x_7, x_125); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_unbox(x_128); -lean_dec(x_128); -x_101 = x_130; -x_102 = x_129; -goto block_118; -} -block_100: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -x_11 = l_Lean_Meta_Match_bootstrap_genMatcherCode; -x_12 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_10, x_11); -lean_dec(x_10); -x_13 = 0; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_14 = l_Lean_Meta_Closure_mkValueTypeClosure(x_2, x_3, x_13, x_4, x_5, x_6, x_7, x_9); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_get(x_7, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_20 = x_17; -} else { - lean_dec_ref(x_17); - x_20 = lean_box(0); -} -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -x_22 = l_Lean_Meta_Match_matcherExt; -x_23 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(x_22, x_21); -x_24 = lean_ctor_get(x_15, 2); -lean_inc(x_24); -x_25 = lean_box(x_12); -lean_inc(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1(x_23, x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint32_t x_33; uint32_t x_34; uint32_t x_35; lean_object* x_36; uint8_t x_37; uint8_t x_82; -x_28 = lean_ctor_get(x_15, 0); -lean_inc(x_28); -x_29 = lean_array_to_list(lean_box(0), x_28); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); -lean_inc(x_30); -lean_inc(x_1); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_30); -lean_inc(x_24); -lean_inc(x_21); -x_32 = l_Lean_getMaxHeight(x_21, x_24); -x_33 = lean_unbox_uint32(x_32); +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_9 = l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; +x_31 = lean_st_ref_get(x_7, x_8); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); lean_dec(x_32); -x_34 = 1; -x_35 = x_33 + x_34; -x_36 = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(x_36, 0, x_35); -lean_inc(x_30); -lean_inc(x_21); -x_82 = l_Lean_Environment_hasUnsafe(x_21, x_30); -if (x_82 == 0) +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) { -uint8_t x_83; -lean_inc(x_24); -x_83 = l_Lean_Environment_hasUnsafe(x_21, x_24); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = 1; -x_37 = x_84; -goto block_81; +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_10 = x_36; +x_11 = x_35; +goto block_30; } else { -uint8_t x_85; -x_85 = 0; -x_37 = x_85; -goto block_81; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_4, x_5, x_6, x_7, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_10 = x_41; +x_11 = x_40; +goto block_30; } +block_30: +{ +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5(x_2, x_3, x_1, x_9, x_12, x_4, x_5, x_6, x_7, x_11); +return x_13; } else { -uint8_t x_86; -lean_dec(x_21); -x_86 = 0; -x_37 = x_86; -goto block_81; -} -block_81: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_52; lean_object* x_53; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_inc(x_24); -x_38 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_38, 0, x_31); -lean_ctor_set(x_38, 1, x_24); -lean_ctor_set(x_38, 2, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_37); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -x_70 = lean_st_ref_get(x_7, x_19); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_52 = x_13; -x_53 = x_74; -goto block_69; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); -x_76 = l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; -x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_76, x_4, x_5, x_6, x_7, x_75); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_unbox(x_78); -lean_dec(x_78); -x_52 = x_80; -x_53 = x_79; -goto block_69; -} -block_51: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_41 = lean_box(x_12); +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_inc(x_1); -x_42 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3___boxed), 10, 4); -lean_closure_set(x_42, 0, x_39); -lean_closure_set(x_42, 1, x_26); -lean_closure_set(x_42, 2, x_1); -lean_closure_set(x_42, 3, x_41); -x_43 = lean_ctor_get(x_15, 3); -lean_inc(x_43); -x_44 = lean_array_to_list(lean_box(0), x_43); -x_45 = l_Lean_mkConst(x_1, x_44); -x_46 = lean_ctor_get(x_15, 4); -lean_inc(x_46); -lean_dec(x_15); -x_47 = l_Lean_mkAppN(x_45, x_46); -lean_dec(x_46); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_42); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -if (lean_is_scalar(x_20)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_20; -} -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_40); -return x_50; -} -block_69: -{ -if (x_52 == 0) -{ -lean_dec(x_30); -lean_dec(x_24); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_40 = x_53; -goto block_51; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_inc(x_1); -x_54 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_54, 0, x_1); -x_55 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_30); -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Meta_Match_Unify_assign___closed__6; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_63, 0, x_24); -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_55); -x_66 = l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; -x_67 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_66, x_65, x_4, x_5, x_6, x_7, x_53); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_40 = x_68; -goto block_51; -} -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_87 = lean_ctor_get(x_27, 0); -lean_inc(x_87); -lean_dec(x_27); -x_88 = lean_ctor_get(x_15, 3); -lean_inc(x_88); -x_89 = lean_array_to_list(lean_box(0), x_88); -x_90 = l_Lean_mkConst(x_87, x_89); -x_91 = lean_ctor_get(x_15, 4); -lean_inc(x_91); -lean_dec(x_15); -x_92 = l_Lean_mkAppN(x_90, x_91); -lean_dec(x_91); -x_93 = lean_box(0); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -if (lean_is_scalar(x_20)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_20; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_19); -return x_95; -} -} -else -{ -uint8_t x_96; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_96 = !lean_is_exclusive(x_14); -if (x_96 == 0) -{ -return x_14; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_14, 0); -x_98 = lean_ctor_get(x_14, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_14); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -block_118: -{ -if (x_101 == 0) -{ -x_9 = x_102; -goto block_100; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_inc(x_1); -x_103 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_103, 0, x_1); -x_104 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_105 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__12; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); lean_inc(x_2); -x_108 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_108, 0, x_2); -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Meta_Match_Unify_assign___closed__6; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_2); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Meta_Match_Unify_assign___closed__7; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); lean_inc(x_3); -x_112 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_112, 0, x_3); -x_113 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_104); -x_115 = l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1; -x_116 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_115, x_114, x_4, x_5, x_6, x_7, x_102); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_9 = x_117; -goto block_100; +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_3); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_15); +x_26 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_25, x_4, x_5, x_6, x_7, x_11); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5(x_2, x_3, x_1, x_9, x_27, x_4, x_5, x_6, x_7, x_28); +lean_dec(x_27); +return x_29; } } } @@ -25691,6 +26123,30 @@ lean_dec(x_6); return x_12; } } +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_4); +lean_dec(x_4); +x_13 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(x_1, x_2, x_3, x_12, 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_7); +lean_dec(x_6); +return x_13; +} +} +lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +return x_11; +} +} lean_object* l_Lean_Meta_Match_mkMatcher_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -26000,7 +26456,30 @@ return x_12; } } } -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_Match_mkMatcher___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_List_lengthAux___rarg(x_1, x_13); +lean_inc(x_14); +x_15 = l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4(x_2, x_3, x_14, x_14, x_4); +lean_dec(x_14); +x_16 = lean_ctor_get(x_3, 1); +x_17 = l_List_reverse___rarg(x_15); +lean_inc(x_16); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_5); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +lean_ctor_set(x_18, 3, x_6); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_12); +return x_19; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; @@ -26011,7 +26490,421 @@ lean_ctor_set(x_7, 1, x_5); return x_7; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matcher: "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__2___boxed), 5, 0); +return x_1; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t 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) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_Expr_getAppFn(x_1); +x_21 = l_Lean_Expr_constLevels_x21(x_20); +lean_dec(x_20); +x_22 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f(x_21, x_2, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +x_25 = l_Lean_Meta_isLevelDefEq(x_2, x_3, x_15, x_16, x_17, x_18, x_24); +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, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_get(x_18, x_26); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_54; +lean_dec(x_23); +lean_dec(x_13); +lean_dec(x_12); +x_54 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3; +x_28 = x_54; +goto block_53; +} +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; lean_object* x_61; +x_55 = lean_ctor_get(x_9, 0); +lean_inc(x_55); +lean_dec(x_9); +x_56 = lean_unsigned_to_nat(0u); +x_57 = l_Lean_Expr_getAppNumArgsAux(x_1, x_56); +x_58 = l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5(x_10, x_11, x_12); +x_59 = x_58; +x_60 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_13); +lean_ctor_set(x_60, 2, x_59); +lean_ctor_set(x_60, 3, x_23); +x_61 = lean_apply_1(x_55, x_60); +x_28 = x_61; +goto block_53; +} +block_53: +{ +uint8_t x_29; lean_object* x_30; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_27, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_27, 1); +lean_inc(x_46); +lean_dec(x_27); +x_47 = 0; +x_29 = x_47; +x_30 = x_46; +goto block_42; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_27, 1); +lean_inc(x_48); +lean_dec(x_27); +lean_inc(x_8); +x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_15, x_16, x_17, x_18, x_48); +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); +x_52 = lean_unbox(x_50); +lean_dec(x_50); +x_29 = x_52; +x_30 = x_51; +goto block_42; +} +block_42: +{ +if (x_29 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_8); +x_31 = lean_box(0); +x_32 = l_Lean_Meta_Match_mkMatcher___lambda__1(x_4, x_5, x_6, x_7, x_1, x_28, x_31, x_15, x_16, x_17, x_18, x_30); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +return x_32; +} +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; lean_object* x_40; lean_object* x_41; +lean_inc(x_1); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_1); +x_34 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_37, x_15, x_16, x_17, x_18, x_30); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_Match_mkMatcher___lambda__1(x_4, x_5, x_6, x_7, x_1, x_28, x_39, x_15, x_16, x_17, x_18, x_40); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_39); +return x_41; +} +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_25); +if (x_62 == 0) +{ +return x_25; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_25, 0); +x_64 = lean_ctor_get(x_25, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_25); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +uint8_t x_66; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_22); +if (x_66 == 0) +{ +return x_22; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_22, 0); +x_68 = lean_ctor_get(x_22, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_22); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matcher levels: "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", uElim: "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t 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) { +_start: +{ +lean_object* x_21; +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +x_21 = l_Lean_Meta_Match_mkMatcherAuxDefinition(x_1, x_2, x_3, x_16, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +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_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_47 = lean_st_ref_get(x_19, x_23); +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; uint8_t x_52; +x_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +x_52 = 0; +x_26 = x_52; +x_27 = x_51; +goto block_46; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); +lean_inc(x_10); +x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_16, x_17, x_18, x_19, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_unbox(x_55); +lean_dec(x_55); +x_26 = x_57; +x_27 = x_56; +goto block_46; +} +block_46: +{ +if (x_26 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Match_mkMatcher___lambda__3(x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25, x_11, x_12, x_13, x_14, x_28, x_16, x_17, x_18, x_19, x_27); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_30 = l_Lean_Expr_getAppFn(x_24); +x_31 = l_Lean_Expr_constLevels_x21(x_30); +lean_dec(x_30); +x_32 = l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(x_31); +x_33 = l_Lean_MessageData_ofList(x_32); +lean_dec(x_32); +x_34 = l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_inc(x_4); +x_38 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_38, 0, x_4); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +lean_inc(x_10); +x_42 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_41, x_16, x_17, x_18, x_19, x_27); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Meta_Match_mkMatcher___lambda__3(x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25, x_11, x_12, x_13, x_14, x_43, x_16, x_17, x_18, x_19, x_44); +lean_dec(x_43); +return x_45; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_21); +if (x_58 == 0) +{ +return x_21; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_21, 0); +x_60 = lean_ctor_get(x_21, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_21); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -26019,17 +26912,17 @@ x_1 = lean_alloc_closure((void*)(l_Nat_decEq___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1; x_2 = lean_alloc_closure((void*)(l_instBEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -26038,78 +26931,19 @@ x_2 = l_Std_mkHashSetImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3; +x_2 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3; 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_Meta_Match_mkMatcher___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matcher: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__1___boxed), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matcher levels: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", uElim: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5() { _start: { lean_object* x_1; @@ -26117,16 +26951,16 @@ x_1 = lean_mk_string("matcher value: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7() { _start: { lean_object* x_1; @@ -26134,16 +26968,16 @@ x_1 = lean_mk_string("\ntype: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Match_mkMatcher___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; uint8_t 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; @@ -26174,7 +27008,7 @@ x_28 = lean_st_ref_get(x_15, x_22); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4; +x_30 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4; x_31 = lean_st_mk_ref(x_30, x_29); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); @@ -26204,7 +27038,7 @@ lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); lean_dec(x_39); -x_42 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_42 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_43 = lean_array_push(x_42, x_3); x_44 = l_Array_append___rarg(x_43, x_2); lean_dec(x_2); @@ -26235,466 +27069,102 @@ lean_inc(x_12); x_57 = l_Lean_Meta_mkLambdaFVars(x_51, x_21, x_52, x_53, x_12, x_13, x_14, x_15, x_56); if (lean_obj_tag(x_57) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_152; lean_object* x_153; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); lean_dec(x_57); -x_166 = lean_st_ref_get(x_15, x_59); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_167, 3); -lean_inc(x_168); -lean_dec(x_167); -x_169 = lean_ctor_get_uint8(x_168, sizeof(void*)*1); -lean_dec(x_168); -if (x_169 == 0) -{ -lean_object* x_170; -x_170 = lean_ctor_get(x_166, 1); -lean_inc(x_170); -lean_dec(x_166); -x_152 = x_52; -x_153 = x_170; -goto block_165; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_171 = lean_ctor_get(x_166, 1); -lean_inc(x_171); -lean_dec(x_166); -lean_inc(x_8); -x_172 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_12, x_13, x_14, x_15, x_171); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_unbox(x_173); -lean_dec(x_173); -x_152 = x_175; -x_153 = x_174; -goto block_165; -} -block_151: -{ -lean_object* x_61; -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -x_61 = l_Lean_Meta_Match_mkMatcherAuxDefinition(x_4, x_55, x_58, x_12, x_13, x_14, x_15, x_60); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_120; lean_object* x_121; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_62, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec(x_62); -x_137 = lean_st_ref_get(x_15, x_63); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_138, 3); -lean_inc(x_139); -lean_dec(x_138); -x_140 = lean_ctor_get_uint8(x_139, sizeof(void*)*1); -lean_dec(x_139); -if (x_140 == 0) -{ -lean_object* x_141; -x_141 = lean_ctor_get(x_137, 1); -lean_inc(x_141); -lean_dec(x_137); -x_120 = x_52; -x_121 = x_141; -goto block_136; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_142 = lean_ctor_get(x_137, 1); -lean_inc(x_142); -lean_dec(x_137); -lean_inc(x_8); -x_143 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_12, x_13, x_14, x_15, x_142); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_unbox(x_144); -lean_dec(x_144); -x_120 = x_146; -x_121 = x_145; -goto block_136; -} -block_119: -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = l_Lean_Expr_getAppFn(x_64); -x_68 = l_Lean_Expr_constLevels_x21(x_67); -lean_dec(x_67); -x_69 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f(x_68, x_5, x_12, x_13, x_14, x_15, x_66); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -x_72 = l_Lean_Meta_isLevelDefEq(x_5, x_6, x_12, x_13, x_14, x_15, x_71); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_74 = x_72; -} else { - lean_dec_ref(x_72); - x_74 = lean_box(0); -} -x_75 = lean_st_ref_get(x_15, x_73); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_104; -lean_dec(x_70); -lean_dec(x_48); -lean_dec(x_9); -x_104 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7; -x_76 = x_104; -goto block_103; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_105 = lean_ctor_get(x_65, 0); -lean_inc(x_105); -lean_dec(x_65); -x_106 = l_Lean_Expr_getAppNumArgsAux(x_64, x_34); -x_107 = l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5(x_46, x_47, x_48); -x_108 = x_107; -x_109 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_109, 0, x_106); -lean_ctor_set(x_109, 1, x_9); -lean_ctor_set(x_109, 2, x_108); -lean_ctor_set(x_109, 3, x_70); -x_110 = lean_apply_1(x_105, x_109); -x_76 = x_110; -goto block_103; -} -block_103: -{ -lean_object* x_77; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_86 = lean_ctor_get(x_75, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_86, 3); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); -lean_dec(x_87); -if (x_88 == 0) -{ -lean_object* x_89; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -x_89 = lean_ctor_get(x_75, 1); -lean_inc(x_89); -lean_dec(x_75); -x_77 = x_89; -goto block_85; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_90 = lean_ctor_get(x_75, 1); -lean_inc(x_90); -lean_dec(x_75); -lean_inc(x_8); -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_12, x_13, x_14, x_15, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_unbox(x_92); -lean_dec(x_92); -if (x_93 == 0) -{ -lean_object* x_94; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_77 = x_94; -goto block_85; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_95 = lean_ctor_get(x_91, 1); -lean_inc(x_95); -lean_dec(x_91); -lean_inc(x_64); -x_96 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_96, 0, x_64); -x_97 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -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_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_100, x_12, x_13, x_14, x_15, x_95); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_77 = x_102; -goto block_85; -} -} -block_85: -{ -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 = l_List_lengthAux___rarg(x_7, x_34); -x_79 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2; -lean_inc(x_78); -x_80 = l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4(x_79, x_40, x_78, x_78, x_27); -lean_dec(x_78); -x_81 = lean_ctor_get(x_40, 1); +x_80 = lean_st_ref_get(x_15, x_59); +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -lean_dec(x_40); -x_82 = l_List_reverse___rarg(x_80); -x_83 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_83, 0, x_64); -lean_ctor_set(x_83, 1, x_81); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_76); -if (lean_is_scalar(x_74)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_74; -} -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_77); -return x_84; -} -} +x_82 = lean_ctor_get(x_81, 3); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_ctor_get_uint8(x_82, sizeof(void*)*1); +lean_dec(x_82); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); +lean_dec(x_80); +x_60 = x_52; +x_61 = x_84; +goto block_79; } else { -uint8_t x_111; -lean_dec(x_70); -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_48); -lean_dec(x_40); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -x_111 = !lean_is_exclusive(x_72); -if (x_111 == 0) -{ -return x_72; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_72, 0); -x_113 = lean_ctor_get(x_72, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_72); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; -} -} -} -else -{ -uint8_t x_115; -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_48); -lean_dec(x_40); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_115 = !lean_is_exclusive(x_69); -if (x_115 == 0) -{ -return x_69; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_69, 0); -x_117 = lean_ctor_get(x_69, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_69); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; -} -} -} -block_136: -{ -if (x_120 == 0) -{ -x_66 = x_121; -goto block_119; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_122 = l_Lean_Expr_getAppFn(x_64); -x_123 = l_Lean_Expr_constLevels_x21(x_122); -lean_dec(x_122); -x_124 = l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(x_123); -x_125 = l_Lean_MessageData_ofList(x_124); -lean_dec(x_124); -x_126 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9; -x_127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11; -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -lean_inc(x_5); -x_130 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_130, 0, x_5); -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_133 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_80, 1); +lean_inc(x_85); +lean_dec(x_80); lean_inc(x_8); -x_134 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_133, x_12, x_13, x_14, x_15, x_121); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -lean_dec(x_134); -x_66 = x_135; -goto block_119; +x_86 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_12, x_13, x_14, x_15, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_unbox(x_87); +lean_dec(x_87); +x_60 = x_89; +x_61 = x_88; +goto block_79; } -} -} -else +block_79: { -uint8_t x_147; -lean_dec(x_48); +if (x_60 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2; +x_63 = lean_box(0); +x_64 = l_Lean_Meta_Match_mkMatcher___lambda__4(x_4, x_55, x_58, x_5, x_6, x_7, x_62, x_40, x_27, x_8, x_46, x_47, x_48, x_9, x_63, x_12, x_13, x_14, x_15, x_61); lean_dec(x_40); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_147 = !lean_is_exclusive(x_61); -if (x_147 == 0) -{ -return x_61; +return x_64; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_61, 0); -x_149 = lean_ctor_get(x_61, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_61); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; -} -} -} -block_165: -{ -if (x_152 == 0) -{ -x_60 = x_153; -goto block_151; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_object* x_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_inc(x_58); -x_154 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_154, 0, x_58); -x_155 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13; -x_156 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15; -x_158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); +x_65 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_65, 0, x_58); +x_66 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8; +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); lean_inc(x_55); -x_159 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_159, 0, x_55); -x_160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_161 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_55); +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); lean_inc(x_8); -x_163 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_162, x_12, x_13, x_14, x_15, x_153); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -x_60 = x_164; -goto block_151; +x_74 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_73, x_12, x_13, x_14, x_15, x_61); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2; +x_78 = l_Lean_Meta_Match_mkMatcher___lambda__4(x_4, x_55, x_58, x_5, x_6, x_7, x_77, x_40, x_27, x_8, x_46, x_47, x_48, x_9, x_75, x_12, x_13, x_14, x_15, x_76); +lean_dec(x_75); +lean_dec(x_40); +return x_78; } } } else { -uint8_t x_176; +uint8_t x_90; lean_dec(x_55); lean_dec(x_48); lean_dec(x_40); @@ -26707,29 +27177,29 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_176 = !lean_is_exclusive(x_57); -if (x_176 == 0) +x_90 = !lean_is_exclusive(x_57); +if (x_90 == 0) { return x_57; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_57, 0); -x_178 = lean_ctor_get(x_57, 1); -lean_inc(x_178); -lean_inc(x_177); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_57, 0); +x_92 = lean_ctor_get(x_57, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_57); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } else { -uint8_t x_180; +uint8_t x_94; lean_dec(x_51); lean_dec(x_48); lean_dec(x_40); @@ -26743,29 +27213,29 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_180 = !lean_is_exclusive(x_54); -if (x_180 == 0) +x_94 = !lean_is_exclusive(x_54); +if (x_94 == 0) { return x_54; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_54, 0); -x_182 = lean_ctor_get(x_54, 1); -lean_inc(x_182); -lean_inc(x_181); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_54, 0); +x_96 = lean_ctor_get(x_54, 1); +lean_inc(x_96); +lean_inc(x_95); lean_dec(x_54); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } else { -uint8_t x_184; +uint8_t x_98; lean_dec(x_32); lean_dec(x_21); lean_dec(x_15); @@ -26781,28 +27251,48 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_184 = !lean_is_exclusive(x_35); -if (x_184 == 0) +x_98 = !lean_is_exclusive(x_35); +if (x_98 == 0) { return x_35; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_35, 0); -x_186 = lean_ctor_get(x_35, 1); -lean_inc(x_186); -lean_inc(x_185); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_35, 0); +x_100 = lean_ctor_get(x_35, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_35); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1() { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; +lean_inc(x_7); +lean_inc(x_3); +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__5___boxed), 16, 9); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_7); +lean_closure_set(x_16, 7, x_8); +lean_closure_set(x_16, 8, x_9); +x_17 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(x_3, x_7, x_16, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -26810,16 +27300,97 @@ x_1 = lean_mk_string("target: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3() { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_inc(x_1); +x_15 = l_Lean_mkAppN(x_1, x_2); +x_30 = lean_st_ref_get(x_13, x_14); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 0; +x_16 = x_35; +x_17 = x_34; +goto block_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_dec(x_30); +lean_inc(x_7); +x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_10, x_11, x_12, x_13, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_16 = x_40; +x_17 = x_39; +goto block_29; +} +block_29: +{ +if (x_16 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Match_mkMatcher___lambda__6(x_15, x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_10, x_11, x_12, x_13, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_inc(x_15); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_15); +x_21 = l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +lean_inc(x_7); +x_25 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_24, x_10, x_11, x_12, x_13, x_17); +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_Lean_Meta_Match_mkMatcher___lambda__6(x_15, x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_10, x_11, x_12, x_13, x_27); +lean_dec(x_26); +return x_28; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -26827,192 +27398,94 @@ x_1 = lean_mk_string("motiveType: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3; +x_1 = l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_st_ref_get(x_12, x_13); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_44, 3); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); -lean_dec(x_45); -if (x_46 == 0) +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_14 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; +x_29 = lean_st_ref_get(x_12, x_13); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) { -lean_object* x_47; +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_15 = x_34; +x_16 = x_33; +goto block_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_14, x_9, x_10, x_11, x_12, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_15 = x_39; +x_16 = x_38; +goto block_28; +} +block_28: +{ +if (x_15 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_dec(x_7); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_14 = x_47; -goto block_42; +x_17 = lean_box(0); +x_18 = l_Lean_Meta_Match_mkMatcher___lambda__7(x_8, x_1, x_2, x_3, x_4, x_5, x_14, x_6, x_17, x_9, x_10, x_11, x_12, x_16); +return x_18; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_dec(x_43); -x_49 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; -x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_49, x_9, x_10, x_11, x_12, x_48); -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) -{ -lean_object* x_53; -lean_dec(x_7); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_14 = x_53; -goto block_42; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_7); -x_56 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_49, x_59, x_9, x_10, x_11, x_12, x_54); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_14 = x_61; -goto block_42; -} -} -block_42: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_inc(x_8); -x_15 = l_Lean_mkAppN(x_8, x_1); -x_16 = lean_st_ref_get(x_12, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; -lean_inc(x_5); -lean_inc(x_8); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__2___boxed), 16, 9); -lean_closure_set(x_22, 0, x_15); -lean_closure_set(x_22, 1, x_1); -lean_closure_set(x_22, 2, x_8); -lean_closure_set(x_22, 3, x_2); -lean_closure_set(x_22, 4, x_3); -lean_closure_set(x_22, 5, x_4); -lean_closure_set(x_22, 6, x_5); -lean_closure_set(x_22, 7, x_21); -lean_closure_set(x_22, 8, x_6); -x_23 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(x_8, x_5, x_22, x_9, x_10, x_11, x_12, x_20); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_dec(x_16); -x_25 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__8; -x_26 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_25, x_9, x_10, x_11, x_12, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -lean_inc(x_5); -lean_inc(x_8); -x_30 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__2___boxed), 16, 9); -lean_closure_set(x_30, 0, x_15); -lean_closure_set(x_30, 1, x_1); -lean_closure_set(x_30, 2, x_8); -lean_closure_set(x_30, 3, x_2); -lean_closure_set(x_30, 4, x_3); -lean_closure_set(x_30, 5, x_4); -lean_closure_set(x_30, 6, x_5); -lean_closure_set(x_30, 7, x_25); -lean_closure_set(x_30, 8, x_6); -x_31 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(x_8, x_5, x_30, x_9, x_10, x_11, x_12, x_29); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_dec(x_26); -lean_inc(x_15); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_15); -x_34 = l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_25, x_37, x_9, x_10, x_11, x_12, x_32); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -lean_inc(x_5); -lean_inc(x_8); -x_40 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__2___boxed), 16, 9); -lean_closure_set(x_40, 0, x_15); -lean_closure_set(x_40, 1, x_1); -lean_closure_set(x_40, 2, x_8); -lean_closure_set(x_40, 3, x_2); -lean_closure_set(x_40, 4, x_3); -lean_closure_set(x_40, 5, x_4); -lean_closure_set(x_40, 6, x_5); -lean_closure_set(x_40, 7, x_25); -lean_closure_set(x_40, 8, x_6); -x_41 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(x_8, x_5, x_40, x_9, x_10, x_11, x_12, x_39); -return x_41; +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; +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_7); +x_20 = l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__14; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_14, x_23, x_9, x_10, x_11, x_12, x_16); +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 = l_Lean_Meta_Match_mkMatcher___lambda__7(x_8, x_1, x_2, x_3, x_4, x_5, x_14, x_6, x_25, x_9, x_10, x_11, x_12, x_26); +lean_dec(x_25); +return x_27; } } } } -} -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1() { _start: { lean_object* x_1; @@ -27020,17 +27493,17 @@ x_1 = lean_mk_string("motive"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lambda__9___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_Match_mkMatcher___lambda__4___closed__1; +x_2 = l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; @@ -27050,7 +27523,7 @@ x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__3), 13, 7); +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__8), 13, 7); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_2); lean_closure_set(x_18, 2, x_6); @@ -27058,7 +27531,7 @@ lean_closure_set(x_18, 3, x_3); lean_closure_set(x_18, 4, x_4); lean_closure_set(x_18, 5, x_5); lean_closure_set(x_18, 6, x_16); -x_19 = l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2; +x_19 = l_Lean_Meta_Match_mkMatcher___lambda__9___closed__2; x_20 = 0; x_21 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(x_19, x_20, x_16, x_18, x_7, x_8, x_9, x_10, x_17); return x_21; @@ -27097,7 +27570,7 @@ return x_25; } } } -lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__10(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; @@ -27132,13 +27605,13 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Lean_Meta_Match_mkMatcher___lambda__4(x_4, x_2, x_14, x_1, x_3, x_19, x_6, x_7, x_8, x_9, x_20); +x_21 = l_Lean_Meta_Match_mkMatcher___lambda__9(x_4, x_2, x_14, x_1, x_3, x_19, x_6, x_7, x_8, x_9, x_20); return x_21; } else { lean_object* x_22; -x_22 = l_Lean_Meta_Match_mkMatcher___lambda__4(x_4, x_2, x_14, x_1, x_3, x_16, x_6, x_7, x_8, x_9, x_15); +x_22 = l_Lean_Meta_Match_mkMatcher___lambda__9(x_4, x_2, x_14, x_1, x_3, x_16, x_6, x_7, x_8, x_9, x_15); return x_22; } } @@ -27222,7 +27695,7 @@ lean_dec(x_1); lean_inc(x_9); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_9); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__5), 10, 3); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__10), 10, 3); lean_closure_set(x_12, 0, x_10); lean_closure_set(x_12, 1, x_7); lean_closure_set(x_12, 2, x_9); @@ -27276,11 +27749,27 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5(x_4, x_5, return x_6; } } -lean_object* l_Lean_Meta_Match_mkMatcher___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* l_Lean_Meta_Match_mkMatcher___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, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Match_mkMatcher___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_Match_mkMatcher___lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_Match_mkMatcher___lambda__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -27288,15 +27777,104 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Meta_Match_mkMatcher___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_21 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_22 = l_Lean_Meta_Match_mkMatcher___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_14); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_22; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +size_t x_21; size_t x_22; lean_object* x_23; +x_21 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_22 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_23 = l_Lean_Meta_Match_mkMatcher___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21, x_22, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_23; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; -x_17 = l_Lean_Meta_Match_mkMatcher___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, x_14, x_15, x_16); +x_17 = l_Lean_Meta_Match_mkMatcher___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_7); return x_17; } } +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Meta_Match_mkMatcher___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_10); +return x_16; +} +} +lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Match_mkMatcher___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +return x_15; +} +} lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -28115,7 +28693,7 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_ConstantInfo_type(x_25); -x_28 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_28 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_29 = lean_array_push(x_28, x_9); x_30 = l_Array_append___rarg(x_8, x_29); lean_dec(x_29); @@ -28349,7 +28927,7 @@ x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); lean_dec(x_72); x_75 = l_Lean_ConstantInfo_type(x_73); -x_76 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_76 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_77 = lean_array_push(x_76, x_9); x_78 = l_Array_append___rarg(x_8, x_77); lean_dec(x_77); @@ -29372,7 +29950,7 @@ x_14 = lean_ctor_get(x_10, 1); lean_inc(x_14); lean_dec(x_10); x_15 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2; -x_16 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_15, x_4, x_5, x_6, x_7, x_14); +x_16 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_15, x_4, x_5, x_6, x_7, x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -29812,7 +30390,7 @@ lean_inc(x_25); lean_dec(x_23); x_26 = lean_ctor_get(x_2, 2); lean_inc(x_26); -x_27 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_27 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_28 = lean_array_push(x_27, x_3); x_29 = lean_ctor_get(x_2, 8); lean_inc(x_29); @@ -29847,7 +30425,7 @@ lean_inc(x_35); lean_dec(x_32); x_36 = lean_ctor_get(x_2, 2); lean_inc(x_36); -x_37 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2; +x_37 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2; x_38 = lean_array_push(x_37, x_3); x_39 = lean_ctor_get(x_2, 8); lean_inc(x_39); @@ -30437,7 +31015,7 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_8851_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_9672_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -30623,14 +31201,14 @@ l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipIn lean_mark_persistent(l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__4); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1); -l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__1); -l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__2); -l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__3); -l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___closed__4); +l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1); +l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2); +l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__3); +l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__2(); @@ -30677,6 +31255,8 @@ l_Lean_Meta_Match_Unify_assign___closed__7 = _init_l_Lean_Meta_Match_Unify_assig lean_mark_persistent(l_Lean_Meta_Match_Unify_assign___closed__7); l_Lean_Meta_Match_Unify_assign___closed__8 = _init_l_Lean_Meta_Match_Unify_assign___closed__8(); lean_mark_persistent(l_Lean_Meta_Match_Unify_assign___closed__8); +l_Lean_Meta_Match_Unify_assign___closed__9 = _init_l_Lean_Meta_Match_Unify_assign___closed__9(); +lean_mark_persistent(l_Lean_Meta_Match_Unify_assign___closed__9); l_Lean_Meta_Match_Unify_unify___closed__1 = _init_l_Lean_Meta_Match_Unify_unify___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_Unify_unify___closed__1); l_Lean_Meta_Match_Unify_unify___closed__2 = _init_l_Lean_Meta_Match_Unify_unify___closed__2(); @@ -30693,6 +31273,8 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__1 = _in lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__2); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___closed__3); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__1___boxed__const__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__1___boxed__const__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__1___boxed__const__1); l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__1 = _init_l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__1(); @@ -30753,16 +31335,16 @@ l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_p lean_mark_persistent(l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9___closed__2); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1___closed__1); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__1); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___closed__2); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2___boxed__const__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__2); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__4); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1); l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1 = _init_l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1(); lean_mark_persistent(l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1); l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2 = _init_l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2(); @@ -30787,26 +31369,26 @@ l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue_ lean_mark_persistent(l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1); l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__2 = _init_l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__2(); lean_mark_persistent(l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__2); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___lambda__1___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3); l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1 = _init_l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1(); lean_mark_persistent(l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1); l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2 = _init_l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2(); lean_mark_persistent(l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__2); +l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__4); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__5); l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1 = _init_l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1(); lean_mark_persistent(l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1); l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2 = _init_l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2(); @@ -30871,48 +31453,48 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1 lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859____closed__6); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385____closed__6); l_Lean_Meta_Match_bootstrap_genMatcherCode___closed__1 = _init_l_Lean_Meta_Match_bootstrap_genMatcherCode___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_bootstrap_genMatcherCode___closed__1); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6859_(lean_io_mk_world()); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7385_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_Match_bootstrap_genMatcherCode = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_Match_bootstrap_genMatcherCode); lean_dec_ref(res); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__6); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__7); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__8); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883____closed__9); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__6); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__7); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__8); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409____closed__9); l_Lean_Meta_Match_matcherExt___closed__1 = _init_l_Lean_Meta_Match_matcherExt___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_matcherExt___closed__1); l_Lean_Meta_Match_matcherExt___closed__2 = _init_l_Lean_Meta_Match_matcherExt___closed__2(); lean_mark_persistent(l_Lean_Meta_Match_matcherExt___closed__2); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6883_(lean_io_mk_world()); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_7409_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_Match_matcherExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_Match_matcherExt); @@ -30923,48 +31505,48 @@ l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___ lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1); l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1 = _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__3); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__7); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__8); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__9); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__10); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__11); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__12); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__13); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__14); -l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15 = _init_l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__2___closed__15); l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1); l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2); l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3 = _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__3); -l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4 = _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__4); l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__4___closed__1); l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__4___closed__2); +l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3 = _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__4___closed__3); +l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4 = _init_l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__4___closed__4); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__3); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__5); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__6); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__7); +l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8 = _init_l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__5___closed__8); +l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__7___closed__1); +l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__7___closed__2); +l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__8___closed__1); +l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__8___closed__2); +l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__9___closed__1); +l_Lean_Meta_Match_mkMatcher___lambda__9___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__9___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__9___closed__2); l_Lean_Expr_withAppAux___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__3___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__3___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__3___boxed__const__1); l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5___lambda__1___closed__1(); @@ -31015,7 +31597,7 @@ l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3 = _init_l_Lean_Meta_Matche lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3); l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4(); lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_8851_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_9672_(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/Meta/RecursorInfo.c b/stage0/stdlib/Lean/Meta/RecursorInfo.c index 052993ba33..ea28418e56 100644 --- a/stage0/stdlib/Lean/Meta/RecursorInfo.c +++ b/stage0/stdlib/Lean/Meta/RecursorInfo.c @@ -14,38 +14,31 @@ extern "C" { #endif lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1; lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__6(uint8_t, lean_object*); uint8_t l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1; lean_object* l_Array_binSearchAux___at_Lean_Meta_getMajorPos_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__2(lean_object*, size_t, size_t); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__13; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2; lean_object* l_Lean_mkSort(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___lambda__1___boxed(lean_object**); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -57,35 +50,35 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotiveResultTy lean_object* l_Lean_Meta_recursorAttribute___lambda__6___boxed(lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__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*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__12; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_match__2(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__2___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2; static lean_object* l_Lean_Meta_recursorAttribute___closed__5; lean_object* l_Lean_Meta_RecursorInfo_isMinor___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3; +uint8_t l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotiveResultType___closed__2; static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -97,19 +90,22 @@ lean_object* l_Lean_throwError___at_Lean_Meta_decLevel___spec__1(lean_object*, l static lean_object* l_Lean_Meta_recursorAttribute___closed__7; lean_object* l_Lean_Meta_instToStringRecursorUnivLevelPos(lean_object*); extern lean_object* l_instInhabitedNat; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__1; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotiveResultType___closed__1; lean_object* l_Lean_Meta_RecursorInfo_numParams(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___boxed(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_getMajorPos_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___closed__1; lean_object* l_List_range(lean_object*); lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,14 +113,16 @@ lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__ static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__3; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__13; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2; -lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2; +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_getAttrParamOptPrio___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkRecursorInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__3; +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_auxRecExt; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__5; lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___closed__1; @@ -132,40 +130,41 @@ static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringR lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__7(lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___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* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__2(lean_object*, lean_object*); +lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instToStringRecursorUnivLevelPos_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3; +static lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___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*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__4___closed__4; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__2; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel___closed__1; static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__2___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_match__1___rarg(lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__2___closed__1; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6; lean_object* l_List_replicate___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__6; lean_object* l_Lean_Meta_RecursorInfo_numParams___boxed(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3; lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__2; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__1; lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_recOnSuffix; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__8; lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_numMinors(lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__4; @@ -177,28 +176,23 @@ static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive_ static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__17; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToStringRecursorUnivLevelPos___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__4___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__8; extern lean_object* l_Lean_numLitKind; lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3___boxed(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute___lambda__4___boxed(lean_object*, lean_object*); -lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1; -lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__9; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__1___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354_(lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__9; -static lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__2; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos(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_recursorAttribute___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -206,14 +200,13 @@ lean_object* l_List_map___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRec static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__2; lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__8; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___closed__4; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__1; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,31 +216,27 @@ static lean_object* l_Lean_Meta_recursorAttribute___lambda__1___closed__1; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___closed__3; static lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__1___closed__1; static lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__1___closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11; lean_object* l_Lean_Meta_recursorAttribute___lambda__5___boxed(lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__6; lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__8; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__4; -uint8_t l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_sanitizeName___spec__1(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5; lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___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_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3___boxed(lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__2(uint8_t, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_numMinors___boxed(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3(lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__18; static lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___closed__2; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__14; @@ -263,37 +252,38 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAnd extern lean_object* l_Lean_persistentEnvExtensionsRef; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__4; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__3___closed__2; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___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*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__1; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___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* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7; lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___closed__3; lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__4(uint8_t, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3; lean_object* l_Lean_Meta_recursorAttribute___lambda__5(lean_object*); -static lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1; static lean_object* l_Lean_Meta_recursorAttribute___closed__11; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7; static lean_object* l_Lean_Meta_recursorAttribute___lambda__3___closed__2; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__7; +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_Meta_getMajorPos_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos(lean_object*); static uint32_t l_Lean_Meta_recursorAttribute___lambda__3___closed__1; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute___lambda__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1; +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1; lean_object* l_Lean_Meta_getMajorPos_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_numIndices(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,67 +291,67 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_m size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_ConstantInfo_type(lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14; lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel_match__1(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__12; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__3___closed__1; lean_object* l_Lean_Meta_mkRecursorInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4; lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__3(lean_object*); lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8(uint8_t, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); static lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f___spec__1___closed__2; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__3; extern lean_object* l_Lean_Expr_FindImpl_initCache; -lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Attribute_Recursor_getMajorPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1; +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___boxed(lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___closed__1; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute___lambda__6(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__6; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__5; lean_object* l_List_map___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive_match__2(lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosIfAuxRecursor_x3f_match__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3; lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__11; lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__4; -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5; +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos___boxed(lean_object*); +static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___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* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_match__1(lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__9; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___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_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___spec__2___closed__1; -static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2; lean_object* l_Lean_Meta_mkRecursorInfo_match__1(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___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_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoCore_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__1___closed__2; -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4(lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5; lean_object* l_Lean_Meta_recursorAttribute___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel___closed__2; lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos(lean_object*, lean_object*, lean_object*, lean_object*); @@ -372,17 +362,16 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__10; uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__10; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__12; lean_object* l_Lean_Meta_recursorAttribute___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5(lean_object*, lean_object*); lean_object* l_Lean_Meta_instToStringRecursorUnivLevelPos_match__1(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___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_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim_match__1(lean_object*); @@ -394,22 +383,23 @@ lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__2(lean_object* lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__3(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___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* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoCore_match__1(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getIndicesPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__16; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__1___closed__1; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6(lean_object*, lean_object*, size_t, size_t); uint8_t l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_recursorAttribute___lambda__4(lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__2; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___boxed(lean_object**); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo(lean_object*); @@ -422,48 +412,58 @@ lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Me lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_Meta_getMajorPos_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); +static lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1; static lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___closed__1; static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__10; +lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4(lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__7; +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5(lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__12; lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Attribute_Recursor_getMajorPos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__1___closed__1; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__4(lean_object*); static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__15; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7; lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___boxed(lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1; static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__3; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6; +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_casesOnSuffix; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive_match__1(lean_object*); static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___closed__2; uint8_t l_Lean_Expr_isSort(lean_object*); -static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__11; lean_object* l_Lean_Meta_RecursorInfo_numIndices___boxed(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotiveResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___lambda__1___closed__2; +static lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2; lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__6___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_recursorAttribute___closed__12; static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__3; @@ -9529,7 +9529,7 @@ return x_18; } } } -lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -9543,7 +9543,7 @@ x_3 = lean_ctor_get(x_2, 0); x_4 = lean_ctor_get(x_2, 1); x_5 = lean_ctor_get(x_2, 2); x_6 = lean_ctor_get(x_2, 3); -x_7 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2(x_1, x_3); +x_7 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2(x_1, x_3); lean_inc(x_5); lean_inc(x_4); x_8 = lean_alloc_ctor(0, 2, 0); @@ -9556,7 +9556,7 @@ goto _start; } } } -static lean_object* _init_l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1() { +static lean_object* _init_l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9568,7 +9568,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____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* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____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) { _start: { uint8_t x_7; @@ -9588,7 +9588,7 @@ return x_9; else { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1; +x_10 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1; x_11 = lean_array_get(x_10, x_4, x_6); lean_inc(x_1); lean_inc(x_3); @@ -9621,7 +9621,7 @@ goto _start; } } } -uint8_t l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -9631,15 +9631,15 @@ x_5 = l_Lean_Name_quickLt(x_3, x_4); return x_5; } } -static lean_object* _init_l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1() { +static lean_object* _init_l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___lambda__1___boxed), 2, 0); return x_1; } } -lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_13; @@ -9656,7 +9656,7 @@ x_14 = lean_nat_add(x_2, x_3); x_15 = lean_unsigned_to_nat(2u); x_16 = lean_nat_div(x_14, x_15); lean_dec(x_14); -x_46 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1; +x_46 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1; x_47 = lean_array_get(x_46, x_1, x_16); x_48 = lean_array_get(x_46, x_1, x_2); x_49 = lean_ctor_get(x_47, 0); @@ -9683,7 +9683,7 @@ goto block_45; block_45: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1; +x_18 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1; x_19 = lean_array_get(x_18, x_17, x_3); x_20 = lean_array_get(x_18, x_17, x_2); x_21 = lean_ctor_get(x_19, 0); @@ -9707,9 +9707,9 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_dec(x_16); -x_27 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1; +x_27 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1; lean_inc_n(x_2, 2); -x_28 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(x_27, x_3, x_19, x_17, x_2, x_2); +x_28 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(x_27, x_3, x_19, x_17, x_2, x_2); x_4 = x_28; goto block_12; } @@ -9720,9 +9720,9 @@ lean_dec(x_19); x_29 = lean_array_swap(x_17, x_16, x_3); lean_dec(x_16); x_30 = lean_array_get(x_18, x_29, x_3); -x_31 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1; +x_31 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1; lean_inc_n(x_2, 2); -x_32 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(x_31, x_3, x_30, x_29, x_2, x_2); +x_32 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(x_31, x_3, x_30, x_29, x_2, x_2); x_4 = x_32; goto block_12; } @@ -9747,9 +9747,9 @@ if (x_38 == 0) { lean_object* x_39; lean_object* x_40; lean_dec(x_16); -x_39 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1; +x_39 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1; lean_inc_n(x_2, 2); -x_40 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(x_39, x_3, x_35, x_33, x_2, x_2); +x_40 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(x_39, x_3, x_35, x_33, x_2, x_2); x_4 = x_40; goto block_12; } @@ -9760,9 +9760,9 @@ lean_dec(x_35); x_41 = lean_array_swap(x_33, x_16, x_3); lean_dec(x_16); x_42 = lean_array_get(x_18, x_41, x_3); -x_43 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1; +x_43 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1; lean_inc_n(x_2, 2); -x_44 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(x_43, x_3, x_42, x_41, x_2, x_2); +x_44 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(x_43, x_3, x_42, x_41, x_2, x_2); x_4 = x_44; goto block_12; } @@ -9781,7 +9781,7 @@ x_7 = lean_nat_dec_le(x_3, x_5); if (x_7 == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3(x_6, x_2, x_5); +x_8 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3(x_6, x_2, x_5); x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_add(x_5, x_9); lean_dec(x_5); @@ -9798,7 +9798,7 @@ return x_6; } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -9836,7 +9836,7 @@ return x_14; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -9850,15 +9850,15 @@ lean_ctor_set(x_5, 1, x_2); return x_5; } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__1), 2, 0); return x_1; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -9875,7 +9875,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_1, 5); lean_inc(x_9); lean_dec(x_1); -x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1; +x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1; x_11 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_11, 0, x_5); lean_closure_set(x_11, 1, x_10); @@ -9956,7 +9956,7 @@ return x_30; } } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1() { _start: { lean_object* x_1; @@ -9964,7 +9964,7 @@ x_1 = lean_mk_string("invalid environment extension, '"); return x_1; } } -static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2() { +static lean_object* _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2() { _start: { lean_object* x_1; @@ -9972,7 +9972,7 @@ x_1 = lean_mk_string("' has already been used"); return x_1; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -9994,7 +9994,7 @@ lean_dec(x_8); lean_free_object(x_4); lean_dec(x_6); x_11 = lean_box(0); -x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_11, x_7); +x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_11, x_7); return x_12; } else @@ -10008,7 +10008,7 @@ lean_dec(x_8); lean_free_object(x_4); lean_dec(x_6); x_14 = lean_box(0); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_14, x_7); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_14, x_7); return x_15; } else @@ -10017,14 +10017,14 @@ size_t x_16; size_t x_17; uint8_t x_18; x_16 = 0; x_17 = lean_usize_of_nat(x_8); lean_dec(x_8); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6(x_1, x_6, x_16, x_17); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6(x_1, x_6, x_16, x_17); lean_dec(x_6); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_free_object(x_4); x_19 = lean_box(0); -x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_19, x_7); +x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_19, x_7); return x_20; } else @@ -10035,10 +10035,10 @@ lean_inc(x_21); lean_dec(x_1); x_22 = 1; x_23 = l_Lean_Name_toString(x_21, x_22); -x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1; +x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1; x_25 = lean_string_append(x_24, x_23); lean_dec(x_23); -x_26 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2; +x_26 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -10066,7 +10066,7 @@ lean_object* x_34; lean_object* x_35; lean_dec(x_31); lean_dec(x_29); x_34 = lean_box(0); -x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_34, x_30); +x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_34, x_30); return x_35; } else @@ -10079,7 +10079,7 @@ lean_object* x_37; lean_object* x_38; lean_dec(x_31); lean_dec(x_29); x_37 = lean_box(0); -x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_37, x_30); +x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_37, x_30); return x_38; } else @@ -10088,13 +10088,13 @@ size_t x_39; size_t x_40; uint8_t x_41; x_39 = 0; x_40 = lean_usize_of_nat(x_31); lean_dec(x_31); -x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6(x_1, x_29, x_39, x_40); +x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6(x_1, x_29, x_39, x_40); lean_dec(x_29); if (x_41 == 0) { lean_object* x_42; lean_object* x_43; x_42 = lean_box(0); -x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_42, x_30); +x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_42, x_30); return x_43; } else @@ -10105,10 +10105,10 @@ lean_inc(x_44); lean_dec(x_1); x_45 = 1; x_46 = l_Lean_Name_toString(x_44, x_45); -x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1; +x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1; x_48 = lean_string_append(x_47, x_46); lean_dec(x_46); -x_49 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2; +x_49 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2; x_50 = lean_string_append(x_48, x_49); x_51 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_51, 0, x_50); @@ -10122,7 +10122,7 @@ return x_52; } } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; @@ -10179,7 +10179,7 @@ return x_15; } } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -10192,23 +10192,23 @@ x_5 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_3, x_ return x_5; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3(lean_object* x_1) { _start: { 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; x_2 = l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___closed__1; -x_3 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2(x_2, x_1); +x_3 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2(x_2, x_1); x_4 = lean_array_get_size(x_3); x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3(x_3, x_7, x_6); +x_8 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3(x_3, x_7, x_6); lean_dec(x_6); return x_8; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -10216,21 +10216,21 @@ x_1 = lean_mk_string("parametric attribute"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___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_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10238,7 +10238,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4() { _start: { lean_object* x_1; @@ -10246,29 +10246,29 @@ x_1 = lean_mk_string("number of local entries: "); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3; -x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3; +x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5; x_3 = lean_alloc_ctor(4, 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_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -10277,14 +10277,14 @@ x_3 = l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(x_2, x_1); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6; +x_6 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); return x_7; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -10368,7 +10368,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -10376,16 +10376,16 @@ x_1 = lean_mk_string("invalid attribute '"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3() { _start: { lean_object* x_1; @@ -10393,16 +10393,16 @@ x_1 = lean_mk_string("', declaration is in an imported module"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -10421,7 +10421,7 @@ if (lean_obj_tag(x_14) == 0) lean_object* x_15; lean_object* x_16; lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_13, x_15, x_7, x_8, x_12); +x_16 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_13, x_15, x_7, x_8, x_12); return x_16; } else @@ -10435,11 +10435,11 @@ lean_dec(x_2); lean_dec(x_1); x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_5); -x_18 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2; +x_18 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4; +x_20 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -10467,7 +10467,7 @@ return x_26; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -10475,16 +10475,16 @@ x_1 = lean_mk_string("', must be global"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; uint8_t x_11; @@ -10499,11 +10499,11 @@ lean_dec(x_2); lean_dec(x_1); x_12 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_12, 0, x_3); -x_13 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2; +x_13 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2; +x_15 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -10533,12 +10533,12 @@ else { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6(x_1, x_4, x_5, x_2, x_3, x_22, x_7, x_8, x_9); +x_23 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6(x_1, x_4, x_5, x_2, x_3, x_22, x_7, x_8, x_9); return x_23; } } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -10546,25 +10546,25 @@ x_1 = lean_mk_string("attribute cannot be erased"); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1; +x_1 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2; +x_5 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -10574,39 +10574,39 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__2), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__2), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5() { +static lean_object* _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___boxed), 4, 0); return x_1; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -10620,13 +10620,13 @@ x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get(x_3, 1); x_7 = lean_box(0); lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__1), 5, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__1), 5, 2); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_7); -x_9 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1; -x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2; -x_11 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3; -x_12 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4; +x_9 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1; +x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2; +x_11 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3; +x_12 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4; lean_inc(x_5); x_13 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_13, 0, x_5); @@ -10635,7 +10635,7 @@ lean_ctor_set(x_13, 2, x_8); lean_ctor_set(x_13, 3, x_10); lean_ctor_set(x_13, 4, x_11); lean_ctor_set(x_13, 5, x_12); -x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5(x_13, x_2); +x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5(x_13, x_2); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -10648,11 +10648,11 @@ x_17 = 0; lean_inc(x_5); lean_ctor_set_uint8(x_3, sizeof(void*)*2, x_17); lean_inc(x_15); -x_18 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___boxed), 9, 3); +x_18 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___boxed), 9, 3); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_15); lean_closure_set(x_18, 2, x_5); -x_19 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5; +x_19 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5; x_20 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_20, 0, x_3); lean_ctor_set(x_20, 1, x_18); @@ -10751,13 +10751,13 @@ lean_inc(x_36); lean_dec(x_3); x_38 = lean_box(0); lean_inc(x_1); -x_39 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__1), 5, 2); +x_39 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__1), 5, 2); lean_closure_set(x_39, 0, x_1); lean_closure_set(x_39, 1, x_38); -x_40 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1; -x_41 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2; -x_42 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3; -x_43 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4; +x_40 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1; +x_41 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2; +x_42 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3; +x_43 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4; lean_inc(x_36); x_44 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_44, 0, x_36); @@ -10766,7 +10766,7 @@ lean_ctor_set(x_44, 2, x_39); lean_ctor_set(x_44, 3, x_41); lean_ctor_set(x_44, 4, x_42); lean_ctor_set(x_44, 5, x_43); -x_45 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5(x_44, x_2); +x_45 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5(x_44, x_2); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; @@ -10782,11 +10782,11 @@ lean_ctor_set(x_49, 0, x_36); lean_ctor_set(x_49, 1, x_37); lean_ctor_set_uint8(x_49, sizeof(void*)*2, x_48); lean_inc(x_46); -x_50 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___boxed), 9, 3); +x_50 = lean_alloc_closure((void*)(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___boxed), 9, 3); lean_closure_set(x_50, 0, x_1); lean_closure_set(x_50, 1, x_46); lean_closure_set(x_50, 2, x_36); -x_51 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5; +x_51 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5; x_52 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_50); @@ -10875,7 +10875,7 @@ return x_65; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -10883,7 +10883,7 @@ x_6 = l_Lean_Meta_Attribute_Recursor_getMajorPos(x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; @@ -10904,7 +10904,7 @@ lean_ctor_set_uint8(x_4, 9, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__2() { _start: { lean_object* x_1; @@ -10912,21 +10912,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___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_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10934,7 +10934,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -10943,23 +10943,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5; 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_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -10970,25 +10970,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8; x_4 = l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___closed__1; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); @@ -10998,12 +10998,12 @@ lean_ctor_set(x_5, 3, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4; x_3 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -11014,11 +11014,11 @@ lean_ctor_set(x_3, 5, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11026,7 +11026,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__12() { _start: { lean_object* x_1; @@ -11034,11 +11034,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheK return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11046,11 +11046,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11058,13 +11058,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14; x_4 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11074,14 +11074,14 @@ lean_ctor_set(x_4, 4, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15; x_3 = l_Lean_NameSet_empty; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -11090,7 +11090,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -11100,14 +11100,14 @@ x_7 = lean_st_ref_get(x_4, x_5); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16; +x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16; x_10 = lean_st_mk_ref(x_9, x_8); 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_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9; +x_13 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9; lean_inc(x_4); lean_inc(x_11); x_14 = l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoCore(x_1, x_6, x_13, x_11, x_3, x_4, x_12); @@ -11173,7 +11173,7 @@ return x_28; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -11184,7 +11184,7 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11194,7 +11194,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2() { _start: { lean_object* x_1; @@ -11202,12 +11202,12 @@ x_1 = lean_mk_string("user defined recursor, numerical parameter specifies posit return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -11216,38 +11216,38 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__1___boxed), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -11256,54 +11256,54 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7; -x_3 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1(x_2, x_1); +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7; +x_3 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__2(x_1, x_2); +x_3 = l_Std_RBNode_fold___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____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* l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____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) { _start: { lean_object* x_7; -x_7 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); return x_7; } } -lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___lambda__1(x_1, x_2); +x_3 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___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_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3(x_1, x_2, x_3); +x_4 = l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -11311,94 +11311,94 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__6(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__6(x_1, x_2, x_5, x_6); lean_dec(x_2); lean_dec(x_1); x_8 = lean_box(x_7); return x_8; } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2(x_1, x_2, x_3); +x_4 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3___boxed(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__3(x_1); +x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__3(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___boxed(lean_object* x_1) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4(x_1); +x_2 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); return x_10; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); return x_10; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_6); lean_dec(x_6); -x_11 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +x_11 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); return x_11; } } -lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___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_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8(x_1, x_2, x_3, x_4); +x_5 = l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____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* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__3(x_1, x_2, x_3); +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__3(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -11714,7 +11714,7 @@ x_7 = lean_nat_add(x_3, x_4); x_8 = lean_unsigned_to_nat(2u); x_9 = lean_nat_div(x_7, x_8); lean_dec(x_7); -x_10 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1; +x_10 = l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1; x_11 = lean_array_get(x_10, x_1, x_9); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -12213,100 +12213,100 @@ l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__12 = _init_l_Lean_Meta_Attr lean_mark_persistent(l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__12); l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__13 = _init_l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__13(); lean_mark_persistent(l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__13); -l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1 = _init_l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1(); -lean_mark_persistent(l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__4___closed__1); -l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1 = _init_l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1(); -lean_mark_persistent(l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__3___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___lambda__2___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__1); -l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2(); -lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__5___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__1); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__3); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__4); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__5); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__4___closed__6); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__1); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__3); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__6___closed__4); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__1); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__7___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__1); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___lambda__8___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__1); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__2); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__3); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__4); -l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5(); -lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____spec__1___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__14); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__15); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____lambda__2___closed__16); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342____closed__7); +l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1 = _init_l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1(); +lean_mark_persistent(l_Array_qpartition_loop___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__4___closed__1); +l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1 = _init_l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1(); +lean_mark_persistent(l_Array_qsort_sort___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__3___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___lambda__2___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__1); +l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2 = _init_l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2(); +lean_mark_persistent(l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__5___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__1); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__3); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__4); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__5); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__4___closed__6); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__1); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__3); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__6___closed__4); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__1); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__7___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__1); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___lambda__8___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__1); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__2); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__3); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__4); +l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5 = _init_l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5(); +lean_mark_persistent(l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____spec__1___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__14); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__15); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____lambda__2___closed__16); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354____closed__7); l_Lean_Meta_recursorAttribute___lambda__1___closed__1 = _init_l_Lean_Meta_recursorAttribute___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_recursorAttribute___lambda__1___closed__1); l_Lean_Meta_recursorAttribute___lambda__1___closed__2 = _init_l_Lean_Meta_recursorAttribute___lambda__1___closed__2(); @@ -12338,7 +12338,7 @@ l_Lean_Meta_recursorAttribute___closed__11 = _init_l_Lean_Meta_recursorAttribute lean_mark_persistent(l_Lean_Meta_recursorAttribute___closed__11); l_Lean_Meta_recursorAttribute___closed__12 = _init_l_Lean_Meta_recursorAttribute___closed__12(); lean_mark_persistent(l_Lean_Meta_recursorAttribute___closed__12); -res = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2342_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2354_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_recursorAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_recursorAttribute); diff --git a/stage0/stdlib/Lean/Meta/SizeOf.c b/stage0/stdlib/Lean/Meta/SizeOf.c index 88b0d6b15a..37ca66467f 100644 --- a/stage0/stdlib/Lean/Meta/SizeOf.c +++ b/stage0/stdlib/Lean/Meta/SizeOf.c @@ -13,21 +13,25 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_mkSizeOfSpecLemmaInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__2; +static lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1; size_t l_USize_add(size_t, size_t); lean_object* l_List_tail_x21___rarg(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkSizeOfFn___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*); +lean_object* l_Lean_Meta_mkSizeOfFn___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*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop_match__3___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__2; lean_object* l_Lean_Meta_mkSizeOfInstances_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___boxed(lean_object**); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,6 +48,7 @@ uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___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_Array_contains___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSizeOfInstances_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -52,35 +57,36 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorP lean_object* l_List_mapM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfFns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__1; 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*); +static lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2; +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf_match__1(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2; -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3; +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___boxed(lean_object**); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4; lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected(lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); @@ -100,6 +106,8 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___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_string_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1; +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1; lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_match__2(lean_object*); @@ -111,7 +119,6 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___lambda__ lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg___closed__1; lean_object* l_Lean_Expr_appArg_x21(lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -122,7 +129,6 @@ lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lea lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___closed__1; -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6; extern lean_object* l_Lean_levelZero; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6___lambda__1___closed__1; @@ -133,7 +139,7 @@ lean_object* l_Lean_Meta_SizeOfSpecNested_main_step(lean_object*, lean_object*, lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___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_SizeOfSpecNested_throwFailed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__7; static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__3; static lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg___closed__2; @@ -142,28 +148,26 @@ static lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3___close static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__4; lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSizeOfFns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1; lean_object* l_Lean_throwKernelException___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1; lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_match__1(lean_object*); lean_object* l_Lean_getConstInfoInduct___at_Lean_Meta_mkSizeOfFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_genSizeOfSpec; static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_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*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_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*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_mkSizeOfSpecLemmaInstance___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__3; lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* l_Lean_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8; lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -171,13 +175,17 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOf static lean_object* l_Lean_Meta_mkSizeOfFns___closed__3; lean_object* l_Lean_Meta_mkSizeOfInstances_match__2(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5___boxed(lean_object**); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives(lean_object*); +lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6___lambda__1___closed__2; static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__2; +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg___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_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___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_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__3; lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,12 +194,13 @@ uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isIn lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3; lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__1; @@ -199,11 +208,14 @@ static lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3___close lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(lean_object*); @@ -211,7 +223,7 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives___rarg(le 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_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_natAdd_x3f(lean_object*); @@ -233,12 +245,13 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat static lean_object* l_Lean_Meta_mkSizeOfFn___closed__2; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf___closed__2; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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_instInhabitedExpr; lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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*); -static lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1; -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___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*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2; static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2; +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___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*); @@ -248,11 +261,12 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSynta lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop(lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2; static lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3___closed__3; lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__6; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSizeOfSpecLemmaName___boxed(lean_object*); lean_object* l_Lean_Meta_mkSizeOfFns_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___lambda__2___boxed__const__1; @@ -262,50 +276,53 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSiz lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1___closed__2; static lean_object* l_Lean_Meta_mkSizeOfFn___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf___closed__1; +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___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*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop(lean_object*); static lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg___closed__1; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2; +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_genSizeOf___closed__1; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop___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_throwError___at_Lean_Meta_SizeOfSpecNested_throwUnexpected___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1; lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSizeOfFn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3___boxed(lean_object**); lean_object* l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop_match__2(lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1; lean_object* lean_name_append_after(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6; lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwKernelException___at_Lean_Meta_mkSizeOfFn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__3; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__5; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__5(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* l_Lean_Meta_mkSizeOfFn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___rarg___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); @@ -313,6 +330,7 @@ lean_object* l_Lean_Meta_genSizeOf; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__1; +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___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_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -322,9 +340,9 @@ lean_object* l_Lean_Meta_mkSizeOfFn(lean_object*, lean_object*, lean_object*, le static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__5___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_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__7(lean_object*); @@ -334,10 +352,10 @@ lean_object* l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___boxed(lean_obj lean_object* l_Lean_Meta_unfoldDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma_match__1(lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSizeOfFn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f_match__2(lean_object*); lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3(lean_object*); static lean_object* l_Lean_Meta_mkSizeOfFns___closed__1; @@ -370,14 +388,12 @@ lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorP static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__2; lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___closed__1; -static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10; static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__1; lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed(lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__8; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_SizeOfSpecNested_throwUnexpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -389,27 +405,28 @@ lean_object* l_Lean_Meta_mkSizeOfFns(lean_object*, lean_object*, lean_object*, l lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4925_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_5332_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889_(lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_SizeOfSpecNested_throwFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSizeOfFns_match__1(lean_object*); lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4; -lean_object* l_Lean_Meta_mkSizeOfFn___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___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1(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* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__1; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__1; lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5; static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7; lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__2; @@ -425,6 +442,7 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_M lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__4; lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop_match__3(lean_object*); static lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__2; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -432,7 +450,7 @@ static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaName___closed__2; lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorems___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__2; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaName___closed__1; lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__1; @@ -450,7 +468,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg___closed__3; static lean_object* l_Lean_getConstInfoInduct___at_Lean_Meta_mkSizeOfFns___spec__1___closed__1; -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed(lean_object**); +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof_match__1(lean_object*); lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1951,6 +1969,18 @@ x_11 = l_Lean_Meta_mkLambdaFVars(x_1, x_8, x_9, x_10, x_3, x_4, x_5, x_6, x_7); return x_11; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_1, x_12); +x_14 = lean_array_push(x_2, x_3); +x_15 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg(x_4, x_5, x_13, x_14, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_13); +return x_15; +} +} static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__1() { _start: { @@ -2039,7 +2069,6 @@ lean_dec(x_10); if (x_11 == 0) { lean_object* x_12; -lean_dec(x_3); x_12 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } @@ -2069,151 +2098,140 @@ lean_inc(x_5); x_19 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_16, x_18, x_5, x_6, x_7, x_8, x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); -x_22 = lean_st_ref_get(x_8, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_23, 3); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*1); -lean_dec(x_24); -if (x_25 == 0) +x_22 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_37 = lean_st_ref_get(x_8, x_21); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_3, x_27); -lean_dec(x_3); -x_29 = lean_array_push(x_4, x_20); -x_3 = x_28; -x_4 = x_29; -x_9 = x_26; -goto _start; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_dec(x_22); -x_32 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_33 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_32, x_5, x_6, x_7, x_8, x_31); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_unbox(x_34); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_add(x_3, x_37); -lean_dec(x_3); -x_39 = lean_array_push(x_4, x_20); -x_3 = x_38; -x_4 = x_39; -x_9 = x_36; -goto _start; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_41 = lean_ctor_get(x_33, 1); +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); lean_inc(x_41); -lean_dec(x_33); +lean_dec(x_37); +x_42 = 0; +x_23 = x_42; +x_24 = x_41; +goto block_36; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_22, x_5, x_6, x_7, x_8, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_23 = x_47; +x_24 = x_46; +goto block_36; +} +block_36: +{ +if (x_23 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__2(x_3, x_4, x_20, x_1, x_2, x_25, x_5, x_6, x_7, x_8, x_24); +return x_26; +} +else +{ +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_inc(x_20); -x_42 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_42, 0, x_20); -x_43 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__7; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_32, x_46, x_5, x_6, x_7, x_8, x_41); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_unsigned_to_nat(1u); -x_50 = lean_nat_add(x_3, x_49); -lean_dec(x_3); -x_51 = lean_array_push(x_4, x_20); -x_3 = x_50; -x_4 = x_51; -x_9 = x_48; -goto _start; +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_20); +x_28 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__7; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_22, x_31, x_5, x_6, x_7, x_8, x_24); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__2(x_3, x_4, x_20, x_1, x_2, x_33, x_5, x_6, x_7, x_8, x_34); +lean_dec(x_33); +return x_35; } } } else { -uint8_t x_53; +uint8_t 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); -x_53 = !lean_is_exclusive(x_19); -if (x_53 == 0) +x_48 = !lean_is_exclusive(x_19); +if (x_48 == 0) { return x_19; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_19, 0); -x_55 = lean_ctor_get(x_19, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_19, 0); +x_50 = lean_ctor_get(x_19, 1); +lean_inc(x_50); +lean_inc(x_49); lean_dec(x_19); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +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 { -uint8_t x_57; +uint8_t x_52; 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_57 = !lean_is_exclusive(x_15); -if (x_57 == 0) +x_52 = !lean_is_exclusive(x_15); +if (x_52 == 0) { return x_15; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_15, 0); -x_59 = lean_ctor_get(x_15, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_15, 0); +x_54 = lean_ctor_get(x_15, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_15); -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; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } @@ -2239,11 +2257,23 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +return x_12; +} +} lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___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) { _start: { lean_object* x_10; x_10 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); lean_dec(x_1); return x_10; } @@ -3746,7 +3776,18 @@ goto _start; } } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_1, x_14); +x_16 = lean_array_push(x_2, x_3); +x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg(x_4, x_5, x_6, x_7, x_15, x_16, x_9, x_10, x_11, x_12, x_13); +return x_17; +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -3754,16 +3795,16 @@ x_1 = lean_mk_string("minor: "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -3814,85 +3855,87 @@ lean_inc(x_11); x_33 = l_Lean_Meta_mkLambdaFVars(x_9, x_30, x_31, x_32, x_11, x_12, x_13, x_14, x_29); if (lean_obj_tag(x_33) == 0) { -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_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = lean_st_ref_get(x_14, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_37, 3); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); -lean_dec(x_38); -if (x_39 == 0) +x_36 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_51 = lean_st_ref_get(x_14, x_35); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -lean_dec(x_36); -x_41 = lean_nat_add(x_4, x_17); -x_42 = lean_array_push(x_5, x_34); -x_43 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg(x_2, x_6, x_7, x_8, x_41, x_42, x_11, x_12, x_13, x_14, x_40); -return x_43; +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_37 = x_31; +x_38 = x_55; +goto block_50; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_44 = lean_ctor_get(x_36, 1); -lean_inc(x_44); -lean_dec(x_36); -x_45 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_45, x_11, x_12, x_13, x_14, x_44); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_36, x_11, x_12, x_13, x_14, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_unbox(x_58); +lean_dec(x_58); +x_37 = x_60; +x_38 = x_59; +goto block_50; +} +block_50: +{ +if (x_37 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_box(0); +x_40 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(x_4, x_5, x_34, x_2, x_6, x_7, x_8, x_39, x_11, x_12, x_13, x_14, x_38); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_inc(x_34); +x_41 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_41, 0, x_34); +x_42 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_36, x_45, x_11, x_12, x_13, x_14, x_38); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -x_48 = lean_unbox(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(x_4, x_5, x_34, x_2, x_6, x_7, x_8, x_47, x_11, x_12, x_13, x_14, x_48); lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_nat_add(x_4, x_17); -x_51 = lean_array_push(x_5, x_34); -x_52 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg(x_2, x_6, x_7, x_8, x_50, x_51, x_11, x_12, x_13, x_14, x_49); -return x_52; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_53 = lean_ctor_get(x_46, 1); -lean_inc(x_53); -lean_dec(x_46); -lean_inc(x_34); -x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_34); -x_55 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_45, x_58, x_11, x_12, x_13, x_14, x_53); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_nat_add(x_4, x_17); -x_62 = lean_array_push(x_5, x_34); -x_63 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg(x_2, x_6, x_7, x_8, x_61, x_62, x_11, x_12, x_13, x_14, x_60); -return x_63; +return x_49; } } } else { -uint8_t x_64; +uint8_t x_61; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3902,29 +3945,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_64 = !lean_is_exclusive(x_33); -if (x_64 == 0) +x_61 = !lean_is_exclusive(x_33); +if (x_61 == 0) { return x_33; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_33, 0); -x_66 = lean_ctor_get(x_33, 1); -lean_inc(x_66); -lean_inc(x_65); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_33, 0); +x_63 = lean_ctor_get(x_33, 1); +lean_inc(x_63); +lean_inc(x_62); lean_dec(x_33); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +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; } } } else { -uint8_t x_68; +uint8_t x_65; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3935,29 +3978,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_68 = !lean_is_exclusive(x_27); -if (x_68 == 0) +x_65 = !lean_is_exclusive(x_27); +if (x_65 == 0) { return x_27; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_27, 0); -x_70 = lean_ctor_get(x_27, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_27, 0); +x_67 = lean_ctor_get(x_27, 1); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_27); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -uint8_t x_72; +uint8_t x_69; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3968,28 +4011,28 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_72 = !lean_is_exclusive(x_18); -if (x_72 == 0) +x_69 = !lean_is_exclusive(x_18); +if (x_69 == 0) { return x_18; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_18, 0); -x_74 = lean_ctor_get(x_18, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_18, 0); +x_71 = lean_ctor_get(x_18, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_18); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -4012,7 +4055,7 @@ x_19 = lean_array_get_size(x_7); lean_inc(x_19); x_20 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___boxed), 15, 8); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___boxed), 15, 8); lean_closure_set(x_21, 0, x_19); lean_closure_set(x_21, 1, x_3); lean_closure_set(x_21, 2, x_7); @@ -4094,7 +4137,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___boxed), 13, 6); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3___boxed), 13, 6); lean_closure_set(x_20, 0, x_3); lean_closure_set(x_20, 1, x_5); lean_closure_set(x_20, 2, x_1); @@ -4162,11 +4205,21 @@ lean_dec(x_2); return x_15; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(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_8); +lean_dec(x_1); +return x_14; +} +} +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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, x_14, x_15); lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); @@ -4174,11 +4227,11 @@ lean_dec(x_1); return x_16; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___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); +x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3(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_8); return x_14; } @@ -4496,7 +4549,70 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1() { +lean_object* l_Lean_Meta_mkSizeOfFn___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: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = 0; +x_13 = 1; +lean_inc(x_7); +x_14 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_3); +lean_ctor_set(x_17, 1, x_4); +lean_ctor_set(x_17, 2, x_5); +x_18 = lean_box(1); +x_19 = 1; +x_20 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_15); +lean_ctor_set(x_20, 2, x_18); +lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_19); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3(x_21, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_7); +lean_dec(x_21); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +return x_14; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_14); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -4504,16 +4620,16 @@ x_1 = lean_mk_string("val: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1; +x_1 = l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_mkSizeOfFn___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Meta_mkSizeOfFn___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, lean_object* x_14, lean_object* x_15) { _start: { 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; uint8_t x_23; lean_object* x_24; @@ -4530,7 +4646,7 @@ lean_inc(x_21); x_24 = l_Lean_Meta_mkForallFVars(x_21, x_5, x_22, x_23, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -4542,134 +4658,82 @@ x_28 = l_Array_append___rarg(x_27, x_20); lean_dec(x_20); x_29 = l_Lean_mkAppN(x_6, x_28); lean_dec(x_28); -x_45 = lean_st_ref_get(x_14, x_26); -x_46 = lean_ctor_get(x_45, 0); +x_44 = lean_st_ref_get(x_14, x_26); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_45, 3); lean_inc(x_46); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); +lean_dec(x_45); +x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*1); lean_dec(x_46); -x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*1); -lean_dec(x_47); -if (x_48 == 0) +if (x_47 == 0) { -lean_object* x_49; -lean_dec(x_9); -x_49 = lean_ctor_get(x_45, 1); +lean_object* x_48; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +x_30 = x_22; +x_31 = x_48; +goto block_43; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_44, 1); lean_inc(x_49); -lean_dec(x_45); -x_30 = x_49; -goto block_44; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_dec(x_45); +lean_dec(x_44); lean_inc(x_9); -x_51 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_11, x_12, x_13, x_14, x_50); -x_52 = lean_ctor_get(x_51, 0); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_11, x_12, x_13, x_14, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -x_53 = lean_unbox(x_52); -lean_dec(x_52); -if (x_53 == 0) +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_30 = x_53; +x_31 = x_52; +goto block_43; +} +block_43: { -lean_object* x_54; +if (x_30 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_dec(x_9); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_30 = x_54; -goto block_44; +x_32 = lean_box(0); +x_33 = l_Lean_Meta_mkSizeOfFn___lambda__1(x_21, x_29, x_7, x_8, x_25, x_32, x_11, x_12, x_13, x_14, x_31); +return x_33; } 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; lean_object* x_61; lean_object* x_62; -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); +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_inc(x_29); -x_56 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_56, 0, x_29); -x_57 = l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_60, x_11, x_12, x_13, x_14, x_55); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_30 = x_62; -goto block_44; -} -} -block_44: -{ -lean_object* x_31; -lean_inc(x_11); -x_31 = l_Lean_Meta_mkLambdaFVars(x_21, x_29, x_22, x_23, x_11, x_12, x_13, x_14, 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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -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 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_7); -lean_ctor_set(x_34, 1, x_8); -lean_ctor_set(x_34, 2, x_25); -x_35 = lean_box(1); -x_36 = 1; -x_37 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_32); -lean_ctor_set(x_37, 2, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*3, x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3(x_38, x_11, x_12, x_13, x_14, x_33); -lean_dec(x_11); -lean_dec(x_38); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_25); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -x_40 = !lean_is_exclusive(x_31); -if (x_40 == 0) -{ -return x_31; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_31, 0); -x_42 = lean_ctor_get(x_31, 1); -lean_inc(x_42); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_29); +x_35 = l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_9, x_38, x_11, x_12, x_13, x_14, x_31); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -lean_dec(x_31); -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; -} +lean_dec(x_39); +x_42 = l_Lean_Meta_mkSizeOfFn___lambda__1(x_21, x_29, x_7, x_8, x_25, x_40, x_11, x_12, x_13, x_14, x_41); +lean_dec(x_40); +return x_42; } } } else { -uint8_t x_63; +uint8_t x_54; lean_dec(x_21); lean_dec(x_20); lean_dec(x_17); @@ -4680,33 +4744,33 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_63 = !lean_is_exclusive(x_24); -if (x_63 == 0) +x_54 = !lean_is_exclusive(x_24); +if (x_54 == 0) { return x_24; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_24, 0); -x_65 = lean_ctor_get(x_24, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_24, 0); +x_56 = lean_ctor_get(x_24, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_24); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } -lean_object* l_Lean_Meta_mkSizeOfFn___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { _start: { lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = l_Array_ofSubarray___rarg(x_1); -x_20 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__1___boxed), 15, 9); +x_20 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__2___boxed), 15, 9); lean_closure_set(x_20, 0, x_2); lean_closure_set(x_20, 1, x_3); lean_closure_set(x_20, 2, x_4); @@ -4720,7 +4784,7 @@ x_21 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg(x_11, x_1 return x_21; } } -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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* l_Lean_Meta_mkSizeOfFn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* 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) { _start: { 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; @@ -4751,7 +4815,7 @@ lean_inc(x_27); lean_dec(x_25); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_4); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__2___boxed), 18, 11); +x_29 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__3___boxed), 18, 11); lean_closure_set(x_29, 0, x_5); lean_closure_set(x_29, 1, x_3); lean_closure_set(x_29, 2, x_6); @@ -4806,13 +4870,13 @@ return x_34; } } } -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* 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* l_Lean_Meta_mkSizeOfFn___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = l_Array_ofSubarray___rarg(x_1); lean_inc(x_18); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__3___boxed), 18, 12); +x_19 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__4___boxed), 18, 12); lean_closure_set(x_19, 0, x_2); lean_closure_set(x_19, 1, x_3); lean_closure_set(x_19, 2, x_4); @@ -4830,7 +4894,7 @@ lean_dec(x_18); return x_20; } } -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; @@ -4871,7 +4935,7 @@ x_32 = l_Array_ofSubarray___rarg(x_17); lean_dec(x_17); x_33 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__3; lean_inc(x_32); -x_34 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__4___boxed), 17, 11); +x_34 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__5___boxed), 17, 11); lean_closure_set(x_34, 0, x_20); lean_closure_set(x_34, 1, x_14); lean_closure_set(x_34, 2, x_3); @@ -4887,6 +4951,64 @@ x_35 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___rarg(x_32, x return x_35; } } +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_1); +x_10 = l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___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; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__6___boxed), 12, 5); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_11); +lean_closure_set(x_15, 2, x_1); +lean_closure_set(x_15, 3, x_2); +lean_closure_set(x_15, 4, x_3); +x_16 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_14, x_15, x_5, x_6, x_7, x_8, x_12); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +return x_10; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +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; +} +} +} +} static lean_object* _init_l_Lean_Meta_mkSizeOfFn___closed__1() { _start: { @@ -4907,124 +5029,77 @@ return x_2; lean_object* l_Lean_Meta_mkSizeOfFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_st_ref_get(x_6, x_7); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_23, 3); +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_8 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_23 = lean_st_ref_get(x_6, x_7); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*1); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); lean_dec(x_24); -if (x_25 == 0) +x_26 = lean_ctor_get_uint8(x_25, sizeof(void*)*1); +lean_dec(x_25); +if (x_26 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_8 = x_26; -goto block_21; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_22, 1); +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_23, 1); lean_inc(x_27); -lean_dec(x_22); -x_28 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_29 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_28, x_3, x_4, x_5, x_6, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) +lean_dec(x_23); +x_28 = 0; +x_9 = x_28; +x_10 = x_27; +goto block_22; +} +else { -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +x_30 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_3, x_4, x_5, x_6, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -lean_dec(x_29); -x_8 = x_32; -goto block_21; +lean_dec(x_30); +x_33 = lean_unbox(x_31); +lean_dec(x_31); +x_9 = x_33; +x_10 = x_32; +goto block_22; +} +block_22: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_mkSizeOfFn___lambda__7(x_1, x_2, x_8, x_11, x_3, x_4, x_5, x_6, x_10); +return x_12; } 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; lean_object* x_40; -x_33 = lean_ctor_get(x_29, 1); -lean_inc(x_33); -lean_dec(x_29); +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_inc(x_1); -x_34 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_34, 0, x_1); -x_35 = l_Lean_Meta_mkSizeOfFn___closed__2; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_28, x_38, x_3, x_4, x_5, x_6, x_33); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_8 = x_40; -goto block_21; -} -} -block_21: -{ -lean_object* x_9; -lean_inc(x_1); -x_9 = l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1(x_1, x_3, x_4, x_5, x_6, x_8); -if (lean_obj_tag(x_9) == 0) -{ -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_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 2); -lean_inc(x_13); -x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_15 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lambda__5___boxed), 12, 5); -lean_closure_set(x_15, 0, x_12); -lean_closure_set(x_15, 1, x_10); -lean_closure_set(x_15, 2, x_1); -lean_closure_set(x_15, 3, x_2); -lean_closure_set(x_15, 4, x_14); -x_16 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_13, x_15, x_3, x_4, x_5, x_6, x_11); -return x_16; -} -else -{ -uint8_t x_17; -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_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); +x_13 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l_Lean_Meta_mkSizeOfFn___closed__2; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_17, x_3, x_4, x_5, x_6, x_10); +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -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; -} +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Meta_mkSizeOfFn___lambda__7(x_1, x_2, x_8, x_19, x_3, x_4, x_5, x_6, x_20); +lean_dec(x_19); +return x_21; } } } @@ -5076,11 +5151,22 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_mkSizeOfFn___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Meta_mkSizeOfFn___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_Lean_Meta_mkSizeOfFn___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_10); +lean_dec(x_8); +lean_dec(x_6); +return x_12; +} +} +lean_object* l_Lean_Meta_mkSizeOfFn___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, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Lean_Meta_mkSizeOfFn___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Lean_Meta_mkSizeOfFn___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, x_14, x_15); lean_dec(x_14); lean_dec(x_12); lean_dec(x_3); @@ -5088,34 +5174,6 @@ lean_dec(x_2); return x_16; } } -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -lean_object* x_19; -x_19 = l_Lean_Meta_mkSizeOfFn___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, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_13); -lean_dec(x_1); -return x_19; -} -} lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -5140,6 +5198,7 @@ _start: lean_object* x_19; x_19 = l_Lean_Meta_mkSizeOfFn___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_13); +lean_dec(x_1); return x_19; } } @@ -5161,24 +5220,60 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Lean_Meta_mkSizeOfFn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_19; +} +} +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_Meta_mkSizeOfFn___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Lean_Meta_mkSizeOfFn___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_1); return x_18; } } -lean_object* l_Lean_Meta_mkSizeOfFn___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_mkSizeOfFn___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_mkSizeOfFn___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); lean_dec(x_1); return x_13; } } +lean_object* l_Lean_Meta_mkSizeOfFn___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_mkSizeOfFn___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} lean_object* l_Lean_Meta_mkSizeOfFns_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -6294,7 +6389,7 @@ x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_18, x_2, x_3, x_4, x_5, x_11); +x_19 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_18, x_2, x_3, x_4, x_5, x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -6455,7 +6550,7 @@ x_68 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_69, x_2, x_3, x_4, x_5, x_11); +x_70 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_69, x_2, x_3, x_4, x_5, x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -6477,7 +6572,7 @@ x_74 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_75, x_2, x_3, x_4, x_5, x_6); +x_76 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_75, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -7784,25 +7879,7 @@ lean_ctor_set(x_11, 1, x_7); return x_11; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("minor"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -7810,16 +7887,16 @@ x_1 = lean_mk_string("expected 'Nat.add' application, lhs is "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -7827,16 +7904,16 @@ x_1 = lean_mk_string("\nrhs is"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -7844,95 +7921,37 @@ x_1 = lean_mk_string("add"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__2; -x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7; +x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8; +x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10() { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___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_1; -x_1 = lean_mk_string(" =?= "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof(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_87; lean_object* x_88; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_101 = lean_st_ref_get(x_8, x_9); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_102, 3); -lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_ctor_get_uint8(x_103, sizeof(void*)*1); -lean_dec(x_103); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_101, 1); -lean_inc(x_105); -lean_dec(x_101); -x_106 = 0; -x_87 = x_106; -x_88 = x_105; -goto block_100; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_dec(x_101); -x_108 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2; -x_109 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_108, x_4, x_5, x_6, x_7, x_8, x_107); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_unbox(x_110); -lean_dec(x_110); -x_87 = x_112; -x_88 = x_111; -goto block_100; -} -block_86: -{ lean_object* x_11; +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); lean_inc(x_2); -x_11 = l_Lean_Meta_isExprDefEq(x_2, x_3, x_5, x_6, x_7, x_8, x_10); +lean_inc(x_1); +x_11 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; uint8_t x_13; @@ -7946,12 +7965,12 @@ lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); lean_dec(x_11); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_15 = l_Lean_Meta_whnfI(x_2, x_5, x_6, x_7, x_8, x_14); +lean_inc(x_1); +x_15 = l_Lean_Meta_whnfI(x_1, x_6, x_7, x_8, x_9, x_14); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -7960,12 +7979,12 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -x_18 = l_Lean_Meta_whnfI(x_3, x_5, x_6, x_7, x_8, x_17); +lean_inc(x_2); +x_18 = l_Lean_Meta_whnfI(x_2, x_6, x_7, x_8, x_9, x_17); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -7980,16 +7999,16 @@ if (lean_obj_tag(x_21) == 0) { 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_dec(x_19); -x_22 = l_Lean_indentExpr(x_2); -x_23 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_22 = l_Lean_indentExpr(x_1); +x_23 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6; +x_25 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_indentExpr(x_3); +x_27 = l_Lean_indentExpr(x_2); x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -7997,12 +8016,12 @@ x_29 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_30, x_4, x_5, x_6, x_7, x_8, x_20); +x_31 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_30, x_5, x_6, x_7, x_8, x_9, x_20); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_31; } else @@ -8017,16 +8036,16 @@ if (lean_obj_tag(x_33) == 0) { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_dec(x_32); -x_34 = l_Lean_indentExpr(x_2); -x_35 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_34 = l_Lean_indentExpr(x_1); +x_35 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2; x_36 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); -x_37 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6; +x_37 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4; x_38 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_38, 0, x_36); lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_indentExpr(x_3); +x_39 = l_Lean_indentExpr(x_2); x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); @@ -8034,19 +8053,19 @@ x_41 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_42, x_4, x_5, x_6, x_7, x_8, x_20); +x_43 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_42, x_5, x_6, x_7, x_8, x_9, x_20); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_43; } else { 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_dec(x_3); lean_dec(x_2); +lean_dec(x_1); x_44 = lean_ctor_get(x_33, 0); lean_inc(x_44); lean_dec(x_33); @@ -8060,12 +8079,12 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_44, 1); lean_inc(x_48); lean_dec(x_44); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_49 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof(x_1, x_45, x_47, x_4, x_5, x_6, x_7, x_8, x_20); +x_49 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof(x_3, x_45, x_47, x_5, x_6, x_7, x_8, x_9, x_20); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; @@ -8074,11 +8093,11 @@ lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); lean_dec(x_49); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_52 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep(x_1, x_46, x_48, x_4, x_5, x_6, x_7, x_8, x_51); +x_52 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep(x_3, x_46, x_48, x_5, x_6, x_7, x_8, x_9, x_51); if (lean_obj_tag(x_52) == 0) { lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; @@ -8087,12 +8106,12 @@ lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9; +x_55 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7; +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_56 = l_Lean_Meta_mkCongrArg(x_55, x_50, x_5, x_6, x_7, x_8, x_54); +x_56 = l_Lean_Meta_mkCongrArg(x_55, x_50, x_6, x_7, x_8, x_9, x_54); if (lean_obj_tag(x_56) == 0) { lean_object* x_57; lean_object* x_58; lean_object* x_59; @@ -8101,17 +8120,17 @@ lean_inc(x_57); x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); lean_dec(x_56); -x_59 = l_Lean_Meta_mkCongr(x_57, x_53, x_5, x_6, x_7, x_8, x_58); +x_59 = l_Lean_Meta_mkCongr(x_57, x_53, x_6, x_7, x_8, x_9, x_58); return x_59; } else { uint8_t x_60; lean_dec(x_53); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); x_60 = !lean_is_exclusive(x_56); if (x_60 == 0) { @@ -8136,10 +8155,10 @@ else { uint8_t x_64; lean_dec(x_50); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); x_64 = !lean_is_exclusive(x_52); if (x_64 == 0) { @@ -8165,11 +8184,11 @@ else uint8_t x_68; lean_dec(x_48); lean_dec(x_46); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_68 = !lean_is_exclusive(x_49); if (x_68 == 0) { @@ -8196,13 +8215,13 @@ else { uint8_t x_72; lean_dec(x_16); +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); lean_dec(x_2); +lean_dec(x_1); x_72 = !lean_is_exclusive(x_18); if (x_72 == 0) { @@ -8226,13 +8245,13 @@ return x_75; else { uint8_t x_76; +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); lean_dec(x_2); +lean_dec(x_1); x_76 = !lean_is_exclusive(x_15); if (x_76 == 0) { @@ -8256,25 +8275,25 @@ return x_79; else { lean_object* x_80; lean_object* x_81; -lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_1); x_80 = lean_ctor_get(x_11, 1); lean_inc(x_80); lean_dec(x_11); -x_81 = l_Lean_Meta_mkEqRefl(x_3, x_5, x_6, x_7, x_8, x_80); +x_81 = l_Lean_Meta_mkEqRefl(x_2, x_6, x_7, x_8, x_9, x_80); return x_81; } } else { uint8_t x_82; +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); lean_dec(x_2); +lean_dec(x_1); x_82 = !lean_is_exclusive(x_11); if (x_82 == 0) { @@ -8295,43 +8314,125 @@ return x_85; } } } -block_100: +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1() { +_start: { -if (x_87 == 0) +lean_object* x_1; +x_1 = lean_mk_string("minor"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2() { +_start: { -x_10 = x_88; -goto block_86; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" =?= "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof(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_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_10 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2; +x_28 = lean_st_ref_get(x_8, x_9); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 3); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_ctor_get_uint8(x_30, sizeof(void*)*1); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = 0; +x_11 = x_33; +x_12 = x_32; +goto block_27; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_dec(x_28); +x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_10, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_unbox(x_36); +lean_dec(x_36); +x_11 = x_38; +x_12 = x_37; +goto block_27; +} +block_27: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1(x_2, x_3, x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_12); +return x_14; +} +else +{ +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_inc(x_2); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_2); -x_90 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_91 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11; -x_93 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_2); +x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); lean_inc(x_3); -x_94 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_94, 0, x_3); -x_95 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_90); -x_97 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2; -x_98 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_97, x_96, x_4, x_5, x_6, x_7, x_8, x_88); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_10 = x_99; -goto block_86; +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_3); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_16); +x_23 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_10, x_22, x_4, x_5, x_6, x_7, x_8, x_12); +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 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1(x_2, x_3, x_1, x_24, x_4, x_5, x_6, x_7, x_8, x_25); +lean_dec(x_24); +return x_26; } } } @@ -8520,6 +8621,151 @@ x_10 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLem return x_10; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_11 = l_Lean_Meta_mkEq(x_1, x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +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_array_get_size(x_3); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___closed__1; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___spec__1(x_12, x_17, x_3, x_15, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec(x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_21); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_18, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_25); +return x_18; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +lean_dec(x_18); +x_27 = lean_ctor_get(x_20, 0); +lean_inc(x_27); +lean_dec(x_20); +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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_18); +if (x_29 == 0) +{ +return x_18; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_18, 0); +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_18); +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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_11); +if (x_33 == 0) +{ +return x_11; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_11, 0); +x_35 = lean_ctor_get(x_11, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_11); +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; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__1() { _start: { @@ -8566,277 +8812,138 @@ lean_inc(x_4); x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf(x_2, x_4, x_5, x_6, x_7, x_8, x_13); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_45; lean_object* x_46; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_59 = lean_st_ref_get(x_8, x_16); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_60, 3); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); -lean_dec(x_61); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_59, 1); -lean_inc(x_63); -lean_dec(x_59); -x_64 = 0; -x_45 = x_64; -x_46 = x_63; -goto block_58; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_65 = lean_ctor_get(x_59, 1); -lean_inc(x_65); -lean_dec(x_59); -x_66 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2; -x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_66, x_4, x_5, x_6, x_7, x_8, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_unbox(x_68); -lean_dec(x_68); -x_45 = x_70; -x_46 = x_69; -goto block_58; -} -block_44: -{ -lean_object* x_18; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_15); -x_18 = l_Lean_Meta_mkEq(x_15, x_3, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_array_get_size(x_1); -x_22 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_23 = 0; -x_24 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___closed__1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___spec__1(x_19, x_24, x_1, x_22, x_23, x_24, x_4, x_5, x_6, x_7, x_8, x_20); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec(x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_28); -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_15); -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_30 = !lean_is_exclusive(x_25); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_25, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_27, 0); -lean_inc(x_32); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_32); -return x_25; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 1); -lean_inc(x_33); -lean_dec(x_25); -x_34 = lean_ctor_get(x_27, 0); -lean_inc(x_34); -lean_dec(x_27); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_15); -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_36 = !lean_is_exclusive(x_25); -if (x_36 == 0) -{ -return x_25; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_25, 0); -x_38 = lean_ctor_get(x_25, 1); -lean_inc(x_38); +x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2; +x_35 = lean_st_ref_get(x_8, x_16); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_36, 3); lean_inc(x_37); -lean_dec(x_25); -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; -} -} +lean_dec(x_36); +x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = 0; +x_18 = x_40; +x_19 = x_39; +goto block_34; } else { -uint8_t x_40; -lean_dec(x_15); -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_40 = !lean_is_exclusive(x_18); -if (x_40 == 0) -{ -return x_18; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_18, 0); -x_42 = lean_ctor_get(x_18, 1); -lean_inc(x_42); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_35, 1); lean_inc(x_41); -lean_dec(x_18); -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; +lean_dec(x_35); +x_42 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_17, x_4, x_5, x_6, x_7, x_8, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_unbox(x_43); +lean_dec(x_43); +x_18 = x_45; +x_19 = x_44; +goto block_34; } -} -} -block_58: +block_34: { -if (x_45 == 0) +if (x_18 == 0) { -x_17 = x_46; -goto block_44; +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___lambda__2(x_15, x_3, x_1, x_20, x_4, x_5, x_6, x_7, x_8, x_19); +return x_21; } 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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +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_inc(x_15); -x_47 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_47, 0, x_15); -x_48 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_15); +x_23 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); lean_inc(x_3); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_3); -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_48); -x_55 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2; -x_56 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_55, x_54, x_4, x_5, x_6, x_7, x_8, x_46); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_17 = x_57; -goto block_44; +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_3); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_23); +x_30 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_17, x_29, x_4, x_5, x_6, x_7, x_8, x_19); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___lambda__2(x_15, x_3, x_1, x_31, x_4, x_5, x_6, x_7, x_8, x_32); +lean_dec(x_31); +return x_33; } } } else { -uint8_t x_71; +uint8_t x_46; 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_71 = !lean_is_exclusive(x_14); -if (x_71 == 0) +x_46 = !lean_is_exclusive(x_14); +if (x_46 == 0) { return x_14; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_14, 0); -x_73 = lean_ctor_get(x_14, 1); -lean_inc(x_73); -lean_inc(x_72); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_14, 0); +x_48 = lean_ctor_get(x_14, 1); +lean_inc(x_48); +lean_inc(x_47); lean_dec(x_14); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +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; } } } else { -lean_object* x_75; lean_object* x_76; +lean_object* x_50; lean_object* x_51; lean_dec(x_4); lean_dec(x_2); -x_75 = lean_ctor_get(x_10, 1); -lean_inc(x_75); +x_50 = lean_ctor_get(x_10, 1); +lean_inc(x_50); lean_dec(x_10); -x_76 = l_Lean_Meta_mkEqRefl(x_3, x_5, x_6, x_7, x_8, x_75); -return x_76; +x_51 = l_Lean_Meta_mkEqRefl(x_3, x_5, x_6, x_7, x_8, x_50); +return x_51; } } else { -uint8_t x_77; +uint8_t x_52; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8844,23 +8951,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_77 = !lean_is_exclusive(x_10); -if (x_77 == 0) +x_52 = !lean_is_exclusive(x_10); +if (x_52 == 0) { return x_10; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_10, 0); -x_79 = lean_ctor_get(x_10, 1); -lean_inc(x_79); -lean_inc(x_78); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_10, 0); +x_54 = lean_ctor_get(x_10, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_10); -x_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; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } @@ -9303,7 +9410,77 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___priv return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_1); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 2, x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_4); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2(x_16, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_16); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +x_20 = l_Lean_mkConst(x_1, x_5); +x_21 = l_Lean_mkAppN(x_20, x_6); +lean_ctor_set(x_17, 0, x_21); +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = l_Lean_mkConst(x_1, x_5); +x_24 = l_Lean_mkAppN(x_23, x_6); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_5); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +return x_17; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_17); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -9311,16 +9488,16 @@ x_1 = lean_mk_string("thmValue: "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { 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; @@ -9409,156 +9586,98 @@ lean_inc(x_12); x_49 = l_Lean_Meta_mkLambdaFVars(x_32, x_47, x_41, x_42, x_12, x_13, x_14, x_15, x_48); if (lean_obj_tag(x_49) == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; 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); -x_70 = lean_st_ref_get(x_15, x_51); -x_71 = lean_ctor_get(x_70, 0); +x_66 = lean_st_ref_get(x_15, x_51); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_52 = x_41; +x_53 = x_70; +goto block_65; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_71 = lean_ctor_get(x_66, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -lean_dec(x_9); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_52 = x_74; -goto block_69; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); -lean_inc(x_9); -x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_9, x_11, x_12, x_13, x_14, x_15, x_75); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_unbox(x_77); -lean_dec(x_77); -if (x_78 == 0) -{ -lean_object* x_79; -lean_dec(x_9); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_52 = x_79; -goto block_69; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -lean_inc(x_50); -x_81 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_81, 0, x_50); -x_82 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_9, x_85, x_11, x_12, x_13, x_14, x_15, x_80); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_52 = x_87; -goto block_69; -} -} -block_69: -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_66); lean_inc(x_6); -x_53 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_53, 0, x_6); -lean_ctor_set(x_53, 1, x_7); -lean_ctor_set(x_53, 2, x_44); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_50); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2(x_55, x_11, x_12, x_13, x_14, x_15, x_52); +x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_6, x_11, x_12, x_13, x_14, x_15, x_71); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_unbox(x_73); +lean_dec(x_73); +x_52 = x_75; +x_53 = x_74; +goto block_65; +} +block_65: +{ +if (x_52 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_6); +x_54 = lean_box(0); +x_55 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1(x_7, x_8, x_44, x_50, x_9, x_22, x_54, x_11, x_12, x_13, x_14, x_15, x_53); lean_dec(x_15); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_55); -if (lean_obj_tag(x_56) == 0) -{ -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = l_Lean_mkConst(x_6, x_8); -x_60 = l_Lean_mkAppN(x_59, x_22); lean_dec(x_22); -lean_ctor_set(x_56, 0, x_60); -return x_56; +return x_55; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); -lean_dec(x_56); -x_62 = l_Lean_mkConst(x_6, x_8); -x_63 = l_Lean_mkAppN(x_62, x_22); +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_inc(x_50); +x_56 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_56, 0, x_50); +x_57 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_6, x_60, x_11, x_12, x_13, x_14, x_15, x_53); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1(x_7, x_8, x_44, x_50, x_9, x_22, x_62, x_11, x_12, x_13, x_14, x_15, x_63); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_62); lean_dec(x_22); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); return x_64; } } -else -{ -uint8_t x_65; -lean_dec(x_22); -lean_dec(x_8); -lean_dec(x_6); -x_65 = !lean_is_exclusive(x_56); -if (x_65 == 0) -{ -return x_56; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_56, 0); -x_67 = lean_ctor_get(x_56, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_56); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -} -else -{ -uint8_t x_88; +uint8_t x_76; lean_dec(x_44); lean_dec(x_22); lean_dec(x_15); @@ -9570,19 +9689,128 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_88 = !lean_is_exclusive(x_49); -if (x_88 == 0) +x_76 = !lean_is_exclusive(x_49); +if (x_76 == 0) { return x_49; } else { +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_49, 0); +x_78 = lean_ctor_get(x_49, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_49); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_44); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_80 = !lean_is_exclusive(x_46); +if (x_80 == 0) +{ +return x_46; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_46, 0); +x_82 = lean_ctor_get(x_46, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_46); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_84 = !lean_is_exclusive(x_43); +if (x_84 == 0) +{ +return x_43; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_43, 0); +x_86 = lean_ctor_get(x_43, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_43); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_88 = !lean_is_exclusive(x_38); +if (x_88 == 0) +{ +return x_38; +} +else +{ lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_49, 0); -x_90 = lean_ctor_get(x_49, 1); +x_89 = lean_ctor_get(x_38, 0); +x_90 = lean_ctor_get(x_38, 1); lean_inc(x_90); lean_inc(x_89); -lean_dec(x_49); +lean_dec(x_38); x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_89); lean_ctor_set(x_91, 1, x_90); @@ -9593,7 +9821,7 @@ return x_91; else { uint8_t x_92; -lean_dec(x_44); +lean_dec(x_33); lean_dec(x_32); lean_dec(x_22); lean_dec(x_15); @@ -9605,19 +9833,20 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_92 = !lean_is_exclusive(x_46); +lean_dec(x_5); +x_92 = !lean_is_exclusive(x_35); if (x_92 == 0) { -return x_46; +return x_35; } else { lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_46, 0); -x_94 = lean_ctor_get(x_46, 1); +x_93 = lean_ctor_get(x_35, 0); +x_94 = lean_ctor_get(x_35, 1); lean_inc(x_94); lean_inc(x_93); -lean_dec(x_46); +lean_dec(x_35); x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_93); lean_ctor_set(x_95, 1, x_94); @@ -9625,118 +9854,8 @@ return x_95; } } } -else -{ -uint8_t x_96; -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_96 = !lean_is_exclusive(x_43); -if (x_96 == 0) -{ -return x_43; } -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_43, 0); -x_98 = lean_ctor_get(x_43, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_43); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_100 = !lean_is_exclusive(x_38); -if (x_100 == 0) -{ -return x_38; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_38, 0); -x_102 = lean_ctor_get(x_38, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_38); -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 -{ -uint8_t x_104; -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_22); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_104 = !lean_is_exclusive(x_35); -if (x_104 == 0) -{ -return x_35; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_35, 0); -x_106 = lean_ctor_get(x_35, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_35); -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; -} -} -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -9744,22 +9863,22 @@ x_1 = lean_mk_string("x"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1; +x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; x_18 = l_Lean_mkAppN(x_1, x_10); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___boxed), 16, 9); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed), 16, 9); lean_closure_set(x_19, 0, x_2); lean_closure_set(x_19, 1, x_3); lean_closure_set(x_19, 2, x_10); @@ -9769,31 +9888,13 @@ lean_closure_set(x_19, 5, x_6); lean_closure_set(x_19, 6, x_7); lean_closure_set(x_19, 7, x_8); lean_closure_set(x_19, 8, x_9); -x_20 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2; +x_20 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2; x_21 = 0; x_22 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6___rarg(x_20, x_21, x_18, x_19, x_12, x_13, x_14, x_15, x_16, x_17); return x_22; } } -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("aux"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3() { +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -9801,50 +9902,9 @@ x_1 = lean_mk_string("_eq"); return x_1; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; uint8_t x_149; lean_object* x_150; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; -x_163 = lean_st_ref_get(x_7, x_8); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_164, 3); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_ctor_get_uint8(x_165, sizeof(void*)*1); -lean_dec(x_165); -if (x_166 == 0) -{ -lean_object* x_167; uint8_t x_168; -x_167 = lean_ctor_get(x_163, 1); -lean_inc(x_167); -lean_dec(x_163); -x_168 = 0; -x_149 = x_168; -x_150 = x_167; -goto block_162; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; -x_169 = lean_ctor_get(x_163, 1); -lean_inc(x_169); -lean_dec(x_163); -x_170 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2; -x_171 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_170, x_3, x_4, x_5, x_6, x_7, x_169); -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_unbox(x_172); -lean_dec(x_172); -x_149 = x_174; -x_150 = x_173; -goto block_162; -} -block_148: -{ lean_object* x_10; x_10 = l_Lean_Expr_getAppFn(x_1); if (lean_obj_tag(x_10) == 4) @@ -9855,7 +9915,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_inc(x_12); -x_13 = l_List_mapM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_9); +x_13 = l_List_mapM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__1(x_12, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -9864,9 +9924,9 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3; +x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1; x_17 = lean_name_append_after(x_11, x_16); -x_18 = lean_st_ref_get(x_7, x_15); +x_18 = lean_st_ref_get(x_8, x_15); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -9882,11 +9942,11 @@ if (x_23 == 0) lean_object* x_24; lean_object* x_25; lean_free_object(x_18); x_24 = l_Lean_Expr_appArg_x21(x_1); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_25 = l_Lean_Meta_inferType(x_24, x_4, x_5, x_6, x_7, x_21); +x_25 = l_Lean_Meta_inferType(x_24, x_5, x_6, x_7, x_8, x_21); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -9895,11 +9955,11 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_28 = l_Lean_Meta_whnf(x_26, x_4, x_5, x_6, x_7, x_27); +x_28 = l_Lean_Meta_whnf(x_26, x_5, x_6, x_7, x_8, x_27); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; @@ -9914,7 +9974,7 @@ if (lean_obj_tag(x_31) == 4) lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -x_33 = lean_st_ref_get(x_7, x_30); +x_33 = lean_st_ref_get(x_8, x_30); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); @@ -9933,13 +9993,14 @@ lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +lean_dec(x_2); lean_dec(x_1); -x_38 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_35); +x_38 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_35); +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_38; } else @@ -9970,72 +10031,72 @@ x_50 = l_Array_ofSubarray___rarg(x_49); lean_dec(x_49); x_51 = l_Lean_mkAppN(x_31, x_50); lean_dec(x_50); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_51); -x_52 = l_Lean_Meta_inferType(x_51, x_4, x_5, x_6, x_7, x_35); +x_52 = l_Lean_Meta_inferType(x_51, x_5, x_6, x_7, x_8, x_35); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 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 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_56 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed), 17, 9); -lean_closure_set(x_56, 0, x_51); -lean_closure_set(x_56, 1, x_1); -lean_closure_set(x_56, 2, x_43); -lean_closure_set(x_56, 3, x_10); -lean_closure_set(x_56, 4, x_40); -lean_closure_set(x_56, 5, x_17); -lean_closure_set(x_56, 6, x_14); -lean_closure_set(x_56, 7, x_12); -lean_closure_set(x_56, 8, x_55); -x_57 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg(x_53, x_56, x_3, x_4, x_5, x_6, x_7, x_54); -return x_57; +x_55 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___boxed), 17, 9); +lean_closure_set(x_55, 0, x_51); +lean_closure_set(x_55, 1, x_1); +lean_closure_set(x_55, 2, x_43); +lean_closure_set(x_55, 3, x_10); +lean_closure_set(x_55, 4, x_40); +lean_closure_set(x_55, 5, x_2); +lean_closure_set(x_55, 6, x_17); +lean_closure_set(x_55, 7, x_14); +lean_closure_set(x_55, 8, x_12); +x_56 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg(x_53, x_55, x_4, x_5, x_6, x_7, x_8, x_54); +return x_56; } else { -uint8_t x_58; +uint8_t x_57; lean_dec(x_51); lean_dec(x_40); lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +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_58 = !lean_is_exclusive(x_52); -if (x_58 == 0) +x_57 = !lean_is_exclusive(x_52); +if (x_57 == 0) { return x_52; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_52, 1); -lean_inc(x_60); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_52, 0); +x_59 = lean_ctor_get(x_52, 1); lean_inc(x_59); +lean_inc(x_58); lean_dec(x_52); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +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; } } } else { -lean_object* x_62; +lean_object* x_61; lean_dec(x_39); lean_dec(x_31); lean_dec(x_29); @@ -10043,519 +10104,599 @@ lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +lean_dec(x_2); lean_dec(x_1); -x_62 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_35); +x_61 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_35); +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_62; +return x_61; } } } else { -lean_object* x_63; +lean_object* x_62; lean_dec(x_31); lean_dec(x_29); lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +lean_dec(x_2); lean_dec(x_1); -x_63 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_30); +x_62 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_30); +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_63; +return x_62; } } else { -uint8_t x_64; +uint8_t x_63; lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +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_64 = !lean_is_exclusive(x_28); -if (x_64 == 0) +x_63 = !lean_is_exclusive(x_28); +if (x_63 == 0) { return x_28; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_28, 0); -x_66 = lean_ctor_get(x_28, 1); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_28, 0); +x_65 = lean_ctor_get(x_28, 1); lean_inc(x_65); +lean_inc(x_64); lean_dec(x_28); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } else { -uint8_t x_68; +uint8_t x_67; lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +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_68 = !lean_is_exclusive(x_25); -if (x_68 == 0) +x_67 = !lean_is_exclusive(x_25); +if (x_67 == 0) { return x_25; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_25, 0); -x_70 = lean_ctor_get(x_25, 1); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_25, 0); +x_69 = lean_ctor_get(x_25, 1); lean_inc(x_69); +lean_inc(x_68); lean_dec(x_25); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -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_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_dec(x_14); lean_dec(x_10); +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_72 = l_Lean_mkConst(x_17, x_12); -x_73 = lean_unsigned_to_nat(0u); -x_74 = l_Lean_Expr_getAppNumArgsAux(x_1, x_73); -x_75 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; -lean_inc(x_74); -x_76 = lean_mk_array(x_74, x_75); -x_77 = lean_unsigned_to_nat(1u); -x_78 = lean_nat_sub(x_74, x_77); -lean_dec(x_74); -x_79 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_76, x_78); -x_80 = l_Lean_mkAppN(x_72, x_79); -lean_dec(x_79); -lean_ctor_set(x_18, 0, x_80); +lean_dec(x_2); +x_71 = l_Lean_mkConst(x_17, x_12); +x_72 = lean_unsigned_to_nat(0u); +x_73 = l_Lean_Expr_getAppNumArgsAux(x_1, x_72); +x_74 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; +lean_inc(x_73); +x_75 = lean_mk_array(x_73, x_74); +x_76 = lean_unsigned_to_nat(1u); +x_77 = lean_nat_sub(x_73, x_76); +lean_dec(x_73); +x_78 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_75, x_77); +x_79 = l_Lean_mkAppN(x_71, x_78); +lean_dec(x_78); +lean_ctor_set(x_18, 0, x_79); return x_18; } } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_81 = lean_ctor_get(x_18, 0); -x_82 = lean_ctor_get(x_18, 1); -lean_inc(x_82); +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_18, 0); +x_81 = lean_ctor_get(x_18, 1); lean_inc(x_81); +lean_inc(x_80); lean_dec(x_18); -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l_Lean_Environment_contains(x_83, x_17); -if (x_84 == 0) +x_82 = lean_ctor_get(x_80, 0); +lean_inc(x_82); +lean_dec(x_80); +x_83 = l_Lean_Environment_contains(x_82, x_17); +if (x_83 == 0) { -lean_object* x_85; lean_object* x_86; -x_85 = l_Lean_Expr_appArg_x21(x_1); +lean_object* x_84; lean_object* x_85; +x_84 = l_Lean_Expr_appArg_x21(x_1); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_86 = l_Lean_Meta_inferType(x_85, x_4, x_5, x_6, x_7, x_82); -if (lean_obj_tag(x_86) == 0) +x_85 = l_Lean_Meta_inferType(x_84, x_5, x_6, x_7, x_8, x_81); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_86, 0); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); +lean_dec(x_85); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_89 = l_Lean_Meta_whnf(x_87, x_4, x_5, x_6, x_7, x_88); -if (lean_obj_tag(x_89) == 0) +x_88 = l_Lean_Meta_whnf(x_86, x_5, x_6, x_7, x_8, x_87); +if (lean_obj_tag(x_88) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_89, 0); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Expr_getAppFn(x_90); -if (lean_obj_tag(x_92) == 4) +lean_dec(x_88); +x_91 = l_Lean_Expr_getAppFn(x_89); +if (lean_obj_tag(x_91) == 4) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_st_ref_get(x_7, x_91); -x_95 = lean_ctor_get(x_94, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_st_ref_get(x_8, x_90); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 0); lean_inc(x_96); lean_dec(x_94); -x_97 = lean_ctor_get(x_95, 0); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_environment_find(x_97, x_93); -if (lean_obj_tag(x_98) == 0) +x_97 = lean_environment_find(x_96, x_92); +if (lean_obj_tag(x_97) == 0) { -lean_object* x_99; -lean_dec(x_92); -lean_dec(x_90); +lean_object* x_98; +lean_dec(x_91); +lean_dec(x_89); lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +lean_dec(x_2); lean_dec(x_1); -x_99 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_96); +x_98 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_95); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_99; +return x_98; } else { -lean_object* x_100; -x_100 = lean_ctor_get(x_98, 0); -lean_inc(x_100); -lean_dec(x_98); -if (lean_obj_tag(x_100) == 5) +lean_object* x_99; +x_99 = lean_ctor_get(x_97, 0); +lean_inc(x_99); +lean_dec(x_97); +if (lean_obj_tag(x_99) == 5) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -lean_dec(x_100); -x_102 = lean_unsigned_to_nat(0u); -x_103 = l_Lean_Expr_getAppNumArgsAux(x_90, x_102); -x_104 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; -lean_inc(x_103); -x_105 = lean_mk_array(x_103, x_104); -x_106 = lean_unsigned_to_nat(1u); -x_107 = lean_nat_sub(x_103, x_106); -lean_dec(x_103); -x_108 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_90, x_105, x_107); -x_109 = lean_ctor_get(x_101, 1); -lean_inc(x_109); -x_110 = l_Array_toSubarray___rarg(x_108, x_102, x_109); -x_111 = l_Array_ofSubarray___rarg(x_110); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +lean_dec(x_99); +x_101 = lean_unsigned_to_nat(0u); +x_102 = l_Lean_Expr_getAppNumArgsAux(x_89, x_101); +x_103 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; +lean_inc(x_102); +x_104 = lean_mk_array(x_102, x_103); +x_105 = lean_unsigned_to_nat(1u); +x_106 = lean_nat_sub(x_102, x_105); +lean_dec(x_102); +x_107 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_89, x_104, x_106); +x_108 = lean_ctor_get(x_100, 1); +lean_inc(x_108); +x_109 = l_Array_toSubarray___rarg(x_107, x_101, x_108); +x_110 = l_Array_ofSubarray___rarg(x_109); +lean_dec(x_109); +x_111 = l_Lean_mkAppN(x_91, x_110); lean_dec(x_110); -x_112 = l_Lean_mkAppN(x_92, x_111); -lean_dec(x_111); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_112); -x_113 = l_Lean_Meta_inferType(x_112, x_4, x_5, x_6, x_7, x_96); -if (lean_obj_tag(x_113) == 0) +lean_inc(x_111); +x_112 = l_Lean_Meta_inferType(x_111, x_5, x_6, x_7, x_8, x_95); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_114 = lean_ctor_get(x_113, 0); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_117 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed), 17, 9); -lean_closure_set(x_117, 0, x_112); -lean_closure_set(x_117, 1, x_1); -lean_closure_set(x_117, 2, x_104); -lean_closure_set(x_117, 3, x_10); -lean_closure_set(x_117, 4, x_101); -lean_closure_set(x_117, 5, x_17); -lean_closure_set(x_117, 6, x_14); -lean_closure_set(x_117, 7, x_12); -lean_closure_set(x_117, 8, x_116); -x_118 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg(x_114, x_117, x_3, x_4, x_5, x_6, x_7, x_115); -return x_118; +lean_dec(x_112); +x_115 = lean_alloc_closure((void*)(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___boxed), 17, 9); +lean_closure_set(x_115, 0, x_111); +lean_closure_set(x_115, 1, x_1); +lean_closure_set(x_115, 2, x_103); +lean_closure_set(x_115, 3, x_10); +lean_closure_set(x_115, 4, x_100); +lean_closure_set(x_115, 5, x_2); +lean_closure_set(x_115, 6, x_17); +lean_closure_set(x_115, 7, x_14); +lean_closure_set(x_115, 8, x_12); +x_116 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg(x_113, x_115, x_4, x_5, x_6, x_7, x_8, x_114); +return x_116; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_112); -lean_dec(x_101); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_111); +lean_dec(x_100); lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); +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_119 = lean_ctor_get(x_113, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_113, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_121 = x_113; +x_117 = lean_ctor_get(x_112, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_112, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_119 = x_112; } else { - lean_dec_ref(x_113); - x_121 = lean_box(0); + lean_dec_ref(x_112); + x_119 = lean_box(0); } -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 2, 0); } else { - x_122 = x_121; + x_120 = x_119; } -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_120); +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_dec(x_99); +lean_dec(x_91); +lean_dec(x_89); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_121 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_95); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_121; +} +} +} +else +{ +lean_object* x_122; +lean_dec(x_91); +lean_dec(x_89); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_122 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_4, x_5, x_6, x_7, x_8, x_90); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); return x_122; } } else { -lean_object* x_123; -lean_dec(x_100); -lean_dec(x_92); -lean_dec(x_90); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); -lean_dec(x_1); -x_123 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_96); +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_123; +lean_dec(x_2); +lean_dec(x_1); +x_123 = lean_ctor_get(x_88, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_88, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_125 = x_88; +} else { + lean_dec_ref(x_88); + x_125 = lean_box(0); } +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } else { -lean_object* x_124; -lean_dec(x_92); -lean_dec(x_90); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); -lean_dec(x_1); -x_124 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, 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); -return x_124; -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_125 = lean_ctor_get(x_89, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_89, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_127 = x_89; +x_127 = lean_ctor_get(x_85, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_85, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_129 = x_85; } else { - lean_dec_ref(x_89); - x_127 = lean_box(0); + lean_dec_ref(x_85); + x_129 = lean_box(0); } -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); } else { - x_128 = x_127; + x_130 = x_129; } -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -return x_128; +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; } } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_129 = lean_ctor_get(x_86, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_86, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_131 = x_86; -} else { - lean_dec_ref(x_86); - 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_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_dec(x_14); lean_dec(x_10); +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_133 = l_Lean_mkConst(x_17, x_12); -x_134 = lean_unsigned_to_nat(0u); -x_135 = l_Lean_Expr_getAppNumArgsAux(x_1, x_134); -x_136 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; -lean_inc(x_135); -x_137 = lean_mk_array(x_135, x_136); -x_138 = lean_unsigned_to_nat(1u); -x_139 = lean_nat_sub(x_135, x_138); -lean_dec(x_135); -x_140 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_137, x_139); -x_141 = l_Lean_mkAppN(x_133, x_140); -lean_dec(x_140); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_82); -return x_142; +lean_dec(x_2); +x_131 = l_Lean_mkConst(x_17, x_12); +x_132 = lean_unsigned_to_nat(0u); +x_133 = l_Lean_Expr_getAppNumArgsAux(x_1, x_132); +x_134 = l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3; +lean_inc(x_133); +x_135 = lean_mk_array(x_133, x_134); +x_136 = lean_unsigned_to_nat(1u); +x_137 = lean_nat_sub(x_133, x_136); +lean_dec(x_133); +x_138 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_135, x_137); +x_139 = l_Lean_mkAppN(x_131, x_138); +lean_dec(x_138); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_81); +return x_140; } } } else { -uint8_t x_143; +uint8_t x_141; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +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_143 = !lean_is_exclusive(x_13); -if (x_143 == 0) +x_141 = !lean_is_exclusive(x_13); +if (x_141 == 0) { return x_13; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_13, 0); -x_145 = lean_ctor_get(x_13, 1); -lean_inc(x_145); -lean_inc(x_144); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_13, 0); +x_143 = lean_ctor_get(x_13, 1); +lean_inc(x_143); +lean_inc(x_142); lean_dec(x_13); -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; +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; } } } else { -lean_object* x_147; +lean_object* x_145; lean_dec(x_10); +lean_dec(x_2); lean_dec(x_1); -x_147 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(x_3, x_4, x_5, x_6, x_7, x_9); +x_145 = l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg(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); -return x_147; +return x_145; } } -block_162: +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1() { +_start: { -if (x_149 == 0) +lean_object* x_1; +x_1 = lean_mk_string("aux"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2() { +_start: { -lean_dec(x_2); -x_9 = x_150; -goto block_148; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma(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; uint8_t x_10; lean_object* x_11; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_9 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2; +x_29 = lean_st_ref_get(x_7, x_8); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_10 = x_34; +x_11 = x_33; +goto block_28; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_9, x_3, x_4, x_5, x_6, x_7, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_10 = x_39; +x_11 = x_38; +goto block_28; +} +block_28: +{ +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_2); +x_12 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_13 = lean_box(0); +x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(x_1, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +else +{ +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_inc(x_1); -x_151 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_151, 0, x_1); -x_152 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_153 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11; -x_155 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_156, 0, x_2); -x_157 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_152); -x_159 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2; -x_160 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_159, x_158, x_3, x_4, x_5, x_6, x_7, x_150); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_9 = x_161; -goto block_148; +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_16); +x_23 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_11); +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 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_27 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(x_1, x_26, x_24, x_3, x_4, x_5, x_6, x_7, x_25); +lean_dec(x_24); +return x_27; } } } @@ -12310,6 +12451,16 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___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_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___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_4); +lean_dec(x_3); +return x_11; +} +} lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___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: { @@ -12342,6 +12493,16 @@ lean_dec(x_3); return x_10; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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: { @@ -12425,16 +12586,30 @@ x_12 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_Si return x_12; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1(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_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +} +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; -x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, x_14, x_15, x_16); lean_dec(x_3); return x_17; } } -lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___boxed(lean_object** _args) { +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -12455,11 +12630,20 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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, x_14, x_15, x_16, x_17); +x_18 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_11); return x_18; } } +lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_10; +} +} lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___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) { _start: { @@ -12690,76 +12874,17 @@ return x_26; } } } -static lean_object* _init_l_Lean_Meta_SizeOfSpecNested_main_loop___closed__1() { +lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("loop"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; -x_2 = l_Lean_Meta_SizeOfSpecNested_main_loop___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop(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; uint8_t x_86; lean_object* x_87; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_st_ref_get(x_7, x_8); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_101, 3); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_ctor_get_uint8(x_102, sizeof(void*)*1); -lean_dec(x_102); -if (x_103 == 0) -{ -lean_object* x_104; uint8_t x_105; -x_104 = lean_ctor_get(x_100, 1); -lean_inc(x_104); -lean_dec(x_100); -x_105 = 0; -x_86 = x_105; -x_87 = x_104; -goto block_99; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_106 = lean_ctor_get(x_100, 1); -lean_inc(x_106); -lean_dec(x_100); -x_107 = l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2; -x_108 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_107, x_3, x_4, x_5, x_6, x_7, x_106); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = lean_unbox(x_109); -lean_dec(x_109); -x_86 = x_111; -x_87 = x_110; -goto block_99; -} -block_85: -{ lean_object* x_10; +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_10 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_4, x_5, x_6, x_7, x_9); +x_10 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; uint8_t x_12; @@ -12773,12 +12898,12 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_10, 1); lean_inc(x_13); lean_dec(x_10); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_1); -x_14 = l_Lean_Meta_whnfI(x_1, x_4, x_5, x_6, x_7, x_13); +x_14 = l_Lean_Meta_whnfI(x_1, x_5, x_6, x_7, x_8, x_13); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -12787,12 +12912,12 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); 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_2); -x_17 = l_Lean_Meta_whnfI(x_2, x_4, x_5, x_6, x_7, x_16); +x_17 = l_Lean_Meta_whnfI(x_2, x_5, x_6, x_7, x_8, x_16); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -12808,11 +12933,11 @@ if (lean_obj_tag(x_20) == 0) lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_18); x_21 = l_Lean_indentExpr(x_1); -x_22 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_22 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6; +x_24 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -12824,12 +12949,12 @@ x_28 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_29, x_3, x_4, x_5, x_6, x_7, x_19); +x_30 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_29, 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); return x_30; } else @@ -12845,11 +12970,11 @@ if (lean_obj_tag(x_32) == 0) 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_dec(x_31); x_33 = l_Lean_indentExpr(x_1); -x_34 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_34 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -x_36 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6; +x_36 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); @@ -12861,12 +12986,12 @@ x_40 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___c x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_41, x_3, x_4, x_5, x_6, x_7, x_19); +x_42 = l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(x_41, 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); return x_42; } else @@ -12887,12 +13012,12 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_43, 1); lean_inc(x_47); lean_dec(x_43); +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_48 = l_Lean_Meta_SizeOfSpecNested_main_loop(x_44, x_46, x_3, x_4, x_5, x_6, x_7, x_19); +x_48 = l_Lean_Meta_SizeOfSpecNested_main_loop(x_44, x_46, x_4, x_5, x_6, x_7, x_8, x_19); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; lean_object* x_51; @@ -12901,11 +13026,11 @@ lean_inc(x_49); x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); lean_dec(x_48); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_51 = l_Lean_Meta_SizeOfSpecNested_main_step(x_45, x_47, x_3, x_4, x_5, x_6, x_7, x_50); +x_51 = l_Lean_Meta_SizeOfSpecNested_main_step(x_45, x_47, x_4, x_5, x_6, x_7, x_8, 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; @@ -12914,12 +13039,12 @@ lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); lean_dec(x_51); -x_54 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9; +x_54 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7; +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_55 = l_Lean_Meta_mkCongrArg(x_54, x_49, x_4, x_5, x_6, x_7, x_53); +x_55 = l_Lean_Meta_mkCongrArg(x_54, x_49, x_5, x_6, x_7, x_8, x_53); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; lean_object* x_57; lean_object* x_58; @@ -12928,17 +13053,17 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec(x_55); -x_58 = l_Lean_Meta_mkCongr(x_56, x_52, x_4, x_5, x_6, x_7, x_57); +x_58 = l_Lean_Meta_mkCongr(x_56, x_52, x_5, x_6, x_7, x_8, x_57); return x_58; } else { uint8_t x_59; lean_dec(x_52); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_59 = !lean_is_exclusive(x_55); if (x_59 == 0) { @@ -12963,10 +13088,10 @@ else { uint8_t x_63; lean_dec(x_49); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); x_63 = !lean_is_exclusive(x_51); if (x_63 == 0) { @@ -12992,11 +13117,11 @@ else uint8_t x_67; lean_dec(x_47); lean_dec(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_67 = !lean_is_exclusive(x_48); if (x_67 == 0) { @@ -13023,11 +13148,11 @@ else { uint8_t x_71; lean_dec(x_15); +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_71 = !lean_is_exclusive(x_17); @@ -13053,11 +13178,11 @@ return x_74; else { uint8_t x_75; +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_75 = !lean_is_exclusive(x_14); @@ -13083,23 +13208,23 @@ return x_78; else { lean_object* x_79; lean_object* x_80; -lean_dec(x_3); +lean_dec(x_4); lean_dec(x_1); x_79 = lean_ctor_get(x_10, 1); lean_inc(x_79); lean_dec(x_10); -x_80 = l_Lean_Meta_mkEqRefl(x_2, x_4, x_5, x_6, x_7, x_79); +x_80 = l_Lean_Meta_mkEqRefl(x_2, x_5, x_6, x_7, x_8, x_79); return x_80; } } else { uint8_t x_81; +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_81 = !lean_is_exclusive(x_10); @@ -13122,47 +13247,121 @@ return x_84; } } } -block_99: +} +static lean_object* _init_l_Lean_Meta_SizeOfSpecNested_main_loop___closed__1() { +_start: { -if (x_86 == 0) +lean_object* x_1; +x_1 = lean_mk_string("loop"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2() { +_start: { -x_9 = x_87; -goto block_85; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__5; +x_2 = l_Lean_Meta_SizeOfSpecNested_main_loop___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop(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; uint8_t x_10; lean_object* x_11; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_9 = l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2; +x_27 = lean_st_ref_get(x_7, x_8); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_dec(x_27); +x_32 = 0; +x_10 = x_32; +x_11 = x_31; +goto block_26; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__2(x_9, x_3, x_4, x_5, x_6, x_7, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_unbox(x_35); +lean_dec(x_35); +x_10 = x_37; +x_11 = x_36; +goto block_26; +} +block_26: +{ +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1(x_1, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_11); +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_inc(x_1); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_1); -x_89 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; -x_90 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11; -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); +x_14 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); lean_inc(x_2); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_2); -x_94 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_89); -x_96 = l_Lean_Meta_SizeOfSpecNested_main_loop___closed__2; -x_97 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_96, x_95, x_3, x_4, x_5, x_6, x_7, x_87); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_9 = x_98; -goto block_85; +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_2); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +x_22 = l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1(x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_11); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1(x_1, x_2, x_23, x_3, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_23); +return x_25; } } } } +lean_object* l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_SizeOfSpecNested_main_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_10; +} +} lean_object* l_Lean_Meta_SizeOfSpecNested_main(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: { @@ -14590,7 +14789,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1() { _start: { lean_object* x_1; @@ -14598,17 +14797,17 @@ x_1 = lean_mk_string("genSizeOf"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____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_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3() { _start: { lean_object* x_1; @@ -14616,13 +14815,13 @@ x_1 = lean_mk_string("generate `SizeOf` instance for inductive types and structu return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__8; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -14631,12 +14830,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -14654,7 +14853,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1() { _start: { lean_object* x_1; @@ -14662,17 +14861,17 @@ x_1 = lean_mk_string("genSizeOfSpec"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____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_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3() { _start: { lean_object* x_1; @@ -14680,13 +14879,13 @@ x_1 = lean_mk_string("generate `SizeOf` specificiation theorems for automaticall return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__8; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -14695,12 +14894,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -16243,7 +16442,7 @@ lean_dec(x_7); return x_13; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4925_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_5332_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -16309,10 +16508,10 @@ l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__ lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___closed__9); l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__1); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__1); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__1___closed__2); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__1); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2); l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__2(); @@ -16335,10 +16534,10 @@ l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__3 = _init_l lean_mark_persistent(l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__3); l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__4 = _init_l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__4(); lean_mark_persistent(l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__4); -l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1 = _init_l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_mkSizeOfFn___lambda__1___closed__1); -l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2 = _init_l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_mkSizeOfFn___lambda__1___closed__2); +l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1 = _init_l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkSizeOfFn___lambda__2___closed__1); +l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2 = _init_l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2); l_Lean_Meta_mkSizeOfFn___closed__1 = _init_l_Lean_Meta_mkSizeOfFn___closed__1(); lean_mark_persistent(l_Lean_Meta_mkSizeOfFn___closed__1); l_Lean_Meta_mkSizeOfFn___closed__2 = _init_l_Lean_Meta_mkSizeOfFn___closed__2(); @@ -16405,6 +16604,20 @@ l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mk lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__3); l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__4(); lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__4); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__1); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__2); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__3); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__4); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__2(); @@ -16413,38 +16626,24 @@ l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__4); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__5); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__6); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__7); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__8); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__9); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__10); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__11); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__1); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1___closed__2); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__1); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2); +l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1); l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2(); lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__2); -l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3 = _init_l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__3); l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__1 = _init_l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__1(); lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__1); l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__2 = _init_l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__2(); @@ -16465,30 +16664,30 @@ l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpe lean_mark_persistent(l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__1); l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__2 = _init_l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__2(); lean_mark_persistent(l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869____closed__4); l_Lean_Meta_genSizeOf___closed__1 = _init_l_Lean_Meta_genSizeOf___closed__1(); lean_mark_persistent(l_Lean_Meta_genSizeOf___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4465_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4869_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genSizeOf = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genSizeOf); lean_dec_ref(res); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485____closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4485_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889____closed__4); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4889_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genSizeOfSpec = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genSizeOfSpec); @@ -16503,7 +16702,7 @@ l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___close lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1); l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_4925_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_5332_(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/Meta/SynthInstance.c b/stage0/stdlib/Lean/Meta/SynthInstance.c index 41ce0ff2ba..297949d8be 100644 --- a/stage0/stdlib/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Lean/Meta/SynthInstance.c @@ -15,23 +15,22 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2(lean_object*, size_t, lean_object*); -lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats___boxed(lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_synthInstance_x3f___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer___closed__1; -static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__2; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Meta_synthInstance_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_mkGeneratorNode_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_is_out_param(lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1; +static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4; lean_object* l_Lean_Meta_SynthInstance_addAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___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_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___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_Meta_SynthInstance_0__Lean_Meta_preprocessArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(lean_object*, lean_object*); @@ -45,7 +44,6 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,6 +63,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___ lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default; uint64_t lean_uint64_of_nat(lean_object*); +static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___closed__1; lean_object* lean_expr_update_mdata(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__4; @@ -82,16 +81,13 @@ static lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__2; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__1; -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7; lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_generate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getEntry_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getResult(lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_consume_match__1(lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___boxed(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*); @@ -102,6 +98,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); static uint64_t l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__1; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__7; static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default___closed__1; +lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); @@ -115,28 +112,28 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3 lean_object* l_Lean_Meta_SynthInstance_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__3; lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__2; lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4; static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5___closed__1; lean_object* l_Lean_Meta_SynthInstance_resume(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__1; -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5; static lean_object* l_Lean_Meta_synthInstance___closed__1; -lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____closed__3; size_t l_USize_shiftRight(size_t, size_t); @@ -144,28 +141,32 @@ lean_object* l_Lean_Meta_SynthInstance_findEntry_x3f(lean_object*, lean_object*, lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_mkTableKey___closed__2; lean_object* l_Lean_Meta_SynthInstance_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2; +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance___closed__2; -lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__1; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__2; -lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_synthInstance_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_SynthInstance_hasInferTCGoalsRLAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs_match__1(lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_getSubgoalsAux(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_levelZero; static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__5; +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3; +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(lean_object*, lean_object*); lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_SynthInstance_getInstances___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance_maxSize; +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1; static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7; lean_object* l_Lean_Meta_SynthInstance_State_result___default; lean_object* l_Lean_Meta_SynthInstance_findEntry_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,32 +179,40 @@ size_t l_UInt64_toUSize(uint64_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_SynthInstance_getTop___spec__1(lean_object*); lean_object* l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__4; -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4; lean_object* l_Lean_Meta_SynthInstance_getResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_wakeUp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61_(lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2; static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____closed__2; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1(lean_object*); uint8_t l_Lean_Meta_SynthInstance_Waiter_isRoot(lean_object*); +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1; lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____closed__4; lean_object* l_Lean_Meta_SynthInstance_getTop___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3; lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp_match__1(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryResolve(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_synth___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getSubgoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4; +lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__1(lean_object*); static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1; 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*); @@ -212,7 +221,6 @@ static lean_object* l_Lean_Meta_SynthInstance_generate___closed__3; lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryAnswer_match__1(lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__2; -lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1; lean_object* l_Lean_Meta_SynthInstance_mapMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -220,6 +228,7 @@ lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances_match__2(lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__6; +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____closed__1; extern lean_object* l_Lean_Meta_isDefEqStuckExceptionId; lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_getInstances___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -228,13 +237,17 @@ lean_object* l_Lean_Meta_SynthInstance_generate(lean_object*, lean_object*, lean lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_withCurrHeartbeatsImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4; lean_object* l_Lean_Meta_SynthInstance_getEntry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_modifyTop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1(lean_object*, lean_object*); +lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4; lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getNextToResume___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -243,21 +256,18 @@ lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_getInstances___spec__4___b static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__10; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__1; lean_object* l_Lean_Meta_SynthInstance_newSubgoal_match__1(lean_object*); +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2; uint64_t l_Lean_Name_hash(lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9; uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getEntry_match__1(lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__7(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10; lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__8(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4; lean_object* l_Lean_Core_withCurrHeartbeats___at_Lean_Meta_SynthInstance_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__2; lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__4(lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -266,6 +276,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInsta lean_object* l_Array_back___at_Lean_Meta_SynthInstance_getNextToResume___spec__1___boxed(lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedConsumerNode; +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__1(lean_object*); @@ -280,12 +291,14 @@ lean_object* l_Lean_Meta_SynthInstance_step(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_consume___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1; lean_object* l_Std_mkHashMap___at_Lean_Meta_SynthInstance_State_tableEntries___default___spec__1(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedConsumerNode___closed__1; lean_object* l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3; +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2; size_t lean_usize_modn(size_t, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__5; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,13 +306,16 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); uint8_t l_Std_PersistentArray_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_28____closed__3; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5; +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__5; lean_object* l_Lean_Meta_synthInstance_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__1; static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__3; -static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2; -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8; +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal(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_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__6; lean_object* l_Lean_Meta_SynthInstance_getInstances_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -316,20 +332,19 @@ lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_no lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__6___boxed(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_28_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5167_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5847_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832_(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___closed__1; lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__2(lean_object*); -lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__5; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__7; -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1___rarg(lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); @@ -339,7 +354,7 @@ lean_object* l_Lean_Meta_SynthInstance_State_generatorStack___default; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_getSubgoalsAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__5(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4; +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7; lean_object* l_Lean_Meta_SynthInstance_getEntry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_synth_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; @@ -348,20 +363,23 @@ lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__1(lean_object*, l static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__2; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2; static lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); -uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__9; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_getUnify___rarg(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_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__2; lean_object* l_Lean_Core_checkMaxHeartbeatsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6; lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_consume_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -369,7 +387,7 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels_m lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__4; lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__7(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10; +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; lean_object* l_Lean_Meta_SynthInstance_State_tableEntries___default; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_28____closed__4; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -386,16 +404,17 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at_Lean_Meta_SynthIns uint8_t lean_expr_eqv(lean_object*, lean_object*); uint8_t l_Lean_Meta_SynthInstance_isNewAnswer(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_resume___closed__6; lean_object* lean_expr_update_sort(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_synth___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__1; -static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; lean_object* l_Lean_Meta_SynthInstance_tryResolve___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel_match__1(lean_object*); static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam___lambda__1___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at_Lean_Meta_SynthInstance_tryResolve___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1; +lean_object* l_Lean_Meta_SynthInstance_main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_Meta_SynthInstance_getTop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -407,39 +426,38 @@ uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_synthInstance_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_main___lambda__1___closed__2; -static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__2; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2; lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot___boxed(lean_object*); extern lean_object* l_Lean_Meta_synthPendingRef; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; +static lean_object* l_Lean_Meta_SynthInstance_main___lambda__2___closed__1; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__1___closed__2; lean_object* l_Lean_Meta_SynthInstance_generate_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__1___closed__1; -lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___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_Meta_SynthInstance_synth___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1; lean_object* l_Lean_Meta_SynthInstance_tryAnswer_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1; lean_object* l_Lean_Meta_SynthInstance_getResult___boxed(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__3; lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___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*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__3; -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8; +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1; +static lean_object* l_Lean_Meta_SynthInstance_main___lambda__2___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4; -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3; lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_generate_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__3; lean_object* l_Lean_Meta_SynthInstance_mkTableKey(lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__3; lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Std_mkHashMap___at_Lean_Meta_SynthInstance_MkTableKey_State_emap___default___spec__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_getNextToResume(lean_object*); @@ -453,6 +471,7 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___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* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__5___boxed(lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__5___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats(lean_object*); @@ -463,6 +482,7 @@ lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___s lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_openAbstractMVarsResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -484,6 +504,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normLevel_match__2(lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_SynthInstance_getInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__11; @@ -493,48 +514,52 @@ lean_object* l_Lean_Meta_SynthInstance_tryResolveCore(lean_object*, lean_object* lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10; static uint32_t l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__3___closed__1; lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_nextIdx___default; lean_object* l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10(lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_generate___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*); uint8_t l_Lean_MetavarContext_isExprAssignable(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7; static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__2; lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__12; lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_State_tableEntries___default___closed__1; lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1___closed__5; lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_wakeUp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6; -lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_wakeUp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__5; static lean_object* l_Lean_Meta_SynthInstance_synth___closed__2; lean_object* l_Lean_Meta_SynthInstance_consume(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels_match__1(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_synthInstance_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5; +uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot_match__1(lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1; lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__2; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1___closed__2; lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_61____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2___closed__2; uint32_t lean_uint32_of_nat(lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__1; static lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -544,23 +569,23 @@ lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__2___boxed(lean_object lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_hasInferTCGoalsRLAttribute___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer; -static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1; lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_synthInstance_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__8; lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8(lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1; uint8_t lean_has_out_params(lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__4(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1; lean_object* lean_expr_update_const(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8; lean_object* l_Lean_Meta_SynthInstance_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance_maxHeartbeats; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__2; @@ -568,15 +593,17 @@ static lean_object* l_Lean_Meta_SynthInstance_generate___closed__4; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__1; -static lean_object* l_Lean_Meta_SynthInstance_main___lambda__1___closed__3; lean_object* l_Lean_Meta_SynthInstance_checkMaxHeartbeats___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__3; static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__4; lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_checkMaxHeartbeats___closed__1; +static lean_object* l_Lean_Meta_SynthInstance_synth___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8; +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1; lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2___boxed(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__1() { _start: @@ -4567,7 +4594,50 @@ return x_5; } } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1() { +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t 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) +{ +lean_object* x_14; +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_11, x_11); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_11); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +else +{ +size_t x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(x_3, x_1, x_4, x_17, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_10); +return x_19; +} +} +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -4575,16 +4645,16 @@ x_1 = lean_mk_string("type class instance expected"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -4593,7 +4663,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4() { _start: { lean_object* x_1; @@ -4601,27 +4671,27 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4; +x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -4629,17 +4699,17 @@ x_1 = lean_mk_string("globalInstances"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9() { _start: { lean_object* x_1; @@ -4647,16 +4717,16 @@ x_1 = lean_mk_string(", "); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1() { +static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -4665,7 +4735,7 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l_Lean_Meta_SynthInstance_getInstances___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* l_Lean_Meta_SynthInstance_getInstances___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -4687,11 +4757,11 @@ x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_indentExpr(x_3); -x_13 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2; +x_13 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_15 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -4740,7 +4810,7 @@ lean_dec(x_29); x_31 = 0; x_32 = x_28; x_33 = lean_box_usize(x_30); -x_34 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1; +x_34 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1; x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___boxed), 8, 3); lean_closure_set(x_35, 0, x_33); lean_closure_set(x_35, 1, x_34); @@ -4753,246 +4823,190 @@ lean_inc(x_4); x_37 = lean_apply_5(x_36, x_4, x_5, x_6, x_7, x_25); if (lean_obj_tag(x_37) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_51; lean_object* x_52; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_40 = x_37; -} else { - lean_dec_ref(x_37); - x_40 = lean_box(0); -} -x_67 = lean_st_ref_get(x_7, x_39); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) +lean_dec(x_37); +x_40 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8; +x_60 = lean_st_ref_get(x_7, x_39); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 3); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); +lean_dec(x_62); +if (x_63 == 0) { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = 0; -x_51 = x_72; -x_52 = x_71; -goto block_66; +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +x_65 = 0; +x_41 = x_65; +x_42 = x_64; +goto block_59; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_40, x_4, x_5, x_6, x_7, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); lean_dec(x_67); -x_74 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_74, x_4, x_5, x_6, x_7, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_51 = x_78; -x_52 = x_77; -goto block_66; +x_70 = lean_unbox(x_68); +lean_dec(x_68); +x_41 = x_70; +x_42 = x_69; +goto block_59; } -block_50: +block_59: { -lean_object* x_42; uint8_t x_43; -x_42 = lean_array_get_size(x_1); -x_43 = lean_nat_dec_lt(x_27, x_42); -if (x_43 == 0) +if (x_41 == 0) { -lean_object* x_44; -lean_dec(x_42); +lean_object* x_43; lean_object* x_44; +lean_dec(x_3); +x_43 = lean_box(0); +x_44 = l_Lean_Meta_SynthInstance_getInstances___lambda__1(x_1, x_38, x_19, x_31, x_43, x_4, x_5, x_6, x_7, x_42); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_19); -if (lean_is_scalar(x_40)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_40; -} -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_41); return x_44; } else { -uint8_t x_45; -x_45 = lean_nat_dec_le(x_42, x_42); -if (x_45 == 0) -{ -lean_object* x_46; -lean_dec(x_42); +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_45 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_45, 0, x_3); +x_46 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +lean_inc(x_38); +x_50 = lean_array_to_list(lean_box(0), x_38); +x_51 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_50); +x_52 = l_Lean_MessageData_ofList(x_51); +lean_dec(x_51); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_49); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_46); +x_55 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_40, x_54, x_4, x_5, x_6, x_7, x_42); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Meta_SynthInstance_getInstances___lambda__1(x_1, x_38, x_19, x_31, x_56, x_4, x_5, x_6, x_7, x_57); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_56); lean_dec(x_19); -if (lean_is_scalar(x_40)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_40; +return x_58; +} } -lean_ctor_set(x_46, 0, x_38); -lean_ctor_set(x_46, 1, x_41); -return x_46; } else { -size_t x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_usize_of_nat(x_42); -lean_dec(x_42); -x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(x_19, x_1, x_31, x_47, x_38); +uint8_t x_71; lean_dec(x_19); -if (lean_is_scalar(x_40)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_40; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_41); -return x_49; -} -} -} -block_66: -{ -if (x_51 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_41 = x_52; -goto block_50; +x_71 = !lean_is_exclusive(x_37); +if (x_71 == 0) +{ +return x_37; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_53 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_53, 0, x_3); -x_54 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -lean_inc(x_38); -x_58 = lean_array_to_list(lean_box(0), x_38); -x_59 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_58); -x_60 = l_Lean_MessageData_ofList(x_59); -lean_dec(x_59); -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_54); -x_63 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8; -x_64 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_63, x_62, x_4, x_5, x_6, x_7, x_52); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_37, 0); +x_73 = lean_ctor_get(x_37, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_37); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +uint8_t x_75; +lean_dec(x_19); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_41 = x_65; -goto block_50; +lean_dec(x_3); +x_75 = !lean_is_exclusive(x_23); +if (x_75 == 0) +{ +return x_23; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_23, 0); +x_77 = lean_ctor_get(x_23, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_23); +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 { uint8_t x_79; -lean_dec(x_19); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_79 = !lean_is_exclusive(x_37); +x_79 = !lean_is_exclusive(x_9); if (x_79 == 0) { -return x_37; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_37, 0); -x_81 = lean_ctor_get(x_37, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_37); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -else -{ -uint8_t x_83; -lean_dec(x_19); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_83 = !lean_is_exclusive(x_23); -if (x_83 == 0) -{ -return x_23; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_23, 0); -x_85 = lean_ctor_get(x_23, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_23); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_87 = !lean_is_exclusive(x_9); -if (x_87 == 0) -{ return x_9; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_9, 0); -x_89 = lean_ctor_get(x_9, 1); -lean_inc(x_89); -lean_inc(x_88); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_9, 0); +x_81 = lean_ctor_get(x_9, 1); +lean_inc(x_81); +lean_inc(x_80); lean_dec(x_9); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } @@ -5007,7 +5021,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed), 8, 1); +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed), 8, 1); lean_closure_set(x_10, 0, x_8); x_11 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_1, x_10, x_2, x_3, x_4, x_5, x_9); return x_11; @@ -5063,11 +5077,28 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Meta_SynthInstance_getInstances___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* l_Lean_Meta_SynthInstance_getInstances___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: +{ +size_t x_11; lean_object* x_12; +x_11 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_12 = l_Lean_Meta_SynthInstance_getInstances___lambda__1(x_1, x_2, x_3, x_11, 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_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Meta_SynthInstance_getInstances___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_SynthInstance_getInstances___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); lean_dec(x_1); return x_9; @@ -5446,7 +5477,323 @@ x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_new return x_3; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1() { +uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_expr_eqv(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = l_Lean_Expr_hash(x_4); +x_8 = (size_t)x_7; +x_9 = lean_usize_modn(x_8, x_6); +lean_dec(x_6); +x_10 = lean_array_uget(x_1, x_9); +lean_ctor_set(x_2, 2, x_10); +x_11 = lean_array_uset(x_1, x_9, x_2); +x_1 = x_11; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint64_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_2); +x_16 = lean_array_get_size(x_1); +x_17 = l_Lean_Expr_hash(x_13); +x_18 = (size_t)x_17; +x_19 = lean_usize_modn(x_18, x_16); +lean_dec(x_16); +x_20 = lean_array_uget(x_1, x_19); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_14); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_array_uset(x_1, x_19, x_21); +x_1 = x_22; +x_2 = x_15; +goto _start; +} +} +} +} +lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_expr_eqv(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_expr_eqv(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = l_Lean_Expr_hash(x_2); +x_9 = (size_t)x_8; +x_10 = lean_usize_modn(x_9, x_7); +x_11 = lean_array_uget(x_6, x_10); +x_12 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_2, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_3); +lean_ctor_set(x_15, 2, x_11); +x_16 = lean_array_uset(x_6, x_10, x_15); +x_17 = lean_nat_dec_le(x_14, x_7); +lean_dec(x_7); +if (x_17 == 0) +{ +lean_object* x_18; +lean_free_object(x_1); +x_18 = l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(x_14, x_16); +return x_18; +} +else +{ +lean_ctor_set(x_1, 1, x_16); +lean_ctor_set(x_1, 0, x_14); +return x_1; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_7); +x_19 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(x_2, x_3, x_11); +x_20 = lean_array_uset(x_6, x_10, x_19); +lean_ctor_set(x_1, 1, x_20); +return x_1; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; size_t x_25; size_t x_26; lean_object* x_27; uint8_t x_28; +x_21 = lean_ctor_get(x_1, 0); +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_1); +x_23 = lean_array_get_size(x_22); +x_24 = l_Lean_Expr_hash(x_2); +x_25 = (size_t)x_24; +x_26 = lean_usize_modn(x_25, x_23); +x_27 = lean_array_uget(x_22, x_26); +x_28 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_2, 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_33; +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_add(x_21, x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_3); +lean_ctor_set(x_31, 2, x_27); +x_32 = lean_array_uset(x_22, x_26, x_31); +x_33 = lean_nat_dec_le(x_30, x_23); +lean_dec(x_23); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(x_30, x_32); +return x_34; +} +else +{ +lean_object* x_35; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_23); +x_36 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(x_2, x_3, x_27); +x_37 = lean_array_uset(x_22, x_26, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_21); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1() { _start: { lean_object* x_1; @@ -5454,16 +5801,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3() { _start: { lean_object* x_1; @@ -5471,16 +5818,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___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* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -5513,18 +5860,18 @@ x_21 = lean_ctor_get(x_16, 0); lean_inc(x_1); x_22 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_22, 0, x_1); -x_23 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_23 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_25 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_12); -x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -5571,18 +5918,18 @@ lean_dec(x_16); lean_inc(x_1); x_42 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_42, 0, x_1); -x_43 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_43 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_45 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_12); -x_48 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_48 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -5643,18 +5990,18 @@ if (lean_is_exclusive(x_16)) { lean_inc(x_1); x_65 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_65, 0, x_1); -x_66 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_66 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_68 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_12); -x_71 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_71 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_72 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); @@ -5701,322 +6048,6 @@ return x_82; } } } -uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_expr_eqv(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; -} -else -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -} -} -} -lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = l_Lean_Expr_hash(x_4); -x_8 = (size_t)x_7; -x_9 = lean_usize_modn(x_8, x_6); -lean_dec(x_6); -x_10 = lean_array_uget(x_1, x_9); -lean_ctor_set(x_2, 2, x_10); -x_11 = lean_array_uset(x_1, x_9, x_2); -x_1 = x_11; -x_2 = x_5; -goto _start; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint64_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_2, 1); -x_15 = lean_ctor_get(x_2, 2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_2); -x_16 = lean_array_get_size(x_1); -x_17 = l_Lean_Expr_hash(x_13); -x_18 = (size_t)x_17; -x_19 = lean_usize_modn(x_18, x_16); -lean_dec(x_16); -x_20 = lean_array_uget(x_1, x_19); -x_21 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_21, 0, x_13); -lean_ctor_set(x_21, 1, x_14); -lean_ctor_set(x_21, 2, x_20); -x_22 = lean_array_uset(x_1, x_19, x_21); -x_1 = x_22; -x_2 = x_15; -goto _start; -} -} -} -} -lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__8(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_mul(x_3, x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_5, x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(x_8, x_2, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_ctor_get(x_3, 2); -x_9 = lean_expr_eqv(x_6, x_1); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_1, x_2, x_8); -lean_ctor_set(x_3, 2, x_10); -return x_3; -} -else -{ -lean_dec(x_7); -lean_dec(x_6); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); -return x_3; -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_3, 0); -x_12 = lean_ctor_get(x_3, 1); -x_13 = lean_ctor_get(x_3, 2); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_3); -x_14 = lean_expr_eqv(x_11, x_1); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_1, x_2, x_13); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_12); -lean_ctor_set(x_16, 2, x_15); -return x_16; -} -else -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_11); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_2); -lean_ctor_set(x_17, 2, x_13); -return x_17; -} -} -} -} -} -lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = l_Lean_Expr_hash(x_2); -x_9 = (size_t)x_8; -x_10 = lean_usize_modn(x_9, x_7); -x_11 = lean_array_uget(x_6, x_10); -x_12 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(x_2, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_5, x_13); -lean_dec(x_5); -x_15 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_3); -lean_ctor_set(x_15, 2, x_11); -x_16 = lean_array_uset(x_6, x_10, x_15); -x_17 = lean_nat_dec_le(x_14, x_7); -lean_dec(x_7); -if (x_17 == 0) -{ -lean_object* x_18; -lean_free_object(x_1); -x_18 = l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(x_14, x_16); -return x_18; -} -else -{ -lean_ctor_set(x_1, 1, x_16); -lean_ctor_set(x_1, 0, x_14); -return x_1; -} -} -else -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_7); -x_19 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_2, x_3, x_11); -x_20 = lean_array_uset(x_6, x_10, x_19); -lean_ctor_set(x_1, 1, x_20); -return x_1; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; size_t x_25; size_t x_26; lean_object* x_27; uint8_t x_28; -x_21 = lean_ctor_get(x_1, 0); -x_22 = lean_ctor_get(x_1, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_1); -x_23 = lean_array_get_size(x_22); -x_24 = l_Lean_Expr_hash(x_2); -x_25 = (size_t)x_24; -x_26 = lean_usize_modn(x_25, x_23); -x_27 = lean_array_uget(x_22, x_26); -x_28 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(x_2, 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_33; -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_add(x_21, x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_3); -lean_ctor_set(x_31, 2, x_27); -x_32 = lean_array_uset(x_22, x_26, x_31); -x_33 = lean_nat_dec_le(x_30, x_23); -lean_dec(x_23); -if (x_33 == 0) -{ -lean_object* x_34; -x_34 = l_Std_HashMapImp_expand___at_Lean_Meta_SynthInstance_newSubgoal___spec__6(x_30, x_32); -return x_34; -} -else -{ -lean_object* x_35; -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_23); -x_36 = l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_2, x_3, x_27); -x_37 = lean_array_uset(x_22, x_26, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_21); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} lean_object* l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10___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) { _start: { @@ -6135,31 +6166,7 @@ return x_14; } } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -if (x_3 == 0) -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_2); -lean_dec(x_1); -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_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_13, 0, x_1); -x_14 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_14; -} -} -} -static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -6168,7 +6175,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -6218,7 +6225,7 @@ lean_dec(x_12); x_21 = lean_ctor_get(x_13, 0); lean_inc(x_21); lean_dec(x_13); -x_22 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1; +x_22 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1; x_23 = lean_array_push(x_22, x_3); x_24 = l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__5___closed__1; x_25 = lean_alloc_ctor(0, 2, 0); @@ -6242,7 +6249,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean x_32 = lean_ctor_get(x_29, 1); x_33 = lean_ctor_get(x_29, 3); x_34 = lean_array_push(x_32, x_21); -x_35 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_33, x_1, x_25); +x_35 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_33, x_1, x_25); lean_ctor_set(x_29, 3, x_35); lean_ctor_set(x_29, 1, x_34); x_36 = lean_st_ref_set(x_6, x_29, x_30); @@ -6282,7 +6289,7 @@ lean_inc(x_44); lean_inc(x_43); lean_dec(x_29); x_47 = lean_array_push(x_44, x_21); -x_48 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_46, x_1, x_25); +x_48 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_46, x_1, x_25); x_49 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_49, 0, x_43); lean_ctor_set(x_49, 1, x_47); @@ -6338,6 +6345,35 @@ return x_58; } } } +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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) { +_start: +{ +if (x_5 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +x_13 = lean_box(0); +x_14 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_3, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_inc(x_1); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, 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); +x_19 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_3, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_17); +return x_19; +} +} +} static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__1() { _start: { @@ -6350,7 +6386,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_2 = l_Lean_Meta_SynthInstance_newSubgoal___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -6389,25 +6425,19 @@ return x_3; lean_object* l_Lean_Meta_SynthInstance_newSubgoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_12 = l_Lean_Meta_SynthInstance_newSubgoal___closed__2; -lean_inc(x_2); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed), 10, 2); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed), 12, 4); lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_12); +lean_closure_set(x_13, 1, x_3); +lean_closure_set(x_13, 2, x_4); +lean_closure_set(x_13, 3, x_12); x_14 = l_Lean_Meta_SynthInstance_newSubgoal___closed__5; x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg), 9, 2); lean_closure_set(x_15, 0, x_14); lean_closure_set(x_15, 1, x_13); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed), 11, 3); -lean_closure_set(x_16, 0, x_2); -lean_closure_set(x_16, 1, x_3); -lean_closure_set(x_16, 2, x_4); -x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___rarg), 9, 2); -lean_closure_set(x_17, 0, x_15); -lean_closure_set(x_17, 1, x_16); -x_18 = l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10___rarg(x_1, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_18; +x_16 = l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10___rarg(x_1, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; } } lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___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) { @@ -6424,11 +6454,22 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___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* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(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_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6438,17 +6479,6 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(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_Meta_SynthInstance_newSubgoal___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) { _start: { @@ -6478,33 +6508,29 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_3); -lean_dec(x_3); -x_12 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_11, 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); -return x_12; -} -} -lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); return x_12; } } +lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +} lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -7468,25 +7494,74 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_tryResolveCore_match_ return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1() { +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_10, 0, x_15); +return x_10; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_10); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_1); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_17); +return x_21; +} +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("tryResolve"); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_2 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -7494,16 +7569,16 @@ x_1 = lean_mk_string("failure"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3; +x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -7511,16 +7586,16 @@ x_1 = lean_mk_string("failure assigning"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5; +x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6() { _start: { lean_object* x_1; @@ -7528,16 +7603,397 @@ x_1 = lean_mk_string("success"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7; +x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9() { +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_14 = l_Lean_Meta_isExprDefEq(x_1, x_2, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_29 = lean_st_ref_get(x_12, x_17); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_18 = x_34; +x_19 = x_33; +goto block_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +lean_inc(x_3); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_9, x_10, x_11, x_12, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_18 = x_39; +x_19 = x_38; +goto block_28; +} +block_28: +{ +lean_object* x_20; +x_20 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1; +if (x_18 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_3); +x_21 = lean_box(0); +x_22 = lean_apply_6(x_20, x_21, x_9, x_10, x_11, x_12, x_19); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3; +x_24 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_23, x_9, x_10, x_11, x_12, x_19); +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_apply_6(x_20, x_25, x_9, x_10, x_11, x_12, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_14, 1); +lean_inc(x_40); +lean_dec(x_14); +x_41 = 0; +x_42 = 1; +lean_inc(x_9); +x_43 = l_Lean_Meta_mkLambdaFVars(x_4, x_5, x_41, x_42, x_9, x_10, x_11, x_12, x_40); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_46 = l_Lean_Meta_isExprDefEq(x_6, x_44, x_9, x_10, x_11, x_12, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +lean_dec(x_7); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_61 = lean_st_ref_get(x_12, x_49); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_62, 3); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_ctor_get_uint8(x_63, sizeof(void*)*1); +lean_dec(x_63); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_61, 1); +lean_inc(x_65); +lean_dec(x_61); +x_50 = x_41; +x_51 = x_65; +goto block_60; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_dec(x_61); +lean_inc(x_3); +x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_9, x_10, x_11, x_12, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_unbox(x_68); +lean_dec(x_68); +x_50 = x_70; +x_51 = x_69; +goto block_60; +} +block_60: +{ +lean_object* x_52; +x_52 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1; +if (x_50 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_3); +x_53 = lean_box(0); +x_54 = lean_apply_6(x_52, x_53, x_9, x_10, x_11, x_12, x_51); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5; +x_56 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_55, x_9, x_10, x_11, x_12, x_51); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_apply_6(x_52, x_57, x_9, x_10, x_11, x_12, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_71 = lean_ctor_get(x_46, 1); +lean_inc(x_71); +lean_dec(x_46); +x_82 = lean_st_ref_get(x_12, x_71); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_83, 3); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_ctor_get_uint8(x_84, sizeof(void*)*1); +lean_dec(x_84); +if (x_85 == 0) +{ +lean_object* x_86; +x_86 = lean_ctor_get(x_82, 1); +lean_inc(x_86); +lean_dec(x_82); +x_72 = x_41; +x_73 = x_86; +goto block_81; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_87 = lean_ctor_get(x_82, 1); +lean_inc(x_87); +lean_dec(x_82); +lean_inc(x_3); +x_88 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_9, x_10, x_11, x_12, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_unbox(x_89); +lean_dec(x_89); +x_72 = x_91; +x_73 = x_90; +goto block_81; +} +block_81: +{ +if (x_72 == 0) +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_3); +x_74 = lean_box(0); +x_75 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2(x_7, x_74, x_9, x_10, x_11, x_12, x_73); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_75; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_76 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7; +x_77 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_76, x_9, x_10, x_11, x_12, x_73); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2(x_7, x_78, x_9, x_10, x_11, x_12, x_79); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_78); +return x_80; +} +} +} +} +else +{ +uint8_t x_92; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_3); +x_92 = !lean_is_exclusive(x_46); +if (x_92 == 0) +{ +return x_46; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_46, 0); +x_94 = lean_ctor_get(x_46, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_46); +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; +} +} +} +else +{ +uint8_t x_96; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_96 = !lean_is_exclusive(x_43); +if (x_96 == 0) +{ +return x_43; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_43, 0); +x_98 = lean_ctor_get(x_43, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_43); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_100 = !lean_is_exclusive(x_14); +if (x_100 == 0) +{ +return x_14; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_14, 0); +x_102 = lean_ctor_get(x_14, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_14); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tryResolve"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_2 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -7545,16 +8001,16 @@ x_1 = lean_mk_string(" =?= "); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9; +x_1 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___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) { +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -7566,7 +8022,7 @@ lean_inc(x_5); x_12 = l_Lean_Meta_SynthInstance_getSubgoals(x_1, x_2, x_5, x_3, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_138; lean_object* x_139; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +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; lean_object* x_20; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -7579,587 +8035,91 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_13, 2); lean_inc(x_17); lean_dec(x_13); -x_152 = lean_st_ref_get(x_10, x_14); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_153, 3); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_ctor_get_uint8(x_154, sizeof(void*)*1); -lean_dec(x_154); -if (x_155 == 0) +x_18 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; +x_36 = lean_st_ref_get(x_10, x_14); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_156; uint8_t x_157; -x_156 = lean_ctor_get(x_152, 1); -lean_inc(x_156); -lean_dec(x_152); -x_157 = 0; -x_138 = x_157; -x_139 = x_156; -goto block_151; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_158 = lean_ctor_get(x_152, 1); -lean_inc(x_158); -lean_dec(x_152); -x_159 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -x_160 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_159, x_7, x_8, x_9, x_10, x_158); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = lean_unbox(x_161); -lean_dec(x_161); -x_138 = x_163; -x_139 = x_162; -goto block_151; -} -block_137: -{ -lean_object* x_19; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_19 = l_Lean_Meta_isExprDefEq(x_6, x_17, x_7, x_8, x_9, x_10, 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; lean_object* x_25; uint8_t x_26; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_5); -lean_dec(x_4); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_st_ref_get(x_10, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get_uint8(x_25, sizeof(void*)*1); -lean_dec(x_25); -if (x_26 == 0) -{ -uint8_t x_27; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_27 = !lean_is_exclusive(x_23); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_23, 0); -lean_dec(x_28); -x_29 = lean_box(0); -lean_ctor_set(x_23, 0, x_29); -return x_23; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_dec(x_23); -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 -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_dec(x_23); -x_34 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_34, x_7, x_8, x_9, x_10, x_33); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); lean_dec(x_36); -if (x_37 == 0) -{ -uint8_t x_38; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_35, 0); -lean_dec(x_39); -x_40 = lean_box(0); -lean_ctor_set(x_35, 0, x_40); -return x_35; +x_41 = 0; +x_19 = x_41; +x_20 = x_40; +goto block_35; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -lean_dec(x_35); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_44 = lean_ctor_get(x_35, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_18, x_7, x_8, x_9, x_10, x_42); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_35); -x_45 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4; -x_46 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_34, x_45, x_7, x_8, x_9, x_10, x_44); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_19 = x_46; +x_20 = x_45; +goto block_35; +} +block_35: { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(0); -lean_ctor_set(x_46, 0, x_49); -return x_46; +if (x_19 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3(x_6, x_17, x_18, x_5, x_16, x_4, x_15, x_21, x_7, x_8, x_9, x_10, x_20); +return x_22; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -} -} -else -{ -lean_object* x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_19, 1); -lean_inc(x_53); -lean_dec(x_19); -x_54 = 0; -x_55 = 1; -lean_inc(x_7); -x_56 = l_Lean_Meta_mkLambdaFVars(x_5, x_16, x_54, x_55, x_7, x_8, x_9, x_10, x_53); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_59 = l_Lean_Meta_isExprDefEq(x_4, x_57, x_7, x_8, x_9, x_10, x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_unbox(x_60); -lean_dec(x_60); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -lean_dec(x_15); -x_62 = lean_ctor_get(x_59, 1); -lean_inc(x_62); -lean_dec(x_59); -x_63 = lean_st_ref_get(x_10, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) -{ -uint8_t x_67; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_67 = !lean_is_exclusive(x_63); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_63, 0); -lean_dec(x_68); -x_69 = lean_box(0); -lean_ctor_set(x_63, 0, x_69); -return x_63; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_63, 1); -lean_inc(x_70); -lean_dec(x_63); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -return x_72; -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_73 = lean_ctor_get(x_63, 1); -lean_inc(x_73); -lean_dec(x_63); -x_74 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_74, x_7, x_8, x_9, x_10, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_unbox(x_76); -lean_dec(x_76); -if (x_77 == 0) -{ -uint8_t x_78; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_78 = !lean_is_exclusive(x_75); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_75, 0); -lean_dec(x_79); -x_80 = lean_box(0); -lean_ctor_set(x_75, 0, x_80); -return x_75; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_75, 1); -lean_inc(x_81); -lean_dec(x_75); -x_82 = lean_box(0); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_ctor_get(x_75, 1); -lean_inc(x_84); -lean_dec(x_75); -x_85 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6; -x_86 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_74, x_85, x_7, x_8, x_9, x_10, x_84); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_86, 0); -lean_dec(x_88); -x_89 = lean_box(0); -lean_ctor_set(x_86, 0, x_89); -return x_86; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_86, 1); -lean_inc(x_90); -lean_dec(x_86); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_93 = lean_ctor_get(x_59, 1); -lean_inc(x_93); -lean_dec(x_59); -x_110 = lean_st_ref_get(x_10, x_93); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_111, 3); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); -lean_dec(x_112); -if (x_113 == 0) -{ -lean_object* x_114; -lean_dec(x_9); -lean_dec(x_7); -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_94 = x_114; -goto block_109; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_115 = lean_ctor_get(x_110, 1); -lean_inc(x_115); -lean_dec(x_110); -x_116 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -x_117 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_116, x_7, x_8, x_9, x_10, x_115); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_unbox(x_118); -lean_dec(x_118); -if (x_119 == 0) -{ -lean_object* x_120; -lean_dec(x_9); -lean_dec(x_7); -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -lean_dec(x_117); -x_94 = x_120; -goto block_109; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_121 = lean_ctor_get(x_117, 1); -lean_inc(x_121); -lean_dec(x_117); -x_122 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8; -x_123 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_116, x_122, x_7, x_8, x_9, x_10, x_121); -lean_dec(x_9); -lean_dec(x_7); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_94 = x_124; -goto block_109; -} -} -block_109: -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_95 = lean_st_ref_get(x_10, x_94); -lean_dec(x_10); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_97 = lean_st_ref_get(x_8, x_96); -lean_dec(x_8); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -lean_dec(x_99); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_15); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_97, 0, x_102); -return x_97; -} -else -{ -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_97, 0); -x_104 = lean_ctor_get(x_97, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_97); -x_105 = lean_ctor_get(x_103, 0); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_15); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_104); -return x_108; -} -} -} -} -else -{ -uint8_t x_125; -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_125 = !lean_is_exclusive(x_59); -if (x_125 == 0) -{ -return x_59; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_59, 0); -x_127 = lean_ctor_get(x_59, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_59); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -else -{ -uint8_t x_129; -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_129 = !lean_is_exclusive(x_56); -if (x_129 == 0) -{ -return x_56; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_56, 0); -x_131 = lean_ctor_get(x_56, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_56); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -} -} -else -{ -uint8_t x_133; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -x_133 = !lean_is_exclusive(x_19); -if (x_133 == 0) -{ -return x_19; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_19, 0); -x_135 = lean_ctor_get(x_19, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_19); -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; -} -} -} -block_151: -{ -if (x_138 == 0) -{ -x_18 = x_139; -goto block_137; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_object* x_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_inc(x_6); -x_140 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_140, 0, x_6); -x_141 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_143 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10; -x_144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_6); +x_24 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); lean_inc(x_17); -x_145 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_145, 0, x_17); -x_146 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_141); -x_148 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; -x_149 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_148, x_147, x_7, x_8, x_9, x_10, x_139); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_18 = x_150; -goto block_137; +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_17); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +x_31 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_18, x_30, x_7, x_8, x_9, x_10, x_20); +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_Lean_Meta_SynthInstance_tryResolveCore___lambda__3(x_6, x_17, x_18, x_5, x_16, x_4, x_15, x_32, x_7, x_8, x_9, x_10, x_33); +lean_dec(x_32); +return x_34; } } } else { -uint8_t x_164; +uint8_t x_47; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -8167,23 +8127,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_164 = !lean_is_exclusive(x_12); -if (x_164 == 0) +x_47 = !lean_is_exclusive(x_12); +if (x_47 == 0) { return x_12; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_12, 0); -x_166 = lean_ctor_get(x_12, 1); -lean_inc(x_166); -lean_inc(x_165); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_12, 0); +x_49 = lean_ctor_get(x_12, 1); +lean_inc(x_49); +lean_inc(x_48); lean_dec(x_12); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -return x_167; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } @@ -8214,7 +8174,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1), 11, 4); +x_15 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4), 11, 4); lean_closure_set(x_15, 0, x_11); lean_closure_set(x_15, 1, x_13); lean_closure_set(x_15, 2, x_2); @@ -8252,6 +8212,41 @@ return x_20; } } } +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3(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_8); +return x_14; +} +} static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__1() { _start: { @@ -8470,11 +8465,11 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean lean_inc(x_2); x_20 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_20, 0, x_2); -x_21 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_21 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_23 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -8492,7 +8487,7 @@ lean_ctor_set(x_32, 0, x_31); x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_24); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_34 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -8574,11 +8569,11 @@ lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean lean_inc(x_2); x_56 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_56, 0, x_2); -x_57 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_57 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2; x_58 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_59 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4; x_60 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); @@ -8596,7 +8591,7 @@ lean_ctor_set(x_68, 0, x_67); x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_60); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_70 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -8692,11 +8687,11 @@ lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean lean_inc(x_2); x_94 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_94, 0, x_2); -x_95 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2; +x_95 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___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_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4; +x_97 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___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); @@ -8714,7 +8709,7 @@ lean_ctor_set(x_106, 0, x_105); x_107 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_107, 0, x_98); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_108 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_109 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_109, 0, x_107); lean_ctor_set(x_109, 1, x_108); @@ -8840,7 +8835,7 @@ lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; x_221 = lean_ctor_get(x_215, 1); lean_inc(x_221); lean_dec(x_215); -x_222 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; +x_222 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; x_223 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_222, x_4, x_5, x_6, x_7, x_8, x_9, x_221); x_224 = lean_ctor_get(x_223, 0); lean_inc(x_224); @@ -9592,7 +9587,7 @@ lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); lean_inc(x_199); lean_dec(x_197); -x_200 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; +x_200 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; x_201 = l___private_Lean_Util_Trace_0__Lean_addNode___at_Lean_Meta_SynthInstance_tryResolve___spec__2(x_195, x_200, x_193, x_4, x_5, x_6, x_7, x_8, x_9, x_199); lean_dec(x_9); lean_dec(x_8); @@ -9629,7 +9624,7 @@ lean_inc(x_206); x_207 = lean_ctor_get(x_197, 1); lean_inc(x_207); lean_dec(x_197); -x_208 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; +x_208 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; x_209 = l___private_Lean_Util_Trace_0__Lean_addNode___at_Lean_Meta_SynthInstance_tryResolve___spec__2(x_195, x_208, x_193, x_4, x_5, x_6, x_7, x_8, x_9, x_207); lean_dec(x_9); lean_dec(x_8); @@ -9932,19 +9927,38 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_wakeUp_match__1___rar return x_2; } } +lean_object* l_Lean_Meta_SynthInstance_wakeUp___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +} static lean_object* _init_l_Lean_Meta_SynthInstance_wakeUp___closed__1() { _start: { lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_wakeUp___lambda__1___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_wakeUp___closed__2() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string("skip answer containing metavariables "); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_wakeUp___closed__2() { +static lean_object* _init_l_Lean_Meta_SynthInstance_wakeUp___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_wakeUp___closed__1; +x_1 = l_Lean_Meta_SynthInstance_wakeUp___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -9958,6 +9972,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_3); x_10 = lean_ctor_get(x_2, 0); x_11 = lean_st_ref_get(x_8, x_9); lean_dec(x_8); @@ -9982,6 +9997,7 @@ lean_ctor_set(x_18, 1, x_1); x_19 = lean_array_push(x_17, x_18); lean_ctor_set(x_14, 2, x_19); x_20 = lean_st_ref_set(x_4, x_14, x_15); +lean_dec(x_4); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -10028,6 +10044,7 @@ lean_ctor_set(x_33, 1, x_28); lean_ctor_set(x_33, 2, x_32); lean_ctor_set(x_33, 3, x_30); x_34 = lean_st_ref_set(x_4, x_33, x_15); +lean_dec(x_4); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); if (lean_is_exclusive(x_34)) { @@ -10051,128 +10068,131 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_85; uint8_t x_86; +lean_object* x_39; lean_object* x_40; lean_object* x_78; uint8_t x_79; x_39 = lean_ctor_get(x_1, 0); lean_inc(x_39); lean_dec(x_1); -x_85 = lean_ctor_get(x_39, 0); -lean_inc(x_85); -x_86 = l_Array_isEmpty___rarg(x_85); -lean_dec(x_85); -if (x_86 == 0) +x_78 = lean_ctor_get(x_39, 0); +lean_inc(x_78); +x_79 = l_Array_isEmpty___rarg(x_78); +lean_dec(x_78); +if (x_79 == 0) { -lean_object* x_87; -x_87 = lean_box(0); -x_40 = x_87; -goto block_84; +lean_object* x_80; +x_80 = lean_box(0); +x_40 = x_80; +goto block_77; } else { -lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_88 = lean_ctor_get(x_39, 1); -lean_inc(x_88); -x_89 = lean_unsigned_to_nat(0u); -x_90 = lean_nat_dec_eq(x_88, x_89); -lean_dec(x_88); -if (x_90 == 0) +lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_81 = lean_ctor_get(x_39, 1); +lean_inc(x_81); +x_82 = lean_unsigned_to_nat(0u); +x_83 = lean_nat_dec_eq(x_81, x_82); +lean_dec(x_81); +if (x_83 == 0) { -lean_object* x_91; -x_91 = lean_box(0); -x_40 = x_91; -goto block_84; +lean_object* x_84; +x_84 = lean_box(0); +x_40 = x_84; +goto block_77; } else { -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; uint8_t x_99; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_92 = lean_st_ref_get(x_8, x_9); +lean_dec(x_3); +x_85 = lean_st_ref_get(x_8, x_9); lean_dec(x_8); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_st_ref_take(x_4, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_ctor_get(x_39, 2); -lean_inc(x_97); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_4, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_ctor_get(x_39, 2); +lean_inc(x_90); lean_dec(x_39); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_99 = !lean_is_exclusive(x_95); -if (x_99 == 0) +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = !lean_is_exclusive(x_88); +if (x_92 == 0) { -lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_100 = lean_ctor_get(x_95, 0); -lean_dec(x_100); -lean_ctor_set(x_95, 0, x_98); -x_101 = lean_st_ref_set(x_4, x_95, x_96); -x_102 = !lean_is_exclusive(x_101); -if (x_102 == 0) +lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_93 = lean_ctor_get(x_88, 0); +lean_dec(x_93); +lean_ctor_set(x_88, 0, x_91); +x_94 = lean_st_ref_set(x_4, x_88, x_89); +lean_dec(x_4); +x_95 = !lean_is_exclusive(x_94); +if (x_95 == 0) { -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_101, 0); -lean_dec(x_103); -x_104 = lean_box(0); -lean_ctor_set(x_101, 0, x_104); -return x_101; +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_94, 0); +lean_dec(x_96); +x_97 = lean_box(0); +lean_ctor_set(x_94, 0, x_97); +return x_94; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_101, 1); -lean_inc(x_105); -lean_dec(x_101); -x_106 = lean_box(0); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -return x_107; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_94, 1); +lean_inc(x_98); +lean_dec(x_94); +x_99 = lean_box(0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +return x_100; } } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_108 = lean_ctor_get(x_95, 1); -x_109 = lean_ctor_get(x_95, 2); -x_110 = lean_ctor_get(x_95, 3); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_95); -x_111 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_111, 0, x_98); -lean_ctor_set(x_111, 1, x_108); -lean_ctor_set(x_111, 2, x_109); -lean_ctor_set(x_111, 3, x_110); -x_112 = lean_st_ref_set(x_4, x_111, x_96); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_114 = x_112; +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_101 = lean_ctor_get(x_88, 1); +x_102 = lean_ctor_get(x_88, 2); +x_103 = lean_ctor_get(x_88, 3); +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_88); +x_104 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_104, 0, x_91); +lean_ctor_set(x_104, 1, x_101); +lean_ctor_set(x_104, 2, x_102); +lean_ctor_set(x_104, 3, x_103); +x_105 = lean_st_ref_set(x_4, x_104, x_89); +lean_dec(x_4); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; } else { - lean_dec_ref(x_112); - x_114 = lean_box(0); + lean_dec_ref(x_105); + x_107 = lean_box(0); } -x_115 = lean_box(0); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 0); +x_108 = lean_box(0); +if (lean_is_scalar(x_107)) { + x_109 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_114; + x_109 = x_107; } -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -return x_116; +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_106); +return x_109; } } } -block_84: +block_77: { lean_object* x_41; lean_dec(x_40); @@ -10183,7 +10203,7 @@ lean_inc(x_5); x_41 = l_Lean_Meta_openAbstractMVarsResult(x_39, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_41) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_42, 1); @@ -10195,171 +10215,132 @@ lean_dec(x_41); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = lean_st_ref_get(x_8, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); -lean_dec(x_48); -if (x_49 == 0) -{ -uint8_t x_50; -lean_dec(x_45); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_46, 0); -lean_dec(x_51); -x_52 = lean_box(0); -lean_ctor_set(x_46, 0, x_52); -return x_46; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_46, 1); -lean_inc(x_53); -lean_dec(x_46); -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; uint8_t x_60; -x_56 = lean_ctor_get(x_46, 1); -lean_inc(x_56); -lean_dec(x_46); -x_57 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_58 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_unbox(x_59); -lean_dec(x_59); -if (x_60 == 0) -{ -uint8_t x_61; -lean_dec(x_45); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_58, 0); -lean_dec(x_62); -x_63 = lean_box(0); -lean_ctor_set(x_58, 0, x_63); -return x_58; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_58, 1); +x_46 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_62 = lean_st_ref_get(x_8, x_44); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_63, 3); lean_inc(x_64); -lean_dec(x_58); -x_65 = lean_box(0); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -return x_66; +lean_dec(x_63); +x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*1); +lean_dec(x_64); +if (x_65 == 0) +{ +lean_object* x_66; uint8_t x_67; +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +lean_dec(x_62); +x_67 = 0; +x_47 = x_67; +x_48 = x_66; +goto block_61; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_dec(x_62); +x_69 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_unbox(x_70); +lean_dec(x_70); +x_47 = x_72; +x_48 = x_71; +goto block_61; +} +block_61: +{ +lean_object* x_49; +x_49 = l_Lean_Meta_SynthInstance_wakeUp___closed__1; +if (x_47 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_45); +x_50 = lean_box(0); +x_51 = lean_apply_8(x_49, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_45); +x_53 = l_Lean_Meta_SynthInstance_wakeUp___closed__3; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_46, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_apply_8(x_49, x_58, x_3, x_4, x_5, x_6, x_7, x_8, x_59); +return x_60; +} } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_67 = lean_ctor_get(x_58, 1); -lean_inc(x_67); -lean_dec(x_58); -x_68 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_68, 0, x_45); -x_69 = l_Lean_Meta_SynthInstance_wakeUp___closed__2; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_57, x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_67); +uint8_t x_73; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -x_76 = lean_box(0); -lean_ctor_set(x_73, 0, x_76); -return x_73; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -lean_dec(x_73); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -return x_79; -} -} -} -} -else -{ -uint8_t x_80; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_80 = !lean_is_exclusive(x_41); -if (x_80 == 0) +lean_dec(x_4); +lean_dec(x_3); +x_73 = !lean_is_exclusive(x_41); +if (x_73 == 0) { return x_41; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_41, 0); -x_82 = lean_ctor_get(x_41, 1); -lean_inc(x_82); -lean_inc(x_81); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_41, 0); +x_75 = lean_ctor_get(x_41, 1); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_41); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } } } } +lean_object* l_Lean_Meta_SynthInstance_wakeUp___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_SynthInstance_wakeUp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} lean_object* l_Lean_Meta_SynthInstance_wakeUp___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_SynthInstance_wakeUp(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; } @@ -10535,7 +10516,118 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withMCtx___at___private_Lean_Meta_S return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Meta_abstractMVars(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +x_13 = l_Lean_Meta_inferType(x_12, x_4, x_5, x_6, x_7, x_11); +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; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_2, 4); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_16, x_17); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_15); +lean_ctor_set(x_19, 2, x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_ctor_get(x_2, 4); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_22, x_23); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_10); +lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_25, 2, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_10); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +return x_13; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_13, 0); +x_29 = lean_ctor_get(x_13, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_13); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_9); +if (x_31 == 0) +{ +return x_9; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_9); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -10543,16 +10635,16 @@ x_1 = lean_mk_string("val: "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1; +x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -10560,58 +10652,58 @@ x_1 = lean_mk_string("size: "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4() { +static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3; +x_1 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___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* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; uint8_t x_64; lean_object* x_65; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_87 = lean_st_ref_get(x_7, x_8); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_88, 3); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); -lean_dec(x_89); -if (x_90 == 0) +lean_object* x_9; uint8_t x_43; lean_object* x_44; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_66 = lean_st_ref_get(x_7, x_8); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_92 = 0; -x_64 = x_92; -x_65 = x_91; -goto block_86; +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_43 = x_71; +x_44 = x_70; +goto block_65; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -lean_inc(x_3); -x_94 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_unbox(x_95); -lean_dec(x_95); -x_64 = x_97; -x_65 = x_96; -goto block_86; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +lean_inc(x_2); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2, x_4, x_5, x_6, x_7, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_43 = x_76; +x_44 = x_75; +goto block_65; } -block_63: +block_42: { lean_object* x_10; lean_inc(x_7); @@ -10621,281 +10713,174 @@ lean_inc(x_4); x_10 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_9); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 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_41 = lean_st_ref_get(x_7, x_12); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); -lean_dec(x_43); -if (x_44 == 0) +x_27 = lean_st_ref_get(x_7, x_12); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1); +lean_dec(x_29); +if (x_30 == 0) { -lean_object* x_45; -lean_dec(x_3); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_13 = x_45; -goto block_40; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -lean_dec(x_41); -lean_inc(x_3); -x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_46); -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) -{ -lean_object* x_50; -lean_dec(x_3); -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_13 = x_50; -goto block_40; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -lean_inc(x_11); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_11); -x_53 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_56, x_4, x_5, x_6, x_7, x_51); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_13 = x_58; -goto block_40; -} -} -block_40: -{ -lean_object* x_14; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_14 = l_Lean_Meta_abstractMVars(x_11, x_4, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 2); -lean_inc(x_17); -x_18 = l_Lean_Meta_inferType(x_17, x_4, x_5, x_6, x_7, x_16); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_2, 4); -lean_inc(x_21); -lean_dec(x_2); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_21, x_22); -lean_dec(x_21); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_23); -lean_ctor_set(x_18, 0, x_24); -return x_18; -} -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; lean_object* x_31; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_ctor_get(x_2, 4); -lean_inc(x_27); -lean_dec(x_2); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_27, x_28); +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); lean_dec(x_27); -x_30 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_30, 0, x_15); -lean_ctor_set(x_30, 1, x_25); -lean_ctor_set(x_30, 2, x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_26); -return x_31; -} +x_32 = 0; +x_13 = x_32; +x_14 = x_31; +goto block_26; } else { -uint8_t x_32; -lean_dec(x_15); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_18); -if (x_32 == 0) -{ -return x_18; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_18, 0); -x_34 = lean_ctor_get(x_18, 1); -lean_inc(x_34); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_27, 1); lean_inc(x_33); -lean_dec(x_18); -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_dec(x_27); +lean_inc(x_2); +x_34 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2, x_4, x_5, x_6, x_7, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_unbox(x_35); +lean_dec(x_35); +x_13 = x_37; +x_14 = x_36; +goto block_26; } -} -} -else +block_26: { -uint8_t x_36; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_dec(x_2); -x_36 = !lean_is_exclusive(x_14); -if (x_36 == 0) -{ -return x_14; +x_15 = lean_box(0); +x_16 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1(x_11, x_3, x_15, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_3); +return x_16; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_14, 0); -x_38 = lean_ctor_get(x_14, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_14); -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; -} +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_inc(x_11); +x_17 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_17, 0, x_11); +x_18 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2, x_21, x_4, x_5, x_6, x_7, x_14); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1(x_11, x_3, x_23, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_23); +lean_dec(x_3); +return x_25; } } } else { -uint8_t x_59; +uint8_t x_38; 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_59 = !lean_is_exclusive(x_10); -if (x_59 == 0) +x_38 = !lean_is_exclusive(x_10); +if (x_38 == 0) { return x_10; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_10, 0); -x_61 = lean_ctor_get(x_10, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_10, 0); +x_40 = lean_ctor_get(x_10, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_10); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } -block_86: +block_65: { -if (x_64 == 0) +if (x_43 == 0) { -x_9 = x_65; -goto block_63; +x_9 = x_44; +goto block_42; } else { -lean_object* x_66; +lean_object* x_45; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_66 = l_Lean_Meta_inferType(x_1, x_4, x_5, x_6, x_7, x_65); -if (lean_obj_tag(x_66) == 0) +x_45 = l_Lean_Meta_inferType(x_1, x_4, x_5, x_6, x_7, x_44); +if (lean_obj_tag(x_45) == 0) { -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; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_ctor_get(x_2, 4); -lean_inc(x_69); -x_70 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_69); -x_71 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_76, 0, x_67); -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -lean_inc(x_3); -x_80 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_79, x_4, x_5, x_6, x_7, x_68); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_9 = x_81; -goto block_63; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_3, 4); +lean_inc(x_48); +x_49 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_48); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_55, 0, x_46); +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_inc(x_2); +x_59 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2, x_58, x_4, x_5, x_6, x_7, x_47); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_9 = x_60; +goto block_42; } else { -uint8_t x_82; +uint8_t x_61; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -10903,23 +10888,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_82 = !lean_is_exclusive(x_66); -if (x_82 == 0) +x_61 = !lean_is_exclusive(x_45); +if (x_61 == 0) { -return x_66; +return x_45; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_66, 0); -x_84 = lean_ctor_get(x_66, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_66); -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; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_45, 0); +x_63 = lean_ctor_get(x_45, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_45); +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; } } } @@ -10938,7 +10923,7 @@ static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_Synth _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_2 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -10953,14 +10938,24 @@ lean_inc(x_7); x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); x_9 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__2; -x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1), 8, 3); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2), 8, 3); lean_closure_set(x_10, 0, x_8); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_9); +lean_closure_set(x_10, 1, x_9); +lean_closure_set(x_10, 2, x_1); x_11 = l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1___rarg(x_7, x_10, x_2, x_3, x_4, x_5, x_6); return x_11; } } +lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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: { @@ -10975,6 +10970,8 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); x_15 = l_Lean_Meta_SynthInstance_wakeUp(x_1, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_14); @@ -11000,6 +10997,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_21 = !lean_is_exclusive(x_15); if (x_21 == 0) @@ -11028,6 +11027,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_25 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_25, 0, x_5); @@ -11048,7 +11049,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_addAnswer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_2 = l_Lean_Meta_SynthInstance_addAnswer___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -11166,7 +11167,7 @@ if (x_31 == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_32 = lean_ctor_get(x_29, 3); -x_33 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_32, x_15, x_18); +x_33 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_32, x_15, x_18); lean_ctor_set(x_29, 3, x_33); x_34 = lean_st_ref_set(x_3, x_29, x_30); x_35 = !lean_is_exclusive(x_34); @@ -11224,8 +11225,6 @@ x_45 = lean_usize_of_nat(x_38); lean_dec(x_38); x_46 = lean_box(0); x_47 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_13, x_21, x_44, x_45, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_36); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_21); return x_47; } @@ -11288,8 +11287,6 @@ x_58 = lean_usize_of_nat(x_49); lean_dec(x_49); x_59 = lean_box(0); x_60 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_13, x_21, x_57, x_58, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_48); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_21); return x_60; } @@ -11308,7 +11305,7 @@ lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); lean_dec(x_29); -x_65 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_64, x_15, x_18); +x_65 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_64, x_15, x_18); x_66 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_66, 0, x_61); lean_ctor_set(x_66, 1, x_62); @@ -11385,8 +11382,6 @@ x_79 = lean_usize_of_nat(x_70); lean_dec(x_70); x_80 = lean_box(0); x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_13, x_21, x_78, x_79, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_68); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_21); return x_81; } @@ -11459,7 +11454,7 @@ if (lean_is_exclusive(x_92)) { lean_dec_ref(x_92); x_98 = lean_box(0); } -x_99 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_97, x_15, x_88); +x_99 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_97, x_15, x_88); if (lean_is_scalar(x_98)) { x_100 = lean_alloc_ctor(0, 4, 0); } else { @@ -11540,8 +11535,6 @@ x_113 = lean_usize_of_nat(x_104); lean_dec(x_104); x_114 = lean_box(0); x_115 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_13, x_83, x_112, x_113, x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_102); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_83); return x_115; } @@ -11631,7 +11624,7 @@ if (lean_is_exclusive(x_129)) { lean_dec_ref(x_129); x_135 = lean_box(0); } -x_136 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_134, x_15, x_125); +x_136 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_134, x_15, x_125); if (lean_is_scalar(x_135)) { x_137 = lean_alloc_ctor(0, 4, 0); } else { @@ -11712,8 +11705,6 @@ x_150 = lean_usize_of_nat(x_141); lean_dec(x_141); x_151 = lean_box(0); x_152 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_13, x_118, x_149, x_150, x_151, x_2, x_3, x_4, x_5, x_6, x_7, x_139); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_118); return x_152; } @@ -11865,7 +11856,7 @@ lean_dec(x_166); x_169 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_10); x_170 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_170, 0, x_169); -x_171 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4; +x_171 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4; x_172 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_172, 0, x_171); lean_ctor_set(x_172, 1, x_170); @@ -11879,7 +11870,7 @@ lean_ctor_set(x_176, 0, x_175); x_177 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_177, 0, x_174); lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10; +x_178 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10; x_179 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_179, 0, x_177); lean_ctor_set(x_179, 1, x_178); @@ -11888,12 +11879,12 @@ lean_ctor_set(x_180, 0, x_167); x_181 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_181, 0, x_179); lean_ctor_set(x_181, 1, x_180); -x_182 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_182 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_183 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_183, 0, x_181); lean_ctor_set(x_183, 1, x_182); x_184 = l_Lean_Meta_SynthInstance_addAnswer___closed__2; -x_185 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_184, x_183, x_2, x_3, x_4, x_5, x_6, x_7, x_168); +x_185 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_184, x_183, x_2, x_3, x_4, x_5, x_6, x_7, x_168); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -11967,8 +11958,6 @@ lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__1(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_2); return x_15; } @@ -12136,7 +12125,7 @@ lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec(x_34); lean_dec(x_33); lean_dec(x_1); -x_38 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_31, x_15, x_22); +x_38 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_31, x_15, x_22); lean_ctor_set(x_26, 3, x_38); x_39 = lean_st_ref_set(x_3, x_26, x_27); lean_dec(x_3); @@ -12173,7 +12162,7 @@ lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_dec(x_34); lean_dec(x_33); lean_dec(x_1); -x_47 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_31, x_15, x_22); +x_47 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_31, x_15, x_22); lean_ctor_set(x_26, 3, x_47); x_48 = lean_st_ref_set(x_3, x_26, x_27); lean_dec(x_3); @@ -12208,7 +12197,7 @@ x_56 = lean_usize_of_nat(x_34); lean_dec(x_34); x_57 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_consume___spec__1(x_1, x_33, x_55, x_56, x_30); lean_dec(x_33); -x_58 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_31, x_15, x_22); +x_58 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_31, x_15, x_22); lean_ctor_set(x_26, 3, x_58); lean_ctor_set(x_26, 2, x_57); x_59 = lean_st_ref_set(x_3, x_26, x_27); @@ -12262,7 +12251,7 @@ lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean lean_dec(x_70); lean_dec(x_69); lean_dec(x_1); -x_75 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_67, x_15, x_74); +x_75 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_67, x_15, x_74); lean_ctor_set(x_26, 3, x_75); x_76 = lean_st_ref_set(x_3, x_26, x_27); lean_dec(x_3); @@ -12296,7 +12285,7 @@ lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean lean_dec(x_70); lean_dec(x_69); lean_dec(x_1); -x_82 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_67, x_15, x_74); +x_82 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_67, x_15, x_74); lean_ctor_set(x_26, 3, x_82); x_83 = lean_st_ref_set(x_3, x_26, x_27); lean_dec(x_3); @@ -12328,7 +12317,7 @@ x_89 = lean_usize_of_nat(x_70); lean_dec(x_70); x_90 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_consume___spec__1(x_1, x_69, x_88, x_89, x_66); lean_dec(x_69); -x_91 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_67, x_15, x_74); +x_91 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_67, x_15, x_74); lean_ctor_set(x_26, 3, x_91); lean_ctor_set(x_26, 2, x_90); x_92 = lean_st_ref_set(x_3, x_26, x_27); @@ -12398,7 +12387,7 @@ lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_dec(x_104); lean_dec(x_102); lean_dec(x_1); -x_109 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_100, x_15, x_108); +x_109 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_100, x_15, x_108); x_110 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_110, 0, x_97); lean_ctor_set(x_110, 1, x_98); @@ -12436,7 +12425,7 @@ lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_dec(x_104); lean_dec(x_102); lean_dec(x_1); -x_117 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_100, x_15, x_108); +x_117 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_100, x_15, x_108); x_118 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_118, 0, x_97); lean_ctor_set(x_118, 1, x_98); @@ -12472,7 +12461,7 @@ x_125 = lean_usize_of_nat(x_104); lean_dec(x_104); x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_consume___spec__1(x_1, x_102, x_124, x_125, x_99); lean_dec(x_102); -x_127 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(x_100, x_15, x_108); +x_127 = l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_100, x_15, x_108); x_128 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_128, 0, x_97); lean_ctor_set(x_128, 1, x_98); @@ -12871,6 +12860,287 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_generate_match__1___r return x_2; } } +lean_object* l_Lean_Meta_SynthInstance_generate___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_st_ref_get(x_12, x_13); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_8, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_38, 1); +x_42 = lean_array_get_size(x_41); +x_43 = lean_unsigned_to_nat(1u); +x_44 = lean_nat_sub(x_42, x_43); +x_45 = lean_nat_dec_lt(x_44, x_42); +lean_dec(x_42); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +lean_dec(x_5); +x_46 = lean_st_ref_set(x_8, x_38, x_39); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_14 = x_47; +goto block_34; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_array_fget(x_41, x_44); +x_49 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7; +x_50 = lean_array_fset(x_41, x_44, x_49); +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_48, 4); +lean_dec(x_52); +lean_ctor_set(x_48, 4, x_5); +x_53 = lean_array_fset(x_50, x_44, x_48); +lean_dec(x_44); +lean_ctor_set(x_38, 1, x_53); +x_54 = lean_st_ref_set(x_8, x_38, x_39); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_14 = x_55; +goto block_34; +} +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; +x_56 = lean_ctor_get(x_48, 0); +x_57 = lean_ctor_get(x_48, 1); +x_58 = lean_ctor_get(x_48, 2); +x_59 = lean_ctor_get(x_48, 3); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_48); +x_60 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_5); +x_61 = lean_array_fset(x_50, x_44, x_60); +lean_dec(x_44); +lean_ctor_set(x_38, 1, x_61); +x_62 = lean_st_ref_set(x_8, x_38, x_39); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_14 = x_63; +goto block_34; +} +} +} +else +{ +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; uint8_t x_71; +x_64 = lean_ctor_get(x_38, 0); +x_65 = lean_ctor_get(x_38, 1); +x_66 = lean_ctor_get(x_38, 2); +x_67 = lean_ctor_get(x_38, 3); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_38); +x_68 = lean_array_get_size(x_65); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_sub(x_68, x_69); +x_71 = lean_nat_dec_lt(x_70, x_68); +lean_dec(x_68); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_70); +lean_dec(x_5); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_64); +lean_ctor_set(x_72, 1, x_65); +lean_ctor_set(x_72, 2, x_66); +lean_ctor_set(x_72, 3, x_67); +x_73 = lean_st_ref_set(x_8, x_72, x_39); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_14 = x_74; +goto block_34; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_75 = lean_array_fget(x_65, x_70); +x_76 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7; +x_77 = lean_array_fset(x_65, x_70, x_76); +x_78 = lean_ctor_get(x_75, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_75, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_75, 2); +lean_inc(x_80); +x_81 = lean_ctor_get(x_75, 3); +lean_inc(x_81); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + lean_ctor_release(x_75, 3); + lean_ctor_release(x_75, 4); + x_82 = x_75; +} else { + lean_dec_ref(x_75); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(0, 5, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_78); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_80); +lean_ctor_set(x_83, 3, x_81); +lean_ctor_set(x_83, 4, x_5); +x_84 = lean_array_fset(x_77, x_70, x_83); +lean_dec(x_70); +x_85 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_85, 0, x_64); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_66); +lean_ctor_set(x_85, 3, x_67); +x_86 = lean_st_ref_set(x_8, x_85, x_39); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_14 = x_87; +goto block_34; +} +} +block_34: +{ +lean_object* x_15; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_2); +x_15 = l_Lean_Meta_SynthInstance_tryResolve(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +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); +lean_dec(x_2); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_15, 0, x_19); +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +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; +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_28, 0, x_2); +lean_ctor_set(x_28, 1, x_4); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set(x_28, 4, x_27); +x_29 = l_Lean_Meta_SynthInstance_consume(x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +return x_29; +} +} +else +{ +uint8_t x_30; +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); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +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; +} +} +} +} +} static lean_object* _init_l_Lean_Meta_SynthInstance_generate___closed__1() { _start: { @@ -12883,7 +13153,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_generate___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_2 = l_Lean_Meta_SynthInstance_generate___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -12931,356 +13201,89 @@ x_16 = lean_unsigned_to_nat(0u); x_17 = lean_nat_dec_eq(x_15, x_16); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_sub(x_15, x_18); lean_dec(x_15); x_20 = l_Lean_instInhabitedExpr; x_21 = lean_array_get(x_20, x_14, x_19); lean_dec(x_14); -x_95 = lean_st_ref_get(x_6, x_10); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_96, 3); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_ctor_get_uint8(x_97, sizeof(void*)*1); -lean_dec(x_97); -if (x_98 == 0) -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_95, 1); -lean_inc(x_99); -lean_dec(x_95); -x_22 = x_99; -goto block_94; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_100 = lean_ctor_get(x_95, 1); -lean_inc(x_100); -lean_dec(x_95); -x_101 = l_Lean_Meta_SynthInstance_generate___closed__2; -x_102 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_101, x_1, x_2, x_3, x_4, x_5, x_6, x_100); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_unbox(x_103); -lean_dec(x_103); -if (x_104 == 0) -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_22 = x_105; -goto block_94; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_106 = lean_ctor_get(x_102, 1); -lean_inc(x_106); -lean_dec(x_102); -lean_inc(x_21); -x_107 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_107, 0, x_21); -x_108 = l_Lean_Meta_SynthInstance_generate___closed__4; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_112 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_101, x_111, x_1, x_2, x_3, x_4, x_5, x_6, x_106); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_22 = x_113; -goto block_94; -} -} -block_94: -{ -lean_object* x_23; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_43 = lean_st_ref_get(x_6, x_22); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_st_ref_take(x_2, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_46, 1); -x_50 = lean_array_get_size(x_49); -x_51 = lean_nat_sub(x_50, x_18); -x_52 = lean_nat_dec_lt(x_51, x_50); -lean_dec(x_50); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_51); -lean_dec(x_19); -x_53 = lean_st_ref_set(x_2, x_46, x_47); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_23 = x_54; -goto block_42; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_55 = lean_array_fget(x_49, x_51); -x_56 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7; -x_57 = lean_array_fset(x_49, x_51, x_56); -x_58 = !lean_is_exclusive(x_55); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_55, 4); -lean_dec(x_59); -lean_ctor_set(x_55, 4, x_19); -x_60 = lean_array_fset(x_57, x_51, x_55); -lean_dec(x_51); -lean_ctor_set(x_46, 1, x_60); -x_61 = lean_st_ref_set(x_2, x_46, x_47); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_23 = x_62; -goto block_42; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_63 = lean_ctor_get(x_55, 0); -x_64 = lean_ctor_get(x_55, 1); -x_65 = lean_ctor_get(x_55, 2); -x_66 = lean_ctor_get(x_55, 3); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_55); -x_67 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_67, 0, x_63); -lean_ctor_set(x_67, 1, x_64); -lean_ctor_set(x_67, 2, x_65); -lean_ctor_set(x_67, 3, x_66); -lean_ctor_set(x_67, 4, x_19); -x_68 = lean_array_fset(x_57, x_51, x_67); -lean_dec(x_51); -lean_ctor_set(x_46, 1, x_68); -x_69 = lean_st_ref_set(x_2, x_46, x_47); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_23 = x_70; -goto block_42; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_71 = lean_ctor_get(x_46, 0); -x_72 = lean_ctor_get(x_46, 1); -x_73 = lean_ctor_get(x_46, 2); -x_74 = lean_ctor_get(x_46, 3); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_46); -x_75 = lean_array_get_size(x_72); -x_76 = lean_nat_sub(x_75, x_18); -x_77 = lean_nat_dec_lt(x_76, x_75); -lean_dec(x_75); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_76); -lean_dec(x_19); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_71); -lean_ctor_set(x_78, 1, x_72); -lean_ctor_set(x_78, 2, x_73); -lean_ctor_set(x_78, 3, x_74); -x_79 = lean_st_ref_set(x_2, x_78, x_47); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_23 = x_80; -goto block_42; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_81 = lean_array_fget(x_72, x_76); -x_82 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7; -x_83 = lean_array_fset(x_72, x_76, x_82); -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_81, 2); -lean_inc(x_86); -x_87 = lean_ctor_get(x_81, 3); -lean_inc(x_87); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - lean_ctor_release(x_81, 2); - lean_ctor_release(x_81, 3); - lean_ctor_release(x_81, 4); - x_88 = x_81; -} else { - lean_dec_ref(x_81); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 5, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_84); -lean_ctor_set(x_89, 1, x_85); -lean_ctor_set(x_89, 2, x_86); -lean_ctor_set(x_89, 3, x_87); -lean_ctor_set(x_89, 4, x_19); -x_90 = lean_array_fset(x_83, x_76, x_89); -lean_dec(x_76); -x_91 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_91, 0, x_71); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_73); -lean_ctor_set(x_91, 3, x_74); -x_92 = lean_st_ref_set(x_2, x_91, x_47); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_23 = x_93; -goto block_42; -} -} -block_42: -{ -lean_object* x_24; -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_11); -x_24 = l_Lean_Meta_SynthInstance_tryResolve(x_13, x_11, x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -lean_dec(x_12); -lean_dec(x_11); -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_26 = !lean_is_exclusive(x_24); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 0); -lean_dec(x_27); -x_28 = lean_box(0); -lean_ctor_set(x_24, 0, x_28); -return x_24; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -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_29); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_ctor_get(x_25, 0); -lean_inc(x_32); -lean_dec(x_25); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_36, 0, x_11); -lean_ctor_set(x_36, 1, x_12); -lean_ctor_set(x_36, 2, x_34); -lean_ctor_set(x_36, 3, x_35); -lean_ctor_set(x_36, 4, x_16); -x_37 = l_Lean_Meta_SynthInstance_consume(x_36, x_1, x_2, x_3, x_4, x_5, x_6, x_33); -return x_37; -} -} -else -{ -uint8_t x_38; -lean_dec(x_12); -lean_dec(x_11); -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_38 = !lean_is_exclusive(x_24); -if (x_38 == 0) -{ -return x_24; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_24, 0); -x_40 = lean_ctor_get(x_24, 1); -lean_inc(x_40); +x_22 = l_Lean_Meta_SynthInstance_generate___closed__2; +x_37 = lean_st_ref_get(x_6, x_10); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); lean_inc(x_39); -lean_dec(x_24); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_dec(x_37); +x_42 = 0; +x_23 = x_42; +x_24 = x_41; +goto block_36; } +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_23 = x_47; +x_24 = x_46; +goto block_36; } +block_36: +{ +if (x_23 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l_Lean_Meta_SynthInstance_generate___lambda__1(x_13, x_11, x_21, x_12, x_19, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_24); +return x_26; +} +else +{ +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_inc(x_21); +x_27 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_27, 0, x_21); +x_28 = l_Lean_Meta_SynthInstance_generate___closed__4; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_22, x_31, x_1, x_2, x_3, x_4, x_5, x_6, x_24); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Meta_SynthInstance_generate___lambda__1(x_13, x_11, x_21, x_12, x_19, x_33, x_1, x_2, x_3, x_4, x_5, x_6, x_34); +lean_dec(x_33); +return x_35; } } } 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; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -13290,92 +13293,101 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_114 = lean_st_ref_get(x_6, x_10); +x_48 = lean_st_ref_get(x_6, x_10); lean_dec(x_6); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_st_ref_take(x_2, x_115); -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_is_exclusive(x_117); -if (x_119 == 0) +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_2, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_120 = lean_ctor_get(x_117, 1); -x_121 = lean_array_pop(x_120); -lean_ctor_set(x_117, 1, x_121); -x_122 = lean_st_ref_set(x_2, x_117, x_118); +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_51, 1); +x_55 = lean_array_pop(x_54); +lean_ctor_set(x_51, 1, x_55); +x_56 = lean_st_ref_set(x_2, x_51, x_52); lean_dec(x_2); -x_123 = !lean_is_exclusive(x_122); -if (x_123 == 0) +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_122, 0); -lean_dec(x_124); -x_125 = lean_box(0); -lean_ctor_set(x_122, 0, x_125); -return x_122; +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +x_59 = lean_box(0); +lean_ctor_set(x_56, 0, x_59); +return x_56; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_122, 1); -lean_inc(x_126); -lean_dec(x_122); -x_127 = lean_box(0); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -return x_128; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_dec(x_56); +x_61 = lean_box(0); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +return x_62; } } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_129 = lean_ctor_get(x_117, 0); -x_130 = lean_ctor_get(x_117, 1); -x_131 = lean_ctor_get(x_117, 2); -x_132 = lean_ctor_get(x_117, 3); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_117); -x_133 = lean_array_pop(x_130); -x_134 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_134, 0, x_129); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_131); -lean_ctor_set(x_134, 3, x_132); -x_135 = lean_st_ref_set(x_2, x_134, x_118); +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; +x_63 = lean_ctor_get(x_51, 0); +x_64 = lean_ctor_get(x_51, 1); +x_65 = lean_ctor_get(x_51, 2); +x_66 = lean_ctor_get(x_51, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_51); +x_67 = lean_array_pop(x_64); +x_68 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_66); +x_69 = lean_st_ref_set(x_2, x_68, x_52); lean_dec(x_2); -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; +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; } else { - lean_dec_ref(x_135); - x_137 = lean_box(0); + lean_dec_ref(x_69); + x_71 = lean_box(0); } -x_138 = lean_box(0); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); +x_72 = lean_box(0); +if (lean_is_scalar(x_71)) { + x_73 = lean_alloc_ctor(0, 2, 0); } else { - x_139 = x_137; + x_73 = x_71; } -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -return x_139; +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_70); +return x_73; } } } } +lean_object* l_Lean_Meta_SynthInstance_generate___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, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_SynthInstance_generate___lambda__1(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); +return x_14; +} +} static lean_object* _init_l_Array_back___at_Lean_Meta_SynthInstance_getNextToResume___spec__1___closed__1() { _start: { @@ -13661,11 +13673,11 @@ x_23 = lean_nat_add(x_4, x_22); x_24 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_23); x_25 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_25, 0, x_24); -x_26 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4; +x_26 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10; +x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -13683,11 +13695,11 @@ lean_ctor_set(x_34, 0, x_20); x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_36 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_5, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_38 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_5, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_21); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -13795,7 +13807,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_resume___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_2 = l_Lean_Meta_SynthInstance_resume___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -14695,19 +14707,38 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_synth_match__1___rarg return x_2; } } +lean_object* l_Lean_Meta_SynthInstance_synth___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +} static lean_object* _init_l_Lean_Meta_SynthInstance_synth___closed__1() { _start: { lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_synth___lambda__1___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_synth___closed__2() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string("failed"); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_synth___closed__2() { +static lean_object* _init_l_Lean_Meta_SynthInstance_synth___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_synth___closed__1; +x_1 = l_Lean_Meta_SynthInstance_synth___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -14732,242 +14763,198 @@ x_10 = lean_unbox(x_9); lean_dec(x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_11 = lean_ctor_get(x_8, 1); lean_inc(x_11); lean_dec(x_8); -x_12 = lean_st_ref_get(x_6, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -lean_dec(x_14); -if (x_15 == 0) -{ -uint8_t x_16; -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_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_12, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_12, 0, x_18); -return x_12; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_dec(x_12); -x_23 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_23, x_1, x_2, x_3, x_4, x_5, x_6, x_22); +x_12 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_24 = lean_st_ref_get(x_6, x_11); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -x_26 = lean_unbox(x_25); +x_26 = lean_ctor_get(x_25, 3); +lean_inc(x_26); lean_dec(x_25); -if (x_26 == 0) -{ -uint8_t x_27; -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_27 = !lean_is_exclusive(x_24); +x_27 = lean_ctor_get_uint8(x_26, sizeof(void*)*1); +lean_dec(x_26); if (x_27 == 0) { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_24, 0); -lean_dec(x_28); -x_29 = lean_box(0); -lean_ctor_set(x_24, 0, x_29); -return x_24; +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +x_29 = 0; +x_13 = x_29; +x_14 = x_28; +goto block_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_30 = lean_ctor_get(x_24, 1); lean_inc(x_30); lean_dec(x_24); -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 -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = lean_ctor_get(x_24, 1); +x_31 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_30); +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_24); -x_34 = l_Lean_Meta_SynthInstance_synth___closed__2; -x_35 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(x_23, x_34, x_1, x_2, x_3, x_4, x_5, x_6, x_33); -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_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +lean_dec(x_31); +x_34 = lean_unbox(x_32); +lean_dec(x_32); +x_13 = x_34; +x_14 = x_33; +goto block_23; +} +block_23: { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -x_38 = lean_box(0); -lean_ctor_set(x_35, 0, x_38); -return x_35; +lean_object* x_15; +x_15 = l_Lean_Meta_SynthInstance_synth___closed__1; +if (x_13 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = lean_apply_8(x_15, x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +return x_17; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 1); -lean_inc(x_39); -lean_dec(x_35); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = l_Lean_Meta_SynthInstance_synth___closed__3; +x_19 = l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(x_12, x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_apply_8(x_15, x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_21); +return x_22; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_8, 1); -lean_inc(x_42); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_8, 1); +lean_inc(x_35); lean_dec(x_8); -x_43 = l_Lean_Meta_SynthInstance_getResult___rarg(x_2, x_3, x_4, x_5, x_6, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) +x_36 = l_Lean_Meta_SynthInstance_getResult___rarg(x_2, x_3, x_4, x_5, x_6, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_45; -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_7 = x_45; +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_7 = x_38; goto _start; } else { -uint8_t x_47; +uint8_t x_40; 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_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) { -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_43, 0); -lean_dec(x_48); -x_49 = !lean_is_exclusive(x_44); -if (x_49 == 0) +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_36, 0); +lean_dec(x_41); +x_42 = !lean_is_exclusive(x_37); +if (x_42 == 0) { -return x_43; +return x_36; } else { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_44, 0); -lean_inc(x_50); -lean_dec(x_44); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_43, 0, x_51); -return x_43; +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +lean_dec(x_37); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_36, 0, x_44); +return x_36; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_43, 1); -lean_inc(x_52); -lean_dec(x_43); -x_53 = lean_ctor_get(x_44, 0); -lean_inc(x_53); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - x_54 = x_44; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_36, 1); +lean_inc(x_45); +lean_dec(x_36); +x_46 = lean_ctor_get(x_37, 0); +lean_inc(x_46); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_47 = x_37; } else { - lean_dec_ref(x_44); - x_54 = lean_box(0); + lean_dec_ref(x_37); + x_47 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 1, 0); } else { - x_55 = x_54; + x_48 = x_47; } -lean_ctor_set(x_55, 0, x_53); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_52); -return x_56; +lean_ctor_set(x_48, 0, x_46); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_45); +return x_49; } } } } else { -uint8_t x_57; +uint8_t x_50; 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_57 = !lean_is_exclusive(x_8); -if (x_57 == 0) +x_50 = !lean_is_exclusive(x_8); +if (x_50 == 0) { return x_8; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_8, 0); -x_59 = lean_ctor_get(x_8, 1); -lean_inc(x_59); -lean_inc(x_58); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_8, 0); +x_52 = lean_ctor_get(x_8, 1); +lean_inc(x_52); +lean_inc(x_51); lean_dec(x_8); -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; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } } +lean_object* l_Lean_Meta_SynthInstance_synth___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_SynthInstance_synth___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} lean_object* l_Lean_Core_withCurrHeartbeats___at_Lean_Meta_SynthInstance_main___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: { @@ -15035,7 +15022,164 @@ lean_ctor_set(x_4, 3, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_main___lambda__1___closed__2() { +lean_object* l_Lean_Meta_SynthInstance_main___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) { +_start: +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_inc(x_1); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_1); +x_10 = 0; +x_11 = lean_box(0); +lean_inc(x_4); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_9, x_10, x_11, x_4, x_5, x_6, x_7, x_8); +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_get(x_7, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_5, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_20); +x_21 = l_Lean_Meta_SynthInstance_mkTableKey(x_20, x_1); +x_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +x_23 = l_Lean_Meta_SynthInstance_getMaxHeartbeats(x_22); +lean_dec(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_2); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_st_ref_get(x_7, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; +x_28 = lean_st_mk_ref(x_27, x_26); +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_box(1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_29); +lean_inc(x_24); +x_32 = l_Lean_Meta_SynthInstance_newSubgoal(x_20, x_21, x_13, x_31, x_24, x_29, x_4, x_5, x_6, x_7, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +lean_inc(x_7); +lean_inc(x_29); +x_34 = l_Lean_Meta_SynthInstance_synth(x_24, x_29, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_7, x_36); +lean_dec(x_7); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_get(x_29, x_38); +lean_dec(x_29); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +lean_ctor_set(x_39, 0, x_35); +return x_39; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +lean_dec(x_29); +lean_dec(x_7); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +return x_34; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_34, 0); +x_46 = lean_ctor_get(x_34, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_34); +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; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_29); +lean_dec(x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_48 = !lean_is_exclusive(x_32); +if (x_48 == 0) +{ +return x_32; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_32, 0); +x_50 = lean_ctor_get(x_32, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_32); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_SynthInstance_main___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -15043,1634 +15187,1503 @@ x_1 = lean_mk_string("main goal "); return x_1; } } -static lean_object* _init_l_Lean_Meta_SynthInstance_main___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_SynthInstance_main___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__2; +x_1 = l_Lean_Meta_SynthInstance_main___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_SynthInstance_main___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* l_Lean_Meta_SynthInstance_main___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) { _start: { -lean_object* x_9; uint8_t x_22; lean_object* x_23; lean_object* x_462; lean_object* x_463; lean_object* x_464; uint8_t x_465; -x_462 = lean_st_ref_get(x_7, x_8); -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_463, 3); -lean_inc(x_464); -lean_dec(x_463); -x_465 = lean_ctor_get_uint8(x_464, sizeof(void*)*1); -lean_dec(x_464); -if (x_465 == 0) +lean_object* x_10; uint8_t x_23; lean_object* x_24; lean_object* x_395; lean_object* x_396; lean_object* x_397; uint8_t x_398; +x_395 = lean_st_ref_get(x_8, x_9); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_396, 3); +lean_inc(x_397); +lean_dec(x_396); +x_398 = lean_ctor_get_uint8(x_397, sizeof(void*)*1); +lean_dec(x_397); +if (x_398 == 0) { -lean_object* x_466; uint8_t x_467; -x_466 = lean_ctor_get(x_462, 1); -lean_inc(x_466); -lean_dec(x_462); -x_467 = 0; -x_22 = x_467; -x_23 = x_466; -goto block_461; +lean_object* x_399; uint8_t x_400; +x_399 = lean_ctor_get(x_395, 1); +lean_inc(x_399); +lean_dec(x_395); +x_400 = 0; +x_23 = x_400; +x_24 = x_399; +goto block_394; } else { -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; uint8_t x_472; -x_468 = lean_ctor_get(x_462, 1); -lean_inc(x_468); -lean_dec(x_462); -lean_inc(x_3); -x_469 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_468); -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -x_472 = lean_unbox(x_470); -lean_dec(x_470); -x_22 = x_472; -x_23 = x_471; -goto block_461; +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; +x_401 = lean_ctor_get(x_395, 1); +lean_inc(x_401); +lean_dec(x_395); +lean_inc(x_4); +x_402 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_5, x_6, x_7, x_8, x_401); +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = lean_unbox(x_403); +lean_dec(x_403); +x_23 = x_405; +x_24 = x_404; +goto block_394; } -block_21: +block_22: { -if (lean_obj_tag(x_9) == 0) +if (lean_obj_tag(x_10) == 0) { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_9); -x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); -lean_dec(x_13); -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; +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_9; +return x_10; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -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_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } -block_461: +block_394: { -if (x_22 == 0) +if (x_23 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_24 = lean_st_ref_get(x_7, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 3); +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_dec(x_4); +x_25 = lean_st_ref_get(x_8, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get(x_24, 1); +x_27 = lean_ctor_get(x_26, 3); lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_ctor_get_uint8(x_26, sizeof(void*)*1); lean_dec(x_26); -x_29 = lean_st_ref_take(x_7, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_30, 3); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +x_30 = lean_st_ref_take(x_8, x_28); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -x_32 = lean_ctor_get(x_29, 1); +x_32 = lean_ctor_get(x_31, 3); lean_inc(x_32); -lean_dec(x_29); -x_33 = !lean_is_exclusive(x_30); -if (x_33 == 0) +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = !lean_is_exclusive(x_31); +if (x_34 == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_30, 3); -lean_dec(x_34); -x_35 = !lean_is_exclusive(x_31); -if (x_35 == 0) +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 3); +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_32); +if (x_36 == 0) { -uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_73; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; -x_36 = 0; -lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_36); -x_37 = lean_st_ref_set(x_7, x_30, x_32); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_153 = lean_st_ref_get(x_7, x_38); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_154, 3); -lean_inc(x_155); -lean_dec(x_154); -x_156 = lean_ctor_get_uint8(x_155, sizeof(void*)*1); -lean_dec(x_155); -if (x_156 == 0) +uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_85; lean_object* x_86; uint8_t x_119; lean_object* x_120; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_37 = 0; +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_37); +x_38 = lean_st_ref_set(x_8, x_31, x_33); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_141 = lean_st_ref_get(x_8, x_39); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_142, 3); +lean_inc(x_143); +lean_dec(x_142); +x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*1); +lean_dec(x_143); +if (x_144 == 0) { -lean_object* x_157; -lean_dec(x_3); -x_157 = lean_ctor_get(x_153, 1); -lean_inc(x_157); -lean_dec(x_153); -x_73 = x_157; -goto block_152; +lean_object* x_145; +x_145 = lean_ctor_get(x_141, 1); +lean_inc(x_145); +lean_dec(x_141); +x_119 = x_37; +x_120 = x_145; +goto block_140; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_158 = lean_ctor_get(x_153, 1); -lean_inc(x_158); -lean_dec(x_153); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_146 = lean_ctor_get(x_141, 1); +lean_inc(x_146); +lean_dec(x_141); lean_inc(x_3); -x_159 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_158); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_unbox(x_160); -lean_dec(x_160); -if (x_161 == 0) -{ -lean_object* x_162; -lean_dec(x_3); -x_162 = lean_ctor_get(x_159, 1); -lean_inc(x_162); -lean_dec(x_159); -x_73 = x_162; -goto block_152; +x_147 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_146); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unbox(x_148); +lean_dec(x_148); +x_119 = x_150; +x_120 = x_149; +goto block_140; } -else +block_84: { -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; -x_163 = lean_ctor_get(x_159, 1); -lean_inc(x_163); -lean_dec(x_159); -lean_inc(x_1); -x_164 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_164, 0, x_1); -x_165 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__3; -x_166 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -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 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_168, x_4, x_5, x_6, x_7, x_163); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_73 = x_170; -goto block_152; -} -} -block_72: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_41 = lean_st_ref_get(x_7, x_40); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_take(x_7, x_42); -x_44 = lean_ctor_get(x_43, 0); +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; uint8_t x_51; +x_42 = lean_st_ref_get(x_8, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -x_45 = lean_ctor_get(x_44, 3); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 3); lean_inc(x_45); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); lean_dec(x_43); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_44, 3); -lean_dec(x_48); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) -{ -lean_object* x_50; uint8_t x_51; -lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_28); -x_50 = lean_st_ref_set(x_7, x_44, x_46); -lean_dec(x_7); -x_51 = !lean_is_exclusive(x_50); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +x_47 = lean_st_ref_take(x_8, x_44); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_dec(x_47); +x_51 = !lean_is_exclusive(x_48); if (x_51 == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 3); lean_dec(x_52); -lean_ctor_set_tag(x_50, 1); -lean_ctor_set(x_50, 0, x_39); -x_9 = x_50; -goto block_21; +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_29); +x_54 = lean_st_ref_set(x_8, x_48, x_50); +lean_dec(x_8); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_46); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_40); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_54, 0, x_58); +x_10 = x_54; +goto block_22; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_39); -lean_ctor_set(x_54, 1, x_53); -x_9 = x_54; -goto block_21; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_dec(x_54); +x_60 = lean_box(x_46); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_40); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +x_10 = x_62; +goto block_22; } } 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_ctor_get(x_45, 0); -lean_inc(x_55); -lean_dec(x_45); -x_56 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_28); -lean_ctor_set(x_44, 3, x_56); -x_57 = lean_st_ref_set(x_7, x_44, x_46); -lean_dec(x_7); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_59; - lean_ctor_set_tag(x_60, 1); -} -lean_ctor_set(x_60, 0, x_39); -lean_ctor_set(x_60, 1, x_58); -x_9 = x_60; -goto block_21; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_61 = lean_ctor_get(x_44, 0); -x_62 = lean_ctor_get(x_44, 1); -x_63 = lean_ctor_get(x_44, 2); +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; +x_63 = lean_ctor_get(x_49, 0); lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_44); -x_64 = lean_ctor_get(x_45, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - x_65 = x_45; +lean_dec(x_49); +x_64 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_29); +lean_ctor_set(x_48, 3, x_64); +x_65 = lean_st_ref_set(x_8, x_48, x_50); +lean_dec(x_8); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; } else { - lean_dec_ref(x_45); - x_65 = lean_box(0); + lean_dec_ref(x_65); + x_67 = lean_box(0); } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 1, 1); +x_68 = lean_box(x_46); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_40); +lean_ctor_set(x_69, 1, x_68); +if (lean_is_scalar(x_67)) { + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_66 = x_65; + x_70 = x_67; } -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_28); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_61); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_63); -lean_ctor_set(x_67, 3, x_66); -x_68 = lean_st_ref_set(x_7, x_67, x_46); -lean_dec(x_7); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_70 = x_68; -} else { - lean_dec_ref(x_68); - x_70 = lean_box(0); -} -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 2, 0); -} else { - x_71 = x_70; - lean_ctor_set_tag(x_71, 1); -} -lean_ctor_set(x_71, 0, x_39); -lean_ctor_set(x_71, 1, x_69); -x_9 = x_71; -goto block_21; +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_66); +x_10 = x_70; +goto block_22; } } -block_152: +else { -lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_inc(x_1); -x_74 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_74, 0, x_1); -x_75 = 0; -x_76 = lean_box(0); -lean_inc(x_4); -x_77 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_74, x_75, x_76, x_4, x_5, x_6, x_7, x_73); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_71 = lean_ctor_get(x_48, 0); +x_72 = lean_ctor_get(x_48, 1); +x_73 = lean_ctor_get(x_48, 2); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_48); +x_74 = lean_ctor_get(x_49, 0); +lean_inc(x_74); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + x_75 = x_49; +} else { + lean_dec_ref(x_49); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 1, 1); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set_uint8(x_76, sizeof(void*)*1, x_29); +x_77 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_77, 0, x_71); +lean_ctor_set(x_77, 1, x_72); +lean_ctor_set(x_77, 2, x_73); +lean_ctor_set(x_77, 3, x_76); +x_78 = lean_st_ref_set(x_8, x_77, x_50); +lean_dec(x_8); +x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_st_ref_get(x_7, x_79); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_st_ref_get(x_5, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 0); -lean_inc(x_85); -lean_dec(x_83); -lean_inc(x_85); -x_86 = l_Lean_Meta_SynthInstance_mkTableKey(x_85, x_1); -x_87 = lean_ctor_get(x_6, 0); -lean_inc(x_87); -x_88 = l_Lean_Meta_SynthInstance_getMaxHeartbeats(x_87); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_80 = x_78; +} else { + lean_dec_ref(x_78); + x_80 = lean_box(0); +} +x_81 = lean_box(x_46); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_40); +lean_ctor_set(x_82, 1, x_81); +if (lean_is_scalar(x_80)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_80; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +x_10 = x_83; +goto block_22; +} +} +block_118: +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_87 = lean_st_ref_get(x_8, x_86); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); lean_dec(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_2); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_st_ref_get(x_7, x_84); -x_91 = lean_ctor_get(x_90, 1); +x_89 = lean_st_ref_take(x_8, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_90, 3); lean_inc(x_91); -lean_dec(x_90); -x_92 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; -x_93 = lean_st_mk_ref(x_92, x_91); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_box(1); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_94); -lean_inc(x_89); -x_97 = l_Lean_Meta_SynthInstance_newSubgoal(x_85, x_86, x_78, x_96, x_89, x_94, x_4, x_5, x_6, x_7, x_95); -if (lean_obj_tag(x_97) == 0) +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec(x_89); +x_93 = !lean_is_exclusive(x_90); +if (x_93 == 0) { -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -lean_inc(x_7); -lean_inc(x_94); -x_99 = l_Lean_Meta_SynthInstance_synth(x_89, x_94, x_4, x_5, x_6, x_7, x_98); -if (lean_obj_tag(x_99) == 0) -{ -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; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_st_ref_get(x_7, x_101); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_st_ref_get(x_94, x_103); +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_90, 3); lean_dec(x_94); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_st_ref_get(x_7, x_105); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 3); +x_95 = !lean_is_exclusive(x_91); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +lean_ctor_set_uint8(x_91, sizeof(void*)*1, x_29); +x_96 = lean_st_ref_set(x_8, x_90, x_92); +lean_dec(x_8); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_98); +lean_ctor_set_tag(x_96, 1); +lean_ctor_set(x_96, 0, x_85); +x_10 = x_96; +goto block_22; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_85); +lean_ctor_set(x_100, 1, x_99); +x_10 = x_100; +goto block_22; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_101 = lean_ctor_get(x_91, 0); +lean_inc(x_101); +lean_dec(x_91); +x_102 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set_uint8(x_102, sizeof(void*)*1, x_29); +lean_ctor_set(x_90, 3, x_102); +x_103 = lean_st_ref_set(x_8, x_90, x_92); +lean_dec(x_8); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + 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_tag(x_106, 1); +} +lean_ctor_set(x_106, 0, x_85); +lean_ctor_set(x_106, 1, x_104); +x_10 = x_106; +goto block_22; +} +} +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; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_107 = lean_ctor_get(x_90, 0); +x_108 = lean_ctor_get(x_90, 1); +x_109 = lean_ctor_get(x_90, 2); lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get_uint8(x_109, sizeof(void*)*1); -lean_dec(x_109); -x_111 = lean_st_ref_take(x_7, x_108); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_112, 3); -lean_inc(x_113); -x_114 = lean_ctor_get(x_111, 1); -lean_inc(x_114); -lean_dec(x_111); -x_115 = !lean_is_exclusive(x_112); -if (x_115 == 0) +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_90); +x_110 = lean_ctor_get(x_91, 0); +lean_inc(x_110); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + x_111 = x_91; +} else { + lean_dec_ref(x_91); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 1, 1); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set_uint8(x_112, sizeof(void*)*1, x_29); +x_113 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_113, 0, x_107); +lean_ctor_set(x_113, 1, x_108); +lean_ctor_set(x_113, 2, x_109); +lean_ctor_set(x_113, 3, x_112); +x_114 = lean_st_ref_set(x_8, x_113, x_92); +lean_dec(x_8); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_116 = x_114; +} else { + lean_dec_ref(x_114); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_116; + lean_ctor_set_tag(x_117, 1); +} +lean_ctor_set(x_117, 0, x_85); +lean_ctor_set(x_117, 1, x_115); +x_10 = x_117; +goto block_22; +} +} +block_140: { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_112, 3); -lean_dec(x_116); -x_117 = !lean_is_exclusive(x_113); -if (x_117 == 0) -{ -lean_object* x_118; uint8_t x_119; -lean_ctor_set_uint8(x_113, sizeof(void*)*1, x_28); -x_118 = lean_st_ref_set(x_7, x_112, x_114); -lean_dec(x_7); -x_119 = !lean_is_exclusive(x_118); if (x_119 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_118, 0); -lean_dec(x_120); -x_121 = lean_box(x_110); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_100); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_118, 0, x_122); -x_9 = x_118; -goto block_21; -} -else +lean_object* x_121; lean_object* x_122; +lean_dec(x_3); +x_121 = lean_box(0); +lean_inc(x_8); +x_122 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_121, x_5, x_6, x_7, x_8, x_120); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_118, 1); +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); -lean_dec(x_118); -x_124 = lean_box(x_110); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_100); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_123); -x_9 = x_126; -goto block_21; +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_40 = x_123; +x_41 = x_124; +goto block_84; +} +else +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_122, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_122, 1); +lean_inc(x_126); +lean_dec(x_122); +x_85 = x_125; +x_86 = x_126; +goto block_118; } } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_127 = lean_ctor_get(x_113, 0); -lean_inc(x_127); -lean_dec(x_113); -x_128 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set_uint8(x_128, sizeof(void*)*1, x_28); -lean_ctor_set(x_112, 3, x_128); -x_129 = lean_st_ref_set(x_7, x_112, x_114); -lean_dec(x_7); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_131 = x_129; -} else { - lean_dec_ref(x_129); - x_131 = lean_box(0); -} -x_132 = lean_box(x_110); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_100); -lean_ctor_set(x_133, 1, x_132); -if (lean_is_scalar(x_131)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_131; -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_130); -x_9 = x_134; -goto block_21; -} -} -else +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_inc(x_1); +x_127 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_127, 0, x_1); +x_128 = l_Lean_Meta_SynthInstance_main___lambda__2___closed__2; +x_129 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_131 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_131, x_5, x_6, x_7, x_8, x_120); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +lean_inc(x_8); +x_135 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_133, x_5, x_6, x_7, x_8, x_134); +lean_dec(x_133); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_135 = lean_ctor_get(x_112, 0); -x_136 = lean_ctor_get(x_112, 1); -x_137 = lean_ctor_get(x_112, 2); -lean_inc(x_137); +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_112); -x_138 = lean_ctor_get(x_113, 0); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_40 = x_136; +x_41 = x_137; +goto block_84; +} +else +{ +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_135, 0); lean_inc(x_138); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - x_139 = x_113; -} else { - lean_dec_ref(x_113); - x_139 = lean_box(0); +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +lean_dec(x_135); +x_85 = x_138; +x_86 = x_139; +goto block_118; } -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(0, 1, 1); -} else { - x_140 = x_139; } -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set_uint8(x_140, sizeof(void*)*1, x_28); -x_141 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_141, 0, x_135); -lean_ctor_set(x_141, 1, x_136); -lean_ctor_set(x_141, 2, x_137); -lean_ctor_set(x_141, 3, x_140); -x_142 = lean_st_ref_set(x_7, x_141, x_114); -lean_dec(x_7); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_144 = x_142; -} else { - lean_dec_ref(x_142); - x_144 = lean_box(0); -} -x_145 = lean_box(x_110); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_100); -lean_ctor_set(x_146, 1, x_145); -if (lean_is_scalar(x_144)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_144; -} -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_143); -x_9 = x_147; -goto block_21; } } else { -lean_object* x_148; lean_object* x_149; -lean_dec(x_94); -x_148 = lean_ctor_get(x_99, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_99, 1); -lean_inc(x_149); -lean_dec(x_99); -x_39 = x_148; -x_40 = x_149; -goto block_72; -} -} -else -{ -lean_object* x_150; lean_object* x_151; -lean_dec(x_94); -lean_dec(x_89); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_150 = lean_ctor_get(x_97, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_97, 1); +lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_182; lean_object* x_183; uint8_t x_203; lean_object* x_204; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_151 = lean_ctor_get(x_32, 0); lean_inc(x_151); -lean_dec(x_97); -x_39 = x_150; -x_40 = x_151; -goto block_72; -} -} +lean_dec(x_32); +x_152 = 0; +x_153 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set_uint8(x_153, sizeof(void*)*1, x_152); +lean_ctor_set(x_31, 3, x_153); +x_154 = lean_st_ref_set(x_8, x_31, x_33); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec(x_154); +x_225 = lean_st_ref_get(x_8, x_155); +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_226, 3); +lean_inc(x_227); +lean_dec(x_226); +x_228 = lean_ctor_get_uint8(x_227, sizeof(void*)*1); +lean_dec(x_227); +if (x_228 == 0) +{ +lean_object* x_229; +x_229 = lean_ctor_get(x_225, 1); +lean_inc(x_229); +lean_dec(x_225); +x_203 = x_152; +x_204 = x_229; +goto block_224; } else { -lean_object* x_171; uint8_t 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_197; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; -x_171 = lean_ctor_get(x_31, 0); -lean_inc(x_171); -lean_dec(x_31); -x_172 = 0; -x_173 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set_uint8(x_173, sizeof(void*)*1, x_172); -lean_ctor_set(x_30, 3, x_173); -x_174 = lean_st_ref_set(x_7, x_30, x_32); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -x_258 = lean_st_ref_get(x_7, x_175); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_259, 3); -lean_inc(x_260); -lean_dec(x_259); -x_261 = lean_ctor_get_uint8(x_260, sizeof(void*)*1); -lean_dec(x_260); -if (x_261 == 0) -{ -lean_object* x_262; -lean_dec(x_3); -x_262 = lean_ctor_get(x_258, 1); -lean_inc(x_262); -lean_dec(x_258); -x_197 = x_262; -goto block_257; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; -x_263 = lean_ctor_get(x_258, 1); -lean_inc(x_263); -lean_dec(x_258); +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; +x_230 = lean_ctor_get(x_225, 1); +lean_inc(x_230); +lean_dec(x_225); lean_inc(x_3); -x_264 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_263); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_unbox(x_265); -lean_dec(x_265); -if (x_266 == 0) -{ -lean_object* x_267; -lean_dec(x_3); -x_267 = lean_ctor_get(x_264, 1); -lean_inc(x_267); -lean_dec(x_264); -x_197 = x_267; -goto block_257; +x_231 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_230); +x_232 = lean_ctor_get(x_231, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_231, 1); +lean_inc(x_233); +lean_dec(x_231); +x_234 = lean_unbox(x_232); +lean_dec(x_232); +x_203 = x_234; +x_204 = x_233; +goto block_224; } -else +block_181: { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_268 = lean_ctor_get(x_264, 1); -lean_inc(x_268); -lean_dec(x_264); -lean_inc(x_1); -x_269 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_269, 0, x_1); -x_270 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__3; -x_271 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_273 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_273, 0, x_271); -lean_ctor_set(x_273, 1, x_272); -x_274 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_273, x_4, x_5, x_6, x_7, x_268); -x_275 = lean_ctor_get(x_274, 1); -lean_inc(x_275); -lean_dec(x_274); -x_197 = x_275; -goto block_257; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_158 = lean_st_ref_get(x_8, x_157); +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_ctor_get(x_159, 3); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_ctor_get_uint8(x_161, sizeof(void*)*1); +lean_dec(x_161); +x_163 = lean_st_ref_take(x_8, x_160); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_164, 3); +lean_inc(x_165); +x_166 = lean_ctor_get(x_163, 1); +lean_inc(x_166); +lean_dec(x_163); +x_167 = lean_ctor_get(x_164, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_164, 1); +lean_inc(x_168); +x_169 = lean_ctor_get(x_164, 2); +lean_inc(x_169); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + lean_ctor_release(x_164, 2); + lean_ctor_release(x_164, 3); + x_170 = x_164; +} else { + lean_dec_ref(x_164); + x_170 = lean_box(0); } +x_171 = lean_ctor_get(x_165, 0); +lean_inc(x_171); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + x_172 = x_165; +} else { + lean_dec_ref(x_165); + x_172 = lean_box(0); } -block_196: +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(0, 1, 1); +} else { + x_173 = x_172; +} +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set_uint8(x_173, sizeof(void*)*1, x_29); +if (lean_is_scalar(x_170)) { + x_174 = lean_alloc_ctor(0, 4, 0); +} else { + x_174 = x_170; +} +lean_ctor_set(x_174, 0, x_167); +lean_ctor_set(x_174, 1, x_168); +lean_ctor_set(x_174, 2, x_169); +lean_ctor_set(x_174, 3, x_173); +x_175 = lean_st_ref_set(x_8, x_174, x_166); +lean_dec(x_8); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_162); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_156); +lean_ctor_set(x_179, 1, x_178); +if (lean_is_scalar(x_177)) { + x_180 = lean_alloc_ctor(0, 2, 0); +} else { + x_180 = x_177; +} +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_176); +x_10 = x_180; +goto block_22; +} +block_202: { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_178 = lean_st_ref_get(x_7, x_177); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -lean_dec(x_178); -x_180 = lean_st_ref_take(x_7, x_179); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_181, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -x_184 = lean_ctor_get(x_181, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_181, 1); +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_184 = lean_st_ref_get(x_8, x_183); +x_185 = lean_ctor_get(x_184, 1); lean_inc(x_185); -x_186 = lean_ctor_get(x_181, 2); -lean_inc(x_186); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - lean_ctor_release(x_181, 2); - lean_ctor_release(x_181, 3); - x_187 = x_181; -} else { - lean_dec_ref(x_181); - x_187 = lean_box(0); -} -x_188 = lean_ctor_get(x_182, 0); +lean_dec(x_184); +x_186 = lean_st_ref_take(x_8, x_185); +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_187, 3); lean_inc(x_188); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - x_189 = x_182; +x_189 = lean_ctor_get(x_186, 1); +lean_inc(x_189); +lean_dec(x_186); +x_190 = lean_ctor_get(x_187, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_187, 1); +lean_inc(x_191); +x_192 = lean_ctor_get(x_187, 2); +lean_inc(x_192); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + lean_ctor_release(x_187, 2); + lean_ctor_release(x_187, 3); + x_193 = x_187; } else { - lean_dec_ref(x_182); - x_189 = lean_box(0); + lean_dec_ref(x_187); + x_193 = lean_box(0); } -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(0, 1, 1); +x_194 = lean_ctor_get(x_188, 0); +lean_inc(x_194); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + x_195 = x_188; } else { - x_190 = x_189; + lean_dec_ref(x_188); + x_195 = lean_box(0); } -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set_uint8(x_190, sizeof(void*)*1, x_28); -if (lean_is_scalar(x_187)) { - x_191 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(0, 1, 1); } else { - x_191 = x_187; + x_196 = x_195; } -lean_ctor_set(x_191, 0, x_184); -lean_ctor_set(x_191, 1, x_185); -lean_ctor_set(x_191, 2, x_186); -lean_ctor_set(x_191, 3, x_190); -x_192 = lean_st_ref_set(x_7, x_191, x_183); -lean_dec(x_7); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - x_194 = x_192; +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set_uint8(x_196, sizeof(void*)*1, x_29); +if (lean_is_scalar(x_193)) { + x_197 = lean_alloc_ctor(0, 4, 0); } else { - lean_dec_ref(x_192); - x_194 = lean_box(0); + x_197 = x_193; } -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_190); +lean_ctor_set(x_197, 1, x_191); +lean_ctor_set(x_197, 2, x_192); +lean_ctor_set(x_197, 3, x_196); +x_198 = lean_st_ref_set(x_8, x_197, x_189); +lean_dec(x_8); +x_199 = lean_ctor_get(x_198, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_200 = x_198; } else { - x_195 = x_194; - lean_ctor_set_tag(x_195, 1); + lean_dec_ref(x_198); + x_200 = lean_box(0); } -lean_ctor_set(x_195, 0, x_176); -lean_ctor_set(x_195, 1, x_193); -x_9 = x_195; -goto block_21; +if (lean_is_scalar(x_200)) { + x_201 = lean_alloc_ctor(1, 2, 0); +} else { + x_201 = x_200; + lean_ctor_set_tag(x_201, 1); } -block_257: +lean_ctor_set(x_201, 0, x_182); +lean_ctor_set(x_201, 1, x_199); +x_10 = x_201; +goto block_22; +} +block_224: { -lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_inc(x_1); -x_198 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_198, 0, x_1); -x_199 = 0; -x_200 = lean_box(0); -lean_inc(x_4); -x_201 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_198, x_199, x_200, x_4, x_5, x_6, x_7, x_197); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = lean_st_ref_get(x_7, x_203); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_206 = lean_st_ref_get(x_5, x_205); +if (x_203 == 0) +{ +lean_object* x_205; lean_object* x_206; +lean_dec(x_3); +x_205 = lean_box(0); +lean_inc(x_8); +x_206 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_205, x_5, x_6, x_7, x_8, x_204); +if (lean_obj_tag(x_206) == 0) +{ +lean_object* x_207; lean_object* x_208; x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); lean_dec(x_206); -x_209 = lean_ctor_get(x_207, 0); +x_156 = x_207; +x_157 = x_208; +goto block_181; +} +else +{ +lean_object* x_209; lean_object* x_210; +x_209 = lean_ctor_get(x_206, 0); lean_inc(x_209); -lean_dec(x_207); -lean_inc(x_209); -x_210 = l_Lean_Meta_SynthInstance_mkTableKey(x_209, x_1); -x_211 = lean_ctor_get(x_6, 0); -lean_inc(x_211); -x_212 = l_Lean_Meta_SynthInstance_getMaxHeartbeats(x_211); -lean_dec(x_211); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_2); -lean_ctor_set(x_213, 1, x_212); -x_214 = lean_st_ref_get(x_7, x_208); -x_215 = lean_ctor_get(x_214, 1); -lean_inc(x_215); -lean_dec(x_214); -x_216 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; -x_217 = lean_st_mk_ref(x_216, x_215); -x_218 = lean_ctor_get(x_217, 0); +x_210 = lean_ctor_get(x_206, 1); +lean_inc(x_210); +lean_dec(x_206); +x_182 = x_209; +x_183 = x_210; +goto block_202; +} +} +else +{ +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_inc(x_1); +x_211 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_211, 0, x_1); +x_212 = l_Lean_Meta_SynthInstance_main___lambda__2___closed__2; +x_213 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_211); +x_214 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_215 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +x_216 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_215, x_5, x_6, x_7, x_8, x_204); +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); +lean_dec(x_216); +lean_inc(x_8); +x_219 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_217, x_5, x_6, x_7, x_8, x_218); lean_dec(x_217); -x_220 = lean_box(1); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_218); -lean_inc(x_213); -x_221 = l_Lean_Meta_SynthInstance_newSubgoal(x_209, x_210, x_202, x_220, x_213, x_218, x_4, x_5, x_6, x_7, x_219); -if (lean_obj_tag(x_221) == 0) +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_156 = x_220; +x_157 = x_221; +goto block_181; +} +else { lean_object* x_222; lean_object* x_223; -x_222 = lean_ctor_get(x_221, 1); +x_222 = lean_ctor_get(x_219, 0); lean_inc(x_222); -lean_dec(x_221); -lean_inc(x_7); -lean_inc(x_218); -x_223 = l_Lean_Meta_SynthInstance_synth(x_213, x_218, x_4, x_5, x_6, x_7, x_222); -if (lean_obj_tag(x_223) == 0) +x_223 = lean_ctor_get(x_219, 1); +lean_inc(x_223); +lean_dec(x_219); +x_182 = x_222; +x_183 = x_223; +goto block_202; +} +} +} +} +} +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; lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = lean_st_ref_get(x_7, x_225); -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -lean_dec(x_226); -x_228 = lean_st_ref_get(x_218, x_227); -lean_dec(x_218); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -lean_dec(x_228); -x_230 = lean_st_ref_get(x_7, x_229); -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_ctor_get(x_231, 3); -lean_inc(x_233); -lean_dec(x_231); -x_234 = lean_ctor_get_uint8(x_233, sizeof(void*)*1); -lean_dec(x_233); -x_235 = lean_st_ref_take(x_7, x_232); -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_236, 3); +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_271; lean_object* x_272; uint8_t x_292; lean_object* x_293; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_235 = lean_ctor_get(x_31, 0); +x_236 = lean_ctor_get(x_31, 1); +x_237 = lean_ctor_get(x_31, 2); lean_inc(x_237); -x_238 = lean_ctor_get(x_235, 1); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_31); +x_238 = lean_ctor_get(x_32, 0); lean_inc(x_238); -lean_dec(x_235); -x_239 = lean_ctor_get(x_236, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_236, 1); -lean_inc(x_240); -x_241 = lean_ctor_get(x_236, 2); -lean_inc(x_241); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - lean_ctor_release(x_236, 2); - lean_ctor_release(x_236, 3); - x_242 = x_236; +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + x_239 = x_32; } else { - lean_dec_ref(x_236); - x_242 = lean_box(0); + lean_dec_ref(x_32); + x_239 = lean_box(0); } -x_243 = lean_ctor_get(x_237, 0); -lean_inc(x_243); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - x_244 = x_237; +x_240 = 0; +if (lean_is_scalar(x_239)) { + x_241 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_237); - x_244 = lean_box(0); + x_241 = x_239; } -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 1, 1); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_243); -lean_ctor_set_uint8(x_245, sizeof(void*)*1, x_28); -if (lean_is_scalar(x_242)) { - x_246 = lean_alloc_ctor(0, 4, 0); -} else { - x_246 = x_242; -} -lean_ctor_set(x_246, 0, x_239); -lean_ctor_set(x_246, 1, x_240); -lean_ctor_set(x_246, 2, x_241); -lean_ctor_set(x_246, 3, x_245); -x_247 = lean_st_ref_set(x_7, x_246, x_238); -lean_dec(x_7); -x_248 = lean_ctor_get(x_247, 1); -lean_inc(x_248); -if (lean_is_exclusive(x_247)) { - lean_ctor_release(x_247, 0); - lean_ctor_release(x_247, 1); - x_249 = x_247; -} else { - lean_dec_ref(x_247); - x_249 = lean_box(0); -} -x_250 = lean_box(x_234); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_224); -lean_ctor_set(x_251, 1, x_250); -if (lean_is_scalar(x_249)) { - x_252 = lean_alloc_ctor(0, 2, 0); -} else { - x_252 = x_249; -} -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_248); -x_9 = x_252; -goto block_21; -} -else -{ -lean_object* x_253; lean_object* x_254; -lean_dec(x_218); -x_253 = lean_ctor_get(x_223, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_223, 1); -lean_inc(x_254); -lean_dec(x_223); -x_176 = x_253; -x_177 = x_254; -goto block_196; -} -} -else -{ -lean_object* x_255; lean_object* x_256; -lean_dec(x_218); -lean_dec(x_213); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_255 = lean_ctor_get(x_221, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_221, 1); -lean_inc(x_256); -lean_dec(x_221); -x_176 = x_255; -x_177 = x_256; -goto block_196; -} -} -} -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t 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_307; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; -x_276 = lean_ctor_get(x_30, 0); -x_277 = lean_ctor_get(x_30, 1); -x_278 = lean_ctor_get(x_30, 2); -lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_276); -lean_dec(x_30); -x_279 = lean_ctor_get(x_31, 0); -lean_inc(x_279); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - x_280 = x_31; -} else { - lean_dec_ref(x_31); - x_280 = lean_box(0); -} -x_281 = 0; -if (lean_is_scalar(x_280)) { - x_282 = lean_alloc_ctor(0, 1, 1); -} else { - x_282 = x_280; -} -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set_uint8(x_282, sizeof(void*)*1, x_281); -x_283 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_283, 0, x_276); -lean_ctor_set(x_283, 1, x_277); -lean_ctor_set(x_283, 2, x_278); -lean_ctor_set(x_283, 3, x_282); -x_284 = lean_st_ref_set(x_7, x_283, x_32); -x_285 = lean_ctor_get(x_284, 1); -lean_inc(x_285); -lean_dec(x_284); -x_368 = lean_st_ref_get(x_7, x_285); -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_369, 3); -lean_inc(x_370); -lean_dec(x_369); -x_371 = lean_ctor_get_uint8(x_370, sizeof(void*)*1); -lean_dec(x_370); -if (x_371 == 0) -{ -lean_object* x_372; -lean_dec(x_3); -x_372 = lean_ctor_get(x_368, 1); -lean_inc(x_372); -lean_dec(x_368); -x_307 = x_372; -goto block_367; -} -else -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; uint8_t x_376; -x_373 = lean_ctor_get(x_368, 1); -lean_inc(x_373); -lean_dec(x_368); -lean_inc(x_3); -x_374 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_373); -x_375 = lean_ctor_get(x_374, 0); -lean_inc(x_375); -x_376 = lean_unbox(x_375); -lean_dec(x_375); -if (x_376 == 0) -{ -lean_object* x_377; -lean_dec(x_3); -x_377 = lean_ctor_get(x_374, 1); -lean_inc(x_377); -lean_dec(x_374); -x_307 = x_377; -goto block_367; -} -else -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_378 = lean_ctor_get(x_374, 1); -lean_inc(x_378); -lean_dec(x_374); -lean_inc(x_1); -x_379 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_379, 0, x_1); -x_380 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__3; -x_381 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_381, 0, x_380); -lean_ctor_set(x_381, 1, x_379); -x_382 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_383 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_383, 0, x_381); -lean_ctor_set(x_383, 1, x_382); -x_384 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_383, x_4, x_5, x_6, x_7, x_378); -x_385 = lean_ctor_get(x_384, 1); -lean_inc(x_385); -lean_dec(x_384); -x_307 = x_385; -goto block_367; -} -} -block_306: -{ -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_288 = lean_st_ref_get(x_7, x_287); -x_289 = lean_ctor_get(x_288, 1); -lean_inc(x_289); -lean_dec(x_288); -x_290 = lean_st_ref_take(x_7, x_289); -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_291, 3); -lean_inc(x_292); -x_293 = lean_ctor_get(x_290, 1); -lean_inc(x_293); -lean_dec(x_290); -x_294 = lean_ctor_get(x_291, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_291, 1); -lean_inc(x_295); -x_296 = lean_ctor_get(x_291, 2); -lean_inc(x_296); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - lean_ctor_release(x_291, 2); - lean_ctor_release(x_291, 3); - x_297 = x_291; -} else { - lean_dec_ref(x_291); - x_297 = lean_box(0); -} -x_298 = lean_ctor_get(x_292, 0); -lean_inc(x_298); -if (lean_is_exclusive(x_292)) { - lean_ctor_release(x_292, 0); - x_299 = x_292; -} else { - lean_dec_ref(x_292); - x_299 = lean_box(0); -} -if (lean_is_scalar(x_299)) { - x_300 = lean_alloc_ctor(0, 1, 1); -} else { - x_300 = x_299; -} -lean_ctor_set(x_300, 0, x_298); -lean_ctor_set_uint8(x_300, sizeof(void*)*1, x_28); -if (lean_is_scalar(x_297)) { - x_301 = lean_alloc_ctor(0, 4, 0); -} else { - x_301 = x_297; -} -lean_ctor_set(x_301, 0, x_294); -lean_ctor_set(x_301, 1, x_295); -lean_ctor_set(x_301, 2, x_296); -lean_ctor_set(x_301, 3, x_300); -x_302 = lean_st_ref_set(x_7, x_301, x_293); -lean_dec(x_7); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_304 = x_302; -} else { - lean_dec_ref(x_302); - x_304 = lean_box(0); -} -if (lean_is_scalar(x_304)) { - x_305 = lean_alloc_ctor(1, 2, 0); -} else { - x_305 = x_304; - lean_ctor_set_tag(x_305, 1); -} -lean_ctor_set(x_305, 0, x_286); -lean_ctor_set(x_305, 1, x_303); -x_9 = x_305; -goto block_21; -} -block_367: -{ -lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_inc(x_1); -x_308 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_308, 0, x_1); -x_309 = 0; -x_310 = lean_box(0); -lean_inc(x_4); -x_311 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_308, x_309, x_310, x_4, x_5, x_6, x_7, x_307); -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_311, 1); -lean_inc(x_313); -lean_dec(x_311); -x_314 = lean_st_ref_get(x_7, x_313); -x_315 = lean_ctor_get(x_314, 1); +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set_uint8(x_241, sizeof(void*)*1, x_240); +x_242 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_242, 0, x_235); +lean_ctor_set(x_242, 1, x_236); +lean_ctor_set(x_242, 2, x_237); +lean_ctor_set(x_242, 3, x_241); +x_243 = lean_st_ref_set(x_8, x_242, x_33); +x_244 = lean_ctor_get(x_243, 1); +lean_inc(x_244); +lean_dec(x_243); +x_314 = lean_st_ref_get(x_8, x_244); +x_315 = lean_ctor_get(x_314, 0); lean_inc(x_315); -lean_dec(x_314); -x_316 = lean_st_ref_get(x_5, x_315); -x_317 = lean_ctor_get(x_316, 0); -lean_inc(x_317); -x_318 = lean_ctor_get(x_316, 1); -lean_inc(x_318); +x_316 = lean_ctor_get(x_315, 3); +lean_inc(x_316); +lean_dec(x_315); +x_317 = lean_ctor_get_uint8(x_316, sizeof(void*)*1); lean_dec(x_316); -x_319 = lean_ctor_get(x_317, 0); +if (x_317 == 0) +{ +lean_object* x_318; +x_318 = lean_ctor_get(x_314, 1); +lean_inc(x_318); +lean_dec(x_314); +x_292 = x_240; +x_293 = x_318; +goto block_313; +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; +x_319 = lean_ctor_get(x_314, 1); lean_inc(x_319); -lean_dec(x_317); -lean_inc(x_319); -x_320 = l_Lean_Meta_SynthInstance_mkTableKey(x_319, x_1); -x_321 = lean_ctor_get(x_6, 0); +lean_dec(x_314); +lean_inc(x_3); +x_320 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_319); +x_321 = lean_ctor_get(x_320, 0); lean_inc(x_321); -x_322 = l_Lean_Meta_SynthInstance_getMaxHeartbeats(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = lean_unbox(x_321); lean_dec(x_321); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_2); -lean_ctor_set(x_323, 1, x_322); -x_324 = lean_st_ref_get(x_7, x_318); -x_325 = lean_ctor_get(x_324, 1); -lean_inc(x_325); -lean_dec(x_324); -x_326 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; -x_327 = lean_st_mk_ref(x_326, x_325); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); +x_292 = x_323; +x_293 = x_322; +goto block_313; +} +block_270: +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_247 = lean_st_ref_get(x_8, x_246); +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +lean_dec(x_247); +x_250 = lean_ctor_get(x_248, 3); +lean_inc(x_250); +lean_dec(x_248); +x_251 = lean_ctor_get_uint8(x_250, sizeof(void*)*1); +lean_dec(x_250); +x_252 = lean_st_ref_take(x_8, x_249); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_253, 3); +lean_inc(x_254); +x_255 = lean_ctor_get(x_252, 1); +lean_inc(x_255); +lean_dec(x_252); +x_256 = lean_ctor_get(x_253, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_253, 1); +lean_inc(x_257); +x_258 = lean_ctor_get(x_253, 2); +lean_inc(x_258); +if (lean_is_exclusive(x_253)) { + lean_ctor_release(x_253, 0); + lean_ctor_release(x_253, 1); + lean_ctor_release(x_253, 2); + lean_ctor_release(x_253, 3); + x_259 = x_253; +} else { + lean_dec_ref(x_253); + x_259 = lean_box(0); +} +x_260 = lean_ctor_get(x_254, 0); +lean_inc(x_260); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + x_261 = x_254; +} else { + lean_dec_ref(x_254); + x_261 = lean_box(0); +} +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(0, 1, 1); +} else { + x_262 = x_261; +} +lean_ctor_set(x_262, 0, x_260); +lean_ctor_set_uint8(x_262, sizeof(void*)*1, x_29); +if (lean_is_scalar(x_259)) { + x_263 = lean_alloc_ctor(0, 4, 0); +} else { + x_263 = x_259; +} +lean_ctor_set(x_263, 0, x_256); +lean_ctor_set(x_263, 1, x_257); +lean_ctor_set(x_263, 2, x_258); +lean_ctor_set(x_263, 3, x_262); +x_264 = lean_st_ref_set(x_8, x_263, x_255); +lean_dec(x_8); +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_266 = x_264; +} else { + lean_dec_ref(x_264); + x_266 = lean_box(0); +} +x_267 = lean_box(x_251); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_245); +lean_ctor_set(x_268, 1, x_267); +if (lean_is_scalar(x_266)) { + x_269 = lean_alloc_ctor(0, 2, 0); +} else { + x_269 = x_266; +} +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_265); +x_10 = x_269; +goto block_22; +} +block_291: +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_273 = lean_st_ref_get(x_8, x_272); +x_274 = lean_ctor_get(x_273, 1); +lean_inc(x_274); +lean_dec(x_273); +x_275 = lean_st_ref_take(x_8, x_274); +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_276, 3); +lean_inc(x_277); +x_278 = lean_ctor_get(x_275, 1); +lean_inc(x_278); +lean_dec(x_275); +x_279 = lean_ctor_get(x_276, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_276, 1); +lean_inc(x_280); +x_281 = lean_ctor_get(x_276, 2); +lean_inc(x_281); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + lean_ctor_release(x_276, 3); + x_282 = x_276; +} else { + lean_dec_ref(x_276); + x_282 = lean_box(0); +} +x_283 = lean_ctor_get(x_277, 0); +lean_inc(x_283); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + x_284 = x_277; +} else { + lean_dec_ref(x_277); + x_284 = lean_box(0); +} +if (lean_is_scalar(x_284)) { + x_285 = lean_alloc_ctor(0, 1, 1); +} else { + x_285 = x_284; +} +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set_uint8(x_285, sizeof(void*)*1, x_29); +if (lean_is_scalar(x_282)) { + x_286 = lean_alloc_ctor(0, 4, 0); +} else { + x_286 = x_282; +} +lean_ctor_set(x_286, 0, x_279); +lean_ctor_set(x_286, 1, x_280); +lean_ctor_set(x_286, 2, x_281); +lean_ctor_set(x_286, 3, x_285); +x_287 = lean_st_ref_set(x_8, x_286, x_278); +lean_dec(x_8); +x_288 = lean_ctor_get(x_287, 1); +lean_inc(x_288); +if (lean_is_exclusive(x_287)) { + lean_ctor_release(x_287, 0); + lean_ctor_release(x_287, 1); + x_289 = x_287; +} else { + lean_dec_ref(x_287); + x_289 = lean_box(0); +} +if (lean_is_scalar(x_289)) { + x_290 = lean_alloc_ctor(1, 2, 0); +} else { + x_290 = x_289; + lean_ctor_set_tag(x_290, 1); +} +lean_ctor_set(x_290, 0, x_271); +lean_ctor_set(x_290, 1, x_288); +x_10 = x_290; +goto block_22; +} +block_313: +{ +if (x_292 == 0) +{ +lean_object* x_294; lean_object* x_295; +lean_dec(x_3); +x_294 = lean_box(0); +lean_inc(x_8); +x_295 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_294, x_5, x_6, x_7, x_8, x_293); +if (lean_obj_tag(x_295) == 0) +{ +lean_object* x_296; lean_object* x_297; +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_245 = x_296; +x_246 = x_297; +goto block_270; +} +else +{ +lean_object* x_298; lean_object* x_299; +x_298 = lean_ctor_get(x_295, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_295, 1); +lean_inc(x_299); +lean_dec(x_295); +x_271 = x_298; +x_272 = x_299; +goto block_291; +} +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_inc(x_1); +x_300 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_300, 0, x_1); +x_301 = l_Lean_Meta_SynthInstance_main___lambda__2___closed__2; +x_302 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_300); +x_303 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_304 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_304, 0, x_302); +lean_ctor_set(x_304, 1, x_303); +x_305 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_304, x_5, x_6, x_7, x_8, x_293); +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 1); +lean_inc(x_307); +lean_dec(x_305); +lean_inc(x_8); +x_308 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_306, x_5, x_6, x_7, x_8, x_307); +lean_dec(x_306); +if (lean_obj_tag(x_308) == 0) +{ +lean_object* x_309; lean_object* x_310; +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_308, 1); +lean_inc(x_310); +lean_dec(x_308); +x_245 = x_309; +x_246 = x_310; +goto block_270; +} +else +{ +lean_object* x_311; lean_object* x_312; +x_311 = lean_ctor_get(x_308, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_308, 1); +lean_inc(x_312); +lean_dec(x_308); +x_271 = x_311; +x_272 = x_312; +goto block_291; +} +} +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; +x_324 = lean_ctor_get(x_7, 3); +lean_inc(x_324); +x_325 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_8, x_24); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +x_328 = lean_st_ref_get(x_8, x_327); +x_329 = lean_ctor_get(x_328, 0); lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_box(1); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_328); -lean_inc(x_323); -x_331 = l_Lean_Meta_SynthInstance_newSubgoal(x_319, x_320, x_312, x_330, x_323, x_328, x_4, x_5, x_6, x_7, x_329); -if (lean_obj_tag(x_331) == 0) +x_330 = lean_ctor_get(x_329, 3); +lean_inc(x_330); +lean_dec(x_329); +x_331 = lean_ctor_get_uint8(x_330, sizeof(void*)*1); +lean_dec(x_330); +if (x_331 == 0) { -lean_object* x_332; lean_object* x_333; -x_332 = lean_ctor_get(x_331, 1); +lean_object* x_332; lean_object* x_333; lean_object* x_334; +lean_dec(x_3); +x_332 = lean_ctor_get(x_328, 1); lean_inc(x_332); -lean_dec(x_331); +lean_dec(x_328); +x_333 = lean_box(0); +lean_inc(x_8); lean_inc(x_7); -lean_inc(x_328); -x_333 = l_Lean_Meta_SynthInstance_synth(x_323, x_328, x_4, x_5, x_6, x_7, x_332); -if (lean_obj_tag(x_333) == 0) +lean_inc(x_6); +lean_inc(x_5); +x_334 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_333, x_5, x_6, x_7, x_8, x_332); +if (lean_obj_tag(x_334) == 0) { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); +lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; +x_335 = lean_ctor_get(x_334, 0); lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_st_ref_get(x_7, x_335); -x_337 = lean_ctor_get(x_336, 1); -lean_inc(x_337); -lean_dec(x_336); -x_338 = lean_st_ref_get(x_328, x_337); -lean_dec(x_328); -x_339 = lean_ctor_get(x_338, 1); -lean_inc(x_339); -lean_dec(x_338); -x_340 = lean_st_ref_get(x_7, x_339); -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); +x_336 = lean_ctor_get(x_334, 1); +lean_inc(x_336); +lean_dec(x_334); +x_337 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_336); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_338 = !lean_is_exclusive(x_337); +if (x_338 == 0) +{ +lean_object* x_339; +x_339 = lean_ctor_get(x_337, 0); +lean_dec(x_339); +lean_ctor_set(x_337, 0, x_335); +return x_337; +} +else +{ +lean_object* x_340; lean_object* x_341; +x_340 = lean_ctor_get(x_337, 1); +lean_inc(x_340); +lean_dec(x_337); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_335); +lean_ctor_set(x_341, 1, x_340); +return x_341; +} +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; uint8_t x_345; +x_342 = lean_ctor_get(x_334, 0); lean_inc(x_342); -lean_dec(x_340); -x_343 = lean_ctor_get(x_341, 3); +x_343 = lean_ctor_get(x_334, 1); lean_inc(x_343); -lean_dec(x_341); -x_344 = lean_ctor_get_uint8(x_343, sizeof(void*)*1); -lean_dec(x_343); -x_345 = lean_st_ref_take(x_7, x_342); -x_346 = lean_ctor_get(x_345, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_346, 3); +lean_dec(x_334); +x_344 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_343); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_345 = !lean_is_exclusive(x_344); +if (x_345 == 0) +{ +lean_object* x_346; +x_346 = lean_ctor_get(x_344, 0); +lean_dec(x_346); +lean_ctor_set_tag(x_344, 1); +lean_ctor_set(x_344, 0, x_342); +return x_344; +} +else +{ +lean_object* x_347; lean_object* x_348; +x_347 = lean_ctor_get(x_344, 1); lean_inc(x_347); -x_348 = lean_ctor_get(x_345, 1); -lean_inc(x_348); -lean_dec(x_345); -x_349 = lean_ctor_get(x_346, 0); +lean_dec(x_344); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_342); +lean_ctor_set(x_348, 1, x_347); +return x_348; +} +} +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; +x_349 = lean_ctor_get(x_328, 1); lean_inc(x_349); -x_350 = lean_ctor_get(x_346, 1); -lean_inc(x_350); -x_351 = lean_ctor_get(x_346, 2); +lean_dec(x_328); +lean_inc(x_3); +x_350 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_349); +x_351 = lean_ctor_get(x_350, 0); lean_inc(x_351); -if (lean_is_exclusive(x_346)) { - lean_ctor_release(x_346, 0); - lean_ctor_release(x_346, 1); - lean_ctor_release(x_346, 2); - lean_ctor_release(x_346, 3); - x_352 = x_346; -} else { - lean_dec_ref(x_346); - x_352 = lean_box(0); -} -x_353 = lean_ctor_get(x_347, 0); +x_352 = lean_unbox(x_351); +lean_dec(x_351); +if (x_352 == 0) +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; +lean_dec(x_3); +x_353 = lean_ctor_get(x_350, 1); lean_inc(x_353); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - x_354 = x_347; -} else { - lean_dec_ref(x_347); - x_354 = lean_box(0); -} -if (lean_is_scalar(x_354)) { - x_355 = lean_alloc_ctor(0, 1, 1); -} else { - x_355 = x_354; -} -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set_uint8(x_355, sizeof(void*)*1, x_28); -if (lean_is_scalar(x_352)) { - x_356 = lean_alloc_ctor(0, 4, 0); -} else { - x_356 = x_352; -} -lean_ctor_set(x_356, 0, x_349); -lean_ctor_set(x_356, 1, x_350); -lean_ctor_set(x_356, 2, x_351); -lean_ctor_set(x_356, 3, x_355); -x_357 = lean_st_ref_set(x_7, x_356, x_348); +lean_dec(x_350); +x_354 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_355 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_354, x_5, x_6, x_7, x_8, x_353); +if (lean_obj_tag(x_355) == 0) +{ +lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_355, 1); +lean_inc(x_357); +lean_dec(x_355); +x_358 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_357); +lean_dec(x_8); lean_dec(x_7); -x_358 = lean_ctor_get(x_357, 1); -lean_inc(x_358); -if (lean_is_exclusive(x_357)) { - lean_ctor_release(x_357, 0); - lean_ctor_release(x_357, 1); - x_359 = x_357; -} else { - lean_dec_ref(x_357); - x_359 = lean_box(0); -} -x_360 = lean_box(x_344); -x_361 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_361, 0, x_334); -lean_ctor_set(x_361, 1, x_360); -if (lean_is_scalar(x_359)) { - x_362 = lean_alloc_ctor(0, 2, 0); -} else { - x_362 = x_359; -} -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_358); -x_9 = x_362; -goto block_21; +lean_dec(x_6); +lean_dec(x_5); +x_359 = !lean_is_exclusive(x_358); +if (x_359 == 0) +{ +lean_object* x_360; +x_360 = lean_ctor_get(x_358, 0); +lean_dec(x_360); +lean_ctor_set(x_358, 0, x_356); +return x_358; } else { -lean_object* x_363; lean_object* x_364; -lean_dec(x_328); -x_363 = lean_ctor_get(x_333, 0); +lean_object* x_361; lean_object* x_362; +x_361 = lean_ctor_get(x_358, 1); +lean_inc(x_361); +lean_dec(x_358); +x_362 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_362, 0, x_356); +lean_ctor_set(x_362, 1, x_361); +return x_362; +} +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; +x_363 = lean_ctor_get(x_355, 0); lean_inc(x_363); -x_364 = lean_ctor_get(x_333, 1); +x_364 = lean_ctor_get(x_355, 1); lean_inc(x_364); -lean_dec(x_333); -x_286 = x_363; -x_287 = x_364; -goto block_306; -} -} -else -{ -lean_object* x_365; lean_object* x_366; -lean_dec(x_328); -lean_dec(x_323); +lean_dec(x_355); +x_365 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_364); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_365 = lean_ctor_get(x_331, 0); -lean_inc(x_365); -x_366 = lean_ctor_get(x_331, 1); -lean_inc(x_366); -lean_dec(x_331); -x_286 = x_365; -x_287 = x_366; -goto block_306; +x_366 = !lean_is_exclusive(x_365); +if (x_366 == 0) +{ +lean_object* x_367; +x_367 = lean_ctor_get(x_365, 0); +lean_dec(x_367); +lean_ctor_set_tag(x_365, 1); +lean_ctor_set(x_365, 0, x_363); +return x_365; } +else +{ +lean_object* x_368; lean_object* x_369; +x_368 = lean_ctor_get(x_365, 1); +lean_inc(x_368); +lean_dec(x_365); +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_363); +lean_ctor_set(x_369, 1, x_368); +return x_369; } } } else { -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; -x_386 = lean_ctor_get(x_6, 3); -lean_inc(x_386); -x_387 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_7, x_23); -x_388 = lean_ctor_get(x_387, 0); +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_370 = lean_ctor_get(x_350, 1); +lean_inc(x_370); +lean_dec(x_350); +lean_inc(x_1); +x_371 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_371, 0, x_1); +x_372 = l_Lean_Meta_SynthInstance_main___lambda__2___closed__2; +x_373 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_373, 0, x_372); +lean_ctor_set(x_373, 1, x_371); +x_374 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_375 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_375, 0, x_373); +lean_ctor_set(x_375, 1, x_374); +x_376 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_375, x_5, x_6, x_7, x_8, x_370); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_376, 1); +lean_inc(x_378); +lean_dec(x_376); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_379 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_377, x_5, x_6, x_7, x_8, x_378); +lean_dec(x_377); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); +lean_inc(x_381); +lean_dec(x_379); +x_382 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_381); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_383 = !lean_is_exclusive(x_382); +if (x_383 == 0) +{ +lean_object* x_384; +x_384 = lean_ctor_get(x_382, 0); +lean_dec(x_384); +lean_ctor_set(x_382, 0, x_380); +return x_382; +} +else +{ +lean_object* x_385; lean_object* x_386; +x_385 = lean_ctor_get(x_382, 1); +lean_inc(x_385); +lean_dec(x_382); +x_386 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_386, 0, x_380); +lean_ctor_set(x_386, 1, x_385); +return x_386; +} +} +else +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; +x_387 = lean_ctor_get(x_379, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_379, 1); lean_inc(x_388); -x_389 = lean_ctor_get(x_387, 1); -lean_inc(x_389); -lean_dec(x_387); -x_443 = lean_st_ref_get(x_7, x_389); -x_444 = lean_ctor_get(x_443, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_444, 3); -lean_inc(x_445); -lean_dec(x_444); -x_446 = lean_ctor_get_uint8(x_445, sizeof(void*)*1); -lean_dec(x_445); -if (x_446 == 0) -{ -lean_object* x_447; -x_447 = lean_ctor_get(x_443, 1); -lean_inc(x_447); -lean_dec(x_443); -x_390 = x_447; -goto block_442; -} -else -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; -x_448 = lean_ctor_get(x_443, 1); -lean_inc(x_448); -lean_dec(x_443); -lean_inc(x_3); -x_449 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_4, x_5, x_6, x_7, x_448); -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_unbox(x_450); -lean_dec(x_450); -if (x_451 == 0) -{ -lean_object* x_452; -x_452 = lean_ctor_get(x_449, 1); -lean_inc(x_452); -lean_dec(x_449); -x_390 = x_452; -goto block_442; -} -else -{ -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_453 = lean_ctor_get(x_449, 1); -lean_inc(x_453); -lean_dec(x_449); -lean_inc(x_1); -x_454 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_454, 0, x_1); -x_455 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__3; -x_456 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_454); -x_457 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_458 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_458, 0, x_456); -lean_ctor_set(x_458, 1, x_457); -lean_inc(x_3); -x_459 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_458, x_4, x_5, x_6, x_7, x_453); -x_460 = lean_ctor_get(x_459, 1); -lean_inc(x_460); -lean_dec(x_459); -x_390 = x_460; -goto block_442; -} -} -block_442: -{ -lean_object* x_391; uint8_t x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; -lean_inc(x_1); -x_391 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_391, 0, x_1); -x_392 = 0; -x_393 = lean_box(0); -lean_inc(x_4); -x_394 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_391, x_392, x_393, x_4, x_5, x_6, x_7, x_390); -x_395 = lean_ctor_get(x_394, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_394, 1); -lean_inc(x_396); -lean_dec(x_394); -x_397 = lean_st_ref_get(x_7, x_396); -x_398 = lean_ctor_get(x_397, 1); -lean_inc(x_398); -lean_dec(x_397); -x_399 = lean_st_ref_get(x_5, x_398); -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); -lean_inc(x_401); -lean_dec(x_399); -x_402 = lean_ctor_get(x_400, 0); -lean_inc(x_402); -lean_dec(x_400); -lean_inc(x_402); -x_403 = l_Lean_Meta_SynthInstance_mkTableKey(x_402, x_1); -x_404 = lean_ctor_get(x_6, 0); -lean_inc(x_404); -x_405 = l_Lean_Meta_SynthInstance_getMaxHeartbeats(x_404); -lean_dec(x_404); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_2); -lean_ctor_set(x_406, 1, x_405); -x_407 = lean_st_ref_get(x_7, x_401); -x_408 = lean_ctor_get(x_407, 1); -lean_inc(x_408); -lean_dec(x_407); -x_409 = l_Lean_Meta_SynthInstance_main___lambda__1___closed__1; -x_410 = lean_st_mk_ref(x_409, x_408); -x_411 = lean_ctor_get(x_410, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_410, 1); -lean_inc(x_412); -lean_dec(x_410); -x_413 = lean_box(1); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_411); -lean_inc(x_406); -x_414 = l_Lean_Meta_SynthInstance_newSubgoal(x_402, x_403, x_395, x_413, x_406, x_411, x_4, x_5, x_6, x_7, x_412); -if (lean_obj_tag(x_414) == 0) -{ -lean_object* x_415; lean_object* x_416; -x_415 = lean_ctor_get(x_414, 1); -lean_inc(x_415); -lean_dec(x_414); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_411); -x_416 = l_Lean_Meta_SynthInstance_synth(x_406, x_411, x_4, x_5, x_6, x_7, x_415); -if (lean_obj_tag(x_416) == 0) -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); -lean_inc(x_418); -lean_dec(x_416); -x_419 = lean_st_ref_get(x_7, x_418); -x_420 = lean_ctor_get(x_419, 1); -lean_inc(x_420); -lean_dec(x_419); -x_421 = lean_st_ref_get(x_411, x_420); -lean_dec(x_411); -x_422 = lean_ctor_get(x_421, 1); -lean_inc(x_422); -lean_dec(x_421); -x_423 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_388, x_3, x_386, x_4, x_5, x_6, x_7, x_422); +lean_dec(x_379); +x_389 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_326, x_4, x_324, x_5, x_6, x_7, x_8, x_388); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_424 = !lean_is_exclusive(x_423); -if (x_424 == 0) +x_390 = !lean_is_exclusive(x_389); +if (x_390 == 0) { -lean_object* x_425; -x_425 = lean_ctor_get(x_423, 0); -lean_dec(x_425); -lean_ctor_set(x_423, 0, x_417); -return x_423; +lean_object* x_391; +x_391 = lean_ctor_get(x_389, 0); +lean_dec(x_391); +lean_ctor_set_tag(x_389, 1); +lean_ctor_set(x_389, 0, x_387); +return x_389; } else { -lean_object* x_426; lean_object* x_427; -x_426 = lean_ctor_get(x_423, 1); -lean_inc(x_426); -lean_dec(x_423); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_417); -lean_ctor_set(x_427, 1, x_426); -return x_427; +lean_object* x_392; lean_object* x_393; +x_392 = lean_ctor_get(x_389, 1); +lean_inc(x_392); +lean_dec(x_389); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_387); +lean_ctor_set(x_393, 1, x_392); +return x_393; } } -else -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; -lean_dec(x_411); -x_428 = lean_ctor_get(x_416, 0); -lean_inc(x_428); -x_429 = lean_ctor_get(x_416, 1); -lean_inc(x_429); -lean_dec(x_416); -x_430 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_388, x_3, x_386, x_4, x_5, x_6, x_7, x_429); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -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_tag(x_430, 1); -lean_ctor_set(x_430, 0, x_428); -return x_430; -} -else -{ -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(1, 2, 0); -lean_ctor_set(x_434, 0, x_428); -lean_ctor_set(x_434, 1, x_433); -return x_434; -} -} -} -else -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; uint8_t x_438; -lean_dec(x_411); -lean_dec(x_406); -x_435 = lean_ctor_get(x_414, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_414, 1); -lean_inc(x_436); -lean_dec(x_414); -x_437 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_388, x_3, x_386, x_4, x_5, x_6, x_7, x_436); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_438 = !lean_is_exclusive(x_437); -if (x_438 == 0) -{ -lean_object* x_439; -x_439 = lean_ctor_get(x_437, 0); -lean_dec(x_439); -lean_ctor_set_tag(x_437, 1); -lean_ctor_set(x_437, 0, x_435); -return x_437; -} -else -{ -lean_object* x_440; lean_object* x_441; -x_440 = lean_ctor_get(x_437, 1); -lean_inc(x_440); -lean_dec(x_437); -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_435); -lean_ctor_set(x_441, 1, x_440); -return x_441; -} } } } @@ -16681,15 +16694,25 @@ lean_object* l_Lean_Meta_SynthInstance_main(lean_object* x_1, lean_object* x_2, _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_main___lambda__1), 8, 3); +x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_main___lambda__2), 9, 4); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_8); +lean_closure_set(x_9, 3, x_8); x_10 = l_Lean_Core_withCurrHeartbeats___at_Lean_Meta_SynthInstance_main___spec__1(x_9, x_3, x_4, x_5, x_6, x_7); return x_10; } } +lean_object* l_Lean_Meta_SynthInstance_main___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_SynthInstance_main___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___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) { _start: { @@ -18294,7 +18317,211 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7() { +lean_object* l_Lean_Meta_synthInstance_x3f___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Meta_hasAssignableMVar(x_10, x_4, x_5, x_6, x_7, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 0); +lean_dec(x_16); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_12, 0, x_17); +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_10); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_22 = x_12; +} else { + lean_dec_ref(x_12); + x_22 = lean_box(0); +} +x_43 = lean_st_ref_get(x_7, x_21); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_23 = x_48; +x_24 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +lean_inc(x_2); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2, x_4, x_5, x_6, x_7, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_23 = x_53; +x_24 = x_52; +goto block_42; +} +block_42: +{ +if (x_23 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_25 = lean_box(0); +if (lean_is_scalar(x_22)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_22; +} +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +else +{ +lean_object* 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; uint8_t x_36; +lean_dec(x_22); +x_27 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6; +x_28 = 1; +x_29 = l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(x_10, x_27, x_28); +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__2; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2, x_34, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_35, 0, x_38); +return x_35; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_9); +if (x_54 == 0) +{ +return x_9; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_9, 0); +x_56 = lean_ctor_get(x_9, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_9); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -18302,16 +18529,174 @@ x_1 = lean_mk_string("FOUND result "); return x_1; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9() { +lean_object* l_Lean_Meta_synthInstance_x3f___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) { +_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_SynthInstance_main(x_1, x_2, x_5, x_6, x_7, x_8, 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) +{ +uint8_t x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +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 +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +lean_dec(x_11); +x_34 = lean_st_ref_get(x_8, x_18); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = 0; +x_20 = x_39; +x_21 = x_38; +goto block_33; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_dec(x_34); +lean_inc(x_3); +x_41 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_3, x_5, x_6, x_7, x_8, x_40); +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 = lean_unbox(x_42); +lean_dec(x_42); +x_20 = x_44; +x_21 = x_43; +goto block_33; +} +block_33: +{ +if (x_20 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Meta_synthInstance_x3f___lambda__1(x_19, x_3, x_22, x_5, x_6, x_7, x_8, x_21); +return x_23; +} +else +{ +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_inc(x_19); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_19); +x_25 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_inc(x_3); +x_29 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_3, x_28, x_5, x_6, x_7, x_8, x_21); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Meta_synthInstance_x3f___lambda__1(x_19, x_3, x_30, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_30); +return x_32; +} +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_10); +if (x_45 == 0) +{ +return x_10; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_10, 0); +x_47 = lean_ctor_get(x_10, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -18319,16 +18704,16 @@ x_1 = lean_mk_string(" ==> "); return x_1; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_synthInstance_x3f___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* l_Lean_Meta_synthInstance_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -18340,481 +18725,125 @@ lean_inc(x_1); x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_100; lean_object* x_101; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_114 = lean_st_ref_get(x_6, x_10); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_115, 3); -lean_inc(x_116); -lean_dec(x_115); -x_117 = lean_ctor_get_uint8(x_116, sizeof(void*)*1); -lean_dec(x_116); -if (x_117 == 0) +x_11 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_29 = lean_st_ref_get(x_6, x_10); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) { -lean_object* x_118; uint8_t x_119; -x_118 = lean_ctor_get(x_114, 1); -lean_inc(x_118); -lean_dec(x_114); -x_119 = 0; -x_100 = x_119; -x_101 = x_118; -goto block_113; +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_12 = x_34; +x_13 = x_33; +goto block_28; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_120 = lean_ctor_get(x_114, 1); -lean_inc(x_120); -lean_dec(x_114); -x_121 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_122 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_121, x_3, x_4, x_5, x_6, x_120); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_unbox(x_123); -lean_dec(x_123); -x_100 = x_125; -x_101 = x_124; -goto block_113; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_11, x_3, x_4, x_5, x_6, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); +lean_dec(x_37); +x_12 = x_39; +x_13 = x_38; +goto block_28; } -block_99: +block_28: { -lean_object* x_12; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_12 = l_Lean_Meta_SynthInstance_main(x_9, x_2, x_3, x_4, x_5, x_6, x_11); -if (lean_obj_tag(x_12) == 0) +if (x_12 == 0) { -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_12, 0, x_16); -return x_12; +lean_object* x_14; lean_object* x_15; +lean_dec(x_1); +x_14 = lean_box(0); +x_15 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_9, x_2, x_11, x_14, x_3, x_4, x_5, x_6, x_13); +return x_15; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - x_22 = x_13; -} else { - lean_dec_ref(x_13); - x_22 = lean_box(0); -} -x_76 = lean_st_ref_get(x_6, x_20); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_ctor_get_uint8(x_78, sizeof(void*)*1); -lean_dec(x_78); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_23 = x_80; -goto block_75; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_81 = lean_ctor_get(x_76, 1); -lean_inc(x_81); -lean_dec(x_76); -x_82 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_83 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_82, x_3, x_4, x_5, x_6, x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_unbox(x_84); -lean_dec(x_84); -if (x_85 == 0) -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); -lean_dec(x_83); -x_23 = x_86; -goto block_75; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_87 = lean_ctor_get(x_83, 1); -lean_inc(x_87); -lean_dec(x_83); -lean_inc(x_21); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_21); -x_89 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8; -x_90 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_82, x_92, x_3, x_4, x_5, x_6, x_87); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_23 = x_94; -goto block_75; -} -} -block_75: -{ -lean_object* x_24; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_24 = l_Lean_Meta_instantiateMVars(x_21, x_3, x_4, x_5, x_6, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +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; +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_1); +x_17 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +lean_inc(x_9); +x_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_9); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_17); +x_24 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_11, x_23, x_3, x_4, x_5, x_6, x_13); 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 = l_Lean_Meta_hasAssignableMVar(x_25, x_3, x_4, x_5, x_6, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -uint8_t x_30; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_27); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_27, 0); -lean_dec(x_31); -if (lean_is_scalar(x_22)) { - x_32 = lean_alloc_ctor(1, 1, 0); -} else { - x_32 = x_22; -} -lean_ctor_set(x_32, 0, x_25); -lean_ctor_set(x_27, 0, x_32); +x_27 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_9, x_2, x_11, x_25, x_3, x_4, x_5, x_6, x_26); +lean_dec(x_25); return x_27; } -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_dec(x_27); -if (lean_is_scalar(x_22)) { - x_34 = lean_alloc_ctor(1, 1, 0); -} else { - x_34 = x_22; -} -lean_ctor_set(x_34, 0, x_25); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; } } else { -lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_dec(x_22); -x_36 = lean_ctor_get(x_27, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_37 = x_27; -} else { - lean_dec_ref(x_27); - x_37 = lean_box(0); -} -x_59 = lean_st_ref_get(x_6, x_36); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_60, 3); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); -lean_dec(x_61); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_59, 1); -lean_inc(x_63); -lean_dec(x_59); -x_64 = 0; -x_38 = x_64; -x_39 = x_63; -goto block_58; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_65 = lean_ctor_get(x_59, 1); -lean_inc(x_65); -lean_dec(x_59); -x_66 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_66, x_3, x_4, x_5, x_6, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_unbox(x_68); -lean_dec(x_68); -x_38 = x_70; -x_39 = x_69; -goto block_58; -} -block_58: -{ -if (x_38 == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_25); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_40 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_37; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} -else -{ -lean_object* x_42; uint8_t 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; uint8_t x_52; -lean_dec(x_37); -x_42 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6; -x_43 = 1; -x_44 = l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(x_25, x_42, x_43); -x_45 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__2; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_51 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_50, x_49, x_3, x_4, x_5, x_6, x_39); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -x_54 = lean_box(0); -lean_ctor_set(x_51, 0, x_54); -return x_51; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -} -} -} -} -else -{ -uint8_t x_71; -lean_dec(x_22); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_71 = !lean_is_exclusive(x_24); -if (x_71 == 0) -{ -return x_24; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_24, 0); -x_73 = lean_ctor_get(x_24, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_24); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_95 = !lean_is_exclusive(x_12); -if (x_95 == 0) -{ -return x_12; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_12, 0); -x_97 = lean_ctor_get(x_12, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_12); -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; -} -} -} -block_113: -{ -if (x_100 == 0) -{ -lean_dec(x_1); -x_11 = x_101; -goto block_99; -} -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; lean_object* x_112; -x_102 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_102, 0, x_1); -x_103 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10; -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -lean_inc(x_9); -x_107 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_107, 0, x_9); -x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_103); -x_110 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_111 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_110, x_109, x_3, x_4, x_5, x_6, x_101); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_11 = x_112; -goto block_99; -} -} -} -else -{ -uint8_t x_126; +uint8_t x_40; 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_126 = !lean_is_exclusive(x_8); -if (x_126 == 0) +x_40 = !lean_is_exclusive(x_8); +if (x_40 == 0) { return x_8; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_8, 0); -x_128 = lean_ctor_get(x_8, 1); -lean_inc(x_128); -lean_inc(x_127); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_8, 0); +x_42 = lean_ctor_get(x_8, 1); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_8); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; +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; } } } } -lean_object* l_Lean_Meta_synthInstance_x3f___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* l_Lean_Meta_synthInstance_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -18994,7 +19023,7 @@ return x_52; } } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -19002,16 +19031,16 @@ x_1 = lean_mk_string("result type"); return x_1; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3() { _start: { lean_object* x_1; @@ -19019,16 +19048,266 @@ x_1 = lean_mk_string("\nis not definitionally equal to"); return x_1; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5() { +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +x_12 = l_Lean_Meta_inferType(x_1, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +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_ctor_get(x_7, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_7, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 3); +lean_inc(x_17); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_15); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_17); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_13); +lean_inc(x_3); +x_19 = l_Lean_Meta_isExprDefEq(x_3, x_13, x_18, x_8, x_9, x_10, x_14); +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; uint8_t x_23; lean_object* x_24; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_dec(x_1); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_41 = lean_st_ref_get(x_10, x_22); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); +lean_dec(x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = 0; +x_23 = x_46; +x_24 = x_45; +goto block_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_dec(x_41); +lean_inc(x_5); +x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_5, x_7, x_8, x_9, x_10, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_unbox(x_49); +lean_dec(x_49); +x_23 = x_51; +x_24 = x_50; +goto block_40; +} +block_40: +{ +if (x_23 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_apply_6(x_4, x_25, x_7, x_8, x_9, x_10, x_24); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_27 = l_Lean_indentExpr(x_13); +x_28 = l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_indentExpr(x_3); +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_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_5, x_35, x_7, x_8, x_9, x_10, x_24); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_box(0); +x_39 = lean_apply_6(x_4, x_38, x_7, x_8, x_9, x_10, x_37); +return x_39; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_52 = lean_ctor_get(x_19, 1); +lean_inc(x_52); +lean_dec(x_19); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_53 = l_Lean_Meta_instantiateMVars(x_1, x_7, x_8, x_9, x_10, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_54); +x_57 = lean_apply_6(x_4, x_56, x_7, x_8, x_9, x_10, x_55); +return x_57; +} +else +{ +uint8_t x_58; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_53); +if (x_58 == 0) +{ +return x_53; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_53, 0); +x_60 = lean_ctor_get(x_53, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_53); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_13); +lean_dec(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); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_19); +if (x_62 == 0) +{ +return x_19; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_19, 0); +x_64 = lean_ctor_get(x_19, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_19); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +uint8_t x_66; +lean_dec(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); +lean_dec(x_2); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_12); +if (x_66 == 0) +{ +return x_12; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_12, 0); +x_68 = lean_ctor_get(x_12, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_12); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -19036,1454 +19315,1477 @@ x_1 = lean_mk_string("result "); return x_1; } } -static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6() { +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; -x_502 = lean_ctor_get(x_5, 0); -lean_inc(x_502); -x_503 = l_Lean_Meta_synthInstance_maxSize; -x_504 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_502, x_503); -lean_dec(x_502); -x_505 = l_Lean_Meta_getConfig(x_3, x_4, x_5, x_6, x_7); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; +x_358 = lean_ctor_get(x_5, 0); +lean_inc(x_358); +x_359 = l_Lean_Meta_synthInstance_maxSize; +x_360 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_358, x_359); +lean_dec(x_358); +x_361 = l_Lean_Meta_getConfig(x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_2) == 0) { -lean_object* x_506; lean_object* x_507; -x_506 = lean_ctor_get(x_505, 0); -lean_inc(x_506); -x_507 = lean_ctor_get(x_505, 1); -lean_inc(x_507); -lean_dec(x_505); -x_8 = x_504; -x_9 = x_506; -x_10 = x_507; -goto block_501; +lean_object* x_362; lean_object* x_363; +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +lean_dec(x_361); +x_8 = x_360; +x_9 = x_362; +x_10 = x_363; +goto block_357; } else { -lean_object* x_508; lean_object* x_509; lean_object* x_510; -lean_dec(x_504); -x_508 = lean_ctor_get(x_2, 0); -lean_inc(x_508); +lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_360); +x_364 = lean_ctor_get(x_2, 0); +lean_inc(x_364); lean_dec(x_2); -x_509 = lean_ctor_get(x_505, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_505, 1); -lean_inc(x_510); -lean_dec(x_505); -x_8 = x_508; -x_9 = x_509; -x_10 = x_510; -goto block_501; +x_365 = lean_ctor_get(x_361, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_361, 1); +lean_inc(x_366); +lean_dec(x_361); +x_8 = x_364; +x_9 = x_365; +x_10 = x_366; +goto block_357; } -block_501: +block_357: { -lean_object* x_11; uint8_t x_21; -x_21 = !lean_is_exclusive(x_3); -if (x_21 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_3); +if (x_11 == 0) { -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_3, 0); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_3, 0); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; -x_24 = lean_ctor_get(x_3, 1); -x_25 = lean_ctor_get(x_3, 2); -x_26 = lean_ctor_get(x_3, 3); -x_27 = 1; -x_28 = 0; -x_29 = 3; -lean_ctor_set_uint8(x_22, 0, x_27); -lean_ctor_set_uint8(x_22, 1, x_27); -lean_ctor_set_uint8(x_22, 3, x_28); -lean_ctor_set_uint8(x_22, 4, x_27); -lean_ctor_set_uint8(x_22, 5, x_29); -lean_inc(x_26); +uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_14 = 1; +x_15 = 0; +x_16 = 3; +lean_ctor_set_uint8(x_12, 0, x_14); +lean_ctor_set_uint8(x_12, 1, x_14); +lean_ctor_set_uint8(x_12, 3, x_15); +lean_ctor_set_uint8(x_12, 4, x_14); +lean_ctor_set_uint8(x_12, 5, x_16); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_17 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_21 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_18, x_20, x_3, x_4, x_5, x_6, x_19); +if (lean_obj_tag(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_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_st_ref_get(x_6, x_23); +x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_30 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_30) == 0) +lean_dec(x_24); +x_26 = lean_st_ref_get(x_4, x_25); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_30, 2); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); lean_dec(x_30); -x_33 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; +x_32 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_31, x_22); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_free_object(x_26); +lean_inc(x_22); +x_33 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__3), 7, 2); +lean_closure_set(x_33, 0, x_22); +lean_closure_set(x_33, 1, x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_34 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_31, x_33, x_3, x_4, x_5, x_6, x_32); +x_34 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_33, x_3, x_4, x_5, x_6, x_29); if (lean_obj_tag(x_34) == 0) { -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_35; x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_dec(x_9); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = lean_st_ref_get(x_6, x_36); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_get(x_4, x_38); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_39, 0); -x_42 = lean_ctor_get(x_39, 1); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_43, 2); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_44, x_35); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_free_object(x_39); -lean_inc(x_35); -x_46 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__1), 7, 2); -lean_closure_set(x_46, 0, x_35); -lean_closure_set(x_46, 1, x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_47 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_46, x_3, x_4, x_5, x_6, x_42); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_box(0); -x_51 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_50, x_3, x_4, x_5, x_6, x_49); +x_37 = lean_box(0); +x_38 = l_Lean_Meta_synthInstance_x3f___lambda__4(x_22, x_37, x_3, x_4, x_5, x_6, x_36); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_11 = x_51; -goto block_20; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +return x_38; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_52 = lean_ctor_get(x_47, 1); -lean_inc(x_52); -lean_dec(x_47); -x_53 = lean_ctor_get(x_48, 0); -lean_inc(x_53); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - x_54 = x_48; -} else { - lean_dec_ref(x_48); - x_54 = lean_box(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_inc(x_41); +lean_inc(x_40); +lean_dec(x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } -x_113 = lean_st_ref_get(x_6, x_52); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_114, 3); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_ctor_get_uint8(x_115, sizeof(void*)*1); -lean_dec(x_115); -if (x_116 == 0) -{ -lean_object* x_117; -x_117 = lean_ctor_get(x_113, 1); -lean_inc(x_117); -lean_dec(x_113); -x_55 = x_117; -goto block_112; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_118 = lean_ctor_get(x_113, 1); -lean_inc(x_118); -lean_dec(x_113); -x_119 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_119, x_3, x_4, x_5, x_6, x_118); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_unbox(x_121); -lean_dec(x_121); -if (x_122 == 0) +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_43 = lean_ctor_get(x_34, 1); +lean_inc(x_43); +lean_dec(x_34); +x_44 = lean_ctor_get(x_35, 0); +lean_inc(x_44); +lean_dec(x_35); +lean_inc(x_22); +x_45 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__4___boxed), 7, 1); +lean_closure_set(x_45, 0, x_22); +x_46 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_77 = lean_st_ref_get(x_6, x_43); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_ctor_get_uint8(x_79, sizeof(void*)*1); +lean_dec(x_79); +if (x_80 == 0) { -lean_object* x_123; -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_dec(x_120); -x_55 = x_123; -goto block_112; +lean_object* x_81; +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); +x_47 = x_15; +x_48 = x_81; +goto block_76; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_124 = lean_ctor_get(x_120, 1); -lean_inc(x_124); -lean_dec(x_120); -lean_inc(x_53); -x_125 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_125, 0, x_53); -x_126 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6; -x_127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_119, x_129, x_3, x_4, x_5, x_6, x_124); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_55 = x_131; -goto block_112; -} -} -block_112: -{ -lean_object* x_56; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_53); -x_56 = l_Lean_Meta_inferType(x_53, x_3, x_4, x_5, x_6, x_55); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_78; lean_object* x_79; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_9); -lean_ctor_set(x_78, 1, x_24); -lean_ctor_set(x_78, 2, x_25); -lean_ctor_set(x_78, 3, x_26); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_57); -lean_inc(x_35); -x_79 = l_Lean_Meta_isExprDefEq(x_35, x_57, x_78, x_4, x_5, x_6, x_58); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_unbox(x_80); -lean_dec(x_80); -if (x_81 == 0) -{ lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -lean_dec(x_54); -lean_dec(x_53); -x_82 = lean_ctor_get(x_79, 1); +x_82 = lean_ctor_get(x_77, 1); lean_inc(x_82); -lean_dec(x_79); -x_83 = lean_st_ref_get(x_6, x_82); +lean_dec(x_77); +x_83 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_46, x_3, x_4, x_5, x_6, x_82); x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -x_85 = lean_ctor_get(x_84, 3); +x_85 = lean_ctor_get(x_83, 1); lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_unbox(x_84); lean_dec(x_84); -x_86 = lean_ctor_get_uint8(x_85, sizeof(void*)*1); -lean_dec(x_85); -if (x_86 == 0) +x_47 = x_86; +x_48 = x_85; +goto block_76; +} +block_76: { -lean_object* x_87; -x_87 = lean_ctor_get(x_83, 1); -lean_inc(x_87); -lean_dec(x_83); -x_59 = x_28; -x_60 = x_87; -goto block_77; +if (x_47 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_box(0); +x_50 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_44, x_9, x_22, x_45, x_46, x_49, x_3, x_4, x_5, x_6, x_48); +if (lean_obj_tag(x_50) == 0) +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +return x_50; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -lean_dec(x_83); -x_89 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_90 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_89, x_3, x_4, x_5, x_6, x_88); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_unbox(x_91); -lean_dec(x_91); -x_59 = x_93; -x_60 = x_92; -goto block_77; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } else { -lean_object* x_94; lean_object* x_95; -lean_dec(x_57); -x_94 = lean_ctor_get(x_79, 1); -lean_inc(x_94); -lean_dec(x_79); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_95 = l_Lean_Meta_instantiateMVars(x_53, x_3, x_4, x_5, x_6, x_94); -if (lean_obj_tag(x_95) == 0) +uint8_t x_55; +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -if (lean_is_scalar(x_54)) { - x_98 = lean_alloc_ctor(1, 1, 0); -} else { - x_98 = x_54; -} -lean_ctor_set(x_98, 0, x_96); -x_99 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_98, x_3, x_4, x_5, x_6, x_97); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_99; -goto block_20; +return x_50; } else { -uint8_t x_100; -lean_dec(x_54); -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_100 = !lean_is_exclusive(x_95); -if (x_100 == 0) -{ -x_11 = x_95; -goto block_20; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_95, 0); -x_102 = lean_ctor_get(x_95, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_95); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -x_11 = x_103; -goto block_20; -} +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_50, 0); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_50); +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; } } } else { -uint8_t x_104; -lean_dec(x_57); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_104 = !lean_is_exclusive(x_79); -if (x_104 == 0) +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_inc(x_44); +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_44); +x_60 = l_Lean_Meta_synthInstance_x3f___lambda__6___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_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_46, x_63, x_3, x_4, x_5, x_6, x_48); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_44, x_9, x_22, x_45, x_46, x_65, x_3, x_4, x_5, x_6, x_66); +lean_dec(x_65); +if (lean_obj_tag(x_67) == 0) { -x_11 = x_79; -goto block_20; +uint8_t x_68; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +return x_67; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_79, 0); -x_106 = lean_ctor_get(x_79, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_79); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_11 = x_107; -goto block_20; -} -} -block_77: -{ -if (x_59 == 0) -{ -lean_object* x_61; lean_object* x_62; -lean_dec(x_57); -x_61 = lean_box(0); -x_62 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_61, x_3, x_4, x_5, x_6, x_60); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_62; -goto block_20; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_63 = l_Lean_indentExpr(x_57); -x_64 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2; -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4; -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_35); -x_68 = l_Lean_indentExpr(x_35); -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_71 = lean_alloc_ctor(10, 2, 0); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_67); +x_71 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_73 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_72, x_71, x_3, x_4, x_5, x_6, x_60); -x_74 = lean_ctor_get(x_73, 1); +return x_71; +} +} +else +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_67); +if (x_72 == 0) +{ +return x_67; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 1); lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_box(0); -x_76 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_75, x_3, x_4, x_5, x_6, x_74); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_76; -goto block_20; +lean_inc(x_73); +lean_dec(x_67); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} } } } else { -uint8_t x_108; -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_35); +uint8_t x_87; +lean_dec(x_22); lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_108 = !lean_is_exclusive(x_56); -if (x_108 == 0) -{ -x_11 = x_56; -goto block_20; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_56, 0); -x_110 = lean_ctor_get(x_56, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_56); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_11 = x_111; -goto block_20; -} -} -} -} -} -else -{ -uint8_t x_132; -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_132 = !lean_is_exclusive(x_47); -if (x_132 == 0) -{ -x_11 = x_47; -goto block_20; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_47, 0); -x_134 = lean_ctor_get(x_47, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_47); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -x_11 = x_135; -goto block_20; -} -} -} -else -{ -lean_object* x_136; -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_136 = lean_ctor_get(x_45, 0); -lean_inc(x_136); -lean_dec(x_45); -lean_ctor_set(x_39, 0, x_136); -x_11 = x_39; -goto block_20; -} -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_137 = lean_ctor_get(x_39, 0); -x_138 = lean_ctor_get(x_39, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_39); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_ctor_get(x_139, 2); -lean_inc(x_140); -lean_dec(x_139); -x_141 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_140, x_35); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; lean_object* x_143; -lean_inc(x_35); -x_142 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__1), 7, 2); -lean_closure_set(x_142, 0, x_35); -lean_closure_set(x_142, 1, x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_143 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_142, x_3, x_4, x_5, x_6, x_138); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -if (lean_obj_tag(x_144) == 0) -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_box(0); -x_147 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_146, x_3, x_4, x_5, x_6, x_145); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_147; -goto block_20; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_148 = lean_ctor_get(x_143, 1); -lean_inc(x_148); -lean_dec(x_143); -x_149 = lean_ctor_get(x_144, 0); -lean_inc(x_149); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - x_150 = x_144; -} else { - lean_dec_ref(x_144); - x_150 = lean_box(0); -} -x_209 = lean_st_ref_get(x_6, x_148); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_210, 3); -lean_inc(x_211); -lean_dec(x_210); -x_212 = lean_ctor_get_uint8(x_211, sizeof(void*)*1); -lean_dec(x_211); -if (x_212 == 0) -{ -lean_object* x_213; -x_213 = lean_ctor_get(x_209, 1); -lean_inc(x_213); -lean_dec(x_209); -x_151 = x_213; -goto block_208; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; -x_214 = lean_ctor_get(x_209, 1); -lean_inc(x_214); -lean_dec(x_209); -x_215 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_216 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_215, x_3, x_4, x_5, x_6, x_214); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -x_218 = lean_unbox(x_217); -lean_dec(x_217); -if (x_218 == 0) -{ -lean_object* x_219; -x_219 = lean_ctor_get(x_216, 1); -lean_inc(x_219); -lean_dec(x_216); -x_151 = x_219; -goto block_208; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_220 = lean_ctor_get(x_216, 1); -lean_inc(x_220); -lean_dec(x_216); -lean_inc(x_149); -x_221 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_221, 0, x_149); -x_222 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6; -x_223 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -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_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_215, x_225, x_3, x_4, x_5, x_6, x_220); -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -lean_dec(x_226); -x_151 = x_227; -goto block_208; -} -} -block_208: -{ -lean_object* x_152; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_149); -x_152 = l_Lean_Meta_inferType(x_149, x_3, x_4, x_5, x_6, x_151); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; lean_object* x_174; lean_object* x_175; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_174 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_174, 0, x_9); -lean_ctor_set(x_174, 1, x_24); -lean_ctor_set(x_174, 2, x_25); -lean_ctor_set(x_174, 3, x_26); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_153); -lean_inc(x_35); -x_175 = l_Lean_Meta_isExprDefEq(x_35, x_153, x_174, x_4, x_5, x_6, x_154); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; uint8_t x_177; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_unbox(x_176); -lean_dec(x_176); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; -lean_dec(x_150); -lean_dec(x_149); -x_178 = lean_ctor_get(x_175, 1); -lean_inc(x_178); -lean_dec(x_175); -x_179 = lean_st_ref_get(x_6, x_178); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_180, 3); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_ctor_get_uint8(x_181, sizeof(void*)*1); -lean_dec(x_181); -if (x_182 == 0) -{ -lean_object* x_183; -x_183 = lean_ctor_get(x_179, 1); -lean_inc(x_183); -lean_dec(x_179); -x_155 = x_28; -x_156 = x_183; -goto block_173; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; -x_184 = lean_ctor_get(x_179, 1); -lean_inc(x_184); -lean_dec(x_179); -x_185 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_186 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_185, x_3, x_4, x_5, x_6, x_184); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = lean_unbox(x_187); -lean_dec(x_187); -x_155 = x_189; -x_156 = x_188; -goto block_173; -} -} -else -{ -lean_object* x_190; lean_object* x_191; -lean_dec(x_153); -x_190 = lean_ctor_get(x_175, 1); -lean_inc(x_190); -lean_dec(x_175); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_191 = l_Lean_Meta_instantiateMVars(x_149, x_3, x_4, x_5, x_6, x_190); -if (lean_obj_tag(x_191) == 0) -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -lean_dec(x_191); -if (lean_is_scalar(x_150)) { - x_194 = lean_alloc_ctor(1, 1, 0); -} else { - x_194 = x_150; -} -lean_ctor_set(x_194, 0, x_192); -x_195 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_194, x_3, x_4, x_5, x_6, x_193); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_195; -goto block_20; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_150); -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_196 = lean_ctor_get(x_191, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_191, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_198 = x_191; -} else { - lean_dec_ref(x_191); - x_198 = lean_box(0); -} -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 2, 0); -} else { - x_199 = x_198; -} -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_197); -x_11 = x_199; -goto block_20; -} -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -lean_dec(x_153); -lean_dec(x_150); -lean_dec(x_149); -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_200 = lean_ctor_get(x_175, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_175, 1); -lean_inc(x_201); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_202 = x_175; -} else { - lean_dec_ref(x_175); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(1, 2, 0); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_200); -lean_ctor_set(x_203, 1, x_201); -x_11 = x_203; -goto block_20; -} -block_173: -{ -if (x_155 == 0) -{ -lean_object* x_157; lean_object* x_158; -lean_dec(x_153); -x_157 = lean_box(0); -x_158 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_157, x_3, x_4, x_5, x_6, x_156); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_158; -goto block_20; -} -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; 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_159 = l_Lean_indentExpr(x_153); -x_160 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2; -x_161 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4; -x_163 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -lean_inc(x_35); -x_164 = l_Lean_indentExpr(x_35); -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_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_169 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_168, x_167, x_3, x_4, x_5, x_6, x_156); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = lean_box(0); -x_172 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_35, x_171, x_3, x_4, x_5, x_6, x_170); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_172; -goto block_20; -} -} -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -lean_dec(x_150); -lean_dec(x_149); -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_204 = lean_ctor_get(x_152, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_152, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_206 = x_152; -} else { - lean_dec_ref(x_152); - x_206 = lean_box(0); -} -if (lean_is_scalar(x_206)) { - x_207 = lean_alloc_ctor(1, 2, 0); -} else { - x_207 = x_206; -} -lean_ctor_set(x_207, 0, x_204); -lean_ctor_set(x_207, 1, x_205); -x_11 = x_207; -goto block_20; -} -} -} -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_228 = lean_ctor_get(x_143, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_143, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - x_230 = x_143; -} else { - lean_dec_ref(x_143); - x_230 = lean_box(0); -} -if (lean_is_scalar(x_230)) { - x_231 = lean_alloc_ctor(1, 2, 0); -} else { - x_231 = x_230; -} -lean_ctor_set(x_231, 0, x_228); -lean_ctor_set(x_231, 1, x_229); -x_11 = x_231; -goto block_20; -} -} -else -{ -lean_object* x_232; lean_object* x_233; -lean_dec(x_35); -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_232 = lean_ctor_get(x_141, 0); -lean_inc(x_232); -lean_dec(x_141); -x_233 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_138); -x_11 = x_233; -goto block_20; -} -} -} -else -{ -uint8_t x_234; -lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_234 = !lean_is_exclusive(x_34); -if (x_234 == 0) +x_87 = !lean_is_exclusive(x_34); +if (x_87 == 0) { return x_34; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_235 = lean_ctor_get(x_34, 0); -x_236 = lean_ctor_get(x_34, 1); -lean_inc(x_236); -lean_inc(x_235); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_34, 0); +x_89 = lean_ctor_get(x_34, 1); +lean_inc(x_89); +lean_inc(x_88); lean_dec(x_34); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -return x_237; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -uint8_t x_238; +lean_object* x_91; +lean_dec(x_22); lean_dec(x_3); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_238 = !lean_is_exclusive(x_30); -if (x_238 == 0) -{ -return x_30; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_239 = lean_ctor_get(x_30, 0); -x_240 = lean_ctor_get(x_30, 1); -lean_inc(x_240); -lean_inc(x_239); -lean_dec(x_30); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_239); -lean_ctor_set(x_241, 1, x_240); -return x_241; -} +x_91 = lean_ctor_get(x_32, 0); +lean_inc(x_91); +lean_dec(x_32); +lean_ctor_set(x_26, 0, x_91); +return x_26; } } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; uint8_t x_246; uint8_t x_247; uint8_t x_248; uint8_t x_249; uint8_t x_250; uint8_t x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; -x_242 = lean_ctor_get(x_3, 1); -x_243 = lean_ctor_get(x_3, 2); -x_244 = lean_ctor_get(x_3, 3); -x_245 = lean_ctor_get_uint8(x_22, 2); -x_246 = lean_ctor_get_uint8(x_22, 6); -x_247 = lean_ctor_get_uint8(x_22, 7); -x_248 = lean_ctor_get_uint8(x_22, 8); -x_249 = lean_ctor_get_uint8(x_22, 9); -lean_dec(x_22); -x_250 = 1; -x_251 = 0; -x_252 = 3; -x_253 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_253, 0, x_250); -lean_ctor_set_uint8(x_253, 1, x_250); -lean_ctor_set_uint8(x_253, 2, x_245); -lean_ctor_set_uint8(x_253, 3, x_251); -lean_ctor_set_uint8(x_253, 4, x_250); -lean_ctor_set_uint8(x_253, 5, x_252); -lean_ctor_set_uint8(x_253, 6, x_246); -lean_ctor_set_uint8(x_253, 7, x_247); -lean_ctor_set_uint8(x_253, 8, x_248); -lean_ctor_set_uint8(x_253, 9, x_249); -lean_inc(x_244); -lean_inc(x_243); -lean_inc(x_242); -lean_ctor_set(x_3, 0, x_253); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = lean_ctor_get(x_26, 0); +x_93 = lean_ctor_get(x_26, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_26); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_94, 2); +lean_inc(x_95); +lean_dec(x_94); +x_96 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_95, x_22); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; +lean_inc(x_22); +x_97 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__3), 7, 2); +lean_closure_set(x_97, 0, x_22); +lean_closure_set(x_97, 1, x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_254 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_254) == 0) +x_98 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_97, x_3, x_4, x_5, x_6, x_93); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_258 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_255, x_257, x_3, x_4, x_5, x_6, x_256); -if (lean_obj_tag(x_258) == 0) +lean_object* x_99; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = lean_st_ref_get(x_6, x_260); -x_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); -x_263 = lean_st_ref_get(x_4, x_262); -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_263, 1); -lean_inc(x_265); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - x_266 = x_263; -} else { - lean_dec_ref(x_263); - x_266 = lean_box(0); -} -x_267 = lean_ctor_get(x_264, 1); -lean_inc(x_267); -lean_dec(x_264); -x_268 = lean_ctor_get(x_267, 2); -lean_inc(x_268); -lean_dec(x_267); -x_269 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_268, x_259); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; lean_object* x_271; -lean_dec(x_266); -lean_inc(x_259); -x_270 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__1), 7, 2); -lean_closure_set(x_270, 0, x_259); -lean_closure_set(x_270, 1, x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_271 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_270, x_3, x_4, x_5, x_6, x_265); -if (lean_obj_tag(x_271) == 0) -{ -lean_object* x_272; -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -if (lean_obj_tag(x_272) == 0) -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); +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_dec(x_9); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -lean_dec(x_271); -x_274 = lean_box(0); -x_275 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_259, x_274, x_3, x_4, x_5, x_6, x_273); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_box(0); +x_102 = l_Lean_Meta_synthInstance_x3f___lambda__4(x_22, x_101, x_3, x_4, x_5, x_6, x_100); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_11 = x_275; -goto block_20; -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; -x_276 = lean_ctor_get(x_271, 1); -lean_inc(x_276); -lean_dec(x_271); -x_277 = lean_ctor_get(x_272, 0); -lean_inc(x_277); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - x_278 = x_272; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; } else { - lean_dec_ref(x_272); - x_278 = lean_box(0); + lean_dec_ref(x_102); + x_105 = lean_box(0); } -x_337 = lean_st_ref_get(x_6, x_276); -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_338, 3); -lean_inc(x_339); -lean_dec(x_338); -x_340 = lean_ctor_get_uint8(x_339, sizeof(void*)*1); -lean_dec(x_339); -if (x_340 == 0) -{ -lean_object* x_341; -x_341 = lean_ctor_get(x_337, 1); -lean_inc(x_341); -lean_dec(x_337); -x_279 = x_341; -goto block_336; +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(0, 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_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; -x_342 = lean_ctor_get(x_337, 1); -lean_inc(x_342); -lean_dec(x_337); -x_343 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_344 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_343, x_3, x_4, x_5, x_6, x_342); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_unbox(x_345); -lean_dec(x_345); -if (x_346 == 0) +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_107 = lean_ctor_get(x_98, 1); +lean_inc(x_107); +lean_dec(x_98); +x_108 = lean_ctor_get(x_99, 0); +lean_inc(x_108); +lean_dec(x_99); +lean_inc(x_22); +x_109 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__4___boxed), 7, 1); +lean_closure_set(x_109, 0, x_22); +x_110 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_141 = lean_st_ref_get(x_6, x_107); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_142, 3); +lean_inc(x_143); +lean_dec(x_142); +x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*1); +lean_dec(x_143); +if (x_144 == 0) { -lean_object* x_347; -x_347 = lean_ctor_get(x_344, 1); -lean_inc(x_347); -lean_dec(x_344); -x_279 = x_347; -goto block_336; +lean_object* x_145; +x_145 = lean_ctor_get(x_141, 1); +lean_inc(x_145); +lean_dec(x_141); +x_111 = x_15; +x_112 = x_145; +goto block_140; } else { -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_348 = lean_ctor_get(x_344, 1); -lean_inc(x_348); -lean_dec(x_344); -lean_inc(x_277); -x_349 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_349, 0, x_277); -x_350 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6; -x_351 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_349); -x_352 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_353 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -x_354 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_343, x_353, x_3, x_4, x_5, x_6, x_348); -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -lean_dec(x_354); -x_279 = x_355; -goto block_336; +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_146 = lean_ctor_get(x_141, 1); +lean_inc(x_146); +lean_dec(x_141); +x_147 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_110, x_3, x_4, x_5, x_6, x_146); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unbox(x_148); +lean_dec(x_148); +x_111 = x_150; +x_112 = x_149; +goto block_140; } -} -block_336: +block_140: { -lean_object* x_280; +if (x_111 == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_box(0); +x_114 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_108, x_9, x_22, x_109, x_110, x_113, x_3, x_4, x_5, x_6, x_112); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_117 = x_114; +} else { + lean_dec_ref(x_114); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(0, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_114, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_114, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_121 = x_114; +} else { + lean_dec_ref(x_114); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(1, 2, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_120); +return x_122; +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_inc(x_108); +x_123 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_123, 0, x_108); +x_124 = l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2; +x_125 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_127 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_110, x_127, x_3, x_4, x_5, x_6, x_112); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_108, x_9, x_22, x_109, x_110, x_129, x_3, x_4, x_5, x_6, x_130); +lean_dec(x_129); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_134 = x_131; +} else { + lean_dec_ref(x_131); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_136 = lean_ctor_get(x_131, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_131, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_138 = x_131; +} else { + lean_dec_ref(x_131); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +} +} +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_22); +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_151 = lean_ctor_get(x_98, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_98, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_153 = x_98; +} else { + lean_dec_ref(x_98); + x_153 = lean_box(0); +} +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(1, 2, 0); +} else { + x_154 = x_153; +} +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_152); +return x_154; +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec(x_22); +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_155 = lean_ctor_get(x_96, 0); +lean_inc(x_155); +lean_dec(x_96); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_93); +return x_156; +} +} +} +else +{ +uint8_t x_157; +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_157 = !lean_is_exclusive(x_21); +if (x_157 == 0) +{ +return x_21; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_21, 0); +x_159 = lean_ctor_get(x_21, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_21); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +} +else +{ +uint8_t x_161; +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_161 = !lean_is_exclusive(x_17); +if (x_161 == 0) +{ +return x_17; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_17, 0); +x_163 = lean_ctor_get(x_17, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_17); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +return x_164; +} +} +} +else +{ +uint8_t x_165; uint8_t x_166; uint8_t x_167; uint8_t x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; +x_165 = lean_ctor_get_uint8(x_12, 2); +x_166 = lean_ctor_get_uint8(x_12, 6); +x_167 = lean_ctor_get_uint8(x_12, 7); +x_168 = lean_ctor_get_uint8(x_12, 8); +x_169 = lean_ctor_get_uint8(x_12, 9); +lean_dec(x_12); +x_170 = 1; +x_171 = 0; +x_172 = 3; +x_173 = lean_alloc_ctor(0, 0, 10); +lean_ctor_set_uint8(x_173, 0, x_170); +lean_ctor_set_uint8(x_173, 1, x_170); +lean_ctor_set_uint8(x_173, 2, x_165); +lean_ctor_set_uint8(x_173, 3, x_171); +lean_ctor_set_uint8(x_173, 4, x_170); +lean_ctor_set_uint8(x_173, 5, x_172); +lean_ctor_set_uint8(x_173, 6, x_166); +lean_ctor_set_uint8(x_173, 7, x_167); +lean_ctor_set_uint8(x_173, 8, x_168); +lean_ctor_set_uint8(x_173, 9, x_169); +lean_ctor_set(x_3, 0, x_173); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_277); -x_280 = l_Lean_Meta_inferType(x_277, x_3, x_4, x_5, x_6, x_279); -if (lean_obj_tag(x_280) == 0) +x_174 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_281; lean_object* x_282; uint8_t x_283; lean_object* x_284; lean_object* x_302; lean_object* x_303; -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); -lean_inc(x_282); -lean_dec(x_280); -x_302 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_302, 0, x_9); -lean_ctor_set(x_302, 1, x_242); -lean_ctor_set(x_302, 2, x_243); -lean_ctor_set(x_302, 3, x_244); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_281); +lean_inc(x_3); +x_178 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_175, x_177, x_3, x_4, x_5, x_6, x_176); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +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_st_ref_get(x_6, x_180); +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +lean_dec(x_181); +x_183 = lean_st_ref_get(x_4, x_182); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_186 = x_183; +} else { + lean_dec_ref(x_183); + x_186 = lean_box(0); +} +x_187 = lean_ctor_get(x_184, 1); +lean_inc(x_187); +lean_dec(x_184); +x_188 = lean_ctor_get(x_187, 2); +lean_inc(x_188); +lean_dec(x_187); +x_189 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_188, x_179); +if (lean_obj_tag(x_189) == 0) +{ +lean_object* x_190; lean_object* x_191; +lean_dec(x_186); +lean_inc(x_179); +x_190 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__3), 7, 2); +lean_closure_set(x_190, 0, x_179); +lean_closure_set(x_190, 1, x_8); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_191 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_190, x_3, x_4, x_5, x_6, x_185); +if (lean_obj_tag(x_191) == 0) +{ +lean_object* x_192; +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_9); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); +lean_dec(x_191); +x_194 = lean_box(0); +x_195 = l_Lean_Meta_synthInstance_x3f___lambda__4(x_179, x_194, x_3, x_4, x_5, x_6, x_193); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_198 = x_195; +} else { + lean_dec_ref(x_195); + x_198 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_198; +} +lean_ctor_set(x_199, 0, x_196); +lean_ctor_set(x_199, 1, x_197); +return x_199; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_200 = lean_ctor_get(x_191, 1); +lean_inc(x_200); +lean_dec(x_191); +x_201 = lean_ctor_get(x_192, 0); +lean_inc(x_201); +lean_dec(x_192); +lean_inc(x_179); +x_202 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__4___boxed), 7, 1); +lean_closure_set(x_202, 0, x_179); +x_203 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_234 = lean_st_ref_get(x_6, x_200); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_235, 3); +lean_inc(x_236); +lean_dec(x_235); +x_237 = lean_ctor_get_uint8(x_236, sizeof(void*)*1); +lean_dec(x_236); +if (x_237 == 0) +{ +lean_object* x_238; +x_238 = lean_ctor_get(x_234, 1); +lean_inc(x_238); +lean_dec(x_234); +x_204 = x_171; +x_205 = x_238; +goto block_233; +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; +x_239 = lean_ctor_get(x_234, 1); +lean_inc(x_239); +lean_dec(x_234); +x_240 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_203, x_3, x_4, x_5, x_6, 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_unbox(x_241); +lean_dec(x_241); +x_204 = x_243; +x_205 = x_242; +goto block_233; +} +block_233: +{ +if (x_204 == 0) +{ +lean_object* x_206; lean_object* x_207; +x_206 = lean_box(0); +x_207 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_201, x_9, x_179, x_202, x_203, x_206, x_3, x_4, x_5, x_6, x_205); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_210 = x_207; +} else { + lean_dec_ref(x_207); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_211 = lean_alloc_ctor(0, 2, 0); +} else { + x_211 = x_210; +} +lean_ctor_set(x_211, 0, x_208); +lean_ctor_set(x_211, 1, x_209); +return x_211; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_212 = lean_ctor_get(x_207, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_207, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_214 = x_207; +} else { + lean_dec_ref(x_207); + x_214 = lean_box(0); +} +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); +} else { + x_215 = x_214; +} +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); +return x_215; +} +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_inc(x_201); +x_216 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_216, 0, x_201); +x_217 = l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2; +x_218 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_219 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_220 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_220, 0, x_218); +lean_ctor_set(x_220, 1, x_219); +x_221 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_203, x_220, x_3, x_4, x_5, x_6, x_205); +x_222 = lean_ctor_get(x_221, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_201, x_9, x_179, x_202, x_203, x_222, x_3, x_4, x_5, x_6, x_223); +lean_dec(x_222); +if (lean_obj_tag(x_224) == 0) +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_227 = x_224; +} else { + lean_dec_ref(x_224); + x_227 = lean_box(0); +} +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_227; +} +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_229 = lean_ctor_get(x_224, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_224, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_231 = x_224; +} else { + lean_dec_ref(x_224); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; +} +} +} +} +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +lean_dec(x_179); +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_244 = lean_ctor_get(x_191, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_191, 1); +lean_inc(x_245); +if (lean_is_exclusive(x_191)) { + lean_ctor_release(x_191, 0); + lean_ctor_release(x_191, 1); + x_246 = x_191; +} else { + lean_dec_ref(x_191); + x_246 = lean_box(0); +} +if (lean_is_scalar(x_246)) { + x_247 = lean_alloc_ctor(1, 2, 0); +} else { + x_247 = x_246; +} +lean_ctor_set(x_247, 0, x_244); +lean_ctor_set(x_247, 1, x_245); +return x_247; +} +} +else +{ +lean_object* x_248; lean_object* x_249; +lean_dec(x_179); +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_248 = lean_ctor_get(x_189, 0); +lean_inc(x_248); +lean_dec(x_189); +if (lean_is_scalar(x_186)) { + x_249 = lean_alloc_ctor(0, 2, 0); +} else { + x_249 = x_186; +} +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_185); +return x_249; +} +} +else +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_250 = lean_ctor_get(x_178, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_178, 1); +lean_inc(x_251); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_252 = x_178; +} else { + lean_dec_ref(x_178); + x_252 = lean_box(0); +} +if (lean_is_scalar(x_252)) { + x_253 = lean_alloc_ctor(1, 2, 0); +} else { + x_253 = x_252; +} +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_251); +return x_253; +} +} +else +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +lean_dec(x_3); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_254 = lean_ctor_get(x_174, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_174, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_256 = x_174; +} else { + lean_dec_ref(x_174); + x_256 = lean_box(0); +} +if (lean_is_scalar(x_256)) { + x_257 = lean_alloc_ctor(1, 2, 0); +} else { + x_257 = x_256; +} +lean_ctor_set(x_257, 0, x_254); +lean_ctor_set(x_257, 1, x_255); +return x_257; +} +} +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; uint8_t x_263; uint8_t x_264; uint8_t x_265; uint8_t x_266; lean_object* x_267; uint8_t x_268; uint8_t x_269; uint8_t x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_258 = lean_ctor_get(x_3, 0); +x_259 = lean_ctor_get(x_3, 1); +x_260 = lean_ctor_get(x_3, 2); +x_261 = lean_ctor_get(x_3, 3); +lean_inc(x_261); +lean_inc(x_260); lean_inc(x_259); -x_303 = l_Lean_Meta_isExprDefEq(x_259, x_281, x_302, x_4, x_5, x_6, x_282); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; uint8_t x_305; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_unbox(x_304); -lean_dec(x_304); -if (x_305 == 0) -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; -lean_dec(x_278); -lean_dec(x_277); -x_306 = lean_ctor_get(x_303, 1); -lean_inc(x_306); -lean_dec(x_303); -x_307 = lean_st_ref_get(x_6, x_306); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_308, 3); -lean_inc(x_309); -lean_dec(x_308); -x_310 = lean_ctor_get_uint8(x_309, sizeof(void*)*1); -lean_dec(x_309); -if (x_310 == 0) -{ -lean_object* x_311; -x_311 = lean_ctor_get(x_307, 1); -lean_inc(x_311); -lean_dec(x_307); -x_283 = x_251; -x_284 = x_311; -goto block_301; +lean_inc(x_258); +lean_dec(x_3); +x_262 = lean_ctor_get_uint8(x_258, 2); +x_263 = lean_ctor_get_uint8(x_258, 6); +x_264 = lean_ctor_get_uint8(x_258, 7); +x_265 = lean_ctor_get_uint8(x_258, 8); +x_266 = lean_ctor_get_uint8(x_258, 9); +if (lean_is_exclusive(x_258)) { + x_267 = x_258; +} else { + lean_dec_ref(x_258); + x_267 = lean_box(0); } -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; -x_312 = lean_ctor_get(x_307, 1); -lean_inc(x_312); -lean_dec(x_307); -x_313 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_314 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_313, x_3, x_4, x_5, x_6, x_312); -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); -lean_dec(x_314); -x_317 = lean_unbox(x_315); -lean_dec(x_315); -x_283 = x_317; -x_284 = x_316; -goto block_301; +x_268 = 1; +x_269 = 0; +x_270 = 3; +if (lean_is_scalar(x_267)) { + x_271 = lean_alloc_ctor(0, 0, 10); +} else { + x_271 = x_267; } -} -else -{ -lean_object* x_318; lean_object* x_319; -lean_dec(x_281); -x_318 = lean_ctor_get(x_303, 1); -lean_inc(x_318); -lean_dec(x_303); +lean_ctor_set_uint8(x_271, 0, x_268); +lean_ctor_set_uint8(x_271, 1, x_268); +lean_ctor_set_uint8(x_271, 2, x_262); +lean_ctor_set_uint8(x_271, 3, x_269); +lean_ctor_set_uint8(x_271, 4, x_268); +lean_ctor_set_uint8(x_271, 5, x_270); +lean_ctor_set_uint8(x_271, 6, x_263); +lean_ctor_set_uint8(x_271, 7, x_264); +lean_ctor_set_uint8(x_271, 8, x_265); +lean_ctor_set_uint8(x_271, 9, x_266); +x_272 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_259); +lean_ctor_set(x_272, 2, x_260); +lean_ctor_set(x_272, 3, x_261); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_319 = l_Lean_Meta_instantiateMVars(x_277, x_3, x_4, x_5, x_6, x_318); -if (lean_obj_tag(x_319) == 0) +lean_inc(x_272); +x_273 = l_Lean_Meta_instantiateMVars(x_1, x_272, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_273) == 0) { -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); -lean_inc(x_321); -lean_dec(x_319); -if (lean_is_scalar(x_278)) { - x_322 = lean_alloc_ctor(1, 1, 0); +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_274 = lean_ctor_get(x_273, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); +lean_dec(x_273); +x_276 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_272); +x_277 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_274, x_276, x_272, x_4, x_5, x_6, x_275); +if (lean_obj_tag(x_277) == 0) +{ +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, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_st_ref_get(x_6, x_279); +x_281 = lean_ctor_get(x_280, 1); +lean_inc(x_281); +lean_dec(x_280); +x_282 = lean_st_ref_get(x_4, x_281); +x_283 = lean_ctor_get(x_282, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_282, 1); +lean_inc(x_284); +if (lean_is_exclusive(x_282)) { + lean_ctor_release(x_282, 0); + lean_ctor_release(x_282, 1); + x_285 = x_282; } else { - x_322 = x_278; + lean_dec_ref(x_282); + x_285 = lean_box(0); } -lean_ctor_set(x_322, 0, x_320); -x_323 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_259, x_322, x_3, x_4, x_5, x_6, x_321); +x_286 = lean_ctor_get(x_283, 1); +lean_inc(x_286); +lean_dec(x_283); +x_287 = lean_ctor_get(x_286, 2); +lean_inc(x_287); +lean_dec(x_286); +x_288 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_287, x_278); +if (lean_obj_tag(x_288) == 0) +{ +lean_object* x_289; lean_object* x_290; +lean_dec(x_285); +lean_inc(x_278); +x_289 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__3), 7, 2); +lean_closure_set(x_289, 0, x_278); +lean_closure_set(x_289, 1, x_8); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_272); +x_290 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_289, x_272, x_4, x_5, x_6, x_284); +if (lean_obj_tag(x_290) == 0) +{ +lean_object* x_291; +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +if (lean_obj_tag(x_291) == 0) +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +lean_dec(x_9); +x_292 = lean_ctor_get(x_290, 1); +lean_inc(x_292); +lean_dec(x_290); +x_293 = lean_box(0); +x_294 = l_Lean_Meta_synthInstance_x3f___lambda__4(x_278, x_293, x_272, x_4, x_5, x_6, x_292); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_11 = x_323; -goto block_20; +lean_dec(x_272); +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +if (lean_is_exclusive(x_294)) { + lean_ctor_release(x_294, 0); + lean_ctor_release(x_294, 1); + x_297 = x_294; +} else { + lean_dec_ref(x_294); + x_297 = lean_box(0); +} +if (lean_is_scalar(x_297)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_297; +} +lean_ctor_set(x_298, 0, x_295); +lean_ctor_set(x_298, 1, x_296); +return x_298; } else { +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; lean_object* x_304; lean_object* x_333; lean_object* x_334; lean_object* x_335; uint8_t x_336; +x_299 = lean_ctor_get(x_290, 1); +lean_inc(x_299); +lean_dec(x_290); +x_300 = lean_ctor_get(x_291, 0); +lean_inc(x_300); +lean_dec(x_291); +lean_inc(x_278); +x_301 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__4___boxed), 7, 1); +lean_closure_set(x_301, 0, x_278); +x_302 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; +x_333 = lean_st_ref_get(x_6, x_299); +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +x_335 = lean_ctor_get(x_334, 3); +lean_inc(x_335); +lean_dec(x_334); +x_336 = lean_ctor_get_uint8(x_335, sizeof(void*)*1); +lean_dec(x_335); +if (x_336 == 0) +{ +lean_object* x_337; +x_337 = lean_ctor_get(x_333, 1); +lean_inc(x_337); +lean_dec(x_333); +x_303 = x_269; +x_304 = x_337; +goto block_332; +} +else +{ +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_338 = lean_ctor_get(x_333, 1); +lean_inc(x_338); +lean_dec(x_333); +x_339 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_302, x_272, x_4, x_5, x_6, x_338); +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); +lean_inc(x_341); +lean_dec(x_339); +x_342 = lean_unbox(x_340); +lean_dec(x_340); +x_303 = x_342; +x_304 = x_341; +goto block_332; +} +block_332: +{ +if (x_303 == 0) +{ +lean_object* x_305; lean_object* x_306; +x_305 = lean_box(0); +x_306 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_300, x_9, x_278, x_301, x_302, x_305, x_272, x_4, x_5, x_6, x_304); +if (lean_obj_tag(x_306) == 0) +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_307 = lean_ctor_get(x_306, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_306, 1); +lean_inc(x_308); +if (lean_is_exclusive(x_306)) { + lean_ctor_release(x_306, 0); + lean_ctor_release(x_306, 1); + x_309 = x_306; +} else { + lean_dec_ref(x_306); + x_309 = lean_box(0); +} +if (lean_is_scalar(x_309)) { + x_310 = lean_alloc_ctor(0, 2, 0); +} else { + x_310 = x_309; +} +lean_ctor_set(x_310, 0, x_307); +lean_ctor_set(x_310, 1, x_308); +return x_310; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_311 = lean_ctor_get(x_306, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_306, 1); +lean_inc(x_312); +if (lean_is_exclusive(x_306)) { + lean_ctor_release(x_306, 0); + lean_ctor_release(x_306, 1); + x_313 = x_306; +} else { + lean_dec_ref(x_306); + x_313 = lean_box(0); +} +if (lean_is_scalar(x_313)) { + x_314 = lean_alloc_ctor(1, 2, 0); +} else { + x_314 = x_313; +} +lean_ctor_set(x_314, 0, x_311); +lean_ctor_set(x_314, 1, x_312); +return x_314; +} +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_inc(x_300); +x_315 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_315, 0, x_300); +x_316 = l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2; +x_317 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_315); +x_318 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; +x_319 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_319, 0, x_317); +lean_ctor_set(x_319, 1, x_318); +x_320 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_302, x_319, x_272, x_4, x_5, x_6, x_304); +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = l_Lean_Meta_synthInstance_x3f___lambda__5(x_300, x_9, x_278, x_301, x_302, x_321, x_272, x_4, x_5, x_6, x_322); +lean_dec(x_321); +if (lean_obj_tag(x_323) == 0) +{ lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_278); -lean_dec(x_259); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_324 = lean_ctor_get(x_319, 0); +x_324 = lean_ctor_get(x_323, 0); lean_inc(x_324); -x_325 = lean_ctor_get(x_319, 1); +x_325 = lean_ctor_get(x_323, 1); lean_inc(x_325); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_326 = x_319; +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_326 = x_323; } else { - lean_dec_ref(x_319); + lean_dec_ref(x_323); x_326 = lean_box(0); } if (lean_is_scalar(x_326)) { - x_327 = lean_alloc_ctor(1, 2, 0); + x_327 = lean_alloc_ctor(0, 2, 0); } else { x_327 = x_326; } lean_ctor_set(x_327, 0, x_324); lean_ctor_set(x_327, 1, x_325); -x_11 = x_327; -goto block_20; -} -} +return x_327; } else { lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_281); -lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_259); -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_328 = lean_ctor_get(x_303, 0); +x_328 = lean_ctor_get(x_323, 0); lean_inc(x_328); -x_329 = lean_ctor_get(x_303, 1); +x_329 = lean_ctor_get(x_323, 1); lean_inc(x_329); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_330 = x_303; +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_330 = x_323; } else { - lean_dec_ref(x_303); + lean_dec_ref(x_323); x_330 = lean_box(0); } if (lean_is_scalar(x_330)) { @@ -20493,893 +20795,126 @@ if (lean_is_scalar(x_330)) { } lean_ctor_set(x_331, 0, x_328); lean_ctor_set(x_331, 1, x_329); -x_11 = x_331; -goto block_20; +return x_331; } -block_301: -{ -if (x_283 == 0) -{ -lean_object* x_285; lean_object* x_286; -lean_dec(x_281); -x_285 = lean_box(0); -x_286 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_259, x_285, x_3, x_4, x_5, x_6, x_284); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_286; -goto block_20; } -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_287 = l_Lean_indentExpr(x_281); -x_288 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2; -x_289 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4; -x_291 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_290); -lean_inc(x_259); -x_292 = l_Lean_indentExpr(x_259); -x_293 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -x_294 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_295 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -x_296 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_297 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_296, x_295, x_3, x_4, x_5, x_6, x_284); -x_298 = lean_ctor_get(x_297, 1); -lean_inc(x_298); -lean_dec(x_297); -x_299 = lean_box(0); -x_300 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_259, x_299, x_3, x_4, x_5, x_6, x_298); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_11 = x_300; -goto block_20; } } } else { -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_259); -lean_dec(x_3); -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); +lean_dec(x_272); lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_332 = lean_ctor_get(x_280, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_280, 1); -lean_inc(x_333); -if (lean_is_exclusive(x_280)) { - lean_ctor_release(x_280, 0); - lean_ctor_release(x_280, 1); - x_334 = x_280; +x_343 = lean_ctor_get(x_290, 0); +lean_inc(x_343); +x_344 = lean_ctor_get(x_290, 1); +lean_inc(x_344); +if (lean_is_exclusive(x_290)) { + lean_ctor_release(x_290, 0); + lean_ctor_release(x_290, 1); + x_345 = x_290; } else { - lean_dec_ref(x_280); - x_334 = lean_box(0); + lean_dec_ref(x_290); + x_345 = lean_box(0); } -if (lean_is_scalar(x_334)) { - x_335 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_345)) { + x_346 = lean_alloc_ctor(1, 2, 0); } else { - x_335 = x_334; -} -lean_ctor_set(x_335, 0, x_332); -lean_ctor_set(x_335, 1, x_333); -x_11 = x_335; -goto block_20; -} + x_346 = x_345; } +lean_ctor_set(x_346, 0, x_343); +lean_ctor_set(x_346, 1, x_344); +return x_346; } } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_259); -lean_dec(x_3); -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_356 = lean_ctor_get(x_271, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_271, 1); -lean_inc(x_357); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_358 = x_271; -} else { - lean_dec_ref(x_271); - x_358 = lean_box(0); -} -if (lean_is_scalar(x_358)) { - x_359 = lean_alloc_ctor(1, 2, 0); -} else { - x_359 = x_358; -} -lean_ctor_set(x_359, 0, x_356); -lean_ctor_set(x_359, 1, x_357); -x_11 = x_359; -goto block_20; -} -} -else -{ -lean_object* x_360; lean_object* x_361; -lean_dec(x_259); -lean_dec(x_3); -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); +lean_object* x_347; lean_object* x_348; +lean_dec(x_278); +lean_dec(x_272); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_360 = lean_ctor_get(x_269, 0); -lean_inc(x_360); -lean_dec(x_269); -if (lean_is_scalar(x_266)) { - x_361 = lean_alloc_ctor(0, 2, 0); +x_347 = lean_ctor_get(x_288, 0); +lean_inc(x_347); +lean_dec(x_288); +if (lean_is_scalar(x_285)) { + x_348 = lean_alloc_ctor(0, 2, 0); } else { - x_361 = x_266; + x_348 = x_285; } -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_265); -x_11 = x_361; -goto block_20; +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_284); +return x_348; } } else { -lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec(x_3); -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +lean_dec(x_272); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_362 = lean_ctor_get(x_258, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_258, 1); -lean_inc(x_363); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - x_364 = x_258; +x_349 = lean_ctor_get(x_277, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_277, 1); +lean_inc(x_350); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + x_351 = x_277; } else { - lean_dec_ref(x_258); - x_364 = lean_box(0); + lean_dec_ref(x_277); + x_351 = lean_box(0); } -if (lean_is_scalar(x_364)) { - x_365 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); } else { - x_365 = x_364; + x_352 = x_351; } -lean_ctor_set(x_365, 0, x_362); -lean_ctor_set(x_365, 1, x_363); -return x_365; +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); +return x_352; } } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; -lean_dec(x_3); -lean_dec(x_244); -lean_dec(x_243); -lean_dec(x_242); +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +lean_dec(x_272); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_366 = lean_ctor_get(x_254, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_254, 1); -lean_inc(x_367); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - lean_ctor_release(x_254, 1); - x_368 = x_254; +x_353 = lean_ctor_get(x_273, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_273, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + x_355 = x_273; } else { - lean_dec_ref(x_254); - x_368 = lean_box(0); + lean_dec_ref(x_273); + x_355 = lean_box(0); } -if (lean_is_scalar(x_368)) { - x_369 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_355)) { + x_356 = lean_alloc_ctor(1, 2, 0); } else { - x_369 = x_368; -} -lean_ctor_set(x_369, 0, x_366); -lean_ctor_set(x_369, 1, x_367); -return x_369; -} -} -} -else -{ -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; uint8_t x_375; uint8_t x_376; uint8_t x_377; uint8_t x_378; lean_object* x_379; uint8_t x_380; uint8_t x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_370 = lean_ctor_get(x_3, 0); -x_371 = lean_ctor_get(x_3, 1); -x_372 = lean_ctor_get(x_3, 2); -x_373 = lean_ctor_get(x_3, 3); -lean_inc(x_373); -lean_inc(x_372); -lean_inc(x_371); -lean_inc(x_370); -lean_dec(x_3); -x_374 = lean_ctor_get_uint8(x_370, 2); -x_375 = lean_ctor_get_uint8(x_370, 6); -x_376 = lean_ctor_get_uint8(x_370, 7); -x_377 = lean_ctor_get_uint8(x_370, 8); -x_378 = lean_ctor_get_uint8(x_370, 9); -if (lean_is_exclusive(x_370)) { - x_379 = x_370; -} else { - lean_dec_ref(x_370); - x_379 = lean_box(0); -} -x_380 = 1; -x_381 = 0; -x_382 = 3; -if (lean_is_scalar(x_379)) { - x_383 = lean_alloc_ctor(0, 0, 10); -} else { - x_383 = x_379; -} -lean_ctor_set_uint8(x_383, 0, x_380); -lean_ctor_set_uint8(x_383, 1, x_380); -lean_ctor_set_uint8(x_383, 2, x_374); -lean_ctor_set_uint8(x_383, 3, x_381); -lean_ctor_set_uint8(x_383, 4, x_380); -lean_ctor_set_uint8(x_383, 5, x_382); -lean_ctor_set_uint8(x_383, 6, x_375); -lean_ctor_set_uint8(x_383, 7, x_376); -lean_ctor_set_uint8(x_383, 8, x_377); -lean_ctor_set_uint8(x_383, 9, x_378); -lean_inc(x_373); -lean_inc(x_372); -lean_inc(x_371); -x_384 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_371); -lean_ctor_set(x_384, 2, x_372); -lean_ctor_set(x_384, 3, x_373); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_384); -x_385 = l_Lean_Meta_instantiateMVars(x_1, x_384, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_385) == 0) -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -x_388 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_384); -x_389 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_386, x_388, x_384, x_4, x_5, x_6, x_387); -if (lean_obj_tag(x_389) == 0) -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -x_392 = lean_st_ref_get(x_6, x_391); -x_393 = lean_ctor_get(x_392, 1); -lean_inc(x_393); -lean_dec(x_392); -x_394 = lean_st_ref_get(x_4, x_393); -x_395 = lean_ctor_get(x_394, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_394, 1); -lean_inc(x_396); -if (lean_is_exclusive(x_394)) { - lean_ctor_release(x_394, 0); - lean_ctor_release(x_394, 1); - x_397 = x_394; -} else { - lean_dec_ref(x_394); - x_397 = lean_box(0); -} -x_398 = lean_ctor_get(x_395, 1); -lean_inc(x_398); -lean_dec(x_395); -x_399 = lean_ctor_get(x_398, 2); -lean_inc(x_399); -lean_dec(x_398); -x_400 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_399, x_390); -if (lean_obj_tag(x_400) == 0) -{ -lean_object* x_401; lean_object* x_402; -lean_dec(x_397); -lean_inc(x_390); -x_401 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__1), 7, 2); -lean_closure_set(x_401, 0, x_390); -lean_closure_set(x_401, 1, x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_384); -x_402 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_401, x_384, x_4, x_5, x_6, x_396); -if (lean_obj_tag(x_402) == 0) -{ -lean_object* x_403; -x_403 = lean_ctor_get(x_402, 0); -lean_inc(x_403); -if (lean_obj_tag(x_403) == 0) -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -x_404 = lean_ctor_get(x_402, 1); -lean_inc(x_404); -lean_dec(x_402); -x_405 = lean_box(0); -x_406 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_390, x_405, x_384, x_4, x_5, x_6, x_404); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_384); -x_11 = x_406; -goto block_20; -} -else -{ -lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_468; lean_object* x_469; lean_object* x_470; uint8_t x_471; -x_407 = lean_ctor_get(x_402, 1); -lean_inc(x_407); -lean_dec(x_402); -x_408 = lean_ctor_get(x_403, 0); -lean_inc(x_408); -if (lean_is_exclusive(x_403)) { - lean_ctor_release(x_403, 0); - x_409 = x_403; -} else { - lean_dec_ref(x_403); - x_409 = lean_box(0); -} -x_468 = lean_st_ref_get(x_6, x_407); -x_469 = lean_ctor_get(x_468, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_469, 3); -lean_inc(x_470); -lean_dec(x_469); -x_471 = lean_ctor_get_uint8(x_470, sizeof(void*)*1); -lean_dec(x_470); -if (x_471 == 0) -{ -lean_object* x_472; -x_472 = lean_ctor_get(x_468, 1); -lean_inc(x_472); -lean_dec(x_468); -x_410 = x_472; -goto block_467; -} -else -{ -lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; uint8_t x_477; -x_473 = lean_ctor_get(x_468, 1); -lean_inc(x_473); -lean_dec(x_468); -x_474 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_475 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_474, x_384, x_4, x_5, x_6, x_473); -x_476 = lean_ctor_get(x_475, 0); -lean_inc(x_476); -x_477 = lean_unbox(x_476); -lean_dec(x_476); -if (x_477 == 0) -{ -lean_object* x_478; -x_478 = lean_ctor_get(x_475, 1); -lean_inc(x_478); -lean_dec(x_475); -x_410 = x_478; -goto block_467; -} -else -{ -lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; -x_479 = lean_ctor_get(x_475, 1); -lean_inc(x_479); -lean_dec(x_475); -lean_inc(x_408); -x_480 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_480, 0, x_408); -x_481 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6; -x_482 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_482, 0, x_481); -lean_ctor_set(x_482, 1, x_480); -x_483 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_484 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -x_485 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_474, x_484, x_384, x_4, x_5, x_6, x_479); -x_486 = lean_ctor_get(x_485, 1); -lean_inc(x_486); -lean_dec(x_485); -x_410 = x_486; -goto block_467; -} -} -block_467: -{ -lean_object* x_411; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_384); -lean_inc(x_408); -x_411 = l_Lean_Meta_inferType(x_408, x_384, x_4, x_5, x_6, x_410); -if (lean_obj_tag(x_411) == 0) -{ -lean_object* x_412; lean_object* x_413; uint8_t x_414; lean_object* x_415; lean_object* x_433; lean_object* x_434; -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -x_433 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_433, 0, x_9); -lean_ctor_set(x_433, 1, x_371); -lean_ctor_set(x_433, 2, x_372); -lean_ctor_set(x_433, 3, x_373); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_412); -lean_inc(x_390); -x_434 = l_Lean_Meta_isExprDefEq(x_390, x_412, x_433, x_4, x_5, x_6, x_413); -if (lean_obj_tag(x_434) == 0) -{ -lean_object* x_435; uint8_t x_436; -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_unbox(x_435); -lean_dec(x_435); -if (x_436 == 0) -{ -lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; -lean_dec(x_409); -lean_dec(x_408); -x_437 = lean_ctor_get(x_434, 1); -lean_inc(x_437); -lean_dec(x_434); -x_438 = lean_st_ref_get(x_6, x_437); -x_439 = lean_ctor_get(x_438, 0); -lean_inc(x_439); -x_440 = lean_ctor_get(x_439, 3); -lean_inc(x_440); -lean_dec(x_439); -x_441 = lean_ctor_get_uint8(x_440, sizeof(void*)*1); -lean_dec(x_440); -if (x_441 == 0) -{ -lean_object* x_442; -x_442 = lean_ctor_get(x_438, 1); -lean_inc(x_442); -lean_dec(x_438); -x_414 = x_381; -x_415 = x_442; -goto block_432; -} -else -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t x_448; -x_443 = lean_ctor_get(x_438, 1); -lean_inc(x_443); -lean_dec(x_438); -x_444 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_445 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_444, x_384, x_4, x_5, x_6, x_443); -x_446 = lean_ctor_get(x_445, 0); -lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); -lean_dec(x_445); -x_448 = lean_unbox(x_446); -lean_dec(x_446); -x_414 = x_448; -x_415 = x_447; -goto block_432; -} -} -else -{ -lean_object* x_449; lean_object* x_450; -lean_dec(x_412); -x_449 = lean_ctor_get(x_434, 1); -lean_inc(x_449); -lean_dec(x_434); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_384); -x_450 = l_Lean_Meta_instantiateMVars(x_408, x_384, x_4, x_5, x_6, x_449); -if (lean_obj_tag(x_450) == 0) -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; -x_451 = lean_ctor_get(x_450, 0); -lean_inc(x_451); -x_452 = lean_ctor_get(x_450, 1); -lean_inc(x_452); -lean_dec(x_450); -if (lean_is_scalar(x_409)) { - x_453 = lean_alloc_ctor(1, 1, 0); -} else { - x_453 = x_409; -} -lean_ctor_set(x_453, 0, x_451); -x_454 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_390, x_453, x_384, x_4, x_5, x_6, x_452); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_384); -x_11 = x_454; -goto block_20; -} -else -{ -lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; -lean_dec(x_409); -lean_dec(x_390); -lean_dec(x_384); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_455 = lean_ctor_get(x_450, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_450, 1); -lean_inc(x_456); -if (lean_is_exclusive(x_450)) { - lean_ctor_release(x_450, 0); - lean_ctor_release(x_450, 1); - x_457 = x_450; -} else { - lean_dec_ref(x_450); - x_457 = lean_box(0); -} -if (lean_is_scalar(x_457)) { - x_458 = lean_alloc_ctor(1, 2, 0); -} else { - x_458 = x_457; -} -lean_ctor_set(x_458, 0, x_455); -lean_ctor_set(x_458, 1, x_456); -x_11 = x_458; -goto block_20; -} -} -} -else -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; -lean_dec(x_412); -lean_dec(x_409); -lean_dec(x_408); -lean_dec(x_390); -lean_dec(x_384); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_459 = lean_ctor_get(x_434, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_434, 1); -lean_inc(x_460); -if (lean_is_exclusive(x_434)) { - lean_ctor_release(x_434, 0); - lean_ctor_release(x_434, 1); - x_461 = x_434; -} else { - lean_dec_ref(x_434); - x_461 = lean_box(0); -} -if (lean_is_scalar(x_461)) { - x_462 = lean_alloc_ctor(1, 2, 0); -} else { - x_462 = x_461; -} -lean_ctor_set(x_462, 0, x_459); -lean_ctor_set(x_462, 1, x_460); -x_11 = x_462; -goto block_20; -} -block_432: -{ -if (x_414 == 0) -{ -lean_object* x_416; lean_object* x_417; -lean_dec(x_412); -x_416 = lean_box(0); -x_417 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_390, x_416, x_384, x_4, x_5, x_6, x_415); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_384); -x_11 = x_417; -goto block_20; -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_418 = l_Lean_indentExpr(x_412); -x_419 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2; -x_420 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_418); -x_421 = l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4; -x_422 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -lean_inc(x_390); -x_423 = l_Lean_indentExpr(x_390); -x_424 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_424, 0, x_422); -lean_ctor_set(x_424, 1, x_423); -x_425 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; -x_426 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_426, 0, x_424); -lean_ctor_set(x_426, 1, x_425); -x_427 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; -x_428 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_427, x_426, x_384, x_4, x_5, x_6, x_415); -x_429 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -lean_dec(x_428); -x_430 = lean_box(0); -x_431 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_390, x_430, x_384, x_4, x_5, x_6, x_429); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_384); -x_11 = x_431; -goto block_20; -} -} -} -else -{ -lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; -lean_dec(x_409); -lean_dec(x_408); -lean_dec(x_390); -lean_dec(x_384); -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_463 = lean_ctor_get(x_411, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_411, 1); -lean_inc(x_464); -if (lean_is_exclusive(x_411)) { - lean_ctor_release(x_411, 0); - lean_ctor_release(x_411, 1); - x_465 = x_411; -} else { - lean_dec_ref(x_411); - x_465 = lean_box(0); -} -if (lean_is_scalar(x_465)) { - x_466 = lean_alloc_ctor(1, 2, 0); -} else { - x_466 = x_465; -} -lean_ctor_set(x_466, 0, x_463); -lean_ctor_set(x_466, 1, x_464); -x_11 = x_466; -goto block_20; -} -} -} -} -else -{ -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -lean_dec(x_390); -lean_dec(x_384); -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_487 = lean_ctor_get(x_402, 0); -lean_inc(x_487); -x_488 = lean_ctor_get(x_402, 1); -lean_inc(x_488); -if (lean_is_exclusive(x_402)) { - lean_ctor_release(x_402, 0); - lean_ctor_release(x_402, 1); - x_489 = x_402; -} else { - lean_dec_ref(x_402); - x_489 = lean_box(0); -} -if (lean_is_scalar(x_489)) { - x_490 = lean_alloc_ctor(1, 2, 0); -} else { - x_490 = x_489; -} -lean_ctor_set(x_490, 0, x_487); -lean_ctor_set(x_490, 1, x_488); -x_11 = x_490; -goto block_20; -} -} -else -{ -lean_object* x_491; lean_object* x_492; -lean_dec(x_390); -lean_dec(x_384); -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_491 = lean_ctor_get(x_400, 0); -lean_inc(x_491); -lean_dec(x_400); -if (lean_is_scalar(x_397)) { - x_492 = lean_alloc_ctor(0, 2, 0); -} else { - x_492 = x_397; -} -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_396); -x_11 = x_492; -goto block_20; -} -} -else -{ -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; -lean_dec(x_384); -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_493 = lean_ctor_get(x_389, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_389, 1); -lean_inc(x_494); -if (lean_is_exclusive(x_389)) { - lean_ctor_release(x_389, 0); - lean_ctor_release(x_389, 1); - x_495 = x_389; -} else { - lean_dec_ref(x_389); - x_495 = lean_box(0); -} -if (lean_is_scalar(x_495)) { - x_496 = lean_alloc_ctor(1, 2, 0); -} else { - x_496 = x_495; -} -lean_ctor_set(x_496, 0, x_493); -lean_ctor_set(x_496, 1, x_494); -return x_496; -} -} -else -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -lean_dec(x_384); -lean_dec(x_373); -lean_dec(x_372); -lean_dec(x_371); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_497 = lean_ctor_get(x_385, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_385, 1); -lean_inc(x_498); -if (lean_is_exclusive(x_385)) { - lean_ctor_release(x_385, 0); - lean_ctor_release(x_385, 1); - x_499 = x_385; -} else { - lean_dec_ref(x_385); - x_499 = lean_box(0); -} -if (lean_is_scalar(x_499)) { - x_500 = lean_alloc_ctor(1, 2, 0); -} else { - x_500 = x_499; -} -lean_ctor_set(x_500, 0, x_497); -lean_ctor_set(x_500, 1, x_498); -return x_500; -} -} -block_20: -{ -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -uint8_t x_16; -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; + x_356 = x_355; } +lean_ctor_set(x_356, 0, x_353); +lean_ctor_set(x_356, 1, x_354); +return x_356; } } } @@ -21399,7 +20934,7 @@ _start: lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_5, 0); lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__3), 7, 2); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__6), 7, 2); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); x_10 = l_Lean_Meta_synthInstance_x3f___closed__1; @@ -21473,11 +21008,29 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Meta_synthInstance_x3f___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* l_Lean_Meta_synthInstance_x3f___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_synthInstance_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_synthInstance_x3f___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Meta_synthInstance_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_synthInstance_x3f___lambda__4(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); @@ -21485,6 +21038,15 @@ lean_dec(x_3); return x_8; } } +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_synthInstance_x3f___lambda__5(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_6); +return x_12; +} +} lean_object* l_Lean_Meta_trySynthInstance(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: { @@ -21653,11 +21215,11 @@ x_26 = l_Lean_Meta_synthInstance___closed__2; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_28 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_29, x_3, x_4, x_5, x_6, x_24); +x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_29, x_3, x_4, x_5, x_6, x_24); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -21760,11 +21322,11 @@ x_16 = l_Lean_Meta_synthInstance___closed__2; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; +x_18 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_19, x_3, x_4, x_5, x_6, x_9); +x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_19, x_3, x_4, x_5, x_6, x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -22227,7 +21789,7 @@ return x_90; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____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* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____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) { _start: { lean_object* x_7; lean_object* x_8; @@ -22236,20 +21798,20 @@ x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp(x_1, x_7, return x_8; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____lambda__1), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____lambda__1), 6, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = l_Lean_Meta_synthPendingRef; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1; x_4 = lean_st_ref_set(x_2, x_3, x_1); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) @@ -22271,11 +21833,11 @@ return x_8; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5167_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5847_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6; +x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -22283,7 +21845,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8; +x_5 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -22299,7 +21861,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2; +x_11 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2; x_12 = l_Lean_registerTraceClass(x_11, x_10); if (lean_obj_tag(x_12) == 0) { @@ -22615,38 +22177,38 @@ l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___clo lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4); l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__5(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__5); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__8); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__9); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__10); -l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1); -l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__1); -l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__2); -l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__3); -l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3___closed__4); -l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1 = _init_l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___lambda__4___closed__1); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__1); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__2); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10); +l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___boxed__const__1); +l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1); +l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2); +l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__3); +l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__4); +l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1 = _init_l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1); l_Lean_Meta_SynthInstance_newSubgoal___closed__1 = _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__1(); lean_mark_persistent(l_Lean_Meta_SynthInstance_newSubgoal___closed__1); l_Lean_Meta_SynthInstance_newSubgoal___closed__2 = _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__2(); @@ -22665,26 +22227,28 @@ l_Lean_Meta_SynthInstance_getEntry___closed__3 = _init_l_Lean_Meta_SynthInstance lean_mark_persistent(l_Lean_Meta_SynthInstance_getEntry___closed__3); l_Lean_Meta_SynthInstance_getEntry___closed__4 = _init_l_Lean_Meta_SynthInstance_getEntry___closed__4(); lean_mark_persistent(l_Lean_Meta_SynthInstance_getEntry___closed__4); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__1); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__2); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__3); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__4); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__6); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__7); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__8); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__9); -l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__10); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__1); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__2); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__4); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__7); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__2); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__3); +l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4 = _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4); l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__1 = _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__1(); lean_mark_persistent(l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__1); l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__2 = _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg___closed__2(); @@ -22695,14 +22259,16 @@ l_Lean_Meta_SynthInstance_wakeUp___closed__1 = _init_l_Lean_Meta_SynthInstance_w lean_mark_persistent(l_Lean_Meta_SynthInstance_wakeUp___closed__1); l_Lean_Meta_SynthInstance_wakeUp___closed__2 = _init_l_Lean_Meta_SynthInstance_wakeUp___closed__2(); lean_mark_persistent(l_Lean_Meta_SynthInstance_wakeUp___closed__2); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__1); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__2); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__3); -l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1___closed__4); +l_Lean_Meta_SynthInstance_wakeUp___closed__3 = _init_l_Lean_Meta_SynthInstance_wakeUp___closed__3(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_wakeUp___closed__3); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__1); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__2); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3); +l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__4); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__2 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__2(); @@ -22747,12 +22313,14 @@ l_Lean_Meta_SynthInstance_synth___closed__1 = _init_l_Lean_Meta_SynthInstance_sy lean_mark_persistent(l_Lean_Meta_SynthInstance_synth___closed__1); l_Lean_Meta_SynthInstance_synth___closed__2 = _init_l_Lean_Meta_SynthInstance_synth___closed__2(); lean_mark_persistent(l_Lean_Meta_SynthInstance_synth___closed__2); +l_Lean_Meta_SynthInstance_synth___closed__3 = _init_l_Lean_Meta_SynthInstance_synth___closed__3(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_synth___closed__3); l_Lean_Meta_SynthInstance_main___lambda__1___closed__1 = _init_l_Lean_Meta_SynthInstance_main___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_SynthInstance_main___lambda__1___closed__1); -l_Lean_Meta_SynthInstance_main___lambda__1___closed__2 = _init_l_Lean_Meta_SynthInstance_main___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_main___lambda__1___closed__2); -l_Lean_Meta_SynthInstance_main___lambda__1___closed__3 = _init_l_Lean_Meta_SynthInstance_main___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_SynthInstance_main___lambda__1___closed__3); +l_Lean_Meta_SynthInstance_main___lambda__2___closed__1 = _init_l_Lean_Meta_SynthInstance_main___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_main___lambda__2___closed__1); +l_Lean_Meta_SynthInstance_main___lambda__2___closed__2 = _init_l_Lean_Meta_SynthInstance_main___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_SynthInstance_main___lambda__2___closed__2); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___closed__1 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___closed__1(); @@ -22779,38 +22347,38 @@ l_Lean_Meta_synthInstance_x3f___lambda__1___closed__5 = _init_l_Lean_Meta_synthI lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__5); l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6 = _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__6); -l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7 = _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__7); -l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8 = _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__8); -l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9 = _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__9); -l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10 = _init_l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__1___closed__10); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2); l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__1); l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__2); -l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__3); -l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__4); -l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__5); -l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6 = _init_l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__3___closed__6); +l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__5___closed__1); +l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2); +l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3 = _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__5___closed__3); +l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4 = _init_l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__5___closed__4); +l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__6___closed__1); +l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__6___closed__2); l_Lean_Meta_synthInstance_x3f___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___closed__1(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___closed__1); l_Lean_Meta_synthInstance___closed__1 = _init_l_Lean_Meta_synthInstance___closed__1(); lean_mark_persistent(l_Lean_Meta_synthInstance___closed__1); l_Lean_Meta_synthInstance___closed__2 = _init_l_Lean_Meta_synthInstance___closed__2(); lean_mark_persistent(l_Lean_Meta_synthInstance___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5152_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5832_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5167_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_5847_(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/Meta/Tactic/Cases.c b/stage0/stdlib/Lean/Meta/Tactic/Cases.c index be4dfe485e..cfca677978 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Cases.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Cases.c @@ -18,7 +18,6 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__10; static lean_object* l_Lean_Meta_Cases_cases___closed__1; static lean_object* l_Lean_Meta_Cases_unifyEqs___lambda__1___closed__2; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,6 +70,7 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lea lean_object* l_Lean_Meta_generalizeIndices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__39___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,7 +91,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_Context_majorTypeIndices___default___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__7; +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__10; uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_Lean_Meta_generalizeTargets___lambda__3___closed__3; @@ -113,7 +113,6 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l_Lean_Meta_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Nat_anyAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__50(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__3; lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_Context_majorTypeIndices___default(lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_unifyEqs_injection(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*); @@ -147,7 +146,6 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_mkCasesContext_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__5; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__4___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_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -156,6 +154,7 @@ lean_object* l_Lean_Meta_Cases_unifyEqs_match__1(lean_object*); lean_object* l_Lean_Meta_generalizeTargets___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__32(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__9; lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_generalizeTargets___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__4; @@ -166,10 +165,12 @@ lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_ob lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isHEq(lean_object*); lean_object* l_Lean_Meta_generalizeTargets___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__8; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_substCore(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__4; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeTargets___lambda__3___closed__2; lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__26___boxed(lean_object*, lean_object*, lean_object*); @@ -180,7 +181,6 @@ uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Met lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__45(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_cases_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__6; lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__48(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); @@ -204,10 +204,10 @@ static lean_object* l_Lean_Meta_casesAnd___closed__3; lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__11; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__2; -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeTargets___lambda__3___closed__1; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___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*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -243,6 +243,7 @@ uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Met uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__6; lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_unifyEqs_match__2(lean_object*); @@ -263,7 +264,7 @@ lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Cases_0__Lea uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__43(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_generalizeTargets___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_mkCasesContext_x3f___spec__1___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3309_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3364_(lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__15(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_Cases_unifyEqs_substEq___closed__1; @@ -274,10 +275,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__ lean_object* l_Lean_Meta_Cases_unifyEqs_injection_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__2; lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_get(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Cases_cases___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_Meta_Cases_Context_nminors___default___boxed(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__6___closed__3; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -295,16 +296,14 @@ lean_object* l_Lean_Meta_substEqs(lean_object*, lean_object*, lean_object*, lean lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_unifyEqs_substEq_match__1(lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__9; lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_unifyEqs_injection_match__2(lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Meta_casesRec___lambda__1___closed__1; lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__46___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__8; lean_object* l_Lean_Meta_generalizeTargets_match__1(lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__4; +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__2; lean_object* l_Lean_Meta_casesRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -331,6 +330,7 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_cases_match__1(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__3; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__3; lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -347,7 +347,6 @@ lean_object* l_Lean_Meta_generalizeIndices_match__1___rarg(lean_object*, lean_ob static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__48___closed__1; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__41(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cases_cases___lambda__1___closed__11; extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Meta_substEqs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeIndices___lambda__1___closed__2; @@ -363,6 +362,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6___boxed( static lean_object* l_Lean_Meta_generalizeIndices___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6(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* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__7; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -412,9 +412,11 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__47(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Cases_cases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqOfHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2; lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__5; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__6___closed__1; lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_casesAnd___closed__4; @@ -13621,7 +13623,106 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Cases_cases_match__1___rarg), 3, 0) return x_2; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__1() { +lean_object* l_Lean_Meta_Cases_cases___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_12 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn(x_10, x_11, x_2, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +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); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_15 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_elimAuxIndices(x_1, x_13, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +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, 3); +lean_inc(x_18); +lean_dec(x_1); +x_19 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs(x_18, x_16, x_5, x_6, x_7, x_8, x_17); +lean_dec(x_16); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_15); +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_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_12); +if (x_24 == 0) +{ +return x_12; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_12, 0); +x_26 = lean_ctor_get(x_12, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_12); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -13629,27 +13730,27 @@ x_1 = lean_mk_string("not applicable to the given hypothesis"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Cases_cases___lambda__1___closed__1; +x_1 = l_Lean_Meta_Cases_cases___lambda__2___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_Lean_Meta_Cases_cases___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Cases_cases___lambda__1___closed__2; +x_1 = l_Lean_Meta_Cases_cases___lambda__2___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_Lean_Meta_Cases_cases___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__4() { _start: { lean_object* x_1; @@ -13657,17 +13758,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Cases_cases___lambda__1___closed__4; +x_2 = l_Lean_Meta_Cases_cases___lambda__2___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__6() { _start: { lean_object* x_1; @@ -13675,17 +13776,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Cases_cases___lambda__1___closed__5; -x_2 = l_Lean_Meta_Cases_cases___lambda__1___closed__6; +x_1 = l_Lean_Meta_Cases_cases___lambda__2___closed__5; +x_2 = l_Lean_Meta_Cases_cases___lambda__2___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__8() { _start: { lean_object* x_1; @@ -13693,17 +13794,17 @@ x_1 = lean_mk_string("cases"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Cases_cases___lambda__1___closed__7; -x_2 = l_Lean_Meta_Cases_cases___lambda__1___closed__8; +x_1 = l_Lean_Meta_Cases_cases___lambda__2___closed__7; +x_2 = l_Lean_Meta_Cases_cases___lambda__2___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__10() { _start: { lean_object* x_1; @@ -13711,16 +13812,16 @@ x_1 = lean_mk_string("after generalizeIndices\n"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__2___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Cases_cases___lambda__1___closed__10; +x_1 = l_Lean_Meta_Cases_cases___lambda__2___closed__10; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Cases_cases___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Cases_cases___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) { _start: { lean_object* x_10; @@ -13752,7 +13853,7 @@ lean_dec(x_3); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_Meta_Cases_cases___lambda__1___closed__3; +x_15 = l_Lean_Meta_Cases_cases___lambda__2___closed__3; x_16 = lean_box(0); x_17 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_15, x_16, x_5, x_6, x_7, x_8, x_14); lean_dec(x_8); @@ -13789,214 +13890,126 @@ lean_inc(x_5); x_24 = l_Lean_Meta_generalizeIndices(x_1, x_3, x_5, x_6, x_7, x_8, x_18); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; 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_47 = lean_st_ref_get(x_8, x_26); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 3); +x_27 = l_Lean_Meta_Cases_cases___lambda__2___closed__9; +x_43 = lean_st_ref_get(x_8, x_26); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_28 = x_48; +x_29 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); 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_dec(x_43); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_27, x_5, x_6, x_7, x_8, x_49); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_47); -x_27 = 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); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -lean_dec(x_47); -x_53 = l_Lean_Meta_Cases_cases___lambda__1___closed__9; -x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_53, x_5, x_6, x_7, x_8, 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_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_28 = x_53; +x_29 = x_52; +goto block_42; +} +block_42: { -lean_object* x_57; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_27 = x_57; -goto block_46; +if (x_28 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_box(0); +x_31 = l_Lean_Meta_Cases_cases___lambda__1(x_25, x_4, x_19, x_30, x_5, x_6, x_7, x_8, x_29); +return x_31; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -x_59 = lean_ctor_get(x_25, 0); -lean_inc(x_59); -x_60 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_60, 0, x_59); -x_61 = l_Lean_Meta_Cases_cases___lambda__1___closed__11; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__4; -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_53, x_64, x_5, x_6, x_7, x_8, x_58); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_27 = x_66; -goto block_46; -} -} -block_46: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_25, 2); -lean_inc(x_29); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_30 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn(x_28, x_29, x_4, x_19, x_5, x_6, x_7, x_8, x_27); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = lean_ctor_get(x_25, 0); lean_inc(x_32); -lean_dec(x_30); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_25); -x_33 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_elimAuxIndices(x_25, x_31, x_5, x_6, x_7, x_8, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_25, 3); -lean_inc(x_36); -lean_dec(x_25); -x_37 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs(x_36, x_34, x_5, x_6, x_7, x_8, x_35); -lean_dec(x_34); -return x_37; -} -else -{ -uint8_t x_38; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_38 = !lean_is_exclusive(x_33); -if (x_38 == 0) -{ -return x_33; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 0); -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); +x_33 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Meta_Cases_cases___lambda__2___closed__11; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__4; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_27, x_37, x_5, x_6, x_7, x_8, x_29); +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_33); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_Cases_cases___lambda__1(x_25, x_4, x_19, x_39, x_5, x_6, x_7, x_8, x_40); +lean_dec(x_39); return x_41; } } } else { -uint8_t x_42; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_42 = !lean_is_exclusive(x_30); -if (x_42 == 0) -{ -return x_30; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_30, 0); -x_44 = lean_ctor_get(x_30, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_30); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -} -else -{ -uint8_t x_67; +uint8_t x_54; lean_dec(x_19); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_67 = !lean_is_exclusive(x_24); -if (x_67 == 0) +x_54 = !lean_is_exclusive(x_24); +if (x_54 == 0) { return x_24; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_24, 0); -x_69 = lean_ctor_get(x_24, 1); -lean_inc(x_69); -lean_inc(x_68); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_24, 0); +x_56 = lean_ctor_get(x_24, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_24); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -lean_object* x_71; -x_71 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn(x_1, x_3, x_4, x_19, x_5, x_6, x_7, x_8, x_18); -return x_71; +lean_object* x_58; +x_58 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn(x_1, x_3, x_4, x_19, x_5, x_6, x_7, x_8, x_18); +return x_58; } } } else { -uint8_t x_72; +uint8_t x_59; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -14005,29 +14018,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_12); -if (x_72 == 0) +x_59 = !lean_is_exclusive(x_12); +if (x_59 == 0) { return x_12; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_12, 0); -x_74 = lean_ctor_get(x_12, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_12, 0); +x_61 = lean_ctor_get(x_12, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_12); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_76; +uint8_t x_63; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -14036,23 +14049,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_76 = !lean_is_exclusive(x_10); -if (x_76 == 0) +x_63 = !lean_is_exclusive(x_10); +if (x_63 == 0) { return x_10; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_10, 0); -x_78 = lean_ctor_get(x_10, 1); -lean_inc(x_78); -lean_inc(x_77); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_10, 0); +x_65 = lean_ctor_get(x_10, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_10); -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; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } @@ -14062,7 +14075,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Cases_cases___lambda__1___closed__8; +x_2 = l_Lean_Meta_Cases_cases___lambda__2___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -14073,7 +14086,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_Lean_Meta_Cases_cases___closed__1; lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l_Lean_Meta_Cases_cases___lambda__1), 9, 4); +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_Cases_cases___lambda__2), 9, 4); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_9); lean_closure_set(x_10, 2, x_2); @@ -14082,6 +14095,15 @@ x_11 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(x_1, x_ return x_11; } } +lean_object* l_Lean_Meta_Cases_cases___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_Cases_cases___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} lean_object* l_Lean_Meta_cases(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: { @@ -16285,11 +16307,11 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3309_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3364_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_Cases_cases___lambda__1___closed__9; +x_2 = l_Lean_Meta_Cases_cases___lambda__2___closed__9; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -16409,28 +16431,28 @@ l_Lean_Meta_Cases_unifyEqs_injection___closed__1 = _init_l_Lean_Meta_Cases_unify lean_mark_persistent(l_Lean_Meta_Cases_unifyEqs_injection___closed__1); l_Lean_Meta_Cases_unifyEqs_injection___closed__2 = _init_l_Lean_Meta_Cases_unifyEqs_injection___closed__2(); lean_mark_persistent(l_Lean_Meta_Cases_unifyEqs_injection___closed__2); -l_Lean_Meta_Cases_cases___lambda__1___closed__1 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__1); -l_Lean_Meta_Cases_cases___lambda__1___closed__2 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__2); -l_Lean_Meta_Cases_cases___lambda__1___closed__3 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__3); -l_Lean_Meta_Cases_cases___lambda__1___closed__4 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__4); -l_Lean_Meta_Cases_cases___lambda__1___closed__5 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__5); -l_Lean_Meta_Cases_cases___lambda__1___closed__6 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__6); -l_Lean_Meta_Cases_cases___lambda__1___closed__7 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__7); -l_Lean_Meta_Cases_cases___lambda__1___closed__8 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__8); -l_Lean_Meta_Cases_cases___lambda__1___closed__9 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__9); -l_Lean_Meta_Cases_cases___lambda__1___closed__10 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__10); -l_Lean_Meta_Cases_cases___lambda__1___closed__11 = _init_l_Lean_Meta_Cases_cases___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__1___closed__11); +l_Lean_Meta_Cases_cases___lambda__2___closed__1 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__1); +l_Lean_Meta_Cases_cases___lambda__2___closed__2 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__2); +l_Lean_Meta_Cases_cases___lambda__2___closed__3 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__3); +l_Lean_Meta_Cases_cases___lambda__2___closed__4 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__4); +l_Lean_Meta_Cases_cases___lambda__2___closed__5 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__5); +l_Lean_Meta_Cases_cases___lambda__2___closed__6 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__6); +l_Lean_Meta_Cases_cases___lambda__2___closed__7 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__7); +l_Lean_Meta_Cases_cases___lambda__2___closed__8 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__8); +l_Lean_Meta_Cases_cases___lambda__2___closed__9 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__9); +l_Lean_Meta_Cases_cases___lambda__2___closed__10 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__10); +l_Lean_Meta_Cases_cases___lambda__2___closed__11 = _init_l_Lean_Meta_Cases_cases___lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__11); l_Lean_Meta_Cases_cases___closed__1 = _init_l_Lean_Meta_Cases_cases___closed__1(); lean_mark_persistent(l_Lean_Meta_Cases_cases___closed__1); l_Lean_Meta_casesRec___lambda__1___closed__1 = _init_l_Lean_Meta_casesRec___lambda__1___closed__1(); @@ -16449,7 +16471,7 @@ l_Lean_Meta_casesAnd___closed__4 = _init_l_Lean_Meta_casesAnd___closed__4(); lean_mark_persistent(l_Lean_Meta_casesAnd___closed__4); l_Lean_Meta_substEqs___closed__1 = _init_l_Lean_Meta_substEqs___closed__1(); lean_mark_persistent(l_Lean_Meta_substEqs___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3309_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3364_(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/Meta/Tactic/Clear.c b/stage0/stdlib/Lean/Meta/Tactic/Clear.c index 74d83961e3..896396841f 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Clear.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Clear.c @@ -1509,7 +1509,7 @@ static lean_object* _init_l_Lean_Meta_clear___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("taget depends on '"); +x_1 = lean_mk_string("target depends on '"); return x_1; } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Induction.c b/stage0/stdlib/Lean/Meta/Tactic/Induction.c index ecce8d8ea3..8ed13fa850 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Induction.c @@ -23,7 +23,7 @@ static lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___spec__3___lambda_ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_induction___lambda__1___closed__1; +lean_object* l_Lean_Meta_induction___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_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_induction_match__7___rarg(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -39,19 +39,18 @@ lean_object* l_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Met lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__3(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3; static lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___spec__3___lambda__2___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Meta_induction___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_induction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___spec__3___closed__2; lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_induction___lambda__1___closed__2; static lean_object* l_Lean_Meta_induction___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__4; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___boxed__const__1; static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__4; +static lean_object* l_Lean_Meta_induction___lambda__2___closed__1; lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__7; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__2; @@ -66,11 +65,12 @@ lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7(lean_obje lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___boxed(lean_object**); lean_object* l_Lean_Meta_instInhabitedInductionSubgoal; +static lean_object* l_Lean_Meta_induction___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__8; lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__4; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2620_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2709_(lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__3; @@ -124,7 +124,7 @@ lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object lean_object* l_Lean_Meta_induction_match__2___rarg(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedAltVarNames___closed__1; -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(lean_object*, size_t, 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_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(lean_object*, size_t, 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_Meta_Tactic_Induction_0__Lean_Meta_addRecParams_match__1(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___lambda__2___closed__2; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__2; @@ -140,7 +140,6 @@ lean_object* l_Lean_Meta_synthInstance_x3f(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__1; lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos(lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1; uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); @@ -150,6 +149,7 @@ lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_getTargetArity_match__1(lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3(lean_object*, size_t, 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_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_induction_match__2(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop_match__2(lean_object*); @@ -169,7 +169,6 @@ static lean_object* l_List_forM___at_Lean_Meta_induction___spec__1___closed__2; lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l_Nat_forM_loop___at_Lean_Meta_induction___spec__3___lambda__1___closed__1; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2; lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forM___at_Lean_Meta_induction___spec__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___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*); @@ -220,15 +219,18 @@ lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpected lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___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_Meta_Tactic_Induction_0__Lean_Meta_getTargetArity_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_induction___lambda__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_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___lambda__2___closed__1; lean_object* l_Lean_Meta_induction_match__4(lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__2; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___lambda__2___boxed(lean_object**); lean_object* l_Lean_Meta_induction_match__3(lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__6; @@ -236,6 +238,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4(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*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_induction___spec__4___lambda__2___closed__1; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfUntil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,6 +248,7 @@ lean_object* l_Lean_Meta_induction_match__1___rarg(lean_object*, lean_object*, l lean_object* l_Lean_Meta_induction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6___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_instInhabitedLevel; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2; lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_getTargetArity_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -4821,7 +4825,37 @@ return x_59; } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1() { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(lean_object* x_1, size_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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_array_get_size(x_1); +x_20 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_21 = x_1; +x_22 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_20, x_2, x_21); +x_23 = x_22; +lean_inc(x_3); +x_24 = l_Lean_mkFVar(x_3); +lean_inc(x_4); +x_25 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__1___boxed), 17, 12); +lean_closure_set(x_25, 0, x_4); +lean_closure_set(x_25, 1, x_3); +lean_closure_set(x_25, 2, x_5); +lean_closure_set(x_25, 3, x_6); +lean_closure_set(x_25, 4, x_7); +lean_closure_set(x_25, 5, x_8); +lean_closure_set(x_25, 6, x_9); +lean_closure_set(x_25, 7, x_10); +lean_closure_set(x_25, 8, x_11); +lean_closure_set(x_25, 9, x_12); +lean_closure_set(x_25, 10, x_23); +lean_closure_set(x_25, 11, x_24); +x_26 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(x_4, x_25, x_14, x_15, x_16, x_17, x_18); +return x_26; +} +} +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4833,7 +4867,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -4841,16 +4875,16 @@ x_1 = lean_mk_string("after revert&intro\n"); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(lean_object* x_1, size_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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3(lean_object* x_1, size_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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; @@ -4907,7 +4941,7 @@ lean_inc(x_13); x_37 = l_Lean_Meta_intro1Core(x_36, x_24, x_13, x_14, x_15, x_16, x_34); if (lean_obj_tag(x_37) == 0) { -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_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +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; uint8_t x_45; lean_object* x_46; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); @@ -4918,109 +4952,88 @@ lean_inc(x_40); x_41 = lean_ctor_get(x_38, 1); lean_inc(x_41); lean_dec(x_38); -x_42 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1; +x_42 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1; x_43 = l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__5(x_35, x_1, x_19, x_2, x_42); lean_dec(x_1); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); lean_dec(x_43); -x_55 = lean_st_ref_get(x_16, x_39); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_56, 3); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); -lean_dec(x_57); -if (x_58 == 0) -{ -lean_object* x_59; -lean_dec(x_11); -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -x_45 = x_59; -goto block_54; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_55, 1); +x_59 = lean_st_ref_get(x_16, x_39); +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_55); -lean_inc(x_11); -x_61 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_11, x_13, x_14, x_15, x_16, x_60); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_unbox(x_62); -lean_dec(x_62); -if (x_63 == 0) +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +lean_dec(x_61); +if (x_62 == 0) { -lean_object* x_64; -lean_dec(x_11); -x_64 = lean_ctor_get(x_61, 1); +lean_object* x_63; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_45 = x_31; +x_46 = x_63; +goto block_58; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_59, 1); lean_inc(x_64); -lean_dec(x_61); -x_45 = x_64; -goto block_54; +lean_dec(x_59); +lean_inc(x_11); +x_65 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_11, x_13, x_14, x_15, x_16, x_64); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_66); +lean_dec(x_66); +x_45 = x_68; +x_46 = x_67; +goto block_58; +} +block_58: +{ +if (x_45 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_11); +x_47 = lean_box(0); +x_48 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_35, x_2, x_40, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_28, x_44, x_47, x_13, x_14, x_15, x_16, x_46); +return x_48; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); +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_inc(x_41); -x_66 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_66, 0, x_41); -x_67 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__4; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_11, x_70, x_13, x_14, x_15, x_16, x_65); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_45 = x_72; -goto block_54; +x_49 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_49, 0, x_41); +x_50 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__4; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_11, x_53, x_13, x_14, x_15, x_16, x_46); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_35, x_2, x_40, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_28, x_44, x_55, x_13, x_14, x_15, x_16, x_56); +lean_dec(x_55); +return x_57; } } -block_54: -{ -lean_object* x_46; size_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; -x_46 = lean_array_get_size(x_35); -x_47 = lean_usize_of_nat(x_46); -lean_dec(x_46); -x_48 = x_35; -x_49 = l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(x_47, x_2, x_48); -x_50 = x_49; -lean_inc(x_40); -x_51 = l_Lean_mkFVar(x_40); -lean_inc(x_41); -x_52 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__1___boxed), 17, 12); -lean_closure_set(x_52, 0, x_41); -lean_closure_set(x_52, 1, x_40); -lean_closure_set(x_52, 2, x_5); -lean_closure_set(x_52, 3, x_6); -lean_closure_set(x_52, 4, x_7); -lean_closure_set(x_52, 5, x_8); -lean_closure_set(x_52, 6, x_9); -lean_closure_set(x_52, 7, x_10); -lean_closure_set(x_52, 8, x_28); -lean_closure_set(x_52, 9, x_44); -lean_closure_set(x_52, 10, x_50); -lean_closure_set(x_52, 11, x_51); -x_53 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(x_41, x_52, x_13, x_14, x_15, x_16, x_45); -return x_53; -} } else { -uint8_t x_73; +uint8_t x_69; lean_dec(x_35); lean_dec(x_28); lean_dec(x_16); @@ -5035,29 +5048,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_37); -if (x_73 == 0) +x_69 = !lean_is_exclusive(x_37); +if (x_69 == 0) { return x_37; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_37, 0); -x_75 = lean_ctor_get(x_37, 1); -lean_inc(x_75); -lean_inc(x_74); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_37, 0); +x_71 = lean_ctor_get(x_37, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_37); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } else { -uint8_t x_77; +uint8_t x_73; lean_dec(x_28); lean_dec(x_16); lean_dec(x_15); @@ -5071,29 +5084,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_32); -if (x_77 == 0) +x_73 = !lean_is_exclusive(x_32); +if (x_73 == 0) { return x_32; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_32, 0); -x_79 = lean_ctor_get(x_32, 1); -lean_inc(x_79); -lean_inc(x_78); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_32, 0); +x_75 = lean_ctor_get(x_32, 1); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_32); -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; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { -uint8_t x_81; +uint8_t x_77; lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); @@ -5107,23 +5120,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_81 = !lean_is_exclusive(x_25); -if (x_81 == 0) +x_77 = !lean_is_exclusive(x_25); +if (x_77 == 0) { return x_25; } else { -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_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_25, 0); +x_79 = lean_ctor_get(x_25, 1); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_25); -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; +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; } } } @@ -5266,7 +5279,7 @@ if (x_53 == 0) { lean_object* x_54; lean_object* x_55; x_54 = lean_box(0); -x_55 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_46, x_39, x_2, x_1, x_8, x_3, x_4, x_6, x_7, x_24, x_5, x_54, x_13, x_14, x_15, x_16, x_51); +x_55 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3(x_46, x_39, x_2, x_1, x_8, x_3, x_4, x_6, x_7, x_24, x_5, x_54, x_13, x_14, x_15, x_16, x_51); return x_55; } else @@ -5323,7 +5336,7 @@ x_67 = lean_ctor_get(x_48, 1); lean_inc(x_67); lean_dec(x_48); x_68 = lean_box(0); -x_69 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_46, x_39, x_2, x_1, x_8, x_3, x_4, x_6, x_7, x_24, x_5, x_68, x_13, x_14, x_15, x_16, x_67); +x_69 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3(x_46, x_39, x_2, x_1, x_8, x_3, x_4, x_6, x_7, x_24, x_5, x_68, x_13, x_14, x_15, x_16, x_67); return x_69; } } @@ -5442,106 +5455,22 @@ return x_81; } } } -static lean_object* _init_l_Lean_Meta_induction___lambda__1___closed__1() { +lean_object* l_Lean_Meta_induction___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_1; -x_1 = lean_mk_string("initial\n"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_induction___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_induction___lambda__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_induction___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_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_st_ref_get(x_9, x_10); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -x_11 = x_58; -goto block_53; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_ctor_get(x_54, 1); -lean_inc(x_59); -lean_dec(x_54); -lean_inc(x_5); -x_60 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_5, x_6, x_7, x_8, x_9, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_unbox(x_61); -lean_dec(x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_11 = x_63; -goto block_53; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -lean_dec(x_60); -lean_inc(x_1); -x_65 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_65, 0, x_1); -x_66 = l_Lean_Meta_induction___lambda__1___closed__2; -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__4; -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -lean_inc(x_5); -x_70 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_5, x_69, x_6, x_7, x_8, x_9, x_64); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_11 = x_71; -goto block_53; -} -} -block_53: -{ lean_object* x_12; lean_object* x_13; x_12 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__2; lean_inc(x_1); -x_13 = l_Lean_Meta_checkNotAssigned(x_1, x_12, x_6, x_7, x_8, x_9, x_11); +x_13 = l_Lean_Meta_checkNotAssigned(x_1, x_12, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -lean_inc(x_6); +lean_inc(x_7); lean_inc(x_2); -x_15 = l_Lean_Meta_getLocalDecl(x_2, x_6, x_7, x_8, x_9, x_14); +x_15 = l_Lean_Meta_getLocalDecl(x_2, x_7, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -5551,12 +5480,12 @@ x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); x_18 = lean_box(0); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); lean_inc(x_3); -x_19 = l_Lean_Meta_mkRecursorInfo(x_3, x_18, x_6, x_7, x_8, x_9, x_17); +x_19 = l_Lean_Meta_mkRecursorInfo(x_3, x_18, x_7, x_8, x_9, x_10, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -5569,12 +5498,12 @@ x_22 = l_Lean_LocalDecl_type(x_16); lean_dec(x_16); x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); lean_inc(x_22); -x_24 = l_Lean_Meta_whnfUntil(x_22, x_23, x_6, x_7, x_8, x_9, x_21); +x_24 = l_Lean_Meta_whnfUntil(x_22, x_23, x_7, x_8, x_9, x_10, x_21); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; @@ -5592,11 +5521,11 @@ lean_dec(x_2); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg(x_1, x_22, x_6, x_7, x_8, x_9, x_26); +x_27 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg(x_1, x_22, x_7, x_8, x_9, x_10, x_26); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); return x_27; } else @@ -5618,7 +5547,7 @@ x_34 = lean_unsigned_to_nat(1u); x_35 = lean_nat_sub(x_31, x_34); lean_dec(x_31); lean_inc(x_29); -x_36 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8(x_1, x_2, x_3, x_4, x_5, x_12, x_20, x_23, x_29, x_29, x_33, x_35, x_6, x_7, x_8, x_9, x_28); +x_36 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8(x_1, x_2, x_3, x_4, x_5, x_12, x_20, x_23, x_29, x_29, x_33, x_35, x_7, x_8, x_9, x_10, x_28); return x_36; } } @@ -5628,10 +5557,10 @@ uint8_t x_37; lean_dec(x_23); lean_dec(x_22); lean_dec(x_20); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5661,10 +5590,10 @@ else { uint8_t x_41; lean_dec(x_16); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5693,10 +5622,10 @@ return x_44; else { uint8_t x_45; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5725,10 +5654,10 @@ return x_48; else { uint8_t x_49; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5755,6 +5684,101 @@ return x_52; } } } +static lean_object* _init_l_Lean_Meta_induction___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("initial\n"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_induction___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_induction___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_induction___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) { +_start: +{ +uint8_t x_11; lean_object* x_12; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_st_ref_get(x_9, x_10); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_11 = x_30; +x_12 = x_29; +goto block_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +lean_inc(x_5); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_5, x_6, x_7, x_8, x_9, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_11 = x_35; +x_12 = x_34; +goto block_24; +} +block_24: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_induction___lambda__1(x_1, x_2, x_3, x_4, x_5, x_13, x_6, x_7, x_8, x_9, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_1); +x_15 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_Meta_induction___lambda__2___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_throwUnexpectedMajorType___rarg___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +lean_inc(x_5); +x_20 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_5, x_19, x_6, x_7, x_8, x_9, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Meta_induction___lambda__1(x_1, x_2, x_3, x_4, x_5, x_21, x_6, x_7, x_8, x_9, x_22); +lean_dec(x_21); +return x_23; +} +} +} } static lean_object* _init_l_Lean_Meta_induction___closed__1() { _start: @@ -5808,7 +5832,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = l_Lean_Meta_induction___closed__5; lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_induction___lambda__1), 10, 5); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_induction___lambda__2), 10, 5); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -6104,12 +6128,41 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +size_t x_19; lean_object* x_20; +x_19 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_20 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_20; +} +} +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { size_t x_18; lean_object* x_19; x_18 = lean_unbox_usize(x_2); lean_dec(x_2); -x_19 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_19 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_12); return x_19; } @@ -6139,7 +6192,16 @@ x_18 = l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8(x_1, x_2, x_3, return x_18; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2620_(lean_object* x_1) { +lean_object* l_Lean_Meta_induction___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_Lean_Meta_induction___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_6); +return x_12; +} +} +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2709_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6284,22 +6346,22 @@ l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__8 = _init_l_ lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__8); l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__1___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__1___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__2); -l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__2___closed__3); +l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__2); +l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___lambda__3___closed__3); l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__1); l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__2(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___closed__2); l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__8___boxed__const__1); -l_Lean_Meta_induction___lambda__1___closed__1 = _init_l_Lean_Meta_induction___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_induction___lambda__1___closed__1); -l_Lean_Meta_induction___lambda__1___closed__2 = _init_l_Lean_Meta_induction___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_induction___lambda__1___closed__2); +l_Lean_Meta_induction___lambda__2___closed__1 = _init_l_Lean_Meta_induction___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_induction___lambda__2___closed__1); +l_Lean_Meta_induction___lambda__2___closed__2 = _init_l_Lean_Meta_induction___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_induction___lambda__2___closed__2); l_Lean_Meta_induction___closed__1 = _init_l_Lean_Meta_induction___closed__1(); lean_mark_persistent(l_Lean_Meta_induction___closed__1); l_Lean_Meta_induction___closed__2 = _init_l_Lean_Meta_induction___closed__2(); @@ -6310,7 +6372,7 @@ l_Lean_Meta_induction___closed__4 = _init_l_Lean_Meta_induction___closed__4(); lean_mark_persistent(l_Lean_Meta_induction___closed__4); l_Lean_Meta_induction___closed__5 = _init_l_Lean_Meta_induction___closed__5(); lean_mark_persistent(l_Lean_Meta_induction___closed__5); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2620_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Induction___hyg_2709_(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/Meta/Tactic/Intro.c b/stage0/stdlib/Lean/Meta/Tactic/Intro.c index 43b6fba39e..f202e08ee2 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Intro.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Intro.c @@ -24,20 +24,20 @@ lean_object* l_Lean_Meta_tactic_hygienic; lean_object* l_Lean_Meta_introN(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3; static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__4; lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_getHygienicIntro___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getHygienicIntro___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4; static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__2; lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop_match__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_tactic_hygienic___closed__1; lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,11 +47,11 @@ static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_lo lean_object* l_Lean_Meta_intro_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623_(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5; lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5; lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_match__1___rarg(lean_object*, lean_object*); @@ -84,7 +84,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__3; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadNameGeneratorCoreM; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6; lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___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_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -113,7 +113,7 @@ lean_object* l_Lean_Meta_getHygienicIntro(lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__5; lean_object* l_Lean_Meta_introNCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1; lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___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* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_match__1(lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1262,7 +1262,7 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_ return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1() { _start: { lean_object* x_1; @@ -1270,17 +1270,17 @@ x_1 = lean_mk_string("tactic"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____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_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3() { _start: { lean_object* x_1; @@ -1288,17 +1288,17 @@ x_1 = lean_mk_string("hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5() { _start: { lean_object* x_1; @@ -1306,13 +1306,13 @@ x_1 = lean_mk_string("make sure tactics are hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1321,12 +1321,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -2078,21 +2078,21 @@ l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__ lean_mark_persistent(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__5); l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623____closed__6); l_Lean_Meta_tactic_hygienic___closed__1 = _init_l_Lean_Meta_tactic_hygienic___closed__1(); lean_mark_persistent(l_Lean_Meta_tactic_hygienic___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_621_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_623_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_tactic_hygienic = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_tactic_hygienic); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c index d58a05dc39..c9f113f7bc 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c @@ -18,7 +18,7 @@ lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_CongrLemmas_get___spec__3(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_instInhabitedCongrLemma___closed__2; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addCongrLemmaEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295_(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_CongrLemmas_get___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -26,16 +26,13 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Met size_t l_USize_add(size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__14___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_CongrLemmas_get___spec__3___closed__2; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Meta_instReprCongrLemma___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__19; lean_object* l_Lean_mkSort(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__2(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); @@ -46,7 +43,6 @@ static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_CongrLemmas_get___s lean_object* l_Lean_Meta_mkCongrLemma_match__4___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_addCongrLemmaEntry(lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__6; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__9(lean_object*); @@ -62,10 +58,12 @@ static lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_Cong lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__3___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_addCongrLemmaEntry___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_congrExtension___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10; static lean_object* l_Lean_Meta_congrExtension___closed__4; lean_object* l_Lean_Meta_instInhabitedCongrLemma; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -74,13 +72,12 @@ lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_o lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CongrLemmas_get___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__8; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__2___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__31; static lean_object* l_Lean_Meta_congrExtension___closed__9; lean_object* l_Lean_Meta_CongrLemmas_get(lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__9; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__9; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__3; size_t l_USize_sub(size_t, size_t); @@ -89,7 +86,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__5( lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__5(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295____closed__5; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__9; lean_object* l_id___rarg___boxed(lean_object*); @@ -104,12 +101,12 @@ lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__4; lean_object* l_Lean_Meta_mkCongrLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__5___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__8; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295____closed__3; lean_object* l_Lean_Meta_mkCongrLemma_onlyMVarsAt___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__17; static lean_object* l_Lean_Meta_mkCongrLemma___closed__4; @@ -126,7 +123,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_r lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9(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*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__9; lean_object* l_Lean_Meta_congrExtension___lambda__3___boxed(lean_object*); lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); @@ -138,6 +135,7 @@ lean_object* l_Lean_Meta_instReprCongrLemmas; lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__5___closed__1; static lean_object* l_Lean_Meta_congrExtension___closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_CongrLemmas_get___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -146,17 +144,17 @@ extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__12; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11; lean_object* l_Lean_Meta_congrExtension___lambda__7(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__6; lean_object* l_Lean_Meta_mkCongrLemma_match__5(lean_object*); size_t l_UInt64_toUSize(uint64_t); uint8_t l_Lean_Meta_mkCongrLemma_onlyMVarsAt(lean_object*, lean_object*); lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__13; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__11(lean_object*); @@ -165,8 +163,10 @@ lean_object* l_Lean_getAttrParamOptPrio(lean_object*, lean_object*, lean_object* lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__2(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___closed__3; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3; lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__14(lean_object*); @@ -185,13 +185,17 @@ lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_o lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1(lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__12; lean_object* l_Std_AssocList_replace___at_Lean_Meta_addCongrLemmaEntry___spec__11(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1; lean_object* l_Lean_Meta_addCongrLemmaEntry_insert_match__1(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__2; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_Meta_congrExtension___lambda__1___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_mkCongrLemma___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,22 +223,26 @@ lean_object* l_Lean_Meta_CongrLemmas_get_match__1(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__25; uint64_t l_Lean_Name_hash(lean_object*); static lean_object* l_Lean_Meta_mkCongrLemma___closed__2; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6; lean_object* l_Nat_repr(lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkCongrLemma___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CongrLemmas_lemmas___default___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4; static lean_object* l_Lean_Meta_CongrLemmas_lemmas___default___closed__2; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8; static lean_object* l_Lean_Meta_congrExtension___lambda__1___closed__3; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__21; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7; size_t l_USize_shiftLeft(size_t, size_t); lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6; static lean_object* l_Lean_Meta_mkCongrLemma___closed__1; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -256,29 +264,31 @@ uint8_t l_Lean_Expr_isConst(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__7; static lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__3; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3; +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); size_t l_USize_mul(size_t, size_t); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__7; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__12(lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__3(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__9; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__8; lean_object* l_Lean_Meta_mkCongrLemma_onlyMVarsAt___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1; size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1; extern lean_object* l_Lean_NameSet_empty; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__22; size_t l_USize_land(size_t, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CongrLemmas_lemmas___default___closed__3; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__7(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_congrExtension___lambda__6___boxed(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__2(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CongrLemmas_lemmas___default; @@ -288,16 +298,15 @@ lean_object* l_Lean_Meta_congrExtension___lambda__4(lean_object*, lean_object*); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___closed__3; static lean_object* l_Lean_Meta_CongrLemmas_lemmas___default___closed__5; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__7; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3; lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addCongrLemmaEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__2; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_addCongrLemma(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__6(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_addCongrLemmaEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_congrExtension___closed__1; lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__17(lean_object*, lean_object*); @@ -305,37 +314,31 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__5; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___boxed(lean_object**); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__16; lean_object* l_Lean_Meta_addCongrLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_addCongrLemmaEntry___spec__8(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCongrLemma___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___closed__2; lean_object* l_Lean_Meta_getCongrLemmas(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_congrExtension___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__24; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCongrLemma___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4; lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__13(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__3; lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156_(lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_addCongrLemmaEntry___spec__7(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3; +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7; lean_object* l_Lean_Meta_congrExtension___lambda__6(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7; lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkCongrLemma___closed__3; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295____closed__4; @@ -359,7 +362,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_Cong static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4___closed__6; lean_object* l_Lean_Meta_addCongrLemmaEntry_insert_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__13; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12; lean_object* l_Lean_Meta_CongrLemmas_get_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -369,7 +371,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_Cong lean_object* l_Std_mkHashMap___at_Lean_Meta_CongrLemmas_lemmas___default___spec__1(lean_object*); lean_object* l_Lean_Meta_getCongrLemmas___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__18(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__4(lean_object*); @@ -387,7 +388,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_r lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__2(lean_object*, lean_object*); lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____spec__1(lean_object*); -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__6; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__10; lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -395,12 +396,11 @@ lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_S lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__12; static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____closed__11; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__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_Std_AssocList_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_congrExtension___lambda__7___boxed(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6; lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15(lean_object*); lean_object* l_Lean_Meta_congrExtension; lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); @@ -408,14 +408,13 @@ lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_addCongrLemmaEntry___sp static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__11; lean_object* lean_usize_to_nat(size_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6___lambda__4___closed__1; uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_50____closed__26; static lean_object* l_Lean_Meta_congrExtension___closed__11; lean_object* l_Lean_Meta_congrExtension___lambda__5(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__6(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_addCongrLemmaEntry___spec__10(lean_object*, lean_object*); @@ -427,6 +426,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___bo static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295____closed__1; lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_addCongrLemmaEntry___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrLemma_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4; lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__1(lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_295____closed__2; @@ -435,7 +435,9 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec_ lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___closed__4; lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11; lean_object* l_Lean_Meta_getCongrLemmas___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___closed__1; static lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_156____spec__15___closed__11; @@ -7191,7 +7193,23 @@ lean_ctor_set(x_10, 1, x_6); return x_10; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1() { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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; +x_11 = l_Lean_Expr_constName_x21(x_1); +x_12 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_3); +lean_ctor_set(x_12, 3, x_4); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -7199,17 +7217,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1; +x_2 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -7217,17 +7235,17 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2; -x_2 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2; +x_2 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -7235,16 +7253,16 @@ x_1 = lean_mk_string("c: "); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -7252,16 +7270,16 @@ x_1 = lean_mk_string(" : "); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; @@ -7302,7 +7320,7 @@ lean_inc(x_12); x_33 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__6(x_5, x_19, x_4, x_32, x_19, x_30, x_12, x_13, x_14, x_15, x_23); if (lean_obj_tag(x_33) == 0) { -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_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +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_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_34, 1); @@ -7310,148 +7328,104 @@ lean_inc(x_35); lean_dec(x_34); x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_37 = x_33; -} else { - lean_dec_ref(x_33); - x_37 = lean_box(0); -} -x_38 = lean_ctor_get(x_35, 0); -lean_inc(x_38); +lean_dec(x_33); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); lean_dec(x_35); -x_64 = lean_st_ref_get(x_15, x_36); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_65, 3); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*1); -lean_dec(x_66); -if (x_67 == 0) +x_38 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4; +x_57 = lean_st_ref_get(x_15, x_36); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 3); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); +lean_dec(x_59); +if (x_60 == 0) { -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -x_69 = 0; -x_39 = x_69; -x_40 = x_68; -goto block_63; +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_39 = x_62; +x_40 = x_61; +goto block_56; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_38, x_12, x_13, x_14, x_15, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); lean_dec(x_64); -x_71 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4; -x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_71, x_12, x_13, x_14, x_15, x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_unbox(x_73); -lean_dec(x_73); -x_39 = x_75; -x_40 = x_74; -goto block_63; +x_67 = lean_unbox(x_65); +lean_dec(x_65); +x_39 = x_67; +x_40 = x_66; +goto block_56; } -block_63: +block_56: { if (x_39 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); +lean_object* x_41; lean_object* x_42; lean_dec(x_10); lean_dec(x_9); -x_41 = l_Lean_Expr_constName_x21(x_6); -x_42 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_42, 0, x_7); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_38); -lean_ctor_set(x_42, 3, x_8); -if (lean_is_scalar(x_37)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_37; -} -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; 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; uint8_t x_55; -lean_dec(x_37); -x_44 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_44, 0, x_9); -x_45 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_49, 0, x_10); -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___closed__3; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4; -x_54 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_53, x_52, x_12, x_13, x_14, x_15, x_40); +x_41 = lean_box(0); +x_42 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(x_6, x_7, x_37, x_8, x_41, x_12, x_13, x_14, x_15, x_40); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = l_Lean_Expr_constName_x21(x_6); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_7); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_38); -lean_ctor_set(x_58, 3, x_8); -lean_ctor_set(x_54, 0, x_58); -return x_54; +return x_42; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); -lean_inc(x_59); -lean_dec(x_54); -x_60 = l_Lean_Expr_constName_x21(x_6); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_7); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_38); -lean_ctor_set(x_61, 3, x_8); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +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; +x_43 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_43, 0, x_9); +x_44 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_48, 0, x_10); +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__3___closed__3; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_38, x_51, x_12, x_13, x_14, x_15, x_40); +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 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(x_6, x_7, x_37, x_8, x_53, x_12, x_13, x_14, x_15, x_54); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_53); +return x_55; } } } else { -uint8_t x_76; +uint8_t x_68; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -7460,29 +7434,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_76 = !lean_is_exclusive(x_33); -if (x_76 == 0) +x_68 = !lean_is_exclusive(x_33); +if (x_68 == 0) { return x_33; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_33, 0); -x_78 = lean_ctor_get(x_33, 1); -lean_inc(x_78); -lean_inc(x_77); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_33, 0); +x_70 = lean_ctor_get(x_33, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_33); -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; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } else { -uint8_t x_80; +uint8_t x_72; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -7493,23 +7467,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_80 = !lean_is_exclusive(x_21); -if (x_80 == 0) +x_72 = !lean_is_exclusive(x_21); +if (x_72 == 0) { return x_21; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_21, 0); -x_82 = lean_ctor_get(x_21, 1); -lean_inc(x_82); -lean_inc(x_81); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_21, 0); +x_74 = lean_ctor_get(x_21, 1); +lean_inc(x_74); +lean_inc(x_73); lean_dec(x_21); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } @@ -7755,7 +7729,7 @@ else { lean_object* x_73; lean_object* x_74; x_73 = lean_box(0); -x_74 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(x_10, x_8, x_5, x_4, x_7, x_9, x_1, x_2, x_3, x_6, x_73, x_14, x_15, x_16, x_17, x_18); +x_74 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2(x_10, x_8, x_5, x_4, x_7, x_9, x_1, x_2, x_3, x_6, x_73, x_14, x_15, x_16, x_17, x_18); return x_74; } } @@ -8913,11 +8887,25 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; -x_17 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_17 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___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, x_14, x_15, x_16); lean_dec(x_11); lean_dec(x_6); lean_dec(x_4); @@ -9307,7 +9295,7 @@ x_10 = l_Lean_Meta_addCongrLemma(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; @@ -9328,7 +9316,7 @@ lean_ctor_set_uint8(x_4, 9, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -9337,23 +9325,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___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_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -9364,25 +9352,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_CongrLemmas_lemmas___default___closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5; x_4 = l_Lean_Meta_instInhabitedCongrLemma___closed__1; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); @@ -9392,7 +9380,7 @@ lean_ctor_set(x_5, 3, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9408,7 +9396,7 @@ lean_ctor_set(x_3, 5, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9420,7 +9408,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__9() { _start: { lean_object* x_1; @@ -9428,7 +9416,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheK return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9440,7 +9428,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9452,13 +9440,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11; x_4 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9468,14 +9456,14 @@ lean_ctor_set(x_4, 4, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12; x_3 = l_Lean_NameSet_empty; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -9484,7 +9472,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -9505,14 +9493,14 @@ x_12 = lean_st_ref_get(x_5, x_11); x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13; +x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13; x_15 = lean_st_mk_ref(x_14, x_13); 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 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6; +x_18 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6; lean_inc(x_5); lean_inc(x_16); x_19 = l_Lean_Meta_addCongrLemma(x_1, x_3, x_10, x_18, x_16, x_4, x_5, x_17); @@ -9604,7 +9592,7 @@ return x_37; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -9612,25 +9600,25 @@ x_1 = lean_mk_string("attribute cannot be erased"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1() { _start: { lean_object* x_1; @@ -9638,17 +9626,17 @@ x_1 = lean_mk_string("congr"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____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_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3() { _start: { lean_object* x_1; @@ -9656,12 +9644,12 @@ x_1 = lean_mk_string("congruence theorem"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -9670,29 +9658,29 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9700,31 +9688,31 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____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* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -10141,22 +10129,22 @@ l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__2 = _init_l_Lean lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__2); l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__3(); lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7___closed__3); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__2); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__3); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__4); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__5); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__6); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__7); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__1___closed__8); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__2); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__3); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__4); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__5); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__6); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__7); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___lambda__2___closed__8); l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__1); l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__9___closed__2(); @@ -10169,51 +10157,51 @@ l_Lean_Meta_mkCongrLemma___closed__3 = _init_l_Lean_Meta_mkCongrLemma___closed__ lean_mark_persistent(l_Lean_Meta_mkCongrLemma___closed__3); l_Lean_Meta_mkCongrLemma___closed__4 = _init_l_Lean_Meta_mkCongrLemma___closed__4(); lean_mark_persistent(l_Lean_Meta_mkCongrLemma___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__1___closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562____closed__7); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1562_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__1___closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609____closed__7); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1609_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___closed__1 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 33d09571a9..8a0d924ade 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -19,11 +19,10 @@ uint8_t l_Lean_Expr_bindingInfo_x21(lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_methods___closed__3; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7; lean_object* l_Lean_Meta_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkImpCongrCtx(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*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; +lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_simpTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -36,8 +35,8 @@ lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr lean_object* l_Lean_Meta_Simp_simp_cacheResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2; +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_congr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -49,6 +48,7 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__8; lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpArrow___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__3; lean_object* l_Lean_Meta_Simp_simp_congrDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_withNewLemmas_match__1(lean_object*); @@ -61,22 +61,25 @@ uint8_t l_USize_decEq(size_t, size_t); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__2; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_DefaultMethods_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpArrow___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2; lean_object* l_Lean_Meta_Simp_simp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__5; +static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1; extern lean_object* l_Lean_maxRecDepthErrorMessage; uint8_t l_Lean_Expr_isArrow(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__4; lean_object* l_Lean_Meta_Simp_simp_simpLambda___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_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___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*); static lean_object* l_Lean_Meta_Simp_simp_simpLoop___closed__1; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_congrDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -105,33 +108,33 @@ lean_object* l_Lean_Meta_simpStep(lean_object*, lean_object*, lean_object*, lean uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Simp_simp_simpLambda___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*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___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*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__11; lean_object* l_Lean_Expr_appFn_x21(lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(uint8_t, 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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___lambda__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_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Simp_simp___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_Simp_simp_cacheResult___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr_match__1(lean_object*); lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___rarg(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_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_replace___at_Lean_Meta_Simp_simp_cacheResult___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___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*); -static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1; +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_congr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6; lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___boxed(lean_object**); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr_match__1(lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___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_Meta_Simp_Result_getProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,10 +146,10 @@ static lean_object* l_Lean_Meta_Simp_DefaultMethods_methods___closed__1; lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l_Lean_Meta_Simp_main___closed__1; lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_postDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8(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_Simp_simp_tryCongrLemma_x3f___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__9; -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; extern lean_object* l_Lean_Meta_Simp_instInhabitedResult; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__7; @@ -156,12 +159,12 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_simp_simpForall___spec__1(lean_o lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3; lean_object* l_Lean_Meta_Simp_simp_withNewLemmas_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_simp_simpForall___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* l_Lean_Meta_Simp_simp_processCongrHypothesis___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Simp_simp___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2; static lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__4; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); size_t l_UInt64_toUSize(uint64_t); @@ -171,7 +174,7 @@ static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__5; lean_object* l_Lean_Meta_Simp_simp_processCongrHypothesis___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__4; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1(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*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__7; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___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*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___closed__1; lean_object* l_Lean_Meta_Simp_simp_withNewLemmas___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_Std_HashMapImp_expand___at_Lean_Meta_Simp_simp_cacheResult___spec__3(lean_object*, lean_object*); @@ -201,6 +204,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_processCongrHypothesis___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_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___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_Meta_Simp_simp_simpArrow___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_methods___closed__2; lean_object* l_Lean_Meta_Simp_simp_simpConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -214,6 +218,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLe static lean_object* l_Lean_Meta_simpTargetCore___closed__3; lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_withNewLemmas___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*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___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*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -226,44 +231,43 @@ lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__3(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5; +static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7; lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLet_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__10; lean_object* l_Lean_Meta_Simp_getSimpLemmas___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7; lean_object* l_Lean_Meta_Simp_DefaultMethods_methods; lean_object* l_Lean_Meta_Simp_simp_congrDefault_match__1(lean_object*); static lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__2; -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___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_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__4; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___boxed__const__1; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongrFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__6; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_pre(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___boxed(lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3; lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(lean_object*, lean_object*); lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_Simp_simp_cacheResult___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(uint8_t, 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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__1; lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___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_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_4_(lean_object*); lean_object* l_Lean_Meta_Simp_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__5; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(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*); size_t lean_usize_modn(size_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_Result_getProof_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -273,7 +277,6 @@ lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceFVar uint8_t l_Lean_Expr_isConst(lean_object*); lean_object* l_Lean_Meta_Simp_simp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpStep___closed__1; -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__14; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_congrDefault_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,8 +285,10 @@ static lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed_ lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProj_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___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*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1; extern lean_object* l_Lean_Meta_instMonadMetaM; static lean_object* l_Lean_Meta_Simp_simp_congr___closed__1; +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4; lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_Simp_simp_simpLambda___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); @@ -300,6 +305,7 @@ lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__5; lean_object* l_Lean_Meta_Simp_simp_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_4____closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Simp_simp_simpLambda___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*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__3; static lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_4____closed__2; @@ -314,17 +320,17 @@ lean_object* l_Lean_isProjectionFn___at___private_Lean_Meta_Tactic_Simp_Main_0__ lean_object* l_Lean_Meta_Simp_simp_congr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__4; lean_object* l_Lean_Meta_mkForallCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__3; +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1; lean_object* l_Lean_Meta_Simp_simp_congr_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__9; +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; lean_object* l_Lean_Meta_Simp_simp_simpStep_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* l_Lean_Meta_Simp_simp_simpStep_match__1(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,6 +350,7 @@ static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__10; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___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*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1(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*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_processCongrHypothesis___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); @@ -373,6 +380,7 @@ uint8_t l_Lean_Meta_SimpLemmas_isDeclToUnfold(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__7; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6; lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__8; lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -391,7 +399,7 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1; lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_withNewLemmas___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* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__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*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -402,8 +410,11 @@ lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__1(lean_object*, lean_obj lean_object* l_Lean_Meta_mkFalseElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLoop_match__1(lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___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*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Simp_simp___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2; lean_object* l_Lean_Meta_Simp_simp___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_Meta_Simp_simp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpArrow___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*); @@ -412,14 +423,15 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5; static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__8; -lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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_Meta_Simp_simp_tryCongrLemma_x3f___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_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7___boxed(lean_object**); +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__2; -static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__3; +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -428,20 +440,19 @@ lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_Environment_getPr lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___boxed(lean_object*, lean_object*); uint8_t l_Lean_MapDeclarationExtension_contains___at_Lean_Environment_isProjectionFn___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___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_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__8; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__5; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(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_Meta_Simp_simp_simpForall___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__2(lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Simp_simp_cacheResult___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLoop_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__12; +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___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* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -450,10 +461,12 @@ static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__4; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__2; lean_object* l_Lean_Meta_Simp_simp_cacheResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2; static lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__3; lean_object* l_Lean_Meta_Simp_simp_withNewLemmas(lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -472,25 +485,27 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpStep___closed__2; -static lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__3; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__6; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___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_Meta_Simp_simp_tryCongrLemma_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2; static lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__2; static lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__6; lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___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* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___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* l_Lean_Meta_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8; lean_object* l_Lean_Meta_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__13; static lean_object* _init_l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_4____closed__1() { _start: { @@ -11353,20 +11368,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_s return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1() { _start: { lean_object* x_1; @@ -11374,16 +11376,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3() { _start: { lean_object* x_1; @@ -11391,16 +11393,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5() { _start: { lean_object* x_1; @@ -11408,16 +11410,16 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5; +x_1 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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) { +lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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; @@ -11450,18 +11452,18 @@ x_22 = lean_ctor_get(x_17, 0); lean_inc(x_1); x_23 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2; +x_24 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; +x_26 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_13); -x_29 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; +x_29 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -11508,18 +11510,18 @@ lean_dec(x_17); lean_inc(x_1); x_43 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2; +x_44 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; +x_46 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_13); -x_49 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; +x_49 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; x_50 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); @@ -11580,18 +11582,18 @@ if (lean_is_exclusive(x_17)) { lean_inc(x_1); x_66 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2; +x_67 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2; x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; +x_69 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_13); -x_72 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; +x_72 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -11638,6 +11640,19 @@ return x_83; } } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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_Simp_simp_simpForall___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: { @@ -11971,6 +11986,146 @@ lean_dec(x_12); return x_18; } } +lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = l_Lean_Expr_isArrow(x_1); +if (x_11 == 0) +{ +lean_object* x_12; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_12 = l_Lean_Meta_isProp(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__1; +x_17 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__2; +x_18 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_18, 0, x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_18); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) +{ +return x_18; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_12, 1); +lean_inc(x_32); +lean_dec(x_12); +x_33 = l_Lean_Expr_bindingName_x21(x_1); +x_34 = l_Lean_Expr_bindingInfo_x21(x_1); +x_35 = l_Lean_Expr_bindingDomain_x21(x_1); +x_36 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_simpForall___lambda__2___boxed), 10, 1); +lean_closure_set(x_36, 0, x_1); +x_37 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___rarg(x_33, x_34, x_35, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +return x_37; +} +} +else +{ +uint8_t x_38; +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); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_12); +if (x_38 == 0) +{ +return x_12; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_12, 0); +x_40 = lean_ctor_get(x_12, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_12); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; +x_42 = l_Lean_Meta_Simp_simp_simpArrow(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_42; +} +} +} static lean_object* _init_l_Lean_Meta_Simp_simp_simpForall___closed__1() { _start: { @@ -12063,438 +12218,180 @@ return x_2; lean_object* l_Lean_Meta_Simp_simp_simpForall(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 = !lean_is_exclusive(x_3); -if (x_10 == 0) +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_Meta_Simp_simp_simpForall___closed__8; +x_11 = !lean_is_exclusive(x_3); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_11 = lean_ctor_get(x_3, 3); -lean_dec(x_11); +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_12 = lean_ctor_get(x_3, 3); +lean_dec(x_12); lean_inc(x_1); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_3, 3, x_12); -x_47 = lean_st_ref_get(x_8, x_9); -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_13 = 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_Lean_Meta_Simp_simp_simpForall___closed__8; -x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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_13 = x_57; -goto block_46; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -lean_inc(x_1); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_1); -x_60 = l_Lean_Meta_Simp_simp_simpForall___closed__10; -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_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_53, x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_58); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_13 = x_65; -goto block_46; -} -} -block_46: -{ -uint8_t x_14; -x_14 = l_Lean_Expr_isArrow(x_1); -if (x_14 == 0) -{ -lean_object* x_15; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_15 = l_Lean_Meta_isProp(x_1, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__1; -x_20 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__2; -x_21 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_19, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_21, 0, x_25); -return x_21; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_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_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, 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_27); -return x_30; -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_21); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_3, 3, x_13); +x_28 = lean_st_ref_get(x_8, x_9); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 3); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_ctor_get_uint8(x_30, sizeof(void*)*1); +lean_dec(x_30); if (x_31 == 0) { -return x_21; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_21, 0); -x_33 = lean_ctor_get(x_21, 1); -lean_inc(x_33); +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_28, 1); lean_inc(x_32); -lean_dec(x_21); -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; +lean_dec(x_28); +x_33 = 0; +x_14 = x_33; +x_15 = x_32; +goto block_27; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_dec(x_28); +x_35 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_unbox(x_36); +lean_dec(x_36); +x_14 = x_38; +x_15 = x_37; +goto block_27; +} +block_27: +{ +if (x_14 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Simp_simp_simpForall___lambda__3(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_inc(x_1); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_1); +x_19 = l_Lean_Meta_Simp_simp_simpForall___closed__10; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_10, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +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 = l_Lean_Meta_Simp_simp_simpForall___lambda__3(x_1, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +lean_dec(x_24); +return x_26; } } } else { -lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_35 = lean_ctor_get(x_15, 1); -lean_inc(x_35); -lean_dec(x_15); -x_36 = l_Lean_Expr_bindingName_x21(x_1); -x_37 = l_Lean_Expr_bindingInfo_x21(x_1); -x_38 = l_Lean_Expr_bindingDomain_x21(x_1); -x_39 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_simpForall___lambda__2___boxed), 10, 1); -lean_closure_set(x_39, 0, x_1); -x_40 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___rarg(x_36, x_37, x_38, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -return x_40; -} -} -else -{ -uint8_t x_41; -lean_dec(x_3); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_15); -if (x_41 == 0) -{ -return x_15; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_15, 0); -x_43 = lean_ctor_get(x_15, 1); -lean_inc(x_43); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +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, 4); lean_inc(x_42); -lean_dec(x_15); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; -x_45 = l_Lean_Meta_Simp_simp_simpArrow(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -return x_45; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_66 = lean_ctor_get(x_3, 0); -x_67 = lean_ctor_get(x_3, 1); -x_68 = lean_ctor_get(x_3, 2); -x_69 = lean_ctor_get(x_3, 4); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_3); lean_inc(x_1); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_1); -x_71 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_71, 0, x_66); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_70); -lean_ctor_set(x_71, 4, x_69); -x_103 = lean_st_ref_get(x_8, x_9); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_104, 3); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*1); -lean_dec(x_105); -if (x_106 == 0) +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_1); +x_44 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_44, 0, x_39); +lean_ctor_set(x_44, 1, x_40); +lean_ctor_set(x_44, 2, x_41); +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set(x_44, 4, x_42); +x_59 = lean_st_ref_get(x_8, x_9); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +lean_dec(x_61); +if (x_62 == 0) { -lean_object* x_107; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -lean_dec(x_103); -x_72 = x_107; -goto block_102; +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_64 = 0; +x_45 = x_64; +x_46 = x_63; +goto block_58; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); -lean_dec(x_103); -x_109 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_110 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_109, x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_108); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_unbox(x_111); -lean_dec(x_111); -if (x_112 == 0) +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_59, 1); +lean_inc(x_65); +lean_dec(x_59); +x_66 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_10, x_2, x_44, x_4, x_5, x_6, x_7, x_8, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); +lean_dec(x_67); +x_45 = x_69; +x_46 = x_68; +goto block_58; +} +block_58: { -lean_object* x_113; -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); -lean_dec(x_110); -x_72 = x_113; -goto block_102; +if (x_45 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = l_Lean_Meta_Simp_simp_simpForall___lambda__3(x_1, x_47, x_2, x_44, x_4, x_5, x_6, x_7, x_8, x_46); +return x_48; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); +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_inc(x_1); -x_115 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_115, 0, x_1); -x_116 = l_Lean_Meta_Simp_simp_simpForall___closed__10; -x_117 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_119 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_109, x_119, x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_114); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_72 = x_121; -goto block_102; -} -} -block_102: -{ -uint8_t x_73; -x_73 = l_Lean_Expr_isArrow(x_1); -if (x_73 == 0) -{ -lean_object* x_74; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_74 = l_Lean_Meta_isProp(x_1, x_5, x_6, x_7, x_8, x_72); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_unbox(x_75); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__1; -x_79 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__2; -x_80 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_78, x_79, x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_77); -if (lean_obj_tag(x_80) == 0) -{ -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_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -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_80); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_81); -lean_ctor_set(x_85, 1, x_84); -if (lean_is_scalar(x_83)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_83; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_82); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_87 = lean_ctor_get(x_80, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_80, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_89 = x_80; -} else { - lean_dec_ref(x_80); - x_89 = lean_box(0); -} -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(1, 2, 0); -} else { - x_90 = x_89; -} -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -return x_90; -} -} -else -{ -lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -lean_dec(x_74); -x_92 = l_Lean_Expr_bindingName_x21(x_1); -x_93 = l_Lean_Expr_bindingInfo_x21(x_1); -x_94 = l_Lean_Expr_bindingDomain_x21(x_1); -x_95 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_simpForall___lambda__2___boxed), 10, 1); -lean_closure_set(x_95, 0, x_1); -x_96 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___rarg(x_92, x_93, x_94, x_95, x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_91); -return x_96; -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_71); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_97 = lean_ctor_get(x_74, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_74, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_99 = x_74; -} else { - lean_dec_ref(x_74); - 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_101; -x_101 = l_Lean_Meta_Simp_simp_simpArrow(x_1, x_2, x_71, x_4, x_5, x_6, x_7, x_8, x_72); -return x_101; +x_49 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_49, 0, x_1); +x_50 = l_Lean_Meta_Simp_simp_simpForall___closed__10; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_10, x_53, x_2, x_44, x_4, x_5, x_6, x_7, x_8, x_46); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_Meta_Simp_simp_simpForall___lambda__3(x_1, x_55, x_2, x_44, x_4, x_5, x_6, x_7, x_8, x_56); +lean_dec(x_55); +return x_57; } } } @@ -14057,7 +13954,24 @@ return x_240; } } } -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__1() { +lean_object* l_Lean_Meta_Simp_simp_simpArrow___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) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_13 = l_Lean_Expr_bindingName_x21(x_1); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_simpArrow___lambda__1), 12, 3); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_14); +x_16 = 0; +x_17 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___rarg(x_13, x_16, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_17; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -14065,6 +13979,669 @@ x_1 = lean_mk_string("ctx arrow "); return x_1; } } +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" -> "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_15 = l_Lean_Meta_Simp_getConfig___rarg(x_8, x_9, x_10, x_11, x_12, x_13, 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); +lean_dec(x_15); +x_18 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_dec(x_5); +x_19 = x_18; +x_20 = x_17; +goto block_59; +} +else +{ +lean_object* x_60; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_60 = l_Lean_Meta_isProp(x_5, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_unbox(x_61); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_unbox(x_61); +lean_dec(x_61); +x_19 = x_64; +x_20 = x_63; +goto block_59; +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_61); +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +lean_dec(x_60); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +x_66 = l_Lean_Meta_isProp(x_1, x_10, x_11, x_12, x_13, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); +lean_dec(x_67); +x_19 = x_69; +x_20 = x_68; +goto block_59; +} +else +{ +uint8_t x_70; +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_4); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_66); +if (x_70 == 0) +{ +return x_66; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_66, 0); +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_66); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +uint8_t x_74; +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_4); +lean_dec(x_2); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_60); +if (x_74 == 0) +{ +return x_60; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_60, 0); +x_76 = lean_ctor_get(x_60, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_60); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +block_59: +{ +if (x_19 == 0) +{ +lean_object* x_21; +lean_dec(x_4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_21 = l_Lean_Meta_Simp_simp(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, 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, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_2, x_22, x_10, x_11, x_12, x_13, x_23); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_2); +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 +{ +uint8_t x_29; lean_object* x_30; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_st_ref_get(x_13, x_20); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*1); +lean_dec(x_50); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 1); +lean_inc(x_52); +lean_dec(x_48); +x_53 = 0; +x_29 = x_53; +x_30 = x_52; +goto block_47; +} +else +{ +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_48, 1); +lean_inc(x_54); +lean_dec(x_48); +lean_inc(x_4); +x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_unbox(x_56); +lean_dec(x_56); +x_29 = x_58; +x_30 = x_57; +goto block_47; +} +block_47: +{ +if (x_29 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_4); +x_31 = lean_box(0); +x_32 = l_Lean_Meta_Simp_simp_simpArrow___lambda__2(x_3, x_2, x_1, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +return x_32; +} +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; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +lean_inc(x_1); +x_39 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_39, 0, x_1); +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_4, x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Meta_Simp_simp_simpArrow___lambda__2(x_3, x_2, x_1, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_45); +lean_dec(x_44); +return x_46; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arrow ["); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" ["); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("] -> "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("]"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_Expr_bindingDomain_x21(x_1); +x_13 = l_Lean_Expr_bindingBody_x21(x_1); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_12); +x_14 = l_Lean_Meta_Simp_simp(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_69 = lean_st_ref_get(x_10, x_16); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); +lean_dec(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_74 = 0; +x_17 = x_74; +x_18 = x_73; +goto block_68; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +lean_dec(x_69); +lean_inc(x_2); +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox(x_77); +lean_dec(x_77); +x_17 = x_79; +x_18 = x_78; +goto block_68; +} +block_68: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3(x_13, x_15, x_1, x_2, x_12, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_Meta_Simp_getConfig___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_18); +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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_12); +x_24 = l_Lean_Meta_isProp(x_12, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_13); +x_27 = l_Lean_Meta_isProp(x_13, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t 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_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get_uint8(x_22, sizeof(void*)*2); +lean_dec(x_22); +x_31 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_30); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +lean_inc(x_12); +x_37 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_37, 0, x_12); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_unbox(x_25); +lean_dec(x_25); +x_42 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_41); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +lean_inc(x_13); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_13); +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_39); +x_50 = lean_unbox(x_28); +lean_dec(x_28); +x_51 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_50); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_49); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +lean_inc(x_2); +x_56 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_2, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3(x_13, x_15, x_1, x_2, x_12, x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +lean_dec(x_57); +return x_59; +} +else +{ +uint8_t x_60; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_27); +if (x_60 == 0) +{ +return x_27; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_27, 0); +x_62 = lean_ctor_get(x_27, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_27); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_64 = !lean_is_exclusive(x_24); +if (x_64 == 0) +{ +return x_24; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_24, 0); +x_66 = lean_ctor_get(x_24, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_24); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_80 = !lean_is_exclusive(x_14); +if (x_80 == 0) +{ +return x_14; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_14, 0); +x_82 = lean_ctor_get(x_14, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_14); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arrow "); +return x_1; +} +} static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__2() { _start: { @@ -14074,739 +14651,82 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" -> "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("arrow ["); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" ["); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("] -> "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("]"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("arrow "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_simpArrow___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_simpArrow___closed__13; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_Simp_simp_simpArrow(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_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_152 = lean_st_ref_get(x_8, x_9); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_153, 3); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_ctor_get_uint8(x_154, sizeof(void*)*1); -lean_dec(x_154); -if (x_155 == 0) -{ -lean_object* x_156; -x_156 = lean_ctor_get(x_152, 1); -lean_inc(x_156); -lean_dec(x_152); -x_10 = x_156; -goto block_151; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_157 = lean_ctor_get(x_152, 1); -lean_inc(x_157); -lean_dec(x_152); -x_158 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_159 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_158, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_157); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_unbox(x_160); -lean_dec(x_160); -if (x_161 == 0) -{ -lean_object* x_162; -x_162 = lean_ctor_get(x_159, 1); -lean_inc(x_162); -lean_dec(x_159); -x_10 = x_162; -goto block_151; -} -else -{ -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; -x_163 = lean_ctor_get(x_159, 1); -lean_inc(x_163); -lean_dec(x_159); -lean_inc(x_1); -x_164 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_164, 0, x_1); -x_165 = l_Lean_Meta_Simp_simp_simpArrow___closed__14; -x_166 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -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 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_158, x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_163); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_10 = x_170; -goto block_151; -} -} -block_151: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_Expr_bindingDomain_x21(x_1); -x_12 = l_Lean_Expr_bindingBody_x21(x_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_11); -x_13 = l_Lean_Meta_Simp_simp(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -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 = l_Lean_Meta_Simp_getConfig___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_15); -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_11); -x_19 = l_Lean_Meta_isProp(x_11, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_12); -x_22 = l_Lean_Meta_isProp(x_12, x_5, x_6, x_7, x_8, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_95; lean_object* x_96; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_127 = lean_st_ref_get(x_8, x_24); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_128, 3); -lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_ctor_get_uint8(x_129, sizeof(void*)*1); -lean_dec(x_129); -if (x_130 == 0) -{ -lean_object* x_131; uint8_t x_132; -x_131 = lean_ctor_get(x_127, 1); -lean_inc(x_131); -lean_dec(x_127); -x_132 = 0; -x_95 = x_132; -x_96 = x_131; -goto block_126; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_133 = lean_ctor_get(x_127, 1); -lean_inc(x_133); -lean_dec(x_127); -x_134 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_135 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_134, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_133); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = lean_unbox(x_136); -lean_dec(x_136); -x_95 = x_138; -x_96 = x_137; -goto block_126; -} -block_94: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; -x_26 = l_Lean_Meta_Simp_getConfig___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_25); -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_10 = l_Lean_Meta_Simp_simp_simpForall___closed__8; +x_25 = lean_st_ref_get(x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); lean_dec(x_26); -x_29 = lean_ctor_get_uint8(x_27, sizeof(void*)*2); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); lean_dec(x_27); -if (x_29 == 0) +if (x_28 == 0) { -lean_dec(x_11); -x_30 = x_29; -x_31 = x_28; -goto block_75; +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_11 = x_30; +x_12 = x_29; +goto block_24; } else { -lean_object* x_76; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_76 = l_Lean_Meta_isProp(x_11, x_5, x_6, x_7, x_8, x_28); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; uint8_t x_78; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_unbox(x_77); -if (x_78 == 0) -{ -lean_object* x_79; uint8_t x_80; -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_unbox(x_77); -lean_dec(x_77); -x_30 = x_80; -x_31 = x_79; -goto block_75; -} -else -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_77); -x_81 = lean_ctor_get(x_76, 1); -lean_inc(x_81); -lean_dec(x_76); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_12); -x_82 = l_Lean_Meta_isProp(x_12, x_5, x_6, x_7, x_8, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_unbox(x_83); -lean_dec(x_83); -x_30 = x_85; -x_31 = x_84; -goto block_75; -} -else -{ -uint8_t x_86; -lean_dec(x_14); -lean_dec(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); -lean_dec(x_1); -x_86 = !lean_is_exclusive(x_82); -if (x_86 == 0) -{ -return x_82; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_82, 0); -x_88 = lean_ctor_get(x_82, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_82); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; -} -} -} -} -else -{ -uint8_t x_90; -lean_dec(x_14); -lean_dec(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); -lean_dec(x_1); -x_90 = !lean_is_exclusive(x_76); -if (x_90 == 0) -{ -return x_76; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_76, 0); -x_92 = lean_ctor_get(x_76, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_76); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; -} -} -} -block_75: -{ -if (x_30 == 0) -{ -lean_object* x_32; -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_32 = l_Lean_Meta_Simp_simp(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_14, x_33, x_5, x_6, x_7, x_8, x_34); -return x_35; +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_11 = x_35; +x_12 = x_34; +goto block_24; } -else +block_24: { -uint8_t x_36; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_36 = !lean_is_exclusive(x_32); -if (x_36 == 0) +if (x_11 == 0) { -return x_32; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_32); -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 -{ -lean_object* x_40; uint8_t x_47; lean_object* x_48; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_63 = lean_st_ref_get(x_8, x_31); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = 0; -x_47 = x_68; -x_48 = x_67; -goto block_62; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_71 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_47 = x_74; -x_48 = x_73; -goto block_62; -} -block_46: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; -x_41 = l_Lean_Expr_bindingName_x21(x_1); +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4(x_1, x_10, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_1); -x_42 = lean_ctor_get(x_14, 0); -lean_inc(x_42); -lean_inc(x_42); -x_43 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_simpArrow___lambda__1), 12, 3); -lean_closure_set(x_43, 0, x_12); -lean_closure_set(x_43, 1, x_14); -lean_closure_set(x_43, 2, x_42); -x_44 = 0; -x_45 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2___rarg(x_41, x_44, x_42, x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -return x_45; -} -block_62: -{ -if (x_47 == 0) -{ -x_40 = x_48; -goto block_46; +return x_14; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_49 = lean_ctor_get(x_14, 0); -lean_inc(x_49); -x_50 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_51 = l_Lean_Meta_Simp_simp_simpArrow___closed__2; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Lean_Meta_Simp_simp_simpArrow___closed__4; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -lean_inc(x_12); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_12); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_60 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_59, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_40 = x_61; -goto block_46; -} -} -} -} -} -block_126: -{ -if (x_95 == 0) -{ -lean_dec(x_23); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_1); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_Meta_Simp_simp_simpArrow___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_10, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); lean_dec(x_20); -lean_dec(x_17); -x_25 = x_96; -goto block_94; -} -else -{ -uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_97 = lean_ctor_get_uint8(x_17, sizeof(void*)*2); -lean_dec(x_17); -x_98 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_97); -x_99 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = l_Lean_Meta_Simp_simp_simpArrow___closed__6; -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_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; -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_11); -x_104 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_104, 0, x_11); -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 = l_Lean_Meta_Simp_simp_simpArrow___closed__8; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_unbox(x_20); -lean_dec(x_20); -x_109 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_108); -x_110 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_110, 0, x_109); -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_107); -lean_ctor_set(x_111, 1, x_110); -x_112 = l_Lean_Meta_Simp_simp_simpArrow___closed__10; -x_113 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -lean_inc(x_12); -x_114 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_114, 0, x_12); -x_115 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_106); -x_117 = lean_unbox(x_23); -lean_dec(x_23); -x_118 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_117); -x_119 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_116); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_Meta_Simp_simp_simpArrow___closed__12; -x_122 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_124 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_123, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_25 = x_125; -goto block_94; -} -} -} -else -{ -uint8_t x_139; -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -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_23 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4(x_1, x_10, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_21); lean_dec(x_1); -x_139 = !lean_is_exclusive(x_22); -if (x_139 == 0) -{ -return x_22; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_22, 0); -x_141 = lean_ctor_get(x_22, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_22); -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_143; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -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_143 = !lean_is_exclusive(x_19); -if (x_143 == 0) -{ -return x_19; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_19, 0); -x_145 = lean_ctor_get(x_19, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_19); -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; -} -} -} -else -{ -uint8_t x_147; -lean_dec(x_12); -lean_dec(x_11); -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_is_exclusive(x_13); -if (x_147 == 0) -{ -return x_13; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_13, 0); -x_149 = lean_ctor_get(x_13, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_13); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; -} +return x_23; } } } @@ -15856,7 +15776,7 @@ lean_ctor_set(x_16, 1, x_11); return x_16; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -15864,7 +15784,439 @@ x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_si return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___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; lean_object* x_15; lean_object* x_67; uint8_t x_68; +x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1; +x_67 = lean_array_get_size(x_2); +x_68 = lean_nat_dec_lt(x_4, x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; +x_69 = lean_box(0); +x_15 = x_69; +goto block_66; +} +else +{ +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = l_Lean_Meta_instInhabitedParamInfo; +x_71 = lean_array_get(x_70, x_2, x_4); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1 + 2); +lean_dec(x_71); +if (x_72 == 0) +{ +lean_object* x_73; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_73 = l_Lean_Meta_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_76 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr(x_3, x_74, x_9, x_10, x_11, x_12, x_75); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_box(0); +x_80 = lean_apply_11(x_14, x_77, x_4, x_79, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_78); +return x_80; +} +else +{ +uint8_t x_81; +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_6); +lean_dec(x_4); +x_81 = !lean_is_exclusive(x_76); +if (x_81 == 0) +{ +return x_76; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_76, 0); +x_83 = lean_ctor_get(x_76, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_76); +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; +} +} +} +else +{ +uint8_t x_85; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_85 = !lean_is_exclusive(x_73); +if (x_85 == 0) +{ +return x_73; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_73, 0); +x_87 = lean_ctor_get(x_73, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_73); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +lean_object* x_89; +x_89 = lean_box(0); +x_15 = x_89; +goto block_66; +} +} +block_66: +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_15); +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_17 = l_Lean_Meta_inferType(x_16, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_20 = l_Lean_Meta_whnfD(x_18, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Expr_isArrow(x_21); +lean_dec(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__1; +x_25 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__2; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_26 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_24, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_29 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongrFun(x_3, x_27, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_box(0); +x_33 = lean_apply_11(x_14, x_30, x_4, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); +return x_33; +} +else +{ +uint8_t x_34; +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_6); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +return x_29; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_29); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_26); +if (x_38 == 0) +{ +return x_26; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_26, 0); +x_40 = lean_ctor_get(x_26, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_26); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_42 = l_Lean_Meta_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_45 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr(x_3, x_43, x_9, x_10, x_11, x_12, x_44); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_11(x_14, x_46, x_4, x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +return x_49; +} +else +{ +uint8_t x_50; +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_6); +lean_dec(x_4); +x_50 = !lean_is_exclusive(x_45); +if (x_50 == 0) +{ +return x_45; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_45, 0); +x_52 = lean_ctor_get(x_45, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_45); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +uint8_t x_54; +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_6); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_42); +if (x_54 == 0) +{ +return x_42; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_42, 0); +x_56 = lean_ctor_get(x_42, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_42); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +else +{ +uint8_t x_58; +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_20); +if (x_58 == 0) +{ +return x_20; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_20, 0); +x_60 = lean_ctor_get(x_20, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_20); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +uint8_t x_62; +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_17); +if (x_62 == 0) +{ +return x_17; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_17, 0); +x_64 = lean_ctor_get(x_17, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_17); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1() { _start: { lean_object* x_1; @@ -15872,16 +16224,16 @@ x_1 = lean_mk_string("app ["); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__3() { _start: { lean_object* x_1; @@ -15889,16 +16241,16 @@ x_1 = lean_mk_string(" "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__4; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5() { _start: { lean_object* x_1; @@ -15906,11 +16258,11 @@ x_1 = lean_mk_string(" hasFwdDeps: "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -15937,56 +16289,73 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_124; lean_object* x_125; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; x_16 = lean_array_uget(x_2, x_4); -x_26 = lean_ctor_get(x_5, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_5, 1); -lean_inc(x_27); +x_17 = lean_ctor_get(x_5, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_5, 1); +lean_inc(x_18); lean_dec(x_5); -x_154 = lean_st_ref_get(x_12, x_13); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_155, 3); -lean_inc(x_156); -lean_dec(x_155); -x_157 = lean_ctor_get_uint8(x_156, sizeof(void*)*1); -lean_dec(x_156); -if (x_157 == 0) +x_19 = l_Lean_Meta_Simp_simp_simpForall___closed__8; +x_85 = lean_st_ref_get(x_12, x_13); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_86, 3); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); +lean_dec(x_87); +if (x_88 == 0) { -lean_object* x_158; uint8_t x_159; -x_158 = lean_ctor_get(x_154, 1); -lean_inc(x_158); -lean_dec(x_154); -x_159 = 0; -x_124 = x_159; -x_125 = x_158; -goto block_153; +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_85, 1); +lean_inc(x_89); +lean_dec(x_85); +x_90 = 0; +x_20 = x_90; +x_21 = x_89; +goto block_84; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_160 = lean_ctor_get(x_154, 1); -lean_inc(x_160); -lean_dec(x_154); -x_161 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_162 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_161, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_160); -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); -x_165 = lean_unbox(x_163); -lean_dec(x_163); -x_124 = x_165; -x_125 = x_164; -goto block_153; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_85, 1); +lean_inc(x_91); +lean_dec(x_85); +x_92 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_unbox(x_93); +lean_dec(x_93); +x_20 = x_95; +x_21 = x_94; +goto block_84; } -block_25: +block_84: { -if (lean_obj_tag(x_17) == 0) +if (x_20 == 0) { -lean_object* x_19; lean_object* x_20; +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2(x_16, x_1, x_17, x_18, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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) +{ +uint8_t x_25; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -15994,105 +16363,53 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +lean_ctor_set(x_23, 0, x_27); +return x_23; } else { -lean_object* x_21; size_t x_22; size_t x_23; -x_21 = lean_ctor_get(x_17, 0); -lean_inc(x_21); -lean_dec(x_17); -x_22 = 1; -x_23 = x_4 + x_22; -x_4 = x_23; -x_5 = x_21; -x_13 = x_18; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_dec(x_23); +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); +lean_dec(x_24); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_dec(x_23); +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec(x_24); +x_33 = 1; +x_34 = x_4 + x_33; +x_4 = x_34; +x_5 = x_32; +x_13 = x_31; goto _start; } } -block_123: -{ -lean_object* x_29; lean_object* x_30; lean_object* x_94; uint8_t x_95; -x_29 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1; -x_94 = lean_array_get_size(x_1); -x_95 = lean_nat_dec_lt(x_27, x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; -x_96 = lean_box(0); -x_30 = x_96; -goto block_93; -} else { -lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_97 = l_Lean_Meta_instInhabitedParamInfo; -x_98 = lean_array_get(x_97, x_1, x_27); -x_99 = lean_ctor_get_uint8(x_98, sizeof(void*)*1 + 2); -lean_dec(x_98); -if (x_99 == 0) -{ -lean_object* x_100; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_100 = l_Lean_Meta_Simp_simp(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_103 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr(x_26, x_101, x_9, x_10, x_11, x_12, x_102); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_107 = lean_apply_11(x_29, x_104, x_27, x_106, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_105); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_17 = x_108; -x_18 = x_109; -goto block_25; -} -else -{ -uint8_t x_110; +uint8_t x_36; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -16100,557 +16417,179 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_110 = !lean_is_exclusive(x_107); -if (x_110 == 0) +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) { -return x_107; +return x_23; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_107, 0); -x_112 = lean_ctor_get(x_107, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_107); -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; -lean_dec(x_27); -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_6); -x_114 = !lean_is_exclusive(x_103); -if (x_114 == 0) -{ -return x_103; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_103, 0); -x_116 = lean_ctor_get(x_103, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_103); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_27); -lean_dec(x_26); -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_6); -x_118 = !lean_is_exclusive(x_100); -if (x_118 == 0) -{ -return x_100; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_100, 0); -x_120 = lean_ctor_get(x_100, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_100); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -lean_object* x_122; -x_122 = lean_box(0); -x_30 = x_122; -goto block_93; -} -} -block_93: -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_30); -x_31 = lean_ctor_get(x_26, 0); -lean_inc(x_31); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_32 = l_Lean_Meta_inferType(x_31, x_9, x_10, x_11, x_12, x_28); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_35 = l_Lean_Meta_whnfD(x_33, x_9, x_10, x_11, x_12, x_34); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_ctor_get(x_23, 1); +lean_inc(x_38); lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Expr_isArrow(x_36); -lean_dec(x_36); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__1; -x_40 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___closed__2; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_41 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_16, x_39, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -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); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_44 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongrFun(x_26, x_42, x_9, x_10, x_11, x_12, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_48 = lean_apply_11(x_29, x_45, x_27, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_46); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_17 = x_49; -x_18 = x_50; -goto block_25; -} -else -{ -uint8_t x_51; -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_6); -x_51 = !lean_is_exclusive(x_48); -if (x_51 == 0) -{ -return x_48; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_48, 0); -x_53 = lean_ctor_get(x_48, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_48); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_dec(x_23); +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_55; -lean_dec(x_27); -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_6); -x_55 = !lean_is_exclusive(x_44); -if (x_55 == 0) -{ -return x_44; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_44, 0); -x_57 = lean_ctor_get(x_44, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_44); -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; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_27); -lean_dec(x_26); -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_6); -x_59 = !lean_is_exclusive(x_41); -if (x_59 == 0) -{ -return x_41; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_41, 0); -x_61 = lean_ctor_get(x_41, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_41); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -else -{ -lean_object* x_63; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_63 = l_Lean_Meta_Simp_simp(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_66 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr(x_26, x_64, x_9, x_10, x_11, x_12, x_65); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_70 = lean_apply_11(x_29, x_67, x_27, x_69, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_68); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_17 = x_71; -x_18 = x_72; -goto block_25; -} -else -{ -uint8_t x_73; -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_6); -x_73 = !lean_is_exclusive(x_70); -if (x_73 == 0) -{ -return x_70; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_70, 0); -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_70); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_27); -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_6); -x_77 = !lean_is_exclusive(x_66); -if (x_77 == 0) -{ -return x_66; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_66, 0); -x_79 = lean_ctor_get(x_66, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_66); -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_81; -lean_dec(x_27); -lean_dec(x_26); -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_6); -x_81 = !lean_is_exclusive(x_63); -if (x_81 == 0) -{ -return x_63; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_63, 0); -x_83 = lean_ctor_get(x_63, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_63); -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; -} -} -} -} -else -{ -uint8_t x_85; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_16); -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_6); -x_85 = !lean_is_exclusive(x_35); -if (x_85 == 0) -{ -return x_35; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_35, 0); -x_87 = lean_ctor_get(x_35, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_35); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; -} -} -} -else -{ -uint8_t x_89; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_16); -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_6); -x_89 = !lean_is_exclusive(x_32); -if (x_89 == 0) -{ -return x_32; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_32, 0); -x_91 = lean_ctor_get(x_32, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_32); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -} -} -block_153: -{ -if (x_124 == 0) -{ -x_28 = x_125; -goto block_123; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_inc(x_27); -x_126 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_27); -x_127 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_128 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__3; -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4; -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_array_get_size(x_1); -x_133 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_132); -x_134 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_135, 0, x_131); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5; -x_137 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); +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; uint8_t 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_inc(x_18); +x_40 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_18); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_array_get_size(x_1); +x_47 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__4; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); lean_inc(x_16); -x_138 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_138, 0, x_16); -x_139 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7; -x_141 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Meta_instInhabitedParamInfo; -x_143 = lean_array_get(x_142, x_1, x_27); -x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*1 + 2); -lean_dec(x_143); -x_145 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_144); -x_146 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_146, 0, x_145); -x_147 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_147, 0, x_141); -lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_149 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_Meta_Simp_simp_simpForall___closed__8; -x_151 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_150, x_149, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_125); -x_152 = lean_ctor_get(x_151, 1); -lean_inc(x_152); -lean_dec(x_151); -x_28 = x_152; -goto block_123; +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_16); +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Meta_instInhabitedParamInfo; +x_57 = lean_array_get(x_56, x_1, x_18); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 2); +lean_dec(x_57); +x_59 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_58); +x_60 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_55); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_19, x_63, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_67 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2(x_16, x_1, x_17, x_18, x_65, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +lean_dec(x_65); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +uint8_t x_69; +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_6); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 0); +lean_dec(x_70); +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +lean_dec(x_68); +lean_ctor_set(x_67, 0, x_71); +return x_67; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = lean_ctor_get(x_68, 0); +lean_inc(x_73); +lean_dec(x_68); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; +x_75 = lean_ctor_get(x_67, 1); +lean_inc(x_75); +lean_dec(x_67); +x_76 = lean_ctor_get(x_68, 0); +lean_inc(x_76); +lean_dec(x_68); +x_77 = 1; +x_78 = x_4 + x_77; +x_4 = x_78; +x_5 = x_76; +x_13 = x_75; +goto _start; +} +} +else +{ +uint8_t x_80; +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_6); +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) +{ +return x_67; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} } } } @@ -16898,6 +16837,21 @@ return x_26; } } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___lambda__1(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, 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; +x_11 = lean_box(0); +x_12 = lean_box(x_1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +} static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1() { _start: { @@ -17071,116 +17025,125 @@ goto block_38; } else { -lean_object* x_50; lean_object* x_51; +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; x_50 = lean_ctor_get(x_42, 1); lean_inc(x_50); lean_dec(x_42); +x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; +x_83 = lean_st_ref_get(x_14, x_50); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_84, 3); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_ctor_get_uint8(x_85, sizeof(void*)*1); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_83, 1); +lean_inc(x_87); +lean_dec(x_83); +x_88 = 0; +x_52 = x_88; +x_53 = x_87; +goto block_82; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = lean_ctor_get(x_83, 1); +lean_inc(x_89); +lean_dec(x_83); +x_90 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_51, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_52 = x_93; +x_53 = x_92; +goto block_82; +} +block_82: +{ +if (x_52 == 0) +{ +lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_41); +x_54 = lean_box(0); +x_55 = lean_unbox(x_39); +lean_dec(x_39); +x_56 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___lambda__1(x_55, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_53); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_28 = x_57; +x_29 = x_58; +goto block_38; +} +else +{ +lean_object* x_59; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_51 = l_Lean_Meta_inferType(x_41, x_11, x_12, x_13, x_14, x_50); -if (lean_obj_tag(x_51) == 0) +x_59 = l_Lean_Meta_inferType(x_41, x_11, x_12, x_13, x_14, x_53); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_73 = lean_st_ref_get(x_14, x_53); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_74, 3); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_ctor_get_uint8(x_75, sizeof(void*)*1); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; uint8_t x_78; -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -lean_dec(x_73); -x_78 = 0; -x_54 = x_78; -x_55 = x_77; -goto block_72; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_79 = lean_ctor_get(x_73, 1); -lean_inc(x_79); -lean_dec(x_73); -x_80 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; -x_81 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_80, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_79); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_unbox(x_82); -lean_dec(x_82); -x_54 = x_84; -x_55 = x_83; -goto block_72; -} -block_72: -{ -if (x_54 == 0) -{ -lean_object* x_56; lean_object* x_57; -lean_dec(x_52); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_39); -x_28 = x_57; -x_29 = x_55; -goto block_38; -} -else -{ -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_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; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +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); lean_inc(x_1); -x_58 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_58, 0, x_1); -x_59 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__8; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__10; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_63, 0, x_52); +x_62 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_62, 0, x_1); +x_63 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__8; x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__10; x_66 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; -x_68 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_67, x_66, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_55); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_39); -x_28 = x_71; -x_29 = x_69; +x_67 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_67, 0, x_60); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_51, x_70, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_61); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_unbox(x_39); +lean_dec(x_39); +x_75 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___lambda__1(x_74, x_72, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_73); +lean_dec(x_72); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_28 = x_76; +x_29 = x_77; goto block_38; } -} -} else { -uint8_t x_85; +uint8_t x_78; lean_dec(x_39); lean_dec(x_14); lean_dec(x_13); @@ -17191,23 +17154,25 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_51); -if (x_85 == 0) +x_78 = !lean_is_exclusive(x_59); +if (x_78 == 0) { -return x_51; +return x_59; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_51, 0); -x_87 = lean_ctor_get(x_51, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_51); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_59, 0); +x_80 = lean_ctor_get(x_59, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_59); +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; +} +} } } } @@ -17437,71 +17402,12 @@ return x_14; else { lean_object* x_15; -x_15 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_15; } } } -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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: -{ -if (x_4 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -lean_dec(x_2); -x_13 = lean_box(0); -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 -{ -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; -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -x_16 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_21, 0, x_2); -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_17); -x_24 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_3, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_24; -} -} -} -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -17612,7 +17518,7 @@ return x_36; } } } -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -17620,16 +17526,16 @@ x_1 = lean_mk_string(" synthesizeArgs failed"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1; +x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; @@ -17652,23 +17558,62 @@ x_19 = lean_unbox(x_18); lean_dec(x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec(x_6); lean_dec(x_5); x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_st_ref_get(x_14, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); -lean_dec(x_23); -if (x_24 == 0) +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_21 = x_17; +} else { + lean_dec_ref(x_17); + x_21 = lean_box(0); +} +x_22 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; +x_37 = lean_st_ref_get(x_14, x_20); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) { -uint8_t x_25; +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_dec(x_37); +x_42 = 0; +x_23 = x_42; +x_24 = x_41; +goto block_36; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_23 = x_47; +x_24 = x_46; +goto block_36; +} +block_36: +{ +if (x_23 == 0) +{ +lean_object* x_25; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -17677,42 +17622,30 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_25 = !lean_is_exclusive(x_21); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_21, 0); -lean_dec(x_26); -lean_ctor_set(x_21, 0, x_4); -return x_21; +if (lean_is_scalar(x_21)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_21; +} +lean_ctor_set(x_25, 0, x_4); +lean_ctor_set(x_25, 1, x_24); +return x_25; } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_dec(x_21); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_4); -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; uint8_t x_33; -x_29 = lean_ctor_get(x_21, 1); -lean_inc(x_29); -lean_dec(x_21); -x_30 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; -x_31 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_unbox(x_32); -lean_dec(x_32); -if (x_33 == 0) -{ -uint8_t x_34; +x_26 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_26, 0, x_1); +x_27 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_22, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -17720,94 +17653,48 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_31); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_31, 0); -lean_dec(x_35); +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); lean_ctor_set(x_31, 0, x_4); return x_31; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_31, 1); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); lean_dec(x_31); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_4); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_dec(x_31); -x_39 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_39, 0, x_1); -x_40 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_30, x_43, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_38); -lean_dec(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); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -lean_ctor_set(x_44, 0, x_4); -return x_44; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_4); -lean_ctor_set(x_48, 1, x_47); -return x_48; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_4); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_dec(x_4); lean_dec(x_1); -x_49 = lean_ctor_get(x_17, 1); -lean_inc(x_49); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); lean_dec(x_17); -x_50 = lean_box(0); -x_51 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(x_5, x_6, x_2, x_50, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_49); +x_49 = lean_box(0); +x_50 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(x_5, x_6, x_2, x_49, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -return x_51; +return x_50; } } else { -uint8_t x_52; +uint8_t x_51; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -17819,28 +17706,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_17); -if (x_52 == 0) +x_51 = !lean_is_exclusive(x_17); +if (x_51 == 0) { return x_17; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_17, 0); -x_54 = lean_ctor_get(x_17, 1); -lean_inc(x_54); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_17, 0); +x_53 = lean_ctor_get(x_17, 1); lean_inc(x_53); +lean_inc(x_52); lean_dec(x_17); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } } -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1() { +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -17848,125 +17735,67 @@ x_1 = lean_mk_string(" not modified"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1; +x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(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, 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* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { if (x_1 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_17 = lean_st_ref_get(x_15, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); -lean_dec(x_19); -if (x_20 == 0) -{ -uint8_t x_21; -lean_dec(x_15); -lean_dec(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_3); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_17, 0); -lean_dec(x_22); -lean_ctor_set(x_17, 0, x_2); -return x_17; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_2); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_17, 1); -lean_inc(x_25); -lean_dec(x_17); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; -x_27 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -uint8_t x_30; -lean_dec(x_15); -lean_dec(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_3); -x_30 = !lean_is_exclusive(x_27); -if (x_30 == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_27, 0); -lean_dec(x_31); -lean_ctor_set(x_27, 0, x_2); -return x_27; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_2); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_34 = lean_ctor_get(x_27, 1); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__6; +x_32 = lean_st_ref_get(x_15, x_16); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 3); lean_inc(x_34); -lean_dec(x_27); -x_35 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_35, 0, x_3); -x_36 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_26, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +lean_dec(x_33); +x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = 0; +x_18 = x_37; +x_19 = x_36; +goto block_31; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___spec__4(x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_unbox(x_40); +lean_dec(x_40); +x_18 = x_42; +x_19 = x_41; +goto block_31; +} +block_31: +{ +if (x_18 == 0) +{ +lean_object* x_20; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -17974,39 +17803,66 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) +lean_dec(x_3); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +else { -lean_object* x_42; -x_42 = lean_ctor_get(x_40, 0); -lean_dec(x_42); -lean_ctor_set(x_40, 0, x_2); -return x_40; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_3); +x_22 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_17, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_19); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_2); +return x_26; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} } else { lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_2); -lean_ctor_set(x_44, 1, x_43); +x_43 = lean_box(0); +x_44 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(x_3, x_4, x_5, x_2, x_6, x_7, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); return x_44; } } } -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_box(0); -x_46 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(x_3, x_4, x_5, x_2, x_6, x_7, x_45, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_46; -} -} -} -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -18106,7 +17962,7 @@ lean_dec(x_36); x_40 = lean_box(0); x_41 = lean_unbox(x_39); lean_dec(x_39); -x_42 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_41, x_3, x_5, x_6, x_7, x_20, x_8, x_40, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +x_42 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(x_41, x_3, x_5, x_6, x_7, x_20, x_8, x_40, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); return x_42; } else @@ -18225,7 +18081,7 @@ return x_56; } } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -18297,7 +18153,7 @@ lean_object* x_35; lean_object* x_36; lean_dec(x_32); lean_free_object(x_23); x_35 = lean_box(0); -x_36 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_36 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); lean_dec(x_29); lean_dec(x_13); lean_dec(x_31); @@ -18313,7 +18169,7 @@ lean_object* x_38; lean_object* x_39; lean_dec(x_32); lean_free_object(x_23); x_38 = lean_box(0); -x_39 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_39 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); lean_dec(x_29); lean_dec(x_13); lean_dec(x_31); @@ -18331,7 +18187,7 @@ if (x_42 == 0) lean_object* x_43; lean_object* x_44; lean_free_object(x_23); x_43 = lean_box(0); -x_44 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_44 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_31, x_2, x_20, x_13, x_12, x_29, x_30, x_15, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); lean_dec(x_29); lean_dec(x_13); lean_dec(x_31); @@ -18381,7 +18237,7 @@ if (x_51 == 0) lean_object* x_52; lean_object* x_53; lean_dec(x_49); x_52 = lean_box(0); -x_53 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_53 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); lean_dec(x_46); lean_dec(x_13); lean_dec(x_48); @@ -18396,7 +18252,7 @@ if (x_54 == 0) lean_object* x_55; lean_object* x_56; lean_dec(x_49); x_55 = lean_box(0); -x_56 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_56 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); lean_dec(x_46); lean_dec(x_13); lean_dec(x_48); @@ -18413,7 +18269,7 @@ if (x_59 == 0) { lean_object* x_60; lean_object* x_61; x_60 = lean_box(0); -x_61 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_61 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_48, x_2, x_20, x_13, x_12, x_46, x_47, x_15, x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); lean_dec(x_46); lean_dec(x_13); lean_dec(x_48); @@ -18547,6 +18403,70 @@ return x_74; } } } +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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: +{ +if (x_4 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +x_13 = lean_box(0); +x_14 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_1, x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +else +{ +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; +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +lean_inc(x_2); +x_21 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_21, 0, x_2); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_17); +x_24 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_3, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +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 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_1, x_2, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +lean_dec(x_25); +return x_27; +} +} +} static lean_object* _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__1() { _start: { @@ -18590,11 +18510,9 @@ return x_3; lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_11 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__1; -lean_inc(x_2); -lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___boxed), 12, 3); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___boxed), 12, 3); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_11); @@ -18602,14 +18520,8 @@ x_13 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__4; x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Simp_simp_simpForall___spec__1___rarg), 10, 2); lean_closure_set(x_14, 0, x_13); lean_closure_set(x_14, 1, x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___boxed), 11, 2); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Simp_simp_simpForall___spec__1___rarg), 10, 2); -lean_closure_set(x_16, 0, x_14); -lean_closure_set(x_16, 1, x_15); -x_17 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__3___rarg(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_17; +x_15 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__3___rarg(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_15; } } lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___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) { @@ -19215,26 +19127,11 @@ x_14 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__2__ return x_14; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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_addTrace___at_Lean_Meta_Simp_simp_simpForall___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) { +lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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_Lean_Meta_Simp_simp_simpForall___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___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); @@ -19245,6 +19142,21 @@ lean_dec(x_3); return x_11; } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_simp_simpForall___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_Lean_Meta_Simp_simp_simpForall___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_Simp_simp_simpForall___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: { @@ -19265,6 +19177,15 @@ lean_dec(x_1); return x_11; } } +lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Simp_simp_simpForall___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Simp_simp___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -19339,6 +19260,36 @@ x_3 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_2); return x_3; } } +lean_object* l_Lean_Meta_Simp_simp_simpArrow___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) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Simp_simp_simpArrow___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Simp_simp_simpArrow___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_6); +lean_dec(x_3); +return x_15; +} +} +lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Simp_simp_simpArrow___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Simp_simp_simpLambda___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) { _start: { @@ -19392,6 +19343,16 @@ lean_dec(x_2); return x_12; } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___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_5); +lean_dec(x_2); +return x_14; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___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) { _start: { @@ -19406,6 +19367,24 @@ lean_dec(x_1); return x_16; } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___lambda__1(x_11, 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); +lean_dec(x_2); +return x_12; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___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, lean_object* x_15) { _start: { @@ -19469,26 +19448,8 @@ return x_11; lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_4); -lean_dec(x_4); -x_14 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ lean_object* x_13; -x_13 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(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 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -19497,29 +19458,29 @@ lean_dec(x_3); return x_13; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_7); lean_dec(x_2); return x_16; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_1); lean_dec(x_1); -x_18 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_18 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_8); lean_dec(x_4); return x_18; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7___boxed(lean_object** _args) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -19540,7 +19501,7 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_9); lean_dec(x_6); lean_dec(x_4); @@ -19548,15 +19509,25 @@ lean_dec(x_1); return x_18; } } -lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); return x_12; } } +lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_4); +lean_dec(x_4); +x_14 = l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___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: { @@ -19946,6 +19917,17 @@ return x_98; } } } +lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +} static lean_object* _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__1() { _start: { @@ -19986,15 +19968,23 @@ static lean_object* _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed _start: { lean_object* x_1; -x_1 = lean_mk_string("maximum discharge depth has been reached"); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___boxed), 8, 0); return x_1; } } static lean_object* _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("maximum discharge depth has been reached"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__5; +x_1 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -20519,133 +20509,74 @@ return x_117; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; +lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_118 = lean_st_ref_get(x_7, x_8); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_119, 3); -lean_inc(x_120); -lean_dec(x_119); -x_121 = lean_ctor_get_uint8(x_120, sizeof(void*)*1); -lean_dec(x_120); -if (x_121 == 0) -{ -uint8_t x_122; -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_122 = !lean_is_exclusive(x_118); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_118, 0); -lean_dec(x_123); -x_124 = lean_box(0); -lean_ctor_set(x_118, 0, x_124); -return x_118; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_118, 1); -lean_inc(x_125); -lean_dec(x_118); -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 -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_128 = lean_ctor_get(x_118, 1); -lean_inc(x_128); -lean_dec(x_118); -x_129 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__4; -x_130 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_128); +x_118 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__4; +x_130 = lean_st_ref_get(x_7, x_8); x_131 = lean_ctor_get(x_130, 0); lean_inc(x_131); -x_132 = lean_unbox(x_131); +x_132 = lean_ctor_get(x_131, 3); +lean_inc(x_132); lean_dec(x_131); -if (x_132 == 0) -{ -uint8_t x_133; -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_133 = !lean_is_exclusive(x_130); +x_133 = lean_ctor_get_uint8(x_132, sizeof(void*)*1); +lean_dec(x_132); if (x_133 == 0) { -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_130, 0); -lean_dec(x_134); -x_135 = lean_box(0); -lean_ctor_set(x_130, 0, x_135); -return x_130; +lean_object* x_134; uint8_t x_135; +x_134 = lean_ctor_get(x_130, 1); +lean_inc(x_134); +lean_dec(x_130); +x_135 = 0; +x_119 = x_135; +x_120 = x_134; +goto block_129; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; x_136 = lean_ctor_get(x_130, 1); lean_inc(x_136); lean_dec(x_130); -x_137 = lean_box(0); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -return x_138; -} -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_139 = lean_ctor_get(x_130, 1); +x_137 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_118, x_2, x_3, x_4, x_5, x_6, x_7, x_136); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); lean_inc(x_139); -lean_dec(x_130); -x_140 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6; -x_141 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_129, x_140, x_2, x_3, x_4, x_5, x_6, x_7, x_139); -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_142 = !lean_is_exclusive(x_141); -if (x_142 == 0) +lean_dec(x_137); +x_140 = lean_unbox(x_138); +lean_dec(x_138); +x_119 = x_140; +x_120 = x_139; +goto block_129; +} +block_129: { -lean_object* x_143; lean_object* x_144; -x_143 = lean_ctor_get(x_141, 0); -lean_dec(x_143); -x_144 = lean_box(0); -lean_ctor_set(x_141, 0, x_144); -return x_141; +lean_object* x_121; +x_121 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__5; +if (x_119 == 0) +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_box(0); +x_123 = lean_apply_8(x_121, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_120); +return x_123; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_dec(x_141); -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; -} +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_124 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7; +x_125 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_118, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_120); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_apply_8(x_121, x_126, x_2, x_3, x_4, x_5, x_6, x_7, x_127); +return x_128; } } } @@ -20715,6 +20646,21 @@ x_10 = l_Lean_Meta_Simp_preDefault(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } +lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} lean_object* l_Lean_Meta_simp(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: { @@ -22583,18 +22529,18 @@ l_Lean_Meta_Simp_simp_simpStep___closed__1 = _init_l_Lean_Meta_Simp_simp_simpSte lean_mark_persistent(l_Lean_Meta_Simp_simp_simpStep___closed__1); l_Lean_Meta_Simp_simp_simpStep___closed__2 = _init_l_Lean_Meta_Simp_simp_simpStep___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_simp_simpStep___closed__2); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__1); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__2); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__3); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__4); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__5); -l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__4___closed__6); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__1); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__2); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__4); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5); +l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6 = _init_l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__6); l_Lean_Meta_Simp_simp_simpForall___lambda__2___closed__1 = _init_l_Lean_Meta_Simp_simp_simpForall___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_simpForall___lambda__2___closed__1); l_Lean_Meta_Simp_simp_simpForall___closed__1 = _init_l_Lean_Meta_Simp_simp_simpForall___closed__1(); @@ -22625,38 +22571,40 @@ l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__3 = _init_l_Std lean_mark_persistent(l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__3); l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__4 = _init_l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__4(); lean_mark_persistent(l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___closed__4); +l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__1); +l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__2); +l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__3); +l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__4); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__5); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__6); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__7); +l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8 = _init_l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8); l_Lean_Meta_Simp_simp_simpArrow___closed__1 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__1); l_Lean_Meta_Simp_simp_simpArrow___closed__2 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__2); -l_Lean_Meta_Simp_simp_simpArrow___closed__3 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__3(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__3); -l_Lean_Meta_Simp_simp_simpArrow___closed__4 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__4(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__4); -l_Lean_Meta_Simp_simp_simpArrow___closed__5 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__5(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__5); -l_Lean_Meta_Simp_simp_simpArrow___closed__6 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__6(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__6); -l_Lean_Meta_Simp_simp_simpArrow___closed__7 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__7(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__7); -l_Lean_Meta_Simp_simp_simpArrow___closed__8 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__8(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__8); -l_Lean_Meta_Simp_simp_simpArrow___closed__9 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__9(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__9); -l_Lean_Meta_Simp_simp_simpArrow___closed__10 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__10(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__10); -l_Lean_Meta_Simp_simp_simpArrow___closed__11 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__11(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__11); -l_Lean_Meta_Simp_simp_simpArrow___closed__12 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__12(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__12); -l_Lean_Meta_Simp_simp_simpArrow___closed__13 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__13(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__13); -l_Lean_Meta_Simp_simp_simpArrow___closed__14 = _init_l_Lean_Meta_Simp_simp_simpArrow___closed__14(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_simpArrow___closed__14); l_Lean_Meta_Simp_simp_simpLambda___closed__1 = _init_l_Lean_Meta_Simp_simp_simpLambda___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_simpLambda___closed__1); l_Lean_Meta_Simp_simp_congr___closed__1 = _init_l_Lean_Meta_Simp_simp_congr___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_congr___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___lambda__2___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2(); @@ -22669,8 +22617,6 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___close lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__5); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__7); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__2(); @@ -22691,18 +22637,18 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__9); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__10 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__10(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__10); -l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__1); -l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__3___closed__2); +l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__1); +l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___closed__2); l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__1); l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__5___closed__2); -l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__1); -l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__6___closed__2); +l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__1); +l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__8___closed__2); l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__1 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__1); l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__2 = _init_l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___closed__2(); @@ -22725,6 +22671,8 @@ l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__5 = _init_l_Lean_Meta_Si lean_mark_persistent(l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__5); l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6 = _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6(); lean_mark_persistent(l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__6); +l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7 = _init_l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7(); +lean_mark_persistent(l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___closed__7); l_Lean_Meta_Simp_DefaultMethods_methods___closed__1 = _init_l_Lean_Meta_Simp_DefaultMethods_methods___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_DefaultMethods_methods___closed__1); l_Lean_Meta_Simp_DefaultMethods_methods___closed__2 = _init_l_Lean_Meta_Simp_DefaultMethods_methods___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c index 6911eaca65..c5b57cfd75 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c @@ -14,7 +14,9 @@ extern "C" { #endif uint8_t l_Lean_Meta_Simp_rewrite_inErasedSet(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3; static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -29,29 +31,28 @@ lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f_match__1(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_Simp_tryRewriteUsingDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1; -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___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*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5; +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___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*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__4; static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1; static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__1; static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; lean_object* l_Lean_Meta_Simp_synthesizeArgs_match__2(lean_object*); static lean_object* l_Lean_Meta_Simp_rewrite___closed__10; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6; -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_rewrite_tryLemma_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_match__2(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4; +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_inErasedSet_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__3; +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemma_getName(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__5; @@ -59,9 +60,8 @@ lean_object* l_Lean_Meta_Simp_rewrite_match__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_synthesizeArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6; lean_object* l_Lean_Expr_appFn_x21(lean_object*); -lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__10; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -69,11 +69,15 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__5; lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4; +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3; lean_object* l_Lean_Expr_appArg_x21(lean_object*); uint8_t lean_expr_lt(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_postDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_rewrite_tryLemma_x3f___spec__1(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Meta_Simp_rewrite___closed__9; static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__1; @@ -95,33 +99,36 @@ static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__8; lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_Simp_rewrite(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__17; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__9; -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__7; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8(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_Simp_synthesizeArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__4; static lean_object* l_Lean_Meta_Simp_synthesizeArgs___closed__1; static lean_object* l_Lean_Meta_Simp_rewrite___closed__6; static lean_object* l_Lean_Meta_Simp_rewrite___closed__8; +static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__14; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_synthesizeArgs_match__1(lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__4; +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2; static lean_object* l_Lean_Meta_Simp_rewrite___closed__4; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6; uint8_t l_Std_PersistentHashMap_contains___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewrite___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_Meta_Simp_rewrite_tryLemma_x3f___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* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___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*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__3; +lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__1; static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__2; lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -131,8 +138,8 @@ static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesiz static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__5; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__15; lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__6; uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__3; @@ -143,6 +150,7 @@ lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__1___boxed(lean_obje lean_object* l_Lean_Meta_Simp_synthesizeArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6; lean_object* l_Lean_Meta_Simp_rewrite___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12; @@ -155,25 +163,25 @@ static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__12; static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__6; lean_object* l_Lean_Meta_Simp_rewrite___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewritePre___closed__1; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5; lean_object* l_Array_insertionSort_swapLoop___at_Lean_Meta_Simp_rewrite___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__1; lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1(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*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__2; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4; static lean_object* l_Lean_Meta_Simp_rewrite___closed__7; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewritePost(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__10; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2; uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__13; lean_object* l_Lean_Meta_Simp_preDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11; @@ -181,7 +189,9 @@ lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f_match__2(lean_object*); lean_object* l_Lean_Meta_Simp_rewrite_inErasedSet_match__1(lean_object*); lean_object* l_Lean_Meta_mkEqFalse_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4; static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_rewrite_tryLemma_x3f___spec__2(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -190,20 +200,17 @@ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_Meta_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewrite___spec__3(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*); -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1; lean_object* l_Lean_Meta_Simp_tryRewriteCtorEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_getMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_Simp_rewrite___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_tryRewriteCtorEq_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___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_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemma_getValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__16; lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewrite___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4; lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; lean_object* l_Lean_Meta_Simp_tryRewriteCtorEq_match__1(lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__11; lean_object* l_Lean_Meta_Simp_synthesizeArgs_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -214,6 +221,7 @@ uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Lean_Meta_Simp_synthesizeArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Simp_rewrite___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_rewrite_tryLemma_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__3; lean_object* l_Lean_Meta_Simp_rewrite_inErasedSet___boxed(lean_object*, lean_object*); @@ -635,6 +643,18 @@ lean_ctor_set(x_12, 1, x_8); return x_12; } } +lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___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) { +_start: +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_9 = 0; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_8); +return x_11; +} +} static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__1() { _start: { @@ -711,20 +731,28 @@ static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___c _start: { lean_object* x_1; -x_1 = lean_mk_string(", failed to synthesize instance"); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___lambda__1___boxed), 8, 0); return x_1; } } static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__10() { _start: { +lean_object* x_1; +x_1 = lean_mk_string(", failed to synthesize instance"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__9; +x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__10; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11() { +static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12() { _start: { lean_object* x_1; @@ -732,11 +760,11 @@ x_1 = lean_mk_string(", failed to assign instance"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12() { +static lean_object* _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11; +x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -760,89 +788,72 @@ lean_inc(x_13); switch (lean_obj_tag(x_13)) { case 0: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_dec(x_2); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_15 = x_12; -} else { - lean_dec_ref(x_12); - x_15 = lean_box(0); -} -x_40 = lean_st_ref_get(x_9, x_14); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) +lean_dec(x_12); +x_15 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_34 = lean_st_ref_get(x_9, x_14); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1); +lean_dec(x_36); +if (x_37 == 0) { -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_45 = 0; -x_16 = x_45; -x_17 = x_44; -goto block_39; +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = 0; +x_16 = x_39; +x_17 = x_38; +goto block_33; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_dec(x_40); -x_47 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_46); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_unbox(x_49); -lean_dec(x_49); -x_16 = x_51; -x_17 = x_50; -goto block_39; +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_dec(x_34); +x_41 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_40); +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 = lean_unbox(x_42); +lean_dec(x_42); +x_16 = x_44; +x_17 = x_43; +goto block_33; } -block_39: +block_33: { +lean_object* x_18; +x_18 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__9; if (x_16 == 0) { -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_19; lean_object* x_20; lean_dec(x_3); lean_dec(x_1); -x_18 = 0; -x_19 = lean_box(x_18); -if (lean_is_scalar(x_15)) { - x_20 = lean_alloc_ctor(0, 2, 0); -} else { - x_20 = x_15; -} -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); +x_19 = lean_box(0); +x_20 = lean_apply_8(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_17); return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_15); +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; x_21 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_21, 0, x_1); x_22 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__10; +x_24 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -853,376 +864,280 @@ lean_ctor_set(x_27, 1, x_26); x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_22); -x_29 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_30 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_29, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = 0; -x_34 = lean_box(x_33); -lean_ctor_set(x_30, 0, x_34); -return x_30; -} -else -{ -lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = 0; -x_37 = lean_box(x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; -} +x_29 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_15, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_apply_8(x_18, x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +return x_32; } } } case 1: { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_12, 1); -lean_inc(x_52); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_12, 1); +lean_inc(x_45); lean_dec(x_12); -x_53 = lean_ctor_get(x_13, 0); -lean_inc(x_53); +x_46 = lean_ctor_get(x_13, 0); +lean_inc(x_46); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_54 = l_Lean_Meta_isExprDefEq(x_2, x_53, x_6, x_7, x_8, x_9, x_52); -if (lean_obj_tag(x_54) == 0) +x_47 = l_Lean_Meta_isExprDefEq(x_2, x_46, x_6, x_7, x_8, x_9, x_45); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_55; uint8_t x_56; -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_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) { -lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_58 = x_54; -} else { - lean_dec_ref(x_54); - x_58 = lean_box(0); -} -x_83 = lean_st_ref_get(x_9, x_57); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_84, 3); -lean_inc(x_85); -lean_dec(x_84); -x_86 = lean_ctor_get_uint8(x_85, sizeof(void*)*1); -lean_dec(x_85); -if (x_86 == 0) +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_dec(x_47); +x_51 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_70 = lean_st_ref_get(x_9, x_50); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_71, 3); +lean_inc(x_72); +lean_dec(x_71); +x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*1); +lean_dec(x_72); +if (x_73 == 0) { -lean_object* x_87; uint8_t x_88; -x_87 = lean_ctor_get(x_83, 1); -lean_inc(x_87); -lean_dec(x_83); -x_88 = 0; -x_59 = x_88; -x_60 = x_87; -goto block_82; +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_70, 1); +lean_inc(x_74); +lean_dec(x_70); +x_75 = 0; +x_52 = x_75; +x_53 = x_74; +goto block_69; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_89 = lean_ctor_get(x_83, 1); -lean_inc(x_89); -lean_dec(x_83); -x_90 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_90, x_4, x_5, x_6, x_7, x_8, x_9, x_89); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_unbox(x_92); -lean_dec(x_92); -x_59 = x_94; -x_60 = x_93; -goto block_82; -} -block_82: -{ -if (x_59 == 0) -{ -uint8_t x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_61 = 0; -x_62 = lean_box(x_61); -if (lean_is_scalar(x_58)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_58; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -else -{ -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; uint8_t x_74; -lean_dec(x_58); -x_64 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_64, 0, x_1); -x_65 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_indentExpr(x_3); -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_65); -x_72 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_73 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_72, x_71, x_4, x_5, x_6, x_7, x_8, x_9, x_60); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -x_76 = 0; -x_77 = lean_box(x_76); -lean_ctor_set(x_73, 0, x_77); -return x_73; -} -else -{ -lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; -x_78 = lean_ctor_get(x_73, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_76 = lean_ctor_get(x_70, 1); +lean_inc(x_76); +lean_dec(x_70); +x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_51, x_4, x_5, x_6, x_7, x_8, x_9, x_76); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_73); -x_79 = 0; -x_80 = lean_box(x_79); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_78); -return x_81; +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_unbox(x_78); +lean_dec(x_78); +x_52 = x_80; +x_53 = x_79; +goto block_69; } +block_69: +{ +lean_object* x_54; +x_54 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__9; +if (x_52 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_3); +lean_dec(x_1); +x_55 = lean_box(0); +x_56 = lean_apply_8(x_54, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_57 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_57, 0, x_1); +x_58 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13; +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_indentExpr(x_3); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_58); +x_65 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_51, x_64, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_apply_8(x_54, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_67); +return x_68; } } } else { -uint8_t x_95; +uint8_t x_81; 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); lean_dec(x_1); -x_95 = !lean_is_exclusive(x_54); -if (x_95 == 0) +x_81 = !lean_is_exclusive(x_47); +if (x_81 == 0) { -lean_object* x_96; uint8_t x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_54, 0); -lean_dec(x_96); -x_97 = 1; -x_98 = lean_box(x_97); -lean_ctor_set(x_54, 0, x_98); -return x_54; +lean_object* x_82; uint8_t x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_47, 0); +lean_dec(x_82); +x_83 = 1; +x_84 = lean_box(x_83); +lean_ctor_set(x_47, 0, x_84); +return x_47; } else { -lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_54, 1); -lean_inc(x_99); -lean_dec(x_54); -x_100 = 1; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_99); -return x_102; +lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_47, 1); +lean_inc(x_85); +lean_dec(x_47); +x_86 = 1; +x_87 = lean_box(x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; } } } else { -uint8_t x_103; +uint8_t x_89; 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); lean_dec(x_1); -x_103 = !lean_is_exclusive(x_54); -if (x_103 == 0) +x_89 = !lean_is_exclusive(x_47); +if (x_89 == 0) { -return x_54; +return x_47; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_54, 0); -x_105 = lean_ctor_get(x_54, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_54); -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; +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_47, 0); +x_91 = lean_ctor_get(x_47, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_47); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; } } } default: { -lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_dec(x_2); -x_107 = lean_ctor_get(x_12, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_108 = x_12; -} else { - lean_dec_ref(x_12); - x_108 = lean_box(0); -} -x_133 = lean_st_ref_get(x_9, x_107); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_134, 3); -lean_inc(x_135); -lean_dec(x_134); -x_136 = lean_ctor_get_uint8(x_135, sizeof(void*)*1); -lean_dec(x_135); -if (x_136 == 0) +x_93 = lean_ctor_get(x_12, 1); +lean_inc(x_93); +lean_dec(x_12); +x_94 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_113 = lean_st_ref_get(x_9, x_93); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_114, 3); +lean_inc(x_115); +lean_dec(x_114); +x_116 = lean_ctor_get_uint8(x_115, sizeof(void*)*1); +lean_dec(x_115); +if (x_116 == 0) { -lean_object* x_137; uint8_t x_138; -x_137 = lean_ctor_get(x_133, 1); -lean_inc(x_137); -lean_dec(x_133); -x_138 = 0; -x_109 = x_138; -x_110 = x_137; -goto block_132; +lean_object* x_117; uint8_t x_118; +x_117 = lean_ctor_get(x_113, 1); +lean_inc(x_117); +lean_dec(x_113); +x_118 = 0; +x_95 = x_118; +x_96 = x_117; +goto block_112; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_139 = lean_ctor_get(x_133, 1); -lean_inc(x_139); -lean_dec(x_133); -x_140 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_141 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_140, x_4, x_5, x_6, x_7, x_8, x_9, x_139); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_unbox(x_142); -lean_dec(x_142); -x_109 = x_144; -x_110 = x_143; -goto block_132; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_119 = lean_ctor_get(x_113, 1); +lean_inc(x_119); +lean_dec(x_113); +x_120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_94, x_4, x_5, x_6, x_7, x_8, x_9, x_119); +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_95 = x_123; +x_96 = x_122; +goto block_112; } -block_132: +block_112: { -if (x_109 == 0) +lean_object* x_97; +x_97 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__9; +if (x_95 == 0) { -uint8_t x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_98; lean_object* x_99; lean_dec(x_3); lean_dec(x_1); -x_111 = 0; -x_112 = lean_box(x_111); -if (lean_is_scalar(x_108)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_108; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_110); -return x_113; +x_98 = lean_box(0); +x_99 = lean_apply_8(x_97, x_98, x_4, x_5, x_6, x_7, x_8, x_9, x_96); +return x_99; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_100 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_100, 0, x_1); +x_101 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11; +x_104 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_indentExpr(x_3); +x_106 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_101); +x_108 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_94, x_107, x_4, x_5, x_6, x_7, x_8, x_9, x_96); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); lean_dec(x_108); -x_114 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_114, 0, x_1); -x_115 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_116 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__10; -x_118 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_indentExpr(x_3); -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_115); -x_122 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_123 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_122, x_121, x_4, x_5, x_6, x_7, x_8, x_9, x_110); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_124 = !lean_is_exclusive(x_123); -if (x_124 == 0) -{ -lean_object* x_125; uint8_t x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_123, 0); -lean_dec(x_125); -x_126 = 0; -x_127 = lean_box(x_126); -lean_ctor_set(x_123, 0, x_127); -return x_123; -} -else -{ -lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; -x_128 = lean_ctor_get(x_123, 1); -lean_inc(x_128); -lean_dec(x_123); -x_129 = 0; -x_130 = lean_box(x_129); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_128); -return x_131; -} +x_111 = lean_apply_8(x_97, x_109, x_4, x_5, x_6, x_7, x_8, x_9, x_110); +return x_111; } } } @@ -1230,31 +1145,33 @@ return x_131; } else { -uint8_t x_145; +uint8_t x_124; 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); lean_dec(x_2); lean_dec(x_1); -x_145 = !lean_is_exclusive(x_12); -if (x_145 == 0) +x_124 = !lean_is_exclusive(x_12); +if (x_124 == 0) { return x_12; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_12, 0); -x_147 = lean_ctor_get(x_12, 1); -lean_inc(x_147); -lean_inc(x_146); +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_12, 0); +x_126 = lean_ctor_get(x_12, 1); +lean_inc(x_126); +lean_inc(x_125); lean_dec(x_12); -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; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } @@ -1287,17 +1204,22 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___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) { _start: { -lean_object* x_11; -x_11 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_9; +x_9 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_11; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -1308,7 +1230,23 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, 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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1() { _start: { lean_object* x_1; @@ -1316,16 +1254,16 @@ x_1 = lean_mk_string(", failed to discharge hypotheses"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3() { _start: { lean_object* x_1; @@ -1333,11 +1271,11 @@ x_1 = lean_mk_string(", failed to assign proof"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -1366,42 +1304,33 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_27; x_17 = lean_array_uget(x_4, x_6); -x_27 = lean_ctor_get(x_7, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_28 = x_7; -} else { - lean_dec_ref(x_7); - x_28 = lean_box(0); -} -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_27, 2); -lean_inc(x_31); -x_32 = lean_nat_dec_lt(x_30, x_31); -if (x_32 == 0) +x_27 = !lean_is_exclusive(x_7); +if (x_27 == 0) { -lean_object* x_33; lean_object* x_34; +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_7, 1); +x_29 = lean_ctor_get(x_7, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_28, 2); +lean_inc(x_32); +x_33 = lean_nat_dec_lt(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_32); lean_dec(x_31); lean_dec(x_30); -lean_dec(x_29); lean_dec(x_17); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_28; -} -lean_ctor_set(x_33, 0, x_3); -lean_ctor_set(x_33, 1, x_27); +lean_ctor_set(x_7, 0, x_3); x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 0, x_7); x_18 = x_34; x_19 = x_14; goto block_26; @@ -1409,23 +1338,23 @@ goto block_26; else { uint8_t x_35; -x_35 = !lean_is_exclusive(x_27); +x_35 = !lean_is_exclusive(x_28); if (x_35 == 0) { 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; -x_36 = lean_ctor_get(x_27, 2); +x_36 = lean_ctor_get(x_28, 2); lean_dec(x_36); -x_37 = lean_ctor_get(x_27, 1); +x_37 = lean_ctor_get(x_28, 1); lean_dec(x_37); -x_38 = lean_ctor_get(x_27, 0); +x_38 = lean_ctor_get(x_28, 0); lean_dec(x_38); -x_39 = lean_array_fget(x_29, x_30); +x_39 = lean_array_fget(x_30, x_31); x_40 = lean_unbox(x_39); lean_dec(x_39); x_41 = lean_unsigned_to_nat(1u); -x_42 = lean_nat_add(x_30, x_41); -lean_dec(x_30); -lean_ctor_set(x_27, 1, x_42); +x_42 = lean_nat_add(x_31, x_41); +lean_dec(x_31); +lean_ctor_set(x_28, 1, x_42); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -1462,144 +1391,122 @@ x_50 = l_Lean_Expr_isMVar(x_48); lean_dec(x_48); if (x_50 == 0) { -lean_object* x_51; lean_object* x_52; +lean_object* x_51; lean_dec(x_44); lean_dec(x_17); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_28; -} -lean_ctor_set(x_51, 0, x_3); -lean_ctor_set(x_51, 1, x_27); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_18 = x_52; +lean_ctor_set(x_7, 0, x_3); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_7); +x_18 = x_51; x_19 = x_49; goto block_26; } else { -lean_object* x_53; +lean_object* x_52; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_44); -x_53 = l_Lean_Meta_isProp(x_44, x_10, x_11, x_12, x_13, x_49); -if (lean_obj_tag(x_53) == 0) +x_52 = l_Lean_Meta_isProp(x_44, x_10, x_11, x_12, x_13, x_49); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_unbox(x_54); -lean_dec(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_unbox(x_53); lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_44); -x_57 = l_Lean_Meta_isClass_x3f(x_44, x_10, x_11, x_12, x_13, x_56); +x_56 = l_Lean_Meta_isClass_x3f(x_44, x_10, x_11, x_12, x_13, x_55); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); if (lean_obj_tag(x_57) == 0) { -lean_object* x_58; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_object* x_58; lean_object* x_59; lean_dec(x_44); lean_dec(x_17); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_28; -} -lean_ctor_set(x_60, 0, x_3); -lean_ctor_set(x_60, 1, x_27); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_18 = x_61; -x_19 = x_59; +lean_ctor_set(x_7, 0, x_3); +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_7); +x_18 = x_59; +x_19 = x_58; goto block_26; } else { -lean_object* x_62; lean_object* x_63; -lean_dec(x_58); -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); +lean_object* x_60; lean_object* x_61; lean_dec(x_57); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +lean_dec(x_56); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_1); -x_63 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_62); -if (lean_obj_tag(x_63) == 0) +x_61 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_64; uint8_t x_65; -x_64 = lean_ctor_get(x_63, 0); +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_unbox(x_62); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); -x_65 = lean_unbox(x_64); -lean_dec(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_dec(x_63); -x_67 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_28; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_27); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_18 = x_69; -x_19 = x_66; +lean_dec(x_61); +x_65 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +lean_ctor_set(x_7, 0, x_65); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_7); +x_18 = x_66; +x_19 = x_64; goto block_26; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_63, 1); -lean_inc(x_70); -lean_dec(x_63); +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_61, 1); +lean_inc(x_67); +lean_dec(x_61); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_28; -} -lean_ctor_set(x_71, 0, x_3); -lean_ctor_set(x_71, 1, x_27); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_18 = x_72; -x_19 = x_70; +lean_ctor_set(x_7, 0, x_3); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_7); +x_18 = x_68; +x_19 = x_67; goto block_26; } } else { -uint8_t x_73; -lean_dec(x_27); +uint8_t x_69; lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -1609,19 +1516,56 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_63); +x_69 = !lean_is_exclusive(x_61); +if (x_69 == 0) +{ +return x_61; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_61, 0); +x_71 = lean_ctor_get(x_61, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_61); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_44); +lean_dec(x_28); +lean_free_object(x_7); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_56); if (x_73 == 0) { -return x_63; +return x_56; } else { lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_63, 0); -x_75 = lean_ctor_get(x_63, 1); +x_74 = lean_ctor_get(x_56, 0); +x_75 = lean_ctor_get(x_56, 1); lean_inc(x_75); lean_inc(x_74); -lean_dec(x_63); +lean_dec(x_56); x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); @@ -1629,49 +1573,12 @@ return x_76; } } } -} else { -uint8_t x_77; -lean_dec(x_44); -lean_dec(x_27); -lean_dec(x_28); -lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_77 = !lean_is_exclusive(x_57); -if (x_77 == 0) -{ -return x_57; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_57, 0); -x_79 = lean_ctor_get(x_57, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_57); -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 -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_53, 1); -lean_inc(x_81); -lean_dec(x_53); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_52, 1); +lean_inc(x_77); +lean_dec(x_52); lean_inc(x_2); lean_inc(x_13); lean_inc(x_12); @@ -1680,274 +1587,260 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_44); -x_82 = lean_apply_8(x_2, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_81); -if (lean_obj_tag(x_82) == 0) +x_78 = lean_apply_8(x_2, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_77); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_83; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) +lean_object* x_79; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_free_object(x_7); lean_dec(x_17); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_105 = lean_st_ref_get(x_13, x_84); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_106, 3); -lean_inc(x_107); -lean_dec(x_106); -x_108 = lean_ctor_get_uint8(x_107, sizeof(void*)*1); -lean_dec(x_107); -if (x_108 == 0) -{ -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_105, 1); -lean_inc(x_109); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_103 = lean_st_ref_get(x_13, x_80); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_104, 3); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*1); lean_dec(x_105); -x_110 = 0; -x_85 = x_110; -x_86 = x_109; -goto block_104; +if (x_106 == 0) +{ +lean_object* x_107; uint8_t x_108; +x_107 = lean_ctor_get(x_103, 1); +lean_inc(x_107); +lean_dec(x_103); +x_108 = 0; +x_82 = x_108; +x_83 = x_107; +goto block_102; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_ctor_get(x_105, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_109 = lean_ctor_get(x_103, 1); +lean_inc(x_109); +lean_dec(x_103); +x_110 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_81, x_8, x_9, x_10, x_11, x_12, x_13, x_109); +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -lean_dec(x_105); -x_112 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_113 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_112, x_8, x_9, x_10, x_11, x_12, x_13, x_111); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_85 = x_116; -x_86 = x_115; -goto block_104; +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_unbox(x_111); +lean_dec(x_111); +x_82 = x_113; +x_83 = x_112; +goto block_102; } -block_104: +block_102: { -if (x_85 == 0) +if (x_82 == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_44); -x_87 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_28; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_27); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_18 = x_89; -x_19 = x_86; +x_84 = lean_box(0); +x_85 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_28, x_84, x_8, x_9, x_10, x_11, x_12, x_13, x_83); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_18 = x_86; +x_19 = x_87; goto block_26; } 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; 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_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_inc(x_1); -x_90 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_90, 0, x_1); -x_91 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_88 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_88, 0, x_1); +x_89 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_90 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2; x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3; +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_indentExpr(x_44); x_94 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_94, 0, x_92); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_indentExpr(x_44); -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_91); -x_98 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_99 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_98, x_97, x_8, x_9, x_10, x_11, x_12, x_13, x_86); -x_100 = lean_ctor_get(x_99, 1); +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_89); +x_96 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_81, x_95, x_8, x_9, x_10, x_11, x_12, x_13, x_83); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_28, x_97, x_8, x_9, x_10, x_11, x_12, x_13, x_98); +lean_dec(x_97); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); lean_dec(x_99); -x_101 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_28; -} -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_27); -x_103 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_18 = x_103; -x_19 = x_100; +x_18 = x_100; +x_19 = x_101; goto block_26; } } } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_82, 1); -lean_inc(x_117); -lean_dec(x_82); -x_118 = lean_ctor_get(x_83, 0); -lean_inc(x_118); -lean_dec(x_83); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_78, 1); +lean_inc(x_114); +lean_dec(x_78); +x_115 = lean_ctor_get(x_79, 0); +lean_inc(x_115); +lean_dec(x_79); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_119 = l_Lean_Meta_isExprDefEq(x_17, x_118, x_10, x_11, x_12, x_13, x_117); -if (lean_obj_tag(x_119) == 0) +x_116 = l_Lean_Meta_isExprDefEq(x_17, x_115, x_10, x_11, x_12, x_13, x_114); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; uint8_t x_118; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_unbox(x_117); +lean_dec(x_117); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +lean_free_object(x_7); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +lean_dec(x_116); +x_120 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_142 = lean_st_ref_get(x_13, x_119); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_143, 3); +lean_inc(x_144); +lean_dec(x_143); +x_145 = lean_ctor_get_uint8(x_144, sizeof(void*)*1); +lean_dec(x_144); +if (x_145 == 0) +{ +lean_object* x_146; uint8_t x_147; +x_146 = lean_ctor_get(x_142, 1); +lean_inc(x_146); +lean_dec(x_142); +x_147 = 0; +x_121 = x_147; +x_122 = x_146; +goto block_141; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_148 = lean_ctor_get(x_142, 1); +lean_inc(x_148); +lean_dec(x_142); +x_149 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_120, x_8, x_9, x_10, x_11, x_12, x_13, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_unbox(x_150); +lean_dec(x_150); +x_121 = x_152; +x_122 = x_151; +goto block_141; +} +block_141: { -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_unbox(x_120); -lean_dec(x_120); if (x_121 == 0) { -lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_dec(x_119); -x_143 = lean_st_ref_get(x_13, x_122); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_144, 3); -lean_inc(x_145); -lean_dec(x_144); -x_146 = lean_ctor_get_uint8(x_145, sizeof(void*)*1); -lean_dec(x_145); -if (x_146 == 0) -{ -lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_143, 1); -lean_inc(x_147); -lean_dec(x_143); -x_148 = 0; -x_123 = x_148; -x_124 = x_147; -goto block_142; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_149 = lean_ctor_get(x_143, 1); -lean_inc(x_149); -lean_dec(x_143); -x_150 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_150, x_8, x_9, x_10, x_11, x_12, x_13, x_149); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_unbox(x_152); -lean_dec(x_152); -x_123 = x_154; -x_124 = x_153; -goto block_142; -} -block_142: -{ -if (x_123 == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_dec(x_44); -x_125 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_28; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_27); -x_127 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_18 = x_127; -x_19 = x_124; +x_123 = lean_box(0); +x_124 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_28, x_123, x_8, x_9, x_10, x_11, x_12, x_13, x_122); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_18 = x_125; +x_19 = x_126; goto block_26; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_inc(x_1); -x_128 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_128, 0, x_1); -x_129 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_130 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5; -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_indentExpr(x_44); +x_127 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_127, 0, x_1); +x_128 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_129 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4; +x_131 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_indentExpr(x_44); +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); x_134 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -x_135 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_129); -x_136 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_137 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_136, x_135, x_8, x_9, x_10, x_11, x_12, x_13, x_124); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_140 = lean_alloc_ctor(0, 2, 0); -} else { - x_140 = x_28; -} -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_27); -x_141 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_18 = x_141; -x_19 = x_138; +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_128); +x_135 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_120, x_134, x_8, x_9, x_10, x_11, x_12, x_13, x_122); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_28, x_136, x_8, x_9, x_10, x_11, x_12, x_13, x_137); +lean_dec(x_136); +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_18 = x_139; +x_19 = x_140; goto block_26; } } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_153; lean_object* x_154; lean_dec(x_44); -x_155 = lean_ctor_get(x_119, 1); -lean_inc(x_155); -lean_dec(x_119); +x_153 = lean_ctor_get(x_116, 1); +lean_inc(x_153); +lean_dec(x_116); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_156 = lean_alloc_ctor(0, 2, 0); -} else { - x_156 = x_28; -} -lean_ctor_set(x_156, 0, x_3); -lean_ctor_set(x_156, 1, x_27); -x_157 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_157, 0, x_156); -x_18 = x_157; -x_19 = x_155; +lean_ctor_set(x_7, 0, x_3); +x_154 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_154, 0, x_7); +x_18 = x_154; +x_19 = x_153; goto block_26; } } else { -uint8_t x_158; +uint8_t x_155; lean_dec(x_44); -lean_dec(x_27); lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -1957,33 +1850,70 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_158 = !lean_is_exclusive(x_119); -if (x_158 == 0) +x_155 = !lean_is_exclusive(x_116); +if (x_155 == 0) { -return x_119; +return x_116; } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_119, 0); -x_160 = lean_ctor_get(x_119, 1); +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_116, 0); +x_157 = lean_ctor_get(x_116, 1); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_116); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +return x_158; +} +} +} +} +else +{ +uint8_t x_159; +lean_dec(x_44); +lean_dec(x_28); +lean_free_object(x_7); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_159 = !lean_is_exclusive(x_78); +if (x_159 == 0) +{ +return x_78; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_78, 0); +x_161 = lean_ctor_get(x_78, 1); +lean_inc(x_161); lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_119); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; +lean_dec(x_78); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +return x_162; } } } } else { -uint8_t x_162; +uint8_t x_163; lean_dec(x_44); -lean_dec(x_27); lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -1994,33 +1924,33 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_162 = !lean_is_exclusive(x_82); -if (x_162 == 0) +x_163 = !lean_is_exclusive(x_52); +if (x_163 == 0) { -return x_82; +return x_52; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_82, 0); -x_164 = lean_ctor_get(x_82, 1); +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_52, 0); +x_165 = lean_ctor_get(x_52, 1); +lean_inc(x_165); lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_82); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -return x_165; +lean_dec(x_52); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +return x_166; } } } } else { -uint8_t x_166; +uint8_t x_167; lean_dec(x_44); -lean_dec(x_27); lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -2031,125 +1961,78 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_166 = !lean_is_exclusive(x_53); -if (x_166 == 0) -{ -return x_53; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_53, 0); -x_168 = lean_ctor_get(x_53, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_53); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; -} -} -} -} -else -{ -uint8_t x_170; -lean_dec(x_44); -lean_dec(x_27); -lean_dec(x_28); -lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_170 = !lean_is_exclusive(x_47); -if (x_170 == 0) +x_167 = !lean_is_exclusive(x_47); +if (x_167 == 0) { return x_47; } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_47, 0); -x_172 = lean_ctor_get(x_47, 1); -lean_inc(x_172); -lean_inc(x_171); +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_47, 0); +x_169 = lean_ctor_get(x_47, 1); +lean_inc(x_169); +lean_inc(x_168); lean_dec(x_47); -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; +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; } } } else { -lean_object* x_174; +lean_object* x_171; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_1); -x_174 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_45); -if (lean_obj_tag(x_174) == 0) +x_171 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_44, x_8, x_9, x_10, x_11, x_12, x_13, x_45); +if (lean_obj_tag(x_171) == 0) { -lean_object* x_175; uint8_t x_176; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_unbox(x_175); -lean_dec(x_175); -if (x_176 == 0) +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -lean_dec(x_174); -x_178 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_179 = lean_alloc_ctor(0, 2, 0); -} else { - x_179 = x_28; +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +lean_ctor_set(x_7, 0, x_175); +x_176 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_176, 0, x_7); +x_18 = x_176; +x_19 = x_174; +goto block_26; } -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_27); -x_180 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_180, 0, x_179); -x_18 = x_180; +else +{ +lean_object* x_177; lean_object* x_178; +x_177 = lean_ctor_get(x_171, 1); +lean_inc(x_177); +lean_dec(x_171); +lean_inc(x_3); +lean_ctor_set(x_7, 0, x_3); +x_178 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_178, 0, x_7); +x_18 = x_178; x_19 = x_177; goto block_26; } -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_174, 1); -lean_inc(x_181); -lean_dec(x_174); -lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_182 = lean_alloc_ctor(0, 2, 0); -} else { - x_182 = x_28; -} -lean_ctor_set(x_182, 0, x_3); -lean_ctor_set(x_182, 1, x_27); -x_183 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_183, 0, x_182); -x_18 = x_183; -x_19 = x_181; -goto block_26; -} } else { -uint8_t x_184; -lean_dec(x_27); +uint8_t x_179; lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2159,32 +2042,32 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_184 = !lean_is_exclusive(x_174); -if (x_184 == 0) +x_179 = !lean_is_exclusive(x_171); +if (x_179 == 0) { -return x_174; +return x_171; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_174, 0); -x_186 = lean_ctor_get(x_174, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_174); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_171, 0); +x_181 = lean_ctor_get(x_171, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_171); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } } else { -uint8_t x_188; -lean_dec(x_27); +uint8_t x_183; lean_dec(x_28); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -2195,144 +2078,171 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_188 = !lean_is_exclusive(x_43); -if (x_188 == 0) +x_183 = !lean_is_exclusive(x_43); +if (x_183 == 0) { return x_43; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_189 = lean_ctor_get(x_43, 0); -x_190 = lean_ctor_get(x_43, 1); -lean_inc(x_190); -lean_inc(x_189); +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_43, 0); +x_185 = lean_ctor_get(x_43, 1); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_43); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -return x_191; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } } else { -lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_27); -x_192 = lean_array_fget(x_29, x_30); -x_193 = lean_unbox(x_192); -lean_dec(x_192); -x_194 = lean_unsigned_to_nat(1u); -x_195 = lean_nat_add(x_30, x_194); -lean_dec(x_30); -x_196 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_196, 0, x_29); -lean_ctor_set(x_196, 1, x_195); -lean_ctor_set(x_196, 2, x_31); +lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_28); +x_187 = lean_array_fget(x_30, x_31); +x_188 = lean_unbox(x_187); +lean_dec(x_187); +x_189 = lean_unsigned_to_nat(1u); +x_190 = lean_nat_add(x_31, x_189); +lean_dec(x_31); +x_191 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_191, 0, x_30); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_32); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_17); -x_197 = l_Lean_Meta_inferType(x_17, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_197) == 0) +x_192 = l_Lean_Meta_inferType(x_17, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_192) == 0) { -lean_object* x_198; lean_object* x_199; uint8_t x_200; -x_198 = lean_ctor_get(x_197, 0); +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = l_Lean_BinderInfo_isInstImplicit(x_188); +if (x_195 == 0) +{ +lean_object* x_196; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_17); +x_196 = l_Lean_Meta_instantiateMVars(x_17, x_10, x_11, x_12, x_13, x_194); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); lean_inc(x_198); -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); +lean_dec(x_196); +x_199 = l_Lean_Expr_isMVar(x_197); lean_dec(x_197); -x_200 = l_Lean_BinderInfo_isInstImplicit(x_193); -if (x_200 == 0) +if (x_199 == 0) +{ +lean_object* x_200; +lean_dec(x_193); +lean_dec(x_17); +lean_inc(x_3); +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_3); +x_200 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_200, 0, x_7); +x_18 = x_200; +x_19 = x_198; +goto block_26; +} +else { lean_object* x_201; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_17); -x_201 = l_Lean_Meta_instantiateMVars(x_17, x_10, x_11, x_12, x_13, x_199); +lean_inc(x_193); +x_201 = l_Lean_Meta_isProp(x_193, x_10, x_11, x_12, x_13, x_198); if (lean_obj_tag(x_201) == 0) { -lean_object* x_202; lean_object* x_203; uint8_t x_204; +lean_object* x_202; uint8_t x_203; x_202 = lean_ctor_get(x_201, 0); lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_Expr_isMVar(x_202); +x_203 = lean_unbox(x_202); lean_dec(x_202); -if (x_204 == 0) +if (x_203 == 0) { -lean_object* x_205; lean_object* x_206; -lean_dec(x_198); +lean_object* x_204; lean_object* x_205; +x_204 = lean_ctor_get(x_201, 1); +lean_inc(x_204); +lean_dec(x_201); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_193); +x_205 = l_Lean_Meta_isClass_x3f(x_193, x_10, x_11, x_12, x_13, x_204); +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) +{ +lean_object* x_207; lean_object* x_208; +lean_dec(x_193); lean_dec(x_17); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec(x_205); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_205 = lean_alloc_ctor(0, 2, 0); -} else { - x_205 = x_28; -} -lean_ctor_set(x_205, 0, x_3); -lean_ctor_set(x_205, 1, x_196); -x_206 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_206, 0, x_205); -x_18 = x_206; -x_19 = x_203; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_3); +x_208 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_208, 0, x_7); +x_18 = x_208; +x_19 = x_207; goto block_26; } else { -lean_object* x_207; +lean_object* x_209; lean_object* x_210; +lean_dec(x_206); +x_209 = lean_ctor_get(x_205, 1); +lean_inc(x_209); +lean_dec(x_205); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_198); -x_207 = l_Lean_Meta_isProp(x_198, x_10, x_11, x_12, x_13, x_203); -if (lean_obj_tag(x_207) == 0) +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +x_210 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_193, x_8, x_9, x_10, x_11, x_12, x_13, x_209); +if (lean_obj_tag(x_210) == 0) { -lean_object* x_208; uint8_t x_209; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_unbox(x_208); -lean_dec(x_208); -if (x_209 == 0) -{ -lean_object* x_210; lean_object* x_211; -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -lean_dec(x_207); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_198); -x_211 = l_Lean_Meta_isClass_x3f(x_198, x_10, x_11, x_12, x_13, x_210); -if (lean_obj_tag(x_211) == 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_211; uint8_t x_212; +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_unbox(x_211); +lean_dec(x_211); +if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_198); -lean_dec(x_17); -x_213 = lean_ctor_get(x_211, 1); +x_213 = lean_ctor_get(x_210, 1); lean_inc(x_213); -lean_dec(x_211); -lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_214 = lean_alloc_ctor(0, 2, 0); -} else { - x_214 = x_28; -} -lean_ctor_set(x_214, 0, x_3); -lean_ctor_set(x_214, 1, x_196); -x_215 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_215, 0, x_214); +lean_dec(x_210); +x_214 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_214); +x_215 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_215, 0, x_7); x_18 = x_215; x_19 = x_213; goto block_26; @@ -2340,69 +2250,24 @@ goto block_26; else { lean_object* x_216; lean_object* x_217; -lean_dec(x_212); -x_216 = lean_ctor_get(x_211, 1); +x_216 = lean_ctor_get(x_210, 1); lean_inc(x_216); -lean_dec(x_211); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_1); -x_217 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_198, x_8, x_9, x_10, x_11, x_12, x_13, x_216); -if (lean_obj_tag(x_217) == 0) -{ -lean_object* x_218; uint8_t x_219; -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_unbox(x_218); -lean_dec(x_218); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_220 = lean_ctor_get(x_217, 1); -lean_inc(x_220); -lean_dec(x_217); -x_221 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_222 = lean_alloc_ctor(0, 2, 0); -} else { - x_222 = x_28; -} -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_196); -x_223 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_223, 0, x_222); -x_18 = x_223; -x_19 = x_220; -goto block_26; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_217, 1); -lean_inc(x_224); -lean_dec(x_217); +lean_dec(x_210); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_225 = lean_alloc_ctor(0, 2, 0); -} else { - x_225 = x_28; -} -lean_ctor_set(x_225, 0, x_3); -lean_ctor_set(x_225, 1, x_196); -x_226 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_226, 0, x_225); -x_18 = x_226; -x_19 = x_224; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_3); +x_217 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_217, 0, x_7); +x_18 = x_217; +x_19 = x_216; goto block_26; } } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_196); -lean_dec(x_28); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2412,35 +2277,35 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_227 = lean_ctor_get(x_217, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_217, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_229 = x_217; +x_218 = lean_ctor_get(x_210, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_210, 1); +lean_inc(x_219); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_220 = x_210; } else { - lean_dec_ref(x_217); - x_229 = lean_box(0); + lean_dec_ref(x_210); + x_220 = lean_box(0); } -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_220)) { + x_221 = lean_alloc_ctor(1, 2, 0); } else { - x_230 = x_229; + x_221 = x_220; } -lean_ctor_set(x_230, 0, x_227); -lean_ctor_set(x_230, 1, x_228); -return x_230; +lean_ctor_set(x_221, 0, x_218); +lean_ctor_set(x_221, 1, x_219); +return x_221; } } } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_198); -lean_dec(x_196); -lean_dec(x_28); +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_dec(x_193); +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -2451,34 +2316,34 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_231 = lean_ctor_get(x_211, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_211, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_211)) { - lean_ctor_release(x_211, 0); - lean_ctor_release(x_211, 1); - x_233 = x_211; +x_222 = lean_ctor_get(x_205, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_205, 1); +lean_inc(x_223); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_224 = x_205; } else { - lean_dec_ref(x_211); - x_233 = lean_box(0); + lean_dec_ref(x_205); + x_224 = lean_box(0); } -if (lean_is_scalar(x_233)) { - x_234 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_224)) { + x_225 = lean_alloc_ctor(1, 2, 0); } else { - x_234 = x_233; + x_225 = x_224; } -lean_ctor_set(x_234, 0, x_231); -lean_ctor_set(x_234, 1, x_232); -return x_234; +lean_ctor_set(x_225, 0, x_222); +lean_ctor_set(x_225, 1, x_223); +return x_225; } } else { -lean_object* x_235; lean_object* x_236; -x_235 = lean_ctor_get(x_207, 1); -lean_inc(x_235); -lean_dec(x_207); +lean_object* x_226; lean_object* x_227; +x_226 = lean_ctor_get(x_201, 1); +lean_inc(x_226); +lean_dec(x_201); lean_inc(x_2); lean_inc(x_13); lean_inc(x_12); @@ -2486,275 +2351,262 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_198); -x_236 = lean_apply_8(x_2, x_198, x_8, x_9, x_10, x_11, x_12, x_13, x_235); -if (lean_obj_tag(x_236) == 0) +lean_inc(x_193); +x_227 = lean_apply_8(x_2, x_193, x_8, x_9, x_10, x_11, x_12, x_13, x_226); +if (lean_obj_tag(x_227) == 0) { -lean_object* x_237; -x_237 = lean_ctor_get(x_236, 0); -lean_inc(x_237); -if (lean_obj_tag(x_237) == 0) +lean_object* x_228; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +if (lean_obj_tag(x_228) == 0) { -lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; +lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; +lean_free_object(x_7); lean_dec(x_17); -x_238 = lean_ctor_get(x_236, 1); -lean_inc(x_238); -lean_dec(x_236); -x_259 = lean_st_ref_get(x_13, x_238); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_260, 3); -lean_inc(x_261); -lean_dec(x_260); -x_262 = lean_ctor_get_uint8(x_261, sizeof(void*)*1); -lean_dec(x_261); -if (x_262 == 0) -{ -lean_object* x_263; uint8_t x_264; -x_263 = lean_ctor_get(x_259, 1); -lean_inc(x_263); -lean_dec(x_259); -x_264 = 0; -x_239 = x_264; -x_240 = x_263; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; -x_265 = lean_ctor_get(x_259, 1); -lean_inc(x_265); -lean_dec(x_259); -x_266 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_267 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_266, x_8, x_9, x_10, x_11, x_12, x_13, x_265); -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec(x_267); -x_270 = lean_unbox(x_268); -lean_dec(x_268); -x_239 = x_270; -x_240 = x_269; -goto block_258; -} -block_258: -{ -if (x_239 == 0) -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; -lean_dec(x_198); -x_241 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_242 = lean_alloc_ctor(0, 2, 0); -} else { - x_242 = x_28; -} -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_196); -x_243 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_243, 0, x_242); -x_18 = x_243; -x_19 = x_240; -goto block_26; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_inc(x_1); -x_244 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_244, 0, x_1); -x_245 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_246 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_244); -x_247 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3; -x_248 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_248, 0, x_246); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Lean_indentExpr(x_198); -x_250 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_250, 0, x_248); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_245); -x_252 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_253 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_252, x_251, x_8, x_9, x_10, x_11, x_12, x_13, x_240); -x_254 = lean_ctor_get(x_253, 1); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_252 = lean_st_ref_get(x_13, x_229); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_253, 3); lean_inc(x_254); lean_dec(x_253); -x_255 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_256 = lean_alloc_ctor(0, 2, 0); -} else { - x_256 = x_28; +x_255 = lean_ctor_get_uint8(x_254, sizeof(void*)*1); +lean_dec(x_254); +if (x_255 == 0) +{ +lean_object* x_256; uint8_t x_257; +x_256 = lean_ctor_get(x_252, 1); +lean_inc(x_256); +lean_dec(x_252); +x_257 = 0; +x_231 = x_257; +x_232 = x_256; +goto block_251; } -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_196); -x_257 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_257, 0, x_256); -x_18 = x_257; -x_19 = x_254; +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; +x_258 = lean_ctor_get(x_252, 1); +lean_inc(x_258); +lean_dec(x_252); +x_259 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_230, x_8, x_9, x_10, x_11, x_12, x_13, x_258); +x_260 = lean_ctor_get(x_259, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +x_262 = lean_unbox(x_260); +lean_dec(x_260); +x_231 = x_262; +x_232 = x_261; +goto block_251; +} +block_251: +{ +if (x_231 == 0) +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_193); +x_233 = lean_box(0); +x_234 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_191, x_233, x_8, x_9, x_10, x_11, x_12, x_13, 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_18 = x_235; +x_19 = x_236; +goto block_26; +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +lean_inc(x_1); +x_237 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_237, 0, x_1); +x_238 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_239 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +x_240 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2; +x_241 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_241, 0, x_239); +lean_ctor_set(x_241, 1, x_240); +x_242 = l_Lean_indentExpr(x_193); +x_243 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_243, 0, x_241); +lean_ctor_set(x_243, 1, x_242); +x_244 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_238); +x_245 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_230, x_244, x_8, x_9, x_10, x_11, x_12, x_13, x_232); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); +x_248 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_191, x_246, x_8, x_9, x_10, x_11, x_12, x_13, x_247); +lean_dec(x_246); +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_248, 1); +lean_inc(x_250); +lean_dec(x_248); +x_18 = x_249; +x_19 = x_250; goto block_26; } } } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_271 = lean_ctor_get(x_236, 1); -lean_inc(x_271); -lean_dec(x_236); -x_272 = lean_ctor_get(x_237, 0); -lean_inc(x_272); -lean_dec(x_237); +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_227, 1); +lean_inc(x_263); +lean_dec(x_227); +x_264 = lean_ctor_get(x_228, 0); +lean_inc(x_264); +lean_dec(x_228); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_273 = l_Lean_Meta_isExprDefEq(x_17, x_272, x_10, x_11, x_12, x_13, x_271); -if (lean_obj_tag(x_273) == 0) +x_265 = l_Lean_Meta_isExprDefEq(x_17, x_264, x_10, x_11, x_12, x_13, x_263); +if (lean_obj_tag(x_265) == 0) { -lean_object* x_274; uint8_t x_275; +lean_object* x_266; uint8_t x_267; +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +x_267 = lean_unbox(x_266); +lean_dec(x_266); +if (x_267 == 0) +{ +lean_object* x_268; lean_object* x_269; uint8_t x_270; lean_object* x_271; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; +lean_free_object(x_7); +x_268 = lean_ctor_get(x_265, 1); +lean_inc(x_268); +lean_dec(x_265); +x_269 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_291 = lean_st_ref_get(x_13, x_268); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_292, 3); +lean_inc(x_293); +lean_dec(x_292); +x_294 = lean_ctor_get_uint8(x_293, sizeof(void*)*1); +lean_dec(x_293); +if (x_294 == 0) +{ +lean_object* x_295; uint8_t x_296; +x_295 = lean_ctor_get(x_291, 1); +lean_inc(x_295); +lean_dec(x_291); +x_296 = 0; +x_270 = x_296; +x_271 = x_295; +goto block_290; +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_297 = lean_ctor_get(x_291, 1); +lean_inc(x_297); +lean_dec(x_291); +x_298 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_269, x_8, x_9, x_10, x_11, x_12, x_13, x_297); +x_299 = lean_ctor_get(x_298, 0); +lean_inc(x_299); +x_300 = lean_ctor_get(x_298, 1); +lean_inc(x_300); +lean_dec(x_298); +x_301 = lean_unbox(x_299); +lean_dec(x_299); +x_270 = x_301; +x_271 = x_300; +goto block_290; +} +block_290: +{ +if (x_270 == 0) +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_dec(x_193); +x_272 = lean_box(0); +x_273 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_191, x_272, x_8, x_9, x_10, x_11, x_12, x_13, x_271); x_274 = lean_ctor_get(x_273, 0); lean_inc(x_274); -x_275 = lean_unbox(x_274); -lean_dec(x_274); -if (x_275 == 0) -{ -lean_object* x_276; uint8_t x_277; lean_object* x_278; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; -x_276 = lean_ctor_get(x_273, 1); -lean_inc(x_276); +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); lean_dec(x_273); -x_297 = lean_st_ref_get(x_13, x_276); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_298, 3); -lean_inc(x_299); -lean_dec(x_298); -x_300 = lean_ctor_get_uint8(x_299, sizeof(void*)*1); -lean_dec(x_299); -if (x_300 == 0) -{ -lean_object* x_301; uint8_t x_302; -x_301 = lean_ctor_get(x_297, 1); -lean_inc(x_301); -lean_dec(x_297); -x_302 = 0; -x_277 = x_302; -x_278 = x_301; -goto block_296; -} -else -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; -x_303 = lean_ctor_get(x_297, 1); -lean_inc(x_303); -lean_dec(x_297); -x_304 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_305 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_304, x_8, x_9, x_10, x_11, x_12, x_13, x_303); -x_306 = lean_ctor_get(x_305, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_305, 1); -lean_inc(x_307); -lean_dec(x_305); -x_308 = lean_unbox(x_306); -lean_dec(x_306); -x_277 = x_308; -x_278 = x_307; -goto block_296; -} -block_296: -{ -if (x_277 == 0) -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; -lean_dec(x_198); -x_279 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_280 = lean_alloc_ctor(0, 2, 0); -} else { - x_280 = x_28; -} -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_196); -x_281 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_281, 0, x_280); -x_18 = x_281; -x_19 = x_278; +x_18 = x_274; +x_19 = x_275; goto block_26; } else { -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_inc(x_1); -x_282 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_282, 0, x_1); -x_283 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_284 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -x_285 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5; -x_286 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_286, 0, x_284); -lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_indentExpr(x_198); -x_288 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_283); -x_290 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; -x_291 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_290, x_289, x_8, x_9, x_10, x_11, x_12, x_13, x_278); -x_292 = lean_ctor_get(x_291, 1); -lean_inc(x_292); -lean_dec(x_291); -x_293 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_294 = lean_alloc_ctor(0, 2, 0); -} else { - x_294 = x_28; -} -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_196); -x_295 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_295, 0, x_294); -x_18 = x_295; -x_19 = x_292; +x_276 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_276, 0, x_1); +x_277 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_278 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_276); +x_279 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4; +x_280 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_280, 0, x_278); +lean_ctor_set(x_280, 1, x_279); +x_281 = l_Lean_indentExpr(x_193); +x_282 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_282, 0, x_280); +lean_ctor_set(x_282, 1, x_281); +x_283 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_277); +x_284 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_269, x_283, x_8, x_9, x_10, x_11, x_12, x_13, x_271); +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +x_287 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_191, x_285, x_8, x_9, x_10, x_11, x_12, x_13, x_286); +lean_dec(x_285); +x_288 = lean_ctor_get(x_287, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_287, 1); +lean_inc(x_289); +lean_dec(x_287); +x_18 = x_288; +x_19 = x_289; goto block_26; } } } else { -lean_object* x_309; lean_object* x_310; lean_object* x_311; -lean_dec(x_198); -x_309 = lean_ctor_get(x_273, 1); -lean_inc(x_309); -lean_dec(x_273); +lean_object* x_302; lean_object* x_303; +lean_dec(x_193); +x_302 = lean_ctor_get(x_265, 1); +lean_inc(x_302); +lean_dec(x_265); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_310 = lean_alloc_ctor(0, 2, 0); -} else { - x_310 = x_28; -} -lean_ctor_set(x_310, 0, x_3); -lean_ctor_set(x_310, 1, x_196); -x_311 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_311, 0, x_310); -x_18 = x_311; -x_19 = x_309; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_3); +x_303 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_303, 0, x_7); +x_18 = x_303; +x_19 = x_302; goto block_26; } } else { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; -lean_dec(x_198); -lean_dec(x_196); -lean_dec(x_28); +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_193); +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2764,16 +2616,94 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_312 = lean_ctor_get(x_273, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_273, 1); -lean_inc(x_313); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_314 = x_273; +x_304 = lean_ctor_get(x_265, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_265, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_306 = x_265; } else { - lean_dec_ref(x_273); + lean_dec_ref(x_265); + x_306 = lean_box(0); +} +if (lean_is_scalar(x_306)) { + x_307 = lean_alloc_ctor(1, 2, 0); +} else { + x_307 = x_306; +} +lean_ctor_set(x_307, 0, x_304); +lean_ctor_set(x_307, 1, x_305); +return x_307; +} +} +} +else +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_193); +lean_dec(x_191); +lean_free_object(x_7); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_308 = lean_ctor_get(x_227, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_227, 1); +lean_inc(x_309); +if (lean_is_exclusive(x_227)) { + lean_ctor_release(x_227, 0); + lean_ctor_release(x_227, 1); + x_310 = x_227; +} else { + lean_dec_ref(x_227); + x_310 = lean_box(0); +} +if (lean_is_scalar(x_310)) { + x_311 = lean_alloc_ctor(1, 2, 0); +} else { + x_311 = x_310; +} +lean_ctor_set(x_311, 0, x_308); +lean_ctor_set(x_311, 1, x_309); +return x_311; +} +} +} +else +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +lean_dec(x_193); +lean_dec(x_191); +lean_free_object(x_7); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_312 = lean_ctor_get(x_201, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_201, 1); +lean_inc(x_313); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + x_314 = x_201; +} else { + lean_dec_ref(x_201); x_314 = lean_box(0); } if (lean_is_scalar(x_314)) { @@ -2790,9 +2720,9 @@ return x_315; else { lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -lean_dec(x_198); -lean_dec(x_196); -lean_dec(x_28); +lean_dec(x_193); +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -2803,16 +2733,16 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_316 = lean_ctor_get(x_236, 0); +x_316 = lean_ctor_get(x_196, 0); lean_inc(x_316); -x_317 = lean_ctor_get(x_236, 1); +x_317 = lean_ctor_get(x_196, 1); lean_inc(x_317); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_318 = x_236; +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_318 = x_196; } else { - lean_dec_ref(x_236); + lean_dec_ref(x_196); x_318 = lean_box(0); } if (lean_is_scalar(x_318)) { @@ -2825,146 +2755,60 @@ lean_ctor_set(x_319, 1, x_317); return x_319; } } -} else { -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -lean_dec(x_198); -lean_dec(x_196); -lean_dec(x_28); -lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_320 = lean_ctor_get(x_207, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_207, 1); -lean_inc(x_321); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_322 = x_207; -} else { - lean_dec_ref(x_207); - x_322 = lean_box(0); -} -if (lean_is_scalar(x_322)) { - x_323 = lean_alloc_ctor(1, 2, 0); -} else { - x_323 = x_322; -} -lean_ctor_set(x_323, 0, x_320); -lean_ctor_set(x_323, 1, x_321); -return x_323; -} -} -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_198); -lean_dec(x_196); -lean_dec(x_28); -lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_324 = lean_ctor_get(x_201, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_201, 1); -lean_inc(x_325); -if (lean_is_exclusive(x_201)) { - lean_ctor_release(x_201, 0); - lean_ctor_release(x_201, 1); - x_326 = x_201; -} else { - lean_dec_ref(x_201); - x_326 = lean_box(0); -} -if (lean_is_scalar(x_326)) { - x_327 = lean_alloc_ctor(1, 2, 0); -} else { - x_327 = x_326; -} -lean_ctor_set(x_327, 0, x_324); -lean_ctor_set(x_327, 1, x_325); -return x_327; -} -} -else -{ -lean_object* x_328; +lean_object* x_320; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_1); -x_328 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_198, x_8, x_9, x_10, x_11, x_12, x_13, x_199); -if (lean_obj_tag(x_328) == 0) +x_320 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_193, x_8, x_9, x_10, x_11, x_12, x_13, x_194); +if (lean_obj_tag(x_320) == 0) { -lean_object* x_329; uint8_t x_330; -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_unbox(x_329); -lean_dec(x_329); -if (x_330 == 0) +lean_object* x_321; uint8_t x_322; +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_unbox(x_321); +lean_dec(x_321); +if (x_322 == 0) { -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_331 = lean_ctor_get(x_328, 1); -lean_inc(x_331); -lean_dec(x_328); -x_332 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1; -if (lean_is_scalar(x_28)) { - x_333 = lean_alloc_ctor(0, 2, 0); -} else { - x_333 = x_28; -} -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_333, 1, x_196); -x_334 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_334, 0, x_333); -x_18 = x_334; -x_19 = x_331; +lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_323 = lean_ctor_get(x_320, 1); +lean_inc(x_323); +lean_dec(x_320); +x_324 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_324); +x_325 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_325, 0, x_7); +x_18 = x_325; +x_19 = x_323; goto block_26; } else { -lean_object* x_335; lean_object* x_336; lean_object* x_337; -x_335 = lean_ctor_get(x_328, 1); -lean_inc(x_335); -lean_dec(x_328); +lean_object* x_326; lean_object* x_327; +x_326 = lean_ctor_get(x_320, 1); +lean_inc(x_326); +lean_dec(x_320); lean_inc(x_3); -if (lean_is_scalar(x_28)) { - x_336 = lean_alloc_ctor(0, 2, 0); -} else { - x_336 = x_28; -} -lean_ctor_set(x_336, 0, x_3); -lean_ctor_set(x_336, 1, x_196); -x_337 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_337, 0, x_336); -x_18 = x_337; -x_19 = x_335; +lean_ctor_set(x_7, 1, x_191); +lean_ctor_set(x_7, 0, x_3); +x_327 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_327, 0, x_7); +x_18 = x_327; +x_19 = x_326; goto block_26; } } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -lean_dec(x_196); -lean_dec(x_28); +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2974,34 +2818,34 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_338 = lean_ctor_get(x_328, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_328, 1); -lean_inc(x_339); -if (lean_is_exclusive(x_328)) { - lean_ctor_release(x_328, 0); - lean_ctor_release(x_328, 1); - x_340 = x_328; +x_328 = lean_ctor_get(x_320, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_320, 1); +lean_inc(x_329); +if (lean_is_exclusive(x_320)) { + lean_ctor_release(x_320, 0); + lean_ctor_release(x_320, 1); + x_330 = x_320; } else { - lean_dec_ref(x_328); - x_340 = lean_box(0); + lean_dec_ref(x_320); + x_330 = lean_box(0); } -if (lean_is_scalar(x_340)) { - x_341 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_330)) { + x_331 = lean_alloc_ctor(1, 2, 0); } else { - x_341 = x_340; + x_331 = x_330; } -lean_ctor_set(x_341, 0, x_338); -lean_ctor_set(x_341, 1, x_339); -return x_341; +lean_ctor_set(x_331, 0, x_328); +lean_ctor_set(x_331, 1, x_329); +return x_331; } } } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; -lean_dec(x_196); -lean_dec(x_28); +lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_dec(x_191); +lean_free_object(x_7); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -3012,26 +2856,847 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_342 = lean_ctor_get(x_197, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_197, 1); -lean_inc(x_343); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_344 = x_197; +x_332 = lean_ctor_get(x_192, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_192, 1); +lean_inc(x_333); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_334 = x_192; } else { - lean_dec_ref(x_197); - x_344 = lean_box(0); + lean_dec_ref(x_192); + x_334 = lean_box(0); } -if (lean_is_scalar(x_344)) { - x_345 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_334)) { + x_335 = lean_alloc_ctor(1, 2, 0); } else { - x_345 = x_344; + x_335 = x_334; } -lean_ctor_set(x_345, 0, x_342); -lean_ctor_set(x_345, 1, x_343); -return x_345; +lean_ctor_set(x_335, 0, x_332); +lean_ctor_set(x_335, 1, x_333); +return x_335; +} +} +} +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; +x_336 = lean_ctor_get(x_7, 1); +lean_inc(x_336); +lean_dec(x_7); +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +x_339 = lean_ctor_get(x_336, 2); +lean_inc(x_339); +x_340 = lean_nat_dec_lt(x_338, x_339); +if (x_340 == 0) +{ +lean_object* x_341; lean_object* x_342; +lean_dec(x_339); +lean_dec(x_338); +lean_dec(x_337); +lean_dec(x_17); +lean_inc(x_3); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_3); +lean_ctor_set(x_341, 1, x_336); +x_342 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_342, 0, x_341); +x_18 = x_342; +x_19 = x_14; +goto block_26; +} +else +{ +lean_object* x_343; lean_object* x_344; uint8_t x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +if (lean_is_exclusive(x_336)) { + lean_ctor_release(x_336, 0); + lean_ctor_release(x_336, 1); + lean_ctor_release(x_336, 2); + x_343 = x_336; +} else { + lean_dec_ref(x_336); + x_343 = lean_box(0); +} +x_344 = lean_array_fget(x_337, x_338); +x_345 = lean_unbox(x_344); +lean_dec(x_344); +x_346 = lean_unsigned_to_nat(1u); +x_347 = lean_nat_add(x_338, x_346); +lean_dec(x_338); +if (lean_is_scalar(x_343)) { + x_348 = lean_alloc_ctor(0, 3, 0); +} else { + x_348 = x_343; +} +lean_ctor_set(x_348, 0, x_337); +lean_ctor_set(x_348, 1, x_347); +lean_ctor_set(x_348, 2, x_339); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_17); +x_349 = l_Lean_Meta_inferType(x_17, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_350; lean_object* x_351; uint8_t x_352; +x_350 = lean_ctor_get(x_349, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_349, 1); +lean_inc(x_351); +lean_dec(x_349); +x_352 = l_Lean_BinderInfo_isInstImplicit(x_345); +if (x_352 == 0) +{ +lean_object* x_353; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_17); +x_353 = l_Lean_Meta_instantiateMVars(x_17, x_10, x_11, x_12, x_13, x_351); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; lean_object* x_355; uint8_t x_356; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec(x_353); +x_356 = l_Lean_Expr_isMVar(x_354); +lean_dec(x_354); +if (x_356 == 0) +{ +lean_object* x_357; lean_object* x_358; +lean_dec(x_350); +lean_dec(x_17); +lean_inc(x_3); +x_357 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_357, 0, x_3); +lean_ctor_set(x_357, 1, x_348); +x_358 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_358, 0, x_357); +x_18 = x_358; +x_19 = x_355; +goto block_26; +} +else +{ +lean_object* x_359; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_350); +x_359 = l_Lean_Meta_isProp(x_350, x_10, x_11, x_12, x_13, x_355); +if (lean_obj_tag(x_359) == 0) +{ +lean_object* x_360; uint8_t x_361; +x_360 = lean_ctor_get(x_359, 0); +lean_inc(x_360); +x_361 = lean_unbox(x_360); +lean_dec(x_360); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; +x_362 = lean_ctor_get(x_359, 1); +lean_inc(x_362); +lean_dec(x_359); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_350); +x_363 = l_Lean_Meta_isClass_x3f(x_350, x_10, x_11, x_12, x_13, x_362); +if (lean_obj_tag(x_363) == 0) +{ +lean_object* x_364; +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +if (lean_obj_tag(x_364) == 0) +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; +lean_dec(x_350); +lean_dec(x_17); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +lean_dec(x_363); +lean_inc(x_3); +x_366 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_366, 0, x_3); +lean_ctor_set(x_366, 1, x_348); +x_367 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_367, 0, x_366); +x_18 = x_367; +x_19 = x_365; +goto block_26; +} +else +{ +lean_object* x_368; lean_object* x_369; +lean_dec(x_364); +x_368 = lean_ctor_get(x_363, 1); +lean_inc(x_368); +lean_dec(x_363); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +x_369 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_350, x_8, x_9, x_10, x_11, x_12, x_13, x_368); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; uint8_t x_371; +x_370 = lean_ctor_get(x_369, 0); +lean_inc(x_370); +x_371 = lean_unbox(x_370); +lean_dec(x_370); +if (x_371 == 0) +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +x_372 = lean_ctor_get(x_369, 1); +lean_inc(x_372); +lean_dec(x_369); +x_373 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +x_374 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_348); +x_375 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_375, 0, x_374); +x_18 = x_375; +x_19 = x_372; +goto block_26; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; +x_376 = lean_ctor_get(x_369, 1); +lean_inc(x_376); +lean_dec(x_369); +lean_inc(x_3); +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_3); +lean_ctor_set(x_377, 1, x_348); +x_378 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_378, 0, x_377); +x_18 = x_378; +x_19 = x_376; +goto block_26; +} +} +else +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; +lean_dec(x_348); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_379 = lean_ctor_get(x_369, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_369, 1); +lean_inc(x_380); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + lean_ctor_release(x_369, 1); + x_381 = x_369; +} else { + lean_dec_ref(x_369); + x_381 = lean_box(0); +} +if (lean_is_scalar(x_381)) { + x_382 = lean_alloc_ctor(1, 2, 0); +} else { + x_382 = x_381; +} +lean_ctor_set(x_382, 0, x_379); +lean_ctor_set(x_382, 1, x_380); +return x_382; +} +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; +lean_dec(x_350); +lean_dec(x_348); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_383 = lean_ctor_get(x_363, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_363, 1); +lean_inc(x_384); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_385 = x_363; +} else { + lean_dec_ref(x_363); + x_385 = lean_box(0); +} +if (lean_is_scalar(x_385)) { + x_386 = lean_alloc_ctor(1, 2, 0); +} else { + x_386 = x_385; +} +lean_ctor_set(x_386, 0, x_383); +lean_ctor_set(x_386, 1, x_384); +return x_386; +} +} +else +{ +lean_object* x_387; lean_object* x_388; +x_387 = lean_ctor_get(x_359, 1); +lean_inc(x_387); +lean_dec(x_359); +lean_inc(x_2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_350); +x_388 = lean_apply_8(x_2, x_350, x_8, x_9, x_10, x_11, x_12, x_13, x_387); +if (lean_obj_tag(x_388) == 0) +{ +lean_object* x_389; +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +if (lean_obj_tag(x_389) == 0) +{ +lean_object* x_390; lean_object* x_391; uint8_t x_392; lean_object* x_393; lean_object* x_413; lean_object* x_414; lean_object* x_415; uint8_t x_416; +lean_dec(x_17); +x_390 = lean_ctor_get(x_388, 1); +lean_inc(x_390); +lean_dec(x_388); +x_391 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_413 = lean_st_ref_get(x_13, x_390); +x_414 = lean_ctor_get(x_413, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_414, 3); +lean_inc(x_415); +lean_dec(x_414); +x_416 = lean_ctor_get_uint8(x_415, sizeof(void*)*1); +lean_dec(x_415); +if (x_416 == 0) +{ +lean_object* x_417; uint8_t x_418; +x_417 = lean_ctor_get(x_413, 1); +lean_inc(x_417); +lean_dec(x_413); +x_418 = 0; +x_392 = x_418; +x_393 = x_417; +goto block_412; +} +else +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; +x_419 = lean_ctor_get(x_413, 1); +lean_inc(x_419); +lean_dec(x_413); +x_420 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_391, x_8, x_9, x_10, x_11, x_12, x_13, x_419); +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_420, 1); +lean_inc(x_422); +lean_dec(x_420); +x_423 = lean_unbox(x_421); +lean_dec(x_421); +x_392 = x_423; +x_393 = x_422; +goto block_412; +} +block_412: +{ +if (x_392 == 0) +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; +lean_dec(x_350); +x_394 = lean_box(0); +x_395 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_348, x_394, x_8, x_9, x_10, x_11, x_12, x_13, x_393); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_395, 1); +lean_inc(x_397); +lean_dec(x_395); +x_18 = x_396; +x_19 = x_397; +goto block_26; +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; +lean_inc(x_1); +x_398 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_398, 0, x_1); +x_399 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_400 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_398); +x_401 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2; +x_402 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_402, 0, x_400); +lean_ctor_set(x_402, 1, x_401); +x_403 = l_Lean_indentExpr(x_350); +x_404 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_404, 0, x_402); +lean_ctor_set(x_404, 1, x_403); +x_405 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_399); +x_406 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_391, x_405, x_8, x_9, x_10, x_11, x_12, x_13, x_393); +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_406, 1); +lean_inc(x_408); +lean_dec(x_406); +x_409 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_348, x_407, x_8, x_9, x_10, x_11, x_12, x_13, x_408); +lean_dec(x_407); +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +x_18 = x_410; +x_19 = x_411; +goto block_26; +} +} +} +else +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_424 = lean_ctor_get(x_388, 1); +lean_inc(x_424); +lean_dec(x_388); +x_425 = lean_ctor_get(x_389, 0); +lean_inc(x_425); +lean_dec(x_389); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_426 = l_Lean_Meta_isExprDefEq(x_17, x_425, x_10, x_11, x_12, x_13, x_424); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; uint8_t x_428; +x_427 = lean_ctor_get(x_426, 0); +lean_inc(x_427); +x_428 = lean_unbox(x_427); +lean_dec(x_427); +if (x_428 == 0) +{ +lean_object* x_429; lean_object* x_430; uint8_t x_431; lean_object* x_432; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; +x_429 = lean_ctor_get(x_426, 1); +lean_inc(x_429); +lean_dec(x_426); +x_430 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__8; +x_452 = lean_st_ref_get(x_13, x_429); +x_453 = lean_ctor_get(x_452, 0); +lean_inc(x_453); +x_454 = lean_ctor_get(x_453, 3); +lean_inc(x_454); +lean_dec(x_453); +x_455 = lean_ctor_get_uint8(x_454, sizeof(void*)*1); +lean_dec(x_454); +if (x_455 == 0) +{ +lean_object* x_456; uint8_t x_457; +x_456 = lean_ctor_get(x_452, 1); +lean_inc(x_456); +lean_dec(x_452); +x_457 = 0; +x_431 = x_457; +x_432 = x_456; +goto block_451; +} +else +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; +x_458 = lean_ctor_get(x_452, 1); +lean_inc(x_458); +lean_dec(x_452); +x_459 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_430, x_8, x_9, x_10, x_11, x_12, x_13, x_458); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); +lean_inc(x_461); +lean_dec(x_459); +x_462 = lean_unbox(x_460); +lean_dec(x_460); +x_431 = x_462; +x_432 = x_461; +goto block_451; +} +block_451: +{ +if (x_431 == 0) +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_dec(x_350); +x_433 = lean_box(0); +x_434 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_348, x_433, x_8, x_9, x_10, x_11, x_12, x_13, x_432); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_434, 1); +lean_inc(x_436); +lean_dec(x_434); +x_18 = x_435; +x_19 = x_436; +goto block_26; +} +else +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +lean_inc(x_1); +x_437 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_437, 0, x_1); +x_438 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_439 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +x_440 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4; +x_441 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_441, 0, x_439); +lean_ctor_set(x_441, 1, x_440); +x_442 = l_Lean_indentExpr(x_350); +x_443 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_443, 0, x_441); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_438); +x_445 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_430, x_444, x_8, x_9, x_10, x_11, x_12, x_13, x_432); +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_445, 1); +lean_inc(x_447); +lean_dec(x_445); +x_448 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_348, x_446, x_8, x_9, x_10, x_11, x_12, x_13, x_447); +lean_dec(x_446); +x_449 = lean_ctor_get(x_448, 0); +lean_inc(x_449); +x_450 = lean_ctor_get(x_448, 1); +lean_inc(x_450); +lean_dec(x_448); +x_18 = x_449; +x_19 = x_450; +goto block_26; +} +} +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; +lean_dec(x_350); +x_463 = lean_ctor_get(x_426, 1); +lean_inc(x_463); +lean_dec(x_426); +lean_inc(x_3); +x_464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_464, 0, x_3); +lean_ctor_set(x_464, 1, x_348); +x_465 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_465, 0, x_464); +x_18 = x_465; +x_19 = x_463; +goto block_26; +} +} +else +{ +lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +lean_dec(x_350); +lean_dec(x_348); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_466 = lean_ctor_get(x_426, 0); +lean_inc(x_466); +x_467 = lean_ctor_get(x_426, 1); +lean_inc(x_467); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + x_468 = x_426; +} else { + lean_dec_ref(x_426); + x_468 = lean_box(0); +} +if (lean_is_scalar(x_468)) { + x_469 = lean_alloc_ctor(1, 2, 0); +} else { + x_469 = x_468; +} +lean_ctor_set(x_469, 0, x_466); +lean_ctor_set(x_469, 1, x_467); +return x_469; +} +} +} +else +{ +lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; +lean_dec(x_350); +lean_dec(x_348); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_470 = lean_ctor_get(x_388, 0); +lean_inc(x_470); +x_471 = lean_ctor_get(x_388, 1); +lean_inc(x_471); +if (lean_is_exclusive(x_388)) { + lean_ctor_release(x_388, 0); + lean_ctor_release(x_388, 1); + x_472 = x_388; +} else { + lean_dec_ref(x_388); + x_472 = lean_box(0); +} +if (lean_is_scalar(x_472)) { + x_473 = lean_alloc_ctor(1, 2, 0); +} else { + x_473 = x_472; +} +lean_ctor_set(x_473, 0, x_470); +lean_ctor_set(x_473, 1, x_471); +return x_473; +} +} +} +else +{ +lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +lean_dec(x_350); +lean_dec(x_348); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_474 = lean_ctor_get(x_359, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_359, 1); +lean_inc(x_475); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + lean_ctor_release(x_359, 1); + x_476 = x_359; +} else { + lean_dec_ref(x_359); + x_476 = lean_box(0); +} +if (lean_is_scalar(x_476)) { + x_477 = lean_alloc_ctor(1, 2, 0); +} else { + x_477 = x_476; +} +lean_ctor_set(x_477, 0, x_474); +lean_ctor_set(x_477, 1, x_475); +return x_477; +} +} +} +else +{ +lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_350); +lean_dec(x_348); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_478 = lean_ctor_get(x_353, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_353, 1); +lean_inc(x_479); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_480 = x_353; +} else { + lean_dec_ref(x_353); + x_480 = lean_box(0); +} +if (lean_is_scalar(x_480)) { + x_481 = lean_alloc_ctor(1, 2, 0); +} else { + x_481 = x_480; +} +lean_ctor_set(x_481, 0, x_478); +lean_ctor_set(x_481, 1, x_479); +return x_481; +} +} +else +{ +lean_object* x_482; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +x_482 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance(x_1, x_17, x_350, x_8, x_9, x_10, x_11, x_12, x_13, x_351); +if (lean_obj_tag(x_482) == 0) +{ +lean_object* x_483; uint8_t x_484; +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +x_484 = lean_unbox(x_483); +lean_dec(x_483); +if (x_484 == 0) +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; +x_485 = lean_ctor_get(x_482, 1); +lean_inc(x_485); +lean_dec(x_482); +x_486 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1; +x_487 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_348); +x_488 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_488, 0, x_487); +x_18 = x_488; +x_19 = x_485; +goto block_26; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_482, 1); +lean_inc(x_489); +lean_dec(x_482); +lean_inc(x_3); +x_490 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_490, 0, x_3); +lean_ctor_set(x_490, 1, x_348); +x_491 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_491, 0, x_490); +x_18 = x_491; +x_19 = x_489; +goto block_26; +} +} +else +{ +lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; +lean_dec(x_348); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_492 = lean_ctor_get(x_482, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_482, 1); +lean_inc(x_493); +if (lean_is_exclusive(x_482)) { + lean_ctor_release(x_482, 0); + lean_ctor_release(x_482, 1); + x_494 = x_482; +} else { + lean_dec_ref(x_482); + x_494 = lean_box(0); +} +if (lean_is_scalar(x_494)) { + x_495 = lean_alloc_ctor(1, 2, 0); +} else { + x_495 = x_494; +} +lean_ctor_set(x_495, 0, x_492); +lean_ctor_set(x_495, 1, x_493); +return x_495; +} +} +} +else +{ +lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; +lean_dec(x_348); +lean_dec(x_17); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_496 = lean_ctor_get(x_349, 0); +lean_inc(x_496); +x_497 = lean_ctor_get(x_349, 1); +lean_inc(x_497); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + x_498 = x_349; +} else { + lean_dec_ref(x_349); + x_498 = lean_box(0); +} +if (lean_is_scalar(x_498)) { + x_499 = lean_alloc_ctor(1, 2, 0); +} else { + x_499 = x_498; +} +lean_ctor_set(x_499, 0, x_496); +lean_ctor_set(x_499, 1, x_497); +return x_499; } } } @@ -3202,6 +3867,21 @@ return x_36; } } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___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: { @@ -3527,7 +4207,24 @@ lean_ctor_set(x_10, 1, x_9); return x_10; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1() { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +} +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -3535,17 +4232,17 @@ x_1 = lean_mk_string("rewrite"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__6; -x_2 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1; +x_2 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -3553,16 +4250,16 @@ x_1 = lean_mk_string(", "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5() { _start: { lean_object* x_1; @@ -3570,149 +4267,114 @@ x_1 = lean_mk_string(" ==> "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_st_ref_get(x_11, x_12); -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_13; uint8_t x_14; lean_object* x_15; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_13 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2; +x_36 = lean_st_ref_get(x_11, x_12); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 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_13 = x_50; -x_14 = x_49; -goto block_44; +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_14 = x_41; +x_15 = x_40; +goto block_35; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_dec(x_45); -x_52 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_13 = x_56; -x_14 = x_55; -goto block_44; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_14 = x_46; +x_15 = x_45; +goto block_35; } -block_44: +block_35: { -if (x_13 == 0) +if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_16; lean_object* x_17; lean_dec(x_4); lean_dec(x_3); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_2); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, 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_14); -return x_18; +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(x_1, x_2, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_17; } else { -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; uint8_t x_34; -x_19 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_3); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_25, 0, x_4); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_18 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_3); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_4); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); lean_inc(x_2); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_2); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_2); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_21); -x_32 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; -x_33 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_32, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_1); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_2); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_33, 0, x_38); -return x_33; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_1); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_2); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_39); -return x_43; +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_20); +x_31 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_13, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +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_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(x_1, x_2, x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +lean_dec(x_32); +return x_34; } } } } -} -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -3720,16 +4382,16 @@ x_1 = lean_mk_string(", perm rejected "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -3739,7 +4401,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(x_1, x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_1, x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } else @@ -3748,8 +4410,9 @@ uint8_t x_17; x_17 = lean_expr_lt(x_2, x_4); if (x_17 == 0) { -uint8_t x_18; lean_object* x_19; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_dec(x_1); +x_18 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2; x_41 = lean_st_ref_get(x_12, x_13); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); @@ -3765,75 +4428,73 @@ x_45 = lean_ctor_get(x_41, 1); lean_inc(x_45); lean_dec(x_41); x_46 = 0; -x_18 = x_46; -x_19 = x_45; +x_19 = x_46; +x_20 = x_45; goto block_40; } else { -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_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; x_47 = lean_ctor_get(x_41, 1); lean_inc(x_47); lean_dec(x_41); -x_48 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; -x_49 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -x_50 = lean_ctor_get(x_49, 0); +x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); +lean_dec(x_48); +x_51 = lean_unbox(x_49); lean_dec(x_49); -x_52 = lean_unbox(x_50); -lean_dec(x_50); -x_18 = x_52; x_19 = x_51; +x_20 = x_50; goto block_40; } block_40: { -if (x_18 == 0) +if (x_19 == 0) { -lean_object* x_20; +lean_object* x_21; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_5); -lean_ctor_set(x_20, 1, x_19); -return x_20; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_5); +lean_ctor_set(x_21, 1, x_20); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; uint8_t x_36; -x_21 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_3); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_27, 0, x_4); -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_31, 0, x_2); -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); +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; uint8_t x_36; +x_22 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_3); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_4); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_2); x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_23); -x_34 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; -x_35 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_34, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_24); +x_35 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_18, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_20); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) { @@ -3859,16 +4520,16 @@ return x_39; } else { -lean_object* x_53; lean_object* x_54; +lean_object* x_52; lean_object* x_53; lean_dec(x_5); -x_53 = lean_box(0); -x_54 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(x_1, x_2, x_3, x_4, x_53, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_54; +x_52 = lean_box(0); +x_53 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_1, x_2, x_3, x_4, x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_53; } } } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; @@ -3893,7 +4554,7 @@ if (x_19 == 0) lean_object* x_20; lean_object* x_21; lean_free_object(x_15); x_20 = lean_box(0); -x_21 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_2, x_17, x_3, x_4, x_5, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_18); +x_21 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(x_2, x_17, x_3, x_4, x_5, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3927,7 +4588,7 @@ if (x_24 == 0) { lean_object* x_25; lean_object* x_26; x_25 = lean_box(0); -x_26 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_2, x_22, x_3, x_4, x_5, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_23); +x_26 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(x_2, x_22, x_3, x_4, x_5, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_23); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3984,7 +4645,7 @@ return x_31; } } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1() { _start: { lean_object* x_1; @@ -3992,16 +4653,16 @@ x_1 = lean_mk_string(", has unassigned metavariables after unification"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; @@ -4031,136 +4692,120 @@ x_22 = lean_ctor_get(x_19, 1); lean_inc(x_22); lean_dec(x_19); x_23 = lean_box(0); -x_24 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(x_3, x_17, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +x_24 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(x_3, x_17, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_22); return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_dec(x_17); lean_dec(x_5); x_25 = lean_ctor_get(x_19, 1); lean_inc(x_25); -lean_dec(x_19); -x_26 = lean_st_ref_get(x_13, x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 3); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1); -lean_dec(x_28); -if (x_29 == 0) +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_26 = x_19; +} else { + lean_dec_ref(x_19); + x_26 = lean_box(0); +} +x_27 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2; +x_43 = lean_st_ref_get(x_13, x_25); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_45, sizeof(void*)*1); +lean_dec(x_45); +if (x_46 == 0) { -uint8_t x_30; +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = 0; +x_28 = x_48; +x_29 = x_47; +goto block_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unbox(x_51); +lean_dec(x_51); +x_28 = x_53; +x_29 = x_52; +goto block_42; +} +block_42: +{ +if (x_28 == 0) +{ +lean_object* x_30; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_4); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_26, 0); -lean_dec(x_31); -lean_ctor_set(x_26, 0, x_6); -return x_26; +if (lean_is_scalar(x_26)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_26; +} +lean_ctor_set(x_30, 0, x_6); +lean_ctor_set(x_30, 1, x_29); +return x_30; } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); +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; uint8_t x_38; lean_dec(x_26); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_6); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_34 = lean_ctor_get(x_26, 1); -lean_inc(x_34); -lean_dec(x_26); -x_35 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2; -x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_35, x_8, x_9, x_10, x_11, x_12, x_13, x_34); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_unbox(x_37); -lean_dec(x_37); +x_31 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_4); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_27, x_36, x_8, x_9, x_10, x_11, x_12, x_13, x_29); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_38 = !lean_is_exclusive(x_37); if (x_38 == 0) { -uint8_t x_39; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_39 = !lean_is_exclusive(x_36); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_36, 0); -lean_dec(x_40); -lean_ctor_set(x_36, 0, x_6); -return x_36; +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set(x_37, 0, x_6); +return x_37; } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_36, 1); -lean_inc(x_41); -lean_dec(x_36); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_6); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); -lean_dec(x_36); -x_44 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_4); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_35, x_49, x_8, x_9, x_10, x_11, x_12, x_13, x_43); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_6); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_6); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_6); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -4168,7 +4813,7 @@ return x_54; } else { -uint8_t x_55; +uint8_t x_54; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4176,28 +4821,28 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_16); -if (x_55 == 0) +x_54 = !lean_is_exclusive(x_16); +if (x_54 == 0) { return x_16; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_16, 0); -x_57 = lean_ctor_get(x_16, 1); -lean_inc(x_57); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_16, 0); +x_56 = lean_ctor_get(x_16, 1); lean_inc(x_56); +lean_inc(x_55); lean_dec(x_16); -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; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -4205,17 +4850,17 @@ x_1 = lean_mk_string("unify"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__6; -x_2 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1; +x_2 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3() { _start: { lean_object* x_1; @@ -4223,16 +4868,16 @@ x_1 = lean_mk_string(", failed to unify "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5() { _start: { lean_object* x_1; @@ -4240,16 +4885,16 @@ x_1 = lean_mk_string(" with "); return x_1; } } -static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6() { +static lean_object* _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5; +x_1 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -4344,7 +4989,8 @@ if (lean_is_exclusive(x_30)) { x_35 = l_Lean_Expr_isMVar(x_29); if (x_35 == 0) { -uint8_t x_36; lean_object* x_37; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_36 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2; x_59 = lean_st_ref_get(x_10, x_33); x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); @@ -4360,34 +5006,33 @@ x_63 = lean_ctor_get(x_59, 1); lean_inc(x_63); lean_dec(x_59); x_64 = 0; -x_36 = x_64; -x_37 = x_63; +x_37 = x_64; +x_38 = x_63; goto block_58; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; x_65 = lean_ctor_get(x_59, 1); lean_inc(x_65); lean_dec(x_59); -x_66 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2; -x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_66, x_5, x_6, x_7, x_8, x_9, x_10, x_65); -x_68 = lean_ctor_get(x_67, 0); +x_66 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); +lean_dec(x_66); +x_69 = lean_unbox(x_67); lean_dec(x_67); -x_70 = lean_unbox(x_68); -lean_dec(x_68); -x_36 = x_70; x_37 = x_69; +x_38 = x_68; goto block_58; } block_58: { -if (x_36 == 0) +if (x_37 == 0) { -lean_object* x_38; +lean_object* x_39; lean_dec(x_29); lean_dec(x_10); lean_dec(x_9); @@ -4398,48 +5043,47 @@ lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); if (lean_is_scalar(x_34)) { - x_38 = lean_alloc_ctor(0, 2, 0); + x_39 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_34; + x_39 = x_34; } -lean_ctor_set(x_38, 0, x_15); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_38); +return x_39; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +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; uint8_t x_54; lean_dec(x_34); -x_39 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_2); -x_40 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_45, 0, x_29); -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_49, 0, x_1); -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); +x_40 = l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(x_2); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_29); +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_50, 0, x_1); x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_41); -x_52 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2; -x_53 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_52, x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_42); +x_53 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_36, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_38); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4471,7 +5115,7 @@ return x_57; } else { -lean_object* x_71; +lean_object* x_70; lean_dec(x_29); lean_dec(x_10); lean_dec(x_9); @@ -4482,40 +5126,90 @@ lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); if (lean_is_scalar(x_34)) { - x_71 = lean_alloc_ctor(0, 2, 0); + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_34; + x_70 = x_34; } -lean_ctor_set(x_71, 0, x_15); -lean_ctor_set(x_71, 1, x_33); -return x_71; +lean_ctor_set(x_70, 0, x_15); +lean_ctor_set(x_70, 1, x_33); +return x_70; } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_dec(x_29); -x_72 = lean_ctor_get(x_30, 1); -lean_inc(x_72); +x_71 = lean_ctor_get(x_30, 1); +lean_inc(x_71); lean_dec(x_30); -x_73 = l_Lean_Meta_SimpLemma_getName(x_2); +x_72 = l_Lean_Meta_SimpLemma_getName(x_2); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_74 = l_Lean_Meta_Simp_synthesizeArgs(x_73, x_22, x_23, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_72); -if (lean_obj_tag(x_74) == 0) +x_73 = l_Lean_Meta_Simp_synthesizeArgs(x_72, x_22, x_23, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_71); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_unbox(x_75); -lean_dec(x_75); +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_unbox(x_74); +lean_dec(x_74); +if (x_75 == 0) +{ +uint8_t x_76; +lean_dec(x_26); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_76 = !lean_is_exclusive(x_73); if (x_76 == 0) { -uint8_t x_77; +lean_object* x_77; +x_77 = lean_ctor_get(x_73, 0); +lean_dec(x_77); +lean_ctor_set(x_73, 0, x_15); +return x_73; +} +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_dec(x_73); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_15); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_73, 1); +lean_inc(x_80); +lean_dec(x_73); +x_81 = lean_box(0); +x_82 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(x_4, x_22, x_26, x_2, x_1, x_15, x_81, x_5, x_6, x_7, x_8, x_9, x_10, x_80); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_26); +lean_dec(x_22); +return x_82; +} +} +else +{ +uint8_t x_83; lean_dec(x_26); lean_dec(x_22); lean_dec(x_10); @@ -4527,80 +5221,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_74); -if (x_77 == 0) +x_83 = !lean_is_exclusive(x_73); +if (x_83 == 0) { -lean_object* x_78; -x_78 = lean_ctor_get(x_74, 0); -lean_dec(x_78); -lean_ctor_set(x_74, 0, x_15); -return x_74; +return x_73; } else { -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_74, 1); -lean_inc(x_79); -lean_dec(x_74); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_15); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_74, 1); -lean_inc(x_81); -lean_dec(x_74); -x_82 = lean_box(0); -x_83 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(x_4, x_22, x_26, x_2, x_1, x_15, x_82, x_5, x_6, x_7, x_8, x_9, x_10, x_81); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_26); -lean_dec(x_22); -return x_83; -} -} -else -{ -uint8_t x_84; -lean_dec(x_26); -lean_dec(x_22); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_84 = !lean_is_exclusive(x_74); -if (x_84 == 0) -{ -return x_74; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_74, 0); -x_86 = lean_ctor_get(x_74, 1); -lean_inc(x_86); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_73, 0); +x_85 = lean_ctor_get(x_73, 1); lean_inc(x_85); -lean_dec(x_74); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +lean_inc(x_84); +lean_dec(x_73); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } } else { -uint8_t x_88; +uint8_t x_87; lean_dec(x_29); lean_dec(x_26); lean_dec(x_23); @@ -4615,29 +5259,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_88 = !lean_is_exclusive(x_30); -if (x_88 == 0) +x_87 = !lean_is_exclusive(x_30); +if (x_87 == 0) { return x_30; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_30, 0); -x_90 = lean_ctor_get(x_30, 1); -lean_inc(x_90); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_30, 0); +x_89 = lean_ctor_get(x_30, 1); lean_inc(x_89); +lean_inc(x_88); lean_dec(x_30); -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; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -uint8_t x_92; +uint8_t x_91; lean_dec(x_23); lean_dec(x_22); lean_dec(x_10); @@ -4650,29 +5294,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_92 = !lean_is_exclusive(x_25); -if (x_92 == 0) +x_91 = !lean_is_exclusive(x_25); +if (x_91 == 0) { return x_25; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_25, 0); -x_94 = lean_ctor_get(x_25, 1); -lean_inc(x_94); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_25, 0); +x_93 = lean_ctor_get(x_25, 1); lean_inc(x_93); +lean_inc(x_92); lean_dec(x_25); -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; +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_96; +uint8_t x_95; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4683,29 +5327,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_96 = !lean_is_exclusive(x_18); -if (x_96 == 0) +x_95 = !lean_is_exclusive(x_18); +if (x_95 == 0) { return x_18; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_18, 0); -x_98 = lean_ctor_get(x_18, 1); -lean_inc(x_98); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_18, 0); +x_97 = lean_ctor_get(x_18, 1); lean_inc(x_97); +lean_inc(x_96); lean_dec(x_18); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +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 { -uint8_t x_100; +uint8_t x_99; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4716,23 +5360,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_100 = !lean_is_exclusive(x_12); -if (x_100 == 0) +x_99 = !lean_is_exclusive(x_12); +if (x_99 == 0) { return x_12; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_12, 0); -x_102 = lean_ctor_get(x_12, 1); -lean_inc(x_102); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_12, 0); +x_101 = lean_ctor_get(x_12, 1); lean_inc(x_101); +lean_inc(x_100); lean_dec(x_12); -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; +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; } } } @@ -4744,7 +5388,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_inc(x_3); x_11 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__1___boxed), 8, 1); lean_closure_set(x_11, 0, x_3); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7), 11, 3); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8), 11, 3); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_3); lean_closure_set(x_12, 2, x_2); @@ -4780,11 +5424,26 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__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_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3(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 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4795,11 +5454,11 @@ lean_dec(x_5); return x_13; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -4810,11 +5469,11 @@ lean_dec(x_6); return x_14; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(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_8); lean_dec(x_7); lean_dec(x_6); @@ -4822,11 +5481,11 @@ lean_dec(x_1); return x_14; } } -lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5131,6 +5790,20 @@ lean_ctor_set(x_12, 1, x_10); return x_12; } } +lean_object* l_Lean_Meta_Simp_rewrite___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +} static lean_object* _init_l_Lean_Meta_Simp_rewrite___closed__1() { _start: { @@ -5237,33 +5910,25 @@ lean_inc(x_1); x_13 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_2, x_1, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_14; lean_object* x_15; uint8_t 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); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_16 = x_13; -} else { - lean_dec_ref(x_13); - x_16 = lean_box(0); -} -x_17 = l_Array_isEmpty___rarg(x_14); -if (x_17 == 0) +lean_dec(x_13); +x_16 = l_Array_isEmpty___rarg(x_14); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_18 = lean_array_get_size(x_14); -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Array_insertionSort_traverse___at_Lean_Meta_Simp_rewrite___spec__1(x_14, x_19, x_18); -x_21 = lean_box(0); -x_22 = lean_array_get_size(x_20); -x_23 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_24 = 0; -x_25 = l_Lean_Meta_Simp_rewrite___closed__1; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_17 = lean_array_get_size(x_14); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Array_insertionSort_traverse___at_Lean_Meta_Simp_rewrite___spec__1(x_14, x_18, x_17); +x_20 = lean_box(0); +x_21 = lean_array_get_size(x_19); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +x_24 = l_Lean_Meta_Simp_rewrite___closed__1; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -5271,73 +5936,73 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewrite___spec__3(x_1, x_3, x_4, x_25, x_20, x_23, x_24, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -lean_dec(x_20); -if (lean_obj_tag(x_26) == 0) +x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewrite___spec__3(x_1, x_3, x_4, x_24, x_19, x_22, x_23, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +lean_dec(x_19); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_27; lean_object* x_28; +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 0); +lean_dec(x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_box(0); +x_30 = l_Lean_Meta_Simp_rewrite___lambda__1(x_1, x_20, x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_25, 0); +lean_dec(x_32); +x_33 = lean_ctor_get(x_27, 0); +lean_inc(x_33); lean_dec(x_27); -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_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = lean_box(0); -x_31 = l_Lean_Meta_Simp_rewrite___lambda__1(x_1, x_21, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_31; +lean_ctor_set(x_25, 0, x_33); +return x_25; } else { -uint8_t x_32; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_26); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_26, 0); -lean_dec(x_33); -x_34 = lean_ctor_get(x_28, 0); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 1); lean_inc(x_34); -lean_dec(x_28); -lean_ctor_set(x_26, 0, x_34); -return x_26; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_26, 1); +lean_dec(x_25); +x_35 = lean_ctor_get(x_27, 0); lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -lean_dec(x_28); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_dec(x_27); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +return x_36; } } } else { -uint8_t x_38; +uint8_t x_37; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5345,160 +6010,129 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_26); -if (x_38 == 0) +x_37 = !lean_is_exclusive(x_25); +if (x_37 == 0) { -return x_26; +return x_25; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_26, 0); -x_40 = lean_ctor_get(x_26, 1); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_25, 0); +x_39 = lean_ctor_get(x_25, 1); lean_inc(x_39); -lean_dec(x_26); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_inc(x_38); +lean_dec(x_25); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -uint8_t x_42; lean_object* x_43; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_dec(x_14); lean_dec(x_4); lean_dec(x_3); -x_67 = lean_st_ref_get(x_11, x_15); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) +x_41 = l_Lean_Meta_Simp_rewrite___closed__6; +x_60 = lean_st_ref_get(x_11, x_15); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 3); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); +lean_dec(x_62); +if (x_63 == 0) { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = 0; -x_42 = x_72; -x_43 = x_71; -goto block_66; +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +x_65 = 0; +x_42 = x_65; +x_43 = x_64; +goto block_59; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +x_67 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); lean_dec(x_67); -x_74 = l_Lean_Meta_Simp_rewrite___closed__6; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_42 = x_78; -x_43 = x_77; -goto block_66; +x_70 = lean_unbox(x_68); +lean_dec(x_68); +x_42 = x_70; +x_43 = x_69; +goto block_59; } -block_66: +block_59: { if (x_42 == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_44); -if (lean_is_scalar(x_16)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_16; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_16); -x_47 = l_Lean_stringToMessageData(x_5); -x_48 = l_Lean_Meta_Simp_rewrite___closed__8; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_Lean_Meta_Simp_rewrite___closed__10; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_1); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_1); -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Meta_Simp_rewrite___closed__6; -x_57 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_56, x_55, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_45 = l_Lean_Meta_Simp_rewrite___lambda__2(x_1, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_43); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_1); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_57, 0, x_61); -return x_57; +return x_45; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_1); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; -} +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_46 = l_Lean_stringToMessageData(x_5); +x_47 = l_Lean_Meta_Simp_rewrite___closed__8; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Meta_Simp_rewrite___closed__10; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +lean_inc(x_1); +x_51 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_51, 0, x_1); +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(x_41, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Meta_Simp_rewrite___lambda__2(x_1, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_57); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_56); +return x_58; } } } } else { -uint8_t x_79; +uint8_t x_71; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5508,23 +6142,23 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_79 = !lean_is_exclusive(x_13); -if (x_79 == 0) +x_71 = !lean_is_exclusive(x_13); +if (x_71 == 0) { return x_13; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_13, 0); -x_81 = lean_ctor_get(x_13, 1); -lean_inc(x_81); -lean_inc(x_80); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_13, 0); +x_73 = lean_ctor_get(x_13, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_13); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } @@ -5557,6 +6191,21 @@ lean_dec(x_3); return x_11; } } +lean_object* l_Lean_Meta_Simp_rewrite___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_Simp_rewrite___lambda__2(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_Simp_rewrite___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: { @@ -9213,6 +9862,10 @@ l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11 = _init_l_Lean_M lean_mark_persistent(l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__11); l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12 = _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12(); lean_mark_persistent(l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__12); +l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13 = _init_l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13(); +lean_mark_persistent(l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13); +l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___lambda__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__2(); @@ -9221,42 +9874,40 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__3); l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__1___closed__5); l_Lean_Meta_Simp_synthesizeArgs___closed__1 = _init_l_Lean_Meta_Simp_synthesizeArgs___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_synthesizeArgs___closed__1); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__1); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__2); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__3); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__4); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__5); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__3___closed__6); l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__1); l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__2); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__1); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__6___closed__2); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__3); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__4); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__5); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__4___closed__6); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__1); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__5___closed__2); l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__1); l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__2); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__3); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__4); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__5); -l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6(); -lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__7___closed__6); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__1); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__2); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__3); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__4); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__5); +l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6 = _init_l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6(); +lean_mark_persistent(l_Lean_Meta_Simp_rewrite_tryLemma_x3f___lambda__8___closed__6); l_Lean_Meta_Simp_rewrite___closed__1 = _init_l_Lean_Meta_Simp_rewrite___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_rewrite___closed__1); l_Lean_Meta_Simp_rewrite___closed__2 = _init_l_Lean_Meta_Simp_rewrite___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c index c532080b33..0170ab7503 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c @@ -24,14 +24,16 @@ lean_object* l_Array_binInsertM___at_Lean_Meta_addSimpLemmaEntry___spec__13___bo size_t l_USize_add(size_t, size_t); static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addSimpLemmaEntry___spec__15___closed__1; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore_match__2(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_checkTypeIsProp___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476____closed__5; lean_object* l_Lean_Meta_SimpLemma_name_x3f___default; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -54,7 +56,6 @@ static lean_object* l_Lean_Meta_SimpLemma_getValue___closed__4; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at_Lean_Meta_addSimpLemmaEntry___spec__10(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_checkTypeIsProp___closed__3; static lean_object* l_Lean_Meta_instInhabitedSimpLemmas___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedSimpLemmas; static lean_object* l_Lean_Meta_instInhabitedSimpLemmas___closed__2; @@ -62,14 +63,17 @@ static lean_object* l_Lean_Meta_instToFormatSimpLemma___closed__6; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3; lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__4(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_mkSimpLemmas___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, 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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpExtension___closed__7; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_addSimpLemma___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__4; @@ -97,18 +101,17 @@ lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18; uint8_t l_Lean_Expr_isEq(lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__6(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocessProof___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lambda__2___closed__1; lean_object* l_Lean_Meta_mkSimpLemmas(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_addSimpLemmaEntry___spec__12(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_SimpLemmas_erase___rarg___closed__1; lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_shouldPreprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__2(lean_object*); static lean_object* l_Lean_Meta_SimpLemmas_erase___rarg___closed__4; size_t l_USize_shiftRight(size_t, size_t); @@ -120,7 +123,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mk lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_addSimpLemmaEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Meta_simpExtension___closed__11; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpLemmaEntry___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpLemmas_erase___rarg___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__10; @@ -128,9 +130,9 @@ lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_ lean_object* l_Lean_Meta_simpExtension___lambda__7___boxed(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_addSimpLemma___spec__2(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__9; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4; lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1; lean_object* l_List_forIn_loop___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___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* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -144,19 +146,18 @@ lean_object* l_Lean_Meta_SimpLemmas_post___default; lean_object* l_Lean_Meta_SimpLemmas_addDeclToUnfold(lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_add_getName_x3f_match__1(lean_object*); uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_73_(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__9; lean_object* l_Lean_getAttrParamOptPrio(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocessProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getSimpLemmas(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___closed__1; -static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2; lean_object* l_Lean_Meta_instToFormatSimpLemma(lean_object*); lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpLemmas_pre___default___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_eraseCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqFalse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_erase___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -166,6 +167,7 @@ static lean_object* l_Lean_Meta_simpExtension___closed__12; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_shouldPreprocess___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__3___boxed(lean_object*); lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_isUnaryNode___rarg(lean_object*); @@ -173,12 +175,9 @@ lean_object* l_Lean_Meta_SimpLemmas_toUnfold___default; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_addSimpLemmaEntry___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_erase___at_Lean_Meta_SimpLemmas_eraseCore___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476__match__1(lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpLemma___closed__4; -lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476____closed__4; lean_object* l_Lean_Meta_simpExtension; lean_object* l_Lean_Meta_simpExtension___lambda__4___boxed(lean_object*, lean_object*); @@ -193,10 +192,8 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instToMessageDataSimpLemma(lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476____closed__1; lean_object* l_Lean_Meta_simpExtension___lambda__4(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpLemmaEntry___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__2___boxed(lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash(lean_object*); @@ -207,25 +204,23 @@ lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_add lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__4___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476____closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__2(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__5; +lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addSimpLemmaEntry___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); size_t l_USize_shiftLeft(size_t, size_t); lean_object* l_Lean_Meta_mkAuxLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addSimpLemma(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476____lambda__1(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__4; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore_match__3(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_shouldPreprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,6 +231,8 @@ uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Meta_simpExtension___closed__5; lean_object* l_List_forIn_loop___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___spec__1(lean_object*, uint8_t, 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_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17; size_t l_USize_mul(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__8; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpLemma___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,31 +242,30 @@ lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preproces lean_object* l_Lean_Meta_SimpLemmas_isLemma___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lambda__2___closed__4; uint8_t l_Lean_Expr_isForall(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__2; static lean_object* l_Lean_Meta_simpExtension___closed__8; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_ConstantInfo_type(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4; lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_addSimpLemmaEntry___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getSimpLemmas___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__9; size_t l_USize_land(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm_match__1(lean_object*); lean_object* l_Lean_Meta_SimpLemmas_erase(lean_object*); lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__7; lean_object* l_Lean_Meta_addSimpLemmaEntry_updateLemmaNames_match__1(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308_(lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpLemmas_addConst___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lambda__2___closed__3; @@ -278,41 +274,43 @@ lean_object* l_Lean_Meta_instBEqSimpLemma___boxed(lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Lean_Meta_SimpLemmas_lemmaNames___default; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; lean_object* l_Lean_Meta_SimpLemma_getName_match__1(lean_object*); lean_object* l_Lean_Meta_SimpLemmas_pre___default; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_addSimpLemmaEntry___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__7(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21; static lean_object* l_Lean_Meta_SimpLemma_getValue___closed__1; lean_object* l_Lean_Meta_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpLemma_getValue___closed__2; lean_object* l_Lean_Meta_instInhabitedSimpLemma; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19; uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_erase___at_Lean_Meta_SimpLemmas_eraseCore___spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__2; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_shouldPreprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2; -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8; lean_object* l_Lean_Meta_SimpLemma_getName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17; static lean_object* l_Lean_Meta_SimpLemma_getValue___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_addSimpLemmaEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpExtension___closed__3; lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSimpLemma___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_add(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binInsertM___at_Lean_Meta_addSimpLemmaEntry___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2; uint8_t l_Lean_Meta_SimpLemmas_isDeclToUnfold(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4; lean_object* l_Lean_Meta_getSimpLemmas___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__13; lean_object* l_Array_eraseIdx_x27___rarg(lean_object*, lean_object*); @@ -320,38 +318,35 @@ lean_object* l_Array_indexOfAux___at_Lean_Meta_SimpLemmas_eraseCore___spec__3___ lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_eraseCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__12; uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Std_PersistentHashMap_contains___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14; static size_t l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__2___closed__1; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpLemmaEntry___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5; static lean_object* l_Array_back___at_Lean_Meta_addSimpLemmaEntry___spec__14___closed__2; static lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1___closed__1; +lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___boxed(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__1(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16; lean_object* l_Lean_Meta_mkSimpLemmas___boxed__const__1; static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__2___closed__3; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpExtension___lambda__1___closed__2; lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22; lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__1(lean_object*); lean_object* l_Std_PersistentHashMap_eraseAux___at_Lean_Meta_SimpLemmas_eraseCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpLemma___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13; lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_eraseCore(lean_object*); lean_object* l_Std_PersistentHashMap_eraseAux___at_Lean_Meta_SimpLemmas_eraseCore___spec__2(lean_object*, size_t, lean_object*); @@ -365,11 +360,13 @@ lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLem lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpExtension___lambda__6___boxed(lean_object*); lean_object* l_Lean_Meta_SimpLemmas_add_getName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16; static size_t l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__2___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___closed__6; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemma_getValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7; static lean_object* l_Lean_Meta_simpExtension___closed__6; lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -382,17 +379,19 @@ lean_object* l_Lean_Meta_SimpLemmas_addConst(lean_object*, lean_object*, uint8_t static lean_object* l_Lean_Meta_simpExtension___closed__10; static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addSimpLemmaEntry___spec__15___closed__2; lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15; static lean_object* l_Lean_Meta_simpExtension___closed__1; lean_object* l_Array_back___at_Lean_Meta_addSimpLemmaEntry___spec__14___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocessProof___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5; static lean_object* l_Lean_Meta_simpExtension___closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18; lean_object* lean_usize_to_nat(size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SimpLemmas_erase___rarg___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SimpLemmas_addConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13; lean_object* l_Array_back___at_Lean_Meta_addSimpLemmaEntry___spec__14(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,26 +400,27 @@ static lean_object* l_Array_back___at_Lean_Meta_addSimpLemmaEntry___spec__14___c static lean_object* l_Lean_Meta_SimpLemma_getName___closed__2; static lean_object* l_Lean_Meta_simpExtension___closed__9; lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21; uint8_t l_Lean_Meta_instBEqSimpLemma(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_476__match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpLemmas_addConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14; static lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1___closed__2; lean_object* l_Lean_Meta_SimpLemma_getName___boxed(lean_object*); static lean_object* l_Lean_Meta_SimpLemma_getName___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addSimpLemmaEntry_updateLemmaNames(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3; uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedSimpEntry; static lean_object* l_Lean_Meta_instInhabitedSimpEntry___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5; lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); lean_object* l_Lean_Meta_getSimpLemmas___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpLemmaEntry_updateLemmaNames___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -431,17 +431,17 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpLe lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpLemmaEntry___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3; lean_object* l_Lean_Meta_simpExtension___lambda__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_isPerm___spec__2(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_Meta_SimpLemmas_isDeclToUnfold___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instToFormatSimpLemma___closed__5; lean_object* l_Std_fmt___at_Lean_Meta_instToMessageDataSimpLemma___spec__1(lean_object*); uint8_t l_Lean_Meta_SimpLemmas_isLemma(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_SimpLemma_name_x3f___default() { _start: { @@ -11071,7 +11071,7 @@ x_12 = l_Lean_Meta_addSimpLemma(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1() { +static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1() { _start: { lean_object* x_1; @@ -11079,7 +11079,7 @@ x_1 = lean_mk_string("Lean.ScopedEnvExtension"); return x_1; } } -static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2() { +static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2() { _start: { lean_object* x_1; @@ -11087,7 +11087,7 @@ x_1 = lean_mk_string("Lean.ScopedEnvExtension.getState"); return x_1; } } -static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3() { +static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3() { _start: { lean_object* x_1; @@ -11095,20 +11095,20 @@ x_1 = lean_mk_string("unreachable code has been reached"); return x_1; } } -static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4() { +static lean_object* _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1; -x_2 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2; +x_1 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1; +x_2 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2; x_3 = lean_unsigned_to_nat(157u); x_4 = lean_unsigned_to_nat(16u); -x_5 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3; +x_5 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -11121,7 +11121,7 @@ if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Meta_instInhabitedSimpLemmas; -x_7 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4; +x_7 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4; x_8 = lean_panic_fn(x_6, x_7); return x_8; } @@ -11138,7 +11138,7 @@ return x_10; } } } -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -11192,15 +11192,15 @@ return x_25; } } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___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* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(x_1, x_2, x_4, x_5, x_6); +x_7 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(x_1, x_2, x_4, x_5, x_6); return x_7; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -11248,19 +11248,19 @@ return x_17; else { lean_object* x_18; -x_18 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(x_1, x_2, x_3, x_4, x_5); +x_18 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(x_1, x_2, x_3, x_4, x_5); return x_18; } } else { lean_object* x_19; -x_19 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(x_1, x_2, x_3, x_4, x_5); +x_19 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(x_1, x_2, x_3, x_4, x_5); return x_19; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; @@ -11281,7 +11281,7 @@ lean_ctor_set_uint8(x_4, 9, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -11290,23 +11290,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___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_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -11317,25 +11317,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_PersistentHashMap_empty___at_Lean_Meta_SimpLemmas_lemmaNames___default___spec__1___closed__3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5; x_4 = l_Lean_Meta_instInhabitedSimpLemma___closed__1; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); @@ -11345,7 +11345,7 @@ lean_ctor_set(x_5, 3, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11361,7 +11361,7 @@ lean_ctor_set(x_3, 5, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11373,7 +11373,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__9() { _start: { lean_object* x_1; @@ -11381,7 +11381,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheK return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11393,7 +11393,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11405,13 +11405,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11; x_4 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11421,14 +11421,14 @@ lean_ctor_set(x_4, 4, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12; x_3 = l_Lean_NameSet_empty; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -11437,7 +11437,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14() { _start: { lean_object* x_1; @@ -11445,16 +11445,16 @@ x_1 = lean_mk_string("invalid 'simp', it is not a proposition nor a definition ( return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16() { _start: { lean_object* x_1; @@ -11462,17 +11462,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18() { _start: { lean_object* x_1; @@ -11480,17 +11480,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20() { _start: { lean_object* x_1; @@ -11498,17 +11498,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22() { _start: { lean_object* x_1; @@ -11516,17 +11516,17 @@ x_1 = lean_mk_string("simpPost"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _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; lean_object* x_13; lean_object* x_14; lean_object* x_25; lean_object* x_26; @@ -11534,14 +11534,14 @@ x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13; +x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13; x_10 = lean_st_mk_ref(x_9, x_8); 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_25 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6; +x_25 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6; lean_inc(x_1); x_26 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(x_1, x_25, x_11, x_4, x_5, x_12); if (lean_obj_tag(x_26) == 0) @@ -11576,7 +11576,7 @@ if (x_34 == 0) { lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_dec(x_1); -x_35 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15; +x_35 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15; x_36 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_35, x_25, x_11, x_4, x_5, x_33); lean_dec(x_5); lean_dec(x_4); @@ -11636,7 +11636,7 @@ x_52 = lean_unsigned_to_nat(0u); x_53 = l_Lean_Syntax_getArg(x_48, x_52); lean_dec(x_48); x_54 = l_Lean_Syntax_getKind(x_53); -x_55 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23; +x_55 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23; x_56 = lean_name_eq(x_54, x_55); lean_dec(x_54); lean_inc(x_4); @@ -11892,7 +11892,7 @@ return x_23; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -11906,9 +11906,9 @@ x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); lean_dec(x_6); x_9 = l_Lean_Meta_simpExtension; -x_10 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(x_9, x_8); +x_10 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(x_9, x_8); lean_dec(x_8); -x_11 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2(x_10, x_1, x_2, x_3, x_7); +x_11 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2(x_10, x_1, x_2, x_3, x_7); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -12022,7 +12022,7 @@ return x_43; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1() { _start: { lean_object* x_1; @@ -12030,17 +12030,17 @@ x_1 = lean_mk_string("simp"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____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_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3() { _start: { lean_object* x_1; @@ -12048,12 +12048,12 @@ x_1 = lean_mk_string("simplification theorem"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -12062,29 +12062,29 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12092,72 +12092,72 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(x_1, x_2); +x_3 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____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* l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__3(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_SimpLemmas_eraseCore___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__3(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___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* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_7; } } -lean_object* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____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* l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_SimpLemmas_erase___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____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* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2___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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; @@ -12177,7 +12177,7 @@ x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_Meta_simpExtension; -x_8 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(x_7, x_6); +x_8 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(x_7, x_6); lean_dec(x_6); lean_ctor_set(x_3, 0, x_8); return x_3; @@ -12194,7 +12194,7 @@ x_11 = lean_ctor_get(x_9, 0); lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_Meta_simpExtension; -x_13 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1(x_12, x_11); +x_13 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1(x_12, x_11); lean_dec(x_11); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); @@ -14180,75 +14180,75 @@ l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lamb lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmaCore___lambda__2___closed__4); l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_mkSimpLemmasFromConst___closed__1); -l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__1); -l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__2); -l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__3); -l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4(); -lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____spec__1___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__14); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__15); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__16); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__17); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__18); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__19); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__20); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__21); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__22); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____lambda__1___closed__23); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305____closed__7); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2305_(lean_io_mk_world()); +l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__1); +l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__2); +l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__3); +l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4 = _init_l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____spec__1___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__14); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__15); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__16); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__17); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__18); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__19); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__20); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__21); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__22); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____lambda__1___closed__23); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308____closed__7); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2308_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Meta_SimpLemma_getValue___closed__1 = _init_l_Lean_Meta_SimpLemma_getValue___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Subst.c b/stage0/stdlib/Lean/Meta/Tactic/Subst.c index f2fca239af..e14fd02c24 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Subst.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Subst.c @@ -14,75 +14,79 @@ extern "C" { #endif lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__13; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__6; +lean_object* l_Lean_Meta_substCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Meta_substCore___lambda__3___boxed(lean_object**); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(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_Meta_substCore___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__10(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__21; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_subst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Meta_subst___lambda__2___closed__2; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__23; uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_subst___lambda__2___closed__4; static lean_object* l_Lean_Meta_substCore___lambda__14___closed__2; lean_object* l_Lean_Meta_subst_match__1(lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__7___boxed(lean_object**); +lean_object* l_Lean_Meta_substCore___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__21; +lean_object* l_Lean_Meta_substCore___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__21(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Meta_subst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_substCore___lambda__14___closed__1; -lean_object* l_Lean_Meta_substCore___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__23; +lean_object* l_Lean_Meta_substCore___lambda__14___boxed(lean_object**); static lean_object* l_Lean_Meta_subst___lambda__1___closed__2; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__13; 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_Meta_withLocalDecl___at_Lean_Meta_substCore___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__7; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__24; lean_object* l_Lean_Meta_substCore___lambda__12___boxed(lean_object**); -lean_object* l_Lean_Meta_substCore___lambda__2___boxed(lean_object**); +lean_object* l_Lean_Meta_substCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__29; +lean_object* l_Lean_Meta_substCore___lambda__16___boxed(lean_object**); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_substCore___lambda__14___closed__6; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__10; lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__20; static lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__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*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__8___boxed(lean_object**); static lean_object* l_Lean_Meta_subst___lambda__2___closed__5; lean_object* l_Lean_MessageData_ofList(lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__1; lean_object* l_Lean_Meta_subst_match__2(lean_object*); static lean_object* l_Lean_Meta_subst___lambda__2___closed__1; -lean_object* l_Lean_Meta_substCore___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_substCore___lambda__14___closed__5; lean_object* l_Lean_Meta_substCore_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_subst___lambda__2___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___spec__5(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*); +static lean_object* l_Lean_Meta_substCore___lambda__20___closed__3; lean_object* l_Lean_LocalContext_findDeclM_x3f___at_Lean_Meta_subst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__16; uint8_t l_USize_decLt(size_t, size_t); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__25; lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_subst_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_subst_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__3; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__19; lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findDeclM_x3f___at_Lean_Meta_subst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__11; lean_object* l_Lean_Meta_subst_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,124 +95,134 @@ lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1___boxed(lean_ob uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__31; +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__2; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__19; static lean_object* l_Lean_Meta_substCore___lambda__14___closed__4; lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__6; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__28; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___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*, lean_object*); static lean_object* l_Lean_Meta_substCore___lambda__14___closed__8; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__17; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Meta_subst_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__27; lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_substCore_match__3(lean_object*); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__9; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__14; lean_object* l_Lean_Meta_substCore___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__22; +lean_object* l_Lean_Meta_substCore___lambda__18___boxed(lean_object**); lean_object* l_Lean_Meta_subst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___spec__4(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* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__25; lean_object* l_Lean_Meta_mkEqNDRec(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_Lean_Meta_substCore___lambda__10___boxed(lean_object**); -lean_object* l_Lean_Meta_substCore___lambda__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_Lean_Meta_substCore___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__4___boxed(lean_object**); +static lean_object* l_Lean_Meta_substCore___lambda__18___closed__2; +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__4; +static lean_object* l_Lean_Meta_substCore___lambda__19___closed__2; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_substCore___spec__5(lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__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*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__19___closed__1; +lean_object* l_Lean_Meta_substCore___lambda__11(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__13___boxed(lean_object**); lean_object* l_Lean_Meta_subst_match__3(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__1; -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__4; lean_object* l_Lean_mkFVar(lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__32; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__10; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__6___boxed(lean_object**); +lean_object* l_Lean_Meta_substCore___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__19___closed__3; +static lean_object* l_Lean_Meta_substCore___lambda__18___closed__1; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__5; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_MetavarContext_exprDependsOn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__17___closed__1; lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__20; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__26; -lean_object* l_Lean_Meta_substCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_subst_match__4(lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__17___boxed(lean_object**); lean_object* l_Lean_Meta_substCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__9; lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__12; +lean_object* l_Lean_Meta_substCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__2; lean_object* l_Lean_Meta_FVarSubst_insert(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_substCore___spec__2(lean_object*); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_substCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__7; +lean_object* l_Lean_Meta_substCore___lambda__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_subst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__11___boxed(lean_object**); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__27; +lean_object* l_Lean_Meta_substCore___lambda__11___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*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___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_Lean_Meta_substCore___lambda__9___boxed(lean_object**); lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__8; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__17; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__7; lean_object* l_Lean_Meta_substCore_match__1(lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_Meta_substCore_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__5; extern lean_object* l_Lean_instInhabitedName; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__28; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__14; -lean_object* l_Lean_Meta_substCore___lambda__14(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__17___closed__2; +static lean_object* l_Lean_Meta_substCore___lambda__20___closed__2; +lean_object* l_Lean_Meta_substCore___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__1; -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__4; +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__6; static lean_object* l_Lean_Meta_subst___lambda__2___closed__6; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__15; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_1816_(lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__30; +lean_object* l_Lean_Meta_substCore___lambda__15___boxed(lean_object**); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_2023_(lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__2; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__18; static lean_object* l_Lean_Meta_substCore___lambda__14___closed__3; -lean_object* l_Lean_Meta_substCore___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__2; +lean_object* l_Lean_Meta_substCore___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_substCore___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__24; -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__1; -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__8; +static lean_object* l_Lean_Meta_substCore___lambda__20___closed__1; +lean_object* l_Lean_Meta_substCore___lambda__20___boxed(lean_object**); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__15; lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Meta_subst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__4; -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__2; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__22; -static lean_object* l_Lean_Meta_substCore___lambda__14___closed__16; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__3; +lean_object* l_Lean_Meta_substCore___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__18; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_substCore___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__3; lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__3; +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__12; lean_object* l_Lean_Meta_substCore_match__2(lean_object*); static lean_object* l_Lean_Meta_substCore___lambda__14___closed__7; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__20___closed__4; static lean_object* l_Lean_Meta_subst___lambda__1___closed__1; lean_object* l_Lean_Meta_substCore_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__2___closed__5; lean_object* l_Lean_indentExpr(lean_object*); -lean_object* l_Lean_Meta_substCore___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__5; -static lean_object* l_Lean_Meta_substCore___lambda__13___closed__6; -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__5; -lean_object* l_Lean_Meta_substCore___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__11; +lean_object* l_Lean_Meta_substCore___lambda__5(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_substCore___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_substCore___lambda__11___closed__3; -static lean_object* l_Lean_Meta_substCore___lambda__1___closed__6; +lean_object* l_Lean_Meta_substCore___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_substCore___lambda__21___closed__26; uint8_t l_Lean_LocalDecl_isLet(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_subst___spec__6(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* l_Lean_Meta_substCore_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -525,7 +539,89 @@ return x_12; } } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__1() { +lean_object* l_Lean_Meta_substCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_get_size(x_1); +lean_inc(x_17); +x_18 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1(x_2, x_1, x_17, x_17, x_3, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_17); +if (x_4 == 0) +{ +uint8_t x_19; +lean_dec(x_10); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_18, 0); +x_21 = l_Lean_Meta_FVarSubst_insert(x_20, x_5, x_6); +x_22 = l_Lean_Meta_FVarSubst_insert(x_21, x_7, x_8); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +lean_ctor_set(x_18, 0, x_23); +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = l_Lean_Meta_FVarSubst_insert(x_24, x_5, x_6); +x_27 = l_Lean_Meta_FVarSubst_insert(x_26, x_7, x_8); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_9); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_25); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_18); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_18, 0); +x_32 = l_Lean_Meta_FVarSubst_insert(x_31, x_5, x_10); +x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_7, x_8); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_9); +lean_ctor_set(x_18, 0, x_34); +return x_18; +} +else +{ +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_35 = lean_ctor_get(x_18, 0); +x_36 = lean_ctor_get(x_18, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_18); +x_37 = l_Lean_Meta_FVarSubst_insert(x_35, x_5, x_10); +x_38 = l_Lean_Meta_FVarSubst_insert(x_37, x_7, x_8); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_9); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +} +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -533,16 +629,16 @@ x_1 = lean_mk_string("after intro rest "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__1___closed__1; +x_1 = l_Lean_Meta_substCore___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -550,16 +646,16 @@ x_1 = lean_mk_string(" "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__1___closed__3; +x_1 = l_Lean_Meta_substCore___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -567,16 +663,16 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__1___closed__5; +x_1 = l_Lean_Meta_substCore___lambda__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_substCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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* l_Lean_Meta_substCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; @@ -594,7 +690,7 @@ lean_inc(x_19); x_22 = l_Lean_Meta_introNCore(x_11, x_19, x_2, x_20, x_21, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_54; lean_object* x_55; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -604,197 +700,104 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_27 = x_23; -} else { - lean_dec_ref(x_23); - x_27 = lean_box(0); -} -x_69 = lean_st_ref_get(x_15, x_24); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 3); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); -lean_dec(x_71); -if (x_72 == 0) +lean_dec(x_23); +x_46 = lean_st_ref_get(x_15, x_24); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_73; -x_73 = lean_ctor_get(x_69, 1); -lean_inc(x_73); -lean_dec(x_69); -x_54 = x_20; -x_55 = x_73; -goto block_68; +lean_object* x_50; +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); +x_27 = x_20; +x_28 = x_50; +goto block_45; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); +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_46, 1); +lean_inc(x_51); +lean_dec(x_46); lean_inc(x_10); -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_54 = x_78; -x_55 = x_77; -goto block_68; +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, 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_27 = x_55; +x_28 = x_54; +goto block_45; } -block_53: +block_45: +{ +if (x_27 == 0) { lean_object* x_29; lean_object* x_30; -x_29 = lean_array_get_size(x_25); -lean_inc(x_29); -x_30 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1(x_1, x_25, x_29, x_29, x_3, x_12, x_13, x_14, x_15, x_28); +lean_dec(x_19); +lean_dec(x_10); +x_29 = lean_box(0); +x_30 = l_Lean_Meta_substCore___lambda__1(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_29, x_12, x_13, x_14, x_15, x_28); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_29); lean_dec(x_25); -if (x_4 == 0) -{ -uint8_t x_31; -lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (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_30, 0); -x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_5, x_6); -x_34 = l_Lean_Meta_FVarSubst_insert(x_33, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_27; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_26); -lean_ctor_set(x_30, 0, x_35); return x_30; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = l_Lean_Meta_FVarSubst_insert(x_36, x_5, x_6); -x_39 = l_Lean_Meta_FVarSubst_insert(x_38, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_27; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_26); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_6); -x_42 = !lean_is_exclusive(x_30); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_30, 0); -x_44 = l_Lean_Meta_FVarSubst_insert(x_43, x_5, x_9); -x_45 = l_Lean_Meta_FVarSubst_insert(x_44, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_27; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_26); -lean_ctor_set(x_30, 0, x_46); -return x_30; -} -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_ctor_get(x_30, 0); -x_48 = lean_ctor_get(x_30, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_30); -x_49 = l_Lean_Meta_FVarSubst_insert(x_47, x_5, x_9); -x_50 = l_Lean_Meta_FVarSubst_insert(x_49, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_27; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_26); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_48); -return x_52; -} -} -} -block_68: -{ -if (x_54 == 0) -{ -lean_dec(x_19); -lean_dec(x_10); -x_28 = x_55; -goto block_53; -} -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; -x_56 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = l_Lean_Meta_substCore___lambda__1___closed__2; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Meta_substCore___lambda__1___closed__4; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); +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_31 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Meta_substCore___lambda__2___closed__2; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Meta_substCore___lambda__2___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); lean_inc(x_26); -x_62 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_62, 0, x_26); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Meta_substCore___lambda__1___closed__6; -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_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_65, x_12, x_13, x_14, x_15, x_55); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_28 = x_67; -goto block_53; +x_37 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_37, 0, x_26); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_40, x_12, x_13, x_14, x_15, x_28); +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_Lean_Meta_substCore___lambda__1(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_42, x_12, x_13, x_14, x_15, x_43); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_42); +lean_dec(x_25); +return x_44; } } } else { -uint8_t x_79; +uint8_t x_56; lean_dec(x_19); lean_dec(x_15); lean_dec(x_14); @@ -807,28 +810,28 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_79 = !lean_is_exclusive(x_22); -if (x_79 == 0) +x_56 = !lean_is_exclusive(x_22); +if (x_56 == 0) { return x_22; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_22, 0); -x_81 = lean_ctor_get(x_22, 1); -lean_inc(x_81); -lean_inc(x_80); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_22, 0); +x_58 = lean_ctor_get(x_22, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_22); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } -lean_object* l_Lean_Meta_substCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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* l_Lean_Meta_substCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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) { _start: { lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -842,7 +845,7 @@ if (x_6 == 0) lean_object* x_24; lean_dec(x_14); lean_dec(x_13); -x_24 = l_Lean_Meta_substCore___lambda__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); +x_24 = l_Lean_Meta_substCore___lambda__2(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); return x_24; } else @@ -874,7 +877,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_Meta_substCore___lambda__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); +x_31 = l_Lean_Meta_substCore___lambda__2(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); return x_31; } else @@ -950,7 +953,7 @@ return x_39; } } } -lean_object* l_Lean_Meta_substCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t 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* l_Lean_Meta_substCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t 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) { _start: { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -975,7 +978,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Lean_Meta_substCore___lambda__2(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); +x_29 = l_Lean_Meta_substCore___lambda__3(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); lean_dec(x_24); return x_29; } @@ -1019,7 +1022,7 @@ return x_33; } } } -lean_object* l_Lean_Meta_substCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_substCore___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -1081,7 +1084,89 @@ return x_23; } } } -lean_object* l_Lean_Meta_substCore___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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* l_Lean_Meta_substCore___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_get_size(x_1); +lean_inc(x_17); +x_18 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__3(x_2, x_1, x_17, x_17, x_3, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_17); +if (x_4 == 0) +{ +uint8_t x_19; +lean_dec(x_10); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_18, 0); +x_21 = l_Lean_Meta_FVarSubst_insert(x_20, x_5, x_6); +x_22 = l_Lean_Meta_FVarSubst_insert(x_21, x_7, x_8); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +lean_ctor_set(x_18, 0, x_23); +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = l_Lean_Meta_FVarSubst_insert(x_24, x_5, x_6); +x_27 = l_Lean_Meta_FVarSubst_insert(x_26, x_7, x_8); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_9); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_25); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_18); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_18, 0); +x_32 = l_Lean_Meta_FVarSubst_insert(x_31, x_5, x_10); +x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_7, x_8); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_9); +lean_ctor_set(x_18, 0, x_34); +return x_18; +} +else +{ +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_35 = lean_ctor_get(x_18, 0); +x_36 = lean_ctor_get(x_18, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_18); +x_37 = l_Lean_Meta_FVarSubst_insert(x_35, x_5, x_10); +x_38 = l_Lean_Meta_FVarSubst_insert(x_37, x_7, x_8); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_9); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +} +} +} +lean_object* l_Lean_Meta_substCore___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; @@ -1099,7 +1184,7 @@ lean_inc(x_19); x_22 = l_Lean_Meta_introNCore(x_11, x_19, x_2, x_20, x_21, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_54; lean_object* x_55; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -1109,197 +1194,104 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_27 = x_23; -} else { - lean_dec_ref(x_23); - x_27 = lean_box(0); -} -x_69 = lean_st_ref_get(x_15, x_24); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 3); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); -lean_dec(x_71); -if (x_72 == 0) +lean_dec(x_23); +x_46 = lean_st_ref_get(x_15, x_24); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_73; -x_73 = lean_ctor_get(x_69, 1); -lean_inc(x_73); -lean_dec(x_69); -x_54 = x_20; -x_55 = x_73; -goto block_68; +lean_object* x_50; +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); +x_27 = x_20; +x_28 = x_50; +goto block_45; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); +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_46, 1); +lean_inc(x_51); +lean_dec(x_46); lean_inc(x_10); -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_54 = x_78; -x_55 = x_77; -goto block_68; +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, 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_27 = x_55; +x_28 = x_54; +goto block_45; } -block_53: +block_45: +{ +if (x_27 == 0) { lean_object* x_29; lean_object* x_30; -x_29 = lean_array_get_size(x_25); -lean_inc(x_29); -x_30 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__3(x_1, x_25, x_29, x_29, x_3, x_12, x_13, x_14, x_15, x_28); +lean_dec(x_19); +lean_dec(x_10); +x_29 = lean_box(0); +x_30 = l_Lean_Meta_substCore___lambda__6(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_29, x_12, x_13, x_14, x_15, x_28); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_29); lean_dec(x_25); -if (x_4 == 0) -{ -uint8_t x_31; -lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (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_30, 0); -x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_5, x_6); -x_34 = l_Lean_Meta_FVarSubst_insert(x_33, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_27; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_26); -lean_ctor_set(x_30, 0, x_35); return x_30; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = l_Lean_Meta_FVarSubst_insert(x_36, x_5, x_6); -x_39 = l_Lean_Meta_FVarSubst_insert(x_38, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_27; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_26); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_6); -x_42 = !lean_is_exclusive(x_30); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_30, 0); -x_44 = l_Lean_Meta_FVarSubst_insert(x_43, x_5, x_9); -x_45 = l_Lean_Meta_FVarSubst_insert(x_44, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_27; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_26); -lean_ctor_set(x_30, 0, x_46); -return x_30; -} -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_ctor_get(x_30, 0); -x_48 = lean_ctor_get(x_30, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_30); -x_49 = l_Lean_Meta_FVarSubst_insert(x_47, x_5, x_9); -x_50 = l_Lean_Meta_FVarSubst_insert(x_49, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_27; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_26); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_48); -return x_52; -} -} -} -block_68: -{ -if (x_54 == 0) -{ -lean_dec(x_19); -lean_dec(x_10); -x_28 = x_55; -goto block_53; -} -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; -x_56 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = l_Lean_Meta_substCore___lambda__1___closed__2; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Meta_substCore___lambda__1___closed__4; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); +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_31 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Meta_substCore___lambda__2___closed__2; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Meta_substCore___lambda__2___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); lean_inc(x_26); -x_62 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_62, 0, x_26); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Meta_substCore___lambda__1___closed__6; -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_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_65, x_12, x_13, x_14, x_15, x_55); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_28 = x_67; -goto block_53; +x_37 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_37, 0, x_26); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_40, x_12, x_13, x_14, x_15, x_28); +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_Lean_Meta_substCore___lambda__6(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_42, x_12, x_13, x_14, x_15, x_43); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_42); +lean_dec(x_25); +return x_44; } } } else { -uint8_t x_79; +uint8_t x_56; lean_dec(x_19); lean_dec(x_15); lean_dec(x_14); @@ -1312,28 +1304,28 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_79 = !lean_is_exclusive(x_22); -if (x_79 == 0) +x_56 = !lean_is_exclusive(x_22); +if (x_56 == 0) { return x_22; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_22, 0); -x_81 = lean_ctor_get(x_22, 1); -lean_inc(x_81); -lean_inc(x_80); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_22, 0); +x_58 = lean_ctor_get(x_22, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_22); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } -lean_object* l_Lean_Meta_substCore___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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* l_Lean_Meta_substCore___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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) { _start: { lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -1347,7 +1339,7 @@ if (x_6 == 0) lean_object* x_24; lean_dec(x_14); lean_dec(x_13); -x_24 = l_Lean_Meta_substCore___lambda__5(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); +x_24 = l_Lean_Meta_substCore___lambda__7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); return x_24; } else @@ -1379,7 +1371,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_Meta_substCore___lambda__5(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); +x_31 = l_Lean_Meta_substCore___lambda__7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); return x_31; } else @@ -1455,7 +1447,7 @@ return x_39; } } } -lean_object* l_Lean_Meta_substCore___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t 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* l_Lean_Meta_substCore___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t 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) { _start: { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -1480,7 +1472,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Lean_Meta_substCore___lambda__6(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); +x_29 = l_Lean_Meta_substCore___lambda__8(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); lean_dec(x_24); return x_29; } @@ -1524,7 +1516,89 @@ return x_33; } } } -lean_object* l_Lean_Meta_substCore___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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* l_Lean_Meta_substCore___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_get_size(x_1); +lean_inc(x_17); +x_18 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__4(x_2, x_1, x_17, x_17, x_3, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_17); +if (x_4 == 0) +{ +uint8_t x_19; +lean_dec(x_10); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_18, 0); +x_21 = l_Lean_Meta_FVarSubst_insert(x_20, x_5, x_6); +x_22 = l_Lean_Meta_FVarSubst_insert(x_21, x_7, x_8); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +lean_ctor_set(x_18, 0, x_23); +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = l_Lean_Meta_FVarSubst_insert(x_24, x_5, x_6); +x_27 = l_Lean_Meta_FVarSubst_insert(x_26, x_7, x_8); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_9); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_25); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_18); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_18, 0); +x_32 = l_Lean_Meta_FVarSubst_insert(x_31, x_5, x_10); +x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_7, x_8); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_9); +lean_ctor_set(x_18, 0, x_34); +return x_18; +} +else +{ +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_35 = lean_ctor_get(x_18, 0); +x_36 = lean_ctor_get(x_18, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_18); +x_37 = l_Lean_Meta_FVarSubst_insert(x_35, x_5, x_10); +x_38 = l_Lean_Meta_FVarSubst_insert(x_37, x_7, x_8); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_9); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_36); +return x_40; +} +} +} +} +lean_object* l_Lean_Meta_substCore___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; @@ -1542,7 +1616,7 @@ lean_inc(x_19); x_22 = l_Lean_Meta_introNCore(x_11, x_19, x_2, x_20, x_21, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_54; lean_object* x_55; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -1552,197 +1626,104 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_27 = x_23; -} else { - lean_dec_ref(x_23); - x_27 = lean_box(0); -} -x_69 = lean_st_ref_get(x_15, x_24); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 3); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); -lean_dec(x_71); -if (x_72 == 0) +lean_dec(x_23); +x_46 = lean_st_ref_get(x_15, x_24); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get_uint8(x_48, sizeof(void*)*1); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_73; -x_73 = lean_ctor_get(x_69, 1); -lean_inc(x_73); -lean_dec(x_69); -x_54 = x_20; -x_55 = x_73; -goto block_68; +lean_object* x_50; +x_50 = lean_ctor_get(x_46, 1); +lean_inc(x_50); +lean_dec(x_46); +x_27 = x_20; +x_28 = x_50; +goto block_45; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); +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_46, 1); +lean_inc(x_51); +lean_dec(x_46); lean_inc(x_10); -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unbox(x_76); -lean_dec(x_76); -x_54 = x_78; -x_55 = x_77; -goto block_68; +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_12, x_13, x_14, x_15, 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_27 = x_55; +x_28 = x_54; +goto block_45; } -block_53: +block_45: +{ +if (x_27 == 0) { lean_object* x_29; lean_object* x_30; -x_29 = lean_array_get_size(x_25); -lean_inc(x_29); -x_30 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__4(x_1, x_25, x_29, x_29, x_3, x_12, x_13, x_14, x_15, x_28); +lean_dec(x_19); +lean_dec(x_10); +x_29 = lean_box(0); +x_30 = l_Lean_Meta_substCore___lambda__10(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_29, x_12, x_13, x_14, x_15, x_28); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_29); lean_dec(x_25); -if (x_4 == 0) -{ -uint8_t x_31; -lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (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_30, 0); -x_33 = l_Lean_Meta_FVarSubst_insert(x_32, x_5, x_6); -x_34 = l_Lean_Meta_FVarSubst_insert(x_33, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_27; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_26); -lean_ctor_set(x_30, 0, x_35); return x_30; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = l_Lean_Meta_FVarSubst_insert(x_36, x_5, x_6); -x_39 = l_Lean_Meta_FVarSubst_insert(x_38, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_27; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_26); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_6); -x_42 = !lean_is_exclusive(x_30); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_30, 0); -x_44 = l_Lean_Meta_FVarSubst_insert(x_43, x_5, x_9); -x_45 = l_Lean_Meta_FVarSubst_insert(x_44, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_27; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_26); -lean_ctor_set(x_30, 0, x_46); -return x_30; -} -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_ctor_get(x_30, 0); -x_48 = lean_ctor_get(x_30, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_30); -x_49 = l_Lean_Meta_FVarSubst_insert(x_47, x_5, x_9); -x_50 = l_Lean_Meta_FVarSubst_insert(x_49, x_7, x_8); -if (lean_is_scalar(x_27)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_27; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_26); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_48); -return x_52; -} -} -} -block_68: -{ -if (x_54 == 0) -{ -lean_dec(x_19); -lean_dec(x_10); -x_28 = x_55; -goto block_53; -} -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; -x_56 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = l_Lean_Meta_substCore___lambda__1___closed__2; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Meta_substCore___lambda__1___closed__4; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); +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_31 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_19); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Meta_substCore___lambda__2___closed__2; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Meta_substCore___lambda__2___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); lean_inc(x_26); -x_62 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_62, 0, x_26); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Meta_substCore___lambda__1___closed__6; -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_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_65, x_12, x_13, x_14, x_15, x_55); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_28 = x_67; -goto block_53; +x_37 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_37, 0, x_26); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_40, x_12, x_13, x_14, x_15, x_28); +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_Lean_Meta_substCore___lambda__10(x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_26, x_9, x_42, x_12, x_13, x_14, x_15, x_43); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_42); +lean_dec(x_25); +return x_44; } } } else { -uint8_t x_79; +uint8_t x_56; lean_dec(x_19); lean_dec(x_15); lean_dec(x_14); @@ -1755,28 +1736,28 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_79 = !lean_is_exclusive(x_22); -if (x_79 == 0) +x_56 = !lean_is_exclusive(x_22); +if (x_56 == 0) { return x_22; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_22, 0); -x_81 = lean_ctor_get(x_22, 1); -lean_inc(x_81); -lean_inc(x_80); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_22, 0); +x_58 = lean_ctor_get(x_22, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_22); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } -lean_object* l_Lean_Meta_substCore___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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* l_Lean_Meta_substCore___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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) { _start: { lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -1790,7 +1771,7 @@ if (x_6 == 0) lean_object* x_24; lean_dec(x_14); lean_dec(x_13); -x_24 = l_Lean_Meta_substCore___lambda__8(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); +x_24 = l_Lean_Meta_substCore___lambda__11(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_16, x_17, x_18, x_19, x_22); return x_24; } else @@ -1822,7 +1803,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_Meta_substCore___lambda__8(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); +x_31 = l_Lean_Meta_substCore___lambda__11(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29, x_16, x_17, x_18, x_19, x_30); return x_31; } else @@ -1898,7 +1879,7 @@ return x_39; } } } -lean_object* l_Lean_Meta_substCore___lambda__10(lean_object* x_1, lean_object* x_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, 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* l_Lean_Meta_substCore___lambda__13(lean_object* x_1, lean_object* x_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, 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) { _start: { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -1923,7 +1904,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Lean_Meta_substCore___lambda__9(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); +x_29 = l_Lean_Meta_substCore___lambda__12(x_3, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_27, x_18, x_19, x_20, x_21, x_28); lean_dec(x_24); return x_29; } @@ -1967,7 +1948,7 @@ return x_33; } } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__1() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1976,7 +1957,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__2() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__2() { _start: { lean_object* x_1; @@ -1984,17 +1965,17 @@ x_1 = lean_mk_string("_h"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__3() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_substCore___lambda__11___closed__2; +x_2 = l_Lean_Meta_substCore___lambda__14___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__4() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__4() { _start: { lean_object* x_1; @@ -2003,7 +1984,7 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__5() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__5() { _start: { lean_object* x_1; @@ -2011,7 +1992,7 @@ x_1 = lean_mk_string("Lean.Meta.Tactic.Subst"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__6() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__6() { _start: { lean_object* x_1; @@ -2019,7 +2000,7 @@ x_1 = lean_mk_string("Lean.Meta.substCore"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__7() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__7() { _start: { lean_object* x_1; @@ -2027,20 +2008,20 @@ x_1 = lean_mk_string("unreachable code has been reached"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__11___closed__8() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Meta_substCore___lambda__11___closed__5; -x_2 = l_Lean_Meta_substCore___lambda__11___closed__6; +x_1 = l_Lean_Meta_substCore___lambda__14___closed__5; +x_2 = l_Lean_Meta_substCore___lambda__14___closed__6; x_3 = lean_unsigned_to_nat(66u); x_4 = lean_unsigned_to_nat(22u); -x_5 = l_Lean_Meta_substCore___lambda__11___closed__7; +x_5 = l_Lean_Meta_substCore___lambda__14___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_Lean_Meta_substCore___lambda__11(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, uint8_t x_8, lean_object* x_9, 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, lean_object* x_20) { +lean_object* l_Lean_Meta_substCore___lambda__14(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, uint8_t x_8, lean_object* x_9, 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, lean_object* x_20) { _start: { lean_object* x_21; @@ -2099,8 +2080,8 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_116 = l_Lean_Meta_substCore___lambda__11___closed__4; -x_117 = l_Lean_Meta_substCore___lambda__11___closed__8; +x_116 = l_Lean_Meta_substCore___lambda__14___closed__4; +x_117 = l_Lean_Meta_substCore___lambda__14___closed__8; x_118 = lean_panic_fn(x_116, x_117); x_119 = lean_apply_5(x_118, x_16, x_17, x_18, x_19, x_31); return x_119; @@ -2170,7 +2151,7 @@ if (x_43 == 0) { lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_dec(x_15); -x_44 = l_Lean_Meta_substCore___lambda__11___closed__1; +x_44 = l_Lean_Meta_substCore___lambda__14___closed__1; lean_inc(x_3); x_45 = lean_array_push(x_44, x_3); x_46 = 0; @@ -2206,7 +2187,7 @@ lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = l_Lean_Meta_substCore___lambda__3(x_51, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_49, x_53, x_16, x_17, x_18, x_19, x_54); +x_55 = l_Lean_Meta_substCore___lambda__4(x_51, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_49, x_53, x_16, x_17, x_18, x_19, x_54); return x_55; } else @@ -2254,7 +2235,7 @@ else { lean_object* x_60; lean_inc(x_11); -x_60 = l_Lean_Meta_substCore___lambda__3(x_51, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_49, x_11, x_16, x_17, x_18, x_19, x_50); +x_60 = l_Lean_Meta_substCore___lambda__4(x_51, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_49, x_11, x_16, x_17, x_18, x_19, x_50); return x_60; } } @@ -2341,12 +2322,12 @@ lean_inc(x_72); lean_dec(x_70); lean_inc(x_3); lean_inc(x_11); -x_73 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__4___boxed), 10, 4); +x_73 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__5___boxed), 10, 4); lean_closure_set(x_73, 0, x_24); lean_closure_set(x_73, 1, x_11); lean_closure_set(x_73, 2, x_15); lean_closure_set(x_73, 3, x_3); -x_74 = l_Lean_Meta_substCore___lambda__11___closed__3; +x_74 = l_Lean_Meta_substCore___lambda__14___closed__3; x_75 = 0; lean_inc(x_19); lean_inc(x_18); @@ -2375,7 +2356,7 @@ lean_inc(x_80); x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); lean_dec(x_79); -x_82 = l_Lean_Meta_substCore___lambda__7(x_69, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_77, x_80, x_16, x_17, x_18, x_19, x_81); +x_82 = l_Lean_Meta_substCore___lambda__9(x_69, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_77, x_80, x_16, x_17, x_18, x_19, x_81); return x_82; } else @@ -2521,7 +2502,7 @@ x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); lean_dec(x_99); lean_inc(x_11); -x_102 = l_Lean_Meta_substCore___lambda__10(x_69, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_100, x_11, x_16, x_17, x_18, x_19, x_101); +x_102 = l_Lean_Meta_substCore___lambda__13(x_69, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_3, x_10, x_11, x_34, x_12, x_2, x_13, x_100, x_11, x_16, x_17, x_18, x_19, x_101); return x_102; } else @@ -2769,7 +2750,7 @@ return x_135; } } } -lean_object* l_Lean_Meta_substCore___lambda__12(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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, uint8_t x_14, lean_object* x_15, uint8_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +lean_object* l_Lean_Meta_substCore___lambda__15(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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, uint8_t x_14, lean_object* x_15, uint8_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { if (x_16 == 0) @@ -2778,7 +2759,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_box(x_8); x_23 = lean_box(x_14); lean_inc(x_1); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__11___boxed), 20, 15); +x_24 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__14___boxed), 20, 15); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_2); lean_closure_set(x_24, 2, x_3); @@ -2931,7 +2912,397 @@ return x_49; } } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__1() { +lean_object* l_Lean_Meta_substCore___lambda__16(lean_object* x_1, lean_object* x_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, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = l_Lean_instInhabitedName; +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_get(x_20, x_1, x_21); +lean_inc(x_22); +x_23 = l_Lean_mkFVar(x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_array_get(x_20, x_1, x_24); +lean_inc(x_25); +x_26 = l_Lean_mkFVar(x_25); +if (x_13 == 0) +{ +uint8_t x_27; lean_object* x_28; +x_27 = 0; +x_28 = l_Lean_Meta_substCore___lambda__15(x_2, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_10, x_22, x_11, x_12, x_27, x_15, x_16, x_17, x_18, x_19); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_array_get_size(x_4); +x_30 = lean_unsigned_to_nat(2u); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_29); +if (x_31 == 0) +{ +uint8_t x_32; lean_object* x_33; +x_32 = 0; +x_33 = l_Lean_Meta_substCore___lambda__15(x_2, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_10, x_22, x_11, x_12, x_32, x_15, x_16, x_17, x_18, x_19); +return x_33; +} +else +{ +lean_object* x_34; +lean_inc(x_2); +x_34 = l_Lean_Meta_getMVarType(x_2, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_18, x_36); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_get(x_16, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +lean_dec(x_40); +lean_inc(x_35); +lean_inc(x_42); +x_43 = l_Lean_MetavarContext_exprDependsOn(x_42, x_35, x_22); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = l_Lean_MetavarContext_exprDependsOn(x_42, x_35, x_25); +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +uint8_t x_47; lean_object* x_48; +x_47 = 1; +x_48 = l_Lean_Meta_substCore___lambda__15(x_2, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_10, x_22, x_11, x_12, x_47, x_15, x_16, x_17, x_18, x_41); +return x_48; +} +else +{ +uint8_t x_49; lean_object* x_50; +x_49 = 0; +x_50 = l_Lean_Meta_substCore___lambda__15(x_2, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_10, x_22, x_11, x_12, x_49, x_15, x_16, x_17, x_18, x_41); +return x_50; +} +} +else +{ +uint8_t x_51; lean_object* x_52; +lean_dec(x_42); +lean_dec(x_35); +x_51 = 0; +x_52 = l_Lean_Meta_substCore___lambda__15(x_2, x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_10, x_22, x_11, x_12, x_51, x_15, x_16, x_17, x_18, x_41); +return x_52; +} +} +else +{ +uint8_t x_53; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_34); +if (x_53 == 0) +{ +return x_34; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_34, 0); +x_55 = lean_ctor_get(x_34, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_34); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__17___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("reverted variables "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__17___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__17___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_substCore___lambda__17(lean_object* x_1, lean_object* x_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, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +uint8_t x_20; lean_object* x_21; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_st_ref_get(x_18, x_19); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +x_41 = 0; +x_20 = x_41; +x_21 = x_40; +goto block_35; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +lean_inc(x_10); +x_43 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_15, x_16, x_17, x_18, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_20 = x_46; +x_21 = x_45; +goto block_35; +} +block_35: +{ +if (x_20 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Meta_substCore___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22, x_15, x_16, x_17, x_18, x_21); +return x_23; +} +else +{ +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_inc(x_4); +x_24 = lean_array_to_list(lean_box(0), x_4); +x_25 = l_List_map___at_Lean_Meta_substCore___spec__5(x_24); +x_26 = l_Lean_MessageData_ofList(x_25); +lean_dec(x_25); +x_27 = l_Lean_Meta_substCore___lambda__17___closed__2; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +lean_inc(x_10); +x_31 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_30, x_15, x_16, x_17, x_18, x_21); +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_Lean_Meta_substCore___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_32, x_15, x_16, x_17, x_18, x_33); +lean_dec(x_32); +return x_34; +} +} +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__18___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("after intro2 "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__18___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__18___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_substCore___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, uint8_t 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) { +_start: +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_box(0); +x_19 = lean_unsigned_to_nat(2u); +x_20 = 0; +x_21 = 1; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_22 = l_Lean_Meta_introNCore(x_1, x_19, x_18, x_20, x_21, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_41 = lean_st_ref_get(x_16, x_24); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); +lean_dec(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_27 = x_20; +x_28 = x_45; +goto block_40; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +lean_dec(x_41); +lean_inc(x_8); +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_13, x_14, x_15, x_16, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_27 = x_50; +x_28 = x_49; +goto block_40; +} +block_40: +{ +if (x_27 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = l_Lean_Meta_substCore___lambda__17(x_25, x_26, x_2, x_3, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29, x_13, x_14, x_15, x_16, x_28); +lean_dec(x_25); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_inc(x_26); +x_31 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_31, 0, x_26); +x_32 = l_Lean_Meta_substCore___lambda__18___closed__2; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_8); +x_36 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_35, x_13, x_14, x_15, x_16, x_28); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_substCore___lambda__17(x_25, x_26, x_2, x_3, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37, x_13, x_14, x_15, x_16, x_38); +lean_dec(x_37); +lean_dec(x_25); +return x_39; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_22); +if (x_51 == 0) +{ +return x_22; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_22, 0); +x_53 = lean_ctor_get(x_22, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_22); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__19___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2940,41 +3311,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("reverted variables "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__13___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("after intro2 "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__13___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__6() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__19___closed__2() { _start: { lean_object* x_1; @@ -2982,16 +3319,16 @@ x_1 = lean_mk_string("after revert "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__7() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__19___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__13___closed__6; +x_1 = l_Lean_Meta_substCore___lambda__19___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_substCore___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, uint8_t x_8, uint8_t 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* l_Lean_Meta_substCore___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, uint8_t x_8, uint8_t 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) { _start: { lean_object* x_16; @@ -3004,7 +3341,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_Meta_substCore___lambda__13___closed__1; +x_18 = l_Lean_Meta_substCore___lambda__19___closed__1; lean_inc(x_1); x_19 = lean_array_push(x_18, x_1); lean_inc(x_2); @@ -3017,7 +3354,7 @@ lean_inc(x_11); x_22 = l_Lean_Meta_revert(x_3, x_20, x_21, x_11, x_12, x_13, x_14, x_17); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -3028,366 +3365,83 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); lean_dec(x_23); -x_116 = lean_st_ref_get(x_14, x_24); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_117, 3); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_ctor_get_uint8(x_118, sizeof(void*)*1); -lean_dec(x_118); -if (x_119 == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_116, 1); -lean_inc(x_120); -lean_dec(x_116); -x_27 = x_120; -goto block_115; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = lean_ctor_get(x_116, 1); -lean_inc(x_121); -lean_dec(x_116); -lean_inc(x_7); -x_122 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_11, x_12, x_13, x_14, x_121); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_unbox(x_123); -lean_dec(x_123); -if (x_124 == 0) -{ -lean_object* x_125; -x_125 = lean_ctor_get(x_122, 1); -lean_inc(x_125); -lean_dec(x_122); -x_27 = x_125; -goto block_115; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_126 = lean_ctor_get(x_122, 1); -lean_inc(x_126); -lean_dec(x_122); -lean_inc(x_26); -x_127 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_127, 0, x_26); -x_128 = l_Lean_Meta_substCore___lambda__13___closed__7; -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -lean_inc(x_7); -x_132 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_131, x_11, x_12, x_13, x_14, x_126); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_27 = x_133; -goto block_115; -} -} -block_115: -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_28 = lean_box(0); -x_29 = lean_unsigned_to_nat(2u); -x_30 = 0; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_31 = l_Lean_Meta_introNCore(x_26, x_29, x_28, x_30, x_21, x_11, x_12, x_13, x_14, x_27); -if (lean_obj_tag(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_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -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 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_93 = lean_st_ref_get(x_14, x_33); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 3); -lean_inc(x_95); -lean_dec(x_94); -x_96 = lean_ctor_get_uint8(x_95, sizeof(void*)*1); -lean_dec(x_95); -if (x_96 == 0) -{ -lean_object* x_97; -x_97 = lean_ctor_get(x_93, 1); -lean_inc(x_97); -lean_dec(x_93); -x_36 = x_97; -goto block_92; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_98 = lean_ctor_get(x_93, 1); -lean_inc(x_98); -lean_dec(x_93); -lean_inc(x_7); -x_99 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_11, x_12, x_13, x_14, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_unbox(x_100); -lean_dec(x_100); -if (x_101 == 0) -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_99, 1); -lean_inc(x_102); -lean_dec(x_99); -x_36 = x_102; -goto block_92; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_103 = lean_ctor_get(x_99, 1); -lean_inc(x_103); -lean_dec(x_99); -lean_inc(x_35); -x_104 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_104, 0, x_35); -x_105 = l_Lean_Meta_substCore___lambda__13___closed__5; -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -x_107 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -lean_inc(x_7); -x_109 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_108, x_11, x_12, x_13, x_14, x_103); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_36 = x_110; -goto block_92; -} -} -block_92: -{ -lean_object* x_37; uint8_t x_70; lean_object* x_71; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_82 = lean_st_ref_get(x_14, x_36); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_83, 3); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_ctor_get_uint8(x_84, sizeof(void*)*1); -lean_dec(x_84); -if (x_85 == 0) -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_82, 1); -lean_inc(x_86); -lean_dec(x_82); -x_70 = x_30; -x_71 = x_86; -goto block_81; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_dec(x_82); -lean_inc(x_7); -x_88 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_11, x_12, x_13, x_14, x_87); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_unbox(x_89); -lean_dec(x_89); -x_70 = x_91; -x_71 = x_90; -goto block_81; -} -block_69: -{ -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_38 = l_Lean_instInhabitedName; -x_39 = lean_unsigned_to_nat(0u); -x_40 = lean_array_get(x_38, x_34, x_39); -lean_inc(x_40); -x_41 = l_Lean_mkFVar(x_40); -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_array_get(x_38, x_34, x_42); -lean_dec(x_34); +x_41 = lean_st_ref_get(x_14, x_24); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_42, 3); lean_inc(x_43); -x_44 = l_Lean_mkFVar(x_43); -if (x_9 == 0) -{ -lean_object* x_45; -x_45 = l_Lean_Meta_substCore___lambda__12(x_35, x_43, x_41, x_4, x_25, x_28, x_5, x_6, x_1, x_2, x_44, x_7, x_40, x_8, x_18, x_30, x_11, x_12, x_13, x_14, x_37); -return x_45; -} -else -{ -lean_object* x_46; uint8_t x_47; -x_46 = lean_array_get_size(x_25); -x_47 = lean_nat_dec_eq(x_46, x_29); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = l_Lean_Meta_substCore___lambda__12(x_35, x_43, x_41, x_4, x_25, x_28, x_5, x_6, x_1, x_2, x_44, x_7, x_40, x_8, x_18, x_30, x_11, x_12, x_13, x_14, x_37); -return x_48; -} -else -{ -lean_object* x_49; -lean_inc(x_35); -x_49 = l_Lean_Meta_getMVarType(x_35, x_11, x_12, x_13, x_14, x_37); -if (lean_obj_tag(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; uint8_t x_59; -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); -x_52 = lean_st_ref_get(x_14, x_51); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_st_ref_get(x_12, x_53); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 0); -lean_inc(x_57); -lean_dec(x_55); -lean_inc(x_50); -lean_inc(x_57); -x_58 = l_Lean_MetavarContext_exprDependsOn(x_57, x_50, x_40); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -if (x_59 == 0) -{ -lean_object* x_60; uint8_t x_61; -x_60 = l_Lean_MetavarContext_exprDependsOn(x_57, x_50, x_43); -x_61 = lean_unbox(x_60); -lean_dec(x_60); -if (x_61 == 0) -{ -lean_object* x_62; -x_62 = l_Lean_Meta_substCore___lambda__12(x_35, x_43, x_41, x_4, x_25, x_28, x_5, x_6, x_1, x_2, x_44, x_7, x_40, x_8, x_18, x_21, x_11, x_12, x_13, x_14, x_56); -return x_62; -} -else -{ -lean_object* x_63; -x_63 = l_Lean_Meta_substCore___lambda__12(x_35, x_43, x_41, x_4, x_25, x_28, x_5, x_6, x_1, x_2, x_44, x_7, x_40, x_8, x_18, x_30, x_11, x_12, x_13, x_14, x_56); -return x_63; -} -} -else -{ -lean_object* x_64; -lean_dec(x_57); -lean_dec(x_50); -x_64 = l_Lean_Meta_substCore___lambda__12(x_35, x_43, x_41, x_4, x_25, x_28, x_5, x_6, x_1, x_2, x_44, x_7, x_40, x_8, x_18, x_30, x_11, x_12, x_13, x_14, x_56); -return x_64; -} -} -else -{ -uint8_t x_65; -lean_dec(x_44); +lean_dec(x_42); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); lean_dec(x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); lean_dec(x_41); -lean_dec(x_40); -lean_dec(x_35); -lean_dec(x_25); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_65 = !lean_is_exclusive(x_49); -if (x_65 == 0) -{ -return x_49; +x_46 = 0; +x_27 = x_46; +x_28 = x_45; +goto block_40; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_49, 0); -x_67 = lean_ctor_get(x_49, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_49); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -} -} -block_81: -{ -if (x_70 == 0) -{ -x_37 = x_71; -goto block_69; -} -else -{ -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_inc(x_25); -x_72 = lean_array_to_list(lean_box(0), x_25); -x_73 = l_List_map___at_Lean_Meta_substCore___spec__5(x_72); -x_74 = l_Lean_MessageData_ofList(x_73); -lean_dec(x_73); -x_75 = l_Lean_Meta_substCore___lambda__13___closed__3; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_dec(x_41); lean_inc(x_7); -x_79 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_78, x_11, x_12, x_13, x_14, x_71); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_37 = x_80; -goto block_69; +x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_7, x_11, x_12, x_13, x_14, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_unbox(x_49); +lean_dec(x_49); +x_27 = x_51; +x_28 = x_50; +goto block_40; } +block_40: +{ +if (x_27 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = l_Lean_Meta_substCore___lambda__18(x_26, x_4, x_25, x_5, x_6, x_1, x_2, x_7, x_8, x_18, x_9, x_29, x_11, x_12, x_13, x_14, x_28); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_inc(x_26); +x_31 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_31, 0, x_26); +x_32 = l_Lean_Meta_substCore___lambda__19___closed__3; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_inc(x_7); +x_36 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_7, x_35, x_11, x_12, x_13, x_14, x_28); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_substCore___lambda__18(x_26, x_4, x_25, x_5, x_6, x_1, x_2, x_7, x_8, x_18, x_9, x_37, x_11, x_12, x_13, x_14, x_38); +lean_dec(x_37); +return x_39; } } } else { -uint8_t x_111; -lean_dec(x_25); +uint8_t x_52; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3397,62 +3451,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_31); -if (x_111 == 0) -{ -return x_31; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_31, 0); -x_113 = lean_ctor_get(x_31, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_31); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; -} -} -} -} -else -{ -uint8_t x_134; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_134 = !lean_is_exclusive(x_22); -if (x_134 == 0) +x_52 = !lean_is_exclusive(x_22); +if (x_52 == 0) { return x_22; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_22, 0); -x_136 = lean_ctor_get(x_22, 1); -lean_inc(x_136); -lean_inc(x_135); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_22, 0); +x_54 = lean_ctor_get(x_22, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_22); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_138; +uint8_t x_56; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3463,236 +3484,28 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_138 = !lean_is_exclusive(x_16); -if (x_138 == 0) +x_56 = !lean_is_exclusive(x_16); +if (x_56 == 0) { return x_16; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_16, 0); -x_140 = lean_ctor_get(x_16, 1); -lean_inc(x_140); -lean_inc(x_139); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_16, 0); +x_58 = lean_ctor_get(x_16, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_16); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("subst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___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_substCore___lambda__14___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("argument must be an equality proof"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__3; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___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_Meta_substCore___lambda__14___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid equality proof, it is not of the form "); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__6; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("\nafter WHNF, variable expected, but obtained"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__8; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("(x = t)"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__10; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__7; -x_2 = l_Lean_Meta_substCore___lambda__14___closed__11; -x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__14___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__12; -x_2 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__14___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("(t = x)"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__14; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__7; -x_2 = l_Lean_Meta_substCore___lambda__14___closed__15; -x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__14___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__16; -x_2 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__14___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Meta"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_substCore___lambda__14___closed__18; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__19; -x_2 = l_Lean_Meta_substCore___lambda__14___closed__20; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__21; -x_2 = l_Lean_Meta_substCore___lambda__14___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__23() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__20___closed__1() { _start: { lean_object* x_1; @@ -3700,16 +3513,16 @@ x_1 = lean_mk_string("'"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__24() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__20___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__23; +x_1 = l_Lean_Meta_substCore___lambda__20___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__25() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__20___closed__3() { _start: { lean_object* x_1; @@ -3717,16 +3530,308 @@ x_1 = lean_mk_string("' occurs at"); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__26() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__20___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__25; +x_1 = l_Lean_Meta_substCore___lambda__20___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__27() { +lean_object* l_Lean_Meta_substCore___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, uint8_t x_8, uint8_t 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) { +_start: +{ +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; uint8_t x_26; +x_19 = lean_st_ref_get(x_17, x_18); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_15, x_20); +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_22, 0); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_10); +x_25 = l_Lean_MetavarContext_exprDependsOn(x_24, x_10, x_1); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_27 = lean_box(0); +x_28 = l_Lean_Meta_substCore___lambda__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_27, x_14, x_15, x_16, x_17, x_23); +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_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_11); +x_30 = l_Lean_Meta_substCore___lambda__20___closed__2; +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_Lean_Meta_substCore___lambda__20___closed__4; +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_indentExpr(x_10); +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_box(0); +x_39 = l_Lean_Meta_throwTacticEx___rarg(x_12, x_3, x_37, x_38, x_14, x_15, x_16, x_17, x_23); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +return x_39; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_39); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("subst"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___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_substCore___lambda__21___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("argument must be an equality proof"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___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_Meta_substCore___lambda__21___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid equality proof, it is not of the form "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\nafter WHNF, variable expected, but obtained"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(x = t)"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__7; +x_2 = l_Lean_Meta_substCore___lambda__21___closed__11; +x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__21___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__12; +x_2 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__21___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(t = x)"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__7; +x_2 = l_Lean_Meta_substCore___lambda__21___closed__15; +x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__21___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__16; +x_2 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_3 = lean_alloc_ctor(10, 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_Meta_substCore___lambda__21___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Meta"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_substCore___lambda__21___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__19; +x_2 = l_Lean_Meta_substCore___lambda__21___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__21; +x_2 = l_Lean_Meta_substCore___lambda__21___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__23() { _start: { lean_object* x_1; @@ -3734,16 +3839,16 @@ x_1 = lean_mk_string("substituting "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__28() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__27; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__23; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__29() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__25() { _start: { lean_object* x_1; @@ -3751,16 +3856,16 @@ x_1 = lean_mk_string(" (id: "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__30() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__29; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__25; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__31() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__27() { _start: { lean_object* x_1; @@ -3768,16 +3873,16 @@ x_1 = lean_mk_string(") with "); return x_1; } } -static lean_object* _init_l_Lean_Meta_substCore___lambda__14___closed__32() { +static lean_object* _init_l_Lean_Meta_substCore___lambda__21___closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_substCore___lambda__14___closed__31; +x_1 = l_Lean_Meta_substCore___lambda__21___closed__27; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_substCore___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_substCore___lambda__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, uint8_t 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; @@ -3791,7 +3896,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_Meta_substCore___lambda__14___closed__2; +x_15 = l_Lean_Meta_substCore___lambda__21___closed__2; lean_inc(x_1); x_16 = l_Lean_Meta_checkNotAssigned(x_1, x_15, x_7, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_16) == 0) @@ -3834,7 +3939,7 @@ lean_dec(x_2); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_Meta_substCore___lambda__14___closed__5; +x_25 = l_Lean_Meta_substCore___lambda__21___closed__5; x_26 = lean_box(0); x_27 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_25, x_26, x_7, x_8, x_9, x_10, x_24); lean_dec(x_10); @@ -3862,34 +3967,34 @@ lean_inc(x_32); lean_dec(x_29); if (x_6 == 0) { -uint8_t x_134; -x_134 = 0; -x_33 = x_134; -goto block_133; +uint8_t x_109; +x_109 = 0; +x_33 = x_109; +goto block_108; } else { -uint8_t x_135; -x_135 = 1; -x_33 = x_135; -goto block_133; +uint8_t x_110; +x_110 = 1; +x_33 = x_110; +goto block_108; } -block_133: +block_108: { lean_object* x_34; if (x_33 == 0) { lean_inc(x_31); x_34 = x_31; -goto block_132; +goto block_107; } else { lean_inc(x_32); x_34 = x_32; -goto block_132; +goto block_107; } -block_132: +block_107: { lean_object* x_35; lean_inc(x_10); @@ -3909,15 +4014,15 @@ if (x_33 == 0) { lean_dec(x_31); x_38 = x_32; -goto block_127; +goto block_102; } else { lean_dec(x_32); x_38 = x_31; -goto block_127; +goto block_102; } -block_127: +block_102: { lean_object* x_39; lean_inc(x_10); @@ -3929,7 +4034,7 @@ if (lean_obj_tag(x_39) == 0) { if (lean_obj_tag(x_36) == 1) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_71; lean_object* x_72; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +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_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_dec(x_21); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); @@ -3938,244 +4043,167 @@ lean_inc(x_41); lean_dec(x_39); x_42 = lean_ctor_get(x_36, 0); lean_inc(x_42); -x_90 = lean_st_ref_get(x_10, x_41); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_91, 3); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_ctor_get_uint8(x_92, sizeof(void*)*1); -lean_dec(x_92); -if (x_93 == 0) +x_43 = l_Lean_Meta_substCore___lambda__21___closed__22; +x_66 = lean_st_ref_get(x_10, x_41); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) { -lean_object* x_94; uint8_t x_95; -x_94 = lean_ctor_get(x_90, 1); -lean_inc(x_94); -lean_dec(x_90); -x_95 = 0; -x_71 = x_95; -x_72 = x_94; -goto block_89; +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_44 = x_71; +x_45 = x_70; +goto block_65; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_96 = lean_ctor_get(x_90, 1); -lean_inc(x_96); -lean_dec(x_90); -x_97 = l_Lean_Meta_substCore___lambda__14___closed__22; -x_98 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_97, x_7, x_8, x_9, x_10, x_96); -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); -x_101 = lean_unbox(x_99); -lean_dec(x_99); -x_71 = x_101; -x_72 = x_100; -goto block_89; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_43, x_7, x_8, x_9, x_10, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_unbox(x_74); +lean_dec(x_74); +x_44 = x_76; +x_45 = x_75; +goto block_65; } -block_70: +block_65: { -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; uint8_t x_51; -x_44 = lean_st_ref_get(x_10, x_43); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_st_ref_get(x_8, x_45); -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); +if (x_44 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_box(0); +x_47 = l_Lean_Meta_substCore___lambda__20(x_42, x_2, x_1, x_13, x_3, x_4, x_43, x_33, x_5, x_40, x_36, x_15, x_46, x_7, x_8, x_9, x_10, x_45); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_inc(x_36); +x_48 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_48, 0, x_36); +x_49 = l_Lean_Meta_substCore___lambda__21___closed__24; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_Lean_Meta_substCore___lambda__21___closed__26; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +lean_inc(x_42); +x_53 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_53, 0, x_42); +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Meta_substCore___lambda__21___closed__28; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); lean_inc(x_40); -x_50 = l_Lean_MetavarContext_exprDependsOn(x_49, x_40, x_42); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_40); -lean_dec(x_36); -x_52 = l_Lean_Meta_substCore___lambda__14___closed__22; -x_53 = lean_box(0); -x_54 = l_Lean_Meta_substCore___lambda__13(x_42, x_2, x_1, x_13, x_3, x_4, x_52, x_33, x_5, x_53, x_7, x_8, x_9, x_10, x_48); -return x_54; +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_40); +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_43, x_60, x_7, x_8, x_9, x_10, x_45); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Lean_Meta_substCore___lambda__20(x_42, x_2, x_1, x_13, x_3, x_4, x_43, x_33, x_5, x_40, x_36, x_15, x_62, x_7, x_8, x_9, x_10, x_63); +lean_dec(x_62); +return x_64; +} +} } 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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -lean_dec(x_42); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_36); -x_56 = l_Lean_Meta_substCore___lambda__14___closed__24; -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = l_Lean_Meta_substCore___lambda__14___closed__26; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_indentExpr(x_40); -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_box(0); -x_65 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_63, x_64, x_7, x_8, x_9, x_10, x_48); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) +x_77 = lean_ctor_get(x_39, 1); +lean_inc(x_77); +lean_dec(x_39); +x_78 = l_Lean_indentExpr(x_21); +x_79 = l_Lean_indentExpr(x_36); +if (x_33 == 0) { -return x_65; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_65, 0); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_65); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -block_89: -{ -if (x_71 == 0) -{ -x_43 = x_72; -goto block_70; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_inc(x_36); -x_73 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_73, 0, x_36); -x_74 = l_Lean_Meta_substCore___lambda__14___closed__28; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = l_Lean_Meta_substCore___lambda__14___closed__30; -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -lean_inc(x_42); -x_78 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_78, 0, x_42); -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Meta_substCore___lambda__14___closed__32; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_80 = l_Lean_Meta_substCore___lambda__21___closed__13; x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -lean_inc(x_40); -x_82 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_82, 0, x_40); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +x_82 = l_Lean_Meta_substCore___lambda__21___closed__9; x_83 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_83, 0, x_81); lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Meta_substCore___lambda__14___closed__22; -x_87 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_86, x_85, x_7, x_8, x_9, x_10, x_72); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_43 = x_88; -goto block_70; -} -} -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_2); -x_102 = lean_ctor_get(x_39, 1); -lean_inc(x_102); -lean_dec(x_39); -x_103 = l_Lean_indentExpr(x_21); -x_104 = l_Lean_indentExpr(x_36); -if (x_33 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_105 = l_Lean_Meta_substCore___lambda__14___closed__13; -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -x_107 = l_Lean_Meta_substCore___lambda__14___closed__9; -x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_104); -x_110 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_box(0); -x_113 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_111, x_112, x_7, x_8, x_9, x_10, x_102); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_79); +x_85 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_box(0); +x_88 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_86, x_87, x_7, x_8, x_9, x_10, x_77); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_113; +return x_88; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_114 = l_Lean_Meta_substCore___lambda__14___closed__17; -x_115 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_103); -x_116 = l_Lean_Meta_substCore___lambda__14___closed__9; -x_117 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_104); -x_119 = l_Lean_Meta_substCore___lambda__1___closed__6; -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_box(0); -x_122 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_120, x_121, x_7, x_8, x_9, x_10, x_102); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_89 = l_Lean_Meta_substCore___lambda__21___closed__17; +x_90 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_78); +x_91 = l_Lean_Meta_substCore___lambda__21___closed__9; +x_92 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_79); +x_94 = l_Lean_Meta_substCore___lambda__2___closed__6; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_box(0); +x_97 = l_Lean_Meta_throwTacticEx___rarg(x_15, x_1, x_95, x_96, x_7, x_8, x_9, x_10, x_77); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_122; +return x_97; } } } else { -uint8_t x_123; +uint8_t x_98; lean_dec(x_36); lean_dec(x_21); lean_dec(x_13); @@ -4186,30 +4214,30 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_123 = !lean_is_exclusive(x_39); -if (x_123 == 0) +x_98 = !lean_is_exclusive(x_39); +if (x_98 == 0) { return x_39; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_39, 0); -x_125 = lean_ctor_get(x_39, 1); -lean_inc(x_125); -lean_inc(x_124); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_39, 0); +x_100 = lean_ctor_get(x_39, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_39); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -return x_126; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } } else { -uint8_t x_128; +uint8_t x_103; lean_dec(x_32); lean_dec(x_31); lean_dec(x_21); @@ -4221,23 +4249,23 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_128 = !lean_is_exclusive(x_35); -if (x_128 == 0) +x_103 = !lean_is_exclusive(x_35); +if (x_103 == 0) { return x_35; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_35, 0); -x_130 = lean_ctor_get(x_35, 1); -lean_inc(x_130); -lean_inc(x_129); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_35, 0); +x_105 = lean_ctor_get(x_35, 1); +lean_inc(x_105); +lean_inc(x_104); lean_dec(x_35); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; +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; } } } @@ -4246,7 +4274,7 @@ return x_131; } else { -uint8_t x_136; +uint8_t x_111; lean_dec(x_21); lean_dec(x_13); lean_dec(x_10); @@ -4256,29 +4284,29 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_136 = !lean_is_exclusive(x_22); -if (x_136 == 0) +x_111 = !lean_is_exclusive(x_22); +if (x_111 == 0) { return x_22; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_22, 0); -x_138 = lean_ctor_get(x_22, 1); -lean_inc(x_138); -lean_inc(x_137); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_22, 0); +x_113 = lean_ctor_get(x_22, 1); +lean_inc(x_113); +lean_inc(x_112); lean_dec(x_22); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; } } } else { -uint8_t x_140; +uint8_t x_115; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -4287,29 +4315,29 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_140 = !lean_is_exclusive(x_18); -if (x_140 == 0) +x_115 = !lean_is_exclusive(x_18); +if (x_115 == 0) { return x_18; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_18, 0); -x_142 = lean_ctor_get(x_18, 1); -lean_inc(x_142); -lean_inc(x_141); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_18, 0); +x_117 = lean_ctor_get(x_18, 1); +lean_inc(x_117); +lean_inc(x_116); lean_dec(x_18); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } else { -uint8_t x_144; +uint8_t x_119; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -4318,29 +4346,29 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_144 = !lean_is_exclusive(x_16); -if (x_144 == 0) +x_119 = !lean_is_exclusive(x_16); +if (x_119 == 0) { return x_16; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_16, 0); -x_146 = lean_ctor_get(x_16, 1); -lean_inc(x_146); -lean_inc(x_145); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_16, 0); +x_121 = lean_ctor_get(x_16, 1); +lean_inc(x_121); +lean_inc(x_120); lean_dec(x_16); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -return x_147; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } else { -uint8_t x_148; +uint8_t x_123; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4348,23 +4376,23 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_148 = !lean_is_exclusive(x_12); -if (x_148 == 0) +x_123 = !lean_is_exclusive(x_12); +if (x_123 == 0) { return x_12; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_12, 0); -x_150 = lean_ctor_get(x_12, 1); -lean_inc(x_150); -lean_inc(x_149); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_12, 0); +x_125 = lean_ctor_get(x_12, 1); +lean_inc(x_125); +lean_inc(x_124); lean_dec(x_12); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -return x_151; +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } } @@ -4377,7 +4405,7 @@ x_12 = lean_box(x_5); x_13 = lean_box(x_6); x_14 = lean_box(x_3); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__14___boxed), 11, 6); +x_15 = lean_alloc_closure((void*)(l_Lean_Meta_substCore___lambda__21___boxed), 11, 6); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_closure_set(x_15, 2, x_4); @@ -4450,40 +4478,25 @@ uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_4); lean_dec(x_4); x_18 = l_Lean_Meta_substCore___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_2); lean_dec(x_1); return x_18; } } -lean_object* l_Lean_Meta_substCore___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; +lean_object* l_Lean_Meta_substCore___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, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_21; lean_object* x_22; -x_21 = lean_unbox(x_6); -lean_dec(x_6); -x_22 = l_Lean_Meta_substCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -lean_dec(x_3); -lean_dec(x_2); -return x_22; +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_substCore___lambda__2(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1); +return x_18; } } lean_object* l_Lean_Meta_substCore___lambda__3___boxed(lean_object** _args) { @@ -4507,6 +4520,38 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_6); +lean_dec(x_6); +x_22 = l_Lean_Meta_substCore___lambda__3(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +lean_dec(x_3); +lean_dec(x_2); +return x_22; +} +} +lean_object* l_Lean_Meta_substCore___lambda__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; _start: @@ -4514,32 +4559,49 @@ _start: uint8_t x_23; lean_object* x_24; x_23 = lean_unbox(x_7); lean_dec(x_7); -x_24 = l_Lean_Meta_substCore___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_24 = l_Lean_Meta_substCore___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); lean_dec(x_4); return x_24; } } -lean_object* l_Lean_Meta_substCore___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_substCore___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Meta_substCore___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_substCore___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Meta_substCore___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_substCore___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_substCore___lambda__5(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_18 = l_Lean_Meta_substCore___lambda__6(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_2); lean_dec(x_1); return x_18; } } -lean_object* l_Lean_Meta_substCore___lambda__6___boxed(lean_object** _args) { +lean_object* l_Lean_Meta_substCore___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_substCore___lambda__7(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1); +return x_18; +} +} +lean_object* l_Lean_Meta_substCore___lambda__8___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -4565,56 +4627,12 @@ _start: uint8_t x_21; lean_object* x_22; x_21 = lean_unbox(x_6); lean_dec(x_6); -x_22 = l_Lean_Meta_substCore___lambda__6(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +x_22 = l_Lean_Meta_substCore___lambda__8(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); lean_dec(x_3); lean_dec(x_2); return x_22; } } -lean_object* l_Lean_Meta_substCore___lambda__7___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; -lean_object* x_22 = _args[21]; -_start: -{ -uint8_t x_23; lean_object* x_24; -x_23 = lean_unbox(x_7); -lean_dec(x_7); -x_24 = l_Lean_Meta_substCore___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); -lean_dec(x_4); -return x_24; -} -} -lean_object* l_Lean_Meta_substCore___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); -lean_dec(x_4); -x_18 = l_Lean_Meta_substCore___lambda__8(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1); -return x_18; -} -} lean_object* l_Lean_Meta_substCore___lambda__9___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -4636,18 +4654,79 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +uint8_t x_23; lean_object* x_24; +x_23 = lean_unbox(x_7); +lean_dec(x_7); +x_24 = l_Lean_Meta_substCore___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_4); +return x_24; +} +} +lean_object* l_Lean_Meta_substCore___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_substCore___lambda__10(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +lean_object* l_Lean_Meta_substCore___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_substCore___lambda__11(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1); +return x_18; +} +} +lean_object* l_Lean_Meta_substCore___lambda__12___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; _start: { uint8_t x_21; lean_object* x_22; x_21 = lean_unbox(x_6); lean_dec(x_6); -x_22 = l_Lean_Meta_substCore___lambda__9(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +x_22 = l_Lean_Meta_substCore___lambda__12(x_1, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); lean_dec(x_3); lean_dec(x_2); return x_22; } } -lean_object* l_Lean_Meta_substCore___lambda__10___boxed(lean_object** _args) { +lean_object* l_Lean_Meta_substCore___lambda__13___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -4675,12 +4754,12 @@ _start: uint8_t x_23; lean_object* x_24; x_23 = lean_unbox(x_7); lean_dec(x_7); -x_24 = l_Lean_Meta_substCore___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_24 = l_Lean_Meta_substCore___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); lean_dec(x_4); return x_24; } } -lean_object* l_Lean_Meta_substCore___lambda__11___boxed(lean_object** _args) { +lean_object* l_Lean_Meta_substCore___lambda__14___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -4708,12 +4787,12 @@ x_21 = lean_unbox(x_8); lean_dec(x_8); x_22 = lean_unbox(x_14); lean_dec(x_14); -x_23 = l_Lean_Meta_substCore___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_21, x_9, x_10, x_11, x_12, x_13, x_22, x_15, x_16, x_17, x_18, x_19, x_20); +x_23 = l_Lean_Meta_substCore___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_21, x_9, x_10, x_11, x_12, x_13, x_22, x_15, x_16, x_17, x_18, x_19, x_20); lean_dec(x_5); return x_23; } } -lean_object* l_Lean_Meta_substCore___lambda__12___boxed(lean_object** _args) { +lean_object* l_Lean_Meta_substCore___lambda__15___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -4744,11 +4823,113 @@ x_23 = lean_unbox(x_14); lean_dec(x_14); x_24 = lean_unbox(x_16); lean_dec(x_16); -x_25 = l_Lean_Meta_substCore___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22, x_9, x_10, x_11, x_12, x_13, x_23, x_15, x_24, x_17, x_18, x_19, x_20, x_21); +x_25 = l_Lean_Meta_substCore___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22, x_9, x_10, x_11, x_12, x_13, x_23, x_15, x_24, x_17, x_18, x_19, x_20, x_21); return x_25; } } -lean_object* l_Lean_Meta_substCore___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Meta_substCore___lambda__16___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_20 = lean_unbox(x_7); +lean_dec(x_7); +x_21 = lean_unbox(x_11); +lean_dec(x_11); +x_22 = lean_unbox(x_13); +lean_dec(x_13); +x_23 = l_Lean_Meta_substCore___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_8, x_9, x_10, x_21, x_12, x_22, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_14); +lean_dec(x_1); +return x_23; +} +} +lean_object* l_Lean_Meta_substCore___lambda__17___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_20 = lean_unbox(x_7); +lean_dec(x_7); +x_21 = lean_unbox(x_11); +lean_dec(x_11); +x_22 = lean_unbox(x_13); +lean_dec(x_13); +x_23 = l_Lean_Meta_substCore___lambda__17(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_8, x_9, x_10, x_21, x_12, x_22, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_14); +lean_dec(x_1); +return x_23; +} +} +lean_object* l_Lean_Meta_substCore___lambda__18___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_18 = lean_unbox(x_5); +lean_dec(x_5); +x_19 = lean_unbox(x_9); +lean_dec(x_9); +x_20 = lean_unbox(x_11); +lean_dec(x_11); +x_21 = l_Lean_Meta_substCore___lambda__18(x_1, x_2, x_3, x_4, x_18, x_6, x_7, x_8, x_19, x_10, x_20, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_12); +return x_21; +} +} +lean_object* l_Lean_Meta_substCore___lambda__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; @@ -4758,12 +4939,45 @@ x_17 = lean_unbox(x_8); lean_dec(x_8); x_18 = lean_unbox(x_9); lean_dec(x_9); -x_19 = l_Lean_Meta_substCore___lambda__13(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_17, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +x_19 = l_Lean_Meta_substCore___lambda__19(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_17, x_18, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_10); return x_19; } } -lean_object* l_Lean_Meta_substCore___lambda__14___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* l_Lean_Meta_substCore___lambda__20___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_19 = lean_unbox(x_6); +lean_dec(x_6); +x_20 = lean_unbox(x_8); +lean_dec(x_8); +x_21 = lean_unbox(x_9); +lean_dec(x_9); +x_22 = l_Lean_Meta_substCore___lambda__20(x_1, x_2, x_3, x_4, x_5, x_19, x_7, x_20, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_22; +} +} +lean_object* l_Lean_Meta_substCore___lambda__21___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; uint8_t x_13; uint8_t x_14; lean_object* x_15; @@ -4773,7 +4987,7 @@ x_13 = lean_unbox(x_5); lean_dec(x_5); x_14 = lean_unbox(x_6); lean_dec(x_6); -x_15 = l_Lean_Meta_substCore___lambda__14(x_1, x_2, x_3, x_12, x_13, x_14, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_Meta_substCore___lambda__21(x_1, x_2, x_3, x_12, x_13, x_14, x_7, x_8, x_9, x_10, x_11); return x_15; } } @@ -7242,11 +7456,11 @@ x_21 = l_Lean_Meta_subst___lambda__1___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Meta_substCore___lambda__14___closed__24; +x_23 = l_Lean_Meta_substCore___lambda__20___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Meta_substCore___lambda__14___closed__2; +x_25 = l_Lean_Meta_substCore___lambda__21___closed__2; x_26 = lean_box(0); x_27 = l_Lean_Meta_throwTacticEx___rarg(x_25, x_2, x_24, x_26, x_4, x_5, x_6, x_7, x_18); lean_dec(x_7); @@ -7468,7 +7682,7 @@ x_22 = l_Lean_Meta_subst___lambda__2___closed__4; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Meta_substCore___lambda__14___closed__2; +x_24 = l_Lean_Meta_substCore___lambda__21___closed__2; x_25 = lean_box(0); x_26 = l_Lean_Meta_throwTacticEx___rarg(x_24, x_2, x_23, x_25, x_3, x_4, x_5, x_6, x_14); lean_dec(x_6); @@ -7559,11 +7773,11 @@ x_45 = l_Lean_Meta_subst___lambda__2___closed__6; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Meta_substCore___lambda__1___closed__6; +x_47 = l_Lean_Meta_substCore___lambda__2___closed__6; x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Meta_substCore___lambda__14___closed__2; +x_49 = l_Lean_Meta_substCore___lambda__21___closed__2; x_50 = lean_box(0); x_51 = l_Lean_Meta_throwTacticEx___rarg(x_49, x_2, x_48, x_50, x_3, x_4, x_5, x_6, x_42); lean_dec(x_6); @@ -8420,11 +8634,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_1816_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_2023_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_substCore___lambda__14___closed__22; +x_2 = l_Lean_Meta_substCore___lambda__21___closed__22; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -8470,48 +8684,18 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_FVarSubst(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_substCore___lambda__1___closed__1 = _init_l_Lean_Meta_substCore___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__1); -l_Lean_Meta_substCore___lambda__1___closed__2 = _init_l_Lean_Meta_substCore___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__2); -l_Lean_Meta_substCore___lambda__1___closed__3 = _init_l_Lean_Meta_substCore___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__3); -l_Lean_Meta_substCore___lambda__1___closed__4 = _init_l_Lean_Meta_substCore___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__4); -l_Lean_Meta_substCore___lambda__1___closed__5 = _init_l_Lean_Meta_substCore___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__5); -l_Lean_Meta_substCore___lambda__1___closed__6 = _init_l_Lean_Meta_substCore___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__1___closed__6); -l_Lean_Meta_substCore___lambda__11___closed__1 = _init_l_Lean_Meta_substCore___lambda__11___closed__1(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__1); -l_Lean_Meta_substCore___lambda__11___closed__2 = _init_l_Lean_Meta_substCore___lambda__11___closed__2(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__2); -l_Lean_Meta_substCore___lambda__11___closed__3 = _init_l_Lean_Meta_substCore___lambda__11___closed__3(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__3); -l_Lean_Meta_substCore___lambda__11___closed__4 = _init_l_Lean_Meta_substCore___lambda__11___closed__4(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__4); -l_Lean_Meta_substCore___lambda__11___closed__5 = _init_l_Lean_Meta_substCore___lambda__11___closed__5(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__5); -l_Lean_Meta_substCore___lambda__11___closed__6 = _init_l_Lean_Meta_substCore___lambda__11___closed__6(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__6); -l_Lean_Meta_substCore___lambda__11___closed__7 = _init_l_Lean_Meta_substCore___lambda__11___closed__7(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__7); -l_Lean_Meta_substCore___lambda__11___closed__8 = _init_l_Lean_Meta_substCore___lambda__11___closed__8(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__11___closed__8); -l_Lean_Meta_substCore___lambda__13___closed__1 = _init_l_Lean_Meta_substCore___lambda__13___closed__1(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__1); -l_Lean_Meta_substCore___lambda__13___closed__2 = _init_l_Lean_Meta_substCore___lambda__13___closed__2(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__2); -l_Lean_Meta_substCore___lambda__13___closed__3 = _init_l_Lean_Meta_substCore___lambda__13___closed__3(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__3); -l_Lean_Meta_substCore___lambda__13___closed__4 = _init_l_Lean_Meta_substCore___lambda__13___closed__4(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__4); -l_Lean_Meta_substCore___lambda__13___closed__5 = _init_l_Lean_Meta_substCore___lambda__13___closed__5(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__5); -l_Lean_Meta_substCore___lambda__13___closed__6 = _init_l_Lean_Meta_substCore___lambda__13___closed__6(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__6); -l_Lean_Meta_substCore___lambda__13___closed__7 = _init_l_Lean_Meta_substCore___lambda__13___closed__7(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__13___closed__7); +l_Lean_Meta_substCore___lambda__2___closed__1 = _init_l_Lean_Meta_substCore___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__1); +l_Lean_Meta_substCore___lambda__2___closed__2 = _init_l_Lean_Meta_substCore___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__2); +l_Lean_Meta_substCore___lambda__2___closed__3 = _init_l_Lean_Meta_substCore___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__3); +l_Lean_Meta_substCore___lambda__2___closed__4 = _init_l_Lean_Meta_substCore___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__4); +l_Lean_Meta_substCore___lambda__2___closed__5 = _init_l_Lean_Meta_substCore___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__5); +l_Lean_Meta_substCore___lambda__2___closed__6 = _init_l_Lean_Meta_substCore___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__2___closed__6); l_Lean_Meta_substCore___lambda__14___closed__1 = _init_l_Lean_Meta_substCore___lambda__14___closed__1(); lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__1); l_Lean_Meta_substCore___lambda__14___closed__2 = _init_l_Lean_Meta_substCore___lambda__14___closed__2(); @@ -8528,54 +8712,84 @@ l_Lean_Meta_substCore___lambda__14___closed__7 = _init_l_Lean_Meta_substCore___l lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__7); l_Lean_Meta_substCore___lambda__14___closed__8 = _init_l_Lean_Meta_substCore___lambda__14___closed__8(); lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__8); -l_Lean_Meta_substCore___lambda__14___closed__9 = _init_l_Lean_Meta_substCore___lambda__14___closed__9(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__9); -l_Lean_Meta_substCore___lambda__14___closed__10 = _init_l_Lean_Meta_substCore___lambda__14___closed__10(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__10); -l_Lean_Meta_substCore___lambda__14___closed__11 = _init_l_Lean_Meta_substCore___lambda__14___closed__11(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__11); -l_Lean_Meta_substCore___lambda__14___closed__12 = _init_l_Lean_Meta_substCore___lambda__14___closed__12(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__12); -l_Lean_Meta_substCore___lambda__14___closed__13 = _init_l_Lean_Meta_substCore___lambda__14___closed__13(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__13); -l_Lean_Meta_substCore___lambda__14___closed__14 = _init_l_Lean_Meta_substCore___lambda__14___closed__14(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__14); -l_Lean_Meta_substCore___lambda__14___closed__15 = _init_l_Lean_Meta_substCore___lambda__14___closed__15(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__15); -l_Lean_Meta_substCore___lambda__14___closed__16 = _init_l_Lean_Meta_substCore___lambda__14___closed__16(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__16); -l_Lean_Meta_substCore___lambda__14___closed__17 = _init_l_Lean_Meta_substCore___lambda__14___closed__17(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__17); -l_Lean_Meta_substCore___lambda__14___closed__18 = _init_l_Lean_Meta_substCore___lambda__14___closed__18(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__18); -l_Lean_Meta_substCore___lambda__14___closed__19 = _init_l_Lean_Meta_substCore___lambda__14___closed__19(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__19); -l_Lean_Meta_substCore___lambda__14___closed__20 = _init_l_Lean_Meta_substCore___lambda__14___closed__20(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__20); -l_Lean_Meta_substCore___lambda__14___closed__21 = _init_l_Lean_Meta_substCore___lambda__14___closed__21(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__21); -l_Lean_Meta_substCore___lambda__14___closed__22 = _init_l_Lean_Meta_substCore___lambda__14___closed__22(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__22); -l_Lean_Meta_substCore___lambda__14___closed__23 = _init_l_Lean_Meta_substCore___lambda__14___closed__23(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__23); -l_Lean_Meta_substCore___lambda__14___closed__24 = _init_l_Lean_Meta_substCore___lambda__14___closed__24(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__24); -l_Lean_Meta_substCore___lambda__14___closed__25 = _init_l_Lean_Meta_substCore___lambda__14___closed__25(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__25); -l_Lean_Meta_substCore___lambda__14___closed__26 = _init_l_Lean_Meta_substCore___lambda__14___closed__26(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__26); -l_Lean_Meta_substCore___lambda__14___closed__27 = _init_l_Lean_Meta_substCore___lambda__14___closed__27(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__27); -l_Lean_Meta_substCore___lambda__14___closed__28 = _init_l_Lean_Meta_substCore___lambda__14___closed__28(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__28); -l_Lean_Meta_substCore___lambda__14___closed__29 = _init_l_Lean_Meta_substCore___lambda__14___closed__29(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__29); -l_Lean_Meta_substCore___lambda__14___closed__30 = _init_l_Lean_Meta_substCore___lambda__14___closed__30(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__30); -l_Lean_Meta_substCore___lambda__14___closed__31 = _init_l_Lean_Meta_substCore___lambda__14___closed__31(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__31); -l_Lean_Meta_substCore___lambda__14___closed__32 = _init_l_Lean_Meta_substCore___lambda__14___closed__32(); -lean_mark_persistent(l_Lean_Meta_substCore___lambda__14___closed__32); +l_Lean_Meta_substCore___lambda__17___closed__1 = _init_l_Lean_Meta_substCore___lambda__17___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__17___closed__1); +l_Lean_Meta_substCore___lambda__17___closed__2 = _init_l_Lean_Meta_substCore___lambda__17___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__17___closed__2); +l_Lean_Meta_substCore___lambda__18___closed__1 = _init_l_Lean_Meta_substCore___lambda__18___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__18___closed__1); +l_Lean_Meta_substCore___lambda__18___closed__2 = _init_l_Lean_Meta_substCore___lambda__18___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__18___closed__2); +l_Lean_Meta_substCore___lambda__19___closed__1 = _init_l_Lean_Meta_substCore___lambda__19___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__19___closed__1); +l_Lean_Meta_substCore___lambda__19___closed__2 = _init_l_Lean_Meta_substCore___lambda__19___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__19___closed__2); +l_Lean_Meta_substCore___lambda__19___closed__3 = _init_l_Lean_Meta_substCore___lambda__19___closed__3(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__19___closed__3); +l_Lean_Meta_substCore___lambda__20___closed__1 = _init_l_Lean_Meta_substCore___lambda__20___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__20___closed__1); +l_Lean_Meta_substCore___lambda__20___closed__2 = _init_l_Lean_Meta_substCore___lambda__20___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__20___closed__2); +l_Lean_Meta_substCore___lambda__20___closed__3 = _init_l_Lean_Meta_substCore___lambda__20___closed__3(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__20___closed__3); +l_Lean_Meta_substCore___lambda__20___closed__4 = _init_l_Lean_Meta_substCore___lambda__20___closed__4(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__20___closed__4); +l_Lean_Meta_substCore___lambda__21___closed__1 = _init_l_Lean_Meta_substCore___lambda__21___closed__1(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__1); +l_Lean_Meta_substCore___lambda__21___closed__2 = _init_l_Lean_Meta_substCore___lambda__21___closed__2(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__2); +l_Lean_Meta_substCore___lambda__21___closed__3 = _init_l_Lean_Meta_substCore___lambda__21___closed__3(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__3); +l_Lean_Meta_substCore___lambda__21___closed__4 = _init_l_Lean_Meta_substCore___lambda__21___closed__4(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__4); +l_Lean_Meta_substCore___lambda__21___closed__5 = _init_l_Lean_Meta_substCore___lambda__21___closed__5(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__5); +l_Lean_Meta_substCore___lambda__21___closed__6 = _init_l_Lean_Meta_substCore___lambda__21___closed__6(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__6); +l_Lean_Meta_substCore___lambda__21___closed__7 = _init_l_Lean_Meta_substCore___lambda__21___closed__7(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__7); +l_Lean_Meta_substCore___lambda__21___closed__8 = _init_l_Lean_Meta_substCore___lambda__21___closed__8(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__8); +l_Lean_Meta_substCore___lambda__21___closed__9 = _init_l_Lean_Meta_substCore___lambda__21___closed__9(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__9); +l_Lean_Meta_substCore___lambda__21___closed__10 = _init_l_Lean_Meta_substCore___lambda__21___closed__10(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__10); +l_Lean_Meta_substCore___lambda__21___closed__11 = _init_l_Lean_Meta_substCore___lambda__21___closed__11(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__11); +l_Lean_Meta_substCore___lambda__21___closed__12 = _init_l_Lean_Meta_substCore___lambda__21___closed__12(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__12); +l_Lean_Meta_substCore___lambda__21___closed__13 = _init_l_Lean_Meta_substCore___lambda__21___closed__13(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__13); +l_Lean_Meta_substCore___lambda__21___closed__14 = _init_l_Lean_Meta_substCore___lambda__21___closed__14(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__14); +l_Lean_Meta_substCore___lambda__21___closed__15 = _init_l_Lean_Meta_substCore___lambda__21___closed__15(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__15); +l_Lean_Meta_substCore___lambda__21___closed__16 = _init_l_Lean_Meta_substCore___lambda__21___closed__16(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__16); +l_Lean_Meta_substCore___lambda__21___closed__17 = _init_l_Lean_Meta_substCore___lambda__21___closed__17(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__17); +l_Lean_Meta_substCore___lambda__21___closed__18 = _init_l_Lean_Meta_substCore___lambda__21___closed__18(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__18); +l_Lean_Meta_substCore___lambda__21___closed__19 = _init_l_Lean_Meta_substCore___lambda__21___closed__19(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__19); +l_Lean_Meta_substCore___lambda__21___closed__20 = _init_l_Lean_Meta_substCore___lambda__21___closed__20(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__20); +l_Lean_Meta_substCore___lambda__21___closed__21 = _init_l_Lean_Meta_substCore___lambda__21___closed__21(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__21); +l_Lean_Meta_substCore___lambda__21___closed__22 = _init_l_Lean_Meta_substCore___lambda__21___closed__22(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__22); +l_Lean_Meta_substCore___lambda__21___closed__23 = _init_l_Lean_Meta_substCore___lambda__21___closed__23(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__23); +l_Lean_Meta_substCore___lambda__21___closed__24 = _init_l_Lean_Meta_substCore___lambda__21___closed__24(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__24); +l_Lean_Meta_substCore___lambda__21___closed__25 = _init_l_Lean_Meta_substCore___lambda__21___closed__25(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__25); +l_Lean_Meta_substCore___lambda__21___closed__26 = _init_l_Lean_Meta_substCore___lambda__21___closed__26(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__26); +l_Lean_Meta_substCore___lambda__21___closed__27 = _init_l_Lean_Meta_substCore___lambda__21___closed__27(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__27); +l_Lean_Meta_substCore___lambda__21___closed__28 = _init_l_Lean_Meta_substCore___lambda__21___closed__28(); +lean_mark_persistent(l_Lean_Meta_substCore___lambda__21___closed__28); l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___closed__1 = _init_l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___closed__1(); lean_mark_persistent(l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___closed__1); l_Lean_Meta_subst___lambda__1___closed__1 = _init_l_Lean_Meta_subst___lambda__1___closed__1(); @@ -8594,7 +8808,7 @@ l_Lean_Meta_subst___lambda__2___closed__5 = _init_l_Lean_Meta_subst___lambda__2_ lean_mark_persistent(l_Lean_Meta_subst___lambda__2___closed__5); l_Lean_Meta_subst___lambda__2___closed__6 = _init_l_Lean_Meta_subst___lambda__2___closed__6(); lean_mark_persistent(l_Lean_Meta_subst___lambda__2___closed__6); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_1816_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Subst___hyg_2023_(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/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index 18c9564920..ab89185432 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -14,36 +14,37 @@ extern "C" { #endif static lean_object* l_Lean_Meta_unificationHintExtension___lambda__1___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint(lean_object*); static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__6; lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__6(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1; size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75____closed__3; lean_object* l_Std_Format_join(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__10; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9; static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__8; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1; static lean_object* l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7; lean_object* l_Lean_Meta_tryUnificationHints___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13___closed__3; static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1635_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1785_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698_(lean_object*); lean_object* l_Std_Format_joinSep___at_Lean_Meta_instToFormatUnificationHints___spec__9(lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__4; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -53,35 +54,41 @@ static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnifica lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_UnificationHints_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4; lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___closed__1; -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3; lean_object* l_Lean_Meta_addUnificationHint_match__3(lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__3___boxed(lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2; +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3___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_sub(size_t, size_t); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3___closed__1; lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14; lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2; lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Meta_instToFormatUnificationHints___spec__10(lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3___closed__2; lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__2; static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__1___boxed(lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); lean_object* l_Lean_Meta_UnificationHints_discrTree___default; lean_object* l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_object*); static lean_object* l_Array_back___at_Lean_Meta_UnificationHints_add___spec__12___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__6___boxed(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -91,25 +98,24 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__6; static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__8; +lean_object* l_Lean_Meta_tryUnificationHints___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_UnificationHints_add___spec__5(lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__5; static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7; lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__1(lean_object*); lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__4___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; static lean_object* l_Array_back___at_Lean_Meta_UnificationHints_add___spec__12___closed__2; lean_object* l_Lean_Meta_DiscrTree_Key_format(lean_object*); static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__2; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Meta_DiscrTree_format___at_Lean_Meta_instToFormatUnificationHints___spec__2___boxed(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11; lean_object* l_Lean_ScopedEnvExtension_addScopedEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); lean_object* l_Array_binInsertM___at_Lean_Meta_UnificationHints_add___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__1; lean_object* l_Lean_Meta_instInhabitedUnificationHintEntry; lean_object* l_Lean_Meta_unificationHintExtension___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__3; @@ -130,7 +136,6 @@ static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToForma static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; lean_object* l_Lean_Meta_addUnificationHint_match__1(lean_object*); size_t l_UInt64_toUSize(uint64_t); -lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_73_(lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -139,34 +144,32 @@ static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__5; lean_object* l_Lean_Meta_tryUnificationHints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__3(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2; lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToFormatUnificationHints___spec__11(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11; lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__3; lean_object* l_Lean_Meta_unificationHintExtension___lambda__7(lean_object*); -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; -lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__5; static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Meta_tryUnificationHints___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_UnificationHints_add___spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__11; static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__7; -extern lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2; lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__7(lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6; 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_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_UnificationHints_add___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; -static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9; static lean_object* l_Lean_Meta_unificationHintExtension___closed__8; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_UnificationHints_add___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); @@ -175,12 +178,11 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addUnificationHint___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addUnificationHint(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5___closed__7; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___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*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToFormatUnificationHints___spec__11___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__9; @@ -190,17 +192,20 @@ static lean_object* l_Lean_Meta_UnificationHints_discrTree___default___closed__1 static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__3; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13; static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__2; static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__4; lean_object* l_Lean_Meta_instToFormatUnificationHints___boxed(lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_addUnificationHint___spec__3(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1; static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; lean_object* l_Lean_Meta_instInhabitedUnificationHints; static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__1; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_Meta_instToFormatUnificationHints___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_UnificationHints_add___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6; static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToFormatUnificationHints___spec__11___lambda__1(lean_object*, lean_object*, lean_object*); @@ -208,12 +213,11 @@ lean_object* l_Lean_Meta_unificationHintExtension___lambda__5___boxed(lean_objec lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint(lean_object*); lean_object* l_Lean_Meta_addUnificationHint_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75____closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5; lean_object* l_Lean_Meta_addUnificationHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__1; static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__2; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__6; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_object*, lean_object*); @@ -227,9 +231,7 @@ lean_object* l_Lean_Meta_unificationHintExtension___lambda__4___boxed(lean_objec static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__3; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_UnificationHints_add___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8; lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8; static lean_object* l_Lean_Meta_instInhabitedUnificationHintEntry___closed__2; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__4(lean_object*); @@ -242,13 +244,10 @@ lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1 uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13___closed__2; lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_UnificationHints_add___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__2; size_t l_USize_mul(size_t, size_t); static lean_object* l_Lean_Meta_unificationHintExtension___closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_Meta_instToFormatUnificationHints___spec__13(lean_object*); lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_format___at_Lean_Meta_instToFormatUnificationHints___spec__2___closed__1; @@ -257,26 +256,25 @@ lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_obj static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__4; static lean_object* l_Lean_Meta_unificationHintExtension___closed__4; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4; extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*); lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__2; size_t l_USize_land(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4; static lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__6___closed__2; lean_object* l_Lean_Meta_tryUnificationHints___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75____closed__1; lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__3; static lean_object* l_Lean_Meta_tryUnificationHints___lambda__2___closed__1; static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__10; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___boxed(lean_object*); static lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__6___closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1; static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__1; lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75____closed__2; @@ -284,39 +282,37 @@ static lean_object* l_Lean_Meta_unificationHintExtension___closed__1; static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__2; static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_75____closed__4; -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5; lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__10; +lean_object* l_Lean_Meta_tryUnificationHints___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_addUnificationHint___spec__3___boxed(lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); lean_object* l_Lean_Meta_addUnificationHint_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; +static lean_object* l_Lean_Meta_tryUnificationHints___lambda__2___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__2; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6; lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Meta_instToFormatUnificationHints___spec__10___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_instToFormatUnificationHints___spec__5(lean_object*); static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__8; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_instToFormatUnificationHints___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Core_instMonadCoreM; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___closed__2; static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__4; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__7; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode(lean_object*, lean_object*); uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_UnificationHints_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3; lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unificationHintExtension___closed__10; lean_object* l_List_mapM___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -329,6 +325,7 @@ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__4; lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6; static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__4; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__3(lean_object*); @@ -345,40 +342,34 @@ lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Meta_addUnificationHint___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__6(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12; -lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode_match__1(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__4(lean_object*); static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__1; lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instToFormatUnificationHints(lean_object*); -static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8; -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10; lean_object* l_Lean_Meta_addUnificationHint_match__2(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13; lean_object* l_Std_fmt___at_Lean_Meta_instToFormatUnificationHints___spec__1(lean_object*); static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__8___closed__11; lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint_match__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedUnificationHintEntry___closed__1; uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__4(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7; static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___rarg___closed__1; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_UnificationHints_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5; static lean_object* l_Lean_Meta_unificationHintExtension___lambda__1___closed__2; static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___rarg___closed__2; static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__2; lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__2(lean_object*); static uint32_t l_Lean_Meta_unificationHintExtension___lambda__1___closed__1; -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5___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_Meta_tryUnificationHints___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6; lean_object* l_Lean_Meta_tryUnificationHints___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); @@ -386,14 +377,13 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints_tryCand lean_object* l_Lean_Meta_unificationHintExtension___lambda__7___boxed(lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3; uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_Meta_instToFormatUnificationHints___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__1; -static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); lean_object* l_Lean_Meta_unificationHintExtension; lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*); -lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addUnificationHint_match__3___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -4466,7 +4456,7 @@ lean_inc(x_3); x_30 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___rarg(x_24, x_3, x_4, x_5, x_6, x_29); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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; uint8_t x_38; lean_object* x_39; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); @@ -4478,123 +4468,132 @@ lean_inc(x_5); x_34 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1(x_33, x_32, x_2, x_3, x_4, x_5, x_6, x_31); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_st_ref_get(x_6, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_6, x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) -{ -uint8_t x_44; -lean_dec(x_39); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_44 = !lean_is_exclusive(x_40); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_40, 0); -lean_dec(x_45); -x_46 = lean_box(0); -lean_ctor_set(x_40, 0, x_46); -return x_40; +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); } -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_dec(x_40); -x_48 = lean_box(0); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_40, 1); -lean_inc(x_50); -lean_dec(x_40); -x_51 = l_Lean_Meta_addUnificationHint___lambda__1___closed__6; -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_51, x_3, x_4, x_5, x_6, x_50); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_unbox(x_53); -lean_dec(x_53); -if (x_54 == 0) -{ -uint8_t x_55; -lean_dec(x_39); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_55 = !lean_is_exclusive(x_52); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_52, 0); +x_37 = l_Lean_Meta_addUnificationHint___lambda__1___closed__6; +x_55 = lean_st_ref_get(x_6, x_35); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_56, 3); +lean_inc(x_57); lean_dec(x_56); -x_57 = lean_box(0); -lean_ctor_set(x_52, 0, x_57); -return x_52; +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec(x_55); +x_60 = 0; +x_38 = x_60; +x_39 = x_59; +goto block_54; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); -lean_dec(x_52); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -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; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_61 = lean_ctor_get(x_52, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_61 = lean_ctor_get(x_55, 1); lean_inc(x_61); -lean_dec(x_52); -x_62 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2(x_33, x_39); -lean_dec(x_39); -x_63 = l_Lean_Meta_DiscrTree_format___at_Lean_Meta_instToFormatUnificationHints___spec__2(x_62); +lean_dec(x_55); +x_62 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_37, x_3, x_4, x_5, x_6, 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_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Lean_Meta_addUnificationHint___lambda__1___closed__8; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_51, x_68, x_3, x_4, x_5, x_6, x_61); +x_65 = lean_unbox(x_63); +lean_dec(x_63); +x_38 = x_65; +x_39 = x_64; +goto block_54; +} +block_54: +{ +if (x_38 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +x_40 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_36; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +else +{ +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_dec(x_36); +x_42 = lean_st_ref_get(x_6, x_39); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2(x_33, x_45); +lean_dec(x_45); +x_47 = l_Lean_Meta_DiscrTree_format___at_Lean_Meta_instToFormatUnificationHints___spec__2(x_46); +lean_dec(x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_Meta_addUnificationHint___lambda__1___closed__8; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_37, x_52, x_3, x_4, x_5, x_6, x_44); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_53; +} +} +} +else +{ +uint8_t x_66; +lean_dec(x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_30); +if (x_66 == 0) +{ +return x_30; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_30, 0); +x_68 = lean_ctor_get(x_30, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_30); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); return x_69; } } @@ -4602,25 +4601,25 @@ return x_69; else { uint8_t x_70; -lean_dec(x_28); +lean_dec(x_24); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_30); +x_70 = !lean_is_exclusive(x_27); if (x_70 == 0) { -return x_30; +return x_27; } else { lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_30, 0); -x_72 = lean_ctor_get(x_30, 1); +x_71 = lean_ctor_get(x_27, 0); +x_72 = lean_ctor_get(x_27, 1); lean_inc(x_72); lean_inc(x_71); -lean_dec(x_30); +lean_dec(x_27); x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -4628,62 +4627,33 @@ return x_73; } } } +} +} else { uint8_t x_74; -lean_dec(x_24); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_74 = !lean_is_exclusive(x_27); +x_74 = !lean_is_exclusive(x_8); if (x_74 == 0) { -return x_27; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_27, 0); -x_76 = lean_ctor_get(x_27, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_27); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -} -} -else -{ -uint8_t x_78; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_78 = !lean_is_exclusive(x_8); -if (x_78 == 0) -{ return x_8; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_8, 0); -x_80 = lean_ctor_get(x_8, 1); -lean_inc(x_80); -lean_inc(x_79); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_8, 0); +x_76 = lean_ctor_get(x_8, 1); +lean_inc(x_76); +lean_inc(x_75); lean_dec(x_8); -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_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } @@ -4752,7 +4722,7 @@ x_9 = l_Lean_Meta_addUnificationHint(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; @@ -4773,7 +4743,7 @@ lean_ctor_set_uint8(x_4, 9, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4785,7 +4755,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -4794,23 +4764,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3; 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_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -4821,25 +4791,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6; x_4 = l_Lean_Meta_instInhabitedUnificationHintEntry___closed__1; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); @@ -4849,12 +4819,12 @@ lean_ctor_set(x_5, 3, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2; x_3 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -4865,7 +4835,7 @@ lean_ctor_set(x_3, 5, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4877,7 +4847,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__10() { _start: { lean_object* x_1; @@ -4885,7 +4855,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheK return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4897,7 +4867,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4909,13 +4879,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12; x_4 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4925,14 +4895,14 @@ lean_ctor_set(x_4, 4, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13; x_3 = l_Lean_NameSet_empty; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -4941,7 +4911,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -4957,14 +4927,14 @@ x_9 = lean_st_ref_get(x_5, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14; +x_11 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14; x_12 = lean_st_mk_ref(x_11, 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 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7; +x_15 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7; lean_inc(x_5); lean_inc(x_13); x_16 = l_Lean_Meta_addUnificationHint(x_1, x_3, x_15, x_13, x_4, x_5, x_14); @@ -5056,7 +5026,7 @@ return x_34; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -5064,25 +5034,25 @@ x_1 = lean_mk_string("attribute cannot be erased"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1() { _start: { lean_object* x_1; @@ -5090,17 +5060,17 @@ x_1 = lean_mk_string("unificationHint"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____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_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3() { _start: { lean_object* x_1; @@ -5108,12 +5078,12 @@ x_1 = lean_mk_string("unification hint"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -5122,29 +5092,29 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5152,30 +5122,30 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____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* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___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_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -6729,19 +6699,109 @@ return x_33; } } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1() { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_box(0); +lean_inc(x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_12); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_13); +x_14 = l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2(x_13, x_11, x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2(x_3, x_2, x_4, x_12, x_6, x_7, x_8, x_9, x_17); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_14, 0); +lean_dec(x_20); +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_21); +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_dec(x_14); +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2() { +} +else +{ +uint8_t x_25; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_14); +if (x_25 == 0) +{ +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_14); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -6749,16 +6809,565 @@ x_1 = lean_mk_string(" succeeded, applying constraints"); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4() { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_1); +x_11 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +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 = l_Lean_ConstantInfo_levelParams(x_12); +x_15 = l_List_mapM___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__1(x_14, x_6, x_7, x_8, x_9, x_13); +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_instantiate_value_lparams(x_12, x_16); +lean_dec(x_16); +lean_dec(x_12); +x_19 = lean_box(0); +lean_inc(x_6); +x_20 = l_Lean_Meta_lambdaMetaTelescope(x_18, x_19, x_6, x_7, x_8, x_9, x_17); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_24 = x_20; +} else { + lean_dec_ref(x_20); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_ctor_get(x_22, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint(x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_dec(x_28); +lean_dec(x_4); +lean_dec(x_3); +x_29 = x_19; +x_30 = x_23; +goto block_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = lean_ctor_get(x_6, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_28, 0); +lean_inc(x_62); +lean_dec(x_28); +x_63 = lean_ctor_get(x_6, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_6, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_6, 3); +lean_inc(x_65); +x_66 = !lean_is_exclusive(x_61); +if (x_66 == 0) +{ +uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = 0; +lean_ctor_set_uint8(x_61, 8, x_67); +x_68 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_68, 0, x_61); +lean_ctor_set(x_68, 1, x_63); +lean_ctor_set(x_68, 2, x_64); +lean_ctor_set(x_68, 3, x_65); +x_69 = lean_ctor_get(x_62, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_68); +x_71 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_70, x_3, x_68, x_7, x_8, x_9, x_23); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +lean_dec(x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_62); +lean_dec(x_4); +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +x_29 = x_19; +x_30 = x_74; +goto block_60; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_dec(x_71); +x_76 = lean_ctor_get(x_69, 1); +lean_inc(x_76); +lean_dec(x_69); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_77 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_76, x_4, x_68, x_7, x_8, x_9, x_75); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_unbox(x_78); +lean_dec(x_78); +if (x_79 == 0) +{ +lean_object* x_80; +lean_dec(x_62); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_80); +lean_dec(x_77); +x_29 = x_19; +x_30 = x_80; +goto block_60; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_62); +x_29 = x_82; +x_30 = x_81; +goto block_60; +} +} +else +{ +uint8_t x_83; +lean_dec(x_62); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_77); +if (x_83 == 0) +{ +return x_77; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_77, 0); +x_85 = lean_ctor_get(x_77, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_77); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +else +{ +uint8_t x_87; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_62); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_87 = !lean_is_exclusive(x_71); +if (x_87 == 0) +{ +return x_71; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_71, 0); +x_89 = lean_ctor_get(x_71, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_71); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +else +{ +uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_91 = lean_ctor_get_uint8(x_61, 0); +x_92 = lean_ctor_get_uint8(x_61, 1); +x_93 = lean_ctor_get_uint8(x_61, 2); +x_94 = lean_ctor_get_uint8(x_61, 3); +x_95 = lean_ctor_get_uint8(x_61, 4); +x_96 = lean_ctor_get_uint8(x_61, 5); +x_97 = lean_ctor_get_uint8(x_61, 6); +x_98 = lean_ctor_get_uint8(x_61, 7); +x_99 = lean_ctor_get_uint8(x_61, 9); +lean_dec(x_61); +x_100 = 0; +x_101 = lean_alloc_ctor(0, 0, 10); +lean_ctor_set_uint8(x_101, 0, x_91); +lean_ctor_set_uint8(x_101, 1, x_92); +lean_ctor_set_uint8(x_101, 2, x_93); +lean_ctor_set_uint8(x_101, 3, x_94); +lean_ctor_set_uint8(x_101, 4, x_95); +lean_ctor_set_uint8(x_101, 5, x_96); +lean_ctor_set_uint8(x_101, 6, x_97); +lean_ctor_set_uint8(x_101, 7, x_98); +lean_ctor_set_uint8(x_101, 8, x_100); +lean_ctor_set_uint8(x_101, 9, x_99); +x_102 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_63); +lean_ctor_set(x_102, 2, x_64); +lean_ctor_set(x_102, 3, x_65); +x_103 = lean_ctor_get(x_62, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_102); +x_105 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_104, x_3, x_102, x_7, x_8, x_9, x_23); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; uint8_t x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_unbox(x_106); +lean_dec(x_106); +if (x_107 == 0) +{ +lean_object* x_108; +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_62); +lean_dec(x_4); +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +lean_dec(x_105); +x_29 = x_19; +x_30 = x_108; +goto block_60; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_105, 1); +lean_inc(x_109); +lean_dec(x_105); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_111 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_110, x_4, x_102, x_7, x_8, x_9, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +lean_object* x_114; +lean_dec(x_62); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_29 = x_19; +x_30 = x_114; +goto block_60; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_111, 1); +lean_inc(x_115); +lean_dec(x_111); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_62); +x_29 = x_116; +x_30 = x_115; +goto block_60; +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_62); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_117 = lean_ctor_get(x_111, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_111, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_119 = x_111; +} else { + lean_dec_ref(x_111); + 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; lean_object* x_124; +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_62); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_ctor_get(x_105, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_105, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_123 = x_105; +} else { + lean_dec_ref(x_105); + x_123 = lean_box(0); +} +if (lean_is_scalar(x_123)) { + x_124 = lean_alloc_ctor(1, 2, 0); +} else { + x_124 = x_123; +} +lean_ctor_set(x_124, 0, x_121); +lean_ctor_set(x_124, 1, x_122); +return x_124; +} +} +} +block_60: +{ +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_31 = 0; +x_32 = lean_box(x_31); +if (lean_is_scalar(x_24)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_24; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_dec(x_24); +x_34 = lean_ctor_get(x_29, 0); +lean_inc(x_34); +lean_dec(x_29); +x_49 = lean_st_ref_get(x_9, x_30); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_50, 3); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_ctor_get_uint8(x_51, sizeof(void*)*1); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_49, 1); +lean_inc(x_53); +lean_dec(x_49); +x_54 = 0; +x_35 = x_54; +x_36 = x_53; +goto block_48; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = lean_ctor_get(x_49, 1); +lean_inc(x_55); +lean_dec(x_49); +lean_inc(x_2); +x_56 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_2, x_6, x_7, x_8, x_9, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_unbox(x_57); +lean_dec(x_57); +x_35 = x_59; +x_36 = x_58; +goto block_48; +} +block_48: +{ +if (x_35 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_2); +lean_dec(x_1); +x_37 = lean_box(0); +x_38 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3(x_34, x_19, x_26, x_25, x_37, x_6, x_7, x_8, x_9, x_36); +lean_dec(x_25); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_39 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_39, 0, x_1); +x_40 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2; +x_43 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_2, x_43, x_6, x_7, x_8, x_9, x_36); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3(x_34, x_19, x_26, x_25, x_45, x_6, x_7, x_8, x_9, x_46); +lean_dec(x_45); +lean_dec(x_25); +return x_47; +} +} +} +} +} +else +{ +uint8_t x_125; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_125 = !lean_is_exclusive(x_11); +if (x_125 == 0) +{ +return x_11; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_11, 0); +x_127 = lean_ctor_get(x_11, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_11); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1() { _start: { lean_object* x_1; @@ -6766,16 +7375,16 @@ x_1 = lean_mk_string("trying hint "); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3() { _start: { lean_object* x_1; @@ -6783,16 +7392,16 @@ x_1 = lean_mk_string(" at "); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5() { _start: { lean_object* x_1; @@ -6800,1669 +7409,715 @@ x_1 = lean_mk_string(" =?= "); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t 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_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_29; lean_object* x_30; lean_object* x_69; uint8_t x_189; lean_object* x_190; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_15 = l_Lean_Meta_saveState___rarg(x_11, x_12, x_13, x_14); -x_16 = lean_ctor_get(x_15, 0); +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_25; lean_object* x_26; uint8_t x_65; lean_object* x_66; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, 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 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Meta_getResetPostponed(x_10, x_11, x_12, x_13, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_207 = lean_st_ref_get(x_13, x_20); -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_208, 3); -lean_inc(x_209); -lean_dec(x_208); -x_210 = lean_ctor_get_uint8(x_209, sizeof(void*)*1); -lean_dec(x_209); -if (x_210 == 0) +lean_dec(x_14); +x_97 = lean_st_ref_get(x_9, x_16); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_98, 3); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); +lean_dec(x_99); +if (x_100 == 0) { -lean_object* x_211; uint8_t x_212; -x_211 = lean_ctor_get(x_207, 1); -lean_inc(x_211); -lean_dec(x_207); -x_212 = 0; -x_189 = x_212; -x_190 = x_211; -goto block_206; +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +lean_dec(x_97); +x_102 = 0; +x_65 = x_102; +x_66 = x_101; +goto block_96; } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_213 = lean_ctor_get(x_207, 1); -lean_inc(x_213); -lean_dec(x_207); -lean_inc(x_8); -x_214 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_10, x_11, x_12, x_13, x_213); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_unbox(x_215); -lean_dec(x_215); -x_189 = x_217; -x_190 = x_216; -goto block_206; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +lean_inc(x_4); +x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_6, x_7, x_8, x_9, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_unbox(x_105); +lean_dec(x_105); +x_65 = x_107; +x_66 = x_106; +goto block_96; } -block_28: +block_24: { -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_22); -lean_dec(x_13); +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set_tag(x_23, 1); -lean_ctor_set(x_23, 0, x_21); +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set_tag(x_19, 1); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_22); return x_23; } -else +} +block_64: { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_26); +if (x_25 == 0) +{ +lean_object* x_27; uint8_t x_28; +lean_dec(x_15); +x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_27, 0, x_31); return x_27; } -} -block_68: -{ -if (x_29 == 0) -{ -lean_object* x_31; uint8_t x_32; -lean_dec(x_19); -x_31 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_30); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = 0; -x_35 = lean_box(x_34); -lean_ctor_set(x_31, 0, x_35); -return x_31; -} else { -lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_31, 1); -lean_inc(x_36); -lean_dec(x_31); -x_37 = 0; -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_36); -return x_39; +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = 0; +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_40; lean_object* x_41; -x_40 = 0; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_41 = l_Lean_Meta_processPostponed(x_9, x_40, x_10, x_11, x_12, x_13, x_30); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_unbox(x_42); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_19); -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_44); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(x_40); -lean_ctor_set(x_45, 0, x_48); -return x_45; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(x_40); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_16); -x_52 = lean_ctor_get(x_41, 1); -lean_inc(x_52); -lean_dec(x_41); -x_53 = l_Lean_Meta_getPostponed___rarg(x_11, x_12, x_13, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Std_PersistentArray_append___rarg(x_19, x_54); -lean_dec(x_54); -x_57 = l_Lean_Meta_setPostponed(x_56, x_10, x_11, x_12, x_13, x_55); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; uint8_t x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -x_60 = 1; -x_61 = lean_box(x_60); -lean_ctor_set(x_57, 0, x_61); -return x_57; -} -else -{ -lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = 1; -x_64 = lean_box(x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; -lean_dec(x_19); -x_66 = lean_ctor_get(x_41, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_41, 1); -lean_inc(x_67); -lean_dec(x_41); -x_21 = x_66; -x_22 = x_67; -goto block_28; -} -} -} -block_188: -{ -lean_object* x_70; -lean_inc(x_3); -x_70 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(x_3, x_10, x_11, x_12, x_13, x_69); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_129; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_ConstantInfo_levelParams(x_71); -x_74 = l_List_mapM___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__1(x_73, x_10, x_11, x_12, x_13, x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_instantiate_value_lparams(x_71, x_75); -lean_dec(x_75); -lean_dec(x_71); -x_78 = lean_box(0); -lean_inc(x_10); -x_79 = l_Lean_Meta_lambdaMetaTelescope(x_77, x_78, x_10, x_11, x_12, x_13, x_76); -lean_dec(x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -lean_dec(x_79); -x_83 = lean_ctor_get(x_80, 0); -lean_inc(x_83); -lean_dec(x_80); -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); -lean_dec(x_81); -x_129 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint(x_85); -if (lean_obj_tag(x_129) == 0) -{ -lean_dec(x_129); -lean_dec(x_2); -lean_dec(x_1); -x_86 = x_78; -x_87 = x_82; -goto block_128; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_130 = lean_ctor_get(x_10, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_ctor_get(x_10, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_10, 2); -lean_inc(x_133); -x_134 = lean_ctor_get(x_10, 3); -lean_inc(x_134); -x_135 = !lean_is_exclusive(x_130); -if (x_135 == 0) -{ -uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_136 = 0; -lean_ctor_set_uint8(x_130, 8, x_136); -x_137 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_137, 0, x_130); -lean_ctor_set(x_137, 1, x_132); -lean_ctor_set(x_137, 2, x_133); -lean_ctor_set(x_137, 3, x_134); -x_138 = lean_ctor_get(x_131, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_137); -x_140 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_139, x_1, x_137, x_11, x_12, x_13, x_82); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; uint8_t x_142; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_unbox(x_141); -lean_dec(x_141); -if (x_142 == 0) -{ -lean_object* x_143; -lean_dec(x_138); -lean_dec(x_137); -lean_dec(x_131); -lean_dec(x_2); -x_143 = lean_ctor_get(x_140, 1); -lean_inc(x_143); -lean_dec(x_140); -x_86 = x_78; -x_87 = x_143; -goto block_128; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_140, 1); -lean_inc(x_144); -lean_dec(x_140); -x_145 = lean_ctor_get(x_138, 1); -lean_inc(x_145); -lean_dec(x_138); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_146 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_145, x_2, x_137, x_11, x_12, x_13, x_144); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_unbox(x_147); -lean_dec(x_147); -if (x_148 == 0) -{ -lean_object* x_149; -lean_dec(x_131); -x_149 = lean_ctor_get(x_146, 1); -lean_inc(x_149); -lean_dec(x_146); -x_86 = x_78; -x_87 = x_149; -goto block_128; -} -else -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_146, 1); -lean_inc(x_150); -lean_dec(x_146); -x_151 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_151, 0, x_131); -x_86 = x_151; -x_87 = x_150; -goto block_128; -} -} -else -{ -lean_object* x_152; lean_object* x_153; -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -x_152 = lean_ctor_get(x_146, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_146, 1); -lean_inc(x_153); -lean_dec(x_146); -x_21 = x_152; -x_22 = x_153; -goto block_28; -} -} -} -else -{ -lean_object* x_154; lean_object* x_155; -lean_dec(x_138); -lean_dec(x_137); -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_154 = lean_ctor_get(x_140, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_140, 1); -lean_inc(x_155); -lean_dec(x_140); -x_21 = x_154; -x_22 = x_155; -goto block_28; -} -} -else -{ -uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; uint8_t x_163; uint8_t x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_156 = lean_ctor_get_uint8(x_130, 0); -x_157 = lean_ctor_get_uint8(x_130, 1); -x_158 = lean_ctor_get_uint8(x_130, 2); -x_159 = lean_ctor_get_uint8(x_130, 3); -x_160 = lean_ctor_get_uint8(x_130, 4); -x_161 = lean_ctor_get_uint8(x_130, 5); -x_162 = lean_ctor_get_uint8(x_130, 6); -x_163 = lean_ctor_get_uint8(x_130, 7); -x_164 = lean_ctor_get_uint8(x_130, 9); -lean_dec(x_130); -x_165 = 0; -x_166 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_166, 0, x_156); -lean_ctor_set_uint8(x_166, 1, x_157); -lean_ctor_set_uint8(x_166, 2, x_158); -lean_ctor_set_uint8(x_166, 3, x_159); -lean_ctor_set_uint8(x_166, 4, x_160); -lean_ctor_set_uint8(x_166, 5, x_161); -lean_ctor_set_uint8(x_166, 6, x_162); -lean_ctor_set_uint8(x_166, 7, x_163); -lean_ctor_set_uint8(x_166, 8, x_165); -lean_ctor_set_uint8(x_166, 9, x_164); -x_167 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_132); -lean_ctor_set(x_167, 2, x_133); -lean_ctor_set(x_167, 3, x_134); -x_168 = lean_ctor_get(x_131, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_167); -x_170 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_169, x_1, x_167, x_11, x_12, x_13, x_82); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_unbox(x_171); -lean_dec(x_171); -if (x_172 == 0) -{ -lean_object* x_173; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_131); -lean_dec(x_2); -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -lean_dec(x_170); -x_86 = x_78; -x_87 = x_173; -goto block_128; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_170, 1); -lean_inc(x_174); -lean_dec(x_170); -x_175 = lean_ctor_get(x_168, 1); -lean_inc(x_175); -lean_dec(x_168); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_176 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_175, x_2, x_167, x_11, x_12, x_13, x_174); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; uint8_t x_178; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_unbox(x_177); -lean_dec(x_177); -if (x_178 == 0) -{ -lean_object* x_179; -lean_dec(x_131); -x_179 = lean_ctor_get(x_176, 1); -lean_inc(x_179); -lean_dec(x_176); -x_86 = x_78; -x_87 = x_179; -goto block_128; -} -else -{ -lean_object* x_180; lean_object* x_181; -x_180 = lean_ctor_get(x_176, 1); -lean_inc(x_180); -lean_dec(x_176); -x_181 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_181, 0, x_131); -x_86 = x_181; -x_87 = x_180; -goto block_128; -} -} -else -{ -lean_object* x_182; lean_object* x_183; -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -x_182 = lean_ctor_get(x_176, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_176, 1); -lean_inc(x_183); -lean_dec(x_176); -x_21 = x_182; -x_22 = x_183; -goto block_28; -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_184 = lean_ctor_get(x_170, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_170, 1); -lean_inc(x_185); -lean_dec(x_170); -x_21 = x_184; -x_22 = x_185; -goto block_28; -} -} -} -block_128: -{ -if (lean_obj_tag(x_86) == 0) -{ -uint8_t x_88; -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_8); -lean_dec(x_3); -x_88 = 0; -x_29 = x_88; -x_30 = x_87; -goto block_68; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_89 = lean_ctor_get(x_86, 0); -lean_inc(x_89); -lean_dec(x_86); -x_110 = lean_st_ref_get(x_13, x_87); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_111, 3); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); -lean_dec(x_112); -if (x_113 == 0) -{ -lean_object* x_114; -lean_dec(x_8); -lean_dec(x_3); -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_90 = x_114; -goto block_109; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = lean_ctor_get(x_110, 1); -lean_inc(x_115); -lean_dec(x_110); +uint8_t x_36; lean_object* x_37; +x_36 = 0; +lean_inc(x_9); lean_inc(x_8); -x_116 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_10, x_11, x_12, x_13, x_115); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_unbox(x_117); -lean_dec(x_117); -if (x_118 == 0) +lean_inc(x_7); +lean_inc(x_6); +x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_119; +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_dec(x_15); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_3); -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_90 = x_119; -goto block_109; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +x_44 = lean_box(x_36); +lean_ctor_set(x_41, 0, x_44); +return x_41; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_120 = lean_ctor_get(x_116, 1); -lean_inc(x_120); -lean_dec(x_116); -x_121 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_121, 0, x_3); -x_122 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_125, x_10, x_11, x_12, x_13, x_120); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_90 = x_127; -goto block_109; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_box(x_36); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; } } -block_109: +else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_89, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +lean_dec(x_12); +x_48 = lean_ctor_get(x_37, 1); +lean_inc(x_48); +lean_dec(x_37); +x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); +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); +x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); +lean_dec(x_50); +x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +x_56 = 1; +x_57 = lean_box(x_56); +lean_ctor_set(x_53, 0, x_57); +return x_53; +} +else +{ +lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); +lean_dec(x_53); +x_59 = 1; +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_58); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_15); +x_62 = lean_ctor_get(x_37, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_37, 1); +lean_inc(x_63); +lean_dec(x_37); +x_17 = x_62; +x_18 = x_63; +goto block_24; +} +} +} +block_96: +{ +if (x_65 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_67, x_6, x_7, x_8, x_9, x_66); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_unbox(x_69); +lean_dec(x_69); +x_25 = x_71; +x_26 = x_70; +goto block_64; +} +else +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_15); +x_72 = lean_ctor_get(x_68, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_68, 1); +lean_inc(x_73); +lean_dec(x_68); +x_17 = x_72; +x_18 = x_73; +goto block_24; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_inc(x_3); +x_74 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_74, 0, x_3); +x_75 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; +x_76 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; +x_78 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_1); +x_79 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_79, 0, x_1); +x_80 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; +x_82 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +lean_inc(x_2); +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_2); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +lean_inc(x_4); +x_87 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_4, x_86, x_6, x_7, x_8, x_9, x_66); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_88, x_6, x_7, x_8, x_9, x_89); +lean_dec(x_88); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_93 = l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2(x_92, x_91, x_92, x_10, x_11, x_12, x_13, x_90); -if (lean_obj_tag(x_93) == 0) +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_25 = x_93; +x_26 = x_92; +goto block_64; +} +else { lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_93, 0); +lean_dec(x_15); +x_94 = lean_ctor_get(x_90, 0); lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 0); +x_95 = lean_ctor_get(x_90, 1); lean_inc(x_95); -lean_dec(x_94); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_98 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2(x_84, x_78, x_83, x_97, x_10, x_11, x_12, x_13, x_96); -lean_dec(x_83); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; uint8_t 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); -x_101 = lean_unbox(x_99); -lean_dec(x_99); -x_29 = x_101; -x_30 = x_100; -goto block_68; -} -else -{ -lean_object* x_102; lean_object* x_103; -lean_dec(x_19); -x_102 = lean_ctor_get(x_98, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_98, 1); -lean_inc(x_103); -lean_dec(x_98); -x_21 = x_102; -x_22 = x_103; -goto block_28; -} -} -else -{ -lean_object* x_104; lean_object* x_105; uint8_t x_106; -lean_dec(x_84); -lean_dec(x_83); -x_104 = lean_ctor_get(x_93, 1); -lean_inc(x_104); -lean_dec(x_93); -x_105 = lean_ctor_get(x_95, 0); -lean_inc(x_105); -lean_dec(x_95); -x_106 = lean_unbox(x_105); -lean_dec(x_105); -x_29 = x_106; -x_30 = x_104; -goto block_68; -} -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -x_107 = lean_ctor_get(x_93, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_93, 1); -lean_inc(x_108); -lean_dec(x_93); -x_21 = x_107; -x_22 = x_108; -goto block_28; +lean_dec(x_90); +x_17 = x_94; +x_18 = x_95; +goto block_24; } } } } } -else -{ -lean_object* x_186; lean_object* x_187; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_186 = lean_ctor_get(x_70, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_70, 1); -lean_inc(x_187); -lean_dec(x_70); -x_21 = x_186; -x_22 = x_187; -goto block_28; -} -} -block_206: -{ -if (x_189 == 0) -{ -x_69 = x_190; -goto block_188; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -lean_inc(x_3); -x_191 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_191, 0, x_3); -x_192 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; -x_193 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; -x_195 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -lean_inc(x_1); -x_196 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_196, 0, x_1); -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_198 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9; -x_199 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -lean_inc(x_2); -x_200 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_200, 0, x_2); -x_201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -x_202 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -lean_inc(x_8); -x_204 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_203, x_10, x_11, x_12, x_13, x_190); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_69 = x_205; -goto block_188; -} -} -} -} -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t 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_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_29; lean_object* x_30; lean_object* x_69; uint8_t x_189; lean_object* x_190; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_15 = l_Lean_Meta_saveState___rarg(x_11, x_12, x_13, x_14); -x_16 = lean_ctor_get(x_15, 0); +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_25; lean_object* x_26; uint8_t x_65; lean_object* x_66; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, 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 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Meta_getResetPostponed(x_10, x_11, x_12, x_13, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_207 = lean_st_ref_get(x_13, x_20); -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_208, 3); -lean_inc(x_209); -lean_dec(x_208); -x_210 = lean_ctor_get_uint8(x_209, sizeof(void*)*1); -lean_dec(x_209); -if (x_210 == 0) +lean_dec(x_14); +x_97 = lean_st_ref_get(x_9, x_16); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_98, 3); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); +lean_dec(x_99); +if (x_100 == 0) { -lean_object* x_211; uint8_t x_212; -x_211 = lean_ctor_get(x_207, 1); -lean_inc(x_211); -lean_dec(x_207); -x_212 = 0; -x_189 = x_212; -x_190 = x_211; -goto block_206; +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +lean_dec(x_97); +x_102 = 0; +x_65 = x_102; +x_66 = x_101; +goto block_96; } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; -x_213 = lean_ctor_get(x_207, 1); -lean_inc(x_213); -lean_dec(x_207); -lean_inc(x_8); -x_214 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_10, x_11, x_12, x_13, x_213); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_unbox(x_215); -lean_dec(x_215); -x_189 = x_217; -x_190 = x_216; -goto block_206; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +lean_inc(x_4); +x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_4, x_6, x_7, x_8, x_9, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_unbox(x_105); +lean_dec(x_105); +x_65 = x_107; +x_66 = x_106; +goto block_96; } -block_28: +block_24: { -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_22); -lean_dec(x_13); +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set_tag(x_23, 1); -lean_ctor_set(x_23, 0, x_21); +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set_tag(x_19, 1); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_22); return x_23; } -else +} +block_64: { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_26); +if (x_25 == 0) +{ +lean_object* x_27; uint8_t x_28; +lean_dec(x_15); +x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_27, 0, x_31); return x_27; } -} -block_68: -{ -if (x_29 == 0) -{ -lean_object* x_31; uint8_t x_32; -lean_dec(x_19); -x_31 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_30); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = 0; -x_35 = lean_box(x_34); -lean_ctor_set(x_31, 0, x_35); -return x_31; -} else { -lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_31, 1); -lean_inc(x_36); -lean_dec(x_31); -x_37 = 0; -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_36); -return x_39; +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = 0; +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_40; lean_object* x_41; -x_40 = 0; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_41 = l_Lean_Meta_processPostponed(x_9, x_40, x_10, x_11, x_12, x_13, x_30); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_unbox(x_42); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_19); -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = l_Lean_Meta_SavedState_restore(x_16, x_10, x_11, x_12, x_13, x_44); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_16); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(x_40); -lean_ctor_set(x_45, 0, x_48); -return x_45; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(x_40); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_16); -x_52 = lean_ctor_get(x_41, 1); -lean_inc(x_52); -lean_dec(x_41); -x_53 = l_Lean_Meta_getPostponed___rarg(x_11, x_12, x_13, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Std_PersistentArray_append___rarg(x_19, x_54); -lean_dec(x_54); -x_57 = l_Lean_Meta_setPostponed(x_56, x_10, x_11, x_12, x_13, x_55); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; uint8_t x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -x_60 = 1; -x_61 = lean_box(x_60); -lean_ctor_set(x_57, 0, x_61); -return x_57; -} -else -{ -lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = 1; -x_64 = lean_box(x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; -lean_dec(x_19); -x_66 = lean_ctor_get(x_41, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_41, 1); -lean_inc(x_67); -lean_dec(x_41); -x_21 = x_66; -x_22 = x_67; -goto block_28; -} -} -} -block_188: -{ -lean_object* x_70; -lean_inc(x_3); -x_70 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(x_3, x_10, x_11, x_12, x_13, x_69); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_129; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_ConstantInfo_levelParams(x_71); -x_74 = l_List_mapM___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__1(x_73, x_10, x_11, x_12, x_13, x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_instantiate_value_lparams(x_71, x_75); -lean_dec(x_75); -lean_dec(x_71); -x_78 = lean_box(0); -lean_inc(x_10); -x_79 = l_Lean_Meta_lambdaMetaTelescope(x_77, x_78, x_10, x_11, x_12, x_13, x_76); -lean_dec(x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -lean_dec(x_79); -x_83 = lean_ctor_get(x_80, 0); -lean_inc(x_83); -lean_dec(x_80); -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); -lean_dec(x_81); -x_129 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint(x_85); -if (lean_obj_tag(x_129) == 0) -{ -lean_dec(x_129); -lean_dec(x_2); -lean_dec(x_1); -x_86 = x_78; -x_87 = x_82; -goto block_128; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_130 = lean_ctor_get(x_10, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_ctor_get(x_10, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_10, 2); -lean_inc(x_133); -x_134 = lean_ctor_get(x_10, 3); -lean_inc(x_134); -x_135 = !lean_is_exclusive(x_130); -if (x_135 == 0) -{ -uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_136 = 0; -lean_ctor_set_uint8(x_130, 8, x_136); -x_137 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_137, 0, x_130); -lean_ctor_set(x_137, 1, x_132); -lean_ctor_set(x_137, 2, x_133); -lean_ctor_set(x_137, 3, x_134); -x_138 = lean_ctor_get(x_131, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_137); -x_140 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_139, x_1, x_137, x_11, x_12, x_13, x_82); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; uint8_t x_142; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_unbox(x_141); -lean_dec(x_141); -if (x_142 == 0) -{ -lean_object* x_143; -lean_dec(x_138); -lean_dec(x_137); -lean_dec(x_131); -lean_dec(x_2); -x_143 = lean_ctor_get(x_140, 1); -lean_inc(x_143); -lean_dec(x_140); -x_86 = x_78; -x_87 = x_143; -goto block_128; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_140, 1); -lean_inc(x_144); -lean_dec(x_140); -x_145 = lean_ctor_get(x_138, 1); -lean_inc(x_145); -lean_dec(x_138); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_146 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_145, x_2, x_137, x_11, x_12, x_13, x_144); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; uint8_t x_148; -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_unbox(x_147); -lean_dec(x_147); -if (x_148 == 0) -{ -lean_object* x_149; -lean_dec(x_131); -x_149 = lean_ctor_get(x_146, 1); -lean_inc(x_149); -lean_dec(x_146); -x_86 = x_78; -x_87 = x_149; -goto block_128; -} -else -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_146, 1); -lean_inc(x_150); -lean_dec(x_146); -x_151 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_151, 0, x_131); -x_86 = x_151; -x_87 = x_150; -goto block_128; -} -} -else -{ -lean_object* x_152; lean_object* x_153; -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -x_152 = lean_ctor_get(x_146, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_146, 1); -lean_inc(x_153); -lean_dec(x_146); -x_21 = x_152; -x_22 = x_153; -goto block_28; -} -} -} -else -{ -lean_object* x_154; lean_object* x_155; -lean_dec(x_138); -lean_dec(x_137); -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_154 = lean_ctor_get(x_140, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_140, 1); -lean_inc(x_155); -lean_dec(x_140); -x_21 = x_154; -x_22 = x_155; -goto block_28; -} -} -else -{ -uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; uint8_t x_163; uint8_t x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_156 = lean_ctor_get_uint8(x_130, 0); -x_157 = lean_ctor_get_uint8(x_130, 1); -x_158 = lean_ctor_get_uint8(x_130, 2); -x_159 = lean_ctor_get_uint8(x_130, 3); -x_160 = lean_ctor_get_uint8(x_130, 4); -x_161 = lean_ctor_get_uint8(x_130, 5); -x_162 = lean_ctor_get_uint8(x_130, 6); -x_163 = lean_ctor_get_uint8(x_130, 7); -x_164 = lean_ctor_get_uint8(x_130, 9); -lean_dec(x_130); -x_165 = 0; -x_166 = lean_alloc_ctor(0, 0, 10); -lean_ctor_set_uint8(x_166, 0, x_156); -lean_ctor_set_uint8(x_166, 1, x_157); -lean_ctor_set_uint8(x_166, 2, x_158); -lean_ctor_set_uint8(x_166, 3, x_159); -lean_ctor_set_uint8(x_166, 4, x_160); -lean_ctor_set_uint8(x_166, 5, x_161); -lean_ctor_set_uint8(x_166, 6, x_162); -lean_ctor_set_uint8(x_166, 7, x_163); -lean_ctor_set_uint8(x_166, 8, x_165); -lean_ctor_set_uint8(x_166, 9, x_164); -x_167 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_132); -lean_ctor_set(x_167, 2, x_133); -lean_ctor_set(x_167, 3, x_134); -x_168 = lean_ctor_get(x_131, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_167); -x_170 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_169, x_1, x_167, x_11, x_12, x_13, x_82); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_unbox(x_171); -lean_dec(x_171); -if (x_172 == 0) -{ -lean_object* x_173; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_131); -lean_dec(x_2); -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -lean_dec(x_170); -x_86 = x_78; -x_87 = x_173; -goto block_128; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_170, 1); -lean_inc(x_174); -lean_dec(x_170); -x_175 = lean_ctor_get(x_168, 1); -lean_inc(x_175); -lean_dec(x_168); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_176 = l_Lean_Meta_tryUnificationHints_isDefEqPattern(x_175, x_2, x_167, x_11, x_12, x_13, x_174); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; uint8_t x_178; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_unbox(x_177); -lean_dec(x_177); -if (x_178 == 0) -{ -lean_object* x_179; -lean_dec(x_131); -x_179 = lean_ctor_get(x_176, 1); -lean_inc(x_179); -lean_dec(x_176); -x_86 = x_78; -x_87 = x_179; -goto block_128; -} -else -{ -lean_object* x_180; lean_object* x_181; -x_180 = lean_ctor_get(x_176, 1); -lean_inc(x_180); -lean_dec(x_176); -x_181 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_181, 0, x_131); -x_86 = x_181; -x_87 = x_180; -goto block_128; -} -} -else -{ -lean_object* x_182; lean_object* x_183; -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -x_182 = lean_ctor_get(x_176, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_176, 1); -lean_inc(x_183); -lean_dec(x_176); -x_21 = x_182; -x_22 = x_183; -goto block_28; -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_131); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_184 = lean_ctor_get(x_170, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_170, 1); -lean_inc(x_185); -lean_dec(x_170); -x_21 = x_184; -x_22 = x_185; -goto block_28; -} -} -} -block_128: -{ -if (lean_obj_tag(x_86) == 0) -{ -uint8_t x_88; -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_8); -lean_dec(x_3); -x_88 = 0; -x_29 = x_88; -x_30 = x_87; -goto block_68; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_89 = lean_ctor_get(x_86, 0); -lean_inc(x_89); -lean_dec(x_86); -x_110 = lean_st_ref_get(x_13, x_87); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_111, 3); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); -lean_dec(x_112); -if (x_113 == 0) -{ -lean_object* x_114; -lean_dec(x_8); -lean_dec(x_3); -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_90 = x_114; -goto block_109; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = lean_ctor_get(x_110, 1); -lean_inc(x_115); -lean_dec(x_110); +uint8_t x_36; lean_object* x_37; +x_36 = 0; +lean_inc(x_9); lean_inc(x_8); -x_116 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_10, x_11, x_12, x_13, x_115); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_unbox(x_117); -lean_dec(x_117); -if (x_118 == 0) +lean_inc(x_7); +lean_inc(x_6); +x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_119; +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_dec(x_15); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_3); -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_90 = x_119; -goto block_109; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +x_44 = lean_box(x_36); +lean_ctor_set(x_41, 0, x_44); +return x_41; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_120 = lean_ctor_get(x_116, 1); -lean_inc(x_120); -lean_dec(x_116); -x_121 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_121, 0, x_3); -x_122 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_125, x_10, x_11, x_12, x_13, x_120); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_90 = x_127; -goto block_109; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_box(x_36); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; } } -block_109: +else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_89, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +lean_dec(x_12); +x_48 = lean_ctor_get(x_37, 1); +lean_inc(x_48); +lean_dec(x_37); +x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); +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); +x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); +lean_dec(x_50); +x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +x_56 = 1; +x_57 = lean_box(x_56); +lean_ctor_set(x_53, 0, x_57); +return x_53; +} +else +{ +lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); +lean_dec(x_53); +x_59 = 1; +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_58); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_15); +x_62 = lean_ctor_get(x_37, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_37, 1); +lean_inc(x_63); +lean_dec(x_37); +x_17 = x_62; +x_18 = x_63; +goto block_24; +} +} +} +block_96: +{ +if (x_65 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_67, x_6, x_7, x_8, x_9, x_66); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_unbox(x_69); +lean_dec(x_69); +x_25 = x_71; +x_26 = x_70; +goto block_64; +} +else +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_15); +x_72 = lean_ctor_get(x_68, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_68, 1); +lean_inc(x_73); +lean_dec(x_68); +x_17 = x_72; +x_18 = x_73; +goto block_24; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_inc(x_3); +x_74 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_74, 0, x_3); +x_75 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; +x_76 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; +x_78 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_1); +x_79 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_79, 0, x_1); +x_80 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; +x_82 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +lean_inc(x_2); +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_2); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +lean_inc(x_4); +x_87 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_4, x_86, x_6, x_7, x_8, x_9, x_66); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_88, x_6, x_7, x_8, x_9, x_89); +lean_dec(x_88); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_93 = l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2(x_92, x_91, x_92, x_10, x_11, x_12, x_13, x_90); -if (lean_obj_tag(x_93) == 0) +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_25 = x_93; +x_26 = x_92; +goto block_64; +} +else { lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_93, 0); +lean_dec(x_15); +x_94 = lean_ctor_get(x_90, 0); lean_inc(x_94); -x_95 = lean_ctor_get(x_94, 0); +x_95 = lean_ctor_get(x_90, 1); lean_inc(x_95); -lean_dec(x_94); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_98 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2(x_84, x_78, x_83, x_97, x_10, x_11, x_12, x_13, x_96); -lean_dec(x_83); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; uint8_t 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); -x_101 = lean_unbox(x_99); -lean_dec(x_99); -x_29 = x_101; -x_30 = x_100; -goto block_68; +lean_dec(x_90); +x_17 = x_94; +x_18 = x_95; +goto block_24; } -else -{ -lean_object* x_102; lean_object* x_103; -lean_dec(x_19); -x_102 = lean_ctor_get(x_98, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_98, 1); -lean_inc(x_103); -lean_dec(x_98); -x_21 = x_102; -x_22 = x_103; -goto block_28; -} -} -else -{ -lean_object* x_104; lean_object* x_105; uint8_t x_106; -lean_dec(x_84); -lean_dec(x_83); -x_104 = lean_ctor_get(x_93, 1); -lean_inc(x_104); -lean_dec(x_93); -x_105 = lean_ctor_get(x_95, 0); -lean_inc(x_105); -lean_dec(x_95); -x_106 = lean_unbox(x_105); -lean_dec(x_105); -x_29 = x_106; -x_30 = x_104; -goto block_68; -} -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_19); -x_107 = lean_ctor_get(x_93, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_93, 1); -lean_inc(x_108); -lean_dec(x_93); -x_21 = x_107; -x_22 = x_108; -goto block_28; -} -} -} -} -} -else -{ -lean_object* x_186; lean_object* x_187; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_186 = lean_ctor_get(x_70, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_70, 1); -lean_inc(x_187); -lean_dec(x_70); -x_21 = x_186; -x_22 = x_187; -goto block_28; -} -} -block_206: -{ -if (x_189 == 0) -{ -x_69 = x_190; -goto block_188; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -lean_inc(x_3); -x_191 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_191, 0, x_3); -x_192 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; -x_193 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; -x_195 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -lean_inc(x_1); -x_196 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_196, 0, x_1); -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_198 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9; -x_199 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -lean_inc(x_2); -x_200 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_200, 0, x_2); -x_201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -x_202 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -lean_inc(x_8); -x_204 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_203, x_10, x_11, x_12, x_13, x_190); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_69 = x_205; -goto block_188; } } } @@ -8471,100 +8126,21 @@ static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed_ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT), 3, 2); -lean_closure_set(x_1, 0, lean_box(0)); -lean_closure_set(x_1, 1, lean_box(0)); +x_1 = lean_mk_string("isDefEq"); return x_1; } } static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_lift), 4, 3); -lean_closure_set(x_1, 0, lean_box(0)); -lean_closure_set(x_1, 1, lean_box(0)); -lean_closure_set(x_1, 2, lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = l_EStateM_instMonadEStateM(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5; -x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); -lean_closure_set(x_2, 0, lean_box(0)); -lean_closure_set(x_2, 1, lean_box(0)); -lean_closure_set(x_2, 2, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; -x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6; -x_3 = l_Lean_Core_instMonadRefCoreM; -x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Core_instMonadCoreM; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("isDefEq"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_addUnificationHint___lambda__1___closed__4; -x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9; +x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11() { +static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3() { _start: { lean_object* x_1; @@ -8572,12 +8148,12 @@ x_1 = lean_mk_string("hint"); return x_1; } } -static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12() { +static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10; -x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11; +x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; +x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -8585,865 +8161,845 @@ return x_3; lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_234 = lean_st_ref_get(x_7, x_8); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_235, 3); -lean_inc(x_236); -lean_dec(x_235); -x_237 = lean_ctor_get_uint8(x_236, sizeof(void*)*1); -lean_dec(x_236); -if (x_237 == 0) +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_9 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4; +x_215 = lean_st_ref_get(x_7, x_8); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_216, 3); +lean_inc(x_217); +lean_dec(x_216); +x_218 = lean_ctor_get_uint8(x_217, sizeof(void*)*1); +lean_dec(x_217); +if (x_218 == 0) { -lean_object* x_238; uint8_t x_239; -x_238 = lean_ctor_get(x_234, 1); -lean_inc(x_238); -lean_dec(x_234); -x_239 = 0; -x_9 = x_239; -x_10 = x_238; -goto block_233; +lean_object* x_219; uint8_t x_220; +x_219 = lean_ctor_get(x_215, 1); +lean_inc(x_219); +lean_dec(x_215); +x_220 = 0; +x_10 = x_220; +x_11 = x_219; +goto block_214; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_240 = lean_ctor_get(x_234, 1); -lean_inc(x_240); -lean_dec(x_234); -x_241 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_242 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_241, x_4, x_5, x_6, x_7, x_240); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_unbox(x_243); -lean_dec(x_243); -x_9 = x_245; -x_10 = x_244; -goto block_233; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_221 = lean_ctor_get(x_215, 1); +lean_inc(x_221); +lean_dec(x_215); +x_222 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_9, x_4, x_5, x_6, x_7, x_221); +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec(x_222); +x_225 = lean_unbox(x_223); +lean_dec(x_223); +x_10 = x_225; +x_11 = x_224; +goto block_214; } -block_233: +block_214: { -if (x_9 == 0) +if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 3); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_11, 1); +x_14 = lean_ctor_get(x_13, 3); lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); lean_dec(x_13); -x_16 = lean_st_ref_take(x_7, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 3); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +lean_dec(x_14); +x_17 = lean_st_ref_take(x_7, x_15); +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); +x_19 = lean_ctor_get(x_18, 3); lean_inc(x_19); -lean_dec(x_16); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) { -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_17, 3); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_18, 3); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) { -uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_23 = 0; -lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_23); -x_24 = lean_st_ref_set(x_7, x_17, x_19); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; -x_27 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; -x_28 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7; -x_29 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8; -x_30 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_31 = 1; +uint8_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = 0; +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_24); +x_25 = lean_st_ref_set(x_7, x_18, x_20); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = 1; lean_inc(x_7); -x_32 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_26, x_27, x_28, x_29, x_30, x_31, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_32) == 0) +x_28 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_9, x_27, x_4, x_5, x_6, x_7, x_26); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +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; uint8_t x_37; +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_st_ref_get(x_7, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_st_ref_take(x_7, x_32); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_st_ref_get(x_7, x_34); -x_36 = lean_ctor_get(x_35, 1); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_st_ref_take(x_7, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 3); -lean_inc(x_39); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = !lean_is_exclusive(x_38); +lean_dec(x_33); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_34, 3); +lean_dec(x_38); +x_39 = !lean_is_exclusive(x_35); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_16); +x_40 = lean_st_ref_set(x_7, x_34, x_36); +lean_dec(x_7); +x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_38, 3); +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); lean_dec(x_42); -x_43 = !lean_is_exclusive(x_39); -if (x_43 == 0) +lean_ctor_set(x_40, 0, x_29); +return x_40; +} +else { -lean_object* x_44; uint8_t x_45; -lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_15); -x_44 = lean_st_ref_set(x_7, x_38, x_40); -lean_dec(x_7); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -lean_ctor_set(x_44, 0, x_33); +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_29); +lean_ctor_set(x_44, 1, x_43); return x_44; } -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_33); -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_object* x_53; lean_object* x_54; -x_49 = lean_ctor_get(x_39, 0); -lean_inc(x_49); -lean_dec(x_39); -x_50 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_15); -lean_ctor_set(x_38, 3, x_50); -x_51 = lean_st_ref_set(x_7, x_38, x_40); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_35, 0); +lean_inc(x_45); +lean_dec(x_35); +x_46 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_16); +lean_ctor_set(x_34, 3, x_46); +x_47 = lean_st_ref_set(x_7, x_34, x_36); lean_dec(x_7); -x_52 = lean_ctor_get(x_51, 1); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_29); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_51 = lean_ctor_get(x_34, 0); +x_52 = lean_ctor_get(x_34, 1); +x_53 = lean_ctor_get(x_34, 2); +lean_inc(x_53); lean_inc(x_52); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_53 = x_51; +lean_inc(x_51); +lean_dec(x_34); +x_54 = lean_ctor_get(x_35, 0); +lean_inc(x_54); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + x_55 = x_35; } else { - lean_dec_ref(x_51); - x_53 = lean_box(0); + lean_dec_ref(x_35); + x_55 = lean_box(0); } -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 1, 1); } else { - x_54 = x_53; + x_56 = x_55; } -lean_ctor_set(x_54, 0, x_33); -lean_ctor_set(x_54, 1, x_52); -return x_54; -} -} -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_55 = lean_ctor_get(x_38, 0); -x_56 = lean_ctor_get(x_38, 1); -x_57 = lean_ctor_get(x_38, 2); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_38); -x_58 = lean_ctor_get(x_39, 0); -lean_inc(x_58); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_59 = x_39; -} else { - lean_dec_ref(x_39); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 1, 1); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set_uint8(x_60, sizeof(void*)*1, x_15); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_55); -lean_ctor_set(x_61, 1, x_56); -lean_ctor_set(x_61, 2, x_57); -lean_ctor_set(x_61, 3, x_60); -x_62 = lean_st_ref_set(x_7, x_61, x_40); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_16); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_51); +lean_ctor_set(x_57, 1, x_52); +lean_ctor_set(x_57, 2, x_53); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_36); lean_dec(x_7); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_64 = x_62; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_62); - x_64 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_64; + x_61 = x_60; } -lean_ctor_set(x_65, 0, x_33); -lean_ctor_set(x_65, 1, x_63); -return x_65; +lean_ctor_set(x_61, 0, x_29); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_66 = lean_ctor_get(x_32, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_32, 1); +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; uint8_t x_70; +x_62 = lean_ctor_get(x_28, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_28, 1); +lean_inc(x_63); +lean_dec(x_28); +x_64 = lean_st_ref_get(x_7, x_63); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_st_ref_take(x_7, x_65); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_32); -x_68 = lean_st_ref_get(x_7, x_67); -x_69 = lean_ctor_get(x_68, 1); +x_68 = lean_ctor_get(x_67, 3); +lean_inc(x_68); +x_69 = lean_ctor_get(x_66, 1); lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_ref_take(x_7, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = !lean_is_exclusive(x_71); +lean_dec(x_66); +x_70 = !lean_is_exclusive(x_67); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; +x_71 = lean_ctor_get(x_67, 3); +lean_dec(x_71); +x_72 = !lean_is_exclusive(x_68); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +lean_ctor_set_uint8(x_68, sizeof(void*)*1, x_16); +x_73 = lean_st_ref_set(x_7, x_67, x_69); +lean_dec(x_7); +x_74 = !lean_is_exclusive(x_73); if (x_74 == 0) { -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_71, 3); +lean_object* x_75; +x_75 = lean_ctor_get(x_73, 0); lean_dec(x_75); -x_76 = !lean_is_exclusive(x_72); -if (x_76 == 0) +lean_ctor_set_tag(x_73, 1); +lean_ctor_set(x_73, 0, x_62); +return x_73; +} +else { -lean_object* x_77; uint8_t x_78; -lean_ctor_set_uint8(x_72, sizeof(void*)*1, x_15); -x_77 = lean_st_ref_set(x_7, x_71, x_73); -lean_dec(x_7); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; -x_79 = lean_ctor_get(x_77, 0); -lean_dec(x_79); -lean_ctor_set_tag(x_77, 1); -lean_ctor_set(x_77, 0, x_66); +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_73, 1); +lean_inc(x_76); +lean_dec(x_73); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_62); +lean_ctor_set(x_77, 1, x_76); return x_77; } -else -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_66); -lean_ctor_set(x_81, 1, x_80); -return x_81; -} } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = lean_ctor_get(x_72, 0); -lean_inc(x_82); -lean_dec(x_72); -x_83 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set_uint8(x_83, sizeof(void*)*1, x_15); -lean_ctor_set(x_71, 3, x_83); -x_84 = lean_st_ref_set(x_7, x_71, x_73); +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_78 = lean_ctor_get(x_68, 0); +lean_inc(x_78); +lean_dec(x_68); +x_79 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_16); +lean_ctor_set(x_67, 3, x_79); +x_80 = lean_st_ref_set(x_7, x_67, x_69); lean_dec(x_7); -x_85 = lean_ctor_get(x_84, 1); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_82 = x_80; +} else { + lean_dec_ref(x_80); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; + lean_ctor_set_tag(x_83, 1); +} +lean_ctor_set(x_83, 0, x_62); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_84 = lean_ctor_get(x_67, 0); +x_85 = lean_ctor_get(x_67, 1); +x_86 = lean_ctor_get(x_67, 2); +lean_inc(x_86); lean_inc(x_85); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_86 = x_84; +lean_inc(x_84); +lean_dec(x_67); +x_87 = lean_ctor_get(x_68, 0); +lean_inc(x_87); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + x_88 = x_68; } else { - lean_dec_ref(x_84); - x_86 = lean_box(0); + lean_dec_ref(x_68); + x_88 = lean_box(0); } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 1, 1); } else { - x_87 = x_86; - lean_ctor_set_tag(x_87, 1); + x_89 = x_88; } -lean_ctor_set(x_87, 0, x_66); -lean_ctor_set(x_87, 1, x_85); -return x_87; -} -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_88 = lean_ctor_get(x_71, 0); -x_89 = lean_ctor_get(x_71, 1); -x_90 = lean_ctor_get(x_71, 2); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_71); -x_91 = lean_ctor_get(x_72, 0); -lean_inc(x_91); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - x_92 = x_72; -} else { - lean_dec_ref(x_72); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(0, 1, 1); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set_uint8(x_93, sizeof(void*)*1, x_15); -x_94 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_94, 0, x_88); -lean_ctor_set(x_94, 1, x_89); -lean_ctor_set(x_94, 2, x_90); -lean_ctor_set(x_94, 3, x_93); -x_95 = lean_st_ref_set(x_7, x_94, x_73); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set_uint8(x_89, sizeof(void*)*1, x_16); +x_90 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_90, 0, x_84); +lean_ctor_set(x_90, 1, x_85); +lean_ctor_set(x_90, 2, x_86); +lean_ctor_set(x_90, 3, x_89); +x_91 = lean_st_ref_set(x_7, x_90, x_69); lean_dec(x_7); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_91); + x_93 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_98 = x_97; - lean_ctor_set_tag(x_98, 1); + x_94 = x_93; + lean_ctor_set_tag(x_94, 1); } -lean_ctor_set(x_98, 0, x_66); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_94, 0, x_62); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } } else { -lean_object* x_99; uint8_t 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; uint8_t x_109; lean_object* x_110; -x_99 = lean_ctor_get(x_18, 0); +lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; +x_95 = lean_ctor_get(x_19, 0); +lean_inc(x_95); +lean_dec(x_19); +x_96 = 0; +x_97 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set_uint8(x_97, sizeof(void*)*1, x_96); +lean_ctor_set(x_18, 3, x_97); +x_98 = lean_st_ref_set(x_7, x_18, x_20); +x_99 = lean_ctor_get(x_98, 1); lean_inc(x_99); -lean_dec(x_18); -x_100 = 0; -x_101 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set_uint8(x_101, sizeof(void*)*1, x_100); -lean_ctor_set(x_17, 3, x_101); -x_102 = lean_st_ref_set(x_7, x_17, x_19); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_104 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; -x_105 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; -x_106 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7; -x_107 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8; -x_108 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_109 = 1; +lean_dec(x_98); +x_100 = 1; lean_inc(x_7); -x_110 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_104, x_105, x_106, x_107, x_108, x_109, x_4, x_5, x_6, x_7, x_103); -if (lean_obj_tag(x_110) == 0) +x_101 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_9, x_100, x_4, x_5, x_6, x_7, x_99); +if (lean_obj_tag(x_101) == 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; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_111 = lean_ctor_get(x_110, 0); +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_st_ref_get(x_7, x_103); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_take(x_7, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_107, 3); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +lean_dec(x_106); +x_110 = lean_ctor_get(x_107, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_107, 1); lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); +x_112 = lean_ctor_get(x_107, 2); lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_st_ref_get(x_7, x_112); -x_114 = lean_ctor_get(x_113, 1); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + lean_ctor_release(x_107, 2); + lean_ctor_release(x_107, 3); + x_113 = x_107; +} else { + lean_dec_ref(x_107); + x_113 = lean_box(0); +} +x_114 = lean_ctor_get(x_108, 0); lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_st_ref_take(x_7, x_114); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_116, 3); -lean_inc(x_117); -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_118); -lean_dec(x_115); -x_119 = lean_ctor_get(x_116, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_116, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_116, 2); -lean_inc(x_121); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - lean_ctor_release(x_116, 2); - lean_ctor_release(x_116, 3); - x_122 = x_116; +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + x_115 = x_108; } else { - lean_dec_ref(x_116); - x_122 = lean_box(0); + lean_dec_ref(x_108); + x_115 = lean_box(0); } -x_123 = lean_ctor_get(x_117, 0); -lean_inc(x_123); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - x_124 = x_117; +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_117); - x_124 = lean_box(0); + x_116 = x_115; } -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set_uint8(x_116, sizeof(void*)*1, x_16); +if (lean_is_scalar(x_113)) { + x_117 = lean_alloc_ctor(0, 4, 0); } else { - x_125 = x_124; + x_117 = x_113; } -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set_uint8(x_125, sizeof(void*)*1, x_15); -if (lean_is_scalar(x_122)) { - x_126 = lean_alloc_ctor(0, 4, 0); -} else { - x_126 = x_122; -} -lean_ctor_set(x_126, 0, x_119); -lean_ctor_set(x_126, 1, x_120); -lean_ctor_set(x_126, 2, x_121); -lean_ctor_set(x_126, 3, x_125); -x_127 = lean_st_ref_set(x_7, x_126, x_118); +lean_ctor_set(x_117, 0, x_110); +lean_ctor_set(x_117, 1, x_111); +lean_ctor_set(x_117, 2, x_112); +lean_ctor_set(x_117, 3, x_116); +x_118 = lean_st_ref_set(x_7, x_117, x_109); lean_dec(x_7); -x_128 = lean_ctor_get(x_127, 1); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_120 = x_118; +} else { + lean_dec_ref(x_118); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_102); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_122 = lean_ctor_get(x_101, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_101, 1); +lean_inc(x_123); +lean_dec(x_101); +x_124 = lean_st_ref_get(x_7, x_123); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_st_ref_take(x_7, x_125); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_127, 3); lean_inc(x_128); +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_ctor_get(x_127, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_127, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_127, 2); +lean_inc(x_132); if (lean_is_exclusive(x_127)) { lean_ctor_release(x_127, 0); lean_ctor_release(x_127, 1); - x_129 = x_127; + lean_ctor_release(x_127, 2); + lean_ctor_release(x_127, 3); + x_133 = x_127; } else { lean_dec_ref(x_127); - x_129 = lean_box(0); + x_133 = lean_box(0); } -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(0, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_111); -lean_ctor_set(x_130, 1, x_128); -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; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_131 = lean_ctor_get(x_110, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_110, 1); -lean_inc(x_132); -lean_dec(x_110); -x_133 = lean_st_ref_get(x_7, x_132); -x_134 = lean_ctor_get(x_133, 1); +x_134 = lean_ctor_get(x_128, 0); lean_inc(x_134); -lean_dec(x_133); -x_135 = lean_st_ref_take(x_7, x_134); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_136, 3); -lean_inc(x_137); -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_dec(x_135); -x_139 = lean_ctor_get(x_136, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_136, 1); -lean_inc(x_140); -x_141 = lean_ctor_get(x_136, 2); -lean_inc(x_141); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - lean_ctor_release(x_136, 2); - lean_ctor_release(x_136, 3); - x_142 = x_136; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + x_135 = x_128; } else { - lean_dec_ref(x_136); - x_142 = lean_box(0); + lean_dec_ref(x_128); + x_135 = lean_box(0); } -x_143 = lean_ctor_get(x_137, 0); -lean_inc(x_143); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - x_144 = x_137; +if (lean_is_scalar(x_135)) { + x_136 = lean_alloc_ctor(0, 1, 1); } else { - lean_dec_ref(x_137); - x_144 = lean_box(0); + x_136 = x_135; } -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set_uint8(x_136, sizeof(void*)*1, x_16); +if (lean_is_scalar(x_133)) { + x_137 = lean_alloc_ctor(0, 4, 0); } else { - x_145 = x_144; + x_137 = x_133; } -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set_uint8(x_145, sizeof(void*)*1, x_15); -if (lean_is_scalar(x_142)) { - x_146 = lean_alloc_ctor(0, 4, 0); -} else { - x_146 = x_142; -} -lean_ctor_set(x_146, 0, x_139); -lean_ctor_set(x_146, 1, x_140); -lean_ctor_set(x_146, 2, x_141); -lean_ctor_set(x_146, 3, x_145); -x_147 = lean_st_ref_set(x_7, x_146, x_138); +lean_ctor_set(x_137, 0, x_130); +lean_ctor_set(x_137, 1, x_131); +lean_ctor_set(x_137, 2, x_132); +lean_ctor_set(x_137, 3, x_136); +x_138 = lean_st_ref_set(x_7, x_137, x_129); lean_dec(x_7); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_149 = x_147; +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_140 = x_138; } else { - lean_dec_ref(x_147); - x_149 = lean_box(0); + lean_dec_ref(x_138); + x_140 = lean_box(0); } -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); } else { - x_150 = x_149; - lean_ctor_set_tag(x_150, 1); + x_141 = x_140; + lean_ctor_set_tag(x_141, 1); } -lean_ctor_set(x_150, 0, x_131); -lean_ctor_set(x_150, 1, x_148); -return x_150; +lean_ctor_set(x_141, 0, x_122); +lean_ctor_set(x_141, 1, x_139); +return x_141; } } } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t 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; uint8_t x_166; lean_object* x_167; -x_151 = lean_ctor_get(x_17, 0); -x_152 = lean_ctor_get(x_17, 1); -x_153 = lean_ctor_get(x_17, 2); -lean_inc(x_153); -lean_inc(x_152); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; +x_142 = lean_ctor_get(x_18, 0); +x_143 = lean_ctor_get(x_18, 1); +x_144 = lean_ctor_get(x_18, 2); +lean_inc(x_144); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_18); +x_145 = lean_ctor_get(x_19, 0); +lean_inc(x_145); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + x_146 = x_19; +} else { + lean_dec_ref(x_19); + x_146 = lean_box(0); +} +x_147 = 0; +if (lean_is_scalar(x_146)) { + x_148 = lean_alloc_ctor(0, 1, 1); +} else { + x_148 = x_146; +} +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set_uint8(x_148, sizeof(void*)*1, x_147); +x_149 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_149, 0, x_142); +lean_ctor_set(x_149, 1, x_143); +lean_ctor_set(x_149, 2, x_144); +lean_ctor_set(x_149, 3, x_148); +x_150 = lean_st_ref_set(x_7, x_149, x_20); +x_151 = lean_ctor_get(x_150, 1); lean_inc(x_151); -lean_dec(x_17); -x_154 = lean_ctor_get(x_18, 0); -lean_inc(x_154); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_155 = x_18; -} else { - lean_dec_ref(x_18); - x_155 = lean_box(0); -} -x_156 = 0; -if (lean_is_scalar(x_155)) { - x_157 = lean_alloc_ctor(0, 1, 1); -} else { - x_157 = x_155; -} -lean_ctor_set(x_157, 0, x_154); -lean_ctor_set_uint8(x_157, sizeof(void*)*1, x_156); -x_158 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_158, 0, x_151); -lean_ctor_set(x_158, 1, x_152); -lean_ctor_set(x_158, 2, x_153); -lean_ctor_set(x_158, 3, x_157); -x_159 = lean_st_ref_set(x_7, x_158, x_19); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_161 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; -x_162 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; -x_163 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7; -x_164 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8; -x_165 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_166 = 1; +lean_dec(x_150); +x_152 = 1; lean_inc(x_7); -x_167 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_161, x_162, x_163, x_164, x_165, x_166, x_4, x_5, x_6, x_7, x_160); -if (lean_obj_tag(x_167) == 0) +x_153 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_9, x_152, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -x_170 = lean_st_ref_get(x_7, x_169); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_st_ref_get(x_7, x_155); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +lean_dec(x_156); +x_158 = lean_st_ref_take(x_7, x_157); +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_159, 3); +lean_inc(x_160); +x_161 = lean_ctor_get(x_158, 1); +lean_inc(x_161); +lean_dec(x_158); +x_162 = lean_ctor_get(x_159, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_159, 1); +lean_inc(x_163); +x_164 = lean_ctor_get(x_159, 2); +lean_inc(x_164); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + lean_ctor_release(x_159, 2); + lean_ctor_release(x_159, 3); + x_165 = x_159; +} else { + lean_dec_ref(x_159); + x_165 = lean_box(0); +} +x_166 = lean_ctor_get(x_160, 0); +lean_inc(x_166); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + x_167 = x_160; +} else { + lean_dec_ref(x_160); + x_167 = lean_box(0); +} +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(0, 1, 1); +} else { + x_168 = x_167; +} +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set_uint8(x_168, sizeof(void*)*1, x_16); +if (lean_is_scalar(x_165)) { + x_169 = lean_alloc_ctor(0, 4, 0); +} else { + x_169 = x_165; +} +lean_ctor_set(x_169, 0, x_162); +lean_ctor_set(x_169, 1, x_163); +lean_ctor_set(x_169, 2, x_164); +lean_ctor_set(x_169, 3, x_168); +x_170 = lean_st_ref_set(x_7, x_169, x_161); +lean_dec(x_7); x_171 = lean_ctor_get(x_170, 1); lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_take(x_7, x_171); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_173, 3); -lean_inc(x_174); -x_175 = lean_ctor_get(x_172, 1); -lean_inc(x_175); -lean_dec(x_172); -x_176 = lean_ctor_get(x_173, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_173, 1); -lean_inc(x_177); -x_178 = lean_ctor_get(x_173, 2); -lean_inc(x_178); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - lean_ctor_release(x_173, 2); - lean_ctor_release(x_173, 3); - x_179 = x_173; +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_172 = x_170; } else { - lean_dec_ref(x_173); - x_179 = lean_box(0); + lean_dec_ref(x_170); + x_172 = lean_box(0); } -x_180 = lean_ctor_get(x_174, 0); -lean_inc(x_180); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - x_181 = x_174; +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_174); - x_181 = lean_box(0); + x_173 = x_172; } -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(0, 1, 1); -} else { - x_182 = x_181; -} -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set_uint8(x_182, sizeof(void*)*1, x_15); -if (lean_is_scalar(x_179)) { - x_183 = lean_alloc_ctor(0, 4, 0); -} else { - x_183 = x_179; -} -lean_ctor_set(x_183, 0, x_176); -lean_ctor_set(x_183, 1, x_177); -lean_ctor_set(x_183, 2, x_178); -lean_ctor_set(x_183, 3, x_182); -x_184 = lean_st_ref_set(x_7, x_183, x_175); -lean_dec(x_7); -x_185 = lean_ctor_get(x_184, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_184)) { - lean_ctor_release(x_184, 0); - lean_ctor_release(x_184, 1); - x_186 = x_184; -} else { - lean_dec_ref(x_184); - x_186 = lean_box(0); -} -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(0, 2, 0); -} else { - x_187 = x_186; -} -lean_ctor_set(x_187, 0, x_168); -lean_ctor_set(x_187, 1, x_185); -return x_187; +lean_ctor_set(x_173, 0, x_154); +lean_ctor_set(x_173, 1, x_171); +return x_173; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_188 = lean_ctor_get(x_167, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_167, 1); -lean_inc(x_189); -lean_dec(x_167); -x_190 = lean_st_ref_get(x_7, x_189); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_174 = lean_ctor_get(x_153, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_153, 1); +lean_inc(x_175); +lean_dec(x_153); +x_176 = lean_st_ref_get(x_7, x_175); +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +lean_dec(x_176); +x_178 = lean_st_ref_take(x_7, x_177); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_179, 3); +lean_inc(x_180); +x_181 = lean_ctor_get(x_178, 1); +lean_inc(x_181); +lean_dec(x_178); +x_182 = lean_ctor_get(x_179, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_179, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_179, 2); +lean_inc(x_184); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + lean_ctor_release(x_179, 2); + lean_ctor_release(x_179, 3); + x_185 = x_179; +} else { + lean_dec_ref(x_179); + x_185 = lean_box(0); +} +x_186 = lean_ctor_get(x_180, 0); +lean_inc(x_186); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + x_187 = x_180; +} else { + lean_dec_ref(x_180); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(0, 1, 1); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set_uint8(x_188, sizeof(void*)*1, x_16); +if (lean_is_scalar(x_185)) { + x_189 = lean_alloc_ctor(0, 4, 0); +} else { + x_189 = x_185; +} +lean_ctor_set(x_189, 0, x_182); +lean_ctor_set(x_189, 1, x_183); +lean_ctor_set(x_189, 2, x_184); +lean_ctor_set(x_189, 3, x_188); +x_190 = lean_st_ref_set(x_7, x_189, x_181); +lean_dec(x_7); x_191 = lean_ctor_get(x_190, 1); lean_inc(x_191); -lean_dec(x_190); -x_192 = lean_st_ref_take(x_7, x_191); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_193, 3); -lean_inc(x_194); -x_195 = lean_ctor_get(x_192, 1); -lean_inc(x_195); -lean_dec(x_192); -x_196 = lean_ctor_get(x_193, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_193, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_193, 2); -lean_inc(x_198); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - x_199 = x_193; +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_192 = x_190; } else { - lean_dec_ref(x_193); - x_199 = lean_box(0); + lean_dec_ref(x_190); + x_192 = lean_box(0); } -x_200 = lean_ctor_get(x_194, 0); -lean_inc(x_200); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - x_201 = x_194; +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_194); - x_201 = lean_box(0); + x_193 = x_192; + lean_ctor_set_tag(x_193, 1); } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 1, 1); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set_uint8(x_202, sizeof(void*)*1, x_15); -if (lean_is_scalar(x_199)) { - x_203 = lean_alloc_ctor(0, 4, 0); -} else { - x_203 = x_199; -} -lean_ctor_set(x_203, 0, x_196); -lean_ctor_set(x_203, 1, x_197); -lean_ctor_set(x_203, 2, x_198); -lean_ctor_set(x_203, 3, x_202); -x_204 = lean_st_ref_set(x_7, x_203, x_195); -lean_dec(x_7); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_206 = x_204; -} else { - lean_dec_ref(x_204); - x_206 = lean_box(0); -} -if (lean_is_scalar(x_206)) { - x_207 = lean_alloc_ctor(1, 2, 0); -} else { - x_207 = x_206; - lean_ctor_set_tag(x_207, 1); -} -lean_ctor_set(x_207, 0, x_188); -lean_ctor_set(x_207, 1, x_205); -return x_207; +lean_ctor_set(x_193, 0, x_174); +lean_ctor_set(x_193, 1, x_191); +return x_193; } } } else { -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; uint8_t x_217; lean_object* x_218; -x_208 = lean_ctor_get(x_6, 3); -lean_inc(x_208); -x_209 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_7, x_10); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 1); -lean_inc(x_211); -lean_dec(x_209); -x_212 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; -x_213 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2; -x_214 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7; -x_215 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8; -x_216 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_217 = 1; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; +x_194 = lean_ctor_get(x_6, 3); +lean_inc(x_194); +x_195 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(x_7, x_11); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +lean_dec(x_195); +x_198 = 1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_218 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(x_1, x_2, x_3, x_212, x_213, x_214, x_215, x_216, x_217, x_4, x_5, x_6, x_7, x_211); -if (lean_obj_tag(x_218) == 0) +x_199 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(x_1, x_2, x_3, x_9, x_198, x_4, x_5, x_6, x_7, x_197); +if (lean_obj_tag(x_199) == 0) { -lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_210, x_216, x_208, x_4, x_5, x_6, x_7, x_220); +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_196, x_9, x_194, x_4, x_5, x_6, x_7, x_201); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_222 = !lean_is_exclusive(x_221); -if (x_222 == 0) +x_203 = !lean_is_exclusive(x_202); +if (x_203 == 0) { -lean_object* x_223; -x_223 = lean_ctor_get(x_221, 0); -lean_dec(x_223); -lean_ctor_set(x_221, 0, x_219); -return x_221; +lean_object* x_204; +x_204 = lean_ctor_get(x_202, 0); +lean_dec(x_204); +lean_ctor_set(x_202, 0, x_200); +return x_202; } else { -lean_object* x_224; lean_object* x_225; -x_224 = lean_ctor_get(x_221, 1); -lean_inc(x_224); -lean_dec(x_221); -x_225 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_225, 0, x_219); -lean_ctor_set(x_225, 1, x_224); -return x_225; +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_202, 1); +lean_inc(x_205); +lean_dec(x_202); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_200); +lean_ctor_set(x_206, 1, x_205); +return x_206; } } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_226 = lean_ctor_get(x_218, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_218, 1); -lean_inc(x_227); -lean_dec(x_218); -x_228 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_210, x_216, x_208, x_4, x_5, x_6, x_7, x_227); +lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_207 = lean_ctor_get(x_199, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_199, 1); +lean_inc(x_208); +lean_dec(x_199); +x_209 = l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__12(x_196, x_9, x_194, x_4, x_5, x_6, x_7, x_208); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_229 = !lean_is_exclusive(x_228); -if (x_229 == 0) +x_210 = !lean_is_exclusive(x_209); +if (x_210 == 0) { -lean_object* x_230; -x_230 = lean_ctor_get(x_228, 0); -lean_dec(x_230); -lean_ctor_set_tag(x_228, 1); -lean_ctor_set(x_228, 0, x_226); -return x_228; +lean_object* x_211; +x_211 = lean_ctor_get(x_209, 0); +lean_dec(x_211); +lean_ctor_set_tag(x_209, 1); +lean_ctor_set(x_209, 0, x_207); +return x_209; } else { -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_228, 1); -lean_inc(x_231); -lean_dec(x_228); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_226); -lean_ctor_set(x_232, 1, x_231); -return x_232; +lean_object* x_212; lean_object* x_213; +x_212 = lean_ctor_get(x_209, 1); +lean_inc(x_212); +lean_dec(x_209); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_207); +lean_ctor_set(x_213, 1, x_212); +return x_213; } } } @@ -9498,32 +9054,43 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_9); -lean_dec(x_9); -x_16 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_11; +x_11 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__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); -return x_16; +return x_11; } } -lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_9); -lean_dec(x_9); -x_16 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_11; +x_11 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(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); -return x_16; +return x_11; +} +} +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_5); +lean_dec(x_5); +x_12 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_5); +lean_dec(x_5); +x_12 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); +return x_12; } } static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1() { @@ -9688,6 +9255,18 @@ return x_9; static lean_object* _init_l_Lean_Meta_tryUnificationHints___lambda__2___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_tryUnificationHints___lambda__2___closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Meta_tryUnificationHints___lambda__1___boxed), 6, 0); return x_1; @@ -9727,7 +9306,7 @@ x_18 = lean_array_get_size(x_16); x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); x_20 = 0; -x_21 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +x_21 = l_Lean_Meta_tryUnificationHints___lambda__2___closed__1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -9748,7 +9327,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); lean_dec(x_22); -x_26 = l_Lean_Meta_tryUnificationHints___lambda__2___closed__1; +x_26 = l_Lean_Meta_tryUnificationHints___lambda__2___closed__2; x_27 = lean_box(0); x_28 = lean_apply_6(x_26, x_27, x_4, x_5, x_6, x_7, x_25); return x_28; @@ -9875,62 +9454,21 @@ return x_14; } } } -lean_object* l_Lean_Meta_tryUnificationHints(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* l_Lean_Meta_tryUnificationHints___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_st_ref_get(x_6, x_7); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = 0; -x_17 = x_36; -x_18 = x_35; -goto block_30; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_dec(x_31); -x_38 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_38, x_3, x_4, x_5, x_6, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_unbox(x_40); -lean_dec(x_40); -x_17 = x_42; -x_18 = x_41; -goto block_30; -} -block_16: -{ lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_4, 0); lean_inc(x_9); x_10 = lean_ctor_get_uint8(x_9, 8); lean_dec(x_9); if (x_10 == 0) { uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_11 = 0; @@ -9944,47 +9482,94 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Meta_tryUnificationHints___lambda__3(x_1, x_2, x_14, x_3, x_4, x_5, x_6, x_8); +x_15 = l_Lean_Meta_tryUnificationHints___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8); return x_15; } } -block_30: +} +lean_object* l_Lean_Meta_tryUnificationHints(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: { -if (x_17 == 0) +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_8 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4; +x_26 = lean_st_ref_get(x_6, x_7); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1); +lean_dec(x_28); +if (x_29 == 0) { -x_8 = x_18; -goto block_16; +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = 0; +x_9 = x_31; +x_10 = x_30; +goto block_25; } else { -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_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_dec(x_26); +x_33 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_8, x_3, x_4, x_5, x_6, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_unbox(x_34); +lean_dec(x_34); +x_9 = x_36; +x_10 = x_35; +goto block_25; +} +block_25: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_tryUnificationHints___lambda__4(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_10); +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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_inc(x_1); -x_19 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_19, 0, x_1); -x_20 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; -x_21 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); +x_13 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__5; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); lean_inc(x_2); -x_24 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_24, 0, x_2); -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -x_27 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; -x_28 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_27, x_26, x_3, x_4, x_5, x_6, x_18); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_8 = x_29; -goto block_16; +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_2); +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_14); +x_21 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_8, x_20, x_3, x_4, x_5, x_6, x_10); +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 = l_Lean_Meta_tryUnificationHints___lambda__4(x_1, x_2, x_22, x_3, x_4, x_5, x_6, x_23); +lean_dec(x_22); +return x_24; } } } @@ -10033,11 +9618,20 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1635_(lean_object* x_1) { +lean_object* l_Lean_Meta_tryUnificationHints___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_tryUnificationHints___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1785_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12; +x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -10263,53 +9857,53 @@ l_Lean_Meta_addUnificationHint___lambda__1___closed__7 = _init_l_Lean_Meta_addUn lean_mark_persistent(l_Lean_Meta_addUnificationHint___lambda__1___closed__7); l_Lean_Meta_addUnificationHint___lambda__1___closed__8 = _init_l_Lean_Meta_addUnificationHint___lambda__1___closed__8(); lean_mark_persistent(l_Lean_Meta_addUnificationHint___lambda__1___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__1___closed__14); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677____closed__7); -res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_677_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__1___closed__14); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698____closed__7); +res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_698_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___closed__1 = _init_l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___closed__1(); @@ -10318,6 +9912,10 @@ l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___cl lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2___closed__2); l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___closed__1); +l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__1); +l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4___closed__2); l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1); l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2(); @@ -10330,12 +9928,6 @@ l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___sp lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5); l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6); -l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7(); -lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7); -l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8(); -lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__8); -l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9(); -lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__9); l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1(); lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1); l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2(); @@ -10344,29 +9936,15 @@ l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3 = _init_l_Lean_Meta_try lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3); l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4(); lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__7); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__8); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__9); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__10); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__11); -l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12(); -lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__12); l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2); l_Lean_Meta_tryUnificationHints___lambda__2___closed__1 = _init_l_Lean_Meta_tryUnificationHints___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_tryUnificationHints___lambda__2___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1635_(lean_io_mk_world()); +l_Lean_Meta_tryUnificationHints___lambda__2___closed__2 = _init_l_Lean_Meta_tryUnificationHints___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_tryUnificationHints___lambda__2___closed__2); +res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1785_(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/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index c2ef333d7f..3d6602a363 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* lean_string_data(lean_object*); +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_reduceBoolNativeUnsafe___spec__3(lean_object*); @@ -124,7 +125,9 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__6; extern lean_object* l_Lean_auxRecExt; +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2___boxed(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*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__14; lean_object* l_Lean_Meta_toCtorIfLit_match__1(lean_object*); @@ -193,6 +196,7 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___clos lean_object* l_Lean_Meta_unfoldDefinition_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -205,6 +209,7 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed_ lean_object* l_Lean_Meta_reduceUnaryNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2(lean_object*); +static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__1; lean_object* l_Lean_Meta_getDelayedAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,6 +223,7 @@ lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec_ static lean_object* l_Lean_Meta_toCtorIfLit___closed__12; lean_object* l_Nat_mod___boxed(lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__4; lean_object* l_Lean_Meta_whnfCore_match__2(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); @@ -226,13 +232,14 @@ static lean_object* l_Lean_Meta_reduceBinNatOp___closed__7; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBoolNativeUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___closed__3; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3; static lean_object* l_Lean_Meta_toCtorIfLit___closed__9; static lean_object* l_Lean_Meta_smartUnfoldingSuffix___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux(lean_object*); +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__2; @@ -266,10 +273,9 @@ lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec_ extern lean_object* l_Lean_projectionFnInfoExt; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___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_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5565_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5664_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13_(lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__2(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_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfUntilIdRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); @@ -282,6 +288,7 @@ lean_object* l_Lean_Meta_smartUnfolding; lean_object* l_Lean_Meta_reduceNative_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_smartUnfolding___closed__1; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__21; @@ -368,6 +375,7 @@ static lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1__ lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1___boxed(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst_match__1(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__8; +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfUntilIdRhs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -385,6 +393,7 @@ static lean_object* l_Lean_Meta_toCtorIfLit___closed__19; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_13____closed__5; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1(lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__2; static lean_object* l_Lean_Meta_toCtorIfLit___closed__6; @@ -393,13 +402,11 @@ static lean_object* l_Lean_Meta_reduceNat_x3f___closed__15; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__18; lean_object* l_Lean_Meta_getStuckMVar_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__2(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isAuxDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__2; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__2(lean_object*); -static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5; static lean_object* l_Lean_Meta_reduceBoolNativeUnsafe___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__14; @@ -410,8 +417,10 @@ static lean_object* l_Lean_Meta_reduceBinNatOp___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSmartUnfoldingNameFor(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); +static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; lean_object* l_Lean_Meta_reduceBoolNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f_match__1(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__5; static lean_object* l_Lean_Meta_toCtorIfLit___closed__22; @@ -425,6 +434,7 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldProjInst_match__2(lea lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNatNativeUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -8087,6 +8097,662 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } +static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Meta.whnfCore"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2() { +_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___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; +x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1; +x_3 = lean_unsigned_to_nat(373u); +x_4 = lean_unsigned_to_nat(11u); +x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_whnfCore), 6, 0); +return x_1; +} +} +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 4: +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +case 5: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = l_Lean_Expr_getAppFn(x_9); +lean_dec(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_10); +x_11 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_10, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +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 = l_Lean_Expr_isLambda(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_15 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_12, x_1, x_3, x_4, x_5, x_6, x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +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); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_93; +x_93 = lean_expr_eqv(x_10, x_12); +lean_dec(x_10); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = l_Lean_Expr_updateFn(x_1, x_12); +x_18 = x_94; +goto block_92; +} +else +{ +x_18 = x_1; +goto block_92; +} +} +else +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_1); +x_95 = lean_ctor_get(x_16, 0); +lean_inc(x_95); +lean_dec(x_16); +x_96 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_95, x_3, x_4, x_5, x_6, x_17); +return x_96; +} +block_92: +{ +lean_object* x_19; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_18); +x_19 = l_Lean_Meta_reduceMatcher_x3f(x_18, x_3, x_4, x_5, x_6, x_17); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +switch (lean_obj_tag(x_20)) { +case 0: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_22, x_3, x_4, x_5, x_6, x_21); +return x_23; +} +case 2: +{ +if (lean_obj_tag(x_12) == 4) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_12, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_12, 1); +lean_inc(x_26); +lean_dec(x_12); +lean_inc(x_18); +x_27 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); +lean_closure_set(x_27, 0, x_18); +x_28 = l_Lean_Meta_getConst_x3f(x_25, x_3, x_4, x_5, x_6, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_28, 0); +lean_dec(x_31); +lean_ctor_set(x_28, 0, x_18); +return x_28; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +lean_dec(x_28); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_18); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_29, 0); +lean_inc(x_34); +lean_dec(x_29); +switch (lean_obj_tag(x_34)) { +case 1: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_dec(x_27); +x_35 = lean_ctor_get(x_28, 1); +lean_inc(x_35); +lean_dec(x_28); +x_36 = l_Lean_ConstantInfo_name(x_34); +x_37 = l_Lean_Meta_isAuxDef(x_36, x_3, x_4, x_5, x_6, x_35); +lean_dec(x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +lean_dec(x_34); +lean_dec(x_26); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_37, 0); +lean_dec(x_41); +lean_ctor_set(x_37, 0, x_18); +return x_37; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_dec(x_37); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_18); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +lean_dec(x_37); +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Expr_getAppNumArgsAux(x_18, x_45); +x_47 = lean_mk_empty_array_with_capacity(x_46); +lean_dec(x_46); +lean_inc(x_18); +x_48 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_18, x_47); +x_49 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__1(x_18, x_34, x_26, x_48, x_3, x_4, x_5, x_6, x_44); +lean_dec(x_48); +lean_dec(x_26); +lean_dec(x_34); +return x_49; +} +} +case 4: +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_50 = lean_ctor_get(x_28, 1); +lean_inc(x_50); +lean_dec(x_28); +x_51 = lean_ctor_get(x_34, 0); +lean_inc(x_51); +lean_dec(x_34); +x_52 = lean_unsigned_to_nat(0u); +x_53 = l_Lean_Expr_getAppNumArgsAux(x_18, x_52); +x_54 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; +lean_inc(x_53); +x_55 = lean_mk_array(x_53, x_54); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_sub(x_53, x_56); +lean_dec(x_53); +x_58 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_18, x_55, x_57); +x_59 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; +x_60 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_51, x_26, x_58, x_27, x_59, x_3, x_4, x_5, x_6, x_50); +lean_dec(x_58); +lean_dec(x_26); +lean_dec(x_51); +return x_60; +} +case 7: +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_61 = lean_ctor_get(x_28, 1); +lean_inc(x_61); +lean_dec(x_28); +x_62 = lean_ctor_get(x_34, 0); +lean_inc(x_62); +lean_dec(x_34); +x_63 = lean_unsigned_to_nat(0u); +x_64 = l_Lean_Expr_getAppNumArgsAux(x_18, x_63); +x_65 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; +lean_inc(x_64); +x_66 = lean_mk_array(x_64, x_65); +x_67 = lean_unsigned_to_nat(1u); +x_68 = lean_nat_sub(x_64, x_67); +lean_dec(x_64); +x_69 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_18, x_66, x_68); +x_70 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3; +x_71 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_62, x_26, x_69, x_27, x_70, x_3, x_4, x_5, x_6, x_61); +lean_dec(x_69); +lean_dec(x_26); +return x_71; +} +default: +{ +uint8_t x_72; +lean_dec(x_34); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_72 = !lean_is_exclusive(x_28); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_28, 0); +lean_dec(x_73); +lean_ctor_set(x_28, 0, x_18); +return x_28; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_28, 1); +lean_inc(x_74); +lean_dec(x_28); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_18); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +} +else +{ +uint8_t x_76; +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_76 = !lean_is_exclusive(x_28); +if (x_76 == 0) +{ +return x_28; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_28, 0); +x_78 = lean_ctor_get(x_28, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_28); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_80 = !lean_is_exclusive(x_19); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_19, 0); +lean_dec(x_81); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_19, 1); +lean_inc(x_82); +lean_dec(x_19); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_18); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +default: +{ +uint8_t x_84; +lean_dec(x_20); +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_84 = !lean_is_exclusive(x_19); +if (x_84 == 0) +{ +lean_object* x_85; +x_85 = lean_ctor_get(x_19, 0); +lean_dec(x_85); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_19, 1); +lean_inc(x_86); +lean_dec(x_19); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_18); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_18); +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_88 = !lean_is_exclusive(x_19); +if (x_88 == 0) +{ +return x_19; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_19, 0); +x_90 = lean_ctor_get(x_19, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_19); +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; +} +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_97 = !lean_is_exclusive(x_15); +if (x_97 == 0) +{ +return x_15; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_15, 0); +x_99 = lean_ctor_get(x_15, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_15); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +} +else +{ +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_dec(x_10); +x_101 = lean_unsigned_to_nat(0u); +x_102 = l_Lean_Expr_getAppNumArgsAux(x_1, x_101); +x_103 = lean_mk_empty_array_with_capacity(x_102); +lean_dec(x_102); +x_104 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_103); +x_105 = l_Lean_Expr_betaRev(x_12, x_104); +lean_dec(x_104); +lean_dec(x_12); +x_106 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_105, x_3, x_4, x_5, x_6, x_13); +return x_106; +} +} +else +{ +uint8_t x_107; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_107 = !lean_is_exclusive(x_11); +if (x_107 == 0) +{ +return x_11; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_11, 0); +x_109 = lean_ctor_get(x_11, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_11); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +case 8: +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_111 = lean_ctor_get(x_1, 2); +lean_inc(x_111); +x_112 = lean_ctor_get(x_1, 3); +lean_inc(x_112); +lean_dec(x_1); +x_113 = lean_expr_instantiate1(x_112, x_111); +lean_dec(x_111); +lean_dec(x_112); +x_114 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_113, x_3, x_4, x_5, x_6, x_7); +return x_114; +} +case 11: +{ +lean_object* x_115; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_115 = l_Lean_Meta_reduceProj_x3f(x_1, x_3, x_4, x_5, x_6, x_7); +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; +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) +{ +lean_object* x_118; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_1); +return x_115; +} +else +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_115, 1); +lean_inc(x_119); +lean_dec(x_115); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_1); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_1); +x_121 = lean_ctor_get(x_115, 1); +lean_inc(x_121); +lean_dec(x_115); +x_122 = lean_ctor_get(x_116, 0); +lean_inc(x_122); +lean_dec(x_116); +x_123 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_122, x_3, x_4, x_5, x_6, x_121); +return x_123; +} +} +else +{ +uint8_t x_124; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_124 = !lean_is_exclusive(x_115); +if (x_124 == 0) +{ +return x_115; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_115, 0); +x_126 = lean_ctor_get(x_115, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_115); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +default: +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_1); +x_128 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_129 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2; +x_130 = lean_panic_fn(x_128, x_129); +x_131 = lean_apply_5(x_130, x_3, x_4, x_5, x_6, x_7); +return x_131; +} +} +} +} static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1() { _start: { @@ -8123,35 +8789,6 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Meta.whnfCore"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6() { -_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___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; -x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5; -x_3 = lean_unsigned_to_nat(373u); -x_4 = lean_unsigned_to_nat(11u); -x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_whnfCore), 6, 0); -return x_1; -} -} lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___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) { _start: { @@ -8527,2780 +9164,296 @@ goto _start; } case 4: { -lean_object* x_94; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; -x_220 = lean_st_ref_get(x_5, x_6); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_221, 3); -lean_inc(x_222); -lean_dec(x_221); -x_223 = lean_ctor_get_uint8(x_222, sizeof(void*)*1); -lean_dec(x_222); -if (x_223 == 0) -{ -lean_object* x_224; -x_224 = lean_ctor_get(x_220, 1); -lean_inc(x_224); -lean_dec(x_220); -x_94 = x_224; -goto block_219; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_225 = lean_ctor_get(x_220, 1); -lean_inc(x_225); -lean_dec(x_220); -x_226 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; -x_227 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_226, x_2, x_3, x_4, x_5, x_225); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_unbox(x_228); -lean_dec(x_228); -if (x_229 == 0) -{ -lean_object* x_230; -x_230 = lean_ctor_get(x_227, 1); -lean_inc(x_230); -lean_dec(x_227); -x_94 = x_230; -goto block_219; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -lean_dec(x_227); -lean_inc(x_1); -x_232 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_232, 0, x_1); -x_233 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_226, x_232, x_2, x_3, x_4, x_5, x_231); -x_234 = lean_ctor_get(x_233, 1); -lean_inc(x_234); -lean_dec(x_233); -x_94 = x_234; -goto block_219; -} -} -block_219: -{ -switch (lean_obj_tag(x_1)) { -case 4: -{ -lean_object* x_95; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_1); -lean_ctor_set(x_95, 1, x_94); -return x_95; -} -case 5: -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_1, 0); -lean_inc(x_96); -x_97 = l_Lean_Expr_getAppFn(x_96); -lean_dec(x_96); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_97); -x_98 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_97, x_2, x_3, x_4, x_5, x_94); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; uint8_t 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); -x_101 = l_Lean_Expr_isLambda(x_99); -if (x_101 == 0) -{ -lean_object* x_102; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_102 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_99, x_1, x_2, x_3, x_4, x_5, x_100); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -if (lean_obj_tag(x_103) == 0) -{ -uint8_t x_180; -x_180 = lean_expr_eqv(x_97, x_99); -lean_dec(x_97); -if (x_180 == 0) -{ -lean_object* x_181; -x_181 = l_Lean_Expr_updateFn(x_1, x_99); -x_105 = x_181; -goto block_179; -} -else -{ -x_105 = x_1; -goto block_179; -} -} -else -{ -lean_object* x_182; -lean_dec(x_99); -lean_dec(x_97); -lean_dec(x_1); -x_182 = lean_ctor_get(x_103, 0); -lean_inc(x_182); -lean_dec(x_103); -x_1 = x_182; -x_6 = x_104; -goto _start; -} -block_179: -{ -lean_object* x_106; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_105); -x_106 = l_Lean_Meta_reduceMatcher_x3f(x_105, x_2, x_3, x_4, x_5, x_104); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; -x_107 = lean_ctor_get(x_106, 0); +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_105 = lean_st_ref_get(x_5, x_6); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_106, 3); lean_inc(x_107); -switch (lean_obj_tag(x_107)) { -case 0: -{ -lean_object* x_108; lean_object* x_109; -lean_dec(x_105); -lean_dec(x_99); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 0); +x_108 = lean_ctor_get_uint8(x_107, sizeof(void*)*1); +lean_dec(x_107); +if (x_108 == 0) +{ +lean_object* x_109; uint8_t x_110; +x_109 = lean_ctor_get(x_105, 1); lean_inc(x_109); -lean_dec(x_107); -x_1 = x_109; -x_6 = x_108; -goto _start; +lean_dec(x_105); +x_110 = 0; +x_95 = x_110; +x_96 = x_109; +goto block_104; } -case 2: +else { -if (lean_obj_tag(x_99) == 4) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_111 = lean_ctor_get(x_106, 1); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_111 = lean_ctor_get(x_105, 1); lean_inc(x_111); -lean_dec(x_106); -x_112 = lean_ctor_get(x_99, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_99, 1); +lean_dec(x_105); +x_112 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_94, x_2, x_3, x_4, x_5, x_111); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_99); -lean_inc(x_105); -x_114 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); -lean_closure_set(x_114, 0, x_105); -x_115 = l_Lean_Meta_getConst_x3f(x_112, x_2, x_3, x_4, x_5, x_111); -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; -lean_dec(x_114); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = lean_unbox(x_113); lean_dec(x_113); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_117 = !lean_is_exclusive(x_115); -if (x_117 == 0) +x_95 = x_115; +x_96 = x_114; +goto block_104; +} +block_104: { -lean_object* x_118; -x_118 = lean_ctor_get(x_115, 0); -lean_dec(x_118); -lean_ctor_set(x_115, 0, x_105); -return x_115; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_115, 1); -lean_inc(x_119); -lean_dec(x_115); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_105); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} -else -{ -lean_object* x_121; -x_121 = lean_ctor_get(x_116, 0); -lean_inc(x_121); -lean_dec(x_116); -switch (lean_obj_tag(x_121)) { -case 1: -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -lean_dec(x_114); -x_122 = lean_ctor_get(x_115, 1); -lean_inc(x_122); -lean_dec(x_115); -x_123 = l_Lean_ConstantInfo_name(x_121); -x_124 = l_Lean_Meta_isAuxDef(x_123, x_2, x_3, x_4, x_5, x_122); -lean_dec(x_123); -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) -{ -uint8_t x_127; -lean_dec(x_121); -lean_dec(x_113); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_127 = !lean_is_exclusive(x_124); -if (x_127 == 0) -{ -lean_object* x_128; -x_128 = lean_ctor_get(x_124, 0); -lean_dec(x_128); -lean_ctor_set(x_124, 0, x_105); -return x_124; -} -else -{ -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_124, 1); -lean_inc(x_129); -lean_dec(x_124); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_105); -lean_ctor_set(x_130, 1, x_129); -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; -x_131 = lean_ctor_get(x_124, 1); -lean_inc(x_131); -lean_dec(x_124); -x_132 = lean_unsigned_to_nat(0u); -x_133 = l_Lean_Expr_getAppNumArgsAux(x_105, x_132); -x_134 = lean_mk_empty_array_with_capacity(x_133); -lean_dec(x_133); -lean_inc(x_105); -x_135 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_105, x_134); -x_136 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__1(x_105, x_121, x_113, x_135, x_2, x_3, x_4, x_5, x_131); -lean_dec(x_135); -lean_dec(x_113); -lean_dec(x_121); -return x_136; -} -} -case 4: -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_137 = lean_ctor_get(x_115, 1); -lean_inc(x_137); -lean_dec(x_115); -x_138 = lean_ctor_get(x_121, 0); -lean_inc(x_138); -lean_dec(x_121); -x_139 = lean_unsigned_to_nat(0u); -x_140 = l_Lean_Expr_getAppNumArgsAux(x_105, x_139); -x_141 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_140); -x_142 = lean_mk_array(x_140, x_141); -x_143 = lean_unsigned_to_nat(1u); -x_144 = lean_nat_sub(x_140, x_143); -lean_dec(x_140); -x_145 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_105, x_142, x_144); -x_146 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_147 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_138, x_113, x_145, x_114, x_146, x_2, x_3, x_4, x_5, x_137); -lean_dec(x_145); -lean_dec(x_113); -lean_dec(x_138); -return x_147; -} -case 7: -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_148 = lean_ctor_get(x_115, 1); -lean_inc(x_148); -lean_dec(x_115); -x_149 = lean_ctor_get(x_121, 0); -lean_inc(x_149); -lean_dec(x_121); -x_150 = lean_unsigned_to_nat(0u); -x_151 = l_Lean_Expr_getAppNumArgsAux(x_105, x_150); -x_152 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_151); -x_153 = lean_mk_array(x_151, x_152); -x_154 = lean_unsigned_to_nat(1u); -x_155 = lean_nat_sub(x_151, x_154); -lean_dec(x_151); -x_156 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_105, x_153, x_155); -x_157 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_158 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_149, x_113, x_156, x_114, x_157, x_2, x_3, x_4, x_5, x_148); -lean_dec(x_156); -lean_dec(x_113); -return x_158; -} -default: -{ -uint8_t x_159; -lean_dec(x_121); -lean_dec(x_114); -lean_dec(x_113); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_159 = !lean_is_exclusive(x_115); -if (x_159 == 0) -{ -lean_object* x_160; -x_160 = lean_ctor_get(x_115, 0); -lean_dec(x_160); -lean_ctor_set(x_115, 0, x_105); -return x_115; -} -else -{ -lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_115, 1); -lean_inc(x_161); -lean_dec(x_115); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_105); -lean_ctor_set(x_162, 1, x_161); -return x_162; -} -} -} -} -} -else -{ -uint8_t x_163; -lean_dec(x_114); -lean_dec(x_113); -lean_dec(x_105); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_163 = !lean_is_exclusive(x_115); -if (x_163 == 0) -{ -return x_115; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_115, 0); -x_165 = lean_ctor_get(x_115, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_115); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} -} -else -{ -uint8_t x_167; -lean_dec(x_99); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_167 = !lean_is_exclusive(x_106); -if (x_167 == 0) -{ -lean_object* x_168; -x_168 = lean_ctor_get(x_106, 0); -lean_dec(x_168); -lean_ctor_set(x_106, 0, x_105); -return x_106; -} -else -{ -lean_object* x_169; lean_object* x_170; -x_169 = lean_ctor_get(x_106, 1); -lean_inc(x_169); -lean_dec(x_106); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_105); -lean_ctor_set(x_170, 1, x_169); -return x_170; -} -} -} -default: -{ -uint8_t x_171; -lean_dec(x_107); -lean_dec(x_99); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_171 = !lean_is_exclusive(x_106); -if (x_171 == 0) -{ -lean_object* x_172; -x_172 = lean_ctor_get(x_106, 0); -lean_dec(x_172); -lean_ctor_set(x_106, 0, x_105); -return x_106; -} -else -{ -lean_object* x_173; lean_object* x_174; -x_173 = lean_ctor_get(x_106, 1); -lean_inc(x_173); -lean_dec(x_106); -x_174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_174, 0, x_105); -lean_ctor_set(x_174, 1, x_173); -return x_174; -} -} -} -} -else -{ -uint8_t x_175; -lean_dec(x_105); -lean_dec(x_99); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_175 = !lean_is_exclusive(x_106); -if (x_175 == 0) -{ -return x_106; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_106, 0); -x_177 = lean_ctor_get(x_106, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_106); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -return x_178; -} -} -} -} -else -{ -uint8_t x_184; -lean_dec(x_99); -lean_dec(x_97); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_184 = !lean_is_exclusive(x_102); -if (x_184 == 0) -{ -return x_102; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_102, 0); -x_186 = lean_ctor_get(x_102, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_102); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; -} -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_97); -x_188 = lean_unsigned_to_nat(0u); -x_189 = l_Lean_Expr_getAppNumArgsAux(x_1, x_188); -x_190 = lean_mk_empty_array_with_capacity(x_189); -lean_dec(x_189); -x_191 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_190); -x_192 = l_Lean_Expr_betaRev(x_99, x_191); -lean_dec(x_191); -lean_dec(x_99); -x_1 = x_192; -x_6 = x_100; -goto _start; -} -} -else -{ -uint8_t x_194; -lean_dec(x_97); -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_98); -if (x_194 == 0) +if (x_95 == 0) { +lean_object* x_97; lean_object* x_98; +x_97 = lean_box(0); +x_98 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_97, x_2, x_3, x_4, x_5, x_96); return x_98; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_98, 0); -x_196 = lean_ctor_get(x_98, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_98); -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; -} -} -} -case 8: -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_1, 2); -lean_inc(x_198); -x_199 = lean_ctor_get(x_1, 3); -lean_inc(x_199); -lean_dec(x_1); -x_200 = lean_expr_instantiate1(x_199, x_198); -lean_dec(x_198); -lean_dec(x_199); -x_1 = x_200; -x_6 = x_94; -goto _start; -} -case 11: -{ -lean_object* x_202; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_inc(x_1); -x_202 = l_Lean_Meta_reduceProj_x3f(x_1, x_2, x_3, x_4, x_5, x_94); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -if (lean_obj_tag(x_203) == 0) -{ -uint8_t x_204; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_204 = !lean_is_exclusive(x_202); -if (x_204 == 0) -{ -lean_object* x_205; -x_205 = lean_ctor_get(x_202, 0); -lean_dec(x_205); -lean_ctor_set(x_202, 0, x_1); -return x_202; -} -else -{ -lean_object* x_206; lean_object* x_207; -x_206 = lean_ctor_get(x_202, 1); -lean_inc(x_206); -lean_dec(x_202); -x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_1); -lean_ctor_set(x_207, 1, x_206); -return x_207; -} -} -else -{ -lean_object* x_208; lean_object* x_209; -lean_dec(x_1); -x_208 = lean_ctor_get(x_202, 1); -lean_inc(x_208); -lean_dec(x_202); -x_209 = lean_ctor_get(x_203, 0); -lean_inc(x_209); -lean_dec(x_203); -x_1 = x_209; -x_6 = x_208; -goto _start; -} -} -else -{ -uint8_t x_211; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_211 = !lean_is_exclusive(x_202); -if (x_211 == 0) -{ -return x_202; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_202, 0); -x_213 = lean_ctor_get(x_202, 1); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_202); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -return x_214; -} -} -} -default: -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_1); -x_215 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_216 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6; -x_217 = lean_panic_fn(x_215, x_216); -x_218 = lean_apply_5(x_217, x_2, x_3, x_4, x_5, x_94); -return x_218; -} +x_99 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_99, 0, x_1); +x_100 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_94, x_99, x_2, x_3, x_4, x_5, x_96); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_101, x_2, x_3, x_4, x_5, x_102); +lean_dec(x_101); +return x_103; } } } case 5: { -lean_object* x_235; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; -x_361 = lean_st_ref_get(x_5, x_6); -x_362 = lean_ctor_get(x_361, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_362, 3); -lean_inc(x_363); -lean_dec(x_362); -x_364 = lean_ctor_get_uint8(x_363, sizeof(void*)*1); -lean_dec(x_363); -if (x_364 == 0) +lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_127 = lean_st_ref_get(x_5, x_6); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_128, 3); +lean_inc(x_129); +lean_dec(x_128); +x_130 = lean_ctor_get_uint8(x_129, sizeof(void*)*1); +lean_dec(x_129); +if (x_130 == 0) { -lean_object* x_365; -x_365 = lean_ctor_get(x_361, 1); -lean_inc(x_365); -lean_dec(x_361); -x_235 = x_365; -goto block_360; +lean_object* x_131; uint8_t x_132; +x_131 = lean_ctor_get(x_127, 1); +lean_inc(x_131); +lean_dec(x_127); +x_132 = 0; +x_117 = x_132; +x_118 = x_131; +goto block_126; } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; -x_366 = lean_ctor_get(x_361, 1); -lean_inc(x_366); -lean_dec(x_361); -x_367 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; -x_368 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_367, x_2, x_3, x_4, x_5, x_366); -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_unbox(x_369); -lean_dec(x_369); -if (x_370 == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_133 = lean_ctor_get(x_127, 1); +lean_inc(x_133); +lean_dec(x_127); +x_134 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_116, x_2, x_3, x_4, x_5, 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_unbox(x_135); +lean_dec(x_135); +x_117 = x_137; +x_118 = x_136; +goto block_126; +} +block_126: { -lean_object* x_371; -x_371 = lean_ctor_get(x_368, 1); -lean_inc(x_371); -lean_dec(x_368); -x_235 = x_371; -goto block_360; +if (x_117 == 0) +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_box(0); +x_120 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_119, x_2, x_3, x_4, x_5, x_118); +return x_120; } else { -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_372 = lean_ctor_get(x_368, 1); -lean_inc(x_372); -lean_dec(x_368); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_inc(x_1); -x_373 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_373, 0, x_1); -x_374 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_367, x_373, x_2, x_3, x_4, x_5, x_372); -x_375 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -lean_dec(x_374); -x_235 = x_375; -goto block_360; -} -} -block_360: -{ -switch (lean_obj_tag(x_1)) { -case 4: -{ -lean_object* x_236; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_236 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_236, 0, x_1); -lean_ctor_set(x_236, 1, x_235); -return x_236; -} -case 5: -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_1, 0); -lean_inc(x_237); -x_238 = l_Lean_Expr_getAppFn(x_237); -lean_dec(x_237); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_238); -x_239 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_238, x_2, x_3, x_4, x_5, x_235); -if (lean_obj_tag(x_239) == 0) -{ -lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = l_Lean_Expr_isLambda(x_240); -if (x_242 == 0) -{ -lean_object* x_243; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_243 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_240, x_1, x_2, x_3, x_4, x_5, x_241); -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -if (lean_obj_tag(x_244) == 0) -{ -uint8_t x_321; -x_321 = lean_expr_eqv(x_238, x_240); -lean_dec(x_238); -if (x_321 == 0) -{ -lean_object* x_322; -x_322 = l_Lean_Expr_updateFn(x_1, x_240); -x_246 = x_322; -goto block_320; -} -else -{ -x_246 = x_1; -goto block_320; -} -} -else -{ -lean_object* x_323; -lean_dec(x_240); -lean_dec(x_238); -lean_dec(x_1); -x_323 = lean_ctor_get(x_244, 0); -lean_inc(x_323); -lean_dec(x_244); -x_1 = x_323; -x_6 = x_245; -goto _start; -} -block_320: -{ -lean_object* x_247; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_246); -x_247 = l_Lean_Meta_reduceMatcher_x3f(x_246, x_2, x_3, x_4, x_5, x_245); -if (lean_obj_tag(x_247) == 0) -{ -lean_object* x_248; -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -switch (lean_obj_tag(x_248)) { -case 0: -{ -lean_object* x_249; lean_object* x_250; -lean_dec(x_246); -lean_dec(x_240); -x_249 = lean_ctor_get(x_247, 1); -lean_inc(x_249); -lean_dec(x_247); -x_250 = lean_ctor_get(x_248, 0); -lean_inc(x_250); -lean_dec(x_248); -x_1 = x_250; -x_6 = x_249; -goto _start; -} -case 2: -{ -if (lean_obj_tag(x_240) == 4) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_252 = lean_ctor_get(x_247, 1); -lean_inc(x_252); -lean_dec(x_247); -x_253 = lean_ctor_get(x_240, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_240, 1); -lean_inc(x_254); -lean_dec(x_240); -lean_inc(x_246); -x_255 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); -lean_closure_set(x_255, 0, x_246); -x_256 = l_Lean_Meta_getConst_x3f(x_253, x_2, x_3, x_4, x_5, x_252); -if (lean_obj_tag(x_256) == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -if (lean_obj_tag(x_257) == 0) -{ -uint8_t x_258; -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_258 = !lean_is_exclusive(x_256); -if (x_258 == 0) -{ -lean_object* x_259; -x_259 = lean_ctor_get(x_256, 0); -lean_dec(x_259); -lean_ctor_set(x_256, 0, x_246); -return x_256; -} -else -{ -lean_object* x_260; lean_object* x_261; -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -lean_dec(x_256); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_246); -lean_ctor_set(x_261, 1, x_260); -return x_261; -} -} -else -{ -lean_object* x_262; -x_262 = lean_ctor_get(x_257, 0); -lean_inc(x_262); -lean_dec(x_257); -switch (lean_obj_tag(x_262)) { -case 1: -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; -lean_dec(x_255); -x_263 = lean_ctor_get(x_256, 1); -lean_inc(x_263); -lean_dec(x_256); -x_264 = l_Lean_ConstantInfo_name(x_262); -x_265 = l_Lean_Meta_isAuxDef(x_264, x_2, x_3, x_4, x_5, x_263); -lean_dec(x_264); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_unbox(x_266); -lean_dec(x_266); -if (x_267 == 0) -{ -uint8_t x_268; -lean_dec(x_262); -lean_dec(x_254); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_268 = !lean_is_exclusive(x_265); -if (x_268 == 0) -{ -lean_object* x_269; -x_269 = lean_ctor_get(x_265, 0); -lean_dec(x_269); -lean_ctor_set(x_265, 0, x_246); -return x_265; -} -else -{ -lean_object* x_270; lean_object* x_271; -x_270 = lean_ctor_get(x_265, 1); -lean_inc(x_270); -lean_dec(x_265); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_246); -lean_ctor_set(x_271, 1, x_270); -return x_271; -} -} -else -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_272 = lean_ctor_get(x_265, 1); -lean_inc(x_272); -lean_dec(x_265); -x_273 = lean_unsigned_to_nat(0u); -x_274 = l_Lean_Expr_getAppNumArgsAux(x_246, x_273); -x_275 = lean_mk_empty_array_with_capacity(x_274); -lean_dec(x_274); -lean_inc(x_246); -x_276 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_246, x_275); -x_277 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__1(x_246, x_262, x_254, x_276, x_2, x_3, x_4, x_5, x_272); -lean_dec(x_276); -lean_dec(x_254); -lean_dec(x_262); -return x_277; -} -} -case 4: -{ -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_256, 1); -lean_inc(x_278); -lean_dec(x_256); -x_279 = lean_ctor_get(x_262, 0); -lean_inc(x_279); -lean_dec(x_262); -x_280 = lean_unsigned_to_nat(0u); -x_281 = l_Lean_Expr_getAppNumArgsAux(x_246, x_280); -x_282 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_281); -x_283 = lean_mk_array(x_281, x_282); -x_284 = lean_unsigned_to_nat(1u); -x_285 = lean_nat_sub(x_281, x_284); -lean_dec(x_281); -x_286 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_246, x_283, x_285); -x_287 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_288 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_279, x_254, x_286, x_255, x_287, x_2, x_3, x_4, x_5, x_278); -lean_dec(x_286); -lean_dec(x_254); -lean_dec(x_279); -return x_288; -} -case 7: -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_289 = lean_ctor_get(x_256, 1); -lean_inc(x_289); -lean_dec(x_256); -x_290 = lean_ctor_get(x_262, 0); -lean_inc(x_290); -lean_dec(x_262); -x_291 = lean_unsigned_to_nat(0u); -x_292 = l_Lean_Expr_getAppNumArgsAux(x_246, x_291); -x_293 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_292); -x_294 = lean_mk_array(x_292, x_293); -x_295 = lean_unsigned_to_nat(1u); -x_296 = lean_nat_sub(x_292, x_295); -lean_dec(x_292); -x_297 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_246, x_294, x_296); -x_298 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_299 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_290, x_254, x_297, x_255, x_298, x_2, x_3, x_4, x_5, x_289); -lean_dec(x_297); -lean_dec(x_254); -return x_299; -} -default: -{ -uint8_t x_300; -lean_dec(x_262); -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_300 = !lean_is_exclusive(x_256); -if (x_300 == 0) -{ -lean_object* x_301; -x_301 = lean_ctor_get(x_256, 0); -lean_dec(x_301); -lean_ctor_set(x_256, 0, x_246); -return x_256; -} -else -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_256, 1); -lean_inc(x_302); -lean_dec(x_256); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_246); -lean_ctor_set(x_303, 1, x_302); -return x_303; -} -} -} -} -} -else -{ -uint8_t x_304; -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_246); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_304 = !lean_is_exclusive(x_256); -if (x_304 == 0) -{ -return x_256; -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_256, 0); -x_306 = lean_ctor_get(x_256, 1); -lean_inc(x_306); -lean_inc(x_305); -lean_dec(x_256); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_305); -lean_ctor_set(x_307, 1, x_306); -return x_307; -} -} -} -else -{ -uint8_t x_308; -lean_dec(x_240); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_308 = !lean_is_exclusive(x_247); -if (x_308 == 0) -{ -lean_object* x_309; -x_309 = lean_ctor_get(x_247, 0); -lean_dec(x_309); -lean_ctor_set(x_247, 0, x_246); -return x_247; -} -else -{ -lean_object* x_310; lean_object* x_311; -x_310 = lean_ctor_get(x_247, 1); -lean_inc(x_310); -lean_dec(x_247); -x_311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_311, 0, x_246); -lean_ctor_set(x_311, 1, x_310); -return x_311; -} -} -} -default: -{ -uint8_t x_312; -lean_dec(x_248); -lean_dec(x_240); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_312 = !lean_is_exclusive(x_247); -if (x_312 == 0) -{ -lean_object* x_313; -x_313 = lean_ctor_get(x_247, 0); -lean_dec(x_313); -lean_ctor_set(x_247, 0, x_246); -return x_247; -} -else -{ -lean_object* x_314; lean_object* x_315; -x_314 = lean_ctor_get(x_247, 1); -lean_inc(x_314); -lean_dec(x_247); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_246); -lean_ctor_set(x_315, 1, x_314); -return x_315; -} -} -} -} -else -{ -uint8_t x_316; -lean_dec(x_246); -lean_dec(x_240); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_316 = !lean_is_exclusive(x_247); -if (x_316 == 0) -{ -return x_247; -} -else -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_317 = lean_ctor_get(x_247, 0); -x_318 = lean_ctor_get(x_247, 1); -lean_inc(x_318); -lean_inc(x_317); -lean_dec(x_247); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_317); -lean_ctor_set(x_319, 1, x_318); -return x_319; -} -} -} -} -else -{ -uint8_t x_325; -lean_dec(x_240); -lean_dec(x_238); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_325 = !lean_is_exclusive(x_243); -if (x_325 == 0) -{ -return x_243; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_243, 0); -x_327 = lean_ctor_get(x_243, 1); -lean_inc(x_327); -lean_inc(x_326); -lean_dec(x_243); -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 -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -lean_dec(x_238); -x_329 = lean_unsigned_to_nat(0u); -x_330 = l_Lean_Expr_getAppNumArgsAux(x_1, x_329); -x_331 = lean_mk_empty_array_with_capacity(x_330); -lean_dec(x_330); -x_332 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_331); -x_333 = l_Lean_Expr_betaRev(x_240, x_332); -lean_dec(x_332); -lean_dec(x_240); -x_1 = x_333; -x_6 = x_241; -goto _start; -} -} -else -{ -uint8_t x_335; -lean_dec(x_238); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_335 = !lean_is_exclusive(x_239); -if (x_335 == 0) -{ -return x_239; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_336 = lean_ctor_get(x_239, 0); -x_337 = lean_ctor_get(x_239, 1); -lean_inc(x_337); -lean_inc(x_336); -lean_dec(x_239); -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_336); -lean_ctor_set(x_338, 1, x_337); -return x_338; +x_121 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_121, 0, x_1); +x_122 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_116, x_121, x_2, x_3, x_4, x_5, x_118); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_125 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_123, x_2, x_3, x_4, x_5, x_124); +lean_dec(x_123); +return x_125; } } } case 8: { -lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_339 = lean_ctor_get(x_1, 2); -lean_inc(x_339); -x_340 = lean_ctor_get(x_1, 3); -lean_inc(x_340); -lean_dec(x_1); -x_341 = lean_expr_instantiate1(x_340, x_339); -lean_dec(x_339); -lean_dec(x_340); -x_1 = x_341; -x_6 = x_235; -goto _start; -} -case 11: +lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_138 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_149 = lean_st_ref_get(x_5, x_6); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_150, 3); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_ctor_get_uint8(x_151, sizeof(void*)*1); +lean_dec(x_151); +if (x_152 == 0) { -lean_object* x_343; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); +lean_object* x_153; uint8_t x_154; +x_153 = lean_ctor_get(x_149, 1); +lean_inc(x_153); +lean_dec(x_149); +x_154 = 0; +x_139 = x_154; +x_140 = x_153; +goto block_148; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; +x_155 = lean_ctor_get(x_149, 1); +lean_inc(x_155); +lean_dec(x_149); +x_156 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_138, x_2, x_3, x_4, x_5, x_155); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = lean_unbox(x_157); +lean_dec(x_157); +x_139 = x_159; +x_140 = x_158; +goto block_148; +} +block_148: +{ +if (x_139 == 0) +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_box(0); +x_142 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_141, x_2, x_3, x_4, x_5, x_140); +return x_142; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_inc(x_1); -x_343 = l_Lean_Meta_reduceProj_x3f(x_1, x_2, x_3, x_4, x_5, x_235); -if (lean_obj_tag(x_343) == 0) -{ -lean_object* x_344; -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -if (lean_obj_tag(x_344) == 0) -{ -uint8_t x_345; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_345 = !lean_is_exclusive(x_343); -if (x_345 == 0) -{ -lean_object* x_346; -x_346 = lean_ctor_get(x_343, 0); -lean_dec(x_346); -lean_ctor_set(x_343, 0, x_1); -return x_343; -} -else -{ -lean_object* x_347; lean_object* x_348; -x_347 = lean_ctor_get(x_343, 1); -lean_inc(x_347); -lean_dec(x_343); -x_348 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_348, 0, x_1); -lean_ctor_set(x_348, 1, x_347); -return x_348; -} -} -else -{ -lean_object* x_349; lean_object* x_350; -lean_dec(x_1); -x_349 = lean_ctor_get(x_343, 1); -lean_inc(x_349); -lean_dec(x_343); -x_350 = lean_ctor_get(x_344, 0); -lean_inc(x_350); -lean_dec(x_344); -x_1 = x_350; -x_6 = x_349; -goto _start; -} -} -else -{ -uint8_t x_352; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_352 = !lean_is_exclusive(x_343); -if (x_352 == 0) -{ -return x_343; -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_353 = lean_ctor_get(x_343, 0); -x_354 = lean_ctor_get(x_343, 1); -lean_inc(x_354); -lean_inc(x_353); -lean_dec(x_343); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set(x_355, 1, x_354); -return x_355; -} -} -} -default: -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_1); -x_356 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_357 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6; -x_358 = lean_panic_fn(x_356, x_357); -x_359 = lean_apply_5(x_358, x_2, x_3, x_4, x_5, x_235); -return x_359; -} -} -} -} -case 8: -{ -lean_object* x_376; lean_object* x_502; lean_object* x_503; lean_object* x_504; uint8_t x_505; -x_502 = lean_st_ref_get(x_5, x_6); -x_503 = lean_ctor_get(x_502, 0); -lean_inc(x_503); -x_504 = lean_ctor_get(x_503, 3); -lean_inc(x_504); -lean_dec(x_503); -x_505 = lean_ctor_get_uint8(x_504, sizeof(void*)*1); -lean_dec(x_504); -if (x_505 == 0) -{ -lean_object* x_506; -x_506 = lean_ctor_get(x_502, 1); -lean_inc(x_506); -lean_dec(x_502); -x_376 = x_506; -goto block_501; -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; -x_507 = lean_ctor_get(x_502, 1); -lean_inc(x_507); -lean_dec(x_502); -x_508 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; -x_509 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_508, x_2, x_3, x_4, x_5, x_507); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_unbox(x_510); -lean_dec(x_510); -if (x_511 == 0) -{ -lean_object* x_512; -x_512 = lean_ctor_get(x_509, 1); -lean_inc(x_512); -lean_dec(x_509); -x_376 = x_512; -goto block_501; -} -else -{ -lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_513 = lean_ctor_get(x_509, 1); -lean_inc(x_513); -lean_dec(x_509); -lean_inc(x_1); -x_514 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_514, 0, x_1); -x_515 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_508, x_514, x_2, x_3, x_4, x_5, x_513); -x_516 = lean_ctor_get(x_515, 1); -lean_inc(x_516); -lean_dec(x_515); -x_376 = x_516; -goto block_501; -} -} -block_501: -{ -switch (lean_obj_tag(x_1)) { -case 4: -{ -lean_object* x_377; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_1); -lean_ctor_set(x_377, 1, x_376); -return x_377; -} -case 5: -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_378 = lean_ctor_get(x_1, 0); -lean_inc(x_378); -x_379 = l_Lean_Expr_getAppFn(x_378); -lean_dec(x_378); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_379); -x_380 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_379, x_2, x_3, x_4, x_5, x_376); -if (lean_obj_tag(x_380) == 0) -{ -lean_object* x_381; lean_object* x_382; uint8_t x_383; -x_381 = lean_ctor_get(x_380, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_380, 1); -lean_inc(x_382); -lean_dec(x_380); -x_383 = l_Lean_Expr_isLambda(x_381); -if (x_383 == 0) -{ -lean_object* x_384; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_384 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_381, x_1, x_2, x_3, x_4, x_5, x_382); -if (lean_obj_tag(x_384) == 0) -{ -lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -lean_dec(x_384); -if (lean_obj_tag(x_385) == 0) -{ -uint8_t x_462; -x_462 = lean_expr_eqv(x_379, x_381); -lean_dec(x_379); -if (x_462 == 0) -{ -lean_object* x_463; -x_463 = l_Lean_Expr_updateFn(x_1, x_381); -x_387 = x_463; -goto block_461; -} -else -{ -x_387 = x_1; -goto block_461; -} -} -else -{ -lean_object* x_464; -lean_dec(x_381); -lean_dec(x_379); -lean_dec(x_1); -x_464 = lean_ctor_get(x_385, 0); -lean_inc(x_464); -lean_dec(x_385); -x_1 = x_464; -x_6 = x_386; -goto _start; -} -block_461: -{ -lean_object* x_388; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_387); -x_388 = l_Lean_Meta_reduceMatcher_x3f(x_387, x_2, x_3, x_4, x_5, x_386); -if (lean_obj_tag(x_388) == 0) -{ -lean_object* x_389; -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -switch (lean_obj_tag(x_389)) { -case 0: -{ -lean_object* x_390; lean_object* x_391; -lean_dec(x_387); -lean_dec(x_381); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -lean_dec(x_388); -x_391 = lean_ctor_get(x_389, 0); -lean_inc(x_391); -lean_dec(x_389); -x_1 = x_391; -x_6 = x_390; -goto _start; -} -case 2: -{ -if (lean_obj_tag(x_381) == 4) -{ -lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_393 = lean_ctor_get(x_388, 1); -lean_inc(x_393); -lean_dec(x_388); -x_394 = lean_ctor_get(x_381, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_381, 1); -lean_inc(x_395); -lean_dec(x_381); -lean_inc(x_387); -x_396 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); -lean_closure_set(x_396, 0, x_387); -x_397 = l_Lean_Meta_getConst_x3f(x_394, x_2, x_3, x_4, x_5, x_393); -if (lean_obj_tag(x_397) == 0) -{ -lean_object* x_398; -x_398 = lean_ctor_get(x_397, 0); -lean_inc(x_398); -if (lean_obj_tag(x_398) == 0) -{ -uint8_t x_399; -lean_dec(x_396); -lean_dec(x_395); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_399 = !lean_is_exclusive(x_397); -if (x_399 == 0) -{ -lean_object* x_400; -x_400 = lean_ctor_get(x_397, 0); -lean_dec(x_400); -lean_ctor_set(x_397, 0, x_387); -return x_397; -} -else -{ -lean_object* x_401; lean_object* x_402; -x_401 = lean_ctor_get(x_397, 1); -lean_inc(x_401); -lean_dec(x_397); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_387); -lean_ctor_set(x_402, 1, x_401); -return x_402; -} -} -else -{ -lean_object* x_403; -x_403 = lean_ctor_get(x_398, 0); -lean_inc(x_403); -lean_dec(x_398); -switch (lean_obj_tag(x_403)) { -case 1: -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; uint8_t x_408; -lean_dec(x_396); -x_404 = lean_ctor_get(x_397, 1); -lean_inc(x_404); -lean_dec(x_397); -x_405 = l_Lean_ConstantInfo_name(x_403); -x_406 = l_Lean_Meta_isAuxDef(x_405, x_2, x_3, x_4, x_5, x_404); -lean_dec(x_405); -x_407 = lean_ctor_get(x_406, 0); -lean_inc(x_407); -x_408 = lean_unbox(x_407); -lean_dec(x_407); -if (x_408 == 0) -{ -uint8_t x_409; -lean_dec(x_403); -lean_dec(x_395); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_409 = !lean_is_exclusive(x_406); -if (x_409 == 0) -{ -lean_object* x_410; -x_410 = lean_ctor_get(x_406, 0); -lean_dec(x_410); -lean_ctor_set(x_406, 0, x_387); -return x_406; -} -else -{ -lean_object* x_411; lean_object* x_412; -x_411 = lean_ctor_get(x_406, 1); -lean_inc(x_411); -lean_dec(x_406); -x_412 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_412, 0, x_387); -lean_ctor_set(x_412, 1, x_411); -return x_412; -} -} -else -{ -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_413 = lean_ctor_get(x_406, 1); -lean_inc(x_413); -lean_dec(x_406); -x_414 = lean_unsigned_to_nat(0u); -x_415 = l_Lean_Expr_getAppNumArgsAux(x_387, x_414); -x_416 = lean_mk_empty_array_with_capacity(x_415); -lean_dec(x_415); -lean_inc(x_387); -x_417 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_387, x_416); -x_418 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__1(x_387, x_403, x_395, x_417, x_2, x_3, x_4, x_5, x_413); -lean_dec(x_417); -lean_dec(x_395); -lean_dec(x_403); -return x_418; -} -} -case 4: -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_419 = lean_ctor_get(x_397, 1); -lean_inc(x_419); -lean_dec(x_397); -x_420 = lean_ctor_get(x_403, 0); -lean_inc(x_420); -lean_dec(x_403); -x_421 = lean_unsigned_to_nat(0u); -x_422 = l_Lean_Expr_getAppNumArgsAux(x_387, x_421); -x_423 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_422); -x_424 = lean_mk_array(x_422, x_423); -x_425 = lean_unsigned_to_nat(1u); -x_426 = lean_nat_sub(x_422, x_425); -lean_dec(x_422); -x_427 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_387, x_424, x_426); -x_428 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_429 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_420, x_395, x_427, x_396, x_428, x_2, x_3, x_4, x_5, x_419); -lean_dec(x_427); -lean_dec(x_395); -lean_dec(x_420); -return x_429; -} -case 7: -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_430 = lean_ctor_get(x_397, 1); -lean_inc(x_430); -lean_dec(x_397); -x_431 = lean_ctor_get(x_403, 0); -lean_inc(x_431); -lean_dec(x_403); -x_432 = lean_unsigned_to_nat(0u); -x_433 = l_Lean_Expr_getAppNumArgsAux(x_387, x_432); -x_434 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_433); -x_435 = lean_mk_array(x_433, x_434); -x_436 = lean_unsigned_to_nat(1u); -x_437 = lean_nat_sub(x_433, x_436); -lean_dec(x_433); -x_438 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_387, x_435, x_437); -x_439 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_440 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_431, x_395, x_438, x_396, x_439, x_2, x_3, x_4, x_5, x_430); -lean_dec(x_438); -lean_dec(x_395); -return x_440; -} -default: -{ -uint8_t x_441; -lean_dec(x_403); -lean_dec(x_396); -lean_dec(x_395); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_441 = !lean_is_exclusive(x_397); -if (x_441 == 0) -{ -lean_object* x_442; -x_442 = lean_ctor_get(x_397, 0); -lean_dec(x_442); -lean_ctor_set(x_397, 0, x_387); -return x_397; -} -else -{ -lean_object* x_443; lean_object* x_444; -x_443 = lean_ctor_get(x_397, 1); -lean_inc(x_443); -lean_dec(x_397); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_387); -lean_ctor_set(x_444, 1, x_443); -return x_444; -} -} -} -} -} -else -{ -uint8_t x_445; -lean_dec(x_396); -lean_dec(x_395); -lean_dec(x_387); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_445 = !lean_is_exclusive(x_397); -if (x_445 == 0) -{ -return x_397; -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_446 = lean_ctor_get(x_397, 0); -x_447 = lean_ctor_get(x_397, 1); -lean_inc(x_447); -lean_inc(x_446); -lean_dec(x_397); -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_446); -lean_ctor_set(x_448, 1, x_447); -return x_448; -} -} -} -else -{ -uint8_t x_449; -lean_dec(x_381); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_449 = !lean_is_exclusive(x_388); -if (x_449 == 0) -{ -lean_object* x_450; -x_450 = lean_ctor_get(x_388, 0); -lean_dec(x_450); -lean_ctor_set(x_388, 0, x_387); -return x_388; -} -else -{ -lean_object* x_451; lean_object* x_452; -x_451 = lean_ctor_get(x_388, 1); -lean_inc(x_451); -lean_dec(x_388); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_387); -lean_ctor_set(x_452, 1, x_451); -return x_452; -} -} -} -default: -{ -uint8_t x_453; -lean_dec(x_389); -lean_dec(x_381); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_453 = !lean_is_exclusive(x_388); -if (x_453 == 0) -{ -lean_object* x_454; -x_454 = lean_ctor_get(x_388, 0); -lean_dec(x_454); -lean_ctor_set(x_388, 0, x_387); -return x_388; -} -else -{ -lean_object* x_455; lean_object* x_456; -x_455 = lean_ctor_get(x_388, 1); -lean_inc(x_455); -lean_dec(x_388); -x_456 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_456, 0, x_387); -lean_ctor_set(x_456, 1, x_455); -return x_456; -} -} -} -} -else -{ -uint8_t x_457; -lean_dec(x_387); -lean_dec(x_381); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_457 = !lean_is_exclusive(x_388); -if (x_457 == 0) -{ -return x_388; -} -else -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_458 = lean_ctor_get(x_388, 0); -x_459 = lean_ctor_get(x_388, 1); -lean_inc(x_459); -lean_inc(x_458); -lean_dec(x_388); -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_458); -lean_ctor_set(x_460, 1, x_459); -return x_460; -} -} -} -} -else -{ -uint8_t x_466; -lean_dec(x_381); -lean_dec(x_379); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_466 = !lean_is_exclusive(x_384); -if (x_466 == 0) -{ -return x_384; -} -else -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_467 = lean_ctor_get(x_384, 0); -x_468 = lean_ctor_get(x_384, 1); -lean_inc(x_468); -lean_inc(x_467); -lean_dec(x_384); -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_467); -lean_ctor_set(x_469, 1, x_468); -return x_469; -} -} -} -else -{ -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -lean_dec(x_379); -x_470 = lean_unsigned_to_nat(0u); -x_471 = l_Lean_Expr_getAppNumArgsAux(x_1, x_470); -x_472 = lean_mk_empty_array_with_capacity(x_471); -lean_dec(x_471); -x_473 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_472); -x_474 = l_Lean_Expr_betaRev(x_381, x_473); -lean_dec(x_473); -lean_dec(x_381); -x_1 = x_474; -x_6 = x_382; -goto _start; -} -} -else -{ -uint8_t x_476; -lean_dec(x_379); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_476 = !lean_is_exclusive(x_380); -if (x_476 == 0) -{ -return x_380; -} -else -{ -lean_object* x_477; lean_object* x_478; lean_object* x_479; -x_477 = lean_ctor_get(x_380, 0); -x_478 = lean_ctor_get(x_380, 1); -lean_inc(x_478); -lean_inc(x_477); -lean_dec(x_380); -x_479 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_479, 0, x_477); -lean_ctor_set(x_479, 1, x_478); -return x_479; -} -} -} -case 8: -{ -lean_object* x_480; lean_object* x_481; lean_object* x_482; -x_480 = lean_ctor_get(x_1, 2); -lean_inc(x_480); -x_481 = lean_ctor_get(x_1, 3); -lean_inc(x_481); -lean_dec(x_1); -x_482 = lean_expr_instantiate1(x_481, x_480); -lean_dec(x_480); -lean_dec(x_481); -x_1 = x_482; -x_6 = x_376; -goto _start; -} -case 11: -{ -lean_object* x_484; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_484 = l_Lean_Meta_reduceProj_x3f(x_1, x_2, x_3, x_4, x_5, x_376); -if (lean_obj_tag(x_484) == 0) -{ -lean_object* x_485; -x_485 = lean_ctor_get(x_484, 0); -lean_inc(x_485); -if (lean_obj_tag(x_485) == 0) -{ -uint8_t x_486; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_486 = !lean_is_exclusive(x_484); -if (x_486 == 0) -{ -lean_object* x_487; -x_487 = lean_ctor_get(x_484, 0); -lean_dec(x_487); -lean_ctor_set(x_484, 0, x_1); -return x_484; -} -else -{ -lean_object* x_488; lean_object* x_489; -x_488 = lean_ctor_get(x_484, 1); -lean_inc(x_488); -lean_dec(x_484); -x_489 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_489, 0, x_1); -lean_ctor_set(x_489, 1, x_488); -return x_489; -} -} -else -{ -lean_object* x_490; lean_object* x_491; -lean_dec(x_1); -x_490 = lean_ctor_get(x_484, 1); -lean_inc(x_490); -lean_dec(x_484); -x_491 = lean_ctor_get(x_485, 0); -lean_inc(x_491); -lean_dec(x_485); -x_1 = x_491; -x_6 = x_490; -goto _start; -} -} -else -{ -uint8_t x_493; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_493 = !lean_is_exclusive(x_484); -if (x_493 == 0) -{ -return x_484; -} -else -{ -lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_494 = lean_ctor_get(x_484, 0); -x_495 = lean_ctor_get(x_484, 1); -lean_inc(x_495); -lean_inc(x_494); -lean_dec(x_484); -x_496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_496, 0, x_494); -lean_ctor_set(x_496, 1, x_495); -return x_496; -} -} -} -default: -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -lean_dec(x_1); -x_497 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_498 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6; -x_499 = lean_panic_fn(x_497, x_498); -x_500 = lean_apply_5(x_499, x_2, x_3, x_4, x_5, x_376); -return x_500; -} +x_143 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_143, 0, x_1); +x_144 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_138, x_143, x_2, x_3, x_4, x_5, x_140); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_147 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_145, x_2, x_3, x_4, x_5, x_146); +lean_dec(x_145); +return x_147; } } } case 10: { -lean_object* x_517; -x_517 = lean_ctor_get(x_1, 1); -lean_inc(x_517); +lean_object* x_160; +x_160 = lean_ctor_get(x_1, 1); +lean_inc(x_160); lean_dec(x_1); -x_1 = x_517; +x_1 = x_160; goto _start; } case 11: { -lean_object* x_519; lean_object* x_645; lean_object* x_646; lean_object* x_647; uint8_t x_648; -x_645 = lean_st_ref_get(x_5, x_6); -x_646 = lean_ctor_get(x_645, 0); -lean_inc(x_646); -x_647 = lean_ctor_get(x_646, 3); -lean_inc(x_647); -lean_dec(x_646); -x_648 = lean_ctor_get_uint8(x_647, sizeof(void*)*1); -lean_dec(x_647); -if (x_648 == 0) +lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_162 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; +x_173 = lean_st_ref_get(x_5, x_6); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_174, 3); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_ctor_get_uint8(x_175, sizeof(void*)*1); +lean_dec(x_175); +if (x_176 == 0) { -lean_object* x_649; -x_649 = lean_ctor_get(x_645, 1); -lean_inc(x_649); -lean_dec(x_645); -x_519 = x_649; -goto block_644; +lean_object* x_177; uint8_t x_178; +x_177 = lean_ctor_get(x_173, 1); +lean_inc(x_177); +lean_dec(x_173); +x_178 = 0; +x_163 = x_178; +x_164 = x_177; +goto block_172; } else { -lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; uint8_t x_654; -x_650 = lean_ctor_get(x_645, 1); -lean_inc(x_650); -lean_dec(x_645); -x_651 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4; -x_652 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_651, x_2, x_3, x_4, x_5, x_650); -x_653 = lean_ctor_get(x_652, 0); -lean_inc(x_653); -x_654 = lean_unbox(x_653); -lean_dec(x_653); -if (x_654 == 0) +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_179 = lean_ctor_get(x_173, 1); +lean_inc(x_179); +lean_dec(x_173); +x_180 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_162, x_2, x_3, x_4, x_5, x_179); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_unbox(x_181); +lean_dec(x_181); +x_163 = x_183; +x_164 = x_182; +goto block_172; +} +block_172: { -lean_object* x_655; -x_655 = lean_ctor_get(x_652, 1); -lean_inc(x_655); -lean_dec(x_652); -x_519 = x_655; -goto block_644; +if (x_163 == 0) +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_box(0); +x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_165, x_2, x_3, x_4, x_5, x_164); +return x_166; } else { -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -x_656 = lean_ctor_get(x_652, 1); -lean_inc(x_656); -lean_dec(x_652); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_inc(x_1); -x_657 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_657, 0, x_1); -x_658 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_651, x_657, x_2, x_3, x_4, x_5, x_656); -x_659 = lean_ctor_get(x_658, 1); -lean_inc(x_659); -lean_dec(x_658); -x_519 = x_659; -goto block_644; -} -} -block_644: -{ -switch (lean_obj_tag(x_1)) { -case 4: -{ -lean_object* x_520; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_520 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_520, 0, x_1); -lean_ctor_set(x_520, 1, x_519); -return x_520; -} -case 5: -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_521 = lean_ctor_get(x_1, 0); -lean_inc(x_521); -x_522 = l_Lean_Expr_getAppFn(x_521); -lean_dec(x_521); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_522); -x_523 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(x_522, x_2, x_3, x_4, x_5, x_519); -if (lean_obj_tag(x_523) == 0) -{ -lean_object* x_524; lean_object* x_525; uint8_t x_526; -x_524 = lean_ctor_get(x_523, 0); -lean_inc(x_524); -x_525 = lean_ctor_get(x_523, 1); -lean_inc(x_525); -lean_dec(x_523); -x_526 = l_Lean_Expr_isLambda(x_524); -if (x_526 == 0) -{ -lean_object* x_527; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_527 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_524, x_1, x_2, x_3, x_4, x_5, x_525); -if (lean_obj_tag(x_527) == 0) -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_527, 1); -lean_inc(x_529); -lean_dec(x_527); -if (lean_obj_tag(x_528) == 0) -{ -uint8_t x_605; -x_605 = lean_expr_eqv(x_522, x_524); -lean_dec(x_522); -if (x_605 == 0) -{ -lean_object* x_606; -x_606 = l_Lean_Expr_updateFn(x_1, x_524); -x_530 = x_606; -goto block_604; -} -else -{ -x_530 = x_1; -goto block_604; -} -} -else -{ -lean_object* x_607; -lean_dec(x_524); -lean_dec(x_522); -lean_dec(x_1); -x_607 = lean_ctor_get(x_528, 0); -lean_inc(x_607); -lean_dec(x_528); -x_1 = x_607; -x_6 = x_529; -goto _start; -} -block_604: -{ -lean_object* x_531; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_530); -x_531 = l_Lean_Meta_reduceMatcher_x3f(x_530, x_2, x_3, x_4, x_5, x_529); -if (lean_obj_tag(x_531) == 0) -{ -lean_object* x_532; -x_532 = lean_ctor_get(x_531, 0); -lean_inc(x_532); -switch (lean_obj_tag(x_532)) { -case 0: -{ -lean_object* x_533; lean_object* x_534; -lean_dec(x_530); -lean_dec(x_524); -x_533 = lean_ctor_get(x_531, 1); -lean_inc(x_533); -lean_dec(x_531); -x_534 = lean_ctor_get(x_532, 0); -lean_inc(x_534); -lean_dec(x_532); -x_1 = x_534; -x_6 = x_533; -goto _start; -} -case 2: -{ -if (lean_obj_tag(x_524) == 4) -{ -lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_536 = lean_ctor_get(x_531, 1); -lean_inc(x_536); -lean_dec(x_531); -x_537 = lean_ctor_get(x_524, 0); -lean_inc(x_537); -x_538 = lean_ctor_get(x_524, 1); -lean_inc(x_538); -lean_dec(x_524); -lean_inc(x_530); -x_539 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__2___boxed), 7, 1); -lean_closure_set(x_539, 0, x_530); -x_540 = l_Lean_Meta_getConst_x3f(x_537, x_2, x_3, x_4, x_5, x_536); -if (lean_obj_tag(x_540) == 0) -{ -lean_object* x_541; -x_541 = lean_ctor_get(x_540, 0); -lean_inc(x_541); -if (lean_obj_tag(x_541) == 0) -{ -uint8_t x_542; -lean_dec(x_539); -lean_dec(x_538); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_542 = !lean_is_exclusive(x_540); -if (x_542 == 0) -{ -lean_object* x_543; -x_543 = lean_ctor_get(x_540, 0); -lean_dec(x_543); -lean_ctor_set(x_540, 0, x_530); -return x_540; -} -else -{ -lean_object* x_544; lean_object* x_545; -x_544 = lean_ctor_get(x_540, 1); -lean_inc(x_544); -lean_dec(x_540); -x_545 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_545, 0, x_530); -lean_ctor_set(x_545, 1, x_544); -return x_545; -} -} -else -{ -lean_object* x_546; -x_546 = lean_ctor_get(x_541, 0); -lean_inc(x_546); -lean_dec(x_541); -switch (lean_obj_tag(x_546)) { -case 1: -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t x_551; -lean_dec(x_539); -x_547 = lean_ctor_get(x_540, 1); -lean_inc(x_547); -lean_dec(x_540); -x_548 = l_Lean_ConstantInfo_name(x_546); -x_549 = l_Lean_Meta_isAuxDef(x_548, x_2, x_3, x_4, x_5, x_547); -lean_dec(x_548); -x_550 = lean_ctor_get(x_549, 0); -lean_inc(x_550); -x_551 = lean_unbox(x_550); -lean_dec(x_550); -if (x_551 == 0) -{ -uint8_t x_552; -lean_dec(x_546); -lean_dec(x_538); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_552 = !lean_is_exclusive(x_549); -if (x_552 == 0) -{ -lean_object* x_553; -x_553 = lean_ctor_get(x_549, 0); -lean_dec(x_553); -lean_ctor_set(x_549, 0, x_530); -return x_549; -} -else -{ -lean_object* x_554; lean_object* x_555; -x_554 = lean_ctor_get(x_549, 1); -lean_inc(x_554); -lean_dec(x_549); -x_555 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_555, 0, x_530); -lean_ctor_set(x_555, 1, x_554); -return x_555; -} -} -else -{ -lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -x_556 = lean_ctor_get(x_549, 1); -lean_inc(x_556); -lean_dec(x_549); -x_557 = lean_unsigned_to_nat(0u); -x_558 = l_Lean_Expr_getAppNumArgsAux(x_530, x_557); -x_559 = lean_mk_empty_array_with_capacity(x_558); -lean_dec(x_558); -lean_inc(x_530); -x_560 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_530, x_559); -x_561 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__1(x_530, x_546, x_538, x_560, x_2, x_3, x_4, x_5, x_556); -lean_dec(x_560); -lean_dec(x_538); -lean_dec(x_546); -return x_561; -} -} -case 4: -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_562 = lean_ctor_get(x_540, 1); -lean_inc(x_562); -lean_dec(x_540); -x_563 = lean_ctor_get(x_546, 0); -lean_inc(x_563); -lean_dec(x_546); -x_564 = lean_unsigned_to_nat(0u); -x_565 = l_Lean_Expr_getAppNumArgsAux(x_530, x_564); -x_566 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_565); -x_567 = lean_mk_array(x_565, x_566); -x_568 = lean_unsigned_to_nat(1u); -x_569 = lean_nat_sub(x_565, x_568); -lean_dec(x_565); -x_570 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_530, x_567, x_569); -x_571 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_572 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_563, x_538, x_570, x_539, x_571, x_2, x_3, x_4, x_5, x_562); -lean_dec(x_570); -lean_dec(x_538); -lean_dec(x_563); -return x_572; -} -case 7: -{ -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; -x_573 = lean_ctor_get(x_540, 1); -lean_inc(x_573); -lean_dec(x_540); -x_574 = lean_ctor_get(x_546, 0); -lean_inc(x_574); -lean_dec(x_546); -x_575 = lean_unsigned_to_nat(0u); -x_576 = l_Lean_Expr_getAppNumArgsAux(x_530, x_575); -x_577 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___closed__1; -lean_inc(x_576); -x_578 = lean_mk_array(x_576, x_577); -x_579 = lean_unsigned_to_nat(1u); -x_580 = lean_nat_sub(x_576, x_579); -lean_dec(x_576); -x_581 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_530, x_578, x_580); -x_582 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7; -x_583 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_574, x_538, x_581, x_539, x_582, x_2, x_3, x_4, x_5, x_573); -lean_dec(x_581); -lean_dec(x_538); -return x_583; -} -default: -{ -uint8_t x_584; -lean_dec(x_546); -lean_dec(x_539); -lean_dec(x_538); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_584 = !lean_is_exclusive(x_540); -if (x_584 == 0) -{ -lean_object* x_585; -x_585 = lean_ctor_get(x_540, 0); -lean_dec(x_585); -lean_ctor_set(x_540, 0, x_530); -return x_540; -} -else -{ -lean_object* x_586; lean_object* x_587; -x_586 = lean_ctor_get(x_540, 1); -lean_inc(x_586); -lean_dec(x_540); -x_587 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_587, 0, x_530); -lean_ctor_set(x_587, 1, x_586); -return x_587; -} -} -} -} -} -else -{ -uint8_t x_588; -lean_dec(x_539); -lean_dec(x_538); -lean_dec(x_530); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_588 = !lean_is_exclusive(x_540); -if (x_588 == 0) -{ -return x_540; -} -else -{ -lean_object* x_589; lean_object* x_590; lean_object* x_591; -x_589 = lean_ctor_get(x_540, 0); -x_590 = lean_ctor_get(x_540, 1); -lean_inc(x_590); -lean_inc(x_589); -lean_dec(x_540); -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_589); -lean_ctor_set(x_591, 1, x_590); -return x_591; -} -} -} -else -{ -uint8_t x_592; -lean_dec(x_524); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_592 = !lean_is_exclusive(x_531); -if (x_592 == 0) -{ -lean_object* x_593; -x_593 = lean_ctor_get(x_531, 0); -lean_dec(x_593); -lean_ctor_set(x_531, 0, x_530); -return x_531; -} -else -{ -lean_object* x_594; lean_object* x_595; -x_594 = lean_ctor_get(x_531, 1); -lean_inc(x_594); -lean_dec(x_531); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_530); -lean_ctor_set(x_595, 1, x_594); -return x_595; +x_167 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_167, 0, x_1); +x_168 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_162, x_167, x_2, x_3, x_4, x_5, x_164); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_169, x_2, x_3, x_4, x_5, x_170); +lean_dec(x_169); +return x_171; } } } default: { -uint8_t x_596; -lean_dec(x_532); -lean_dec(x_524); +lean_object* x_184; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_596 = !lean_is_exclusive(x_531); -if (x_596 == 0) -{ -lean_object* x_597; -x_597 = lean_ctor_get(x_531, 0); -lean_dec(x_597); -lean_ctor_set(x_531, 0, x_530); -return x_531; -} -else -{ -lean_object* x_598; lean_object* x_599; -x_598 = lean_ctor_get(x_531, 1); -lean_inc(x_598); -lean_dec(x_531); -x_599 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_599, 0, x_530); -lean_ctor_set(x_599, 1, x_598); -return x_599; -} -} -} -} -else -{ -uint8_t x_600; -lean_dec(x_530); -lean_dec(x_524); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_600 = !lean_is_exclusive(x_531); -if (x_600 == 0) -{ -return x_531; -} -else -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; -x_601 = lean_ctor_get(x_531, 0); -x_602 = lean_ctor_get(x_531, 1); -lean_inc(x_602); -lean_inc(x_601); -lean_dec(x_531); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_601); -lean_ctor_set(x_603, 1, x_602); -return x_603; -} -} -} -} -else -{ -uint8_t x_609; -lean_dec(x_524); -lean_dec(x_522); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_609 = !lean_is_exclusive(x_527); -if (x_609 == 0) -{ -return x_527; -} -else -{ -lean_object* x_610; lean_object* x_611; lean_object* x_612; -x_610 = lean_ctor_get(x_527, 0); -x_611 = lean_ctor_get(x_527, 1); -lean_inc(x_611); -lean_inc(x_610); -lean_dec(x_527); -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_610); -lean_ctor_set(x_612, 1, x_611); -return x_612; -} -} -} -else -{ -lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; -lean_dec(x_522); -x_613 = lean_unsigned_to_nat(0u); -x_614 = l_Lean_Expr_getAppNumArgsAux(x_1, x_613); -x_615 = lean_mk_empty_array_with_capacity(x_614); -lean_dec(x_614); -x_616 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_615); -x_617 = l_Lean_Expr_betaRev(x_524, x_616); -lean_dec(x_616); -lean_dec(x_524); -x_1 = x_617; -x_6 = x_525; -goto _start; -} -} -else -{ -uint8_t x_619; -lean_dec(x_522); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_619 = !lean_is_exclusive(x_523); -if (x_619 == 0) -{ -return x_523; -} -else -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; -x_620 = lean_ctor_get(x_523, 0); -x_621 = lean_ctor_get(x_523, 1); -lean_inc(x_621); -lean_inc(x_620); -lean_dec(x_523); -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_620); -lean_ctor_set(x_622, 1, x_621); -return x_622; -} -} -} -case 8: -{ -lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_623 = lean_ctor_get(x_1, 2); -lean_inc(x_623); -x_624 = lean_ctor_get(x_1, 3); -lean_inc(x_624); -lean_dec(x_1); -x_625 = lean_expr_instantiate1(x_624, x_623); -lean_dec(x_623); -lean_dec(x_624); -x_1 = x_625; -x_6 = x_519; -goto _start; -} -case 11: -{ -lean_object* x_627; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_627 = l_Lean_Meta_reduceProj_x3f(x_1, x_2, x_3, x_4, x_5, x_519); -if (lean_obj_tag(x_627) == 0) -{ -lean_object* x_628; -x_628 = lean_ctor_get(x_627, 0); -lean_inc(x_628); -if (lean_obj_tag(x_628) == 0) -{ -uint8_t x_629; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_629 = !lean_is_exclusive(x_627); -if (x_629 == 0) -{ -lean_object* x_630; -x_630 = lean_ctor_get(x_627, 0); -lean_dec(x_630); -lean_ctor_set(x_627, 0, x_1); -return x_627; -} -else -{ -lean_object* x_631; lean_object* x_632; -x_631 = lean_ctor_get(x_627, 1); -lean_inc(x_631); -lean_dec(x_627); -x_632 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_632, 0, x_1); -lean_ctor_set(x_632, 1, x_631); -return x_632; -} -} -else -{ -lean_object* x_633; lean_object* x_634; -lean_dec(x_1); -x_633 = lean_ctor_get(x_627, 1); -lean_inc(x_633); -lean_dec(x_627); -x_634 = lean_ctor_get(x_628, 0); -lean_inc(x_634); -lean_dec(x_628); -x_1 = x_634; -x_6 = x_633; -goto _start; -} -} -else -{ -uint8_t x_636; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_636 = !lean_is_exclusive(x_627); -if (x_636 == 0) -{ -return x_627; -} -else -{ -lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_637 = lean_ctor_get(x_627, 0); -x_638 = lean_ctor_get(x_627, 1); -lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_627); -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_637); -lean_ctor_set(x_639, 1, x_638); -return x_639; -} -} -} -default: -{ -lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; -lean_dec(x_1); -x_640 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_641 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6; -x_642 = lean_panic_fn(x_640, x_641); -x_643 = lean_apply_5(x_642, x_2, x_3, x_4, x_5, x_519); -return x_643; -} -} -} -} -default: -{ -lean_object* x_660; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_660 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_660, 0, x_1); -lean_ctor_set(x_660, 1, x_6); -return x_660; +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_1); +lean_ctor_set(x_184, 1, x_6); +return x_184; } } } @@ -11346,6 +9499,15 @@ lean_dec(x_2); return x_8; } } +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfUntilIdRhs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14127,7 +12289,7 @@ x_13 = l_Lean_Meta_unfoldDefinition___closed__3; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_14, x_2, x_3, x_4, x_5, x_9); +x_15 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_14, x_2, x_3, x_4, x_5, x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -18484,6 +16646,65 @@ return x_89; } } } +lean_object* l_Lean_Meta_reduceBinNatOp___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_apply_2(x_1, x_8, x_8); +x_10 = l_Lean_mkNatLit(x_9); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, 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; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_apply_2(x_1, x_9, x_2); +x_11 = l_Lean_mkNatLit(x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, 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_8); +return x_13; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_apply_2(x_1, x_2, x_9); +x_11 = l_Lean_mkNatLit(x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, 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_8); +return x_13; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_apply_2(x_1, x_2, x_3); +x_11 = l_Lean_mkNatLit(x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, 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_Lean_Meta_reduceBinNatOp___closed__1() { _start: { @@ -18730,171 +16951,248 @@ x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); if (lean_obj_tag(x_29) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_25, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_31 = x_25; -} else { - lean_dec_ref(x_25); - x_31 = lean_box(0); -} -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_dec(x_28); -x_34 = lean_string_dec_eq(x_33, x_19); -lean_dec(x_33); -if (x_34 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +x_32 = lean_ctor_get(x_25, 0); lean_dec(x_32); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_dec(x_28); +x_35 = lean_string_dec_eq(x_34, x_19); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_33); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_35 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_31; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_30); -return x_36; +x_36 = lean_box(0); +lean_ctor_set(x_25, 0, x_36); +return x_25; } else { uint8_t x_37; -x_37 = lean_string_dec_eq(x_32, x_22); -lean_dec(x_32); +x_37 = lean_string_dec_eq(x_33, x_22); +lean_dec(x_33); if (x_37 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_38; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_38 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_31; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_30); -return x_39; +lean_ctor_set(x_25, 0, x_38); +return x_25; } else { -uint8_t x_40; lean_object* x_41; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_63 = lean_st_ref_get(x_7, x_30); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*1); -lean_dec(x_65); -if (x_66 == 0) +lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_free_object(x_25); +x_39 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_50 = lean_st_ref_get(x_7, x_31); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 3); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_ctor_get_uint8(x_52, sizeof(void*)*1); +lean_dec(x_52); +if (x_53 == 0) { -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = 0; -x_40 = x_68; -x_41 = x_67; -goto block_62; +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +lean_dec(x_50); +x_55 = 0; +x_40 = x_55; +x_41 = x_54; +goto block_49; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_71 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_70, x_4, x_5, x_6, x_7, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_40 = x_74; -x_41 = x_73; -goto block_62; +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_50, 1); +lean_inc(x_56); +lean_dec(x_50); +x_57 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_39, x_4, x_5, x_6, x_7, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_unbox(x_58); +lean_dec(x_58); +x_40 = x_60; +x_41 = x_59; +goto block_49; } -block_62: +block_49: { if (x_40 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_object* x_42; lean_object* x_43; +x_42 = lean_box(0); +x_43 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_42, x_4, x_5, x_6, x_7, x_41); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_apply_2(x_1, x_42, x_42); -x_44 = l_Lean_mkNatLit(x_43); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -if (lean_is_scalar(x_31)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_31; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_41); -return x_46; +return x_43; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_31); -x_47 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_48 = l_Lean_Meta_reduceBinNatOp___closed__13; -x_49 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_47, x_48, x_4, x_5, x_6, x_7, x_41); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean_Meta_reduceBinNatOp___closed__13; +x_45 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_39, x_44, x_4, x_5, x_6, x_7, x_41); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_46, x_4, x_5, x_6, x_7, x_47); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -x_52 = lean_unsigned_to_nat(0u); -x_53 = lean_apply_2(x_1, x_52, x_52); -x_54 = l_Lean_mkNatLit(x_53); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_49, 0, x_55); -return x_49; +lean_dec(x_46); +return x_48; +} +} +} +} } 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; -x_56 = lean_ctor_get(x_49, 1); -lean_inc(x_56); -lean_dec(x_49); -x_57 = lean_unsigned_to_nat(0u); -x_58 = lean_apply_2(x_1, x_57, x_57); -x_59 = l_Lean_mkNatLit(x_58); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, 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_56); -return x_61; +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_25, 1); +lean_inc(x_61); +lean_dec(x_25); +x_62 = lean_ctor_get(x_27, 1); +lean_inc(x_62); +lean_dec(x_27); +x_63 = lean_ctor_get(x_28, 1); +lean_inc(x_63); +lean_dec(x_28); +x_64 = lean_string_dec_eq(x_63, x_19); +lean_dec(x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_62); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_61); +return x_66; +} +else +{ +uint8_t x_67; +x_67 = lean_string_dec_eq(x_62, x_22); +lean_dec(x_62); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +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_61); +return x_69; +} +else +{ +lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_70 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_81 = lean_st_ref_get(x_7, x_61); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_82, 3); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_ctor_get_uint8(x_83, sizeof(void*)*1); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +lean_dec(x_81); +x_86 = 0; +x_71 = x_86; +x_72 = x_85; +goto block_80; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_87 = lean_ctor_get(x_81, 1); +lean_inc(x_87); +lean_dec(x_81); +x_88 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_70, x_4, x_5, x_6, x_7, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_unbox(x_89); +lean_dec(x_89); +x_71 = x_91; +x_72 = x_90; +goto block_80; +} +block_80: +{ +if (x_71 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_box(0); +x_74 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_73, x_4, x_5, x_6, x_7, x_72); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = l_Lean_Meta_reduceBinNatOp___closed__13; +x_76 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_70, x_75, x_4, x_5, x_6, x_7, x_72); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_77, x_4, x_5, x_6, x_7, x_78); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_77); +return x_79; } } } @@ -18903,7 +17201,7 @@ return x_61; } else { -uint8_t x_75; +uint8_t x_92; lean_dec(x_29); lean_dec(x_28); lean_dec(x_27); @@ -18912,33 +17210,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_75 = !lean_is_exclusive(x_25); -if (x_75 == 0) +x_92 = !lean_is_exclusive(x_25); +if (x_92 == 0) { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_25, 0); -lean_dec(x_76); -x_77 = lean_box(0); -lean_ctor_set(x_25, 0, x_77); +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_25, 0); +lean_dec(x_93); +x_94 = lean_box(0); +lean_ctor_set(x_25, 0, x_94); return x_25; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_25, 1); -lean_inc(x_78); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_25, 1); +lean_inc(x_95); lean_dec(x_25); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; +x_96 = lean_box(0); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +return x_97; } } } else { -uint8_t x_81; +uint8_t x_98; lean_dec(x_28); lean_dec(x_27); lean_dec(x_7); @@ -18946,541 +17244,474 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_81 = !lean_is_exclusive(x_25); -if (x_81 == 0) +x_98 = !lean_is_exclusive(x_25); +if (x_98 == 0) { -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_25, 0); -lean_dec(x_82); -x_83 = lean_box(0); -lean_ctor_set(x_25, 0, x_83); +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_25, 0); +lean_dec(x_99); +x_100 = lean_box(0); +lean_ctor_set(x_25, 0, x_100); return x_25; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_25, 1); -lean_inc(x_84); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_25, 1); +lean_inc(x_101); lean_dec(x_25); -x_85 = lean_box(0); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -return x_86; +x_102 = lean_box(0); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +return x_103; } } } else { -uint8_t x_87; +uint8_t x_104; lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_87 = !lean_is_exclusive(x_25); -if (x_87 == 0) +x_104 = !lean_is_exclusive(x_25); +if (x_104 == 0) { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_25, 0); -lean_dec(x_88); -x_89 = lean_box(0); -lean_ctor_set(x_25, 0, x_89); +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_25, 0); +lean_dec(x_105); +x_106 = lean_box(0); +lean_ctor_set(x_25, 0, x_106); return x_25; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_25, 1); -lean_inc(x_90); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_25, 1); +lean_inc(x_107); lean_dec(x_25); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -return x_92; +x_108 = lean_box(0); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +return x_109; } } } case 9: { -lean_object* x_93; -x_93 = lean_ctor_get(x_26, 0); -lean_inc(x_93); +lean_object* x_110; +x_110 = lean_ctor_get(x_26, 0); +lean_inc(x_110); lean_dec(x_26); -if (lean_obj_tag(x_93) == 0) +if (lean_obj_tag(x_110) == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_94 = lean_ctor_get(x_25, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_95 = x_25; -} else { - lean_dec_ref(x_25); - x_95 = lean_box(0); -} -x_96 = lean_ctor_get(x_93, 0); -lean_inc(x_96); -lean_dec(x_93); -x_125 = lean_st_ref_get(x_7, x_94); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_126, 3); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_ctor_get_uint8(x_127, sizeof(void*)*1); -lean_dec(x_127); -if (x_128 == 0) -{ -lean_object* x_129; uint8_t x_130; -x_129 = lean_ctor_get(x_125, 1); -lean_inc(x_129); -lean_dec(x_125); -x_130 = 0; -x_97 = x_130; -x_98 = x_129; -goto block_124; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_125, 1); +lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_111 = lean_ctor_get(x_25, 1); +lean_inc(x_111); +lean_dec(x_25); +x_112 = lean_ctor_get(x_110, 0); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_129 = lean_st_ref_get(x_7, x_111); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_130, 3); lean_inc(x_131); -lean_dec(x_125); -x_132 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_133 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_132, x_4, x_5, x_6, x_7, x_131); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); +lean_dec(x_130); +x_132 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +lean_dec(x_131); +if (x_132 == 0) +{ +lean_object* x_133; uint8_t x_134; +x_133 = lean_ctor_get(x_129, 1); +lean_inc(x_133); +lean_dec(x_129); +x_134 = 0; +x_114 = x_134; +x_115 = x_133; +goto block_128; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_135 = lean_ctor_get(x_129, 1); lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_unbox(x_134); -lean_dec(x_134); -x_97 = x_136; -x_98 = x_135; -goto block_124; +lean_dec(x_129); +x_136 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_113, x_4, x_5, x_6, x_7, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = lean_unbox(x_137); +lean_dec(x_137); +x_114 = x_139; +x_115 = x_138; +goto block_128; } -block_124: +block_128: { -if (x_97 == 0) +if (x_114 == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_object* x_116; lean_object* x_117; +x_116 = lean_box(0); +x_117 = l_Lean_Meta_reduceBinNatOp___lambda__2(x_1, x_112, x_116, x_4, x_5, x_6, x_7, x_115); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_99 = lean_unsigned_to_nat(0u); -x_100 = lean_apply_2(x_1, x_99, x_96); -x_101 = l_Lean_mkNatLit(x_100); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_101); -if (lean_is_scalar(x_95)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_95; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_98); -return x_103; +return x_117; } else { -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; uint8_t x_112; -lean_dec(x_95); -lean_inc(x_96); -x_104 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_96); -x_105 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_106 = l_Lean_Meta_reduceBinNatOp___closed__11; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = l_Lean_Meta_unfoldDefinition___closed__3; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_111 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_110, x_109, x_4, x_5, x_6, x_7, x_98); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_inc(x_112); +x_118 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_112); +x_119 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_120 = l_Lean_Meta_reduceBinNatOp___closed__11; +x_121 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = l_Lean_Meta_unfoldDefinition___closed__3; +x_123 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_113, x_123, x_4, x_5, x_6, x_7, x_115); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = l_Lean_Meta_reduceBinNatOp___lambda__2(x_1, x_112, x_125, x_4, x_5, x_6, x_7, x_126); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_112 = !lean_is_exclusive(x_111); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = lean_ctor_get(x_111, 0); -lean_dec(x_113); -x_114 = lean_unsigned_to_nat(0u); -x_115 = lean_apply_2(x_1, x_114, x_96); -x_116 = l_Lean_mkNatLit(x_115); -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_111, 0, x_117); -return x_111; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_118 = lean_ctor_get(x_111, 1); -lean_inc(x_118); -lean_dec(x_111); -x_119 = lean_unsigned_to_nat(0u); -x_120 = lean_apply_2(x_1, x_119, x_96); -x_121 = l_Lean_mkNatLit(x_120); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_118); -return x_123; -} +lean_dec(x_125); +return x_127; } } } else { -uint8_t x_137; -lean_dec(x_93); +uint8_t x_140; +lean_dec(x_110); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_137 = !lean_is_exclusive(x_25); -if (x_137 == 0) +x_140 = !lean_is_exclusive(x_25); +if (x_140 == 0) { -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_25, 0); -lean_dec(x_138); -x_139 = lean_box(0); -lean_ctor_set(x_25, 0, x_139); +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_25, 0); +lean_dec(x_141); +x_142 = lean_box(0); +lean_ctor_set(x_25, 0, x_142); return x_25; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_25, 1); -lean_inc(x_140); +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_25, 1); +lean_inc(x_143); lean_dec(x_25); -x_141 = lean_box(0); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -return x_142; +x_144 = lean_box(0); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +return x_145; } } } default: { -uint8_t x_143; +uint8_t x_146; lean_dec(x_26); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_143 = !lean_is_exclusive(x_25); -if (x_143 == 0) +x_146 = !lean_is_exclusive(x_25); +if (x_146 == 0) { -lean_object* x_144; lean_object* x_145; -x_144 = lean_ctor_get(x_25, 0); -lean_dec(x_144); -x_145 = lean_box(0); -lean_ctor_set(x_25, 0, x_145); +lean_object* x_147; lean_object* x_148; +x_147 = lean_ctor_get(x_25, 0); +lean_dec(x_147); +x_148 = lean_box(0); +lean_ctor_set(x_25, 0, x_148); return x_25; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_25, 1); -lean_inc(x_146); +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_25, 1); +lean_inc(x_149); lean_dec(x_25); -x_147 = lean_box(0); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -return x_148; +x_150 = lean_box(0); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +return x_151; } } } } else { -uint8_t x_149; +uint8_t x_152; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_149 = !lean_is_exclusive(x_25); -if (x_149 == 0) +x_152 = !lean_is_exclusive(x_25); +if (x_152 == 0) { return x_25; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_25, 0); -x_151 = lean_ctor_get(x_25, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_25); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; -} -} -} -} -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -x_153 = lean_ctor_get(x_9, 1); -lean_inc(x_153); -lean_dec(x_9); -x_154 = lean_ctor_get(x_11, 1); +lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_153 = lean_ctor_get(x_25, 0); +x_154 = lean_ctor_get(x_25, 1); lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_25); +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; +} +} +} +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_156 = lean_ctor_get(x_9, 1); +lean_inc(x_156); +lean_dec(x_9); +x_157 = lean_ctor_get(x_11, 1); +lean_inc(x_157); lean_dec(x_11); -x_155 = lean_ctor_get(x_12, 1); -lean_inc(x_155); +x_158 = lean_ctor_get(x_12, 1); +lean_inc(x_158); lean_dec(x_12); -x_156 = l_Lean_Meta_toCtorIfLit___closed__1; -x_157 = lean_string_dec_eq(x_155, x_156); -lean_dec(x_155); -if (x_157 == 0) +x_159 = l_Lean_Meta_toCtorIfLit___closed__1; +x_160 = lean_string_dec_eq(x_158, x_159); +lean_dec(x_158); +if (x_160 == 0) { -lean_object* x_158; lean_object* x_159; -lean_dec(x_154); +lean_object* x_161; lean_object* x_162; +lean_dec(x_157); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_158 = lean_box(0); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_153); -return x_159; +x_161 = lean_box(0); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_156); +return x_162; } else { -lean_object* x_160; uint8_t x_161; -x_160 = l_Lean_Meta_toCtorIfLit___closed__6; -x_161 = lean_string_dec_eq(x_154, x_160); -lean_dec(x_154); -if (x_161 == 0) +lean_object* x_163; uint8_t x_164; +x_163 = l_Lean_Meta_toCtorIfLit___closed__6; +x_164 = lean_string_dec_eq(x_157, x_163); +lean_dec(x_157); +if (x_164 == 0) { -lean_object* x_162; lean_object* x_163; +lean_object* x_165; lean_object* x_166; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_162 = lean_box(0); -x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_153); -return x_163; +x_165 = lean_box(0); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_156); +return x_166; } else { -lean_object* x_164; +lean_object* x_167; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_164 = l_Lean_Meta_whnf(x_3, x_4, x_5, x_6, x_7, x_153); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -switch (lean_obj_tag(x_165)) { -case 4: -{ -lean_object* x_166; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -lean_dec(x_165); -if (lean_obj_tag(x_166) == 1) -{ -lean_object* x_167; -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -if (lean_obj_tag(x_167) == 1) +x_167 = l_Lean_Meta_whnf(x_3, x_4, x_5, x_6, x_7, x_156); +if (lean_obj_tag(x_167) == 0) { lean_object* x_168; x_168 = lean_ctor_get(x_167, 0); lean_inc(x_168); -if (lean_obj_tag(x_168) == 0) +switch (lean_obj_tag(x_168)) { +case 4: { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_169 = lean_ctor_get(x_164, 1); +lean_object* x_169; +x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_170 = x_164; -} else { - lean_dec_ref(x_164); - x_170 = lean_box(0); -} -x_171 = lean_ctor_get(x_166, 1); +lean_dec(x_168); +if (lean_obj_tag(x_169) == 1) +{ +lean_object* x_170; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +if (lean_obj_tag(x_170) == 1) +{ +lean_object* x_171; +x_171 = lean_ctor_get(x_170, 0); lean_inc(x_171); -lean_dec(x_166); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; x_172 = lean_ctor_get(x_167, 1); lean_inc(x_172); -lean_dec(x_167); -x_173 = lean_string_dec_eq(x_172, x_156); -lean_dec(x_172); -if (x_173 == 0) -{ -lean_object* x_174; lean_object* x_175; -lean_dec(x_171); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_174 = lean_box(0); -if (lean_is_scalar(x_170)) { - x_175 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_173 = x_167; } else { - x_175 = x_170; + lean_dec_ref(x_167); + x_173 = lean_box(0); } -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_169); -return x_175; -} -else -{ -uint8_t x_176; -x_176 = lean_string_dec_eq(x_171, x_160); -lean_dec(x_171); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +x_176 = lean_string_dec_eq(x_175, x_159); +lean_dec(x_175); if (x_176 == 0) { lean_object* x_177; lean_object* x_178; +lean_dec(x_174); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_177 = lean_box(0); -if (lean_is_scalar(x_170)) { +if (lean_is_scalar(x_173)) { x_178 = lean_alloc_ctor(0, 2, 0); } else { - x_178 = x_170; + x_178 = x_173; } lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_169); +lean_ctor_set(x_178, 1, x_172); return x_178; } else { -uint8_t x_179; lean_object* x_180; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; -x_197 = lean_st_ref_get(x_7, x_169); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_198, 3); -lean_inc(x_199); -lean_dec(x_198); -x_200 = lean_ctor_get_uint8(x_199, sizeof(void*)*1); -lean_dec(x_199); -if (x_200 == 0) -{ -lean_object* x_201; uint8_t x_202; -x_201 = lean_ctor_get(x_197, 1); -lean_inc(x_201); -lean_dec(x_197); -x_202 = 0; -x_179 = x_202; -x_180 = x_201; -goto block_196; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -x_203 = lean_ctor_get(x_197, 1); -lean_inc(x_203); -lean_dec(x_197); -x_204 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_205 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_204, x_4, x_5, x_6, x_7, x_203); -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 = lean_unbox(x_206); -lean_dec(x_206); -x_179 = x_208; -x_180 = x_207; -goto block_196; -} -block_196: -{ +uint8_t x_179; +x_179 = lean_string_dec_eq(x_174, x_163); +lean_dec(x_174); if (x_179 == 0) { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_object* x_180; lean_object* x_181; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_181 = lean_unsigned_to_nat(0u); -x_182 = lean_apply_2(x_1, x_181, x_181); -x_183 = l_Lean_mkNatLit(x_182); -x_184 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_184, 0, x_183); -if (lean_is_scalar(x_170)) { - x_185 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_1); +x_180 = lean_box(0); +if (lean_is_scalar(x_173)) { + x_181 = lean_alloc_ctor(0, 2, 0); } else { - x_185 = x_170; + x_181 = x_173; } -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_180); -return x_185; +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_172); +return x_181; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_dec(x_170); -x_186 = l_Lean_Meta_reduceBinNatOp___closed__5; +lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +lean_dec(x_173); +x_182 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_193 = lean_st_ref_get(x_7, x_172); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_194, 3); +lean_inc(x_195); +lean_dec(x_194); +x_196 = lean_ctor_get_uint8(x_195, sizeof(void*)*1); +lean_dec(x_195); +if (x_196 == 0) +{ +lean_object* x_197; uint8_t x_198; +x_197 = lean_ctor_get(x_193, 1); +lean_inc(x_197); +lean_dec(x_193); +x_198 = 0; +x_183 = x_198; +x_184 = x_197; +goto block_192; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_199 = lean_ctor_get(x_193, 1); +lean_inc(x_199); +lean_dec(x_193); +x_200 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_182, x_4, x_5, x_6, x_7, x_199); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_183 = x_203; +x_184 = x_202; +goto block_192; +} +block_192: +{ +if (x_183 == 0) +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_box(0); +x_186 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_185, x_4, x_5, x_6, x_7, x_184); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_186; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; x_187 = l_Lean_Meta_reduceBinNatOp___closed__13; -x_188 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_186, x_187, x_4, x_5, x_6, x_7, x_180); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_189 = lean_ctor_get(x_188, 1); +x_188 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_182, x_187, x_4, x_5, x_6, x_7, x_184); +x_189 = lean_ctor_get(x_188, 0); lean_inc(x_189); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_190 = x_188; -} else { - lean_dec_ref(x_188); - x_190 = lean_box(0); -} -x_191 = lean_unsigned_to_nat(0u); -x_192 = lean_apply_2(x_1, x_191, x_191); -x_193 = l_Lean_mkNatLit(x_192); -x_194 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_194, 0, x_193); -if (lean_is_scalar(x_190)) { - x_195 = lean_alloc_ctor(0, 2, 0); -} else { - x_195 = x_190; -} -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_189); -return x_195; +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec(x_188); +x_191 = l_Lean_Meta_reduceBinNatOp___lambda__1(x_1, x_189, x_4, x_5, x_6, x_7, x_190); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_189); +return x_191; } } } @@ -19488,317 +17719,283 @@ return x_195; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_166); +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_171); +lean_dec(x_170); +lean_dec(x_169); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_209 = lean_ctor_get(x_164, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_210 = x_164; +x_204 = lean_ctor_get(x_167, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_205 = x_167; } else { - lean_dec_ref(x_164); - x_210 = lean_box(0); + lean_dec_ref(x_167); + x_205 = lean_box(0); } -x_211 = lean_box(0); -if (lean_is_scalar(x_210)) { - x_212 = lean_alloc_ctor(0, 2, 0); +x_206 = lean_box(0); +if (lean_is_scalar(x_205)) { + x_207 = lean_alloc_ctor(0, 2, 0); } else { - x_212 = x_210; + x_207 = x_205; } -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_209); -return x_212; +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_204); +return x_207; } } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_167); -lean_dec(x_166); +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_170); +lean_dec(x_169); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_213 = lean_ctor_get(x_164, 1); -lean_inc(x_213); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_214 = x_164; +x_208 = lean_ctor_get(x_167, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_209 = x_167; } else { - lean_dec_ref(x_164); - x_214 = lean_box(0); + lean_dec_ref(x_167); + x_209 = lean_box(0); } -x_215 = lean_box(0); -if (lean_is_scalar(x_214)) { - x_216 = lean_alloc_ctor(0, 2, 0); +x_210 = lean_box(0); +if (lean_is_scalar(x_209)) { + x_211 = lean_alloc_ctor(0, 2, 0); } else { - x_216 = x_214; + x_211 = x_209; } -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_213); -return x_216; +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_208); +return x_211; } } else { -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_dec(x_166); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_169); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_217 = lean_ctor_get(x_164, 1); -lean_inc(x_217); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_218 = x_164; +x_212 = lean_ctor_get(x_167, 1); +lean_inc(x_212); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_213 = x_167; } else { - lean_dec_ref(x_164); - x_218 = lean_box(0); + lean_dec_ref(x_167); + x_213 = lean_box(0); } -x_219 = lean_box(0); -if (lean_is_scalar(x_218)) { - x_220 = lean_alloc_ctor(0, 2, 0); +x_214 = lean_box(0); +if (lean_is_scalar(x_213)) { + x_215 = lean_alloc_ctor(0, 2, 0); } else { - x_220 = x_218; + x_215 = x_213; } -lean_ctor_set(x_220, 0, x_219); -lean_ctor_set(x_220, 1, x_217); -return x_220; +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_212); +return x_215; } } case 9: { -lean_object* x_221; -x_221 = lean_ctor_get(x_165, 0); -lean_inc(x_221); -lean_dec(x_165); -if (lean_obj_tag(x_221) == 0) +lean_object* x_216; +x_216 = lean_ctor_get(x_168, 0); +lean_inc(x_216); +lean_dec(x_168); +if (lean_obj_tag(x_216) == 0) { -lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; -x_222 = lean_ctor_get(x_164, 1); -lean_inc(x_222); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_223 = x_164; -} else { - lean_dec_ref(x_164); - x_223 = lean_box(0); -} -x_224 = lean_ctor_get(x_221, 0); -lean_inc(x_224); -lean_dec(x_221); -x_248 = lean_st_ref_get(x_7, x_222); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_249, 3); -lean_inc(x_250); -lean_dec(x_249); -x_251 = lean_ctor_get_uint8(x_250, sizeof(void*)*1); -lean_dec(x_250); -if (x_251 == 0) +lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; +x_217 = lean_ctor_get(x_167, 1); +lean_inc(x_217); +lean_dec(x_167); +x_218 = lean_ctor_get(x_216, 0); +lean_inc(x_218); +lean_dec(x_216); +x_219 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_235 = lean_st_ref_get(x_7, x_217); +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_236, 3); +lean_inc(x_237); +lean_dec(x_236); +x_238 = lean_ctor_get_uint8(x_237, sizeof(void*)*1); +lean_dec(x_237); +if (x_238 == 0) { -lean_object* x_252; uint8_t x_253; -x_252 = lean_ctor_get(x_248, 1); -lean_inc(x_252); -lean_dec(x_248); -x_253 = 0; -x_225 = x_253; -x_226 = x_252; -goto block_247; +lean_object* x_239; uint8_t x_240; +x_239 = lean_ctor_get(x_235, 1); +lean_inc(x_239); +lean_dec(x_235); +x_240 = 0; +x_220 = x_240; +x_221 = x_239; +goto block_234; } else { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; -x_254 = lean_ctor_get(x_248, 1); -lean_inc(x_254); -lean_dec(x_248); -x_255 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_256 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_255, x_4, x_5, x_6, x_7, x_254); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_unbox(x_257); -lean_dec(x_257); -x_225 = x_259; -x_226 = x_258; -goto block_247; +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_241 = lean_ctor_get(x_235, 1); +lean_inc(x_241); +lean_dec(x_235); +x_242 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_219, x_4, x_5, x_6, x_7, x_241); +x_243 = lean_ctor_get(x_242, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_242, 1); +lean_inc(x_244); +lean_dec(x_242); +x_245 = lean_unbox(x_243); +lean_dec(x_243); +x_220 = x_245; +x_221 = x_244; +goto block_234; } -block_247: +block_234: { -if (x_225 == 0) +if (x_220 == 0) { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +lean_object* x_222; lean_object* x_223; +x_222 = lean_box(0); +x_223 = l_Lean_Meta_reduceBinNatOp___lambda__2(x_1, x_218, x_222, x_4, x_5, x_6, x_7, x_221); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_227 = lean_unsigned_to_nat(0u); -x_228 = lean_apply_2(x_1, x_227, x_224); -x_229 = l_Lean_mkNatLit(x_228); -x_230 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_230, 0, x_229); -if (lean_is_scalar(x_223)) { - x_231 = lean_alloc_ctor(0, 2, 0); -} else { - x_231 = x_223; -} -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_226); -return x_231; +return x_223; } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_223); -lean_inc(x_224); -x_232 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_224); -x_233 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_233, 0, x_232); -x_234 = l_Lean_Meta_reduceBinNatOp___closed__11; -x_235 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l_Lean_Meta_unfoldDefinition___closed__3; -x_237 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_239 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_238, x_237, x_4, x_5, x_6, x_7, x_226); +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_inc(x_218); +x_224 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_218); +x_225 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = l_Lean_Meta_reduceBinNatOp___closed__11; +x_227 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_225); +x_228 = l_Lean_Meta_unfoldDefinition___closed__3; +x_229 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_229, 0, x_227); +lean_ctor_set(x_229, 1, x_228); +x_230 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_219, x_229, x_4, x_5, x_6, x_7, x_221); +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec(x_230); +x_233 = l_Lean_Meta_reduceBinNatOp___lambda__2(x_1, x_218, x_231, x_4, x_5, x_6, x_7, x_232); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_241 = x_239; -} else { - lean_dec_ref(x_239); - x_241 = lean_box(0); -} -x_242 = lean_unsigned_to_nat(0u); -x_243 = lean_apply_2(x_1, x_242, x_224); -x_244 = l_Lean_mkNatLit(x_243); -x_245 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_245, 0, x_244); -if (lean_is_scalar(x_241)) { - x_246 = lean_alloc_ctor(0, 2, 0); -} else { - x_246 = x_241; -} -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_240); -return x_246; +lean_dec(x_231); +return x_233; } } } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -lean_dec(x_221); +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_216); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_260 = lean_ctor_get(x_164, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_261 = x_164; +x_246 = lean_ctor_get(x_167, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_247 = x_167; } else { - lean_dec_ref(x_164); - x_261 = lean_box(0); + lean_dec_ref(x_167); + x_247 = lean_box(0); } -x_262 = lean_box(0); -if (lean_is_scalar(x_261)) { - x_263 = lean_alloc_ctor(0, 2, 0); +x_248 = lean_box(0); +if (lean_is_scalar(x_247)) { + x_249 = lean_alloc_ctor(0, 2, 0); } else { - x_263 = x_261; + x_249 = x_247; } -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_260); -return x_263; +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_246); +return x_249; } } default: { -lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -lean_dec(x_165); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_168); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_264 = lean_ctor_get(x_164, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_265 = x_164; +x_250 = lean_ctor_get(x_167, 1); +lean_inc(x_250); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_251 = x_167; } else { - lean_dec_ref(x_164); - x_265 = lean_box(0); + lean_dec_ref(x_167); + x_251 = lean_box(0); } -x_266 = lean_box(0); -if (lean_is_scalar(x_265)) { - x_267 = lean_alloc_ctor(0, 2, 0); +x_252 = lean_box(0); +if (lean_is_scalar(x_251)) { + x_253 = lean_alloc_ctor(0, 2, 0); } else { - x_267 = x_265; + x_253 = x_251; } -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_264); -return x_267; +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_250); +return x_253; } } } else { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_268 = lean_ctor_get(x_164, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_164, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_270 = x_164; +x_254 = lean_ctor_get(x_167, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_167, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_256 = x_167; } else { - lean_dec_ref(x_164); - x_270 = lean_box(0); + lean_dec_ref(x_167); + x_256 = lean_box(0); } -if (lean_is_scalar(x_270)) { - x_271 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_256)) { + x_257 = lean_alloc_ctor(1, 2, 0); } else { - x_271 = x_270; + x_257 = x_256; } -lean_ctor_set(x_271, 0, x_268); -lean_ctor_set(x_271, 1, x_269); -return x_271; +lean_ctor_set(x_257, 0, x_254); +lean_ctor_set(x_257, 1, x_255); +return x_257; } } } @@ -19806,7 +18003,7 @@ return x_271; } else { -uint8_t x_272; +uint8_t x_258; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19816,33 +18013,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_272 = !lean_is_exclusive(x_9); -if (x_272 == 0) +x_258 = !lean_is_exclusive(x_9); +if (x_258 == 0) { -lean_object* x_273; lean_object* x_274; -x_273 = lean_ctor_get(x_9, 0); -lean_dec(x_273); -x_274 = lean_box(0); -lean_ctor_set(x_9, 0, x_274); +lean_object* x_259; lean_object* x_260; +x_259 = lean_ctor_get(x_9, 0); +lean_dec(x_259); +x_260 = lean_box(0); +lean_ctor_set(x_9, 0, x_260); return x_9; } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_275 = lean_ctor_get(x_9, 1); -lean_inc(x_275); +lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_261 = lean_ctor_get(x_9, 1); +lean_inc(x_261); lean_dec(x_9); -x_276 = lean_box(0); -x_277 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -return x_277; +x_262 = lean_box(0); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +return x_263; } } } else { -uint8_t x_278; +uint8_t x_264; lean_dec(x_12); lean_dec(x_11); lean_dec(x_7); @@ -19851,33 +18048,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_278 = !lean_is_exclusive(x_9); -if (x_278 == 0) +x_264 = !lean_is_exclusive(x_9); +if (x_264 == 0) { -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_9, 0); -lean_dec(x_279); -x_280 = lean_box(0); -lean_ctor_set(x_9, 0, x_280); +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_9, 0); +lean_dec(x_265); +x_266 = lean_box(0); +lean_ctor_set(x_9, 0, x_266); return x_9; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_281 = lean_ctor_get(x_9, 1); -lean_inc(x_281); +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_9, 1); +lean_inc(x_267); lean_dec(x_9); -x_282 = lean_box(0); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_281); -return x_283; +x_268 = lean_box(0); +x_269 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_267); +return x_269; } } } else { -uint8_t x_284; +uint8_t x_270; lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); @@ -19885,652 +18082,713 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_284 = !lean_is_exclusive(x_9); -if (x_284 == 0) +x_270 = !lean_is_exclusive(x_9); +if (x_270 == 0) { -lean_object* x_285; lean_object* x_286; -x_285 = lean_ctor_get(x_9, 0); -lean_dec(x_285); -x_286 = lean_box(0); -lean_ctor_set(x_9, 0, x_286); +lean_object* x_271; lean_object* x_272; +x_271 = lean_ctor_get(x_9, 0); +lean_dec(x_271); +x_272 = lean_box(0); +lean_ctor_set(x_9, 0, x_272); return x_9; } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_9, 1); -lean_inc(x_287); +lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_273 = lean_ctor_get(x_9, 1); +lean_inc(x_273); lean_dec(x_9); -x_288 = lean_box(0); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -return x_289; +x_274 = lean_box(0); +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_274); +lean_ctor_set(x_275, 1, x_273); +return x_275; } } } case 9: { -lean_object* x_290; -x_290 = lean_ctor_get(x_10, 0); -lean_inc(x_290); +lean_object* x_276; +x_276 = lean_ctor_get(x_10, 0); +lean_inc(x_276); lean_dec(x_10); -if (lean_obj_tag(x_290) == 0) +if (lean_obj_tag(x_276) == 0) { -lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_291 = lean_ctor_get(x_9, 1); -lean_inc(x_291); +lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_277 = lean_ctor_get(x_9, 1); +lean_inc(x_277); lean_dec(x_9); -x_292 = lean_ctor_get(x_290, 0); -lean_inc(x_292); -lean_dec(x_290); +x_278 = lean_ctor_get(x_276, 0); +lean_inc(x_278); +lean_dec(x_276); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_293 = l_Lean_Meta_whnf(x_3, x_4, x_5, x_6, x_7, x_291); -if (lean_obj_tag(x_293) == 0) +x_279 = l_Lean_Meta_whnf(x_3, x_4, x_5, x_6, x_7, x_277); +if (lean_obj_tag(x_279) == 0) { -lean_object* x_294; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -switch (lean_obj_tag(x_294)) { +lean_object* x_280; +x_280 = lean_ctor_get(x_279, 0); +lean_inc(x_280); +switch (lean_obj_tag(x_280)) { case 4: { -lean_object* x_295; -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -lean_dec(x_294); -if (lean_obj_tag(x_295) == 1) +lean_object* x_281; +x_281 = lean_ctor_get(x_280, 0); +lean_inc(x_281); +lean_dec(x_280); +if (lean_obj_tag(x_281) == 1) { -lean_object* x_296; -x_296 = lean_ctor_get(x_295, 0); -lean_inc(x_296); -if (lean_obj_tag(x_296) == 1) +lean_object* x_282; +x_282 = lean_ctor_get(x_281, 0); +lean_inc(x_282); +if (lean_obj_tag(x_282) == 1) { -lean_object* x_297; -x_297 = lean_ctor_get(x_296, 0); -lean_inc(x_297); -if (lean_obj_tag(x_297) == 0) +lean_object* x_283; +x_283 = lean_ctor_get(x_282, 0); +lean_inc(x_283); +if (lean_obj_tag(x_283) == 0) { -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_298 = lean_ctor_get(x_293, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_299 = x_293; -} else { - lean_dec_ref(x_293); - x_299 = lean_box(0); -} -x_300 = lean_ctor_get(x_295, 1); -lean_inc(x_300); -lean_dec(x_295); -x_301 = lean_ctor_get(x_296, 1); -lean_inc(x_301); -lean_dec(x_296); -x_302 = l_Lean_Meta_toCtorIfLit___closed__1; -x_303 = lean_string_dec_eq(x_301, x_302); -lean_dec(x_301); -if (x_303 == 0) +uint8_t x_284; +x_284 = !lean_is_exclusive(x_279); +if (x_284 == 0) { -lean_object* x_304; lean_object* x_305; -lean_dec(x_300); -lean_dec(x_292); +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +x_285 = lean_ctor_get(x_279, 1); +x_286 = lean_ctor_get(x_279, 0); +lean_dec(x_286); +x_287 = lean_ctor_get(x_281, 1); +lean_inc(x_287); +lean_dec(x_281); +x_288 = lean_ctor_get(x_282, 1); +lean_inc(x_288); +lean_dec(x_282); +x_289 = l_Lean_Meta_toCtorIfLit___closed__1; +x_290 = lean_string_dec_eq(x_288, x_289); +lean_dec(x_288); +if (x_290 == 0) +{ +lean_object* x_291; +lean_dec(x_287); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_304 = lean_box(0); -if (lean_is_scalar(x_299)) { - x_305 = lean_alloc_ctor(0, 2, 0); -} else { - x_305 = x_299; -} -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_298); -return x_305; +x_291 = lean_box(0); +lean_ctor_set(x_279, 0, x_291); +return x_279; } else { -lean_object* x_306; uint8_t x_307; -x_306 = l_Lean_Meta_toCtorIfLit___closed__6; -x_307 = lean_string_dec_eq(x_300, x_306); -lean_dec(x_300); -if (x_307 == 0) +lean_object* x_292; uint8_t x_293; +x_292 = l_Lean_Meta_toCtorIfLit___closed__6; +x_293 = lean_string_dec_eq(x_287, x_292); +lean_dec(x_287); +if (x_293 == 0) { -lean_object* x_308; lean_object* x_309; -lean_dec(x_292); +lean_object* x_294; +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_308 = lean_box(0); -if (lean_is_scalar(x_299)) { - x_309 = lean_alloc_ctor(0, 2, 0); -} else { - x_309 = x_299; -} -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_298); -return x_309; +x_294 = lean_box(0); +lean_ctor_set(x_279, 0, x_294); +return x_279; } else { -uint8_t x_310; lean_object* x_311; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; -x_341 = lean_st_ref_get(x_7, x_298); -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_342, 3); -lean_inc(x_343); -lean_dec(x_342); -x_344 = lean_ctor_get_uint8(x_343, sizeof(void*)*1); -lean_dec(x_343); -if (x_344 == 0) +lean_object* x_295; uint8_t x_296; lean_object* x_297; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; +lean_free_object(x_279); +x_295 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_314 = lean_st_ref_get(x_7, x_285); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_315, 3); +lean_inc(x_316); +lean_dec(x_315); +x_317 = lean_ctor_get_uint8(x_316, sizeof(void*)*1); +lean_dec(x_316); +if (x_317 == 0) { -lean_object* x_345; uint8_t x_346; -x_345 = lean_ctor_get(x_341, 1); -lean_inc(x_345); -lean_dec(x_341); -x_346 = 0; -x_310 = x_346; -x_311 = x_345; -goto block_340; +lean_object* x_318; uint8_t x_319; +x_318 = lean_ctor_get(x_314, 1); +lean_inc(x_318); +lean_dec(x_314); +x_319 = 0; +x_296 = x_319; +x_297 = x_318; +goto block_313; } else { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; -x_347 = lean_ctor_get(x_341, 1); -lean_inc(x_347); -lean_dec(x_341); -x_348 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_349 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_348, x_4, x_5, x_6, x_7, x_347); -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -lean_dec(x_349); -x_352 = lean_unbox(x_350); -lean_dec(x_350); -x_310 = x_352; -x_311 = x_351; -goto block_340; +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; +x_320 = lean_ctor_get(x_314, 1); +lean_inc(x_320); +lean_dec(x_314); +x_321 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_295, x_4, x_5, x_6, x_7, x_320); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = lean_unbox(x_322); +lean_dec(x_322); +x_296 = x_324; +x_297 = x_323; +goto block_313; } -block_340: +block_313: { -if (x_310 == 0) +if (x_296 == 0) { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_object* x_298; lean_object* x_299; +x_298 = lean_box(0); +x_299 = l_Lean_Meta_reduceBinNatOp___lambda__3(x_1, x_278, x_298, x_4, x_5, x_6, x_7, x_297); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_312 = lean_unsigned_to_nat(0u); -x_313 = lean_apply_2(x_1, x_292, x_312); -x_314 = l_Lean_mkNatLit(x_313); -x_315 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_315, 0, x_314); -if (lean_is_scalar(x_299)) { - x_316 = lean_alloc_ctor(0, 2, 0); -} else { - x_316 = x_299; -} -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_311); -return x_316; +return x_299; } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; -lean_dec(x_299); -lean_inc(x_292); -x_317 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_292); -x_318 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_318, 0, x_317); -x_319 = l_Lean_Meta_unfoldDefinition___closed__3; -x_320 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -x_321 = l_Lean_Meta_reduceBinNatOp___closed__10; -x_322 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_322, 0, x_320); -lean_ctor_set(x_322, 1, x_321); -x_323 = l_Lean_Meta_reduceBinNatOp___closed__7; -x_324 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_324, 0, x_322); -lean_ctor_set(x_324, 1, x_323); -x_325 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_319); -x_326 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_327 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_326, x_325, x_4, x_5, x_6, x_7, x_311); +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_inc(x_278); +x_300 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_278); +x_301 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_301, 0, x_300); +x_302 = l_Lean_Meta_unfoldDefinition___closed__3; +x_303 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_301); +x_304 = l_Lean_Meta_reduceBinNatOp___closed__10; +x_305 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_305, 0, x_303); +lean_ctor_set(x_305, 1, x_304); +x_306 = l_Lean_Meta_reduceBinNatOp___closed__7; +x_307 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_308, 0, x_307); +lean_ctor_set(x_308, 1, x_302); +x_309 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_295, x_308, x_4, x_5, x_6, x_7, x_297); +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_309, 1); +lean_inc(x_311); +lean_dec(x_309); +x_312 = l_Lean_Meta_reduceBinNatOp___lambda__3(x_1, x_278, x_310, x_4, x_5, x_6, x_7, x_311); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_328 = !lean_is_exclusive(x_327); -if (x_328 == 0) -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_329 = lean_ctor_get(x_327, 0); -lean_dec(x_329); -x_330 = lean_unsigned_to_nat(0u); -x_331 = lean_apply_2(x_1, x_292, x_330); -x_332 = l_Lean_mkNatLit(x_331); -x_333 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_327, 0, x_333); -return x_327; +lean_dec(x_310); +return x_312; +} +} +} +} } 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_327, 1); -lean_inc(x_334); +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; +x_325 = lean_ctor_get(x_279, 1); +lean_inc(x_325); +lean_dec(x_279); +x_326 = lean_ctor_get(x_281, 1); +lean_inc(x_326); +lean_dec(x_281); +x_327 = lean_ctor_get(x_282, 1); +lean_inc(x_327); +lean_dec(x_282); +x_328 = l_Lean_Meta_toCtorIfLit___closed__1; +x_329 = lean_string_dec_eq(x_327, x_328); lean_dec(x_327); -x_335 = lean_unsigned_to_nat(0u); -x_336 = lean_apply_2(x_1, x_292, x_335); -x_337 = l_Lean_mkNatLit(x_336); -x_338 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_338, 0, x_337); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_334); -return x_339; -} -} -} -} -} -} -else +if (x_329 == 0) { -uint8_t x_353; -lean_dec(x_297); -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_292); +lean_object* x_330; lean_object* x_331; +lean_dec(x_326); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_353 = !lean_is_exclusive(x_293); -if (x_353 == 0) -{ -lean_object* x_354; lean_object* x_355; -x_354 = lean_ctor_get(x_293, 0); -lean_dec(x_354); -x_355 = lean_box(0); -lean_ctor_set(x_293, 0, x_355); -return x_293; +x_330 = lean_box(0); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_325); +return x_331; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_293, 1); +lean_object* x_332; uint8_t x_333; +x_332 = l_Lean_Meta_toCtorIfLit___closed__6; +x_333 = lean_string_dec_eq(x_326, x_332); +lean_dec(x_326); +if (x_333 == 0) +{ +lean_object* x_334; lean_object* x_335; +lean_dec(x_278); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_334 = lean_box(0); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_325); +return x_335; +} +else +{ +lean_object* x_336; uint8_t x_337; lean_object* x_338; lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; +x_336 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_355 = lean_st_ref_get(x_7, x_325); +x_356 = lean_ctor_get(x_355, 0); lean_inc(x_356); -lean_dec(x_293); -x_357 = lean_box(0); -x_358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_356); -return x_358; +x_357 = lean_ctor_get(x_356, 3); +lean_inc(x_357); +lean_dec(x_356); +x_358 = lean_ctor_get_uint8(x_357, sizeof(void*)*1); +lean_dec(x_357); +if (x_358 == 0) +{ +lean_object* x_359; uint8_t x_360; +x_359 = lean_ctor_get(x_355, 1); +lean_inc(x_359); +lean_dec(x_355); +x_360 = 0; +x_337 = x_360; +x_338 = x_359; +goto block_354; +} +else +{ +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +x_361 = lean_ctor_get(x_355, 1); +lean_inc(x_361); +lean_dec(x_355); +x_362 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_336, x_4, x_5, x_6, x_7, 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_unbox(x_363); +lean_dec(x_363); +x_337 = x_365; +x_338 = x_364; +goto block_354; +} +block_354: +{ +if (x_337 == 0) +{ +lean_object* x_339; lean_object* x_340; +x_339 = lean_box(0); +x_340 = l_Lean_Meta_reduceBinNatOp___lambda__3(x_1, x_278, x_339, x_4, x_5, x_6, x_7, x_338); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_340; +} +else +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_inc(x_278); +x_341 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_278); +x_342 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_342, 0, x_341); +x_343 = l_Lean_Meta_unfoldDefinition___closed__3; +x_344 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = l_Lean_Meta_reduceBinNatOp___closed__10; +x_346 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_346, 0, x_344); +lean_ctor_set(x_346, 1, x_345); +x_347 = l_Lean_Meta_reduceBinNatOp___closed__7; +x_348 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_348, 0, x_346); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_343); +x_350 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_336, x_349, x_4, x_5, x_6, x_7, x_338); +x_351 = lean_ctor_get(x_350, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_350, 1); +lean_inc(x_352); +lean_dec(x_350); +x_353 = l_Lean_Meta_reduceBinNatOp___lambda__3(x_1, x_278, x_351, x_4, x_5, x_6, x_7, x_352); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_351); +return x_353; +} +} +} } } } else { -uint8_t x_359; -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_292); +uint8_t x_366; +lean_dec(x_283); +lean_dec(x_282); +lean_dec(x_281); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_359 = !lean_is_exclusive(x_293); -if (x_359 == 0) +x_366 = !lean_is_exclusive(x_279); +if (x_366 == 0) { -lean_object* x_360; lean_object* x_361; -x_360 = lean_ctor_get(x_293, 0); -lean_dec(x_360); -x_361 = lean_box(0); -lean_ctor_set(x_293, 0, x_361); -return x_293; +lean_object* x_367; lean_object* x_368; +x_367 = lean_ctor_get(x_279, 0); +lean_dec(x_367); +x_368 = lean_box(0); +lean_ctor_set(x_279, 0, x_368); +return x_279; } else { -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_293, 1); -lean_inc(x_362); -lean_dec(x_293); -x_363 = lean_box(0); -x_364 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_364, 0, x_363); -lean_ctor_set(x_364, 1, x_362); -return x_364; +lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_369 = lean_ctor_get(x_279, 1); +lean_inc(x_369); +lean_dec(x_279); +x_370 = lean_box(0); +x_371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_369); +return x_371; } } } else { -uint8_t x_365; -lean_dec(x_295); -lean_dec(x_292); +uint8_t x_372; +lean_dec(x_282); +lean_dec(x_281); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_365 = !lean_is_exclusive(x_293); -if (x_365 == 0) +x_372 = !lean_is_exclusive(x_279); +if (x_372 == 0) { -lean_object* x_366; lean_object* x_367; -x_366 = lean_ctor_get(x_293, 0); -lean_dec(x_366); -x_367 = lean_box(0); -lean_ctor_set(x_293, 0, x_367); -return x_293; +lean_object* x_373; lean_object* x_374; +x_373 = lean_ctor_get(x_279, 0); +lean_dec(x_373); +x_374 = lean_box(0); +lean_ctor_set(x_279, 0, x_374); +return x_279; } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_368 = lean_ctor_get(x_293, 1); -lean_inc(x_368); -lean_dec(x_293); -x_369 = lean_box(0); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -return x_370; +lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_375 = lean_ctor_get(x_279, 1); +lean_inc(x_375); +lean_dec(x_279); +x_376 = lean_box(0); +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_375); +return x_377; +} +} +} +else +{ +uint8_t x_378; +lean_dec(x_281); +lean_dec(x_278); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_378 = !lean_is_exclusive(x_279); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; +x_379 = lean_ctor_get(x_279, 0); +lean_dec(x_379); +x_380 = lean_box(0); +lean_ctor_set(x_279, 0, x_380); +return x_279; +} +else +{ +lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_381 = lean_ctor_get(x_279, 1); +lean_inc(x_381); +lean_dec(x_279); +x_382 = lean_box(0); +x_383 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_381); +return x_383; } } } case 9: { -lean_object* x_371; -x_371 = lean_ctor_get(x_294, 0); -lean_inc(x_371); -lean_dec(x_294); -if (lean_obj_tag(x_371) == 0) +lean_object* x_384; +x_384 = lean_ctor_get(x_280, 0); +lean_inc(x_384); +lean_dec(x_280); +if (lean_obj_tag(x_384) == 0) { -lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_object* x_376; lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; -x_372 = lean_ctor_get(x_293, 1); -lean_inc(x_372); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_373 = x_293; -} else { - lean_dec_ref(x_293); - x_373 = lean_box(0); -} -x_374 = lean_ctor_get(x_371, 0); -lean_inc(x_374); -lean_dec(x_371); -x_404 = lean_st_ref_get(x_7, x_372); -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_405, 3); -lean_inc(x_406); -lean_dec(x_405); -x_407 = lean_ctor_get_uint8(x_406, sizeof(void*)*1); -lean_dec(x_406); -if (x_407 == 0) -{ -lean_object* x_408; uint8_t x_409; -x_408 = lean_ctor_get(x_404, 1); +lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; +x_385 = lean_ctor_get(x_279, 1); +lean_inc(x_385); +lean_dec(x_279); +x_386 = lean_ctor_get(x_384, 0); +lean_inc(x_386); +lean_dec(x_384); +x_387 = l_Lean_Meta_reduceBinNatOp___closed__5; +x_407 = lean_st_ref_get(x_7, x_385); +x_408 = lean_ctor_get(x_407, 0); lean_inc(x_408); -lean_dec(x_404); -x_409 = 0; -x_375 = x_409; -x_376 = x_408; -goto block_403; +x_409 = lean_ctor_get(x_408, 3); +lean_inc(x_409); +lean_dec(x_408); +x_410 = lean_ctor_get_uint8(x_409, sizeof(void*)*1); +lean_dec(x_409); +if (x_410 == 0) +{ +lean_object* x_411; uint8_t x_412; +x_411 = lean_ctor_get(x_407, 1); +lean_inc(x_411); +lean_dec(x_407); +x_412 = 0; +x_388 = x_412; +x_389 = x_411; +goto block_406; } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; -x_410 = lean_ctor_get(x_404, 1); -lean_inc(x_410); -lean_dec(x_404); -x_411 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_412 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_411, x_4, x_5, x_6, x_7, x_410); -x_413 = lean_ctor_get(x_412, 0); +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; +x_413 = lean_ctor_get(x_407, 1); lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -lean_dec(x_412); -x_415 = lean_unbox(x_413); -lean_dec(x_413); -x_375 = x_415; -x_376 = x_414; -goto block_403; +lean_dec(x_407); +x_414 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_387, x_4, x_5, x_6, x_7, x_413); +x_415 = lean_ctor_get(x_414, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_414, 1); +lean_inc(x_416); +lean_dec(x_414); +x_417 = lean_unbox(x_415); +lean_dec(x_415); +x_388 = x_417; +x_389 = x_416; +goto block_406; } -block_403: +block_406: { -if (x_375 == 0) +if (x_388 == 0) { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +lean_object* x_390; lean_object* x_391; +x_390 = lean_box(0); +x_391 = l_Lean_Meta_reduceBinNatOp___lambda__4(x_1, x_278, x_386, x_390, x_4, x_5, x_6, x_7, x_389); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_377 = lean_apply_2(x_1, x_292, x_374); -x_378 = l_Lean_mkNatLit(x_377); -x_379 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_379, 0, x_378); -if (lean_is_scalar(x_373)) { - x_380 = lean_alloc_ctor(0, 2, 0); -} else { - x_380 = x_373; -} -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_376); -return x_380; +return x_391; } else { -lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; -lean_dec(x_373); -lean_inc(x_292); -x_381 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_292); -x_382 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_382, 0, x_381); -x_383 = l_Lean_Meta_unfoldDefinition___closed__3; -x_384 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_382); -x_385 = l_Lean_Meta_reduceBinNatOp___closed__10; -x_386 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_386, 0, x_384); -lean_ctor_set(x_386, 1, x_385); -lean_inc(x_374); -x_387 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_374); -x_388 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_388, 0, x_387); -x_389 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_389, 0, x_386); -lean_ctor_set(x_389, 1, x_388); -x_390 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_383); -x_391 = l_Lean_Meta_reduceBinNatOp___closed__5; -x_392 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_391, x_390, x_4, x_5, x_6, x_7, x_376); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_393 = !lean_is_exclusive(x_392); -if (x_393 == 0) -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_394 = lean_ctor_get(x_392, 0); -lean_dec(x_394); -x_395 = lean_apply_2(x_1, x_292, x_374); -x_396 = l_Lean_mkNatLit(x_395); -x_397 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_392, 0, x_397); -return x_392; -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_398 = lean_ctor_get(x_392, 1); -lean_inc(x_398); -lean_dec(x_392); -x_399 = lean_apply_2(x_1, x_292, x_374); -x_400 = l_Lean_mkNatLit(x_399); -x_401 = lean_alloc_ctor(1, 1, 0); +lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; +lean_inc(x_278); +x_392 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_278); +x_393 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_393, 0, x_392); +x_394 = l_Lean_Meta_unfoldDefinition___closed__3; +x_395 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_395, 0, x_394); +lean_ctor_set(x_395, 1, x_393); +x_396 = l_Lean_Meta_reduceBinNatOp___closed__10; +x_397 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_397, 0, x_395); +lean_ctor_set(x_397, 1, x_396); +lean_inc(x_386); +x_398 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_386); +x_399 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_399, 0, x_398); +x_400 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_400, 0, x_397); +lean_ctor_set(x_400, 1, x_399); +x_401 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_401, 0, x_400); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_398); -return x_402; -} +lean_ctor_set(x_401, 1, x_394); +x_402 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_387, x_401, x_4, x_5, x_6, x_7, x_389); +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = l_Lean_Meta_reduceBinNatOp___lambda__4(x_1, x_278, x_386, x_403, x_4, x_5, x_6, x_7, x_404); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_403); +return x_405; } } } else { -uint8_t x_416; -lean_dec(x_371); -lean_dec(x_292); +uint8_t x_418; +lean_dec(x_384); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_416 = !lean_is_exclusive(x_293); -if (x_416 == 0) +x_418 = !lean_is_exclusive(x_279); +if (x_418 == 0) { -lean_object* x_417; lean_object* x_418; -x_417 = lean_ctor_get(x_293, 0); -lean_dec(x_417); -x_418 = lean_box(0); -lean_ctor_set(x_293, 0, x_418); -return x_293; +lean_object* x_419; lean_object* x_420; +x_419 = lean_ctor_get(x_279, 0); +lean_dec(x_419); +x_420 = lean_box(0); +lean_ctor_set(x_279, 0, x_420); +return x_279; } else { -lean_object* x_419; lean_object* x_420; lean_object* x_421; -x_419 = lean_ctor_get(x_293, 1); -lean_inc(x_419); -lean_dec(x_293); -x_420 = lean_box(0); -x_421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_419); -return x_421; +lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_421 = lean_ctor_get(x_279, 1); +lean_inc(x_421); +lean_dec(x_279); +x_422 = lean_box(0); +x_423 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_421); +return x_423; } } } default: { -uint8_t x_422; -lean_dec(x_294); -lean_dec(x_292); +uint8_t x_424; +lean_dec(x_280); +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_422 = !lean_is_exclusive(x_293); -if (x_422 == 0) +x_424 = !lean_is_exclusive(x_279); +if (x_424 == 0) { -lean_object* x_423; lean_object* x_424; -x_423 = lean_ctor_get(x_293, 0); -lean_dec(x_423); -x_424 = lean_box(0); -lean_ctor_set(x_293, 0, x_424); -return x_293; -} -else -{ -lean_object* x_425; lean_object* x_426; lean_object* x_427; -x_425 = lean_ctor_get(x_293, 1); -lean_inc(x_425); -lean_dec(x_293); +lean_object* x_425; lean_object* x_426; +x_425 = lean_ctor_get(x_279, 0); +lean_dec(x_425); x_426 = lean_box(0); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -return x_427; +lean_ctor_set(x_279, 0, x_426); +return x_279; +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; +x_427 = lean_ctor_get(x_279, 1); +lean_inc(x_427); +lean_dec(x_279); +x_428 = lean_box(0); +x_429 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +return x_429; } } } } else { -uint8_t x_428; -lean_dec(x_292); +uint8_t x_430; +lean_dec(x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_428 = !lean_is_exclusive(x_293); -if (x_428 == 0) +x_430 = !lean_is_exclusive(x_279); +if (x_430 == 0) { -return x_293; +return x_279; } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_429 = lean_ctor_get(x_293, 0); -x_430 = lean_ctor_get(x_293, 1); -lean_inc(x_430); -lean_inc(x_429); -lean_dec(x_293); -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_429); -lean_ctor_set(x_431, 1, x_430); -return x_431; +lean_object* x_431; lean_object* x_432; lean_object* x_433; +x_431 = lean_ctor_get(x_279, 0); +x_432 = lean_ctor_get(x_279, 1); +lean_inc(x_432); +lean_inc(x_431); +lean_dec(x_279); +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +return x_433; } } } else { -uint8_t x_432; -lean_dec(x_290); +uint8_t x_434; +lean_dec(x_276); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_432 = !lean_is_exclusive(x_9); -if (x_432 == 0) +x_434 = !lean_is_exclusive(x_9); +if (x_434 == 0) { -lean_object* x_433; lean_object* x_434; -x_433 = lean_ctor_get(x_9, 0); -lean_dec(x_433); -x_434 = lean_box(0); -lean_ctor_set(x_9, 0, x_434); +lean_object* x_435; lean_object* x_436; +x_435 = lean_ctor_get(x_9, 0); +lean_dec(x_435); +x_436 = lean_box(0); +lean_ctor_set(x_9, 0, x_436); return x_9; } else { -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_ctor_get(x_9, 1); -lean_inc(x_435); +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_ctor_get(x_9, 1); +lean_inc(x_437); lean_dec(x_9); -x_436 = lean_box(0); -x_437 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_437, 0, x_436); -lean_ctor_set(x_437, 1, x_435); -return x_437; +x_438 = lean_box(0); +x_439 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +return x_439; } } } default: { -uint8_t x_438; +uint8_t x_440; lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -20538,61 +18796,113 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_438 = !lean_is_exclusive(x_9); -if (x_438 == 0) +x_440 = !lean_is_exclusive(x_9); +if (x_440 == 0) { -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_9, 0); -lean_dec(x_439); -x_440 = lean_box(0); -lean_ctor_set(x_9, 0, x_440); +lean_object* x_441; lean_object* x_442; +x_441 = lean_ctor_get(x_9, 0); +lean_dec(x_441); +x_442 = lean_box(0); +lean_ctor_set(x_9, 0, x_442); return x_9; } else { -lean_object* x_441; lean_object* x_442; lean_object* x_443; -x_441 = lean_ctor_get(x_9, 1); -lean_inc(x_441); +lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_443 = lean_ctor_get(x_9, 1); +lean_inc(x_443); lean_dec(x_9); -x_442 = lean_box(0); -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); -return x_443; +x_444 = lean_box(0); +x_445 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_445, 0, x_444); +lean_ctor_set(x_445, 1, x_443); +return x_445; } } } } else { -uint8_t x_444; +uint8_t x_446; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_444 = !lean_is_exclusive(x_9); -if (x_444 == 0) +x_446 = !lean_is_exclusive(x_9); +if (x_446 == 0) { return x_9; } else { -lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_445 = lean_ctor_get(x_9, 0); -x_446 = lean_ctor_get(x_9, 1); -lean_inc(x_446); -lean_inc(x_445); +lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_447 = lean_ctor_get(x_9, 0); +x_448 = lean_ctor_get(x_9, 1); +lean_inc(x_448); +lean_inc(x_447); lean_dec(x_9); -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_445); -lean_ctor_set(x_447, 1, x_446); -return x_447; +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_447); +lean_ctor_set(x_449, 1, x_448); +return x_449; } } } } +lean_object* l_Lean_Meta_reduceBinNatOp___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_reduceBinNatOp___lambda__1(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_8; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_reduceBinNatOp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_reduceBinNatOp___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_reduceBinNatOp___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} lean_object* l_Lean_Meta_reduceBinNatPred(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: { @@ -25952,7 +24262,7 @@ return x_8; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5565_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5664_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26095,6 +24405,12 @@ l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1 = _init_l___priva lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1); l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__2); +l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__1); +l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__2); +l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___lambda__3___closed__3); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__1); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__2(); @@ -26103,12 +24419,6 @@ l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___ lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__3); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__5); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__6); -l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7(); -lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__7); l_Lean_Meta_unfoldDefinition___closed__1 = _init_l_Lean_Meta_unfoldDefinition___closed__1(); lean_mark_persistent(l_Lean_Meta_unfoldDefinition___closed__1); l_Lean_Meta_unfoldDefinition___closed__2 = _init_l_Lean_Meta_unfoldDefinition___closed__2(); @@ -26238,7 +24548,7 @@ lean_mark_persistent(l_Lean_Meta_setWHNFRef___closed__1); res = l_Lean_Meta_setWHNFRef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5565_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_5664_(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/Parser/Attr.c b/stage0/stdlib/Lean/Parser/Attr.c index fbc624d3cb..3c1f6d4fb5 100644 --- a/stage0/stdlib/Lean/Parser/Attr.c +++ b/stage0/stdlib/Lean/Parser/Attr.c @@ -19,14 +19,14 @@ lean_object* l___regBuiltin_Lean_Parser_Attr_recursor_formatter(lean_object*); static lean_object* l_Lean_Parser_Attr_externEntry___closed__6; lean_object* l_Lean_Parser_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Attr_macro___elambda__1___lambda__2___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2; lean_object* l_Lean_Parser_attrParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Attr_defaultInstance___closed__7; lean_object* l_Lean_Parser_Attr_defaultInstance_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_3____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; static lean_object* l_Lean_Parser_Attr_simple_formatter___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; static lean_object* l_Lean_Parser_Attr_class___closed__6; static lean_object* l_Lean_Parser_Attr_defaultInstance___elambda__1___closed__11; static lean_object* l_Lean_Parser_Attr_defaultInstance_formatter___closed__2; @@ -63,8 +63,8 @@ lean_object* l___regBuiltin_Lean_Parser_Attr_simple_formatter(lean_object*); static lean_object* l_Lean_Parser_Attr_simple_formatter___closed__7; static lean_object* l_Lean_Parser_Attr_simple___closed__1; static lean_object* l_Lean_Parser_Attr_simple_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1; lean_object* l_Lean_Parser_Attr_macro___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1; static lean_object* l_Lean_Parser_Attr_defaultInstance_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Attr_recursor___elambda__1___closed__7; static lean_object* l_Lean_Parser_Attr_externEntry_parenthesizer___closed__4; @@ -424,9 +424,9 @@ static lean_object* l_Lean_Parser_Attr_externEntry___elambda__1___closed__10; static lean_object* l_Lean_Parser_Attr_export_formatter___closed__2; static lean_object* l_Lean_Parser_Attr_extern___elambda__1___closed__1; static lean_object* l___regBuiltinParser_Lean_Parser_Priority_numPrio___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6; static lean_object* l_Lean_Parser_Priority_numPrio___closed__3; static lean_object* l_Lean_Parser_Attr_class___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6; lean_object* l_Lean_Parser_Attr_externEntry; lean_object* l_Lean_Parser_Attr_externEntry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_priorityParser_formatter(lean_object*); @@ -454,7 +454,7 @@ lean_object* l___regBuiltin_Lean_Parser_Attr_defaultInstance_parenthesizer(lean_ static lean_object* l_Lean_Parser_Attr_extern___closed__4; static lean_object* l_Lean_Parser_Attr_externEntry___elambda__1___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_3_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28_(lean_object*); static lean_object* l_Lean_Parser_Attr_class___elambda__1___closed__9; static lean_object* l_Lean_Parser_Attr_extern___elambda__1___closed__17; static lean_object* l_Lean_Parser_Priority_numPrio_formatter___closed__1; @@ -475,10 +475,10 @@ static lean_object* l_Lean_Parser_Attr_simple___elambda__1___closed__16; static lean_object* l_Lean_Parser_Attr_macro___elambda__1___lambda__2___closed__8; lean_object* l_Lean_Parser_Attr_defaultInstance___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Attr_recursor___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3; lean_object* l___regBuiltin_Lean_Parser_Attr_export_formatter(lean_object*); static lean_object* l_Lean_Parser_Attr_extern___elambda__1___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Attr_export_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_3____closed__6; lean_object* l_Lean_Parser_Attr_recursor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Attr_externEntry___closed__2; @@ -510,8 +510,8 @@ lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, static lean_object* l_Lean_Parser_Attr_macro___elambda__1___lambda__2___closed__4; static lean_object* l_Lean_Parser_Attr_simple___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Attr_instance_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5; static lean_object* l_Lean_Parser_Attr_export___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5; static lean_object* l_Lean_Parser_Attr_export___closed__4; static lean_object* l_Lean_Parser_Attr_macro___elambda__1___lambda__2___closed__9; static lean_object* l_Lean_Parser_Attr_export___elambda__1___closed__8; @@ -649,7 +649,7 @@ return x_12; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1() { _start: { lean_object* x_1; @@ -657,17 +657,17 @@ x_1 = lean_mk_string("builtinAttrParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3() { _start: { lean_object* x_1; @@ -675,17 +675,17 @@ x_1 = lean_mk_string("attr"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____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_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5() { _start: { lean_object* x_1; @@ -693,22 +693,22 @@ x_1 = lean_mk_string("attrParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_4 = 1; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) @@ -717,7 +717,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6; x_8 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_7, x_3, x_6); return x_8; } @@ -758,7 +758,7 @@ lean_object* l_Lean_Parser_attrParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -802,7 +802,7 @@ lean_object* l_Lean_Parser_attrParser_formatter___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5); return x_7; } @@ -828,7 +828,7 @@ lean_object* l_Lean_Parser_attrParser_parenthesizer(lean_object* x_1, lean_objec _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6); return x_8; } @@ -1507,7 +1507,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_simple(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_simple___elambda__1___closed__4; x_4 = 1; x_5 = l_Lean_Parser_Attr_simple; @@ -2394,7 +2394,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_macro(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_macro___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_macro; @@ -2959,7 +2959,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_export(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_export___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_export; @@ -3533,7 +3533,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_recursor(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_recursor___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_recursor; @@ -4068,7 +4068,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_class(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_class___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_class; @@ -4618,7 +4618,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_instance(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_instance___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_instance; @@ -5212,7 +5212,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_defaultInstance(lean_object* _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_defaultInstance___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_defaultInstance; @@ -6299,7 +6299,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Attr_extern(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4; x_3 = l_Lean_Parser_Attr_extern___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Attr_extern; @@ -6816,19 +6816,19 @@ lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_3____clo res = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_3_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27____closed__6); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_27_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28____closed__6); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Attr___hyg_28_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_Priority_numPrio___closed__1 = _init_l_Lean_Parser_Priority_numPrio___closed__1(); diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 05956f7dde..b4c6138354 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -74,6 +74,7 @@ lean_object* l_Lean_Parser_decimalNumberFn___boxed(lean_object*, lean_object*, l lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__8___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_notFollowedByFn___closed__1; lean_object* l_Lean_Parser_FirstTokens_toOptional_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_Parser_Parser_info___default___closed__3; lean_object* l_Lean_Parser_leadPrec; @@ -93,6 +94,7 @@ lean_object* l_Lean_Parser_setLhsPrecFn(lean_object*, lean_object*, lean_object* extern uint32_t l_Lean_idBeginEscape; lean_object* l_Lean_Parser_ParserState_errorMsg___default; lean_object* l_Lean_Parser_optionaInfo___elambda__2(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_binNumberFn___closed__1; static lean_object* l_Lean_Parser_hexNumberFn___closed__1; lean_object* l_Lean_Parser_checkInsideQuotFn(lean_object*, lean_object*); @@ -142,7 +144,6 @@ lean_object* l_Lean_Parser_minPrec; lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1___boxed(lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnRef; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_expected___default; @@ -174,7 +175,6 @@ static lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__2; lean_object* l_Lean_Parser_longestMatchFnAux_parse_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGe(lean_object*); lean_object* l_id___rarg___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLinebreakBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); @@ -204,7 +204,6 @@ lean_object* l_Lean_isIdRest___boxed(lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8; lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_notFollowedByFn(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1; lean_object* l_Lean_Parser_orelseFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__4(lean_object*); static lean_object* l_Lean_Parser_instInhabitedInputContext___closed__3; @@ -229,7 +228,6 @@ lean_object* l_Lean_Parser_Error_merge_match__1(lean_object*); lean_object* l_Lean_Parser_atomicFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_instInhabitedParserFn___boxed(lean_object*); lean_object* l_Lean_Parser_withPosition(lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__11; lean_object* l_Lean_Parser_evalParserConstUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__3___rarg(lean_object*, lean_object*); @@ -639,7 +637,6 @@ lean_object* l_Lean_Parser_checkLinebreakBeforeFn___boxed(lean_object*, lean_obj lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_quotedCharCoreFn___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_identFnAux_parse___lambda__2___closed__2; static lean_object* l_Lean_Parser_mkAntiquot___closed__21; @@ -699,7 +696,6 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Parser_checkInsideQuot___closed__1; lean_object* l_Lean_Parser_checkLineEqFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_updateCache(lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1(lean_object*); lean_object* l_Lean_Parser_many1Unbox___lambda__1___boxed(lean_object*); lean_object* lean_int_neg(lean_object*); lean_object* l_Lean_Parser_instInhabitedParser___lambda__1(lean_object*, lean_object*); @@ -787,6 +783,7 @@ static lean_object* l_Lean_Parser_mkAntiquot___closed__24; lean_object* l_Std_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1(lean_object*); lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_dbgTraceStateFn___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1; static lean_object* l_Lean_Parser_decQuotDepth___closed__1; lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__1(lean_object*); lean_object* l_Lean_Parser_withPosition___lambda__1(lean_object*, lean_object*, lean_object*); @@ -810,7 +807,6 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1NoAntiquot(lean_object*); lean_object* l_Lean_Parser_TokenCacheEntry_token___default; lean_object* l_Lean_Parser_ParserState_toErrorMsg_match__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1; lean_object* l_Lean_Parser_dbgTraceState___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_chFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -819,12 +815,14 @@ static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__2; static lean_object* l_Lean_Parser_Error_instToStringError___closed__1; static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2___closed__3; lean_object* l_Lean_Parser_checkTailNoWs_match__1(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____lambda__1(lean_object*); lean_object* l_Lean_Parser_TokenMap_instEmptyCollectionTokenMap(lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(uint8_t, uint8_t); +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439_(uint8_t, uint8_t); lean_object* l_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t); static lean_object* l_Lean_Parser_mkAntiquot___closed__14; static lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1(lean_object*); lean_object* l_Lean_Parser_dbgTraceStateFn___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); @@ -847,7 +845,6 @@ lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_o static lean_object* l_Lean_Parser_epsilonInfo___closed__3; lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____lambda__1(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_instInhabitedParser; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -874,6 +871,7 @@ lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix(lean_object*, lean_object lean_object* l_Lean_Parser_PrattParsingTables_trailingParsers___default; lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutPosition(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLitFn___closed__2; lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_tryAnti___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -898,6 +896,7 @@ static lean_object* l_Lean_Parser_identNoAntiquot___closed__3; static lean_object* l_Lean_Parser_epsilonInfo___closed__1; lean_object* l_Lean_Parser_manyAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkPrec(lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_checkNoImmediateColon___closed__2; lean_object* l_Lean_Parser_sepBy1NoAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_instInhabitedParserFn___rarg(lean_object*); @@ -946,8 +945,8 @@ lean_object* l_Lean_Parser_indexed_match__1___rarg(lean_object*, lean_object*, l lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__6; static lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763_(lean_object*); uint8_t l_Lean_Parser_instInhabitedLeadingIdentBehavior; static lean_object* l_Lean_Parser_fieldIdx___closed__7; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); @@ -982,6 +981,7 @@ lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_Error_expectedToString lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_updateCache_match__1(lean_object*); lean_object* l_Lean_Parser_eoiFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfySymbolFn_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolNoAntiquot___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__2(lean_object*, lean_object*, lean_object*); @@ -1028,6 +1028,7 @@ lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, static lean_object* l_Lean_Parser_hexDigitFn___closed__1; lean_object* l_Lean_Parser_mkAtom(lean_object*, lean_object*); static lean_object* l_Lean_Parser_pushNone___elambda__1___rarg___closed__1; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439____boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserOfStackFn___rarg___boxed(lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1113,7 +1114,6 @@ lean_object* l_Lean_Parser_longestMatchStep_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_Parser_setLhsPrecFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435____boxed(lean_object*, lean_object*); lean_object* l_Char_isDigit___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -27274,7 +27274,7 @@ x_1 = 0; return x_1; } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (x_1) { @@ -27356,15 +27356,15 @@ return x_24; } } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1(lean_object* x_1) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg___boxed), 6, 0); return x_2; } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; uint8_t x_8; lean_object* x_9; @@ -27372,11 +27372,11 @@ x_7 = lean_unbox(x_1); lean_dec(x_1); x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6); +x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6); return x_9; } } -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(uint8_t x_1, uint8_t x_2) { +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439_(uint8_t x_1, uint8_t x_2) { _start: { switch (x_1) { @@ -27437,7 +27437,7 @@ return x_11; } } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -27445,7 +27445,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(x_3, x_4); +x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -27454,7 +27454,7 @@ static lean_object* _init_l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7439____boxed), 2, 0); return x_1; } } @@ -28692,7 +28692,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -28700,34 +28700,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1___boxed), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -28753,19 +28753,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -34166,20 +34166,20 @@ l_Lean_Parser_instInhabitedParserCategory___closed__1 = _init_l_Lean_Parser_inst lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory___closed__1); l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedParserCategory(); lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7740_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7744_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763____closed__1); l_Lean_Parser_categoryParserFnExtension___closed__1 = _init_l_Lean_Parser_categoryParserFnExtension___closed__1(); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension___closed__1); l_Lean_Parser_categoryParserFnExtension___closed__2 = _init_l_Lean_Parser_categoryParserFnExtension___closed__2(); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension___closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7758_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7763_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index b513c38b9b..4062ed16de 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -14,15 +14,13 @@ extern "C" { #endif static lean_object* l_Lean_Parser_declareBuiltinParser___closed__9; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2; static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2; lean_object* l_Lean_Parser_builtinTokenTable; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens_match__1(lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Parser_addLeadingParser___spec__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add_match__1(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig(lean_object*, lean_object*); @@ -31,7 +29,7 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttri static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_23____closed__3; lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2; lean_object* l_Lean_Parser_parserExtension___lambda__1(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); @@ -44,61 +42,64 @@ static lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__1; lean_object* l_Std_RBNode_find___at_Lean_Parser_getAlias___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2; static lean_object* l_Lean_Parser_ParserExtension_instInhabitedOLeanEntry___closed__1; lean_object* l_Lean_Parser_instCoeParserParserAliasValue(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4; uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_throwError___at_Lean_Parser_addToken___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1; lean_object* l_Lean_Parser_parserExtension___lambda__3___boxed(lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__8; lean_object* l_Lean_Parser_getBinaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_instCoeArrowParserParserParserAliasValue(lean_object*); lean_object* l_IO_ofExcept___at___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4; lean_object* l_Lean_Parser_registerParserAttributeHook(lean_object*, lean_object*); static lean_object* l_Lean_Parser_parserExtension___lambda__6___closed__1; lean_object* l_List_foldlM___at_Lean_Parser_addParserTokens___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__4; lean_object* l_Lean_Parser_mkParserOfConstantAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8; lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__1(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig_match__1(lean_object*); static lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1; lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__1(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_leadingIdentBehavior(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2; lean_object* l_Lean_Parser_addParser(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_categoryParserFnRef; lean_object* l_Lean_Parser_compileParserDescr_visit_match__1(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4____closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2; lean_object* l_Lean_Parser_getConstAlias___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Parser_builtinParserCategoriesRef; lean_object* l_Lean_Parser_tokenWithAntiquotFn(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___closed__3; lean_object* l_Lean_Parser_parserExtension; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7; static lean_object* l_Lean_Parser_parserExtension___closed__2; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4; lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); @@ -108,6 +109,7 @@ lean_object* l_Lean_Parser_getParserPriority_match__2(lean_object*); lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_Lean_Parser_addToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__7(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareBuiltinParser___closed__11; static lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; @@ -116,10 +118,9 @@ static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerPar static lean_object* l_Lean_Parser_declareBuiltinParser___closed__3; static lean_object* l_Lean_Parser_notFollowedByCommandToken___closed__1; lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1; static lean_object* l_Lean_Parser_getConstAlias___rarg___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1; lean_object* l_Std_PersistentHashMap_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__12; lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); @@ -135,15 +136,14 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_runParserAttributeHooks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__2(lean_object*); static lean_object* l_Lean_Parser_notFollowedByCommandToken___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4; static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg___closed__2; lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2; static lean_object* l_Lean_Parser_declareBuiltinParser___closed__1; lean_object* l_Lean_Parser_registerAliasCore(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Parser_categoryParserFnImpl(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__4; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1___boxed(lean_object*, lean_object*); @@ -154,6 +154,7 @@ lean_object* l_Lean_Parser_leadingParserAux___boxed(lean_object*, lean_object*, lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_23____closed__2; size_t l_USize_shiftRight(size_t, size_t); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3; lean_object* l_Lean_ScopedEnvExtension_addScopedEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserCategory___boxed(lean_object*, lean_object*); @@ -162,7 +163,7 @@ lean_object* l_Lean_Parser_getBinaryAlias_match__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__2; lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareBuiltinParser___closed__4; uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; @@ -175,7 +176,9 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Parser_addToken___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Parser_addToken___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserCategory(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Parser_getCategory___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2; static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___closed__2; lean_object* l_Lean_Parser_declareBuiltinParser_match__1(lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__3; @@ -194,6 +197,7 @@ lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategor lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___boxed(lean_object*, lean_object*); size_t l_UInt64_toUSize(uint64_t); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___closed__1; static size_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__2___closed__2; lean_object* l_Lean_Parser_getBinaryAlias_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -207,7 +211,6 @@ lean_object* l_Lean_Parser_getConstAlias(lean_object*); lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; static lean_object* l_Lean_Parser_mkParserOfConstantAux___rarg___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2; lean_object* l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Parser_addToken___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__2; @@ -219,8 +222,6 @@ static lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Par static uint32_t l_Lean_Parser_mkParserOfConstantAux___rarg___closed__1; lean_object* l_Lean_Parser_getConstAlias_match__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -230,9 +231,7 @@ static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuilt static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__4; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___boxed(lean_object*); static lean_object* l_Lean_Parser_ParserExtension_addEntryImpl___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2; lean_object* l_IO_ofExcept___at_Lean_Parser_mkParserOfConstantUnsafe___spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); @@ -243,7 +242,6 @@ lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Parser_getCategory___spec uint8_t l_Std_PersistentHashMap_containsAtAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_getBinaryAlias___rarg___closed__1; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -257,6 +255,7 @@ lean_object* l_Lean_Parser_ParserExtension_instInhabitedState; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1; static lean_object* l_Lean_Parser_parserExtension___closed__6; lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6; lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe(lean_object*); lean_object* l_Lean_registerAttributeOfBuilder(lean_object*, lean_object*, lean_object*, lean_object*); @@ -264,17 +263,17 @@ lean_object* l_Lean_Parser_commandParser(lean_object*); lean_object* l_Lean_Parser_sepBy(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_notFollowedByTermToken___closed__2; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2789_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2185_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2797_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2193_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_138_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_51_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_132_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_23_(lean_object*); lean_object* l_Std_PersistentHashMap_containsAtAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -290,6 +289,7 @@ lean_object* l_List_foldl___at___private_Lean_Parser_Extension_0__Lean_Parser_ad lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Parser_parserExtension___closed__4; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7; uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); @@ -317,7 +317,6 @@ lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_ uint64_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6; lean_object* l_Lean_ofExcept___at_Lean_Parser_addToken___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_categoryParserFnImpl___closed__4; lean_object* l_Lean_Parser_notFollowedByCategoryToken(lean_object*); @@ -343,8 +342,8 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__5; lean_object* l_Lean_Parser_instCoeArrowParserArrowParserParserParserAliasValue(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_mkInitial(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7; static lean_object* l_Lean_Parser_ParserExtension_instInhabitedState___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6; lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareTrailingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -363,6 +362,7 @@ lean_object* l_Lean_Parser_mkParserOfConstantAux(lean_object*, lean_object*, lea lean_object* l_Lean_Parser_getCategory___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4; lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Parser_runParserAttributeHooks___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -371,16 +371,15 @@ static lean_object* l_Lean_Parser_getParserPriority___closed__4; size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_FileMap_ofString(lean_object*); lean_object* l_Lean_Parser_addParser_match__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1; lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__2___boxed(lean_object*); static lean_object* l_Lean_Parser_registerAliasCore___rarg___closed__2; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_mkCategoryAntiquotParserFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_getParserPriority___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1; uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserExtension_instInhabitedEntry; @@ -388,6 +387,7 @@ lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn(lean_object*, lean_objec lean_object* l_Lean_Parser_registerAlias(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserAlias___boxed(lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Parser_addLeadingParser___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); @@ -416,7 +416,6 @@ static lean_object* l_Lean_Parser_parserExtension___closed__7; lean_object* l_Lean_Parser_getConstAlias___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_notFollowedByCategoryToken___closed__1; lean_object* l_Lean_Parser_declareLeadingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t); @@ -429,9 +428,9 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Pars lean_object* l_Lean_Parser_getUnaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Parser_runParserAttributeHooks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4; lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_scientificLitKind; @@ -440,14 +439,15 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_throwParserCategor lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__2(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7; static lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___closed__4; lean_object* l_Lean_Parser_ParserExtension_instInhabitedOLeanEntry; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_mkApp(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_ofExcept___at___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); @@ -468,6 +468,7 @@ lean_object* l_Lean_Parser_addLeadingParser(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Parser_ParserExtension_addEntryImpl___closed__3; static lean_object* l_Lean_Parser_parserExtension___closed__10; lean_object* l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3; lean_object* l_Lean_Parser_addLeadingParser_match__1(lean_object*); lean_object* l_Lean_Parser_symbolInfo(lean_object*); lean_object* l_Lean_Parser_parserAttributeHooks; @@ -481,7 +482,6 @@ lean_object* l_IO_ofExcept___at_Lean_Parser_mkParserOfConstantUnsafe___spec__1__ extern lean_object* l_Lean_regularInitAttr; lean_object* l_Lean_Parser_getParserPriority(lean_object*); lean_object* l_Lean_Parser_isParserAlias_match__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4; lean_object* l_Lean_Parser_builtinSyntaxNodeKindSetRef; lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); @@ -490,10 +490,10 @@ lean_object* l_Lean_Parser_mkParserState___boxed(lean_object*); lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry___boxed(lean_object*); lean_object* l_Lean_Parser_getBinaryAlias(lean_object*); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Parser_getCategory___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareBuiltinParser___closed__10; lean_object* l_Lean_Parser_declareBuiltinParser_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5; static lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__4___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -502,6 +502,7 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttri static lean_object* l_Lean_Parser_ParserExtension_instInhabitedEntry___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_notFollowedByCommandToken; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig___closed__1; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Parser_addToken___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__3; @@ -515,7 +516,6 @@ lean_object* l_Lean_Parser_parserExtension___lambda__2(lean_object*, lean_object lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_Parser_getSyntaxNodeKinds___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3; lean_object* l_Lean_Parser_TokenMap_insert___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_swap(lean_object*, lean_object*, lean_object*); @@ -538,10 +538,9 @@ lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, l lean_object* l_IO_ofExcept___at_Lean_Parser_mkParserOfConstantUnsafe___spec__3(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_contains___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3; lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5; lean_object* l_IO_ofExcept___at_Lean_Parser_mkParserOfConstantUnsafe___spec__3___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4; static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2___closed__1; lean_object* l_Lean_Parser_addLeadingParser_match__2(lean_object*); static lean_object* l_Lean_Parser_getParserPriority___closed__3; @@ -550,46 +549,47 @@ lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingIdentBehavior___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3; lean_object* l_Lean_Parser_parserExtension___lambda__3(lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__7___boxed(lean_object*); static lean_object* l_Lean_Parser_getParserPriority___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1; static lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1; lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*); uint32_t lean_uint32_of_nat(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_IO_ofExcept___at_Lean_KeyedDeclsAttribute_declareBuiltin___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__4(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1; lean_object* l_Lean_Parser_getParserPriority_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addParser_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__6(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3; lean_object* l_Lean_Parser_isParserAlias_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__2(lean_object*); lean_object* l_Lean_Parser_getAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2; lean_object* l_Lean_Parser_Trie_find_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getCategory(lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2; static lean_object* l_Lean_Parser_getConstAlias___rarg___closed__4; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit_match__2(lean_object*); lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -734,7 +734,7 @@ x_21 = l_Lean_Parser_registerBuiltinNodeKind(x_20, x_19); return x_21; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_132_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_138_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6920,7 +6920,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2185_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2193_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -8515,7 +8515,7 @@ x_6 = l_Lean_Parser_mkParserOfConstantUnsafe___rarg(x_2, x_5, x_3, x_4); return x_6; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2789_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2797_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -8668,7 +8668,7 @@ x_8 = l_Lean_Parser_runParserAttributeHooks(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -8712,7 +8712,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -8720,25 +8720,25 @@ x_1 = lean_mk_string("attribute cannot be erased"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2; +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1() { _start: { lean_object* x_1; @@ -8746,17 +8746,17 @@ x_1 = lean_mk_string("runBuiltinParserAttributeHooks"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3() { _start: { lean_object* x_1; @@ -8764,12 +8764,12 @@ x_1 = lean_mk_string("explicitly run hooks normally activated by builtin parser return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -8778,29 +8778,29 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -8808,37 +8808,37 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____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* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___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_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -8882,7 +8882,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1() { _start: { lean_object* x_1; @@ -8890,17 +8890,17 @@ x_1 = lean_mk_string("runParserAttributeHooks"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3() { _start: { lean_object* x_1; @@ -8908,12 +8908,12 @@ x_1 = lean_mk_string("explicitly run hooks normally activated by parser attribut return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -8922,21 +8922,21 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -8944,22 +8944,22 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____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* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } @@ -9178,7 +9178,7 @@ return x_36; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1() { _start: { lean_object* x_1; @@ -9186,17 +9186,17 @@ x_1 = lean_mk_string("parserExt"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3() { _start: { lean_object* x_1; @@ -9204,7 +9204,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parse return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4() { _start: { lean_object* x_1; @@ -9212,7 +9212,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parse return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5() { _start: { lean_object* x_1; @@ -9220,7 +9220,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ParserExtension_Entry_toOLeanEntr return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6() { _start: { lean_object* x_1; @@ -9228,7 +9228,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ParserExtension_addEntryImpl), 2, return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7() { _start: { lean_object* x_1; @@ -9236,16 +9236,16 @@ x_1 = lean_alloc_closure((void*)(l_id___rarg___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8() { _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; lean_object* x_7; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5; -x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5; +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7; x_7 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_2); @@ -9256,11 +9256,11 @@ lean_ctor_set(x_7, 5, x_6); return x_7; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8; x_3 = l_Lean_registerScopedEnvExtensionUnsafe___rarg(x_2, x_1); return x_3; } @@ -9379,7 +9379,7 @@ x_2 = l_Lean_Parser_parserExtension___closed__1; x_3 = l_Lean_Parser_parserExtension___closed__2; x_4 = l_Lean_Parser_parserExtension___closed__3; x_5 = l_Lean_Parser_parserExtension___closed__4; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7; x_7 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_2); @@ -12930,7 +12930,7 @@ lean_ctor_set_uint8(x_9, sizeof(void*)*2, x_8); x_10 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___boxed), 8, 2); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_2); -x_11 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6; +x_11 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6; x_12 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_12, 0, x_9); lean_ctor_set(x_12, 1, x_10); @@ -14002,7 +14002,7 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___rarg(lean_object _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2; x_5 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_4, x_1, x_2, x_3); return x_5; } @@ -14414,7 +14414,7 @@ x_7 = l_Lean_Parser_registerParserCategory(x_1, x_2, x_3, x_6, x_5); return x_7; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1() { _start: { lean_object* x_1; @@ -14422,17 +14422,17 @@ x_1 = lean_mk_string("builtinTermParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3() { _start: { lean_object* x_1; @@ -14440,28 +14440,28 @@ x_1 = lean_mk_string("term"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____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_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1() { _start: { lean_object* x_1; @@ -14469,27 +14469,27 @@ x_1 = lean_mk_string("termParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1() { _start: { lean_object* x_1; @@ -14497,17 +14497,17 @@ x_1 = lean_mk_string("builtinCommandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3() { _start: { lean_object* x_1; @@ -14515,28 +14515,28 @@ x_1 = lean_mk_string("command"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____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_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1() { _start: { lean_object* x_1; @@ -14544,22 +14544,22 @@ x_1 = lean_mk_string("commandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } @@ -14568,7 +14568,7 @@ lean_object* l_Lean_Parser_commandParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -14901,7 +14901,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByCategoryToken___closed__1() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7; x_2 = lean_box(1); x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_1); @@ -14927,7 +14927,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByCommandToken___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -14957,7 +14957,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByTermToken___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -15029,7 +15029,7 @@ lean_dec_ref(res); res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_51_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_132_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_138_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_builtinParserCategoriesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_builtinParserCategoriesRef); @@ -15127,68 +15127,68 @@ l_Lean_Parser_getUnaryAlias___rarg___closed__1 = _init_l_Lean_Parser_getUnaryAli lean_mark_persistent(l_Lean_Parser_getUnaryAlias___rarg___closed__1); l_Lean_Parser_getBinaryAlias___rarg___closed__1 = _init_l_Lean_Parser_getBinaryAlias___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_getBinaryAlias___rarg___closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2185_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2193_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_parserAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_parserAliasesRef); lean_dec_ref(res); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2789_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2797_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_parserAttributeHooks = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_parserAttributeHooks); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____lambda__2___closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852____closed__7); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2852_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____lambda__2___closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860____closed__7); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2860_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887____closed__6); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2887_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896____closed__6); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2896_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039____closed__8); l_Lean_Parser_parserExtension___lambda__6___closed__1 = _init_l_Lean_Parser_parserExtension___lambda__6___closed__1(); lean_mark_persistent(l_Lean_Parser_parserExtension___lambda__6___closed__1); l_Lean_Parser_parserExtension___closed__1 = _init_l_Lean_Parser_parserExtension___closed__1(); @@ -15215,7 +15215,7 @@ l_Lean_Parser_parserExtension___closed__11 = _init_l_Lean_Parser_parserExtension lean_mark_persistent(l_Lean_Parser_parserExtension___closed__11); l_Lean_Parser_parserExtension___closed__12 = _init_l_Lean_Parser_parserExtension___closed__12(); lean_mark_persistent(l_Lean_Parser_parserExtension___closed__12); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3029_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3039_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_parserExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_parserExtension); @@ -15330,40 +15330,40 @@ lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerPa res = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300____closed__4); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4300_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316____closed__4); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4316_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4326_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__4); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336____closed__4); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4336_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4346_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_notFollowedByCategoryTokenFn___closed__1 = _init_l_Lean_Parser_notFollowedByCategoryTokenFn___closed__1(); diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index 430a13462b..cadb572a7c 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -13,7 +13,8 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdentNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutInfo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -22,20 +23,18 @@ static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__17 lean_object* l_Lean_PrettyPrinter_Formatter_indent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLit___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28; lean_object* l_Lean_Parser_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_numLit___elambda__1___closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__14; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22; lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17; lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___rarg(lean_object*); static lean_object* l_Lean_Parser_optional___closed__1; static lean_object* l_Lean_Parser_commandParser_formatter___rarg___closed__2; @@ -43,180 +42,188 @@ static lean_object* l_Lean_Parser_commandParser_formatter___rarg___closed__1; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__5; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30; lean_object* l_Lean_Parser_ppSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__10; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25; lean_object* l_Lean_ppHardSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdentNoAntiquot_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_Parser_ppHardSpace___closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17; extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__6; static lean_object* l_Lean_Parser_ppHardSpace___closed__2; lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39; lean_object* l_Lean_PrettyPrinter_Formatter_sepByNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__10; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22; static lean_object* l_Lean_Parser_numLit___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29; static lean_object* l_Lean_Parser_antiquotExpr_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppSpace_parenthesizer___rarg(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52; static lean_object* l_Lean_Parser_many1Indent_parenthesizer___closed__1; lean_object* l_Lean_Parser_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__3; lean_object* l_Lean_Parser_sepBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9; lean_object* l_Lean_Parser_ppGroup___boxed(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__4; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29; lean_object* l_Lean_Parser_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__15; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27; static lean_object* l_Lean_Parser_numLit___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_indent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22; static lean_object* l_Lean_Parser_many___closed__5; static lean_object* l_Lean_Parser_ident_formatter___closed__1; lean_object* l_Lean_Parser_sepBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29; lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_manyNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52; static lean_object* l_Lean_Parser_nameLit_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__8; static lean_object* l_Lean_Parser_ident_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46; static lean_object* l_Lean_Parser_many___closed__2; lean_object* l_Lean_Parser_scientificLit; lean_object* l_Lean_ppSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23; lean_object* l_Lean_Parser_tokenWithAntiquotFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_many_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(lean_object*); lean_object* l_Lean_Parser_ident; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__13; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41; lean_object* l_id___rarg___boxed(lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21; static lean_object* l_Lean_Parser_sepByElemParser_formatter___closed__3; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6; static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19; lean_object* l_Lean_Parser_scientificLit___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1; static lean_object* l_Lean_Parser_strLit_formatter___closed__1; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21; lean_object* l_Lean_Parser_ppIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_optional_formatter___closed__4; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__9; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24; static lean_object* l_Lean_Parser_strLit_formatter___closed__2; lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__2; static lean_object* l_Lean_Parser_charLit___elambda__1___closed__1; lean_object* l_Lean_Parser_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_numLit___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51; static lean_object* l_Lean_Parser_optional_formatter___closed__2; static lean_object* l_Lean_Parser_charLit___elambda__1___closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51; lean_object* l_Lean_Parser_sepBy1_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6; static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__5; lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23; lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16; static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__14; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11; static lean_object* l_Lean_Parser_scientificLit___closed__4; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36; lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__4; lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppLine; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11; extern lean_object* l_Lean_nameLitKind; static lean_object* l_Lean_Parser_strLit___closed__1; lean_object* l_Lean_Parser_rawIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22; static lean_object* l_Lean_Parser_strLit_formatter___closed__3; static lean_object* l_Lean_Parser_leadingNode_formatter___closed__1; lean_object* l_Lean_Parser_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33; static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepByNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20; static lean_object* l_Lean_Parser_ident___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24; static lean_object* l_Lean_Parser_rawIdent___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49; static lean_object* l_Lean_Parser_numLit___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5; lean_object* l_Lean_Parser_rawIdentFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43; lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_termParser_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_ident_formatter___closed__3; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26; static lean_object* l_Lean_Parser_numLit___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42; static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__2; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_tokenWithAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48; static lean_object* l_Lean_Parser_ident___closed__4; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14; lean_object* l_Lean_Parser_ppSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquotSplice_parenthesizer___closed__1; static lean_object* l_Lean_Parser_ident___closed__2; @@ -224,16 +231,15 @@ lean_object* l_Lean_Parser_sepByElemParser_formatter___boxed(lean_object*, lean_ lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__7; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__12; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2; static lean_object* l_Lean_Parser_charLit_formatter___closed__2; lean_object* l_Lean_Parser_mkAntiquotSplice_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_strLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_strLit_parenthesizer___closed__2; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8; lean_object* l_Lean_Parser_termRegister__parser__alias______; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15; lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_rawIdent___closed__4; extern lean_object* l_Lean_numLitKind; @@ -241,123 +247,122 @@ static lean_object* l_Lean_Parser_strLit_parenthesizer___closed__1; lean_object* l_Lean_Parser_charLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLit_formatter___closed__4; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__9; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_scientificLit_formatter___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_scientificLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50; extern lean_object* l_Lean_strLitKind; static lean_object* l_Lean_Parser_mkAntiquotSplice_parenthesizer___closed__2; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_decQuotDepth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7; lean_object* l_Lean_Parser_nodeWithAntiquot_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3; lean_object* l_Lean_Parser_manyIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24; static lean_object* l_Lean_Parser_numLit_formatter___closed__1; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49; static lean_object* l_Lean_Parser_sepByElemParser_formatter___closed__1; lean_object* l_Lean_Parser_notSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12; lean_object* l_Lean_Parser_ppHardSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLit___closed__3; static lean_object* l_Lean_Parser_many___closed__1; lean_object* l_Lean_Parser_numLitFn(lean_object*, lean_object*); uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7; lean_object* l_Lean_Parser_optionaInfo(lean_object*); static lean_object* l_Lean_Parser_strLit___elambda__1___closed__2; static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit; lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7; static lean_object* l_Lean_Parser_many1Indent_formatter___closed__1; lean_object* l_Lean_Parser_charLitFn(lean_object*, lean_object*); static lean_object* l_Lean_Parser_strLit_formatter___closed__4; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__6; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18; lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15; static lean_object* l_Lean_Parser_charLit___closed__3; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55; lean_object* l_Lean_Parser_many1___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyIndent(lean_object*); static lean_object* l_Lean_Parser_nameLit___closed__1; lean_object* l_Lean_Parser_antiquotNestedExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4; static lean_object* l_Lean_Parser_numLit_formatter___closed__4; lean_object* l_Lean_Parser_ppSpace; static lean_object* l_Lean_Parser_optional___closed__5; lean_object* l_Lean_Parser_ppHardSpace; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5; extern lean_object* l_Lean_Parser_parserAliasesRef; lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLit___closed__2; lean_object* l_Lean_Parser_termParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42; static lean_object* l_Lean_Parser_sepByElemParser_formatter___closed__2; lean_object* l_Lean_Parser_ppIndent(lean_object*); lean_object* l_Lean_Parser_scientificLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15; lean_object* l_Lean_Parser_commandParser_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__3; lean_object* l_Lean_Syntax_getId(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53; extern lean_object* l_Lean_charLitKind; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42; static lean_object* l_Lean_Parser_nameLit___closed__4; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53; extern lean_object* l_Lean_Parser_maxPrec; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15; lean_object* l_Lean_Parser_rawIdent; static lean_object* l_Lean_Parser_optional___closed__3; static lean_object* l_Lean_Parser_antiquotExpr_parenthesizer___closed__2; lean_object* l_Lean_Parser_ppDedent(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3; static lean_object* l_Lean_Parser_strLit___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3; static lean_object* l_Lean_Parser_rawIdent___closed__5; lean_object* l_Lean_Parser_many1Indent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_scientificLitFn(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55; lean_object* l_Lean_Parser_nodeWithAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLit___closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12; lean_object* l_Lean_PrettyPrinter_Formatter_scientificLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11; lean_object* l_Lean_Parser_ppLine_parenthesizer___rarg(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__10; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__16; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50; static lean_object* l_Lean_Parser_antiquotExpr_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11; static lean_object* l_Lean_Parser_optional_formatter___closed__3; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47; static lean_object* l_Lean_Parser_rawIdent___elambda__1___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31; static lean_object* l_Lean_Parser_numLit_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31; static lean_object* l_Lean_Parser_scientificLit___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48; static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__9; static lean_object* l_Lean_Parser_numLit_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48; static lean_object* l_Lean_ppHardSpace_formatter___closed__2; lean_object* l_Lean_Parser_ppIndent___boxed(lean_object*); static lean_object* l_Lean_Parser_optional_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16; static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__1; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__11; lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -366,258 +371,253 @@ lean_object* l_Lean_Parser_sepBy1_parenthesizer___boxed(lean_object*, lean_objec lean_object* l_Lean_Parser_commandParser_formatter(lean_object*); static lean_object* l_Lean_Parser_rawIdent_parenthesizer___closed__1; static lean_object* l_Lean_Parser_strLit___closed__3; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31; lean_object* l_Lean_Parser_manyAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLit___closed__4; static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__6; static lean_object* l_Lean_ppHardSpace_formatter___closed__1; static lean_object* l_Lean_Parser_numLit_parenthesizer___closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_nameLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_rawIdent___closed__2; static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__6; lean_object* l_Lean_Parser_mkAntiquot_formatter(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26; lean_object* l_Lean_ppHardSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9; static lean_object* l_Lean_Parser_nameLit___elambda__1___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26; lean_object* l_Lean_Parser_notSymbol(lean_object*); lean_object* l_Lean_Parser_sepByElemParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24; lean_object* l_Lean_Parser_termParser_formatter(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24; lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_groupKind; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49; static lean_object* l_Lean_Parser_ident___elambda__1___closed__1; lean_object* l_Lean_ppGroup_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__1; extern lean_object* l_Lean_identKind; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7; lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_many_formatter___closed__3; lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLit_parenthesizer___closed__1; -lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32; lean_object* l_Lean_Parser_numLit; static lean_object* l_Lean_Parser_many___closed__4; static lean_object* l_Lean_Parser_charLit_formatter___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27; lean_object* l_Lean_Parser_ppHardSpace___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7; lean_object* l_Lean_Parser_numLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_decQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppDedent___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_push(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488_(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489_(lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; extern lean_object* l_Lean_scientificLitKind; static lean_object* l_Lean_Parser_scientificLit___elambda__1___closed__1; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8; static lean_object* l_Lean_Parser_termParser_formatter___rarg___closed__2; lean_object* l_Lean_Parser_ppGroup_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_scientificLit_parenthesizer___closed__2; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__16; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Parser_scientificLit___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29; static lean_object* l_Lean_Parser_termParser_formatter___rarg___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__10; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3; static lean_object* l_Lean_Parser_nameLit_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14; lean_object* l_Lean_Parser_many___elambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLit_parenthesizer___closed__1; lean_object* l_Lean_Parser_symbolInfo(lean_object*); lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_charLit_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15; static lean_object* l_Lean_Parser_charLit_formatter___closed__3; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30; lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_notSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17; lean_object* l_Lean_ppLine_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_optional___closed__2; lean_object* l_Lean_Parser_many1Indent(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ppDedent_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__15; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30; lean_object* l_Std_Format_getIndent(lean_object*); static lean_object* l_Lean_Parser_ident___elambda__1___closed__2; lean_object* l_Lean_Parser_notSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1; lean_object* l_Lean_Parser_sepByElemParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLit_formatter___closed__1; lean_object* l_Lean_Parser_antiquotExpr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_optional_formatter___closed__1; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquotSplice_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35; static lean_object* l_Lean_Parser_numLit_formatter___closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47; lean_object* l_Lean_Parser_sepBy1_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; lean_object* l_Lean_Parser_numLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36; lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47; static lean_object* l_Lean_Parser_scientificLit_formatter___closed__4; lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10; lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withoutInfo_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_many_formatter___closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1; lean_object* l_Lean_Parser_nameLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34; static lean_object* l_Lean_Parser_scientificLit_formatter___closed__1; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44; lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46; lean_object* l_Lean_Parser_nameLit___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41; static lean_object* l_Lean_Parser_rawIdent___closed__1; static lean_object* l_Lean_Parser_many_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34; static lean_object* l_Lean_Parser_scientificLit_formatter___closed__2; static lean_object* l_Lean_Parser_strLit___closed__4; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1; static lean_object* l_Lean_ppLine_formatter___closed__1; static lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__4; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17; lean_object* l_Lean_PrettyPrinter_Formatter_charLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__13; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25; static lean_object* l_Lean_Parser_nameLit_formatter___closed__2; lean_object* l_Lean_Parser_ppGroup(lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__4; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Parser_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1; static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8; static lean_object* l_Lean_Parser_ident_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25; static lean_object* l_Lean_Parser_optional___closed__4; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9; static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__3; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6; static lean_object* l_Lean_ppLine_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22; static lean_object* l_Lean_Parser_rawIdent_formatter___closed__1; lean_object* l_Lean_Parser_ppHardSpace___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; static lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__12; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__6; lean_object* l_Lean_Parser_mkAntiquotSplice_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_notSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol_formatter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12; lean_object* l_Lean_Parser_antiquotExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__8; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45; lean_object* l_Lean_Parser_numLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional___elambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25; lean_object* l_Lean_Parser_sepBy_parenthesizer(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41; static lean_object* l_Lean_Parser_ident___closed__3; static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_nameLit_formatter___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13; static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__7; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquotSuffixSplice_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setLhsPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__8; static lean_object* l_Lean_Parser_scientificLit___closed__2; static lean_object* l_Lean_Parser_many1Indent___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44; lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tokenWithAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_group(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23; lean_object* lean_nat_to_int(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39; static lean_object* l_Lean_Parser_scientificLit_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51; static lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_nameLit___elambda__1___closed__2; lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_termRegister__parser__alias_________closed__15; -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11; +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19; lean_object* l_Lean_Parser_notSymbol_parenthesizer___rarg(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8; lean_object* l_Lean_Parser_rawIdent___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21; lean_object* l_Lean_Parser_strLit; lean_object* l_Lean_Parser_many1(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50; static lean_object* l_Lean_Parser_scientificLit___closed__1; lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepByElemParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_strLit___closed__2; -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51; lean_object* l_Lean_Parser_ppDedent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; lean_object* l_Lean_Parser_notSymbol_formatter___rarg(lean_object*); static lean_object* l_Lean_Parser_antiquotExpr_formatter___closed__1; +static lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39; static lean_object* l_Lean_Parser_leadingNode_formatter___closed__2; lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppDedent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813_(lean_object*); lean_object* l_Lean_Parser_ppLine_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4643,7 +4643,7 @@ x_1 = l_Lean_Parser_termRegister__parser__alias_________closed__17; return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1() { _start: { lean_object* x_1; @@ -4651,17 +4651,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_termRegister__parser__alias_________closed__4; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3() { _start: { lean_object* x_1; @@ -4669,17 +4669,17 @@ x_1 = lean_mk_string("do"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5() { _start: { lean_object* x_1; @@ -4687,17 +4687,17 @@ x_1 = lean_mk_string("doSeqIndent"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7() { _start: { lean_object* x_1; @@ -4705,17 +4705,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9() { _start: { lean_object* x_1; @@ -4723,17 +4723,17 @@ x_1 = lean_mk_string("doSeqItem"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11() { _start: { lean_object* x_1; @@ -4741,17 +4741,17 @@ x_1 = lean_mk_string("doExpr"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13() { _start: { lean_object* x_1; @@ -4759,17 +4759,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15() { _start: { lean_object* x_1; @@ -4777,22 +4777,22 @@ x_1 = lean_mk_string("Parser.registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4800,7 +4800,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4810,7 +4810,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19() { _start: { lean_object* x_1; @@ -4818,51 +4818,51 @@ x_1 = lean_mk_string("registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_termRegister__parser__alias_________closed__4; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21; 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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22; 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_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -4871,7 +4871,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -4880,7 +4880,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -4889,19 +4889,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26; 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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28() { _start: { lean_object* x_1; @@ -4909,22 +4909,22 @@ x_1 = lean_mk_string("PrettyPrinter.Formatter.registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4932,7 +4932,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31() { _start: { lean_object* x_1; @@ -4940,17 +4940,17 @@ x_1 = lean_mk_string("PrettyPrinter"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33() { _start: { lean_object* x_1; @@ -4958,81 +4958,81 @@ x_1 = lean_mk_string("Formatter"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_termRegister__parser__alias_________closed__2; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38; 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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39; 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_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41() { _start: { lean_object* x_1; @@ -5040,17 +5040,17 @@ x_1 = lean_mk_string("formatter"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43() { _start: { lean_object* x_1; @@ -5058,22 +5058,22 @@ x_1 = lean_mk_string("PrettyPrinter.Parenthesizer.registerAlias"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44; +x_3 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5081,7 +5081,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46() { _start: { lean_object* x_1; @@ -5089,71 +5089,71 @@ x_1 = lean_mk_string("Parenthesizer"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49; -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19; +x_1 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50; 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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51; 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_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53() { _start: { lean_object* x_1; @@ -5161,17 +5161,17 @@ x_1 = lean_mk_string("parenthesizer"); return x_1; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53; +x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55() { +static lean_object* _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55() { _start: { lean_object* x_1; lean_object* x_2; @@ -5180,7 +5180,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5206,7 +5206,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -5217,57 +5217,57 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3; +x_17 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20; +x_19 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17; -x_22 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23; +x_21 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17; +x_22 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24; +x_24 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24; x_25 = lean_array_push(x_24, x_9); lean_inc(x_11); lean_inc(x_25); x_26 = lean_array_push(x_25, x_11); -x_27 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8; +x_27 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____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_24, x_23); x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14; +x_31 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25; +x_33 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25; x_34 = lean_array_push(x_33, x_32); -x_35 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12; +x_35 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12; x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); x_37 = lean_array_push(x_24, x_36); -x_38 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27; +x_38 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27; x_39 = lean_array_push(x_37, x_38); -x_40 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10; +x_40 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10; 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 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35; +x_42 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35; lean_inc(x_15); lean_inc(x_16); x_43 = l_Lean_addMacroScope(x_16, x_42, x_15); -x_44 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30; -x_45 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40; +x_44 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30; +x_45 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40; lean_inc(x_14); x_46 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_46, 0, x_14); @@ -5275,7 +5275,7 @@ lean_ctor_set(x_46, 1, x_44); lean_ctor_set(x_46, 2, x_43); lean_ctor_set(x_46, 3, x_45); x_47 = l_Lean_Syntax_getId(x_11); -x_48 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42; +x_48 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42; x_49 = l_Lean_Name_append(x_47, x_48); x_50 = l_Lean_mkIdentFrom(x_11, x_49); lean_inc(x_25); @@ -5297,16 +5297,16 @@ x_59 = lean_array_push(x_58, x_38); x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_40); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48; +x_61 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48; x_62 = l_Lean_addMacroScope(x_16, x_61, x_15); -x_63 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45; -x_64 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52; +x_63 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45; +x_64 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52; x_65 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_65, 0, x_14); lean_ctor_set(x_65, 1, x_63); lean_ctor_set(x_65, 2, x_62); lean_ctor_set(x_65, 3, x_64); -x_66 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54; +x_66 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54; x_67 = l_Lean_Name_append(x_47, x_66); lean_dec(x_47); x_68 = l_Lean_mkIdentFrom(x_11, x_67); @@ -5329,7 +5329,7 @@ x_77 = lean_array_push(x_76, x_38); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_40); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55; +x_79 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55; x_80 = lean_array_push(x_79, x_41); x_81 = lean_array_push(x_80, x_60); x_82 = lean_array_push(x_81, x_78); @@ -5337,13 +5337,13 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_27); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_33, x_83); -x_85 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6; +x_85 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____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 = lean_array_push(x_24, x_18); x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4; +x_89 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); @@ -5363,57 +5363,57 @@ lean_inc(x_93); x_94 = lean_ctor_get(x_2, 1); lean_inc(x_94); lean_dec(x_2); -x_95 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3; +x_95 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3; lean_inc(x_91); x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_91); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20; +x_97 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20; lean_inc(x_93); lean_inc(x_94); x_98 = l_Lean_addMacroScope(x_94, x_97, x_93); -x_99 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17; -x_100 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23; +x_99 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17; +x_100 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23; lean_inc(x_91); x_101 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_101, 0, x_91); lean_ctor_set(x_101, 1, x_99); lean_ctor_set(x_101, 2, x_98); lean_ctor_set(x_101, 3, x_100); -x_102 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24; +x_102 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24; x_103 = lean_array_push(x_102, x_9); lean_inc(x_11); lean_inc(x_103); x_104 = lean_array_push(x_103, x_11); -x_105 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8; +x_105 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8; x_106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); x_107 = lean_array_push(x_102, x_101); x_108 = lean_array_push(x_107, x_106); -x_109 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14; +x_109 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14; 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_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25; +x_111 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25; x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12; +x_113 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12; 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_102, x_114); -x_116 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27; +x_116 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27; x_117 = lean_array_push(x_115, x_116); -x_118 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10; +x_118 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10; x_119 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); -x_120 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35; +x_120 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35; lean_inc(x_93); lean_inc(x_94); x_121 = l_Lean_addMacroScope(x_94, x_120, x_93); -x_122 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30; -x_123 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40; +x_122 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30; +x_123 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40; lean_inc(x_91); x_124 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_124, 0, x_91); @@ -5421,7 +5421,7 @@ lean_ctor_set(x_124, 1, x_122); lean_ctor_set(x_124, 2, x_121); lean_ctor_set(x_124, 3, x_123); x_125 = l_Lean_Syntax_getId(x_11); -x_126 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42; +x_126 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42; x_127 = l_Lean_Name_append(x_125, x_126); x_128 = l_Lean_mkIdentFrom(x_11, x_127); lean_inc(x_103); @@ -5443,16 +5443,16 @@ x_137 = lean_array_push(x_136, x_116); x_138 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_138, 0, x_118); lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48; +x_139 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48; x_140 = l_Lean_addMacroScope(x_94, x_139, x_93); -x_141 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45; -x_142 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52; +x_141 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45; +x_142 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52; x_143 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_143, 0, x_91); lean_ctor_set(x_143, 1, x_141); lean_ctor_set(x_143, 2, x_140); lean_ctor_set(x_143, 3, x_142); -x_144 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54; +x_144 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54; x_145 = l_Lean_Name_append(x_125, x_144); lean_dec(x_125); x_146 = l_Lean_mkIdentFrom(x_11, x_145); @@ -5475,7 +5475,7 @@ x_155 = lean_array_push(x_154, x_116); x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_118); lean_ctor_set(x_156, 1, x_155); -x_157 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55; +x_157 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55; x_158 = lean_array_push(x_157, x_119); x_159 = lean_array_push(x_158, x_138); x_160 = lean_array_push(x_159, x_156); @@ -5483,13 +5483,13 @@ x_161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_161, 0, x_105); lean_ctor_set(x_161, 1, x_160); x_162 = lean_array_push(x_111, x_161); -x_163 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6; +x_163 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6; x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_163); lean_ctor_set(x_164, 1, x_162); x_165 = lean_array_push(x_102, x_96); x_166 = lean_array_push(x_165, x_164); -x_167 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4; +x_167 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4; x_168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_168, 0, x_167); lean_ctor_set(x_168, 1, x_166); @@ -5501,7 +5501,7 @@ return x_169; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1() { _start: { lean_object* x_1; @@ -5509,17 +5509,17 @@ x_1 = lean_mk_string("group"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3() { _start: { lean_object* x_1; @@ -5527,17 +5527,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5() { _start: { lean_object* x_1; @@ -5545,17 +5545,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7() { _start: { lean_object* x_1; @@ -5563,17 +5563,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_group_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9() { _start: { lean_object* x_1; @@ -5581,17 +5581,17 @@ x_1 = lean_mk_string("ppHardSpace"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -5601,7 +5601,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12() { _start: { lean_object* x_1; @@ -5609,17 +5609,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppHardSpace_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14() { _start: { lean_object* x_1; @@ -5627,17 +5627,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppHardSpace_parenthesizer___boxed return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16() { _start: { lean_object* x_1; @@ -5645,17 +5645,17 @@ x_1 = lean_mk_string("ppSpace"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18() { _start: { lean_object* x_1; @@ -5663,17 +5663,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppSpace_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20() { _start: { lean_object* x_1; @@ -5681,17 +5681,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppSpace_parenthesizer___boxed), 4 return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22() { _start: { lean_object* x_1; @@ -5699,17 +5699,17 @@ x_1 = lean_mk_string("ppLine"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24() { _start: { lean_object* x_1; @@ -5717,17 +5717,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppLine_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26() { _start: { lean_object* x_1; @@ -5735,17 +5735,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppLine_parenthesizer___boxed), 4, return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26; 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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28() { _start: { lean_object* x_1; @@ -5753,17 +5753,17 @@ x_1 = lean_mk_string("ppGroup"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30() { _start: { lean_object* x_1; @@ -5771,17 +5771,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppGroup___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32() { _start: { lean_object* x_1; @@ -5789,17 +5789,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppGroup_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34() { _start: { lean_object* x_1; @@ -5807,17 +5807,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppGroup_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36() { _start: { lean_object* x_1; @@ -5825,17 +5825,17 @@ x_1 = lean_mk_string("ppIndent"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38() { _start: { lean_object* x_1; @@ -5843,17 +5843,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppIndent___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40() { _start: { lean_object* x_1; @@ -5861,17 +5861,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppIndent_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42() { _start: { lean_object* x_1; @@ -5879,17 +5879,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppIndent_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44() { _start: { lean_object* x_1; @@ -5897,17 +5897,17 @@ x_1 = lean_mk_string("ppDedent"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46() { _start: { lean_object* x_1; @@ -5915,17 +5915,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppDedent___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48() { _start: { lean_object* x_1; @@ -5933,17 +5933,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_ppDedent_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50() { _start: { lean_object* x_1; @@ -5951,23 +5951,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ppDedent_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489_(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_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -5976,7 +5976,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_Extra___hyg_488____closed__6; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -5985,7 +5985,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_Extra___hyg_488____closed__8; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -5993,8 +5993,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -6002,7 +6002,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_Extra___hyg_488____closed__13; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -6010,7 +6010,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_Extra___hyg_488____closed__15; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -6018,7 +6018,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17; x_26 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_16, x_24); if (lean_obj_tag(x_26) == 0) { @@ -6026,7 +6026,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19; +x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_28, x_27); if (lean_obj_tag(x_29) == 0) { @@ -6034,7 +6034,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21; +x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21; x_32 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_31, x_30); if (lean_obj_tag(x_32) == 0) { @@ -6042,7 +6042,7 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23; +x_34 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23; x_35 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_34, x_16, x_33); if (lean_obj_tag(x_35) == 0) { @@ -6050,7 +6050,7 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25; +x_37 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25; x_38 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_34, x_37, x_36); if (lean_obj_tag(x_38) == 0) { @@ -6058,7 +6058,7 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); -x_40 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27; +x_40 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_34, x_40, x_39); if (lean_obj_tag(x_41) == 0) { @@ -6066,8 +6066,8 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); -x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29; -x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31; +x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29; +x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -6075,7 +6075,7 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33; +x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33; x_48 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_43, x_47, x_46); if (lean_obj_tag(x_48) == 0) { @@ -6083,7 +6083,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35; +x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35; x_51 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_43, x_50, x_49); if (lean_obj_tag(x_51) == 0) { @@ -6091,8 +6091,8 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_dec(x_51); -x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37; -x_54 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39; +x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37; +x_54 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39; x_55 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_53, x_54, x_52); if (lean_obj_tag(x_55) == 0) { @@ -6100,7 +6100,7 @@ lean_object* x_56; lean_object* x_57; lean_object* x_58; x_56 = lean_ctor_get(x_55, 1); lean_inc(x_56); lean_dec(x_55); -x_57 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41; +x_57 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41; x_58 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_53, x_57, x_56); if (lean_obj_tag(x_58) == 0) { @@ -6108,7 +6108,7 @@ lean_object* x_59; lean_object* x_60; lean_object* x_61; x_59 = lean_ctor_get(x_58, 1); lean_inc(x_59); lean_dec(x_58); -x_60 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43; +x_60 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43; x_61 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_53, x_60, x_59); if (lean_obj_tag(x_61) == 0) { @@ -6116,8 +6116,8 @@ lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); lean_dec(x_61); -x_63 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45; -x_64 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47; +x_63 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45; +x_64 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47; x_65 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_63, x_64, x_62); if (lean_obj_tag(x_65) == 0) { @@ -6125,7 +6125,7 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); -x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49; +x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49; x_68 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_63, x_67, x_66); if (lean_obj_tag(x_68) == 0) { @@ -6133,7 +6133,7 @@ lean_object* x_69; lean_object* x_70; lean_object* x_71; x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); lean_dec(x_68); -x_70 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51; +x_70 = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51; x_71 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_63, x_70, x_69); return x_71; } @@ -6598,7 +6598,7 @@ return x_151; } } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1() { _start: { lean_object* x_1; @@ -6606,17 +6606,17 @@ x_1 = lean_mk_string("num"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3() { _start: { lean_object* x_1; @@ -6624,17 +6624,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_numLit_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5() { _start: { lean_object* x_1; @@ -6642,17 +6642,17 @@ x_1 = lean_mk_string("scientific"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7() { _start: { lean_object* x_1; @@ -6660,17 +6660,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_scientificLit_parenthesizer), 5, return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9() { _start: { lean_object* x_1; @@ -6678,17 +6678,17 @@ x_1 = lean_mk_string("str"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11() { _start: { lean_object* x_1; @@ -6696,17 +6696,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_strLit_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13() { _start: { lean_object* x_1; @@ -6714,17 +6714,17 @@ x_1 = lean_mk_string("char"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15() { _start: { lean_object* x_1; @@ -6732,17 +6732,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_charLit_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17() { _start: { lean_object* x_1; @@ -6750,17 +6750,17 @@ x_1 = lean_mk_string("name"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19() { _start: { lean_object* x_1; @@ -6768,17 +6768,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_nameLit_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6788,7 +6788,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22() { _start: { lean_object* x_1; @@ -6796,17 +6796,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22; 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_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24() { _start: { lean_object* x_1; @@ -6814,17 +6814,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26() { _start: { lean_object* x_1; @@ -6832,17 +6832,17 @@ x_1 = lean_mk_string("many1"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26; +x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28() { _start: { lean_object* x_1; @@ -6850,17 +6850,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many1_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30() { _start: { lean_object* x_1; @@ -6868,23 +6868,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813_(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_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_3 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2; -x_4 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4; +x_3 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -6892,8 +6892,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6; -x_8 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8; +x_7 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6; +x_8 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -6901,8 +6901,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10; -x_12 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12; +x_11 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10; +x_12 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -6910,8 +6910,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14; -x_16 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16; +x_15 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14; +x_16 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -6919,8 +6919,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18; -x_20 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20; +x_19 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18; +x_20 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -6928,8 +6928,8 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21; -x_24 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23; +x_23 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21; +x_24 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -6938,7 +6938,7 @@ x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); x_27 = l_Lean_Parser_many_formatter___closed__2; -x_28 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25; +x_28 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -6946,8 +6946,8 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27; -x_32 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29; +x_31 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27; +x_32 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -6956,7 +6956,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_optional_formatter___closed__2; -x_36 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31; +x_36 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); return x_37; } @@ -7145,7 +7145,7 @@ return x_69; } } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1() { _start: { lean_object* x_1; @@ -7153,17 +7153,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_numLit_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3() { _start: { lean_object* x_1; @@ -7171,17 +7171,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_scientificLit_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5() { _start: { lean_object* x_1; @@ -7189,17 +7189,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_strLit_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7() { _start: { lean_object* x_1; @@ -7207,17 +7207,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_charLit_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9() { _start: { lean_object* x_1; @@ -7225,17 +7225,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_nameLit_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11() { _start: { lean_object* x_1; @@ -7243,17 +7243,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11; 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_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13() { _start: { lean_object* x_1; @@ -7261,17 +7261,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15() { _start: { lean_object* x_1; @@ -7279,17 +7279,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many1_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17() { _start: { lean_object* x_1; @@ -7297,23 +7297,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17; +x_1 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958_(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_PrettyPrinter_Formatter_formatterAliasesRef; -x_3 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2; -x_4 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2; +x_3 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -7321,8 +7321,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6; -x_8 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4; +x_7 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6; +x_8 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -7330,8 +7330,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10; -x_12 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6; +x_11 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10; +x_12 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -7339,8 +7339,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14; -x_16 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8; +x_15 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14; +x_16 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -7348,8 +7348,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18; -x_20 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10; +x_19 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18; +x_20 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -7357,8 +7357,8 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21; -x_24 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12; +x_23 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21; +x_24 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -7367,7 +7367,7 @@ x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); x_27 = l_Lean_Parser_many_formatter___closed__2; -x_28 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14; +x_28 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -7375,8 +7375,8 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27; -x_32 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16; +x_31 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27; +x_32 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -7385,7 +7385,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_optional_formatter___closed__2; -x_36 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18; +x_36 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); return x_37; } @@ -7993,323 +7993,323 @@ l_Lean_Parser_termRegister__parser__alias_________closed__17 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_termRegister__parser__alias_________closed__17); l_Lean_Parser_termRegister__parser__alias______ = _init_l_Lean_Parser_termRegister__parser__alias______(); lean_mark_persistent(l_Lean_Parser_termRegister__parser__alias______); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__1); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__2); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__3); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__4); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__5); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__6); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__7); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__8); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__9); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__10); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__11); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__12); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__13); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__14); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__15); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__16); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__17); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__18); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__19); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__20); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__21); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__22); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__23); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__24); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__25); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__26); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__27); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__28); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__29); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__30); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__31); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__32); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__33); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__34); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__35); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__36); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__37); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__38); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__39); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__40); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__41); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__42); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__43); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__44); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__45); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__46); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__47); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__48); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__49); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__50); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__51); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__52); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__53); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__54); -l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55(); -lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_258____closed__55); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__36); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__37); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__38); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__39); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__40); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__41); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__42); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__43); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__44); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__45); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__46); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__47); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__48); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__49); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__50); -l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__51); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488_(lean_io_mk_world()); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__1); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__2); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__3); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__4); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__5); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__6); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__7); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__8); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__9); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__10); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__11); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__12); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__13); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__14); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__15); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__16); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__17); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__18); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__19); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__20); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__21); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__22); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__23); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__24); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__25); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__26); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__27); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__28); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__29); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__30); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__31); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__32); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__33); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__34); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__35); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__36); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__37); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__38); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__39); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__40); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__41); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__42); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__43); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__44); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__45); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__46); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__47); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__48); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__49); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__50); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__51); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__52); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__53); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__54); +l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55 = _init_l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55(); +lean_mark_persistent(l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_259____closed__55); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__37); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__38); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__39); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__40); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__41); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__42); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__43); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__44); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__45); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__46); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__47); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__48); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__49); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__50); +l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489____closed__51); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_489_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__1); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__2); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__3); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__4); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__5); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__6); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__7); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__8); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__9); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__10); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__12); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__13); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__14); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__15); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__16); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__17); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__18); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__19); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__20); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__21); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__22); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__23); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__24); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__25); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__26); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__27); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__28); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__29); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__30); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__31); -res = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__1); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__2); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__3); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__4); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__5); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__6); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__7); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__8); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__9); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__10); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__11); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__12); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__13); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__14); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__15); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__16); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__17); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__18); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__19); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__20); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__21); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__22); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__23); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__24); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__25); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__26); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__27); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__28); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__29); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__30); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813____closed__31); +res = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_813_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__1); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__2); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__3); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__4); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__5); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__6); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__7); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__8); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__9); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__10); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__11); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__12); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__13); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__14); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__15); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__16); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__17); -l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929____closed__18); -res = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_929_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__1); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__2); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__3); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__4); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__5); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__6); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__7); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__8); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__9); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__10); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__11); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__12); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__13); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__14); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__15); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__16); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__17); +l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18 = _init_l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958____closed__18); +res = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_958_(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/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 5dc597b7ea..d29574e417 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -231,7 +231,7 @@ static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__8; static lean_object* l_Lean_Parser_Command_macroArgSimple___closed__5; lean_object* l_Lean_Parser_Command_macro_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__14; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4_(lean_object*); static lean_object* l_Lean_Parser_Command_infixr___closed__7; static lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__3; @@ -856,7 +856,6 @@ static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_numPrec_formatter___closed__2; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__17; @@ -877,6 +876,7 @@ static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__3; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__14; lean_object* l_Lean_Parser_Command_identPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot___closed__2; static lean_object* l_Lean_Parser_Command_namedName___closed__12; @@ -938,6 +938,7 @@ static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Term_prio_quot___closed__1; lean_object* l_Lean_Parser_Syntax_cat; static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1; static lean_object* l_Lean_Parser_Command_macroArgSymbol_formatter___closed__6; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__15; @@ -1008,7 +1009,6 @@ static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__14; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__1; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__8; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__4; @@ -1023,7 +1023,6 @@ static lean_object* l_Lean_Parser_Command_optKind___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__8; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__17; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__13; static lean_object* l_Lean_Parser_Command_macro__rules___closed__11; static lean_object* l_Lean_Parser_Command_syntax___closed__16; @@ -1033,6 +1032,7 @@ static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__3 static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__5; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; extern lean_object* l_Lean_Parser_Command_optNamedPrio; static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__16; @@ -1065,7 +1065,6 @@ static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__3; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Term_prio_quot___closed__9; lean_object* l_Lean_Parser_Command_elab___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6; static lean_object* l_Lean_Parser_Command_macroArgSymbol_formatter___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__2; @@ -1077,6 +1076,7 @@ static lean_object* l_Lean_Parser_precedence_formatter___closed__5; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__12; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__2; @@ -1301,13 +1301,13 @@ static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__4; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5; extern lean_object* l_Lean_Parser_numLit; lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_macroArgSymbol___closed__5; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Syntax_paren___closed__2; lean_object* l_Lean_Parser_Command_mixfixKind___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__20; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__11; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__5; @@ -1411,8 +1411,8 @@ static lean_object* l_Lean_Parser_precedence_parenthesizer___closed__5; lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroArgSymbol___closed__6; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__15; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3; static lean_object* l_Lean_Parser_Syntax_unary___closed__6; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__7; @@ -2130,7 +2130,7 @@ return x_12; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1() { _start: { lean_object* x_1; @@ -2138,17 +2138,17 @@ x_1 = lean_mk_string("builtinPrecParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3() { _start: { lean_object* x_1; @@ -2156,17 +2156,17 @@ x_1 = lean_mk_string("prec"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____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_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5() { _start: { lean_object* x_1; @@ -2174,22 +2174,22 @@ x_1 = lean_mk_string("precParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_4 = 2; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) @@ -2198,7 +2198,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6; x_8 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_7, x_3, x_6); return x_8; } @@ -2230,7 +2230,7 @@ lean_object* l_Lean_Parser_precedenceParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -2604,7 +2604,7 @@ static lean_object* _init_l_Lean_Parser_precedence___elambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_2 = l_Lean_Parser_maxPrec; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -2801,7 +2801,7 @@ return x_25; else { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_27 = l_Lean_Parser_maxPrec; lean_inc(x_1); x_28 = l_Lean_Parser_categoryParser___elambda__1(x_26, x_27, x_1, x_18); @@ -2841,7 +2841,7 @@ static lean_object* _init_l_Lean_Parser_precedence___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_2 = l_Lean_Parser_maxPrec; x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -3103,7 +3103,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Syntax_numPrec(lean_object* x_1) { _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_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_3 = l___regBuiltinParser_Lean_Parser_Syntax_numPrec___closed__4; x_4 = 1; x_5 = l_Lean_Parser_Syntax_numPrec; @@ -4376,7 +4376,7 @@ lean_object* l_Lean_Parser_precedenceParser_formatter___rarg(lean_object* x_1, l _start: { lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5); return x_7; } @@ -4595,7 +4595,7 @@ lean_object* l_Lean_Parser_precedenceParser_parenthesizer(lean_object* x_1, lean _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6); return x_8; } @@ -9962,7 +9962,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -10002,7 +10002,7 @@ static lean_object* _init_l_Lean_Parser_Term_prec_quot___elambda__1___closed__5( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -10316,7 +10316,7 @@ static lean_object* _init_l_Lean_Parser_Term_prec_quot___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -27468,19 +27468,19 @@ lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____c res = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_precedence___elambda__1___lambda__1___closed__1 = _init_l_Lean_Parser_precedence___elambda__1___lambda__1___closed__1(); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index cff6125adf..940ddf6c7f 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -119,6 +119,7 @@ static lean_object* l_Lean_Parser_Term_nomatch_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__21; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__9; static lean_object* l_Lean_Parser_Term_macroLastArg_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer___closed__1; @@ -205,7 +206,6 @@ static lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__5; static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11; lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__9; lean_object* l_Lean_Parser_Term_pipeProj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -309,6 +309,7 @@ static lean_object* l_Lean_Parser_Term_argument___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_arrow___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_inaccessible___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__3; @@ -341,7 +342,6 @@ lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__19; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__19; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26; lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter(lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder(uint8_t); static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__5; @@ -514,7 +514,6 @@ lean_object* l_Lean_Parser_Term_match_parenthesizer(lean_object*, lean_object*, static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__31; static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__7; @@ -628,6 +627,7 @@ static lean_object* l_Lean_Parser_Term_forall_formatter___closed__5; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__4; static lean_object* l_Lean_Parser_Level_quot___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__7; static lean_object* l_Lean_Parser_Term_binderTactic___closed__7; @@ -744,6 +744,7 @@ static lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__3; @@ -755,6 +756,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_noImplicitLambda_formatter___closed__4; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_ident___closed__1; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__4; @@ -850,7 +852,6 @@ static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_local___closed__6; static lean_object* l_Lean_Parser_Term_attr_quot___closed__6; static lean_object* l_Lean_Parser_Term_arrayRef___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_char_formatter___closed__2; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__2; @@ -925,7 +926,6 @@ static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__3; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24; static lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__1; static lean_object* l_Lean_Parser_Term_optIdent___closed__4; lean_object* l_Lean_Parser_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1035,6 +1035,7 @@ static lean_object* l_Lean_Parser_Term_scoped_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_parenSpecial___closed__1; static lean_object* l_Lean_Parser_Term_argument___closed__5; static lean_object* l_Lean_Parser_Term_optExprPrecedence_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36; static lean_object* l_Lean_Parser_Term_sorry_formatter___closed__1; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__12; lean_object* l_Lean_Parser_Term_binderType_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1101,7 +1102,7 @@ static lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35; static lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__1; lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__3; @@ -1109,13 +1110,13 @@ lean_object* l_Lean_Parser_Term_instBinder_formatter(lean_object*, lean_object*, lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_instBinder___closed__7; static lean_object* l_Lean_Parser_Command_docComment___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__35; static lean_object* l_Lean_Parser_Term_explicit___closed__8; static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__4; lean_object* l_Lean_Parser_darrow___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); @@ -1193,7 +1194,6 @@ static lean_object* l_Lean_Parser_Term_let_formatter___closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__4; lean_object* l_Lean_Parser_tacticParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attributes___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__36; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_typeOf___closed__7; lean_object* l_Lean_Parser_Term_matchAltExpr; @@ -1321,6 +1321,7 @@ static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__4; static lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__7; @@ -1412,7 +1413,6 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__27; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letRecDecl___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__6; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__18; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_parenthesizer___closed__2; @@ -1422,6 +1422,7 @@ static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__9; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_completion___closed__3; static lean_object* l_Lean_Parser_Term_cdot___closed__3; @@ -1582,7 +1583,6 @@ static lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed_ static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1; static lean_object* l_Lean_Parser_Term_fromTerm___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__12; static lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__5; @@ -1618,7 +1618,6 @@ static lean_object* l_Lean_Parser_Term_letrec___closed__2; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__5; static lean_object* l_Lean_Parser_Term_binrel_formatter___closed__2; static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace; @@ -1676,7 +1675,6 @@ static lean_object* l_Lean_Parser_Term_noindex___closed__4; static lean_object* l_Lean_Parser_Term_noindex_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27; static lean_object* l_Lean_Parser_Term_match_formatter___closed__8; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__2; @@ -1690,14 +1688,12 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_paren_parenthesizer___closed static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel_formatter___closed__2; static lean_object* l_Lean_Parser_Term_tupleTail___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8; lean_object* l_Lean_Parser_Term_leading__parser___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__17; lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_formatter(lean_object*); lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__3; @@ -1722,6 +1718,7 @@ static lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_proj___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17; static lean_object* l_Lean_Parser_Term_char___closed__1; static lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__1; lean_object* l_Lean_Parser_Term_fun; @@ -1810,6 +1807,7 @@ static lean_object* l_Lean_Parser_Term_proj___closed__9; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__33; static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__4; static lean_object* l_Lean_Parser_Term_parenSpecial___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq_formatter___closed__1; lean_object* l_Lean_Parser_Term_dynamicQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_completion_formatter___closed__1; @@ -1843,6 +1841,7 @@ static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__4; static lean_object* l_Lean_Parser_Term_typeOf_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_sort; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__6; @@ -1907,7 +1906,6 @@ static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__5; lean_object* l_Lean_Parser_manyIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12; static lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__2; static lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__12; @@ -2183,6 +2181,7 @@ static lean_object* l_Lean_Parser_Term_type_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__24; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__1; static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__15; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12; static lean_object* l_Lean_Parser_Term_assert___closed__9; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2232,7 +2231,6 @@ static lean_object* l_Lean_Parser_Term_completion___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_ident_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__11; static lean_object* l_Lean_Parser_Term_trueVal_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23; static lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__10; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__26; @@ -2297,12 +2295,12 @@ static lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__3; static lean_object* l_Lean_Parser_Term_type_formatter___closed__8; static lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_nomatch___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__17; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34; lean_object* l_Lean_Parser_Term_stateRefT___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_type(lean_object*); static lean_object* l_Lean_Parser_Term_binderIdent___closed__1; @@ -2347,7 +2345,6 @@ static lean_object* l_Lean_Parser_Term_falseVal___closed__6; static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_letIdDecl_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13; lean_object* l___regBuiltin_Lean_Parser_Term_completion_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__6; @@ -2377,6 +2374,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___clos lean_object* l_Lean_Parser_Term_scoped_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__23; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13; static lean_object* l_Lean_Parser_Level_quot___closed__2; static lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__3; extern lean_object* l_Lean_Parser_maxPrec; @@ -2423,7 +2421,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_num(lean_object*); static lean_object* l_Lean_Parser_Term_app_formatter___closed__2; static lean_object* l_Lean_Parser_Tactic_quot___closed__6; static lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__36; static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__3; @@ -2486,6 +2483,7 @@ static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__5; lean_object* l_Lean_Parser_Term_namedArgument; static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__2; @@ -2510,6 +2508,7 @@ static lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__1; static lean_object* l_Lean_Parser_Term_haveDecl___closed__4; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__3; lean_object* l_Lean_Parser_Term_unreachable; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15; lean_object* l_Lean_Parser_Term_letPatDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_depArrow___closed__5; @@ -2524,6 +2523,7 @@ static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_leading__parser___closed__9; lean_object* l_Lean_Parser_interpolatedStr(lean_object*); static lean_object* l_Lean_Parser_Term_letPatDecl___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__24; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9; @@ -2551,6 +2551,7 @@ static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_argument___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_letDecl___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__21; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__4; @@ -2572,6 +2573,7 @@ lean_object* l_Lean_Parser_Command_commentBody___elambda__1(lean_object*, lean_o static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_char_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5; static lean_object* l_Lean_Parser_Term_type___closed__2; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__1; static lean_object* l_Lean_Parser_Term_tupleTail___closed__3; @@ -2600,7 +2602,9 @@ lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_ static lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2; static lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__3; static lean_object* l_Lean_Parser_Term_proj___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28; static lean_object* l_Lean_Parser_Term_trueVal___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); @@ -2667,7 +2671,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_object*); static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__11; static lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__5; static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3; static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType; @@ -2711,7 +2714,6 @@ static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__3; static lean_object* l_Lean_Parser_Term_namedArgument___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_prop_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__2; @@ -2728,7 +2730,6 @@ static lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_binderDefault___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter___closed__1; static lean_object* l_Lean_Parser_Term_have___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__2; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__23; @@ -2744,16 +2745,13 @@ static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_scoped_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14; static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_funBinder_quot; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__16; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28; static lean_object* l_Lean_Parser_Term_show_formatter___closed__4; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18; static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__3; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_structInst___closed__12; @@ -2768,7 +2766,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___close static lean_object* l_Lean_Parser_Term_sort_formatter___closed__2; static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__4; static lean_object* l_Lean_Parser_Term_leading__parser___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30; static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__1; lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2851,7 +2848,6 @@ static lean_object* l_Lean_Parser_Term_binrel___closed__2; static lean_object* l_Lean_Parser_Term_pipeProj___closed__4; static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_assert___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25; lean_object* l_Lean_Parser_Term_typeOf_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_cdot___closed__6; static lean_object* l_Lean_Parser_Term_arrayRef___closed__6; @@ -2884,6 +2880,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_show_formatter___closed__1; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__11; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33; static lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__9; static lean_object* l_Lean_Parser_Level_quot___closed__7; @@ -2892,7 +2889,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_fun(lean_object*); static lean_object* l_Lean_Parser_Term_argument_formatter___closed__2; static lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__3; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__29; static lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__5; @@ -2933,6 +2929,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter(lean_object*, lea static lean_object* l_Lean_Parser_Term_letrec___closed__4; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22; static lean_object* l_Lean_Parser_Term_prop___closed__5; lean_object* l_Lean_ppHardSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2996,7 +2993,6 @@ static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Term_explicitBinder___closed__6; static lean_object* l_Lean_Parser_Term_noindex___closed__5; static lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22; static lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_fun___closed__9; @@ -3027,6 +3023,7 @@ static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__20; lean_object* l_Lean_Parser_Level_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_haveDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__13; @@ -3040,12 +3037,12 @@ static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__15; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__4; lean_object* l_Lean_Parser_Term_byTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__7; static lean_object* l_Lean_Parser_Term_macroDollarArg___closed__7; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__33; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__9; lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__5; @@ -3129,6 +3126,7 @@ lean_object* l_Lean_Parser_Term_macroArg; static lean_object* l_Lean_Parser_Term_typeAscription___closed__5; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9; static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__5; lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__7; @@ -3139,6 +3137,7 @@ static lean_object* l_Lean_Parser_Term_falseVal_formatter___closed__1; lean_object* l_Lean_Parser_Term_proj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_whereDecls___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27; lean_object* l_Lean_Parser_Term_let_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall_formatter___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3231,6 +3230,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_sort_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__11; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_formatter___closed__1; static lean_object* l_Lean_Parser_Term_falseVal_formatter___closed__2; @@ -3376,7 +3376,6 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__13; lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__2; static lean_object* l_Lean_Parser_darrow___closed__1; @@ -3759,6 +3758,7 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__8; static lean_object* l_Lean_Parser_Term_macroDollarArg_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__18; static lean_object* l_Lean_Parser_Term_subst___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3; static lean_object* l_Lean_Parser_Term_binderType___closed__4; static lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_falseVal_parenthesizer___closed__3; @@ -3961,7 +3961,6 @@ static lean_object* l_Lean_Parser_Term_matchAltExpr___closed__1; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__3; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__2; static lean_object* l_Lean_Parser_Term_matchAlt___closed__2; @@ -4002,7 +4001,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___close static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__19; static lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_let_formatter___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_match___closed__11; @@ -4017,14 +4015,15 @@ lean_object* l_Lean_Parser_Tactic_quot; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__1; static lean_object* l_Lean_Parser_Tactic_quot___closed__3; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__32; static lean_object* l_Lean_Parser_Term_typeSpec___closed__1; static lean_object* l_Lean_Parser_Term_namedPattern___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__3; @@ -4057,6 +4056,7 @@ static lean_object* l_Lean_Parser_Term_macroDollarArg___closed__8; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20; static lean_object* l_Lean_Parser_Term_structInst___closed__7; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__16; @@ -4316,6 +4316,7 @@ static lean_object* l_Lean_Parser_Term_funBinder___closed__4; static lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16; static lean_object* l_Lean_Parser_Term_leading__parser___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_match(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_depArrow(lean_object*); @@ -4329,7 +4330,6 @@ static lean_object* l_Lean_Parser_Term_let__delayed___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter___closed__1; static lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__2; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16; static lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_explicitUniv(lean_object*); @@ -4473,6 +4473,7 @@ static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_tupleTail___closed__4; static lean_object* l_Lean_Parser_Term_argument___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6; static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__17; @@ -4627,7 +4628,6 @@ static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__3; static lean_object* l_Lean_Parser_Term_letRecDecl___closed__2; static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__16; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6; static lean_object* l_Lean_Parser_Term_noindex_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object*); static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__11; @@ -4661,7 +4661,7 @@ static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_58_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685_(lean_object*); static lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; @@ -77527,7 +77527,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77537,7 +77537,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -77547,7 +77547,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_2684____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -77557,7 +77557,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_2684____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -77567,7 +77567,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_2684____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77577,7 +77577,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -77587,7 +77587,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_2684____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -77597,7 +77597,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_2684____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -77607,7 +77607,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_2684____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77617,7 +77617,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -77627,7 +77627,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_2684____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -77637,7 +77637,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_2684____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -77647,7 +77647,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_2684____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77657,7 +77657,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -77667,7 +77667,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_2684____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -77677,7 +77677,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_2684____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -77687,7 +77687,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_2684____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77697,7 +77697,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -77707,7 +77707,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_2684____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -77717,7 +77717,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_2684____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -77727,7 +77727,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_2684____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77737,7 +77737,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -77747,7 +77747,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_2684____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -77757,7 +77757,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_2684____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -77767,7 +77767,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_2684____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77777,7 +77777,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -77787,7 +77787,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_2684____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -77797,7 +77797,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_2684____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -77807,7 +77807,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_2684____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77817,7 +77817,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -77827,7 +77827,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_2684____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -77837,7 +77837,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_2684____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -77847,7 +77847,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_2684____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -77857,7 +77857,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -77867,7 +77867,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_2684____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -77877,7 +77877,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_2684____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -77887,13 +77887,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685_(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_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -77902,7 +77902,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_2684____closed__3; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -77911,7 +77911,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_2684____closed__4; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -77919,8 +77919,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -77928,7 +77928,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_2684____closed__7; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -77936,7 +77936,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_2684____closed__8; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -77944,8 +77944,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -77953,7 +77953,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_2684____closed__11; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -77961,7 +77961,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_2684____closed__12; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -77969,8 +77969,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -77978,7 +77978,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_2684____closed__15; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -77986,7 +77986,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_2684____closed__16; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -77994,8 +77994,8 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18; +x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -78003,7 +78003,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_2684____closed__19; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -78011,7 +78011,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_2684____closed__20; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -78019,8 +78019,8 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -78028,7 +78028,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_2684____closed__23; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -78036,7 +78036,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_2684____closed__24; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -78044,8 +78044,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -78053,7 +78053,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_2684____closed__27; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -78061,7 +78061,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_2684____closed__28; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -78069,8 +78069,8 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__29; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30; +x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -78078,7 +78078,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__31; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -78086,7 +78086,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__32; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -78094,8 +78094,8 @@ lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__33; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34; +x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -78103,7 +78103,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__35; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -78111,7 +78111,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__36; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -87590,79 +87590,79 @@ 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_2684____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__36); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685____closed__36); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2685_(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/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index 399a8bd111..850f41f7b2 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -279,7 +279,6 @@ static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed_ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___closed__7; static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__5; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Attribute_add(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,6 +292,7 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr__ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__48(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__33___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_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__51(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -20744,7 +20744,7 @@ x_80 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_81 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_81, x_4, x_5, x_6, x_7, x_72); +x_82 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_81, x_4, x_5, x_6, x_7, x_72); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -20848,7 +20848,7 @@ x_46 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_47, x_4, x_5, x_6, x_7, x_36); +x_48 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_47, x_4, x_5, x_6, x_7, x_36); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21083,7 +21083,7 @@ x_116 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_117 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_117, 0, x_115); lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_117, x_4, x_5, x_6, x_7, x_11); +x_118 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_117, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21242,7 +21242,7 @@ x_192 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_193 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_193, 0, x_191); lean_ctor_set(x_193, 1, x_192); -x_194 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_193, x_4, x_5, x_6, x_7, x_184); +x_194 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_193, x_4, x_5, x_6, x_7, x_184); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21346,7 +21346,7 @@ x_158 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_159 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_159, 0, x_157); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_159, x_4, x_5, x_6, x_7, x_148); +x_160 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_159, x_4, x_5, x_6, x_7, x_148); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21581,7 +21581,7 @@ x_228 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_229 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_229, 0, x_227); lean_ctor_set(x_229, 1, x_228); -x_230 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_229, x_4, x_5, x_6, x_7, x_123); +x_230 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_229, x_4, x_5, x_6, x_7, x_123); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21712,7 +21712,7 @@ x_300 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_301 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_301, 0, x_299); lean_ctor_set(x_301, 1, x_300); -x_302 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_301, x_4, x_5, x_6, x_7, x_292); +x_302 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_301, x_4, x_5, x_6, x_7, x_292); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -21816,7 +21816,7 @@ x_266 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_267 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_267, 0, x_265); lean_ctor_set(x_267, 1, x_266); -x_268 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_267, x_4, x_5, x_6, x_7, x_256); +x_268 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_267, x_4, x_5, x_6, x_7, x_256); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22051,7 +22051,7 @@ x_336 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_337 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_337, 0, x_335); lean_ctor_set(x_337, 1, x_336); -x_338 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_337, x_4, x_5, x_6, x_7, x_231); +x_338 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_337, x_4, x_5, x_6, x_7, x_231); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22182,7 +22182,7 @@ x_408 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; 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_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_409, x_4, x_5, x_6, x_7, x_400); +x_410 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_409, x_4, x_5, x_6, x_7, x_400); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22286,7 +22286,7 @@ x_374 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_375 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_375, 0, x_373); lean_ctor_set(x_375, 1, x_374); -x_376 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_375, x_4, x_5, x_6, x_7, x_364); +x_376 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_375, x_4, x_5, x_6, x_7, x_364); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22521,7 +22521,7 @@ x_444 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_445 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_445, 0, x_443); lean_ctor_set(x_445, 1, x_444); -x_446 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_445, x_4, x_5, x_6, x_7, x_339); +x_446 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_445, x_4, x_5, x_6, x_7, x_339); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22652,7 +22652,7 @@ x_516 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_517 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_517, 0, x_515); lean_ctor_set(x_517, 1, x_516); -x_518 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_517, x_4, x_5, x_6, x_7, x_508); +x_518 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_517, x_4, x_5, x_6, x_7, x_508); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22756,7 +22756,7 @@ x_482 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_483 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_483, 0, x_481); lean_ctor_set(x_483, 1, x_482); -x_484 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_483, x_4, x_5, x_6, x_7, x_472); +x_484 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_483, x_4, x_5, x_6, x_7, x_472); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22991,7 +22991,7 @@ x_552 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_553 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_553, 0, x_551); lean_ctor_set(x_553, 1, x_552); -x_554 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_553, x_4, x_5, x_6, x_7, x_447); +x_554 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_553, x_4, x_5, x_6, x_7, x_447); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23135,7 +23135,7 @@ x_628 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_629 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_629, 0, x_627); lean_ctor_set(x_629, 1, x_628); -x_630 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_629, x_4, x_5, x_6, x_7, x_620); +x_630 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_629, x_4, x_5, x_6, x_7, x_620); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23239,7 +23239,7 @@ x_594 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_595 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_595, 0, x_593); lean_ctor_set(x_595, 1, x_594); -x_596 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_595, x_4, x_5, x_6, x_7, x_584); +x_596 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_595, x_4, x_5, x_6, x_7, x_584); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23474,7 +23474,7 @@ x_664 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_665 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_665, 0, x_663); lean_ctor_set(x_665, 1, x_664); -x_666 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_665, x_4, x_5, x_6, x_7, x_559); +x_666 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_665, x_4, x_5, x_6, x_7, x_559); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23605,7 +23605,7 @@ x_736 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_737 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_737, 0, x_735); lean_ctor_set(x_737, 1, x_736); -x_738 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_737, x_4, x_5, x_6, x_7, x_728); +x_738 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_737, x_4, x_5, x_6, x_7, x_728); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23709,7 +23709,7 @@ x_702 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_703 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_703, 0, x_701); lean_ctor_set(x_703, 1, x_702); -x_704 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_703, x_4, x_5, x_6, x_7, x_692); +x_704 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_703, x_4, x_5, x_6, x_7, x_692); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23944,7 +23944,7 @@ x_772 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_773 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_773, 0, x_771); lean_ctor_set(x_773, 1, x_772); -x_774 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_773, x_4, x_5, x_6, x_7, x_667); +x_774 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_773, x_4, x_5, x_6, x_7, x_667); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24075,7 +24075,7 @@ x_844 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_845 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_845, 0, x_843); lean_ctor_set(x_845, 1, x_844); -x_846 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_845, x_4, x_5, x_6, x_7, x_836); +x_846 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_845, x_4, x_5, x_6, x_7, x_836); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24179,7 +24179,7 @@ x_810 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_811 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_811, 0, x_809); lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_811, x_4, x_5, x_6, x_7, x_800); +x_812 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_811, x_4, x_5, x_6, x_7, x_800); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24414,7 +24414,7 @@ x_880 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_881 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_881, 0, x_879); lean_ctor_set(x_881, 1, x_880); -x_882 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_881, x_4, x_5, x_6, x_7, x_775); +x_882 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_881, x_4, x_5, x_6, x_7, x_775); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24545,7 +24545,7 @@ x_952 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_953 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_953, 0, x_951); lean_ctor_set(x_953, 1, x_952); -x_954 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_953, x_4, x_5, x_6, x_7, x_944); +x_954 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_953, x_4, x_5, x_6, x_7, x_944); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24649,7 +24649,7 @@ x_918 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_919 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_919, 0, x_917); lean_ctor_set(x_919, 1, x_918); -x_920 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_919, x_4, x_5, x_6, x_7, x_908); +x_920 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_919, x_4, x_5, x_6, x_7, x_908); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24884,7 +24884,7 @@ x_988 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_989 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_989, 0, x_987); lean_ctor_set(x_989, 1, x_988); -x_990 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_989, x_4, x_5, x_6, x_7, x_883); +x_990 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_989, x_4, x_5, x_6, x_7, x_883); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -25015,7 +25015,7 @@ x_1060 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_1061 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_1061, 0, x_1059); lean_ctor_set(x_1061, 1, x_1060); -x_1062 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_1061, x_4, x_5, x_6, x_7, x_1052); +x_1062 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_1061, x_4, x_5, x_6, x_7, x_1052); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -25119,7 +25119,7 @@ x_1026 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_1027 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_1027, 0, x_1025); lean_ctor_set(x_1027, 1, x_1026); -x_1028 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_1027, x_4, x_5, x_6, x_7, x_1016); +x_1028 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_1027, x_4, x_5, x_6, x_7, x_1016); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -25354,7 +25354,7 @@ x_1096 = l_Lean_ParserCompiler_compileParserExpr___rarg___closed__4; x_1097 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_1097, 0, x_1095); lean_ctor_set(x_1097, 1, x_1096); -x_1098 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1654____spec__1(x_1097, x_4, x_5, x_6, x_7, x_991); +x_1098 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1659____spec__1(x_1097, x_4, x_5, x_6, x_7, x_991); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index 1856bfa06c..a883f8a725 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -188,6 +188,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda_ extern lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__15; +lean_object* l_Lean_PrettyPrinter_delab___lambda__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_getPPUnicode___boxed(lean_object*); static lean_object* l_Lean_getPPUnicode___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__3; @@ -316,6 +317,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__16; lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr(lean_object*); +lean_object* l_Lean_PrettyPrinter_delab___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__21; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_335____closed__3; lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM; @@ -427,7 +429,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAttribute___closed__6; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_260____closed__4; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2927_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2973_(lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody(lean_object*); @@ -11866,6 +11868,100 @@ return x_39; } } } +lean_object* l_Lean_PrettyPrinter_delab___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = l_Lean_pp_proofs; +x_13 = l_Lean_Option_get_x3f___at_Lean_PrettyPrinter_delab___spec__1(x_11, x_12); +x_14 = lean_box(0); +x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_PrettyPrinter_delab___spec__2(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Lean_PrettyPrinter_delab___lambda__1(x_1, x_2, x_3, x_4, x_11, x_16, x_6, x_7, x_8, x_9, x_10); +return x_17; +} +else +{ +lean_object* x_18; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_18 = l_Lean_Meta_inferType(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_21 = l_Lean_Meta_isProp(x_19, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = l_Lean_PrettyPrinter_delab___lambda__1(x_1, x_2, x_3, x_4, x_11, x_25, x_6, x_7, x_8, x_9, x_24); +return x_26; +} +else +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = 1; +x_29 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_11, x_12, x_28); +x_30 = lean_box(0); +x_31 = l_Lean_PrettyPrinter_delab___lambda__1(x_1, x_2, x_3, x_4, x_29, x_30, x_6, x_7, x_8, x_9, x_27); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 1); +lean_inc(x_32); +lean_dec(x_21); +x_33 = lean_box(0); +x_34 = l_Lean_PrettyPrinter_delab___lambda__1(x_1, x_2, x_3, x_4, x_11, x_33, x_6, x_7, x_8, x_9, x_32); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +lean_dec(x_18); +x_36 = lean_box(0); +x_37 = l_Lean_PrettyPrinter_delab___lambda__1(x_1, x_2, x_3, x_4, x_11, x_36, x_6, x_7, x_8, x_9, x_35); +return x_37; +} +} +} +} static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__1() { _start: { @@ -11916,159 +12012,76 @@ return x_2; lean_object* l_Lean_PrettyPrinter_delab(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_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_39 = lean_st_ref_get(x_8, x_9); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 3); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); -lean_dec(x_41); -if (x_42 == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -x_10 = x_43; -goto block_38; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_44 = lean_ctor_get(x_39, 1); -lean_inc(x_44); -lean_dec(x_39); -x_45 = l_Lean_PrettyPrinter_delab___closed__4; -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_45, x_5, x_6, x_7, x_8, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_10 = x_49; -goto block_38; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = l_Std_fmt___at_Lean_ppExpr___spec__3(x_3); -x_52 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = l_Lean_PrettyPrinter_delab___closed__5; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_45, x_55, x_5, x_6, x_7, x_8, x_50); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_10 = x_57; -goto block_38; -} -} -block_38: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = l_Lean_pp_proofs; -x_13 = l_Lean_Option_get_x3f___at_Lean_PrettyPrinter_delab___spec__1(x_11, x_12); -x_14 = lean_box(0); -x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_PrettyPrinter_delab___spec__2(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l_Lean_PrettyPrinter_delab___lambda__1(x_3, x_4, x_1, x_2, x_11, x_16, x_5, x_6, x_7, x_8, x_10); -return x_17; -} -else -{ -lean_object* x_18; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -x_18 = l_Lean_Meta_inferType(x_3, x_5, x_6, x_7, x_8, x_10); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_21 = l_Lean_Meta_isProp(x_19, x_5, x_6, x_7, x_8, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_unbox(x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_box(0); -x_26 = l_Lean_PrettyPrinter_delab___lambda__1(x_3, x_4, x_1, x_2, x_11, x_25, x_5, x_6, x_7, x_8, x_24); -return x_26; -} -else -{ -lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_21, 1); +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_10 = l_Lean_PrettyPrinter_delab___closed__4; +x_25 = lean_st_ref_get(x_8, x_9); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); lean_inc(x_27); -lean_dec(x_21); -x_28 = 1; -x_29 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_11, x_12, x_28); -x_30 = lean_box(0); -x_31 = l_Lean_PrettyPrinter_delab___lambda__1(x_3, x_4, x_1, x_2, x_29, x_30, x_5, x_6, x_7, x_8, x_27); -return x_31; -} +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_11 = x_30; +x_12 = x_29; +goto block_24; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_21, 1); -lean_inc(x_32); -lean_dec(x_21); -x_33 = lean_box(0); -x_34 = l_Lean_PrettyPrinter_delab___lambda__1(x_3, x_4, x_1, x_2, x_11, x_33, x_5, x_6, x_7, x_8, x_32); -return x_34; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(x_10, x_5, x_6, x_7, x_8, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_11 = x_35; +x_12 = x_34; +goto block_24; } +block_24: +{ +if (x_11 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_PrettyPrinter_delab___lambda__2(x_3, x_4, x_1, x_2, x_13, x_5, x_6, x_7, x_8, x_12); +return x_14; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_18, 1); -lean_inc(x_35); -lean_dec(x_18); -x_36 = lean_box(0); -x_37 = l_Lean_PrettyPrinter_delab___lambda__1(x_3, x_4, x_1, x_2, x_11, x_36, x_5, x_6, x_7, x_8, x_35); -return x_37; -} +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = l_Std_fmt___at_Lean_ppExpr___spec__3(x_3); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_PrettyPrinter_delab___closed__5; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(x_10, x_19, x_5, x_6, x_7, x_8, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_PrettyPrinter_delab___lambda__2(x_3, x_4, x_1, x_2, x_21, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_21); +return x_23; } } } @@ -12103,7 +12116,16 @@ lean_dec(x_6); return x_12; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2927_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_delab___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PrettyPrinter_delab___lambda__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); +return x_11; +} +} +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2973_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -12697,7 +12719,7 @@ l_Lean_PrettyPrinter_delab___closed__4 = _init_l_Lean_PrettyPrinter_delab___clos lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__4); l_Lean_PrettyPrinter_delab___closed__5 = _init_l_Lean_PrettyPrinter_delab___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__5); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2927_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2973_(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/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index 179eba04bd..438621c51f 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -676,7 +676,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems(lean_object*, lean_ob lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorryAx___closed__4; -lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__9; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__6; @@ -743,6 +742,7 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___ lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__4; lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -3705,7 +3705,7 @@ x_47 = lean_array_get_size(x_46); x_48 = lean_usize_of_nat(x_47); lean_dec(x_47); x_49 = x_46; -x_50 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_48, x_43, x_49); +x_50 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_48, x_43, x_49); x_51 = x_50; x_52 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__9; x_53 = l_Lean_mkSepArray(x_51, x_52); @@ -3762,7 +3762,7 @@ x_81 = lean_array_get_size(x_80); x_82 = lean_usize_of_nat(x_81); lean_dec(x_81); x_83 = x_80; -x_84 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_82, x_77, x_83); +x_84 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__3(x_82, x_77, x_83); x_85 = x_84; x_86 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__9; x_87 = l_Lean_mkSepArray(x_85, x_86); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c index add7faa9d5..d092ae8216 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_rawIdentNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18; lean_object* l_Lean_PrettyPrinter_Formatter_State_stack___default; extern lean_object* l_Lean_Parser_builtinTokenTable; lean_object* l_Lean_PrettyPrinter_Formatter_indent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25,29 +24,28 @@ lean_object* l_Lean_PrettyPrinter_Formatter_ite___rarg___boxed(lean_object*, lea lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26; lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2883_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3028_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095_(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48; lean_object* l_Lean_PrettyPrinter_Formatter_concat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__3; static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__8; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_dbgTraceState_formatter(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41; lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter___rarg(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__12; @@ -58,14 +56,13 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___clos extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLinebreakBefore_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1; static lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_sepByNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__9; lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind___rarg(lean_object*); @@ -73,17 +70,17 @@ static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__2(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatTerm(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31; lean_object* l_Lean_Syntax_Traverser_up(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43; lean_object* l_Lean_PrettyPrinter_Formatter_indent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_antiquot_formatter(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__12; static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17; static lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__7(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,39 +90,38 @@ lean_object* l_Lean_PrettyPrinter_format_match__1___rarg(lean_object*, lean_obje lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_manyNoAntiquot_formatter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__1___closed__1; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_ite___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__2; lean_object* lean_string_utf8_prev(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__6(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__2___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquotSuffixSplice_formatter___boxed(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__11; lean_object* l_Lean_Parser_mkParserState(lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1; +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_PrettyPrinter_Formatter_pushTokenCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_optionalNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,10 +129,8 @@ lean_object* l_Lean_PrettyPrinter_Formatter_evalInsideQuot_formatter___boxed(lea static lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed__3; static uint32_t l_Lean_PrettyPrinter_formatterAttribute___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute___closed__4; lean_object* lean_string_append(lean_object*, lean_object*); @@ -155,15 +149,14 @@ lean_object* l_Lean_PrettyPrinter_Formatter_instCoeFormatterFormatterAliasValue( static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__5; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_PrettyPrinter_Formatter_pushTokenCore___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__5(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__3; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute(lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -175,32 +168,32 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___close lean_object* l_Array_back___at_Lean_PrettyPrinter_Formatter_indent___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_fieldIdx_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47; lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_mkFormatterAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instCoeArrowFormatterFormatterFormatterAliasValue(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4; extern lean_object* l_Lean_nameLitKind; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquotSuffixSplice_formatter(lean_object*); +lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquotSuffixSplice_formatter___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23; lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__4(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__9; static lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___closed__4; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42; lean_object* l_Lean_PrettyPrinter_Formatter_getStack___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___rarg(lean_object*); @@ -210,22 +203,23 @@ lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__16; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__7___boxed(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_PrettyPrinter_Formatter_sepByNoAntiquot_formatter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trimRight(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_tokenWithAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47; lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__1; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24; lean_object* l_Lean_PrettyPrinter_Formatter_checkWsBefore_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__2; @@ -235,7 +229,6 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___la lean_object* l_Lean_PrettyPrinter_Formatter_setLhsPrec_formatter___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_registerAlias(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_many1NoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_identEq_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -258,9 +251,8 @@ lean_object* l_Lean_PrettyPrinter_Formatter_categoryParserOfStack_formatter___bo extern lean_object* l_Lean_strLitKind; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_decQuotDepth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11; static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_push___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -268,6 +260,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom(lean_object*, lean_object* uint8_t l_Substring_contains(lean_object*, uint32_t); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__6; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__1; @@ -278,56 +271,57 @@ lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambd lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39; lean_object* l_Lean_PrettyPrinter_Formatter_identEq_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLineEq_formatter___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__15; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__8(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_sepBy1NoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40; lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_withoutForbidden_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute; lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12; lean_object* l_Lean_PrettyPrinter_Formatter_many1Unbox_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_dbgTraceState_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_instCoeArrowFormatterArrowFormatterFormatterFormatterAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__10; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15; lean_object* l_Lean_PrettyPrinter_instOrElseFormatterM(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_scientificLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatterAttribute; uint32_t lean_string_utf8_get(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29; +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLhsPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___closed__2; @@ -343,43 +337,48 @@ lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__4___boxed(lean_ob lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__1(lean_object*); lean_object* l_String_trimLeft(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7; +lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___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_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_manyNoAntiquot_formatter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_format___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_ite(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33; +static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLineEq_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_format(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed__2; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_nameLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5; static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__10; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22; +static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5; static lean_object* l_Lean_PrettyPrinter_formatCommand___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_State_leadWord___default; static lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed__1; static lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__1; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__3; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_getStack___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_PrettyPrinter_Formatter_sepByNoAntiquot_formatter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM_match__1___rarg(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38; lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21; lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_evalInsideQuot_formatter(lean_object*); static lean_object* l_Lean_PrettyPrinter_formatCommand___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1___boxed(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19; lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___closed__1; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16; lean_object* l_Lean_PrettyPrinter_Formatter_setStack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_FormatterM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__3; @@ -387,18 +386,20 @@ lean_object* l_Lean_PrettyPrinter_Formatter_parseToken___boxed(lean_object*, lea extern lean_object* l_Lean_identKind; static lean_object* l_Lean_PrettyPrinter_Formatter_parseToken___closed__1; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__11; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41; uint8_t l_UInt32_decEq(uint32_t, uint32_t); static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__3; static lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__4___closed__1; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(lean_object*); static lean_object* l_Lean_PrettyPrinter_formatTerm___closed__2; lean_object* l_Lean_PrettyPrinter_FormatterM_orelse(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_getStack___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__7; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -416,8 +417,9 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(le lean_object* lean_pretty_printer_formatter_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48; lean_object* l_Lean_PrettyPrinter_Formatter_checkLhsPrec_formatter___rarg(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31; lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -433,101 +435,103 @@ lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambd static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__15; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_evalInsideQuot_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46; lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_format___closed__3; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_setLhsPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_object*); lean_object* l_Std_Format_getIndent(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45; static lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs___closed__1; static lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg___closed__1; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_format_match__1(lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_concat___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_setStack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___closed__3; lean_object* l_Array_back___at_Lean_PrettyPrinter_Formatter_indent___spec__1(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter___rarg(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_parseToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_pushTokenCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_instOrElseFormatterM___closed__1; static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__3; -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; static lean_object* l_Lean_PrettyPrinter_formatCommand___closed__3; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__9; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16; +static lean_object* l_Lean_PrettyPrinter_format___lambda__1___closed__2; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__1; static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39; lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__1; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6; static lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withoutInfo_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36; extern lean_object* l_Std_instInhabitedFormat; lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_concat___lambda__1___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3242_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3440_(lean_object*); +lean_object* l_Lean_PrettyPrinter_format___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__6; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10; +static lean_object* l_Lean_PrettyPrinter_format___lambda__1___closed__1; lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_charLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_concat___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken_match__1(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30; static lean_object* l_Lean_PrettyPrinter_formatterAttribute___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26; lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_dbgTraceState_formatter___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_simp_macro_scopes(lean_object*); lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__2; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15; static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37; lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44; -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_mkFormatterAttribute___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; static lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute___closed__3; @@ -535,24 +539,25 @@ uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLinebreakBefore_formatter___rarg(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2; lean_object* l_Lean_Syntax_Traverser_left(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_format___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquotSuffixSplice_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setLhsPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42; lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_format___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__5___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_group(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_format___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withoutPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); @@ -564,16 +569,17 @@ lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM_match__ extern lean_object* l_Lean_interpolatedStrLitKind; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__1; +static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6; uint8_t l_Std_Format_isNil(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19; lean_object* l_Lean_PrettyPrinter_Formatter_pushTokenCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__2; lean_object* l_Lean_PrettyPrinter_formatterAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_State_stack___default___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__4; +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4263,20 +4269,7 @@ x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Formatte return x_3; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { -_start: -{ -lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_4, 0); -x_8 = l_Lean_checkTraceOption(x_7, x_1); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_6); -return x_10; -} -} -lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(lean_object* x_1) { +lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; @@ -4287,7 +4280,7 @@ x_5 = l_Lean_Syntax_formatStxAux(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1() { _start: { lean_object* x_1; @@ -4295,16 +4288,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1; +x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3() { _start: { lean_object* x_1; @@ -4312,16 +4305,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3; +x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -4330,7 +4323,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { _start: { 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; uint8_t x_16; @@ -4363,18 +4356,18 @@ x_19 = lean_ctor_get(x_14, 0); lean_inc(x_1); x_20 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_20, 0, x_1); -x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_10); -x_26 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_26 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -4421,18 +4414,18 @@ lean_dec(x_14); lean_inc(x_1); x_40 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_40, 0, x_1); -x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_43 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_10); -x_46 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_46 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -4493,18 +4486,18 @@ if (lean_is_exclusive(x_14)) { lean_inc(x_1); x_63 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_63, 0, x_1); -x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_65 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_66 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_10); -x_69 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_69 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); @@ -4551,6 +4544,19 @@ return x_80; } } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { +_start: +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_4, 0); +x_8 = l_Lean_checkTraceOption(x_7, x_1); +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +} lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { _start: { @@ -4563,50 +4569,22 @@ return x_8; static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("format"); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("choice"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; +x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -4614,7 +4592,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_getCur___at_Lean_P return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4() { _start: { lean_object* x_1; @@ -4622,115 +4600,30 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_f return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6; -x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; +x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1___rarg), 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_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9() { +lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("formatting "); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_st_ref_get(x_6, x_7); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_23, 3); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*1); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_8 = x_26; -goto block_21; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; -x_29 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_28, x_3, x_4, x_5, x_6, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_8 = x_32; -goto block_21; -} -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; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_33 = lean_ctor_get(x_29, 1); -lean_inc(x_33); -lean_dec(x_29); -lean_inc(x_2); -x_34 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_2); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_indentD(x_35); -x_37 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10; -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_28, x_40, x_3, x_4, x_5, x_6, x_33); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_8 = x_42; -goto block_21; -} -} -block_21: -{ lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Syntax_getKind(x_2); -x_10 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5; +x_9 = l_Lean_Syntax_getKind(x_1); +x_10 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2; x_11 = lean_name_eq(x_9, x_10); if (x_11 == 0) { uint8_t 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; x_12 = 1; -x_13 = l_Lean_Name_toString(x_1, x_12); +x_13 = l_Lean_Name_toString(x_2, x_12); x_14 = lean_box(0); x_15 = lean_box(x_12); x_16 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -4739,28 +4632,152 @@ lean_closure_set(x_16, 1, x_14); lean_closure_set(x_16, 2, x_15); x_17 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe), 6, 1); lean_closure_set(x_17, 0, x_9); -x_18 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_16, x_17, x_3, x_4, x_5, x_6, x_8); +x_18 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_16, x_17, x_4, x_5, x_6, x_7, x_8); return x_18; } else { lean_object* x_19; lean_object* x_20; lean_dec(x_9); -lean_dec(x_1); -x_19 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8; -x_20 = l_Lean_PrettyPrinter_Formatter_visitArgs(x_19, x_3, x_4, x_5, x_6, x_8); +lean_dec(x_2); +x_19 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5; +x_20 = l_Lean_PrettyPrinter_Formatter_visitArgs(x_19, x_4, x_5, x_6, x_7, x_8); return x_20; } } } +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("format"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1; +x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("formatting "); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_8 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3; +x_25 = lean_st_ref_get(x_6, x_7); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 0; +x_9 = x_30; +x_10 = x_29; +goto block_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_8, x_3, x_4, x_5, x_6, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_unbox(x_33); +lean_dec(x_33); +x_9 = x_35; +x_10 = x_34; +goto block_24; +} +block_24: +{ +if (x_9 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(x_2, x_1, x_11, x_3, x_4, x_5, x_6, x_10); +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; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_2); +x_13 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_2); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = l_Lean_indentD(x_14); +x_16 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_8, x_19, x_3, x_4, x_5, x_6, x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(x_2, x_1, x_21, x_3, x_4, x_5, x_6, x_22); +lean_dec(x_21); +return x_23; +} +} +} } lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2), 7, 1); +x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3), 7, 1); lean_closure_set(x_7, 0, x_1); -x_8 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1___rarg), 7, 2); lean_closure_set(x_9, 0, x_8); lean_closure_set(x_9, 1, x_7); @@ -4772,11 +4789,23 @@ x_12 = l_Lean_PrettyPrinter_Formatter_group(x_11, x_2, x_3, x_4, x_5, x_6); return x_12; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(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); +return x_8; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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) { _start: { lean_object* x_7; -x_7 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4784,16 +4813,13 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___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* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; -x_8 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(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_object* x_9; +x_9 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_8; +return x_9; } } lean_object* l_Lean_PrettyPrinter_Formatter_categoryParserOfStack_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -5073,6 +5099,14 @@ return x_14; } } } +lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_6); +return x_7; +} +} static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__1() { _start: { @@ -5085,7 +5119,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3; x_2 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -5095,20 +5129,28 @@ static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__3() _start: { lean_object* x_1; -x_1 = lean_mk_string("unexpected node kind '"); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkKind___lambda__1___boxed), 6, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("unexpected node kind '"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__6() { _start: { lean_object* x_1; @@ -5116,11 +5158,11 @@ x_1 = lean_mk_string("', expected '"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; +x_1 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -5140,214 +5182,231 @@ x_11 = l_Lean_Syntax_getKind(x_9); x_12 = lean_name_eq(x_1, x_11); if (x_12 == 0) { -uint8_t x_13; lean_object* x_14; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_free_object(x_7); -x_30 = lean_st_ref_get(x_5, x_10); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1); -lean_dec(x_32); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_30, 1); +x_13 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; +x_33 = lean_st_ref_get(x_5, x_10); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_30); -x_35 = 0; -x_13 = x_35; -x_14 = x_34; -goto block_29; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = 0; +x_14 = x_38; +x_15 = x_37; +goto block_32; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); -lean_dec(x_30); -x_37 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_37, x_2, x_3, x_4, x_5, x_36); -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_unbox(x_39); -lean_dec(x_39); -x_13 = x_41; -x_14 = x_40; -goto block_29; +lean_dec(x_33); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_13, x_2, x_3, x_4, x_5, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_unbox(x_41); +lean_dec(x_41); +x_14 = x_43; +x_15 = x_42; +goto block_32; } -block_29: +block_32: { -if (x_13 == 0) +lean_object* x_16; +x_16 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__3; +if (x_14 == 0) { -lean_object* x_15; +lean_object* x_17; lean_object* x_18; lean_dec(x_11); lean_dec(x_1); -x_15 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_14); -return x_15; +x_17 = lean_box(0); +x_18 = lean_apply_6(x_16, x_17, x_2, x_3, x_4, x_5, x_15); +return x_18; } else { -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; -x_16 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_16, 0, x_11); -x_17 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__4; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__6; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_21, 0, x_1); -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_26 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_25, x_24, x_2, x_3, x_4, x_5, x_14); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_27); -return x_28; +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; +x_19 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_19, 0, x_11); +x_20 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__7; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_1); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_13, x_27, x_2, x_3, x_4, x_5, x_15); +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_apply_6(x_16, x_29, x_2, x_3, x_4, x_5, x_30); +return x_31; } } } else { -lean_object* x_42; +lean_object* x_44; lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_42 = lean_box(0); -lean_ctor_set(x_7, 0, x_42); +x_44 = lean_box(0); +lean_ctor_set(x_7, 0, x_44); return x_7; } } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_ctor_get(x_7, 0); -x_44 = lean_ctor_get(x_7, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_7, 0); +x_46 = lean_ctor_get(x_7, 1); +lean_inc(x_46); +lean_inc(x_45); lean_dec(x_7); -x_45 = l_Lean_Syntax_getKind(x_43); -x_46 = lean_name_eq(x_1, x_45); -if (x_46 == 0) +x_47 = l_Lean_Syntax_getKind(x_45); +x_48 = lean_name_eq(x_1, x_47); +if (x_48 == 0) { -uint8_t x_47; lean_object* x_48; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = lean_st_ref_get(x_5, x_44); +lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_49 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; +x_69 = lean_st_ref_get(x_5, x_46); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); +lean_dec(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_74 = 0; +x_50 = x_74; +x_51 = x_73; +goto block_68; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +lean_dec(x_69); +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_49, x_2, x_3, x_4, x_5, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox(x_77); +lean_dec(x_77); +x_50 = x_79; +x_51 = x_78; +goto block_68; +} +block_68: +{ +lean_object* x_52; +x_52 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__3; +if (x_50 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_47); +lean_dec(x_1); +x_53 = lean_box(0); +x_54 = lean_apply_6(x_52, x_53, x_2, x_3, x_4, x_5, x_51); +return x_54; +} +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_55 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_55, 0, x_47); +x_56 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__7; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_60, 0, x_1); +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_49, x_63, x_2, x_3, x_4, x_5, x_51); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); -x_66 = lean_ctor_get(x_65, 3); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*1); -lean_dec(x_66); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); lean_dec(x_64); -x_69 = 0; -x_47 = x_69; -x_48 = x_68; -goto block_63; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_dec(x_64); -x_71 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_72 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_71, x_2, x_3, x_4, x_5, x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_unbox(x_73); -lean_dec(x_73); -x_47 = x_75; -x_48 = x_74; -goto block_63; -} -block_63: -{ -if (x_47 == 0) -{ -lean_object* x_49; -lean_dec(x_45); -lean_dec(x_1); -x_49 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_48); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_50 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_50, 0, x_45); -x_51 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__4; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__6; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_55, 0, x_1); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_60 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_59, x_58, x_2, x_3, x_4, x_5, x_48); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_61); -return x_62; +x_67 = lean_apply_6(x_52, x_65, x_2, x_3, x_4, x_5, x_66); +return x_67; } } } else { -lean_object* x_76; lean_object* x_77; -lean_dec(x_45); -lean_dec(x_1); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_44); -return x_77; -} -} -} -} -lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___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_Lean_PrettyPrinter_Formatter_checkKind(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_80; lean_object* x_81; +lean_dec(x_47); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); +x_80 = lean_box(0); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_46); +return x_81; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Formatter_checkKind___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); return x_7; } } @@ -5355,6 +5414,10 @@ lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object* x_1, lea _start: { lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); x_8 = l_Lean_PrettyPrinter_Formatter_checkKind(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { @@ -5433,6 +5496,10 @@ lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object* _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_PrettyPrinter_Formatter_checkKind(x_1, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { @@ -6981,7 +7048,8 @@ lean_dec(x_7); x_10 = l_Lean_Syntax_isToken(x_1, x_8); if (x_10 == 0) { -uint8_t x_11; lean_object* x_12; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_11 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; x_29 = lean_st_ref_get(x_5, x_9); x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); @@ -6997,68 +7065,66 @@ x_33 = lean_ctor_get(x_29, 1); lean_inc(x_33); lean_dec(x_29); x_34 = 0; -x_11 = x_34; -x_12 = x_33; +x_12 = x_34; +x_13 = x_33; goto block_28; } else { -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_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; x_35 = lean_ctor_get(x_29, 1); lean_inc(x_35); lean_dec(x_29); -x_36 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_37 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_36, x_2, x_3, x_4, x_5, x_35); -x_38 = lean_ctor_get(x_37, 0); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_11, x_2, x_3, x_4, x_5, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); +lean_dec(x_36); +x_39 = lean_unbox(x_37); lean_dec(x_37); -x_40 = lean_unbox(x_38); -lean_dec(x_38); -x_11 = x_40; x_12 = x_39; +x_13 = x_38; goto block_28; } block_28: { -if (x_11 == 0) +if (x_12 == 0) { -lean_object* x_13; +lean_object* x_14; lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_12); -return x_13; +x_14 = l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(x_13); +return x_14; } 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; -x_14 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_8); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__3; -x_17 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__5; -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_stringToMessageData(x_1); +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; +x_15 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_8); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__3; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__5; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_stringToMessageData(x_1); lean_dec(x_1); -x_21 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; -x_25 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4(x_24, x_23, x_2, x_3, x_4, x_5, x_12); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_11, x_24, x_2, x_3, x_4, x_5, x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -7075,62 +7141,62 @@ else { if (lean_obj_tag(x_8) == 2) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_8, 0); -lean_inc(x_41); +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_8, 0); +lean_inc(x_40); lean_dec(x_8); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_42 = l_Lean_PrettyPrinter_Formatter_pushToken(x_41, x_1, x_2, x_3, x_4, x_5, x_9); -if (lean_obj_tag(x_42) == 0) +x_41 = l_Lean_PrettyPrinter_Formatter_pushToken(x_40, x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg(x_3, x_4, x_5, x_43); +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg(x_3, x_4, x_5, x_42); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_44; +return x_43; } else { -uint8_t x_45; +uint8_t x_44; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) +x_44 = !lean_is_exclusive(x_41); +if (x_44 == 0) { -return x_42; +return x_41; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 0); -x_47 = lean_ctor_get(x_42, 1); -lean_inc(x_47); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_41, 0); +x_46 = lean_ctor_get(x_41, 1); lean_inc(x_46); -lean_dec(x_42); -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_inc(x_45); +lean_dec(x_41); +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; } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_dec(x_8); lean_dec(x_1); -x_49 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__7; -x_50 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__11; -x_51 = lean_panic_fn(x_49, x_50); -x_52 = lean_apply_5(x_51, x_2, x_3, x_4, x_5, x_9); -return x_52; +x_48 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__7; +x_49 = l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__11; +x_50 = lean_panic_fn(x_48, x_49); +x_51 = lean_apply_5(x_50, x_2, x_3, x_4, x_5, x_9); +return x_51; } } } @@ -7354,7 +7420,7 @@ x_37 = l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed x_38 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); @@ -7450,6 +7516,10 @@ _start: { lean_object* x_6; lean_object* x_7; x_6 = l_Lean_identKind; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); x_7 = l_Lean_PrettyPrinter_Formatter_checkKind(x_6, x_1, x_2, x_3, x_4, x_5); if (lean_obj_tag(x_7) == 0) { @@ -7536,7 +7606,7 @@ x_29 = l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___closed__2; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_31 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -7581,6 +7651,10 @@ _start: { lean_object* x_6; lean_object* x_7; x_6 = l_Lean_identKind; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); x_7 = l_Lean_PrettyPrinter_Formatter_checkKind(x_6, x_1, x_2, x_3, x_4, x_5); if (lean_obj_tag(x_7) == 0) { @@ -7666,7 +7740,7 @@ x_28 = l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___closed__2; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_30 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -7756,7 +7830,7 @@ x_21 = l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -7896,7 +7970,7 @@ x_10 = l_Lean_PrettyPrinter_Formatter_unicodeSymbolNoAntiquot_formatter___closed x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_12 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -7924,6 +7998,10 @@ x_11 = lean_name_eq(x_1, x_10); if (x_11 == 0) { lean_object* x_12; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); x_12 = l_Lean_PrettyPrinter_Formatter_checkKind(x_1, x_2, x_3, x_4, x_5, x_9); if (lean_obj_tag(x_12) == 0) { @@ -9499,7 +9577,7 @@ x_10 = l_Lean_PrettyPrinter_Formatter_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x return x_10; } } -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2883_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3028_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -9544,7 +9622,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1() { _start: { lean_object* x_1; @@ -9552,17 +9630,17 @@ x_1 = lean_mk_string("ws"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3() { _start: { lean_object* x_1; @@ -9570,17 +9648,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkWsBefore_fo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5() { _start: { lean_object* x_1; @@ -9588,17 +9666,17 @@ x_1 = lean_mk_string("noWs"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7() { _start: { lean_object* x_1; @@ -9606,17 +9684,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9() { _start: { lean_object* x_1; @@ -9624,17 +9702,17 @@ x_1 = lean_mk_string("linebreak"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11() { _start: { lean_object* x_1; @@ -9642,17 +9720,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkLinebreakBe return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13() { _start: { lean_object* x_1; @@ -9660,17 +9738,17 @@ x_1 = lean_mk_string("colGt"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15() { _start: { lean_object* x_1; @@ -9678,17 +9756,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGt_forma return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17() { _start: { lean_object* x_1; @@ -9696,17 +9774,17 @@ x_1 = lean_mk_string("colGe"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19() { _start: { lean_object* x_1; @@ -9714,17 +9792,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGe_forma return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21() { _start: { lean_object* x_1; @@ -9732,17 +9810,17 @@ x_1 = lean_mk_string("lookahead"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23() { _start: { lean_object* x_1; @@ -9750,17 +9828,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_lookahead_format return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25() { _start: { lean_object* x_1; @@ -9768,17 +9846,17 @@ x_1 = lean_mk_string("atomic"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27() { _start: { lean_object* x_1; @@ -9786,17 +9864,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29() { _start: { lean_object* x_1; @@ -9804,17 +9882,17 @@ x_1 = lean_mk_string("notFollowedBy"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31() { _start: { lean_object* x_1; @@ -9822,17 +9900,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_fo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33() { _start: { lean_object* x_1; @@ -9840,17 +9918,17 @@ x_1 = lean_mk_string("withPosition"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35() { _start: { lean_object* x_1; @@ -9858,17 +9936,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_for return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37() { _start: { lean_object* x_1; @@ -9876,17 +9954,17 @@ x_1 = lean_mk_string("interpolatedStr"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39() { _start: { lean_object* x_1; @@ -9894,17 +9972,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_interpolatedStr_ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41() { _start: { lean_object* x_1; @@ -9912,17 +9990,17 @@ x_1 = lean_mk_string("orelse"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43() { _start: { lean_object* x_1; @@ -9930,17 +10008,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45() { _start: { lean_object* x_1; @@ -9948,17 +10026,17 @@ x_1 = lean_mk_string("andthen"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47() { _start: { lean_object* x_1; @@ -9966,23 +10044,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatte return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095_(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_PrettyPrinter_Formatter_formatterAliasesRef; -x_3 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2; -x_4 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4; +x_3 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2; +x_4 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -9990,8 +10068,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6; -x_8 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -9999,8 +10077,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10; -x_12 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12; +x_11 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10; +x_12 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -10008,8 +10086,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14; -x_16 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16; +x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14; +x_16 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -10017,8 +10095,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18; -x_20 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20; +x_19 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18; +x_20 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -10026,8 +10104,8 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22; -x_24 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24; +x_23 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22; +x_24 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -10035,8 +10113,8 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26; -x_28 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28; +x_27 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26; +x_28 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -10044,8 +10122,8 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30; -x_32 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32; +x_31 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30; +x_32 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -10053,8 +10131,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34; -x_36 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36; +x_35 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34; +x_36 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -10062,8 +10140,8 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38; -x_40 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40; +x_39 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38; +x_40 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -10071,8 +10149,8 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); -x_43 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42; -x_44 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44; +x_43 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42; +x_44 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -10080,8 +10158,8 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46; -x_48 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48; +x_47 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46; +x_48 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48; x_49 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_47, x_48, x_46); return x_49; } @@ -10398,20 +10476,7 @@ return x_13; } } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_2, 0); -x_6 = l_Lean_checkTraceOption(x_5, x_1); -x_7 = lean_box(x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_4); -return x_8; -} -} -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -10444,18 +10509,18 @@ x_17 = lean_ctor_get(x_12, 0); lean_inc(x_1); x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_1); -x_19 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_19 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_8); -x_24 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_24 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -10502,18 +10567,18 @@ lean_dec(x_12); lean_inc(x_1); x_38 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_38, 0, x_1); -x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_8); -x_44 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_44 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -10574,18 +10639,18 @@ if (lean_is_exclusive(x_12)) { lean_inc(x_1); x_61 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_61, 0, x_1); -x_62 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2; +x_62 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2; x_63 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4; +x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4; 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 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_8); -x_67 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; +x_67 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); @@ -10632,7 +10697,20 @@ return x_78; } } } -static lean_object* _init_l_Lean_PrettyPrinter_format___closed__1() { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 0); +x_6 = l_Lean_checkTraceOption(x_5, x_1); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_format___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -10640,106 +10718,22 @@ x_1 = lean_mk_string("format: uncaught backtrack exception"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_format___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_format___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_format___closed__1; +x_1 = l_Lean_PrettyPrinter_format___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_format___closed__3() { +lean_object* l_Lean_PrettyPrinter_format___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) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("input"); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_format___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; -x_2 = l_Lean_PrettyPrinter_format___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_PrettyPrinter_format(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_68 = lean_st_ref_get(x_4, x_5); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_ctor_get_uint8(x_70, sizeof(void*)*1); -lean_dec(x_70); -if (x_71 == 0) -{ -lean_object* x_72; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec(x_68); -x_6 = x_72; -goto block_67; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_73 = lean_ctor_get(x_68, 1); -lean_inc(x_73); -lean_dec(x_68); -x_74 = l_Lean_PrettyPrinter_format___closed__4; -x_75 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2(x_74, x_3, x_4, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_unbox(x_76); -lean_dec(x_76); -if (x_77 == 0) -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_6 = x_78; -goto block_67; -} -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_object* x_85; lean_object* x_86; -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); -lean_dec(x_75); -lean_inc(x_2); -x_80 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3(x_2); -x_81 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_81, 0, x_80); -x_82 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__3(x_74, x_84, x_3, x_4, x_79); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_6 = x_86; -goto block_67; -} -} -block_67: -{ 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; lean_object* x_24; lean_object* x_25; -x_7 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_4, 0); lean_inc(x_7); -x_8 = lean_st_ref_get(x_4, x_6); +x_8 = lean_st_ref_get(x_5, x_6); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); @@ -10753,14 +10747,14 @@ lean_dec(x_11); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_7); lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_Syntax_Traverser_fromSyntax(x_2); +x_15 = l_Lean_Syntax_Traverser_fromSyntax(x_1); x_16 = l_Lean_PrettyPrinter_Formatter_State_leadWord___default___closed__1; x_17 = l_Lean_PrettyPrinter_Formatter_State_stack___default___closed__1; x_18 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_16); lean_ctor_set(x_18, 2, x_17); -x_19 = lean_st_ref_get(x_4, x_13); +x_19 = lean_st_ref_get(x_5, x_13); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); @@ -10771,19 +10765,19 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_24 = l_Lean_PrettyPrinter_Formatter_concat___closed__1; +lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_22); -x_25 = l_Lean_PrettyPrinter_Formatter_fold(x_24, x_1, x_14, x_22, x_3, x_4, x_23); +x_25 = l_Lean_PrettyPrinter_Formatter_fold(x_24, x_2, x_14, x_22, x_4, x_5, x_23); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_3); +lean_dec(x_4); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = lean_st_ref_get(x_4, x_26); -lean_dec(x_4); +x_27 = lean_st_ref_get(x_5, x_26); +lean_dec(x_5); x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); @@ -10842,8 +10836,8 @@ lean_inc(x_47); if (lean_obj_tag(x_47) == 0) { uint8_t x_48; +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_48 = !lean_is_exclusive(x_25); if (x_48 == 0) { @@ -10881,8 +10875,8 @@ x_57 = lean_nat_dec_eq(x_56, x_55); lean_dec(x_55); if (x_57 == 0) { +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_25; } else @@ -10890,10 +10884,10 @@ else lean_object* x_58; lean_object* x_59; lean_free_object(x_25); lean_dec(x_47); -x_58 = l_Lean_PrettyPrinter_format___closed__2; -x_59 = l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1(x_58, x_3, x_4, x_53); +x_58 = l_Lean_PrettyPrinter_format___lambda__1___closed__2; +x_59 = l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1(x_58, x_4, x_5, x_53); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_59; } } @@ -10911,8 +10905,8 @@ lean_dec(x_61); if (x_63 == 0) { lean_object* x_64; +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_47); lean_ctor_set(x_64, 1, x_60); @@ -10922,10 +10916,10 @@ else { lean_object* x_65; lean_object* x_66; lean_dec(x_47); -x_65 = l_Lean_PrettyPrinter_format___closed__2; -x_66 = l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1(x_65, x_3, x_4, x_60); +x_65 = l_Lean_PrettyPrinter_format___lambda__1___closed__2; +x_66 = l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1(x_65, x_4, x_5, x_60); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_66; } } @@ -10933,6 +10927,101 @@ return x_66; } } } +static lean_object* _init_l_Lean_PrettyPrinter_format___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("input"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_format___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3; +x_2 = l_Lean_PrettyPrinter_format___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_format(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_6 = l_Lean_PrettyPrinter_format___closed__2; +x_21 = lean_st_ref_get(x_4, x_5); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = 0; +x_7 = x_26; +x_8 = x_25; +goto block_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3(x_6, x_3, x_4, 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_unbox(x_29); +lean_dec(x_29); +x_7 = x_31; +x_8 = x_30; +goto block_20; +} +block_20: +{ +if (x_7 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = l_Lean_PrettyPrinter_format___lambda__1(x_2, x_1, x_9, x_3, x_4, x_8); +return x_10; +} +else +{ +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_inc(x_2); +x_11 = l_Std_fmt___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(x_2); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5; +x_14 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2(x_6, x_15, x_3, x_4, x_8); +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); +x_19 = l_Lean_PrettyPrinter_format___lambda__1(x_2, x_1, x_17, x_3, x_4, x_18); +lean_dec(x_17); +return x_19; +} +} +} } lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_format___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -10944,24 +11033,33 @@ lean_dec(x_2); return x_5; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__3(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___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* l_Lean_PrettyPrinter_format___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_format___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); -return x_6; +return x_7; } } static lean_object* _init_l_Lean_PrettyPrinter_formatTerm___closed__1() { @@ -11038,11 +11136,11 @@ x_6 = l_Lean_PrettyPrinter_format(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3242_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3440_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; +x_2 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -11221,16 +11319,16 @@ l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__4 = _init_l_Lean lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__4); l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__5 = _init_l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__5); -l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__1); -l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__2); -l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__3); -l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__4); -l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__4___closed__5); +l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__1); +l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__2); +l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__3); +l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__4); +l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___closed__5); l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1); l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__2(); @@ -11241,16 +11339,16 @@ l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4 lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4); l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5); -l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6); -l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7); -l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__8); -l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__9); -l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__10); +l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1); +l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__2); +l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__3); +l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__4); +l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5 = _init_l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__5); l_Lean_PrettyPrinter_Formatter_checkKind___closed__1 = _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_checkKind___closed__1); l_Lean_PrettyPrinter_Formatter_checkKind___closed__2 = _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__2(); @@ -11263,6 +11361,8 @@ l_Lean_PrettyPrinter_Formatter_checkKind___closed__5 = _init_l_Lean_PrettyPrinte lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_checkKind___closed__5); l_Lean_PrettyPrinter_Formatter_checkKind___closed__6 = _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_checkKind___closed__6); +l_Lean_PrettyPrinter_Formatter_checkKind___closed__7 = _init_l_Lean_PrettyPrinter_Formatter_checkKind___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_checkKind___closed__7); l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__1); l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__2(); @@ -11317,118 +11417,118 @@ l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1 = _init_l_L lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1); l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1 = _init_l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1); -res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2883_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3028_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Formatter_formatterAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__1); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__2); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__3); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__4); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__5); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__6); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__7); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__8); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__9); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__10); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__11); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__12); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__13); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__14); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__15); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__16); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__17); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__18); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__19); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__20); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__21); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__22); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__23); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__24); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__25); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__26); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__27); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__28); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__29); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__30); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__31); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__32); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__33); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__34); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__35); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__36); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__37); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__38); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__39); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__40); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__41); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__42); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__43); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__44); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__45); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__46); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__47); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950____closed__48); -res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2950_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__1); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__2); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__3); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__4); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__5); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__6); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__7); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__8); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__9); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__10); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__11); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__12); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__13); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__14); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__15); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__16); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__17); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__18); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__19); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__20); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__21); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__22); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__23); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__24); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__25); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__26); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__27); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__28); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__29); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__30); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__31); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__32); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__33); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__34); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__35); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__36); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__37); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__38); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__39); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__40); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__41); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__42); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__43); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__44); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__45); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__46); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__47); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095____closed__48); +res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3095_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_PrettyPrinter_format___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_format___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_format___lambda__1___closed__1); +l_Lean_PrettyPrinter_format___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_format___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_format___lambda__1___closed__2); l_Lean_PrettyPrinter_format___closed__1 = _init_l_Lean_PrettyPrinter_format___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_format___closed__1); l_Lean_PrettyPrinter_format___closed__2 = _init_l_Lean_PrettyPrinter_format___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_format___closed__2); -l_Lean_PrettyPrinter_format___closed__3 = _init_l_Lean_PrettyPrinter_format___closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_format___closed__3); -l_Lean_PrettyPrinter_format___closed__4 = _init_l_Lean_PrettyPrinter_format___closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_format___closed__4); l_Lean_PrettyPrinter_formatTerm___closed__1 = _init_l_Lean_PrettyPrinter_formatTerm___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_formatTerm___closed__1); l_Lean_PrettyPrinter_formatTerm___closed__2 = _init_l_Lean_PrettyPrinter_formatTerm___closed__2(); @@ -11441,7 +11541,7 @@ l_Lean_PrettyPrinter_formatCommand___closed__2 = _init_l_Lean_PrettyPrinter_form lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__2); l_Lean_PrettyPrinter_formatCommand___closed__3 = _init_l_Lean_PrettyPrinter_formatCommand___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__3); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3242_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3440_(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 7530c9b854..18ca94c2d6 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutInfo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25,27 +24,25 @@ lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContex lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer(lean_object*); uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6; size_t l_USize_add(size_t, size_t); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__1; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_PrettyPrinter_categoryParenthesizerAttribute; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_optionalNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_PrettyPrinter_Parenthesizer_sepByNoAntiquot_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer_match__1(lean_object*); @@ -58,17 +55,14 @@ lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1___ static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__1; extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer(lean_object*, uint8_t, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__10; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4___rarg(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__11; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -81,8 +75,8 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___bo lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_up(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed(lean_object*); @@ -91,56 +85,60 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__7; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__10; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__7; +lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__2; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18; lean_object* lean_environment_find(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16; lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3346_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3638_(lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9___boxed(lean_object**); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__6; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__5; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailCat___default; lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2; lean_object* l_List_range(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -149,6 +147,7 @@ lean_object* l_Lean_PrettyPrinter_parenthesizeCommand(lean_object*, lean_object* lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailPrec___default; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__8; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__8; @@ -163,6 +162,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthe lean_object* l_Lean_PrettyPrinter_instOrElseParenthesizerM(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1; @@ -170,11 +170,10 @@ lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdentNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__5; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__12; @@ -185,101 +184,107 @@ static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__9; lean_object* l_Array_back_x3f___rarg(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepByNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45; static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_dbgTraceState_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_registerAlias(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22; lean_object* l_List_forM___at_Lean_PrettyPrinter_Parenthesizer_sepByNoAntiquot_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object*); +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; +static lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__3; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLinebreakBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_parenthesize___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7; lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__2(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__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_PrettyPrinter_parenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1NoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24; lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___boxed(lean_object**); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__5; +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7___closed__1; lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__2; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_dbgTraceState_parenthesizer(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__6; static lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__6; lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; @@ -287,10 +292,8 @@ static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__2; @@ -298,7 +301,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthe lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); @@ -306,15 +308,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_paren lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3(lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -324,24 +323,28 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parent lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); static 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* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44; +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLinebreakBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4___boxed(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41; lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM(lean_object*); extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -351,7 +354,6 @@ static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1___cl lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,16 +361,13 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg( static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__4; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__4; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___closed__1; @@ -388,23 +387,24 @@ lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__10; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_PrettyPrinter_Parenthesizer_State_visitedToken___default; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind___rarg(lean_object*); @@ -425,8 +425,8 @@ static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__5; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42; lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4(lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__15; @@ -434,43 +434,44 @@ static lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___cl lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__8___boxed(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2(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*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__5(lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_decQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3009_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3248_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315_(lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__16; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__2(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -483,7 +484,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(uint8_t, lean_object* static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__6; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3; uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_right(lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_mkParenthesizerAttribute___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,11 +492,10 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*) lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__11; @@ -506,6 +505,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesi lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize_match__1(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___rarg(lean_object*); @@ -516,14 +516,16 @@ lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuota static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___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_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___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_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(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_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__12; @@ -532,31 +534,30 @@ lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__3___boxed(lea static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19; static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__2; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24; lean_object* l_Lean_Syntax_getTailInfo(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdentNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___closed__2; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLinebreakBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -576,7 +577,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambd lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_mkParenthesizerAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM_match__1(lean_object*, lean_object*); @@ -584,13 +584,18 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___rarg lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); lean_object* l_Lean_indentD(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_contCat___default; static lean_object* l_Lean_PrettyPrinter_instOrElseParenthesizerM___closed__1; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__6; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___boxed(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -601,12 +606,14 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___cl lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_minPrec___default; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__14; static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__3; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -614,10 +621,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__8(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7; lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___closed__1; lean_object* l_Nat_min(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; @@ -627,16 +636,16 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenth static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__7; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4; lean_object* l_Lean_Syntax_Traverser_left(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -645,12 +654,12 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambd lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tokenWithAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; lean_object* lean_nat_to_int(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; @@ -658,11 +667,12 @@ lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lea lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesize___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9; extern lean_object* l_Lean_interpolatedStrLitKind; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___rarg(lean_object*); @@ -671,9 +681,9 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___rarg( lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12; -static lean_object* l_Lean_PrettyPrinter_parenthesize___closed__4; lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__9; lean_object* lean_mk_antiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__5; @@ -4245,20 +4255,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_P return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { -_start: -{ -lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_4, 0); -x_8 = l_Lean_checkTraceOption(x_7, x_1); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_6); -return x_10; -} -} -lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(lean_object* x_1) { +lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; @@ -4269,7 +4266,7 @@ x_5 = l_Lean_Syntax_formatStxAux(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1() { _start: { lean_object* x_1; @@ -4277,16 +4274,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1; +x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3() { _start: { lean_object* x_1; @@ -4294,16 +4291,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3; +x_1 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -4312,7 +4309,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { _start: { 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; uint8_t x_16; @@ -4345,18 +4342,18 @@ x_19 = lean_ctor_get(x_14, 0); lean_inc(x_1); x_20 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_20, 0, x_1); -x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_23 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_10); -x_26 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_26 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -4403,18 +4400,18 @@ lean_dec(x_14); lean_inc(x_1); x_40 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_40, 0, x_1); -x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_43 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_10); -x_46 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_46 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -4475,18 +4472,18 @@ if (lean_is_exclusive(x_14)) { lean_inc(x_1); x_63 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_63, 0, x_1); -x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_65 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_66 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; x_67 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_10); -x_69 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_69 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); @@ -4533,6 +4530,19 @@ return x_80; } } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { +_start: +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_4, 0); +x_8 = l_Lean_checkTraceOption(x_7, x_1); +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +} lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { _start: { @@ -5333,7 +5343,81 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2() { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_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; lean_object* x_19; uint8_t x_20; +x_11 = l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(x_1, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_7, x_8, x_9, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_st_ref_get(x_9, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_take(x_7, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_18, 4); +lean_dec(x_21); +x_22 = lean_ctor_get(x_18, 2); +lean_dec(x_22); +x_23 = lean_ctor_get(x_18, 1); +lean_dec(x_23); +x_24 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1; +lean_ctor_set(x_18, 4, x_3); +lean_ctor_set(x_18, 2, x_2); +lean_ctor_set(x_18, 1, x_24); +x_25 = lean_st_ref_set(x_7, x_18, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_box(0); +x_28 = lean_apply_6(x_4, x_27, x_6, x_7, x_8, x_9, x_26); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t 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_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 3); +x_31 = lean_ctor_get(x_18, 5); +x_32 = lean_ctor_get_uint8(x_18, sizeof(void*)*6); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +x_33 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1; +x_34 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_2); +lean_ctor_set(x_34, 3, x_30); +lean_ctor_set(x_34, 4, x_3); +lean_ctor_set(x_34, 5, x_31); +lean_ctor_set_uint8(x_34, sizeof(void*)*6, x_32); +x_35 = lean_st_ref_set(x_7, x_34, x_19); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_box(0); +x_38 = lean_apply_6(x_4, x_37, x_6, x_7, x_8, x_9, x_36); +return x_38; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -5341,162 +5425,98 @@ x_1 = lean_mk_string("parenthesized: "); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_st_ref_get(x_10, x_11); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 3); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); -lean_dec(x_44); -if (x_45 == 0) -{ -lean_object* x_46; -lean_dec(x_4); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_12 = x_46; -goto block_41; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_47 = lean_ctor_get(x_42, 1); -lean_inc(x_47); -lean_dec(x_42); -lean_inc(x_4); -x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_4, x_7, x_8, x_9, x_10, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_unbox(x_49); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -lean_dec(x_4); -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_12 = x_51; -goto block_41; -} -else -{ -lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -lean_dec(x_48); -x_53 = 0; -x_54 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -x_55 = l_Lean_Syntax_formatStxAux(x_2, x_53, x_54, x_5); -x_56 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_57 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_4, x_60, x_7, x_8, x_9, x_10, x_52); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_12 = x_62; -goto block_41; -} -} -block_41: -{ -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; uint8_t x_22; -x_13 = l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(x_5, x_7, x_8, x_9, x_10, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(x_8, x_9, x_10, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_st_ref_get(x_10, x_16); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_take(x_8, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -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; -x_23 = lean_ctor_get(x_20, 4); -lean_dec(x_23); -x_24 = lean_ctor_get(x_20, 2); -lean_dec(x_24); -x_25 = lean_ctor_get(x_20, 1); -lean_dec(x_25); -x_26 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1; -lean_ctor_set(x_20, 4, x_2); -lean_ctor_set(x_20, 2, x_1); -lean_ctor_set(x_20, 1, x_26); -x_27 = lean_st_ref_set(x_8, x_20, x_21); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_box(0); -x_30 = lean_apply_6(x_3, x_29, x_7, x_8, x_9, x_10, x_28); -return x_30; -} -else -{ -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; -x_31 = lean_ctor_get(x_20, 0); -x_32 = lean_ctor_get(x_20, 3); -x_33 = lean_ctor_get(x_20, 5); -x_34 = lean_ctor_get_uint8(x_20, sizeof(void*)*6); -lean_inc(x_33); -lean_inc(x_32); +uint8_t x_12; lean_object* x_13; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_st_ref_get(x_10, x_11); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_30, 3); lean_inc(x_31); -lean_dec(x_20); -x_35 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1; -x_36 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_1); -lean_ctor_set(x_36, 3, x_32); -lean_ctor_set(x_36, 4, x_2); -lean_ctor_set(x_36, 5, x_33); -lean_ctor_set_uint8(x_36, sizeof(void*)*6, x_34); -x_37 = lean_st_ref_set(x_8, x_36, x_21); -x_38 = lean_ctor_get(x_37, 1); +lean_dec(x_30); +x_32 = lean_ctor_get_uint8(x_31, sizeof(void*)*1); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = 0; +x_12 = x_34; +x_13 = x_33; +goto block_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +lean_inc(x_4); +x_36 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_4, x_7, x_8, x_9, x_10, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unbox(x_37); lean_dec(x_37); -x_39 = lean_box(0); -x_40 = lean_apply_6(x_3, x_39, x_7, x_8, x_9, x_10, x_38); -return x_40; +x_12 = x_39; +x_13 = x_38; +goto block_28; +} +block_28: +{ +if (x_12 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_14 = lean_box(0); +x_15 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_5, x_1, x_2, x_3, x_14, x_7, x_8, x_9, x_10, x_13); +return x_15; +} +else +{ +uint8_t 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; +x_16 = 0; +x_17 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +x_18 = l_Lean_Syntax_formatStxAux(x_2, x_16, x_17, x_5); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_4, x_23, x_7, x_8, x_9, x_10, x_13); +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 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_5, x_1, x_2, x_3, x_25, x_7, x_8, x_9, x_10, x_26); +lean_dec(x_25); +return x_27; } } } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -5505,13 +5525,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__2; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5519,7 +5539,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -5533,11 +5553,11 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_ctor_get(x_13, 0); lean_dec(x_15); -x_16 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_ctor_set(x_13, 0, x_16); x_17 = l_Lean_Syntax_setTailInfo(x_6, x_13); x_18 = lean_box(0); -x_19 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_1, x_2, x_3, x_4, x_17, x_18, x_8, x_9, x_10, x_11, x_12); +x_19 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_2, x_3, x_4, x_17, x_18, x_8, x_9, x_10, x_11, x_12); return x_19; } else @@ -5550,7 +5570,7 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_13); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_23 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; x_24 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_20); @@ -5558,7 +5578,7 @@ lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_22); x_25 = l_Lean_Syntax_setTailInfo(x_6, x_24); x_26 = lean_box(0); -x_27 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_1, x_2, x_3, x_4, x_25, x_26, x_8, x_9, x_10, x_11, x_12); +x_27 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_2, x_3, x_4, x_25, x_26, x_8, x_9, x_10, x_11, x_12); return x_27; } } @@ -5567,12 +5587,12 @@ else lean_object* x_28; lean_object* x_29; lean_dec(x_13); x_28 = lean_box(0); -x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_1, x_2, x_3, x_4, x_6, x_28, x_8, x_9, x_10, x_11, x_12); +x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_2, x_3, x_4, x_6, x_28, x_8, x_9, x_10, x_11, x_12); return x_29; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -5588,11 +5608,11 @@ if (x_15 == 0) lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_16 = lean_ctor_get(x_14, 2); lean_dec(x_16); -x_17 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_17 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_ctor_set(x_14, 2, x_17); x_18 = l_Lean_Syntax_setHeadInfo(x_13, x_14); x_19 = lean_box(0); -x_20 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_2, x_3, x_4, x_5, x_6, x_18, x_19, x_8, x_9, x_10, x_11, x_12); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_2, x_3, x_4, x_5, x_6, x_18, x_19, x_8, x_9, x_10, x_11, x_12); lean_dec(x_6); return x_20; } @@ -5606,7 +5626,7 @@ lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_dec(x_14); -x_24 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_24 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; x_25 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 1, x_22); @@ -5614,7 +5634,7 @@ lean_ctor_set(x_25, 2, x_24); lean_ctor_set(x_25, 3, x_23); x_26 = l_Lean_Syntax_setHeadInfo(x_13, x_25); x_27 = lean_box(0); -x_28 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_2, x_3, x_4, x_5, x_6, x_26, x_27, x_8, x_9, x_10, x_11, x_12); +x_28 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_2, x_3, x_4, x_5, x_6, x_26, x_27, x_8, x_9, x_10, x_11, x_12); lean_dec(x_6); return x_28; } @@ -5624,13 +5644,13 @@ else lean_object* x_29; lean_object* x_30; lean_dec(x_14); x_29 = lean_box(0); -x_30 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_2, x_3, x_4, x_5, x_6, x_13, x_29, x_8, x_9, x_10, x_11, x_12); +x_30 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_2, x_3, x_4, x_5, x_6, x_13, x_29, x_8, x_9, x_10, x_11, x_12); lean_dec(x_6); return x_30; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -5644,11 +5664,11 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_ctor_get(x_13, 2); lean_dec(x_15); -x_16 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_ctor_set(x_13, 2, x_16); x_17 = l_Lean_Syntax_setTailInfo(x_6, x_13); x_18 = lean_box(0); -x_19 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12); +x_19 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12); return x_19; } else @@ -5661,7 +5681,7 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_13); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_23 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; x_24 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_24, 1, x_21); @@ -5669,7 +5689,7 @@ lean_ctor_set(x_24, 2, x_23); lean_ctor_set(x_24, 3, x_22); x_25 = l_Lean_Syntax_setTailInfo(x_6, x_24); x_26 = lean_box(0); -x_27 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_1, x_2, x_3, x_4, x_5, x_25, x_26, x_8, x_9, x_10, x_11, x_12); +x_27 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_25, x_26, x_8, x_9, x_10, x_11, x_12); return x_27; } } @@ -5678,12 +5698,12 @@ else lean_object* x_28; lean_object* x_29; lean_dec(x_13); x_28 = lean_box(0); -x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_8, x_9, x_10, x_11, x_12); +x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_8, x_9, x_10, x_11, x_12); return x_29; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -5703,11 +5723,11 @@ if (x_16 == 0) lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_17 = lean_ctor_get(x_15, 0); lean_dec(x_17); -x_18 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_18 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_ctor_set(x_15, 0, x_18); x_19 = l_Lean_Syntax_setHeadInfo(x_13, x_15); x_20 = lean_box(0); -x_21 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_7, x_8, x_9, x_10, x_14); +x_21 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_1, x_2, x_3, x_4, x_5, x_19, x_20, x_7, x_8, x_9, x_10, x_14); return x_21; } else @@ -5720,7 +5740,7 @@ lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_dec(x_15); -x_25 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; +x_25 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; x_26 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_22); @@ -5728,7 +5748,7 @@ lean_ctor_set(x_26, 2, x_23); lean_ctor_set(x_26, 3, x_24); x_27 = l_Lean_Syntax_setHeadInfo(x_13, x_26); x_28 = lean_box(0); -x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_27, x_28, x_7, x_8, x_9, x_10, x_14); +x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_1, x_2, x_3, x_4, x_5, x_27, x_28, x_7, x_8, x_9, x_10, x_14); return x_29; } } @@ -5737,11 +5757,607 @@ else lean_object* x_30; lean_object* x_31; lean_dec(x_15); x_30 = lean_box(0); -x_31 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(x_1, x_2, x_3, x_4, x_5, x_13, x_30, x_7, x_8, x_9, x_10, x_14); +x_31 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_1, x_2, x_3, x_4, x_5, x_13, x_30, x_7, x_8, x_9, x_10, x_14); return x_31; } } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(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, uint8_t 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) { +_start: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_35; +x_23 = lean_box(x_2); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_24 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2___boxed), 12, 6); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_23); +lean_closure_set(x_24, 2, x_3); +lean_closure_set(x_24, 3, x_4); +lean_closure_set(x_24, 4, x_5); +lean_closure_set(x_24, 5, x_6); +x_35 = lean_nat_dec_lt(x_11, x_3); +if (x_35 == 0) +{ +if (x_12 == 0) +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_36 = lean_box(0); +x_37 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_36, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_37; +} +else +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_38 = lean_box(0); +x_39 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_39; +} +else +{ +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_40 = lean_box(0); +x_41 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_ctor_get(x_13, 0); +x_43 = lean_ctor_get(x_14, 0); +x_44 = lean_name_eq(x_15, x_16); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_45 = lean_box(0); +x_46 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_45, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_46; +} +else +{ +uint8_t x_47; +x_47 = lean_nat_dec_le(x_42, x_43); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_48 = lean_box(0); +x_49 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +return x_49; +} +else +{ +lean_object* x_50; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_50 = lean_box(0); +x_25 = x_50; +goto block_34; +} +} +} +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_51 = lean_box(0); +x_25 = x_51; +goto block_34; +} +block_34: +{ +lean_object* x_26; uint8_t x_27; +lean_dec(x_25); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_nat_dec_lt(x_26, x_10); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(x_7, x_4, x_8, x_24, x_9, x_28, x_18, x_19, x_20, x_21, x_22); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg(x_19, x_20, x_21, x_22); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(x_7, x_4, x_8, x_24, x_9, x_31, x_18, x_19, x_20, x_21, x_32); +lean_dec(x_31); +return x_33; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("visited a syntax tree without precedences?!"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("...precedences are {prec} >? {minPrec}"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___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_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__2; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6; +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_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7; +x_3 = lean_alloc_ctor(10, 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_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", "); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" <=? "); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +_start: +{ +lean_object* x_22; +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +x_22 = lean_apply_5(x_1, x_17, x_18, x_19, x_20, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_get(x_20, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_18, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_27); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_30 = x_26; +} else { + lean_dec_ref(x_26); + x_30 = lean_box(0); +} +x_45 = lean_st_ref_get(x_20, x_29); +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_31 = x_50; +x_32 = 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_3); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_3, x_17, x_18, x_19, x_20, 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_31 = x_55; +x_32 = x_54; +goto block_44; +} +block_44: +{ +if (x_31 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_3); +lean_dec(x_2); +x_33 = lean_box(0); +if (lean_is_scalar(x_30)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_30; +} +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_30); +x_35 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_2); +x_36 = lean_box(1); +x_37 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_42, x_17, x_18, x_19, x_20, x_32); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +return x_43; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +lean_dec(x_2); +x_56 = lean_ctor_get(x_26, 1); +lean_inc(x_56); +lean_dec(x_26); +x_57 = lean_ctor_get(x_27, 4); +lean_inc(x_57); +x_58 = lean_ctor_get(x_27, 5); +lean_inc(x_58); +lean_dec(x_27); +x_59 = lean_ctor_get(x_28, 0); +lean_inc(x_59); +lean_dec(x_28); +x_89 = lean_st_ref_get(x_20, x_56); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_90, 3); +lean_inc(x_91); +lean_dec(x_90); +x_92 = lean_ctor_get_uint8(x_91, sizeof(void*)*1); +lean_dec(x_91); +if (x_92 == 0) +{ +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_89, 1); +lean_inc(x_93); +lean_dec(x_89); +x_94 = 0; +x_60 = x_94; +x_61 = x_93; +goto block_88; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_95 = lean_ctor_get(x_89, 1); +lean_inc(x_95); +lean_dec(x_89); +lean_inc(x_3); +x_96 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_3, x_17, x_18, x_19, x_20, x_95); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_unbox(x_97); +lean_dec(x_97); +x_60 = x_99; +x_61 = x_98; +goto block_88; +} +block_88: +{ +if (x_60 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_box(0); +x_63 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_62, x_17, x_18, x_19, x_20, x_61); +lean_dec(x_15); +lean_dec(x_58); +lean_dec(x_14); +lean_dec(x_57); +lean_dec(x_59); +return x_63; +} +else +{ +if (x_13 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_64 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8; +lean_inc(x_3); +x_65 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_64, x_17, x_18, x_19, x_20, x_61); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_66, x_17, x_18, x_19, x_20, x_67); +lean_dec(x_66); +lean_dec(x_15); +lean_dec(x_58); +lean_dec(x_14); +lean_dec(x_57); +lean_dec(x_59); +return x_68; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_inc(x_58); +lean_inc(x_57); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_58); +x_70 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12; +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +lean_inc(x_15); +lean_inc(x_14); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_14); +lean_ctor_set(x_76, 1, x_15); +x_77 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_76); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; +x_83 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +lean_inc(x_3); +x_84 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_83, x_17, x_18, x_19, x_20, x_61); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_85, x_17, x_18, x_19, x_20, x_86); +lean_dec(x_85); +lean_dec(x_15); +lean_dec(x_58); +lean_dec(x_14); +lean_dec(x_57); +lean_dec(x_59); +return x_87; +} +} +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_100 = !lean_is_exclusive(x_22); +if (x_100 == 0) +{ +return x_22; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_22, 0); +x_102 = lean_ctor_get(x_22, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_22); +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; +} +} +} +} static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1() { _start: { @@ -5774,7 +6390,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize__ _start: { lean_object* x_1; -x_1 = lean_mk_string("visited a syntax tree without precedences?!"); +x_1 = lean_mk_string("parenthesizing (cont := "); return x_1; } } @@ -5790,117 +6406,6 @@ return x_2; static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("...precedences are {prec} >? {minPrec}"); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; -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_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__2; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; -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_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; -x_3 = lean_alloc_ctor(10, 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_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", "); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" <=? "); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("parenthesizing (cont := "); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__7; x_2 = l_Lean_stringToMessageData(x_1); @@ -5936,7 +6441,7 @@ lean_dec(x_19); x_22 = !lean_is_exclusive(x_20); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_154; lean_object* x_155; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; x_23 = lean_ctor_get(x_20, 1); x_24 = lean_ctor_get(x_20, 2); x_25 = lean_ctor_get(x_20, 3); @@ -5960,1199 +6465,221 @@ x_34 = lean_st_ref_set(x_7, x_20, x_33); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_173 = lean_st_ref_get(x_9, x_35); -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_174, 3); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_ctor_get_uint8(x_175, sizeof(void*)*1); -lean_dec(x_175); -if (x_176 == 0) -{ -lean_object* x_177; -x_177 = lean_ctor_get(x_173, 1); -lean_inc(x_177); -lean_dec(x_173); -x_154 = x_31; -x_155 = x_177; -goto block_172; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_178 = lean_ctor_get(x_173, 1); -lean_inc(x_178); -lean_dec(x_173); -x_179 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_180 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_179, x_6, x_7, x_8, x_9, x_178); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_unbox(x_181); -lean_dec(x_181); -x_154 = x_183; -x_155 = x_182; -goto block_172; -} -block_153: -{ -lean_object* x_37; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_37 = lean_apply_5(x_5, x_6, x_7, x_8, x_9, x_36); -if (lean_obj_tag(x_37) == 0) -{ -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_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_get(x_9, x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_st_ref_get(x_7, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -lean_dec(x_42); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = lean_st_ref_get(x_9, x_44); -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) -{ -uint8_t x_49; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_45, 0); -lean_dec(x_50); -x_51 = lean_box(0); -lean_ctor_set(x_45, 0, x_51); -return x_45; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_45, 1); -lean_inc(x_52); -lean_dec(x_45); -x_53 = lean_box(0); -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; -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_55 = lean_ctor_get(x_45, 1); -lean_inc(x_55); -lean_dec(x_45); -x_56 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_57 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_56, x_6, x_7, x_8, x_9, x_55); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_unbox(x_58); -lean_dec(x_58); -if (x_59 == 0) -{ -uint8_t x_60; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_60 = !lean_is_exclusive(x_57); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_57, 0); +x_36 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +x_59 = lean_st_ref_get(x_9, x_35); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); lean_dec(x_61); -x_62 = lean_box(0); -lean_ctor_set(x_57, 0, x_62); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_37 = x_31; +x_38 = x_63; +goto block_58; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +lean_dec(x_59); +x_65 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_36, x_6, x_7, x_8, x_9, x_64); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_66); +lean_dec(x_66); +x_37 = x_68; +x_38 = x_67; +goto block_58; +} +block_58: +{ +if (x_37 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_box(0); +x_40 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(x_5, x_12, x_36, x_25, x_28, x_4, x_1, x_26, x_27, x_3, x_29, x_15, x_2, x_23, x_24, x_39, x_6, x_7, x_8, x_9, x_38); +lean_dec(x_15); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_inc(x_24); +lean_inc(x_23); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_24); +x_42 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_41); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +lean_inc(x_12); +x_48 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_12); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = l_Lean_indentD(x_49); +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_36, x_53, x_6, x_7, x_8, x_9, x_38); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(x_5, x_12, x_36, x_25, x_28, x_4, x_1, x_26, x_27, x_3, x_29, x_15, x_2, x_23, x_24, x_55, x_6, x_7, x_8, x_9, x_56); +lean_dec(x_55); +lean_dec(x_15); return x_57; } -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_57, 1); -lean_inc(x_63); -lean_dec(x_57); -x_64 = lean_box(0); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -return x_65; } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_66 = lean_ctor_get(x_57, 1); -lean_inc(x_66); -lean_dec(x_57); -x_67 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_12); -x_68 = lean_box(1); -x_69 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -x_71 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_56, x_74, x_6, x_7, x_8, x_9, x_66); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_75; -} -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_113; lean_object* x_114; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -lean_dec(x_12); -x_76 = lean_ctor_get(x_41, 1); -lean_inc(x_76); -lean_dec(x_41); -x_77 = lean_ctor_get(x_42, 4); -lean_inc(x_77); -x_78 = lean_ctor_get(x_42, 5); -lean_inc(x_78); -lean_dec(x_42); -x_79 = lean_ctor_get(x_43, 0); -lean_inc(x_79); -lean_dec(x_43); -x_138 = lean_st_ref_get(x_9, x_76); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_139, 3); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_ctor_get_uint8(x_140, sizeof(void*)*1); -lean_dec(x_140); -if (x_141 == 0) -{ -lean_object* x_142; -x_142 = lean_ctor_get(x_138, 1); -lean_inc(x_142); -lean_dec(x_138); -x_113 = x_31; -x_114 = x_142; -goto block_137; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_143 = lean_ctor_get(x_138, 1); -lean_inc(x_143); -lean_dec(x_138); -x_144 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_145 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_144, x_6, x_7, x_8, x_9, x_143); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_unbox(x_146); -lean_dec(x_146); -x_113 = x_148; -x_114 = x_147; -goto block_137; -} -block_112: -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_95; -x_81 = lean_box(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_1); -lean_inc(x_4); -lean_inc(x_25); -x_82 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2___boxed), 12, 6); -lean_closure_set(x_82, 0, x_25); -lean_closure_set(x_82, 1, x_81); -lean_closure_set(x_82, 2, x_4); -lean_closure_set(x_82, 3, x_1); -lean_closure_set(x_82, 4, x_26); -lean_closure_set(x_82, 5, x_27); -x_95 = lean_nat_dec_lt(x_79, x_4); -lean_dec(x_79); -if (x_95 == 0) -{ -if (x_2 == 0) -{ -lean_object* x_96; lean_object* x_97; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; uint8_t 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; uint8_t x_85; lean_object* x_86; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_69 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_20, 1); +x_71 = lean_ctor_get(x_20, 2); +x_72 = lean_ctor_get(x_20, 3); +x_73 = lean_ctor_get(x_20, 4); +x_74 = lean_ctor_get(x_20, 5); +x_75 = lean_ctor_get_uint8(x_20, sizeof(void*)*6); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_20); +x_76 = lean_box(0); +x_77 = lean_box(0); +x_78 = 0; +x_79 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_79, 0, x_69); +lean_ctor_set(x_79, 1, x_76); +lean_ctor_set(x_79, 2, x_77); +lean_ctor_set(x_79, 3, x_76); +lean_ctor_set(x_79, 4, x_76); +lean_ctor_set(x_79, 5, x_77); +lean_ctor_set_uint8(x_79, sizeof(void*)*6, x_78); +x_80 = lean_st_ref_get(x_9, x_21); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_st_ref_set(x_7, x_79, x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); lean_dec(x_82); -lean_dec(x_78); -lean_dec(x_77); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_3); -x_96 = lean_box(0); -x_97 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_25, x_28, x_4, x_1, x_26, x_27, x_96, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_97; -} -else -{ -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_98; lean_object* x_99; -lean_dec(x_82); -lean_dec(x_78); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_3); -x_98 = lean_box(0); -x_99 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_25, x_28, x_4, x_1, x_26, x_27, x_98, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_99; -} -else -{ -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_100; lean_object* x_101; -lean_dec(x_82); -lean_dec(x_78); -lean_dec(x_77); -lean_dec(x_24); -lean_dec(x_15); -lean_dec(x_3); -x_100 = lean_box(0); -x_101 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_25, x_28, x_4, x_1, x_26, x_27, x_100, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_101; -} -else -{ -lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_102 = lean_ctor_get(x_77, 0); -lean_inc(x_102); -lean_dec(x_77); -x_103 = lean_ctor_get(x_23, 0); -lean_inc(x_103); -lean_dec(x_23); -x_104 = lean_name_eq(x_78, x_24); -lean_dec(x_24); -lean_dec(x_78); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; -lean_dec(x_103); -lean_dec(x_102); -lean_dec(x_82); -lean_dec(x_15); -lean_dec(x_3); -x_105 = lean_box(0); -x_106 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_25, x_28, x_4, x_1, x_26, x_27, x_105, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_106; -} -else -{ -uint8_t x_107; -x_107 = lean_nat_dec_le(x_102, x_103); -lean_dec(x_103); -lean_dec(x_102); -if (x_107 == 0) -{ -lean_object* x_108; lean_object* x_109; -lean_dec(x_82); -lean_dec(x_15); -lean_dec(x_3); -x_108 = lean_box(0); -x_109 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_25, x_28, x_4, x_1, x_26, x_27, x_108, x_6, x_7, x_8, x_9, x_80); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_109; -} -else -{ -lean_object* x_110; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_4); -x_110 = lean_box(0); -x_83 = x_110; -goto block_94; -} -} -} -} -} -} -else +x_84 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +x_107 = lean_st_ref_get(x_9, x_83); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_108, 3); +lean_inc(x_109); +lean_dec(x_108); +x_110 = lean_ctor_get_uint8(x_109, sizeof(void*)*1); +lean_dec(x_109); +if (x_110 == 0) { lean_object* x_111; -lean_dec(x_78); -lean_dec(x_77); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_4); -x_111 = lean_box(0); -x_83 = x_111; -goto block_94; +x_111 = lean_ctor_get(x_107, 1); +lean_inc(x_111); +lean_dec(x_107); +x_85 = x_78; +x_86 = x_111; +goto block_106; } -block_94: +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_112 = lean_ctor_get(x_107, 1); +lean_inc(x_112); +lean_dec(x_107); +x_113 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_84, x_6, x_7, x_8, x_9, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = lean_unbox(x_114); +lean_dec(x_114); +x_85 = x_116; +x_86 = x_115; +goto block_106; +} +block_106: { -lean_object* x_84; uint8_t x_85; -lean_dec(x_83); -x_84 = lean_unsigned_to_nat(0u); -x_85 = lean_nat_dec_lt(x_84, x_15); -lean_dec(x_15); if (x_85 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); -x_88 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_3, x_1, x_29, x_82, x_86, x_87, x_6, x_7, x_8, x_9, x_80); +x_88 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(x_5, x_12, x_84, x_72, x_75, x_4, x_1, x_73, x_74, x_3, x_76, x_15, x_2, x_70, x_71, x_87, x_6, x_7, x_8, x_9, x_86); +lean_dec(x_15); return x_88; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_89 = l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg(x_7, x_8, x_9, x_80); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_93 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_3, x_1, x_29, x_82, x_92, x_90, x_6, x_7, x_8, x_9, x_91); -lean_dec(x_90); -return x_93; -} -} -} -block_137: -{ -if (x_113 == 0) -{ -x_80 = x_114; -goto block_112; -} -else -{ -if (x_2 == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_115 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_116 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; -x_117 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_115, x_116, x_6, x_7, x_8, x_9, x_114); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_80 = x_118; -goto block_112; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_inc(x_78); -lean_inc(x_77); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_77); -lean_ctor_set(x_119, 1, x_78); -x_120 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_119); -x_121 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_122 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -lean_inc(x_24); -lean_inc(x_23); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_23); -lean_ctor_set(x_126, 1, x_24); -x_127 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_126); -x_128 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_125); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; -x_133 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_135 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_134, x_133, x_6, x_7, x_8, x_9, x_114); -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -lean_dec(x_135); -x_80 = x_136; -goto block_112; -} -} -} -} -} -else -{ -uint8_t x_149; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_149 = !lean_is_exclusive(x_37); -if (x_149 == 0) -{ -return x_37; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_37, 0); -x_151 = lean_ctor_get(x_37, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_37); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; -} -} -} -block_172: -{ -if (x_154 == 0) -{ -x_36 = x_155; -goto block_153; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -lean_inc(x_24); -lean_inc(x_23); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_23); -lean_ctor_set(x_156, 1, x_24); -x_157 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_156); -x_158 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_158, 0, x_157); -x_159 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17; -x_160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_inc(x_71); +lean_inc(x_70); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_70); +lean_ctor_set(x_89, 1, x_71); +x_90 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_89); +x_91 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); lean_inc(x_12); -x_163 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_12); -x_164 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_164, 0, x_163); -x_165 = l_Lean_indentD(x_164); -x_166 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_166, 0, x_162); -lean_ctor_set(x_166, 1, x_165); -x_167 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -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 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_170 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_169, x_168, x_6, x_7, x_8, x_9, x_155); -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_36 = x_171; -goto block_153; -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_313; lean_object* x_314; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_184 = lean_ctor_get(x_20, 0); -x_185 = lean_ctor_get(x_20, 1); -x_186 = lean_ctor_get(x_20, 2); -x_187 = lean_ctor_get(x_20, 3); -x_188 = lean_ctor_get(x_20, 4); -x_189 = lean_ctor_get(x_20, 5); -x_190 = lean_ctor_get_uint8(x_20, sizeof(void*)*6); -lean_inc(x_189); -lean_inc(x_188); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_20); -x_191 = lean_box(0); -x_192 = lean_box(0); -x_193 = 0; -x_194 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_194, 0, x_184); -lean_ctor_set(x_194, 1, x_191); -lean_ctor_set(x_194, 2, x_192); -lean_ctor_set(x_194, 3, x_191); -lean_ctor_set(x_194, 4, x_191); -lean_ctor_set(x_194, 5, x_192); -lean_ctor_set_uint8(x_194, sizeof(void*)*6, x_193); -x_195 = lean_st_ref_get(x_9, x_21); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_st_ref_set(x_7, x_194, x_196); -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -lean_dec(x_197); -x_332 = lean_st_ref_get(x_9, x_198); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_333, 3); -lean_inc(x_334); -lean_dec(x_333); -x_335 = lean_ctor_get_uint8(x_334, sizeof(void*)*1); -lean_dec(x_334); -if (x_335 == 0) -{ -lean_object* x_336; -x_336 = lean_ctor_get(x_332, 1); -lean_inc(x_336); -lean_dec(x_332); -x_313 = x_193; -x_314 = x_336; -goto block_331; -} -else -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; -x_337 = lean_ctor_get(x_332, 1); -lean_inc(x_337); -lean_dec(x_332); -x_338 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_339 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_338, x_6, x_7, x_8, x_9, x_337); -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_339, 1); -lean_inc(x_341); -lean_dec(x_339); -x_342 = lean_unbox(x_340); -lean_dec(x_340); -x_313 = x_342; -x_314 = x_341; -goto block_331; -} -block_312: -{ -lean_object* x_200; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_200 = lean_apply_5(x_5, x_6, x_7, x_8, x_9, x_199); -if (lean_obj_tag(x_200) == 0) -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_202 = lean_st_ref_get(x_9, x_201); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_204 = lean_st_ref_get(x_7, x_203); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_205, 3); -lean_inc(x_206); -if (lean_obj_tag(x_206) == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -lean_dec(x_205); -lean_dec(x_189); -lean_dec(x_188); -lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_185); +x_96 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_12); +x_97 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = l_Lean_indentD(x_97); +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +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_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_84, x_101, x_6, x_7, x_8, x_9, x_86); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(x_5, x_12, x_84, x_72, x_75, x_4, x_1, x_73, x_74, x_3, x_76, x_15, x_2, x_70, x_71, x_103, x_6, x_7, x_8, x_9, x_104); +lean_dec(x_103); lean_dec(x_15); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_207 = lean_ctor_get(x_204, 1); -lean_inc(x_207); -lean_dec(x_204); -x_208 = lean_st_ref_get(x_9, x_207); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_209, 3); -lean_inc(x_210); -lean_dec(x_209); -x_211 = lean_ctor_get_uint8(x_210, sizeof(void*)*1); -lean_dec(x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_212 = lean_ctor_get(x_208, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - x_213 = x_208; -} else { - lean_dec_ref(x_208); - x_213 = lean_box(0); -} -x_214 = lean_box(0); -if (lean_is_scalar(x_213)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_213; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_212); -return x_215; -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; -x_216 = lean_ctor_get(x_208, 1); -lean_inc(x_216); -lean_dec(x_208); -x_217 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_218 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_217, x_6, x_7, x_8, x_9, x_216); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_unbox(x_219); -lean_dec(x_219); -if (x_220 == 0) -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_221 = lean_ctor_get(x_218, 1); -lean_inc(x_221); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_222 = x_218; -} else { - lean_dec_ref(x_218); - x_222 = lean_box(0); -} -x_223 = lean_box(0); -if (lean_is_scalar(x_222)) { - x_224 = lean_alloc_ctor(0, 2, 0); -} else { - x_224 = x_222; -} -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_221); -return x_224; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_225 = lean_ctor_get(x_218, 1); -lean_inc(x_225); -lean_dec(x_218); -x_226 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_12); -x_227 = lean_box(1); -x_228 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_226); -x_229 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_229, 0, x_228); -x_230 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; -x_231 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_233 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_217, x_233, x_6, x_7, x_8, x_9, x_225); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_234; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_272; lean_object* x_273; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; -lean_dec(x_12); -x_235 = lean_ctor_get(x_204, 1); -lean_inc(x_235); -lean_dec(x_204); -x_236 = lean_ctor_get(x_205, 4); -lean_inc(x_236); -x_237 = lean_ctor_get(x_205, 5); -lean_inc(x_237); -lean_dec(x_205); -x_238 = lean_ctor_get(x_206, 0); -lean_inc(x_238); -lean_dec(x_206); -x_297 = lean_st_ref_get(x_9, x_235); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_298, 3); -lean_inc(x_299); -lean_dec(x_298); -x_300 = lean_ctor_get_uint8(x_299, sizeof(void*)*1); -lean_dec(x_299); -if (x_300 == 0) -{ -lean_object* x_301; -x_301 = lean_ctor_get(x_297, 1); -lean_inc(x_301); -lean_dec(x_297); -x_272 = x_193; -x_273 = x_301; -goto block_296; -} -else -{ -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_302 = lean_ctor_get(x_297, 1); -lean_inc(x_302); -lean_dec(x_297); -x_303 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_304 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_303, x_6, x_7, x_8, x_9, x_302); -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_unbox(x_305); -lean_dec(x_305); -x_272 = x_307; -x_273 = x_306; -goto block_296; -} -block_271: -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_254; -x_240 = lean_box(x_190); -lean_inc(x_189); -lean_inc(x_188); -lean_inc(x_1); -lean_inc(x_4); -lean_inc(x_187); -x_241 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2___boxed), 12, 6); -lean_closure_set(x_241, 0, x_187); -lean_closure_set(x_241, 1, x_240); -lean_closure_set(x_241, 2, x_4); -lean_closure_set(x_241, 3, x_1); -lean_closure_set(x_241, 4, x_188); -lean_closure_set(x_241, 5, x_189); -x_254 = lean_nat_dec_lt(x_238, x_4); -lean_dec(x_238); -if (x_254 == 0) -{ -if (x_2 == 0) -{ -lean_object* x_255; lean_object* x_256; -lean_dec(x_241); -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_186); -lean_dec(x_185); -lean_dec(x_15); -lean_dec(x_3); -x_255 = lean_box(0); -x_256 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_187, x_190, x_4, x_1, x_188, x_189, x_255, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_256; -} -else -{ -if (lean_obj_tag(x_236) == 0) -{ -lean_object* x_257; lean_object* x_258; -lean_dec(x_241); -lean_dec(x_237); -lean_dec(x_186); -lean_dec(x_185); -lean_dec(x_15); -lean_dec(x_3); -x_257 = lean_box(0); -x_258 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_187, x_190, x_4, x_1, x_188, x_189, x_257, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_258; -} -else -{ -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_259; lean_object* x_260; -lean_dec(x_241); -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_186); -lean_dec(x_15); -lean_dec(x_3); -x_259 = lean_box(0); -x_260 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_187, x_190, x_4, x_1, x_188, x_189, x_259, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_260; -} -else -{ -lean_object* x_261; lean_object* x_262; uint8_t x_263; -x_261 = lean_ctor_get(x_236, 0); -lean_inc(x_261); -lean_dec(x_236); -x_262 = lean_ctor_get(x_185, 0); -lean_inc(x_262); -lean_dec(x_185); -x_263 = lean_name_eq(x_237, x_186); -lean_dec(x_186); -lean_dec(x_237); -if (x_263 == 0) -{ -lean_object* x_264; lean_object* x_265; -lean_dec(x_262); -lean_dec(x_261); -lean_dec(x_241); -lean_dec(x_15); -lean_dec(x_3); -x_264 = lean_box(0); -x_265 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_187, x_190, x_4, x_1, x_188, x_189, x_264, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_265; -} -else -{ -uint8_t x_266; -x_266 = lean_nat_dec_le(x_261, x_262); -lean_dec(x_262); -lean_dec(x_261); -if (x_266 == 0) -{ -lean_object* x_267; lean_object* x_268; -lean_dec(x_241); -lean_dec(x_15); -lean_dec(x_3); -x_267 = lean_box(0); -x_268 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(x_187, x_190, x_4, x_1, x_188, x_189, x_267, x_6, x_7, x_8, x_9, x_239); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_268; -} -else -{ -lean_object* x_269; -lean_dec(x_189); -lean_dec(x_188); -lean_dec(x_187); -lean_dec(x_4); -x_269 = lean_box(0); -x_242 = x_269; -goto block_253; -} -} -} -} -} -} -else -{ -lean_object* x_270; -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_189); -lean_dec(x_188); -lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_185); -lean_dec(x_4); -x_270 = lean_box(0); -x_242 = x_270; -goto block_253; -} -block_253: -{ -lean_object* x_243; uint8_t x_244; -lean_dec(x_242); -x_243 = lean_unsigned_to_nat(0u); -x_244 = lean_nat_dec_lt(x_243, x_15); -lean_dec(x_15); -if (x_244 == 0) -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_246 = lean_box(0); -x_247 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_3, x_1, x_191, x_241, x_245, x_246, x_6, x_7, x_8, x_9, x_239); -return x_247; -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_248 = l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg(x_7, x_8, x_9, x_239); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -x_251 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_252 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_3, x_1, x_191, x_241, x_251, x_249, x_6, x_7, x_8, x_9, x_250); -lean_dec(x_249); -return x_252; -} -} -} -block_296: -{ -if (x_272 == 0) -{ -x_239 = x_273; -goto block_271; -} -else -{ -if (x_2 == 0) -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_274 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_275 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; -x_276 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_274, x_275, x_6, x_7, x_8, x_9, x_273); -x_277 = lean_ctor_get(x_276, 1); -lean_inc(x_277); -lean_dec(x_276); -x_239 = x_277; -goto block_271; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -lean_inc(x_237); -lean_inc(x_236); -x_278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_278, 0, x_236); -lean_ctor_set(x_278, 1, x_237); -x_279 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_278); -x_280 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_280, 0, x_279); -x_281 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; -x_282 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; -x_284 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_284, 0, x_282); -lean_ctor_set(x_284, 1, x_283); -lean_inc(x_186); -lean_inc(x_185); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_185); -lean_ctor_set(x_285, 1, x_186); -x_286 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_285); -x_287 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_287, 0, x_286); -x_288 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_288, 0, x_284); -lean_ctor_set(x_288, 1, x_287); -x_289 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_290 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_290, 0, x_288); -lean_ctor_set(x_290, 1, x_289); -x_291 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; -x_292 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_294 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_293, x_292, x_6, x_7, x_8, x_9, x_273); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -lean_dec(x_294); -x_239 = x_295; -goto block_271; -} -} -} -} -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -lean_dec(x_189); -lean_dec(x_188); -lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_185); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_308 = lean_ctor_get(x_200, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_200, 1); -lean_inc(x_309); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_310 = x_200; -} else { - lean_dec_ref(x_200); - x_310 = lean_box(0); -} -if (lean_is_scalar(x_310)) { - x_311 = lean_alloc_ctor(1, 2, 0); -} else { - x_311 = x_310; -} -lean_ctor_set(x_311, 0, x_308); -lean_ctor_set(x_311, 1, x_309); -return x_311; -} -} -block_331: -{ -if (x_313 == 0) -{ -x_199 = x_314; -goto block_312; -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -lean_inc(x_186); -lean_inc(x_185); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_185); -lean_ctor_set(x_315, 1, x_186); -x_316 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_315); -x_317 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_317, 0, x_316); -x_318 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17; -x_319 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; -x_321 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_321, 0, x_319); -lean_ctor_set(x_321, 1, x_320); -lean_inc(x_12); -x_322 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_12); -x_323 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_323, 0, x_322); -x_324 = l_Lean_indentD(x_323); -x_325 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_325, 0, x_321); -lean_ctor_set(x_325, 1, x_324); -x_326 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_327 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_327, 0, x_325); -lean_ctor_set(x_327, 1, x_326); -x_328 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_329 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_328, x_327, x_6, x_7, x_8, x_9, x_314); -x_330 = lean_ctor_get(x_329, 1); -lean_inc(x_330); -lean_dec(x_329); -x_199 = x_330; -goto block_312; +return x_105; } } } @@ -7178,23 +6705,11 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { -_start: -{ -lean_object* x_7; -x_7 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { _start: { lean_object* x_8; -x_8 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(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); @@ -7202,6 +6717,18 @@ lean_dec(x_3); return x_8; } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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) { _start: { @@ -7262,31 +6789,31 @@ lean_dec(x_7); return x_14; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__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); +return x_11; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(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_6); return x_12; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -lean_dec(x_5); -return x_13; -} -} lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; x_13 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); +lean_dec(x_5); return x_13; } } @@ -7299,15 +6826,100 @@ lean_dec(x_7); return x_13; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +return x_13; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(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_6); return x_12; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +uint8_t x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_unbox(x_2); +lean_dec(x_2); +x_24 = lean_unbox(x_12); +lean_dec(x_12); +x_25 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_1, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +return x_25; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +_start: +{ +uint8_t x_22; uint8_t x_23; lean_object* x_24; +x_22 = lean_unbox(x_5); +lean_dec(x_5); +x_23 = lean_unbox(x_13); +lean_dec(x_13); +x_24 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(x_1, x_2, x_3, x_4, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_16); +lean_dec(x_12); +return x_24; +} +} lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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: { @@ -9206,6 +8818,31 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_1, x_3, x_4, x_5, x_6, x_7) return x_8; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1() { _start: { @@ -9261,148 +8898,123 @@ return x_2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_8 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(x_4, x_5, x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Syntax_getKind(x_9); -x_12 = lean_name_eq(x_1, x_11); -if (x_12 == 0) -{ -uint8_t x_13; lean_object* x_14; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -lean_dec(x_2); -x_38 = lean_st_ref_get(x_6, x_10); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_39, 3); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_38, 1); -lean_inc(x_42); -lean_dec(x_38); -x_43 = 0; -x_13 = x_43; -x_14 = x_42; -goto block_37; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_dec(x_38); -x_45 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; -x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_45, x_3, x_4, x_5, x_6, x_44); -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_unbox(x_47); -lean_dec(x_47); -x_13 = x_49; -x_14 = x_48; -goto block_37; -} -block_37: -{ +lean_inc(x_2); +x_11 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed), 7, 1); +lean_closure_set(x_11, 0, x_2); +x_12 = l_Lean_Syntax_getKind(x_9); +x_13 = lean_name_eq(x_1, x_12); if (x_13 == 0) { -lean_object* x_15; uint8_t x_16; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_15 = l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(x_14); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -return x_15; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_15); -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; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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_20 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_20, 0, x_11); -x_21 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_25, 0, x_1); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; -x_30 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_29, x_28, x_3, x_4, x_5, x_6, x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(x_31); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -return x_32; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_2); +x_14 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; +x_33 = lean_st_ref_get(x_6, x_10); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_32); -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; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = 0; +x_15 = x_38; +x_16 = x_37; +goto block_32; } +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_dec(x_33); +x_40 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_14, x_3, x_4, x_5, x_6, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_unbox(x_41); +lean_dec(x_41); +x_15 = x_43; +x_16 = x_42; +goto block_32; +} +block_32: +{ +if (x_15 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_1); +x_17 = lean_box(0); +x_18 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(x_11, x_17, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_11); +return x_18; +} +else +{ +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; +x_19 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_19, 0, x_12); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_1); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_14, x_27, x_3, x_4, x_5, x_6, x_16); +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 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(x_11, x_29, x_3, x_4, x_5, x_6, x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_29); +lean_dec(x_11); +return x_31; } } } else { -lean_object* x_50; +lean_object* x_44; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_1); -x_50 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_2, x_3, x_4, x_5, x_6, x_10); -return x_50; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_visitArgs(x_2, x_3, x_4, x_5, x_6, x_10); +return x_44; } } } @@ -9415,6 +9027,20 @@ lean_dec(x_2); return x_8; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer(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: { @@ -9744,150 +9370,127 @@ return x_11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(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_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_10 = l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(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_Lean_Syntax_getKind(x_11); -x_14 = lean_name_eq(x_1, x_13); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_4); -lean_dec(x_2); -x_40 = lean_st_ref_get(x_8, x_12); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_40, 1); -lean_inc(x_44); -lean_dec(x_40); -x_45 = 0; -x_15 = x_45; -x_16 = x_44; -goto block_39; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_dec(x_40); -x_47 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; -x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_47, x_5, x_6, x_7, x_8, x_46); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_unbox(x_49); -lean_dec(x_49); -x_15 = x_51; -x_16 = x_50; -goto block_39; -} -block_39: -{ +lean_inc(x_4); +lean_inc(x_2); +x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2___boxed), 8, 2); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_4); +x_14 = l_Lean_Syntax_getKind(x_11); +x_15 = lean_name_eq(x_1, x_14); if (x_15 == 0) { -lean_object* x_17; uint8_t x_18; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_17 = l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(x_16); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -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; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_22 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_22, 0, x_13); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_27, 0, x_1); -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; -x_32 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_31, x_30, x_5, x_6, x_7, x_8, x_16); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(x_33); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -return x_34; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); +lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_4); +lean_dec(x_2); +x_16 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; +x_35 = lean_st_ref_get(x_8, x_12); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +x_37 = lean_ctor_get(x_36, 3); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); +x_40 = 0; +x_17 = x_40; +x_18 = x_39; +goto block_34; } +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_35, 1); +lean_inc(x_41); +lean_dec(x_35); +x_42 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_16, x_5, x_6, x_7, x_8, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_unbox(x_43); +lean_dec(x_43); +x_17 = x_45; +x_18 = x_44; +goto block_34; +} +block_34: +{ +if (x_17 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_1); +x_19 = lean_box(0); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(x_13, x_19, x_5, x_6, x_7, x_8, x_18); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_13); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_14); +x_22 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_26, 0, x_1); +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_16, x_29, x_5, x_6, x_7, x_8, x_18); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(x_13, x_31, x_5, x_6, x_7, x_8, x_32); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_31); +lean_dec(x_13); +return x_33; } } } else { -lean_object* x_52; lean_object* x_53; +lean_object* x_46; lean_object* x_47; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_1); -x_52 = lean_box(0); -x_53 = l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2(x_2, x_4, x_52, x_5, x_6, x_7, x_8, x_12); -return x_53; +x_46 = lean_box(0); +x_47 = l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2(x_2, x_4, x_46, x_5, x_6, x_7, x_8, x_12); +return x_47; } } } @@ -11581,7 +11184,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3009_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3248_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -11626,7 +11229,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1() { _start: { lean_object* x_1; @@ -11634,17 +11237,17 @@ x_1 = lean_mk_string("ws"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3() { _start: { lean_object* x_1; @@ -11652,17 +11255,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkWsBefor return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5() { _start: { lean_object* x_1; @@ -11670,17 +11273,17 @@ x_1 = lean_mk_string("noWs"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7() { _start: { lean_object* x_1; @@ -11688,17 +11291,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBef return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9() { _start: { lean_object* x_1; @@ -11706,17 +11309,17 @@ x_1 = lean_mk_string("linebreak"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11() { _start: { lean_object* x_1; @@ -11724,17 +11327,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkLinebre return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13() { _start: { lean_object* x_1; @@ -11742,17 +11345,17 @@ x_1 = lean_mk_string("colGt"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15() { _start: { lean_object* x_1; @@ -11760,17 +11363,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGt_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17() { _start: { lean_object* x_1; @@ -11778,17 +11381,17 @@ x_1 = lean_mk_string("colGe"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19() { _start: { lean_object* x_1; @@ -11796,17 +11399,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21() { _start: { lean_object* x_1; @@ -11814,17 +11417,17 @@ x_1 = lean_mk_string("lookahead"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23() { _start: { lean_object* x_1; @@ -11832,17 +11435,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_lookahead_pa return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25() { _start: { lean_object* x_1; @@ -11850,17 +11453,17 @@ x_1 = lean_mk_string("atomic"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27() { _start: { lean_object* x_1; @@ -11868,17 +11471,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29() { _start: { lean_object* x_1; @@ -11886,17 +11489,17 @@ x_1 = lean_mk_string("notFollowedBy"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31() { _start: { lean_object* x_1; @@ -11904,17 +11507,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedB return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33() { _start: { lean_object* x_1; @@ -11922,17 +11525,17 @@ x_1 = lean_mk_string("withPosition"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35() { _start: { lean_object* x_1; @@ -11940,17 +11543,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37() { _start: { lean_object* x_1; @@ -11958,17 +11561,17 @@ x_1 = lean_mk_string("interpolatedStr"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39() { _start: { lean_object* x_1; @@ -11976,17 +11579,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_interpolated return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41() { _start: { lean_object* x_1; @@ -11994,17 +11597,17 @@ x_1 = lean_mk_string("orelse"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43() { _start: { lean_object* x_1; @@ -12012,17 +11615,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45() { _start: { lean_object* x_1; @@ -12030,17 +11633,17 @@ x_1 = lean_mk_string("andthen"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47() { _start: { lean_object* x_1; @@ -12048,23 +11651,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_pare return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315_(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_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_3 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2; -x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2; +x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -12072,8 +11675,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -12081,8 +11684,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12; +x_11 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10; +x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -12090,8 +11693,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14; -x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16; +x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -12099,8 +11702,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18; -x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20; +x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18; +x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -12108,8 +11711,8 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22; -x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24; +x_23 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22; +x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -12117,8 +11720,8 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26; -x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28; +x_27 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26; +x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -12126,8 +11729,8 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30; -x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32; +x_31 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30; +x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -12135,8 +11738,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34; -x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36; +x_35 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34; +x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -12144,8 +11747,8 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38; -x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40; +x_39 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38; +x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -12153,8 +11756,8 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); -x_43 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42; -x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44; +x_43 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -12162,8 +11765,8 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46; -x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48; +x_47 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46; +x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48; x_49 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_47, x_48, x_46); return x_49; } @@ -12480,20 +12083,7 @@ return x_13; } } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_2, 0); -x_6 = l_Lean_checkTraceOption(x_5, x_1); -x_7 = lean_box(x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_4); -return x_8; -} -} -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -12526,18 +12116,18 @@ x_17 = lean_ctor_get(x_12, 0); lean_inc(x_1); x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_1); -x_19 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_19 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_21 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_8); -x_24 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_24 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -12584,18 +12174,18 @@ lean_dec(x_12); lean_inc(x_1); x_38 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_38, 0, x_1); -x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_39 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_41 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_8); -x_44 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_44 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -12656,18 +12246,18 @@ if (lean_is_exclusive(x_12)) { lean_inc(x_1); x_61 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_61, 0, x_1); -x_62 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2; +x_62 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; x_63 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4; +x_64 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; 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 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_8); -x_67 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; +x_67 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); @@ -12714,7 +12304,20 @@ return x_78; } } } -static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__1() { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 0); +x_6 = l_Lean_checkTraceOption(x_5, x_1); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -12722,104 +12325,20 @@ x_1 = lean_mk_string("parenthesize: uncaught backtrack exception"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_parenthesize___closed__1; +x_1 = l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__3() { +lean_object* l_Lean_PrettyPrinter_parenthesize___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) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("input"); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_2 = l_Lean_PrettyPrinter_parenthesize___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_st_ref_get(x_4, x_5); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_52, 3); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); -lean_dec(x_53); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_6 = x_55; -goto block_50; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_56 = lean_ctor_get(x_51, 1); -lean_inc(x_56); -lean_dec(x_51); -x_57 = l_Lean_PrettyPrinter_parenthesize___closed__4; -x_58 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2(x_57, x_3, x_4, x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_unbox(x_59); -lean_dec(x_59); -if (x_60 == 0) -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_61); -lean_dec(x_58); -x_6 = x_61; -goto block_50; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_62 = lean_ctor_get(x_58, 1); -lean_inc(x_62); -lean_dec(x_58); -lean_inc(x_2); -x_63 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_2); -x_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__3(x_57, x_67, x_3, x_4, x_62); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_6 = x_69; -goto block_50; -} -} -block_50: -{ lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t 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_7 = l_Lean_Syntax_Traverser_fromSyntax(x_2); +x_7 = l_Lean_Syntax_Traverser_fromSyntax(x_1); x_8 = lean_box(0); x_9 = lean_box(0); x_10 = 0; @@ -12831,7 +12350,7 @@ lean_ctor_set(x_11, 3, x_8); lean_ctor_set(x_11, 4, x_8); lean_ctor_set(x_11, 5, x_9); lean_ctor_set_uint8(x_11, sizeof(void*)*6, x_10); -x_12 = lean_st_ref_get(x_4, x_6); +x_12 = lean_st_ref_get(x_5, x_6); x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); @@ -12841,19 +12360,19 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); +lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_15); -x_17 = lean_apply_5(x_1, x_9, x_15, x_3, x_4, x_16); +x_17 = lean_apply_5(x_2, x_9, x_15, x_4, x_5, x_16); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -lean_dec(x_3); +lean_dec(x_4); x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = lean_st_ref_get(x_4, x_18); -lean_dec(x_4); +x_19 = lean_st_ref_get(x_5, x_18); +lean_dec(x_5); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); @@ -12900,8 +12419,8 @@ lean_inc(x_30); if (lean_obj_tag(x_30) == 0) { uint8_t x_31; +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_31 = !lean_is_exclusive(x_17); if (x_31 == 0) { @@ -12939,8 +12458,8 @@ x_40 = lean_nat_dec_eq(x_39, x_38); lean_dec(x_38); if (x_40 == 0) { +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_17; } else @@ -12948,10 +12467,10 @@ else lean_object* x_41; lean_object* x_42; lean_free_object(x_17); lean_dec(x_30); -x_41 = l_Lean_PrettyPrinter_parenthesize___closed__2; -x_42 = l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(x_41, x_3, x_4, x_36); +x_41 = l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2; +x_42 = l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(x_41, x_4, x_5, x_36); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_42; } } @@ -12969,8 +12488,8 @@ lean_dec(x_44); if (x_46 == 0) { lean_object* x_47; +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_30); lean_ctor_set(x_47, 1, x_43); @@ -12980,10 +12499,10 @@ else { lean_object* x_48; lean_object* x_49; lean_dec(x_30); -x_48 = l_Lean_PrettyPrinter_parenthesize___closed__2; -x_49 = l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(x_48, x_3, x_4, x_43); +x_48 = l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2; +x_49 = l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(x_48, x_4, x_5, x_43); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_49; } } @@ -12991,6 +12510,101 @@ return x_49; } } } +static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("input"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +x_2 = l_Lean_PrettyPrinter_parenthesize___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_6 = l_Lean_PrettyPrinter_parenthesize___closed__2; +x_21 = lean_st_ref_get(x_4, x_5); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = 0; +x_7 = x_26; +x_8 = x_25; +goto block_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3(x_6, x_3, x_4, 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_unbox(x_29); +lean_dec(x_29); +x_7 = x_31; +x_8 = x_30; +goto block_20; +} +block_20: +{ +if (x_7 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = l_Lean_PrettyPrinter_parenthesize___lambda__1(x_2, x_1, x_9, x_3, x_4, x_8); +return x_10; +} +else +{ +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_inc(x_2); +x_11 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(x_2); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_14 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(x_6, x_15, x_3, x_4, x_8); +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); +x_19 = l_Lean_PrettyPrinter_parenthesize___lambda__1(x_2, x_1, x_17, x_3, x_4, x_18); +lean_dec(x_17); +return x_19; +} +} +} } lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -13002,24 +12616,33 @@ lean_dec(x_2); return x_5; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___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* l_Lean_PrettyPrinter_parenthesize___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_parenthesize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); -return x_6; +return x_7; } } static lean_object* _init_l_Lean_PrettyPrinter_parenthesizeTerm___closed__1() { @@ -13082,7 +12705,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3346_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3638_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13323,16 +12946,16 @@ l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__14 lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__14); l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM); -l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__1); -l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__2); -l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__3); -l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__4); -l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___closed__5); +l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1); +l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2); +l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__3); +l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4); +l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5); l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__1 = _init_l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__1(); lean_mark_persistent(l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__1); l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__2 = _init_l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__2(); @@ -13363,14 +12986,38 @@ l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___cl lean_mark_persistent(l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__14); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__1); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__2); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11); +l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2(); @@ -13383,30 +13030,6 @@ l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5 = _init_l_Lean_ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18); l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1); l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__2(); @@ -13522,118 +13145,118 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1); l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3009_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3248_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__2); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__3); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__4); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__5); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__6); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__7); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__8); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__9); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__10); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__11); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__12); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__13); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__14); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__15); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__16); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__17); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__18); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__19); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__20); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__21); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__22); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__23); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__24); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__25); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__26); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__27); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__28); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__29); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__30); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__31); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__32); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__33); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__34); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__35); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__36); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__37); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__38); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__39); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__40); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__41); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__42); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__43); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__44); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__45); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__46); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__47); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__48); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__1); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__2); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__3); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__4); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__5); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__6); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__7); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__8); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__9); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__10); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__11); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__12); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__13); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__14); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__15); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__16); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__17); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__18); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__19); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__20); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__21); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__22); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__23); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__24); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__25); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__26); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__27); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__28); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__29); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__30); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__31); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__32); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__33); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__34); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__35); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__36); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__37); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__38); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__39); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__40); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__41); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__42); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__43); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__44); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__45); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__46); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__47); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315____closed__48); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3315_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1); +l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2); l_Lean_PrettyPrinter_parenthesize___closed__1 = _init_l_Lean_PrettyPrinter_parenthesize___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___closed__1); l_Lean_PrettyPrinter_parenthesize___closed__2 = _init_l_Lean_PrettyPrinter_parenthesize___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___closed__2); -l_Lean_PrettyPrinter_parenthesize___closed__3 = _init_l_Lean_PrettyPrinter_parenthesize___closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___closed__3); -l_Lean_PrettyPrinter_parenthesize___closed__4 = _init_l_Lean_PrettyPrinter_parenthesize___closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_parenthesize___closed__4); l_Lean_PrettyPrinter_parenthesizeTerm___closed__1 = _init_l_Lean_PrettyPrinter_parenthesizeTerm___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeTerm___closed__1); l_Lean_PrettyPrinter_parenthesizeCommand___closed__1 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1(); @@ -13642,7 +13265,7 @@ l_Lean_PrettyPrinter_parenthesizeCommand___closed__2 = _init_l_Lean_PrettyPrinte lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__2); l_Lean_PrettyPrinter_parenthesizeCommand___closed__3 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__3); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3346_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3638_(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/ScopedEnvExtension.c b/stage0/stdlib/Lean/ScopedEnvExtension.c index 114a44ab18..a5462e1a9d 100644 --- a/stage0/stdlib/Lean/ScopedEnvExtension.c +++ b/stage0/stdlib/Lean/ScopedEnvExtension.c @@ -219,7 +219,7 @@ extern lean_object* l_Lean_persistentEnvExtensionsRef; lean_object* l_Lean_SMap_find_x3f___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__24(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_874_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_878_(lean_object*); lean_object* l_Lean_ScopedEnvExtension_add___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerScopedEnvExtensionUnsafe___spec__1___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5025,7 +5025,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_874_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_878_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -8509,7 +8509,7 @@ l_Lean_instInhabitedScopedEnvExtension___rarg___closed__5 = _init_l_Lean_instInh lean_mark_persistent(l_Lean_instInhabitedScopedEnvExtension___rarg___closed__5); l_Lean_instInhabitedScopedEnvExtension___rarg___closed__6 = _init_l_Lean_instInhabitedScopedEnvExtension___rarg___closed__6(); lean_mark_persistent(l_Lean_instInhabitedScopedEnvExtension___rarg___closed__6); -res = l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_874_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_878_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_scopedEnvExtensionsRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_scopedEnvExtensionsRef); diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 0587f63dd6..ee8a55c8e0 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -62,6 +62,7 @@ uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; lean_object* l_Lean_JsonNumber_toString(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__35; +uint8_t l_UInt32_toUInt8(uint32_t); lean_object* l_Lean_Server_FileWorker_compileHeader_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Std_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__3; static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__1; @@ -233,6 +234,7 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__55; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__53; lean_object* l_Lean_FileMap_ofString(lean_object*); +lean_object* lean_io_exit(uint8_t, lean_object*); extern lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot; lean_object* l_Std_RBNode_balLeft___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_AsyncList_0__IO_AsyncList_coeErr___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__3___closed__1; @@ -14324,171 +14326,252 @@ lean_dec(x_5); x_8 = lean_get_stderr(x_7); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_30; x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); lean_inc(x_9); -x_11 = l_Lean_Server_FileWorker_initAndRunWorker(x_3, x_6, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_inc(x_6); +x_30 = l_Lean_Server_FileWorker_initAndRunWorker(x_3, x_6, x_9, x_10); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_12; -lean_dec(x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -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_16 = lean_ctor_get(x_11, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -x_18 = lean_io_error_to_string(x_16); -x_19 = l_Lean_Server_FileWorker_workerMain___closed__1; -x_20 = lean_string_append(x_19, x_18); -lean_dec(x_18); -x_21 = l_Lean_Server_FileWorker_leanpkgSetupSearchPath_match__1___rarg___closed__1; -x_22 = lean_string_append(x_20, x_21); -x_23 = l_IO_FS_Stream_putStrLn(x_9, x_22, x_17); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = l_Lean_Server_FileWorker_workerMain___boxed__const__1; -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = l_Lean_Server_FileWorker_workerMain___boxed__const__1; -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; -} -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) -{ -return x_23; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_23); -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; +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_6, 1); +lean_inc(x_33); +lean_dec(x_6); +x_34 = lean_apply_1(x_33, x_32); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get(x_9, 1); +lean_inc(x_36); +x_37 = lean_apply_1(x_36, x_35); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; uint32_t x_39; uint8_t x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_unbox_uint32(x_31); +lean_dec(x_31); +x_40 = ((uint8_t)x_39); +x_41 = lean_io_exit(x_40, x_38); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +lean_dec(x_9); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +return x_41; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_41, 0); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_41); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_41, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_dec(x_41); +x_11 = x_46; +x_12 = x_47; +goto block_29; +} +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_31); +x_48 = lean_ctor_get(x_37, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_37, 1); +lean_inc(x_49); +lean_dec(x_37); +x_11 = x_48; +x_12 = x_49; +goto block_29; +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_31); +x_50 = lean_ctor_get(x_34, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_34, 1); +lean_inc(x_51); +lean_dec(x_34); +x_11 = x_50; +x_12 = x_51; +goto block_29; +} +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_6); +x_52 = lean_ctor_get(x_30, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_30, 1); +lean_inc(x_53); +lean_dec(x_30); +x_11 = x_52; +x_12 = x_53; +goto block_29; +} +block_29: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_io_error_to_string(x_11); +x_14 = l_Lean_Server_FileWorker_workerMain___closed__1; +x_15 = lean_string_append(x_14, x_13); +lean_dec(x_13); +x_16 = l_Lean_Server_FileWorker_leanpkgSetupSearchPath_match__1___rarg___closed__1; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_IO_FS_Stream_putStrLn(x_9, x_17, x_12); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = l_Lean_Server_FileWorker_workerMain___boxed__const__1; +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = l_Lean_Server_FileWorker_workerMain___boxed__const__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +return x_18; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_18); +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 { -uint8_t x_34; +uint8_t x_54; lean_dec(x_6); lean_dec(x_3); -x_34 = !lean_is_exclusive(x_8); -if (x_34 == 0) +x_54 = !lean_is_exclusive(x_8); +if (x_54 == 0) { return x_8; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_8, 0); -x_36 = lean_ctor_get(x_8, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_8, 0); +x_56 = lean_ctor_get(x_8, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_8); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_38; +uint8_t x_58; lean_dec(x_3); -x_38 = !lean_is_exclusive(x_5); -if (x_38 == 0) +x_58 = !lean_is_exclusive(x_5); +if (x_58 == 0) { return x_5; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_5, 0); -x_40 = lean_ctor_get(x_5, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_5, 0); +x_60 = lean_ctor_get(x_5, 1); +lean_inc(x_60); +lean_inc(x_59); lean_dec(x_5); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } else { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_2); -if (x_42 == 0) +uint8_t x_62; +x_62 = !lean_is_exclusive(x_2); +if (x_62 == 0) { return x_2; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_2, 0); -x_44 = lean_ctor_get(x_2, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_2, 0); +x_64 = lean_ctor_get(x_2, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_2); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index 73629009c9..d13100d054 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -18,11 +18,13 @@ lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec_ lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDeclarationRangesCore_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__3; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange(lean_object*, lean_object*, lean_object*); @@ -30,95 +32,83 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambd lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___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*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6___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_Server_FileWorker_handleDefinition_match__5(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__6; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1533_(lean_object*); extern lean_object* l_Lean_nullKind; +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__14(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_559_(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_299_(lean_object*); lean_object* l_List_map___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, 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_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__11(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_noConfusionExt; extern lean_object* l_Std_Format_defWidth; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__7; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___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_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(size_t, size_t, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Completion_find_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__3; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,49 +116,51 @@ lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTo uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_Requests_registerLspRequestHandler___spec__5(lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__1(lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__18(lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoalParams____x40_Lean_Data_Lsp_Extra___hyg_488_(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__8; lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__8(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__4; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1; lean_object* l_IO_sleep(uint32_t, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___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*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__9; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__6(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_object*); +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); @@ -177,221 +169,222 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightRe lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2(lean_object*); extern lean_object* l_Lean_auxRecExt; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___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*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6; lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20; extern lean_object* l_Lean_Server_Requests_requestHandlers; lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object*); lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_631_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__8; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___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_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___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*); lean_object* l_Except_map___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_474_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_57_(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__4; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3; uint8_t l_String_Range_contains(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_692_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__16(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___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_Server_FileWorker_handleSemanticTokens_addToken_match__2(lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14; static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__2; lean_object* l_Lean_Server_Requests_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1904_(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__3; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1782_(lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, 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_task_map(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1; lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_Requests_RequestError_fileChanged; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2(lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22; static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12; lean_object* l_Lean_SearchPath_findWithExt(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___rarg(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1707_(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__1(lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__2(lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4___boxed(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_443_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1084_(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1040_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12(size_t, size_t, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_374_(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1; extern lean_object* l_Task_Priority_default; lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRec___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21; static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__15; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__3; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23; uint8_t l_Char_isAlpha(uint32_t); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__5; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_329_(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14; lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -400,51 +393,49 @@ lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSe static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__7; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2; lean_object* l_List_drop___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__14; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__6; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_IO_AsyncList_updateFinishedPrefix___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2; lean_object* l_String_intercalate(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__4; lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__10; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__3; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___boxed(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_finishedPrefix___rarg(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxed(lean_object*, lean_object*); @@ -452,28 +443,30 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__2; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__4(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___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*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__2(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4; lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleHover_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1; lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__4; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17; lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -482,39 +475,41 @@ static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__16; lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_shiftl(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); @@ -524,13 +519,11 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); 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_String_instInhabitedRange; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8; lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object*); lean_object* l_Lean_Server_toFileUri(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3(lean_object*); @@ -539,71 +532,74 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymb lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object*); lean_object* l_Lean_Server_FileWorker_noHighlightKinds; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___boxed(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__13; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__6; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___boxed(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__9; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3(lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__7; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__1(lean_object*); uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__20(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; @@ -612,11 +608,12 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefiniti static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__8; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; lean_object* l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_lctx(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -625,26 +622,29 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanti lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13(lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__2; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___boxed(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9(size_t, size_t, lean_object*); lean_object* lean_task_pure(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_Requests_registerLspRequestHandler___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__2(lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__22(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2(lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); @@ -652,11 +652,10 @@ lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4___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_Server_FileWorker_handleDefinition_match__4(lean_object*); lean_object* l_List_getLast___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1; lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,6 +663,7 @@ lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinitio lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_919_(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1(lean_object*); @@ -29315,7 +29315,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1() { _start: { lean_object* x_1; @@ -29323,7 +29323,7 @@ x_1 = lean_mk_string("Cannot parse request params: "); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2() { _start: { lean_object* x_1; @@ -29331,7 +29331,7 @@ x_1 = lean_mk_string("\n"); return x_1; } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -29345,10 +29345,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -29368,10 +29368,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -29408,11 +29408,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -29462,7 +29462,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -29471,37 +29471,37 @@ x_2 = l_Lean_Json_mkObj(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1; +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1; return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -29609,7 +29609,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -29621,7 +29621,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -29645,7 +29645,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -29686,19 +29686,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -29707,7 +29707,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -29733,7 +29733,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -29741,7 +29741,7 @@ x_1 = lean_mk_string("Failed to register LSP request handler for '"); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -29749,7 +29749,7 @@ x_1 = lean_mk_string("': already registered"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -29767,17 +29767,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -29799,17 +29799,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -29821,7 +29821,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1() { _start: { lean_object* x_1; @@ -29829,7 +29829,7 @@ x_1 = lean_mk_string("': only possible during initialization"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -29851,10 +29851,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -29868,10 +29868,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -29888,7 +29888,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -29918,7 +29918,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -29932,10 +29932,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -29955,10 +29955,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -29995,11 +29995,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__4(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -30049,7 +30049,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -30057,21 +30057,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__4(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30179,7 +30179,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30191,7 +30191,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30215,7 +30215,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30256,19 +30256,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30277,7 +30277,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30303,7 +30303,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30321,17 +30321,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -30353,17 +30353,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -30375,7 +30375,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -30397,10 +30397,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -30414,10 +30414,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -30434,7 +30434,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -30464,7 +30464,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__6(lean_object* x_1) { _start: { lean_object* x_2; @@ -30478,10 +30478,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -30501,10 +30501,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -30541,11 +30541,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__6(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -30595,7 +30595,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -30615,29 +30615,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__6(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30745,7 +30745,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30757,7 +30757,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30781,7 +30781,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30822,19 +30822,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30843,7 +30843,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30869,7 +30869,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30887,17 +30887,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -30919,17 +30919,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -30941,7 +30941,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -30963,10 +30963,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -30980,10 +30980,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -31000,7 +31000,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -31030,7 +31030,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__8(lean_object* x_1) { _start: { lean_object* x_2; @@ -31044,10 +31044,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -31067,10 +31067,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -31107,7 +31107,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -31136,11 +31136,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__8(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31190,7 +31190,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -31199,36 +31199,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__8(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -31336,7 +31336,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -31348,7 +31348,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -31372,7 +31372,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -31413,19 +31413,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -31434,7 +31434,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -31460,7 +31460,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -31478,17 +31478,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -31510,17 +31510,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -31532,7 +31532,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -31554,10 +31554,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -31571,10 +31571,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -31591,7 +31591,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -31621,7 +31621,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__11(lean_object* x_1) { _start: { lean_object* x_2; @@ -31635,10 +31635,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -31658,10 +31658,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -31698,7 +31698,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -31727,11 +31727,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__11(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31781,7 +31781,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -31790,36 +31790,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__11(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -31927,7 +31927,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -31939,7 +31939,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -31963,7 +31963,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32004,19 +32004,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32025,7 +32025,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32051,7 +32051,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32069,17 +32069,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32101,17 +32101,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32123,7 +32123,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32145,10 +32145,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32162,10 +32162,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32182,7 +32182,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32212,7 +32212,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__14(lean_object* x_1) { _start: { lean_object* x_2; @@ -32226,10 +32226,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -32249,10 +32249,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -32289,11 +32289,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__14(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32334,7 +32334,7 @@ return x_8; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -32350,29 +32350,29 @@ lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__14(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32480,7 +32480,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32492,7 +32492,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32516,7 +32516,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32557,19 +32557,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32578,7 +32578,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32604,7 +32604,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32622,17 +32622,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32654,17 +32654,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32676,7 +32676,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32698,10 +32698,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32715,10 +32715,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32735,7 +32735,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32765,7 +32765,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__16(lean_object* x_1) { _start: { lean_object* x_2; @@ -32779,10 +32779,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -32802,10 +32802,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -32842,11 +32842,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__16(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32887,7 +32887,7 @@ return x_8; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -32895,21 +32895,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__16(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33017,7 +33017,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33029,7 +33029,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33053,7 +33053,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33094,19 +33094,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33115,7 +33115,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33141,7 +33141,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33159,17 +33159,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33191,17 +33191,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33213,7 +33213,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33235,10 +33235,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33252,10 +33252,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33272,7 +33272,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -33302,7 +33302,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__18(lean_object* x_1) { _start: { lean_object* x_2; @@ -33316,10 +33316,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -33339,10 +33339,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -33379,11 +33379,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__18(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33433,11 +33433,11 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__18(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33545,7 +33545,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33557,7 +33557,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33581,7 +33581,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33622,19 +33622,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33643,7 +33643,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33669,7 +33669,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33687,17 +33687,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33719,17 +33719,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33741,7 +33741,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33763,10 +33763,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33780,10 +33780,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33800,7 +33800,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -33830,7 +33830,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__20(lean_object* x_1) { _start: { lean_object* x_2; @@ -33844,10 +33844,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -33867,10 +33867,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -33907,11 +33907,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__20(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33961,7 +33961,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -33981,29 +33981,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__20(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34111,7 +34111,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34123,7 +34123,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34147,7 +34147,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34188,19 +34188,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34209,7 +34209,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -34235,7 +34235,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -34253,17 +34253,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -34285,17 +34285,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -34307,7 +34307,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34329,10 +34329,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -34346,10 +34346,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -34366,7 +34366,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -34396,7 +34396,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__22(lean_object* x_1) { _start: { lean_object* x_2; @@ -34410,10 +34410,10 @@ if (x_3 == 0) 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; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -34433,10 +34433,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -34473,11 +34473,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__22(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -34527,7 +34527,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -34547,29 +34547,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__22(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34677,7 +34677,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34689,7 +34689,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34713,7 +34713,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34754,19 +34754,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34775,7 +34775,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -34801,7 +34801,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -34819,17 +34819,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4(x_1, x_2, x_11, 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_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -34851,17 +34851,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { 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_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -34873,7 +34873,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34895,10 +34895,10 @@ if (x_7 == 0) 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 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -34912,10 +34912,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -34932,7 +34932,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -34962,7 +34962,7 @@ return x_27; } } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1() { _start: { lean_object* x_1; @@ -34970,7 +34970,7 @@ x_1 = lean_mk_string("textDocument/waitForDiagnostics"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2() { _start: { lean_object* x_1; @@ -34978,7 +34978,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleWaitForDiagnosti return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3() { _start: { lean_object* x_1; @@ -34986,7 +34986,7 @@ x_1 = lean_mk_string("textDocument/completion"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4() { _start: { lean_object* x_1; @@ -34994,7 +34994,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleCompletion), 3, return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5() { _start: { lean_object* x_1; @@ -35002,7 +35002,7 @@ x_1 = lean_mk_string("textDocument/hover"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6() { _start: { lean_object* x_1; @@ -35010,7 +35010,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -35021,7 +35021,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8() { _start: { lean_object* x_1; @@ -35029,7 +35029,7 @@ x_1 = lean_mk_string("textDocument/declaration"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9() { _start: { lean_object* x_1; @@ -35037,7 +35037,7 @@ x_1 = lean_mk_string("textDocument/definition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -35048,7 +35048,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11() { _start: { lean_object* x_1; @@ -35056,7 +35056,7 @@ x_1 = lean_mk_string("textDocument/typeDefinition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12() { _start: { lean_object* x_1; @@ -35064,7 +35064,7 @@ x_1 = lean_mk_string("textDocument/documentHighlight"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13() { _start: { lean_object* x_1; @@ -35072,7 +35072,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentHighligh return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14() { _start: { lean_object* x_1; @@ -35080,7 +35080,7 @@ x_1 = lean_mk_string("textDocument/documentSymbol"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15() { _start: { lean_object* x_1; @@ -35088,7 +35088,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol__ return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16() { _start: { lean_object* x_1; @@ -35096,7 +35096,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/full"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17() { _start: { lean_object* x_1; @@ -35104,7 +35104,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensFu return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18() { _start: { lean_object* x_1; @@ -35112,7 +35112,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/range"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19() { _start: { lean_object* x_1; @@ -35120,7 +35120,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensRa return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20() { _start: { lean_object* x_1; @@ -35128,7 +35128,7 @@ x_1 = lean_mk_string("$/lean/plainGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21() { _start: { lean_object* x_1; @@ -35136,7 +35136,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal), 3, 0 return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22() { _start: { lean_object* x_1; @@ -35144,7 +35144,7 @@ x_1 = lean_mk_string("$/lean/plainTermGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23() { _start: { lean_object* x_1; @@ -35152,111 +35152,111 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal), return x_1; } } -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2; -x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(x_2, x_3, x_1); +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2; +x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4; -x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(x_6, x_7, x_5); +x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3; +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4; +x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5; -x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6; -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(x_10, x_11, x_9); +x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5; +x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6; +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5(x_10, x_11, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8; -x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7; -x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_14, x_15, x_13); +x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8; +x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7; +x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7(x_14, x_15, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9; -x_19 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_18, x_15, x_17); +x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9; +x_19 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7(x_18, x_15, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11; -x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10; -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_21, x_22, x_20); +x_21 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11; +x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7(x_21, x_22, x_20); if (lean_obj_tag(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_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12; -x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13; -x_27 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(x_25, x_26, x_24); +x_25 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12; +x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13; +x_27 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10(x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14; -x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15; -x_31 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(x_29, x_30, x_28); +x_29 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14; +x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15; +x_31 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13(x_29, x_30, x_28); 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, 1); lean_inc(x_32); lean_dec(x_31); -x_33 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16; -x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17; -x_35 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(x_33, x_34, x_32); +x_33 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16; +x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17; +x_35 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15(x_33, x_34, x_32); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18; -x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19; -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(x_37, x_38, x_36); +x_37 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18; +x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17(x_37, x_38, x_36); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); lean_dec(x_39); -x_41 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20; -x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21; -x_43 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(x_41, x_42, x_40); +x_41 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20; +x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21; +x_43 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19(x_41, x_42, x_40); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22; -x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23; -x_47 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(x_45, x_46, x_44); +x_45 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22; +x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23; +x_47 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21(x_45, x_46, x_44); return x_47; } else @@ -35513,70 +35513,70 @@ return x_91; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(x_1); +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -35584,29 +35584,29 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__9(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -35614,114 +35614,114 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__12(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -35955,121 +35955,121 @@ l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2 = _ini lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2); l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23); -res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_io_mk_world()); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___lambda__5___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__1___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__3___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__5___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__7___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__10___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__13___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__15___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__17___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__19___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____spec__21___lambda__4___closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__4); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__5); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__6); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__7); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__8); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__9); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__10); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__11); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__12); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__13); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__14); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__15); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__16); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__17); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__18); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__19); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__20); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__21); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__22); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353____closed__23); +res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6353_(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/Server/InfoUtils.c b/stage0/stdlib/Lean/Server/InfoUtils.c index f61fc04833..19ca7e8639 100644 --- a/stage0/stdlib/Lean/Server/InfoUtils.c +++ b/stage0/stdlib/Lean/Server/InfoUtils.c @@ -109,14 +109,12 @@ lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2___rarg(le lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Info_tailPos_x3f___boxed(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33_(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_isTerm___boxed(lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__3; static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; @@ -5623,142 +5621,136 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__1___box return x_1; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_9 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = lean_apply_7(x_12, x_2, x_13, x_4, x_5, x_6, x_7, x_11); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_10, 0); -lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_array_push(x_2, x_16); -x_18 = lean_box(0); -x_19 = lean_apply_7(x_12, x_17, x_18, x_4, x_5, x_6, x_7, x_11); -return x_19; -} -} -else -{ -uint8_t x_20; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_9); -if (x_20 == 0) -{ -return x_9; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_9, 0); -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_9); -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; -} -} -} -} -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; +lean_object* x_8; lean_object* x_9; lean_object* x_27; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_8 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +x_27 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_27) == 0) { -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_28; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +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_2); +x_8 = x_31; +x_9 = x_29; +goto block_26; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = lean_ctor_get(x_28, 0); +lean_inc(x_33); +lean_dec(x_28); +x_34 = lean_array_push(x_2, x_33); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_8 = x_36; +x_9 = x_32; +goto block_26; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_27, 1); +lean_inc(x_37); +lean_dec(x_27); +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_2); +x_8 = x_39; +x_9 = x_37; +goto block_26; +} +block_26: +{ +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_11 = lean_box(0); -x_12 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(x_1, x_3, x_4, x_5, x_6, x_9); lean_dec(x_1); -return x_12; -} -else +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_8, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +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_8); -x_14 = lean_ctor_get(x_9, 0); -lean_inc(x_14); -lean_dec(x_9); -x_15 = lean_array_push(x_2, x_14); -x_16 = lean_box(0); -x_17 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_15, x_16, x_3, x_4, x_5, x_6, x_13); -lean_dec(x_1); -return x_17; +lean_dec(x_11); +x_14 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = lean_apply_7(x_14, x_10, x_15, x_3, x_4, x_5, x_6, x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_12, 0); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_array_push(x_10, x_18); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_14, x_19, x_20, x_3, x_4, x_5, x_6, x_13); +return x_21; } } else { -uint8_t x_18; +uint8_t x_22; +lean_dec(x_10); 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_is_exclusive(x_8); -if (x_18 == 0) +x_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) { -return x_8; +return x_11; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_8, 0); -x_20 = lean_ctor_get(x_8, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_8); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} } } } @@ -5769,7 +5761,7 @@ _start: lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = l_Lean_Elab_Info_lctx(x_2); x_5 = l_Lean_Elab_InfoTree_getCompletionInfos___closed__1; -x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__3), 7, 2); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__2), 7, 2); lean_closure_set(x_6, 0, x_2); lean_closure_set(x_6, 1, x_5); x_7 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_4, x_6, x_3); @@ -5789,16 +5781,6 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} lean_object* l_Lean_Elab_Info_fmtHover_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Lean/Server/Snapshots.c b/stage0/stdlib/Lean/Server/Snapshots.c index 488442d0a9..a8731865dd 100644 --- a/stage0/stdlib/Lean/Server/Snapshots.c +++ b/stage0/stdlib/Lean/Server/Snapshots.c @@ -21,7 +21,6 @@ lean_object* l___private_Lean_Server_Snapshots_0__Lean_Server_Snapshots_ioErrorF lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__6; -lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_parseAhead_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,6 +77,7 @@ lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); static uint32_t l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__8; lean_object* l___private_Lean_Server_Snapshots_0__Lean_Server_Snapshots_ioErrorFromEmpty_match__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_compileNextCmd___closed__1; +lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__4; lean_object* l_Lean_Server_Snapshots_Snapshot_msgLog(lean_object*); static lean_object* l_Lean_Server_Snapshots_compileNextCmd___closed__4; @@ -955,7 +955,7 @@ lean_ctor_set(x_43, 4, x_39); lean_ctor_set(x_43, 5, x_41); lean_ctor_set(x_43, 6, x_42); lean_inc(x_25); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___boxed), 4, 1); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommandTopLevel), 4, 1); lean_closure_set(x_44, 0, x_25); lean_inc(x_35); x_45 = lean_alloc_closure((void*)(l_Lean_Elab_Command_catchExceptions), 4, 3); diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index 6a05a0ab06..2e8c5c5cb8 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -433,7 +433,7 @@ lean_object* l_Lean_Server_Watchdog_handleRequest_match__1___rarg(lean_object*, lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop_match__2(lean_object*); static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___lambda__2___closed__1; static uint8_t l_Lean_Server_Watchdog_tryWriteMessage___lambda__1___closed__1; -lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__6; static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__33; uint8_t lean_string_dec_lt(lean_object*, lean_object*); @@ -19277,7 +19277,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_564_(x_5); +x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_566_(x_5); x_7 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_7, 0, x_4); lean_ctor_set(x_7, 1, x_6); diff --git a/stage0/stdlib/Lean/Syntax.c b/stage0/stdlib/Lean/Syntax.c index 4a84502d78..7823bd2ecb 100644 --- a/stage0/stdlib/Lean/Syntax.c +++ b/stage0/stdlib/Lean/Syntax.c @@ -134,7 +134,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg___lambda__1(lean_object* static lean_object* l_Lean_Syntax_antiquotKind_x3f___closed__1; lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__4; lean_object* l_Lean_Syntax_getAtomVal_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getIdAt(lean_object*, lean_object*); @@ -146,7 +146,7 @@ lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f_match__1___rarg(lean_object*, lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop_match__2(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getKind___boxed(lean_object*); -lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__2___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_Syntax_updateTrailing(lean_object*, lean_object*); @@ -3795,55 +3795,53 @@ lean_dec(x_1); return x_3; } } -lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___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* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { _start: { -uint8_t x_7; -x_7 = x_5 < x_4; -if (x_7 == 0) +uint8_t x_6; +x_6 = x_4 < x_3; +if (x_6 == 0) { -lean_object* x_8; -lean_dec(x_1); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_6); -return x_8; +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_object* x_9; -lean_dec(x_6); -lean_inc(x_1); -x_9 = l_Lean_Syntax_reprint(x_1); -if (lean_obj_tag(x_9) == 0) +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_array_uget(x_8, x_4); +x_10 = l_Lean_Syntax_reprint(x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; -lean_dec(x_1); -x_10 = lean_box(0); -return x_10; +lean_object* x_11; +x_11 = lean_box(0); +return x_11; } else { -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_string_dec_eq(x_2, x_11); -lean_dec(x_11); -if (x_12 == 0) +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_string_dec_eq(x_1, x_12); +lean_dec(x_12); +if (x_13 == 0) { -lean_object* x_13; -lean_dec(x_1); -x_13 = lean_box(0); -return x_13; +lean_object* x_14; +x_14 = lean_box(0); +return x_14; } else { -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = 1; -x_15 = x_5 + x_14; -x_16 = lean_box(0); -x_5 = x_15; -x_6 = x_16; +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = 1; +x_16 = x_4 + x_15; +x_17 = lean_box(0); +x_4 = x_16; +x_5 = x_17; goto _start; } } @@ -4156,8 +4154,7 @@ lean_inc(x_58); x_59 = lean_usize_of_nat(x_58); lean_dec(x_58); x_60 = lean_box(0); -lean_inc(x_2); -x_61 = l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(x_2, x_52, x_55, x_57, x_59, x_60); +x_61 = l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(x_52, x_55, x_57, x_59, x_60); lean_dec(x_55); lean_dec(x_52); if (lean_obj_tag(x_61) == 0) @@ -4412,18 +4409,18 @@ return x_11; } } } -lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -size_t x_7; size_t x_8; lean_object* x_9; +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_9 = l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); -lean_dec(x_3); +x_8 = l_Subarray_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__1(x_1, x_2, x_6, x_7, x_5); lean_dec(x_2); -return x_9; +lean_dec(x_1); +return x_8; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_reprint___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) { diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index e7bcf0a5aa..58782b926d 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -13,45 +13,45 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__6; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__23; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__24; uint8_t l_Lean_MessageData_isNest(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__7; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6; lean_object* l_Lean_traceCtx___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__16; lean_object* l_Lean_MessageData_format(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_printTraces___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerTraceClass___closed__1; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46; lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__10; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39; size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_enableTracing___rarg___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_trace___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); @@ -59,32 +59,36 @@ static lean_object* l_Lean_TraceState_traces___default___closed__1; static lean_object* l_Std_PersistentArray_getAux___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__2___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_resetTraceState___rarg___closed__1; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addNode___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_nil; -lean_object* l_Lean_termTrace_x5b_____x5d____; lean_object* l_Std_PersistentArray_getAux___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerTraceClass___closed__3; lean_object* l_Lean_enableTracing___rarg(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39; lean_object* l_Lean_traceCtx___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__21; lean_object* lean_string_append(lean_object*, lean_object*); extern lean_object* l_Lean_interpolatedStrKind; lean_object* l_Lean_getTraces(lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__13; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__23; lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1; size_t l_USize_shiftRight(size_t, size_t); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__13; static lean_object* l_Lean_instInhabitedTraceState___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__3___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__11; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17; lean_object* l_Lean_withNestedTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,219 +97,233 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_o extern lean_object* l_Lean_nameLitKind; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__7; lean_object* l_Lean_instInhabitedTraceState; lean_object* l_Lean_traceCtx___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__20; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM(lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__3; +lean_object* l_Lean_doElemTrace_x5b_____x5d____; lean_object* l_Lean_trace(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__2; lean_object* l_Lean_setTraceState(lean_object*); lean_object* l_Lean_withNestedTraces(lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__12; lean_object* l___private_Lean_Util_Trace_0__Lean_addNode(lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; lean_object* l_Lean_traceM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__26; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8; lean_object* l_Lean_setTraceState___rarg___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__26; lean_object* l_Lean_enableTracing___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_modifyTraces(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__11; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34; lean_object* l_Nat_foldM_loop___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2; lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__22; lean_object* l_Lean_enableTracing___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerTraceClass___closed__2; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__1; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__5; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__14; uint8_t l_Lean_MessageData_isNil(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__15; lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__18; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15; lean_object* l_Lean_traceM(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__3; static lean_object* l_Lean_TraceState_traces___default___closed__2; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_traceCtx___rarg___lambda__2___closed__1; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__15; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__24; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33; lean_object* l_Lean_isTracingEnabledFor(lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29; lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces(lean_object*); lean_object* l_Lean_isTracingEnabledFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withNestedTraces___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__1(lean_object*); lean_object* l_Lean_resetTraceState___rarg(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43; lean_object* l_Nat_foldM_loop___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__1(lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42; uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); lean_object* l_Lean_withNestedTraces___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withNestedTraces___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37; lean_object* l_Lean_enableTracing(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__2(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_isEmpty___rarg(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5(lean_object*); lean_object* l_Lean_addTrace___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40; lean_object* l_Lean_modifyTraces___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_MonadTracer_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__9; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__8; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__17; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__17; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27; lean_object* l_Lean_addTrace___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedTraceElem___closed__1; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3; lean_object* l_Lean_modifyTraces___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__8; size_t l_USize_land(size_t, size_t); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__21; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__4; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4; static lean_object* l_Lean_instInhabitedTraceState___closed__1; lean_object* l_Lean_traceCtx___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5; static lean_object* l_Lean_instInhabitedTraceState___closed__2; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__20; lean_object* l_String_intercalate(lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__10; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__5; lean_object* l_Lean_resetTraceState(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadTracer_trace(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15; lean_object* l_Lean_setTraceState___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37; lean_object* l_Lean_instInhabitedTraceElem; lean_object* l_Lean_enableTracing___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux_match__1(lean_object*); lean_object* l_Lean_TraceState_traces___default; static lean_object* l_Lean_resetTraceState___rarg___lambda__1___closed__1; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42; static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; static lean_object* l_Lean_TraceState_traces___default___closed__3; static lean_object* l_Lean_instInhabitedTraceState___closed__4; lean_object* l_Lean_instMonadTrace___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7; lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__3(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14; lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_enableTracing___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3; static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__6; static lean_object* l_Lean_instInhabitedTraceElem___closed__2; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__12; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16; lean_object* l_Lean_enableTracing___rarg___lambda__2(lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14; lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_printTraces(lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__2; lean_object* l_Lean_checkTraceOption___boxed(lean_object*, lean_object*); static lean_object* l_Lean_checkTraceOption___closed__1; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20; lean_object* l_Lean_traceM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10; lean_object* l_Lean_addTrace(lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_resetTraceState___rarg___lambda__1___boxed(lean_object*); lean_object* l_IO_println___at_Lean_instEval__1___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__6; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46; static size_t l_Lean_instInhabitedTraceState___closed__3; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addNode___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resetTraceState___rarg___lambda__1(lean_object*); lean_object* l_Lean_enableTracing___rarg___lambda__1(uint8_t, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__2; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__14; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__25; lean_object* l_Lean_trace___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__5___boxed(lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__22; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__5; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__25; lean_object* l_Lean_printTraces___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TraceState_enabled___default; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_instMonadTrace___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setTraceState___rarg___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__18; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20; lean_object* l_Lean_getTraces___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__1; lean_object* l_Lean_trace___rarg(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_Lean_traceCtx___rarg___lambda__1(lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Std_PersistentArray_getAux___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__2(lean_object*, size_t, size_t); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_instMonadTrace(lean_object*, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34; -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__16; lean_object* l_Lean_traceCtx___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13; static lean_object* l_Lean_traceCtx___rarg___lambda__6___closed__1; lean_object* l_Lean_getTraces___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__5(lean_object*); lean_object* l_Lean_withNestedTraces___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11; lean_object* l_Lean_traceCtx___rarg___lambda__3(lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__19; static lean_object* l_Lean_checkTraceOption___closed__2; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux(lean_object*, lean_object*); -static lean_object* l_Lean_termTrace_x5b_____x5d_______closed__9; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21; +static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__11; +static lean_object* l_Lean_doElemTrace_x5b_____x5d_______closed__19; lean_object* l___private_Lean_Util_Trace_0__Lean_TraceState_toFormat(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13; -static lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux___boxed(lean_object*, lean_object*); static lean_object* _init_l_Lean_instInhabitedTraceElem___closed__1() { @@ -2844,7 +2862,7 @@ x_6 = lean_register_option(x_4, x_5, x_2); return x_6; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__1() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__1() { _start: { lean_object* x_1; @@ -2852,35 +2870,35 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__2() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__1; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__3() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("termTrace[__]__"); +x_1 = lean_mk_string("doElemTrace[__]__"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__4() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__3; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__5() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__5() { _start: { lean_object* x_1; @@ -2888,17 +2906,17 @@ x_1 = lean_mk_string("andthen"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__6() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__5; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__7() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__7() { _start: { lean_object* x_1; @@ -2906,17 +2924,17 @@ x_1 = lean_mk_string("trace["); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__8() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__7; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__7; 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_termTrace_x5b_____x5d_______closed__9() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__9() { _start: { lean_object* x_1; @@ -2924,33 +2942,33 @@ x_1 = lean_mk_string("ident"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__10() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__9; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__11() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__10; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__10; 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_termTrace_x5b_____x5d_______closed__12() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__6; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__8; -x_3 = l_Lean_termTrace_x5b_____x5d_______closed__11; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__6; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__8; +x_3 = l_Lean_doElemTrace_x5b_____x5d_______closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2958,7 +2976,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__13() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__13() { _start: { lean_object* x_1; @@ -2966,23 +2984,23 @@ x_1 = lean_mk_string("]"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__14() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__13; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__13; 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_termTrace_x5b_____x5d_______closed__15() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__6; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__12; -x_3 = l_Lean_termTrace_x5b_____x5d_______closed__14; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__6; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__12; +x_3 = l_Lean_doElemTrace_x5b_____x5d_______closed__14; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2990,7 +3008,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__16() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__16() { _start: { lean_object* x_1; @@ -2998,17 +3016,17 @@ x_1 = lean_mk_string("orelse"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__17() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__16; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__18() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__18() { _start: { lean_object* x_1; @@ -3016,17 +3034,17 @@ x_1 = lean_mk_string("interpolatedStr"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__19() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__18; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__20() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__20() { _start: { lean_object* x_1; @@ -3034,21 +3052,21 @@ x_1 = lean_mk_string("term"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__21() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__20; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__22() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__21; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__21; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3056,25 +3074,25 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__23() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__19; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__22; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__19; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__22; 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_termTrace_x5b_____x5d_______closed__24() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__17; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__23; -x_3 = l_Lean_termTrace_x5b_____x5d_______closed__22; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__17; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__23; +x_3 = l_Lean_doElemTrace_x5b_____x5d_______closed__22; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3082,13 +3100,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__25() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__6; -x_2 = l_Lean_termTrace_x5b_____x5d_______closed__15; -x_3 = l_Lean_termTrace_x5b_____x5d_______closed__24; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__6; +x_2 = l_Lean_doElemTrace_x5b_____x5d_______closed__15; +x_3 = l_Lean_doElemTrace_x5b_____x5d_______closed__24; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3096,13 +3114,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__26() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d_______closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__4; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__4; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_termTrace_x5b_____x5d_______closed__25; +x_3 = l_Lean_doElemTrace_x5b_____x5d_______closed__25; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3110,15 +3128,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x5b_____x5d____() { +static lean_object* _init_l_Lean_doElemTrace_x5b_____x5d____() { _start: { lean_object* x_1; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__26; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__26; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -3126,17 +3144,7 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2() { _start: { lean_object* x_1; @@ -3144,100 +3152,31 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("app"); +x_1 = lean_mk_string("doNested"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.trace"); +x_1 = lean_mk_string("do"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("doSeqIndent"); +return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8; -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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; -x_2 = l_Lean_checkTraceOption___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -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_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6() { _start: { lean_object* x_1; @@ -3245,79 +3184,127 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string("fun"); +x_1 = lean_mk_string("doSeqItem"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLet"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("let"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7; +x_2 = l_Lean_instInhabitedTraceState___closed__1; +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_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12() { _start: { lean_object* x_1; -x_1 = lean_mk_string("basicFun"); +x_1 = lean_mk_string("letDecl"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("letIdDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("cls"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18() { _start: { lean_object* x_1; -x_1 = lean_mk_string("hole"); +x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -3326,159 +3313,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("paren"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("("); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeAscription"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("MessageData"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31; -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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34; -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_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35; -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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(")"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -3487,7 +3322,201 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doIf"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("if"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doIfProp"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("liftMethod"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("←"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.isTracingEnabledFor"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32; +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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("isTracingEnabledFor"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("then"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doExpr"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.addTrace"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40; +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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("addTrace"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44() { _start: { lean_object* x_1; @@ -3495,17 +3524,7 @@ x_1 = lean_mk_string("quotedName"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45() { _start: { lean_object* x_1; @@ -3513,7 +3532,7 @@ x_1 = lean_mk_string("."); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46() { _start: { lean_object* x_1; @@ -3521,7 +3540,804 @@ x_1 = lean_mk_string("`"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44() { +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +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; 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_4, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_dec(x_4); +x_11 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1; +lean_inc(x_1); +x_12 = lean_name_mk_string(x_1, x_11); +x_13 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2; +x_14 = lean_name_mk_string(x_12, x_13); +x_15 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3; +lean_inc(x_14); +x_16 = lean_name_mk_string(x_14, x_15); +x_17 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4; +lean_inc(x_8); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_8); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5; +lean_inc(x_14); +x_20 = lean_name_mk_string(x_14, x_19); +x_21 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8; +lean_inc(x_14); +x_22 = lean_name_mk_string(x_14, x_21); +x_23 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9; +lean_inc(x_14); +x_24 = lean_name_mk_string(x_14, x_23); +x_25 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10; +lean_inc(x_8); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_8); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12; +lean_inc(x_14); +x_28 = lean_name_mk_string(x_14, x_27); +x_29 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13; +lean_inc(x_14); +x_30 = lean_name_mk_string(x_14, x_29); +x_31 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17; +lean_inc(x_9); +lean_inc(x_10); +x_32 = l_Lean_addMacroScope(x_10, x_31, x_9); +x_33 = lean_box(0); +x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16; +lean_inc(x_8); +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_8); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_33); +x_36 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18; +lean_inc(x_8); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_8); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Syntax_getId(x_2); +lean_inc(x_38); +x_39 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_33, x_38); +x_40 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19; +lean_inc(x_35); +x_41 = lean_array_push(x_40, x_35); +x_42 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11; +x_43 = lean_array_push(x_41, x_42); +x_44 = lean_array_push(x_43, x_42); +x_45 = lean_array_push(x_44, x_37); +x_46 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21; +x_47 = lean_array_push(x_46, x_26); +x_48 = lean_array_push(x_47, x_42); +x_49 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23; +lean_inc(x_14); +x_50 = lean_name_mk_string(x_14, x_49); +x_51 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24; +lean_inc(x_8); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_8); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25; +lean_inc(x_14); +x_54 = lean_name_mk_string(x_14, x_53); +x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26; +lean_inc(x_14); +x_56 = lean_name_mk_string(x_14, x_55); +x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27; +lean_inc(x_8); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_8); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28; +lean_inc(x_14); +x_60 = lean_name_mk_string(x_14, x_59); +x_61 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29; +lean_inc(x_8); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_8); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30; +lean_inc(x_14); +x_64 = lean_name_mk_string(x_14, x_63); +x_65 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34; +lean_inc(x_1); +x_66 = lean_name_mk_string(x_1, x_65); +lean_inc(x_9); +lean_inc(x_66); +lean_inc(x_10); +x_67 = l_Lean_addMacroScope(x_10, x_66, x_9); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_33); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_33); +x_70 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33; +lean_inc(x_8); +x_71 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_71, 0, x_8); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_67); +lean_ctor_set(x_71, 3, x_69); +x_72 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20; +lean_inc(x_35); +x_73 = lean_array_push(x_72, x_35); +x_74 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7; +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_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +x_77 = lean_array_push(x_76, x_71); +x_78 = lean_array_push(x_77, x_75); +lean_inc(x_64); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_64); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_76, x_62); +x_81 = lean_array_push(x_80, x_79); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_60); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_push(x_76, x_82); +x_84 = lean_array_push(x_83, x_42); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_74); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35; +lean_inc(x_8); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_8); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_46, x_58); +x_89 = lean_array_push(x_88, x_85); +x_90 = lean_array_push(x_89, x_87); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_56); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36; +x_93 = lean_array_push(x_92, x_91); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_54); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37; +lean_inc(x_8); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_8); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38; +lean_inc(x_14); +x_98 = lean_name_mk_string(x_14, x_97); +x_99 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42; +x_100 = lean_name_mk_string(x_1, x_99); +lean_inc(x_100); +x_101 = l_Lean_addMacroScope(x_10, x_100, x_9); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_33); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_33); +x_104 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41; +x_105 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_105, 0, x_8); +lean_ctor_set(x_105, 1, x_104); +lean_ctor_set(x_105, 2, x_101); +lean_ctor_set(x_105, 3, x_103); +x_106 = lean_array_push(x_76, x_35); +x_107 = lean_array_push(x_106, x_3); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_74); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_array_push(x_76, x_105); +x_110 = lean_array_push(x_109, x_108); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_64); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_72, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_98); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_76, x_113); +x_115 = lean_array_push(x_114, x_42); +lean_inc(x_22); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_22); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_72, x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_74); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_72, x_118); +lean_inc(x_20); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_20); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43; +x_122 = lean_array_push(x_121, x_52); +x_123 = lean_array_push(x_122, x_94); +x_124 = lean_array_push(x_123, x_96); +x_125 = lean_array_push(x_124, x_120); +x_126 = lean_array_push(x_125, x_42); +x_127 = lean_array_push(x_126, x_42); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_50); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_76, x_128); +x_130 = lean_array_push(x_129, x_42); +lean_inc(x_22); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_22); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_array_push(x_76, x_18); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_14); +x_133 = l___private_Init_Meta_0__Lean_quoteNameMk(x_38); +x_134 = lean_array_push(x_45, x_133); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_30); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_array_push(x_72, x_135); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_28); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_array_push(x_48, x_137); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_24); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_array_push(x_76, x_139); +x_141 = lean_array_push(x_140, x_42); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_22); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_array_push(x_76, x_142); +x_144 = lean_array_push(x_143, x_131); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_74); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_array_push(x_72, x_145); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_20); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_array_push(x_132, x_147); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_16); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_6, 0, x_149); +return x_6; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_38); +x_150 = lean_ctor_get(x_39, 0); +lean_inc(x_150); +lean_dec(x_39); +x_151 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44; +x_152 = lean_name_mk_string(x_14, x_151); +x_153 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45; +x_154 = l_String_intercalate(x_153, x_150); +x_155 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46; +x_156 = lean_string_append(x_155, x_154); +lean_dec(x_154); +x_157 = l_Lean_nameLitKind; +x_158 = lean_box(2); +x_159 = l_Lean_Syntax_mkLit(x_157, x_156, x_158); +x_160 = lean_array_push(x_72, x_159); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_152); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_45, x_161); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_30); +lean_ctor_set(x_163, 1, x_162); +x_164 = lean_array_push(x_72, x_163); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_28); +lean_ctor_set(x_165, 1, x_164); +x_166 = lean_array_push(x_48, x_165); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_24); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_array_push(x_76, x_167); +x_169 = lean_array_push(x_168, x_42); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_22); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_76, x_170); +x_172 = lean_array_push(x_171, x_131); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_74); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_array_push(x_72, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_20); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_132, x_175); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_16); +lean_ctor_set(x_177, 1, x_176); +lean_ctor_set(x_6, 0, x_177); +return x_6; +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_178 = lean_ctor_get(x_6, 0); +x_179 = lean_ctor_get(x_6, 1); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_6); +x_180 = lean_ctor_get(x_4, 2); +lean_inc(x_180); +x_181 = lean_ctor_get(x_4, 1); +lean_inc(x_181); +lean_dec(x_4); +x_182 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1; +lean_inc(x_1); +x_183 = lean_name_mk_string(x_1, x_182); +x_184 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2; +x_185 = lean_name_mk_string(x_183, x_184); +x_186 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3; +lean_inc(x_185); +x_187 = lean_name_mk_string(x_185, x_186); +x_188 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4; +lean_inc(x_178); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_178); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5; +lean_inc(x_185); +x_191 = lean_name_mk_string(x_185, x_190); +x_192 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8; +lean_inc(x_185); +x_193 = lean_name_mk_string(x_185, x_192); +x_194 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9; +lean_inc(x_185); +x_195 = lean_name_mk_string(x_185, x_194); +x_196 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10; +lean_inc(x_178); +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_178); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12; +lean_inc(x_185); +x_199 = lean_name_mk_string(x_185, x_198); +x_200 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13; +lean_inc(x_185); +x_201 = lean_name_mk_string(x_185, x_200); +x_202 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17; +lean_inc(x_180); +lean_inc(x_181); +x_203 = l_Lean_addMacroScope(x_181, x_202, x_180); +x_204 = lean_box(0); +x_205 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16; +lean_inc(x_178); +x_206 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_206, 0, x_178); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_203); +lean_ctor_set(x_206, 3, x_204); +x_207 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18; +lean_inc(x_178); +x_208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_208, 0, x_178); +lean_ctor_set(x_208, 1, x_207); +x_209 = l_Lean_Syntax_getId(x_2); +lean_inc(x_209); +x_210 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_204, x_209); +x_211 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19; +lean_inc(x_206); +x_212 = lean_array_push(x_211, x_206); +x_213 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11; +x_214 = lean_array_push(x_212, x_213); +x_215 = lean_array_push(x_214, x_213); +x_216 = lean_array_push(x_215, x_208); +x_217 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21; +x_218 = lean_array_push(x_217, x_197); +x_219 = lean_array_push(x_218, x_213); +x_220 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23; +lean_inc(x_185); +x_221 = lean_name_mk_string(x_185, x_220); +x_222 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24; +lean_inc(x_178); +x_223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_223, 0, x_178); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25; +lean_inc(x_185); +x_225 = lean_name_mk_string(x_185, x_224); +x_226 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26; +lean_inc(x_185); +x_227 = lean_name_mk_string(x_185, x_226); +x_228 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27; +lean_inc(x_178); +x_229 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_229, 0, x_178); +lean_ctor_set(x_229, 1, x_228); +x_230 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28; +lean_inc(x_185); +x_231 = lean_name_mk_string(x_185, x_230); +x_232 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29; +lean_inc(x_178); +x_233 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_233, 0, x_178); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30; +lean_inc(x_185); +x_235 = lean_name_mk_string(x_185, x_234); +x_236 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34; +lean_inc(x_1); +x_237 = lean_name_mk_string(x_1, x_236); +lean_inc(x_180); +lean_inc(x_237); +lean_inc(x_181); +x_238 = l_Lean_addMacroScope(x_181, x_237, x_180); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_237); +lean_ctor_set(x_239, 1, x_204); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_204); +x_241 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33; +lean_inc(x_178); +x_242 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_242, 0, x_178); +lean_ctor_set(x_242, 1, x_241); +lean_ctor_set(x_242, 2, x_238); +lean_ctor_set(x_242, 3, x_240); +x_243 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20; +lean_inc(x_206); +x_244 = lean_array_push(x_243, x_206); +x_245 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +x_247 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +x_248 = lean_array_push(x_247, x_242); +x_249 = lean_array_push(x_248, x_246); +lean_inc(x_235); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_235); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_array_push(x_247, x_233); +x_252 = lean_array_push(x_251, x_250); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_231); +lean_ctor_set(x_253, 1, x_252); +x_254 = lean_array_push(x_247, x_253); +x_255 = lean_array_push(x_254, x_213); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_245); +lean_ctor_set(x_256, 1, x_255); +x_257 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35; +lean_inc(x_178); +x_258 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_258, 0, x_178); +lean_ctor_set(x_258, 1, x_257); +x_259 = lean_array_push(x_217, x_229); +x_260 = lean_array_push(x_259, x_256); +x_261 = lean_array_push(x_260, x_258); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_227); +lean_ctor_set(x_262, 1, x_261); +x_263 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36; +x_264 = lean_array_push(x_263, x_262); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_225); +lean_ctor_set(x_265, 1, x_264); +x_266 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37; +lean_inc(x_178); +x_267 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_267, 0, x_178); +lean_ctor_set(x_267, 1, x_266); +x_268 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38; +lean_inc(x_185); +x_269 = lean_name_mk_string(x_185, x_268); +x_270 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42; +x_271 = lean_name_mk_string(x_1, x_270); +lean_inc(x_271); +x_272 = l_Lean_addMacroScope(x_181, x_271, x_180); +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_271); +lean_ctor_set(x_273, 1, x_204); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_204); +x_275 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41; +x_276 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_276, 0, x_178); +lean_ctor_set(x_276, 1, x_275); +lean_ctor_set(x_276, 2, x_272); +lean_ctor_set(x_276, 3, x_274); +x_277 = lean_array_push(x_247, x_206); +x_278 = lean_array_push(x_277, x_3); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_245); +lean_ctor_set(x_279, 1, x_278); +x_280 = lean_array_push(x_247, x_276); +x_281 = lean_array_push(x_280, x_279); +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_235); +lean_ctor_set(x_282, 1, x_281); +x_283 = lean_array_push(x_243, x_282); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_269); +lean_ctor_set(x_284, 1, x_283); +x_285 = lean_array_push(x_247, x_284); +x_286 = lean_array_push(x_285, x_213); +lean_inc(x_193); +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_193); +lean_ctor_set(x_287, 1, x_286); +x_288 = lean_array_push(x_243, x_287); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_245); +lean_ctor_set(x_289, 1, x_288); +x_290 = lean_array_push(x_243, x_289); +lean_inc(x_191); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_191); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43; +x_293 = lean_array_push(x_292, x_223); +x_294 = lean_array_push(x_293, x_265); +x_295 = lean_array_push(x_294, x_267); +x_296 = lean_array_push(x_295, x_291); +x_297 = lean_array_push(x_296, x_213); +x_298 = lean_array_push(x_297, x_213); +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_221); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_array_push(x_247, x_299); +x_301 = lean_array_push(x_300, x_213); +lean_inc(x_193); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_193); +lean_ctor_set(x_302, 1, x_301); +x_303 = lean_array_push(x_247, x_189); +if (lean_obj_tag(x_210) == 0) +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; +lean_dec(x_185); +x_304 = l___private_Init_Meta_0__Lean_quoteNameMk(x_209); +x_305 = lean_array_push(x_216, x_304); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_201); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_array_push(x_243, x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_199); +lean_ctor_set(x_308, 1, x_307); +x_309 = lean_array_push(x_219, x_308); +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_195); +lean_ctor_set(x_310, 1, x_309); +x_311 = lean_array_push(x_247, x_310); +x_312 = lean_array_push(x_311, x_213); +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_193); +lean_ctor_set(x_313, 1, x_312); +x_314 = lean_array_push(x_247, x_313); +x_315 = lean_array_push(x_314, x_302); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_245); +lean_ctor_set(x_316, 1, x_315); +x_317 = lean_array_push(x_243, x_316); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_191); +lean_ctor_set(x_318, 1, x_317); +x_319 = lean_array_push(x_303, x_318); +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_187); +lean_ctor_set(x_320, 1, x_319); +x_321 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_179); +return x_321; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +lean_dec(x_209); +x_322 = lean_ctor_get(x_210, 0); +lean_inc(x_322); +lean_dec(x_210); +x_323 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44; +x_324 = lean_name_mk_string(x_185, x_323); +x_325 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45; +x_326 = l_String_intercalate(x_325, x_322); +x_327 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46; +x_328 = lean_string_append(x_327, x_326); +lean_dec(x_326); +x_329 = l_Lean_nameLitKind; +x_330 = lean_box(2); +x_331 = l_Lean_Syntax_mkLit(x_329, x_328, x_330); +x_332 = lean_array_push(x_243, x_331); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_324); +lean_ctor_set(x_333, 1, x_332); +x_334 = lean_array_push(x_216, x_333); +x_335 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_335, 0, x_201); +lean_ctor_set(x_335, 1, x_334); +x_336 = lean_array_push(x_243, x_335); +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_199); +lean_ctor_set(x_337, 1, x_336); +x_338 = lean_array_push(x_219, x_337); +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_195); +lean_ctor_set(x_339, 1, x_338); +x_340 = lean_array_push(x_247, x_339); +x_341 = lean_array_push(x_340, x_213); +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_193); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_247, x_342); +x_344 = lean_array_push(x_343, x_302); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_245); +lean_ctor_set(x_345, 1, x_344); +x_346 = lean_array_push(x_243, x_345); +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_191); +lean_ctor_set(x_347, 1, x_346); +x_348 = lean_array_push(x_303, x_347); +x_349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_349, 0, x_187); +lean_ctor_set(x_349, 1, x_348); +x_350 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_179); +return x_350; +} +} +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeAscription"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MessageData"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8; +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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11; +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_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12; +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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14() { _start: { lean_object* x_1; @@ -3529,17 +4345,17 @@ x_1 = lean_mk_string("termM!_"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44; +x_1 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16() { _start: { lean_object* x_1; @@ -3547,11 +4363,11 @@ x_1 = lean_mk_string("m!"); return x_1; } } -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099_(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_termTrace_x5b_____x5d_______closed__4; +x_4 = l_Lean_doElemTrace_x5b_____x5d_______closed__4; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -3580,617 +4396,107 @@ x_14 = lean_name_eq(x_12, x_13); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_16 = !lean_is_exclusive(x_15); -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; 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; -x_17 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); x_18 = lean_ctor_get(x_2, 2); lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); -lean_dec(x_2); -x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -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_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9; -x_24 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12; -lean_inc(x_17); -x_25 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_25, 0, x_17); -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_Syntax_getId(x_9); -lean_dec(x_9); -lean_inc(x_26); -x_27 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_22, x_26); -x_28 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; -lean_inc(x_17); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_17); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21; -lean_inc(x_17); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20; -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_32, x_35); -x_37 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14; -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_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23; -lean_inc(x_17); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_17); +x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27; +lean_inc(x_16); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6; +lean_inc(x_16); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10; +x_25 = l_Lean_addMacroScope(x_19, x_24, x_18); +x_26 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9; +x_27 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13; +lean_inc(x_16); +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +x_30 = lean_array_push(x_29, x_23); +x_31 = lean_array_push(x_30, x_28); +x_32 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5; +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 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20; +x_35 = lean_array_push(x_34, x_33); +x_36 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_array_push(x_29, x_11); +x_39 = lean_array_push(x_38, x_37); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_36); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26; -lean_inc(x_17); +x_41 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35; x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_17); +lean_ctor_set(x_42, 0, x_16); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29; -lean_inc(x_17); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_17); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33; -x_46 = l_Lean_addMacroScope(x_19, x_45, x_18); -x_47 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32; -x_48 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36; -lean_inc(x_17); -x_49 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_49, 0, x_17); -lean_ctor_set(x_49, 1, x_47); -lean_ctor_set(x_49, 2, x_46); -lean_ctor_set(x_49, 3, x_48); -x_50 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37; -x_51 = lean_array_push(x_50, x_44); -x_52 = lean_array_push(x_51, x_49); -x_53 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_32, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_37); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_50, x_11); -x_58 = lean_array_push(x_57, x_56); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_37); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38; -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_17); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39; -x_63 = lean_array_push(x_62, x_42); -x_64 = lean_array_push(x_63, x_59); -x_65 = lean_array_push(x_64, x_61); -x_66 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25; -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_38); -x_69 = lean_array_push(x_68, x_40); -x_70 = lean_array_push(x_69, x_67); -x_71 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18; -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_50, x_29); -x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_array_push(x_50, x_25); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_78 = l___private_Init_Meta_0__Lean_quoteNameMk(x_26); -x_79 = lean_array_push(x_50, x_78); -x_80 = lean_array_push(x_79, x_76); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_37); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_77, x_81); -x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -lean_ctor_set(x_15, 0, x_84); -return x_15; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_26); -x_85 = lean_ctor_get(x_27, 0); -lean_inc(x_85); -lean_dec(x_27); -x_86 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42; -x_87 = l_String_intercalate(x_86, x_85); -x_88 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43; -x_89 = lean_string_append(x_88, x_87); -lean_dec(x_87); -x_90 = l_Lean_nameLitKind; -x_91 = lean_box(2); -x_92 = l_Lean_Syntax_mkLit(x_90, x_89, x_91); -x_93 = lean_array_push(x_32, x_92); -x_94 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = lean_array_push(x_50, x_95); -x_97 = lean_array_push(x_96, x_76); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_37); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_77, x_98); -x_100 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -lean_ctor_set(x_15, 0, x_101); -return x_15; -} -} -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; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_102 = lean_ctor_get(x_15, 0); -x_103 = lean_ctor_get(x_15, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_15); -x_104 = lean_ctor_get(x_2, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_2, 1); -lean_inc(x_105); -lean_dec(x_2); -x_106 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -lean_inc(x_104); -lean_inc(x_105); -x_107 = l_Lean_addMacroScope(x_105, x_106, x_104); -x_108 = lean_box(0); -x_109 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9; -x_110 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12; -lean_inc(x_102); -x_111 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_111, 0, x_102); -lean_ctor_set(x_111, 1, x_109); -lean_ctor_set(x_111, 2, x_107); -lean_ctor_set(x_111, 3, x_110); -x_112 = l_Lean_Syntax_getId(x_9); +x_43 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21; +x_44 = lean_array_push(x_43, x_21); +x_45 = lean_array_push(x_44, x_40); +x_46 = lean_array_push(x_45, x_42); +x_47 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_50 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1(x_49, x_9, x_48, x_2, x_17); lean_dec(x_9); -lean_inc(x_112); -x_113 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_108, x_112); -x_114 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; -lean_inc(x_102); -x_115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_115, 0, x_102); -lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21; -lean_inc(x_102); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_102); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22; -x_119 = lean_array_push(x_118, x_117); -x_120 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_118, x_121); -x_123 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23; -lean_inc(x_102); -x_126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_126, 0, x_102); -lean_ctor_set(x_126, 1, x_125); -x_127 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26; -lean_inc(x_102); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_102); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29; -lean_inc(x_102); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_102); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33; -x_132 = l_Lean_addMacroScope(x_105, x_131, x_104); -x_133 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32; -x_134 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36; -lean_inc(x_102); -x_135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_135, 0, x_102); -lean_ctor_set(x_135, 1, x_133); -lean_ctor_set(x_135, 2, x_132); -lean_ctor_set(x_135, 3, x_134); -x_136 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37; -x_137 = lean_array_push(x_136, x_130); -x_138 = lean_array_push(x_137, x_135); -x_139 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_118, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_123); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_136, x_11); -x_144 = lean_array_push(x_143, x_142); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_123); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38; -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_102); -lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39; -x_149 = lean_array_push(x_148, x_128); -x_150 = lean_array_push(x_149, x_145); -x_151 = lean_array_push(x_150, x_147); -x_152 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25; -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_array_push(x_148, x_124); -x_155 = lean_array_push(x_154, x_126); -x_156 = lean_array_push(x_155, x_153); -x_157 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18; -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_136, x_115); -x_160 = lean_array_push(x_159, x_158); -x_161 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16; -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = lean_array_push(x_136, x_111); -if (lean_obj_tag(x_113) == 0) -{ -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; -x_164 = l___private_Init_Meta_0__Lean_quoteNameMk(x_112); -x_165 = lean_array_push(x_136, x_164); -x_166 = lean_array_push(x_165, x_162); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_123); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_array_push(x_163, x_167); -x_169 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_103); -return x_171; +return x_50; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_112); -x_172 = lean_ctor_get(x_113, 0); -lean_inc(x_172); -lean_dec(x_113); -x_173 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42; -x_174 = l_String_intercalate(x_173, x_172); -x_175 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43; -x_176 = lean_string_append(x_175, x_174); -lean_dec(x_174); -x_177 = l_Lean_nameLitKind; -x_178 = lean_box(2); -x_179 = l_Lean_Syntax_mkLit(x_177, x_176, x_178); -x_180 = lean_array_push(x_118, x_179); -x_181 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41; -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -x_183 = lean_array_push(x_136, x_182); -x_184 = lean_array_push(x_183, x_162); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_123); -lean_ctor_set(x_185, 1, x_184); -x_186 = lean_array_push(x_163, x_185); -x_187 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_103); -return x_189; -} -} -} -else -{ -lean_object* x_190; uint8_t x_191; -x_190 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_191 = !lean_is_exclusive(x_190); -if (x_191 == 0) -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_192 = lean_ctor_get(x_190, 0); -x_193 = lean_ctor_get(x_2, 2); -lean_inc(x_193); -x_194 = lean_ctor_get(x_2, 1); -lean_inc(x_194); -lean_dec(x_2); -x_195 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -x_196 = l_Lean_addMacroScope(x_194, x_195, x_193); -x_197 = lean_box(0); -x_198 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9; -x_199 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12; -lean_inc(x_192); -x_200 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_200, 0, x_192); -lean_ctor_set(x_200, 1, x_198); -lean_ctor_set(x_200, 2, x_196); -lean_ctor_set(x_200, 3, x_199); -x_201 = l_Lean_Syntax_getId(x_9); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_51 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16; +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22; +x_57 = lean_array_push(x_56, x_55); +x_58 = lean_array_push(x_57, x_11); +x_59 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_doElemTrace_x5b_____x5d_______closed__2; +x_62 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1(x_61, x_9, x_60, x_2, x_53); lean_dec(x_9); -lean_inc(x_201); -x_202 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_197, x_201); -x_203 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; -lean_inc(x_192); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_192); -lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21; -lean_inc(x_192); -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_192); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22; -x_208 = lean_array_push(x_207, x_206); -x_209 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20; -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -x_211 = lean_array_push(x_207, x_210); -x_212 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14; -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 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23; -lean_inc(x_192); -x_215 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_215, 0, x_192); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46; -x_217 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_217, 0, x_192); -lean_ctor_set(x_217, 1, x_216); -x_218 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37; -x_219 = lean_array_push(x_218, x_217); -x_220 = lean_array_push(x_219, x_11); -x_221 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45; -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -x_223 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39; -x_224 = lean_array_push(x_223, x_213); -x_225 = lean_array_push(x_224, x_215); -x_226 = lean_array_push(x_225, x_222); -x_227 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18; -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_226); -x_229 = lean_array_push(x_218, x_204); -x_230 = lean_array_push(x_229, x_228); -x_231 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = lean_array_push(x_218, x_200); -if (lean_obj_tag(x_202) == 0) -{ -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; -x_234 = l___private_Init_Meta_0__Lean_quoteNameMk(x_201); -x_235 = lean_array_push(x_218, x_234); -x_236 = lean_array_push(x_235, x_232); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_212); -lean_ctor_set(x_237, 1, x_236); -x_238 = lean_array_push(x_233, x_237); -x_239 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -lean_ctor_set(x_190, 0, x_240); -return x_190; -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_201); -x_241 = lean_ctor_get(x_202, 0); -lean_inc(x_241); -lean_dec(x_202); -x_242 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42; -x_243 = l_String_intercalate(x_242, x_241); -x_244 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43; -x_245 = lean_string_append(x_244, x_243); -lean_dec(x_243); -x_246 = l_Lean_nameLitKind; -x_247 = lean_box(2); -x_248 = l_Lean_Syntax_mkLit(x_246, x_245, x_247); -x_249 = lean_array_push(x_207, x_248); -x_250 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41; -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -x_252 = lean_array_push(x_218, x_251); -x_253 = lean_array_push(x_252, x_232); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_212); -lean_ctor_set(x_254, 1, x_253); -x_255 = lean_array_push(x_233, x_254); -x_256 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -lean_ctor_set(x_190, 0, x_257); -return x_190; +return x_62; } } -else +} +} +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_258 = lean_ctor_get(x_190, 0); -x_259 = lean_ctor_get(x_190, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_190); -x_260 = lean_ctor_get(x_2, 2); -lean_inc(x_260); -x_261 = lean_ctor_get(x_2, 1); -lean_inc(x_261); +lean_object* x_6; +x_6 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); -x_262 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10; -x_263 = l_Lean_addMacroScope(x_261, x_262, x_260); -x_264 = lean_box(0); -x_265 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9; -x_266 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12; -lean_inc(x_258); -x_267 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_267, 0, x_258); -lean_ctor_set(x_267, 1, x_265); -lean_ctor_set(x_267, 2, x_263); -lean_ctor_set(x_267, 3, x_266); -x_268 = l_Lean_Syntax_getId(x_9); -lean_dec(x_9); -lean_inc(x_268); -x_269 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_264, x_268); -x_270 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15; -lean_inc(x_258); -x_271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_271, 0, x_258); -lean_ctor_set(x_271, 1, x_270); -x_272 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21; -lean_inc(x_258); -x_273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_273, 0, x_258); -lean_ctor_set(x_273, 1, x_272); -x_274 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22; -x_275 = lean_array_push(x_274, x_273); -x_276 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_274, x_277); -x_279 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23; -lean_inc(x_258); -x_282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_282, 0, x_258); -lean_ctor_set(x_282, 1, x_281); -x_283 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46; -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_258); -lean_ctor_set(x_284, 1, x_283); -x_285 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37; -x_286 = lean_array_push(x_285, x_284); -x_287 = lean_array_push(x_286, x_11); -x_288 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39; -x_291 = lean_array_push(x_290, x_280); -x_292 = lean_array_push(x_291, x_282); -x_293 = lean_array_push(x_292, x_289); -x_294 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18; -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_293); -x_296 = lean_array_push(x_285, x_271); -x_297 = lean_array_push(x_296, x_295); -x_298 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16; -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_297); -x_300 = lean_array_push(x_285, x_267); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_301 = l___private_Init_Meta_0__Lean_quoteNameMk(x_268); -x_302 = lean_array_push(x_285, x_301); -x_303 = lean_array_push(x_302, x_299); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_279); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_array_push(x_300, x_304); -x_306 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_305); -x_308 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_259); -return x_308; -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -lean_dec(x_268); -x_309 = lean_ctor_get(x_269, 0); -lean_inc(x_309); -lean_dec(x_269); -x_310 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42; -x_311 = l_String_intercalate(x_310, x_309); -x_312 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43; -x_313 = lean_string_append(x_312, x_311); -lean_dec(x_311); -x_314 = l_Lean_nameLitKind; -x_315 = lean_box(2); -x_316 = l_Lean_Syntax_mkLit(x_314, x_313, x_315); -x_317 = lean_array_push(x_274, x_316); -x_318 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41; -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = lean_array_push(x_285, x_319); -x_321 = lean_array_push(x_320, x_299); -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_279); -lean_ctor_set(x_322, 1, x_321); -x_323 = lean_array_push(x_300, x_322); -x_324 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -x_326 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_326, 0, x_325); -lean_ctor_set(x_326, 1, x_259); -return x_326; -} -} -} -} +return x_6; } } lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { @@ -5005,152 +5311,184 @@ l_Lean_registerTraceClass___closed__2 = _init_l_Lean_registerTraceClass___closed lean_mark_persistent(l_Lean_registerTraceClass___closed__2); l_Lean_registerTraceClass___closed__3 = _init_l_Lean_registerTraceClass___closed__3(); lean_mark_persistent(l_Lean_registerTraceClass___closed__3); -l_Lean_termTrace_x5b_____x5d_______closed__1 = _init_l_Lean_termTrace_x5b_____x5d_______closed__1(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__1); -l_Lean_termTrace_x5b_____x5d_______closed__2 = _init_l_Lean_termTrace_x5b_____x5d_______closed__2(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__2); -l_Lean_termTrace_x5b_____x5d_______closed__3 = _init_l_Lean_termTrace_x5b_____x5d_______closed__3(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__3); -l_Lean_termTrace_x5b_____x5d_______closed__4 = _init_l_Lean_termTrace_x5b_____x5d_______closed__4(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__4); -l_Lean_termTrace_x5b_____x5d_______closed__5 = _init_l_Lean_termTrace_x5b_____x5d_______closed__5(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__5); -l_Lean_termTrace_x5b_____x5d_______closed__6 = _init_l_Lean_termTrace_x5b_____x5d_______closed__6(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__6); -l_Lean_termTrace_x5b_____x5d_______closed__7 = _init_l_Lean_termTrace_x5b_____x5d_______closed__7(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__7); -l_Lean_termTrace_x5b_____x5d_______closed__8 = _init_l_Lean_termTrace_x5b_____x5d_______closed__8(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__8); -l_Lean_termTrace_x5b_____x5d_______closed__9 = _init_l_Lean_termTrace_x5b_____x5d_______closed__9(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__9); -l_Lean_termTrace_x5b_____x5d_______closed__10 = _init_l_Lean_termTrace_x5b_____x5d_______closed__10(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__10); -l_Lean_termTrace_x5b_____x5d_______closed__11 = _init_l_Lean_termTrace_x5b_____x5d_______closed__11(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__11); -l_Lean_termTrace_x5b_____x5d_______closed__12 = _init_l_Lean_termTrace_x5b_____x5d_______closed__12(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__12); -l_Lean_termTrace_x5b_____x5d_______closed__13 = _init_l_Lean_termTrace_x5b_____x5d_______closed__13(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__13); -l_Lean_termTrace_x5b_____x5d_______closed__14 = _init_l_Lean_termTrace_x5b_____x5d_______closed__14(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__14); -l_Lean_termTrace_x5b_____x5d_______closed__15 = _init_l_Lean_termTrace_x5b_____x5d_______closed__15(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__15); -l_Lean_termTrace_x5b_____x5d_______closed__16 = _init_l_Lean_termTrace_x5b_____x5d_______closed__16(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__16); -l_Lean_termTrace_x5b_____x5d_______closed__17 = _init_l_Lean_termTrace_x5b_____x5d_______closed__17(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__17); -l_Lean_termTrace_x5b_____x5d_______closed__18 = _init_l_Lean_termTrace_x5b_____x5d_______closed__18(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__18); -l_Lean_termTrace_x5b_____x5d_______closed__19 = _init_l_Lean_termTrace_x5b_____x5d_______closed__19(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__19); -l_Lean_termTrace_x5b_____x5d_______closed__20 = _init_l_Lean_termTrace_x5b_____x5d_______closed__20(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__20); -l_Lean_termTrace_x5b_____x5d_______closed__21 = _init_l_Lean_termTrace_x5b_____x5d_______closed__21(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__21); -l_Lean_termTrace_x5b_____x5d_______closed__22 = _init_l_Lean_termTrace_x5b_____x5d_______closed__22(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__22); -l_Lean_termTrace_x5b_____x5d_______closed__23 = _init_l_Lean_termTrace_x5b_____x5d_______closed__23(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__23); -l_Lean_termTrace_x5b_____x5d_______closed__24 = _init_l_Lean_termTrace_x5b_____x5d_______closed__24(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__24); -l_Lean_termTrace_x5b_____x5d_______closed__25 = _init_l_Lean_termTrace_x5b_____x5d_______closed__25(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__25); -l_Lean_termTrace_x5b_____x5d_______closed__26 = _init_l_Lean_termTrace_x5b_____x5d_______closed__26(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__26); -l_Lean_termTrace_x5b_____x5d____ = _init_l_Lean_termTrace_x5b_____x5d____(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d____); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__1); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__2); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__3); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__4); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__5); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__6); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__7); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__8); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__9); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__10); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__11 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__11(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__11); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__12); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__13); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__14); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__15); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__16); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__17); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__18); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__19); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__20); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__21); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__22); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__23); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__24); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__25); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__26); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__27); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__28); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__29); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__30); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__31); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__32); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__33); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__34); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__35); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__36); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__37); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__38); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__39); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__40); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__41); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__42); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__43); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__44); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__45); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1091____closed__46); +l_Lean_doElemTrace_x5b_____x5d_______closed__1 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__1(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__1); +l_Lean_doElemTrace_x5b_____x5d_______closed__2 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__2(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__2); +l_Lean_doElemTrace_x5b_____x5d_______closed__3 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__3(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__3); +l_Lean_doElemTrace_x5b_____x5d_______closed__4 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__4(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__4); +l_Lean_doElemTrace_x5b_____x5d_______closed__5 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__5(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__5); +l_Lean_doElemTrace_x5b_____x5d_______closed__6 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__6(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__6); +l_Lean_doElemTrace_x5b_____x5d_______closed__7 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__7(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__7); +l_Lean_doElemTrace_x5b_____x5d_______closed__8 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__8(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__8); +l_Lean_doElemTrace_x5b_____x5d_______closed__9 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__9(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__9); +l_Lean_doElemTrace_x5b_____x5d_______closed__10 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__10(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__10); +l_Lean_doElemTrace_x5b_____x5d_______closed__11 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__11(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__11); +l_Lean_doElemTrace_x5b_____x5d_______closed__12 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__12(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__12); +l_Lean_doElemTrace_x5b_____x5d_______closed__13 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__13(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__13); +l_Lean_doElemTrace_x5b_____x5d_______closed__14 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__14(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__14); +l_Lean_doElemTrace_x5b_____x5d_______closed__15 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__15(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__15); +l_Lean_doElemTrace_x5b_____x5d_______closed__16 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__16(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__16); +l_Lean_doElemTrace_x5b_____x5d_______closed__17 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__17(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__17); +l_Lean_doElemTrace_x5b_____x5d_______closed__18 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__18(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__18); +l_Lean_doElemTrace_x5b_____x5d_______closed__19 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__19(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__19); +l_Lean_doElemTrace_x5b_____x5d_______closed__20 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__20(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__20); +l_Lean_doElemTrace_x5b_____x5d_______closed__21 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__21(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__21); +l_Lean_doElemTrace_x5b_____x5d_______closed__22 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__22(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__22); +l_Lean_doElemTrace_x5b_____x5d_______closed__23 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__23(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__23); +l_Lean_doElemTrace_x5b_____x5d_______closed__24 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__24(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__24); +l_Lean_doElemTrace_x5b_____x5d_______closed__25 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__25(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__25); +l_Lean_doElemTrace_x5b_____x5d_______closed__26 = _init_l_Lean_doElemTrace_x5b_____x5d_______closed__26(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d_______closed__26); +l_Lean_doElemTrace_x5b_____x5d____ = _init_l_Lean_doElemTrace_x5b_____x5d____(); +lean_mark_persistent(l_Lean_doElemTrace_x5b_____x5d____); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__1); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__2); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__3); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__4); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__5); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__6); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__7); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__8); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__9); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__10); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__11); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__12); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__13); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__14); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__15); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__16); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__17); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__18); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__19); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__20); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__21); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__22); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__23); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__24); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__25); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__26); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__27); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__28); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__29); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__30); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__31); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__32); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__33); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__34); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__35); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__36); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__37); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__38); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__39); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__40); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__41); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__42); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__43); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__44); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__45); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____lambda__1___closed__46); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__1); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__2); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__3); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__4); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__5); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__6); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__7); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__8); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__9); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__10); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__11); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__12); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__13); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__14); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__15); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1099____closed__16); l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__2();